OSDN Git Service

pf3gnuchains/gcc-fork.git
16 years ago * cfgloop.c (flow_loop_entry_edges_find, flow_loop_exit_edges_find,
rakdver [Tue, 1 Mar 2005 13:44:46 +0000 (13:44 +0000)]
* cfgloop.c (flow_loop_entry_edges_find, flow_loop_exit_edges_find,
flow_loop_pre_header_scan, flow_loop_pre_header_find,
flow_loop_scan): Removed.
(flow_loop_dump): Do not dump removed fields.
(flow_loop_free): Do not free removed fields.
(flow_loops_find): Flags argument removed.  Do not call flow_loop_scan.
(loop_exit_edge_p): New function.
* cfgloop.h (struct loop): Removed fields pre_header, pre_header_edges,
num_pre_header_edges, entry_edges, num_entries, exit_edges,
num_exits, exits_doms.
(LOOP_TREE, LOOP_PRE_HEADER, LOOP_ENTRY_EDGES, LOOP_EXIT_EDGES,
LOOP_EDGES, LOOP_ALL): Removed.
(flow_loop_scan): Declaration removed.
(loop_exit_edge_p, mark_loop_exit_edges): Declare.
* cfgloopmanip.c (create_loop_notes): Do not pass flags to
flow_loops_find.
* ifcvt.c (mark_loop_exit_edges): Moved to cfgloopanal.c.
(if_convert): Call flow_loops_find and flow_loops_free
when calling mark_loop_exit_edges.
* cfgloopanal.c (mark_loop_exit_edges): Moved from
ifcvt.c.  Removed the flow_loops_find, flow_loops_free and
free_dominance_info calls.
* loop-init.c (flow_loops_find): Ditto.
* passes.c (rest_of_handle_branch_prob): Ditto.
* lambda-code.c (perfect_nestify): Do not call flow_loops_find.
* loop-unroll.c (analyze_insns_in_loop): Do not use
EDGE_LOOP_EXIT.
* predict.c (predict_loops): Do not call flow_loop_scan.
Use get_loop_exit_edges.
(tree_estimate_probability): Do not pass flags to flow_loops_find.
* tree-if-conv.c (bb_with_exit_edge_p): Take loop as argument.
Do not use EDGE_LOOP_EXIT.
(tree_if_convert_cond_expr, if_convertible_modify_expr_p): Pass loop
to bb_with_exit_edge_p.
(if_convertible_loop_p): Do not call flow_loop_scan.  Use
loop->single_exit.  Do not use EDGE_LOOP_EXIT.  Pass loop
to bb_with_exit_edge_p.
(combine_blocks): Pass loop to bb_with_exit_edge_p.  Do not use
EDGE_LOOP_EXIT.
* tree-loop-linear.c (linear_transform_loops): Do not call
flow_loop_scan.  Use loop->single_exit.
* tree-vect-analyze.c (vect_analyze_operations): Use loop->single_exit.
(vect_analyze_loop_form): Do not call flow_loop_scan.
* tree-vect-transform.c (vect_update_ivs_after_vectorizer): Use
loop->single_exit.
(vect_do_peeling_for_loop_bound): Use loop_preheader_edge and
loop->single_exit.
* tree-vectorizer.c (slpeel_update_phis_for_duplicate_loop,
slpeel_make_loop_iterate_ntimes, slpeel_can_duplicate_loop_p,
slpeel_tree_duplicate_loop_to_edge_cfg,
slpeel_verify_cfg_after_peeling, slpeel_tree_peel_loop_to_edge):
Use loop_preheader_edge and loop->single_exit.  Do not call
flow_loop_scan.

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

16 years ago(thumb_find_work_register): Check all of the argument registers to see if they
nickc [Tue, 1 Mar 2005 10:22:53 +0000 (10:22 +0000)]
(thumb_find_work_register): Check all of the argument registers to see if they
are free, and a couple of special cases where the last argument register but
can be proved to be available during the function's prologue.
(print_multi_reg, arm_compute_save_reg0_reg12_mask, output_return_instruction,
emit_multi_reg_push, thumb_pushpop, thumb_unexpanded_epilogue): Use unsigned
long as the type for the register bit-mask.
(thumb_compute_save_reg_mask): Likewise.  Also use thumb_find_work_register()
to ensure that there is agreement about which work register is going to be
used in the prologue.
(thumb_output_function_prologue): Use unsigned long as the type for the
register bit-mask.  Also delay pushing the link register if other high
registers are going to be pushed.
(thumb_compute_save_reg_mask, emit_multi_reg_push, print_multi-reg,
number_of_first_bit_set, thumb_pushpop): Remove redundant prototypes.

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

16 years agocp:
nathan [Tue, 1 Mar 2005 09:57:45 +0000 (09:57 +0000)]
cp:
PR c++/20232
* class.c (update_vtable_entry_for_fn): Don't crash on invalid
covariancy.

* cp-tree.g (THUNK_TARGET): Expand comment.
* method.c (use_thunk): Make sure we also use the target, if that
is a thunk.
testsuite:
PR c++/20232
* g++.dg/inherit/covariant12.C: New.

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

16 years agoinclude/
jbeulich [Tue, 1 Mar 2005 09:23:26 +0000 (09:23 +0000)]
include/
2005-03-01  Jan Beulich  <jbeulich@novell.com>

* libiberty.h: Declare unlink_if_ordinary.

libiberty/
2005-03-01  Jan Beulich  <jbeulich@novell.com>

* Makefile.in (CFILES): Add unlink-if-ordinary.c
(REQUIRED_OFILES): Add unlink-if-ordinary.o.
Add dependencies and rule for unlink-if-ordinary.o.
* unlink-if-ordinary.c: New.

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

16 years ago PR target/19819
danglin [Tue, 1 Mar 2005 04:34:00 +0000 (04:34 +0000)]
PR target/19819
* pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow allow hard registers during
and after reload in REG+REG indexed addresses without REG_POINTER
set in the base and not set in the index.

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

16 years ago2005-02-28 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 1 Mar 2005 03:52:37 +0000 (03:52 +0000)]
2005-02-28  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/tr1/2_general_utilities/memory/shared_ptr/
cons/auto_ptr_neg.cc: Correct line numbers.

* testsuite/testsuite_abi.cc: Add CXXABI_1.3.1.

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

