Test for PR17902

Mark Mitchell mark@codesourcery.com
Sun Oct 10 02:00:00 GMT 2004


Andrew --

You need to test your patches more carefully.

  2004-10-08  Andrew Pinski  <pinskia@physics.uc.edu>

	PR tree-opt/17902
	* g++.dg/opt/pr17902.C: New test.

This:

  /* { dg-do compiler } */

is not correct.  It's "compile", not "compiler".  Actually running the
test you created would have revealed this fact:

  > runtest --tool g++ dg.exp='pr17902.C'
  ...
  ERROR: g++.dg/opt/pr17902.C: 2: syntax error for " dg-do 2 compiler "

Please fix.

--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com



More information about the Gcc mailing list