Re: [PATCH] testsuite: Fix up attr-flatten-1.c failure [PR99363]

2021-03-09 Thread Eric Botcazou
> We should still test that we get the warning if the target doesn't have > the attribute. I'll fix the test, thanks. You probably need to do the same on the 10 branch since it fails there too. -- Eric Botcazou

Re: [PATCH] testsuite: Fix up attr-flatten-1.c failure [PR99363]

2021-03-05 Thread Jason Merrill via Gcc-patches
On 3/5/21 3:44 PM, Jakub Jelinek wrote: On Wed, Feb 24, 2021 at 07:08:34PM -0500, Jason Merrill via Gcc-patches wrote: gcc/ChangeLog: PR c++/96078 * cgraphunit.c (process_function_and_variable_attributes): Don't warn about flatten on an alias if the target also has it.

[PATCH] testsuite: Fix up attr-flatten-1.c failure [PR99363]

2021-03-05 Thread Jakub Jelinek via Gcc-patches
On Wed, Feb 24, 2021 at 07:08:34PM -0500, Jason Merrill via Gcc-patches wrote: > gcc/ChangeLog: > > PR c++/96078 > * cgraphunit.c (process_function_and_variable_attributes): Don't > warn about flatten on an alias if the target also has it. > * cgraph.h (symtab_node::get_ali