bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unused parameter warnings


From: Paul Eggert
Subject: Re: Unused parameter warnings
Date: Sat, 10 Oct 2020 11:50:48 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 10/10/20 8:00 AM, Marc Nieper-Wißkirchen wrote:

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

Looking at that bug report and related material (particularly Richard Biener's 2012 comment <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51971#c1>) the GCC folks seem to have decided long ago that const and pure attributes were intended more as directives for common subexpression elimination than as independent notions in their own right, it's just that they haven't gotten around to (or are embarrassed to :-) document that decision. In the meantime, to try to help out Gnulib hackers I installed the attached commentary changes. It was cleaner to document 'const' first so I rearranged the #defines.

Attachment: 0001-attribute-improve-const-pure-doc.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]