aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2003-07-31 19:50:54 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2003-07-31 17:50:54 +0000
commitfdacb904eeb93ececa9df4968824fc136ff0415b (patch)
treeb61c3e5e66cda66fc2c696762210f86cbd079570 /gcc/cgraph.c
parent46b6ccc8fc43257f36925ccc16dac1ef4a88b5f8 (diff)
downloadgcc-fdacb904eeb93ececa9df4968824fc136ff0415b.zip
gcc-fdacb904eeb93ececa9df4968824fc136ff0415b.tar.gz
gcc-fdacb904eeb93ececa9df4968824fc136ff0415b.tar.bz2
cgraph.c (create_edge): Fix typo.
* cgraph.c (create_edge): Fix typo. * i386.c (pic_symbolic_operand): Reorder tests. From-SVN: r70006
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r--gcc/cgraph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c
index bc53269..76cd63a 100644
--- a/gcc/cgraph.c
+++ b/gcc/cgraph.c
@@ -162,7 +162,7 @@ create_edge (struct cgraph_node *caller, struct cgraph_node *callee)
as we probably ought to, so we must preserve inline_call flags to
be the same in all copies of the same edge. */
if (cgraph_global_info_ready)
- for (edge2 = caller->callees; edge2; edge2 = edge2->next_caller)
+ for (edge2 = caller->callees; edge2; edge2 = edge2->next_callee)
if (edge2->callee == callee)
{
edge->inline_call = edge2->inline_call;