summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gcc
AgeCommit message (Collapse)Author
2010-10-20Disable __thread for alpha on OpenBSD. ok matthieu.Dale Rahn
A few others mumbled and grumbled and didn't say much but this is blocking X builds on alpha.
2010-07-26Turn on -Wsystem-headers by default, so that glitches in our headersPhilip Guenthe
aren't silently ignored but rather get warned about and fixed. Purely stylistic warnings like -Wredundant-decls are your own problem however. testing help from landry@, header fixes from kettenis@ ok deraadt@
2010-05-25unlink g77 from the build.Marc Espie
as discussed with Theo, so that he can synch set. (eventual gcc2 fallout to fix later)
2010-05-14Fix ICE when checking a zero-size array for __bounded__ (TYPE_MAX_VALUENicholas Marriott
is now NULL for zero-length arrays so check for that). ok avsm
2010-05-10fix a few strcpy issues.Marc Espie
okay millert@, nicm@ ... (thx others for pointing out stupidity in intermediate patches...)
2010-05-04We don't include gettext, dgettext or dcgettext as gcc's builtins, so don'tFederico G. Schwindt
check the arguments. Fixes autocrap tests in c++, which otherwise fail with "error: nonnull argument with out-of-range operand number". miod@ ok
2010-03-27Use prev_nonnote_insn() in push_frame_in_operand(); ok miod@Otto Moerbeek
2010-03-18Make C++ exception handling work on mips64.Mark Kettenis
ok miod@
2010-02-21Backport a small fragment of a gcc 3.4 fix preventing too much recursion inMiod Vallat
simplify_shift_const(), and only do this on mips64 platforms, because we are too late in the release cycle. This change has the nice side effect of preventing a wrong overoptimistic optimization on mips64, when masking bit 31 of a long; which in turns causes python to misbehave. Help and ok otto@
2010-01-30Make sure the previous node is not a NOTE; prevents ICE on loongson.Otto Moerbeek
Actually we should probably look further than just the immediate predecessor here. ok miod@
2010-01-10Fix use of `enumeral_type' in template type unification error as seenFederico G. Schwindt
when compiling boost 1.41. From http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17327 via Markus Hennecke <markus-hennecke at markus-hennecke dot de>. miod@ tested and ok
2009-10-16bring in proper lookup_name prototype so that its pointer returnMartynas Venckus
value doesn't get truncated to int - on 64-bit architectures. ok miod@, millert@, espie@
2009-08-21Enable one only declarations on hppa/hppa64 which correctsKurt Miller
weak reference support in c++. okay kettenis@
2009-08-01Revert previous change which enabled symbol visibility support; appears toMiod Vallat
break some applications in ports in at least amd64 and sparc64. Tracked down by martynas@ and mgrimm@
2009-07-26- revert thread model posix since it broke the build for hppa. will revistKurt Miller
when all archs are fully tested and working. - major bump libstdc++
2009-07-25- enable thread model posix for gcc 3 which makes dwarf2 exceptionKurt Miller
handling thread safe and enables thread safety for libstdc++ - include -D_REENTRANT when -pthread cpp arg is present (needed so boost can detect -pthread on the command line). - bump libstdc++ major See faq/current.html for instructions on how to correctly build userland for this change. okay kettenis@
2009-07-22Fix the configure test for symbol visibility support; the current testMiod Vallat
tries to check for an old, known to be flawed, ld version, but the in-tree ld causes a false positive.
2009-06-24Correct the prototype of ffecom_gfrt_basictype() to match theJonathan Gray
function, this change was made in the 3.4.0 release of gcc. ok deraadt@
2009-06-06INTMAX_TYPE / UINTMAX_TYPE are always in terms of long long.Martynas Venckus
reported by sturm@. fixes libarchive on mips64. ok millert@, miod@. tested by jasper@.
2009-05-18INTMAX_TYPE / UINTMAX_TYPE are always in terms of long long.Martynas Venckus
reported by sturm@. fixes libarchive on sparc64 for naddy@, sturm@. mips is missing them too; but it has not been tested. ok millert@, miod@.
2009-04-17- enable libstdc++ pthread regressesKurt Miller
- fix g++ regress so it can find libstdc++ in the objdir okay espie@ kettenis@
2009-02-11fix gcc bug that broke double -> unsigned long conversions on sparc64Martynas Venckus
(TF floats between conversions). also fixes perl. reported and tested by naddy@. been in snaps for months. go ahead miod@
2008-11-11Add support for position independent executables. This adds compile flagsKurt Miller
-fpie & -fPIE which are similar to -fpic & -fPIC except that the resulting objects can not be used in shared libraries due to an additional optimization for pie. This also adds the -pie link flag which produces a pie executable given pic or pie objects. Combining -pie with -static is currently disabled. The only gcc3 arch that doesn't support pie at moment is arm due to binutils relocation bugs. ok kettenis@
2008-10-28Avoid infinite recursion in search_string_def() and search_pointer_def(),Miod Vallat
PR #5033; gcc 2.95 will need a similar fix (soon).
2008-09-29Add a -mno-ieee option to disable ieee mode; ok millert@Miod Vallat
2008-08-27exposed too much, only expose prototype outside ifdefMartynas Venckus
2008-08-27fix 128-bit division. gcc mangled arguments when passing to theMartynas Venckus
__udivti3, because MUST_PASS_IN_STACK always returned 1 on amd64; pr#5780 reported by Simon Kuhnle tested by Simon Kuhnle, sthen@, brad@ double-checked & tweak from miod@ ok sthen@, brad@
2008-06-09Make gcc on alpha use -mieee by default. This fixes many FPE problemsMichael Erdely
with several ports on alpha and does not produce a significant slowdown. Suggestion to patch gcc directly from millert@ Diff and ok from miod@ ok pvalchev@, martin@, deraadt@
2008-05-29Revert 1.6 and reenable -fno-regmove for now -- it stroke back in sha1(1).Miod Vallat
2008-05-08Due to the recent changes, it is no longer necessary to disable -fregmoveMiod Vallat
anymore.
2008-05-03add stmp-dirs to dependancy list, fixes a make -j issue seen on macppcDale Rahn
"looks okay" espie@
2008-04-25Prevent user asm statements from being put in delay slots, this avoidsMiod Vallat
warnings and/or unexpected operation when such statements are multi-insn macros, such as li/dli. Backported from gcc 3.3.6.
2008-04-25* PR rtl-optimization/13260Miod Vallat
``[3.4 Regression] Incorrect optimisation of loop termination condition'' This is a complete backport of this commit: 2003-12-04 J"orn Rennecke <joern.rennecke@superh.com> PR optimization/13260 * sh-protos.h (sh_expand_t_scc): Declare. * sh.h (PREDICATE_CODES): Add cmpsi_operand. * sh.c (cmpsi_operand, sh_expand_t_scc): New functions. * sh.md (cmpsi): Use cmpsi_operand. If T_REG is compared to something that is not a CONST_INT, copy it into a pseudo register. (subc): Fix description of new T value. (slt, sgt, sge, sgtu): Don't clobber T after rtl generation is over. (sltu, sleu, sgeu): Likewise. (seq, sne): Likewise. Use sh_expand_t_scc. * PR target/15886 ``[3.3/3.4/4.0 Regression] SH: Miscompilation with -O2 -fPIC'' This is a complete backport of this commit: 2004-06-11 J"orn Rennecke <joern.rennecke@superh.com> * sh.h (ALLOCATE_INITIAL_VALUE): Use return_address_pointer_rtx. * PR target/21255 ``%R and %S are not safe to use from asms'' This is a complete backport of this commit: 2005-08-31 J"orn Rennecke <joern.rennecke@st.com> PR target/21255 * sh.c (print_operand, %R and %S): Add handling of floating point registers, memory, constants and invalid operands. * Non PR - CAN_ELIMINATE() is modified to prevent fp -> sp elimination when a frame pointer needs to be preserved. I have serious reasons to think this will help propolice operation.
2008-04-25* PR target/11901Miod Vallat
``[3.3 only] set_fpscr isn't PIC even when __PIC__ defined; bad for prelinking, causes glibc-3.2.3 check-textrel test to fail'' Correctly address fpscr_values[] in set_fpscr() when compiled PIC. This is a partial backport of this commit: 2003-08-11 Kaz Kojima <kkojima@gcc.gnu.org> * config/sh/lib1funcs.asm (__udivdi3): Add .type and .size information in SHmedia case too. (__divdi3, __umoddi3, __moddi3, __init_trampoline, __ic_invalidate): Likewise. (__set_fpscr): Use an access via GOT for PIC case.
2008-04-25typoMiod Vallat
2008-04-25reg_renumber[] values are valid if >= 0, not > 0.Miod Vallat
2008-04-22I am so glad I'm a BSD developer.Miod Vallat
GNU developers wear grey. GNU developers use autoconf and friends to configure their software in the best possible way for the platform it is intended to run on. This frees us from the tedious job of, say, editing files hidden deep inside the sources to, say, tell the code that 64-bit platforms (you know, those which always define __LPA64__ and _LP64 among other things) have 64-bit integer types (one such platform even defines the completely unexpected symbol __mips64__.) GNU developers work much harder than we do, because they're so frightfully clever. I'm really awfully glad I'm a BSD developer.
2008-04-05don't force recreating directories in mklibgcc, this causes rebuilds duringMarc Espie
install. Prompted and tested by drahn@
2008-03-28Enable shared libraries on landisk.Dale Rahn
The sh architecture required some different linkage than most platforms, This fixes those other requirements.
2008-02-10give method name of covariant return issue.Marc Espie
okay miod@
2008-01-01In the alpha allocate_stack builtin, only trigger stack probes if not runningMiod Vallat
OpenBSD or VMS, or -fstack-check; this was missed when disabling stack checks a few months ago. ok kettenis@
2007-11-28add dependencies for protector.o, preventing it from being built too early.Marc Espie
Okay miod@
2007-11-26Add a new warning to gcc, -Wvariable-decl, which causes it to warn forMiod Vallat
auto declarations which size are not known at compile time. This flag will eventually be added to the kernel makefiles so that we can rely on -Wstack-larger-than work. ok deraadt@ mbalmer@ otto@ marco@
2007-11-20the extra stuff also needs stmp-dirs, as found out by naddy@Marc Espie
2007-10-29add missing dependency. Taken from upstream gcc.Marc Espie
okay kettenis@ (`if it builds' and it does)
2007-10-25fix dependency. ok millert@, \_o< miod@Marc Espie
2007-09-03Add __cxa_atexit() support for gcc3. This provides support for shared ↵Todd C. Miller
object destructors called at dlclose() time. Inspired by similar changes in FreeBSD and NetBSD.
2007-07-05On OpenBSD/hppa, not all space registers are equivalent, so don't setMark Kettenis
MASK_NO_SPACE_REGS. ok miod
2007-06-16INTMAX_TYPE and UINTMAX_TYPE are always in terms of long long onTodd C. Miller
OpenBSD, regardless of the size of a long. OK kettenis@ espie@
2007-05-31convert to new .Dd format;Jason McIntyre