https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99363
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Eric Botcazou <ebotca...@gcc.gnu.org>: https://gcc.gnu.org/g:a98cb0f1065de3227a91b6597d62d157f8640323 commit r10-9454-ga98cb0f1065de3227a91b6597d62d157f8640323 Author: Jason Merrill <ja...@redhat.com> Date: Fri Mar 5 17:07:25 2021 -0500 testsuite: Update testcase for PR96078 fix [PR99363] My fix for PR96078 made us stop warning about flatten on an alias if the target has the alias, which is exactly the case tested here. So let's remove the expected warning and add a similar case which does warn. gcc/testsuite/ChangeLog: PR c/99363 * gcc.dg/attr-flatten-1.c: Adjust.