re PR fortran/48889 (f951: internal compiler error: in gfc_is_constant_expr, at fortr...
authorTobias Burnus <burnus@net-b.de>
Wed, 11 May 2011 20:08:54 +0000 (22:08 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Wed, 11 May 2011 20:08:54 +0000 (22:08 +0200)
commit0126595fee486221f58aa7e5f46064b194337225
tree99daf63eb676eda68861023c76d9a9abd2e68471
parent8da1c70b570bc423fd2ea011398a69714ecd8b7a
re PR fortran/48889 (f951: internal compiler error: in gfc_is_constant_expr, at fortran/expr.c:906)

2011-05-11  Tobias Burnus  <burnus@net-b.de>

        PR fortran/48889
        * expr.c (gfc_is_constant_expr): Use e->value.function.esym
        instead of e->symtree->n.sym, if available.

2011-05-11  Tobias Burnus  <burnus@net-b.de>

        PR fortran/48889
        * gfortran.dg/generic_24.f90: New.

From-SVN: r173674
gcc/fortran/ChangeLog
gcc/fortran/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/generic_24.f90 [new file with mode: 0644]