https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122002
Sam James <sjames at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sjames at gcc dot gnu.org
--- Comment #3 from Sam James <sjames at gcc dot gnu.org> ---
Yes, I see this on x86_64-pc-linux-gnu:
+FAIL: gfortran.dg/pdt_13.f03 -O0 (internal compiler error: Segmentation
fault)
+FAIL: gfortran.dg/pdt_13.f03 -O0 (test for excess errors)
+UNRESOLVED: gfortran.dg/pdt_13.f03 -O0 compilation failed to produce
executable
+FAIL: gfortran.dg/pdt_13.f03 -O1 (internal compiler error: Segmentation
fault)
+FAIL: gfortran.dg/pdt_13.f03 -O1 (test for excess errors)
+UNRESOLVED: gfortran.dg/pdt_13.f03 -O1 compilation failed to produce
executable
+FAIL: gfortran.dg/pdt_13.f03 -O2 (internal compiler error: Segmentation
fault)
+FAIL: gfortran.dg/pdt_13.f03 -O2 (test for excess errors)
+UNRESOLVED: gfortran.dg/pdt_13.f03 -O2 compilation failed to produce
executable
+FAIL: gfortran.dg/pdt_13.f03 -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions (internal compiler error:
Segmentation fault)
+FAIL: gfortran.dg/pdt_13.f03 -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions (test for excess errors)
+UNRESOLVED: gfortran.dg/pdt_13.f03 -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions compilation failed to produce
executable
+FAIL: gfortran.dg/pdt_13.f03 -O3 -g (internal compiler error: Segmentation
fault)
+FAIL: gfortran.dg/pdt_13.f03 -O3 -g (test for excess errors)
+UNRESOLVED: gfortran.dg/pdt_13.f03 -O3 -g compilation failed to produce
executable
+FAIL: gfortran.dg/pdt_13.f03 -Os (internal compiler error: Segmentation
fault)
+FAIL: gfortran.dg/pdt_13.f03 -Os (test for excess errors)
+UNRESOLVED: gfortran.dg/pdt_13.f03 -Os compilation failed to produce
executable
+FAIL: gfortran.dg/pdt_14.f03 -O0 (internal compiler error: Segmentation
fault)
+FAIL: gfortran.dg/pdt_14.f03 -O0 (test for excess errors)
+UNRESOLVED: gfortran.dg/pdt_14.f03 -O0 compilation failed to produce
executable
+FAIL: gfortran.dg/pdt_14.f03 -O1 (internal compiler error: Segmentation
fault)
+FAIL: gfortran.dg/pdt_14.f03 -O1 (test for excess errors)
+UNRESOLVED: gfortran.dg/pdt_14.f03 -O1 compilation failed to produce
executable
+FAIL: gfortran.dg/pdt_14.f03 -O2 (internal compiler error: Segmentation
fault)
+FAIL: gfortran.dg/pdt_14.f03 -O2 (test for excess errors)
+UNRESOLVED: gfortran.dg/pdt_14.f03 -O2 compilation failed to produce
executable
+FAIL: gfortran.dg/pdt_14.f03 -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions (internal compiler error:
Segmentation fault)
+FAIL: gfortran.dg/pdt_14.f03 -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions (test for excess errors)
+UNRESOLVED: gfortran.dg/pdt_14.f03 -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions compilation failed to produce
executable
+FAIL: gfortran.dg/pdt_14.f03 -O3 -g (internal compiler error: Segmentation
fault)
+FAIL: gfortran.dg/pdt_14.f03 -O3 -g (test for excess errors)
+UNRESOLVED: gfortran.dg/pdt_14.f03 -O3 -g compilation failed to produce
executable
+FAIL: gfortran.dg/pdt_14.f03 -Os (internal compiler error: Segmentation
fault)
+FAIL: gfortran.dg/pdt_14.f03 -Os (test for excess errors)
+UNRESOLVED: gfortran.dg/pdt_14.f03 -Os compilation failed to produce
executable
+FAIL: gfortran.dg/pdt_17.f03 -O (test for errors, line 8)
+FAIL: gfortran.dg/pdt_17.f03 -O (test for errors, line 9)
+FAIL: gfortran.dg/pdt_17.f03 -O (internal compiler error: Segmentation fault)
+FAIL: gfortran.dg/pdt_17.f03 -O (test for excess errors)
+FAIL: gfortran.dg/pdt_4.f03 -O (test for errors, line 29)
+FAIL: gfortran.dg/pdt_4.f03 -O (test for errors, line 60)
+FAIL: gfortran.dg/pdt_4.f03 -O (test for errors, line 61)
+FAIL: gfortran.dg/pdt_4.f03 -O (test for errors, line 62)
[...]
+FAIL: gfortran.dg/pr93499.f90 -O (test for errors, line 9)
+FAIL: gfortran.dg/pr93499.f90 -O (internal compiler error: Segmentation
fault)
+FAIL: gfortran.dg/pr93499.f90 -O (test for excess errors)
+FAIL: gfortran.dg/pr95053_3.f90 -O (test for errors, line 11)
+FAIL: gfortran.dg/pr95053_3.f90 -O (test for errors, line 12)
+FAIL: gfortran.dg/pr95053_3.f90 -O (test for errors, line 13)
+FAIL: gfortran.dg/pr95053_3.f90 -O (internal compiler error: Segmentation
fault)
+FAIL: gfortran.dg/pr95053_3.f90 -O (test for excess errors)
With Valgrind:
```
$ gfortran gfortran.dg/pr95053_3.f90 -wrapper valgrind
18:19:22 [14/54]
==3262490== Memcheck, a memory error detector
==3262490== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al.
==3262490== Using Valgrind-3.26.0.GIT and LibVEX; rerun with -h for copyright
info
==3262490== Command: /usr/libexec/gcc/x86_64-pc-linux-gnu/16/f951
gfortran.dg/pr95053_3.f90 -quiet -dumpdir a- -dumpbase pr95053_3.f90
-dumpbase-ext .f90 -mtune=generic -march=x86-64 -mt
ls-dialect=gnu2 -foffload-options=-l_GCC_gfortran -foffload-options=-l_GCC_m
-foffload-options=-fno-stack-protector -fintrinsic-modules-path
/usr/lib/gcc/x86_64-pc-linux-gnu/16/finclude
-fpre-include=/usr/include/finclude/math-vector-fortran.h -o /tmp/cckiFnhN.s
==3262490==
==3262490== Conditional jump or move depends on uninitialised value(s)
==3262490== at 0x6B726CB: gfc_match_rvalue(gfc_expr**) (primary.cc:4093)
==3262490== by 0x6B0310D: match_primary (matchexp.cc:217)
==3262490== by 0x6B0310D: match_level_1 (matchexp.cc:267)
==3262490== by 0x6B0310D: match_mult_operand(gfc_expr**) (matchexp.cc:323)
==3262490== by 0x6B03718: match_add_operand(gfc_expr**) (matchexp.cc:412)
==3262490== by 0x6B03D22: match_level_2(gfc_expr**) (matchexp.cc:536)
==3262490== by 0x6B040F8: match_level_3(gfc_expr**) (matchexp.cc:607)
==3262490== by 0x6B043C5: match_level_4 (matchexp.cc:655)
==3262490== by 0x6B043C5: match_and_operand(gfc_expr**) (matchexp.cc:749)
==3262490== by 0x6B04718: match_or_operand(gfc_expr**) (matchexp.cc:778)
==3262490== by 0x6B049A8: match_equiv_operand(gfc_expr**) (matchexp.cc:821)
==3262490== by 0x6B04C33: match_level_5(gfc_expr**) [clone .lto_priv.0]
(matchexp.cc:867)
==3262490== by 0x6B09AF3: gfc_match_expr(gfc_expr**) (matchexp.cc:926)
==3262490== by 0x6B6D665: match_actual_arg(gfc_expr**) (primary.cc:1801)
==3262490== by 0x6B6E417: gfc_match_actual_arglist(int,
gfc_actual_arglist**, bool) (primary.cc:2066)
==3262490==
==3262490== Use of uninitialised value of size 8
==3262490== at 0x6B726D1: gfc_match_rvalue(gfc_expr**) (primary.cc:4093)
==3262490== by 0x6B0310D: match_primary (matchexp.cc:217)
==3262490== by 0x6B0310D: match_level_1 (matchexp.cc:267)
==3262490== by 0x6B0310D: match_mult_operand(gfc_expr**) (matchexp.cc:323)
==3262490== by 0x6B03718: match_add_operand(gfc_expr**) (matchexp.cc:412)
==3262490== by 0x6B03D22: match_level_2(gfc_expr**) (matchexp.cc:536)
==3262490== by 0x6B040F8: match_level_3(gfc_expr**) (matchexp.cc:607)
==3262490== by 0x6B043C5: match_level_4 (matchexp.cc:655)
==3262490== by 0x6B043C5: match_and_operand(gfc_expr**) (matchexp.cc:749)
==3262490== by 0x6B04718: match_or_operand(gfc_expr**) (matchexp.cc:778)
==3262490== by 0x6B049A8: match_equiv_operand(gfc_expr**) (matchexp.cc:821)
==3262490== by 0x6B04C33: match_level_5(gfc_expr**) [clone .lto_priv.0]
(matchexp.cc:867)
==3262490== by 0x6B09AF3: gfc_match_expr(gfc_expr**) (matchexp.cc:926)
==3262490== by 0x6B6D665: match_actual_arg(gfc_expr**) (primary.cc:1801)
==3262490== by 0x6B6E417: gfc_match_actual_arglist(int,
gfc_actual_arglist**, bool) (primary.cc:2066)
==3262490== Invalid read of size 4
==3262490== at 0x6A89E9B: free_expr0(gfc_expr*) [clone .lto_priv.0]
(expr.cc:490)
==3262490== by 0x6B726F1: gfc_free_expr (expr.cc:585)
==3262490== by 0x6B726F1: gfc_free_actual_arglist (expr.cc:601)
==3262490== by 0x6B726F1: gfc_match_rvalue(gfc_expr**) (primary.cc:4094)
==3262490== by 0x6B0310D: match_primary (matchexp.cc:217)
==3262490== by 0x6B0310D: match_level_1 (matchexp.cc:267)
==3262490== by 0x6B0310D: match_mult_operand(gfc_expr**) (matchexp.cc:323)
==3262490== by 0x6B03718: match_add_operand(gfc_expr**) (matchexp.cc:412)
==3262490== by 0x6B03D22: match_level_2(gfc_expr**) (matchexp.cc:536)
==3262490== by 0x6B040F8: match_level_3(gfc_expr**) (matchexp.cc:607)
==3262490== by 0x6B043C5: match_level_4 (matchexp.cc:655)
==3262490== by 0x6B043C5: match_and_operand(gfc_expr**) (matchexp.cc:749)
==3262490== by 0x6B04718: match_or_operand(gfc_expr**) (matchexp.cc:778)
==3262490== by 0x6B049A8: match_equiv_operand(gfc_expr**) (matchexp.cc:821)
==3262490== by 0x6B04C33: match_level_5(gfc_expr**) [clone .lto_priv.0]
(matchexp.cc:867)
==3262490== by 0x6B09AF3: gfc_match_expr(gfc_expr**) (matchexp.cc:926)
==3262490== by 0x6B6D665: match_actual_arg(gfc_expr**) (primary.cc:1801)
==3262490== Address 0x2900000030 is not stack'd, malloc'd or (recently) free'd
==3262490==
f951: internal compiler error: Segmentation fault
```