This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/27364] Gcc 4.2 miscompiles binutils



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]