Deleted Added
sdiff udiff text old ( 171826 ) new ( 220150 )
full compact
1/* Functions related to invoking methods and overloaded functions.
2 Copyright (C) 1987, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
3 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 Contributed by Michael Tiemann (tiemann@cygnus.com) and
5 modified by Brendan Kehoe (brendan@cygnus.com).
6
7This file is part of GCC.
8

--- 4660 unchanged lines hidden (view full) ---

4669 return type;
4670}
4671
4672/* Actually perform the appropriate conversion. */
4673
4674tree
4675convert_for_arg_passing (tree type, tree val)
4676{
4677 val = convert_bitfield_to_declared_type (val);
4678 if (val == error_mark_node)
4679 ;
4680 /* Pass classes with copy ctors by invisible reference. */
4681 else if (TREE_ADDRESSABLE (type))
4682 val = build1 (ADDR_EXPR, build_reference_type (type), val);
4683 else if (targetm.calls.promote_prototypes (type)
4684 && INTEGRAL_TYPE_P (type)
4685 && COMPLETE_TYPE_P (type)

--- 2063 unchanged lines hidden ---