OSDN Git Service

pf3gnuchains/gcc-fork.git
22 years agoMerge from glibc:
aj [Mon, 30 Jul 2001 11:54:36 +0000 (11:54 +0000)]
Merge from glibc:
        * regex.c: Declare wcs functions only if compiling with
        MBS_SUPPORT.
        Don't use #elif for traditional C.

        * regex.c: Revamp memory allocation for WCHAR functions to
        not use too much stack.

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

22 years ago * combine.c (try_combine): Avoid barrier after noop jumps
hubicka [Mon, 30 Jul 2001 10:54:10 +0000 (10:54 +0000)]
* combine.c (try_combine): Avoid barrier after noop jumps

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

22 years agoDaily bump.
gccadmin [Mon, 30 Jul 2001 07:16:11 +0000 (07:16 +0000)]
Daily bump.

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

22 years ago * java/util/GregorianCalendar.java (GregorianCalendar): Call
bryce [Mon, 30 Jul 2001 00:41:31 +0000 (00:41 +0000)]
* java/util/GregorianCalendar.java (GregorianCalendar): Call
setTimeInMillis() to set the default/current time.

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

22 years ago * cpphash.h (struct cpp_reader): Remove import_warning.
neil [Sun, 29 Jul 2001 22:27:20 +0000 (22:27 +0000)]
* cpphash.h (struct cpp_reader): Remove import_warning.
* cpplib.c (skip_rest_of_line): Don't bother turning off
macro expansion.
(parse_include): Move include handling to...
(do_include_common): ... here.  Move import warning from...
(do_import): ... here.
(do_pragma_poison): Don't do a callback for poison identifiers.
* cpplib.h (struct cpp_callbacks): Don't do poison callbacks.
* cppmain.c (setup_callbacks): Similarly.

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

22 years ago * rtlanal.c (parms_set, find_first_parameter_load): Break out from...;
hubicka [Sun, 29 Jul 2001 21:28:42 +0000 (21:28 +0000)]
* rtlanal.c (parms_set, find_first_parameter_load): Break out from...;
handle multiple sets.
* except.c (sjlj_mark_call_sites): .... here.
* gcse.c (insert_insn_end_bb): Use find_first_parameter_load.

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

22 years ago Suggested by Richard Henderson and Richard Kenner:
hubicka [Sun, 29 Jul 2001 19:44:42 +0000 (19:44 +0000)]
Suggested by Richard Henderson and Richard Kenner:
* combine.c (recog_for_combine): Use the fake recog
only if instruction does not match.
* rtl.h (NOOP_MOVE_INSN_CODE): New.
* rtlanal.c (noop_move_p): Always return 1 for NOOP_MOVE_INSN_CODE.

* combine.c (try_combine): Discover noop jump as direct jump.

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

22 years ago2001-07-29 Daniel Berlin <dan@cgsoftware.com>
dberlin [Sun, 29 Jul 2001 18:23:36 +0000 (18:23 +0000)]
2001-07-29  Daniel Berlin  <dan@cgsoftware.com>

* df.c (df_rd_global_compute): Add successors to worklist, not
current item.
(df_ru_global_compute): Ditto for preds.

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

22 years ago2001-07-27 Daniel Berlin <dan@cgsoftware.com>
dberlin [Sun, 29 Jul 2001 18:21:08 +0000 (18:21 +0000)]
2001-07-27  Daniel Berlin  <dan@cgsoftware.com>

* regclass.c (reg_scan_mark_refs): Increment REG_N_REFS when we
increment REG_N_SETS.

2001-07-26  Daniel Berlin  <dan@cgsoftware.com>

* sbitmap.h: New prototype for sbitmap_a_xor_b.

* sbitmap.c (sbitmap_a_xor_b): New function.
#ifdef the basic block stuff on the define IN_GCC.

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

22 years ago * cppexp.c (parse_defined): Always record the macro name.
neil [Sun, 29 Jul 2001 17:27:57 +0000 (17:27 +0000)]
* cppexp.c (parse_defined): Always record the macro name.
(lex): Don't worry about identifiers, or special-case
CPP_NOT here.
(_cpp_parse_expr): Figure out at the end of the routine
whether we saw a valid !defined() expression.
* cppfiles.c (stack_include_file): Update for mi_valid.
(_cpp_pop_file_buffer): Similarly.
* cpplex.c (_cpp_lex_token): Similarly.
* cpphash.h (enum mi_state, enum mi_ind, mi_state,
mi_if_not_defined, mi_lexed): Remove.
(mi_valid): New.
* cpplib.c (do_if): Simplify.
(do_endif, push_conditional, _cpp_handle_directive): Update
for renaming of mi_state to mi_valid.

* cpp.texi: Add index entries for digraphs, and add comment
that C++ refers to them as alternative tokens.

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

22 years ago * basic-block.h (CLEANUP_PRE_LOOP): New.
hubicka [Sun, 29 Jul 2001 17:01:53 +0000 (17:01 +0000)]
* basic-block.h (CLEANUP_PRE_LOOP): New.
* except.c (finish_eh_generation): Update call of cleanup_cfg.
* sibcall.c (optimize_sibling_calls): Likewise.
* toplev.c (rest_of_compilation): Likewise.
* flow.c (try_forward_edges): Take argument MODE;
do not forward over loop pre-headers if CLEANUP_PRE_LOOP.
(try_optimize_cfg): Update call of try_forward_edges.

