OSDN Git Service

pf3gnuchains/gcc-fork.git
22 years agoAdd ia64-hpux 128-bit long double support.
wilson [Tue, 26 Jun 2001 03:50:48 +0000 (03:50 +0000)]
Add ia64-hpux 128-bit long double support.

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

22 years ago * java/io/natFileDescriptorPosix.cc (open): Change error message
tromey [Tue, 26 Jun 2001 03:27:57 +0000 (03:27 +0000)]
* java/io/natFileDescriptorPosix.cc (open): Change error message
formatting.  From David Brownell.

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

22 years agoMake parallel builds work.
wilson [Tue, 26 Jun 2001 02:11:06 +0000 (02:11 +0000)]
Make parallel builds work.
* config/i960/t-960bare (i960-c.o): Add missing header dependencies.
* config/i960/t-vxworks960: Likewise.

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

22 years ago2001-06-25 Phil Edwards <pme@sources.redhat.com>
pme [Mon, 25 Jun 2001 20:57:51 +0000 (20:57 +0000)]
2001-06-25  Phil Edwards  <pme@sources.redhat.com>
            Kurt Garloff <garloff@suse.de>

PR libstdc++/3377
* src/cmath.cc:  New [version of an old] file; instantiate
__cmath_power to start with.
* src/Makefile.am (sources):  Add cmath.cc (and alphabetize).
* Makefile.in:  Regenerate.
* libio/Makefile.in:  Regenerate.
* libmath/Makefile.in:  Regenerate.
* libsupc++/Makefile.in:  Regenerate.
* src/Makefile.in:  Regenerate.
* testsuite/Makefile.in:  Regenerate.

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

22 years ago * libjava.lang/stub.xfail: Removed.
tromey [Mon, 25 Jun 2001 20:36:16 +0000 (20:36 +0000)]
* libjava.lang/stub.xfail: Removed.

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

22 years ago * configure.in: Recognize sparc*-sun-* host.
ro [Mon, 25 Jun 2001 20:04:56 +0000 (20:04 +0000)]
* configure.in: Recognize sparc*-sun-* host.
* configure: Regenerate.

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

22 years ago2001-06-25 Phil Edwards <pme@sources.redhat.com>
pme [Mon, 25 Jun 2001 19:26:25 +0000 (19:26 +0000)]
2001-06-25  Phil Edwards  <pme@sources.redhat.com>

* update_version:  Add command-line argument capability, also
bump version for libstdc++-v3, and exit with the return code from
the cvs commit.
* crontab:  Call update_version with arguments instead of
calling update_branch_version.
* update_branch_version:  Remove.

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

22 years ago2001-06-25 Dale Johannesen <dalej@apple.com>
shebs [Mon, 25 Jun 2001 18:32:24 +0000 (18:32 +0000)]
2001-06-25   Dale Johannesen    <dalej@apple.com>

        * bitmap.c (bitmap_last_bit_set): Fix a non-c89 usage (null actual
        argument to macro).

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

22 years ago * i386.md (movsi_insv_1, movsi_insv_1_rex64): Fix constraints.
hubicka [Mon, 25 Jun 2001 09:16:37 +0000 (09:16 +0000)]
* i386.md (movsi_insv_1, movsi_insv_1_rex64): Fix constraints.

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

22 years agoDaily bump.
gccadmin [Mon, 25 Jun 2001 07:16:54 +0000 (07:16 +0000)]
Daily bump.

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

22 years ago * libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Fix path for
aj [Mon, 25 Jun 2001 04:48:55 +0000 (04:48 +0000)]
* libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Fix path for
jni.h.

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

22 years ago * doc/c-tree.texi, doc/contrib.texi, doc/extend.texi,
jsm28 [Mon, 25 Jun 2001 00:21:28 +0000 (00:21 +0000)]
* doc/c-tree.texi, doc/contrib.texi, doc/extend.texi,
doc/gcc.texi, doc/gcov.texi, doc/install.texi, doc/invoke.texi,
doc/md.texi, doc/rtl.texi, doc/tm.texi: Be more consistent about
the use of "GCC" and related terms.
* doc/gcc.1, doc/gcov.1: Regenerate.

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

22 years ago * doc/extend.texi, doc/gcc.texi, doc/install-old.texi,
jsm28 [Sun, 24 Jun 2001 23:04:49 +0000 (23:04 +0000)]
* doc/extend.texi, doc/gcc.texi, doc/install-old.texi,
doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi: Remove
uses of @refill.

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

22 years ago * (movsi_insv_1, movsi_insv_1_rex64): Allow immediate operand.
hubicka [Sun, 24 Jun 2001 19:23:47 +0000 (19:23 +0000)]
* (movsi_insv_1, movsi_insv_1_rex64): Allow immediate operand.

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

22 years ago * builtins.c (expand_builtin_expect_jump): Disable if the
rth [Sun, 24 Jun 2001 16:09:29 +0000 (16:09 +0000)]
    * builtins.c (expand_builtin_expect_jump): Disable if the
        expression can't be re-evaluated.

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

22 years agoFix oinitialisation of frame pointer in interrupt functions.
nickc [Sun, 24 Jun 2001 09:46:02 +0000 (09:46 +0000)]
Fix oinitialisation of frame pointer in interrupt functions.
Fix compile time warnings

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

22 years agoDaily bump.
gccadmin [Sun, 24 Jun 2001 07:16:08 +0000 (07:16 +0000)]
Daily bump.

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

