This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/70856] [6/7 Regression] ICE with -fopenacc in get_constraint_for_ssa_var, at tree-ssa-structalias.c:2952
- From: "vries at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 13 May 2016 13:26:03 +0000
- Subject: [Bug fortran/70856] [6/7 Regression] ICE with -fopenacc in get_constraint_for_ssa_var, at tree-ssa-structalias.c:2952
- Auto-submitted: auto-generated
- References: <bug-70856-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70856
--- Comment #5 from vries at gcc dot gnu.org ---
before icf, we have:
...
static real(kind=4) A.4[2] = {1.0e+0, 2.0e+0};
static real(kind=4) A.1[2] = {1.0e+0, 2.0e+0};
...
Then icf does:
...
Semantic equality hit:A.4->A.1
Assembler symbol names:A.4.3435->A.1.3429
Unified; Variable alias has been created.
...
And after icf, we have:
...
static real(kind=4) A.4[2] = {1.0e+0, 2.0e+0};
static real(kind=4) A.1[2];
...
What openacc does, is run ipa-pta before and after icf.
The compilation succeeds with -fno-ipa-icf.