aboutsummaryrefslogtreecommitdiff
path: root/gcc/ginclude/stdbool.h
AgeCommit message (Collapse)AuthorFilesLines
2003-03-13float.h, [...]: GCC, not GNU CC.Nathanael Nerode1-4/+4
* ginclude/float.h, ginclude/iso646.h, ginclude/stdarg.h, ginclude/stdbool.h, ginclude/stddef.h: GCC, not GNU CC. From-SVN: r64291
2000-11-13c-common.c (boolean_increment): New function.Joseph Myers1-13/+3
* c-common.c (boolean_increment): New function. * c-common.h (enum c_tree_index): Add CTI_C_BOOL_TYPE, CTI_C_BOOL_TRUE and CTI_C_BOOL_FALSE. (c_bool_type_node, c_bool_true_node, c_bool_false_node): Define. (boolean_increment): Declare. * c-convert.c (convert): Allow for BOOLEAN_TYPE. * c-decl.c (init_decl_processing): Create boolean nodes. (finish_struct): Allow for _Bool bitfields. * c-parse.in (reswords): Add _Bool. (rid_to_yy): Allow for RID_BOOL. * c-typeck.c (default_conversion): Make booleans promote to int. (convert_arguments, build_unary_op, build_modify_expr, convert_for_assignment): Allow for booleans. * ginclude/stdbool.h: Make conforming to C99. cp: * typeck.c (build_unary_op): Use boolean_increment from c-common.c, moving the relevant code there. testsuite: * gcc.dg/c99-bool-1.c: New test. From-SVN: r37428
2000-01-04* ginclude/stdbool.h: Support compilation as C++.Martin v. Löwis1-1/+12
From-SVN: r31201
1999-09-23iso646.h, [...]: Add copyright notice and special exception to GPL.Zack Weinberg1-3/+32
1999-09-23 10:56 -0700 Zack Weinberg <zack@bitmover.com> * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add copyright notice and special exception to GPL. From-SVN: r29624
1999-08-29stdbool.h: Make the typedef name _Bool, with bool a #defined alias.Zack Weinberg1-2/+5
1999-08-29 08:38 -0700 Zack Weinberg <zack@bitmover.com> * stdbool.h: Make the typedef name _Bool, with bool a #defined alias. From-SVN: r28972
1998-05-30Makefile.in (USER_H): Add stdbool.h.Jeff Law1-0/+20
* Makefile.in (USER_H): Add stdbool.h. * ginclude/stdbool.h: New file. From-SVN: r20145