[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.
0001-attribute-improve-const-pure-doc.patch
Description: Text Data
- Unused parameter warnings, Marc Nieper-Wißkirchen, 2020/10/04
- Re: Unused parameter warnings, Bruno Haible, 2020/10/04
- Re: Unused parameter warnings, Marc Nieper-Wißkirchen, 2020/10/06
- Re: Unused parameter warnings, Bruno Haible, 2020/10/06
- Re: Unused parameter warnings, Marc Nieper-Wißkirchen, 2020/10/07
- Re: Unused parameter warnings, Bruno Haible, 2020/10/10
- Re: Unused parameter warnings, Marc Nieper-Wißkirchen, 2020/10/10
- Re: Unused parameter warnings, Bruno Haible, 2020/10/10
- Re: Unused parameter warnings, Marc Nieper-Wißkirchen, 2020/10/10
- Re: Unused parameter warnings,
Paul Eggert <=
- Re: Unused parameter warnings, Bruno Haible, 2020/10/10
- Re: Unused parameter warnings, Paul Eggert, 2020/10/11
- Re: Unused parameter warnings, Jeffrey Walton, 2020/10/11
- Re: 'const' function attribute, Bruno Haible, 2020/10/13
- Re: 'const' function attribute, Paul Eggert, 2020/10/14
- Re: 'const' function attribute, Bruno Haible, 2020/10/18
- Re: Unused parameter warnings, Bruno Haible, 2020/10/10