This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/27364] Gcc 4.2 miscompiles binutils
- From: "hjl at lucon dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Apr 2006 14:25:41 -0000
- Subject: [Bug other/27364] Gcc 4.2 miscompiles binutils
- References: <bug-27364-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from hjl at lucon dot org 2006-04-30 14:25 -------
Andrew, I tried my best to find a testcase. The best I can do so far is to
put a testcase in binutils so that when you build binutils with gcc 4.2 on
Linux/x86 and Linux/x86-64, you will get an "make check" failure in gas. I
don't think anyone should have serious problems to get binutils from CVS. If
you don't think I should open this bug, just let me know. I will close it and
open a new one when I find a small testcase.
BTW, there was a typo in my email, it is when number_of_digits_to_use == 11,
gcc 4.2 gets 4 for
(number_of_digits_to_use * 3321928 / 1000000 + 1)
when -O2 is used. From assembler code, it always gets 4 no matter what
number_of_digits_to_use is.
--
hjl at lucon dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27364