1. 01 Mar, 2005 9 commits
    • re PR target/19819 (ICE when compiling aegis 4.20) · d7459fa8
      	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.
      
      From-SVN: r95729
      John David Anglin committed
    • cons/auto_ptr_neg.cc: Correct line numbers. · 44dd2da2
      
      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.
      
      From-SVN: r95727
      Benjamin Kosnik committed
    • linux.h (MD_EXEC_PREFIX, [...]): Don't undefine here. · 65f527e0
      	* 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.
      
      From-SVN: r95726
      Kaz Kojima committed
    • Rewrite of 64-bit Darwin structure-by-value pass/return. · 0b5383eb
      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.
      
      Co-Authored-By: Stan Shebs <shebs@apple.com>
      
      From-SVN: r95723
      Dale Johannesen committed
    • re PR tree-optimization/20216 (Simple loop runs out of stack at -O1) · 1a9dddad
      
      	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.
      
      From-SVN: r95722
      Roger Sayle committed
    • hashtab.c (htab_find_slot_with_hash): Make function documentation clearer. · 6a88516c
      	* hashtab.c (htab_find_slot_with_hash): Make function
      	documentation clearer.
      
      From-SVN: r95717
      Ben Elliston committed
    • Don't emit the unused counter word and label when profiling. · f50c57ba
      * config/mips/mips.h (NO_PROFILE_COUNTERS): Define.
      
      From-SVN: r95716
      James E Wilson committed
    • re PR fortran/19479 (UBOUND causes ICE) · 2a4a7830
      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.
      
      From-SVN: r95713
      Tobias Schlüter committed
    • Daily bump. · ba751280
      From-SVN: r95710
      GCC Administrator committed
  2. 28 Feb, 2005 26 commits
    • dg-error-exp-P.c: Update message for new C parser. · 3f8b16e7
      	* gcc.test-framework/dg-error-exp-P.c: Update message for new C parser.
      	* gcc.test-framework/dg-error-exp-XP.c: Ditto.
      
      From-SVN: r95706
      Janis Johnson committed
    • memory: Replace checked_deleter with (unchecked) _Sp_deleter as GCC warns about delete... · 52e806b7
      	* include/tr1/memory: Replace checked_deleter with (unchecked)
      	_Sp_deleter as GCC warns about delete on incomplete types anyway.
      
      From-SVN: r95699
      Jonathan Wakely committed
    • re PR libobjc/20252 (Libobjc build broken) · 6886e18e
      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.
      
      From-SVN: r95696
      Andrew Pinski committed
    • trans-intrinsic.c (gfc_conv_intrinsic_iargc): remove boolean argument. · d436d3de
      * trans-intrinsic.c (gfc_conv_intrinsic_iargc): remove boolean argument.
        (gfc_conv_intrinsic_function): update function calls
      
      From-SVN: r95695
      Steven G. Kargl committed
    • re PR c/20245 (ICE on invalid function declaration) · 4e3d9146
      	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.
      
      From-SVN: r95693
      Joseph Myers committed
    • rs6000.c (EASY_VECTOR_15): Remove. · 48d72335
              * 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
      
      From-SVN: r95692
      David Edelsohn committed
    • directives.c (do_line): Save sysp early before line table is realloc'ed. · 2203a881
             * directives.c (do_line): Save sysp early before line table is
             realloc'ed.
      
      From-SVN: r95691
      Devang Patel committed
    • calls.c (emit_call_1): Don't use REG_ALWAYS_RETURN. · 321cf1f2
      	* 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.
      
      From-SVN: r95690
      Kazu Hirata committed
    • configure.host: Don't use -mxgot for MIPS builds. · ac5205bd
      2005-02-23  David Daney  <ddaney@avtrex.com>
      
      	* configure.host: Don't use -mxgot for MIPS builds.
      
      From-SVN: r95689
      David Daney committed
    • re PR middle-end/19874 (ICE in emit_move_insn with __attribute__((mode (QI))) enum) · 4f380bf8
      
      	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.
      
      From-SVN: r95688
      Roger Sayle committed
    • re PR ada/15977 (Ada contributors should be documented) · dd1f53fb
      	PR ada/15977
      	* doc/contrib.texi: List contributors for Ada front end
      
      From-SVN: r95687
      Geert Bosch committed
    • simplify-rtx.c (simplify_unary_operation_1, [...]): New, extracted from... · 0a67e02c
      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.
      
      From-SVN: r95686
      Paolo Bonzini committed
    • re PR bootstrap/20250 (fixincludes is no longer installs but does make check instead) · ace9ac7b
      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.
      
      From-SVN: r95685
      Andrew Pinski committed
    • re PR target/20228 ([4.1 Regressions] Cannot link two valid C++ TU together) · 920b9c8d
      	* config/elfos.h: Revert my patch from 2005-02-25 since it broke
      	building libjava and caused PR regression/20228.
      
      From-SVN: r95684
      Julian Brown committed
    • Fix missing ChangeLog entry: · 9c6a7ecc
      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.
      
      From-SVN: r95681
      Tobias Schlüter committed
    • re PR bootstrap/17383 (Building in src dir fails) · 215c351a
      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.
      
      From-SVN: r95680
      Paolo Bonzini committed
    • * config/alpha/t-osf4, config/arm/t-netbsd, config/ia64/t-hpux · f51d6cb4
      	* config/pa/t-hpux-shlib (SHLIB_INSTALL): Create the
      	installation directory first.
      
      From-SVN: r95656
      Zack Weinberg committed
    • README: Update the DejaGnu bug reporting address. · e02e1504
      	* README: Update the DejaGnu bug reporting address.
      	* lib/c-torture.exp: Remove the DejaGnu bug reporting address.
      	* lib/objc-torture.exp: Likewise.
      
      From-SVN: r95651
      Ben Elliston committed
    • re PR target/19065 (Make CRIS libstdc++ asms autoincrement-safe) · b98c9bf2
      	PR target/19065
      	* config/cpu/cris/atomicity.h (__exchange_and_add): In asm, use
      	'Q' constraint, not 'm'.
      
      From-SVN: r95648
      Hans-Peter Nilsson committed
    • re PR target/19065 (Make CRIS libstdc++ asms autoincrement-safe) · 23369bef
      	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".
      
      From-SVN: r95647
      Hans-Peter Nilsson committed
    • boz_1.f90: New test. · 5902435e
      * gfortran.dg/boz_1.f90: New test.
      * gfortran.dg/boz_3.f90: New test.
      * gfortran.dg/boz_4.f90: New test.
      
      From-SVN: r95646
      Steven G. Kargl committed
    • ishft.f90: Remove kind suffix from BOZ constant · ae18f176
      * gfortran.dg/ishft.f90:  Remove kind suffix from BOZ constant
      * gfortran.fortran-torture/execute/intrinsic_mvbits.f90: ditto
      
      From-SVN: r95644
      Steven G. Kargl committed
    • re PR fortran/20058 (Error on kind 16 hex data statement) · f4e7375a
      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
      
      From-SVN: r95643
      Steven G. Kargl committed
    • Daily bump. · c7861585
      From-SVN: r95639
      GCC Administrator committed
  3. 27 Feb, 2005 5 commits