summaryrefslogtreecommitdiff
path: root/gnu/egcs
AgeCommit message (Collapse)Author
2004-06-15Use gen_rtx_REG and gen_rtx_MEM instead of gen_rtx(REG,..) and gen_rtx(MEM,..).Miod Vallat
No functional change, it's just faster.
2004-06-12Revert 1.10 - there are still bad interactions between block_move_no_loop()Miod Vallat
and the reload phase when compiling complex code, and the fix is non-trivial.
2004-06-10Typos in option descriptions; fixed in gcc 3.Miod Vallat
2004-06-09The GO_IF_LEGITIMATE_ADDRESS fix in m88k.h, as well as all the FUNCTION_ARGMiod Vallat
and FUNCTION_ARG_ADVANCE fixes in m88k.c, allow the optimized bcopy sequences to be reliable again, so enable them back.
2004-06-09In FUNCTION_ARG_ADVANCE(), do not pad the register position counter if theMiod Vallat
parameter is going to hit the stack.
2004-06-09More meaningful formulation of the __va_stk initialization inMiod Vallat
__builtin_saveregs(); no functional change.
2004-06-03Make sure libobjc is self-contained on vax, so that .m programs can link.Miod Vallat
ok deraadt@
2004-05-19When passing a variable of 32 bytes or larger, as argument to a function,Miod Vallat
pass all the subsequent arguments on the stack. This is necessary for proper varargs operation, if used.
2004-05-19In __builtin_saveregs(), initialize __va_stk to a correct value.Miod Vallat
2004-05-17Make FUNCTION_ARG_ADVANCE() really match FUNCTION_ARG() register usage.Miod Vallat
2004-05-04Do not disable -fcaller-saves anymore.Miod Vallat
2004-05-04Backport a fix from gcc 3 (revision 1.32):Miod Vallat
* caller-save.c (mark_referenced_regs): Mark partially-overwritten multi-word registers. This problem apparently only affected m88k, as far as OpenBSD is concerned.
2004-04-21Add luna88k related directories and information to the build infrastructure.Miod Vallat
ok deraadt@, millert@, krw@ - mdoc ok jmc@
2004-04-19fix mysql bug: http://bugs.mysql.com/bug.php?id=1442Hiroaki Etoh
changed the order of array relocation with the depth first order of variable sco pe. ok pvalchev@
2004-04-08In GO_IF_LREGITIMATE_ADDRESS(), use RTX_OK_FOR_BASE_P() to check for aMiod Vallat
valid base register for indexed addressing, rather than providing an incomplete inline version. This allows constructs such as (plus:SI (reg:SI (subreg:SI (reg:DI 1)))) to properly pass through the reload phase if optimization is enabled. Such a construct can be generated with buf[index + index2] = value; if either index or index2 are long long. Fixes the ICE in zsh Src/Zle/computil.c.
2004-04-06When optimizing a logical arithmetic operation, which operands are bothMiod Vallat
comparisons using different operators, make sure to generate an insn with the correct mode. This means that constructs like if (c != -1 & i < 9999) and if ((i<=7) | (value != 0)) as found in transfig and teTeX, respectively, will now compile with optimization. Note the single & or | in these constructs - this kind is rare enough for this bug to have remained unnoticed until now...
2004-03-19Disable caller-save (which is enabled at -O2 or -Os) as it suffers from aMiod Vallat
few bugs in the 2.95 codebase, one of them being fatal to m88k. A real fix will come after 3.5. ok deraadt@
2004-02-27Teach gcc the proper "set" syntax for __attribute__ ((alias)) to workMiod Vallat
on mvme88k. ok deraadt@ espie@
2004-02-21kill old copies of gcc-localMarc Espie
2004-02-21zap cccp.1, install phantom info.Marc Espie
ok theo
2004-01-23USE_GCC3 switch, now that propolice is in.Marc Espie
2004-01-22to fix the issue "missing return at end of function and ProPolice", ↵Hiroaki Etoh
calculate_can_reach_end skips the NOTE_INSN_FUNCTION_END with _ssp_ label to the original NOTE_INSN_FUNCTION_END. ok otto
2004-01-15extra target to make sure tconfig.h is rebuilt, to use with libobjc.Marc Espie
2004-01-12don't add -lm -lstdc++ if -shared, consistent with gcc -shared which doesn'tMarc Espie
link libc.
2004-01-04rename BUGS section to CAVEATS more appropriately; ok avsm & othersPeter Valchev
2003-12-28Document kprintf %: removal here too; anilMiod Vallat
2003-12-21Kill non-standard kernel printf %: braindead extension for good.Miod Vallat
ok markus@ drahn@
2003-12-03HOST_CFLAGS need to find libiberty too, even on vax!Marc Espie
ok deraadt@
2003-11-25Protect against ARRAY_SIZE redefinitionMarc Espie
2003-11-24bye, bye, they moved.Marc Espie
(all these changes were okay'ed millert@, btw)
2003-11-24Switch to using libiberty in new location.Marc Espie
Disable building of cxxfilt in gcc, build it from its own directory.
2003-10-31add pegasos to config.guess matchesDale Rahn
2003-10-07toplev.c, flags.h: add -fstack-protector-all option to generate protection ↵Hiroaki Etoh
instruments for every functions. ok pvalchev@
2003-10-07flag_stack_protection enables to genereate protecting instruments for every ↵Hiroaki Etoh
functions. ok pvalchev@
2003-10-07rtl_epilogue: fix pp warning message trouble at -Wmissing-noreturn.Hiroaki Etoh
ok pvalchev@
2003-10-07copy_args_for_protection: fix the problem that move_arg_location may corrupt ↵Hiroaki Etoh
the contents of DECL_RTL (parms). ok pvalchev@
2003-10-06This is one of these eerie moments when you realize that a significant partMiod Vallat
of your beliefs are wrong. In this case, trust in gcc. When computing the address of a field in a structure on stack, and: - the offset of the structure relative to the stack pointer and - the offset of the field relative to the structure have no _bits_ in common (for example, accessing field at structure(8) with the structure at sp(64)), triggers a gcc optimization in the following improvement: (plus (plus (frame_pointer offset_for_structure) offset_for_field)) changing into (plus (frame_pointer direct_offset_for_field)) In the aforementioned "no bits in common" case, gcc will use (or (plus frame_pointer offset_for_structure) offset_for_field) which is not necessarily correct, depending on the value of the frame pointer... Checking generated assembly code for a kernel compilation pointed out that ALL architectures were affected by this bug (some, such as m88k, alpha and sparc64, being much more affected than others, such as vax and m68k). Our first move was to backport a fix for this found in the gcc 3.x branch, however it relies upon several microbugfixes scattered around, and produced a misbehaving kernel on one particular machine. So what goes in with this commit is just a conservative fix which disables this particular "bitwise or is fun" optimization. Problem discovery and analysis by yours truly. Fix by etoh@ and I. Tested on all supported architectures by various people, including deraadt@, henning@, mickey@, naddy@ and I.
2003-10-01Introduce a new target switch, -mmemcpy (and -mno-memcpy).Miod Vallat
This switch forces block copy operations to always fallback to memcpy() when it is not done by inline load and stores, rather than using the m88k movstr* functions found in libgcc. The name of this option has been choosen after the mips back end, which has a similar option. Right now, this is a no-op since these functions are disabled due to (yet) another gcc bug; but this will help building standalone code, such as the kernel and boot blocks, without having to link against libgcc.
2003-09-05Stop the bounds checker warning on a bound of 0, so now it only triggersAnil Madhavapeddy
on negative values. Suppresses some warnings on code which is useless but legal. deraadt@ ok
2003-09-03- use displays and indentJason McIntyre
- use .Sq
2003-09-03- new sentence, new lineJason McIntyre
- section reorder - use .Sq instead of `' - kill whitespace - typos
2003-09-02A slightly reworked version of the "default to -fno-ident" change, whichMiod Vallat
improves diffability against stock gcc sources, for us alzheimer-impaired people. Requested by deraadt@ (no functional change)
2003-08-26stop dumping "GCC: (GNU) 2.95.3 20010125 (prerelease, propolice)" intoTed Unangst
every object by default. ok avsm@ henning@ marc@
2003-08-21A port of the g++ bugfix found atMiod Vallat
http://gcc.gnu.org/ml/gcc-bugs/1999-08n/msg00621.html and described in the related thread. This particular problem used to not be triggered (or not often), but the use of propolice affects the instruction flow, and started triggering it more often, for example in Qt's qmenubar class. Ironically, running with /etc/malloc.conf->AJ would neuter the bug in this case... Problem tracked by espie@ and etoh@, tested by various, ok deraadt@
2003-08-21fix symbol name error in mcount functionality in a.out->ELF transition.Dale Rahn
This changes the real definition to __mcount, but with a weak mcount for compat. On the next major bump the weak alias should be removed. Without this diff the compiler symbol mcount conflicts with the user mcount() function.
2003-08-19typo in comment, compiler vs. complierBrad Smith
2003-08-10sprintf -> snprintf, okay millert@.Marc Espie
2003-08-09fix for mcount call to allow .text sizes larger than 512k; epsie@ okMichael Shalayeff
2003-08-08On some architectures, being too optimistic in preserve_subexpressions_p(),Miod Vallat
for example when -fexpensive-optimizations is used, sometimes causes incorrect code sequences to be generated. As -fexpensive-optimizations is implied by -O2, this means we are potentially affected by this in numerous places... so add a specific workaround to nullify expensizve-optimizations in preserve_subexpressions_p() on a known-to-be-affected basis. So far, only alpha, powerpc, m88k, sparc and sparc64 are affected. Problem tracked down by henning@ - analysis by etoh@ and I - ugly workaround by me - ok deraadt@
2003-08-07Disable the so-called optimized memcpy functions for small (less than a fewMiod Vallat
hundred bytes) block copies. While the functions themselves are probably optimal or not far from it, the code responsible for their invocation is not, and has a bad tendency of miscomputing the destination buffer address, especially when optimization is used. This is a temporary measure, these functions will be reenabled once a good fix is ready. ok deraadt@ espie@