aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@gcc.gnu.org>2017-11-27 14:13:22 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2017-11-27 14:13:22 +0100
commitcb358080c908eedc600855bd689f5bd349f5ac98 (patch)
treef6d8a5086d6acee3218bc636a68083d0ac0969c2 /gcc/tree.c
parent04f915037850166c05c73baf3d6e2ba10c790ea1 (diff)
downloadgcc-cb358080c908eedc600855bd689f5bd349f5ac98.zip
gcc-cb358080c908eedc600855bd689f5bd349f5ac98.tar.gz
gcc-cb358080c908eedc600855bd689f5bd349f5ac98.tar.bz2
re PR c++/81675 (attribute(noreturn) of destructor in :? not honored)
PR c++/81675 * cp-gimplify.c (cp_fold) <case COND_EXPR>: Don't return immediately for VOID_TYPE_P COND_EXPRs, instead fold the operands and if op0 is INTEGER_CST, ensure that both op1 and op2 are non-NULL and fall through into normal folding, otherwise just rebuild x if any op changed. * g++.dg/warn/pr81675.C: New test. From-SVN: r255167
Diffstat (limited to 'gcc/tree.c')
0 files changed, 0 insertions, 0 deletions