2007-10-08 Pedro Alves Revert: 2007-08-10 Michael Snyder * stabsread.c (read_huge_number): Attempt to compute value before values that it depends on. --- gdb/stabsread.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) Index: src/gdb/stabsread.c =================================================================== --- src.orig/gdb/stabsread.c 2007-09-05 01:51:48.000000000 +0100 +++ src/gdb/stabsread.c 2007-10-07 23:08:02.000000000 +0100 @@ -3711,7 +3711,7 @@ read_huge_number (char **pp, int end, in int nbits = 0; int c; long upper_limit; - int twos_complement_representation; + int twos_complement_representation = radix == 8 && twos_complement_bits > 0; if (*p == '-') { @@ -3727,7 +3727,6 @@ read_huge_number (char **pp, int end, in p++; } - twos_complement_representation = radix == 8 && twos_complement_bits > 0; upper_limit = LONG_MAX / radix; while ((c = *p++) >= '0' && c < ('0' + radix))