Commit Graph

66466 Commits

Author SHA1 Message Date
Richard Sandiford 1de80b0e69 re PR rtl-optimization/19683 (MIPS wrong-code for 64-bit multiply.)
PR rtl-optimization/19683
	* reload1.c (choose_reload_regs): Pass the number of bits, not the
	number of bytes, to smallest_int_for_mode.  Fix arguments to
	REG_CANNOT_CHANGE_MODE_P.

From-SVN: r96033
2005-03-07 17:48:46 +00:00
Tom Tromey 21b2340908 re PR java/20215 (gcj does not accept classes with same name fields)
PR java/20215:
	* include/jvm.h (_Jv_Linker::find_field_helper): Updated.
	* link.cc (find_field_helper): Added 'type' argument.
	(find_field): Updated.

From-SVN: r96032
2005-03-07 17:18:33 +00:00
Paolo Carlini 7a59efae86 std_fstream.h (basic_fstream<>::open, [...]): Implement the resolution of DR 409 [Ready], call clear() on success.
2005-03-07  Paolo Carlini  <pcarlini@suse.de>

	* include/std/std_fstream.h (basic_fstream<>::open,
	basic_ifstream<>::open, basic_ofstream<>::open): Implement the
	resolution of DR 409 [Ready], call clear() on success.
	* docs/html/ext/howto.html: Add an entry for DR 409.
	* docs/html/faq/index.html (4_4): Clarify the new behavior.
	* testsuite/27_io/basic_ifstream/open/char/1.cc: Adjust.
	* testsuite/27_io/basic_ofstream/open/char/1.cc: Likewise.

From-SVN: r96030
2005-03-07 16:58:43 +00:00
Scott Gilbertson 9ed9eda673 natXAnyEvent.cc (loadNext): Added timeout.
2005-04-07  Scott Gilbertson  <scottg@mantatest.com>

	* gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
	* gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
    throw UnsupportedOperationException, fixed comments.
    (setFont, setForeground): Fixed comments.
	* gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
    return type to boolean.
    (getNextEvent): Fixed javadocs.
	* gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
    (nativeQueueEmpty): Removed unused code.
    (iterateNativeQueue): Removed outer loop.

From-SVN: r96029
2005-03-07 16:49:37 +00:00
Ian Lance Taylor 3eb54e5f63 Change ChangeLog file names from a numeric index (ChangeLog.N) to a
year based name (ChangeLog-YYYY).

This change does not itself get a ChangeLog entry.

From-SVN: r96028
2005-03-07 16:19:38 +00:00
Eric Botcazou 4cdc2a35e5 reorg.c (relax_delay_slots): Check that the jump is conditional before trying to invert it.
* reorg.c (relax_delay_slots): Check that the jump is
	conditional before trying to invert it.

From-SVN: r96027
2005-03-07 15:46:59 +00:00
Kazu Hirata 0d48fcd1c9 * loop-unswitch.c (unswitch_loop): Remove local variable src.
From-SVN: r96026
2005-03-07 15:17:21 +00:00
Kazu Hirata 94eb5ddb83 cfgrtl.c (rtl_verify_flow_info_1): Remove local variable last_bb_seen.
* cfgrtl.c (rtl_verify_flow_info_1): Remove local variable
	last_bb_seen.

From-SVN: r96025
2005-03-07 15:16:03 +00:00
Kazu Hirata 50f63b1a67 cfghooks.c (verify_flow_info): Remove local variable num_bb_notes.
* cfghooks.c (verify_flow_info): Remove local variable
	num_bb_notes.

From-SVN: r96024
2005-03-07 15:15:26 +00:00
Kaveh R. Ghazi 1f43e92e35 warn_summary: Add -fortran subdir flag.
* warn_summary: Add -fortran subdir flag.
	(subdirectoryFilter): Fix missing ada subdir.

From-SVN: r96022
2005-03-07 14:59:17 +00:00
Kazu Hirata 8c80c4aa63 tree-ssa-dce.c (control_dependence_map, [...]): Make them static.
* tree-ssa-dce.c (control_dependence_map,
	visited_control_parents): Make them static.

