diff options
author | Jan Hubicka <jh@suse.cz> | 2003-07-31 19:50:54 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2003-07-31 17:50:54 +0000 |
commit | fdacb904eeb93ececa9df4968824fc136ff0415b (patch) | |
tree | b61c3e5e66cda66fc2c696762210f86cbd079570 /gcc | |
parent | 46b6ccc8fc43257f36925ccc16dac1ef4a88b5f8 (diff) | |
download | gcc-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')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cgraph.c | 2 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 4 |
3 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index abc2733..923f25e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Thu Jul 31 19:49:53 CEST 2003 Jan Hubicka <jh@suse.cz> + + * cgraph.c (create_edge): Fix typo. + * i386.c (pic_symbolic_operand): Reorder tests. + 2003-07-31 Nathan Sidwell <nathan@codesourcery.com> * doc/gcov.texi (Invoking Gcov): Describe output name mangling 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; diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 706ecc4..22c495f 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -3414,8 +3414,8 @@ pic_symbolic_operand (register rtx op, enum machine_mode mode ATTRIBUTE_UNUSED) && XINT (op, 1) == UNSPEC_GOTPCREL) return 1; if (GET_CODE (op) == PLUS - && XINT (XEXP (op, 0), 1) == UNSPEC_GOTPCREL - && GET_CODE (XEXP (op, 0)) == UNSPEC) + && GET_CODE (XEXP (op, 0)) == UNSPEC + && XINT (XEXP (op, 0), 1) == UNSPEC_GOTPCREL) return 1; } else |