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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Andre Simoes Dias Vieira
<avie...@gcc.gnu.org>:

https://gcc.gnu.org/g:3ad0ef34ccbe656a7a9e5962fe1173226104174a

commit r14-1708-g3ad0ef34ccbe656a7a9e5962fe1173226104174a
Author: Andre Vieira <andre.simoesdiasvie...@arm.com>
Date:   Mon Jun 12 10:30:39 2023 +0100

    vect: Don't pass subtype to vect_widened_op_tree where not needed [PR
110142]

    This patch fixes an issue introduced by
    g:2f482a07365d9f4a94a56edd13b7f01b8f78b5a0, where a subtype was beeing
passed
    to vect_widened_op_tree, when no subtype was to be used. This lead to an
    errorneous use of IFN_VEC_WIDEN_MINUS.

    gcc/ChangeLog:

            PR middle-end/110142
            * tree-vect-patterns.cc (vect_recog_widen_op_pattern): Don't pass
            subtype to vect_widened_op_tree and remove subtype parameter, also
            remove superfluous overloaded function definition.
            (vect_recog_widen_plus_pattern): Remove subtype parameter and dont
pass
            to call to vect_recog_widen_op_pattern.
            (vect_recog_widen_minus_pattern): Likewise.

    gcc/testsuite/ChangeLog:

            * gcc.dg/vect/pr110142.c: New test.

Reply via email to