re PR fortran/48352 (segfault in fortran/frontend-passes.c)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Fri, 1 Apr 2011 19:31:23 +0000 (19:31 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Fri, 1 Apr 2011 19:31:23 +0000 (19:31 +0000)
commit6e98bce41ede3e64ea559278e6a6f386cb45b141
tree5cf51b524d4b8edb5c160642c2006d7948483fa3
parentb318fb4bbc8d6cd14f8171ceaeb7326a1750e57b
re PR fortran/48352 (segfault in fortran/frontend-passes.c)

2011-04-01  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/48352
* frontend-passes (cfe_register_funcs):  Don't
register functions if they appear as iterators in DO loops.

2011-04-01  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/48352
* gfortran.dg/function_optimize_3.f90:  New test.

From-SVN: r171849
gcc/fortran/ChangeLog
gcc/fortran/frontend-passes.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/function_optimize_3.f90 [new file with mode: 0644]