public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/35112] [4.1/4.2/4.3 regression] ICE and broken diagnostic with ambiguous class name
  2008-02-06 20:12 [Bug c++/35112] New: [4.1/4.2/4.3 regression] ICE and broken diagnostic with ambiguous class name reichelt at gcc dot gnu dot org
@ 2008-02-06 20:12 ` reichelt at gcc dot gnu dot org
  2008-02-06 20:44 ` jakub at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-02-06 20:12 UTC (permalink / raw)
  To: gcc-bugs



-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
   Target Milestone|---                         |4.1.3


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


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

* [Bug c++/35112]  New: [4.1/4.2/4.3 regression] ICE and broken diagnostic with ambiguous class name
@ 2008-02-06 20:12 reichelt at gcc dot gnu dot org
  2008-02-06 20:12 ` [Bug c++/35112] " reichelt at gcc dot gnu dot org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-02-06 20:12 UTC (permalink / raw)
  To: gcc-bugs

The following invalid testcase triggers a broken error message
('tree_list' not supported by dump_decl) and an ICE since GCC 4.1.0:

============================
namespace X { struct A; }
namespace Y { struct A; }
namespace Z { struct A; }

using namespace X;
using namespace Y;
using namespace Z;

A* p;
============================

bug.cc:9: error: reference to 'A' is ambiguous
#'tree_list' not supported by dump_decl#<declaration error>
tree check: expected tree that contains 'decl minimal' structure, have
'tree_list' in location_of, at cp/error.c:2211
Please submit a full bug report, [etc.]


-- 
           Summary: [4.1/4.2/4.3 regression] ICE and broken diagnostic with
                    ambiguous class name
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, monitored
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


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


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

* [Bug c++/35112] [4.1/4.2/4.3 regression] ICE and broken diagnostic with ambiguous class name
  2008-02-06 20:12 [Bug c++/35112] New: [4.1/4.2/4.3 regression] ICE and broken diagnostic with ambiguous class name reichelt at gcc dot gnu dot org
  2008-02-06 20:12 ` [Bug c++/35112] " reichelt at gcc dot gnu dot org
@ 2008-02-06 20:44 ` jakub at gcc dot gnu dot org
  2008-02-06 20:44 ` rguenth at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-02-06 20:44 UTC (permalink / raw)
  To: gcc-bugs



-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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


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

* [Bug c++/35112] [4.1/4.2/4.3 regression] ICE and broken diagnostic with ambiguous class name
  2008-02-06 20:12 [Bug c++/35112] New: [4.1/4.2/4.3 regression] ICE and broken diagnostic with ambiguous class name reichelt at gcc dot gnu dot org
  2008-02-06 20:12 ` [Bug c++/35112] " reichelt at gcc dot gnu dot org
  2008-02-06 20:44 ` jakub at gcc dot gnu dot org
@ 2008-02-06 20:44 ` rguenth at gcc dot gnu dot org
  2008-02-06 20:45 ` rguenth at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-02-06 20:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2008-02-06 20:44 -------
Confirmed.

Do we have a separate bug about the 'tree_list' not supported error?  If not
please open one.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |ice-checking
           Priority|P2                          |P5
   Last reconfirmed|0000-00-00 00:00:00         |2008-02-06 20:44:16
               date|                            |


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


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

* [Bug c++/35112] [4.1/4.2/4.3 regression] ICE and broken diagnostic with ambiguous class name
  2008-02-06 20:12 [Bug c++/35112] New: [4.1/4.2/4.3 regression] ICE and broken diagnostic with ambiguous class name reichelt at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2008-02-06 20:44 ` rguenth at gcc dot gnu dot org
@ 2008-02-06 20:45 ` rguenth at gcc dot gnu dot org
  2008-07-04 22:33 ` [Bug c++/35112] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-02-06 20:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2008-02-06 20:44 -------
(overriding Jakub, this ICE is not seen w/o checking)


-- 


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


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

* [Bug c++/35112] [4.2/4.3/4.4 regression] ICE and broken diagnostic with ambiguous class name
  2008-02-06 20:12 [Bug c++/35112] New: [4.1/4.2/4.3 regression] ICE and broken diagnostic with ambiguous class name reichelt at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2008-02-06 20:45 ` rguenth at gcc dot gnu dot org
@ 2008-07-04 22:33 ` jsm28 at gcc dot gnu dot org
  2009-03-31 20:19 ` [Bug c++/35112] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 22:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jsm28 at gcc dot gnu dot org  2008-07-04 22:33 -------
