projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* src/z80/peep.c: #2652979: --debug crashes sdcc
[fw/sdcc]
/
src
/
z80
/
peep.c
diff --git
a/src/z80/peep.c
b/src/z80/peep.c
index 3ae394f0c70f3b8a1bd83fe44313c84f755f6b75..bc32b736073f07d2ca63c196cac2acd931c1363a 100644
(file)
--- a/
src/z80/peep.c
+++ b/
src/z80/peep.c
@@
-80,7
+80,7
@@
isReturned(const char *what)
do
{
l = l->next;
- } while(l->isComment || l->ic->op != FUNCTION);
+ } while(l->isComment || l->ic
== NULL || l->ic
->op != FUNCTION);
sym = OP_SYMBOL(IC_LEFT(l->ic));