[Bug c/69382] New: noinit()

svabiramiece at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Jan 20 08:39:00 GMT 2016


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

            Bug ID: 69382
           Summary: noinit()
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: svabiramiece at gmail dot com
  Target Milestone: ---

Hello,

I am using Atmel Studio 7. The GNU c compiler version used in the Studio is
4.9.2.

I have doubts regarding .noinit() section. Before asking my doubts I want to
clarify something. Please check the below statements are correct or not
1. The variable stored in I/O and Extended I/O register space purely depends on
the compiler. The user can’t have the access to store the variables in this
section.

2.The variables stored in the noinit() shouldn’t be initialized to zero at any
concern. On any reset, the variables in the noinit section shouldn’t be
initialized to zero.

 3. The noinit() should be given in the linker script before compiling.

Looking forward for your reply.


More information about the Gcc-bugs mailing list