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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |needs-bisection, wrong-code
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The crash started with r260383:

    Aliasing 'this' in a C++ constructor

    2018-05-18  Marc Glisse  <marc.gli...@inria.fr>

            PR c++/82899
    gcc/
            * tree-ssa-structalias.c (create_variable_info_for_1): Extra
argument.
            (intra_create_variable_infos): Handle C++ constructors.

    gcc/testsuite/
            * g++.dg/pr82899.C: New testcase.


And was fixed on trunk by r270906

            PR tree-optimization/90328
            * tree-data-ref.h (dr_may_alias_p): Pass in the actual loop nest.
            * tree-data-ref.c (dr_may_alias_p): Check whether the clique
            is valid in the loop nest before using it.
            (initialize_data_dependence_relation): Adjust.
            * graphite-scop-detection.c (build_alias_set): Pass the SCOP
enclosing
            loop as loop-nest to dr_may_alias_p.

            * gcc.dg/torture/pr90328.c: New testcase.

It's also fixed on gcc-9-branch, presumably by the backport of that patch, as
r271995 (although I didn't verify that explicitly).

So this is a dup of PR 90328.

*** This bug has been marked as a duplicate of bug 90328 ***

Reply via email to