- 06 May, 2005 23 commits
-
-
PR tree-optimization/19401 * tree-flow.h (tree_unroll_loops_completely): Declaration changed. * tree-ssa-loop-ivcanon.c (enum unroll_level): New. (estimated_unrolled_size): New function. (try_unroll_loop_completely, canonicalize_loop_induction_variables, tree_unroll_loops_completely): Always unroll loops if the code size does not increase. * tree-ssa-loop.c (tree_complete_unroll): Indicate whether all loops should be unrolled completely. (gate_tree_complete_unroll): Run complete unrolling unconditionally. From-SVN: r99334
Zdenek Dvorak committed -
re PR rtl-optimization/21254 (Incorrect code with -funroll-loops for multiple targets with same code) PR rtl-optimization/21254 * loop-iv.c (iv_number_of_iterations): Simplify infiniteness assumptions for loops that otherwise do not roll. (find_simple_exit): Prefer # of iterations that is guaranteed not to be infinite. * loop-unroll.c (decide_peel_once_rolling, decide_peel_completely): Check whether the loop is infinite. From-SVN: r99332
Zdenek Dvorak committed -
2005-05-06 Pat Haugen <pthaugen@us.ibm.com> * config/rs6000/sysv4.opt: Fix typo. From-SVN: r99331
Pat Haugen committed -
2005-05-06 Denis Vlasenko <vda@port.imtp.ilyichevsk.odessa.ua> Jakub Jelinek <jakub@redhat.com> PR target/21329 * config/i386/i386.c (ix86_expand_movmem): Don't use rep; movsb for -Os if (movsl;)*(movsw;)?(movsb;)? sequence is shorter. Don't use rep; movs{l,q} if the repetition count is really small, instead use a sequence of movs{l,q} instructions. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r99330
Denis Vlasenko committed -
* decl2.c (pending_statics, note_vague_linkage_var, cp_finish_file): Use VEC instead of VARRAY. (pending_statics_used): Remove. From-SVN: r99329
Kazu Hirata committed -
From-SVN: r99326
Mark Mitchell committed -
* testsuite/testsuite_hooks.cc (try_mkfifo): Remove. * testsuite/testsuite_hooks.h (try_mkfifo): Likewise. * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use dg-require-fork and dg-require-mkfifo. Replace try_mkfifo with mkfifo. * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise. * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise. * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Likewise. * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise. * testsuite/27_io/objects/char/7.cc: Likewise. * testsuite/27_io/objects/char/9661-1.cc: Likewise. * testsuite/27_io/objects/wchar_t/7.cc: Likewise. * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise. * lib/target-supports-dg.exp (dg-require-fork): New function. (dg-require-mkfifo): Likewise. * lib/target-supports.exp (check_function_available): New function. (check_fork_available): Likewise. (check_mkfifo_available): Likewise. From-SVN: r99325
Mark Mitchell committed -
PR tree-optimization/21380 * tree-ssa-threadupdate.c (thread_through_all_blocks): Do not thread through a block with no preds. * gcc.c-torture/compile/pr21380.c: New test. From-SVN: r99324
Jeff Law committed -
[[Split portion of a mixed commit.]] Co-Authored-By: Joseph Myers <joseph@codesourcery.com> From-SVN: r99322.2
Bruce Korb committed -
* decl2.c (ssdf_decls, start_static_storage_duration_function, generate_ctor_or_dtor_function): Use VEC instead of VARRAY. From-SVN: r99319
Kazu Hirata committed -
From-SVN: r99317
Kazu Hirata committed -
* tree-ssa-operands.c (clobbered_v_may_defs, clobbered_vuses, ro_call_vuse, fini_ssa_operands, add_call_clobber_ops, add_call_read_ops): Use VEC instead of VARRAY. From-SVN: r99316
Kazu Hirata committed -
* config/mcore/mcore.c (mcore_print_operand_address): Use gcc_assert and gcc_unreachable as appropriate. (mcore_print_operand, mcore_gen_compare_reg, mcore_output_call, mcore_output_andn, output_inline_const, mcore_output_move, mcore_output_movedouble, mcore_expand_block_move, layout_mcore_frame, mcore_initial_elimination_offset, mcore_expand_prolog, mcore_mark_dllexport, mcore_mark_dllimport): Likewise. * config/mcore/mcore.h (switch_to_section): Likewise. * config/mcore/mcore.md: Likewise. From-SVN: r99315
Nathan Sidwell committed -
* config/rs6000/linux64.h: Remove MASK_PROFILE_KERNEL, and TARGET_PROFILE_KERNEL. * config/rs6000/rs6000.c (output_profile_hook): Add comment to TARGET_PROFILE_KERNEL use. From-SVN: r99314
Aldy Hernandez committed -
* config/m32r/m32r.c (m32r_encode_section_info): Use gcc_assert and gcc_unreachable, as appropriate. (gen_compare, gen_split_move_double, m32r_setup_incoming_varargs, m32r_expand_prologue, m32r_output_function_epilogue, m32r_legitimize_pic_address, m32r_print_operand_address, emit_cond_move, m32r_function_symbol, m32r_output_block_move): Likewise. * config/m32r/m32r.h (INITIAL_ELIMINATION_OFFSET): Likewise. * config/m32r/m32r.md ( *movsi_insn, *zero_branch_insn, *rev_zero_branch_insn): Likewise. From-SVN: r99309
Nathan Sidwell committed -
PR c++/20961 * varasm.c (merge_weak): Remove NEWDECL from WEAK_DECLS chain if both NEWDECL and OLDDECL are already weak. * g++.dg/ext/weak3.C: New test. From-SVN: r99306
Jakub Jelinek committed -
From-SVN: r99305
Richard Sandiford committed -
* java/awt/BufferCapabilities.java (BufferCapabilities): Merged javadoc. From-SVN: r99304
Michael Koch committed -
* java/util/Locale.java (defaultLocale): Use gnu.classpath.SystemProperties to get properties. (getLocale): New methods. Use it everywhere where instances of Locales are needed. (getDisplayLanguage): Merged javadoc. (getDisplayCountry): Likewise. (getDisplayVariant): Likewise. From-SVN: r99303
Michael Koch committed -
gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: use DeleteLocalRef() to avoid exhausting local native references. 2005-05-06 Archie Cobbs <archie@dellroad.org> * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: use DeleteLocalRef() to avoid exhausting local native references. From-SVN: r99302
Archie Cobbs committed -
2005-05-06 Mark Wielaard <mark@klomp.org> * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: (window_delete_cb): Don't use C++ style comments. 2005-05-06 Robert Schuster <thebohemian@gmx.net> * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed copyright header. 2005-05-06 Robert Schuster <thebohemian@gmx.net> * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: (window_delete_cb): Made the function return TRUE. From-SVN: r99301
Michael Koch committed -
* javax/swing/text/PlainView.java (drawUnselectedText): Call Utilities.drawTabbedText() with correct offset parameter. * javax/swing/text/Utilities.java (drawTabbedText): Initilialize local variable pos correctly. 2005-05-06 Roman Kennke <roman@kennke.org> * javax/swing/text/AbstractDocument.java (LeafElement): Made start and end package private fields for effective reindexing. * javax/swing/text/PlainDocument.java (constructor): The field rootElement is always BranchElement, so we handle it as such. (removeUpdate): Rewritten reindexing for removeUpdate so that the actual removal is taken into account. 2005-05-06 Roman Kennke <roman@kennke.org> * javax/swing/text/GapContent.java: Removed debugging output stuff, which I accidentally left in. 2005-05-06 Roman Kennke <roman@kennke.org> * javax/swing/text/GapContent.java: Implemented a real GapContent. Only the public methods have been implemented so far and still no UndoableEdit support. From-SVN: r99300
Roman Kennke committed -
[[Split portion of a mixed commit.]] From-SVN: r99296.2
GCC Administrator committed
-
- 05 May, 2005 17 commits
-
-
From-SVN: r99291
David Edelsohn committed -
* decl2.c (deferred_fns, note_vague_linkage_fn, cp_finish_file): Use VEC instead of VARRAY. From-SVN: r99290
Kazu Hirata committed -
From-SVN: r99289
David Edelsohn committed -
From-SVN: r99288
Aldy Hernandez committed -
* config/sh/sh.c (sh_builtin_saveregs): Use copy_to_mode_reg and plus_constant. Co-Authored-By: Kaz Kojima <kkojima@gcc.gnu.org> From-SVN: r99287
J"orn Rennecke committed -
2005-05-05 Aldy Hernandez <aldyh@redhat.com> * config.gcc: Add .opt magic for the rs6000 ports. * doc/invoke.texi: Document -mabi= option properly. Document -misel and -mno-sel. Document -mspe and -mno-spe. Document -mvrsave and -mno-vrsave. Document deprecation of -mspe= and -misel=. * config/rs6000/aix.h: Remove XL_COMPAT stuff. Remove SUBTARGET_SWITCHES and SUBSUBTARGET_SWITCHES. Define TARGET_XL_COMPAT. * config/rs6000/aix.opt: New. * config/rs6000/aix41.opt: New. * config/rs6000/aix64.opt: New. * config/rs6000/darwin.opt: New. * config/rs6000/linux64.opt: New. * config/rs6000/rs6000.opt: New. * config/rs6000/sysv4.opt: New. * config/rs6000/sysv4.h: Delete definitions of MASK_* and associated TARGET_*. Remove SUBTARGET_OPTIONS, SUBTARGET_SWITCHES. Define TARGET_USES_SYSV4_OPT. * config/rs6000/aix41.h: Remove SUBSUBTARGET_SWITCHES. * config/rs6000/aix43.h: Remove SUBSUBTARGET_SWITCHES. Define TARGET_USES_AIX64_OPT. * config/rs6000/aix51.h: Same. * config/rs6000/aix52.h: Same. * config/rs6000/darwin.h: Remove SUBTARGET_SWITCHES. Use TARGET_ALTIVEC_VRSAVE instead of rs6000_altivec_vrsave. * config/rs6000/linux64.h: Use rs6000_explicit_options. Remove EXTRA_SUBTARGET_SWITCHES. * config/rs6000/rs6000.c: Remove definitions of rs6000_sched_restricted_insns_priority, rs6000_long_double_size_string, rs6000_altivec_vrsave, rs6000_altivec_vrsave_string, rs6000_isel, rs6000_spe, rs6000_float_gprs_string, rs6000_isel_string, rs6000_spe_string, rs6000_abi_string, rs6000_warn_altivec_long, rs6000_longcall, rs6000_alignment_string. Define rs6000_explicit_options. (rs6000_parse_abi_options): Remove. (rs6000_parse_alignment_option): Remove. (rs6000_parse_float_gprs_option): Remove. (rs6000_handle_option): New. Define TARGET_HANDLE_OPTION. Define TARGET_DEFAULT_TARGET_FLAGS. (rs6000_override_options): Revamp to use new .opt machinery. * config/rs6000/rs6000.h: Remove old MASK_* and TARGET_* in favor of new .opt machinery. Remove target_flags. Redefine TARGET_MFCRF and TARGET_POWERPC64. Remove TARGET_SWITCHES, SUBTARGET_SWITCHES, TARGET_OPTIONS, SUBTARGET_OPTIONS, rs6000_float_gprs_string, rs6000_isel_string, rs6000_spe_string, rs6000_altivec_vrsave_string, rs6000_altivec_vrsave, rs6000_longcall_switch, rs6000_default_long_calls, rs6000_sched_costly_dep_str, rs6000_sched_costly_dep, rs6000_warn_altivec_long, rs6000_warn_altivec_long_switch, and TARGET_ALTIVEC_VRSAVE. From-SVN: r99284
Aldy Hernandez committed -
2005-05-05 Ralf Corsepius <ralf.corsepius@rtems.org> * config.gcc (hppa1.1-*-rtems*): Remove. * config/pa/rtems.h: Remove. From-SVN: r99282
Ralf Corsepius committed -
PR c++/21352 * pt.c (build_non_dependent_expr): Use is_overloaded_fn. PR c++/21352 * g++.dg/template/crash37.C: New test. From-SVN: r99281
Mark Mitchell committed -
From-SVN: r99279
Joseph Myers committed -
From-SVN: r99277
Joseph Myers committed -
2005-05-05 Ralf Corsepius <ralf.corsepius@rtems.org> * config/rs6000/t-rtems (MULTILIB_NEW_EXCEPTIONS_ONLY): Exclude roe/603e multilib variants. From-SVN: r99275
Ralf Corsepius committed -
From-SVN: r99274
Kazu Hirata committed -
2005-05-04 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4: Remove testsuite_wchar_t and testsuite_thread. * testsuite/Makefile.am: Same. * scripts/create_testsuite_files: Same. * Makefile.in: Regenerate. * configure: Same. * include/Makefile.in: Same. * libmath/Makefile.in: Same. * libsupc++/Makefile.in: Same. * po/Makefile.in: Same. * src/Makefile.in: Same. From-SVN: r99273
Benjamin Kosnik committed -
re PR target/21284 (AVR target: switch/case jump table is placed in .data instead of .progmem.gcc_sw_table) PR target/21284 * config/avr/avr.c (avr_output_addr_vec_elt): Use special section for output. From-SVN: r99272
Denis Chertykov committed -
2005-05-05 Paul Brook <paul@codesourcery.com> * gcc.dg/arm-g2.c: Use effective-target arm32. * gcc.dg/arm-mmx-1.c: Ditto. * gcc.dg/arm-scd42-2.c: Ditto. * gcc.dg/arm-vfp1.c: Ditto. * lib/target-supports.exp (check_effective_target_arm32): New function. From-SVN: r99269
Paul Brook committed -
* ltconfig: Define file_list_spec. Pass file_list_spec and with_gnu_ld to libtool. * ltcf-c.sh (aix[45]): Define file_list_spec. * ltcf-cxx.sh (aix[45]): Same. * ltcf-gcj.sh (aix[45]): Same. * ltmain.sh: If command exceeds max_cmd_len and file_list_spec exists, write list of input files to temporary file. From-SVN: r99268
David Edelsohn committed -
* config.gcc (arm*-wince-pe*, arm-*-pe*, strongarm-*-pe): Add arm/pe.opt to $extra_options. * config/arm/arm.h (target_flags, target_fpu_name, target_fpe_name) (target_float_abi_name, target_float_switch, target_abi_name) (ARM_FLAG_APCS_FRAME, ARM_FLAG_POKE, ARM_FLAG_FPE, ARM_FLAG_APCS_STACK) (ARM_FLAG_APCS_FLOAT, ARM_FLAG_APCS_REENT, ARM_FLAG_BIG_END) (ARM_FLAG_INTERWORK, ARM_FLAG_LITTLE_WORDS, ARM_FLAG_NO_SCHED_PRO) (ARM_FLAG_ABORT_NORETURN, ARM_FLAG_SINGLE_PIC_BASE) (ARM_FLAG_LONG_CALLS, ARM_FLAG_THUMB, THUMB_FLAG_BACKTRACE) (THUMB_FLAG_LEAF_BACKTRACE, THUMB_FLAG_CALLEE_SUPER_INTERWORKING) (THUMB_FLAG_CALLER_SUPER_INTERWORKING, CIRRUS_FIX_INVALID_INSNS) (TARGET_APCS_FRAME, TARGET_POKE_FUNCTION_NAME, TARGET_FPE) (TARGET_APCS_STACK, TARGET_APCS_FLOAT, TARGET_APCS_REENT) (TARGET_BIG_END, TARGET_INTERWORK, TARGET_LITTLE_WORDS) (TARGET_NO_SCHED_PRO, TARGET_ABORT_NORETURN, TARGET_SINGLE_PIC_BASE) (TARGET_LONG_CALLS, TARGET_THUMB, TARGET_CALLER_INTERWORKING) (TARGET_CIRRUS_FIX_INVALID_INSNS, SUBTARGET_SWITCHES, TARGET_SWITCHES) (TARGET_OPTIONS, arm_cpu_select, arm_select, structure_size_string) (arm_pic_register_string): Delete. (TARGET_BACKTRACE): Redefine using TARGET_TPCS_LEAF_FRAME and TARGET_TPCS_FRAME. (TARGET_DEFAULT, CONDITIONAL_REGISTER_USAGE): Update mask names. * config/arm/coff.h (TARGET_DEFAULT): Likewise. * config/arm/elf.h (TARGET_DEFAULT): Likewise. * config/arm/netbsd-elf.h (TARGET_DEFAULT): Likewise. * config/arm/netbsd.h (TARGET_DEFAULT): Likewise. * config/arm/semi.h (TARGET_DEFAULT): Likewise. * config/arm/uclinux-elf.h (TARGET_DEFAULT): Likewise. * config/arm/wince-pe.h (TARGET_DEFAULT): Likewise. * config/arm/pe.h (TARGET_DEFAULT): Likewise. (TARGET_FLAG_NOP_FUN, TARGET_NOP_FUN_DLLIMPORT): Delete. (SUBTARGET_SWITCHES): Delete. * config/arm/arm.c (target_float_switch): Delete. (arm_cpu_select): Moved from config/arm/arm.h. (target_fpu_name, target_fpe_name, target_float_abi_name) (target_abi_name, structure_size_string, arm_pic_register_string) (arm_select): Make static. (TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION): Override defaults. (arm_handle_option): New function. (arm_override_options): Update target_flags checks for new mask names. Remove target_float_switch code. (arm_expand_prologue, thumb_expand_prologue): Check !TARGET_SCHED_PROLOG instead of TARGET_NO_SCHED_PRO. * config/arm/arm.opt, config/arm/pe.opt: New files. From-SVN: r99265
Richard Sandiford committed
-