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

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
commit 6fcaaf9b931078f979a0282d396e78647ea37999
Author: rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Wed May 11 10:24:11 2016 +0000

    2016-05-11  Richard Biener  <rguent...@suse.de>

        PR middle-end/71002
        * alias.c (reference_alias_ptr_type): Preserve alias-set zero
        if the langhook insists on it.
        * fold-const.c (make_bit_field_ref): Add arg for the original
        reference and preserve its alias-set.
        (decode_field_reference): Take exp by reference and adjust it
        to the original memory reference.
        (optimize_bit_field_compare): Adjust callers.
        (fold_truth_andor_1): Likewise.
        * gimplify.c (gimplify_expr): Adjust in-SSA form test.

        * g++.dg/torture/pr71002.C: New testcase.


    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@236117
138bc75d-0d04-0410-961f-82ee72b054a4

Reply via email to