public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [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; 17+ 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] 17+ messages in thread
[parent not found: <bug-35112-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2011-06-09 16:22 UTC | newest]

Thread overview: 17+ 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 ` rguenth at gcc dot gnu dot org
2008-02-06 20:44 ` jakub 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
     [not found] <bug-35112-4@http.gcc.gnu.org/bugzilla/>
2010-12-16 13:06 ` rguenth at gcc dot gnu.org
2011-04-28 14:53 ` rguenth at gcc dot gnu.org
2011-06-09 16:22 ` paolo.carlini at oracle dot com

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