Optimization and template parms

Jeffrey A Law law@cygnus.com
Mon Feb 2 15:13:00 GMT 1998


  In message < 199802022300.PAA27152@atrus.synopsys.com >you write:

  > You would be almost correct (at least if -O is given).  However, not
  > quite: the strings "true" and "false" are both emitted in the executable,
  > although the code generated otherwise looks like just
  > 	cout << "true" << endl;
Ah yes.  This is a known problem.

jeff



More information about the Gcc mailing list