re PR fortran/32047 (ICE (segfault) for pure function without argument)
authorPaul Thomas <pault@gcc.gnu.org>
Fri, 25 May 2007 06:34:10 +0000 (06:34 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Fri, 25 May 2007 06:34:10 +0000 (06:34 +0000)
commit36032710357e5af5f3743c46c29c457e2b04ed05
treec4eb7560188e5880308cc156ac189df846efb9da
parent03fd30b180feb36cff3ae49be196c821d14b76c1
re PR fortran/32047 (ICE (segfault) for pure function without argument)

2007-05-25  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/32047
* trans-expr.c (gfc_apply_interface_mapping_to_expr): Change
order in logic under EXPR_FUNCTION to handle functions with
no arguments.

2007-05-25  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/32047
* gfortran.dg/result_in_spec_2.f90: New test.

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