strange problem with self-compiled software on FC 5 T2...

John Reiser jreiser at BitWagon.com
Mon Feb 6 22:06:04 UTC 2006


> Using gcc-3.5 on Debian-Sarge runs as expected, but on T2 and Rawhide j
> is set to 0 after fscanf!!!

Run under gdb, put a breakpoint on fscanf, upon arrival put a watchpoint on j:
	(gdb) print &j
	(gdb) watch *(int *)0x....
	(gdb) continue

> double x, y, z, korr, SekundeSat;
> long j, JahrSat;

It's conceivable that this is some fallout from the [impending ?] change
to long double.  Note that 'j' is declared just after some 'double' locals,
and "%lf" appears in the fscanf.

-- 




More information about the test mailing list