projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cee1a3
)
*** empty log message ***
author
Richard Kenner
<kenner@gcc.gnu.org>
Wed, 6 May 1992 21:28:02 +0000
(17:28 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Wed, 6 May 1992 21:28:02 +0000
(17:28 -0400)
From-SVN: r919
gcc/halfpic.c
patch
|
blob
|
history
diff --git
a/gcc/halfpic.c
b/gcc/halfpic.c
index 0f81cf05f63a66ec37c8fe9c174e102e4448612d..817dc21b7c077862e37a92bd07acf9bd680c7ae8 100644
(file)
--- a/
gcc/halfpic.c
+++ b/
gcc/halfpic.c
@@
-47,6
+47,8
@@
extern void assemble_name ();
extern void output_addr_const ();
int flag_half_pic; /* Global half-pic flag. */
+int half_pic_number_ptrs; /* # distinct pointers found */
+int half_pic_number_refs; /* # half-pic references */
/* Obstack to hold generated pic names. */
static struct obstack half_pic_obstack;
@@
-351,8
+353,10
@@
half_pic_ptr (operand)
p->pointer_p = TRUE;
half_pic_names = p;
+ half_pic_number_ptrs++;
}
+ half_pic_number_refs++;
return gen_rtx (SYMBOL_REF, Pmode, p->ref_name);
}