| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
GCC 4.2.1 was disconnected from FreeBSD in r358454.
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=358459
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
DR #289[0] came down and gcc4.2.1 was on the wrong side of history.
Partially revert GCC r42574 (just remove the error) to rectify the parse
bug to match Clang and other compliant C99 compilers.
An example declaration gcc tripped on before this fix:
void foobar(int [static 1]);
An example declaration gcc did not trip on before this fix:
void foobar(int name[static 1]);
Bump __FreeBSD_cc_version.
[0]: http://www.open-std.org/JTC1/SC22/WG14/www/docs/dr_289.htm
Reported by: allanjude
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=300822
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 that __block
is not actually a keyword, but a macro. There will be workaround
for this issue in a near 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.
Reference:
[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
MFC after: 3 weeks
Notes:
svn path=/head/; revision=260311
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Apple GCC has extensions to support for both label attributes and
an "unavailable" attribute. These are critical for objc but are
also useful in regular C/C++.
Apparently at least the label attributes might have found their way to
upstream GCC but the code doesn't seem available on the GPLv2 tree so
we are taking the code directly from Apple. To make this clearer we
are preserving the annoying "APPLE LOCAL" tags and the ChangeLogs
when they are available.
Obtained from: Apple GCC 4.2 - 5531
MFC after: 3 weeks
Notes:
svn path=/head/; revision=260014
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This solves GCC/32617 and contributes to reduce differences with
Apple's gcc42.
Complete some references in the ChangeLog while here.
Obtained from: gcc 4.3 (rev. 126529, 126588; GPLv2)
MFC after: 3 weeks
Notes:
svn path=/head/; revision=258748
|
|
|
|
|
|
|
|
| |
Obtained from: gcc 4.3 (rev. 122851; GPLv2)
MFC after: 3 weeks
Notes:
svn path=/head/; revision=258204
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Implement -Wvariable-decl.
- Port -Wtrampolines support from gcc3.
(all three also via OpenBSD)
PR: gnu/127136, gnu/157019
Submitted by: Henning Petersen, Pedro Giffuni
MFC after: 6 weeks
Notes:
svn path=/head/; revision=223715
|
|
|
|
|
|
|
|
|
|
| |
inline function support. This should fix instances where gcc
spuriously reports the following error:
error: nested function 'foo' declared but never defined
Notes:
svn path=/head/; revision=190404
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
original intent, but the functionality wasn't implemented until after
gcc 4.2 was released. However, if you compiled a program that would
behave differently before and after this change, gcc 4.2 would have
warned you; hence, everything currently in the base system is
unaffected by this change. This patch also adds additional warnings
about certain inline function-related bogosity, e.g., using a
static non-const local variable in an inline function.
These changes were merged from a snapshot of gcc mainline from March
2007, prior to the GPLv3 switch. I then ran the regression test suite
from a more recent gcc snapshot and fixed the important bugs it found.
I also squelched the following warning unless -pedantic is specified:
foo is static but used in inline function bar which is not static
This is consistent with LLVM's behavior, but not consistent with gcc 4.3.
Reviewed by: arch@
Notes:
svn path=/head/; revision=189824
|
|
|
|
| |
Notes:
svn path=/head/; revision=169699
|
|
|
|
| |
Notes:
svn path=/head/; revision=161660
|
|
|
|
|
|
|
|
|
|
| |
This allows us to fix non-ISO-C constructs in our kernel to legal ISO-C.
Submitted by: rodrigc
Obtained from: http://gcc.gnu.org/ml/gcc-patches/2005-09/msg00006.html
Notes:
svn path=/head/; revision=149846
|
|
|
|
| |
Notes:
svn path=/head/; revision=146906
|
|
|
|
|
|
|
|
| |
Revision 1.3 to suppress warnings on K&R main is not useful anymore
since GCC suppresses such warnings unconditionally now.
Notes:
svn path=/head/; revision=132730
|
|
|
|
| |
Notes:
svn path=/head/; revision=122196
|
|
|
|
|
|
|
| |
1.3 suppress warnings on K&R main.
Notes:
svn path=/head/; revision=119268
|
|
|
|
|
|
|
|
|
|
| |
1.3 suppress warnings on K&R main.
Rev. 1.2 (options for kernel printf enhancements) changes have been
moved to another
Notes:
svn path=/head/; revision=117421
|
|
|
|
|
|
|
|
| |
1.2 kernel printf enhancements framework.
1.3 suppress prototype warnings on K&R main.
Notes:
svn path=/head/; revision=110623
|
|
|
|
|
|
|
| |
into Gcc 3.2.1 release.
Notes:
svn path=/head/; revision=107593
|
|
|
|
|
|
|
|
|
|
| |
1.2 kernel printf enchancements framework
1.3 suppress warnings on K&R main
Approved by: obrien
Notes:
svn path=/head/; revision=104761
|
|
|
|
|
|
|
|
|
|
| |
1.2 kernel printf enchancements framework
1.3 suppress warnings on K&R main
Approved by: obrien
Notes:
svn path=/head/; revision=102790
|
|
|
|
| |
Notes:
svn path=/head/; revision=96557
|
|
|
|
| |
Notes:
svn path=/head/; revision=96549
|
|
|
|
| |
Notes:
svn path=/vendor/gcc/dist/; revision=96263
|
|
|
|
|
|
|
| |
These bits are taken from the FSF anoncvs repo on 1-Feb-2002 08:20 PST.
Notes:
svn path=/vendor/gcc/dist/; revision=90075
|
|
|
|
| |
Notes:
svn path=/vendor/gcc/dist/; revision=72562
|
|
|
|
|
|
|
| |
branch as of March 7th, 2000.
Notes:
svn path=/vendor/gcc/dist/; revision=57844
|
|
|
|
| |
Notes:
svn path=/vendor/gcc/dist/; revision=52284
|
|
|
|
| |
Notes:
svn path=/vendor/gcc/dist/; revision=50397
|
|
non-i386, non-unix, and generatable files have been trimmed, but can easily
be added in later if needed.
gcc-2.7.2.1 will follow shortly, it's a very small delta to this and it's
handy to have both available for reference for such little cost.
The freebsd-specific changes will then be committed, and once the dust has
settled, the bmakefiles will be committed to use this code.
Notes:
svn path=/vendor/gcc/dist/; revision=18334
|