On Tue, May 12, 2020 at 11:57 AM H.J. Lu <hjl.to...@gmail.com> wrote: > > On Tue, May 12, 2020 at 1:12 AM Richard Biener via Gcc-patches > <gcc-patches@gcc.gnu.org> wrote: > > > > On Tue, May 12, 2020 at 9:04 AM Martin Liška <mli...@suse.cz> wrote: > > > > > > On 5/11/20 2:44 PM, Richard Biener wrote: > > > > Hmm, I think the fix is to clear DECL_NOT_GIMPLE_REG_P instead > > > > where the code clears TREE_ADDRESSABLE of 'arg' > > > > > > Ah, you are right. There's a patch that I've just tested. > > > > > > Patch can bootstrap on x86_64-linux-gnu and survives regression tests. > > > > > > Ready to be installed? > > > > OK. > > > > I got > > FAIL: gcc.dg/asan/pr95051.c -O0 (test for excess errors) > FAIL: gcc.dg/asan/pr95051.c -O1 (test for excess errors) > FAIL: gcc.dg/asan/pr95051.c -O2 -flto -fno-use-linker-plugin > -flto-partition=none (test for excess errors) > FAIL: gcc.dg/asan/pr95051.c -O2 -flto -fuse-linker-plugin > -fno-fat-lto-objects (test for excess errors) > FAIL: gcc.dg/asan/pr95051.c -O2 (test for excess errors) > FAIL: gcc.dg/asan/pr95051.c -O3 -g (test for excess errors) > FAIL: gcc.dg/asan/pr95051.c -Os (test for excess errors) > > on Linux/x86. >
Excess errors: cc1: error: '-fsanitize=address' is incompatible with '-fsanitize=kernel-address' -- H.J.