Commit Graph

22554 Commits

Author SHA1 Message Date
Melissa O'Neill 71cce721af getcwd.c (getcwd): If pathname is NULL, then obtain SIZE bytes of space using malloc.
�
        * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
        bytes of space using malloc.

From-SVN: r27160
1999-05-25 21:04:25 -06:00
Philip Blundell 8430617602 arm.h (NEED_PLT_GOT): Fix mistake in last change.
�
        * arm.h (NEED_PLT_GOT): Fix mistake in last change.
        (GOT_PCREL): New macro.  Define to 1 if not already defined.
        * arm/elf.h (GOT_PCREL): Define to 0.
        * arm.c (arm_finalize_pic): Take into account the setting of
        GOT_PCREL.

From-SVN: r27156
1999-05-25 19:29:10 -06:00
Jeff Law d238a2376d Daily bump.
From-SVN: r27153
1999-05-25 18:45:02 -06:00
Jeff Law 212cf333fb Revert accidental checkin.
From-SVN: r27152
1999-05-25 17:18:19 -06:00
Jeffrey A Law 98577d038c output.h (STRIP_NAME_ENCODING): Provide default definition.
* output.h (STRIP_NAME_ENCODING): Provide default definition.
        * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.

From-SVN: r27151
1999-05-25 15:32:01 -06:00
Craig Burley b962215a47 Delete vestigial FFECOM_FASTER_ARRAY_REFS
From-SVN: r27149
1999-05-25 17:04:32 -04:00
Alexandre Petit-Bianco dc4e6ccfe5 [multiple changes]
Tue May 25 15:06:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
        * parse.y (patch_assignment): Save the rhs before using it as an
        argument to _Jv_CheckArrayStore.
Tue May 25 11:23:59 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
	* lex.c (java_parse_doc_section): Fixed `tag' buffer size.
Mon May 24 13:26:00 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
        * lex.c (java_lex): Accepts `+' or `-' after the beginning of a
        floating point litteral only when the exponent indicator has been
        parsed.

From-SVN: r27147
1999-05-25 09:36:07 -07:00
Craig Burley 47d98fa268 Fix 19990525-0.f
From-SVN: r27145
1999-05-25 12:25:57 -04:00
Mark Mitchell 3ebc5c52e8 class.c (finish_vtbls): Copy BINFO_VIRTUALs before using it to intialize a vtable.
* class.c (finish_vtbls): Copy BINFO_VIRTUALs before using it to
	intialize a vtable.
	* cp-tree.h (NAMESPACE_LEVEL): Reformat.
	(lang_decl_flags): Document MEMFUNC_POINTER_TO.  Save four bytes
	by combining TEMPLATE_INFO and LEVEL into a single union.
	(DECL_TEMPLATE_INFO): Reformat.
	(DECL_SAVED_TREE): Document.
	(DECL_TEMPLATE_INJECT): Remove.
	* class.c (finish_struct): Remove code to deal with
	DECL_TEMPLATE_INJECT.
	* decl.c (maybe_process_template_type_declaration): Handle all new
	types in templates uniformly.
	* method.c (bulid_overload_identifier): Use CP_DECL_CONTEXT, not
	DECL_CONTEXT.
	* pt.c (lookup_template_class): Inject template instantiations of
	forward-declarations.
	(instantiate_class_template): Remove code processing
	DECL_TEMPLATE_INJECT.
	* pt.c (lookup_template_class): Tweak lookup to find member
	templates.
	* pt.c (tsubst_expr, case ASM_STMT): Don't tsubst into
	ASM_CV_QUAL.
	* semantics.c (finish_asm_stmt): Make strings permanent if they're
	used in a template.

From-SVN: r27144
1999-05-25 15:31:38 +00:00
Jeff Law c9b2595a77 Fix dumb mistakes.
From-SVN: r27143
1999-05-25 07:53:30 -06:00
Jeffrey A Law 73951da827 * gcc.c-torture/execute/990525-2.c: New test.
From-SVN: r27142
1999-05-25 07:31:37 -06:00
Jeffrey A Law 3ce7c5a21d flow.c (mark_set_1): Do not record BLKmode stores as dead store elimination candidates.
�
        * flow.c (mark_set_1): Do not record BLKmode stores as dead
        store elimination candidates.

From-SVN: r27140
1999-05-25 07:14:40 -06:00
H.J. Lu c2c08b29b9 config.guess (dummy): Changed to $dummy.
Tue May 25 11:20:46 1999  H.J. Lu  (hjl@gnu.org)
	* config.guess (dummy): Changed to $dummy.

From-SVN: r27139
1999-05-25 23:06:22 +10:00
Jason Merrill 3e0b47108c typeck.c (casts_away_constness, [...]): Strip both parts of pointer to data member types.
* typeck.c (casts_away_constness, casts_away_constness_r): Strip both
	parts of pointer to data member types.

