embedded mips, C++, and gcc 3.0.1

Hans-Peter Nilsson hp@bitrange.com
Thu Sep 6 18:27:00 GMT 2001


On Thu, 6 Sep 2001, Joel Sherrill wrote:
> libstdc++-v3 has what I think is a minor problem in
> libstdc++-v3/config/cpu/mips/atomicity.h.  This file
> unconditionally includes <sgidefs.h> which is not
> available on embedded targets using gcc/newlib.
>
> What is it really being used for?  I can't see
> why it is there and why the code can't just use
> gcc predefines for mips ISA level.

The change introducing #include <sgidefs.h> was neutralized on
the trunk, and should definitely be neutralized on the branch
too.  Maybe the MIPS maintainer could do or delegate.

brgds, H-P



More information about the Gcc-bugs mailing list