Commit Graph

22147 Commits

Author SHA1 Message Date
Craig Burley a31f6b9fd0 doc upgrade to netlib libf2c as of today
From-SVN: r26742
1999-05-03 04:38:23 -04:00
Craig Burley 336725627d cope with partial overlap
From-SVN: r26741
1999-05-03 04:36:27 -04:00
Craig Burley a152cad74a Update to Netlib version of 1999-05-03
From-SVN: r26740
1999-05-03 04:35:22 -04:00
Craig Burley 9cfd948e77 revert back to netlib versions as of f2c-19990501
From-SVN: r26739
1999-05-03 04:33:21 -04:00
Jeff Law d0369a2f4e Daily bump.
From-SVN: r26737
1999-05-02 18:45:03 -06:00
Martin v. Löwis 63061bc6f5 * tinfo.cc (operator==): Qualify type_info with std::.
From-SVN: r26736
1999-05-02 22:44:24 +00:00
Mark Mitchell 2a5557ffd5 New test case
From-SVN: r26735
1999-05-02 22:34:55 +00:00
Mark Mitchell 412e0b3cee cp-tree.h (lang_decl_flags): Remove comdat.
* cp-tree.h (lang_decl_flags): Remove comdat.  Updated dummy.
	(DECL_COMDAT): Remove definition.

From-SVN: r26734
1999-05-02 17:45:13 +00:00
Mark Mitchell 5918224249 tree.h (struct tree_decl): Add comdat_flag.
* tree.h (struct tree_decl): Add comdat_flag.
	(DECL_COMDAT): Define it.
	* toplev.c (wrapup_global_declarations): Don't output a
	DECL_COMDAT function just because it's public.

