summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/gas
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-12-13 23:04:17 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-12-13 23:04:17 +0000
commitd6f00f7c1e6a7faa64eac8f6048484063cd09816 (patch)
treea8fa0fb2a4f8c814b5408ed9e2b3a403b44e7678 /gnu/usr.bin/binutils/gas
parent701646b2be2242f3f50f0f397f7745cf98729b88 (diff)
Reverse the order of a test in the loop invariant. It makes more
sense this way and works around an apparent gcc optimizer bug on macppc related to inline functions. OK drahn@
Diffstat (limited to 'gnu/usr.bin/binutils/gas')
-rw-r--r--gnu/usr.bin/binutils/gas/read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/gas/read.c b/gnu/usr.bin/binutils/gas/read.c
index 32050c4f208..da829489305 100644
--- a/gnu/usr.bin/binutils/gas/read.c
+++ b/gnu/usr.bin/binutils/gas/read.c
@@ -4635,7 +4635,7 @@ next_char_of_string ()
int i;
for (i = 0, number = 0;
- isdigit (c) && i < 3;
+ i < 3 && isdigit (c);
c = *input_line_pointer++, i++)
{
number = number * 8 + c - '0';