Commit Graph

51931 Commits

Author SHA1 Message Date
Phil Edwards 2cb1c92882 1.cc, [...]: Update comment regarding the origin of LOCALEDIR.
2003-07-28  Phil Edwards  <pme@gcc.gnu.org>

	* testsuite/22_locale/messages/members/char/1.cc,
	testsuite/22_locale/messages/members/char/2.cc,
	testsuite/22_locale/messages/members/char/3.cc,
	testsuite/22_locale/messages_byname/1.cc:  Update comment regarding
	the origin of LOCALEDIR.
	* testsuite/lib/libstdc++-v3.exp:  New file.

From-SVN: r69877
2003-07-28 04:05:30 +00:00
Jeff Sturm ff6fe7a177 This commit was generated by cvs2svn to compensate for changes in r69874,
which included commits to RCS files with non-trunk default branches.

From-SVN: r69875
2003-07-28 03:46:21 +00:00
Jeff Sturm 6991c6c926 Initial revision
From-SVN: r69872
2003-07-28 03:46:07 +00:00
Nathanael Nerode b4acb5ef4b Makefile.tpl: Use 'mkinstalldirs' rather than 'mkdir' when...
* Makefile.tpl: Use 'mkinstalldirs' rather than 'mkdir' when
	creating target and build subdirs to build all parent dirs as needed.
	* Makefile.in: Rebuild.
	* configure.in: Don't build dirs explicitly here.
	* configure: Rebuild.

From-SVN: r69871
2003-07-28 03:25:51 +00:00
Nathanael Nerode 447673ded1 fixinc.svr4: Remove dead code.
* fixinc/fixinc.svr4: Remove dead code.  Remove now-unnecessary
	cleanup of junk after #else and #endif directives.  Collapse repeated
	clauses into for statment.

	* fixinc/fixincl.sh: GNU C -> GCC.  Add usage comment.

From-SVN: r69870
2003-07-28 02:15:25 +00:00
GCC Administrator a9f31c7e72 Daily bump.
From-SVN: r69868
2003-07-28 00:16:06 +00:00
Zack Weinberg a8ccdffedc c-decl.c (struct c_scope): Remove keep_if_subblocks field.
* c-decl.c (struct c_scope): Remove keep_if_subblocks field.
	(keep_next_if_subblocks): Rename next_is_function_body.
	(pushlevel): Adjust commentary.  Always set ->keep on the
	outermost level of a function.  Don't set ->keep_if_subblocks.
	(poplevel): Adjust commentary.  Don't look at ->keep_if_subblocks.
	(store_parm_decls): Adjust to match.
	(finish_function): Adjust to match.
	Call poplevel with all three arguments zero.

From-SVN: r69865
2003-07-28 00:12:32 +00:00
Anthony Green 2d29f3a1c5 Fix USE_LDTL configury.
From-SVN: r69864
2003-07-27 23:52:57 +00:00
Zack Weinberg 66db6b6259 c-decl.c (store_parm_decls_newstyle, [...]): New functions split out of store_parm_decls.
* c-decl.c (store_parm_decls_newstyle, store_parm_decls_oldstyle):
	New functions split out of store_parm_decls.
	Avoid unnecessary work. Use local variables consistently.
	(store_parm_decls): Likewise.

	(finish_function): No need to set functionbody flag on call to
	poplevel.
	(struct language_function): Remove scope field.
	(c_push_function_context, c_pop_function_context): No need to
	save and restore current_scope.

From-SVN: r69862
2003-07-27 20:07:04 +00:00
Thomas Fitzsimmons f17163688b gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c: Create vbox and layout for GtkPlug.
2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
	Create vbox and layout for GtkPlug.

From-SVN: r69861
2003-07-27 20:01:00 +00:00
Michael Koch b528910ddd 2003-07-27 Michael Koch <konqueror@gmx.de>
* java/awt/Window.java
	(Window): Removed now unused constructor. It became oboslete with the
	new embedded window patch.

