From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18201 invoked by alias); 30 Apr 2006 14:25:45 -0000 Received: (qmail 18190 invoked by uid 48); 30 Apr 2006 14:25:41 -0000 Date: Sun, 30 Apr 2006 14:25:00 -0000 Message-ID: <20060430142541.18189.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug other/27364] Gcc 4.2 miscompiles binutils In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "hjl at lucon dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-04/txt/msg02649.txt.bz2 List-Id: ------- 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