platform/upstream/linaro-gcc.git
21 years ago * config.gcc: Do per-target disabling of fixproto here in clauses,
neroden [Tue, 23 Sep 2003 18:56:00 +0000 (18:56 +0000)]
* config.gcc: Do per-target disabling of fixproto here in clauses,
not in t- fragments.
* configure.in: Adjust to set STMP_FIXPROTO correctly.
* configure: Regenerate.
* config/arm/t-semi, config/cris/t-cris, config/i386/t-beos,
config/i386/t-cygming, config/i386/t-nto, config/ia64/t-hpux,
t-freebsd, t-linux, t-netbsd, t-openbsd, t-rtems, t-vxworks,
xtensa/t-xtensa: Remove setting of STMP_FIXPROTO.
* config/i370/t-oe, config/i386/t-netware, config/pa/t-bsd,
t-interix, t-linux-aout:  Delete files consisting only of
setting of STMP_FIXPROTO.

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

21 years ago * config.host: Allow unknown hosts (not targets). Allow
neroden [Tue, 23 Sep 2003 18:52:45 +0000 (18:52 +0000)]
* config.host: Allow unknown hosts (not targets).  Allow
ns32k-*-netbsdelf* as a host (not a target).  Remove redundant
empty clauses.  Remove useless obsolete-configuration clause.
Prune unsupported configuration list.  Collapse identical
clauses for closely related systems.  Rewrite comment for
unsupported hosts list.  Reorganize a little.

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

21 years ago2003-09-23 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Tue, 23 Sep 2003 17:34:37 +0000 (17:34 +0000)]
2003-09-23  Andreas Tobler  <a.tobler@schweiz.ch>

* MAINTAINERS: Move myself from 'Write After Approval' to
'Various Maintainers' section as libffi testsuite maintainer.

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

21 years ago * jcf-write.c (generate_bytecode_insns): Optimize binary operations
sayle [Tue, 23 Sep 2003 15:49:53 +0000 (15:49 +0000)]
* jcf-write.c (generate_bytecode_insns): Optimize binary operations
with equal operands without side-effects.

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

21 years ago * cp-tree.h (scope_kind): Add new enumerator.
gdr [Tue, 23 Sep 2003 15:42:21 +0000 (15:42 +0000)]
* cp-tree.h (scope_kind): Add new enumerator.
(keep_next_level): Change parameter type to bool.
(begin_scope):  Change prototype.
(pushlevel): Remove declaration.
* decl.c (push_binding_level): Fold in begin_scope.  Remove.
(struct cp_binding_level): Remove tag_tranparent field.  Make keep
of bitsize one.
(keep_next_level_flag): Make a bool.
(cxx_scope_descriptor): Update scope names table
(make_cxx_scope): Fold in begin_scope.  Remove..
(namespace_scope_ht_size): New function.
(begin_scope): Change prototype.  Return a scope.  Tidy.
(kept_level_p): Update.
(pushlevel): Remove.
(maybe_push_cleanup_level): Simplify.
(poplevel): Update for sk_cleanup and keep change.
(print_binding_level): Likewise.
(initial_push_namespace_scope): Fold in begin_scope.  Remove.
(push_namespace): Update.
(pushtag): Likewise.
(lookup_tag): Likewise.
(lookup_name_current_level): Likewise.
(lookup_type_current_level): Likewise.
(cxx_init_decl_processing): Likewise.
(start_function): Likewise.
(begin_function_body): Likewise.
(start_method): Likewise.
* pt.c (push_inline_template_parms_recursive): Likewise.
(begin_template_parm_list): Likewise.
(begin_specialization): Likewise.
* semantics.c (do_pushlevel): Likewise.
(begin_compound_stmt): Likewise.
(begin_stmt_expr): Likewise.

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

21 years ago * c-common.c (c_common_signed_or_unsigned_type): Examine mode,
rth [Tue, 23 Sep 2003 06:04:14 +0000 (06:04 +0000)]
    * c-common.c (c_common_signed_or_unsigned_type): Examine mode,
        not precision.
* g++.dg/opt/enum1.C: New.

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

21 years ago* decl.c (java_init_decl_processing): Don't emit otable decls
jsturm [Tue, 23 Sep 2003 03:05:30 +0000 (03:05 +0000)]
* decl.c (java_init_decl_processing): Don't emit otable decls
if flag_indirect_dispatch is not set.

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

21 years ago * config/rs6000/rs6000.c (altivec_in_gprs_p): Rename to ...
dje [Tue, 23 Sep 2003 02:03:55 +0000 (02:03 +0000)]
    * config/rs6000/rs6000.c (altivec_in_gprs_p): Rename to ...
        (gpr_or_gpr_p): Change to bool.
        (rs6000_split_altivec_in_gprs): Rename to ...
        (rs6000_split_multireg_move): Add support for update addressing.
        * config/rs6000/rs6000-protos.h: Same.
        * config/rs6000/altivec.md: Same.
        * config/rs6000/rs6000.md (movdi_internal32): Use new splitter for
        multiple GPRs.
        (movti): Remove TARGET_STRING || TARGET_POWERPC64 final condition.
        (movti_power): Use new splitter for multiple GPRs.
        (movti_string): Same.
        (movti_ppc64): Same.

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

