OSDN Git Service

pf3gnuchains/gcc-fork.git
21 years ago * i386.md (memory attribute): Fix setcc attribute.
hubicka [Wed, 25 Dec 2002 19:32:51 +0000 (19:32 +0000)]
* i386.md (memory attribute): Fix setcc attribute.

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

21 years ago * output.h: Fix comment typos.
kazu [Wed, 25 Dec 2002 15:15:10 +0000 (15:15 +0000)]
* output.h: Fix comment typos.
* predict.c: Likewise.
* print-tree.c: Likewise.
* profile.c: Likewise.
* ra-build.c: Likewise.
* ra-colorize.c: Likewise.
* ra-debug.c: Likewise.
* ra-rewrite.c: Likewise.
* ra.c: Likewise.
* ra.h: Likewise.
* real.c: Likewise.
* recog.c: Likewise.
* reg-stack.c: Likewise.
* regclass.c: Likewise.

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

21 years ago * config/h8300/h8300.c (print_operand_address): Do not negate
kazu [Wed, 25 Dec 2002 15:02:03 +0000 (15:02 +0000)]
* config/h8300/h8300.c (print_operand_address): Do not negate
a negative number when printing one.

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

21 years ago * config/h8300/h8300-protos.h: Add prototypes for
kazu [Wed, 25 Dec 2002 14:54:50 +0000 (14:54 +0000)]
* config/h8300/h8300-protos.h: Add prototypes for
output_plussi, compute_plussi_length, and compute_plussi_cc.
* config/h8300/h8300.c (output_plussi): New.
(compute_plussi_length): Likewise.
(compute_plussi_cc): Likewise.
* config/h8300/h8300.md (addsi_h8300h): Call
output_plussi, compute_plussi_length, and compute_plussi_cc.

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

21 years agoDaily bump.
gccadmin [Wed, 25 Dec 2002 08:18:10 +0000 (08:18 +0000)]
Daily bump.

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

21 years ago * config/h8300/h8300.md (two peepholes): Use match_dup instead
kazu [Wed, 25 Dec 2002 01:30:41 +0000 (01:30 +0000)]
* config/h8300/h8300.md (two peepholes): Use match_dup instead
of match_operand in the new patterns.

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

21 years ago * config.sub: Import from master repository
sveinse [Tue, 24 Dec 2002 23:53:51 +0000 (23:53 +0000)]
* config.sub: Import from master repository
* config.guess: Ditto

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

21 years agocp:
nathan [Tue, 24 Dec 2002 22:20:14 +0000 (22:20 +0000)]
cp:
PR C++/7964
* cp-tree.h (resolve_scoped_fn_name): Prototype.
* call.c (resolve_scoped_fn_name): New function. Deal with
more template expansion. Broken out of ...
* parse.y (parse_finish_call_expr): ... here. Call it.
* decl2.c (build_expr_from_tree, CALL_EXPR): Use
resolve_scoped_fn_name and build_call_from_tree.
testsuite:
* g++.dg/lookup/scoped3.C: New test.

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

21 years agocp:
nathan [Tue, 24 Dec 2002 22:12:17 +0000 (22:12 +0000)]
cp:
        PR c++/9053
        * decl.c (duplicate_decls): Templates may be disambiguated by
        return type.

        PR c++/8702
        * decl2.c (check_classfn): Use lookup_fnfield_1. List all
        conversion operators on failure.
testsuite
        * g++.dg/lookup/decl1.C: New test.
        * g++.dg/lookup/decl2.C: New test.

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

21 years ago * g++.dg/init/new1.C, g++.dg/template/alignof1.C,
jsm28 [Tue, 24 Dec 2002 19:08:41 +0000 (19:08 +0000)]
* g++.dg/init/new1.C, g++.dg/template/alignof1.C,
gcc.c-torture/compile/20021015-1.c,
gcc.c-torture/compile/20021015-2.c,
gcc.c-torture/compile/20021123-1.c,
gcc.c-torture/compile/20021123-2.c,
gcc.c-torture/compile/20021123-3.c,
gcc.c-torture/compile/20021123-4.c,
gcc.c-torture/execute/20021024-1.c: Add tests previously added
only to 3.1 or 3.2 branch.

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

21 years ago * doc/include/texinfo.tex: Update to version 2002-11-25.11.
jsm28 [Tue, 24 Dec 2002 19:00:33 +0000 (19:00 +0000)]
* doc/include/texinfo.tex: Update to version 2002-11-25.11.

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

21 years ago * texi2pod.pl: Skip contents of @copying.
jsm28 [Tue, 24 Dec 2002 18:56:21 +0000 (18:56 +0000)]
* texi2pod.pl: Skip contents of @copying.

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

21 years ago * configure.in (enable-coverage): Add SELF_COVERAGE.
nathan [Tue, 24 Dec 2002 18:44:00 +0000 (18:44 +0000)]
* configure.in (enable-coverage): Add SELF_COVERAGE.
* profile.c (end_branch_prob): Use SELF_COVERAGE.

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

21 years ago * Makefile.tpl (multilib.out): Fix missing space.
schwab [Tue, 24 Dec 2002 17:24:41 +0000 (17:24 +0000)]
* Makefile.tpl (multilib.out): Fix missing space.
* Makefile.in: Regenerate.

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

21 years agoFix v850 PlumHall testsuite failure.
wilson [Tue, 24 Dec 2002 15:49:24 +0000 (15:49 +0000)]
Fix v850 PlumHall testsuite failure.
* alias.c (record_set): Handle multi-reg hard registers.

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

