summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-03-08 19:20:22 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-03-08 19:20:22 +0000
commit6330a6541b3b4bf8f4a099f89f797ef6683dd615 (patch)
tree8abde7e9a5e0704351cd898bd0363202d516e249
parent4b90571ce544237c19eb9980b26de299ba70c601 (diff)
downloadppe42-gcc-6330a6541b3b4bf8f4a099f89f797ef6683dd615.tar.gz
ppe42-gcc-6330a6541b3b4bf8f4a099f89f797ef6683dd615.zip
* i386.md (strlensi): Initialize eoschar and align before use.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32428 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/config/i386/i386.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index 6d66b063a7d..b55128eac76 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -8591,7 +8591,9 @@
""
"
{
- rtx out, addr, eoschar, align, scratch1, scratch2, scratch3;
+ rtx out, addr, scratch1, scratch2, scratch3;
+ rtx eoschar = operands[2];
+ rtx align = operands[3];
/* The generic case of strlen expander is long. Avoid it's
expanding unless TARGET_INLINE_ALL_STRINGOPS. */
@@ -8603,8 +8605,6 @@
out = operands[0];
addr = force_reg (Pmode, XEXP (operands[1], 0));
- eoschar = operands[2];
- align = operands[3];
scratch1 = gen_reg_rtx (SImode);
if (TARGET_UNROLL_STRLEN && eoschar == const0_rtx && optimize > 1
OpenPOWER on IntegriCloud