From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9939 invoked by alias); 17 Jun 2010 04:13:22 -0000 Received: (qmail 9912 invoked by uid 48); 17 Jun 2010 04:13:08 -0000 Date: Thu, 17 Jun 2010 04:13:00 -0000 Message-ID: <20100617041308.9911.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/44505] [4.6 Regression] gcc.c-torture/execute/frame-address.c In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "amodra at gmail dot com" 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-06/txt/msg01750.txt.bz2 ------- Comment #6 from amodra at gmail dot com 2010-06-17 04:13 ------- Hmm. Well, perhaps the thing to do is ensure we don't get a tail call by making the same change as in http://gcc.gnu.org/ml/gcc-patches/2005-08/msg01726.html Index: gcc/testsuite/gcc.c-torture/execute/frame-address.c =================================================================== --- gcc/testsuite/gcc.c-torture/execute/frame-address.c (revision 160820) +++ gcc/testsuite/gcc.c-torture/execute/frame-address.c (working copy) @@ -25,7 +25,7 @@ int check_fa (char *unused) { const char c = 0; - return check_fa_mid (&c); + return check_fa_mid (&c) != 0; } int how_much (void) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44505