This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/84237] New: [8 Regression] xen build faiulre only zero initializers are allowed in section '.bss.page_aligned.const'
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 06 Feb 2018 14:28:43 +0000
- Subject: [Bug middle-end/84237] New: [8 Regression] xen build faiulre only zero initializers are allowed in section '.bss.page_aligned.const'
- Auto-submitted: auto-generated
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.