public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/10200] Weird clash with same names in different scopes
[not found] <20030324165600.10200.sturgill@cs.baylor.edu>
@ 2003-06-07 16:43 ` pinskia@physics.uc.edu
2003-07-17 0:11 ` pinskia at physics dot uc dot edu
` (10 subsequent siblings)
11 siblings, 0 replies; 26+ messages in thread
From: pinskia@physics.uc.edu @ 2003-06-07 16:43 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10200
pinskia@physics.uc.edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|0000-00-00 00:00:00 |2003-06-07 16:43:06
date| |
------- Additional Comments From pinskia@physics.uc.edu 2003-06-07 16:43 -------
Still happens on the mainline (20030607).
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/10200] Weird clash with same names in different scopes
[not found] <20030324165600.10200.sturgill@cs.baylor.edu>
2003-06-07 16:43 ` [Bug c++/10200] Weird clash with same names in different scopes pinskia@physics.uc.edu
@ 2003-07-17 0:11 ` pinskia at physics dot uc dot edu
2003-08-08 0:07 ` reichelt at gcc dot gnu dot org
` (9 subsequent siblings)
11 siblings, 0 replies; 26+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-17 0:11 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10200
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at physics dot uc
| |dot edu
Keywords| |ice-on-valid-code
Last reconfirmed|2003-06-07 16:43:06 |2003-07-17 00:10:59
date| |
------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-17 00:10 -------
With the small testcase, we now ICE on the mainline (20030716):
pr10200.cc: In member function `bool X<T>::bar() [with T = int]':
pr10200.cc:12: instantiated from here
pr10200.cc:9: internal compiler error: in lookup_member, at cp/search.c:1219
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/10200] Weird clash with same names in different scopes
[not found] <20030324165600.10200.sturgill@cs.baylor.edu>
2003-06-07 16:43 ` [Bug c++/10200] Weird clash with same names in different scopes pinskia@physics.uc.edu
2003-07-17 0:11 ` pinskia at physics dot uc dot edu
@ 2003-08-08 0:07 ` reichelt at gcc dot gnu dot org
2003-08-23 17:05 ` [Bug c++/10200] [3.4 Regression] " pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
11 siblings, 0 replies; 26+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2003-08-08 0:07 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10200
------- Additional Comments From reichelt at gcc dot gnu dot org 2003-08-08 00:07 -------
Maybe related to PR 11814.
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/10200] [3.4 Regression] Weird clash with same names in different scopes
[not found] <20030324165600.10200.sturgill@cs.baylor.edu>
` (2 preceding siblings ...)
2003-08-08 0:07 ` reichelt at gcc dot gnu dot org
@ 2003-08-23 17:05 ` pinskia at gcc dot gnu dot org
2003-11-07 16:34 ` reichelt at gcc dot gnu dot org
` (7 subsequent siblings)
11 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-23 17:05 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10200
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Weird clash with same names |[3.4 Regression] Weird clash
|in different scopes |with same names in different
| |scopes
Target Milestone|--- |3.4
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-08-23 17:05 -------
The ICE is a regression.
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/10200] [3.4 Regression] Weird clash with same names in different scopes
[not found] <20030324165600.10200.sturgill@cs.baylor.edu>
` (3 preceding siblings ...)
2003-08-23 17:05 ` [Bug c++/10200] [3.4 Regression] " pinskia at gcc dot gnu dot org
@ 2003-11-07 16:34 ` reichelt at gcc dot gnu dot org
2003-11-23 11:02 ` lerdsuwa at gcc dot gnu dot org
` (6 subsequent siblings)
11 siblings, 0 replies; 26+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2003-11-07 16:34 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10200
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |12944
nThis| |
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/10200] [3.4 Regression] Weird clash with same names in different scopes
[not found] <20030324165600.10200.sturgill@cs.baylor.edu>
` (4 preceding siblings ...)
2003-11-07 16:34 ` reichelt at gcc dot gnu dot org
@ 2003-11-23 11:02 ` lerdsuwa at gcc dot gnu dot org
2003-11-23 11:38 ` lerdsuwa at gcc dot gnu dot org
` (5 subsequent siblings)
11 siblings, 0 replies; 26+ messages in thread
From: lerdsuwa at gcc dot gnu dot org @ 2003-11-23 11:02 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2003-11-23 11:02 -------
With my patch to PR12924, the ICE is gone. We still
get an incorrect error message however.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10200
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/10200] [3.4 Regression] Weird clash with same names in different scopes
[not found] <20030324165600.10200.sturgill@cs.baylor.edu>
` (5 preceding siblings ...)
2003-11-23 11:02 ` lerdsuwa at gcc dot gnu dot org
@ 2003-11-23 11:38 ` lerdsuwa at gcc dot gnu dot org
2003-11-23 11:54 ` [Bug c++/10200] " lerdsuwa at gcc dot gnu dot org
` (4 subsequent siblings)
11 siblings, 0 replies; 26+ messages in thread
From: lerdsuwa at gcc dot gnu dot org @ 2003-11-23 11:38 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2003-11-23 11:38 -------
Keywords updated to remove the ICE. Will look at this issue.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |lerdsuwa at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Keywords|ice-on-valid-code |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10200
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/10200] Weird clash with same names in different scopes
[not found] <20030324165600.10200.sturgill@cs.baylor.edu>
` (6 preceding siblings ...)
2003-11-23 11:38 ` lerdsuwa at gcc dot gnu dot org
@ 2003-11-23 11:54 ` lerdsuwa at gcc dot gnu dot org
2003-12-17 17:06 ` mmitchel at gcc dot gnu dot org
` (3 subsequent siblings)
11 siblings, 0 replies; 26+ messages in thread
From: lerdsuwa at gcc dot gnu dot org @ 2003-11-23 11:54 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2003-11-23 11:54 -------
It's no longer a regression.
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|[3.4 Regression] Weird clash|Weird clash with same names
|with same names in different|in different scopes
|scopes |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10200
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/10200] Weird clash with same names in different scopes
[not found] <20030324165600.10200.sturgill@cs.baylor.edu>
` (7 preceding siblings ...)
2003-11-23 11:54 ` [Bug c++/10200] " lerdsuwa at gcc dot gnu dot org
@ 2003-12-17 17:06 ` mmitchel at gcc dot gnu dot org
2004-08-04 6:12 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
11 siblings, 0 replies; 26+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2003-12-17 17:06 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mmitchel at gcc dot gnu dot org 2003-12-17 17:05 -------
Since this is no longer a regression, I've removed the 3.4 target milestone.
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.4 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10200
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/10200] Weird clash with same names in different scopes
[not found] <20030324165600.10200.sturgill@cs.baylor.edu>
` (8 preceding siblings ...)
2003-12-17 17:06 ` mmitchel at gcc dot gnu dot org
@ 2004-08-04 6:12 ` pinskia at gcc dot gnu dot org
2004-10-13 14:50 ` lerdsuwa at gcc dot gnu dot org
2005-04-05 6:03 ` mmitchel at gcc dot gnu dot org
11 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-04 6:12 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-08-04 06:12 -------
It is even worse now on the mainline:
pr10200.cc: In member function `bool X<T>::bar()':
pr10200.cc:8: error: missing `>' to terminate the template argument list
pr10200.cc: In member function `bool X<T>::bar() [with T = int]':
pr10200.cc:11: instantiated from here
pr10200.cc:8: error: `foo' is not a member template function
--
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2004-05-05 03:49:04 |2004-08-04 06:12:28
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10200
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/10200] Weird clash with same names in different scopes
[not found] <20030324165600.10200.sturgill@cs.baylor.edu>
` (9 preceding siblings ...)
2004-08-04 6:12 ` pinskia at gcc dot gnu dot org
@ 2004-10-13 14:50 ` lerdsuwa at gcc dot gnu dot org
2005-04-05 6:03 ` mmitchel at gcc dot gnu dot org
11 siblings, 0 replies; 26+ messages in thread
From: lerdsuwa at gcc dot gnu dot org @ 2004-10-13 14:50 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2004-10-13 14:50 -------
It's parser bug. Not working on it anymore.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|lerdsuwa at gcc dot gnu dot |unassigned at gcc dot gnu
|org |dot org
Status|ASSIGNED |NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10200
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/10200] Weird clash with same names in different scopes
[not found] <20030324165600.10200.sturgill@cs.baylor.edu>
` (10 preceding siblings ...)
2004-10-13 14:50 ` lerdsuwa at gcc dot gnu dot org
@ 2005-04-05 6:03 ` mmitchel at gcc dot gnu dot org
11 siblings, 0 replies; 26+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-04-05 6:03 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mmitchel at gcc dot gnu dot org 2005-04-05 06:03 -------
This is almost the same as the case discussed in DR 141.
In particular, we must determine whether "node.foo <" is the start of a
template, or not. [basic.lookup.classref] says that we look in the class of the
object expression, i.e., X<T>::node. However, that's a dependent type. So, we
don't actually try to lookup there. Thus, we then go on to do lookup in the
scope of the containing postfix-expression, which finds the global template
function. DR 141 suggests that we should not do the second lookup. However,
this DR is still in the "open" state; the committee has taken no action as of yet.
However, independently of that, [temp.names] says that when the object has a
dependent type (as it does in this case), then the name is a template only if
the template keyword is explicitly used. So, the compiler is definitely wrong
in this case.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |mark at codesourcery dot com
|dot org |
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10200
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/10200] Weird clash with same names in different scopes
[not found] <bug-10200-4@http.gcc.gnu.org/bugzilla/>
` (9 preceding siblings ...)
2015-06-23 22:19 ` colin.mackenzie at ineoquest dot com
@ 2015-06-23 22:21 ` paolo.carlini at oracle dot com
10 siblings, 0 replies; 26+ messages in thread
From: paolo.carlini at oracle dot com @ 2015-06-23 22:21 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10200
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |NEW
Assignee|paolo.carlini at oracle dot com |unassigned at gcc dot gnu.org
--- Comment #27 from Paolo Carlini <paolo.carlini at oracle dot com> ---
This should be fixed ASAP, but I'm not actively working on it at the moment.
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/10200] Weird clash with same names in different scopes
[not found] <bug-10200-4@http.gcc.gnu.org/bugzilla/>
` (8 preceding siblings ...)
2014-09-30 12:22 ` pinskia at gcc dot gnu.org
@ 2015-06-23 22:19 ` colin.mackenzie at ineoquest dot com
2015-06-23 22:21 ` paolo.carlini at oracle dot com
10 siblings, 0 replies; 26+ messages in thread
From: colin.mackenzie at ineoquest dot com @ 2015-06-23 22:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10200
Colin MacKenzie <colin.mackenzie at ineoquest dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |colin.mackenzie at ineoquest dot c
| |om
--- Comment #26 from Colin MacKenzie <colin.mackenzie at ineoquest dot com> ---
Had this one today. Strange that it compiles fine in 4.4.6 but not in 4.8.2.
error: parse error in template argument list
Ex: assert(block.begin < block.end);
works when I parenthesize the block.begin
Ex. assert( (block.begin) < block.end);
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/10200] Weird clash with same names in different scopes
[not found] <bug-10200-4@http.gcc.gnu.org/bugzilla/>
` (7 preceding siblings ...)
2013-10-10 20:42 ` paolo.carlini at oracle dot com
@ 2014-09-30 12:22 ` pinskia at gcc dot gnu.org
2015-06-23 22:19 ` colin.mackenzie at ineoquest dot com
2015-06-23 22:21 ` paolo.carlini at oracle dot com
10 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-09-30 12:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10200
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tomalk at mathematik dot uni-freib
| |urg.de
--- Comment #24 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 63414 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/10200] Weird clash with same names in different scopes
[not found] <bug-10200-4@http.gcc.gnu.org/bugzilla/>
` (6 preceding siblings ...)
2013-03-04 10:10 ` paolo.carlini at oracle dot com
@ 2013-10-10 20:42 ` paolo.carlini at oracle dot com
2014-09-30 12:22 ` pinskia at gcc dot gnu.org
` (2 subsequent siblings)
10 siblings, 0 replies; 26+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-10-10 20:42 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10200
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC|gcc-bugs at gcc dot gnu.org |
Assignee|unassigned at gcc dot gnu.org |paolo.carlini at oracle dot com
--- Comment #23 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Mine.
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/10200] Weird clash with same names in different scopes
[not found] <bug-10200-4@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2012-08-23 10:17 ` paolo.carlini at oracle dot com
@ 2013-03-04 10:10 ` paolo.carlini at oracle dot com
2013-10-10 20:42 ` paolo.carlini at oracle dot com
` (3 subsequent siblings)
10 siblings, 0 replies; 26+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-03-04 10:10 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10200
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |walter.mascarenhas at gmail
| |dot com
--- Comment #22 from Paolo Carlini <paolo.carlini at oracle dot com> 2013-03-04 10:09:01 UTC ---
*** Bug 56516 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/10200] Weird clash with same names in different scopes
[not found] <bug-10200-4@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2012-05-30 0:26 ` eatmyshortz at gmail dot com
@ 2012-08-23 10:17 ` paolo.carlini at oracle dot com
2013-03-04 10:10 ` paolo.carlini at oracle dot com
` (4 subsequent siblings)
10 siblings, 0 replies; 26+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-08-23 10:17 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10200
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu.org
--- Comment #21 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-08-23 10:14:16 UTC ---
Jason, noticed this very, very old issue which however clang too fixed only
this March. Wondered if you have tips, believe it would be easy to fix in our
front-end too, what else...
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/10200] Weird clash with same names in different scopes
[not found] <bug-10200-4@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2011-12-23 19:03 ` pinskia at gcc dot gnu.org
@ 2012-05-30 0:26 ` eatmyshortz at gmail dot com
2012-08-23 10:17 ` paolo.carlini at oracle dot com
` (5 subsequent siblings)
10 siblings, 0 replies; 26+ messages in thread
From: eatmyshortz at gmail dot com @ 2012-05-30 0:26 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10200
Matt Giuca <eatmyshortz at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |eatmyshortz at gmail dot
| |com
--- Comment #20 from Matt Giuca <eatmyshortz at gmail dot com> 2012-05-30 00:05:47 UTC ---
I think this is the same bug in Clang:
http://llvm.org/bugs/show_bug.cgi?id=11856
It was fixed in March:
http://llvm.org/viewvc/llvm-project?view=rev&revision=152520
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/10200] Weird clash with same names in different scopes
[not found] <bug-10200-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2011-10-19 22:32 ` manu at gcc dot gnu.org
@ 2011-12-23 19:03 ` pinskia at gcc dot gnu.org
2012-05-30 0:26 ` eatmyshortz at gmail dot com
` (6 subsequent siblings)
10 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-12-23 19:03 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10200
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |timon.gehr at gmx dot ch
--- Comment #19 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-12-23 18:56:42 UTC ---
*** Bug 51664 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/10200] Weird clash with same names in different scopes
[not found] <bug-10200-4@http.gcc.gnu.org/bugzilla/>
2011-05-24 9:58 ` jay.foad at gmail dot com
2011-10-09 13:36 ` bangerth at gmail dot com
@ 2011-10-19 22:32 ` manu at gcc dot gnu.org
2011-12-23 19:03 ` pinskia at gcc dot gnu.org
` (7 subsequent siblings)
10 siblings, 0 replies; 26+ messages in thread
From: manu at gcc dot gnu.org @ 2011-10-19 22:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10200
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |NEW
CC| |manu at gcc dot gnu.org
--- Comment #18 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2011-10-19 22:29:28 UTC ---
This still happens in trunk (GCC 4.7 rev 180166).
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/10200] Weird clash with same names in different scopes
[not found] <bug-10200-4@http.gcc.gnu.org/bugzilla/>
2011-05-24 9:58 ` jay.foad at gmail dot com
@ 2011-10-09 13:36 ` bangerth at gmail dot com
2011-10-19 22:32 ` manu at gcc dot gnu.org
` (8 subsequent siblings)
10 siblings, 0 replies; 26+ messages in thread
From: bangerth at gmail dot com @ 2011-10-09 13:36 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10200
Wolfgang Bangerth <bangerth at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bangerth at gmail dot com
--- Comment #17 from Wolfgang Bangerth <bangerth at gmail dot com> 2011-10-09 13:34:27 UTC ---
Still happens with gcc 4.5.1.
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/10200] Weird clash with same names in different scopes
[not found] <bug-10200-4@http.gcc.gnu.org/bugzilla/>
@ 2011-05-24 9:58 ` jay.foad at gmail dot com
2011-10-09 13:36 ` bangerth at gmail dot com
` (9 subsequent siblings)
10 siblings, 0 replies; 26+ messages in thread
From: jay.foad at gmail dot com @ 2011-05-24 9:58 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10200
Jay Foad <jay.foad at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jay.foad at gmail dot com
--- Comment #16 from Jay Foad <jay.foad at gmail dot com> 2011-05-24 09:17:21 UTC ---
> This is almost the same as the case discussed in DR 141.
>
> In particular, we must determine whether "node.foo <" is the start of a
> template, or not. [basic.lookup.classref] says that we look in the class of the
> object expression, i.e., X<T>::node. However, that's a dependent type. So, we
> don't actually try to lookup there. Thus, we then go on to do lookup in the
> scope of the containing postfix-expression, which finds the global template
> function. DR 141 suggests that we should not do the second lookup. However,
> this DR is still in the "open" state; the committee has taken no action as of yet.
DR 141 was resolved in CD1:
http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#141
It seems like we should still do the second lookup.
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/10200] Weird clash with same names in different scopes
[not found] <bug-10200-5728@http.gcc.gnu.org/bugzilla/>
2007-06-19 23:10 ` pinskia at gcc dot gnu dot org
2008-09-20 2:58 ` pinskia at gcc dot gnu dot org
@ 2009-03-09 18:16 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-03-09 18:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #15 from pinskia at gcc dot gnu dot org 2009-03-09 18:16 -------
*** Bug 39407 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jwakely dot gcc at gmail dot
| |com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10200
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/10200] Weird clash with same names in different scopes
[not found] <bug-10200-5728@http.gcc.gnu.org/bugzilla/>
2007-06-19 23:10 ` pinskia at gcc dot gnu dot org
@ 2008-09-20 2:58 ` pinskia at gcc dot gnu dot org
2009-03-09 18:16 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-09-20 2:58 UTC (permalink / raw)
To: gcc-bugs
------- Comment #14 from pinskia at gcc dot gnu dot org 2008-09-20 02:56 -------
*** Bug 20308 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |igodard at pacbell dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10200
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug c++/10200] Weird clash with same names in different scopes
[not found] <bug-10200-5728@http.gcc.gnu.org/bugzilla/>
@ 2007-06-19 23:10 ` pinskia at gcc dot gnu dot org
2008-09-20 2:58 ` pinskia at gcc dot gnu dot org
2009-03-09 18:16 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-06-19 23:10 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from pinskia at gcc dot gnu dot org 2007-06-19 23:10 -------
*** Bug 32408 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |chsalvia at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10200
^ permalink raw reply [flat|nested] 26+ messages in thread
end of thread, other threads:[~2015-06-23 22:21 UTC | newest]
Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20030324165600.10200.sturgill@cs.baylor.edu>
2003-06-07 16:43 ` [Bug c++/10200] Weird clash with same names in different scopes pinskia@physics.uc.edu
2003-07-17 0:11 ` pinskia at physics dot uc dot edu
2003-08-08 0:07 ` reichelt at gcc dot gnu dot org
2003-08-23 17:05 ` [Bug c++/10200] [3.4 Regression] " pinskia at gcc dot gnu dot org
2003-11-07 16:34 ` reichelt at gcc dot gnu dot org
2003-11-23 11:02 ` lerdsuwa at gcc dot gnu dot org
2003-11-23 11:38 ` lerdsuwa at gcc dot gnu dot org
2003-11-23 11:54 ` [Bug c++/10200] " lerdsuwa at gcc dot gnu dot org
2003-12-17 17:06 ` mmitchel at gcc dot gnu dot org
2004-08-04 6:12 ` pinskia at gcc dot gnu dot org
2004-10-13 14:50 ` lerdsuwa at gcc dot gnu dot org
2005-04-05 6:03 ` mmitchel at gcc dot gnu dot org
[not found] <bug-10200-5728@http.gcc.gnu.org/bugzilla/>
2007-06-19 23:10 ` pinskia at gcc dot gnu dot org
2008-09-20 2:58 ` pinskia at gcc dot gnu dot org
2009-03-09 18:16 ` pinskia at gcc dot gnu dot org
[not found] <bug-10200-4@http.gcc.gnu.org/bugzilla/>
2011-05-24 9:58 ` jay.foad at gmail dot com
2011-10-09 13:36 ` bangerth at gmail dot com
2011-10-19 22:32 ` manu at gcc dot gnu.org
2011-12-23 19:03 ` pinskia at gcc dot gnu.org
2012-05-30 0:26 ` eatmyshortz at gmail dot com
2012-08-23 10:17 ` paolo.carlini at oracle dot com
2013-03-04 10:10 ` paolo.carlini at oracle dot com
2013-10-10 20:42 ` paolo.carlini at oracle dot com
2014-09-30 12:22 ` pinskia at gcc dot gnu.org
2015-06-23 22:19 ` colin.mackenzie at ineoquest dot com
2015-06-23 22:21 ` 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).