From-SVN: r26733
1999-05-02 17:43:33 +00:00
Joseph Myers af36a4d251 Joseph S.
Joseph S. Myers  <jsm28@cam.ac.uk>
        * pdp11.h (TARGET_SWITCHES): Fix error in previous change.
        (ASSEMBLER_DIALECT): Define.
        (CONDITIONAL_REGISTER_USAGE): Rename floating point registers if
        required for the UNIX assembler.
        (ASM_OUTPUT_INT): Remove.  The compiler will synthesise it.
        (ASM_OUTPUT_ADDR_VEC_PROLOGUE): Remove.
        (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Change to "[" and "]".
        (TRAMPOLINE_TEMPLATE): Use ASM_OUTPUT_SHORT.
        * pdp11.c (output_addr_const_pdp11): Copy of output_addr_const
        adapted to output constants in octal.
        * pdp11.c, pdp11.h, pdp11.md: Use output_addr_const_pdp11 instead
        of output_addr_const.  Output constants in octal.  Use assembler
        dialect alternatives where DEC and UNIX assemblers use different
        instruction names.

From-SVN: r26732
1999-05-02 08:17:32 -07:00
Joseph Myers 4014b382ea Joseph S.
Joseph S. Myers  <jsm28@cam.ac.uk>
        * gcc.dg/cast-qual-1.c, gcc.dg/return-type-1.c, gcc.dg/unused-1.c:
        New tests.

From-SVN: r26731
1999-05-02 08:14:53 -07:00
Zack Weinberg 62fc8756ab Removed; handshake error
From-SVN: r26730
1999-05-02 14:10:13 +00:00
Zack Weinberg ec6f352cd8 ICE test; reported by Alexander Zvyagin <zvyagin@mx.ihep.su>
From-SVN: r26729
1999-05-02 14:09:12 +00:00
Craig Burley 834ba75b35 bump version
From-SVN: r26728
1999-05-02 10:07:57 -04:00
Craig Burley d59c317754 fix DO WHILE (compile/19990502-1.f)
From-SVN: r26727
1999-05-02 10:04:25 -04:00
Craig Burley a7e34b171b new test of DO WHILE
From-SVN: r26726
1999-05-02 10:01:13 -04:00
Jeffrey A Law f6a72cb6fe Bump for snapshot
From-SVN: r26724
1999-05-01 19:15:13 -06:00
Jeff Law 813c069865 Daily bump.
From-SVN: r26723
1999-05-01 18:45:05 -06:00
Craig Burley 4a5ae68217 new test, fails at -O2 on x86 target
From-SVN: r26722
1999-05-01 19:00:12 -04:00
Craig Burley 851fc3922b declare FTELL as intrinsic
From-SVN: r26721
1999-05-01 18:45:14 -04:00
Craig Burley 78b2090a42 test more libU77 routines and interfaces
From-SVN: r26720
1999-05-01 18:36:32 -04:00
Craig Burley f9f2ac3f2c do warn, do not crash, on FSTAT gid disagreements
From-SVN: r26719
1999-05-01 18:34:44 -04:00
Craig Burley 92e38ab5f3 allow slop in sum-checking
From-SVN: r26718
1999-05-01 18:32:23 -04:00
Craig Burley 0bfc6dd22f clean up both u77-test.f versions
From-SVN: r26717
1999-05-01 18:29:28 -04:00
Mark Mitchell 91f2aa2287 decl.c (wrapup_globals_for_namespace): Fix thinko in previous change.
* decl.c (wrapup_globals_for_namespace): Fix thinko in previous
	change.

From-SVN: r26716
1999-05-01 08:38:50 +00:00
Jeff Law 16b78900fe Daily bump.
From-SVN: r26715
1999-04-30 18:45:02 -06:00
Zack Weinberg b4c92efcde Makefile.in: Remove -v from bison command lines.
1999-04-30 20:54 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
	* Makefile.in: Remove -v from bison command lines.

From-SVN: r26714
1999-04-30 17:57:22 +00:00
Mark Mitchell 0352cfc868 class.c (build_vtable): Use build_lang_decl when building vtables, not just build_decl.
* class.c (build_vtable): Use build_lang_decl when building
	vtables, not just build_decl.
	(prepare_fresh_vtable): Likewise.
	* decl.c (wrapup_globals_for_namespace): Mark vtables as
	DECL_EXTERNAL when calling wrapup_global_declarations.
	* decl2.c (priority_info_s): Add initializations_p and
	destructions_p members.
	(finish_vtable_vardecl): Use TREE_SYMBOL_REFERENCED, not TREE_USED,
	when deciding what vtables to write out.
	(ssdf_decls): New variable.
	(ssdf_decls_used): Likewise.
	(start_static_storage_duration_function): Deal with being called
	multiple times.  Avoid inlining this function.
	(generate_inits_for_priority): Deal with reuse of priority map.
	(get_priority_info): Clear initializations_p and destructions_p.
	(do_static_initialization): Tweak comment.
	(do_static_destruction): Likewise.  Fix condition on sentries for
	destruction.
	(generate_ctor_or_dtor_function): Call all of the static storage
	duration functions.
	(generate_ctor_or_dtor_function_for_priority): Check
	initializations_p and destructions_p to see what priorities need
	initialization functions.
	(finish_file): Rework to generate multiple static storage duration
	functions, rather than just one.

From-SVN: r26713
1999-04-30 16:14:58 +00:00
Mark Mitchell 3fd91cbd4f typeck.c (build_const_cast): Tweak last change to handle templates correctly.
* typeck.c (build_const_cast): Tweak last change to handle
	templates correctly.

From-SVN: r26712
1999-04-30 16:07:03 +00:00
Tom Tromey b694131f21 * linux_threads.c: Don't reference __pthread_initial_thread_bos.
From-SVN: r26711
1999-04-30 16:00:28 +00:00
Richard Henderson 2c4974b72a va-ppc.h (__va_start_common): Let __builtin_saveregs do the work.
* va-ppc.h (__va_start_common): Let __builtin_saveregs do the work.
        * rs6000.c (expand_builtin_saveregs): For V4, initialize a private
        va_list struct, and return a pointer to it.
        (setup_incoming_varargs): V4 save area based off virtual_stack_vars
        instead of frame_pointer.

From-SVN: r26710
1999-04-30 08:06:23 -07:00
Tom Tromey d8f8e9ba17 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (jv_convert_LDADD): Added -lgcc.

From-SVN: r26709
1999-04-30 13:12:06 +00:00
Mark Mitchell b2ef49c88b typeck.c (build_const_cast): Disallow use of const_cast to anything but a pointer or reference type.
* typeck.c (build_const_cast): Disallow use of const_cast to
	anything but a pointer or reference type.

From-SVN: r26708
1999-04-30 12:17:10 +00:00
Tom Tromey a0e894a8cc StringBuffer.java (ensureCapacity): Don't resize vector when shared.
* java/lang/StringBuffer.java (ensureCapacity): Don't resize
	vector when shared.
	* java/util/Locale.java (Locale(String,String)): Implement in
	terms of 3-argument version; variant now defaults to empty
	string.
	(toString): Assume variant is not null.
	(equals): Assume all strings are not null.
	(Locale): Throw NullPointerException if any argument is null.
	* java/util/ResourceBundle.java (getBundle): Don't try the base
	name; now implicit in partialGetBundle call.
	(trySomeGetBundle): Search for parent bundles and call setParent
	as required.
	(partialGetBundle): Added `langStop' argument.  Use
	`Locale.toString' to compute bundleName.
	(resource_cache): New static field.
	(partialGetBundle): Cache the returned resource bundle.  Now
	synchronized.
	* gnu/gcj/text/LocaleData_en.java (contents): [collatorRule] Added
	missing `<'.
	* mauve-libgcj: Enable Collator and RuleBasedCollator.
	* java/text/natCollator.cc (decomposeCharacter): `base' now
	`const'.
	* Makefile.in: Rebuilt.
	* Makefile.am (ordinary_java_source_files): Added
	CollationElementIterator, CollationKey, Collator,
	RuleBasedCollator.
	(nat_source_files): Added natCollator.cc.
	* java/text/RuleBasedCollator.java (ceiNext): No longer static.
	(compare): Pass `this' to CollationElementIterator constructor.
	(getCollationElementIterator): Likewise.
	(ceiNext): Fix off-by-one error when finding initial substring.
	(next): Correctly mask off bits when computing return value.
	Fixed return values when one string is shorter than the other.
	* java/text/CollationElementIterator.java (collator): New field.
	(CollationElementIterator): Added collator argument.
	(next): Call ceiNext on collator object.

From-SVN: r26707
1999-04-30 09:31:00 +00:00
Nathan Sidwell 1c609c4cbe decl.c (cp_finish_decl): Don't permit arrays of abstract or signature type.
* decl.c (cp_finish_decl): Don't permit arrays of abstract or
	signature type.

From-SVN: r26706
1999-04-30 02:19:00 +00:00
Jeff Law 0c42bebfad Daily bump.
From-SVN: r26705
1999-04-29 18:45:03 -06:00
Mark Mitchell 5c7a310f81 emit-rtl.c (start_sequence): Expand comments.
* emit-rtl.c (start_sequence): Expand comments.
	(start_sequence_for_rtl_expr): Likewise.
	(push_to_sequence): Likewise.
	(end_sequence): Likewise.
	* expr.c (inhibit_defer_pop): Likewise.
	* expr.h (inhibit_defer_pop): Likewise.
	(NO_DEFER_POP): Likewise.
	(OK_DEFER_POP): Likewise.

From-SVN: r26704
1999-04-29 23:01:29 +00:00
Mark Mitchell 1a6580ec80 decl2.c (do_static_destruction): Remove obsolete FIXME comment.
* decl2.c (do_static_destruction): Remove obsolete FIXME comment.
	(finish_file): Indent comments properly.

From-SVN: r26703
1999-04-29 22:39:31 +00:00
Robert Lipe 4431070510 configure.in (i?86-UnixWare7*-sysv): Set thread_file to 'posix' --enable-threads[={yes,pthreads,posix}] is passed as...
* configure.in (i?86-UnixWare7*-sysv): Set thread_file to 'posix'
        --enable-threads[={yes,pthreads,posix}] is passed as a command
        line parameter to configure.
        * config/i386/sysv5.h (LIB_SPEC): Add support for '-pthread'.
        (CPP_SPEC): Likewise.

From-SVN: r26702
1999-04-29 20:20:15 +00:00
Robert Lipe 01e3900529 configure.in (i?86-UnixWare7*-sysv): Set thread_file to 'posix' --enable-threads[={yes,pthreads,posix}] is passed as...
Thu Apr 29 22:13:46 1999  Robert Lipe  <robertlipe@usa.net>
	* configure.in (i?86-UnixWare7*-sysv): Set thread_file to 'posix'
	--enable-threads[={yes,pthreads,posix}] is passed as a command
	line parameter to configure.
	* config/i386/sysv5.h (LIB_SPEC): Add support for '-pthread'.
	(CPP_SPEC): Likewise.

From-SVN: r26701
1999-04-29 20:19:35 +00:00
Richard Henderson b94c0f4fea decl2.c (do_static_initialization): Call do_pending_stack_adjust.
* decl2.c (do_static_initialization): Call do_pending_stack_adjust.
        (do_static_destruction): Likewise.

From-SVN: r26700
1999-04-29 10:43:16 -07:00
Richard Henderson 7cae975e66 emit-rtl.c (operand_subword): Religiously mask and sign-extend from 32-bits to HOST_WIDE_INT.
* emit-rtl.c (operand_subword): Religiously mask and sign-extend
        from 32-bits to HOST_WIDE_INT.

From-SVN: r26699
1999-04-29 10:24:37 -07:00
Bruce Korb b56a20f600 new regex header name
From-SVN: r26698
1999-04-29 15:39:07 +00:00
Robert Lipe f7d920fd94 new regex header name
From-SVN: r26697
1999-04-29 15:38:02 +00:00
Robert Lipe 5b61e89fda regex.c, regex.h: Removed.
Thu Apr 29 15:58:52 1999  Robert Lipe  <robertlipe@usa.net>
        * fixinc/regex.c, fixinc/regex.h: Removed.   Replace with...
        * fixinc/gnu-regex.c, fixinc/gnu-regex.h: Imported from GDB 4.18.
        * fixinc/Makefile.in (OBJ, HDR): Handle name changes from above.
        (gnu-regex.o): Define REGEX_MALLOC to avoid memory leak.

From-SVN: r26696
1999-04-29 14:08:18 +00:00
Mark Mitchell 8938bb764b Fix test to correctly reflect problem
From-SVN: r26695
1999-04-29 13:41:32 +00:00
Richard Henderson 062e7fd882 calls.c (emit_call_1): Pass rounded_stack_size to emit_call instead of the unrounded size.
* calls.c (emit_call_1): Pass rounded_stack_size to emit_call
        instead of the unrounded size.

From-SVN: r26694
1999-04-29 05:54:19 -07:00
Mark Mitchell d8e8b2b997 New failing test
From-SVN: r26693
1999-04-29 09:46:12 +00:00
Nathan Sidwell 7f477e818a cp-tree.h (TYPE_NOTHROW_P): New macro.
* cp-tree.h (TYPE_NOTHROW_P): New macro.
	* decl2.c (delete_sanity): Warn on deleting void *.
	* init.c (build_new_1): Use TYPE_NOTHROW_P.
	* typeck.c (c_expand_return): cp_pedwarn on returning NULL from
	throwing operator new.

From-SVN: r26692
1999-04-29 08:33:55 +00:00
Nathan Sidwell 9939c435d2 * streambuf.h (ios::~ios): Use operator delete[] to remove _arrays.
From-SVN: r26691
1999-04-29 08:32:13 +00:00