------- Comment #6 from sje at cup dot hp dot com  2010-02-02 17:25 -------
Jakub Jelinek suggested this patch to pa.c which fixes the compilation failure
but causes bad code generation.

static rtx pa_delegitimize_address (rtx);
#undef TARGET_DELEGITIMIZE_ADDRESS
#define TARGET_DELEGITIMIZE_ADDRESS pa_delegitimize_address
static rtx
pa_delegitimize_address (rtx orig_x)
{
  rtx x = delegitimize_mem_from_attrs (orig_x);

  if (GET_CODE (x) == LO_SUM
      && GET_CODE (XEXP (x, 1)) == UNSPEC
      && XINT (XEXP (x, 1), 1) == UNSPEC_DLTIND14R)
    return XVECEXP (XEXP (x, 1), 0, 0);
  return x;
}


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42924

Reply via email to