http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58154
--- Comment #4 from Alexander Huemer ---
Maybe I really do not correctly understand the difference between storage class
and linkage.
To me it seems like in one case the linkage of a function is inherited from the
declaration, in the other case no
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58154
Alexander Huemer changed:
What|Removed |Added
Resolution|INVALID |FIXED
--- Comment #2 from Alexander Hu
: enhancement
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: alexander.huemer at xx dot vu
Hi,
i just stumbled upon a piece of code like this:
static int foo(void);
int foo(void)
{
volatile int a = 3;
return a