On Thu, Oct 13, 2022 at 3:52 PM Toon Moene <t...@moene.org> wrote: > > It was just a comment on the code of the PR ...
Ahh... the patch adds support for ranger handling of floating point PLUS_EXPRs in the IL. The PR's testcase is just one of the many things it will be able to solve. Aldy > > Toon. > > On 10/13/22 15:44, Aldy Hernandez wrote: > > > 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 > >> > > > > -- > Toon Moene - e-mail: t...@moene.org - phone: +31 346 214290 > Saturnushof 14, 3738 XG Maartensdijk, The Netherlands >