public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/55507] New: [4.8 Regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8020
@ 2012-11-28  2:12 danglin at gcc dot gnu.org
  2012-11-28 12:36 ` [Bug middle-end/55507] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: danglin at gcc dot gnu.org @ 2012-11-28  2:12 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 55507
           Summary: [4.8 Regression] ICE in vt_expand_var_loc_chain, at
                    var-tracking.c:8020
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: danglin@gcc.gnu.org
              Host: hppa-unknown-linux-gnu
            Target: hppa-unknown-linux-gnu
             Build: hppa-unknown-linux-gnu


Created attachment 28811
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28811
Preprocessed source

libtool: compile:  /home/dave/gnu/gcc/objdir/./gcc/xgcc -shared-libgcc
-B/home/d
ave/gnu/gcc/objdir/./gcc -nostdinc++
-L/home/dave/gnu/gcc/objdir/hppa-linux-gnu/
libstdc++-v3/src
-L/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libstdc++-v3/src/.li
bs -B/home/dave/opt/gnu/gcc/gcc-4.8.0/hppa-linux-gnu/bin/
-B/home/dave/opt/gnu/g
cc/gcc-4.8.0/hppa-linux-gnu/lib/ -isystem
/home/dave/opt/gnu/gcc/gcc-4.8.0/hppa-
linux-gnu/include -isystem
/home/dave/opt/gnu/gcc/gcc-4.8.0/hppa-linux-gnu/sys-i
nclude -I/home/dave/gnu/gcc/gcc/libstdc++-v3/../libgcc
-I/home/dave/gnu/gcc/objd
ir/hppa-linux-gnu/libstdc++-v3/include/hppa-linux-gnu
-I/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libstdc++-v3/include
-I/home/dave/gnu/gcc/gcc/libstdc++-v3/libsupc++ -D_GLIBCXX_SHARED -Wall -Wextra
-Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once
-ffunction-sections -fdata-sections -frandom-seed=vec.lo -g -O2 -D_GNU_SOURCE
-c ../../../../gcc/libstdc++-v3/libsupc++/vec.cc  -fPIC -DPIC -D_GLIBCXX_SHARED
-o vec.o
../../../../gcc/libstdc++-v3/libsupc++/vec.cc: In function ‘void*
__cxxabiv1::__cxa_vec_new(std::size_t, std::size_t, std::size_t,
__cxxabiv1::__cxa_cdtor_type, __cxxabiv1::__cxa_cdtor_type)’:
../../../../gcc/libstdc++-v3/libsupc++/vec.cc:87:3: internal compiler error: in
vt_expand_var_loc_chain, at var-tracking.c:8020
   }
   ^
0xde6693 vt_expand_var_loc_chain
        ../../gcc/gcc/var-tracking.c:8020
0xde727f vt_expand_loc_callback
        ../../gcc/gcc/var-tracking.c:8216
0x5a33b7 cselib_expand_value_rtx_1
        ../../gcc/gcc/cselib.c:1683
0x5a363b cselib_expand_value_rtx_1
        ../../gcc/gcc/cselib.c:1721
0x5a2dd7 cselib_expand_value_rtx_cb(rtx_def*, bitmap_head_def*, int, rtx_def*
(*)(rtx_def*, bitmap_head_def*, int, void*), void*)
        ../../gcc/gcc/cselib.c:1530
0xde67cb vt_expand_var_loc_chain
        ../../gcc/gcc/var-tracking.c:8054
0xde727f vt_expand_loc_callback
        ../../gcc/gcc/var-tracking.c:8216
0x5a33b7 cselib_expand_value_rtx_1
        ../../gcc/gcc/cselib.c:1683
0x5a363b cselib_expand_value_rtx_1
        ../../gcc/gcc/cselib.c:1721
0x5a2dd7 cselib_expand_value_rtx_cb(rtx_def*, bitmap_head_def*, int, rtx_def*
(*)(rtx_def*, bitmap_head_def*, int, void*), void*)
        ../../gcc/gcc/cselib.c:1530
0xde67cb vt_expand_var_loc_chain
        ../../gcc/gcc/var-tracking.c:8054
0xde727f vt_expand_loc_callback
        ../../gcc/gcc/var-tracking.c:8216
0x5a33b7 cselib_expand_value_rtx_1
        ../../gcc/gcc/cselib.c:1683
0x5a2dd7 cselib_expand_value_rtx_cb(rtx_def*, bitmap_head_def*, int, rtx_def*
(*)(rtx_def*, bitmap_head_def*, int, void*), void*)
        ../../gcc/gcc/cselib.c:1530
0xde67cb vt_expand_var_loc_chain
        ../../gcc/gcc/var-tracking.c:8054
0xde7943 vt_expand_1pvar
        ../../gcc/gcc/var-tracking.c:8331
0xde7c27 emit_note_insn_var_location
        ../../gcc/gcc/var-tracking.c:8385
0x109eb87 htab_traverse_noresize
        ../../gcc/libiberty/hashtab.c:784

193798 was ok.

dave@mx3210:~/gnu/gcc/objdir/gcc$ ./xgcc -B./ -v
Reading specs from ./specs
COLLECT_GCC=./xgcc
COLLECT_LTO_WRAPPER=./lto-wrapper
Target: hppa-linux-gnu
Configured with: ../gcc/configure --with-gnu-as --with-gnu-ld --enable-shared
--enable-multiarch --with-multiarch-defaults=hppa-linux-gnu
--enable-linker-build-id --build=hppa-linux-gnu --host=hppa-linux-gnu
--target=hppa-linux-gnu --prefix=/home/dave/opt/gnu/gcc/gcc-4.8.0
--with-local-prefix=/home/dave/opt/gnu --enable-threads=posix
--enable-__cxa_atexit --build=hppa-linux-gnu --enable-clocale=gnu
--enable-java-gc=boehm --without-cloog --without-ppl
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada,lto : (reconfigured)
../gcc/configure --with-gnu-as --with-gnu-ld --enable-shared --enable-multiarch
--with-multiarch-defaults=hppa-linux-gnu --enable-linker-build-id
--build=hppa-linux-gnu --host=hppa-linux-gnu --target=hppa-linux-gnu
--prefix=/home/dave/opt/gnu/gcc/gcc-4.8.0
--with-local-prefix=/home/dave/opt/gnu --enable-threads=posix
--enable-__cxa_atexit --build=hppa-linux-gnu --enable-clocale=gnu
--enable-java-gc=boehm --without-cloog --without-ppl
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada,lto
Thread model: posix
gcc version 4.8.0 20121128 (experimental) [trunk revision 193878] (GCC)


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug middle-end/55507] [4.8 Regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8020
  2012-11-28  2:12 [Bug middle-end/55507] New: [4.8 Regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8020 danglin at gcc dot gnu.org
@ 2012-11-28 12:36 ` rguenth at gcc dot gnu.org
  2012-11-28 18:25 ` rth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-11-28 12:36 UTC (permalink / raw)
  To: gcc-bugs


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.8.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug middle-end/55507] [4.8 Regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8020
  2012-11-28  2:12 [Bug middle-end/55507] New: [4.8 Regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8020 danglin at gcc dot gnu.org
  2012-11-28 12:36 ` [Bug middle-end/55507] " rguenth at gcc dot gnu.org
@ 2012-11-28 18:25 ` rth at gcc dot gnu.org
  2012-11-28 18:36 ` ubizjak at gmail dot com
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rth at gcc dot gnu.org @ 2012-11-28 18:25 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #1 from Richard Henderson <rth at gcc dot gnu.org> 2012-11-28 18:25:03 UTC ---
Created attachment 28821
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28821
preprocessed alpha source

Looks like the same problem for alpha, occurring elsewhere in the build.

Since this is _powtf2, you probably need --enable-long-double-128 in the
configure line when cross-compiling.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug middle-end/55507] [4.8 Regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8020
  2012-11-28  2:12 [Bug middle-end/55507] New: [4.8 Regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8020 danglin at gcc dot gnu.org
  2012-11-28 12:36 ` [Bug middle-end/55507] " rguenth at gcc dot gnu.org
  2012-11-28 18:25 ` rth at gcc dot gnu.org
@ 2012-11-28 18:36 ` ubizjak at gmail dot com
  2012-11-28 18:51 ` dave.anglin at bell dot net
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ubizjak at gmail dot com @ 2012-11-28 18:36 UTC (permalink / raw)
  To: gcc-bugs


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

Uros Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch

--- Comment #2 from Uros Bizjak <ubizjak at gmail dot com> 2012-11-28 18:36:04 UTC ---
(In reply to comment #1)
> Created attachment 28821 [details]
> preprocessed alpha source
> 
> Looks like the same problem for alpha, occurring elsewhere in the build.

This is fixed by Jakub's patch at [1].

[1] http://gcc.gnu.org/ml/gcc-patches/2012-11/msg02188.html


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug middle-end/55507] [4.8 Regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8020
  2012-11-28  2:12 [Bug middle-end/55507] New: [4.8 Regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8020 danglin at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2012-11-28 18:36 ` ubizjak at gmail dot com
@ 2012-11-28 18:51 ` dave.anglin at bell dot net
  2012-11-28 19:40 ` pinskia at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: dave.anglin at bell dot net @ 2012-11-28 18:51 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #3 from dave.anglin at bell dot net 2012-11-28 18:50:26 UTC ---
On 11/28/2012 1:25 PM, rth at gcc dot gnu.org wrote:
> Since this is _powtf2, you probably need --enable-long-double-128 in the
> configure line when cross-compiling.
Actually, it's 64 bits on hppa-linux.  Has the long double default
changed?


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug middle-end/55507] [4.8 Regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8020
  2012-11-28  2:12 [Bug middle-end/55507] New: [4.8 Regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8020 danglin at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2012-11-28 18:51 ` dave.anglin at bell dot net
@ 2012-11-28 19:40 ` pinskia at gcc dot gnu.org
  2012-11-28 23:02 ` jakub at gcc dot gnu.org
  2012-11-29  8:11 ` jakub at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-11-28 19:40 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-11-28 19:40:30 UTC ---
(In reply to comment #3)
> On 11/28/2012 1:25 PM, rth at gcc dot gnu.org wrote:
> > Since this is _powtf2, you probably need --enable-long-double-128 in the
> > configure line when cross-compiling.
> Actually, it's 64 bits on hppa-linux.  Has the long double default
> changed?

He was saying for his testcase that happens on alpha also you would need to
configure with --enable-long-double-128.  Not the original testcase that
happens on hppa.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug middle-end/55507] [4.8 Regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8020
  2012-11-28  2:12 [Bug middle-end/55507] New: [4.8 Regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8020 danglin at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2012-11-28 19:40 ` pinskia at gcc dot gnu.org
@ 2012-11-28 23:02 ` jakub at gcc dot gnu.org
  2012-11-29  8:11 ` jakub at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-11-28 23:02 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-11-28 23:01:21 UTC ---
Author: jakub
Date: Wed Nov 28 23:01:03 2012
New Revision: 193911

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193911
Log:
    PR debug/36728
    PR debug/55467
    PR middle-end/55507
    PR bootstrap/55511
    * cselib.c (cselib_process_insn): If cselib_preserve_constants,
    don't reset table and exit early on volatile insns and setjmp.
    Reset table afterwards on setjmp.

    * gcc.dg/guality/pr36728-1.c: Include "../nop.h", make sure the asm
    are non-empty and add dependency between the first and second asm.
    * gcc.dg/guality/pr36728-2.c: Likewise.
    * gcc.dg/guality/pr36728-3.c: New test.
    * gcc.dg/guality/pr36728-4.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/guality/pr36728-3.c
    trunk/gcc/testsuite/gcc.dg/guality/pr36728-4.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cselib.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/guality/pr36728-1.c
    trunk/gcc/testsuite/gcc.dg/guality/pr36728-2.c


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug middle-end/55507] [4.8 Regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8020
  2012-11-28  2:12 [Bug middle-end/55507] New: [4.8 Regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8020 danglin at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2012-11-28 23:02 ` jakub at gcc dot gnu.org
@ 2012-11-29  8:11 ` jakub at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-11-29  8:11 UTC (permalink / raw)
  To: gcc-bugs


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|                            |FIXED

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-11-29 08:10:57 UTC ---
Fixed.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-11-29  8:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-28  2:12 [Bug middle-end/55507] New: [4.8 Regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8020 danglin at gcc dot gnu.org
2012-11-28 12:36 ` [Bug middle-end/55507] " rguenth at gcc dot gnu.org
2012-11-28 18:25 ` rth at gcc dot gnu.org
2012-11-28 18:36 ` ubizjak at gmail dot com
2012-11-28 18:51 ` dave.anglin at bell dot net
2012-11-28 19:40 ` pinskia at gcc dot gnu.org
2012-11-28 23:02 ` jakub at gcc dot gnu.org
2012-11-29  8:11 ` jakub at gcc dot gnu.org

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).