I'm not following. My patch doesn't affect this behavior. What am I missing?
Aldy On Thu, Oct 13, 2022 at 3:04 PM Toon Moene <t...@moene.org> wrote: > > On 10/13/22 14:36, Aldy Hernandez via Gcc-patches wrote: > > > PR tree-optimization/24021 > > Ah - Verboten in Fortran: > > $ cat d.f > DOUBLE PRECISION A, X > A = 0.0 > DO X = 0.1, 1.0 > A = A + X > ENDDO > END > $ gfortran d.f > d.f:3:9: > > 3 | DO X = 0.1, 1.0 > | 1 > Warning: Deleted feature: Loop variable at (1) must be integer > d.f:3:12: > > 3 | DO X = 0.1, 1.0 > | 1 > Warning: Deleted feature: Start expression in DO loop at (1) must be integer > d.f:3:17: > > 3 | DO X = 0.1, 1.0 > | 1 > Warning: Deleted feature: End expression in DO loop at (1) must be integer > > -- > Toon Moene - e-mail: t...@moene.org - phone: +31 346 214290 > Saturnushof 14, 3738 XG Maartensdijk, The Netherlands >