From-SVN: r27138
1999-05-25 07:55:58 -04:00
Nick Clifton b7e48b2d29 Explicitly declare signed bitfields as signed.
From-SVN: r27137
1999-05-25 07:16:43 +00:00
Gavin Romig-Koch d89ccde6a8 mips.h (ASM_OUTPUT_DOUBLE_INT): Use 'dword' if TARGET_GAS.
* config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
	TARGET_GAS.

From-SVN: r27136
1999-05-25 05:57:50 +00:00
Jeff Law e83e9d6a0e Daily bump.
From-SVN: r27134
1999-05-24 18:45:34 -06:00
Jeffrey A Law d3e82013f9 * gcc.c-torture/execute/990525-1.c: New test.
From-SVN: r27132
1999-05-24 18:26:35 -06:00
Mark Mitchell 5e65d3ee9a decl2.c (mark_vtable_entries): Don't make a copy of a function, and then make it look like `abort'.
* decl2.c (mark_vtable_entries): Don't make a copy of a function,
	and then make it look like `abort'.  Just use `abort' instead.

From-SVN: r27131
1999-05-24 23:38:55 +00:00
Jim Wilson 590e30e761 Fix aix --with-gnu-ld configuration bug.
* configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
	Add use of x-aix41-gld.

From-SVN: r27130
1999-05-24 13:32:23 -07:00
Jakub Jelinek 9fc0706f3e linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
* sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
        (ASM_OUTPUT_DESTRUCTOR): Define.

From-SVN: r27129
1999-05-24 09:45:19 -07:00
Mark Mitchell af7b990290 typeck.c (build_static_cast): Don't allow static_casts that cast away constness.
* typeck.c (build_static_cast): Don't allow static_casts that cast
	away constness.
	(casts_away_constness_r): New function.
	(casts_away_constness): Likewise.

From-SVN: r27128
1999-05-24 15:26:25 +00:00
Nick Clifton 671d0648e0 Tidied up case statements
From-SVN: r27127
1999-05-24 15:24:52 +00:00
Tom Tromey a81eb01077 ResourceBundle.java (getBundle): Throw NullPointerException if baseName is null.
* java/util/ResourceBundle.java (getBundle): Throw
	NullPointerException if baseName is null.

From-SVN: r27126
1999-05-24 15:00:02 +00:00
Jeffrey A Law ae188a870e loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the last CODE_LABEL in a loop if...
* loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
	last CODE_LABEL in a loop if we have previously passed a jump
	to the top of the loop.

From-SVN: r27125
1999-05-24 07:43:22 -06:00
Jeffrey A Law 79d6c91640 * gcc.c-torture/execute/990524-1.c: New test.
From-SVN: r27122
1999-05-24 07:27:14 -06:00
Nick Clifton 687f77a15c Fix blunder made when applying patch to arm.h
From-SVN: r27121
1999-05-24 07:58:01 +00:00
Nathan Sidwell 569c1d8ba0 anon3.C: New test.
* g++.old-deja/g++.other/anon3.C: New test.
	* g++.old-deja/g++.other/anon4.C: New test.
	* g++.old-deja/g++.ext/anon1.C: Inhibit -pedantic option.
	* g++.old-deja/g++.g++.robertl/eb131.C/: Remove unrequired ERROR tag,
	after downgrade to warning (cp/ChangeLog: 1999-05-20 Jason
	Merrill).

From-SVN: r27120
1999-05-24 04:24:30 +00:00
Mark Mitchell e97b5c125c stmt.c (expand_end_bindings): Ignore any elements of VARS that are not VAR_DECLs.
* stmt.c (expand_end_bindings): Ignore any elements of VARS that
	are not VAR_DECLs.

From-SVN: r27118
1999-05-24 00:58:56 +00:00
Mark Mitchell 8bcc97de27 decl.c (lookup_tag): Remove code no longer needed after name-lookup improvements.
* decl.c (lookup_tag): Remove code no longer needed after
	name-lookup improvements.
	* decl2.c (handle_class_head): Make error-recovery more robust.
	* friend.c (make_friend_class): Reject templated typename types.
	* lex.c (is_global): A template parameter isn't global.
	* parse.y (class_head): Robustify.
	* parse.c: Regenerated.

From-SVN: r27117
1999-05-24 00:47:01 +00:00
Jeff Law 480e228634 Daily bump.
From-SVN: r27116
1999-05-23 18:45:33 -06:00
Jeffrey A Law 35676551af * gcc.dg/990524-1.c: New test.
From-SVN: r27114
1999-05-23 17:12:23 -06:00
Franz Sirl 9208b154a2 * gcc.c-torture/compile/990523-1.c: New test.
From-SVN: r27113
1999-05-23 15:26:27 -06:00
Jeff Law a366a40a7e [multiple changes]
Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
        * loop.c (strength_reduce): Grow reg_single_usage as needed.
Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
        * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
        Also remove a useless comment.
Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
        * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.

