PATCH: Replace _XXX with XXX_P

H.J. Lu hjl.tools@gmail.com
Tue Dec 15 18:22:00 GMT 2009


On Tue, Dec 15, 2009 at 10:02 AM, Andreas Schwab <schwab@redhat.com> wrote:
> "H.J. Lu" <hjl.tools@gmail.com> writes:
>
>> [hjl@gnu-6 tmp]$ gcc -S x.c -Wshadow
>> x.c: In function ‘foo’:
>> x.c:4: warning: declaration of ‘_mm_load_pd’ shadows a global declaration
>> /usr/lib/gcc/x86_64-redhat-linux/4.4.2/include/emmintrin.h:104:
>> warning: shadowed declaration is here
>> [hjl@gnu-6 tmp]$
>>
>> Is this a bug in gcc?
>
> No, why do you think so?
>

If you replace _mm_load_pd with _open, it is what happens on
mingw, which you think is a bug.



-- 
H.J.



More information about the Binutils mailing list