From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6521 invoked by alias); 12 Oct 2010 22:49:40 -0000 Received: (qmail 6500 invoked by uid 22791); 12 Oct 2010 22:49:37 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,MISSING_MID X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 12 Oct 2010 22:49:33 +0000 From: "hp at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/45962] [4.6 Regression]: many c/c++ failures on cris-elf, in r165236:165242 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: hp at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Tue, 12 Oct 2010 22:49:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-10/txt/msg01038.txt.bz2 Message-ID: <20101012224900.E8hbohKwO77x4ZWnqoQ6554zzSi_wlgoluuCW3mnKLA@z> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45962 --- Comment #14 from Hans-Peter Nilsson 2010-10-12 22:49:23 UTC --- Created attachment 22025 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22025 tarball with asm files and somewhat readable simulator traces Just dumping state. Not expecting anyone to follow it at this time, but then again it should be possible. sok.txt: simulator trace using -O0 at r16539. simd-5.s.ok: ditto generated assembly. sbad.txt: simulator trace using -O0 at r165240+c165382. (The assembly file from gcc.c-torture/execute/simd-5.c was used together with the tree from r16539 to avoid mixing up e.g. miscompilations of libgcc.a or newlib.) simd-5.s.bad: ditto generated assembly. The cris-elf src/sim simulator says, for r165240+c165382, generating sbad.txt: "core: 4 byte misaligned read to address 0x30002b at 0x486" (where "misaligned" is a misnomer for "access to undefined memory") On return to func2 register r7 is broken; it was saved on stack in func1, but the location on stack has been clobbered. I haven't yet figured out which function's stack-frame is borked / where exactly the saved value of r7 is clobbered. Tomorrow.