Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/dist/gcc4/gcc/config/vax Handle another case the new gcc...
details: https://anonhg.NetBSD.org/src/rev/8f7decea85ad
branches: trunk
changeset: 773458:8f7decea85ad
user: matt <matt%NetBSD.org@localhost>
date: Thu Feb 02 18:33:03 2012 +0000
description:
Handle another case the new gcc_assert(0) caught.
diffstat:
gnu/dist/gcc4/gcc/config/vax/vax.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r f69b21f735a8 -r 8f7decea85ad gnu/dist/gcc4/gcc/config/vax/vax.c
--- a/gnu/dist/gcc4/gcc/config/vax/vax.c Thu Feb 02 18:32:16 2012 +0000
+++ b/gnu/dist/gcc4/gcc/config/vax/vax.c Thu Feb 02 18:33:03 2012 +0000
@@ -1547,6 +1547,8 @@
{
rtx a = XEXP (base, 0);
rtx b = XEXP (base, 1);
+ if (GET_CODE (b) == CONST)
+ b = XEXP (b, 0);
if (GET_CODE (b) == CONST_INT)
{
off += INTVAL (b);
@@ -1567,7 +1569,10 @@
off = 0;
}
else
- gcc_assert(0);
+ {
+ print_rtl(stderr, base); fprintf(stderr, "\n");
+ gcc_assert(0);
+ }
}
if (code == POST_INC)
tmp = gen_rtx_POST_INC (SImode, base);
Home |
Main Index |
Thread Index |
Old Index