http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46352
Summary: ICE: division by zero with -fdump-tree-tracer
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: [email protected]
ReportedBy: [email protected]
----- testcase.c -----
void foo (void)
{
return;
label:;
}
----------------------
Compiler output:
$ gcc -O -freorder-blocks -ftracer -fdump-tree-tracer testcase.c
testcase.c: In function 'foo':
testcase.c:1:6: internal compiler error: Floating point exception
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Tested revisions:
r166414 - crash
4.3.5 - crash
4.2.4 - doesn't know -fdump-tree-tracer