Launchpad has imported 5 comments from the remote bug at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62114.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. ------------------------------------------------------------------------ On 2014-08-12T20:26:53+00:00 Drfiemost wrote: Created attachment 33305 Preprocessed source gcc -O2 -floop-parallelize-all -ffast-math -c cvt.i cvt.c: In function ‘Pobsopen’: cvt.c:62:12: internal compiler error: Segmentation fault Reproduced with both 4.8 and 4.9: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-unknown-linux-gnu/4.8.4/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../gcc-4.8-20140807/configure --prefix=/usr --enable-shared --disable-static --disable-dependency-tracking --enable-languages=c,c++ --disable-multilib --with-system-zlib --disable-bootstrap Thread model: posix gcc version 4.8.4 20140807 (prerelease) (GCC) Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-unknown-linux-gnu/4.9.1/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../gcc-4.9.1/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++ --disable-multilib --disable-bootstrap --with-system-zlib --disable-static --disable-dependency-tracking Thread model: posix gcc version 4.9.1 (GCC) Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-4.8/+bug/1227789/comments/2 ------------------------------------------------------------------------ On 2014-08-14T07:39:04+00:00 Drfiemost wrote: Backtrace generated with gcc version 4.9.2 20140813 (prerelease) # LANG=C gcc/cc1 -O2 -floop-parallelize-all -ffast-math /mnt/doc/cvt.i vprintf getchar fgetc_unlocked getc_unlocked getchar_unlocked putchar fputc_unlocked putc_unlocked putchar_unlocked feof_unlocked ferror_unlocked __signbitf __signbit __signbitl lgamma lgammaf lgammal gamma gammaf gammal tgamma tgammaf tgammal __bswap_32 __bswap_64 atoi atol atoll gnu_dev_major gnu_dev_minor gnu_dev_makedev bsearch atof mymalloc Pobsopen Pobsclose Pobspath Pobsbarriers addpt Bezier append_bezier Analyzing compilation unit Performing interprocedural optimizations <*free_lang_data> <visibility> <early_local_cleanups> <*free_inline_summary> <whole-program> <profile_estimate> <devirt> <cp> <inline> <pure-const> <static-var>Assembling functions: Pobsopen cvt.c: In function 'Pobsopen': cvt.c:62:12: internal compiler error: Segmentation fault 0xb2a43e crash_signal ../../gcc-4.9-20140813/gcc/toplev.c:337 0x7f12fad2098f ??? /usr/src/glibc/glibc-2.19/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0 0x1201529 subtract_commutative_associative_deps ../../gcc-4.9-20140813/gcc/graphite-dependences.c:430 0x1201927 compute_deps(scop*, vec<poly_bb*, va_heap, vl_ptr>, isl_union_map**, isl_union_map**, isl_union_map**, isl_union_map**, isl_union_map**, isl_union_map**, isl_union_map**, isl_union_map**, isl_union_map**, isl_union_map**, isl_union_map**, isl_union_map**) ../../gcc-4.9-20140813/gcc/graphite-dependences.c:502 0x1201b99 loop_level_carries_dependences ../../gcc-4.9-20140813/gcc/graphite-dependences.c:566 0x1201d07 loop_is_parallel_p(loop*, hash_table<bb_pbb_hasher, xcallocator>, int) ../../gcc-4.9-20140813/gcc/graphite-dependences.c:598 0x11fe45d translate_clast_for_loop ../../gcc-4.9-20140813/gcc/graphite-clast-to-gimple.c:1200 0x11fe512 translate_clast_for ../../gcc-4.9-20140813/gcc/graphite-clast-to-gimple.c:1224 0x11fe792 translate_clast ../../gcc-4.9-20140813/gcc/graphite-clast-to-gimple.c:1307 0x11fe886 translate_clast ../../gcc-4.9-20140813/gcc/graphite-clast-to-gimple.c:1327 0x11ff3b6 gloog(scop*, hash_table<bb_pbb_hasher, xcallocator>) ../../gcc-4.9-20140813/gcc/graphite-clast-to-gimple.c:1712 0x11fb371 graphite_transform_loops() ../../gcc-4.9-20140813/gcc/graphite.c:304 0x11fb406 graphite_transforms ../../gcc-4.9-20140813/gcc/graphite.c:332 0x11fb534 execute ../../gcc-4.9-20140813/gcc/graphite.c:416 Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-4.8/+bug/1227789/comments/3 ------------------------------------------------------------------------ On 2014-08-14T08:33:18+00:00 Ktkachov wrote: Created attachment 33317 Reduced testcase Confirmed, attaching reduced testcase Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-4.8/+bug/1227789/comments/4 ------------------------------------------------------------------------ On 2014-08-14T08:34:59+00:00 Ktkachov wrote: Confirmed on aarch64 4.9.1, trunk works, didn't try 4.8 though Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-4.8/+bug/1227789/comments/5 ------------------------------------------------------------------------ On 2014-08-15T09:26:08+00:00 Doko-v wrote: this test case fails on the 4.8 and 4.9 branches, but succeeds with trunk 20140815. $ cat tst.c int a, b; fn1() { for (; a; a++) b |= 1; } $ gcc -c -Ofast -floop-parallelize-all tst.c tst.c: In function 'fn1': tst.c:2:1: internal compiler error: Segmentation fault fn1() { ^ Please submit a full bug report, with preprocessed source if appropriate. (gdb) bt #0 0x0000000000cdf3ea in compute_deps(scop*, vec<poly_bb*, va_heap, vl_ptr>, isl_union_map**, isl_union_map**, isl_union_map**, isl_union_map**, isl_union_map**, isl_union_map**, isl_union_map**, isl_union_map**, isl_union_map**, isl_union_map**, isl_union_map**, isl_union_map**) () #1 0x0000000000cdf913 in loop_is_parallel_p(loop*, hash_table<bb_pbb_hasher, xcallocator>, int) () #2 0x0000000000cdd9fd in ?? () #3 0x0000000000cddd72 in gloog(scop*, hash_table<bb_pbb_hasher, xcallocator>) () #4 0x0000000000cdac09 in graphite_transform_loops() () #5 0x0000000000cdb0f7 in ?? () #6 0x0000000000818b3b in execute_one_pass(opt_pass*) () #7 0x0000000000818dd6 in execute_pass_list(opt_pass*) () #8 0x0000000000818de8 in execute_pass_list(opt_pass*) () #9 0x0000000000818de8 in execute_pass_list(opt_pass*) () #10 0x0000000000818de8 in execute_pass_list(opt_pass*) () #11 0x000000000063f656 in ?? () #12 0x0000000000640f4d in compile() () #13 0x00000000006413a5 in finalize_compilation_unit() () #14 0x00000000005648ec in c_write_global_declarations() () #15 0x00000000008b353d in ?? () #16 0x00000000008b50d0 in toplev_main(int, char**) () #17 0x00007ffff66e7b45 in __libc_start_main (main=0x552750 <main>, argc=18, argv=0x7fffffffe588, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe578) at libc-start.c:287 #18 0x000000000055297f in _start () Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-4.8/+bug/1227789/comments/6 ** Changed in: gcc Status: Unknown => Confirmed ** Changed in: gcc Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1227789 Title: ICE while nbench-2.2.3 compilation with -floop-parallelize-all To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1227789/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
