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: Don't set DECL_IGNORED_P on a cdtor function


Eric Botcazou wrote:

>> The key issues are that (a) we have no source for these
>> compiler-generated functions, and (b) they don't correspond to anything
>> in the source program.  If I say "step" off the end of a C++ "main", I
>> don't want to end up in one of these functions; I want to end up in the
>> first C++ destructor being called by them.  That's the C++ view of the
>> world; these cdtor functions are just implementation details.
>>
>> So, I think we should consider the issue closed, with Eric's patch.
> 
> Your comment seems to imply that Geoff's patch should be reverted too. :-)

Yes, I do.  (I hadn't realized it had been committed.)

Does anyone concur?  Object?

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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