Module Name: src Committed By: matt Date: Wed Jun 4 16:11:33 UTC 2014
Modified Files: src/external/gpl3/gcc/dist/gcc/config/vax: vax.c Log Message: Don't match an indexed address of the form val[reg]. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gcc/dist/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/external/gpl3/gcc/dist/gcc/config/vax/vax.c diff -u src/external/gpl3/gcc/dist/gcc/config/vax/vax.c:1.8 src/external/gpl3/gcc/dist/gcc/config/vax/vax.c:1.9 --- src/external/gpl3/gcc/dist/gcc/config/vax/vax.c:1.8 Tue Jun 3 22:34:28 2014 +++ src/external/gpl3/gcc/dist/gcc/config/vax/vax.c Wed Jun 4 16:11:32 2014 @@ -2354,8 +2354,10 @@ vax_decomposed_dimode_operand_p (rtx lo, if (GET_CODE (lo) == PLUS) { - /* If PLUS, this must an indexed address so fail. */ - if (GET_CODE (XEXP (lo, 0)) == PLUS || !CONST_INT_P (XEXP (lo, 1))) + /* If PLUS or MULT, this must an indexed address so fail. */ + if (GET_CODE (XEXP (lo, 0)) == PLUS + || GET_CODE (XEXP (lo, 0)) == MULT + || !CONST_INT_P (XEXP (lo, 1))) return false; lo_offset = INTVAL (XEXP (lo, 1)); lo = XEXP(lo, 0); @@ -2363,8 +2365,10 @@ vax_decomposed_dimode_operand_p (rtx lo, if (GET_CODE (hi) == PLUS) { - /* If PLUS, this must an indexed address so fail. */ - if (GET_CODE (XEXP (hi, 0)) == PLUS || !CONST_INT_P (XEXP (hi, 1))) + /* If PLUS or MULT, this must an indexed address so fail. */ + if (GET_CODE (XEXP (hi, 0)) == PLUS + || GET_CODE (XEXP (hi, 0)) == MULT + || !CONST_INT_P (XEXP (hi, 1))) return false; hi_offset = INTVAL (XEXP (hi, 1)); hi = XEXP(hi, 0);