Commit Graph

49700 Commits

Author SHA1 Message Date
Kriang Lerdsuwanakij
517f33152b Fix a typo overlooked in the previous commit.
From-SVN: r66484
2003-05-05 14:46:00 +00:00
Kriang Lerdsuwanakij
16692dd506 re PR c++/10496 ([diagnostic] erroneus suggestion in diagnostic asks the user to write "&const class::memfun" which is illegal)
PR c++/10496
	* typeck.c (build_unary_op): Don't output const qualifier when
	output invalid pointer-to-member diagnostics.

	* g++.dg/warn/pmf1.C: New test.

From-SVN: r66481
2003-05-05 14:35:58 +00:00
David Edelsohn
2c9d95efce rs6000.h (ASM_CPU_SPEC): Add 440 support.
* config/rs6000/rs6000.h (ASM_CPU_SPEC): Add 440 support.
        * config/rs6000/vxworks.h (CC1_SPEC): Use -mcpu=440 for t440.

From-SVN: r66480
2003-05-05 10:33:01 -04:00
Michael Koch
ee63277313 Fixed wrong changelog entry
From-SVN: r66479
2003-05-05 13:37:14 +00:00
Michael Koch
f7529e026f DataInputStream.java: Reordered methods to match libgcj.
2003-05-04  Michael Koch  <konqueror@gmx.de>

	* java/io/DataInputStream.java:
	Reordered methods to match libgcj.

From-SVN: r66478
2003-05-05 13:35:15 +00:00
Kriang Lerdsuwanakij
7df878256c * decl.c: Fix typos.
From-SVN: r66477
2003-05-05 13:26:50 +00:00
Kriang Lerdsuwanakij
4b41d9ebe1 re PR c++/4494 (Possible problem with compiler warnings on main())
PR c++/4494
	* decl.c (start_function): Use same_type_p to check return type
	of main.

	* g++.dg/warn/main.C: New test.

From-SVN: r66476
2003-05-05 12:19:12 +00:00
Zdenek Dvorak
1e77e67301 libgcov.c (__gcov_merge_add): Do not use gcov_type when inhibit_libc is defined.
* libgcov.c (__gcov_merge_add): Do not use gcov_type when inhibit_libc
	is defined.

From-SVN: r66475
2003-05-05 05:22:07 +00:00
Michael Koch
bb1d035953 Forgot to add this to commit line on 2003/05/02. Its in Changelog already.
>2003-05-02  Michael Koch  <konqueror@gmx.de>
>
>	* java/net/URI.java
>	(create): Doesnt throws any exceptions.

From-SVN: r66474
2003-05-05 05:10:47 +00:00
GCC Administrator
18ec39dad3 Daily bump.
From-SVN: r66473
2003-05-05 00:16:06 +00:00
Gerald Pfeifer
fe080a9ea1 update_version (textstring_FILES): Only version.c needs to be updated...
* update_version (textstring_FILES): Only version.c needs to be
	updated, now that we do not consider older branches any more.

From-SVN: r66471
2003-05-04 22:51:26 +00:00
Matt Kraai
5174754150 GtkButtonPeer.java: Fix misspelling of "version".
* gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
	"version".
	* gnu/awt/gtk/GtkComponentPeer.java: Likewise.
	* gnu/awt/gtk/GtkContainerPeer.java: Likewise.
	* gnu/awt/gtk/GtkFramePeer.java: Likewise.
	* gnu/awt/gtk/GtkLabelPeer.java: Likewise.
	* gnu/awt/gtk/GtkMainThread.java: Likewise.
	* gnu/awt/gtk/GtkToolkit.java: Likewise.
	* gnu/awt/gtk/GtkWindowPeer.java: Likewise.
	* java/security/Key.java: Likewise.
	* java/security/PrivateKey.java: Likewise.
	* java/security/Provider.java: Likewise.
	* java/security/PublicKey.java: Likewise.

