diff options
author | Jason Merrill <jason@redhat.com> | 2024-09-15 11:34:43 +0200 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2024-09-15 17:49:07 +0200 |
commit | a9f9391e1eeccb9d062b9e73ef27ac577b23ed64 (patch) | |
tree | 5cc90a4d3a49c23fedc8339442abec008744aecb /gcc/tree-ssa-phiopt.cc | |
parent | 5ef73ba1cc17b8893ad9a4e95f9cd191dbc0bfa3 (diff) | |
download | gcc-a9f9391e1eeccb9d062b9e73ef27ac577b23ed64.zip gcc-a9f9391e1eeccb9d062b9e73ef27ac577b23ed64.tar.gz gcc-a9f9391e1eeccb9d062b9e73ef27ac577b23ed64.tar.bz2 |
c++: __extension__ and -Wconditionally-supported
When we're explicitly choosing GCC extensions, we similarly shouldn't
complain about optional features that GCC provides. This particular pattern
of cast between function and object pointer is used by gthr-posix.h on some
targets, including linux-gnu before glibc 2.34.
gcc/cp/ChangeLog:
* parser.cc (cp_parser_unary_expression) [RID_EXTENSION]: Also
suppress -Wconditionally-supported.
gcc/testsuite/ChangeLog:
* g++.dg/warn/Wconditionally-supported-1.C: Add __extension__ cases.
Diffstat (limited to 'gcc/tree-ssa-phiopt.cc')
0 files changed, 0 insertions, 0 deletions