diff options
author | Fred Fish <fnf@intrinsity.com> | 2003-02-07 22:50:09 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gcc.gnu.org> | 2003-02-07 22:50:09 +0000 |
commit | 3ef879d2ae66c759cf4c5c11f2d360eab30f4a2d (patch) | |
tree | e239ec04f30f643081fe2d0ac1d28675362159b9 /gcc/mips-tfile.c | |
parent | a0f0e963024592c74b4a766ac1343011491090bc (diff) | |
download | gcc-3ef879d2ae66c759cf4c5c11f2d360eab30f4a2d.tar.gz |
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
Diffstat (limited to 'gcc/mips-tfile.c')
-rw-r--r-- | gcc/mips-tfile.c | 6 |
1 files changed, 3 insertions, 3 deletions
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]) |