This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/70856] [6/7 Regression] ICE with -fopenacc in get_constraint_for_ssa_var, at tree-ssa-structalias.c:2952


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]