[Bug fortran/31067] MINLOC should sometimes be inlined (gas_dyn is sooooo sloooow)

burnus at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Jul 3 12:41:00 GMT 2009



------- Comment #24 from burnus at gcc dot gnu dot org  2009-07-03 12:40 -------
> One issue is that
>      ISET = MINLOC (DTEMP)
> will cause GCC to assume that DTEMP is clobbered.

The problem is that while "MINLOC" is pure, we cannot use DECL_PURE_P as the
result is passed by reference:
  (void)  minloc(&isset, DTEMP)
                 ^^^^^^--- result


-- 


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



More information about the Gcc-bugs mailing list