public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c/4978: invalid expression evaluation in gcc
@ 2002-04-26  1:44 rth
  0 siblings, 0 replies; 2+ messages in thread
From: rth @ 2002-04-26  1:44 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, ggs, nobody

Synopsis: invalid expression evaluation in gcc

State-Changed-From-To: analyzed->closed
State-Changed-By: rth
State-Changed-When: Fri Apr 26 01:44:41 2002
State-Changed-Why:
    Not a bug, as diagnosed by Jakub.

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


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

* Re: c/4978: invalid expression evaluation in gcc
@ 2002-02-21  8:40 jakub
  0 siblings, 0 replies; 2+ messages in thread
From: jakub @ 2002-02-21  8:40 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, ggs, nobody

Synopsis: invalid expression evaluation in gcc

State-Changed-From-To: open->analyzed
State-Changed-By: jakub
State-Changed-When: Thu Feb 21 08:37:24 2002
State-Changed-Why:
    There is no sequence point in C after first operand of
    < operator, so your testcase has undefined behaviour.
    See ISO C99 Annex C, for example.
    There are sequence points after first operand of comma
    and at the end of if controlling expression, but there is
    nothing which requires < operands to be evaluated in any
    specific order.

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


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

end of thread, other threads:[~2002-04-26  8:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-26  1:44 c/4978: invalid expression evaluation in gcc rth
  -- strict thread matches above, loose matches on Subject: below --
2002-02-21  8:40 jakub

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