[Bug c/91952] [rfe] __attribute__((__default_value__()))
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Oct 4 09:03:00 GMT 2019
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?
More information about the Gcc-bugs
mailing list