[PATCH] D155580: [trivial-auto-var-init] Do not emit initialization code for empty class

serge via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 20 10:05:09 PDT 2023


serge-sans-paille added a subscriber: jakubjelinek.
serge-sans-paille added a comment.

@jfb ok, makes sense. For the record it does show up in our profile but I have been able to workaround it without touching the compiler. This probably mean that the GCC implementation is having a small hole, @jakubjelinek do you think it's worth opening a bug in GCC concerning the lack of memsetting on empty class byte under `-ftrivial-auto-var-init`?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D155580/new/

https://reviews.llvm.org/D155580



More information about the cfe-commits mailing list