Commit Graph

21031 Commits

Author SHA1 Message Date
Jeff Law
4b3528d1ce Daily bump.
From-SVN: r25492
1999-02-27 17:45:03 -07:00
Jason Merrill
4cfa922359 update
From-SVN: r25491
1999-02-27 19:22:44 -05:00
Jerry Quinn
2faa455b71 pa.h (REG_ALLOC_ORDER): Change order to allocate left half of float regs before right half of float regs.
* pa.h (REG_ALLOC_ORDER): Change order to allocate left half of
        float regs before right half of float regs.

Co-Authored-By: Mike Stump <mrs@wrs.com>

From-SVN: r25488
1999-02-27 15:23:31 -07:00
H.J. Lu
8f08ea1e47 frame.h: Update some comments.
* frame.h: Update some comments.
        * defaults.h (TARGET_ATTRIBUTE_WEAK): Define.
        * crtstuff.c (__register_frame_info, __deregister_frame_info): Declare
        using TARGET_WEAK_ATTRIBUTE.
        (__do_global_dtors_aux): Check if __deregister_frame_info is
        zero before calling it.
        (__do_global_dtors): Likewise.
        (frame_dummy): Check if __register_frame_info is zero before
        calling it.
        (__frame_dummy): Likewise.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>

From-SVN: r25487
1999-02-27 15:21:58 -07:00
Jeffrey A Law
b78abfe951 * SERVICE: Update from the FSF.
From-SVN: r25481
1999-02-27 11:19:40 -07:00
Arturo Montes
42902a7288 conifgure: regenerate
conifgure: regenerate
        * config/i386/t-sco5 (crti.o): New target.
        * config/i386/sco5.h (STARTFILE_SPEC): Include crti.o when
        linking -shared.
        * configure.in (i[34567]86-*-sco3.2v5*): Add crti.o.

From-SVN: r25480
1999-02-27 12:48:26 +00:00
Zack Weinberg
7126c249f2 g++.exp: Don't add incdir=$base_dir/../include to ALWAYS_CXXFLAGS.
1999-02-27 13:34 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
	* lib/g++.exp: Don't add incdir=$base_dir/../include to
        ALWAYS_CXXFLAGS.

From-SVN: r25479
1999-02-27 10:37:09 +00:00
Jeff Law
8d64952899 Daily bump.
From-SVN: r25478
1999-02-26 17:45:05 -07:00
Jeff Law
0b433de68e [multiple changes]
Sat Feb 27 01:12:40 1999  Jeffrey A Law  (law@cygnus.com)
        * md.texi (prologue,epilogue): Document named patterns.
Fri Feb 26 19:31:25 1999  Dave Love  <fx@gnu.org>
        * md.texi, invoke.texi: Fix unterminated @xrefs.

From-SVN: r25477
1999-02-26 17:16:01 -07:00
Nathan Sidwell
6654316990 typeck.c (complete_type_or_else): Add VALUE arg, for helpful diagnostics.
* typeck.c (complete_type_or_else): Add VALUE arg, for helpful
	diagnostics.
	cp-tree.h (complete_type_or_else): Added VALUE parameter.
	* init.c (build_new_1): Extra arg to complete_type_or_else.
	(build_delete): Likewise.
	* typeck.c (require_complete_type): Likewise.
	(pointer_int_sum): Likewise.
	(pointer_diff): Likewise.
	(build_component_ref): Likewise.
	* typeck2.c (incomplete_type_error): Always use cp_error.
	Show declaration of undefined type, if appropriate.
	Deal with UNKNOWN_TYPE nodes.
	* typeck.c (require_complete_type): Use TYPE_SIZE as
	size_zero_node to mean incomplete type.
	(require_complete_type_in_void): New function.
	(build_compound_expr): Call complete_type_in_void for LHS.
	(build_c_cast): Call complete_type_in_void for void cast.
	* cvt.c (ocp_convert): Call complete_type_in_void for void cast.
	* decl.c (cplus_expand_expr_stmt): Void expression checks moved to
	require_complete_type_in_void. Call it.
	* cp-tree.h (require_complete_type_in_void): Prototype new function.
	* typeck.c (convert_arguments): Use alternative format for function
	decls. Don't require_complete_type here. Simplify diagnostic printing.
	(convert_for_initialization): Don't require_complete_type on RHS yet.
	* call.c (convert_arg_to_ellipsis): Call require_complete_type.
	* call.c (build_over_call): Cope with qualified void return type.
	* semantics.c (finish_call_expr): Likewise
	* typeck.c (build_function_call_real): Likewise
	(c_expand_return): Likewise
	* decl2.c (reparse_absdcl_as_expr): Cope with qualified void type.
	* call.c (print_z_candidates): Use alternate print format, to be
	consistant with (pt.c) print_candidates.
	method.c (hack_identifier): List candidate members.
	search.c (lookup_field): Build ambiguous list, and show it, if
	ambiguous.