16 years ago * config/sh/linux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
kkojima [Tue, 1 Mar 2005 03:39:03 +0000 (03:39 +0000)]
* config/sh/linux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
Don't undefine here.
(HANDLE_PRAGMA_PACK_PUSH_POP): Delete.
(NO_IMPLICIT_EXTERN_C, CPLUSPLUS_CPP_SPEC): Likewise.
(TARGET_OS_CPP_BUILTINS): Use LINUX_TARGET_OS_CPP_BUILTINS.
(LIB_SPEC, LINK_EH_SPEC, STARTFILE_SPEC, ENDFILE_SPEC,
LINK_GCC_C_SEQUENCE_SPEC, USE_LD_AS_NEEDED, TARGET_C99_FUNCTIONS):
Delete.
* config.gcc (sh*-*-linux*): Use config/linux.h.

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

16 years ago2005-02-28 Dale Johannesen <dalej@apple.com>
shebs [Tue, 1 Mar 2005 02:56:35 +0000 (02:56 +0000)]
2005-02-28  Dale Johannesen  <dalej@apple.com>
            Stan Shebs  <shebs@apple.com>

        Rewrite of 64-bit Darwin structure-by-value pass/return.
        * config/rs6000/rs6000.h (CUMULATIVE_ARGS): New fields
        intoffset, use_stack, named.
        * config/rs6000/rs6000.c (rs6000_darwin64_function_arg):  Remove.
        (rs6000_darwin64_record_arg_advance_flush):  New.
        (rs6000_darwin64_record_arg_advance_recurse): New.
        (rs6000_darwin64_record_arg_flush):  New.
        (rs6000_darwin64_record_arg_recurse):  New.
        (rs6000_darwin64_record_arg):  New.
        (rs6000_return_in_memory):  Remove AGGREGATE_TYPE_P check.
        (function_arg_boundary):  Handle 128-bit aligned structs.
        (function_arg_advance):  Rewrite darwin64 struct handling.
        (function_arg):  Call rs6000_darwin64_record_arg.
        (function_arg_partial_nregs):  Handle darwin64 structs.
        (rs6000_darwin64_function_value):  Remove.
        (rs6000_function_value):  Call rs6000_darwin64_record_arg.

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

16 years ago PR tree-optimization/20216
sayle [Tue, 1 Mar 2005 02:43:49 +0000 (02:43 +0000)]
PR tree-optimization/20216
* tree-chrec.c (tree_fold_factorial): Delete.
(tree_fold_binomial): Change argument list to take a return type
and change the type of K to unsigned int.  Rewrite to avoid explicit
evaluation of factorials, and (recursively) calling fold to perform
compile-time arithmetic.  Return NULL on (internal) overflow.
(chrec_evaluate): Change type of K to an unsigned int.  Avoid
calling tree_fold_binomial unnecessarily.  Return chrec_dont_know
if any intermediate calculation overflows.
(chrec_apply): Update call to chrec_evaluate.

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

16 years ago * hashtab.c (htab_find_slot_with_hash): Make function
bje [Tue, 1 Mar 2005 01:03:02 +0000 (01:03 +0000)]
* hashtab.c (htab_find_slot_with_hash): Make function
documentation clearer.

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

16 years agoDon't emit the unused counter word and label when profiling.
wilson [Tue, 1 Mar 2005 00:55:14 +0000 (00:55 +0000)]
Don't emit the unused counter word and label when profiling.
* config/mips/mips.h (NO_PROFILE_COUNTERS): Define.

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

16 years agofortran/
tobi [Tue, 1 Mar 2005 00:41:41 +0000 (00:41 +0000)]
fortran/
PR fortran/19479
* simplify.c (gfc_simplify_bound): Rename to ...
(simplify_bound): ... this and overhaul.

testsuite/
PR fortran/19479
* gfortran.dg/bound_1.f90: New test.

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

16 years agoDaily bump.
gccadmin [Tue, 1 Mar 2005 00:21:08 +0000 (00:21 +0000)]
Daily bump.

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

16 years ago * gcc.test-framework/dg-error-exp-P.c: Update message for new C parser.
janis [Mon, 28 Feb 2005 23:43:05 +0000 (23:43 +0000)]
* gcc.test-framework/dg-error-exp-P.c: Update message for new C parser.
* gcc.test-framework/dg-error-exp-XP.c: Ditto.

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

16 years ago * include/tr1/memory: Replace checked_deleter with (unchecked)
redi [Mon, 28 Feb 2005 21:43:51 +0000 (21:43 +0000)]
* include/tr1/memory: Replace checked_deleter with (unchecked)
_Sp_deleter as GCC warns about delete on incomplete types anyway.

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

16 years ago * include/tr1/memory: Add missing "inline" to __throw_bad_weak_ptr.
redi [Mon, 28 Feb 2005 21:34:34 +0000 (21:34 +0000)]
* include/tr1/memory: Add missing "inline" to __throw_bad_weak_ptr.

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

