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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2019-10-02
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
How do you think GCC can "set" the default value if the initialization is
skipped?  Is the desired semantics that the allocation and initialization
of the variable happens at function start then plus a re-init when the
declaration is actually reached?

Thus, you need to better specify your proposal.

It sounds sth like

autostatic int x = 5;

thus have "static" (but auto at the same time) storage but reduced
visibility.

Reply via email to