https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68389
Bug ID: 68389 Summary: internal compiler error: in tree_low_cst, at tree.h:4431 Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ketan.surender at gmail dot com Target Milestone: --- Created attachment 36742 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36742&action=edit preprocessedReproFile For the attached file I am seeing an internal compiler error with -O3 COLLECT_GCC_OPTIONS='-v' '-save-temps' '-c' '-ansi' '-pedantic' '-Wno-long-long' '-fwrapv' '-fPIC' '-O3' '-D' 'MODEL=xOutOfOrderWrites_exec' '-D' 'HAVESTDIO' '-D' 'USE_RTMODEL' '-D' 'UNIX' '-I' 'anotherPath/gccBugs' '-I' 'anotherPath/gccBugs/codegen/dll/xOutOfOrderWrites' '-I' 'aPath/extern/include' '-I' 'aPath/simulink/include' '-I' 'aPath/rtw/c/src' '-I' 'aPath/rtw/c/src/ext_mode/common' '-I' 'aPath/rtw/c/ert' '-o' 'xOutOfOrderWrites.o' '-mtune=generic' '-march=x86-64' /anotherAnotherPath/glnxa64/gcc-4.7.2/libexec/gcc/x86_64-unknown-linux-gnu/4.7.2/cc1 -fpreprocessed xOutOfOrderWrites.i -quiet -dumpbase xOutOfOrderWrites.c -mtune=generic -march=x86-64 -auxbase-strip xOutOfOrderWrites.o -O3 -pedantic -Wno-long-long -ansi -version -fwrapv -fPIC -o xOutOfOrderWrites.s xOutOfOrderWrites.c: In function ‘xOutOfOrderWrites’: xOutOfOrderWrites.c:222:6: internal compiler error: in tree_low_cst, at tree.h:4431 This can be reproduced with the attached preprocessed file: gcc -c -O3 xOutOfOrderWrites.i GCC Version Info: GNU C (GCC) version 4.7.2 (x86_64-unknown-linux-gnu) compiled by GNU C version 4.7.2, GMP version 4.3.2, MPFR version 2.4.2, MPC version 0.8.2 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU C (GCC) version 4.7.2 (x86_64-unknown-linux-gnu) compiled by GNU C version 4.7.2, GMP version 4.3.2, MPFR version 2.4.2, MPC version 0.8.2 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: aa64e71d3fbf9c408b8b9eecd9fda662