22 years ago * config/alpha/crtfastmath.c: New file.
rth [Sun, 24 Jun 2001 02:05:06 +0000 (02:05 +0000)]
    * config/alpha/crtfastmath.c: New file.
        * config/alpha/t-crtfm: New file.
        * config/alpha/elf.h (ENDFILE_SPEC): Use crtfastmath.o.
        * config/alpha/osf.h (ENDFILE_SPEC): Likewise.
        * config/alpha/t-crtbe (EXTRA_PARTS): Add pieces defined here.
        * config.gcc (alpha-{linux,freebsd,netbsd,osf}): Use alpha/t-crtfm;
        do not set extra_parts here.

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

22 years ago* libmath/stubs.c: Fix thinko.
gdr [Sat, 23 Jun 2001 23:47:39 +0000 (23:47 +0000)]
* libmath/stubs.c: Fix thinko.

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

22 years ago * doc/install-old.texi: Remove more documentation of configure
jsm28 [Sat, 23 Jun 2001 23:41:59 +0000 (23:41 +0000)]
* doc/install-old.texi: Remove more documentation of configure
options.
* doc/install.texi: Add it here.

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

22 years ago2001-06-24 David Edelsohn <dje@watson.ibm.com>
gdr [Sat, 23 Jun 2001 22:45:52 +0000 (22:45 +0000)]
2001-06-24  David Edelsohn <dje@watson.ibm.com>

        * libmath/stubs.c (sqrtf): Define.
        (tanf): Correct typo.

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

22 years ago * i386-protos.h (emit_i387_cw_initialization): Declare.
hubicka [Sat, 23 Jun 2001 17:41:33 +0000 (17:41 +0000)]
* i386-protos.h (emit_i387_cw_initialization): Declare.
* i386.md (movsi_insv_1): Remove '*'.
(fix_trunc?f?i2): Revamp to use control word parameters.
(fix_trunc?i_1): Likewise; update splitters.
(fix splitter): Remove.
* i386.c (MAX_386_STACK_LOCALS): set to 3.
(emit_i387_cw_initialization): New function.
(output_fix_trunc): Do not initialize control word;
kill dead code; simplify.

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

22 years ago2001-06-22 Jan van Male <jan.vanmale@fenk.wau.nl>
apbianco [Sat, 23 Jun 2001 16:22:20 +0000 (16:22 +0000)]
2001-06-22  Jan van Male  <jan.vanmale@fenk.wau.nl>

* zipfile.h: Use GCC_JCF_H instead of JCF_H.

(http://gcc.gnu.org/ml/gcc-patches/2001-06/msg01427.html)

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

22 years ago * cppmacro.c (make_string_token): Avoid warning.
neil [Sat, 23 Jun 2001 11:34:41 +0000 (11:34 +0000)]
* cppmacro.c (make_string_token): Avoid warning.
(cpp_macro_definition): Prepend the macro name.  Update
comments.
* cppmain.c (cb_define, dump_macro): Update for changes
to cpp_macro_definition.

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

22 years ago * flow.c (attempt_auto_inc, try_pre_increment_1): Fix typo.
hubicka [Sat, 23 Jun 2001 08:22:52 +0000 (08:22 +0000)]
* flow.c (attempt_auto_inc, try_pre_increment_1): Fix typo.

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

22 years agoDaily bump.
gccadmin [Sat, 23 Jun 2001 07:16:12 +0000 (07:16 +0000)]
Daily bump.

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

22 years ago2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sat, 23 Jun 2001 00:08:47 +0000 (00:08 +0000)]
2001-06-22  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/stl_iterator.h (reverse_iterator): Inherit from
iterator.
(back_insert_iterator): Same.
(front_insert_iterator): Same.
(insert_iterator): Same.

* testsuite/20_util/raw_storage_iterator.cc: Modify.
* testsuite/24_iterators/reverse_iterator.cc: New file.
* testsuite/24_iterators/back_insert_iterator.cc: New file.
* testsuite/24_iterators/front_insert_iterator.cc: New file.
* testsuite/24_iterators/insert_iterator.cc: New file.

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