From-SVN: r96020
2005-03-07 14:04:59 +00:00
Kazu Hirata d4222d4347 * tree-ssa-pre.c (has_abnormal_preds): Make it static.
From-SVN: r96019
2005-03-07 14:02:38 +00:00
Kazu Hirata 2e56d969e9 stor-layout.c (set_alignment): Remove.
* stor-layout.c (set_alignment): Remove.
	* tree.h: Remove the corresponding prototype.

From-SVN: r96018
2005-03-07 13:59:50 +00:00
Kazu Hirata 249e538ffa * tree-ssa-operands.c (check_build_stmt): Remove.
From-SVN: r96017
2005-03-07 13:58:08 +00:00
Kazu Hirata 12eff7b7bf cfgbuild.c (find_sub_basic_blocks): Remove.
* cfgbuild.c (find_sub_basic_blocks): Remove.
	* basic-block.h: Remove the corresponding prototype.
	* cfgexpand.c, cfgrtl.c: Don't mention find_sub_basic_blocks
	in comments.
	* doc/cfg.texi: Don't mention find_sub_basic_blocks.

From-SVN: r96016
2005-03-07 13:56:00 +00:00
Kazu Hirata 6db31844ad recog.c (verify_changes): Make it static.
* recog.c (verify_changes): Make it static.
	* recog.h: Remove the corresponding prototype.

From-SVN: r96015
2005-03-07 13:52:09 +00:00
Kazu Hirata cf0fa607b9 reload1.c (reload_startobj, [...]): Make them static.
* reload1.c (reload_startobj, reload_firstobj,
	something_needs_operands_changed, reload_inherited,
	reload_inheritance_insn, reload_override_in,
	reload_spill_index): Make them static.

From-SVN: r96014
2005-03-07 13:50:08 +00:00
Kazu Hirata fa8718d799 flow.c (regs_live_at_setjmp): Make it static.
* flow.c (regs_live_at_setjmp): Make it static.
	* flow.h: Remove the corresponding prototype.

From-SVN: r96013
2005-03-07 13:47:37 +00:00
Kazu Hirata 0405cc0e8d * calls (stack_arg_under_construction): Make it static.
From-SVN: r96012
2005-03-07 13:45:38 +00:00
Kazu Hirata cd735ab818 bb-reorder.c (max_entry_frequency, [...]): Make them static.
* bb-reorder.c (max_entry_frequency, max_entry_frequency):
	Make them static.

From-SVN: r96011
2005-03-07 13:42:53 +00:00
Steven G. Kargl 02665ea401 * Replace tabs with spaces.
Co-Authored-By: Paul Thomas <prthomas@drfccad.cea.fr>

From-SVN: r96009
2005-03-07 04:49:36 +00:00
David Billinghurst 01c65e8a30 cygwin1.c (mingw_scan): Use xstrdup in calls to putenv.
2005-03-07  David Billinghurst <David.Billinghurst@riotinto.com>

	* config/i386/cygwin1.c(mingw_scan): Use xstrdup in calls to putenv.

From-SVN: r96006
2005-03-07 04:18:08 +00:00
Joseph Myers 543144ed5d hpux.h (LINK_SPEC): Add -z.
* config/ia64/hpux.h (LINK_SPEC): Add -z.
	* config/ia64/ia64.c (ia64_function_value): Return a REG not a
	PARALLEL for an empty structure.

From-SVN: r96004
2005-03-07 03:28:13 +00:00
Kazu Hirata 1eaea40908 fold-const.c (fold_binary): Unroll the very first "for" loop.
* fold-const.c (fold_binary): Unroll the very first "for"
	loop.

