http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48889
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jvdelisle at gcc dot | |gnu.org, mikael at gcc dot | |gnu.org Target Milestone|--- |4.6.1 --- Comment #5 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-05-10 13:47:15 UTC --- Works: 2010-11-09 r166519 Fails: 2010-11-09 r166520 that's the commit http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166520 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.