public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/53820] New: [4.8 Regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8029
@ 2012-06-30 15:16 danglin at gcc dot gnu.org
  2012-06-30 23:11 ` [Bug debug/53820] " danglin at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: danglin at gcc dot gnu.org @ 2012-06-30 15:16 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53820
           Summary: [4.8 Regression] ICE in vt_expand_var_loc_chain, at
                    var-tracking.c:8029
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: danglin@gcc.gnu.org
              Host: hppa64-hp-hpux11.11
            Target: hppa64-hp-hpux11.11
             Build: hppa64-hp-hpux11.11


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

/test/gnu/gcc/objdir/./prev-gcc/g++ -B/test/gnu/gcc/objdir/./prev-gcc/
-B/opt/gnu64/gcc/gcc-4.8/hppa64-hp-hpux11.11/bin/ -nostdinc++
-B/test/gnu/gcc/objdir/prev-hppa64-hp-hpux11.11/libstdc++-v3/src/.libs
-B/test/gnu/gcc/objdir/prev-hppa64-hp-hpux11.11/libstdc++-v3/libsupc++/.libs
-I/test/gnu/gcc/objdir/prev-hppa64-hp-hpux11.11/libstdc++-v3/include/hppa64-hp-hpux11.11
-I/test/gnu/gcc/objdir/prev-hppa64-hp-hpux11.11/libstdc++-v3/include
-I/test/gnu/gcc/gcc/libstdc++-v3/libsupc+
+ -L/test/gnu/gcc/objdir/prev-hppa64-hp-hpux11.11/libstdc++-v3/src/.libs
-L/test/gnu/gcc/objdir/prev-hppa64-hp-hpux11.11/libstdc++-v3/libsupc++/.libs -c
 -DIN_G
CC_FRONTEND -DIN_GCC_FRONTEND -g -O2 -DIN_GCC   -fno-exceptions -fno-rtti -W
-Wall -Wno-narrowing -Wwrite-strings -Wcast-qual  -fno-common  -DHAVE_CONFIG_H
-I. 
-Ic-family -I../../gcc/gcc -I../../gcc/gcc/c-family -I../../gcc/gcc/../include
-
I../../gcc/gcc/../libcpp/include -I/opt/gnu64/gcc/gmp/include 
-I../../gcc/gcc/.
./libdecnumber -I../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber   
../../gc
c/gcc/c-family/stub-objc.c -o c-family/stub-objc.o
../../gcc/gcc/c-family/stub-objc.c: In function 'void
objc_add_property_declaration(location_t, tree, bool, bool, bool, bool, bool,
bool, tree, tree)':
../../gcc/gcc/c-family/stub-objc.c:328:1: internal compiler error: in
vt_expand_var_loc_chain, at var-tracking.c:8029
 }
 ^
Please submit a full bug report,

-bash-3.2$ ./xgcc -B./ -v
Reading specs from ./specs
COLLECT_GCC=./xgcc
COLLECT_LTO_WRAPPER=./lto-wrapper
Target: hppa64-hp-hpux11.11
Configured with: ../gcc/configure --with-gnu-as --with-as=/opt/gnu64/bin/as
--with-ld=/usr/ccs/bin/ld --enable-shared --with-local-prefix=/opt/gnu64
--prefix=/opt/gnu64/gcc/gcc-4.8 --build=hppa64-hp-hpux11.11
--enable-threads=posix --disable-nls --with-gmp=/opt/gnu64/gcc/gmp
--with-libelf=/opt/gnu64 --enable-languages=c,c++,objc,obj-c++,fortran
Thread model: posix
gcc version 4.8.0 20120629 (experimental) [trunk revision 189089] (GCC)


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

* [Bug debug/53820] [4.8 Regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8029
  2012-06-30 15:16 [Bug debug/53820] New: [4.8 Regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8029 danglin at gcc dot gnu.org
@ 2012-06-30 23:11 ` danglin at gcc dot gnu.org
  2012-07-02  8:53 ` rguenth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: danglin at gcc dot gnu.org @ 2012-06-30 23:11 UTC (permalink / raw)
  To: gcc-bugs

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

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aoliva at gcc dot gnu.org

--- Comment #1 from John David Anglin <danglin at gcc dot gnu.org> 2012-06-30 23:11:38 UTC ---
Introduced in revision 188998.


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

* [Bug debug/53820] [4.8 Regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8029
  2012-06-30 15:16 [Bug debug/53820] New: [4.8 Regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8029 danglin at gcc dot gnu.org
  2012-06-30 23:11 ` [Bug debug/53820] " danglin at gcc dot gnu.org
@ 2012-07-02  8:53 ` rguenth at gcc dot gnu.org
  2012-07-02 12:24 ` aoliva at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-07-02  8:53 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <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 debug/53820] [4.8 Regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8029
  2012-06-30 15:16 [Bug debug/53820] New: [4.8 Regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8029 danglin at gcc dot gnu.org
  2012-06-30 23:11 ` [Bug debug/53820] " danglin at gcc dot gnu.org
  2012-07-02  8:53 ` rguenth at gcc dot gnu.org
@ 2012-07-02 12:24 ` aoliva at gcc dot gnu.org
  2012-07-02 15:21 ` aoliva at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: aoliva at gcc dot gnu.org @ 2012-07-02 12:24 UTC (permalink / raw)
  To: gcc-bugs

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

Alexandre Oliva <aoliva at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2012-07-02
         AssignedTo|unassigned at gcc dot       |aoliva at gcc dot gnu.org
                   |gnu.org                     |
     Ever Confirmed|0                           |1

--- Comment #2 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2012-07-02 12:24:37 UTC ---
Cool, seems like this was latent before.  Looking into it, thanks.


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

* [Bug debug/53820] [4.8 Regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8029
  2012-06-30 15:16 [Bug debug/53820] New: [4.8 Regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8029 danglin at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2012-07-02 12:24 ` aoliva at gcc dot gnu.org
@ 2012-07-02 15:21 ` aoliva at gcc dot gnu.org
  2012-07-03 12:46 ` dave.anglin at bell dot net
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: aoliva at gcc dot gnu.org @ 2012-07-02 15:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2012-07-02 15:20:54 UTC ---
This patchlet for var-tracking.c fixes the testcase.  I'm now testing it on
x86_64.  John, would you be so kind as to try to bootstrap it on
hppa64-hp-hpux11.11 to make sure no other such problem remains?  TIA,

--- a/gcc/var-tracking.c
+++ b/gcc/var-tracking.c
@@ -9333,8 +9333,6 @@ vt_add_function_parameter (tree parm)
      based on generic registers.  But the prerequisite is that this argument
      pointer be also the virtual CFA pointer, see vt_initialize.  */
   if (MEM_P (incoming)
-      && stack_realign_drap
-      && arg_pointer_rtx == cfa_base_rtx
       && (XEXP (incoming, 0) == crtl->args.internal_arg_pointer
       || (GET_CODE (XEXP (incoming, 0)) == PLUS
           && XEXP (XEXP (incoming, 0), 0)


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

* [Bug debug/53820] [4.8 Regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8029
  2012-06-30 15:16 [Bug debug/53820] New: [4.8 Regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8029 danglin at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2012-07-02 15:21 ` aoliva at gcc dot gnu.org
@ 2012-07-03 12:46 ` dave.anglin at bell dot net
  2012-07-06 11:37 ` aoliva at gcc dot gnu.org
  2012-07-06 12:18 ` aoliva at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: dave.anglin at bell dot net @ 2012-07-03 12:46 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from dave.anglin at bell dot net 2012-07-03 12:46:16 UTC ---
On 7/2/2012 11:20 AM, aoliva at gcc dot gnu.org wrote:
> This patchlet for var-tracking.c fixes the testcase.  I'm now testing it on
> x86_64.  John, would you be so kind as to try to bootstrap it on
> hppa64-hp-hpux11.11 to make sure no other such problem remains?  TIA,
Alex, the patch fixes bootstrap and I see no new issues.

Thanks,
Dave


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

* [Bug debug/53820] [4.8 Regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8029
  2012-06-30 15:16 [Bug debug/53820] New: [4.8 Regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8029 danglin at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2012-07-03 12:46 ` dave.anglin at bell dot net
@ 2012-07-06 11:37 ` aoliva at gcc dot gnu.org
  2012-07-06 12:18 ` aoliva at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: aoliva at gcc dot gnu.org @ 2012-07-06 11:37 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2012-07-06 11:37:40 UTC ---
Author: aoliva
Date: Fri Jul  6 11:37:36 2012
New Revision: 189326

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189326
Log:
PR debug/53820
* var-tracking.c (vt_add_function_parameter): Convert
internal_arg_pointer into arg_pointer-based address even
without DRAP.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/var-tracking.c


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

* [Bug debug/53820] [4.8 Regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8029
  2012-06-30 15:16 [Bug debug/53820] New: [4.8 Regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8029 danglin at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2012-07-06 11:37 ` aoliva at gcc dot gnu.org
@ 2012-07-06 12:18 ` aoliva at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: aoliva at gcc dot gnu.org @ 2012-07-06 12:18 UTC (permalink / raw)
  To: gcc-bugs

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

Alexandre Oliva <aoliva at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2012-07-06 11:37:40 UTC ---
Author: aoliva
Date: Fri Jul  6 11:37:36 2012
New Revision: 189326

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189326
Log:
PR debug/53820
* var-tracking.c (vt_add_function_parameter): Convert
internal_arg_pointer into arg_pointer-based address even
without DRAP.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/var-tracking.c

--- Comment #6 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2012-07-06 12:18:27 UTC ---
Fixed


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

end of thread, other threads:[~2012-07-06 12:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-30 15:16 [Bug debug/53820] New: [4.8 Regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8029 danglin at gcc dot gnu.org
2012-06-30 23:11 ` [Bug debug/53820] " danglin at gcc dot gnu.org
2012-07-02  8:53 ` rguenth at gcc dot gnu.org
2012-07-02 12:24 ` aoliva at gcc dot gnu.org
2012-07-02 15:21 ` aoliva at gcc dot gnu.org
2012-07-03 12:46 ` dave.anglin at bell dot net
2012-07-06 11:37 ` aoliva at gcc dot gnu.org
2012-07-06 12:18 ` aoliva 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).