http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53418
Bug #: 53418
Summary: ICE at gimplify.c:7773
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: [email protected]
ReportedBy: [email protected]
GCC (4.5.3 / 4.6.3 / 4.8.0 as of 20120519) fails to compile this very simple
line.
$ cat file.c
void func(void)
{
int i = (0 ? 1 : 0xCD03BE72 / 0);
}
$ ~/gcc/dist/bin/gcc -v
Using built-in specs.
COLLECT_GCC=/home/merkil/gcc/dist/bin/gcc
COLLECT_LTO_WRAPPER=/home/merkil/gcc/dist/libexec/gcc/x86_64-unknown-linux-gnu/4.8.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../srcdir/configure --prefix=/home/merkil/gcc/dist CFLAGS='-O2
-pipe' CXXFLAGS='-O2 -pipe' --enable-languages=c,c++,lto
Thread model: posix
gcc version 4.8.0 20120519 (experimental) (GCC)
$ ~/gcc/dist/bin/gcc file.c
file.c: In function ‘func’:
file.c:3:33: internal compiler error: in gimplify_expr, at gimplify.c:7773
int i = (0 ? 1 : 0xCD03BE72 / 0);
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Hope that helps !