Closing 4.1 branch.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.1/4.2/4.3/4.4 regression]|[4.2/4.3/4.4 regression] ICE
                   |ICE and broken diagnostic   |and broken diagnostic with
                   |with ambiguous class name   |ambiguous class name
   Target Milestone|4.1.3                       |4.2.5


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


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

* [Bug c++/35112] [4.3/4.4/4.5 regression] ICE and broken diagnostic with ambiguous class name
  2008-02-06 20:12 [Bug c++/35112] New: [4.1/4.2/4.3 regression] ICE and broken diagnostic with ambiguous class name reichelt at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2008-07-04 22:33 ` [Bug c++/35112] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
@ 2009-03-31 20:19 ` jsm28 at gcc dot gnu dot org
  2009-08-04 12:46 ` rguenth at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-31 20:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jsm28 at gcc dot gnu dot org  2009-03-31 20:19 -------
Closing 4.2 branch.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.2/4.3/4.4/4.5 regression]|[4.3/4.4/4.5 regression] ICE
                   |ICE and broken diagnostic   |and broken diagnostic with
                   |with ambiguous class name   |ambiguous class name
   Target Milestone|4.2.5                       |4.3.4


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


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

* [Bug c++/35112] [4.3/4.4/4.5 regression] ICE and broken diagnostic with ambiguous class name
  2008-02-06 20:12 [Bug c++/35112] New: [4.1/4.2/4.3 regression] ICE and broken diagnostic with ambiguous class name reichelt at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2009-03-31 20:19 ` [Bug c++/35112] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
@ 2009-08-04 12:46 ` rguenth at gcc dot gnu dot org
  2009-11-26 20:45 ` paolo dot carlini at oracle dot com
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-04 12:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenth at gcc dot gnu dot org  2009-08-04 12:28 -------
GCC 4.3.4 is being released, adjusting target milestone.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.4                       |4.3.5


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


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

* [Bug c++/35112] [4.3/4.4/4.5 regression] ICE and broken diagnostic with ambiguous class name
  2008-02-06 20:12 [Bug c++/35112] New: [4.1/4.2/4.3 regression] ICE and broken diagnostic with ambiguous class name reichelt at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2009-08-04 12:46 ` rguenth at gcc dot gnu dot org
@ 2009-11-26 20:45 ` paolo dot carlini at oracle dot com
  2009-11-27 10:45 ` paolo at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-11-26 20:45 UTC (permalink / raw)
  To: gcc-bugs



-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |paolo dot carlini at oracle
                   |dot org                     |dot com
             Status|NEW                         |ASSIGNED


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


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

* [Bug c++/35112] [4.3/4.4/4.5 regression] ICE and broken diagnostic with ambiguous class name
  2008-02-06 20:12 [Bug c++/35112] New: [4.1/4.2/4.3 regression] ICE and broken diagnostic with ambiguous class name reichelt at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2009-11-26 20:45 ` paolo dot carlini at oracle dot com