* (validate_replace_rtx_1): Fix simplification of MINUS.

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

22 years ago PR preprocessor/3669
neil [Sun, 29 Jul 2001 14:40:45 +0000 (14:40 +0000)]
PR preprocessor/3669
* cppinit.c (init_dependency_output): Turn off dump requests
if sending dependencies to stdout.

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

22 years ago * HACKING: add description on updating namespace
mark [Sun, 29 Jul 2001 10:05:08 +0000 (10:05 +0000)]
* HACKING: add description on updating namespace

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

22 years agoDaily bump.
gccadmin [Sun, 29 Jul 2001 07:16:10 +0000 (07:16 +0000)]
Daily bump.

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

22 years ago * flow.c (life_analysis): Elide PROP_ALLOW_CFG_CHANGES if
rth [Sun, 29 Jul 2001 06:59:47 +0000 (06:59 +0000)]
    * flow.c (life_analysis): Elide PROP_ALLOW_CFG_CHANGES if
        not optimizing.

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

22 years ago * config/i386/sco5.h (DWARF2_DEBUGGING_INFO): Define.
rth [Sun, 29 Jul 2001 06:33:34 +0000 (06:33 +0000)]
    * config/i386/sco5.h (DWARF2_DEBUGGING_INFO): Define.

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

22 years ago * config/h8300/h8300.h (ENCODE_SECTION_INFO): Check to see if DECL
kazu [Sun, 29 Jul 2001 03:12:34 +0000 (03:12 +0000)]
* config/h8300/h8300.h (ENCODE_SECTION_INFO): Check to see if DECL
is VAR_DECL first to prevent an ICE.

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

22 years ago * varasm.c (immed_real_const_1): Don't elide special cases for
rth [Sun, 29 Jul 2001 02:46:18 +0000 (02:46 +0000)]
    * varasm.c (immed_real_const_1): Don't elide special cases for
        nested functions.
        (clear_const_double_mem): Clear const_tiny_rtx too.

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

22 years ago * dwarf2out.c (dw_val_class_offset): New.
rth [Sun, 29 Jul 2001 02:10:42 +0000 (02:10 +0000)]
* dwarf2out.c (dw_val_class_offset): New.
(struct dw_ranges_struct, dw_ranges_ref): New.
(ranges_table, ranges_table_allocated): New.
(ranges_table_in_use, RANGES_TABLE_INCREMENT): New.
(add_AT_offset, add_ranges, output_ranges): New.
(print_die, output_die): Handle dw_val_class_offset.
(attr_checksum, size_of_die, value_format): Likewise.
(gen_lexical_block_die): Handle non-contiguous blocks.
(gen_block_die): Likewise.
(dwarf2out_finish): Add a DW_AT_entry_pc to the compilation unit
if needed.  Dump the ranges table.
* final.c (final_start_function): Remove unnecessary notes and
rebuild the block tree before numbering the blocks.
* function.c (reorder_blocks_0): Walk the existing block tree
to unmark all blocks.
(reorder_blocks_1): Create block fragments when duplicate block
notes are seen.
(reorder_fix_fragments): New.
(reorder_blocks): Call it.
* tree.h (BLOCK_FRAGMENT_ORIGIN, BLOCK_FRAGMENT_CHAIN): New.

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

22 years ago * method.c (pending_inlines): Remove.
rth [Sun, 29 Jul 2001 01:39:17 +0000 (01:39 +0000)]
    * method.c (pending_inlines): Remove.

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

22 years ago * emit-rtl.c (adjust_address): Make a copy of the memory address.
rth [Sun, 29 Jul 2001 01:35:13 +0000 (01:35 +0000)]
    * emit-rtl.c (adjust_address): Make a copy of the memory address.

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

22 years ago * flow.c (add_to_mem_set_list): New function.
rth [Sun, 29 Jul 2001 01:13:53 +0000 (01:13 +0000)]
    * flow.c (add_to_mem_set_list): New function.
        (init_propagate_block_info): Use it.
        (mark_set_1): Likewise.
        (insn_dead_p): Canonicalize memory address for dead store
        comparison.  Allow wider mode stores to kill narrower mode stores.
        (invalidate_mems_from_autoinc): Use invalidate_mems_from_set.
        (invalidate_mems_from_set): Don't handle MEMs.

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

22 years ago * config/h8300/h8300.h: Fix formatting.
kazu [Sun, 29 Jul 2001 00:44:40 +0000 (00:44 +0000)]
* config/h8300/h8300.h: Fix formatting.

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

22 years ago * basic-block.h (EDGE_FREQUENCY): New macro.
hubicka [Sat, 28 Jul 2001 21:37:35 +0000 (21:37 +0000)]
* basic-block.h (EDGE_FREQUENCY): New macro.
* bb-reorder (fixup_reorder_chain): Set counts and frequencies
for new BB/edges.
* flow.c (find_sub_basic_blocks): Likewise.
(try_crossjump_to_edge): Likewise; use EDGE_FREQUENCY
(redirect_edge_and_branch): Use EDGE_FREQUENCY.