From-SVN: r25474
1999-02-26 18:37:04 -05:00
Richard Henderson
99f25d8ea8 * genextract.c (main): Clear recog_operands before extracting.
From-SVN: r25473
1999-02-26 08:00:08 -08:00
Richard Henderson
6166aa0143 genattrtab.c (simplify_knowing): Fix uninitialized read in Feb 21 change.
* genattrtab.c (simplify_knowing): Fix uninitialized read
        in Feb 21 change.

From-SVN: r25472
1999-02-26 07:35:21 -08:00
Per Bothner
afe81dd650 check-init.c (check_init): COPYN takes word count, not bit count.
0
	*  check-init.c (check_init):  COPYN takes word count, not bit count.

From-SVN: r25471
1999-02-26 06:50:21 -08:00
Per Bothner
5721db78f1 check-init.c (check_init): COPYN takes word count, not bit count.
�
	*  check-init.c (check_init):  COPYN takes word count, not bit count.

From-SVN: r25470
1999-02-26 06:50:20 -08:00
Per Bothner
2d9e5c79ff typeck.c (convert_ieee_real_to_integer): Use save_expr instead of explicit build_decl.
�
	* typeck.c (convert_ieee_real_to_integer):  Use save_expr instead of
	explicit build_decl.  (Avoids crash in reload when optimizing.)
	* decl.c (complete_start_java_method):  Handle synchronized method
	even when compiling from bytecode.

From-SVN: r25469
1999-02-26 06:43:30 -08:00
Per Bothner
37a08adb75 typeck.c (convert_ieee_real_to_integer): Use save_expr instead of explicit build_decl.
�
	* typeck.c (convert_ieee_real_to_integer):  Use save_expr instead of
	explicit build_decl.  (Avoids crash in reload when optimizing.)
	* decl.c (complete_start_java_method):  Handle synchronized method
	even when compiling from bytecode.

From-SVN: r25468
1999-02-26 06:43:29 -08:00
Tom Tromey
686fb23678 gjavah.c (add_class_decl): Only generate `#include' if outer class is not the name of the class we are...
* gjavah.c (add_class_decl): Only generate `#include' if outer
	class is not the name of the class we are processing.  Correctly
	append `.h' in #include.
	(process_file): Clean up newlines around generated `#include's.
	(decode_signature_piece): Correctly handle inner classes.
	(struct include): New structure.
	(all_includes): New global.
	(print_include): New function.
	(add_class_decl): Use it.
	(process_file): Likewise.
	(add_class_decl): Generate include for java-array.h if array
	seen.
	(process_file): Don't generate java-array.h include.

From-SVN: r25460
1999-02-26 12:49:52 +00:00
Mark Mitchell
5f56af5a8d typeck.c (decay_conversion): Don't confuse constant array variables with their intiailizers.
* typeck.c (decay_conversion): Don't confuse constant array
	variables with their intiailizers.

From-SVN: r25459
1999-02-26 12:15:37 +00:00
Mark Mitchell
2b0a63a35b decl.c (duplicate_decls): Copy DECL_TEMPLATE_INSTANTIATED when merging decls.
* decl.c (duplicate_decls): Copy DECL_TEMPLATE_INSTANTIATED when
	merging decls.
	* pt.c (regenerate_decl_from_template): Tweak for clarity.
	(instantiate_decl): Mark a decl instantiated before regenerating
	it to avoid recursion.
	* tree.c (mapcar): Don't call decl_constant_value unless we know
	something is TREE_READONLY_DECL_P.

From-SVN: r25458
1999-02-26 12:11:43 +00:00
Mark Mitchell
ed70c42623 class.c (check_for_override): Don't stop checking when we find the first overridden function.
* class.c (check_for_override): Don't stop checking when we find
	the first overridden function.  Delete #if 0'd code.
	* search.c (get_matching_virtual): Likewise.

