------- Comment #9 from hjl dot tools at gmail dot com 2009-12-09 17:43 ------- Created an attachment (id=19268) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19268&action=view) Source and object files
These are sources and object files generated by gcc 4.4, icc 11.1 and Sun Studio 12 Update 1 at -O. The results are 1. All compilers access _Bool as one byte when reading function return and function parameters. 2. icc 11.1 and Sun Studio 12 Update 1 clear bits 1-63 when writing function return and function parameters. 3. Gcc 4.4 clears bits 1-7 when writing function return. 4. Gcc 4.4 clears bits 1-31 when writing function parameters. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42324