* predict.c (DEF_PREDICTOR): New argument FLAGS.
(HITRATE): New macro.
(PRED_FLAG_FIRST_MATCH): New constant.
(predictor_info): New field flgags.
(combine_predictions_for_insn): Use DS theory to combine
probabilities; set the edge probabilities when finished.
(estimate_probability): Avoid duplicated matches
of LOOP_BRANCH heuristics for nested loops; update comment.
* predict.def: Add flags for each prediction, set probabilities
according to B&L paper.
* predict.h (DEF_PREDICTOR): New argument FLAGS.

* profile.c (compute_branch_probabilities):  Cleanup way the edge
probabilities are computed and REG_BR_PROB notes are dropped; if
values does not match, emit error.
(init_branch_prob): Do error instead of warning when profile driven
feedback is missing or corrupt.

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

22 years ago * analyze_brprob: Avoid more overflows.
hubicka [Sat, 28 Jul 2001 20:39:02 +0000 (20:39 +0000)]
* analyze_brprob: Avoid more overflows.

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

22 years agoDaily bump.
gccadmin [Sat, 28 Jul 2001 07:16:09 +0000 (07:16 +0000)]
Daily bump.

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

22 years ago* ifcvt.c (noce_get_alt_condition): If the condition is a compare
dj [Sat, 28 Jul 2001 03:13:34 +0000 (03:13 +0000)]
* ifcvt.c (noce_get_alt_condition): If the condition is a compare
against a constant, try to adjust the compare to have the desired
constant in it so that min/max optimizations happen more often.

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

22 years ago * test_summary: Copy LAST_UPDATED UTC time to head of summary.
rth [Fri, 27 Jul 2001 21:10:29 +0000 (21:10 +0000)]
    * test_summary: Copy LAST_UPDATED UTC time to head of summary.

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

22 years ago * analyze_brprob: Avoid overflows.
hubicka [Fri, 27 Jul 2001 16:03:08 +0000 (16:03 +0000)]
* analyze_brprob: Avoid overflows.

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

22 years ago * flow.c (last_loop_beg_note): New function.
hubicka [Fri, 27 Jul 2001 15:55:41 +0000 (15:55 +0000)]
* flow.c (last_loop_beg_note): New function.
(redirect_edge_and_branch): Use it.
(split_edge): Likewise.

* alias.c (loop_p): Avoid uninitialized memory access.

* flow.c (try_forward_edges): Avoid accessing freed memory.

* flow.c (backward_edge_of_syntactic_loop_p): Avoid uninitialized
variable access.

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

22 years ago2001-07-26 Andrew Haley <aph@redhat.com>
aph [Fri, 27 Jul 2001 15:20:41 +0000 (15:20 +0000)]
2001-07-26  Andrew Haley  <aph@redhat.com>
        Joern Rennecke <amylaar@redhat.com>

        * config/sh/linux.h (CPP_DEFAULT_CPU_SPEC): New.
        (SUBTARGET_CPP_ENDIAN_SPEC): New.
        (SUBTARGET_CPP_SPEC): New.
        (CPP_SPEC): Remove.
        * config/sh/sh.h (SUBTARGET_CPP_ENDIAN_SPEC): New.
        (SUBTARGET_CPP_PTR_SPEC): New.
        (CPP_DEFAULT_CPU_SPEC): New.
        (EXTRA_SPECS): Add SUBTARGET_CPP_ENDIAN_SPEC,
        SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
        (CPP_SPEC): Break out parts into SUBTARGET_CPP_ENDIAN_SPEC,
        SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
        (SUBTARGET_CPP_SPEC): Define as an empty string.

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

22 years agocp:
nathan [Fri, 27 Jul 2001 15:12:49 +0000 (15:12 +0000)]
cp:
* class.c (mark_primary_virtual_base): Don't adjust base
offsets here.
(dfs_unshared_virtual_bases): Adjust them here.
(mark_primary_bases): Explain why we adjust at the end.
testsuite:
* g++.dg/abi/vbase8-21.C: New test.

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

22 years agocp:
nathan [Fri, 27 Jul 2001 15:07:40 +0000 (15:07 +0000)]
cp:
* class.c (finish_struct_1): When copying the primary base's
VFIELD, make sure we find it is at offset zero.
testsuite:
* g++.dg/abi/vbase8-10.C: New test.

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

22 years ago gcc/testsuite:
ro [Fri, 27 Jul 2001 12:21:56 +0000 (12:21 +0000)]
gcc/testsuite:
* lib/g++.exp (g++_set_ld_library_path): Renamed to
${tool}_set_ld_library_path.
Changed caller.
* lib/objc.exp (${tool}_set_ld_library_path): New, copied from
g++.exp.

libjava/testsuite:
* lib/libjava.exp (${tool}_set_ld_library_path): New, copied from
g++.exp.

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

