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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Alexandre Oliva <aol...@gcc.gnu.org>:

https://gcc.gnu.org/g:a026b67f8f70d6cf35daf42a4b0909f78c9d7f40

commit r12-7382-ga026b67f8f70d6cf35daf42a4b0909f78c9d7f40
Author: Alexandre Oliva <ol...@adacore.com>
Date:   Thu Feb 24 22:03:34 2022 -0300

    Cope with NULL dw_cfi_cfa_loc

    In def_cfa_0, we may set the 2nd operand's dw_cfi_cfa_loc to NULL, but
    then cfi_oprnd_equal_p calls cfa_equal_p with a NULL dw_cfa_location*.
    This patch aranges for us to tolerate NULL dw_cfi_cfa_loc.


    for  gcc/ChangeLog

            PR middle-end/104540
            * dwarf2cfi.cc (cfi_oprnd_equal_p): Cope with NULL
            dw_cfi_cfa_loc.

    for  gcc/testsuite/ChangeLog

            PR middle-end/104540
            * g++.dg/pr104540.C: New.

Reply via email to