aboutsummaryrefslogtreecommitdiff
path: root/libcpp/errors.c
diff options
context:
space:
mode:
authorPaolo Carlini <paolo.carlini@oracle.com>2008-07-21 09:08:41 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2008-07-21 09:08:41 +0000
commite24313f349328c3fc973375cab9c3818388308ba (patch)
tree86d6438f19499a000e4686812d3cfedd05692dd2 /libcpp/errors.c
parentc499b30003602aeb92a5619a5f2f2602ee09cbb8 (diff)
downloadgcc-e24313f349328c3fc973375cab9c3818388308ba.zip
gcc-e24313f349328c3fc973375cab9c3818388308ba.tar.gz
gcc-e24313f349328c3fc973375cab9c3818388308ba.tar.bz2
re PR c++/36870 (__has_nothrow_constructor violates the ODR)
/cp 2008-07-21 Paolo Carlini <paolo.carlini@oracle.com> PR c++/36870 * semantics.c (classtype_has_nothrow_assign_or_copy_p): Use TYPE_NOTHROW_P, not TREE_NOTHROW. (trait_expr_value): Likewise. /testsuite 2008-07-21 Paolo Carlini <paolo.carlini@oracle.com> PR c++/36870 * g++.dg/ext/has_nothrow_assign_odr.C: New. * g++.dg/ext/has_nothrow_copy_odr.C: Likewise. * g++.dg/ext/has_nothrow_constructor_odr.C: Likewise. * g++.dg/ext/has_nothrow_assign.C: Adjust. * g++.dg/ext/has_nothrow_copy.C: Likewise. * g++.dg/ext/has_nothrow_constructor.C: Likewise. From-SVN: r138024
Diffstat (limited to 'libcpp/errors.c')
0 files changed, 0 insertions, 0 deletions