https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70288
Bug ID: 70288 Summary: ICE with -O1 -fno-tree-dominator-opts Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: tarasevich at cs dot uni-saarland.de Target Milestone: --- Created attachment 38013 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38013&action=edit test case with ICE GCC 5.3.0 built from with Clang 3.7.1 on Ubuntu 14.04 64bit. Same with GCC 4.8.2 ../build/gcc_530_clean_bin/bin/gcc -fno-tree-dominator-opts test_case_1.c -O1 -save-temps -v Using built-in specs. COLLECT_GCC=../build/gcc_530_clean_bin/bin/gcc COLLECT_LTO_WRAPPER=/home/tarasevich/build/gcc_530_clean_bin/libexec/gcc/x86_64-unknown-linux-gnu/5.3.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../../source/gcc_530/configure --prefix=/home/tarasevich/build/gcc_530_clean_bin/ --enable-languages=c --disable-multilib --disable-bootstrap CC=/home/tarasevich/build/llvm_371_bin/bin/clang CXX=/home/tarasevich/build/llvm_371_bin/bin/clang++ Thread model: posix gcc version 5.3.0 (GCC) COLLECT_GCC_OPTIONS='-fno-tree-dominator-opts' '-O1' '-save-temps' '-v' '-mtune=generic' '-march=x86-64' /home/tarasevich/build/gcc_530_clean_bin/libexec/gcc/x86_64-unknown-linux-gnu/5.3.0/cc1 -E -quiet -v -imultiarch x86_64-linux-gnu test_case_1.c -mtune=generic -march=x86-64 -fno-tree-dominator-opts -O1 -fpch-preprocess -o test_case_1.i ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu" ignoring nonexistent directory "/home/tarasevich/build/gcc_530_clean_bin/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../x86_64-unknown-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /home/tarasevich/build/gcc_530_clean_bin/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include /usr/local/include /home/tarasevich/build/gcc_530_clean_bin/include /home/tarasevich/build/gcc_530_clean_bin/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include-fixed /usr/include/x86_64-linux-gnu /usr/include End of search list. COLLECT_GCC_OPTIONS='-fno-tree-dominator-opts' '-O1' '-save-temps' '-v' '-mtune=generic' '-march=x86-64' /home/tarasevich/build/gcc_530_clean_bin/libexec/gcc/x86_64-unknown-linux-gnu/5.3.0/cc1 -fpreprocessed test_case_1.i -quiet -dumpbase test_case_1.c -mtune=generic -march=x86-64 -auxbase test_case_1 -O1 -version -fno-tree-dominator-opts -o test_case_1.s GNU C11 (GCC) version 5.3.0 (x86_64-unknown-linux-gnu) compiled by GNU C version 4.2.1 Compatible Clang 3.7.1 (tags/RELEASE_371/final 263010), GMP version 5.1.3, MPFR version 3.1.2-p3, MPC version 1.0.1 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU C11 (GCC) version 5.3.0 (x86_64-unknown-linux-gnu) compiled by GNU C version 4.2.1 Compatible Clang 3.7.1 (tags/RELEASE_371/final 263010), GMP version 5.1.3, MPFR version 3.1.2-p3, MPC version 1.0.1 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: c53bb545b4c066cdbf5e42f0b9d9ad8b gcc: internal compiler error: Segmentation fault (program cc1) Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.