X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fcasereader.c;h=c8050c6cde4c7b2a35d6d2b45aa752c3ecbee1e8;hb=3ef1eb1a12de0f0ff783b43e8902fef275e08cbc;hp=adb6b6a909b134e815836aa75cbf0b1263d79b68;hpb=0b0ca44889e637251cb5f2dbf3c7fdc4ec8b9bd7;p=pspp diff --git a/src/data/casereader.c b/src/data/casereader.c index adb6b6a909..c8050c6cde 100644 --- a/src/data/casereader.c +++ b/src/data/casereader.c @@ -242,19 +242,6 @@ casereader_count_cases__ (const struct casereader *reader, struct casereader *clone; casenumber n_cases; - /* This seems to avoid a bug in Gcc 4.4.5 where, upon - return from this function, the stack appeared corrupt, - and the program returned to the wrong address. Oddly - the problem only manifested itself when used in conjunction - with the ODS reader, in code such as: - - GET DATA /TYPE=ODS .... - LIST. - */ -#if (__GNUC__ == 4 ) && (__GNUC_MINOR__ == 4) - volatile int x = 1; x++; -#endif - clone = casereader_clone (reader); n_cases = casereader_advance (clone, max_cases); casereader_destroy (clone);