21 years agoDaily bump.
gccadmin [Tue, 23 Sep 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

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

21 years ago * config/xtensa/xtensa-protos.h: Convert to ISO C90.
bwilson [Mon, 22 Sep 2003 23:19:45 +0000 (23:19 +0000)]
* config/xtensa/xtensa-protos.h: Convert to ISO C90.
* config/xtensa/xtensa.c: Convert to ISO C90.  Minor formatting fixes.

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

21 years ago* config/mn10300/mn10300.md: Revert 2003-09-17's patch.
aoliva [Mon, 22 Sep 2003 20:13:40 +0000 (20:13 +0000)]
* config/mn10300/mn10300.md: Revert 2003-09-17's patch.
(andsi3): Set attr cc to set_zn when using shifts or adds.

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

21 years ago2003-09-22 Petur Runolfsson <peturr02@ru.is>
paolo [Mon, 22 Sep 2003 18:29:56 +0000 (18:29 +0000)]
2003-09-22  Petur Runolfsson  <peturr02@ru.is>

* include/bits/istream.tcc (basic_istream::read,
basic_istream::readsome, basic_istream::putback,
basic_istream::unget, operator>>(basic_istream, CharT)):
Avoid redundant setstate(failbit) calls when sentry::operator bool()
returns false.

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

21 years ago * doc/contrib.texi: Add Peter Barada, Paul Dale and myself.
bernie [Mon, 22 Sep 2003 17:43:57 +0000 (17:43 +0000)]
* doc/contrib.texi: Add Peter Barada, Paul Dale and myself.

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

21 years ago2003-09-22 Andrew Cagney <cagney@redhat.com>
cagney [Mon, 22 Sep 2003 17:42:03 +0000 (17:42 +0000)]
2003-09-22  Andrew Cagney  <cagney@redhat.com>

* floatformat.h (struct floatformat): Add field "is_valid".

2003-09-22  Andrew Cagney  <cagney@redhat.com>

* floatformat.c (floatformat_i387_ext_is_valid): New function.
(floatformat_always_valid): New function.
(floatformat_i387_ext): Initialize new "is_valid" field to
"floatformat_i387_ext_is_valid".
(floatformat_ieee_single_little): Initialize "is_valid" field to
floatformat_always_valid.
(floatformat_ieee_double_big): Ditto.
(floatformat_ieee_double_little): Ditto.
(floatformat_ieee_double_little): Ditto.
(floatformat_ieee_double_littlebyte_bigword): Ditto.
(floatformat_i960_ext): Ditto.
(floatformat_m88110_ext): Ditto.
(floatformat_m88110_harris_ext): Ditto.
(floatformat_arm_ext_big): Ditto.
(floatformat_arm_ext_littlebyte_bigword): Ditto.
(floatformat_ia64_spill_big): Ditto.
(floatformat_ia64_spill_little): Ditto.
(floatformat_ia64_quad_big): Ditto.
(floatformat_ia64_quad_little): Ditto.
(floatformat_ia64_quad_little): Ditto.
(floatformat_is_valid): Call "is_valid".

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

21 years ago * config/m68k/m68k.h (MASK_RTD, TARGET_RTD, RETURN_POPS_ARGS):
bernie [Mon, 22 Sep 2003 17:35:06 +0000 (17:35 +0000)]
* config/m68k/m68k.h (MASK_RTD, TARGET_RTD, RETURN_POPS_ARGS):
Resurrect -mrtd option.

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

21 years agoAnother newlib fix.
green [Mon, 22 Sep 2003 16:04:24 +0000 (16:04 +0000)]
Another newlib fix.

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

21 years agoAnother newlib fix
green [Mon, 22 Sep 2003 16:00:23 +0000 (16:00 +0000)]
Another newlib fix

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

21 years ago2003-09-22 Carlo Wood <carlo@alinoe.com>
paolo [Mon, 22 Sep 2003 14:39:16 +0000 (14:39 +0000)]
2003-09-22  Carlo Wood  <carlo@alinoe.com>

PR libstdc++/12365
* include/bits/demangle.h (qualifier(int, cv_qualifier_nt,
char const*, int, int)): Remove unused identifier
cv_qualifier for overloaded constructor.

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

21 years ago * gcc_release (announce_snapshot): Restructure processing
gerald [Mon, 22 Sep 2003 14:29:20 +0000 (14:29 +0000)]
* gcc_release (announce_snapshot): Restructure processing
of snapshot-README and snapshot-index.html and add a new
substitution for @EXPORT@.

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

21 years ago2003-09-21 Ralph Loader <suckfish@ihug.co.nz>
bryce [Mon, 22 Sep 2003 08:17:49 +0000 (08:17 +0000)]
2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>

        PR java/12350:
        * java/lang/StringBuffer.java (substring): Fix handling of shared
        flag.

2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>

        PR java/12350
        * libjava.lang/PR12350.java: New file.
        * libjava.lang/PR12350.out: New file.

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

21 years ago2003-09-22 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 22 Sep 2003 08:05:51 +0000 (08:05 +0000)]
2003-09-22  Michael Koch  <konqueror@gmx.de>

* jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
compiler warning but produces a different one now.

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

21 years ago2003-09-22 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 22 Sep 2003 07:56:44 +0000 (07:56 +0000)]
2003-09-22  Michael Koch  <konqueror@gmx.de>

* java/net/InetAddress.java:
Moves around some code, reformats and adds documentation.
No functional changes.

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

21 years ago2003-09-21 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Mon, 22 Sep 2003 07:18:09 +0000 (07:18 +0000)]
2003-09-21  Andrew Pinski  <pinskia@physics.uc.edu>

        PR target/12281
        * config/darwin.c (machopic_validate_stub_or_non_lazy_ptr): Call
        mark_referenced instead of setting TREE_SYMBOL_REFERENCED.

2003-09-21  Andrew Pinski  <pinskia@physics.uc.edu>

        PR target/12281
        * gcc.c-torture/compile/20030921-1.c: New test.

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

