public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/49674] New: Improve documentation for __attribute__ __section__
@ 2011-07-08  9:11 rdiezmail-gcc at yahoo dot de
  2011-07-08 10:24 ` [Bug c/49674] " rguenth at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: rdiezmail-gcc at yahoo dot de @ 2011-07-08  9:11 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: Improve documentation for __attribute__ __section__
           Product: gcc
           Version: 4.6.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: rdiezmail-gcc@yahoo.de


Can someone please improve the documentation for __attribute__ __section__ ?
Only functions are mentioned, but I know it works for variables too. This is
the documentation page on the Web:

  http://gcc.gnu.org/onlinedocs/gcc-4.6.1/gcc/Function-Attributes.html

Apparently, there are checks in GCC against the section properties. For
example, you cannot place a non-const variable in a const section, you get a
"section type conflict" error message. Documentation about this would be an
extra bonus.

I wonder how documentation bugs are handled in this project, I couldn't find
any "documentation" category in Bugzilla.

Many thanks in advance.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug c/49674] Improve documentation for __attribute__ __section__
  2011-07-08  9:11 [Bug c/49674] New: Improve documentation for __attribute__ __section__ rdiezmail-gcc at yahoo dot de
@ 2011-07-08 10:24 ` rguenth at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-07-08 10:24 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |documentation
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011.07.08 10:23:58
     Ever Confirmed|0                           |1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-07-08 10:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-08  9:11 [Bug c/49674] New: Improve documentation for __attribute__ __section__ rdiezmail-gcc at yahoo dot de
2011-07-08 10:24 ` [Bug c/49674] " rguenth at gcc dot gnu.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).