gcc.git
23 years agoMakefile.in (ifcvt.o): Depend on toplev.h.
Kaveh R. Ghazi [Wed, 11 Apr 2001 15:51:55 +0000 (15:51 +0000)]
Makefile.in (ifcvt.o): Depend on toplev.h.

* Makefile.in (ifcvt.o): Depend on toplev.h.

* c-semantics.c: Include expr.h.

* ifcvt.c: Include toplev.h.

* expr.h (rtx_equal_p): Delete prototype.

* rtl.h (exact_log2_wide, floor_log2_wide, permalloc,
protect_from_queue, gen_jump, gen_beq, gen_bge, gen_ble,
eliminate_constant_term, expand_complex_abs, find_single_use,
make_tree, init_expr_once, init_optabs, supports_one_only):
Likewise.

* tree.h (exact_log2_wide, floor_log2_wide, expand_null_return,
rest_of_type_compilation, emit_queue, do_pending_stack_adjust,
expand_assignment, store_expr, emit_line_note_after,
emit_line_note_force, split_specs_attrs, label_rtx): Likewise.

* toplev.h (exact_log2_wide, floor_log2_wide): Add prototype.

cp:
* Make-lang.in (cp/semantics.o): Depend on $(EXPR_H).

* semantics.c: Include expr.h.

java:
* Make-lang.in (java/boehm.o): Depend on toplev.h.

* boehm.c: Include toplev.h.

From-SVN: r41256

23 years ago* sparc-protos.h: Delete redundant prototypes.
Kaveh R. Ghazi [Wed, 11 Apr 2001 15:48:45 +0000 (15:48 +0000)]
* sparc-protos.h: Delete redundant prototypes.

From-SVN: r41255

23 years agoreload.c (push_reload): Add condition missed in SUBREG byte offset patch.
Vladimir Makarov [Wed, 11 Apr 2001 14:13:13 +0000 (14:13 +0000)]
reload.c (push_reload): Add condition missed in SUBREG byte offset patch.

2001-04-11  Vladimir Makarov  <vmakarov@toke.toronto.redhat.com>

* reload.c (push_reload):  Add condition missed in SUBREG byte
offset patch.

From-SVN: r41253

23 years ago* sparc/sol2-sld-64.h (STARTFILE_SPEC): Added missing blank.
Rainer Orth [Wed, 11 Apr 2001 13:00:49 +0000 (13:00 +0000)]
* sparc/sol2-sld-64.h (STARTFILE_SPEC): Added missing blank.

From-SVN: r41251

23 years agoi386.md (floatsisf_sse): Fix output template
Jan Hubicka [Wed, 11 Apr 2001 12:10:22 +0000 (14:10 +0200)]
i386.md (floatsisf_sse): Fix output template

* i386.md (floatsisf_sse): Fix output template
* i386.c (ix86_expand_fp_movcc)

* reg-stack.c (emit_pop_insn): Handle complex modes.
(move_for_stack_reg): Emit proper move mode.
(subst_stack_regs_pat): Handle complex modes.

From-SVN: r41250

23 years ago* cpplex.c (_cpp_lex_token): Only warn if -Wcomment.
Jakub Jelinek [Wed, 11 Apr 2001 09:43:10 +0000 (11:43 +0200)]
* cpplex.c (_cpp_lex_token): Only warn if -Wcomment.

From-SVN: r41247

23 years agoupdate my mail address
Alan Modra [Wed, 11 Apr 2001 09:02:47 +0000 (09:02 +0000)]
update my mail address

From-SVN: r41246

23 years agomethod.c (implicitly_declare_fn): Commonize code for copy ctor and assignment op.
Nathan Sidwell [Wed, 11 Apr 2001 08:43:16 +0000 (08:43 +0000)]
method.c (implicitly_declare_fn): Commonize code for copy ctor and assignment op.

cp:
* method.c (implicitly_declare_fn): Commonize code for copy ctor
and assignment op. Set TREE_USED for parameter.
testsuite:
* g++.old-deja/g++.other/warn6.C: New test.

From-SVN: r41243

