mrg
6eca184761
bump NetBSD date
2006-06-03 07:40:16 +00:00
mrg
291b71d314
merge GCC 4.1.1-20060602.
2006-06-03 07:17:11 +00:00
mrg
ac4333ea1b
import GCC 4.1 branch from today. it includes these bugs fixed since
...
our last 4.1 branch import, plus a few other changes:
c/27718 26242 c++/27451 c/26818 tree-optimization/26622
target/27758 middle-end/27743 middle-end/27620
tree-optimization/27549 tree-optimization/27283
target/26600 c++/26757 driver/26885 tree-optimization/27603
rtl-optimization/14261 rtl-optimization/22563 middle-end/26729
rtl-optimization/27335 target/27421 middle-end/27384
middle-end/27488 target/27158 bootstrap/26872 target/26545
tree-optimization/27136 tree-optimization/27409 middle-end/27260
tree-optimization/27151 target/26481 target/26765
target/26481 tree-optimization/27285 optimization/25985
tree-optimization/27364 c/25309 target/27387 target/27374
middle-end/26565 target/26826 tree-optimization/27236
middle-end/26869 tree-optimization/27218 rtl-optimization/26685
tree-optimization/26865 target/26961 target/21283 c/26774 c/25875
mudflap/26789
2006-06-03 05:43:09 +00:00
mrg
6346714276
import GCC 4.1 branch from today. it includes these bugs fixed since
...
our last 4.1 branch import, plus a few other changes:
c/27718 26242 c++/27451 c/26818 tree-optimization/26622
target/27758 middle-end/27743 middle-end/27620
tree-optimization/27549 tree-optimization/27283
target/26600 c++/26757 driver/26885 tree-optimization/27603
rtl-optimization/14261 rtl-optimization/22563 middle-end/26729
rtl-optimization/27335 target/27421 middle-end/27384
middle-end/27488 target/27158 bootstrap/26872 target/26545
tree-optimization/27136 tree-optimization/27409 middle-end/27260
tree-optimization/27151 target/26481 target/26765
target/26481 tree-optimization/27285 optimization/25985
tree-optimization/27364 c/25309 target/27387 target/27374
middle-end/26565 target/26826 tree-optimization/27236
middle-end/26869 tree-optimization/27218 rtl-optimization/26685
tree-optimization/26865 target/26961 target/21283 c/26774 c/25875
mudflap/26789
2006-06-03 05:31:50 +00:00
mrg
761e8f140b
import GCC 4.1 branch from today. it includes these bugs fixed since
...
our last 4.1 branch import, plus a few other changes:
c/27718 26242 c++/27451 c/26818 tree-optimization/26622
target/27758 middle-end/27743 middle-end/27620
tree-optimization/27549 tree-optimization/27283
target/26600 c++/26757 driver/26885 tree-optimization/27603
rtl-optimization/14261 rtl-optimization/22563 middle-end/26729
rtl-optimization/27335 target/27421 middle-end/27384
middle-end/27488 target/27158 bootstrap/26872 target/26545
tree-optimization/27136 tree-optimization/27409 middle-end/27260
tree-optimization/27151 target/26481 target/26765
target/26481 tree-optimization/27285 optimization/25985
tree-optimization/27364 c/25309 target/27387 target/27374
middle-end/26565 target/26826 tree-optimization/27236
middle-end/26869 tree-optimization/27218 rtl-optimization/26685
tree-optimization/26865 target/26961 target/21283 c/26774 c/25875
mudflap/26789
2006-06-03 05:21:35 +00:00
mrg
1083f0866d
import GCC 4.1 branch from today. it includes these bugs fixed since
...
our last 4.1 branch import, plus a few other changes:
c/27718 26242 c++/27451 c/26818 tree-optimization/26622
target/27758 middle-end/27743 middle-end/27620
tree-optimization/27549 tree-optimization/27283
target/26600 c++/26757 driver/26885 tree-optimization/27603
rtl-optimization/14261 rtl-optimization/22563 middle-end/26729
rtl-optimization/27335 target/27421 middle-end/27384
middle-end/27488 target/27158 bootstrap/26872 target/26545
tree-optimization/27136 tree-optimization/27409 middle-end/27260
tree-optimization/27151 target/26481 target/26765
target/26481 tree-optimization/27285 optimization/25985
tree-optimization/27364 c/25309 target/27387 target/27374
middle-end/26565 target/26826 tree-optimization/27236
middle-end/26869 tree-optimization/27218 rtl-optimization/26685
tree-optimization/26865 target/26961 target/21283 c/26774 c/25875
mudflap/26789
2006-06-03 05:11:23 +00:00
simonb
3eb98d14f3
Change date in the nbX part of the version string to match the date
...
the nbX change was made. The original gcc cvs/svn branch date is kept
separately.
After discussion with phone@
2006-06-01 19:21:05 +00:00
simonb
f40854a95b
Bump version to nb2 for gcc bug 26565 fix.
...
Revert date back to gcc branch date of 20060420.
2006-05-31 05:58:41 +00:00
simonb
e8c51d90a5
Pull up gcc svn revision 111934:
...
PR middle-end/26565
* builtins.c (get_pointer_alignment): Handle component
references for field alignment.
Fixes aligned store problems on MIPS described in:
http://mail-index.NetBSD.org/tech-toolchain/2006/05/16/0002.html
http://mail-index.NetBSD.org/tech-toolchain/2006/05/17/0001.html
2006-05-31 05:10:14 +00:00
mrg
7a25dd1dc9
in the NETBSD_NATIVE case, don't set a default GCC_EXEC_PREFIX. just add
...
standard_libexec_prefix to the exec_prefixes for "GCC". this avoids a
"-iprefix /usr/bin/../libexec/" being passed to cc1* and those searching
in /usr/bin/../libexec/include{,bits/,g++} for headers.
2006-05-24 20:52:14 +00:00
skrll
9e33bb5bf7
Copy across the pa/t-netbsd file. Add a CRTSTUFF_T_CFLAGS_S define.
2006-05-21 06:03:55 +00:00
mrg
8df5948192
make this work: #undef ASM_PREFERRED_EH_DATA_FORMAT and
...
ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX before defining them. (XXX should we
use the versions in pa-linux.h? or what?)
also, convert ASM_FILE_START into TARGET_ASM_FILE_START, using the
pa_linux_file_start version.
2006-05-21 00:43:37 +00:00
mrg
041a6c9d7d
pull across missing files from GCC3 tree. these don't work yet as they
...
used old-style GCC3 functions and macros.
2006-05-20 19:21:56 +00:00
mrg
bf7f38130a
fix merge botch
2006-05-20 11:06:50 +00:00
mrg
99fe721972
fix a merge-botch for CC1_SPEC32. now we have {} balance.
2006-05-19 22:38:44 +00:00
christos
1e88acc412
Use id casts instead of void * casts. Suggested by thorpej.
2006-05-15 16:31:21 +00:00
christos
07252f1516
Casts to appease gcc.
2006-05-14 02:14:33 +00:00
mrg
0e02d282f4
define ENABLE_EXECUTE_STACK to nothing so that _enable_execute_stack()
...
isn't the empty function in libgcc2.c, but the netbsd one. powerpc
seems to work somewhat better now...
2006-05-13 10:38:33 +00:00
mrg
6688c1d37d
merge the LIBGCC_PICSUFFIX and NETBSD_NATIVE support from GCC3.
...
now hello.c and hello.cc both work!
2006-05-13 01:49:30 +00:00
mrg
f2a1fc4b01
actually, define STANDARD_LIBEXEC_PREFIX as STANDARD_EXEC_PREFIX in
...
the NETBSD_NATIVE case, since that's what it really is.
2006-05-13 01:48:14 +00:00
mrg
6e5288e9d6
STANDARD_LIBEXEC_PREFIX needs to end with a /.
2006-05-13 01:43:17 +00:00
mrg
3c3bcb101f
pull across from GCC3 tree:
...
- __enable_execute_stack() support
- NetBSD/powerpc specific GCC configury bits.
2006-05-12 01:01:18 +00:00
mrg
014ea08324
- fix #include so that "ppc-asm.h" is found
...
- make sure tramp.asm is compiled properly
2006-05-12 00:59:32 +00:00
mrg
2d88bcdbb8
- export @enable_shared@ into ENABLE_SHARED (for mknative)
...
- disable rules for gengtype-yacc.c, gengtype-yacc.h and gengtype-lex.c
- pull across a fix for cygwin building fixincludes from GCC3 tree
- disable %.info rules.
2006-05-12 00:58:25 +00:00
mrg
5cfb97cb39
pull across a patch from GCC3 tree. the comment says it all:
...
# Use sh specific libgcc-std.ver to avoid exporting some
# lib1func routines which shoud not be called via PLT.
2006-05-12 00:56:35 +00:00
mrg
b41d56701a
move #include to the start of the line.
2006-05-12 00:55:59 +00:00
mrg
8a15ddadaa
add these generated files that really want bison.
2006-05-12 00:54:29 +00:00
mrg
85a901ce95
pull across from GCC3 tree:
...
>date: 2004/11/30 01:51:13; author: jwise; state: Exp; lines: +21 -3
>As discussed on tech-toolchain@netbsd.org , make cpp refuse to attempt to
>parse a #include'd file which does not pass S_ISREG() if the environment variable
>CPP_RESTRICTED is set.
>
>This is primarily intended for use by programs such as calendar(1) which
>use cpp to parse untrusted user files -- without this change (and the corresponding
>change to calendar(1)), any user can cause a denial-of-service for the daily
>calendar -a run by #include'ing a named pipe.
>
>Many thanks to christos@netbsd for his help in polishing this.
2006-05-12 00:51:13 +00:00
mrg
871b78e87d
switch the default model to medlow, from GCC3 tree.
2006-05-12 00:49:49 +00:00
mrg
8ff761d708
use "bv" branching on NetBSD, like on linux. from the GCC3 tree.
2006-05-12 00:47:50 +00:00
mrg
8ff76fa508
force shift target to "long" with "L" prefix, from GCC3 tree.
2006-05-12 00:47:17 +00:00
mrg
43eb93d243
pull across from the GCC3 tree:
...
>revision 1.2
>date: 2003/10/29 21:25:03; author: mycroft; state: Exp; lines: +40 -11
>As seen on tech-toolchain:
>
>So the problem is thus:
>
>* The {u,}mulsidi3 generate two parallel sets which modify the upper and lower
>halves of the target register.
>
>* life_analysis() does not track subregister modifications -- if you don't
>modify the whole register with a single set, it considers the register
>unused.
>
>The simple, if klugy, solution to this is to stick an explicit clobber in. It
>seems to work.
>
>While doing this, I noticed that constant folding was not happening for
>32x32->64 multiplies. This is because the parallel set generated by
>{u,}mulsidi3 cannot be folded at all. To solve this, I first expand to a
>normal multiply, and then use a define_insn_and_split to convert it to the
>parallel set after CSE and constant folding.
>
>This patch has also been submitted to GCC bugzilla, but who knows if I'll get
>a reply to that.
2006-05-12 00:46:33 +00:00
mrg
7e1fdc3c74
default to stabs, from the GCC3 tree
2006-05-12 00:44:17 +00:00
mrg
cc2bf2dacf
- define __PIC__ and __pic__ when flag_pic is set.
...
- add GPLUSPLUS_BACKWARD_INCLUDE_DIR to the INCLUDE_DEFAULTS includes
- define GPLUSPLUS_BACKWARD_INCLUDE_DIR, TOOLDIR_BASE_PREFIX,
STANDARD_BINDIR_PREFIX and STANDARD_LIBEXEC_PREFIX
- delete NETBSD_LIBGCC_SPEC
- define LIBGCC_PICSUFFIX as "_pic".
2006-05-12 00:43:55 +00:00
mrg
7c427e47b1
pass -Bsymbolic to ld when given -symbolic.
2006-05-12 00:42:13 +00:00
mrg
dfa8a9c641
- call this NetBSD GCC.
...
- use our send-pr URL.
2006-05-12 00:40:57 +00:00
mrg
d70944f410
put a couple of "noreturn" warnings under -Wno-missing-noreturn
...
XXX not really correct, but there is no other way to disable these
XXX warnings currently.
2006-05-12 00:40:21 +00:00
mrg
1fb90918ec
pull across support for:
...
hppa-netbsd
armeb-netbsd
ia64-netbsd
m68010-netbsd
sparc64-netbsd
from the GCC3 tree.
2006-05-12 00:39:28 +00:00
mrg
8b372f5bf6
pull across the old -isystem-cxx support, but, because "-isystem/bar/foo"
...
is valid now, -isystem-cxx looks in directory "-cxx", so call it
-cxx-isystem now.
2006-05-12 00:33:26 +00:00
mrg
b94442d7df
pull over from GCC3 tree:
...
>PR/29832: J.T. Conklin: libstdc++ missing std::wstring support
>This wonderful patch together with yesterdays wcsftime addition, makes
>us able to use wide strings in c++
2006-05-12 00:25:57 +00:00
mrg
c5f4b7b025
undefine "rtx" before re-defining it.
2006-05-12 00:25:04 +00:00
mrg
df80da1eff
only need to #include "localedir.h" if USE_NLS is defined.
2006-05-12 00:24:43 +00:00
mrg
fafcb5dc4d
don't include <machine/ansi.h> on NetBSD if inhibit_libc is defined.
2006-05-12 00:24:09 +00:00
mrg
5a7bbee727
#if 0 a warning that has no -Wno-foo flag that (often wrongly) says that
...
the va_start() is called incorrectly.
2006-05-12 00:20:21 +00:00
mrg
2fded4a2d3
we want a target-libiberty so we can pull mknative info out from it.
2006-05-12 00:19:09 +00:00
mrg
a6946cf17d
match "sh5".
2006-05-12 00:18:30 +00:00
mrg
bd52d17906
initial import of GCC 4.1 branch, from 2006-04-20. list of changes way
...
too large to list, but see:
http://gcc.gnu.org/gcc-3.4/changes.html
http://gcc.gnu.org/gcc-4.0/changes.html
http://gcc.gnu.org/gcc-4.1/changes.html
for the details.
2006-04-20 10:19:17 +00:00