public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c/20533] New: documentation: attribute 'used', applied to a variable @ 2005-03-18 15:58 gary at intrepid dot com 2005-03-18 16:41 ` [Bug c/20533] " pinskia at gcc dot gnu dot org 2005-03-26 18:34 ` pinskia at gcc dot gnu dot org 0 siblings, 2 replies; 5+ messages in thread From: gary at intrepid dot com @ 2005-03-18 15:58 UTC (permalink / raw) To: gcc-bugs See related discussion in Bug #20319, and at http://gcc.gnu.org/ml/gcc/2005-03/msg00450.html The "used" attribute is described only under "function attributes" and not under "variable attributes" in the documentation: used This attribute, attached to a function, means that code must be emitted for the function even if it appears that the function is not referenced. This is useful, for example, when the function is referenced only in inline assembly. (see: http://gcc.gnu.org/onlinedocs/gcc-3.4.3/gcc/Function- Attributes.html#Function-Attributes) It would be helpful if the documentation were updated to describe the behavior of the `used' attribute when apllied to variables. -- Summary: documentation: attribute 'used', applied to a variable Product: gcc Version: 3.4.3 Status: UNCONFIRMED Severity: minor Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gary at intrepid dot com CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20533 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/20533] documentation: attribute 'used', applied to a variable 2005-03-18 15:58 [Bug c/20533] New: documentation: attribute 'used', applied to a variable gary at intrepid dot com @ 2005-03-18 16:41 ` pinskia at gcc dot gnu dot org 2005-03-26 18:34 ` pinskia at gcc dot gnu dot org 1 sibling, 0 replies; 5+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-03-18 16:41 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- Keywords| |documentation http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20533 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/20533] documentation: attribute 'used', applied to a variable 2005-03-18 15:58 [Bug c/20533] New: documentation: attribute 'used', applied to a variable gary at intrepid dot com 2005-03-18 16:41 ` [Bug c/20533] " pinskia at gcc dot gnu dot org @ 2005-03-26 18:34 ` pinskia at gcc dot gnu dot org 1 sibling, 0 replies; 5+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-03-26 18:34 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2005-03-26 18:34:14 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20533 ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <bug-20533-9975@http.gcc.gnu.org/bugzilla/>]
* [Bug c/20533] documentation: attribute 'used', applied to a variable [not found] <bug-20533-9975@http.gcc.gnu.org/bugzilla/> @ 2006-10-01 19:03 ` sayle at gcc dot gnu dot org 2006-10-01 20:15 ` pinskia at gcc dot gnu dot org 1 sibling, 0 replies; 5+ messages in thread From: sayle at gcc dot gnu dot org @ 2006-10-01 19:03 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from sayle at gcc dot gnu dot org 2006-10-01 19:03 ------- Subject: Bug 20533 Author: sayle Date: Sun Oct 1 19:03:24 2006 New Revision: 117349 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117349 Log: 2006-10-01 Ryan Mansfield <rmansfield@qnx.com> PR c/20533 * doc/extend.texi: Add used variable attribute description. Modified: trunk/gcc/ChangeLog trunk/gcc/doc/extend.texi -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20533 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/20533] documentation: attribute 'used', applied to a variable [not found] <bug-20533-9975@http.gcc.gnu.org/bugzilla/> 2006-10-01 19:03 ` sayle at gcc dot gnu dot org @ 2006-10-01 20:15 ` pinskia at gcc dot gnu dot org 1 sibling, 0 replies; 5+ messages in thread From: pinskia at gcc dot gnu dot org @ 2006-10-01 20:15 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from pinskia at gcc dot gnu dot org 2006-10-01 20:15 ------- Fixed. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Target Milestone|--- |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20533 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-10-01 20:15 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2005-03-18 15:58 [Bug c/20533] New: documentation: attribute 'used', applied to a variable gary at intrepid dot com 2005-03-18 16:41 ` [Bug c/20533] " pinskia at gcc dot gnu dot org 2005-03-26 18:34 ` pinskia at gcc dot gnu dot org [not found] <bug-20533-9975@http.gcc.gnu.org/bugzilla/> 2006-10-01 19:03 ` sayle at gcc dot gnu dot org 2006-10-01 20:15 ` pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).