This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/9618: ternary operator does not associate properly
- From: bangerth at dealii dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, gpeters at deepsky dot com, nobody at gcc dot gnu dot org
- Date: 8 Feb 2003 03:37:07 -0000
- Subject: Re: c++/9618: ternary operator does not associate properly
- Reply-to: bangerth at dealii dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, gpeters at deepsky dot com, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
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