[Bug c/50720] "deprecated" doesn't work as expected for functions returning pointer

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jan 7 22:23:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50720

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.8.0

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-07 22:23:37 UTC ---
struct foo * __attribute__ ((deprecated)) old_fn1a();
The attribute there applies to the pointer ...



More information about the Gcc-bugs mailing list