Gcc 4.2 miscompiles binutils on Linux/x86 and Linux/x86-64. When gcc 4.2 is used, "make check" in binutils from CVS will have one failure in gas. The problem is
more_than_enough_bits_for_digits = (number_of_digits_to_use * 3321928 / 1000000 + 1); around line 347 in gas/atof-generic.c is computed as 4 when -O2 is used. -- Summary: Gcc 4.2 miscompiles binutils Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: major Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hjl at lucon dot org GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27364