This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch i386,c,c++]: PR/12171 - calling convention omitted in error message


Jason Merrill <jason@redhat.com> writes:

> On 12/22/2010 09:29 PM, Gabriel Dos Reis wrote:
>> I'm opposed to printing all attributes -- the resulting sea of
>> irrelevant information, for most cases, is counterproductive.
>
> How often do types have anything in TYPE_ATTRIBUTES, much less
> irrelevant attributes?  I can't imagine such a change making any
> difference for most code, and it's likely to help for any code that it
> does affect.
>
> (Adding Ian to the CC list since he apparently had an opinion)

I am definitely opposed to printing all attributes for functions.

I'm not excited about printing attributes for types, although I agree
that it matters less there.  It seems wrong to print attributes like
"unused" or "may_alias" for types.  Note that "may_alias" is used in
<mmintrin.h> and friends.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]