Commit Graph

21108 Commits

Author SHA1 Message Date
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
Jason Merrill
b262d64c12 typeck.c (convert_for_assignment): Allow boolean integral constant expressions to convert to null pointer.
* typeck.c (convert_for_assignment): Allow boolean integral constant
	expressions to convert to null pointer.
	* decl.c (lookup_namespace_name): Resolve namespace aliases.
	* class.c (push_nested_class): Allow namespaces.
	* decl2.c (set_decl_namespace): Add friendp parameter.
	* decl.c (grokfndecl): Pass it.
	(grokvardecl): Likewise.
	* cp-tree.h: Change declaration.

From-SVN: r25420
1999-02-24 19:11:35 -05:00
Jason Merrill
1b14496f06 * configure.in: Fix INSTALLDIR sed pattern for Solaris sed.
From-SVN: r25419
1999-02-24 18:50:35 -05:00
Jim Wilson
82a298a97d Fix cross compiler build failure in dbxout.c.
* dbxout.c (gstab.h): Use if CROSS_COMPILE.

From-SVN: r25417
1999-02-24 13:00:04 -08:00
Jeffrey A Law
d7cdf1138e calls.c (initialize_argument_information): New function extracted from expand_call.
* calls.c (initialize_argument_information): New function extracted
        from expand_call.
        (expand_call): Use initialize_argument_information.  Remove variables
        which are no longer used due to cleanups.

From-SVN: r25416
1999-02-24 12:06:17 -07:00
Craig Burley
c55310ab51 finish applying earlier patch from Dave Love
From-SVN: r25415
1999-02-24 14:03:02 -05:00
Craig Burley
bc0a89ecec changelog entries keep people happy
From-SVN: r25414
1999-02-24 13:54:55 -05:00
Craig Burley
d5c8e60678 move test to its proper home, given current g77
From-SVN: r25413
1999-02-24 13:48:17 -05:00
Jim Wilson
5a904a61b0 Fix dwarf2 debug error found by gdb testsuite: add big-endian correction.
* dwarf2out.c (add_location_or_const_value_attribute):  Add big
	endian correction for parms passed in regs but living on the stack.

From-SVN: r25412
1999-02-24 09:48:42 -08:00
Jeffrey A Law
599f37b6d3 calls.c (compute_argument_block_size): New function, extracted from expand_calls.
* calls.c (compute_argument_block_size): New function, extracted from
        expand_calls.
        (expand_calls): Use compute_argument_block_size.  Delete
        original_args_size, use unadjusted_args_size instead.

From-SVN: r25411
1999-02-24 10:42:40 -07:00
Joern Rennecke
db35306d6f Typo fix in comment.
From-SVN: r25410
1999-02-24 16:54:38 +00:00
Jeffrey A Law
cc0b1adcce calls.c (precompute_arguments): New function, extracted from expand_call.
* calls.c (precompute_arguments): New function, extracted from
        expand_call.
        (expand_call): Use precompute_arguments.

From-SVN: r25409
1999-02-24 09:29:36 -07:00
Nick Clifton
1de558ee81 Fix typo in arm recognition string
From-SVN: r25408
1999-02-24 16:23:58 +00:00
Jeffrey A Law
0f9b3ea686 calls.c (finalize_must_preallocate): New function, extracted from expand_call.
* calls.c (finalize_must_preallocate): New function, extracted from
        expand_call.
        (expand_call): Use finalize_must_preallocate.
        * calls.c (store_one_arg): Mark "variable_size" as possibly unused.

From-SVN: r25407
1999-02-24 08:07:38 -07:00
Nick Clifton
518ee01e75 Add -O3 to TORTURE_OPTIONS list.
From-SVN: r25406
1999-02-24 14:12:44 +00:00
Tom Tromey
bdb59aec77 gjavah.c (struct namelet): New structure.
* gjavah.c (struct namelet): New structure.
	(add_namelet): New function.
	(print_namelet): New function.
	(print_class_decls): Use add_namelet and print_namelet to generate
	namespaces and not classes.
	(method_printed): New global.
	(HANDLE_END_METHOD): Examine method_printed.
	(print_method_info): Set method_printed when required.  Print
	error if function to be ignored is marked virtual.  Handle $finit$
	method.
	(METHOD_IS_FINAL): New macro.
	(print_field_info): Use it.
	(HANDLE_METHOD): Clear method_printed.
	(method_pass): New global.
	(HANDLE_END_FIELD): Call add_class_decl on the first pass.
	(process_file): Do two passes over both fields and methods.
	(HANDLE_METHOD): Examine method_pass.
	(root): New global.
	(add_class_decl): New function.
	(print_class_decls): Don't scan over entire constant pool.

From-SVN: r25403
1999-02-24 13:47:39 +00:00
Jeffrey A Law
46f40127a2 regclass.c (record_reg_classes, case 'p'): Set classes appropriately.
* regclass.c (record_reg_classes, case 'p'): Set classes appropriately.
        An alternative always fails if it needs a pseudo and no suitable
        register class can be found.
Bootstrapped on solaris.

From-SVN: r25402
1999-02-24 06:17:04 -07:00
J"orn Rennecke
c99f8c2a3e loop.h (loop_insn_first_p): Declare.
* loop.h (loop_insn_first_p): Declare.
	* loop.c (loop_insn_first_p): No longer static.
	* unroll.c (iteration_info) Fix comparison to
	reg_iv_type->num_elements.
	Before accessing reg_biv_class, check index against
	max_reg_before_loop.
	Fix and enable code for giv iterators.
	(loop_iterations): Compare with reg_iv_type->num_elements instead
	of with max_reg_before_loop.

From-SVN: r25401
1999-02-24 11:50:54 +00:00
Jason Merrill
ddce352881 * pt.c (tsubst): Allow an array of explicit size zero.
From-SVN: r25400
1999-02-24 06:46:56 -05:00
J"orn Rennecke
69688f1ed7 * unroll.c (unroll_loop): Avoid out-of-bounds index for local_regno.
From-SVN: r25399
1999-02-24 11:18:59 +00:00
Zack Weinberg
d2ae3ff54e New testcase for cpp, written by Kaveh Ghazi <ghazi@caip.rutgers.edu>
From-SVN: r25398
1999-02-24 11:09:08 +00:00
Vladimir N. Makarov
c7b2eb810e sparc.h (CONDITIONAL_REGISTER_USAGE): Don't use PIC_OFFSET_TABLE_REGNUM for register allocation when -fPIC.
Wed Feb 24 11:26:41 1999  Vladimir N. Makarov  <vmakarov@cygnus.com>
	* config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Don't use
 	PIC_OFFSET_TABLE_REGNUM for register allocation when -fPIC.

From-SVN: r25397
1999-02-24 08:33:57 +00:00
Craig Burley
7a48ce6d73 update lib[FIU]77/configure from autoconf 2.13
From-SVN: r25396
1999-02-24 03:15:19 -05:00
Craig Burley
2f5962c056 fix up entries
From-SVN: r25395
1999-02-24 03:13:43 -05:00