summaryrefslogtreecommitdiff
path: root/gcc/var-tracking.c
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2013-12-14 15:24:58 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2013-12-14 15:24:58 +0000
commit416665476f1a049bedd9701cd45ca2d1092a4089 (patch)
tree6bc98c2b971bacd64ab72231944ae7638b59a7f8 /gcc/var-tracking.c
parent1d84a51ce43cf9358213b9be6290cf8da8485276 (diff)
downloadgcc-416665476f1a049bedd9701cd45ca2d1092a4089.tar.gz
* var-tracking.c (add_stores): Fix oversight in latest commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205986 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/var-tracking.c')
-rw-r--r--gcc/var-tracking.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/var-tracking.c b/gcc/var-tracking.c
index f38cbe15bbc..8eb86bf4feb 100644
--- a/gcc/var-tracking.c
+++ b/gcc/var-tracking.c
@@ -5938,6 +5938,7 @@ add_stores (rtx loc, const_rtx expr, void *cuip)
&& REG_EXPR (loc)
&& TREE_CODE (REG_EXPR (loc)) == PARM_DECL
&& DECL_MODE (REG_EXPR (loc)) != BLKmode
+ && TREE_CODE (TREE_TYPE (REG_EXPR (loc))) != UNION_TYPE
&& ((MEM_P (DECL_INCOMING_RTL (REG_EXPR (loc)))
&& XEXP (DECL_INCOMING_RTL (REG_EXPR (loc)), 0) != arg_pointer_rtx)
|| (GET_CODE (DECL_INCOMING_RTL (REG_EXPR (loc))) == PARALLEL