16 years ago2005-02-28 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Mon, 28 Feb 2005 20:04:41 +0000 (20:04 +0000)]
2005-02-28  Andrew Pinski <pinskia@physics.uc.edu>

        PR libobjc/20252
        * Makefile.in (GTHREAD_FLAGS): Remove.
        (ALL_CFLAGS): Remove usage of GTHREAD_FLAGS.
        * thr-objc.c: Include config.h.
        * configure.ac: Instead of looking at GCC's makefile, figure out if
        GTHREAD_FLAGS should be defined by looking at the `thread model'
        of the current gcc.
        * configure: Regenerate.
        * config.h.in: Regenerate.

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

16 years ago* trans-intrinsic.c (gfc_conv_intrinsic_iargc): remove boolean argument.
kargl [Mon, 28 Feb 2005 19:59:05 +0000 (19:59 +0000)]
* trans-intrinsic.c (gfc_conv_intrinsic_iargc): remove boolean argument.
  (gfc_conv_intrinsic_function): update function calls

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

16 years ago PR c/20245
jsm28 [Mon, 28 Feb 2005 19:22:41 +0000 (19:22 +0000)]
PR c/20245
* c-parser.c (c_parser_compound_statement): Return error_mark_node
instead of NULL_TREE on error.

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

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

16 years ago * config/rs6000/rs6000.c (EASY_VECTOR_15): Remove.
dje [Mon, 28 Feb 2005 19:07:36 +0000 (19:07 +0000)]
    * config/rs6000/rs6000.c (EASY_VECTOR_15): Remove.
        (EASY_VECTOR_15_ADD_SELF): Remove.
        (num_insns_constant_wide): Not static.
        (validate_condition_mode): Not static.
        (toc_relative_expr_p): Not static.
        (legitimate_indirect_address_p): Not static.
        (macho_lo_sum_memory_operand): Not static.
        (invalid_e500_subreg): Not static.
        (easy_vector_same): Not static.
        (easy_vector_splat_const): Not static.
        (RS6000_SYMBOL_REF_TLS_P): Remove.
        (any_operand): Delete.
        (any_parallel_operand): Delete.
        (count_register_operand): Delete.
        (altivec_register_operand): Delete.
        (xer_operand): Delete.
        (s8bit_cint_operand): Delete.
        (short_cint_operand): Delete.
        (u_short_cint_operand): Delete.
        (non_short_cint_operand): Delete.
        (exact_log2_cint_operand): Delete.
        (gpc_reg_operand): Delete.
        (cc_reg_operand): Delete.
        (cc_reg_not_cr0_operand): Delete.
        (reg_or_short_operand): Delete.
        (reg_or_neg_short_operand): Delete.
        (reg_or_aligned_short_operand): Delete.
        (reg_or_u_short_operand): Delete.
        (reg_or_cint_operand): Delete.
        (reg_or_arith_cint_operand): Delete.
        (reg_or_add_cint64_operand): Delete.
        (reg_or_sub_cint64_operand): Delete.
        (reg_or_logical_cint_operand): Delete.
        (got_operand): Delete.
        (got_no_const_operand): Delete.
        (easy_fp_constant): Delete.
        (easy_vector_constant): Delete.
        (easy_vector_constant_add_self): Delete.
        (zero_constant): Delete.
        (zero_fp_constant): Delete.
        (volatile_mem_operand): Delete.
        (offsettable_mem_operand): Delete.
        (mem_or_easy_const_operand): Delete.
        (add_operand): Delete.
        (non_add_cint_operand): Delete.
        (logical_operand): Delete.
        (non_logical_cint_operand): Delete.
        (mask_operand): Delete.
        (mask_operand_wrap): Delete.
        (mask64_operand): Delete.
        (mask64_2_operand): Delete.
        (and64_operand): Delete.
        (and64_2_operand): Delete.
        (and_operand): Delete.
        (reg_or_mem_operand): Delete.
        (lwa_operand): Delete.
        (symbol_ref_operand): Delete.
        (call_operand): Delete.
        (current_file_function_operand): Delete.
        (input_operand): Delete.
        (rs6000_nonimmediate_operand): Delete.
        (rs6000_tls_symbol_ref): Delete.
        (save_world_operation): Delete.
        (restore_world_operation): Delete.
        (load_multiple_operation): Delete.
        (store_multiple_operation): Delete.
        (vrsave_operation): Delete.
        (mfcr_operation): Delete.
        (mtcrf_operation): Delete.
        (lmw_operation): Delete.
        (stmw_operation): Delete.
        (branch_comparison_operator): Delete.
        (branch_positive_comparison_operator): Delete.
        (scc_comparison_operator): Delete.
        (trap_comparison_operator): Delete.
        (boolean_operator): Delete.
        (boolean_or_operator): Delete.
        (min_max_operator): Delete.
        * config/rs6000/rs6000.h (RS6000_SYMBOL_REF_TLS_P): Move to here.
        (EASY_VECTOR_15): Moved to here.
        (EASY_VECTOR_15_ADD_SELF): Move to here.
        (PREDICATE_CODES): Delete.
        * config/rs6000/rs6000-protos.h: Delete predicate functions.
        Declare functions no longer static.
        * config/rs6000/predicates.md: New.
        * config/rs6000/rs6000.md: Include predicates.md

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

16 years ago * directives.c (do_line): Save sysp early before line table is
dpatel [Mon, 28 Feb 2005 19:04:19 +0000 (19:04 +0000)]
   * directives.c (do_line): Save sysp early before line table is
       realloc'ed.

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

16 years ago * calls.c (emit_call_1): Don't use REG_ALWAYS_RETURN.
kazu [Mon, 28 Feb 2005 18:18:26 +0000 (18:18 +0000)]
* calls.c (emit_call_1): Don't use  REG_ALWAYS_RETURN.
(emit_library_call_value_1): Don't use LCT_ALWAYS_RETURN and
REG_ALWAYS_RETURN.
* cfgrtl.c (need_fake_edge_p): Likewise.
* combine.c (distribute_notes): Likewise.
* emit-rtl.c (try_split): Likewise.
* recog.c (peephole2_opimize): Likewise.
* reg-notes.def (ALWAYS_RETURN): Remove.
* rtl.h (LCT_ALWAYS_RETURN): Remove.
* tree-cfg.c (need_fake_edge_p): Don't use ECF_ALWAYS_RETURN.
* tree.h (ECF_ALWAYS_RETURN): Remove.

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

16 years ago2005-02-23 David Daney <ddaney@avtrex.com>
daney [Mon, 28 Feb 2005 17:22:30 +0000 (17:22 +0000)]
2005-02-23  David Daney  <ddaney@avtrex.com>

* configure.host: Don't use -mxgot for MIPS builds.

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

16 years ago PR middle-end/19874
sayle [Mon, 28 Feb 2005 17:21:20 +0000 (17:21 +0000)]
PR middle-end/19874
* tree-ssa.c (tree_ssa_useless_type_conversion_1): A conversion
between different machine modes is never a "useless" conversion.

* gcc.c-torture/execute/20050119-2.c: New test case.

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

16 years ago PR ada/15977
bosch [Mon, 28 Feb 2005 16:30:16 +0000 (16:30 +0000)]
PR ada/15977
* doc/contrib.texi: List contributors for Ada front end

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

16 years ago2005-02-28 Paolo Bonzini <bonzini@gnu.org>
bonzini [Mon, 28 Feb 2005 15:29:43 +0000 (15:29 +0000)]
2005-02-28 Paolo Bonzini <bonzini@gnu.org>

* simplify-rtx.c (simplify_unary_operation_1,
simplify_const_unary_operation): New, extracted from...
(simplify_unary_operation): ... this one.
(simplify_binary_operation_1,
simplify_const_binary_operation): New, extracted from...
(simplify_binary_operation): ... this one.
* rtl.h (simplify_const_unary_operation,
simplify_const_binary_operation): Add prototypes.

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

16 years ago2005-02-28 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Mon, 28 Feb 2005 15:09:55 +0000 (15:09 +0000)]
2005-02-28  Andrew Pinski  <pinskia@physics.uc.edu>

        PR bootstrap/20250
        * Makefile.tpl (HOST target installs): Fix copy and pasto, use install
        instead of check.
        * Makefile.in: Regenerate.

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

16 years ago * config/elfos.h: Revert my patch from 2005-02-25 since it broke
jules [Mon, 28 Feb 2005 14:14:47 +0000 (14:14 +0000)]
* config/elfos.h: Revert my patch from 2005-02-25 since it broke
building libjava and caused PR regression/20228.

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

16 years ago* Makefile.in: Regenerate to fix conflict between the previous two patches.
bonzini [Mon, 28 Feb 2005 14:05:30 +0000 (14:05 +0000)]
* Makefile.in: Regenerate to fix conflict between the previous two patches.

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

16 years agoFix missing ChangeLog entry:
tobi [Mon, 28 Feb 2005 13:52:48 +0000 (13:52 +0000)]
Fix missing ChangeLog entry:
2005-02-24  Tobias Schlueter  <tobias.schlueter@physik.uni-meunchen.de>

Unrevert previously reverted patch.  Adding this fix:
* module.c (find_true_name): Deal with NULL module.

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

16 years ago2005-05-25 Paolo Bonzini <bonzini@gnu.org>
bonzini [Mon, 28 Feb 2005 13:26:36 +0000 (13:26 +0000)]
2005-05-25  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/17383
* Makefile.def (target_modules): Remove "stage", now unnecessary.
* Makefile.tpl (HOST_SUBDIR): New substitution.
(STAGE_HOST_EXPORTS, EXPECT, HOST_LIB_PATH, USUAL_AR_FOR_TARGET,
USUAL_AS_FOR_TARGET, USUAL_DLLTOOL_FOR_TARGET, USUAL_GCC_FOR_TARGET,
USUAL_LD_FOR_TARGET, USUAL_NM_FOR_TARGET, USUAL_OBJDUMP_FOR_TARGET,
USUAL_RANLIB_FOR_TARGET, USUAL_WINDRES_FOR_TARGET): Use it.
(Host modules, Bootstrapped modules): Use it.
(Build modules, Target modules): Do not create symlink trees,
always configure out-of-srcdir.
(distclean): Try removing $(host_subdir) with rm before using rm -rf.
* configure.in (FLAGS_FOR_TARGET, CC_FOR_TARGET, GCJ_FOR_TARGET,
GFORTRAN_FOR_TARGET, CXX_FOR_TARGET, RAW_CXX_FOR_TARGET): Use
$(HOST_SUBDIR).  Create a symlink for host_subdir.

* Makefile.in: Regenerate.
* configure: Regenerate.

config:
2005-05-25  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/17383
* config/acx.m4 (GCC_TOPLEV_SUBDIRS): Set HOST_SUBDIR if an in-src
gcc build is going.

gcc:
2005-05-25  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/17383
* gcc/Makefile.in (host_subdir): New.
(build_objdir): New.  Replace ../$(build_subdir) with it throughout.
* gcc/configure: Regenerate.

libada:
2005-05-25  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/17383
* Makefile.in (GCC_DIR): Add $(HOST_SUBDIR) to the definition.

libjava:
2005-05-25  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/17383
* configure.ac: Call GCC_TOPLEV_SUBDIRS.
(COMPPATH): Removed.
(ZIP, GCJH): Replace it with ../$(host_subdir).
(built_gcc_dir): Add $(host_subdir).
* configure: Regenerate.
* Makefile.in, include/Makefile.in, testsuite/Makefile.in,
gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
external/w3c_dom/Makefile.in: Regenerate.

libobjc:
2005-05-25  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/17383
* configure.ac: Call GCC_TOPLEV_SUBDIRS.
(Determine CFLAGS for gthread): Use $host_subdir.
* configure: Regenerate.
* Makefile.in (host_subdir): New.
(INCLUDES): Use it.

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

16 years ago * config/alpha/t-osf4, config/arm/t-netbsd, config/ia64/t-hpux
zack [Mon, 28 Feb 2005 06:51:44 +0000 (06:51 +0000)]
* config/alpha/t-osf4, config/arm/t-netbsd, config/ia64/t-hpux
* config/pa/t-hpux-shlib (SHLIB_INSTALL): Create the
installation directory first.

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

16 years ago * README: Update the DejaGnu bug reporting address.
bje [Mon, 28 Feb 2005 05:28:47 +0000 (05:28 +0000)]
* README: Update the DejaGnu bug reporting address.
* lib/c-torture.exp: Remove the DejaGnu bug reporting address.
* lib/objc-torture.exp: Likewise.

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

16 years ago PR target/19065
hp [Mon, 28 Feb 2005 02:33:39 +0000 (02:33 +0000)]
PR target/19065
* config/cpu/cris/atomicity.h (__exchange_and_add): In asm, use
'Q' constraint, not 'm'.

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

16 years ago PR target/19065.
hp [Mon, 28 Feb 2005 02:21:40 +0000 (02:21 +0000)]
PR target/19065.
* config/cris/cris.h (EXTRA_CONSTRAINT_Q): Accept only (mem (reg)),
not including (reg). Do not check for reg being CRIS_PC_REGNUM.
(EXTRA_MEMORY_CONSTRAINT): Define as 'Q'.
* config/cris/cris.md: Tweak comments referring to Q.
  ("cmpsi", "cmphi", "cmpqi", "*movsi_internal", "movhi")
("movstricthi", "movqi", "movstrictqi", "movsf", "addsi3")
("addhi3", "addqi3", "subsi3", "subhi3", "subqi3")
("*expanded_andsi", "*expanded_andhi", "*andhi_lowpart", "andqi3")
("*andqi_lowpart", "iorsi3", "iorhi3", "iorqi3", "uminsi3"):
Insert spaces in constraints to align alternatives vertically for
readability.
("cmphi"): Ditto.  Add separate alternative for operand 0 "Q>",
operand 1: "M".

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

16 years ago* gfortran.dg/boz_1.f90: New test.
kargl [Mon, 28 Feb 2005 01:28:09 +0000 (01:28 +0000)]
* gfortran.dg/boz_1.f90: New test.
* gfortran.dg/boz_3.f90: New test.
* gfortran.dg/boz_4.f90: New test.

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

16 years ago* gfortran.dg/ishft.f90: Remove kind suffix from BOZ constant
kargl [Mon, 28 Feb 2005 00:40:03 +0000 (00:40 +0000)]
* gfortran.dg/ishft.f90:  Remove kind suffix from BOZ constant
* gfortran.fortran-torture/execute/intrinsic_mvbits.f90: ditto

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

16 years agoPR fortran/20058
kargl [Mon, 28 Feb 2005 00:38:12 +0000 (00:38 +0000)]
PR fortran/20058
* trans-types.c (gfc_max_integer_kind): Declare
  (gfc_init_kinds): Initialize it.
* gfortran.h (gfc_max_integer_kind): extern it.
* primary.c (match_boz_constant): Use it; remove gfortran extension
  of kind suffixes on BOZ literal constants

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

16 years agoDaily bump.
gccadmin [Mon, 28 Feb 2005 00:16:23 +0000 (00:16 +0000)]
Daily bump.

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

16 years ago2005-02-27 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sun, 27 Feb 2005 20:59:02 +0000 (20:59 +0000)]
2005-02-27  Toon Moene  <toon@moene.indiv.nluug.nl>

* ChangeLog: Fix typo in Peter O'Gorman's name.
* runtime/environ.c: Update copyright years.

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

16 years ago* io/write.c: Update copyright years.
tobi [Sun, 27 Feb 2005 20:11:01 +0000 (20:11 +0000)]
* io/write.c: Update copyright years.

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

16 years agolibgfortran/
tobi [Sun, 27 Feb 2005 19:47:12 +0000 (19:47 +0000)]
libgfortran/
2005-02-27  Fran��ois-Xavier Coudert  <coudert@clipper.ens.fr>

 PR libfortran/20101
* write.c (output_float): Adding special check for value 0.0 in
PE format.

gcc/testsuite/
2005-02-27  Fran��ois-Xavier Coudert  <coudert@clipper.ens.fr>

PR libfortran/20101
* gfortran.dg/write_0_pe_format.f90: New test.

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

16 years agoChanged my own email address
sveinse [Sun, 27 Feb 2005 18:50:47 +0000 (18:50 +0000)]
Changed my own email address

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

16 years ago* arith.c (gfc_check_real_range): Remove multiple returns
kargl [Sun, 27 Feb 2005 17:32:26 +0000 (17:32 +0000)]
* arith.c (gfc_check_real_range):  Remove multiple returns
  (check_result): New function.
  (gfc_arith_uminus,gfc_arith_plus,gfc_arith_times,
  gfc_arith_divide,gfc_arith_power,gfc_arith_minus): Use it.

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

16 years ago PR c++/20206
jakub [Sun, 27 Feb 2005 17:13:28 +0000 (17:13 +0000)]
PR c++/20206
* decl.c (cxx_comdat_group): Put thunks for
TARGET_USE_LOCAL_THUNK_ALIAS_P (function) functions into the same
comdat group as the thunk target.

* g++.dg/opt/thunk2.C: New test.
* g++.dg/opt/covariant1.C: New test.

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

16 years ago PR rtl-optimization/17728
danglin [Sun, 27 Feb 2005 16:32:12 +0000 (16:32 +0000)]
PR rtl-optimization/17728
* pa.md (mulsi3, divsi3, udivsi3, modsi3): Change predicate for
operand 0 from general_operand to move_dest_operand.

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

16 years agolibgfortran/
tobi [Sun, 27 Feb 2005 16:17:56 +0000 (16:17 +0000)]
libgfortran/
* io/write.c (output_float): Fix typo in condition.

gcc/testsuite/
* gfortran.dg/e_d_fmt.f90: New test.

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

16 years ago * treelang.texi: Fix a typo.
kazu [Sun, 27 Feb 2005 13:55:32 +0000 (13:55 +0000)]
* treelang.texi: Fix a typo.

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

16 years ago * gcc.dg/asm-b.c: Fix comment typos.
kazu [Sun, 27 Feb 2005 13:49:37 +0000 (13:49 +0000)]
* gcc.dg/asm-b.c: Fix comment typos.

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

16 years ago2005-02-26 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Sun, 27 Feb 2005 04:37:23 +0000 (04:37 +0000)]
2005-02-26  Andrew Pinski  <pinskia@physics.uc.edu>

        * gcc.dg/tree-ssa/inline_asm-2.c: link_error produces
        a V_MAY_DEF also.

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

16 years ago * pa/elf.h, pa/som.h (ASM_OUTPUT_EXTERNAL): Use assemble_name_raw
danglin [Sun, 27 Feb 2005 04:22:06 +0000 (04:22 +0000)]
* pa/elf.h, pa/som.h (ASM_OUTPUT_EXTERNAL): Use assemble_name_raw
instead of trying to save and restore TREE_SYMBOL_REFERENCED.
* pa/pa64-hpux.h (ASM_OUTPUT_TYPE_DIRECTIVE): Define.
(ASM_OUTPUT_EXTERNAL): Don't save and restore TREE_SYMBOL_REFERENCED.

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

16 years ago * seh_init.c (__gnat_SEH_error_handler): Mark third and fourth
dannysmith [Sun, 27 Feb 2005 01:12:13 +0000 (01:12 +0000)]
* seh_init.c (__gnat_SEH_error_handler): Mark third and fourth
parameters as unused.

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

16 years agoDaily bump.
gccadmin [Sun, 27 Feb 2005 00:16:40 +0000 (00:16 +0000)]
Daily bump.

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

16 years ago2005-02-26 Earl Chew <earl_chew@agilent.com>
paolo [Sat, 26 Feb 2005 23:34:36 +0000 (23:34 +0000)]
2005-02-26  Earl Chew  <earl_chew@agilent.com>
    Christopher Jefferson  <chris@bubblescope.net>

* include/bits/stl_tree.h (_Rb_tree<>::_M_insert): Don't leak
memory if _M_key_compare throws.

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

16 years ago(top level)
neroden [Sat, 26 Feb 2005 21:43:33 +0000 (21:43 +0000)]
(top level)
Merged from libada-gnattools-branch:
2004-11-28  Nathanael Nerode  <neroden@gcc.gnu.org>

* gnattools: New directory.
* Makefile.def: Add gnattools as a module, depending on target-libada.
* Makefile.in: Regenerate.
* configure.in: Include gnattools in host_tools; disable it if ada
is disabled.
* configure: Regenerate.

(gcc)
* configure.ac: Rename cc_for_cross_gnattools to host_cc_for_libada.
* configure: Regenerate.
        * libada-mk.in: Remove CC; rename
cc_for_cross_gnattools / cc_set_by_configure to host_cc_for_libada.

(gcc/ada)
Partial merge from libada-gnattools-branch:

2004-12-02  Nathanael Nerode  <neroden@gcc.gnu.org>
        * Makefile.in: Move gnattools{1,1re,2,3,4} and corresponding flags
        into code in gnattools/Makefile.in.  Remove direct dependencies on
        stamp-tools by tools clauses.
2004-12-02  Nathanael Nerode  <neroden@gcc.gnu.org>
        * config-lang.in: Add gnattools to $lang_dirs.

(libada)
2004-12-03  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.in: Add stamp file for building libada, to avoid
duplicate builds every time all-gnattools is called.

2004-12-02  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.in: Build gcc/ada/Makefile (by running gcc/ada/configure)
here.

2004-08-16  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure.ac: Replace AC_CANONICAL_SYSTEM with _BUILD, _HOST,
_TARGET.
* configure: Regenerate.

2004-07-18  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure.ac, Makefile.in: Remove gnattools-specific code
(see gnattools directory).
* Makefile.in: Remove dead rts-* targets.
* configure: Regenerate.

(gnattools)
2005-02-02  Nathanael Nerode  <neroden@gcc.gnu.org>

        * Makefile.in: Remove use of cc_set_by_configure; just use
        plain old CC from the top level in this case.

2005-01-30  Nathanael Nerode  <neroden@gcc.gnu.org>
Merge from mainline at tag libada-gnattools-merge-20050129:
* configure.ac: Changes propagated from gcc/ada/Makefile.in.
* Makefile.in: Changes relocated from gcc/ada/Makefile.in.

2004-12-13  Nathanael Nerode  <neroden@gcc.gnu.org>

        * Makefile.in: Reinstate stamp-gnatlib check.

2004-12-02  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.in: Inline gnattools{1,1-re,2,3,4} targets from
gcc/ada/configure.ac into gnattools-native and gnattools-cross
targets, collecting flags as appropriate from here,
gcc/ada/Makefile.in, gcc/ada/configure.ac, etc.  Attempt to retain
identical behavior.
* configure.ac: Add necessary configure bits from
gcc/ada/configure.ac.
* configure: Regenerate.

2004-08-16  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure.ac: Replace AC_CANONICAL_SYSTEM with _BUILD, _HOST,
_TARGET.  Replace _GCC_TOPLEV_NONCANONICAL_TARGET with
ACX_NONCANONICAL_TARGET, and replace now-redundant AC_SUBST.
* configure: Regenerate.

2004-07-18  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.in, configure.ac: Remove libada-specific targets and
variables.
* configure: Regenerate.
* New directory, cloned from libada.

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

16 years ago2005-02-26 Peter O'Gorman <peter@pogman.com>
toon [Sat, 26 Feb 2005 18:33:11 +0000 (18:33 +0000)]
2005-02-26  Peter O'Gorman  <peter@pogman.com>
            Toon Moene  <toon@moene.indiv.nluug.nl>

PR libgfortran/17748
* runtime/environ.c: Remove references to environ.
(show_variables): remove GFORTRAN_UNBUFFERED_* and
GFORTRAN_NAME_* because they require environ.
(pattern_scan): Remove function.

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

16 years ago2005-02-26 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Sat, 26 Feb 2005 16:15:25 +0000 (16:15 +0000)]
2005-02-26  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/20188
        * gcc.dg/tree-ssa/inline_asm-1.c: New test.
        * gcc.dg/tree-ssa/inline_asm-2.c: New test.
        * gcc.dg/asm-b.c: New test.

2005-02-26  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/20188
        * tree-ssa-alias.c (count_uses_and_derefs): If we have TREE_LIST
        for the lhs, also walk over the tree.  Likewise for rhs.

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

16 years ago2005-02-26 James A. Morrison <phython@gcc.gnu.org>
phython [Sat, 26 Feb 2005 16:09:33 +0000 (16:09 +0000)]
2005-02-26  James A. Morrison  <phython@gcc.gnu.org>

        * compile/var_defs: Add uninitialized variables.

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

16 years ago2005-02-26 James A. Morrison <phython@gcc.gnu.org>
phython [Sat, 26 Feb 2005 16:07:49 +0000 (16:07 +0000)]
2005-02-26  James A. Morrison  <phython@gcc.gnu.org>

        * parse.y (function_invocation, variable-ref, make_plus_expression):
        Pass location to tree_code_get_expression.
        * treetree.c (tree_code_generate_return): Set EXPR_LOCUS on retval.
        (tree_code_get_expression): Wrap variable references in NOP_EXPRs and
        set EXPR_LOCATION on ret1.
        * treetree.h (tree_code_get_expression): Take the location of the
        expression as an argument.

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

16 years ago * dyn_load.c: On NetBSD, include machine/elf_machdep.h and define
rearnsha [Sat, 26 Feb 2005 15:40:07 +0000 (15:40 +0000)]
* dyn_load.c: On NetBSD, include machine/elf_machdep.h and define
ELFSIZE in terms of ARCH_ELFSIZE (back-ported from gc7.0alpha1).

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

16 years ago2005-02-26 James A. Morrison <phython@gcc.gnu.org>
phython [Sat, 26 Feb 2005 14:12:05 +0000 (14:12 +0000)]
2005-02-26  James A. Morrison  <phython@gcc.gnu.org>

        * compile/extrafunc.tree, compile/extravar.tree: New tests.

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

16 years ago2005-02-26 James A. Morrison <phython@gcc.gnu.org>
phython [Sat, 26 Feb 2005 14:10:11 +0000 (14:10 +0000)]
2005-02-26  James A. Morrison  <phython@gcc.gnu.org>

        * treelang.texi: Treelang does have warnings.
        * treetree.c (tree_code_create_function_prototype): Don't set
        TREE_USED and set TREE_PUBLIC, DECL_EXTERNAL, and TREE_STATIC
        as few times as needed on the function declaration.
        (tree_code_create_function_initial): Don't set TREE_USED,
        TREE_ADDRESSABLE, but set TREE_STATIC on the function declaration.
        (tree_code_create_variable): Don't set TREE_USED on VAR_DECL.
        (tree_code_get_expression): Set TREE_USED for variable references
        and function calls.

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

16 years ago2005-02-26 James A. Morrison <phython@gcc.gnu.org>
phython [Sat, 26 Feb 2005 14:05:15 +0000 (14:05 +0000)]
2005-02-26  James A. Morrison  <phython@gcc.gnu.org>

        * compile/unsigned.tree: New test.

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

16 years ago2005-02-26 James A. Morrison <phython@gcc.gnu.org>
phython [Sat, 26 Feb 2005 14:01:03 +0000 (14:01 +0000)]
2005-02-26  James A. Morrison  <phython@gcc.gnu.org>

        * parse.y: Do comparisons as the type of the first expression.
        * treetree.c (tree_code_get_integer_value): Build integer constants
        with the proper type.

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

16 years ago2005-02-26 James A. Morrison <phython@gcc.gnu.org>
phython [Sat, 26 Feb 2005 13:43:39 +0000 (13:43 +0000)]
2005-02-26  James A. Morrison  <phython@gcc.gnu.org>

        * Make-lang.in: Remove commented out code.
        * lang-specs.h: Always pass -dumpbase to tree1.

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

16 years ago * gcc.c-torture/execute/ieee/mul-subnormal-single-1.x: New file.
rsandifo [Sat, 26 Feb 2005 10:05:49 +0000 (10:05 +0000)]
* gcc.c-torture/execute/ieee/mul-subnormal-single-1.x: New file.
Disable this test on IRIX 6.

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

16 years ago * tree-ssa-dom.c (simple_iv_increment_p): New function.
rakdver [Sat, 26 Feb 2005 07:55:28 +0000 (07:55 +0000)]
* tree-ssa-dom.c (simple_iv_increment_p): New function.
(simplify_rhs_and_lookup_avail_expr, eliminate_redundant_computations):
Do not propagate value of iv before increment over the increment.

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

16 years ago2005-02-25 James A. Morrrison <phython@gcc.gnu.org>
phython [Sat, 26 Feb 2005 00:25:52 +0000 (00:25 +0000)]
2005-02-25  James A. Morrrison  <phython@gcc.gnu.org>

        * treelang.texi: Remove extra contribution notice.
        Split up some run-on sentences.  Document function parameters
        as optional.  Indicate automatic variables can now be at any scope.
        Mention literals are only signed if they are preceded by a unary
        plus or minus.  Clarify interoperability with C.

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

16 years ago2005-02-25 James A. Morrison <phython@gcc.gnu.org>
phython [Sat, 26 Feb 2005 00:17:02 +0000 (00:17 +0000)]
2005-02-25  James A. Morrison  <phython@gcc.gnu.org>

        * treelang.texi: Fix whitespacing.

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

16 years agoDaily bump.
gccadmin [Sat, 26 Feb 2005 00:16:41 +0000 (00:16 +0000)]
Daily bump.

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

16 years ago * cpplib.pot: Regenerate.
jsm28 [Fri, 25 Feb 2005 23:32:16 +0000 (23:32 +0000)]
* cpplib.pot: Regenerate.

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

16 years ago * gcc.pot: Regenerate.
jsm28 [Fri, 25 Feb 2005 23:31:10 +0000 (23:31 +0000)]
* gcc.pot: Regenerate.

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

16 years ago * c-parser.c: New file.
jsm28 [Fri, 25 Feb 2005 23:20:48 +0000 (23:20 +0000)]
* c-parser.c: New file.
* c-parse.in: Remove.
* Makefile.in (c-parse.o-warn, c-parse.o, c-parse.c, c-parse.y):
Remove.
(c-parser.o): Add dependencies.
(C_AND_OBJC_OBJC, C_OBJS, gcc.srcextra, GTFILES, distclean,
maintainer-clean, TAGS): Update.
* c-config-lang.in (gtfiles): Update.
* gengtype-lex.l: Don't handle "@@".
* stub-objc.c (objc_get_class_ivars, objc_build_throw_stmt,
objc_build_synchronized, objc_begin_try_stmt,
objc_begin_catch_clause, objc_finish_catch_clause,
objc_build_finally_clause, objc_finish_try_stmt): New.
* c-tree.h (struct c_declspecs): Add declspecs_seen_p and
type_seen_p.
(c_parse_init): Update comment.
* c-decl.c (c_init_decl_processing): Update comment.
(build_null_declspecs, declspecs_add_qual, declspecs_add_type,
declspecs_add_scspec, declspecs_add_attrs): Initialize and update
new c_declspecs members.

objc:
* Make-lang.in (objc/objc-parse.o-warn, objc/objc-parse.o,
objc/objc-parse.c, objc/objc-parse.y): Remove
(OBJC_OBJS, objc.srcextra, objc.tags, objc.mostlyclean,
objc.distclean, objc.maintainer-clean): Update for new parser.
* config-lang.in (gtfiles): Update for new parser.

testsuite:
* gcc.dg/cpp/separate-1.c, gcc.dg/noncompile/971104-1.c,
gcc.dg/noncompile/990416-1.c: Adjust expected messages for new
parser.

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

16 years ago * crontab: Adjust for 4.0 branch.
mmitchel [Fri, 25 Feb 2005 22:55:06 +0000 (22:55 +0000)]
* crontab: Adjust for 4.0 branch.

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

16 years ago * gcc/config/elfos.h (MAKE_DECL_ONE_ONLY): Redefined to stop DECL_WEAK
jules [Fri, 25 Feb 2005 22:32:56 +0000 (22:32 +0000)]
* gcc/config/elfos.h (MAKE_DECL_ONE_ONLY): Redefined to stop DECL_WEAK
from being used for symbols with vague linkage when
HAVE_GAS_COMDAT_GROUP is true.

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

16 years ago * doc/include/gcc-common.texi (version-GCC): Update to 4.1.
mmitchel [Fri, 25 Feb 2005 22:14:01 +0000 (22:14 +0000)]
* doc/include/gcc-common.texi (version-GCC): Update to 4.1.

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

16 years ago PR target/19930
sje [Fri, 25 Feb 2005 21:34:49 +0000 (21:34 +0000)]
PR target/19930
* doc/tm.texi (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Document.
(LIBGCC2_HAS_DF_MODE): New.
(LIBGCC2_HAS_XF_MODE): New.
(LIBGCC2_HAS_TF_MODE): New.
* libgcc2.h (LIBGCC2_HAS_XF_MODE): New name for HAVE_XFMODE.
(LIBGCC2_HAS_TF_MODE): New name for HAVE_TFMODE.
* libgcc2.c (LIBGCC2_HAS_XF_MODE): New name for HAVE_XFMODE.
(LIBGCC2_HAS_TF_MODE): New name for HAVE_TFMODE.
(LIBGCC2_HAS_DF_MODE): New name for HAVE_DFMODE.
* config/ia64/t-ia64 (LIB1ASMFUNCS): Remove __compat
and add _fixtfdi, _fixunstfdi, _floatditf
* lib1funcs.asm: Remove L__compat. Add L_fixtfdi,
L_fixunstfdi, L_floatditf.
* config/ia64/hpux.h (LIBGCC2_HAS_XF_MODE): Define.
(LIBGCC2_HAS_TF_MODE): Define.

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

16 years ago PR tree-optimization/20204
dnovillo [Fri, 25 Feb 2005 21:12:34 +0000 (21:12 +0000)]
PR tree-optimization/20204
* tree-into-ssa.c (insert_phi_nodes_for): Do not use
REWRITE_THIS_STMT markers on PHI nodes.
(rewrite_initialize_block): Likewise.

testsuite/ChangeLog

PR tree-optimization/20204
* testsuite/gcc.dg/pr20204.c: New test.

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

16 years ago * version.c (version_string): Update to 4.1.
mmitchel [Fri, 25 Feb 2005 20:42:30 +0000 (20:42 +0000)]
* version.c (version_string): Update to 4.1.

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

16 years ago2005-02-25 Paolo Carlini <pcarlini@suse.de>
paolo [Fri, 25 Feb 2005 18:29:28 +0000 (18:29 +0000)]
2005-02-25  Paolo Carlini  <pcarlini@suse.de>

* doc/extend.texi (5.24 Declaring Attributes of Functions)<noreturn>:
Clarify that the alternative way doesn't work in GNU C++.

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

16 years ago2005-02-25 Paolo Carlini <pcarlini@suse.de>
paolo [Fri, 25 Feb 2005 18:17:06 +0000 (18:17 +0000)]
2005-02-25  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/type_traits: Add the trivial is_union and is_class;
add the __is_union_or_class extension.
(is_enum, is_empty): Use the latter.
* include/tr1/type_traits_fwd.h: Add __is_union_or_class.
* testsuite/testsuite_tr1.h: Add UnionType; trivial formatting
fixes.
* testsuite/tr1/4_metaprogramming/composite_type_traits/
is_union_or_class/is_union_or_class.cc: New.
* testsuite/tr1/4_metaprogramming/composite_type_traits/
is_union_or_class/typedefs.cc: Likewise.

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

16 years ago * tree-ssa-dom.c (simple_iv_increment_p): New function.
rakdver [Fri, 25 Feb 2005 17:09:12 +0000 (17:09 +0000)]
* tree-ssa-dom.c (simple_iv_increment_p): New function.
(simplify_rhs_and_lookup_avail_expr, eliminate_redundant_computations):
Do not propagate value of iv before increment over the increment.

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

16 years ago PR tree-optimization/19937
rakdver [Fri, 25 Feb 2005 12:07:11 +0000 (12:07 +0000)]
PR tree-optimization/19937
* tree-ssa-loop-ivopts.c (rewrite_use_compare): Cast the final value
to the type of the induction variable.

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

16 years ago PR rtl-optimization/20117
kkojima [Fri, 25 Feb 2005 07:13:25 +0000 (07:13 +0000)]
PR rtl-optimization/20117
* bb-reorder.c (duplicate_computed_gotos): Don't duplicate
the block including noncopyable insn.

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

16 years ago * cse.c (delete_trivially_dead_insns): Speed up by minimizing
kazu [Fri, 25 Feb 2005 03:45:37 +0000 (03:45 +0000)]
* cse.c (delete_trivially_dead_insns): Speed up by minimizing
calls to find_reg_note.

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

16 years ago PR tree-opt/20127
rth [Fri, 25 Feb 2005 01:56:14 +0000 (01:56 +0000)]
    PR tree-opt/20127
        * tree-sra.c (instantiate_element): Copy TREE_THIS_VOLATILE from
        the type.

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

16 years agoconfig/rs6000/rs6000.c (rs6000_legitimize_reload_address): Check for
fjahanian [Fri, 25 Feb 2005 01:16:17 +0000 (01:16 +0000)]
config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Check for
vector types if to use base reg for misaligned non-word ld/std.
OKed by David Edelsohn.

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

16 years agoDaily bump.
gccadmin [Fri, 25 Feb 2005 00:16:23 +0000 (00:16 +0000)]
Daily bump.

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

16 years ago PR target/14619
hp [Thu, 24 Feb 2005 22:17:42 +0000 (22:17 +0000)]
PR target/14619
* config/cris/cris.c (cris_target_asm_function_prologue): Create
dwarf2 label manually and put it after, not before the prologue.

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

16 years ago * config/rs6000/rs6000.md (trunctfdf2): Remove register constraints.
dje [Thu, 24 Feb 2005 22:09:35 +0000 (22:09 +0000)]
    * config/rs6000/rs6000.md (trunctfdf2): Remove register constraints.
        Fix formatting.

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

16 years ago * reload.c (operands_match_p): Only increment register number for
dje [Thu, 24 Feb 2005 22:06:06 +0000 (22:06 +0000)]
    * reload.c (operands_match_p): Only increment register number for
        SCALAR_INT_MODE_P modes in multiple hard registers.

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

16 years ago * decl.c, resolve.c, trans-array.c, trans.h: Fix comment typo(s).
reichelt [Thu, 24 Feb 2005 21:59:24 +0000 (21:59 +0000)]
* decl.c, resolve.c, trans-array.c, trans.h: Fix comment typo(s).

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

16 years ago * call.c, class.c, cp-tree.h, decl2.c, error.c, init.c, mangle.c,
reichelt [Thu, 24 Feb 2005 21:55:15 +0000 (21:55 +0000)]
* call.c, class.c, cp-tree.h, decl2.c, error.c, init.c, mangle.c,
        parser.c: Fix comment typo(s).

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

16 years ago * ChangeLog.5: Fix log message typo(s).
reichelt [Thu, 24 Feb 2005 21:47:26 +0000 (21:47 +0000)]
* ChangeLog.5: Fix log message typo(s).
* ChangeLog.7: Likewise.
* ChangeLog.tree-ssa: Likewise.
* cfgexpand.c: Fix comment typo(s).
* conflict.c: Likewise.
* defaults.h: Likewise.
* dwarf2out.c: Likewise.
* gcse.c: Likewise.
* ggc-page.c: Likewise.
* tree-eh.c: Likewise.
* tree-ssa-dom.c: Likewise.

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

16 years ago PR target/19019
jakub [Thu, 24 Feb 2005 21:33:04 +0000 (21:33 +0000)]
PR target/19019
* mklibgcc.in: Pass -DSHARED when compiling all *_s${objext} objects.
* config/rs6000/darwin-ldouble.c: Only use the .symver directives
if SHARED is defined.

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

16 years ago2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 24 Feb 2005 21:32:53 +0000 (21:32 +0000)]
2005-02-24  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Guard
wchar_t use with _GLIBCXX_USE_WCHAR_T.

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

16 years ago PR target/20196
jakub [Thu, 24 Feb 2005 21:23:14 +0000 (21:23 +0000)]
PR target/20196
* config/rs6000/rs6000.md (LTU, GTU sCC splitters): Add earlyclobber,
allow splitting only if operands 0 and 3 don't overlap.

* gcc.c-torture/execute/20050224-1.c: New test.

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

16 years ago PR c++/20175
jakub [Thu, 24 Feb 2005 21:21:28 +0000 (21:21 +0000)]
PR c++/20175
* decl.c (reshape_init): Don't warn about missing braces if STRING_CST
initializes a char/wchar_t array.

* g++.dg/warn/Wbraces2.C: New test.

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

16 years ago PR middle-end/19953
rth [Thu, 24 Feb 2005 20:00:09 +0000 (20:00 +0000)]
    PR middle-end/19953
        * builtins.c (fold_builtin_complex_mul, fold_builtin_complex_div): New.
        (fold_builtin_1): Call them.
        * fold-const.c (fold_complex_mult_parts): Split out from ...
        (fold_complex_mult): ... here.  Fix typo in both imaginary case.
        (fold_complex_div_parts, fold_complex_div): New.
        (fold): Use them.
        * tree.h (fold_complex_mult_parts, fold_complex_div_parts): Declare.

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

16 years ago * tree-ssa-ccp.c (visit_assignment): Verify that result of
kenner [Thu, 24 Feb 2005 18:58:04 +0000 (18:58 +0000)]
* tree-ssa-ccp.c (visit_assignment): Verify that result of
VIEW_CONVERT_EXPR is_gimple_min_invariant.

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