OSDN Git Service

pf3gnuchains/gcc-fork.git
16 years agoPatch from Robert Millan.
wilson [Tue, 27 Apr 2004 06:14:30 +0000 (06:14 +0000)]
Patch from Robert Millan.
Add patches from libtool CVS.
* libtool.m4: Add kfreebsd*-gnu and knetbsd*-gnu.
* ltconfig: Likewise.
* ltcf-c.sh: Likewise.
* ltcf-cxx.sh: Likewise.
* ltcf-gcj.sh: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81213 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agoBug 15093
wilson [Tue, 27 Apr 2004 05:41:45 +0000 (05:41 +0000)]
Bug 15093
* configure.ac: Test for existence of mmap and sys/mman.h before
checking blacklist.  Fix suggested by Jim Wilson.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81212 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agoBug 14927
wilson [Tue, 27 Apr 2004 05:19:49 +0000 (05:19 +0000)]
Bug 14927
* config/ia64/ia64.md (movxf): New local op0.  Handle case where
operands[0] is a SUBREG.  Handle case where operands[1] is a GR reg.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81211 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agoPatch 14922
austern [Tue, 27 Apr 2004 01:45:19 +0000 (01:45 +0000)]
Patch 14922
* src/powerpc/darwin.S: Go through a non-lazy pointer for initial
FDE location.
* src/powerpc/darwin_closure.S: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81209 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agoDaily bump.
gccadmin [Tue, 27 Apr 2004 00:16:14 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81206 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * config/ia64/hpux.h: Predefine __STDCPP__ when compiling C++.
zack [Tue, 27 Apr 2004 00:12:30 +0000 (00:12 +0000)]
* config/ia64/hpux.h: Predefine __STDCPP__ when compiling C++.
* config/pa/pa-hpux10.h: Likewise.
* config/pa/pa-hpux11.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81202 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * ada/acats/run_all.sh: Define $target variable.
uweigand [Mon, 26 Apr 2004 21:15:54 +0000 (21:15 +0000)]
* ada/acats/run_all.sh: Define $target variable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81201 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * doc/invoke.texi (Overall Options): Document default for -o
geoffk [Mon, 26 Apr 2004 19:23:52 +0000 (19:23 +0000)]
* doc/invoke.texi (Overall Options): Document default for -o
for PCH files.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81199 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * builtins.c (expand_builtin_update_setjmp_buf): New function.
kenner [Mon, 26 Apr 2004 18:11:32 +0000 (18:11 +0000)]
* builtins.c (expand_builtin_update_setjmp_buf): New function.
(expand_builtin, case BUILT_IN_UPDATE_SETJMP_BUF): New case.
* builtins.def (BUILT_IN_UPDATE_SETJMP_BUF): New code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81198 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-04-26 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 26 Apr 2004 15:26:18 +0000 (15:26 +0000)]
2004-04-26  Paolo Carlini  <pcarlini@suse.de>

* include/bits/istream.tcc: Fix comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81193 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * Makefile.in: Put back merge of some targets to avoid code duplication.
charlet [Mon, 26 Apr 2004 14:52:20 +0000 (14:52 +0000)]
* Makefile.in: Put back merge of some targets to avoid code duplication.
Remove at the same obsolete variable GNATLIBLDFLAGS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81192 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * configure.ac (UNSIGNED_64BIT_TYPE): Unquote the definition.
ian [Mon, 26 Apr 2004 14:21:49 +0000 (14:21 +0000)]
* configure.ac (UNSIGNED_64BIT_TYPE): Unquote the definition.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81191 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * config/arm/arm.c (arm_legitimate_index_p): Correct iwmmxt offsets.
pbrook [Mon, 26 Apr 2004 13:56:00 +0000 (13:56 +0000)]
* config/arm/arm.c (arm_legitimate_index_p): Correct iwmmxt offsets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81189 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-04-26 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Mon, 26 Apr 2004 12:54:55 +0000 (12:54 +0000)]
2004-04-26  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c++/15119
        * g++.dg/other/vararg-1.C: New test.

        PR c++/4794
        * g++.dg/eh/cleanup3.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81188 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-04-26 Thomas Quinot <quinot@act-europe.fr>
charlet [Mon, 26 Apr 2004 12:29:41 +0000 (12:29 +0000)]
2004-04-26  Thomas Quinot  <quinot@act-europe.fr>

* sem_dist.adb, exp_dist.adb: When constructing a RAS value for a local
subprogram for which no pragma All_Calls_Remote applies, store the
address of the real subprogram in the underlying record type, so local
dereferences do not go through the PCS.

2004-04-26  Robert Dewar  <dewar@gnat.com>

* i-c.ads: Add some type qualifications to avoid ambiguities when
compiling with s-auxdec.ads and a non-private address type.

2004-04-26  Arnaud Charlet  <charlet@act-europe.fr>

* Makefile.rtl: Fix error in previous check-in:
Add s-addope.o to non tasking object list (rather than tasking object
list).

2004-04-26  Javier Miranda  <miranda@gnat.com>

* sem_aggr.adb: Fix typo in comments
(Resolve_Aggr_Expr): Propagate the type to the nested aggregate.
Required to check the null-exclusion attribute.

* sem_attr.adb (Resolve_Attribute): Check the accessibility level in
case of anonymous access types in record and array components. For a
component definition the level is the same of the enclosing composite
type.

* sem_ch3.adb (Analyze_Component_Declaration): In case of components
that are anonymous access types the level of accessibility depends on
the enclosing type declaration. In order to have this information, set
the scope of the anonymous access type to the enclosing record type
declaration.
(Array_Type_Declaration): In case of components that are anonymous
access types the level of accessibility depends on the enclosing type
declaration. In order to have this information, set the scope of the
anonymous access type to the enclosing array type declaration.

* sem_ch3.adb (Array_Type_Declaration): Set the scope of the anonymous
access type.