From-SVN: r66469
2003-05-04 22:26:43 +00:00
Kaveh R. Ghazi
003620645c builtin-attrs.def (ATTR_NOTHROW_NONNULL_1, [...]): Renamed from ATTR_NONNULL_1, ATTR_NONNULL_2 and ATTR_NONNULL_3.
gcc:
	* builtin-attrs.def (ATTR_NOTHROW_NONNULL_1,
	ATTR_NOTHROW_NONNULL_2, ATTR_NOTHROW_NONNULL_3): Renamed from
	ATTR_NONNULL_1, ATTR_NONNULL_2 and ATTR_NONNULL_3.

	(ATTR_NOTHROW_NONNULL_1_2, ATTR_NOTHROW_NONNULL_1_4,
	ATTR_CONST_NOTHROW_NONNULL_1, ATTR_PURE_NOTHROW_NONNULL_1,
	ATTR_PURE_NOTHROW_NONNULL_1_2, ATTR_MALLOC_NOTHROW_NONNULL_1):
	New.

	* builtins.def (DEF_EXT_FALLBACK_BUILTIN): Accept ATTRS argument.
	(BUILT_IN_BZERO, BUILT_IN_BCOPY, BUILT_IN_BCMP): Update comment

	(BUILT_IN_INDEX, BUILT_IN_RINDEX, BUILT_IN_MEMCPY,
	BUILT_IN_MEMMOVE, BUILT_IN_MEMCMP, BUILT_IN_MEMSET,
	BUILT_IN_MEMPCPY, BUILT_IN_STRCAT, BUILT_IN_STRNCAT,
	BUILT_IN_STPCPY, BUILT_IN_STRCPY, BUILT_IN_STRNCPY,
	BUILT_IN_STRCMP, BUILT_IN_STRNCMP, BUILT_IN_STRLEN,
	BUILT_IN_STRSTR, BUILT_IN_STRPBRK, BUILT_IN_STRSPN,
	BUILT_IN_STRCSPN, BUILT_IN_STRCHR, BUILT_IN_STRRCHR, BUILT_IN_NAN,
	BUILT_IN_NANF, BUILT_IN_NANL, BUILT_IN_NANS, BUILT_IN_NANSF,
	BUILT_IN_NANSL, BUILT_IN_PUTS, BUILT_IN_FPUTC, BUILT_IN_FPUTS,
	BUILT_IN_FWRITE, BUILT_IN_PUTS_UNLOCKED, BUILT_IN_FPUTC_UNLOCKED,
	BUILT_IN_FPUTS_UNLOCKED, BUILT_IN_FWRITE_UNLOCKED,
	BUILT_IN_STRDUP): Add "nonnull" attribute.

testsuite:
	* gcc.dg/nonnull-3.c: New test.

From-SVN: r66468
2003-05-04 22:18:17 +00:00
Kaveh R. Ghazi
05c30f2224 configure.in (AC_CHECK_FUNCS): Don't make multiple calls.
* configure.in (AC_CHECK_FUNCS): Don't make multiple calls.
	* configure: Regenerate.

From-SVN: r66467
2003-05-04 22:14:18 +00:00
Paolo Carlini
85819f7c33 3.cc: New file, testing basic_string<char>::find_first_not_of.
2003-05-04  Paolo Carlini  <pcarlini@unitus.it>

	* testsuite/21_strings/basic_string/find/char/3.cc: New
	file, testing basic_string<char>::find_first_not_of.
	* testsuite/21_strings/basic_string/find/wchar_t/3.cc:
	Likewise for basic_string<wchar_t>.

From-SVN: r66466
2003-05-04 22:12:18 +00:00
Richard Kenner
c1853da7d3 expr.c (store_field): Don't clobber TEMP in shift: it might be a variable.
* expr.c (store_field): Don't clobber TEMP in shift: it might be
	a variable.
	(get_inner_reference): Don't go through a VIEW_CONVERT_EXPR
	whose purpose is to step up the alignment.
	(expand_expr, case ADDR_EXPR): Force LO_SUM into memory, just like REG.