22 years ago * doc/install.texi (Configuration): Properly link the host
gerald [Fri, 27 Jul 2001 08:48:38 +0000 (08:48 +0000)]
* doc/install.texi (Configuration): Properly link the host
specific instructions also when generating HTML.

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

22 years agoDaily bump.
gccadmin [Fri, 27 Jul 2001 07:16:44 +0000 (07:16 +0000)]
Daily bump.

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

22 years ago * contrib/gcc_update: Dump timestamp in LAST_UPDATED.
rth [Fri, 27 Jul 2001 06:00:45 +0000 (06:00 +0000)]
    * contrib/gcc_update: Dump timestamp in LAST_UPDATED.
        * .cvsignore: Add LAST_UPDATED.

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

22 years ago * flow.c (redirect_edge_and_branch_force): Test
wehle [Fri, 27 Jul 2001 04:35:18 +0000 (04:35 +0000)]
    * flow.c (redirect_edge_and_branch_force): Test
target->global_live_at_start.

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

22 years ago * simplify-rtx.c (avoid_constant_pool_reference): Export.
rth [Thu, 26 Jul 2001 23:47:15 +0000 (23:47 +0000)]
    * simplify-rtx.c (avoid_constant_pool_reference): Export.
        * rtl.h (avoid_constant_pool_reference): Declare it.
        * dwarf2out.c (add_location_or_const_value_attribute): Use it.
        (add_const_value_attribute): Use add_AT_unsigned for unsigned values.

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

22 years ago * lib/g++.exp (g++_exit, g++_check_unsupported_p): Removed.
scox [Thu, 26 Jul 2001 21:38:14 +0000 (21:38 +0000)]
* lib/g++.exp (g++_exit, g++_check_unsupported_p): Removed.
* lib/gcc.exp (gcc_check_compile, gcc_pass, gcc_fail, gcc_finish,
gcc_exit, gcc_check_unsupported_p):
Moved to gcc-deps.exp
* gcc-deps.exp: New file.

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

22 years ago * rtl.h (cleanup_barriers): Declare.
hubicka [Thu, 26 Jul 2001 20:36:01 +0000 (20:36 +0000)]
* rtl.h (cleanup_barriers): Declare.
* jump.c (cleanup_barriers): New function.
* toplev.c (rest_of_compilation): Call cleanup_barriers
before loop optimizer and after bb_reorder.

* flow.c (back_edge_of_syntactic_loop_p): New.
(split_edge): Use it.

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

22 years ago * glimits.h (_MACH_MACHLIMITS_H_): Delete.
ro [Thu, 26 Jul 2001 20:19:15 +0000 (20:19 +0000)]
* glimits.h (_MACH_MACHLIMITS_H_): Delete.

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

22 years ago * cse.c (cse_process_notes): Replace any registers if the address
denisc [Thu, 26 Jul 2001 18:31:01 +0000 (18:31 +0000)]
* cse.c (cse_process_notes): Replace any registers if the address
remains valid.

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

22 years ago * basic-block.h (PROP_ALLOW_CFG_CHANGES): Define.
wehle [Thu, 26 Jul 2001 18:06:45 +0000 (18:06 +0000)]
* basic-block.h (PROP_ALLOW_CFG_CHANGES): Define.
(PROP_FINAL): Include PROP_ALLOW_CFG_CHANGES.
(propagate_block): Update prototype.
* flow.c (update_life_info): Simplify the CFG and
recalculate the global regs which are alive when
removing dead code during a global update.
(propagate_block): Return non-zero if an INSN is
deleted.

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

22 years ago2001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
dje [Thu, 26 Jul 2001 16:27:36 +0000 (16:27 +0000)]
2001-07-26  Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>

* Makefile.in (LIBICONV): Define.

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

22 years ago * config/v850/v850.h (ENCODE_SECTION_INFO): Change order
clm [Thu, 26 Jul 2001 15:42:54 +0000 (15:42 +0000)]
    * config/v850/v850.h (ENCODE_SECTION_INFO):  Change order
        of conditional to avoid tree checking errors.

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

22 years ago * regmove.c (regmove_optimize): Don't replace a reg with
kazu [Thu, 26 Jul 2001 15:23:07 +0000 (15:23 +0000)]
* regmove.c (regmove_optimize): Don't replace a reg with
another reg of a different mode.

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

22 years ago2001-07-26 Andrew MacLeod <amacleod@redhat.com>
amacleod [Thu, 26 Jul 2001 13:59:22 +0000 (13:59 +0000)]
2001-07-26  Andrew MacLeod  <amacleod@redhat.com>

* params.def (PARAM_MAX_PENDING_LIST_LENGTH): Add parameter to
limit length of dependancy flush list.
* params.h (MAX_PENDING_LIST_LENGTH): Define.
* sched-int.h  (struct deps): Add pending_flush_length field.
* sched-deps.c (flush_pending_lists): Last_pending_memory_flush now
has 1 element in it.
(sched_analyze_1): Use MAX_PENDING_LIST_LENGTH.
(sched_analyze): After a jump, if the pending memory flush list is too
large, flush the pending lists.
(init_deps): Initialize pending_flush_length to 0.
* doc/invoke.texi (max_pending_list_length): Document parameter.

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

