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

            Bug ID: 78418
           Summary: [7 Regression] Several failures in the obj-c++ test
                    suite after revision r242377 on x86_64-apple-darwin16
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: objc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dominiq at lps dot ens.fr
                CC: iains at gcc dot gnu.org, jason at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-apple-darwin16
            Target: x86_64-apple-darwin16
             Build: x86_64-apple-darwin16

Created attachment 40080
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40080&action=edit
preprocessed file for torture/strings/const-str-10.mm

Several failures appeared in the obj-c++ test suite after revision r242377 on
x86_64-apple-darwin16. They are due to the following ICE

[Book15] f90/bug% /opt/gcc/gcc7p-242377p4y/bin/g++ const-str-10.mii -c
-fnext-runtime -mno-constant-cfstrings
/opt/gcc/p_work/gcc/testsuite/obj-c++.dg/torture/strings/const-str-10.mm:31:34:
internal compiler error: tree check: expected var_decl or parm_decl or
result_decl, have const_decl in lvalue_kind, at cp/tree.c:145
 const NSConstantString *appKey = @"MyApp";
                                  ^

Reply via email to