[Bug testsuite/78544] New: FAIL: gcc.dg/tree-prof/section-attr-*.c compilation, -fprofile-generate -D_PROFILE_GENERATE on darwin

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Sat Nov 26 14:56:00 GMT 2016


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

            Bug ID: 78544
           Summary: FAIL: gcc.dg/tree-prof/section-attr-*.c compilation,
                    -fprofile-generate -D_PROFILE_GENERATE on darwin
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dominiq at lps dot ens.fr
                CC: andrew.burgess at embecosm dot com, iains at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-apple-darwin16
            Target: x86_64-apple-darwin16
             Build: x86_64-apple-darwin16

Created attachment 40158
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40158&action=edit
Patch from Iain Sandoe

The tests gcc.dg/tree-prof/section-attr-*.c introduced at r242519 fail on
darwin with

section-attr-1.s:38:16: error: unexpected token in '.section' directive
.section .text

This is fixed by the attached patch from Iain Sandoe.


More information about the Gcc-bugs mailing list