https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103691

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Yes, folding debug stmts is OK but we usually don't do that unless we
substitute into them (so that's maybe why the issue pops up now).  It might be
wise to avoid folding debug stmts as a workaround.

Clearly the RANGE_EXPR the Fortran FE builds here is wrong, but as far as I
understand the testcase is invalid?

   real, parameter :: a(0) = 2.0

that's an array with zero elements which you initialize.

Reply via email to