public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/17395] Incorrect lookup for parameters
[not found] <bug-17395-1000@http.gcc.gnu.org/bugzilla/>
@ 2006-09-08 17:26 ` amylaar at gcc dot gnu dot org
2009-04-16 16:51 ` [Bug c++/17395] [4.5 Regression] " pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2006-09-08 17:26 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from amylaar at gcc dot gnu dot org 2006-09-08 17:26 -------
I suppose this accepts-invalid problem is related:
struct I
{
int i;
} i = { 0 };
int
f (int i, int j = i.i)
{
return i + j;
}
--
amylaar at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |joern dot rennecke at st dot
| |com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17395
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/17395] [4.5 Regression] Incorrect lookup for parameters
[not found] <bug-17395-1000@http.gcc.gnu.org/bugzilla/>
2006-09-08 17:26 ` [Bug c++/17395] Incorrect lookup for parameters amylaar at gcc dot gnu dot org
@ 2009-04-16 16:51 ` pinskia at gcc dot gnu dot org
2009-04-24 14:48 ` dodji at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-04-16 16:51 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from pinskia at gcc dot gnu dot org 2009-04-16 16:50 -------
The testcase from comment #7 is correctly rejected but the testcase from
comment #0 is ICEing now which makes this a regression as 4.4.0 20090101
accepted it.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Known to fail| |4.5.0
Summary|Incorrect lookup for |[4.5 Regression] Incorrect
|parameters |lookup for parameters
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17395
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/17395] [4.5 Regression] Incorrect lookup for parameters
[not found] <bug-17395-1000@http.gcc.gnu.org/bugzilla/>
2006-09-08 17:26 ` [Bug c++/17395] Incorrect lookup for parameters amylaar at gcc dot gnu dot org
2009-04-16 16:51 ` [Bug c++/17395] [4.5 Regression] " pinskia at gcc dot gnu dot org
@ 2009-04-24 14:48 ` dodji at gcc dot gnu dot org
2009-05-06 18:57 ` dodji at gcc dot gnu dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: dodji at gcc dot gnu dot org @ 2009-04-24 14:48 UTC (permalink / raw)
To: gcc-bugs
--
dodji at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |dodji at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2005-06-19 15:02:23 |2009-04-24 14:48:07
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17395
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/17395] [4.5 Regression] Incorrect lookup for parameters
[not found] <bug-17395-1000@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2009-04-24 14:48 ` dodji at gcc dot gnu dot org
@ 2009-05-06 18:57 ` dodji at gcc dot gnu dot org
2009-05-06 20:42 ` dodji at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: dodji at gcc dot gnu dot org @ 2009-05-06 18:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from dodji at gcc dot gnu dot org 2009-05-06 18:56 -------
I have submitted a patch for this at
http://gcc.gnu.org/ml/gcc-patches/2009-05/msg00270.html.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17395
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/17395] [4.5 Regression] Incorrect lookup for parameters
[not found] <bug-17395-1000@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2009-05-06 18:57 ` dodji at gcc dot gnu dot org
@ 2009-05-06 20:42 ` dodji at gcc dot gnu dot org
2009-05-06 20:44 ` dodji at gcc dot gnu dot org
2009-05-06 20:48 ` dodji at gcc dot gnu dot org
6 siblings, 0 replies; 7+ messages in thread
From: dodji at gcc dot gnu dot org @ 2009-05-06 20:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from dodji at gcc dot gnu dot org 2009-05-06 20:42 -------
Subject: Bug 17395
Author: dodji
Date: Wed May 6 20:41:52 2009
New Revision: 147201
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147201
Log:
2009-05-06 Dodji Seketeli <dodji@redhat.com>
gcc/cp/ChangeLog:
PR c++/17395
* pt.c (tsubst_copy) <case PARM_DECL>: We don't want to tsubst the
whole list of PARM_DECLs, just the current one.
gcc/testsuite/ChangeLog:
PR c++/17395
* g++.dg/template/call7.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/template/call7.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17395
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/17395] [4.5 Regression] Incorrect lookup for parameters
[not found] <bug-17395-1000@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2009-05-06 20:42 ` dodji at gcc dot gnu dot org
@ 2009-05-06 20:44 ` dodji at gcc dot gnu dot org
2009-05-06 20:48 ` dodji at gcc dot gnu dot org
6 siblings, 0 replies; 7+ messages in thread
From: dodji at gcc dot gnu dot org @ 2009-05-06 20:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from dodji at gcc dot gnu dot org 2009-05-06 20:43 -------
Subject: Bug 17395
Author: dodji
Date: Wed May 6 20:43:41 2009
New Revision: 147202
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147202
Log:
2009-05-06 Dodji Seketeli <dodji@redhat.com>
gcc/cp/ChangeLog:
PR c++/17395
* pt.c (tsubst_copy) <case PARM_DECL>: We don't want to tsubst the
whole list of PARM_DECLs, just the current one.
gcc/testsuite/ChangeLog:
PR c++/17395
* g++.dg/template/call7.C: New test.
Added:
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/template/call7.C
Modified:
branches/gcc-4_4-branch/gcc/cp/ChangeLog
branches/gcc-4_4-branch/gcc/cp/pt.c
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17395
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/17395] [4.5 Regression] Incorrect lookup for parameters
[not found] <bug-17395-1000@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2009-05-06 20:44 ` dodji at gcc dot gnu dot org
@ 2009-05-06 20:48 ` dodji at gcc dot gnu dot org
6 siblings, 0 replies; 7+ messages in thread
From: dodji at gcc dot gnu dot org @ 2009-05-06 20:48 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from dodji at gcc dot gnu dot org 2009-05-06 20:47 -------
Fixed in 4.4 and 4.5. The patch won't apply to 4.3 as the code base has
diverged.
--
dodji at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17395
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-05-06 20:48 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-17395-1000@http.gcc.gnu.org/bugzilla/>
2006-09-08 17:26 ` [Bug c++/17395] Incorrect lookup for parameters amylaar at gcc dot gnu dot org
2009-04-16 16:51 ` [Bug c++/17395] [4.5 Regression] " pinskia at gcc dot gnu dot org
2009-04-24 14:48 ` dodji at gcc dot gnu dot org
2009-05-06 18:57 ` dodji at gcc dot gnu dot org
2009-05-06 20:42 ` dodji at gcc dot gnu dot org
2009-05-06 20:44 ` dodji at gcc dot gnu dot org
2009-05-06 20:48 ` dodji 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).