diff options
author | Richard Stallman <rms@gnu.org> | 1992-08-29 03:11:59 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1992-08-29 03:11:59 +0000 |
commit | f47ee9f26e76d69459ce6f1db367da63ff7ac6c9 (patch) | |
tree | 7ccbcd626d2f40c8f388de83b01a9951d8739797 /gcc/tree.c | |
parent | f786509d93b6761d4f41c9ed7fc142773abcd34a (diff) | |
download | gcc-f47ee9f26e76d69459ce6f1db367da63ff7ac6c9.zip gcc-f47ee9f26e76d69459ce6f1db367da63ff7ac6c9.tar.gz gcc-f47ee9f26e76d69459ce6f1db367da63ff7ac6c9.tar.bz2 |
(chainon): Check for op2 being the last elt of the chain.
From-SVN: r1987
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; } |