re PR debug/66691 (ICE on valid code at -O3 with -g enabled in simplify_subreg, at...
[gcc.git] / gcc / gimple.c
index bd788be96494992cd4416fdefb44ac04d76ba7f3..b32c6b5ada48b122ed35e9dd8fce6045c601c737 100644 (file)
@@ -199,16 +199,6 @@ gimple_build_return (tree retval)
   return s;
 }
 
-/* Set FNDECL to be the function called by call statement GS.  */
-
-void
-gimple_call_set_fndecl (gimple gs, tree decl)
-{
-  GIMPLE_CHECK (gs, GIMPLE_CALL);
-  gcc_gimple_checking_assert (!gimple_call_internal_p (gs));
-  gimple_set_op (gs, 1, build_fold_addr_expr_loc (gimple_location (gs), decl));
-}
-
 /* Reset alias information on call S.  */
 
 void