re PR fortran/80965 (ICE with class argument and -O2 optimization)
authorPaul Thomas <pault@gcc.gnu.org>
Sat, 3 Mar 2018 13:34:10 +0000 (13:34 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sat, 3 Mar 2018 13:34:10 +0000 (13:34 +0000)
commitc8bd326c4794fc26b4385a5736dd72a721fd5983
tree162df838a7d1637e64157fbcc18a337e9fe5539a
parent129c8d7e332a4d051f0e9d6f936b131198a3f7a9
re PR fortran/80965 (ICE with class argument and -O2 optimization)

2018-03-03  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/80965
* resolve.c (build_loc_call): Change symtree name from 'loc' to
'_loc'.

2018-03-03  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/80965
* gfortran.dg/select_type_41.f90: New test.

From-SVN: r258195
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/select_type_41.f90 [new file with mode: 0644]