From-SVN: r96003
2005-03-07 03:23:13 +00:00
Kazu Hirata 209eaaffeb * fold-const.c (fold_binary): Remove handling of RANGE_EXPR.
From-SVN: r96002
2005-03-07 03:20:54 +00:00
David Edelsohn ede6287533 predicates.md (branch_comparison_operator): Remove redundant match_code test.
* config/rs6000/predicates.md (branch_comparison_operator): Remove
        redundant match_code test.
        (scc_comparison_operator): Swap match_operand and match_code
        tests.
        (branch_positive_comparison_operator): Same.
        (trap_comparison_operator): Use comparison_operator and swap with
        match_code test.

From-SVN: r96000
2005-03-06 19:21:27 -05:00
GCC Administrator 0f2371cb2d Daily bump.
From-SVN: r95998
2005-03-07 00:16:26 +00:00
Marek Michalkiewicz a69901850b re PR target/20288 (AVR assignment of a value through a 16 bit pointer generates out of order code)
PR target/20288
	* config/avr/avr.c (print_operand): Add 'p' and 'r'.
	(out_movhi_r_mr): Read low byte of volatile MEM first.
	(out_movhi_mr_r): Write high byte of volatile MEM first.

From-SVN: r95993
2005-03-06 21:50:36 +00:00
Joseph Myers b261a494d6 * es.po: Update.
From-SVN: r95991
2005-03-06 21:12:12 +00:00
Kazu Hirata c1a408fd50 * fold-const.c (fold_unary): Use build1 instead of copy_node.
From-SVN: r95989
2005-03-06 20:14:16 +00:00
Kazu Hirata f00822b28d * cse.c (cse_reg_info_table): Make it static.
From-SVN: r95988
2005-03-06 20:05:58 +00:00
Kazu Hirata 5211d65acf * cselib.c (reg_values, reg_values_size): Make them static.
From-SVN: r95987
2005-03-06 20:02:46 +00:00
Roger Sayle 992ff9ab3b re PR bootstrap/20155 (libgcj build fails with "execvp: /bin/sh: Argument list too long")
PR libgcj/20155
        * Makefile.am (libgcj0_convenience.la): Revert last change.
        * Makefile.in: Regenerate.

From-SVN: r95984
2005-03-06 19:48:10 +00:00
Zdenek Dvorak 21cf294f37 * cse.c (find_best_addr): Use canon_for_address.
From-SVN: r95983
2005-03-06 18:47:22 +00:00
John David Anglin 6731e86da0 file-format.exp (gcc_target_object_format): Add check for som format and hardcode object formats on hppa*-*-hpux*.
* lib/file-format.exp (gcc_target_object_format): Add check for som
        format and hardcode object formats on hppa*-*-hpux*.
	* lib/target-supports.exp (check_weak_available): Add check for som
	object format.  Always return 0 on hppa*-*-hpux10*.
	* gcc.dg/titype-1.c, gcc.dg/uninit-C.c: Don't use TImode if __hppa__
	is defined.
	* objc.dg/stabs-1.m: hppa*64*-*-* doesn't have stabs.

From-SVN: r95982
2005-03-06 18:26:53 +00:00
DJ Delorie b3df8be147 configure.ac (target_header_dir): vfork is a stub under djgpp.
* configure.ac (target_header_dir): vfork is a stub under djgpp.
* configure: Regenerated.

From-SVN: r95980
2005-03-06 12:41:16 -05:00
DJ Delorie fe8ee922e3 configure.ac (target_header_dir): vfork is a stub under djgpp.
* configure.ac (target_header_dir): vfork is a stub under djgpp.
* configure: Regenerated.

From-SVN: r95979
2005-03-06 12:40:06 -05:00
Kazu Hirata e9da788c50 fold-const.c (fold_binary_op_with_conditional_arg): Take decomposed arguments code, type, op0, and op1 instead of t.
* fold-const.c (fold_binary_op_with_conditional_arg): Take
	decomposed arguments code, type, op0, and op1 instead of t.
	(fold_binary): Update a call to fold_range_test.

From-SVN: r95978
2005-03-06 17:23:03 +00:00
Kazu Hirata e1f04615c7 fold-const.c (fold_range_test): Take decomposed arguments code, type, op0, and op1 instead of t.
* fold-const.c (fold_range_test): Take decomposed arguments
	code, type, op0, and op1 instead of t.
	(fold_binary): Update a call to fold_range_test.

