projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81d3c53
)
(rs6000_makes_calls): If profiling, say we make calls.
author
Richard Kenner
<kenner@gcc.gnu.org>
Sat, 15 May 1993 13:11:49 +0000
(09:11 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Sat, 15 May 1993 13:11:49 +0000
(09:11 -0400)
From-SVN: r4467
gcc/config/rs6000/rs6000.c
patch
|
blob
|
history
diff --git
a/gcc/config/rs6000/rs6000.c
b/gcc/config/rs6000/rs6000.c
index 69dca321d1978c69d2643603a10f502fb73c5b6e..cb7ed8345814f74df7ab829037ca082476f70e08 100644
(file)
--- a/
gcc/config/rs6000/rs6000.c
+++ b/
gcc/config/rs6000/rs6000.c
@@
-1240,6
+1240,10
@@
rs6000_makes_calls ()
{
rtx insn;
+ /* If we are profiling, we will be making a call to mcount. */
+ if (profile_flag)
+ return 1;
+
for (insn = get_insns (); insn; insn = next_insn (insn))
if (GET_CODE (insn) == CALL_INSN)
return 1;