-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Crash when returning inside while-loop #1974
Copy link
Copy link
Closed
Labels
A-codegenArea: Code generationArea: Code generationI-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
Metadata
Metadata
Assignees
Labels
A-codegenArea: Code generationArea: Code generationI-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
Type
Fields
Give feedbackNo fields configured for issues without a type.
When I try to run the following program it crashes with an error message from glibc.
The error message is
I tried running the program with valgrind. It then produced a different error message:
If I change the loop to "while true", the program finishes without error.