[PATCH][LTO/PGO] Warn when both -flto and -fprofile-generate are enabled

Marek Polacek polacek@redhat.com
Wed Apr 2 11:56:00 GMT 2014


On Wed, Apr 02, 2014 at 01:50:31PM +0200, Markus Trippelsdorf wrote:
> +  if (opts->x_flag_generate_lto && opts->x_flag_profile_generate)
> +    warning_at (loc, 0, "Enabling both -fprofile-generate and -flto is a bad idea.");

s/Enabling/enabling/ + no dot at the end.

	Marek



More information about the Gcc-patches mailing list