Document compatibility of aliases and their targets, correct weakref example.
authorMartin Sebor <msebor@redhat.com>
Sat, 15 Feb 2020 00:13:29 +0000 (17:13 -0700)
committerMartin Sebor <msebor@redhat.com>
Sat, 15 Feb 2020 00:13:29 +0000 (17:13 -0700)
commitd6ee2e7c5a6be075bfb98fd8ff1e456ae280cebe
treeceab0011980223751322b2c29b1d5ab960ef2761
parent1d757b0950831ee9e223b3159e9d44461b6dbdd2
Document compatibility of aliases and their targets, correct weakref example.

gcc/ChangeLog:

* doc/extend.texi (attribute alias): Mention type requirement.
(attribute weak): Same.
(attribute weakref): Correct invalid example.
ChangeLog
gcc/doc/extend.texi