https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64727

            Bug ID: 64727
           Summary: [5 Regression]
                    g++.dg/torture/darwin-cfstring-3.C:11:80: internal
                    compiler error: Segmentation fault: 11
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dominiq at lps dot ens.fr
                CC: fxcoudert at gcc dot gnu.org, howarth at bromo dot 
med.uc.edu,
                    iains at gcc dot gnu.org, jakub at gcc dot gnu.org,
                    jason at gcc dot gnu.org
              Host: x86_64-apple-darwin14
            Target: x86_64-apple-darwin14
             Build: x86_64-apple-darwin14

Compiling g++.dg/torture/darwin-cfstring-3.C on x86_64-apple-darwin14 with
r219982 (see https://gcc.gnu.org/ml/gcc-testresults/2015-01/msg02466.html)
gives the following ICE

/opt/gcc/work/gcc/testsuite/g++.dg/torture/darwin-cfstring-3.C:11:80: internal
compiler error: Segmentation fault: 11
 #define CFSTR(STR)  ((CFStringRef) __builtin___CFStringMakeConstantString
(STR))
                                                                               
^
/opt/gcc/work/gcc/testsuite/g++.dg/torture/darwin-cfstring-3.C:19:18: note: in
expansion of macro 'CFSTR'
 CFStringRef s0 = CFSTR("Hello" "there");
                  ^

/opt/gcc/work/gcc/testsuite/g++.dg/torture/darwin-cfstring-3.C:11:80: internal
compiler error: Abort trap: 6
 #define CFSTR(STR)  ((CFStringRef) __builtin___CFStringMakeConstantString
(STR))
                                                                               
^
/opt/gcc/work/gcc/testsuite/g++.dg/torture/darwin-cfstring-3.C:19:18: note: in
expansion of macro 'CFSTR'
 CFStringRef s0 = CFSTR("Hello" "there");
                  ^
g++5: internal compiler error: Abort trap: 6 (program cc1plus)
Abort

Revision r219969 is OK.

Reply via email to