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

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

https://gcc.gnu.org/g:337d6362458ab033d3bfe287dda37f9da5577406

commit r11-5647-g337d6362458ab033d3bfe287dda37f9da5577406
Author: Martin Liska <mli...@suse.cz>
Date:   Wed Dec 2 09:44:40 2020 +0100

    Fix __builtin_clear_padding for empty struct.

    gcc/ChangeLog:

            PR c/98087
            * gimple-fold.c (clear_padding_type): Do not divide by zero.

    gcc/testsuite/ChangeLog:

            PR c/98087
            * gcc.c-torture/compile/pr98087.c: New test.

Reply via email to