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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Created attachment 44319
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44319&action=edit
Preprocessed testcase

This is preprocessed with boost 1.64.0 and needs libboost_log.so from that
version to link. Maybe this is enough to compare the optimized dumps with and
without -fipa-cp-clone.

I also see that replacing the call to __builtin_memcpy with memcpy (in
char_traits::copy immediately after the __builtin_printf call) doesn't crash.

Reply via email to