This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/84237] New: [8 Regression] xen build faiulre only zero initializers are allowed in section '.bss.page_aligned.const'


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

            Bug ID: 84237
           Summary: [8 Regression] xen build faiulre only zero
                    initializers are allowed in section
                    '.bss.page_aligned.const'
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jakub at gcc dot gnu.org
  Target Milestone: ---

const char __attribute__((__section__(".bss.page_aligned.const"),
__aligned__(4096))) zero_page[4096];
is rejected starting with r251602.  I think if the user explicitly requests it
to be put into a bss section, we should do it even when it is read-only.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]