platform/upstream/linaro-gcc.git
23 years ago * cpplex.c (_cpp_lex_token): Only warn if -Wcomment.
jakub [Wed, 11 Apr 2001 09:43:10 +0000 (09:43 +0000)]
* cpplex.c (_cpp_lex_token): Only warn if -Wcomment.

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

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

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

23 years agocp:
nathan [Wed, 11 Apr 2001 08:43:16 +0000 (08:43 +0000)]
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.

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

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

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

23 years ago * libgcc2.h (__terminate_func_ptr): Remove typedef.
rth [Wed, 11 Apr 2001 06:16:18 +0000 (06:16 +0000)]
    * 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.

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

23 years ago22001-04-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
bkoz [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.

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

23 years ago2001-04-10 Loren J. Rittle <ljrittle@acm.org>
ljrittle [Wed, 11 Apr 2001 05:25:00 +0000 (05:25 +0000)]
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.

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

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

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

23 years ago * testsuite/lib/libstdc++.exp (dg-test): Explicitly run
rth [Wed, 11 Apr 2001 00:03:51 +0000 (00:03 +0000)]
    * testsuite/lib/libstdc++.exp (dg-test): Explicitly run
        the program in the current directory.

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

23 years ago * java/lang/natString.cc (_Jv_NewStringUtf8Const): Register finalizer.
bothner [Tue, 10 Apr 2001 22:46:11 +0000 (22:46 +0000)]
* 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.

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

23 years ago * c-typeck.c (convert_arguments): -Wtraditional now activates
ghazi [Tue, 10 Apr 2001 22:40:48 +0000 (22:40 +0000)]
* 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.

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

23 years agoNew.
rth [Tue, 10 Apr 2001 22:22:06 +0000 (22:22 +0000)]
New.

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

23 years agoNew.
rth [Tue, 10 Apr 2001 22:22:06 +0000 (22:22 +0000)]
New.

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

23 years ago * gcse.c (update_ld_motion_stores): Don't use variable I for an insn.
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.
* flow.c (set_block_for_new_insns): Remove needless cast and
properly check for unset block number.

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

23 years ago * class.c (find_final_overrider_data): Add `candidates'.
mmitchel [Tue, 10 Apr 2001 18:06:26 +0000 (18:06 +0000)]
* 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.

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

23 years ago * typeck.c (build_array_ref): Push the array reference inside
rth [Tue, 10 Apr 2001 16:49:29 +0000 (16:49 +0000)]
    * typeck.c (build_array_ref): Push the array reference inside
        COMPOUND_EXPR and COND_EXPR.

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

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

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

23 years ago * libjava.lang/pr83.xfail: Removed.
tromey [Tue, 10 Apr 2001 14:27:41 +0000 (14:27 +0000)]
* 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.

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

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

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

23 years ago2001-04-10 Andrew MacLeod <amacleod@redhat.com>
amacleod [Tue, 10 Apr 2001 02:47:32 +0000 (02:47 +0000)]
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.

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

23 years ago 2001-04-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Mon, 9 Apr 2001 23:43:06 +0000 (23:43 +0000)]
    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.

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

23 years ago2001-04-09 Bo Thorsen <bo@suse.co.uk>
kazu [Mon, 9 Apr 2001 18:54:58 +0000 (18:54 +0000)]
2001-04-09  Bo Thorsen  <bo@suse.co.uk>

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

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

23 years ago2001-04-09 Andrew MacLeod <amacleod@redhat.com>
amacleod [Mon, 9 Apr 2001 17:30:06 +0000 (17:30 +0000)]
2001-04-09  Andrew MacLeod  <amacleod@redhat.com>

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

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

23 years ago2001-04-09 Andrew MacLeod <amacleod@redhat.com>
amacleod [Mon, 9 Apr 2001 15:20:26 +0000 (15:20 +0000)]
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.

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

23 years ago2001-04-09 Andrew MacLeod <amacleod@redhat.com>
amacleod [Mon, 9 Apr 2001 15:17:08 +0000 (15:17 +0000)]
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.

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

23 years ago2001-04-09 Andrew MacLeod <amacleod@redhat.com>
amacleod [Mon, 9 Apr 2001 14:27:05 +0000 (14:27 +0000)]
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.

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

23 years ago * i386.c (expand_fp_movcc): Fix condition reversal code.
hubicka [Mon, 9 Apr 2001 14:22:37 +0000 (14:22 +0000)]
* 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.

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

23 years ago(oops. only checked in ChangeLog previously)
cgf [Mon, 9 Apr 2001 14:20:13 +0000 (14:20 +0000)]
(oops.  only checked in ChangeLog previously)
* config/i386/xm-cygwin.h (GET_ENV_PATH_LIST): Eliminate obsolete function.
Remove include of sys/cygwin.h.

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

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

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

23 years ago * i386.md (truncdfsf2_*): Add i387->int/sse reg alternatives;
hubicka [Mon, 9 Apr 2001 13:10:22 +0000 (13:10 +0000)]
* 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.

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

23 years ago * dwarfout.c (DEBUG_ARANGES_BEGIN_LABEL): New label.
jason [Mon, 9 Apr 2001 11:56:21 +0000 (11:56 +0000)]
    * 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.

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

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

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

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

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

23 years ago* config/i386/xm-cygwin.h (GET_ENV_PATH_LIST): Eliminate obsolete function.
cgf [Mon, 9 Apr 2001 02:52:11 +0000 (02:52 +0000)]
* config/i386/xm-cygwin.h (GET_ENV_PATH_LIST): Eliminate obsolete function.
Remove include of sys/cygwin.h.

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

23 years ago* config/i386/cygwin.h (STARTFILE_SPEC): search */lib/w32api by default.
cgf [Mon, 9 Apr 2001 02:50:34 +0000 (02:50 +0000)]
* 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.

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

23 years ago 2001-04-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Sun, 8 Apr 2001 23:49:43 +0000 (23:49 +0000)]
    2001-04-08  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
        * gcc.c-torture/compile/20010408-1.c: New test.

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

23 years ago2001-04-08 Philip Blundell <philb@gnu.org>
pb [Sun, 8 Apr 2001 19:55:04 +0000 (19:55 +0000)]
2001-04-08  Philip Blundell  <philb@gnu.org>

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

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

23 years ago * include/bits/std_valarray.h(valarray<>::operator[]): Make
gdr [Sun, 8 Apr 2001 16:20:49 +0000 (16:20 +0000)]
  * include/bits/std_valarray.h(valarray<>::operator[]): Make
      inline.

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

23 years ago * cpperror.c (print_location): Don't special case <stdin>.
neil [Sun, 8 Apr 2001 10:01:18 +0000 (10:01 +0000)]
* 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.

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

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

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

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

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

23 years ago * config.gcc: Set default for xmake_file at top, not bottom.
zack [Sat, 7 Apr 2001 20:44:56 +0000 (20:44 +0000)]
* 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.

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

23 years ago * libjava.compile/weirddecl.xfail: Removed xfail-*.
tromey [Sat, 7 Apr 2001 20:00:50 +0000 (20:00 +0000)]
* libjava.compile/weirddecl.xfail: Removed xfail-*.
* libjava.compile/PR374.xfail: Removed.

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

23 years ago2001-04-06 Tom Tromey <tromey@redhat.com>
tromey [Sat, 7 Apr 2001 19:54:52 +0000 (19:54 +0000)]
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.

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

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

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

23 years ago2001-04-07 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
m.hayes [Sat, 7 Apr 2001 01:17:57 +0000 (01:17 +0000)]
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.

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

23 years ago * misc.c: Back out buggy changes to stack clearing code.
bothner [Sat, 7 Apr 2001 00:11:43 +0000 (00:11 +0000)]
* 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.

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

23 years ago2001-04-06 Joe Buck <jbuck@welsh-buck.org>
bkoz [Fri, 6 Apr 2001 22:21:29 +0000 (22:21 +0000)]
2001-04-06  Joe Buck  <jbuck@welsh-buck.org>

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

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

23 years ago2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
bkoz [Fri, 6 Apr 2001 22:20:03 +0000 (22:20 +0000)]
2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>

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

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

23 years ago2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 6 Apr 2001 22:11:31 +0000 (22:11 +0000)]
2001-04-06   Benjamin Kosnik  <bkoz@redhat.com>

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

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

23 years ago2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 6 Apr 2001 22:05:10 +0000 (22:05 +0000)]
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.

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

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

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

23 years ago * parse.y (analyze_clinit_body): Return true if the second operand
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.

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

23 years ago * Make-lang.in ($(srcdir)/java/parse-scan.c): Run bison from build
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.
($(srcdir)/java/parse.c): Likewise.

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

23 years ago2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 6 Apr 2001 19:43:23 +0000 (19:43 +0000)]
2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
            Alexandre Oliva  <aoliva@redhat.com>

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

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

23 years ago * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
gdr [Fri, 6 Apr 2001 19:14:27 +0000 (19:14 +0000)]
    * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
        * testsuite/26_numerics/c99_macros.cc: Add test.

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

23 years ago2001-04-06 Phil Edwards <pme@sources.redhat.com>
pme [Fri, 6 Apr 2001 18:48:20 +0000 (18:48 +0000)]
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.

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

23 years ago * jni.cc (wrap_value<jobject>, wrap_value<jclass>): Removed.
tromey [Fri, 6 Apr 2001 17:38:52 +0000 (17:38 +0000)]
* jni.cc (wrap_value<jobject>, wrap_value<jclass>): Removed.
(wrap_value<T*>): New specialization.
(_Jv_JNI_PopLocalFrame): Update env->locals.

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

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

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

23 years ago * gcc.c-torture/execute/20001203-2.c (main):
amylaar [Fri, 6 Apr 2001 14:37:56 +0000 (14:37 +0000)]
* gcc.c-torture/execute/20001203-2.c (main):
Count argument is of type __SIZE_TYPE__.

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

23 years ago2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 6 Apr 2001 08:00:55 +0000 (08:00 +0000)]
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.

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

23 years ago * configure.in: Add check for lstat.
neil [Fri, 6 Apr 2001 07:22:01 +0000 (07:22 +0000)]
* 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 '/'.

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

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

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

23 years ago2001-04-05 Alexandre Oliva <aoliva@redhat.com>
bkoz [Fri, 6 Apr 2001 07:06:32 +0000 (07:06 +0000)]
2001-04-05  Alexandre Oliva  <aoliva@redhat.com>

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

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

23 years ago * cp-tree.h (DECL_THIS_INLINE): Rename to DECL_DECLARED_INLINE_P.
mmitchel [Fri, 6 Apr 2001 06:33:07 +0000 (06:33 +0000)]
* 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.

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

23 years ago2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 6 Apr 2001 06:17:33 +0000 (06:17 +0000)]
2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>

* lang-specs.h: Add __DEPRECATED.

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

23 years ago2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 6 Apr 2001 06:16:38 +0000 (06:16 +0000)]
2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>

* lang-specs.h: Add __GXX_DEPRECATED.

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

23 years ago2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 6 Apr 2001 06:13:27 +0000 (06:13 +0000)]
2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>

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

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

23 years ago2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 6 Apr 2001 06:08:17 +0000 (06:08 +0000)]
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.

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

23 years ago * cppfiles.c (open_file): Fail directories silently, but
neil [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.
(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.

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

23 years ago2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 6 Apr 2001 01:47:11 +0000 (01:47 +0000)]
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.

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

23 years ago2001-04-05 Alexandre Petit-Bianco <apbianco@redhat.com>
apbianco [Thu, 5 Apr 2001 23:22:25 +0000 (23:22 +0000)]
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)

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

23 years ago2001-03-29 Alexandre Petit-Bianco <apbianco@redhat.com>
apbianco [Thu, 5 Apr 2001 23:07:30 +0000 (23:07 +0000)]
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)

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

23 years ago2001-04-04 Alexandre Petit-Bianco <apbianco@redhat.com>
apbianco [Thu, 5 Apr 2001 22:59:12 +0000 (22:59 +0000)]
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)

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

23 years ago2001-04-05 Phil Edwards <pme@sources.redhat.com>
pme [Thu, 5 Apr 2001 21:09:24 +0000 (21:09 +0000)]
2001-04-05  Phil Edwards  <pme@sources.redhat.com>

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

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

23 years ago* function.h (virtuals_instantiated): Declare.
dj [Thu, 5 Apr 2001 20:13:53 +0000 (20:13 +0000)]
* 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.

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

23 years ago2001-04-04 Alexandre Petit-Bianco <apbianco@redhat.com>
apbianco [Thu, 5 Apr 2001 19:45:57 +0000 (19:45 +0000)]
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)

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

23 years ago2001-03-27 Andrew Haley <aph@cambridge.redhat.com>
aph [Thu, 5 Apr 2001 18:10:36 +0000 (18:10 +0000)]
2001-03-27  Andrew Haley  <aph@cambridge.redhat.com>

        * lang-options.h: Add flag_check_references.

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

23 years ago * i386.c (x86_initialize_trampoline): New global function.
hubicka [Thu, 5 Apr 2001 17:18:42 +0000 (17:18 +0000)]
* 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.

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

23 years ago * i386.md (movdi_1_rex64): Allow SSE->SSE reg move.
hubicka [Thu, 5 Apr 2001 17:04:29 +0000 (17:04 +0000)]
* 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.

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

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

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

23 years ago * i386.c (function_arg): Return constm1_rtx for last argument.
hubicka [Thu, 5 Apr 2001 16:28:44 +0000 (16:28 +0000)]
* 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.

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

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

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

23 years ago2001-04-05 Bo Thorsen <bo@suse.de>
aj [Thu, 5 Apr 2001 16:12:10 +0000 (16:12 +0000)]
2001-04-05  Bo Thorsen  <bo@suse.de>

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

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

23 years ago * search.c (get_dynamic_cast_base_type): When building a new
amylaar [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.

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

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

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

23 years ago * i386.md (*andsi_1+3): If used after reload, make sure the operand
amylaar [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.

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

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

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

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

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

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

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

23 years ago * config.gcc: Remove default for xm_file. Clean up local
zack [Thu, 5 Apr 2001 04:34:24 +0000 (04:34 +0000)]
* 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.

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

23 years ago2001-04-04 Diego Novillo <dnovillo@redhat.com>
dnovillo [Thu, 5 Apr 2001 02:27:47 +0000 (02:27 +0000)]
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.

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

23 years ago2001-04-04 Andrew MacLeod <amacleod@redhat.com>
amacleod [Thu, 5 Apr 2001 01:43:17 +0000 (01:43 +0000)]
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.

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

23 years ago2001-04-04 Hans Boehm <hans_boehm@hp.com>
tromey [Thu, 5 Apr 2001 00:14:18 +0000 (00:14 +0000)]
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.

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

23 years ago2001-04-04 Andreas Jaeger <aj@suse.de>
tromey [Wed, 4 Apr 2001 23:38:53 +0000 (23:38 +0000)]
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.

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

23 years ago2001-04-04 Phil Edwards <pme@sources.redhat.com>
pme [Wed, 4 Apr 2001 22:20:52 +0000 (22:20 +0000)]
2001-04-04  Phil Edwards  <pme@sources.redhat.com>

* docs/doxygen/user.cfg.in:  Extract all non-private members;
  reduce confusing documentation output.

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

23 years ago * config/ia64/ia64.h (IA64_UNWIND_INFO): Disable.
rth [Wed, 4 Apr 2001 21:24:20 +0000 (21:24 +0000)]
    * config/ia64/ia64.h (IA64_UNWIND_INFO): Disable.
        * config/ia64/t-glibc (LIB2ADDEH): Disable.
        * config/ia64/t-ia64 (LIB2ADDEH): Disable.

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

23 years ago * configure.in (gcc_cv_as_leb128): Escape ".".
rth [Wed, 4 Apr 2001 21:18:09 +0000 (21:18 +0000)]
    * configure.in (gcc_cv_as_leb128): Escape ".".
        * configure: Rebuilt.

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

23 years ago * java-tree.h (CONSTANT_VALUE_P): New macro.
bothner [Wed, 4 Apr 2001 20:56:01 +0000 (20:56 +0000)]
* java-tree.h (CONSTANT_VALUE_P):  New macro.
* jcf-write.c (generate_classfile):  Use CONSTANT_VALUE_P.
* parse.y (maybe_build_class_init_for_field):  New static function.
(resolve_expression_name, resolve_field_access):  Use
maybe_build_class_init_for_field instead of build_class_init
This does not do the init if the field is compile-time-constant.
(resolve_field_access):  Simplify.

* parse.y (fold_constant_for_init):  Merge test into switch.

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

23 years ago * gcse.c (delete_null_pointer_checks_1): Add delete_list argument,
jakub [Wed, 4 Apr 2001 20:19:23 +0000 (20:19 +0000)]
* gcse.c (delete_null_pointer_checks_1): Add delete_list argument,
push insns to delete to it instead of deleting them.
(delete_null_pointer_checks): Delete insns from delete_list after
all delete_null_pointer_checks_1 passes are done.

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