* sem_ch8.adb (Analyze_Object_Renaming): Add check to verify that
renaming of anonymous access-to-constant types allowed if and only if
the renamed object is access-to-constant.

* sem_util.adb (Type_Access_Level): In case of anonymous access types
that are component_definition or discriminants of a nonlimited type,
the level is the same as that of the enclosing component type.

2004-04-26  Sergey Rybin  <rybin@act-europe.fr>

* sem_elim.adb: Some minor code reorganization from code reading. Fix
misprint in the function name (File_Name_Match).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81186 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-04-26 Paolo Bonzini <bonzini@gnu.org>
bonzini [Mon, 26 Apr 2004 12:08:07 +0000 (12:08 +0000)]
2004-04-26  Paolo Bonzini  <bonzini@gnu.org>

        * Makefile.def (host_modules): Mark with the bootstrap
        flag packages on which gcc depends.
        * Makefile.tpl (all-bootstrap): Use it.
        * Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81185 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-04-26 Paolo Bonzini <bonzini@gnu.org>
bonzini [Mon, 26 Apr 2004 11:50:44 +0000 (11:50 +0000)]
2004-04-26  Paolo Bonzini  <bonzini@gnu.org>

        * Makefile.def (flags_to_pass): Remove *dir variables that
are passed to the modules via TOPLEVEL_CONFIGURE_ARGUMENTS,
as well as prefix and exec_prefix.
* Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81184 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-04-26 Paolo Bonzini <bonzini@gnu.org>
bonzini [Mon, 26 Apr 2004 11:46:42 +0000 (11:46 +0000)]
2004-04-26  Paolo Bonzini  <bonzini@gnu.org>

* configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
* configure: Regenerate.
* config/acx.m4: Mutuate ACX_PROG_CMP_IGNORE_INITIAL from gcc.
* gcc/Makefile.tpl (compare): Use the result of the test.
* gcc/Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81183 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agoClean up previous change.
charlet [Mon, 26 Apr 2004 11:10:33 +0000 (11:10 +0000)]
Clean up previous change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81182 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * config/arm/arm.c (arm_legitimate_index_p): Correct maverick offsets.
pbrook [Mon, 26 Apr 2004 10:32:53 +0000 (10:32 +0000)]
* config/arm/arm.c (arm_legitimate_index_p): Correct maverick offsets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81180 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-04-26 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 26 Apr 2004 09:02:43 +0000 (09:02 +0000)]
2004-04-26  Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_vector.h: Trivial formatting fixes.
* include/bits/vector.tcc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81178 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * fold-const.c (fold): Prefer fold_convert (negate_expr (...)) to
sayle [Mon, 26 Apr 2004 03:43:17 +0000 (03:43 +0000)]
* fold-const.c (fold): Prefer fold_convert (negate_expr (...)) to
fold (build1 (NEGATE_EXPR, ...)).  Optimize X / -1 as -X and
X % -1 as 0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81177 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago PR bootstrap/15141
hp [Mon, 26 Apr 2004 03:17:08 +0000 (03:17 +0000)]
PR bootstrap/15141
* except.c (connect_post_landing_pads): Delete insns after the
barrier when generating a unwind_resume_libfunc call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81176 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agoDaily bump.
gccadmin [Mon, 26 Apr 2004 00:16:11 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81173 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago PR/c++ 15119
kenner [Sun, 25 Apr 2004 23:54:42 +0000 (23:54 +0000)]
PR/c++ 15119
* tree.c (substitute_placeholder_in_expr, case 4): New case,
for TARGET_EXPR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81170 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agoFix typo in comment.
kenner [Sun, 25 Apr 2004 23:52:13 +0000 (23:52 +0000)]
Fix typo in comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81169 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * configure.ac: Fix stupid brain-fade; set default_gnattools_target
neroden [Sun, 25 Apr 2004 21:29:37 +0000 (21:29 +0000)]
* configure.ac: Fix stupid brain-fade; set default_gnattools_target
correctly.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81167 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * gcov-io.h (__gcov_fork, __gcov_execl, __gcov_execlp, __gcov_execle,
rakdver [Sun, 25 Apr 2004 16:38:07 +0000 (16:38 +0000)]
* gcov-io.h (__gcov_fork, __gcov_execl, __gcov_execlp, __gcov_execle,
__gcov_execv, __gcov_execvp, __gcov_execve): Do not declare when
inhibit_libc is defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81164 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-04-25 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 25 Apr 2004 15:45:13 +0000 (15:45 +0000)]
2004-04-25  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/15002 (continued again)
* include/bits/istream.tcc (getline(basic_istream<>&,
basic_string<>&, _CharT)): Use a temporary buffer, thus
avoiding reallocation for common case.

* include/bits/basic_string.tcc (_S_construct(_InIterator,
_InIterator, const _Alloc&, input_iterator_tag)): Tweak size
of temporary buffer to a power of two.

* testsuite/27_io/basic_istream/getline/char/4.cc: Add comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81163 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-04-25 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 25 Apr 2004 12:56:41 +0000 (12:56 +0000)]
2004-04-25  Paolo Carlini  <pcarlini@suse.de>

* testsuite/21_strings/basic_string/inserters_extractors/char/10.cc:
New.
* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/10.cc:
Likewise.
* testsuite/27_io/basic_istream/getline/char/5.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81159 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-04-24 Laurent GUERBY <laurent@guerby.net>
guerby [Sun, 25 Apr 2004 11:57:10 +0000 (11:57 +0000)]
2004-04-24  Laurent GUERBY <laurent@guerby.net>