From-SVN: r95977
2005-03-06 17:20:42 +00:00
Kriang Lerdsuwanakij a103aa92fd Fix ChangeLog date of PR19311
From-SVN: r95973
2005-03-06 16:50:46 +00:00
James A. Morrison 597eb1d72b re PR treelang/20326 (treelang does install the backend as a driver)
2005-03-06  James A. Morrison  <phython@gcc.gnu.org>

        PR other/20326
        * Make-lang.in (gtreelang, treelang/spec.o): New targets.
        * spec.c: New file.

From-SVN: r95972
2005-03-06 16:02:40 +00:00
Kazu Hirata d7e5b287a0 fold-const.c (optimize_minmax_comparison): Take decomposed arguments code, type, op0, and op1 instead of t.
* fold-const.c (optimize_minmax_comparison): Take decomposed
	arguments code, type, op0, and op1 instead of t.
	(fold_binary): Update a call to optimize_minmax_comparison.

From-SVN: r95971
2005-03-06 14:19:45 +00:00
Kazu Hirata c933f71e3d * fold-const.c (fold_binary): Use code instead of t.
From-SVN: r95970
2005-03-06 14:18:08 +00:00
John David Anglin 0022eee395 * ChangeLog: Update entry.
From-SVN: r95968
2005-03-06 13:33:58 +00:00
Kazu Hirata 1ddc032813 jcf-dump.c, [...]: Update copyright.
* jcf-dump.c, jcf-io.c, jcf-reader.c, lang.c, parse.h,
	typeck.c: Update copyright.

From-SVN: r95967
2005-03-06 12:57:57 +00:00
Ranjit Mathew ecf713657e Remove xref code.
* xref.c, xref.h: Remove file.
	* Make-lang.in (java/xref.o): Remove.
	* java-tree.h (flag_emit_xref, do_not_fold): Remove declaration.
	* lang.c (flag_emit_xref): Remove definition.
	* parse.h (DECL_END_SOURCE_LINE, DECL_INHERITED_SOURCE_LINE): Remove.
	* typeck.c (convert): Remove use of do_not_fold.
	* parse.y (do_not_fold): Remove definition.
	(parser grammar): Remove xref code.
	(maybe_create_class_interface_decl, create_class): Likewise.
	(register_fields, method_header, finish_method_declaration): Likewise.
	(declare_local_variables, source_end_java_method): Likewise.
	(java_complete_expand_classes): Do not set do_not_fold.
	(java_complete_expand_method): Remove xref code.
	(java_expand_classes, resolve_field_access, patch_invoke): Likewise.
	(java_complete_tree, java_complete_lhs, patch_assignment): Likewise.
	(patch_binop, build_string_concatenation, patch_array_ref): Likewise.
	(patch_synchronized_statement, patch_throw_statement): Likewise.
	(maybe_build_class_init_for_field): Likewise.

From-SVN: r95965
2005-03-06 08:42:33 +00:00
Kazu Hirata 25910ca462 cse.c (fold_rtx_subreg, [...]): New.
* cse.c (fold_rtx_subreg, fold_rtx_mem): New.
	(fold_rtx): Call fold_rtx_subreg and fold_rtx_mem to handle
	SUBREG and MEM, respectively.

From-SVN: r95964
2005-03-06 05:21:10 +00:00
Kazu Hirata 7104730324 fold-const.c (fold_binary): Avoid directly using the original expression t as much as possible.
* fold-const.c (fold_binary): Avoid directly using the original
	expression t as much as possible.

From-SVN: r95962
2005-03-06 02:25:03 +00:00
Kazu Hirata 75505450f6 * fold-const.c (fold): Remove handling of binary expressions.
From-SVN: r95961
2005-03-06 00:42:56 +00:00
GCC Administrator 5c2ff394f3 Daily bump.
From-SVN: r95959
2005-03-06 00:16:33 +00:00