summaryrefslogtreecommitdiff
path: root/contrib/gcclibs
Commit message (Collapse)AuthorAgeFilesLines
* MFC r263775:Dimitry Andric2014-04-021-0/+16
| | | | | | | | | | | | | | | Avoid "cc1: warning: is shorter than expected" when using GNU cpp in combination with dtrace scripts, which have "#!/usr/sbin/dtrace -Cs" shebang lines. This is because dtrace positions the file pointer after the shebang line, before passing the file to GNU cpp. To fix the warning, adjust the size downwards by the current position, after a bit of sanity checking. Suggested by: avg Notes: svn path=/stable/9/; revision=264032
* MFC r260310:Pedro F. Giffuni2014-01-125-1/+44
| | | | | | | | | | | | | libcpp: misc fixes from Apple's GCC. Fixes some bugs detected by Apple: #error with unmatched quotes pragma mark Obtained from: Apple GCC 4.2 - 5553 Notes: svn path=/stable/9/; revision=260574
* MFC r258826, r259555, r 259558:Pedro F. Giffuni2013-12-259-66/+133
| | | | | | | | | | | | | | | | | | libcpp: Merge fixes from upstream Fixes: GCC preprocessor/29966: GCC preprocessor/28709: GCC c/31924 GCC preprocessor/14331 gcc: add Apple-compatible -Wnewline-eof Obtained from: gcc per-4.3 (rev. 121340, 124356, 124358, 124730, 125212, 125255 ; GPLv2) Apple Inc. (Apple GCC 4.2 - 5531) Notes: svn path=/stable/9/; revision=259891
* MFC r258017, r258429, r258748, r258817:Pedro F. Giffuni2013-12-2210-104/+292
| | | | | | | | | | | Merge updates from FSF pre4.3 GCC inspired on Apple's gcc: Updates to libiberty and mangling. New align attribute. Merge Apple updates to libstdc++. Notes: svn path=/stable/9/; revision=259705
* MFC r258530;Pedro F. Giffuni2013-12-151-0/+29
| | | | | | | libcpp: Keep a record of changes from upstream GCC (pre-43). Notes: svn path=/stable/9/; revision=259409
* MFC rr258501, r258507;Pedro F. Giffuni2013-12-158-17/+282
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc: Bring updates from Google's enhanced gcc-4.2.1. Google released and enhanced version of gcc-4.2.1 plus their local patches for Android[1]. The patches are owned by Google and the license hasn't been changed from the original GPLv2. We are only bringing a subset of the available patches that may be helpful in FreeBSD, in other words, changes specific to android are not included. From the README.google file[1]. Patches applied to google_vendor_src_branch/gcc/gcc-4.2.1: gcc/Makefile.in gcc/c-common.c gcc/c-common.h gcc/c-opts.c gcc/c-typeck.c gcc/cp/typeck.c gcc/doc/invoke.texi gcc/flags.h gcc/opts.c gcc/tree-flow.h gcc/tree-ssa-alias-warnings.c gcc/tree-ssa-alias.c Backport of -Wstrict-aliasing from mainline. Silvius Rus <rus@google.com> gcc/coverage.c: Patch coverage_checksum_string for PR 25351. Seongbae Park <spark@google.com> Not yet submitted to FSF. gcc/c-opts.c gcc/c-ppoutput.c gcc/c.opt gcc/doc/cppopts.texi libcpp/Makefile.in libcpp/directives-only.c libcpp/directives.c libcpp/files.c libcpp/include/cpplib.h libcpp/init.c libcpp/internal.h libcpp/macro.c Support for -fdirectives-only. Ollie Wild <aaw@google.com>. Submitted to FSF but not yet approved. libstdc++-v3/include/ext/hashtable.h http://b/742065 http://b/629994 Reduce min size of hashtable for hash_map, hash_set from 53 to 5 libstdc++-v3/include/ext/hashtable.h http://b/629994 Do not iterate over buckets if hashtable is empty. gcc/common.opt gcc/doc/invoke.texi gcc/flags.h gcc/gimplify.c gcc/opts.c Add Saito's patch for -finstrument-functions-exclude-* options. gcc/common.opt gcc/doc/invoke.texi gcc/final.c gcc/flags.h gcc/opts.c gcc/testsuite/gcc.dg/Wframe-larger-than.c Add a new flag -Wframe-larger-than- which enables a new warning when a frame size of a function is larger than specified. This patch hasn't been integrated into gcc mainline yet. gcc/tree-vrp.c Add a hack to avoid using ivopts information for pointers starting at constant values. Reference: [1] https://android.googlesource.com/toolchain/gcc/+/master/gcc-4.2.1/ Obtained from: Google Inc. Notes: svn path=/stable/9/; revision=259406
* MFC r258712;Pedro F. Giffuni2013-12-121-1/+1
| | | | | | | | | | | | libcpp: fix an underflow. Similar fix seen in Apple's gcc42. Obtained from: OpenBSD (Rev 1.2) MFC after: 2 weeks Notes: svn path=/stable/9/; revision=259272
* MFC r258081, r258138, r258143, r258179, r258157, r258204, 258205,Pedro F. Giffuni2013-12-123-13/+98
| | | | | | | | | | | | | | | | | | | | | | | | r258206, r258207, r258321 This is a series of commits inspired on Google's gcc-4.2.1 for Android that were taken from the gcc pre-4.3 under the GPLv2. gcc: Backport fixes for -W parentheses in C++ This fixes GCC 19564. gcc: merge rs6000 change from FSF pre-gcc43 Don't set MASK_PPC_GFXOPT for 8540 or 8548. Merge vrp-tree fix from gcc-4.3 Fix missed conversion from / to >> (GCC PR32521) Merge in GCCr120505 to include definition of TREE_OVERFLOW_P gcc: warn about integer overflow in constant expressions in the C++ frontend. gcc: Add a new option -Wvla to warn variable length array. libcpp: preprocessor speedup patches from upstream gcc. gcc: add femit-struct-debug support to reduce Reduce dwarf debug size gcc: Fix postreload-gcse treatment of call-clobbered registers. gcc: Record some previous commits in the ChangeLog.gcc43 file. Notes: svn path=/stable/9/; revision=259269
* MFC r258658:Matthew D Fleming2013-12-121-1/+14
| | | | | | | | | | | | | | | Fix a segfault / internal compiler error. Among other causes, when gcc throws a warning before parsing any tokens, the cur_token pointer is at the beginning of malloc'd memory. Dereferencing cur_token[-1] can cause a segfault. Code taken from OpenBSD http://www.openbsd.org/cgi-bin/cvsweb/src/gnu/gcc/libcpp/errors.c which was a more complete fix than the one I originally coded. Notes: svn path=/stable/9/; revision=259243
* Revert r258528: wrong treePedro F. Giffuni2013-11-241-29/+0
| | | | | | | | Inofensive as it is, this was meant for current. It will be re-merged along with related changes in 3 weeks. Notes: svn path=/stable/9/; revision=258529
* libcpp: Keep a record of changes from upstream GCC (pre-43).Pedro F. Giffuni2013-11-241-0/+29
| | | | | | | | | | This makes it easier to track the changes in the rare event of the code being distributed without access to version control. MFC after: 3 weeks Notes: svn path=/stable/9/; revision=258528
* MFC r254326:Pedro F. Giffuni2013-09-052-3/+44
| | | | | | | | | | | | | | 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) Notes: svn path=/stable/9/; revision=255252
* MFC r250566:Pedro F. Giffuni2013-05-262-3/+17
| | | | | | | | | | Add support for "d" floating-point suffix, as defined by draft N1312 of TR 24732. Emit pedantic warning if the feature is being used. Obtained from: OpenBSD Notes: svn path=/stable/9/; revision=250994
* MFC r228474:Ed Schouten2012-02-094-1/+9
| | | | | | | | | | | | | | | | | | 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. Notes: svn path=/stable/9/; revision=231289
* Fix clang compile warnings.Ben Laurie2011-05-221-1/+1
| | | | | | | Approved by: philip (mentor) Notes: svn path=/head/; revision=222203
* This commit was generated by cvs2svn to compensate for changes in r171831,Alexander Kabaev2007-08-149-3/+54
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=171832
| * GCC 4.2.1 release miscellaneous support libraries.Alexander Kabaev2007-08-149-3/+54
| | | | | | | | Notes: svn path=/vendor/gcc/dist/; revision=171831
* | Re-add local FreeBSD change: prefer /tmp to /var/tmp and /usr/tmpAlexander Kabaev2007-05-191-2/+2
|/ | | | | | | for temporary files. Notes: svn path=/head/; revision=169712
* GCC 4.2.0 release miscellaneous support libraries.Alexander Kabaev2007-05-19319-0/+175655
Notes: svn path=/vendor/gcc/dist/; revision=169695