This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgomp/64672] ICEs in libgomp.oacc-fortran when using the '-g -flto' options in the test suite.
- From: "rguenther at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 23 Jan 2015 09:13:40 +0000
- Subject: [Bug libgomp/64672] ICEs in libgomp.oacc-fortran when using the '-g -flto' options in the test suite.
- Auto-submitted: auto-generated
- References: <bug-64672-4 at http dot gcc dot gnu dot org/bugzilla/>
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 rguenther@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.