This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][LTO/PGO] Warn when both -flto and -fprofile-generate are enabled
- From: Marek Polacek <polacek at redhat dot com>
- To: Markus Trippelsdorf <markus at trippelsdorf dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 2 Apr 2014 13:56:42 +0200
- Subject: Re: [PATCH][LTO/PGO] Warn when both -flto and -fprofile-generate are enabled
- Authentication-results: sourceware.org; auth=none
- References: <20140402115031 dot GA23632 at x4>
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