From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 35317 invoked by alias); 2 May 2015 10:05:28 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 35304 invoked by uid 89); 2 May 2015 10:05:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 X-HELO: smtp.eu.adacore.com Received: from mel.act-europe.fr (HELO smtp.eu.adacore.com) (194.98.77.210) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Sat, 02 May 2015 10:05:26 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id C4BD22831211; Sat, 2 May 2015 12:05:15 +0200 (CEST) Received: from smtp.eu.adacore.com ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FbP6qP9hqobC; Sat, 2 May 2015 12:05:15 +0200 (CEST) Received: from polaris.localnet (bon31-6-88-161-99-133.fbx.proxad.net [88.161.99.133]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.eu.adacore.com (Postfix) with ESMTPSA id 29F2E2831200; Sat, 2 May 2015 12:05:14 +0200 (CEST) From: Eric Botcazou To: David Edelsohn Cc: gcc-patches@gcc.gnu.org, Andrew Pinski Subject: Re: [rs6000] Fix compare debug failure on AIX Date: Sat, 02 May 2015 10:05:00 -0000 Message-ID: <11730594.qrxZLO7yKG@polaris> User-Agent: KMail/4.7.2 (Linux/3.1.10-1.29-desktop; KDE/4.7.2; x86_64; ; ) In-Reply-To: References: <1633828.L6eKc0dpVU@polaris> <1752984.z0ljzjyPbr@polaris> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-SW-Source: 2015-05/txt/msg00125.txt.bz2 > Why should GCC unnecessarily create stack frames to avoid > compare-debug testcase failures? I'm not sure I understand the question... compare-debug failures are failures (-g is not supposed to change the generated code and this XCOFF-specific bug was reported to us) so they need to be fixed. >From there on, as Alan said, there are 2 cases: either AIX needs a frame for debugging or it doesn't. If the latter, then the lines can simply be deleted. If the former, we have to draw a line somewhere; Alan suggests always creating a frame while I suggest creating it only at -O0 and -Og. -- Eric Botcazou