This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFC PATCH]: Define "bool" as _Bool when bootstrapping with gcc >= 4.4


Hello!

Attached patch defines bool as _Bool when bootstrapping (or compiling
with gcc >= 4.4).

2010-09-21  Uros Bizjak  <ubizjak@gmail.com>

	* system.h (bool): Define as _Bool for gcc >= 4.4.
	(BOOL_BITFILED): Ditto.

Attached patch was bootstrapped and regression tested on
x86_64-pc-linux-gnu {,-m32} and alphaev68-pc-linux-gnu without
problems. The version of bootstrap compiler is set to 4.4 since this
is the version of the bootstrap compiler I have, and I'm pretty
confident it won't make problems on the targets I have tested.

RFC patch for now, but I think it is ready for inclusion into mainline SVN.

Uros.

Attachment: p.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]