View | Details | Raw Unified | Return to bug 20297
Collapse All | Expand All

(-)file_not_specified_in_diff (-4 / +26 lines)
Line  Link Here
0
-- gcc/builtins.c
0
++ gcc/builtins.c
Lines 5129-5137 Link Here
5129
   SUBTARGET may be used as the target for computing one of EXP's operands.
5129
   SUBTARGET may be used as the target for computing one of EXP's operands.
5130
   IGNORE is nonzero if the value is to be ignored.  */
5130
   IGNORE is nonzero if the value is to be ignored.  */
5131
5131
5132
rtx
5132
static rtx
5133
expand_builtin (tree exp, rtx target, rtx subtarget, enum machine_mode mode,
5133
expand_builtin_1 (tree exp, rtx target, rtx subtarget,
5134
		int ignore)
5134
		  enum machine_mode mode, int ignore)
5135
{
5135
{
5136
  tree fndecl = get_callee_fndecl (exp);
5136
  tree fndecl = get_callee_fndecl (exp);
5137
  tree arglist = TREE_OPERAND (exp, 1);
5137
  tree arglist = TREE_OPERAND (exp, 1);
Lines 5793-5798 Link Here
5793
  return expand_call (exp, target, ignore);
5793
  return expand_call (exp, target, ignore);
5794
}
5794
}
5795
5795
5796
rtx
5797
expand_builtin (tree exp, rtx target, rtx subtarget,
5798
		enum machine_mode mode, int ignore)
5799
{
5800
  enum symbol_visibility saved_visibility = default_visibility;
5801
  unsigned int saved_inpragma = visibility_options.inpragma;
5802
  tree fndecl = get_callee_fndecl (exp);
5803
  rtx expanded;
5804
5805
  /* We should use the original visibility of the builtin function
5806
     declaration.  */
5807
  default_visibility = DECL_VISIBILITY (fndecl);
5808
  visibility_options.inpragma = DECL_VISIBILITY_SPECIFIED (fndecl);
5809
5810
  expanded = expand_builtin_1 (exp, target, subtarget, mode, ignore);
5811
5812
  default_visibility = saved_visibility;
5813
  visibility_options.inpragma = saved_inpragma;
5814
5815
  return expanded;
5816
}
5817
5796
/* Determine whether a tree node represents a call to a built-in
5818
/* Determine whether a tree node represents a call to a built-in
5797
   function.  If the tree T is a call to a built-in function with
5819
   function.  If the tree T is a call to a built-in function with
5798
   the right number of arguments of the appropriate types, return
5820
   the right number of arguments of the appropriate types, return

Return to bug 20297