From-SVN: r66465
2003-05-04 18:09:48 -04:00
Neil Booth
41dd7402ad * doc/cppopts.texi: Remove documentation of -gcc.
From-SVN: r66464
2003-05-04 22:06:57 +00:00
Richard Kenner
ad26fb41b4 stor-layout.c (compute_record_mode): Relax restriction on fields crossing word boundaries forcing BLKmode.
* stor-layout.c (compute_record_mode): Relax restriction
	on fields crossing word boundaries forcing BLKmode.

From-SVN: r66463
2003-05-04 18:04:51 -04:00
Neil Booth
1fecc2668c * doc/cppopts.texi: Enhance -Wtrigraphs documentation
From-SVN: r66462
2003-05-04 21:45:08 +00:00
Neil Booth
a8eb6044a9 cppinit.c (cpp_create_reader, [...]): Warn about trigraphs unless explicity set or -trigraphs.
* cppinit.c (cpp_create_reader, post_options): Warn about
	trigraphs unless explicity set or -trigraphs.
	* cpplex.c (warn_in_comment): New.
	(_cpp_process_line_notes): Better handling of -Wtrigraphs.
	(_cpp_skip_block_comment): Add call to _cpp_process_line_notes.
	* doc/cppopts.texi, doc/cpp.texi: Update.
testsuite:
	* gcc.dg/cpp/Wtrigraphs.c: Update.
	* gcc.dg/cpp/Wtrigraphs-2.c: New tests.

From-SVN: r66459
2003-05-04 20:03:55 +00:00
Zdenek Dvorak
09780dfb65 Makefile.in (LIBGCOV): Add _gcov_merge_add.
* Makefile.in (LIBGCOV): Add _gcov_merge_add.
	* gcov-io.h: Make GCOV_LINKAGE extern in libgcov and prevent resulting
	namespace clash.
	(GCOV_MERGE_FUNCTIONS): New.
	(gcov_merge_fn): Declare.
	(struct gcov_ctr_info): New field "merge".
	(__gcov_merge_add): Declare.
	* coverage.c (ctr_merge_functions): New.
	(build_ctr_info_type, build_ctr_info_value): Initialize merge field
	of gcov_ctr_info type.
	* libgcov.c (__gcov_merge_add): New.
	(gcov_exit): Call a hook to merge values of counters.

From-SVN: r66457
2003-05-04 15:20:26 +00:00
Gabriel Dos Reis
c71f2ffd78 toplev.h (pedwarn_with_file_and_line): Don't declare.
* toplev.h (pedwarn_with_file_and_line): Don't declare.
	* diagnostic.c (pedwarn_with_file_and_line): Remove.

From-SVN: r66456
2003-05-04 15:18:21 +00:00
Gabriel Dos Reis
3d8856836f * varasm.c (assemble_variable): Don't use error_with_file_and_line.
From-SVN: r66454
2003-05-04 14:27:17 +00:00
Nathan Sidwell
d4b56320a1 Make-lang.in (java/parse.o, [...]): Depend on input.h.
* Make-lang.in (java/parse.o, java/parse-scan.o): Depend on input.h.
	* lex.h: #include input.h.
	* jv-scan.c (input_filename): Remove.

