C++ builtin bool type

Toshiyasu Morita tm@netcom.com
Wed Dec 16 13:44:00 GMT 1998


We're having some minor problems with the C++ bool type with the SH4...
it's defaulting to byte, which is very bad.

Is it possible to change the size of the bool type? On the SH4, there are 
fewer addressing modes available for byte rather than longword, and 
therefore GCC tends to generate really horrible code when bools are 
in structs...

Toshi





More information about the Gcc-bugs mailing list