summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-12-13 23:04:16 +0000
committermillert <millert@openbsd.org>2002-12-13 23:04:16 +0000
commit9dd4df3d9ffce8a4d88fe8d10068e3ab60d4fcda (patch)
tree8e0d90032b1224a73c0065d55230e01d7fb76a8f
parentSome more cleaning... (diff)
downloadwireguard-openbsd-9dd4df3d9ffce8a4d88fe8d10068e3ab60d4fcda.tar.xz
wireguard-openbsd-9dd4df3d9ffce8a4d88fe8d10068e3ab60d4fcda.zip
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@
-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';