ChangeLog   [plain text]

Sun Oct 24 23:54:10 PDT 1999 Jeff Law  (

	* gcc-2.95.2 Released.

Mon Oct 25 00:43:05 1999  Jeffrey A Law  (

	* loop.c (note_set_pseudo_multiple_uses_retval): New variable.
	(note_set_pseudo_multiple_uses): New function.
	(check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
	if a pseudo set in the loop exit is used elsewhere.

Wed Oct 20 10:46:41 1999  Richard Earnshaw (

	* jump.c (jump_optimize_1): More accurately detect casesi insns.

Wed Oct 20 22:57:58 1999  Jeffrey A Law  (

	* toplev.c (main): Do not turn on strict aliasing by default.
	* invoke.texi: Corresponding changes.

	* (movsf_const_intreg): If splitting, length must be > 1.
	(movdf_const_intreg_sp64): Similarly.

	* local-alloc.c (update_equiv_regs): Check the correct insn
	for pre-existing REG_EQUIV notes.

Tue Oct 19 02:03:00 1999  Jeffrey A Law  (

	Revert this change.  Gavin's patch to operand_equal_p is a better fix.
	* fold-const.c (fold_range_test): Do not try to fold the range
	test if the rhs or lhs has side effects.

	Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <>
	* fold-const.c (operand_equal_p): Pay attention to side effects.

	* reg-stack.c (stack_result): Aggregates are not returned in
	stack registers.

Mon Oct 18 01:41:35 1999  Jeffrey A Law  (

	* combine.c (get_last_value): If the last set of a register
	is after subst_low_cuid, then we can not use it to determine
	the register's last value.

Sat Oct 16 15:20:15 1999  Jeffrey A Law  (

	Sat Oct 16 00:07:01 1999  Richard Henderson  <>
	* gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
	(expr_equiv_p): Reject memories with different alias sets.

Wed Oct 13 01:46:14 1999  Jeffrey A Law  (

	Wed Oct 13 01:44:29 1999  Carol LePage  <>
	* (sparc-hal-solaris2*): Fix xm_file, xm_defines,
	float_format and thread_file definitions.
	* configure: Rebuilt.

Tue Oct 12 17:09:38 1999  David Edelsohn  <>

	* collect2.c (main): Do preliminary link on AIX if rflag.

Mon Oct 11 23:35:19 1999  Jeffrey A Law  (

	Fri Sep  3 09:14:32 1999  Marc Espie <>
	* tlink.c (scan_linker_output): Skip the initial underscore in
	a mangled name if appropriate.

	Fri Aug 27 19:19:43 CEST 1999	Marc Espie <>
	* config/openbsd.h (SET_ASM_OP): Define.

	Mon Oct  4 08:54:12 1999  Alexandre Oliva  <>
	* cppinit.c (is_idchar initializer): Loosen tests to accept
	gcc 2.>6 and >2.

	Tue Jun 29 01:37:53 1999  Jeffrey A Law  (
	* pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
	command line.

	Thu Sep  2 20:08:23 1999  J"orn Rennecke <>
	* regmove.c (fixup_match_1): Don't change an unchanging register.
	(stable_but_for_p): Renamed to:
	(stable_and_no_regs_but_for_p).  Reject unchanging registers too.
	Changed all callers.

	Tue Aug 17 22:06:11 1999  Jan Hubicka  <>
	* haifa-sched.c (insn_unit): Fix typo on out of range test.
	* sched.c (insn_unit): Likewise.

Sun Oct 10 20:58:27 1999  David Edelsohn  <>

	* (scc patterns): Disable most SImode variants if
	* rs6000.c (expand_block_move): Fix gen_movsi typos.

	Thu Oct  7 23:06:50 1999  Richard Henderson  <>
	* (fix_truncdfsi2_internal+1): Emit a clobber
	before the fctiwz insn.

	Thu Oct  7 00:36:17 1999  Diego Novillo  <>
	* config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
	make sure that HIGH instructions are copied into BASE_REGS.
Thu Sep 30 05:40:34 1999  Richard Earnshaw <>

	* c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR): 
	Correctly build argument list to constructor and destructor functions.

Wed Sep 22 17:55:31 1999  David Edelsohn  <>

	* rs6000.c (expand_block_move): DImode loads and stores require
	word-aligned displacements.  Increment address registers with
	adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.

Wed Sep 22 07:07:44 1999  Alexandre Oliva  <>

	* config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
	(ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
	* config/i386/sol2dbg.h: Removed.
	* config/i386/sol2gas.h: New file, to enable gas work-around.
	* Use i386/sol2gas.h on Solaris/x86 --with-gas.
	Don't use sol2dbg.h.
	* configure: Rebuilt.

Wed Sep 15 21:20:38 1999  Mark Mitchell  <>

	* c-typeck.c (qualify_type): Merge qualifiers from both types.

Wed Sep 15 10:07:27 1999  Scott Bambrough <>
	* config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C

Tue Sep  7 16:50:59 1999  David Edelsohn  <>

	* rs6000.h (ASM_FILE_START): Specify complete filename, including
	path, in .file directive.

Tue Sep  7 01:27:21 1999  Jeffrey A Law  (

	Thu Sep  2 00:06:43 1999  Jeffrey A Law  (
	* fold-const.c (fold_range_test): Do not try to fold the range
	test if the rhs or lhs has side effects.

	Sun Aug 29 03:27:23 1999  Scott Weikart <>
	* fix-header.c (main): Do not pass a null pointer to strcmp.

	Thu Aug 19 14:42:38 1999  Mike Stump <>
				  Mark Mitchell <>
	* c-common.c (c_get_alias_set): Fix support for pointers and

	Fri Aug 27 01:03:48 1999  Jim Kingdon  <>
	with much help from Jeffrey A Law and Richard Henderson
	* In the 6 insns which call output_fix_trunc,
	earlyclobber operands[0].

	Fri Aug 27 01:01:51 1999  Philip Blundell  <>
	* jump.c (duplicate_loop_exit_test): Call reg_scan_update after
	creating new registers.

	Fri Aug 27 15:35:24 1999  Jeffrey A Law  (
	* cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
	* pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an

	Tue Aug 31 11:51:06 1999  Jim Kingdon  <>
	* i386.c (output_strlen_unroll): Don't write xops[7]
	label if it wasn't set.

	Fri Aug 27 09:36:17 1999  Andreas Schwab  <>
	* function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
	the fact that ALIGN is measured in bits, not bytes.

	Wed Aug 25 14:00:18 1999  Jason Merrill  <>
	* c-common.c (combine_strings): Always set TREE_CONSTANT.

Wed Aug 18 01:16:43 1999  David S. Miller  <>

	* config/sparc/sparc.c (sparc_block_profiler): Fix typo in Aug 2

Mon Aug 16 01:29:24 PDT 1999 Jeff Law  (

	* gcc-2.95.1 Released.

1999-08-13  Michael Meissner  <>

	* (GCC_FOR_TARGET): Move -B./ after the tooldir -B.

Fri Aug 13 01:42:24 1999  Jeffrey A Law  (

	Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <>
        * fixincludes: Fix the return type of bsearch, char* -> void*.
        * fixinc/inclhack.def: Likewise.

Fri Aug 13 01:29:57 1999  Alexandre Oliva  <>

	* dwarfout.c (fundamental_type_code): Return FT_boolean for
	INTEGER_TYPE with precision==1, it's __java_boolean.

1999-08-11  Richard Earnshaw (

        * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
        a register that is already known to be a pointer.

1999-08-11  Bruce Korb  <>

	* fixinc/inclhack.tpl: Only install assert.h conditionally.
	* fixinc/ Regenerated.
	* fixinc/ Regenerated.

Wed Aug 11 00:34:22 1999  Joe Buck  <>

	* invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
	Fix documentation of -ansi flag to describe its C++ behavior.
	Remove bogus reference to GCC 2.9.

Tue Aug 10 22:40:36 1999  Jeffrey A Law  (

	Thu Aug  5 22:27:15 1999  J"orn Rennecke <>
	* config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
	(___mulsi3): Use '!' comment character.

Sat Aug  7 00:06:30 1999  Jeffrey A Law  (

	* gcc.texi: Update bug reporting text.

	Tue Jul 20 17:07:54 1999  Richard Henderson  <>
	* rs6000.h (struct rs6000_args): Add sysv_gregno.
	* rs6000.c (init_cumulative_args): Init sysv_gregno.
	(function_arg_boundary): Align DFmode.
	(function_arg_advance): Restructure for ABI_V4; use sysv_gregno
	to get fp reg and stack overflow correct.
	(function_arg): Likewise.
	(function_arg_pass_by_reference): True for TFmode for ABI_V4.
	(setup_incoming_varargs): Restructure for ABI_V4; use
	function_arg_advance to skip final named argument.
	(expand_builtin_saveregs): Properly unskip the last integer arg
	when doing varargs.  Adjust overflow location calculation.
	* ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
	explicitly unsigned.
	(__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
	(__VA_GP_REGSAVE): Similarly.
	(__va_longlong_p): Delete.
	(__va_arg_type_violation): New declaration.
	(va_arg): Restructure.  Flag promotion errors.  Align double.
	TFmode passed by reference.
	* (movdi_32+1): Use GEN_INT after arithmetic
	in the HOST_BITS_PER_WIDE_INT > 32 case.

1999-08-6 Herman A.J. ten Brugge <>

	* reg-stack.c (change_stack) Fixed problem with negative array index.

Fri Aug  6 20:41:08 1999  Jeffrey A Law  (

	Mon Jul 19 15:09:29 1999  David Edelsohn  <>
	* (arithmetic, logical, and shift Rc combiner patterns):
	Disable patterns performing SImode comparisons with SImode values
	if TARGET_POWERPC64 and instruction does not sign-extend or does
	not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
	differ for signed quantities.
	(indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
	(tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
	(decrement_and_branch_on_count): Add 64-bit variant.

Thu Aug  5 02:40:42 1999  Jeffrey A Law  (

	* gcc.c: Update URLs and mail addresses.
	* gcc.texi: Likewise.

Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <>

	* rs6000.c (current_file_function_operand): Return zero for
	weak functions.
	(rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
	weak symbols.
	for weak symbols.

Thu Aug  5 00:56:30 1999  Geoffrey Keating   <>

	* rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
	allocate space in the stack frame for the PIC register.

Thu Aug  5 00:20:47 1999  Jeffrey A Law  (

	* (xordi3, anddi3): These patterns are not available on
	the coldfire.

Wed Aug  4 23:39:20 1999  Mark Mitchell  <>

	* real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
	(PUT_REAL): Likewise.

Wed Aug  4 02:15:32 1999  Richard Henderson <>

	* jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.

Wed Aug  4 01:08:44 1999  Jeffrey A Law  (

        * flow.c (delete_unreachable_blocks): Do not call merge_blocks
        or tidy_fallthru_edge if the last insn in the block is not
        an unconditional jump or a simple conditional jump.

Tue Aug  3 03:51:20 1999  Jeffrey A Law  (

	* cse.c (cse_insn): Fix dumb thinko in last change.

Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <>

	* dwarf2out.c (add_location_or_const_value_attribute): Correct
	test for sizes of passed and declared parameter types.

Mon Aug  2 12:45:09 1999  Richard Henderson  <>

	* alpha.c (override_options): Don't force ALPHA_TP_PROG for ev6.

Mon Aug  2 01:34:22 1999  Jeffrey A Law  (

	* fix-header.c (main): When testing for CONTINUED, use string
	equality, not pointer equality.

Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <>

	* sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.

Sun Aug  1 22:46:42 1999  Jeffrey A Law  (

	* cse.c (cse_insn): Fix loop which deletes insns after a jump
	that has become an unconditional jump.

	* m68k.c (output_function_prologue): Fix typo in CPU32 case.
	(output_function_epilogue): Similarly.

	Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <>
        * dwarf2out.c (output_abbrev_section): Terminate with a zero.

	Thu Jul 15 15:40:09 1999  Jim Wilson  <>
	* tree.c (build_type_attribute_variant): Move current_obstack restore
	after build_qualified_type call.

	Fri Jun  4 03:20:40 1999  J"orn Rennecke <>
	* sh.c (fixup_addr_diff_vecs): Emit braf reference label.
	(braf_label_ref_operand): Delete.
	* sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
	* (casesi_jump_2): Operand1 is now the inside of a
	label_ref, and has no predicate.
	The patten has a predicate to guard against invalid substitutions.
	(dummy_jump): Delete.
	(casesi): Update use of casesi_jump_2.

Thu Jul 31 12:34:45 1999  Joe Buck  <>

	* gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
	Also update copyright.

Wed Jul 28 21:39:31 PDT 1999 Jeff Law  (

	* gcc-2.95 Released.

	* verison.c: No longer a prerelease.

Wed Jul 28 13:49:03 1999  Jeffrey A Law  (

	* README: Update.

Sun Jul 25 21:40:33 1999  Jeffrey A Law  (

	* gcc.texi: More changes related to list conversion.
	* invoke.texi: Likewise.

Sat Jul 17 23:58:24 1999  David Edelsohn  <>

	* (insv, extzv): Remove SImode dependence in named
	patterns.  Explicitly generate DImode RTL if PowerPC64 and
	operand is DImode.
	(insvdi): Reverse start and size in instruction template.

1999-07-17  Alexandre Oliva  <>
	* gcc.texi: Update e-mail addresses and URLs to
	Removed paragraph about compression of files and size limitation,
	duplicated in the FAQ.  Use gcc-patches for posting patches.
	* gcc.c (main): Updated URL with bug reporting instructions to  Removed e-mail address.
	* system.h (abort): Likewise.

1999-07-17  Kaveh R. Ghazi  <>

	* (stmp-multilib-sub): Make the files extracted
	from $(LIBGCC1) writable.

Fri Jul 16 01:39:57 1999  Jeffrey A Law  (

	* m68k.c (output_function_prologue): Fix computation of save mask
	when generating PIC code.

1999-07-12  Joseph S. Myers  <>

	* invoke.texi: Typo fixes.

Wed Jul 14 23:28:06 1999  Jeffrey A Law  (

	* emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
	handle at this time instead of silently generating incorrect code.
	(gen_imagpart): Likewise.

	* reload.c (find_reloads): Emit a USE for a pseudo register without
	a hard register if we could not create an optional reload for the

Wed Jul 14 01:57:39 1999  Richard Henderson  <>

	* regclass.c (scan_one_insn): Notice subregs that change the
	size of their operand.
	(record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.

Wed Jul 14 01:37:06 1999  Jeffrey A Law  (

	* (alpha*-*-*): Include alpha/t-ieee.
	* configure: Rebuilt.
	* alpha/t-ieee: New file.

Tue Jul 13 10:44:14 1999  Jeffrey A Law  (

	Wed Jun 16 20:29:00 1999  J"orn Rennecke <>
	* cse.c (cse_insn): Don't put hard register source into tables for
	the last insn of a libcall.

	* rs6000.c (find_addr_reg): Do not select r0 as an address

Tue Jul 13 00:46:18 1999  Philippe De Muyter  <>

	* m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.

Mon Jul 12 23:39:08 1999  Jeffrey A Law  (

	* (movsf): Do not force easy FP constants into memory.

Sun Jul 11 11:21:24 1999  Jason Merrill  <>

	* toplev.c (main): Don't complain about saying -gdwarf.

Fri Jul  9 03:51:52 1999  Jeffrey A Law  (

	* version.c: Drop "gcc-" prefix from version #.

Thu Jul  8 19:15:51 1999  Jim Wilson  <>

	* unroll.c (unroll_loops): Don't delete named CODE_LABEL or

Thu Jul  8 14:18:46 1999  Richard Henderson  <>

	* m68k.c (output_function_prologue): Add pic register to mask
	if live and flag_pic.
	(output_function_epilogue): Likewise.

Thu Jul  8 10:28:25 1999  Craig Burley  <>

	* invoke.texi (DEC Alpha Options): Put @end table at
	beginning of line, to avoid confusing texi2html.

Wed Jul  7 02:00:04 1999  Franz Sirl  <>

	* reload1.c (gen_reload): When synthesizing a 3 operand add 
	sequence, improve test for when to reload OP1 into the reload
	register instead of OP0.

Wed Jul  7 01:38:03 1999  Jim Wilson  <>

	* unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.

1999-07-07  Manfred Hollstein  <>

	* m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
	string literal.

Wed Jul  7 01:16:43 1999  Richard Henderson  <>

	* ginclude/varargs.h (__builtin_va_alist_t): New typedef.
	(va_dcl): Use __builtin_va_alist_t.

Wed Jul  7 01:13:31 1999  Jason Merrill  <>

	* dwarf2out.c (gen_struct_or_union_type_die): Only remember types
	on the permanent_obstack.
	* dwarfout.c (output_type): Likewise.

Fri Jul  2 03:05:13 1999  Jeffrey A Law  (

	* dwarfout.c (field_byte_offset): Correctly compute the object's
	byte offset for the first bit of a field which crosses an alignment
	boundary on a !BYTES_BIG_ENDIAN target.

Fri Jul  2 01:36:36 1999  Robert Lipe  <>

	* fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and

Fri Jul  2 00:46:47 1999  Richard Henderson  <>
			  Jeff Law <>

	* ginclude/varargs.h (va_dcl): Use word_mode for type of

	* except.c: Include intl.h.
	(expand_eh_return): Set current_function_cannot_inline.
	(save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
	* function.h (struct function): Add eh_return_stub_label.
	* flow.c (delete_unreachable_blocks): Don't merge across EH edges.
	* (except.o): Depend on intl.h.

Fri Jul  2 00:04:23 1999  David Edelsohn  <>

	* (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
	same as offsettable in cases 1 and 2.

1999-07-01  Mark Kettenis  <>

	* config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
	-fPIC or -fpic is specified.

Wed Jun 30 23:56:01 1999  Jeffrey A Law  (

	* expr.c (emit_block_move): Use copy_to_mode_reg for

Tue Jun 29 01:37:53 1999  Jeffrey A Law  (

	* (leasi, leadi): New patterns.

	* expr.c (emit_block_move): Properly handle case where one of the
	block move arguments has a queued increment or decrement.
	(clear_storage): Similarly.  Fix formatting goof.

Mon Jun 28 05:32:09 1999  Jeffrey A Law  (

	case.  Also make the PIC register call_used.

        * m68k.h (FINALIZE_PIC): Delete.
        * m68k.c (finalize_pic): Delete.

	* m68k.h (CONDITIONAL_REGISTER_USAGE): Make the PIC register fixed
	when -fpic/-fPIC.

Mon Jun 28 05:16:35 1999  Richard Henderson  <>

	* m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
	to memory.

Mon Jun 28 04:07:27 1999  David Edelsohn  <>

	* rs6000.c (output_toc): Always use hex values for floating-point
	constants.  Store single-precision values in upper-half of TOC
	entry in 64-bit mode.
	* (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
	to final constraints.
	(fix_truncdfsi2 splitter): Change pattern matching fctiwz.
	(fctiwz): Improve accuracy of RTL for pattern.

	* rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.

	* expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.

Fri Jun 25 06:06:37 1999  Richard Henderson  <>

	such that MASK_SUPPORT_ARCH is not negative.

Fri Jun 25 05:35:44 1999  Jeffrey A Law  (

	* loop.c (verify_dominator): Properly handle ADDR_VEC and
	ADDR_DIFF_VEC insns that appear inside loops.

Thu Jun 24 22:54:05 1999  David Edelsohn  <>
                          Jeff Law <>

	* (movdf_hardfloat32): Revert previous patch.
	Handle LO_SUM the same as offsettable in cases 1 and 2.
	* rs6000.c (find_addr_reg): Revert previous patch.

Thu Jun 24 22:43:12 1999  Philippe De Muyter  <>

	* system.h (strstr): New external function declaration.
	* acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
	* (GCC_NEED_DECLARATIONS): Check for strstr.
	*, configure: Rebuilt.

1999-06-24  Tom Tromey  <>

	* gcc.c (main): Read user-specified specs files after computing
	additional startfile_prefixes.

1999-06-24  Bruce Korb <>

	*fixinc/inclhack.def(end_else_label): combined else_label
	and endif_label and fixed the sed expression.
	*fixinc/{fixincl.x|}: regen

Tue Jun 22 01:58:18 1999  Jeffrey A Law  (

	* (movdf_hardfloat32): Use %X instead of always emitting
	'x' when handling non-offsettable addresses

Tue Jun 22 00:20:05 1999  Richard Earnshaw (

	* final.c (shorten_branches): Don't try to split an insn that has
	been deleted.

Mon Jun 21 23:32:17 1999  Jeffrey A Law  (

	Thu Jun 17 15:07 1999  Bruce Korb <>
	* fixincludes: ISCNTL patch

Mon Jun 21 22:15:50 1999  Jeffrey A Law  (

	* rs6000.c (find_addr_reg): Handle LO_SUM addresses.

Mon Jun 21 22:14:05 1999  David Edelsohn  <>

	* (movdf_hardfloat32): Fix typo.

Mon Jun 21 20:10:42 1999  Richard Henderson  <>

	* collect2.c (main): Log frame table count.
	(GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
	(scan_prog_file) [COFF]: Handle frame tables.

	* alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
	* alpha/elf.h: Undef them again.
	* alpha/vms.h: Remove their definitions.

1999-06-21  Jakub Jelinek  <>

	* real.c (ereal_from_double): Fix for 64-bit big endian hosts.
	* emit-rtl.c (gen_lowpart_common): Add case for hosts where double
	fits in HOST_WIDE_INT and one uses union to access a long constant
	as double.

Mon Jun 21 17:18:25 1999  Richard Henderson  <>

	* sparc.c (sparc_override_options): Don't allow profiling for
	code models other than medlow.
	(sparc_function_profiler): New function from old FUNCTION_PROFILER
	(sparc_function_block_profiler): Likewise.  Use user_label_prefix.
	(sparc_block_profiler): Likewise.
	(sparc_function_block_profiler_exit): Likewise.
	* sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
	(BLOCK_PROFILER): Likewise.
	* sparc/pbd.h (FUNCTION_PROFILER): Delete.
	* sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
	* sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.

Mon Jun 21 06:22:21 1999  Mark Elbrecht <>

	* i386/djgpp.h (LIB_SPEC): New.

	* i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.

Mon Jun 21 06:19:33 1999  Philippe De Muyter  <>

	* fixinc/ (gnu-regex.o): Do not define STDC_HEADERS in
	compiler flags.

	* system.h (WSTOPSIG): New macro.

Mon Jun 21 05:33:15 1999  Mumit Khan  <>

	* c-pragma.c (push_alignment): Don't ignore alignments greater than
	4 bytes.
	(insert_pack_attributes): Take into account member natural 

	* i386/winnt.c (exports_head): New static variable.
	(i386_pe_record_exported_symbol): New function.
	(i386_pe_asm_file_end): Use.
	* i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
	symbols to be emitted at end of assembly.

	* i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and

Mon Jun 21 05:17:00 1999  David Edelsohn  <>

	* (movdf_hardfloat32): Use worst case insn length
	attributes for cases 1 and 2.

	* rs6000.c (find_addr_reg): New function.
	* rs6000.h (find_addr_reg): Declare.
	(offsettable_addr_operand): Delete.
	* (movdf_hardfloat32): Handle non-offsettable loads
	from and stores to GPRs.

Mon Jun 21 04:44:31 1999  Jeffrey A Law  (

	* sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
	in last change.

Sun Jun 20 17:24:35 1999  Richard Henderson  <>

	* haifa-sched.c (sched_analyze): Don't clear reg_last_uses on calls.

Sat Jun 19 22:52:55 1999  Richard Henderson  <>

	* haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
	instead of set.

Sat Jun 19 05:40:07 1999  Philip Blundell <>

	* arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.

Sat Jun 19 05:25:05 1999  Richard Earnshaw (

	* arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
	PIC_OFFSET_TABLE_REGNUM for general alloaction.
	(INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
	must be stacked if it is used for PIC accesses.
	* arm.c (use_return_insn): Handle PIC register specially.
	(output_return_instruction): Likewise.
	(output_func_{prologue,epilogue}): Likewise.
	(output_expand_prologue): Likewise.

	* arm.c (arm_override_options): Remove warning about PIC code
	not being supported.

Fri Jun 18 15:44:18 1999  Richard Henderson  <>

	* alpha.c (alpha_expand_block_move): Use get_insns rather than
	gen_sequence as argument to emit_no_conflict_block.

Fri Jun 18 06:48:30 1999  Kaveh R. Ghazi  <>

	* fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of _*ISCTRL().
	* fixinc/{fixincl.x,}: regen

Thu Jun 17 13:28:30 1999  David O'Brien <>

	* i386/freebsd-elf.h (LINK_SPEC): Fix typo.

	* i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
	the reference to `mcount' was not correct for the ELF on FreeBSD.

Thu Jun 17 02:54:30 1999  Jeffrey A Law  (

	* invoke.texi (ia32 options): Fix typo.

	* emit-rtl.c (operand_subword): Tighten checks for when it is safe
	to safe to extract a subword out of a REG.

Wed Jun 16 10:33:02 1999  Jason Merrill  <>

	* dwarfout.c (add_incomplete_type): New fn.
	(output_type): Call it.
	(retry_incomplete_types): New fn.
	(dwarfout_finish): Call it.

	From Eric Raskin <>:
	(output_type): Output types for bases.

Tue Jun 15 01:55:20 1999  David O'Brien <>

	* i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
	specifications and make it realistic.
	(LIB_SPEC): Likewise.

Mon Jun 14 03:55:40 1999  Jeffrey A Law  (

	* (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
	require a sub-version #.
	* configure: Rebuilt.

1999-06-14  Robert Lipe  (

	* svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.

1999-06-14  Andreas Jaeger  <>

	* gcc.texi: Mention gcc 2.95 instead of egcs 1.00.

Sun Jun 13 01:08:02 1999  Mark Mitchell  <>

	* invoke.texi (node Option Summary): Add -fpermissive flag.

Sat Jun 12 03:40:42 1999  Jeffrey A Law  (

	* sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
	that require PIC code sequences.

Fri Jun 11 03:17:51 1999  Jeffrey A Law  (

	* (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
	* libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
	initializers is some circumstances.

	* fixinc/inclhack.def (endif_label): Add additional selector for
	more bogus stuff after #endif statements.
	* fixinc/, fixinc/fixincl.x: Rebuilt.

Thu Jun 10 20:45:27 1999  Mumit Khan  <>

	* i386/cygwin.h (SET_ASM_OP): Define.

Thu Jun 10 20:37:57 1999  Mumit Khan  <>

	* reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.

Thu Jun 10 14:47:59 1999  Bruce Korb <>

        * fixinc/inclhack.def(sun_auth_proto): We do not know how to
        test for the presence of valid prototypes.  Delete bypass expr.
        (ioctl_fix_ctrl): Correct the selection expression.

	* fixinc/inclhack.def(no_double_slash): fixed quoting rules
	* fixinc/ regen
	* fixinc/fixincl.x: regen

Thu Jun 10 01:22:59 1999  Jeffrey A Law  (

	* loop.c (strength_reduce): Disable biv->giv translations and
	giv recombination.  For the release branch only.

Wed Jun  9 15:57:57 1999  Franz Sirl  <>

	* (movsi_got_internal_mem): Delete.
	(GOT_TOC_REGNUM): Delete.
	(FINALIZE_PIC): Disable.
	* rs6000.c (rs6000_got_register): New code for fixed pic register.
	(rs6000_replace_regno): Delete.
	(rs6000_finalize_pic): Likewise.
	(output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.

Wed Jun  9 19:44:26 1999  J"orn Rennecke <>

	* loop.c (loop_insn_first_p): Don't compare LUIDs when P
	is a note; use <= for the compare; advance P while it is
	a NOTE.

Wed Jun  9 13:12:24 1999  Jeffrey A Law  (

	* fixinc/inclhack.def (no_double_slash): Fix quoting for test.
	* fixinc/, fixinc/fixincl.x, fixinc/; Rebuilt.

        * varasm.c (remove_from_pending_weak_list): Verify t->name
        is non-NULL before passing it to strcmp.

Wed Jun  9 23:01:17 1999  Michael Hayes  <>

	* invoke.texi: Add C4x invocation docs.

Wed Jun  9 22:42:49 1999  Michael Hayes  <>

	Define new macros. 
	* config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
	(c4x_legitimize_reload_address): New function.
	* config/c4x/ Update docs.

Wed Jun  9 06:50 1999  Bruce Korb <>

	* fixinc/inclhack.def(sun_auth_proto): bypass the patch if
	the typed arguments are not part of a comment
	(ioctl_fix_ctrl): Added a purpose comment
	* fixinc/fixincl.x: regenerate
	* fixinc/ regenerate

Wed Jun  9 04:14:48 1999  Jeffrey A Law  (

	* fixincludes: Avoid removing '.'.
	* fixinc/fixinc.svr4: Likewise.
	* fixinc/fixinc.winnt: Likewise.
	* fixinc/inclhack.tpl: Likewise.
	* fixinc/, fixinc/ Rebuilt.

Wed Jun  9 03:55:34 1999  Jim Wilson <>

	* (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
	* configure: Regenerate.

        * (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
        Add use of x-aix41-gld.

1999-06-09  Kaveh R. Ghazi  <>

	* fixinc/inclhack.def (sun_catmacro): Escape parens in the select
	* fixinc/fixincl.x, fixinc/ Rebuilt.

Wed Jun  9 03:10:34 1999  Mumit Khan  <>

	* c-pragma.c (handle_pragma_token): Handle `#pragma pack()'

Tue Jun  8 05:47:48 1999  Richard Earnshaw (

	* optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute

Mon Jun  7 22:30:37 1999  Jeffrey A Law  (

	* fixinc/inclhack.def (bad_lval): Remove bogus selector.
	* fixinc/, fixinc/fixincl.x, fixinc/; Rebuilt.

	* fixinc/inclhack.def (avoid_bool): Also catch
	"typedef [unsigned] int bool".
	* fixinc/, fixinc/fixincl.x, fixinc/ Rebuilt.

	* m68k/x-hp3bsd44: Delete obsolete and incorrect file.
	* (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
	* configure: Rebuilt.

Mon Jun  7 22:05:03 1999  Mark Kettenis  <>

	* config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
	such that we can override its definitions if necessary.
	(CPP_SPEC): New define.  Support processor specific predefines via
	(CC1_SPEC): New define.  Support processor specific compiler
	options via %(cc1_cpu).
	(STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for

1999-06-07  Kaveh R. Ghazi  <>

	* fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
	between sed's -e flag, and the open-quote following it.
	* fixinc/fixincl.x, fixinc/ Rebuilt.

Mon Jun  7 20:34:20 1999  Robert Lipe <>
			  Jeffrey A Law  (

	* varasm.c (assemble_start_function): Remove the function
	from the pending weak decls list when we define a function.
	(assemble_variable): Similarly for variables.
	(weak_finish): Ignore items on the list with a NULL name.
	(remove_from_ending_weak_list); New function to "remove" an item
	from the pending weak declarations list.

Mon Jun  7 19:27:07 1999  Jerry Quinn <>

	* (fmpyfadd, fmpynfadd, fnegabs): New patterns.

Sun Jun  6 11:58:34 1999  Jakub Jelinek  <>

	* (abstf2): This should be an expand.
	(split after abstf2_notv9): Fix mode.
	(abstf2_hq_v9): New pattern.
	(abstf2_v9): Only use when no hard quad.
	(absdf2_v9): Fix if target is not the same as source.
	(ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
	Add correct output constraints.

Sat Jun  5 17:04:16 1999  Craig Burley  <>

	From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
	* invoke.texi: Clarify text vis-a-vis Intel CPUs.

Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

	* alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
	(LIB_SPEC): Likewise.
	Link with -lprof1_r for -g/-pg.

1999-06-04  Andreas Schwab  <>

	* loop.c (check_dbra_loop): Fix change of Jan 19.

Fri Jun  4 00:12:40 1999  Marc Espie <>

	* freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
	(STARTFILE_SPEC):  Define, override the svr4.h version.
	(ENDFILE_SPEC):  Likewise.

Thu Jun  3 23:58:55 1999  Jeffrey A Law  (

	* fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
	* fixinc/fixincl.x: Regenerated.
	* fixinc/ Regenerated.

Thu Jun 3 07:48 1999  Bruce Korb <>

	* fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
	* fixinc/fixincl.x: regenerate
	* fixinc/ regenerate

Thu Jun  3 22:27:50 1999  Robert Lipe  <>

	* i386/udk.h (LINK_SPEC): Correct linker search path for
	system libraries.

Thu Jun  3 02:15:07 1999  Jason Merrill  <>

	* dwarf2out.c (add_incomplete_type): New fn.
	(gen_struct_or_union_type_die): Call it.
	(retry_incomplete_types): New fn.
	(dwarf2out_finish): Call it.

Thu Jun  3 01:19:03 1999  Jeffrey A Law  (

	* gcse.c (insert_insn_end_bb): Correct placement of insns when the
	current block starts with a CODE_LABEL and ends with a CALL and
	we can not find all the argument setup instructions for the CALL.

Wed Jun  2 12:25:55 1999  Richard Henderson  <>

	* alpha.c (override_options): Thinko in last patch.

	* alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
	(LIB_SPEC): Recognize -pthread.

Wed Jun  2 07:07 1999 Bruce Korb <>

	* fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
	fixes that need "file=xxx\n" prepended before invocation
	(start_fixer - new): starting the fixer process is complex enough
	to warrent its own routine.  It prepends the "file=xxx\n" stuff.
	(process): uses the new routine; omit usage of putenv()
	* fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
	* fixinc/fixincl.x: regenerate

Wed Jun  2 06:36:14 1999  Richard Earnshaw (

	* (zero_extendqidi2): Don't allow operand1 to be a memory
	reference.  Temporary work-around for problems with constant
	pool handling.

Wed Jun  2 02:40:43 1999  Jeffrey A Law  (

        * README,, gcc.1, gcc.texi: Update name (egcs -> gcc)
        and version #s (1.1 -> 2.95) as needed.
        * README.g77: Kill way out of date file in the toplevel directory.

Wed Jun  2 00:52:34 1999  David O'Brien <>

	* (i[34567]86-*-freebsdelf): Don't include linux.h,
	i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
	* configure: Rebuilt.
	* i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
	(SWITCH_TAKES_ARG): Likewise.
	* i386/freebsd.h: Remove FREEBSD_NATIVE support.
	* config/t-freebsd: Moved from config/i386/ so it can used for all
	FreeBSD targets.
Mon May 31 02:22:55 1999  Philippe De Muyter  <>

	* m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.

Wed Jun  2 00:08:34 1999  Robert Lipe  <>

	* (i[34567]86-*-udk*): Install headers with cpio.
	* configure: Rebuilt.

Wed Jun  2 00:49:00 EDT 1999  John Wehle  (

	* flow.c (mark_regs_live_at_end, insn_dead_p,
	mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
	and HARD_FRAME_POINTER_REGNUM special treatment if reload
	hasn't run or the frame pointer is needed.
	* haifa-sched.c (attach_deaths): Likewise.
	* sched.c (attach_deaths): Likewise.

Thu May 27 22:06:52 1999  Mark Mitchell  <>

	* cccp.c (handle_directive): Handle backslash-newlines in quoted
	strings correctly.

Mon May 31 22:42:02 1999  Jeffrey A Law  (

	* Remove this patch (from the branch only)
	Wed May 26 09:53:05 1999  Mark Mitchell  <>
        * fold-const.c (fold): STRIP_NOPS when deciding whether or not
	something is a candidate for optimize_bit_field_compare.

Mon May 31 15:23:23 1999  Richard Henderson  <>

	* (reload_*_help): New patterns and splitters.
	(reload_*): Use them.
	(mov[qh]i): Likewise.

Mon May 31 09:36:11 1999  Cort Dougan  <>

	* rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.

Sat May 29 19:08:10 1999  Philip Blundell  <>

	* config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already 
	* config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.

Mon May 31 00:45:14 1999  Jeffrey A Law  (

	* jump.c (jump_optimize_1): Only set CAN_REACH_END if 
	calculate_can_reach_end returns nonzero.

	* (CFLAGS): Remove warning flags.
	(WARN_CFLAGS): Disable.

	* (native gas tests): Search for an assembler in the
	same manner that the installed compiler will.
	* configure: Rebuilt.
	* tm.texi (MD_EXEC_PREFIX): Note need to update too.

	* alias.c (find_base_term): Improve handling of addresses
	constructed from binary operations.

Sun May 30 14:43:37 1999  Robert Lipe  <>

	* fixincl.c: Replace local include scheme with #includes of 
	gansidecl.h and system.h.
	* procopen.c:  Likewise.
	* server.c:  Likewise.

Sun May 30 14:18:40 1999  Jeffrey A Law  (

	* function.h (cleanup_label, frame_offset): Declare.
	(tail_recursion_label, tail_recursion_reentry): Likewise.
	(arg_pointer_save_area, rtl_expr_chain): Likewise.
	* stmt.c (cleanup_label, frame_offset): Delete extern declarations.
	(tail_recursion_label, tail_recursion_reentry): Likewise.
	(arg_pointer_save_area, rtl_expr_chain): Likewise.

Fri May 28 03:47:03 1999  Eric Raskin (

	* i386/t-dgux (EXTRA_PARTS): Add crti.o.
	(crti.o): Add build rule and dependencies.

Fri May 28 03:07:10 1999  Franz Sirl  <>

	* rs6000/sysv4.h (CC1_SPEC): Add support for -profile
	(LIB_LINUX_SPEC): Likewise.
	(LIB_LINUX_SPEC): Add support for -pthread
	(CPP_OS_LINUX_SPEC): Likewise.
	(CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are

	* rs6000.c (output_mi_thunk): Enable full support again.

Thu May 27 13:04:52 1999  H.J. Lu  (

	* i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
	conditional move.
	(notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
	(output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
	for IEEE math and CC_FCOMI.
	(put_jump_code): No IEEE if CC_FCOMI is set.

1999-05-27  Andreas Schwab  <>

	* fold-const.c (fold_truthop): Make the field reference unsigned
	when converting a single bit compare.

Thu May 27 03:07:13 1999  Philip Blundell  <>

	Based on patch by Scott Bambrough and Pat Beirne:
	* config/arm/arm.c (making_const_table): New variable.
	* config/arm/arm.h (making_const_table): Declare.
	(OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
	* config/arm/ (consttable_4, consttable_8, consttable_end):
	Keep track of when we are building the constant table.	

Thu May 27 02:52:55 1999  Jeffrey A Law  (

	* varasm.c (STRIP_NAME_ENCODING): Remove default definition.
	* output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
	version did.

Thu May 27 02:40:48 1999  J"orn Rennecke <>

	* loop.c (strength_reduce): Don't do biv->giv conversion on constants.

Thu May 27 02:09:27 1999  Jeffrey A Law  (

	* reload.c (push_reload): Do not call remove_address_replacements
	when presented with identical optional reloads.

Wed May 26 14:18:05 1999  Richard Henderson  <>

	* alpha.h (MASK_FIX, TARGET_FIX): New.
	(MASK_*): Reorganize constants.
	(EXTRA_SPECS): Likewise.
	(CPP_CPU_EV6_SPEC): Use FIX, not CIX.
	* alpha.c (override_options): Add FIX support.  Always use 
	ALPHA_TP_PROG for ev6.
	* (sqrt and mov[sd]i patterns): Use FIX, not CIX.
	* alpha/elf.h (ASM_FILE_START): Look at FIX too.
	* (target_cpu_default2) [ev6]: Use FIX, not CIX.

Wed May 26 09:53:05 1999  Mark Mitchell  <>

        * fold-const.c (fold): STRIP_NOPS when deciding whether or not
	something is a candidate for optimize_bit_field_compare.

Wed May 26 03:54:33 1999  Melissa O'Neill <>

	* fixinc/fixincl.c: (WIFSIGNALED): Define if not already defined.

Wed May 26 02:19:31 1999  Philip Blundell  <>

	* 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

Tue May 25 14:06:06 1999  Jeffrey A Law  (

	* output.h (STRIP_NAME_ENCODING): Provide default definition.

	* flow.c (mark_set_1): Do not record BLKmode stores as dead
	store elimination candidates.

Mon May 24 14:34:31 1999  Jeffrey A Law  (

	* 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.

Mon May 24 01:02:58 1999  Mark Mitchell  <>

	* stmt.c (expand_end_bindings): Ignore any elements of VARS that
	are not VAR_DECLs.

Sun May 23 20:31:16 1999  Jeffrey A Law  (

	* loop.c (strength_reduce): Grow reg_single_usage as needed.

Sun May 23 10:13:20 1999  David O'Brien <>

	* i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
	Also remove a useless comment.

Sun May 23 10:05:23 1999  Jerry Quinn <>

	* (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.

Sat May 22 01:27:49 1999  Mark Mitchell  <>

	* expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.

Thu May 20 10:00:42 1999   Stephen L Moshier  <>

         * (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
Thu May 20 09:58:57 1999  Jan Hubicka <>

	* function.c (assign_stack_local): Align stack slot propertly.
	(assign_outer_stack_local): Likewise.
Thu May 20 10:38:43 1999  Mark Mitchell  <>

	* expr.h (lang_expand_constant): Declare.
	* toplev.c (lang_expand_constant): Define it.
	* varasm.c (output_constant): Use it.

Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <>

	* optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
	Change function definitions to K&R style.

Thu May 20 08:15:00 1999  Bruce Korb <>

	* fixinc/fixincl.c(main): we must not ignore SIGCLD now.

Thu May 20 07:06:39 1999  Alexandre Oliva  <>

	* fixinc/ add $(INCLUDES) to compile options
	* fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
	(several places): omit static initialization
	(process): use single fd, since only the read fd is used
	* fixinc/gnu-regex.c: define 'const' away, if not supported
	* fixinc/procopen.c(several places): omit static initialization
	* fixinc/server.c: define 'volitile' away, if not supported

1999-05-20  Andreas Schwab  <>

	* config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
	asm_fprintf and %L to generate the label name.
	* config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
	(ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.

Thu May 20 01:40:55 1999  Jeffrey A Law  (

	* jump.c (can_reverse_comparison_p): Do not abort if the comparison
	insn for a conditional jump can not be found.

Wed May 19 23:58:58 1999  Jeffrey A Law  (

	* mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
	on variables in specific sections other than .sbss and .sdata.

Tue May 18 11:20:48 1999  Mark Mitchell  <>

	* stmt.c (expand_return): Call start_cleanup_deferral and
	end_cleanup_deferral around conditional code.

Wed May 19 03:10:08 1999  Bruce Korb <>

	* fixinc/fixincl.tpl: Avoid depending on ANSI C features for
	filename lists.  Utilizes new AutoGen function "krstr".
	* fixinc/fixincl.x: Rebuilt.

Wed May 19 02:47:11 1999  Jan Hubicka  (

	* i386.c (output_float_compare): Avoid GNU-C extensions.

Wed May 19 00:50:24 1999  Jeffrey A Law  (

	* version.c: Bump version to gcc-2.95 prerelease.

Tue May 18 03:53:37 1999  Craig Burley  <>

	Improve open-coding of complex divide:
	* flags.h: Declare new front-end-malleable flag.
	* toplev.c: Define new flag.
	* optabs.c (expand_cmplxdiv_straight): New function to do original
	(expand_cmplxdiv_wide): New function to do new open-coding,
	from Toon Moene, with changes (call to emit_barrier, dropping
	of spurious `ok = 1;', plus the obvious `break;' -> `return 0;').
	(expand_binop): A bit of spacing fixing, while at it.
	Use new functions instead of inlining the open-coding code.

Tue May 18 00:51:46 1999  Krister Walfridsson <>

        * (arm*-*-netbsd*): Use collect2.
        (i[34567]86-*-netbsd*): Likewise.
        (m68k*-*-netbsd*): Likewise.
        (ns32k-*-netbsd*): Likewise.
        (sparc-*-netbsd*): Likewise.
        (vax-*-netbsd*): Likewise.
	* configure: Rebuilt.

Tue May 18 00:21:34 1999  Zack Weinberg  <>

	* cppspec.c: Insert -no-gcc into command line unless -gcc was
	given by user.
	* gcc.c (default_compilers): Define __GNUC__ and
	__GNUC_MINOR__ only if -no-gcc was not given.
	* objc/lang-specs.h: Likewise.
	* cpp.texi: Document -x and -std options; explain that -lang
	is no longer supported.  Minor related corrections.

Mon May 17 23:56:39 1999  Alexandre Oliva  <>

	* (stmp-fixproto): Pass location of mkinstalldirs to
	* fixproto: Avoid unportable constructs such as `basename' and
	`mkdir -p'.  Use mkinstalldirs from the environment if `mkdir -p'

	* fixinc/fixincl.c: Remove #error, it is not portable.

Mon May 17 23:50:41 1999  Marc Espie <>

	* collect2.c (main):  Fix typo in COLLECT2_HOST_INITIALIZATION.

Mon May 17 19:45:41 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

	* fixinc/fixincl.c (process): Wait for children from chain_open()
	to avoid creating zombies.

	* fixinc/inclhack.tpl: Removed no-op pipe.

	* fixinc/ fixinc/ regenerate

Mon May 17 07:23:34 1999  Mark Mitchell  <>

	* tree.def (TYPE_NONCOPIED_PARTS): Revise documentation to match
        * expr.c (init_noncopied_parts): Don't generate initializers for
        parts that don't need them.

Mon May 17 02:56:35 PDT 1999 Jeff Law  (

	* version.c: Bump for snapshot.

Sat Oct 31 05:08:34 CET 1998 Jan Hubicka  (

	* reg-stack.c: Do not emit pop insns after cc0 setter.
	(emit_pop_insn): Do not emit insn in case WHEN is NULL.
	(compare_for_stack_reg): Update REG_DEAD note and 
	do not emit push insn.

	* i386.c: (output_float_compare): Handle new REG_DEAD notes.

Mon May 17 01:57:37 1999  David Daney <>

	* i386/sol2.h (LINK_SPEC): Do not pass "-z text" to the linker
	if -mimpure-text.

1999-05-17  Andreas Schwab  <>

	* m68k.c (standard_68881_constant_p): Don't accept -0.0 as valid
	68881 constant.

	* fold-const.c (fold_truthop): When converting a one-bit
	comparison don't sign extend the constant.

	* cse.c (cse_insn): Copy SRC_CONST before putting it in the
	REG_EQUAL note.

1999-05-17  Mike Stump  <>

	* rs6000/vxppc.h (CPP_SPEC): Fix support for vararg functions.

Sat May 15 14:22:40 1999  Jeffrey A Law  (

	* fixinc/hackshell.tpl: Fix mis-applied patch.
	* fixinc/ Regenerated.

Thu May 13 21:05:55 1999  Mark Kettenis  <>

	* fixinc/ Add the Hurd (*-*-gnu*) to the list of
	targets that do not need any fixes.

Sat May 15 14:12:38 1999  Michael Hayes  <>

	* config/c4x/ (set_lo_sum+2): New splitter to load large

Sat May 15 14:09:08 1999  Michael Hayes  <>

	* config/c4x/ (decrement_and_branch_on_count): Disabled.
	(doloop_begin, doloop_end): New patterns.
	(*rptb_init): Added extra operands.

Fri May 14 21:31:36 1999  Michael Hayes  <>

	* config/c4x/ (*umulqi3_highpart_clobber): Fix operand 2
 	constraints order.

1999-05-14  Ulrich Drepper  <>

	* fixinc/fixinc.x86-linux-gnu (FD_ZERO): Fix operand numbers in
	asm input operands.

Thu May 13 15:34:18 1999  David Edelsohn  <>

	* rs6000.c (mask_constant): Delete.
	(mask_operand): Move mask_constant() body to here.
	* rs6000.h (mask_constant): Delete declaration.
	* (nabsdi2): Reverse subtraction in splitter.

Thu May 13 02:25:01 1999  Jeffrey A Law  (

	* cpp.texi: Fix some typos.

Thu May 13 01:49:55 1999  Graham Stott <>

	* loop.c (maybe_eliminate_biv): Check regno against

	* i386.c (memory_address_info): Correct the scale
	factor test.

Thu May 13 01:31:19 1999  Nick Burrett  <>

	* (nop): Backout Apr 27 change. Ensure REGISTER_PREFIX is
	applied to each register.
	* aof.h (ASM_FILE_START): Define register `r0'.

1999-05-12 20:22 -0400  Zack Weinberg  <>

	* Make --enable-cpp and --with-cpp-install-dir
	documented options.  Enable the cpp driver by default.
	* configure: Rebuilt.

Wed May 12 18:08:48 1999  David Edelsohn     <>
			  Richard Henderson  <>

        * rs6000.c (print_operand) [w]: Calculate signed constant more clearly.
        (rs6000_allocate_stack_space): Print as hexadecimal value.
        * rs6000.h (CONST_OK_FOR_LETTER_P): 'L' checks for a signed,
        16-bit shifted constant.  Fix typo for 'P'.
	(EXTRA_CONSTARINT): 'T' checks for a 32-bit mask operand.
	* (movsi, addsi3_internal1, movdi, adddi3_internal1):
	Use 'L' for shifted constant.
	(anddi3_internal3): Fix typo.
	(32-bit mask patterns): Use 'T'.

Wed May 12 07:30:31 1999  Bruce Korb <>

	* fixinc/fixincl.c(quoted_file_exists): new procedure to ensure that
	a file exists before trying to copy it into the destination
	(extract_quoted_files): use that routine.

Wed May 12 07:27:31 1999  Craig Burley  <>

	Allow front end (like g77's) to override maintenance of errno:
	* expr.c (expand_builtin): Bother with errno only if
	* flags.h: Declare flag_errno_math.
	* toplev.c: Define flag_errno_math.

Tue May 11 23:55:49 1999  Jeffrey A Law  (

	* fixproto: Change "mkdir" calls to "mkdir -p"

	* fixinc/inclhack.def (io_def_quotes): Consistently allow multiple
	whitespace characters between the "define" and the name of the macro.
	* fixinc/fixincl.x, fixinc/ Rebuilt.

Tue May 11 20:46:37 1999  Richard Henderson  <>

	* alpha.c (alpha_expand_block_move): Handle TImode registers
	used with ADDRESSOF.
	(alpha_expand_block_clear): Handle ADDRESSOF specially.

1999-05-11  Ulrich Drepper  <>

	* fixinc/fixinc.x86-linux-gnu (FD_ZERO): Remove unneccessary
	memory output operand which irritates gcc.

Tue May 11 11:45:16 1999  Dave Brolley  <>

	* toplev.c (documented_lang_options): Add -MD, -MMD, -M and -MM for
	cpplib-enabled compilers.

Tue May 11 11:34:56 1999  Vladimir Makarov  <>

	* config/sparc/sparc.h (GO_IF_LEGITIMATE_ADDRESS): Add parentheses
	around &&.

Mon May 10 13:51:24 1999  Nick Clifton  <>

	* tm.texi (FUNCTION_ARG): Stack element of PARALLEL must come

Tue May 11 01:32:01 1999  Jeffrey A Law  (

	* fixinc/inclhack.def (sun_auth_proto): Apply to all targets.
	(sysz_stdlib_for_sun): Similarly.
	* fixinc/fixincl.x, fixinc/ Rebuilt.

Mon May 10 20:34:10 1999  Jim Wilson  <>

	* config/mips/elf.h (UNIQUE_SECTION_P): Undef.
	* config/mips/elf64.h (UNIQUE_SECTION_P): Undef.
	* config/mips/mips.h (UNIQUE_SECTION_P): Define to 0.

1999-05-10 18:21 -0400  Zack Weinberg  <>

	* cppfiles.c (initialize_input_buffer): New function.
	(finclude): Call it, if pfile->input_buffer is NULL.  Accept
	any character device as an input file.
	(read_and_prescan): Use pfile->input_buffer and
	* cppinit.c (cpp_cleanup): Free pfile->input_buffer and
	* cpplib.h (cpp_reader): Add input_buffer, input_speccase, and
	input_buffer_len members.  Use memcpy in CPP_PUTS_Q.

	* cppmain.c: Buffer output in the token_buffer; throttle
	number of calls to fwrite; check for errors from fwrite.

1999-05-10 18:21 -0400  Zack Weinberg  <>

	* cppspec.c: Treat two non-option arguments as input and
	output file.  Three or more non-option args is an error.
	Clean up.
	* gcc.c (default_compilers): Pass -$ to the preprocessor.
	* objc/lang-specs.h: Likewise.

Mon May 10 12:59:20 1999  Jeffrey A Law  (

	* optabs.c (emit_cmp_and_jump_insns): Handle the case where both
	operands to the comparison are constants.

Mon May 10 07:28:10 1999  Bruce Korb <>

	* fixinc/inclhack.def(arm_norcroft_hint): check before fixing
	(no_double_slash): portability
	(math_exception): added reminder comment

Mon May 10 01:28:10 1999  Craig Burley  <>

	From Fri May 7  9:31:41 1999 Donn Terry (
	* varasm.c (mark_constant_pool): Add some transitive closure.

Sun May  9 22:51:04 1999  Craig Burley  <>

	Fix gcc.dg/990506-0.c:
	* c-typeck.c (require_complete_type): Handle ERROR_MARK input.

Sun May  9 13:19:12 1999  Jeffrey A Law  (

	* gcse.c (cprop_insn): Do not try to simplify a simple jump.

Sun May  9 11:12:19 1999  Philip Blundell <>

	* config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Add (PLT) to branch if
	necessary.  Reported by

Sat May  8 23:05:35 1999  Jeffrey A Law  (

	* pa.h (PRINT_OPERAND_ADDRESS): Output "%r0", not "r0" for the
	base register in an absolute memory address.
	* (conditional moves): Avoid using immediate zero for
	register zero.

Sat May  8 06:23:21 1999  Philip Blundell  <>

	Based on patch by Scott Bambrough:
	* config/arm/arm.h (NEED_PLT_GOT): New macro.  Set to 0 if not
	already defined.
	* config/arm/elf.h (NEED_PLT_GOT): Define to flag_pic.
	* config/arm/ (call_symbol, call_value_symbol et al.): If
	NEED_PLT_GOT is true, add explicit "(PLT)" to generated branches.
	* config/arm/arm.c (output_func_epilogue,
	output_return_instruction): Likewise for calls to abort.

Sat May  8 01:57:58 1999  Donn Terry (

	* calls.c (rtx_for_function_call): Extend function pointer being
	passed to chkr_check_exec_libfunc, if needed.

Sat May  8 01:51:50 1999  David Edelsohn  <>

	* ginclude/stdarg.h (__va_rounded_size): Use long type for
	rounding on AIX.
	* ginclude/varargs.h: Likewise.

Sat May  8 01:47:20 1999  Andreas Schwab  <>

	* invoke.texi: Remove duplicates in the description of -d
	letters.  Fix use of @item vs. @itemx.

Sat May  8 01:43:02 1999  Franz Sirl  <>

	* rs6000.h (RS6000_VARARGS_OFFSET): Die die die.
	(CUMULATIVE_ARGS): Remove varargs_offset; update commentary.
	* rs6000.c (setup_incoming_varargs): Fix typo last change.
	(init_cumulative_args): Remove varargs_offset references.

	* rs6000/linux.h (NO_IMPLICIT_EXTERN_C): Define.

Sat May  8 01:34:19 1999  Andreas Schwab  <>

	* reload1.c (gen_mode_int): New function.
	(reload_cse_move2add): Use it to generate the new constants.

Sat May  8 01:25:09 1999  Andreas Schwab  <>

	* varasm.c (output_constant): Do nothing if -fsyntax-only.

Fri May  7 19:10:15 1999  Vladimir Makarov  <>

	* sparc.h (GO_IF_LEGITIMATE_ADDRESS): Prohibit REG+REG addressing
 	for TFmode when there are no instructions which accept REG+REG

Fri May  7 12:38:54 1999  Jim Wilson  <>

	* mips/elf64.h (MAKE_DECL_ONE_ONLY, UNIQUE_SECTION_P): Define.
	* mips/mips.c (mips_select_rtx_section): When TARGET_MIPS16, use
	function_section instead of text_section.
	* mips/mips.h (ENCODE_SECTION_INFO): Add check for UNIQUE_SECTION_P
	in TARGET_MIPS16 STRING_CST handling.

Fri May  7 09:54:11 1999  Nick Clifton  <>

	Patch from: Nick Burrett  <>

	* arm.c (arm_poke_function_name): New function to implement
	* aof.h (ASM_DECLARE_FUNCTION_NAME): Call it.
	* aout.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
	* elf.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
	* arm.h: Prototype it.
	(TARGET_SWITCHES): Add `no-poke-function-name'.

Fri May  7 14:19:31 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

	* fixinc/server.c (load_data): Cast text_size to long, adapt
	* fixinc/server.c (read_pipe_timeout): Declare volatile, modified
	in signal handler.
	(sig_handler): Add debug code.
	* fixinc/server.c (run_shell): Don't \-escape cd, it breaks the
	Ultrix V4.3 /bin/sh.
	* fixinc/server.c (def_args): Use static instead of STATIC to
	avoid redefinition error from linker iff DEBUG.

	* fixinc/hackshell.tpl: Don't strip trailing directory from
	DESTDIR - that is already done

	* fixinc/fixincl.c (run_compiles): fix memory leak

Thu May  6 20:34:00 1999  Mark Mitchell  <>

	* resource.c (mark_referenced_resources): Make volatil
	monotonically increasing.
	(mark_set_resources): Likewise.

Thu May  6 20:02:33 1999  Fred Fish  <>

	* rs6000/xm-beos.h (HAVE_VPRINTF): Don't redefine if already defined.

Wed May  5 20:28:32 1999  Jason Merrill  <>

	* install.texi (Header Dirs): s/GPLUS/GPLUSPLUS/.

Wed May  5 23:44:15 1999  J"orn Rennecke <>

	* unroll.c (copy_loop_body): Don't copy VTOP notes from copy_notes_from.

Wed May  5 16:26:13 1999  Vladimir Makarov  <>

	* function.c (purge_addressof_replacements): Rename into
	(purge_addressof_replacements): New variable.
	(purge_addressof_1): Add code for changing addressof in notes for
 	field values which are extracted by usage MEM with narrower mode.
	(purge_addressof): Initialize purge_bitfield_addressof_replacements.

Wed May  5 07:40:02 1999  Nick Clifton  <>

	Patch from: Nick Burrett  <>
	* config/arm/arm.h (ARM_MCOUNT_NAME): Define.
	(FUNCTION_PROFILER): Remove assembler dialect dependency and use
	(TRAMPOLINE_TEMPLATE): Remove assembler dialect dependency.

	* config/arm/aof.h (ARM_MCOUNT_NAME): Define.

1999-05-05 09:58 -0400  Zack Weinberg  <>

	* gcc.c (default_compilers): Fix brace nesting bug.
	* objc/lang-specs.h: Use %i, not %g.mi, for the input file
	when processing an .mi file.

Tue May  4 13:17:55 1999  Mark Mitchell  <>

	* resource.c (mark_set_resources): Handle UNSPEC_VOLATILE,
	ASM_INPUT, TRAP_IF, and ASM_OPERANDS just like in

Mon May  3 22:38:41 1999  David Edelsohn  <>

	* rs6000/aix43.h (SUBTARGET_OVERRIDE_OPTIONS): Change non-PowerPC
	and AIX64 combination to warning.  Add warning for disabling
	PowerPC64 support when using 64-bit mode.
	(LIB_SPEC): Do not link with libg.a in 64-bit mode.
	(LINK_SPEC): Do not export libg.exp symbols in 64-bit mode.
	* rs6000/rs6000.h (MY_ISCOFF): Treat import/export files as valid
	XCOFF files.
	(read_only_data_section, private_data_section,
	read_only_private_data_section): Always align CSECTs to doubleword
	boundary regardless of mode.
	(TEXT_SECTION_ASM_OP): Align text CSECT on doubleword boundary in
	64-bit mode.
	(DATA_SECTION_ASM_OP): Always align CSECT to doubleword boundary.
	(ASM_OUTPUT_LOCAL): Use rounded size in 64-bit mode to
	maintain doublword alignment.

Mon May  3 14:45:23 1999  Jeffrey A Law  (

	* (btst insns): btst does not leave cc0 in a useable
	state for redundant tst eliminatino.
	* (btst insns): Likewise.

Mon May  3 16:14:32 1999  Kaveh R. Ghazi  <>

	* mips.h (Pmode): Revert Oct 14th change which added a cast.

Sun May  2 14:02:21 1999  Mark Mitchell  <>

	* 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.

Sun May  2 15:16:42 1999  Joseph S. Myers  <>

	* pdp11.h (TARGET_SWITCHES): Fix error in previous change.
	(CONDITIONAL_REGISTER_USAGE): Rename floating point registers if
	required for the UNIX assembler.
	(ASM_OUTPUT_INT): Remove.  The compiler will synthesise it.
	(ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Change to "[" and "]".
	* pdp11.c (output_addr_const_pdp11): Copy of output_addr_const
	adapted to output constants in octal.
	* pdp11.c, pdp11.h, 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.

Sun May 2 01:15:06 PDT 1999 Jeff Law  (

	* version.c: Bump for snapshot.

Fri Apr 30 13:55:43 1999  Richard Henderson  <>

	* 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.

Thu Apr 29 23:02:22 1999  Mark Mitchell  <>

	* 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.

Thu Apr 29 22:13:46 1999  Robert Lipe  <>

	* (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.

Thu Apr 29 17:23:59 1999  Richard Henderson  <>

	* emit-rtl.c (operand_subword): Religiously mask and sign-extend
	from 32-bits to HOST_WIDE_INT.

Thu Apr 29 15:58:52 1999  Robert Lipe  <>

	* fixinc/regex.c, fixinc/regex.h: Removed.   Replace with...
	* fixinc/gnu-regex.c, fixinc/gnu-regex.h: Imported from GDB 4.18.
	* fixinc/ (OBJ, HDR): Handle name changes from above.
	(gnu-regex.o): Define REGEX_MALLOC to avoid memory leak.
	* fixinc/fixincl.c: new regex.h header name
	* new regex.[ch] file names

Thu Apr 29 12:53:33 1999  Richard Henderson  <>

	* calls.c (emit_call_1): Pass rounded_stack_size to emit_call
	instead of the unrounded size.

1999-04-28 14:40 Bruce Korb <>

	* fixinc/ Makesure the result shell script is writable

Wed Apr 28 10:36:39 1999  Andreas Schwab  <>

	* config/m68k/ (cmpsi+1): Use cmp.w when comparing a 16 bit
	constant with an address register.

Wed Apr 28 00:14:41 PDT 1999 Jeff Law  (

	* version.c: Bump for snapshot.

Tue Apr 27 19:50:25 EDT 1999  Andrew MacLeod  <>

	* rtl.h (REG_EH_REGION): Update comment to indicate a value of -1
	indicates no throw and no nonlocal gotos.
	* optabs.c (emit_libcall_block): Emit REG_EH_REGION with a value
	of -1 instead of 0 to indicate a nonlocal goto won't happen either.
	* flow.c (count_basic_blocks, find_basic_blocks_1): Ignore libcall
	blocks, look for REG_EH_REGION note exclusively.
	(make_edges): Check for REG_EH_REGION > 0 for specified handlers.

Tue Apr 27 15:33:42 1999  David Edelsohn  <>

	* rs6000.h (read_only_data_section, private_data_section,
	read_only_private_data_section, toc_section): Align CSECT on
	doubleword boundary for 64-bit target.
	* rs6000.c (rs6000_stack_info): Leaf procedure stack limit is 288.

Tue Apr 27 20:19:47 1999  J"orn Rennecke <>

	* (insv): Use copy_addr_to_reg.

	* final.c (insn_lengths_max_uid): New variable.
	(init_insn_lengths, shorten_branches): Set it.
	(get_attr_lengths): Test insn uid against insn_lengths_max_uid.

1999-04-27 08:32 -0400  Zack Weinberg  <>

	* expr.c (emit_move_insn_1): Abort if MODE argument is invalid.
	(compare): Punt if TREE_OPERAND (exp, 0) is an ERROR_MARK.

Tue Apr 27 01:33:43 1999  Jeffrey A Law  (

	Remove "CC".
	(FLAGS_TO_PASS): New variable.

Tue Apr 27 00:36:44 1999  Nick Burrett  <>

	* (nop): Output instruction using output_asm_insn to fix
	assembler dialect problems.

Mon Apr 26 23:55:50 1999  Robert Lipe  <>

	* ( Fix dependencies.

	* fixinc/inclhack.def (avoid_bool): Enable match if typedefs are
	prepended by spaces.
	(sco5_stat_wrappers): New fix.   Make sys/stat.h C++ safe.
	* fixinc/, fixinc/fixincl.x, fixinc/ Rebuilt.

Mon Apr 26 23:28:54 1999  Mumit Khan  <>
                          Donn Terry  <>

	* function.c (put_var_into_stack): Change ptr_mode to Pmode
	in setup for chkr_set_right_libfunc calls.
	(assign_params): Likewise.
	* expr.c (emit_push_insn): Change ptr_mode to Pmode in
	setup for chkr_copy_bitmap_libfunc and chkr_set_right_libfunc calls.
	(expand_assignment): Change ptr_mode to Pmode in
	setup for chkr_add_libfunc and chkr_copy_bitmap_libfunc.
	(store_expr): Change ptr_mode to Pmode in
	setup for chkr_add_libfunc and chkr_copy_bitmap_libfunc.
	(expand_expr): Change ptr_mode to Pmode in
	setup for chkr_check_addr_libfunc.
	(expand_builtin): Change ptr_mode to Pmode in
	setup for chkr_check_str_libfunc, chkr_copy_bitmap_libfunc and
	* calls.c (rtx_for_function_call): Change ptr_mode to Pmode in
	setup for chkr_check_exec_libfunc.
	(expand_call): Change ptr_mode to Pmode in
	setup for chkr_set_right_libfunc.
	(expand_call): Change ptr_mode to Pmode in
	setup for chkr_set_right_libfunc.
	(store_one_arg): Change ptr_mode to Pmode in
	setup for chkr_set_right_libfunc.

        * (absdcl1): Allow attributes in explicit typespecs.
        (%expect): Update.
        * c-parse.y: Regenerate.
        * c-parse.c: Likewise.
        * objc/objc-parse.c: Likewise.
        * objc/objc-parse.y: Likewise.

Mon Apr 26 21:17:41 1999  Jason Merrill  <>

	* c-pragma.c (push_alignment): Don't ignore alignments greater than
	4 bytes.
	(handle_pragma_token): Likewise.

	* c-pragma.c: Support for #pragma pack (push, <id>, <n>).
	(struct align_stack): Add id field.
	(push_alignment, pop_alignment): Take id parameter.
	(handle_pragma_token): Add necessary states.
	* c-pragma.h (enum pragma_state): Add necessary states.

Tue Apr 27 13:58:23 1999  Michael Hayes  <>

	* config/c4x/ (*cmpqf, *cmpqf_noov, *cmpqi_test,
	*cmpqi_test_noov): Remove ? modifier from constraints list.
	(*smulqi3_highpart_clobber, *umulqi3_highpart_clobber): Swap
	output strings to match new constraint ordering.

1999-04-26 19:16 -0400  Zack Weinberg  <>

	* cpphash.c (dump_definition): New function.
	* cpphash.h: Prototype it.

	* cpplib.c (handle_directive): Don't output anything here.
	(pass_thru_directive): Take a length, not a pointer to the
	end.  All callers changed.
	(do_define): Handle -dD, -dN, -g3 entirely here.  Streamline.
	(do_include): Handle -dI here.
	(do_ident): Correct to match cccp.
	(do_pragma): Copy the pragma through here.
	(do_assert, do_unassert): Tidy.

	* cppinit.c (cpp_finish): If -dM was specified, walk the macro
	hash table and call dump_definition on all the entries.
	* cppmain.c: cpp_finish may produce output.

Mon Apr 26 15:27:33 1999  Mark Mitchell  <>

	* toplev.c (compile_file): Move call to check_global_declarations
	after output_exception_table to restore behavior as it was before
	1999-04-22 change.

1999-04-26 10:50 -0700 Bruce Korb <>

	* fixinc/fixincl.c:  Improve the handling of child process exits
	* fixinc/server.[ch]: Export the interface for shutting down
	the server process
	* fixinc/inclhack.tpl: Remove unnecessary character quote
	* fixinc/, fixinc/ Regenerate

Mon Apr 26 10:41:42 EDT 1999  Andrew MacLeod  <>

	* (builtin_setjmp_receiver): Use a label_ref instead of
	a code label.

1999-04-26 09:47 -0400  Zack Weinberg  <>

	* rtl.texi: Document the rtl classes and their relation to

Mon Apr 26 01:02:38 1999  Richard Henderson  <>

	* (fix_trunc patterns): Use reg_no_subreg_operand on op0
	for less work in reload.
	(movsf and movdf patterns): Put fp reg alternatives first.

Mon Apr 26 01:55:56 1999  Marc Espie  <>

	* (openbsd): Factorize xmake_file.
	(ix86 openbsd): Trim obsolete comment.
	(vax openbsd): Fix typo.
	* configure: Rebuilt.

Mon Apr 26 01:30:59 1999 Donn Terry <>

	* expr.c (expand_assignment): Improve test for pointer type.

Mon Apr 26 00:26:18 1999  Richard Henderson  <>

	* alpha.c (print_operand_address): Account for the subreg word.

Mon Apr 26 01:08:36 1999  Toshiyasu Morita  (

	* fold-const.c (make_range): Always initialize arg0 and arg1.
	(fold): Similarly for alt0 and alt1.
	* function.c (fixup_var_refs_insns): Initialize insn_list.
	(instantiate_virtual_regs_1): Initialize offset.
	* optabs.c (expand_binop): Initialize carry_in, carry_out, op0_xhigh
	and op1_xhigh.
	* stmt.c (expand_end_case): Initialize minval and maxval.

Mon Apr 26 01:02:34 1999  Nathan Sidwell  <>

	* toplev.c (report_error_function): Reorder file stack and
	function name printing.  Ignore FILE parameter.

Mon Apr 26 00:58:54 1999  Jerry Quinn <>

	* pa.h (architecture_type): New enum.
	(pa_arch_string, pa_arch): Declare.
	(MASK_PA_10, MASK_PA_20): New flags.
	(TARGET_SWITCHES): Add pa-risc-2-0.  Update docs for PA1.0 codegen.
	(TARGET_OPTIONS): Add -march= option.
	* pa.c (pa_arch, pa_arch_string):  Define.
	(override_options):  Set them.
	* pa/pa-hpux10.h (ASM_FILE_START):  Output LEVEL 2.0 asm directive for
	2.0 architecture.
	* invoke.texi (Option Summary, HPPA Options):  Document new
	architecture flags.

	* pa/pa-hpux.h, pa/pa-hpux10.h, pa/pa-hpux9.h, pa/pa-osf.h, pa.h,
	pa.c,,, configure: Replace TARGET_SNAKE by

Mon Apr 26 00:28:25 1999  Theodore Papadopoulo <>

 	* flags.h (inline_max_insns): Declare.
 	* integrate.c (inline_max_insns): New variable.
 	(function_cannot_inline_p): Use it.
 	* toplev.c (main): Add the flag -finline-limit-n.
 	(display_help): Document -finline-limit-n.
 	* invoke.texi: Document -finline-limit-n

Sun Apr 25 23:03:32 1999  Richard Henderson  <>

	* stmt.c (expand_asm_operands): Reload in-out reg-only memory operands.

Sun Apr 25 13:06:13 1999  Richard Henderson  <>

	* function.c (assign_parms/STACK_BYTES): Revert last change,
	and that of 19 Nov.

Sun Apr 25 12:30:50 1999  Richard Henderson  <>

	* calls.c (emit_call_1): New arg rounded_stack_size; update callers.
	Update pending_stack_adjust based on this value.
	(compute_argument_block_size): Include pending_stack_adjust in
	* function.c (assign_parms): Don't round to PREFERRED_STACK_BOUNDARY.

Sun Apr 25 14:38:10 EDT 1999  John Wehle  (

	* stupid.c (stupid_mark_refs): Generate a REG_UNUSED note
	for a register which is clobbered even if the register
	was used by an earlier instruction.

	* (fix_truncsfdi2, fix_truncdfdi2,
	fix_truncxfdi2): Don't bother with the gen_reg_RTX.
	(fix_truncsfsi2, fix_truncsfdi2, fix_truncdfsi2,
	fix_truncdfdi2, fix_truncxfsi2, fix_truncxfdi2): Update
	operand constraints and modes.
	* i386.c (output_fix_trunc): Use HImode register to avoid
	memory stalls.  Call output_move_double instead of output_to_reg.
	(output_to_reg): Remove.
	* i386.h: Likewise.

	* (negsf2, negdf2, negxf2): Set the type
	attribute to fpop.

Sat Apr 24 23:15:57 1999  Donn Terry (

	* (call_value_nt): Correct subscripts.

Sat Apr 24 20:49:20 1999  Richard Henderson  <>

	* alpha.h (PRINT_OPERAND_ADDRESS): Break out to ...
	* alpha.c (print_operand_address): here.  Handle subregs.

Fri Apr 23 22:35:41 EDT 1999  John Wehle  (

	* acconfig.h (HAVE_GAS_FILDS_FISTS): Add.
	* Check assembler instructions.
	* configure: Rebuild.
	* Likewise.
	* (floathisf2, floathidf2, floathixf2): New patterns.
	* i386.c (print_operand): Use the proper suffix for a 387 HImode
	operand.  Abort if a 387 operand has an unsupported size.

Fri Apr 23 16:57:40 1999  Richard Henderson  <>

	* alpha.c (alpha_write_verstamp): Mark `file' unused.
	* alpha.h (FUNCTION_VALUE): Use gen_rtx_REG not gen_rtx.
	(LIBCALL_VALUE): Likewise.
	(GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Handle normal subregs.

Fri Apr 23 14:57:33 1999  Donn Terry  <>

	* alpha32.h (INITIALIZE_TRAMPOLINE): Get offsets right.

	* alpha.c (alpha_initialize_trampoline): Add covert_memory_address
	calls as needed.

Fri Apr 23 14:36:47 1999  Richard Henderson  <>

	* alpha.c (alpha_expand_prologue): Don't negate frame size
	for use with subq.

Fri Apr 23 09:43:18 1999  Nick Clifton  <>

	* print-rtl.c (print_rtx): Display LABEL_NUSES for labels.

Thu Apr 22 23:08:37 1999  Mark Mitchell  <>

	* toplev.h (wrapup_global_declarations): Declare.
	(check_global_declarations): Likewise.
	* toplev.c (wrapup_global_declarations): New function, split out
	from ...
	(check_global_declarations): Likewise...
	(compile_file): Here.

Thu Apr 22 22:34:41 1999  Richard Henderson  <>

	* (expr_no_commas): Verify we've an expr before

Thu Apr 22 22:22:15 EDT 1999  John Wehle  (

	* toplev.c (rest_of_compilation): Always set
	current_function_uses_only_leaf_regs appropriately.

Thu Apr 22 14:39:43 1999  Mumit Khan  <>

	* i386/xm-cygwin.h (HAVE_BCOPY): Delete unneeded macro.
	(HAVE_BZERO): Likewise.
	(HAVE_BCMP): Likewise.
	(HAVE_RINDEX): Likewise.
	(HAVE_INDEX): Likewise.
	(DIR_SEPARATOR_2): Define.
	(GET_ENV_PATH_LIST): Turn path lists into POSIX.

1999-04-22 Bruce Korb <>

	* enable disabling of fast fixincludes
	* configure: regenerate

1999-04-21 14:55 -0400  Zack Weinberg  <>

	* gen-protos.c: #undef abort after including system.h.
	Delete defns of fancy_abort and	fatal.
	* fix-header.c: Delete defn of fancy_abort.

Wed Apr 21 12:09:38 1999  Mumit Khan  <>

	* cccp.c (simplify_filename): Always preserve leading double slash.

Wed Apr 21 18:15:55 1999  Michael Hayes  <>

	* config/c4x/ Add new peepholes to remove redundant loads.

Wed Apr 21 17:41:29 1999  Michael Hayes  <>

	* config/c4x/ (binary patterns): Reorder alternatives
	so that two operand instructions are chosen before three operand

Tue Apr 20 23:38:58 1999  Nathan Sidwell  <>

	* objc/ (objc-parse.c): Put BISON parameters in correct

	* (c-parse.c): Put BISON parameters in correct

Tue Apr 20 16:38:11 1999  Richard Henderson  <>

	* (nt_lda): New pattern.
	* alpha.c (alpha_expand_prologue): Use it for large frames
	under windows nt.

Tue Apr 20 17:57:14 1999  Catherine Moore  <>

        * config/arm/ (movhi):  Add check for odd offset.

Tue Apr 20 13:14:58 EDT 1999  John Wehle  (

	* i386.c (output_move_double): Abort if a non-offsettable
	memory operand is encountered.  Delete unused code.
	(find_addr_reg): Remove.

Mon Apr 19 21:13:02 1999  Craig Burley  <>

	* tree.def (BLOCK): Fix typo in comment.

1999-04-19 14:51 -0400  Zack Weinberg  <>

	* cpplib.c (output_line_command): Drop CONDITIONAL argument.
	We can omit unnecessary line commands if file_change ==
	same_file and pfile->lineno != 0.  All callers changed.
	(cpp_get_token [case '\n']): Don't bump pfile->lineno if
	CPP_OPTIONS (pfile)->no_line_commands is set.
	* cpplib.h: Fix prototype of output_line_command.

1999-04-18 17:46 -0400  Zack Weinberg  <>

	* cppfiles.c (find_position, read_and_prescan): Use `unsigned
	long' variables consistently to count line and column numbers.

Sun Apr 18 15:50:33 EDT 1999  John Wehle  (

	* output.h (current_function_is_leaf,
	current_function_uses_only_leaf_regs): Declare.
	* function.c (current_function_is_leaf,
	current_function_uses_only_leaf_regs): Define.
	(init_function_start): Initialize current_function_is_leaf
	and current_function_uses_only_leaf_regs.
	* final.c (leaf_function): Don't define.
	(final_start_function): Replace uses of leaf_function with
	* toplev.c (rest_of_compilation): Set current_function_is_leaf
	prior to invoking local register allocation.
	(rest_of_compilation): Replace uses of leaf_function with
	* dbxout.c (dbxout_symbol, dbxout_parms): Likewise.
	* dwarf2out.c (add_location_or_const_vaule_attribute): Likewise.
	* dwarfout.c (add_location_or_const_value_attribute): Likewise.
	* sdbout.c (sdbout_symbol): Likewise.
	* sparc.c (eligible_for_epilogue_delay, output_return,
	sparc_return_peephole_ok): Likewise.
	* (leaf_function attribute, untyped_return): Likewise.
	* i386.c (ix86_compute_frame_size): Don't align the stack
	for leaf functions which don't allocate any stack slots.
	* tm.texi: Update documentation.

Sun Apr 18 02:15:09 PDT 1999 Jeff Law  (

	* version.c: Bump for snapshot.

Sun Apr 18 00:08:45 1999  Richard Henderson  <>

	* alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Correct last change --
	make sure FP_BASE_P registers are only used with an integer.

Sat Apr 17 22:54:17 1999  Richard Henderson  <>

	* alpha.h (REG_OK_FP_BASE_P): New macro.
	* (adddi3+1): New insn to handle large constants off
	the soft frame pointer.
	(adddi3+2): Don't split soft frame pointer or arg pointer additions.

Sun Apr 18 17:24:10 1999  Michael Hayes  <>

	* config/c4x/c4x.c (legitimize_operands): Use rtx_cost
	to determine if it is worthwhile forcing a constant into a register.
	* config/c4x/c4x.h (CONST_COSTS): An integer value of 255 or 65535
	used with a logical and or an integer value of 16 or 24 used with
	a right shift has zero cost on the C40.

Sat Apr 17 21:30:11 1999  Bernd Schmidt <>

	* gcse.c (compute_local_properties): If setp is nonzero, clear
	TRANSP instead of setting it to all ones.

Sat Apr 17 21:10:10 1999  Jan Hubicka <>

        * i386.c (i386_preferred_stack_boundary_string): New global variable.
        (i386_preferred_stack_boundary): New global variable.
        (override_functions): Set it.  Tidy option setting code.
        * i386.h (TARGET_OPTIONS): New command line option.
        (i386_preferred_stack_boundary_string): Declare it.
        (i386_preferred_stack_boundary): Likewise.
        (PREFERRED_STACK_BOUNDARY): Use i386_preferred_stack_boundary.

Sat Apr 17 19:22:38 1999  Jan Hubicka <>

	* i386.c (k6_cost): Take into account the decoding time.

Sat Apr 17 19:13:22 1999  Donn Terry  <>

        * i386.h (PRINT_OPERAND_PUNCT_VALID_P): Allow _.
        * i386.c (print_operand): New %_ operator.
	(load_pic_register): Proper number of leading _ in GOT literal.
        * (prologue_get_pc_and_set_got): Likewise.
        * i386/unix.h (ASM_OUTPUT_MI_THUNK): Likewise.

Sat Apr 17 19:13:07 1999  Richard Henderson  <>

	* alpha.c (alpha_expand_prologue): Use gen_adddi3 instead of
	emit_move_insn+plus_constant.  For NT, don't use the stack probe
	loop pointer to allocate stack space.
	* (adddi3): Always use lda to set the stack pointer.

1999-04-17 20:11 -0400  Zack Weinberg  <>

	* c-aux-info.c, emit-rtl.c, explow.c, expmed.c, gcse.c,
	haifa-sched.c, optabs.c, reorg.c, resource.c, sched.c: Include
	toplev.h for real declaration of trim_filename.
	* Update dependencies.

Sat Apr 17 14:36:19 1999  Craig Burley  <>

	* tree.c (chainon): Check for circularity only if
	ENABLE_CHECKING is defined.

1999-04-17 10:15 -0400  Zack Weinberg  <>

	* cccp.c: Make fatal non-static.

Sat Apr 17 23:47:24 1999  Michael Hayes  <>

	* config/c4x/ (*andqi3_255_clobber,*andqi3_65535_clobber):
	New logical and patterns using C40 bit-field insert instructions.
	*ashrqi3_16_clobber): New shift patterns using C40 bit-field insert

1999-04-16 22:44 -0400  Zack Weinberg  <>

	* system.h: Always prototype abort.  Prototype fatal.  Define
	abort to call fatal, not fprintf/exit.  Define a stub macro
	for trim_filename.
	* toplev.c: Define DIR_SEPARATOR.  (trim_filename): New
	* toplev.h: Prototype trim_filename, and #undef system.h's stub.

	* gcc.c, genattr.c, genattrtab.c, gencodes.c, genconfig.c,
	genemit.c, genextract.c, genflags.c, genopinit.c, genoutput.c,
	genpeep.c, genrecog.c: Make fatal non-static.
	* gcov.c, gengenrtl.c, protoize.c: #undef abort after
	including system.h.

	* config/i386/dgux.h, config/m68k/xm-amix.h: Remove stale code
	relating to abort.

Sat Apr 17 11:25:44 1999  Michael Hayes  <>

	* config/c4x/ (mulqf3_clrqf_clobber, mulqi3_clrqi_clobber):
	New patterns to support parallel multiply and load of zero.

Fri Apr 16 01:23:47 1999  Jason Merrill  <>

	* tree.c (valid_machine_attribute): If we're modifying the
	FUNCTION_TYPE within a POINTER_TYPE and we don't get a decl,
	update the POINTER_TYPE.

Fri Apr 16 00:19:31 1999  Jan Hubicka <>

	* i386.c (x86_adjust_cost): Move break statement to correct place.

Thu Apr 15 23:17:33 1999  Jerry Quinn <>

	8000 to PROCESSOR_8000.

Thu Apr 15 20:46:57 1999  Donn Terry (

	* expr.c (expand_assignment): Force pointers to proper mode if

	* xm-alpha.h (alloca.h): Add Interix to list of special machines
	that don't like alloca.h, pending using autoconf results.

	* except.c (start_catch_hadler): Be sure rtime_address is Pmode

	* except.c (expand_eh_return): Force pointers to proper mode if

Thu Apr 15 23:13:35 1999  Michael Hayes  <>

	* config/c4x/c4x.h:  Tweaked comment formatting.
	* config/c4x/c4x.c:  Likewise.

Thu Apr 15 02:45:19 1999  Mumit Khan  <>

        * aclocal.m4 (GCC_FUNC_MKDIR_TAKES_ONE_ARG): Define.
        * Use.
        * configure: Rebuilt.
        * acconfig.h (MKDIR_TAKES_ONE_ARG): Add.
        * Rebuilt.
        * system.h: Use.

Thu Apr 15 01:03:21 1999  Jan Hubicka <>
			  Jeff Law <>

	* (QImode add pattern): Support lea instruction.
	(HImode add pattern): Likewise.

	* (ashlsi patterns): Call output_ashl instead of output_ashlsi3.
	(ashlqi): Use expander, separate LEA and SAL / ADD patterns; call
	(ashlhi): Likewise.
	* i386.h (output_ashl): Renamed from output_ashlsi3.
	* i386.c (output_ashl): Likewise; support HImode and QImode operands
	as well.

	* (notsi, nothi, xorsi, xorhi, and xorqi patterns): Call
	memory_address_displacement_length instead of memory_address_length.
	* i386.c (memory_address_info): Renamed from memory_address_length.
	Accept new argument DISP_LENGTH.  All callers changed.  If DISP_LENGTH,
	then return the displacement length.  Else return length of the
	entire memory address.  Handle MULT case correctly.
	* i386.h (memory_address_info): Update declaration.

	* (memory_bit_test): Fix paren error.

Wed Apr 14 21:29:18 1999  Andrew Haley  <>

	* flow.c: (make_edges): Always make edges from a basic block
	to its exception handlers, even if the block ends with a jump.

1999-04-14 23:26 -0400  Zack Weinberg  <>

	* graph.c (node_data): Return void.  Ignore result of
	print_rtl_single.  Change caller to match.
	* integrate.c (subst_constants): Initialize op0_mode to an
	invalid mode, and abort before use if it's still invalid.
	(Can only happen if the RTX_CLASS, RTX_FORMAT tables are corrupted.)
	* objc/objc-act.c (get_objc_string_decl,
	build_selector_translation_table, generate_protocol_list,
	synth_id_with_class_suffix, build_keyword_selector,
	build_selector_expr, gen_declarator): Abort when the tree
	structure is corrupted.

Wed Apr 14 19:57:49 1999  Jeffrey A Law  (

	* (alpha interix): Use symbolic names to set
	* configure: Rebuilt.

	* explow.c (allocate_dynamic_stack_space): Undo last change.  Use
	convert_memory_address instead.

Wed Apr 14 19:42:02 1999  Donn Terry (

	* alpha/lib1funcs.asm: New file.
	* alpha/t-interix (lib1funcs.asm): Add to build.

	* explow.c (allocate_dynamic_stack_space): Correctly convert TARGET
	to Pmode.

Wed Apr 14 14:26:36 1999  John Wehle  (

	* (truncxfdf): Output the template supplied
	by output_move_double with the correct operands.

	* (extendsfdf, extendsfxf, extenddfxf): Use
	output_float_extend instead specifying '#' as the template.
	* i386.c (output_float_extend): Define.
	* i386.h (output_float_extend): Declare.

Wed Apr 14 10:48:03 1999  Catherine Moore  <>

	* config/mips/elf.h, config/mips/elf64.h
	(INVOKE__main): Define.
	(NAME__MAIN): Define.
	(SYMBOL__MAIN): Define.
	(CTOR_LIST_END): Define.
	(DTOR_LIST_END): Define.
	(LIB_SPEC): Define.
	(ENDFILE_SPEC): Define.
	* config/mips/linux.h:  Undefine all of the above.
	* config/mips/rtems64.h: Likewise.
	* config/mips/t-r3900: Likewise.
	* config/mips/t-elf: New file.
	* config/mips/vxworks.h: New file.
	* (mips-wrs-vxworks): Use mips/vxworks.h.
	(mips*-*-*elf*):  Use t-elf instead of t-ecoff.
	* configure: Regenerate.

Wed Apr 14 09:59:38 1999  Richard Henderson  <>

	* reload1.c (emit_reload_insns): Also find equivalent mems
	for subregs of pseudos.

	* alpha.c (aligned_memory_operand): Recognize the output of
	LEGITIMIZE_RELOAD_ADDRESS.  Examine reg_equiv_memory_loc in
	the event of a pseudo.
	(unaligned_memory_operand): Likewise.  Don't otherwise accept
	completely illegal addresses.
	(normal_memory_operand): Likewise.  Handle subregs of pseudos.
	(get_aligned_mem): Revert previous change.  Abort if we don't have a
	mem.  During reload, call find_replacement on all illegal memories.
	(get_unaligned_address): Likewise.
	* alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Use !aligned_memory_operand
	instead of unaligned_memory_operand.
	* Revert extra argument to get_aligned_mem.
	(reload_inqi): Use any_memory_operand in constraints.  Abort if
	we're not given some sort of mem.
	(reload_inhi): Likewise.
	(reload_outqi, reload_outhi): Likewise.

Wed Apr 14 09:39:20 1999  Richard Henderson  <>

	* (neghi): Use the whole register when widening the op.

1999-04-14 12:37 -0400  Zack Weinberg  <>

	* cpperror.c, cppexp.c, cpplib.c: Never call abort.
	* cpphash.c: Only call abort when we detect corruption of the
	malloc arena.
	* cppmain.c: Don't define fatal or fancy_abort.

Wed Apr 14 09:19:39 1999  Jan Hubicka <>

	* i386.c (x86_adjust_cost): Agi stall takes 1 cycle on Pentium, fst
	requires value to be ready one extra cycle.

Wed Apr 14 11:28:34 1999  Dave Brolley  <>

	* config/i386/i386.c (memory_address_length): Add missing parenthesis.

Wed Apr 14 13:59:27 1999  Martin von Loewis  <>

	* extend.texi (Deprecated Features): New node.
	* invoke.texi (-Wdeprecated): Document.

Wed Apr 14 00:18:22 1999  Jan Hubicka <>

	* (SImode logical compare): Avoid outputing non-pariable testw
	and testl on Pentium.
	(register and memory bit tests): Likewise.
	(setcc, normal and reversed conditional branches): Use shorter
	sequence for testing flags stored in EAX.

	* (xorsi3): Do not output NOT instrctions on Pentium.
	(xorqi3): Likewise.
	(xorhi3): Likewise.
	(notsi2): Likewise.
	(notqi2): Likewise.
	(nothi2): Likewise; do not output prefixed opcodes when possible.

	* (neghi2): Do not output prefixed opcode when possible.
	(ashlhi3): Likewise.

Wed Apr 14 00:08:46 1999  Richard Henderson  <>

	* i386.c (memory_address_length): New function.
	* i386.h (memory_address_length): Declare it.

Tue Apr 13 22:52:04 1999  Donn Terry (
			  Martin Heller (

	* (interix Alpha): Add.
	(winnt Alpha): Use alpha32.h
	(interix i386): Parallel Alpha32.
	* configure: Rebuilt.

	* config/interix.h: Move common elements from i386-interix.h.
	* config/i386/i386-interix.h: Delete same.
	* config/alpha/alpha-interix.h: New file.

	* config/alpha/alpha32.h: New file, part fron win-nt.h.
	* config/alpha/win-nt.h: Deletions (-> alpha32.h).
	* config/alpha/interix.h: New file

	* config/alpha/ (interix): Comment.

	* config/alpha/xm-alpha-interix.h: New file.

	* config/alpha/t-interix: New file.

	* fixinc/ (interix/Alpha): Add.

1999-04-13  Mike Stump  <>

	* i386/vxi386.h (CPP_CPU_SPEC): Define appropriately for vxworks.

Tue Apr 13 21:01:36 1999  Jason Merrill  <>

	* c-common.c (default_valid_lang_attribute): New fn.
	(valid_lang_attribute): New callback ptr.
	(decl_attributes): Call it.  Move init_priority support into
	C++ frontend.

Tue Apr 13 17:47:14 1999  John Wehle  (

	* (movdi): Add splitter.

Wed Apr 14 10:04:27 1999  Michael Hayes  <>

	* config/c4x/ (storeqf_int, storeqf_int_clobber, loadqf_int,
	loadqf_int_clobber): Add new patterns with corresponding splitters
	to handle moves of floating point values into and out of intager
	registers by using memory.

	* config/c4x/c4x.c (c4x_check_legit_addr): Disallow PRE_INC for modes
	other than QFmode and QImode.
	(mixed_subreg_operand): New function.
	(c4x_emit_move_sequence): If moving a floating point value into or
	out of an integer register, use the new patterns storeqf_int_clobber
	or loadqf_int_clobber.
	(reg_imm_operand, *_reg_operand): Call reg_operand instead of
	(reg_operand, src_operand): Disallow operand if it satisifes

	* config/c4x/c4x.h (mixed_subreg_operand): Add prototype.

Tue Apr 13 14:49:13 1999  Jan Hubicka  <>

	* i386.c (agi_dependent): Handle push operation more correctly.

Tue Apr 13 14:45:17 1999  Jan Hubicka  <>

	* (anddi3): Add % constraint.
	(iordi3, xordi3): Likewise.

Tue Apr 13 14:29:58 1999  Jan Hubicka  <>

	* (extendhisi2): Output mov instead of cw instruction for K6
	to improve decoding bandwidth.
	* (extendhiqi2): Likewise.

Tue Apr 13 14:26:31 1999  Jan Hubicka  <>

	* (movsf_push): Handle memory to memory case too, new splitter.
	(movdf_push, movxf_push): Likewise.
	(movsf_push_memory, movdf_push_memory, movxf_push_memory): Remove.

Tue Apr 13 14:14:06 1999  Jan Hubicka  <>

	* Do not output mov %0,reg on AMD K6.

Tue Apr 13 12:14:07 1999  Dave Brolley  <>

	* cppinit.c (cpp_start_read): Fix buffer overwrite.
	* (cppinit.o): Typo in dependencies.

Tue Apr 13 05:04:59 1999  Richard Earnshaw  (

	* arm.h (function prototypes for arm.c): Ifdef these out if
	HAVE_CONFIG_H is not defined.

Tue Apr 13 02:11:11 1999  Jeffrey A Law  (

	* pa.c: Avoid Using immediate zero for register zero.
	* Likewise.

	* pa.c (print_operand, case 'f'): New case for FP register or 0.0.
	(print_operand, case 'r'): Use %r0 for zero value.
	* (move patterns, fcmp patterns): Use new %f output arg.

	* pa.c: Use a register name, not a raw immediate in branch,
	compare/clear, sub, subb, uaddcm and vshd instructions.
	* Likewise.

	*, pa.h, ee.asm, ee_fp.asm, lib2funcs.asm: Likewise.

	* pa.c: Use a register name, not a raw immediate in "bv" instructions.
	*, pa.h, ee.asm, ee_fp.asm, lib2funcs.asm: Likewise.

	* pa.c: Remove space register specification in memory addresses,
	except where it is actually needed.
	*, pa.h, ee.asm, ee_fp.asm, lib2funcs.asm: Likewise.

Mon Apr 12 23:34:35 1999  Jeff Law  (

	* version.c: Bump for snapshot.

Mon Apr 12 14:58:30 1999  Jan Hubicka  <>

	* reg-stack.c (check_stack_regs_mentioned): Remove variable SIZE.

Mon Apr 12 19:15:17 1999  Daniel Jacobowitz  <>

	* rs6000/sysv4.h (CPP_OS_LINUX_SPEC): Add missing backslash.

Mon Apr 12 19:11:38 1999  Mumit Khan  <>

	* i386/cygwin.h (SUBTARGET_SWITCHES): Add -mconsole; fix
	-mno-nop-fun-dllimport and minor doc fixes.
	(STARTFILE_SPEC): Cygwin DLLs don't have dllcrt0.
	(LINK_SPEC): Add -mconsole support.
	* i386/mingw32.h (LIB_SPEC): Make libraries consistent with
	(LINK_SPEC): Remove. Use Cygwin's version.
	(MATH_LIBRARY): Make it null.
	* i386/crtdll.h (MATH_LIBRARY): Likewise.

Fri Apr 12 15:00:52 1999  Stan Cox  <>

	* c-decl.c (c_decode_option, start_decl, start_function,
	finish_function) : Recognize -Wno-main so we can avoid warnings.

1999-04-12  Zack Weinberg  <>

	* cpphash.c (collect_expansion, macroexpand,
	push_macro_expansion): Make the escape character in macro
	buffers '\r', not '@'.  Remove code to protect literal
	occurences of the escape character; '\r' cannot appear
	in a macro buffer unless we put it there.
	* cpplib.c (skip_comment, copy_comment, cpp_skip_hspace,
	copy_rest_of_line, cpp_get_token, parse_string,
	parse_assertion): '\r' might be a backslash-newline marker, or
	it might be a macro escape marker, depending on
	CPP_BUFFER (pfile)->has_escapes.  '@' is not a special
	* cpplib.h: Update commentary.

Mon Apr 12 09:30:03 1999  Richard Earnshaw  (

	* arm.h (target_fp_name, structure_size_string, arm_cpu_select):
	* arm.c (target_fp_name, structure_size_string): Const-ify.

	* (reload_inhi, reload_outhi): Make the scratch DImode.
	* arm.c (arm_reload_in_hi): Handle cases when the input is still
	a pseudo, make use of scratch registers for reloading the address
	as appropriate.
	(arm_reload_outhi): Similarly for when the output is still a pseudo.

	* riscix.h (SUBTARGET_SWITCHES): Document.

1999-04-12  Bruce Korb  <>

	* fixincludes:
	make fixincludes behave like the scripts in fixinc/

	* stmp-fixinc ):
	ensure the SHELL value is that of the make

	* fixincl/inclhack.tpl:
	the file name lists ought to be restricted to "*.h" anyway
	C++ files may be named .../[a-z]++/... also
	Adding copyright year and attribution to output

	* fixincl/inclhack.def:
	fixed broken expression
	Clarify a some comments

	* fixincl/fixincl.tpl:
	Clarify a some comments
	Remove dead template text
	Correct the counting of regular expressions

Mon Apr 12 03:07:44 1999  Richard Henderson  <>

	* alpha.c (aligned_memory_operand): Handle out of range stack slots.
	Take a new SCRATCH argument for the occasion.  Update all callers.
	(get_unaligned_address): Abort on out of range stack slots.
	* (adddi3 splitter): Check s_p_rtx not REGNO.
	(reload_inqi): Check for aligned mems before unaligned.
	(reload_inhi): Likewise.

Mon Apr 12 03:11:30 1999  Jeffrey A Law  (

	* flow.c (flow_delete_insn): If we delete a CODE_LABEL, also remove
	it from the nonlocal_goto_handler_labels list.
	* jump.c (delete_insn): Likewise.
	(jump_optimize_1): Also recompute LABEL_NUSES when we are just
	marking labels.
	* rtl.h (remove_node_from_expr_list): Declare.
	* rtlanal.c (remove_node_from_expr_list): New function.

Mon Apr 12 02:37:02 1999  Jan Hubicka  <>

	* reg-stack.c: Update comment, include varray.h.
	(stack_regs_mentioned_data): New global variable.
	(check_stack_regs_mentioned): New function.
	(stack_regs_mentioned): New function.
	(reg_to_stack): Initialize and free stack_regs_mentioned_data,
	use stack_regs_mentioned.
	(record_asm_reg_life): Change insn type cache for changed insn.
	(record_reg_life): Do not change the insn mode.
	(emit_pop_insn): Likewise.
	(emit_swap_insn): Likewise.
	(move_for_stack_reg): Likewise.
	(stack_reg_life_analysis): Use stack_regs_mentioned.
	(emit_swap_insn): Likewise.
	(subst_stack_regs): Likewise.
	(convert_regs): Likewise.
	* jump.c (find_cross_jump): Use stack_regs_mentioned.
	* rtl.h (stack_regs_mentioned): Declare.

Mon Apr 12 00:57:10 1999  Theodore Papadopoulo  <>

	* integrate.c (INTEGRATE_THRESHOLD): Sync it with the comment.

Sun Apr 11 10:24:18 1999  Mark Mitchell  <>

	* rtl.h (rtx_def): Update documentation for jump and call.

Sun Apr 11 07:43:44 1999  Kaveh R. Ghazi  <>

	* jump.c (jump_optimize_1): Make the definition static to match
	the prototype.

Sat Apr 10 22:51:53 1999  Jan Hubicka  <>

	* flow.c (life_analysis): New parameter remove_dead_code.
	(life_analysis_1): Likewise.
	(propagate_block): Likewise; use it.
	* output.h: Update prototype.
	* toplev.c: Update calls to life_analysis.

Sat Apr 10 22:12:12 1999  Jan Hubicka  <>

	* recog.c (constrain_operands): Ignore unary operators when
	matching operands.  Recognize '5'..'9' as well.

Sat Apr 10 21:53:02 1999  Philipp Thomas  (
			  Richard Henderson  <>

	* Set target_cpu_default2 for target_alias k6.
	* i386.h (TARGET_SWITCHES): Remove no-<cpu> entries.
	(CC1_CPU_SPEC): Likewise.
	(CPP_CPU_DEFAULT_SPEC): Streamline definition.  Add K6 version.
	(CPP_K6_SPEC): New.
	(CPP_CPU_SPEC): Add K6 variant.
	(EXTRA_SPECS): Likewise.

Fri Apr  9 11:29:17 1999  Richard Henderson  <>

	* flow.c (merge_blocks_nomove): Rewrite to properly handle two
	blocks that vanish entirely during merging.

Sat Apr 10 20:09:55 1999  John Wehle  (

	* (floatsisf2, floatdisf2, floatsidf2, floatdidf2,
	floatsixf2, floatdixf2, movsicc, movhicc, movsfcc, movdfcc,
	movxfcc, movdicc): Remove unused register constraints from
	the splitters.

	* (fixuns_truncsfsi2, fixuns_truncdfsi2,
	fixuns_truncxfsi2): Delete.

	* reg-stack.c (delete_insn_for_stacker): Ensure that
	the only side effects of a PARALLEL are clobbers.
	(subst_stack_regs): Handle subst_stack_regs_pat deleting
	* (extendsfdf2, extenddfxf2,
	extendsfxf2): Rewrite using a splitter.
	* i386.c (output_op_from_reg): Remove.
	* i386.h: Likewise.

Sat Apr 10 13:09:18 1999  Nick Clifton  <>

	* config/arm/arm.c (di_operand): Allow SUBREGs as well.
	(soft_df_operand): Allow SUBREGs as well.

Sat Apr 10 06:14:31 1999  Jan Hubicka  <>

	* extend.texi (Assembler Instructions with C Expression Operands):
	Document the i386 floating point operands.

1999-04-10  Mike Stump  <>

	* (*-*-vxworks): Add vxWorks thread support for all
	vxWorks targets.
	* (thumb-wrs-xvworks): Add vxWorks support for thumb.
	* configure: Rebuilt.

Sat Apr 10 06:04:50 1999  Donn Terry  (

	* i386/t-interix: Use mostly system headers unchanged.
	Use system assert.h
	* fixinc/fixinc.interix: Ditto (make almost no-op).
	* config/x-interix.h (_ALL_SOURCE): add -D
	* config/x-interix.h (crti.o): Delete dependency.
	* config/xm-interix.h (ONLY_INT_FIELDS): Define only when bootstrapping.
	* i386/xm-i386-interix.h: New file.
	* i386/interix.h (ASM_OUTPUT_LIMITED_STRING): Fix warnings.
	* i386/i386-interix.h: Renamed from interix.h.
	* (interix): Use new files.
	* configure: Rebuilt.

Sat Apr 10 05:25:28 1999  Daniel Jacobowitz  <>

	* rs6000/sysv4.h (CPP_OS_LINUX_SPEC): Fix conditions
	for -Dunix and -Dlinux, and remove duplicate definition.
	Change -Asystem(linux) to -Asystem(posix).
	(CPP_OS_SOLARIS_SPEC): Fix conditions for -Dunix, -Dsun,

	* rs6000/linux.h (CPP_PREDEFINES): Remove -Dunix,
	-Dlinux, -Asystem(linux), and -Asystem(unix).

Sat Apr 10 05:14:50 1999  Mark Elbrecht  <>

	* i386/djgpp.h (SET_ASM_OP): Define.

	* cccp.c (DIR_SEPARATOR): Move to the top of the file.
	(is_dir_separator): New function.
	(simplify_filename): Use it.
	* collect2.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM in place
	of the DIR_SEPARATOR test.
	Consider any file starting with a drivename to be absolute.
	If the absolute filename test fails and EXECUTABLE_SUFFIX is
	defined, append EXECUTABLE_SUFFIX to the file and try again.
	* cppinit.c (base_name): Use HAVE_DOS_BASED_FILE_SYSTEM
	in place of __MSDOS__ and _WIN32.
	* cppfiles.c (simplify_pathname): Likewise.
	* gcc.c (IS_DIR_SEPARATOR): Define new macro. Returns true if a
	character is a directory separator.
	(find_a_file): Use it.
	(convert_filename): Likewise.
	(process_command): Likewise.
	(do_spec_1): Likewise.
	(is_directory): Likewise.
	(main): Likewise.
	* prefix.c (IS_DIR_SEPARATOR): Define. Tests whether a character is
	a directory separator.
	(translate_name): Use it.
	(update_path): Change DIR_SEPARATOR_2 to DIR_SEPARATOR. Fix
	warning in block where '/' is changed to DIR_SEPARATOR.
	* i386/xm-djgpp.h (DIR_SEPARATOR): Set to '/'.
	(DIR_SEPARATOR_2): New macro. Set to '\'.
	* i386/xm-mingw32.h: Updated copyright. Set
	* i386/xm-os2.h: Likewise.
	* winnt/xm-winnt.h: Likewise.
	* i386/xm-dos.h: Likewise.  Add copyright.

1999-04-10  Joseph S. Myers  <>

	* pdp11.h (TARGET_SWITCHES): Add option to vary assembler syntax.
	(TARGET_DEFAULT): Possibly use UNIX syntax.
	(REGISTER_NAMES): Use "r5" instead of "fp".
	(ASM_OUTPUT_ALIGN): Use ".even" directive, and abort for any
	greater alignment.
	* 2bsd.h (TARGET_UNIX_ASM_DEFAULT): Default to UNIX assembler
	syntax for 2BSD.
	* pdp11.c (output_ascii): Use working syntax for ".byte".
	(print_operand_address): Use "*" instead of "@" when using UNIX
	assembler syntax.

Sat Apr 10 03:50:12 1999  Jeffrey A Law  (

	* rtl.h (rebuild_jump_labels): Declare.
	* jump.c (jump_optimize_1): Renamed from jump_optimize.  Make static.
	Add new argument MARK_LABELS_ONLY.  Quit after mark_all_labels if
	(jump_optimize, rebuild_jump_labels): New wrapper functions for
	* toplev.c (rest_of_compilation): Use rebuild_jump_labels instead of
	running the entire jump optimizer.

	* rtl.h (local_alloc): Returns an integer now.
	* local-alloc.c (recorded_label_ref): New file scoped variable.
	(local_alloc): Initialize recorded_label_ref to zero.  Return its
	value when local allocation has completed.
	(update_equiv_regs); If we create an equivalence for a LABEL_REF,
	set recorded_label_ref.
	* toplev.c (rest_of_compilation): Run the jump optimizer after
	register allocation and reloading if needed.

Fri Apr  9 21:02:57 1999  Krister Walfridsson  (

	* i386/gas.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Fix typo.
	* i386/freebsd-elf.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.

1999-04-09  Zack Weinberg  <>

	* cpphash.c (special_symbol): When expanding __LINE__, use the
	top file buffer, not the top buffer.

Fri Apr  9 13:41:04 1999  Jim Wilson  <>

	* (check-g++, check-gcc, check-g77, check-objc): Add
	cd .. to TCL_LIBRARY command.

Fri Apr  9 13:04:52 1999  Nick Clifton  <>

	* config/arm/unknown-elf.h (SUBTARGET_CPU_DEFAULT): Only define if
	not already specified.

Fri Apr  9 11:18:55 1999  Jason Merrill  <>

	* c-common.c (decl_attributes, A_INIT_PRIORITY): Allow arrays
	of classes, too.

Fri Apr  9 10:40:10 1999  Kaveh R. Ghazi  <>

	* rs6000.c (rs6000_override_options, ptt, rs6000_file_start,
	rs6000_float_const, rs6000_replace_regno, debug_stack_info,
	rs6000_output_load_toc_table, output_prolog, output_epilog):
	Const-ify a char*.
	(output_mi_thunk): Likewise.  Mark parameter `thunk_fndecl' with
	ATTRIBUTE_UNUSED.  Hide unused variables `r0', `sp', `toc',
	`schain', `r12', `buf' and `labelno'.
	(output_ascii): Const-ify a char*.
	(rs6000_gen_section_name): Initialize variable `last_period'.
	(rs6000_adjust_priority): Mark parameter `insn' with
	(rs6000_trampoline_template, rs6000_dll_import_ref,
	rs6000_longcall_ref, rs6000_encode_section_info): Const-ify a char*.

	* rs6000.h (offsettable_mem_operand, optimization_options): Add

	* (movdi, define_split): Cast a value to HOST_WIDE_INT
	when comparing against one.

Thu Apr  8 19:20:18 1999  Jeffrey A Law  (

	* expr.c (expand_expr, case ARRAY_REF, COMPONENT_REF, BIT_FIELD_REF):
	Do not try to optimize a aggregate address which has VOIDmode.
	Mirrors March 23 change to expand_assignment.

	* flow.c (delete_unreachable_blocks): Do not require EDGE_FALLTHRU
	for an edge when tidying an edge which connects consecutive basic

	* flow.c (can_delete_label_p): Do not convert a label into a
	deleted label here.

	* cse.c (flush_hash_table): New function.
	(cse_insn): Flush the hash table when we encounter a volatile asm.
	(cse_basic_block): Use flush_hash_table instead of doing it

	* reload1.c (reload_cse_regs_1): Flush known register values if
	we encounter a volatile asm.

	* loop.c (strength_reduce): Re-enable Joern's loop improvements.

Thu Apr  8 09:37:40 1999  Nick Clifton  <>

	* config/arm/arm.c (arm_print_operand): Undo previous change -
	always print large constants in decimal.

Thu Apr  8 10:22:23 1999  Kaveh R. Ghazi  <>

	* (host_xm_file, build_xm_file): Include hwint.h.
	Use case statements instead of "if test -a ... -a ... -a ..."

	* machmode.h: Don't define HOST_WIDE_INT, etc. Wrap use of
	HOST_WIDE_INT in #ifdef.

	* mips.h: Include hwint.h instead of providing definitions for
	HOST_WIDE_INT, etc.  Wrap uses of HOST_WIDE_INT in #ifdef.

Thu Apr  8 06:16:14 1999  John Wehle  (

	* (truncdfsf2, truncxfsf2,
	truncxfdf2): Rewrite using a splitter.

Thu Apr  8 01:26:05 1999  Arg Haas  (
			  Jeffrey A Law  (

	* freebsd-elf.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Avoid ambiguous
	else statement.
	* gas.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.
	* linux.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.
	* openbsd.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.

Wed Apr  7 22:40:19 1999  Jim Wilson  <>

	* i960/i960.c (i960_function_prologue): Don't save static chain
	* i960/i960.h (STACK_CHAIN_REGNUM): Change from r3 to g12.
	(FRAME_POINTER_REQUIRED): Check current_function_has_nonlocal_goto.
	* i960/ (nonlocal_goto): Rewrite.

Tue Apr  6 17:49:49 1999  Philip Blundell  <>

	* config/arm/lib1funcs.asm: Test for __ELF__ not __elf__.

Wed Apr  7 14:07:34 1999  Jeffrey A Law  (

	* h8300.c (h8300_adjust_insn_length): Also avoid recognizing

	* h8300.c (h8300_adjust_insn_length): Avoid trying to recognize

	* unroll.c (unroll_loop): For HAVE_cc0 machines, adjust copy_end_luid
	to account for the uncopied insn that sets cc0 at the end of the loop.

	* unroll.c (copy_loop_body): Always ensure at least two insns
	are in the copied loop.

Wed Apr  7 14:52:18 1999  Catherine Moore  <>

	* config/mips/elf.h (MAKE_DECL_ONE_ONLY): Define.

1999-04-07  Bruce Korb  <>

	* fixinc/inclhack.tpl & fixincl.tpl:
	Remove dynamic content from generated files

Wed Apr  7 13:16:22 1999  John Wehle  (

	* i386.c (output_move_memory): Remove.
	* i386.h: Likewise.

	* (movsi, movhi, movstricthi, movqi, movstrictqi,
	movsf, movdf, movxf, movdi): Check no_new_pseudos instead
	of (reload_in_progress | reload_completed).

Wed Apr  7 03:16:45 1999  Richard Henderson  <>

	* alpha.c (reg_no_subreg_operand): New function.
	* alpha.h (PREDICATE_CODES): Add it.
	* (floatdi?f patterns): Use it for op1.

	* alpha.c (alpha_end_function): Don't flag weak functions.

Wed Apr  7 02:11:55 1999  Richard Henderson  <>

	* expr.c (expand_builtin) [BUILT_IN_RETURN_ADDRESS]: Use
	copy_to_mode_reg; don't force constants into a register.

Tue Apr  6 22:55:25 1999  Richard Henderson  <>

	* toplev.c (compile_file): Typo flow_dump -> flow2_dump.

1999-04-06  Joseph S. Myers  <>

	* pdp11.c (simple_memory_operand): Add default case in switch.
	* pdp11.h (TARGET_SWITCHES): Add help strings.
	(NOTICE_UPDATE_CC): Don't include excess argument to format.

Tue Apr  6 22:09:40 1999  Richard Henderson  <>

	* expr.c (expand_builtin_setjmp): Put setjmp return label on
	nonlocal_goto_handler_labels for flow.

Tue Apr  6 22:05:21 1999  Jan Hubicka  <>
			  Richard Henderson  <>

	* flow.c (verify_flow_info): New function.
	(find_basic_blocks): Call it if ENABLE_CHECKING.
	(merge_blocks): Don't merge if there are non-deletable labels.
	* toplev.c (fatal_insn): Allow a printf-style arg list.
	* toplev.h (fatal_insn): Update prototype.

Tue Apr  6 16:18:58 1999  Jan Hubicka  <>

	* flow.c (split_edge) update correctly flow graph, disable
	EDGE_CRITICAL flag on the split edge, update NUSES for new label.

Tue Apr  6 15:47:51 1999  Richard Henderson  <>

	* emit-rtl.c (gen_rtx_CONST_DOUBLE): Use XWINT not XINT.
	Clear third and following slots, if they exist.

Tue Apr  6 15:45:28 1999  Richard Henderson  <>

	* flow.c (create_basic_block): Make sure the bb note is in the block.
	(can_delete_note_p): Rename from delete_note_p.
	(delete_insn_chain): Preserve undeleteable labels too.
	(tidy_fallthru_edge): Use next_real_insn instead of confusing
	inline code.

1999-04-06  Zack Weinberg  <>

	* cppexp.c (parse_charconst): Initialize c.
	(cpp_parse_expr): Initialize rprio.
	* cppfiles.c (merge_include_chains): Initialize prev.
	(finclude): Set fp->line_base to fp->buf before returning.
	* cpphash.c (macroexpand): Initialize token.
	* cppspec.c (lang_specific_driver): Change suff to
	const char *const *.

1999-04-06  Zack Weinberg  <>

	* cppinit.c (install_predefs): Delete function.
	(cpp_start_read): Don't call install_predefs.
	(cpp_handle_option): Remove case 'u' and all refs to
	(print_help): Don't mention -undef.
	(initialize_builtins): Define __HAVE_BUILTIN_SETJMP__, to
	match cccp.
	* cpplib.h (struct cpp_options): Remove inhibit_predefs

	* cccp.c (predefs): Delete variable.
	(main): Remove case 'u' in argument parse loop,
	'inhibit_predefs' variable, and the code block that would
	(initialize_builtins): Don't define __OBJC__, the driver will
	do that.

	* gcc.c (default_compilers): Remove -undef from all specs that
	invoke a C preprocessor.
	* ch/lang-specs.h: Likewise.
	* cp/lang-specs.h: Likewise.
	* f/lang-specs.h: Likewise.
	* objc/lang-specs.h: Likewise.

Mon Apr  5 11:55:31 1999  Donn Terry  (

	* (SUBDIR_FLAGS_TO_PASS): Fix misapplied patch.

Mon Apr  5 11:51:38 1999  Jeffrey A Law  (

	* (movdf): Hide GPR sources & destinations from regclass.

Mon Apr  5 09:54:42 1999  Jeff Law  (

	* version.c: Bump for snapshot.

Mon Apr  5 05:55:15 1999  Bruce Korb  <>

	* fixincl.tpl: Separate "-e" from its argument, a la
	the Sat Apr  3 17:05:13 1999 fix.
	* genfixes: Ensure that the server shell is _NOT_ csh.

Mon Apr  5 03:52:30 1999  Jeff Law  (

	* version.c: Bump for snapshot.

Mon Apr  5 04:47:14 1999  Jeffrey A Law  (

	* i386.c (x86_double_with_add): Turn off for Pentium and PPro.
	(small_shift_operand, output_ashlsi3): New functions.
	* i386.h (small_shift_operand, output_ashlsi3): Declare.
	* (ashlsi3): Simplify ahlsi3 patterns.  Remove splitters
	that are no longer needed.

Sun Apr  4 04:05:04 1999  Jeffrey A Law  (

	* stmt.c (expand_loop_end): When copying the loop exit test,
	do not walk into a nested loop.

Sun Apr  4 00:14:54 1999  Jeffrey A Law  (

	* fixinc/hackshell.tpl: Skip links to directories, to avoid
	removing them.
	* fixinc/inclhack.tpl: Likewise.
	* fixinc/, fixinc/fixincl.x, fixinc/ Rebuilt.

Sat Apr  3 23:46:13 1999  David Edelsohn  <>

	* (addsi3, iorsi3, xorsi3, adddi3, iordi3, xordi3,
	movsi_got, movsi, movsf): Use no_new_pseudos.
	* rs6000.c (rs6000_got_register): Likewise.
	(offsettable_mem_opereand): Use || not |.

Sat Apr  3 22:02:56 1999  Jeffrey A Law  (

	* acconfig.h (ENABLE_CHECKING): Remove redundant #undef.
	* Rebuilt.

Sat Apr  3 16:22:59 1999  Toshiyasu Morita  (

	* gcc.texi: Add info on regmove pass.

	* regmove.c (fixup_match_1): Consistently evaluate

Sat Apr  3 19:21:05 1999  Alexandre Oliva  <>

	instead of test and sed to check whether they're GNU programs.
	* configure: Rebuilt.

Sat Apr  3 17:57:35 1999  Alexandre Oliva  <>

	* (install-headers-tar, install-headers-cpio): Avoid
	problems with CDPATH.
	Reported by Ralf Canis <>

Sat Apr  3 13:50:16 1999  Jeffrey A Law  (

	* fixinc.x86-linux-gnu: Deleted.

Sat Apr  3 17:05:13 1999  Alexandre Oliva  <>

	* inclhack.tpl: Insert spaces between `sed -e' and '...'.
	Reported by Kaveh R. Ghazi <>
	* fixinc/, fixinc/fixincl.x, fixinc/ Regen.

Sat Apr  3 14:54:46 1999  Craig Burley  <>

	* tree.def (BLOCK): Fix typo in comment.

Sat Apr  3 00:53:29 1999  John Wehle  (

	* (floatsisf2, floatdisf2, floatsidf2, floatdidf2,
	floatsixf2, floatdixf2): Rewrite using a splitter.

Fri Apr  2 17:36:10 1999  Nick Clifton  <>

	* config/arm/arm.c (arm_print_operand): Print large constants in
	hex rather than decimal.

Fri Apr  2 17:23:58 1999  Nick Clifton  <>

	* print-rtl.c (print_rtx): Use both HOST_WIDE_INT_PRINT_DEC
	and HOST_WIDE_INT_PRINT_HEX to display constants.

1999-04-02  Zack Weinberg  <>

	* config/i386/i386.h: Document all TARGET_SWITCHES or add
	explicit null initializer.

	* config/i386/cygwin.h: Document all SUBTARGET_SWITCHES.
	* config/i386/dgux.h: Likewise.
	* config/i386/osf1elf.h: Likewise.
	* config/i386/win32.h: Likewise.
	* config/i386/osfrose.h: Likewise.  Drop obsolete -mno-ident option.

Fri Apr  2 17:49:44 1999  Toshiyasu Morita  <>

	* regmove.c (fixup_match_1): Remove now useless if (0).

Sat Apr  3 11:37:20 1999  Michael Hayes  <>




Fri Apr  2 16:03:05 1999  Jeffrey A Law  (

	* fixinc.dgux, fixinc.interix, fixinc.irix, fixinc.ptx: Deleted.
	* fixinc.sco, fixinc.svr4, fixinc.winnt, fixinc.wrap: Likewise.

Fri Apr  2 15:46:25 1999  Donn Terry  (

	* Set and substitute quoted_cc_set_by_configure.
	* configure: Rebuilt.
	* (SUBDIR_FLAGS_TO_PASS): Fix quoting problem with ``.

Fri Apr  2 14:35:45 1999  Stan Cox  <>

	* config/i386/cygwin.h (CPP_SPEC): Use mingw_include_path instead
	of a hardcoded path for -mno-cygwin.
	(mingw_include_path): New.

1999-04-02  Joseph S. Myers  <>

	* pdp11.c: Include "recog.h".
	(output_function_prologue): Remove unused variables `nregs', `i',
	(output_function_epilogue): Remove unused variables
	`may_call_alloca', `nregs', `regno', `adjust_fp'.
	(output_ascii): Mark as returning void.
	(print_operand_address: Likewise.
	(simple_memory_operand): Remove unused variables `plus0', `plus1',
	* pdp11.h: Declare functions `arith_operand',
	`const_immediate_operand', `expand_shift_operand',
	`legitimate_address_p', `notice_update_cc_on_set', `output_ascii',
	`output_function_epilogue', `output_function_prologue',
	`print_operand_address', `register_move_cost',
	(HARD_REGNO_MODE_OK): Parenthesize `REGNO' arg.
	(REGNO_REG_CLASS): Likewise.
	* Add explicit `int' to `static count' (in two places).
	(addhi3): Add explicit braces to avoid ambiguous else.
	(addqi3): Likewise.
	(ashlhi3): Likewise.

Fri Apr  2 14:17:10 1999  Jerry James  <>

	* gcc/invoke.texi: Add documentation for additional supported
	MIPS CPU types, options -mips16 and -mentry, and ABI and ISA

Fri Apr  2 14:12:06 1999  John Wehle  (

	* Delete floating point compare, add, subtract,
	multiply, and divide patterns which allowed integer
	* i386.c (output_387_binary_op): Delete unused code.
	(output_float_compare): Likewise.

Fri Apr  2 11:53:37 1999  John Wehle  (

	* (movsf+1, movdf+1, movxf+1): Update constraints
	so that SECONDARY_MEMORY_RELOAD is used.  Remove dead code.

1999-04-02  Bruce Korb  <>

	* fixinc/ Added support for x86-interix.
	* fixinc/fixinc.interix: Fixincludes script, slight changes
	from ./fixinc.interix.  Untested (needs interix box).
	* fixinc/inclhack.def:
	Complete the change to the 'fixinc.tmp' file.
	Fixed regex for finding C++ headers.
	* fixincl.x,, Regenerate.

Fri Apr  2 11:36:12 1999  Jan Hubicka  (

	* i386.c (print_operand_address, case REG): Do not use ESI addressing
	mode for the K6.

	* i386.c (print_operand_address, case MULT): Use more efficient
	encoding (mult (reg) (const_int 2)).

Thu Apr  1 17:01:50 1999  Richard Henderson  <>

	Move over patch from Bernd Schmidt from GC branch:
	* emit-rtl.c (gen_rtx_CONST_DOUBLE): New function.
	(gen_rtx): Call it.  Tidy cases.
	* rtl.h (gen_rtx_CONST_DOUBLE): Prototype it.
	* gengenrtl.c: Add commentary.
	(special_rtx): Also match CONST_DOUBLE.
	(gencode): Emit call to memset instead of bzero.

Fri Apr  2 12:58:26 1999  Michael Hayes  <>

	* config/c4x/ (ashlhi3, lshrhi3, ashrhi3): Force operand 1
	into a register if shift count not constant.
	(ashlhi3_reg, lshrhi3_reg, ashrhi3_reg): Ensure that operand 1
	is a register.

Fri Apr  2 12:19:17 1999  Michael Hayes  <>

	* config/c4x/ (*db): Enable pattern if TARGET_LOOP_UNSIGNED
	is non-zero.
	(movstrqi_small, movstrqi_large, *cmpstrqi): Add + modifier to address
	register constraints.
	(*movhi_clobber+1): Modify splitter pattern to handle destination
	register that is used in the source address.
	(*xorhi3_clobber): Replace AND with XOR in call to legitimize_operands.

Fri Apr  2 12:16:15 1999  Michael Hayes  <>

	* config/c4x/c4x.h: Added more comments.

Fri Apr  2 11:58:22 1999  Michael Hayes  <>

	* config/c4x/c4x.c (c4x_emit_move_sequence): Force invalid QImode
	constants into memory if we get called directly from gen_move_insn
	rather than emit_move_insn.
	(c4x_legitimize_address): Fix up LABEL_REF addresses.

Thu Apr  1 12:04:05 1999  Jim Wilson  <>

	* expr.c (store_field): When check direct_store, assume all complex
	modes can be directly stored.

1999-04-01  Bruce Korb  <>

	* fixinc/genfixes: New shell script that runs autogen
	to create the generated files.

1999-04-01  Manfred Hollstein  <>

	* (cppmain$(exeext)): Depend on intl.o.  Link in intl.o.

Thu Apr  1 03:48:34 1999  H.J. Lu  (

	* i386.c (output_fp_conditional_move): Abort for LT, LE, GE, and GT
	signed integer comparisons.

	* i386.c (output_int_conditional_move): Use "enum rtx_code" for code

	* i386.c (notice_update_cc): No need to check the INT mode for
	conditional moves since FLOAT conditional moves don't affect cc0.

Thu Apr  1 02:17:18 1999  Jeffrey A Law  (

	* fixinc/inclhack.def (zzz_ki_syscalls, zzz_time): Fix trigger
	string to only match on hpux11.
	* fixinc/fixincl.x, fixinc/, fixinc/ Rebuilt.

Thu Apr  1 01:09:27 1999  Alexandre Oliva  <>

	* fixinc/hackshell.tpl: Complete transition to fixinc.tmp.
	* fixinc/ Rebuilt.

	* fixinc/inclhack.def: Fix typos in c_asm.h fix.
	* fixinc/fixincl.x, fixinc/, fixinc/ Rebuilt.

Wed Mar 31 17:20:11 1999  Jeffrey A Law  (

	* toplev.c (rest_of_compilation): Allow dbr_schedule to write to
	the dump file too.

Wed Mar 31 12:32:43 1999  Richard Henderson  <>

	* flow.c (find_basic_blocks): New argument `do_cleanup'.
	Conditionally call delete_unreachable_blocks.
	(free_basic_block_vars): Zero ENTRY/EXIT data.
	(allocate_for_life_analysis): Kill.  Split into...
	(allocate_bb_life_data, allocate_reg_life_data): ... new functions.
	(life_analysis_1): Update.
	* gcse.c (gcse_main): Update find_basic_blocks call.
	* toplev.c (rest_of_compilation): Likewise.
	* stupid.c (stupid_life_analysis): Update life data calls.
	* rtl.h, output.h: Update prototypes.

Wed Mar 31 12:10:00 1999  Bruce Korb  <>

	* inclhack.def (several): Added spaces in tests to ensure
	correct shell syntax.  Added c_asm.h fix from fixincludes.
	Also corrected the corrected fix to C++ comments :-}

	* inclhack.tpl: Changed method of traversing symlink trees
	so that file name matching will work correctly.

	* fixincl.c, hackshell.tpl: Fallout from above.
	* fixincl.x,, Rebuilt.

Tue Mar 30 10:43:49 1999  Philip Blundell  <>

	* config/arm/aout.h (DBX_DEBUGGING_INFO): Avoid redefinition if
	dbxelf.h was previously included.
	(CPP_APCS_PC_DEFAULT_SPEC): No need to undefine.

	* config/arm/linux-elf.h (FP_DEFAULT): Correctly override the
	definition from arm.h.

Wed Mar 31 10:33:37 1999  Kaveh R. Ghazi  <>

	* (c-gperf.h): Generate using gperf language 'C', not
	'KR-C', so gperf uses the `const' keyword on strings.

	* c-parse.gperf (resword): Const-ify a char*.

Wed Mar 31 01:49:31 1999  Ian Lance Taylor  <>

	* t-rtems (LIMITS_H_TEST, LIBGCC2_INCLUDES): Define.

Wed Mar 31 00:50:48 1999  Jeffrey A Law  (

	* system.h (STDERR_FILENO): Fix typo.

	* inclhack.def (bool): Also fix bogus bool in curses_colr/curses.h.
	* fixincl.x,, Rebuilt.

Tue Mar 30 20:51:40 1999  Mark Mitchell  <>

	* alias.c (alias_set_compare): Remove.
	(record_alias_subset): Use splay_tree_compare_ints instead of
	(init_alias_once): Likewise.
	* cse.c: Include splay-tree.h.
	(reg_qty): Remove.
	(reg_tick): Likewise.
	(reg_table): Likewise.
	(cse_reg_info): New structure.
	(cse_reg_info_free_list): New variable.
	(cse_reg_info_tree): Likewise.
	(cached_regno): Likewise.
	(cached_cse_reg_info): Likewise.
	(all_minus_one): Remove.
	(consec_ints): Likewise.
	(GET_CSE_REG_INFO): New macro.
	(REG_TICK): Likewise.  Use throughout instead of reg_tick.
	(REG_IN_TABLE): Likewise.  Use throughout instead of reg_in_table.
	(REG_QTY): Likewise.  Use throughout instead of reg_qty.
	(get_cse_reg_info): New function.
	(free_cse_reg_info): Likewise.
	(new_basic_block): Reinitialize cse_reg_info_tree instead of
	reg_tick, all_minus_one, and consec_ints.
	* (cse.o): Depend on splay-tree.h

Tue Mar 30 13:19:36 1999  Jason Merrill  <>

	* libgcc2.c (throw_helper): Just return the SP offset, rather than
	a whole udata.  Include args_size in the offset.
	(__throw, __rethrow): Adjust.

Tue Mar 30 11:39:27 1999  Craig Burley  <>

	* extend.texi (Extended Asm): Delete spurious `b' before
	`@end example', which was confusing texi2html.

Tue Mar 30 00:26:34 1999  Jason Merrill  <>

	* dwarf2out.c (output_line_info): Don't emit redundant info.
	Do start a new row if the file changes and the line # doesn't.

Mon Mar 29 15:48:39 1999  Jason Merrill  <>

	* invoke.texi (Invoking G++, C++ Dialect Options): Update.

Mon Mar 29 15:05:39 1999  Richard Henderson  <>

	* except.c (start_dynamic_handler): Force jmp_buf address to
	and operand before moving to memory.

Mon Mar 29 15:11:10 1999  Craig Burley  <>

	* invoke.texi (Code Gen Options): Attempt to clarify
	-fcheck-memory-usage.  Minor edits to -fprefix-function-name.

Mon Mar 29 20:52:47 1999  J"orn Rennecke  <>

	* loop.c (maybe_eliminate_biv): For libcalls that set a giv, skip to
	end of libcall.

Mon Mar 29 20:35:49 1999  J"orn Rennecke  <>

	* (mulsi3): Tag an extra REG_EQUAL note to the middle insn.

Mon Mar 29 11:50:34 1999  Jerry Quinn  <>

	* pa.h (HAVE_PRE_INCREMENT): Disable when optimizing for a PA8000
	class machine.

Mon Mar 29 08:24:43 1999  Bruce Korb  <>

	* fixinc/ Fix portability problems with old shells.

	* fixinc/README: Updated for release announcement

Sun Mar 28 20:26:55 1999  Kaveh R. Ghazi  <>

	* recog.h (insn_outfun, insn_operand_predicate): Add prototype

	* rtl.h (note_stores): Likewise.

	* rtlanal.c (note_stores): Likewise.

Sun Mar 28 15:34:28 1999  Richard Henderson  <>

	* varasm.c (output_constant_pool): Always mark the constant pool.

Sun Mar 28 16:09:01 1999  Jerry Quinn  <>

	* (pa7100LCshiftmem, pa7100LCalu): Change simultaneity.  Use
	shift/mem ops in pa7100LCalu.

	* pa.c (pa_adjust_cost): Don't do cost adjustments on pa8000.
	(pa_reorg): Don't call pa_combine_instructions on pa8000.

Sun Mar 28 15:27:26 1999  Jeffrey A Law  (

	* reload1.c (reload): Remove accidental code duplication.

Sun Mar 28 12:22:12 1999  Robert Lipe  (

	* i386/sysv5.h: New file to describe UnixWare7/SVR5.
	* (i?86-UnixWare7*-sysv): Use it.
	* i386/udk.h: Use sysv5.h.  Now uses Dwarf-2.

Sun Mar 28 01:15:04 1999  Jeff Law  (

	* version.c: Bump for snapshot.

Sun Mar 28 00:44:27 1999  Jeffrey A Law  (

	* sdbout.c (sdbout_symbol): Do not call build_pointer_type, build
	one on the fly and do not cache the result.

	* gcc.cps, cpp.cps: Delete unwanted files.

Sat Mar 27 23:37:40 1999  John Wehle  (

	* (movdicc+3, movdicc+4): Rewrite using split_di.
	* i386.c (output_int_conditional_move): Delete unused code.

Sat Mar 27 21:17:36 1999  David Edelsohn  <>

	* rs6000/{aix41.h,aix43.h} (ASM_CPU_SPEC): Add 604e.

Sat Mar 27 16:13:50 1999  Jeffrey A Law  (

	* flow.c (mark_used_regs): Improve handling of ASMs.

1999-03-26  Zack Weinberg  <>

	* (xcpp, cppspec.o): New targets.
	(CPP_INSTALL_NAME): New macro.
	(install-cpp): Install xcpp.  Use CPP_INSTALL_NAME.
	(, start.encap): Build xcpp.

	* cppspec.c: New file, implements argument filtering for a
	user-visible C preprocessor.
	* Removed.

Fri Mar 26 20:41:46 1999  Jim Wilson  <>

	* (stmp-fixinc): Use tooldir instead of gcc_tooldir.

Fri Mar 26 16:02:37 1999  Nick Clifton  <>

	* (arm-*-vxworks*): Just include arm/vxarm.h.
	* configure: Regenerate.
	* config/arm/vxarm.h: Define SUBTARGET_CPU_DEFAULT before
	including arm/coff.h

1999-02-16  Scott Bambrough  <>

	* (arm*-*-linux-gnu*): Set thread_file to 'posix' if
	--enable-threads[={yes,pthreads,posix}] is passed as a command
	line parameter to configure.

	* configure: Regenerate.

	* gcc/config/arm/t-linux (TARGET_LIBGCC2_CFLAGS): Include -fPIC.

Fri Mar 26 19:42:19 1999  J"orn Rennecke  <>

	* loop.c (combine_givs): Fix index into can_combine when doing
	benefit adjustment for remaining givs when having combined a giv.

Fri Mar 26 11:38:01 1999  Nick Clifton  <>

	* config/arm/t-arm-elf (EXTRA_MULTILIB_PARTS): Define.

Fri Mar 26 10:48:27 1999  Nick Clifton  <>

	* config/arm/linux-elf.h: Include dbxelf.h

Fri Mar 26 10:43:47 1999  Nick Clifton  <>

	* config/svr4.h: Include new header file dbxelf.h.
	(DBX_DEBUGGING_INFO): Remove definition.
	(DBX_USE_BINCL): Remove definition.
	(ASM_IDENTIFY_GCC): Remove definition.
	(ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove definition.
	(ASM_OUTPUT_SOURCE_LINE): Remove definition.
	(DBX_FUNCTION_FIRST): Remove definition.
	(DBX_OUTPUT_MAIN_SOURCE_FILE_END): Remove definition.

	* config/elfos.h: Include new header file dbxelf.h.
	(DBX_DEBUGGING_INFO): Remove definition.
	(ASM_IDENTIFY_GCC): Remove definition.
	(ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove definition.
	(ASM_OUTPUT_SOURCE_LINE): Remove definition.
	(DBX_FUNCTION_FIRST): Remove definition.

	* config/dbxelf.h: New header file.
	(DBX_USE_BINCL): Define.

Fri Mar 26 01:59:15 1999  "Charles M. Hannum"  <>

	* fold-const.c (fold_truthop): Optimize bitfield references with
	different masks as long as their size and bit position are the same.

	* fold-const.c (fold_truthop): Build a type for both the lhs and
	rhs and use it appropriately.

	* fold-const.c (fold_truthop): Mask the lhs and rhs after merging
	adjacent bitfield references.

	* fold-const.c (fold_truthop): Verify that the lhs and rhs are
	in the same bit position when optimizing bitfield references
	which have the same mask.

Thu Mar 25 22:53:27 1999  Martin von L÷wis  <>

	* gcc.texi (Copy Assignment): New node.

1999-03-25  Zack Weinberg  <>

	* gcc.c: Compile unconditionally all code formerly dependent
	* gccspec.c: New file with stub lang_specific_driver,
	* Link gccspec.o into xgcc.  Add rule to compile

Thu Mar 25 21:08:02 1999  Jason Merrill  <>

	* gcc.texi (Temporaries): Update.

Thu Mar 25 16:53:53 1999  Richard Henderson  <>

	* combine.c (distribute_notes): Place REG_LABEL also where
	REG_EQUAL indicates.

Thu Mar 25 12:46:37 1999  Jim Wilson  <>

	* a29k/a29k.h (TARGET_SWITCHES): Add doc strings.
	* i960/i960.h (TARGET_SWITCHES): Add doc strings.
	* invoke.texi (a29k): Add documentation for -mno-multm option.

Thu Mar 25 14:04:54 1999  Andrew MacLeod  <>

	* rtl.texi (RTX_FRAME_RELATED_P): Add documentation.
	* rtl.h (struct rtx_def): Update comment for frame_related field.
	(set_unique_reg_note): Declare prototype.
	* dwarf2out.c (dwarf2out_frame_debug_expr): Split out from
	'dwarf2out_frame_debug' to handle only expressions, and process
	component parts of a PARALLEL expression.
	(dwarf2out_frame_debug): Process insns only, and call
	new function 'dwarf2out_frame_debug_expr' for patterns.
	* emit-rtl.c (set_unique_reg_note): New function to add a reg note,
	but if there is an existing one, delete it first.
	* expmed.c (expand_mult, expand_divmod): Use set_unique_reg_note.
	* optabs.c (add_equal_note, expand_binop): Use set_unique_reg_note.
	(emit_no_conflict_block, emit_libcall_block): Use set_unique_reg_note.
	(expand_fix): Use set_unique_reg_note.

Thu Mar 25 11:47:49 1999  Art Haas  <>

	* tlink.c (symbol_hash_newfunc): Remove redundant call to
	(file_hash_newfunc, demangled_hash_newfunc): Likewise.

Thu Mar 25 10:05:56 1999  Richard Henderson  <>

	* i386.h (PREFERRED_STACK_BOUNDARY): Set to 128.

1999-03-25  Philip Blundell  <>

	Based on patch from Jim Studt  <>:
	* config/arm/linux-elf.h (STARTFILE_SPEC, ENDFILE_SPEC): Copy
	definitions from config/linux.h.

Thu Mar 25 02:12:42 1999  Finn Hakansson  <>

	* loop.c (strength_reduce): Correct a comment.

	* rtl.h (MEM_COPY_ATTRIBUTES): Remove unnecessary ending backslash.

Thu Mar 25 02:02:13 1999  Axel Thimm  <>

	* (RANLIB_TEST): Improve test.

Thu Mar 25 01:15:33 1999  Donn Terry  <>

	* combine.c (force_to_mode, case PLUS): Use sign extended mask
	when masking the low bits out of a constant.

Tue Mar 23 15:45:25 1999  Richard Earnshaw  (
			  Jeff Law  <>

	* fold-const.c (make_range): If orig_type is unset, set it as soon
	as we know the type.  Remove now unnecessary set of orig_type for

Wed Mar 24 23:27:25 1999  Mark Elbrecht  <>
			  Jeff Law  <>

	* system.h (STDIN_FILENO): Provide default definition if one is not
	provided by the system header files.

	* i386/xm-djgpp.h (COLLECT2_HOST_INITIALIZATION): New macro.
	* collect2.c (main): Use it.
	(pexecute_pid): New variable. Holds return value from call to pexecute.
	(collect2_execute): Rework to use pexecute instead of fork.
	(collect2_wait): Use pwait() instead of wait().

	* i386/djgpp.h: Fix typo.

Wed Mar 24 23:24:30 1999  Jeffrey A Law  (

	* fixinc/ Recognize cygwin* instead of only

Wed Mar 24 15:44:12 1999  Nick Clifton  <>

	* config/m32r/m32r.c (init_idents): Accept both NAME and __NAME__
	versions of attribute names and values.
	(m32r_valid_machine_decl_attribute): Likewise.
	(m32r_encode_section_info): Likewise.

Wed Mar 24 21:42:15 1999  J"orn Rennecke  <>

	* reload1.c (choose_reload_regs): If output-reloading for a
	simple move insn, try to inherit an equivalence for the input.

1999-02-24  Mike Stump  <>

	* arm/aout.h (DBX_OUTPUT_MAIN_SOURCE_FILENAME): Fix quoting.

1999-03-24  Jim Blandy  <>

	* libgcc2.c (__CTOR_LIST__, __DTOR_LIST__): Initialize on all

Wed Mar 24 01:35:01 1999  Geoff Keating  <>

	* fold-const.c (fold): Recognize a rotate by an unsigned amount.

Tue Mar 23 23:32:14 1999  Jeffrey A Law  (

	* (rotlsi3): New expander.  Synthesize a variable rotate
	left using a variable rotate right.  Provide anonymous pattern for
	rotate left by a constant value.

	* expr.c (expand_assignment): Do not try to optimize a aggregate
	address which has VOIDmode.

Tue Mar 23 22:51:48 1999  Mumit Khan  <>
			  Donn Terry  <>

	* protoize.c (abspath): Preserve multiple leading slashes for
	_WIN32 and Interix.

1999-01-23  Mike Stump  <>

	* arm/vxarm.h: Split out vxWorks support into separate headerfile
	and vxify.
	* arm/arm.c (cpu_defaults): Allow arm710 as default.

	* Split out vxWorks support for Arm.
	* configure: Rebuilt.

Tue Mar 23 11:20:03 1999  Per Bothner  <>

	* tree.c (first_rtl_op, has_cleanups): Handle GOTO_SUBROUTINE_EXPR.

Tue Mar 23 09:00:39 1999  Nick Clifton  <>

	* config/arm/riscix1.h (SUBTARGET_SWITCHES): Add doc string.
	* config/arm/riscix1-1.h (SUBTARGET_SWITCHES): Add doc string.

Tue Mar 23 07:50:20 1999  Mark Mitchell  <>

	* function.c: Include hash.h.
	(insns_for_mem_entry): New struct.
	(put_reg_into_stack): Take an optional hash-table mapping MEMs to
	the INSNs that use them.
	(fixup_var_refs): Likewise.
	(put_addressof_into_stack): Likewise.
	(purge_addressof_1): Likewise.  Keep the hash-table up to date if
	we add new instructions.
	(fixup_var_refs_insns): Use it to avoid searching the entire
	instruction chain.
	(insns_for_mem_newfunc): New function.
	(insns_for_mem_comp): Likewise.
	(insns_for_mem_walk): Likewise.
	(compute_insns_for_mem): Likewise.
	(pop_function_context_from): Pass NULL for the hash-table.
	(put_var_into_stack): Likewise.
	(gen_mem_addressof): Likewise.
	(flush_addressof): Likewise.
	(purge_addressof): Call compute_insns_for_mem to pre-compute the
	hash table.
	* (OBJS): Include hash.o.
	(function.o): Depend on hash.h.

Tue Mar 23 00:39:14 1999  Jeffrey A Law  (

	* i386/openbsd.h (TARGET_DEFAULT): Use symbolic names instead of
	* i386/netbsd.h, i386/freebsd.h: Likewise.

	* crtstuff.c: Use ANSI function definitions.  Fix minor whitespace

	* i386/openbsd.h (TARGET_DEFAULT): Define.
	* Do not set TARGET_CPU_DEFAULT for x86 OpenBSD
	* configure: Rebuilt.

Tue Mar 23 00:39:10 1999  John Wehle  (

	* i386/freebsd.h (TARGET_DEFAULT): Define instead
	* i386/netbsd.h (TARGET_DEFAULT): Likewise.

Mon Mar 22 23:52:01 1999  Mumit Khan  <>
			  Donn Terry  <>

	* sdbout.c (syms.h): Don't include on Interix.
	* toplev.c (main): No sbrk on Interix.

	* Add i386-pc-interix support.
	* configure: Regenerate.
	* fixinc.interix: New file.
	* config/interix.h: New file.
	* config/x-interix: New file.
	* config/xm-interix.h: New file.
	* i386/interix.h: New file.
	* i386/interix.c: New file.
	* i386/t-interix: New file.

Mon Mar 22 23:41:49 1999  Jeffrey A Law  (


Mon Mar 22 23:41:31 1999  John Wehle  (

	* i386.c (ix86_compute_frame_size): New function.
	(ix86_prologue, ix86_epilogue): Use it.
	* reload1.c: Provide default for PREFERRED_STACK_BOUNDARY.

Mon Mar 22 18:06:59 1999  Jim Wilson  <>

	* mips/mips.h (TARGET_SWITCHES, TARGET_OPTIONS): Add option doc
	* mips/abi64.h (SUBTARGET_TARGET_OPTIONS): Likewise.

Mon Mar 22 16:18:27 1999  Nick Clifton  <>

	* config/arm/elf.h (VALID_MACHINE_DECL_ATTRIBUTE): Do not bother
	passing ATTRIBUTES to arm_valid_machine_decl_attribute.

	* config/arm/coff.h (VALID_MACHINE_DECL_ATTRIBUTE): Do not bother
	passing ATTRIBUTES to arm_valid_machine_decl_attribute.

	* config/arm/arm.h (DEFAULT_RTX_COSTS): Do not bother passing
	OUTER_CODE to arm_rtx_costs - it is not used.
	(arm_compare_fp): Delete declaration.
	(FINAL_PRESCAN_INSN): Do not bother passing OPVEC or NOPERANDS to
	arm_final_prescan_insn - they are not used.
	(const_ok_for_op): Remove prototype.
	(arm_rtx_costs): Fix prototype.
	(arm_valid_machine_decl_attribute): Fix prototype.
	(final_prescan_insn): Fix prototype.

	* config/arm/ Remove references to arm_compare_fp.

	* config/arm/arm.c (arm_compare_fp): Delete.
	(const_ok_for_op): Make function static.  Add prototype.  Remove
	mode parameter - it is unused.
	(arm_rtx_costs): Remove outer_code parameter.
	(reload_memory_operand): Declare mode parameter unused.
	(power_of_two_operand): Declare mode parameter unused.
	(equality_operator): Declare mode parameter unused.
	(load_multiple_operation): Declare mode parameter unused.
	(store_multiple_operation): Declare mode parameter unused.
	(multi_register_push): Declare mode parameter unused.
	(arm_valid_machine_decl_attribute): Remove attributes parameter -
	it is unused.
	(select_dominance_cc_mode): Remove op parameter - it is unused.
	(gen_compare_reg): Remove fp parameter - it is unused.
	(final_prescan_insn): Remove opvec and noperands parameters - they
	are unused.

Mon Mar 22 14:35:28 1999  Nick Clifton  <>

	* tm.texi (MD_SCHED_INIT): Add missing closing parenthesis.

Mon Mar 22 22:24:30 1999  J"orn Rennecke  <>

	* reload1.c (reload_as_needed): Set reload_is_output_reload /
	reload_has_output_reload for auto_inc expressions that could be
	reloaded.  Call forget_old_reloads for REG_INC notes.

Mon Mar 22 21:51:57 1999  J"orn Rennecke  <>

	* cse.c (cse_insn): Don't change the result register of a libcall.

Mon Mar 22 21:08:59 1999  J"orn Rennecke  <>

	* rtl.h (shallow_copy_rtx): Declare.
	* rtl.c (shallow_copy_rtx): New function.
	* reload.c (find_reloads_toplev): Use shallow_copy_rtx instead of

Mon Mar 22 10:44:33 1999  Vladimir Makarov  <>

	* config/h8300/ (adjust_length): New attribute.
	(modhi3+1, andsi3+1, iorsi3+1, extzv+1, extzv+2): Change insn
	default value of attribute "adjust_length" onto "no".

	* config/h8300/h8300.c (h8300_adjust_insn_length): Adjust
	length only if the attribute "adjust_length" value is "yes".
	Use 0 if the shift is negative.

	* final.c (shorten_branches): Check insn length after its

Sun Mar 21 17:33:48 1999  Jeffrey A Law  (

	* i860.h (TARGET_SWITCHES): Add documentation for default case.
	* i860/paragon.h (TARGET_SWITCHES): Add documentation for default case.
	* i370.h (TARGET_SWITCHES): Add documentation for default case.
	* fx80.h (TARGET_SWITCHES): Add documentation for default case.
	* elxsi.h (TARGET_SWITCHES): Add documentation for default case.
	* clipper.h (TARGET_SWITCHES): Add documentation for default case.
	* 1750a.h (TARGET_SWITCHES): Add documentation for default case.
	* pa.h (TARGET_SWITCHES): Add documentation for default case.
	(TARGET_OPTIONS): Likewise for default case.
	* mn10300.h (TARGET_SWITCHES): Add documentation for default case.
	* h8300.h (TARGET_SWITCHES): Add documentation for default case.

	* gcse.c (dump_hash_table): Fix whitespace in declaration.
	(compute_transpout): Renamed from pre_compute_transpout.
	(compute_pre_*): Deleted.
	(pre_expr_reaches_here_p): New argument, CHECK_PRE_COMP.  All
	callers changed.
	(insert_insn_end_bb): Renamed from pre_insert_insn.
	(pre_*): Delete unused variables.  Only leave local properties and
	global redundant/optimal computation points.
	(alloc_pre_mem, free_pre_mem): Corresponding changes.
	(compute_pre_data): Simplify and call pre_lcm to run the lazy
	code motion dataflow analysis.
	(pre_insert, pre_insert_copies, pre_delete): Revamp to use LCM
	based redundant and optimal computation points.

	* basic-block.h (pre_lcm, pre_rev_lcm): Declare.

	* toplev.c (main): A debug option without a level defaults to
	level 2.

Sun Mar 21 12:13:01 1999  Nick Clifton  <>

	* flow.c (can_delete_label_p): Do not allow user specified
	labels to be deleted.
	* dwarf2out.c (gen_label_die): Generate addresses for deleted
	(programmer specified) labels.
	* dwarfout.c (output_label_die): Generate addresses for deleted
	(programmer specified) labels.

1999-03-21  Manfred Hollstein  <>

	* (xgcc$(exeext)): Add intl.o to list of files to be
	linked with.

Sun Mar 21 01:15:03 1999  Jeff Law  (

	* version.c: Bump for snapshot.

Sat Mar 20 22:26:23 1999  Kaveh R. Ghazi  <>

	* sparc.h (TARGET_SWITCHES): Add null description to default case.

Sat Mar 20 21:46:06 1999  Kaveh R. Ghazi  <>

	* c-lex.c (yylex): Remove unused variable `bytes'.

	* flow.c (print_rtl_with_bb): Cast the return value of alloca.

	* function.c (assign_parms): Wrap variable `varargs_setup' in
	(thread_prologue_and_epilogue_insns): Mark parameter `f' with

	* local-alloc.c (no_equiv): Likewise for parameter `store'.

	* sched.c (schedule_insns): Remove unused variables `insn' and `next'.

	* tlink.c (symbol_hash_newfunc, symbol_hash_lookup,
	file_hash_newfunc, file_hash_lookup, demangled_hash_newfunc,
	demangled_hash_lookup, symbol_push, symbol_pop, file_push,
	file_pop, tlink_init, tlink_execute, frob_extension,
	obstack_fgets, tfgets, pfgets, freadsym, read_repo_file,
	maybe_tweak, recompile_files, read_repo_files,
	demangle_new_symbols, scan_linker_output): Add static prototype.

	(symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc):
	Make the third argument a `hash_table_key'.

	* toplev.c (debug_start_source_file): Mark parameter `filename'

Sun Mar 21 02:28:21 1999  Andreas Schwab  <>

	* tm.texi (Varargs): Don't split argument of @item across lines.

	* invoke.texi: Fix use of @item vs @itemx.

Sun Mar 21 09:59:54 1999  Michael Hayes  <>

	* config/c4x/c4x.h (TARGET_SWITCHES): Add null description to
	default case.

Sat Mar 20 23:33:54 1999  Michael Hayes  <>

	* loop.c (check_dbra_loop): Fix debug message.

Sat Mar 20 15:54:35 1999  Michael Hayes  <>

	* config/c4x/ (decrement_and_branch_on_count): Emit rptb_end
	pattern instead of decrement_and_branch_until_zero pattern.

Sat Mar 20 11:39:58 1999  Michael Hayes  <>

	* config/c4x/c4x.h (TARGET_SWITCHES): Add documentation.
	* config/c4x/c4x.h (TARGET_OPTIONS): Add documentation.

Fri Mar 19 23:26:29 1999  Martin von L÷wis  <>

	* expr.c (expand_expr): Handle ERROR_MARK much earlier.

Fri Mar 19 15:28:38 1999  Kaveh R. Ghazi  <>

	* cccp.c (create_definition): Cast to U_CHAR* when assigning to one.

	* cppfiles.c (read_and_prescan): Likewise.
	Start a #define in column 0.

	* cpplib.c (cpp_define): Cast to U_CHAR* when assigning to one.
	(cpp_push_buffer): Likewise for cpp_buffer*.
	(do_include): Change the type of `fbeg' and `fend' to unsigned char*.
	(do_endif): Cast to char* when assigning to one.
	(do_assert): Likewise.
	(do_unassert): Likewise.
	(cpp_read_check_assertion): Change the type of `name' to U_CHAR*.
	Don't do unnecessary cast to char* anymore.

	* genrecog.c (make_insn_sequence): Cast to char** when assigning
	to one.  Cast the first argument of bzero to PTR.

	* loop.c (strength_reduce): Remove unused variable `note'.

	* reload1.c (new_insn_chain): Cast to struct insn_chain* when
	assigning to one.

	* rtl.c (copy_rtx): Use memcpy instead of bcopy.

Fri Mar 19 11:19:31 1999  Kaveh R. Ghazi  <>

	* calls.c (initialize_argument_information): Mark parameters
	`num_actuals' and `n_named_args' with ATTRIBUTE_UNUSED.

	* dbxout.c (dbxout_start_new_source_file): Likewise for parameter
	(dbxout_finish): Likewise for parameters `file' and `filename'.
	(dbxout_prepare_symbol): Likewise for parameter `decl'.
	(dbxout_begin_function): Likewise.

	* explow.c (hard_function_value): Likewise for parameter `func'.

	* function.c (locate_and_pad_parm): Likewise for parameter `fndecl'.

	* expmed.c (expand_divmod): Omit unused argument to `expand_abs'.
	* expr.c (expand_expr): Likewise.
	* expr.h (expand_abs): Delete unused argument from prototype.
	* optabs.c (expand_abs): Remove unused parameter `unsignedp'.

	* sdbout.c (sdbout_init): Mark parameter `syms' with ATTRIBUTE_UNUSED.
	(sdbout_end_block): Likewise for parameter `n'.

	* toplev.c (debug_define): Likewise for parameters `lineno' and
	(debug_undef): Likewise.

	* varasm.c (named_section): Likewise for parameter 'reloc'.
	(assemble_external): Likewise for parameter `decl'.
	(assemble_alias): Likewise for parameter `target'.

Fri Mar 19 01:54:30 1999  Theodore Papadopoulo  <>

	* toplev.c (read_integral_parameter): Constify.  Better control of
	error messages.
	(main): Use read_integral_parameter to set optimize, id_clash_len,
	larger_than_size, and the debugging level.
	* toplev.h (read_integral_parameter): Update prototype.

Fri Mar 19 01:42:05 1999  Zack Weinberg  <>

	* system.h: Use putc_unlocked, fputc_unlocked, and
	fputs_unlocked only if putc_unlocked has a prototype already.
	Prototype fputs_unlocked if necessary.
	* Check for prototypes of putc_unlocked and
	* acconfig.h: Updated.
	*, configure: Rebuilt.

Fri Mar 19 02:45:12 1999  Alexandre Oliva  <>

	* (INTL_TARGETS): New macro.
	($(INTL_TARGETS)): Depend on generated sources; drop dependencies
	on cp/parse.c and objc/objc-parse.c.
	($(srcdir)/cp/parse.c): Move to cp/
	* objc/ ($(INTL_TARGETS)): Depend on objc/objc-parse.c.

Thu Mar 18 22:28:53 1999  Jeffrey A Law  (

	* i860.h (TARGET_SWITCHES): Add documentation.
	* i860/paragon.h (TARGET_SWITCHES): Add documentation.
	* i370.h (TARGET_SWITCHES): Add documentation.
	* fx80.h (TARGET_SWITCHES): Add documentation.
	* elxsi.h (TARGET_SWITCHES): Add documentation.
	* clipper.h (TARGET_SWITCHES): Add documentation.
	* 1750a.h (TARGET_SWITCHES): Add documentation.
	* pa.h (TARGET_SWITCHES): Add documentation.
	(TARGET_OPTIONS): Likewise.
	* mn10300.h (TARGET_SWITCHES): Add documentation.
	* h8300.h (TARGET_SWITCHES): Add documentation.

Thu Mar 18 15:58:26 1999  Nick Clifton  <>

	* loop.c (strength_reduce): Do not perform pseudo replacements
	if the loop contains volatile memory references.

Thu Mar 18 19:09:50 1999  J"orn Rennecke  <>

	* reload.c (find_reloads_toplev): When processing X recursively,
	don't alter it destructively except by filling in constants.

Thu Mar 18 10:14:18 1999  Kaveh R. Ghazi  <>

	* cccp.c (default_include): Initialize structure members.
	(pass_thru_directive): Change the type of 'keyword_length' to int.
	(main): Cast `bindtextdomain' and `textdomain' to (void).

	* collect2.c (main): Likewise.

	* cppmain.c (main): Likewise.

	* gcc.c (main): Likewise.

	* gcov.c (main): Likewise.

	* protoize.c (main): Likewise.

	* toplev.c (main): Likewise.

1999-03-18  Gavin Romig-Koch  <>

	* config/mips/mips.c (mips_explicit_type_size_string): Correct
	its type.

Thu Mar 18 01:24:25 1999  Jeffrey A Law  (

	* Use "exit 1", not "exit (1)".
	* configure: Rebuilt.

Wed Mar 17 23:17:42 1999  Mark Kettenis  <>

	* config/t-gnu (SYSTEM_HEADER_DIR): New variable.  Set to
	`/include' in order to find the system's limits.h.

Wed Mar 17 23:00:18 1999  Robert Lipe  <>

	* fixinc/fixincl.c: Include auto-host.h instead of config.h.
	* fixinc/procopen.c: Likewise.
	* fixinc/regex.c: Likewise.
	* fixinc/server.c: Likewise.

Wed Mar 17 22:46:13 1999  Mark Elbrecht  <

	* config/i386/go32.h: Delete.
	* config/i386/djgpp.h: New. Renamed from go32.h.
	* config/i386/go32-rtems.h: Delete.
	* config/i386/djgpp-rtems.h: New. Renamed from go32-rtems.h.
	* config/i386/xm-go32.h: Delete.
	* config/i386/xm-djgpp.h: New. Renamed from xm-go32.h.
	* config/i386/x-go32: Delete.
	* config/i386/x-djgpp: New. Renamed from x-go32.
	* config/i386/t-go32: Delete.
	* config/i386/t-djgpp: New. Renamed from t-go32.
	* Set xm_file to i386/xm-djgpp.h.
	Set tm_file to i386/djgpp.h. Set tmake_file to i386/t-djgpp.
	Set xmake_file to i386/x-djgpp.
	(*-go32-msdos, *-go32*): Remove entries.  Warn that GO32/DJGPP V1.X
	is now unsupported and *-pc-msdosdjgpp for DJGPP V2.X should be
	used instead.
	* configure: Rebuilt.

	* gcc.c (process_command): Dump link_command_spec too.

Wed Mar 17 20:38:08 1999  Jerry Quinn  <>
			  Jeff Law  <>

	* Add real PA8000 scheduling information.

	* pa.h (processor_type): Add PROCESSOR_8000 symbol.
	(ISSUE_RATE): Revamp, including PA8000 support.
	* pa.c (override_options): Add 8000 as -mschedule= option.
	Do not call strcmp if pa_cpu_string is null.
	* (attr cpu): Add 8000.
	* invoke.texi: Add documentation for PA8000 scheduling.

Wed Mar 17 18:20:24 1999  David S. Miller  <>

	* config/sparc/sparc.h (TARGET_SWITCHES, TARGET_OPTIONS):
	Add descriptions.
	* config/sparc/sp64-elf.h (SUBTARGET_SWITCHES): Likewise.
	* config/sparc/splet.h (SUBTARGET_SWITCHES): Likewise.

Wed Mar 17 14:51:19 1999  Richard Henderson  <>

	* flow.c (compute_immediate_dominators): New function.
	* basic-block.h (compute_immediate_dominators): Declare it.

	* alpha.h (HARD_REGNO_MODE_OK): Allow only 4 and 8 byte unit modes
	in FP regs.
	(MODES_TIEABLE_P): Define asymmetricly wrt modes illegal in FP regs.

Wed Mar 17 14:41:41 1999  Nick Clifton  <>

	* config/arm/aout.h (ASM_GENERATE_INTERNAL_LABEL): Fix compile
	time warning.
	* config/arm/ Fix various compile time warnings.
	* config/arm/arm.h: Fix various compile time warnings.  Add
	function prototypes.
	* config/arm/arm.c: Fix various compile time warnings.
	(arm_override_options): Reorganize to separate tuning from
	(bit_count): New function: Return a count of the number of bits
	set in a word.

Wed Mar 17 21:29:12 1999  J"orn Rennecke  <>

	* reload1.c (eliminate_regs): Don't keep REG_DEAD notes around for
	things that were eliminated.

Wed Mar 17 12:16:26 1999  Richard Henderson  <>

	* function.c (fixup_var_refs_1): First try moving the expression
	directly into a register.  Don't separate cc0 setter and user.

Wed Mar 17 11:20:29 1999  Dave Brolley  <>

	* cppfiles.c (PIPE_BUF): #define PIPE_BUF if not defined already.

Wed Mar 17 09:25:06 1999  Kaveh R. Ghazi  <>

	* c-lex.c: Don't include setjmp.h.
	(parse_float): New static function.
	(pf_args): New struct.
	(yylex): Use them in call to `do_float_handler'.

1999-03-16  Andreas Schwab  <>

	* cexp.y (yyerror): Call verror to get a useful error message.
	* cexp.c: Rebuilt.

	* .gdbinit: Move command to put breakpoint at abort to end of file
	so that gdb does not bail out early.

Tue Mar 16 15:30:19 1999  Nick Clifton  <>

	* rtl.h: Rename prototype for free_bb_memory to free_bb_mem.

Tue Mar 16 23:40:09 1999  J"orn Rennecke  <>

	* (movsi_i): Move t/r alternative after r/rI alternative.

Tue Mar 16 13:44:50 1999  Jim Wilson  <>

	* mn10200/ (addsi3, subsi3, ashlsi3, lshrsi3, ashrsi3):
	Delete emit_library_call_value declaration.

1999-03-16  Zack Weinberg  <>

	* cppfiles.c (read_and_prescan): Map backslash-newline to '\r'
	(which cannot otherwise appear in the processed buffer) and
	move it out of tokens that it appears in the middle of.
	Improve performance.
	(find_position): New function.

	* cpplib.c: \r (one character) indicates backslash
	newline, not \\\n (two characters).  It cannot appear in the
	middle of a token.  Call CPP_BUMP_LINE (pfile) whenever
	parsing moves past \n or \r.  Increment pfile->lineno whenever
	a \n is placed into token_buffer.  Only one mark can exist at
	a time, and CPP_BUMP_LINE must not be used while it is
	active.  It is automatically cleared by cpp_pop_buffer and
	parse_goto_mark.  \r is not in is_hor_space or is_space.

	(NEWLINE_FIX, NEWLINE_FIX1, adjust_position,
	update_position, count_newlines, parse_move_mark): Removed.
	(parse_string, copy_comment): New functions.
	(parse_name): Returns void.
	(parse_set_mark, parse_clear_mark, parse_goto_mark): Take only
	one argument, a cpp_reader *.  Change for new marking scheme.
	(skip_comment): Handle CHILL line comments too.  Second
	argument is now first character of comment marker; all callers
	changed.  Issue error for unterminated block comment here.
	(cpp_skip_hspace): Recognize CHILL comments.
	(copy_rest_of_line): Likewise.  Call skip_comment and
	parse_string directly, don't go through cpp_get_token.  Emit
	"/**/" for block comments if -traditional (create_definition
	needs this).
	(do_define): Don't play with put_out_comments.
	(cpp_push_buffer): Initialize ->mark to -1.
	(cpp_buf_line_and_col): Just read out the values in the buffer
	(output_line_command): Use cpp_buf_line_and_col.  Fix
	formatting.  Remove stale code.
	(cpp_get_token): Break out string parsing code to
	parse_string.  Use skip_comment for CHILL comments too.  Use
	copy_comment for put_out_comments instead of dinking with
	marks.  Remove stale code.  Don't call output_line_command
	unless it's necessary.

	* cpplib.h (parse_marker): Removed.
	(struct cpp_buffer): Line_base is now a unsigned char *; add
	`mark' [long], remove `marks' [struct parse_marker *].
	(parse_set_mark, parse_clear_mark, parse_goto_mark): Update
	* cppinit.c (is_hor_space, is_space): '\r' is not considered
	* cppexp.c (cpp_parse_expression): Use cpp_skip_hspace, not
	* cpphash.c (macarg): Disable line commands while expanding.

Tue Mar 16 11:30:19 1999  Gavin Romig-Koch  <>

	* c-lex.c (yylex) : Remove warning for integer literals being
	larger than the largest target int.  Add warning for integer
	literal being larger than than its chosen type.

Tue Mar 16 10:53:17 1999  Gavin Romig-Koch  <>

	* invoke.texi: Add -mlong32 documentation.
	* config/mips/mips.h (mips_explicit_type_size_string): New.
	(TARGET_SWITCHES): Add 'long32'.
	(TARGET_OPTIONS): Add 'explicit-type-size'.
	(CC1_SPECS): Set -mexplicit-type-size.
	(LONG_MAX_SPEC): Change a use of 'no-long64' to 'long32'.
	* config/mips/abi64.h (LONG_MAX_SPEC): Same.  Add 'mabi=32'.
	* config/mips/mips.c (mips_explicit_type_size_string): New.
	(override_options): Use it.
	* config/mips/osfrose.h (CC1_SPECS): Set -mexplicit-type-size.

	* config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC):
	Pointer size now depends on both size longs and size of GP

Tue Mar 16 10:22:22 1999  Gavin Romig-Koch  <>

	dtors_section): Use Pmode == DImode rather than TARGET_LONG64.
	* config/mips/mips.c (override_options): Allow -mlong64 and
	-mint64 with -mips2 or less.
	* config/mips/mips.h (MASK_LONG64): Fix comment.
	(POINTER_SIZE): Use Pmode == DImode rather than TARGET_LONG64.
	(Pmode): Make Pmode the smaller of longs or gp registers.
	* invoke.texi: Note the new size for pointers.

Mon Mar 15 22:45:25 1999  David Edelsohn  <>

	* rs6000.h (ASM_OUTPUT_{DOUBLE,FLOAT}): Always generate IEEE 754
	bit-pattern directly.
	* rs6000.c (first_reg_to_save): If profiling and context needed,
	allocate a reg to save static chain for all ABIs.  For AIX
	profiling, calculate parameter registers to save based on need.
	(output_function_profiler): Save and restore static chain around
	profile call for all ABIs.

1999-03-15  Zack Weinberg  <>

	* cppinit.c: Instead of one pending list, keep separate lists
	for each category of pending option: -D/-U, -A, -include,
	-imacros.  Move the four partial include-path lists into the
	pending block.  Use head and tail pointers so we don't ever
	have to reverse the lists.

	(cpp_start_read): Break out blocks of code to their own
	functions: install_predefs and initialize_dependency_output.
	Use path_include for C_INCLUDE_PATH and friends as well as
	CPATH.  Remove include_defaults gunk.  Warn about the
	combination of -lang-chill and -trigraphs.  Optimize string
	bashing.  Walk each pending list once, deallocating as we go.

	(append_include_chain): Brought over from cppfiles.c.  Mark
	dirs as system include dirs if and only if appending to
	system include path. If opts->verbose, print a notice when a
	dir is dropped from the include path because it doesn't
	exist.  Fix memory leak: this function is not supposed to copy
	its DIR argument.

	(nreverse_pending, push_pending): Removed.
	(APPEND): New macro for adding to pending lists.
	(path_include): Can now add to any partial include path.
	(base_name): Bring over from cccp.c.
	(cpp_options_init): Allocate the pending block.
	(cpp_handle_option): Add --version.  Exit after --help.  Fix
	formatting.  Order -ifoo options by frequency of usage.
	(install_predefs): New function, simplified version of code
	that was in cpp_start_read.
	(initialize_dependency_output): Likewise.  Understand OBJECT_SUFFIX.

	* cppfiles.c (simplify_pathname): Export.
	(merge_include_chains): Don't nreverse the lists.  If
	opts->verbose, print a notice when a duplicate dir is detected
	and dropped from the include path.
	(finclude): Fix excessive cleverness in setting
	(actual_directory): Set x->sysp from
	CPP_BUFFER (pfile)->system_header_p so that one system header
	may include another with "".
	(deps_output): Fix double adjustment of deps_size which would
	cause all dependencies after the first two lines to be lost.

	* cpplib.c (cpp_unassert): New function.
	* cpplib.h: Lay out struct cpp_pending here.  Adjust
	prototypes.  Add include_prefix_len to struct cpp_options.

Mon Mar 15 16:01:52 1999  Jim Wilson  <>

	* config/misp/mips.h (REGISTER_MOVE_COST): Make the cost of moving
	from HI/LO/HILO/MD into general registers the same as for one
	of moving general registers to HI/LO/HILO/MD.

Mon Mar 15 12:39:38 1999  Nick Clifton  <>

	* config/m32r/m32r.c (init_idents): New function.  Initialize
	static tree nodes for m32r specific attribute identifiers.  Remove
	leading and trailing double underscores from the attribute names.
	(m32r_valid_machine_decl_attribute): Call init_idents.
	(m32r_encode_section_info): Call init_idents.

Mon Mar 15 10:20:20 1999  Mark Mitchell  <>

	* reload.c (find_reloads): Add a REG_LABEL note if we substitute a
	LABEL_REF for something else.

Mon Mar 15 08:24:17 1999  Kaveh R. Ghazi  <>

	* fold-const.c (exact_real_inverse): Move variable `float_error'
	into the scope where it is used.
	(const_binop_1): New static function.
	(cb_args): New struct.
	(const_binop): Use them in call to `do_float_handler'.
	(fold_convert_1): New static function.
	(fc_args): New struct.
	(fold_convert): Use them in call to `do_float_handler'.

Mon Mar 15 22:50:18 1999  Michael Hayes  <>

	* rtlanal.c (auto_inc_p): New function.
	* rtl.h (auto_inc_p): Prototype it.
	* reload1.c (add_auto_inc_notes): New function.
	(reload): Strip REG_INC notes and call add_auto_inc_notes
	for each insn to restore them correctly.

1999-03-15  Manfred Hollstein  <>

	* fixinc/ (procopen.o): List the actual

Sun Mar 14 16:22:10 1999  Kaveh R. Ghazi  <>

	* cse.c (check_fold_consts): New static function.
	(cfc_args): New struct.
	(simplify_relational_operation): Use them in call to

	* toplev.c (do_float_handler): New function to wrap calls to

	* toplev.h (do_float_handler): Add extern prototype.

	* tree.c (build_real_from_int_cst_1): New static function.
	(brfic_args): New struct.
	(build_real_from_int_cst): Use them in call to

Sun Mar 14 01:15:06 1999  Jeff Law  (

	* version.c: Bump for snapshot.

Sat Mar 13 17:37:18 1999  Richard Henderson  <>

	* haifa-sched.c (sched_analyze_1): Only clear reg_last_uses on a SET.

Sat Mar 13 11:36:16 1999  Richard Earnshaw  (

	* arm.c (arm_split_constant): Don't try to force a constant to
	memory after arm_reorg has run.
	(after_arm_reorg): New static variable.
	(arm_reorg): Set it.
	(output_func_epilogue): Clear it.

Fri Mar 12 20:26:32 1999  David Edelsohn  <>

	* ({rs6000,powerpc}-ibm-aix*): Set float_format to none.
	* configure: Rebuilt.

Fri Mar 12 20:45:30 1999  J"orn Rennecke  <>

	* unroll.c (loop_iterations): Don't return a final value for EQ
	comparison loops.

Fri Mar 12 12:35:01 1999  Jim Wilson  <>

	* reload1.c (calculate_needs_all_insns): When ignore equivalence
	setting insn, clear need_elim, need_reload, and need_operand_change.

Fri Mar 12 07:54:43 1999  Bruce Korb  <>

	* fixinc/fixinc.*: Some changes from the fixincl-branch
	were not applied (??!!).  Corrected.

	* fixinc/ Same thing.

Fri Mar 12 00:51:43 1999  Jeffrey A Law  (

	* expr.c (expand_expr): Allow a CALL_EXPR with a mode wider than

Thu Mar 11 14:00:58 1999  Richard Henderson  <>

	* alpha.h (HARD_REGNO_MODE_OK): Disallow QI/HImode in fp regs.

	* (ev5_e0): Conflict loads and stores.

Thu Mar 11 13:55:52 1999  Richard Henderson  <>

	* machmode.h (smallest_mode_for_size): Prototype.
	* stor-layout.c (smallest_mode_for_size): Remove static.

Thu Mar 11 21:25:59 1999  J"orn Rennecke  <>

	* loop.c (strength_reduce): Don't do biv increment -> DEST_REG giv
	conversion if we don't know the lifetime.

Thu Mar 11 20:37:59 1999  J"orn Rennecke  <>

	* reload.1c (delete_address_reloads_1): Check for reloads of
	CURRENT_INSN even if it sets DST.

Thu Mar 11 10:29:50 1999  Jason Merrill  <>

	* dwarf2out.c (add_AT_lbl_offset): Rename from add_AT_section_offset.
	(print_die, size_of_die, value_format, output_die): Adjust.

Thu Mar 11 10:27:42 1999  Robert Lipe  <>

	text_section_label, debug_line_section_label,
	debug_info_section_label, abbrev_section_label): New.
	(output_compilation_unit_header): Emit label associated
	with section instead of section name itself.
	(out_pubnames, output_aranges, output_line_info,
	dwarf2out_finish): Likewise.
	(dwarf2out_init): Build internal label names for sections
	from static labels.

Thu Mar 11 17:28:32 1999  J"orn Rennecke  <>

	* (mulsi3): End mul.l sequence with a no-op move.

Thu Mar 11 08:52:02 1999  Bruce Korb  <>

	* Activated fixinc/
	* Activated fixinc/

Thu Mar 11 01:38:02 1999  Mumit Khan  <>

	* cppfiles.c (INO_T_EQ): Handle UWIN.

	* c-common.c (decl_attributes): Flag unrecognized attribute
	functions as warnings instead of as errors.

	Support for i386-pc-uwin.
	* i386/uwin.h: New file.
	* i386/xm-uwin.h: New file.
	* i386/t-uwin: New file.
	* i386/uwin.asm: New file.
	* (i[3456]86-*-uwin*): Define.
	Add Workaround for vfork bug when hosted on uwin.
	* configure: Regenerate.

	* cccp.c (INO_T_EQ): Undefine. UWIN has inodes.
	(absolute_filename): UWIN uses POSIX pathnames only.
	* libgcc2.c (getpagesize): Do not define for UWIN.
	(mprotect): Likewise.
	* protoize.c (dirent.h): Conditionally include.
	(fputc): Prototype only if it's not a macro.

Wed Mar 10 02:49:04 1999  Jason Merrill  <>

	* Remove init_priority stuff.

1999-03-11  Colin Smith  <>

	* sdbout.c (plain_type_1): Make boolean types work better with sdb.

Thu Mar 11 00:20:52 1999  Alexandre Oliva  <>

	* gcc.texi: Update bug reporting instructions to match
	current ezmlm list reality.

Wed Mar 10 23:11:19 1999  Kaveh R. Ghazi  <>

	* gcc.c (print_file_name, print_prog_name, spec_machine,
	read_specs, set_spec, lookup_compiler, build_search_list,
	putenv_from_prefixes, find_a_file, record_temp_file,
	delete_if_ordinary, handle_braces, do_spec, do_spec_1, find_file,
	is_directory, validate_switches, used_arg, default_arg,
	pfatal_with_name, perror_with_name, pfatal_pexecute, fatal, error,
	notice, add_preprocessor_option, add_assembler_option,
	add_linker_option, process_command, execute,
	unused_prefix_warnings, clear_args, fatal_error,
	lang_specific_driver, user_specs, compiler, link_command_spec,
	option_map, translate_options, make_temp_file, temp_name,
	programname, path_prefix, machine_suffix, just_machine_suffix,
	gcc_exec_prefix, standard_exec_prefix, standard_exec_prefix_1,
	md_exec_prefix, md_startfile_prefix, md_startfile_prefix_1,
	standard_startfile_prefix, standard_startfile_prefix_1,
	standard_startfile_prefix_2, tooldir_base_prefix, tooldir_prefix,
	multilib_dir, temp_filename, temp_file, command, switchstr,
	infile, outfiles, input_filename, input_basename, input_suffix,
	check_live_switch, main): Qualify a char* with the `const' keyword.

Wed Mar 10 20:28:29 1999  Jeffrey A Law  (

	* lcm.c: New file.
	* (OBJS): Add lcm.o.
	(lcm.o): Add dependencies.

	* gcse.c (compute_pre_local_properties): Delete.
	(compute_pre_data): Use compute_local_properties instead of

	* gcse.c: More comments, whitespace and similar fixes.
	(dump_cuid_table, maybe_set_rd_gen, dump_cprop_data): Delete.
	(dump_pre_data, compute_cprop_local_properties): Likewise.
	(one_classic_gcse_pass): Lose unused argument.  All callers changed.
	(compute_hash_table, compute_expr_hash_table): Likewise.
	(compute_set_hash_table, one_pre_gcse_pass, mark_call): Likewise.
	(cprop_insn, cprop, one_cprop_pass): Add new argument ALTER_JUMPS.
	All callers changed.  Only alter jumps if ALTER_JUMPS is nonzero.
	Lose unused argument.
	(gcse_main): Always run a cprop pass after finishing global cse.
	(compute_local_properties): New function.
	(hash_scan_pat, hash_scan_insn): No longer call maybe_set_rd_gen.
	(compute_cprop_data): Use compute_local_properties.

	* gcse.c: Update various comments.
	(current_function_calls_longjmp): Delete declaration.

	* gcse.c (run_jump_opt_after_gcse): New variable.
	(gcse_main): Returns an integer.
	(hash_scan_set): Record initializations from CONST_DOUBLEs too.
	(try_replace_reg): Update some comments.
	(cprop_insn): Allow propagation into some JUMP_INSNs too.
	* rtl.h (gcse_main): Update prototype.
	* toplev.c (rest_of_compilation): If gcse_main returns nonzero,
	then run a jump optimization pass.
	* jump.c (delete_barrier_successors): Delete nop jumps too.

Wed Mar 10 19:04:31 1999  J"orn Rennecke  <>

	* sh.c (fp_arith_reg_operand): Actually test if reg is suitable
	for FP arithmetic.  Changed caller.
	* (subsf3, subsf_i): Use fp_arith_reg_operand.

Wed Mar 10 18:56:31 1999  J"orn Rennecke  <>

	* reload1.c (choose_reload_regs): When inheriting from the frame
	pointer, don't clobber it.

Wed Mar 10 08:01:52 1999  Bruce Korb  <>

	* fixinc/fixinc.*: Resync-ed with the files in this

	* fixinc/ The machine case elements were
	out-of-order.  (the ix86-*-linux-gnu* entry needed to
	be earlier).

Wed Mar 10 00:01:24 1999  J"orn Rennecke  <>

	* reload1.c (reload_combine_note_store): Fix calculation of number
	of affected registers.

Tue Mar  9 15:48:15 1999  Richard Henderson  <>

	* flow.c (tidy_fallthru_edge): Be more careful finding the last
	BARRIER of a list.  Delete the cc0 setter as well as a cond jump.

Tue Mar  9 15:26:02 1999  Hans-Peter Nilsson  <>

	* (ashlsi3 splitter): Fix typo in last change.

Tue Mar  9 11:35:20 1999  Richard Henderson  <>

	* reg-stack.c (stack_reg_life_analysis): Use returnjump_p
	instead of an explicit test for RETURN.

Tue Mar  9 09:33:16 1999  Kaveh R. Ghazi  <>

	* (toplev.o): Depend on $(BASIC_BLOCK_H).

	* toplev.c: Include basic-block.h.

Tue Mar  9 02:08:17 1999  Jeffrey A Law  (

	* calls.c (load_register_parameters): New function.
	(expand_call): Use it.

	* calls.c (expand_call): Slightly reorganize code.

	* calls.c (compute_argument_addresses): New function.
	(rtx_for_function_call): New function.
	(expand_call): Use them.

	* (zero_extendhisi2): Split into an expander and anonymous
	pattern.  Add new anonymous pattern for use when optimizing for
	size or for the PPro.
	(zero_extendqihi2, zero_extendqisi2): Likewise.

Mon Mar  8 23:43:47 1999  Richard Henderson  <>

	* haifa-sched.c (sched_analyze_1): Fix last change -- add clobber
	dependencies to sets in the non-hard-reg case too.

Mon Mar  8 18:55:21 1999  Marc Espie  <>

	* config/openbsd.h (HANDLE_SYSV_PRAGMA): Define.

Mon Mar  8 16:04:44 1999  Jim Wilson  <>

	* local-alloc.c (combine_regs): Don't combine if we have a hard reg
	for which CLASS_LIKELY_SPILLED_P is true.

	* unroll.c (loop_iterations): Only call loop_find_equiv_value if we
	have a REG or SUBREG.

Mon Mar  8 15:27:42 1999  Jeffrey A Law  (

	* (ashlsi3): Revise comments.  Provide new anonymous
	pattern for Pentium and PPro/PII.  Reverse constraints in
	generic ashlsi3 anonymous pattern.

	* calls.c (initialize_argument_info): Accept a pointer to
	(expand_call): Pass the address of CUMULATIVE_ARGS.

	* rs6000/xm-sysv4.h (HOST_BITS_PER_LONGLONG): Remove #if 0.

	* mn10300.h (CASE_DROPS_THROUGH): Delete.
	* mn10200.h (CASE_DROPS_THROUGH): Delete.
	* h8300.h (CASE_DROPS_THROUGH): Delete.

	* flow.c (merge_blocks_nomove): For HAVE_cc0 targets, make sure
	to also delete the cc0 setter when deleting a conditional branch
	to the next block.

Mon Mar  8 18:47:11 1999  J"orn Rennecke  <>

	* regmove.c (copy_src_to_dest): New argument max_old_uid.

Mon Mar  8 08:23:00 1999  Bruce Korb  <>

	* ChangeLog: Merged entries from fixincl-branch.

Sun Mar  7 11:48:56 1999  Richard Henderson  <>

	* haifa-sched.c (ENCODE_BLOCKAGE): Don't shift unit too far.
	(print_exp): Special case addition of a constant.
	(print_value) [CONST_INT]: Use HOST_WIDE_INT_PRINT_HEX.

Sun Mar  7 11:21:02 1999  Richard Henderson  <>

	* haifa-sched.c (reg_last_clobbers): New.
	(reg_pending_clobbers, bb_reg_last_clobbers): New.
	(compute_block_backward_dependences): Allocate memory for them.
	(schedule_region): Likewise.
	(sched_analyze_1): Clobbers don't interfere with one another.
	They do interfere with sets ...
	(sched_analyze_2): ... and uses.
	(sched_analyze): Likewise.
	(sched_analyze_insn): Update reg_last_clobbers appropriately.

Sun Mar  7 08:30:37 1999  Kaveh R. Ghazi  <>

	* gmon-sol2.c: Include config.h and system.h.  Don't redundantly
	include system header files.
	(sccsid): Remove.
	(moncontrol, monstartup, _mcleanup, internal_mcount): Prototype.
	(_mcleanup): Add the `const' keyword to a char*.
	(internal_mcount): Declare `etext' as a char[] not a function.
	Cast `etext' to char* when calling `monstartup'.

	* sparc.c (frame_base_name, save_regs, restore_regs,
	build_big_number, sparc_cmodel_string, sparc_align_loops_string,
	sparc_align_jumps_string, sparc_align_funcs_string, code_model,
	cpu_default, cpu_table, output_function_prologue,
	output_function_epilogue, output_return,
	sparc_flat_output_function_prologue, ultra_code_names,
	sparc_flat_output_function_epilogue): Constify a char*.
	(hypersparc_adjust_cost): Add a default case in a switch.

	* sparc.h (sparc_cmodel_string, OVERRIDE_OPTIONS,
	sparc_cpu_select, sparc_align_loops_string,
	sparc_align_jumps_string, sparc_align_funcs_string,
	output_return): Constify a char*.

	* (movdi): Change the comparison of HOST_BITS_PER_WIDE_INT
	so that we check "== 32", instead of "!= 64".  Cast a value to
	HOST_WIDE_INT when comparing against one.  Hide the declaration
	for variable `chain'.

Sun Mar  7 08:05:27 1999  Kaveh R. Ghazi  <>

	* system.h (const, inline): Move the stage2 handling of these
	keywords-as-macros from here...

	* gansidecl.h (const, inline): here.

Sun Mar  7 02:44:15 1999  Richard Henderson  <>

	* recog.c (push_operand, pop_operand): VOIDmode needn't match modes.

Sun Mar  7 01:58:47 1999  Richard Henderson  <>

	* cse.c (canon_hash): Never reject hard regs in CCmode.

Sun Mar  7 01:15:04 1999  Jeff Law  (

	* version.c: Bump for snapshot.

Sat Mar  6 17:18:44 1999  Richard Earnshaw  (
			  Richard Henderson  <>

	* flow.c (make_edges): Handle casesi that jump to default branch.
	If CASE_DROPS_THROUGH, force fallthru to block after casesi.

Sat Mar  6 07:49:23 1999  Kaveh R. Ghazi  <>

	* c-aux-info.c (data_type, affix_data_type, gen_decl,
	gen_formal_list_for_type, gen_formal_list_for_func_def, gen_type):
	Qualify a char* with the `const' keyword.

	* c-common.c (declare_hidden_char_array, add_attribute, if_elt,
	declare_function_name, decl_attributes, format_char_info,
	check_format_info, binary_op_error): Likewise.

	* cexp.y (yyerror, error, pedwarn, warning, token): Likewise.

	* gcse.c (dump_hash_table): Likewise.

	* integrate.c (function_cannot_inline_p): Likewise.

	* optabs.c: Include insn-config.h earlier.
	(init_libfuncs, init_integral_libfuncs, init_floating_libfuncs):
	Qualify a char* with the `const' keyword.

	* real.c (asctoe24, asctoe53, asctoe64, asctoe113, asctoe,
	asctoeg, mtherr, ereal_atof): Likewise.

	* real.h (ereal_atof): Likewise.

	* sbitmap.c (dump_sbitmap_vector): Likewise.

	* sbitmap.h (dump_sbitmap_vector): Likewise.

	* stmt.c (nesting, n_occurrences, expand_start_case): Likewise.

	* toplev.c (rest_of_compilation): Likewise.

	* tree.h (function_cannot_inline_p, expand_start_case): Likewise.

Fri Mar  5 23:16:42 1999  David Edelsohn  <>

	* rs6000.h (ASM_OUTPUT_REG_{PUSH,POP}): Add 64-bit support and do
	not overwrite AIX link register save area.

Fri Mar  5 23:08:01 1999  J"orn Rennecke  <>

	* reload.c (find_reloads_subreg_address): Actually create the USE
	for the register, not the new memory location.

Fri Mar  5 21:41:07 1999  J"orn Rennecke  <>

	* reload1.c (emit_reload_insns): If pseudo that can't be replaced
	with its equivalent constant, fall back to reload_in.

Fri Mar  5 13:20:39 1999  Richard Henderson  <>

	* Delete .flow2 debugging files.

Fri Mar  5 11:36:11 1999  Nick Clifton  <>

	* config/arm/arm.c (arm_override_options): Change default target
	cpu selection so that enabling TARGET_APCS_32 does not override
	default target CPU.

Fri Mar  5 19:26:23 1999  J"orn Rennecke  <>

	* sh.h (SLOW_BYTE_ACCESS): Define to 1.
	(BOOL_TYPE_SIZE): Define.

Fri Mar  5 02:14:54 1999  John Wehle  (

	* function.c (assign_stack_temp_for_type): Abort
	if mode == Blkmode and align is less than
	(assign_stack_temp_for_type): Round the size parameter
	passed to assign_stack_local instead of size itself.

Thu Mar  4 15:00:35 1999  Richard Henderson  <>

	* flow.c (delete_unreachable_blocks): Mark blocks as they
	are put on to the worklist, not as they are taken off.

Thu Mar  4 00:05:44 1999  Jeffrey A Law  (

	* function.c (current_function_has_computed_jump): Remove duplicate

Wed Mar  3 19:09:11 1999  Jim Wilson  <>

	* m68k/m68020-elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP): Undef.
	(STARTFILE_SPEC, ENDFILE_SPEC): Define to empty string.

	(INIT_SUBTARGET_OPTABS): Define to empty.

Wed Mar  3 00:00:37 1999  J"orn Rennecke  <>

	* sh.c (force_into): New function.
	(expand_block_move): Use it.

Tue Mar  2 10:39:43 1999  Nick Clifton  <>

	* cccp.c (struct default_include): Add 'included' field.
	(main): Set 'included' field when a default include directory
	is added to the chain.  If -v is specified list all default
	include directories which do not get appended to the chain.

Tue Mar  2 09:24:10 1999  Nick Clifton  <>

	* (gxx_include_dir): Rename to
	gcc_gxx_include_dir in order to prevent it being overridden by
	a top level Makefile.
	(gcc_tooldir): If $exec_prefix != $prefix then use the
	difference between the two as the basis for gcc_tooldir.

	* configure: Rebuild.

	* Rename gxx_include_dir to gcc_gxx_include_dir.

Tue Mar  2 16:45:31 1999  J"orn Rennecke  <>

	* unroll.c (copy_loop_body): Don't make extra copies of

Tue Mar  2 07:44:56 1999  Mark Mitchell  <>

	* tree.c (save_tree_status): Don't treat functions with no context
	as nested.

Tue Mar  2 09:37:05 1999  Robert Lipe  <>

	* (MAKEINFO): Use makeinfo built from sibling
	tree when available.

Tue Mar  2 10:12:48 1999  Kaveh R. Ghazi  <>

	* alpha.c (alpha_cpu_name, alpha_cpu_string, alpha_tp_string,
	alpha_fprm_string, alpha_fptm_string, alpha_mlat_string,
	current_function_file): Add the `const' keyword.
	(normal_memory_operand): Mark parameter `mode' with
	(alpha_expand_unaligned_load): Add a default case to a switch.

	* alpha.h (alpha_cpu_string, alpha_fprm_string, alpha_fptm_string,
	alpha_tp_string, alpha_mlat_string): Add the `const' keyword.
	(normal_memory_operand): Add prototype.

	* Cast an expression to `unsigned HOST_WIDE_INT' when
	comparing against one.

Tue Mar  2 10:00:21 1999  Kaveh R. Ghazi  <>

	* mips.c (abort_with_insn): Make function static, add a prototype,
	constify 2nd parameter and mark with ATTRIBUTE_NORETURN.
	(current_function_file, mips_cpu_string, mips_isa_string,
	mips_abi_string, mips_no_mips16_string, mips_entry_string,
	mips_move_1word, mips_move_2words, output_block_move, load_store,
	override_options, make_temp_file, mips16_fp_args): Qualify a char*
	with the `const' keyword.

	* mips.h (current_function_file, mips_cpu_string, mips_isa_string,
	mips_abi_string, mips_entry_string, mips_no_mips16_string,
	mips_move_1word, mips_move_2words, output_block_move): Likewise.
	(abort_with_insn): Remove extern prototype.

	* Qualify a char* with the `const' keyword.
	Remove many unused variables named `label'.

Tue Mar  2 01:27:52 1999  H.J. Lu  (

	* (cpp_install_dir, INSTALL_CPP, UNINSTALL_CPP): New
	(install-cpp, uninstall-cpp): New targets.
	(install-normal): Depend on $(INSTALL_CPP).
	(uninstall): Depend on $(UNINSTALL_CPP).
	* (cpp_install_dir): New, substitute.
	(tmake_file): Added t-install-cpp for --enable-cpp.
	* configure: Rebuilt.
	* New cpp script.
	* config/t-install-cpp: New target fragment.

Tue Mar  2 01:40:01 1999  Franz Sirl  <>
			  Jeffrey A Law  (

	* cse.c (fold_rtx): Update comments for (const (minus (label) (label)))
	(cse_insn): Avoid creating a bogus REG_EQUAL note for
	(const (minus (label) (label)))
	(record_jump_cond): Fix mismatched paren in comment.

Tue Mar  2 01:07:12 1999  Dan Nicolaescu  <>

	* final.c (end_final): There are 11 words in the "main header"
	structure, not 10.

Tue Mar  2 00:09:18 1999  Marc Espie  <>

	* extend.texi: Reference __extension__ in the index.

Mon Mar  1 19:09:32 1999  Jim Wilson  <>

	* (CROSS_FLOAT_H): Delete.
	(FLOAT_H): Use float_h_file.
	(rest.cross, stmp-int-hdrs): Delete gfloat.h dependency.
	(gfloat.h): Delete.
	(stmp-int-hdrs): Use FLOAT_H instead of gfloat.h.
	(mostlyclean): Delete gloat.h reference.
	(install-cross-rest, install-float-h-cross, stmp-headers): Update
	* (sparcv9-*-solaris2*): Set float_format to none.
	(sparc-*-solaris2*): Set float_format to none for 2.5 and higher.
	(float_h_file): Set from float_format.  Substitute into
	(float_format): No longer substitute into
	* cross-make (FLOAT_H): Delete.
	* config/mips/t-cross64 (FLOAT_H): Delete.
	* configure: Rebuilt.

Mon Mar  1 16:36:18 1999  Jeffrey A Law  (

	* (div_trap_normal, div_trap_mips16): Require the dependent
	insn to be an INSN before looking at its pattern.

Mon Mar  1 15:03:51 1999  Jim Wilson  <>

	* config/m68k/lb1sf68.asm (udivsi3): Change jmi to jcs.  Fix comments.
	* config/m68k/m68k.h (LEGITIMATE_INDEX_REG_P): Reject SIGN_EXTEND of
	HImode reg when TARGET_5200.

Mon Mar  1 21:44:30 1999  J"orn Rennecke  <>

	From Toshiyasu Morita:
	* sh.h (CACHE_LOG): SH2 has cache, too.

Mon Mar  1 14:23:36 1999  Catherine Moore  <>

	* toplev.c (compile_file): Disable -ffunction-sections and
	debugging warning if the object format is elf.

Mon Mar  1 11:46:25 1999  Vladimir N. Makarov  <>

	* config/h8300/h8300.c (print_operand): Use 16 bit addressing
	when the data in 8-bit area and can not be addressed by 8-bit.

Sun Feb 28 16:40:00 1999  Richard Henderson  <>

	* flow.c (create_basic_block): Disregard integrated bb notes.

Sun Feb 28 15:57:06 1999  Richard Henderson  <>

	* (blockage, nonlocal_goto_receiver): Set length to 0.

Sun Feb 28 14:47:53 1999  Arturo Montes  <>

	* config/i386/t-sco5gas (crti.o): New target.

Sun Feb 28 15:10:17 1999  David Edelsohn  <>

	* (elf_high, movsi_got, *movsi_got_internal,
	*movsi_got_internal_mem, GOT splitter, movdf_hardfloat32,
	movdf_softfloat32, movdf_hardfloat64, movdf_softfloat64,
	load_multiple, allocate_stack, call_indirect_aix32,
	call_indirect_aix64, call_value_indirect_aix32,
	call_value_indirect_aix64, call_indirect_nt,
	call_value_indirect_nt): Use gpc_reg_operand instead of

Sun Feb 28 15:10:17 1999  Michael Meissner  <>

	* (one_cmplsi2, andsi3, iorsi3, xorsi3, *eqvsi3,
	*andcsi3, *iorcsi3, *nandsi3, *norsi3): Add alternatives to use CR
	other than cr0.
	* rs6000.c (and{,64}_operand): If the user did -ffixed-cr0, don't
	allow andi. or andis. which always set cr0.

Sun Feb 28 01:15:04 1999  Jeff Law  (

	* version.c: Bump for snapshot.

Sun Feb 28 02:00:38 1999  Jeffrey A Law  (

	* invoke.texi: Update information for PA scheduling.

Sat Feb 27 23:21:47 1999  Jerry Quinn  <>
			  Mike Stump  <>

	* pa.c (override_options): Change default to 7100LC.

	* pa.h (REG_ALLOC_ORDER): Change order to allocate left half of
	float regs before right half of float regs.

Sat Feb 27 22:48:38 1999  H.J. Lu  (
			  Jeffrey A Law  (

	* frame.h: Update some comments.
	* defaults.h (TARGET_ATTRIBUTE_WEAK): Define.
	* crtstuff.c (__register_frame_info, __deregister_frame_info): Declare
	(__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.

Sat Feb 27 19:18:24 1999  Jeffrey A Law  (

	* SERVICE: Update from the FSF.

Sat Feb 27 14:31:22 1999  Arturo Montes  <>

	* config/i386/t-sco5 (crti.o): New target.
	* config/i386/sco5.h (STARTFILE_SPEC): Include crti.o when
	linking -shared.
	* (i[34567]86-*-sco3.2v5*): Add crti.o.

Sat Feb 27 01:12:40 1999  Jeffrey A Law  (

	* md.texi (prologue,epilogue): Document named patterns.

Fri Feb 26 19:31:25 1999  Dave Love  <>

	* md.texi, invoke.texi: Fix unterminated @xrefs.

Fri Feb 26 15:33:45 1999  Richard Henderson  <>

	* genattrtab.c (simplify_knowing): Fix uninitialized read
	in Feb 21 change.

	* genextract.c (main): Clear recog_operands before extracting.

Fri Feb 26 02:24:57 1999  Jeffrey A Law  (

	* 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.

Thu Feb 25 23:43:59 1999  Richard Henderson  <>

	Flow rewrite to use basic block structures and edge lists:

	* basic-block.h (x_basic_block_head, x_basic_block_end): Kill.
	(basic_block_computed_jump_target, basic_block_live_at_start): Kill.
	(struct edge_def): New.
	(struct basic_block_def): New.
	(basic_block_info): New.
	(uid_block_number): Kill.
	(basic_block_for_insn, BLOCK_FOR_INSN): New.
	(BLOCK_NUM): Update.
	* flow.c (XNMALLOC): Kill.
	(max_uid_for_flow): Kill.
	(uid_block_number): Kill.
	(uid_volatile): Turn into a bitmap.
	(basic_block_info): New.
	(entry_exit_blocks): New.
	(x_basic_block_head, x_basic_block_end): Kill.
	(basic_block_computed_jump_target, basic_block_live_at_start): Kill.
	(flow_int_list_blocks, basic_block_succ, basic_block_pred): Kill.
	(basic_block_loop_depth): Kill.
	(basic_block_for_insn): New.
	(find_basic_blocks): Split out initial block counting into
	count_basic_blocks.  Call functions split out of find_basic_blocks_1.
	(count_basic_blocks): New.
	(find_basic_blocks_1): Split out edge recognition, unreachable
	block deletion.
	(create_basic_block): New.
	(compute_bb_for_insn): New.
	(clear_edges): New.
	(free_bb_memory): Kill.
	(add_edge, add_edge_to_label): Kill.
	(mark_label_ref): Kill.
	(make_edges): Rewrite to use edge lists.
	(make_edge, make_label_edge): New.
	(mark_critical_edges): New.
	(split_edge, insert_insn_on_edge): New.
	(commit_one_edge_insertion, commit_edge_insertions): New.
	(delete_unreachable_blocks): Rewrite to use edge lists.
	Split out EH region manipulation into delete_eh_regions.
	Call tidy_fallthru_edge and merge_blocks.
	(delete_eh_regions): New.
	(delete_note_p): New.
	(delete_insn_chain): New.
	(delete_block): Split out code into delete_insn_chain and
	tidy_fallthru_edge.  Update edge lists.
	(expunge_block): New.
	(flow_delete_insn): New?
	(can_delete_label_p): New?
	(merge_blocks_nomove, merge_blocks): New.
	(tidy_fallthru_edge): New.
	(calculate_loop_depth): New.
	(life_analysis): Allocate and free uid_volatile.
	(free_basic_block_vars): Update for new structures.
	(record_volatile_insns): Use SET_INSN_VOLATILE.
	(mark_regs_live_at_end): Tidy EXIT_IGNORE_STACK usage.
	(mark_used_regs): Likewise.
	(life_analysis_1): Use bb global_live_at_start, global_live_at_end,
	local_set regsets.  Use bb->aux to store new_live_at_end.  Begin
	life propagation from EXIT_BLOCK rather than last block.  Clear
	regs_ever_live after mark_regs_live_at_end.
	(allocate_for_life_analysis): Update for new structures.
	(propagate_block): Split out loop depth calculation to
	(regno_uninitialized): Use bb->global_live_at_start.
	(regno_clobbered_at_setjmp): Likewise.
	(dump_bb_data): Likewise.
	(find_auto_inc): Use BLOCK_FOR_INSN instead of BLOCK_NUM.
	(dump_flow_info): Update for new structures.
	(dump_edge_info): New.
	(print_rtl_with_bb): Update for new structures.
	(compute_preds_succs): Do no work -- convert edge lists.
	(set_block_for_insn): From corpse of old set_block_num.
	(set_block_num): Call it.

	* rtl.c (note_insn_name): Add NOTE_INSN_BASIC_BLOCK.
	* rtl.h (rtunion_def): Add bb entry.

	* varray.h (varray_data_tag): Add bb entry.

	* emit-rtl.c (emit_label_before): New.

	* except.c (expand_rethrow): Delete insns following the call to
	rethrow.  Put the REG_EH_RETHROW on the call.

	* jump.c (returnjump_p, returnjump_p_1): New.

	* expr.h (nonlocal_goto_handler_labels): New declaration.
	* function.c (nonlocal_goto_handler_labels): Define it.
	(push_function_context_to): Save it.
	(pop_function_context_from): Restore it.
	(init_function_start): Clear it.
	(nonlocal_label_rtx_list): Kill.
	* function.h (struct function): Add storage space for it.
	* stmt.c (expand_nl_handler_label): Return the new label.
	(expand_nl_goto_receivers): Collect a list of them in

	* (print-rtl.o): Depend on basic-block.h.
	(flow.o): Depend on insn-flags.h.

	* function.c (thread_prologue_and_epilogue_insns): Do not
	half-heartedly update bb structures.

	* toplev.c: Add flow2 dump as -dw.
	(rest_of_compilation): Finish .greg before flow2.

	* graph.c (draw_edge): Handle class 3.
	(print_rtl_graph_with_bb): Make abnormal edges red class 2,
	change non-fall-thru but adjacent to green class 3.  Update
	to use new structures.

	* print-rtl.c (print_rtx): Handle NOTE_INSN_BASIC_BLOCK.

	* reg-stack.c (BLOCK_NUM): Convert to function.  Abort if
	block_number is -1.
	(reg_to_stack): Initialize block_num to -1.

	* combine.c (set_nonzero_bits_and_sign_copies): Update reference
	to basic_block_live_at_start to bb->global_live_at_start.
	(try_combine): Likewise.
	(reg_dead_at_p): Likewise.
	* global.c (global_conflicts): Likewise.
	Handle stack regs on all abnormal edges, not just computed jumps.
	(mark_elimination): Update reference to basic_block_live_at_start.
	(build_insn_chain): Likewise.
	* haifa-sched.c (haifa_edge): Rename from edge for conflict.
	(is_cfg_nonregular): Look at nonlocal_goto_handler_labels instead
	of nonlocal_label_rtx_list.
	(check_live_1): Update reference to basic_block_live_at_start.
	(update_live_1): Likewise.
	(find_pre_sched_live): Likewise.
	(find_post_sched_live): Likewise.
	* local-alloc.c (update_equiv_regs): Likewise.
	(block_alloc): Likewise.
	* reload1.c (reload, reload_combine): Likewise.
	* regmove.c (mark_flags_life_zones): Likewise.
	* resource.c (mark_target_live_regs): Likewise.
	* sched.c (schedule_block): Likewise.

	* regclass.c (regset_release_memory): Don't free

	* unroll.c (copy_loop_body): Don't duplicate NOTE_INSN_BASIC_BLOCK.

Thu Feb 25 21:32:34 1999  Jason Merrill  <>

	* fixinc.wrap: Also handle struct queue in sys/stream.h.
	* fixinc.svr4: Likewise.

	* dwarf2out.c (scope_die_for): Set scope_die to comp_unit_die
	rather than asserting it.

Thu Feb 25 23:33:06 1999  Kaveh R. Ghazi  <>

	* cppexp.c (left_shift, right_shift, parse_charconst, COMPARE,
	cpp_parse_expr): Replace uses of long/HOST_BITS_PER_LONG with

	* (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.

Thu Feb 25 18:46:26 1999  Richard Henderson  <>

	* gcc.c (default_compilers): Define __FAST_MATH__ when appropriate.
	* objc/lang-specs.h: Likewise.

Thu Feb 25 16:19:43 1999  Jeffrey A Law  (

	* (call patterns): Lose unused argument to output_call.

	* print-rtl.c (print_rtl): Print /j and /c for the jump/call flags.

1999-02-25  Zack Weinberg  <>

	* 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
	(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
	(cpp_cleanup): Delete all macros and free the hashtab.

Thu Feb 25 21:52:54 1999  J"orn Rennecke  <>

	* 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.
	* va-sh.h (entire file): If __HITACHI__ is defined, use sh[123]
	flavor varargs.

Thu Feb 25 14:32:40 1999  Kaveh R. Ghazi  <>

	* cse.c (dump_class): Revert last change and make the prototype

Thu Feb 25 19:13:42 1999  J"orn Rennecke  <>

	* rtl.h (insn_first_p): Don't declare.
	* rtlanal.c (insn_first_p): Delete.
	* loop.c (loop_insn_first_p): Faster implementation.

Thu Feb 25 10:44:35 1999  Richard Earnshaw  (

	* arm.h (TARGET_SWITCHES): Delete deprecated switches -m[236].
	(TARGET_3, TARGET_6): Delete.
	(ARM_FLAG_ARM[36]): Delete.
	(CPP_CPU_ARCH_SPEC): No need to handle -m[236] any more.
	(CC1_SPEC): Don't expand -m[236] into new equivalents.
	(CPP_APCS_PC_SPEC): No need to handle -m[236] any more.
	* arm.c (arm_override_options): Delete warnings about deprecated
	options -m[236].

	* arm.c (arm_finalize_pic): Build the label into the special pic
	adjustment insn instead of issuing it separately.
	* (pic_add_dot_plus_eight): Rework to contain the label
	that is needed.

	* (*zeroextractqi_compare0_scratch): Delete.
	(*ne_zeroextractsi): New pattern.

Thu Feb 25 18:40:06 1999  J"orn Rennecke  <>

	* stmt.c (expand_end_loop): Grok code emitted by

Thu Feb 25 10:17:32 1999  Nick Clifton  <>

	* config/arm/arm.c (return_in_memory): Float fields in unions
	force a return in memory.
	(load_multiple_sequence): Add comment explaining why two LDR
	instructions can be better than an LDMIA instruction.

	* config/arm/arm.h (TARGET_SHORT_BY_BYTES): Add comment
	describing the real meaning of this option.
	(FIXED_REGISTERS): Default r10 to not-fixed.
	(CALL_USED_REGISTERS): Default r10 to not-call-used.
	as empty.
	performing other checks.

	* config/arm/ (zero_extendhisi2): Undo previous change.
	(extendhisi2): Undo previous change.
	Also add comments describing why TARGET_SHORT_BY_BYTES can be
	ignored for armv4(t) architectures.

	Define to fix r10.

	* config/arm/riscix1-1.h

Thu Feb 25 12:09:04 1999  Kaveh R. Ghazi  <>

	* cse.c (dump_class): Make the function definition static to match
	the prototype.

Wed Feb 24 17:47:28 1999  Jim Wilson  <>

	* dbxout.c (gstab.h): Use if CROSS_COMPILE.

	* dwarf2out.c (add_location_or_const_value_attribute): Add big
	endian correction for parms passed in regs but living on the stack.

Wed Feb 24 14:03:54 1999  Jeffrey A Law  (

	* 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.

	* calls.c (compute_argument_block_size): New function, extracted from
	(expand_calls): Use compute_argument_block_size.  Delete
	original_args_size, use unadjusted_args_size instead.

	* calls.c (precompute_arguments): New function, extracted from
	(expand_call): Use precompute_arguments.

	* calls.c (finalize_must_preallocate): New function, extracted from
	(expand_call): Use finalize_must_preallocate.

	* calls.c (store_one_arg): Mark "variable_size" as possibly unused.

	* 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.

Wed Feb 24 19:47:56 1999  J"orn Rennecke  <>

	* loop.h (loop_insn_first_p): Declare.
	* loop.c (loop_insn_first_p): No longer static.
	* unroll.c (iteration_info): Fix comparison to
	Before accessing reg_biv_class, check index against
	Fix and enable code for giv iterators.
	(loop_iterations): Compare with reg_iv_type->num_elements instead
	of with max_reg_before_loop.

Wed Feb 24 19:17:11 1999  J"orn Rennecke  <>

	* unroll.c (unroll_loop): Avoid out-of-bounds index for local_regno.

Wed Feb 24 11:26:41 1999  Vladimir N. Makarov  <>

	* config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Don't use
	PIC_OFFSET_TABLE_REGNUM for register allocation when -fPIC.

Tue Feb 23 16:24:19 1999  Marc Lehmann  <>

	* config/i386/ Fix typo.

Mon Feb 22 19:36:33 1999  Andrew Cagney  <>

	* 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  <>:
	* mips.c (function_prologue): Adjust frame size in .frame pseudo-op
	when TARGET_MIPS16 && frame_pointer_needed.

1999-02-22  Nick Clifton  <>

	* config/arm/arm.h: Add TARGET_CPU_strongarm1100.
	Add -mno-sched command line switch to disable scheduling of
	instructions into the function's prologue.
	(enum processor_type): Remove.
	(TARGET_OPTIONS): Add "fpe=" option to match documentation.
	(struct arm_cpu_select): Replace 'set_tune_p' and 'set_arch_p'
	fields with 'processors' field.
	(CONDITIONAL_REGISTER_USAGE): Allow r10 to be used if stack
	checking is not enabled.
	(RETURN_IN_MEMORY): Always call arm_return_in_memory.

	* config/arm/arm.c (arm_cpu): Remove.
	(tune_flags): Remove.
	(arm_is_strong): New variable: true iff the target processor is a
	(arm_is_6_or_7): New variable: true iff the target processor is an
	ARM6 or and ARM7.
	(arm_select): Fields reorganised.
	(struct processors): processor_type field removed.
	(all_procs): Remove.
	(all_cores): New array: Definitions of all known ARM cpu cores.
	(all_architectures): New array: Definitions of all known ARM
	(streq): New macro.
	(FL_SCHED): New processor flag: processor required load
	(FL_STRONG): New processor flag: processor is a StrongARM.
	(arm_override_options): Reorganized to make code clearer.
	(use_return_insn): Test for "not (TARGET_APCS and
	(arm_return_in_memory): Improve handling of structures.

	* config/arm/ Remove "cpu" attribute.  Replace with
	"is_strongarm" and "is_arm_6_or_7" attributes.
	(zero_extendhisi2): Check for TARGET_SHORT_BY_BYTES before
	(extendhisi2): Check for TARGET_SHORT_BY_BYTES before arm_arch4.

	* invoke.texi (ARM Options): Document -mtune= and -mfp= options.

1999-02-22  Philip Blundell  <>

	* config/arm/linux-gas.h (INITIALIZE_TRAMPOLINE): Replace default
	definition with one including cache synchronization.
	(CLEAR_INSN_CACHE): Correct syscall number and enable definition.
	Move definition of inhibit_libc to...
	* config/arm/xm-linux.h: ... here.

	* config/arm/t-linux: Disable multilib configurations since the
	only effect for most people is to cause builds to fail.

	* config/arm/elf.h (ASM_FILE_START): Add .file directive.
	(ASM_SPEC): Translate -mapcs-float to -mfloat for the assembler.

	* config/arm/linux-elf.h (DEFAULT_VTABLE_THUNKS): Define.
	(LIB_SPEC): Copy definition from generic Linux files.
	(LIBGCC_SPEC): Include -lfloat if -msoft-float was given.
	(FP_DEFAULT): Set to SOFT3 on 32-bit targets.

Mon Feb 22 16:54:18 1999  Andrew MacLeod  <>

	* 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.

Mon Feb 22 13:33:47 1999  Mark Mitchell  <>

	* 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,

Mon Feb 22 14:13:23 1999  Vladimir N. Makarov  <>

	* (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

	* 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/ (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

Mon Feb 22 08:55:05 1999  Ovidiu Predescu  <>

	* objc/objc-act.c (encode_type): Temporary revert to the old
	behavior of encoding types as the new one seems to break the
	encoding of bitfields.

Mon Feb 22 11:40:44 1999  Craig Burley  <>
Sat Feb 20 09:59:36 1999  Craig Burley  <>

	* (all.internal, all.cross): Depend on `doc'
	target, to ensure docs get made before installation.

	Decrease spurious warnings from -fsyntax-only:
	* stmt.c (expand_expr_stmt): Expand expr even when -fsyntax-only.

Mon Feb 22 10:55:00 1999  Gavin Romig-Koch  <>

	* c-lex.c (yylex): Replace warning about integer constants being
	larger than long-longs, with a warning about integer constants
	being larger than the largest target integer.

Mon Feb 22 08:35:38 1999  Craig Burley  <>

	Fix -fsyntax-only ICEs:
	* varasm.c (assemble_zeros, assemble_variable,
	output_constant_def): Do nothing when -fsyntax-only.

Fri Feb 19 18:18:56 1999  Don Bowman  <>

	* (mips*-*-vxworks*): Enable gthreads vxworks support.
	* configure: Rebuilt.

Sun Feb 21 20:34:44 1999  Jeff Law  (

	* version.c: Bump for snapshot.

Sun Feb 21 20:35:10 1999  Jeffrey A Law  (

	* config/aoutos.h (ASM_OUTPUT_CONSTRUCTOR): Delete.
	* tm.texi: Update docs for constructors and destructors.

Sun Feb 21 17:11:18 1999  Richard Henderson  <>

	* genattrtab.c (check_attr_value): Allow negative const_int if
	negative_ok.  Accept integral arithmetic operators.  Accept
	direct references to other attributes.  Accept symbol_ref in
	non-constant attributes.
	(max_attr_value): Add new argument `unknownp'.  Update all callers.
	(or_attr_value): Likewise.
	(simplify_knowing): Don't optimize if max_attr_value unknown.
	(write_length_unit_log): Likewise with or_attr_value.
	(find_and_mark_used_attributes): Don't fallthru case.
	(write_attr_set): Pass thru all non-cond expressions.
	(write_attr_value): Handle symbol_ref, attr, and arithmetic.

Sun Feb 21 13:16:44 1999  Michael Hayes  <>

	* regmove.c (discover_flags_reg): Use word_mode instead of SImode.

Sun Feb 21 13:15:40 1999  Richard Henderson  <>

	* regmove.c (discover_flags_reg): Remove cc0 code.
	(mark_flags_life_zones) [HAVE_cc0]: Force use of cc0; bail if
	a potential flags register was identified.

Sat Feb 20 16:16:07 1998  Franz Sirl  <>

	* (scc plus ltu): Fix typo in last change.

Sat Feb 20 09:08:44 1999  Richard Earnshaw  (

	* xm-arm.h (HOST_BITS_PER_LONGLONG): Define.

Fri Feb 19 23:02:02 1999  Richard Henderson  <>

	* regmove.c (discover_flags_reg): New function.
	(flags_set_1, mark_flags_life_zones): New functions.
	(regmove_optimize): Call them.
	(fixup_match_1): Use insn modes rather than sets_cc0_p.

Fri Feb 19 22:47:01 1999  J"orn Rennecke  <>

	* rtlanal.c (insn_first_p): Fix return value for insn == reference.

	* loop.c (strength_reduce, check_final_value, check_dbra_loop):
	Use loop_insn_first_p.

Fri Feb 19 15:49:26 1999  Michael Meissner  <>
			  David Edelsohn  <>

	* (scc plus eq): Fix output template.
	(scc plus ltu): Fix output template and collapse variants
	correcting early clobbers.
	(scc plus geu): Fix output template.
	(scc plus gt): Fix output template.
	(scc plus gtu): Fix output template and collapse variants.

Fri Feb 19 15:43:59 1999  Kaveh R. Ghazi  <>

	* cppinit.c (print_help): Remove unescaped newline in string.

Fri Feb 19 19:55:06 1999  J"orn Rennecke  <>

	* loop.c (strength_reduce): Check for intervening jumps when
	converting biv increment to giv.

Thu Feb 18 16:36:58 1999  Per Bothner  <>

	* tree.def (TRY_FINALLY_EXPR, GOTO_SUBROUTINE_EXPR): New tree nodes,
	* expr.c (expand_expr): Support new tree nodes.

Fri Feb 19 10:17:56 1999  Andreas Schwab  <>

	* config/m68k/m68k.c (m68k_align_loops_string,
	m68k_align_jumps_string, m68k_align_funcs_string): Add const.
	* config/m68k/m68k.h (m68k_align_loops_string,
	m68k_align_jumps_string, m68k_align_funcs_string): Likewise.

Thu Feb 18 23:28:35 1999  Kaveh R. Ghazi  <>

	* bitmap.c (bitmap_print): Qualify a char* with the `const' keyword.

	* bitmap.h (bitmap_print): Likewise.

	* c-decl.c (builtin_function, grokdeclarator, grokfield): Likewise.

	* c-lang.c (build_objc_string): Likewise.

	* c-lex.c (yyerror, extend_token_buffer): Likewise.  Don't include
	limits.h or ctype.h.  Remove unused variable `p'.

	* c-lex.h (yyerror): Qualify a char* with the `const' keyword.

	* c-pragma.c (handle_pragma_token): Likewise.

	* c-pragma.h (handle_pragma_token): Likewise.

	* c-tree.h (build_objc_string, builtin_function, grokfield,
	build_indirect_ref, lvalue_or_else, readonly_warning, error_init,
	pedwarn_init): Likewise.

	* c-typeck.c (convert_for_assignment, warn_for_assignment,
	push_string, warning_init, incomplete_type_error,
	build_indirect_ref, lvalue_or_else, readonly_warning,
	build_c_cast, spelling, push_member_name, print_spelling,
	error_init, pedwarn_init, start_init): Likewise.

	* objc/objc-act.c (build_objc_string): Likewise.

	* print-tree.c (print_node_brief, print_node): Likewise.

	* tree.h (lvalue_or_else, print_node, print_node_brief): Likewise.

Thu Feb 18 20:44:21 1999  David Edelsohn  <>

	* regclass.c (record_reg_classes): Correctly handle 'p' constraint.

Thu Feb 18 19:59:37 1999  Marc Espie  <>

	* :Handle OpenBSD platforms.
	* configure: Rebuilt.
	* config/openbsd.h: New file.
	* config/xm-openbsd.h: New file.
	* config/t-openbsd: New file.
	* config/t-openbsd-thread: New file.

Thu Feb 18 18:47:09 1999  Jeffrey A Law  (

	* function.c (assign_stack_temp_for_type): Round SIZE before calling
	assign_stack_local for BLKmode slots.

Fri Feb 19 01:45:06 1999  J"orn Rennecke  <>

	* loop.c (strength_reduce): For derived givs, replace the
	giv this was derived from with its new_reg.
	(recombine_givs): Don't set new_reg for derived giv.
	And don't print it, print SUM instead.

Thu Feb 18 15:52:49 1999  Jim Wilson  <>

	* m68kelf.h (ASM_RETURN_CASE_JUMP): Add 5200 support.

1999-02-18  Zack Weinberg  <>

	* cpplib.c: Kill define of STDC_VALUE.  Don't include output.h
	  or prefix.h. Change CPP_IS_MACRO_BUFFER to not refer to
	  cpp_pending, version_string, struct default_include,
	  include_defaults_array, path_include, cpp_options_init,
	  dump_special_to_buffer, initialize_builtins, cpp_start_read,
	  cpp_reader_init, nreverse_pending, push_pending, print_help,
	  cpp_handle_option, cpp_handle_options, cpp_finish,
	  cpp_cleanup): Move to cppinit.c.
	  (macro_cleanup, struct arglist, collect_expansion,
	  create_definition, compare_defs, comp_def_part, ARG_BASE,
	  struct argdata, macarg, change_newlines, timestamp,
	  monthnames, special_symbol, unsafe_chars, macroexpand,
	  push_macro_expansion): Move to cpphash.c.
	  (quote_string, check_macro_name, cpp_expand_to_buffer,
	  output_line_command, cpp_undef): Export.
	  (null_underflow, null_cleanup, handle_directive): Make static.

	* cpplib.h: Prototype now-exported functions.  Adjust decls of
	  syntax tables so we can include cpplib.h in cppinit.c.
	* cpphash.h: Prototype all functions exported by cpphash.c.
	* cppinit.c: Make syntax tables initialized data if possible
	  (uses GCC designated-initializer extension).
	* cppexp.c: Make cpp_lex static.
	* Move -D switches for the various include dirs
	  from cpplib.o rule to cppinit.o rule.  Adjust dependencies.

Thu Feb 18 13:15:56 1999  Marc Espie  <>

	* alpha/openbsd.h: New file.
	* alpha/xm-openbsd.h: New file.
	* sparc/openbsd.h: New file.
	* sparc/xm-openbsd.h: New file.
	* m68k/openbsd.h: New file.
	* m68k/xm-openbsd.h: New file.
	* i386/openbsd.h: New file, originally from netbsd.
	* i386/xm-openbsd.h: New file.

1999-02-17  Zack Weinberg  <>

	* Correct dependencies for cpplib object files.

Wed Feb 17 14:04:18 1999  Michael Meissner  <>

	* ({add,sub}si3 `.'): Add alternatives to use CR other
	than cr0.

Wed Feb 17 16:59:28 1999  J"orn Rennecke  <>

	* loop.c (strength_reduce): Don't move giv insn for biv turned giv
	below scan_start.

Wed Feb 17 10:56:24 1999  Kaveh R. Ghazi  <>

	* tree.c (tree_node_kind_names, print_obstack_name,
	get_identifier, maybe_get_identifier, build_string,
	build_expr_wfl, is_attribute_p, lookup_attribute,
	print_obstack_statistics, get_file_function_name_long, tree_check,
	tree_class_check, expr_check): Qualify a char* with the `const'

	* tree.h (get_identifier, maybe_get_identifier, build_string,
	build_expr_wfl, is_attribute_p, lookup_attribute,
	print_obstack_statistics, print_obstack_name, tree_check,
	tree_class_check, expr_check): Likewise.

Tue Feb 16 21:29:38 1999  Jeffrey A Law  (

	* i386/freebsd-elf.h, i386/gas.h, i386/linux.h: Fix minor spacing

	* calls.c (store_one_arg): Mark any slots used for the argument
	as in-use immediately after we're done saving any slots which
	will be overwritten by this argument.

Tue Feb 16 21:02:07 1999  Anton Hartl  <>

	* (call_value): Fix typo.

Wed Feb 17 01:29:07 1999  J"orn Rennecke  <>

	* loop.c (strength_reduce): Calculate maybe_dead before
	calling recombine_givs.

Wed Feb 17 00:43:12 1999  J"orn Rennecke  <>

	* loop.c (strength_reduce): Dump biv increment -> giv conversions.

Tue Feb 16 15:31:39 1999  Ovidiu Predescu  <>

	* objc/objc-act.c (encode_type): Encode the type instead of
	encoding the mode of the type (patch from Richard Frith-Macdonald

Tue Feb 16 10:53:51 1999  Richard Earnshaw  (

	* config/arm/ (*zeroextractqi_compare0_scratch): Re-add load
	instruction killed in previous change.  Simplify mask generation.
	(*zeroextractsi_compare0_scratch): Simplify mask generation.

Tue Feb 16 09:52:26 1999  Nick Clifton  <>

	* config/arm/ (zeroextractqi_compare0_scratch): Ensure that
	bitfield does not overflow a byte boundary.

Tue Feb 16 01:37:33 1999  Charles G Waldman  <>

	* c-common.c (shorten_compare): Get the min/max value from the
	underlying type of an enumeration, not the enumerated type itself.

Mon Feb 15 23:04:48 1999  Jeffrey A Law  (

	* jump.c: Include insn-attr.h.
	(delete_computation): If reload has completed and insn scheduling
	after reload is enabled, then do not depend on REG_DEAD notes.
	* (jump.o): Depend on insn-attr.h.

Mon Feb 15 16:57:38 1999  Richard Henderson  <>

	* (addsi3): Allow lea for any constant_p.

1999-02-15  Zack Weinberg  <>

	* toplev.c (documented_lang_options): Remove -fident and
	  -fnoident, which are now handled by the language independent
	  option parser.

1999-02-15  Zack Weinberg  <>

	* c-common.c (UNGETC [USE_CPPLIB=1]): Do nothing if c is EOF.
	* c-lex.c: Likewise.
	* cpplib.c (cpp_push_buffer, cpp_pop_buffer): Use a linked
	list in malloced memory for the buffer stack.
	(cpp_get_token): Don't pop the last buffer off the stack.
	Calls after CPP_EOF has been returned produce CPP_EOF with no
	state change.
	(cpp_finish): Pop last buffer here.
	(do_line): Don't free ip->last_nominal_fname if it is equal to
	(special_symbol): If a T_CONST is the empty string, push a
	single `@ ' escape instead.
	(macroexpand): Special symbol buffers have escapes too.
	* cpplib.h (struct cpp_buffer): Remove unused fields, add prev
	buffer pointer.
	(struct cpp_reader): Remove buffer_stack.  Add
	(CPP_PREV_BUFFER, CPP_NULL_BUFFER): Buffer stack is now a
	linked list.

Mon Feb 15 14:44:53 1999  Kaveh R. Ghazi  <>

	* cccp.c: Don't define HOST_WIDE_INT.  Replace all occurrences of

	* cexp.y: Likewise.
	Don't define unsigned_HOST_WIDE_INT, CHAR_BIT or
	HOST_BITS_PER_WIDE_INT.  Replace occurrences of PRINTF_PROTO_1()
	style with PVPROTO() ATTRIBUTE_PRINTF_1 style macros.  Replace
	occurrences of "unsigned_HOST" with "unsigned HOST".  Provide a
	definition of variable `c89' when compiling a test binary and set it.

	* system.h: Don't define the PRINTF_PROTO_* macros.

Mon Feb 15 11:33:51 1999  Jeffrey A Law  (

	* loop.c (mark_loop_jump): Handle LO_SUM.  If we encounter something
	we do not understand, mark the loop and containing loops as invalid.

Mon Feb 15 00:40:45 1999  J"orn Rennecke  <>

	* alias.c (init_alias_analysis): Avoid self-referential value
	when setting reg_known_value from REG_EQUAL notes.

Sun Feb 14 23:12:10 1999  Richard Henderson  <>

	* i386.c (legitimate_address_p): Verify modes of base and index.

Sun Feb 14 23:01:28 1999  Richard Henderson  <>

	* i386.c (legitimate_pic_address_disp_p): Remove static.
	* i386.h (LEGITIMATE_PIC_OPERAND_P): Use it instead of
	open-coding cases.

Sun Feb 14 21:03:28 1999  Jeffrey A Law  (

	* except.c (start_catch_handler): Use emit_cmp_and_jump_insns.
	* explow.c (probe_stack_range): Likewise.
	* expmed.c (do_cmp_and_jump): Likewise.
	* expr.c (store_expr, expand_expr, expand_builtin): Likewise.
	(do_tablejump): Likewise.
	* stmt.c (expand_expr_stmt, expand_end_case): Likewise.
	(do_jump_if_equal, emit_case_nodes): Likewise.
	* optabs.c (emit_cmp_and_jump_insns): Clarify comments.  If UNSIGNEDP,
	then convert comparison to an unsigned code before emitting the jump.
	(expand_float, expand_fix): Use emit_cmp_and_jump_insns.

Sun Feb 14 02:24:15 1999  Jeff Law  (

	* version.c: Bump for snapshot.

Sun Feb 14 01:15:04 1999  Jeff Law  (

	* version.c: Bump for snapshot.

Sun Feb 14 00:45:50 1999  Jeffrey A Law  (

	* loop.c: Disable recent loop changes.  Temporary as Joern
	continues to fix problems.

Sat Feb 13 23:29:42 1999  Richard Henderson  <>

	* loop.c (combine_givs_used_by_other): Delete.
	(combine_givs_benefit_from): Delete.
	(combine_givs): Deny combination of givs only used once.  Simplify
	code with the death of combine_givs_benefit_from.

Sun Feb 14 11:24:05 1999  Michael Hayes  <>

	* loop.c (scan_loop): Call reg_in_basic_block_p before

Sat Feb 13 05:32:00 1999  Richard Earnshaw  (

	* Use gen_rtx_FOO instead of gen_rtx (FOO, ...).
	* arm.h: Likewise.
	* arm.c: Likewise.

	* arm.h (TARGET_OPTIONS): Reformat for clarity.
	(GO_IF_LEGITIMATE_ADDRESS): When generating PIC, references to symbols
	in the constant pool aren't valid.

	* arm.c: Include "system.h", not stdio.h and string.h.

Fri Feb 12 13:06:28 1999  Jim Wilson  <>

	* stmt.c (expand_return): Return if optimize_tail_recursion succeeded.
	(optimize_tail_recursion): Change return type from void to int.
	Add return statements.
	* tree.h (optimize_tail_recursion): Change prototype to match.

Fri Feb 12 21:09:51 1999  J"orn Rennecke  <>

	* reload.c (find_reloads_subreg_address): New function, broken out of
	(find_reloads_toplev, find_reloads_address_1): Use it.

Fri Feb 12 13:20:52 1999  Jeffrey A Law  (

	* (zero_extendhisi2 H8/300 variant): Correctly handle
	extending a CONST_INT.

	* (peephole for combining memrefs): Delete incorrect peephole.

Fri Feb 12 18:29:11 1999  J"orn Rennecke  <>

	* loop.c (loop_insn_first_p, biv_elimination_giv_has_0_offset):
	New functions.
	(maybe_eliminate_biv_1): Use biv_elimination_giv_has_0_offset.

Fri Feb 12 16:56:10 1999  J"orn Rennecke  <>

	* loop.c (load_mems): Don't guess how to do a load / store, use

Fri Feb 12 09:24:26 1999  Kaveh R. Ghazi  <>

	* system.h: Provide a definition for HOST_WIDEST_INT, etc.

Fri Feb 12 23:37:26 1999  Michael Hayes  <>

	* config/c4x/c4x.c (c4x_address_cost): Revert 9 Feb change.

Fri Feb 12 00:51:26 1999  Jeffrey A Law  (

	* reload.c (find_reloads_address_1): Fix handling of an autoincremented
	pseudo which is homed in the stack.

	* mips.c (save_restore_insns): Fix loop to save/restore FP registers.
	(compute_frame_size): Change loop over FP regs to be consistent
	with the loop in save_restore_insns.

Thu Feb 11 17:38:40 1999  Jim Wilson  <>

	* i960/i960.h (OVERRIDE_OPTIONS): Warn if -mlong-double-64 is used.
	(LONG_DOUBLE_TYPE_SIZE): Undef then unconditionally define to 96.

Thu Feb 11 15:11:35 1999  Jeffrey A Law  (

	* (bset); Re-enable.

Thu Feb 11 15:20:49 1999  J"orn Rennecke  <>

	* (is_sfunc): New attribute.

Thu Feb 11 01:06:49 1999  Nathan Sidwell  <>

	* fold-const.c (range_binop): Take account of the bounded nature
	of fixed length arithmetic when comparing unbounded ranges.

Thu Feb 11 00:08:17 1999  John Wehle  (

	* function.c (assign_stack_temp_for_type): Clear best_p
	when an exact match is found.

	* i386.h (LOCAL_ALIGNMENT): Define.
	* function.c (assign_stack_local, assign_outer_stack_local): Use it.
	(assign_stack_temp_for_type): New function based on assign_stack_temp.
	(assign_stack_temp): Call it.
	(assign_temp): Use assign_stack_temp_for_type, not assign_stack_temp.
	* stmt.c: Use assign_temp, not assign_stack_temp.
	* tm.texi: Document LOCAL_ALIGNMENT.

Wed Feb 10 23:28:28 1999  Jeffrey A Law  (

	* reorg.c: Finish deleting half-deleted comment.

Wed Feb 10 17:12:21 1999  Jim Wilson  <>

	* emit-rtl.c (operand_subword): Sign extend REAL_VALUE_TO_TARGET_SINGLE
	* final.c (split_double): Sign extend REAL_VALUE_TO_TARGET_DOUBLE
	* real.c (endian): Delete sign extension code.
	* config/m32r/ (movsf_insn+1): REAL_VALUE_TO_TARGET_SINGLE call
	replaced with operand_subword call.

Wed Feb 10 15:16:39 1999  Richard Henderson  <>

	* (cmov compound patterns): Delete.  Jump can now
	create the correct constructs in the first place.

Wed Feb 10 11:03:22 1999  Richard Henderson  <>

	* (alphaev6*): Fix typo in target_cpu_default2.

Wed Feb 10 13:59:18 1999  Dave Brolley  <>

	* mbchar.c (local_mb_cur_max): Handle the case where MB_CUR_MAX is 0.

Wed Feb 10 10:35:05 1999  Jim Wilson  <>

	* tmp-emsgids.c: Delete.

Wed Feb 10 09:57:08 1999  Mark Mitchell  <>

	* rtlanal.c (for_each_rtx): Fix declaration to conform to GNU
	coding standards.

Wed Feb 10 10:09:41 1999  Jeffrey A Law  (

	* (bset, bclr): Operand 0 is a read/write operand.

	* reload1.c (reload_combine_note_store): Second argument is no
	longer unused/ignored.  Handle multi-register hard regs.
	(move2add_note_store): Simplify.

Wed Feb 10 10:05:23 1999  Mumit Khan  <>

	* collect2.c (collect_execute): Remove cygwin-specific code.

Tue Feb  9 17:27:29 1999  Nathan Sidwell  <>

	* system.h (_, N_): Remove dummy i18n macros.
	* protoize.c: Move inclusion of intl.h to after system.h.
	* cexp.y: Include intl.h.
	* cexp.c: Rebuilt.

Tue Feb  9 16:52:22 1999  Mumit Khan  <>

	* i386/cygwin.h (SUBTARGET_OVERRIDE_OPTIONS): New macro to ignore
	fpic/fPIC for windows32 targets.
	* i386/xm-cygwin.h (GET_ENV_PATH_LIST): Replace '\\' in windows32
	paths with '/'.
	* i386/mingw32.h (CPP_SPEC): Define.
	(CPP_PREDEFINES): Add MINGW32 version id.
	* i386/crtdll.h (CPP_PREDEFINES): Likewise.

	* (collect2$(exeext)): Delete redundant dependency and
	add missing exeext to target.

	* gcc.c (convert_filename): Handle null filename argument.

Wed Feb 10 15:46:10 1999  Michael Hayes  <>

	* config/c4x/ (*movhf_noclobber, *movhi_noclobber): Use
	m constraint instead of QT.

1999-02-09  Brendan Kehoe  <>

	* cpplib.c (special_symbol): Move IP to be declared in function
	scope, rather than individual case statements.

1999-02-09  Zack Weinberg  <>

	* cppfiles.c (finclude): Handle pipes properly under old BSD

1999-02-09  Melissa O'Neill  <>

	* system.h: Provide fallback definitions for S_ISCHR,

1999-02-09  Zack Weinberg  <>

	* cpplib.c (do_define): Allow redefining __STDC__ with -D.

1999-02-09  Jim Blandy  <>

	* For PowerPC configurations, accept "401", "ec603e",
	"740", and "750" as valid arguments to --with-cpu.
	* configure: Rebuilt.

Tue Feb  9 00:00:14 1999  Mark Kettenis  <>

	* (i[34567]86-*gnu*): Set float_format to i386.
	* configure: Rebuilt.

Mon Feb  8 22:38:24 1999  Jeffrey A Law  (

	* Revert "alternate use of crs if cr0 not available"
	patches from 01-22-1999, 01-24-1999, 01-26-1999, and 02-08-1999.

Mon Feb  8 21:36:44 1999  Richard Henderson  <>

	* output.h (current_function_has_computed_jump): Rename from
	* function.h (struct function): Likewise for addresses_labels member.
	* function.c (current_function_has_computed_jump): Likewise.
	Update all references.
	* integrate.c (function_cannot_inline_p):
	Test current_function_has_computed_jump instead of addresses_labels.
	(initialize_for_inline): Likewise save.
	(output_inline_function): Likewise restore.

	* expr.c (expand_expr): Don't reference addresses_labels variables.
	* stmt.c (expand_computed_goto): Set has_computed_jump.

1999-02-08  Michael Meissner  <>

	This is being installed only to get it into the repository to help
	with the revert, resubmit & review process for the massive
	* (andsi3_internal1 splitter): Don't split if using the
	rlwinm instruction.
	(anddi3_internal1): Likewise.
	(andsi3_internal{2,3}): Correct some insn lengths.
	(anddi3*): Restore missing TARGET_POWERPC64, and don't emit old

Mon Feb  8 21:31:06 1999  Richard Henderson  <>

	* loop.c (reg_single_usage): New file-scope variable ...
	(scan_loop): ... moved out of here.  Always initialize.
	Test loop_has_call instead of reg_single_usage not zero.
	Free reg_single_usage after strength reduction.
	(count_loop_regs_set): Assume single_usage non-zero.
	(combine_givs_used_by_other): Test reg_single_usage.
	(load_mems_and_recount_loop_regs_set): Remove reg_single_usage
	as a parameter.  Assume non-zero.

1999-02-08  Zack Weinberg  <>

	* cpplib.c (special_symbol): Rewrite.  Don't copy things
	  multiple times.  Handle __STDC__ specially.  T_CONST
	  indicates a constant /string/.  Don't handle T_*_TYPE and
	  T_SPEC_DEFINED.  Use cpp_buf_line_and_col instead of
	  adjust_position.  Determine the file buffer only if needed.
	  (initialize_builtins): Handle __SIZE_TYPE__,
	  __REGISTER_PREFIX__ with T_CONST special hashtab entries.
	  Don't provide __OBJC__; the driver does that.  Provide
	  __STDC_VERSION__, using T_CONST.  Use T_STDC for
	  __STDC__.  Give install the length of all symbols defined.
	  (eval_if_expression): Drop code to insert and remove the
	  "defined" special symbol.

	* cpplib.h: Remove SELF_DIR_DUMMY (no longer used).  Remove
	  T_*_TYPE and T_SPEC_DEFINED from enum node_type; add T_STDC.

	* cpphash.c (install): Drop the `ivalue' parameter.  Constify
	  the `value' parameter.  All callers changed.
	* cpphash.h (install): Change prototype to match.
	  (union hashval): Remove `ival' member.
	* cppexp.c (cpp_lex): Handle `defined' here.

Mon Feb  8 17:29:42 1999  Jeffrey A Law  (

	* pa.h (EXTRA_CONSTRAINT): Fix comment.

Mon Feb  8 18:57:45 1999  Vladimir N. Makarov  <>

	* c-typeck.c (check_init_type_bitfields): Use nonincremental
	initialization of unions whose first member is a bitfield.
	Remove unnecessary code for checking the declaration mode

	* varasm.c (output_constructor): Additional comment about the
	constructor of bitfield union initialization.

Tue Feb  9 11:55:04 1999  Michael Hayes  <>

	* config/c4x/ (*movhi_stik): New pattern.
	(movhi): Allow some immediate constants to be directly
	stored in memory.

Tue Feb  9 11:34:15 1999  Michael Hayes  <>

	* config/c4x/ (all call patterns): Add constraints "Ur".
	(call, call_value): Force address into a register if not valid
	for a call instruction.
	(load_immed_address): Emit a USE of the SYMBOL_REF that is
	forced into memory.
	* config/c4x/c4x.c (c4x_print_operand): Fix 'C' and 'U' modifiers.

Tue Feb  9 11:08:41 1999  Michael Hayes  <>

	* config/c4x/c4x.c (call_address_operand, symbolic_address_operand):
	Rename from call_operand and symbolic_operand respectively.  All
	callers changed.
	* config/c4x/ (call_address_operand, symbolic_address_operand):
	* config/c4x/c4x.h (call_address_operand, symbolic_address_operand):
	(PREDICATE_CODES): Allow CONST, LABEL_REF for call_address_operand.

Tue Feb  9 10:52:27 1999  Michael Hayes  <>

	* config/c4x/c4x.c (c4x_legitimize_address): Don't generate a
	LO_SUM address for HImode or HFmode but instead force address into
	a register so that it is offsettable.
	(c4x_emit_move_sequence): Handle LO_SUM immediate address.

Tue Feb  9 10:46:42 1999  Michael Hayes  <>

	* config/c4x/c4x.c (c4x_address_cost): Return cost of 1 for
	REG+REG addressing if strength reduction enabled.

Tue Feb  9 10:10:31 1999  Michael Hayes  <>

	* config/c4x/t-c4x  (LIBGCC2_CFLAGS): Delete.

1999-02-08  Nick Clifton  <>

	* config/v850/ Replace \\n\\t with \\;

	* config/v850/ Enforce TARGET_LONG_CALLS option.
	* config/v850/v850.c (construct_restore_jr, construct_save_jarl):
	Enforce TARGET_LONG_CALLS option.

Mon Feb  8 11:43:07 1999  Donn Terry  <>

	* real.c (PUT_REAL) [XFmode]: Zero the balance of the structure.

Mon Feb  8 11:37:24 1999  Marc Espie  (

	* m88k/t-luna-gas: Remove bash dependency.

Mon Feb  8 11:34:44 1999  Graham  <>

	* collect2.c (xrealloc): Fix typo in last change.

Mon Feb  8 09:13:38 1999  Jeff Law  (

	* version.c: Bump for snapshot.

Sun Feb  7 22:18:42 1999  Robert Lipe  <>

	* tree.h (TYPE_CHECK): Make it clear to the preprocessor
	that we do not want macro replacement within a character constant.
	(TYPE_CHECK1): Likewise.

Sun Feb  7 15:37:10 1999  Jason Merrill  <>

	* tree.h (DECL_P): New macro.

Sun Feb  7 01:15:04 1999  Jeff Law  (

	* version.c: Bump for snapshot.

Sat Feb  6 18:14:46 1999  Jeffrey A Law  (

	* (reload_insi): Do not earlyclobber the output operand.

	* README.g77, gcc.c, gcc.texi: Update email addresses.
	* invoke.texi system.h: Likewise.

Sat Feb  6 11:04:08 1999  Jim Wilson  <>

	* unroll.c (find_splittable_givs): After express_from, call replace_rtx
	to convert dest_reg to new_reg.

Sat Feb  6 10:31:35 1999  Jeffrey A Law  (

	* reload1.c (reload_combine_note_store): Be more careful with
	(move2add_note_store): Likewise.

Sat Feb  6 10:18:01 1999  Kaveh R. Ghazi  <>

	* cppfiles.c (read_and_prescan): Cast the result of `xrealloc' to
	U_CHAR* when assigning to one.  Ensure the values of a ?: operator
	have the same type.

	* cppinit.c (initialize_char_syntax): Use K&R function definition.

Sat Feb  6 11:17:03 1999  Richard Earnshaw  <>

	Support for ARM9
	* config/arm/arm.c (all_procs): Add arm9 and arm9tdmi.
	* config/arm/arm.h ((TARGET_CPU_arm9, TARGET_CPUD_arm9tdmi): Define.
	(TARGET_CPU_DEFAULT): Rework to support ARM9.
	(CPP_CPU_ARCH_SPEC): Likewise.
	(enum processor_type): Likewise.
	* config/arm/ (attr cpu): Add arm9.

	General scheduling changes
	* config/arm/arm.c (MAX_INSNS_SKIPPED): Delete.
	(max_insns_skipped): New variable.
	(arm_override_options): If generating hard floating point code for
	the FPA, emit code for version 3.
	When optimizing for space, don't synthesize constants.
	Reword several flags based on the requested processor and optimization
	(use_return_insn): New argument iscond, all callers changed.  Don't
	use a return insn if it will be conditional and that would be
	expensive; eg on StrongARM.
	(arm_adjust_cost): Anti- and output- dependencies normally have no
	(load_multiple_sequence): Newer ARMs don't benefit from ldm if
	the sequence is short.
	(final_prescan_insn): Use max_insns_skipped instead of
	MAX_INSNS_SKIPPED.  Note whether we will make a return instruction
	conditional, and aviod this if it would be expensive.
	* config/arm/ (scheduling attributes and function units):
	Rewrite to better describe ARM8, 9 and StrongARM.

	* config/arm/ (*movhi_insn_littleend): Make op0 predicate
	(*ifcompare_plus_move): Use arm_rhs_operand in place of
	arm_rhsm_operand.  Rework constraints.
	(*if_plus_move): Likewise.
	(*ifcompare_move_plus): Likewise.
	(*if_move_plus): Likewise.
	(*ifcompre_arith_move): Likewise.
	(*if_arith_move): Likewise.
	(*ifcompare_move_arith): Likewise.
	(*if_move_arith): Likewise.

	* config/arm/xm-netbsd.h: Don't include arm/xm-arm.h.

1999-02-05  Michael Meissner  <>

	* loop.c (check_dbra_loop): A store using an address giv for which
	we have no life information is not reversible.

Fri Feb  5 17:08:01 1999  Dave Brolley  <>

	* function.c (fixup_var_refs): Scan catch_clauses too.

Fri Feb  5 11:49:49 1999  Benjamin Kosnik  <>

	* c-common.c (decl_attributes): Fix reserved space for init_priority.
	* tree.h (MAX_RESERVED_INIT_PRIORITY): New macro.

Fri Feb  5 12:37:05 1999  Jeffrey A Law  (

	* loop.c (strength_reduce): Clear not_every_iteration when
	passing the NOTE_INSN_LOOP_CONT note.

	* haifa-sched.c (add_dependence): Do not add a dependency on a

Fri Feb  5 10:55:43 1999  Nick Clifton  <>

	* recog.c (split_block_insns): Only call update_flow_info if
	instruction scheduling is enabled.

1999-02-05  Zack Weinberg  <>

	* (gen-protos): Use libcpp.a like everyone else.

Fri Feb  5 07:09:29 1999  J"orn Rennecke  <>

	* loop.c (first_loop_store_insn): New file-scope variable.
	(prescan_loop): Set it.
	(check_dbra_loop): Check if a store depends on a register
	that is set after the store.

Fri Feb  5 06:55:15 1999  J"orn Rennecke  <>

	* unroll.c (entire file): Remove tabs / spaces at end of lines.
	Replace spaces with tabs where appropriate.

Thu Feb  4 15:12:41 1999  J"orn Rennecke  <>

	* loop.c (scan_loop): New argument loop_cont.  Changed caller.
	(strength_reduce): New argument loop_cont. Changed caller.
	Before clearing not_every_iteration after a label, check if
	we are not already past LOOP_CONT.

1999-02-04  Zack Weinberg  <>

	* cpperror.c (cpp_print_containing_files): Fix formatting
	bug induced by merge.

1999-02-04  Zack Weinberg  <>

	* cpplib.c (initialize_char_syntax): Move to cppinit.c.
	(cpp_define): Remove redundant syntax checks.
	(make_assertion): Rename cpp_assert, remove redundant syntax
	checks, export.
	(cpp_options_init): Don't init things to zero twice.
	(cpp_expand_to_buffer): Use memcpy, not a char-by-char loop.
	(do_include): Kill excessively verbose #import warning that
	snuck back in in the gcc2 merge.
	(convert_string): Removed.
	(do_line): Rewrite with simple last-name-used cache instead of
	private hashtable.
	(cpp_start_read): Call initialize_char_syntax here, not...
	(cpp_handle_options): Support the -std switch.
	* cpplib.h (cpp_buffer): Add last_nominal_fname member.
	(cpp_options): Add c9x flag.
	Declare all the is_* tables and trigraph table here, as const.
	Prototype cpp_assert and initialize_char_syntax.
	* cppinit.c: New file.
	* cppfiles.c (read_and_prescan): Optimize.
	* (LIBCPP_OBJS): Add cppinit.o.

Thu Feb  4 10:46:30 1999  Gavin Romig-Koch  <>

	* config/mips/ ([u]divmodsi4,[u]divmoddi4,[u]divsi3,[u]divdi3,
	[u]modsi3,[u]moddi3) : Don't copy the "zero" argument to a register
	before calling gen_div_trap.

Wed Feb  3 21:56:27 1999  Jeffrey A Law  (

	* (hppa1.1-*-*, hppa2*-*): Use symbolic value rather
	than numeric value for target_cpu_default..
	* configure: Rebuilt.

Wed Feb  3 21:55:56 1999  Marc Espie  <>

	* (xgcc$(exeext)): Remove choose-temp, pexecute and
	mkstemp.  Get them from libiberty.
	(COLLECT2_OBJS): Similarly for choose-temp, cplus-dem and mkstemp.
	(PROTO_OBJS): Similarly for choose-temp, getopt, getopt1 and pexecute.
	(cplus-dem.o, pexecute.o, choose-temp.o): Remove build rules.
	(mkstemp.o, getopt1.o, getopt.o): Likewise.

	* pa-gas.h (TARGET_DEFAULT): Use symbolic values rather than numeric
	* pa-hpux.h (LINK_SPEC): Likewise.
	* pa-hpux10.h (LINK_SPEC): Likewise.
	* pa-hpux9.h (LINK_SPEC): Likewise.
	* pa-osf.h (LINK_SPEC): Likewise.
	* pa-pro.h (TARGET_DEFAULT): Likewise.
	* pa1.h (TARGET_DEFAULT): Likewise.
	* pa.h (MASK_*): New defines.
	(TARGET_*): Use symbolic values rather than numeric values.
	(TARGET_DEFAULT): Likewise.
	(CPP_SPEC): Likewise.

Wed Feb  3 21:07:38 1999  Bernd Schmidt  <>

	* reload1.c (reload_cse_regs_1): Undo Jan 16 patch.
	* reload.c (find_reusable_reload): New function, broken out of
	push_reload.  Add code to verify that none of the involved
	outputs are subject to earlyclobbers.
	(push_reload): Break out new function find_reusable_reload.
	Delete "register" keyword for IN, OUT args.

Wed Feb  3 15:51:04 1999  Gavin Romig-Koch  <>

	* config/mips/mips.c (true_reg_or_0_operand) : New function.
	* config/mips/mips.h (PREDICATE_CODES): Add true_reg_or_0_operand.
	* config/mips/ (div_trap,div_trap_normal,div_trap_mips16):
	Use true_reg_or_0_operand for div_trap.

Wed Feb  3 20:44:59 1999  J"orn Rennecke  <>

	* loop.h (express_from): Declare.
	(struct induction): Replace derived flag with derived_from pointer.
	* loop.c (strength_reduce, record_giv, recombine_givs): Likewise.
	(express_from): No longer static.
	* unroll.c (find_splittable_givs): Replace derived with derived_from.
	When processing an address giv with which another giv has been
	combined that has also been derived from a third giv, handle like
	having combined with the third giv.
	Set splittable_regs_updates appropriately for derived givs.

Wed Feb  3 15:26:58 1999  Gavin Romig-Koch  <>

	* config/mips/ (div_trap_mips16): Remove nop's after branches.

Wed Feb  3 11:56:23 1999  Jeffrey A Law  (

	* pa.c (insn_sets_and_refs_are_delayed): New function.
	* pa.h (INSN_SETS_ARE_DELAYED): Use it.

Wed Feb  3 06:24:49 1999  Richard Earnshaw  (

	* config/arm/t-arm-elf (LIBGCC2_CFLAGS): Delete.
	* config/arm/t-linux (LIBGCC2_CFLAGS): Delete.
	* config/arm/t-netbsd: Likewise.
	* config/arm/t-semi: Likewise.
	* config/arm/t-semiaof: Likewise.
	* config/arm/t-riscix: Likewise.

Wed Feb  3 10:59:07 1999  Andreas Schwab  <>

	* config/m68k/m68k.c (print_operand_address): When printing a
	SYMBOL_REF that ends in `.<letter>' put parentheses around it.

Tue Feb  2 23:38:35 1999  David O'Brien  <>

	* i386/freebsd*.h now allows '$' in label names and does not use the
	PCC struct return method.

Tue Feb  2 22:38:23 1999  Jim Wilson  <>

	* Change all uses of AR to AR_FOR_TARGET.  Change all uses
	of HOST_AR to AR.  Likewise for AR_FLAGS, RANLIB, and RANLIB_TEST.
	(RANLIB_TEST): Test to see if ranlib exists.  Only test absolute file
	names if host == target.
	setting them to *_FOR_TARGET.

Tue Feb  2 22:38:19 1999  Theodore Papadopoulo  <>

	* toplev.h (read_integral_parameter): Declare.
	* toplev.c (read_integral_parameter): New function.

Fri Jan 29 21:00:56 1999  Bob Manson  <>

	* resource.c, resource.h: New files.
	* (OBJS): Add it.

	* haifa-sched.c (regno_use_in): Moved to rtlanal.c.
	(split_block_insns): Moved to recog.c.
	(update_flow_info): Make public.
	* rtl.h: Declare them.

	* reorg.c: Moved the functions dealing with computing resource
	usage to resource.c.

	* sched.c (regno_use_in): Moved to rtlanal.c.
	(update_flow_info): Make public.
	(schedule_insns): Use split_block_insns.

	* recog.c (split_block_insns): New function.

Tue Feb  2 22:03:26 1999  David Edelsohn  <>

	* rs6000/linux.h (LINK_START_DEFAULT_SPEC): Delete, unused.
	(LINK_OS_DEFAULT_SPEC): Delete, unused.

Tue Feb  2 20:29:34 1999  Catherine Moore  <>

	* (arm-*-oabi): Support.
	* configure: Regenerate.
	* config/arm/unknown-elf-oabi.h: New file.

Tue Feb  2 19:43:59 1999  Jeffrey A Law  (

	* (ashlsi3): Turn into a define_expand an anonymous pattern.
	Make the anonymous pattern match when ! optimize_size.
	(ashlsi3 size optimizer): New pattern.

	* intl/ (uninstall): Add missing "; \".

Tue Feb  2 18:21:23 1999  Stan Cox  <>

	* sparc.h (TARGET_CPU_sparc86x): Added. TARGET_CPU_sparclite86x

Tue Feb  2 20:24:11 1999  J"orn Rennecke  <>

	* loop.c (loop_optimize): Fix value max_uid_for_loop is reset
	to after find_and_verify_loops call.

Tue Feb  2 19:48:29 1999  J"orn Rennecke  <>

	* (recombine_givs): Don't use a giv that's likely to be dead to
	derive others.

	* loop.c (recombine_givs): Fix test for lifetime overlaps / loop
	wrap around when deriving givs.

Mon Feb  1 20:00:40 1999  Richard Henderson  <>

	* recog.c (check_asm_operands): Treat indeterminate operand ok
	results as success.  Try harder to resolve a matching constraint.
	* stmt.c (expand_asm_operands): Recognize when an output operand's
	constraint does not allow memory.  Treat indeterminate operand ok
	results as failure.  Try harder to resolve a matching constraint.

Mon Feb  1 15:00:02 1999  Ken Raeburn  <>

	Use varrays for constant-equivalence data:

	* varray.h (struct const_equiv_data): New type.
	(union varray_data_tag): New element const_equiv.
	(VARRAY_SIZE): New macro, returns number of elements.
	* integrate.h: Include varray.h.
	(struct inline_remap): Replace const_equiv_map, const_age_map and
	const_equiv_map_size with a const_equiv_varray element.
	(MAYBE_EXTEND_CONST_EQUIV_VARRAY): New macro; grows varray if
	(SET_CONST_EQUIV_DATA): New macro; sets rtx and age fields
	simultaneously, growing the varray if needed.

	* integrate.c (global_const_equiv_map,
	global_const_equiv_map_size): Deleted, replaced by....
	(global_const_equiv_varray): New variable.
	(expand_inline_function): References changed.
	* integrate.h: Update declarations.

	* integrate.c (process_reg_parm, expand_inline_function,
	copy_rtx_and_substitute, try_constants, subst_constants,
	mark_stores): Use varray allocation and accessor macros, new
	integrate.h macros, and global_const_equiv_varray.  Don't
	conditionalize non-NULL stores on array size; instead, expand the
	array as needed.
	* unroll.c (unroll_loop): Likewise.

	* unroll.c (unroll_loop): Initialize const_equiv_varray element to
	zero.  After allocating varray, always exit through bottom of
	function, where it can be deallocated if needed.  Don't explicitly
	reallocate const_equiv_map storage; instead, just ensure the
	varray has been initialized, and update the global reference.

Mon Feb  1 09:40:25 1999  Kaveh R. Ghazi  <>

	* system.h (inline, const): Handle these for stage2 (and later) gcc.

	* dwarf2out.c (inline): Don't define.

	* dwarfout.c (inline): Likewise.

Sun Jan 31 22:04:37 1999  Richard Henderson  <>

	* loop.c (recombine_givs): Dump recombination and derivation data.

Sun Jan 31 20:34:29 1999  Zack Weinberg  <>

	* flags.h: Declare flag_no_ident.
	* toplev.c: Define flag_no_ident.  Process -f(no-)ident here.
	* c-tree.h: Don't declare flag_no_ident.
	* c-decl.c: Don't define flag_no_ident.  Don't process
	  -f(no-)ident switches here.

	* config/elfos.h (ASM_FILE_END): Output final .ident directive
	  only if !flag_no_ident.
	* config/ptx4.h: Likewise.
	* config/svr4.h: Likewise.
	* config/alpha/elf.h: Likewise.
	* config/arm/linux-elf.h: Likewise.
	* config/i386/sco5.h: Likewise.
	* config/i860/fx2800.h: Likewise.
	* config/mips/gnu.h: Likewise.
	* config/i386/osfrose.h: Likewise.

	* gcc.c (C specs): Map -Qn to -fno-ident.
	* objc/lang-specs.h: Likewise.

Mon Feb  1 10:52:07 1999  Michael Hayes  <>

	* Don't remove loop.o and unroll.o when
	enable-haifa is selected.
	* configure: Rebuilt.

Sun Jan 31 13:22:02 1999  John Wehle  (

	* (movsicc, movhicc, movsfcc, movdfcc,
	movxfcc, movdicc): Delete unconstrained alternatives.
	* i386.c (output_fp_conditional_move,
	output_int_conditional_move): Delete unused case.

Sun Jan 31 01:15:04 1999  Jeff Law  (

	* version.c: Bump for snapshot.

Sun Jan 31 00:52:37 1999  Richard Henderson  <>

	* (mov patterns): Emit the assembler aliases mov and fmov
	instead of bis and cpys.  Combine alternatives where possible.

Sat Jan 30 23:14:13 1999  Kaveh R. Ghazi  <>

	* gcov.c (fnotice): Add missing FILE* parameter.
	(function_summary): Fix format specifiers in calls to `fnotice'.
	(output_data): Likewise.

	* toplev.c (fnotice): Constify char* parameter.

	* toplev.h (fnotice): Add prototype.
	Wrap prototype with BUFSIZ to protect FILE* usage.

Sun Jan 31 15:33:09 1999  Michael Hayes  <>

	* config/c4x/c4x.h (RTX_COSTS): Explicitly define c4x costs.

Sat Jan 30 08:27:23 1999  Jeffrey A Law  (

	* combine.c (distribute_notes): Handle REG_EH_REGION notes.

	* alias.c (fixed_scalar_and_varying_struct_p): Add "static" to
	function definition.
	(aliases_everything_p, write_dependence_p):Likewise.

	* install.texi: Fix merge lossages.

	* cccp.c (main): Only call setlocale (LC_MESSAGES, ...) if LC_MESSAGES
	is defined.
	* collect2.c (main): Likewise.
	* cppmain.c (main): Likewise.
	* gcc.c (main): Likewise.
	* gcov.c (main): Likewise.
	* protoize.c (main): Likewise.
	* toplev.c (main): Likewise.

	* (parallel shift and shiftadd): Mark output of shift as an

	* loop.c: Disable recent loop changes.  Temporary as Joern
	continues to fix problems.

Sat Jan 30 03:24:37 1999  J"orn Rennecke  <>

	* loop.c (strength_reduce): Size reg_map according to reg_iv_type.

Fri Jan 29 18:26:07 1999  Dave Brolley  <>

	* emit-rtl.c (remove_insn): New function.
	* rtl.h (remove_insn): Add prototype.
	* function.c (reposition_prologue_and_epilogue_notes): Call remove_insn.

Fri Jan 29 22:34:41 1999  J"orn Rennecke  <>

	* loop.c (recombine_givs): Don't try to derive givs that have combined.

Fri Jan 29 15:00:39 1999  Kaveh R. Ghazi  <>

	* toplev.c (notice, fnotice): Check ANSI_PROTOTYPES, not __STDC__,
	when declaring arguments and calling va_arg() to initialize them.

	* collect2.c (notice): Likewise.

	* loop.c (find_life_end): Use PROTO() macro in the prototype.

Fri Jan 29 14:36:11 1999  Kaveh R. Ghazi  <>

	* collect2.c (error): Fix typo in declaration.

	* cpperror.c (cpp_message): Likewise.

	* cpplib.c (cpp_warning): Likewise.

	* cpplib.h (cpp_notice): Use PVPROTO not VPROTO, also add

	* toplev.c (error): Fix typo in declaration.

Fri Jan 29 15:44:13 1999  J"orn Rennecke  <>

	* loop.c (strength_reduce): Fix HAVE_cc0 handling when scanning
	forward from cont dominator.

Fri Jan 29 07:10:27 1999  Kaveh R. Ghazi  <>

	* cccp.c (eprint_string): Constify a char*.
	(notice): Likewise.  Use PVPROTO not VPROTO, add ATTRIBUTE_PRINTF_1.
	(vnotice): Constify a char*.
	(error): Likewise.  Use PVPROTO not VPROTO, add ATTRIBUTE_PRINTF_1.
	(verror): Constify a char*.
	(warning): Likewise.  Use PVPROTO not VPROTO, add ATTRIBUTE_PRINTF_1.
	(vwarning): Constify a char*.
	(error_with_line): Likewise.  Use PVPROTO not VPROTO, add
	(verror_with_line): Constify a char*.
	(vwarning_with_line): Likewise.
	(warning_with_line): Likewise.  Use PVPROTO not VPROTO, add
	(pedwarn): Constify a char*.  Use PVPROTO not VPROTO, add
	(pedwarn_with_line): Likewise with ATTRIBUTE_PRINTF_2.
	(pedwarn_with_file_and_line): Likewise with ATTRIBUTE_PRINTF_4.
	Also correct typo in parameter name declaration.
	(make_assertion): Constify a char*.
	(quote_string_for_make): Likewise.
	(deps_output): Likewise.
	(fatal): Likewise.  Use PVPROTO not VPROTO, add
	"__attribute__ ((noreturn))".
	(fancy_abort): Likewise for ATTRIBUTE_NORETURN.
	(pfatal_with_name): Likewise.
	(pipe_closed): Likewise.
	(memory_full): Likewise.

Fri Jan 29 00:14:55 1999  J"orn Rennecke  <>

	* loop.c (strength_reduce): Grow set_in_loop / n_times_set /
	may_not_optimize to proper size when converting biv increments
	into givs.
	If necessary, reallocate reg_iv_type / reg_iv_info before calling

Thu Jan 28 23:24:08 1999  J"orn Rennecke  <>

	* loop.c (recombine_givs): New parameter unroll_p.  If set, don't
	generate complex adds.  Changed caller.
	Don't generate adds that cost more than the original one.
	(strength_reduce): Warning fixes.

Thu Jan 28 09:41:11 1999  Jeffrey A Law  (

	* (hppa1.0-hp-hpux10*): Use t-pa.
	* configure: Rebuilt.

Wed Jan 27 23:39:53 1999  J"orn Rennecke  <>

	* rtl.h (insn_first_p, no_jumps_between_p): Declare.
	* rtlanal.c (insn_first_p, no_jumps_between_p): New function.
	* loop.h (varray.h): Include.
	(struct induction): Change combined_with to unsigned.
	New members derived, ix and last_use.
	(reg_iv_type, reg_iv_info): Now varray_type.  All references changed.
	(first_increment_giv, last_increment_giv): Declare.
	* loop.c (loop_number_loop_cont): New static variable.
	(loop_number_cont_dominator): Likewise.
	(reg_iv_type, reg_iv_info): Now varray_type.
	(first_increment_giv, last_increment_giv): New variables.
	(compute_luids, verify_dominator, find_life_end): New functions.
	(cmp_recombine_givs_stats, recombine_givs): Likewise.
	(loop_optimize): Allocate loop_number_loop_cont and
	loop_number_cont_dominator.  Use compute_luids.
	(find_and_verify_loops): Initialize loop_number_loop_cont and
	(strength_reduce): Try to find bivs that can be expressed as givs
	of another biv, and to convert biv increments into givs.
	Call recombine_givs.  Handle derived givs.
	(record_biv): New argument location.  All callers changed.
	(record_giv): Initialize derived and last_use fields.
	(basic_induction_var): New argument location.  All callers changed.
	(combine_givs): Don't combine a DEST_REG giv with a DEST_ADDR giv.
	Increment combined_with instead of setting to 1.
	* unroll.c (derived_regs): New static variable.
	(unroll_loop): Initialize it.
	Allocate local_regno according to max_reg_num.
	(copy_loop_body): Cope with derived givs.
	(find_splittable_givs): Check for Givs made from biv increments.
	Set derived_regs for givs.
	* (stmt.o, loop.o, unroll.o): Depend on loop.h .

Wed Jan 27 19:31:36 1999  J"orn Rennecke  <>

	* function.c (purge_addressof_1): Handle case when a register
	has been used in a wider mode.

1999-01-27  Bruce Korb  <>

	* fixinc/fixincl.c, fixinc/server.[ch]:
	Removed the last of the capitalized variable and proc names.

	* fixinc/server.c: Removed the process open code.
	* fixinc/procopen.c: New file containing the proc open code.
	* fixinc/inclhack.tpl: Added code to bypass a readability test
	when a file is not present.  A problem on some systems.
	* fixinc/, fixinc/ Regenerated.

Wed Jan 27 11:58:18 1999  Dave Brolley  <>

	* cpplib.h (cpp_notice): Add prototype.

Wed Jan 27 02:20:48 1999  Jeffrey A Law  (

	* Merge gcc2 snapshot 19980929.

	* cccp.c (PRINTF_PROTO): Remove.
	(PRINTF_PROTO_{1,2,3,4}: Likewise.
	* cexp.y: Likewise.
	* system.h: Add PRINTF_PROTO and PRINTF_PROTO_{1,2,3,4}.

	* fix-header.c (cpp_file_lin_for_message): Delete.  In libcpp.
	(cpp_print_containing_files, v_cpp_message, cpp_message): Likewise.
	(cpp_fatal, cpp-Pfatal_with_name): Likewise.

	* gen-protos.c (hashf): Delete in cpphash.o.
	* gen-protos.c (hashf): Delete in cpphash.o.

	* expr.c: Do not merge SAVE_STACKAREA_MODE changes.
	* expmed.c: Likewise.
	* Likewise.

	* rs6000.c, Do not merge formatting changes yet.

Wed Jan 27 01:13:42 1999  Richard Henderson  <>

	* rs6000.c (input_operand): Don't expect CONST around CONSTANT_P_RTX.
	* (movsi, movdi): Likewise.

Tue Jan 26 13:31:38 1999  Jim Wilson  <>

	* function.c (expand_function_end): Pass arg_pointer_save_area to
	validize_mem before using it.  Emit code into a sequence.

Tue Jan 26 13:41:38 1999  David Edelsohn  <>

	* (doz + set cr and or + set cr patterns): Add missing
	'#' to split patterns.  Correct indentation of some new patterns.

1999-01-26  Zack Weinberg  <>

	* cppfiles.c (safe_read): Deleted.
	(read_and_prescan): New function, replaces safe_read, converts
	and/or warns about trigraphs, silently converts odd line
	terminators (\r, \n\r, \r\n).  Warns about no newline at EOF.
	(finclude): Use read_and_prescan; turn off nonblocking mode on
	the input descriptor; remove file-size-examination and
	no-newline-at-EOF gunk which is	longer necessary; be more
	careful about checking that we've been handed a legitimate
	file to read (only real files, pipes, and ttys are acceptable).
	* cpplib.h (cpp_options): Rename no_trigraphs flag to
	`trigraphs' and invert its sense.
	(trigraph_table): Declare.
	(cpp_warning_with_line): Prototype.
	* cpplib.c: Remove all references to trigraph_pcp. Define
	trigraph_table; initialize it in initialize_char_syntax.  Open
	files in nonblocking mode.  s/no_trigraphs/trigraphs/
	throughout, and invert sense.  Put cpp_warning_with_line back
	in and export it.

Tue Jan 26 23:21:49 1999  Michael Hayes  <>

	* config/c4x/c4x.h (COUNTER_REGS): New register class.
	* config/c4x/ (*rptb_init): Change constraints.
	(rptb_end): Emit alternate looping instructions if
	RC register not allocated for loop counter.
	(decrement_and_branch_on_count): Allow other registers
	for loop counter.

1999-01-25  Zack Weinberg  <>

	* cppexp.c (struct arglist): Removed.
	(parse_number): Use HOST_WIDE_INT for the accumulator.
	Allow two `l' suffixes unless C89.  Clean up.  Make static.
	(parse_charconst): New function broken out of cpp_lex.
	Code cleaned up drastically.  Don't use a token_buffer.
	(token_buffer): Removed.
	(cpp_lex): Don't call parse_number on a constant string.
	Use parse_charconst.
	(cpp_parse_expr): Properly handle an ERROR op returned by

1999-01-25  Zack Weinberg  <>

	* cpplib.c: Don't include signal.h, sys/times.h, or
	sys/resource.h. Don't declare localtime.
	(macroexpand): Handle special symbols here.
	(push_macro_expansion): Chop off the trailing '@ ' if possible
	(cpp_get_token): Don't do either of the above two things here.
	Move `string' label just after case '"' so that wide strings
	don't crash the preprocessor.

Sun Jan 24 20:13:45 1999  David Edelsohn  <>

	* (left shift + set cr patterns): Add missing '#' to
	split patterns.
	(move register + set cr pattern): Likewise.
	(movdi, !TARGET_POWERPC64 splitters): Add back in Jan. 15th patch,
	inadvertently deleted.

Sun Jan 24 08:07:59 1999  Jeffrey A Law  (

	* stmt.c (stmt_loop_nest_empty): New function.
	* tree.h (stmt_loop_nest_empty): Declare it.
	* rtl.def (CALL_PLACEHOLDER): New rtx code.

Sun Jan 24 21:24:43 1999  Michael Hayes  <>

	* config/c4x/c4x.c (c4x_emit_move_sequence, c4x_encode_section_info):
	New functions.
	(c4x_check_legit_addr): Remove USE and PLUS, allow
	LO_SUM, and disable SYMBOL_REF, LABEL_REF, and CONST cases.
	(c4x_legitimize_address): Penalize SYMBOL_REF, LABEL_REF, and
	CONST cases.  Add LO_SUM.
	(c4x_print_operand): Modified 'C' and 'R' cases for calls.
	Added 'U' case.  Remove dependence on SYMBOL_REF_FLAG.
	(c4x_print_operand_address): Handle LO_SUM.
	(c4x_scan_for_ldp): Delete.  Hooray!
	(c4x_process_after_reload): Remove call to c4x_scan_for_ldp.
	Split all insns.
	(c4x_immed_int_constant): Renamed from c4x_int_constant.  All callers
	(c4x_immed_float_constant): Renamed from c4x_float_constant.  All
	callers	changed.
	(c4x_T_constraint): Allow LO_SUM, disable SYMBOL_REF, LABEL_REF,
	and CONST.
	(c4x_U_constraint, symbolic_operand): New functions.
	(src_operand): Allow 'I' constants in HImode.  Allow LO_SUM,
	(lsrc_operand, tsrc_operand): Call src_operand instead of
	(c4x_operand_subword): Update comments.

	* config/c4x/c4x.c (TARGET_LOAD_ADDRESS): New macro.
	plus HIGH and LO_SUM for the C40.
	(ENCODE_SECTION_INFO): Define macro.
	(symbolic_operand, c4x_U_constraint, c4x_emit_move_sequence): New
	(PREDICATE_CODES): Add symbolic_operand.

	* config/c4x/ (movqi, movgqf, movhi, movhi): Call
	(floatunsqiqf2, fixuns_truncqfqi2): Rework emitted RTL
	to avoid symbol references.
	(all patterns with g constraint): Replace 'g' constraint with 'rIm'.
	(set_high): Renamed from set_high_use.
	(set_lo_sum): Renamed from set_ior_lo_use.
	(all call patterns): Make MEM explicit in call address operands.
	Modified output templates to use 'U' modifier.

Sun Jan 24 01:15:05 1999  Jeff Law  (

	* version.c: Bump for snapshot.

Sat Jan 23 22:34:57 1999  Kaveh R. Ghazi  <>

	* final.c (bb_str): Qualify a char* with the keyword `const'.
	(add_bb_string, final_scan_insn, output_asm_insn): Likewise.

	* fix-header.c (read_scan_file): Likewise.

	* genoutput.c (output_epilogue, process_template): Likewise.

	* local-alloc.c (requires_inout, block_alloc): Likewise.

	* output.h (output_asm_insn, assemble_string): Likewise.

	* recog.c (recog_constraints, check_asm_operands,
	decode_asm_operands, extract_insn, preprocess_constraints,
	constrain_operands): Likewise.

	* recog.h (operand_alternative, recog_constraints, insn_template,
	insn_outfun, insn_operand_constraint, insn_name): Likewise.

	* regclass.c (record_reg_classes, scan_one_insn): Likewise.

	* regmove.c (find_matches): Likewise.

	* reload.c (alternative_allows_memconst): Likewise.

	* reload1.c (constraint_accepts_reg_p,
	reload_cse_simplify_operands): Likewise.

	* rtl.h (decode_asm_operands): Likewise.

	* scan.h (fn_decl): Likewise.

	* varasm.c (assemble_string): Likewise.

Sat Jan 23 01:37:36 1999  Jeffrey A Law  (

	* (gcc_tooldir): Handle case where exec_prefix has
	not been explicitly set.
	* configure: Rebuilt.

	* fold-const.c (lshift_double): Mark 'prec' arguments as possibly

	* bitmap.h (bitmap_head_def): Make indx field unsigned.

	* (gcc_tooldir): When not making a relative gcc_tooldir,
	use $exec_prefix/$target_alias for gcc_tooldir.
	* configure: Rebuilt.

Fri Jan 22 11:48:56 1999  Richard Henderson  <>

	* cppp.c (xrealloc): Fix typo last change.
	* cppalloc.c, gcc.c, genattr.c, genattrtab.c, gencodes.c: Likewise.
	* genconfig.c, genemit.c, genextract.c, genflags.c: Likewise.
	* genopinit.c, genoutput.c, genpeep.c, genrecog.c: Likewise.

1999-01-22  Michael Meissner  <>

	* rs6000.h (CR0_REGNO_P): New macro to test if cr0.
	(CR_REGNO_NOT_CR0_P): New macro to test if cr, but not cr0.
	(PREDICATE_CODES): Add cc_reg_not_cr0_operand.
	(cc_reg_not_cr0_operand): Add declaration.

	* rs6000.c (cc_reg_not_cr0_operand): Return true if register is a
	pseudo register, or a control register that is not CR0.

	* (all combiner patterns building . instructions): For
	all `.' instructions that do something and set cr0, add an
	alternative that does the operation, and then sets a different
	flag, in order to avoid using the costly mcrf instruction and also
	allow cr0 to be clobbered in asm statements.  Also fix a few
	patterns that used the wrong register.

	* rs6000.h (rs6000_cpu_select): Make string, names be const char *.
	(rs6000_debug_name): Make const char *, not char *.

	* sysv4.h (rs6000_{abi,sdata}_name): Make const char *.

	* rs6000.c (rs6000_{debug,abi,sdata}_name): Make const char *.
	(rs6000_select): Use const char * in casts.

Fri Jan 22 07:43:01 1999  Jeffrey A Law  (

	* (gcc_tooldir): Move before first reference.
	Let autoconf substitute in a value.
	* (gcc_tooldir): Only use a relative path to the
	tool directory if $exec_prefix == $prefix.
	* configure: Rebuilt.

	* (tooldir): Replace with gcc_tooldir.

Thu Jan 21 23:21:57 1999  Jeffrey A Law  (

	* (ashldi_const): Disable for !TARGET_5200.  Fix indentation.
	(ashldi3 expander): Similarly.  Update comments.
	(ashrdi_const, lshrdi_const): Fix indentation.
	(ashrdi3, lshrdi3): Fix indentation.  Update comments.

Thu Jan 21 21:53:36 1999  Richard Henderson  <>

	* emit-rtl.c (try_split): Don't try to split non-instructions.

Thu Jan 21 23:47:30 1999  Andrew MacLeod  <>

	* expr.c (emit_push_insn): Fix dumb typo.

Thu Jan 21 20:24:02 1999  Richard Henderson  <>

	* rs6000.h (LEGITIMIZE_RELOAD_ADDRESS): Recognize and accept
	transformations that we have performed earlier.
	* alpha.h (LEGITIMIZE_RELOAD_ADDRESS): Likewise.

	* (prologue_stack_probe_loop): Don't do our own label
	handling, call gen_label_rtx instead.

Thu Jan 21 17:45:18 1999  Richard Henderson  <>

	* ({rs6000|powerpc}-ibm-aix4.[12]*): Add missing `then'.

	* cccp.c (xrealloc): Call malloc given a NULL old pointer.
	* collect2.c, cppalloc.c, gcc.c, genattr.c, genattrtab.c: Likewise.
	* gencodes.c, genconfig.c, genemit.c, genextract.c: Likewise.
	* genflags.c, genopinit.c, genoutput.c, genpeep.c: Likewise.
	* genrecog.c, mips-tfile.c, protoize.c: Likewise.

Thu Jan 21 19:44:55 1999  Michael Meissner  <>

	* ({rs6000|powerpc}-ibm-aix4.[12]*): If
	--with-gnu-ld, use x-aix41-gld instead of x-aix41 to suppress
	adding -Wl,-bbigtoc to BOOT_LDFLAGS.
	* configure: Regenerate.

	* config/rs6000/x-aix41-gld: New file, don't set BOOT_LDFLAGS.

Thu Jan 21 15:48:03 1999  Dave Brolley  <>

	* cppexp.c (cpp_lex): Allocate token_buffer dynamically.

Thu Jan 21 14:18:04 1999  Andrew MacLeod  <>

	* expr.c (MOVE_BY_PIECES_P): Define condition for deciding to use
	(MOVE_MAX_PIECES): Define maximum number of bytes to move at once.
	(move_by_pieces): Use new macros.
	(emit_block_move): Use new macros.
	(clear_by_pieces): Use new macros.
	(clear_storage): Use new macros.
	(emit_push_insn): Use new macros.
	(expand_expr): Use new macros.
	(MOVE_BY_PIECES_P): Define based on alignment and TARGET_SMALLCODE.
	(MOVE_MAX_PIECES): Move 8 bytes on SH4.
	USE_STORE_PRE_DECREMENT): Describe new macros.

Thu Jan 21 14:13:31 1999  Vladimir N. Makarov  <>

	* varasm.c (output_constant_pool): Use floor_log2 instead of
	exact_log2 for ASM_OUTPUT_ALIGN.

	* stor-layout.c (layout_type): Do machine-dependent extra alignment.

	* emit-rtl.c (operand_subword): Handle case when a subword outside
	the operand.

	* tm.texi (ROUND_TYPE_{SIZE,ALIGN}): More accurate descriptions of
	the macros.

Thu Jan 21 01:59:30 1999  Richard Henderson  <>

	* cse.c (fold_rtx): Revert 29 Dec change.
	(cse_insn): Revert 12 Jan change.
	* expr.c (expand_builtin): Don't emit CONST around CONSTANT_P_RTX.
	* regclass.c (reg_scan_mark_refs): Revert 29 Dec change.
	* rtl.def: Likewise.
	* rtl.h (CONSTANT_P): Likewise.

	* expr.c (emit_move_insn): Never try to flush CONSTANT_P_RTX
	to memory.
	* recog.c (immediate_operand): Accept CONSTANT_P_RTX.
	* alpha.c (input_operand): Likewise.
	* c4x.c (const_operand): Likewise.

	* explow.c (allocate_dynamic_stack_space): Use register_operand
	instead of arith_operand, which does not exist.

	* 1750a.h: Fix comment closure.
	* a29k.c (a29k_set_memflags): Fix typo in 19 Jan change.
	* (one_cmplsi2_set_cc_insn): Fix set mode mismatch.
	* arm.h (TARGET_SWITCHES): Fix typo.
	* (anon mult and div patterns): Fix set mode mismatch.
	* i860.c (output_delayed_branch): Fix operands to constrain_operands.
	(output_delay_insn): Likewise.
	* (anon rotate insns): Fix set mode mismatch.
	(anon BLKmode moves): Commonize and fix set mode mismatches.
	* (udivmoddi[shq]i4_internal): Fix mode mismatch.
	* (movdf): Fix typo.

Thu Jan 21 00:29:35 1999  Nathan Sidwell  <>

	* (install-common): Remove extraneous chmod for gcov

Wed Jan 20 18:15:08 1999  Dave Brolley  <>

	* function.c (assign_parms): Save and restore setting of
	TREE_USED (parm).

Wed Jan 20 12:51:42 1999  Mark Mitchell  <>

	* Use MEM_COPY_ATTRIBUTES where appropriate throughout.
	Pass MEM_SCALAR_P to arm_gen_store_multiple where appropriate.

Tue Jan 19 21:20:52 1999  Richard Henderson  <>

	* recog.c (pop_operand): New function.
	* recog.h (pop_operand): Declare it.
	* genrecog.c (preds): Define it.

	* expr.c (do_jump_for_compare): Handle conditional branch expanders
	emitting multiple jump instructions.
	* jump.c (condjump_label): New function.
	* rtl.h (condjump_label): Declare it.

Tue Jan 19 21:08:20 1999  Richard Henderson  <>

	* expr.c (emit_move_insn_1): Revert 17 Dec change.  Don't emit
	clobber during or after reload.

Tue Jan 19 16:56:03 1999  Richard Henderson  <>

	* genoutput.c (name_for_index): New function.
	(scan_operands, validate_insn_alternatives): Use it.
	* genrecog.c (insn_name_ptr_size): New variable.
	(make_insn_sequence): Fill in insn_name_ptr.
	(merge_trees): Use it.

Tue Jan 19 16:37:36 1999  Richard Henderson  <>

	* i386/isc.h (TARGET_DEFAULT): Define symbolicly.
	* i386/isccoff.h, i386/next.h, i386/sco.h, i386/sco5.h: Likewise.
	* i386/scodbx.h, i386/sequent.h, i386.unix.h: Likewise.

Tue Jan 19 15:00:10 1999  Jeffrey A Law  (

	* loop.c (NUM_STORES): Delete.
	(loop_store_mems): Turn into an EXPR_LIST of MEMs.
	(prescan_loop): Properly initialize loop_mems_idx.
	(note_addr_stored): Simplify using list structure instead of
	fixed sized array.
	(invariant_p, check_dbra_loop, load_mems): Similarly.

	* flow.c (invalidate_from_autoinc): New function.
	(mark_set_1, mark_used_regs): Use it.

	* (protoize.o, unprotoize.o): Depend on Makefile.

1999-01-19  Vladimir N. Makarov  <>

	* invoke.texi (-mlong-double-64): New option description.

1999-01-19  Jim Wilson  <>

	* libgcc2.c: Change all uses of LONG_DOUBLE_TYPE_SIZE to
	if not defined.
	* i960/i960.h (MULTILIB_DEFAULTS): Define to mnumerics.
	(CPP_SPECS): Add -mlong-double-64 support.
	(TARGET_SWITCHES): Add -mlong-double-64 support.
	* i960/vx960-coff.h (MULTILIB_DEFAULTS): Define to msoft-float.
	(CPP_SPECS): Add -mlong-double-64 support.
	* i960/t-960bare (MULTILIB_OPTIONS): Add mlong-double-64.
	* i960/t-vxworks960 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Likewise.

Tue Jan 19 11:54:04 1999  Jason Merrill  <>

	* calls.c (expand_call): Strip a TARGET_EXPR if we're passing by
	invisible reference.

Tue Jan 19 14:51:36 1999  David Edelsohn  <>

	* rs6000.c (offsettable_addr_operand): Delete.
	(offsettable_mem_operand): New function.
	* rs6000.h (PREDICATE_CODES): Reflect function change.
	(RS6000_SAVE_TOC): Represent address as MEM.
	* win-nt.h (RS6000_SAVE_TOC): Same.
	* (indirect calls): Change offsettable address parameter
	to offsettable memory parameter.

Tue Jan 19 10:24:53 1999  Mark Mitchell  <>

	* rtl.h (rtx_def): Update documentation.
	(MEM_IN_STRUCT_P): Likewise.
	(MEM_SCALAR_P): New macro.
	(MEM_SET_IN_STRUCT_P): Likewise.
	* rtl.texi (MEM_SCALAR_P): Document.
	* alias.c (canon_rtx): Use MEM_COPY_ATTRIBUTES.
	(fixed_scalar_and_varying_struct_p): New function.  Use
	(aliases_everything_p): Likewise.
	(true_dependence): Use them.
	(write_dependence_p): New function, containing code common to
	anti_dependence and output_dependence.
	(anti_dependence): Use it.
	(output_dependence): Likewise.
	* calls.c (save_fixed_argument_area): Don't clear
	(expand_call): Use MEM_SET_IN_STRUCT_P.
	(emit_library_call): Don't clear MEM_IN_STRUCT_P.
	(emit_library_call_value): Likewise.
	(store_one_arg): Use MEM_SET_IN_STRUCT_P.
	* combine.c (simplify_rtx): Use MEM_COPY_ATTRIBUTES.
	(make_extraction): Likewise.
	(simplify_shift_const): Likewise.
	(gen_lowpart_for_combine): Likewise.
	* cse.c (gen_lowpart_if_possible): Use MEM_COPY_ATTRIBUTES.
	* emit-rtl.c (operand_subword): Likewise.
	(change_address): Likewise.
	* explow.c (stabilize): Use MEM_COPY_ATTRIBUTES.
	* expr.c (protect_from_queue): Use MEM_COPY_ATTRIBUTES.
	(emit_group_store): Use MEM_SET_IN_STRUCT_P.
	(copy_blkmode_from_reg): Likewise.
	(store_field): Likewise.
	(expand_expr): Remove bogus guesswork setting MEM_IN_STRUCT_P
	heuristically.  Use MEM_SET_IN_STRUCT_P.
	(get_memory_rtx): Likewise.
	* final.c (alter_subreg): Use MEM_COPY_ATTRIBUTES.
	* function.c (assign_stack_temp): Clear MEM_SCALAR_P and
	MEM_ALIAS_SET on newly returned MEMs.
	(assign_temp): Use MEM_SET_IN_STRUCT_P.
	(put_reg_into_stack): Likewise.
	(fixup_var_refs1): Use MEM_COPY_ATTRIBUTES.
	(gen_mem_addressof): Use MEM_SET_IN_STRUCT_P.
	(assign_parms): Likewise.
	(expand_function): Likewise.
	* integrate.c (expand_inline_function): Likewise.
	(copy_rtx_and_substitute): Use MEM_COPY_ATTRIBUTES.
	* loop.c (note_addr_stored): Remove check on MEM_IN_STRUCT_P.
	* optabs.c (gen_move_insn): Use MEM_COPY_ATTRIBUTES.
	* print-rtl.c (print_rtx): Print /f for frame_related.
	* recog.c (validate_replace_rtx_1): Use MEM_COPY_ATTRIBUTES.
	* reload1.c (reload): Copy MEM_SCALAR_P as well.
	* stmt.c (expand_decl): Use MEM_SET_IN_STRUCT_P.
	(expand_anon_union_decl): Use MEM_COPY_ATTRIBUTES.
	* varasm.c (make_decl_rtl): Use MEM_SET_IN_STRUCT_P.
	(output_constant_def): Likewise.
	* a29k.c (a29k_set_memflags_1): Take scalar_p.
	(a29k_set_memflags): Use it.
	* alpha.c (get_aligned_mem): Use MEM_COPY_ATTRIBUTES.
	* c4x.c (c4x_scan_for_ld): Likewise.
	* h8300.c (fix_bit_operand): Likewise.
	* m88k.c (legitimize_address): Likewise.
	(block_move_loop): Likewise.
	(block_move_no_loop): Likewise.
	(block_move_sequence): Likewise.
	(m88k_builtin_saveregs): Use MEM_SET_IN_STRUCT_P.
	* mips/abi64.h (SETUP_INCOMING_VARARGS): Likewise.
	* rs6000.c (expand_block_move_insn): Use MEM_COPY_ATTRIBUTES.
	* sh.c (sh_builtin_saveregs): Use MEM_SET_IN_STRUCT_P.
	* arm.h (arm_gen_load_multiple): Take scalar_p.
	(arm_store_load_multiple): Likewise.
	* arm.c (arm_gen_load_multiple): Likewise.
	(arm_gen_store_multiple): Likewise.
	(arm_gen_movstrqi): Treat MEM_SCALAR_P like MEM_IN_STRUCT_P.

Tue Jan 19 12:30:37 1999  Andrew MacLeod  <>

	* optabs.c (emit_libcall_block): Add a REG_EH_REGION reg note to all
	calls within a libcall block to indicate no throws are possible.
	* flow.c (find_basic_blocks, find_basic_blocks_1): Don't look for
	libcall blocks. Don't add edges to exception handlers if we see
	a REG_EH_REGION note with a value of 0.
	(make_edges): Override active_eh_region vector if the call has a note
	indicating the call does not throw.

1999-01-19  Vladimir N. Makarov  <>

	* config/rs6000/sysv4.h (CC1_SPEC): Fix correct numbers of {}.

Tue Jan 19 06:26:30 1999  Jeffrey A Law  (

	* (cccp.o, cpplib.o): Depend on Makefile.

Mon Jan 18 09:56:41 1999  Jason Merrill  <>

	* invoke.texi (C++ Dialect Options): Document -fno-rtti.

1999-01-18  Vladimir N. Makarov  <>

	*  invoke.texi (-mcpu=740, -mcpu=750): New options.
	(-m(no-)multiple, -m(no-)string): Describe cases for PPC740 &

1999-01-18  Michael Meissner  <>

	* rs6000.h ({ASM,CPP}_CPU_SPEC): Add support for all machines
	supported with -mcpu=xxx.
	(processor_type): Add PROCESSOR_PPC750.
	(ADJUST_PRIORITY): Call rs6000_adjust_priority.
	(RTX_COSTS): Supply costs for 750 multiply/divide operations.
	(rs6000_adjust_priority): Add declaration.

	* rs6000.c (rs6000_override_options): -mcpu={750,740} now sets the
	processor type as 750, not 603.  Allow -mmultiple and -mstring on
	little endian 750 systems.
	(rs6000_adjust_priority): Stub for now.
	(get_issue_rate): The PowerPC 750 can issue 2 instructions/cycle.

	* (function/cpu attributes): Add initial ppc750 support.

	* sysv4.h (STRICT_ALIGNMENT): Don't force strict alignment if
	little endian.
	(CC1_SPEC): Pass -mstrict-align if little endian, and not
	(CC1_ENDIAN_{LITTLE,BIG,DEFAULT}_SPEC): Endian specific configs.
	(SUBTARGET_EXTRA_SPECS): Add cc1 endian specs.

	* {sysv4,eabi}le.h (CC1_ENDIAN_DEFAULT_SPEC): Override, default is
	little endian.

	* t-ppcgas (MULTILIB_*): Delete obsolete Solaris multilibs.

Mon Jan 18 12:03:08 1999  Gavin Romig-Koch  <>

	* config/mips/ (div_trap): Split div_trap_mips16
	from div_trap.
	(div_trap_normal,div_trap_mips16): Correct the length attributes.

Mon Jan 18 11:48:28 1999  Kaveh R. Ghazi  <>

	* cpplib.c (special_symbol): Qualify a char* with the `const' keyword.
	Instead of writing to const char *buf directly, use a non-const
	variable `wbuf' to allocate and write a string, then set buf = wbuf.

	* cppulp.c (user_label_prefix): Qualify a char* with the `const'

	* dyn-string.c (dyn_string_append): Likewise.

	* dyn-string.h (dyn_string_append): Likewise.

	* final.c (end_final, output_operand_lossage, asm_fprintf): Likewise.

	* output.h (end_final, output_operand_lossage, asm_fprintf,
	named_section, decode_reg_name, make_decl_rtl, user_label_prefix):

	* profile.c (init_branch_prob): Likewise.

	* toplev.c (set_target_switch, vmessage,
	v_message_with_file_and_line, v_message_with_decl,
	v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
	verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
	v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
	v_pedwarn_with_file_and_line, vsorry, v_really_sorry,
	open_dump_file, dump_rtl, clean_dump_file,
	print_version, print_single_switch, print_switch_values,
	dump_base_name, debug_args, lang_independent_options,
	user_label_prefix, documented_lang_options, target_switches,
	target_options, print_time, pfatal_with_name, fatal_io_error,
	fatal_insn, default_print_error_function, print_error_function,
	report_error_function, error_with_file_and_line, error_with_decl,
	error_for_asm, error, fatal, warning_with_file_and_line,
	warning_with_decl, warning_for_asm, warning, pedwarn,
	pedwarn_with_decl, pedwarn_with_file_and_line, sorry,
	really_sorry, botch, output_quoted_string, output_file_directive,
	open_dump_file, rest_of_decl_compilation, display_help, main):

	* toplev.h (print_time, fatal, fatal_io_error, pfatal_with_name,
	fatal_insn, warning, error, pedwarn, pedwarn_with_file_and_line,
	warning_with_file_and_line, error_with_file_and_line, sorry,
	really_sorry, default_print_error_function, report_error_function,
	rest_of_decl_compilation, pedwarn_with_decl, warning_with_decl,
	error_with_decl, error_for_asm, warning_for_asm, output_quoted_string,
	output_file_directive, botch): Likewise.

	* tree.h (make_decl_rtl): Likewise.

	* varasm.c (strip_reg_name, named_section, decode_reg_name,
	make_decl_rtl): Likewise.

Mon Jan 18 11:35:49 1999  Gavin Romig-Koch  <>

	* (TCL_LIBRARY): Use 'cd' to find the library
	directory logically rather than physically.

Mon Jan 18 09:05:37 1999  Kaveh R. Ghazi  <>

	* loop.c (insert_bct): Hide the definition of variables
	`increment_direction', `compare_direction', `add_iteration' and

	* recog.c (mode_dependent_address_p): Mark parameter `addr' with
	(mode_independent_operand): Mark label `lose' with

	* regclass.c (n_occurrences): Remove prototype and definition.

	* reload.c (find_reloads_address_1): Mark variable `tem' with

	* reload1.c (reload): Cast the first two arguments of `bcopy' to PTR.

	* sbitmap.c (sbitmap_copy): Likewise.

	* scan-decls.c (scan_decls): Hide label `handle_comma'.

	* toplev.c (output_lang_identify): Mark prototype with

	* tree.c (make_node): Cast the first argument of `bzero' to PTR.
	(make_tree_vec): Likewise.
	(build1): Likewise.

	* varasm.c (assemble_static_space): Mark variable `tem' with

Mon Jan 18 04:28:36 1999  Nathan Sidwell  <>

	* (GCOV_INSTALL_NAME): New macro.
	(install-common): Use it.
	(uninstall): Use it.
	(uninstall): Use correct names for protoize and unprotoize.

Mon Jan 18 03:52:56 1999  Christian Bruel  <>
			  Jeffrey A Law  (

	* flow.c (last_mem_set): Delete variable.  References removed.
	(mem_set_list): New variable.
	(life_analysis): Initialize and finalize alias analysis.
	(propagate_block); Initialize mem_set_list.  Clear for CALL_INSNs.
	(insn_dead_p): For a store to memory, search the entire mem_set_list
	for a match.
	(mark_set_1): Kill entries on the mem_set_list for aliased writes or
	changes to their addresses.  Add new entries to the mem_set_list for
	memory writes writes.
	(mark_used_regs): Kill entries on the mem_set_list which may be
	referenced by a load operation.

Mon Jan 18 01:01:02 1999  Jeffrey A Law  (

	* alias.c (base_alias_check): Add missing return for differing
	symbols case.

Mon Jan 18 00:36:13 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

	* mips-tdump.c (print_file_desc): Handle unknown filenames and
	missing local symbols.

Sun Jan 17 21:04:31 1999  Richard Henderson  <>

	* jump.c (rtx_renumbered_equal_p): Special case CODE_LABEL.

	* system.h (bcopy): Implement with memmove not memcpy.

Sun Jan 17 19:23:20 1999  Jeffrey A Law  (

	* (cppulp.o): Add dependencies.

	* (integer conditional moves): Add missing earlyclobbers.

	* regmove.c (optimize_reg_copy_1): Undo Aug 18 change.  Update
	REG_N_CALLS_CROSSED and REG_LIVE_LENGH if and only if we change
	where a register is live.

Sun Jan 17 03:20:47 1999  H.J. Lu  (

	* reg-stack.c (subst_stack_regs_pat): Abort if the destination
	of a FP conditional move is not on the FP register stack.

Sun Jan 17 01:15:04 1999  Jeff Law  (

	* version.c: Bump for snapshot.

Sat Jan 16 23:40:33 1999  Jeffrey A Law  (

	* reload1.c (reload_cse_regs_1): Do not call
	reload_cse_simplify_operands for an insn with asm operands.

	* cccp.c (print_help): Fix typos.
	* cpplib.c (print_help): Fix typos.
	* toplev.c (f_optiosn): Fix typos.
	(documented_lang_options): Fix typos.

Sat Jan 16 21:48:17 1999  Marc Espie  (

	* gcc.c (do_spec_1): Fix obvious typo.

Sat Jan 16 19:31:07 1999  Kaveh R. Ghazi  <>

	* c-decl.c (duplicate_decls): If `warn_traditional', warn when
	a non-static function declaration follows a static one.

	* invoke.texi (-Wtraditional): Document the extra check now done
	by this flag.

Sat Jan 16 15:13:46 1999  Jeffrey A Law  (

	* (shadd): Create shadd insns, even if the result of the shift is
	needed without the addition.

Sat Jan 16 10:48:16 1999  J"orn Rennecke  <>

	* (movdf, movsf): Temporary workaround for no_new_pseudos lossage.

Fri Jan 15 23:44:37 1999  Richard Henderson  <>

	* sparc.c (sparc_issue): Add hypersparc/sparclite86x entries.

Fri Jan 15 22:30:04 1999  David Edelsohn  <>

	* rs6000.h (CONST_OK_FOR_LETTER_P): Do not assume 32-bit CONST_INT.
	* rs6000.c (u_short_cint_operand, add_operand, logical_operand,
	non_add_cint_operand, non_logical_cint_operand): Likewise.
	(get_issue_rate): Add CPU_PPC604E case.
	* (movdi, !TARGET_POWERPC64 splitters): Handle 64-bit hosts.

Fri Jan 15 18:42:12 1999  Richard Henderson  <>

	* expr.c (queued_subexp_p): Make public.
	* expr.h (queued_subexp_p): Declare it.
	* recog.c (asm_operand_ok): New function.
	(check_asm_operands): Use it.  After reload, use constrain_operands
	* recog.h (asm_operand_ok): Declare it.
	* stmt.c (expand_asm_operands): Use it to try harder to make
	asms initially satisfy their constraints.

Fri Jan 15 17:43:59 1999  Jeffrey A. Law  <>

	* sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do not create
	(mem (lo_sum (...)) for TFmode unless TARGET_V9.

Sat Jan 16 12:47:15 1999  Michael Hayes  <>

	* config/c4x/ (not_repeat_reg): Allow ldp instruction
	in delay slot of RPTBD.

Sat Jan 16 12:26:40 1999  Michael Hayes  <>

	* config/c4x/libgcc.S (___divhi3, ___modhi3): Fix long long
	divide and modulo sign problem.

Fri Jan 15 11:02:31 1999  Michael Hayes  <>

	* unroll.c (loop_iterations): Return 0 if the last loop insn
	is not a jump insn or if the loop has multiple back edges.

1999-01-15  Manfred Hollstein  <>

	* (fixinc_defs): Do not define for m[68]8k-motorola-sysv{,3};
	it's working properly now.  Remove comment saying "see m68k-motorola-sysv
	as an example".
	* configure: Regenerate using autoconf.

	* fixinc/fixincl.c (main): Do not ignore SIGCHLD.

Thu Jan 14 22:38:41 1999  Jeffrey A Law  (

	* unroll.c (find_splittable_givs): For a DEST_ADDR giv, do not share
	a register with another DEST_ADDR giv if the address is not valid.

	* pa.c (hppa_expand_epilogue): Save and restore the static chain
	around the call to mcount.

	* h8300.h (ASM_OUTPUT_LABELREF): Use asm_fprintf, not fprintf.

	* stmt.c (expand_end_case): Use emit_cmp_and_jump_insns to avoid
	generating non-canonical rtl.

1999-01-14  Vladimir N. Makarov  <>

	* config/i960/i960.c (i960_output_move_double_zero,
	i960_output_move_quad_zero): New functions for moving zeros.
	(i960_output_move_double, i960_output_move_quad): Additional code
	for situation when moving unaligned register group.

	* config/i960/i960.h (i960_output_move_double_zero,
	i960_output_move_quad_zero): The function definitions.

	* config/i960/ (movdi+1, movti+1): Usage of the functions.

1999-01-13  Vladimir N. Makarov  <>

	* config/i960/i960.c (i960_function_prologue): New code (optimal
	solution) for saving global registers in local registers.
	(form_reg_groups, reg_group_compare, split_reg_group): New
	functions used by the code.
	(reg_group): New structure definition for the new code.

1999-01-13  Manfred Hollstein  <>

	* fixinc/fixincl.c (create_file): Pass file creation mask as
	third parameter to "open".  Use O_TRUNC flag to open instead of
	explicitly unlink'ing the file.
	(process): and forget about the "chmod" stuff.

Wed Jan 13 20:12:37 1999  Richard Henderson  <>

	* integrate.c (expand_inline_function): Recognize (mem (addressof))
	and substitute.  Copy the return value from there into a new pseudo.

Wed Jan 13 16:47:00 1999  Catherine Moore  <>

	* config/arm.c (output_func_epilogue): Check TARGET_ABORT_NORETURN
	before generating a call to abort for volatile functions.
	* config/arm.h (ARM_FLAG_ABORT_NORETURN): Define.
	(abort-on-noreturn): New option.

Thu Jan 14 13:52:42 1999  Michael Hayes  <>

	* config/c4x/ (in_annul_slot_3): Correctly allow unarycc
	and binarycc operations in 3rd annulled delay slot!

Wed Jan 13 16:16:44 1999  Catherine Moore  <>

	* config/arm.c (output_func_epilogue): Check TARGET_ABORT_NORETURN
	before generating a call to abort for volatile functions.
	* config/arm.h (ARM_FLAG_ABORT_NORETURN): Define.
	(abort-on-noreturn): New option.

Wed Jan 13 13:30:08 1999  Kaveh R. Ghazi  <>

	* cccp.c (xstrdup): Renamed from `savestring'.  All callers changed.
	Remove prototype which we get from libiberty.h.

	* collect2.c (xstrdup): Likewise.

	* genextract.c (xstrdup): Likewise for `copystr'.
	(mybzero): Remove it and use `memset' instead.

	* genoutput.c (mybcopy, mybzero): Remove these.  All callers changed
	to use `memcpy' and `memset' instead.

	* genrecog.c (xstrdup): Renamed from `copystr'.  All callers
	changed.  Remove prototype.
	(mybcopy, mybzero): Remove these and use memcpy/memset.

Wed Jan 13 00:59:04 1999  Jeffrey A Law  (

	* mips.h (LOAD_EXTEND_OP): Correct for SImode and CCmode moves when
	generating code for TARGET_64BIT.

Tue Jan 12 14:05:37 1999  David Edelsohn  <>

	* rs6000.c (print_operand, cases 'm' and 'M'): Do not depend on
	HOST_WIDE_INT word-size.
	(rs6000_stack_info): Remove redundant alignment of fpmem.

Tue Jan 12 14:05:37 1999  Richard Henderson  <>

	* rs6000.c (short_cint_operand): Remove CONSTANT_P_RTX handling.
	(u_short_cint_operand, reg_or_cint_operand, logical_operand): Likewise.
	(input_operand): Adjust CONSTANT_P_RTX handling.
	* rs6000.h (PREDICATE_CODES): Remove CONSTANT_P_RTX references.
	* (movsi): Adjust CONSTANT_P_RTX handling.
	(movhi, movqi): Remove CONSTANT_P_RTX handling.
	(movdi): Adjust CONSTANT_P_RTX handling.

1999-01-12  Manfred Hollstein  <>

	* configure: Regenerate using autoconf.

	* fixinc/ (INCLUDES): Add -I$(srcdir)/../../include.
	* fixinc/fixincl.c (SIGCHLD): Use SIGCLD on (very) old systems.
	(process): "fchmod" isn't available on all systems, use "chmod"
	* fixinc/server.c: Add #include <sys/types.h>.
	(STDIN_FILENO): Add default definition if no include file defines
	it already.
	(STDOUT_FILENO): Likewise.

Tue Jan 12 10:23:24 1999  Stan Cox  <>

	* (call_value_internal3c): New pattern for -mips16 -mlong-calls.

1999-01-12  Manfred Hollstein  <>

	* m68k/mot3300.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Define to
	ensure all prototypes necessary for building libio will be available.
	* m68k/xm-mot3300.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Remove
	definitions here as they are not host specific.
	* m88k/sysv3.h, m88k/xm-sysv3.h: Likewise.

Tue Jan 12 02:53:46 1999  Richard Henderson  <>

	* cse.c (cse_insn): Never prefer (const (constant_p_rtx)).

Tue Jan 12 02:36:10 1999  Jeff Law  (

	* version.c: Bump for snapshot.

Tue Jan 12 01:30:19 1999  Richard Henderson  <>

	* rtl.c (rtx_alloc): Use memset instead of inline loop.

	* recog.h (recog_op_alt): Declare extern.

Tue Jan 12 00:23:31 1999  Richard Henderson  <>

	* function.c (purge_addressof_1): If the note accesses a mem+addressof
	in a wider mode than any replacement, adjust the cached replacement.
	Cache trivial substitutions as well.

Tue Jan 12 00:06:00 1999  Richard Henderson  <>

	* (OBJECTS): Add sbitmap.o.
	(BASIC_BLOCK_H): Add sbitmap.h.
	* basic-block.h: Move simple bitmap code to sbitmap.h.
	* flow.c: Move simple bitmap code to sbitmap.c.
	* sbitmap.h, sbitmap.c: New files.

Mon Jan 11 23:51:50 1999  Richard Henderson  <>

	* alpha.h (TARGET_SWITCHES): Document switches.
	(TARGET_OPTIONS): Likewise.


Mon Jan 11 22:54:14 1999  Richard Henderson  <>

	* tree.c (new_alias_set): Return zero if !flag_strict_aliasing.

Mon Jan 11 22:36:01 1999  Richard Henderson  <>

	* basic-block.h (basic_block_head): Rename to x_basic_block_head.
	(basic_block_end): Rename to x_basic_block_end.

	* caller-save.c: Change basic_block_head/end references to
	* combine.c, flow.c, function.c, gcse.c, global.c: Likewise.
	* graph.c, haifa-sched.c, local-alloc.c, regclass.c: Likewise.
	* regmove.c, reload1.c, reorg.c, sched.c: Likewise.

Sat Jan  9 23:54:09 1999  Kaveh R. Ghazi  <>

	* gcc.c (xstrerror): Renamed from my_strerror.  All callers
	changed.  Remove prototype since we get that from libiberty.h.

	* protoize.c (xstrerror): Likewise.

Sat Jan  9 23:22:04 1999  Kaveh R. Ghazi  <>

	* gcc.c (read_specs): Ensure format specifiers match their arguments.

Sat Jan  9 20:04:24 1999  Richard Henderson  <>

	* tree.c (copy_node): Oops.  That would be copy not zero
	in that last change.

Sun Jan 10 15:35:41 1999  Michael Hayes  <>

	* config/c4x/c4x.c: Include system.h.
	(c4x_caller_save_map): Disable caller save for RC.
	(c4x_optimization_options): Disable scheduling before reload.
	(valid_parallel_load_store) : Define return type as int.
	Remove unused variable regs.
	* config/c4x/c4x.h (REGISTER_MOVE_COST): Make independent of register
	* config/c4x/ (rotlqi3, rotrqi3): Fix up emitted RTL to
	handle rotations.
	(*db, decrement_and_branch_until_zero): Fix up constraints
	to keep reload happy.

Sat Jan  9 18:35:29 1999  Richard Henderson  <>

	* tree.c (make_node): Call bzero instead of inline clear.
	(copy_node, make_tree_vec, build1): Likewise.
	(get_identifier): Call strlen instead of inline count.
	(maybe_get_identifier): Likewise.

Sun Jan 10 14:04:51 1999  Michael Hayes  <>

	* config/c4x/ (in_annul_slot_3): Allow unarycc and binarycc
	operations in 3rd annulled delay slot.
	(*lshrqi3_const_set): Disallow c constraint for operand0.
	(modhi3+1, modhi3+2): Set attribute type to multi.
	* config/c4x/c4x.c (c4x_S_constraint): Removed space in middle of
	!= operator.

Sat Jan  9 11:44:55 1999  Kaveh R. Ghazi  <>

	* gansidecl.h: Allow attribute unused on labels only when we are
	version 2.93 or higher.  Not all versions of 2.92 have this feature.

	* version.c: Bump minor number to 93.

Fri Jan  8 10:51:13 1999  Andreas Schwab  <>

	* config/m68k/m68k.h: Declare output_function_epilogue.
	* recog.h: Declare next_insn_tests_no_inequality.

Fri Jan  8 01:43:53 1999  Jeffrey A Law  (

	* stmt.c (optimize_tail_recursion): New function, extracted from ...
	(expand_return): Use optimize_tail_recursion.
	* tree.h (optimize_tail_recursion): Declare.

	* toplev.c (compile_file): Move call to output_func_start_profiler
	to after the loop to emit deferred functions.

Thu Jan  7 19:52:53 1999  Gerald Pfeifer  <>

	* system.h (abort): Supply more detailed information on how to
	report an Internal Compiler Error.

Thu Jan  7 09:25:58 1999  Bruce Korb  (

	* fixinc/fixincl.c (*): More decapitalization of variables
	plus some explanatory comments.

	* fixinc/ fixinc/
	When the fixincl program does not work for a certain system,
	we substitute a shell script.  Added user commentary when
	this happens.

Thu Jan  7 11:26:17 1999  Mark Mitchell  <>

	* calls.c (store_unaligned_arguments_into_pseudos): Use xmalloc to
	allocate memory that will live beyond this function.
	(expand_call): Free it here.

Thu Jan  7 03:08:17 1999  Richard Henderson  <>

	integer data not destined for fp regs.

Thu Jan  7 03:03:42 1999  Stan Cox  <>
			  Richard Henderson  <>

	Support for Hypersparc and Sparclite86x:
	* sparc.h (TARGET_CPU_hypersparc, TARGET_CPU_sparclite86x): New.
	(CPP_CPU32_DEFAULT_SPEC): Fix up for the new targets.
	(ASM_CPU32_DEFAULT_SPEC): Likewise.
	(enum processor_type): Likewise.
	(CPP_ENDIAN_SPEC): Handle little endian data.
	(ADJUST_COST): Call sparc_adjust_cost.
	* sparc.c (sparc_override_options): Fix up for the new targets.
	(supersparc_adjust_cost): Make static.
	(hypersparc_adjust_cost): New.
	(ultrasparc_adjust_cost): Make static.
	(sparc_adjust_cost): New.
	* (attr cpu): Add hypersparc and sparclite86x.
	(function_unit): Add hypersparc scheduling rules.

	* (with_cpu handler): Recognize hypersparc.

Thu Jan  7 23:54:05 1999  Michael Hayes  <>

	* config/c4x/c4x.c: Added space after negation operator.
	* config/c4x/c4x.h: Likewise.
	* config/c4x/ Likewise.

Thu Jan  7 23:39:27 1999  Michael Hayes  <>

	* config/c4x/c4x.c (c4x_preferred_reload_class): Always return class.

Thu Jan  7 00:29:25 1999  Bernd Schmidt  <>

	* combine.c (num_sign_bit_copies): In NEG, MULT, DIV and MOD cases,
	when a test can't be performed due to limited width of
	HOST_BITS_PER_WIDE_INT, use the more conservative approximation.
	Fix UDIV case for cases where the first operand has the highest bit

Thu Jan  7 00:01:38 1999  Lutz Vieweg  <>

	* pa.h (reg_class): Add FPUPPER_REGS.
	(REG_CLASS_NAMES): Similarly.
	(FP_REG_CLASS_P): Likewise.
	(CLASS_MAX_NREGS): Similarly.

1999-01-06  Brendan Kehoe  <>

	* fixincludes: For HP/UX 10.20, also look in curses_colr/curses.h
	for a typedef of bool.  Make sure to have a copy of the file is
	in place before we look to fix it.  Fix typo in variable name to

Wed Jan  6 07:51:05 1999  Richard Henderson  <>

	* expr.c (expand_builtin) [case BUILT_IN_CONSTANT_P]: Use
	value_mode for the return mode.

Wed Jan  6 17:55:19 1999  Robert Lipe  <>

	* New flag --with-dwarf2.  If set, enables DWARF-2
	debugging as default.

	* config/tm-dwarf2.h: New file.

Wed Jan  6 16:08:54 1999  Jeffrey A Law  (

	* h8300.h (ASM_OUTPUT_LABELREF): Define.

	* local-alloc.c (update_equiv_regs): Corresponding changes.

	* calls.c (special_function_p): Push alloca test inside the large
	conditional which excludes functions not at file scope or not

	* calls.c (special_function_p): New function broken out of
	(precompute_register_parameters): Likewise.
	(store_one_arg): Likewise.
	(store_unaligned_argumetns_into_pseudos): Likewise.
	(save_fixed_argument_area): Likewise.
	(restore_fixed_argument_area): Likewise.
	(expand_call): Corresponding changes.

Thu Jan  7 00:12:24 1999  Michael Hayes  <>

	* config/c4x/ (addqi3): If the destination operand is
	a hard register other than an extended precision register,
	emit addqi3_noclobber.
	(*addqi3_noclobber_reload): New pattern added so that reload
	will recognize a store of a pseudo, equivalent to the sum
	of the frame pointer and a constant, as an add insn.

1999-01-06  Manfred Hollstein  <>

	* fixinc/fixincl.c: Re-indent according to the GNU standards.
	fixinc/server.c: Likewise.
	fixinc/server.h: Likewise.

Wed Jan  6 10:43:29 1999  Andreas Schwab  <>

	* config/m68k/m68k.c (const_uint32_operand): Remove CONSTANT_P_RTX
	(const_sint32_operand): Likewise.

Wed Jan  6 09:44:51 1999  Kaveh R. Ghazi  <>

	* toplev.h: In addition to checking _JBLEN, also check if `setjmp'
	is a macro when deciding if we can use `jmp_buf' in prototypes.

Wed Jan  6 03:18:53 1999  Mark Elbrecht  <>

	* (pc-msdosdjgpp): Set x_make to x-go32.
	* configure: Rebuilt.
	* i386/xm-go32.h: Define LIBSTDCXX.
	* i386/x-go32: New.
	* i386/go32.h (MD_EXEC_PREFIX): Define.

Wed Jan  6 02:23:36 1999  "Charles M. Hannum"  <>

	* expr.c (store_expr): If the lhs is a memory location pointed
	to be a postincremented (or postdecremented) pointer, always
	force the rhs to be evaluated into a pseudo.

Wed Jan  6 00:54:21 1999  Geoff Keating  <>

	* real.c (mtherr): Print more reasonable warning messages.

Tue Jan  5 21:57:42 1999  Kaveh R. Ghazi  <>

	* (gcc.o, prefix.o, cccp.o, cpplib.o): Depend on prefix.h.

	* cccp.c: Include prefix.h, don't prototype prefix.c functions.
	(new_include_prefix): Constify char* parameters.

	* cppfiles.c (read_name_map): Likewise.
	(append_include_chain): Likewise.  Also, use a writable char* copy
	of parameter `dir' which we then modify, rather than using the
	parameter itself to store the new writable string.
	(remap_filename): Constify some variables.  Also, use a writable
	char* to store an allocated string which we will be modifying.

	* cpplib.c: Include prefix.h, don't prototype prefix.c functions.
	(cpp_start_read): Constify variable `str'.

	* cpplib.h (append_include_chain): Constify a char* parameter.

	* gcc.c Include prefix.h, don't prototype prefix.c functions.
	(add_prefix, save_string): Constify char* parameters.
	(fatal, error): Add ATTRIBUTE_PRINTF_1 to prototypes.

	* prefix.c: Include prefix.h.
	(get_key_value, translate_name, save_string, update_path,
	set_std_prefix): Constify various char* parameters and variables.
	(save_string): Use xmalloc, not malloc.
	(translate_name): Use a writable temporary variable to create and
	modify a string before setting it to a const char*.

	* prefix.h: New file to prototype functions exported from prefix.c.

Tue Jan  5 08:52:18 1999  Bruce Korb  (

	* fixinc/fixincl.c (various): Added debug code so
	Manfred can trace the processing.

	* fixinc/inclhack.def (sys/utsname.h): Provide forward declaration of
	struct utsname on Ultrix V4.[35].

	* fixinc/{fixincl.x||} : Regenerated.

Mon Jan  4 15:37:30 1999  Zack Weinberg  <>

	* cpplib.c (skip_if_group): Split out the logic that handles
	directive recognition to its own function.  Don't use
	parse markers; use a bare pointer into the buffer.  Use
	copy/skip_rest_of_line instead of doing it by hand.  Remove
	`return on any directive' mode which was never used, and take
	only one argument.
	(consider_directive_while_skipping): New function, subroutine
	of skip_if_group.  Logic streamlined a bit.
	(conditional_skip, do_elif, do_else): Call skip_if_group with
	only one argument.

Mon Jan  4 15:27:30 1999  Zack Weinberg  <>

	* cpplib.c (do_undef): EOF immediately after '#undef FOO' is not an

Mon Jan  4 11:55:51 1999  Jason Merrill  <>

	* extend.texi (Bound member functions): Document.

Mon Jan  4 11:01:48 1999  Kaveh R. Ghazi  <>

	* mips-tdump.c (st_to_string, sc_to_string, glevel_to_string,
	lang_to_string, type_to_string): Make return type const char*.
	(print_symbol): Apply `const' keyword to a char*.
	(print_file_desc): Cast structure member `crfd' to ulong when
	comparing against one.

	* mips-tfile.c (pfatal_with_name): Apply `const' keyword to char*.
	(fatal, error): Add ATTRIBUTE_PRINTF_1 to prototypes.
	(progname, input_name): Apply `const' keyword to a char*.
	Don't redundantly include sys/stat.h.
	(alloc_info): Apply `const' keyword to a char*.
	(st_to_string, sc_to_string): Likewise.
	(hash_string): Cast variable `hash_string' to a symint_t when
	comparing against one.
	(add_string): Cast PAGE_USIZE to Ptrdiff_t when comparing against one.
	Likewise cast it to long when comparing against one.
	(add_local_symbol): Apply `const' keyword to a char*.
	(add_ext_symbol): Likewise.
	(add_unknown_tag): Likewise.
	(add_procedure): Cast a printf-style field width to an int.
	(add_file): Cast PAGE_USIZE to long when comparing against one.
	(parse_begin): Cast a printf-style field width to an int.
	(parse_bend): Likewise.
	(parse_def): Likewise.
	(parse_end): Likewise.
	(mark_stabs): Mark parameter `start' with ATTRIBUTE_UNUSED.
	(parse_stabs_common): Fix format specifier.
	(parse_input): Change type of variable `i' to Size_t.
	(write_object): Fix arguments to match format specifiers.
	Cast variable `num_write' to long when comparing against one.
	(read_seek): Cast variable `sys_read' to symint_t when comparing
	against one.  Fix arguments to match format specifiers.  Cast
	variable `size' to long when comparing against one.
	(copy_object): Cast result of `sizeof' to int when comparing
	against one.  Fix arguments to match format specifiers.  Cast
	variable `ifd' to long when comparing against a signed value.
	Likewise, likewise.

Mon Jan  4 10:30:33 1999  Kaveh R. Ghazi  <>

	* c-common.c (decl_attributes): Allow applying attribute `unused'

	* (label): Parse attributes after a label, and call
	`decl_attributes' to handle them.

	* gansidecl.h (ATTRIBUTE_UNUSED_LABEL): Define.

	* genrecog.c (OUTPUT_LABEL, write_tree_1, write_tree): When
	generating labels, mark them with ATTRIBUTE_UNUSED_LABEL.

	* invoke.texi: Note that labels can be marked `unused'.

Sun Jan  3 23:32:18 1999  Jeff Law  (

	* version.c: Bump for snapshot.

Sun Jan  3 23:00:42 1999  Jeffrey A Law  (

	* optabs.c (emit_cmp_and_jump_insns): Use CONSTANT_P canonicalizing
	RTL for a compare/jump sequence.

Sun Jan  3 22:58:15 1999  Michael Hayes  <>

	* optabs.c (emit_cmp_insn): Abort if asked to emit non-canonical RTL
	for a target with HAVE_cc0 defined.
	(emit_cmp_and_jump_insns): New function.
	* expr.h (emit_cmp_and_jump_insns): Prototype it.
	* loop.c (check_dbra_loop): Use it to replace calls
	to emit_cmp_insn and emit_jump_insn and to canonicalize
	the comparison if necessary.
	* unroll.c (unroll_loop): Likewise.

Sun Jan  3 21:01:04 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

	* fixincludes (sys/utsname.h): Provide forward declaration of
	struct utsname on Ultrix V4.[35].

	* (div_trap): Use local labels instead of dot-relative

Sun Jan  3 20:40:34 1999  Jeffrey A Law  (

	* (branch, negated branch): Handle (const_int 0) as first
	source operand.
	* pa.c (output_cbranch): Likewise.

Sun Jan  3 03:20:38 1999  David Edelsohn  <>

	* rs6000.c (rs6000_stack_info): Undo spurious part of last

1999-01-01  Manfred Hollstein  <>

	* extend.texi (__builtin_constant_p): Add missing @smallexample.

Fri Jan  1 11:48:20 1999  Jeffrey A Law  (

	* (doubleword shifts): Fix dumb mistakes in previous change.

Wed Dec 30 23:38:55 1998  Jeffrey A Law  (

	* (adddi_dilshr32): Allow all operands to be registers too.
	(adddi_dishl32): Similarly.

	* cse.c (invalidate_skipped_block): Call invalidate_from_clobbers
	for each insn in the skipped block.

	* reload1.c (reload_as_needed): Verify that the insn satisfies its
	constraints after replacing a register address with an autoincrement
	address for reload inheritance purposes.

	* (doubleword shifts): Avoid namespace pollution.

Wed Dec 30 23:00:28 1998  David O'Brien  <>

	* (FreeBSD ELF): Needs special crt files.

Wed Dec 30 22:50:13 1998  Geoffrey Noer  <>

	* i386/xm-cygwin.h: Change DIR_SEPARATOR to forward slash.

1998-12-30  Andreas Schwab  <>

	* loop.c (check_dbra_loop): While reversing the loop, if the
	comparison value has a VOID mode use the mode of the other operand
	to compute the mask.

Wed Dec 30 22:24:00 1998  Michael Meissner  <>

	* ({save,restore}_stack_function): Take 2 operands to
	avoid warnings in compiling explow.c.

	(patch from Ken Raeburn,
	* rs6000.c (rs6000_stack_info): Force 8-byte alignment of
	fpmem_offset.  Compute total size after that, and then
	rs6000_fpmem_offset using both values.

Mon Dec 28 19:26:32 1998  Gerald Pfeifer  <>

	* gcc.texi (Non-bugs): ``Empty'' loops will be optimized away in
	the future; indeed that already happens in some cases.

Tue Dec 29 11:58:53 1998  Richard Henderson  <>

	* sparc.c (input_operand): Recognize (const (constant_p_rtx)).
	(arith_operand): Remove constant_p_rtx handling.
	(const64_operand, const64_high_operand): Likewise.
	(arith11_operand, arith10_operand, arith_double_operand): Likewise.
	(arith11_double_operand, arith10_double_operand, small_int): Likewise.
	(small_int_or_double, uns_small_int, zero_operand): Likewise.
	* sparc.h (PREDICATE_CODES): Likewise.

	* rtl.h (CONSTANT_P): Remove CONSTANT_P_RTX.

Tue Dec 29 11:32:54 1998  Richard Kenner  <>

	* rtl.def (CONSTANT_P_RTX): Clarify commentary.
	* expr.c (expand_builtin, case BUILT_IN_CONSTANT_P): Rework to
	consider constant CONSTRUCTOR constant and to defer some cases
	to cse.
	* cse.c (fold_rtx, case CONST): Add handling for CONSTANT_P_RTX.
	* regclass.c (reg_scan_mark_refs, case CONST): Likewise.

Tue Dec 29 11:30:10 1998  Richard Henderson  <>

	* expr.c (init_expr_once): Kill can_handle_constant_p recognition.
	* cse.c (fold_rtx, case 'x'): Remove standalone CONSTANT_P_RTX code.

	* alpha.c (reg_or_6bit_operand): Remove CONSTANT_P_RTX handling.
	(reg_or_8bit_operand, cint8_operand, add_operand): Likewise.
	(sext_add_operand, and_operand, or_operand): Likewise.
	(reg_or_cint_operand, some_operand, input_operand): Likewise.
	* alpha.h (PREDICATE_CODES): Likewise.

Sat Dec 26 23:26:26 1998  Jeff Law  (

	* version.c: Bump for snapshot.

Sat Dec 26 09:17:04 1998  Jeffrey A Law  (

	* gengenrtl.c (gencode): Always use bzero to clear memory instead
	of dangerous casts and stores.

	* (compare, gnucompare): Add missing else true clauses.

Fri Dec 25 23:00:56 1998  Jeffrey A Law  (

	* (builtin_longjmp): Add missing "DONE".

Thu Dec 24 10:39:57 1998  Stan Cox  <>

	* gcc.c (execute): Enable -pipe with win32.

Wed Dec 23 10:27:44 1998  Nick Clifton  <>

	* config/arm/t-arm-elf: Add multiplib option for leading

	* config/arm/thumb.h (ASM_OUTPUT_LABELREF): Use variable
	'user_label_prefix' rather than macro USER_LABEL_PREFIX.

	(thumb_shiftable_const): Use macro 'BASE_REG_CLASS' rather
	than variable 'reload_address_base_reg_class'.  [Note this
	change is unrelated to the others in this patch].

	* config/arm/unknown-elf.h (USER_LABEL_PREFIX): Default to no
	leading underscore.

Wed Dec 23 09:51:32 1998  Kaveh R. Ghazi  <>

	* alias.c (record_alias_subset): Remove ignored `&'.
	(init_alias_once): Likewise.

	* c-lex.c (UNGETC): Cast first argument of comma expression to void.

	* config/mips/mips.c (mips_asm_file_end): Cast the result of
	fwrite to `int' when comparing against one.

	* config/mips/mips.h (CAN_ELIMINATE): Add parens around && within ||.
	(INITIAL_ELIMINATION_OFFSET): Add braces to avoid ambiguous `else'.

	* cse.c (rehash_using_reg): Change type of variable `i' to
	unsigned int.

	* dwarf2out.c (initial_return_save): Cast -1 to unsigned before
	assigning it to one.

	* except.c (duplicate_eh_handlers): Remove unused variable `tmp'.

	* final.c (final_scan_insn): Likewise for variable `i'.
	(output_asm_insn): Cast a char to unsigned char when used as an
	array index.

	* gcse.c (compute_pre_ppinout): Cast -1 to SBITMAP_ELT_TYPE when
	assigning it to one.

	* loop.c (strength_reduce): Remove unused variables `count' and `temp'.

	* recog.c (preprocess_constraints): Cast a char to unsigned char
	when used as an array index.

	* regmove.c (find_matches): Likewise.

	* reload1.c (calculate_needs): Add default case in switch.
	(eliminate_regs_in_insn): Initialize variable `offset'.
	(set_offsets_for_label): Change type of variable `i' to unsigned.
	(reload_as_needed): Wrap variable `i' in macro check on

	* scan-decls.c (scan_decls): Mark parameters `argc' and `argv'
	with ATTRIBUTE_UNUSED.  Cast variable `start_written' to size_t
	when comparing against one.

	* stor-layout.c (layout_decl): Cast maximum_field_alignment to
	unsigned when comparing against one.  Likewise for
	(layout_record): Cast record_align to int when comparing against a
	signed value.
	(layout_type): Cast TYPE_ALIGN() to int when comparing against a
	signed value.

	* tree.c (get_identifier): Cast variable `len' to unsigned when
	comparing against one.
	(maybe_get_identifier): Likewise

Wed Dec 23 00:10:01 1998  Jeffrey A Law  (

	* toplev.c (rest_of_compilation): Do not set reload_completed.
	* reload1.c (reload): Set reload_completed before calling

Tue Dec 22 23:58:31 1998  Richard Henderson  <>

	* reload1.c (emit_reload_insns): Check `set' not null before use.

Tue Dec 22 15:15:45 1998  Nick Clifton  <>

	* rtlanal.c (multiple_sets): Change type of 'found' from 'rtx' to

Tue Dec 22 13:55:44 1998  Theodore Papadopoulo  <>

	* halfpic.c (half_pic_encode): Delete redundant code.

Tue Dec 22 13:02:22 1998  Michael Meissner  <>

	* toplev.c (main): Delete handling of -dM as a preprocessor

Mon Dec 21 17:39:38 1998  Michael Meissner  <>

	* toplev.c (main): Don't emit any warnings when using -dD, -dM, or
	-dI, which are handled by the preprocessor.

Sun Dec 20 16:13:44 1998  John F. Carr  <>

	* Handle Digital UNIX 5.x the same as 4.x.
	* i386/sol2.h: Define LOCAL_LABEL_PREFIX as ".".

Sun Dec 20 07:39:52 1998  Jeff Law  (

	* version.c: Bump for snapshot.

Sat Dec 19 22:24:22 1998  Jeff Law  (

	* version.c: Bump for snapshot.

Sat Dec 19 21:41:32 1998  Jeff Law  (

	* version.c: Bump for snapshot.

Sat Dec 19 09:52:27 1998  Kaveh R. Ghazi  <>

	* genattr.c (fatal): Qualify a char* with the `const' keyword.

	* genattrtab.c (fatal, attr_printf, attr_string, write_attr_set,
	write_unit_name, write_eligible_delay, expand_units,
	make_length_attrs, write_attr_case, find_attr,
	make_internal_attr): Likewise.
	* gencheck.c (tree_codes): Likewise.
	* gencodes.c (fatal): Likewise.
	* genconfig.c (fatal): Likewise.
	* genemit.c (fatal): Likewise.
	* genextract.c (fatal, walk_rtx, copystr): Likewise.
	* genflags.c (fatal): Likewise.
	* genopinit.c (fatal, optabs, gen_insn): Likewise.
	* genoutput.c (fatal, error, predicates): Likewise.
	* genpeep.c (fatal): Likewise.
	* genrecog.c (fatal, decision, pred_table, add_to_sequence,
	write_tree_1, write_tree, change_state, copystr, indents): Likewise.

Thu Dec 17 18:21:49 1998  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

	* (with-fast-fixincludes): Fix whitespace.
	* configure: Rebuilt.

	* fixincludes (c_asm.h): Wrap Digital UNIX V4.0B DEC C specific
	asm() etc. function declarations in __DECC.

Thu Dec 17 13:57:23 1998  Nick Clifton  <>

	* expr.c (emit_move_insn_1): Only emit a clobber if the target
	is a pseudo register.

Thu Dec 17 13:50:29 1998  Nick Clifton  <>

	* gcse.c: Include expr.h in order to get the prototype for
	get_condition() which is used in delete_null_pointer_checks().

Thu Dec 17 15:58:26 1998  Kaveh R. Ghazi  <>

	* hwint.h: New file to consolidate HOST_WIDE_INT (etc) macros.

Thu Dec 17 12:31:12 1998  Jim Wilson  <>


1998-12-17  Vladimir N. Makarov  <>

	* config/i60/ (extendqihi2): Fix typo (usage ',' instead of

1998-12-17  Michael Tiemann  <>

	* (extend*, zero_extend*): Don't generate rtl that looks
	like (subreg:SI (reg:SI N) 0), because it's wrong, and it hides
	optimizations from the combiner.

Thu Dec 17 08:27:03 1998  J"orn Rennecke  <>

	* loop.c (combine_givs_used_by_other): Don't depend on n_times_set.

Wed Dec 16 17:30:35 1998  Nick Clifton  <>

	* toplev.c (main): Disable optimize_size if a specific
	optimization level is requested.  Always set optimization
	level to 2 if -Os is specified.

Wed Dec 16 16:33:04 1998  Dave Brolley  <>

	* objc/lang-specs.h: Pass -MD, -MMD and -MG to cc1obj if configured with
	* cpplib.c (cpp_start_read): If in_fname is not initialized, try to
	initialize it using fname.

1998-12-16  Zack Weinberg  <>

	* cpplib.c (do_include): Treat #include_next in the
	primary source file as #include plus warning.  Treat
	#include_next in a file included by absolute path as an
	error.  fp == CPP_NULL_BUFFER is a fatal inconsistency.

Wed Dec 16 12:28:54 1998  Kaveh R. Ghazi  <>

	* cccp.c: Don't define MIN/MAX anymore.
	* cpplib.c: Likewise.
	* machmode.h: Likewise.
	* system.h: Provide definitions for MIN/MAX.

Tue Dec 15 23:47:42 1998  Zack Weinberg  <>

	* fix-header.c: Don't define xstrdup here.

Wed Dec 16 05:11:04 1998  J"orn Rennecke  <>

	* loop.c (consec_sets_giv): New argument last_consec_insn.
	(strength_reduce): Provide / use it.

Wed Dec 16 17:24:07 1998  Michael Hayes  <>

	* loop.h (loop_info): New field 'vtop'.
	* loop.c (check_dbra_loop): Use loop_info->vtop rather than
	scanning loop for vtop.
	* unroll.c (subtract_reg_term, find_common_reg_term): New functions.
	(loop_iterations): Use them to determine if loop has a constant
	number of iterations.  Set loop_info->vtop.  Don't subtract
	common reg term from initial_value and final_value if have a
	do-while loop.

Tue Dec 15 13:49:55 1998  Jeffrey A Law  (

	* (addsi3 expander): Use "nonmemory_operand" for operand 2.

	* (bset, bclr): Operand 0 is a read/write operand.

	* (abssf2, negsf2): New expanders.

	* (absdf2, abssf2, negdf2, negsf2): New expanders.

Tue Dec 15 11:55:30 1998  Nick Clifton  <>

	* integrate.c (copy_rtx_and_substitute): If a SUBREG is
	replaced by a CONCAT whose components do not have the same
	mode as the original SUBREG, use a new SUBREG to restore the

	* emit-rtl.c (subreg_realpart_p): Cope with subregs containing
	multiword complex values.

1998-12-15  Zack Weinberg  <>

	* cppalloc.c: Add xstrdup here.
	* cpplib.h: Remove savestring prototype.
	* cpplib.c: Remove savestring function. s/savestring/xstrdup/
	* cppfiles.c: s/savestring/xstrdup/ throughout.

1998-12-15  Zack Weinberg  <>

	* cpplib.c: Make all directive handlers read their own
	  (struct directive): Remove last two arguments from FUNC
	  member prototype. Remove `command_reads_line' member
	  (directive_table): Remove initializations of
	  command_reads_line flag.  Pretty-print.
	  (eval_if_expression, do_define, do_line, do_include,
	  do_undef, do_error, do_pragma, do_ident, do_if, do_xifdef,
	  do_else, do_elif, do_sccs, do_assert, do_unassert,
	  do_warning): Take only two args.

	  (cpp_define): Call do_define with two args and the text to
	  define stuffed into a buffer.
	  (make_assertion): Call do_assert with two args.
	  (handle_directive): Call do_line with two args. Call
	  kt->func with two args.  Remove command_reads_line
	  (do_define, do_undef, do_error, do_warning, do_pragma,
	  do_sccs): Read the rest of the line here.
	  (do_ident): Gobble rest of line, as cccp does.
	  (cpp_undef): New function.
	  (cpp_start_read): Call cpp_undef instead of do_undef.

1998-12-15  Zack Weinberg  <>

	* cpphash.h (union hash_value): Remove `keydef' member, add a
	  `struct hashnode *aschain' member for #assert.

	* cpplib.c (struct tokenlist_list, struct
	  assertion_hashnode): Delete structure definitions.
	  (assertion_install, assertion_lookup, delete_assertion,
	  check_assertion, compare_token_lists, reverse_token_list,
	  read_token_list, free_token_list): Delete functions.
	  (parse_assertion): New function.
	  (cpp_cleanup): Don't destroy the assertion_hashtable.

	  (do_assert): Gut and rewrite.  #assert foo (bar) places
	  entries for `#foo' and `#foo(bar)' in the macro hash table,
	  type T_ASSERT.  The value union's `aschain' member is used
	  to chain all answers for a given predicate together.
	  (do_unassert): Also rewritten.  Take an un-asserted
	  answer off the chain from its predicate and call
	  delete_macro on the hashnode, or walk a predicate chain
	  calling delete_macro on all the entries.
	  (cpp_read_check_assertion): Simply call parse_assertion to
	  get the canonical assertion name, and look that up in the
	  hash table.

	* cpplib.h (ASSERTION_HASHNODE,ASSERTION_HASHSIZE,assertion_hashtab):

	* cpphash.c (install): Use bcopy instead of an explicit loop
	  to copy the macro name.

	* cppexp.c (cpp_lex): Convert the result of
	  cpp_read_check_assertion to a `struct operation' directly;
	  don't go through parse_number.

Tue Dec 15 18:27:39 1998  J"orn Rennecke  <>

	* loop.h (struct induction): Delete times_used member.
	* loop.c (n_times_set): Rename to set_in_loop.  Changed all users.
	(n_times_used): Rename to n_times_set.  Changed all users.
	(scan_loop): Free reg_single_usage before strength reduction.
	(record_giv, combine_givs): Remove handling of times_used member.
	(combine_givs_used_once): Rename to:
	(combine_givs_used_by_other) .  Changed all callers.

Tue Dec 15 01:45:26 1998  Jason Merrill  <>

	* dwarf2out.c (gen_struct_or_union_type_die): Check AGGREGATE_TYPE_P
	instead of TREE_CODE_CLASS == 't'.
	(gen_type_die): Likewise.
	(scope_die_for): Ignore FUNCTION_TYPE "scopes".

Mon Dec 14 16:23:27 1998  Jim Wilson  <>

	* real.c (endian): Disable last change unless
	HOST_BITS_PER_WIDE_INT is greater than 32.

Mon Dec 14 17:13:36 1998  Andrew MacLeod  <>

	* output.h (force_data_section): New prototype.
	* varasm.c (force_data_section): New function to force the
	data section, regardless of what in_section thinks.
	* dwarf2out.c (output_call_frame_info): Call force_data_section
	since varasm may not realize we've changes sections.

Mon Dec 14 14:09:34 1998  Nick Clifton  <>

	* reload1.c (reload): Delete REG_RETVAL and REG_LIBCALL notes
	  after completing reload.

	* rtl.texi: Document that REG_RETVAL and REG_LIBCALL are
	  deleted after reload.

Mon Dec 14 01:39:28 1998  Jeffrey A Law  (

	* rtl.h (multiple_sets): Fix prototype.
	* rtlanal.c (multiple_sets): Fix return type.

Sun Dec 13 12:43:58 1998  Jeff Law  (

	* version.c: Bump for snapshot.

Sun Dec 13 01:05:22 1998  Jeff Law  (

	* version.c: Bump for snapshot.

1998-12-13  Manfred Hollstein  <>

	* protoize.c (fputs): Wrap extern declaration in #ifndef fputs.

Sun Dec 13 00:24:14 1998  J"orn Rennecke  <>

	* rtl.h (recompute_reg_usage): Add second argument.
	* flow.c (recompute_reg_usage): Likewise.
	* toplev.c (rest_of_compilation): Supply second argument to

	* reload1.c (compute_use_by_pseudos): Allow reg_renumber[regno] < 0
	after reload.

Sat Dec 12 23:39:10 1998  Jeffrey A Law  (

	* m68k/t-m68kelf (MULTILIB_OPTIONS): Add mcpu32.
	(MULTILIB_MATCHES): -m68332 now uses mcpu32 libraries, not m68000.
	(MULTILIB_EXCEPTIONS): Don't build 68881 libraries for m68000,
	mcpu32 or m5200.

	* i386/next.h (ASM_OUTPUT_ALIGN): Use 0x90 for fill character.

	* rtlanal.c (multiple_sets): New function.
	* rtl.h (multiple_sets): Declare it.
	* local-alloc.c (wipe_dead_reg): Use it.
	* global.c (global_conflicts): Likewise.

Sat Dec 12 22:13:02 1998  Mark Mitchell  <>

	* global.c (record_conflicts): Don't use an array of shorts to
	store an array of ints.
	(global_conflicts): Likewise.

Sat Dec 12 16:49:24 1998  Richard Henderson  <>

	* alpha.c (alpha_expand_block_move): mode_for_size expects
	bits, not bytes.  Infer extra alignment from addressof.

1998-12-11  Michael Meissner  <>

	* rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Put small data in the
	.sbss section, not .sdata.

1998-12-11  Manfred Hollstein  <>

	* cccp.c: Do not #include <sys/stat.h> here; this is already done
	by "system.h".
	* collect2.c: Likewise.
	* cpplib.h: Likewise.
	* gcc.c: Likewise.
	* gcov.c: Likewise.
	* getpwd.c: Likewise.
	* protoize.c: Likewise.
	* toplev.c: Likewise.

	* cpplib.h (HOST_WIDE_INT): Get definition from "machmode.h"
	and don't try to define it here.
	* (cppmain.o): Depend on machmode.h.
	(cpplib.o): Likewise.
	(cpperror.o): Likewise.
	(cppexp.o): Likewise.
	(cppfiles.o): Likewise.
	(cpphash.o): Likewise.
	(cppalloc.o): Likewise.
	(fix-header.o): Likewise.
	(scan-decls.o): Likewise.

Fri Dec 11 11:02:49 1998  Stan Cox  <>

	* sh.c (print_operand): Lookup interrupt_handler attribute instead
	of relying on static variable.
	* (calc_live_regs): Likewise.
	* (sh_pragma_insert_attributes): Create interrupt_handler
	attribute if a pragma was specified.
	* (sh_valid_machine_decl_attribute): Don't set static flag.

Fri Dec 11 12:56:07 1998  J"orn Rennecke  <>

	* reload1.c (reload_combine): Use BASIC_BLOCK_LIVE_AT_START
	to determine if a register is live at a jump destination.
	Everything is dead at a BARRIER.

Thu Dec 10 16:02:06 1998  Jim Wilson  <>

	* cse.c (simplify_unary_operation): Sign-extend constants when
	they have the most significant bit set for the target.
	* real.c (endian): Sign-extend 32 bit output values on a 64 bit
	* m32r/m32r.c (m32r_expand_prologue): Store pretend_size in
	HOST_WIDE_INT temporary before negating it.
	* m32r/ (movsi_insn+1): Use ~0xffff instead of 0xffff0000.

Thu Dec 10 15:05:59 1998  Dave Brolley  <>

	* objc/objc-act.c (lang_init_options): Enclose cpplib related code in

Thu Dec 10 13:39:46 1998  Kaveh R. Ghazi  <>

	* collect2.h: New header file for prototypes.

	* (collect2.o, tlink.o): Depend on collect2.h.

	* collect2.c: Include collect2.h.
	* tlink.c: Likewise.

Wed Dec  9 23:55:11 1998  Jeffrey A Law  (

	* flow.c: Update some comments.

Wed Dec  9 15:29:26 1998  Dave Brolley  <>

	* objc/objc-act.c (cpp_initialized): Removed.
	(lang_init_options): Initialize cpplib.
	(lang_decode_option): Move initialization of cpplib to
	* c-lang.c (parse_options,parse_in): Added.
	(lang_init_options): Initialized cpplib here.
	* c-decl.c (parse_options,cpp_initialized): Removed.
	(c_decode_option): Move initialization of cpplib to

Wed Dec  9 19:36:57 1998  J"orn Rennecke  <>

	* reload1.c (reload_combine, reload_combine_note_store):
	Make STORE_RUID always valid.
	(reload_combine): Check if BASE is clobbered too early.

Wed Dec  9 09:53:58 1998  Nick Clifton  <>

	* reload.c (find_reloads): Display the insn that cannot be

Wed Dec  9 12:15:26 1998  Dave Brolley  <>

	* cccp.c (create_definition): Fix end of buffer logic.

Wed Dec  9 10:15:45 1998  Kaveh R. Ghazi  <>

	* except.c (duplicate_eh_handlers, rethrow_symbol_map): Function
	pointer parameters changed to use the PARAMS() macro.

Wed Dec  9 09:12:40 1998  Andrew MacLeod  <>

	* except.h (struct handler_info): Add handler_number field.
	* except.c (gen_exception_label): EH labels no longer need to be
	on the permanent obstack.
	(get_new_handler): Set the label number field.
	(output_exception_table_entry): Regenerate handler label reference
	from the label number field.
	(init_eh): Remove a blank line.
	* integrate.c (get_label_from_map): Labels no longer need to be
	on the permanent obstack.

Tue Dec  8 22:04:33 1998  Jim Wilson  <>

	* i960/i960.h (CONST_COSTS, case CONST_INT): Accept power2_operand
	only when OUTER_CODE is SET.

Tue Dec  8 22:47:15 1998  J"orn Rennecke  <>

	* loop.c (strength_reduce): If scan_start points to the loop exit
	test, be wary of subversive use of gotos inside expression statements.
	Don't set maybe_multiple for a backward jump that does not
	include the label under consideration into its range.
	* unroll.c (biv_total_increment): Make use of maybe_multiple field.

Tue Dec  8 22:33:18 1998  J"orn Rennecke  <>

	* explow.c (plus_constant_wide): Don't immediately return with
	result of recursive call.

Tue Dec  8 15:32:56 1998  Andrew MacLeod  <>

	* eh-common.h (struct eh_context): Add table_index for rethrows.

	* rtl.h (enum reg_note): Add REG_EH_REGION and REG_EH_RETHROW reg notes.
	(SYMBOL_REF_NEED_ADJUST): New flag indicating symbol needs to be
	processed when inlined or unrolled (ie duplicated in some way).

	* rtl.c (reg_note_name): Add strings for new reg_note enums.

	* expr.h (rethrow_libfunc): New library decl.

	* optabs.c (rethrow_libfunc): Initialize.

	* except.h (struct eh_entry): Add new field 'rethrow_label'.
	(new_eh_region_entry): No longer exported from except.c.
	(duplicate_handlers): Renamed to duplicate_eh_handlers and
	different prototype.
	(rethrow_symbol_map, rethrow_used): New exported functions.
	(eh_region_from_symbol): New exported function.

	* except.c (create_rethrow_ref): New function to create a single
	SYMBOL_REF for a rethrow region.
	(push_eh_entry): Initialize a rethrow ref.
	(func_eh_entry): Add a rethrow_label field.
	(new_eh_region_entry): Make static, and initialize the rethrow entry.
	(duplicate_eh_handlers): Create a new region, and remap labels/symbols.
	(eh_region_from_symbol): Find an EH region based on its rethrow symbol.
	(rethrow_symbol_map): Given a label map, maps a rethrow symbol for
	a region into an appropriate new symbol.
	(rethrow_used): Indicate whether a rethrow symbol has been referenced.
	(expand_eh_region_end): Don't issue jump around code for new-exceptions.
	(end_catch_handler): Emit a barrier for new-exceptions since
	control can never drop through the end of a catch block.
	(expand_end_all_catch): new-exceptions never fall through a catch
	(expand_rethrow): Use __rethrow routine for new exceptions.
	(output_exception_table_entry): Generate rethrow labels, if needed.
	(output_exception_table): Generate start and end rethrow labels.
	(init_eh): Create rethrow symbols for beginning and end of table.
	(scan_region): Don't eliminate EH regions which are the targets of

	* flow.c (make_edges): Add different edges for rethrow calls,
	identified by having the REG_EH_RETHROW reg label.
	(delete_unreachable_blocks): Don't delete regions markers which are
	the target of a rethrow.

	* integrate.c (save_for_inline_eh_labelmap): New callback routine to
	allow save_for_inline_copying to call duplicate_eh_handlers.
	(save_for_inline_copying): Call duplicate_eh_handlers instead of
	exposing internal details of exception regions.
	(copy_for_inline): Check if SYMBOL_REFs need adjustment.
	(expand_inline_function_eh_labelmap): New callback routine to
	allow expand_inline_function to call duplicate_eh_handlers.
	(expand_inline_function): Call duplicate_eh_handlers instead of
	exposing internal details of exception regions.
	(copy_rtx_and_substitute): Adjust SYMBOL_REFS if SYMBOL_REF_NEED_ADJUST
	flag is set.

	* libgcc2.c (find_exception_handler): Generalize to enable it to
	pick up processing where it left off last time for a rethrow.
	(__unwinding_cleanup): New function. debug hook which is called before
	unwinding when __throw finds there is nothing but cleanups left.
	(throw_helper): Common parts of __throw extracted out for reuse.
	(__throw): Common parts moved to throw_helper.
	(__rethrow): New function for performing rethrows.

Tue Dec  8 13:11:04 1998  Jeffrey A Law  (

	* reload1.c (current_function_decl): Tweak declaration.

Tue Dec  8 10:23:52 1998  Richard Henderson  <>

	* c-decl.c (flag_isoc9x): Default off.
	(c_decode_option): Kill -std=gnu, add -std=gnu89 and -std=gnu9x.
	* cccp.c (print_help, main): Likewise.
	* gcc.c (default_compilers): Update for -std=gnu*.

Tue Dec  8 01:14:46 1998  Jeffrey A Law  (

	* (DEMANGLE_H): Change location to shared demangle.h.
	* demangle.h: Deleted.

	* reload1.c (current_function_decl): Declare.

Tue Dec  8 11:58:51 1998  Kaveh R. Ghazi  <>

	* cpplib.c (convert_string): Use `0x00ff', not `0x00ffU'.

Tue Dec  8 09:28:36 1998  Kaveh R. Ghazi  <>

	* dbxout.c: If USG is defined use gstab.h, even if HAVE_STAB_H is set.

1998-12-08  Ulrich Drepper  <>

	* Test for availability of putc_unlocked, fputc_unlocked,
	and fputs_unlocked.
	* configure: Rebuilt.
	* system.h: If the *_unlocked functions are available use them
	instead of the locked counterparts by defining macros.
	* Regenerated.

Tue Dec  8 00:34:05 1998  Mike Stump  <>

	* i386/bsd.h (ASM_FILE_START): Don't use dump_base_name, it is
	wrong and should only be used for dump related things, not
	debugging information, instead main_input_filename should be used.
	Also, reuse output_file_directive if possible.
	* i386/aix386ng.h (ASM_FILE_START): Likewise.
	* i386/isc.h (ASM_FILE_START): Likewise.
	* i386/win-nt.h (ASM_FILE_START): Likewise.
	* i386/sun386.h (ASM_FILE_START): Likewise.

Mon Dec  7 23:56:28 1998  Robert Lipe  <>

	* (mips*-*-linux*): Handle big and little endian
	* configure: Rebuilt.

Mon Dec  7 23:14:51 1998  Mike Stump  <>

	* emit-rtl.c: Fix typo.

Mon Dec  7 23:07:38 1998  Nathan Sidwell  <>

	* reload1.c (eliminate_regs): Don't do anything, if we're not
	generating code.

Mon Dec  7 15:27:09 1998  DJ Delorie  <>

	Add comment.
	* mips/mips.c (mips_select_section): Add comment.

Mon Dec  7 17:55:06 1998  Mike Stump  <>

	* cccp.c (ignore_escape_flag): Add support for \ as `natural'
	characters in file names in #line to be consistent with #include
	handling.  We support escape processing in the # 1 "..." version of
	the command.  See also support in cp/lex.c.
	(handle_directive): Likewise.
	(do_line): Likewise.

1998-12-07  Zack Weinberg  <>

	* cpplib.c (initialize_char_syntax): Use ISALPHA and ISALNUM
	  so it'll work on non-ASCII platforms.  Always consider $ an
	  identifier character.  Take no arguments.
	  (cpp_reader_init): Call initialize_char_syntax with no
	  (cpp_start_read): Don't call initialize_char_syntax again.
	  Clear is_idchar['$'] and is_idstart['$'] if not

	* cpplib.h (struct cpp_reader): Replace void *data element by
	  cpp_options *opts.  Rearrange elements to make gdb printout
	  less annoying (put buffer stack at end).
	  (CPP_OPTIONS): Get rid of now-unnecessary cast.

	* cppmain.c: s/data/opts/ when initializing cpp_reader
	* c-decl.c: Likewise.
	* objc/objc-act.c: Likewise.
	* fix-header.c: Likewise.

1998-12-07  Zack Weinberg  <>

	* cpplib.h (struct cpp_buffer): Replace dir and dlen members
	with a struct file_name_list pointer.
	(struct cpp_reader): Add pointer to chain of `actual
	directory' include searchpath entries.
	(struct file_name_list): Add *alloc pointer for the sake of
	the actual-directory chain.

	Move definition of HOST_WIDE_INT here.
	(cpp_parse_escape): Change prototype to match changes in

	* cppfiles.c (actual_directory): New function.
	(finclude): Use it to initialize the buffer's actual_dir
	(find_include_file): We don't need to fix up max_include_len

	* cpplib.c (do_include): Don't allocate a file_name_list on
	the fly for current directory "" includes, use the one that's
	been preallocated in pfile->buffer->actual_dir.  Hoist out
	duplicate code from the search_start selection logic.
	(cpp_reader_init): Initialize pfile->actual_dirs.

	Remove definition of HOST_WIDE_INT.  Change calls
	to cpp_parse_escape to match changes in cppexp.c (note
	hardcoded MASK, which is safe since this is the source
	character set).

	* cppexp.c: Bring over changes to cpp_parse_escape from cccp.c
	to handle wide character constants in #if directives.  The
	function now returns a HOST_WIDE_INT, and takes a third
	argument which is a binary mask for all legal values (0x00ff
	for 8-bit `char', 0xffff for 16-bit `wchar_t', etc.)  Define
	cpp_parse_escape to match.  [Fixes c-torture/execute/widechar-1.c]

Mon Dec  7 15:38:25 1998  Dave Brolley  <>

	* gcc.c (default_compilers): Fix typo in USE_CPPLIB spec for cc1.

Mon Dec  7 15:38:25 1998  Kaveh R. Ghazi  <>

	* c-aux-info.c (concat): Wrap function definition in !USE_CPPLIB.
	* cppalloc.c: Move function `xcalloc' from cpplib.c to here.
	* cpplib.c: Move function `xcalloc' from here to cppalloc.c.

Mon Dec  7 11:30:49 1998  Nick Clifton  <>

	* final.c (output_asm_name): Use tabs to separate comments from
	assembly text.

	Include instruction lengths (if defined) in output.

Mon Dec  7 10:53:38 1998  Michael Hayes  <>

	* loop.c (check_dbra_loop): Fix initial_value and initial_equiv_value
	in the loop_info structure.

Mon Dec  7 11:04:40 1998  Catherine Moore  <>

	* (arm*-*-ecos-elf): New target.
	* configure: Regenerated.
	* config/arm/elf.h (ASM_WEAKEN_LABEL): Define.
	* config/arm/ecos-elf.h: New file.
	* config/arm/unknown-elf.h (TARGET_VERSION): Check
	for redefinition.

Mon Dec  7 16:15:51 1998  J"orn Rennecke  <>

	* sh.c (output_far_jump): Emit braf only for TARGET_SH2.

Sun Dec  6 04:19:45 1998  Jeff Law  (

	* version.c: Bump for snapshot.

Sun Dec  6 05:16:16 1998  Michael Hayes  <>

	* loop.c (check_dbra_loop): New argument loop_info.  Update fields
	as needed.

Sun Dec  6 03:40:13 1998  Jeff Law  (

	* version.c: Bump for snapshot.

Sun Dec  6 07:49:29 1998  Alexandre Oliva  <>

	* gcc.texi (Bug Reporting): 40Kb is a soft limit, larger
	compressed reports are ok and preferred over URLs.

Sun Dec  6 07:45:33 1998  Alexandre Oliva  <>

	* invoke.texi (Warning Options): Soften the tone of -pedantic.

Sun Dec  6 00:20:44 1998  H.J. Lu  (

	* print-rtl.c (print_rtx): Add prototype.

	* unroll.c (iteration_info): Make it static.

Sun Dec  6 01:19:46 1998  Richard Henderson  <>

	* alias.c (memrefs_conflict_p): A second ANDed address
	disables the aligned address optimization.

Sat Dec  5 18:48:25 1998  Richard Henderson  <>

	* alpha.c (alpha_emit_set_const_1): Fix parenthesis error
	in -c << n case.

Sat Dec  5 15:14:52 1998  Jason Merrill  <>

	* i960.h (BOOL_TYPE_SIZE): Define.

Sun Dec  6 00:28:16 1998  Michael Hayes  <>

	* config/c4x/c4x.c (valid_parallel_load_store): Flog functionality
	from old valid_parallel_operands_4.
	(valid_parallel_operands_4): Check that operands for 4 operand
	parallel insns are valid, excluding load/store insns.
	* config/c4x/c4x.h (valid_parallel_load_store): Add prototype.
	* config/c4x/ (*movqf_parallel, *movqi_parallel): Use
	valid_parallel_load_store instead of valid_parallel_operands_4.
	(*absqf2_movqf_clobber, *floatqiqf2_movqf_clobber,
	*negqf2_movqf_clobber, *absqi2_movqi_clobber,
	*fixqfqi2_movqi_clobber, *negqi2_movqi_clobber,
	*notqi_movqi_clobber): Use valid_parallel_operands_4.
	(*subqf3_movqf_clobber, *ashlqi3_movqi_clobber,
	*ashrqi3_movqi_clobber, *lshrqi3_movqi_clobber,
	*subqi3_movqi_clobber): Use valid_parallel_operands_5.

Sat Dec  5 23:52:01 1998  Michael Hayes  <>

	* config/c4x/c4x.c (iteration_info): Delete extern.

Fri Dec  4 20:15:57 1998  Bernd Schmidt  <>

	* tm.texi (SMALL_REGISTER_CLASSES): Make description match reality.

	* final.c (cleanup_subreg_operands): Delete some unused code.

	* recog.h (MAX_RECOG_ALTERNATIVES): New macro.
	(struct insn_alternative): New structure definition.
	(recog_op_alt): Declare variable.
	(preprocess_constraints): Declare function.
	* recog.c (recog_op_alt): New variable.
	(extract_insn): Verify number of alternatives is in range.
	(preprocess_constraints): New function.
	* reg-stack.c: Include recog.h.
	(constrain_asm_operands): Delete.
	(get_asm_operand_lengths): Delete.
	(get_asm_operand_n_inputs): New function.
	(record_asm_reg_life): Delete OPERANDS, CONSTRAINTS, N_INPUTS and
	N_OUTPUTS args.  All callers changed.
	Compute number of inputs and outputs here by calling
	Instead of constrain_asm_operands, call extract_insn,
	constrain_operands and preprocess_constraints.  Use information
	computed by these functions throughout.
	(record_reg_life): Delete code that is unused due to changes in
	(subst_asm_stack_regs): Delete OPERANDS, OPERAND_LOC, CONSTRAINTS,
	N_INPUTS and N_OUTPUTS args.  All callers changed.
	Similar changes as in record_asm_reg_life.
	(subst_stack_regs): Move n_operands declaration into the if statement
	where it's used.
	Delete code that is unused due to changes in subst_asm_stack_regs.
	* stmt.c (expand_asm_operands): Verify number of alternatives is in
	* (reg-stack.o): Depend on recog.h.

Fri Dec  4 02:23:24 1998  Jeffrey A Law  (

	* except.c (set_exception_version_code): Argument is an "int".

Fri Dec  4 01:29:28 1998  Jeffrey A Law  (

	* (hppa2*-*-*): Handle like hppa1.1-*-* for now.
	* configure: Rebuilt.

Fri Dec  4 01:29:28 1998  Robert Lipe  <>

	* (mipsel-*-linux*): New target.
	* mips/linux.h: New file, based on other Linux targets.

Thu Dec  3 11:19:50 1998  Mike Stump  <>

	* gthr-vxworks.h (__ehdtor): Fix memory leak.  The delete hook
	runs in the context of the deleter, not the deletee, so we must
	use taskVarGet to find the correct memory to free.
	(__gthread_key_create): Initialize the task
	variable subsystem so that the task variable is still active when
	the delete hook is run.

1998-12-03  Joseph S. Myers  <>

	* pdp11.h: Use optimize_size for space optimizations.
	* pdp11.c: Likewise.
	* Likewise.

	* pdp11.h (TARGET_40_PLUS): Fix typo.

Thu Dec  3 11:48:32 1998  Jeffrey A Law  (

	* local-alloc.c (block_alloc): Slightly retune heuristic to widen
	qty lifetimes.

Thu Dec  3 22:30:18 1998  Michael Hayes  <>

	* alias.c (addr_side_effect_eval): New function.
	(memrefs_conflict_p): Use it.
	* rtl.h (addr_side_effect_eval): Prototype it.

1998-12-02  Joseph S. Myers  <>

	* (extendsfdf2): Fix mode mismatch in SET.

Wed Dec  2 11:23:07 1998  Jim Wilson  <>

	* reload.c (find_reloads): When force const to memory, put result
	in substed_operand not *recog_operand_loc.

1998-12-02  Ulrich Drepper  <>

	* c-lex.c: Fix indentation from last patch.
	Remove trailing whitespace.
	* real.c: Likewise.

Wed Dec  2 10:11:12 1998  Jeffrey A Law  (

	* flow.c (delete_block): Call set_last_insn after we have reset
	NEXT_INSN (kept_tail).

Wed Dec  2 00:47:31 1998  Jeffrey A Law  (

	* (trap_if): Use "$0" for the value zero.

Tue Dec  1 20:49:49 1998  Ulrich Drepper  <>
			  Stephen L Moshier  <>
			  Richard Henderson  <>

	* c-common.c (declare_function_name): Declare predefined variable

	* c-decl.c (flag_isoc9x): Set to 1 by default.
	(c_decode_option): Handle -std= option.  Remove -flang-isoc9x.
	(grokdeclarator): Always emit warning about implicit int for ISO C 9x.

	* Allow constructors in ISO C 9x.
	Rewrite designator list handling.
	Allow [*] parameters.
	Don't warn about comma at end of enum definition for ISO C 9x.

	* cccp.c (c9x): New variable.
	(rest_extension): New variable.
	(print_help): Document new -std= option.
	(main): Recognize -std= option.  Set c9x appropriately.
	(create_definition): Recognize ISO C 9x vararg macros.

	* gcc.c (default_compilers): Adjust specs for -std options.
	(option_map): Add --std.
	(display_help): Document -std.

	* toplev.c (documented_lang_options): Add -std and remove

	* c-lex.c (yylex): Recognize hex FP constants and call REAL_VALUE_ATOF
	or REAL_VALUE_HTOF based on base of the constants.
	* fold-const.c (real_hex_to_f): New function.  Replacement function
	for hex FP conversion if REAL_ARITHMETIC is not defined.
	* real.c (asctoeg): Add handling of hex FP constants.
	* real.h: Define REAL_VALUE_HTOF if necessary using ereal_atof or

Tue Dec  1 16:45:49 1998  Stan Cox  <>

	* (divmodsi4*, divmoddi4*, udivmodsi4*, udivmoddi4): Add
	-mcheck-range-division/-mcheck-zero-division checking.  Avoid as macro
	expansion.  Use hi/lo as destination register.
	(div_trap): New.
	(divsi3*, divdi3*, modsi3*, moddi3*, udivsi3*, udivdi3*, umodsi3*,
	umoddi3*): Add -mcheck-range-division/-mcheck-zero-division checking.
	Avoid as macro expansion.  Use hi/lo as destination register.

	* mips.h (MASK_CHECK_RANGE_DIV): New.
	return address for leaf functions out of r31 to support

Tue Dec  1 15:03:30 1998  Herman A.J. ten Brugge  <>

	* jump.c (jump_optimize): Call regs_set_between_p with PREV_INSN(x),
	NEXT_INSN(x) to check insn x.

Tue Dec  1 15:20:44 1998  Jeffrey A Law  (

	* flow.c (delete_block): Call set_last_insn if we end up deleting the
	last insn in the rtl chain.

	* reload1.c (reload): Do not set reload_completed or split insns
	here.  Instead...
	* toplev.c (rest_of_compilation): Set reload_completed after
	reload returns.  Split insns after reload_cse has run.

Tue Dec  1 11:55:04 1998  Richard Henderson  <>

	* final.c (final_scan_insn): Abort if block_depth falls below 0.

Tue Dec  1 10:23:16 1998  Nick Clifton  <>

	* config/arm/t-arm-elf (LIBGCC2_CFLAGS): Define inhibit_libc.

Tue Dec  1 10:22:18 1998  Nick Clifton  <>

	* config/arm/unknown-elf.h (ASM_OUTPUT_DWARF2_ADDR_CONST): Remove
	use of user-label_prefix.

Tue Dec  1 17:58:26 1998  J"orn Rennecke  <>

	* reload1.c (emit_reload_insns): Clear spill_reg_store
	when doing a new non-inherited reload from the same pseudo.

	* local-alloc.c (function_invariant_p): New function.
	(update_equiv_regs): Use function_invariant_p instead of CONSTANT_P
	to decide if an equivalence should be recorded.
	* reload1.c (num_eliminable_invariants): New static variable.
	(reload): Set it.  Use function_invariant_p instead of CONSTANT_P
	to decide if an equivalence should be recorded.
	Unshare PLUS.
	(calculate_needs_all_insns): Skip insns that only set an equivalence.
	Take num_eliminable_invariants into account when deciding
	if register elimination should be done.
	(reload_as_needed): Take num_eliminable_invariants into account
	when deciding if register elimination should be done.
	(eliminate_regs): Handle non-constant reg_equiv_constant.
	* rtl.h (function_invariant_p): Declare.

Mon Nov 30 02:00:08 1998  Jeff Law  (

	* version.c: Bump for snapshot.

Mon Nov 30 00:42:59 1998  Jeff Law  (

	* version.c: Bump for snapshot.

Sun Nov 29 22:59:40 1998  Jason Merrill  <>

	* except.c (add_new_handler): Complain about additional handlers
	after one that catches everything.

Sat Nov 28 10:56:32 1998  Jeffrey A Law  (

	* (alpha*-*-netbsd): Fix typo.
	* configure: Rebuilt.

Fri Nov 27 12:28:56 1998  Kaveh R. Ghazi  <>

	* system.h: Include libiberty.h.

	* c-aux-info.c: Remove prototypes for concat/concat3.  Change
	function `concat' from fixed parameters to variable parameters,
	as is done in libiberty.  All callers of concat/concat3
	changed to use the new `concat' with variable args.

	* cccp.c: Remove things made redundant by libiberty.h and/or
	conform to libiberty standards.
	* cexp.y: Likewise.
	* collect2.c: Likewise.
	* config/1750a/1750a.h: Likewise.
	* cppalloc.c: Likewise.
	* cppexp.c: Likewise.
	* cppfiles.c: Likewise.
	* cpphash.c: Likewise.
	* cpplib.c: Likewise.
	* dyn-string.c: Likewise.
	* fix-header.c: Likewise.
	* gcc.c: Likewise.
	* gcov.c: Likewise.
	* genattr.c: Likewise.
	* genattrtab.c: Likewise.
	* gencheck.c: Likewise.
	* gencodes.c: Likewise.
	* genconfig.c: Likewise.
	* genemit.c: Likewise.
	* genextract.c: Likewise.
	* genflags.c: Likewise.
	* gengenrtl.c: Likewise.
	* genopinit.c: Likewise.
	* genoutput.c: Likewise.
	* genpeep.c: Likewise.
	* genrecog.c: Likewise.
	* getpwd.c: Likewise.
	* halfpic.c: Likewise.
	* hash.c: Likewise.
	* mips-tdump.c: Likewise.  Wrap malloc/realloc/calloc prototypes
	in NEED_DECLARATION_* macros.

	* mips-tfile.c: Remove things made redundant by libiberty.h and/or
	conform to libiberty standards.
	(fatal): Fix const-ification of variable `format' in

	* prefix.c: Remove things made redundant by libiberty.h and/or
	conform to libiberty standards.

	* print-rtl.c: Rename variable `spaces' to `xspaces' to avoid
	conflicting with function `spaces' from libiberty.

	* profile.c: Remove things made redundant by libiberty.h and/or
	conform to libiberty standards.
	* protoize.c: Likewise.
	* rtl.h: Likewise.
	* scan.h: Likewise.
	* tlink.c: Likewise.
	* toplev.c: Likewise.
	* toplev.h: Likewise.
	* tree.h: Likewise.

Thu Nov 26 08:38:06 1998  Kaveh R. Ghazi  <>

	* cppfiles.c (simplify_pathname): Un-ANSI-fy function definition.

Thu Nov 26 23:45:37 1998  Michael Hayes  <>

	* README.C4X: Updated URLs.
	* config/c4x/c4x.c (c4x_address_conflict): Fix typo.
	(valid_parallel_operands_5): Remove unused variable.

Thu Nov 26 23:40:03 1998  Michael Hayes  <>

	* config/c4x/c4x.h (TARGET_DEFAULT): Fix typo.

1998-11-26  Manfred Hollstein  <>

	* (CONFIG_LANGUAGES): New macro taking all languages
	which can be configured.
	(LANGUAGES): Use $(CONFIG_LANGUAGES) instead of @all_languages@
	(Makefile): Pass actual LANGUAGES through the environment when
	(cstamp-h): Likewise.
	(config.status): Likewise.

	* (enable_languages): Add new configuration parameter
	(${srcdir}/*/ Change handling to configure only
	those directories, that the user might have enabled; default to
	"all" existing languages.
	* configure: Regenerate.

Thu Nov 26 00:19:19 1998  Richard Henderson  <>

	* rtlanal.c (regs_set_between_p): New function.
	* rtl.h (regs_set_between_p): Prototype it.
	* jump.c (jump_optimize): Use it instead of modified_between_p
	in the Sep 2 change.

Wed Nov 25 23:32:02 1998  Ian Dall  <>
			  Matthias Pfaller  <>

	* invoke.texi (Option Summary, NS32K Options): Add description
	of NS32K specific options.

	* (tstdf, cmpdf, movdf, truncdfsf2, fixdfqi2, fixdfhi2,
	fixdfsi2, fixunsdfqi2, fixunsdfhi2, fixunsdfsi2, fix_truncdfqi2,
	fix_truncdfhi2, fix_truncdfsi2, adddf3, subdf3, muldf3, divdf3,
	negdf2, absdf2): Use l instead of f since the double class and
	float class are no longer the same.
	(cmpsi, truncsiqi2, truncsihi2, addsi3, subsi3, mulsi3, umulsidi3,
	divsi3, modsi3, andsi3, iorsi3, xorsi3, negsi2, one_cmplsi2,
	ashlsi3, ashlhi3, ashlqi3, rotlsi3, rotlhi3, rotlqi3, abssi2,...):
	Use "g" instead of "rmn" since LEGITIMATE_PIC_OPERAND has been
	(cmpsi, cmphi, cmpqi): Use general_operand instead of
	non_immediate_operand. Removes erroneous assumption that can't
	compare constants.
	(movsf, movsi, movhi, movqi,...): New register numbering scheme.
	(movsi, addsi3): Use NS32K_DISPLACEMENT_P instead of hard coded
	(movstrsi, movstrsi1, movstrsi2): Completely new block move
	(...): Patterns to exploit multiply-add instructions.
	(udivmodsi4, udivmodsi_internal4, udivmodhi4,
	udivmoddihi4_internal, udivmodqi4, udivmoddiqi4_internal): New
	patterns to exploit extended divide insns.
	(udivsi3, udivhi3, udivqi3): Remove since superseded by udivmodsi
	etc patterns.

	* ns32k.h (FUNCTION_VALUE, LIBCALL_VALUE): Use f0 for complex
	float return values as well as simple scalar floats.
	Support new flag to denote 32381 fpu.
	(OVERRIDE_OPTIONS): 32381 is a strict superset of 32081.
	(CONDITIONAL_REGISTER_USAGE): Disable extra 32381 registers if not
	compiling for 32381.
	REG_OK_FOR_BASE_P, MEM_REG): New register scheme to include 32381
	fpu registers and special register classes for new 32381
	instructions dotf and polyf.
	(MODES_TIEABLE_P): Allow all integer modes, notably DI and SI, to
	be tieable.
	INCOMING_FRAME_SP_OFFSET): New macros in case DWARF support is
	(SMALL_REGISTER_CLASSES): Make dependent on -mmult-add option.
	(MOVE_RATIO): Set to zero because of smart movstrsi implementation.
	(REGISTER_MOVE_COST): Move code to register_move_cost function for
	ease of coding and debugging.
	(CLASS_LIKELY_SPILLED_P): Under new register scheme class
	LONG_FLOAT_REGO is likely spilled but not caught by default
	instead of hard coded numbers in range check.
	(ASM_OUTPUT_LABELREF_AS_INT): Delete since unused.
	(...): Add prototypes for functions in ns32k.c but disable because
	of problems when ns32k.h is included in machine independent files.

	* ns32k.c: Include "system.h", "tree.h", "expr.h", "flags.h".
	(ns32k_reg_class_contents, regcass_map, ns32k_out_reg_names,
	hard_regno_mode_ok, secondary_reload_class,
	print_operand, print_operand_address): New register scheme to
	include 32381 fpu registers and special register classes for new
	32381 instructions dotf and polyf.
	(gen_indexed_expr): Make static to keep namespace clean.
	(check_reg): Remove since never called.
	(move_tail, expand_block_move): Helper functions for "movstrsi"
	block move insn.
	(register_move_cost): Helper function for REGISTER_MOVE_COST macro.
	Increase cost of moves which go via memory.
	* netbsd.h (TARGET_DEFAULT): Set (new) 32381 fpu flag.
	(CPP_PREDEFINES): No longer predefine "unix".

	* (movsi, movsi, adddi3, subdi3, subsi3, subhi3, subqi3,...):
	Remove erroneous %$. print_operand() can work out from the rtx is
	an immediate prefix is required.

	SET_DEFAULT_TYPE_ATTRIBUTES): Support for -mrtd calling
	pic operands.

	* ns32k.c (symbolic_reference_mentioned_p, print_operand):
	Correct handling of pic operands.
	(ns32k_valid_decl_attribute_p, ns32k_valid_type_attribute_p,
	ns32k_comp_type_attributes, ns32k_return_pops_args): Support for
	-mrtd calling convention.

Wed Nov 25 23:42:20 1998  Tom Tromey  <>

	* gcc.c (option_map): Recognize --output-class-directory.

Thu Nov 26 18:26:21 1998  Michael Hayes  <>

	* loop.h (precondition_loop_p): Added new mode argument.
	* unroll.c (precondition_loop_p): Likewise.
	(approx_final_value): Function deleted and subsumed
	into loop_iterations.
	(loop_find_equiv_value): New function.
	(loop_iterations): Use loop_find_equiv_value to find increments
	too large to be immediate constants.  Also use it to find terms
	common to initial and final iteration values that can be removed.

Thu Nov 26 18:05:04 1998  Michael Hayes  <>

	* loop.h (struct loop_info): Define new structure.
	(precondition_loop_p): Added prototype.
	(unroll_loop): Added new argument loop_info to prototype.
	(final_biv_value, final_giv_value): Added new argument n_iterations
	to prototype.
	* loop.c (strength_reduce): Declare new structure loop_iteration_info
	and new pointer loop_info.
	(loop_n_iterations): Replace global variable by element in
	loop_info structure.
	(check_final_value): New argument n_iterations.
	(insert_bct): New argument loop_info.
	(loop_unroll_factor): Replace global array by element in
	loop_info structure.
	(loop_optimize): Remove code to allocate and initialize
	* unroll.c (precondition_loop_p): No longer static since
	used by branch on count optimization.
	(precondition_loop_p, unroll_loop): New argument loop_info.
	(final_biv_value, final_giv_value, find_splittable_regs): New
	argument n_iterations.
	(loop_iteration_var, loop_initial_value, loop_increment,
	loop_final_value, loop_comparison_code, loop_unroll_factor):
	Replaced global variables by loop_info structure.
	(loop_unroll_factor): Replace global array by element in
	loop_info structure.

Thu Nov 26 17:49:29 1998  Michael Hayes  <>

	* loop.c (check_dbra_loop): Update JUMP_LABEL field of jump insn
	when loop reversed.

	* unroll.c (precondition_loop_p): Return loop_initial_value
	for initial_value instead of loop_iteration_var.

Thu Nov 26 17:15:38 1998  Michael Hayes  <>

	* config/c4x/ Fix minor formatting problems.  Update docs.
	(*b, *b_rev, *b_noov, *b_noov_rev, *db,
	decrement_and_branch_until_zero, rptb_end): Use c4x_output_cbranch
	to output the instruction sequences.
	(rpts): Delete.
	(rptb_top): Provide alternatives to use any register or memory
	for loop counter.
	(rptb_end): Emit use of operands rather than assigning them
	explicitly to the RS and RE registers.

Thu Nov 26 16:37:59 1998  Michael Hayes  <>

	* config/c4x/c4x.c (c4x_modified_between_p, c4x_mem_set_p,
	c4x_mem_set_p, c4x_mem_modified_between_p, c4x_insn_moveable_p,
	c4x_parallel_pack, c4x_parallel_find, c4x_update_info_reg,
	c4x_update_info_regs, c4x_copy_insn_after, c4x_copy_insns_after,
	c4x_merge_notes, c4x_parallel_process,
	c4x_combine_parallel_independent, c4x_combine_parallel_dependent,
	c4x_combine_parallel): Delete.

Thu Nov 26 15:16:05 1998  Michael Hayes  <>

	* config/c4x/c4x.c (c4x_override_options): For compatibility
	with old target options clear flag_branch_on_count_reg if
	-mno-rptb specified and set flag_argument_alias is -mno-aliases
	(c4x_output_cbranch): Handle a sequence of insns rather than a
	single insn.
	(c4x_rptb_insert): Do not emit a RPTB insn if the RC register
	has not been allocated as the loop counter.
	(c4x_address_conflict): Do not allow two volatile memory references.
	(valid_parallel_operands_4, valid_parallel_operands_5,
	valid_parallel_operands_6): Reject pattern if the register destination
	of the first set is used as part of an address in the second set.

Thu Nov 26 14:56:32 1998  Michael Hayes  <>

	* config/c4x/c4x.h (TARGET_DEFAULT): Add PARALEL_MPY_FLAG.
	is no longer enabled if PARALLEL_MPY_FLAG set.
	(HARD_REGNO_CALL_CLOBBERED): Add parentheses to remove ambiguity.
	(REG_CLASS_CONTENTS): Add braces around initializers.
	(ASM_OUTPUT_BYTE_FLOAT): Use %lf format specifier with
	(ASM_OUTPUT_SHORT_FLOAT): Use %lf format specifier with
	(ar0_reg_operand): Add prototype.
	(ar0_mem_operand): Likewise.
	(ar1_reg_operand): Likewise.
	(ar1_mem_operand): Likewise.
	(ar2_reg_operand): Likewise.
	(ar2_mem_operand): Likewise.
	(ar3_reg_operand): Likewise.
	(ar3_mem_operand): Likewise.
	(ar4_reg_operand): Likewise.
	(ar4_mem_operand): Likewise.
	(ar5_reg_operand): Likewise.
	(ar5_mem_operand): Likewise.
	(ar6_reg_operand): Likewise.
	(ar6_mem_operand): Likewise.
	(ar7_reg_operand): Likewise.
	(ar7_mem_operand): Likewise.
	(ir0_reg_operand): Likewise.
	(ir0_mem_operand): Likewise.
	(ir1_reg_operand): Likewise.
	(ir1_mem_operand): Likewise.
	(group1_reg_operand): Likewise.
	(group1_mem_operand): Likewise.
	(ir1_reg_operand): Likewise.
	(arx_reg_operand): Likewise.
	(not_rc_reg): Likewise.
	(not_modify_reg): Likewise.
	(c4x_group1_reg_operand): Remove prototype.
	(c4x_group1_mem_operand): Likewise.
	(c4x_arx_reg_operand): Likewise.

Wed Nov 25 19:02:55 1998  (Stephen L Moshier)  <>

	* emit-rtl.c (gen_lowpart_common): Remove earlier change.
	* real.c (make_nan): Make SIGN arg actually specify the sign bit.

Thu Nov 26 14:12:05 1998  Michael Hayes  <>

	* config/c4x/ (addqi3): Emit addqi3_noclobber pattern
	during reload.

Wed Nov 25 22:05:28 1998  J"orn Rennecke  <>

	* config/sh/lib1funcs.asm (___udivsi3_i4): Don't switch to sz == 1
	unless FMOVD_WORKS is defined.

Wed Nov 25 20:11:04 1998  J"orn Rennecke  <>

	* regclass.c (init_reg_sets): Move code that calculates tables
	dependent on reg_class_contents from here...
	(init_reg_sets_1): To here.

Wed Nov 25 14:54:46 1998  Zack Weinberg  <>

	* cpplib.h: Delete struct import_file.  Add ihash element to
	struct cpp_buffer.  Delete dont_repeat_files and
	import_hash_table elements from cpp_reader; change
	all_include_files to a hash table.  Delete all foobar_include
	/ last_foobar_include elements from struct cpp_options; put
	back four such: quote_include, bracket_include,
	system_include, after_include.  Redo struct file_name_list
	completely.  Add new structure type include_hash.  Add
	prototypes for merge_include_chains and include_hash.  Change
	prototypes for finclude, find_include_file, and
	append_include_chain to match changes below.

	* cppfiles.c (simplify_pathname, include_hash,
	remap_filename, merge_include_chains): New functions.
	(add_import, lookup_import, open_include_file): Removed.
	(INO_T_EQ): Define this (copied from cccp.c).
	(hack_vms_include_specification): Remove all calls and #if 0
	out the definition.  It was being called incorrectly and at
	the wrong times.  Until a VMSie can look at this, it's better
	to not pretend to support it.
	(append_include_chain): Change calling convention; now takes
	only one directory at a time, and sets up the data structure
	(redundant_include_p): Rewritten - this is now used for all
	include redundancy, whether by #ifndef, #import, or #pragma
	once.  Looks up things in the include hash table.
	(file_cleanup): Decrement pfile->system_include_depth here if
	it's >0.
	(find_include_file): Calling convention changed; now passes
	around a struct include_hash instead of 3 separate parameters.
	Guts ripped out and replaced with new include_hash mechanism.
	(finclude): Calling convention changed as for
	find_include_file.  Error exits pulled out-of-line.  Reformat.
	(safe_read): Return a long, not an int.
	(deps_output): Don't recurse.

	* cpplib.c (is_system_include): Deleted.
	(path_include): Fix up call to append_include_chain.
	(do_include): Fix up calls to find_include_file and finclude.
	Clean up dependency output a bit.  Shorten obnoxiously lengthy
	#import warning message.  Don't decrement
	pfile->system_include_depth here.
	(do_pragma): Understand the include_hash structure.  Reformat.
	(do_endif): Correct handling of control macros.  Understand
	the include_hash.
	(cpp_start_read): Fix up calls to finclude.  Call
	(cpp_handle_option): Fix up calls to append_include_chain.
	Understand the four partial include chains.
	(cpp_finish): Add debugging code (#if 0-ed out) for the
	(cpp_cleanup): Free the include_hash, not the import hash and
	the all_include and dont_repeat lists which no longer exist.

Wed Nov 25 11:26:19 1998  Jeffrey A Law  (

	* toplev.c (no_new_pseudos): Define.
	(rest_of_compilation): Set no_new_pseudos as needed.
	* emit-rtl.c (gen_reg_rtx): Abort if we try to create a new pseudo
	if no_new_pseudos is set.
	* rtl.h (no_new_pseudos): Declare it.
	* reload1.c (reload): Update comments.
	* md.texi: Corresponding changes.

Wed Nov 25 11:26:17 1998  Bernd Schmidt  <>

	* reload1.c (reg_used_in_insn): Renamed from reg_used_by_pseudo.
	(choose_reload_regs): Rename it here as well.  When computing it,
	also merge in used hardregs.

1998-11-25  Zack Weinberg  <>

	* gcc.c: Split out Objective-C specs to...
	* objc/lang-specs.h: here. (New file.) Make the specs cpplib

	* c-lex.c (init_parse): Always initialize the filename global.
	* objc/objc-act.c (lang_init): Always call check_newline at
	beginning of file.

Wed Nov 25 00:48:29 1998  Graham  <>

	* reload1.c (reload): Remove unused variable.
	(reload_reg_free_for_value_p): Add missing parameter definition.

	* jump.c (jump_optimize): Remove unused variable.

Wed Nov 25 00:07:11 1998  Jeffrey A Law  (

	* (graph.o): Depend on $(RTL_H), not rtl.h.

	* cse.c (fold_rtx): Make autoincrement addressing mode tests be
	runtime selectable.
	* expr.c (move_by_pieces): Similarly.
	(move_by_pieces_1, clear_by_pieces, clear_by_pieces_1): Similarly.
	* flow.c (find_auto_inc): Similarly.
	(try_pre_increment): Similarly.
	* loop.c (strength_reduce): Similarly.
	* regclass.c (auto_inc_dec_reg_p): Similarly.
	* regmove.c (try_auto_increment): Similarly.
	(fixup_match_1): Similarly.
	* rtl.h (HAVE_PRE_INCREMENT): Define if not already defined.
	* Corresponding changes to all target header files.
	* tm.texi: Update docs for autoinc addressing modes.

Tue Nov 24 20:24:59 1998  Jim Wilson  <>

	* (m68020-*-elf*, m68k-*-elf*): New targets.
	* configure: Rebuild.
	* config/elfos.h: New file.
	* config/m68k/m68020-elf.h, config/m68k/m68kelf.h,
	config/m68k/t-m68kelf: New file.

Tue Nov 24 13:40:06 1998  Jeffrey A Law  (

	* (HOST_AR): Define.
	(libcpp.a): Use the host tools explicitly.
	(STAGESTUFF): Add libcpp.a.

Tue Nov 24 09:33:49 1998  Nick Clifton  <>

	* config/m32r/ (movstrsi_internal): Describe changes made
	to source and destination registers.

Mon Nov 23 20:28:02 1998  Mike Stump  <>

	* libgcc2.c (top_elt): Remove top_elt, it isn't thread safe.
	The strategy we now use is to pre allocate the top_elt along
	with the EH context so that each thread has its own top_elt.
	This is necessary as the dynamic cleanup chain is used on the
	top element of the stack and each thread MUST have its own.
	(eh_context_static): Likewise.
	(new_eh_context): Likewise.
	(__sjthrow): Likewise.

Mon Nov 23 20:25:03 1998  Jason Merrill  <>

	* i386/linux.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Wrap in do...while.
	* (prologue_get_pc): Remove unused variable.

Mon Nov 23 17:05:40 1998  Geoffrey Noer  <>

	* i386/xm-cygwin.h: Rename cygwin_ path funcs back to cygwin32_.

Mon Nov 23 16:40:00 1998  Ulrich Drepper  <>

	* (OBJS): Add graph.o.
	(graph.o): New dependency list.
	* flags.h: Declare dump_for_graph and define graph_dump_types type.
	* print-rtl.c (dump_for_graph): Define new variable.
	(print_rtx): Rewrite to allow use in graph dumping functions.
	* toplev.c: Declare print_rtl_graph_with_bb, clean_graph_dump_file,
	Define graph_dump_format.
	(compile_file): If graph dumping is enabled also clear these files.
	Finish graph dump files.
	(rest_of_compilation): Also dump graph information if enabled.
	(main): Recognize -dv to enabled VCG based graph dumping.
	* graph.c: New file.  Graph dumping functions.

Mon Nov 23 16:39:04 1998  Richard Henderson  <>

	* Look for <sys/stat.h>.
	* system.h: Include it before substitute S_ISREG definitions.

Mon Nov 23 17:40:37 1998  Gavin Romig-Koch  <>

	* config/mips/abi.h: Use ABI_O64, duplicating ABI_32 usage.
	* config/mips/iris6.h: Same.
	* config/mips/ Same.
	* config/mips/mips.c: Same; also add "-mabi=o64" option.
	* config/mips/mips.h: Same; also define ABI_O64.

Mon Nov 23 17:02:27 1998  Kaveh R. Ghazi  <>

	* Use AC_PREREQ(2.12.1).

Mon Nov 23 10:16:38 1998  Melissa O'Neill  <>

	* cccp.c (S_ISREG, S_ISDIR): Delete defines.
	* cpplib.c, gcc.c: Likewise.
	* system.h (S_ISREG, S_ISDIR): Define if not already defined.

Mon Nov 23 09:53:44 1998  Richard Henderson  <>

	* local-alloc.c (local_alloc): Use malloc not alloca for
	reg_qty, reg_offset, ref_next_in_qty.

Mon Nov 23 16:46:46 1998  J"orn Rennecke  <>

	* caller-save.c (insert_one_insn): Initialize the live_before and
	live_after register sets.

	Add SH4 support:

	* config/sh/lib1funcs.asm (___movstr_i4_even, ___movstr_i4_odd): Define.
	(___movstrSI12_i4, ___sdivsi3_i4, ___udivsi3_i4): Define.
	* sh.c (reg_class_from_letter, regno_reg_class): Add DF_REGS.
	(fp_reg_names, assembler_dialect): New variables.
	(print_operand_address): Handle SUBREGs.
	(print_operand): Added 'o' case.
	Don't use adj_offsettable_operand on PRE_DEC / POST_INC.
	Name of FP registers depends on mode.
	(expand_block_move): Emit different code for SH4 hardware.
	(prepare_scc_operands): Use emit_sf_insn / emit_df_insn as appropriate.
	(from_compare): Likewise.
	(add_constant): New argument last_value.  Changed all callers.
	(find_barrier): Don't try HImode load for FPUL_REG.
	(machine_dependent_reorg): Likewise.
	(sfunc_uses_reg): A CLOBBER cannot be the address register use.
	(gen_far_branch): Emit a barrier after the new jump.
	(barrier_align): Don't trust instruction lengths before
	fixing up pcloads.
	(machine_dependent_reorg): Add support for FIRST_XD_REG .. LAST_XD_REG.
	Use auto-inc addressing for fp registers if doubles need to
	be loaded in two steps.
	Set sh_flag_remove_dead_before_cse.
	(push): Support for TARGET_FMOVD.  Use gen_push_fpul for fpul.
	(pop): Support for TARGET_FMOVD.  Use gen_pop_fpul for fpul.
	(calc_live_regs): Support for TARGET_FMOVD.  Don't save FPSCR.
	Support for FIRST_XD_REG .. LAST_XD_REG.
	(sh_expand_prologue): Support for FIRST_XD_REG .. LAST_XD_REG.
	(sh_expand_epilogue): Likewise.
	(sh_builtin_saveregs): Use DFmode moves for fp regs on SH4.
	(initial_elimination_offset): Take TARGET_ALIGN_DOUBLE into account.
	(arith_reg_operand): FPUL_REG is OK for SH4.
	(fp_arith_reg_operand, fp_extended_operand): New functions.
	(tertiary_reload_operand, fpscr_operand): Likewise.
	(commutative_float_operator, noncommutative_float_operator): Likewise.
	(binary_float_operator, get_fpscr_rtx, emit_sf_insn): Likewise.
	(emit_df_insn, expand_sf_unop, expand_sf_binop): Likewise.
	(expand_df_unop, expand_df_binop, expand_fp_branch): Likewise.
	(emit_fpscr_use, mark_use, remove_dead_before_cse): Likewise.
	* sh.h (CPP_SPEC): Add support for -m4, m4-single, m4-single-only.
	(target_flag): Add -m4, m4-single, m4-single-only, -mfmovd.
	(OPTIMIZATION_OPTIONS): If optimizing, set flag_omit_frame_pointer
	to -1 and sh_flag_remove_dead_before_cse to 1.
	(ASSEMBLER_DIALECT): Define to assembler_dialect.
	(assembler_dialect, fp_reg_names): Declare.
	Hide names of registers that are not accessible.
	(CACHE_LOG): Take TARGET_CACHE32 into account.
	(LOOP_ALIGN): Take TARGET_HARWARD into account.
	(FIXED_REGISTERS, CALL_USED_REGISTERS): Include values for registers.
	(HARD_REGNO_NREGS): Special treatment of FIRST_XD_REG .. LAST_XD_REG.
	(enum reg_class): Add DF_REGS and FPSCR_REGS.
	(NPARM_REGS): Eight floating point parameter registers on SH4.
	(BASE_RETURN_VALUE_REG): SH4 also passes double values
	in floating point registers.
	(GET_SH_ARG_CLASS): Likewise.
	Complex float types are also returned in float registers.
	(BASE_ARG_REG): Complex float types are also passes in float registers.
	(FUNCTION_VALUE): Change mode like PROMOTE_MODE does.
	(LIBCALL_VALUE): Remove trailing semicolon.
	(ROUND_REG): Round when double precision value is passed in floating
	point register(s).
	(FUNCTION_ARG_ADVANCE): No change wanted for SH4 when things are
	passed on the stack.
	(FUNCTION_ARG): Little endian adjustment for SH4 SFmode.
	(INITIALIZE_TRAMPOLINE): Emit ic_invalidate_line for TARGET_HARWARD.
	(MODE_DISP_OK_8): Not for SH4 DFmode.
	(GO_IF_LEGITIMATE_ADDRESS): No base reg + index reg for SH4 DFmode.
	Allow indexed addressing for PSImode after reload.
	Don't change SH4 DFmode nor PSImode RELOAD_FOR_INPUT_ADDRESS.
	(DOUBLE_TYPE_SIZE): 64 for SH4.
	(RTX_COSTS): Add PLUS case.
	Increase cost of ASHIFT, ASHIFTRT, LSHIFTRT case.
	(REGISTER_NAMES): Use fp_reg_names.
	(enum processor_type): Add PROCESSOR_SH4.
	(sh_flag_remove_dead_before_cse): Declare.
	(rtx_equal_function_value_matters, fpscr_rtx, get_fpscr_rtx): Declare.
	(PREDICATE_CODES): Add binary_float_operator,
	commutative_float_operator, fp_arith_reg_operand, fp_extended_operand,
	fpscr_operand, noncommutative_float_operator.
	(ADJUST_COST): Use different scale for TARGET_SUPERSCALAR.
	(SH_DYNAMIC_SHIFT_COST): Cheaper for SH4.
	* (attribute cpu): Add value sh4.
	(attrbutes fmovd, issues): Define.
	(attribute type): Add values dfp_arith, dfp_cmp, dfp_conv, dfdiv.
	(function units memory, int, mpy, fp): Make dependent on issue rate.
	(function units issue, single_issue, load_si, load): Define.
	(function units load_store, fdiv, gp_fpul): Define.
	(attribute hit_stack): Provide proper default.
	(use_sfunc_addr+1, udivsi3): Predicated on ! TARGET_SH4.
	(udivsi3_i4, udivsi3_i4_single, divsi3_i4, divsi3_i4_single): New insns.
	(udivsi3, divsi3): Emit special patterns for SH4 hardware,
	(mulsi3_call): Now uses match_operand for function address.
	(mulsi3): Also emit code for SH1 case.  Wrap result in REG_LIBCALL /
	REG_RETVAL notes.
	(push, pop, push_e, pop_e): Now define_expands.
	(push_fpul, push_4, pop_fpul, pop_4, ic_invalidate_line): New expanders.
	(movsi_ie): Added y/i alternative.
	(ic_invalidate_line_i, movdf_i4): New insns.
	(movdf_i4+[123], reload_outdf+[12345], movsi_y+[12]): New splitters.
	(reload_indf, reload_outdf, reload_outsf, reload_insi): New expanders.
	(movdf): Add special code for SH4.
	(movsf_ie, movsf_ie+1, reload_insf, calli): Make use of fpscr visible.
	(call_valuei, calli, call_value): Likewise.
	(movsf): Emit no-op move.
	(mov_nop, movsi_y): New insns.
	(blt, sge): Generalize to handle DFmode.
	(return predicate): Call emit_fpscr_use and remove_dead_before_cse.
	(block_move_real, block_lump_real): Predicate on ! TARGET_HARD_SH4.
	(block_move_real_i4, block_lump_real_i4, fpu_switch): New insns.
	(fpu_switch0, fpu_switch1, movpsi): New expanders.
	(fpu_switch+[12], fix_truncsfsi2_i4_2+1): New splitters.
	(toggle_sz): New insn.
	(addsf3, subsf3, mulsf3, divsf3): Now define_expands.
	(addsf3_i, subsf3_i, mulsf3_i4, mulsf3_ie, divsf3_i): New insns.
	(macsf3): Make use of fpscr visible.  Disable for SH4.
	(floatsisf2): Make use of fpscr visible.
	(floatsisf2_i4): New insn.
	(floatsisf2_ie, fixsfsi, cmpgtsf_t, cmpeqsf_t): Disable for SH4.
	(ieee_ccmpeqsf_t): Likewise.
	(fix_truncsfsi2): Emit different code for SH4.
	(fix_truncsfsi2_i4, fix_truncsfsi2_i4_2, cmpgtsf_t_i4): New insns.
	(cmpeqsf_t_i4, ieee_ccmpeqsf_t_4): New insns.
	(negsf2, sqrtsf2, abssf2): Now expanders.
	(adddf3, subdf3i, muldf2, divdf3, floatsidf2): New expanders.
	(negsf2_i, sqrtsf2_i, abssf2_i, adddf3_i, subdf3_i): New insns.
	(muldf3_i, divdf3_i, floatsidf2_i, fix_truncdfsi2_i): New insns.
	(fix_truncdfsi2, cmpdf, negdf2, sqrtdf2, absdf2): New expanders.
	(fix_truncdfsi2_i4, cmpgtdf_t, cmpeqdf_t, ieee_ccmpeqdf_t): New insns.
	(fix_truncdfsi2_i4_2+1): New splitters.
	(negdf2_i, sqrtdf2_i, absdf2_i, extendsfdf2_i4): New insns.
	(extendsfdf2, truncdfsf2): New expanders.
	(truncdfsf2_i4): New insn.
	* t-sh (LIB1ASMFUNCS): Add _movstr_i4, _sdivsi3_i4, _udivsi3_i4.
	(MULTILIB_OPTIONS): Add m4-single-only/m4-single/m4.
	* float-sh.h: When testing for __SH3E__, also test for
	* va-sh.h (__va_freg): Define to float.
	(__va_greg, __fa_freg, __gnuc_va_list, va_start):
	Define for __SH4_SINGLE_ONLY__ like for __SH3E__ .
	(__PASS_AS_FLOAT, __TARGET_SH4_P): Likewise.
	(__PASS_AS_FLOAT): Use different definition for __SH4__ and
	(TARGET_SH4_P): Define.
	(va_arg): Use it.

	* (movdf_k, movsf_i): Tweak the condition so that
	init_expr_once is satisfied about the existence of load / store insns.

	* (movsi_i, movsi_ie, movsi_i_lowpart, movsf_i, movsf_ie):
	Change m constraint in source operand to mr / mf.

	* va-sh.h (__va_arg_sh1): Use __asm instead of asm.

	* (__VA_REEF): Define.
	(__va_arg_sh1): Use it.

	* va-sh.h (va_start, va_arg, va_copy): Add parentheses.

Sun Nov 22 21:34:02 1998  Jeffrey A Law  (

	* i386/dgux.c (struct option): Add new "description field".
	* m88k/m88k.c (struct option): Likewise.

Sun Nov 22 16:07:57 1998  Jeff Law  (

	* version.c: Bump for snapshot.

Sun Nov 22 13:40:02 1998  Bernd Schmidt  <>

	* regmove.c (regmove_profitable_p): Use return value of find_matches

Sun Nov 22 02:47:37 1998  Jeff Law  (

	* version.c: Bump for snapshot.

Sat Nov 21 22:12:09 1998  Jeffrey A Law  (

	* reload1.c (eliminate_regs): Do not lose if eliminate_regs is called
	without reload having been called earlier.

	* v850.c (ep_memory_operand): Offsets < 0 are not valid for EP
	addressing modes.
	(v850_reorg): Similarly.

	* loop.c (check_dbra_loop): Avoid using gen_add2_insn.

Sat Nov 21 02:18:38 1998  J"orn Rennecke  <>

	* loop.c (move_movables): Start of libcall might be new loop start.

Fri Nov 20 12:14:16 1998  Kaveh R. Ghazi  <>

	* hash.c (hash_table_init_n): Wrap prototype arguments in PARAMS().

Fri Nov 20 08:34:00 1998  Bernd Schmidt  <>

	* function.c (nonlocal_goto_handler_slots): Renamed from
	nonlocal_goto_handler_slot; now an EXPR_LIST chain.
	(push_function_context_to): Adjust for this change.
	(pop_function_context_from): Likewise.
	(init_function_start): Likewise.
	(expand_function_end): Likewise.
	* function.h (struct function): Likewise.
	* calls.c (expand_call): Likewise.
	* explow.c (allocate_dynamic_stack_space): Likewise.
	* expr.h (nonlocal_goto_handler_slots): Rename its declaration.
	* stmt.c (declare_nonlocal_label): Make a new handler slot for each
	(expand_goto): When doing a nonlocal goto, find corresponding handler
	slot for it.  Don't put the label address in the static chain register.
	(expand_end_bindings): Break out nonlocal goto handling code into
	three new functions.
	(expand_nl_handler_label, expand_nl_goto_receiver,
	expand_nl_goto_receivers): New static functions, broken out of
	expand_end_bindings and adapted to create one handler per nonlocal
	* function.c (delete_handlers): Delete insn if it references any of
	the nonlocal goto handler slots.
	* (nonlocal_goto): Comment out code that modifies
	* (nonlocal_goto): Likewise.
	(goto_handler_and_restore_v9): Comment out.
	(goto_handler_and_restore_v9_sp64): Comment out.

Thu Nov 19 23:44:38 1998  Bernd Schmidt  <>

	* expr.c (STACK_BYTES): Delete unused macro.
	* calls.c: Provide default for PREFERRED_STACK_BOUNDARY.
	(expand_call): Likewise.
	(emit_library_call): Likewise.
	(emit_library_call_value): Likewise.
	* function.c: Provide default for PREFERRED_STACK_BOUNDARY.
	* explow.c: Provide default for PREFERRED_STACK_BOUNDARY.
	(allocate_dynamic_stack_space): Likewise.
	* tm.texi (PREFERRED_STACK_BOUNDARY): Document new macro.
	(STACK_BOUNDARY): Update description to reflect the new situation.

Thu Nov 19 22:20:51 1998  Jeffrey A Law  (

	* reorg.c (relax_delay_slots): When optimizing for code size, if a
	return with a filled delay slot is followed by a return with an
	unfilled delay slot, delete the first return and reemit the insn
	that was previously in its delay slot.

	* i860.c (single_insn_src_p): Add missing parens.
	* ginclude/math-3300.h: Likewise.

Thu Nov 19 20:55:59 1998  H.J. Lu  (

	* regclass.c (init_reg_sets_1): Add prototype.
	(init_reg_modes): Likewise.

1998-11-19  Zack Weinberg  <>

	* c-common.c: Change warning messages to say `comparison is
	always true' or `comparison is always false' instead of the
	confusing `is always 0', `is always 1'.

Thu Nov 19 19:05:49 1998  Per Bothner  <>

	* print-tree.c (print_node): After printing BLOCK or BIND_EXPR,
	break instead of return (which loses closing '>').

Thu Nov 19 19:34:13 1998  Jeffrey A Law  (

	* i386.h (LEGITIMATE_CONSTANT_P): Reject CONST_DOUBLEs that are not
	standard 387 constants.

	* (jump): Explicitly set "memory" attribute.
	(indirect_jump, prologue_set_stack_ptr): Likewise.
	(prologue_get_pc_and_set_got, pop): Likewise.
	(allocate_stack_worder, blockage, return_internal): Likewise.
	(return_pop_internal, nop): Likewise.
	(epilogue_set_stack_ptr, leave): Likewise.

Thu Nov 19 15:42:54 1998  Nick Clifton  <>

	* config/arm/coff.h: Set USER_LABEL_PREFIX to "_".

Thu Nov 19 23:20:59 1998  J"orn Rennecke  <>

	* reload1.c (reload_reg_free_for_value_p):
	Early auto_inc reloads don't conflict with outputs.

Thu Nov 19 12:58:55 1998  Kaveh R. Ghazi  <>

	* Don't do AC_CHECK_HEADERS(wait.h sys/wait.h).
	Instead call AC_HEADER_SYS_WAIT.

	* collect2.c: Don't provide defaults for sys/wait.h macros.
	* gcc.c: Likewise.
	* protoize.c: Likewise.  Also, don't include sys/wait.h.

	* system.h: Include sys/wait.h and provide macro defaults.

1998-11-19  Andreas Schwab  <>

	* (mandir): Set to @mandir@.
	(man1dir): New variable to hold the former value of $(mandir).
	Replace all uses of $(mandir) by $(man1dir).

Wed Nov 18 16:31:28 1998  Jim Wilson  <>

	* reload.c (find_reloads_address_part): If have a CONST_INT, create
	a new one before passing it to force_const_mem.

	* reload.c (find_reloads_toplev): Pass &x instead of NULL_PTR in
	find_reloads_address call.

Wed Nov 18 22:13:00 1998  J"orn Rennecke  <>

	* expr.c (store_expr): Don't generate load-store pair
	if TEMP is identical (according to ==) with TARGET.

Tue Nov 17 22:25:16 1998  J"orn Rennecke  <>

	* reload1.c (reload_reg_free_for_value_p): When considered reload
	has an output, matching inputs are not sufficient to avoid conflict.

Tue Nov 17 11:51:16 1998  Mark Mitchell  <>

	* hash.h (hash_table_key): New type.
	(hash_entry): Change `string' field to generic `key'.
	(hash_table): Add `comp' and `hash' functions.
	(hash_table_init): Take them as input.
	(hash_table_init_n): Likewise.
	(hash_lookup): Modify for generic keys.
	(hash_newfunc): Likewise.
	(hash_traverse): Likewise.
	(string_hash): New function.
	(string_compare): Likewise.
	(string_copy): Likewise.
	* hash.c (hash_table_init_n): Modify for generic keys.
	(hash_table_init): Likewise.
	(hash_lookup): Likewise.
	(hash_newfunc): Likewise.
	(hash_traverse): Likewise.
	(string_hash): Split out from hash_lookup.
	(string_compare): New function.
	(string_copy): Split out from hash_lookup.
	* tlink.c (symbol_hash_newfunc): Modify for new interfaces to hash
	(symbol_hash_lookup): Likewise.
	(file_hash_newfunc): Likewise.
	(file_hash_lookup): Likewise.
	(demangled_hash_newfunc): Likewise.
	(demangled_hash_lookup): Likewise.
	(tlink_int): Likewise.
	(read_repo_file): Likewise.
	(recompile_files): Likewise.
	(demangle_new_symbols): Likewise.
	(scan_linker_output): Likewise.

Tue Nov 17 17:13:53 1998  J"orn Rennecke  <>

	* flow.c (insn_dead_p): New argument NOTES.  Changed all callers.

Mon Nov 16 17:56:07 1998  David Edelsohn  <>

	* rs6000.c (output_mi_thunk): Improve test for local branch.

Mon Nov 16 17:56:07 1998  Franz Sirl  <>

	* rs6000.c (output_mi_thunk): Correct test for aggregate values.

Mon Nov 16 21:02:52 1998  J"orn Rennecke  <>

	* reload1.c (reload_reg_free_before_p): Delete.
	Changed all callers to use reload_reg_free_for_value_p instead.
	(reload_reg_free_for_value_p): Handle more reload types.
	A RELOAD_FOR_INPUT doesn't conflict with its
	Add special case for OUT == const0_rtx.
	Added ignore_address_reloads argument.  Changed all callers.

Mon Nov 16 02:22:29 1998  Jason Merrill  <>

	* toplev.c (compile_file): Don't pedwarn about undefined static
	functions just because we passed -Wunused.

Mon Nov 16 04:41:41 1998  J"orn Rennecke  <>

	* function.c (purge_addressof_1): Unshare rtl created by

Mon Nov 16 04:23:06 1998  J"orn Rennecke  <>

	* regmove.c (regmove_optimize): Don't do anything but
	optimize_reg_copy[123] when flag_regmove is not set.

Sat Nov 14 15:05:07 1998  Richard Henderson  <>

	* (addsi3, subsi3): Revise 5 Nov change to store DImode
	value in paradoxical SImode result, rather than truncating midpoint.

Fri Nov 13 22:19:23 1998  Richard Henderson  <>

	* alpha.c (reg_not_elim_operand): New.
	* alpha.h (PREDICATE_CODES): Add it.
	* (s48addq, s48subq patterns): Use it as the predicate
	for the multiplicand.

Fri Nov 13 22:50:37 1998  David Edelsohn  <>

	* (movsf): Remove explicit secondary-reload-like
	functionality.  Only truncate SFmode store if in FPR.
	(movsf splitters): Combine const_double splitters.
	(movsf_hardfloat): Add GPR support.

Fri Nov 13 11:02:11 1998  Stan Cox  <>

	deprecate -mlive-g0 and -mbroken-saverestore.
	* t-splet (MULTILIB_OPTIONS): Likewise.

	* sparc.c (sparc_flat_compute_frame_size): Correctly calc args_size
	in a leaf function.  Clarify total_size/extra_size relationship.

Thu Nov 12 19:20:57 1998  Geoffrey Noer  <>

	* i386/cygwin32.asm: Delete.
	* i386/cygwin.asm: New file, renamed from cygwin32.asm.
	* i386/cygwin32.h: Delete.
	* i386/cygwin.h: New file, renamed from cygwin32.h.
	* i386/t-cygwin32: Delete.
	* i386/t-cygwin: New file, renamed from t-cygwin32.  Include
	cygwin.asm instead of cygwin32.asm.  Remove "32" from comment.
	* i386/x-cygwin32: Delete.
	* i386/x-cygwin: New file, renamed from x-cygwin32.
	* i386/xm-cygwin32: Delete.
	* i386/xm-cygwin: New file, renamed from xm-cygwin32.  Use newly
	renamed cygwin_ funcs for path translations.
	* i386/win32.h: Define __CYGWIN__ when -mcygwin given.
	* i386/winnt.c: Remove "32" from comment about cygwin.
	* i386/mingw32.h: Fix references to cygwin32.h in light of above.
	* rs6000/cygwin32.h: Delete.
	* rs6000/cygwin.h: New file, renamed from cygwin32.h.  Add
	* rs6000/x-cygwin32: Delete.
	* rs6000/x-cygwin: New file, renamed from x-cygwin32.
	* rs6000/xm-cygwin32: Delete.
	* rs6000/xm-cygwin: New file, renamed from xm-cygwin32.

	* Check for cygwin* instead of cygwin32.  Account
	for the rename of cygwin-related config files to lose the "32"s.
	* configure: Regenerate.

	* cccp.c, collect2.c, gcc.c, getpwd.c, libgcc2.c, protoize.c,
	toplev.c: Change all refs to __CYGWIN32__ to __CYGWIN__.

Wed Nov 11 12:25:19 1998  Tom Tromey  <>

	* (JAVAGC): New macro.
	* configure: Rebuilt.
	* Recognize --enable-java-gc argument.  Subst
	`JAVAGC' variable.

Thu Nov 12 03:32:16 1998  J"orn Rennecke  <>

	Handle equivalences that have been obscured by gcse:

	* reload1.c (reload): Handle equivalences set up in multiple places.
	* local-alloc.c (reg_equiv_init_insns): New variable.
	(no_equiv): New function.
	(update_equiv_regs): Handle equivalences set up in multiple places.
	Don't ignore an insn just because its destination is likely to be

Wed Nov 11 13:46:13 1998  Jim Wilson  <>

	* except.c (expand_eh_return): Readd force_operand call lost in
	Sept 15 change.

Tue Nov 10 17:04:11 1998  David Edelsohn  <>

	* rs6000.h (LEGITIMIZE_ADDRESS): Add missing goto on last case.

1998-11-09  Andreas Schwab  <>

	* dbxout.c: Check HAVE_STAB_H instead of HAVE_STABS_H.

Mon Nov  9 20:15:19 1998  Bernd Schmidt  <>

	* regmove.c (regmove_optimize): Fix error in last change.

Mon Nov  9 16:37:52 1998  Andrew Cagney  <>

	* mips.c (function_prologue): When TARGET_MIPS16, adjust the register
	offset in the .mask pseudo to compensate for frame pointer adjustments.
	(mips16_fp_args, build_mips16_call_stub): For little endian, do not
	word swap arguments moved to/from FP registers.
	* mips16.S (DFREVCMP): Reverse arguments to OPCODE.

Mon Nov  9 09:47:06 1998  Jeff Law  (

	* version.c: Bump for snapshot.

Mon Nov  9 02:14:14 1998  Jeff Law  (

	* version.c: Bump for snapshot.

Mon Nov  9 03:06:24 1998  Jeffrey A Law  (

	* reload1.c (delete_output_reload_insn): If a pseudo is set multiple
	times, then it can not be completely replaced.

Mon Nov  9 00:39:02 1998  Richard Henderson  <>

	* (call, call_value) [OSF]: Correct alt 3 insn length.

Sun Nov  8 17:50:30 1998  Kaveh R. Ghazi  <>

	* gansidecl.h: Prepend a "G" to the macro wrapping this file
	(to distinguish it from the macro wrapping ansidecl.h.)
	Include libiberty's ansidecl.h.  Remove all redundant definitions.
	Define the PROTO() style macros in terms of the PARAMS() ones.

	* calls.c (emit_library_call): Switch on ANSI_PROTOTYPES, not
	__STDC__, when deciding whether to use ANSI variable args.
	(emit_library_call_value): Likewise.

	* cccp.c (error): Likewise.
	(warning): Likewise.
	(error_with_line): Likewise.
	(warning_with_line): Likewise.
	(pedwarn): Likewise.
	(pedwarn_with_line): Likewise.
	(pedwarn_with_file_and_line): Likewise.
	(fatal): Likewise.

	* cexp.y (error): Likewise.
	(pedwarn): Likewise.
	(warning): Likewise.

	* collect2.c (fatal_perror): Likewise.
	(fatal): Likewise.
	(error): Likewise.

	* combine.c (gen_rtx_combine): Likewise.

	* cpperror.c (cpp_message): Likewise.
	(cpp_fatal): Likewise.

	* cpplib.c (cpp_error): Likewise.
	(cpp_warning): Likewise.
	(cpp_pedwarn): Likewise.
	(cpp_error_with_line): Likewise.
	(cpp_warning_with_line): Likewise.
	(cpp_pedwarn_with_line): Likewise.
	(cpp_pedwarn_with_file_and_line): Likewise.

	* cpplib.h: Don't define PARAMS() macro.

	* demangle.h: Likewise.

	* doprint.c (checkit): Switch on ANSI_PROTOTYPES, not __STDC__,
	when deciding whether to use ANSI variable args.

	* emit-rtl.c (gen_rtx): Likewise.
	(gen_rtvec): Likewise.

	* final.c (asm_fprintf): Likewise.

	* fix-header.c (cpp_message): Likewise.
	(fatal): Likewise.
	(cpp_fatal): Likewise.

	* gcc.c (concat): Likewise.
	(fatal): Likewise.
	(error): Likewise.

	* genattr.c (fatal): Likewise.

	* genattrtab.c (attr_rtx): Likewise.
	(attr_printf): Likewise.
	(fatal): Likewise.

	* gencodes.c (fatal): Likewise.

	* genconfig.c (fatal): Likewise.

	* genemit.c (fatal): Likewise.

	* genextract.c (fatal): Likewise.

	* genflags.c (fatal): Likewise.

	* genopinit.c (fatal): Likewise.

	* genoutput.c (fatal): Likewise.
	(error): Likewise.

	* genpeep.c (fatal): Likewise.

	* genrecog.c (fatal): Likewise.

	* halfpic.h: Switch on ANSI_PROTOTYPES, not __STDC__, when
	deciding whether to declare `tree_node' and `rtx_def'.

	* hash.h: Don't define stuff we get from gansidecl.h.

	* mips-tfile.c: Likewise.  Define __proto() in terms of PARAMS().
	(fatal): Switch on ANSI_PROTOTYPES, not __STDC__, when deciding
	whether to use ANSI variable args.
	(error): Likewise.

	* prefix.c (concat): Likewise.

	* scan.h: Likewise.

	* system.h: Likewise.

	* toplev.c (error_with_file_and_line): Likewise.
	(error_with_decl): Likewise.
	(error_for_asm): Likewise.
	(error): Likewise.
	(fatal): Likewise.
	(warning_with_file_and_line): Likewise.
	(warning_with_decl): Likewise.
	(warning_for_asm): Likewise.
	(warning): Likewise.
	(pedwarn): Likewise.
	(pedwarn_with_decl): Likewise.
	(pedwarn_with_file_and_line): Likewise.
	(sorry): Likewise.
	(really_sorry): Likewise.

	* toplev.h: Switch on ANSI_PROTOTYPES, not __STDC__, when deciding
	whether to declare `tree_node' and `rtx_def'.

	* tree.c (build): Switch on ANSI_PROTOTYPES, not __STDC__, when
	deciding whether to use ANSI variable args.
	(build_nt): Likewise.
	(build_parse_node): Likewise.

Sun Nov  8 13:10:55 1998  Jeff Law  (

	* version.c: Bump for snapshot.

Sat Nov  7 23:34:01 1998  Kaveh R. Ghazi  <>

	* (libcpp.a): Check RANLIB_TEST before runing RANLIB.

Sat Nov  7 22:26:19 1998  David Edelsohn  <>

	* collect2.c (main, case 'b'): Use else if.

Sat Nov  7 15:35:25 1998  Kaveh R. Ghazi  <>

	* (host_xm_file, build_xm_file, xm_file, tm_file):
	Arrange to include gansidecl.h in {ht}config.h & tm.h just
	before the config/ directory headers.
	(tm_file_list, host_xm_file_list, build_xm_file_list): Handle
	gansidecl.h in the list of dependencies.

	* (RTL_BASE_H): Don't depend on gansidecl.h.
	(TREE_H, DEMANGLE_H, RECOG_H, REGS_H, libgcc2.a, stmp-multilib,
	mbchar.o, collect2.o, pexecute.o, vfprintf.o, splay-tree.o, gcc.o,
	gencheck.o, choose-temp.o, mkstemp.o, mkstemp.o, prefix.o,
	dyn-string.o, cexp.o, cccp.o, cppmain.o, cpplib.o, cpperror.o,
	cppexp.o, cppfiles.o, cpphash.o, cppalloc.o, scan-decls.o):

	* cccp.c: Don't include gansidecl.h.
	* cexp.y: Likewise.
	* collect2.c: Likewise.
	* config/c4x/c4x.c: Likewise.
	* config/v850/v850.h: Likewise.
	* cppalloc.c: Likewise.
	* cpperror.c: Likewise.
	* cppexp.c: Likewise.
	* cppfiles.c: Likewise.
	* cpphash.c: Likewise.
	* cpplib.c: Likewise.
	* cppmain.c: Likewise.
	* cppulp.c: Likewise.
	* demangle.h: Likewise.
	* doprint.c: Likewise.
	* dyn-string.c: Likewise.
	* eh-common.h: Likewise.
	* fix-header.c: Likewise.
	* frame.c: Likewise.
	* gcc.c: Likewise.
	* gcov.c: Likewise.
	* gen-protos.c: Likewise.
	* gencheck.c: Likewise.
	* halfpic.h: Likewise.
	* hash.c: Likewise.
	* machmode.h: Likewise.
	* mbchar.c: Likewise.
	* prefix.c: Likewise.
	* protoize.c: Likewise.
	* recog.h: Likewise.
	* rtl.h: Likewise.
	* scan-decls.c: Likewise.
	* tree.h: Likewise.
	* varray.h: Likewise.

Sat Nov  7 11:37:53 1998  Richard Henderson  <>

	* (call_value_pop): If we're not popping anything,
	defer to call_value.
	(call_pop): Likewise defer to call.

Sat Nov  7 02:49:56 1998  Richard Henderson  <>

	* function.c (purge_addressof): Clear purge_addressof_replacements
	only after processing the whole function.

Sat Nov  7 00:54:55 1998  Jeffrey A Law  (

	* reload1.c (reload): If we can not perform a particular elimination
	when we thought we could earlier, then we must always iterate through
	the loop at least one more time.

Fri Nov  6 19:37:33 1998  Richard Henderson  <>

	* alpha.c (add_operand): Simplify the CONST_INT match.
	(sext_add_operand): Correct typo in comparison by using
	* (s?addq): Use sext_add_operand to allow the negative
	constant alternatives to be generated.
	(mulsi3, muldi3, umuldi3_highpart): Loosen constraints to allow
	small constants, since the hw instructions do.

Fri Nov  6 20:15:19 1998  Bernd Schmidt  <>

	* reload1.c (emit_reload_insns): When rewriting the SET_DEST of a
	previous insn to store directly into our reload register, make sure
	that if the source of the previous insn is a reload register, its
	spill_reg_store and spill_reg_stored_to values are cleared.

Fri Nov  6 16:35:10 1998  David Edelsohn  <>

	* (floatunssidf2_internal splitter): Use base register
	operand, not hard-coded SP.

Fri Nov  6 04:07:53 1998  David S. Miller  <>

	* jump.c (calculate_can_reach_end): Fix thinko.

Fri Nov  6 00:16:04 1998  Jeffrey A Law  (

	* reorg.c (fill_simple_delay_slots): Fix typo.

	* romp.h (LEGITIMIZE_ADDRESS): Fix typo.

Fri Nov  6 00:10:00 1998  Jan Hubicka  (

	* (extendsidi2): Use # in the output template.
	(extendsidi splitters): New splitters.

Thu Nov  5 11:13:27 1998  Nick Clifton  <>

	* Use unknown-elf.h as tm_file for arm-elf
	* configure: Regenerate.

Thu Nov  5 07:59:05 1998  David S. Miller  <>

	* jump.c (init_label_info, delete_barrier_successors,
	mark_all_labels, delete_unreferenced_labels,
	delete_noop_moves, calculate_can_reach_end): New functions broken
	out of jump_optimize.
	(jump_optimize): Use them.

Thu Nov  5 07:57:45 1998  Andrew MacLeod  <>

	* except.c (expand_fixup_region_end): Make sure outer context labels
	are not issued in an inner context during cleanups.

Thu Nov  5 04:03:06 1998  Richard Henderson  <>

	* (addsi3, subsi3): No new temporaries once cse is
	no longer expected.

Thu Nov  5 03:29:19 1998  Richard Henderson  <>

	* (addsi3, subsi3): Expand to a DImode temporary so as
	to expose this midpoint to CSE.

Thu Nov  5 03:42:54 1998  David S. Miller  <>

	* config/sparc/ (movdf_const_intreg_sp64): Enable again.

Thu Nov  5 10:53:01 1998  Andreas Schwab  <>

	* Bring over gcc2 change of Nov 19 1997.

Wed Nov  4 23:43:08 1998  Graham  <>

	* toplev.c (output_lang_identify): Make definition dependent on

	* print-rtl.c (spaces): Make static.

Wed Nov  4 22:16:36 1998  Hans-Peter Nilsson  <>

	* extend.texi: Clarify proper uses for register clobbers in asms.

Wed Nov  4 22:16:36 1998  Bernd Schmidt  <>

	* recog.h (enum op_type): Define.
	(constrain_operands): Adjust prototype.
	(recog_op_type): Declare new variable.
	* recog.c (recog_op_type): New variable.
	(insn_invalid_p): Allow modifying an asm statement after reload.
	(extract_insn): Set up recog_op_type.
	(constrain_operands): Lose INSN_CODE_NUM arg.  All callers changed.
	Don't compute operand types, use recog_op_type.
	Use the information computed by extract_insn instead of the previous
	method of finding it by insn code number.
	* caller-save.c (init_caller_save): Use extract_insn, not insn_extract.
	* reorg.c (fill_slots_from_thread): Likewise.
	* reload1.c (reload_as_needed): Likewise.
	(gen_reload): Likewise.
	(inc_for_reload): Likewise.
	(reload_cse_simplify_operands): Likewise.
	Use the information computed by extract_insn instead of the previous
	method of finding it by insn code number.
	* genattrtab.c (write_attr_case): Generate call to extract_insn, not
	* final.c (final_scan_insn): Use extract_insn, not insn_extract.
	(cleanup_operand_subregs): Use extract_insn, not insn_extract.
	Use the information computed by extract_insn instead of the previous
	method of finding it by insn code number.
	* regmove.c (find_matches): Likewise.  Change meaning of the return
	value to be nonzero if the optimization can be performed, zero if
	not.  All callers changed.
	Shorten some variable names to fix formatting problems.
	(regmove_optimize): Shorten some variable names to fix formatting
	Use the information computed by extract_insn instead of the previous
	method of finding it by insn code number.
	* regclass.c (scan_one_insn): Likewise.
	(record_reg_classes): Don't compute operand types, use recog_op_type.
	* reload.c (find_reloads): Lose CONSTRAINTS1 variable; use
	recog_constraints instead.

Wed Nov  4 21:37:46 1998  Jeffrey A Law  (

	* rtl.h (flow2_completed): Declare.
	* flow.c (flow2_completed): Definition.
	* toplev.c (rest_of_compilation): Set and clear flow2_completed
	as necessary.

Wed Nov  4 19:15:37 1998  Melissa O'Neill  <>

	* (libcpp.a): Ranlib libcpp.a.

	* cppulp.c (user_label_prefix): Initialize.

Wed Nov  4 19:07:08 1998  John Wehle  (

	* flow.c (mark_regs_live_at_end): Mark the stack pointer as live
	at a RETURN if current_function_sp_is_unchanging is set.

Wed Nov  4 18:16:29 1998  Herman A.J. ten Brugge  <>

	* emit-rtl.c (try_split): Fixed error in Oct 10 patch.

Wed Nov  4 15:11:15 1998  Geoffrey Noer  <>

	(SUBTARGET_SWITCHES): Add -mno-cygwin, -mcygwin, and -mdll options.
	(CPP_PREDEFINES): Don't define __CYGWIN32__ here.
	(STARTFILE_SPEC): Handle -mdll, -mno-cygwin options.
	(CPP_SPEC): Handle -mno-cygwin option.  Define __CYWIN__ in addition
	to __CYGWIN32__.
	(LIB_SPEC): Handle -mno-cygwin option.
	(LINK_SPEC): Handle -mdll.

Wed Nov  4 22:56:14 1998  J"orn Rennecke  <>

	* reload.c (find_reloads): Fix test for usage by other reload
	to handle secondary reloads properly.

Wed Nov  4 17:25:10 1998  Kaveh R. Ghazi  <>

	* reload1.c (ELIMINABLE_REGS, NUM_ELIMINABLE_REGS): Introduce an
	intermediate structure which has exactly the members provided by
	static intermediate structure.

	(init_elim_table): Xmalloc() `reg_eliminate', and initialize it
	from the intermediate structure.  Do the same analogous fix in
	the case where ELIMINABLE_REGS is not defined.

Tue Nov  3 20:50:03 1998  Jeffrey A Law  (

	* pa.h (SELECT_SECTION): Fix thinko.

Tue Nov  3 17:51:36 1998  Jim Wilson  <>

	* dwarf2out.c (output_call_frame_info): Comments on last change.

Tue Nov  3 07:51:43 1998  Richard Earnshaw  (

	* arm.c (add_constant): When taking the address of an item in the
	pool, get the mode of the item addressed.

	* arm.c (final_prescan_insn case INSN): If an insn doesn't
	contain a SET or a PARALLEL, don't consider it for conditional

	Restore ABI compatibility for NetBSD.
	* arm/netbsd.h (DEFAULT_PCC_STRUCT_RETURN): Override setting in
	(RETURN_IN_MEMORY): Likewise.

Mon Nov  2 11:46:17 1998  Doug Evans  <>

	* m32r/m32r.c (m32r_expand_block_move): Fix byte count computations.
	(m32r_output_block_move): Rewrite bytes < 4 handling.

Mon Nov  2 10:10:35 1998  Kaveh R. Ghazi  <>


	* collect2.c: Define VFORK_STRING as a printable string for
	error messages (either "vfork" or "fork".)  If HAVE_VFORK_H is
	defined, include vfork.h.  If VMS is defined, define vfork()
	appropriately.  Remove vfork check on USG, we're using autoconf.
	(collect_execute): Pass VFORK_STRING to fatal_perror instead of
	checking locally what string to pass.
	(scan_prog_file): Likewise.
	(scan_libraries): Likewise.

	* gcc.c: Remove vfork check on USG, we're using autoconf.
	Besides, no calls to vfork/fork occur in this file.

	* protoize.c: Likewise.

Mon Nov  2 07:52:28 1998  Alexandre Oliva  <>

	* (DEFAULT_LINKER): Renamed from LD.
	(DEFAULT_ASSEMBLER): Renamed from AS; reverted Schwab's patch.
	(gcc_cv_as): Try $DEFAULT_ASSEMBLER before $AS.
	* configure: Rebuilt.

Mon Nov  2 01:48:10 1998  Alexandre Oliva  <>

	* BUGS: Fix the regexp for `more' to find the appropriate node.
	Reported by Joerg Pietschmann  <>

	* BUGS: Added link to the WWW FAQ.

Sun Nov  1 18:27:15 1998  Jeff Law  (

	* version.c: Bump for snapshot.

Sun Nov  1 11:04:32 1998  Jeffrey A Law  (

	* From Christian Gafton:
	* i386/linux.h (CPP_PREDEFINES): Add -D__i386__.
	* sparc/linux.h (CPP_PREDEFINES): Add -D__sparc__.
	* sparc/linux64.h (CPP_PREDEFINES): Add -D__sparc__.

Sat Oct 31 21:42:39 1998  Mark Mitchell  <>

	* c-common.c (c_get_alias_set): Allow all type-punning through
	unions.  Don't get confused about the type of a bit-field, despite
	the antics of build_modify_expr.

Sat Oct 31 22:35:29 1998  Jean-Pierre Radley  <>

	* fixinc.sco: Parameterize #include_next values.
	* fixinc/fixinc.sco: Likewise.

Sat Oct 31 20:39:35 1998  Jeffrey A Law  (

	* toplev.c (rest_of_compilation): No longer set reload_completed.
	* reload1.c (reload): Set it here.  Perform instruction splitting
	after reload has completed if we will be running the scheduler

Sat Oct 31 12:30:02 1998  Jeffrey A Law  (

	* jump.c (jump_optimize): Initialize mappings from INSN_UID to
	EH region if exceptions are enabled and we're performing cross
	jump optimizations.
	(find_cross_jump): Exit loop if the insns are in different EH regions.

Sat Oct 31 10:02:48 1998  Mark Mitchell  <>

	* dwarf2out.c (output_call_frame_info): Use
	ASM_OUTPUT_DWARF_DELTA4 for the CIE offset to match frame.c.

Sat Oct 31 10:23:14 1998  Kaveh R. Ghazi  <>

	Reinstall Apr 24th fix, lost during May 6th gcc2 merge:
	* c-common.c (check_format_info): Don't check for the 'x'
	format character twice, instead check for 'x' and 'X'

Fri Oct 30 14:50:25 1998  Jeffrey A Law  (

	* (assembler features): Also make gas is configured if
	we find it in the source tree.

Fri Oct 30 13:23:20 1998  Richard Henderson  <>

	* i386.c (i386_comp_type_attributes): Compare whether the
	attributes are defined, not their tree nodes.

Fri Oct 30 11:39:47 1998  Alexandre Oliva  <>

	* (gxx_include_dir): Bitten by autoconf quoting
	characters.  :-(
	* configure: Rebuilt.

Fri Oct 30 10:43:29 1998  Andreas Schwab  <>

	* Ignore non-absolute value in $AS.

Fri Oct 30 00:54:25 1998  Peter Jakubek  <>

	* m68k.h (INDIRECTABLE_1_ADDRESS_P): Fix thinko.

Fri Oct 30 00:42:34 1998  Mark Elbrecht  <>

	* (msdosdjgpp): Set exeext and target_alias.

Thu Oct 29 23:55:43 1998  Bernd Schmidt  <>

	* flow.c (XNMALLOC): New macro.
	(flow_int_list_blocks, basic_block_succ, basic_block_pred): New
	static variables.
	(add_edge, add_edge_to_label): New static functions.
	(free_bb_memory): New function.
	(flow_delete_insn): Delete function.
	(basic_block_drops_in): Delete variable.
	(find_basic_blocks): Allocate and initialize basic_block_head,
	basic_block_succ.  Don't allocate basic_block_drops_in.
	Call free_bb_memory at the beginning.
	(find_basic_blocks_1): Don't do multiple passes.
	Delete code to compute basic_block_drops_in.
	After calling make_edges, mark blocks reached by current block live.
	Update test for unreachable live blocks.
	(mark_label_ref): Delete args X, CHECKDUP.  Add PRED arg.  All callers
	Simplify to call add_edge_to_label when a LABEL_REF is found.
	(make_edges): Simplify to call add_edge_to_label instead of
	mark_label_ref most of the time.
	Compute here whether control drops into the next block.
	(delete_unreachable_blocks): Return void.  All callers changed.
	Delete unreachable blocks in reverse order.
	After deleting all unreachable blocks, renumber the remaining ones
	and update n_basic_blocks.
	(delete_block): Speed up deletion a bit.
	Don't set basic_block_drops_in for deleted blocks.
	(free_basic_block_vars): Don't free basic_block_drops_in.
	(life_analysis_1): Update to use new edge representation.
	(dump_flow_info): Delete code to print basic block info; call
	dump_bb_data instead.
	(compute_preds_succs): Delete code to recompute basic_block_drops_in
	and uid_block_number.
	Simply copy the previously computed cfg.
	(dump_bb_data): New arg LIVE_INFO.  All callers changed.
	Print register lifetime information if LIVE_INFO is nonzero.
	* basic-block.h (dump_bb_data): Adjust prototype.
	* gcse.c (gcse_main): Update call to dump_bb_data.
	* rtl.h (free_bb_memory): Declare.
	* toplev.c (rest_of_compilation): Call free_bb_memory.

	* reload1.c (struct elim_table): Delete MAX_OFFSET member.
	(update_eliminable_offsets): Don't compute it.
	(set_initial_elim_offsets): Don't initialize it.
	Break out some code into set_initial_label_offsets so the rest of
	this function can be called from reload_as_needed.
	Assume that INITIAL_FRAME_POINTER_OFFSET is defined when
	(set_initial_label_offsets): New function, broken out of
	(set_offsets_for_label): New function, broken out of set_label_offsets
	and reload_as_needed.
	(reload): Call the two new functions.
	(reload_as_needed): Call set_initial_elim_offsets instead of
	duplicating the code.  Likewise for set_offsets_for_label.

	* reload1.c (choose_reload_regs): Fix typo in Oct 17 change.
	(emit_reload_insns): Ensure that when we set reg_reloaded_valid for
	any hard reg, reg_reloaded_dead contains valid data.

Thu Oct 29 22:30:54 1998  Marcus Meissner  <>

	* i386.c (i386_comp_type_attributes): Return nonzero for mismatched
	"stdcall" and "cdecl" attributes.

Thu Oct 29 19:05:17 1998  Jim Wilson  <>

	* sched.c (update_flow_info): Add code to ! found_orig_dest case to
	handle deleted no-op moves of hard registers.
	* haifa-sched.c (update_flow_info): Likewise.

Thu Oct 29 18:07:47 1998  Jeffrey A Law  (

	* (reload_{in,out}{si,di}): Emit a USE of HILO at the end
	of the sequences to reload the HILO register which do not actually
	reference HILO.

Thu Oct 29 12:39:35 1998  Jim Wilson  <>

	* c-common.c (c_get_alias_set): Handle ARRAY_REF of union field.

Thu Oct 29 14:10:22 1998  Andrew MacLeod  <>

	* except.c (emit_eh_context): Make the EH context register stay alive
	at -O0 so stupid.c doesn't get confused.

1998-10-29  Herman A.J. ten Brugge  <>

	* emit-rtl.c (try_split): Do not try to split a BARRIER.

Thu Oct 29 01:33:54 1998  Jan Hubicka  <>
			  Jeffrey A Law  (

	(zero_extendsidi2): Use # in output template and handle completely by
	(zero_extend splitters): New define_splits.
	(ashiftrt_32): New pattern.

Wed Oct 28 22:58:35 1998  Jason Merrill  <>

	* tree.c (append_random_chars): New fn.
	(get_file_function_name_long): Use it.

Wed Oct 28 22:27:05 1998  Richard Henderson  <>

	* (cc1): Put C_OBJS, and thence @extra_c_objs@ last.
	(LIBCPP_OBJS): New.  Add cppulp.o.
	(cppmain, fix-header): Depend on and use libcpp.a.
	* (extra_c_objs, extra_cxx_objs): Use libcpp.a instead
	of the individual object files.
	* objc/ (cc1obj): Put OBJC_OBJS, and thence @extra_c_objs@,

	* cccp.c (user_label_prefix): New.
	(main): Set it off -f*leading-underscore.
	(special_symbol): Use it.
	* cpplib.c (special_symbol): Likewise.
	(cpp_handle_option): Handle -f*leading-underscore.
	* cppulp.c: New file.

	* output.h (user_label_prefix): Declare it.
	* dwarf2out.c (ASM_NAME_TO_STRING): Prepend user_label_prefix.
	* toplev.c (f_options, main): Handle -f*leading-underscore.

	* defaults.h (ASM_OUTPUT_LABELREF): Use asm_fprintf instead of
	referencing USER_LABEL_PREFIX directly.
	* config/nextstep.h (ASM_OUTPUT_LABELREF): Likewise.
	* m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
	* final.c (asm_fprintf): Use user_label_prefix instead.
	* arm/thumb.c (thumb_print_operand): Likewise.

	* gcc.c (default_compilers): Pass -f*leading-underscore on to
	cpp wherever appropriate.

Wed Oct 28 23:09:25 1998  Robert Lipe  <>

	* sco5.h (SUBTARGET_SWITCHES): Add documentation for OpenServer-
	specific compiler switches.

Wed Oct 28 21:05:53 1998  Jeffrey A Law  (

	* (c-common.o): Depend on c-pragma.h.  Use $(RTL_H) instead
	of rtl.h.

Wed Oct 28 20:52:47 1998  Kaveh R. Ghazi  <>

	* gcc.c (EXTRA_SPECS, extra_specs): Introduce an intermediate
	structure which has exactly the members provided by EXTRA_SPECS.
	Xmalloc() the real `extra_specs', and initialize it from this
	intermediate structure.

	* alpha.h (EXTRA_SPECS): Revert change for missing initializers.

	* mips.h  (EXTRA_SPECS): Likewise.

	* sparc.h (EXTRA_SPECS): Likewise.

Wed Oct 28 16:46:07 1998  Andreas Schwab  <>

	* function.c (purge_addressof_1): Instead of aborting when a
	bitfield insertion as a replacement for (MEM (ADDRESSOF)) does not
	work just put the ADDRESSOF on stack.  Otherwise remember all such
	successful replacements, so that exactly the same replacements
	can be made on the REG_NOTEs.  Remove the special case for CALL
	insns again.
	(purge_addressof_replacements): New variable.
	(purge_addressof): Clear it at end.

1998-10-28  Zack Weinberg  <>

	* c-lang.c: Declare extern char *yy_cur if USE_CPPLIB.
	  (lang_init): Call check_newline always.
	* c-lex.c (init_parse) [USE_CPPLIB=1]: After calling
	  cpp_start_read, set yy_cur and yy_lim to read from
	  parse_in.token_buffer, so that we'll see the first #line
	* cpplib.c (cpp_start_read): finclude the main input file
	  before processing -include/-imacros.	 Process -imacros and
	  -include separately, and handle -include by stacking a
	  buffer for the file in question as if it'd been #included.
	* toplev.c (documented_lang_options): Recognize -H when
	  USE_CPPLIB is on.

1998-10-28  Zack Weinberg  <>

	* cpplib.c: Merge do_once into do_pragma.  Break file handling
	  code out of do_include.
	  Move append_include_chain, deps_output,
	  file_cleanup, redundant_include_p, import_hash,
	  lookup_import, add_import, read_filename_string, read_name_map,
	  open_include_file, finclude, safe_read to cppfiles.c.
	  Move prototypes for deps_output, append_include_chain,
	  finclude to cpplib.h.  Move definition of struct
	  file_name_list there also.

	* cppfiles.c: New file.  Contains all the above functions
	  broken out of cpplib.c; also hack_vms_include_specification
	  from cccp.c and find_include_file, a new function broken out of

	* (cppmain): Depend on cppfiles.o.
	  (fix-header): Likewise.
	  (cppfiles.o): New target.
	* (--enable-c-cpplib): Add cppfiles.o to
	  extra_c_objs.  Add ../cppfiles.o to extra_cxx_objs.

Wed Oct 28 14:06:49 1998  Jim Wilson  <>

	* dwarfout.c (dwarfout_file_scope_decl): If DECL_CONTEXT, don't abort
	if pending_types is non-zero.
	(dwarfout_finish): Verify pending_types is zero before finishing.

Wed Oct 28 10:29:09 1998  Nick Clifton  <>

	* expr.c (convert_move): Use shifts to perform the move if a
	suitable extend pattern cannot be found.  Code written by
	Richard Henderson <>.

Wed Oct 28 03:59:29 1998  Bernd Schmidt  <>

	* regclass.c (renumber, regno_allocated): New static variables, moved
	out of allocate_reg_info.
	(allocate_reg_info): Move these two variables outside the function.
	Move code to free memory into new function free_reg_info.
	(free_reg_info): New function, broken out of allocate_reg_info.
	* toplev.c (compile_file): Call free_reg_info, not allocate_reg_info.
	* rtl.h (allocate_reg_info): Don't declare.
	(free_reg_info): Declare.

	* final.c (cleanup_subreg_operands): ASM_INPUTs need no treatment.

Wed Oct 28 02:38:12 1998  Jason Merrill  <>

	* toplev.c (compile_file): Temporarily revert last change.

Wed Oct 28 00:00:35 1998  Jason Merrill  <>

	* c-typeck.c (convert_for_assignment): Parenthesize.

1998-10-28  Andreas Schwab  <>

	* reload1.c (delete_output_reload): Avoid ambigous else.

Wed Oct 28 00:10:35 1998  Jeffrey A Law  (

	* toplev.c (compile_file): Call allocate_reg_info to free register
	table memory.
	* rtl.h (allocate_reg_info): Declare.

	* PROJECTS: Remove entry for local spilling.

	* final.c (cleanup_subreg_operands): New function.
	(final_scan_insn): Use it.
	(alter_subreg): Clear the "used" field when we turn a SUBREG into
	a REG.
	* reload1.c (reload): Delete CLOBBER insns and also cleanup SUBREG
	operands when reload has finished.
	* reload.h (cleanup_subreg_operands): Declare..
	* flow.c (life_analysis_1): No longer delete CLOBBER insns after
	reload.  Handled in reload itself.

Tue Oct 27 23:32:34 1998  Bernd Schmidt  <>

	* reload1.c (verify_initial_offsets): New function.
	(reload): Call it after reload_as_needed.  Also verify that the frame
	size stays constant during reload_as_needed.
	* i386.h (CONST_DOUBLE_OK_FOR_LETTER_P): Undo Jul 26 change.

	* reload.h (struct insn_chain): Add need_operand_change element.
	* reload1.c (new_insn_chain): Clear it.
	(calculate_needs_all_insns): Set it; don't overload need_reload.
	(reload_as_needed): Use it.

	* reload.c (find_reloads_address): Use BASE_REG_CLASS instead of
	reload_address_base_reg_class throughout.  Similar for INDEX_REG_CLASS
	and reload_address_index_reg_class.
	(find_reloads_address_1): Likewise.
	* reload.h (reload_address_base_reg_class,
	reload_address_index_reg_class): Don't declare.
	* reload1.c (reg_old_renumber, pseudo_previous_regs,
	pseudo_forbidden_regs, bad_spill_regs_global): New static variables.
	(used_spill_regs): Now static.
	(reload_address_base_reg_class, reload_address_index_reg_class,
	regs_explicitly_used, counted_for_groups, counted_for_nongroups,
	basic_block_needs, max_needs, group_size, group_mode, max_groups,
	max_nongroups, max_needs_insn, max_groups_insn, max_nongroups_insn,
	Deleted variables.
	(init_reload): Delete code to compute base/index reg classes.
	(reload): Delete variable J.
	Delete code to manage basic_block_needs.
	Don't compute regs_explicitly_used.
	Allocate, initialize and free reg_old_renumber, pseudo_forbidden_regs,
	Initialize bad_spill_regs_global.
	Don't call order_regs_for_reload here.
	Don't initialize spill_reg_order and n_spills.
	Don't forbid explicitly used regs to be used for spill regs.
	Change main loop to infinite loop, with explicit break statements.
	Make SOMETHING_CHANGED variable local to that loop.
	Don't initialize max_needs, max_groups, max_nongroups, max_needs_insn,
	max_groups_insn, max_nongroups_insn, group_size, group_mode.
	Make sure spilled_pseudos is cleared before calling spill_hard_reg or
	Don't call dump_needs.
	Delete code to reset potential_reload_regs.
	Delete code to terminate loop conditional on the global needs variables
	showing no further needs.
	(calculate_needs_all_insns): Return void.  All callers changed.
	Initialize something_needs_elimination here, not in reload.
	Delete avoid_return_reg kludge.
	(calculate_needs): Lose AVOID_RETURN_REG and GLOBAL args, return void.
	All callers changed.
	Initialize the group_mode and group_size elements of the arg CHAIN.
	Delete code to manage basic_block_needs.
	Operate on elements of CHAIN instead of global variables.
	Delete avoid_return_reg kludge.
	(find_tworeg_group): Lose GLOBAL arg, take CHAIN arg, return void.
	All callers changed.
	Operate on elements of CHAIN instead of global variables.
	Delete special SMALL_REGISTER_CLASSES code.
	Delete spill_failure code; now in new_spill_reg.
	(find_group): Lose GLOBAL arg, take CHAIN arg, return void.
	All callers changed.
	Operate on elements of CHAIN instead of global variables.
	(maybe_mark_pseudo_spilled): New static function.
	(find_reload_regs): Lose GLOBAL arg, take CHAIN arg, return void.
	All callers changed.
	Operate on elements of CHAIN instead of global variables.
	Call order_regs_for_reload here, not in reload.
	Initialize spill_reg_order and n_spills.
	Simplify test whether an asm insn is involved.
	Delete spill_failure code; now in new_spill_reg.
	Call maybe_mark_pseudo_spilled for everything marked as live in
	CHAIN.  Merge CHAIN's used_spill_regs into the global variable
	(dump_needs): Take CHAIN arg.  No longer static, to prevent the
	compiler from optimizing this function (now unused) away.
	Operate on elements of CHAIN instead of global variables.
	(possible_group_p): Lose MAX_GROUPS arg, take CHAIN arg.  All callers
	Operate on elements of CHAIN instead of global variables.
	(count_possible_groups): Lose GROUP_SIZE, GROUP_MODE, MAX_GROUPS args,
	take CHAIN arg.  All callers changed.
	Operate on elements of CHAIN instead of global variables.
	(new_spill_reg): Lose MAX_NEEDS, MAX_NONGROUPS, GLOBAL args, take
	CHAIN, NONGROUP args.  Return void.  All callers changed.
	Verify caller isn't trying to spill a pseudo.
	Simplify test for illegal reg, just use bad_spill_regs.
	Generate better error messages.
	Operate on elements of CHAIN instead of global variables.
	Mark spilled register in CHAIN's used_spill_regs element.
	Don't call spill_hard_reg.
	(spill_hard_reg): Lose GLOBAL arg, return void.  All callers changed.
	Mark spilled hard regs in bad_spill_regs_global.
	Mark affected pseudos in spilled_pseudos, but don't spill them.
	(ior_hard_reg_set): New static function.
	(finish_spills): Return int.  All callers changed.
	Compute spill_reg_order, n_spills and spill_regs here.  Also update
	regs_ever_live for regs used as spills.
	For every pseudo in spilled_pseudos, spill it and mark the previous
	hard reg it had in pseudo_previous_regs.  Compute which hard regs
	are used as spills in insns during which it is live, and retry global
	register allocation.  Update all life information in the
	reload_insn_chain not to include pseudos without hard regs.
	Call alter_reg for all affected speudos.

	(scan_paradoxical_subregs): Disable SMALL_REGISTER_CLASSES special
	case, it's not clear what it's supposed to do.

	(hard_reg_use_compare): Take bad_spill_regs into account.
	(pseudos_counted): New static variable.
	(count_pseudo): New static function.
	(order_regs_for_reload): Take CHAIN arg.  All callers changed.
	Initialize bad_spill_regs from bad_spill_regs_global, then merge any
	hard registers explicitly used across the current insn into the set.
	Compute hard_reg_n_uses taking only pseudos live across this insn
	into account.
	Tweak sorting of potential_reload_regs.
	(compare_spill_regs): Delete function.
	(reload_as_needed): Don't sort the spill_regs array, it's computed
	in proper order in finish_spills.
	Delete avoid_return_reg kludge.
	Delete code to manage basic_block_needs.
	(allocate_reload_reg): Minor speed/readability tweaks.
	Operate on elements of CHAIN instead of global variables.
	(choose_reload_regs): Lose AVOID_RETURN_REG arg.  All callers changed.
	Delete avoid_return_reg kludge.
	Initialize reload_reg_used from CHAIN's used_spill_regs element.
	Delete unused label FAIL.
	(reload_combine): Replace reload_address_index_reg_class with
	Don't use used_spill_regs to determine information about lifetime of
	hard regs.

Tue Oct 27 13:15:02 1998  Nick Clifton  <>

	* toplev.c (display_help): Ignore empty target specific
	options, and if -W is also specified on the command line then
	display undocumented options.

	* config/arm/arm.c: Updated with changes in devo sources.
	* config/arm/arm.h: Updated with changes in devo sources.
	* config/arm/lib1funcs.asm: Updated with changes in devo sources.
	* config/arm/lib1thumb.asm: Add ELF support.

Tue Oct 27 16:11:43 1998  David Edelsohn  <>

	* collect2.c (aix64_flag): New variable.
	(main, case 'b'): Parse it.
	(GCC_CHECK_HDR): Object magic number must match mode.
	(scan_prog_file): Only check for shared object if valid header.
	Print debugging if header/mode mismatch.

Tue Oct 27 10:15:02 1998  Nick Clifton  <>

	Added support for arm-elf-linux configuration, submitted by Philip
	Blundell <>, and integrated this with the arm-elf
	code developed by Catherine Moore <>.  The following
	files are affected:

	* Add arm-*-linux-gnu, armv2-*-linux and arm-*-elf

	* configure: Regenerated.

	* config/arm/aout.h: Add default definitions of REGISTER_PREFIX,
	definitions conditional on their not having been already defined.

	* config/arm/lin1funcs.asm: Add ELF only macros to generate .size
	and .type directives, and add "(PLT)" qualification to function

	* config/arm/linux.h: Deleted.  This file is now superseded by
	either linux-elf.h or linux-aout.h.

	* config/arm/linux-gas.h: Define `inhibit_libc' if cross-compiling.
	(CLEAR_INSN_CACHE): New macro, currently disabled (awaiting kernel
	Move definitions from old linux.h file here.

	* config/arm/elf.h: New file.  Generic ARM/ELF support.

	* config/arm/linux-aout.h: New file.  Support for Linux with a.out.

	* config/arm/linux-elf.h: New file.  Support for Linux with ELF.

	* config/arm/linux-elf26.h: New file.  Support for Linux with ELF
	using the 26bit APCS.

	* config/arm/unknown-elf.h: New file.  Support for OS'es other
	than Linux with ELF.

	* config/arm/t-arm-elf: New file.  makefile fragment for arm-elf

	* config/arm/coff.h: Include aout.h for basic assembler macros.
	Add support for -mstructure_size_boundary=<n> command line option.

	* config/arm/arm.h: Add support for -mstructure_size_boundary=<n>
	command line option.  Make macro definitions conditional on their
	not having been already defined.

	* config/arm/arm.c: Add support for -mstructure_size_boundary=<n>
	command line option.

Tue Oct 27 08:56:46 1998  Andrew MacLeod  <>

	has been changed to not include a newline. Use this macro instead.
	(output_enumeral_list, const_value_attribute, name_attribute,
	comp_dir_attribute, prototyped_attribute, producer_attribute,
	inline_attribute, pure_or_virtual_attribute, output_inheritance_die,
	dwarfout_file_scope_decl, generate_new_sfname_entry,
	generate_macinfo_entry, dwarfout_init, dwarfout_finish): Use

Mon Oct 26 13:35:02 1998  Richard Henderson  <>

	* combine.c (subst): Process the inputs to a parallel asm_operands
	only once.

Mon Oct 26 13:32:31 1998  Richard Henderson  <>

	* stmt.c (expand_asm_operands): Accept `=' or `+' at any position.

Mon Oct 26 12:53:14 1998  Jeffrey A Law  (

	* tm.texi (ASM_OUTPUT_MAX_SKIP_ALIGN): Document.

Mon Oct 26 00:36:58 1998  Jeff Law  (

	* version.c: Bump for snapshot.

Sun Oct 25 23:36:52 1998  Jason Merrill  <>

	* stmt.c (expand_fixup): Set fixup->before_jump to a

Sun Oct 25 15:49:57 1998  Kaveh R. Ghazi  <>

	* (recog.o): Depend on toplev.h.
	(insn-emit.o): Depend on recog.h.
	(insn-peep.o): Depend on recog.h and insn-config.h.

	* combine.c (simplify_set): Remove unused variable `scratches'.

	* final.c (final_scan_insn): Wrap declaration of variables `vlen'
	and `idx' in macro conditional controlling their use.

	* genemit.c (main): Make the generated output file include
	recog.h.  Don't have it declare `insn_operand_constraint', since
	we get it from recog.h.

	* genpeep.c (main): Make the generated output file include
	insn-config.h and recog.h.

	* recog.c: Include toplev.h.
	(extract_insn): Remove unused variable `p'.

	* regclass.c (fix_register): Add missing braces around initializer
	for `what_option'.
	(allocate_reg_info): Move variable `i' into the scope where it is
	used.  Change its type to `size_t'.

Sun Oct 25 13:10:15 1998  Bernd Schmidt  <>

	* reload.c (push_reload): When merging reloads, make sure
	that reload_in_reg and reload_in are from the same reload in
	all cases.

Sun Oct 25 12:07:00 1998  Mumit Khan  <>

	* i386/crtdll.h (CPP_PREDEFINES): Fix typo.
	* i386/mingw32.h (CPP_PREDEFINES): Likewise.

Fri Oct 23 23:42:03 1998  David Edelsohn  <>

	* loop.c (loop_has_tablejump): New variable.
	(prescan_loop): Scan for it.
	(insert_bct): Replace explicit scan with use of it.
	* regclass.c (regclass): Restore loop variable j.
	(record_reg_classes): Deterine op_types modifiers and initialize
	classes[i] before matching constraints.  Handle matching
	constraints 5-9.

Fri Oct 23 13:55:48 1998  Jim Wilson  <>

	* m32r/m32r.c (gen_split_move_double): Call alter_subreg.  Delete
	subreg support.

Fri Oct 23 16:19:24 1998  Kaveh R. Ghazi  <>

	* mips.h (EXTRA_SPECS): Add missing initializers.

Fri Oct 23 16:08:39 1998  Kaveh R. Ghazi  <>

	* sparc.h (EXTRA_SPECS): Add missing initializers.
	(sparc_defer_case_vector): Provide a prototype.

	* svr4.h (ASM_OUTPUT_ASCII): Cast STRING_LIMIT to (long) when
	comparing it to the result of a pointer subtraction.

Fri Oct 23 15:34:14 1998  Kaveh R. Ghazi  <>

	* alpha.c (override_options): Use ISDIGIT(), not isdigit().  Cast
	the argument to (unsigned char).

	* alpha.h (EXTRA_SPECS): Add missing initializers.
	(ASM_GENERATE_INTERNAL_LABEL): Ensure the argument matches the
	format specifier.

Fri Oct 23 13:12:35 1998  Jeffrey A Law  (

	* flow.c (life_analysis_1): Enable "rescan" code after reload.
	(propagate_block): Delete dead code after reload.

	* sched.c (update_flow_info): Revert Oct 19, 1998 change.  Brings
	back Oct 15, 1998 change.
	* haifa-sched.c (update_flow_info): Likewise.
	* flow.c (life_analysis_1): Delete CLOBBER insns after reload.

	* (truncated shift): Accept constant inputs too.

Fri Oct 23 04:06:57 1998  Richard Earnshaw  (

	* machmode.h (mode_mask_array): No longer const.
	* rtl.c (init_rtl): Fully initialize it if EXTRA_CC_MODES defined.

Fri Oct 23 11:19:06 1998  Martin v. L÷wis  <>

	* frame.c: Somewhat explain `FDE'.
	Suggested by Brendan Kehoe

Fri Oct 23 00:56:11 1998  Jason Merrill  <>

	* expr.c (pending_chain): Move up.
	(save_expr_status): Do save pending_chain.
	(restore_expr_status): And restore it.
	* function.h (struct function): Add pending_chain.

1998-10-23  Herman A.J. ten Brugge  <>

	* reorg.c (relax_delay_slots): Fixed test for mostly_true_jump. The
	did not match the code.

Fri Oct 23 00:07:01 1998  Bernd Schmidt  <>

	* regclass.c (regclass): Break out some code into new function
	scan_one_insn, and into regclass_init.
	(init_cost): New static variable, moved out of regclass.
	(regclass_init): Initialize it here, not in .
	(scan_one_insn): New static function, broken out of regclass.
	* recog.c (apply_change_group): Break out some code into new
	function insn_invalid_p.
	(insn_invalid_p): New static fn, broken out of apply_change_group.

Thu Oct 22 22:34:42 1998  Jim Wilson  <>

	* reload1.c (reload_as_needed): When rewrite POST_INC, verify
	reg_reloaded_contents matches incremented pseudo.

	* v850/v850.c (v850_reorg): Call alter_subreg.  Delete subreg support.

Fri Oct 23 11:11:56 1998  Michael Hayes  <>

	* rtl.def (POST_MODIFY, PRE_MODIFY): New generalized operators for
	addressing modes with side effects.  These are currently
	placeholders for the C4x target.

Thu Oct 22 16:46:35 1998  Bernd Schmidt  <>

	* loop.c (express_from): Make sure that when generating a PLUS of
	a PLUS, any constant expression appears on the outermost PLUS.

Thu Oct 22 15:46:23 1998  Per Bothner  (

	* (distdir-cvs, distdir-start): Clean up so it
	works if "$(srcdir)" != ".".

Wed Oct 21 19:23:59 1998  Jim Wilson  <>

	* expmed.c (store_bit_field): If need to add a SUBREG, then remove
	existing SUBREG if we can, otherwise abort.

Wed Oct 21 09:58:51 1998  Mark Mitchell  <>

	* c-common.c (c_apply_type_quals_to_decl): Don't crash when
	`restrict' is applied to a non-pointer variable.

Wed Oct 21 09:18:58 1998  Mark Mitchell  <>

	* invoke.texi: Document -flang-isoc9x.

	* (OBJS): Add splay-tree.o.
	(c-common.o): Depend on rtl.h.
	(splay-tree.o): List dependencies and provide build rule.

	* rtl.h (record_alias_subset): New function.
	* alias.c: Include splay-tree.h.
	(alias_set_entry): New type.
	(DIFFERENT_ALIAS_SETS_P): Use mem_in_disjoint_alias_sets_p.
	(mems_in_disjoin_alias_sets_p): New function.
	(alias_set_compare): Likewise.
	(insert_subset_children): Likewise.
	(get_alias_set_entry): Likewise.

	* tree.h (TYPE_RESTRICT): New macro.
	(TYPE_UNQUALIFIED): New manifest constant.
	(TYPE_QUAL_CONST): Likewise.
	(tree_type): Add restrict_flag.  Reduce count of free bits.
	(tree_decl): Add pointer_alias_set.
	(build_qualified_type): New function.
	(build_type_variant): Define in terms of build_qualified_type.
	* tree.c (set_type_quals): New function.
	(make_node): Initialize DECL_POINTER_ALIAS_SET.
	(build_type_attribute_variant): Use build_qualified_type and
	(build_type_variant): Rename, and modify, to become...
	(build_qualified_type): New function.
	(build_complex_type): Use set_type_quals.

	* c-tree.h (C_TYPE_OBJECT_P): New macro.
	(C_TYPE_FUNCTION_P): Likewise.
	(c_apply_type_quals_to_decl): New function.
	(c_build_qualified_type): New function.
	(c_build_type_variant): Define in terms of c_build_qualified_type.
	(flag_isoc9x): Declare.
	* c-typeck.c (qualify_type): Use c_build_qualified_type.
	(common_type): Change to use TYPE_QUALS.
	(comptypes): Likewise.
	(convert_for_assignment): Likewise.
	* c-aux-info.c (gen_type): Likewise.  Deal with `restrict'.
	* c-decl.c (flag_isoc9x): Define.
	(c_decode_option): Handle -flang-isoc9x.
	(grokdeclarator): Update to handle restrict.  Use TYPE_QUALS,
	c_build_qualified_type, etc.  Use c_apply_type_quals_to_decl.
	* c-lex.c (init_lex): Deal with restrict.
	(init_lex): Don't treat restrict as a reserved word in
	-traditional mode, or without -flang-isoc9x.
	* c-lex.h (rid): Add RID_RESTRICT.
	* c-parse.gperf (restrict, __restrict, __restrict__): Make
	equivalent to RID_RESTRICT.
	* (TYPE_QUAL): Update comment.
	* c-common.c: Include rtl.h.
	(c_find_base_decl): New function.
	(c_build_type_variant): Rename, and modify, to become ...
	(c_build_qualified_type): New function.
	(c_apply_type_quals_to_decl): Likewise.
	(c_get_alias_set): For INDIRECT_REFs, check to see if we can find
	a particular alias set for the reference.
	* toplev.c (documented_lang_options): Add -flang-isoc9x.

Wed Oct 21 09:15:06 1998  Nick Clifton  <>

	* config/arm/arm.h (TARGET_SWITCHES): Document arm specific
	command line switches.

Tue Oct 20 10:04:51 1998  Graham  <>

	* reload.c (loc_mentioned_in_p): Add missing braces to bind
	else to correct if.

Mon Oct 19 16:34:05 1998  Tom Tromey  <>

	* gcc.c (option_map): Added --classpath and --CLASSPATH.

Tue Oct 20 10:59:02 1998  Gavin Romig-Koch  <>

	* regclass.c (fix_register): Add error message.
	* invoke.texi (-fcall-used-REG,-fcall-saved-REG): Note the
	  new error message.

Tue Oct 20 10:12:17 1998  Kaveh R. Ghazi  <>

	* c-decl.c (warn_missing_noreturn): New global variable.
	(c_decode_option): Check for new flags -W{no-}missing-noreturn.
	(finish_function): Implement missing noreturn warning.

	* c-tree.h (warn_missing_noreturn): Declare extern.

	* invoke.texi: Document new flags.

	* toplev.c (documented_lang_options): Add description.

Tue Oct 20 22:16:11 1998  Michael Hayes  <>

	* config/c4x/c4x.c (c4x_parallel_process): Disable until BCT
	loop optimization stable for the C4x.
	(c4x_rptb_info_t, c4x_dump, c4x_rptb_in_range, c4x_rptb_unjumped_loop,
	c4x_rptb_find_comp_and_jump, c4x_rptb_loop_info_get,
	c4x_rptb_emit_init, c4x_rptb_process): Deleted (superseded by BCT
	loop optimization).
	(c4x_address_conflict): Be more paranoid when packing a volatile
	memref in a parallel load/store.

Tue Oct 20 21:56:05 1998  Michael Hayes  <>

	* config/c4x/ (repeat_block_top, repeat_block_end,
	repeat_block_filler): Deleted.
	(*ashlqi3_set, *ashrqi3_const_set, *ashrqi3_nonconst_clobber):
	Condition code not set if destination register from 'c' class.
	(*subbqi3_carry_clobber): Fix typo.

1998-10-18  Herman A.J. ten Brugge  <>

	* reorg.c (steal_delay_list_from_target): Check for insns that
	modify the condition codes and effect the direction of the jump
	in the sequence.

Sat Oct 17 13:09:09 1998  Graham  <>

	* function.c (purge_addressof_1): Replace call to
	emit_insns_before() with emit_insn_before().

Mon Oct 19 19:34:03 1998  Mike Stump  <>

	* libgcc2.c (__pure_virtual): Call __terminate instead of _exit.

Mon Oct 19 13:26:24 1998  Bernd Schmidt  <>

	* jump.c (sets_cc0_p): Compile only if HAVE_cc0.

Mon Oct 19 11:40:56 1998  Jeffrey A Law  (

	* gcse.c (compute_hash_table): Correctly identify hard regs which are
	clobbered across calls.

	* loop.c (scan_loop): Be more selective about what invariants are
	moved out of a loop.

Mon Oct 19 10:46:58 1998  Jeff Law  (

	* version.c: Bump for snapshot.

Mon Oct 19 11:40:56 1998  Jeffrey A Law  (

	* libgcc2.c (eh_context_static): Do not call malloc to allocate the
	static eh_context structure.

Mon Oct 19 10:45:40 1998  Bernd Schmidt  <>

	* combine.c (recog_for_combine): Lose PADDED_SCRATCHES arg.  All
	callers changed.
	(try_combine): Don't update max_scratch.
	* flow.c (max_scratch, num_scratch): Delete variables.
	(life_analysis_1): Don't initialize max_scratch.
	(propagate_block): Don't update max_scratch.
	(mark_set_1): Don't increment num_scratch.
	* regs.h (max_scratch): Delete declaration.

Mon Oct 19 10:28:15 1998  Jeffrey A Law  (

	* reload1.c (reload_reg_free_before_p): Hack.  Return 0 if EQUIV
	is nonzero.  This is temporary!

	* sched.c (update_flow_info): Handle death notes made invalid by
	instruction splitting.  Partially reverts Oct 15, 1998 patch.
	* haifa-sched.c (update_flow_info): Likewise.

Sun Oct 18 17:31:26 1998  Jeffrey A Law  (

	* function.c (uninitialized_vars_warning): Do not warn for a VAR_DECL
	if it has a nonzero DECL_INITIAL.

Sat Oct 17 23:18:08 1998  Kaveh R. Ghazi  <>

	* (flow.o): Depend on recog.h.

	* cpplib.h (directive_table): Add missing initializiers.
	(finclude): Change type of variable `bsize' to size_t.

	* cse.c (rtx_cost): Mark parameter `outer_code' with ATTRIBUTE_UNUSED.

	* dwarfout.h (dwarfout_label): Wrap prototype in macro RTX_CODE.

	* fix-header.c (lookup_std_proto): Cast the result of `strlen' to
	`int' when comparing against one.
	(cpp_file_line_for_message): Mark parameter `pfile' with
	(cpp_fatal): Mark parameter `pfile' with ATTRIBUTE_UNUSED.

	* flow.c: Include recog.h.
	(sbitmap_copy): Cast arguments 1 & 2 of `bcopy' to (PTR).

	* function.c (thread_prologue_and_epilogue_insns): Mark parameter
	(reposition_prologue_and_epilogue_notes): Likewise.

	* genopinit.c (gen_insn): Cast argument of ctype functions to
	`unsigned char'.

	* haifa-sched.c: Include recog.h.
	(blockage_range): Cast result of UNIT_BLOCKED macro to (int) when
	comparing against one.

	* libgcc2.a (__throw): Revert ATTRIBUTE_UNUSED change for now.

	* mips-tfile.c (parse_end): Cast the argument of ctype function to
	`unsigned char'.
	(parse_ent): Likewise.
	(parse_input): Likewise.

	* optabs.c (init_libfuncs): Likewise.

	* protoize.c (find_rightmost_formals_list): Likewise.

	* recog.h (const_double_operand): Fix typo in prototype.

	* tlink.c (scan_linker_output): Cast the argument of ctype
	function to `unsigned char'.

	* toplev.c (check_lang_option): Cast the result of `strlen' to
	`int' when comparing against one.

Sat Oct 17 13:09:09 1998  Graham  <>

	* gcse.c (dump_cuid_table): Correct typo.

Sat Oct 17 11:02:47 1998  Nick Clifton  <>

	* toplev.c (display_help): Prepend '-m' to target specific
	(check_lang_option): Ignore text after end of first word of a
	language specific option.

Sat Oct 17 02:26:03 1998  Bernd Schmidt  <>

	* reload1.c (reg_used_by_pseudo): New static variable.
	(choose_reload_regs): Initialize it.
	Use it instead of testing spill_reg_order to determine whether a
	pseudo is live in a hard register across the current insn.
	Fix a typo in a reference to reload_reg_rtx.

	* flow.c (propagate_block): Replace code that computes and uses
	regs_sometimes_live with simpler code that just walks the set of
	currently live registers.

	* (insn-extract.o): Fix dependencies.
	* genextract.c (main): Generate includes for insn-config.h and
	Delete generation of declarations which are now in recog.h.
	* genrecog.c (main): Delete generation of definitions which are
	now in recog.c.
	* local-alloc.c (block_alloc): Use extract_insn and the variables
	it sets up instead of looking up values by insn_code.
	* recog.c (recog_operand, recog_operand_loc, recog_dup_loc,
	recog_dup_num): Define here instead of generating the definition in
	(recog_n_operands, recog_n_dups, recog_n_alternatives,
	recog_operand_mode, recog_constraints, recog_operand_address_p):
	New variables.
	(extract_insn): New function.
	* recog.h (extract_insn): Declare function.
	(which_alternative, recog_n_operands, recog_n_dups,
	recog_n_alternatives, recog_operand_mode, recog_constraints,
	recog_operand_address_p): Declare variables.
	* regclass.c (n_occurrences): New static function.
	* reload.c (n_occurrences): Delete function.
	(find_reloads): Use extract_insn.
	* reload.h (n_occurrences): Delete declaration.

Sat Oct 17 01:17:51 1998  Jeffrey A Law  (

	* reload1.c (reload_as_needed): Fix test for when to call

Fri Oct 16 20:40:50 1998  J"orn Rennecke  <>

	Fix consistency problems with reg_equiv_{mem,address};
	Improve reload inheritance;

	* reload.c (reload_out_reg): New variable.
	(loc_mentioned_in_p, remove_address_replacements): New functions.
	(remove_replacements): Deleted.
	(push_reload): Set reload_out_reg[i].
	When merging, also set reload_{in,out}_reg[i], and remove
	duplicate address reloads.
	(combine_reloads): Copy reload_out_reg[i].
	(find_reloads): Do make_memloc substitution also when
	reg_equiv_memory_loc[regno] and num_not_at_initial_offset
	are both nonzero.
	Include *recog_operand_loc in commutativity operand changes.
	Generate optional output reloads.
	Delete reference to n_memlocs.  Don't set *recog_operand_loc before
	processing operands.  Call make_memloc in reg_equiv_address code.
	Set *recog_operand_loc only after processing operands, and only
	if replace is true.  Return a value.
	When changing address reload types for operands that didn't get
	reloaded, use RELOAD_FOR_OPADDR_ADDRESS for
	Don't emit USEs for pseudo SUBREGs when not replacing.
	(find_reloads_address): Do make_memloc substitution also when
	reg_equiv_memory_loc[regno] and num_not_at_initial_offset
	are both nonzero.
	(find_reloads_toplev): Likewise.
	Call make_memloc in reg_equiv_address code.
	(debug_reload_to_stream): Add code to output reload_out_reg.
	(make_memloc): Delete local variable i, ifdefed out code, and
	references to memlocs and n_memlocs.
	(memlocs, n_memlocs): Delete.
	(push_secondary_reload): Clear reload_out_reg.
	(find_reloads_address_1): Provide memrefloc argument to all calls
	to find_reloads_address.
	In AUTO_INC code, handle non-directly addressable equivalences properly.
	* reload.h (reload_out_reg, num_not_at_initial_offset): Declare.
	(find_reloads): Add return type.
	(remove_address_replacements, deallocate_reload_reg): Declare.
	* reload1.c (num_not_at_initial_offset): No longer static.
	(delete_address_reloads, delete_address_reloads_1): Likewise.
	(deallocate_reload_reg): New function.
	(spill_reg_stored_to): New array.
	(eliminate_regs): Don't substitute from reg_equiv_memory_loc.
	(eliminate_regs_in_insn): Move assignments of previous_offset and
	max_offset fields, and recalculation of num_not_at_initial_offset
	into new static function:
	(update_eliminable_offsets) .
	(reload_as_needed): Call update_eliminable_offsets after calling
	Call forget_old_reloads_1 with contents of reloaded auto_inc
	expressions if the actual addressing can't be changed to match the
	(choose_reload_regs): For inheritance, replace
	reload_reg_free_before_p test with reload_reg_used_at_all test, and
	remove stand-alone reload_reg_used_at_all test.
	Use reload_out_reg to determine which reload regs have output reloads.
	Treat reload_override_in more similar to inherited reloads.
	Handle (subreg (reg... for inheritance.
	For flag_expensive_optimizations, add an extra pass to remove
	unnecessary reloads from known working inheritance.
	Delete obsolete code for pseudos replaced with MEMs.
	Handle inheritance from auto_inc expressions.
	(emit_reload_insns): If reload_in is a MEM, set OLD to
	Don't reload directly from oldequiv; if it's a pseudo with a
	stack slot, use reload_in[j].
	Check that reload_in_reg[j] is a MEM before replacing reload_in
	from reg_reloaded_contents.
	Include non-spill registers in reload inheritance processing.
	Also try to use reload_out_reg to set spill_reg_store /
	In code to set new_spill_reg_store, use single_set to find out if
	there is a single set.
	Add code that allows to delete optional output reloads.
	Add code to allow deletion of output reloads that use no spill reg.
	At the end, set reload_override_in to oldequiv.
	Also call delete_output_reload if reload_out_reg is equal to old
	in oldequiv code.
	Add code to call delete_output_reload for stores with no matching load.
	Set / use spill_reg_stored_to.
	Handle case where secondary output reload uses a temporary, but
	actual store isn't found.
	When looking for a store of a value not loaded in order to call
	delete_output_reload, count_occurrences should return 0 for no
	loads; but discount inherited input reloadill_reg_stored_to.
	Do checks for extra uses of REG.  Changed all
	Use delete_address_reloads.
	(reload): Take return value of find_reloads into account.
	If a no-op set needs more than one reload, delete it.
	(reload_reg_free_before_p): RELOAD_FOR_INPUT
	for the same operand.
	(clear_reload_reg_in_use): Check for other reloads that keep a
	register in use.
	(reload_reg_free_for_value_p): Handle RELOAD_FOR_OPERAND_ADDRESS /
	Take into account when an address address reload is only needed
	for the address reload we are considering.
	(count_occurrences): Use rtx_equal_p for MEMs.
	(inc_for_reload): Return instruction that stores into RELOADREG.
	New argument two, IN, and rtx.  Changed all callers.
	(calculate_needs_all_insns, reload_as_needed):
	Don't clear after_call for a CLOBBER.
	Keep track of how many hard registers need to be copied from
	after_call, and don't clear after_call before we have seen
	that much copies, or we see a different instruction.

Fri Oct 16 10:58:23 1998  Jeffrey A Law  (

	* flow.c (find_basic_blocks_1): Do not delete unreachable blocks
	after reload has completed.

Fri Oct 16 17:26:10 1998  Dave Brolley  <>

	* cpplib.c (cpp_get_token): Replace whitespace that occurs between
	a macro name and the next token with a single blank if that whitespace
	is in a macro buffer and the next token is not '('.

Fri Oct 16 15:44:02 1998  Dave Brolley  <>

	* cccp.c (rescan): Handle multibyte characters ending in backslash.
	(rescan): Likewise.
	(skip_if_group): Likewise.
	(skip_to_end_of_comment): Likewise.
	(macarg1): Likewise.
	(discard_comments): Likewise.
	(change_newlines): Likewise.

Fri Oct 16 15:26:24 1998  Dave Brolley  <>

	* c-lex.c (yylex): Fix unaligned access of wchar_t.

Fri Oct 16 10:47:53 1998  Nick Clifton  <>

	* config/arm/arm.h (TARGET_SWITCHES): Add --help documentation.
	(TARGET_OPTIONS): Add --help documentation.

Fri Oct 16 11:49:01 1998  Kaveh R. Ghazi  <>

	* rtl.h (sets_cc0_p): Revert Oct 14 ATTRIBUTE_NORETURN change.

Fri Oct 16 07:08:46 1998  Bruce Korb  <>

	* fixinc/* Moved in from ../contrib directory in preparation
	for integrating it into the normal build process.  In particular,
	fixinc/ must be config-ed into the build directory
	as fixinc/Makefile.  Proposed patches to ./ and
	./ will be "in the mail" momentarily.

Fri Oct 16 08:13:46 1998  David S. Miller  <>

	* cse.c (cse_basic_block): Fixup hash flushing loop so we do not
	accidently walk into the free list.  Comment how that can happen.
	(invalidate): Fix indentation.

Thu Oct 15 23:53:29 1998  Bernd Schmidt  <>
			  Jeffrey A Law  (

	* flow.c (life_analysis_1): Do not clobber regs_ever_live after
	reload.  Never perform rescans of the insn chain after reload.
	(propagate_block): Do not delete insn or create new autoinc addressing
	modes after reload.

	* jump.c (jump_optimize): Unconditionally use the code that was
	previously conditional on PRESERVE_DEATH_INFO_REGNO_P.
	* reload1.c (reload): When reloading is finished, delete all
	(emit_reload_insns): Delete all code that was conditional on
	(no_longer_dead_regs): Delete variable.
	(reload_cse_delete_death_notes): Delete function.
	(reload_cse_no_longer_dead): Delete function.
	(reload_cse_regs_1): Delete all code to handle deletion of death
	(reload_cse_noop_set_p): Likewise.
	(reload_cse_simplify_set): Likewise.
	(reload_cse_simplify_operands): Likewise.
	(reload_cse_move2add): Likewise.
	* reorg.c (used_spill_regs): Delete declaration.
	(max_label_num_after_reload): Delete declaration.
	(find_dead_or_set_registers): Don't assume that spill regs are
	dead at a CODE_LABEL.
	* rtlanal.c (dead_or_set_regno_p): Death notes are always accurate,
	even after reload.
	* sched.c (sched_analyze_insn): Likewise.
	(update_flow_info): Likewise.
	* haifa-sched.c (sched_analyze_insn): Likewise.
	(update_flow_info): Likewise.
	* tm.texi (PRESERVE_DEATH_INFO_REGNO_P): Delete documentation.
	* toplev.c (max_label_num_after_reload): Delete variable.
	(rest_of_compilation): Don't set max_label_num_after_reload.
	Call life_analysis after reload_cse_regs if optimizing.
	* config/gmicro/gmicro.h: Delete comment referring to
	* config/i386/i386.h: Likewise.
	* config/m88k/m88k.h: Likewise.
	* config/m32r/m32r.h (PRESERVE_DEATH_INFO_REGNO_P): Delete definition.
	* config/sh/sh.h: Likewise.

Thu Oct 15 19:48:41 1998  David Edelsohn  <>

	* loop.c (strength_reduce): Restore marking bct_p as
	* rs6000.c (optimization_options): Change #ifdef HAIFA to
	(small_data_operand): Remove TARGET_ELF condition for marking

Thu Oct 15 11:45:51 1998  Robert Lipe  <>

	* config/i386/sco5.h (MAX_OFILE_ALIGNMENT): Define.
	(SELECT_SECTION): Resync with svr4.h.

Thu Oct 15 12:42:13 1998  David Edelsohn  <>

	* loop.c (strength_reduce): Undo Oct 14 change marking bct_p

Thu Oct 15 00:57:55 1998  Robert Lipe  <>

	* c-pragma.c (handle_pragma_token): Test for null tree before
	dereferencing TREE_CODE.

Thu Oct 15 17:36:48 1998  Michael Hayes  <>

	* config/c4x/c4x.c: Convert to use GEN_INT.
	(c4x_parallel_process): Rework to handle new repeat loop structure.

	* config/c4x/ Convert to use GEN_INT.
	(rptb_end): Convert to use GE test.  Replace uses with clobbers.
	(decrement_and_branch_on_count): Likewise.

	* config/c4x/c4x.h (REPEAT_BLOCK_PROCESS): Deleted hook now that
	loop.c has the desired functionality.
	(rc_reg_operand): New prototype.

	* config/c4x/t-c4x: Can now build all front ends.

Wed Oct 14 23:27:08 1998  Didier FORT  (

	* fixincludes: Fix up rpc/{clnt,svr,xdr}.h for SunOS.

Wed Oct 14 22:13:28 1998  Joel Sherrill  (

	* (stmp-fixinc): Do not install assert.h if not desired.
	* config/t-rtems: Do not install assert.h -- use newlib's.

Wed Oct 14 21:57:08 1998  J"orn Rennecke  <>

	* combine.c (combine_instructions): When finished, call init_recog.
	* regmove.c (optimize_reg_copy_3): Reject volatile MEMs.

Wed Oct 14 16:10:22 1998  Per Bothner  <>

	* toplev.c: If flag_syntax_only, don't open or write assembler file.

Wed Oct 14 13:26:05 1998  Kaveh R. Ghazi  <>

	* cppalloc.c (memory_full): Mark function prototype with

	* demangle.h (collect_exit): Likewise.

	* fix-header.c (v_fatal, fatal): Likewise.

	* gcc.c (pfatal_with_name, pfatal_pexecute, fatal, fancy_abort):

	* gcov.c (print_usage): Likewise.

	* genattr.c (fatal, fancy_abort): Likewise.

	* genattrtab.c (fatal, fancy_abort): Likewise.

	* gencodes.c (fatal, fancy_abort): Likewise.

	* genconfig.c (fatal, fancy_abort): Likewise.

	* genemit.c (fatal, fancy_abort): Likewise.

	* genextract.c (fatal, fancy_abort): Likewise.

	* genflags.c (fatal, fancy_abort): Likewise.

	* genopinit.c (fatal, fancy_abort): Likewise.

	* genoutput.c (fatal, fancy_abort): Likewise.

	* genpeep.c (fatal, fancy_abort): Likewise.

	* genrecog.c (fatal, fancy_abort): Likewise.

	* libgcc2.c (__eprintf, __default_terminate, __sjthrow,
	__sjpopnthrow, __throw): Likewise.

	* objc/objc-act.c (objc_fatal): Likewise.

	* protoize.c (usage, aux_info_corrupted,
	declare_source_confusing): Likewise.

	* rtl.c (dump_and_abort): Likewise.

	* rtl.h (sets_cc0_p): Likewise.

	* toplev.c (float_signal, pipe_closed): Likewise.

1998-10-14  Andreas Schwab  <>

	* dwarf2out.c (expand_builtin_dwarf_reg_size): Look at all ranges
	when generating the decision tree for the general case.

	* config/m68k/m68k.h (HARD_REGNO_MODE_OK): Don't accept modes
	wider that 12 bytes in fpu regs or wider than 8 byte in fpa regs.

Wed Oct 14 11:14:02 1998  Kaveh R. Ghazi  <>

	* (sched.o): Depend on recog.h.

	* alias.c (REG_BASE_VALUE): Cast the result of REGNO() macro to
	(unsigned) when comparing against one.
	(find_base_value): Likewise.
	(record_base_value): Cast variable `regno' to (unsigned) when
	comparing against one.  Cast the result of REGNO() macro to
	(unsigned) when comparing against one.
	(memrefs_conflict_p): Change type of variables `r_x' and `r_y'  to
	(init_alias_analysis): Add unsigned variable `ui'.  Use it as loop
	variable where an unsigned index is needed.

	* caller-save.c (init_caller_save): Cast `-1' to (enum insn_code)
	before comparing against one.

	* collect2.c: Add prototypes for functions `error', `fatal' and
	`fatal_perror'.  Make these functions take variable arguments
	instead of faking it with a fixed number of args.
	(write_c_file_stat): Cast the argument of ctype macro to (unsigned

	* combine.c (can_combine_p): Mark parameter `pred' with
	(find_split_point): Cast variable `src' to (unsigned
	HOST_WIDE_INT) when comparing against one.
	(simplify_rtx): Cast 1 to (unsigned HOST_WIDE_INT) in shift.
	(simplify_logical): Likewise.
	(force_to_mode): Cast result of INTVAL() macro to (unsigned
	HOST_WIDE_INT) when comparing against one.  Cast 1 to (unsigned
	HOST_WIDE_INT) in shift.
	(simplify_and_const_int): Cast result of INTVAL() macro to
	`unsigned HOST_WIDE_INT' when comparing against one.
	(merge_outer_ops): Cast variable const0 to `unsigned
	HOST_WIDE_INT' when comparing against the result of
	GET_MODE_MASK() macro.
	(simplify_comparison): Likewise for variable `c0'.  Cast variable
	`const_op' to `unsigned HOST_WIDE_INT' when comparing against
	one.  Cast `1' to `unsigned HOST_WIDE_INT' in shift.  Cast the
	result of `GET_MODE_MASK()/2' to `HOST_WIDE_INT' when comparing
	against one.  Cast `1' to `unsigned HOST_WIDE_INT' in shift.  Cast
	result of INTVAL() macro to `unsigned HOST_WIDE_INT' when
	comparing against one.
	(distribute_notes): Wrap variable `cc0_setter' in macro `HAVE_cc0'.

	config/mips/mips.c (gen_int_relational): Cast result of INTVAL()
	macro to `unsigned HOST_WIDE_INT' when comparing against one.
	(output_block_move): Cast `sizeof' expression to (int) when
	comparing against one.
	(function_arg): Cast BITS_PER_WORD to `unsigned' when comparing
	against one.
	(save_restore_insns): Cast `base_offset' to `long' to match format
	specifier in fprintf.

	* config/mips/mips.h (Pmode): Cast the result of `Pmode' macro
	to `enum machine_mode'.

	* flow.c (life_analysis_1): Remove unused variable `insn'.

	* gcc.c (translate_options): Move variables `j' and `k' into the
	scope in which they are used.  Change their types to `size_t'.
	(set_spec): Cast the argument of ctype macro to `unsigned char'.
	(read_specs): Likewise.
	(process_command): Cast `sizeof' to (int) when comparing against one.
	(do_spec_1): Cast the argument of ctype macro to `unsigned char'.
	(handle_braces): Cast both sides of `==' expression to `long' to
	ensure sign matching.
	(main): Cast variable `i' to `int' when comparing against one.

	* gcov-io.h (__fetch_long): Change type of parameter `bytes' from
	int to size_t.  Cast variable `i' to size_t when comparing against

	* genattrtab.c (convert_set_attr_alternative): Remove unused
	parameter `insn_code'.  All callers changed.
	(convert_set_attr): Likewise.

	* genrecog.c (add_to_sequence): Cast result of XVECLEN() macro to
	size_t when comparing against one.  Likewise for variable `len'.

	* global.c (global_alloc): Cast variable `max_regno' to size_t
	when comparing against one.  Likewise for variable `max_allocno'.

	* jump.c (sets_cc0_p): Mark parameter `x' with ATTRIBUTE_UNUSED.

	* local-alloc.c (validate_equiv_mem_from_store): Mark parameter
	(find_free_reg): Cast `sizeof' expression to (int) when comparing
	against one.

	* loop.c (count_loop_regs_set): Remove unused variable `dest'.
	(strength_reduce): Mark parameter `bct_p' with ATTRIBUTE_UNUSED.
	(get_condition): Cast variable `const_val' to `unsigned
	HOST_WIDE_INT' when comparing against one.  Cast unsigned
	expression to HOST_WIDE_INT when comparing against one.
	(insert_loop_mem): Mark parameter `data' with ATTRIBUTE_UNUSED.
	(load_mems_and_recount_loop_regs_set): Cast variable `nregs' to
	`unsigned' when comparing against one.

	* protoize.c (is_id_char): Change type of parameter `ch' to
	unsigned char.
	(munge_compile_params): Cast argument of ctype macro to (const
	unsigned char).
	(process_aux_info_file): Cast variable `aux_info_size' to int when
	comparing against one.
	(forward_to_next_token_char): Cast argument of ctype macro to
	`const unsigned char'.
	(edit_formals_lists): Likewise.
	(find_rightmost_formals_list): Likewise.
	(add_local_decl): Likewise.
	(add_global_decls): Likewise.
	(edit_fn_definition): Likewise.
	(do_cleaning): Likewise.
	(scan_for_missed_items): Likewise.
	(edit_file): Cast variable `orig_size' to (int) when comparing
	against one.
	(main): Cast argument of ctype macro to `const unsigned char'.

	* recog.c (const_int_operand): Mark parameter `mode' with

	* regclass.c (record_reg_classes): Change type of variable `c' to
	`unsigned char'.  Cast `char' array index to `unsigned char'.

	* reload.c (push_secondary_reload): Cast argument to
	REG_CLASS_FROM_LETTER() macro to `unsigned char'.

	* reload1.c (calculate_needs): Cast `char' array index to
	`unsigned char'.
	(set_label_offsets): Change type of variable `i' to unsigned int.
	Cast result of XVECLEN() macro to unsigned when comparing against
	(mark_not_eliminable): Change type of variable `i' to unsigned.
	(order_regs_for_reload): Likewise.  Cast `max_regno' to unsigned
	when comparing against one.
	(reload_as_needed): Cast macro NUM_ELIMINABLE_REGS to (int) when
	comparing against one.
	(choose_reload_regs): Hide unused label `fail'.
	(reload_cse_simplify_operands): Cast `char' array index to
	`unsigned char'.
	(reload_combine_note_store): Mark parameter `set' with
	ATTRIBUTE_UNUSED.  Cast UNITS_PER_WORD to unsigned when comparing
	against one.
	(reload_cse_move2add): Remove unused variable `src2'.

	* sched.c: Include recog.h.
	(sched_note_set): Remove unused parameter `b'.  All callers
	(split_hard_reg_notes): Likewise for parameter `orig_insn'.
	(blockage_range): Cast result of UNIT_BLOCKED() macro to (int)
	when comparing against one.

	* stupid.c (stupid_find_reg): Mark parameter `changes_size' with
	ATTRIBUTE_UNUSED.  Cast `sizeof' expression to (int) when
	comparing against one.

	* unroll.c (precondition_loop_p): Remove unused parameter
	`loop_end'.  All callers changed.

Tue Oct 13 22:12:11 1998  Bernd Schmidt  <>

	* reload1.c (maybe_fix_stack_asms): New static function.
	(reload): Call it.

	* reload.h (compute_use_by_pseudos): Declare.

	* reload1.c (spilled_pseudos, insns_need_reload): New variables.
	(something_needs_reloads): Delete variable.
	(finish_spills): New function.
	(compute_use_by_pseudos): New function.

	(delete_caller_save_insns): Lose argument FIRST.  All callers changed.
	Use the reload_insn_chain instead of walking the rtl directly.

	(reload): Allocate and free spilled_pseudos.
	Ensure that all calls of spill_hard_reg are followed by a call to
	Use the insns_need_reload list instead of something_needs_reloads
	to find out if reload_as_needed must be called.
	Clear unused_insn_chains at the end.

	(calculate_needs_all_insns): Lose FIRST parameter.  All callers
	Delete code to keep track of current basic block.
	Walk reload_insn_chain instead of the rtl structure.  Build the
	insns_need_reload chain.
	Remember which insns need reloading/elimination by setting the
	appropriate fields in struct insn_chain, not by putting modes on the

	(calculate_needs): Lose THIS_BLOCK arg.  Accept arg CHAIN instead of
	arg INSN.  All callers changed.
	Delete declaration of struct needs.
	Don't set something_needs_reloads.
	Record insn needs in the CHAIN argument.

	(spill_hard_reg): Record the affected pseudos in spilled_pseudos.

	(reload_as_needed): Lose FIRST arg.  All callers changed.
	Walk the reload_insn_chain instead of the rtx structure.
	Delete code to keep track of current basic block.
	Rename one of the NEXT variables to OLD_NEXT.

	(allocate_reload_reg): Accept arg CHAIN instead of arg INSN.  All
	callers changed.
	(choose_reload_regs): Likewise.

	(emit_reload_insns): Replace INSN and BB args with arg CHAIN.  All
	callers changed.

	* caller-save.c (MOVE_MAX_WORDS): New macro.  Use it throughout
	instead of (MOVE_MAX / UNITS_PER_WORD) computation.
	(hard_regs_live, hard_regs_need_restore): Delete variables.
	(n_regs_saved): Now static.
	(referenced_regs, this_insn_sets): New variables.

	(setup_save_areas): Restructure the code a bit.

	(restore_referenced_regs): Delete function.
	(mark_referenced_regs): New function, similar to the old
	restore_referenced_regs, but mark registers in referenced_regs.

	(clear_reg_live): Delete function.
	(mark_set_regs): Renamed from set_reg_live.  All callers changed.
	Only mark registers in this_insn_sets.

	(save_call_clobbered_regs): Rework this function to walk the
	reload_insn_chain instead of using the list of instructions directly.
	Delete code to keep track of register lives, compute live regs on the
	fly from information in the chain.
	Instead of calling restore_referenced_regs, use mark_referenced_regs,
	then walk the set it computes and call insert_restore as appropriate.

	(insert_restore): Lose INSN and BLOCK args.  Add CHAIN arg.  All
	callers changed.
	Restructure the code a bit.  Test hard_regs_saved instead of
	(insert_save): Lose INSN and BLOCK args.  Add CHAIN and TO_SAVE
	args.  All callers changed.
	Restructure the code a bit.  Use TO_SAVE to determine which regs to
	save instead of more complicated test.
	(insert_one_arg): Lose INSN and BLOCK args.  Add CHAIN arg.  All
	callers changed.
	Create a new insn_chain structure for the new insn and place it
	into the chain.

	* rtl.texi: Update documentation to reflect that reload no longer
	puts modes on the insns.

1998-10-14  Andreas Schwab  <>

	* function.c (purge_addressof_1): Force the first argument of a
	CALL insn to memory.

Wed Oct 14 00:38:40 1998  Jeffrey A Law  (

	* rtl.h: Delete duplicate prototypes.  Add some missing
	* rtlanal.c (for_each_rtx): Formatting tweak.

1998-10-13  Herman A.J. ten Brugge  <>

	* real.c (emdnorm and etoasc): Disable round to even for c4x target
	to be compatible with TI compiler.

	* (USER_H): Add va-c4x.h to definition.

Tue Oct 13 23:03:37 1998  Richard Henderson  <>

	* function.c (purge_addressof_1): Fix typo in inequality: do
	bitfield optimization for equal mode sizes.
	* expmed.c (store_bit_field): Don't take subregs of subregs in
	the movstrict case.  Tidy a potential problem in the multi-word case.
	(extract_bit_field): Likewise.

Tue Oct 13 22:12:11 1998  Bernd Schmidt  <>

	* flow.c (find_basic_blocks): Emit NOPs after normal calls in this
	Compute max_uid_for_flow by calling get_max_uid after the scan.
	(find_basic_blocks_1): Don't emit NOPs here.

Tue Oct 13 22:05:49 1998  Richard Henderson  <>

	* alias.c (base_alias_check): Accept new args for the modes of the
	two references.  Use them to determine if an AND can overlap.  Update
	all callers.
	(memrefs_conflict_p): Assume sizes are aligned, and uses them
	to determine if an AND can overlap.

Tue Oct 13 17:51:04 1998  Jim Wilson  <>

	* config/m68k/m68k.h (HARD_REGNO_MODE_OK): For FP regs, add REGNO >= 16
	check.  Add comment to document problems with TARGET_SUN_FPA version
	of this macro.
	* config/m68k/ (movxf+1): Support 'r'/'r' moves.

Tue Oct 13 17:46:18 1998  Kaveh R. Ghazi  <>

	* (gencheck.o): Depend on gansidecl.h.

	* c-common.c (print_char_table): Add missing initializers.
	(scan_char_table): Likewise.
	(time_char_table): Likewise.

	* c-decl.c (c_decode_option): Mark parameter `argc' with
	(declare_parm_level): Mark parameter `definition_flag' with

	* c-lex.c (readescape): Use `(unsigned)1' in shift.
	(yylex): Likewise.  Cast `sizeof' to an (int) when comparing
	against one.

	* calls.c (store_one_arg): Remove unused parameter `fndecl'.  All
	callers changed.
	(emit_call_1): Mark parameters `fndecl' and `funtype' with
	(expand_call): Cast result of MIN() to (unsigned int) when
	comparing against an unsigned value.

	* cccp.c (pcfinclude): Remove unused parameter `limit'.  All
	callers changed.
	(make_definition): Remove unused parameter `op'.  All callers
	(create_definition): Cast REST_EXTENSION_LENGTH to (long) when
	comparing against the result of pointer arithmetic.

	* config/mips/mips.h (FUNCTION_ARG_BOUNDARY): Cast to (unsigned)
	when comparing against one.

	* dwarf2out.c (dwarf2out_frame_debug): Cast REGNO() and
	HARD_FRAME_POINTER_REGNUM to (unsigned) when comparing against
	(output_die): Move variable `i' into the scope in which it is
	used.  Change its type to `unsigned'.
	(output_die): Cast the result of `strlen' to (int) when passing it
	(output_pubnames): Likewise.
	(output_line_info): Likewise.

	* emit-rtl.c (global_rtl): Add missing initializers.

	* explow.c (promote_mode): Mark parameter `for_call' with

	* expmed.c (expand_shift): Cast the result of GET_MODE_BITSIZE to
	`unsigned HOST_WIDE_INT' when comparing against one.
	(synth_mult): Change type of variable `cost' to int.
	(emit_store_flag): Use `(unsigned HOST_WIDE_INT) 1' in shift.

	* expr.c (copy_blkmode_from_reg): Cast BITS_PER_WORD to (unsigned)
	when comparing against one.
	(get_inner_reference): Change variable `alignment' to unsigned.
	(expand_expr): Cast the result of GET_MODE_ALIGNMENT to (unsigned
	int) when comparing against one.
	(expand_builtin_setjmp): Change type of variable `i' to size_t.

	* fold-const.c (div_and_round_double): Cast BASE to
	(HOST_WIDE_INT) when comparing against one.

	* gencheck.c: Include gansidecl.h.
	(main): Mark parameter `argv' with ATTRIBUTE_UNUSED.

	* optabs.c (gen_cond_trap): Mark parameters `code', `op2' and
	`tcode' with ATTRIBUTE_UNUSED.

	* real.c (edivm): Cast constant value to (unsigned long) in
	expression compared against an unsigned value.

	* stmt.c (expand_return): Cast BITS_PER_WORD to (unsigned) when
	comparing against one.
	(expand_end_case): Cast CASE_VALUES_THRESHOLD to (unsigned int)
	when comparing against one.

	* stor-layout.c (mode_for_size): Cast MAX_FIXED_MODE_SIZE to
	(unsigned int) when comparing against one.  Likewise for
	(smallest_mode_for_size): Likewise.
	(save_storage_status): Mark parameter `p' with ATTRIBUTE_UNUSED.
	(restore_storage_status): Likewise.

	* toplev.c (debug_args): Add missing initializer.
	(f_options): Spelling correction.  Add missing initializers.
	(documented_lang_options): Likewise.
	(debug_end_source_file): Mark parameter `lineno' with

	* tree.c (valid_machine_attribute): Mark parameters `attr_args',
	`decl' and `type' with ATTRIBUTE_UNUSED.

	* varasm.c (decode_reg_name): Cast `sizeof' expression to (int)
	when comparing against one.
	(assemble_variable): Mark parameter `top_level' with
	(assemble_external_libcall): Mark parameter `fun' with
	(output_constant_pool): Mark parameters `fnname' and `fndecl' with

Tue Oct 13 12:51:04 1998  Nick Clifton  <>

	* config/v850/lib1funcs.asm (_udivsi3): Add .type declaration.
	Replace use of r5 with use of r19.

	* config/v850/v850.h (LINK_POINTER_REGNUM): Define.

	* config/v850/v850.c (compute_register_save_size): Allow for the
	fact that helper functions save all registers, not just those used
	by the function.

	Replace constant 31 with macro LINK_POINTER_REGNUM.

	* config/v850/ Use 'indirect_operand' rather than
	'memory_operand' for bit test/set/clear patterns.

Tue Oct 13 11:49:14 1998  Jason Merrill  <>

	* varasm.c (assemble_start_function et al): Don't call
	ASM_GLOBALIZE_LABEL for weak symbols.

Tue Oct 13 11:37:45 1998  Nick Clifton  <>

	* cse.c (equiv_constant): Check for NULL return from

Tue Oct 13 11:24:51 1998  Jeffrey A Law  (

	* (addsi3, subsi3, negsi2): Only allow register operands.

	* collect2.c (main): Pass -EL/-EB through to the compiler.

1998-10-12  Herman A.J. ten Brugge  <>

	* expr.c (push_block): Handle targets where the stack grows
	to higher addresses, but args grow to lower addresses and

Tue Oct 13 08:00:52 1998  Catherine Moore  <>

	* config/v850/v850.c (print_operand): Extend meaning
	of 'c' operands to support .vtinherit.

Tue Oct 13 21:38:35 1998  Michael Hayes  <>

	* config/c4x/c4x.c: Convert to gen_rtx_FOO.
	Added ATTRIBUTE_UNUSED to unused function arguments.
	(rc_reg_operand): New predicate.
	(c4x_rptb_insert): New function.
	(c4x_rptb_nop_p): Recognize modified rptb_top pattern.
	(c4x_optimization_options): New function.

	* config/c4x/ Convert to gen_rtx_FOO.
	 (decrement_and_branch_on_count): New pattern.
	 (rptb_top): Modified pattern to work with BCT optimization.

	* config/c4x/c4x.h (RC_REG): New register class.
	(rc_reg_operand): Define prototype.
	(IS_RC_REG): New macro.
	(IS_RC_OR_PSEUDO_REG): New macro.
	(IS_RC_OR_PSEUDO_REGNO): New macro.

Mon Oct 12 19:57:34 1998  Jason Merrill  <>

	* collect2.c (extract_init_priority): No priority is 65535.

Mon Oct 12 12:10:37 1998  Alexandre Oliva  <>

	* (build_tooldir): New variable, same as old
	$(tooldir), but without depending on $(libdir)/$(unlibsubdir).
	(GCC_FOR_TARGET): Add -B$(build_tooldir)/bin/.
	(bootstrap, bootstrap2, bootstrap3, bootstrap4): Likewise.

	* (gxx_include_dir): Set default based on unlibsubdir.
	* (tooldir): Likewise.
	(cccp.o, cpplib.o): Use unlibsubdir implicitly through
	gxx_include_dir, includedir and tooldir.
	(protoize.o, unprotoize.o): Likewise.

Mon Oct 12 10:50:44 1998  Nick Clifton  <>

	* config/arm/ Replace (reg 24) with (reg:CC 24).

	* config/arm/thumb.c (thumb_override_options): Add warning about
	PIC code not being supported just yet.

Sun Oct 11 16:49:15 1998  John Wehle  (

	* flow.c: Update comment.
	(notice_stack_pointer_modification): New static function.
	(record_volatile_insns): Use it.
	(mark_regs_live_at_end): Mark the stack pointer as alive
	at the end of the function if current_function_sp_is_unchanging
	is set.
	(life_analysis_1): Set current_function_sp_is_unchanging.
	* function.c: Define it.
	(init_function_start): Initialize it.
	* output.h: Declare it.
	* reorg.c (fill_simple_delay_slots, dbr_schedule): Mark
	the stack pointer as alive at the end of the function if
	current_function_sp_is_unchanging is set.
	* i386.c (ix86_epilogue): Optimize the restoring
	of the stack pointer.

Mon Oct 12 01:22:53 1998  Jeff Law  (

	* version.c: Bump for snapshot.

Sun Oct 11 23:04:30 1998  Robert Lipe  <>

	* c-pragma.c (handle_pragma_token): If passed a token instead
	of a tree, use that as the pack value.

Sun Oct 11 14:21:14 1998  Mark Mitchell  <>

	* flow.c (find_basic_blocks_1): Fix prototype.

Sun Oct 11 05:03:41 1998  Ken Raeburn  <>

	* tree.h (DECL_NO_CHECK_MEMORY_USAGE): New macros.
	(struct tree_decl): New fields no_check_memory_usage.
	* c-common.c (enum attrs): Add A_NO_CHECK_MEMORY_USAGE.
	(init_attributes): Register it as a new attribute.
	(decl_attributes): Set flags on functions given that attribute.
	* c-decl.c (duplicate_decls): Merge new attribute.
	* expr.h (current_function_check_memory_usage): Declare new var.
	* calls.c, expr.c, function.c, stmt.c, alpha.c, clipper.c, m88k.c,
	pa.c, sparc.c: Replace uses of flag_check_memory_usage with
	* function.h: Add field to struct function.
	* function.c (current_function_check_memory_usage): Define it.
	(push_function_context_to, pop_function_context_from): Save and
	restore it.
	(expand_function_start): Set it, based on global flag and function

	* expr.c (expand_expr, case VAR_DECL): In memory-checking code, do
	check non-automatic variables, to permit detection of writes to
	read-only locations in embedded systems without memory management.
	* calls.c (store_one_arg): Use ARGS_SIZE_RTX to get size of argument
	when emitting chkr_set_right_libfunc call, even if the argument is
	BLKmode or variable-sized; don't abort.

	* optabs.c (init_optabs): Create Checker and __cyg_profile_*
	symbols in Pmode, not VOIDmode.

Sun Oct 11 01:03:05 1998  Zack Weinberg  <>

	* cppexp.c: When forcing unsigned comparisons, cast both sides
	of the operation.

	* cpphash.h: Move static declaration of hashtab[]...
	* cpphash.c:

	* cpplib.c: Cast difference of two pointers to size_t before
	comparing it to size_t.  Cast signed to unsigned
	before comparing to size_t. (FIXME: struct argdata should use
	unsigned buffer sizes.)
	* cpplib.h (struct cpp_reader): Declare token_buffer_size as
	unsigned int. (CPP_WRITTEN): Cast return value to size_t.
	(CPP_RESERVE): Parenthesize N for evaluation order, cast to
	size_t before comparison.

Sun Oct 11 00:15:29 1998  Jeffrey A Law  (

	* flow.c (find_basic_blocks): Delete "live_reachable_p" argument.
	(find_basic_blocks_1): Similarly.
	* output.h (find_basic_blocks): Fix prototype.
	* gcse.c, toplev.c: Don't pass "live_reachable_p" argument to
	find_basic_blocks anymore.

Sat Oct 10 22:00:34 1998  Richard Henderson  <>

	* basic-block.h (EXECUTE_IF_SET_IN_SBITMAP): New macro.
	(sbitmap_free, sbitmap_vector_free): New macros.
	* output.h (rtl_dump_file): Declare.

Sat Oct 10 17:01:42 1998  Jeffrey A Law  (

	* regmove.c (optimize_reg_copy_3): Honor TRULY_NOOP_TRUNCATION.

Fri Oct  9 22:08:05 1998  Kaveh R. Ghazi  <>

	* fp-bit.c (SFtype): Don't implicitly use int in declaration.
	(DFtype): Likewise.
	(_fpdiv_parts): Remove unused parameter `tmp', all callers changed.
	(divide): Remove unused variable `tmp'.
	(si_to_float): Cast numeric constant to (SItype) before comparing
	it against one.

Fri Oct  9 16:03:19 1998  Graham  <>

	* flow.c (print_rtl_with_bb): Changed type of in_bb_p to match use.
	* gcc.c (add_preprocessor_option): Correct typo when allocating
	memory, sizeof() argument had one too many `*'.
	(add_assembler_option): Likewise.
	(add_linker_option): Likewise.
	* gcov.c (output_data): Likewise.
	* local-alloc.c (memref_used_between_p): Likewise.
	(update_equiv_regs): Likewise.
	* loop.c (strength_reduce): Likewise.
	* reg-stack.c (record_asm_reg_life): Likewise.
	(subst_asm_stack_reg): Likewise.
	* reorg.c (dbr_schedule): Likewise.

Fri Oct  9 15:57:51 1998  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>

	* flow.c (life_analysis_1): Break out some functions.
	(find_basic_blocks_1): Likewise.  Also move some variables out and
	make them static.
	Rename NONLOCAL_LABEL_LIST arg to NONLOCAL_LABELS and initialize
	new static var nonlocal_label_list with it.
	(active_eh_region, nested_eh_region, label_value_list,
	nonlocal_label_list): New static variables.
	(make_edges, delete_unreachable_blocks, delete_block): New static
	functions, broken out of find_basic_blocks_1.
	(record_volatile_insns, mark_regs_live_at_end, set_noop_p,
	noop_move_p): New static functions, broken out of life_analysis_1.

Fri Oct  9 15:49:29 1998  Richard Henderson  <>

	* expmed.c (store_bit_field): Pun non-integral str_rtx modes.
	Take extra care for op0 now possibly being a subreg.
	(extract_bit_field): Likewise.
	* function.c (purge_addressof_1): Revert Oct 4 change.  Drop
	the reg to memory if there is no equal sized integral mode.
	* stor-layout.c (int_mode_for_mode): New function.
	* machmode.h: Prototype it.

Fri Oct  9 14:26:44 1998  Jeffrey A Law  (

	* global.c (build_insn_chain): Verify no real insns exist past the
	end of the last basic block, then exit the loop.

Fri Oct  9 11:44:47 1998  David Edelsohn  <>

	* loop.c (insert_bct): Ensure loop_iteration_var non-zero before use.

Thu Oct  8 21:59:47 1998  Dave Brolley  <>

	* emit-rtl.c (init_emit_once): Call INIT_EXPANDERS.

Thu Oct  8 22:03:45 1998  David Edelsohn  <>

	* rs6000.h (RTX_COSTS): Add PROCESSOR_PPC604e cases.

Thu Oct  8 17:00:18 1998  Richard Henderson  <>

	* flow.c (find_basic_blocks): Correctly determine when a call
	is within an exception region.

Thu Oct  8 17:15:04 1998  Jeffrey A Law  (

	* toplev.c (output_file_directive): Use DIR_SEPARATOR, not '/'.

	* cpplib.h: Protect from multiple inclusions.
	* cpplib.c: Fix minor formatting problems.

	* i386/xm-cygwin32.h: Only define POSIX if it is not already defined.

	* jump.c (jump_optimize): Revert accidental patch.

	* (cpplib.o): Use unlibsubdir.

Thu Oct  8 12:50:47 1998  Jim Wilson  <>

	* loop.c (get_condition): Allow combine when either compare is

Thu Oct  8 11:31:01 1998  Jeff Law  (

	* version.c: Bump for snapshot.

Thu Oct  8 12:21:14 1998  Richard Frith-Macdonald  <>

	* c-lex.c (remember_protocol_qualifiers): Handle RID_BYREF.
	(init_lex): Initialize ridpointers[RID_BYREF].
	* c-lex.h (enum rid): Add RID_BYREF.
	* c-parse.gperf: Add RID_BYREF as a type qualifier.
	* objc/objc-act.c (is_objc_type_qualifiers): Handle RID_BYREF.
	(encode_type_qualifiers): Similarly.
	* c-gperf.h: Rebuilt.

Thu Oct  8 05:56:00 1998  Jeffrey A Law  (

	* c-common.c (type_for_mode): Only return TItype nodes when
	HOST_BITS_PER_WIDE_INT is >= 64 bits.
	* c-decl.c (intTI_type_node, unsigned_intTI_type_node): Only declare
	when HOST_BITS_PER_WIDE_INT is >= 64 bits.
	(init_decl_processing): Only create TItype nodes when
	HOST_BITS_PER_WIDE_INT is >= 64 bits.
	* c-tree.h (intTI_type_node, unsigned_intTI_type_node): Only declare
	when HOST_BITS_PER_WIDE_INT is >= 64 bits.

Thu Oct  8 05:05:34 1998  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>

	* stmt.c (n_occurrences): New static function.
	(expand_asm_operands): Verify that all constrains match in the
	number of alternatives.
	Verify that '+' or '=' are at the beginning of an output constraint.
	Don't allow '&' for input operands.
	Verify that '%' isn't written for the last operand.
	* reload.c (find_reloads): Abort if an asm is found with invalid
	constraints; all possible problems ought to be checked for earlier.

Thu Oct  8 04:26:20 1998  Michael Hayes  <>

	* flags.h (flag_branch_on_count_reg): Always declare.
	* toplev.c (flag_branch_on_count_reg): Likewise.
	* toplev.c: Fix typos.

	* real.c (c4xtoe): Remove unused variables.  Add some missing parens.
	(toc4x): Similarly.

Thu Oct  8 01:25:22 1998  Richard Henderson  <>

	* flow.c (find_basic_blocks): Calc upper bound for extra nops in
	(find_basic_blocks_1): Add a nop to the end of a basic block when
	a trailing call insn does not have abnormal control flow.
	* gcse.c (pre_transpout): New variable.
	(alloc_pre_mem, free_pre_mem, dump_pre_data): Bookkeeping for it.
	(compute_pre_transpout): Calculate it.
	(compute_pre_ppinout): Use it to eliminate impossible placements
	due to abnormal control flow through calls.
	(compute_pre_data): Call compute_pre_transpout.

Wed Oct  7 21:40:24 1998  David S. Miller  <>

	* config/sparc/sol2-sld-64.h (ASM_CPU_SPEC): Fix typo.

Wed Oct  7 21:19:46 1998  Ken Raeburn  <>

	* config/mips/ (tablejump_internal3, tablejump_internal4
	and matching define_insns): Tack on a `use' of the table label, so
	flow analysis will recognize a tablejump.

Wed Oct  7 17:33:39 1998  Richard Henderson  <>

	* gcse.c (pre_insert_insn): Tweek to notice that calls do not
	always end basic blocks for abnormal edge reasons.

Wed Oct  7 14:40:43 1998  Nick Clifton  <>

	* config/i386/i386.h: Remove definition of

	* config/i386/go32.h: Add definition of

	* config/i386/win32.h: Add definition of

	* config/i386/cygwin32.h: Add definition of

	* c-pragma.c (insert_pack_attributes): Do not insert
	attributes unless #pragma pack(push,<n>) is in effect.

Wed Oct  7 12:10:46 1998  Jim Wilson  <>

	* expr.c (emit_group_store): Handle a PARALLEL destination.

Wed Oct  7 10:07:29 1998  Richard Henderson  <>

	* gcse.c (pre_insert_insn): When a call ends a bb, insert
	the new insns before the argument regs are loaded.

Wed Oct  7 12:55:26 1998  Kaveh R. Ghazi  <>

	* (c-gperf.h): Add -L KR-C -F ', 0, 0' flags to gperf.
	(c-parse.gperf): Update comments describing invocation flags.
	(c-gperf.h): Regenerate using gperf 2.7.1 (19981006 egcs).

1998-10-07  Manfred Hollstein  <>

	* reload1.c (reload): Call free before clobbering the memory
	locations or constants pointers.

Wed Oct  7 02:05:20 1998  David S. Miller  <>

	* config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Rework
	for efficiency by checking whether we need to modify the current
	stack permission at all.
	* config/sparc/sparc.c (sparc_initialize_trampoline): Emit
	__enable_execute_stack libcall here too if
	* config/sparc/sparc.h: Set TARGET_ARCH32 to a constant if

Wed Oct  7 02:27:52 1998  Jeffrey A Law  (

	* (DRIVER_DEFINES): Remove last change.

Wed Oct  7 01:08:43 1998  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>

	* jump.c (duplicate_loop_exit_test): Strip REG_WAS_0 notes off all
	insns we're going to copy.
	* regclass.c (reg_scan_mark_refs): Don't test X for NULL_RTX.

	* loop.c (count_one_set): Add prototype.

	* caller-save.c (restore_referenced_regs): Lose mode argument.
	(insert_save): Lose mode argument.
	(insert_restore): Lose mode argument.
	(insert_one_insn): Lose mode argument.
	(save_call_clobbered_regs): Lose mode argument.
	(setup_save_areas): Take no argument and return void.  All callers
	Don't verify validity of memory addresses.
	* reload.h (setup_save_ares): Adjust prototype.
	(save_call_clobbered_regs): Likewise.
	* reload1.c (delete_caller_save_insns): New function.
	(caller_save_spill_class): Delete variable.
	(caller_save_group_size): Delete variable.
	(reload): Call setup_save_areas and save_call_clobbered_regs
	in the main loop, before calling calculate_needs_all_insns.
	Don't call save_call_clobbered_regs after the loop.
	Call delete_caller_save_insns at the end of an iteration if
	something changed.
	Delete code to manage caller_save_spill_class.
	Emit the final note before setting reload_first_uid.
	Simplify test that determines whether reload_as_needed gets run.
	(calculate_needs): Delete code to manage caller_save_spill_class.

Tue Oct  6 15:42:27 1998  Richard Henderson  <>

	* collect2.c (main): Initialize ld_file_name.

Tue Oct  6 15:45:15 1998  Catherine Moore  <>

	* config/sparc/sysv4.h (ASM_OUTPUT_SECTION_NAME): Don't
	check for flag_function_sections.

Tue Oct  6 20:02:31 1998  J"orn Rennecke  <>

	* cse.c (insert_regs): Fix bug in Sep 24 change.

Tue Oct  6 17:00:42 1998  J"orn Rennecke  <>

	* flags.h (flag_dump_unnumbered): Declare.
	* toplev.c (flag_dump_unnumbered): Don't declare.
	* print-rtl.c (flags.h): Include.
	(print_rtl_single): Add return value.
	* rtl.h (print_rtl_single): Update declaration.
	* flow.c (flag_dump_unnumbered): Don't declare.
	(print_rtl_with_bb): Use return value of print_rtl_single.

Tue Oct  6 01:36:00 1998  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>

	* loop.c (count_one_set): New static function, broken out of
	(count_loop_regs_set): Call it.
	* global.c (mark_reg_store): Handle clobbers here by not calling
	(mark_reg_clobber): Just call mark_reg_store after ensuring SETTER
	is in fact a clobber.
	* integrate.c (process_reg_param): New function, broken out of
	(expand_inline_function): Call it.

	* (addsidi3_1): Delete unused variable temp.
	(addsidi3_2): Likewise.
	(clstrstrsi): Delete unused variable addr1.

	* rtl.h: Don't declare any functions also declared in recog.h.

	* (stupid.o): Update dependencies.
	(global.o): Likewise.

	* global.c: Include reload.h.
	(reg_becomes_live): New function.
	(reg_dies): New function.
	(build_insn_chain): New function.
	(global_alloc): Call build_insn_chain before calling reload.

	* reload.h (struct needs): New structure definition.
	(struct insn_chain): Likewise.
	(reload_insn_chain): Declare variable.
	(new_insn_chain): Declare function.

	* reload1.c (reload_startobj): New variable.
	(reload_insn_chain): New variable.
	(unused_insn_chains): New variable.
	(new_insn_chain): New function.
	(init_reload): Initialize reload_startobj, not reload_firstobj.
	(reload): Initialize reload_firstobj.
	Before returning, free everything on the reload_obstack.

	* stupid.c: Include insn-config.h, reload.h and basic-block.h.
	(reg_where_dead_chain, reg_where_born_exact, reg_where_born_clobber,
	current_chain): New variables.
	(reg_where_born): Delete variable.
	(REG_WHERE_BORN): New macro.
	(find_clobbered_regs): New function.
	(stupid_life_analysis): Don't allocate/free reg_where_born.
	Allocate and free reg_where_born_exact, reg_where_born_clobber,
	Use REG_WHERE_BORN instead of reg_where_born.
	While processing the insns, build the reload_insn_chain with
	information about register lifetimes.
	(stupid_reg_compare): Use REG_WHERE_BORN instead of reg_where_born.
	(stupid_mark_refs): Replace arg INSN with arg CHAIN.  All callers
	Compute and information about birth and death of pseudo registers in
	reg_where_dead_chain, reg_where_born_exact and reg_where_born_clobber.
	Delete code to set elements of reg_where_born.

Mon Oct  5 22:34:30 1998  Alexandre Petit-Bianco  <>

	* tree.def (GOTO_EXPR): Modified documentation.
	* expr.c (expand_expr): Expand GOTO_EXPR into a goto or a computed

Mon Oct  5 22:43:36 1998  David Edelsohn  <>

	* unroll.c (loop_iteration_var, loop_initial_value, loop_increment
	loop_final_value, loop_comparison_code): No longer static.
	(unroll_loop): Delete loop_start_value update.
	* loop.h (loop_iteration_var, loop_initial_value, loop_increment,
	loop_final_value, loop_comparison_code): Extern.
	(loop_start_value): Delete extern.
	* loop.c (loop_can_insert_bct, loop_increment, loop_start_value,
	loop_comparison_value, loop_comparison_code): Delete.
	(loop_optimize): Remove initialization for deleted variables.
	(strength_reduce): Delete analyze_loop_iterations call.  Only call
	insert_bct if flag_branch_count_on_reg set.
	(analyze_loop_iterations): Delete.
	(insert_bct): Remove iteration count calculation.  Move checks for
	viable BCT optimization to here.  Obtain iteration count from
	loop_iterations and correct for unrolling.  Check for enough
	iteration to be beneficial.  Comment out runtime iteration count
	(insert_bct): Print iteration count in dump file.  Remove
	loop_var_mode and use word_mode directly.

	* rs6000.h (processor_type): Add PROCESSOR_PPC604e.
	* rs6000.c (rs6000_override_options): Use it.
	(optimization_options): Enable use of flag_branch_on_count_reg.
	* (define_function_unit): Describe 604e.

1998-10-05  Herman A.J. ten Brugge  <>

	* loop.c (move_movables): Corrected threshold calculation for
	moved_once registers.

Mon Oct  5 21:18:45 1998  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>

	* loop.c (combine_givs_p): Fix test for identical givs.

Mon Oct  5 10:11:28 1998  Nick Clifton  <>

	* dwarf2out.c (gen_subprogram_die): If errorcount nonzero, don't
	call abort if the function is already defined.

Mon Oct  5 10:02:36 1998  Jeffrey A Law  (

	* combine.c (simplify_rtx): Do not replace TRUNCATE with a SUBREG if
	truncation is not a no-op.

Mon Oct  5 09:02:04 1998  Jeff Law  (

	* version.c: Bump for snapshot.

Mon Oct  5 08:19:55 1998  Jeff Law  (

	* version.c: Bump for snapshot.

Mon Oct  5 01:07:23 1998  Torbjorn Granlund  <>

	* expmed.c (expand_divmod): Don't widen for computing remainder
	if we seem to have a divmod pattern for needed mode.

Mon Oct  5 01:01:42 1998  Zack Weinberg  <>

	* cpplib.c (macroexpand): Correct off-by-one error in handling
	of escapes.

Sun Oct  4 23:58:30 1998  Richard Henderson  <>

	* combine.c (expand_field_assignment): Don't do bitwise operations
	on MODE_FLOAT; pun to MODE_INT if possible.

Sun Oct  4 18:33:24 1998  Jason Merrill  <>
			  scott snyder  <>

	* tlink.c (scan_linker_output): Recognize errors from irix 6.2
	linker.  Recognize mangled names in quotes.

Sun Oct  4 02:58:20 1998  Jakub Jelinek  <>

	* config/sparc/ (ashldi3+1): Name it ashldi3_sp64.
	(ashlsi3_const1, ashldi3_const1): New combiner patterns.
	(ashrsi3_extend, ashrsi3_extend2): New combiner patterns.
	(lshrsi3_extend, lshrsi3_extend2): Likewise.

Sun Oct  4 00:23:00 1998  David S. Miller  <>

	* function.c (purge_addressof_1): If trying to take a sub-word
	integral piece of a floating point mode, put it on the stack.

Sat Oct  3 19:01:03 1998  Richard Henderson  <>

	* alpha/linux.h (CPP_PREDEFINES): Define __alpha__ for imake.

Sat Oct  3 14:42:19 1998  Jason Merrill  <>

	* PROJECTS: Remove template friends.

	* collect2.c (sort_ids): Remove unused variable.

	* tm.texi (MATH_LIBRARY): Document.

	* varasm.c (assemble_start_function, assemble_variable, weak_finish,
	assemble_alias): Do ASM_GLOBALIZE_LABEL for weak symbols, too.

Sat Oct  3 16:14:44 1998  John Carr  <>

	* dwarf2out.c (expand_builtin_dwarf_reg_size): Initialize
	last_end to 0x7fffffff.

Fri Oct  2 19:14:20 1998  David S. Miller  <>

	* function.c (purge_addressof_1): Do not perform endianness
	corrections on bitpos, who we call will do it for us.

Fri Oct  2 11:52:35 1998  Jeffrey A Law  (

	* h8300.c (WORD_REG_USED): Fix typo.
	(initial_offset): Use WORD_REG_USED.

	* h8300.c (handle_pragma): Fix typo.

Fri Oct  2 10:51:35 1998  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>

	* caller-save.c (insert_save_restore): Break this function up
	into new functions insert_restore, insert_save and insert_one_insn.
	All callers changed.
	(insert_restore): New function, mostly broken out of
	(insert_save): Likewise.
	(insert_one_insn): Likewise.
	(restore_referenced_regs): New argument BLOCK.  All callers changed.
	(save_call_clobbered_regs): Don't keep track of basic block boundaries
	in this function, do it in insert_one_insn instead.

	* reload1.c (reload): Break out some more pieces into separate
	(dump_needs): New function, broken out of reload.
	(set_initial_elim_offsets): Likewise.
	(init_elim_table): Likewise.
	(update_eliminables): Likewise.

	* global.c (global_alloc): Delete code to manage the scratch_list.
	* local-alloc.c (qty_scratch_rtx): Delete.
	(scratch_block): Delete.
	(scratch_list): Delete.
	(scratch_list_length): Delete.
	(scratch_index): Delete.
	(alloc_qty_for_scratch): Delete.
	(local-alloc): Update initialization of max_qty.
	Delete code to manage the scratch list.
	Delete code to allocate/initialize qty_scratch_rtx.
	(block_alloc): Don't allocate quantities for scratches.
	Delete code to manage the scratch list.
	* regs.h (scratch_list): Delete declaration.
	(scratch_block): Delete declaration.
	(scratch_list_length): Delete declaration.
	* reload1.c (reload): Delete code to manage the scratch list.
	(spill_hard_reg): Likewise.
	(mark_scratch_live): Delete.

	* recog.c (alter_subreg): Delete declaration.

1998-10-02  Andreas Jaeger  <>

	* (cccp.o): Fix typo in last patch.

Fri Oct  2 16:13:12 1998  J"orn Rennecke  <>

	* t-sh (LIB1ASMFUNCS): Add _set_fpscr .
	* config/sh/lib1funcs.asm (___set_fpscr): Add.

Fri Oct  2 02:01:59 1998  Jeffrey A Law  (

	* regclass.c (reg_scan_mark_refs): Return immediately if passed a
	NULL_RTX as an argument.

	* (unlibsubdir): Define.
	(DRIVER_DEFINES): Use unlibsubdir.
	(cccp.o, cpplib.o, protoize.o, unprotoize.o): Similarly.
	(stmp-fixinc): Similarly.

Thu Oct  1 19:58:30 1998  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>

	* regmove.c (regmove_optimize): Add variable old_max_uid.
	At the end of the function, update basic_block_end.

Thu Oct  1 17:58:25 1998  David S. Miller  <>

	* dwarf2out.c (expand_builtin_dwarf_reg_size): Use
	FIRST_PSEUDO_REGISTER as upper bound for last_end, not an
	arbitrary constant.

Thu Oct  1 17:57:14 1998  Nick Clifton  <>

	* config/arm/arm.c: Improve interworking support.

Thu Oct  1 18:43:35 1998  J"orn Rennecke  <>

	* reload1.c (choose_reload_regs): Fix test if reload_reg_rtx[r] was
	copied from reload_out[r] .

Thu Oct  1 19:20:09 1998  John Carr  <>

	* dwarf2out.c (expand_builtin_dwarf_reg_size): Fix to work
	with more than three size ranges.

	* flow.c (sbitmap_copy): Use bcopy to copy bitmap.

	* rtl.c (mode_name): Add a null string at the end of the array.
	(mode_wider_mode): Change type to unsigned char.
	(mode_mask_array): New variable.
	(init_rtl): Update for mode_wider_mode type change.

	* rtl.h (mode_wider_mode): Change type to unsigned char.
	(mode_mask_array): Declare.
	(GET_MODE_MASK): Use mode_mask_array.

Thu Oct  1 15:56:01 1998  Gavin Romig-Koch  <>

	* calls.c (expand_call) : Encapsulate code into
	* expr.c (copy_blkmode_from_reg): New function.
	* expr.h (copy_blkmode_from_reg): New function.
	* integrate.c (function_cannot_inline_p): We can inline
	these now.
	(expand_inline_function): Use copy_blkmode_from_reg
	if needed.  Avoid creating BLKmode REGs.
	(copy_rtx_and_substitute): Don't try to SUBREG a BLKmode

Thu Oct  1 10:42:27 1998  Nick Clifton  <>

	* config/v850/v850.c: Add function prototypes.
	Add support for v850 special data areas.

	* config/v850/v850.h: Add support for v850 special data areas.

	* c-pragma.c: Add support for HANDLE_PRAGMA_PACK and
	(push_alignment): New function: Cache an alignment requested
	by a #pragma pack(push,<n>).
	(pop_alignment): New function: Pop an alignment from the
	alignment stack.
	(insert_pack_attributes): New function: Generate __packed__
	and __aligned__ attributes for new decls whilst a #pragma pack
	is in effect.
	(add_weak): New function: Cache a #pragma weak directive.
	(handle_pragma_token): Document calling conventions.  Add
	support for #pragma pack(push,<n>) and #pragma pack (pop).

	are defined enable HANDLE_PRAGMA_PACK.
	Move 'struct weak_syms' here (from varasm.c).
	Add pragma states for push and pop pragmas.

	* c-common.c (decl_attributes): Call PRAGMA_INSERT_ATTRIBUTES
	if it is defined.

	* c-lex.c: Replace occurances of HANDLE_SYSV_PRAGMA with

	* varasm.c: Move definition of 'struct weak_syms' into
	(handle_pragma_weak): Deleted.

	* config/i386/i386.h: Define HANDLE_PRAGMA_PACK_PUSH_POP.

	* config/winnt/win-nt.h: Define HANDLE_PRAGMA_PACK_PUSH_POP.

	* c-decl.c (start_function): Add invocation of

	* tm.texi: Remove description of non-existent macro


Wed Sep 30 22:27:53 1998  Robert Lipe  <>

	* config.sub: Recognize i[34567]86-pc-udk as new target.
	* Likewise.
	* config/i386/t-udk: New file.
	* config/i386/udk.h: New file.

Wed Sep 30 19:33:07 1998  Jeffrey A Law  (

	* reorg.c (check_annul_list_true_false): Remove unused variables.
	(steal_delay_list_from_target): Add missing "used_annul" variable.
	(try_merge_delay_insns): Close out half formed comment.

Wed Sep 30 19:13:20 1998  Zack Weinberg  <>

	* cpplib.c (macroexpand): If arg->raw_before or
	arg->raw_after, remove any no-reexpansion escape at the
	beginning of the pasted token.  Correct handling of whitespace
	markers and no-reexpand markers at the end if arg->raw_after.

	* toplev.c (documented_lang_options): Recognize -include,
	-imacros, -iwithprefix, -iwithprefixbefore.
	* cpplib.c (cpp_start_read): Process -imacros and -include
	switches at the same time and in command-line order, after
	initializing the dependency-output code.  Emit properly nested
	#line directives for them.  Emit a #line for the main file
	before processing these switches, and don't do it again

Wed Sep 30 18:03:22 1998  Richard Henderson  <>

	* function.c (purge_addressof_1): Use bitfield manipulation
	routines to handle mem mode < reg mode.

Wed Sep 30 18:43:32 1998  Herman ten Brugge  <>

	* reorg.c (try_merge_delay_insns): A