public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/17447] New: Comeau rejects this; gcc not
@ 2004-09-13 0:48 igodard at pacbell dot net
2004-09-13 1:09 ` [Bug c++/17447] " pinskia at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: igodard at pacbell dot net @ 2004-09-13 0:48 UTC (permalink / raw)
To: gcc-bugs
struct B;
template<typename T> struct A {
friend
A& operator <<(A& a, B b) { return a; }
};
int main() {
return 0; }
--
Summary: Comeau rejects this; gcc not
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: igodard at pacbell dot net
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17447
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/17447] Comeau rejects this; gcc not
2004-09-13 0:48 [Bug c++/17447] New: Comeau rejects this; gcc not igodard at pacbell dot net
@ 2004-09-13 1:09 ` pinskia at gcc dot gnu dot org
2004-09-13 3:48 ` [Bug c++/17447] Undetected incomplete types in parameters in templates giovannibajo at libero dot it
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-13 1:09 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-13 01:09 -------
ICC 8.0 does not reject it (even in strict mode) but I think this is related or a dup of bug 16635.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17447
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/17447] Undetected incomplete types in parameters in templates
2004-09-13 0:48 [Bug c++/17447] New: Comeau rejects this; gcc not igodard at pacbell dot net
2004-09-13 1:09 ` [Bug c++/17447] " pinskia at gcc dot gnu dot org
@ 2004-09-13 3:48 ` giovannibajo at libero dot it
2004-09-13 14:55 ` giovannibajo at libero dot it
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: giovannibajo at libero dot it @ 2004-09-13 3:48 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From giovannibajo at libero dot it 2004-09-13 03:48 -------
The code is ill-formed, Comeau latest version rejects it. I have a patch for
this.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |giovannibajo at libero dot
|dot org |it
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed| |1
Keywords| |accepts-invalid
Known to fail| |4.0.0
Last reconfirmed|0000-00-00 00:00:00 |2004-09-13 03:48:18
date| |
Summary|Comeau rejects this; gcc |Undetected incomplete types
|not |in parameters in templates
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17447
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/17447] Undetected incomplete types in parameters in templates
2004-09-13 0:48 [Bug c++/17447] New: Comeau rejects this; gcc not igodard at pacbell dot net
2004-09-13 1:09 ` [Bug c++/17447] " pinskia at gcc dot gnu dot org
2004-09-13 3:48 ` [Bug c++/17447] Undetected incomplete types in parameters in templates giovannibajo at libero dot it
@ 2004-09-13 14:55 ` giovannibajo at libero dot it
2004-11-16 13:33 ` giovannibajo at libero dot it
2004-11-17 0:23 ` giovannibajo at libero dot it
4 siblings, 0 replies; 6+ messages in thread
From: giovannibajo at libero dot it @ 2004-09-13 14:55 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From giovannibajo at libero dot it 2004-09-13 14:55 -------
A slightly revised patch was posted after testing:
http://gcc.gnu.org/ml/gcc-patches/2004-09/msg01262.html
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17447
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/17447] Undetected incomplete types in parameters in templates
2004-09-13 0:48 [Bug c++/17447] New: Comeau rejects this; gcc not igodard at pacbell dot net
` (2 preceding siblings ...)
2004-09-13 14:55 ` giovannibajo at libero dot it
@ 2004-11-16 13:33 ` giovannibajo at libero dot it
2004-11-17 0:23 ` giovannibajo at libero dot it
4 siblings, 0 replies; 6+ messages in thread
From: giovannibajo at libero dot it @ 2004-11-16 13:33 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From giovannibajo at libero dot it 2004-11-16 13:33 -------
Updated patch:
http://gcc.gnu.org/ml/gcc-patches/2004-11/msg01312.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17447
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/17447] Undetected incomplete types in parameters in templates
2004-09-13 0:48 [Bug c++/17447] New: Comeau rejects this; gcc not igodard at pacbell dot net
` (3 preceding siblings ...)
2004-11-16 13:33 ` giovannibajo at libero dot it
@ 2004-11-17 0:23 ` giovannibajo at libero dot it
4 siblings, 0 replies; 6+ messages in thread
From: giovannibajo at libero dot it @ 2004-11-17 0:23 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From giovannibajo at libero dot it 2004-11-17 00:23 -------
Fixed for GCC 4.0, with this patch:
http://gcc.gnu.org/ml/gcc-cvs/2004-11/msg00786.html
Thanks for your report!
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17447
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-11-17 0:23 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-13 0:48 [Bug c++/17447] New: Comeau rejects this; gcc not igodard at pacbell dot net
2004-09-13 1:09 ` [Bug c++/17447] " pinskia at gcc dot gnu dot org
2004-09-13 3:48 ` [Bug c++/17447] Undetected incomplete types in parameters in templates giovannibajo at libero dot it
2004-09-13 14:55 ` giovannibajo at libero dot it
2004-11-16 13:33 ` giovannibajo at libero dot it
2004-11-17 0:23 ` giovannibajo at libero dot it
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).