This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/68813] [openacc] lto1: internal compiler error: in input_varpool_node, at lto-cgraph.c
- From: "cesar at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 16 Dec 2015 22:48:52 +0000
- Subject: [Bug other/68813] [openacc] lto1: internal compiler error: in input_varpool_node, at lto-cgraph.c
- Auto-submitted: auto-generated
- References: <bug-68813-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68813
cesar at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2015-12-16
CC| |cesar at gcc dot gnu.org
Assignee|unassigned at gcc dot gnu.org |cesar at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #2 from cesar at gcc dot gnu.org ---
(In reply to vries from comment #1)
> Related discussion: https://gcc.gnu.org/ml/gcc-patches/2015-07/msg02076.html
I think that's more of a band-aid rather than a proper fix. But I suspect that
patch will still come in handy for routines.
For some reason, reductions don't like firstprivate variables in fortran. I
tried a similar test in gcc and g++, and neither of those compilers ICE'd. You
can also reduce this test case a little bit by removing the array 'a' and
replacing the reduction with 'sum = sum + 1'.
I'll work on this.