diff options
author | pfg <pfg@FreeBSD.org> | 2013-12-19 18:27:32 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2013-12-19 18:27:32 +0000 |
commit | 5bb8e5ec991cba54e03038e77c1c231ca25c1806 (patch) | |
tree | a51bbcc143a5d767a0e12a321330e84b45eeb0f1 /contrib/gcc/gimplify.c | |
parent | 1e2fa9f6954dcd4e37f6d8d0fc3dab9a3820d3f0 (diff) | |
download | FreeBSD-src-5bb8e5ec991cba54e03038e77c1c231ca25c1806.zip FreeBSD-src-5bb8e5ec991cba54e03038e77c1c231ca25c1806.tar.gz |
gcc: backport upstream fix for issue with C++'s placement new
Fixes GCC libstdc++/29286
Obtained from: gcc 4.3 (rev. 125603, 125653; GPLv2)
MFC after: 2 weeks
Diffstat (limited to 'contrib/gcc/gimplify.c')
-rw-r--r-- | contrib/gcc/gimplify.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/gcc/gimplify.c b/contrib/gcc/gimplify.c index be45f47..b0270a9 100644 --- a/contrib/gcc/gimplify.c +++ b/contrib/gcc/gimplify.c @@ -5748,6 +5748,11 @@ gimplify_expr (tree *expr_p, tree *pre_p, tree *post_p, ret = GS_ALL_DONE; break; + case CHANGE_DYNAMIC_TYPE_EXPR: + ret = gimplify_expr (&CHANGE_DYNAMIC_TYPE_LOCATION (*expr_p), + pre_p, post_p, is_gimple_reg, fb_lvalue); + break; + case OBJ_TYPE_REF: { enum gimplify_status r0, r1; |