stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Farid Zaripov" <Farid_Zari...@epam.com>
Subject RE: MSVC 7.1 bad code generation
Date Fri, 14 Sep 2007 12:17:29 GMT
> -----Original Message-----
> From: Martin Sebor [mailto:msebor@gmail.com] On Behalf Of Martin Sebor
> Sent: Friday, September 14, 2007 8:45 AM
> To: stdcxx-dev@incubator.apache.org
> Subject: Re: MSVC 7.1 bad code generation
> 
> Farid Zaripov wrote:
> >   The 22.locale.money.put.cpp test fails on MSVC 7.1 (15s 
> build type) 
> > with buffer overrun error due to bad code generation.
> 
> Great detective work! Since our money_base class has no data 
> members the patch is fine.
> 
> Your analysis of the assembly looks right on the money. It seems MSVC
> 7.1 implementation of the empty base optimization (EBO) has a 
> bug. It might have something to do with it being second (or 
> not first) in the list of bases. If you can reproduce it in a 
> simple test case and file it as an External issue just for 
> the record that would be great.

  Done: https://issues.apache.org/jira/browse/STDCXX-556


> I assume the bug doesn't exist in MSVC 8.0 so we don't need 
> to worry about letting Microsoft know about it?

  Yes. The MSVC 8.0 is free from this bug.

Farid.

Mime
View raw message