22 years ago * flow.c (mark_set_1, attempt_auto_inc, mark_used_reg,
hubicka [Fri, 22 Jun 2001 23:27:48 +0000 (23:27 +0000)]
* flow.c (mark_set_1, attempt_auto_inc, mark_used_reg,
try_pre_increment_1): compute REG_FREQ using bb->frequency.

* regclass.c (loop_cost): Kill.
(frequency): New global variable.
(record_operand_costs): Replace loop_cost by frequency.
(scan_one_insn): Likewise.
(regclass): Likewise; set frequency according to bb->frequency.

* flow.c (split_edge): Set frequency.

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

22 years ago * predict.c (block_info_def): Add nvisited.
hubicka [Fri, 22 Jun 2001 23:19:22 +0000 (23:19 +0000)]
* predict.c (block_info_def): Add nvisited.
(propagate_freq): Count nvisited; re-queue delayed blocks; handle
irreducible regions.

* flow.c (dump_edge_info): Dump the probability of edge.
(combine_predictions_for_insn): Dump the basic block.

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

22 years ago * doc/gcc.texi: Update documentation of source files of C
jsm28 [Fri, 22 Jun 2001 23:10:33 +0000 (23:10 +0000)]
* doc/gcc.texi: Update documentation of source files of C
compiler.

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

22 years ago * doc/invoke.texi (-funsafe-math-optimizations): Document its
rth [Fri, 22 Jun 2001 22:59:44 +0000 (22:59 +0000)]
    * doc/invoke.texi (-funsafe-math-optimizations): Document its
        possible effects at link time.

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

22 years ago2001-06-22 Diego Novillo <dnovillo@redhat.com>
dnovillo [Fri, 22 Jun 2001 22:20:42 +0000 (22:20 +0000)]
2001-06-22  Diego Novillo  <dnovillo@redhat.com>

* basic-block.h (dump_edge_info): Declare.
(clear_edges): Declare.
(mark_critical_edges): Declare.
* flow.c (dump_edge_info): Remove static declaration.
(clear_edges): Ditto.
(mark_critical_edges): Ditto.
(free_basic_block_vars): Only clear edges and free basic block
array if basic_block_info is not NULL.
* ssa.c (compute_dominance_frontiers): Remove static declaration.
* ssa.h (compute_dominance_frontiers): Declare.

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

22 years ago * predict.c: (expected_value_to_br_prob): Check for const_true_rtx
rth [Fri, 22 Jun 2001 22:08:51 +0000 (22:08 +0000)]
    * predict.c: (expected_value_to_br_prob): Check for const_true_rtx
        instead of const1_rtx for true case.

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

22 years ago * config/ia64/crtfastmath.c: New file.
rth [Fri, 22 Jun 2001 21:35:25 +0000 (21:35 +0000)]
    * config/ia64/crtfastmath.c: New file.
        * config/ia64/t-ia64 (EXTRA_PARTS): Include it.
        * config/ia64/linux.h (ENDFILE_SPEC): New.

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

22 years ago2001-06-22 Phil Edwards <pme@sources.redhat.com>
pme [Fri, 22 Jun 2001 19:53:32 +0000 (19:53 +0000)]
2001-06-22  Phil Edwards  <pme@sources.redhat.com>

* include/*:  Revert comment/license change from yesterday for all
except libsupc++/unwind-cxx.h.
* src/bitset.cc:  Likewise.
* src/strstream.cc:  Likewise.

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

22 years ago2001-06-22 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
geoffk [Fri, 22 Jun 2001 19:42:03 +0000 (19:42 +0000)]
2001-06-22  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>

* config/h8300/h8300.c (asm_file_start): Remove reference to
"release F-1".

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

22 years ago * c-common.c (verify_tree): Check for x being NULL.
jsm28 [Fri, 22 Jun 2001 19:19:03 +0000 (19:19 +0000)]
* c-common.c (verify_tree): Check for x being NULL.
* doc/c-tree.texi: Document COMPOUND_BODY of an empty
COMPOUND_STMT.
Fixes PR c/3259.

testsuite:
* gcc.dg/20010622-1.c: New test.

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

22 years ago* config/arm/arm.h (struct machine_function): Remove ra_rtx.
dj [Fri, 22 Jun 2001 17:38:20 +0000 (17:38 +0000)]
* config/arm/arm.h (struct machine_function): Remove ra_rtx.
* config/arm/arm.c (arm_mark_machine_status): Remove ra_rtx.
(arm_return_addr): Use get_hard_reg_initial_val et al.
* config/d30v/d30v.h (struct machine_function): Remove ra_rtx.
* config/d30v/d30v.c (d30v_mark_machine_status): Remove ra_rtx.
(d30v_return_addr): Use get_hard_reg_initial_val et al.
* config/rs6000/rs6000.h (struct machine_function): Remove ra_rtx.
* config/rs6000/rs6000.c (rs6000_override_options): Don't set
mark_machine_status.
(rs6000_mark_machine_status): Remove.
(rs6000_return_addr): Use get_hard_reg_initial_val.
(rs6000_ra_ever_killed): Use has_hard_reg_initial_val.
* config/v850/v850.h (INIT_EXPANDERS): Delete.
* config/v850/v850.c (struct machine_function): Delete.
(v850_init_machine_status): Delete.
(v850_mark_machine_status): Delete.
(v850_free_machine_status): Delete.
(v850_return_addr): Use get_hard_reg_initial_val.
(v850_init_expanders): Delete.

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

22 years ago * predict.c (estimate_bb_frequencies): Do not handle conditional
hubicka [Fri, 22 Jun 2001 17:23:14 +0000 (17:23 +0000)]
* predict.c (estimate_bb_frequencies): Do not handle conditional
jumps jumping to fallthru basic block as conditional jumps.

* tm.texi (GCOV_TYPE_SIZE): Document.
* basic-block.h (gcov_type): Define.
(struct edge_def): Use gcov_type for count field.
(struct basic_block_def): Likewise.
* defaults.h (GCOV_TYPE_SIZE): Define.
* final.c (end_final): Use GCOV_TYPE_SIZE.
* flow.c (dump_edge_info, dump_flow_info, dump_bb): Print count fields
using HOST_WIDEST_INT_PRINT_DEC.
* gcov-io.h (__fetch_gcov_type, __store_gcov_type, __read_gcov_type,
__write_gcov_type): New.
(store_long): Remove.
* gcov.c (gcov_type): Set default.
(struct adj_list): Use gcov_type for arc_count.
(bb_info): Use gcov_type for succ_count, pred_count and exec_count.
(create_program_flow_graph): Read arc_count properly.
(solve_program_flow_graph): 'total' is gcov_type.
(output_data): Line_counts is gcov_type, print it properly.
* libgcc2.c (struct bb): Counts is gcov_type.
(__bb_exit_func): Use __read_gcov_type and __write_gcov_type.
* profile.c (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set default.
(GCOV_TYPE_SIZE): Define.
(struct bb_info): succ_count and pred_count is gcov_type.
(compute_branch_probabilities): Use __read_gcov_type,
print read edges to the dump file.
(total): Is gcov_type.
(gen_edge_profiler): Use GCOV_TYPE_SIZE.

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

22 years ago * regs.h (struct reg_info_def): Add freq field.
hubicka [Fri, 22 Jun 2001 17:18:23 +0000 (17:18 +0000)]
* regs.h (struct reg_info_def): Add freq field.
(REG_N_REFS): Update comment.
(REG_FREQ): New.
* regclass.c (scan_one_insn): Update REG_FREQ.
* flow.c (mark_set_1): Update REG_FREQ, make REG_N_SETS unweighted.
(attempt_auto_inc): Likewise.
(mark_used_reg): Likewise.
(try_pre_increment_1): Likewise.
* local-alloc.c (struct qty): Add freq field.
(alloc_qty): Set freq.
(update_equiv_regs): Set REG_FREQ.
(QTY_CMP_PRI): Use freq.
(combine_regs): Update qty->freq.
* global.c (struct allocno): Update comment for n_refs;
add freq field.
(local_reg_freq): New array.
(global_alloc): Update freq field;
allocate and initialize local_reg_freq.
(allocno_compare): Use freq field.
(find_reg): Likewise.
* reload1.c (count_pseudo): Use freq isntead of n_refs.
(count_spilled_pseudo): Likewise.

* tm.texi (GCOV_TYPE_SIZE): Document.
* basic-block.h (gcov_type): Define.
(struct edge_def): Use gcov_type for count field.
(struct basic_block_def): Likewise.
* defaults.h (GCOV_TYPE_SIZE): Define.
* final.c (end_final): Use GCOV_TYPE_SIZE.
* flow.c (dump_edge_info, dump_flow_info, dump_bb): Print count fields
using HOST_WIDEST_INT_PRINT_DEC.
* gcov-io.h (__fetch_gcov_type, __store_gcov_type, __read_gcov_type,
__write_gcov_type): New.
(store_long): Remove.
* gcov.c (gcov_type): Set default.
(struct adj_list): Use gcov_type for arc_count.
(bb_info): Use gcov_type for succ_count, pred_count and exec_count.
(create_program_flow_graph): Read arc_count properly.
(solve_program_flow_graph): 'total' is gcov_type.
(output_data): Line_counts is gcov_type, print it properly.
* libgcc2.c (struct bb): Counts is gcov_type.
(__bb_exit_func): Use __read_gcov_type and __write_gcov_type.
* profile.c (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set default.
(GCOV_TYPE_SIZE): Define.
(struct bb_info): succ_count and pred_count is gcov_type.
(compute_branch_probabilities): Use __read_gcov_type,
print read edges to the dump file.
(total): Is gcov_type.
(gen_edge_profiler): Use GCOV_TYPE_SIZE.

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

22 years ago2001-06-14 Andrew Haley <aph@cambridge.redhat.com>
aph [Fri, 22 Jun 2001 16:42:33 +0000 (16:42 +0000)]
2001-06-14  Andrew Haley  <aph@cambridge.redhat.com>

        * optabs.c (emit_libcall_block): When using non-call exceptions,
        don't mark libcalls never throwing.

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

22 years ago * libmath/stubs.c (powf): Fix typo.
gdr [Fri, 22 Jun 2001 08:57:02 +0000 (08:57 +0000)]
* libmath/stubs.c (powf): Fix typo.

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

22 years ago * libmath/stubs.c (tanhf): Fix typo.
gdr [Fri, 22 Jun 2001 07:53:41 +0000 (07:53 +0000)]
* libmath/stubs.c (tanhf): Fix typo.

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

22 years agoDaily bump.
gccadmin [Fri, 22 Jun 2001 07:16:42 +0000 (07:16 +0000)]
Daily bump.

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

22 years ago * libmath/stubs.c: New file.
gdr [Fri, 22 Jun 2001 03:43:48 +0000 (03:43 +0000)]
    * libmath/stubs.c: New file.
        * libmath/Makefile.am (libmath_la_SOURCES): Add.
        * libmath/Makefile.in.  Regenerate.

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

22 years ago * objc/objc-act.c (hash_init): Use xcalloc.
shebs [Fri, 22 Jun 2001 02:38:22 +0000 (02:38 +0000)]
    * objc/objc-act.c (hash_init): Use xcalloc.

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

22 years ago2001-06-21 Phil Edwards <pme@sources.redhat.com>
pme [Thu, 21 Jun 2001 23:03:00 +0000 (23:03 +0000)]
2001-06-21  Phil Edwards  <pme@sources.redhat.com>

* include/backward/algo.h:  Add "GPL plus runtime exception" comment.
* include/backward/algobase.h:  Likewise.
* include/backward/alloc.h:  Likewise.
* include/backward/bvector.h:  Likewise.
* include/backward/defalloc.h:  Likewise.
* include/backward/deque.h:  Likewise.
* include/backward/function.h:  Likewise.
* include/backward/hash_map.h:  Likewise.
* include/backward/hash_set.h:  Likewise.
* include/backward/hashtable.h:  Likewise.
* include/backward/heap.h:  Likewise.
* include/backward/iterator.h:  Likewise.
* include/backward/list.h:  Likewise.
* include/backward/map.h:  Likewise.
* include/backward/multimap.h:  Likewise.
* include/backward/multiset.h:  Likewise.
* include/backward/pair.h:  Likewise.
* include/backward/rope.h:  Likewise.
* include/backward/set.h:  Likewise.
* include/backward/slist.h:  Likewise.
* include/backward/stack.h:  Likewise.
* include/backward/strstream:  Likewise.
* include/backward/tempbuf.h:  Likewise.
* include/backward/tree.h:  Likewise.
* include/backward/vector.h:  Likewise.
* include/bits/pthread_allocimpl.h:  Likewise.
* include/bits/std_algorithm.h:  Likewise.
* include/bits/std_bitset.h:  Likewise.
* include/bits/std_deque.h:  Likewise.
* include/bits/std_functional.h:  Likewise.
* include/bits/std_iterator.h:  Likewise.
* include/bits/std_list.h:  Likewise.
* include/bits/std_map.h:  Likewise.
* include/bits/std_memory.h:  Likewise.
* include/bits/std_numeric.h:  Likewise.
* include/bits/std_queue.h:  Likewise.
* include/bits/std_set.h:  Likewise.
* include/bits/std_stack.h:  Likewise.
* include/bits/std_utility.h:  Likewise.
* include/bits/std_vector.h:  Likewise.
* include/bits/stl_algo.h:  Likewise.
* include/bits/stl_algobase.h:  Likewise.
* include/bits/stl_alloc.h:  Likewise.
* include/bits/stl_bvector.h:  Likewise.
* include/bits/stl_construct.h:  Likewise.
* include/bits/stl_deque.h:  Likewise.
* include/bits/stl_function.h:  Likewise.
* include/bits/stl_heap.h:  Likewise.
* include/bits/stl_iterator.h:  Likewise.
* include/bits/stl_iterator_base_funcs.h:  Likewise.
* include/bits/stl_iterator_base_types.h:  Likewise.
* include/bits/stl_list.h:  Likewise.
* include/bits/stl_map.h:  Likewise.
* include/bits/stl_multimap.h:  Likewise.
* include/bits/stl_multiset.h:  Likewise.
* include/bits/stl_numeric.h:  Likewise.
* include/bits/stl_pair.h:  Likewise.
* include/bits/stl_pthread_alloc.h:  Likewise.
* include/bits/stl_queue.h:  Likewise.
* include/bits/stl_raw_storage_iter.h:  Likewise.
* include/bits/stl_relops.h:  Likewise.
* include/bits/stl_set.h:  Likewise.
* include/bits/stl_stack.h:  Likewise.
* include/bits/stl_tempbuf.h:  Likewise.
* include/bits/stl_threads.h:  Likewise.
* include/bits/stl_tree.h:  Likewise.
* include/bits/stl_uninitialized.h:  Likewise.
* include/bits/stl_vector.h:  Likewise.
* include/bits/type_traits.h:  Likewise.
* include/ext/hash_map:  Likewise.
* include/ext/hash_set:  Likewise.
* include/ext/rope:  Likewise.
* include/ext/ropeimpl.h:  Likewise.
* include/ext/slist:  Likewise.
* include/ext/stl_hash_fun.h:  Likewise.
* include/ext/stl_hashtable.h:  Likewise.
* include/ext/stl_rope.h:  Likewise.
* libsupc++/unwind-cxx.h:  Likewise.
* src/bitset.cc:  Likewise.
* src/strstream.cc:  Likewise.

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

22 years ago * flow.c (entry_exit_blocks): Initialize frequency.
rth [Thu, 21 Jun 2001 21:33:33 +0000 (21:33 +0000)]
    * flow.c (entry_exit_blocks): Initialize frequency.
        (split_block): Copy it.
        (dump_flow_info): Dump it.

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

22 years ago * sh.c (barrier_align): Also recognize branch-around-a-jump-sequence
amylaar [Thu, 21 Jun 2001 21:17:51 +0000 (21:17 +0000)]
* sh.c (barrier_align): Also recognize branch-around-a-jump-sequence
from machine-depedent_reorg for purposes of alignment supression
when no delay slot insn has been added.

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

22 years ago PR preprocessor/3260
neil [Thu, 21 Jun 2001 20:56:07 +0000 (20:56 +0000)]
PR preprocessor/3260
* cppmacro.c (make_string_token): Null terminate.

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

22 years ago* config/alpha/alpha.h (struct machine_function): Remove.
dj [Thu, 21 Jun 2001 20:34:39 +0000 (20:34 +0000)]
* config/alpha/alpha.h (struct machine_function): Remove.
* config/alpha/alpha.c (integrate.h): Include.
(override_options): Don't set up machine_status hooks.
(alpha_init_machine_status): Remove.
(alpha_mark_machine_status): Remove.
(alpha_free_machine_status): Remove.
(alpha_return_addr): Use get_hard_reg_initial_val.
(alpha_gp_save_rtx): Likewise.
(alpha_ra_ever_killed): Use has_hard_reg_initial_val.

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

22 years agohandle interrupt_handler correctly
aldyh [Thu, 21 Jun 2001 19:37:35 +0000 (19:37 +0000)]
handle interrupt_handler correctly

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

22 years agoFix massive typo/thinko in previous ChangeLog entry.
pme [Thu, 21 Jun 2001 19:32:19 +0000 (19:32 +0000)]
Fix massive typo/thinko in previous ChangeLog entry.

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

22 years ago2001-06-21 Phil Edwards <pme@sources.redhat.com>
pme [Thu, 21 Jun 2001 19:00:08 +0000 (19:00 +0000)]
2001-06-21  Phil Edwards  <pme@sources.redhat.com>

* doc/install.texi:  Add 'c' to list of --enable-languages choices.

Index: doc/install.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/install.texi,v
retrieving revision 1.31
diff -u -3 -p -r1.31 install.texi
--- install.texi 2001/06/21 15:25:54 1.31
+++ install.texi 2001/06/21 18:59:08
@@ -546,7 +546,7 @@ their runtime libraries should be built.
 @var{langN} you can issue the following command in the
 @file{gcc} directory of your GCC source tree:@* @samp{grep language=
 */config-lang.in}@* Currently, you can use any of the following:
