[Bug tree-optimization/80334] [5 Regression] Segfault when taking address of copy of unaligned struct

aoliva at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Aug 11 19:36:00 GMT 2018


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

--- Comment #12 from Alexandre Oliva <aoliva at gcc dot gnu.org> ---
Created attachment 44527
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44527&action=edit
candidate patch to fix the error noted in comment 11

This patch fixes the unaligned accesses in the testcase in comment 11.  I
haven't yet tested it otherwise.


More information about the Gcc-bugs mailing list