[Bug preprocessor/16192] Bug in expression evaluation when operand is missing
gnu at behdad dot org
gcc-bugzilla@gcc.gnu.org
Sat Jun 26 18:11:00 GMT 2004
------- Additional Comments From gnu at behdad dot org 2004-06-26 18:03 -------
A bit of misinformation from my side. "(x < 2) && (y == 2)" indeed works as
accepted if x and y are non-macros. But the ill-formed case "(1 < 2) && ( ==
2)" should still fail.
More information, "(2 == )" fails with error. "( == 2)" fails with no error.
"(1< 2) && (2 == )" fails with error, and "(1 < 2) && ( == 2)" does not fail.
In theory all of these four should fail with error.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16192
More information about the Gcc-bugs
mailing list