-@code{c++}, @code{f77}, @code{java} and @code{objc}.
+@code{c}, @code{c++}, @code{f77}, @code{java} and @code{objc}.
 @code{CHILL} is not currently maintained, and will almost
 certainly fail to compile.  Note that this switch does not work with
 EGCS 1.1.2 or older versions of egcs.  It is supported in GCC 2.95

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

22 years ago* integrate.c (mark_hard_reg_initial_vals): Check for NULL.
dj [Thu, 21 Jun 2001 17:55:00 +0000 (17:55 +0000)]
* integrate.c (mark_hard_reg_initial_vals): Check for NULL.

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

22 years ago* integrate.c (ggc.h): Include.
dj [Thu, 21 Jun 2001 16:50:56 +0000 (16:50 +0000)]
* integrate.c (ggc.h): Include.
(initial_value_pair, initial_value_struct,
setup_initial_hard_reg_value_integration): Add prototypes.
(expand_inline_function): Call
setup_initial_hard_reg_value_integration.
(has_func_hard_reg_initial_val, get_func_hard_reg_initial_val,
get_hard_reg_initial_val, has_hard_reg_initial_val): New functions
to keep track of values present at the start of a function.
(mark_hard_reg_initial_vals): New, for gc.
(setup_initial_hard_reg_value_integration): New.  Sets up pseudo
mappings for initial values.
(emit_initial_value_sets): New.  Emits code to set initial value
pseudos.
* integrate.h: Add prototypes for new functions.
* function.h (struct function): Add hard_reg_initial_vals field.
* function.c (integrate.h): Include.
(mark_function_status): Call
mark_hard_reg_initial_vals.
* toplev.c (integrate.h): Include.
(rest_of_compilation): Call emit_initial_value_sets.

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

