1. 05 May, 2003 3 commits
  2. 04 May, 2003 19 commits
  3. 03 May, 2003 18 commits
    • rs6000.h (REVERSIBLE_CC_MODE): Define. · b39358e1
      	* config/rs6000/rs6000.h (REVERSIBLE_CC_MODE): Define.
      	(REVERSE_CONDITION): Define.
      
      	* gcc.dg/ppc-fsel-1.c: New test.
      
      From-SVN: r66442
      Geoffrey Keating committed
    • rs6000.c (scc_comparison_operator): Make equivalent to branch_positive_comparison_operator. · b7053a3f
      	* config/rs6000/rs6000.c (scc_comparison_operator): Make equivalent
      	to branch_positive_comparison_operator.
      	(ccr_bit): Check that sCOND conditions are actually a positive bit.
      	(print_operand): Remove %D substitution.
      	(rs6000_emit_sCOND): Generate complement operation to ensure that
      	sCOND input is a positive bit.
      	* config/rs6000/rs6000.md: Rearrange sCOND templates to be in the
      	same order as bCOND, and add the missing ones.  Remove the %D
      	substitutions from the scc patterns.
      
      From-SVN: r66441
      Geoffrey Keating committed
    • simplify-rtx.c (simplify_relational_operation): Add case for ! (fabs(x) < 0.0). · 8d90f9c0
      	* simplify-rtx.c (simplify_relational_operation): Add case for
      	! (fabs(x) < 0.0).
      
      From-SVN: r66440
      Geoffrey Keating committed
    • force merge conflicts in fixincl.x + placement fix · 8882ac3a
      From-SVN: r66439
      Bruce Korb committed
    • spe.h: Remove unecessary casts. · bd879e9a
      2003-05-03  Aldy Hernandez  <aldyh@redhat.com>
      
              * config/rs6000/spe.h: Remove unecessary casts.  Misc cleanups.
      
      From-SVN: r66437
      Aldy Hernandez committed
    • re PR c/10604 (-Wall includes sign conversion warning [3.3 regression]) · 87f85ea0
      	PR c/10604
      
      	* c-common.c (warn_sign_compare): Initialize to -1.
      	* c-opts.c (c_common_init_options): Don't set warn_sign_compare here.
      	(c_common_decode_option <OPT_Wall>): Set warn_sign_compare
      	for C++ only.
      	(c_common_post_options): Set warn_sign_compare from extra_warnings
      	if it's still -1 at this point.
      
      	* toplev.c (maybe_warn_unused_parameter): New static variable.
      	(set_Wextra): New static function.
      	(W_options): Remove "extra".
      	(decode_W_option): Call set_Wextra.
      	(independent_decode_option): Likewise.
      	(set_Wunused): Cooperate with set_Wextra in setting
      	warn_unused_parameter.
      	(rest_of_compilation): No need to check extra_warnings as
      	well as warn_uninitialized.
      
      	* c-typeck.c (build_binary_op, build_conditional_expr):
      	No need to check extra_warnings as well as warn_sign_compare.
      	(internal_build_compound_expr): No need to check extra_warnings
      	as well as warn_unused_value.
      	* function.c (expand_function_end): No need to check extra_warnings
      	as well as warn_unused_parameter.
      	* stmt.c (expand_expr_stmt_value): No need to check extra_warnings
      	as well as warn_unused_value.
      	* cp/typeck.c (build_x_compound_expr): No need to check
      	extra_warnings as well as warn_unused_value.
      
      	* doc/invoke.texi: Clarify documentation of -Wsign-compare.
      	* gcc.dg/compare7.c, g++.dg/warn/compare1.C: New testcases.
      
      	* Makefile.in: Disable -Werror for gengtype-lex.o.
      
      From-SVN: r66436
      Zack Weinberg committed
    • trans.c (tree_transform): Use location_t and input_location directly. · e7b5f0c9
      	* trans.c (tree_transform): Use location_t and input_location
      	directly.
      	(build_unit_elab): Likewise.
      	* utils.c (create_label_decl): Likewise.
      
      From-SVN: r66433
      Nathan Sidwell committed
    • com.c (ffecom_do_entry_): Use location_t and input_location directly. · 31423e30
      	* com.c (ffecom_do_entry_): Use location_t and input_location
      	directly.
      	(ffecom_gen_sfuncdef_): Likewise.
      	(ffecom_start_progunit_): Likewise.
      	(ffecom_sym_transform_): Likewise.
      	(ffecom_sym_transform_assign_): Likewise.
      	* lex.c (ffelex_hash_): Likewise.
      	(ffelex_include_): Likewise.
      	* std.c (ffestd_exec_begin): Likewise.
      	(ffestd_exec_end): Likewise.
      	* ste.c (struct gbe_block): Likewise.
      	(ffeste_start_block_): Likewise.
      	(ffeste_start_stmt_): Likewise.
      
      From-SVN: r66432
      Nathan Sidwell committed
    • GtkButtonPeer.java: Fix misspelling of "version". · 5a43f8c4
      	* libjava/gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
      	"version".
      	* libjava/gnu/awt/gtk/GtkComponentPeer.java: Likewise.
      	* libjava/gnu/awt/gtk/GtkContainerPeer.java: Likewise.
      	* libjava/gnu/awt/gtk/GtkFramePeer.java: Likewise.
      	* libjava/gnu/awt/gtk/GtkLabelPeer.java: Likewise.
      	* libjava/gnu/awt/gtk/GtkMainThread.java: Likewise.
      	* libjava/gnu/awt/gtk/GtkToolkit.java: Likewise.
      	* libjava/gnu/awt/gtk/GtkWindowPeer.java: Likewise.
      	* libjava/java/security/Key.java: Likewise.
      	* libjava/java/security/PrivateKey.java: Likewise.
      	* libjava/java/security/Provider.java: Likewise.
      	* libjava/java/security/PublicKey.java: Likewise.
      
      From-SVN: r66431
      Matt Kraai committed
    • expr.c (expand_expr, [...]): Don't use gen_lowpart on non-integer modes. · 13cf99ec
      	* expr.c (expand_expr, case VIEW_CONVERT_EXPR): Don't use
      	gen_lowpart on non-integer modes.
      
      From-SVN: r66430
      Richard Kenner committed
    • emit-rtl.c (last_call_insn, [...]): New functions. · ee960939
      	* emit-rtl.c (last_call_insn, add_function_usage_to): New functions.
      	* rtl.h (last_call_insn, add_function_usage_to): New prototypes.
      	* builtins.c (expand_builtin_apply): Use the new emit-rtl functions.
      	* calls.c (emit_call_1): Likewise.
      	(expand_call): For calls initializing constant memory, replace
      	emission of standalone mem /u clobber with function usage entry.
      	* expr.c (emit_block_move_via_libcall): Likewise.
      	* cse.c (count_reg_usage, case EXPR_LIST): New case.
      	* flow.c (propagate_one_insn): Pass entire operand of
      	CALL_INSN_FUNCTION_USAGE to mark_used_regs.
      	* integrate.c (try_constants): For CALL_INSNs, substitute constants
      	within the FUNCTION_USAGE also.
      	* loop.c (prescan_loop): Note clobbers of const mem mentioned in
      	FUNCTION_USAGE lists.
      	* reload1.c (replace_pseudos_in): Renamed.
      	(reload): Use it for clobbers surviving until the end of the reload.
      
      From-SVN: r66429
      Olivier Hainque committed
    • stor-layout.c (place_field): When adjusting offset_align, use desired_align, not DECL_ALIGN. · 3923e410
      	* stor-layout.c (place_field): When adjusting offset_align, use
      	desired_align, not DECL_ALIGN.
      
      From-SVN: r66428
      Richard Kenner committed
    • cp-demangle.c: Fix typo in "char_traints" string-literal. · 41fe9404
      
      2003-05-03  Carlo Wood  <carlo@alinoe.com>
      
      	* cp-demangle.c: Fix typo in "char_traints" string-literal.
      
      From-SVN: r66427
      Carlo Wood committed
    • * gcc.dg/m-un-2.c: Fix the typedef of size_t. · c4e2d744
      From-SVN: r66426
      Kazu Hirata committed
    • c-decl.c (pending_invalid_xref_file): Remove. · 070588f0
      	* c-decl.c (pending_invalid_xref_file): Remove.
      	(pending_invalid_xref_line): Remove.
      	(pending_invalid_xref_location): New.
      	(lookup_label): Use location_t and input_location directly.
      	(lookup_tag): Likewise.
      	(pending_xref_error): Likewise.
      	(c_expand_body_1): Likewise.
      	* c-common.c (x_expand_start_cond): Likewise.
      	* c-semantics.c (genrtl_for_stmt): Likewise.
      	(find_reachable_label): Likewise.
      	* expr.c (expand_expr): Likewise.
      	* integrate.c (output_inline_function): Likewise.
      	* tree-inline.c (find_alloca_call): Likewise.
      	(find_builtin_longjmp_call): Likewise.
      	* gcc.c (input_filename): Make static.
      
      From-SVN: r66425
      Nathan Sidwell committed
    • PR c++/9364, c++/10553, c++/10586 · 5dc5d13c
      	PR c++/9364, c++/10553, c++/10586
      	* decl.c (make_typename_type): Don't crash on illegal code.
      
      	* g++.dg/parse/typename4.C: New test.
      	* g++.dg/parse/typename5.C: Likewise.
      
      From-SVN: r66424
      Kriang Lerdsuwanakij committed
    • class.c (finish_struct): Use location_t and input_location directly. · 82a98427
      	* class.c (finish_struct): Use location_t and input_location
      	directly.
      	* decl.c (make_label_decl): Likewise.
      	(use_label): Likewise.
      	* decl2.c (warn_if_unknown_interface): Likewise.
      	(start_static_initialization_or_destruction): Likewise.
      	(generate_ctor_or_dtor_function): Likewise.
      	(finish_file): Likewise.
      	* error.c (print_instantiation_full_context): Likewise.
      	* init.c (create_temporary_var): Likewise.
      	* method.c (synthesize_method): Likewise.
      	* parser.c (cp_token): Likewise.
      	(cp_lexer_set_source_position_from_token): Likewise.
      	(cp_lexer_get_preprocessor_token): Likewise.
      	(cp_parser_statement): Likewise.
      	* pt.c (tsubst_friend_function): Likewise.
      	(instantiate_class_template): Likewise.
      	(tsubst_decl): Likewise.
      	(tsubst): Likewise.
      	(instantiate_decl): Likewise.
      	* semantics.c (begin_class_definition): Likewise.
      	(expand_body): Likewise.
      
      From-SVN: r66423
      Nathan Sidwell committed
    • * ansify.c (die_unless): Revert lineno change here. · 778ea519
      From-SVN: r66422
      Nathan Sidwell committed