[Bug ipa/92799] [8/9/10 Regression] ICE on a weakref function definition followed by a declaration
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 18 20:48:12 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92799
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Sebor <msebor@gcc.gnu.org>:
https://gcc.gnu.org/g:3512dc0108afbed3bece2e9fa1719fb3ce1d73d9
commit r10-7267-g3512dc0108afbed3bece2e9fa1719fb3ce1d73d9
Author: Martin Sebor <msebor@redhat.com>
Date: Wed Mar 18 14:47:29 2020 -0600
PR ipa/92799 - ICE on a weakref function definition followed by a
declaration
gcc/testsuite/ChangeLog:
PR ipa/92799
* gcc.dg/attr-weakref-5.c: New test.
gcc/ChangeLog:
PR ipa/92799
* cgraphunit.c (process_function_and_variable_attributes): Also
complain about weakref function definitions and drop all effects
of the attribute.
More information about the Gcc-bugs
mailing list