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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
                 CC|                            |burnus at gcc dot gnu.org
   Target Milestone|---                         |4.7.0

--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-11-21 
07:46:46 UTC ---
Workaround: -Os  (optimize for code size)

I would assume that it is due to Mikael's scalarizer patch set (Rev. 180842 to
Rev. 180922), cf. http://gcc.gnu.org/ml/fortran/2011-11/msg00046.html

Similar issue exists for PRODUCT, which is not surprising as they mostly share
the same code path.

(The expr->shape is correctly set in iresolve.c - but only if the shape and dim
is known at compile time, thus not in this case.)

(I couldn't quickly find the right spot in trans*.c)

Reply via email to