OSDN Git Service

pf3gnuchains/gcc-fork.git
21 years ago2003-01-31 Frank Ch. Eigler <fche@redhat.com>
fche [Fri, 31 Jan 2003 20:02:02 +0000 (20:02 +0000)]
2003-01-31  Frank Ch. Eigler  <fche@redhat.com>

* Makefile.tpl (all-sid): Add libiberty/bfd/opcodes dependencies.
* Makefile.in: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62195 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-31 Christian Cornelssen <ccorn@cs.tu-berlin.de>,
aj [Fri, 31 Jan 2003 19:35:22 +0000 (19:35 +0000)]
2003-01-31  Christian Cornelssen  <ccorn@cs.tu-berlin.de>,
            Andreas Schwab  <schwab@suse.de>

        * configure.in: Adjust command to source config-ml.in to account
        for changes to the libffi_basedir definition.
        (libffi_basedir): Remove ${srcdir} from value and include trailing
        slash if nonempty.

        * configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62193 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-31 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Fri, 31 Jan 2003 18:43:08 +0000 (18:43 +0000)]
2003-01-31  Toon Moene  <toon@moene.indiv.nluug.nl>

* news.texi: Document fixing PR fortran/7681
and optimization/9258.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62192 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * lib/libjava.exp (libjava_prune_warnings): Remove all unreachable
mark [Fri, 31 Jan 2003 18:09:04 +0000 (18:09 +0000)]
   * lib/libjava.exp (libjava_prune_warnings): Remove all unreachable
       bytecode warnings.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62190 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * aclocal.m4, configure, include/config.h.in: Rebuilt.