22 years ago * doc/contrib.texi, doc/cpp.texi, doc/cppinternals.texi,
shebs [Thu, 21 Jun 2001 15:25:56 +0000 (15:25 +0000)]
* doc/contrib.texi, doc/cpp.texi, doc/cppinternals.texi,
doc/extend.texi, doc/gcc.texi, doc/install.texi, doc/invoke.texi,
doc/objc.texi, doc/tm.texi: Use the correct name "Objective-C"
everywhere instead of "Objective C".

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

22 years ago * include/java-interp.h (_Jv_InterpClass): Use JV_MARKOBJ_DECL.
tromey [Thu, 21 Jun 2001 15:17:21 +0000 (15:17 +0000)]
* include/java-interp.h (_Jv_InterpClass): Use JV_MARKOBJ_DECL.
From Corey Minyard.

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

22 years ago * include/bits/indirect_array.h (indirect_array<>::operator=):
gdr [Thu, 21 Jun 2001 12:01:09 +0000 (12:01 +0000)]
* include/bits/indirect_array.h (indirect_array<>::operator=):
Make copy and assignment operator public.  Implement.  Format.

* include/bits/valarray_array.h (__valarray_copy): Add overloads
for copy between index arrays.  Format.

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

22 years agoDaily bump.
gccadmin [Thu, 21 Jun 2001 07:16:54 +0000 (07:16 +0000)]
Daily bump.

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