From-SVN: r25457
1999-02-26 12:00:10 +00:00
Tom Tromey
f3d50f4227 gjavah.c (add_namelet): Check for standard package names here.
* gjavah.c (add_namelet): Check for standard package names here.
	(add_class_decl): Don't check for standard package names here.

From-SVN: r25456
1999-02-26 11:33:53 +00:00
Zack Weinberg
7c11f9d50f Don't shift signed positive integers into the sign bit
From-SVN: r25455
1999-02-26 06:00:48 +00:00
Jeffrey A Law
0e9264a2d4 * c-pragma.c (add_weak); Delete. Moved into...
* varasm.c (add_weak): New external function.
        (declare_weak): If HANDLE_PRAGMA_WEAK, then add the function to
        the list of weak functions.
        * c-pragma (add_weak): Declare.

From-SVN: r25454
1999-02-25 18:29:21 -07:00
Jeff Law
cdf62c5474 Daily bump.
From-SVN: r25451
1999-02-25 17:45:04 -07:00
Richard Henderson
e881bb1b1b Flow rewrite to use basic block structures and edge lists.
From-SVN: r25450
1999-02-25 15:45:42 -08:00
Jason Merrill
001e880a26 fixinc.wrap: Also handle struct queue in sys/stream.h.
* fixinc.wrap: Also handle struct queue in sys/stream.h.
	* fixinc.svr4: Likewise.

From-SVN: r25449
1999-02-25 16:35:57 -05:00
Jason Merrill
6646d96c23 dwarf2out.c (scope_die_for): Set scope_die to comp_unit_die rather than asserting it.
* dwarf2out.c (scope_die_for): Set scope_die to comp_unit_die
	rather than asserting it.

From-SVN: r25448
1999-02-25 16:26:06 -05:00
Kaveh R. Ghazi
ca261cb478 cppexp.c (left_shift, [...]): Replace uses of long/HOST_BITS_PER_LONG with...
* cppexp.c (left_shift, right_shift, parse_charconst, COMPARE,
        cpp_parse_expr): Replace uses of long/HOST_BITS_PER_LONG with
        HOST_WIDEST_INT/HOST_BITS_PER_WIDEST_INT.

From-SVN: r25447
1999-02-25 20:48:42 +00:00
Kaveh R. Ghazi
e915b770d9 Makefile.in (cppmain.o, [...]): Don't depend on machmode.h.
* Makefile.in (cppmain.o, cpplib.o, cpphash.o, cppalloc.o,
        cpperror.o, cppexp.o, cppfiles.o, cppinit.o, fix-header.o,
        scan-decls.o): Don't depend on machmode.h.
        * cppexp.c: Don't define CHAR_BIT or HOST_BITS_PER_WIDE_INT anymore.
        Replace all instances of HOST_WIDE_INT with HOST_WIDEST_INT.
        * cppfiles.c: Likewise.
        * cpplib.c: Likewise.
        * cpplib.h: Likewise.  Also don't include machmode.h anymore.

From-SVN: r25446
1999-02-25 20:40:21 +00:00
Richard Henderson
056cd57251 gcc.c (default_compilers): Define __FAST_MATH__ when appropriate.
* gcc.c (default_compilers): Define __FAST_MATH__ when appropriate.
        * cp/lang-specs.h: Likewise.
        * f/lang-specs.h: Likewise.
        * objc/lang-specs.h: Likewise.

From-SVN: r25445
1999-02-25 10:50:07 -08:00
Zack Weinberg
10c6276f7b Fix two typos
From-SVN: r25444
1999-02-25 18:06:54 +00:00
Jeffrey A Law
9b8a4e8368 * pa.md (call patterns): Lose unused argument to output_call.
From-SVN: r25443
1999-02-25 09:33:18 -07:00
Jeffrey A Law
5a25c64c25 * print-rtl.c (print_rtl): Print /j and /c for the jump/call flags.
From-SVN: r25442
1999-02-25 08:25:06 -07:00
Zack Weinberg
122ae89b14 cpphash.c (install): Rename to cpp_install, add cpp_reader* first argument.
1999-02-25 17:14 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
	* cpphash.c (install): Rename to cpp_install, add cpp_reader*
	first argument.  All callers changed.
	(hashtab): Removed.
	(cpp_lookup, cpp_install): Change all refs to hashtab to
	pfile->hashtab.
	(cpp_hash_cleanup): Removed.
	* cpphash.h: Adjust prototypes.
	* cpplib.h (struct cpp_reader): Add hashtab pointer.
	* cppinit.c (cpp_reader_init): Also allocate space for the
	hashtab.
	(cpp_cleanup): Delete all macros and free the hashtab.

