Commit Graph

22126 Commits

Author SHA1 Message Date
Jim Wilson 52ecdfda65 Fix mips16 libstdc++ builds. Fix inconsistency from Apr 7 change.
* mips/elf64.h (MAKE_DECL_ONE_ONLY, UNIQUE_SECTION_P): Define.
	* mips/mips.c (mips_select_rtx_section): When TARGET_MIPS16, use
	function_section instead of text_section.
	* mips/mips.h (ENCODE_SECTION_INFO): Add check for UNIQUE_SECTION_P
	in TARGET_MIPS16 STRING_CST handling.

From-SVN: r26824
1999-05-07 05:42:05 -07:00
Rainer Orth e42dc60496 DESTDIR is already trimmed to the correct directory
From-SVN: r26823
1999-05-07 11:22:05 +00:00
Rainer Orth 7d032a4f63 fix memory leak in run_compiles
From-SVN: r26822
1999-05-07 11:09:31 +00:00
Ulrich Drepper f2fee5bef0 Update.
From-SVN: r26821
1999-05-07 10:16:23 +00:00
Ulrich Drepper 4ff8ec301f (class basic_string::Rep): Make release member function thread-safe for
ix86 (x>=4) and UltraSPARC.

From-SVN: r26820
1999-05-07 10:16:09 +00:00
Ulrich Drepper 199343c591 Update.
From-SVN: r26819
1999-05-07 10:14:34 +00:00
Ulrich Drepper 2370ed1f56 Make it possible to compile with __USE_MALLOC.
From-SVN: r26818
1999-05-07 10:13:49 +00:00
Nick Clifton ef179a2644 Apply patch from Nick Burrett <nick.burrett@btinternet.com>
to implementn -mpoke-function-name

From-SVN: r26817
1999-05-07 10:02:49 +00:00
Jason Merrill 6c9ef6d420 new
From-SVN: r26816
1999-05-07 05:54:10 -04:00
Jason Merrill a359be75cf init.c (resolve_offset_ref): Don't return a raw method.
* init.c (resolve_offset_ref): Don't return a raw method.
	Use BASELINK_P.
	* typeck.c (decay_conversion): Don't handle a raw method.
	Resolve all OFFSET_REFs.
	(get_member_function_from_ptrfunc): 0 is a valid vtable index.
	(build_binary_op_nodefault): Handle resolving overloaded fns.  Use
	same_type_p for pmf bits.  Don't use build_binary_op to compare
	raw pointers to methods.
	(convert_for_assignment): Check for OFFSET_REF, not OFFSET_TYPE,
	to decide when to call resolve_offset_ref.
	(build_c_cast, convert_for_initialization): Likewise.
	* cvt.c (build_expr_type_conversion): Likewise.

From-SVN: r26815
1999-05-07 05:47:57 -04:00
Rainer Orth 475836b16f don't \-escape the cd command + format fix
From-SVN: r26814
1999-05-07 08:44:46 +00:00
Rainer Orth f6a65b927d don't \\-escape the cd command + format fix
From-SVN: r26813
1999-05-07 08:42:27 +00:00
Jeff Law 02c325c4ce Daily bump.
From-SVN: r26812
1999-05-06 18:45:02 -06:00
Mark Mitchell a504535255 resource.c (mark_referenced_resources): Make volatil monotonically increasing.
* resource.c (mark_referenced_resources): Make volatil
	monotonically increasing.
	(mark_set_resources): Likewise.

From-SVN: r26811
1999-05-06 23:29:23 +00:00
Jeff Law e51f4db632 Fix tege's address.
From-SVN: r26810
1999-05-06 17:29:01 -06:00
Jeff Law 4e9dd50661 Fix typo. redudant -> redundant
From-SVN: r26809
1999-05-06 15:20:00 -06:00
Fred Fish 6a071f4a74 Fred Fish <fnf@be.com>
Fred Fish  <fnf@be.com>
        * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
        * getruntime.c: Only attempt to include sys/resource.h and
        use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
        are defined.

