public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "sebastian.huber@embedded-brains.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/59150] [4.9 Regression] ICE: in expand_one_var, at cfgexpand.c:1242 with -fopenmp
Date: Wed, 05 Feb 2014 10:48:00 -0000	[thread overview]
Message-ID: <bug-59150-4-9XY0BIDhJz@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-59150-4@http.gcc.gnu.org/bugzilla/>

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59150

Sebastian Huber <sebastian.huber@embedded-brains.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sebastian.huber@embedded-br
                   |                            |ains.de

--- Comment #5 from Sebastian Huber <sebastian.huber@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)


  parent reply	other threads:[~2014-02-05 10:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-15 23:44 [Bug middle-end/59150] New: " zsojka at seznam dot cz
2013-11-19  9:49 ` [Bug middle-end/59150] " rguenth at gcc dot gnu.org
2013-11-21 14:48 ` rguenth at gcc dot gnu.org
2013-11-26 16:24 ` jakub at gcc dot gnu.org
2013-11-26 20:40 ` jakub at gcc dot gnu.org
2013-11-26 20:56 ` jakub at gcc dot gnu.org
2014-02-05 10:48 ` sebastian.huber@embedded-brains.de [this message]
2014-02-05 17:52 ` jakub at gcc dot gnu.org
2014-02-06 10:48 ` sebastian.huber@embedded-brains.de
2014-02-06 11:00 ` jakub at gcc dot gnu.org
2014-03-13  9:50 ` bernd.edlinger at hotmail dot de

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-59150-4-9XY0BIDhJz@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).