[Bug web/79738] Documentation for __attribute__((const)) slightly misleading

sandra at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 12 02:41:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79738

sandra at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |msebor at gcc dot gnu.org,
                   |                            |sandra at gcc dot gnu.org

--- Comment #2 from sandra at gcc dot gnu.org ---
The documentation for both "const" and "pure" was rewritten somewhat in r255469
(along with some much bigger changes to the attribute handling code to detect
conflicts); now both places refer to "reading global variables" in discussing
the differences between the two attributes.  I think the semantics of the
attributes have not changed and the suggested language is still good, correct?


More information about the Gcc-bugs mailing list