From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29360 invoked by alias); 5 Jan 2006 02:40:56 -0000 Received: (qmail 29340 invoked by uid 48); 5 Jan 2006 02:40:50 -0000 Date: Thu, 05 Jan 2006 02:40:00 -0000 Subject: [Bug rtl-optimization/25677] New: [4.2 regression] testsuite failure:gcc.c-torture/execute/960802-1.c -O1 and -O2 X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "hp at gcc dot gnu 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-01/txt/msg00478.txt.bz2 List-Id: Last known to work with: "Mon Dec 12 22:04:54 UTC 2005 (revision 108426M)". Known to fail with: "Mon Jan 2 13:08:54 UTC 2006 (revision 109236M)": Running /home/hp/combined/combined/gcc/testsuite/gcc.c-torture/execute/execute.exp ... FAIL: gcc.c-torture/execute/960802-1.c execution, -O1 FAIL: gcc.c-torture/execute/960802-1.c execution, -O2 With the message in gcc.log showing an abort call. The assembly code acts as if the line v = (v & 0x00ffffff) | (o & 0xff000000); was v = o; (actually there are no instructions which is the same as passing on the return value from the previous call as the first parameter in this ABI.) Looking at the RTL dumps, it seems combine is at fault; all the bit fiddling is gone. As there has been changes in this area after Jan 2, I expect it to have been fixed but it seemed proper to add this PR before updating. I assign it to myself until I've checked whether it remains, so no-one is tempted to do a wild goose chase. -- Summary: [4.2 regression] testsuite failure:gcc.c- torture/execute/960802-1.c -O1 and -O2 Product: gcc Version: 4.2.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: hp at gcc dot gnu dot org ReportedBy: hp at gcc dot gnu dot org GCC host triplet: i686-pc-linux-gnu GCC target triplet: cris-axis-elf, cris-axis-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25677