bug 2645 and restrict

Gabriel Dos Reis gdr@codesourcery.com
Thu Apr 26 23:42:00 GMT 2001


Mark Mitchell <mark@codesourcery.com> writes:

| >>>>> "Jason" == Jason Merrill <jason_merrill@redhat.com> writes:
| 
| >>>>> "Gabriel" == Gabriel Dos Reis <gdr@codesourcery.com> writes:
| 
|     >> I don't agree. The description given by Nathan applies as well
|     >> to volatile.
| 
|     Jason> I agree with Fergus that this is unfortunate.  But I
|     Jason> suppose I'd be happy to accept __restrict__ in this
|     Jason> situation with a warning.
| 
| Yes, that makes sense to me too.  (Same goes for volatile, actually.)
| If we're ignoring the qualifier, issue a plain warning; a pedwarn is
| too strong because that will halt compilation.

I'm convinced.

-- Gaby
CodeSourcery, LLC                       http://www.codesourcery.com



More information about the Gcc mailing list