> From: Jerry D <[email protected]>
> Sent: Tuesday, July 14, 2026 4:46 AM
> 
> On 7/13/26 2:24 AM, Haochen Jiang wrote:
> > On Linux/x86_64,
> >
> > f935a7a9013d0748ba1f42dc532df3d278707bf6 is the first bad commit
> > commit f935a7a9013d0748ba1f42dc532df3d278707bf6
> > Author: Jerry DeLisle <[email protected]>
> > Date:   Thu Jul 9 19:24:49 2026 -0700
> >
> >      fortran: [PR126170] Fix LTO ICE in copy_function_or_variable
> >
> > caused
> >
> > FAIL: libgomp.fortran/allocate-1.f90   -O0  (test for excess errors)
> > FAIL: libgomp.fortran/allocate-1.f90   -O1  (test for excess errors)
> > FAIL: libgomp.fortran/allocate-1.f90   -O2  (test for excess errors)
> > FAIL: libgomp.fortran/allocate-1.f90   -O3 -fomit-frame-pointer -funroll-
> loops -fpeel-loops -ftracer -finline-functions  (test for excess errors)
> > FAIL: libgomp.fortran/allocate-1.f90   -O3 -g  (test for excess errors)
> > FAIL: libgomp.fortran/allocate-1.f90   -Os  (test for excess errors)
> > FAIL: libgomp.fortran/cancel-do-2.f90   -O0  (test for excess errors)
> > FAIL: libgomp.fortran/cancel-do-2.f90   -O1  (test for excess errors)
> > FAIL: libgomp.fortran/cancel-do-2.f90   -O2  (test for excess errors)
> > FAIL: libgomp.fortran/cancel-do-2.f90   -O3 -fomit-frame-pointer -funroll-
> loops -fpeel-loops -ftracer -finline-functions  (test for excess errors)
> > FAIL: libgomp.fortran/cancel-do-2.f90   -O3 -g  (test for excess errors)
> > FAIL: libgomp.fortran/cancel-do-2.f90   -Os  (test for excess errors)
> > FAIL: libgomp.fortran/task1.f90   -O0  (test for excess errors)
> > FAIL: libgomp.fortran/task1.f90   -O1  (test for excess errors)
> > FAIL: libgomp.fortran/task1.f90   -O2  (test for excess errors)
> > FAIL: libgomp.fortran/task1.f90   -O3 -fomit-frame-pointer -funroll-loops -
> fpeel-loops -ftracer -finline-functions  (test for excess errors)
> > FAIL: libgomp.fortran/task1.f90   -O3 -g  (test for excess errors)
> > FAIL: libgomp.fortran/task1.f90   -Os  (test for excess errors)
> > FAIL: libgomp.fortran/teams2.f90   -O  (test for excess errors)
> >
> 
> Can not reproduce here. Fixed by the fix to PR126210
> 
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126210
> 
> Running target unix
> 
>               === gfortran Summary ===
> 
> # of expected passes          76375
> # of expected failures                349
> # of unsupported tests                87
> /home/jerry/dev/objdir/gcc/gfortran  version 17.0.0 20260712
> (experimental) (GCC)
> 
>               === libgomp tests ===
> 
> 
> Running target unix
> 
>               === libgomp Summary ===
> 
> # of expected passes          11510
> # of expected failures                239
> # of unsupported tests                364
> 
> Compiler version: 17.0.0 20260712 (experimental) (GCC)
> Platform: x86_64-pc-linux-gnu
> configure flags: --prefix=/home/jerry/dev/usr --enable-
> languages=c,c++,fortran
> --enable-multilib --enable-libsanitizer --enable-libgomp --disable-bootstrap
> --with-demangler-in-ld --with-fpmath=sse

Should have been fixed according to:
https://gcc.gnu.org/pipermail/gcc-regression/2026-July/084097.html

Thx,
Haochen

Reply via email to