aboutsummaryrefslogtreecommitdiff
path: root/gcc/c/c-parser.cc
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2025-01-09 15:12:07 -0500
committerJason Merrill <jason@redhat.com>2025-01-09 16:23:05 -0500
commit3cae3a80695e5aabd7353c02e179c997158eef30 (patch)
tree0c770a90435f38ddffcbecfdb05e0290b3eb4781 /gcc/c/c-parser.cc
parent424a9ac45ab1a80359b22ee30d2815fb0f2c5149 (diff)
downloadgcc-3cae3a80695e5aabd7353c02e179c997158eef30.zip
gcc-3cae3a80695e5aabd7353c02e179c997158eef30.tar.gz
gcc-3cae3a80695e5aabd7353c02e179c997158eef30.tar.bz2
c++: be permissive about eh spec mismatch for op new
r15-3532 made us more strict about exception-specification mismatches with the standard library, but let's still be permissive about operator new, since previously you needed to say throw(std::bad_alloc). gcc/cp/ChangeLog: * decl.cc (check_redeclaration_exception_specification): Be more lenient about ::operator new. gcc/testsuite/ChangeLog: * g++.dg/cpp0x/noexcept88.C: New test.
Diffstat (limited to 'gcc/c/c-parser.cc')
0 files changed, 0 insertions, 0 deletions