[Patch, cilk, C++] Fix cilk testsuite failure

Steve Ellcey sellcey@mips.com
Thu Jan 16 23:23:00 GMT 2014


On Thu, 2014-01-16 at 13:16 -0800, Andrew Pinski wrote:

> I think the following patch to mips.c should fix the issue:
> @@ -8092,7 +8125,7 @@ mips_print_operand (FILE *file, rtx op, int letter)
>      case 't':
>        {
>         int truth = (code == NE) == (letter == 'T');
> -       fputc ("zfnt"[truth * 2 + (GET_MODE (op) == CCmode)], file);
> +       fputc ("zfnt"[truth * 2 + (GET_MODE (XEXP (op, 0)) == CCmode)], file);
>        }
>        break;

Yes, that patch fixed my problem and caused no regressions with my
mips-mti-linux-gnu target.  Can you submit a formal patch for
checkin?  Or would you like me to do that?

Steve Ellcey
sellcey@mips.com




More information about the Gcc-patches mailing list