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: unassignedclangb...@nondot.org
          Reporter: sebastian.hu...@embedded-brains.de
                CC: htmldevelo...@gmail.com, llvm-bugs@lists.llvm.org,
                    neeil...@live.com, richard-l...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to