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] Clean-up C's builtin function type matching.


Segher Boessenkool <segher@koffie.nl> writes:

| Gabriel Dos Reis wrote:
| > Why would
| >   int main(void) { int sin = 0; return sin; }
| > be a non-conformant usage of 'sin'?
| 
| C99, 7.1.3.1:
| 
| 	All identifiers with external linkage in any of the
| 	following subclauses [...] are always reserved for
| 	use as identifiers with external linkage.
| 
| The usage of sin here has no linkage.

Yes, I know.  That was the point I was making.

-- Gaby


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