https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64672

--- Comment #20 from rguenther at suse dot de <rguenther at suse dot de> ---
On Thu, 22 Jan 2015, vries at gcc dot gnu.org wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64672
> 
> --- Comment #17 from vries at gcc dot gnu.org ---
> (In reply to rguent...@suse.de from comment #13)
> > On Wed, 21 Jan 2015, vries at gcc dot gnu.org wrote:
> > > tentative patch, adding flag_ltrans || flag_wpa to the GOACC builtin guard
> > > conditions
> > 
> > Would be in_lto_p instead.
> > 
> 
> That actually doesn't work. in_lto_p is still false at the time when
> lto_define_builtins is called.

Huh, interesting - we should probably fix that and do in_lto_p = true
as the very first thing in lto_init.

Reply via email to