|
Boost : |
Subject: Re: [boost] [container] ::flat_map function force_copy break strict-aliasing on gcc < 4.4
From: Robert Ramey (ramey_at_[hidden])
Date: 2017-01-31 11:48:17
On 1/30/17 11:20 PM, ÐладиÑлав Щапов wrote:
> gcc 4.3.4 (SLE 11) produced wrong code.
> It seems that the compiler does not create a copy of an object "s" and
> returns an object of D().
Hmmmm - this is what I would expect it to do.
Robert Ramey
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk