[Bug target/65261] [5 Regression] bootstrap-ubsan ppc64le: gcc/libcpp/lex.c:552:30: runtime error: load of misaligned address 0x01002172dfc6 for type 'const uchar', which requires 16 byte alignment

wschmidt at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 2 16:37:00 GMT 2015


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

--- Comment #2 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Markus, yes, if adding that attribute clears up the messages for you, then I
would agree with that solution.  The code is working as designed, as use of
unaligned vector loads and stores on POWER8 is preferable to the
forced-alignment solution.  Could you please verify and submit a patch?

Thanks,
Bill



More information about the Gcc-bugs mailing list