[Bug c++/20420] Incorrectly Accepts double declarations

2012-08-23 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20420 --- Comment #9 from paolo at gcc dot gnu.org paolo at gcc dot gnu.org 2012-08-23 09:44:12 UTC --- Author: paolo Date: Thu Aug 23 09:44:08 2012 New Revision: 190618 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=190618 Log: /cp 2012-08-23

[Bug c++/20420] Incorrectly Accepts double declarations

2012-08-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20420 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c++/20420] Incorrectly Accepts double declarations

2012-08-21 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20420 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c++/20420] Incorrectly Accepts double declarations

2012-08-21 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20420 --- Comment #8 from Paolo Carlini paolo.carlini at oracle dot com 2012-08-22 00:01:27 UTC --- For Comment #4: the validate_nonmember_using_decl call at the beginning of do_local_using_decl returns NULL_TREE for the second using declaration, but

[Bug c++/20420] Incorrectly Accepts double declarations

2006-09-12 Thread andrew dot stubbs at st dot com
--- Comment #6 from andrew dot stubbs at st dot com 2006-09-12 07:44 --- Subject: Re: Incorrectly Accepts double declarations bangerth at dealii dot org wrote: No, that code is definitely legal and unobjectionable. Just as having two extern declarations of the same variable in the

[Bug c++/20420] Incorrectly Accepts double declarations

2006-09-11 Thread amylaar at gcc dot gnu dot org
--- Comment #4 from amylaar at gcc dot gnu dot org 2006-09-11 21:45 --- I suppose this is the same basic problem? namespace N { int i; } void f () { using N::i; using N::i; } -- amylaar at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/20420] Incorrectly Accepts double declarations

2006-09-11 Thread bangerth at dealii dot org
--- Comment #5 from bangerth at dealii dot org 2006-09-12 04:00 --- (In reply to comment #4) I suppose this is the same basic problem? No, that code is definitely legal and unobjectionable. Just as having two extern declarations of the same variable in the same scope (or two forward

[Bug c++/20420] Incorrectly Accepts double declarations

2005-10-22 Thread lerdsuwa at gcc dot gnu dot org
--- Comment #3 from lerdsuwa at gcc dot gnu dot org 2005-10-22 13:58 --- Won't work on it for a long while. -- lerdsuwa at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/20420] Incorrectly Accepts double declarations

2005-03-11 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-12 06:18 --- It's xref_tag/push_tag bug. -- What|Removed |Added AssignedTo|unassigned at gcc