diff options
Diffstat (limited to 'gcc/ada/switch-c.adb')
-rw-r--r-- | gcc/ada/switch-c.adb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/ada/switch-c.adb b/gcc/ada/switch-c.adb index 9b5dde7..2b56e64 100644 --- a/gcc/ada/switch-c.adb +++ b/gcc/ada/switch-c.adb @@ -1154,9 +1154,7 @@ package body Switch.C is -- check. for J in Suppress_Options.Suppress'Range loop - if J /= Elaboration_Check - and then - J /= Atomic_Synchronization + if J not in Elaboration_Check | Atomic_Synchronization then Suppress_Options.Suppress (J) := True; end if; |