contrib/gcc-4.4/gcc/cp/call.c
/* DECL is a VAR_DECL whose type is a REFERENCE_TYPE.  The reference
   is being bound to a temporary.  Create and return a new VAR_DECL
   with the indicated TYPE; this variable will store the value to
   which the reference is bound.  */
DECL is a VAR_DECL whose type is a REFERENCE_TYPE.  The reference
is being bound to a temporary.  Create and return a new VAR_DECL
with the indicated TYPE; this variable will store the value to
which the reference is bound.
DECL is a VAR_DECL whose type is a REFERENCE_TYPE . The reference is being bound to a temporary . Create and return a new VAR_DECL with the indicated TYPE ; this variable will store the value to which the reference is bound .
tree
make_temporary_var_for_ref_to_temp (tree decl, tree type)
{
  tree var;
  var = create_temporary_var (type);
  if (TREE_STATIC (decl))
    {
      tree name;
      TREE_STATIC (var) = 1;
      name = mangle_ref_init_variable (decl);
      DECL_NAME (var) = name;
      SET_DECL_ASSEMBLER_NAME (var, name);
      var = pushdecl_top_level (var);
    }
  else
    maybe_push_cleanup_level (type);
  return var;
}
tree make_temporary_var_for_ref_to_temp ( tree decl , tree type ) { tree var ; var = create_temporary_var ( type ) ; if ( TREE_STATIC ( decl ) ) { tree name ; TREE_STATIC ( var ) = 1 ; name = mangle_ref_init_variable ( decl ) ; DECL_NAME ( var ) = name ; SET_DECL_ASSEMBLER_NAME ( var , name ) ; var = pushdecl_top_level ( var ) ; } else maybe_push_cleanup_level ( type ) ; return var ; }
DECL is a VAR_DECL whose type is a REFERENCE_TYPE.
DECL is a VAR_DECL whose type is a REFERENCE_TYPE .
/* Create the variable.  */ /* Register the variable.  */ /* Namespace-scope or local static; give it a mangled name.  */ /* Create a new cleanup level if necessary.  */