Commit Graph

9 Commits

Author SHA1 Message Date
pfg
f95e394e35 Add support for the GCC binary integer constants extension.
This is required to build the i965 backend with newer versions of mesa.

Original patch from Joerg Wunsch in GCC Bug 23479, under the GPLv2;
also taken from there in OpenBSD.

Obtained from:	gcc 4.3 (rev. 125346; GPLv2)
MFC after:	5 days
2013-08-31 20:33:37 +00:00
pfg
b0d72f0d7a Add support for "d" floating-point suffix, as defined by draft N1312
of TR 24732. Emit pedantic warning if the feature is being used.

Should solve GCC bug 39027.

Obtained from:	OpenBSD
MFC after:	2 weeks
2013-05-12 15:29:35 +00:00
eadler
0af88b7eae Clean up hardcoded ar(1) flags in the tree to use the global ARFLAGS in
share/mk/sys.mk instead.

This is part of a medium term project to permit deterministic builds of
FreeBSD.

Submitted by:	Erik Cederstrand <erik@cederstrand.dk>
Reviewed by:	imp, toolchain@
Approved by:	cperciva
MFC after:	2 weeks
2012-12-06 01:31:25 +00:00
ed
753612fc80 Add support for __COUNTER__.
__COUNTER__ allows one to obtain incrementing (read: unique) numbers
from the C preprocesor. This is useful when implementing things like a
robust implementation of CTASSERT(), which currently fails when using
it more than once on a single line of code. Probably not likely to cause
any breakage, but still.

__COUNTER__ was also added to GCC 4.3, but since that implementation is
GPLv3 licensed, I took the liberty of implementing it without looking at
any upstream sources. Therefore, this version is licensed under the same
license as the rest of the code; GPLv2.
2011-12-13 17:34:47 +00:00
benl
0748b6b611 Fix clang compile warnings.
Approved by:	philip (mentor)
2011-05-22 22:14:15 +00:00
kan
cc9d7c552e This commit was generated by cvs2svn to compensate for changes in r171831,
which included commits to RCS files with non-trunk default branches.
2007-08-14 02:52:47 +00:00
kan
b162aa2e5a GCC 4.2.1 release miscellaneous support libraries. 2007-08-14 02:52:47 +00:00
kan
5150d199b6 Re-add local FreeBSD change: prefer /tmp to /var/tmp and /usr/tmp
for temporary files.
2007-05-19 03:17:00 +00:00
kan
97ee9c3f29 GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00