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

aj@gcc.gnu.org aj@gcc.gnu.org
Fri Dec 27 03:04:00 GMT 2002


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



More information about the Gcc-prs mailing list