Fix for "auto" variables made "static" with the "-Cl" options.
This commit is contained in:
parent
71c2d27705
commit
78342fa82c
1 changed files with 1 additions and 1 deletions
|
@ -340,7 +340,7 @@ static void ParseAutoDecl (Declaration* Decl)
|
|||
LoadExpr (CF_NONE, &Expr);
|
||||
|
||||
/* Store the value into the variable */
|
||||
g_putstatic (TypeOf (Sym->Type), DataLabel, 0);
|
||||
g_putstatic (CF_STATIC | TypeOf (Sym->Type), DataLabel, 0);
|
||||
}
|
||||
|
||||
/* Mark the variable as referenced */
|
||||
|
|
Loading…
Add table
Reference in a new issue