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

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

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

commit r10-6235-gab6cd364eda21d3d24a4df0072c588cc68ff61e0
Author: Marek Polacek <pola...@redhat.com>
Date:   Sat Jan 25 19:02:11 2020 -0500

    sanopt: Avoid crash on anonymous parameter [PR93436]

    Here we crash when using -fsanitize=address -fdump-tree-sanopt because
    the dumping code uses IDENTIFIER_POINTER on a null DECL_NAME.  Instead,
    we can print "<anonymous>" in such a case.  Or we could avoid printing
    that diagnostic altogether.

    2020-01-26  Marek Polacek  <pola...@redhat.com>

        PR tree-optimization/93436
        * sanopt.c (sanitize_rewrite_addressable_params): Avoid crash on
        null DECL_NAME.

Reply via email to