c++/9618: ternary operator does not associate properly
bangerth@dealii.org
bangerth@dealii.org
Sat Feb 8 03:37:00 GMT 2003
Synopsis: ternary operator does not associate properly
State-Changed-From-To: open->feedback
State-Changed-By: bangerth
State-Changed-When: Sat Feb 8 03:37:07 2003
State-Changed-Why:
I can confirm the behavior you are getting. However, the
"1" you get is what I get with all compilers I have
access to: several versions of gcc, Intel icc, and Compaq
cxx. Can you elaborate why you think that the result should
be zero? What are the normative clauses of the respective
standards?
Thanks
Wolfgang
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9618
More information about the Gcc-bugs
mailing list