https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70856
Bug ID: 70856 Summary: [6 Regression] ICE with -fopenacc in get_constraint_for_ssa_var, at tree-ssa-structalias.c:2952 Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gerhard.steinmetz.fort...@t-online.de Target Milestone: --- Compiling the following snippet with optimization level -Os, -O2 or higher : $ cat z1.f90 program p print *, sin([1.0, 2.0]) print *, cos([1.0, 2.0]) end $ gfortran-6 -O2 -fopenacc z1.f90 internal compiler error: in get_constraint_for_ssa_var, at tree-ssa-structalias.c:2952 Affects several files from gfortran testsuite, too. $ make check-fortran RUNTESTFLAGS="--target_board=unix/-fopenacc" ... # of expected passes 40537 # of unexpected failures 1377 # of expected failures 62 # of unresolved testcases 609