aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa.c
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@arm.com>2017-01-19 10:35:38 +0000
committerRichard Earnshaw <rearnsha@gcc.gnu.org>2017-01-19 10:35:38 +0000
commita57c520e2b884f8f52c03625b3ce2ca838a9427a (patch)
treec47101ed051263f16a24a2dc75fdb06684e3cf7a /gcc/tree-ssa.c
parentea83dcf68d805065fc63a98056a0504ffcf5c2aa (diff)
downloadgcc-a57c520e2b884f8f52c03625b3ce2ca838a9427a.zip
gcc-a57c520e2b884f8f52c03625b3ce2ca838a9427a.tar.gz
gcc-a57c520e2b884f8f52c03625b3ce2ca838a9427a.tar.bz2
[expand] Fix for PR rtl-optimization/79121 incorrect expansion of extend plus left shift
When generating a shift from an extended value moving from one to two machine registers, the type of the right shift is for the most significant word should be determined by the signedness of the inner type, not the signedness of the result type. gcc: PR rtl-optimization/79121 * expr.c (expand_expr_real_2, case LSHIFT_EXPR): Look at the signedness of the inner type when shifting an extended value. gcc/testsuite: * gcc.c-torture/execute/pr79121.c: New test. From-SVN: r244613
Diffstat (limited to 'gcc/tree-ssa.c')
0 files changed, 0 insertions, 0 deletions