21 years ago PR target/9786
ebotcazou [Mon, 22 Sep 2003 06:59:51 +0000 (06:59 +0000)]
PR target/9786
* reg-stack.c (convert_regs_1): Purge possible dead eh edges
after potential deletion of trapping insn. Avoids later ICE
from call to fixup_abnormal_edges.
(convert_regs_2): Stack the current block successors before
processing this block, that is, before the potential deletion of
dead edges by convert_regs_1, because these edges have been used
to initialize the predecessors count.

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

21 years ago2003-09-22 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 22 Sep 2003 05:48:32 +0000 (05:48 +0000)]
2003-09-22  Michael Koch  <konqueror@gmx.de>

* java/net/JarURLConnection.java
(JarURLConnection): Modifed code to match classpath more, fixed comment.
(getCertificates): Made it more error prone.
(getMainAttributes): Likewise.
(getAttributes): Implemented.
(getManifest): Reformatted code.

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

21 years ago * real.c: Fix several nits in the head comment.
ebotcazou [Mon, 22 Sep 2003 05:46:51 +0000 (05:46 +0000)]
* real.c: Fix several nits in the head comment.

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

21 years agoRevert DECL_SOURCE_LOCATION -> TREE_LOCUS change.
rth [Mon, 22 Sep 2003 05:09:32 +0000 (05:09 +0000)]
Revert DECL_SOURCE_LOCATION -> TREE_LOCUS change.

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

21 years agoDaily bump.
gccadmin [Mon, 22 Sep 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.

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

21 years ago * tree.h (TREE_LOCUS): Rename from DECL_SOURCE_LOCATION; make const.
rth [Sun, 21 Sep 2003 23:39:40 +0000 (23:39 +0000)]
* tree.h (TREE_LOCUS): Rename from DECL_SOURCE_LOCATION; make const.
(TREE_FILENAME, TREE_LINENO): Likewise.
(set_tree_locus, copy_tree_locus, set_tree_file_line): New.
(TREE_LOCUS_SET_P): New.
* c-aux-info.c, c-decl.c, c-parse.in, coverage.c, dbxout.c,
diagnostic.c, dwarf2out.c, dwarfout.c, function.c, integrate.c,
print-tree.c, stmt.c, toplev.c, tree-dump.c, tree-inline.c,
tree-optimize.c, tree.c, tree.def, xcoffout.c, config/alpha/alpha.c,
config/mips/mips.c, doc/c-tree.texi, objc/objc-act.c: Update to match.

ada/
* trans.c, utils.c: Update for DECL_SOURCE_LOCATION rename and
change to const.

cp/
* class.c, cp-tree.h, decl.c, decl2.c, error.c, init.c,
method.c, optimize.c, pt.c, semantics.c, tree.c: Update for
DECL_SOURCE_LOCATION rename and change to const.

f/
* com.c, ste.c: Update for DECL_SOURCE_LOCATION rename and
change to const.

java/
* class.c, decl.c, jcf-parse.c, jcf-write.c, parse.y,
resource.c: Update for DECL_SOURCE_LOCATION rename and change to const.

treelang/
* treetree.c: Update for DECL_SOURCE_LOCATION rename and
change to const.

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

21 years ago * config/vax/vax-protos.h: Convert to ISO C90.
neroden [Sun, 21 Sep 2003 20:03:06 +0000 (20:03 +0000)]
* config/vax/vax-protos.h: Convert to ISO C90.

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

21 years ago * config/vax/vax.c: Convert to ISO C90.
neroden [Sun, 21 Sep 2003 19:51:24 +0000 (19:51 +0000)]
* config/vax/vax.c: Convert to ISO C90.

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

21 years ago * configure.in: Pass a computed --program-transform-name
drow [Sun, 21 Sep 2003 19:32:22 +0000 (19:32 +0000)]
* configure.in: Pass a computed --program-transform-name
to subconfigures.
* configure: Regenerated.

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

21 years ago2003-09-21 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sun, 21 Sep 2003 16:19:01 +0000 (16:19 +0000)]
2003-09-21  Toon Moene  <toon@moene.indiv.nluug.nl>

* news.texi: Update with fixed PR's.

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

21 years ago2003-09-21 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sun, 21 Sep 2003 16:16:46 +0000 (16:16 +0000)]
2003-09-21  Toon Moene  <toon@moene.indiv.nluug.nl>

PR libf2c/11918
* fstat_.c: Call f_init().
* isatty_.c: Ditto.
* fnum_.c: Check file descriptor before handing it back.

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

21 years ago PR target/12353
grahams [Sun, 21 Sep 2003 15:27:00 +0000 (15:27 +0000)]
   PR target/12353
       * config/i386/i386.md(ffs_no_cmove): Fix operand 2 constraint.

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

21 years ago2003-09-21 George Helffrich <bugzilla@w170.uklinux.net>
toon [Sun, 21 Sep 2003 13:26:36 +0000 (13:26 +0000)]
2003-09-21  George Helffrich  <bugzilla@w170.uklinux.net>

* g77.texi: Remove ancient part about debugging COMMON
and EQUIVALENCE not correctly.

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

21 years ago PR target/12301
ebotcazou [Sun, 21 Sep 2003 08:17:48 +0000 (08:17 +0000)]
PR target/12301
* reorg.c (stop_search_p): Return 1 for insns that can
throw internally.

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

