diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-01-08 16:01:12 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-01-08 16:01:12 +0000 |
commit | 1fe75cf21288105fe5628a856f90440a77f614f0 (patch) | |
tree | a6a87fb093cb967de90353ff866ccad75a8602eb /gcc/expr.c | |
parent | 74a96ca91ee8e189726369fbad1179c50826148c (diff) | |
download | gcc-1fe75cf21288105fe5628a856f90440a77f614f0.tar.gz |
PR c++/68983 (BE)
PR c++/67557
gcc/
* function.c (assign_temp): Guard against TREE_ADDRESSABLE types here.
* expr.c (store_field): Not here.
* tree-cfgcleanup.c (fixup_noreturn_call): Don't clear LHS of a
call with TREE_ADDRESSABLE type.
* tree-cfg.c (verify_gimple_call): Adjust.
gcc/cp/
* cvt.c (convert_to_void): Don't strip a TARGET_EXPR of
TREE_ADDRESSABLE type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232167 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/expr.c b/gcc/expr.c index 8973893fad6..0c5dff8be97 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -6655,9 +6655,6 @@ store_field (rtx target, HOST_WIDE_INT bitsize, HOST_WIDE_INT bitpos, rtx temp; gimple *nop_def; - /* Using bitwise copy is not safe for TREE_ADDRESSABLE types. */ - gcc_assert (!TREE_ADDRESSABLE (TREE_TYPE (exp))); - /* If EXP is a NOP_EXPR of precision less than its mode, then that implies a mask operation. If the precision is the same size as the field we're storing into, that mask is redundant. This is |