This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: V3 patch causes EH failures in ILP32 mode


B. Kosnik wrote:

Ugh. Do you really think this kind of change is worth it? I'm all for Scott Meyers, but now every time we add a data member we've got to remember to update these functions...


Yes, I think this change (-Weffc++ support) was worth it.

OK.


I wasn't expecting any issues like this to surface.

It seems to be an interaction between the explicit test in the "operator =" (which, as you note, is the major difference from what the compiler does) and the use of "__restrict" in several places in that file. (Removing either one makes the problem go away.)


Perhaps you should just remove the explicit test for self in operator= then....

Yes, that will be the work-around, if we cannot figure out how to fix the codgen problem.


Thanks,

--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com


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