* ada/acats/run_all.sh: Handle cd2a83ccd2a91c (target_bit)
and ad8011a (target_insn).
* ada/acats/support/macro.dfs: Likewise.
* ada/acats/support/impbit.adb: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81158 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * config/mips/mips-protos.h (mips_linked_macc_p): Declare.
rsandifo [Sun, 25 Apr 2004 08:28:32 +0000 (08:28 +0000)]
* config/mips/mips-protos.h (mips_linked_macc_p): Declare.
* config/mips/mips.h (TUNE_MACC_CHAINS): New macro.
* config/mips/mips.c (TARGET_SCHED_REORDER): Define.
(TARGET_SCHED_VARIABLE_ISSUE): Define.
(mips_adjust_cost): Move later in file, next to other sched hooks.
(mips_macc_chains_last_hilo): New variable.
(mips_linked_madd_p, mips_macc_chains_record, mips_macc_chains_reorder)
(mips_promote_ready, mips_sched_reorder, mips_variable_issue): New.
* config/mips/mips.md (may_clobber_hilo): New attribute.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81157 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
rmathew [Sun, 25 Apr 2004 04:19:13 +0000 (04:19 +0000)]
* testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
limit the maximum heap size to avoid unnecessary thrashing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81156 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * mark.c (GC_mark_from): Use pointer as prefetch argument.
aj [Sun, 25 Apr 2004 04:17:51 +0000 (04:17 +0000)]
    * mark.c (GC_mark_from): Use pointer as prefetch argument.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81155 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agoDaily bump.
gccadmin [Sun, 25 Apr 2004 00:16:12 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81152 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * fixinc/inclhack.def (aix_syswait_2): New fix.
sayle [Sat, 24 Apr 2004 22:42:29 +0000 (22:42 +0000)]
* fixinc/inclhack.def (aix_syswait_2): New fix.
* fixinc/fixincl.x: Regenerate.
* fixinc/tests/base/sys/wait.h: Update for new test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81147 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-04-24 Paolo Carlini <pcarlini@suse.de>
paolo [Sat, 24 Apr 2004 22:20:31 +0000 (22:20 +0000)]
2004-04-24  Paolo Carlini  <pcarlini@suse.de>
    Petur Runolfsson  <peturr02@ru.is>

PR libstdc++/15002 (continued)
* include/bits/istream.tcc (basic_istream<>::getline(char_type*,
streamsize, char_type)): Use traits::find/copy in a loop to speed
up greatly the function in the common case (I/O buffer size >> 1).

2004-04-24  Paolo Carlini  <pcarlini@suse.de>

* testsuite/27_io/basic_istream/getline/char/4.cc: New.

* include/bits/istream.tcc (getline(basic_istream<>&,
basic_string<>&, _CharT)): Change to use sgetc()/snextc() instead
of sbumpc(), consistently with the other functions, thus also
dealing correctly with the case of exceeded string::max_size().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81146 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-04-24 Jerry Quinn <jlquinn@optonline.net>
jlquinn [Sat, 24 Apr 2004 16:03:05 +0000 (16:03 +0000)]
2004-04-24  Jerry Quinn  <jlquinn@optonline.net>

* java/text/CollationElementIterator.java (reset): Reset
        lookahead variables.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81142 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-04-24 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Sat, 24 Apr 2004 07:48:37 +0000 (07:48 +0000)]
2004-04-24  Andreas Tobler  <a.tobler@schweiz.ch>