From-SVN: r26808
1999-05-06 13:57:01 -07:00
Fred Fish 3dde7044de Fred Fish <fnf@be.com>
Fred Fish  <fnf@be.com>
        * rs6000/xm-beos.h (HAVE_VPRINTF): Don't redefine if already defined.
        (HAVE_PUTENV, HAVE_ATEXIT, HAVE_RENAME): Likewise.

From-SVN: r26807
1999-05-06 13:04:33 -07:00
Craig Burley 6a84329681 doc improvements
From-SVN: r26806
1999-05-06 05:46:21 -04:00
Craig Burley 52dff54a7f update derived files
From-SVN: r26805
1999-05-06 01:31:41 -04:00
Craig Burley b2eeee69d6 update derived files
From-SVN: r26804
1999-05-06 01:31:40 -04:00
Craig Burley ef8d4abd7a automatic arrays reportedly working on HP-UX systems
From-SVN: r26803
1999-05-06 01:28:16 -04:00
Craig Burley 37cfb17c0a expand on advantages vis-a-vis f2c
From-SVN: r26802
1999-05-06 01:26:27 -04:00
Nathan Sidwell 969df93f1e * call.c (build_new_method_call): Use TYPE_MAIN_VARIANT of class.
From-SVN: r26801
1999-05-06 03:09:52 +00:00
Jeff Law aeb9f5fcaf Daily bump.
From-SVN: r26800
1999-05-05 18:45:02 -06:00
Per Bothner fe34cca7a5 Fix thinko.
From-SVN: r26799
1999-05-05 17:33:11 -07:00
Per Bothner 775de5478c Update
From-SVN: r26798
1999-05-05 17:27:18 -07:00
Per Bothner 11a606ebaf natSystem.cc (DEFAULT_FILE_ENCODING): New macro.
�
	* java/lang/natSystem.cc (DEFAULT_FILE_ENCODING):  New macro.
	(default_file_encoding):  New global, initial value is above macro.
	(init_properties):  Default file.encoding to default_file_encoding.

From-SVN: r26797
1999-05-05 17:24:08 -07:00
Per Bothner bb27e3881a *** empty log message ***
From-SVN: r26796
1999-05-05 17:15:47 -07:00
Per Bothner 0ec3c5478a InflaterInputStream.java: New stub class.
�
	* InflaterInputStream.java:  New stub class.
	* ZipInputStream.java:  New class.  Partly works.
	* ZipConstants.java:  Add two (internal) constants.
	* ZipEntry.java (timeFromDOS):  New static (non-public) method.
	* ZipFile.java:  Make it mostly work, except for compression.
	* ZipOutputStream.java:  Start implementation.

From-SVN: r26795
1999-05-05 17:15:47 -07:00
Per Bothner f7f65c793e InflaterInputStream.java: New stub class.
8
	* InflaterInputStream.java:  New stub class.
	* ZipInputStream.java:  New class.  Partly works.
	* ZipConstants.java:  Add two (internal) constants.
	* ZipEntry.java (timeFromDOS):  New static (non-public) method.
	* ZipFile.java:  Make it mostly work, except for compression.
	* ZipOutputStream.java:  Start implementation.

From-SVN: r26794
1999-05-05 17:15:45 -07:00
Per Bothner 0e9c6b0bf0 InflaterInputStream.java: New stub class.
e
	* InflaterInputStream.java:  New stub class.
	* ZipInputStream.java:  New class.  Partly works.
	* ZipConstants.java:  Add two (internal) constants.
	* ZipEntry.java (timeFromDOS):  New static (non-public) method.
	* ZipFile.java:  Make it mostly work, except for compression.
	* ZipOutputStream.java:  Start implementation.

From-SVN: r26793
1999-05-05 17:15:44 -07:00
Per Bothner efd6b47e7c InflaterInputStream.java: New stub class.
u
	* InflaterInputStream.java:  New stub class.
	* ZipInputStream.java:  New class.  Partly works.
	* ZipConstants.java:  Add two (internal) constants.
	* ZipEntry.java (timeFromDOS):  New static (non-public) method.
	* ZipFile.java:  Make it mostly work, except for compression.
	* ZipOutputStream.java:  Start implementation.

