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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
First of all, not all automatic vars live on stack, some live in registers.
And, what will happen say for:
switch (n)
{
  int x __attribute__((__default_value__((5)));
  case 10:
    foo (x);
  case 20:
    foo (x);
    break;
}
where the initialization, even if done early, is jumped over?

Reply via email to