diff options
author | Dominique d'Humieres <dominiq@lps.ens.fr> | 2012-10-27 11:31:06 +0000 |
---|---|---|
committer | Iain Sandoe <iains@gcc.gnu.org> | 2012-10-27 11:31:06 +0000 |
commit | 38d233a928cf70b351c67987280c0c3169cf0241 (patch) | |
tree | 77b709d5aa6f4c7ad59e4d1bc6b154b554140903 /gcc | |
parent | 8cb9ba9abb50ae5a395eb5e279862ad8f7a39eef (diff) | |
download | gcc-38d233a928cf70b351c67987280c0c3169cf0241.zip gcc-38d233a928cf70b351c67987280c0c3169cf0241.tar.gz gcc-38d233a928cf70b351c67987280c0c3169cf0241.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/other/darwin-cfstring1.C | 2 | ||||
-rw-r--r-- | gcc/testsuite/obj-c++.dg/strings/const-cfstring-2.mm | 2 |
3 files changed, 10 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a026d36..5320b4a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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 diff --git a/gcc/testsuite/g++.dg/other/darwin-cfstring1.C b/gcc/testsuite/g++.dg/other/darwin-cfstring1.C index b30ba9b..b2def1e 100644 --- a/gcc/testsuite/g++.dg/other/darwin-cfstring1.C +++ b/gcc/testsuite/g++.dg/other/darwin-cfstring1.C @@ -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> diff --git a/gcc/testsuite/obj-c++.dg/strings/const-cfstring-2.mm b/gcc/testsuite/obj-c++.dg/strings/const-cfstring-2.mm index 14ae68c..b4fc9e6 100644 --- a/gcc/testsuite/obj-c++.dg/strings/const-cfstring-2.mm +++ b/gcc/testsuite/obj-c++.dg/strings/const-cfstring-2.mm @@ -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> |