From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3036 invoked by alias); 22 Apr 2011 19:50:21 -0000 Received: (qmail 3028 invoked by uid 22791); 22 Apr 2011 19:50:20 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 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; Fri, 22 Apr 2011 19:50:07 +0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/48142] [4.6/4.7 Regression] miscompilation with -Os -mpreferred-stack-boundary=5 -fstack-check X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.6.1 X-Bugzilla-Changed-Fields: Message-ID: 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: Fri, 22 Apr 2011 19:50: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: 2011-04/txt/msg02388.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48142 --- Comment #8 from Eric Botcazou 2011-04-22 19:49:10 UTC --- > This test fails again after the fix for PR target/48723 [1,2]. Sure, stack checking is totally broken: Running /home/eric/svn/gcc/gcc/testsuite/gnat.dg/dg.exp ... FAIL: gnat.dg/stack_check1.adb (test for excess errors) WARNING: gnat.dg/stack_check1.adb compilation failed to produce executable FAIL: gnat.dg/stack_check2.adb (test for excess errors) WARNING: gnat.dg/stack_check2.adb compilation failed to produce executable FAIL: c52103x FAIL: c52104x FAIL: c52104y FAIL: cb1010a FAIL: cb1010c FAIL: cb1010d FAIL: g++.dg/other/i386-9.C (internal compiler error) FAIL: g++.dg/other/i386-9.C (test for excess errors) I don't understand how the patch can have been installed. I'd suggest reverting it ASAP (and assigning PR target/48723 to me).