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; 10+ 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] 10+ 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; 10+ 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] 10+ 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; 10+ 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] 10+ 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; 10+ 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] 10+ 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; 10+ 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] 10+ 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; 10+ 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] 10+ messages in thread
* [Bug c++/26155] ICE after error with namespace alias
[not found] <bug-26155-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2012-06-01 16:13 ` paolo.carlini at oracle dot com
@ 2012-06-01 16:13 ` paolo at gcc dot gnu.org
3 siblings, 0 replies; 10+ messages in thread
From: paolo at gcc dot gnu.org @ 2012-06-01 16:13 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26155
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #8 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-06-01 16:13:03 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/26155] ICE after error with namespace alias
[not found] <bug-26155-4@http.gcc.gnu.org/bugzilla/>
2012-05-29 17:17 ` paolo.carlini at oracle dot com
2012-06-01 16:12 ` paolo at gcc dot gnu.org
@ 2012-06-01 16:13 ` paolo.carlini at oracle dot com
2012-06-01 16:13 ` paolo at gcc dot gnu.org
3 siblings, 0 replies; 10+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-06-01 16:13 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26155
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #7 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-06-01 16:11:44 UTC ---
Author: paolo
Date: Fri Jun 1 16:11:38 2012
New Revision: 188113
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188113
Log:
/cp
2012-06-01 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/26155
* name-lookup.c (push_namespace): When error recovery is
impossible just error out in duplicate_decls.
/testsuite
2012-06-01 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/26155
* g++.dg/parse/namespace-alias-1.C: New.
Added:
trunk/gcc/testsuite/g++.dg/parse/namespace-alias-1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/name-lookup.c
trunk/gcc/testsuite/ChangeLog
--- Comment #8 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-06-01 16:13:03 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/26155] ICE after error with namespace alias
[not found] <bug-26155-4@http.gcc.gnu.org/bugzilla/>
2012-05-29 17:17 ` paolo.carlini at oracle dot com
@ 2012-06-01 16:12 ` paolo at gcc dot gnu.org
2012-06-01 16:13 ` paolo.carlini at oracle dot com
2012-06-01 16:13 ` paolo at gcc dot gnu.org
3 siblings, 0 replies; 10+ messages in thread
From: paolo at gcc dot gnu.org @ 2012-06-01 16:12 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26155
--- Comment #7 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-06-01 16:11:44 UTC ---
Author: paolo
Date: Fri Jun 1 16:11:38 2012
New Revision: 188113
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188113
Log:
/cp
2012-06-01 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/26155
* name-lookup.c (push_namespace): When error recovery is
impossible just error out in duplicate_decls.
/testsuite
2012-06-01 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/26155
* g++.dg/parse/namespace-alias-1.C: New.
Added:
trunk/gcc/testsuite/g++.dg/parse/namespace-alias-1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/name-lookup.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/26155] ICE after error with namespace alias
[not found] <bug-26155-4@http.gcc.gnu.org/bugzilla/>
@ 2012-05-29 17:17 ` paolo.carlini at oracle dot com
2012-06-01 16:12 ` paolo at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 10+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-05-29 17:17 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26155
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |paolo.carlini at oracle dot
|gnu.org |com
Target Milestone|--- |4.8.0
--- Comment #6 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-05-29 16:14:58 UTC ---
On it.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2012-06-01 16:13 UTC | newest]
Thread overview: 10+ 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
[not found] <bug-26155-4@http.gcc.gnu.org/bugzilla/>
2012-05-29 17:17 ` paolo.carlini at oracle dot com
2012-06-01 16:12 ` paolo at gcc dot gnu.org
2012-06-01 16:13 ` paolo.carlini at oracle dot com
2012-06-01 16:13 ` paolo 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).