On Tue, Aug 17, 2021 at 3:52 AM Martin Sebor via Gcc-patches <gcc-patches@gcc.gnu.org> wrote: > > The attached patch continues with the move of warning code from > builtins.c and calls.c into a more suitable home. As before, it > is mostly free of functional changes. The one exception is that > as pleasant a side-effect, moving the attribute access checking > from initialize_argument_information() in calls.c to the new > warning pass also happens to fix PR 101854. This is thanks to > the latter iterating over function arguments explicitly provided > in the program and not having to worry about skipping over > the additional pointer argument synthesized for calls to functions > that return a large struct by value that the former function sneaks > into the argument list. > > Tested on x86_64-linux.
OK. Thanks, Richard. > Martin > > Previous patches in this series: > https://gcc.gnu.org/pipermail/gcc-patches/2021-August/576821.html > https://gcc.gnu.org/pipermail/gcc-patches/2021-July/575377.html