This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: middle-end/9063: invalid compile-time evaluation of tertiary expression


Synopsis: invalid compile-time evaluation of tertiary expression

Responsible-Changed-From-To: unassigned->aj
Responsible-Changed-By: aj
Responsible-Changed-When: Fri Dec 27 03:04:46 2002
Responsible-Changed-Why:
    Taking it.
State-Changed-From-To: open->closed
State-Changed-By: aj
State-Changed-When: Fri Dec 27 03:04:46 2002
State-Changed-Why:
    GCC evaluates the expression correct according to the C operator precedence rules, a '+' binds stronger than the '?'.
    You should fix your code and add the braces.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]