Module Name: src Committed By: matt Date: Thu Feb 2 18:33:04 UTC 2012
Modified Files: src/gnu/dist/gcc4/gcc/config/vax: vax.c Log Message: Handle another case the new gcc_assert(0) caught. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/gnu/dist/gcc4/gcc/config/vax/vax.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/gnu/dist/gcc4/gcc/config/vax/vax.c diff -u src/gnu/dist/gcc4/gcc/config/vax/vax.c:1.16 src/gnu/dist/gcc4/gcc/config/vax/vax.c:1.17 --- src/gnu/dist/gcc4/gcc/config/vax/vax.c:1.16 Thu Feb 2 13:32:17 2012 +++ src/gnu/dist/gcc4/gcc/config/vax/vax.c Thu Feb 2 18:33:03 2012 @@ -1547,6 +1547,8 @@ mkrtx(enum rtx_code code, enum machine_m { 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 @@ mkrtx(enum rtx_code code, enum machine_m 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);