summaryrefslogtreecommitdiff
path: root/gnu/gcc
AgeCommit message (Collapse)Author
2010-06-06Yet another underflow. Found while hunting down the ICEs that happenMatthias Kilian
from time to time when building the www/larbin port. This is an independent bugfix, and it's different from 4.5.0. ok espie@
2010-06-06prevent segfault on amd64 when -Wmissing-include-dirs -I/nonexistentMarc Espie
(happens even with empty files), as diagnosed with kili@ on evolution-database. We obviously need to check the token chain and go up if we're at the start of a buffer (unless we're really at the start unless we have to give up). Independent fix. Same functionality as code found on the gcc 4.5 branch, but completely different lines. okay miod@
2010-05-30Only enable -fstack-protector by default on targets that support it.Mark Kettenis
ok marco@
2010-05-30Fix ICE on hppa. Variant on minimal fix from GCC PR 34762.Mark Kettenis
ok deraadt@
2010-05-26make gcc4 lib sprintf/strcpy free.Marc Espie
activate proper C99 stuff. fix locale support when there's no locale. work common with kettenis@
2010-05-25Enable -fstack-protector by default.Robert Nagy
2010-05-24Link against libc_p and libpthread_p when -p or -pg is specified, like we didMark Kettenis
for gcc3. ok espie@
2010-05-23GCC PR C++/33094.Marc Espie
C++ semantics fix. Member constants can be file-local, if they're not external. Fixes build of py-tagpy, which barfs in Boost otherwise. (original fix, different text from gcc 4.2.4) okay deraadt@, kettenis@
2010-05-20turn off strict overflow for all optimizations on OpenBSD, also disable wrapv.Dale Rahn
ok kettenis@ robert@, tested by marco@, kevlo@ myself
2010-05-16Don't include -ftree-vrp in -O2 and higher as it has known bugs in gcc 4.2.Jonathan Gray
Fixes jdk builds among other things. ok robert@ espie@
2010-05-12wint_t is int on OpenBSD; ok kettenis@Christian Weisgerber
2010-05-12port -ftrampolines/-Wtrampolines support from gcc3.Marc Espie
comments and okay kettenis@
2010-05-12options.[ch] will auto-define those.Marc Espie
okay kettenis@
2010-05-11default to march=i486 for gcc4 as we no longer run on 386 class machinesJonathan Gray
and this lets gcc emit code with xadd/cmpxchg instructions. ok kettenis@
2010-05-10Use OPENBSD_OS_CPP_BUILTINS(), and add a few missing defines to make sureMark Kettenis
the types used by GCC match those in machine/_types.h.
2010-05-10reflect reality, those types must match libc.Marc Espie
and then, we can have a default facet when locales are not defined. (this lets std::istringstream work again)
2010-05-09-Wstack-larger-than-N for hppa/hppa64.Mark Kettenis
2010-05-09-Wstack-larger-than-N for sparc/sparc64.Mark Kettenis
2010-05-09Accept and ignore -Wbounded, fully implementing this is in the worksJonathan Gray
but this makes things less painful for people for the time being. ok kettenis@ robert@
2010-05-09Modift -fstack-protector support such that it works with the supportMark Kettenis
functions in our libc and continues to provide the function name to __stack_smash_handler(). ok miod@
2010-05-08Disable -Wpointer-sign in -WallRobert Nagy
2010-05-07Add the bits of code I wrote for the ports gcc that are necessary to handleMark Kettenis
StackGhost on sparc64.
2010-05-07Bring over changes from gcc3 (and gcc4 in ports) to make C++ exceptionMark Kettenis
handling work with shared libraries.
2010-05-07Add openbsd config headers for libstdc++-v3Robert Nagy
2010-05-04Merge from gcc3 our configuration for alpha, including these localChristian Weisgerber
changes: * Do not force -msmall-data if -fpic and -mlarge-data if -fPIC. Instead, have both -fpic and -fPIC only select pic code generation, and use whatever memory mode is specified (with -mlarge-data being the implicit default). * -Wstack-larger-than support. * Disable stack frame checking in the prologue under OpenBSD, unless you compile with -fstack-check, for consistency with other platforms. * -mno-ieee option to disable IEEE mode. ok kettenis@
2010-05-02Disable MASK_HARD_QUAD like we did for gcc3.Mark Kettenis
2010-04-29Implement -Wvariable-decl.Mark Kettenis
ok robert@
2010-04-29#undef GLOBAL_ASM_OPMarco Peereboom
suggestion kettenis ok drahn
2010-04-29Backout last commit. This has not been shown to the appropriate people andMark Kettenis
almost certainly breaks non-powerpc targets.
2010-04-29Fix a couple of crtsavres issues found after initial checkin. closer now.Dale Rahn
2010-04-29Add the bits to compile a working powerpc kernel. This is a work inMarco Peereboom
progress. most of the smarts from drahn, ok drahn
2010-04-28Enable -fwrapv by default. It's what many programmers expect and accordingMark Kettenis
to miod@ "has a history of being required to build security concerned software". ok guenther@, jsg@, robert@
2010-04-26Work around the fact that our .comm directive is somewhat non-standard.Mark Kettenis
2010-04-25Add hppa support, loosely based on the existing GCC 3.3.5 support. Many bitsMark Kettenis
removed that are now unnecessary.
2010-02-24merge more local changes:Robert Nagy
- disable unsafe builtins - create a stub for -Wbounded - move strict aliasing to -O3
2009-11-04This typo in check_for_nested_with_variably_modified was present for 4 yearsRobert Nagy
and hampered the inliner without anyone noticing. fixes gcc bug #36367 reported by henning petersen
2009-10-18Replace mmap/default precompiled header support using a brk/sbrkKurt Miller
implementation since random mmap breaks the default approach. Note that gcc may not be compiled with PIE support or it will break this implementation too.
2009-10-15merge some gcc-local(1) changes:Robert Nagy
- disable -fident by default - disable -fstrict-aliasing with -O2 - add support for -Wstack-larger-than-N (only for i386 and amd64 for now)
2009-10-15teach gcc about our kprintf and syslog format attributesRobert Nagy
2009-10-15only enable SF, DF, XF, TF modes in libgcc if we are building with gcc4, so ↵Robert Nagy
we can bootstrap with gcc3 first
2009-10-15fix at-file.texi pathRobert Nagy
2009-10-15add target configuration for openbsdRobert Nagy
2009-10-15import of gcc-4.2.1, the last gcc release under GPLv2Robert Nagy