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

Kewen Lin <linkw at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
           Assignee|unassigned at gcc dot gnu.org      |linkw at gcc dot gnu.org
   Last reconfirmed|                            |2022-05-06
             Status|UNCONFIRMED                 |NEW
                 CC|                            |linkw at gcc dot gnu.org

--- Comment #1 from Kewen Lin <linkw at gcc dot gnu.org> ---
Confirmed.

AT15.0 (GCC11) emits error messages instead of ICE.

err.c: In function ‘T b()’:
err.c:7:29: error: unresolved overload for Altivec builtin ‘__vector(4) int
__builtin_vec_vslv(__vector(4) int, __vector(4) int)’
    7 |   return __builtin_vec_vslv (c, d);
      |          ~~~~~~~~~~~~~~~~~~~^~~~~~

I thought it's due to new bif framework, but met the same ICE with one gcc
right before new bif framework is enabled.

The target hook gimple_fold_builtin expects normal BIF code instead of OVLD
code, but for this case DECL_MD_FUNCTION_CODE returns OVLD code which is out of
expectation.

Doing a bisection.

Reply via email to