diff options
author | Nathan Sidwell <nathan@acm.org> | 2016-04-01 12:10:17 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2016-04-01 12:10:17 +0000 |
commit | f9bf89bb6a91192cfd37c5ba9823245c5f91a133 (patch) | |
tree | c3fa1d2d7c3ec986ecf88309c6206c316b44041a /gcc/omp-low.c | |
parent | 4afdcfaa6f925047857feebc13d50a4583a75eb0 (diff) | |
download | gcc-f9bf89bb6a91192cfd37c5ba9823245c5f91a133.zip gcc-f9bf89bb6a91192cfd37c5ba9823245c5f91a133.tar.gz gcc-f9bf89bb6a91192cfd37c5ba9823245c5f91a133.tar.bz2 |
re PR c++/68475 (ICE: in merge_exception_specifiers, at cp/typeck2.c:2115 with -fno-exceptions on invalid code)
PR c++/68475
* decl.c (check_redeclaration_exception_specification): Check
regardless of -fno-exceptions.
* typeck2.c (merge_exception_specifiers): Relax assert by checking
flag_exceptions too.
* g++.dg/g++.dg/cpp0x/noexcept29.C: New.
From-SVN: r234667
Diffstat (limited to 'gcc/omp-low.c')
0 files changed, 0 insertions, 0 deletions