[PATCH] D70122: [cmake] Disable GCC 9's -Winit-list-lifetime warning

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 17 08:58:06 PST 2019


rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.

I think we can take this patch as-is on the basis that right now the GCC 9 build is full of warning spam. Fixing that doesn't need to be blocked on the warning cleanup or the careful addition of warning pragma push/pops and the associated ifdefs. I also suspect that the warning may affect the call site of the ArrayRef constructor, in which case the pragmas won't be localized, they will be everywhere. Please wait for @aaron.ballman to approve this, since I don't want to override his concern unilaterally.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70122





More information about the llvm-commits mailing list