[Bug c++/95221] g++.dg/ubsan/vptr-12.C fails with -fstrong-eval-order=all

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue May 19 20:30:48 GMT 2020


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

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
And for completeness, the asm for the -fstrong-eval-order=all case:

        movq    %rbx, %rdi
        call    *%r12
        movq    -24(%rbp), %rax
        movq    (%rax), %rax
        addq    $16, %rax
        movq    (%rax), %r12     # crash here

Any ideas what as to we want to do here?


More information about the Gcc-bugs mailing list