22 years ago2001-06-20 Alexandre Petit-Bianco <apbianco@redhat.com>
apbianco [Thu, 21 Jun 2001 03:20:04 +0000 (03:20 +0000)]
2001-06-20  Alexandre Petit-Bianco  <apbianco@redhat.com>

* class.c (java_hash_tree_node): Fixed indentation in leading comment.
* parse.y (do_resolve_class): Moved comments out to leading comment
section. Removed local `start', New local `_ht' and
`circularity_hash.'  Record `enclosing' in hash table and search
it to detect circularity.  Use `enclosing' as an argument to
`lookup_cl.' Free the hash table when done.

(http://gcc.gnu.org/ml/gcc-patches/2001-06/msg01318.html )

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

22 years ago * doc/c-tree.texi, doc/contrib.texi, doc/extend.texi,
jsm28 [Thu, 21 Jun 2001 00:03:48 +0000 (00:03 +0000)]
* doc/c-tree.texi, doc/contrib.texi, doc/extend.texi,
doc/gcc.texi, doc/install-old.texi, doc/install.texi,
doc/invoke.texi, doc/rtl.texi: Consistently use "front end" and
"back end" as nouns and "front-end" and "back-end" as adjectives.

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

22 years ago * predict.c (estimate_probability): Fix loop bounds.
hubicka [Wed, 20 Jun 2001 19:55:43 +0000 (19:55 +0000)]
* predict.c (estimate_probability): Fix loop bounds.

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

22 years ago * toplev.c (rest_of_compilation): Run mark_constant_function
hubicka [Wed, 20 Jun 2001 17:12:34 +0000 (17:12 +0000)]
* toplev.c (rest_of_compilation): Run mark_constant_function
before profile-arcs.

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

22 years ago * predict.c (estimate_loops_at_level, propagate_freq
hubicka [Wed, 20 Jun 2001 17:10:11 +0000 (17:10 +0000)]
* predict.c (estimate_loops_at_level, propagate_freq
estimate_bb_frequencies, count_to_freqs): New functions.
(estimate_probability): Call estimate_bb_frequencies.
* basic-block.h (basic_block_def): Add field "freq".
(BB_FREQ_MAX): New constant.

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

22 years ago * lex.c (java_read_char): Disallow invalid and overlong
tromey [Wed, 20 Jun 2001 16:21:24 +0000 (16:21 +0000)]
* lex.c (java_read_char): Disallow invalid and overlong
sequences.  Fixes PR java/2319.

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

22 years ago * sh.c (barrier_align): Don't ask for alignment when seeing a
amylaar [Wed, 20 Jun 2001 16:04:31 +0000 (16:04 +0000)]
* sh.c (barrier_align): Don't ask for alignment when seeing a
branch-around-a-jump from machine_dependent_reorg.

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

22 years ago * ssa.c (rename_block): Update parameter to remove_phi_alternative
law [Wed, 20 Jun 2001 14:44:04 +0000 (14:44 +0000)]
    * ssa.c (rename_block): Update parameter to remove_phi_alternative
        (convert_from_ssa): Do create REG_DEAD and REG_UNUSED notes when
        re-running life analysis.

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

22 years ago * objc/objc-act.c (hash_init): Assume xmalloc always succeeds,
shebs [Wed, 20 Jun 2001 13:51:19 +0000 (13:51 +0000)]
* objc/objc-act.c (hash_init): Assume xmalloc always succeeds,
also use memset to clear the hash tables.
(hash_enter): Assume xmalloc always succeeds.
(hash_add_attr): Ditto.
(continue_class): Ditto.

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

22 years agoFix __builtin_expect on PowerPCs
meissner [Wed, 20 Jun 2001 07:18:18 +0000 (07:18 +0000)]
Fix __builtin_expect on PowerPCs

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

22 years agoDaily bump.
gccadmin [Wed, 20 Jun 2001 07:17:00 +0000 (07:17 +0000)]
Daily bump.

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

22 years ago2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 20 Jun 2001 03:06:44 +0000 (03:06 +0000)]
2001-06-19  Benjamin Kosnik  <bkoz@redhat.com>

* mknumeric_limits: Add static definitions, format.
* testsuite/18_support/numeric_limits.cc (test02): Add test.

* include/c_std/bits/std_cwchar.h: Include ctime.
* testsuite/17_intro/header_cwchar.cc : Check.

* include/c_std/bits/std_cwctype.h: Inject wctype.
* testsuite/17_intro/header_cwctype.cc: Update.

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

22 years ago2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 20 Jun 2001 03:05:31 +0000 (03:05 +0000)]
2001-06-19  Benjamin Kosnik  <bkoz@redhat.com>

