From 7ed760c79399c2d0a3406f28c6fd85f95bf6097c Mon Sep 17 00:00:00 2001 From: Fritz Reese Date: Mon, 3 Dec 2018 15:42:51 +0000 Subject: re PR fortran/87919 (Incorrect fortran handling of -fno-* options) 2018-12-03 Fritz Reese Mark Eggleston PR fortran/87919 gcc/fortran/ChangeLog: PR fortran/87919 * options.c (SET_FLAG, SET_BITFLAG, SET_BITFLAG2): New macros. (set_dec_flags): Set/unset DEC and std flags according to value. (set_init_local_zero): New helper for -finit-local-zero flag group. (gfc_init_options): Fix disabling of init flags, array temporaries check, and dec flags when value is zero (from -fno-*). gcc/testsuite/ChangeLog: PR fortran/87919 * gfortran.dg/array_temporaries_5.f90: New test. * gfortran.dg/dec_bitwise_ops_3.f90: Ditto. * gfortran.dg/dec_d_lines_3.f: Ditto. * gfortran.dg/dec_exp_4.f90: Ditto. * gfortran.dg/dec_exp_5.f90: Ditto. * gfortran.dg/dec_io_7.f90: Ditto. * gfortran.dg/dec_structure_24.f90: Ditto. * gfortran.dg/dec_structure_25.f90: Ditto. * gfortran.dg/dec_structure_26.f90: Ditto. * gfortran.dg/dec_structure_27.f90: Ditto. * gfortran.dg/dec_type_print_3.f90: Ditto. * gfortran.dg/init_flag_20.f90: Ditto. Co-Authored-By: Mark Eggleston From-SVN: r266745 --- gcc/fortran/ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'gcc/fortran/ChangeLog') diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 76bb0b9..1101507 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,13 @@ +2018-12-03 Fritz Reese + Mark Eggleston + + PR fortran/87919 + * options.c (SET_FLAG, SET_BITFLAG, SET_BITFLAG2): New macros. + (set_dec_flags): Set/unset DEC and std flags according to value. + (set_init_local_zero): New helper for -finit-local-zero flag group. + (gfc_init_options): Fix disabling of init flags, array temporaries + check, and dec flags when value is zero (from -fno-*). + 2018-11-30 Thomas Schwinge * gfortran.h (struct gfc_omp_clauses): Remove "wait". Adjust all -- cgit v1.1