@ 2009-11-27 10:45 ` paolo at gcc dot gnu dot org
  2009-11-27 10:46 ` [Bug c++/35112] [4.3/4.4 " paolo dot carlini at oracle dot com
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: paolo at gcc dot gnu dot org @ 2009-11-27 10:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from paolo at gcc dot gnu dot org  2009-11-27 10:45 -------
Subject: Bug 35112

Author: paolo
Date: Fri Nov 27 10:44:49 2009
New Revision: 154698

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=154698
Log:
/cp
2009-11-27  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/35112
        * pt.c (print_overloaded_functions): New.
        (print_candidates): Call the latter.
        * parser.c (cp_parser_class_name): Do not duplicate the diagnostics
        after the cp_parser_lookup_name call.

/testsuite
2009-11-27  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/35112
        * g++.dg/parse/crash53.C: New.
        * g++.dg/parse/error17.C: Adjust, error messages are not
        duplicated anymore.
        * g++.dg/template/dtor7.C: Remove xfail-ed dg-bogus directives.

Added:
    trunk/gcc/testsuite/g++.dg/parse/crash53.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/parse/error17.C
    trunk/gcc/testsuite/g++.dg/template/dtor7.C


-- 


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


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

* [Bug c++/35112] [4.3/4.4 regression] ICE and broken diagnostic with ambiguous class name
  2008-02-06 20:12 [Bug c++/35112] New: [4.1/4.2/4.3 regression] ICE and broken diagnostic with ambiguous class name reichelt at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2009-11-27 10:45 ` paolo at gcc dot gnu dot org
@ 2009-11-27 10:46 ` paolo dot carlini at oracle dot com
  2010-04-06 11:23 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-11-27 10:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from paolo dot carlini at oracle dot com  2009-11-27 10:46 -------
Fixed for 4.5.0. Not planning a backport.


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|paolo dot carlini at oracle |unassigned at gcc dot gnu
                   |dot com                     |dot org
             Status|ASSIGNED                    |NEW
            Summary|[4.3/4.4/4.5 regression] ICE|[4.3/4.4 regression] ICE and
                   |and broken diagnostic with  |broken diagnostic with
                   |ambiguous class name        |ambiguous class name
   Target Milestone|4.3.5                       |4.5.0


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


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

* [Bug c++/35112] [4.3/4.4 regression] ICE and broken diagnostic with ambiguous class name
  2008-02-06 20:12 [Bug c++/35112] New: [4.1/4.2/4.3 regression] ICE and broken diagnostic with ambiguous class name reichelt at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2009-11-27 10:46 ` [Bug c++/35112] [4.3/4.4 " paolo dot carlini at oracle dot com
@ 2010-04-06 11:23 ` rguenth at gcc dot gnu dot org
  2010-04-06 11:54 ` redi at gcc dot gnu dot org
  2010-07-31  9:32 ` rguenth at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-04-06 11:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from rguenth at gcc dot gnu dot org  2010-04-06 11:19 -------
GCC 4.5.0 is being released.  Deferring to 4.5.1.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.5.0                       |4.5.1


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


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

* [Bug c++/35112] [4.3/4.4 regression] ICE and broken diagnostic with ambiguous class name
  2008-02-06 20:12 [Bug c++/35112] New: [4.1/4.2/4.3 regression] ICE and broken diagnostic with ambiguous class name reichelt at gcc dot gnu dot org
                   ` (10 preceding siblings ...)
  2010-04-06 11:23 ` rguenth at gcc dot gnu dot org
@ 2010-04-06 11:54 ` redi at gcc dot gnu dot org
  2010-07-31  9:32 ` rguenth at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: redi at gcc dot gnu dot org @ 2010-04-06 11:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from redi at gcc dot gnu dot org  2010-04-06 11:54 -------
this is fixed in 4.5.0 but left open as a 4.3/4.4 regression - shouldn't the
target milestone stay as 4.5.0?


-- 


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


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

* [Bug c++/35112] [4.3/4.4 regression] ICE and broken diagnostic with ambiguous class name
  2008-02-06 20:12 [Bug c++/35112] New: [4.1/4.2/4.3 regression] ICE and broken diagnostic with ambiguous class name reichelt at gcc dot gnu dot org
                   ` (11 preceding siblings ...)
  2010-04-06 11:54 ` redi at gcc dot gnu dot org
@ 2010-07-31  9:32 ` rguenth at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-31  9:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from rguenth at gcc dot gnu dot org  2010-07-31 09:29 -------
GCC 4.5.1 is being released, adjusting target milestone.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.5.1                       |4.5.2


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


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

end of thread, other threads:[~2010-07-31  9:30 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-06 20:12 [Bug c++/35112] New: [4.1/4.2/4.3 regression] ICE and broken diagnostic with ambiguous class name reichelt at gcc dot gnu dot org
2008-02-06 20:12 ` [Bug c++/35112] " reichelt at gcc dot gnu dot org
2008-02-06 20:44 ` jakub at gcc dot gnu dot org
2008-02-06 20:44 ` rguenth at gcc dot gnu dot org
2008-02-06 20:45 ` rguenth at gcc dot gnu dot org
2008-07-04 22:33 ` [Bug c++/35112] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
2009-03-31 20:19 ` [Bug c++/35112] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
2009-08-04 12:46 ` rguenth at gcc dot gnu dot org
2009-11-26 20:45 ` paolo dot carlini at oracle dot com
2009-11-27 10:45 ` paolo at gcc dot gnu dot org
2009-11-27 10:46 ` [Bug c++/35112] [4.3/4.4 " paolo dot carlini at oracle dot com
2010-04-06 11:23 ` rguenth at gcc dot gnu dot org
2010-04-06 11:54 ` redi at gcc dot gnu dot org
2010-07-31  9:32 ` 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).