From-SVN: r27111
1999-05-23 13:37:42 -06:00
Jeff Law 1ba5d5ce7a Daily bump.
From-SVN: r27109
1999-05-22 18:45:05 -06:00
Mark Mitchell 4699c56180 pt.c (for_each_template_parm): Walk into TYPENAME_TYPEs, INDIRECT_REFs, and COMPONENT_REFs.
* pt.c (for_each_template_parm): Walk into TYPENAME_TYPEs,
	INDIRECT_REFs, and COMPONENT_REFs.  Handle FIELD_DECLs.

From-SVN: r27108
1999-05-22 19:00:23 +00:00
Jason Merrill ba50acac81 expected
From-SVN: r27107
1999-05-22 14:44:19 -04:00
David Edelsohn 9d4d5d58b2 collect2.c (main): Only generate import or export file and add to link arguments if non-empty.
* collect2.c (main): Only generate import or export file and add
        to link arguments if non-empty.  Use xmalloc not alloca.
        (write_{export,import}_file): Delete.
        (write_aix_file): New function.
        (locatelib): Use xmalloc not malloc.
        (GCC_OK_SYMBOL): Do not check type if aix64.

From-SVN: r27106
1999-05-22 14:14:31 -04:00
Tom Tromey 93d627acaa ZipInputStream.java (fill): New method.
* java/util/zip/ZipInputStream.java (fill): New method.
	(compressed_len): New instance variable.
	(getNextStream): Set it.
	(read): Reset inflater on EOF.  Only read via `super' if entry is
	deflated.
	(skip): Only skip via `super' if entry is deflated.
	* java/util/zip/Deflater.java (last_input_count): Removed.
	* java/util/zip/natDeflater.cc (deflate): Return 0 if input array
	is length 0.
	(needsInput): Don't use last_input_count.
	(setInput): Don't set last_input_count.
	* java/util/zip/natInflater.cc (getRemaining): Return correct
	result.
	(inflate): Return 0 if input array is length 0.
	(setInput): Don't set last_input_count.
	* java/util/zip/Inflater.java (last_input_count): Removed.

From-SVN: r27105
1999-05-22 18:08:46 +00:00
Alexandre Petit-Bianco 5256aa37b4 [multiple changes]
Sat May 22 13:54:41 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
	* parse.y (formal_parameter:): Construct argument tree list
 	element even if a yet unsupported final parameter was encountered.
Tue May 18 00:28:58 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
	* parse.y (finish_method_declaration): Issue errors for native or
 	abstract methods declared with a method body, as well as for non
 	native or non abstract methods with no method body.

From-SVN: r27104
1999-05-22 07:38:13 -07:00
Mark Mitchell 61fc8c9e2b cp-tree.h (push_nested_namespace): Declare.
* cp-tree.h (push_nested_namespace): Declare.
	(pop_nested_namespace): Likewise.
	* decl.c (push_nested_namespace): New function.
	(pop_nested_namespace): Likewise.
	* pt.c (instantiate_class_template): Use them.

From-SVN: r27103
1999-05-22 14:26:55 +00:00
Mark Mitchell 9dd03dd98b * tree.c (mapcar): Handle LVALUE_EXPR.
From-SVN: r27101
1999-05-22 11:24:43 +00:00
Philip Blundell 13bd191d0e Apply patch from Philip Blundell <pb@nexus.co.uk> to fix PIC support for
constant tables.

From-SVN: r27100
1999-05-22 09:40:04 +00:00
Philip Blundell ed4e4c7441 Fix erroneous warning message
From-SVN: r27099
1999-05-22 09:11:10 +00:00
Nick Clifton d1fbba3887 oops - omitted from previous delta
From-SVN: r27098
1999-05-22 09:07:56 +00:00
Nick Clifton e2723c6276 Only defined NEED_PLT_GOT if it is not already defined.
From-SVN: r27097
1999-05-22 09:07:33 +00:00
Nick Clifton c980b85bdc Fix description of a stack element in a PARALLEL generated by FUNCTION_ARG
From-SVN: r27096
1999-05-22 07:18:02 +00:00
Jeff Law 36a2945345 Fix comment (insns -> bytes).
From-SVN: r27095
1999-05-21 23:54:15 -06:00
Ben Elliston 51ccbd8d03 config.guess: Handle NEC UX/4800.
1999-05-22  Ben Elliston  <bje@cygnus.com>
	* config.guess: Handle NEC UX/4800. Contributed by Jiro Takabatake
	<jiro@din.or.jp>.

From-SVN: r27094
1999-05-22 15:41:47 +10:00
Ben Elliston b1345c7213 config.guess: Merge with FSF version.
1999-05-22  Ben Elliston  <bje@cygnus.com>
	* config.guess: Merge with FSF version. Future changes will be
	more accurately recorded in this ChangeLog.
	* config.sub: Likewise.

From-SVN: r27093
1999-05-22 15:17:55 +10:00