public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/7152: Compiler trap when comparing class instance to zero
@ 2002-09-14 13:48 nathan
  0 siblings, 0 replies; 2+ messages in thread
From: nathan @ 2002-09-14 13:48 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, isambart, nobody

Synopsis: Compiler trap when comparing class instance to zero

State-Changed-From-To: open->closed
State-Changed-By: nathan
State-Changed-When: Sat Sep 14 13:48:26 2002
State-Changed-Why:
    fixed (once I'd fixed the sample code)

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7152


^ permalink raw reply	[flat|nested] 2+ messages in thread

* c++/7152: Compiler trap when comparing class instance to zero
@ 2002-06-28  2:46 isambart
  0 siblings, 0 replies; 2+ messages in thread
From: isambart @ 2002-06-28  2:46 UTC (permalink / raw)
  To: gcc-gnats


>Number:         7152
>Category:       c++
>Synopsis:       Compiler trap when comparing class instance to zero
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 28 02:46:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Vincent Isambart
>Release:        3.1
>Organization:
>Environment:
linux 2.4.19-pre10-ac2
Athlon 900 MHz
>Description:
When compiling code with a comparison between an instance of a class and 0, the C++ compiler exits signaling a compiler trap. It does so with no option.
It should just report a normal error.
>How-To-Repeat:
Here is an example of code:

class a {}
void test(a myA) { myA != 0 }
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-14 20:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-14 13:48 c++/7152: Compiler trap when comparing class instance to zero nathan
  -- strict thread matches above, loose matches on Subject: below --
2002-06-28  2:46 isambart

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).