(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 69dca32..cb7ed83 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;