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

--- Comment #12 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to Steve Kargl from comment #11)

> The finger points at Harald.


That patch did not introduce the behavior, the regression is far older.
Checking on godbolt, gfortran 7.1 has

/app/example.f90:2:18:

   print *,12345678*2345678
                  1
Error: Arithmetic overflow at (1)
Compiler returned: 1

but gfortran 8.1, which was released on 2018-05-02 returns no error.
So the 2017/2018 timeframe


> commit 93e1d4d24ed014387da97e2ce11556d68fe98e66
> Author:     Harald Anlauf <[email protected]>
> AuthorDate: Tue Mar 5 21:54:26 2024 +0100
> Commit:     Harald Anlauf <[email protected]>
> CommitDate: Wed Mar 6 17:55:36 2024 +0100
> 
>     Fortran: error recovery while simplifying expressions [PR103707,PR106987]

Reply via email to