middle-end/111591 - explain why TBAA doesn't need adjustment
commit97094d2ffd7d00261e6d7cc5d4a62dc7c2c89b64
authorRichard Biener <rguenther@suse.de>
Wed, 13 Dec 2023 07:54:49 +0000 (13 08:54 +0100)
committerRichard Biener <rguenther@suse.de>
Wed, 13 Dec 2023 07:59:01 +0000 (13 08:59 +0100)
treef31a79bc61326149ad06a29fbf07a418571b339a
parent8e0568d8ac9dbfc8199f970c5c7f26b9735e0e7b
middle-end/111591 - explain why TBAA doesn't need adjustment

While tidying the prototype patch I've done for the reduced testcase
in PR111591 and in that process trying to produce a testcase that
is miscompiled by stack slot coalescing and the TBAA info that
remains un-altered I've realized we do not need to adjust TBAA info.

The following documents this in the place we adjust points-to info
which we do need to adjust.

PR middle-end/111591
* cfgexpand.cc (update_alias_info_with_stack_vars): Document
why not adjusting TBAA info on accesses is OK.
gcc/cfgexpand.cc