1. 03 Apr, 2011 14 commits
    • re PR fortran/48311 ([Quadmath] Documentation - typo, order) · 1e4eb7bb
      2011-04-03  Tobias Burnus  <burnus@net-b.de>
      
             PR fortran/48311
             * libquadmath.texi (strtoflt128): Fix typo.
             (quadmath_snprintf): Move note up, make @item.
      
      From-SVN: r171914
      Tobias Burnus committed
    • Mark as executable in SVN. · 3b66f105
      From-SVN: r171913
      Ian Lance Taylor committed
    • bessel_6.f90: Reduce mymax for Tru64. · 3aa8b384
      2011-04-03  Tobias Burnus  <burnus@net-b.de>
      
             * gfortran.dg/bessel_6.f90: Reduce mymax for Tru64.
      
      From-SVN: r171912
      Tobias Burnus committed
    • unix.c: Adapt stat DEFINEs since MinGW64 supports LFS. · 99ebea03
      2011-04-04  Tobias Burnus  <burnus@net-b.de>
      
              * unix.c: Adapt stat DEFINEs since MinGW64 supports LFS.
              (fallback_access, open_internal4, compare_file_filename,
              find_file, file_size, inquire_sequential, inquire_direct,
              inquire_formatted): Use "struct stat" instead of gfstat_t.
      
      From-SVN: r171911
      Tobias Burnus committed
    • be.po, [...]: Update. · 6733afe1
      	* be.po, ca.po, da.po, de.po, el.po, es.po, fi.po, fr.po, id.po,
      	ja.po, nl.po, ru.po, sv.po, tr.po, uk,po, vi.po, zh_CN.po,
      	zh_TW.po: Update.
      
      From-SVN: r171909
      Joseph Myers committed
    • be.po, [...]: Update. · a01c4134
      	* be.po, da.po, de.po, el.po, es.po, fi.po, fr.po, id.po, ja.po,
      	nl.po, ru.po, sr.po, sv.po, tr.po, vi.po, zh_CN.po, zh_TW.po:
      	Update.
      
      From-SVN: r171907
      Joseph Myers committed
    • lto-streamer.h (struct lto_streamer_cache_d): Remove offsets and next_slot members. · e89964e3
      	* lto-streamer.h (struct lto_streamer_cache_d): Remove offsets
      	and next_slot members.
      	(lto_streamer_cache_insert, lto_streamer_cache_insert_at,
      	lto_streamer_cache_lookup, lto_streamer_cache_get): Adjust prototypes.
      	(lto_streamer_cache_append): Declare.
      	* lto-streamer.c (lto_streamer_cache_add_to_node_array): Use
      	unsigned index, remove offset parameter, ensure that we append
      	or update existing entries.
      	(lto_streamer_cache_insert_1): Use unsigned index, remove offset_p
      	parameter, update next_slot for append.
      	(lto_streamer_cache_insert): Use unsigned index, remove offset_p
      	parameter.
      	(lto_streamer_cache_insert_at): Likewise.
      	(lto_streamer_cache_append): New function.
      	(lto_streamer_cache_lookup): Use unsigned index.
      	(lto_streamer_cache_get): Likewise.
      	(lto_record_common_node): Don't test tree_node_can_be_shared.
      	(preload_common_node): Adjust call to lto_streamer_cache_insert.
      	(lto_streamer_cache_delete): Don't free offsets member.
      	* lto-streamer-out.c (eq_string_slot_node): Use memcmp.
      	(lto_output_string_with_length): Use lto_output_data_stream.
      	(lto_output_tree_header): Remove ix parameter, don't write it.
      	(lto_output_builtin_tree): Likewise.
      	(lto_write_tree): Adjust callers to above, don't track and write
      	offset, write unsigned index.
      	(output_unreferenced_globals): Don't emit all global vars.
      	(write_global_references): Use unsigned indices.
      	(lto_output_decl_state_refs): Likewise.
      	(write_symbol): Likewise.
      	* lto-streamer-in.c (lto_input_chain): Move earlier.
      	(input_function): Use unsigned index.
      	(input_alias_pairs): Don't read and then ignore all global vars.
      	(lto_materialize_tree): Remove ix_p parameter, don't read index,
      	don't pass it back, use lto_streamer_cache_append.
      	(lto_register_var_decl_in_symtab): Use unsigned index.
      	(lto_register_function_decl_in_symtab): Likewise.
      	(lto_get_pickled_tree): Don't read in or handle offset, read unsigned
      	index.
      	(lto_get_builtin_tree): Don't read index, use
      	lto_streamer_cache_append.
      	(lto_read_tree): Adjust call to lto_materialize_tree.
      
      	* ipa-inline.c (cgraph_edge_badness): Move growth calculaton,
      	don't use function calls in arguments to MIN.
      
      	* varasm.c (decl_binds_to_current_def_p): Don't check TREE_PUBLIC
      	twice.
      
      	* gimple.c (gimple_type_leader_entry): Mark deletable.
      
      lto/
      	* lto.c (lto_materialize_function): Don't read and then discard
      	sections in WPA mode.
      	(lto_read_in_decl_state): Adjust call to lto_streamer_cache_get.
      
      	* lto-lang.c (registered_builtin_fndecls): Remove.
      	(lto_getdecls): Return NULL_TREE.
      	(lto_builtin_function): Don't remember in registered_builtin_fndecls.
      
      From-SVN: r171906
      Michael Matz committed
    • dwarf2out.c (mem_loc_descriptor): Recurse on LO_SUM. · b9a5b5b2
      	* dwarf2out.c (mem_loc_descriptor): Recurse on LO_SUM.
      
      From-SVN: r171905
      Alan Modra committed
    • tree.c (free_lang_data_in_decl): Zero DECL_VINDEX if it's not an integer. · ac6a641b
      	* tree.c (free_lang_data_in_decl): Zero DECL_VINDEX if it's not
      	an integer.
      	* tree.h (tree_decl_non_common.vindex): Adjust comment.
      
      From-SVN: r171904
      Michael Matz committed
    • cgraphbuild.c (record_reference): Canonicalize constructor values. · 0038d4e0
      	* cgraphbuild.c (record_reference): Canonicalize constructor
      	values.
      	* gimple-fold.c (canonicalize_constructor_val): Accept being called
      	without function context.
      	* cgraphunit.c (cgraph_finalize_compilation_unit): Clear
      	current_function_decl and cfun.
      
      From-SVN: r171903
      Michael Matz committed
    • tree.c (decl_init_priority_insert): Don't create entry for default priority. · 91f2fae8
      	* tree.c (decl_init_priority_insert): Don't create entry for
      	default priority.
      	(decl_fini_priority_insert): Ditto.
      	(fields_compatible_p, find_compatible_field): Remove.
      	* tree.h (fields_compatible_p, find_compatible_field): Remove.
      	* gimple.c (gimple_compare_field_offset): Adjust block comment.
      
      From-SVN: r171902
      Michael Matz committed
    • * combine.c (try_combine): Remove useless local variable. · da29e070
      From-SVN: r171901
      Eric Botcazou committed
    • tree-if-conv.c (memrefs_read_or_written_unconditionally): Strip all non-variable… · 4979c28b
      tree-if-conv.c (memrefs_read_or_written_unconditionally): Strip all non-variable offsets and compare the remaining bases of the two...
      
      
      	* tree-if-conv.c (memrefs_read_or_written_unconditionally): Strip all
      	non-variable offsets and compare the remaining bases of the two
      	accesses instead of looking for exact same data-ref.
      
      
      Co-Authored-By: Ira Rosen <ira.rosen@linaro.org>
      
      From-SVN: r171900
      Richard Guenther committed
    • Daily bump. · b5f3cf49
      From-SVN: r171899
      GCC Administrator committed
  2. 02 Apr, 2011 17 commits
  3. 01 Apr, 2011 9 commits
    • dwarf2out.c (dwarf_attr_name): Map DW_AT_GNAT_descriptive_type. · 2a9d769a
      	* dwarf2out.c (dwarf_attr_name): Map DW_AT_GNAT_descriptive_type.
      	(add_gnat_descriptive_type_attribute): New function.
      	(gen_array_type_die): Call it.
      	(gen_enumeration_type_die): Likewise.
      	(gen_struct_or_union_type_die): Likewise.
      	(modified_type_die): Likewise.
      	* langhooks.h (lang_hooks_for_types): New descriptive_type hook.
      	* langhooks-def.h (LANG_HOOKS_DESCRIPTIVE_TYPE): Default to NULL.
      	(LANG_HOOKS_FOR_TYPES_INITIALIZER): Add LANG_HOOKS_DESCRIPTIVE_TYPE.
      ada/
      	* gcc-interface/misc.c (gnat_descriptive_type): New function.
      	(LANG_HOOKS_DESCRIPTIVE_TYPE): Redefine to gnat_descriptive_type.
      
      Co-Authored-By: Eric Botcazou <ebotcazou@adacore.com>
      Co-Authored-By: Nicolas Setton <setton@adacore.com>
      
      From-SVN: r171862
      Olivier Hainque committed
    • * go.test/go-test.exp (go-set-goarch): Recognize alpha*-*-*. · 9b2398a4
      From-SVN: r171861
      Uros Bizjak committed
    • libgo: Support for alpha. · e59b9171
      From Uros Bizjak.
      
      From-SVN: r171860
      Ian Lance Taylor committed
    • re PR bootstrap/48148 (LTO bootstrap failed with bootstrap-profiled) · 15a03a11
      	PR bootstrap/48148
      	* dwarf2out.c (resolve_addr): Don't call force_decl_die
      	if DECL_EXTERNAL has non-NULL DECL_ABSTRACT_ORIGIN.
      
      	Revert:
      	2011-03-17  Richard Guenther  <rguenther@suse.de>
      
      	PR bootstrap/48148
      	* lto-cgraph.c (input_overwrite_node): Clear the abstract
      	origin for decls in other ltrans units.
      	(input_varpool_node): Likewise.
      
      From-SVN: r171856
      Jakub Jelinek committed
    • re PR middle-end/48335 (ICE in convert_move) · 19228b93
      	PR middle-end/48335
      	* expr.c (expand_assignment): Handle all possibilities
      	if TO_RTX is CONCAT.
      	* expmed.c (store_bit_field_1): Avoid trying to create
      	invalid SUBREGs.
      	(store_split_bit_field): If SUBREG_REG (op0) or
      	op0 itself has smaller mode than word, return it
      	for offset 0 and const0_rtx for out-of-bounds stores.
      	If word is const0_rtx, skip it.
      
      	* gcc.c-torture/compile/pr48335-1.c: New test.
      	* gcc.dg/pr48335-1.c: New test.
      	* gcc.dg/pr48335-2.c: New test.
      	* gcc.dg/pr48335-3.c: New test.
      	* gcc.dg/pr48335-4.c: New test.
      	* gcc.dg/pr48335-5.c: New test.
      	* gcc.dg/pr48335-6.c: New test.
      	* gcc.dg/pr48335-7.c: New test.
      	* gcc.dg/pr48335-8.c: New test.
      	* gcc.target/i386/pr48335-1.c: New test.
      
      From-SVN: r171855
      Jakub Jelinek committed
    • h8300.c (print_operand_address): Rename to... · 88cb339e
      	* config/h8300/h8300.c (print_operand_address): Rename to...
      	(h8300_print_operand_address): ...this. Make static. Adjust comments.
      	Call h8300_print_operand and h8300_print_operand_address instead of
      	print_operand and print_operand_address. Declare.
      	(print_operand): Renake to...
      	(h8300_print_operand): ...this. Make static. Adjust comments.
      	Call h8300_print_operand instead of print_operand. Declare.
      	(h8300_print_operand_punct_valid_p): Moved from h8300.h file.
      	(h8300_register_move_cost): Likewise.
      	(TARGET_PRINT_OPERAND_PUNCT_VALID_P, TARGET_PRINT_OPERAND
      	TARGET_PRINT_OPERAND_ADDRESS, TARGET_REGISTER_MOVE_COST): Define.
      	* config/h8300/h8300.h (PRINT_OPERAND_ADDRESS, PRINT_OPERAND
      	PRINT_OPERAND_PUNCT_VALID_P, REGISTER_MOVE_COST): Delete.
      	* config/h8300/h8300-protos.h (print_operand): Delete.
      	(print_operand_address): Delete.
      
      From-SVN: r171853
      Naveen H.S committed
    • re PR bootstrap/48400 (powerpc-apple-darwin9 fails to bootstrap at revision 171824) · 756d6ee9
      PR 48400
      * dwarf2out.c (dwarf2out_source_line): Disable discriminators
      in strict mode before dwarf4.  Re-order tests to early out
      before switching sections.
      
      From-SVN: r171852
      Richard Henderson committed
    • constraints.md: New file. · ceaaaeab
      	* config/h8300/constraints.md: New file.
      	* config/h8300/h8300.md: Include it.  Use satisfies_constraint_J,
      	satisfies_constraint_L, and satisfies_constraint_N for peephole2s.
      	(*tst_extzv_1_n, *tstsi_variable_bit_qi): Use satisfies_constraint_U.
      	* config/h8300/predicates.md (bit_operand): Likewise.
      	(incdec_operand): Use satisfies_constraint_M and
      	satisfies_constraint_O.  Don't use C code block.
      	* config/h8300/h8300-protos.h (h8300_reg_class_from_letter): Delete.
      	* config/h8300/h8300.c (h8300_reg_class_from_letter): Delete.
      	(compute_mov_length): Use satisfies_constraint_G.
      	(fix_bit_operand): Use satisfies_constraint_U.
      	* config/h8300/h8300.h (REG_CLASS_FROM_LETTER): Delete.
      	(CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_L): Delete.
      	(CONST_OK_FOR_M, CONST_OK_FOR_N, CONST_OK_FOR_O): Delete.
      	(CONST_OK_FOR_Ppositive, CONST_OK_FOR_Pnegative): Delete.
      	(CONST_OK_FOR_P, CONSTRAINT_LEN_FOR_P): Delete.
      	(CONST_OK_FOR_CONSTRAINT_P, CONST_OK_FOR_LETTER_P): Delete.
      	(CONST_DOUBLE_OK_FOR_LETTER_P): Delete.
      	(OK_FOR_Q, OK_FOR_R, OK_FOR_S, OK_FOR_T, OK_FOR_U, OK_FOR_WU): Delete.
      	(OK_FOR_W, CONSTRAINT_LEN_FOR_W, OK_FOR_Y2, OK_FOR_Y0): Delete.
      	(OK_FOR_Y, CONSTRAINT_LEN_FOR_Y, OK_FOR_Z): Delete.
      	(EXTRA_CONSTRAINT_STR, CONSTRAINT_LEN): Delete.
      	(EXTRA_MEMORY_CONSTRAINT): Delete.
      
      From-SVN: r171851
      Nathan Froyd committed