aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1997-08-14 23:29:33 -0600
committerJeff Law <law@gcc.gnu.org>1997-08-14 23:29:33 -0600
commit5d38efae9205f5df8139f2df9eb7e67303a75b3a (patch)
tree003a93b7999db6eae694e19c3c5a06e8b3541594
parentb3261d1fd3e0b6c525de040093d6d25a24b836a6 (diff)
downloadgcc-5d38efae9205f5df8139f2df9eb7e67303a75b3a.zip
gcc-5d38efae9205f5df8139f2df9eb7e67303a75b3a.tar.gz
gcc-5d38efae9205f5df8139f2df9eb7e67303a75b3a.tar.bz2
toplev.c (main): In -g handling code, add code to set len.
* toplev.c (main): In -g handling code, add code to set len. * alpha.md (extendqihi2): Use HImode not QImode in force_reg call. Brought over from gcc2. From-SVN: r14801
-rw-r--r--gcc/config/alpha/alpha.md2
-rw-r--r--gcc/toplev.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/alpha/alpha.md b/gcc/config/alpha/alpha.md
index df12a61..a1d3b2b 100644
--- a/gcc/config/alpha/alpha.md
+++ b/gcc/config/alpha/alpha.md
@@ -1034,7 +1034,7 @@
}
operands[0] = gen_lowpart (DImode, operands[0]);
- operands[1] = gen_lowpart (DImode, force_reg (HImode, operands[1]));
+ operands[1] = gen_lowpart (DImode, force_reg (QImode, operands[1]));
operands[2] = gen_reg_rtx (DImode);
}")
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 790a51b..821dab6 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -4143,6 +4143,7 @@ main (argc, argv, envp)
if (*p && (*p < '0' || *p > '9'))
continue;
q = p;
+ len = p - str;
while (*q && (*q >= '0' && *q <= '9'))
q++;
if (*p)