- 31 Jan, 2003 13 commits
-
-
* lib/libjava.exp (libjava_prune_warnings): Remove all unreachable bytecode warnings. From-SVN: r62190
Mark Wielaard committed -
* aclocal.m4, configure, include/config.h.in: Rebuilt. * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in aclocal.m4 and lost in some merge. From-SVN: r62188
Tom Tromey committed -
* java/awt/Window.java (Window(Window,GraphicsConfiguration)): Don't try to find graphics configuration. * java/awt/Toolkit.java (default_toolkit_name): Use new Configuration entry. * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit): New global. * configure: Rebuilt. * configure.in (TOOLKIT): New subst. (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required. Do AWT tests much earlier. Run Gtk tests. Make jniinclude directory. Make output directories for .c files. * Makefile.in: Rebuilt. * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro. (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary. (all_java_source_files): Added new sources. ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target. (gtk_c_files): New macro. (gtk_c_source_files): New macro. (cond_gtk_ltlibrary): New macro. ($(gtk_c_files)): New target. (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro. (gtk_awt_peer_sources): New macro. (gtk_c_headers): New macro. ($(gtk_c_headers)): New target. (ACLOCAL_AMFLAGS): New macro. * gtk.m4, glib.m4, libart.m4: New files. * gnu/java/awt/peer/gtk/GdkFontMetrics.java, gnu/java/awt/peer/gtk/GdkGraphics.java, gnu/java/awt/peer/gtk/GtkArg.java, gnu/java/awt/peer/gtk/GtkArgList.java, gnu/java/awt/peer/gtk/GtkButtonPeer.java, gnu/java/awt/peer/gtk/GtkCanvasPeer.java, gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java, gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java, gnu/java/awt/peer/gtk/GtkCheckboxPeer.java, gnu/java/awt/peer/gtk/GtkChoicePeer.java, gnu/java/awt/peer/gtk/GtkClipboard.java, gnu/java/awt/peer/gtk/GtkComponentPeer.java, gnu/java/awt/peer/gtk/GtkContainerPeer.java, gnu/java/awt/peer/gtk/GtkDialogPeer.java, gnu/java/awt/peer/gtk/GtkFileDialogPeer.java, gnu/java/awt/peer/gtk/GtkFontPeer.java, gnu/java/awt/peer/gtk/GtkFramePeer.java, gnu/java/awt/peer/gtk/GtkGenericPeer.java, gnu/java/awt/peer/gtk/GtkImage.java, gnu/java/awt/peer/gtk/GtkImagePainter.java, gnu/java/awt/peer/gtk/GtkLabelPeer.java, gnu/java/awt/peer/gtk/GtkListPeer.java, gnu/java/awt/peer/gtk/GtkMainThread.java, gnu/java/awt/peer/gtk/GtkMenuBarPeer.java, gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java, gnu/java/awt/peer/gtk/GtkMenuItemPeer.java, gnu/java/awt/peer/gtk/GtkMenuPeer.java, gnu/java/awt/peer/gtk/GtkOffScreenImage.java, gnu/java/awt/peer/gtk/GtkPanelPeer.java, gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java, gnu/java/awt/peer/gtk/GtkScrollbarPeer.java, gnu/java/awt/peer/gtk/GtkScrollPanePeer.java, gnu/java/awt/peer/gtk/GtkTextAreaPeer.java, gnu/java/awt/peer/gtk/GtkTextComponentPeer.java, gnu/java/awt/peer/gtk/GtkTextFieldPeer.java, gnu/java/awt/peer/gtk/GtkToolkit.java, gnu/java/awt/peer/gtk/GtkWindowPeer.java, gnu/java/awt/peer/gtk/TestAWT.java, gnu/java/awt/peer/gtk/Test.java: New files from Classpath. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c, 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_GtkEvents.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.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_GtkMenuBarPeer.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_GtkPanelPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.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, jni/gtk-peer/gthread-jni.h, jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h, jni/classpath/jnilink.c, jni/classpath/jnilink.h, jni/classpath/native_state.c, jni/classpath/native_state.h, jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise. From-SVN: r62187
Tom Tromey committed -
2003-01-31 Julian Dolby <dolby@us.ibm.com> * java/util/Properties.java (load): Ignore backslash before EOF. From-SVN: r62186
Julian Dolby committed -
PR c++/8849 * pt.c (resolve_overloaded_unification): Handle FUNCTION_DECL. * g++.dg/template/ptrmem4.C: New test. From-SVN: r62181
Kriang Lerdsuwanakij committed -
* tree.h (TYPE_BINFO_SIZE, TYPE_BINFO_SIZE_UNIT): Remove. (BINFO_ELTS): New #define. * stor-layout.c (finalize_record_size): Don't set them. * cp/cp-tree.h (BINFO_SUBVTT_INDEX, BINFO_VPTR_INDEX, BINFO_PRIMARY_BASE_OF): Use BINFO_ELTS. (BINFO_LANG_ELTS): New #define. * cp/tree.c (make_binfo): Use BINFO_LANG_ELTS. * java/class.c (make_class): Use BINFO_ELTS. (set_super_info): Likewse. (add_interface_do): Likewise. * objc/objc-act.c (start_class): Use BINFO_ELTS. From-SVN: r62180
Nathan Sidwell committed -
* timevar.c (getrusage): Don't ever declare if not HAVE_GETRUSAGE. (times): Don't ever declare if not HAVE_TIMES. (clock): Don't ever declare if not HAVE_CLOCK. From-SVN: r62175
Danny Smith committed -
From-SVN: r62174
Richard Henderson committed -
From-SVN: r62173
Richard Henderson committed -
* flow.c (update_life_info): Zap life info after cleanup_cfg. (regno_uninitialized): Use correct live at function entry set. (regno_clobbered_at_setjmp): Likewise. From-SVN: r62172
Richard Henderson committed -
* config/arm/arm.c: Fix comment typos. * config/arm/arm.h: Likewise. * config/arm/netbsd-elf.h: Likewise. * config/arm/netbsd.h: Likewise. From-SVN: r62171
Kazu Hirata committed -
2003-01-30 Geoffrey Keating <geoffk@apple.com> * gengtype.c (struct walk_type_data): Add needs_cast_p. (walk_type): Set needs_cast_p in walk_type_data. (write_types_process_field): Supply casts when required to suppress warnings. (write_root): Cast gt_pch_n_S to suppress warning. * Makefile.in: Remove -Wno-error from gtype-desc.o and c-decl.o. * cp/Make-lang.in: Remove -Wno-error from cp/decl.o. * config/rs6000/rs6000.c (print_operand): Mask off high bits only when they might exist. * config/rs6000/t-rs6000: Remove -Wno-error from varasm.o, insn-conditions.o, and rs6000.o. Index: cp/ChangeLog 2003-01-30 Geoffrey Keating <geoffk@apple.com> * cp/Make-lang.in: Remove -Wno-error from cp/decl.o. From-SVN: r62170
Geoffrey Keating committed -
From-SVN: r62169
GCC Administrator committed
-
- 30 Jan, 2003 21 commits
-
-
* java/lang/natClass.cc (initializeClass): Check tables when (state == JV_STATE_IN_PROGRESS). (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface. * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle interpreted classes. (linkClass0): Use _Jv_WaitForState. From-SVN: r62161
Jeff Sturm committed -
* config.guess: Updated to 2003-01-30's version. * config.sub: Updated to 2003-01-28's version. From-SVN: r62160
Roger Sayle committed -
* Makefile.in (libiberty_topdir): New subst. (mkinstalldirs): Redefine in terms of the above. * configure.in: AC_SUBST it. * configure: Regenerate. From-SVN: r62155
Christian Cornelssen committed -
* ggc-page.c (G.context_depth_allocations): New. (G.context_depth_collections): New. (alloc_page): Set G.context_depth_allocations. (ggc_collect): Set G.context_depth_collections. (ggc_push_context): Limit to HOST_BITS_PER_LONG contexts. (ggc_pop_context): Early exit for no allocations or collections. From-SVN: r62152
Richard Henderson committed -
From-SVN: r62151
Richard Henderson committed -
* jcf-parse.c (read_class): Update identifier's class value if it changed during parsing. From-SVN: r62149
Tom Tromey committed -
From-SVN: r62146
Joel Sherrill committed -
* class.c (check_field_decls): Only check C_TYPE_FIELDS_READONLY for class types. * cp-tree.h (C_TYPE_FIELDS_READONLY): Use a lang-specific bit rather than TYPE_LANG_FLAG_0. (TYPE_BUILT_IN): Remove. (TYPE_DEPENDENT_P): New macro. (TYPE_DEPENDENT_P_VALID): Likewise. (lang_type_class): Add fields_readonly. * decl.c (record_builtin_type): Don't set TYPE_BUILT_IN. * pt.c (dependent_type_p_r): New function, split out from ... (dependent_type_p): ... here. Memoize results. * search.c (dependent_base_p): Use dependent_type_p, not uses_template_parms. * typeck.c (build_modify_expr): Only check C_TYPE_FIELDS_READONLY for class types. From-SVN: r62143
Mark Mitchell committed -
* arm.c (arm_compute_initial_elimination_offset): If optimizing for size, the link register is always saved if any other register is saved. From-SVN: r62142
Richard Earnshaw committed -
* config/h8300/h8300-protos.h: Update the prototype for compute_plussi_cc. (cpp_reader): Declare before it is used. * config/h8300/h8300.c (compute_plussi_cc): Change the return type to int. * config/h8300/h8300.md (monitor_prologue): Call abort() if we see an unknown H8 variant. From-SVN: r62141
Kazu Hirata committed -
2003-01-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de> PR target/9316 * config/rs6000/rtems.h: Add CPP_OS_DEFAULT_SPEC. * config/rs6000/sysv4.h: Add CPP_OS_RTEMS_SPEC. * config/rs6000/t-rtems: New file. multilib variants to match OS. * config.gcc (powerpc-*-rtems*): Use rs6000/t-rtems instead of rs6000/t-ppcgas so we get the desired multilibs. From-SVN: r62139
Ralf Corsepius committed -
off the stack. From-SVN: r62138
Nick Clifton committed -
* config/rs6000/aix43.h: Fix comment typos. * config/rs6000/aix51.h: Likewise. * config/rs6000/aix52.h: Likewise. * config/rs6000/altivec.h: Likewise. * config/rs6000/rs6000.c: Likewise. * config/rs6000/rs6000.h: Likewise. * config/rs6000/rs6000.md: Likewise. * config/rs6000/spe.md: Likewise. From-SVN: r62133
Kazu Hirata committed -
* config.if: If gcc_version is already set, just use it. Don't set gcc_version_trigger if it's already set, otherwise set it to gcc/version.c, but only if the file exists. If it is not set and gcc/version.c does not exist, try to extract the version number from $CC. From-SVN: r62131
Alexandre Oliva committed -
c-common.c (builtin_define_float_constants): Define __<TYPE>_HAS_INFINITY__ and __<TYPE>_HAS_QUIET_NAN__. * c-common.c (builtin_define_float_constants): Define __<TYPE>_HAS_INFINITY__ and __<TYPE>_HAS_QUIET_NAN__. * call.c (build_field_call): Use build_new_op, not build_opfncall. (prep_operand): New function. (build_new_op): Use it. Remove dead code. * class.c (pushclass): Change "modify" parameter type from int to bool. (currently_open_class): Use same_type_p, not pointer equality. (push_nested_class): Adjust calls to pushclass, remove modify parameter. * cp-tree.h (INTEGRAL_OR_ENUMERATION_TYPE_P): New macro. (pushclass): Change prototype. (push_nested_class): Likewise. (grokoptypename): Remove. (build_opfncall): Remove. (value_dependent_expression_p): Declare. (resolve_typename_type): Likewise. (resolve_typename_type_in_current_instantiation): Likewise. (enter_scope_of): Remove. (tsubst): Remove. (tsubst_expr): Likewise. (tsubst_copy): Likewise. (tsubst_copy_and_build): Likewise. * decl.c (warn_about_implicit_typename_lookup): Remove. (finish_case_label): Return error_mark_node for erroneous labels. (start_decl): Adjust calls to push_nested_class. (grokfndecl): Call push_scope/pop_scope around call to duplicate_decls. (grokdeclarator): Do not call tsubst. (start_function): Adjust calls to push_nested_class. * decl2.c (grok_array_decl): Use build_new_op, not build_opfncall. (check_classfn): Use push_scope/pop_scope around type comparisions. (grokoptypename): Remove. (push_sscope): Adjust call to push_nested_class. * error.c (dump_type): Show cv-qualification of typename types. * init.c (build_member_call): Use build_new_op, not build_opfncall. * method.c (build_opfncall): Remove. * parser.c (cp_parser): Add allow_non_constant_expression_p and non_constant_expression_p. (cp_parser_constant_expression): Adjust prototype. (cp_parser_resolve_typename_type): Remove. (cp_parser_non_constant_expression): New function. (cp_parser_non_constant_id_expression): Likewise. (cp_parser_new): Set allow_non_constant_expression_p and non_constant_expression_p. (cp_parser_primary_expression): Reject `this' and `va_arg' in constant-expressions. Note that dependent names aren't really constant. (cp_parser_postfix_expression): Reject conversions to non-integral types in constant-expressions. Neither are increments or decrements. (cp_parser_unary_expression): Reject increments and decrements in constant-expressions. (cp_parser_direct_new_declarator): Adjust call to cp_parser_constant_expression. (cp_parser_cast_expression): Reject conversions to non-integral types in constant-expressions. (cp_parser_assignment_expression): Rejects assignments in constant-expressions. (cp_parser_expression): Reject commas in constant-expressions. (cp_parser_labeled_statement): Adjust call to cp_parser_constant_expression. (cp_parser_direct_declarator): Simplify array bounds, even in templates, when they are non-dependent. Use resolve_typename_type, not cp_parser_resolve_typename_type. (cp_parser_class_head): Use resolve_typename_type, not cp_parser_resolve_typename_type. (cp_parser_member_declaration): Adjust call to cp_parser_constant_expression. (cp_parser_constant_initializer): Likewise. (cp_parser_constructor_declarator): Use resolve_typename_type, not cp_parser_resolve_typename_type. (cp_parser_late_parsing_default_args): Adjust call to push_nested_class. * pt.c (tsubst): Give it internal linkage. (tsubst_expr): Likewise. (tsubst_copy): Likewise. (tsubst_copy_and_build): Likewise. (push_access_scope_real): Likewise. (tsubst_friend_class): Likewise. (instantiate_class_template): Adjust call to pushclass. (value_dependent_expression_p): Give it external linkage. Robustify. (resolve_typename_type): New function. * semantics.c (finish_call_expr): Use build_new_op, not build_opfncall. (begin_constructor_declarator): Remove. (begin_class_definition): Adjust call to pushclass. (enter_scope_of): Remove. * typeck.c (comptypes): Resolve typename types as appropriate. (build_x_indirect_ref): Use build_new_op, not build_opfncall. (build_x_compound_expr): Likewise. (build_modify_expr): Likewise. (build_x_modify_expr): Likewise. * typeck2.c (build_x_arrow): Likewise. * g++.dg/parser/constant1.C: New test. * include/std/std_limits.h (numeric_limits<float>::has_infinity): Use __FLT_HAS_INIFINITY__ to initialize. (numeric_limits<float>::has_quiet_NaN): Likewise. (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__ to initialize. (numeric_limits<double>::has_quiet_NaN): Likewise. (numeric_limits<long double>::has_infinity): Use __LDBL_HAS_INIFINITY__ to initialize. (numeric_limits<long_double>::has_quiet_NaN): Likewise. From-SVN: r62130
Mark Mitchell committed -
* config/sh/lib1funcs.asm: Fix comment typos. * config/sh/linux.h: Likewise. * config/sh/sh.c: Likewise. * config/sh/sh.md: Likewise. From-SVN: r62129
Kazu Hirata committed -
* Make-lang.in (po-generated): Find the targets in $(parsedir). Propagate change to all other rules as required. (java/parse-scan.o): Add explicit dependency on $(parsedir)/java/parse-scan.c . From-SVN: r62128
Loren J. Rittle committed -
From-SVN: r62127
Loren J. Rittle committed -
From-SVN: r62125
Alexandre Oliva committed -
2003-01-29 Laurent Guerby <guerby@acm.org> PR ada/8344 * final.c: rename to adafinal.c to avoid file name conflicts with gcc file. * Makefile.in: match previous change. * Make-lang.in: match previous change. From-SVN: r62122
Laurent Guerby committed -
From-SVN: r62121
GCC Administrator committed
-
- 29 Jan, 2003 6 commits
-
-
2003-01-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * src/powerpc/ppc_closure.S: Recode to fit shared libs. From-SVN: r62112
Franz Sirl committed -
* config/h8300/h8300.h (PREDICATE_CODES): Add entries for general_operand_src and general_operand_dst. From-SVN: r62110
Kazu Hirata committed -
From-SVN: r62106
Fariborz Jahanian committed -
From-SVN: r62105
Fariborz Jahanian committed -
* parse.y (patch_assignment): Only transform the rhs of an assignment when compiling to native. From-SVN: r62104
Tom Tromey committed -
2003-01-29 Joel Sherrill <joel@OARcorp.com> * 5rosinte.ads: Add SIGXCPU. * 5rtpopsp.adb: New file. * Make-lang.in: Do not build gnatpsta and gnatpsys when cross. * Makefile.in: Recognize more RTEMS targets and add the RTEMS specific file 5rtpopsp.adb. * adaint.h: Add include of <stdio.h> when target is RTEMS. This is likely needed for all newlib targets. * init.c: Add RTEMS specific version of __gnat_initialize(). From-SVN: r62098
Joel Sherrill committed
-