21 years ago * c-format.c (gcc_diag_char_table): Add %J.
rth [Sun, 21 Sep 2003 05:07:20 +0000 (05:07 +0000)]
    * c-format.c (gcc_diag_char_table): Add %J.
        (gcc_cdiag_char_table, gcc_cxxdiag_char_table): Likewise.
        (check_format_types): Fix wanted_type name lookup.
        (init_dynamic_diag_info): Setup %J.
        * diagnostic.c (text_specifies_location): Implement %J.
        * c-common.c, c-decl.c, c-objc-common.c, c-pragma.c, calls.c,
        dwarfout.c, expr.c, function.c, stmt.c, stor-layout.c, toplev.c,
        tree-inline.c, tree-optimize.c, varasm.c, config/arm/pe.c,
        config/i386/winnt.c, config/ia64/ia64.c, config/mcore/mcore.c,
        config/v850/v850.c, objc/objc-act.c: Use %J in diagnostics.

        * tree-inline.c: Include intl.h
        (inline_forbidden_p_1): Fix i18n of inline_forbidden_reason.
        * Makefile.in (tree-inline.o): Update.
cp/
        * decl.c, decl2.c, pt.c: Use %J in diagnostics.
java/
        * check-init.c, class.c, decl.c, expr.c: Use %J in diagnostics.
testsuite/
        * gcc.dg/format/gcc_diag-1.c: Add tests for %J.

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

21 years ago * config/i386/i386.c (ix86_expand_carry_flag_compare): Fix
sayle [Sun, 21 Sep 2003 02:22:45 +0000 (02:22 +0000)]
* config/i386/i386.c (ix86_expand_carry_flag_compare): Fix
transformation of a>=0 into (unsigned)a<0x80000000.

* gcc.c-torture/execute/20030920-1.c: New test case.

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

21 years ago* config/darwin.c (machopic_select_rtx_section): Fix check for PIC code.
pinskia [Sun, 21 Sep 2003 00:27:37 +0000 (00:27 +0000)]
* config/darwin.c (machopic_select_rtx_section): Fix check for PIC code.

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

21 years agoDaily bump.
gccadmin [Sun, 21 Sep 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

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

21 years agoFix arm-elf support.
green [Sun, 21 Sep 2003 00:15:52 +0000 (00:15 +0000)]
Fix arm-elf support.

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

21 years ago * java/awt/Component.java: Indentation cleanup from Classpath.
tromey [Sat, 20 Sep 2003 21:30:39 +0000 (21:30 +0000)]
* java/awt/Component.java: Indentation cleanup from Classpath.

2003-09-20  Dalibor Topic  <robilad@kaffe.org>

       * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
       checking to follow 1.4.2 spec.

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

21 years ago2003-08-11 Ingo Proetel <proetel@aicas.com>
neroden [Sat, 20 Sep 2003 21:23:47 +0000 (21:23 +0000)]
2003-08-11  Ingo Proetel  <proetel@aicas.com>

        * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject
        is compatible in case client and server are running in the same VM
(remerged from Classpath on 2003-09-20)

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

21 years ago * Makefile.tpl: Don't pass down obsolete ENQUIRE variable.
neroden [Sat, 20 Sep 2003 21:16:09 +0000 (21:16 +0000)]
* Makefile.tpl: Don't pass down obsolete ENQUIRE variable.
* Makefile.in: Regenerate.

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

21 years ago (top level)
neroden [Sat, 20 Sep 2003 21:12:38 +0000 (21:12 +0000)]
(top level)
* Makefile.tpl: Don't pass (unused) DLLTOOL or WINDRES to gcc.
* Makefile.in: Regenerate.

(gcc)
* Makefile.in: Don't set (unused) DLLTOOL.

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

21 years ago * config/arm/t-linux, config/arm/t-netbsd, config/arm-t-semi:
neroden [Sat, 20 Sep 2003 21:09:07 +0000 (21:09 +0000)]
* config/arm/t-linux, config/arm/t-netbsd, config/arm-t-semi:
Remove obsolete references to ENQUIRE.

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

21 years agoapparently managed not to commit the crucial part of c++/12332
nathan [Sat, 20 Sep 2003 19:30:51 +0000 (19:30 +0000)]
apparently managed not to commit the crucial part of c++/12332

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

21 years ago * g++.dg/rtti/typeid3.C: Correct expected error message.
lerdsuwa [Sat, 20 Sep 2003 16:32:18 +0000 (16:32 +0000)]
* g++.dg/rtti/typeid3.C: Correct expected error message.

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

21 years ago PR c++/157
lerdsuwa [Sat, 20 Sep 2003 15:59:38 +0000 (15:59 +0000)]
PR c++/157
* parser.c (cp_parser_direct_declarator): Clear
parser->num_template_parameter_lists when parsing function
parameters.
(cp_parser_constructor_declarator_p): Likewise.

* g++.dg/parse/crash12.C: New test.

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

21 years ago2003-09-19 David Daney <ddaney@avtrex.com>
tromey [Sat, 20 Sep 2003 02:57:07 +0000 (02:57 +0000)]
2003-09-19  David Daney <ddaney@avtrex.com>

* java/lang/ref/Reference.java (clear): Set referent to null and
synchronize.

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

21 years agoDaily bump.
gccadmin [Sat, 20 Sep 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

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

21 years ago2003-09-19 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 19 Sep 2003 21:12:58 +0000 (21:12 +0000)]
2003-09-19  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/NIODatagramSocket.java,
gnu/java/nio/NIOSocket.java: New files.
* Makefile.am (ordinary_java_source_files):
Added gnu/java/nio/NIODatagramSocket.java and
gnu/java/nio/NIOSocket.java.
* Makefile.in: Regenerated.

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

21 years ago2003-09-19 Janis Johnson <janis187@us.ibm.com>
janis [Fri, 19 Sep 2003 21:09:52 +0000 (21:09 +0000)]
2003-09-19  Janis Johnson  <janis187@us.ibm.com>

* gcc.dg/compat/mixed-struct-check.h: New.
* gcc.dg/compat/mixed-struct-defs.h: New.
* gcc.dg/compat/mixed-struct-init.h: New.
* gcc.dg/compat/struct-by-value-19_main.c: New.
* gcc.dg/compat/struct-by-value-19_x.c: New.
* gcc.dg/compat/struct-by-value-19_y.c: New.
* gcc.dg/compat/struct-by-value-20_main.c: New.
* gcc.dg/compat/struct-by-value-20_x.c: New.
* gcc.dg/compat/struct-by-value-20_y.c: New.
* gcc.dg/compat/struct-return-19_main.c: New.
* gcc.dg/compat/struct-return-19_x.c: New.
* gcc.dg/compat/struct-return-19_y.c: New.
* gcc.dg/compat/struct-return-20_main.c: New.
* gcc.dg/compat/struct-return-20_x.c: New.
* gcc.dg/compat/struct-return-20_y.c: New.

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

21 years ago2003-09-19 Ziemowit Laski <zlaski@apple.com>
zlaski [Fri, 19 Sep 2003 20:03:34 +0000 (20:03 +0000)]
2003-09-19  Ziemowit Laski  <zlaski@apple.com>

        * MAINTAINERS: Move myself from 'Write After Approval'
        to 'Various Maintainers' (objective-c) section.

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

21 years ago * configure.in: Remove --with-elf, which doesn't work.
neroden [Fri, 19 Sep 2003 19:48:57 +0000 (19:48 +0000)]
* configure.in: Remove --with-elf, which doesn't work.
* configure: Regenerate.
* config.gcc: Remove references to $elf, which does nothing.

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

21 years ago * config/i386/xm-vsta.h: Remove xm-file believed useless.
neroden [Fri, 19 Sep 2003 19:46:07 +0000 (19:46 +0000)]
* config/i386/xm-vsta.h: Remove xm-file believed useless.
* config.build (i386-vsta): Remove reference to it.
* config.host (i386-vsta): Remove reference to it.

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

21 years ago2003-09-19 Thomas Fitzsimmons <fitzsim@redhat.com>
fitzsim [Fri, 19 Sep 2003 19:27:59 +0000 (19:27 +0000)]
2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>

* gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
top-level GTK window.
(getArgs): Add "title" property.
* gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
"allow_shrink" and "allow_grow" properties.
* java/awt/Dialog.java: Initialize resizable to true and change
comments accordingly.  Initialize visible to false in
constructors.
* java/awt/Frame.java (dispose): Remove method.
* java/awt/Window.java (ownedWindows): New field.
(Window(Window,GraphicsConfiguration)): Add a weak reference to
owner's ownedWindows vector.
(finalize): Remove method.
(hide): Hide owned windows.
(dispose): Dispose of owned windows.
(getOwnedWindows): Implement.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
unused GtkArg code.
(set(String,boolean)): Clamp gboolean parameter to g_object_set
to TRUE or FALSE.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(create): Set window's size requisition.
(connectHooks): Fix indentation.
(setResizable): Remove function.
(static setBounds): Likewise.
(setBounds): Replace call to setBounds with GTK size requisition
and resize calls.

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

21 years ago2003-09-19 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Fri, 19 Sep 2003 19:21:53 +0000 (19:21 +0000)]
2003-09-19  Andreas Tobler  <a.tobler@schweiz.ch>

