[Bug c/81824] Warn for missing attributes with function aliases
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Nov 13 19:58:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81824
--- Comment #15 from Martin Sebor <msebor at gcc dot gnu.org> ---
Author: msebor
Date: Tue Nov 13 19:57:51 2018
New Revision: 266084
URL: https://gcc.gnu.org/viewcvs?rev=266084&root=gcc&view=rev
Log:
PR middle-end/81824 - Warn for missing attributes with function aliases
gcc/c-family/ChangeLog:
* c-attribs.c (handle_copy_attribute): Exclude inlining attributes.
(handle_tls_model_attribute): Improve diagnostics.
gcc/testsuite/ChangeLog:
* gcc.dg/attr-copy-5.c: New test.
* gcc.dg/tls/diag-6.c: Adjust expected diagnostics.
Added:
trunk/gcc/testsuite/gcc.dg/attr-copy-5.c
Modified:
trunk/gcc/c-family/ChangeLog
trunk/gcc/c-family/c-attribs.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/tls/diag-6.c
More information about the Gcc-bugs
mailing list