[Bug c/87483] attribute alias accepted on a symbol definition
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Oct 4 14:45:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87483
--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Thu Oct 4 14:44:53 2018
New Revision: 264846
URL: https://gcc.gnu.org/viewcvs?rev=264846&root=gcc&view=rev
Log:
Error about alias attribute with body definition (PR c/87483).
2018-10-04 Martin Liska <mliska@suse.cz>
PR c/87483
* cgraphunit.c (process_function_and_variable_attributes):
Warn about a function with alias attribute and a body.
2018-10-04 Martin Liska <mliska@suse.cz>
PR c/87483
* gcc.dg/pr87483.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr87483.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cgraphunit.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list