From-SVN: r25441
1999-02-25 14:24:40 +00:00
J"orn Rennecke
9ab70a9bd7 sh.h (PASS_IN_REG_P): For TARGET_HITACHI, don't pass structures in registers.
* sh.h (PASS_IN_REG_P):  For TARGET_HITACHI, don't pass structures
	in registers.
	* expr.h (PRETEND_OUTGOING_VARARGS_NAMED): Provide default definition.
	* function.c (assign_parms): Honour PRETEND_OUTGOING_VARARGS_NAMED.
	* calls.c (expand_call): Likewise.
	* sh.c (sh_expand_prologue): For TARGET_HITACHI, don't push varargs /
	stdarg arguments.
	* sh.h (CPP_SPEC): Add -D__HITACHI__ for -mhitachi.
	(FUNCTION_ARG):  For TARGET_HITACHI, don't pass unnamed
	arguments in registers.
	(PRETEND_OUTGOING_VARARGS_NAMED): Define.
	* va-sh.h (entire file): If __HITACHI__ is defined, use sh[123]
	flavour varargs.

From-SVN: r25440
1999-02-25 14:02:32 +00:00
Tom Tromey
345137c78a parse.y (read_import_dir): Use |=', not +=', to set `found'.
* parse.y (read_import_dir): Use `|=', not `+=', to set `found'.
	When reading a zip file, only use strncmp if both strings are
	bigger than the buffer length.  Initialize `k' when looping
	through zip file.

From-SVN: r25439
1999-02-25 12:36:03 +00:00
Kaveh R. Ghazi
a015305167 cse.c (dump_class): Revert last change and make the prototype extern.
* cse.c (dump_class): Revert last change and make the prototype
       extern.

From-SVN: r25438
1999-02-25 11:43:00 +00:00
Craig Burley
43a5dea848 Clarify/index lack of run-time allocation for concatenation
From-SVN: r25437
1999-02-25 06:32:08 -05:00
J"orn Rennecke
f38cbf0fd3 rtl.h (insn_first_p): Don't declare.
* rtl.h (insn_first_p): Don't declare.
	* rtlanal.c (insn_first_p): Delete.
	* loop.c (loop_insn_first_p): Faster implementation.

From-SVN: r25436
1999-02-25 11:16:17 +00:00
Richard Earnshaw
dfa08768aa Delete target options -m2 -m3 & -m6.
Fix pic register initialization.
Update zero-extraction patterns.

From-SVN: r25435
1999-02-25 10:57:17 +00:00
Jason Merrill
bd50553864 new
From-SVN: r25434
1999-02-25 05:49:39 -05:00
J"orn Rennecke
a7d308f7c4 stmt.c (expand_end_loop): Grok code emitted by expand_exit_loop_if_false.
* stmt.c (expand_end_loop): Grok code emitted by
	expand_exit_loop_if_false.

From-SVN: r25433
1999-02-25 10:46:06 +00:00
Nick Clifton
9f6ce99046 Fix minor typo.
From-SVN: r25432
1999-02-25 10:36:37 +00:00
Nick Clifton
6cc8c0b3b5 Tidy up previous delta
From-SVN: r25431
1999-02-25 10:20:21 +00:00
Kaveh R. Ghazi
592e5d21b1 cse.c (dump_class): Make the function definition static to match the prototype.
* cse.c (dump_class): Make the function definition static to match
       the prototype.

From-SVN: r25430
1999-02-25 09:29:10 +00:00
Andreas Jaeger
cfe84c1818 fix @xref's to have trailing commas [from Andreas Jaeger <aj@arthur.rhein-neckar.de>]
From-SVN: r25429
1999-02-25 04:04:35 -05:00
Craig Burley
ad4144a7f4 fix up ChangeLog entry confusion
From-SVN: r25428
1999-02-24 23:33:38 -05:00
Jeff Law
8260f1f2b9 Daily bump.
From-SVN: r25424
1999-02-24 17:45:02 -07:00
Martin v. Löwis
54bb5ba3d6 New test case.
From-SVN: r25423
1999-02-25 00:40:27 +00:00
Martin v. Löwis
5e8ad514bc New test cases.
From-SVN: r25422
1999-02-25 00:33:51 +00:00