* mknumeric_limits: Add static defintions, format.
* testsuite/18_support/numeric_limits.cc (test02): Add test.

* include/c_std/bits/std_cwchar.h: Include ctime.
* testsuite/17_intro/header_cwchar.cc : Check.

* include/c_std/bits/std_cwctype.h: Inject wctype.

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

22 years ago * doc/rtl.texi (Machine Modes): Correct description of
geoffk [Tue, 19 Jun 2001 18:30:28 +0000 (18:30 +0000)]
* doc/rtl.texi (Machine Modes): Correct description of
floating-point modes on machines with non-8-bit bytes.

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

22 years ago * ssa.c (remove_phi_alternative): Remove declaration. No longer
law [Tue, 19 Jun 2001 16:54:26 +0000 (16:54 +0000)]
   * ssa.c (remove_phi_alternative): Remove declaration.  No longer
        static.  Second argument is a pointer to a basic block structure,
        not a basic block index.
        (convert_to_ssa): Do not remove dead code.
        (convert_from_ssa): Do not remove dead code to create death notes.
        * ssa.h (remove_phi_alternative): Declare.

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

22 years ago * flow.c (delete_unreachable_blocks): Fix patch error in
law [Tue, 19 Jun 2001 15:03:01 +0000 (15:03 +0000)]
    * flow.c (delete_unreachable_blocks): Fix patch error in
        previous change (call to find_unreachable_blocks was lost).

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

22 years agoFix incorrect note handling.
bernds [Tue, 19 Jun 2001 14:34:23 +0000 (14:34 +0000)]
Fix incorrect note handling.

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

22 years ago * ssa.c (ssa_uses): Remove definition.
law [Tue, 19 Jun 2001 14:18:49 +0000 (14:18 +0000)]
    * ssa.c (ssa_uses): Remove definition.
        (apply_delayed_renames): Don't grow ssa_uses.
        (rename_block): Remove comment related to ssa_uses.
        (rename_registers): Do not initialize ssa_uses.
        (convert_from_ssa): Do not free ssa_uses.

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

22 years ago * Makefile.in (OBJS): Replace dce.o with ssa-dce.o
law [Tue, 19 Jun 2001 14:13:13 +0000 (14:13 +0000)]
    * Makefile.in (OBJS): Replace dce.o with ssa-dce.o
        (dependencies): Replace dce.c with ssa-dce.c and dce.o with
        ssa-dce.o.

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

22 years ago * POTFILES.in: Replace dce.c with ssa-dce.c.
law [Tue, 19 Jun 2001 14:04:13 +0000 (14:04 +0000)]
    * POTFILES.in: Replace dce.c with ssa-dce.c.

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

22 years ago * ssa-dce.c: Renamed from dce.c.
law [Tue, 19 Jun 2001 13:53:25 +0000 (13:53 +0000)]
    * ssa-dce.c: Renamed from dce.c.

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

22 years ago * except.c (initialize_handler_parm): Expect __cxa_begin_catch to
jason [Tue, 19 Jun 2001 13:32:57 +0000 (13:32 +0000)]
    * except.c (initialize_handler_parm): Expect __cxa_begin_catch to
        return pointers to data members by reference rather than by value.

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

22 years ago2001-06-19 Mark J. Roberts <mjr@statesmean.com>
warrenl [Tue, 19 Jun 2001 11:42:03 +0000 (11:42 +0000)]
2001-06-19  Mark J. Roberts  <mjr@statesmean.com>

* java/math/BigInteger.java (byteArrayToIntArray): Don't include
extraneous/malformed sign word.

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

22 years ago2001-06-19 Eric Christopher <echristo@redhat.com>
echristo [Tue, 19 Jun 2001 08:34:34 +0000 (08:34 +0000)]
2001-06-19  Eric Christopher <echristo@redhat.com>

* emit-rtl.c (gen_lowpart_common): Do not assume that SFmode
and DFmode are UNITS_PER_WORD and 2*UNITS_PER_WORD.  Use
GET_MODE_BITSIZE instead of GET_MODE_SIZE/UNITS_PER_WORD.

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