22 years ago2001-07-22 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
lerdsuwa [Thu, 26 Jul 2001 12:48:01 +0000 (12:48 +0000)]
2001-07-22  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>

* pt.c (tsubst_template_parms): Call maybe_fold_nontype_arg and
tsubst_expr for default template arguments.

2001-07-22  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>

* g++.old-deja/g++.pt/defarg14.C: New test.

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

22 years ago * java/util/Calendar.java (set): Never recompute fields here. They
bryce [Thu, 26 Jul 2001 11:21:45 +0000 (11:21 +0000)]
* java/util/Calendar.java (set): Never recompute fields here. They
will already be set if someone set time explicitly, and it can cause
problems to do so. Don't invalidate AM_PM setting if HOUR is set.
* java/util/GregorianCalendar.java (computeTime): Don't ignore an
HOUR setting if AM_PM is set. Don't try to ensure the HOUR value is
sane.
* java/text/SimpleDateFormat.java (defaultCentury): New field.
(readObject): Call set2DigitYearStart if appropriate so that
defaultCentury is calculated.
(SimpleDateFormat): Don't bother clearing calendar here. Call
computeCenturyStart().
(set2DigitYearStart): Calculate and set defaultCentury.
(format): Don't clone the calendar. Use "calendar" not "theCalendar"
everywhere.
(parse): Likewise. If the pattern is "y" or "yy" and it found exactly
2 numeric digits, use the 80-20 heuristic to parse the value into a
default century based on defaultCenturyStart.
(computeCenturyStart): Rewritten. Call set2DigitYearStart().

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

22 years ago * Makefile.in (regex.o): Add dependency on config.h.
gerald [Thu, 26 Jul 2001 08:41:40 +0000 (08:41 +0000)]
* Makefile.in (regex.o): Add dependency on config.h.

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

22 years agocp:
nathan [Thu, 26 Jul 2001 08:15:43 +0000 (08:15 +0000)]
cp:
* spew.c (yylex): Only copy the token's lineno, if it is
non-zero.
testsuite:
* g++.old-deja/g++.other/lineno5.C: New test.

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

22 years agocp:
nathan [Thu, 26 Jul 2001 08:12:00 +0000 (08:12 +0000)]
cp:
PR c++/3624
* call.c (resolve_args): Simplify, call
convert_from_reference.
(build_new_op): Resolve and convert from reference ARG1
earlier. Adjust ARG2 & ARG3 resolve and conversion.
testsuite:
* g++.old-deja/g++.pt/crash68.C: New test.

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

22 years agocp:
nathan [Thu, 26 Jul 2001 08:07:56 +0000 (08:07 +0000)]
cp:
* decl.c (last_function_parm_tags): Remove.
(current_function_parm_tags): Remove.
(init_decl_processing): Adjust.
(start_function): Adjust.
(store_parm_decls): Adjust.

PR c++/3152
* decl.c (grokdeclarator): Detect when a function typedef is
declaring a function, and create last_function_parms correctly.
testsuite:
* g++.old-deja/g++.other/crash42.C: New test.

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

22 years agoDaily bump.
gccadmin [Thu, 26 Jul 2001 07:16:10 +0000 (07:16 +0000)]
Daily bump.

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

22 years ago * toplev.c, varasm.c, final.c: Include xcoffout.h if appropriate.
neil [Thu, 26 Jul 2001 06:56:13 +0000 (06:56 +0000)]
* toplev.c, varasm.c, final.c: Include xcoffout.h if appropriate.
* dbxout.c (dbxout_global_decl): Move outside #ifdef.
* Makefile.in (varasm.o, final.o, toplev.o): Update dependencies.

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

22 years ago * analyze_brprob: Fix documentation.
aj [Thu, 26 Jul 2001 06:41:48 +0000 (06:41 +0000)]
* analyze_brprob: Fix documentation.

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

22 years ago * cpphash.h (struct_lexer_state): Delete was_skipping.
neil [Thu, 26 Jul 2001 06:02:47 +0000 (06:02 +0000)]
* cpphash.h (struct_lexer_state): Delete was_skipping.
Move skipping here from struct cpp_reader.
* cpplex.c (parse_identifier): Update.
(_cpp_lex_token): Don't skip tokens in a directive.
* cpplib.c (struct if_stack): Update.
(start_directive, end_directive): Don't change skipping state.
(_cpp_handle_directive): Update.
(do_ifdef, do_ifndef, do_if, do_elif): Similarly.
(do_else, do_endif): Update; only check for excess tokens if not
in a skipped conditional block.
(push_conditional): Update for new struct if_stack.

* gcc.dg/cpp/extratokens.c: Fix.
* gcc.dg/cpp/skipping2.c: New tests.

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

22 years ago * function.c (locate_and_pad_parm): Also pad initial offset
grahams [Thu, 26 Jul 2001 05:45:25 +0000 (05:45 +0000)]
    * function.c (locate_and_pad_parm): Also pad initial offset
        so that the total argument size also includes the padding.

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

