public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/26155]  New: ICE after error with namespace alias
@ 2006-02-07 14:48 pinskia at gcc dot gnu dot org
  2006-02-08 21:40 ` [Bug c++/26155] " bkoz at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-07 14:48 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 926 bytes --]

I thought this was filed before but I cannot find it.
Testcase:
namespace std
{
  namespace __gnu_debug {
namespace debug = std::__gnu_debug;
namespace debug
{
-----
Error we get:
t.ii:6: error: namespace alias ‘std::__gnu_debug::debug’ not allowed here,
assuming ‘std::__gnu_debug’
t.ii:6: internal compiler error: in resume_scope, at cp/name-lookup.c:1372
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: ICE after error with namespace alias
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, error-recovery
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org


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


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

* [Bug c++/26155] ICE after error with namespace alias
  2006-02-07 14:48 [Bug c++/26155] New: ICE after error with namespace alias pinskia at gcc dot gnu dot org
@ 2006-02-08 21:40 ` bkoz at gcc dot gnu dot org
  2006-02-09  0:41 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2006-02-08 21:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from bkoz at gcc dot gnu dot org  2006-02-08 21:40 -------
Created an attachment (id=10805)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10805&action=view)
patch


-- 


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


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

* [Bug c++/26155] ICE after error with namespace alias
  2006-02-07 14:48 [Bug c++/26155] New: ICE after error with namespace alias pinskia at gcc dot gnu dot org
  2006-02-08 21:40 ` [Bug c++/26155] " bkoz at gcc dot gnu dot org
@ 2006-02-09  0:41 ` pinskia at gcc dot gnu dot org
  2006-02-09 16:51 ` reichelt at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-09  0:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-02-09 00:41 -------
(From update of attachment 10805)
This patch was submitted to the wrong bug.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #10805|0                           |1
        is obsolete|                            |


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


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

* [Bug c++/26155] ICE after error with namespace alias
  2006-02-07 14:48 [Bug c++/26155] New: ICE after error with namespace alias pinskia at gcc dot gnu dot org
  2006-02-08 21:40 ` [Bug c++/26155] " bkoz at gcc dot gnu dot org
  2006-02-09  0:41 ` pinskia at gcc dot gnu dot org
@ 2006-02-09 16:51 ` reichelt at gcc dot gnu dot org
  2009-03-24 10:40 ` doko at ubuntu dot com
  2009-12-29 16:49 ` debian-gcc at lists dot debian dot org
  4 siblings, 0 replies; 6+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-02-09 16:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from reichelt at gcc dot gnu dot org  2006-02-09 16:51 -------
Confirmed.

Even simpler testcase:

=======================
namespace N
{
  namespace M = N;
  namespace M {}
}
=======================


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |monitored
   Last reconfirmed|0000-00-00 00:00:00         |2006-02-09 16:51:44
               date|                            |


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


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

* [Bug c++/26155] ICE after error with namespace alias
  2006-02-07 14:48 [Bug c++/26155] New: ICE after error with namespace alias pinskia at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2006-02-09 16:51 ` reichelt at gcc dot gnu dot org
@ 2009-03-24 10:40 ` doko at ubuntu dot com
  2009-12-29 16:49 ` debian-gcc at lists dot debian dot org
  4 siblings, 0 replies; 6+ messages in thread
From: doko at ubuntu dot com @ 2009-03-24 10:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from doko at ubuntu dot com  2009-03-24 10:40 -------
confirmed with 4.3.4 and 4.4.0


-- 


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


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

* [Bug c++/26155] ICE after error with namespace alias
  2006-02-07 14:48 [Bug c++/26155] New: ICE after error with namespace alias pinskia at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2009-03-24 10:40 ` doko at ubuntu dot com
@ 2009-12-29 16:49 ` debian-gcc at lists dot debian dot org
  4 siblings, 0 replies; 6+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2009-12-29 16:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from debian-gcc at lists dot debian dot org  2009-12-29 16:49 -------
confirmed with trunk 20091228


-- 


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


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

end of thread, other threads:[~2009-12-29 16:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-07 14:48 [Bug c++/26155] New: ICE after error with namespace alias pinskia at gcc dot gnu dot org
2006-02-08 21:40 ` [Bug c++/26155] " bkoz at gcc dot gnu dot org
2006-02-09  0:41 ` pinskia at gcc dot gnu dot org
2006-02-09 16:51 ` reichelt at gcc dot gnu dot org
2009-03-24 10:40 ` doko at ubuntu dot com
2009-12-29 16:49 ` debian-gcc at lists dot debian 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).