* testsuite/libffi.call/closure_fn0.c: Xfail mips, arm,
strongarm, xscale. Cleanup whitespaces.
* testsuite/libffi.call/closure_fn1.c: Likewise.
* testsuite/libffi.call/closure_fn2.c: Likewise.
* testsuite/libffi.call/closure_fn3.c: Likewise.
* testsuite/libffi.call/cls_12byte.c: Likewise.
* testsuite/libffi.call/cls_16byte.c: Likewise.
* testsuite/libffi.call/cls_1_1byte.c: Likewise.
* testsuite/libffi.call/cls_20byte.c: Likewise.
* testsuite/libffi.call/cls_24byte.c: Likewise.
* testsuite/libffi.call/cls_2byte.c: Likewise.
* testsuite/libffi.call/cls_3_1byte.c: Likewise.
* testsuite/libffi.call/cls_3byte1.c: Likewise.
* testsuite/libffi.call/cls_3byte2.c: Likewise.
* testsuite/libffi.call/cls_4_1byte.c: Likewise.
* testsuite/libffi.call/cls_4byte.c: Likewise.
* testsuite/libffi.call/cls_5byte.c: Likewise.
* testsuite/libffi.call/cls_6byte.c: Likewise.
* testsuite/libffi.call/cls_7byte.c: Likewise.
* testsuite/libffi.call/cls_8byte.c: Likewise.
* testsuite/libffi.call/cls_double.c: Likewise.
* testsuite/libffi.call/cls_float.c: Likewise.
* testsuite/libffi.call/cls_uchar.c: Likewise.
* testsuite/libffi.call/cls_uint.c: Likewise.
* testsuite/libffi.call/cls_ulonglong.c: Likewise.
* testsuite/libffi.call/cls_ushort.c: Likewise.
* testsuite/libffi.call/nested_struct.c: Likewise.
* testsuite/libffi.call/nested_struct1.c: Likewise.
* testsuite/libffi.call/problem1.c: Likewise.
* testsuite/libffi.special/unwindtest.cc: Likewise.
* testsuite/libffi.call/pyobjc-tc.c: Cleanup whitespaces.

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

21 years ago2003-09-19 Phil Edwards <phil@codesourcery.com>
pme [Fri, 19 Sep 2003 17:50:26 +0000 (17:50 +0000)]
2003-09-19  Phil Edwards  <phil@codesourcery.com>

* doc/install.texi:  Document the multiple testsuite options.

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

