http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59150
Sebastian Huber <sebastian.hu...@embedded-brains.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian.huber@embedded-br | |ains.de --- Comment #5 from Sebastian Huber <sebastian.hu...@embedded-brains.de> --- On ARM the test case fails with an ICE: http://gcc.gnu.org/ml/gcc-testresults/2014-02/msg00211.html http://gcc.gnu.org/ml/gcc-testresults/2014-02/msg00203.html With GCC version: git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207497 138bc75d-0d04-0410-961f-82ee72b054a4 I get the following error for target arm-rtems: spawn -ignore SIGHUP /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/testsuite/g++/../../xg++ -B/scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/testsuite/g++/../../ /home/sh/archive/gcc-git/gcc/testsuite/g++.dg/gomp/pr59150.C -fno-diagnostics-show-caret -fdiagnostics-color=never -nostdinc++ -I/scratch/git-rtems-testing/gcc/b-arm-gcc/arm-rtems4.11/libstdc++-v3/include/arm-rtems4.11 -I/scratch/git-rtems-testing/gcc/b-arm-gcc/arm-rtems4.11/libstdc++-v3/include -I/home/sh/archive/gcc-git/libstdc++-v3/libsupc++ -I/home/sh/archive/gcc-git/libstdc++-v3/include/backward -I/home/sh/archive/gcc-git/libstdc++-v3/testsuite/util -fmessage-length=0 -std=gnu++98 -O -fopenmp-simd -fno-tree-ccp -fno-tree-copy-prop -fno-tree-dce -S -isystem /scratch/git-rtems-testing/gcc/b-arm-gcc/arm-rtems4.11/./newlib/targ-include -isystem /home/sh/archive/gcc-git/newlib/libc/include -B/scratch/git-rtems-testing/gcc/install-git/arm-rtems4.11/edb7312/lib/ -specs bsp_specs -qrtems -o pr59150.s *** glibc detected *** /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/testsuite/g++/../../cc1plus: double free or corruption (fasttop): 0x0000000001921620 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x766d6)[0x7f6a40fd06d6] /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/testsuite/g++/../../cc1plus(_Z14free_data_refs3vecIP14data_reference7va_heap6vl_ptrE+0x3e)[0x101979e] /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/testsuite/g++/../../cc1plus(_Z21vect_destroy_datarefsP14_loop_vec_infoP12_bb_vec_info+0x68)[0xd36258] /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/testsuite/g++/../../cc1plus(_Z21destroy_loop_vec_infoP14_loop_vec_infob+0x17d)[0xd1939d] /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/testsuite/g++/../../cc1plus(_Z17vect_analyze_loopP4loop+0x134)[0xd20084] /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/testsuite/g++/../../cc1plus(_Z15vectorize_loopsv+0xb90)[0xd37360] /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/testsuite/g++/../../cc1plus(_Z16execute_one_passP8opt_pass+0x343)[0xa87713] /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/testsuite/g++/../../cc1plus(_Z17execute_pass_listP8opt_pass+0x16)[0xa87a06] /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/testsuite/g++/../../cc1plus(_Z17execute_pass_listP8opt_pass+0x28)[0xa87a18] /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/testsuite/g++/../../cc1plus(_Z17execute_pass_listP8opt_pass+0x28)[0xa87a18] /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/testsuite/g++/../../cc1plus[0x816963] /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/testsuite/g++/../../cc1plus(_Z7compilev+0x5f9)[0x818819] /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/testsuite/g++/../../cc1plus(_Z25finalize_compilation_unitv+0x65)[0x819085] /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/testsuite/g++/../../cc1plus(_Z28cp_write_global_declarationsv+0xf5c)[0x60613c] /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/testsuite/g++/../../cc1plus[0xb2ee8d] /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/testsuite/g++/../../cc1plus(_Z11toplev_mainiPPc+0xb22)[0xb30c02] /lib64/libc.so.6(__libc_start_main+0xed)[0x7f6a40f7b23d] /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/testsuite/g++/../../cc1plus[0x51238d] ======= Memory map: ======== 00400000-015ba000 r-xp 00000000 08:16 1314946 /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/cc1plus 017ba000-017bc000 r--p 011ba000 08:16 1314946 /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/cc1plus 017bc000-017c7000 rw-p 011bc000 08:16 1314946 /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/cc1plus 017c7000-01940000 rw-p 00000000 00:00 0 [heap] 7f6a40944000-7f6a40959000 r-xp 00000000 08:03 131176 /lib64/libgcc_s.so.1 7f6a40959000-7f6a40b58000 ---p 00015000 08:03 131176 /lib64/libgcc_s.so.1 7f6a40b58000-7f6a40b59000 r--p 00014000 08:03 131176 /lib64/libgcc_s.so.1 7f6a40b59000-7f6a40b5a000 rw-p 00015000 08:03 131176 /lib64/libgcc_s.so.1 7f6a40b5a000-7f6a40f5a000 rw-p 00000000 00:00 0 7f6a40f5a000-7f6a410e1000 r-xp 00000000 08:03 131080 /lib64/libc-2.14.1.so 7f6a410e1000-7f6a412e0000 ---p 00187000 08:03 131080 /lib64/libc-2.14.1.so 7f6a412e0000-7f6a412e4000 r--p 00186000 08:03 131080 /lib64/libc-2.14.1.so 7f6a412e4000-7f6a412e5000 rw-p 0018a000 08:03 131080 /lib64/libc-2.14.1.so 7f6a412e5000-7f6a412ea000 rw-p 00000000 00:00 0 7f6a412ea000-7f6a41340000 r-xp 00000000 08:03 131088 /lib64/libm-2.14.1.so 7f6a41340000-7f6a4153f000 ---p 00056000 08:03 131088 /lib64/libm-2.14.1.so 7f6a4153f000-7f6a41540000 r--p 00055000 08:03 131088 /lib64/libm-2.14.1.so 7f6a41540000-7f6a41541000 rw-p 00056000 08:03 131088 /lib64/libm-2.14.1.so 7f6a41541000-7f6a41558000 r-xp 00000000 08:03 131123 /lib64/libz.so.1.2.5 7f6a41558000-7f6a41757000 ---p 00017000 08:03 131123 /lib64/libz.so.1.2.5 7f6a41757000-7f6a41758000 r--p 00016000 08:03 131123 /lib64/libz.so.1.2.5 7f6a41758000-7f6a41759000 rw-p 00017000 08:03 131123 /lib64/libz.so.1.2.5 7f6a41759000-7f6a4175b000 r-xp 00000000 08:03 131086 /lib64/libdl-2.14.1.so 7f6a4175b000-7f6a4195b000 ---p 00002000 08:03 131086 /lib64/libdl-2.14.1.so 7f6a4195b000-7f6a4195c000 r--p 00002000 08:03 131086 /lib64/libdl-2.14.1.so 7f6a4195c000-7f6a4195d000 rw-p 00003000 08:03 131086 /lib64/libdl-2.14.1.so 7f6a4195d000-7f6a4197d000 r-xp 00000000 08:03 137899 /lib64/ld-2.14.1.so 7f6a41ae4000-7f6a41b7b000 rw-p 00000000 00:00 0 7f6a41b7b000-7f6a41b7d000 rw-p 00000000 00:00 0 7f6a41b7d000-7f6a41b7e000 r--p 00020000 08:03 137899 /lib64/ld-2.14.1.so 7f6a41b7e000-7f6a41b7f000 rw-p 00021000 08:03 137899 /lib64/ld-2.14.1.so 7f6a41b7f000-7f6a41b80000 rw-p 00000000 00:00 0 7fffa97b1000-7fffa97d5000 rw-p 00000000 00:00 0 [stack] 7fffa97ff000-7fffa9800000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] /home/sh/archive/gcc-git/gcc/testsuite/g++.dg/gomp/pr59150.C: In function 'int foo()': /home/sh/archive/gcc-git/gcc/testsuite/g++.dg/gomp/pr59150.C:8:1: internal compiler error: Aborted 0xb2e92f crash_signal /home/sh/archive/gcc-git/gcc/toplev.c:337 0x101979d free_data_refs(vec<data_reference*, va_heap, vl_ptr>) /home/sh/archive/gcc-git/gcc/tree-data-ref.c:4831 0xd36257 vect_destroy_datarefs(_loop_vec_info*, _bb_vec_info*) /home/sh/archive/gcc-git/gcc/tree-vectorizer.c:318 0xd1939c destroy_loop_vec_info(_loop_vec_info*, bool) /home/sh/archive/gcc-git/gcc/tree-vect-loop.c:1019 0xd20083 vect_analyze_loop(loop*) /home/sh/archive/gcc-git/gcc/tree-vect-loop.c:1853 0xd3735f vectorize_loops() /home/sh/archive/gcc-git/gcc/tree-vectorizer.c:430 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions. compiler exited with status 1 output is: *** glibc detected *** /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/testsuite/g++/../../cc1plus: double free or corruption (fasttop): 0x0000000001921620 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x766d6)[0x7f6a40fd06d6] /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/testsuite/g++/../../cc1plus(_Z14free_data_refs3vecIP14data_reference7va_heap6vl_ptrE+0x3e)[0x101979e] /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/testsuite/g++/../../cc1plus(_Z21vect_destroy_datarefsP14_loop_vec_infoP12_bb_vec_info+0x68)[0xd36258] /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/testsuite/g++/../../cc1plus(_Z21destroy_loop_vec_infoP14_loop_vec_infob+0x17d)[0xd1939d] /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/testsuite/g++/../../cc1plus(_Z17vect_analyze_loopP4loop+0x134)[0xd20084] /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/testsuite/g++/../../cc1plus(_Z15vectorize_loopsv+0xb90)[0xd37360] /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/testsuite/g++/../../cc1plus(_Z16execute_one_passP8opt_pass+0x343)[0xa87713] /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/testsuite/g++/../../cc1plus(_Z17execute_pass_listP8opt_pass+0x16)[0xa87a06] /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/testsuite/g++/../../cc1plus(_Z17execute_pass_listP8opt_pass+0x28)[0xa87a18] /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/testsuite/g++/../../cc1plus(_Z17execute_pass_listP8opt_pass+0x28)[0xa87a18] /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/testsuite/g++/../../cc1plus[0x816963] /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/testsuite/g++/../../cc1plus(_Z7compilev+0x5f9)[0x818819] /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/testsuite/g++/../../cc1plus(_Z25finalize_compilation_unitv+0x65)[0x819085] /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/testsuite/g++/../../cc1plus(_Z28cp_write_global_declarationsv+0xf5c)[0x60613c] /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/testsuite/g++/../../cc1plus[0xb2ee8d] /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/testsuite/g++/../../cc1plus(_Z11toplev_mainiPPc+0xb22)[0xb30c02] /lib64/libc.so.6(__libc_start_main+0xed)[0x7f6a40f7b23d] /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/testsuite/g++/../../cc1plus[0x51238d] ======= Memory map: ======== 00400000-015ba000 r-xp 00000000 08:16 1314946 /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/cc1plus 017ba000-017bc000 r--p 011ba000 08:16 1314946 /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/cc1plus 017bc000-017c7000 rw-p 011bc000 08:16 1314946 /scratch/git-rtems-testing/gcc/b-arm-gcc/gcc/cc1plus 017c7000-01940000 rw-p 00000000 00:00 0 [heap] 7f6a40944000-7f6a40959000 r-xp 00000000 08:03 131176 /lib64/libgcc_s.so.1 7f6a40959000-7f6a40b58000 ---p 00015000 08:03 131176 /lib64/libgcc_s.so.1 7f6a40b58000-7f6a40b59000 r--p 00014000 08:03 131176 /lib64/libgcc_s.so.1 7f6a40b59000-7f6a40b5a000 rw-p 00015000 08:03 131176 /lib64/libgcc_s.so.1 7f6a40b5a000-7f6a40f5a000 rw-p 00000000 00:00 0 7f6a40f5a000-7f6a410e1000 r-xp 00000000 08:03 131080 /lib64/libc-2.14.1.so 7f6a410e1000-7f6a412e0000 ---p 00187000 08:03 131080 /lib64/libc-2.14.1.so 7f6a412e0000-7f6a412e4000 r--p 00186000 08:03 131080 /lib64/libc-2.14.1.so 7f6a412e4000-7f6a412e5000 rw-p 0018a000 08:03 131080 /lib64/libc-2.14.1.so 7f6a412e5000-7f6a412ea000 rw-p 00000000 00:00 0 7f6a412ea000-7f6a41340000 r-xp 00000000 08:03 131088 /lib64/libm-2.14.1.so 7f6a41340000-7f6a4153f000 ---p 00056000 08:03 131088 /lib64/libm-2.14.1.so 7f6a4153f000-7f6a41540000 r--p 00055000 08:03 131088 /lib64/libm-2.14.1.so 7f6a41540000-7f6a41541000 rw-p 00056000 08:03 131088 /lib64/libm-2.14.1.so 7f6a41541000-7f6a41558000 r-xp 00000000 08:03 131123 /lib64/libz.so.1.2.5 7f6a41558000-7f6a41757000 ---p 00017000 08:03 131123 /lib64/libz.so.1.2.5 7f6a41757000-7f6a41758000 r--p 00016000 08:03 131123 /lib64/libz.so.1.2.5 7f6a41758000-7f6a41759000 rw-p 00017000 08:03 131123 /lib64/libz.so.1.2.5 7f6a41759000-7f6a4175b000 r-xp 00000000 08:03 131086 /lib64/libdl-2.14.1.so 7f6a4175b000-7f6a4195b000 ---p 00002000 08:03 131086 /lib64/libdl-2.14.1.so 7f6a4195b000-7f6a4195c000 r--p 00002000 08:03 131086 /lib64/libdl-2.14.1.so 7f6a4195c000-7f6a4195d000 rw-p 00003000 08:03 131086 /lib64/libdl-2.14.1.so 7f6a4195d000-7f6a4197d000 r-xp 00000000 08:03 137899 /lib64/ld-2.14.1.so 7f6a41ae4000-7f6a41b7b000 rw-p 00000000 00:00 0 7f6a41b7b000-7f6a41b7d000 rw-p 00000000 00:00 0 7f6a41b7d000-7f6a41b7e000 r--p 00020000 08:03 137899 /lib64/ld-2.14.1.so 7f6a41b7e000-7f6a41b7f000 rw-p 00021000 08:03 137899 /lib64/ld-2.14.1.so 7f6a41b7f000-7f6a41b80000 rw-p 00000000 00:00 0 7fffa97b1000-7fffa97d5000 rw-p 00000000 00:00 0 [stack] 7fffa97ff000-7fffa9800000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] /home/sh/archive/gcc-git/gcc/testsuite/g++.dg/gomp/pr59150.C: In function 'int foo()': /home/sh/archive/gcc-git/gcc/testsuite/g++.dg/gomp/pr59150.C:8:1: internal compiler error: Aborted 0xb2e92f crash_signal /home/sh/archive/gcc-git/gcc/toplev.c:337 0x101979d free_data_refs(vec<data_reference*, va_heap, vl_ptr>) /home/sh/archive/gcc-git/gcc/tree-data-ref.c:4831 0xd36257 vect_destroy_datarefs(_loop_vec_info*, _bb_vec_info*) /home/sh/archive/gcc-git/gcc/tree-vectorizer.c:318 0xd1939c destroy_loop_vec_info(_loop_vec_info*, bool) /home/sh/archive/gcc-git/gcc/tree-vect-loop.c:1019 0xd20083 vect_analyze_loop(loop*) /home/sh/archive/gcc-git/gcc/tree-vect-loop.c:1853 0xd3735f vectorize_loops() /home/sh/archive/gcc-git/gcc/tree-vectorizer.c:430 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions. FAIL: g++.dg/gomp/pr59150.C -std=gnu++98 (internal compiler error) FAIL: g++.dg/gomp/pr59150.C -std=gnu++98 (test for excess errors)