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

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>:

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

commit r11-5047-gaaccdb9cec423ef4de9d541dbe0a95fa3346f430
Author: Richard Biener <rguent...@suse.de>
Date:   Mon Nov 16 08:40:47 2020 +0100

    tree-optimization/97830 - fix compare of incomplete type size in VN

    This avoids passing NULL to expressions_equal_p.

    2020-11-16  Richard Biener  <rguent...@suse.de>

            PR tree-optimization/97830
            * tree-ssa-sccvn.c (vn_reference_eq): Check for incomplete
            types before comparing TYPE_SIZE.

            * gcc.dg/pr97830.c: New testcase.

Reply via email to