21 years ago * doc/install.texi (Specific): Add the specific versions of GCC
gerald [Fri, 19 Sep 2003 17:14:34 +0000 (17:14 +0000)]
* doc/install.texi (Specific): Add the specific versions of GCC
where support for FreeBSD 1, HP-UX version 9 and older, and AIX
version 3 and older was discontinued.

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

21 years ago2003-09-19 Joel Sherrill <joel@oarcorp.com>
joel [Fri, 19 Sep 2003 16:47:54 +0000 (16:47 +0000)]
2003-09-19 Joel Sherrill <joel@oarcorp.com>

* config/m68k/t-m68kbare, config/m68k/t-rtems: Change 68681 to
68881.

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

21 years ago * config/m68k/m68k.h (TARGET_CPU_CPP_PREDEFINES): Add predefines
bernie [Fri, 19 Sep 2003 16:39:44 +0000 (16:39 +0000)]
* config/m68k/m68k.h (TARGET_CPU_CPP_PREDEFINES): Add predefines
for -m68030, -m68020-60 and -m68020-40.
* config/m68k/m68k.h (TARGET_68030): New target flag.
* config/m68k/m68k.h (MASK_RTD, TARGET_RTD, MASK_REGPARM,
TARGET_REGPARM): Remove.
* config/m68k/m68k.h: Regroup and renumber target flags.
* config/m68k/m68k.h (TARGET_SWITCHES): Fix some tabulations.
* config/m68k/m68k.h (RETURN_POPS_ARGS): Always evaluate to 0.
* config/m68k/m68k.h (FUNCTION_ARG): Likewise.
* config/m68k/m68k.h (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
* config/m68k/m68k-none.h: Use MASK_xxx values in M68K_CPU_xxx macros.

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

21 years ago * g++.dg/init/array11.C: Change unsigned to __SIZE_TYPE__
pinskia [Fri, 19 Sep 2003 14:46:25 +0000 (14:46 +0000)]
* g++.dg/init/array11.C: Change unsigned to __SIZE_TYPE__
so that it will not complain on LP64 targets.

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

21 years ago PR c++/495
lerdsuwa [Fri, 19 Sep 2003 14:08:00 +0000 (14:08 +0000)]
PR c++/495
* pt.c (tsubst_friend_class): Only use innermost template
arguments for the injected friend class template.

* g++.dg/template/friend24.C: New test.

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

21 years ago2003-09-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
joel [Fri, 19 Sep 2003 13:27:53 +0000 (13:27 +0000)]
2003-09-19  Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* config/mips/t-rtems: New.
* config.gcc (mips*-*-rtems*): Use config/mips/t-rtems.

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

21 years ago2003-09-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
joel [Fri, 19 Sep 2003 13:24:47 +0000 (13:24 +0000)]
2003-09-19  Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* config/mips/t-rtems: New.
* config.gcc (mips*-*-rtems*): Use config/mips/t-rtems.

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

21 years ago* cgraph.c: Fix typo in debugging output.
kcook [Fri, 19 Sep 2003 12:43:14 +0000 (12:43 +0000)]
* cgraph.c: Fix typo in debugging output.

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

21 years agofix PR number
nathan [Fri, 19 Sep 2003 10:00:23 +0000 (10:00 +0000)]
fix PR number

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

21 years agocp:
nathan [Fri, 19 Sep 2003 09:28:05 +0000 (09:28 +0000)]
cp:
PR c++/12232
* pt.c (instantiate_class_template): Increment
processing_template_decl around the tsubst of a template member
function.
testsuite:
PR c++/12232
* g++.dg/template/memtmpl2.C: New test.

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

21 years ago * win32-threads.cc: (ensure_interrupt_event_initialized) New
membar [Fri, 19 Sep 2003 08:28:43 +0000 (08:28 +0000)]
* win32-threads.cc: (ensure_interrupt_event_initialized) New
function for lazy initialization of an auto-reset event.
(_Jv_CondWait) Added thread interrupt support.
(_Jv_ThreadInitData) Added initialization of interrupt support
members.
(_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
(_Jv_ThreadStart) Removed unused code.
(_Jv_Win32GetInterruptEvent) New method for returning interrupt event
to an external caller.
(_Jv_ThreadInterrupt) Implemented.
* include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
event for interrupt support as well as a mutex which regulates
access to this.
(_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
event to an external caller.
* java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
process.
(waitFor) Added interrupt support.

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

21 years ago2003-09-19 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 19 Sep 2003 07:24:59 +0000 (07:24 +0000)]
2003-09-19  Michael Koch  <konqueror@gmx.de>

* java/net/DatagramSocket.java (getLocalAddress):
Renamed result variable to localAddr.
* java/net/MulticastSocket.java:
No need to import gnu.java.net.PlainDatagramSocketImpl.

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

21 years ago PR target/12166
ebotcazou [Fri, 19 Sep 2003 06:24:34 +0000 (06:24 +0000)]
PR target/12166
* config/sparc/sol2-c1.asm (start): Set __Argv if GCRT1.

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

21 years ago * decl.c (cxx_scope_descriptor): Fix thinko.
gdr [Fri, 19 Sep 2003 03:12:31 +0000 (03:12 +0000)]
    * decl.c (cxx_scope_descriptor): Fix thinko.
        (struct cp_binding_level): Adjust type of binding_depth field.

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

21 years ago * c-ppoutput.c (print): Use fileline typedef for field 'line'.
bothner [Fri, 19 Sep 2003 00:47:53 +0000 (00:47 +0000)]
* c-ppoutput.c (print):  Use fileline typedef for field 'line'.
(print_line, maybe_print_line, cb_define, cb_undef, cb_include,
cb_ident, cb_def_pragma):  Use fileline typedef.
* cpphash.h (struct cpp_reader):  Likewise for field out.first_line.

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

21 years agoDaily bump.
gccadmin [Fri, 19 Sep 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

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

21 years ago2003-09-18 Sascha Brawer <brawer@dandelis.ch>
tromey [Thu, 18 Sep 2003 22:37:48 +0000 (22:37 +0000)]
2003-09-18  Sascha Brawer  <brawer@dandelis.ch>

* java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.

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

21 years ago PR c++/12320
dannysmith [Thu, 18 Sep 2003 21:22:17 +0000 (21:22 +0000)]
PR c++/12320
* call.c (type_passed_as): Check for incomplete type.
(convert_for_arg_passing): Likewise.

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

21 years ago * config/i386/winnt.c (gen_stdcall_suffix): Quit summation of
dannysmith [Thu, 18 Sep 2003 21:16:02 +0000 (21:16 +0000)]
* config/i386/winnt.c (gen_stdcall_suffix): Quit summation of
total parm size if a parm has incomplete type.
(gen_fastcall_suffix): Likewise.

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

21 years ago * src/powerpc/aix.S: Cleanup whitespaces.
dje [Thu, 18 Sep 2003 20:53:19 +0000 (20:53 +0000)]
    * src/powerpc/aix.S: Cleanup whitespaces.
        * src/powerpc/aix_closure.S: Likewise.

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

21 years agoApply proper patch file for last change.
kenner [Thu, 18 Sep 2003 20:53:03 +0000 (20:53 +0000)]
Apply proper patch file for last change.

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

21 years ago * except.c (output_function_exception_table): Adjust last change
kenner [Thu, 18 Sep 2003 20:47:38 +0000 (20:47 +0000)]
* except.c (output_function_exception_table): Adjust last change
to handle TYPE of INTEGER_CST.

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

21 years ago PR target/11184
mmitchel [Thu, 18 Sep 2003 20:43:13 +0000 (20:43 +0000)]
PR target/11184
* builtins.c (expand_builtin_apply): Use convert_memory_address
before returning the value.

* alias.c (find_base_value): Simplify use of
convert_memory_address.
(find_base_term): Likewise.
* builtins.c (expand_builtin_stejmp_setup): Likewise.
(expand_builtin_longjmp): Likewise.
(expand_builtin_prefetch): Likewise.
(get_memory_rtx): Likewise.
(expand_builtin_return): Likewise.
(expand_builtin_memcpy): Likewise.
(expand_builtin_strncpy): Likewise.
(expand_builtin_memset): Likewise.
(expand_builtin_va_arg): Likewise.
(expand_builtin_va_copy): Likewise.
(expand_builtin_alloca): Likewise.
* calls.c (expand_call): Likewise.
* except.c (expand_builtin_extract_return_addr): Likewise.
(expand_builtin_eh_return): Likewise.
* explow.c (convert_memory_address): Define even when
POINTER_EXTEND_UNSIGNED is not defined.  Do nothing if the address
is already in the right mode.
* explow.c (memory_address): Simplify use of convert_memory_address.
(probe_stack_range): Likewise.
* expmed.c (make_tree): Likewise.
* expr.c (emit_block_move_in_libcall): Likewise.
(expand_assignment): Likewise.
(expand_expr): Likewise.
* function.c (assign_parms): Likewise.
(expand_function_end): Likewise.
* integrate.c (copy_rtx_and_substitute): Likewise.
* stmt.c (expand_computed_goto): Likewise.

PR target/11184
* gcc.dg/builtin-apply1.c: New test.

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

21 years ago2003-09-18 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Thu, 18 Sep 2003 20:25:51 +0000 (20:25 +0000)]
2003-09-18  Andreas Tobler  <a.tobler@schweiz.ch>

* btest-gcc.sh: Add make check-target-libffi.

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

21 years ago * javax/naming/InitialContext.java: Reindented.
tromey [Thu, 18 Sep 2003 19:53:36 +0000 (19:53 +0000)]
* javax/naming/InitialContext.java: Reindented.

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

21 years ago2003-09-18 Dalibor Topic <robilad@kaffe.org>,
tromey [Thu, 18 Sep 2003 19:51:39 +0000 (19:51 +0000)]
2003-09-18  Dalibor Topic <robilad@kaffe.org>,
    Helmer Kraemer <hkraemer@freenet.de>

* javax/naming/spi/NamingManager.java (getURLContext,
getObjectInstance, getStateToBind): Always use current thread's
context class loader when calling Class.forName.

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

21 years ago2003-09-18 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Thu, 18 Sep 2003 19:35:46 +0000 (19:35 +0000)]
2003-09-18  Andreas Tobler  <a.tobler@schweiz.ch>

* src/powerpc/darwin.S: Cleanup whitespaces, comment formatting.
* src/powerpc/darwin_closure.S: Likewise.
* src/powerpc/ffi_darwin.c: Likewise.

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

21 years ago * simplify-rtx.c (simplify_unary_operation): Only transform
sayle [Thu, 18 Sep 2003 19:07:04 +0000 (19:07 +0000)]
* simplify-rtx.c (simplify_unary_operation): Only transform
(not (eq X Y)) into (ne X Y) when mode is BImode or STORE_FLAG_VALUE
is -1.  RTL "not" is a bit-wise not, "~", not a logical not "!".

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

21 years ago2003-09-18 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Thu, 18 Sep 2003 18:23:47 +0000 (18:23 +0000)]
2003-09-18  Andreas Tobler  <a.tobler@schweiz.ch>
    David Edelsohn  <edelsohn@gnu.org>

