Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
c-family: Use -Wdiscarded-qualifiers for ignored qualifiers in __atom…
…ic_* 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 d2384b7 ("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.
- Loading branch information