* testsuite/libffi.call/cls_multi_schar.c (main): Fix initialization
error. Reported by Thomas Heller <theller@python.net>.
* testsuite/libffi.call/cls_multi_sshort.c (main): Likewise.
* testsuite/libffi.call/cls_multi_ushort.c (main): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81131 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-04-23 Paolo Bonzini <bonzini@gnu.org>
bonzini [Sat, 24 Apr 2004 06:42:54 +0000 (06:42 +0000)]
2004-04-23  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (all-stage1-gcc, all-stage2-gcc, all-stage3-gcc):
Always relocate gcc and prev-gcc to the original names, even
if the build fails.
(new-cleanstrap, new-restage1, new-restage2, new-restage3):
New targets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81130 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago PR target/14960
amodra [Sat, 24 Apr 2004 06:37:19 +0000 (06:37 +0000)]
PR target/14960
* config/rs6000/rs6000.c (rs6000_stack_info): Rename total_raw_size
to non_fixed_size, and leave out fixed_size from the sum.
(generate_set_vrsave): Correct clobbers.
(rs6000_emit_epilogue): Test TARGET_ALTIVEC with TARGET_ALTIVEC_SAVE.
(rs6000_function_value): Test TARGET_ALTIVEC and TARGET_ALTIVEC_ABI.
(rs6000_libcall_value): Likewise.
* config/rs6000/rs6000.h (FUNCTION_VALUE_REGNO_P): Likewise.
(FUNCTION_ARG_REGNO_P): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81129 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * Makefile.in: Revert most of Arnaud's last change. Prefer anything
neroden [Sat, 24 Apr 2004 01:28:02 +0000 (01:28 +0000)]
* Makefile.in: Revert most of Arnaud's last change.  Prefer anything
over error-prone Make abuse.  Remove temporary debug code.
(gnatlib-zcx): New target.
(gnattools): Split into gnattools-native, gnattools-cross, to fix
previous bug; select which on the basis of default_gnattools_target.
(ada.all.cross): Merged with gnattools-cross target.
* configure.ac: Set default_gnattools_target.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81128 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * expmed.c (expand_mult_highpart_adjust): Do not assume OP1
uweigand [Sat, 24 Apr 2004 01:03:11 +0000 (01:03 +0000)]
* expmed.c (expand_mult_highpart_adjust): Do not assume OP1
is a CONST_INT.
(expand_mult_highpart_optab): Call expand_mult_highpart_adjust
with NARROW_OP1 instead of OP1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81127 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * gcc.dg/const-elim-1.c: XFAIL on s390*-*-*.
uweigand [Sat, 24 Apr 2004 00:34:48 +0000 (00:34 +0000)]
* gcc.dg/const-elim-1.c: XFAIL on s390*-*-*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81125 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for __s390__
uweigand [Sat, 24 Apr 2004 00:33:18 +0000 (00:33 +0000)]
* config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for __s390__
and __s390x__ hosts.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81124 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agoDaily bump.
gccadmin [Sat, 24 Apr 2004 00:16:12 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81121 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * Makefile.in (LIBGCOV): Add _gcov_fork, _gcov_execl, _gcov_execlp,
rakdver [Fri, 23 Apr 2004 22:50:16 +0000 (22:50 +0000)]
* Makefile.in (LIBGCOV): Add _gcov_fork, _gcov_execl, _gcov_execlp,
_gcov_execle, _gcov_execv, _gcov_execvp, _gcov_execve.
* builtin-types.def (BT_PID, BT_PTR_CONST_STRING, BT_FN_PID,
BT_FN_INT_CONST_STRING_PTR_CONST_STRING,
BT_FN_INT_CONST_STRING_PTR_CONST_STRING_PTR_CONST_STRING): New.
* builtins.c (expand_builtin_fork_or_exec): New.
(expand_builtin): Call it.
* builtins.def (BUILT_IN_EXECL, BUILT_IN_EXECLP,BUILT_IN_EXECLE,
BUILT_IN_EXECV, BUILT_IN_EXECVP, BUILT_IN_EXECVE, BUILT_IN_FORK): New.
* c-common.c (PID_TYPE): New macro.
(c_common_nodes_and_builtins): Initialize pid_type_node.
* calls.c (special_function_p): Do not handle fork and exec.
(expand_call): Do not handle ECF_FORK_OR_EXEC.
* gcov-io.h (__gcov_fork, __gcov_execl, __gcov_execlp, __gcov_execle,
__gcov_execv, __gcov_execvp, __gcov_execve): Declare.
* libgcov.c (__gcov_fork, __gcov_execl, __gcov_execlp, __gcov_execle,
__gcov_execv, __gcov_execvp, __gcov_execve): New.
* tree.h (enum tree_index): Add TI_PID_TYPE.
(pid_type_node): New macro.
(ECF_FORK_OR_EXEC): Removed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81118 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-04-24 Matthias Klose <doko@debian.org>
doko [Fri, 23 Apr 2004 22:06:51 +0000 (22:06 +0000)]
2004-04-24  Matthias Klose  <doko@debian.org>

        Jonathan Wakely  <cow@compsoc.man.ac.uk>
        * docs/html/configopts.html: Fix reference to allocator config option.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81114 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago PR optimization/13985
ebotcazou [Fri, 23 Apr 2004 22:01:35 +0000 (22:01 +0000)]
PR optimization/13985
* cfgloopmanip.c (fix_loop_placements): New prototype.
Call fix_bb_placements on the preheader of loops that have
been reparented.
(remove_path): Adjust call to fix_loop_placements.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81112 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-04-23 Laurent GUERBY <laurent@guerby.net>
guerby [Fri, 23 Apr 2004 21:06:21 +0000 (21:06 +0000)]
2004-04-23  Laurent GUERBY <laurent@guerby.net>

* Makefile.in: Remove RANLIB_TEST, use -$(RANLIB) including after
install.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81105 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * jni/classpath/jcl.c: Changed C++ comments into C comments.
mark [Fri, 23 Apr 2004 21:05:02 +0000 (21:05 +0000)]
   * jni/classpath/jcl.c: Changed C++ comments into C comments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81104 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-04-23 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Fri, 23 Apr 2004 20:06:56 +0000 (20:06 +0000)]
2004-04-23  Andrew Pinski  <pinskia@physics.uc.edu>

        * linkage.m4 (GLIBCXX_CHECK_MATH_SUPPORT): Check for libmx also.
        * configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81103 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-04-23 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Fri, 23 Apr 2004 17:56:08 +0000 (17:56 +0000)]
2004-04-23  Andrew Pinski  <pinskia@physics.uc.edu>

        * config/darwin7.h: New file.
        * config.gcc (*-*-darwin*): Add darwin7.h if the
        version is greater than 6.
        * config/darwin.h (TARGET_C99_FUNCTIONS): Define.
        (MATH_LIBRARY): Wrap in ifdefs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81100 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago PR libstdc++/15047, libstdc++/11610
drow [Fri, 23 Apr 2004 14:33:36 +0000 (14:33 +0000)]
PR libstdc++/15047, libstdc++/11610
* testsuite/lib/libstdc++.exp (v3-copy-files): Use remote_download.
(libstdc++_init): Don't pass outdir to v3-copy-files.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81094 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * config/arm/arm.c (arm_output_epilogue): Reverse the order of
drow [Fri, 23 Apr 2004 13:51:21 +0000 (13:51 +0000)]
* config/arm/arm.c (arm_output_epilogue): Reverse the order of
loading iWMMXt registers with a frame pointer.  Use post-increment
without a frame pointer.
(arm_expand_prologue): Reverse the order of saving iWMMXt registers.
testsuite/
* gcc.c-torture/execute/simd-5.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81092 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago PR c++/15064
giovannibajo [Fri, 23 Apr 2004 12:57:19 +0000 (12:57 +0000)]
PR c++/15064
* parser.c (cp_parser_postfix_expression): typeid operator cannot be
used in integral constant expressions.

PR c++/15064
* g++.dg/template/crash18.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81088 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * Make-lang.in (GNATBIND_OBJS): Add s-addope.o.
ro [Fri, 23 Apr 2004 12:35:10 +0000 (12:35 +0000)]
* Make-lang.in (GNATBIND_OBJS): Add s-addope.o.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81087 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-04-23 Emmanuel Briot <briot@act-europe.fr>
charlet [Fri, 23 Apr 2004 10:58:32 +0000 (10:58 +0000)]
2004-04-23  Emmanuel Briot  <briot@act-europe.fr>

* adaint.c (__gnat_try_lock): No longer requires that the parent
directory be writable, the directory itself is enough.
(gnat_is_absolute_path): Change profile, so that the call from
GNAT.OS_Lib can be made more efficient.

* adaint.h (gnat_is_absolute_path): Change profile, so that the call
from GNAT.OS_Lib can be made more efficient.

