From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15380 invoked by alias); 3 Nov 2008 13:36:48 -0000 Received: (qmail 5784 invoked by uid 48); 3 Nov 2008 13:35:26 -0000 Date: Mon, 03 Nov 2008 13:36:00 -0000 Message-ID: <20081103133526.5782.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/38001] regression in 4.3: alignment checks wrongly optimized away (runtime failure) In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "thomas dot orgis at awi dot de" 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: 2008-11/txt/msg00189.txt.bz2 ------- Comment #3 from thomas dot orgis at awi dot de 2008-11-03 13:35 ------- Are you saying that there is no way to protect my library from user programs that have misaligned stacks? The whole checking business is in vain, then? To sad that it working fine with older gccs made be believe that I do something usefule there in preventing segfaults. And: In any case, if -mpreferred-stack-boundary obviously contradicts the aligned attribute, couldn't gcc at least give a compile error on this? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38001