------- Comment #3 from dominiq at lps dot ens dot fr  2010-09-16 13:09 -------
MAXLOC and MINLOC are also missing (see pr25104).

> They are not, as there, afaik, are no simplifiers yet.
>
> Hence, with your patch they will be accepted, but you'd end up with wrong code
> at the end, as the functions are not properly simplified and thus not 
> constant.

I have seen that, and also in gcc/fortran/simplify.c

    /* FIXME: Returning here avoids a regression in array_simplify_1.f90.
       Replace NULL with gcc_unreachable() after implementing
       gfc_simplify_cshift(). */

Am I correct to understand that the current situation (i.e. the error message)
is a temporary fix for some missing gfc_simplify_*?


-- 

dominiq at lps dot ens dot fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|CSHIFT and EOSHIFT are not  |[F2003] Missing
                   |in the trans_func_f2003 list|transformational intrinsic
                   |                            |in the trans_func_f2003 list


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

Reply via email to