22 years agoDaily bump.
gccadmin [Tue, 19 Jun 2001 07:16:51 +0000 (07:16 +0000)]
Daily bump.

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

22 years ago2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 19 Jun 2001 01:51:33 +0000 (01:51 +0000)]
2001-06-18  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
* testsuite/20_util/raw_storage_iterator.cc: Same.

        * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
        operator new.
        (__mem_interface): New typedef for switching between malloc and new.
* testsuite/20_util/allocator_members.cc: New file.

* testsuite/20_util/comparisons.cc: New file.
* testsuite/20_util/pairs.cc: New file.

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

22 years ago * sh.c (output_branch): Delete bogus code.
amylaar [Tue, 19 Jun 2001 00:58:29 +0000 (00:58 +0000)]
* sh.c (output_branch): Delete bogus code.

* sh.c (initial_elimination_offset):
Fix FROM == RETURN_ADDRESS_POINTER_REGNUM case.

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

22 years ago * concat.c: Include <sys/types.h>.
rth [Mon, 18 Jun 2001 20:46:48 +0000 (20:46 +0000)]
    * concat.c: Include <sys/types.h>.

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

22 years ago * flow.c (find_unreachable_blocks): New function.
law [Mon, 18 Jun 2001 19:46:37 +0000 (19:46 +0000)]
* flow.c (find_unreachable_blocks): New function.
(delete_unreachable_blocks): Use find_unreachable_blocks.
* basic-block.h (find_unreachable_blocks): Declare.

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

22 years ago * dce.c (eliminate_dead_code): Fix formatting glitch.
law [Mon, 18 Jun 2001 18:57:41 +0000 (18:57 +0000)]
    * dce.c (eliminate_dead_code): Fix formatting glitch.

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

22 years ago * objc.dg: New directory.
shebs [Mon, 18 Jun 2001 16:48:37 +0000 (16:48 +0000)]
* objc.dg: New directory.
* objc.dg/dg.exp: New file.
* objc.dg/alias.m: New.
* objc.dg/class-1.m: New.
* objc.dg/class-2.m: New.
* objc.dg/const-str-1.m: New.
* objc.dg/const-str-2.m: New.
* objc.dg/id-1.m: New.
* objc.dg/method-1.m: New.
* objc.dg/super-class-1.m: New.
* lib/objc-dg.exp: New file.

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

22 years ago Implement the Named Return Value optimization.
jason [Mon, 18 Jun 2001 16:15:12 +0000 (16:15 +0000)]
    Implement the Named Return Value optimization.
        * c-common.h (RETURN_NULLIFIED_P): New macro.
        * c-semantics.c (genrtl_return_stmt): Check it.
        * cp-tree.h (struct cp_language_function): Add x_return_value.
        (current_function_return_value): Now a macro.
        * decl.c: Don't define it.
        (define_label, finish_case_label): Don't clear it.
        (init_decl_processing): Don't register it with GC.
        * semantics.c (genrtl_finish_function): Don't check it for
        no_return_label.  Copy the RTL from the return value to
        current_function_return_value and walk, calling...
        (nullify_returns_r): ...this new fn.
        * typeck.c (check_return_expr): Set current_function_return_value.

        * expr.c (clear_storage): Set TREE_NOTHROW on the decl for memset.
        (emit_block_move): Likewise.

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

22 years ago * unroll.c: Include predict.h.
hubicka [Mon, 18 Jun 2001 15:35:47 +0000 (15:35 +0000)]
* unroll.c: Include predict.h.
(unroll_loop): Drop prediction notes on preconditioning.
* predict.def (PRED_LOOP_PRECONDITIONG, PRED_LOOP_CONDITION):
New; add comments on the others.
* Makefile.in: (unroll.o): Add dependancy on predict.h.
* loop.c (strength_reduce): Fix branch prediction.

* stmt.c (emit_case_nodes): Optimize test whether index is in given
interval.

* predict.c (estimate_probability): Do not bail out early
when note is present.
(combine_predictions_for_insn): Fix note removal code.

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

22 years agotidy
jason [Mon, 18 Jun 2001 11:17:53 +0000 (11:17 +0000)]
tidy

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

22 years agoDaily bump.
gccadmin [Mon, 18 Jun 2001 07:16:16 +0000 (07:16 +0000)]
Daily bump.

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

22 years ago2001-06-18 Ben Elliston <bje@redhat.com>
bje [Mon, 18 Jun 2001 06:43:51 +0000 (06:43 +0000)]
2001-06-18  Ben Elliston  <bje@redhat.com>

* except.c (resolve_fixup_regions): Initialise "cleanup".

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

22 years ago * tm.texi: Document STDC_0_IN_SYSTEM_HEADERS.
neil [Sun, 17 Jun 2001 09:50:00 +0000 (09:50 +0000)]
* tm.texi: Document STDC_0_IN_SYSTEM_HEADERS.

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

22 years agoDaily bump.
gccadmin [Sun, 17 Jun 2001 07:16:08 +0000 (07:16 +0000)]
Daily bump.

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

22 years ago * expr.c (expand_expr, case ADDR_EXPR): If taking address of SAVE_EXPR,
kenner [Sun, 17 Jun 2001 00:18:44 +0000 (00:18 +0000)]
* expr.c (expand_expr, case ADDR_EXPR): If taking address of SAVE_EXPR,
use put_var_into_stack.

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

22 years ago * g++.dg/mangle1.C: Modify regexp to test for `[: \t\n]' at end
danglin [Sat, 16 Jun 2001 18:30:32 +0000 (18:30 +0000)]
* g++.dg/mangle1.C: Modify regexp to test for `[: \t\n]' at end
of label name.

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