* g-os_lib.adb (Is_Absolute_Path): More efficient implementation, avoid
one copy of the file name. Found by code reading.

2004-04-23  Vincent Celier  <celier@gnat.com>

* gnat_ugn.texi: Add documentation for gnatmake switch -eL
Correct documentation on gnatmake switches transmitted to the compiler

* ali.ads: Minor comment fix

2004-04-23  Javier Miranda  <miranda@gnat.com>

* sem_ch6.adb: (Confirming Types): Code cleanup

* decl.c (gnat_to_gnu_entity): Give support to anonymous access to
subprogram types: E_Anonymous_Access_Subprogram_Type and
E_Anonymous_Access_Protected_Subprogram_Type.

2004-04-23  Thomas Quinot  <quinot@act-europe.fr>

* sem_dist.adb: Add a new paramter to the RAS_Access TSS indicating
whether a pragma All_Calls_Remote applies to the subprogram on which
'Access is taken.
No functional change is introduced by this revision; the new parameter
will be used to allow calls to local RCI subprograms to be optimized
to not use the PCS in the case where no pragma All_Calls_Remote applies,
as is already done in the PolyORB implementation of the DSA.

* exp_dist.adb: Add a new paramter to the RAS_Access TSS indicating
whether a pragma All_Calls_Remote applies to the subprogram on which
'Access is taken.
No functional change is introduced by this revision; the new parameter
will be used to allow calls to local RCI subprograms to be optimized
to not use the PCS in the case where no pragma All_Calls_Remote applies,
as is already done in the PolyORB implementation of the DSA.

2004-04-23  Robert Dewar  <dewar@gnat.com>

* Makefile.rtl: Add entry for s-addope.o in run time library list
* Make-lang.in: Add entry for s-addope.o to GNAT1 objects
* s-addope.ads, s-addope.adb: New files.

* s-carsi8.adb, s-carun8.adb, s-casi16.adb, s-casi32.adb,
s-casi64.adb, s-caun16.adb, s-caun32.adb, s-caun64.adb,
s-finimp.adb, s-geveop.adb, s-stoele.adb: Modifications to allow
System.Address to be non-private and signed.

* sem_elim.adb: Minor reformatting (fairly extensive)
Some minor code reorganization from code reading
Add a couple of ??? comments

2004-04-23  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

* trans.c (tree_transform, build_unit_elab): Don't call getdecls.
        (tree_transform, case N_If_Statement): Remove non-determinism.

* utils.c (begin_subprog_body): Just set DECL_CONTEXT in PARM_DECL.

2004-04-23  Sergey Rybin  <rybin@act-europe.fr>

* gnat_rm.texi: Small fixes in the changes made in the 'pragma
Eliminate' section.

* snames.ads, snames.adb: Remove Name_Homonym_Number (Homonym_Number is
no longer used as a parameter name for Eliminate pragma).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81086 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-04-23 Laurent GUERBY <laurent@guerby.net>
guerby [Fri, 23 Apr 2004 10:43:53 +0000 (10:43 +0000)]
2004-04-23  Laurent GUERBY <laurent@guerby.net>

* MAINTAINERS: Update my email address.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81085 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-04-23 Paolo Bonzini <bonzini@gnu.org>
bonzini [Fri, 23 Apr 2004 07:58:23 +0000 (07:58 +0000)]
2004-04-23  Paolo Bonzini  <bonzini@gnu.org>

* doc/invoke.texi (Optimize Options): Refer to "unit-at-a-time
mode" rather than "-funit-at-a-time" since -O2 enables it
without requiring -f* options. Refer to -fprofile-generate and
-fprofile-use correctly.  Move -funit-at-a-time among options
enabled by -O. Add information about unit-at-a-time caveats.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81082 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-04-23 Dalibor Topic <robilad@kaffe.org>
mkoch [Fri, 23 Apr 2004 07:57:47 +0000 (07:57 +0000)]
2004-04-23 Dalibor Topic <robilad@kaffe.org>

* java/sql/DriverManager.java:
Cleaned up imports.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81081 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-04-23 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 23 Apr 2004 07:21:46 +0000 (07:21 +0000)]
2004-04-23  Michael Koch  <konqueror@gmx.de>

* java/net/URL.java
(hashcode): Don't initialize with default value explicitely.
(getContent): Removed redundant "final" keyword.
(openStream): Likewise.
(getURLStreamHandler): Fixed coding style.
* java/net/URLConnection.java
(defaultAllowUserInteraction): Don't initialize with default value
explicitely.
(connected): Likewise.
(doOutput): Likewise.
(ifModifiedSince): Likewise.
(dateformats_initialized): Likewise.
(setURLStreamHander): Use StreamTokenizer where it belongs to.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81080 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-04-23 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 23 Apr 2004 06:56:34 +0000 (06:56 +0000)]
2004-04-23  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/channels/FileChannelImpl.java
(SET, CUR): Unused, removed.
(read): Implement here directly.
(implRead): Removed.
(write): Implement here directly.
(implWrite): Removed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81079 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-04-23 Dalibor Topic <robilad@kaffe.org>
mkoch [Fri, 23 Apr 2004 06:39:30 +0000 (06:39 +0000)]
2004-04-23  Dalibor Topic  <robilad@kaffe.org>

* javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
javax/rmi/CORBA/Stub.java,
javax/rmi/CORBA/Util.java,
javax/rmi/CORBA/ValueHandler.java,
javax/rmi/CORBA/ValueHandler.java,
javax/rmi/PortableRemoteObject.java:
Cleaned up imports.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81078 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-04-23 Dalibor Topic <robilad@kaffe.org>
mkoch [Fri, 23 Apr 2004 06:36:06 +0000 (06:36 +0000)]
2004-04-23 Dalibor Topic <robilad@kaffe.org>

* java/util/jar/JarFile.java,
java/util/jar/JarInputStream.java,
java/util/jar/JarOutputStream.java,
java/util/jar/Manifest.java:
Cleaned up imports.

