gccadmin [Tue, 31 Jul 2001 07:16:44 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44505
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Tue, 31 Jul 2001 06:52:21 +0000 (06:52 +0000)]
* gcc.dg/cpp/macro8.c: New tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44502
138bc75d-0d04-0410-961f-
82ee72b054a4
hpenner [Tue, 31 Jul 2001 06:38:29 +0000 (06:38 +0000)]
*doc/install.texi: Add s390 s390x as new targets.
*doc/invoke.texi: Add documantation of S/390 and zSeries
target options.
* doc/md.texi: Add documantation of S/390 and zSeries constraints.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44501
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 31 Jul 2001 03:45:08 +0000 (03:45 +0000)]
* config/m68k/m68k.md: Replace all general_operand with
nonimmediate_operand for all destinations.
* config/m68k/m68k.c (not_sp_operand): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44499
138bc75d-0d04-0410-961f-
82ee72b054a4
wehle [Tue, 31 Jul 2001 03:24:06 +0000 (03:24 +0000)]
* flow.c (merge_blocks): Return 1 if an extra jump is inserted.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44498
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 31 Jul 2001 03:01:47 +0000 (03:01 +0000)]
* java/util/Date.java: Re-merged with Classpath.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44497
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 31 Jul 2001 02:41:52 +0000 (02:41 +0000)]
* config/ia64/ia64.h (DEBUG_RANGES_SECTION): New.
* config/mips/iris6.h (DEBUG_RANGES_SECTION): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44496
138bc75d-0d04-0410-961f-
82ee72b054a4
jsturm [Tue, 31 Jul 2001 02:13:46 +0000 (02:13 +0000)]
* libjava.lang/SyncTest.java: New file.
* libjava.lang/SyncTest.out: New file.
* libjava.lang/SyncTest.xfail: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44495
138bc75d-0d04-0410-961f-
82ee72b054a4
jsturm [Tue, 31 Jul 2001 01:59:44 +0000 (01:59 +0000)]
* java/net/natPlainDatagramSocketImpl.cc: Undefine bind if defined.
(_Jv_bind): New static function.
(bind): Use _Jv_bind.
* java/net/natPlainSocketImpl.cc: Undefine bind, connect if defined.
(_Jv_bind, _Jv_connect): New static functions.
(bind): Use _Jv_bind.
(connect): Use _Jv_connect.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44494
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 31 Jul 2001 01:49:30 +0000 (01:49 +0000)]
2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
* configure.target: Remove mips from cpu table.
* config/cpu/mips/bits/atomicity.h: Remove generic
versions. Comment sgidefs include.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44493
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 30 Jul 2001 21:30:40 +0000 (21:30 +0000)]
* config/m68k/m68k.h (TARGET_SWITCHES/TARGET_OPTIONS):
Add missing doc strings
* config/m68k/linux-aout.h (SUBTARGET_SWITCHES): Likewise
* config/m68k/linux.h (SUBTARGET_SWITCHES): Likewise
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44489
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 30 Jul 2001 20:30:23 +0000 (20:30 +0000)]
* i386.c (ix86_output_main_function_alignment_hack): New function.
(TARGET_ASM_FUNCTION_PROLOGUE): Default to it.
* flow.c (mark_dfs_back_edges): Move from loop_p ; mark back
edges by EDGE_DFS_BACK flag.
(dump_edge_info): Add dfs_back flag.
* basic-block.h (EDGE_DFS_BACK): New constant.
(mark_dfs_back_edges): Declare.
* alias.c (loop_p): Remove.
(mark_constant_function): Use mark_dfs_back_edges.
* reg-stack.c (block_info_def): Add predecesors counter and stack_out.
(reg_to_stack): Call mark_dfs_back_edges; count the predecesors.
(compensate_edge): Break out from ...
(convert_regs_1): ... here; do smart choosing of stack_out to copy.
(convert_regs_2): Set block_done once block is really done;
Do updating of the predecesors counts.
* toplev.c (rest_of_compilation): Recompute block_for_insn
before post-reload cfg_cleanup.
* function.c (thread_prologue_epilogue_insns):
Call set_block_for_new_insns when emitting prologue directly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44486
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Mon, 30 Jul 2001 20:24:59 +0000 (20:24 +0000)]
Add forgotten ChangeLog entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44485
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 30 Jul 2001 20:24:18 +0000 (20:24 +0000)]
2001-07-30 Tom Tromey <tromey@redhat.com>
Corey Minyard <minyard@acm.org>
* gnu/gcj/convert/natIconv.cc (done): New methods.
* gnu/gcj/convert/Output_iconv.java (done): New method.
* gnu/gcj/convert/Input_iconv.java (done): New method.
* gnu/gcj/convert/UnicodeToBytes.java (defaultEncodingClass):
Removed.
(getDefaultEncodingClass): Removed.
(getDefaultEncoder): Use getEncoder.
(done): New method.
(defaultEncoding, CACHE_SIZE, encoderCache, currCachePos): New
static fields.
* gnu/gcj/convert/BytesToUnicode.java (defaultDecodingClass):
Removed.
(defaultEncoding, CACHE_SIZE, decoderCache, currCachePos): New
static fields.
(getDefaultDecodingClass): Removed.
(getDefaultDecoder): Use getDecoder.
(getDecoder): Look up decoder in cache.
(done): New method.
* java/lang/natString.cc (init): Call `done' on converter.
(getBytes): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44484
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 30 Jul 2001 20:03:37 +0000 (20:03 +0000)]
* flow.c (mark_set_1): Use REG_FREQ_FROM_BB.
(attempt_auto_inc): LIkewise.
(mark_used_reg): Likewise.
(try_pre_increment_1): Likewise.
* regclass.c (regclass): Likewise.
* global.c (allocno_compare): Update comment; change scaling factor.
* local-alloc.c (QTY_CMP_PRI): Likewise.
* regs.h (REG_FREQ_FROM_BB): New.
(REG_FREQ_MAX): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44483
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 30 Jul 2001 19:30:26 +0000 (19:30 +0000)]
* MAITAINERS (Various maitainers: predict.def): Added myself.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44482
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Mon, 30 Jul 2001 19:23:38 +0000 (19:23 +0000)]
* concat.c: Include "config.h".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44481
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Mon, 30 Jul 2001 19:01:19 +0000 (19:01 +0000)]
2001-07-30 H.J. Lu <hjl@gnu.org>
* config/mips/linux.h (CPLUSPLUS_CPP_SPEC): Add
-D_GNU_SOURCE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44480
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Mon, 30 Jul 2001 18:04:33 +0000 (18:04 +0000)]
* jump.c: Add prototype for mark_modified_reg.
* cse.c (set_live_p): Add unused attribute.
* gcov.c (calculate_branch_probs): Use gcov_type to avoid
overflow.
(scan_for_source_files): Use long for count to avoid overflow.
(output_data): Likewise.
(output_data): Don't use string concatatenation to silence gcc
-traditional.
* predict.c: Fix typos and grammar.
* gcse.c (insert_insn_end_bb): Remove unused variables.
For cp:
* decl2.c: Remove unused var global_temp_name_counter.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44479
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 30 Jul 2001 17:58:32 +0000 (17:58 +0000)]
* java/lang/Integer.java: Merged with Classpath.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44478
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Mon, 30 Jul 2001 16:40:43 +0000 (16:40 +0000)]
2001-07-30 H.J. Lu (hjl@gnu.org)
* config/mips/linux.h (ASM_DECLARE_FUNCTION_NAME): Defined.
(ASM_DECLARE_FUNCTION_SIZE): Likewise.
(FUNCTION_NAME_ALREADY_DECLARED): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44476
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Mon, 30 Jul 2001 16:27:39 +0000 (16:27 +0000)]
Skip -mthumb as well as -mthumb-interwork when -mcpu=arm7 is specified.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44475
138bc75d-0d04-0410-961f-
82ee72b054a4
echristo [Mon, 30 Jul 2001 16:00:14 +0000 (16:00 +0000)]
2001-07-30 Eric Christopher <echristo@redhat.com>
* MAINTAINERS (Various maintainers: mips port): Added myself.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44474
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 30 Jul 2001 15:54:12 +0000 (15:54 +0000)]
* predict.def (noreturn, loop branch, loop exit): Mark as first
match heuristics.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44473
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Mon, 30 Jul 2001 15:48:29 +0000 (15:48 +0000)]
2001-07-25 Andrew Haley <aph@cambridge.redhat.com>
* configure.in (sh-*-linux*): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44472
138bc75d-0d04-0410-961f-
82ee72b054a4
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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