[Bug c++/33176] strange diagnostic with "if (a) && b"
igodard at pacbell dot net
gcc-bugzilla@gcc.gnu.org
Wed Aug 29 01:03:00 GMT 2007
------- Comment #2 from igodard at pacbell dot net 2007-08-29 01:02 -------
Why does it think a template is a label? I would understand if the code were:
lab: if (i == 0) && lab) ...
but it knows that "confirm" is a function template at this point, and can't be
a future label.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33176
More information about the Gcc-bugs
mailing list