- 08 Oct, 2003 15 commits
-
-
2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com> * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub out. * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__. (JCL_free): Attach "unused" attribute to env parameter. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c, jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused parameters. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c: (initNativeState): Pass 0 as info argument to gtk_selection_add_target. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove unused method implementations. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler): Add break statement after default label. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c (drawPixels): Remove unused variable i. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c (setEnabled): Remove method implementation. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c (accel_attach): Call _gtk_accel_group_attach with G_OBJECT argument. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove unused function. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c (menu_pos): Assign TRUE to push_in. (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT argument. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c (create): Remove unused variable layout. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create): Pass window_widget, rather than window, to gtk_widget_set_size_request. * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out structure initialization with NULL values. * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__. From-SVN: r72231
Thomas Fitzsimmons committed -
2003-10-08 Michael Koch <konqueror@gmx.de> * java/util/LinkedList.java: Removed whitespace to match classpath's version again. From-SVN: r72230
Michael Koch committed -
* java/util/prefs/Preferences.java (defaultFactoryClass): Fixed class name. (getFactory): Create instance of class returned by Class.forName(), reformated code. From-SVN: r72229
Michael Koch committed -
* javax/swing/table/AbstractTableModel.java (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who helped stop pulling my hair on this +1 then -1 tricky thing! From-SVN: r72228
Arnaud Vandyck committed -
2003-10-08 Paolo Carlini <pcarlini@unitus.it> * include/bits/locale_facets.tcc: More minor cosmetic changes and const-ifications of some variables. From-SVN: r72226
Paolo Carlini committed -
PR bootstrap/12490 * scan-decls.c (MAX_EXTERN_C_BRACES): New preprocessor constant to define the size of the extern_C_braces array. Set it to 200. (scan_decls): Abort when extern_C_braces_length is out-of-bounds. Co-Authored-By: Eric Botcazou <ebotcazou@libertysurf.fr> From-SVN: r72224
Timo Kokkonen committed -
* Makefile.in (gengtype-lex.c): flex 2.5.4[a] doesn't understand a space after the -o option. flex 2.5.31 understands both, with and without the space. Removed that space. From-SVN: r72223
Carlo Wood committed -
* config/mips/mips.c (mips_frame_info): Add cprestore_size field. (compute_frame_size): Initialize it. Remove the .cprestore slot from args_size. (mips_output_function_prologue): Simplify accordingly. (mips_debugger_offset): Change the mips16 frame pointer offset from current_function_outgoing_args to cfun->machine->frame.args_size. (mips_initial_elimination_offset): Likewise. (mips_expand_prologue): Likewise. (mips_expand_epilogue): Likewise. From-SVN: r72222
Richard Sandiford committed -
* config/mips/mips.h (EXTRA_CONSTRAINT): Add 'W' constraint. (EXTRA_MEMORY_CONSTRAINT): Define. (CAN_ELIMINATE): Remove lwu workaround. * config/mips/mips.md (*zero_extendsidi2_mem): Enable for mips16 too. Use a 'W' constraint for the source operand. From-SVN: r72221
Richard Sandiford committed -
* genopinit.c (main): Output code to declare undefined variables. From-SVN: r72220
Kazu Hirata committed -
From-SVN: r72219
Richard Sandiford committed -
From-SVN: r72218
Richard Sandiford committed -
2003-10-08 Giovanni Bajo <giovannibajo@libero.it> * g++.dg/parse/error2.C: New test. From-SVN: r72216
Giovanni Bajo committed -
* cp_tree.h: Added TFF_NO_FUNCTION_ARGUMENTS. * error.c (dump_function_decl): Use it to skip the dump of the arguments. (dump_expr): When dumping a declaration found within an expression, always set TFF_NO_FUNCTION_ARGUMENTS in the flags. From-SVN: r72215
Giovanni Bajo committed -
From-SVN: r72213
GCC Administrator committed
-
- 07 Oct, 2003 25 commits
-
-
PR c++/11097 * g++.dg/other/error5.C: Modify the error message. * g++.dg/lookup/using8.C: New test. From-SVN: r72211
Giovanni Bajo committed -
2003-10-07 Kelley Cook <kcook@gcc.gnu.org> * gengtype-lex.l: Remove -Wtraditional cruft. * Makefile.in (gengtype-lex.c): Likewise. From-SVN: r72210
Kelley Cook committed -
From-SVN: r72209
Geoffrey Keating committed -
PR c++/11097 * pt.c (tsubst_decl): Substitute also the DECL_NAME node of USING_DECL. From-SVN: r72208
Giovanni Bajo committed -
From-SVN: r72207
Zdenek Dvorak committed -
PR c++/12519 * c-semantics.c (genrtl_cleanup_stmt): Ignore the CLEANUP_DECL if it isn't a decl. From-SVN: r72206
Jason Merrill committed -
2003-10-07 Thomas Fitzsimmons <fitzsim@redhat.com> * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize): Remove unused parameters. * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize): Likewise. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (keyevent_state_to_awt_mods): Export function. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c (getCaretPosition): Fix TextArea case. (textcomponent_commit_cb): Get exact event time and modifier state. * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods. From-SVN: r72202
Thomas Fitzsimmons committed -
2003-10-07 Alexandre Oliva <aoliva@redhat.com> * gcc.c (cpp_options): Only pass -fworking-directory for -g* if not overridden. Fixes PR bootstrap/12173. From-SVN: r72201
Alexandre Oliva committed -
* errors.c: Don't include coretypes.h or tm.h. (trim_filename): Use IS_DIR_SEPARATOR. * Makefile.in: Update dependencies of errors.o and $(BUILD_PREFIX_1)errors.o. From-SVN: r72200
Zack Weinberg committed -
2003-10-07 Geoffrey Keating <geoffk@apple.com> * function.c (pad_to_arg_alignment): Take STACK_POINTER_OFFSET into account when aligning arguments. * calls.c (STACK_POINTER_OFFSET): Move default from here ... * defaults.h (STACK_POINTER_OFFSET): ... to here. * config/sparc/sparc.h (STACK_BOUNDARY): Add comment about how it's wrong when TARGET_ARCH64 && TARGET_STACK_BIAS. (SPARC_STACK_BOUNDARY_HACK): Define. * config/rs6000/rs6000.c (function_arg): On non-SVR4 systems, arrange for vector parameters to varargs functions to be passed in both memory and GPRs when appropriate. (rs6000_va_arg): Vector arguments passed in memory are 16-byte aligned. Index: testsuite/ChangeLog 2003-10-07 Geoffrey Keating <geoffk@apple.com> * gcc.dg/darwin-abi-2.c: New file. * gcc.c-torture/execute/va-arg-24.c: New file. From-SVN: r72199
Geoffrey Keating committed -
From-SVN: r72198
Geoffrey Keating committed -
* hooks.c (hook_bool_tree_true): New. (hook_rtx_tree_int_null): New. (hook_rtx_rtx_null): Use NULL, not 0. * hooks.h: Add 'extern' to everything. (hook_bool_tree_true): New. (hook_rtx_tree_int_null): New. * targhooks.c (hook_bool_CUMULATIVE_ARGS_true): New. * targhooks.h (hook_bool_CUMULATIVE_ARGS_true): New. * config/rs6000/rs6000-protos.h (setup_incoming_varargs): Remove prototype. * config/rs6000/rs6000.c (rs6000_return_in_memory): New. (setup_incoming_varargs): Prototype. (TARGET_PROMOTE_FUNCTION_ARGS): Define. (TARGET_PROMOTE_FUNCTION_RETURN): Define. (TARGET_STRUCT_VALUE_RTX): Define. (TARGET_RETURN_IN_MEMORY): Define. (TARGET_SETUP_INCOMING_VARARGS): Define. (TARGET_STRICT_ARGUMENT_NAMING): Define. (TARGET_PRETEND_OUTGOING_VARARGS_NAMED): Define. (init_cumulative_args): Use rs6000_return_in_memory. (setup_incoming_varargs): Make 'static'. * config/rs6000/rs6000.h (PROMOTE_FUNCTION_ARGS): Delete. (PROMOTE_FUNCTION_RETURN): Delete. (STRUCT_VALUE): Delete. (RETURN_IN_MEMORY): Delete. (SETUP_INCOMING_VARARGS): Delete. From-SVN: r72197
Geoffrey Keating committed -
* g++.dg/template/spec10.C: Set exit value to zero on success. Fix indentation. From-SVN: r72195
Bob Wilson committed -
* doc/invoke.texi (Warning Options): Simplify and clarify the descriptions of -Wnonnull and -Winit-self. From-SVN: r72194
Gerald Pfeifer committed -
optabs.c (init_intraclass_conv_libfuncs): Fix order of array indicees for floating-point conversersion libcalls. * optabs.c (init_intraclass_conv_libfuncs): Fix order of array indicees for floating-point conversersion libcalls. From-SVN: r72193
Richard Earnshaw committed -
* Makefile.in: Add more comments separating large conceptually separate sections. From-SVN: r72192
Nathanael Nerode committed -
* configure.in: Clean up thread file logic. * configure: Regenerate. From-SVN: r72191
Nathanael Nerode committed -
2003-10-07 Paolo Carlini <pcarlini@unitus.it> * include/bits/locale_facets.tcc: Minor cosmetic changes and const-ifications of some variables. * include/bits/locale_facets.tcc (money_get::do_get(..., string_type&)): Simplify an if-else. From-SVN: r72190
Paolo Carlini committed -
* config/i386/cygming.h (READONLY_DATA_SECTION_ASM_OP): Define. (switch_to_section): Handle in_readonly_data. * config/i386/winnt.c (i386_pe_asm_named_section): Handle readonly data. From-SVN: r72189
Danny Smith committed -
* arm.md (cmpsi2_addneg): New ARM pattern. Add peephole2 to generate it. (cbranchne_decr1): New Thumb pattern. * arm.c (arm_addimm_operand): New insn predicate. * arm-protos.h: Add a prototype for it. * arm.h (PREDICATE_CODES): Add it. From-SVN: r72188
Richard Earnshaw committed -
* sched-int.h (sched_info): New field sched_max_insns_priority. * sched-rgn.c (init_ready_list): Add invocations to targetm.sched.adjust_priority. (sched_max_insns_priority): Init new field. * sched-ebb.c (sched_max_insns_priority): Init new field. * haifa-sched.c (set_priorities): Set sched_info->sched_max_insns_priority. * config/rs6000/rs6000.h: (rs6000_sched_restricted_insns_priority_str): Support new flag -mprioritize-restricted-insns. (DEFAULT_RESTRICTED_INSNS_PRIORITY): Define. * config/rs6000/rs6000.c (is_dispatch_slot_restricted): New function. (rs6000_adjust_priority): Change priority of restricted insns, using above new function and new flag. * doc/invoke.texi (-mprioritize-restricted-insns): Document new option. From-SVN: r72186
Dorit Naishlos committed -
* expr.c (cmpstr_optab, cmpmem_optab): New. * genopinit.c: Initialize them. * optabs.h: Declare them. * optabs.c (init_optabs): Clear them. (prepare_cmp_insn): Use cmpstr_optab and cmpmem_optab to find block memory compare insns, not conditional chains. Restructure the fallback generation of a call to memcmp/bcmp for better readability. From-SVN: r72185
Zack Weinberg committed -
PR c++/10147 * call.c (initialize_reference): Tweak error message. PR c++/12337 * init.c (build_new_1): Make sure that the expression returned is not an lvalue. PR c++/12344, c++/12236, c++/8656 * decl.c (start_function): Do not ignore attributes embedded in a function declarator. PR c++/12337 * g++.dg/init/new9.C: New test. PR c++/12334, c++/12236, c++/8656 * g++.dg/ext/attrib8.C: New test. From-SVN: r72183
Mark Mitchell committed -
* config/mips/mips.c (MIPS_MAX_FIRST_STACK_STEP): New macro. (mips_save_restore_fn): New typedef. (mips_add_large_offset_to_sp, mips_emit_frame_related_store): Remove. (mips_set_frame_expr, mips_frame_set): Move above prologue code. (save_restore_insns): Remove, replacing with... (mips_save_restore_reg, mips_for_each_saved_reg): ...these new fns. (mips_save_reg, mips_restore_reg): New function. (mips_expand_prologue, mips_expand_epilogue): Rework. * config/mips/mips.h (MIPS_TEMP1_REGNUM, MIPS_TEMP2_REGNUM): Remove. (MIPS_PROLOGUE_TEMP_REGNUM, MIPS_EPILOGUE_TEMP_REGNUM): New macros. (MIPS_PROLOGUE_TEMP, MIPS_EPILOGUE_TEMP): New macros. From-SVN: r72182
Richard Sandiford committed -
* config/mips/mips.c (mips_expand_prologue): Remove unused traversal of function arguments. From-SVN: r72181
Richard Sandiford committed
-