22 years ago * gensupport.c (alter_output_for_insn): Correct enable checking failure
grahams [Thu, 26 Jul 2001 05:44:18 +0000 (05:44 +0000)]
    * gensupport.c (alter_output_for_insn): Correct enable checking failure
        change XSTR to XTMPL.

        (process_one_cond_exec): Likewise

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

22 years ago * function.c (locate_and_pad_parm): Also pad initial offset
grahams [Thu, 26 Jul 2001 05:43:34 +0000 (05:43 +0000)]
    * function.c (locate_and_pad_parm): Also pad initial offset
        so that the total argument size also includes the padding.

        * gensupport.c (alter_output_for_insn): Correct enable checking failure
        change XSTR to XTMPL.

        (process_one_cond_exec): Likewise

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

22 years ago2001-07-25 H.J. Lu <hjl@gnu.org>
hjl [Thu, 26 Jul 2001 05:04:48 +0000 (05:04 +0000)]
2001-07-25  H.J. Lu <hjl@gnu.org>

* configure.target (cpu_include_dir): Set to `config/cpu/mips'
for mips.

* config/cpu/mips/bits/atomicity.h: New.

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

22 years ago2001-07-25 H.J. Lu <hjl@gnu.org>
hjl [Thu, 26 Jul 2001 05:04:48 +0000 (05:04 +0000)]
2001-07-25  H.J. Lu <hjl@gnu.org>

* configure.target (cpu_include_dir): Set to `config/cpu/mips'
for mips.

* config/cpu/mips/bits/atomicity.h: New.

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

22 years ago * varasm.c (assemble_variable): Create DECL_RTL before setting
rth [Thu, 26 Jul 2001 01:28:01 +0000 (01:28 +0000)]
    * varasm.c (assemble_variable): Create DECL_RTL before setting
        TREE_ASM_WRITTEN.

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

22 years agoFix typo spotted by Richard.
hubicka [Wed, 25 Jul 2001 22:36:42 +0000 (22:36 +0000)]
Fix typo spotted by Richard.

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

22 years ago * predict.c (estimate_probability): Avoid duplicated predictions.
hubicka [Wed, 25 Jul 2001 22:23:09 +0000 (22:23 +0000)]
* predict.c (estimate_probability): Avoid duplicated predictions.

* loop.c (find_and_verify_loops): Grok multiple barriers.

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

22 years ago * config/alpha/alpha.c (print_operand, case '/'): Don't write '/'.
kenner [Wed, 25 Jul 2001 22:08:05 +0000 (22:08 +0000)]
* config/alpha/alpha.c (print_operand, case '/'): Don't write '/'.

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

22 years ago * dbxout.c: Consistently use putc instead of fputc.
kenner [Wed, 25 Jul 2001 22:03:03 +0000 (22:03 +0000)]
* dbxout.c: Consistently use putc instead of fputc.
  (print_wide_int): New function; call instead of direct fprintf.
(dbxout_type_index): Adjust calls of CHARS to be more accurate.
(dbxout_type_fields, dbxout_type_method_1): Likewise.
(dbxout_type_methods, dbxout_range_type, dbxout_type): Likewise.
(print_int_cst_octal): Likewise.
(print_octal): Show we wrote characters.
(dbxout_type): Set have_used_extensions in more places.

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

22 years ago * config/v850/v850.c (v850_va_arg): Use addr
clm [Wed, 25 Jul 2001 21:49:46 +0000 (21:49 +0000)]
    * config/v850/v850.c (v850_va_arg):  Use addr
        instead of valist to build incr.

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

22 years ago * flow.c (delete_dead_jumptables): New function.
hubicka [Wed, 25 Jul 2001 20:51:24 +0000 (20:51 +0000)]
* flow.c (delete_dead_jumptables): New function.
(life_analyzis): Call it.
* bb-reorder.c (skip_insns_after_block): Handle contradictive sequences.

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

22 years ago * except.c (reachable_handlers): Handle a region being removed
rth [Wed, 25 Jul 2001 19:59:39 +0000 (19:59 +0000)]
    * except.c (reachable_handlers): Handle a region being removed
        out from under a RESX.

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

22 years agoxfail until patch applied
jason [Wed, 25 Jul 2001 18:11:45 +0000 (18:11 +0000)]
xfail until patch applied

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

22 years ago * config/alpha/alpha.c (alpha_emit_conditional_move): Always
rth [Wed, 25 Jul 2001 17:34:04 +0000 (17:34 +0000)]
    * config/alpha/alpha.c (alpha_emit_conditional_move): Always
        swap GE/GT if its an fp comparison.

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

