Commit 3ef879d2 by Fred Fish Committed by Eric Christopher

mips-tfile.c (parse_def): Parenthesize assignments to fix precedence bugs.

2003-02-04  Fred Fish  <fnf@intrinsity.com>

        * mips-tfile.c (parse_def): Parenthesize assignments to fix
        precedence bugs.

From-SVN: r62553
parent a0f0e963
2003-02-07 Fred Fish <fnf@intrinsity.com>
* mips-tfile.c (parse_def): Parenthesize assignments to fix
precedence bugs.
2003-02-07 Segher Boessenkool <segher@koffie.nl>
* genoutput.c (output_get_insn_name): Handle NOOP_MOVE_INSN_CODE.
......
......@@ -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])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment