[Bug target/106253] [13 Regression] ICE in vect_transform_loops, at tree-vectorizer.cc:1032

tnfchris at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jul 13 11:12:56 GMT 2022


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

--- Comment #10 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
For completeness, I reduced the Armhf failure and that seems to happen on
bswap.

#include <stdlib.h>
#include <stdint.h>

void
__sha256_process_block (uint32_t *buffer, size_t len, uint32_t *W)
{
 for (unsigned int t = 0; t < 16; ++t)
 {
   W[t] = __bswap_32 (*buffer);                                                
                                                                               
                                                                               
                                ++buffer;
 }
}

will ICE at -O3


More information about the Gcc-bugs mailing list