diff options
author | Florian Weimer <fweimer@redhat.com> | 2023-12-20 17:23:40 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2023-12-20 17:23:40 +0100 |
commit | a48dd581bf917fcd52fb9eab60943825ed96b6d4 (patch) | |
tree | ca88e950f13fa51d1e2d4501d1cf91dc833bb193 /gcc/fortran/options.cc | |
parent | f9be3d8faa4780e1ac9d51121c5ecf6c95d165e3 (diff) | |
download | gcc-a48dd581bf917fcd52fb9eab60943825ed96b6d4.zip gcc-a48dd581bf917fcd52fb9eab60943825ed96b6d4.tar.gz gcc-a48dd581bf917fcd52fb9eab60943825ed96b6d4.tar.bz2 |
c-family: Use -Wdiscarded-qualifiers for ignored qualifiers in __atomic_*
This matches other compiler diagnostics. No test updates are needed
because c-c++-common/pr95378.c does not match a specific -W option.
Fixes commit d2384b7b24f8557b66f6958a05ea99ff4307e75c ("c-family:
check qualifiers of arguments to __atomic built-ins (PR 95378)").
gcc/c-family/
PR c/113050
* c-common.cc (get_atomic_generic_size): Use
OPT_Wdiscarded_qualifiers instead of
OPT_Wincompatible_pointer_types.
Diffstat (limited to 'gcc/fortran/options.cc')
0 files changed, 0 insertions, 0 deletions