- 07 May, 2005 6 commits
-
-
* mangle.c (globals): Change the type of substitutions to VEC(tree,gc)*. (dump_substitution_candidates, add_substitution, find_substitution, finish_mangling, init_mangle): Use VEC instead of VARRAY. From-SVN: r99347
Kazu Hirata committed -
* decl.c (wrapup_globals_for_namespace): Use VEC instead of VARRAY. * name-lookup.c (add_decl_to_level, begin_scope): Likewise. * name-lookup.h (cp_binding_level): Change the type of static_decls to VEC(tree,gc)*. From-SVN: r99346
Kazu Hirata committed -
From-SVN: r99345
R. Kelley Cook committed -
2005-05-06 Kelley Cook <kcook@gcc.gnu.org> * aclocal.m4 (AC_DEFINE_NOAUTOHEADER): Remove. * configure.ac: Replace any AC_DEFINE_NOAUTOHEADER with AC_DEFINE. * configure: Regenerate. From-SVN: r99344
Kelley Cook committed -
2005-05-06 Kelley Cook <kcook@gcc.gnu.org> * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS. Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF. * aclocal.m4: Don't include accross.m4. * configure, config.in: Regenerate. From-SVN: r99343
Kelley Cook committed -
[[Split portion of a mixed commit.]] From-SVN: r99341.2
GCC Administrator committed
-
- 06 May, 2005 25 commits
-
-
2005-05-06 Eric Christopher <echristo@redhat.com> * config/mips/mips.opt: Remove -mint64 option. * config/mips/mips.c (override_options): Remove -mint64 handling. * config/mips/mips.h (INT_TYPE_SIZE): Define to 32. * config/mips/linux.h (TARGET_OS_CPP_BUILTINS): Remove 64-bit integer handling. * doc/invoke.texi (Option Summary): Remove -mint64 for mips. From-SVN: r99337
Eric Christopher committed -
2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com> * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java. * Makefile.in: Regenerate. * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java (createCompatibleVolatileImage(int,int)): Implement. (createCompatibleVolatileImage(int,int,ImageCapabilities)): Likewise. * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps): New fields. (createVolatileImage): Implement. (createBuffers): Likewise. (getBackBuffer): Likewise. (flip): Likewise. (destroyBuffers): Likewise. * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file. * java/awt/Canvas.java (CanvasBltBufferStrategy): New class. (CanvasFlipBufferStrategy): Likewise. (createBufferStrategy(int)): New method. (createBufferStrategy(int,BufferCapabilities)): Likewise. * java/awt/Component.java (BltBufferStrategy): Implement and document class. (FlipBufferStrategy): Likewise. * java/awt/Window.java (WindowBltBufferStrategy): New class. (WindowFlipBufferStrategy): Likewise. (createBufferStrategy(int)): New method. (createBufferStrategy(int,BufferCapabilities)): Likewise. (getBufferStrategy): Likewise. * java/awt/BufferCapabilities.java (BufferCapabilities): Rename front to frontCaps and back to backCaps. From-SVN: r99336
Thomas Fitzsimmons committed -
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 9 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
-