This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: Replace _XXX with XXX_P


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.


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