23 years agoDaily bump.
GCC Administrator [Wed, 11 Apr 2001 07:16:10 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r41241

23 years agolibgcc2.h (__terminate_func_ptr): Remove typedef.
Richard Henderson [Wed, 11 Apr 2001 06:16:18 +0000 (23:16 -0700)]
libgcc2.h (__terminate_func_ptr): Remove typedef.

        * libgcc2.h (__terminate_func_ptr): Remove typedef.
        (__pure_virtual, __terminate, __terminate_set_func,
        __default_terminate, __throw_type_match, __empty,
        __get_eh_context, __get_eh_info, __get_dynamic_handler_chain,
        __eh_rtime_match, __unwinding_cleanup, __rethrow,
        __sjthrow, __sjpopnthrow, __eh_alloc, __eh_free):
        Remove prototypes of deleted functions.

From-SVN: r41240

23 years ago22001-04-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
Peter Schmid [Wed, 11 Apr 2001 05:43:51 +0000 (05:43 +0000)]
22001-04-11  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

        * g++.old-deja/g++.robertl/eb42.C: Same.

From-SVN: r41239

23 years agoltcf-cxx.sh: Support creation of C++ shared libraries on recent versions of FreeBSD...
Loren J. Rittle [Wed, 11 Apr 2001 05:25:00 +0000 (05:25 +0000)]
ltcf-cxx.sh: Support creation of C++ shared libraries on recent versions of FreeBSD (release...

2001-04-10  Loren J. Rittle  <ljrittle@acm.org>

* ltcf-cxx.sh: Support creation of C++ shared libraries on
recent versions of FreeBSD (release 3 or later).
* ltconfig: On FreeBSD, -lc must not be provided when building
a shared library or else the standard -pthread gcc option is
rendered worthless to later users of the built library.

From-SVN: r41237

23 years ago* Makefile.in (clean): Remove built leftovers.
Mike Stump [Wed, 11 Apr 2001 00:05:16 +0000 (00:05 +0000)]
* Makefile.in (clean): Remove built leftovers.

From-SVN: r41236

23 years agolibstdc++.exp (dg-test): Explicitly run the program in the current directory.
Richard Henderson [Wed, 11 Apr 2001 00:03:51 +0000 (17:03 -0700)]
libstdc++.exp (dg-test): Explicitly run the program in the current directory.

        * testsuite/lib/libstdc++.exp (dg-test): Explicitly run
        the program in the current directory.

From-SVN: r41234

23 years agonatString.cc (_Jv_NewStringUtf8Const): Register finalizer.
Per Bothner [Tue, 10 Apr 2001 22:46:11 +0000 (15:46 -0700)]
natString.cc (_Jv_NewStringUtf8Const): Register finalizer.

* java/lang/natString.cc (_Jv_NewStringUtf8Const):  Register finalizer.
Recalculate hash, since Utf8Const's hash is only 16 bits.

* java/lang/natString.cc (_Jv_StringFindSlot, rehash):  Use high-order
bits of hash to calculate step for chaining.

* java/lang/natString.cc (intern, _Jv_NewStringUtf8Const):  Rehash
when 2/3 full, rather than 3/4 full.

From-SVN: r41233

23 years agoc-typeck.c (convert_arguments): -Wtraditional now activates -Wconversion warnings...
Kaveh R. Ghazi [Tue, 10 Apr 2001 22:40:48 +0000 (22:40 +0000)]
c-typeck.c (convert_arguments): -Wtraditional now activates -Wconversion warnings...

* c-typeck.c (convert_arguments): -Wtraditional now activates
-Wconversion warnings, except for changes in signed-ness.
Detect complex<->int & int<->complex conversions as well.

* invoke.texi (-Wtraditional): Document it.

testsuite:
* gcc.dg/wtr-conversion-1.c: New testcase.

From-SVN: r41232

23 years agoNew.
Richard Henderson [Tue, 10 Apr 2001 22:22:06 +0000 (15:22 -0700)]
New.

From-SVN: r41231

23 years agoNew.
Richard Henderson [Tue, 10 Apr 2001 22:22:06 +0000 (15:22 -0700)]
New.

[[Split portion of a mixed commit.]]

From-SVN: r41230.2

23 years agogcse.c (update_ld_motion_stores): Don't use variable I for an insn.
Richard Kenner [Tue, 10 Apr 2001 21:45:12 +0000 (21:45 +0000)]
gcse.c (update_ld_motion_stores): Don't use variable I for an insn.

* gcse.c (update_ld_motion_stores): Don't use variable I for an insn.
* flow.c (set_block_for_new_insns): Remove needless cast and
properly check for unset block number.

From-SVN: r41227

23 years agoclass.c (find_final_overrider_data): Add `candidates'.
Mark Mitchell [Tue, 10 Apr 2001 18:06:26 +0000 (18:06 +0000)]
class.c (find_final_overrider_data): Add `candidates'.

* class.c (find_final_overrider_data): Add `candidates'.
(dfs_find_final_overrider): Don't issue error messages
prematurely.
(find_final_overrider): Issue error messages here.
(build_base_field): Don't warn about amgibuous direct bases here.
(warn_about_ambiguous_direct_bases): New function.
(layout_class_type): Use it.

From-SVN: r41224

23 years agotypeck.c (build_array_ref): Push the array reference inside COMPOUND_EXPR and COND_EXPR.
Richard Henderson [Tue, 10 Apr 2001 16:49:29 +0000 (09:49 -0700)]
typeck.c (build_array_ref): Push the array reference inside COMPOUND_EXPR and COND_EXPR.

        * typeck.c (build_array_ref): Push the array reference inside
        COMPOUND_EXPR and COND_EXPR.

From-SVN: r41223

23 years agotweak comments
Jason Merrill [Tue, 10 Apr 2001 15:48:11 +0000 (11:48 -0400)]
tweak comments

From-SVN: r41222

23 years agotestsuite: libjava: remove some xfail markers.
Tom Tromey [Tue, 10 Apr 2001 14:27:41 +0000 (14:27 +0000)]
testsuite: libjava: remove some xfail markers.

* libjava.lang/pr83.xfail: Removed.
* libjava.lang/Shazam.xfail: Removed.
* libjava.lang/PR162.xfail: Removed.
* libjava.compile/PR375.xfail: Removed.
* libjava.compile/PR208.xfail: Removed xfail-byte.
* libjava.compile/PR207.xfail: Removed xfail-byte.

From-SVN: r41220

23 years agoDaily bump.
GCC Administrator [Tue, 10 Apr 2001 07:16:07 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r41218

23 years agofunction.c (purge_single_hard_subreg_set): Only check REGNO if the subreg was a hard...
Andrew MacLeod [Tue, 10 Apr 2001 02:47:32 +0000 (02:47 +0000)]
function.c (purge_single_hard_subreg_set): Only check REGNO if the subreg was a hard register.

2001-04-10  Andrew MacLeod  <amacleod@redhat.com>

* function.c (purge_single_hard_subreg_set): Only check REGNO if
the subreg was a hard register. Pseudos are left as subregs.

From-SVN: r41217

23 years agoMakefile.in (LIB2FUNCS_STATIC_EXTRA): New macro.
Franz Sirl [Mon, 9 Apr 2001 23:43:06 +0000 (23:43 +0000)]
Makefile.in (LIB2FUNCS_STATIC_EXTRA): New macro.

        2001-04-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

        * Makefile.in (LIB2FUNCS_STATIC_EXTRA): New macro.
        (LIB2ADD_ST): New macro, pass it to mklibgcc.
        * mklibgcc.in (libgcc2_st_objs): New variable, set it from LIB2ADD_ST.
        (libgcc_st_objs): New, set from libgcc2_st_objs. Use it for libgcc.a.
        * config/rs6000/t-ppccomm (LIB2FUNCS_STATIC_EXTRA): New macro.

From-SVN: r41215

23 years agoi386.md: "TARGET_64BIT && TARGET_64BIT": Removed one.
Bo Thorsen [Mon, 9 Apr 2001 18:54:58 +0000 (18:54 +0000)]
i386.md: "TARGET_64BIT && TARGET_64BIT": Removed one.

2001-04-09  Bo Thorsen  <bo@suse.co.uk>

* config/i386/i386.md: "TARGET_64BIT && TARGET_64BIT": Removed one.

From-SVN: r41211

23 years agooutput.h (set_block_num): Missed it earlier, remove deprecated prototype.
Andrew MacLeod [Mon, 9 Apr 2001 17:30:06 +0000 (17:30 +0000)]
output.h (set_block_num): Missed it earlier, remove deprecated prototype.

2001-04-09  Andrew MacLeod  <amacleod@redhat.com>

* output.h (set_block_num): Missed it earlier, remove deprecated
prototype.

From-SVN: r41210

23 years agogcse.c (oprs_unchanged_p): Pass basic_block to load_killed_in_block_p.
Andrew MacLeod [Mon, 9 Apr 2001 15:20:26 +0000 (15:20 +0000)]
gcse.c (oprs_unchanged_p): Pass basic_block to load_killed_in_block_p.

2001-04-09  Andrew MacLeod  <amacleod@redhat.com>

* gcse.c (oprs_unchanged_p): Pass basic_block to load_killed_in_block_p.
(load_killed_in_block_p): Change bb parameter from int to basic_block.
(oprs_not_set_p): Pass basic_blocks instead of ints as parameters.
(handle_rd_kill_set): Change bb parameter from int to basic_block.
(compute_kill_rd): Pass basic_blocks instead of ints as parameters.
(expr_killed_p): Change bb parameter from int to basic_block, pass
basic_blocks instead of ints as parameters.
(compute_ae_kill): Pass basic_blocks instead of ints as parameters.
(expr_reaches_here_p_work, expr_reaches_here_p): Change bb parameter
from int to basic_block, pass basic_blocks instead of ints as parms.
(pre_expr_reaches_here_p_work, pre_expr_reaches_here_p): Change bb
parameter from int to basic_block, pass basic_blocks instead of ints.
(process_insert_insn): Pass basic_blocks instead of ints as parameters.
(insert_insn_end_bb): Change bb parameter from int to basic_block,
pass basic_blocks instead of ints.
(pre_edge_insert, pre_insert_copy_insn, pre_insert_copies): Pass
basic_blocks instead of ints as parameters.
(pre_delete): Pass basic_blocks instead of ints as parameters.
(hoist_expr_reaches_here_p): Change bb parameter from int to
basic_block, pass basic_blocks instead of ints.
(hoist_code): Pass basic_blocks instead of ints as parameters.
(reg_set_info, store_ops_ok, store_killed_after, store_killed_before):
Change bb parameter from int to basic_block.
(build_store_vectors): Pass basic_blocks instead of ints as parameters.
(insert_insn_start_bb): Change bb parameter from int to basic_block,
pass basic_blocks instead of ints.
(insert_store): Pass basic_blocks instead of ints as parameters.
(replace_store_insn, delete_store): Change bb parameter from int to
basic_block, pass basic_blocks instead of ints.
(store_motion): Pass basic_blocks instead of ints as parameters.

From-SVN: r41209

23 years agobasic-block.h (set_new_block_for_insns): New Prototype.
Andrew MacLeod [Mon, 9 Apr 2001 15:17:08 +0000 (15:17 +0000)]
basic-block.h (set_new_block_for_insns): New Prototype.

2001-04-09  Andrew MacLeod  <amacleod@redhat.com>

* basic-block.h (set_new_block_for_insns): New Prototype.
(set_block_num): Delete prototype.
* flow.c (set_block_num): Remove obsolete function.
(set_block_for_new_insns): Set BB for single or multiple insns.
* gcse.c (handle_avail_expr): Use set_block_for_new_insns.
(process_insn_end_bb): Use set_block_for_new_insns or
set_block_for_insn instead of set_block_num.
(pre_insert_copy_insn): Use set_block_for_new_insns.
(update_ld_motion_stores): Use set_block_for_new_insns.
(insert_insn_start_bb): Use set_block_for_new_insns.
(replace_store_insn): Use set_block_for_new_insns.

From-SVN: r41208

23 years agoalias.c (get_addr): Externalize.
Andrew MacLeod [Mon, 9 Apr 2001 14:27:05 +0000 (14:27 +0000)]
alias.c (get_addr): Externalize.

2001-04-09  Andrew MacLeod  <amacleod@redhat.com>
    Jeff Law  <law@cygnus.com>

* alias.c (get_addr): Externalize.
(canon_true_dependence): New function. Behaves like true_dependance
except it already assumes a MEM has been canonicalized.
* flags.h (flag_gcse_lm, flag_gcse_sm): New optimization flags.
* gcse.c (struct ls_expr): Add load/store expressions structure.
(modify_mem_list, canon_modify_mem_list): New variable.
(gcse_main): Initialize & finalize alias analysis. Use enhanced
load motion and store motion if requested.
(alloc_gcse_mem): Allocate space for modify_mem_list array.
(free_gcse_mem): Free the modify_mem_list array.
(oprs_unchanged_p): Use load_killed_in_block_p.
(gcse_mems_conflict_p, gcse_mem_operand): New variables.
(mems_conflict_for_gcse_p): New function.  Don't kill loads
with stores to themselves if its in the load/store expression list.
(load_killed_in_block_p): New function.
(canon_list_insert): New Function.
(record_last_mem_set_info): Keep a list of all instructions which
can modify memory for each basic block.
(compute_hash_table, reset_opr_set_tables): Clear modify_mem_list.
(oprs_not_set_p): Use load_killed_in_block_p.
(mark_call, mark_set, mark_clobber): Use record_last_mem_set_info.
(expr_killed_p): Use load_killed_in_block_p.
(compute_transp): Do not pessimize memory references.
(pre_edge_insert): Update stores for a load motion expression.
(one_pre_gcse_pass): Check loads/stores for extra load motion.
(ldst_entry): Find or create a ldst_expr structure.
(free_ldst_entry): Free memory for an individual item.
(free_ldst_mems): Free entire load/store expression list.
(print_ldst_list): Print debug info.
(find_rtx_in_ldst): Try to find an rtx expression in the ldst list.
(enumerate_ldsts): Assign integer values to each entry in list.
(first_ls_expr): First expression in the list.
(next_ls_expr): Next expression in the list.
(simple_mem): Check if expression qualifies for ld/st expression list.
(invalidate_any_buried_refs): Remove from expression list if its
used in some other way we dont understand.
(compute_ld_motion_mems): Find all potential enhanced load motion
expression.
(trim_ld_motion_mems): Remove any expressions which are invalid.
(update_ld_motion_stores): Copy store values to registers for loads
which have been moved.
(regvec, st_antloc, num_store): New global statics.
(reg_set_info): Marks registers as set.
(store_ops_ok): Verfies registers expressions are valid in a block.
(find_moveable_store): Look for moveable stores in a pattern.
(compute_store_table): Find stores in a function worth moving, maybe.
(load_kills_store): Check dependance of a load and store.
(find_loads): Find any loads in a pattern.
(store_killed_in_insn): Check if a store is killed in an insn.
(store_killed_after): Check is store killed after an insn in a block.
(store_killed_before): Check is store killed before an insn in a block.
(build_store_vectors): Generate the antic and avail vectors.
(insert_insn_start_bb): Insert at the start of a BB, update BLOCK_HEAD.
(insert_store): Add a store to an edge.
(replace_store_insn): Replace a store with a SET insn.
(delete_store): Delete a store insn.
(free_store_memory): Free memory.
(store_motion): Perform store motion.
* invoke.texi: Add documentation for -fcse-lm and -fgcse-sm.
* rtl.h (get_addr, canon_true_dependence): Add prototypes.
* toplev.c (flag_gcse_lm, flag_gcse_sm): New Variables.
(f_options): Add gcse-lm and gcse-sm.

Co-Authored-By: Jeff Law <law@redhat.com>
From-SVN: r41207

23 years agoi386.c (expand_fp_movcc): Fix condition reversal code.
Jan Hubicka [Mon, 9 Apr 2001 14:22:37 +0000 (16:22 +0200)]
i386.c (expand_fp_movcc): Fix condition reversal code.

* i386.c (expand_fp_movcc): Fix condition reversal code.

* i386.c (ix86_register_move_cost): Fix handling of reformating penalty
* i386.h (INTEGER_CLASS_P, MAYBE_INTEGER_CLASS_P): New.
(CLASS_MAX_NREGS): Use it.

* i386.h (HARD_REGNO_NREGS): Handle properly TF and TCmodes on 64bit;
handle properly complex values.
(CLASS_MAX_NREGS): Likewise; update comment.

From-SVN: r41206

23 years ago(oops.
Christopher Faylor [Mon, 9 Apr 2001 14:20:13 +0000 (14:20 +0000)]
(oops.

(oops.  only checked in ChangeLog previously)
* config/i386/xm-cygwin.h (GET_ENV_PATH_LIST): Eliminate obsolete function.
Remove include of sys/cygwin.h.

From-SVN: r41205

23 years agoSpeed up ia64 compilations
Bernd Schmidt [Mon, 9 Apr 2001 13:54:08 +0000 (13:54 +0000)]
Speed up ia64 compilations

From-SVN: r41204

23 years agoi386.md (truncdfsf2_*): Add i387->int/sse reg alternatives...
Jan Hubicka [Mon, 9 Apr 2001 13:10:22 +0000 (15:10 +0200)]
i386.md (truncdfsf2_*): Add i387->int/sse reg alternatives...

* i386.md (truncdfsf2_*): Add i387->int/sse reg alternatives;
Do not require source to match destination anymore;
Add abort to the nontrivial cases that should be handled by split.
(fix_trunc?fdi): Add SSE case for x86_64.
(floatdi?f): Likewise.
(floatdi?f_sse): New.
(fix_trunc?fdi_sse): New.

From-SVN: r41203

23 years agodwarfout.c (DEBUG_ARANGES_BEGIN_LABEL): New label.
Richard Sandiford [Mon, 9 Apr 2001 11:56:21 +0000 (11:56 +0000)]
dwarfout.c (DEBUG_ARANGES_BEGIN_LABEL): New label.

        * dwarfout.c (DEBUG_ARANGES_BEGIN_LABEL): New label.
        (DEBUG_ARANGES_END_LABEL): Ditto.
        (dwarfout_init): Generate length and version fields at the start
        of the .debug_aranges info.  Insert DEBUG_ARANGES_BEGIN_LABEL
        after the length field.
        (dwarfout_finish): Insert DEBUG_ARANGED_END_LABEL at the end of
        the .debug_aranges info.

From-SVN: r41202

23 years agoi386.c (call, call_value): Make sure that resulting call_insn does have proper second...
Jan Hubicka [Mon, 9 Apr 2001 11:18:39 +0000 (13:18 +0200)]
i386.c (call, call_value): Make sure that resulting call_insn does have proper second operand.

* i386.c (call, call_value): Make sure that resulting call_insn
does have proper second operand.

From-SVN: r41201

23 years agoDaily bump.
GCC Administrator [Mon, 9 Apr 2001 07:16:39 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r41200

23 years agoxm-cygwin.h (GET_ENV_PATH_LIST): Eliminate obsolete function.
Christopher Faylor [Mon, 9 Apr 2001 02:52:11 +0000 (02:52 +0000)]
xm-cygwin.h (GET_ENV_PATH_LIST): Eliminate obsolete function.

* config/i386/xm-cygwin.h (GET_ENV_PATH_LIST): Eliminate obsolete function.
Remove include of sys/cygwin.h.

From-SVN: r41197

23 years agocygwin.h (STARTFILE_SPEC): search */lib/w32api by default.
Christopher Faylor [Mon, 9 Apr 2001 02:50:34 +0000 (02:50 +0000)]
cygwin.h (STARTFILE_SPEC): search */lib/w32api by default.

* config/i386/cygwin.h (STARTFILE_SPEC): search */lib/w32api by default.
(CPP_SPEC): Always search */include/w32api for header files.
(ASM_OUTPUT_SECTION_NAME): Avoid testing NULL DECL.
(LINK_SPEC): Add "cyg" to the library search prefixes.

From-SVN: r41196

23 years ago20010408-1.c: New test.
Franz Sirl [Sun, 8 Apr 2001 23:49:43 +0000 (23:49 +0000)]
20010408-1.c: New test.

        2001-04-08  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
        * gcc.c-torture/compile/20010408-1.c: New test.

From-SVN: r41193

23 years agoarm.h (ASM_OUTPUT_LABELREF): Use asm_fprintf.
Philip Blundell [Sun, 8 Apr 2001 19:55:04 +0000 (19:55 +0000)]
arm.h (ASM_OUTPUT_LABELREF): Use asm_fprintf.

2001-04-08  Philip Blundell  <philb@gnu.org>

* config/arm/arm.h (ASM_OUTPUT_LABELREF): Use asm_fprintf.

From-SVN: r41191

23 years agostd_valarray.h (valarray<>::operator[]): Make inline.
Gabriel Dos Reis [Sun, 8 Apr 2001 16:20:49 +0000 (16:20 +0000)]
std_valarray.h (valarray<>::operator[]): Make inline.

      * include/bits/std_valarray.h(valarray<>::operator[]): Make
      inline.

From-SVN: r41190

23 years agocpperror.c (print_location): Don't special case <stdin>.
Neil Booth [Sun, 8 Apr 2001 10:01:18 +0000 (10:01 +0000)]
cpperror.c (print_location): Don't special case <stdin>.

* cpperror.c (print_location): Don't special case <stdin>.
(_cpp_begin_message): Handle WARNING_SYSHDR the same as
WARNING, but we don't check if we're in system headers.
* cpplib.h (enum error_type): WARNING_SYSHDR: New.
* cpplib.c (do_warning): Warn in system headers.

From-SVN: r41186

23 years agoDaily bump.
GCC Administrator [Sun, 8 Apr 2001 07:16:37 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r41185

23 years ago* mbchar.c: Include config.h first.
Mumit Khan [Sat, 7 Apr 2001 22:39:10 +0000 (22:39 +0000)]
* mbchar.c: Include config.h first.

From-SVN: r41182

23 years agoconfig.gcc: Set default for xmake_file at top, not bottom.
Zack Weinberg [Sat, 7 Apr 2001 20:44:56 +0000 (20:44 +0000)]
config.gcc: Set default for xmake_file at top, not bottom.

* config.gcc: Set default for xmake_file at top, not bottom.
Change places that set xmake_file to "none" to set to the
empty string instead, or remove them entirely if there is no
default xmake_file for this cpu_type.  Remove references to
deleted files.

* config/x-lynx, config/convex/x-convex, config/elxsi/x-elxsi,
config/i386/x-isc, config/i386/x-isc3, config/i386/x-ncr3000,
config/i386/x-next, config/i386/x-sco, config/i386/x-sysv3,
config/i386/x-vsta, config/i860/x-sysv4, config/m68k/x-amix,
config/m68k/x-apollo68, config/m68k/x-ccur, config/m68k/x-crds,
config/m68k/x-hp2bsd, config/m68k/x-mot3300, config/m68k/x-mot3300-gas,
config/m68k/x-tower, config/m88k/x-sysv4, config/mips/x-dec-osf1,
config/mips/x-sni-svr4, config/mips/x-ultrix, config/romp/x-mach,
config/romp/x-romp, config/rs6000/x-beos, config/rs6000/x-lynx,
config/rs6000/x-mach, config/rs6000/x-sysv4, config/sparc/x-sysv4:
Delete.

* config/a29k/x-unix, config/i386/x-aix, config/i386/x-osf1elf,
config/i386/x-osfrose, config/m68k/x-dpx2, config/mips/x-iris3,
config/mips/x-mips, config/mips/x-osfrose, config/mips/x-sony,
config/mips/x-sysv, config/rs6000/x-aix31:
Just set CLIB to -lld or -lmld, as appropriate.

* config/arm/x-riscix, config/i370/x-oe, config/i386/x-dgux,
config/i386/x-sco4, config/i386/x-sco5, config/m68k/x-hp320,
config/m68k/x-hp320g, config/m68k/x-next, config/m88k/x-dgux,
config/mips/x-iris, config/pa/x-pa:
Just set (some of) FIXPROTO_DEFINES, STMP_FIXPROTO,
OTHER_FIXINCLUDES_DIRS.

* config/i386/x-djgpp: Don't set LN or LN_S.
* config/m88k/x-dolph: Don't define __m88k__.
* config/m88k/x-tekXD88: Don't set AR_FLAGS.
* config/pa/x-pa-mpeix: Just set up quadlib.asm.
* config/i860/fx2800.h: No need to #undef SVR4.

38 x-host fragments remain, 2 x-cpu.

From-SVN: r41181

23 years agotestsuite: libjava: remove some xfail markers.
Tom Tromey [Sat, 7 Apr 2001 20:00:50 +0000 (20:00 +0000)]
testsuite: libjava: remove some xfail markers.

* libjava.compile/weirddecl.xfail: Removed xfail-*.
* libjava.compile/PR374.xfail: Removed.

From-SVN: r41180

23 years agoFix for PR gcj/1404 and PR gcj/2332:
Tom Tromey [Sat, 7 Apr 2001 19:54:52 +0000 (19:54 +0000)]
Fix for PR gcj/1404 and PR gcj/2332:

2001-04-06  Tom Tromey  <tromey@redhat.com>
    Alexandre Petit-Bianco  <apbianco@redhat.com>

Fix for PR gcj/1404 and PR gcj/2332:
* parse.y (build_array_from_name): If we use the type_wfl then
accumulate dimensions from the original type as well.
(build_unresolved_array_type): Don't modify TYPE_OR_WFL in place.

Co-Authored-By: Alexandre Petit-Bianco <apbianco@redhat.com>
From-SVN: r41178

23 years agoDaily bump.
GCC Administrator [Sat, 7 Apr 2001 07:16:11 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r41175

23 years agoc4x.h (HARD_REGNO_NREGS): HCmode mode uses 2 regs not 4.
Herman A.J. ten Brugge [Sat, 7 Apr 2001 01:17:57 +0000 (03:17 +0200)]
c4x.h (HARD_REGNO_NREGS): HCmode mode uses 2 regs not 4.

2001-04-07  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>

* c4x.h (HARD_REGNO_NREGS): HCmode mode uses 2 regs not 4.

From-SVN: r41173

23 years agomisc.c: Back out buggy changes to stack clearing code.
Hans Boehm [Sat, 7 Apr 2001 00:11:43 +0000 (17:11 -0700)]
misc.c: Back out buggy changes to stack clearing code.

* misc.c: Back out buggy changes to stack clearing code.
Reduce CLEAR_SIZE to 1/4 of original value to reduce time
spent clearing memory.

From-SVN: r41172

23 years agostl_algobase.h (std::equal): avoid use of possibly-undefined operator != (one line...
Benjamin Kosnik [Fri, 6 Apr 2001 22:21:29 +0000 (22:21 +0000)]
stl_algobase.h (std::equal): avoid use of possibly-undefined operator != (one line patch).

2001-04-06  Joe Buck  <jbuck@welsh-buck.org>

        * stl_algobase.h (std::equal): avoid use of possibly-undefined
        operator != (one line patch).

From-SVN: r41170

23 years agoequal.cc: New test.
Gabriel Dos Reis [Fri, 6 Apr 2001 22:20:03 +0000 (22:20 +0000)]
equal.cc: New test.

2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>

* testsuite/25_algorithms/equal.cc: New test.

From-SVN: r41169

23 years agobackward_warning.h: Re-enable.
Benjamin Kosnik [Fri, 6 Apr 2001 22:11:31 +0000 (22:11 +0000)]
backward_warning.h: Re-enable.

2001-04-06   Benjamin Kosnik  <bkoz@redhat.com>

* include/backward/backward_warning.h: Re-enable.

From-SVN: r41168

23 years ago15071.C (main): Update to conformant headers and constructs.
Benjamin Kosnik [Fri, 6 Apr 2001 22:05:10 +0000 (22:05 +0000)]
15071.C (main): Update to conformant headers and constructs.

2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>

* g++.old-deja/g++.benjamin/15071.C (main): Update to conformant
headers and constructs.
* g++.old-deja/g++.robertl/eb79.C: Same.
* g++.old-deja/g++.robertl/eb77.C (main): Same.
* g++.old-deja/g++.robertl/eb73.C: Same.
* g++.old-deja/g++.robertl/eb66.C (main): Same.
* g++.old-deja/g++.robertl/eb55.C (t): Same.
* g++.old-deja/g++.robertl/eb54.C (main): Same.
* g++.old-deja/g++.robertl/eb46.C (main): Same.
* g++.old-deja/g++.robertl/eb44.C: Same.
* g++.old-deja/g++.robertl/eb41.C (main): Same.
* g++.old-deja/g++.robertl/eb4.C (main): Same.
* g++.old-deja/g++.robertl/eb39.C: Same.
* g++.old-deja/g++.robertl/eb33.C (main): Same.
* g++.old-deja/g++.robertl/eb31.C (main): Same.
* g++.old-deja/g++.robertl/eb30.C: Same.
* g++.old-deja/g++.robertl/eb3.C: Same.
* g++.old-deja/g++.robertl/eb24.C (T>): Same.
* g++.old-deja/g++.robertl/eb21.C: Same.
* g++.old-deja/g++.robertl/eb15.C: Same.
* g++.old-deja/g++.robertl/eb118.C: Same.
* g++.old-deja/g++.robertl/eb115.C (main): Same.
* g++.old-deja/g++.robertl/eb113.C (streambuf): Same.
* g++.old-deja/g++.robertl/eb109.C: Same.
* g++.old-deja/g++.other/sibcall1.C (main): Same.
* g++.old-deja/g++.mike/rtti1.C: Same.
* g++.old-deja/g++.mike/p658.C: Same.
* g++.old-deja/g++.mike/net46.C: Same.
* g++.old-deja/g++.mike/net34.C: Same.
* g++.old-deja/g++.mike/memoize1.C: Same.
* g++.old-deja/g++.mike/eh2.C: Same.
* g++.old-deja/g++.law/weak.C: Same.
* g++.old-deja/g++.law/visibility7.C: Same.
* g++.old-deja/g++.law/visibility25.C: Same.
* g++.old-deja/g++.law/visibility22.C: Same.
* g++.old-deja/g++.law/visibility2.C: Same.
* g++.old-deja/g++.law/visibility17.C: Same.
* g++.old-deja/g++.law/visibility13.C: Same.
* g++.old-deja/g++.law/visibility10.C: Same.
* g++.old-deja/g++.law/visibility1.C: Same.
* g++.old-deja/g++.law/virtual3.C (eval): Same.
* g++.old-deja/g++.law/vbase1.C: Same.
* g++.old-deja/g++.law/operators32.C: Same.
* g++.old-deja/g++.law/nest3.C: Same.
* g++.old-deja/g++.law/missed-error2.C (foo): Same.
* g++.old-deja/g++.law/except5.C (main): Same.
* g++.old-deja/g++.law/cvt7.C (run): Same.
* g++.old-deja/g++.law/cvt2.C: Same.
* g++.old-deja/g++.law/cvt16.C: Same.
* g++.old-deja/g++.law/ctors6.C (bar): Same.
* g++.old-deja/g++.law/ctors17.C (main): Same.
* g++.old-deja/g++.law/ctors13.C: Same.
* g++.old-deja/g++.law/ctors12.C (main): Same.
* g++.old-deja/g++.law/ctors10.C: Same.
* g++.old-deja/g++.law/code-gen5.C: Same.
* g++.old-deja/g++.law/bad-error7.C: Same.
* g++.old-deja/g++.law/arm9.C: Same.
* g++.old-deja/g++.law/arm12.C: Same.
* g++.old-deja/g++.law/arg8.C: Same.
* g++.old-deja/g++.law/arg1.C: Same.
* g++.old-deja/g++.jason/typeid1.C (struct foo): Same.
* g++.old-deja/g++.jason/template31.C: Same.
* g++.old-deja/g++.jason/template24.C (main): Same.
* g++.old-deja/g++.jason/2371.C: Same.
* g++.old-deja/g++.eh/new2.C: Same.
* g++.old-deja/g++.eh/new1.C: Same.
* g++.old-deja/g++.brendan/ptolemy2.C: Same.
* g++.old-deja/g++.brendan/nest21.C (main): Same.
* g++.old-deja/g++.brendan/err-msg3.C: Same.
* g++.old-deja/g++.brendan/crash62.C: Same.
* g++.old-deja/g++.brendan/crash52.C: Same.
* g++.old-deja/g++.brendan/crash49.C (main): Same.
* g++.old-deja/g++.brendan/crash38.C: Same.
* g++.old-deja/g++.brendan/crash15.C (main): Same.
* g++.old-deja/g++.brendan/copy9.C: Same.

From-SVN: r41167

23 years ago* cpplib.c (cpp_push_buffer): Give stdin buffers the name <stdin>.
Neil Booth [Fri, 6 Apr 2001 21:43:53 +0000 (21:43 +0000)]
* cpplib.c (cpp_push_buffer): Give stdin buffers the name <stdin>.

From-SVN: r41166

23 years agoparse.y (analyze_clinit_body): Return true if the second operand of a METHOD_EXPR...
Tom Tromey [Fri, 6 Apr 2001 20:42:41 +0000 (20:42 +0000)]
parse.y (analyze_clinit_body): Return true if the second operand of a METHOD_EXPR is nonzero.

* parse.y (analyze_clinit_body): Return true if the second operand
of a METHOD_EXPR is nonzero.

From-SVN: r41164

23 years agoMake-lang.in ($(srcdir)/java/parse-scan.c): Run bison from build directory.
Tom Tromey [Fri, 6 Apr 2001 20:32:09 +0000 (20:32 +0000)]
Make-lang.in ($(srcdir)/java/parse-scan.c): Run bison from build directory.

* Make-lang.in ($(srcdir)/java/parse-scan.c): Run bison from build
directory.
($(srcdir)/java/parse.c): Likewise.

From-SVN: r41162

23 years agotests_flags.in (CROSS_LIB_PATH): Add as -B flag.
Benjamin Kosnik [Fri, 6 Apr 2001 19:43:23 +0000 (19:43 +0000)]
tests_flags.in (CROSS_LIB_PATH): Add as -B flag.

2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
            Alexandre Oliva  <aoliva@redhat.com>

* tests_flags.in (CROSS_LIB_PATH): Add as -B flag.

Co-Authored-By: Alexandre Oliva <aoliva@redhat.com>
From-SVN: r41160

23 years agostd_cmath.h: Get rid of C99 math macros.
Gabriel Dos Reis [Fri, 6 Apr 2001 19:14:27 +0000 (19:14 +0000)]
std_cmath.h: Get rid of C99 math macros.

        * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
        * testsuite/26_numerics/c99_macros.cc: Add test.

From-SVN: r41159

23 years agoindex.html: Update for 2.92, grab from RELEASE-NOTES.
Phil Edwards [Fri, 6 Apr 2001 18:48:20 +0000 (18:48 +0000)]
index.html: Update for 2.92, grab from RELEASE-NOTES.

2001-04-06  Phil Edwards  <pme@sources.redhat.com>

* docs/html/faq/index.html:  Update for 2.92, grab from RELEASE-NOTES.
* docs/html/faq/index.txt:  Regenerated.

From-SVN: r41158

23 years agojni.cc (wrap_value<jobject>, [...]): Removed.
Tom Tromey [Fri, 6 Apr 2001 17:38:52 +0000 (17:38 +0000)]
jni.cc (wrap_value<jobject>, [...]): Removed.

* jni.cc (wrap_value<jobject>, wrap_value<jclass>): Removed.
(wrap_value<T*>): New specialization.
(_Jv_JNI_PopLocalFrame): Update env->locals.

From-SVN: r41157

23 years ago* MAINTAINERS: Add self and RTH as C front end maintainers.
Joseph Myers [Fri, 6 Apr 2001 17:14:46 +0000 (18:14 +0100)]
* MAINTAINERS: Add self and RTH as C front end maintainers.

From-SVN: r41154

23 years ago20001203-2.c (main): Count argument is of type __SIZE_TYPE__.
J"orn Rennecke [Fri, 6 Apr 2001 14:37:56 +0000 (14:37 +0000)]
20001203-2.c (main): Count argument is of type __SIZE_TYPE__.

* gcc.c-torture/execute/20001203-2.c (main):
Count argument is of type __SIZE_TYPE__.

From-SVN: r41153

23 years agobackward_warning.h: Temporarily disable until g++ testsuite changes go in.
Benjamin Kosnik [Fri, 6 Apr 2001 08:00:55 +0000 (08:00 +0000)]
backward_warning.h: Temporarily disable until g++ testsuite changes go in.

2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>

* include/backward/backward_warning.h: Temporarily disable until
g++ testsuite changes go in.
* tests_flags.in (CROSS_LIB_PATH): Add.

From-SVN: r41149

23 years agoconfigure.in: Add check for lstat.
Neil Booth [Fri, 6 Apr 2001 07:22:01 +0000 (07:22 +0000)]
configure.in: Add check for lstat.

* configure.in: Add check for lstat.
* configure, config.in: Regenerate.
* cppinit.c (append_include_chain): Make empty path ".".
        * cpplib.c (do_line): Don't simplify #line paths.
        * cppfiles.c (remove_component_p): New function.
(find_or_create_entry): Acknowledge stat () errors during
path simplification.
(handle_missing_header): Don't simplify paths.
        (_cpp_simplify_pathname): Don't simplify VMS paths.  Return
        the empty path untouched.  Don't leave a trailing '/'.

From-SVN: r41148

23 years agoDaily bump.
GCC Administrator [Fri, 6 Apr 2001 07:16:12 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r41146

23 years agoconfig.sub: Make sure to match an already-canonicalized machine name (eg.
Alexandre Oliva [Fri, 6 Apr 2001 07:06:32 +0000 (07:06 +0000)]
config.sub: Make sure to match an already-canonicalized machine name (eg.

2001-04-05  Alexandre Oliva  <aoliva@redhat.com>

        * config.sub: Make sure to match an already-canonicalized
        machine name (eg. mn10300-unknown-elf).

From-SVN: r41145

23 years agocp-tree.h (DECL_THIS_INLINE): Rename to DECL_DECLARED_INLINE_P.
Mark Mitchell [Fri, 6 Apr 2001 06:33:07 +0000 (06:33 +0000)]
cp-tree.h (DECL_THIS_INLINE): Rename to DECL_DECLARED_INLINE_P.

* cp-tree.h (DECL_THIS_INLINE): Rename to DECL_DECLARED_INLINE_P.
* decl.c (duplicate_decls): Adjust accordingly.
(maybe_commonize_var): Likewise.
(grokfndecl): Likewise.
(start_function): Likewise.
(start_method): Likewise.
* decl2.c (key_method): Likewise.
(import_export_decl): Likewise.
* method.c (implicitly_declare_fn): Likewise.
* optimize.c (maybe_clone_body): Likewise.

From-SVN: r41144

23 years agolang-specs.h: Add __DEPRECATED.
Benjamin Kosnik [Fri, 6 Apr 2001 06:17:33 +0000 (06:17 +0000)]
lang-specs.h: Add __DEPRECATED.

2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>

* lang-specs.h: Add __DEPRECATED.

From-SVN: r41142

23 years agolang-specs.h: Add __GXX_DEPRECATED.
Benjamin Kosnik [Fri, 6 Apr 2001 06:16:38 +0000 (06:16 +0000)]
lang-specs.h: Add __GXX_DEPRECATED.

2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>

* lang-specs.h: Add __GXX_DEPRECATED.

From-SVN: r41141

23 years agocppdefault.c (GPLUSPLUS_BACKWARD_INCLUDE_DIR): Add.
Benjamin Kosnik [Fri, 6 Apr 2001 06:13:27 +0000 (06:13 +0000)]
cppdefault.c (GPLUSPLUS_BACKWARD_INCLUDE_DIR): Add.

2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>

* cppdefault.c (GPLUSPLUS_BACKWARD_INCLUDE_DIR): Add.
* Makefile.in (-DGPLUSPLUS_BACKWARD_INCLUDE_DIR): Add.

From-SVN: r41140

23 years agoWarn when using backward headers.
Benjamin Kosnik [Fri, 6 Apr 2001 06:08:17 +0000 (06:08 +0000)]
Warn when using backward headers.

2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>

Warn when using backward headers.
* include/backward/algo.h: Include warning file.
* include/backward/vector.h: Same.
* include/backward/tree.h: Same.
* include/backward/tempbuf.h: Same.
* include/backward/strstream: Same.
* include/backward/streambuf.h: Same.
* include/backward/stream.h: Same.
* include/backward/stack.h: Same.
* include/backward/slist.h: Same.
* include/backward/set.h: Same.
* include/backward/rope.h:
* include/backward/queue.h: Same.
* include/backward/pair.h: Same.
* include/backward/ostream.h: Same.
* include/backward/new.h: Same.
* include/backward/multiset.h: Same.
* include/backward/multimap.h: Same.
* include/backward/map.h: Same.
* include/backward/list.h: Same.
* include/backward/iterator.h: Same.
* include/backward/istream.h: Same.
* include/backward/iostream.h:
* include/backward/iomanip.h:
* include/backward/heap.h: Same.
* include/backward/hashtable.h:
* include/backward/hash_set.h:
* include/backward/hash_map.h:
* include/backward/function.h:
* include/backward/fstream.h:
* include/backward/deque.h:
* include/backward/defalloc.h: Same.
* include/backward/complex.h: Same.
* include/backward/bvector.h:
* include/backward/alloc.h:
* include/backward/algobase.h: Same.

* include/backward/backward_warning.h: New file.
* src/Makefile.am (backward_headers): Add backward_warning.h
* src/Makefile.in: Regenerate.

2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>

* src/Makefile.am (myinstalldirs): Make sure backward directory is
created.
(myinstallheaders): Install backward headers in backward directory.
* src/Makefile.in: Regenerate.

From-SVN: r41139

23 years agocppfiles.c (open_file): Fail directories silently, but with an errno of NOENT set.
Neil Booth [Fri, 6 Apr 2001 05:21:36 +0000 (05:21 +0000)]
cppfiles.c (open_file): Fail directories silently, but with an errno of NOENT set.

* cppfiles.c (open_file): Fail directories silently, but
with an errno of NOENT set.
(read_include_file): Move the common exit code to the sole
caller.  Return an int indicating success or failure.  Let
open_file handle directories.
(stack_include_file): If read_include_file fails,
push a "null" buffer.

From-SVN: r41138

23 years agoPrepare for libstdc++-2.92.
Benjamin Kosnik [Fri, 6 Apr 2001 01:47:11 +0000 (01:47 +0000)]
Prepare for libstdc++-2.92.

2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>

Prepare for libstdc++-2.92.
* docs/html/17_intro/RELEASE-NOTES (New): Update.
* docs/html/configopts.html: Fix formatting.
* README (file): Updates.
* include/bits/c++config (__GLIBCPP__): Update.

From-SVN: r41136

23 years agogcj.texi: Use `which-gcj' instead of `which-g77.'
Alexandre Petit-Bianco [Thu, 5 Apr 2001 23:22:25 +0000 (16:22 -0700)]
gcj.texi: Use `which-gcj' instead of `which-g77.'

2001-04-05  Alexandre Petit-Bianco  <apbianco@redhat.com>

* gcj.texi: Use `which-gcj' instead of `which-g77.'
(version-gcc): Initialized.
(which-gcj): Likewise.

(http://gcc.gnu.org/ml/gcc-patches/2001-04/msg00333.html)

From-SVN: r41133

23 years agoinstinit2.out: Fixed.
Alexandre Petit-Bianco [Thu, 5 Apr 2001 23:07:30 +0000 (16:07 -0700)]
instinit2.out: Fixed.

2001-03-29  Alexandre Petit-Bianco  <apbianco@redhat.com>

* libjava.lang/instinit2.out: Fixed.

(http://gcc.gnu.org/ml/gcc-patches/2001-04/msg00343.html)

From-SVN: r41132

23 years agore PR java/1315 (Inner class initializer crash)
Alexandre Petit-Bianco [Thu, 5 Apr 2001 22:59:12 +0000 (15:59 -0700)]
re PR java/1315 (Inner class initializer crash)

2001-04-04  Alexandre Petit-Bianco  <apbianco@redhat.com>

* java-tree.h (struct lang_decl): New macro
`DECL_FIXED_CONSTRUCTOR_P.' New field `fixed_ctor.'
* parse.y (build_instance_initializer): New function.
(add_instance_initializer): Use it.
(java_fix_constructors): Set `current_class' before fix pass.
(fix_constructors): Just return if already fixed. Move `super()'
invokation ahead. Use `build_instance_initializer.'
Fixes PR java/1315.

(http://gcc.gnu.org/ml/gcc-patches/2001-04/msg00343.html)

From-SVN: r41129

23 years agorun_doxygen: Check for the existence of Doxygen.
Phil Edwards [Thu, 5 Apr 2001 21:09:24 +0000 (21:09 +0000)]
run_doxygen: Check for the existence of Doxygen.

2001-04-05  Phil Edwards  <pme@sources.redhat.com>

* docs/doxygen/run_doxygen:  Check for the existence of Doxygen.

From-SVN: r41128

23 years agofunction.h (virtuals_instantiated): Declare.
DJ Delorie [Thu, 5 Apr 2001 20:13:53 +0000 (16:13 -0400)]
function.h (virtuals_instantiated): Declare.

* function.h (virtuals_instantiated): Declare.
* function.c: (virtuals_instantiated): Make global.
* calls.c (emit_library_call_value_1): Use
virtual_outgoing_args_rtx only if it hasn't been instantiated.
Otherwise, use the stack pointer directly.

From-SVN: r41127

23 years agoparse.y (resolve_qualified_expression_name): Pass field's DECL_CONTEXT to `not_access...
Alexandre Petit-Bianco [Thu, 5 Apr 2001 19:45:57 +0000 (12:45 -0700)]
parse.y (resolve_qualified_expression_name): Pass field's DECL_CONTEXT to `not_accessible_p.'

2001-04-04  Alexandre Petit-Bianco  <apbianco@redhat.com>

        * parse.y (resolve_qualified_expression_name): Pass field's
        DECL_CONTEXT to `not_accessible_p.'
        (not_accessible_p): Changed parameters order in `inherits_from_p'
        invokation.

(http://gcc.gnu.org/ml/gcc-patches/2001-04/msg00326.html)

From-SVN: r41126

23 years agolang-options.h: Add flag_check_references.
Andrew Haley [Thu, 5 Apr 2001 18:10:36 +0000 (18:10 +0000)]
lang-options.h: Add flag_check_references.

2001-03-27  Andrew Haley  <aph@cambridge.redhat.com>

        * lang-options.h: Add flag_check_references.

From-SVN: r41124

23 years agoi386.c (x86_initialize_trampoline): New global function.
Jan Hubicka [Thu, 5 Apr 2001 17:18:42 +0000 (19:18 +0200)]
i386.c (x86_initialize_trampoline): New global function.

* i386.c (x86_initialize_trampoline): New global function.
* i386.h (TRAMPOLINE_SIZE): Size is 23 for x86_64.
(INITIALIZE_TRAMPOLINE): Move offline.
* i386-protos.h (x86_initialize_trampoline): Declare.

From-SVN: r41123

23 years agoi386.md (movdi_1_rex64): Allow SSE->SSE reg move.
Jan Hubicka [Thu, 5 Apr 2001 17:04:29 +0000 (19:04 +0200)]
i386.md (movdi_1_rex64): Allow SSE->SSE reg move.

* i386.md (movdi_1_rex64): Allow SSE->SSE reg move.
(lea_0): Rename to lea_1.
(lea_1_zext, lea_1_rex64, lea_2_rex64): New patterns.
(lea_general_?): Allow SImodes on TARGET_64BIT
(lea_general_?_zext): New patterns.
(call_1, call_1_rex64): Fix.

From-SVN: r41122

23 years ago* i386.c (ix86_split_long_move): Use PUT_MODE instead of change_address.
Jan Hubicka [Thu, 5 Apr 2001 17:01:48 +0000 (19:01 +0200)]
* i386.c (ix86_split_long_move): Use PUT_MODE instead of change_address.

From-SVN: r41121

23 years agoi386.c (function_arg): Return constm1_rtx for last argument.
Jan Hubicka [Thu, 5 Apr 2001 16:28:44 +0000 (18:28 +0200)]
i386.c (function_arg): Return constm1_rtx for last argument.

* i386.c (function_arg): Return constm1_rtx for last argument.
(ix86_expand_prologue): Update gen_call calls.
* i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
* i386.md (call_pop): Likewise.
(call): Second operand is VOIDmode.
(call_0): Likewise; Support 64bits.
(call_exp): New expander.
(call_1): Get to the sync.
(call_1_exp): New pattern.
(call_value): Support 64bit.
(call_value_exp): New pattern.
(untyped_call): Update gen_call call.
(call_value_pop): Disable for 64bit.
(call_value_0_rex64): New pattern.
(call_value_1_rex64): Likewise.

From-SVN: r41120

23 years agoUpdate.
Bo Thorsen [Thu, 5 Apr 2001 16:12:25 +0000 (18:12 +0200)]
Update.

From-SVN: r41119

23 years agoi386.md: Don't allow "builtin_setjmp_receiver" for TARGET_64BIT.
Bo Thorsen [Thu, 5 Apr 2001 16:12:10 +0000 (18:12 +0200)]
i386.md: Don't allow "builtin_setjmp_receiver" for TARGET_64BIT.

2001-04-05  Bo Thorsen  <bo@suse.de>

* i386.md: Don't allow "builtin_setjmp_receiver" for TARGET_64BIT.

From-SVN: r41118

23 years agosearch.c (get_dynamic_cast_base_type): When building a new constant, set its type...
J"orn Rennecke [Thu, 5 Apr 2001 15:57:35 +0000 (15:57 +0000)]
search.c (get_dynamic_cast_base_type): When building a new constant, set its type to ssizetype.

* search.c (get_dynamic_cast_base_type): When building a new
constant, set its type to ssizetype.

From-SVN: r41117

23 years ago* libtool-version: Updated current.
Tom Tromey [Thu, 5 Apr 2001 15:12:41 +0000 (15:12 +0000)]
* libtool-version: Updated current.

From-SVN: r41116

23 years agoi386.md (*andsi_1+3): If used after reload, make sure the operand satisfies ANY_QI_REG_P.
J"orn Rennecke [Thu, 5 Apr 2001 12:51:42 +0000 (12:51 +0000)]
i386.md (*andsi_1+3): If used after reload, make sure the operand satisfies ANY_QI_REG_P.

        * i386.md (*andsi_1+3): If used after reload, make sure the operand
satisfies ANY_QI_REG_P.

From-SVN: r41114

23 years agoPARALLELs can contain ASM_OPERANDS.
Bernd Schmidt [Thu, 5 Apr 2001 12:06:36 +0000 (12:06 +0000)]
PARALLELs can contain ASM_OPERANDS.

From-SVN: r41112

23 years agoRevert more of previous change
Bernd Schmidt [Thu, 5 Apr 2001 11:55:22 +0000 (11:55 +0000)]
Revert more of previous change

From-SVN: r41111

23 years agoDaily bump.
GCC Administrator [Thu, 5 Apr 2001 07:16:13 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r41108

23 years agoconfig.gcc: Remove default for xm_file.
Zack Weinberg [Thu, 5 Apr 2001 04:34:24 +0000 (04:34 +0000)]
config.gcc: Remove default for xm_file.

* config.gcc: Remove default for xm_file.  Clean up local
machine type handling.  Remove settings of xm_file to
something that doesn't exist.  In the big switch, set xm_file,
don't append to it (the value before the big switch is always
null).  Don't force build_xm_file or host_xm_file to have a value.
* configure.in: Remove default for xm_file.  Do not special
case $cpu/xm-$cpu.h not existing.
* configure: Regenerate.

From-SVN: r41106

23 years agosimplify-rtx.c (simplify_binary_operation): Check for overflow when folding integer...
Diego Novillo [Thu, 5 Apr 2001 02:27:47 +0000 (02:27 +0000)]
simplify-rtx.c (simplify_binary_operation): Check for overflow when folding integer division and modulo operations.

2001-04-04  Diego Novillo  <dnovillo@redhat.com>

* simplify-rtx.c (simplify_binary_operation): Check for overflow
when folding integer division and modulo operations.

2001-04-04  Diego Novillo  <dnovillo@redhat.com>

* gcc.c-torture/compile/20010404-1.c: New test.

From-SVN: r41105

23 years agodwarf2out.c (output_cfi): Add 'for_eh' parameter, use PTR_SIZE instead of DWARF2_ADDR...
Andrew MacLeod [Thu, 5 Apr 2001 01:43:17 +0000 (01:43 +0000)]
dwarf2out.c (output_cfi): Add 'for_eh' parameter, use PTR_SIZE instead of DWARF2_ADDR_SIZE for EH addresses.

2001-04-04  Andrew MacLeod  <amacleod@redhat.com>

* dwarf2out.c (output_cfi): Add 'for_eh' parameter, use PTR_SIZE
instead of DWARF2_ADDR_SIZE for EH addresses.
(output_call_frame_info): Use PTR_SIZE instead of DWARF2_ADDR_SIZE for
EH addresses.

From-SVN: r41104

23 years agofinalize.c: - Accomodate finalization requests for static objects.
Hans Boehm [Thu, 5 Apr 2001 00:14:18 +0000 (00:14 +0000)]
finalize.c: - Accomodate finalization requests for static objects.

2001-04-04  Hans Boehm  <hans_boehm@hp.com>

* finalize.c:
- Accomodate finalization requests for static objects.
  (Will be required by hash synchronization.  May be needed
  in some configurations now.)

* gc_priv.h:
- Define MIN_WORDS.  All allocation requests are rounded
  up to at least this size.  Removes a subtle assumption that
  Java objects have a 2 word header.

* gcconfig.h:
- Adjust Linux/IA64 configuration for non-ancient kernels.
  (Necessary fix for IA64.)

* linux_threads.c:
- Fix syntax error in currently unused code.  Will be needed
  for Linux/PA-RISC.

* malloc.c:
- Handle MIN_WORDS.

* misc.c:
- Handle MIN_WORDS.
- Change stack cleaning code to typically clear about one tenth
  the memory it used to in the threads configuration.  Occasionally
  still clear more.  (This is really a fix for a long-standing
  and fairly significant performance bug with threads.)

* os_dep.c:
- Fix the code for finding the beginning of the data segment under
  Linux.  I believe this is necessary for some IA64 Linux
  distributions.  It will also helo other platforms, though those
  may additionally require a gcconfig.h adjustment.  (This basically
  works around the absence of a data_start or __data_start
  definition in glibc.)

* test.c:
- Handle rounding due to MIN_WORDS.

From-SVN: r41102

23 years agoMakefile.am (AUTOMAKE_OPTIONS): Remove no-installinfo.
Andreas Jaeger [Wed, 4 Apr 2001 23:38:53 +0000 (01:38 +0200)]
Makefile.am (AUTOMAKE_OPTIONS): Remove no-installinfo.

2001-04-04  Andreas Jaeger  <aj@suse.de>

* gcj/Makefile.am (AUTOMAKE_OPTIONS): Remove no-installinfo.
* gcj/Makefile.in: Rebuilt.
* Makefile.am (AUTOMAKE_OPTIONS): Remove no-installinfo.
* Makefile.in: Rebuilt.
* testsuite/Makefile.am (AUTOMAKE_OPTIONS): Remove no-installinfo.
* testsuite/Makefile.in: Rebuild.
* include/Makefile.am (AUTOMAKE_OPTIONS): Remove no-installinfo.
* include/Makefile.in: Rebuild.

From-SVN: r41100