Commit Graph

20843 Commits

Author SHA1 Message Date
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
Alexandre Oliva
76dc72a7e5 Makefile.in: Regen dependencies.
* lib/Makefile.in: Regen dependencies.
* makeinfo/Makefile.in, util/Makefile.in: Likewise.

From-SVN: r25391
1999-02-24 01:03:01 +00:00
Jeff Law
ae069bb08a Daily bump.
From-SVN: r25390
1999-02-23 17:45:02 -07:00
Tom Tromey
4e2e5821aa jvspec.c (lang_specific_driver): Recognize -fsyntax-only and disable linking in that case.
* jvspec.c (lang_specific_driver): Recognize -fsyntax-only and
	disable linking in that case.

From-SVN: r25389
1999-02-23 17:42:38 +00:00
Marc Lehmann
4873b277ca
corrected a minor typoe

From-SVN: r25388
1999-02-23 10:23:02 +00:00
Martin v. Löwis
f004c66b23 Mark failing code as XFAIL
From-SVN: r25387
1999-02-23 09:11:19 +00:00
Jason Merrill
8be64d0952 errfn.c: Change varargs code to look like toplev.c.
* errfn.c: Change varargs code to look like toplev.c.
	* method.c (process_modifiers): Don't prepend 'U' for char or
	wchar_t.

From-SVN: r25386
1999-02-22 20:44:23 -05:00
Jeff Law
bd022652bf Daily bump.
From-SVN: r25385
1999-02-22 17:45:04 -07:00
Andrew Cagney
a50f2a09ba Fix mips16 debug info problems with frame address.
* config/mips/mips.c (mips_debugger_offset): When TARGET_MIPS16 &&
 	frame_pointer_needed adjust frame size.
	(function_prologue): Don't MIPS16 .mask GPOFFSET. Already adjusted
 	in .frame pseudo-op.
	Frm Jim Wilson  <wilson@cygnus.com>:
	* mips.c (function_prologue): Adjust frame size in .frame pseudo-op
	when TARGET_MIPS16 && frame_pointer_needed.

From-SVN: r25382
1999-02-22 11:38:39 -08:00
Nick Clifton
3b7265ff89 Support ARM/Linux's armv syntax
From-SVN: r25381
1999-02-22 17:24:21 +00:00
Nick Clifton
f5a1b0d216 Apply ARM/Linux patches.
Rework cpu/architecture command line parsing.

From-SVN: r25380
1999-02-22 16:47:59 +00:00
Martin v. Löwis
956662b2f5 New test case from Nathan Sidwell.
From-SVN: r25379
1999-02-22 16:15:42 +00:00
Andrew MacLeod
89d3d44249 loop.c (libcall_other_regs): Make extern.
* loop.c (libcall_other_regs): Make extern.
	* rtl.h (find_last_value): Add parameter to prototype.
	(libcall_other_reg): Add extern declaration.
	* rtlanal.c (find_last_value): Add another parameter to allow
	a definition using a hardware register to be found as well.

From-SVN: r25378
1999-02-22 14:11:58 +00:00
Mark Mitchell
a4c6502a66 cse.c (dump_class): New function.
* cse.c (dump_class): New function.
	(invalidate_memory): Fix typo in comment.
	* function.c (temp_slot): Add an alias set field.
	(assign_stack_temp): Only reuse slots if they will have the
	same alias set as before.
	(combine_temp_slots): Don't combine if -fstrict-aliasing;
	that's unsafe.
	* rtl.c (copy_rtx): Copy all the flags (in particular,
	MEM_SCALAR_P).

From-SVN: r25372
1999-02-22 13:34:33 +00:00
Vladimir Makarov
44768aae76 Some insignificant corrections of the previous patch.
From-SVN: r25371
1999-02-22 11:43:58 +00:00
Vladimir N. Makarov
6d56756885 configure.in (i[34567]86-*-linux-gnu*, [...]): Use fixinc.x86-linux-gnu as fixincludes.
Mon Feb 22 14:13:23 1999  Vladimir N. Makarov  <vmakarov@cygnus.com>
	* configure.in (i[34567]86-*-linux-gnu*,
	i[34567]86-*-linux-gnulibc1, i[34567]86-*-linux-gnuaout*,
	i[34567]86-*-linux-gnuoldld*): Use fixinc.x86-linux-gnu as
	fixincludes.
	* configure: Rebuilt.
	* fixinc.x86-linux-gnu: New script for fixing asm-statements bug
	on x86 linux.
	* fixinc/fixinc.x86-linux-gnu: Copy of the previous one.
	* fixinc/mkfixinc.sh (i[34567]86-*-linux-gnu*,
	i[34567]86-*-linux-gnulibc1, i[34567]86-*-linux-gnuaout*,
	i[34567]86-*-linux-gnuoldld*): Use fixinc.x86-linux-gnu as
	fixincludes.

From-SVN: r25370
1999-02-22 11:32:00 +00:00