mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-13 22:01:44 +08:00
re PR c++/26740 (ICE taking the address of a bound member function)
2006-06-01 Andrew Pinski <pinskia@physics.uc.edu> PR c++/26740 * typeck.c (build_unary_op): Mark the function as being used. From-SVN: r114360
This commit is contained in:
parent
89cfff85bf
commit
5c147e2278
@ -1,3 +1,8 @@
|
||||
2006-06-01 Andrew Pinski <pinskia@physics.uc.edu>
|
||||
|
||||
PR c++/26740
|
||||
* typeck.c (build_unary_op): Mark the function as being used.
|
||||
|
||||
2006-06-01 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
PR c++/26660
|
||||
|
@ -4245,6 +4245,7 @@ build_unary_op (enum tree_code code, tree xarg, int noconvert)
|
||||
and the created OFFSET_REF. */
|
||||
tree base = TYPE_MAIN_VARIANT (TREE_TYPE (TREE_OPERAND (arg, 0)));
|
||||
tree fn = get_first_fn (TREE_OPERAND (arg, 1));
|
||||
mark_used (fn);
|
||||
|
||||
if (! flag_ms_extensions)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user