[PATCH] D126864: [clang] Introduce -fstrict-flex-arrays=<n> for stricter handling of flexible arrays

David Blaikie via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 24 14:50:51 PDT 2022


dblaikie added subscribers: cmtice, dblaikie.
dblaikie added a comment.
Herald added a subscriber: steakhal.

Looks like this got committed in 886715af962de2c92fac4bd37104450345711e4a <https://reviews.llvm.org/rG886715af962de2c92fac4bd37104450345711e4a> though it was missing the `Differential Revision` tag to allow phab (or humans) to connect the commit with the review.

In any case, this seems to be causing a UBSan (`UndefinedBehaviorSanitizer: out-of-bounds-index third_party/python_runtime/v3_9/Objects/codeobject.c:54:34 `) regression in Python 3.9 at Google - I don't have a readily shareable standalone reproduction just now - but would you consider reverting while this is investigated further?

(@cmtice)


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

https://reviews.llvm.org/D126864



More information about the cfe-commits mailing list