public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/12509] New: incorrect error message with struct passed to if()/while()
@ 2003-10-04 19:55 mrnobo1024 at yahoo dot com
2003-10-04 20:30 ` [Bug c/12509] " falk at debian dot org
2003-10-04 21:13 ` pinskia at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: mrnobo1024 at yahoo dot com @ 2003-10-04 19:55 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=12509
Summary: incorrect error message with struct passed to
if()/while()
Product: gcc
Version: 3.2.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: mrnobo1024 at yahoo dot com
CC: gcc-bugs at gcc dot gnu dot org
with the program
struct asdf { };
int main(void) {
struct asdf *p;
while(*p) {
}
}
gcc says "test.i:4: invalid operands to binary !=" even though there's no !=,
the problem is a bad type being used in while()
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c/12509] incorrect error message with struct passed to if()/while()
2003-10-04 19:55 [Bug c/12509] New: incorrect error message with struct passed to if()/while() mrnobo1024 at yahoo dot com
@ 2003-10-04 20:30 ` falk at debian dot org
2003-10-04 21:13 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: falk at debian dot org @ 2003-10-04 20:30 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=12509
falk at debian dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |diagnostic
------- Additional Comments From falk at debian dot org 2003-10-04 20:30 -------
Confirmed. Has been like this since at least 2.95, and is still there in mainline.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c/12509] incorrect error message with struct passed to if()/while()
2003-10-04 19:55 [Bug c/12509] New: incorrect error message with struct passed to if()/while() mrnobo1024 at yahoo dot com
2003-10-04 20:30 ` [Bug c/12509] " falk at debian dot org
@ 2003-10-04 21:13 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-04 21:13 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=12509
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-10-04 21:12 -------
This is a dup of bug 11658.
*** This bug has been marked as a duplicate of 11658 ***
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-10-04 21:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-04 19:55 [Bug c/12509] New: incorrect error message with struct passed to if()/while() mrnobo1024 at yahoo dot com
2003-10-04 20:30 ` [Bug c/12509] " falk at debian dot org
2003-10-04 21:13 ` pinskia 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).