This is the mail archive of the gcc-bugs@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]

[Bug c++/33176] strange diagnostic with "if (a) && b"



------- 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


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