https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64295
Bug ID: 64295
Summary: [5 Regression] ICE: SIGSEGV (infinite recursion) with
-frounding-math -funsafe-math-optimizations
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: zsojka at seznam dot cz
Created attachment 34273
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34273&action=edit
reduced testcase
Compiler output:
$ gcc -O -frounding-math -funsafe-math-optimizations testcase.c
gcc: internal compiler error: Segmentation fault (program cc1)
0x40c085 execute
/mnt/svn/gcc-trunk/gcc/gcc.c:2912
0x40c319 do_spec_1
/mnt/svn/gcc-trunk/gcc/gcc.c:4845
0x40e917 process_brace_body
/mnt/svn/gcc-trunk/gcc/gcc.c:6128
0x40e917 handle_braces
/mnt/svn/gcc-trunk/gcc/gcc.c:6042
0x40d317 do_spec_1
/mnt/svn/gcc-trunk/gcc/gcc.c:5499
0x40e917 process_brace_body
/mnt/svn/gcc-trunk/gcc/gcc.c:6128
0x40e917 handle_braces
/mnt/svn/gcc-trunk/gcc/gcc.c:6042
0x40d317 do_spec_1
/mnt/svn/gcc-trunk/gcc/gcc.c:5499
0x40c6a3 do_spec_1
/mnt/svn/gcc-trunk/gcc/gcc.c:5614
0x40e917 process_brace_body
/mnt/svn/gcc-trunk/gcc/gcc.c:6128
0x40e917 handle_braces
/mnt/svn/gcc-trunk/gcc/gcc.c:6042
0x40d317 do_spec_1
/mnt/svn/gcc-trunk/gcc/gcc.c:5499
0x40e917 process_brace_body
/mnt/svn/gcc-trunk/gcc/gcc.c:6128
0x40e917 handle_braces
/mnt/svn/gcc-trunk/gcc/gcc.c:6042
0x40d317 do_spec_1
/mnt/svn/gcc-trunk/gcc/gcc.c:5499
0x40e917 process_brace_body
/mnt/svn/gcc-trunk/gcc/gcc.c:6128
0x40e917 handle_braces
/mnt/svn/gcc-trunk/gcc/gcc.c:6042
0x40d317 do_spec_1
/mnt/svn/gcc-trunk/gcc/gcc.c:5499
0x40e917 process_brace_body
/mnt/svn/gcc-trunk/gcc/gcc.c:6128
0x40e917 handle_braces
/mnt/svn/gcc-trunk/gcc/gcc.c:6042
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
Tested revisions:
r218658 - ICE
4_9 r218177 - OK