projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d95e9a
)
(record_label_references): Check for undefined label.
author
Richard Kenner
<kenner@gcc.gnu.org>
Tue, 5 Mar 1996 14:32:16 +0000
(09:32 -0500)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Tue, 5 Mar 1996 14:32:16 +0000
(09:32 -0500)
From-SVN: r11454
gcc/reg-stack.c
patch
|
blob
|
history
diff --git
a/gcc/reg-stack.c
b/gcc/reg-stack.c
index 7e5728108ddcd1b894f6b9a09b19726685810555..95f968e83347e81ff0cc01c54197aea6758ddee9 100644
(file)
--- a/
gcc/reg-stack.c
+++ b/
gcc/reg-stack.c
@@
-483,6
+483,10
@@
record_label_references (insn, pat)
if (GET_CODE (label) != CODE_LABEL)
abort ();
+ /* If this is an undefined label, LABEL_REFS (label) contains garbage. */
+ if (INSN_UID (label) == 0)
+ return;
+
/* Don't make a duplicate in the code_label's chain. */
for (ref = LABEL_REFS (label);