From-SVN: r26792
1999-05-05 17:15:43 -07:00
Per Bothner 148017e025 * doc/cni.sgml: Document RawData.
From-SVN: r26791
1999-05-05 16:15:04 -07:00
Per Bothner cd9643f75b class.c (make_field_value): DECL_INITIAL may be a string literal...
d
	* class.c (make_field_value):  DECL_INITIAL may be a string literal;
	temporarily zero it while calling rest_of_decl_compilation.
	* java-tree.h (string_ptr_type_node):  Add declaration.
	* decl.c:  Define and initialize string_ptr_type_node.
	* parse.y (patch_string_cst):  Use string_ptr_type_node.
	* parse.h (LOOP_HAS_LABEL_P, LOOP_HAS_LABEL_SKIP_P):  Removed.
	* parse.y (for_statement):  Now unconditionally exit_block.
	(finish_labeled_statement):  No longer exit_block if for-loop.
	(patch_loop_statement):  Check harder if the loop is already labeled.
	* parse.y (patch_initialized_static_field):  Removed function.
	(maybe_generate_clinit):  Removed special handling for interfaces.
	(java_complete_expand_methods):  Do a preliminary java_complete_tree
	on <clinit> to determine if it can be removed.
	(java_complete_expand_method):  Remove special handling for <clinit>.
	(java_complete_lhs):  For BLOCK and EXPR_WITH_FILE_LOCATION
	optimize if we get back empty_stmt_node.
	For MODIFY_EXPR, re-do checking of static initializers.
	(fold_constant_for_init):  Don't return immediate if VAR_DECL.
	For VAR_DECL, pass correct context.

From-SVN: r26790
1999-05-05 14:10:07 -07:00
Per Bothner c14cff58e5 class.c (make_field_value): DECL_INITIAL may be a string literal...
* class.c (make_field_value):  DECL_INITIAL may be a string literal;
	temporarily zero it while calling rest_of_decl_compilation.
	* java-tree.h (string_ptr_type_node):  Add declaration.
	* decl.c:  Define and initialize string_ptr_type_node.
	* parse.y (patch_string_cst):  Use string_ptr_type_node.
	* parse.h (LOOP_HAS_LABEL_P, LOOP_HAS_LABEL_SKIP_P):  Removed.
	* parse.y (for_statement):  Now unconditionally exit_block.
	(finish_labeled_statement):  No longer exit_block if for-loop.
	(patch_loop_statement):  Check harder if the loop is already labeled.
	* parse.y (patch_initialized_static_field):  Removed function.
	(maybe_generate_clinit):  Removed special handling for interfaces.
	(java_complete_expand_methods):  Do a preliminary java_complete_tree
	on <clinit> to determine if it can be removed.
	(java_complete_expand_method):  Remove special handling for <clinit>.
	(java_complete_lhs):  For BLOCK and EXPR_WITH_FILE_LOCATION
	optimize if we get back empty_stmt_node.
	For MODIFY_EXPR, re-do checking of static initializers.
	(fold_constant_for_init):  Don't return immediate if VAR_DECL.
	For VAR_DECL, pass correct context.

From-SVN: r26789
1999-05-05 14:09:55 -07:00
Per Bothner 10b905f1ea verify.c (verify_jvm_instructions): Better error messages.
�
	* verify.c (verify_jvm_instructions):  Better error messages.

