[Bug ipa/120099] [16 regression] gfortran.dg/specifics_1.f90 FAILs since r16-372-g064cac730f88dc

2025-05-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120099

--- Comment #8 from Andrew Pinski  ---
Created attachment 61437
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61437&action=edit
Compile with -O3 -fno-early-inlining

This gets the failure before GCC 5 even.

[Bug ipa/120099] [16 regression] gfortran.dg/specifics_1.f90 FAILs since r16-372-g064cac730f88dc

2025-05-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120099

--- Comment #7 from Andrew Pinski  ---

DCE removes this:

Eliminating unnecessary statements:
Deleting : _gfortran_f2c_specific__conjg_4 (&cmplx.0, &C.4660);



This might be a front-end issue though.

[Bug ipa/120099] [16 regression] gfortran.dg/specifics_1.f90 FAILs since r16-372-g064cac730f88dc

2025-05-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120099

--- Comment #6 from Sam James  ---
(In reply to Sam James from comment #5)
> ```
> $ gfortran-14 gfortran.dg/specifics_1.f90 -o a -ff2c -O2 --param
> max-inline-insns-size=50 && ./a
> STOP 1
> ```

It fails with this going back to GCC 9, but GCC 8 lacks the param. The other
inlining params don't yet seem to trigger it.

[Bug ipa/120099] [16 regression] gfortran.dg/specifics_1.f90 FAILs since r16-372-g064cac730f88dc

2025-05-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120099

--- Comment #5 from Sam James  ---
```
$ gfortran-14 gfortran.dg/specifics_1.f90 -o a -ff2c -O2 --param
max-inline-insns-size=50 && ./a
STOP 1
```

[Bug ipa/120099] [16 regression] gfortran.dg/specifics_1.f90 FAILs since r16-372-g064cac730f88dc

2025-05-08 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120099

--- Comment #4 from Jan Hubicka  ---
This patch enables more inlining, so I guess it is previously latent problem
triggered by inliner...

[Bug ipa/120099] [16 regression] gfortran.dg/specifics_1.f90 FAILs since r16-372-g064cac730f88dc

2025-05-06 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120099

--- Comment #3 from Jerry DeLisle  ---
(In reply to Jerry DeLisle from comment #2)

Disregard this, sorry for the noise.

[Bug ipa/120099] [16 regression] gfortran.dg/specifics_1.f90 FAILs since r16-372-g064cac730f88dc

2025-05-06 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120099

Jerry DeLisle  changed:

   What|Removed |Added

 CC||jvdelisle at gcc dot gnu.org

--- Comment #2 from Jerry DeLisle  ---
I am also seeing to others. I do not know if the other test cases are related.

FAIL: gfortran.dg/enum_8.f90   -O   (test for errors, line 8)
FAIL: gfortran.dg/enum_8.f90   -O  (test for excess errors)
FAIL: gfortran.dg/specifics_1.f90   -O2  execution test
FAIL: gfortran.dg/specifics_1.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  execution test
FAIL: gfortran.dg/specifics_1.f90   -O3 -g  execution test
FAIL: gfortran.dg/g77/20030326-1.f   -O   (test for errors, line 9)
FAIL: gfortran.dg/g77/20030326-1.f   -O  (test for excess errors)

[Bug ipa/120099] [16 regression] gfortran.dg/specifics_1.f90 FAILs since r16-372-g064cac730f88dc

2025-05-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120099

Andrew Pinski  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 CC||pinskia at gcc dot gnu.org
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2025-05-05

--- Comment #1 from Andrew Pinski  ---
.

[Bug ipa/120099] [16 regression] gfortran.dg/specifics_1.f90 FAILs since r16-372-g064cac730f88dc

2025-05-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120099

Sam James  changed:

   What|Removed |Added

   Target Milestone|--- |16.0