[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
Wed Aug 22 05:49:00 GMT 2018


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

--- Comment #14 from Alexandre Oliva <aoliva at gcc dot gnu.org> ---
Done, bug 87054.

The patch in comment 13 fails libstdc++-v3; the language-independent
get_object_alignment can't deal with unresolved template expressions, so using
the same logic you added to ivopts to adjust the type of the
compiler-introduced pointer won't do in build_fold_addr_expr_loc.


More information about the Gcc-bugs mailing list