tromey [Fri, 31 Jan 2003 17:59:00 +0000 (17:59 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62188 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
tromey [Fri, 31 Jan 2003 17:54:14 +0000 (17:54 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62187 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-31 Julian Dolby <dolby@us.ibm.com>
tromey [Fri, 31 Jan 2003 17:00:01 +0000 (17:00 +0000)]
2003-01-31  Julian Dolby  <dolby@us.ibm.com>

* java/util/Properties.java (load): Ignore backslash before EOF.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62186 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c++/8849
lerdsuwa [Fri, 31 Jan 2003 16:28:06 +0000 (16:28 +0000)]
PR c++/8849
* pt.c (resolve_overloaded_unification): Handle FUNCTION_DECL.

* g++.dg/template/ptrmem4.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62181 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * tree.h (TYPE_BINFO_SIZE, TYPE_BINFO_SIZE_UNIT): Remove.
nathan [Fri, 31 Jan 2003 14:46:55 +0000 (14:46 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62180 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* timevar.c (getrusage): Don't ever declare if not HAVE_GETRUSAGE.
dannysmith [Fri, 31 Jan 2003 07:33:56 +0000 (07:33 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62175 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoNew test.
rth [Fri, 31 Jan 2003 06:57:51 +0000 (06:57 +0000)]
New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62174 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * expr.c (store_expr): Promote all MEM intermediates to regs.
rth [Fri, 31 Jan 2003 06:53:07 +0000 (06:53 +0000)]
    * expr.c (store_expr): Promote all MEM intermediates to regs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62173 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * flow.c (update_life_info): Zap life info after cleanup_cfg.
rth [Fri, 31 Jan 2003 06:52:48 +0000 (06:52 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62172 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/arm/arm.c: Fix comment typos.
kazu [Fri, 31 Jan 2003 02:20:48 +0000 (02:20 +0000)]
* config/arm/arm.c: Fix comment typos.
* config/arm/arm.h: Likewise.
* config/arm/netbsd-elf.h: Likewise.
* config/arm/netbsd.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62171 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoIndex: ChangeLog
geoffk [Fri, 31 Jan 2003 01:42:38 +0000 (01:42 +0000)]
Index: ChangeLog
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62170 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Fri, 31 Jan 2003 00:17:06 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62169 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* java/lang/natClass.cc (initializeClass): Check tables when
jsturm [Thu, 30 Jan 2003 23:20:45 +0000 (23:20 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62161 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config.guess: Updated to 2003-01-30's version.
sayle [Thu, 30 Jan 2003 22:44:14 +0000 (22:44 +0000)]
* config.guess: Updated to 2003-01-30's version.
* config.sub: Updated to 2003-01-28's version.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62160 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* Makefile.in (libiberty_topdir): New subst.
dj [Thu, 30 Jan 2003 19:02:12 +0000 (19:02 +0000)]
* Makefile.in (libiberty_topdir): New subst.
(mkinstalldirs): Redefine in terms of the above.
* configure.in: AC_SUBST it.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62155 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * ggc-page.c (G.context_depth_allocations): New.
rth [Thu, 30 Jan 2003 18:14:06 +0000 (18:14 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62152 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * tree-inline.c (walk_tree): Streamline duplicate hash table lookup.
rth [Thu, 30 Jan 2003 18:09:15 +0000 (18:09 +0000)]
    * tree-inline.c (walk_tree): Streamline duplicate hash table lookup.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62151 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * jcf-parse.c (read_class): Update identifier's class value if it
tromey [Thu, 30 Jan 2003 17:15:36 +0000 (17:15 +0000)]
* jcf-parse.c (read_class): Update identifier's class value if it
changed during parsing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62149 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoFixed incorrectly formatted entries.
joel [Thu, 30 Jan 2003 16:54:57 +0000 (16:54 +0000)]
Fixed incorrectly formatted entries.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62146 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * class.c (check_field_decls): Only check C_TYPE_FIELDS_READONLY
mmitchel [Thu, 30 Jan 2003 16:02:58 +0000 (16:02 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62143 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* arm.c (arm_compute_initial_elimination_offset): If optimizing for
rearnsha [Thu, 30 Jan 2003 15:39:43 +0000 (15:39 +0000)]
* arm.c (arm_compute_initial_elimination_offset): If optimizing for
size, the link register is always saved if any other register is
saved.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62142 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300-protos.h: Update the prototype for
kazu [Thu, 30 Jan 2003 15:36:19 +0000 (15:36 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62141 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
joel [Thu, 30 Jan 2003 14:22:53 +0000 (14:22 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62139 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago(arm_output_epilogue): Update stack pointer when popping saved IP register
nickc [Thu, 30 Jan 2003 14:13:25 +0000 (14:13 +0000)]
(arm_output_epilogue): Update stack pointer when popping saved IP register
off the stack.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62138 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/rs6000/aix43.h: Fix comment typos.
kazu [Thu, 30 Jan 2003 13:19:16 +0000 (13:19 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62133 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* config.if: If gcc_version is already set, just use it. Don't set
aoliva [Thu, 30 Jan 2003 11:52:51 +0000 (11:52 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62131 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-common.c (builtin_define_float_constants): Define
mmitchel [Thu, 30 Jan 2003 07:24:02 +0000 (07:24 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62130 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/sh/lib1funcs.asm: Fix comment typos.
kazu [Thu, 30 Jan 2003 06:17:33 +0000 (06:17 +0000)]
* config/sh/lib1funcs.asm: Fix comment typos.
* config/sh/linux.h: Likewise.
* config/sh/sh.c: Likewise.
* config/sh/sh.md: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62129 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * Make-lang.in (po-generated): Find the targets in $(parsedir).
ljrittle [Thu, 30 Jan 2003 05:19:31 +0000 (05:19 +0000)]
* 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 .

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62128 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * objc/Make-lang.in (objc-parse.y): Find c-parse.in in $(srcdir).
ljrittle [Thu, 30 Jan 2003 05:17:56 +0000 (05:17 +0000)]
* objc/Make-lang.in (objc-parse.y): Find c-parse.in in $(srcdir).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62127 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* config/fp-bit.h (__make_dp): Declare if TMODES.
aoliva [Thu, 30 Jan 2003 04:20:07 +0000 (04:20 +0000)]
* config/fp-bit.h (__make_dp): Declare if TMODES.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62125 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-29 Laurent Guerby <guerby@acm.org>
guerby [Thu, 30 Jan 2003 00:46:22 +0000 (00:46 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62122 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Thu, 30 Jan 2003 00:17:05 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62121 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago 2003-01-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Wed, 29 Jan 2003 23:53:54 +0000 (23:53 +0000)]
2003-01-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* src/powerpc/ppc_closure.S: Recode to fit shared libs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62112 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.h (PREDICATE_CODES): Add entries for
kazu [Wed, 29 Jan 2003 22:04:57 +0000 (22:04 +0000)]
* config/h8300/h8300.h (PREDICATE_CODES): Add entries for
general_operand_src and general_operand_dst.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62110 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agocp/pt.c change log entry move from ./ChangeLog to cp/ChangeLog
fjahanian [Wed, 29 Jan 2003 19:13:12 +0000 (19:13 +0000)]
cp/pt.c change log entry move from ./ChangeLog to cp/ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62106 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoAdded 'Fariborz Jahanian' to the 'Write After Approval' list.
fjahanian [Wed, 29 Jan 2003 19:08:42 +0000 (19:08 +0000)]
Added 'Fariborz Jahanian' to the 'Write After Approval' list.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62105 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * parse.y (patch_assignment): Only transform the rhs of an
tromey [Wed, 29 Jan 2003 18:48:41 +0000 (18:48 +0000)]
* parse.y (patch_assignment): Only transform the rhs of an
assignment when compiling to native.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62104 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-29 Joel Sherrill <joel@OARcorp.com>
joel [Wed, 29 Jan 2003 17:43:57 +0000 (17:43 +0000)]
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().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62098 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* MAINTAINERS Add myself to write-after-approval list.
andreast [Wed, 29 Jan 2003 17:43:30 +0000 (17:43 +0000)]
* MAINTAINERS Add myself to write-after-approval list.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62097 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/rs6000/rs6000.c (function_arg_pass_by_reference):
dje [Wed, 29 Jan 2003 17:37:25 +0000 (17:37 +0000)]
    * config/rs6000/rs6000.c (function_arg_pass_by_reference):
        Return true for variable sized types.
        (rs6000_va_arg): Handle variable sized types passed by reference
        on non-SVR4 ABI.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62095 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* arm.c (arm_legtimize_address): New function.
rearnsha [Wed, 29 Jan 2003 16:50:34 +0000 (16:50 +0000)]
* arm.c (arm_legtimize_address): New function.
* arm-protos.h (arm_legtimize_address): Add prototype.
* arm.h (ARM_LEGITIMIZE_ADDRESS): Use arm_legitimize_address.
(LEGITIMIZE_ADDRESS, THUMB_LEGITIMIZE_ADDRESS): Wrap with
do ... while (0)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62091 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-29 Joel Sherrill <joel@OARcorp.com>
joel [Wed, 29 Jan 2003 15:06:59 +0000 (15:06 +0000)]
2003-01-29 Joel Sherrill <joel@OARcorp.com>

* gthr-rtems.h: Define __GTHREAD_MUTEX_INIT.  Apparently no code
depended on it being defined until now. This was tracked as PR9296.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62084 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-13 Joel Sherrill <joel@OARcorp.com>
joel [Wed, 29 Jan 2003 15:01:39 +0000 (15:01 +0000)]
2003-01-13 Joel Sherrill <joel@OARcorp.com>

* config/mips/rtems.h: Predefine __USE_INIT_FINI__ so generic
RTEMS code knows which C++ initialization style the toolset
configuration is using. This was tracked as PR9295.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62082 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-29 Joel Sherrill <joel@OARcorp.com>
joel [Wed, 29 Jan 2003 14:57:36 +0000 (14:57 +0000)]
2003-01-29 Joel Sherrill <joel@OARcorp.com>

* config/m68k/t-crtstuff: Replace spaces with tabs, add
 $(MULTILIB_CFLAGS) as compiler option and multilib crtbegin/end.o.
This issue was tracked as PR9293.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62080 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-29 Joel Sherrill <joel@OARcorp.com>
joel [Wed, 29 Jan 2003 14:54:09 +0000 (14:54 +0000)]
2003-01-29 Joel Sherrill <joel@OARcorp.com>

* config.gcc (hppa1.1-rtems):  Did not include t-rtems nor enable
RTEMS threads.
* config/pa/rtems.h (LIB_SPEC): Use -N when linking.
This issue was tracked as PR9292.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62078 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c++/8591
lerdsuwa [Wed, 29 Jan 2003 14:25:06 +0000 (14:25 +0000)]
PR c++/8591
* parser.c (cp_parser_elaborated_type_specifier): Convert
TEMPLATE_DECL to TYPE_DECL only when processing template friends.
(cp_parser_maybe_treat_template_as_class): Remove redundant tests.

* g++.dg/parse/friend2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62076 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoc-parse.o: Locate source file in $(parsedir) not $(srcdir).
nickc [Wed, 29 Jan 2003 12:32:08 +0000 (12:32 +0000)]
c-parse.o: Locate source file in $(parsedir) not $(srcdir).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62073 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agocp:
nathan [Wed, 29 Jan 2003 11:35:33 +0000 (11:35 +0000)]
cp:
PR c++/9437
* pt.c (unify): Don't unify '*T' with 'U C::*'.
testsuite:
PR c++/9437
* g++.dg/template/unify4.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62070 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-29 Andrew Haley <aph@redhat.com>
aph [Wed, 29 Jan 2003 10:52:08 +0000 (10:52 +0000)]
2003-01-29  Andrew Haley  <aph@redhat.com>

        * tree-inline.c (walk_tree): Add CHAR_TYPE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62068 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * i386.md (subdi3_carry_rex64): Fix typo.
hubicka [Wed, 29 Jan 2003 09:27:46 +0000 (09:27 +0000)]
* i386.md (subdi3_carry_rex64): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62066 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoTest for bug in read-back of the pending instantiation list from the PCH file.
fjahanian [Wed, 29 Jan 2003 02:08:15 +0000 (02:08 +0000)]
Test for bug in read-back of the pending instantiation list from the PCH file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62063 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* pt.c (last_pending_template) Declare GTY().
fjahanian [Wed, 29 Jan 2003 02:05:38 +0000 (02:05 +0000)]
* pt.c (last_pending_template) Declare GTY().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62062 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * jcf-write.c (generate_bytecode_conditional): Typo fixes.
tromey [Wed, 29 Jan 2003 01:19:40 +0000 (01:19 +0000)]
* jcf-write.c (generate_bytecode_conditional): Typo fixes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62061 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Wed, 29 Jan 2003 00:17:08 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62059 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
tromey [Tue, 28 Jan 2003 23:49:46 +0000 (23:49 +0000)]
2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>

* java/awt/Component.java (processPaintEvent): Dispose of Graphics
object when finished.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62052 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * coretypes.h (cpp_reader): Forward declare struct.
shebs [Tue, 28 Jan 2003 23:26:28 +0000 (23:26 +0000)]
    * coretypes.h (cpp_reader): Forward declare struct.
        * c-pragma.h (cpp_reader): Remove forward declaration.
        * hashtable.h (cpp_reader): Likewise.
        * scan.h (cpp_reader): Likewise.
        * tree.h (cpp_reader): Likewise.
        * config/darwin-protos.h (cpp_reader): Likewise.
        * config/arm/arm-protos.h (cpp_reader): Likewise.
        * config/rs6000/rs6000-protos.h: Remove GCC_CPPLIB_H ifdef, use
        struct cpp_reader in prototypes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62050 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * libjava/configure.host: Disable can_unwind_signal on darwin.
tromey [Tue, 28 Jan 2003 23:25:39 +0000 (23:25 +0000)]
* libjava/configure.host: Disable can_unwind_signal on darwin.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62048 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * libjava.loader/TestEarlyGC.java: Added comment explaining
tromey [Tue, 28 Jan 2003 23:21:13 +0000 (23:21 +0000)]
* libjava.loader/TestEarlyGC.java: Added comment explaining
bytecode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62047 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* doc/install.texi: Add documentation for installation into
aoliva [Tue, 28 Jan 2003 23:15:16 +0000 (23:15 +0000)]
* doc/install.texi: Add documentation for installation into
tooldirs and with DESTDIR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62044 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config.gcc (ia64*-*-aix*): Remove.
rth [Tue, 28 Jan 2003 23:04:02 +0000 (23:04 +0000)]
    * config.gcc (ia64*-*-aix*): Remove.
        * config/ia64/aix.h, config/ia64/t-aix: Remove file.
        * config/ia64/unwind-aix.c: Remove file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62043 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST.
aoliva [Tue, 28 Jan 2003 22:58:58 +0000 (22:58 +0000)]
* configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST.
Remove USE_LIBDIR conditional.
* Makefile.am (toolexecdir, toolexeclibdir): Don't override.
* Makefile.in, configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62040 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
tromey [Tue, 28 Jan 2003 22:25:47 +0000 (22:25 +0000)]
2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>

* jargrep.c: Include xregex.h from libiberty instead of
system regex.h for better portability.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62035 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
tromey [Tue, 28 Jan 2003 22:23:36 +0000 (22:23 +0000)]
2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>

Fixes PR java/9254:
* include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
additionally containing id of the owner thread as well as
the number of nested times the thread has acquired the mutex.
(_Jv_MutexInit): Initialise owner thread id and refcount to 0.
(_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
(_Jv_MutexUnlock): Check if really the owner thread, reset
owner thread id to 0 before leaving, if leaving for the last
time.
(_Jv_MutexLock): Set owner thread id in the mutex and increment
refcount.
(_Jv_ThreadYield): Yield using a call to Sleep(0).
* win32-threads.cc (_Jv_CondWait): Check if really owner of
the passed mutex.
Pass handle of the broadcast event, instead of a pointer to it
in Win32 ResetEvent( ) call.
Remove incorrect return values.
(_Jv_CondDestroy): Close both event handles and delete
critical section.
(_Jv_CondNotify): Check if really the owner thread.
(_Jv_CondNotifyAll): Check if really the owner thread.
(_Jv_InitThreads): Change daemon_cond to a manual-reset event.
(really_start): Use SetEvent( ) to signal daemon_cond.
(_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
WaitForSingleObject( ) instead to wait for daemon_cond to be
signalled.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62033 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/m68k/m68k.md (tablejump+2): Don't sign extend an address
rth [Tue, 28 Jan 2003 22:17:21 +0000 (22:17 +0000)]
    * config/m68k/m68k.md (tablejump+2): Don't sign extend an address
        register.
        * config/m68k/apollo68.h (ASM_RETURN_CASE_JUMP): Likewise.
        * config/m68k/coff.h (ASM_RETURN_CASE_JUMP): Likewise.
        * config/m68k/linux.h (ASM_RETURN_CASE_JUMP): Likewise.
        * config/m68k/m68kelf.h (ASM_RETURN_CASE_JUMP): Likewise.
        * config/m68k/mot3300.h (ASM_RETURN_CASE_JUMP): Likewise.
        * config/m68k/netbsd-elf.h (ASM_RETURN_CASE_JUMP): Likewise.
        * config/m68k/pbb.h (ASM_RETURN_CASE_JUMP): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62030 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * combine.c (nonzero_bits): Fix check for negative divide operands.
rsandifo [Tue, 28 Jan 2003 22:15:50 +0000 (22:15 +0000)]
* combine.c (nonzero_bits): Fix check for negative divide operands.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62029 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/ia64/ia64.c (ia64_rwreloc_section_type_flags): New.
rth [Tue, 28 Jan 2003 22:08:24 +0000 (22:08 +0000)]
    * config/ia64/ia64.c (ia64_rwreloc_section_type_flags): New.
        * config/ia64/hpux.h (TARGET_SECTION_TYPE_FLAGS): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62028 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* Makefile.in (all-subdir, check-subdir, installcheck-subdir)
aoliva [Tue, 28 Jan 2003 21:52:14 +0000 (21:52 +0000)]
* Makefile.in (all-subdir, check-subdir, installcheck-subdir)
(info-subdir, install-info-subdir, clean-info-subdir)
(dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir)
(clean-subdir, distclean-subdir, maintainer-clean-subdir):
Pass $(FLAGS_TO_PASS).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62013 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/cris/cris.c (cris_address_cost): Make static.
rth [Tue, 28 Jan 2003 21:32:24 +0000 (21:32 +0000)]
    * config/cris/cris.c (cris_address_cost): Make static.
        (TARGET_RTX_COSTS, TARGET_ADDRESS_COST): New.
        * config/cris/cris.h (ADDRESS_COST): Remove.
        * config/cris/cris-protos.h: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62009 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cse.c (find_best_addr): Kill !ADDRESS_COST code.
rth [Tue, 28 Jan 2003 21:29:40 +0000 (21:29 +0000)]
    * cse.c (find_best_addr): Kill !ADDRESS_COST code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62008 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-28 Jeffrey D. Oldham <oldham@codesourcery.com>
oldham [Tue, 28 Jan 2003 20:11:44 +0000 (20:11 +0000)]
2003-01-28  Jeffrey D. Oldham  <oldham@codesourcery.com>

* g++.dg/lookup/nested1.C: Test moved from ...
* g++.old-deja/g++.other/lookup24.C: ... here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62007 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * regclass.c (init_reg_autoinc): New function.
mrs [Tue, 28 Jan 2003 19:40:46 +0000 (19:40 +0000)]
    * regclass.c (init_reg_autoinc): New function.
        (regclass): Move initialization of forbidden_inc_dec_class from
        here...
        (init_regs): to here.  Avoids reinitialization for each function,
        saving compilation time.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62006 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cpplib.h (struct cpp_options): Add warn_deprecated field.
jason [Tue, 28 Jan 2003 19:30:00 +0000 (19:30 +0000)]
    * cpplib.h (struct cpp_options): Add warn_deprecated field.
        * cppinit.c (cpp_create_reader): Turn it on by default.
        * c-opts.c (c_common_decode_option): Set it.
        * cpplib.c (do_pragma_once): Only complain about #pragma once
        if warn_deprecated is set.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62005 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-28 Dale Johannesen <dalej@apple.com>
dalej [Tue, 28 Jan 2003 19:25:49 +0000 (19:25 +0000)]
2003-01-28  Dale Johannesen  <dalej@apple.com>
        * emit-rtl.c (const_double_htab_hash):  Use mode in the hash.
        * loop.c (scan_loop):  Move movables on -Os rich-register targets.
        * config/rs6000/rs6000.md (sibcall*):  Use match_operand for LR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62004 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoAdd ChangeLog entry for last change.
ro [Tue, 28 Jan 2003 19:18:49 +0000 (19:18 +0000)]
Add ChangeLog entry for last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62003 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc.dg/i386-cmov5.c: New test.
hubicka [Tue, 28 Jan 2003 19:16:01 +0000 (19:16 +0000)]
* gcc.dg/i386-cmov5.c:  New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62002 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
tromey [Tue, 28 Jan 2003 19:10:00 +0000 (19:10 +0000)]
2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>

* configure.in: Specifically define HAVE_BACKTRACE if building
for MinGW.
* include/win32.h: Remove HAVE_BACKTRACE definition.
* gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
* configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62000 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoUpdated copyright year.
ro [Tue, 28 Jan 2003 19:05:11 +0000 (19:05 +0000)]
Updated copyright year.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61998 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * libjava.jacks/jacks.xfail: More lexer tests now pass.
tromey [Tue, 28 Jan 2003 18:48:32 +0000 (18:48 +0000)]
* libjava.jacks/jacks.xfail: More lexer tests now pass.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61995 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * lex.c (java_lex): Don't include UEOF as part of token.
tromey [Tue, 28 Jan 2003 18:47:52 +0000 (18:47 +0000)]
* lex.c (java_lex): Don't include UEOF as part of token.
(java_read_unicode): Error if \u sequence prematurely terminated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61993 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc.c-torture/execute/20010925-1.c: Changed the
rth [Tue, 28 Jan 2003 18:33:19 +0000 (18:33 +0000)]
    * gcc.c-torture/execute/20010925-1.c: Changed the
        memcpy declaration.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61992 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * target.h (targetm.address_cost): New.
rth [Tue, 28 Jan 2003 18:14:42 +0000 (18:14 +0000)]
* target.h (targetm.address_cost): New.
* target-def.h (TARGET_ADDRESS_COST): New.
(TARGET_RTX_COSTS): Uncomment.  Oops.
* cse.c (address_cost): Use new target hook.
(default_address_cost): New.
* output.h (default_address_cost): Declare.
* hooks.c (hook_int_rtx_0): New.
* hooks.h (hook_int_rtx_0): Declare.
* loop.c (combine_givs_p): Remove if 0 code.
* system.h (ADDRESS_COST): Poison.

* config/alpha/alpha.c, config/alpha/alpha.h, config/d30v/d30v.c,
config/d30v/d30v.h, config/ia64/ia64.c, config/ia64/ia64.h,
config/m32r/m32r.c, config/m32r/m32r.h, config/mcore/mcore.c,
config/mcore/mcore.h, config/mmix/mmix.c, config/mmix/mmix.h,
config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/sparc/sparc.c,
config/sparc/sparc.h, config/v850/v850.c, config/v850/v850.h,
config/xtensa/xtensa.c, config/xtensa/xtensa.h
(TARGET_ADDRESS_COST): Define as hook_int_rtx_0.
(ADDRESS_COST): Remove.

* config/arc/arc-protos.h, config/arc/arc.c, config/arc/arc.h,
config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h,
config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c,
config/dsp16xx/dsp16xx.h, config/i386/i386-protos.h,
config/i386/i386.c, config/i386/i386.h, config/i960/i960-protos.h,
config/i960/i960.c, config/i960/i960.h, config/ip2k/ip2k-protos.h,
config/ip2k/ip2k.c, config/ip2k/ip2k.h, config/mips/mips-protos.h,
config/mips/mips.c, config/mips/mips.h,
config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
config/m68hc11/m68hc11.h, config/ns32k/ns32k-protos.h,
config/ns32k/ns32k.c, config/ns32k/ns32k.h, config/pa/pa-protos.h,
config/pa/pa.c, config/pa/pa.h, config/s390/s390-protos.h,
config/s390/s390.c, config/s390/s390.h, config/vax/vax-protos.h,
config/vax/vax.c, config/vax/vax.h
(foo_address_cost): Make static.
(TARGET_ADDRESS_COST): New.
(ADDRESS_COST): Remove.

* config/arm/arm.h, config/arm/arm.c, config/m88k/m88k.h,
config/m88k/m88k.c, config/romp/romp.h, config/romp/romp.c,
config/sh/sh.c, config/sh/sh.h, config/stormy16/stormy16.c,
config/stormy16/stormy16.h
(ADDRESS_COST): Move code ...
(foo_address_cost): ... here.
(TARGET_ADDRESS_COST): New.

* config/m32r/m32r.c (m32r_address_cost): Remove.
* config/m32r/m32r-protos.h: Update.

* config/mmix/mmix.c (mmix_address_cost): Remove.
* config/mmix/mmix-protos.h: Update.

* config/mn10300/mn10300.c (mn10300_address_cost_1): Rename from
mn10300_address_cost; move unsig allocation ...
(mn10300_address_cost): ... here.
(TARGET_ADDRESS_COST): New.
* config/mn10300/mn10300-protos.h: Update.
* config/mn10300/mn10300.h (ADDRESS_COST): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61989 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * target.h (targetm.address_cost): New.
rth [Tue, 28 Jan 2003 18:08:56 +0000 (18:08 +0000)]
* target.h (targetm.address_cost): New.
* target-def.h (TARGET_ADDRESS_COST): New.
(TARGET_RTX_COSTS): Uncomment.  Oops.
* cse.c (address_cost): Use new target hook.
(default_address_cost): New.
* output.h (default_address_cost): Declare.
* hooks.c (hook_int_rtx_0): New.
* hooks.h (hook_int_rtx_0): Declare.
* loop.c (combine_givs_p): Remove if 0 code.
* system.h (ADDRESS_COST): Poison.

* config/alpha/alpha.c, config/alpha/alpha.h, config/d30v/d30v.c,
config/d30v/d30v.h, config/ia64/ia64.c, config/ia64/ia64.h,
config/m32r/m32r.c, config/m32r/m32r.h, config/mcore/mcore.c,
config/mcore/mcore.h, config/mmix/mmix.c, config/mmix/mmix.h,
config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/sparc/sparc.c,
config/sparc/sparc.h, config/v850/v850.c, config/v850/v850.h,
config/xtensa/xtensa.c, config/xtensa/xtensa.h
(TARGET_ADDRESS_COST): Define as hook_int_rtx_0.
(ADDRESS_COST): Remove.

* config/arc/arc-protos.h, config/arc/arc.c, config/arc/arc.h,
config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h,
config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c,
config/dsp16xx/dsp16xx.h, config/i386/i386-protos.h,
config/i386/i386.c, config/i386/i386.h, config/i960/i960-protos.h,
config/i960/i960.c, config/i960/i960.h, config/ip2k/ip2k-protos.h,
config/ip2k/ip2k.c, config/ip2k/ip2k.h, config/mips/mips-protos.h,
config/mips/mips.c, config/mips/mips.h,
config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
config/m68hc11/m68hc11.h, config/ns32k/ns32k-protos.h,
config/ns32k/ns32k.c, config/ns32k/ns32k.h, config/pa/pa-protos.h,
config/pa/pa.c, config/pa/pa.h, config/s390/s390-protos.h,
config/s390/s390.c, config/s390/s390.h, config/vax/vax-protos.h,
config/vax/vax.c, config/vax/vax.h
(foo_address_cost): Make static.
(TARGET_ADDRESS_COST): New.
(ADDRESS_COST): Remove.

* config/arm/arm.h, config/arm/arm.c, config/m88k/m88k.h,
config/m88k/m88k.c, config/romp/romp.h, config/romp/romp.c,
config/sh/sh.c, config/sh/sh.h, config/stormy16/stormy16.c,
config/stormy16/stormy16.h
(ADDRESS_COST): Move code ...
(foo_address_cost): ... here.
(TARGET_ADDRESS_COST): New.

* config/m32r/m32r.c (m32r_address_cost): Remove.
* config/m32r/m32r-protos.h: Update.

* config/mmix/mmix.c (mmix_address_cost): Remove.
* config/mmix/mmix-protos.h: Update.

* config/mn10300/mn10300.c (mn10300_address_cost_1): Rename from
mn10300_address_cost; move unsig allocation ...
(mn10300_address_cost): ... here.
(TARGET_ADDRESS_COST): New.
* config/mn10300/mn10300-protos.h: Update.
* config/mn10300/mn10300.h (ADDRESS_COST): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61988 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agocp:
nathan [Tue, 28 Jan 2003 17:36:11 +0000 (17:36 +0000)]
cp:
PR c++/3902
* parser.c (cp_parser_decl_specifier_seq): Cannot have constructor
inside a declarator.
testsuite:
PR c++/3902
* g++.dg/parse/template5.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61987 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-28 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Tue, 28 Jan 2003 17:20:41 +0000 (17:20 +0000)]
2003-01-28  Toon Moene  <toon@moene.indiv.nluug.nl>

PR fortran/9258
* g77.dg/pr9258: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61984 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-28 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Tue, 28 Jan 2003 17:12:06 +0000 (17:12 +0000)]
2003-01-28  Vladimir Makarov  <vmakarov@redhat.com>

* haifa-sched.c (schedule_insn): Return necessary cycle advance
after issuing the insn.
(rank_for_schedule): Make a insn with /S the highest priority
insn.
(move_insn): Ignore schedule groups.  Clear SCHED_GROUP_P.
(choose_ready): Check SCHED_GROUP_P.
(schedule_block): Advance cycle after issuing insn if it is
necessary.  Don't reorder insns if there is an insn with /S.
(set_priorities): Ignore schedule groups.

* sched-deps.c (remove_dependence, group_leader): Remove the
functions.
(add_dependence): Ignore schedule groups.
(set_sched_group_p): Don't make copy of dependencies from previous
insn of the schedule group.  Add anti-dependency to the previous
insn of the schedule group.
(compute_forward_dependences): Ignore schedule groups.

* sched-ebb.c (init_ready_list): Ignore schedule groups.

* sched-rgn.c (init_ready_list): Ditto.
(can_schedule_ready_p): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61983 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * README: Move relevant parts from README.g++.
gerald [Tue, 28 Jan 2003 17:05:33 +0000 (17:05 +0000)]
* README: Move relevant parts from README.g++.

* README.g++: Remove this file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61982 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-28 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Tue, 28 Jan 2003 17:03:38 +0000 (17:03 +0000)]
2003-01-28  Vladimir Makarov  <vmakarov@redhat.com>

* config/i386/i386.md (*movsi_1): Use movdqa to move one xmm
register to another one.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61981 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * calls.c (default_must_pass_in_stack): Fix typo in !type case.
rth [Tue, 28 Jan 2003 16:56:36 +0000 (16:56 +0000)]
    * calls.c (default_must_pass_in_stack): Fix typo in !type case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61980 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-28 Andrew Haley <aph@redhat.com>
aph [Tue, 28 Jan 2003 15:54:28 +0000 (15:54 +0000)]
2003-01-28  Andrew Haley  <aph@redhat.com>

        * include/ffi.h.in: Enable FFI_CLOSURES for x86_64.
        * src/x86/ffi64.c (ffi_prep_closure): New.
        (ffi_closure_UNIX64_inner): New.
        * src/x86/unix64.S (ffi_closure_UNIX64): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61978 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* config/mips/mips.h (UNITS_PER_HWFPVALUE): Renamed from...
aoliva [Tue, 28 Jan 2003 15:48:17 +0000 (15:48 +0000)]
* config/mips/mips.h (UNITS_PER_HWFPVALUE): Renamed from...
(UNITS_PER_FPVALUE): Defined as the width of a long double, or
zero if no hardware floating point.
(LONG_DUBLE_TYPE_SIZE): Set to 128 on N32 and N64.
(MAX_FIXED_MODE_SIZE): Define to LONG_DOUBLE_TYPE_SIZE.
(LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define.
(BIGGEST_ALIGNMENT): Same as LONG_DOUBLE_TYPE_SIZE.
(FUNCTION_VALUE_REGNO_P): Set for FP_RETURN+2 on N32 and N64.
* config/mips/mips.c (mips_arg_info): Pass TFmode values in
even FP registers on N32 and N64.
(mips_setup_incoming_varargs): Use UNITS_PER_HWFPVALUE.
(mips_va_start): Adjust alignment of ARG_POINTER_REGNUM.
(mips_va_arg): Use UNITS_PER_HWFPVALUE.  Impose additional
even-register-like alignment to 128-bit arguments.
(save_restore_insns): Use UNITS_PER_HWFPVALUE.
(mips_function_value): Likewise.  Return TFmode in $f0 and $f2
on N32 or N64.
* config/mips/_tilib.c (__negti2, __ashlti3, __lshrti3): New.
* config/mips/t-iris6 (LIB2FUNCS_EXTRA): Add _tilib.c.
(TPBIT): Set to tp-bit.c.
(tp-bit.c): Create out of fp-bit.c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61977 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agolibstdc++-v3:
nathan [Tue, 28 Jan 2003 15:26:53 +0000 (15:26 +0000)]
libstdc++-v3:
        PR c++/9433
        * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
        with bases which are very ambiguous.
gcc/testsuite:
        * g++.dg/abi/dcast1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61973 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cse.c (cse_insn): Avoid redundant REG_EQUAL notes.
sayle [Tue, 28 Jan 2003 14:52:07 +0000 (14:52 +0000)]
* cse.c (cse_insn): Avoid redundant REG_EQUAL notes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61971 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc.c-torture/execute/builtin-constant.x: Only expect failure at -O1.
ghazi [Tue, 28 Jan 2003 14:21:26 +0000 (14:21 +0000)]
* gcc.c-torture/execute/builtin-constant.x: Only expect failure at -O1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61970 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/sh/sh.h (CLASS_MAX_NREGS): If TARGET_SHMEDIA, and the given
rsandifo [Tue, 28 Jan 2003 12:45:12 +0000 (12:45 +0000)]
* config/sh/sh.h (CLASS_MAX_NREGS): If TARGET_SHMEDIA, and the given
class contains a floating-point register, return the size of the
mode in half words.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61966 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoAdd a missing change to:
gerald [Tue, 28 Jan 2003 12:41:24 +0000 (12:41 +0000)]
Add a missing change to:
* gcc/doc/invoke.texi (Optimization Options): Group together
optional and experimental flags.  Move trapv and bounds-check
out of this section.  Group floating point flags together.
(Code Gen Options): Move trapv and bounds-check to here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61964 138bc75d-0d04-0410-961f-82ee72b054a4