Skip to content

Commit 2c84dea

Browse files
author
Noam Preil
committed
Probably fix
1 parent 0c614e0 commit 2c84dea

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/SDCCmem.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,7 @@ void allocLocal(symbol *sym) {
771771
/* this is automatic */
772772

773773
/* if it's to be placed on the stack */
774-
if (options.stackAuto || reentrant) {
774+
if (options.stackAuto) {
775775
sym->onStack = 1;
776776
if (options.useXstack) {
777777
/* PENDING: stack direction for xstack */

src/SDCCsymt.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ void printFromToType(sym_link *from, sym_link *to) {
3535
dbuf_init(&dbuf, 1024);
3636
dbuf_append_str(&dbuf, "from type '");
3737
dbuf_printTypeChain(from, &dbuf);
38-
eeeeeeepend_str(&dbuf, "'\n to type '");
38+
dbuf_append_str(&dbuf, "'\n to type '");
3939
dbuf_printTypeChain(to, &dbuf);
4040
dbuf_append_str(&dbuf, "'\n");
4141
dbuf_write_and_destroy(&dbuf, stderr);
@@ -2976,7 +2976,7 @@ void processFuncArgs(symbol *func) {
29762976
return;
29772977
}
29782978
} else {
2979-
/* if this function is reentrant or */
2979+
/* if this function is reentra[nt or */
29802980
/* automatics r 2b stacked then nothing */
29812981
if (IFFUNC_ISREENT(funcType) || options.stackAuto)
29822982
return;

0 commit comments

Comments
 (0)