1. 28 Feb, 2005 23 commits
    • 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
  2. 27 Feb, 2005 14 commits
  3. 26 Feb, 2005 3 commits
    • stl_tree.h (_Rb_tree<>::_M_insert): Don't leak memory if _M_key_compare throws. · 7320b491
      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.
      
      Co-Authored-By: Chris Jefferson <chris@bubblescope.net>
      
      From-SVN: r95597
      Earl Chew committed
    • (top level) · 5395b47b
      	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.
      
      From-SVN: r95594
      Nathanael Nerode committed
    • re PR libfortran/17748 (libgfortran contains undefined references to _environ) · b239be81
      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.
      
      Co-Authored-By: Toon Moene <toon@moene.indiv.nluug.nl>
      
      From-SVN: r95593
      Peter O'Gorman committed