* src/types.c (double): Add AIX and Darwin to the right TYPEDEF.
* src/powerpc/aix_closure.S: Remove the pointer to the outgoing
parameter stack.
* src/powerpc/darwin_closure.S: Likewise.
* src/powerpc/ffi_darwin.c (ffi_prep_args): Handle structures
according to the Darwin/AIX ABI.
(ffi_prep_cif_machdep): Likewise.
(ffi_closure_helper_DARWIN): Likewise.
Remove the outgoing parameter stack logic. Simplify the evaluation
of the different CASE types.
(ffi_prep_clousure): Avoid the casts on lvalues. Change the branch
statement in the trampoline code.

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

21 years agocp:
nathan [Thu, 18 Sep 2003 17:07:53 +0000 (17:07 +0000)]
cp:
PR c++/9848
* optimize.c (maybe_clone_body): Don't set MARK_USED on parameters
here.
* semantics.c (expand_body): Set it here on the remaining clones.
testsuite:
PR c++/9848
* g++.dg/warn/Wunused-4.C: New test.

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

21 years agoMention the pr fixed.
rakdver [Thu, 18 Sep 2003 15:39:54 +0000 (15:39 +0000)]
Mention the pr fixed.

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

21 years ago * config/i386/i386.c (x86_emit_floatuns): Also handle SImode operand.
rakdver [Thu, 18 Sep 2003 15:37:51 +0000 (15:37 +0000)]
* config/i386/i386.c (x86_emit_floatuns): Also handle SImode operand.

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

