diff options
author | Richard Biener <rguenther@suse.de> | 2016-02-08 10:04:18 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2016-02-08 10:04:18 +0000 |
commit | 63998a6336239da20540a9e4b529d839ed2db26e (patch) | |
tree | 8d1a5a7532aba53531b52e607ed30ac5c716273f /gcc/tree-ssanames.c | |
parent | ffe9a0a76e4212d8ec2b41d756ae82ef84d13d40 (diff) | |
download | gcc-63998a6336239da20540a9e4b529d839ed2db26e.zip gcc-63998a6336239da20540a9e4b529d839ed2db26e.tar.gz gcc-63998a6336239da20540a9e4b529d839ed2db26e.tar.bz2 |
re PR target/68273 (Wrong code on mips/mipsel due to (invalid?) peeking at alignments in function_arg.)
2016-02-08 Richard Biener <rguenther@suse.de>
Jeff Law <law@redhat.com>
PR target/68273
* tree-ssanames.c (make_ssa_name_fn): Always use unqualified
types for anonymous SSA names.
* gcc.target/mips/pr68273.c: New testcase.
Co-Authored-By: Jeff Law <law@redhat.com>
From-SVN: r233211
Diffstat (limited to 'gcc/tree-ssanames.c')
-rw-r--r-- | gcc/tree-ssanames.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssanames.c b/gcc/tree-ssanames.c index d6897c7..b72c7cb 100644 --- a/gcc/tree-ssanames.c +++ b/gcc/tree-ssanames.c @@ -286,7 +286,7 @@ make_ssa_name_fn (struct function *fn, tree var, gimple *stmt) if (TYPE_P (var)) { - TREE_TYPE (t) = var; + TREE_TYPE (t) = TYPE_MAIN_VARIANT (var); SET_SSA_NAME_VAR_OR_IDENTIFIER (t, NULL_TREE); } else |