From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7525 invoked by alias); 19 Dec 2004 20:36:55 -0000 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 Received: (qmail 7488 invoked by uid 48); 19 Dec 2004 20:36:51 -0000 Date: Sun, 19 Dec 2004 20:36:00 -0000 From: "danglin at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org Message-ID: <20041219203650.19083.danglin@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug middle-end/19083] New: [4.0 Regression] FAIL: gcc.c-torture/execute/strct-pack-3.c execution, -O1 X-Bugzilla-Reason: CC X-SW-Source: 2004-12/txt/msg02772.txt.bz2 List-Id: The failure is caused by an (gdb) r Starting program: /mnt/gnu/gcc-3.3/objdir/gcc/testsuite/strct-pack-3.xg Program received signal SIGBUS, Bus error. 0x000029a8 in f () (gdb) disass f Dump of assembler code for function f: 0x00002998 : ldh 8(,r26),ret0 0x0000299c : extrw,s ret0,31,15,ret0 0x000029a0 : depw,z ret0,30,31,r19 0x000029a4 : ldi 2,r20 0x000029a8 : ldw 2(,r26),ret0 ... (gdb) p/x $r26 $1 = 0x7eff05b8 The r26 base register and the displacement of 2 must sum to zero modulo 4. Since it's the sum that matters for this insn, we don't require both the base and the displacement to be aligned. This worked in 3.[34]. -- Summary: [4.0 Regression] FAIL: gcc.c-torture/execute/strct-pack- 3.c execution, -O1 Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: danglin at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: hppa2.0w-hp-hpux11.11 GCC host triplet: hppa2.0w-hp-hpux11.11 GCC target triplet: hppa2.0w-hp-hpux11.11 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19083