Guido van Rossum added the comment: I've tracked my problem to the GCC optimizer. The default optimizer setting is -O3. When I edit the Makefile to change this to -O1 or -O0 and recompile (only) doubledigits.c, repr(1e5) starts returning '100000.0' again. -O2 behaves the same as -O3.
Now, don't immediately start pointing fingers to the optimizer; it's quite possible that the code depends on behavior that the C standard doesn't actually guarantee. The code looks quote complicated. This is with GCC 4.0.3. __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1580> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com