21 years ago * regmove.c: Fix comment typos.
kazu [Tue, 24 Dec 2002 08:30:34 +0000 (08:30 +0000)]
* regmove.c: Fix comment typos.
* reload.c: Likewise.
* reload1.c: Likewise.
* resource.c: Likewise.
* rtl.def: Likewise.
* rtl.h: Likewise.
* rtlanal.c: Likewise.
* sched-deps.c: Likewise.
* sched-rgn.c: Likewise.
* sibcall.c: Likewise.
* simplify-rtx.c: Likewise.
* ssa-ccp.c: Likewise.
* ssa.c: Likewise.
* stmt.c: Likewise.
* stor-layout.c: Likewise.
* system.h: Likewise.
* tlink.c: Likewise.
* toplev.c: Likewise.
* tracer.c: Likewise.
* tree-inline.c: Likewise.
* tree.c: Likewise.
* tree.h: Likewise.
* unroll.c: Likewise.
* varasm.c: Likewise.

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

21 years agoDaily bump.
gccadmin [Tue, 24 Dec 2002 08:17:40 +0000 (08:17 +0000)]
Daily bump.

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

21 years ago * config/io/basic_file_stdio.cc (__basic_file::_M_open_mode):
dannysmith [Tue, 24 Dec 2002 02:48:19 +0000 (02:48 +0000)]
* config/io/basic_file_stdio.cc (__basic_file::_M_open_mode):
Don't use O_NONBLOCK if it is not defined.
(__basic_file::open): Don't use fcntl either.

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

21 years ago * call.c (tourney, build_field_call, equal_functions, joust)
gdr [Mon, 23 Dec 2002 23:44:47 +0000 (23:44 +0000)]
* call.c (tourney, build_field_call, equal_functions, joust)
(compare_ics, build_over_call, build_java_interface_fn_ref)
(convert_like_real, op_error, build_object_call, resolve_args)
(build_vfield_ref, check_dtor_name, build_scoped_method_call)
(build_addr_func, build_call, build_method_call, null_ptr_cst_p)
(sufficient_parms_p, build_conv, non_reference, strip_top_quals)
(standard_conversion, reference_related_p)
(reference_compatible_p, convert_class_to_reference)
(direct_reference_binding, reference_binding)
(implicit_conversion, is_complete, promoted_arithmetic_type_p)
(add_template_conv_candidate, any_viable, any_strictly_viable)
(build_this, splice_viable, print_z_candidates)
(build_user_type_conversion, build_new_function_call)
(conditional_conversion, build_conditional_expr, build_new_op)
(build_op_delete_call, enforce_access, call_builtin_trap)
(convert_arg_to_ellipsis, build_x_va_arg, cxx_type_promotes_to)
(convert_default_arg, type_passed_as, convert_for_arg_passing)
(in_charge_arg_for_name, is_properly_derived_from)
(maybe_handle_implicit_object, maybe_handle_ref_bind)
(source_type, add_warning, can_convert, can_convert_arg)
(perform_implicit_conversion, can_convert_arg_bad)
(initialize_reference, add_conv_candidate)
(add_template_candidate_real, add_template_candidate): Ansify.

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

21 years ago2002-12-23 Larin Hennessy <larin@science.oregonstate.edu>
jsm28 [Mon, 23 Dec 2002 23:02:49 +0000 (23:02 +0000)]
2002-12-23  Larin Hennessy  <larin@science.oregonstate.edu>

* doc/install.texi: Remove i386-*-isc, i860-*-bsd,
m68k-altos-sysv, m68k-isi-bsd, m68k-sony-bsd entries.
* doc/invoke.texi: Remove AMD 29K, ARM RISC/iX, Clipper, Convex,
DG/UX entries.
* doc/md.texi: Remove AMD 29K entries.
* doc/trouble.texi: Remove Alliant, DG/UX, Iris 4.0.5F, GAS
1.38.1, NewsOS, RT PC, WE32K entries.

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

21 years ago2002-12-23 Aldy Hernandez <aldyh@redhat.com>
aldyh [Mon, 23 Dec 2002 22:08:57 +0000 (22:08 +0000)]
2002-12-23  Aldy Hernandez  <aldyh@redhat.com>

PR/8763
* config/rs6000/altivec.md (mulv4sf3): Rewrite to add -0.0 vector.
(altivec_vspltisw_v4sf): Name pattern.
(altivec_vslw_v4sf): New pattern.

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

21 years agogcc/java:
jsm28 [Mon, 23 Dec 2002 21:16:23 +0000 (21:16 +0000)]
gcc/java:
* gcj.texi: Include Cover Texts in man page.

fastjar:
* fastjar.texi: Include Cover Texts in man page.

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

21 years ago* exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
jsturm [Mon, 23 Dec 2002 19:59:31 +0000 (19:59 +0000)]
* exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
of catch_type.
* java/lang/natClass.cc (initializeClass): Link vtable, otable,
idt tables after initializing superclass.
* java/lang/natClassLoader.cc (uaddr): New typedef.
(_Jv_PrepareCompiledClass): Resolve superclass, interfaces
if they are constant pool indicies.  Don't link vtable, otable yet.

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

21 years ago* class.c (build_static_field_ref): Check FIELD_FINAL.
jsturm [Mon, 23 Dec 2002 19:42:09 +0000 (19:42 +0000)]
* class.c (build_static_field_ref): Check FIELD_FINAL.

* constants.c (alloc_class_constant): Use TYPE_CPOOL_DATA_REF
instead of current_constant_pool_data_ref.
* java-tree.h (current_constant_pool_data_ref): Undefine.
(JTI_CURRENT_CONSTANT_POOL_DATA_REF): Remove.
* jcf-parse.c (init_outgoing_cpool): Don't initialize
current_constant_pool_data_ref.

* except.c (prepare_eh_table_type ): Use DECL_NAME of class type,
not build_internal_class_name.

