From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 61914 invoked by alias); 29 Apr 2015 10:26:27 -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 61904 invoked by uid 89); 29 Apr 2015 10:26:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f52.google.com Received: from mail-pa0-f52.google.com (HELO mail-pa0-f52.google.com) (209.85.220.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 29 Apr 2015 10:26:26 +0000 Received: by pacwv17 with SMTP id wv17so24156708pac.0 for ; Wed, 29 Apr 2015 03:26:24 -0700 (PDT) X-Received: by 10.66.139.234 with SMTP id rb10mr40544998pab.153.1430303184026; Wed, 29 Apr 2015 03:26:24 -0700 (PDT) Received: from ?IPv6:2602:304:cfd0:15a0:a892:7c01:ac44:75c7? ([2602:304:cfd0:15a0:a892:7c01:ac44:75c7]) by mx.google.com with ESMTPSA id ax2sm25132093pac.21.2015.04.29.03.26.22 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 29 Apr 2015 03:26:22 -0700 (PDT) References: <1633828.L6eKc0dpVU@polaris> Mime-Version: 1.0 (1.0) In-Reply-To: <1633828.L6eKc0dpVU@polaris> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: Cc: "gcc-patches@gcc.gnu.org" , David Edelsohn From: pinskia@gmail.com Subject: Re: [rs6000] Fix compare debug failure on AIX Date: Wed, 29 Apr 2015 10:37:00 -0000 To: Eric Botcazou X-IsSubscribed: yes X-SW-Source: 2015-04/txt/msg01851.txt.bz2 > On Apr 29, 2015, at 3:22 AM, Eric Botcazou wrote: >=20 > You can easily get -fcompare-debug failures on AIX with small functions, = in=20 > fact you get the failure for the empty function: >=20 > void foo (void) {} >=20 > eric@polaris:~/build/gcc/powerpc-ibm-aix7.1> gcc/xgcc -Bgcc -S t.c -O - > fcompare-debug > xgcc: error: t.c: -fcompare-debug failure (length) >=20 > Fixed thusly, tested on powerpc-ibm-aix7.1, OK for the mainline? >=20 >=20 > 2015-04-29 Eric Botcazou >=20 > * config/rs6000/rs6000.c (rs6000_stack_info): For XCOFF, replace test > on debug info with test on optimization to decide stack pushing. We might want to check if doing -Og and not just -O0.=20 Thanks, Andrew >=20 >=20 > 2015-04-29 Eric Botcazou >=20 > * gcc.dg/empty3.c: New test. >=20 >=20 > --=20 > Eric Botcazou > >