From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27720 invoked by alias); 14 Oct 2012 19:26:36 -0000 Received: (qmail 27668 invoked by uid 48); 14 Oct 2012 19:26:21 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/54404] [4.8 Regression] *cfstring* failures for (obj-c|g)++ on *-apple-darwin* after revision 186978 Date: Sun, 14 Oct 2012 19:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.0 X-Bugzilla-Changed-Fields: CC Summary 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 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: 2012-10/txt/msg01329.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54404 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dodji at gcc dot gnu.org Summary|[4.8 Regression] *cfstring* |[4.8 Regression] *cfstring* |failures for (obj-c|g)++ on |failures for (obj-c|g)++ on |*-apple-darwin* after |*-apple-darwin* after |revision 186789 |revision 186978 --- Comment #3 from Dominique d'Humieres 2012-10-14 19:26:21 UTC --- After having applied the patch for r189391, a bissection gives the range 186973 (old behavior) 186980 (new one). I think the change occurs after 186977 and the patch is obvious (see objc.dg/foreach-7.m at r186976): --- ../_clean/gcc/testsuite/g++.dg/other/darwin-cfstring1.C 2010-10-23 22:17:07.000000000 +0200 +++ gcc/testsuite/g++.dg/other/darwin-cfstring1.C 2012-10-14 21:02:58.000000000 +0200 @@ -4,7 +4,7 @@ /* Developed by Ziemowit Laski . */ /* { dg-do compile { target *-*-darwin* } } */ -/* { dg-options "-mconstant-cfstrings" } */ +/* { dg-options "-ftrack-macro-expansion=0 -mconstant-cfstrings" } */ #include --- ../_clean/gcc/testsuite/obj-c++.dg/strings/const-cfstring-2.mm 2010-10-22 13:23:41.000000000 +0200 +++ gcc/testsuite/obj-c++.dg/strings/const-cfstring-2.mm 2012-10-14 21:11:08.000000000 +0200 @@ -6,7 +6,7 @@ /* So far, CFString is darwin-only. */ /* { dg-do compile { target *-*-darwin* } } */ /* { dg-skip-if "NeXT only" { *-*-* } { "-fgnu-runtime" } { "" } } */ -/* { dg-options "-mconstant-cfstrings -Wnonportable-cfstrings" } */ +/* { dg-options "-ftrack-macro-expansion=0 -mconstant-cfstrings -Wnonportable-cfstrings" } */ #import #import Patch tested on x86_64-apple-darwin10 and powerpc-apple-darwin9.