[Bug tree-optimization/126404] [16/17 Regression] ICE at -O2/3 on aarch64 during GIMPLE pass: vect

"pinskia at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126404

--- Comment #3 from Drea Pinski <pinskia at gcc dot gnu.org> ---
Created attachment 65129
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=65129&action=edit
Reduced testcase

There is a missed optimization after vec_ch:
  _1 = 0;
  _18 = (unsigned int) _16;
  if (_1 != 0)
    goto <bb 7>; [89.00%]
  else
    goto <bb 5>; [11.00%]

The 0 comes from the __builtin_add_overflow.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.