https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64016
Bug ID: 64016
Summary: ICE with -O2 -fsanitize=undefined
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: sanitizer
Assignee: unassigned at gcc dot gnu.org
Reporter: vincent-gcc at vinc17 dot net
CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
jakub at gcc dot gnu.org, kcc at gcc dot gnu.org
Created attachment 34066
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34066&action=edit
reduced testcase
Under Debian and the attached testcase:
$ gcc-snapshot -O2 -fsanitize=undefined -c gcc-ice.c
gcc: internal compiler error: Segmentation fault (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-snapshot/README.Bugs> for instructions.
with gcc (Debian 20141118-1) 5.0.0 20141118 (experimental) [trunk revision
217719]
This was found when compiling GNU MPFR (tests/tget_f.c).