From: Andrew Pinski Date: Fri, 17 Jan 2014 18:07:18 +0000 (+0000) Subject: re PR target/59462 (c-c++-common/cilk-plus/AN/builtin_func_double2.c fails on MIPS) X-Git-Tag: releases/gcc-4.9.0~1600 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3b9c787b5765717c5284543ef4140bd840b2bf36;p=thirdparty%2Fgcc.git re PR target/59462 (c-c++-common/cilk-plus/AN/builtin_func_double2.c fails on MIPS) 2014-01-17 Andrew Pinski Steve Ellcey PR target/59462 * config/mips/mips.c (mips_print_operand): Check operand mode instead of operator mode. Co-Authored-By: Steve Ellcey From-SVN: r206724 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 76f5c6e0c270..6798353e13b9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2014-01-17 Andrew Pinski + Steve Ellcey + + PR target/59462 + * config/mips/mips.c (mips_print_operand): Check operand mode instead + of operator mode. + 2014-01-17 Jeff Law PR middle-end/57904 diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 617391cdcb11..ff28750d5e4f 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -8184,7 +8184,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 + ST_REG_P (REGNO (XEXP (op, 0)))], file); } break;