git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@730
4a8a32a2-be11-0410-ad9d-
d568d2c75423
/* if parameter or local variable then change */
/* the storage class to reflect where the var will go */
/* if parameter or local variable then change */
/* the storage class to reflect where the var will go */
- if (sym->level && SPEC_SCLS (sym->etype) == S_FIXED)
+ if (sym->level && SPEC_SCLS (sym->etype) == S_FIXED &&
+ !IS_STATIC(sym->etype))
{
if (options.stackAuto || (currFunc && IS_RENT (currFunc->etype)))
{
{
if (options.stackAuto || (currFunc && IS_RENT (currFunc->etype)))
{