]> gcc.gnu.org Git - gcc.git/commitdiff
(rs6000_makes_calls): If profiling, say we make calls.
authorRichard Kenner <kenner@gcc.gnu.org>
Sat, 15 May 1993 13:11:49 +0000 (09:11 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Sat, 15 May 1993 13:11:49 +0000 (09:11 -0400)
From-SVN: r4467

gcc/config/rs6000/rs6000.c

index 69dca321d1978c69d2643603a10f502fb73c5b6e..cb7ed8345814f74df7ab829037ca082476f70e08 100644 (file)
@@ -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;
This page took 0.065754 seconds and 5 git commands to generate.