[clang] [Clang] Enable -fpointer-tbaa by default. (PR #117244)

Matheus Izvekov via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 4 09:43:43 PST 2024


https://github.com/mizvekov commented:

I think this is a strict improvement over the general 'fstrict-aliasing' mode we already have, and I see little value in maintaining separate levels of strict aliasing conformance long term.

I think it would not be a good situation for users to rely on some level of strict aliasing violations, by clang accepting some bugs, rejecting others, without a clear line separating them.

I'd favor not having the flag, with 'fno-strict-aliasing' still being enforced.
I don't have strong objections against the new flag, if it's only temporary, with a clear goalpost for removing it.

https://github.com/llvm/llvm-project/pull/117244


More information about the cfe-commits mailing list