From-SVN: r66452
2003-05-04 14:05:15 +00:00
Gerald Pfeifer
878618337c * MAINTAINERS: Remove duplicate entries in Write After Approval.
From-SVN: r66451
2003-05-04 11:45:20 +00:00
Kaveh R. Ghazi
8c9b38d738 builtins.c (expand_builtin_constant_p, [...]): Update prototypes.
* builtins.c (expand_builtin_constant_p, expand_builtin_strlen,
	expand_builtin_frame_address): Update prototypes.
	(expand_builtin_constant_p, expand_builtin_strlen,
	expand_builtin_strcpy, expand_builtin_memset,
	expand_builtin_bzero, expand_builtin_args_info,
	expand_builtin_frame_address): Pass in just the argument(s)
	needed, not the entire expression `exp'.
	(expand_builtin): Update all calls to these functions.

From-SVN: r66448
2003-05-04 05:34:13 +00:00
Richard Henderson
9c80ff25b7 builtins.c (expand_builtin): Remove.
* builtins.c (expand_builtin) <BUILT_IN_DWARF_FP_REGNUM>: Remove.
        <BUILT_IN_DWARF_SP_COLUMN>: New.
        * builtins.def (BUILT_IN_DWARF_FP_REGNUM): Remove.
        (BUILT_IN_DWARF_SP_COLUMN): New.
        * dwarf2out.c (expand_builtin_dwarf_fp_regnum): Remove.
        (expand_builtin_dwarf_sp_column): New.
        * except.h: Update to match.
        * unwind-dw2.c (execute_stack_op): Correct stack push typo.
        (execute_cfa_program): Record location expression address
        before extracting length.
        (uw_update_context_1): Install old CFA into stack pointer column.
        (uw_init_context_1): Set cfa_reg to stack pointer column.

From-SVN: r66447
2003-05-03 22:22:51 -07:00
Richard Henderson
4d588c1434 rs6000.c (constant_pool_expr_p): Make static and return bool.
* config/rs6000/rs6000.c (constant_pool_expr_p): Make static and
	return bool.
        (toc_relative_expr_p): Likewise.
        (SPE_CONST_OFFSET_OK): Move from rs6000.h.
        (legitimate_constant_pool_address_p): Move from rs6000.h, change
        into a function, downcase all users.
        (legitimate_small_data_p): Likewise.
        (legitimate_offset_address_p): Likewise.
        (legitimate_indexed_address_p): Likewise.
        (legitimate_indirect_address_p): Likewise.
        (legitimate_lo_sum_address_p): Likewise.
        (rs6000_mode_dependent_address): Likewise.
        * rs6000.h (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): Remove.
        (SPE_CONST_OFFSET_OK, LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
        LEGITIMATE_SMALL_DATA_P, LEGITIMATE_OFFSET_ADDRESS_P,
        LEGITIMATE_INDEXED_ADDRESS_P, LEGITIMATE_INDIRECT_ADDRESS_P,
        LEGITIMATE_LO_SUM_ADDRESS_P): Move into rs6000.c.
        (LEGITIMATE_ADDRESS_INTEGER_P): Remove.
        (GO_IF_MODE_DEPENDENT_ADDRESS): Use rs6000_mode_dependent_address.
        * config/rs6000/rs6000-protos.h: Update.

From-SVN: r66445
2003-05-03 17:33:49 -07:00
GCC Administrator
c3a5317cd3 Daily bump.
From-SVN: r66444
2003-05-04 00:16:15 +00:00
Geoffrey Keating
b39358e1d2 rs6000.h (REVERSIBLE_CC_MODE): Define.
* config/rs6000/rs6000.h (REVERSIBLE_CC_MODE): Define.
	(REVERSE_CONDITION): Define.

	* gcc.dg/ppc-fsel-1.c: New test.

From-SVN: r66442
2003-05-03 23:16:56 +00:00
Geoffrey Keating
b7053a3fde rs6000.c (scc_comparison_operator): Make equivalent to branch_positive_comparison_operator.
* 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
2003-05-03 23:13:57 +00:00
Geoffrey Keating
8d90f9c029 simplify-rtx.c (simplify_relational_operation): Add case for ! (fabs(x) < 0.0).
* simplify-rtx.c (simplify_relational_operation): Add case for
	! (fabs(x) < 0.0).

From-SVN: r66440
2003-05-03 23:12:41 +00:00
Bruce Korb
8882ac3a64 force merge conflicts in fixincl.x + placement fix
From-SVN: r66439
2003-05-03 22:48:59 +00:00
Aldy Hernandez
bd879e9a00 spe.h: Remove unecessary casts.
2003-05-03  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/spe.h: Remove unecessary casts.  Misc cleanups.

From-SVN: r66437
2003-05-03 22:44:44 +00:00
Zack Weinberg
87f85ea066 re PR c/10604 (-Wall includes sign conversion warning [3.3 regression])
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
2003-05-03 21:44:31 +00:00
Nathan Sidwell
e7b5f0c9b4 trans.c (tree_transform): Use location_t and input_location directly.
* trans.c (tree_transform): Use location_t and input_location
	directly.
	(build_unit_elab): Likewise.
	* utils.c (create_label_decl): Likewise.

From-SVN: r66433
2003-05-03 16:43:17 +00:00
Nathan Sidwell
31423e30ee com.c (ffecom_do_entry_): Use location_t and input_location directly.
* 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
2003-05-03 16:39:50 +00:00
Matt Kraai
5a43f8c419 GtkButtonPeer.java: Fix misspelling of "version".
* 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
2003-05-03 16:20:48 +00:00
Richard Kenner
13cf99ece0 expr.c (expand_expr, [...]): Don't use gen_lowpart on non-integer modes.
* expr.c (expand_expr, case VIEW_CONVERT_EXPR): Don't use
	gen_lowpart on non-integer modes.

From-SVN: r66430
2003-05-03 10:30:07 -04:00
Olivier Hainque
ee9609391b emit-rtl.c (last_call_insn, [...]): New functions.
* 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
2003-05-03 10:25:22 -04:00
Richard Kenner
3923e4102f stor-layout.c (place_field): When adjusting offset_align, use desired_align, not DECL_ALIGN.
* stor-layout.c (place_field): When adjusting offset_align, use
	desired_align, not DECL_ALIGN.

From-SVN: r66428
2003-05-03 10:16:27 -04:00
Carlo Wood
41fe940407 cp-demangle.c: Fix typo in "char_traints" string-literal.
2003-05-03  Carlo Wood  <carlo@alinoe.com>

	* cp-demangle.c: Fix typo in "char_traints" string-literal.

From-SVN: r66427
2003-05-03 14:09:35 +00:00
Kazu Hirata
c4e2d744f5 * gcc.dg/m-un-2.c: Fix the typedef of size_t.
From-SVN: r66426
2003-05-03 13:34:43 +00:00
Nathan Sidwell
070588f06e c-decl.c (pending_invalid_xref_file): Remove.
* 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
2003-05-03 13:28:33 +00:00
Kriang Lerdsuwanakij
5dc5d13c70 PR c++/9364, c++/10553, c++/10586
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
2003-05-03 11:58:17 +00:00
Nathan Sidwell
82a98427a9 class.c (finish_struct): Use location_t and input_location directly.
* 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
2003-05-03 11:37:22 +00:00
Nathan Sidwell
778ea5199f * ansify.c (die_unless): Revert lineno change here.
From-SVN: r66422
2003-05-03 11:24:55 +00:00
Richard Sandiford
4dc27b4b67 * gcc.c-torture/compile/20030503-1.c: New test.
From-SVN: r66421
2003-05-03 08:42:58 +00:00
Richard Sandiford
969c6c43ac * config/mips/mips.md: Fix comment typo.
From-SVN: r66420
2003-05-03 08:40:07 +00:00
Richard Sandiford
b259a9a6f7 mips.c (mips_integer_op): New structure.
* config/mips/mips.c (mips_integer_op): New structure.
	(MIPS_MAX_INTEGER_OPS): Define.
	(mips_const_insns): Use mips_build_integer to determine the number
	of instructions needed to load a CONST_INT.
	(move_operand): Reject compound CONST_INTs.
	(mips_build_shift, mips_build_lower, mips_build_integer): New fns.
	(mips_move_integer): New fn.
	(mips_legitimize_const_move): Pass CONST_INTs to mips_move_integer.
	(mips_legitimize_move): Only legitimize constants when moving
	word or subword values.

From-SVN: r66419
2003-05-03 08:10:17 +00:00