From 3ef879d2ae66c759cf4c5c11f2d360eab30f4a2d Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Fri, 7 Feb 2003 22:50:09 +0000 Subject: [PATCH] mips-tfile.c (parse_def): Parenthesize assignments to fix precedence bugs. 2003-02-04 Fred Fish * mips-tfile.c (parse_def): Parenthesize assignments to fix precedence bugs. From-SVN: r62553 --- gcc/ChangeLog | 11 ++++++++--- gcc/mips-tfile.c | 6 +++--- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 10425014be4..9f895084ba3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ +2003-02-07 Fred Fish + + * mips-tfile.c (parse_def): Parenthesize assignments to fix + precedence bugs. + 2003-02-07 Segher Boessenkool - + * genoutput.c (output_get_insn_name): Handle NOOP_MOVE_INSN_CODE. 2003-02-07 Roger Sayle @@ -265,7 +270,7 @@ Wed Feb 5 23:12:57 CET 2003 Jan Hubicka 2003-02-04 Ulrich Weigand * reload.c (find_reloads): Do not use the mode specified in the insn - pattern as reload mode for address operands. Do not generate optional + pattern as reload mode for address operands. Do not generate optional reloads for operands where a mandatory reload was already pushed. 2003-02-04 Richard Henderson @@ -274,7 +279,7 @@ Wed Feb 5 23:12:57 CET 2003 Jan Hubicka builtins instead of inline assembly. 2003-02-04 Falk Hueffner - + PR c/9376 * libgcc2.c (__subvdi3): Fix typo. diff --git a/gcc/mips-tfile.c b/gcc/mips-tfile.c index 0f72aee7c0e..442d3834487 100644 --- a/gcc/mips-tfile.c +++ b/gcc/mips-tfile.c @@ -2950,7 +2950,7 @@ parse_def (name_start) { int ch2; arg_number = strtol (arg_start, (char **) &arg_end_p1, 0); - if (arg_end_p1 != arg_start || (ch2 = *arg_end_p1 != ';') || ch2 != ',') + if (arg_end_p1 != arg_start || ((ch2 = *arg_end_p1) != ';') || ch2 != ',') arg_was_number++; } @@ -3006,7 +3006,7 @@ parse_def (name_start) { int ch2; arg_number = strtol (arg_start, (char **) &arg_end_p1, 0); - if (arg_end_p1 != arg_start || (ch2 = *arg_end_p1 != ';') || ch2 != ',') + if (arg_end_p1 != arg_start || ((ch2 = *arg_end_p1) != ';') || ch2 != ',') arg_was_number++; if (t_ptr == &temp_array[0]) @@ -3080,7 +3080,7 @@ parse_def (name_start) { int ch2; arg_number = strtol (arg_start, (char **) &arg_end_p1, 0); - if (arg_end_p1 != arg_start || (ch2 = *arg_end_p1 != ';') || ch2 != ',') + if (arg_end_p1 != arg_start || ((ch2 = *arg_end_p1) != ';') || ch2 != ',') arg_was_number++; if (t_ptr == &temp_array[0]) -- 2.30.2