This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch PR libstdc++/51135]: Fix [4.7 Regression] SIGSEGV during exception cleanup on win32


2011/12/12 Paolo Carlini <paolo.carlini@oracle.com>:
> On 12/12/2011 06:45 PM, Marc Glisse wrote:
>>
>> Actually, g++ currently simply ignores the linkage as part of function
>> types, so this shouldn't have any effect.
>
> Also note that other systems have been using libsupc++ (without using the
> whole C++ lib), and I don't think we should play dirty games here and make
> the life unnecessarily hard to compilers which in this specific respect are
> more conforming than GCC.
>
> Paolo.

Well, could you be please more specific, what in the unwind-cxx.h is
causing especially your questioning here?  As exactly the unwinding
requires that dtor is called for C++ with proper calling-convention.
Only thing I see, if we need instead of introducing here specific
_cxa_dtor_type marking existing type __cxa_cdtor_type optional by this
calling-abi attribute and replacing in libsupc++ the uses of 'void
(*)(void *)' by __cxa_cdtor_type.

Kai


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]