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; 12+ 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] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ messages in thread
end of thread, other threads:[~2005-04-05 6:03 UTC | newest]
Thread overview: 12+ 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
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).