]> gcc.gnu.org Git - gcc.git/commit
Fortran: Prevent unwanted finalization with -w option [PR112459]
authorPaul Thomas <pault@gcc.gnu.org>
Sat, 16 Dec 2023 13:59:45 +0000 (13:59 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sat, 16 Dec 2023 13:59:45 +0000 (13:59 +0000)
commit9a1105b770df9a9b485705398abbb74b5c487a25
tree55ed3a2d4d56144567889d67a148e5c8f6af5bfd
parent5ae6f524f5d4ee2ab79ba797fa4901daf90afb25
Fortran: Prevent unwanted finalization with -w option [PR112459]

2023-12-16  Paul Thomas  <pault@gcc.gnu.org>

gcc/fortran
PR fortran/112459
* trans-array.cc (gfc_trans_array_constructor_value): Replace
gfc_notification_std with explicit logical expression that
selects F2003/2008 and excludes -std=default/gnu.
* trans-expr.cc (gfc_conv_expr): Ditto.

gcc/testsuite/
PR fortran/112459
* gfortran.dg/pr112459.f90: New test.
gcc/fortran/trans-array.cc
gcc/fortran/trans-expr.cc
gcc/testsuite/gfortran.dg/pr112459.f90 [new file with mode: 0644]
This page took 0.076305 seconds and 5 git commands to generate.