[Bug fortran/48889] [4.6/4.7 Regression] f951: internal compiler error: in gfc_is_constant_expr, at fortran/expr.c:906

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue May 10 13:52:00 GMT 2011


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  <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.



More information about the Gcc-bugs mailing list