* parse.y (patch_incomplete_class_ref): Always emit `class$' method.
Use it when class ref isn't certain to be compiled.

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

21 years ago * doc/include/gcc-common.texi: Define DEVELOPMENT.
jsm28 [Mon, 23 Dec 2002 19:26:48 +0000 (19:26 +0000)]
* doc/include/gcc-common.texi: Define DEVELOPMENT.

ada:
* gnat_rm.texi: Include gcc-common.texi.  Use GCC version number
only.
* Make-lang.in ($(srcdir)/ada/gnat_ug_unx.info,
$(srcdir)/ada/gnat_ug_vms.info, $(srcdir)/ada/gnat_ug_vxw.info,
$(srcdir)/ada/gnat_ug_wnt.info, $(srcdir)/ada/gnat_rm.info,
ada/gnat_ug_unx.dvi, ada/gnat_ug_vms.dvi, ada/gnat_ug_vxw.dvi,
ada/gnat_ug_wnt.dvi, ada/gnat_rm.dvi): Depend on
$(srcdir)/doc/include/gcc-common.texi.

f:
* root.texi: Include gcc-common.texi.
* bugs.texi, news.texi: Don't include root.texi as part of full
manual.
* g77.texi: Update for use of gcc-common.texi.
* Make-lang.in ($(srcdir)/f/g77.info, f/g77.dvi): Depend on
$(srcdir)/doc/include/gcc-common.texi.

java:
* gcj.texi: Include gcc-common.texi.
* Make-lang.in ($(srcdir)/java/gcj.info, java/gcj.dvi): Depend on
$(srcdir)/doc/include/gcc-common.texi.

treelang:
* treelang.texi: Include gcc-common.texi.
* Make-lang.in ($(srcdir)/treelang/treelang.info, treelang.dvi):
Depend on gcc-common.texi.  Add other missing dependencies.
(treelang.dvi): Use texi2dvi.

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

21 years ago2002-12-20 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
redi [Mon, 23 Dec 2002 17:36:24 +0000 (17:36 +0000)]
2002-12-20  Sylvain Pion   <Sylvain.Pion@mpi-sb.mpg.de>

* include/bits/stl_deque.h: Fix typo.
* include/bits/stl_list.h: Same.
* include/bits/stl_map.h: Same.
* include/bits/stl_multimap.h: Same.
* include/bits/stl_queue.h: Same.
* include/bits/stl_stack.h: Same.
* include/bits/stl_vector.h: Same.

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

21 years ago * Makefile.tpl: Use shared multilib.out. Use move-if-change for it.
neroden [Mon, 23 Dec 2002 16:54:15 +0000 (16:54 +0000)]
* Makefile.tpl: Use shared multilib.out.  Use move-if-change for it.
Convert (cd foo; make) to (cd foo && make).  Clean up multilib.out.
* Makefile.in: Regenerate.
* configure.in: Remove unnecessary leftovers.

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

21 years ago * stor-layout.c (update_alignment_for_field): Correct handling of
mmitchel [Mon, 23 Dec 2002 16:39:36 +0000 (16:39 +0000)]
* stor-layout.c (update_alignment_for_field): Correct handling of
unnamed bitfields on PCC_BITFIELD_TYPE_MATTERS machines.
* doc/tm.texi (PCC_BITFIELD_TYPE_MATTERS): Note that an unnamed
bitfield does not affect alignment.

* testsuite/gcc.dg/i386-bitfield3.c: New test.

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

21 years ago * expr.c (expand_assignment): Apply special treatment to
dje [Mon, 23 Dec 2002 15:26:13 +0000 (15:26 +0000)]
    * expr.c (expand_assignment): Apply special treatment to
        ARRAY_TYPE.

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

21 years ago * config/h8300/h8300-protos.h: Update the prototype of
kazu [Mon, 23 Dec 2002 14:58:53 +0000 (14:58 +0000)]
* config/h8300/h8300-protos.h: Update the prototype of
expand_a_shift.
* config/h8300/h8300.c (expand_a_shift): Change the return
type to void.
* config/h8300/h8300.md: Update all the uses of
expand_a_shift.

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

21 years ago * tree.c (save_expr): Allow either side of a dyadic operand to be
nathan [Mon, 23 Dec 2002 14:43:28 +0000 (14:43 +0000)]
* tree.c (save_expr): Allow either side of a dyadic operand to be
constant.

* doc/portability.texi (portability): Update portability goals.

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

21 years agoDaily bump.
gccadmin [Mon, 23 Dec 2002 08:17:42 +0000 (08:17 +0000)]
Daily bump.

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

21 years ago * config/h8300/h8300.c (output_a_shift): Remove unused code.
kazu [Mon, 23 Dec 2002 07:46:32 +0000 (07:46 +0000)]
* config/h8300/h8300.c (output_a_shift): Remove unused code.

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

21 years ago * stor-layout.c (update_alignment_for_field): Guard use of
mmitchel [Mon, 23 Dec 2002 05:10:14 +0000 (05:10 +0000)]
* stor-layout.c (update_alignment_for_field): Guard use of
ADJUST_FIELD_ALIGN with #ifdef.

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

21 years ago * config/mt-aix43: Delete.
geoffk [Mon, 23 Dec 2002 02:36:23 +0000 (02:36 +0000)]
* config/mt-aix43: Delete.

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

21 years ago * stor-layout.c (update_alignment_for_field): Use
mmitchel [Mon, 23 Dec 2002 02:10:18 +0000 (02:10 +0000)]
* stor-layout.c (update_alignment_for_field): Use
ADJUST_FIELD_ALIGN when computing the alignment for a zero-width
bitfield when PCC_BITFIELD_TYPE_MATTERS.

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

21 years ago * treelang.texi: Use @ifnottex instead of @ifinfo.
jsm28 [Sun, 22 Dec 2002 21:48:29 +0000 (21:48 +0000)]
* treelang.texi: Use @ifnottex instead of @ifinfo.

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

21 years agocp:
nathan [Sun, 22 Dec 2002 21:32:28 +0000 (21:32 +0000)]
cp:
PR c++/8572
* cp-tree.h (grokoptypename): Add SCOPE parameter.
* decl2.c (grokoptypename): Add SCOPE parameter. tsubst the type
if in a template scope.
* parse.y (unoperator): Return the scope.
(operator_name): Adjust grokoptypename call.
testsuite:
* g++.dg/parse/conv_op1.C: New test.

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

21 years ago * genautomata.c: Fix comment typos.
kazu [Sun, 22 Dec 2002 18:30:28 +0000 (18:30 +0000)]
* genautomata.c: Fix comment typos.

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

21 years ago * params.def (tracer-min-branch-probability-feedback): Fix default.
hubicka [Sun, 22 Dec 2002 17:24:38 +0000 (17:24 +0000)]
* params.def (tracer-min-branch-probability-feedback): Fix default.
* final.c (compute_alignments): Use profile to avoid code bloat.

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

21 years ago2002-12-22 Anthony Green <green@redhat.com>
green [Sun, 22 Dec 2002 16:46:02 +0000 (16:46 +0000)]
2002-12-22  Anthony Green  <green@redhat.com>

* gcj.texi (Limitations): Add note about org.xml.sax and
org.w3c.dom.

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

21 years ago2002-12-21 Anthony Green <green@redhat.com>
green [Sun, 22 Dec 2002 16:08:40 +0000 (16:08 +0000)]
2002-12-21  Anthony Green  <green@redhat.com>

* Makefile.am: Move org.xml.sax and org.w3c.dom into their own
libraries.
* Makefile.in: Rebuilt.

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

21 years ago * cp-tree.h (make_unbound_class_template): Use tsubst_flags_t.
lerdsuwa [Sun, 22 Dec 2002 16:01:27 +0000 (16:01 +0000)]
* cp-tree.h (make_unbound_class_template): Use tsubst_flags_t.
* decl.c (make_unbound_class_template): Adjust.  Check for tf_error.
* pt.c (tsubst) [OFFSET_TYPE]: Check for tf_error.

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

21 years ago * config/h8300/h8300.c (get_shift_alg): Make shift insn
kazu [Sun, 22 Dec 2002 15:02:30 +0000 (15:02 +0000)]
* config/h8300/h8300.c (get_shift_alg): Make shift insn
sequences end with a valid cc0 whenever possible.

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

21 years ago * config/h8300/h8300.md (negsf2): New.
kazu [Sun, 22 Dec 2002 14:45:52 +0000 (14:45 +0000)]
* config/h8300/h8300.md (negsf2): New.
(*negsf2_h8300): Likewise.
(*negsf2_h8300hs): Likewise.

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

21 years agoDaily bump.
gccadmin [Sun, 22 Dec 2002 08:18:02 +0000 (08:18 +0000)]
Daily bump.

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

21 years ago * configure.in (extra_ranlibflags_for_target): New variable.
geoffk [Sun, 22 Dec 2002 06:46:41 +0000 (06:46 +0000)]
* configure.in (extra_ranlibflags_for_target): New variable.
(*-*-darwin): Add -c to ranlib commands.
* configure (tooldir): Handle extra_ranlibflags_for_target.

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

21 years ago * integrate.c (output_inline_function): Don't hold private
geoffk [Sun, 22 Dec 2002 06:42:16 +0000 (06:42 +0000)]
* integrate.c (output_inline_function): Don't hold private
pointers to 'struct function' over GC calls.

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

21 years ago * config/sh/lib1funcs.asm (__fpscr_values): Conditionalize with
kkojima [Sat, 21 Dec 2002 23:26:16 +0000 (23:26 +0000)]
* config/sh/lib1funcs.asm (__fpscr_values): Conditionalize with
NO_FPSCR_VALUES.
* config/sh/t-linux (TARGET_LIBGCC2_CFLAGS): Add -DNO_FPSCR_VALUES.

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

21 years ago * gcc.c-torture/compile/20021220-1.c: Removed until bug fix is approved.
zlomek [Sat, 21 Dec 2002 20:39:53 +0000 (20:39 +0000)]
* gcc.c-torture/compile/20021220-1.c: Removed until bug fix is approved.

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

21 years ago * config/h8300/h8300.md (zero_extendqisi2): Correct the
kazu [Sat, 21 Dec 2002 18:45:37 +0000 (18:45 +0000)]
* config/h8300/h8300.md (zero_extendqisi2): Correct the
length.

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

21 years ago * config/h8300/h8300.md (*zero_extendqihi2_h8300): Make the
kazu [Sat, 21 Dec 2002 17:47:32 +0000 (17:47 +0000)]
* config/h8300/h8300.md (*zero_extendqihi2_h8300): Make the
second alternative "#".
(*zero_extendqihi2_h8300hs): Likewise.
(a define_split): New.

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

21 years ago * config/h8300/h8300-protos.h: Update the prototype for
kazu [Sat, 21 Dec 2002 17:43:15 +0000 (17:43 +0000)]
* config/h8300/h8300-protos.h: Update the prototype for
split_adds_subs.
Add prototypes for const_le_2_operand and const_le_6_operand.
* config/h8300/h8300.c (split_adds_subs): Add an argument to
specify whether inc/dec should be used when possible.
(const_le_2_operand): New.
(const_le_6_operand): Likewise.
* config/h8300/h8300.md (two peepholes): New.

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

21 years agoDaily bump.
gccadmin [Sat, 21 Dec 2002 08:17:25 +0000 (08:17 +0000)]
Daily bump.

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

21 years ago * config/fr30/fr30.md: Fix a comment typo.
kazu [Sat, 21 Dec 2002 05:22:17 +0000 (05:22 +0000)]
* config/fr30/fr30.md: Fix a comment typo.
* config/i386/i386.c: Likewise.
* config/ip2k/ip2k.h: Likewise.

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

21 years agoFix misc SPE instrinsic problems.
wilson [Sat, 21 Dec 2002 01:21:23 +0000 (01:21 +0000)]
Fix misc SPE instrinsic problems.
* config/rs6000/spe.h (__ev_subifw): Reverse arguments.
(__ev_subw, __ev_subiw): New.
(ev_mwlssf, ev_mwlsmf, ev_mwlssfa, ev_mwlsmfa, ev_mwlssfaaw,
ev_mwlsmfaaw, ev_mwlssfanw, ev_mwlsmfanw): Delete.

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

21 years ago * pa-linux.h (TARGET_HAS_STUBS_AND_ELF_SECTIONS): Delete define.
danglin [Fri, 20 Dec 2002 23:24:39 +0000 (23:24 +0000)]
* pa-linux.h (TARGET_HAS_STUBS_AND_ELF_SECTIONS): Delete define.
* pa32-linux.h (FUNCTION_OK_FOR_SIBCALL): Delete define.
* pa.c (pa_function_ok_for_sibcall): Allow non indirect sibcalls on
TARGET_ELF32.  Add comment on sibcall issues for TARGET_64BIT.

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

21 years ago * config/h8300/h8300-protos.h: Add prototypes for
kazu [Fri, 20 Dec 2002 20:53:52 +0000 (20:53 +0000)]
* config/h8300/h8300-protos.h: Add prototypes for
incdec_operand and eqne_operator.
* config/h8300/h8300.c (incdec_operand): New.
(eqne_operator): Likewise.
* config/h8300/h8300.h (CONST_OK_FOR_M): Likewise.
(CONST_OK_FOR_O): Likewise.
(CONST_OK_FOR_LETTER_P): Use CONST_OK_FOR_M and
CONST_OK_FOR_O.
* config/h8300/h8300.md (UNSPEC_INCDEC): New.
(addhi3_incdec): New.
(addsi3_incdec): Likewise.
(two peepholes): Likewise.

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

21 years ago * config/h8300/h8300.c (dosize): Remove warnings.
kazu [Fri, 20 Dec 2002 20:40:57 +0000 (20:40 +0000)]
* config/h8300/h8300.c (dosize): Remove warnings.
(print_operand): Likewise.

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

21 years ago * config/alpha/alpha.c (decl_has_samegp): New.
rth [Fri, 20 Dec 2002 19:42:41 +0000 (19:42 +0000)]
    * config/alpha/alpha.c (decl_has_samegp): New.
        (samegp_function_operand): Use it.  Rename from
        current_file_function_operand.
        (direct_call_operand): Handle -msmall-text via symbol->jump.
        (tls_symbolic_operand_1): Use T for tprel64, t for smaller tprel.
        (tls_symbolic_operand_type): Likewise.
        (alpha_encode_section_info): Likewise.  Handle -msmall-text.
        (alpha_function_ok_for_sibcall): Use decl_has_samegp.
        (alpha_end_function): Set symbol->jump for functions defined in
        the text section.
        * config/alpha/alpha-protos.h: Update.
        * config/alpha/alpha.h (MASK_SMALL_TEXT, TARGET_SMALL_TEXT): New.
        (TARGET_SWITCHES): Add -msmall-text and -mlarge-text.
        (PREDICATE_CODES): Update.
        * config/alpha/alpha.md (call patterns): Update for
        samegp_function_operand rename; use !samegp reloc if
        TARGET_EXPLICIT_RELOCS.
        * doc/invoke.text: Document -msmall-text and -mlarge-text.

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

21 years ago * jcf-write.c (generate_bytecode_insns) [SWITCH_EXPR]: Handle case
tromey [Fri, 20 Dec 2002 19:25:46 +0000 (19:25 +0000)]
* jcf-write.c (generate_bytecode_insns) [SWITCH_EXPR]: Handle case
where minimum case value is Integer.MIN_VALUE.
Fixes PR java/8955.

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

21 years ago * config/ns32k/ns32k.md (movdi): Use "l" instead of "f" to match
rth [Fri, 20 Dec 2002 18:14:18 +0000 (18:14 +0000)]
    * config/ns32k/ns32k.md (movdi): Use "l" instead of "f" to match
        all registers capable of holding a double float.
        (*rcond): change name of "reverse branch" insns to
        something more meaningful.
        (*rbgt, *rblt, *rbge, *rble): Reverse branches to handle IEEE
        comparisons properly.
        (*ffs): Change operand 0 from write to read-modify-write.
        (*ffsssi2): Drop constraints from define_expand.

        * config/ns32k/ns32k.h (STORE_RATIO, STORE_BY_PIECES): Avoid using
        MOVE_RATIO as default for store operations.

        * config/ns32k/ns32k.h (enum reg_class, REG_CLASS_NAMES): Add
        LONG_REGS class.
        (CANNOT_CHANGE_MODE_CLASS): Can't subreg LONG_REGS.
        (GO_IF_LEGITIMATE_ADDRESS): Remove spurious abort().
        * config/ns32k/ns32k.c (regclass_map): Add LONG_REGS class.

        * config/ns32k/STATUS: New File
        * config/ns32k/NOTES: New file.

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

21 years ago * ChangeLog: Fix a typo.
kazu [Fri, 20 Dec 2002 16:11:41 +0000 (16:11 +0000)]
* ChangeLog: Fix a typo.
* class.c: Fix comment typos.
* cp-tree.h: Likewise.

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

21 years ago * gcc.c-torture/compile/20021220-1.c: New test.
zlomek [Fri, 20 Dec 2002 13:18:57 +0000 (13:18 +0000)]
* gcc.c-torture/compile/20021220-1.c: New test.

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

21 years agoTestcase for http://gcc.gnu.org/ml/gcc-patches/2002-12/msg01106.html
zlomek [Fri, 20 Dec 2002 13:15:14 +0000 (13:15 +0000)]
Testcase for gcc.gnu.org/ml/gcc-patches/2002-12/msg01106.html
"[PATCH] fix bug in jump.c which caused SEGFAULT in loop.c"

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

21 years ago * doc/invoke.texi: Document -mzarch, -mesa, -mcpu= and -march=
hpenner [Fri, 20 Dec 2002 13:02:42 +0000 (13:02 +0000)]
    * doc/invoke.texi: Document -mzarch, -mesa, -mcpu= and -march=
option for S/390 and zSeries.
        * config/s390/s390.c (s390_cpu, s390_cpu_string, s390_arch,
        s390_arch_string): New variables.
        (override_options): Checking for options and setting of
        appropriate target_flags, cpu and arch flags.
        * config/s390/s390.h: (processor_type): New enum.
        (TARGET_SWITCHES): New switches -mesa/zarch.
        * config/s390/s390.md: New attribute 'cpu'.

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

21 years agoDaily bump.
gccadmin [Fri, 20 Dec 2002 08:18:11 +0000 (08:18 +0000)]
Daily bump.

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

21 years ago * c-pretty-print.h: Fix comment typos.
kazu [Fri, 20 Dec 2002 04:30:57 +0000 (04:30 +0000)]
* c-pretty-print.h: Fix comment typos.
* integrate.c: Likewise.
* varasm.c: Likewise.
* config/c4x/c4x.h: Likewise.
* config/c4x/c4x.md: Likewise.
* config/fr30/fr30.md: Likewise.
* config/frv/frv.c: Likewise.
* config/h8300/h8300.c: Likewise.
* config/i386/i386.c: Likewise.
* config/i386/i386.h: Likewise.
* config/ia64/ia64.c: Likewise.
* config/ia64/ia64.h: Likewise.
* config/ip2k/ip2k.md: Likewise.
* config/m68hc11/m68hc11-crt0.S: Likewise.
* config/m68hc11/m68hc11.h: Likewise.
* config/m68hc11/m68hc11.md: Likewise.
* config/m68hc11/m68hc12.h: Likewise.
* config/mcore/mcore.md: Likewise.
* config/mips/mips.c: Likewise.
* config/mips/mips.md: Likewise.
* config/mmix/mmix-modes.def: Likewise.
* config/pa/pa.c: Likewise.
* config/rs6000/rs6000.c: Likewise.
* config/rs6000/rs6000.h: Likewise.
* config/rs6000/rs6000.md: Likewise.

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

21 years ago * config/h8300/h8300.md (output_a_shift): Clean up the code to
kazu [Fri, 20 Dec 2002 04:05:14 +0000 (04:05 +0000)]
* config/h8300/h8300.md (output_a_shift): Clean up the code to
output shifts using rotation.

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

21 years ago2002-12-19 Anthony Green <green@redhat.com>
tromey [Fri, 20 Dec 2002 03:49:20 +0000 (03:49 +0000)]
2002-12-19  Anthony Green  <green@redhat.com>

* Makefile.am (ordinary_java_source_files): Add
org/xml/sax/helpers/NewInstance.java.
* Makefile.in: Rebuilt.
* org/xml/sax/package.html, org/xml/sax/ext/package.html,
org/xml/sax/helpers/package.html: New files.
* org/xml/sax/*: Upgrade to SAX 2.0.1 release from
http://www.saxproject.org.

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

21 years ago2002-12-19 Andrew Haley <aph@redhat.com>
tromey [Fri, 20 Dec 2002 02:06:21 +0000 (02:06 +0000)]
2002-12-19  Andrew Haley  <aph@redhat.com>

* java/util/natResourceBundle.cc: Include
ArrayIndexOutOfBoundsException.h.
(getCallingClassLoader): Don't put upper bound on stack search.
Catch ArrayIndexOutOfBoundsException.

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

21 years ago * libtool-version: Increased `current'.
tromey [Fri, 20 Dec 2002 01:47:54 +0000 (01:47 +0000)]
* libtool-version: Increased `current'.

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

21 years ago * flow.c (allocate_reg_life_data): Reset REG_FREQ.
rakdver [Fri, 20 Dec 2002 01:18:43 +0000 (01:18 +0000)]
* flow.c (allocate_reg_life_data): Reset REG_FREQ.

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

21 years ago * config/h8300/h8300.md (pushqi_h8300): Don't push the stack
kazu [Fri, 20 Dec 2002 00:08:06 +0000 (00:08 +0000)]
* config/h8300/h8300.md (pushqi_h8300): Don't push the stack
pointer.
(pushqi_h8300hs): Likewise.
(pushhi_h8300): Likewise.
(pushhi_h8300hs): Likewise.

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

21 years agoAdd support for darwin linker option -dynamic.
dpatel [Thu, 19 Dec 2002 23:46:49 +0000 (23:46 +0000)]
Add support for darwin linker option -dynamic.

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

21 years ago * sched-rgn.c (init_regions): Update comment.
amylaar [Thu, 19 Dec 2002 23:45:40 +0000 (23:45 +0000)]
* sched-rgn.c (init_regions): Update comment.

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

21 years ago * config/rs6000/rs6000.md (define_attr type): Remove altivec.
dje [Thu, 19 Dec 2002 23:04:55 +0000 (23:04 +0000)]
    * config/rs6000/rs6000.md (define_attr type): Remove altivec.
        * config/rs6000/altivec.md (movv4si_internal): Set correct instruction
        attributes.
        (movv8hi_internal,movv16qi_internal,movv4sf_internal): Same.
        (get_vrsave_internal,set_vrsave_internal): Same.
        (altivec_vspltisb,altivec_vspltish,altivec_vspltisw): Same.
        (absv16qi2,absv8hi2,absv4si2,absv4sf2): Same
        (altivec_abss_v16qi,altivec_abss_v8hi,altivec_abss_v4si): Same.

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

21 years ago * config/i386/i386.c (ix86_handle_cdecl_attribute): Check for
rth [Thu, 19 Dec 2002 22:00:33 +0000 (22:00 +0000)]
    * config/i386/i386.c (ix86_handle_cdecl_attribute): Check for
        attributes incompatible with fastcall attribute.
        (ix86_handle_regparm_attribute): Likewise.

        * config/i386/i386.c (ix86_comp_type_attributes): Check for mismatched
        fastcall types.

        * config/i386/cygwin.h (TARGET_OS_CPP_BUILTINS): Add fastcall
        attributes.
        (ASM_OUTPUT_LABELREF): Define as i386_pe_output_labelref.
        * config/i386/i386-protos.h (i386_pe_output_labelref): Declare.
        * config/i386/winnt.c (i386_pe_mark_dllimport). Add __imp_ prefix in
        i386_pe_output_labelref rather than here.
        (gen_fastcall_suffix): New function. Decorates a label name with the
        fastcall prefix (@) and the stdcall suffix.
        (i386_pe_encode_section_info): Call gen_fastcall_suffix() if a symbol
        has a fastcall attribute.
        (i386_pe_output_labelref): New function. Outputs a label reference.
        * config/i386/i386.c (ix86_attribute_table): Accept 'fastcall' as a
        valid attribute.
        (ix86_return_pops_args): Fastcall functions pop the stack.
        (init_cumulative_args): Reserve registers ECX and EDX if function has
        fastcall attribute.
        (function_arg): Use registers ECX and EDX if function has fastcall
        attribute.
        * config/i386/i386.h (CUMULATIVE_ARGS): Add fastcall attribute flag.
        (DLL_IMPORT_EXPORT_PREFIX): Redefine as '#'.
        (FASTCALL_PREFIX): Define as '@'.
        * config/i386/mingw32.h (TARGET_OS_CPP_BUILTINS): Add fastcall
        attributes.
        * doc/extend.texi: Add documentation of fastcall attribute.

        * testsuite/gcc.dg/i386-fastcall-1.c: New.

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

21 years ago * configure.in: FORBUILD when build!=host changed from
neroden [Thu, 19 Dec 2002 21:44:30 +0000 (21:44 +0000)]
* configure.in: FORBUILD when build!=host changed from
../$build-alias to ../build-$build_alias to match change made
in top directory.
* configure: Regenerated.

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

21 years ago PR optimization/8988
ebotcazou [Thu, 19 Dec 2002 20:47:12 +0000 (20:47 +0000)]
PR optimization/8988
* loop.c (maybe_eliminate_biv): Kill REG_EQUAL notes mentioning
the biv when eliminating.

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

21 years agoThis was approved for 3.4 BIB branch. But since it is dead now, I am putting
dpatel [Thu, 19 Dec 2002 20:34:43 +0000 (20:34 +0000)]
This was approved for 3.4 BIB branch. But since it is dead now, I am putting
this in mainline sources.

2002-12-19  Devang Patel  <dpatel@apple.com>
      * gcc.c (struct default_compiler): Recognizes input file name with
      .CPP extension as C++ source files
      * cp/lang-spec.h: Same
      * doc/invoke.texi:  Add documentation for .CPP support.

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

21 years agoFix date typo
neroden [Thu, 19 Dec 2002 20:27:49 +0000 (20:27 +0000)]
Fix date typo

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

21 years ago * Makefile.tpl: Revert HJL's change.
neroden [Thu, 19 Dec 2002 20:23:50 +0000 (20:23 +0000)]
* Makefile.tpl: Revert HJL's change.
* Makefile.in: Regenerated.
* configure.in: Put build_prefix before $(BUILD_SUBDIR) here, and
always.

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

21 years ago2002-12-19 Aldy Hernandez <aldyh@redhat.com>
aldyh [Thu, 19 Dec 2002 19:57:29 +0000 (19:57 +0000)]
2002-12-19  Aldy Hernandez  <aldyh@redhat.com>

PR 8553

* config/rs6000/altivec.md ("absv8hi2"): Add & to clobbered
registers.
("absv16qi2"): Same.
("absv4si2"): Same.
("absv4sf2"): Same.
("altivec_abss_v16qi"): Same.
("altivec_abss_v8hi"): Same.
("altivec_abss_v4si"): Same.

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

21 years ago * config/s390/s390.md ("*tsthiCCT", "*tsthiCCT_cconly",
uweigand [Thu, 19 Dec 2002 19:55:12 +0000 (19:55 +0000)]
* config/s390/s390.md ("*tsthiCCT", "*tsthiCCT_cconly",
"*tstqiCCT", "*tstqiCCT_cconly"): New insns.

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

21 years agoadd PR# to last fix
aldyh [Thu, 19 Dec 2002 19:49:27 +0000 (19:49 +0000)]
add PR# to last fix

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

21 years ago * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
tromey [Thu, 19 Dec 2002 19:31:55 +0000 (19:31 +0000)]
* java/lang/natClassLoader.cc (defineClass0): Removed erroneous
comment.
* java/lang/ClassLoader.java (defineClass): Use chained
exception when rethrowing.
* defineclass.cc (handleClassBegin): Mark class as interpreted.
* java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
constants.
* resolve.cc (_Jv_PrepareMissingMethods): New function.
(_Jv_PrepareClass): Use it.
* include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
(_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
* java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
(Class): _Jv_PrepareMissingMethods now friend.
* java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
Record `NULL' for system class loader.
(_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
system class loader.
(_Jv_FindClassInCache): Likewise.
(_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
(_Jv_FindClass): Special case system class loader.
* java/lang/natClass.cc (_Jv_abstractMethodError): New function.
(_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
vtable slots.
(_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
in a final class.
(_getDeclaredMethod): Don't return synthetic methods.
(getDeclaredMethods): Likewise.
(_getMethod): Likewise.
(_getMethods): Likewise.

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

21 years agotweak
jason [Thu, 19 Dec 2002 18:25:03 +0000 (18:25 +0000)]
tweak

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

21 years ago Handle anonymous unions at the tree level.
jason [Thu, 19 Dec 2002 17:43:54 +0000 (17:43 +0000)]
    Handle anonymous unions at the tree level.
        C++ ABI change: Mangle anonymous unions using the name of their
        first named field (by depth-first search).  Should not cause
        binary compatibility problems, though, as the compiler previously
        didn't emit anything for affected unions.
        * cp-tree.def (ALIAS_DECL): New tree code.
        * decl2.c (build_anon_union_vars): Build ALIAS_DECLs.  Return the
        first field, not the largest.
        (finish_anon_union): Don't mess with RTL.  Do set DECL_ASSEMBLER_NAME,
        push the decl, and write it out at namespace scope.
        * decl.c (lookup_name_real): See through an ALIAS_DECL.
        (pushdecl): Add namespace bindings for ALIAS_DECLs.
        * rtti.c (unemitted_tinfo_decl_p): Don't try to look at the name
        of a decl which doesn't have one.
        * typeck.c (build_class_member_access_expr): Don't recurse if
        we already have the type we want.

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

21 years ago Handle anonymous unions at the tree level.
jason [Thu, 19 Dec 2002 17:16:26 +0000 (17:16 +0000)]
    Handle anonymous unions at the tree level.
        C++ ABI change: Mangle anonymous unions using the name of their
        first named field (by depth-first search).  Should not cause
        binary compatibility problems, though, as the compiler previously
        didn't emit anything for affected unions.
        * cp-tree.def (ALIAS_DECL): New tree code.
        * decl2.c (build_anon_union_vars): Build ALIAS_DECLs.  Return the
        first field, not the largest.
        (finish_anon_union): Don't mess with RTL.  Do set DECL_ASSEMBLER_NAME,
        push the decl, and write it out at namespace scope.
        * decl.c (lookup_name_real): See through an ALIAS_DECL.
        (pushdecl): Add namespace bindings for ALIAS_DECLs.
        * rtti.c (unemitted_tinfo_decl_p): Don't try to look at the name
        of a decl which doesn't have one.
        * typeck.c (build_class_member_access_expr): Don't recurse if
        we already have the type we want.

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

21 years ago PR target/8340
ebotcazou [Thu, 19 Dec 2002 17:06:46 +0000 (17:06 +0000)]
PR target/8340
* stmt.c (expand_asm_operands): Produce an error when
the PIC register is clobbered.

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

21 years ago2002-12-18 Daniel Berlin <dberlin@dberlin.org>
dberlin [Thu, 19 Dec 2002 15:53:46 +0000 (15:53 +0000)]
2002-12-18  Daniel Berlin  <dberlin@dberlin.org>

* Makefile.in (OBJS): Add alloc-pool.o
(alloc-pool.o): New object.

* alloc-pool.c: New file.
* alloc-pool.h: New file.

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

21 years ago PR c++/8099
lerdsuwa [Thu, 19 Dec 2002 15:11:29 +0000 (15:11 +0000)]
PR c++/8099
* friend.c (make_friend_class): Allow partial specialization
when declaration is not a template friend.

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

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

21 years ago PR c++/3663
lerdsuwa [Thu, 19 Dec 2002 14:45:19 +0000 (14:45 +0000)]
PR c++/3663
* pt.c (lookup_template_class): Copy TREE_PRIVATE and
TREE_PROTECTED to created decl nodes.

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

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

21 years ago * intdoc.in: Fix typos.
kazu [Thu, 19 Dec 2002 14:27:13 +0000 (14:27 +0000)]
* intdoc.in: Fix typos.

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

21 years ago * Makefile.tpl, configure.in: Substitute libstdcxx_incdir.
schwab [Thu, 19 Dec 2002 11:01:21 +0000 (11:01 +0000)]
* Makefile.tpl, configure.in: Substitute libstdcxx_incdir.
* Makefile.in: Regenerate.

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

21 years ago2002-12-18 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 19 Dec 2002 08:18:14 +0000 (08:18 +0000)]
2002-12-18  Benjamin Kosnik  <bkoz@redhat.com>

  * docs/html/documentation.html: Add link for debug.html.
* docs/html/debug.html: New.

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

21 years agoDaily bump.
gccadmin [Thu, 19 Dec 2002 08:18:11 +0000 (08:18 +0000)]
Daily bump.

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

21 years agoomit needless braces
jason [Thu, 19 Dec 2002 07:29:28 +0000 (07:29 +0000)]
omit needless braces

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

21 years ago2002-12-18 Raif Naffah <raif@fl.net.au>
tromey [Thu, 19 Dec 2002 06:59:46 +0000 (06:59 +0000)]
2002-12-18  Raif Naffah  <raif@fl.net.au>

* java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
canonical form after divide().
(modInverse): Likewise.

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