re PR target/54404 (*cfstring* failures for (obj-c|g)++ on *-apple-darwin* after revision 186978)

gcc/testsuite:
2012-10-27  Dominique Dhumieres  <dominiq@lps.ens.fr>
	    Jack Howarth <howarth@bromo.med.uc.edu>

	PR target/54404
	* g++.dg/other/darwin-cfstring1.C: Add -ftrack-macro-expansion=0
	to dg-options.
	* obj-c++.dg/strings/const-cfstring-2.mm: Likewise.


Co-Authored-By: Jack Howarth <howarth@bromo.med.uc.edu>

From-SVN: r192874
This commit is contained in:
Dominique d'Humieres 2012-10-27 11:31:06 +00:00 committed by Iain Sandoe
parent 8cb9ba9abb
commit 38d233a928
3 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2012-10-27 Dominique Dhumieres <dominiq@lps.ens.fr>
Jack Howarth <howarth@bromo.med.uc.edu>
PR target/54404
* g++.dg/other/darwin-cfstring1.C: Add -ftrack-macro-expansion=0
to dg-options.
* obj-c++.dg/strings/const-cfstring-2.mm: Likewise.
2012-10-27 Uros Bizjak <ubizjak@gmail.com>
PR target/34283

View File

@ -4,7 +4,7 @@
/* Developed by Ziemowit Laski <zlaski@apple.com>. */
/* { dg-do compile { target *-*-darwin* } } */
/* { dg-options "-mconstant-cfstrings" } */
/* { dg-options "-ftrack-macro-expansion=0 -mconstant-cfstrings" } */
#include <CoreFoundation/CFString.h>

View File

@ -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 <Foundation/NSString.h>
#import <CoreFoundation/CFString.h>