projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f786509
)
(chainon): Check for op2 being the last elt of the chain.
author
Richard Stallman
<rms@gnu.org>
Sat, 29 Aug 1992 03:11:59 +0000
(
03:11
+0000)
committer
Richard Stallman
<rms@gnu.org>
Sat, 29 Aug 1992 03:11:59 +0000
(
03:11
+0000)
From-SVN: r1987
gcc/tree.c
patch
|
blob
|
history
diff --git
a/gcc/tree.c
b/gcc/tree.c
index c22f3b8aa05f8df7ba3da82f16757bc030528230..8f03250b6a71148e4e2d3c8c47728ec921f9a3b7 100644
(file)
--- a/
gcc/tree.c
+++ b/
gcc/tree.c
@@
-1490,6
+1490,7
@@
chainon (op1, op2)
{
for (t = op1; TREE_CHAIN (t); t = TREE_CHAIN (t))
if (t == op2) abort (); /* Circularity being created */
+ if (t == op2) abort (); /* Circularity being created */
TREE_CHAIN (t) = op2;
return op1;
}