https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103866
--- Comment #8 from Nicolas Noble <pi...@nobis-crew.org> --- > Yes, and even with that fixed, more checks for $is_hosted are needed for > stdint.h types. I have a patch for that too, but I'm not happy with it yet. I'm willing to test out patches if you need. In fact, since I'm trying to push a bare metal mips compiler out, I'm happy to host some patches with the scripts too while they're not yet merged upstream. See https://github.com/grumpycoders/pcsx-redux/tree/main/tools where I'm hosting the spawning scripts for various platforms. My target is the r3000 mips CPU that's present in the PlayStation 1. > The same problems with stdio.h are listed in the other bug, but the fixes > suggested there are completely wrong, and the abuse is completely > unacceptable. That's fair, and hopefully I'm not pushing out the same abusive behavior, but let me know if you need some space.