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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|needs-bisection             |
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Slightly cleaned up testcase:
struct A { virtual A foo (); };
struct B { virtual B *bar (); };
struct C : A, B {
  __attribute__((no_sanitize("undefined"), pure)) C *bar () { return this; }
};

int
main ()
{
  C b;
}

Indeed started to ICE with r12-5113.

Reply via email to