21 years ago * tree.def (FFS_EXPR, CLZ_EXPR, CTZ_EXPR, POPCOUNT_EXPR,
sayle [Thu, 18 Sep 2003 15:06:02 +0000 (15:06 +0000)]
* tree.def (FFS_EXPR, CLZ_EXPR, CTZ_EXPR, POPCOUNT_EXPR,
PARITY_EXPR): Delete unused tree codes.
* c-common.c (c_common_truthvalue_conversion): Delete references
to FFS_EXPR and POPCOUNT_EXPR.
* c-pretty-print.c (pp_c_postfix_expression): Remove FFS_EXPR.
(pp_c_expression): Likewise.
* expr.c (expand_expr): Delete RTL expansion of FFS_EXPR, CLZ_EXPR,
CTZ_EXPR, POPCOUNT_EXPR and PARITY_EXPR.
* fold-const.c (tree_expr_nonnegative_p): Remove FFS_EXPR, CLZ_EXPR,
CTZ_EXPR, POPCOUNT_EXPR and PARITY_EXPR.  Add support for calls to
BUILT_IN_FFS, BUILT_IN_PARITY and BUILT_IN_POPCOUNT and their long
and long long variants.

* cp/lex.c (init_operators): Remove operator_name_info for FFS_EXPR.
* cp/class.c (instantiate_type): Remove FFS_EXPR case.

* f/com.c (ffecom_overlap_): Remove FFS_EXPR case.
(ffecom_tree_canonize_ref_): Likewise.
(ffe_truthvalue_conversion): Likewise.

* java/expr.c (java_truthvalue_conversion): Remove FFS_EXPR case.
* java/check-init.c (check_init): Likewise.

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

21 years ago * jcf-write.c (generate_bytecode_insns): Add support for fconst_2.
sayle [Thu, 18 Sep 2003 14:55:43 +0000 (14:55 +0000)]
* jcf-write.c (generate_bytecode_insns): Add support for fconst_2.

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

21 years ago2003-09-18 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 18 Sep 2003 14:27:19 +0000 (14:27 +0000)]
2003-09-18  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/11504
* acinclude.m4 (GLIBCXX_EXPORT_FLAGS): Add -Wcast-qual to
WARN_FLAGS, remove -Wno-format.
* aclocal.m4: Regenerate.
* configure: Regenerate.

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

21 years ago * src/sh/ffi.c (ffi_prep_args): Take account into the alignement
kkojima [Thu, 18 Sep 2003 14:08:20 +0000 (14:08 +0000)]
* src/sh/ffi.c (ffi_prep_args): Take account into the alignement
for the register size.
(ffi_closure_helper_SYSV): Handle the structure return value
address correctly.
(ffi_closure_helper_SYSV): Return the appropriate type when
the registers are used for the structure return value.
* src/sh/sysv.S (ffi_closure_SYSV): Fix the stack layout for
the 64-bit return value.  Update copyright years.

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

21 years ago2003-09-18 Petur Runolfsson <peturr02@ru.is>
bkoz [Thu, 18 Sep 2003 14:02:46 +0000 (14:02 +0000)]
2003-09-18  Petur Runolfsson  <peturr02@ru.is>

* config/io/basic_file_stdio.cc (sys_getc, sys_ungetc): Delete.
* config/io/basic_file_stdio.h: Same.
* include/std/std_fstream.h (__ctype_type): Delete.
* include/std/std_streambuf.h (__ctype_type, __state_type): Delete.

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

21 years ago2003-09-18 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 18 Sep 2003 13:09:53 +0000 (13:09 +0000)]
2003-09-18  Michael Koch  <konqueror@gmx.de>

* java/util/Timer.java (finalize): Added "throws Throwable".

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

21 years ago * ChangeLog: Fix recent commit.
reichelt [Thu, 18 Sep 2003 12:20:41 +0000 (12:20 +0000)]
* ChangeLog: Fix recent commit.

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

21 years ago PR c++/12316
reichelt [Thu, 18 Sep 2003 12:12:13 +0000 (12:12 +0000)]
PR c++/12316
* testsuite/g++.dg/other/gc2.C: New test.

* cp/ChangeLog: Add PR number to patch for PR c++/12316.

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