[Bug middle-end/71002] [6 Regression] -fstrict-aliasing breaks Boost's short string optimization implementation

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Oct 28 13:29:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71002

--- Comment #18 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Oct 28 13:13:31 2016
New Revision: 241646

URL: https://gcc.gnu.org/viewcvs?rev=241646&root=gcc&view=rev
Log:
2016-10-28  Richard Biener  <rguenther@suse.de>

        PR middle-end/78128
        PR middle-end/71002
        * fold-const.c (make_bit_field_ref): Only adjust alias set
        when the original alias set was zero.

Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/fold-const.c


More information about the Gcc-bugs mailing list