freebsd-skq/contrib/gcclibs/include
pfg fe288f1b72 MFC r260311, r260831:
gcc: Add support for Apple's Block extension

Block objects [1] are a C-level syntactic and runtime feature. They
are similar to standard C functions, but in addition to executable
code they may also contain variable bindings to automatic (stack)
or managed (heap) memory. A block can therefore maintain a set of
state (data) that it can use to impact behavior when executed.

This port is based on Apple's GCC 5646 with some bugfixes from
Apple GCC 5666.3. It has some small differences with the support
in clang, which remains the recommended compiler.

Perhaps the most notable difference is that in GCC __block is not
actually a keyword, but a macro. There may be workaround for this
issue in the future. Other issues can be consulted in the clang
documentation [2]

For better compatiblity with Apple's GCC and llvm-gcc, some related
fixes and features from Apple have been included. Support for the
non-standard nested functions in GCC is now off by default.

No effort was made to update the ObjC support since FreeBSD doesn't
carry ObjC in the base system but some of the code crept in and
was more difficult to remove than to adjust.

References:
[1]
https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/Blocks/Articles/00_Introduction.html
[2]
http://clang.llvm.org/compatibility.html#block-variable-initialization

Obtained from:	Apple GCC 4.2
2014-01-26 19:49:54 +00:00
..
ansidecl.h GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
ChangeLog GCC 4.2.1 release miscellaneous support libraries. 2007-08-14 02:52:47 +00:00
ChangeLog-9103 GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
COPYING GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
demangle.h GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
dyn-string.h GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
fibheap.h GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
filenames.h GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
floatformat.h GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
fnmatch.h GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
getopt.h GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
hashtab.h GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
libiberty.h MFC r260311, r260831: 2014-01-26 19:49:54 +00:00
md5.h GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
objalloc.h GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
obstack.h GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
partition.h GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
safe-ctype.h GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
sort.h GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
splay-tree.h GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
symcat.h GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
ternary.h GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
xregex2.h GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
xregex.h GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
xtensa-config.h GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00