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

--- Comment #4 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2010-11-10 
04:58:23 UTC ---
Author: jvdelisle
Date: Wed Nov 10 04:58:16 2010
New Revision: 166520

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166520
Log:
2010-11-09  Jerry DeLisle  <jvdeli...@gcc.gnu.org>
        Mikael Morin   <mik...@gcc.gnu.org>

    PR fortran/46331
    * intrinsic.c: Correctly set the pure attributes for intrinsic
    functions.
    * expr.c (check_specification_function): Remove this function and move
    its code into gfc_is_constant_expr. (gfc_is_constant_expr): Change the
    order of checks by checking for non-constant arguments first.  Then,
    check for initialization functions, followed by intrinsics.

Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/expr.c
    trunk/gcc/fortran/intrinsic.c

Reply via email to