summaryrefslogtreecommitdiff
path: root/gcc/mips-tfile.c
diff options
context:
space:
mode:
authorechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>2003-02-07 22:50:09 +0000
committerechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>2003-02-07 22:50:09 +0000
commitaaf2d92f959dbf231ede0961c0c66e7f71db4374 (patch)
treee239ec04f30f643081fe2d0ac1d28675362159b9 /gcc/mips-tfile.c
parent4951824ab88a50e5787fda38f73ef7ed36fe9630 (diff)
downloadgcc-aaf2d92f959dbf231ede0961c0c66e7f71db4374.tar.gz
2003-02-04 Fred Fish <fnf@intrinsity.com>
* mips-tfile.c (parse_def): Parenthesize assignments to fix precedence bugs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62553 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/mips-tfile.c')
-rw-r--r--gcc/mips-tfile.c6
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])