From-SVN: r26788
1999-05-05 14:09:08 -07:00
Jason Merrill 0d9d12fc95 * install.texi (Header Dirs): s/GPLUS/GPLUSPLUS/.
From-SVN: r26787
1999-05-05 16:29:36 -04:00
J"orn Rennecke 36e9ee91ef * unroll.c (copy_loop_body): Don't copy VTOP notes from copy_notes_from.
From-SVN: r26786
1999-05-05 16:47:48 +01:00
Tom Tromey 9096b279c2 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (CLEANFILES): Don't mention $(class_files).
	(clean-local): New target
	* java/lang/natRuntime.cc: Include <ltdl.h> if required.
	(load, loadLibrary): Now native.
	(init): New method.
	* java/lang/Runtime.java (load, loadLibrary): Now native.
	(init): New native method.
	(Runtime): Use init.
	* prims.cc: Include <ltdl.h> if required.
	(JvRunMain): Call LTDL_SET_PRELOADED_SYMBOLS.

From-SVN: r26785
1999-05-05 14:19:24 +00:00
Vladimir Makarov 8b04083bec function.c (purge_addressof_replacements): Rename into purge_bitfield_addressof_replacements.
Wed May  5 16:26:13 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
	* function.c (purge_addressof_replacements): Rename into
 	purge_bitfield_addressof_replacements.
	(purge_addressof_replacements): New variable.
	(purge_addressof_1): Add code for changing addressof in notes for
 	field values which are extracted by usage MEM with narrower mode.
	(purge_addressof): Initialize purge_bitfield_addressof_replacements.

From-SVN: r26784
1999-05-05 13:30:51 +00:00
Per Bothner 24dc3000dd New class.
From-SVN: r26783
1999-05-05 05:26:37 -07:00
Tom Tromey 8b91074ea7 libjava.exp (libjava_arguments): Don't use -nodefaultlibs.
* lib/libjava.exp (libjava_arguments): Don't use -nodefaultlibs.
	(libjava_find_lib): Add `-L' option to find the actual library.

From-SVN: r26782
1999-05-05 11:56:28 +00:00
Gilles Zunino 395e3bf94c configure.in: Switch from irix threads to posix threads
1999-05-05  Gilles Zunino  <Gilles.Zunino@hei.fr>
	* configure.in: Switch from irix threads to posix threads
	* configure: Regenerate.

From-SVN: r26781
1999-05-05 11:52:03 +00:00
Mark Mitchell b3f738dacc decl2.c (start_objects): Don't let static constructors and destructors get inlined.
* decl2.c (start_objects): Don't let static constructors and
	destructors get inlined.
	* parse.y (nested_name_specifier): Make sure ordinary types are
	complete, just like template types.
	* parse.c: Regenerated.
	* pt.c (check_explicit_specialization): Improve error messages.

From-SVN: r26780
1999-05-05 11:50:03 +00:00
Gilles Zunino 14caa62fcb configure.in: Switch from irix threads to posix threads Defined IRIX_THREADS.
1999-05-05  Gilles Zunino  <Gilles.Zunino@hei.fr>
	* configure.in: Switch from irix threads to posix threads
	Defined IRIX_THREADS. Put mips_sgi_mach_dep.lo into machdep
	for mips architecture.
	* configure: Regenerate.

From-SVN: r26779
1999-05-05 11:46:18 +00:00
Per Bothner fd164b17ac Add AWT stubs and incomplete classes.
From-SVN: r26778
1999-05-05 04:05:57 -07:00
Tom Tromey dfac8a1333 Makefile.in: Replace with automake-generated file.
* Makefile.in: Replace with automake-generated file.
	* Makefile.am: New file.
	* configure: Replaced with autoconf-generated script.
	* aclocal.m4: New file.
	* acinclude.m4: New file.
	* configure.in: New file.
	* Makefile: Removed.

From-SVN: r26777
1999-05-05 10:04:39 +00:00
Nick Clifton afef3d7a1b Remove assembler dialect dependencies.
From-SVN: r26776
1999-05-05 07:46:43 +00:00
Zack Weinberg 9ba051d33e gcc.c (default_compilers): Fix brace nesting bug.
1999-05-05 09:58 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
	* gcc.c (default_compilers): Fix brace nesting bug.
	* objc/lang-specs.h: Use %i, not %g.mi, for the input file
	when processing an .mi file.

From-SVN: r26775
1999-05-05 07:02:04 +00:00