From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 65513 invoked by alias); 15 Aug 2015 10:14:25 -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 Received: (qmail 65428 invoked by uid 48); 15 Aug 2015 10:14:20 -0000 From: "mikpelinux at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/67223] Address misaligned for ldrexd Date: Sat, 15 Aug 2015 10:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mikpelinux at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-08/txt/msg01037.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67223 --- Comment #1 from Mikael Pettersson --- You didn't provide a self-contained test case. After extracting stats_record and the stats declaration from the source to linked to and providing my own stats_alloc (I'm not using your zcalloc), I cannot reproduce the SIGBUS. (Tried it on a Cortex-A9 system.) The alignment of a stats struct is 8. Verify that your allocator returns correctly aligned objects. And do provide a self-contained test case -- one that compiles, runs, and provokes the crash.