This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/46331] Compilation time long with simple function in array constructor


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  <jvdelisle@gcc.gnu.org>
        Mikael Morin   <mikael@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]