22 years ago * Makefile.in: Rebuilt.
tromey [Wed, 25 Jul 2001 16:40:04 +0000 (16:40 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (libgcj.jar): Correctly fail when bytecode
compilation fails.

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

22 years ago * call.c (joust): Only prefer a non-builtin candidate to a builtin
jason [Wed, 25 Jul 2001 15:04:32 +0000 (15:04 +0000)]
    * call.c (joust): Only prefer a non-builtin candidate to a builtin
        one if they have the same signature.

        * cvt.c (build_up_reference): Take DECL parm.  Check TREE_STATIC on
        it rather than toplevel_bindings_p.  Give it a mangled name if static.
        (convert_to_reference): Adjust.
        * decl2.c (get_temp_name): Lose.
        * mangle.c (mangle_ref_init_variable): New fn.
        (mangle_guard_variable): Strip the ref-init header.
        * cp-tree.h: Adjust.
        * decl.c (cp_finish_decl): Add the DECL_STMT after processing the
        initializer.
        (grok_reference_init): Always use DECL_INITIAL.

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

22 years ago * ssa.c (rename_insn_1): Do not wrap an assignment to a
law [Wed, 25 Jul 2001 14:41:35 +0000 (14:41 +0000)]
    * ssa.c (rename_insn_1): Do not wrap an assignment to a
        paradoxical SUBREG inside a SEQUENCE.  Fix minor formatting
        glitch.

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

22 years ago2001-07-19 Andrew Haley <aph@cambridge.redhat.com>
aph [Wed, 25 Jul 2001 14:38:29 +0000 (14:38 +0000)]
2001-07-19  Andrew Haley  <aph@cambridge.redhat.com>

* alias.c (rtx_equal_for_memref_p): Allow strings as types in
operands.

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

22 years ago * ssa-ccp.c (visit_expression): Handle CALL_INSNs that can
law [Wed, 25 Jul 2001 14:23:08 +0000 (14:23 +0000)]
    * ssa-ccp.c (visit_expression): Handle CALL_INSNs that can
        throw an exception.
        (visit_expression): When attempting to simplify an expression,
        retrieve any modes for arguments before they are simplified
        to constants.

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

22 years ago2001-07-25 Andrew MacLeod <amacleod@redhat.com>
amacleod [Wed, 25 Jul 2001 13:33:17 +0000 (13:33 +0000)]
2001-07-25  Andrew MacLeod  <amacleod@redhat.com>
    Janis Johnson  <janis@us.ibm.com>

* stmt.c (expand_goto): A nonlocal goto can be a call too.
* builtins.c (expand_builtin_longjmp): Reverse label and static chain
pointer parameters to match documented usage of nonlocal_goto.
* config/ia64/ia64.md (nonlocal_goto): Revert label and static chain
parameters to their correct order.
* config/sparc/sparc.md (nonlocal_goto): Revert label and static chain
parameters to their correct order.

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

22 years ago * config/ia64/ia64.h (STRIP_NAME_ENCODING): Strip out '*' as well.
amacleod [Wed, 25 Jul 2001 13:21:49 +0000 (13:21 +0000)]
* config/ia64/ia64.h (STRIP_NAME_ENCODING): Strip out '*' as well.

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

22 years agofix noreturn warnings
jason [Wed, 25 Jul 2001 12:06:20 +0000 (12:06 +0000)]
fix noreturn warnings

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

22 years agomoved to dg
jason [Wed, 25 Jul 2001 12:05:42 +0000 (12:05 +0000)]
moved to dg

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

22 years ago * gcc.c-torture/execute/20010724-1.c: New file.
ro [Wed, 25 Jul 2001 11:28:50 +0000 (11:28 +0000)]
* gcc.c-torture/execute/20010724-1.c: New file.
* gcc.c-torture/execute/20010724-1.x: New file.

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

22 years agocp:
nathan [Wed, 25 Jul 2001 09:38:26 +0000 (09:38 +0000)]
cp:
PR c++/3416
* call.c (build_conditional_expr): Recheck args after
conversions.
* cp-tree.h (build_conditional_expr): Move to correct file.
* typeck.c (decay_conversion): Diagnose any unknown types
reaching here.
(build_binary_op): Don't do initial decay or default
conversions on overloaded functions.
(build_static_cast): Don't do a decay conversion here.
testsuite:
* g++.old-deja/g++.other/cond7.C: New test.

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

22 years agocp:
nathan [Wed, 25 Jul 2001 09:00:37 +0000 (09:00 +0000)]
cp:
PR c++/3543
* typeck.c (condition_conversion): Resolve an OFFSET_REF.
* expr.c (cplus_expand_expr): An OFFSET_REF should never get here.
testsuite:
* g++.old-deja/g++.other/optimize4.C: New test.

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

22 years agocp:
nathan [Wed, 25 Jul 2001 08:54:06 +0000 (08:54 +0000)]
cp:
* class.c (build_vtbl_or_vbase_field): Remove, move into ...
(create_vtbl_ptr): ... here.

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

22 years agocp:
nathan [Wed, 25 Jul 2001 08:52:32 +0000 (08:52 +0000)]
cp:
* class.c (build_vbase_offset_vbtl_entries): Look for
non-primary base of which we are a sub vtable.
testsuite:
* g++.old-deja/g++.abi/vbase8-5.C: New test.

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

22 years ago * flow.c (find_sub_basic_blocks): Fix handling of the last BB in
rth [Wed, 25 Jul 2001 08:30:36 +0000 (08:30 +0000)]
    * flow.c (find_sub_basic_blocks): Fix handling of the last BB in
        the sequence.
        (make_edges): New argument update_p; populate the edge cache if set.
        (find_basic_blocks): Update make_edges invocation.

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

22 years ago * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
gdr [Wed, 25 Jul 2001 08:06:47 +0000 (08:06 +0000)]
    * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
        hypotl, atan2f, atan2l.  Remove from REPLACE_MATHFUNCS list.
        * aclocal.m4: Regenerate.
        * config.h.in: Likewise.
        * configure: Likewise.
        * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
        (EXTRA_DIST): Remove hypot.c hypotf.c.
        * libmath/Makefile.am: Regenerate.
        * libmath/hypotf.c: Remove.
        * libmath/hypot.c: Likewise.
        * libmath/hypotl.c: Likewise.
        * libmath/stubs.c: The macros seen here are HAVE_xxx, not
        _GLIBCPP_HAVE_xxx.  Add long double versions.

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

22 years agoDaily bump.
gccadmin [Wed, 25 Jul 2001 07:16:08 +0000 (07:16 +0000)]
Daily bump.

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

22 years ago * config/i960/i960.h (CPP_SPEC): Define _SOFT_FLOAT for -msoft-float.
rth [Wed, 25 Jul 2001 01:57:20 +0000 (01:57 +0000)]
    * config/i960/i960.h (CPP_SPEC): Define _SOFT_FLOAT for -msoft-float.

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

22 years ago * config/sparc/rtems.h (CPP_PREDEFINES): Remove redundant
rth [Wed, 25 Jul 2001 01:53:26 +0000 (01:53 +0000)]
    * config/sparc/rtems.h (CPP_PREDEFINES): Remove redundant
        -Acpu and -Amachine.h.
        * config/sparc/rtemself.h (CPP_PREDEFINES): Likewise.
        Corrected header to say ELF not a.out.
        * config/sparc/sparc.h (CPP_CPU_SPEC): Define _SOFT_FLOAT
        when given -msoft-float.

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

22 years ago * config.gcc (arm*-*-rtems*): Include crtinit.o and crtfini.o as
rth [Wed, 25 Jul 2001 01:49:45 +0000 (01:49 +0000)]
    * config.gcc (arm*-*-rtems*): Include crtinit.o and crtfini.o as
        extra multilib parts like arm-elf.
        (i960-*-coff*, i960-*-rtems): Should not use collect2.
        (m68020-*-elf*, m68k-*-elf*, m68k-*-rtems*): Include crtinit.o and
        crtfini.o as extra multilib parts.

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

22 years ago * configure.in: Add rtems as a supported thread model.
rth [Wed, 25 Jul 2001 01:44:29 +0000 (01:44 +0000)]
    * configure.in: Add rtems as a supported thread model.
        * gthr-rtems.h: Add missing entry point __gthread_active_p.
        * configure: Rebuilt.

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

22 years ago2001-07-24 Phil Edwards <pme@sources.redhat.com>
pme [Wed, 25 Jul 2001 01:34:03 +0000 (01:34 +0000)]
2001-07-24  Phil Edwards  <pme@sources.redhat.com>

* semantics.c (finish_this_expr):  Remove unused code.

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

22 years ago * stor-layout.c (get_mode_alignment): make it work when
rth [Wed, 25 Jul 2001 01:19:23 +0000 (01:19 +0000)]
    * stor-layout.c (get_mode_alignment): make it work when
        BITS_PER_UNIT is not a power of two.
        * builtins.c (get_pointer_alignment): Likewise.

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

22 years ago * simplify-rtx.c (avoid_constant_pool_reference): Coerce
rth [Tue, 24 Jul 2001 23:43:55 +0000 (23:43 +0000)]
    * simplify-rtx.c (avoid_constant_pool_reference): Coerce
        the retrieved constant into the expected mode.

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

22 years ago * flow.c (try_simplify_condjump): Avoid duplicated edges.
hubicka [Tue, 24 Jul 2001 23:42:40 +0000 (23:42 +0000)]
* flow.c (try_simplify_condjump): Avoid duplicated edges.
(verify_flow_info): Check for duplicated edges; clarify
error reporting.

* flow.c (block_label): Update basic_block_for_insn.
(commit_edge_insertions): Call compute_bb_for_insn.

* flow.c (purge_dead_edges): Handle conditional jumps and conditional
returns too.

* flow.c (redirect_edge_and_branch,
try_optimize_cfg): Use redirect_edge_succ_nodup
(redirect_edge_succ_nodup): New.
* basic_block.h (redirect_edge_succ_nodup): Declare.

* toplev.c (rest_of_compilation): Rebuild CFG before cfg_cleanup
after gcse.

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

22 years ago * flow.c (try_forward_edges): Accept fallthru edge; Update comment.
hubicka [Tue, 24 Jul 2001 22:34:43 +0000 (22:34 +0000)]
* flow.c (try_forward_edges): Accept fallthru edge; Update comment.
(try_crossjump_to_edge): Update commetns.
(try_crossjump_bb): Likewise.

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

22 years ago * combine.c (distribute_notes): Move set of need_refresh
rth [Tue, 24 Jul 2001 21:39:19 +0000 (21:39 +0000)]
    * combine.c (distribute_notes): Move set of need_refresh
        for noop_move_p down to catch all cases.

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