public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/31899]  New: [4.2/4.3 regression] -g and using declaration causing ICE in reference_to_unused
@ 2007-05-11 13:09 zak at transversal dot com
  2007-05-11 17:53 ` [Bug c++/31899] " fang at csl dot cornell dot edu
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: zak at transversal dot com @ 2007-05-11 13:09 UTC (permalink / raw)
  To: gcc-bugs

The following code, compiled with -g, causes an ICE on 4.2.0 RC3 (20070501) and
on my most recent 4.3.0 snapshot build (20070427):

---------------------
namespace NS {
  int x = 0;
  int &ref = x;
}

using NS::ref;
---------------------

test/ice.cc:6: internal compiler error: in reference_to_unused, at
dwarf2out.c:10128


This compiles cleanly with both 4.1.2 and 4.2.0 RC1 (20070316), suggesting that
this was exposed by a fairly recent patch.


Note that, in particular, this impacts code using Boost.Lambda in the following
style:

#include <boost/lambda/lambda.hpp>
using boost::lambda::_1;
...


-- 
           Summary: [4.2/4.3 regression] -g and using declaration causing
                    ICE in reference_to_unused
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zak at transversal dot com
 GCC build triplet: x86_64_pc_linux_gnu
  GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64_pc_linux_gnu


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


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

* [Bug c++/31899] [4.2/4.3 regression] -g and using declaration causing ICE in reference_to_unused
  2007-05-11 13:09 [Bug c++/31899] New: [4.2/4.3 regression] -g and using declaration causing ICE in reference_to_unused zak at transversal dot com
@ 2007-05-11 17:53 ` fang at csl dot cornell dot edu
  2007-05-11 17:58 ` fang at csl dot cornell dot edu
                   ` (17 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: fang at csl dot cornell dot edu @ 2007-05-11 17:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from fang at csl dot cornell dot edu  2007-05-11 18:53 -------
On your test case, 
$ g++-4 -g -c pr31899.cc -o pr31899.o
also works for me with 4.2.0 20070430 (prerelease), which was 4.2's RC2.

Configured with: ../gcc-4.2.0-20070430/configure --prefix=/sw
--prefix=/sw/lib/gcc4.2 --mandir=/sw/share/man --infodir=/sw/share/info
--enable-languages=c,c++,fortran,objc,java --host=powerpc-apple-darwin8
--with-gmp=/sw --with-libiconv-prefix=/sw --with-system-zlib
--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib


-- 


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


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

* [Bug c++/31899] [4.2/4.3 regression] -g and using declaration causing ICE in reference_to_unused
  2007-05-11 13:09 [Bug c++/31899] New: [4.2/4.3 regression] -g and using declaration causing ICE in reference_to_unused zak at transversal dot com
  2007-05-11 17:53 ` [Bug c++/31899] " fang at csl dot cornell dot edu
@ 2007-05-11 17:58 ` fang at csl dot cornell dot edu
  2007-05-12 13:50 ` [Bug debug/31899] " pinskia at gcc dot gnu dot org
                   ` (16 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: fang at csl dot cornell dot edu @ 2007-05-11 17:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from fang at csl dot cornell dot edu  2007-05-11 18:58 -------
Ooops, strike that last comment, forgot -gdwarf-2:

g++-4 -gdwarf-2 -c pr31899.cc -o pr31899.o
ICEs with:
internal compiler error: in reference_to_unused, at dwarf2out.c:10010

(same compiler version, 4.2 RC2)


-- 


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


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

* [Bug debug/31899] [4.2/4.3 regression] -g and using declaration causing ICE in reference_to_unused
  2007-05-11 13:09 [Bug c++/31899] New: [4.2/4.3 regression] -g and using declaration causing ICE in reference_to_unused zak at transversal dot com
  2007-05-11 17:53 ` [Bug c++/31899] " fang at csl dot cornell dot edu
  2007-05-11 17:58 ` fang at csl dot cornell dot edu
@ 2007-05-12 13:50 ` pinskia at gcc dot gnu dot org
  2007-05-14 21:29 ` mmitchel at gcc dot gnu dot org
                   ` (15 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-05-12 13:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2007-05-12 14:50 -------
Confirmed, this was caused by the patch for PR 30700.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu dot
                   |                            |org
OtherBugsDependingO|                            |30700
              nThis|                            |
             Status|UNCONFIRMED                 |NEW
          Component|c++                         |debug
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2007-05-12 14:50:10
               date|                            |
   Target Milestone|---                         |4.2.0


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


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

* [Bug debug/31899] [4.2/4.3 regression] -g and using declaration causing ICE in reference_to_unused
  2007-05-11 13:09 [Bug c++/31899] New: [4.2/4.3 regression] -g and using declaration causing ICE in reference_to_unused zak at transversal dot com
                   ` (2 preceding siblings ...)
  2007-05-12 13:50 ` [Bug debug/31899] " pinskia at gcc dot gnu dot org
@ 2007-05-14 21:29 ` mmitchel at gcc dot gnu dot org
  2007-07-04  3:06 ` mmitchel at gcc dot gnu dot org
                   ` (14 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-05-14 21:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from mmitchel at gcc dot gnu dot org  2007-05-14 22:26 -------
Will not be fixed in 4.2.0; retargeting at 4.2.1.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.2.0                       |4.2.1


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


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

* [Bug debug/31899] [4.2/4.3 regression] -g and using declaration causing ICE in reference_to_unused
  2007-05-11 13:09 [Bug c++/31899] New: [4.2/4.3 regression] -g and using declaration causing ICE in reference_to_unused zak at transversal dot com
                   ` (3 preceding siblings ...)
  2007-05-14 21:29 ` mmitchel at gcc dot gnu dot org
@ 2007-07-04  3:06 ` mmitchel at gcc dot gnu dot org
  2007-07-20  3:52 ` mmitchel at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-07-04  3:06 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


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


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

* [Bug debug/31899] [4.2/4.3 regression] -g and using declaration causing ICE in reference_to_unused
  2007-05-11 13:09 [Bug c++/31899] New: [4.2/4.3 regression] -g and using declaration causing ICE in reference_to_unused zak at transversal dot com
                   ` (4 preceding siblings ...)
  2007-07-04  3:06 ` mmitchel at gcc dot gnu dot org
@ 2007-07-20  3:52 ` mmitchel at gcc dot gnu dot org
  2007-07-27 20:54 ` dougkwan at google dot com
                   ` (12 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-07-20  3:52 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.2.1                       |4.2.2


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


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

* [Bug debug/31899] [4.2/4.3 regression] -g and using declaration causing ICE in reference_to_unused
  2007-05-11 13:09 [Bug c++/31899] New: [4.2/4.3 regression] -g and using declaration causing ICE in reference_to_unused zak at transversal dot com
                   ` (5 preceding siblings ...)
  2007-07-20  3:52 ` mmitchel at gcc dot gnu dot org
@ 2007-07-27 20:54 ` dougkwan at google dot com
  2007-08-08 18:59 ` pinskia at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: dougkwan at google dot com @ 2007-07-27 20:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from dougkwan at google dot com  2007-07-27 20:54 -------
Created an attachment (id=13989)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13989&action=view)
Proposed fix for SEGV problem in dwarf2out.c in bug 31899


-- 


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


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

* [Bug debug/31899] [4.2/4.3 regression] -g and using declaration causing ICE in reference_to_unused
  2007-05-11 13:09 [Bug c++/31899] New: [4.2/4.3 regression] -g and using declaration causing ICE in reference_to_unused zak at transversal dot com
                   ` (6 preceding siblings ...)
  2007-07-27 20:54 ` dougkwan at google dot com
@ 2007-08-08 18:59 ` pinskia at gcc dot gnu dot org
  2007-10-02 16:22 ` pinskia at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-08-08 18:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pinskia at gcc dot gnu dot org  2007-08-08 18:58 -------
*** Bug 33026 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dcb314 at hotmail dot com


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


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

* [Bug debug/31899] [4.2/4.3 regression] -g and using declaration causing ICE in reference_to_unused
  2007-05-11 13:09 [Bug c++/31899] New: [4.2/4.3 regression] -g and using declaration causing ICE in reference_to_unused zak at transversal dot com
                   ` (7 preceding siblings ...)
  2007-08-08 18:59 ` pinskia at gcc dot gnu dot org
@ 2007-10-02 16:22 ` pinskia at gcc dot gnu dot org
  2007-10-02 16:22 ` pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-10-02 16:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from pinskia at gcc dot gnu dot org  2007-10-02 16:21 -------
*** Bug 33580 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |boris dot gubenko at hp dot
                   |                            |com


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


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

* [Bug debug/31899] [4.2/4.3 regression] -g and using declaration causing ICE in reference_to_unused
  2007-05-11 13:09 [Bug c++/31899] New: [4.2/4.3 regression] -g and using declaration causing ICE in reference_to_unused zak at transversal dot com
                   ` (8 preceding siblings ...)
  2007-10-02 16:22 ` pinskia at gcc dot gnu dot org
@ 2007-10-02 16:22 ` pinskia at gcc dot gnu dot org
  2007-10-02 16:55 ` rguenth at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-10-02 16:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from pinskia at gcc dot gnu dot org  2007-10-02 16:21 -------
*** Bug 33625 has been marked as a duplicate of this bug. ***


-- 


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


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

* [Bug debug/31899] [4.2/4.3 regression] -g and using declaration causing ICE in reference_to_unused
  2007-05-11 13:09 [Bug c++/31899] New: [4.2/4.3 regression] -g and using declaration causing ICE in reference_to_unused zak at transversal dot com
                   ` (9 preceding siblings ...)
  2007-10-02 16:22 ` pinskia at gcc dot gnu dot org
@ 2007-10-02 16:55 ` rguenth at gcc dot gnu dot org
  2007-10-02 17:06 ` rguenth at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-10-02 16:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from rguenth at gcc dot gnu dot org  2007-10-02 16:55 -------
  else if (!cgraph_global_info_ready
           && (TREE_CODE (*tp) == VAR_DECL || TREE_CODE (*tp) ==
FUNCTION_DECL))
    gcc_unreachable ();

the problem is that the C++ FE emits debug info for global using decls from
parsing:

...
#9  0x082a825e in cp_emit_debug_info_for_using (t=0xb7d6705c, context=0x0)
    at /home/richard/src/trunk/gcc/cp/name-lookup.c:5223
---Type <return> to continue, or q <return> to quit---
#10 0x0829f5ef in do_toplevel_using_decl (decl=0xb7d61870, scope=0xb7d61798, 
    name=0xb7d66708) at /home/richard/src/trunk/gcc/cp/name-lookup.c:3360
#11 0x081bca90 in cp_parser_using_declaration (parser=0xb7cd22a4, 
    access_declaration_p=0 '\0')
    at /home/richard/src/trunk/gcc/cp/parser.c:11695
...

via the imported_module_or_decl debug hook.  I guess we should simply queue
these with the varpool.  Or probably invent a new pool for just this use.
Or just weaken the sanity check.


-- 


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


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

* [Bug debug/31899] [4.2/4.3 regression] -g and using declaration causing ICE in reference_to_unused
  2007-05-11 13:09 [Bug c++/31899] New: [4.2/4.3 regression] -g and using declaration causing ICE in reference_to_unused zak at transversal dot com
                   ` (10 preceding siblings ...)
  2007-10-02 16:55 ` rguenth at gcc dot gnu dot org
@ 2007-10-02 17:06 ` rguenth at gcc dot gnu dot org
  2007-10-02 17:12 ` rguenth at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-10-02 17:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from rguenth at gcc dot gnu dot org  2007-10-02 17:05 -------
Created an attachment (id=14286)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14286&action=view)
patch

Different patch.


-- 


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


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

* [Bug debug/31899] [4.2/4.3 regression] -g and using declaration causing ICE in reference_to_unused
  2007-05-11 13:09 [Bug c++/31899] New: [4.2/4.3 regression] -g and using declaration causing ICE in reference_to_unused zak at transversal dot com
                   ` (11 preceding siblings ...)
  2007-10-02 17:06 ` rguenth at gcc dot gnu dot org
@ 2007-10-02 17:12 ` rguenth at gcc dot gnu dot org
  2007-10-03 10:02 ` rguenth at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-10-02 17:12 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rguenth at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2007-05-12 14:50:10         |2007-10-02 17:12:15
               date|                            |


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


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

* [Bug debug/31899] [4.2/4.3 regression] -g and using declaration causing ICE in reference_to_unused
  2007-05-11 13:09 [Bug c++/31899] New: [4.2/4.3 regression] -g and using declaration causing ICE in reference_to_unused zak at transversal dot com
                   ` (12 preceding siblings ...)
  2007-10-02 17:12 ` rguenth at gcc dot gnu dot org
@ 2007-10-03 10:02 ` rguenth at gcc dot gnu dot org
  2007-10-03 10:04 ` [Bug debug/31899] [4.2 Regression] " rguenth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-10-03 10:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from rguenth at gcc dot gnu dot org  2007-10-03 10:02 -------
Subject: Bug 31899

Author: rguenth
Date: Wed Oct  3 10:01:43 2007
New Revision: 128978

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128978
Log:
2007-10-03  Doug Kwan  <dougkwan@google.com>
        Richard Guenther  <rguenther@suse.de>

        PR debug/31899
        * dwarf2out.c (reference_to_unused): Disable sanity checking,
        be conservative instead.

        * g++.dg/debug/using3.C: New testcase.

Added:
    trunk/gcc/testsuite/g++.dg/debug/using3.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug debug/31899] [4.2 Regression] -g and using declaration causing ICE in reference_to_unused
  2007-05-11 13:09 [Bug c++/31899] New: [4.2/4.3 regression] -g and using declaration causing ICE in reference_to_unused zak at transversal dot com
                   ` (13 preceding siblings ...)
  2007-10-03 10:02 ` rguenth at gcc dot gnu dot org
@ 2007-10-03 10:04 ` rguenth at gcc dot gnu dot org
  2007-10-05 12:14 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-10-03 10:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from rguenth at gcc dot gnu dot org  2007-10-03 10:04 -------
Fixed on the trunk, queued for 4.2.3.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |4.2.2
      Known to work|                            |4.3.0
            Summary|[4.2/4.3 regression] -g and |[4.2 Regression] -g and
                   |using declaration causing   |using declaration causing
                   |ICE in reference_to_unused  |ICE in reference_to_unused
   Target Milestone|4.2.2                       |4.2.3


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


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

* [Bug debug/31899] [4.2 Regression] -g and using declaration causing ICE in reference_to_unused
  2007-05-11 13:09 [Bug c++/31899] New: [4.2/4.3 regression] -g and using declaration causing ICE in reference_to_unused zak at transversal dot com
                   ` (14 preceding siblings ...)
  2007-10-03 10:04 ` [Bug debug/31899] [4.2 Regression] " rguenth at gcc dot gnu dot org
@ 2007-10-05 12:14 ` rguenth at gcc dot gnu dot org
  2007-10-10  9:29 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-10-05 12:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from rguenth at gcc dot gnu dot org  2007-10-05 12:14 -------
*** Bug 33668 has been marked as a duplicate of this bug. ***


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bernhard at ratte dot dhs
                   |                            |dot org


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


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

* [Bug debug/31899] [4.2 Regression] -g and using declaration causing ICE in reference_to_unused
  2007-05-11 13:09 [Bug c++/31899] New: [4.2/4.3 regression] -g and using declaration causing ICE in reference_to_unused zak at transversal dot com
                   ` (16 preceding siblings ...)
  2007-10-10  9:29 ` rguenth at gcc dot gnu dot org
@ 2007-10-10  9:29 ` rguenth at gcc dot gnu dot org
  2008-02-27 13:24 ` rguenth at gcc dot gnu dot org
  18 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-10-10  9:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from rguenth at gcc dot gnu dot org  2007-10-10 09:29 -------
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

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


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


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

* [Bug debug/31899] [4.2 Regression] -g and using declaration causing ICE in reference_to_unused
  2007-05-11 13:09 [Bug c++/31899] New: [4.2/4.3 regression] -g and using declaration causing ICE in reference_to_unused zak at transversal dot com
                   ` (15 preceding siblings ...)
  2007-10-05 12:14 ` rguenth at gcc dot gnu dot org
@ 2007-10-10  9:29 ` rguenth at gcc dot gnu dot org
  2007-10-10  9:29 ` rguenth at gcc dot gnu dot org
  2008-02-27 13:24 ` rguenth at gcc dot gnu dot org
  18 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-10-10  9:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from rguenth at gcc dot gnu dot org  2007-10-10 09:29 -------
Subject: Bug 31899

Author: rguenth
Date: Wed Oct 10 09:29:13 2007
New Revision: 129199

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129199
Log:
2007-10-10  Richard Guenther  <rguenther@suse.de>

        Backport from mainline
        2007-10-03  Doug Kwan  <dougkwan@google.com>
                Richard Guenther  <rguenther@suse.de>

        PR debug/31899
        * dwarf2out.c (reference_to_unused): Disable sanity checking,
        be conservative instead.

        * g++.dg/debug/using3.C: New testcase.

Added:
    branches/gcc-4_2-branch/gcc/testsuite/g++.dg/debug/using3.C
      - copied unchanged from r128978,
trunk/gcc/testsuite/g++.dg/debug/using3.C
Modified:
    branches/gcc-4_2-branch/gcc/ChangeLog
    branches/gcc-4_2-branch/gcc/dwarf2out.c
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug debug/31899] [4.2 Regression] -g and using declaration causing ICE in reference_to_unused
  2007-05-11 13:09 [Bug c++/31899] New: [4.2/4.3 regression] -g and using declaration causing ICE in reference_to_unused zak at transversal dot com
                   ` (17 preceding siblings ...)
  2007-10-10  9:29 ` rguenth at gcc dot gnu dot org
@ 2008-02-27 13:24 ` rguenth at gcc dot gnu dot org
  18 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-02-27 13:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #16 from rguenth at gcc dot gnu dot org  2008-02-27 13:23 -------
*** Bug 35391 has been marked as a duplicate of this bug. ***


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |T dot Mittelstaedt at
                   |                            |cadenas dot de


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


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

end of thread, other threads:[~2008-02-27 13:24 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-11 13:09 [Bug c++/31899] New: [4.2/4.3 regression] -g and using declaration causing ICE in reference_to_unused zak at transversal dot com
2007-05-11 17:53 ` [Bug c++/31899] " fang at csl dot cornell dot edu
2007-05-11 17:58 ` fang at csl dot cornell dot edu
2007-05-12 13:50 ` [Bug debug/31899] " pinskia at gcc dot gnu dot org
2007-05-14 21:29 ` mmitchel at gcc dot gnu dot org
2007-07-04  3:06 ` mmitchel at gcc dot gnu dot org
2007-07-20  3:52 ` mmitchel at gcc dot gnu dot org
2007-07-27 20:54 ` dougkwan at google dot com
2007-08-08 18:59 ` pinskia at gcc dot gnu dot org
2007-10-02 16:22 ` pinskia at gcc dot gnu dot org
2007-10-02 16:22 ` pinskia at gcc dot gnu dot org
2007-10-02 16:55 ` rguenth at gcc dot gnu dot org
2007-10-02 17:06 ` rguenth at gcc dot gnu dot org
2007-10-02 17:12 ` rguenth at gcc dot gnu dot org
2007-10-03 10:02 ` rguenth at gcc dot gnu dot org
2007-10-03 10:04 ` [Bug debug/31899] [4.2 Regression] " rguenth at gcc dot gnu dot org
2007-10-05 12:14 ` rguenth at gcc dot gnu dot org
2007-10-10  9:29 ` rguenth at gcc dot gnu dot org
2007-10-10  9:29 ` rguenth at gcc dot gnu dot org
2008-02-27 13:24 ` rguenth at gcc dot gnu dot 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).