------- Comment #5 from pault at gcc dot gnu dot org  2007-10-12 16:45 -------
Subject: Bug 33664

Author: pault
Date: Fri Oct 12 16:45:46 2007
New Revision: 129267

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129267
Log:
2007-10-12  Paul Thomas  <[EMAIL PROTECTED]>

        PR fortran/33664
        * expr.c (gfc_specification_expr): If a function is not
        external, intrinsic or pure is an error.  Set the symbol pure
        to prevent repeat errors.

2007-10-12  Paul Thomas  <[EMAIL PROTECTED]>

        PR fortran/33664
        * gfortran.dg/impure_spec_expr_1.f90: New test.
        * gfortran.dg/char_result_7.f90: Remove illegal test.


Added:
    trunk/gcc/testsuite/gfortran.dg/impure_spec_expr_1.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/expr.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/char_result_7.f90


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33664

Reply via email to