Re: MIPS predefined macro question (_MIPS_ISA)

2013-02-11 Thread Richard Sandiford
Steve Ellcey writes: > I was looking at a bug in my new memcpy in glibc & newlib and traced it > down to this code: > > #if (_MIPS_ISA == _MIPS_ISA_MIPS4) || (_MIPS_ISA == _MIPS_ISA_MIPS5) || \ > (_MIPS_ISA == _MIPS_ISA_MIPS32) || (_MIPS_ISA == _MIPS_ISA_MIPS64) > > The problem is that GCC is

MIPS predefined macro question (_MIPS_ISA)

2013-02-11 Thread Steve Ellcey
I was looking at a bug in my new memcpy in glibc & newlib and traced it down to this code: #if (_MIPS_ISA == _MIPS_ISA_MIPS4) || (_MIPS_ISA == _MIPS_ISA_MIPS5) || \ (_MIPS_ISA == _MIPS_ISA_MIPS32) || (_MIPS_ISA == _MIPS_ISA_MIPS64) The problem is that GCC is defining _MIPS_ISA to something (