[llvm-bugs] [Bug 44811] New: Support new GCC 10 variable attribute noinit
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Feb 6 01:57:18 PST 2020
https://bugs.llvm.org/show_bug.cgi?id=44811
Bug ID: 44811
Summary: Support new GCC 10 variable attribute noinit
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: sebastian.huber at embedded-brains.de
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
neeilans at live.com, richard-llvm at metafoo.co.uk
I am not sure if a bug report is the right place for this feature request, but
it addresses a potential future compatibility to GCC issue.
GCC 10 has a new variable attribute: noinit.
https://gcc.gnu.org/onlinedocs/gcc/Common-Variable-Attributes.html#index-noinit-variable-attribute
https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;a=commit;h=f0033821c1c9ba386a1983499a666d5759cdd943
Maybe clang could support this as well. The new attribute is not just a wrapper
for section(".noinit"). In addition, the linker needs to support this section.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200206/28738104/attachment.html>
More information about the llvm-bugs
mailing list