1. 10 Sep, 2004 22 commits
    • Revert 2004-09-09 Giovanni Bajo <giovannibajo@gcc.gnu.org> · 8127d0e0
      	* lambda-mat.c (lambda_matrix_inverse_hard): Use gcc_assert
      	and gcc_unreachable instead of abort.
      	* lambda.h (lambda_vector_min_nz): Likewise.
      	* langhooks.c lhd_set_decl_assembler_name, lhd_can_use_bit_fields_p,
      	lhd_incomplete_type_error, lhd_expand_expr, lhd_types_compatible_p,
      	lhd_gimplify_expr): Likewise.
      	* lcm.c (optimize_mode_switching): Likewise.
      	* local-alloc.c (update_equiv_regs, block_alloc, find_free_reg):
      	Likewise.
      	* loop-doloop.c (doloop_modify): Likewise.
      	* loop-invariant.c (record_use): Likewise.
      	* loop-iv.c (get_biv_step_1, get_biv_step, iv_analyze, get_iv_value,
      	canon_condition, simplify_using_condition,
      	simplify_using_initial_values, shorten_into_mode,
      	canonicalize_iv_subregs, iv_number_of_iterations): Likewise.
      	* loop-unroll.c (unroll_and_peel_loops, peel_loop_completely,
      	unroll_loop_constant_iterations, unroll_loop_runtime_iterations,
      	peel_loop_simple, unroll_loop_stupid): Likewise.
      	* loop-unswitch.c (compare_and_jump_seq, unswitch_single_loop,
      	unswitch_loop): Likewise.
      	* loop.c (gen_prefetch, loop_optimize, rtx_equal_for_loop_p,
      	move_movables, replace_call_address, find_and_verify_loops,
      	rtx_equal_for_prefetch_p, record_giv, general_induction_var,
      	simplify_giv_expr, check_ext_dependent_givs, try_copy_prop,
      	loop_giv_dump): Likewise.
      	* loop.h (INSN_LUID): Likewise.
      	* modulo-sched.c (normalize_sched_times, generate_prolog_epilog,
      	sms_schedule, check_nodes_order): Likewise.
      	* optabs.c (gen_conditional, add_equal_note, expand_simple_binop,
      	expand_twoval_unop, expand_twoval_binop, expand_twoval_binop_libfunc,
      	expand_simple_unop, emit_no_conflict_block, prepare_cmp_insn,
      	emit_cmp_and_jump_insn_1, emit_cmp_and_jump_insns,
      	prepare_float_lib_cmp, gen_add2_insn, have_add2_insn, gen_sub2_insn,
      	have_sub2_insn, expand_float, expand_fix, debug_optab_libfuncs):
      	Likewise.
      	* opts.c (common_handle_option): Likewise.
      	* params.c (set_param_value): Likewise.
      	* passes.c (open_dump_file, rest_of_handle_final): Likewise.
      	* postreload-gcse.c (expr_equiv_p, oprs_unchanged_p,hash_scan_set,
      	reg_set_between_after_reload_p, reg_used_between_after_reload_p,
      	get_avail_load_store_reg, eliminate_partially_redundant_load):
      	Likewise.
      	* postreload.c (reload_cse_simplify_set, reload_combine_note_use):
      	Likewise.
      	* predict.c (tree_predicted_by_p, expected_value_to_br_prob,
      	propagate_freq, expensive_function_p): Likewise.
      	* pretty-print.c (pp_base_format_text)
      	* profile.c (instrument_edges, instrument_values,
      	compute_branch_probabilities, branch_prob, union_groups,
      	end_branch_prob, tree_register_profile_hooks): Likewise.
      
      From-SVN: r87290
      Nathan Sidwell committed
    • toplev.c (warn_deprecated_use): Correct logic for saying "type" in diagnostic. · 108ebf88
      	* toplev.c (warn_deprecated_use): Correct logic for saying "type"
      	in diagnostic.  Don't dereference NULL TYPE_NAME.
      
      testsuite:
      	* gcc.dg/deprecated-2.c: New test.
      
      From-SVN: r87289
      Joseph Myers committed
    • c-common.c, [...]: Fix comment typos. · 6cb38cd4
      	* c-common.c, c-pch.c, defaults.h, lambda-code.c, passes.c,
      	tree-data-ref.c, tree-flow.h, tree-ssa-operands.c,
      	tree-ssa-threadupdate.c, tree-vectorizer.c, tree-vectorizer.h,
      	value-prof.c: Fix comment typos.  Follow spelling conventions.
      
      From-SVN: r87288
      Kazu Hirata committed
    • Makefile.in: Regenerate. · 8166c201
      2004-09-10  Michael Koch  <konqueror@gmx.de>
      
      	* Makefile.in: Regenerate.
      
      From-SVN: r87287
      Michael Koch committed
    • unroll.c (unroll_loop, [...]): Replace abort with gcc_assert and gcc_unreachable. · 0ddcd94f
      	* unroll.c (unroll_loop, calculate_giv_inc, initial_reg_note_copy,
      	final_reg_note_copy, copy_loop_body, fold_rtx_mult_add,
      	final_giv_value, loop_iterations): Replace abort with gcc_assert and
      	gcc_unreachable.
      	* value-prof.c (rtl_find_values_to_profile,
      	rtl_register_value_prof_hooks, tree_find_values_to_profile,
      	tree_value_profile_transformations, tree_register_value_prof_hooks):
      	Likewise.
      	* varasm.c (named_section_flags, named_section, make_decl_rtl,
      	asm_emit_uninitialised, assemble_external, assemble_integer,
      	decode_addr_const, const_hash_1, compare_constant, copy_constant,
      	force_const_mem, output_constant_pool_2, output_constant_pool_1,
      	output_constant, output_constructor, supports_one_only,
      	make_decl_one_only, decl_tls_model, default_no_named_section,
      	default_elf_select_section_1, default_unique_section_1): Likewise.
      	* varray.c (varray_copy): Likewise.
      	* var-tracking.c (stack_adjust_offset_pre_post, variable_htab_free,
      	variable_union, dataflow_set_different_2, count_uses,
      	variable_was_changed, set_frame_base_location, set_variable_part,
      	emit_note_insn_var_location, vt_emit_notes,
      	vt_add_function_parameters): Likewise.
      	* vec.c (vec_gc_o_reserve): Likewise.
      	* vmsdbgout.c (addr_const_to_string): Likewise.
      
      From-SVN: r87286
      Nathan Sidwell committed
    • lambda-mat.c (lambda_matrix_inverse_hard): Use gcc_assert and gcc_unreachable instead of abort. · 1c43d3ca
      	* lambda-mat.c (lambda_matrix_inverse_hard): Use gcc_assert
      	and gcc_unreachable instead of abort.
      	* lambda.h (lambda_vector_min_nz): Likewise.
      	* langhooks.c lhd_set_decl_assembler_name, lhd_can_use_bit_fields_p,
      	lhd_incomplete_type_error, lhd_expand_expr, lhd_types_compatible_p,
      	lhd_gimplify_expr): Likewise.
      	* lcm.c (optimize_mode_switching): Likewise.
      	* local-alloc.c (update_equiv_regs, block_alloc, find_free_reg):
      	Likewise.
      	* loop-doloop.c (doloop_modify): Likewise.
      	* loop-invariant.c (record_use): Likewise.
      	* loop-iv.c (get_biv_step_1, get_biv_step, iv_analyze, get_iv_value,
      	canon_condition, simplify_using_condition,
      	simplify_using_initial_values, shorten_into_mode,
      	canonicalize_iv_subregs, iv_number_of_iterations): Likewise.
      	* loop-unroll.c (unroll_and_peel_loops, peel_loop_completely,
      	unroll_loop_constant_iterations, unroll_loop_runtime_iterations,
      	peel_loop_simple, unroll_loop_stupid): Likewise.
      	* loop-unswitch.c (compare_and_jump_seq, unswitch_single_loop,
      	unswitch_loop): Likewise.
      	* loop.c (gen_prefetch, loop_optimize, rtx_equal_for_loop_p,
      	move_movables, replace_call_address, find_and_verify_loops,
      	rtx_equal_for_prefetch_p, record_giv, general_induction_var,
      	simplify_giv_expr, check_ext_dependent_givs, try_copy_prop,
      	loop_giv_dump): Likewise.
      	* loop.h (INSN_LUID): Likewise.
      	* modulo-sched.c (normalize_sched_times, generate_prolog_epilog,
      	sms_schedule, check_nodes_order): Likewise.
      	* optabs.c (gen_conditional, add_equal_note, expand_simple_binop,
      	expand_twoval_unop, expand_twoval_binop, expand_twoval_binop_libfunc,
      	expand_simple_unop, emit_no_conflict_block, prepare_cmp_insn,
      	emit_cmp_and_jump_insn_1, emit_cmp_and_jump_insns,
      	prepare_float_lib_cmp, gen_add2_insn, have_add2_insn, gen_sub2_insn,
      	have_sub2_insn, expand_float, expand_fix, debug_optab_libfuncs):
      	Likewise.
      	* opts.c (common_handle_option): Likewise.
      	* params.c (set_param_value): Likewise.
      	* passes.c (open_dump_file, rest_of_handle_final): Likewise.
      	* postreload-gcse.c (expr_equiv_p, oprs_unchanged_p,hash_scan_set,
      	reg_set_between_after_reload_p, reg_used_between_after_reload_p,
      	get_avail_load_store_reg, eliminate_partially_redundant_load):
      	Likewise.
      	* postreload.c (reload_cse_simplify_set, reload_combine_note_use):
      	Likewise.
      	* predict.c (tree_predicted_by_p, expected_value_to_br_prob,
      	propagate_freq, expensive_function_p): Likewise.
      	* pretty-print.c (pp_base_format_text)
      	* profile.c (instrument_edges, instrument_values,
      	compute_branch_probabilities, branch_prob, union_groups,
      	end_branch_prob, tree_register_profile_hooks): Likewise.
      
      From-SVN: r87285
      Giovanni Bajo committed
    • tree-ssa-dce.c (remove_dead_stmt): Update profile. · b829f3fa
      	* tree-ssa-dce.c (remove_dead_stmt): Update profile.
      	* tree-split_edge.c (tree_split_edge): Likewise.
      	(thread_jumps): Likewise.
      
      From-SVN: r87284
      Jan Hubicka committed
    • cgraphunit.c, [...]: Fix comment typos. · 229031d0
      	* cgraphunit.c, predict.c, tree-ssa-loop-ivopts.c: Fix comment
      	typos.
      
      From-SVN: r87283
      Kazu Hirata committed
    • Makefile.am: Reverted accidently commited stuff. · 3cf735f6
      2004-09-10  Michael Koch  <konqueror@gmx.de>
      
      	* Makefile.am: Reverted accidently commited stuff.
      	* configure: Regenerated.
      
      From-SVN: r87282
      Michael Koch committed
    • cgraph.h (cgraph_dump_file): Do not declare. · 9b3e897d
      2004-09-10  Paolo Bonzini  <bonzini@gnu.org>
      
      	* cgraph.h (cgraph_dump_file): Do not declare.
      	* cgraphunit.c (cgraph_dump_file): Declare as static.
      	(init_cgraph): New.
      	* toplev.c (cgraph_dump_file): Do not declare.
      	(compile_file): Call init_cgraph.
      	* tree-dump.c (dump_files): Add IPA dump file, remove
      	XML dump of call graph.
      	(get_dump_file_name): Support IPA dump file naming scheme.
      	* tree.h (enum tree_dump_index): Add IPA dump file, remove
      	XML dump of call graph.
      	* doc/invoke.texi (Debugging Options): Document the new options.
      
      From-SVN: r87281
      Paolo Bonzini committed
    • 2004-09-10 Michael Koch <konqueror@gmx.de> · 5123971a
      	* gnu/java/net/protocol/file/Connection.java
      	(lineSeparator): Made non-final.
      	(static): Removed.
      	(connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
      	instead of StringBufferInputStream.
      
      2004-09-10  Michael Koch  <konqueror@gmx.de>
      
      	* gnu/java/net/protocol/file/Connection.java
      	(connect): Handle file is a directory case.
      
      From-SVN: r87279
      Michael Koch committed
    • 2004-09-10 Michael Koch <konqueror@gmx.de> · 456d47b3
      	* Makefile.am
      	(xlib_includes): Removed.
      	(AM_CPPFLAGS): Renamed from INCLUDES.
      	(lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
      	* Makefile.in: Regenerate.
      
      From-SVN: r87278
      Michael Koch committed
    • typeck.c (build_c_cast): Preserve the cast if casting to and from an Objective-C type. · 2e2da467
      [gcc/cp/ChangeLog]
      2004-09-09  Ziemowit Laski  <zlaski@apple.com>
      
              * typeck.c (build_c_cast): Preserve the cast if casting
              to and from an Objective-C type.
      
      From-SVN: r87277
      Ziemowit Laski committed
    • Libbanshee is gone. · 236f9832
      * doc/sourcebuild.texi: Delete libbanshee reference.
      
      From-SVN: r87275
      James E Wilson committed
    • Makefile.in (s-gtype): Add $(build_exeext) to gengtype command. · 5a29def1
      2004-09-10  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* Makefile.in (s-gtype): Add $(build_exeext) to gengtype command.
      
      From-SVN: r87274
      Kelley Cook committed
    • Fix ICE on invalid input, and eliminate confusing error message. · 3274deff
      * c-typeck.c (convert_for_assignment): Check that rhs has VECTOR_TYPE
      before calling vector_types_convertible_p.
      (digest_init): Check that inside_init has VECTOR_TYPE before calling
      vector_types_convertible_p.  Don't give another error if
      convert_for_assignment returns error_mark_node.
      
      From-SVN: r87273
      James E Wilson committed
    • re PR middle-end/17055 (ICE while folding int/float vectors) · 049e524f
      
      	PR middle-end/17055
      	* fold-const.c (build_zero_vector): New function to construct a
      	vector (either floating point or integer) of zeros.
      	(fold_convert): Internally, enable conversions of integer zero
      	to arbitrary vector types, using the new build_zero_vector.
      
      	* gcc.dg/pr17055-1.c: New test case.
      
      From-SVN: r87272
      Roger Sayle committed
    • i386.c (ix86_expand_ashlsi3_const): New function to expand a left shift by an… · 1b83d209
      i386.c (ix86_expand_ashlsi3_const): New function to expand a left shift by an immediate constant as either an ashl...
      
      
      	* config/i386/i386.c (ix86_expand_ashlsi3_const): New function to
      	expand a left shift by an immediate constant as either an ashl or
      	a sequence of additions.
      	(ix86_split_ashldi): Use new ix86_expand_ashlsi3_const function
      	instead of calling gen_ashlsi3 with a constant directly.
      
      From-SVN: r87271
      Roger Sayle committed
    • i386.c (ix86_split_long_move): When optimizing for size... · 903a5059
      
      	* config/i386/i386.c (ix86_split_long_move): When optimizing for
      	size, and the low and high parts of a DImode constant are equal,
      	copy one register to another instead of loading the same immediate
      	value twice.
      
      From-SVN: r87270
      Roger Sayle committed
    • re PR middle-end/17367 (expand_expr_addr_expr with parallels (-O1 -mcpu=G5)) · 469c26f1
              PR middle-end/17367
              * function.c (assign_parm_setup_block): Only put PARALLELs into
              a register if use_register_for_decl.
      
      From-SVN: r87268
      Richard Henderson committed
    • Daily bump. · 55fe27a2
      From-SVN: r87266
      GCC Administrator committed
  2. 09 Sep, 2004 18 commits
    • ra-colorize.c (reset_lists): Move variable declaration inside ENABLE_CHECKING to… · 1aee688e
      ra-colorize.c (reset_lists): Move variable declaration inside ENABLE_CHECKING to avoid unused variable...
      
      2004-09-09  Eric Christopher  <echristo@redhat.com>
      
      	* ra-colorize.c (reset_lists): Move variable declaration inside
      	ENABLE_CHECKING to avoid unused variable warnings when
      	not --enable-checking.
      	(check_colors): Ditto.
      
      From-SVN: r87262
      Eric Christopher committed
    • * doc/include/gcc-common.texi (version-GCC): Likewise. · 693ff889
      From-SVN: r87261
      Mike Stump committed
    • * version.c (version_string): Bump to 4.0.0. · 89029cd4
      From-SVN: r87260
      Mike Stump committed
    • Make-lang.in (cp/typeck.o): Depend on c-common.h. · d063960a
      [gcc/cp/ChangeLog]
      2004-09-09  Ziemowit Laski  <zlaski@apple.com>
      
              * Make-lang.in (cp/typeck.o): Depend on c-common.h.
              * typeck.c: Include c-common.h.
              (comptypes): For RECORD_TYPEs, call objc_comptypes() and
              return the result if nonnegative.
      
      From-SVN: r87259
      Ziemowit Laski committed
    • extend.texi (nothrow attribute): The attribute is not implemented in 3.2 and earlier. · 3f3174b6
      	* doc/extend.texi (nothrow attribute): The attribute is not
      	implemented in 3.2 and earlier.
      
      From-SVN: r87258
      Jakub Jelinek committed
    • genrecog.c (compute_predicate_codes): Use op0_codes instead of codes. · 4c80d5ac
      	* genrecog.c (compute_predicate_codes): Use op0_codes
      	instead of codes.
      
      From-SVN: r87257
      Steve Ellcey committed
    • ra-colorize.c (hardregset_to_string): Adapt to HARD_REG_SET implementation changes. · 2ec3ab99
      	* ra-colorize.c (hardregset_to_string): Adapt to HARD_REG_SET
      	implementation changes.
      
      From-SVN: r87256
      Ulrich Weigand committed
    • combine.c (try_combine): When swapping i2 and i3... · 0b21d1dc
      	* combine.c (try_combine): When swapping i2 and i3, newi2pat may be
      	a PARALLEL instead of a SET due to added clobbers.
      
      From-SVN: r87255
      Ulrich Weigand committed
    • reload.c (find_reloads_address): Pass correct operand to maybe_memory_address_p. · 7bb09d15
      	* reload.c (find_reloads_address): Pass correct operand to
      	maybe_memory_address_p.
      
      From-SVN: r87254
      Ulrich Weigand committed
    • Makefile.def: Remove libbanshee. · 0a050485
      Toplevel:
      
      2004-09-09  Daniel Berlin  <dberlin@dberlin.org>
      
      	* Makefile.def: Remove libbanshee.
      	* Makefile.tpl: Ditto.
      	* configure.in: Ditto.
      	* Makefile.in: Regen.
      	* configure: Ditto.
      
      gcc/
      
      2004-09-09  Daniel Berlin  <dberlin@dberlin.org>
      
      	* Makefile.in: Remove libbanshee, tree-alias-*.
      	Remove tree-alias-common.h dependencies.
      	* common.opt: Remove -ftree-points-to.
      	* configure.ac: Remove libbanshee.
      	* flags.h: Remove pta_type, flag_tree_points_to.
      	* gengtype.c (open_base_files): Remove tree-alias-type.h.
      	* opts.c (OPT_ftree_points_to): Remove.
      	* toplev.c: Remove tree-alias-common.h, flag_tree_points_to.
      	* tree-dfa.c: Remove tree-alias-common.h
      	* tree-into-ssa.c: Ditto.
      	* tree-outof-ssa.c: Ditto.
      	* tree-ssa-copyrename.c: Ditto.
      	* tree-ssa-live.c: Ditto.
      	* tree-optimize.c: Ditto.
      	* tree-ssa.c: Ditto.
      	Remove pass_build_pta, pass_del_pta.
      	* tree-pass.h: Ditto.
      	* tree-ssa-alias.c: Remove tree-alias-common.h.
      	(struct alias_stats_d):	Remove pta_queries, pta_resolved.
      	(pass_may_alias): Remove PROP_pta requirement.
      	(may_alias_p): Remove pta_queries, pta_resolved, use of andersens.
      	(get_tmt_for): Ditto.
      	(dump_alias_stats): Ditto.
      	* doc/passes.texi: Remove blurb about points-to analysis.
      	* fortran/Make-lang.in: Remove tree-alias-*.o.
      
      From-SVN: r87253
      Daniel Berlin committed
    • genattrtab.c (write_insn_cases): New function, split out from write_attr_case. · c1a404bd
      	* genattrtab.c (write_insn_cases): New function, split out from
      	write_attr_case.  Correctly handle define_peepholes when printing
      	the instruction name.
      	(write_attr_case, write_const_num_delay_slots): Use write_insn_cases.
      
      From-SVN: r87252
      Richard Sandiford committed
    • re PR target/17377 (cris.md bug in "return" pattern trigged by __builtin_return_address) · b2416742
      	PR target/17377
      	* config/cris/cris-protos.h (cris_return_address_on_stack): Declare.
      	* config/cris/cris.c (cris_return_address_on_stack): New function.
      	* config/cris/cris.md ("return"): For location of return address,
      	also check cris_return_address_on_stack.
      
      From-SVN: r87251
      Hans-Peter Nilsson committed
    • re PR target/17377 (cris.md bug in "return" pattern trigged by __builtin_return_address) · da3107f3
      	PR target/17377
      	* gcc.c-torture/execute/pr17377.c: New test.
      
      From-SVN: r87250
      Hans-Peter Nilsson committed
    • [multiple changes] · 4166b036
      2004-09-09  Michael Koch  <konqueror@gmx.de>
      
      	* java/security/ProtectionDomain.java,
      	* java/util/PropertyPermissionCollection.java:
      	Fixed javadocs all over.
      
      2004-09-09  Sven de Marothy  <sven@physto.se>
      
      	Patch from David Gilbert <david.gilbert@object-refinery.com>
      	* java/lang/Comparable.java: Fixed documentation errors.
      	* java/util/Arrays.java: Likewise.
      
      2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
      
      	* java/net/Inet4Address.java
      	(Inet4Address): Added comment to serialization UID.
      	* java/text/Format.java
      	(Format): Added comment to serialization UID.
      
      From-SVN: r87248
      Andreas Tobler committed
    • cpplib.h (TTYPE_TABLE): Remove CPP_ and SPELL_ prefixes throughout. · 21b11495
      2004-09-09  Matt Austern  <austern@apple.com>
      	    Zack Weinberg  <zack@codesourcery.com>
      
      	* include/cpplib.h (TTYPE_TABLE): Remove CPP_ and SPELL_
      	prefixes throughout.  Add entry for PRAGMA.  Remove
      	unnecessary "= 0" from EQ.
      	(enum cpp_ttype): Adjust OP and TK definitions to restore
      	prefixes, via token-paste.
      	(CPP_LAST_EQ, CPP_FIRST_DIGRAPH, CPP_LAST_PUNCTUATOR, CPP_LAST_CPP_OP):
      	Change from #defines to additional cpp_ttype enumerators.
      	(struct cpp_options): Add defer_pragmas.
      	(cpp_handle_deferred_pragma): Prototype new interface.
      
      	* internal.h (struct cpp_reader): Add directive_result.
      	* directives.c (struct pragma_entry): Add is_internal field;
      	give boolean fields type bool.
      	(start_directive): Initialize pfile->directive_result.type.
      	(_cpp_do__Pragma): Likewise.
      	(run_directive): Do not crash if pfile->buffer->prev is NULL.
      	(insert_pragma_entry): Add 'internal' argument; set new->is_internal
      	from it.
      	(register_pragma): New static function, bulk of former
      	cpp_register_pragma here; add 'internal' argument, pass along
      	to insert_pragma_entry.
      	(cpp_register_pragma): Now a wrapper around register_pragma which
      	always passes false for 'internal' argument.
      	(_cpp_init_internal_pragmas): Call register_pragma directly, passing
      	true for 'internal'.
      	(do_pragma): If CPP_OPTION (pfile, defer_pragmas) and this isn't
      	an internal pragma, save text till the end of the line as a CPP_PRAGMA
      	token instead of executing the pragma.
      	(cpp_handle_deferred_pragma): New interface.
      	* lex.c (token_spellings): Adjust OP and TK definitions to
      	match changes to cpplib.h.
      	(_cpp_lex_token): Check for a directive-result token and
      	return it if present.
      	(cpp_token_val_index): Handle CPP_PRAGMA.
      	* macro.c (cpp_builtin_macro_text): Correct comment.
      	(builtin_macro): Handle directive-result tokens from _cpp_do__Pragma.
      
      From-SVN: r87247
      Zack Weinberg committed
    • tree-outof-ssa.c (coalesce_abnormal_edges): Fix typo in calling phi_ssa_name_p. · b49ce401
      
      	* tree-outof-ssa.c (coalesce_abnormal_edges): Fix typo in
      	calling phi_ssa_name_p.
      
      From-SVN: r87246
      Diego Novillo committed
    • re PR c/17322 (initializer folding broken) · 116df786
              PR c/17322
              * c-typeck.c (valid_compound_expr_initializer): Use only
              initializer_constant_valid_p, and not TREE_CONSTANT.
              (digest_init): Likewise.
              (output_init_element): Likewise.
      
      From-SVN: r87245
      Richard Henderson committed
    • ra-build.c (copy_insn_p, [...]): Use gcc_assert and gcc_unreachable instead of abort. · 41374e13
      	* ra-build.c (copy_insn_p, remember_move, defuse_overlap_p_1,
      	live_out_1, prune_hardregs_for_mode, init_one_web_common,
      	reinit_one_web, add_subweb, add_subweb_2, init_web_parts,
      	record_conflict, compare_and_free_webs, init_webs_defs_uses,
      	parts_to_webs_1, parts_to_webs, reset_conflicts,
      	check_conflict_numbers, remember_web_was_spilled, handle_asm_insn,
      	ra_build_free): Use gcc_assert and gcc_unreachable instead of abort.
      	* ra-colorize.c (push_list, put_web, reset_lists, put_web_at_end,
      	put_move, remove_move, combine, select_spill, colorize_one_web,
      	try_recolor_web, insert_coalesced_conflicts, check_colors,
      	break_precolored_alias, restore_conflicts_from_coalesce,
      	sort_and_combine_web_pairs, check_uncoalesced_moves): Likewise.
      	* ra-rewrite.c (spill_coalescing, slots_overlap_p, emit_loads,
      	reloads_to_loads, rewrite_program2, emit_colors): Likewise.
      	* ra.c (first_hard_reg, create_insn_info, find_subweb, init_ra,
      	check_df): Likewise.
      	* real.c (do_add, do_multiply, do_divide, do_compare, do_fix_trunc,
      	real_arithmetic, real_compare, real_exponent, real_ldexp,
      	real_identical, real_to_integer, real_to_integer2, real_to_decimal,
      	real_to_hexadecimal, real_from_integer, ten_to_ptwo, ten_to_mptwo,
      	real_digit, real_nan, real_maxval, round_for_format, real_convert,
      	real_to_target, real_from_target, real_hash, encode_ieee_single,
      	encode_ieee_double, encode_ieee_extended, encode_ieee_quad,
      	encode_vax_f, encode_vax_d, encode_vax_g, encode_i370_single,
      	encode_i370_double, encode_c4x_single, encode_c4x_extended): Likewise.
      	* recog.c (validate_change, validate_replace_rtx_1, asm_operand_ok,
      	extract_insn, peep2_next_insn, peep2_reg_dead_p,
      	peep2_find_free_register, peephole2_optimize, store_data_bypass_p,
      	if_test_bypass_p): Likewise.
      	* reg-stack.c (record_label_references, get_asm_operand_n_inputs,
      	stack_result, remove_regno_note, get_hard_regnum, emit_pop_insn,
      	emit_swap_insn, swap_to_top, move_for_stack_reg,
      	subst_stack_regs_pat, subst_asm_stack_regs, change_stack,
      	compensate_edge, convert_regs_1): Likewise.
      	* regclass.c (init_reg_sets, init_reg_sets_1,
      	memory_move_secondary_cost): Likewise.
      	* regrename.c (note_sets, clear_dead_regs, scan_rtx_reg, scan_rtx):
      	Likewise.
      	* reload.c (push_secondary_reload, find_valid_class, push_reload,
      	operands_match_p, decompose, immune_p, find_reloads,
      	find_reloads_toplev, find_reloads_address_1, subst_reloads,
      	copy_replacements, refers_to_regno_for_reload_p,
      	reg_overlap_mentioned_for_reload_p): Likewise.
      	* reload1.c (compute_use_by_pseudos, replace_pseudos_in, reload,
      	count_pseudo, find_reg, eliminate_regs, eliminate_regs_in_insn,
      	verify_initial_elim_offsets, finish_spills, clear_reload_reg_in_use,
      	reload_reg_free_p, reload_reg_reaches_end_p, reloads_conflict,
      	choose_reload_regs, merge_assigned_reloads, emit_input_reload_insns,
      	do_output_reload, fixup_abnormal_edges): Likewise.
      	* reorg.c (stop_search_p, emit_delay_sequence, get_jump_flags,
      	fill_slots_from_thread, relax_delay_slots): Likewise.
      	* resource.c (mark_referenced_resources, mark_set_resources):
      	Likewise.
      	* rtl.c (copy_rtx, rtx_equal_p): Likewise.
      	* rtlanal.c (insn_dependent_p, reg_overlap_mentioned_p,
      	dead_or_set_p, find_reg_fusage, remove_note, replace_rtx,
      	subreg_lsb_1, subreg_regno_offset, subreg_offset_representable_p,
      	find_first_parameter_load, can_hoist_insn_p, hoist_update_store,
      	hoist_insn_after, hoist_insn_to_edge, nonzero_bits1): Likewise.
      	* rtlhooks.c (gen_lowpart_general): Likewise.
      	* sbitmap.c (sbitmap_difference): Likewise.
      	* sched-deps.c (add_dependence, sched_analyze_1, sched_analyze_2,
      	sched_analyze, add_forward_dependence): Likewise.
      	* sched-ebb.c (fix_basic_block_boundaries, schedule_ebb): Likewise.
      	* sched-rgn.c (debug_regions, compute_trg_info, schedule_region,
      	schedule_insns): Likewise.
      	* sched-vis.c (print_pattern): Likewise.
      	* sdbout.c (sdbout_symbol, sdbout_toplevel_data): Likewise.
      	* simplify-rtx.c (simplify_unary_operation, simplify_binary_operation,
      	simplify_const_relational_operation, simplify_ternary_operation,
      	simplify_immed_subreg, simplify_subreg, simplify_gen_subreg):
      	Likewise.
      	* sreal.c (copy, sreal_sub, sreal_div): Likewise.
      	* stmt.c (force_label_rtx, expand_goto, expand_asm_operands,
      	resolve_operand_name_1, expand_return, expand_decl,
      	expand_anon_union_decl, emit_case_bit_tests, expand_case): Likewise.
      	* stor-layout.c (put_pending_size, smallest_mode_for_size,
      	int_mode_for_mode, layout_decl, finish_builtin_struct, layout_type,
      	set_sizetype, get_mode_bounds): Likewise.
      
      From-SVN: r87244
      Nathan Sidwell committed