[Bug fortran/87919] Incorrect fortran handling of -fno-* options
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 3 17:11:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87919
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Dec 3 17:10:50 2018
New Revision: 266761
URL: https://gcc.gnu.org/viewcvs?rev=266761&root=gcc&view=rev
Log:
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.
(post_dec_flags, set_init_local_zero): New functions.
(gfc_init_options): Use set_init_local_zero and post_dec_flags.
(gfc_handle_options) <case OPT_fcheck_array_temporaries>: Use
SET_BITFLAG.
<case OPT_finit_local_zero>: Use set_init_local_zero.
<case OPT_fdec>: Pass value to set_dec_flags.
<case OPT_fdec_structure>: Remove.
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/options.c
More information about the Gcc-bugs
mailing list