http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54404

             Bug #: 54404
           Summary: [4.8 Regression] *cfstring* failures for (obj-c|g)++
                    on *-apple-darwin* after revision 186789
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: domi...@lps.ens.fr
                CC: howa...@bromo.med.uc.edu, ia...@gcc.gnu.org,
                    mikest...@comcast.net
              Host: *-apple-darwin*
            Target: *-apple-darwin*
             Build: *-apple-darwin*


This is a follow up of pr53283 for the remaining failures of some *cfstring*
tests on *-apple-darwin* after revision 186789:

FAIL: g++.dg/other/darwin-cfstring1.C -std=gnu++98  (test for errors, line 21)
FAIL: g++.dg/other/darwin-cfstring1.C -std=gnu++98  (test for errors, line 22)
FAIL: g++.dg/other/darwin-cfstring1.C -std=gnu++98 (test for excess errors)
FAIL: g++.dg/other/darwin-cfstring1.C -std=gnu++11  (test for errors, line 21)
FAIL: g++.dg/other/darwin-cfstring1.C -std=gnu++11  (test for errors, line 22)
FAIL: g++.dg/other/darwin-cfstring1.C -std=gnu++11 (test for excess errors)

FAIL: obj-c++.dg/strings/const-cfstring-2.mm -fnext-runtime  (test for
warnings, line 22)
FAIL: obj-c++.dg/strings/const-cfstring-2.mm -fnext-runtime  (test for
warnings, line 23)
FAIL: obj-c++.dg/strings/const-cfstring-2.mm -fnext-runtime  (test for
warnings, line 25)
FAIL: obj-c++.dg/strings/const-cfstring-2.mm -fnext-runtime  (test for
warnings, line 26)

The errors are

Excess errors:
/opt/gcc/work/gcc/testsuite/g++.dg/other/darwin-cfstring1.C:13:79: error:
CFString literal expression is not a string constant
/opt/gcc/work/gcc/testsuite/g++.dg/other/darwin-cfstring1.C:13:79: error:
CFString literal expression is not a string constant

or

/opt/gcc/work/gcc/testsuite/obj-c++.dg/strings/const-cfstring-2.mm: In function
'void foo()':
/opt/gcc/work/gcc/testsuite/obj-c++.dg/strings/const-cfstring-2.mm:21:18:
warning: non-ASCII character in CFString literal [--CLASSPATH]
/opt/gcc/work/gcc/testsuite/obj-c++.dg/strings/const-cfstring-2.mm:24:18:
warning: embedded NUL in CFString literal [--CLASSPATH]

i.e., missing warnings for obj-c++.

Reply via email to