From-SVN: r69860
2003-07-27 19:38:00 +00:00
Thomas Fitzsimmons 0963808165 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com.h>
Michael Koch  <konqueror@gmx.de>

	* gnu/java/awt/EmbeddedWindow.java
	(EmbeddedWindow): Extends Frame instead of Window.
	(window_id): New member variable to store the native window handle.
	(create): Removed.
	(EmbeddedWindow): New constructor.
	(addNotify): New method.
	(getHandler): Likewise.
	(setWindowPeer): New native method.
	* gnu/java/awt/EmbeddedWindowSupport.java
	(EmbeddedWindowSupport): Fixed documentation.
	(createEmbeddedWindow): Return EmbeddedWindowPeer instead of
	WindowPeer, give it an EmbeddedWindow instance instead of the raw
	window data.
	* gnu/java/awt/natEmbeddedWindow.cc
	(create): Removed.
	(setWindowPeer): New method.
	* gnu/java/awt/peer/EmbeddedWindowPeer.java,
	gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
	New files
	* gnu/java/awt/peer/gtk/GtkToolkit.java
	(GtkToolkit): Implements EmbeddedWindowSupport.
	(createEmbeddedWindow): New method.
	* java/awt/Window.java
	(Window): Removed.
	* Makefile.am
	(java_source_files): Added EmbeddedWindowPeer.java.
	(gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
	(gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
	* Makefile.in: Regenerated.

Co-Authored-By: Michael Koch <konqueror@gmx.de>

From-SVN: r69859
2003-07-27 19:04:42 +00:00
Mark Mitchell b7a78333b1 call.c (standard_conversion): Tweak handling of pointer-to-member types.
* call.c (standard_conversion): Tweak handling of
	pointer-to-member types.
	* pt.c (tsubst): Correctly qualify pointers-to-data member types.
	* typeck.c (comp_ptr_ttypes_real): Check qualifiers on
	pointer-to-data member types.

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

From-SVN: r69855
2003-07-27 18:25:57 +00:00
Nathan Sidwell 90ea7324e8 extend.texi (Deprecated Features): Implicit typename is gone.
* doc/extend.texi (Deprecated Features): Implicit typename is
	gone. Default args on types is going.

From-SVN: r69853
2003-07-27 16:57:18 +00:00
Nathan Sidwell c67d36d0d7 parser.c (cp_parser_type_parameter): Reformat.
* parser.c (cp_parser_type_parameter): Reformat.
	(cp_parser_parameter_declaration): Deprecate default args where
	not allowed.

From-SVN: r69852
2003-07-27 16:51:14 +00:00
Ranjit Mathew cc33095ccf Win32Process.java (ConcreteProcess): Surround a command line element with quotes if it contains an embedded space or tab.
2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>

	* java/lang/Win32Process.java (ConcreteProcess): Surround
	a command line element with quotes if it contains an
	embedded space or tab.
	* java/lang/natWin32Process.cc (startProcess): Do not
	surround command line elements with quotes here.

From-SVN: r69844
2003-07-27 04:13:03 +00:00
Ranjit Mathew 6eb085352b configure.host: Use -fcheck-references and -fuse-divide-subroutine for MinGW until we fix...
2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>

	* configure.host: Use -fcheck-references and
	-fuse-divide-subroutine for MinGW until we fix
	win32_exception_handler( ) in win32.cc w.r.t. Win32
	Structured Exception Handling (SEH).

From-SVN: r69843
2003-07-27 04:11:55 +00:00
Geoffrey Keating 18f3e349aa varasm.c (output_constant_def_contents): Use ASM_DECLARE_CONSTANT_NAME if defined.
* varasm.c (output_constant_def_contents): Use
	ASM_DECLARE_CONSTANT_NAME if defined.
	* doc/tm.texi (Label Output): Document ASM_DECLARE_CONSTANT_NAME.
	* config/darwin.h (ASM_DECLARE_OBJECT_NAME): Ensure zero-sized
	objects get at least one byte to prevent assembler problems.
	(ASM_DECLARE_CONSTANT_NAME): New.

Index: testsuite/ChangeLog
	* gcc.c-torture/compile/zero-strct-2.c: New test.

From-SVN: r69842
2003-07-27 01:48:11 +00:00
GCC Administrator 404edd110e Daily bump.
From-SVN: r69840
2003-07-27 00:16:07 +00:00
Ranjit Mathew 14a5a676c1 win32.cc (_Jv_platform_initProperties): Use generic names like "x86" for the "os.arch" property to be consistent with...
2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>

	* win32.cc (_Jv_platform_initProperties): Use generic names
	like "x86" for the "os.arch" property to be consistent with
	what Sun's JDK produces. Use the wProcessorArchitecture
	member of the Win32 SYSTEM_INFO structure, filled in a call
	to GetSystemInfo( ), instead of dwProcessorType.

From-SVN: r69837
2003-07-26 23:17:06 +00:00
Mohan Embar d6f6aaf66c Makefile.am: Use cross-compiling gcjh from the path for a crossed-native build.
2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
	    Ranjit Mathew  <rmathew@hotmail.com>

	* Makefile.am: Use cross-compiling gcjh from the path for
	a crossed-native build.
	* Makefile.in: Rebuilt.
	* configure.in: Include libltdl in non-newlib builds.
	Moved determination of gcj used to build libraries to
	its own section. Fixed cross-compilation issues for
	non-newlib builds.
	* configure: Rebuilt.

Co-Authored-By: Ranjit Mathew <rmathew@hotmail.com>

From-SVN: r69836
2003-07-26 22:56:15 +00:00
Nathan Sidwell f369aae49c * cfns.h: Rebuilt.
From-SVN: r69833
2003-07-26 19:31:30 +00:00
Nathan Sidwell 079167d393 changelog
From-SVN: r69831
2003-07-26 19:12:56 +00:00
Nathan Sidwell 2a3398e124 cp-tree.h (begin_init_stmts, [...]): Remove.
* cp-tree.h (begin_init_stmts, finish_init_stmts): Remove.
	(begin_global_stmt_expr, finish_global_stmt_expr): Remove.
	* init.c (begin_init_stmts): Make static. Return is_global
	value. Always call begin_stmt_expr.
	(finish_init_stmts): Make static. Add is_global parm. Always
	building a stmt tree.
	(build_aggr_init): Adjust begin_init_stmts, finish_init_stmts calls.
	(build_vec_init): Likewise. Always building a stmt tree.
	(expand_default_init): Always building a stmt tree.
	(get_temp_regvar): Likewise.
	* semantics.c (begin_global_stmt_expr,
	finish_global_stmt_expr): Remove.

From-SVN: r69830
2003-07-26 19:10:26 +00:00
J"orn Rennecke 11a004efdb Makefile.in (ifcvt.o): Depend on target.h
* Makefile.in (ifcvt.o): Depend on target.h
	* ifcvt.c (target.h): Include.
	(if_convert): Don't call mark_loop_exit_edges if we can't
	modify jumps.

From-SVN: r69829
2003-07-26 19:38:42 +01:00
Paul Brook a51d71d05c * MAINTAINERS (fortran 95): Add myself, Steven Bosscher and Toon Moene.
From-SVN: r69826
2003-07-26 16:53:54 +00:00
Gerald Pfeifer 6cbf57c94c * doc/install.texi (Testing): Adjust required versions of DejaGnu.
From-SVN: r69817
2003-07-26 16:04:10 +00:00
Richard Henderson a6c14a644c re PR inline-asm/11676 (operand to volatile asm incorrectly removed)
PR inline-asm/11676
        * cse.c (count_reg_usage): Handle asm_operands properly.

From-SVN: r69816
2003-07-26 08:53:14 -07:00
Nathan Sidwell cd65f08202 document default arg deprecations
From-SVN: r69815
2003-07-26 14:09:35 +00:00
Roger Sayle cc42f5f54c builtins.def (DEF_FALLBACK_BUILTIN): Delete.
* builtins.def (DEF_FALLBACK_BUILTIN): Delete.
	(DEF_EXT_FALLBACK_BUILTIN): Delete.
	(BUILT_IN_BZERO, BUILT_IN_BCOPY, BUILT_IN_BCMP): Declare using
	the regular DEF_EXT_LIB_BUILTIN macro.
	(BUILT_IN_FPUTC, BUILT_IN_FPUTS, BUILT_IN_FWRITE): Declare using
	the regular DEF_LIB_BUILTIN macro.
	(BUILT_IN_PUTCHAR_UNLOCKED, BUILT_IN_PUTS_UNLOCKED,
	BUILT_IN_FPUTC_UNLOCKED, BUILT_IN_FPUTS_UNLOCKED,
	BUILT_IN_FWRITE_UNLOCKED): Declare using the regular
	DEF_EXT_LIB_BUILTIN macro.

	* c-decl.c (duplicate_decls): Remove code to handle builtin
	functions prototyped without an argument list.

From-SVN: r69814
2003-07-26 13:27:20 +00:00
Danny Smith 92e7a6efaf winnt.c: Revert 2003-07-08 change.
* config/i386/winnt.c: Revert 2003-07-08 change.
	(i386_pe_section_type_flags): Remove error_with_decl here too.

From-SVN: r69813
2003-07-26 11:43:15 +00:00
Gabriel Dos Reis ba9cfcb5e7 pe.c (arm_mark_dllimport): Don't use xxx_with_decl.
* config/arm/pe.c (arm_mark_dllimport): Don't use xxx_with_decl.
	* config/mcore/mcore.c (mcore_mark_dllimport): Likewise.
	* config/v850/v850.c (v850_handle_data_area_attribute): Likewise.
	(v850_handle_data_area_attribute): Likewise.

From-SVN: r69812
2003-07-26 11:27:40 +00:00
Geoffrey Keating d2908a507b Makefile.in (libbackend.o): Remove options_.h.
* Makefile.in (libbackend.o): Remove options_.h.
	(mostlyclean): Likewise.

From-SVN: r69810
2003-07-26 07:37:55 +00:00
Geoffrey Keating 0e5da0beef rs6000.c (rs6000_output_function_epilogue): Don't insert a label at the end of an function under Mach-O.
* config/rs6000/rs6000.c (rs6000_output_function_epilogue): Don't
	insert a label at the end of an function under Mach-O.

From-SVN: r69809
2003-07-26 07:34:21 +00:00
Geoffrey Keating 863d3dfb5a * c-decl.c (c_static_assembler_name): Remove TREE_STATIC test.
From-SVN: r69808
2003-07-26 07:16:48 +00:00
Tom Tromey 49f60a1a01 natFileDescriptorPosix.cc (write): Try again on EINTR.
* java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
	(write): Likewise.
	(read): Likewise.
	(read): Likewise.

From-SVN: r69807
2003-07-26 00:40:50 +00:00
GCC Administrator 037af9d77b Daily bump.
From-SVN: r69805
2003-07-26 00:16:07 +00:00
Aldy Hernandez 36252949ae rs6000.c (is_ev64_opaque_type): Only check pointer equality.
2003-07-25  Aldy Hernandez  <aldyh@redhat.com>

	* config/rs6000/rs6000.c (is_ev64_opaque_type): Only check pointer
	equality.
	(spe_init_builtins): Declare __ev64_opaque__ as a builtin type.

	* config/rs6000/spe.h: Remove __ev64_opaque__ definition.

From-SVN: r69802
2003-07-25 23:49:30 +00:00
Nathan Sidwell ca3c62ecf1 * g++.dg/other/error2.C: Tweak expected errors.
From-SVN: r69796
2003-07-25 17:22:37 +00:00
Nathan Sidwell c7b62f1472 cp-tree.h (build_compound_expr): Take LHS & RHS args.
* cp-tree.h (build_compound_expr): Take LHS & RHS args.
	(build_x_compound_expr_from_list): Declare.
	* typeck.c (build_x_compound_expr_from_list): New.
	(build_x_compound_expr): Adjust.
	(build_compound_expr): Remove unreachable code. Take two
	parameters, adjust.
	* decl.c (grok_reference_init): Use
	build_x_compound_expr_from_list.
	(expand_static_init): Adjust build_compound_expr call.
	(cxx_maybe_build_cleanup): Likewise.
	* init.c (perform_member_init): Use
	build_x_compound_expr_from_list.
	(build_new_1): Likewise.
	(build_vec_delete): Adjust build_compound_expr calls.
	(build_vbase_delete): Likewise.
	* typeck2.c (store_init_value): Use
	build_x_compound_expr_from_list.
	(build_functional_cast): Likewise.

From-SVN: r69794
2003-07-25 16:52:47 +00:00
Nathan Sidwell 42eaed4985 cp-tree.h (enum tsubst_flags_t): Add tf_user.
* cp-tree.h (enum tsubst_flags_t): Add tf_user.
	* decl.c (make_typename_type): Pass it.
	* pt.c (lookup_template_class): Use it.
	(resolve_typename_type): Pass it.
	* semantics.c (finish_template_type): Pass it.

From-SVN: r69793
2003-07-25 16:45:34 +00:00
Benjamin Kosnik e884d397fb char_traits.h: Update copyright, tweak.
2003-07-25  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/char_traits.h: Update copyright, tweak.
	* testsuite/ext/pod_char_traits.cc: Explicitly qualify namespace
	std types.

From-SVN: r69792
2003-07-25 16:36:01 +00:00
Benjamin Kosnik b66ea7d48d char_traits.h: Update copyright, tweak.
2003-07-25  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/char_traits.h: Update copyright, tweak.
	* testsuite/ext/pod_char_traits.cc: Explicitly qualifiy namespace
	std types.

From-SVN: r69791
2003-07-25 16:35:39 +00:00
Nathan Sidwell 22038b2cf5 re PR c++/11617 (g++ does not report missing member functions)
cp:
	PR c++/11617
	* cp-tree.h (qualified_name_lookup_error): Declare.
	* pt.c (tsubst_qualified_id): Use qualified_name_lookup_error for
	errors.
	(tsubst_expr) <DECL_STMT case>: Likewise.
	(tsubst_copy_and_build) <COMPONENT_REF case>: Likewise.
	* semantics.c (qualified_name_lookup_error): New, broken out of ...
	(finish_id_expression): ... here. Use it.
testsuite:
	PR c++/11617
	* g++.dg/template/lookup2.C: New test.
	* g++.dg/template/memclass1.C: Remove instantiated from error.

From-SVN: r69790
2003-07-25 16:35:20 +00:00
Roger Sayle 6c84c6686d configure.host: Only use +ESdbgasm when using the HPUX native compiler on PA-Risc.
* configure.host: Only use +ESdbgasm when using the HPUX native
	compiler on PA-Risc.  It isn't recognized by GCC and is silently
	ignored by HP's compilers on ia64.

From-SVN: r69788
2003-07-25 14:32:55 +00:00
Falk Hueffner 8460025b07 * cfns.gperf: Add '%%' delimiter to placate gperf 3.0.
From-SVN: r69787
2003-07-25 13:57:43 +00:00
Mark Wielaard 337ecadfd0 + * java/lang/natRuntime.cc (_load): Add library name to
+       UnsatisfiedLinkError when thrown.

From-SVN: r69786
2003-07-25 13:04:15 +00:00
Mark Wielaard ec8a1dd5a8 [multiple changes]
2003-07-25  Mark Wielaard  <mark@klomp.org>

	* Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
	added.
	* Makefile.in: Likewise.

2003-07-25  Jeroen Frijters  <jeroen@frijters.net>

	* java/awt/Component.java
	(getPreferredSize): Call preferredSize.
	(preferredSize): Moved body of getPreferredSize here.
	(getMinimumSize): Call minimumSize.
	(minimumSize): Moved body of getMinimumSize here.
	(prepareImage): Fall back on Toolkit.prepareImage if there is no peer
	(checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
	pass -1
	* java/awt/Container.java
	(validate): Don't validate if there is no peer.
	(update): Clear background before calling paint.
	* java/awt/GridBagLayout.java
	Completed the implementation and fixed several bugs.
	* java/awt/MediaTracker.java
	(MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
	combine flags.
	* java/awt/Window.java
	(Window): Don't call setVisible(false). Windows are invisible by
	default and calling virtual methods from constructor causes
	compatibility problems (e.g. subclasses may assume that the peer
	already exists).

2003-07-25  Michael Koch  <konqueror@gmx.de>

	* java/awt/GridBagLayout.java:
	Totally reworked and partly implemented.
	* java/awt/GridBagLayoutInfo.java:
	New file.

From-SVN: r69785
2003-07-25 12:50:44 +00:00
Gabriel Dos Reis 0fe37f6868 passes.texi (Passes): Mention pretty-printing and diagnostic files.
* doc/passes.texi (Passes): Mention pretty-printing and
        diagnostic files.

From-SVN: r69783
2003-07-25 11:48:02 +00:00
Nathan Sidwell b8bae36530 * decl.c (force_poplevels): Fix warning call.
From-SVN: r69782
2003-07-25 10:58:33 +00:00