[Bug tree-optimization/123525] [16 Regression] ICE: verify_gimple failed: conversion of register to a different size in 'view_convert_expr' with -O -mavx512f

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jan 10 13:20:37 GMT 2026


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

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
We go from:
  _2 = BIT_FIELD_REF <w_5(D), 32, 160>;
  _6 = (long int) _2;
  _1 = {_6, _6, _6, _6, _6, _6, _6, _6};

to:
  _16 = VEC_PERM_EXPR <w_12(D), w_12(D), { 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
5, 5, 5, 5 }>;
  _17 = VIEW_CONVERT_EXPR<vector(8) intD.6>(_16);




were w is `vector(16) int`.


More information about the Gcc-bugs mailing list