This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Clean-up C's builtin function type matching.
- From: Segher Boessenkool <segher at koffie dot nl>
- To: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- Cc: Roger Sayle <roger at eyesopen dot com>,David O'Brien <obrien at freebsd dot org>,Fergus Henderson <fjh at cs dot mu dot OZ dot AU>,Gerald Pfeifer <gerald at pfeifer dot com>, gcc-patches at gcc dot gnu dot org,kan at freebsd dot org
- Date: Tue, 22 Jul 2003 15:32:14 +0200
- Subject: Re: [PATCH] Clean-up C's builtin function type matching.
- References: <Pine.LNX.4.44.0307211131260.9707-100000@www.eyesopen.com> <m3y8yrpw43.fsf@uniton.integrable-solutions.net>
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.
Segher