From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Mitchell To: aoliva@redhat.com Cc: wilson@cygnus.com, gcc@gcc.gnu.org, gcc-patches@gcc.gnu.org, gdb@sources.redhat.com Subject: Re: C++ ptrmemfun break if FUNCTION_BOUNDARY < 2 *BITS_PER_UNIT Date: Tue, 10 Apr 2001 09:27:00 -0000 Message-id: <20010410092712A.mitchell@codesourcery.com> References: X-SW-Source: 2001-04/msg00079.html I think this all makes sense. I should have thought of this issue when implementing the new ABI; somehow, it didn't occur to me. I would sugest that if you're going to use an enum to represent different choices about representation here (which seems reasonable) that you have the TARGET_ macro evaluate to an enum, rather than a boolean. That would be simpler. Have it default to ptrmemfunc_vbit_in_pfn in defaults.h, and then you can eliminate the conditional compilation in decl.c. Thank you for taking on the task of fixing the problem. -- Mark Mitchell mark@codesourcery.com CodeSourcery, LLC http://www.codesourcery.com