[RFC] Backport -Wstrict-aliasing warnings for C++ to 4.1
Richard Guenther
rguenther@suse.de
Wed Dec 7 15:42:00 GMT 2005
On Wed, 7 Dec 2005, Jakub Jelinek wrote:
> On Wed, Dec 07, 2005 at 04:34:55PM +0100, Richard Guenther wrote:
> >
> > Is it ok to backport the following two patches from mainline to
> > gcc 4.1? All the libstdc++ changes regarding to the change have
> > already been backported to 4.1.
>
> Even the
> 2005-11-23 Paolo Carlini <pcarlini@suse.de>
>
> PR libstdc++/24975 (basic_string)
> * include/bits/basic_string.h (_Rep::_S_empty_rep): Avoid
> strict-aliasing warnings.
>
> change? I don't see it on gcc-4_1-branch...
Ah no - that's missing and we appearantly have that patched in our
distributions compiler together with the warning. So - ok to backport
the warning bits together with this workaround?
Richard.
More information about the Libstdc++
mailing list