2004-04-23 Dalibor Topic <robilad@kaffe.org>

* java/util/ArrayList.java,
java/util/Calendar.java,
java/util/Currency.java,
java/util/HashMap.java,
java/util/HashSet.java,
java/util/Hashtable.java,
java/util/LinkedList.java,
java/util/Properties.java,
java/util/PropertyPermission.java,
java/util/TimeZone.java,
java/util/TreeMap.java,
java/util/TreeSet.java,
java/util/Vector.java,
java/util/WeakHashMap.java:
Cleaned up imports.

2004-04-23  Dalibor Topic  <robilad@kaffe.org>

* java/util/logging/FileHandler.java,
java/util/logging/Formatter.java,
java/util/logging/Handler.java,
java/util/logging/Logger.java,
java/util/logging/SimpleFormatter.java,
java/util/logging/XMLFormatter.java:
Cleaned up imports.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81077 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-04-22 Laurent GUERBY <laurent@guerby.net>
guerby [Fri, 23 Apr 2004 06:28:52 +0000 (06:28 +0000)]
2004-04-22  Laurent GUERBY <laurent@guerby.net>

PR optimization/14984
PR optimization/14985
* trans.c (gigi): Fix non determinism leading to bootstrap
comparison failures.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81076 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agoAdd Mostafa to entry of my previous commit.
hubicka [Fri, 23 Apr 2004 06:00:59 +0000 (06:00 +0000)]
Add Mostafa to entry of my previous commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81075 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * line-map.h (struct line_maps): New field highest_line.
bothner [Fri, 23 Apr 2004 02:22:27 +0000 (02:22 +0000)]
* line-map.h (struct line_maps):  New field highest_line.
(linemap_position_for_column):  Make non-inline function.
(LINEMAP_POSITION_FOR_COLUMN):  New macro.
* line-map.c (linemap_init):  Clear highest_line field.
(linemap_add):  Set highest_line field.
(linemap_line_start):  Minor optimization - use highest_line field.
Reduce maximum column hint to 10000.  Update highest_line field.
(linemap_position_for_column):  Moved from line-map.h.  Optimize a bit.
* cpphash.h (struct cpp_reader):  Remove line field - instead use
line_table->highest_line.
(saved_line):  Remove unused field.
(CPP_INCREMENT_FILE):  Don't do linemap_lookup - just use newest map.
Use  line_table's highest_line field instead of cpp_reader's line.
* cpplib.c (start_directive):  Likewise use highest_line field.
(do_line, do_linemarker):  Likewise just use newest map.
(_cpp_do_file_change):  Don't need to set cpp_reader's line field.
* cpperror.c (cpp_error):  Likewise use highest_line field.
* cppfiles.c (open_file_failed:  Likewise.
(cpp_make_system_header):  Likewise use newest map and highest_line.
* cppinit.c (cpp_create_reader):  Don't initialize removed field.
* cpplex.c (_cpp_process_line_notes, _cpp_skip_block_comment,
skip_line_comment, skip_whitespace, _cpp_get_fresh_line,
_cpp_lex_direct):  Likewise use highest_line.
(_cpp_lex_direct):  Use new LINEMAP_POSITION_FOR_COLUMN macro.
* cppmacro.c (_cpp_builtin_macro_text):  Likewise use highest_line,
and use newest map.
* cpppch.c (cpp_read_state):  Don't save+restore cpp_reader's line.
* cpptrad.c (_cpp_overlay_buffer):  Don't save cpp_reader's line.
(copy_comment, _cpp_scan_out_logical_line):  Likewise use highest_line.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81074 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agoadd pr number to last commit
amodra [Fri, 23 Apr 2004 02:20:13 +0000 (02:20 +0000)]
add pr number to last commit

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81073 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * gcc.c (init_gcc_specs): Test USE_LD_AS_NEEDED, not HAVE_LD_AS_NEEDED.
amodra [Fri, 23 Apr 2004 02:16:26 +0000 (02:16 +0000)]
* gcc.c (init_gcc_specs): Test USE_LD_AS_NEEDED, not HAVE_LD_AS_NEEDED.
* config/linux.h (USE_LD_AS_NEEDED): Define.
* gcc/config/alpha/linux.h (USE_LD_AS_NEEDED): Define.
* gcc/config/arm/linux-elf.h (USE_LD_AS_NEEDED): Define.
* gcc/config/rs6000/linux.h (USE_LD_AS_NEEDED): Define.
* gcc/config/rs6000/linux64.h (USE_LD_AS_NEEDED): Define.
* gcc/config/sh/linux.h (USE_LD_AS_NEEDED): Define.
* gcc/config/sparc/linux.h (USE_LD_AS_NEEDED): Define.
* gcc/config/sparc/linux64.h (USE_LD_AS_NEEDED): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81072 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * cppinit.c (cpp_read_main_file): Return NULL rather than false.
bothner [Fri, 23 Apr 2004 01:41:04 +0000 (01:41 +0000)]
* cppinit.c (cpp_read_main_file):  Return NULL rather than false.
Fixes PR preprocessor/15067.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81068 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * init.c (build_aggr_init): Fix accidental use of C99 construct in
mmitchel [Fri, 23 Apr 2004 01:06:54 +0000 (01:06 +0000)]
* init.c (build_aggr_init): Fix accidental use of C99 construct in
previous change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81067 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agoDaily bump.
gccadmin [Fri, 23 Apr 2004 00:16:12 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81063 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
mark [Thu, 22 Apr 2004 23:22:23 +0000 (23:22 +0000)]
   * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
       -Wno-long-long flags variable.
       (gtk_c_files): Use PEDANTIC_CFLAGS.
       * Makefile.in: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81060 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * config/ia64/ia64intrin.h: Add intermediate cast to void * to
schwab [Thu, 22 Apr 2004 22:16:11 +0000 (22:16 +0000)]
* config/ia64/ia64intrin.h: Add intermediate cast to void * to
avoid aliasing warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81059 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * cfgloopmanip.c (scale_bbs_frequencies): Use RDIV macro
hubicka [Thu, 22 Apr 2004 21:46:48 +0000 (21:46 +0000)]
  * cfgloopmanip.c (scale_bbs_frequencies): Use RDIV macro
      * cfgloopanal.c (expected_loop_iterations): Change the return value

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81058 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agoAdd dg-options
mmitchel [Thu, 22 Apr 2004 21:31:01 +0000 (21:31 +0000)]
Add dg-options

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81054 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * class.c (initialize_array): Don't set TREE_HAS_CONSTRUCTOR on
mmitchel [Thu, 22 Apr 2004 21:29:35 +0000 (21:29 +0000)]
* class.c (initialize_array): Don't set TREE_HAS_CONSTRUCTOR on
braced initializer.
* cp-tree.h (BRACE_ENCLOSED_INITIALIZER_P): New macro.
* decl.c (reshape_init): Use it.
* init.c (perform_member_init): Remove redundant condition.
(build_aggr_init): Adjust to handle brace-enclosed initializers
correctly.
(expand_default_init): Use BRACE_ENCLOSED_INITIALIZER_P.
* parser.c (cp_parser_initializer_clause): Do not set
TREE_HAS_CONSTRUCTOR on the initializer.
* rtti.c (tinfo_base_init): Likewise.
(generic_initializer): Likewise.
(ptr_initializer): Likewise.
(ptm_initializer): Likewise.
(class_initializer): Likewise.
(get_pseudo_ti_init): Likewise.
* typeck2.c (digest_init): Use BRACE_ENCLOSED_INITIALIZER_P.

* g++.dg/ext/complit3.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81052 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-04-22 Mark Wielaard <mark@klomp.org>
mkoch [Thu, 22 Apr 2004 18:02:54 +0000 (18:02 +0000)]
2004-04-22  Mark Wielaard  <mark@klomp.org>

* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
Changed C++ comments into C comments.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
Likewise.

2004-04-22  Michael Koch  <konqueror@gmx.de>

* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
Merged copyright year with GNU classpath.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81042 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * cselib.h (struct elt_loc_list): Remove canon_loc field.
jakub [Thu, 22 Apr 2004 17:47:47 +0000 (17:47 +0000)]
* cselib.h (struct elt_loc_list): Remove canon_loc field.
* cselib.c (new_elt_loc_list): Remove canon_loc initialization.
(cselib_invalidate_mem): Remove all canon_loc and canon_x
traces.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81037 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * hashtab.h (struct htab): Add size_prime_index.
rth [Thu, 22 Apr 2004 17:36:03 +0000 (17:36 +0000)]
    * hashtab.h (struct htab): Add size_prime_index.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81030 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * hashtab.c: Include limits.h, stdint.h, ansidecl.h.
rth [Thu, 22 Apr 2004 17:35:44 +0000 (17:35 +0000)]
    * hashtab.c: Include limits.h, stdint.h, ansidecl.h.
        (CHAR_BIT): Provide default.
        (struct prime_ent, prime_tab): New.
        (higher_prime_index): Rename from higher_prime_number, return index.
        (htab_mod_1): New.
        (htab_mod, htab_mod_m2): Use it.
        (htab_create_alloc, htab_create_alloc_ex): Store prime index.
        (htab_expand): Likewise.
        * configure.ac: Check for stdint.h.
        (UNSIGNED_64BIT_TYPE): New define and checks to fill it in.
        * config.in, configure: Rebuild.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81029 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * resource.c (write_resource_constructor): Guard call to possibly
sayle [Thu, 22 Apr 2004 15:46:09 +0000 (15:46 +0000)]
* resource.c (write_resource_constructor): Guard call to possibly
NULL targetm.asm_out.constructor with targetm.have_ctors_dtors.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81012 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago Revert
zlomek [Thu, 22 Apr 2004 12:16:33 +0000 (12:16 +0000)]
Revert
2004-04-20  Josef Zlomek  <zlomekj@suse.cz>

* var-tracking.c (variable_part_different_p): Variable parts
differ when the most recent locations differ.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81011 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-04-22 Dalibor Topic <robilad@kaffe.org>
mkoch [Thu, 22 Apr 2004 07:55:13 +0000 (07:55 +0000)]
2004-04-22  Dalibor Topic  <robilad@kaffe.org>

* javax/security/auth/x500/X500Principal.java:
Cleaned up imports.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81010 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-04-22 Dalibor Topic <robilad@kaffe.org>
mkoch [Thu, 22 Apr 2004 07:51:16 +0000 (07:51 +0000)]
2004-04-22  Dalibor Topic  <robilad@kaffe.org>

* javax/swing/JSlider.java:
Fixed HTML tags in comments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81009 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-04-22 Dalibor Topic <robilad@kaffe.org>
mkoch [Thu, 22 Apr 2004 07:06:15 +0000 (07:06 +0000)]
2004-04-22  Dalibor Topic  <robilad@kaffe.org>

* javax/accessibility/AccessibleText.java:
Cleaned up imports.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81008 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * doc/invoke.texi: Remove the MIPS -membedded-pic option.
rsandifo [Thu, 22 Apr 2004 07:03:00 +0000 (07:03 +0000)]
* doc/invoke.texi: Remove the MIPS -membedded-pic option.
* config/mips/mips-protos.h (embedded_pic_fnaddr_reg): Delete.
(embedded_pic_offset): Delete.
* config/mips/mips.h (MASK_EMBEDDED_PIC): Delete.  Shuffle other
MASK_* constants.
(TARGET_EMBEDDED_PIC): Delete.
(TARGET_SWITCHES): Remove -m{no-,}embedded-pic.
(ASM_SPEC): Remove -membedded-pic.
(ASM_OUTPUT_ADDR_DIFF_ELT): Remove embedded-pic handling.
(ASM_OUTPUT_CASE_LABEL): Likewise.
* config/mips/vxworks.h (ASM_SPEC): Remove -membedded-pic.
* config/mips/windiss.h (ASM_SPEC): Likewise.
* config/mips/mips.c (struct machine_function): Remove
embedded_pic_fnaddr_rtx.
(TARGET_ENCODE_SECTION_INFO): Remove override.
(embedded_pic_fnaddr_reg, embedded_pic_offset): Delete.
(override_options): Remove -membedded-pic handling.
(print_operand): Remove handling of '%S'.
(mips_select_section: Remove -membedded-pic handling.
(mips_encode_section_info): Delete.
(mips_output_conditional_branch): Remove mention of -membedded-pic.
* config/mips/mips.md (define_attr length, movsi, movdi, jump): Remove
-membedded-pic handling.
(casesi, casesi_internal, casesi_internal_di, get_fnaddr): Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81007 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
mkoch [Thu, 22 Apr 2004 07:02:26 +0000 (07:02 +0000)]
2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>

* java/net/URLStreamHandler.java
(parseURL): Convert the file path to using '/' instead of native
file separator.

2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>

* java/net/URL.java
(userInfo): New field.
(URL): Set authority to the right value.
(setURL): Fixed authority and file initialization.
* java/net/URLStreamHandler.java
(parseURL): Take care of the query tag. Build authority.
(toExternalForm): Fixed URL building using authority.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81006 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-04-22 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 22 Apr 2004 06:49:53 +0000 (06:49 +0000)]
2004-04-22  Michael Koch  <konqueror@gmx.de>

* java/net/Socket.java
(impl): Made package-private.
* java/net/ServerSocket.java
(implAccept): Access Socket.impl field directly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81005 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-04-22 Dalibor Topic <robilad@kaffe.org>
mkoch [Thu, 22 Apr 2004 06:46:18 +0000 (06:46 +0000)]
2004-04-22  Dalibor Topic  <robilad@kaffe.org>

* java/util/prefs/Preferences.java,
java/util/prefs/InvalidPreferencesFormatException.java,
java/util/prefs/BackingStoreException.java,
java/util/prefs/AbstractPreferences.java:
Cleaned up imports.

2004-04-22  Dalibor Topic  <robilad@kaffe.org>

* java/util/regex/Matcher.java,
java/util/regex/Pattern.java:
Cleaned up imports.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81004 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-04-22 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 22 Apr 2004 06:41:36 +0000 (06:41 +0000)]
2004-04-22  Michael Koch  <konqueror@gmx.de>

* java/nio/charset/IllegalCharsetNameException.java
(charsetName): Made private.
(IllegalCharsetNameException): Added @param tag to javadoc.
(getCharsetName): Added @return tag to javadoc.
* java/nio/charset/MalformedInputException.java
(MalformedInputException): Added @param tag to javadoc.
(getInputLength): Revised method description, added @return tag.
(getMessage): Added @return tag.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81003 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-04-22 Jerry Quinn <jlquinn@optonline.net>
jlquinn [Thu, 22 Apr 2004 05:34:30 +0000 (05:34 +0000)]
2004-04-22  Jerry Quinn  <jlquinn@optonline.net>

* java/awt/Font.java (deriveFont): Implement missing variants.
* gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
missing variants.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81002 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * name-lookup.c (anonymous_namespace_name): Make static.
amodra [Thu, 22 Apr 2004 05:10:21 +0000 (05:10 +0000)]
* name-lookup.c (anonymous_namespace_name): Make static.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81001 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * var-tracking.c (frame_base_decl): Remove useless GTY.
amodra [Thu, 22 Apr 2004 05:09:34 +0000 (05:09 +0000)]
* var-tracking.c (frame_base_decl): Remove useless GTY.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81000 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * config/rs6000/rs6000.c (rs6000_override_options): Error when
aldyh [Thu, 22 Apr 2004 02:02:13 +0000 (02:02 +0000)]
* config/rs6000/rs6000.c (rs6000_override_options): Error when
user wants altivec and e500 instructions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80996 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * gcc.dg/altivec-1.c: XFAIL for powerpc-eabispe.
aldyh [Thu, 22 Apr 2004 01:58:09 +0000 (01:58 +0000)]
* gcc.dg/altivec-1.c: XFAIL for powerpc-eabispe.
* gcc.dg/altivec-3.c: Same.
* gcc.dg/altivec-varargs-1.c: Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80995 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agoDaily bump.
gccadmin [Thu, 22 Apr 2004 00:16:43 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80992 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * lib/target-supports.exp (check_profiling_available): Assume
aldyh [Wed, 21 Apr 2004 23:23:33 +0000 (23:23 +0000)]
* lib/target-supports.exp (check_profiling_available): Assume
profiling is not available on powerpc-eabi targets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80989 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agoMIPS SB-1 DFA scheduler.
wilson [Wed, 21 Apr 2004 23:21:59 +0000 (23:21 +0000)]
MIPS SB-1 DFA scheduler.
* config/mips/mips-protos.h (fp_register_operand, lo_operand): Declare.
* config/mips/mips.c (mips_multipass_dfa_lookahead): Declare.
(TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): New.
(fp_register_operand, lo_operand): New.
(mips_rtx_costs): Add TUNE_SB1 support.
(mips_issue_rate): Add comment.  Add PROCESSOR_SB1 support.
(mips_use_dfa_pipeline_interface): Add PROCESSOR_SB1 support.
(mips_multipass_dfa_lookahead): New.
* config/mips/mips.h (MASK_FP_EXCEPTIONS, TARGET_FP_EXCEPTIONS,
TUNE_SB1): New.
(TARGET_SWITCHES): Add -mfp-exceptions support.
(TARGET_FP_EXCEPTIONS_DEFAULT): New.
(BRANCH_COST): Fix whitespace.
* config/mips/mips.md: Include sb1.md.
* config/mips/sb1.md: New file.
* doc/invoke.texi: Document -mfp-exceptions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80988 138bc75d-0d04-0410-961f-82ee72b054a4