[Bug c++/52964] No warning on negative array size in template instantatiation

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Apr 12 23:25:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52964

--- Comment #5 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-04-12 23:25:36 UTC ---
(In reply to comment #4)
> (In reply to comment #3) 
> > With -fsyntax-only, the warning is not emitted -- any reason for that?
> 
> Yes because -fsyntax-only does not do template instantatiations at all IIRC.

And is there a reason for that?



More information about the Gcc-bugs mailing list