aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/gcc-interface/misc.c')
-rw-r--r--gcc/ada/gcc-interface/misc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/ada/gcc-interface/misc.c b/gcc/ada/gcc-interface/misc.c
index 96199bd..d073570 100644
--- a/gcc/ada/gcc-interface/misc.c
+++ b/gcc/ada/gcc-interface/misc.c
@@ -271,7 +271,7 @@ gnat_post_options (const char **pfilename ATTRIBUTE_UNUSED)
warn_stringop_overflow = 0;
/* No caret by default for Ada. */
- if (!global_options_set.x_flag_diagnostics_show_caret)
+ if (!OPTION_SET_P (flag_diagnostics_show_caret))
global_dc->show_caret = false;
/* Warn only if STABS is not the default: we don't want to emit a warning if
@@ -422,12 +422,12 @@ gnat_init_gcc_eh (void)
flag_delete_dead_exceptions = 1;
if (Suppress_Checks)
{
- if (!global_options_set.x_flag_non_call_exceptions)
+ if (!OPTION_SET_P (flag_non_call_exceptions))
flag_non_call_exceptions = Machine_Overflows_On_Target && GNAT_Mode;
}
else
{
- if (!global_options_set.x_flag_non_call_exceptions)
+ if (!OPTION_SET_P (flag_non_call_exceptions))
flag_non_call_exceptions = 1;
flag_aggressive_loop_optimizations = 0;
warn_aggressive_loop_optimizations = 0;
@@ -445,14 +445,14 @@ gnat_init_gcc_fp (void)
S'Signed_Zeros is true, but don't override the user if not. */
if (Signed_Zeros_On_Target)
flag_signed_zeros = 1;
- else if (!global_options_set.x_flag_signed_zeros)
+ else if (!OPTION_SET_P (flag_signed_zeros))
flag_signed_zeros = 0;
/* Assume that FP operations can trap if S'Machine_Overflow is true,
but don't override the user if not. */
if (Machine_Overflows_On_Target)
flag_trapping_math = 1;
- else if (!global_options_set.x_flag_trapping_math)
+ else if (!OPTION_SET_P (flag_trapping_math))
flag_trapping_math = 0;
}