diff options
author | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2010-11-10 04:58:16 +0000 |
---|---|---|
committer | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2010-11-10 04:58:16 +0000 |
commit | 83f3bd62c9329ec4e3439ff4b0a3175863ba12df (patch) | |
tree | 458b3e129494260814423b1b3a4a1eea07056ac5 /gcc/tree-sra.c | |
parent | e65f1db78c2bba088536e57bae37e18deb3ccfad (diff) | |
download | gcc-83f3bd62c9329ec4e3439ff4b0a3175863ba12df.zip gcc-83f3bd62c9329ec4e3439ff4b0a3175863ba12df.tar.gz gcc-83f3bd62c9329ec4e3439ff4b0a3175863ba12df.tar.bz2 |
re PR fortran/46331 (Compilation time long with simple function in array constructor)
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.
Co-Authored-By: Mikael Morin <mikael@gcc.gnu.org>
From-SVN: r166520
Diffstat (limited to 'gcc/tree-sra.c')
0 files changed, 0 insertions, 0 deletions