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

--- Comment #3 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:eaaf77dd85c333b116111bb1ae6c080154a4e411

commit r12-7979-geaaf77dd85c333b116111bb1ae6c080154a4e411
Author: Richard Biener <rguent...@suse.de>
Date:   Mon Apr 4 10:20:05 2022 +0200

    middle-end/105140 - fix bogus recursion in fold_convertible_p

    fold_convertible_p expects an operand and a type to convert to
    but recurses with two vector component types.  Fixed by allowing
    types instead of an operand as well.

    2022-04-04  Richard Biener  <rguent...@suse.de>

            PR middle-end/105140
            * fold-const.cc (fold_convertible_p): Allow a TYPE_P arg.

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

Reply via email to