extend.texi (251212) | extend.texi (255107) |
---|---|
1@c Copyright (C) 1988, 1989, 1992, 1993, 1994, 1996, 1998, 1999, 2000, 2@c 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 3 4@c This is part of the GCC manual. 5@c For copying conditions, see the file gcc.texi. 6 7@node C Extensions 8@chapter Extensions to the C Language Family --- 67 unchanged lines hidden (view full) --- 76* Object Size Checking:: Built-in functions for limited buffer overflow 77 checking. 78* Other Builtins:: Other built-in functions. 79* Target Builtins:: Built-in functions specific to particular targets. 80* Target Format Checks:: Format checks specific to particular targets. 81* Pragmas:: Pragmas accepted by GCC. 82* Unnamed Fields:: Unnamed struct/union fields within structs/unions. 83* Thread-Local:: Per-thread variables. | 1@c Copyright (C) 1988, 1989, 1992, 1993, 1994, 1996, 1998, 1999, 2000, 2@c 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 3 4@c This is part of the GCC manual. 5@c For copying conditions, see the file gcc.texi. 6 7@node C Extensions 8@chapter Extensions to the C Language Family --- 67 unchanged lines hidden (view full) --- 76* Object Size Checking:: Built-in functions for limited buffer overflow 77 checking. 78* Other Builtins:: Other built-in functions. 79* Target Builtins:: Built-in functions specific to particular targets. 80* Target Format Checks:: Format checks specific to particular targets. 81* Pragmas:: Pragmas accepted by GCC. 82* Unnamed Fields:: Unnamed struct/union fields within structs/unions. 83* Thread-Local:: Per-thread variables. |
84* Binary constants:: Binary constants using the @samp{0b} prefix. |
|
84@end menu 85 86@node Statement Exprs 87@section Statements and Declarations in Expressions 88@cindex statements inside expressions 89@cindex declarations inside expressions 90@cindex expressions containing statements 91@cindex macros, statements in expressions --- 10327 unchanged lines hidden (view full) --- 10419 10420Add after paragraph 6 10421 10422@quotation 10423Non-@code{static} members shall not be @code{__thread}. 10424@end quotation 10425@end itemize 10426 | 85@end menu 86 87@node Statement Exprs 88@section Statements and Declarations in Expressions 89@cindex statements inside expressions 90@cindex declarations inside expressions 91@cindex expressions containing statements 92@cindex macros, statements in expressions --- 10327 unchanged lines hidden (view full) --- 10420 10421Add after paragraph 6 10422 10423@quotation 10424Non-@code{static} members shall not be @code{__thread}. 10425@end quotation 10426@end itemize 10427 |
10428@node Binary constants 10429@section Binary constants using the @samp{0b} prefix 10430@cindex Binary constants using the @samp{0b} prefix 10431 10432Integer constants can be written as binary constants, consisting of a 10433sequence of @samp{0} and @samp{1} digits, prefixed by @samp{0b} or 10434@samp{0B}. This is particularly useful in environments that operate a 10435lot on the bit-level (like microcontrollers). 10436 10437The following statements are identical: 10438 10439@smallexample 10440i = 42; 10441i = 0x2a; 10442i = 052; 10443i = 0b101010; 10444@end smallexample 10445 10446The type of these constants follows the same rules as for octal or 10447hexadecimal integer constants, so suffixes like @samp{L} or @samp{UL} 10448can be applied. 10449 |
|
10427@node C++ Extensions 10428@chapter Extensions to the C++ Language 10429@cindex extensions, C++ language 10430@cindex C++ language extensions 10431 10432The GNU compiler provides these extensions to the C++ language (and you 10433can also use most of the C language extensions in your C++ programs). If you 10434want to write code that checks whether these features are available, you can --- 703 unchanged lines hidden --- | 10450@node C++ Extensions 10451@chapter Extensions to the C++ Language 10452@cindex extensions, C++ language 10453@cindex C++ language extensions 10454 10455The GNU compiler provides these extensions to the C++ language (and you 10456can also use most of the C language extensions in your C++ programs). If you 10457want to write code that checks whether these features are available, you can --- 703 unchanged lines hidden --- |