--- gcc/ChangeLog 2018/04/24 17:51:38 1.1.1.2 +++ gcc/ChangeLog 2018/04/24 18:36:36 1.1.1.10 @@ -1,4911 +1,5818 @@ -Tue Mar 24 04:00:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Jan 29 02:47:13 1997 Richard Stallman - * Version 2.1 released. + * Version 2.7.2.2 released. - * xcoffout.h: Renamed from xcoff.h. - * dbxout.c, final.c, toplev.c, varasm.c, xcoffout.c: Use new name. - * Makefile.in: Corresponding changes. + * configure: Change all ix86 configs to accept i686 as well. - * dbxout.c (dbxout_type): Don't check DECL_IGNORED_P. + * configure (i[345]86-*-linuxlibc1*): Renamed from i[345]86-*-linux*. + (i[345]86-*-linux*): New alternative, changed slightly from old one. + (m68k-*-linux*): Changed to work with libc v2. + + * config.guess: Disinguish *-unknown-linux and *-unknown-libc1. + + * config/t-linux-libc1: New file. + + * config/i386/linux.h (LINK_SPEC, CPP_SPEC): + Add new alternative definitions; + relegate the old ones to LIBC_VERSION_1 case. + [! LIBC_VERSION_1] (LIB_SPEC): New override definition. + +Sat Jun 29 12:33:39 1996 Richard Kenner + + * Version 2.7.2.1 released. + +Tue Jun 11 20:18:03 1996 Per Bothner + + * fix-header.c (read_scna_file): Invoke FIXPROTO_INIT if defined. + * alpha.h (FIXPROTO_INIT): Define new macro. + +Fri May 10 18:35:00 1996 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * loop.c (maybe_eliminate_biv_1): Disable all but two cases + of biv elimination with givs and restrict those two cases to + an ADD_VAL that is an address. + +Mon Apr 22 16:50:19 1996 Jeremy Bettis + + * objc/hash.c (hash_value_for_key): Prevent endless loop when 0 was + stored in a hashtable. + +Wed Apr 17 17:53:23 1996 Michael Meissner + + * rs6000.c (expand_block_move_mem): Copy RTX_UNCHANGING_P. + (expand_block_move): Copy dest/src to registers using + copy_addr_to_reg, call expand_block_move_mem to copy all of the + bits. + +Mon Apr 8 13:46:28 1996 Michael Meissner - * t-rs6000: Complete replacement, to build collect2 properly. + * rs6000.c (output_{prolog,epilog}): For V.4/eabi systems, change + prologue and epilogue so that accesses beyond the current stack + pointer are not done like they are for AIX. - * Makefile.in (mostlyclean): Delete sorted indices that aren't used. - (extraclean): Delete patch outputs, *.d, *.Z, *.tar. +Fri Mar 26 05:43:06 1996 Torbjorn Granlund - * Makefile.dos (getpwd.o): New target. - (OBJS, protoize, unprotoize): Add getpwd.o. - (SYSCALLS.c, SYSCALLS.c.X): Copy from Makefile.in. + * vax.md (insv matcher): Call CC_STATUS_INIT. + * vax.h (NOTICE_UPDATE_CC): Handle ZERO_EXTRACT destination. - * x-i386sco (CCLIBFLAGS): Define as empty. +Sat Mar 23 18:25:39 1996 J"orn Rennecke (amylaar@meolyon.hanse.de) -Tue Mar 24 06:26:26 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * c-typeck.c (set_init_index): Check for use outside an array + initializer. - * cse.c (cse_insn): When deleting dead code after - making unconditional branch, check for end of chain. +Sat Mar 23 09:21:40 1996 Doug Evans - * sched.c (update_flow_info): Add code for REG_LABEL case. + * sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Don't unfix %g[234] + if fixed with -ffixed-. - * function.c (instantiate_virtual_regs_1): Don't modify a MEM - without copying it unless the modified MEM is valid. +Wed Mar 13 20:36:10 1996 Jim Wilson - * cse.c (rtx_cost): Assign ASM_OPERANDS a high cost. + * mips.c (mips_expand_prologue): Change TYPE_NEEDS_CONSTRUCTING to + TREE_ADDRESSABLE; + * pa.h (ASM_DECLARE_FUNCTION_NAME): Likewise. -Tue Mar 24 05:48:25 1992 Ken Raeburn (raeburn@wombat.gnu.ai.mit.edu) +Tue Mar 12 14:36:02 1996 Jason Merrill - * cp-*: Disabled 22 March changes relating to dbxout.c; the problem - will be fixed properly, with more extensive reworking of the C++ - front end, later. This fix was buggy. - * dbxout.c (dbxout_type_methods): Reverted 22 March changes; if a - template class is passed, print a warning message and emit no info - about methods. + * lex.c (real_yylex): Warn about using the `namespace' keyword. -Mon Mar 23 14:18:30 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) +Tue Feb 27 08:18:12 1996 Richard Earnshaw (rearnsha@armltd.co.uk) - * make-cc1.com: Add getpwd.c. + * arm.md (mov{si,sf,df}cc and matchers): All conditional move + patterns must have a mode. -Mon Mar 23 12:53:02 1992 Jyrki Kuoppala (jkp@batman.cs.hut.fi) +Mon Feb 19 07:35:07 1996 Torbjorn Granlund - * pc532-min.h (HAVE_ATEXIT): Defined. + * rs6000.md (not:SI with assign and compare): Fix typo. - * ns32k.c (print_operand) [PC_RELATIVE]: - Always use output_address for MEM. +Wed Jan 24 18:00:12 1996 Brendan Kehoe - * pc532.h (BASE_REG_NEEDED): Defined. + * alpha.c (alpha_write_verstamp): Only emit MS_STAMP and LS_STAMP, + not the extra numbers. -Mon Mar 23 07:28:14 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Wed Jan 17 21:22:40 1996 Brendan Kehoe - * combine.c (try_combine): Correct error in last change; don't - pass STRICT_LOW_PART or ZERO_EXTRACT to reg_overlap_mentioned_p. + * cp/decl2.c (grokfield): Call cplus_decl_attributes with the attrlist. + Pass a null tree to grokdeclarator for its ATTRLIST arg, since it's + only ever used for functions in it. - * sun3.h (CPP_SPEC): Delete extra brace. +Tue Jan 16 06:01:28 1996 Thomas Graichen -Mon Mar 23 02:43:56 1992 Michael Tiemann (tiemann@mole.gnu.ai.mit.edu) + * i386/freebsd.h (ASM_WEAKEN_LABEL): Deleted; not supported. - * cp-decl.c (pop_from_top_level): Take care of C_C_D. +Sun Jan 7 17:11:11 1996 David Edelsohn -Sun Mar 22 17:24:09 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * collect2.c (scan_libraries): Correct Import File ID interpretation. - * pyr.h: Remove TARGET_INDEX. Update other TARGET switches. - Fix several comments. - (REGNO_OK_FOR_BASE_P): Allow reg 0. - (REGNO_OK_FOR_INDEX_P): Reformulate. - (REG_OK_FOR_INDEX_P): Disallow reg 0. +Thu Dec 28 22:24:53 1995 Michael Meissner -Sun Mar 22 15:10:49 1992 Michael Meissner (meissner@osf.org) + * rs6000.md (common mode functions): Add condition reg clobbers. - * mips-tfile.c (mark_stabs): Make function defintion agree with - prototype. +Tue Dec 19 15:08:31 1995 Jason Merrill - * mips.md (cpu, branch_likely attributes): Make these attributes - const. - (all functional units): Restore functional units that look at the - -mcpu= switch for scheduling now that genattrtab uses less memory. + * collect2.c: Remove auto_export functionality. -Sun Mar 22 13:57:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Dec 18 18:40:34 1995 Jim Wilson - * c-typeck.c (convert_for_assignment): - Only explicit 0 converts to pointer. + * svr4.h (ASM_IDENTIFY_GCC): Don't output stab here. + (ASM_IDENTIFY_GCC_AFTER_SOURCE): Output stab here instead of + above. - * Makefile.in (doc): Don't depend on gplus.info. - (gplus.info): Target deleted. +Sat Dec 16 07:03:33 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * c-decl.c (store_parm_decls): Call build_type_copy with just one arg. + * stor-layout.c (layout_record): When PCC_BITFIELD_TYPE_MATTERS, + compute bitpos using field_size % type_align instead of field_size. - * cccp.c (do_include): Use entire filename when checking for repeat. - Use lookup_include. - (lookup_include): New function. +Fri Dec 15 18:41:50 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * protoize.c (find_extern_def): Store ??? one char at a time. + * fixincludes (sys/wait.h): Add forward declaration of struct rusage + on AIX 3.2.5. - * sparc.h (ASM_OUTPUT_FLOAT): Fix typo. +Sat Dec 9 18:05:03 1995 Jim Wilson - * fold-const.c (operand_equal_p): Reject NaNs and infinities. + * expr.c (expand_expr, case INDIRECT_REF): Correct typo in May 8 + change. - * varasm.c (immed_real_const): Distinguish minus zero from zero. +Sun Nov 26 14:47:42 1995 Richard Kenner - * sparc.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): - Use `inf' for infinities. Use hex for minus-zero. + * Version 2.7.2 released. - * objc-actions.c (build_selector_translation_table): - Don't make a duplicate decl here for _OBJC_SELECTOR_REFERENCES. - Just call finish_decl to store the initial value. - Call push_obstack_nochange to balance with finish_decl. - Use selector_type for declaring individual selector names. + * function.c (fixup_var_refs_1): Make pseudo for DEST + in PROMOTED_MODE unless in a SUBREG. -Sun Mar 22 13:11:32 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cse.c (insert): Don't put a REG into qty_const. - * loop.c (update_giv_derive): Correctly handle the case where - more than one biv update occurs after a giv is defined. + * msdos/top.sed: Change version to 2.7.2. + * winnt/config-nt.sed: Likewise. - * cse.c (rehash_using_reg): Add missing arg to call to exp_equiv_p. +Sun Nov 26 14:41:49 1995 Douglas Rupp (drupp@cs.washington.edu) - * expmed.c (expand_mult_add): Add missing arg to call to type_for_mode. + * Makefile.in (stamp-objlist): Change .o to $objext. - * reorg.c (fill_slots_from_thread): In the case where have a reg-reg - copy and will substitute our destination for our source in the - following insn, correctly check for it modifying our destination. + * alpha/win-nt.h (CPP_PREDEFINES): Set __unaligned and __stdcall + to null. + (ASM_SPEC): Add a translation for -g to -Zi. + * winnt/ld.c (main): Don't pass -g to link. + * winnt/oldnames.c: Reformat and add some new functions for gnat1. + * winnt/win-nt.h (LINK_SPEC): Pass -g to ld.exe. + Increase default stack size. + * configure ({alpha-dec,i386-ibm}-winnt3.5): Add oldnames.o + to extra_objs. + * libgcc2.c (trampoline): Add getpagesize and mprotect for WINNT. -Sun Mar 22 09:20:16 1992 Michael Tiemann (tiemann@cygnus.com) +Sun Nov 26 14:25:26 1995 Uwe Seimet (seimet@chemie.uni-kl.de) - * cp-typeck.c (unary_complex_lvalue): Don't complain about taking - the ``address'' of a bound static method or member. + * atari.h (FUNCTION_VALUE): Deleted; incorrect. - * cp-init.c (resolve_offset_ref): Fix bug in handling of static - members and member functions. +Sun Nov 26 14:23:03 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * cp-decl2.c (finish_file): If CURRENT_CLASS_TYPE is non-NULL on - entry to this function, punt. - - * cp-parse.y (template_parm): Use CLASS_TYPE_NODE instead of - CLASS_TYPE value. - - * cp-cvt.c (build_type_conversion): Add another add-hoc rule to find - unsigned->int conversion (if conversion to long does not exist). - - * cp-method.c (build_overload_name): Don't call `array_type_nelts' - if the TYPE_DOMAIN of an array type is NULL_TREE. - - * cp-init.c (build_offset_ref): Set up and use DECL even in case - where NAME resolves to a method. - - * cp-call.c (ideal_candidate): Half of Jan 28 change was missing. - Now PARMS are not converted in place if BASETYPE is NULL. - - * cp-typeck.c (build_component_ref): Don't return a TYPE_DECL. - - * cp-type2.c (build_functional_cast): If CURRENT_FUNCTION_DECL is - NULL, don't wrap EXPR_AS_CTOR in a NEW_EXPR. This make it possible - to parse default initializers that involve constructor calls. - * cp-typeck.c (convert_for_initialization): Handle this change. - * cp-method.c (dump_init): Grok INDIRECT_REFs that have - TREE_HAS_CONSTRUCTOR set. - - * cp-decl.c (push_overloaded_decl): Don't use the - DECL_ASSEMBLER_NAME for GLOB as the TREE_PURPOSE of the new GLOB. - Use ORIG_NAME instead. - - * cp-decl.c (grokvardecl): If FIELD has incomplete type, complete it - with TYPE. - - * cp-decl2.c (flag_this_is_variable): Define the value -2 to mean an - object of known type is being constructed. - * cp-decl.c (resolves_to_fixed_type_p): Test FLAG_THIS_IS_VARIABLE - for the value -2 instead of testing DECL_CONSTRUCTOR_P in case we - are looking at `current_class_decl'. - * cp-search.c (init_vbase_pointers): Set FLAG_THIS_IS_VARIABLE to -2 - instead of 0. - (build_vbase_vtables_init): Ditto. - * cp-*.c: All tests of FLAG_THIS_IS_VARIABLE changed to reflect the - new semantics. - - * cp-typeck.c (comptypes): Don't use IS_AGGR_TYPE_2; test explicitly - that both are RECORD_TYPE. - (build_binary_op_nodefault): Ditto. - (convert_for_assignment): Ditto. - * cp-cvt.c (convert_to_pointer): Ditto. - (convert_to_pointer_force): Ditto. - * cp-call.c (convert_harshness): Ditto. - - * cp-search.c (get_first_matching_virtual): Fix typo. - - * cp-tree.c (layout_basetypes): When warning about certain - inheritance relationships, only print "virtual" when the - inheritance is virtual. - -Sun Mar 22 01:28:41 1992 Ken Raeburn (Raeburn@Cygnus.COM) - - Fix dbx info for methods of template classes: - * cp-decl.c (make_type_decl): New function. Creates a TYPE_DECL - node and assigns as its DECL_ASSEMBLER_NAME the encoded form of the - type name as it will be used in assembler output. All calls to - build_decl(TYPE_DECL,...) changed to call this. - * dbxout.c (dbxout_type_methods): Instead of skipping digits and - assuming the human-readable type name follows in the assembler names - for methods, use DECL_ASSEMBLER_NAME of the type. - Handle the special DECL_NAME that is made for templates. - * cp-lex.c (build_lang_field_decl): Set DECL_ASSEMBLER_NAME - correctly if new decl is a TYPE_DECL. - (build_lang_decl): Ditto. - * cp-decl.c (pushdecl): Use DECL_ASSEMBLER_NAME only for - FUNCTION_DECL and VAR_DECL nodes; all others use DECL_NAME. - * cp-tree.h (make_type_decl): Declare it. - - * cp-pt.c (overload_template_name, undo_template_name_overload): - Revert 4 March change. - - * cp-decl2.c: No longer define NEW_OVERLOAD_SCHEME. - (grokfield): Use new encoding scheme always. - - * cp-pt.c (overload_template_name): Deleted extra assignment to - IDENTIFIER_LOCAL_VALUE slot. - - * cp-method.c (dump_aggr_type): Use DECL_CONTEXT rather than - DECL_CLASS_CONTEXT. - - * cp-pt.c (instantiate_class_template): Move some common code from - two branches to before branch point. - - * cp-method.c (dump_aggr_type): Don't discard last character of - context string; it's not whitespace. - -Sun Mar 22 15:58:48 1992 Per Bothner (bothner@rtl.cygnus.com) - - * cp-tree.h: Add more enum->int casts needed by some compilers. - -Sun Mar 22 20:40:25 1992 Mike Stump (mrs@cygnus.com) - - * cp-typeck.c (build_modify_expr): Handle preincrement and - predecrement as valid lvals. - - * gplus.gperf: Finish off changing ASM to ASM_KEYWORD. - * cp-hash.h: Rebuilt. - - * cp-type2.c (build_functional_cast): remove incorrect error message. - -Sat Mar 21 15:43:04 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c-typeck.c (build_c_cast): Don't warn if convert explicit 0 to ptr. - - * local-alloc.c (wipe_dead_reg): If insn has multiple sets and - the reg appears in a destination, extend life to end of insn. - * global-alloc.c (global_conflicts): Analogous change. - (mark_reg_conflicts): New function. - * combine.c (try_combine): If I2 has multiple dests, make sure - we don't change one of them to overlap anything used within another. - - * configure (pyramid): Commented out. - - * toplev.c (main): Handle -gen-aux-info, with argument. - (compile_file): Assume aux_info_file_name already computed. - Don't make it local here. - * protoize.c (munge_compile_params): Produce -aux-info. - Set aux_info_file_name_index. - (gen_aux_info_file): Produce and store the aux-info file name. - (input_file_name_index): Renamed from filename_index. - (aux_info_file_name_index): New var. - * Makefile.in (SYSCALLS.c.X): Use -aux-info. - * gcc.c, hp800.h, next.h, sparc.h, sun2.h, sun3.h, svr4.h: - (WORD_SWITCH_TAKES_ARG): Handle -aux-info. - * gcc.c (default_compilers): Pass -aux-info to cc1*. - - * configure (mips-*-sysv*): Renamed from mips-*-sysv and moved down. - - * gcc.c (execute): Undo Mar 12 change. - - * configure (i386-*-bsd*): New alternative. - * i386bsd.h: New file. - -Sat Mar 21 15:14:08 1992 Ron Guilmette (rfg at ncd.com) - - * sparc.c (output_move_double): Check for XEXP (op2, 0) being a - LOW_SUM, rather than checking op2. Handle both ldd and std there. - -Sat Mar 21 14:14:10 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) - - * vms.h (CPP_PREDEFINES): Do not define __GNU__. - -Sat Mar 21 21:35:37 1992 Jyrki Kuoppala (jkp@batman.cs.hut.fi) - - * ns32k.md (call_value): Added a missing "{". - - * ns32k.c (print_operand): Fixed typo X -> x, FILE -> file. - -Sat Mar 21 11:11:04 1992 Michael Meissner (meissner@osf.org) - - * mips.h (MIPS_VERSION): Bump Meissner version # to 14. - (CPP_PREDEFINES): Always define SYSTYPE_BSD43. - (CPP_SPEC): Don't define it here. - (ASM_SPEC): Pass -cpp/-nocpp/-mips1/-mips2/-mips3 to MIPS assembler, - and only pass -nocpp by default unless .s files are assembled for - MIPS compatibility. - (LINK_SPEC): Pass -mips1/-mips2/-mips3 to MIPS linker. - (MD_STARTFILE_PREFIX): Define to be /usr/lib/cmplrs/cc/ if not - already defined. - (NM_FLAGS): Define as appropriate for most MIPS systems. - (PREFERRED_DEBUGGING_TYPE): If -ggdb prefer stabs over the normal - ECOFF debug format, but -g selects ECOFF. - (DEFAULT_GDB_EXTENSIONS): Define as 1. - (DOLLARS_IN_IDENTIFIERS): Don't define if already defined. - - * mips.c (mips_output_filename): If emitting encapsulated stabs, - emit #@stabs immediately after the first .file, so that the @stabs - is the second symbol. GDB 4.4 only checks symbol #2 to see whether - it is encapsulated stabs, or ECOFF. - - * mips.md (subdi define_splits): Use ltu instead of lt. - (branch_zero_true): Generate correct code when not optimizing, and - an always true/false branch is generated. - (branch_zero_false): Ditto. - - * mips-bsd.h (CPP_PREDEFINES): Always define SYSTYPE_BSD43. - (CPP_SPEC): Don't define it here. Remove -Z{BSD43,SYSV} support. - Don't pass -I in here. - (SYSTEM_INCLUDE_DIR): Define to be /bsd43/usr/include. - (LINK_SPEC): Pass -mips1/-mips2/-mips3 to the linker. Remove - -Z{BSD43,SYSV} support. Always pass -systype /bsd43/ to the linker. - - * mips-sysv.h (CPP_PREDEFINES): Always define SYSTYPE_SYSV. - (CPP_SPEC): Don't define it here. Remove -Z{BSD43,SYSV} support. - Don't pass -I in here. - (SYSTEM_INCLUDE_DIR): Define to be /sysv/usr/include. - (LINK_SPEC): Pass -mips1/-mips2/-mips3 to the linker. Remove - -Z{BSD43,SYSV} support. Always pass -systype /sysv/ to the linker. - (MD_STARTFILE_PREFIX): Remove, this is now defined in mips.h. - - * mips-news.h (CPP_SPEC): Don't pass -I in here. - (SYSTEM_INCLUDE_DIR): Define to be /usr/include2.0. - (ASM_SPEC): Pass -cpp/-nocpp/-mips1/-mips2/-mips3 to MIPS assembler, - and only pass -nocpp by default unless .s files are assembled for - MIPS compatibility. - (LINK_SPEC): Pass -mips1/-mips2/-mips3 to the linker. - - * mips-news5.h (CPP_PREDEFINES): Define SYSTYPE_SYSV. - (CPP_SPEC): Don't define it here. Remove -Z{BSD43,SYSV} support. - Don't pass -I here. - (LINK_SPEC): Pass -mips1/-mips2/-mips3 to the linker. - - * iris.h (ASM_SPEC): Pass -cpp/-nocpp/-mips1/-mips2/-mips3 to MIPS - assembler, and only pass -nocpp by default unless .s files are - assembled for MIPS compatibility. - (LINK_SPEC): Pass -mips1/-mips2/-mips3 to the linker. - - * iris.h (DOLLARS_IN_IDENTIFIERS): Define as 0, for iris assembler. - (NO_DOLLAR_IN_LABEL): Define, to force static constructors to use a - period instead of a dollar sign. - - * decstatn.h (ASM_SPEC): Pass -cpp/-nocpp/-mips1/-mips2/-mips3 to - MIPS assembler, and only pass -nocpp by default unless .s files are - assembled for MIPS compatibility. - (LINK_SPEC): Pass -mips1/-mips2/-mips3 to the MIPS linker. - - * decsrose.h (ASM_SPEC): Pass -cpp/-nocpp/-mips1/-mips2/-mips3 to - MIPS assembler, and only pass -nocpp by default unless .s files are - assembled for MIPS compatibility. - (LINK_SPEC): Pass -mips1/-mips2/-mips3 to the MIPS linker. - - * Makefile.in (collect2.o): Define macros where the standard places - binaries are installed, so that if it is invoked outside of gcc, it - has a better chance of finding the correct version of the tools to - invoke. - - * mips-tdump.c (toplevel): Declare things void * on Silicon Graphics. - - * mips-tfile.c (toplevel): Declare things void * on Silicon - Graphics. - (stabs_seen): Move static variable to file scope. - (mark_stabs): New function to put out the @stabs symbol for GDB to - switch to encapsulated stabs. - (pseudo_ops): Call mark_stabs if #@stabs found. - (parse_stabs_common): Call mark_stabs if needed to add @stabs. - - * sdbout.c (sdbout_dequeue_anonymous_types): Don't core dump if - TREE_VALUE is null. - - * decstabs.h (new file): DECstation w/encapsulated stabs. - * irisgdb.h (new file): SGI iris w/encapsulated stabs. - * mips-gbsd.h (new file): Mips BSD43 w/encapsulated stabs. - * mips-gdb.h (new file): Mips w/encapsulated stabs. - * mips-gnews.h (new file): Sony NEWS w/encapsulated stabs. - * mips-gnews5.h (new file): Sony NEWS 5.0 w/encapsulated stabs. - * mips-gsvr4.h (new file): Mips SV.4 w/encapsulated stabs. - * mips-gsysv.h (new file): Mips SV.3 w/encapsulated stabs. - * mips-svr4.h (new file): Mips System V.4. - * x-iris (new file): Specify that iris needs alloca.o since it's - alloca is buggy. - - * dbxout.c (toplevel): If NO_STAB_H is defined, include gstab.h just - like if USG is defined. - * final.c (toplevel): Ditto. - * mips-tfile.c (toplevel): Ditto. - * xcoffout.c (toplevel): Ditto. - - * xm-mips.h (NO_STAB_H): Define, except on OSF/1. - -Fri Mar 20 23:51:54 1992 James Van Artsdalen (james at bigtex.cactus.org) - - * reg-stack.c (subst_asm_stack_regs): A REG_UNUSED note never - applies to an input reg, even if that reg is tied to an output. - - * reg-stack.c (record_asm_reg_life): Use XVECLEN only on a PARALLEL. - (subst_asm_stack_regs): Likewise. - -Fri Mar 20 18:57:43 1992 Michael Meissner (meissner@osf.org) - - * mips.h (MIPS_VERSION): Bump Meissner version # to 13. - (mips_declare_object): Declare new function. - (ASM_OUTPUT_LABEL): Remove cruft from when collect spit out assembly - language instead of C code. - (ASM_GLOBALIZE_LABEL): Ditto. - (ASM_OUTPUT_INT): Ditto. - (ASM_OUTPUT_INT_CONST): Remove, no longer used. - (ASM_OUTPUT_PTR_INT_SUM): Ditto. - (ASM_OUTPUT_LABEL): Don't set that we've seen an identifier here. - (ASM_DECLARE_OBJECT_NAME): New macro, call mips_declare_object to - emit the label, and mark that no .extern is needed for the name. - (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Call mips_declare_object. - - * mips.c (mips_declare_object): New function to output the stuff - needed for global variables, bss variables, and static bss - variables. - -Fri Mar 20 14:13:32 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * cp-xref.c (GNU_xref_file): Get rid of arbitrary limit--malloc nmbuf. - - * cp-parse.y (scoped_id): Error if spec'd type is undefined. - - * m68k.c (output_function_epilogue): Output at least a nop. - - * xm-hp320.h (USG): Defined. - - * m68k.c (output_function_prologue, output_function_epilogue): - Change %I to %0I. - (print_operand): Likewise. + * fixincludes (curses.h): Allow space or tab after bool keyword, + instead of tab or tab. - * varasm.c (data_section): Add forward decl. +Sun Nov 26 14:14:11 1995 Oliver Kellogg (oliver.kellogg@space.otn.dasa.de) - * m68k.c (print_operand): Make %! print fpcr. - * crds.h, hp320.h, mot3300.h, news.h, tower-as.h (PRINT_OPERAND): - Likewise. - * m68k.md (fix_trunc*): Use %!. + * 1750a.md (pattern for HImode PSHM): Corrected. + (trunchiqi2, zero_extendqihi2, extendhftqf2): Corrected. + (pattern for movhi of CONST_INT to REG): Corrected. + (divmodqi pattern for DISN): Corrected. + (all shift patterns): Corrected. - * toplev.c (compile_file): Optionally call setvbuf for output file. + * 1750a.h (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Corrected. + (ASM_OUTPUT_[datatype]): Corrected datalbl[].size computation + for output of arrays. - * loop.c (move_movables): Fix typo. +Sun Nov 26 14:08:57 1995 Dave Love -Fri Mar 20 17:42:12 1992 Paul Eggert (eggert@twinsun.com) + * mips/iris5.h (NO_IMPLICIT_EXTERN_C): Define this again so + that unistd.h doesn't get badly `fixed' for C++. libg++ will now + build with this definition. - * Makefile.in (SYSCALLS.c): Use `cat' to create this file, instead - of having it consist of `#include' directives. - (mostlyclean): Delete SYSCALLS.c. - * SYSCALLS.c: File deleted. +Sun Nov 26 14:02:43 1995 Robert E. Brown (brown@grettir.bibliotech.com) - * getpwd.c (new file): Get and cache working directory, using PWD - if it works and getcwd otherwise. - * Makefile.in (OBJS, protoize): add getpwd.o - * cp-xref.c (GNU_xref_file): Likewise. - * dbxout.c (dbxout_init): Likewise. - * dwarfout.c (output_compile_unit_die): Likewise. - * protoize.c (main): Likewise. + * configure: Better workaround for Nextstep bug. -Fri Mar 20 12:58:57 1992 Ron Guilmette (rfg at ncd.com) +Sun Nov 26 13:55:07 1995 Torbjorn Granlund - * dwarfout.c (location_or_const_value_attribute): Fixed to use - DECL_INCOMING_RTL as the "location" for formal parameter variables. + * rs6000.md (load_multiple matcher): Fix typo in opcode. -Fri Mar 20 13:26:16 1992 Michael Collison (collison@osf.org) +Sun Nov 26 13:51:08 1995 Lee Iverson - * i386rose.h (INIT_SECTION_ASM_OP): OSF doesn't support a true - initialization section. + * final.c (final_start_function): Move call to sdbout_begin_function + back to final_scan_insn on MIPS systems so parameter descriptions are + recognized. -Fri Mar 20 07:23:15 1992 Tom Wood (wood at dg-rtp.dg.com) +Sun Nov 26 13:43:06 1995 DJ Delorie (dj@delorie.co)m - * m88k.md (set zero_extract patterns): Use the + constraint. + * msdos/top.sed: Don't insert "go32". - * crtstuff.c (__do_global_ctors_aux): Declare it. +Sun Nov 26 12:08:23 1995 Jim Wilson - * m88k.h (CONDITIONAL_REGISTER_USAGE): Mark the PIC register fixed, - but not call used. - - * m88k.c (m88k_builtin_saveregs): Get a properly aligned block. + * combine.c (nonzero_bits, case REG): Put POINTERS_EXTEND_UNSIGNED + code before stack pointer code. Return nonzero at end of stack + pointer code. - * m88k.md (cpu attribute): Use const form. + * sparc.h (PRINT_OPERAND_ADDRESS): Handle CONST inside PLUS. - * m88k.h, m88k.c, m88kdgux.h (uses of *_ASM_OP): Add tabs. + * Makefile.in (cppalloc.o): Add a rule to build it. -Fri Mar 20 05:46:26 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * alpha.c (alpha_emit_set_const): Don't output SImode sequences + that rely on invisible overflow. Sign extend new when SImode. + Don't recur if new == c. Don't allow shift outside mode. Make + logical right shift be unsigned. - * expmed.c (emit_store_flag): Need to prevent SUBTARGET from being - OP0 in one more case. +Sun Nov 26 11:37:50 1995 Arne H. Juul (arnej@idt.unit.no) - * loop.c (add_label_notes): New function. - (move_movables): Use it when hoisting a `move_insn' movable - to ensure we create any required REG_LABEL notes. + * Makefile.in (compare*): Add "|| true" to avoid spurious + failure messages from some versions of make. - * hp800.h (CONDITIONAL_REGISTER_USAGE): Make reg 27 a global_reg - for now. +Sun Nov 26 11:20:09 1995 Dmitry K. Butskoy (buc@stu.spb.su) - * combine.c (make_field_assignment): Use correct mode when shifting - the source of the assignment. + * expr.c (truthvalue_conversion): Add declaration. - * fold-const.c (invert_truthvalue): Correct error in last change. +Sun Nov 12 18:09:35 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Mar 19 18:59:24 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Version 2.7.1 released. - * stmt.c (expand_end_case): Convert do_tablejump arg to Pmode. + * function.c (put_reg_into_stack): New arg volatile_p. + (put_var_into_stack): Call with new arg. -Thu Mar 19 16:54:15 1992 Michael Meissner (meissner@osf.org) +Sat Nov 11 08:25:34 1995 Jim Wilson - * collect2.c (main): Only pass -fxxx and -mxxx options to gcc when - building constructors. + * reload.c (output.h): Include it. + * Makefile.in (reload.o): Add dependence on output.h. -Thu Mar 19 16:44:21 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Thu Nov 9 11:24:20 1995 Jim Wilson - * fold-const.c (invert_truthvalue): Correctly check for floating - comparison. + * mips.h (HARD_REGNO_NREGS): If FP_REG_P, always use UNITS_PER_FPREG + to calculate number of words needed. -Thu Mar 19 14:42:49 1992 Tom Wood (wood at dg-rtp.dg.com) +Thu Nov 9 11:04:50 1995 Oliver Kellogg (Oliver.Kellogg@space.otn.dasa.de) - * function.c (expand_main_function): Do so if INVOKE__main is defined. - * libgcc2.c (__main): Provide if INVOKE__main is defined. - * crtstuff.c (__do_global_ctors_aux): Renamed from __do_global_ctors. - (__do_global_ctors): Simple non-static function that invokes - __do_global_ctors_aux. + * 1750a.md (cmphf): Addd Base Reg with Offset address mode (LB,STB,..) + (movqi,movhi,movhf,addqi3,addhf3,subqi3,subhf3,mulqihi3): Likewise. + (mulhf3,divhf3,andqi3,iorqi3): Likewise. + (define_peephole): Remove the Base mode peepholes. Replace the + special addqi define_insn for "LIM Ra,sym,Rb" by a define_peephole. + (ashlqi3): Took out futile 0th alternative. + (lshrqi3, lshrhi3, ashrqi3, ahsrhi3): Correct case of non-constant + shift count. - * crtstuff.c ({CTOR,DTOR}_LIST_{BEGIN,END}): Allow alternate way - to represent and define __{CTOR,DTOR}_LIST__. - * i386v.h, aix386.h (CTOR_LIST_{BEGIN,END}): Use these to push - instead of the funny definition of CTORS_SECTION_ASM_OP. - * svr3.h (CTORS_SECTION_ASM_OP): Use the .init section. + * 1750a.h (REG_ALLOC_ORDER): Define. + (REGNO_OK_FOR_BASE_P): Include stack pointer in test against + reg_renumber[REGNO]. + (ASM_OUTPUT_DESTRUCTOR): Remove bogus assembler comment. - * m88kv3.h (CTOR_LIST_BEGIN): Emit code to .init to push a zero. - (CTOR_LIST_END): Do nothing. - (ASM_OUTPUT_CONSTRUCTOR): Emit code to .init to push the address. - (DTOR_LIST_{BEGIN,END}): Output a block of four words. - (ASM_OUTPUT_DESTRUCTOR): Output the address and three words of -1. - (DO_GLOBAL_DTORS_BODY): Ignore all values of -1. +Thu Nov 9 11:01:33 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * real.h (REAL_VALUE_ISNAN): Define. - * fold-const.c (target_isnan): New function. - * sun3.h, sparc.h (ASM_OUTPUT_{FLOAT,DOUBLE}): Use REAL_VALUE_ISNAN. + * expr.c (expand_expr, case ARRAY_REF): Properly convert types + of index, size, and multiplication. - * sun3.h: Delete extra #endif. +Wed Nov 8 09:00:22 1995 Richard Earnshaw (rearnsha@armltd.co.uk) -Thu Mar 19 14:25:50 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * arm.md (mov*cc_{,soft_}insn): Use match_operator to test the + comparison and check that the condition code register is used. - * hp800.c (output_move_double): Don't check for CONST_DOUBLE - when classifying operand types, CONSTANT_P now includes it. - Use split_double to assign operand vectors for CNSTOP. +Wed Nov 8 08:49:35 1995 Michael Meissner -Thu Mar 19 13:59:16 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rs6000/sysv4.h (ASM_OUTPUT_{CONSTRUCTOR,DESTRUCTOR}): Undef before + including svr4.h. - * hp320.h (SPACE_AFTER_L_OPTION): Defined. - (LIB_SPEC): Defined. +Tue Nov 7 10:58:12 1995 Torbjorn Granlund - * toplev.c (compile_file): Output aux_info_file in source file's dir. + * m68k.md (subxf3): Properly name pattern. -Wed Mar 18 17:42:12 1992 Paul Eggert (eggert@twinsun.com) +Tue Nov 7 10:53:09 1995 Michael Meissner - * c-aux-info.c (gen_aux_info_record): Don't put the absolute path - name into the output file: it's useless, expensive, and often wrong. - Use "." instead. - * protoize.c (is_syscalls_file): Look for SYSCALLS.c only at the - end of the file name. - (abspath): Remove useless test of '\0' versus '/'. Add apollo fix. - (shortpath): Stop when replacement filename is longer than the - original; this avoids buffer overrun. Do not pretend that - `a/b/c' is a path prefix of `a/b/cd'. - (gen_aux_info_file): Report errors when compilation fails. - Do not use stdio in child process. - Don't say `exit(errno)'; errno might be too large. - (process_aux_info_file): Increment error count if aux info file cannot - be generated. Allow the invocation filename to be relative; - for now, it will always be ".". - (do_processing): Replace strlen (x) with sizeof (x) - 1. + * libgcc2.c (__{C,D}TOR_LIST): For AIX, initialize these arrays to + 0,0, just like NeXT to avoid a warning message from the AIX 4.1 + linker. -Thu Mar 19 13:31:24 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Tue Nov 7 09:58:34 1995 John F. Carr - * cse.c (simplify_binary_operation, PLUS and MINUS cases): Use - arg0s and arg1s instead of arg0 and arg1, so that resulting values - will be sign extended. + * cppexp.c (cpp_lex): Correctly parse character constants. - * sched.c (sched_analyze_1): Don't call sched_analyze_2 at the end. - This code was never executed, and is wrong. - (sched_analyze_2): Convert from if statements to a switch. - Add support for PRE_DEC/PRE_INC/POST_DEC/POST_INC; pass them to - sched_analyze_1 because they are writes. - (sched_analyze_insn): Delete special case code to handle REG_INC - notes, obsoleted by change above. +Tue Nov 7 09:52:15 1995 Jason Merrill - * sparc.c (output_block_move): Rewrite to more efficiently handle - constant length strings whose length is not a multiple of their - alignment. Also, the length of strings handled without a loop now - is a multiple of their alignment, instead of fixed size. + * rs6000.h (ASM_OUTPUT_{DES,CONS}TRUCTOR): Define. - * objc-actions.c (build_selector_translation_table): Add cast for - array index from enum to int to satisfy old compiler. +Mon Nov 6 10:27:15 1995 Doug Evans - * c-parse.gperf: Change ASM to ASM_KEYWORD. - * gplus.gperf: Likewise. + * combine.c (force_to_mode): Fix typo. - * Makefile.in (install-man): Delete duplicate lines. +Sun Nov 5 18:37:02 1995 Torbjorn Granlund -Thu Mar 19 02:32:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * m68k.md (cmpxf): Don't call force_const_mem, it looses for PIC; + get predicates right instead. Get rid of separate DEFINE_EXPAND. + (addxf3, subxf3, mulxf3, divxf3): Likewise. + (All XFmode patterns): Delete `F' and `G' constraints. + (absxf2, negxf2): Delete spurious condition on TARGET_FPA. - * c-decl.c (init_decl_processing): Disable `sqrt'. +Sun Nov 5 11:05:44 1995 Philippe De Muyter (phdm@info.ucl.ac.be) -Thu Mar 19 01:09:16 1992 James Van Artsdalen (james at bigtex.cactus.org) + * fixincludes (malloc.h): Fix return type of {m,re}alloc. - * i386.c (output_move_double): Properly check for signedness in a - const_double. +Sun Nov 5 11:02:26 1995 J"orn Rennecke (amylaar@meolyon.hanse.de) -Wed Mar 18 18:51:37 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cse.c (invalidate): For a pseudo register, do a loop to + invalidate all table entries, irrespective of mode. - * gcc.c (link_command_spec) [not LINK_LIBGCC_SPECIAL]: Put back -s. +Sun Nov 5 10:57:43 1995 Richard Kenner - * config.sub (i486): Accept as CPU type. + * combine.c (force_to_mode): Put in last change properly. - * collect2.c (do_wait): Handle NO_SYS_SIGLIST. - * xm-hp320.h (NO_SYS_SIGLIST): Defined. +Sun Nov 5 10:53:49 1995 Jeffrey A Law (law@cygnus.com) -Wed Mar 18 15:58:31 1992 Tom Wood (wood at dg-rtp.dg.com) + * pa.h (CONDITIONAL_REGISTER_USAGE): Make sure FP regs + get disabled regardless of PA1.0 vs PA1.1 code generation + when TARGET_SOFT_FLOAT or TARGET_DISABLE_FPREGS is on. - * crtstuff.c, dwarfout.c, svr3.h, svr4.h (*_ASM_OP): Remove tabs - and newlines. - * dwarfout.c, svr3.h, svr4.h - (ASM_OUTPUT_*, ASM_DECLARE_*, ASM_DWARF_*): Put tabs here when needed. +Sun Nov 5 10:49:43 1995 Doug Evans -Wed Mar 18 17:26:44 1992 Ron Guilmette (rfg at ncd.com) + * i960.c (emit_move_sequence): Add a scratch register to + multi-reg stores. + (i960_output_move_{double,quad}): New functions. + (i960_print_operand): Handle new operand types E, F. + * i960.md (movdi matchers): Rewrite. + (store_unaligned_di_reg): New pattern. + (movti matchers): Rewrite. + (store_unaligned_ti_reg): New pattern. + +Sun Nov 5 10:45:24 1995 Ian Lance Taylor (ian@cygnus.com) - * svr4.h (MULTIBYTE_CHARS): Added definition. + * mips.h (MULTILIB_DEFAULTS): Define. + * mips/elf64.h, mips/iris6.h (MULTILIB_DEFAULTS): Define. -Wed Mar 18 17:36:30 1992 Michael Meissner (meissner@osf.org) +Sun Nov 5 10:41:48 1995 Jim Wilson - * gcc.c (collect_obstack): New static obstack to build the - environment variables to pass to collect, so that it can reliably - find the compiler passes. - (putenv): New function to add a variable to the environment. - Stubbed out for MSDOS and VMS at present, or if HAVE_PUTENV is - defined. - (putenv_from_paths): New function to take a path list, and build - the corresponding environment variable for it. - (main): Pass argv[0] to collect through the environment variable - COLLECT_GCC. Rebuild the COMPILER_PATH and LIBRARY_PATH - environment variables to include all prefixes specified with -B, - -b, and -V. Construct COLLECT_GCC_OPTIONS environment variable to - consist of all of the options passed to gcc, except for the -B, - -b, and -V options. + * reload.c (push_reload): Delete abort for RELOAD_OTHER case added + in last change. + * reload1.c (emit_reload_insns): For RELOAD_OTHER output reloads, + output the reload insns in descending order of reloads. + + * sh.md (mulsidi3-1, mulsidi3, umulsidi3-1, umulsidi3): Enable. + (smulsi3_highpart-1, smulsi3_highpart): New patterns. + (umulsi3_highpart-1, umulsi3_highpart): Likewise. + (movdi-1): Add r/x constraint. + * t-sh (MULTILIB_OPTIONS): Add m2. + (MULTILIB_DIRNAMES): Add m2. + (MULTILIB_MATCHES): Define. - * collect2.c (main): Correctly size the number of arguments passed - to the compiler when building the constructor lists to account for - any options passed through the environment variable - COLLECT_GCC_OPTIONS. If the environment variable COLLECT_GCC - specifies a full pathname, use that for the pathname to invoke gcc - with. Print the name "collect2" in lowercase if -v. + * sparc.h (RTX_COSTS, case MULT): Check for TARGET_SPARCLITE. - * xm-mips.h (HAVE_PUTENV): Define if OSF/1. + * abi64.h, elf64.h (CPP_SPEC): Add -EB and -EL support. -Wed Mar 18 07:27:50 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Sat Nov 4 10:36:26 1995 Jim Wilson - * hp800.c (actual_fsize): Remove duplicate declaration. - (profile_flag): Remove definition; defined in flags.h. - (hp_profile_labelno, local_fsize, save_fregs): Move declarations to - top of file. + * sh.md (casesi_worker): Change constraint from = to +. - * hp800.h (OPTIMIZATION_OPTIONS): Do same thing as Sparc. + * svr4.h (ASM_IDENTIFY_GCC_AFTER_SOURCE): Delete. + (ASM_IDENTIFY_GCC): Output stab here. - * combine.c (reg_bitfield_target_p): Use rtx_equal_p instead of - assuming the actual rtx is used. +Sat Nov 4 10:32:37 1995 John Carr -Wed Mar 18 00:20:38 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cpplib.c (finclude): Set current input pointer when input + is not a regular file. - * gstddef.h: Handle _GCC_PTRDIFF_T, _GCC_SIZE_T, _GCC_WCHAR_T. - * fixincludes: Use those macros in inserted conditionals. + * cppmain.c: Define progname, required by cpplib. - * gstddef.h: Handle _T_SIZE_ and _T_PTRDIFF_, like _T_WCHAR_. +Sun Oct 29 07:48:36 1995 Michael Meissner - * sun3.h (CPP_SPEC): Delete the alternative for fpa as default. - Define symbols with __ as well as without. + * xcoffout.h (DBX_FINISH_SYMBOL): Deal with names created via + the __asm__ construct that start with a leading '*'. + * xcoffout.c (xcoff_declare_function): Likewise. - * hp320.h (LINK_LIBGCC_SPECIAL, RELATIVE_PREFIX_NOT_LINKDIR): - Define unless USE_GAS. +Sun Oct 29 07:45:41 1995 Jim Wilson -Tue Mar 17 17:19:07 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * stupid.c (stupid_mark_refs): Handle SUBREG of pseudo-reg in a + SET_DEST same as we handle a pseudo-reg in a SET_DEST. - * fixincludes (making directories): Always use find. +Sun Oct 29 07:43:15 1995 Pat Rankin - * c-decl.c (pushdecl): Don't warn if define nonansi builtin as static, - or if define ANSI builtin as inline static. + * libgcc2.c (L_eh: __unwind_function): Implement for VAX. + * vax.h (RETURN_ADDRESS_OFFSET, RETURN_ADDR_RTX): Define. - * hp800hpux.h (LINK_LIBGCC_SPECIAL, RELATIVE_PREFIX_NOT_LINKDIR): New. +Sun Oct 29 12:39:08 1995 Richard Kenner a - * fixinc.svr4: Special changes for Sony MIPS-NEWS. + * i386/sol2.h (CPP_PREDEFINES): Add -D__SVR4. -Tue Mar 17 15:12:57 1992 Tim Moore (moore@defmacro.cs.utah.edu) +Sun Oct 29 07:14:36 1995 J"orn Rennecke (amylaar@meolyon.hanse.de) - * hp800.h (INITIAL_FRAME_POINTER_OFFSET): Get sign right, include - fixed area. + * reload.c (find_equiv_reg): Check for nonsaving setjmp. -Tue Mar 17 14:06:01 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Oct 27 15:15:56 1995 Jim Wilson - * Makefile.in (all.indirect): Renamed from all-internal. + * Makefile.in (out_object_file): Depend on TREE_H. - * t-mips (ALL): Deleted. +Fri Oct 27 06:42:36 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Mar 17 10:35:18 1992 Michael Meissner (meissner@osf.org) + * alpha.c (call_operand): Only allow reg 27 on NT too. + * alpha.md (call_value_nt, call_nt): Force non-SYMBOL_REF + into reg 27, just like for OSF. - * halfpic.c (half_pic_address_p): Fix typo in last change. + * rs6000.c (struct asm_option): Changed from struct option. + (expand_block_move_mem): Remove erroneously-added line. - * x-decrose (CLIB): Add -lbsd, since vfork moved to libbsd.a. - * x-encrose (CLIB): Ditto. - * x-i386rose (CLIB): Ditto. + * expr.c (clear_storage): SIZE is now rtx, not int. + (store_constructor): Call clear_storage with rtx. + (get_inner_reference): Convert index to precision of + sizetype, not POINTER_SIZE. + (expand_expr, case ARRAY_REF): Likewise. + * expr.h (clear_storage): Second arg is rtx, not int. -Tue Mar 17 07:02:29 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Fri Oct 27 05:45:58 1995 J"orn Rennecke (amylaar@meolyon.hanse.de) - * mips.md (movdi): FP_REGS don't allow DImode, so remove them - from the constraints. + * combine.c (force_to_mode, case ASHIFTRT): Properly handle + mask wider than HOST_WIDE_INT. - * mips.md (unaligned moves): Use UNSPEC to distinguish SETs that are - unaligned from those that aren't. + * c-decl.c (pushdecl): Don't test TREE_PUBLIC when deciding whether + to register a duplicate decl in the current block. - * combine.c (try_combine): Update LOG_LINKS correctly when we split a - PARALLEL that loads from memory both as a full-word and sign-extended. +Thu Oct 26 21:55:39 1995 Jason Merrill -Tue Mar 17 21:23:10 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + * calls.c (expand_call): Don't trust the callee to copy a + TREE_ADDRESSABLE type. + * function.c (assign_parms): Likewise. - * vax.c (split_quadword_operands): Fix typo. +Thu Oct 26 19:25:05 1995 Mike Stump - * make-cc1.com: Add xcoffout.c. + * libgcc2.c (__unwind_function): Provide a default definition for + implementations that don't yet have a function unwinder. -Mon Mar 16 17:12:26 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Oct 26 18:08:19 1995 Paul Eggert - * configure (mips-dec-ultrix*): Use x-decstatn. - * x-decstatn (CLIB): Delete. + * cccp.c (handle_directive): Don't treat newline as white + space when coalescing white space around a backslash-newline. - * expr.c (move_by_pieces_1): Add negative ints--don't subtract ints. +Thu Oct 26 17:57:34 1995 Ian Lance Taylor - * next.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Turned off. - * t-next (EXTRA_PROGRAMS, ld): Use collect2. - * configure (m68k-next-*): Use t-next. + * mips-tdump.c (enum st): Define st_Struct, st_Union, and st_Enum. + (st_to_string): Handle them. + (type_to_string): Add fdp argument; pass it to emit_aggregate. + (print_symbol): Add fdp argument; pass it to type_to_string. + Handle st_Struct, st_Union, and st_Enum. + (emit_aggregate): Add fdp argument. Handle opaque types. Map + through RFD entries. + (print_file_desc): Pass FDR to print_symbol. + (main): Pass null FDR to type_to_string. - * mips-bsd.h (TARGET_MEM_FUNCTIONS): Defined. +Thu Oct 26 08:07:10 1995 Michael Meissner -Mon Mar 16 14:04:08 1992 Tim Moore (moore@defmacro.cs.utah.edu) + * configure (powerpc-ibm-aix[456789]*): Use rs6000/t-newas, + not rs6000/t-rs6000. + (rs6000-ibm-aix3.2.[456789]*): Likewise. + (rs6000-ibm-aix[456789]*): Likewise. - * hp800.md (movsi + 10, movsi + 11): Add '*' to constraints. - (fix_truncsfsi2, fix_truncdfsi2): Add an alternative to put result - directly in a general register. - * hp800.h (ASM_DECLARE_FUNCTION_NAME): If function is not - TREE_PUBLIC, don't do the argument descriptor magic. - (EXPAND_BUILTIN_SAVEREGS): call hppa_builtin_saveregs. - (LEGITIMIZE_ADDRESS): Don't legitimize CONST addresses. - (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Put tabs back in. - * xm-hp800.h (S_ISDIR): Define for BSD. + * rs6000/t-newas: Copy from t-rs6000. + * t-rs6000: Don't build -mcpu=common multilib variants of libgcc.a. - * hp800.c (hppa_builtin_saveregs): New function. - * va-hp800.h : Rewrite. + * rs6000.md (load_multiple insn): If address register is among regs, + don't load it with a lwsi instruction, which is undefined on PowerPC. +Thu Oct 26 08:01:32 1995 Jim Wilson -Sun Mar 15 23:38:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * dwarfout.c (output_compile_unit_die): Handle language_string + of "GNU F77". - * objc-actions.c (really_start_method): Dynamically allocate `buf'. + * reload.c (find_reloads_address): When check for out of range constant + plus register, accept any hard register instead of just fp, ap, sp. - * sparc.h (TARGET_HOPE_ALIGN): Renamed from TARGET_ALIGN. - * sparc.c (output_move_double, output_fp_move_double): Use new name. - * sparc.h (TARGET_FORCE_ALIGN): New flag. - (FUNCTION_ARG_BOUNDARY): Defined. - (FUNCTION_ARG, FUNCTION_INCOMING_ARG, FUNCTION_ARG_ADVANCE): - (FUNCTION_ARG_PARTIAL_NREGS): Handle TARGET_FORCE_ALIGN. - (ROUND_REG): New subroutine macro. + * combine.c (distribute_notes): For Oct 19 change, add additional + check to verify that place has a valid INSN_CUID. - * sparc.h (CC1_SPEC): Don't try to recognize -dalign. + * sparc/t-vxsparc (LIBGCC1_TEST): Define. - * hp320.h (ASM_OUTPUT_ASCII): Put tab here. - (ASCII_DATA_ASM_OP): Not here. - * mot3300.h: Likewise. + * sh.md (negdi2): Use TARGET_LITTLE_ENDIAN. - * Makefile.in (mostlyclean): Don't delete .s or .i files. - (extraclean): Do that here. + * combine.c (force_to_mode, case ASHIFTRT): Verify mode bitsize is + within HOST_BITS_PER_WIDE_INT before shifting by it. - * a29k.h, fx80.h, gmicro.h, i860v3.h, i860v4.h (*_ASM_OP): Remove tabs. - * m88kv4.h, m88kdgux.h, mips.h, romp.h, rs6000.h: Likewise. - * sun386.h, tower-as: Likewise. - * arm.h, hp800.h (*_ASM_OP): Remove extra tabs and newlines. - * m68ksgs.h (*_ASM_OP): Remove tabs. - (ASM_OUTPUT_*): Put the tabs here when appropriate. - * m68kv4.h, m88k.h, next.h: Likewise. + * final.c (final_scan_insn): When recur for instruction in delay slot, + add loop around recursive call in case the instruction gets split. -Sun Mar 15 18:37:49 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Thu Oct 26 07:28:45 1995 J"orn Rennecke (amylaar@meolyon.hanse.de) - * reload1.c (inc_for_reload): Rework to try to do addition in - INCLOC rather than assuming when it can be done; this fixes a bug - on hp800 and generates better code on some CISC machines. + * genrecog.c (write_tree_1): Avoid emitting '-2147483648'. -Sun Mar 15 15:12:39 1992 Ron Guilmette (rfg at ncd.com) + * jump.c (duplicate_loop_exit_test): Return 0 if found + a NOTE_INSN_LOOP_CONT. - * crtstuff.c: If defined, invoke INIT_SECTION_PREAMBLE. +Tue Oct 24 15:30:14 1995 Jeffrey A Law -Sun Mar 15 15:12:39 1992 Ron Guilmette (rfg at ncd.com) + * calls.c (expand_call): Make sure valreg is at least + a full word. - * xm-sparcv4.h, x-sparcv4: New files. - * configure (sparc-*-sysv4*): Use them. +Sun Oct 22 19:35:41 1995 Jim Wilson -Sun Mar 15 16:41:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * sh.h (INIT_SECTION_ASM_OP): Delete. + (HAVE_ATEXIT): Define. - * sparc.md (subdi3): Fix unterminated comment. +Sun Oct 22 07:46:04 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sun Mar 15 04:08:59 1992 Torbjorn Granlund (tege at zevs.sics.se) + * libgcc2.c (__fixuns[xds]fsi): #undef MIN and MAX before #include + of limits.h. - * hp800.c (output_block_move): Major rewrite. - * hp800.md (movstrsi): Rewrite to match new output_block_move. FAIL - if the actual operands are better handled by a library call. - (movstrsi recognizer): Rewrite. + * pa.c (pa_adjust_cost): Use pa_cpu, not pa_cpu_attr. - * sparc.md (movstrsi): FAIL for all blocks with unknown size. +Sun Oct 22 07:38:58 1995 J"orn Rennecke (amylaar@meolyon.hanse.de) -Sat Mar 14 19:06:02 1992 James Van Artsdalen (james at bigtex.cactus.org) + * alpha.h (CONST_OK_FOR_LETTER_P): Use 'U' for unsigned constants. + * alpha.c (alpha_emit_set_const): Likewise. + * mips.c (gen_int_relational): Likewise. - * c-decl.c (builtin_function): Don't declare static. +Sun Oct 22 07:14:35 1995 Douglas Rupp (drupp@cs.washington.edu) -Sat Mar 14 15:57:53 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * i386.c (i386_return_pops_args): Don't need a FUNDECL to + check for type attributes in FUNTYPE. - * expr.c (get_pointer_alignment): Convert bytes to bits - when handling PLUS_EXPR. +Sat Oct 21 18:17:42 1995 Jim Wilson - * cp-search.c (push_stack_level): Declare tp as char *. + * sh.md (define_delay): Don't accept any instruction for an annulled + slot, only accept those for which in_delay_slot is yes. + * sh.c (find_barrier): When hi_const returns true, increment count_si + by two if found_si is true. + Always use get_attr_length to compute length of instructions. + If count_hi or count_si out of range at end, need two PREV_INSN calls + not one. + When create new label, set LABEL_NUSES to 1. + (reg_unused_after): Ifdef out code for handling labels. + (prepare_scc_operands): New local variable mode. Set it from + sh_compare_op0 or sh_compare_op1. Use it instead of SImode in + force_reg calls. + + * optabs.c (expand_float): Emit missing barrier after unconditional + jump. - * mips.c (mips_asm_file_end): Use TREE_ASM_WRITTEN to avoid - duplicate .extern commands. +Sat Oct 21 14:16:46 1995 Torbjorn Granlund - * mips-tdump.c: Include fcntl.h. - * mips-tfile.c (open, fstat): Declarations deleted. + * alpha.md (cmpdf): Make conditional on TARGET_FP. - * xm-mipsnews.h: New file. - * mips-news5.h: New file. Needs papers from Ron Cole. - * configure (mips-sony-sysv*): New alternative. +Fri Oct 20 19:11:12 1995 J"orn Rennecke (amylaar@meolyon.hanse.de) -Sat Mar 14 07:11:14 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * combine.c (distribute_notes): Delete instructions without + side effect that set a subreg of an unused register. - * integrate.c (initialize_for_inline): If DECL_INCOMING_RTL is - the same object as DECL_RTL, store copy in both places. + * m68k.h (PREFERRED_RELOAD_CLASS): Check for !G constants + for DATA_OR_FP_REGS also. -Sat Mar 14 10:12:39 1992 Michael Tiemann (tiemann@cygnus.com) +Fri Oct 20 18:57:10 1995 Ian Lance Taylor - * cp-decl2.c (flag_this_is_variable): Define the value -2 to mean an - object of known type is being constructed. - * cp-decl.c (resolves_to_fixed_type_p): Test FLAG_THIS_IS_VARIABLE - for the value -2 instead of testing DECL_CONSTRUCTOR_P in case we - are looking at `current_class_decl'. - * cp-search.c (init_vbase_pointers): Set FLAG_THIS_IS_VARIABLE to -2 - instead of 0. - (build_vbase_vtables_init): Ditto. - * cp-*.c: All tests of FLAG_THIS_IS_VARIABLE changed to reflect the - new semantics. + * genmultilib: Output negations of unused alternatives, even if + one of the alternatives is selected. - * cp-type2.c (build_functional_cast): remove incorrect error message. +Fri Oct 20 18:48:50 1995 Jeff Law (law@hurl.cygnus.com) - * cp-typeck.c (comptypes): Don't use IS_AGGR_TYPE_2; test explicitly - that both are RECORD_TYPE. - (build_binary_op_nodefault): Ditto. - (convert_for_assignment): Ditto. - * cp-cvt.c (convert_to_pointer): Ditto. - (convert_to_pointer_force): Ditto. - * cp-call.c (convert_harshness): Ditto. + * integrate.c (output_inline_function): Turn on flag_no_inline + to avoid function integration once we begin writing deferred + output functions. - * cp-search.c (get_first_matching_virtual): Fix typo. +Fri Oct 20 18:46:33 1995 Michael Meissner - * cp-tree.c (layout_basetypes): When warning about certain - inheritance relationships, only print "virtual" when the - inheritance is virtual. + * rs6000.c (float_conv_temp): Delete global variable. + (stack_temps): New static array to hold stack temps. + (offsettable_mem_operand): Delete function. + (offsettable_addr_operand, rs6000_stack_temp): New functions. + (output_epilog): Zero stack_temps. - * cp-spew.c (yylex): Fix some fencepost errors found by Chip - Salzenberg. + * rs6000.h (offsettable_addr_operand): Declare instead of + offsettable_mem_operand. + (PREDICATE_CODES): Use offsettable_addr_operand. + (float_conv_temp): Delete variable. - * cp-init.c (is_aggr_typedef): Now calls `error' instead of `fatal' - if NAME is non-AGGR type. + * rs6000.md (move_to_float insns): Change move_to_float so + that it doesn't have a clobber of the memory address, and instead + passes the stack temp's memory address as one of the unspec args. + (fix_truncdfsi2): Use rs6000_stack_temp to allocate the temp. + (multiply, shift insns): Fix all cases of multiply and shift insns so + that the right mnemonics are used for -mcpu=common with both + -m{old,new}-mnemonics. - * cp-class.c (duplicate_tag_error): Set CLASSTYPE_VBASE_SIZE. +Fri Oct 20 17:58:19 1995 Jim Wilson -Sat Mar 14 00:28:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * expr.c (safe_from_p, case RTL_EXPR): Return 0 if RTL_EXPR_SEQUENCE + exists. Delete code to return 0 if exp_rtl is zero. - * gcc.c (do_spec_1): Don't copy closing delim in %(...) or %[...]. - (read_specs): Don't ignore newline that ends a comment. - (handle_braces): Properly terminate scan for %*. - (validate_all_switches): Scan any extra specs from specs file. + * function.c (init_function_start): Don't call init_insn_lengths here. + * toplev.c (rest_of_compilation): Call it here. - * x-iris: File deleted. +Thu Oct 19 19:19:06 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cccp.c (output_line_command): Avoid outputting line number 0. + * c-common.c (check_format_info): Make test for null pointer + more general. - * final.c (asm_fprintf): Handle %O. - * m68k.c: Insert %O before `move' in MOTOROLA calls to asm_fprintf. +Thu Oct 19 18:56:16 1995 Satoshi Adachi (adachi@wisdom.aa.ap.titech.ac.jp) -Fri Mar 13 20:17:40 1992 Mike Stump (mrs@cygnus.com) + * fixincludes (stdlib.h): Be more general in edit to change + declaration of {c,m,re}alloc. - * cp-typeck.c, cp-type2.c, cp-tree.c, cp-spew.c, cp-search.c, - cp-parse.y, cp-init.c, cp-decl.c, cp-cvt.c, cp-class.c, cp-call.c: - Merged in updated cp-* files for gcc-2.1. +Thu Oct 19 18:48:53 1995 Torbjorn Granlund -Fri Mar 13 14:54:23 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * libgcc2.c (__udiv_w_sdiv): If we don't have sdiv_qrnnd, define + dummy variant of __udiv_w_sdiv. + +Thu Oct 19 18:45:21 1995 Jim Wilson - * objc-actions.c (get_arg_type_list) [not NEXT_OBJC_RUNTIME]: - 1st arg always an object. - (synth_module_prologue): Don't use parser interface, just build nodes. - Use `void *' to avoid problems with TAG_SUPER vs _TAG_SUPER. - (TAG_SUPER, _msg_id, _msgSuper_id): Deleted. - (objc_getClass_id, objc_getMetaClass_id): Deleted. - (selector_type): Renamed from _selector_type. - (forward_declare_categories, build_objc_symtab_template): - Don't use parser interface, just build nodes. - (create_builtin_decl): New function. + * alpha.h (ASM_SPEC): If GNU as is the default, then pass -g to + the assembler if -malpha-as. If GNU as is not the default, then pass + -g to the assembler is not -mgas. - * hp800hpux.h (LIB_SPEC): New definition. + * combine.c (distribute_notes): When search for new place to put + REG_DEAD note, call distribute_links if this new place is between + i2 and i3, and i2 uses the register. - * arm.h (TARGET_WHEN_DEBUGGING): Name corrected. +Thu Oct 19 18:41:36 1995 Michael Meissner - * protoize.c (abspath): Make abs_buffer a little longer. + * rs6000.md (float{,uns}sidf2): Rewrite to break the conversion + process into several general insns. + (move_to_float): New insns to move 2 integer regs into a float register + through memory, taking endianess into account. Make sure that the + floating temporary is a valid address. Use one temporary for all + floats converted. + (fix_truncdfsi2): Take endianess into account. - * encore.h (NO_ABSOLUTE_PREFIX_IF_SYMBOLIC): Defined. - (EXTERNAL_PREFIX, IMMEDIATE_PREFIX): Defined. - (TARGET_DEFAULT): Changed to 9. - (ENCORE_ASM): Defined. + * rs6000.c ({low_32_bit,offsettable_mem}_operand): The function + low_32_bit_operand is now unused, delete it. New function + offsettable_mem_operand to determine if a memory address is + offsettable. + * rs6000.h ({low_32_bit,offsettable_mem}_operand): Ditto. + (PREDICATE_CODES): Ditto. - * sequent.h (PRINT_OPERAND, PRINT_OPERAND_ADDRESS): Deleted. - (IMMEDIATE_PREFIX): Define as 0. - (SEQUENT_ASM): Defined. - * ns32k.c (print_operand): Output f.p. as ints if SEQUENT_ASM. - Output doubles using 0f, not 0d, if ENCORE_ASM. + * rs6000.{c,h} (float_conv_temp): New global. + * rs6000.c (output_epilog): Zero out float_conv_temp. - * configure: If no configuration matches, print error and exit. - (m68k-sun-sunos*): Renamed from m68k-sun-sunos4*. + * Makefile.in (libgcc{1,2}.a): Allow LIB{1,2}FUNCS_EXTRA files to + end in .S as well as .c and .asm. - * configure (copy): New variable. - If hard link fails, make a copy. +Wed Oct 18 17:56:45 1995 Jose Alonso (sidinf@fpsp.fapesp.br) - * mips.c (mips_asm_file_end): Don't set flags in identifiers. - Just output every identifier found in extern_head. + * c-typeck.c (parser_build_binary_op): Warn about x^y==z, etc. - * configure (sparc-tti-*): Renamed from sparc-unicom-*. - (m68k-tti-*): Replaced. - (m68k-tti2-*): Deleted +Mon Oct 9 12:38:06 1995 Michael Meissner - * config.sub (pbd): Alias for sparc-tti, not sparc-unicom. - (pbb): New machine alias. - (*-tti): Implies os=-sysv3. - (-oss*): Alias for -sysv3. + * protoize.c (reverse_def_dec_list): Silence compiler warnings. -Fri Mar 13 17:20:52 1992 david d [zoo] zuhn (zoo at lynx.spa.umn.edu) +Mon Oct 9 12:35:54 1995 Andrew Cagney - * x-mips: add -mld. + * ginclude/va-ppc.h (va_arg): Deal with long longs that would be + passed in the 7th register, and are passed in the stack instead. -Fri Mar 13 14:48:05 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) +Fri Oct 6 13:47:10 1995 Jim Wilson - * hp800.h (REGISTER_NAMES): Name register 112, the shift amount - register, as "SAR". It was left out. + * alpha.h (ASM_SPEC): Add -g. -Fri Mar 13 04:08:53 1992 James Van Artsdalen (james at bigtex.cactus.org) +Fri Oct 6 13:42:50 1995 Richard Kenner - * i386isc.h (STARTFILE_SPEC): Use crt1, not crt0. + * alpha.h (alpha_{arg,auto}_offset): Make extern. - * x-i386sco (CC,OLDCC): Don't define `i386' here. - (RCCFLAGS): Define it here, along with other SCO symbols. - (XCFLAGS): Use that. New variable. - (CLIB): Use -lPW to get alloca(). +Fri Oct 6 13:24:43 1995 Michael Meissner -Fri Mar 13 14:11:41 1992 Jeffrey A. Law (law@wombat.gnu.ai.mit.edu) + * rs6000.h (RETURN_ADDRESS_OFFSET): Correct previous change. - * Changes to enable use of sqrt builtin functions. - * c-decl.c (init_decl_processing): Enable BUILT_IN_FSQRT for - __builtin_sqrt. Also enable for sqrt if not traditional. - * cp-decl.c (init_decl_processing): Enable BUILT_IN_FSQRT for - __builtin_sqrt. - * expr.c (expand_builtin, case BUILT_IN_FSQRT): New case. Call - expand_unop to expand the operation. If that fails break and - emit a call to the library sqrt function. - * optabs.c (init_optabs): Initialize new optabs for sqrt functions. - * expr.h (sqrt_optab): Declare here so that expr.c can see it. +Fri Oct 6 13:14:43 1995 Doug Evans -Fri Mar 13 08:56:50 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * rtlanal.c (reg_set_last): Fix call to reg_set_between_p. - * cse.c (delete_dead_from_cse): Fix error in last change. +Tue Oct 3 12:31:38 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * a29k.h (PCC_BITFIELD_TYPE_MATTERS): Define as 1. + * stor-layout.c (layout_type, case ARRAY_TYPE): Strip MAX_EXPR + from upper bound when computing length if it just protects against + negative length. - * reorg.c (fill_slots_from_thread): Add missing arg in call to - try_split call that was recently added. + * expr.c (emit_move_insn_1): When doing multi-word move, show + output is clobbered. - * fold-const.c (invert_truthvalue, case COMPOUND_EXPR): New case. +Tue Oct 3 12:26:07 1995 Jim Wilson -Fri Mar 13 01:02:56 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cse.c (set_nonvarying_address_components, case AND): Add *pend to + end. Add constant to start instead of subtracting it. - * collect2.c (ordinary scan_prog_file): Don't count | in sym name. +Tue Oct 3 12:23:28 1995 Torbjorn Granlund - * ns32k.md (movsf): Remove #if 0 around #ifndef GAS_SYNTAX. + * combine.c (simplify_rtx): In code that attempts to simplify + conditional expressions, if the result is an NE around another + comparison, return the original expression. - * pc532.h (GAS_SYNTAX): Defined. + * longlong.h (mips umul_ppmm): Use `l' and `h' constraints; + remove mflo and mfhi instructions. -Thu Mar 12 00:10:23 1992 Stefan Petri (petri@jupiter.ibr.cs.tu-bs.de) +Tue Oct 3 12:21:29 1995 Michael Meissner - * configure (pyramid): Re-enable. + * ginclude/va-ppc.h (va_start, stdarg case): Call + __builtin_next_arg, and ignore the result, so that the compiler + can report the proper error, if the second argument is not the + last argument. - * pyr.h (STRUCTURE_SIZE_BOUNDARY): Restore definition from gcc-1.40. - (PCC_BITFIELD_TYPE_MATTERS): Define as 1 instead of empty. +Tue Oct 3 12:02:51 1995 Kohtala Marko - * pyr.h (STATIC_CHAIN_INCOMING_REGNUM): Added. + * function.c (assign_stack_temp): Adjust full_size field of + temp_slot when splitting an unused slot. - * pyr.h (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE, TRAMPOLINE_ALIGNMENT, - INITIALIZE_TRAMPOLINE): Added, inspired by convex.h +Tue Oct 3 11:51:59 1995 Mike Stump - * pyr.h (INITIAL_FRAME_POINTER_OFFSET): New definition. + * expr.c (expand_builtin_return_addr): Break out functionality + from expand_builtin. + (expand_builtin): Call expand_builtin_return_addr. + * rs6000.h (RETURN_ADDR_RTX): Remove call to copy_to_reg. + Offset to return address is 4 when !TARGET_64BIT and v4_call_p, + 8 otherwise. + * sparc.h (RETURN_ADDR_RTX): Remove call to copy_to_reg. + * alpha.h (RETURN_ADDR_RTX): New definition. - * pyr.md (indirect_jump): New pattern. +Sun Oct 1 21:23:30 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * libgcc2.c [L_trampoline]: Don't include gstddef.h in this case. - (__enable_execute_stack): Cloned definition for pyramid - from that for convex. + * tree.c (staticp, case INDIRECT_EXPR): Disable case. -Thu Mar 12 13:23:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * expr.c (expand_expr, case COMPONENT_REF): If getting component + of union of variable size, propagate TARGET. - * collect2.c (FREAD, FWRITE): #undef if USG. +Fri Sep 29 07:48:09 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * x-mipsv: New file. - * configure (mips-*-sysv): Use it. + * expr.c (store_expr): When storing promoted value, don't return + MEM if address contains target. - * cccp.c (skip_to_end_of_comment): New arg NOWARN. Callers changed. - (do_xifdef, do_endif): Pass 1 for NOWARN. +Thu Sep 28 14:30:03 1995 Paul Eggert - * i386.h, hp800.h (ENCODE_SECTION_INFO): Handle CONSTRUCTOR node. - * i386.h (ENCODE_SECTION_INFO): Only decls can be global. + * cccp.c (rescan): Expand `#if foo && #bar' without a bogus + complaint about preprocessor directives within macro args. + Expand `foo' in `foo#bar' without requiring a space before `#'. - * cccp.c (warn_import): New variable. - (do_include): Test that. - (main): Handle -Wimport. +Thu Sep 28 14:24:26 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * hp800hpux.h (DBX_DEBUGGING_INFO): #undef it. - * x-hp800hpux: New file. - * configure (hp800-hp-hpux*): Use it. + * m68k.md (anonymous DImode shift patterns setting cc0): Turned + off due to reload problems. - * config.sub: Make triton alias for sysv3. +Thu Sep 28 14:05:22 1995 Niklas Hallqvist (niklas@appli.se) - * collect2.c: If CROSS_COMPILE, #undef the special OBJECT_FORMAT_*. + * Makefile.in (USER_H): Move up so can override. + (INSTALL_ASSERT_H): New definition. + (install-headers): Use it. + (stmp-int-hdrs): Handle USER_H being empty. + * config/x-netbsd (INSTALL_ASSERT_H): Define as empty. -Thu Mar 12 10:35:50 1992 Ron Guilmette (rfg at ncd.com) + * i386/netbsd.h (WCHAR_{TYPE,UNSIGNED,TYPE_SIZE}): Now int. + * m68k/netbsd.h, ns32k/netbsd.h, sparc/netbsd.h: Likewise. + * vax/netbsd.h: Likewise. + (SIZE_TYPE): Use unsigned int. - * gcc.c (default_compilers): Use .i suffix (instead of .cpp) for all - preprocessor output files. - (execute): Print commands used to invoke passes if -save-temps. + * m68k.c (output_scc_di): Swap operands when needed. + * m68k.h (LEGITIMATE_PIC_OPERAND): Allow SYMBOL_REF_FLAG symref. + * m68k.md: Make both assembler syntaxes do the same for PIC calls. - * Makefile.in (mostlyclean): Delete *.i, not *.cpp. - Don't delete *.co. +Tue Sep 26 16:51:44 1995 Michael Meissner -Thu Mar 12 07:13:33 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * mips.c (override_options): Don't allow anything but integers to + go in the HI/LO registers. - * xcoff.h (DBX_FINISH_SYMBOL): When writing function name, strip off - any storage class at the end. +Tue Sep 26 16:36:18 1995 John F. Carr -Thu Mar 12 05:16:49 1992 Tom Wood (wood@dg-rtp.dg.com) + * c-common.c (check_format_info): Don't warn about format type + mismatch if the argument is an ERROR_MARK. - * config.sub (-triton*): Delete this OS (it's sysv3). - * configure (m88k-dolphin-sysv3): Rename alternative. - * xm-m88kdolph.h: Delete. Use xm-m88kv3.h instead. - * x-m88kdolph: New file. - -Thu Mar 12 00:19:14 1992 James Van Artsdalen (james at bigtex.cactus.org) +Mon Sep 25 17:50:50 1995 Craig Burley (burley@gnu.ai.mit.edu) - * i386.md (movstrsi recognizers): Fix reversed operands. + * stor-layout.c (put_pending_sizes): New function. + * tree.h (put_pending_sizes): Add declaration. + * tree.c (save_expr): Return original for ERROR_MARK. -Thu Mar 12 00:01:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Sep 22 19:20:01 1995 Jeff Law (law@hurl.cygnus.com) - * gcc.c (main): - Don't require machine_suffix for md_startfile_prefix or md_exec_prefix. + * expr.c (expand_builtin, case BUILT_IN_MEMCPY): Strip off + all NOP exprs from the source and destination nodes, then + set MEM_IN_STRUCT_P. - * toplev.c (main): Force flag_no_inline if not optimizing. +Fri Sep 22 18:50:31 1995 Michael Meissner - * dbxout.c (dbxout_type): Ignored names don't count in case UNION_TYPE. + * rs6000/eabi.h (ASM_OUTPUT_INT): Test for whether the integer + being output is also a constant so &sym - &sym2 is not fixed up. - * cp-decl.c (pushtag): Push on ->tags and make TYPE_STUB_DECL - even if type has no tag name. - * cp-class.c (finish_struct): Always call rest_of_type_compilation. +Fri Sep 22 18:49:07 1995 Peter Flass (FLASS@LBDRSCS.BITNET) - * cse.c (simplify_unary_operation): For SQRT, do nothing. + * i370.md (cmpsi): Add missing constraints to operand 1. - * byteorder.h: Test __i860_big_endian__. +Fri Sep 22 18:27:33 1995 Torbjorn Granlund - * ns32k.c (print_operand_address): Test NO_ABSOLUTE_PREFIX_IF_SYMBOLIC. - Test BASE_REG_NEEDED inside indirect address too. - * sequent.h (NO_ABSOLUTE_PREFIX_IF_SYMBOLIC): Defined. - (SEQUENT_ADDRESS_BUG, SEQUENT_BASE_REGS): #if 0. + * i386.h (CONST_OK_FOR_LETTER_P): Make `N' match range 0..255 + for `outb' instruction. -Wed Mar 11 22:55:38 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * pyr.h (PRINT_OPERAND): Handle code `R' for REG. + * longlong.h (pyr umul_ppmm): Use it. - * c-decl.c (push_parm_decl): Clear immediate_size_expand temporarily. - * stor-layout.c (get_pending_sizes): Fix up SAVE_EXPR_CONTEXT. - (variable_size): No longer static. - * c-decl.c (grokdeclarator): Call variable_size, not save_expr. - Rename local `variable_size' to `size_varies'. +Fri Sep 22 18:24:38 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Wed Mar 11 18:53:23 1992 Chip Salzenberg (chip@tct.com) + * c-parse.in (enumlist): Propagate error_mark_node. - * collect2.c (OBJECT_FORMAT_COFF, OBJECT_FORMAT_ROSE): - (OBJECT_FORMAT_NONE): Three alternative strategies for finding inits. - OBJECT_FORMAT_COFF is completely new. - (is_ctor_dtor): New function. - [OBJECT_FORMAT_NONE, OBJECT_FORMAT_ROSE] (scan_prog_file): - Use is_ctor_dtor. + * c-aux-info.c (gen_type): Handle ERROR_MARK. - * x-rs6000 (CLIB): Add -lld. - * t-rs6000: New file. - * configure (rs6000...): Use that file. + * alpha.md (movdi): Avoid memory sharing problem when in reload. -Wed Mar 11 17:31:13 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) +Wed Sep 20 14:27:09 1995 Peter Flass - * reload1.c (inc_for_reload): Call gen_add2_insn with negated - constant instead of gen_sub2_insn. + * mvs.h (FUNCTION_PROLOGUE): Maintain savearea forward chain + per MVS standards. -Wed Mar 11 17:30:35 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Sep 20 14:20:52 1995 Torbjorn Granlund - * c-typeck.c (build_binary_op): For shifts, always use op0 type. + * pyr.md (cmphi recognizer): Make condition match constraints. + (cmpqi recognizer): Likewise. - * stmt.c (expand_end_bindings): - Load virtual_incoming_args_rtx via a pseudo reg. +Wed Sep 20 12:42:59 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * math-68881 (pow): Add missing parens; typo in fp constant. + * integrate.c (expand_inline_function): Do copy something setting + the result register if it is setting it to itself and has a REG_NOTE. - * i386isc.h (LIB_SPEC): Add -lg. + * integrate.c (set_decl_{origin_self,abstract_flags}): Treat + a DECL_INITIAL of error_mark_node the same as one of NULL_TREE. - * libgcc2.c (__CTOR_LIST__, __DTOR_LIST__): - Don't define if CTOR_LISTS_DEFINED_EXTERNALLY. - (__builtin_saveregs): Handle NO_UNDERSCORES for sparc. +Tue Sep 19 19:30:18 1995 Dave Pitts (dpitts@nyx.cs.du.edu) - * pbb.h, pbd.h: New files from Mike Bloom. - * configure (m68k-tti2-*): Turned back on. + * i370.md (cmphi, movhi, movstricthi, extendhisi2): Correct generation + of short integer (Halfword) + ({add,sub,mul,and,ior,xor}hi3): Likewise. + * i370/mvs.h (MACROPROLOGUE): New macro. + (FUNCTION_{PRO,EPI}LOGUE): Added ability to use IBM supplied function + prologue macros. + (FUNCTION_PROLOGUE): Corrected function "in-line" prologue alignment + problems. + (ASM_DECLARE_FUNCTION_NAME): Changed alignment to FullWord. + (ASM_OUTPUT_{SHORT,ASCII}): Reworked. - * c++: Add a colon command in case system doesn't handle #!/bin/sh. +Tue Sep 19 19:22:15 1995 Douglas Rupp (drupp@cs.washington.edu) -Mon Mar 11 19:54:43 1992 James Van Artsdalen (james at bigtex.cactus.org) + * winnt/win-nt.h: Renamed from winnt/win-nt.h. + (LINK_SPEC): Add -noinhibit-exec. + * {alpha,i386}/win-nt.h: Renamed from {alpha,i386}/winnt.h. + Include winnt/win-nt.h, not winnt/winnt.h. + * winnt/oldnames.c: New file. + * winnt/headers.mak (fixinc-nt.obj): Fix typo. + * winnt/config-nt.bat: Change winnt.h to win-nt.h. + * i386/config-nt.sed: Likewise. + * configure ({alpha,i386}-*-winnt3*): Likewise. - * i386.md (integer truncMN2): Delete patterns. Not needed on i386. +Mon Sep 18 14:00:45 1995 Oliver Kellogg (Oliver.Kellogg@space.otn.dasa.de) -Wed Mar 11 16:58:56 1992 Tom Wood (wood@dg-rtp.dg.com) + * 1750a.h (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): + Added R2 and R0_1. + (REG_CLASS_FROM_LETTER): New letters 't' and 'z'. + (EXTRA_CONSTRAINT): New letter 'Q'. - * m88kv3.h (STARTFILE_SPEC, LIB_SPEC): Search for crt{begin,end}.o - (DO_GLOBAL_CTORS_BODY, CTORS_SECTION_ASM_OP, ASM_OUTPUT_CONSTRUCTOR, - DTORS_SECTION_ASM_OP): Implement new svr3 scheme. +Sun Sep 17 12:39:22 1995 Jeff Law (law@snake.cs.utah.edu) -Wed Mar 11 16:24:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * pa.h (ASM_DECLARE_FUNCTION_NAME): If a parameter's type + has TYPE_NEEDS_CONSTRUCTING on, then it's passed by invisible + reference. - * fold-const.c (fold): When correcting constant result of GE, LE, NE, - make sure we really have a constant result. +Sat Sep 16 17:42:33 1995 Jim Wilson - * ns32k.md (call, call_value): Support GAS_SYNTAX and GNX_V3 like 1.40. + * loop.c (find_and_verify_loops): Fix error in last change. - * c-decl.c (pushdecl): Properly use prev implicit decl in warning. +Sat Sep 16 08:38:22 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Wed Mar 11 16:05:20 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * alpha.h (GO_IF_LEGITIMATE_ADDRESS): Disallow SYMBOL_REF for + current function. - * Makefile.in (OBJS): Add xcoffout.o. - (dbxout.o, final.o, toplev.o, varasm.o): Add xcoff.h dependency. - (xcoffout.o): Add rule to build. + * cse.c (recorded_label_ref): New variable. + (insert): Set instead of cse_jumps_altered. + (cse_main): Initialize it and return 1 if nonzero at end. - * xcoffout.c: Change names of rs6000_*_section_name variables to - xcoff_*_section_name, and move definitions of them here from - rs6000.c. - * xcoff.h: Likewise, move declarations here from rs6000.h. - * rs6000.c: Delete definitions of rs6000_*_section_name variables. - * rs6000.h: Delete declarations of rs6000_*_section_name variables. +Fri Sep 15 18:26:49 1995 Torbjorn Granlund (tege@matematik.su.se) - * rs6000.c (output_epilog): Add comment to note lack of traceback - table support. - * rs6000.h: Refine comment explaining ASM_SPEC definition. - (XCOFF_DEBUGGING_INFO): Define. - (DBX_CONTIN_LENGTH, DBX_NO_XREFS): Move to xcoff.h. - (ASM_FILE_START): When -g, emit private_data_section. - (ASM_DECLARE_FUNCTION_NAME): When -g, output .lglobl for static - functions. Also, output .function debug info. - (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Add bss_section call. - - * dbxout.c: Include xcoff.h when XCOFF_DEBUGGING_INFO is defined. - Define default values for DBX_DECL_STABS_CODE, - DBX_STATIC_CONST_VAR_CODE, DBX_REGPARM_STABS_CODE, and - DBX_REGPARM_STABS_LETTER. These exist to be overriden for xcoff. - Include entire file if either DBX_DEBUGGING_INFO or - XCOFF_DEBUGGING_INFO is defined. - (dbxout_type): Add early exit if DBX_TYPE_DEFINED, used for xcoff. - (dbxout_symbol): Use DBX_DECL_STABS_CODE instead of N_LSYM for - tags and typedefs. Use DBX_STATIC_CONST_VAR_CODE instead of N_FUN - for static const variables. Add DBX_STATIC_BLOCK_START and - DBX_STATIC_BLOCK_END around output of stab info, for xcoff use. - (dbxout_finish_symbol): Use DBX_FINISH_SYMBOL instead if defined. - (dbxout_syms, dbxout_parms): No longer static, referenced from - xcoffout.c. - (dbxout_parms): Use DBX_REGPARM_STABS_CODE instead of N_RSYM. Use - DBX_REGPARM_STABS_LETTER instead of 'P'. - (dbxout_reg_parms): No longer static. - * final.c: Also include gstab.h if XCOFF_DEBUGGING_INFO defined. - Include xcoff.h if XCOFF_DEBUGGING_INFO defined. - (final_start_function): Call xcoffout_output_first_source_line - when XCOFF_DEBUG. Set next_block_index if XCOFF_DEBUG. - (final_end_function): Call xcoffout_end_function if XCOFF_DEBUG. - Call xcoff_end_epilogue if XCOFF_DEBUG. - (final_scan_insn): Call xcoffout_begin_function, - xcoffout_begin_block, and xcoffout_end_block if XCOFF_DEBUG. - (output_source_line): Also call dbxout_source_file if XCOFF_DEBUG. - * flags.h: Define XCOFF_DEBUG. Also declare - use_gdb_dbx_extensions if XCOFF_DEBUGGING_INFO. - * toplev.c: Also declare use_gdb_dbx_extensions if - XCOFF_DEBUGGING_INFO. Include xcoff.h in XCOFF_DEBUGGING_INFO. - (compile_file): Also call dbxout_init, and dbxout_finish if - XCOFF_DEBUG. - (rest_of_decl_compilation): Also call dbxout_symbol if - XCOFF_DEBUG. - (rest_of_type_compilation): Also call dbxout_symbol if - XCOFF_DEBUG. - (main): Add support for recognizing -g when XCOFF_DEBUGGING_INFO. - * varasm.c: Include xcoff.h if XCOFF_DEBUGGING_INFO. - (assemble_variable): Also call dbxout_symbol when XCOFF_DEBUG. - Change all returns to goto finish. At finish label, - call dbxout_symbol if XCOFF_DEBUG. - - * dbxstclass.h: New file. Define XCOFF specific storage classes. - * xcoff.h: New file, for XCOFF support. Included by xcoffout.c, - dbxout.c, final.c, toplev.c, and varasm.c. - * xcoffout.c: New file for XCOFF support. Most of the support is - implemented by dbxout.c, this just includes stuff that can not be - easily performed within dbxout.c. - - * toplev.c (struct W_options): Add entry for warn_inline, so user - can turn this warning on. - -Wed Mar 11 15:11:42 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - - * optabs.c (init_optabs): Fix typo (Imode instead of TImode) in - HAVE_subti3 case. - -Wed Mar 11 13:10:20 1992 Jeffrey A. Law (law@wombat.gnu.ai.mit.edu) - - * sparc.h (REG_ALLOC_ORDER): Make %g3 more desirable. - -Wed Mar 11 12:35:12 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * fixincludes (egrep cmd): Delete misplaced `#e[nl]'. - - * jump.c (jump_optimize): Try to fix last change. - - * expmed.c (init_expmed): Use big, ugly factor in mult_is_very_cheap. - -Wed Mar 11 08:00:18 1992 Tom Wood (wood@dg-rtp.dg.com) - - * toplev.c (rest_of_compilation): Use sdbout_types to clear the - anonymous types queue if any. - * sdbout.c: Correct spelling of sdbout_dequeue_anonymous_types. - - * genattrtab.c (attr_string): Don't assume a terminating null. - -Wed Mar 11 07:05:38 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * reload1.c (reload_as_needed): Delete erroneous test of - basic_block_needs. - - * stmt.c (expand_end_case): Know that we will obtain a constant - if we were passed a COMPOUND_EXPR whose second operand is constant. - Fold the MINUS_EXPR we make for casesi. - - * reorg.c (update_block_from_store): Deleted. - (update_block): Always leave USE; don't try to update live regs. - - * explow.c (copy_to_suggested_reg): Add new arg for mode to use. - * expmed.c (expand_divmod): Pass new arg to copy_to_suggested_reg. - - * reload1.c (set_label_offsets, reload_as_needed): Consistently - ignore non-eliminables when computing num_not_at_initial_offset. - - * rs6000.md (subsi3): Remove unnecessary call to force_reg. - - * rs6000.c (output_epilog): Separate setting LR from loading - it from memory in some cases. - Branch to FP restore routine instead of calling it. + * fold-const (div_and_round_double): Change `carry', `quo_est', + and `scale' from plain int to `unsigned HOST_WIDE_INT'. - * flow.c (propagate_block): CC0 is not live when we delete a dead - insn. - * cse.c (delete_dead_from_cse): An insn setting CC0 is not live - if the next insn doesn't reference CC0. +Fri Sep 15 18:24:24 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cse.c (cse_insn): If we see a narrow AND with a constant, check if - we have seen a wider AND. + * cse.c (insert): Set cse_jumps_altered when inserting a LABEL_REF. - * combine.c (can_combine_p): Allow SUBREG of non-tiable regs if we - are going to do is copy it to CC0. +Fri Sep 15 17:29:41 1995 Oliver Kellogg (Oliver.Kellogg@space.otn.dasa.de) - * reload.c (find_secondary_reload): If X is a pseudo with an - equivalent MEM, use the MEM to see if a secondary reload is needed. - Don't call REG_CLASS_FROM_LETTER for 'r'. - * reload1.c (emit_reload_insns): Handle reloading pseudos - with equivalent MEM when we have secondary reloads; use the MEM - when required. + * 1750a.c (b_mode_operand): New function. + (print_operand): Added code 'Q'. - * romp.md (reload_outsi): Pattern should be a single PARALLEL - whose second component is a CLOBBER. +Fri Sep 15 17:27:23 1995 Jim Wilson -Wed Mar 11 03:11:26 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * loop.c (find_and_verify_loops): When moving exit blocks out of + the loop, verify that the target of P is within the current loop. - * gcc.c (find_a_file, do_spec_1): Always obey require_machine_suffix. - (machine_explicit): Var deleted. + * reorg.c (fill_slots_from_thread): Update thread if it is split. -Tue Mar 10 23:12:24 1992 Jeffrey A. Law (law@wombat.gnu.ai.mit.edu) +Fri Sep 15 17:06:51 1995 Michael Meissner - * m68k.md (68000 special shifts): No longer accept a shift count - of 16. Delete support for shifts by 16 places. - (shift by 16 bits): New patterns which apply to all 68k models. - * m68k.h (RTX_COSTS): Shifts by 16 are cheap. + * rs6000.md (decrement_and_branchsi and related insns): Don't use + a "2" to select a register preference for operand 1 if operand 2 + hasn't been seen yet. + Add appropriate clobbers in decrement_and_branchsi. + Add patterns where the pc/label_ref are interchanged. -Tue Mar 10 20:37:31 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Makefile.in (gnucompare, stmp-multilib-sub): Remove extra . in + front of $(objext). - * dwarfout.c (location_or_const_value_attribute): - Reenable changes disabled on Feb 21. - * function.c (instantiate_decls): Likewise. + * rs6000.c (output_toc): Align DF constants if STRICT_ALIGNMENT. - * sdbout.c (sdbout_symbol): Handle (mem (const...)). - * dbxout.c (dbxout_symbol): Likewise. + * config/fp-bit.c (FLO_union_type): Add words field if double + precision to get at the separate words. + (FLO_union_type, pack_d, unpack_d): Use FLOAT_BIT_ORDER_MISMATCH + to determine when the bitfields need to be reversed, and + FLOAT_WORD_ORDER_MISMATCH when the words need to be reversed. - * xm-i386isc.h: New file. - * configure (i386-*-isc*): Use it. +Fri Sep 15 16:41:43 1995 Jeff Law (law@snake.cs.utah.edu) - * hp320.h (MD_STARTFILE_PREFIX): Deleted. + * reorg.c (fill_simple_delay_slots): When filling insn's delay slot + with JUMP_INSN, don't assume it immediately follows insn on + unfilled slots obstack. - * m68k.h (RTX_COSTS): If MULT is a shift, jump to shift case. + * Makefile.in (caller-save.o): Depend on insn-codes.h. - * sun3.h (TARGET_MEM_FUNCTIONS): Defined. +Thu Sep 14 17:41:49 1995 Jim Meyering (meyering@comco.com) - * toplev.c (rest_of_compilation): Call sdbout_dequeue_anonymous_types - even if we don't output assembler code. + * protoize.c (do_cleaning): Don't blank out backslash-escaped + newlines in double quoted strings. - * jump.c (jump_optimize): In `if (foo) bar; else break;' optimization, - include in range1 and range2 any line numbers at the beginning. +Thu Sep 14 16:20:35 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * c-typeck.c (spelling_length): Initialize `size'. - (PUSH_SPELLING): `spelling_size' is measured in elements. - (get_spelling): Use xmalloc if there is no buffer yet. + * emit-rtl.c (gen_lowpart): If gen_lowpart_common fails + for a REG, load it into a pseudo and try again. -Tue Mar 10 20:25:56 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Thu Sep 14 14:15:16 1995 Stan Cox (coxs@dg-rtp.dg.com) - * integrate.c (save_for_inline_copying): - Set up LABEL_NAME of label copies. + * m88k.h (VERSION_INFO1): Removed BCS reference. + * m88k/dgux.h (ASM_SPEC, *_LEGEND): + Added -mno-legend option. -mstandard no longer implies that legend + legend information not be produced. + (LINK_SPEC): Removed -z text - * sparc.md: Clean up attribute settings. Add default length of 2 - for insns of type multi. Make sure all insns have correct type and - length attribute values. +Tue Sep 12 19:05:39 1995 Jim Wilson -Tue Mar 10 19:13:19 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cccp.c (is_system_include): Call skip_redundant_dir_prefix. - * c-decl.c (warn_parentheses): Default is 0. - (c_decode_option): -Wall implies -Wparentheses. +Tue Sep 12 18:58:21 1995 John Carr -Tue Mar 10 17:49:51 1992 Torbjorn Granlund (tege at mole.gnu.ai.mit.edu) + * sparc.md: Change `*return "string"' to "string" in patterns. - * hp800.md (shNadd recognizers): Put the MULT first, to obey insn - canonicalization rules. +Tue Sep 12 18:48:47 1995 Craig Burley (burley@gnu.ai.mit.edu) - * hp800.md (subsi3): Don't handle constants for operand 2, but - do handle them for operand 1, for the subi insn. + * function.c (put_var_into_stack): For CONCAT case, order of + placement depends on FRAME_GROWS_DOWNWARD, not STACK_GROWS_DOWNWARD. - * hp800.md (compare into ordinary reg): Use "arith11_operand", not - "arith_operand" for operand 2. Use `I', not `J' as constraint. - Don't change the constant in the output code (i.e. undo Mar 10 - change). - * hp800.c (arith11_operand): New predicate function. Fix comment. +Tue Sep 12 18:34:10 1995 Doug Evans - hp800.md (mulsi3): Don't handle CONST_INT specifically, rely on - machine independent code. - * hp800.h (RTX_COST): Define. - * hp800.c (ABS, mul_operands, emit_mul_by_constant) Remove. - (mul_by_constant_aux, test_factor_and_output): Remove. + * va-sparc.h (v9 varargs va_start): Handle __builtin_va_alist + being stack argument. - * hp800.md (addsi3): Use "register_operand" for operand 1, not - "arith_operand". + * sparc.h (STATIC_CHAIN_REGNUM): Use %g5 for sparc64. + (TRAMPOLINE_TEMPLATE): Rewrite for sparc64. + (TRAMPOLINE_SIZE): Is 40 for sparc64. + * sparc.c (sparc64_initialize_trampoline): Rewrite. - * hp800.md: Clean up spacing and comments in a few places. +Tue Sep 12 18:30:22 1995 Douglas Rupp (drupp@cs.washington.edu) - * hp800.c (output_move_double): Handle auto increment and auto - decrement. Remove unused enums. Test for either operand being a - REGOP instead if RNDOP, since we require at least one operand to - be a register. Pass the MEM address to find_addr_reg, not the - entire MEM rtx (in two places). + * cp/Make-lang.in (cc1plus) : Removed unnecessary $(exeext). - * hp800.h (WORDS_BIG_ENDIAN): Fix typo in comment. - (RTX_COST): Return cost of a PLUS, to indirectly give the right - cost for the shNadd insns. Adjust the cost for division. + * configure: Added code to handle gcc_extra_objs. + (alpha-winnt): Changed xmake_file to winnt/x-winnt. + Added extra_gcc_objs=spawnv.o; changed extra_programs to ld.exe. + (i386-winnt): Changed xmake_file to winnt/x-winnt. + Added extra_gcc_objs=spawnv.o; changed extra_programs to ld.exe. + * configure.bat: Changed to used common winnt/config-nt.bat. + * Makefile.in: Changed various .o's to .$(objext)'s + (specs): Removed unnecessary $(exeext). + (EXTRA_GCC_OBJS): New variable. + (clean): Removed $(LIB2FUNCS_EXTRA) + * objc/Makefile: Changed archive command for libobjc.a to use $? + for objects. -Tue Mar 10 15:57:24 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * alpha/x-winnt, i386/x-winnt: Deleted. + * alpha/config-nt.bat, i386/config-nt.bat: Deleted. + * alpha/config-nt.sed, i386/config-nt.sed: Moved architecture + independent commands to config/winnt/config-nt.sed. + * alpha/winnt.h: Added -D_M_ALPHA to CPP_PREDEFINES. + Changed LIB_SPEC to be compatible with Gnu ld for NT. + * i386/winnt.h: Added -D_cdecl=__attribute__((__cdecl__)). + Change LIB_SPEC to be compatible with Gnu ld for NT. + * winnt/config-nt.bat, winnt/config-nt.sed: New files. + * winnt/dirent.{c,h}, winnt/fixinc-nt.c, winnt/headers.mak: New files. + * winnt/ld.c: Changed precedence of libraries to look for + libfoo.lib before libfoo.a + Changed to work like Gnu ld for NT. + * winnt/libgcc.mak, winnt/mklibgcc.c: New files. + * winnt/spawnv.c: Changed spawn function entry points to __spawn* + instead of spawn*. + * winnt/x-winnt: New file. + * fixinc-nt.sed: New file. + * fixinc.winnt: Rewritten to use fixinc-nt.sed. - * sparc.md: Add pattern for optimizing bitfield compares. This - pattern was accidently lost when other (now-obsolete) bitfield - patterns were removed. + * gcc.c: Remove fix_argv kludge. - * sparc.c (arith32_operand): Deleted. - * sparc.md (movstrsi): Now uses nonmemory_operand for length. +Tue Sep 12 13:24:17 1995 Michael Meissner - * sparc.c (output_arc_profiler): Emit insns from first to last - instead of last to first, since it is much clearer. Eliminate - profiler_target, since it resulted in illegal rtx sharing. + * rs6000.md (power subdi3 pattern): Fix pattern to have 5 + alternatives, and correct 4th alternative to match reality. - * sparc.c (legitimize_pic_address): Make -fPIC work again, re the - Feb 27 cse.c LO_SUM fix. Put addresses inside UNSPEC when loading - them to ensure that cse won't mistakenly optimize them. - * sparc.md: Two new patterns, to match (HIGH (UNSPEC (..))) and - (LO_SUM (reg) (UNSPEC (..))) as generated above. + * rs6000.md (adddi3, subdi3, negdi2): Add constraints so output reg + does not overlap one reg with one of the inputs. -Tue Mar 10 14:58:19 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Sep 12 13:09:48 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * mips-news.h (ASM_SPEC): Move %{G*} outside of -mgas conditional. - * nws3250v4.h, xm-nws3250v4.h, x-nws3250v4: New files. From cph. + * m68k.c (output_scc_di): Fixed for non-SGS_CMP_ORDER syntax. - * i860.c (sfmode_constant_to_ulong): Fix typo in last change. + * collect2.c (scan_libraries): Cast lsyms' alloca to LDSYM*. - * expr.c (store_expr): Initialize `label'. +Tue Sep 12 13:04:12 1995 Niklas Hallqvist (niklas@appli.se) - * 3b1.h (HAVE_ATEXIT): #undef this. + * stmt.c (expand_start_stmt_expr): Do stack adjust in right place. - * hp800.md (compare into ordinary reg): Make large ints "negative". + * stdarg.h (__gnuc_va_list): Make char * for NetBSD. - * hp800hpux.h: New file. - * configure (hp800-*-bsd*): Renamed from hp800-*-*. - (hp800-*-hpux*): New configuration. +Tue Sep 12 12:44:46 1995 Jason Merrill -Tue Mar 10 11:03:47 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * ginclude/va-ppc.h (va_arg): Reorganize to avoid BIND_EXPRs of + aggregate or array type. - * expmed.c (init_expmed): Make the lea pattern in the canonical way. +Tue Sep 12 12:42:27 1995 Ian Lance Taylor -Tue Mar 10 10:32:30 1992 Tom Wood (wood@hal) + * fixincludes: Fix HP/UX for g++ -pedantic-errors. - * m88k.h (ASM_OUTPUT_{COMMON,LOCAL}): Compute size consistently. + * fixincludes (curses.h): typedef bool need not take up entire line. -Tue Mar 10 07:41:09 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Mon Sep 11 19:05:42 1995 Stan Cox (coxs@dg-rtp.dg.com) - * recog.c (constrain_operands, case 'E'): Fix typo. + * c-typeck.c (digest_init): Don't recursively call digest_init + when in traditional mode if the type is invalid. - * function.c (setjmp_protect): Don't put vars from inline functions - on the stack. +Mon Sep 11 18:58:26 1995 Oliver Kellogg (Oliver.Kellogg@space.otn.dasa.de) - * c-typeck.c (process_init_constructor): Don't use host integers for - bounds and index computation; use trees instead. - If specifying index in array with unset bounds, assume lower bound - of zero and check specified index against zero. + * 1750a.md: Added DLB/DSTB peepholes for HFmode. + Corrected mnemonics for HImode DSTB peephole. - * tree.h (mode_for_size): Don't declare here. - * machmode.h (mode_for_size): Declare here instead. +Mon Sep 11 18:48:06 1995 Michael Meissner - * reorg.c (fill_slots_from_thread): Try to split THREAD immediately - so we don't get confused if it gets split later. + * config/fp-bit.c (FLO_union_type): Remove bitfields to set sign, + exponent, and mantissa, and add value_raw field, which is an + integer of the appropriate type. If _DEBUG_BITFLOAT is defined, + provide little and big endian bitfields. If the macro + FLOAT_BIT_ORDER_MISMATCH is defined, use explicit bitfields. + (pack_d, unpack_d): Switch to use value_raw and explicit shifts + and masks so that we don't have to worry about whether the target + is big or little endian unless FLOAT_BIT_ORDER_MISMATCH is + defined. If single precision floating point, rename to pack_f and + unpack_f, so there is no confusion in the debugger. + + * rs6000.h (rs6000_abi): New enumeration to describe which + ABI we're conforming to. + (rs6000_stack): Use abi enum, not AIX vs. V.4 boolean. + (ASM_OUTPUT_OPTIONS): New macro to print output options in .s file. + (ASM_FILE_START): Use it. + (output_options,rs6000_float_const): Declare new functions. - * reorg.c (fill_slots_from_thread): Don't take add from loop - head if the increment amount depends on the target register, since - we can't undo the operation. + * rs6000.c (output_option{,s}): New functions to write -f, -m, + and -W options to the asm file. + (rs6000_float_const): New function to generate floating point + constants portably used in signed,unsigned -> double conversions. + (rs6000_stack_info,debug_stack_info): Use ABI enumeration instead + of AIX vs. V.4 boolean. -Mon Mar 9 12:18:04 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * rs6000.md (float{,uns}sidf2): Call rs6000_float_const to + portably build the proper floating point constant for conversions. + (movdi): Properly handle movdi of CONST_{INT,DOUBLE} on little + endian systems. - * unroll.c (final_biv_value): Fail if the biv is not MODE_INT. + * rs6000/sysv4.h (LIBGCC2_WORDS_BIG_ENDIAN): Define to be 0/1 + depending on the target endianess. + (ASM_FILE_START): Define, to call output_options in addition to + output_file_directive. + (TRAMPOLINE_SIZE): Correct size to match code. - * combine.c (distribute_notes, case REG_DEAD): Call rtx_equal_p - to verify that it was the set that modified the register, and - not a clobber. + * rs6000/eabi{,le}sim.h (CPP_SPEC): Define the correct endian + macro for varargs/stdargs use. -Sun Mar 8 22:20:24 1992 James Van Artsdalen (james at bigtex.cactus.org) +Mon Sep 11 18:41:58 1995 Jim Wilson - * c-parse.y,c-lex.c,cp-hash.h,cp-parse.y,cp-spew.c,objc-parse.y: - Rename `ASM' to `ASM_KEYWORD' to avoid trouble with SCO - . + * c-decl.c (redeclaration_error_message): For TYPE_DECLs, return 0 + if TYPE_MAIN_VARIANT of old type is same as new type. -Sun Mar 8 23:16:37 1992 Jeffrey A. Law (law@wombat.gnu.ai.mit.edu) +Mon Sep 11 17:39:35 1995 Rob Ryan (robr@cmu.edu) - * expr.c (move_by_pieces, move_by_pieces_ninsns): Remove March 4 and - March 5 changes. Set max_size to MOVE_MAX + 1 instead. + * xcoffout.c (xcoff_inlining): New variable, used in place of + xcoff_current_include_file when determining whether to use + absolute line numbers. + (xcoffout_source_file): Switched to using xcoff_inlining to + determine when to emit .bi/.ei directives. -Sun Mar 8 17:08:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Sep 11 16:55:06 1995 Torbjorn Granlund - * expr.c (do_tablejump): New arg MODE. - * stmt.c (expand_end_case): Pass that arg. + * m68k.md (cmpdi): Change patterns to allocate scratch register at + RTL generation time. + (tstdi): Likewise. - * c-decl.c (pushtag): Push even anonymous types on tags list. - (parmlist_tags_warning): Handle anonymous types in the list. +Sun Sep 3 09:03:50 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sun Mar 8 15:08:58 1992 James Van Artsdalen (james at bigtex.cactus.org) + * fold-const.c (size_binop): Don't pass 1 to NOTRUNC. - * i386mach.h (perform_fixdfsi): Rename from *_fix_trundfsi2. - Restore float control word correctly. - * i386rose.h (perform_fixdfsi): Likewise. +Thu Aug 31 19:27:00 1995 Roland McGrath - * i386.h (CONST_DOUBLE_OK_FOR_LETTER_P): Allow float constants, - even if -msoft-float is used: reg-stack.c may emit an insn to load - the function value register with 0.0. + * libgcc2.c: Include longlong.h. + [L_udivdi3 || L_divdi3 || L_umoddi3 || L_moddi3] (__udivmoddi4): + Define this `static inline' when defining these, so they all + remain leaf functions. - * i386.md (bit test insns): Don't allow memory operands as the - first argument of the zero_extract. +Thu Aug 31 18:38:21 1995 Paul Eggert - * i386isc.h (RETURN_POPS_ARGS): Comment this out: ISC uses the - standard definition. + * c-parse.in (ends_in_label): New %union member. + (stmts, stmt_or_label): Use new member to avoid lexical lookahead hack. + (lineno_stmt_or_labels): New rule. + (lineno_stmt_or_label, stmt_or_label): Yield nonzero if it ends + in a label. - * i386sco.h (STARTFILE_SPEC): Use crtbegin.o. - (ENDFILE_SPEC): Use crtend.o. - (CPP_SPEC): #undef before defining. - (RETURN_POPS_ARGS): Caller pops args on SCO. +Thu Aug 31 08:31:40 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sun Mar 8 14:25:16 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cse.c (canon_hash, CONST_DOUBLE): Hash integer and real + differently. + * varasm.c (struct rtx_const): Add new field DI to union. + (decode_rtx_const, case CONST_DOUBLE): Use to hash CONST_DOUBLE + representing an integer. - * configure: Fatal error if srcdir has already been configured. - Remove periods from error messages. + * va-alpha.h (__gnuc_va_list): Make __offset an int. + * alpha.c (alpha_builtin_saveregs): Properly compute address + of __offset both both OSF and WINNT. - * 3b1.h, mot3300.h (ASM_OUTPUT_OPCODE): Change swap to swap.w. - (SGS_SWAP_W): Deleted. - * m68ksgs.h (ASM_OUTPUT_OPCODE): If SGS_SWAP_W, change swap to swap.w. - * m68k.md: Delete all SGS_SWAP_W conditionals. + * xm-alpha.h (sbrk): Don't define here. + * gmon.c (sbrk): Define here for __alpha. + * toplev.c (sbrk): Likewise. + * mips-tfile.c (malloc, calloc, realloc): Don't define for anybody. - * m68k.md (shift using swap, dbra patterns): Change clrw to clr%.w. + * reload.c (push_reload): Add case for output reload of a SUBREG + of a hard reg when output mode is invalid for that mode. + In both that case and existing case for in, don't remove SUBREG. + * reload1.c (emit_reload_insn): Emit RELOAD_OTHER output reloads last. - * hp800.h (output_global_address): Use `-' for PLUS of neg integer. - Clean up spacing and braces in several places in file. +Tue Aug 29 19:16:06 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * byteorder.h (htons): Use unsigned int for arg type. + * c-common.c (decl_attribute, case A_PACKED): Check is_type first. + (decl_attribute, case A_T_UNION): Likewise. + Don't access TYPE_FIELDS if DECL is zero. + * c-decl.c (finish_struct): If transparent_union attribute + specified, validate it once we finish laying the union out. -Sun Mar 8 07:36:44 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Mon Aug 28 05:58:03 1995 Paul Eggert - * rs6000.c (print_operand, case 'A'): New case. - * rs6000.md (sri): New %A to use "sli" for count of zero to work - around bug in RS/6000 assembler. + * arm.c (arm_gen_movstrqi): Remove unused variable const_sxteen. - * config.sub (os): Add "aos" to basic list, no longer the same - as "bsd"; "acis" is an alternate for "aos". - (romp): No longer has a default system. - * configure (romp-*-aos*): Renamed from romp-*-bsd*; BSD means - real BSD (4.3 Tahoe+), AOS means IBM system. + * bi-lexer.c (buffer, inpoint): Remove unused variables. - * Makefile.in (crtbegin.o, crtend.o): Use -o for output instead of - putting in crtstuff.o and renaming to desired name. + * i370/mvs.h, i370/mvs370.c (mvs_label_emitted): Renamed + from mvs_label_emited. - * reload1.c (reload): Re-check eliminability of registers on each - reload pass. + * msdos/configur.bat: Fix misspelling of `maintainer-clean'. - * jump.c (mark_jump_label): Make multiple REG_LABEL notes if - more than one label is mentioned in an insn. +Sat Aug 26 06:57:17 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * integrate.c (copy_rtx_and_substitute): Properly initialize - const_equiv_map for the equivalents of AP and FP. + * reload.c (push_secondary_reload): If X is a paradoxical SUBREG, + get mode and thing to reload from inside. + * reload1.c (emit_reload_insns): Do nothing for SUBREG whose + operand is unused subsequently. + In secondary reload case, if paradoxical SUBREG for output, reload + thing inside SUBREG, just like gen_reload. - * rs6000.h (TARGET_MEM_FUNCTION): Define. +Fri Aug 25 19:26:53 1995 Paul Eggert -Sun Mar 8 00:05:47 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-typeck.c (set_init_label): Don't die if an entire + brace-pair level is superfluous in the containing level. - * c-decl.c (store_parm_decls): Copy function type before changing it. - * tree.c (build_type_copy): New subroutine. +Fri Aug 25 19:22:46 1995 Michael Meissner - * t-next (LIBGCC1): Assigned, instead of LIBGCC. + * configure (powerpc{,le}-eabisim): Add support for a new target + that works under the PSIM simulator. + * rs6000/eabisim.h, rs6000/eabilesim.h, rs6000/t-eabisim: New files. - * m68k.h (SHIFT_COUNT_TRUNCATED): Deleted. + * rs6000/eabi.h (STRICT_ALIGNMENT): If little endian, always set + strict alignment to 1. -Sat Mar 7 23:47:57 1992 James Van Artsdalen (james at bigtex.cactus.org) +Fri Aug 25 19:22:23 1995 David Edelsohn - * i386.md (xorsi3,xorhi3): Don't emit a byte opcode with an SImode - operand. + * rs6000.md ({add,sub,mulsi}di3): Support both endian possibilities. + (negdi2): Likewise. -Sat Mar 7 22:49:21 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Aug 25 19:10:41 1995 Oliver Kellogg (Oliver.Kellogg@space.otn.dasa.de) - * c-typeck.c (convert_arguments): -Wconversion warning - if argument is passed as float. - For fixed arguments, warn if type passed doesn't match - what default_conversion produces. + * 1750a.md: Added peephole definitions for Load/Store Base insns + and eliminating redundant load in an equivalent store/load sequence. - * gcc.c (cross_compile): New variable, 1 if cross-compiling. - (read_specs): Read it from specs. - (process_command): Dump it to specs. +Fri Aug 25 18:33:27 1995 Craig Burley (burley@gnu.ai.mit.edu) - * gcc.c (process_command): Don't use MD prefixes and - standard_startfile_prefix* here. - (main): Use them here, if not cross-compiling. + * toplev.c (report_error_function): Don't attempt to use input + file stack to identify nesting of #include's if file name oflocation + diagnosed is not same as input_filename. -Sat Mar 7 18:13:45 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Fri Aug 25 07:31:47 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * reload1.c (reload_as_needed): Eliminate regs in (use (mem ..)) - and (clobber (mem ...)) insns. + * integrate.c (output_inline_function): Switch to function obstack. - * combine.c (distribute_notes): Fix minor bug in handling of - multi-register values when only one part is used. +Mon Aug 21 13:29:54 1995 J"orn Rennecke (amylaar@meolyon.hanse.de) - * optabs.c, expr.c: Always call emit_library_call with no_queue == 1. + * i386.c (arithmetic_comparison_operator): New function. + (print_operand): Take into account that overflow flag is not + set the same as after a compare instruction. + * i386.md (decrement_and_branch_until_zero): Use + arithmetic_comparison_operator to decide if there is comparison + suitable to be expressed by condition code from an arithmetic op. - * function.c (fix_lexical_addr): Correctly set BASE in non-separate - AP case. +Mon Aug 21 13:26:13 1995 Philippe De Muyter (phdm@info.ucl.ac.be) -Sat Mar 7 15:39:57 1992 Jyrki Kuoppala (jkp@batman.cs.hut.fi) + * m68k.md (adddi3, subdi3): "&" added to clobber's constraints. - * ns32k.h (TRANSFER_FROM_TRAMPOLINE): changed "ret" to "ret 0" +Mon Aug 21 12:11:14 1995 Jim Wilson -Sat Mar 7 15:41:46 1992 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu) + * t-sparclite (MULTILIB_*, LIBGCC, INSTALL_LIBGCC): Define. - * fixincludes: Don't do special fixes on signal.h, which were only - needed because of #endif comment fixes. + * sh.md (movdi-1, movdf-1): Make conditional on reload_completed, + delete conditions checking for pseudo registers and Q addresses. + Add code to handle SUBREG. -Sat Mar 7 15:11:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * local-alloc.c (wipe_dead_reg): Make a register mentioned in a + REG_INC note die after the instruction. - * m68k.h (ASM_OUTPUT_ALIGN): Don't crash if LOG is more than 1. + * m68k.md: For all dbra pattern, change constraint from 'g' to 'd*g'. - * varasm.c (decode_reg_name): Make various prefixes optional - whether or not they are in REGISTER_NAMES. - (strip_reg_name): New subroutine. + * Makefile.in: (underscore.c): Rename rule to stamp-under, and + touch stamp-under at the end. Add new rule for underscore.c that + depends on stamp-under. - * i386.c: Fatal error if EXTRA_CONSTRAINT is defined. + * sh.c (reg_unused_after): For a SEQUENCE, make sure all insns are + safe before returning 1. - * collect2.c [USG] (R_OK, W_OK, X_OK): Define them if missing. + * sh.h (PROMOTE_FUNCTION_ARGS, PROMOTE_FUNCTION_RETURN): Define. - * x-hp320g (RANLIB, RANLIB_TEST): Defined. + * sh.c (output_stack_adjust): Add new argument reg. Use it instead + of stack_pointer_rtx. + (sh_expand_prologue, sh_expand_epilogue): Pass new argument to + output_stack_adjust. - * Makefile.in (EXTRA_PROGRAMS): New variable is list of programs. - (native): Build them. Don't build EXTRA_PARTS. - (rest.encap): Build EXTRA_PARTS. - (GCC_PARTS): Include EXTRA_PROGRAMS. - (install-common): Build EXTRA_PROGRAMS. - * t-convex (EXTRA_PROGRAMS): Define instead of EXTRA_PARTS. +Sat Aug 19 17:34:15 1995 Jim Wilson - * Makefile.in (distclean): Don't delete backups, etc. - (extraclean): New target--delete those things here. - (gcc.xtar): Use extraclean. - (cleanconfig): Deleted. - (realclean): Depend on distclean. + * sparc/gmon-sol2.c (_mcount): Define. + * sparc/sol2.h (STARTFILE_SPEC, ENDFILE_SPEC): Delete superfluous + -pg tests. + (LINK_SPEC): Add libp directories to -Y when -pg. -Sat Mar 7 14:54:29 1992 Tom Wood (wood@dg-rtp.dg.com) + * unroll.c (calculate_giv_inc): Handle increment computed by ASHIFT. - * genattrtab (attr_printf): Provide alternate based on HAVE_VPRINTF. +Sat Aug 19 17:28:56 1995 Philippe De Muyter (phdm@info.ucl.ac.be) -Sat Mar 7 14:25:58 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * m68k.md (subdi3): Should not be commutative. + (one_cmpldi2): Fixed typo with register operand. - * hp800.c (secondary_reload_class): Change `=' to `==' in `if'. +Sat Aug 19 17:20:43 1995 Michael Meissner -Sat Mar 7 13:25:17 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rs6000.c (output_prolog): Fixup code to set stack pointer + if stack size > 32k. + * rs6000.md (sync_isync): Renamed from sync; added an isync insn + after the sync to properly deal with PowerPC's with split I/D caches. + * sysv4.h (INITIALIZE_TRAMPOLINE): Sync function now named sync_isync. - * cccp.c (do_line): Fix typo. +Sat Aug 19 17:07:09 1995 Doug Evans - * configure (decoding args): Delete excess fi. + * h8300.h (STATIC_CHAIN_REGNUM): Use r3. + (REGISTER_NAMES): Print r7 as sp. + (ADDITIONAL_REGISTER_NAMES): Recognize r7. + (ASM_OUTPUT_ALIGN): Alignment is power of 2. + * h8300.md (fancy_btst,fancy_btst1): Branch target must be + operand 0 for length attribute to work. -Sat Mar 7 09:29:41 1992 Michael Meissner (meissner@osf.org) +Sat Aug 19 16:43:11 1995 Paul Franklin - * mips.h (CONST_COSTS): Complete last change. + * assert.h: Declare __eprintf with attribute noreturn. - * mips.md (movsi_ulw, movsi_usw): Complete last change. +Sat Aug 19 16:40:12 1995 Jason Merrill -Sat Mar 7 07:28:03 1992 Tom Wood (wood at dg-rtp.dg.com) + * stddef.h: Don't define wchar_t if __cplusplus is defined. - * config.sub (*-dolphin, -triton*): New vendor/OS. - * configure (m88k-dolphin-trition): New alternative. - * m88kdolph.h: New file. - * xm-m88kdolph.h: New file. +Tue Aug 15 18:01:01 1995 Paul Eggert -Sat Mar 7 10:07:44 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + * cccp.c (warning_with_line): Fix typo in declaration when + !HAVE_VPRINTF and defined (__STDC__). - * make-l2.com: Do not allow the user to run this with gcc 1.nn. +Tue Aug 15 17:57:54 1995 Stephen L Moshier - * make-gcc.com: Use the new compiler to build libgcc2.c (through - make-l2.com). + * real.c (ediv, emul): Set sign bit of IEEE -0.0 result. -Sat Mar 7 05:36:16 1992 K. Richard Pixley (pixley@nutrimat.gnu.ai.mit.edu) +Tue Aug 15 17:49:47 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in: added the exec_prefix variable for installing host - dependent programs and libraries. + * expr.c (safe_from_p): Only safe if EXP is variable-size and X + is BLKmode. -Sat Mar 7 00:09:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * stmt.c (fixup_gotos): When some fixups done, reset to point + to next instead of zeroing TREE_VALUE, which may be shared. - * genextract.c (mybzero): New fn. Used instead of bzero. +Mon Aug 14 09:15:45 1995 Doug Evans - * Makefile.in (all): Indirect to all-internal. - (all-internal): New rule, following where cross-make gets inserted. + * m68k/m68kemb.h (STARTFILE_SPEC): Define as empty. - * vms.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE): Defined. +Mon Aug 14 09:08:57 1995 Pat Rankin - * protoize.c: Don't declare fork or vfork. + * vax.c (vms_check_external): Update `pending_head' properly + when the first list element is removed. - * i860.c (sfmode_constant_to_ulong): Use REAL_VALUE_FROM_CONST_DOUBLE. +Mon Aug 14 09:01:32 1995 Jeffrey A. Law - * gcc.c (handle_braces): Verify actual suffix length matches - desired. + * pa.md (call expanders): Emit a blockage insn after restoring + %r19 when generating PIC. - * hp800.h (GO_IF_LEGITIMATE_ADDRESS): Add parens for clarity. +Sun Aug 13 21:58:49 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * c-typeck.c (pointer_int_sum): Handle intop which is sum or diff - of arguments with different types. + * toplev.c (main): Change text of unsupported -g option warning. - * c-typeck.c (PUSH_SPELLING): If no buffer yet, use xmalloc. +Sun Aug 13 21:47:57 1995 Andrew McCallum - * m68k.c (output_dbcc_and_branch): Use \n\t between pair of insns. + * objc/selector.c (sel_get_any_typed_uid): New function. + * objc/objc-api.h (sel_get_any_typed_uid): Declare new function. - * sparc.h (TARGET_MEM_FUNCTIONS): Defined. +Sun Aug 13 21:43:17 1995 John Carr -Fri Mar 6 18:48:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-typeck.c (c_expand_asm_operands): Check for read-only output + operand where the variable is read-only but the type is not. - * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Don't call ON_EXIT here. - * crtstuff.c, libgcc2.c (__do_global_ctors): Call it here. +Sun Aug 13 21:16:12 1995 David Edelsohn - * i386sco.h (HAVE_ATEXIT): Defined. + * rs6000.c (direct_return): Epilogue required if CR saved. - * collect2.c (my_exit, main): Avoid dereferencing 0. +Sun Aug 13 19:09:25 1995 Jeff Law (law@snake.cs.utah.edu) - * stmt.c (expand_decl_init): Don't alter TREE_USED of the variable. + * configure (hppa1.?-hp-hpux10): Recognize and treat just like hpux9. -Fri Mar 6 18:24:39 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Sun Aug 13 19:07:23 1995 Doug Evans - * mot3300.h (SIZE_TYPE): Define as "unsigned int". + * i960.md (movdi matchers): Fix src/dest order in unaligned + reg->reg case. - * combine.c (make_extraction): STRICT_ALIGNMENT is now non-zero if - true, instead of relying on whether it is defined or not. - * c-typeck.c, cp-typeck.c (build_c_cast): Likewise. - * stor-layout.c (layout_type) Likewise. - * expr.h (MUST_PASS_INSTACK_BAD_ALIGN): Likewise. - * expr.c: Set default value of SLOW_UNALIGNED_ACCESS to zero. - (move_by_pieces, move_by_pieces_ninsns, emit_push_insn): - SLOW_UNALIGNED_ACCESS and STRICT_ALIGNMENT now true if non-zero. - * function.c (assign_stack_local, assign_outer_stack_local): - Remove turned-off code using STRICT_ALIGNMENT. - * config/*.h: Change representation of STRICT_ALIGNMENT and - SLOW_UNALIGNED_ACCESS. - * gmicro.h (SLOW_UNALIGNED_ACCESS): Set to 1. +Sun Aug 13 18:49:01 1995 DJ Delorie - * Makefile.in (cleanconfig): Remove obsolete reference to - file aux-output2.c. + * i386/xm-dos.h (HAVE_STRERROR): New definition. - * c-lex.c (yylex): Don't make out-of-range shift for very wide chars. + * msdos/configur.bat: Add missing carriage return. -Fri Mar 6 18:07:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sun Aug 13 18:40:55 1995 Andrew Cagney - * toplev.c (compile_file): No -Wunused warnings for static vars. + * Makefile.in (USER_H): Add va-ppc.h. - * collect2.c (main): Don't handle -B, -b, -V, -m or -f. - collect2 gets only the options that ld would get. - Process COLLECT_GCC_OPTIONS envvar. - (savestring): New function. +Sun Aug 13 18:36:17 1995 M. Warner Losh - * genattrtab.c: Revert to previous version - because the new one uses vsprintf and it isn't trivial - to avoid it. + * stmt.c (expand_asm_operands): Type '0'..'4' operands may + allow regs, so move them to the default case. -Fri Mar 6 17:26:09 1992 Tom Wood (wood at dg-rtp.dg.com) +Sun Aug 13 18:32:35 1995 Paul Eggert - * m88k.md ( expressions): Don't rely on the assembler being able - to handle constant expressions (Dolphin Triton88 can't). + * cccp.c (warning_with_line): New function. + (trigraph_pcp): Use it, to avoid reporting line number. + (vwarning_with_line): Don't report line number if zero. - * genattrtab.c: Add a hash table mechanism to share RTL and strings. - (attr_hash_add_rtx, attr_hash_add_string): New functions. - (attr_rtx): New function to generate a shared RTL. - (attr_printf, attr_printf): New functions to generate a shared string. - - * genattrtab.c: Extend the treatment of DEFINE_ATTR to allow a CONST - expression as the default value, indicating a constant attribute. - (struct attr_desc): Add `is_const' field. - (check_attr_test): Add `is_const' parameter. Disallow use of insn - attributes and MATCH_OPERAND in a constant expression; allow - SYMBOL_REF in a constant expression. All callers updated. - (chech_attr_value): Allow a SYMBOL_REF as a constant expression. - (convert_const_symbol_ref): New function that converts a constant - SYMBOL_REF to a COND that explictly tests each value. - (make_canonical): Use `convert_const_symbol_ref' for constant - SYMBOL_REF expressions. - (make_length_attrs, find_attr, make_internal_attr): Mark `is_const' - as false. - (gen_attr): Get rid of a top-level CONST node and mark `is_const' true. - (walk_attr_value): Use of a constant SYMBOL_REF does not set - `must_extract' or `must_constrain'. - (write_attr_get): Deal with constant attributes. +Sun Aug 13 18:23:08 1995 Jason Merrill -Fri Mar 6 16:14:27 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * toplev.c (vmessage): Support four arguments. - * cccp.c (main, path_include) [__MSDOS__]: Handle MSDOS syntax in path. +Sun Aug 13 18:19:51 1995 Michael Meissner - * expr.c (store_expr): Fix bugs in last change. + * ginclude/stdarg.h: Add ppc svr4 calling sequence support. + * ginclude/varargs.h: Likewise. + * ginclude/va-ppc.h: New file. - * objc-actions.c (receiver_is_class_object): Fix typos. +Sun Aug 13 18:05:20 1995 Michael Gschwind - * ecoff-cmp: File deleted. + * configure (pdp-*-*): Add support for t-pdp11. + * t-pdp11: New file. + * Makefile.in (LIBGCC2_CFLAGS): Add TARGET_LIBGCC2_CFLAGS. - * config.sub (3b1): Convert to m68000, not m68k. +Sun Aug 13 14:50:58 1995 Jim Wilson - * cccp.c (do_line): Handle "syetem header" indicator flag `3'. + * final.c (final_start_function): Always call sdbout_begin_function + and xcoffout_begin_function, even if no line number info. - * t-i386isc: New file. - * configure (i386-*-isc*): Use the new file. - * i386isc.h (LIB_SPEC, ENDFILE_SPEC): Use crtbegin.o/crtend.o. + * mips/abi64.h (SETUP_INCOMING_VARARGS): In if statement, only + subtract one for stdarg. Don't subtract PRETEND_SIZE from + argument pointer when calculating stack address. + * mips.h (INITIAL_ELIMINATION_OFFSET): For 64 bit ABI, subtract + current_function_pretend_args_size when converting from argument + pointer. + * va-mips.h (va_start): For stdarg, delete separate define for + 64 bit ABI. For varargs, don't subtract 64, and only add -8 when + all argument registers are used. -Fri Mar 6 14:37:25 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * gcc.c (main): When concat gcc_exec_prefix and + standard_startfile_prefix, put machine_suffix in the middle. - * expmed.c (expand_dec): Fix comment. + * iris6.h (INIT_SECTION_ASM_OP): Don't define. + (LD_INIT_SWITCH, LD_FINI_SWITCH, HAS_INIT_SECTION): Don't undef. + (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Ifdef out. + * configure (mips-sgi-irix6, mips-sgi-irix5cross64): Define + use_collect2 to yes. -Fri Mar 6 09:49:54 1992 Tom Wood (wood at dg-rtp.dg.com) + * combine.c (move_deaths): When have a multi-reg hard register, + if don't find a note, then recur for each individual hard register. - * m88k.c (emit_move_sequence): Check reload_in_progress in - addition to reload_completed. + * cse.c (set_nonvarying_address_components): Handle addresses + which are the sum of two constant pseudo regs. + (cse_rtx_addr_varies_p): Likewise. - * m88k.md (cpu attribute): Fix. + * Makefile.in (gfloat.h): Add a - before the rm command. -Fri Mar 6 06:24:08 1992 Michael Meissner (meissner@osf.org) + * loop.c (find_and_verify_loops): Set dest_loop only if + JUMP_LABEL (insn) is non-zero. - * mips.h (CONST_COSTS): Fix eliminate_constant_term calling - sequence. +Mon Jul 31 14:31:53 1995 Ian Lance Taylor - * mips.c (simple_memory_operand): Move offset variable for calling - eliminate_constant_term into a local block by the call. - (mips_address_cost): Ditto. + * fixincludes: Avoid clobbering VxWorks drv/netif/if_med.h file. - * mips.md (movsi_ulw, movsi_usw): Fix eliminate_constant_term - calling sequence. +Sat Jul 29 16:21:42 1995 Jason Merrill -Fri Mar 6 00:30:10 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * collect2.c: (XCOFF_SCAN_LIBS): Define if OBJECT_FORMAT_COFF and + XCOFF_DEBUGGING_FORMAT. + (SCAN_LIBRARIES): Also define if XCOFF_SCAN_LIBS. - * fixincludes: Don't fix comments on #endif, #else. - It made the egrep string too long. +Sat Jul 29 16:19:42 1995 Stuart D. Gathman - * expr.c (store_expr): Handle size mismatch copying from string cst. + * collect2.c (scan_libraries): Implement for AIX. -Thu Mar 5 22:11:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Jul 29 09:59:33 1995 Michael Gschwind - * objc-actions.c (receiver_is_class_object): Clean up syntax. + * configure: (pdp11-*-bsd) New target. + * 2bsd.h: New file. - * sun386.h (ASM_GENERATE_INTERNAL_LABEL): Start with a star. + * pdp11.c (output_move_double): Handle CONST_INT parameters properly. + * pdp11.h (RTX_COSTS): Fill in missing default values. + * pdp11.md (truncdfsf2, extendsfdf2, floatsidf2, fix_truncdfsi2): + Allow register parameters, required by gcc to generate correct code. + * xm-pdp11.h: Include tm.h. - * reload1.c (reload): Change `=' to `==' in `if' - inside REGISTER_CONSTRAINTS conditional. +Sat Jul 29 09:55:17 1995 Andreas Schwab -Thu Mar 5 21:29:33 1992 Michael Tiemann (tiemann@mole.gnu.ai.mit.edu) + * configure (m68k-*-linux*aout*, m68k-*-linux*): New targets. + * m68k/linux-aout.h, m68k/linux.h, m68k/t-linux, m68k/xm-linux.h: New. + * m68k.md [USE_GAS]: Output `jbsr' instead of `jsr' for normal + function calls and `bsr.l' instead of `bsr' for pic function calls. - * cp-parse.y (yyprint): Make declarations declare __inline - consistently. +Sat Jul 29 09:44:13 1995 Jim Wilson -Thu Mar 5 18:34:32 1992 Jeffrey A. Law (law@mole.gnu.ai.mit.edu) + * sh.h (CAN_DEBUG_WITHOUT_FP): Comment out. - * m68k.md (dbra patterns): Fix NO_ADDSUB_Q ifdef conditionals. - Fix location of comment regarding use of REG_NOTES in dbra insns. + * reload.c (find_reloads_address_1, case PLUS): When handle SUBREG, + add SUBREG_WORD offset to SUBREG_REG register number. + (find_reloads_address_1, case SUBREG): If a pseudo register inside + a SUBREG is larger than the class, then reload the entire SUBREG. + * sh.h (SUBREG_OK_FOR_INDEX_P): New macro. + (INDEX_REGISTER_RTX_P): Use it. -Thu Mar 5 18:30:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Jul 29 09:33:19 1995 Doug Evans - * Makefile.in (libgcc.a): If $(LIBGCC1) is empty, ignore it. - * cross-make (LIBGCC1): Make definition empty. + * mips/netbsd.h (CPP_SPEC): Fix typo. -Thu Mar 5 17:48:38 1992 Torbjorn Granlund (tege@wombat.gnu.ai.mit.edu) + * configure (a29k-*-vxworks*): Define extra_parts for crt{begin,end}.o. + * t-a29k, t-a29kbase, t-vx29k ({,CROSS_}LIBGCC1): Define as empty. - * reload.c (find_reloads): Correctly detect different operand - constraint alternatives (by changing subscription from 0 to loop - variable i). +Sat Jul 29 09:15:17 1995 Jeffrey A. Law -Thu Mar 5 16:58:38 1992 Tom Wood (wood at dg-rtp.dg.com) + * pa/lib2funcs.asm (gcc_plt_call): Rewrite to avoid the need + for being called by _sr4export. Inline expand $$dyncall to + avoid the need for long-call and PIC support. - * Makefile.in (libsubdir): Rename $(libdir)/gcc gcc-lib. - * gcc.c (STANDARD_EXEC_PREFIX): Ditto. +Sat Jul 29 07:30:04 1995 Oliver Kellogg (Oliver.Kellogg@space.otn.dasa.de) - * c-typeck.c: Implement a spelling stack to store and print - compoment names for error messages. + * ms1750.inc (ucim.m, ucr.m, uc.m): New. + * 1750a.md (cmpqi): Account for unsigned comparisons. + (rotrqi3, rotrhi3): Reworked. + * 1750a.c (notice_update_cc): INCM and DECM set condition codes. + (unsigned_comparison_operator, next_cc_user_is_unsigned): New fcns. + * 1750a.h (FUNCTION_EPILOGUE): Local variables freed from SP, not FP. + (ASM_OUTPUT_BYTE): Make distinct from ASM_OUTPUT_CHAR. + (ASM_OUTPUT_CONSTRUCTOR): Add FILE arg to assemble_name. - (push_{string,member_name,array_bounds}): New functions. - (SPELLING_DEPTH, RESTORE_SPELLING_DEPTH, SAVE_SPELLING_DEPTH): New - macros to save and restore the spelling stack. - (digest_init, process_init_constructor): Use these. +Fri Jul 28 09:40:07 1995 Jeffrey A. Law - (spelling_length, print_spelling): New functions. - (error_init, pedwarn_init): Use them. + * pa.h (DO_GLOBAL_DTORS_BODY): Use an asm statement to keep optimizer + from deleting an assignment it believes dead. - (get_spelling): New function. - (convert_for_assignment): Use `get_spelling' to interpret messages - that are based on the spelling stack. - (process_init_constructor): Pass `&initialization_message'. +Fri Jul 28 08:47:51 1995 Jim Wilson -Thu Mar 5 15:22:22 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * unroll.c (unroll_loop): When preconditioning, output code to + execute loop once if initial value is greater than or equal to final + value. - * expr.c (init_expr): Initialize forced_labels to zero. - (save_expr_status): Saved forced_labels away and initilize to - zero. - (restore_expr_status): Restore value of forced_labels. - * function.h (struct function): Add forced_labels field. - * integrate.c (function_cannot_inline_p): Reject function with - nonzero forced_labels. + * configure (lang_specs_files, lang_options_files): Add $srcdir to + file names when adding them to these variables. -Thu Mar 5 15:08:47 1992 Tom Wood (wood at dg-rtp.dg.com) + * c-typeck.c (pointer_int_sum): Don't distribute if intop is unsigned + and not the same size as ptrop. - * regclass.c (fix_register): Use decode_reg_name. - * stmt.c (expand_asm_operands): Ditto. - * varasm.c (decode_reg_name): Ignore a leading '#'. + * function.c (assign_stack_temp): When split a slot, set base_offset + and full_size in the newly created slot. + (combine_temp_slots): Update full_size when slots are combined. - For RMS: - * cp-call.c (build_method_call): Delete now redundant tests of - TREE_EXTERNAL before calls to assemble_external. - * cp-init.c (build_virtual_init, build_builtin_call): Ditto. - * cp-method.c (hack_identifier): Ditto. - * cp-typeck.c (build_component_ref, build_function_call_real): Ditto. - * c-parse.y (primary): Ditto. + * sh.c (reg_unused_after): New function. + * sh.md (define_peephole): Add peepholes to use r0+rN addressing mode + for some address reloads. -Thu Mar 5 13:49:29 1992 Jeffrey A. Law (law@wombat.gnu.ai.mit.edu) + * final.c (final_start_function): If SDB_DEBUG, call + sdbout_begin_function. If XCOFF_DEBUG, call xcoffout_begin_function + instead of xcoffout_output_first_source_line. + (final_scan_insn): Don't call sdbout_begin_function or + xcoffout_begin_function. + * xcoffout.c (xcoffout_output_first_source_line): Delete. + (xcoffout_begin_function): Call dbxout_parms and + ASM_OUTPUT_SOURCE_LINE. - * expr.c (move_by_pieces_ninsns): Finish Mar. 4 change. Do not - choose a mode which has a size greater than MOVE_MAX. + * va-mips.h: Change every occurance of #if __mips>=3 to + #ifdef __mips64. + * mips/abi64.h (CPP_SPEC): Output -D__mips64 when -mips3, or -mips4, + or -mgp64. Output -U__mips64 when -mgp32. + * mips/dec-bsd.h, mips/elf64.h, mips/iris3.h: Likewise. + * mips/iris5.h, mips/mips.h, mips/netbsd.h, mips/osfrose.h: Likewise. - * m68k.c: Change all occurances of "mov." to "move%.l" so that - ASM_OUTPUT_OPCODE can choose the right syntax. - * m68k.md: Change "mov." to "move." in comments for consistency. + * i960.c (i960_function_epilogue): Don't clear g14 for functions with + an argument block. + (i960_output_reg_insn): Likewise. + (i960_output_call_insn): Clear g14 for functions wtih an argument + block. -Thu Mar 5 10:04:52 1992 Tom Wood (wood at dg-rtp.dg.com) +Fri Jul 28 08:43:52 1995 Doug Evans - * stmt.c (warn_if_unused_value): Handle NON_LVALUE_EXPR. + * i960.c (i960_arg_size_and_align): Correct alignment of XFmode + values in library calls. + * i960.md (movdi matchers): Support odd numbered regs. - * limits.h (_LIMITS_H_): Correct misspellings. +Fri Jul 28 08:37:25 1995 Michael Gschwind - * Makefile.in ("if" and "["): Romp, 4.3 BSD, and Ultirx systems - fail when the condition is false. Change troublesome instances to - either use "case" or use '-' as a prefix to the compilation rule. + * pdp11.md (divhi3, modhi3, divmodhi4): Rewrite. + +Wed Jul 26 10:15:52 1995 Hallvard B Furuseth (h.b.furuseth@usit.uio.no) -Thu Mar 5 09:08:11 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * collect2.c (end_file): Fix typo in error message text. - * rs6000.md (lshrdi3): Add earlyclobber to first alternative. +Wed Jul 26 09:22:22 1995 Jeff Law (law@snake.cs.utah.edu) - * explow.c (stabilize): Copy RTX_UNCHANGING_P and MEM_VOLATILE_P. + * xm-pa.h (USE_C_ALLOCA): Always define. + * xm-pahpux.h (USE_C_ALLOCA): Likewise. -Thu Mar 5 06:05:31 1992 Michael Tiemann (tiemann@cygnus.com) + * x-pa (CC): Remove useless definition. + * xm-pa.h (HAVE_STRERROR): Define. + (__BSD_NET2__): Define. + +Wed Jul 26 09:10:25 1995 Jason Merrill + + * expr.c (preexpand_calls): Don't look past a CLEANUP_POINT_EXPR. + +Wed Jul 26 08:43:42 1995 Jim Wilson + + * cse.c (cse_insn): When do special handling for (set REG0 REG1), + must delete REG_EQUAL note from insn if it mentions REG0. + + * loop.c (find_and_verify_loops): When moving blocks of code, verify + that the just destination is not in an inner nested loop. + (mark_loop_jump): Don't mark label as loop exit if it jumps to + an inner nested loop. + +Wed Jul 26 08:40:31 1995 Paul Eggert + + * cccp.c (do_include, read_name_map): Omit leading "./" and + trailing "/" when it makes sense. + (skip_redundant_dir_prefix): New function. + +Wed Jul 26 08:36:41 1995 Michael Meissner + + * stmt.c (emit_nop): Do not emit a nop if there is a single + insn before a label or at the start of a function. + +Wed Jul 26 08:21:21 1995 Doug Evans + + * Makefile.in (gfloat.h): Delete previous copy before updating. + +Wed Jul 26 08:18:29 1995 Roland McGrath + + * Makefile.in (STAGESTUFF): Add stamp-crtS. + (crtbeginS.o, crtendS.o, stamp-crtS): New rules; just like + crtbegin.o et al, but compiled using -fPIC. + * configure (*-*-gnu*): Add crtbeginS.o and crtendS.o to $extra_parts. + +Wed Jul 26 08:11:52 1995 Michael Gschwind + + * pdp11.md: Fixed typos ('bhos' -> 'bhis'). + +Wed Jul 26 08:05:41 1995 Jim Wilson + + * hp320.h, m68k.h, m68kv4.h (LEGITIMATE_PIC_OPERAND_P): Reject + CONST_DOUBLE with MEM with invalid pic address. + * reload1.c (real.h): Include it. + * Makefile.in (reload1.o): Depends on real.h. + +Wed Jul 26 07:58:22 1995 Ian Lance Taylor + + * gcc.c (MULTILIB_DIRS): Provide default if not defined. + (multilib_defaults): New static variable. + (default_arg): New static function. + (set_multilib_dir): Ignore default arguments. + (print_multilib_info): Ignore entries which use default arguments. + +Tue Jul 25 10:06:09 1995 Michael Meissner + + * rs6000.md (allocate_stack): Don't copy the LR register to + the new stack end. + * rs6000.c (rs6000_stack_info): Correctly store the LR in + the caller's frame, not the current frame, for V.4 calls. + * rs6000/eabi.asm (_save*, _rest*): Provide all mandated V.4 save + and restore functions, except for the save*_g functions which + return the GOT address. + +Fri Jul 21 14:24:25 1995 Michael Meissner + + * rs6000/eabi.h (__eabi): Load up r13 to be the small data + pointer, unless -mrelocatable. + + * rs6000/aix3newas.h (LINK_SPEC): Import machine independent + functions if -mcpu=common. + * rs6000/milli.exp: Import file referenced in aix3newas.h. + + * rs6000/eabi.asm (__eabi): Support for fixing up user initialized + pointers when -mrelocatable is used. + * rs6000/eabi.h (ASM_OUTPUT_INT): Record any pointers initialized + by the user if -mrelocatable, to be fixed up by __eabi. + (CONST_SECTION_ASM_OP): If -mrelocatable, put read-only stuff in .data, + not .rodata, to allow user initialized pointers to be updated by __eabi. + + * rs6000.h (TARGET_SWITCHES): Add -mdebug-{stack,arg}. + (TARGET_{ELF,NO_TOC,TOC}): Add defaults for non system V. + (rs6000_stack): New structure to describe stack layout. + (RS6000_{REG_SAVE,SAVE_AREA,VARARGS_*}): New macros used to + support both AIX and V.4 calling sequences. + (FP_ARG_*, GP_ARG_*): Ditto. + (FP_SAVE_INLINE): Ditto. + (STARTING_FRAME_OFFSET): Modify to support both AIX and V.4 + calling sequences. + (FIRST_PARM_OFFSET): Ditto. + (REG_PARM_STACK_SPACE): Ditto. + (STACK_POINTER_OFFSET): Ditto. + (FUNCTION_ARG_REGNO_P): Ditto. + ({,INIT_}CUMULATIVE_ARGS): Ditto. + (LEGITIMATE_LO_SUM_ADDRESS_P): Ditto. + (FUNCTION_ARG{,_ADVANCE,PARTIAL_NREGS,PASS_BY_REFERENCE}): Ditto. + (SETUP_INCOMING_VARARGS): Ditto. + (EXPAND_BUILTIN_SAVEREGS): Ditto. + (CAN_ELIMINATE): Ditto. + (INITIAL_ELIMINATION_OFFSET): Ditto. + (LEGITIMATE_CONSTANT_POOL_{BASE,ADDRESS}_P): Ditto. + (GO_IF_{LEGITIMATE_ADDRESS,MODE_DEPENDENT_ADDRESS}): Ditto. + (LEGITIMIZE_ADDRESS): Ditto. + (CONST_COSTS): Ditto. + (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Ditto. + (ASM_OUTPUT_REG_{PUSH,POP}): Use reg_names to print registers. + (function declarations): Add new rs6000.c function declarations, + and delete decls of deleted functions. + (SHIFT_COUNT_TRUNCATED): Parenthesize the expression. + + * rs6000.c (init_cumulative_args): New function to support AIX + and V.4 calling sequences. + (function_arg{,_advance,partial_nregs,pass_by_reference}): Ditto. + (setup_incoming_varargs): Ditto. + (expand_builtin_saveregs): Ditto. + (rs6000_stack_info): Ditto. + (debug_stack_info): Ditto. + (direct_return): Changes to support AIX and V.4 calling sequences. + (first_reg_to_save): Ditto. + (svr4_traceback): Ditto. + (output_{prolog,epilog}): Ditto. + (print_operand): Use reg_names to print registers. Add support + for V.4 HIGH/LO_SUM address modes. + (must_save_cr): Function deleted, in rewrite of AIX/V.4 calling + sequence support. + (rs6000_sa_size): Ditto. + (rs6000_pushes_stack): Ditto. + (output_toc): Add abort if no toc. + + * rs6000.md (call insns): Add a new argument to flag a V.4 + function needs to set bit 6 of the CR. + (elf_{low,high}): New V.4 functions to create addresses via HIGH + and LO_SUM patterns. + (movsi): Use elf_{low,high} if appropriate. + (mov{si,di}_update): Name these patterns for allocate_stack. + (allocate_stack): Support for V.4 stack layout. + (sync): New pattern for V.4 trampolines to issue the sync + instruction. + + * rs6000/sysv4.h (TARGET_SWTICHES): Add -mcall-{aix,sysv}, and + -mprototype. Remove separate flag bit for -mno-toc. + (SUBTARGET_OVERRIDE_OPTIONS): Don't test for -mno-toc. + (FP_ARG_*): Adjust for V.4 calling sequences. + (RS6000_*): Ditto. + (FP_SAVE_INLINE): Ditto. + (toc_section): Eliminate use of AIX style full TOC. + (TRAMPOLINE_{TEMPLATE,SIZE}): Redefine for V.4 support. + (INITIALIZE_TRAMPOLINE): Ditto. + + * rs6000/eabi.h (CPP_SPEC): Define _CALL_SYSV or _CALL_AIX, + depending on whether -mcall-sysv or -mcall-aix was used. + * rs6000/eabile.h (CPP_SPEC): Ditto. + * rs6000/sysv4le.h (CPP_SPEC): Ditto. + + * rs6000/t-eabigas (MULTILIB_{OPTIONS,DIRNAMES}): Delete no-toc + libraries, explicit big endian libraries. + * rs6000/t-ppcgas (MULTILIB_{OPTIONS,DIRNAMES}): Ditto. + + * rs6000/t-eabiaix: New file for eabi, using -mcall-aix as the + default. + * rs6000/eabiaix.h: Ditto. - * cp-parse.y (.pushlevel): Stack and unstack STMT_DECL_MSG. + * rs6000/t-eabilegas: New file for eabi on little endian systems. + * rs6000/t-ppclegas: New file for V.4 on little endian systems. - * cp-parse.y (unary_expr): Add EXTENSION support. - ({maybe_label,label}_decls, label_decl): Define these rules as from - c-parse.y. - * cp-decl.c ({lookup,shadow,define}_label): Update from c-decl.c. - * gplus.gperf: Add EXTENSION and LABEL. - * cp-hash.h: Remade using gperf. + * rs6000/t-rs6000 (MULTILIB_{OPTIONS,DIRNAMES}): Build libgcc.a + for -mcpu=common. -Wed Mar 4 21:38:41 1992 Jeffrey A. Law (law@wombat.gnu.ai.mit.edu) + * configure (powerpc-*-eabiaix): New configuration for defaulting + to old-style AIX calling sequence. + (powerpcle*): Use new t-{eabi,ppc}legas files, to avoid building + explicit little endian multilib libraries. - * expr.c (move_by_pieces): Do not choose a mode which has a size - greater than MOVE_MAX. +Fri Jul 21 13:23:06 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Wed Mar 4 23:24:25 1992 Per Bothner (bothner@cygnus.com) + * toplev.c (main): Don't define sbrk #ifdef __alpha__. - * cp-class.c, cp-decl.c, cp-decl2.c, cp-init.c, cp-lex.c, - cp-method.c, cp-typeck.c: Casts from enum to int that - are necessary (not alas not quite sufficient) to get - cc1plus to compile using system cc on Sony NewsOS 3.2 - (presumably Portable C Compiler). +Tue Jul 18 19:23:44 1995 Paul Eggert -Wed Mar 4 22:05:39 1992 Michael Tiemann (tiemann@cygnus.com) + * cccp.c (do_include): Prefix -H output lines with spaces, not dots. + (output_dots): Remove. - * cp-type2.c (build_functional_cast): Fix typo in code searching - down type lattice looking for constructor. + * cccp.c (main): cplusplus_comments now defaults to 1. + But clear it if -traditional or the new option -lang-c89 is given. + * gcc.c (default_compilers, cpp): Specify -lang-c89 if -ansi is given. + This turns off C++ comment recognition. -Wed Mar 4 16:52:21 1992 Jim Wilson (wilson@cygnus.com) +Tue Jul 18 19:16:38 1995 Jim Wilson - * gstdarg.h: Include va-sparc.h on sparc systems. Delete now - obsolete `#ifndef __sparc__'. - * va-sparc.h (va_start): Provide alternate definition when - included via stdarg.h. Delete obsolete comment. - (va_arg): Add missing set of parentheses. + * va-sparc.h (va_arg): Add support for 128 bit long double type. -Wed Mar 4 15:21:20 1992 David J. MacKenzie (djm@wookumz.gnu.ai.mit.edu) +Tue Jul 18 19:11:18 1995 Jorn Rennecke (amylaar@meolyon.hanse.de) - * fixincludes: Make egrep pattern more general. Check for - additional special case problems in Ultrix, News-OS, and IRIX. + * c-common.c (decl_attributes, case A_ALIGNED): Handle is_type + case properly. -Wed Mar 4 15:15:45 1992 James Van Artsdalen (james at bigtex.cactus.org) +Tue Jul 18 19:03:02 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * i386.c (function_epilogue): Don't make a special case for - current_function_returns_struct: this is done via - current_function_pops_args. + * fold-const.c (fold, case CONVERT_EXPR): Don't merge conversions + if outer is to handle a type with differing precision. - * sun386.h (DATA_SECTION_ASSM_OP): Fix typo in undef. +Mon Jul 17 14:37:35 1995 Pat Rankin (rankin@eql.caltech.edu) -Wed Mar 4 14:21:37 1992 David J. MacKenzie (djm@wookumz.gnu.ai.mit.edu) + * vax/vms.h (HAVE_ATEXIT): Define. + (DO_GLOBAL_CTORS_BODY): Don't call atexit; let __do_global_ctors do it. + * vax/xm-vms.h (HAVE_VPRINTF): Define. - * fixincludes, fixinc.svr4: Only change #else and #endif at the - beginnings of lines, aside from whitespace, so it doesn't change - them within comments. +Mon Jul 17 06:41:19 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Wed Mar 4 09:48:21 1992 Michael Tiemann (tiemann@mole.gnu.ai.mit.edu) + * c-typeck.c ({unsigned,signed}_type): Handle intXX_type_node types. - * cp-method.c (build_decl_overload): Braino in handling of DELETE - (NEW was handled correctly). + * xm-alpha.h (sbrk): Add declaration. -Wed Mar 4 09:14:57 1992 Jeffrey A. Law (law@wombat.gnu.ai.mit.edu) + * convert.c (convert_to_integer): If TYPE is a enumeral type or + if its precision is not the same as the size of its mode, + convert in two steps. - * Makefile.in (install-man): Install the g++ manual page. + * m68k.md (tstdi, cmpdi): Use match_scratch, not match_operand. - * m68k.md (dbCC peepholes): Two new peepholes to recognize cases - where a compare/branch can be done (for free) as part of a dbCC - insn. This turns jCC;dbf into dbCC;jCC (the jCC is now outside the - inner part of the loop). +Fri Jul 14 19:23:42 1995 Andreas Schwab - * m68k.c (valid_dbcc_comparison_p): New function which returns TRUE - if the given comparison is a valid comparison operator for the dbCC - instruction. - (output_dbcc_and_branch): New function to output a dbCC;jCC - instruction sequence (including possible counter adjustments in - SImode) + * c-decl.c (field_decl_cmp): Rewritten to make sure that a null + name always sorts low against other names. + * c-typeck.c (lookup_field): Change name comparison to match what + field_decl_cmp does. -Wed Mar 4 04:32:11 1992 Michael Tiemann (tiemann@cygnus.com) +Fri Jul 14 18:46:24 1995 Michael Meissner - * cp-dem.c (optable): Add entry for `operator='. + * rs6000.md (movsi): Convert a CONST_DOUBLE into a CONST_INT of + the low part. - * cp-decl.c (finish_function): Emit a jump to RETURN_LABEL if - CLEANUP_LABEL is non-zero. (Suggested by niklas@appli.se) +Fri Jul 14 18:30:52 1995 Doug Evans -Wed Mar 4 04:28:10 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * toplev.c (main): Reword dwarf/c++/-g warning. - * libgcc1.c (perform_lesf2): Condition tested was backwards. +Fri Jul 14 18:19:34 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Wed Mar 4 03:11:48 1992 Ken Raeburn (Raeburn@Cygnus.COM) + * expr.h (NO_DEFER_POP): Remove last change. + * expr.c (stor_expr): Force stack adjust before NO_DEFER_POP. + (expand_expr, case COND_EXPR): Likewise. + * stmt.c (expand_start_stmt_expr): Likewise. - * cp-pt.c (overload_template_name): Extra pushlevel isn't needed; - omit it. - (undo_template_name_overload): Don't pop the level that isn't pushed - any more. +Fri Jul 14 07:58:35 1995 Jim Wilson - * cp-class.c (pushclass): Don't bother processing unnamed tags. - (popclass): Likewise. + * function.c (struct temp_slot): New fields base_offset, full_size. + (assign_stack_temp): For !FRAME_GROWS_DOWNWARD, set p->size to size. + Set new fields base_offset and full_size. + (combine_temp_slots): Use new fields base_offset and full_size instead + of slot and size. - * cp-init.c (build_vec_delete): If pointer is null, don't do - anything. + * loop.c (loop_number_exit_count): New global variable. + (loop_optimize): Allocate space for it. + (find_and_verify_loops, mark_loop_jump): Set it. + (strength_reduce, check_dbra_loop): Use loop_number_exit_count + instead of loop_number_exit_labels. + * loop.h (loop_number_exit_count): Declare it. + * unroll.c (find_splittable_{regs,givs}, final_[bg]iv_value): Use + loop_number_exit_count instead of loop_number_exit_labels. + (reg_dead_after_loop): Check loop_number_exit_count, and fail + if the count doesn't match loop_number_exit_labels. - * cp-parse.y (member_init): Accept base class names that are - template type names. + * cse.c (cse_insn): Ifdef out code that pre-truncates src_folded. - * cp-decl.c (start_decl): Don't prepend decl of `this' to arg lists - of methods of uninstantiated types. + * sparc.md (sethi_di_sp64): Return null string at end. - * cp-pt.c (instantiate_template): If no text has been saved away, - don't try to parse it; an external reference will result. + * function.h (struct function): Add stdarg field. + * function.c (current_function_stdarg): New global variable. + (push_function_context_to): Save it. + (pop_function_context_from): Restore it. + (assign_parms): Set it. + (init_function_start): Clear it. + * output.h (current_function_stdarg): Declare it. + * i960.md: Modify all patterns which handle stores to memory to also + check current_function_varargs and current_function_stdarg. - * cp-parse.y (yyprint): Declare this at head of file. + * reorg.c (fill_simple_delay_slots): When trying to take instruction + from after the branch, don't continue past target label. Local + variables passed_label and target_uses are no longer necessary. - * cp-pt.c (instantiate_class_template): If the template specified - hasn't been defined, don't reject the instantiation; make it a - normal undefined type. +Thu Jul 13 19:30:04 1995 Jeff Law (law@snake.cs.utah.edu) - * cp-parse.y (template_def): Try to recover from errors more - gracefully. + * pa.c (output_bb): Fix error in long backwards branch with + nullified delay slot. -Tue Mar 3 15:37:35 1992 Tom Wood (wood at dg-rtp.dg.com) +Thu Jul 13 19:26:13 1995 Jim Wilson - * protoize.c (munge_compile_params): Compute the maximum number of - params (`temp_parms' length) safely. + * expmed.c (SHIFT_COUNT_TRUNCATED): Use #ifdef not #if. - * dwarfout.c (const_value_attribute): Punt quasi-constant values. - (location_or_const_value_attribute): Ditto. +Mon Jul 10 20:16:44 1995 Paul Eggert - * Makefile.in (install-common): Install the cross compilation - driver program even when $(tooldir)/bin doesn't exist. + * cccp.c (rescan): Don't address outside of array when + preprocessing C++ comments. -Tue Mar 3 14:39:55 1992 James Van Artsdalen (james at bigtex.cactus.org) +Mon Jul 10 20:05:46 1995 Michael Meissner - * i386.h (enum reg_class): Undo Jan 17 change that deleted class BREG. - (REG_CLASS_NAMES,REG_CLASS_CONTENTS,REGNO_REG_CLASS): Likewise. - (REG_CLASS_FROM_LETTER): Likewise. - * i386.c (regclass_map): Likewise. + * rs6000.c (expand_block_move): Remove #if 0 conditionals + against using larger block moves. - * svr4.h (LINK_SPEC): Don't do -z or -t here: it's already in - link_command_spec. But do handle -G. + * t-rs6000 (EXTRA_PARTS): Copy milli.exp to release dir. + (milli.exp): Copy to build dir from machine dependend dir. - * i386.md (casesi): Rewrite pattern to reflect the way to emitted - code actually works. +Mon Jul 10 20:03:29 1995 Richard Earnshaw (rearnsha@armltd.co.uk) -Tue Mar 3 09:59:15 1992 Jeffrey A. Law (law@super.super.org) + * arm.md (matcher for (shiftable_op (cond-exp) (reg))): If + shiftable_op is minus, then subtract from zero when cond fails. - * m68k.md (dbra pattern in HImode): New pattern to match - decrement_and_branch insns when the loop counter is decremented in - HImode. +Mon Jul 10 19:58:26 1995 John F. Carr -Tue Mar 3 07:57:18 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * sparc.h (SELECT_SECTION): Use TREE_CODE_CLASS instead of directly + referencing tree_code_type. + +Mon Jul 10 19:54:31 1995 Jim Wilson - * rs6000.md (doz patterns): Add missing `I' constraint. + * protoize.c (reverse_def_dec_list): Delete const qualifiers from + local variables, and delete casts which were casting away const. - * reorg.c (mark_target_live_regs): A CALL_INSN livens all global regs. +Mon Jul 10 19:14:39 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * vax.h (EXTRA_CONSTRAINT): New macro to select non-mode-dependent - MEM operands. - * vax.md (jlbc/jlbs): Use jbc/jbs if mode-dependent memory. - * vax.c (reg_or_nxmem_operand): Function deleted. + * c-lang.c (finish_file): Add missing parm to start_function call. - * expr.c (do_store_flag): Swap comparison code when putting - constant arg second. + * jump.c (jump_optimize): Pass outer_code arg to rtx_cost. - * m68k.md (addhi3): Convert, e.g., 65535 to -1 before seeing if - we can use subqw. - (addqi3): Similarly for QImode constants + * varasm.c (assemble_name, bc_assemble_integer): Call + bc_emit_labelref with proper args. - * local-alloc (optimize_reg_copy_1): Renamed from optimize_reg_copy. - (optimize_reg_copy_2): New function. - (update_equiv_regs): Call optimize_reg_copy_[12]. + * function.c (setjmp_args_warning): Remove bogus arg. - * combine.c (make_compound_operation, case AND): Turn SUBREG case - back on now that bug in i386.md has been fixed. - (simplify_comparison, case ASHIFT): If shifting low-order bit to - sign bit and doing equality comparison, convert to AND with low-order - bit (inequality case was already handled). - Also remove redundant test of CONST_OP in an earlier case. +Mon Jul 10 18:20:54 1995 Fergus Henderson (fjh@cs.mu.oz.au) - * sun2o4.h (LINK_SPEC): No longer need -Bstatic with -g. + * gcc.c (p{fatal,error}_with_name, perror_exec): Quote filename. - * m68k.c, m68k.h: Avoid %X% for most upper-case X since it means - something special to SCCS. +Mon Jul 10 18:12:51 1995 Gran Uddeborg (uddeborg@carmen.se) - * rs6000.md (type): Add new type, mtlr. - (function_unit branch): Add delay from mtlr to br. - (movsi): When moving to lr, type is "mtlr". + * i386/iscdbx.h (STARTFILE_SPEC): Handle -Xp. - * unroll.c (reg_dead_after_loop): Check for infinite loop by - counting JUMP_INSNs we follow. - Use GET_RTX_CLASS, reg_referenced_p, and single_set. +Wed Jul 5 02:42:17 1995 Per Bothner (bothner@spiff.gnu.ai.mit.edu) - * expr.c (expand_increment): Set op0_is_copy when we are referencing - the low-order part of some value in a register. + * cpphash.h (enum node_type): Remove unneeded and non-standard + forward declaration. - * combine.c (force_to_mode): New arg REG; pass in recursive call. - If X has the same value as REG, use REG. - (make_field_assignment): Handle case when DEST and part of source - aren't the same, but are equal; pass destination to force_to_mode. +Sat Jul 1 20:15:39 1995 Jim Wilson - * m68k.md (addhi3): Generate addqw, subqw, or addw for - STRICT_LOW_PART versions the same way we handle the normal case. - (addqi3): Similarly for addqb, subqb, and addb. + * mips/t-mips, mips/t-mips-gas (MULTILIB_*, LIBGCC, INSTALL_LIBGCC): + Delete. - * genattrtab.c (write_test_expr, case MOD): Double `%' in printf call. - (write_eligible_delay): Internal attribute "*delay_type" is always - used literally; it has no suffix or prefix. + * sparc/sol2.h (LINK_SPEC): Revert March 16 change. Do not add -R + for each -L. - * m68k.md, vax.md (sob): Rewrite inequality versions so that they - have a PLUS inside the comparison; combine cannot remove the PLUS - due to overflow considerations. + * collect2.c (libcompare): Verify that file name extensions are valid. + Put files with invalid extensions last in the sort. + + * integrate.c (integrate_decl_tree): Set DECL_ABTRACT_ORIGIN before + pushdecl call for local variables. + +Sat Jul 1 08:13:38 1995 Richard Earnshaw (rearnsha@armltd.co.uk) -Tue Mar 3 07:56:30 1992 Eric Youngdale (youngdale at v6550c.nrl.navy.mil) + * cpplib.c (output_line_command): If not emitting #line directives + delay returning until after adjust_position has been called. - * vms.h (L__main): Remove #include + * arm.md (mov{si,sf,df}cc): Call gen_compare_reg to generate + the condition code register. - * make-gcc.com: Call make-l2.com. +Sat Jul 1 06:55:09 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Mar 3 05:37:08 1992 Michael Tiemann (tiemann@cygnus.com) + * fold-const.c (decode_field_reference): New parm PAND_MASK. + (unextend): New parm MASK. + (fold_truthop): Pass new parms to decode_field_reference and unextend. - * stor-layout.c (layout_type): Handle OFFSET_TYPE. - * cp-tree.c (build_member_type): Deleted. - * cp-typeck.c, cp-decl.c, cp-init.c: All callers of - `build_member_type' now call `build_offset_type'. - * cp-typeck.c (convert_arguments): An argument that's an OFFSET_REF - must be resolved by `resolve_offset_ref'. The OFFSET_REF case in - expand_expr does not do the right thing for G++ yet. + * va-alpha.h (__va_tsize): Use __extension__ to avoid warning + on use of `long long'. - * cp-decl.c (grokdeclarator): Take CONSTP and VOLATILEP into account - when building METHOD_TYPEs. - (start_function): Ditto. + * expr.h (NO_DEFER_POP): Do any pending stack adjusts. - * cp-method.c (build_decl_overload): Change interface to take DNAME - instead of NAME. Also, special-case handling of the default - operator new and operator delete for the std. signatures. - * cp-*.c: All callers changed. + * recog.c (register_operand): Disallow subreg of reg not allowed to + change size. - * cp-class.c (build_vtable_entry): Rewrite built-in limit check to - work on platforms where SIZETYPE is unsigned. +Thu Jun 29 05:51:57 1995 Jeff Law (law@snake.cs.utah.edu) -Mon Mar 2 08:49:16 1992 Tom Wood (wood at dg-rtp.dg.com) + * pa.md (reload addsi3): New pattern to avoid reload lossage + with register eliminations. - * m88k.c (m88k_debugger_offset): Delete warning. + * pa.c (output_cbranch): When checking for a jump to the given + insn's delay slot, handle the case where JUMP_LABEL for the + given insn does not point to the first label in a series of + labels. + (output_bb, output_dbra, output_movb): Likewise. - * m88k.h (OVERRIDE_OPTIONS): Set `m88k_cpu' based on `target_flags'. +Wed Jun 28 18:04:56 1995 Jeff Law (law@snake.cs.utah.edu) - * m88k.md (cmpsi insn): Delete alternative that complements the - compare string for a swapped compare (it's wrong and unnecessary). - (cpu attribute): Define. + * pa.h (PIC_OFFEST_TABLE_REGNUM_SAVED): Define to %r4. + (CONDITIONAL_REGISTER_USAGE): Make it fixed when compiling + PIC code. + (INIT_EXPANDERS): Delete. + * pa.c (hppa_save_pic_table_rtx): Delete variable. + (hppa_expand_prologue): For PIC generation, copy the PIC + register into a fixed callee register at the end of the + prologue of non-leaf functions. + * pa.md (call expanders): Reload the PIC register from the + fixed callee saved register. Don't try to save the PIC + register before the call. - From Jyrki Kuoppala: - * pc532.h, pc532-mach.h, pc532-min.h, xm-ps532-min.h: New files. - * configure (ns32k-pc532-mach*, ns32k-pc532-minix*): New alternatives. +Wed Jun 28 18:01:14 1995 Stan Cox (coxs@dg-rtp.dg.com) - * dbxout.c (dbxout_type): Don't invoke dbxout_type_methods if - there are none. + * m88k/dguxbcs.h (ASM_SPEC): Removed -h flag. + * m88k/dgux.h (ASM_SPEC): Likewise. - * vax.c (print_operand_address): Allow REG+TERM. +Wed Jun 28 17:01:58 1995 David Edelsohn - * c-typeck.c (process_init_constructor): Reuse space for error - message strings. + * rs6000.c (processor_target_table): Remove CPU name synonyms. + * rs6000.h (CPP_SPEC): Likewise. + * rs6000/sysv4.h (CPP_SPEC): Likewise. + (ASM_SPEC): Likewise. + * rs6000/sysv4le.h (CPP_SPEC): Likewise. + * rs6000/eabile.h (CPP_SPEC): Likewise. + * rs6000/powerpc.h (CPP_SPEC): Likewise. + (ASM_SPEC): Set assembler target according to compiler target. + * rs6000/aix3newas.h (CPP_SPEC): Likewise. + (ASM_SPEC): Likewise. + * rs6000/aix41.h (CPP_SPEC): Likewise. + (ASM_SPEC): Likewise. -Mon Mar 2 02:54:48 1992 James Van Artsdalen (james at bigtex.cactus.org) +Wed Jun 28 16:25:53 1995 Gran Uddeborg (uddeborg@carmen.se) - * seq386gas.h: New file, for Sequent using 386 & GAS. + * i386/x-isc3 (INSTALL_HEADERS_DIR): Delete; done by configure. - * xm-i386sco.h: New file. +Wed Jun 28 16:10:47 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * optabs.c (ldexp): New function. Used if host ldexp() is broken. + * xm-rs6000.h (alloca): Extern decl added for non-GNU compiler. - * configure (i386-sequent-bsd*): Use seq386gas.h if --gas. - (i386-*-sco*): The host file is now xm-i386sco.h. +Wed Jun 28 11:31:30 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * i386.md (SImode and HImode logical compare): If we are only - testing one byte of a mem, use a byte test opcode. - (bit test patterns): Likewise when emitting test opcodes. + * cpplib.c (progname): Remove definition from here. -Sun Mar 1 14:47:31 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * final.c (final_scan_insn): Fix error in last change. - * longlong.h (_IBMR2 udiv_qrnnd): Switch off due to overflow problems. + * rtlanal.c (reg_set_p_1): Now static; add extra parm. -Sun Mar 1 11:19:55 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * stmt.c: Delete redundant forward decls. + (expand_anon_union_decl): Correctly call expand_decl. - * combine.c (force_to_mode): New function. - (make_field_assignment): Rework code that handles fixed-position - fields to make it both much more general and much simpler. + * toplev.c (strip_off_ending): Strip off any ending; don't + pretend we know what valid endings are. - * m68k.md: Add missing insns for using byte operations with - STRICT_LOW_PART; add was missing commutative equivalent and - most operations other than add and subtract were missing. + * svr4.h (ASM_OUTPUT_SECTION_NAME): Don't crash if DECL is null. - * varasm.c (assemble_start_function): Add missing arg to call to - dbxout_begin_function. + * rs6000.md ({load,store}_multiple): Don't use indirect_operand + in define_insn; use explicit MEM of register_operand instead. - * fold-const.c (const_binop): Make minor source change to work - around bug in IBM RT PC compiler. +Tue Jun 27 11:42:56 1995 Stephen L Moshier -Sun Mar 1 05:01:34 1992 Michael Tiemann (tiemann@rtl.cygnus.com) + * i386/i386.c (print_operand, case `J'): Use jns for GE and js for + LT. - * cp-typeck.c (build_modify_expr): When wrapping NEWRHS in a - SAVE_EXPR, call `break_out_cleanups' first. +Tue Jun 27 07:58:55 1995 Jason Merrill -Sat Feb 29 23:19:20 1992 Jim Wilson (wilson@cygnus.com) + * expr.c (expand_expr, TARGET_EXPR): Only use original_target + if !ignore. - * reload.c (find_reloads): Reset preferred_class to NO_REGS after - substituting a reg_equiv_address for a pseudo reg. +Tue Jun 27 07:27:26 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * unroll.c (precondition_loop_p): Fix misplaced paren when checking - for MODE_FLOAT rtx. + * fold-const.c (fold_truthop): Commute unextend and convert on + l_const and r_const. -Sat Feb 29 13:59:54 1992 Michael Tiemann (tiemann@cygnus.com) + * c-common.c (decl_attributes, case A_CONSTRUCTOR, A_DESTRUCTOR): + Set TREE_USED. - * cp-typeck.c (build_modify_expr): To complete 24 Feb change, - COND_EXPRs must evaluate LHS in conditional slot if LHS has side - effects. Otherwise the SAVE_EXPRs in lhs will only be evaluated - once, even though they are referenced on both branches of the - conditional. + * final.c (final_scan_insn): Don't call alter_cond unless + condition is on cc0. -Sat Feb 29 13:32:35 1992 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu) + * stmt.c (expand_asm_operands): Handle input operands that may not + be in a register. - * README.X11: Add warning to not use gas when compiling PIC code. +Mon Jun 26 19:23:05 1995 Richard Earnshaw (rearnsha@armltd.co.uk) - * fixincludes: Allow TAB as well as SPC before symbols to change. - Don't change "sun" if it's part of a multiword name that contains - underscores. - Make intermediate dir, if needed, when doing special-case fixes. - Use previously fixed file, if it exists, as source for all special - fixes. Do less copying when making special fixes. - Ignore errors when chmod'ing a file that might not exist. - * fixinc.svr4: Preserve whitespace around "#" when fixing #else and - #endif. - Allow TAB as well as SPC before symbols to change. - Combine "sun" cases as in fixincludes. + * arm/lib1funcs.asm (L_dvmd_tls): Renamed from L_divmodsi_tools. + * arm/t-semi (LIB1ASMFUNCS): Rename _dvmd_tls from _divmodsi_tools. -Sat Feb 29 11:10:55 1992 James Van Artsdalen (james at bigtex.cactus.org) +Mon Jun 26 19:18:06 1995 Jim Wilson - * i386.md (movstrsi): Print opcode as "movsl" so that seq386.h can - change it into smovl. + * unroll.c (find_splittable_regs): When completely unrolling loop, + check for non-invariant initial biv values. -Sat Feb 29 09:15:51 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Mon Jun 26 19:13:54 1995 Gran Uddeborg - * function.c (expand_function_end): Allocate rtl that points to - trampoline permanently. + * configure (i[345]86-*-isc*): Fix misspelled "rfile" to "ifile". - * reload1.c (gen_input_reload): If one operand of a PLUS is a MEM, - move it into a reg and add the other (makes code agree with comments). +Mon Jun 26 18:58:22 1995 Mike Stump - * explow.c (eliminate_constant_term): Rework so it does not directly - add integer values; call simplify_binary_operation instead. - Second arg is now pointer to rtx, not int. - Assume constant is always second operand of PLUS. - (memory_address): Pass rtx pointer to eliminate_constant_term. - * halfpic.c (half_pic_address_p): Likewise. - * mips.c (simple_memory_operand, mips_address_cost): Likewise. - (mips_debugger_offset): Likewise. - * expr.c (expand_expr, case PLUS_EXPR): Likewise. - Don't add INTVALs; use simplify_binary_operation instead. - Remove obsolete OLD_INDEXING code. - Put a MULT in the first operand of the PLUS. + * expr.c (expand_expr, case COND_EXPR): Protect the condition from + being evaluated more than once. + (do_jump, case TRUTH_ANDIF_EXPR, TRUTH_ORIF_EXPR): Likewise. - * combine.c (combinable_i3pat): Don't combine if I3DEST is a hard - reg in a non-valid mode. +Mon Jun 26 18:52:36 1995 Philippe De Muyter (phdm@info.ucl.ac.be) -Sat Feb 29 09:14:19 1992 Eric Youngdale (youngdale@v6550c.nrl.navy.mil) + * fixincludes (string.h): Fix return value for mem{ccpy,chr,cpy,set} + and str{len,spn,cspn} on sysV68. - * vms.h (ASM_OUTPUT_COMMON): Use SIZE instead of ROUNDED bytes. - (DO_GLOBAL_CTORS_BODY): Do not call fflush(stdout). +Mon Jun 26 06:54:50 1995 Michael Meissner (meissner@cygnus.com) - * gcc.texi: Update GLOBAL[DEF,REF,VALUE] documentation. + * i386/osfrose.h (LONG_DOUBLE_TYPE_SIZE): Go back to making long + double == double. - * make-l2.com: Remove call to test_gcc2. +Thu Jun 22 19:14:41 1995 Pat Rankin (rankin@eql.caltech.edu) -Sat Feb 29 02:52:59 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * make-cc1.com (if DO_LINK): Skip c-parse.* processing when + only relinking. + (gas_message): Update to reflect current version, and give + a different message if/when no version of gas is found.xo - * cccp.c (main): Rename envvars to CPLUS_INCLUDE_PATH and - OBJCPLUS_INCLUDE_PATH. +Thu Jun 22 18:52:37 1995 Richard Earnshaw (rearnsha@armltd.co.uk) - * m68k.h (TRANSFER_FROM_TRAMPOLINE): Use `move', not `mov'. + * arm/lib1funcs.asm (___modsi3): Correctly set SIGN register for + modulo involving negative numbers. -Fri Feb 28 19:39:09 1992 David J. MacKenzie (djm@wookumz.gnu.ai.mit.edu) +Thu Jun 22 18:32:27 1995 Uwe Seimet (seimet@chemie.uni-kl.de) - * fixincludes: Don't change symbols that already start with `_' - into `__symbol__'. Merge all of the sun* substitutions so they - don't fight each other. - Comment out junk after #elses and #endifs, to prevent warnings - when -pedantic is given. + * xm-atari.h (HZ): Now 100 and don't define if already defined. -Fri Feb 28 13:42:05 1992 Jim Wilson (wilson@cygnus.com) +Thu Jun 22 18:26:12 1995 Jeffrey A Law (law@snake.cs.utah.edu) - * sched.c (schedule_insns): Don't update value of reg_live_length - when it is negative, because negative values are special. Earlier - fix Dec 17 disabled the fprintf call, but not the assignment. + * calls.c (expand_call): Correctly handle returning BLKmode + structures in registers when the size of the structure is not + a multiple of word_size. + * stmt.c (expand_return): Likewise. - * unroll.c (copy_loop_body): After incrementing the base reg for a - split DEST_ADDR giv, must subtract the const_adjust from the base - reg to get its true current value. + * pa-gux7.h (LIB_SPEC): Undefine before redefining. + * pa-hpux.h (LIB_SPEC): Likewise. + * pa-hpux7.h (LIB_SPEC): Likewise. - * loop.c (maybe_eliminate_biv_1): When handling COMPARE, verify - that mult_val is positive, which makes the code match the comment, - and surrounding code. + * genmultilib: Work around hpux8 /bin/sh case bug. - * sparc.c (legitimize_pic_address): Always test reload_completed - in addition to reload_in_progress. + * pa.h (LIB_SPEC): Define to avoid -lg. - * sched.c (schedule_block): Don't reorder any USE insns at the end - of a function. Exclude them all from scheduling. +Thu Jun 22 18:19:09 1995 Jason Merrill - * c-typeck.c (build_array_ref): Check for when `ar' is an - error_mark_node and don't emit a second error message for that node. + * expr.c (expand_expr, TARGET_EXPR): Use original_target. - * Makefile.in: Correct misc typos in comments or spacing. - (mostlyclean): Update names of files to delete. + * collect2.c (locatelib): Fix parsing of LD_LIBRARY_PATH. - * Makefile.in (install-man): Also install cccp man page. - (uninstall): Also delete cccp man page. Don't delete protoize and - unprotoize man pages twice. +Thu Jun 22 18:15:54 1995 Paul Eggert - * Makefile.in (libgcc2.a): Delete unnecessary -fstrength-reduce -O - flags on gcc command lines, superseded by LIBGCC2_CFLAGS. + * configure: Create an empty Makefile.sed first, to work + around a Nextstep 3.3 bug. - * Makefile.in (config.status): Verify that file does not exist - before printing an error and failing. Prevents problem with Sun's - KEEP_STATE feature. +Thu Jun 22 18:03:44 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Fri Feb 28 05:15:58 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * Makefile.in (STAGESTUFF): Add stamp-crt. + (crtbegin.o, crtend.o): Now depend on stamp-crt. + (stamp-crt): New rule, to actually build crt{begin,end}.o. + + * collect2.c (main): Unlink export_file before we return. + +Thu Jun 22 14:25:56 1995 Michael Meissner (meissner@cygnus.com) - * stmt.c (expand_computed_goto): Call emit_queue. + * rs6000.h (STRIP_NAME_ENCODING): Store NAME and strlen(NAME) into + local variables; cast result of alloca to avoid compiler warnings. - * function.c (assign_parms): Don't generate convert whose operand - is register that is not valid in its mode. +Tue Jun 20 18:25:29 1995 Douglas Rupp (drupp@cs.washington.edu) - * reload.c (find_reloads_toplev): Don't do anything with paradoxical - SUBREGs if BYTE_LOADS_ZERO_EXTEND. + * alpha/config-nt.sed, i386/config-nt.sed: Edit to add + a missing $(exeext) for CCCP. -Thu Feb 27 09:59:09 1992 Jeffrey A Law (law at b115.super.org) +Tue Jun 20 18:18:00 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * toplev.c (main): Enable caller-saves for all machines at - optimization levels of -O2 or higher. - * mips.h (OPTIMIZATION_OPTIONS): toplev.c will turn on - caller-saves at -O2 now. Do not do it here. - * sparc.h (OPTIMIZATION_OPTIONS): Likewise + * protoize.c (default_include): Use name and two ints to be + compatible with definition of INCLUDE_DEFAULTS. -Thu Feb 27 06:47:31 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Mon Jun 19 19:24:29 1995 Ted Lemon - * cp-call.c: Move some extern declarations to file level. + * mips/netbsd.h (ASM_DECLARE_FUNCTION_NAME): Don't emit function label. - * emit-rtl.c (init_emit_once): Cast VOIDmode to int in array index. +Mon Jun 19 18:34:55 1995 Jason Merrill - * reorg.c (mark_target_live_regs): Don't make recursive call if - function being compiled has infinite loop. + * fixincludes: Don't define wchar_t under C++. - * cse.c (fold_rtx, case 'o'): New case to support folding LO_SUM. +Mon Jun 19 17:12:41 1995 Paul Eggert - * global-alloc.c (global_alloc): When calling reload, pass the - result of get_insns instead of basic_block_head[0]. + * cccp.c (collect_expansion): Work around enum bug in vax + ultrix 4.3 pcc. + * tree.c (simple_cst_equal): Likewise. - * c-typeck.c (process_init_constructor): Don't check array index - against limits if array bounds weren't specified. +Mon Jun 19 16:53:00 1995 Douglas Rupp (drupp@cs.washington.edu) - * gcc.c (link_command_spec): Put back -s. + * winnt/spawnv.c: New file. - * gcc.c (find_a_file): Add missing paren in init of file_suffix. +Mon Jun 19 16:30:29 1995 Glenn Brown - * i386sun.h (LIB_SPEC): Insert missing blank. + * caller-save.c (save_call_clobbered_regs): If AUTO_INC_DEC, mark + register indicated by REG_INC notes as live so they will be saved. - * sun386.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Add #undef. +Mon Jun 19 16:21:12 1995 Jeffrey A Law (law@snake.cs.utah.edu) - * sparc.h (LINK_SPEC): Correct comment. + * pa.h (PRINT_OPERAND_ADDRESS, case LOW_SUM): Fix logic bug + in last change. - * sun3.h, i386sun.h (LINK_SPEC): Don't force -Bstatic if -g. +Mon Jun 19 14:11:49 1995 Jim Wilson - * mips-news.h (ASM_SPEC): Add missing "}". + * integrate.c (integrate_decl_tree): Only set DECL_ABSTRACT_ORIGIN + if the decl returned by pushdecl is the one we started with. - * Makefile.in (install-native): Don't include install-proto. - (.y.c): Suppress default rule for using Yacc. + * mips.h (current_function_name): Delete declaration. + (ASM_DECLARE_FUNCTION_NAME): Don't set current_function_name. + * gnu.h (ASM_DECLARE_FUNCTION_NAME): Likewise. + * mips.c (current_function_decl): Delete declaration. + (function_prologue): New variable fnname. Use it instead of + current_function_name. + (function_epilogue): Likewise. - * combine.c (apply_distributive_law, case SUBREG): Check that word - numbers are the same. - Don't change a single-word operation into a multi-word operation. - Put all checks on SUBREGs in one place. - (gen_lowpart_for_combine): Use correct word number when making - explicit SUBREG. +Mon Jun 19 13:13:15 1995 Richard Kenner - * README.SCO: Obsolete file deleted. + * alpha.h (ASM_OUTPUT_ASCII): Always reset line count when + starting new line. -Wed Feb 26 21:23:02 1992 Jim Wilson (wilson@cygnus.com) + * scan-decls.c (scan_decls): Fix typo when resetting PREV_ID_START. - * sparc.md (DImode sethi): Correctly handle CONST_DOUBLE, was - wrong endian. - (DImode lo_sum): Don't output CONST_DOUBLES as 64 bit constants, - just output the low 32 bits. + * i386/config-nt.sed, alpha/config-nt.sed: Change version to 2.7.1. - * unroll.c (find_splittable_givs): For combined address givs, save - the increment amount in add_val. - (copy_loop_body): For combined address givs, increment by the - amount calculated by find_splittable_givs, not by the amount that - the giv it was combined with gets incremented by. +Mon Jun 19 13:06:14 1995 DJ Delorie (dj@delorie.com) - * expr.c (clear_pending_stack_adjust): Check flag_no_inline, not - optimize, to determine whether functions declared inline will be - inlined. + * msdos/top.sed: Support new build variables. + * msdos/configur.bat: Make options.h and specs.h. + Change realclean to maintainer-clean. - * dbxout.c: Delete all #ifndef DBX_DEBUGGING_INFO stubs. None of - them are needed. +Fri Jun 16 06:54:03 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * hp800.c, hp800.h: Fix typos in comments. + * Version 2.7.0 Released. -Wed Feb 26 02:39:52 1992 Michael Tiemann (tiemann at rtl.cygnus.com) + * obstack.c: Always enable this code for now. - * cp-call.c (build_method_call): If conversion of INSTANCE_PTR - yields error_mark_node, return error_mark_node immediately. + * alpha.c (alpha_builtin_saveregs): Use ptr_mode and conversions + when need so works for both OSF and NT. + * va-alpha.h (__va_tsize): Round to long long not long. -Tue Feb 25 23:40:01 1992 Mike Stump (mrs at cygnus.com) +Thu Jun 15 17:54:52 1995 Bdale Garbee - * tree.c (array_type_nelts): Fix documentation, really nelts-1 - * cp-tree.c cp-tree.h cp-init.c (expand_vec_init): Fixed - multi-dimensional array inits. + * configure (a29k-*-coff): Synonym for a29k-*-udi. -Mon Feb 24 00:03:23 1992 Michael Tiemann (tiemann at cygnus.com) +Thu Jun 15 17:51:21 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-tree.c (build_cplus_new): Set TREE_SIDE_EFFECTS bit on - NEW_EXPR. + * function.c (assign_parms): Do all conversions in CONVERSION_INSNS. - * cp-typeck.c (build_modify_expr): Handle WITH_CLEANUP_EXPRs - specially when they appear in expressions (not initializations). - Also handle COND_EXPRs on the right-hand-side specially (in case one - of the COND_EXPR's branches is a WITH_CLEANUP_EXPR). +Thu Jun 15 17:36:49 1995 Michael Meissner -Sun Feb 23 15:11:27 1992 Michael Tiemann (tiemann at cygnus.com) + * reg-stack.c (record_reg_life): Call record_reg_life_pat with 0 + for douse argument so that USE's created to mark variables within + blocks don't get marked as set. - * cp-decl2.c (finish_anon_union): Make RTL for ANON_UNION_DECL based - on MAIN_DECL. +Thu Jun 15 06:28:15 1995 Dennis Glatting (dennisg@CyberSAFE.COM) - * cp-decl.c (lookup_tag): Deal with the fact that `clear_anon_tags' - may have been run. + * configure: Change one sed command to work around m68k-next bug. - * cp-decl.c (cplus_expand_expr_stmt): Give line number for usage - whcih incurs warning message. +Wed Jun 14 22:14:39 1995 Jason Merrill -Sat Feb 22 02:09:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * collect2.c (main): Don't turn off auto_export because of -g. + (main): Ignore the argument to -o. - * Version 2.0 released. + * alpha.h (LINK_SPEC): Don't pass -init __main anymore. + * alpha/osf12.h (LINK_SPEC): Ditto. + * mips/iris5.h (LINK_SPEC): Ditto. - * gcc.c (do_spec_1): Handle SPACE_AFTER_L_OPTION. - * hp320.h (SPACE_AFTER_L_OPTION): Defined. - Note: for 2.1, try making a space there on all systems. + * collect2.c (main): Place o_file after an initial .o (like crt0.o). + If we have LD_INIT_SWITCH, use init and fini functions for + executables, too. Specify the unique function names. + (write_c_file_stat): Fix the case of destructors but no constructors. + Don't include the generic-named functions for executables. + (write_c_file): If we have LD_INIT_SWITCH, always use + write_c_file_stat. - * i386mach.h (perform_*): New macros, copied from i386rose.h. + * collect2.c (main): Also add _GLOBAL__D? to export list. - * Makefile.in (distclean): New target. - (realclean): Avoid duplication with self or with distclean. - (gcc.xtar.Z): Depend on gcc.xtar. - (gcc.xtar): Fixes in copying files. + * ginclude/iso646.h: Do nothing if compiled as C++. - * expr.c (do_store_flag): Don't correct CODE before where it is set. +Wed Jun 14 17:39:10 1995 Roland McGrath (roland@gnu.ai.mit.edu) - * cp-parse.y (stmt): Pass pushcase_range all the args it wants. + * c-common.c (format_char_info, case 'm'): Set type to void. + (check_format_info): If type is void, ignore operand. -Fri Feb 21 18:14:52 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Wed Jun 14 17:04:10 1995 Paul F. Kunz (Paul_Kunz@SLAC.Stanford.EDU) - * combine.c (distribute_notes): Correctly handle the case of a - REG_DEAD note for a multi-word hard register when not all of - the words are used. + * expr.c (expand_builtin_apply_args): Put back original + register save and restore order. -Fri Feb 21 16:47:32 1992 Michael Meissner (meissner@osf.org) +Wed Jun 14 16:56:22 1995 Michael Meissner - * mips.h (MIPS_VERSION): Change Meissner version # to 12. - (half_pic support): Move the halfpic support to halfpic.h which is - included in the decrose case, and nop the support in other MIPS - platforms. - (OPTIMIZATION_OPTIONS): Move setting caller-saves to -O2. - (OBJECT_FORMAT_COFF, EXTENDED_COFF): Define unless OSF/rose. - (INITIAL_FRAME_POINTER_OFFSET): Always recalculate the frame size, - don't rely on cached values. + * rs6000/eabi.h (INVOKE__main): Define, so __eabi is called after + main's arguments are saved. - * mips.c (half_pic support): Move the halfpic support to halfpic.c, - which is only compiled for OSF/rose. - (expand_block_move): Use copy_addr_to_reg instead of copy_to_reg in - case either the source or destination is an integer constant - converted to an appropriate pointer type. - (mips_debugger_offset): Use a local variable to hold function - result. + * rs6000.c (output_prolog): Don't call __eabi here, let + compiler call it after the arguments to main are saved. + (output_{prolog,epilog}): Don't use functions under V.4 to save + and restore floating point registers. - * decrose.h (toplevel): Include halfpic.h for halfpic support. - (PTRDIFF_TYPE): Change to 'int' to match current include files. - (WCHAR_TYPE): Change to 'unsigned int' to match include files. - (INIT_SECTION_ASM_OP): Delete, since the OSF/rose assembler doesn't - support a true initialization section. +Wed Jun 14 16:52:12 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * encrose.h (PTRDIFF_TYPE): Change to 'int' to match current include - files. - (WCHAR_TYPE): Change to 'unsigned int' to match include files. + * m68k/mot3300.h (PCC_BITFIELD_TYPE_MATTERS): Defined. - * t-decrose (EXTRA_OBJS): Define as halfpic.o to provide halfpic - support. - (CONFIG2_H): Treat halfpic.h as another config file. - (halfpic.o): Add dependencies. +Wed Jun 14 16:48:53 1995 Jerry Frain (jerry@tivoli.com) - * halfpic.h (new file): Common include file for systems needing the - OSF/rose half-pic shared library support. + * Makefile.in (stage[1-4]): Correctly link `as', `ld', and `collect2'. - * halfpic.c (new file): Common support file for systems needing the - OSF/rose half-pic shared library support. Currently these are stub - functions. +Wed Jun 14 05:52:04 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Fri Feb 21 01:34:08 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * objc-act.c (hack_method_prototype): Set DECL_CONTEXT of parms. - * dwarfout.c (location_or_const_value_attribute): Use DECL_RTL again. - Seems to be safer for the moment. - * function.c (instantiate_decls): Don't instantiate DECL_INCOMING_RTL. + * expmed.c (emit_store_flag): Always set LAST. + + * c-decl.c (start_function): New parameter for attributes. + * c-tree.h (start_function): Likewise. + * c-lang.c (finish_file): Pass extra parm to start_function. + * objc-act.c (build_module_descriptor, really_start_method): Likewise. + * c-parse.in (fndef, nested_function, notype_nested_function): + Likewise. - * dwarfout.c (output_mem_loc_descriptor): Handle CONST like SYMBOL_REF. + * function.c (assign_parms): Use convert_to_mode instead of + gen_lowpart when converting incoming parm. - * collect2.c (errno): Declare if not macro. +Tue Jun 13 19:10:32 1995 Richard Kenner - * dbxout.c [MIPS]: Include gstab.h, not stab.h. + * rs6000.md (decrement_and_branch): Finish last fix; update matching + constraint. - * dbxout.c (dbxout_symbol): No longer flush leading _ for C++ syms. +Tue Jun 13 18:32:51 1995 Torbjorn Granlund - * cp-parse.y (.hush_warning): Set $$. + * fold-const.c (fold): When converting a COND_EXPR to an ABS_EXPR, + get the types right for ABS_EXPR to work. - * gstdarg.h: Handle _HIDDEN_VA_LIST as in gvarargs.h. +Mon Jun 12 17:09:55 1995 Michael Tiemann (tiemann@axon.cygnus.com) -Thu Feb 20 07:41:29 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * reorg.c (fill_simple_delay_slots): Set MAYBE_NEVER according to + code of TRIAL_DELAY, not TRIAL. - * vax.c (reg_or_nxmem_operand): New function. - (split_quadword_operands): Add missing return type (void). - * vax.md (jlbc/jbc/jlbs/jbs): Handle QImode operands properly. +Mon Jun 12 15:02:37 1995 Doug Evans - * caller-save.c (set_reg_live): Use mode of SUBREG to see how many - hard regs are written. + * configure: Restore code to make ld symlink if ! use_collect2. - * combine.c (simplify_shift_const, case IOR, AND, XOR): Perform - logic computation in RESULT_MODE, not mode of VAROP. + * gcc.c (link_command_spec): Undo patch of May 11. + -nostdlib implies -nostartfiles again. + * dsp16xx.h (CROSS_LINK_SPEC): Likewise. + * i386/freebsd.h (LINK_SPEC): Undo patch of May 24. + Don't pass "-e start" if nostdlib. + * i386/sun.h (LINK_SPEC): Likewise. + * m68k/sun2o4.h (LINK_SPEC): Likewise. + * m68k/sun3.h (LINK_SPEC): Likewise. + * m68k/vxm68k.h (LINK_SPEC): Likewise. + * mips/netbsd.h (LINK_SPEC): Likewise. + * config/netbsd.h (LINK_SPEC): Likewise. + * rs6000/mach.h (LINK_SPEC): Likewise. + * sparc.h (LINK_SPEC): Likewise. + * sparc/vxsparc.h (LINK_SPEC): Likewise. -Wed Feb 19 18:32:05 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * gcc.c (link_command_spec): New argument -nodefaultlibs. - * hp320.h (PRINT_OPERAND): Support codes '$' and '&'. +Sun Jun 11 20:47:53 1995 Stephen L Moshier (moshier@world.std.com) - * reload1.c (reload): Add cast of enum in index. + * Makefile.in (fix-header.o): Depends on xsys-protos.h. - * vms.h (CPP_PREDEFINES): Define __GNUC__ as 2. +Sun Jun 11 15:07:58 1995 Tim Carver (timc@ibeam.intel.com) -Wed Feb 19 21:43:36 1992 Ron Guilmette (rfg at ncd.com) + * reload1.c (emit_reload_insns): Don't call HARD_REGNO_NREGS + on psuedo when clearing reg_last_reload_reg. - * dwarfout.c (output_mem_loc_descriptor): Deleted useless blank line. - (output_mem_loc_descriptor) Added code to handle CONSTs in DECL_RTL - expressions. - (dwarfout_finish): Added code to put a null string at the end of - the terminating .debug_macinfo section. +Sun Jun 11 14:07:05 1995 Philippe De Muyter (phdm@info.ucl.ac.be) -Tue Feb 18 18:34:13 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * m68k.md ({add,sub}di{_mem,3}): Patterns merged. - * cccp.c (main): Fix typo in comment or spacing. - * dbxout.c (dbxout_block): Likewise. - * expr.c (convert_move): Likewise. - * reload1.c (emit_reload_insn): Likewise. - * rtl.h (REG_NOTES): Likewise. - * sun4o3.h: Likewise. - * ultrix.h (CPP_PREDEFINES): Likewise. - * toplev.c (flag_no_common): Likewise. - * stmt.c (layout_type): Likewise. - * gcc.c (is_linker_dir, lookup_compiler): Likewise. +Sun Jun 11 13:43:26 1995 Torbjorn Granlund - * sched.c (schedule_block): Comment code handling USE insns as - obsolete. + * m68k.md (cmpdi matcher): Set cc_status before returning. -Tue Feb 18 14:44:49 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/xm-freebsd.h (DONT_DECLARE_SYS_SIGLIST): Define. - * c++: Run gcc in same dir as c++ was in, if exists there. - Use `exec' to run it. - New var `havefiles'; special message if no input files specified. - Pass through any unrecognized options. +Sun Jun 11 13:38:49 1995 Jason Merrill - * g++: Now a link to c++. + * fixincludes (math.h): Keep declaration of abs on HPUX. -Tue Feb 18 04:54:52 1992 david d [zoo] zuhn (zoo at lynx.spa.umn.edu) +Sun Jun 11 12:31:42 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * protoize.c (main): added support for -p flag, to specify which - gcc is the one to call for -fgen-aux-info support. + * stor-layout.c (variable_size): Do nothing if SIZE is constant. -Tue Feb 18 07:29:23 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * stmt.c (expand_asm_operands): See if output operand permits + register. If not, mark output addressable, call expand_operand + on it, and give error if not MEM. - * combine.c (try_combine): Don't clobber OTHER_INSN's PATTERN if - we aren't able to change the insn. + * function.c (assign_parms): Handle promotions of both + passed and nominal modes separately and insert needed conversions. + (promoted_input_arg): Return 0 if nominal and passed modes differ. - * romp.md (bit_insv): Add missing CLOBBER when making pattern to - match mftb; likewise for the DEFINE_INSN. + * stmt.c (all_cases_count, case INTEGER_TYPE): Fix typo in checking + for integer bounds. -Tue Feb 18 01:03:41 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Jun 10 08:55:25 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * rs6000.h (bss_section): Set `in_section' correctly. + * libgcc2.c (_floatdidf): Correctly set float sizes. - * expmed.c (synth_mult): Count second shift for alg_compound. - Count extra shift for lea case. - * m68k.h (RTX_COSTS): Reduce cost of multiply. + * c-decl.c (c_decode_option, case "-Wall"): Don't set extra_warnings. - * function.c (instantiate_decls): Instantiate DECL_INCOMING_RTL. + * Makefile.in (cpplib.o, fix-header.o): Update dependencies. + (cpperror.o, cppexp.o, cpphash.o): New rules, to show .h dependencies. -Mon Feb 17 19:17:50 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Fri Jun 9 18:06:10 1995 Doug Evans - * a29k.md (divmodsi4, udivmodsi4): Don't use reg 180 explicitly. - Instead use 'q' constraint letter. + * cse.c (cse_basic_block): Fix test for whether block ends with a + barrier. Return next insn, not 0, if block ends in a barrier. -Mon Feb 17 16:15:02 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Jun 9 17:58:29 1995 Paul Eggert - * global-alloc.c (global_alloc): Always call `reload'. + * fold-const.c (lshift_double): Replace `&' with `%' to fix typo. + ([lr]shift_double): Truncate shift count only if SHIFT_COUNT_TRUNCATED. + Remove unnecessary `count >= prec' test. -Mon Feb 17 10:38:38 1992 Jim Wilson (wilson at sphagnum.cygnus.com) + * cexp.y (left_shift): Ignore integer overflow. - * a29k.md (movdi define_split): Use DImode in operand_subword - calls, not DFmode. + * cexp.y (skip_evaluation): New variable. + (&&, ||, ?:): Increment it in unevaluated subexpressions. + (/, %, integer_overflow): Suppress diagnostics if skip_evaluation != 0. + (yyerror): Clear skip_evaluation. -Mon Feb 17 08:20:33 1992 Michael Tiemann (tiemann at mole.gnu.ai.mit.edu) +Fri Jun 9 17:49:05 1995 Torbjorn Granlund - * varasm.c (assemble_external): Check that DECL is some sort of - _DECL before referencing its DECL_RTL. + * m68k.md (tstdi): Rewrite. -Sun Feb 16 13:05:36 1992 Michael Tiemann (tiemann at cygnus.com) +Fri Jun 9 17:28:55 1995 Per Bothner - * cp-call.c (build_method_call): Add call to `assemble_external' in - case this is the first use of FUNCTION. - * cp-class.c (build_vfn_ref): Ditto for VTBL. - * cp-decl2.c (write_vtable_entries): Ditto for FN. - * cp-init.c (build_offset_ref): Ditto for T. - * cp-typeck.c (build_function_call_real): Ditto for FUNCTION. - * cp-method.c (hack_identifier): Ditto for VALUE. Also remove - action that made call to `assemble_external' when !TREE_USED (VALUE). + * scan-decls.c (scan_decls): Handle declarations with + multiple comma-separated declarators. - * cp-lex.c (do_identifier): Remove call to `assemble_external' when - implicitly declaring ID. +Thu Jun 8 19:16:12 1995 Richard Earnshaw (rearnsha@armltd.co.uk) - * cp-parse.y (primary): Simplify rules for calling assemble_external. + * arm.md (mov[sd]f expands): Don't allow fp constants in pseudos + when TARGET_SOFT_FLOAT. - * cp-decl.c (finish_function): For destructors, don't call - expand_expr_stmt if EXPRSTMT is VOID_ZERO_NODE. +Thu Jun 8 19:11:43 1995 Jim Wilson -Sun Dec 16 23:31:54 1992 Ron Guilmette (rfg at ncd.com) + * expmed.c (store_split_bit_field): When adjust arg in + BYTES_BIT_ENDIAN case, use number of bits in arg for MEM operands + and BITS_PER_WORD for other operands. + (extract_fixed_bit_field): Undo last change. - * dwarfout.c (fundamental_type_code): Deleted gunk for handling - OFFSET_TYPEs. (They are *not* fundamental types). - (fundamental_type_code): Fixed typo. - (location_attribute, const_value_attribute): Changed to take one - rtx parameter rather than one tree parameter. - (location_or_const_value_attribute): Changed to use DECL_INCOMING_RTL - rather than DECL_RTL for formal parameters. Also changed calls to - location_attribute and const_value_attribute to provide the rtl - parameter. - (fund_type_attribute): Changed to accept an actual fundamental type - code as a parameter directly. Also changed all calls correspondingly. - (type_attribute): Separated tests for ERROR_MARK and for VOID_TYPE - and added comments. - (output_unspecified_parameters_die): Changed to take one tree param - and to generate *both* an AT_name and an AT_type attribute when the - input parameter represents of function definition. Also adjusted - all calls correspondingly. + * unroll.c (verify_addresses): New function. + (find_splittable_givs): Use it instead of memory_address_p. -Sun Feb 16 00:54:10 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Jun 8 18:58:18 1995 Torbjorn Granlund - * fixincludes: Add #ifndef around size_t declaration in types.h. + * expmed.c (expand_divmod): Always check result of emit_store_flag. - * varasm.c (assemble_external): Do nothing if arg isn't a decl. +Thu Jun 8 12:02:34 1995 David D Zuhn (zoo@armadillo.com) - * Makefile.in (cp-parse.c): Update "expect" msg. + * cpplib.c (cpp_push_buffer): Include filename in error message. - * next.h (CPP_SPEC): Rename -bsd to -strict-bsd. +Thu Jun 8 11:53:45 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in (mostlyclean): Add ld, mips-tfile, mips-tdump. + * function.c (assign_parms): Don't call promote_mode on arg + unless PROMOTE_FUNCTION_ARGS defined. - * protoize.c (directory_specified_p): Don't match files in subdirs. + * rs6000.md (decrement_and_branch): Ensure label is operand 0. - * xm-rs6k-m.h: Renamed from xm-rs6000-mach.h. - * configure (rs6000-*-mach*): Changed accordingly. + * rs6000.md (aux_truncdfsf2): New pattern. + (movsf): Use it instead of invalid SUBREG and truncdfsf2. - * collect2.c (handler): No error msg here. Just resend signal. - (write_c_file): Arg to write_list... is pointer. - (do_wait): Fix typo. - (scan_prog_file for non-OSF): Preserve all underscores. + * varasm.c (assemble_name): Disable warn_id_clash around + get_identifier call. - * Makefile.in (install-collect2): Install gcc in libsubdir. +Wed Jun 7 17:22:25 1995 Philippe De Muyter (phdm@info.ucl.ac.be) -Sat Feb 15 15:26:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * configure (gdb_needs_out_file_path): New variable. + (m68k-motorola-sysv): Set gdb_needs_out_file_path if not using gas. + (.gdbinit): If gdb_needs_out_file_path is set, add a 'dir' command + for $(out_file). - * varasm.c (decode_reg_name): Empty string is not a reg number. +Wed Jun 7 17:17:19 1995 Torbjorn Granlund - * fold-const.c (merge_component_references): NE tests against - mismatched constants forces 1, not 0, as value. + * fold-const.c (fold): When folding `<' type nodes, make true_value + and false_value have correct types. - * i386gas.h (ASM_OUTPUT_OPCODE): Convert repz to repe. +Wed Jun 7 05:06:42 1995 Jason Merrill - * collect2.c: Get rid of PROTO macro; use non-prototype decls. - Don't include gstddef.h (had conflicts). Use gstdarg.h, not stdarg.h. - (xcalloc, xmalloc): Add casts. - (do_wait): Avoid macros WTERMSIG, WEXITSTATUS missing on some machines. + * collect2.c (COFF scan_prog_file): Use the AIX duplicate entry. - * cp-typeck.c (default_conversion): Don't use initial value if BLKmode. +Tue Jun 6 18:43:09 1995 Jeffrey A Law (law@snake.cs.utah.edu) - * objc-actions.c (finish_objc): Fix typos in last change. + * pa.h (FUNCTION_ARG_CALLEE_COPIES): Define. - * c-aux-info.c, dbxout.c, cccp.c (errno): Declare, if not a macro. +Tue Jun 6 18:21:18 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * i386.md (QI bit test recognizer): Split into separate patterns - for memory and register args. Make a scratch reg for memory. + * expr.c (expand_expr, case PLACEHOLDER_EXPR): Consider two types + identical if their TYPE_MAIN_VARIANTs are the same. -Fri Feb 14 23:39:58 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-decl.c (start_decl): Set DECL_COMMON before calling + decl_attributes. - * tree.c (get_identifier): Improve -Wid-clash message. + * a29k.c (print_operands): Cast args to bcopy to char *. -Fri Feb 14 16:22:48 1992 Michael Collison (collison at osf.org) + * c-decl.c (duplicate_decls): Don't clear DECL_CONTEXT of + new decl if it is a function. - * i386rose.h (CPP_SPEC): Define the macros LANGUAGE_OBJECTIVE_C and - LANGUAGE_C_PLUS_PLUS if we are compiling Objective C or C++. - (INIT_SECTION_ASM_OP): Define as .init. - (CC1PLUS_SPEC): Define it. - (LINK_LIBGCC_SPECIAL): Define this to work around linker bug. +Tue Jun 6 17:57:44 1995 Eberhard Mattes (mattes@azu.informatik.uni-stuttgart.de) -Fri Feb 14 00:38:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * gcc.c (do_spec_1, case 'g'): Handle %O as suffix if MKTEMP_EACH_FILE. - * Makefile.in (protoize.o, unprotoize.o): g++-include is under libdir. +Tue Jun 6 17:53:05 1995 Michael Meissner - * Makefile.in (enquire.o): Make the command one long line. + * rs6000.c (expand_block_move): Update source and destination pointers + inside the loop moving the bytes, not outside. - * gcc.c (do_spec_1): Omit relative prefixes from -L'ing - only if RELATIVE_PREFIX_NOT_LINKDIR is defined. - * rs6000.h (RELATIVE_PREFIX_NOT_LINKDIR): Defined. +Tue Jun 6 14:58:37 1995 Andreas Schwab - * varasm.c (assemble_external): Test TREE_EXTERNAL. + * m68k.h (CONDITIONAL_REGISTER_USAGE): Don't mark pic reg as fixed. + * m68k.c (finalize_pic): Emit USE insn at start and end of function. + +Tue Jun 6 13:46:57 1995 Jim Wilson + + * sh.c (print_operand): Check for annulled branches. + (output_movedouble): Handle SUBREG addresses. + (output_branch): Handle annulled branches. + (sh_expand_prologue): Correct number of saved registers for + varargs functions. + * sh.h: Add some comments. + * sh.md: Add some comments. Cleanup formatting. + (type attribute): Add pstore and call. + (return define_delay): Reorganize to make clearer. + (call/sfunc define_delay): Define. + (cbranch define_delay): Define to have annul-true delay slot. + (subsi3): Use arith_reg_operand for operand 2. + (shift patterns): Use const_int_operand instead of immediate_operand + for shift counts. + (push): Add pstore constraint case. + (movsi_i): Move t/z constraint pair to the front of the list. + (calli, call_valuei): Add "call" attribute. + +Mon Jun 5 19:23:13 1995 Jim Wilson - * jump.c (follow_jumps): If can't find chain end, return orig label + * sched.c (attach_deaths): In last change, use find_reg_note instead + of find_regno_note. - * mot3300.h (PRINT_OPERAND): Always print 16 hex digits for a double. +Mon Jun 5 19:17:31 1995 Tom Quiggle (quiggle@lovelace.engr.sgi.com) - * objc-actions.c (build_module_descriptor) [NEXT_OBJC_RUNTIME]: Ret 0. - (finish_objc): Value 0 from build_module_descriptor means no ctor. - When referencing a class_name symbol, don't output a .globl for it. - (finish_objc): Put artificial refs in text section. + * mips/iris5.h (MACHINE_TYPE): Say "IRIX 5.x", not "5.0". + (NO_DOLLAR_IN_LABEL): Undefine. + * mips.h (sdb_begin_function_line): New declaration. + (PUT_SDB_FUNCTION_END): New definition. - * cccp.c (pedwarn_with_file_and_line): Handle -w, -W. +Mon Jun 5 18:56:10 1995 Michael Meissner -Fri Feb 14 07:44:08 1992 James Van Artsdalen (james at bigtex.cactus.org) + * rs6000.c (expand_block_move): Don't do block moves where we clobber + fixed numbers of regs, instead move just 1-8 bytes at a time. - * i386.c (notice_update_cc): sCOND opcodes don't change the flags. - Don't record test or compares involving stack-like regs, since - final can't omits tests or compares involving such regs correctly. + * Makefile.in (STAGESTUFF): Copy files produced by -da and + -save-temps to the stage subdirectories. - * i386.c (seq,sne,beq,bne): These opcodes use the state of - cc_status from before the curren insn. +Mon Jun 5 08:18:46 1995 Torbjorn Granlund - * reg-stack.c (stack_reg_mentioned_p): Don't make static. + * combine.c (reg_dead_at_p): When scanning backwards, stop at BARRIER. -Fri Feb 14 06:27:48 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * m68k.c (print_operand): Handle 'R' for registers. + * m68k.md (cmpdi): Rewrite to avoid bogus matching constraints. - * jump.c (jump_optimize): Disable "if (...) {... x = C;} if (x) ..." - optimization; there doesn't seem to be a way to fix it. + * optabs.c (expand_binop): In last change, don't defererence TARGET + if it is 0. -Thu Feb 13 18:06:06 1992 James Van Artsdalen (james at bigtex.cactus.org) + * pa.md (movsicc): Use MATCH_DUP for operand 4 and 5. - * seq386.h (ASM_OUTPUT_OPCODE): New macro. Change "movs" into - "smov" at the start of a string move mnemonic - Sequent as(1) - doesn't handle the former. +Mon Jun 5 08:14:56 1995 Jeffrey A Law (law@cs.utah.edu) -Thu Feb 13 17:21:26 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * pa.c (hppa_encode_label): Allocate stuff on permanent_obstack + rather than via malloc. - * c-decl.c (finish_struct): Use pedwarn for pedantic warning. - (grokdeclarator): Likewise. - * c-parse.y (component_decl_list2): Likewise. + * c-common.c (decl_attributes): Fix typo in size passed to alloca. -Thu Feb 13 22:11:36 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Mon Jun 5 08:10:55 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * combine.c (make_extraction): Default modes to byte and register - size, as appopriate, when the bitfield insn doesn't exist. + * alpha.md: Use "some_operand" for patterns valid only during + reload and meant to handle adding more PLUS operators during + register elimination. - * a29kunix.h (LINK_SPEC): Pass default option file to gld. - (LINK_LIBGCC_SPECIAL): Define to work around gld bug. +Mon Jun 5 07:31:53 1995 Stephen L Moshier (moshier@world.std.com) - * explow.c (copy_to_suggested_reg): Try getting mode from TARGET. + * cse.c (simplify_unary_operation, case FLOAT, UNSIGNED_FLOAT): + Truncate to requested mode. - * rs6000.h (ASM_FILE_END): New macro. - (EXTRA_SECTIONS): New section read_only_private_data. - (EXTRA_SECTION_FUNCTIONS): New function read_only_private_data_section. - (SELECT_RTX_SECTION): Always make non-toc data private, read-only. - (SELECT_SECTION): Put read-only data in appropriate sections. +Sat Jun 3 22:08:51 1995 Jim Wilson - * jump.c (jump_optimize): Place branch in correct place when - optimizing "if (...) {... x = C;} if (x) ...". - (redirect_jump): Ensure jump's UID is within range of jump chain. + * sched.c (attach_deaths): Don't add a REG_DEAD note if a REG_UNUSED + note is already present. - * a29k.c (output_prologue): Correctly set LR1 when more than 64 - registers are needed. +Sat Jun 3 18:36:57 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Wed Feb 12 22:22:46 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + * pa.h (hppa_builtin_saveregs): Add declaration. - * make-cccp.com: Define link as a local symbol to avoid - possible conflict with a user defined global symbol. +Sat Jun 3 18:11:26 1995 Jason Merrill - * make-cc1.com: Likewise. + * Makefile.in (scan-decls.o): Depends on cpplib.h. -Thu Feb 13 11:05:07 1992 Michael Meissner (meissner at osf.org) +Fri Jun 2 19:23:47 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * mips.c (make_temp_file): Store created filename into a static - file-scope variable, not an auto. - (mips_asm_file_end): Use the appropriate filename in printing - errors. + * optabs.c (expand_binop): Don't use non-REG TARGET in 2-word case. -Thu Feb 13 01:15:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Jun 1 19:30:30 1995 Tor Egge (tegge@flipper.pvv.unit.no) - * cccp.c (skip_if_group): Skip comments after the #. + * m88k.h (RETURN_POPS_ARGS): New argument. + * m88k/dolphin.ld: Added start of comment. - * cccp.c (macarg): Don't assume stringify will compress spaces. - (macroexpand): In stringify, compress space only outside tokens. +Thu Jun 1 19:12:28 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cexp.y (exp1): Use pedwarn for comma in #if. + * configure (a29k-*-bsd*): Fix typo in last change. - * cp-decl.c (push_binding_level, pop_binding_level): - Change `inline' to `__inline'. +Thu Jun 1 18:51:53 1995 Jim Wilson - * combine.c (make_compound_operation): Undo previous change. + * expmed.c (extract_fixed_bit_field): For REG case, compute total_bits + from mode instead of assuming BITS_PER_WORD. -Wed Feb 12 18:47:47 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Thu Jun 1 18:34:31 1995 Michael Meissner - * function.c (instantiate_virtual_regs_1, case IF_THEN_ELSE): - Don't special case; allow all operands to be processed. The last - two operands are nontrivial on the Vax. + * rs6000.h (FIXED_R13): Default to 0. + ({FIXED,CALL_USED}_REGISTERS): Use FIXED_R13 for register 13. + * sysv4.h (FIXED_R13): Define to be 1. -Wed Feb 12 18:58:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed May 31 20:57:26 1995 Torbjorn Granlund - * gcc.c (do_spec_1): Only absolute prefixes turn into -L's. - (link_command_spec): Handle LINK_LIBGCC_SPECIAL. + * m68k.md ([su]mulsi3_highpart): Pass correct number of arguments to + const_uint32_operand. + * m68k.c (const_uint32_operand): Reject negative numbers. -Wed Feb 12 18:38:29 1992 Chris Smith (csmith at convex.com) + * expmed.c (expand_mult_highpart): Use wide_op1 for all multiplies. + (expand_divmod): Undo Nov 12 change. Instead, add special case + for division by MIN_INT in signed TRUNC_DIV_EXPR case. - * convex.h (DEFAULT_CALLER_SAVES): define again, bug is fixed. - * convex.h (BRANCH_COST): Define as 0, so we won't use complex - alternatives to branches (whose expansions contain branches - on convex). +Wed May 31 20:44:21 1995 Philippe De Muyter (phdm@info.ucl.ac.be) -Wed Feb 12 17:23:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * m68k.md (one_cmpldi2): New pattern. + ({a,l}shrdi{3,_const}): Allow 63 as shift count. - * config.sub: Accept just `hppa' for machine. +Wed May 31 14:56:31 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in (Install-collect2): New target. + * varasm.c (assemble_start_function, assemble_variable): + Make sure first_global_object_name is in permanent obstack. -Wed Feb 12 13:55:24 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * reload1.c (alter_reg): Clean up setting of RTX_UNCHANGING_P + when making a MEM. - * reorg.c (relax_delay_slots): Don't convert jump to return here. + * reorg.c (struct resources): New field unch_memory. + (CLEAR_RESOURCES, mark_target_live_regs, dbr_schedule): Clear it. + (mark_{referenced,set}_resources, redundant_insn): Set it. + (fill_simple_delay_slots): Likewise. + (resource_conflicts_p): Test it. - * configure (a29k-ultra-*): Deleted. - (a29k-*-bsd*): Merged with a29k-ultra-*. - (romp-*-mach*): Fixed typo in xmake_file name. - * xm-a29kunix.h: Renamed from xm-a29k-ult.h. - * x-a29kunix: New file. + * unroll.c (copy_loop_body): Fix typo in call to sets_cc0_p. - * reload.c (find_reloads): Don't use class from preference if it - is a single-register class. + * integrate.c (output_inline_function): Don't call expand_function_end. -Wed Feb 12 13:03:16 1992 Tom Wood (wood at dg-rtp.dg.com) + * calls.c (prepare_call_address): Only call use_reg on + static_chain_rtx if it is a REG. - * m88k.h (FUNCTION_BOUNDARY, ASM_OUTPUT_ALIGN): Pack code tightly - when compiling crtstuff.c (flag_inhibit_size_directive). + * configure (a29k-*-bsd*): Use t-a29k. + * t-a29k: New file. + * a29k/t-a29kbare (LIBGCC1_TEST): New null definition. + * a29k/t-vx29k (LIBGCC1_TEST): Likewise. -Wed Feb 12 10:34:09 1992 Michael Meissner (meissner at osf.org) +Wed May 31 14:17:42 1995 Jeffrey A Law (law@snake.cs.utah.edu) - * decrose.h (*_SPEC): Compress some whitespace in the specs. Also, - simpify which LANGUAGE_xxx names are defined, to be the ones uses by - the system(s). - * decstatn.h (*_SPEC): Likewise. - * iris.h (*_SPEC): Likewise. - * mips.h (*_SPEC): Likewise. - * mips-bsd.h (*_SPEC): Likewise. - * mips-news.h (*_SPEC): Likewise. - * mips-sysv.h (*_SPEC): Likewise. + * configure (hppa*-*-bsd*): Do not run fixincludes. + (hppa*-*-osf*): Likewise. + (hppa*-*-lites*): Likewise. -Wed Feb 12 10:34:09 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * pa.h (PRINT_OPERAND_ADDRESS): Use "RR'" rather than "R'" for + symbolic addresses. + * pa.md (symbolic HIGH patterns): Likewise. + (symbolic LO_SUM pattern): Likewise. - * caller-save.c (insert_save_restore): Properly check for insns that - reference CC0. +Wed May 31 14:11:53 1995 Michael Meissner -Wed Feb 12 03:17:00 1992 Chris Smith (csmith at convex.com) + * rs6000.md (all movstri recognizers): Eliminate updating the pointers. + * rs6000.c (expand_block_move): Don't pass argument of # bytes to + increment pointers by to movstrsi expanders. - * convex.h (DEFAULT_CALLER_SAVES): don't define, to sidestep a bug. - * convex.md (ffssi2): Comment out. + * rs6000.c (rs6000_override_options): Fix typo with -mstring handling. -Wed Feb 12 00:08:42 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + * rs6000.h (TARGET_SWITCHES): Set MASK_STRING_SET explicitly + if -mno-string, so that it can override the processor default. - * make-libgcc2.com: Do not save .s file. +Wed May 31 07:31:53 1995 Jason Merrill - * vms.h: Wrap #include in #ifdef L__main/endif + * c-common.c (truthvalue_conversion, BIT_AND_EXPR): Make sure that + the result has boolean_type_node. -Tue Feb 11 21:58:42 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) +Tue May 30 19:03:21 1995 J.T. Conklin - * libgcc2.c (DO_GLOBAL_DTORS_BODY): New macro. + * stddef.h: Undefine _BSD_XXX_T_ if _GCC_XXX_T is defined on BSD + Net/2 derived systems. - * make-l2.com: New file to build libgcc2 on VMS. +Tue May 30 08:17:37 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * vms.h (DO_GLOBAL_CTORS_BODY): Replacement definition. + * m68k.md (decrement_and_branch_until_zero): Operand 0 constraint + changed from "+g" to "+d*am". + (similar anonymous HImode pattern): Likewise. - * vms.h (DO_GLOBAL_DTORS_BODY): Likewise. + * m68k.md (tstdi): Use tst/subx #0 instead of neg/negx. + Allow "a" and ">" for operand 0. - * make-cccp.com: Define bison and rename as local symbols to avoid - possible conflict with user defined global symbols. +Mon May 29 19:24:43 1995 Niklas Hallqvist (niklas@appli.se) -Tue Feb 11 22:17:32 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * m68k.md (addsi_lshrsi_31): Use match_dup, not constraint "1", + for matching inputs. - * sched.c (attach_deaths): Don't treat PIC offset table register - specially; flow.c doesn't. +Mon May 29 12:39:58 1995 Allen Briggs - * combine.c (make_compound_operation, case AND): We can have - a (and (subreg (lshiftrt ..) ..) ..); handle same as without SUBREG. + * i386/isc.h ({STARTFILE,LIB,CPP}_SPEC): Handle -Xp like -posix. + * i386/x-isc3 (X_CFLAGS): Add -Xp. - * Makefile.in (HOST_CLIB, HOST_ALLOCA, HOST_MALLOC, HOST_OBSTACK): New - variables to override. - (USE_HOST_*, HOST_LIBDEPS): Use HOST_PREFIX and new variables. - (HOST_LIBS): Use HOST_CLIB. +Mon May 29 12:28:41 1995 J.T. Conklin (jtc@cygnus.com) -Tue Feb 11 21:32:07 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * configure (sparc-*-netbsd): Add missing asterisk at end. - * Makefile.in (install-common-headers): Copy byteorder.h to - compilation dir. +Mon May 29 08:55:48 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * config.sub: Allow unicos as operating system. + * combine.c (recog_for_combine): New parm PADDED_SCRATCHES; set it. + (try_combine): Accumulate number of scratches and update max_scratch. + (simplify_set): Add extra parm to recog_for_combine. - * m88kv4.h (INIT_SECTION_ASM_OP): Add #progbits. + * romp.md (call): Put USE for r0 in CALL_INSN; call call_internal + to emit insn. + (call_internal): New name for anonymous call. + (call_value, call_value_internal): Likewise. - * vax.h (DYNAMIC_CHAIN_ADDRESS): New macro. + * winnt/xm-winnt.h: Protect most definitions with #ifndef. + * alpha/xm-winnt.h: Include alpha/xm-alpha.h, then winnt/xm-winnt.h. + (POSIX): Undefine. + * xm-alpha.h: Don't include alloca.h for winnt. - * c++: Propagate quoted args properly. +Sun May 28 18:34:01 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Feb 11 16:35:01 1992 Jim Wilson (wilson at cygnus.com) + * configure: Make sed commands more uniform. - * fixincludes: Define TERM to `unknown', to ensure that it is - valid. Otherwise, ex may fail. - * fixinc.svr4: Likewise. + * Makefile.in: Properly use $(srcdir) for files that have it + in their reference as a target of a rule. + (libgcc1.a): Add missing RANLIB_TEST use. -Tue Feb 11 18:04:32 1992 Michael Meissner (meissner at osf.org) + * stmt.c (expand_computed_goto): Call do_pending_stack_adjust. - * decrose.h (CPP_SPEC): Define the macros LANGUAGE_OBJECTIVE_C and - LANGUAGE_C_PLUS_PLUS if we are compiling Objective C or C++. - Silicon Graphics in particular uses LANGUAGE_C_PLUS_PLUS. - * decstatn.h (CPP_SPEC): Likewise. - * iris.h (CPP_SPEC): Likewise. - * mips-bsd.h (CPP_SPEC): Likewise. - * mips-news.h (CPP_SPEC): Likewise. - * mips-sysv.h (CPP_SPEC): Likewise. +Sun May 28 18:08:41 1995 Torbjorn Granlund - * decstatn.h (CPP_PREDEFINES): Eliminate __ versions, since - gcc will do these automatically. Eliminate LANGUAGE_C, since it is - handled in CPP_SPEC. + * m68k.md (divmodhi4, udivmodhi4): Use "dmsK" for operand 2. -Tue Feb 11 15:38:27 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri May 26 17:01:22 1995 Paul Eggert - * flow.c (find_basic_blocks): Don't delete labels used in non-jumps. + * fixincludes: Fix bogus recursive in NEWS-OS 4.0C. - * vms.h (DO_GLOBAL_CTORS_BODY): Modify the return address - only the first time __main is called. +Fri May 26 08:02:14 1995 Michael Meissner (meissner@cygnus.com) - * fixinc.svr4: Change headers to test __STRICT_ANSI__ instead of - testing __STDC__ != 0. + * c-typeck.c (initializer_constant_valid_p): For the CONSTRUCTOR + case, if the type is a record, recurse, just like for unions. - * fixinc.svr4 (mman.h): Fix backward __STDC__ conditional. - Don't add declarations of munmap and mprotect. +Thu May 25 07:56:14 1995 Paul Eggert - * varasm.c (output_constant): Allow empty constructor for any type. + * fixincludes: Add `sel', `tahoe', `r3000', `r4000' to the + list of pre-ANSI symbols that need to be surrounded with __ __. + Allow white space between `#' and `if' when looking for lines to patch. - * dwarfout.c (ASM_OUTPUT_DWARF_DATA8): Just one definition; - test WORDS_BIG_ENDIAN "at run time". + * objc/sarray.h (PRECOMPUTE_SELECTORS, struct soffset): + Use #ifdef __sparc__, not sparc. -Tue Feb 11 09:00:01 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * m68k.md (addsi_lshrsi_31, ashldi_const, ashrdi_const, lshrdi_const): + Replace `mov' with `move'. - * reload.c (find_reloads): Don't substitute in MATCH_DUPs if we - are not generating replacements. +Thu May 25 07:35:37 1995 Allen Briggs -Tue Feb 11 08:45:14 1992 Tom Wood (wood at dg-rtp.dg.com) + * libgcc2.c (L_eh, i386): Remove in-line comments in assembly + code--the '#' character is not valid for the SYSV as. + +Thu May 25 07:28:54 1995 Pat Rankin (rankin@eql.caltech.edu) - * m88kv4.h ({CTORS,DTORS}_SECTION_ASM_OP): Fix typo. + * Makefile.in (BC_ALL): Restore it from May 22 change; vms uses it. + (STAGESTUFF): Use it. -Mon Feb 10 22:34:47 1992 Chris Smith (csmith at convex.com) +Thu May 25 07:11:56 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * convex.h(HARD_REGNO_NREGS): define correctly for 64-bit regs + * alpha.c (alpha_emit_set_const): Don't call expand_binop for + other than add if SImode and can't create pseudos. -Mon Feb 10 21:50:23 1992 Michael Meissner (meissner at osf.org) +Wed May 24 21:38:24 1995 Jim Wilson - * mips.h (MIPS_VERSION): Change Meissner version # to 11. - (CPP_SPEC): Define the macros LANGUAGE_OBJECTIVE_C and - LANGUAGE_C_PLUS_PLUS if we are compiling Objective C or C++. - Silicon Graphics in particular uses LANGUAGE_C_PLUS_PLUS. - (FP_DBX_FIRST): Change the test so that stabs in ECOFF uses the - value 38, in addition to stabs in GAS. + * sched.c (reemit_notes): New function. + (schedule_block): Call reemit_notes twice. Reorganize code for + handling SCHED_GROUP_P insns, so that reemit_notes works. - * mips.md (all function units): Make the function units simpler, and - not depend on the cpu type, to work around a memory hungry - genattrtab, which attempts to grow the data segment to than 32 - megabytes. + * sh/sh.c (shiftcosts, genshifty_op): Add SH3 support. + * sh/sh.md (ashlsi3, lshrsi3): Add SH3 support. + (ashlsi3_d, ashrsi3_d, lshrsi3_d): New patterns for SH3. + (ashrsi2_31): Remove r/!r constraint. -Mon Feb 10 16:34:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed May 24 17:00:47 1995 Jason Merrill - * convex.h (REAL_VALUE_TRUNCATE): Obsolete definition deleted. + * tree.c (type_list_equal): Call simple_cst_equal before checking + types. - * config.sub (convex-*): These are BSD, not sysv. +Wed May 24 16:49:49 1995 Douglas Rupp (drupp@cs.washington.edu) - * dbxout.c (have_used_extensions): New var. - (dbxout_type, dbxout_type_fields, dbxout_symbol): - Set have_used_extensions when use an extension. - (dbxout_symbol): Don't use `Tt' extension unless extensions - have been used. + * Makefile.in (libgcc2.a): Handle case of separate srcdir. -Mon Feb 10 12:28:59 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Wed May 24 16:22:01 1995 Paul Eggert - * xm-a29k-ult.h: Fix typo in placement of copyright notice. + * configure: Define $(MAKE) if `make' doesn't. -Mon Feb 10 05:36:45 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed May 24 15:50:51 1995 Doug Evans - * dbxout.c (dbxout_type): Don't use GDB extensions if they are empty. + * dsp16xx.h (CROSS_LINK_SPEC): ENDFILE_SPEC moved to -nostartfiles. + * i386/freebsd.h (LINK_SPEC): Don't pass "-e start" if nostartfiles + rather than nostdlib. + * i386/sun.h (LINK_SPEC): Likewise. + * m68k/sun2o4.h (LINK_SPEC): Likewise. + * m68k/sun3.h (LINK_SPEC): Likewise. + * m68k/vxm68k.h (LINK_SPEC): Likewise. + * mips/netbsd.h (LINK_SPEC): Likewise. + * config/netbsd.h (LINK_SPEC): Likewise. + * rs6000/mach.h (LINK_SPEC): Likewise. + * sparc.h (LINK_SPEC): Likewise. + * sparc/vxsparc.h (LINK_SPEC): Likewise. -Mon Feb 10 00:10:20 1992 Michael Tiemann (tiemann at cygnus.com) + * m88k/m88k.h (FUNCTION_ARG_BOUNDARY): Use GET_MODE_BITSIZE. - * cp-class.c (finish_struct): Use DECL_CHAIN, not TREE_CHAIN to walk - through the list of methods identified by a visibility declaration. +Wed May 24 15:44:04 1995 Jason Merrill - * cp-cvt.c (convert_pointer_to): No longer need to abort if BINFO is - not a TREE_VEC or AGGR_TYPE node. + * fold-const.c (fold): Make sure that a folded TRUTH_NOT_EXPR + retains the same type. - * cp-parse.y (stmt): Improve error handling for try/except. + * c-common.c (truthvalue_conversion): Also accept TRUTH_NOT_EXPR. - * cp-class.c (add_method): If we create RTL for a copy of METHOD, - copy the RTL to METHOD's DECL_RTL slot. +Wed May 24 15:41:51 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-method.c (dump_type): Print `const' and/or `volatile' for - VOID_TYPE and REAL_TYPEs, too. + * cplus-dem.c (strstr, strncmp, strlen): Remove declarations. -Sun Feb 9 21:07:45 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * tree.c (type_list_equal, simple_cst_list_equal, index_type_equal): + Check for simple_cst_equal return value of -1. - * varasm.c (assemble_integer): Pass third arg in recursive calls. - Act appropriately if word-by-word loop doesn't finish. +Wed May 24 10:05:24 1995 Michael Meissner - * Makefile.in (bootstrap*): Don't override value of ALLOCA. + * libgcc1-test.c (start, _start): Provide declarations, so that + the GNU linker doesn't give a warning message about defaulting the + start address. - * dbxout.c (dbxout_symbol, dbxout_parms): Do leaf function remap - only if LEAF_REG_REMAP and only in leaf functions. + * rs6000/sysv4.h (STRIP_NAME_ENCODING): Redefine back to the + original defination, rather than the defination used in rs6000.h. + (ASM_OUTPUT_SOURCE_LINE): Use STRIP_NAME_ENCODING. + * rs6000.h (STRIP_NAME_ENCODING): Skip leading '*'. -Sun Feb 9 16:46:27 1992 Michael Tiemann (tiemann at cygnus.com) + * rs6000.h (MASK_STRING_SET, TARGET_STRING_SET): Add target + flags bit for whether -mstring was actually used. + (TARGET_SWITCHES): Add MASK_STRING to all power targets. Set + MASK_STRING_SET for -mstring and -mno-string. + (TARGET_DEFAULT): Add MASK_STRING. - * cp-init.c (maybe_adjust_addr_for_delete): Build final COND_EXPR - with TREE_TYPE (addr). + * rs6000.c (rs6000_override_options): Add MASK_STRING to + all power targets. Make an explicit -mstring/-mno-string override + the -mcpu=processor default. -Sun Feb 9 14:20:49 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * rs6000/eabile.h (CPP_SPEC): Copy from sysvle.h to provide the + appropriate little endian defaults. - * rs6000.h (rs6000_{bss,private_data,read_only}_section_name): - Add declarations. - (rs6000_text_section_asm_op): Deleted. - (ASM_FILE_START): Initialize section names and enter bss section once. - (EXTRA_SECTIONS): Add `private_data' and `bss'; - delete `global_variable'.. - (read_only_data_section): Don't form name here. - (global_variable_section): Deleted. - (private_data_section, bss_section): New functions. - (ASM_DECLARE_FUNCTION_NAME): Don't write function name with [PR]. - (ASM_OUTPUT_POLL_PROLOGUE): No longer needed. - (SELECT_{RTX_,}SECTION): Just calls data_section or - private_data_section. - (ASM_OUTPUT_LOCAL): Put in bss section. - (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Now a constant. - * rs6000.c (rs6000_text_section_asm_op): Deleted. - (rs6000_{bss,private_data,read_only}_section_name): Add definitions. - (rs6000_gen_section_name): New function. + * rs6000/sysv4.h (ASM_OUTPUT_SOURCE_LINE): Use assemble_name to + output the canonical name. -Sun Feb 9 08:29:21 1992 James Van Artsdalen (james at bigtex.cactus.org) +Wed May 24 01:21:15 1995 Jason Merrill - * i386.h (REGNO_REG_CLASS): Use a lookup table: AIX can't handle - complex tertiary expressions. - (GO_IF_LEGITIMATE_ADDRESS): Simplify slightly for the AIX - compiler. + * rs6000.h (STRIP_NAME_ENCODING): Define. + (RS6000_OUTPUT_BASENAME): Use it. - * i386.c (regclass_map): New variable. Lookup array for - REGNO_REG_CLASS. +Tue May 23 19:54:21 1995 Doug Evans -Sat Feb 8 01:20:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * gcc.c (link_command_spec): Move ENDFILE_SPEC from -nostdlib + to -nostartfiles. - * cp-parse.y (yyprint): Test __GNUC__, not __GNU__. - Use __inline, like everywhere else. +Tue May 23 17:01:50 1995 Jim Wilson - * a29k.h, romp.h (OVERRIDE_OPTIONS): Deleted. - (OPTIMIZATION_OPTIONS): Defined, instead. - * rs6000.h (OPTIMIZATION_OPTIONS): New macro. - (OVERRIDE_OPTIONS): Don't change optimization. + * alpha.md (negsi2-2): Change output pattern to #. - * final.c (leaf_renumber_regs_insn): No longer static. - * dbxout.c (dbxout_symbol, dbxout_parms): Call that. + * mips.c (embedded_pic_offset): Output RTL to initialize + embedded_pic_fnaddr_rtx. + (mips_finalize_pic): Delete. + * mips.h (mips_finalize_pic): Delete declaration. + (FINALIZE_PIC): Delete. + (INIT_EXPANDERS): Clear embedded_pic_fnaddr_rtx. + * mips.md (get_fnaddr): Add = to output contraint. - * c-decl.c (lookup_name): Do nothing special if type is error mark. - (grokdeclarator): Ignore putative type name whose type is error mark. - * c-parse.y (primary): If var type is error mark, return error mark. + * sh.c (shift_amounts): Correct entry for shifts by 29. + * sh.md (sett): New pattern. + (movsi_i): Change source constraint for move to T reg to be 'z'. - * c-typeck.c (build_array_ref): Return early if arg is error mark. + * mips/ecoff.h (STARTFILE_SPEC): Define to null string. + * mips/elfl.h, mips/elfl64.h: Correct typo in comment. - * Makefile.in (test-protoize): Rule deleted. + * mips/elflorion.h, mips/elforion.h (MIPS_CPU_DEFAULT): Delete. + * mips.c (override_options): Delete #ifdef MIPS_CPU_DEFAULT code. + Add #ifdef MIPS_CPU_DEFAULT_STRING code before the first + mips_cpu_string test. - * stmt.c (emit_case_nodes): Handle just-left-subtree case - like just-right-subtree--delete mysterious code that tests cost_table. +Tue May 23 07:22:36 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * varasm.c (decode_reg_name): Accept decimal number as reg name. + * romp.c (hash_rtx): Avoid warning on int-to-pointer conversion. + (output_fpops): Cast args to bcopy to char *. - * c-decl.c (finish_decl): If pop_obstacks goes to perm obstack, - call permanent_allocation. + * cpplib.c (initialize_builtins): Add missing parm to timestamp call. - * gcc.c (link_command_spec): Use -lgcc, not libgcc.a. + * Makefile.in (install-libobjc): Don't depend on libobjc.a. -Fri Feb 7 16:56:17 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * c-parse.in: Objc shift/reduce conflicts now 48. + (parm): Use setspecs/restore here. + (parmlist_or_identifiers): Not here. - * rs6000.h (DOLLARS_IN_IDENTIFIERS): Define to zero, because the - assembler does not accept dollar signs. +Mon May 22 19:30:30 1995 Doug Evans -Fri Feb 7 15:36:40 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * h8300.md (movsf_h8300h): Add missing post-inc case to constraints. - * Makefile.in (mostlyclean): Fix name of tmp-proto.1. +Mon May 22 14:38:36 1995 Michael Meissner - * configure: Delete excess space in assignment to srcdir. + * rs6000.c (rs6000_override_options): Do SUBTARGET_OVERRIDE_OPTIONS + here. + * rs6000.h (OVERRIDE_OPTIONS): Not here. - * cp-decl2.c (DOLLARS_IN_IDENTIFIERS): Default now 1, as in C. + * rs6000.c (expand_block_move): Handle moves without string + instructions by generating a series of loads and stores. + (output_prolog): Support -mno-toc on V.4 and eabi systems. - * i386gas.h (ASM_OUTPUT_LOOP_ALIGN): New macro. - (ASM_OUTPUT_ALIGN_CODE): Use 16-byte boundary on 486. + * rs6000/sysv4.h (TARGET_SWITCHES): Add -mtoc and -mno-toc. + (SUBTARGET_OVERRIDE_OPTIONS): Add some warnings for incompatible + switches. + (TOC_SECTION_FUNCTION): Make -mno-toc like -mrelocatable in that + we don't put the minimal toc pointer in the global toc section. + (LINK_SPEC): Use -oformat to set link output format, not -m. - * m68k.h (TRANSFER_FROM_TRAMPOLINE): Use operands for the memrefs - to avoid dependence on assembler syntax. + * rs6000/t-eabigas (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Build + libgcc.a variants with -mno-toc support. + * rs6000/t-ppcgas (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Ditto. -Fri Feb 7 10:26:32 1992 Michael Meissner (meissner at osf.org) +Mon May 22 07:10:52 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in (EXTRA_OBJS): New variable for extra object files - needed when linking cc1, cc1plus, and cc1objc. + * cplus-dem.c (mystrstr): Replacement for strstr. -Fri Feb 7 07:34:03 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * configure: Split up long sed command. + * Makefile.in (SYMLINK): Deleted; unused. + (oldobjext): Deleted; no longer used. + (FLAGS_TO_PASS): Include objext and exeext. + (STAGESTUFF, protoize.o, unprotoize.o): Use $(objext), not .o. + (test_protoize_simple, compare{,3}, gnucompare{,3}): Likewise. + (STAGESTUFF, specs, gcc-cross, collect2): Add missing $(exeext). + (libgcc1.null, libgcc[12].a, stage[1-4]): Likewise. + (xgcc, cc1, cc1obj, enquire): Use $@ instead of filename for -o value. + (collect2, mips-tfile, mips-tdump, gen*): Likewise. + (bi-arity, bi-opcode, bi-opname, cccp, cppmain): Likewise. + (protoize, unprotoize, gen-protos, fix-header): Likewise. + (crtbegin.o, crtend.o): Don't use -o; move output to proper + filename (using objext) instead. + (BI_ALL, BC_ALL, bytecode): Deleted; unused. + (bi-*.o, cexp.o, stamp-{proto,fixinc}): Remove unneeded $(srcdir). + (getopt{,1}.o, SYSCALLS.c.X): Likewise. + (install-driver): New target. + (install-normal): Depend on it. + (install-common): Don't depend on xgcc. + (maketest): Deleted; no longer used. + (stage[1-4]): Use name collect-ld, not real-ld. + (risky-stage[1-4]): Use stage[1-4] as dependencies; don't copy. + * alpha/config-nt.bat, i386/config-nt.bat: Make {,h,t}config.h + and tm.h by writing a single #include line. + Update way specs.h and options.h are written. + * alpha/config-nt.sed, i386/config-nt.sed: Set new variables + into Makefile. + Build winnt.obj. + Edit CCCP definition. + * alpha/x-winnt, i386/x-winnt (oldobjext): Deleted. + Add rules for .c.obj, .adb.obj, and .ads.obj. + (LIB2FUNCS_EXTRA, spawnv.o): New rules. + * i386/x-winnt (objext): Now .obj, not .o. - * reload1.c (set_label_offsets, reload_as_needed): Recompute - num_not_at_initial_offset when we pick up offsets from offsets_at. + * gcc.c (HAVE_OBJECT_SUFFIX): New macro. + (process_command): Convert x.o to x.foo for OBJECT_SUFFIX of ".foo". + (do_spec_1): Avoid shadow variable "i" and always use for loop var. - * unroll.c (unroll_loop): Copy initial and final values to avoid - sharing. - - * cse.c (simplify_relational_operation): Complete last change by - correctly handling <= and >=. + * c-decl.c (finish_decl_top_level): Removed; no longer used. + * objc-act.c: Numerous formatting changes. + (NULLT): Deleted; all uses changed to NULL_TREE. + (get_{static,object}_reference, objc_add_static_instance): + Use push_obstacks instead of saving obstacks manually. + (build_{selector,class}_reference_decl): Likewise. + (build_objc_string_decl, build_protocol_reference): Likewise. + (comp_{method,proto}_with_proto): Likewise. + (create_builtin_decl, synth_module_prologue): Set DECL_ARTIFICIAL + for internal objects. + (build_{selector,class}_reference_decl, add_objc_decls): Likewise. + (generate_objc_symtab_decl, build_module_descriptor): Likewise. + (build_protocol_reference): Likewise. + (build_objc_string_decl, synch_forward_declarations): Likewise. + Delete call to end_temporary_allocation. + (generate_static_references, generate_strings): Likewise. + (build_selector_translation_table, generate_category): Likewise. + (generate_{ivars,protocol}_list, build_protocol_reference): Likewise. + (build_objc_string_object): If next_runtime, put everything in + permanent obstack. + (objc_add_static_instance): Use build_decl instead of start_decl + and finish_decl_top_level. + (build_{class_reference,objc_string}_decl): Clear DECL_CONTEXT. + (start_class): Exit with FATAL_EXIT_CODE, not 1. + (add_objc_decls): Don't set DECL_IN_SYSTEM_HEADER. -Thu Feb 6 23:57:02 1992 Michael Tiemann (tiemann at cygnus.com) + * tree.c (valid_machine_attribute): Handle attribute on + pointer-to-function types. - * cp-decl.c (grokdeclarator): Invert sense of warning about - initialized extern vars, since in C++, const has funny semantics. +Sun May 21 17:16:37 1995 J. T. Conklin -Thu Feb 6 15:12:02 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * cse.c (simplify_relational_operation): Test properly for floating - equality; don't deduce this from < and >. - - * xm-mips.h (alloca): Don't define or declare if MIPS_OVERRIDE_ALLOCA. - * xm-irix4.h (MIPS_OVERRIDE_ALLOCA): Defined. - - * m68k.h (TRANSFER_FROM_TRAMPOLINE): Use explicit reg var - to avoid dependence on register name syntax. - - * mot3300.h (PUT_SDB_START_DIM, PUT_SDB_NEXT_DIM, PUT_SDB_LAST_DIM): - New macros. - (PUT_SDB_DIM): Deleted. - (PRINT_OPERAND): Handle %$ and %&. - (ASM_OUTPUT_OPCODE): Handle f%$move and f%&move. - - * gstdarg.h: If not __GNUC__, use system's stdarg.h. - -Thu Feb 6 22:36:36 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) - - * vms.h (DEFAULT_GDB_EXTENSIONS): Define as 0. - -Thu Feb 6 13:32:37 1992 Michael Meissner (meissner at osf.org) - - * mips.h (MIPS_VERSION): Set Meissner version # to 10. - (flag_half_pic, mips_branch_likely): New global variables. - (call_memory_operand): New function declaration. - (half_pic_encode_section_info): Likewise. - (mips_constant_address_p): Likewise. - (mips_debugger_offset): Likewise. - (CC1_SPEC): Make OSF/1 -pic-xxx switches to -mhalf-pic, which is - currently undergoing development. - (DEBUGGER_AUTO_OFFSET): Emit correct information if frame pointer is - omitted. - (DEBUGGER_ARG_OFFSET): Likewise. - (TARGET_SWITCHES): Add -mabicalls and -mhalf-pic switches. - (PIC_OFFSET_TABLE_REGNUM): Define as the GP register ($28). - (EXTRA_CONSTRAINT): Add 'S' constraint for half-pic references. - (CONSTANT_ADDRESS_P): Call mips_constant_address_p. - (ENCODE_SECTION_INFO): Reorder test to test optimize first, and to - call half_pic_encode_section_info if half pic. - (PREDICATE_CODES): Add call_memory_operand. - - * mips.c (flag_half_pic): New global variable to indicate to produce - half-pic output for OSF/rose. - (mips_branch_likely): New global variable to indicate the branch - should use the branch likely form of the instruction. - (mips_sw_reg_names): Use $fp instead of fp, since regdef.h no longer - defines fp. - (call_memory_operand): New function to return TRUE if the argument - is a valid MEM for a call instruction. - (mips_move_1word): Emit comment in la of half-pic addresses as a - temporary flag to put the right code down. - (mips_constant_address): New function to determine if something is a - constant address or not. Add stub code for -mhalf-pic. - (override_options): Set flag_half_pic if -mhalf-pic. - (override_options): Mark %? as valid for print_operand. - (mips_debugger_offset): New function to correct the offset for - variables and arguments if the frame pointer has been omitted. - (print_operand): %? now emits a 'l' if mips_branch_likeley is set. - (mips_asm_file_start, function_prologue): If -mabicalls, emit the - pseudo ops that the Pyramid System V.4 port seems to want. - (compute_frame_size): Reserve space for saving GP if -mabicalls. - (half_pic_encode_section_info): Stub function for encoding whether - or not to generate a half pic reference. - - * mips.md (type attribute): Add pic attribute. - (cpu attribute): New attribute to get the CPU type. - (branch_likely attribute): New attribute to say whether or not we - can use branch likely instructions. - (define_delay): Note that we can annull false branches if -mips2. - (memory function unit): Add pic in addition to load. - (various function units): Use the cpu attribute. - (branch patterns): Support branch likely instructions if -mips2. - (call, call_internal): Use call_memory_operand instead of - memory_operand. If -mhalf-pic put function address in a register. - (call_value, call_value_internal): Likewise. + * mips/netbsd.h (HAVE_STRERROR): Remove. + * mips/xm-netbsd.h: New file. + * mips/t-mips-netbsd: Deleted. + * configure (mips-dec-netbsd): Use xm-netbsd.h and t-libc-ok. - * decrose.h (INIT_SECTION_ASM_OP): Define as .init. +Sun May 21 17:16:37 1995 Arne H. Juul (arnej@pvv.unit.no) -Thu Feb 6 10:07:17 1992 Tom Wood (wood at dg-rtp.dg.com) + * mips/netbsd.h: Use __start as entry point. Ifdef some + paths on CROSS_COMPILE. - * m88k.c (preserve_registers): Change to walk the epilogue delay - insns in the forward rather than reverse order (for reorg.c change). +Sun May 21 08:39:26 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Feb 6 02:54:28 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-parse.in (datadef, fndef, ivar_decl, mydecls): + Restore declspec_stack since setspecs is used. + (parmlist_or_identifiers): Use setspecs before parsing parms + and restore after parsing parms. - * cse.c (simplify_binary_operation, case PLUS): Don't make - a (const (plus X Y)) with X a CONST_INT. +Sun May 21 01:04:52 1995 Jeffrey A. Law - * fixincludes: Simplify egrep command. + * pa.c (hppa_encode_label): New variable "permanent" to + where/how memory is allocated for the new label. All + callers changed. -Thu Feb 6 01:11:28 1992 Mark Eichin (eichin at cygnus.com) +Sat May 20 16:53:30 1995 Mike Meissner - * cp-lex.c (process_next_inline): if we get a "parse error at end of - saved function text", set yychar to something that - restore_pending_input will digest (if it thinks input is still - pending, it will abort, but we've already reported the problem to - the user.) + * rs6000.md (insv, extz): Fail if the structure is QI or HI reg to + avoid paradoxical subreg's being created in RTL phase, which uses + SImode to load from memory if structure is later moved to stack. -Wed Feb 5 18:42:56 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Sat May 20 06:44:59 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * reorg.c (fill_simple_delay_slots): When filling delay slots by - searching backward, put each new insn we find at the head of the - delay list instead of at the tail. + * m68k.md (udivmodhi4): Output "divu" instead of "divs". - * cse.c (fold_rtx): When associating operations, avoid infinite - recursion if the new expression contains our operand. +Sat May 20 06:11:32 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Wed Feb 5 21:18:06 1992 Mark Eichin (eichin at cygnus.com) + * reload.c (push_reload): Don't reload inside a SUBREG + when SUBREG_WORD is nonzero. - * cp-decl.c (globalize_nested_type): If the type isn't found at all, - this is an anonymous forward reference, so permit it. - Abort if type is already globally defined. + * c-decl.c (shadow_tag_warned): Don't warn about useless keyword + if in system header file. -Wed Feb 5 18:01:12 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * tree.c (simple_cst_equal): Don't look at language-specific + nodes since we don't know what's in them. - * varasm.c, hp800.h, i386.h, m88k.h, mips.h, romp.h, vms.h: - (ENCODE_SECTION_INFO): Renamed from ENCODE_SEGMENT_INFO. + * cpperror.c: #include config.h before any other .h file. + * collect2.c: Likewise. - * sparc.md (nonlocal_goto): Copy static chain into - virtual_stack_vars_rtx, not frame pointer itself. - (nonlocal goto return recognizer): Jump to %o0+0. + * i386/config-nt.bat: Add missing ^M on two lines. + Add case for Fortran; fix typo in Ada case. + * alpha/config-nt.bat: Add case for Fortran; fix typo in Ada case. - * toplev.c (main): Fix test for -Wid-clash. + * m68k/t-next (LIBGCC1, CROSS_LIBGCC1): Make not, not "libgcc1.null". + (OTHER_FIXINCLUDES_DIRS, LIMITS_H_TEST): Delete from here. + * m68k/x-next (OTHER_FIXINCLUDES_DIR, LIMITS_H_TEST): Move to here. -Wed Feb 5 16:58:15 1992 Ron Guilmette (rfg at ncd.com) +Fri May 19 19:30:20 1995 Stan Cox (gcc@dg-rtp.dg.com) - * dwarfout.c (dwarfout_init): Add two words containing the starting - and ending address of the .text section for this compilation unit to - the special initial entry in the .debug_srcinfo section. + * crtstuff.c: Added reference to INIT_SECTION_PREAMBLE for systems that + do something which must be undone prior to __do_global_ctors. -Tue Feb 4 14:51:16 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri May 19 19:27:08 1995 Alan Modra - * dbxout.c (dbxout_symbol): Handle DBX_OUTPUT_CONSTANT_SYMBOL. - (dbxout_block): Handle DBX_OUTPUT_CATCH. + * i386/linux-aout.h (CPP_SPEC): Add defines for -fPIC. + * i386/linux-oldld.h (CPP_SPEC): Likewise. - * cccp.c (lookup_import, add_import, do_include): - Use bcmp and bcopy to access st_ino and ->inode fields. +Fri May 19 17:46:28 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * dbxout.c (dbxout_init): Pass syms to DBX_OUTPUT_STANDARD_TYPES. + * collect2.c (strstr): Deleted. + * cplus-dem.c (strstr): Define ifndef POSIX. - * fold-const.c (operand_equal_p): Check that modes match. - (comparison_equiv_p): New function. - (fold): Use that when converting ?: to min_expr or max_expr. +Fri May 19 11:16:51 1995 Per Bothner - * c-common.c (c_expand_expr_stmt): Test for ERROR_MARK as type. + * cpplib.c (collect_expansion): Don't escape '@' inside string. -Tue Feb 4 12:03:26 1992 Michael Tiemann (tiemann at cygnus.com) +Fri May 19 06:59:21 1995 Pat Rankin (rankin@eql.caltech.edu) - * stmt.c (expand_end_case): Don't crash if function called - is not an ADDR_EXPR. + * vmsconfig.com (process_objc_lib, configure_makefile): New routines. + (bc_all.list, ./vax.md, objc-objs.opt, objc-hdrs.list): New files + created at config time. + (bc_all.opt, ./md.): No longer created. + * make-cc1.com: Handle revised filenames from vmsconfig.com; + (DO_OBJCLIB): New variable, plus code to compile objc/*.{c,m}. -Tue Feb 4 14:17:22 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Wed May 17 16:15:31 1995 Torbjorn Granlund - * expr.h ({float[sd]i[sd]f,fix[sd]f[sd]i,fixuns[sd]f[sd]i}_libfunc): - New declarations. - * optabs.c: Define them. - (expand_float, expand_fix): Use them instead of making a new - SYMBOL_REF each call. - (init_optabs): Initialize them. + * i960.c (i960_output_ldconst): New code for XFmode. + Also, move SFmode code to immediately after DFmode code. + (S_MODES, D_MODES): Handle XFmode. + (XF_MODES): Was TF_MODES, handle XFmode instead of TFmode. + (hard_regno_mode_ok): Replace TFmode with XFmode. + (i960_output_long_double): New function. -Tue Feb 4 00:27:35 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * i960.h (DATA_ALIGNMENT): Define. + (ROUND_TYPE_ALIGN): Align XFmode scalars at 128 bit boundaries. + (ROUND_TYPE_SIZE): Round up the size of XFmode objects to 128 bits. + (CONST_DOUBLE_OK_FOR_LETTER_P): Use CONST0_RTX and CONST1_RTX + so that all FP modes are recognized. + (ASM_OUTPUT_LONG_DOUBLE): Define. - * Makefile.in (protoize.1, unprotoize.1): Rename temp files < 14 chrs. + * i960.md: Change all TFmode patterns to have XFmode. + (movxf recognizer, frame version): Use movt, ldt, and stt. + (movxf recognizer, non-frame version): Delete. + (extenddfxf2): Delete * before f constraint. + (extendsfxf2): Likewise. - * cccp.c (skip_if_group): Make unknown cmd name a pedantic warning. +Wed May 17 17:53:35 1995 Jim Wilson -Mon Feb 3 18:10:41 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * unroll.c (unroll_loop): Increment copy_start_luid if copy_start + is loop_start. - * romp.h (LEGITIMATE_CONSTANT_P, ENCODE_SEGMENT_INFO): Use - SYMBOL_REF_FLAG. +Wed May 17 17:44:57 1995 Lee Iverson - * x-romp-mach: New file. - * configure (romp-*-mach*): New alternative. + * fold-const.c (invert_truthvalue, case CLEANUP_POINT_EXPR): New case. -Mon Feb 3 16:43:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue May 16 18:51:16 1995 Michael Meissner - * cp-typeck.c (warn_for_assignment): Print arg num in origin 1. + * rs6000/rs6000.h (TARGET_SWITCHES): Add -mstring to enable string + instructions, and -mno-string to disable them. + (MOVE_MAX): Don't test TARGET_MULTIPLE anymore. + (MAX_MOVE_MAX): Set to 8, not 16. + (expand_block_move): Add declaration. - * sparc.md (nonlocal_goto trap recognizer): Fix opcode spelling. + * rs6000/rs6000.c (expand_block_move): New function to expand + block moves when -mstring is used. - * function.c (fix_lexical_addr): Properly search for correct display. + * rs6000/rs6000.md (movti): Use TARGET_STRING, not TARGET_MULTIPLE. + (load_multiple, store_multiple): Ditto. + (string insns): Add 8, 6, 4, 2, and 1 register variants for using + the native string instructions if -mstring. - * romp.h (OVERRIDE_OPTIONS): Don't set flag_omit_frame_pointer. + * rs6000/sysv4.h (CPP_SPEC): If little endian, define + _LITTLE_ENDIAN and set littleendian assertion. If big endian, + define _BIG_ENDIAN and set bigendian assertion. + * rs6000/sysv4le.h (CPP_SPEC): Copy from sysv4.h, and change + default to little endian. -Mon Feb 3 11:11:58 1992 Michael Tiemann (tiemann at cygnus.com) + * rs6000/rs6000.c (override_options): Check for -mmultiple and + -mstring on little endian systems here. + * rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Don't do the check + here. - * gcc.c (@c++-cpp-output): Delete extraneous "}}}" at the end of the - rule. +Tue May 16 18:36:41 1995 Douglas Rupp (drupp@cs.washington.edu) -Mon Feb 3 11:38:19 1992 Ron Guilmette (rfg at ncd.com) + * alpha.c: Changed WINNT to _WIN32. + * alpha/config-nt.bat, i386/config-nt.bat: Added commands to + generate specs.h and options.h. + * i386/config-nt.sed: Changed link32 to link. + * winnt/ld.c (main): Removed call to free. + * configure.bat: Added line to echo usage on invalid input. + * gcc.c (fix_argv): Removed call to free. + * gcc.c, getpwd.c, protoize.c, sdbout.c: Changed WINNT to _WIN32. + * toplev.c: Likewise. - * dwarfout.c (dwarfout_init): Generate an initial 2-word entry in the - .debug_srcinfo section containing the addresses of the starts of the - .line and .debug_sfnames sections. Generate it after the initial entry - for the .line section. +Tue May 16 18:04:47 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * dwarfout.c [DWARF_TIMESTAMPS]: Ensure time_t and time declared. - (dwarfout_init): Make third word of initial .debug_srcinfo entry be - the compilation date/time if DWARF_TIMESTAMPS is defined, or else -1. + * toplev.c (pfatal_with_name, fatal_io_error, vfatal): + Use FATAL_EXIT_CODE instead of magic number. + * cccp.c, cpplib.c, cpplib.h: Use FATAL_EXIT_CODE instead + of FAILURE_EXIT_CODE. + * fix-header.c, gen-protos.c: Likewise. + * cpperror.c, cppmain.c: Likewise. + Include config.h #ifndef EMACS. + * xm-alpha.h, xm-rs6000.h, xm-vms.h (FAILURE_EXIT_CODE): Remove. - * dwarfout.c (dwarfout_init): Output compilation directory name as - the first thing in the .debug_sfnames section. +Tue May 16 17:46:57 1995 Adam Fedor -Mon Feb 3 04:12:51 1992 James Van Artsdalen (james at bigtex.cactus.org) + * objc/archive.c (__objc_write_class): Write class version. + (__objc_write_selector, objc_{write,read}_selector): Handle null + selector. - * Makefile.in (install-dir): `parent' is a shell variable. + * objc/sarray.h (struct sarray): Make capacity size_t. + * objc/sarray.c (sarray_realloc): Make array index variables size_t. -Mon Feb 3 09:43:51 1992 Tom Wood (wood at dg-rtp.dg.com) +Tue May 16 06:59:08 1995 Paul Eggert - * m88k.h (EXTRA_SECTIONS): Use init and fini sections from svr3.h, - but only when using svr3.h. + * dsp16xx.c (print_operand_address): Fix misspellings in messages. + * i370/mvs.h (FUNCTION_PROFILER): Likewise. + * mips-tdump.c (type_to_string): Likewise. + * print-tree.c (print_node): Likewise. -Sun Feb 2 19:50:29 1992 James Van Artsdalen (james at bigtex.cactus.org) + * protoize.c (edit_fn_definition): Fix mispelled local `have_flotsam'. - * i386.h (ADDRESS_COST): New macro. + * objc/sendmsg.c (__objc_init_install_dtable): Fix misspelling + in name of local label `already_initialized'. -Sun Feb 2 17:08:47 1992 Michael Meissner (meissner at osf.org) + * winnt/winnt.h (STDC_VALUE): Was misspelled. - * mips.c (simple_memory_operand): Don't recognize references to - variables in .sdata or .sbss, which has the effect of not putting - stores into delay slots. This fixes a bug and also doesn't temp the - MIPS linker from trying to put 4 instructions into the delay slot - when it rewrites the function as a PIC function. + * m68k/ccur-GAS.h (FUNCTION_BOUNDARY): Was misspelled. -Sun Feb 2 16:58:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 1750a.h (DEFAULT_PCC_STRUCT_RETURN): Was misspelled. - * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Do ON_EXIT last. +Mon May 15 23:41:25 1995 Jeffrey A. Law - * Makefile.in (install-dir): Create the parent of mandir if nec. + * pa.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Make sure to encode section + info for all libcalls. - * real.h (REAL_VALUE_TRUNCATE): sizeof says what cast to float does. +Mon May 15 20:58:00 1995 Jason Merrill - * dbxout.c (DBX_OUTPUT_MAIN_SOURCE_DIRECTORY): New parameter macro. - (DBX_OUTPUT_MAIN_SOURCE_FILENAME, DBX_OUTPUT_SOURCE_FILENAME): - (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise. - These are used in place of ASM_... - * newpbb.h (DBX_OUTPUT_MAIN_SOURCE_FILENAME): Macro renamed. - (DBX_OUTPUT_SOURCE_FILENAME): Likewise. - * next.h (DBX_OUTPUT_MAIN_SOURCE_DIRECTORY): Macro renamed. - (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise. + * collect2.c (strstr): Define ifndef POSIX. -Sun Feb 2 12:51:54 1992 Michael Tiemann (tiemann at cygnus.com) + * defaults.h (SUPPORTS_WEAK): Provide default. + * aoutos.h, sparc/sunos4.h: Don't support weak symbols. + * netbsd.h, svr4.h, i386/freebsd.h, i386/osfrose.h, + m88k/m88k.h: Define ASM_WEAKEN_LABEL instead of WEAK_ASM_OP. + * c-pragma.h: Check ASM_WEAKEN_LABEL instead of WEAK_ASM_OP. + HANDLE_PRAGMA_WEAK is never defined in a tm.h file. + * c-decl.c (duplicate_decls): Propagate DECL_WEAK. + * tree.h (DECL_WEAK): New macro. + (tree_decl): Add weak_flag. + * varasm.c (assemble_start_function): Declare the symbol weak if + appropriate. + (assemble_variable): Ditto. + (assemble_alias): Ditto. Mark the decl as written. + (declare_weak): Check for weak declaration after definition. + Set DECL_WEAK. + (weak_finish): Use ASM_WEAKEN_LABEL. + * libgcc2.c: The C++ free-store management functions are weak + aliases on targets that always support them. - * cp-typeck.c (build_component_ref_1): Call `compute_visibility' - with a BASETYPE_PATH, not a TREE_LIST. +Mon May 15 19:01:43 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-class.c (build_vtable_entry): Apologize if we cannot build a - proper vtable because of builtin liminations. + * configure (out_object_file): New variable; put value in Makefile. + * Makefile.in (out_object_file): Use in place of aux-output.o. -Sun Feb 2 07:30:08 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * fold-const.c (const_binop): Don't pass OVERFLOW to force_fit_type + if type is unsigned. - * reload.c (combine_reloads): Don't combine two reloads with different - secondary reloads; copy secondary reload to combined reload. +Mon May 15 18:48:26 1995 Paul Eggert - * cse.c (cse_main): PIC_OFFSET_TABLE_REGNUM is not clobbered by calls - if -fpic or -fPIC. - * reorg.c (mark_target_live_regs): Likewise. - * sched.c (attach_deaths): Likewise. + * install.sh (transformbasename): Fix misspelling. - * flow.c (find_basic_blocks): Don't separate a CALL_INSN from - following CLOBBER insns. + * tahoe.h (CHECK_FLOAT_VALUE): Fix misspelling of OVERFLOW parameter. - * function.c (use_variable, use_variable_after): Don't interpret - reference to internal arg pointer as variable-sized object. - (expand_function_start, expand_function_end): Add USE for virtual - arg pointer if stupid alloc and it is not the real arg pointer. + * i386.h (VALID_MACHINE_{DECL,TYPE_ATTRIBUTE): Fix typo. - * flow.c (insn_dead_p, mark_set_1, mark_used_regs): Don't treat - ARG_POINTER_REGNUM specially if it isn't fixed. - * sched.c (attach_deaths): Likewise. - * reorg.c (mark_target_live_regs): Likewise; also make set of regs - clobbered on call agree with cse and flow. + * fx80.h (CHECK_FLOAT_VALUE): Fix misspelled use of parameter. - * function.c (fix_lexical_addr): Rework to look for AP references - using internal_arg_pointer; make some related cleanups. - * expr.c (expand_expr, case VAR_DECL, SAVE_EXPR): Treat - inline_function_decl just like current_function_decl. - * stmt.c (expand_end_bindings): When restoring arg pointer, restore - into the virtual form so we will subtract the proper offset, since - the saved value includes the offset. + * a29k.c (spec_reg_operand): Fix misspelling of `default:'. -Sat Feb 1 14:41:34 1992 Ken Raeburn (Raeburn@Cygnus.COM) +Mon May 15 18:36:41 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * cp-pt.c (end_template_decl): For method template, no longer call - popclass; it isn't needed any more. If after processing template - we're not at the global binding level, throw away any other binding - levels, rather than aborting. Also deleted some other unused code. + * m68k.md (b{eq,ne,ge,lt}0_di): Fixed for non-MOTOROLA syntax. + * m68k/xm-mot3300.h (alloca): Extern decl added for non-GNU compiler. -Sat Feb 1 09:13:47 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Mon May 15 13:14:29 1995 Per Bothner - * xm-rs6000-mach.h, rs6000-mach.h: New files. - * configure (rs6000-*-mach): New option. + * cppexp.c (cpp_reader): Test for '#' (start of assertion) *after* + skipping hspace, not before. -Sat Feb 1 00:57:24 1992 James Van Artsdalen (james at bigtex.cactus.org) +Mon May 15 08:13:54 1995 Pat Rankin (rankin@eql.caltech.edu) - * i386.c: Include tree.h - (symbolic_operand): New predicate function. - (symbolic_reference_mentioned_p): New function. - (legitimize_pic_address,emit_pic_move): New functions. - (function_prologue): Delete unused variable nregs. - If the PIC reg is used, save the old contents and initialize with - a pointer to the GOT. - (simple_386_epilogue): Count the PIC reg if it is used. - (function_epilogue): Delete unused variable "insn". Restore the - original contents of the PIC reg if it was used. + * vmsconfig.com: Construct options.h and specs.h to #include + all "*/lang-{options|specs}.h" files found. - (output_pic_addr_const): New function to handle PIC symbol - reference suffixes. - (print_operand_address): Use that if flag_pic is true. - (print_operand): Likewise. Don't print a prefix in front of any - constant if the 'P' code is used. +Sun May 14 21:32:49 1995 Doug Evans - (output_387_binary_op): abort if the op is not one we handle. + * alpha/alpha.md (movsicc, case NE): Don't generate unrecognizable + insn. + (movdicc, case NE): Likewise. - (maximum_field_alignment): New variable. - (handle_pragma_token): New function. Handle `weak' and `pack'. +Sun May 14 15:44:54 1995 Jim Wilson - * i386.h (CONDITION_REGISTER_USAGE): New macro. Mark PIC reg as - fixed and call used if flag_pic is true. - (PIC_OFFSET_TABLE_REGNUM): New macro. - (FUNCTION_PROFILER): Output PIC compatible code if flag_pic. - (INITIAL_ELIMINATION_OFFSET): Count the PIC reg if it is used. + * unroll.c (unroll_loop): Make local_regno have size + max_reg_before_loop. Don't do local register optimization if + copy_end has no INSN_LUID. - (GO_IF_LEGITIMATE_ADDRESS): If flag_pic is true, reject bare - label or symbol references, but allow constant pool references. - In all cases, don't bother to check for a constant as the first - operand of a PLUS. - (LEGITIMIZE_ADDRESS): Call legitimize_pic_address for symbolic - references if flag_pic is true. In all cases, HImode regs are not - valid memory pointers. - (LEGITIMATE_PIC_OPERAND): New macro. - (SYMBOLIC_CONST): New macro. - (ENCODE_SEGMENT_INFO): New macro to notice static variables. - (CONST_COSTS): Symbolic constants cost more if flag_pic is true. +Sun May 14 10:38:23 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * i386.md (movsi): Use define_expand. Call emit_pic_move for - symbolic constants if flag_pic is true. - (divmodM4,udivmodM4): Change predicates so that only regs are - allowed in operands that can't be a mem. Avoids reload - congestion. - (indirect_jump): Allow any reg or mem as operand, not just reg 0. - (casesi): New insn, only used if flag_pic is true. - (call,call_pop,call_value,call_value_pop): Use define_expand to - record if this function ever emits a call, which will implicitly - use the PIC address register. + * objc-act.c (start_method_def): Mark _self as possibly unused. - * svr4.h (SELECT_SECTION): Any item whose initial value involves - linker relocation must go in the data section if flag_pic is true. + * configure: Create specs.h and options.h from */lang-specs.h + and */lang-options.h. + Set lang_specs_files and lang_options_file variables in Makefile. + * Makefile.in (lang_{specs,options}_files): New variables. + (gcc.o): Depends on $(lang_specs_files). + (toplev.o): Depends on $(lang_options_file); merge two dep lists. + (distclean): Remove spes.h and options. + * gcc.c (default_compilers): Remove entries for Ada, C++, Chill, + and Fortran; #include specs.h instead. + * toplev.c (lang_options): Remove entries for Ada, C++, and Fortran; + include options.h instead. - * i386v4.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output in PIC style. If - flag_pic is false, ADDR_DIFF_VECs are not output and this is not - used. - (JUMP_TABLES_IN_TEXT_SECTION): New macro. +Sat May 13 23:11:21 1995 DJ Delorie - (WEAK_ASM_OP,DEF_ASM_OP): New macros. - (maximum_field_alignment): New variable. Declare here. - (PCC_BITFIELD_TYPE_MATTERS): New macro. Value depends on - maximum_field_alignment. - (BIGGEST_FIELD_ALIGNMENT): New macro. Likewise. - (HANDLE_PRAGMA): New macro. - (ASM_OUTPUT_ALIGNED_LOCAL): New macro. + * configure (i[345]86-go32-msdos, i[345]86-*-go32): New targets. -Sat Feb 1 00:15:41 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat May 13 10:58:38 1995 Jim Wilson - * flow.c (flow_analysis, find_basic_blocks): - If have nonlocal labels, calls end basic blocks. - Each call can jump to each nonlocal label. - Pass extra arg to find_basic_blocks. - * function.c (nonlocal_label_rtx_list): New function. + * loop.c (record_giv): When computing replaceable, use + back_branch_in_range_p instead of looking for branches to named + labels. + * loop.h (back_branch_in_range_p): Declare. + * unroll.c (back_branch_in_range_p): No longer static. - * dbxout.c (dbxout_init): Vars wd and wd_gotten moved to top level - and renamed to cwd and cwd_gotten. +Sat May 13 06:47:11 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * c-decl.c (start_function): -Wmissing-prototypes warns if static - function was previously used without a prototype. + * combine.c (simplify_shift_count, case LSHIFTRT): Don't merge + shifts of different modes if first is any right shift. - * loop.c (find_and_verify_loop): Initialize uid_loop_num[0]. - (loop_optimize): Give up fast if no loops. +Sat May 13 05:39:09 1995 Richard Earnshaw (rearnsha@armltd.co.uk) - * stmt.c (expand_end_bindings): Don't adjust fp in nonlocal goto hndlr - if there is a nonlocal_goto insn. + * configure (arm-semi-aout): New configuration. + * config.sub: Add support for semi-hosted ARM. + * arm/t-semi, arm/semi.h: New files. - * Makefile.in (cccp.o): Use just libdir in GPLUSPLUS_INCLUDE_DIR. +Fri May 12 21:51:22 1995 Doug Evans - * gcc.c (do_spec_1): Supply missing arg in some recursive calls. + * flow.c (find_basic_blocks): Only perform n_basic_blocks sanity + check on first pass, and on second pass ensure it has the correct + value. -Fri Jan 31 21:50:03 1992 Jeffrey A. Law (law at wombat.gnu.ai.mit.edu) +Fri May 12 19:23:11 1995 Jim Wilson - * m68k.h (OVERRIDE_OPTIONS): -fPIC is only supported on the 68020 - and later cpus. Give an error if -fPIC is tried on a 68000. + * c-typeck.c (build_binary_op): Warn when ~unsigned is compared + against unsigned, and type promotions result in an unexpected + answer. -Fri Jan 31 21:39:33 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Fri May 12 19:10:21 1995 Roland McGrath - * flow.c (find_auto_inc): If emitting a move insn in front of the - first insn in a block, update basic_block_head. + * configure (*-*-gnu*): Always use ELF; set tm_file=${cpu_type}/gnu.h. + * config/i386/gnu.h: Contents replaced with old i386/gnuelf.h. + * config/i386/gnuelf.h: File removed. - * caller-save.c (init_caller_save): Correctly check for case where the - save or restore insns aren't recognized. +Fri May 12 17:29:57 1995 Ken Raeburn (raeburn@cygnus.com) -Fri Jan 31 21:02:35 1992 Mark Eichin (eichin at cygnus.com) + * m68k/lb1sf68.asm (__IMMEDIATE_PREFIX__): Default to #. + (IMM): New macro. + (all code): Use IMM macro instead of hardcoding # for immediate + operands. - * cp-decl.c (pushtag): when calling pushdecl, if we're in a - class_binding_level just do a pushdecl_class_level. Otherwise - pushdecl gets called multiple times on class-nested enums, which - short circuits the name list in the global_binding_level. +Fri May 12 16:52:10 1995 Philippe De Muyter (phdm@info.ucl.ac.be) -Fri Jan 31 00:14:20 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * m68k.c (output_scc_di): New function. + (extend_operator) : Allow DImode target. + * m68k.h (HARD_REGNO_MODE_OK): Don't allow d7/a0 as DImode reg pair. + * m68k.md (tstdi, cmpdi, addsi_lshrsi_31, ashldi_extsi): New patterns. + (extendqidi2, extendhidi2, extendsidi2): Allow "general_operand" + instead of "register_operand" 0. + (adddid_sexthishl32, subdid_sexthishl32, subdi_dishl32): Likewise. + (adddi_dilshr32): Operand 0 constraint changed from "ro" to "do"; + Code generation fixed. + (adddi_mem, subdi_mem): Fixed for "<" and ">" operand 0. + (adddi3, subdi3): Operand 2 constraint changed from "ao" to "*ao" + (ashldi_sexthi, ashrdi_const32): Allow only "register_operand" + instead of "general_operand" 0. + (ash[lr]di_const, ash[lr]di3): Allow also 8 and 16 as shift count. + (subreg1ashrdi_const32): Pattern deleted. + (subreghi1ashrdi_const32, subregsi1ashrdi_const32): New pattern. + (lshrsi_31): New implementation. + (scc0_di, scc_di, beq0_di, bne0_di, bge0_di, blt0_di): New patterns. + +Fri May 12 16:50:49 1995 Jeffrey A. Law - * stmt.c (expand_goto): Use nonlocal_goto pattern if it exists. - * sparc.md (nonlocal_goto): New pattern. - Also nameless pattern for the special trap insn. + * pa.md (bb patterns): Fix bugs in length computation exposed by + recent branch shortening and genattrtab changes. - * gcc.c (S_ISDIR): Add default definition. +Fri May 12 16:22:27 1995 Ken Raeburn - * function.c (expand_function_end): - Set up arg_pointer_save_area at start of function. + * cccp.c (enum node_type): Add T_IMMEDIATE_PREFIX_TYPE. + (special_symbol): Handle it; emit value of IMMEDIATE_PREFIX. + (IMMEDIATE_PREFIX): Default to empty string. + (initialize_builtins): Install __IMMEDIATE_PREFIX__ builtin, + parallel to __REGISTER_PREFIX__. - * c++: Accept -nostdlib, not -nostinc. +Fri May 12 14:40:03 1995 Pat Rankin (rankin@eql.caltech.edu) - * va-sparc.h: If GCC v1, define __extension__ as nothing. - * va-i860.h, va-pyr.h, va-spur.h: Likewise. + * cccp.c: #if VMS, don't define `stat' macro to be VMS_stat. + Compare enums explicitly to 0 to work around VAX C bug. + (do_include): Cast alloca's value. - * cp-class.c (finish_struct): Fill in DECL_ALIGN of vtable field. + * make-cc1.com (bc_loop): Process comma-separated list rather + than space-separated one; restore .h suffix stripped by vmsconfig; + (loop1): More robust handling of directory prefix on file names. + * vmsconfig.com (TPU makefile.in): Reorganize and reformat code. + Make generated .opt files have more consistent format (all comma + separated, excess whitespace eliminated); + (additional_compiler): New routine. + (process_makefile): Use it to handle cc1plus via cp/Make-lang.in. - * regclass.c (reg_class_record): - Don't follow indirect loops in constraints. +Fri May 12 13:35:07 1995 Doug Evans - * function.c, expr.h (current_function_internal_arg_pointer): New var. - * function.c (assign_parms): Set it. - (push_function_context, pop_function_context): Save and restore it. - * expr.c (expand_builtin): Use it. - * function.h (struct function): New slot to save it in. + * arm.h: Replace ARM_REG_PREFIX with REGISTER_PREFIX. + Replace ARM_COMMENT_CHAR with ASM_COMMENT_START. + (REGISTER_PREFIX): Define. + (USER_LABEL_PREFIX, LOCAL_LABEL_PREFIX): Define. + (SECONDARY_OUTPUT_RELOAD_CLASS): Handle DFmodes only if + TARGET_HARD_FLOAT. + (PREDICATE_CODES): Add soft_df_operand. + * arm.c: Replace ARM_REG_PREFIX with REGISTER_PREFIX. + Replace ARM_COMMENT_CHAR with ASM_COMMENT_START. + (arm_asm_output_label): Use USER_LABEL_PREFIX. + (soft_df_operand): New function. + * arm.md (movsicc): New pattern. + (movsfcc, movdfcc, *movsicc_insn, *movsfcc_hard_insn): Likewise. + (*movsfcc_soft_insn, *movdfcc_insn): Likewise. + (*movdf_soft_insn): Rewrite. + (movsi matcher): Fix typo in type attribute. - * cse.c (cse_main): Calls do clobber arg pointer if not fixed. +Fri May 12 10:25:40 1995 Michael Meissner (meissner@cygnus.com) - * hp320.h (HAVE_ATEXIT): New definition. + * i386.h (TARGET_RTD): Use MASK_RTD, not MASK_REGPARM. + (TARGET_SWITCHES): Add -m{,no-}align-double switch. + (TARGET_OPTIONS): Add -mregparm= switch to set number of registers + to use for passing arguments. Add -malign-loops= switch to set + the alignment for loops. Add -malign-jumps= switch to set the + alignment for code that is jumped to. Add -malign-functions= + switch to set the initial alignment of functions. + (TARGET_REGPARM): Delete, in favor of -mregparm= + (TARGET_SWITCHES): Delete -mregparm, add -mdebug-arg switches. + (RETURN_POPS_ARGS): Call i386_return_pops_args to do the real work. + (VALID_MACHINE_DECL_ATTRIBUTE): Define as function call. + (VALID_MACHINE_TYPE_ATTRIBUTE): Define as function call. + (COMP_TYPE_ATTRIBUTES): Define as function call. + (REGPARM_MAX): Maximum number of regs to use for passing arguments. + (CUMULATIVE_ARGS): Make this a structure, not an int. + (INIT_CUMULATIVE_ARGS, FUNCTION_ARG{,_ADVANCE}): Call function. + (FUNCTION_ARG_PARTIAL_NREGS): Likewise. + (MAX_CODE_ALIGN): Maximum value to align loops/jumps to. + (BIGGEST_ALIGNMENT): Return 64 if -malign-double, 32 otherwise. + (ASM_OUTPUT_ALIGN_CODE): Use value of -malign-jumps= switch. + (ASM_OUTPUT_LOOP_ALIGN): Use value of -malign-loops= switch. + (toplevel): Declare all new functions and external variables added + in i386.c. - * Makefile.in (ALL_CPPFLAGS): New variable. - Use in all compile steps instead of CPPFLAGS. - (X_CPPFLAGS, T_CPPFLAGS): New vars, used in ALL_CPPFLAGS. - * x-vax (X_CPPFLAGS): Use this instead of X_CFLAGS. + * i386.c (i386_regparm_string, i386_regparm): New variables + for -mregparm= switch to set the number of registers to use for + passing arguments. + (i386_align_loops_string, i386_align_loops): New variables for + -malign-loops= switch to set alignment to use for loops. + (i386_align_jumps_string, i386_align_jumps): New variables for + -malign-jumps= switch to set alignment to use for labels that are + jumped to. + (override_options): Support new switches. + (i386_valid_decl_attribute_p): New function to validate decl + specific attributes. Presently returns 0. + (i386_valid_type_attribute_p): New function to validate type + specific attributes. Recognize "stdcall", which says function + with fixed numbers of arguments is responsible for popping stack, + "cdecl", which says to use the normal C calling sequence, even if + -mrtd is used, and "regparm", which specifies the number of + registers to use for passing arguments. + (i386_comp_type_attributes): New function, to validate whether + attributes are compatible. + (i386_return_pops_args): New function, to return whether or not + the function pops its argument list or not, taking into account + -mrtd, and the stdcall/cdecl attributes. + (init_cumulative_args): Rewrite as a function, taking variable + argument functions, and regparm support into account. + (function_arg{,_advance,_partial_nreg}): Likewise. + (print_operand): Support %J, to print appropriate jump insn. - * stmt.c (expand_end_bindings): Fix typo. + * i386.md (decrement_and_branch_until_zero): Define pattern, + so that loops that count down to zero, don't have an unneeded + compare after the decrement. Add a general insn recognizer for + add to a value and compare against zero. -Fri Jan 31 12:15:09 1992 Ron Guilmette (rfg ay ncd.com) + * i386/go32.h, i386/winnt.h (VALID_MACHINE_DECL_ATTRIBUTE): + Delete, code folded into the mainline. + (RETURN_POPS_ARGS): Likewise. - * dwarfout.c (LINE_LAST_ENTRY_LABEL): Definition added. - (dwarfout_finish): Put a label on the last .line section entry. - (dwarfout_finish): Make first word of final .debug_srcinfo record - contain the offset of the final .line section entry. + * i386/winnt.h (ENCODE_SECTION_INFO): The stdcall attribute is now + stored on the type field, rather than the decl. -Fri Jan 31 10:31:44 1992 James Van Artsdalen (james at bigtex.cactus.org) + * i386/gas.h (ASM_OUTPUT_ALIGN_CODE, ASM_OUTPUT_LOOP_ALIGN): Use + i386_align_{loops,jumps} variables to do alignment. + * i386/osfrose.h, i386/svr3dbx.h: Likewise. - * cp-tree.c (__eprintf): Make definition match assert.h - declaration. +Fri May 12 12:48:19 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Jan 30 23:17:11 1992 Per Bothner (bothner at cygnus.com) + * stor-layout.c (layout_type, case ARRAY_TYPE): Compute length using + MAX of length and zero if sizetype signed and neither bound constant. - * c++: The flags -c, -S, or -E suppress passing -lg++ - to gcc. (Otherwise, gcc prints a warning.) + * i386/gnuelf.h, i386/linux-oldld.h, i386/lynx-ng.h, i386/v3gas.h: + Use <...> in #include instead of "...". + * m68k/lynx-ng.h, sparc/lynx-ng.h: Likewise. -Thu Jan 30 21:10:02 1992 Ron Guilmette (rfg at ncd.com) + * c-parse.in (myparm): Handle attributes. + * objc-act.c (unused_list): New variable. + (build_tmp_function_decl): Call push_parm_decl with new format. + (start_class): Initialize unused_list. + (start_method_def): Call push_parm_decl with new format and + mark _cmp as possibly unused. - * dwarfout.c (dwarfout_init): Fix generation of initial .debug_aranges - entry to be Dwarf Version 1 compliant. + * combine.c (simplify_shift_const): Don't change SHIFT_MODE + for LSHIFTRT either. -Thu Jan 30 15:51:27 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * unroll.c (unroll_loop): Don't move reg if used in copy_end and + that is a JUMP_INSN. - * i386sun.h (LINK_SPEC): Delete useless %{-Bstatic} term. - * sun2o4.h (LINK_SPEC): Likewise. - * sun3.h (LINK_SPEC): Likewise. - * sparc.h (LINK_SPEC): Delete useless %{Bstatic} term. +Fri May 12 12:31:37 1995 Doug Evans - * cccp.c (default_include): Delete use of obsolete - NO_STANDARD_INCLUDE_DIR macro. - * protoize.c (default_include): Likewise. + * arm/lib1funcs.asm: New file. - * Makefile.in (libgcc1.null): Delete dummy.o and dummy.c. +Fri May 12 11:52:03 1995 Kung Hsu -Thu Jan 30 15:34:06 1992 Michael Meissner (meissner at osf.org) + * configure (a29k-*-vxworks*): New target. + * config.sub (vxworks29k): New alias. + * a29k/t-vx29k: New file. + * a29k/vx29k.h: New file. - * gstdarg.h: Include va-mips.h on MIPS systems. +Fri May 12 11:17:28 1995 Jim Wilson - * va-mips.h (va_start): Provide alternate definition when included - via stdarg.h. - (va_arg): Use __alignof(...) instead of sizeof(...) to determine - whether or not to dword align the argument pointer. + * loop.c (check_dbra_loop): When reversing loop when + no_use_except_counting is false, there must be only one biv. -Thu Jan 30 13:06:36 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri May 12 07:10:00 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in (install-common): Get c++ and g++ from srcdir. + * unroll.c (unroll_loop): Only use local_regno for pseudos. - * i860.h (FIXED_REGISTERS): Arg pointer is no longer fixed. + * genattrtab.c (write_test_expr, case MATCH_DUP): Use operands[N] + instead of JUMP_LABEL (which may not be set). + (walk_attr_value, case MATCH_DUP): Set must_extract. - * assert.h (__eprintf): Add const to string args in GCC ANSI case. + * c-parse.in: Adjust number of shift/reduce conflicts. + (parm): Support attributes. + * c-decl.c (push_parm_decl): Pass any attributes to decl_attributes. - * Makefile.in (cccp.o, protoize.o, unprotoize.o): - Define LOCAL_INCLUDE_DIR based on $(prefix). +Fri May 12 00:36:26 1995 Per Bothner - * stmt.c (expand_end_bindings): Arg pointer needs no special - treatment if not fixed. + * cpplib.c (skip_quoted_string): Removed - no longer needed. + (skip_if_group): Use cpp_get_token instead of skip_quoted_string. - * cp-parse.y, c-lex.c (yyerror): - Avoid sign-extension of characters in error messages. + * cpplib.h (struct cpp_reader): Remove start_line field. + Add multiline_string_line field. -Thu Jan 30 11:39:56 1992 Ron Guilmette (rfg at ncd.com) + * cpplib.c (cpp_error_with_line, cpp_warning_with_line, + cpp_pedwarn_with_line): Take extra column number parameter. + (macroexpand, cpp_get_token): Fix reporting of unterminated strings. + (line_for_error): Removed - no longer needed. - * dwarfout.c (dwarfout_finish): Fix generation of .debug_pubnames - terminating entry to be 4-bytes of zero followed by a null string. +Fri May 12 02:21:34 1995 Jim Wilson -Thu Jan 30 09:30:19 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * mips/svr4-t.h (MD_STARTFILE_PREFIX, MD_EXEC_PREFIX, + STARTFILE_SPEC, LINK_SPEC): Define. + * configure (mips-tandem-sysv4): Use t-mips not t-svr4. - * rs6000.c (ccr_bit): Fix typo causing reference to possibly - undefined operand. +Thu May 11 19:18:54 1995 Per Bothner - * rs6000.h (ASM_SPEC): Remove until new AIX assembler is available. - (ASM_OUTPUT_POOL_PROLOGUE): Add missing "." in csect name. - (ENCODE_SEGMENT_INFO): Deleted. - (ASM_OUTPUT_EXTERNAL): Move code from ENCODE_SEGMENT_INFO here, - using permalloc instead of putting name into saveable_obstack. - Re-enable macro. - (ASM_OUTPUT_EXTERNAL_LIBCALL): Re-enable. + * cpplib.c (line_for_error): Make it work; add extra parameter. + (skip_quoted_string, cpp_get_token): Update calls to line_for_error. + (macroexpand): Remember initial line so we can report it if the + call is unterminated. Also, simplify error logic slightly. + (do_include): Cast alloca return value, to avoid pcc warning. -Wed Jan 29 21:50:26 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cppexp.c (parse_number): Cleanup some Cygnus crud for MPW. - * rs6000.h (ASM_SPEC): Add -u, now require new /bin/as for AIX. - (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): No longer needed. +Thu May 11 21:35:23 1995 Torbjorn Granlund - * rs6000.h (ENCODE_SEGMENT_INFO): New macro; add [RW] or [DS] to name. - (RS6000_OUTPUT_BASENAME): New macro. - (ASM_OUTPUT_*): Use it instead of assemble_name when required. - (ASM_OUTPUT_POOL_PROLOGUE): Remove trailing [RW] or [DS]. - * rs6000.c (print_operand, case 'z'): New case, for name in CALL_INSN. - (output_toc): Use RS6000_OUTPUT_BASENAME instead of assemble_name - for toc entry name. - * rs60000.md (call): Use %z. + From Moshier: + * i960.c (i960_output_ldconst): Let split_double handle DImode. + (i960_print_operand): Use REAL_VALUE_TO_DECIMAL for decimal strings. + (i960_output_double, i960_output_float): Likewise; also change arg + VALUE from `double' to `REAL_VALUE_TYPE'. -Wed Jan 29 17:17:42 1992 Michael Tiemann (tiemann at cygnus.com) +Thu May 11 21:09:25 1995 Per Bothner (bothner@wombat.gnu.ai.mit.edu) - * cp-init.c (build_member_call): Fix bug involving static members - that are function pointers. + * cpperror.c (cpp_print_containing_files): Remove some + Cygnus-local stuff. -Wed Jan 29 13:25:18 1992 Tom Wood (wood at dg-rtp.dg.com) +Thu May 11 21:06:47 1995 Doug Evans - * gcc.c (do_spec_1): For %D, only add -L options that are relevant. - (is_linker_dir): Determine if a -L option is relevant. + * gcc.c (link_command_spec): Make -nostdlib no longer imply + -nostartfiles. -Wed Jan 29 00:57:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu May 11 18:48:57 1995 Paul Eggert - * configure: Turn ns32k alternatives back on. + * c-common.c (convert_and_check): Don't diagnose overflow in constant + expression merely because conversion overflowed. - * Makefile.in (getopt.o, getopt1.c): Join two lines into one. +Thu May 11 18:43:59 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * x-i386v4, x-i860v4 (GCC_CFLAGS): Add missing `-B./'. + * c-decl.c (grokdeclarator): Use PARM_FLAG to see if should + make PARM_DECL. + * c-parse.in (nested_function, notype_nested_function): + Allow old-style arg definitions (use xdecls). - * reload.c (find_dummy_reload, push_reload): Don't reuse dying input - reg as a reload if it is a fixed reg. + * c-decl.c (finish_struct): Properly update DECL_PACKED. - * c-tree.h (C_MISSING_PROTOTYPE_WARNED): Deleted since unused. +Thu May 11 15:24:15 1995 Jason Merrill -Wed Jan 29 00:42:34 1992 Tim Moore (moore at fast.cs.utah.edu) + * fold-const.c (fold): Also fold CLEANUP_POINT_EXPRs into + TRUTH_*_EXPRs and into the first operand. + (operand_equal_for_comparison_p): Also make sure the second operand + is integral. - * hp800.c (print_operand): Handle INSN_ANNULLED_BRANCH_P in '*' - operand type. - * hp800.h (DEFAULT_GDB_EXTENSIONS): Define as 0. - * hp800.md (cmpsi): Change arith_operand to arith5_operand. - (bCC patterns): Delete pattern that matches a compare with a - constant first operand. Change arith_operand to arith5_operand. - (fp branches): Change type to cbranch. +Thu May 11 14:22:03 1995 Ted Lemon - * function.c (assign_parms): Set current_function_arg_offset_rtx - correctly for ARGS_GROW_DOWNWARD. - * gstdarg.h: Include va-hp800.h. - * va-hp800.h: Complete rewrite. + * config/mips/netbsd.h: New file. + * config/mips/t-mips-netbsd: New file. + * config/mips/x-netbsd: New file. -Tue Jan 28 17:04:38 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * configure (mips-dec-netbsd*): Add entry. - * varasm.c (make_decl_rtl): Delete unused var `i'. + * mips.h (LOCAL_LABEL_PREFIX, USER_LABEL_PREFIX): Define. + (PUT_SDB_BLOCK_START, PUT_SDB_BLOCK_END, ASM_OUTPUT_LABEL_REF, + ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL, + ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Use them. - * c-convert.c (convert_to_pointer): - Abort if no integer type is as wide as a pointer. + * mips.c (mips_output_lineno): Use LOCAL_LABEL_PREFIX. - * gcc.c (default_compilers, .i case): Add error message for -pg - and -fomit-frame-pointer incompatibility. +Thu May 11 14:22:03 1995 Stan Cox (gcc@dg-rtp.dg.com) - * Makefile.in (install-common): Install c++ and g++ shell scripts in - bindir. + * dwarfout.c (output_decl): Don't output DIE for struct or union type + with no name or with ERROR_MARK for the fields. -Tue Jan 28 15:44:10 1992 Michael Collison (collison at osf.org) +Thu May 11 06:36:34 1995 Michael Meissner (meissner@cygnus.com) - * x-encrose (OLDCC): changed to $(GNU_ROSE_BIN)/gcc + * flow.c (mark_used_regs): If a SUBREG does not have a REG in the + SUBREG_REG position, recursively call mark_used_regs, instead of + segfaulting. - * ns32k.h: Added trampoline code. +Thu May 11 06:44:34 1995 Pat Rankin (rankin@eql.caltech.edu) -Tue Jan 28 14:19:52 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * expr.c (do_jump, case EQ_EXPR, NE_EXPR): Fix typo for complex. - * rtl.def (UNSPEC, UNSPEC_VOLATILE): New RTL codes. - * cse.c (canon_hash): UNSPEC_VOLATILE operations are volatile. - * loop.c (invariant_p): Likewise. - * reorg.c (mark_referenced_resources): Likewise. - * sched.c (sched_analyze_2): Likewise. - * rtlanal.c (volatile_refs_p, side_effects_p, may_trap_p): Likewise. - (reg_referenced_p): Support UNPEC and UNSPEC_VOLATILE. +Wed May 10 12:34:46 1995 Michael Meissner -Tue Jan 28 11:50:35 1992 Michael Meissner (meissner at osf.org) + * configure: Add support for the little endian variant of the + PowerPC System V.4 and Eabi targets. If the GNU assembler was not + specified, don't build libgcc.a variants on the PowerPC systems + that use -mrelocatable, -mlittle, and -mbig. - * mips.c (toplevel): Add include of , since isdigit is - used. + * genmultilib: For MULTILIB_MATCHES arguments, map question marks + into equal signs after spliting the left and right side of + equivalent options, to all support for options like: -mcpu=403. -Tue Jan 28 05:47:08 1992 Michael Tiemann (tiemann at cygnus.com) + * rs6000/rs6000.md (rs6000_immed_double_const): New function that + is like immed_double_const, except that it reverses the two words + in the constant if the target is little endian. - * cp-decl.c (xref_tag): Addition to eichin's Jan 25 change. If REF - is extant, and it's seen in the global scope outside of - CLASS_BINDING_LEVEL, set its IDENTIFIER_GLOBAL_VALUE if NULL. + * rs6000/rs6000.md (floatsidf2): Use rs6000_immed_double_const, + not immed_double_const. + (floatunssidf2): Ditto. - * cp-class.c (pushclass): Forcibly remove any remnants of incomplete - type that was previously pushed. + * rs6000/rs6000.h: Add declarations for all functions in rs6000.c. - * cp-decl.c (various places): Remove all error messages about C++ - constructs being invalid in C language context; extern "C" is a - linkage specifier--no more. + * rs6000/sysv4.h (TARGET_SWITCHES): Add -mlittle, -mlittle-endian, + -mbig, and -mbig-endian for bi-endian support. + (ASM_SPEC): Pass -mlittle/-mbig to the assembler if it was passed + to us. + (LINK_SPEC): If explicit little or big endian support was + requested, tell the GNU linker to use the appropriate target + format. - * cp-method.c (dump_type_prefix,dump_type): Never need to output - `unsigned' since its always part of an unsigned integer type name. - (build_overload_name): Change test for unsigned to use - `unsigned_type' instead of examining TREE_UNSIGNED. + * rs6000/t-eabi (MULTILIB_*): Build libgcc.a variants for software + floating point. Remove mrelocatable libgcc.a variant. - * cp-call.c (ideal_candidate): Don't convert PARMS in place if - BASETYPE is NULL_TREE. + * rs6000/t-eabigas: New file, cloned from t-eabi. Build + mrelocatable libgcc.a variant in addition to the other variants. -Tue Jan 28 02:21:31 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rs6000/t-ppc: New file, for PowerPC System V.4 support without + the GNU assembler. - * c-decl.c (grokdeclarator): Use `auto' for nested fn fwd decls. + * rs6000/t-ppcgas: New file, for PowerPC System V.4 support with + the GNU assembler. - * g++: New file. + * rs6000/eabile.h: New file, little endian eabi config file. + * rs6000/sysv4le.h: New file, little endian V.4 config file. - * fixincludes: - Convert machine names in #if's to have underscores. - Fix specific files stdlib.h, locale.h, hsfs/... for Sunos 4.1. - * fixinc.svr4: Convert machine names in #if's to have underscores. +Wed May 10 14:22:28 1995 Doug Evans - * gcc.c (do_spec_1): For %D, also make -L's for startfile_prefix. - Also append the machine + * libgcc1-test.c (main_without__main): Renamed from `main'. + * Makefile.in (libgcc1-test): Tell the user to ignore warnings. - * fold-const.c (fold_convert): Properly handle real-to-real case. + * configure: Support --enable-foo, --disable-foo. - * configure (i486-*-sysv4*): New alternative. +Wed May 10 10:34:00 1995 Lee Iverson -Tue Jan 28 00:37:24 1992 Ron Guilmette (rfg at ncd.com) + * unroll.c: Add declarations of static functions. + (unroll_loop): Renumber regs local to loop for each unrolled iteration. - * dwarfout.c (location_attribute): Fix handling of objects which - were optimized out of existance for Dwarf Version 0 compliance. +Wed May 10 08:27:03 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Jan 28 00:42:57 1992 James Van Artsdalen (james at bigtex.cactus.org) + * alpha.c (alpha_set_emit_const): Cleanups to work properly + when run on 32-bit host. - * Makefile.in (mostlyclean): Delete stack dump files too. + * configure: Instead of symlinking tm.h and {h,t,}config.h, + make them files that #include the proper file; pass to Makefile. + Pass out_file and md_file to Makefile instead of making symlinks. + * Makefile.in (out_file, md_file, tm_file, {build,host}_xm_file): + New symbols, to be overridden by configure. + (insn-*): Use $(md_file), not md. + (aux-output.o): Use $(out_file), not aux-output.c. + ($(MD_FILE)): Rework to use new conventions. + (gen*.o, bi-*.o): Depend on $(build_xm_file), not hconfig.h. + (scan.o, fix-header.o, scan-decls.o): Likewise. + (distclean): Adjust files removed for new convention. -Mon Jan 27 18:26:27 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Tue May 9 19:26:42 1995 Jason Merrill - * rs6000.h (HAVE_ATEXIT, NO_DOLLAR_IN_LABEL): Now defined. + * rs6000/rs6000.h (LIBGCC_SPEC): Do link with libgcc when -shared. -Mon Jan 27 13:32:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Makefile.in (STAGESTUFF): Add underscore.c. + (underscore.c): Rename temporary files to begin with 'tmp-' so that + they will be removed by 'make mostlyclean'. - * libgcc2.a (L_exit): Declare __CTOR_LIST__ and __DTOR_LIST__ - with length 2; get rid of __CTOR_END__ and __DTOR_END__. - (L_ctor_list, L_dtor_list): New library members. +Tue May 9 19:19:55 1995 Mike Stump - * cccp.c (main): Add terminating null, then call trigraph_pcp. + * toplev.c (lang_options): Add new flag -ffor-scope. - * fixincludes, fixinc.svr4: Fail unless an arg was given. - * Makefile.in (install-fixincludes): Pass output dir as argument. +Tue May 9 19:11:47 1995 Lee Iverson (leei@ai.sri.com) - * Makefile.in: Renamed libgcc[12] to libgcc[12].a. - Likewise for tmplibgcc[12]. + * objc/init.c (objc_init_statics): Fix missing part of last change. - * toplev.c (rest_of_decl_compilation): Treat all fcns as if external. +Tue May 9 18:25:34 1995 Richard Kenner - * Makefile.in (TAGS): Do the work in srcdir. - Include c-parse.h in files to move. + * i386/gnu.h, i386/linux.h, i386/linux-aout.h, i386/lynx.h: + Use <...> in #include instead of "..." to avoid recursion. + * i386/netbsd.h, i386/xm-gnu.h, i386/xm-linux.h: Likewise. + * i386/xm-lynx.h, i386/xm-freebsd.h, i386/xm-netbsd.h: Likewise. + * m68k/lynx.h, m68k/netbsd.h, m68k/xm-lynx.h: Likewise. + * m68k/xm-netbsd.h, mips/gnu.h, ns32k/netbsd.h: Likewise. + * ns32k/xm-netbsd.h, rs6000/lynx.h, rs6000/xm-lynx.h: Likewise. + * sparc/lynx.h, sparc/netbsd.h, sparc/xm-lynx.h: Likewise. + * sparc/xm-netbsd.h, vax/netbsd.h, vax/xm-netbsd.h: Likewise. -Mon Jan 27 10:54:24 1992 Jim Wilson (wilson at sphagnum.cygnus.com) +Tue May 9 15:52:05 1995 Michael Meissner - * cccp.c (get_filename): Don't pass -1 file descriptor to close. + * config.sub: Recognize powerpcle as the little endian varient of + the PowerPC. Recgonize ppc as a PowerPC variant, and ppcle as a + powerpcle variant. Convert pentium into i586, not i486. Add p5 + alias for i586. Map new x86 variants p6, k5, nexgen into i586 + temporarily. -Mon Jan 27 00:26:33 1992 Michael Tiemann (tiemann at cygnus.com) +Tue May 9 15:43:27 1995 Jason Merrill - * cp-decl.c (start_function): Preserve TREE_TYPE of RESULT_DECL, in - case we have a named return value. - (finish_function): Restrict the cases under which we build - `no_return_label'. Use CURRENT_FUNCTION_RETURN_VALUE to eliminate - the generation of needless cleanups when functions end with a return - stmt. No longer zeros out CLEANUP_LABEL. Also, call `emit_jump' - instead of `expand_null_return' in case NO_RETURN_LABEL is - non-NULL. + * rs6000/rs6000.h (LINK_SPEC, LIB_SPEC): Don't mess with libg + if -shared. + * rs6000/aix41ppc.h (LINK_SPEC): Ditto. - * cp-decl2.c (grokfield): Don't specially hack static member - function names. + * rs6000/powerpc.h: Don't emit .extern directives. - * cp-except.c (cplus_expand_raise): Test correct predicate that we - have a non-null value return. - (cplus_expand_{throw,reraise}): Ditto. +Tue May 9 14:08:09 1995 Jim Wilson - * cp-typeck.c (c_expand_return): Handle case where named return - value has incomplete type. + * sh/lib1funcs.asm (__ashrsi3, __ashlsi3, __lshrsi3): Use .byte + instead of .word offsets in switch table. -Sun Jan 26 20:50:55 1992 Michael Tiemann (tiemann at cygnus.com) +Tue May 9 11:44:47 1995 Jeremy Bettis - * cp-parse.y (LC): Fix rule to use `push_obstacks_nochange'. - (structsp): Use `pop_obstacks'. + * objc/sendmsg.c (__objc_send_initialize): Call superclass if object + does not implement +initialize. + +Tue May 9 02:44:16 1995 Jason Merrill -Sun Jan 26 17:39:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rs6000/xm-rs6000.h (COLLECT_EXPORT_LIST): Define if not + cross-compiling. + * rs6000/xm-mach.h: #undef COLLECT_EXPORT_LIST. + * rs6000/rs6000.h (COLLECT_SCAN_OBJECTS): Lose. - * c-parse.y (LC): Use push_obstacks_nochange and always call - end_temporary_allocation. - (structsp, template_instantiate_once): After LC, use pop_obstacks. + * collect2.c (collect_exit): Unlink export_file. + (prefix_from_string): Broken out from prefix_from_env. + (prefix_from_env): Call it. + (main): Under AIX, recognize -bE: and -bexport:, and don't + automatically export everything if we see one. Otherwise, scan the + objects individually and add all their symbols to an export file to be + passed to the linker. + (write_export_file): New function. + (scan_prog_file): Ignore symbols starting with '.' - * c-decl.c (grokdeclarator): - Static function decl within a function is not external. + * c-common.c (declare_hidden_char_array): Mark decl artificial. -Sun Jan 26 08:14:53 1992 Michael Meissner (meissner at osf.org) +Mon May 8 18:13:57 1995 Adam Fedor - * mips.h (MIPS_VERSION): Bump meissner version # to 9. - (enum processor_type): Delete PROCESSOR_R2000, since a r2000 - schedules just like a r3000. - (mips_isa, mips_isa_string, mips_cpu_string): New global variables. - (MD_EXEC_PREFIX): If not defined, define as "/usr/lib/cmplrs/cc/". - (TARGET_SWTICHES macros): Move setting the processor from - TARGET_SWITCHES to TARGET_OPTIONS. Also, delete the -mfixed-ovrfl - switch, and move -mwc8/-mwc16 to not use any bits, since we can't - support these in GCC 2.00. Readjust the positions the bits are in. - (TARGET_OPTIONS): Define to add switches -mcpu=x to set which - processor type to schedule for, and -mipsx to specify the - instruction set architecture level. - (BRANCH_LIKELY_P): New macro, true if MIPS ISA >= 2. - (HAVE_64BIT_P): New macro, true if MIPS_ISA >= 3. - (HAVE_SQRT_P): New macro, true if MIPS_ISA >= 2. - (BRANCH_COST): Define as 2 if r4000/r6000, 1 otherwise. - (ASM_OUTPUT_SKIP): Eliminate OSF/1 gas work around. + * objc/init.c (_objc_load_callback): Add declaration. + (__objc_exec_class): Call _objc_load_callback after every Class + or Category is added. + * objc/objc-api.h (_objc_load_callback): Add declaration. - * mips.c (mips_isa, mips_isa_string, mips_cpu_string): New global - variables. - (print_options): Print CPU and ISA level. - (override_otpions): Handle TARGET_OPTIONS setting cpu and ISA. - (override_options, print_operand): %: is no longer supported, since - -mfixed-ovfl is eliminated. +Mon May 8 17:56:28 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * mips.md (type attribute): Add fsqrt. - (all define_function_units): Redo, to add full r6000 and r4000 - support, and to use the default case in case another processor type - is added. Also, tests against PROCESSOR_R2000 eliminated. - (add, subtract patterns): Delete use of %:. - (sqrtdf2, sqrtsf2): Define if the MIPS ISA >= 2. + * expr.c (expand_expr, case INDIRECT_REF): Set RTX_UNCHANGING_P + if both TREE_READONLY and TREE_STATIC set. - * decrose.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define these to - use the defaults on the OSF/1 reference platform. - (i386rose.h): Likewise. + * c-typeck.c (convert_for_assignment): Don't give errors about + adding const or volatile unless both sides point to functions. -Sun Jan 26 07:58:00 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Mon May 8 11:48:23 1995 Michael Meissner - * cse.c (cse_insn): Don't call insert_regs on a SUBREG. - When scanning table for SUBREG assignment, ignore invalid entries. + * configure: If ../ld/Makefile, symlink ../ld/ld.new to collect-ld, + not real-ld. Don't test for $use_collect2 any more. - * cse.c (cse_insn): When looking for first non-deleted entry in - table, start by scanning backwards from the deleted entry. +Sun May 7 17:52:23 1995 Jason Merrill - * function.c (assign_parms): Set current_function_return_rtx - unconditionally. - (expand_function_start): Don't set it here. + * calls.c (expand_call): Improve -Winline warnings. -Sat Jan 25 06:44:16 1992 Mark Eichin (eichin at cygnus.com) +Sun May 7 17:28:27 1995 DJ Delorie (dj@delorie.com) - * cp-decl.c (set_identifier_local_value): New function. Clone of - set_identifier_type_value, but uses level->shadowed instead. Only - used in pushdecl, where the non-global install was previously - setting the local value directly which "stuck" and didn't get - cleared the next time through. - (pushdecl): use set_identifier_type_value so that the local value - actually gets erased when we leave this level. Changed code that - checks for global_binding_level to recognize that if - class_binding_level is set, we're not in the global one. - (poplevel_class): restore shadowed list too, like poplevel does. - (print_binding_level): added no_print_functions and - no_print_builtins variables to eliminate clutter while trying to - debug binding level problems. + * configure.bat: Use "go32" instead of "msdos" for future expansion. -Fri Jan 24 18:03:36 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * i386/go32.h: Add support for win32's stdcall functions. - * tree.c (pop_momentary): Don't reference freed stack entry. + * configure.bat: Add ^M to end of each line. + * i386/config-nt.bat, alpha/config-nt.bat: Likewise. -Fri Jan 24 14:20:05 1992 Michael Tiemann (tiemann at cygnus.com) +Sun May 7 02:12:26 1995 Jason Merrill - * cp-parse.y (stmt): Call `define_case_label' for default label. - * cp-decl.c (current_function_return_value): New variable. - (define_{case_}label): Clear CURRENT_FUNCTION_RETURN_VALUE. - * cp-typeck.c (c_expand_return): Set CURRENT_FUNCTION_RETURN_VALUE. + * tree.h (DECL_ARTIFICIAL): New macro. - * cp-tree.c (lang_printable_name): Use DECL_RING, and don't free - the printable name for CURRENT_FUNCTION_DECL. + * function.c (expand_function_end): Don't warn about unused + anonymous or artificial parms. -Fri Jan 24 14:17:30 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri May 5 18:41:22 1995 Jim Meyering (meyering@comco.com) - * gvarargs.h: If _ANSI_H, undef _VA_LIST_. + * configure: Fix typo in name of "maintainer-clean". - * c-typeck.c (pointer_int_sum): Don't distribute * into pointer diff. +Fri May 5 14:58:01 1995 Jeffrey A. Law - * hp320.h (MD_STARTFILE_PREFIX): Defined. - (STANDARD_STARTFILE_PREFIX): Deleted. + * pa.c (emit_move_sequence): Force problematical constants + into memory during the reload pass when generating PIC. -Fri Jan 24 09:30:41 1992 Fred Fish (fnf at fishpond) +Fri May 5 13:30:33 1995 Doug Evans - * assert.h (__eprintf): Declare as prototype for __STDC__ + * objc/NXConstStr.m: NXConstantString.h renamed to NXConststr.h. -Fri Jan 24 05:28:53 1992 James Van Artsdalen (james at bigtex.cactus.org) +Fri May 5 07:10:15 1995 Stephen L Moshier (moshier@world.std.com) - * i386.md (jump,indirect_jump,tablejump): Don't output an align - directive here: let the following BARRIER do it. + * real.c (emdnorm, toe64, etoe64): Significand of Intel long double + denormals is shifted down one bit. -Thu Jan 23 11:54:11 1992 Ron Guilmette (rfg at ncd.com) +Fri May 5 07:04:12 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * i486v4.h: New file. + * c-typeck.c (process_init_element): Don't clear_momentary if + constructor_stack is not empty. -Thu Jan 23 20:34:22 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * objc/Makefile (SHELL): Now /bin/sh. - * fixinc.svr4: Surround uses of ${INPUT} with "" instead of '' - so that it will get expanded. + * c-typeck.c (build_binary_op): Also warn about ordered + comparison of pointer with zero if -Wall. -Thu Jan 23 17:50:13 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * expr.c (do_jump, case EQ_EXPR, NE_EXPR): Properly compare complex. - * cse.c (qty_mode): New variable. - (reg_rtx): Deleted. - (hard_regs_in_table, regs_invalidate_by_call): New variables. - (new_basic_block): Clear hard_regs_in_table. - (delete_reg_equiv): New name for reg_invalidate; don't update reg_tick. - (mention_regs): Don't set reg_rtx. - Update reg_tick for all registers in a multi-register hard register - reference. - (insert_regs): Don't do anything special with SUBREG. - Only insert register in a class if it is the same mode. - Don't set reg_rtx; set qty_mode instead. - (insert): Update hard_regs_in_table. - Get constant equivalence in proper mode. - (merge_equiv_classes): Call delete_reg_equiv. - (invalidate): Call delete_reg_equiv and update reg_tick. - Invalidate all parts of multi-word hard regs and invalidate - any multi-word hard reg overlapping what we are to invalidate. - Only look at constant in proper mode. - (remove_invalid_refs): Use refers_to_regno_p. - (invalidate_for_call): New function. - (canon_hash, refers_to_mem_p, fold_rtx, equiv_constant): Look at - constant in proper mode. - (cse_rtx_addr_varies_p, cse_process_notes): Likewise. - (exp_equiv_p): Likewise. - Check reg_tick for all parts of multi-word hard register. - (canon_reg): Don't use reg_rtx; get register from regno_reg_rtx or - build hard reg in proper mode. - (record_jump_equiv): Split into two pieces. - (record_jump_cond): Second part of record_jump_equiv; make recursive - call to some equivalences if args are SUBREGs. - (cse_insn): Only replace register with equivalent if proper mode; - don't use reg_rtx. - Call invalidate_for_call. - Don't avoid call to gen_lowpart for hard register. - Make a SUBREG if gen_lowpart_if_possible fails for SUBREG - assignment. - (invalidate_from_clobbers): Update reg_tick of SP; invalidate - REG entry in table, if present; use stack_pointer_rtx. - (cse_main): Don't allocate reg_rtx. - Initialize regs_invalidated_by_calls. - (cse_basic_block): Allocate qty_mode. +Thu May 4 18:01:25 1995 Philippe De Muyter (phdm@info.ucl.ac.be) + + * objc/Makefile: NXConstantString renamed to NXConstStr. + * objc/NXConstStr.m: Renamed from objc/NXConstantString.m. + * objc/NXConstStr.h: Renamed from objc/NXConstantString.h. + +Thu May 4 17:38:21 1995 J.T. Conklin + + * configure (vax-*-netbsd*): New configuration. + * vax/netbsd.h, vax/xm-netbsd.h: New files. + +Thu May 4 16:39:05 1995 Jason Merrill + + * collect2.c (main): Add check for 'collect-ld', just like + 'real-ld', except that old versions won't be looking for it in the + path. Don't look for 'real-ld' in the path anymore. Sigh. + + * collect2.c: #include demangle.h and obstack.h. + (obstack_chunk_alloc): Define. + (obstack_chunk_free): Define. + (generic): Don't define. Don't use. + (main): Initialize obstacks and demangling. + + * collect2.c (dump_file): Adjust space padding in output to + maintain tabulation with Solaris ld. Don't demangle if the + environment variable COLLECT_NO_DEMANGLE is set. - * rs6000.h (ADDITIONAL_REGISTER_NAMES): Add so we can disambiguate - fixed and floating registers. + * collect2.c (main): Redirect the output of the first link and + demangle it. Don't collect static c/dtors unless USE_COLLECT2 is + defined. Null-terminate the list of objects. + (dump_file): New function. + (file_exists): New function. + (collect_exit): Renamed from my_exit. Dump and remove the temporary + ld output file. + (collect_execute): Break out from fork_execute. Support redirection. + (fork_execute): Call it. + (fatal_perror, fatal, error): Make non-static. + (xcalloc, xmalloc): Don't use generic. + (xrealloc): Define. + (collect_wait): Break out for do_wait. Just return the exit status. + (do_wait): Call it. - * rs6000.md (ashrdi3): Reject all but constant shift counts. + * collect2.c: Check SUNOS4_SHARED_LIBRARIES using #if, not #ifdef. - * jump.c (simplejump_p): Don't access PATTERN unless we know it is - a JUMP_INSN. + * Makefile.in (collect2): Now uses cplus-dem.o and underscore.o. + (collect2.o): Pass MAYBE_USE_COLLECT2 to compile. + (underscore.c): Rules for creation. - * combine.c (get_last_value): Don't do a recursive call for a - paradoxical SUBREG. + * cplus-dem.c, demangle.h: Copy from libiberty. - * jump.c (jump_optimize): In "if (...) x = a; else x = b;", - don't move "x = b;" if it has non-trivial REG_NOTES. Also, allow - B to be any constant, not just a CONT_INT. +Thu May 4 14:12:35 1995 Jim Wilson - * stor-layout.c (layout_type): Handle alignment for arrays the same - as we do for records and unions. + * sdbout.c (plain_type): Pass additional argument to plain_type_1. + (plain_type_1): New parameter level. Increment it when making + recursive calls. Force the type to void_type_mode before starting + a 7th level of recursion. - * calls.c (expand_call): Ignore `const' on void functions. + * sh.c (general_movsrc_operand, general_movdst_operand): Delete + references to POST_DEC and PRE_INC. + * sh.h: Clean up whitespace, comments, etc. + (TARGET_SH, RTL_BIT, DT_BIT, C_BIT, R_BIT, TARGET_DUMP_RTL, + TARGET_DUMP_R, TARGET_CDUMP): Delete. + (TARGET_SWITCHES): Delete -mR, -mc, -mr options. + (CONST_DOUBLE_OK_FOR_LETTER_P): Delete 'G' contraint. + (FUNCTION_VALUE): Simplify. + (REG_OK_FOR_PRE_POST_P, IS_INDEX): Delete. + (BASE_REGISTER_RTX_P, INDEX_REGISTER_RTX_P): Rewrite to allow + SUBREGs. + (GO_IF_LEGITIMATE_INDEX): Delete unused REGNO argument. + (GO_IF_LEGITIMATE_ADDRESS): Use BASE_REGISTER_RTX_P instead of + REG_OK_FOR_PRE_POST_P. Don't accept PRE_INC or POST_DEC addresses. + (PREDICATE_CODES, PROMOTE_MODE): Define. - * i860.c: Include recog.c. - Remove many explicit declaration of vars from include files. - (i860_compare_op[01]): Define these here. - * i860.h (i860_compare_op[01]): Add declarations. - * i860.md (compare, branch): Rework to use define_expand for cmpxx. - Compare just saves operands in i860_compare_op[01]. Branch emits - both insns using the saved operands. +Wed May 3 09:57:55 1995 Michael Meissner - * i860.h (PREFERRED_RELOAD_CLASS): Handle FP registers and constants. - (SECONDARY_INPUT_RELOAD_CLASS): We need a scratch register to copy - an integer constant to a floating-point register. - * i860.md (addsi3, subsi3): Allow use of floating registers. + * rs6000/rs6000.md (non power abs insns): If not powerpc, use + sf/subfc instructions, not subf. -Thu Jan 23 13:33:40 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed May 3 08:49:06 1995 Alan Modra - * i386v4.h (CPP_PREDEFINES): Don't define X86. + * protoize.c (gen_aux_info_file): Use strerror #ifdef HAVE_STRERROR. - * c-lex.c (readescape): Warn for \a and \x if warn_traditional. - Handle \v as vertical tab regardless of -traditional. +Wed May 3 01:06:01 1995 Jeffrey A. Law - * fixincludes, fixinc.svr4: Make LIB absolute, near the beginning. + * pa.c (output_call): Fix typo/thinko in last change. + (output_function_epilogue): Align the data section before + emitting deferred plabels. - * fixincludes: Simplify egrep command while matching the same lines - (plus occasional additional lines). + From Torbjorn: + * pa.c (before functions): Declare deferred_plabels and + n_deferred_plabels. + (output_call): When generating pic, don't use LP and RP. Use 32 bit + plabel instead. + (output_function_epilogue): Output plabels accumulated in output_call. - * function.c (fixup_memory_subreg): New arg UNCRITICAL. Calls changed. +Tue May 2 17:15:08 1995 Jeffrey A. Law - * gcc.c (process_command): Handle LPATH like LIBRARY_PATH. + * pa.c (hppa_expand_epilogue): Fix thinko in last change. - * svr3.h (ASM_LONG): Deleted. +Tue May 2 16:54:35 1995 Doug Evans - * gvarargs.h: Ignore _VA_LIST_ if _ANSI_H_; - don't define _VA_LIST_ if already defined. + * jump.c (jump_optimize, can_reach_end determination): A barrier can + follow the return insn. -Thu Jan 23 09:10:52 1992 Tom Wood (wood at dg-rtp.dg.com) +Tue May 2 12:39:55 1995 Mike Stump - * m88kluna.h (includes): Include aoutos.h. + * fold-const.c (fold): Ensure that we don't alter the expression's + type when folding CLEANUP_POINT_EXPRs. -Thu Jan 23 09:10:52 1992 Ron Guilmette (rfg at ncd.com) +Tue May 2 13:36:08 1995 Michael Meissner - * va-i860.h (__savereg): Fix typo. + * expmed.c (emit_store_flag): When creating store flag + instructions from simpler parts, such as XOR, ABS, etc. do not + reuse pseudo registers if expensive optimizations, instead create new + pseudos for each insn result. - * i860.h (PREDICATE_CODES): Added definition. +Tue May 2 01:25:29 1995 Jeffrey A. Law - * i386v4.h (ASM_FILE_START): Definition added which generates - .version directive. + * pa.c (hppa_expand_epilogue): Correctly handle restore of %rp + for functions with a stack size of exactly 8kbytes and no frame + pointer. -Wed Jan 22 23:15:45 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) +Mon May 1 19:27:08 1995 Jim Wilson - * make-cc1.com: Predefine symbols for "rename" and "bison"; always - generate c-parse.h when generating c-parse.c. + * sdbout.c (sdbout_one_type): Don't switch to text section if + in function with section attribute. -Wed Jan 22 20:01:11 1992 Per Bothner (bothner at cygnus.com) + * combine.c (combine_instrutions): Set subst_prev_insn to zero. + (try_combine, undo_all): Likewise. + (get_last_value): Return zero if subst_prev_insn set. - * sdbout.c (sdbout_record_type_name): Use typedef names - for C++. (A kludge.) - * sdbout.c (sdbout_one_type): Emit base classes as - dummy fields, just like dbxout.c when not using gdb extensions. + * sparc.h (INIT_TARGET_OPTABS): Move INIT_SUBTARGET_OPTABS to end. -Wed Jan 22 20:01:11 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * Makefile.in (install-dir): chmod a+rx all newly created directories. - * fixincludes: Surround uses of ${INPUT} with "" instead of '' - so that it will get expanded. + * expr.c (expand_expr, case SAVE_EXPR): Handle the case where + mode is VOIDmode. - * gcc.c (default_compilers): For c++, define __GNUG__ to 2, and - pass -trigraphs. +Fri Apr 28 15:39:38 1995 Per Bothner - * cccp.1, cpp.1, gcc.1, g++.1: Delete more RCS variables. + * cpplib.h (cpp_buffer): Note new escape combination "@ ". + * cpplib.c (macroexpand): Delete "@ " if stringifying. + (cpp_skip_hspace): Also skip "@ " if input buffer has_escapes. + (collect_expansion): Cleanup white-space handling. + (create_definition): Remove all leading spaces, not just first one. + (cpp_expand_to_buffer): Set has_escapes on resulting input buffer. + (macroexpand): Set output_escapes during whole function (and + specifically during calls of macarg). + (macroexpand): Set "@ " before and after expansion result. + (push_macro_expansion): Remove unneeded initial "@ ", not " ". + (cpp_get_token): Remove unneeded "@ " (not " ") at end of expansion. + (cpp_get_token): Handle "@ ". -Wed Jan 22 19:02:06 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cpplib.c (read_name_map): Add cpp_reader parameter. Access + map_list from former (instead of having it be static). + (open_include_file): Extra parameter (because of above changes). + (do_include, lookup_import): Update calls of open_include_file. - * combine.c (simplify_shift_const, case ASHIFT): If we will - be suppressing a sign extension because the upper bits are - already the same, verify that the operand is in the same - mode as we will be doing the shift; don't ignore a SUBREG - inside the inner SHIFT. + * cpplib.c (do_include): Fix memory leak. -Wed Jan 22 09:25:07 1992 Tom Wood (wood at dg-rtp.dg.com) + * cpplib.c (delete_assertion): Also delete tokenlist. + (do_unassert): Don't delete tokenlist (handled by delete_assertion). + (cpp_cleanup): New function. Frees resources used by a cpp_reader. + * cpphash.c (cpp_hash_cleanup): New function. + (delete_macro): Enable commented-out code. + (file_cleanup): Free actual buffer. - * c-typeck.c (comp_target_types): Make decl static. - Don't forget to return the value. - (function_types_compatible_p, comptypes): Initialize `val'. + * cpplib.c (cpp_options): Add map_list. -Tue Jan 21 13:29:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cpplib.h (PARSE_GETC): Removed. Bogus and unused. + * cppmain.c (main): Remove commented-out code that used PARSE_GETC. - * cross-make (ALL): Override with definition it here. - * configure: Don't edit its value explicitly here. + * cpplib.c: Don't #include . Causes clashes + on Nextstep (when index/rindex are macros). + (cpp_grow_buffer, int_parse_file): Cast to U_CHAR*, rather than char*. - * crtstuff.c (__do_global_ctors): Include DO_GLOBAL_CTORS_BODY - in crtend.o, not in crtbegin.o. +Sun Apr 30 08:11:23 1995 Alan Modra (alan@spri.levels.unisa.edu.au) - * svr3.h: Prepare to use with i386. - (PCC_BITFIELD_TYPE_MATTERS): Definition deleted. - This pertains to the individual cpu types. - (ASM_SHORT, ASM_LONG, ASM_DOUBLE): Likewise. - (DBX_DEBUGGING_INFO): Undef this. - (DBX_REGISTER_NUMBER): Deleted the #undef. - (STARTFILE_SPEC, LINK_SPEC, LIB_SPEC): Deleted. - * i860v3.h (STARTFILE_SPEC, LINK_SPEC, LIB_SPEC): New definitions. + * stdarg.h, varargs.h (va_arg): Don't assume __va_rounded_size (char) + has the value of 4. - * att386.h: Coexist with svr3.h. - (ASM_FILE_START): Deleted. - (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise. - (ASM_BYTE_OP, NO_DOLLAR_IN_LABEL): Likewise. - (ASM_OUTPUT_LABELREF): Undef before defining. - (ASM_FILE_START_1): Undef before defining. - (EXTRA_SECTION_FUNCTIONS): Deleted. - (BSS_SECTION_FUNCTION): New macro; defines bss_section. +Sun Apr 30 07:13:43 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * i386v.h, aix386.h: Include svr3.h. - (SCCS_DIRECTIVE, ASM_OUTPUT_IDENT): Deleted. - (TARGET_MEM_FUNCTIONS): Deleted. - (SDB_DEBUGGING_INFO, DBX_DEBUGGING_INFO): Deleted. + * vax.h (NOTICE_UPDATE_CC): Correctly handle aob insns. - * Support constructors and destructors on svr3. From james@bigtex. - * i386v.h, aix386.h (STARTFILE_SPEC): Use crtbegin.o after crt1.o. - (LIB_SPEC): Use crtend.o before crtn.o. - (CTORS_SECTION_ASM_OP, ASM_OUTPUT_CONSTRUCTOR): New macros. - (INIT_SECTION_ASM_OP): Likewise. - * svr3.h (DTORS_SECTION_ASM_OP): New macros. - (DO_GLOBAL_CTORS_BODY): New macro. - (EXTRA_SECTIONS,EXTRA_SECTION_FUNCTIONS): Use .init and .fini - sections in addition to .bss. - ({INIT,FINI}_SECTION_FUNCTION): New macros for *_section functions. - ({CTORS,DTORS}_SECTION_FUNCTION): Macros deleted. - (ASM_OUTPUT_CONSTRUCTOR): Deleted. - (ASM_OUTPUT_DESTRUCTOR): Use ASM_LONG. - (INT_ASM_OP): Deleted. + * expr.c (expand_expr, case CONSTRUCTOR): Don't set target to + zero if more then one word. + Pass size and alignment to move_by_pieces_ninsns in bytes, not bits. - * c-typeck.c (default_conversion): Don't use initial value if BLKmode. - If do use the initial value, update `type'. + * cse.c (cse_insn): Properly set IN_MEMORY for SET_DEST. - * arm.h (STRUCTURE_SIZE_BOUNDARY): New definition. + * tree.c (substitute_in_expr): Preserve TREE_READONLY. - * stor-layout.c (layout_type): Ignore MAX_FIXED_MODE_SIZE for integers. + * c-common.c (enum attrs): Add A_UNUSED. + (init_attributes): Initialize it. + (decl_attributes, case A_UNUSED): New case. - * ultrix.h (SIZE_TYPE): Use `unsigned int'. - * Makefile.in (install-common): Add missing -f in rm. - (install-fixincludes): Install the README file. +Sat Apr 29 15:42:03 1995 Paul Eggert - * fixincludes: Don't match on size_t, etc., since we don't actually - change them. + * cccp.c (do_include): Re-fix minor memory leak by using + alloca instead of xmalloc and free. -Mon Jan 20 23:22:45 1992 Michael Tiemann (tiemann at cygnus.com) + * cccp.c (macarg): Except for reporting error, treat unterminated + macro call as if it were terminated, since `macroexpand' relies + on *argptr being filled in. - * cp-call.c (ideal_candidate): Don't see two functions as ambiguous - if one is argument-by-argument equivalent or better than another. +Sat Apr 29 06:09:35 1995 Torbjorn Granlund -Mon Jan 20 14:08:06 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * pa.c (output_mul_insn): Simplify, it is never called with + UNSIGNEDP set. - * toplev.c (strip_off_ending): Add ".ada". + * pa.md (divsi3, udivsi3, modsi3, umodsi3): Simplify. + (ashlsi3): Clean up indentation and commentary. -Mon Jan 20 13:53:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Apr 28 12:48:01 1995 Jason Merrill - * protoize.c (xfree): No longer static. + * integrate.c (expand_inline_function): Don't emit any notes until + after we've expanded the actual parameters. - * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Allow tm.h to override. +Fri Apr 28 11:51:06 1995 Stan Cox (gcc@dg-rtp.dg.com) - * final.c (leaf_renumber_regs_insn): Do just the pattern of an insn. + * m88k/dgux.h: (ENDFILE_SPEC, LIB_SPEC) Fix crtbegin and crtend + (SELECT_RTX_SECTION) Put relocatable pic constants in data section - * pyr.h (PCC_BITFIELD_TYPE_MATTERS): Defined. - (STRUCTURE_SIZE_BOUNDARY): Deleted. + * m88k/dguxbcs.h: (LIB_SPEC) Likewise - * mips.c: Clean up spacing around square brackets. + * m88k/m88k.c: (symbolic_operand) Put relocatable pic constants in data - * c-typeck.c (convert_arguments): - Get rid of feature to convert to a tagless union type. - (common_type): Add pedantic warning. - (comptypes, function_types_compatible_p): Return 2 meaning warn. - (comp_target_types): Do the warning here. - (type_lists_compatible_p): New function. + * m88k/m88k.h: (FRAME_POINTER_REQUIRED) Add -momit-leaf-frame-pointer -Sun Jan 19 17:32:19 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * m88k/m88k.md: (umulsidi3) Doesn't work for 88110 with mod/div changes - * reload1.c (emit_reload_insns): Fix typos when checking for secondary - icode. + * m88k/x-dgux: (GCC_FOR_TARGET) tdesc gets mixed up for crtbegin/crtend -Sun Jan 19 15:28:53 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Apr 28 06:36:47 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * global-alloc.c (global_alloc): If LEAF_REGISTERS, those are the - regs that cost nothing to save, for setting regs_already_used. + * c-typeck.c (pop_init_level, output_init_element): Pass + require_constant_* to digest_init. - * expr.c (expand_builtin): Preserve function value reg - around the call to __builtin_saveregs. + * alpha.c (alpha_emit_set_const): Now returns rtx and take MODE arg. + Rework to use a new pseudo for intermediate values if high opt level. + Also use expand_{bin,un}op. + * alpha.h (alpha_emit_set_const): Add declaration. + * alpha.md (mov[sd]i and splits): Change call to alpha_emit_set_const. - * configure (mips-sgi-irix4*, mips-sgi-irix*): Set install_with_cp. + * reg-stack.c (stack_result): Fix bug in last change. - * c-decl.c (start_function): - Check properly for `static' function in handling -Wmissing-prototypes. +Fri Apr 28 01:08:43 1995 Doug Evans - * libgcc2.c (__main): Omit this fn if INIT_SECTION_ASM_OP. + * objc-act.c: Update calls to start_decl, finish_struct, + pass NULLs for attributes. -Sun Jan 19 13:23:13 1992 Fred Fish (fnf at sunfish) +Thu Apr 27 21:13:14 1995 Doug Evans - * amix.h (ASM_OUTPUT_ASCII): Override version in svr4.h. + * sparc.md (tablejump): Only if ! TARGET_MEDANY. + (casesi): New pattern for TARGET_MEDANY case. -Sun Jan 19 13:16:56 1992 Michael Tiemann (tiemann at cygnus.com) + * c-common.c (decl_attributes): Always continue if attribute not found. + * c-typeck.c (common_type): Call lookup_attribute instead of + value_member. + * tree.c (attribute_hash_list): New function. + (build_type_attribute_variant): Call it. + (valid_machine_attribute): Handle attributes with arguments. + (is_attribute_p): New function. + (lookup_attribute): New function. + (attribute_in_list): Deleted. + (attribute_list_contained): Check TREE_PURPOSE and TREE_VALUE. + * tree.h (valid_machine_attribute): Add prototype. + (is_attribute_p, lookup_attribute): Likewise. + * i386/winnt.h (RETURN_POPS_ARGS): Call lookup_attribute. + (ENCODE_SECTION_INFO): Likewise. + (CPP_PREDEFINES): Use __stdcall__, __cdecl__. + (VALID_MACHINE_DECL_ATTRIBUTE): Call is_attribute_p. + `args' must be NULL. - * cp-search.c (lookup_field): Accept IS_AGGR_TYPE_CODE, not - just == RECORD_TYPE. +Thu Apr 27 21:10:41 1995 David Edelsohn - * cp-class.c (finish_struct): Clear a tentative setting of - DECL_BIT_FIELD. + * rs6000.md (insv): New anonymous patterns to combine insert with + arbitrary ashift, ashiftrt, lshiftrt, or zero_extract. (Based on + patch from John Brooks .) + (ashlsi3): Remove extraneous operand processing. - * cp-decl.c (start_decl): Don't call `pushclass' for incomplete - CONTEXT. +Thu Apr 27 18:47:24 1995 Jim Wilson - * cp-typeck.c (comp_target_types): Call `comp_target_parms' with - STRICT == 0, not -1. - (build_conditional_expr): Check that the target types of TYPE1 and - TYPE2 are aggr type before calling `common_base_type'. + * sh/ashlsi3.c, sh/ashrsi3.c, sh/lshrsi3.c: Delete. + * sh/lib1funcs.asm (ashiftrt_r4_*): Rewrite for efficiency. + (ashrsi3, lshrsi3, lshrsi3): Add. + * t-sh (LIB1ASMFUNCS): Add new functions. + (LIBGCC2_CFLAGS): Delete. + (LIB2FUNCS_EXTRA): Remove deleted files. + (ashlsi3.c, ashrsi3.c, lshrsi3.c): Remove rules for deleted files. -Sun Jan 19 04:10:16 1992 James Van Artsdalen (james at bigtex.cactus.org) + * stmt.c (expand_return): When returning BLKmode structure, use + operand_subword instead of doing arithmetic on the register number. + Also, for structures smaller than word_mode, copy it into a word_mode + temporary and then subreg it. - * configure: Fix typo inserting INSTALL=cp into makefile. + * sparc.md: Delete two define_peepholes which print `bad peephole'. -Sat Jan 18 12:06:58 1992 Michael Tiemann (tiemann at cygnus.com) +Thu Apr 27 16:17:01 1995 Torbjorn Granlund - * cp-lex.c (build_with_cleanup): Delete obsolete function. - * cp-tree.c (break_out_cleanups): New function. - * cp-decl.c (cplus_expand_expr): Call `break_out_cleanups'. - * cp-typeck.c (build_compound_expr): Ditto. + * toplev.c (rest_of_compilation): Call shorten_branches even when + !optimize. + * final.c (shorten_branches): For non-optimizing compiles, break + after first pass. - * cp-call.c (convert_harshness): Make any inheritance relationship - preferable to a void* conversion. - * cp-tree.h (CLASSTYPE_MAX_DEPTH): New macro. - * cp-class.c (finish_struct_bits): Set CLASSTYPE_MAX_DEPTH. +Thu Apr 27 14:22:50 1995 Michael Meissner - * cp-cvt.c (build_up_reference): Don't return in ARRAY_REF case, - since we may need to adjust the return value for complex - inheritance. + * i386/linux-oldld.h: New file, that is cloned from linux-aout.h, + except that it does not pass -m i386linux to the linker. This is + to support the original Linux ld that is on most distributions. - * cp-decl2.c (lang_f_options): Add recognizers for -f{no-}builtin, - -f{no-}ident, and -ansi. Also, remove unnecessary "no-*" forms. + * configure (i[345]86-*-linux*oldld*): Use i386/linux-oldld.h as + the target file. - * cp-init.c (emit_base_init): If PEDANTIC, don't let base - initializers leak up the hierarchy. +Thu Apr 27 08:56:50 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-parse.y (structsp): Disable gratuitous error message. + * tree.c (valid_machine_attribute): Update last change. - * cp-call.c (convert_harshness): Don't overlook PENALTY when - signed/unsigned differences are noted (in both POINTER_TYPE and - REFERENCE_TYPE cases). +Thu Apr 27 08:06:33 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * toplev.c (strip_off_ending): Grok ".ii" endings (C++ preprocessed - files). + * fix-header.c, cpplib.c: Don't include twice. + * cpplib.c (cpp_grow_buffer, init_parse_file): Cast {xmalloc,xrealloc} + for token_buffer to U_CHAR* instead of char*. - * cp-typeck.c (build_component_ref): Add special handler when - COMPONENT is the CLASSTYPE_VFIELD name for BASETYPE. + * m68k/x-mot3300: New file. + * configure (m68k-motorola-sysv*): Use x-mot3300 instead of x-alloca. -Sat Jan 18 08:29:58 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Thu Apr 27 07:04:09 1995 Paul Eggert - * cse.c (cse_insn): Don't make constant pool entries in MODE_CC modes. + * cccp.c (do_include): Fix minor memory leak. -Sat Jan 18 00:28:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cccp.c (struct argdata): Remove unused `comments' member. + (macarg): Don't set `comments' member. - * Makefile.in (install-common): Fix typo installing gcc. + * cccp.c (collect_expansion): Assume leading white space + already removed. + Don't allocate unnecessary space for expansion. + + * cccp.c (deps_output): Don't generate overly long output lines. + Do not invoke self recursively with spacer == 0; this simplifies + the code a bit. + +Wed Apr 26 19:20:02 1995 Andrew McCallum + + * objc/Object.h: Changed Class * to Class in order to match NEXTSTEP + and OpenStep runtime. + * objc/Object.m, objc/Object.h, objc/archive.c, objc/class.c: Likewise. + * objc/encoding.c, objc/init.c, objc/objc-api.h, objc/objc.h: Likewise. + * objc/objects.c, objc/runtime.h, objc/selector.c: Likewise. + * objc/sendmsg.c, objc/typedstream.h: Likewise. + +Wed Apr 26 19:18:52 1995 Pieter Schoenmakers + + * objc/objc-api.h (objc_static_instances): New struct to record + static instances of a certain class. + (objc_module): New tag STATICS to point to the table of + objc_statics_instances. + + * objc/init.c (OBJC_VERSION): Version 7. + (objc_init_statics): New function. + (__objc_exec_class): Invoke objc_init_statics if needed. + + * objc/NXConstantString.m, objc/NXConstantString.h: New files. + * objc/Makefile (OBJC_O): Added bare-bones implementation of + NXConstantString. + + * objc-act.c (OBJC_VERSION): Version 7. + (build_objc_string_object): Build a full declaration if not using + the next runtime. + (objc_add_static_instance): New function. + (init_module_descriptor): Add reference to static instances table. + (build_module_descriptor): Add field for static instances table. + (get_objc_string_decl): New function. + (generate_static_references): New function. + (finish_objc): Call generate_static_references if needed. + + * c-tree.h (finish_decl_top_level): New declaration. + * c-decl.c (finish_decl_top_level): New function. + +Wed Apr 26 18:04:32 1995 Dirk Steinberg (Dirk.Steinberg@gmd.de) + + * stddef.h: Treat _MACHINE_ANSI_H_ like _ANSI_H_. + +Wed Apr 26 14:09:59 1995 Jim Wilson + + * sparc.h (NEGTF2_LIBCALL): Define. + (INIT_TARGET_OPTABS): Add support for all TFmode *_LIBCALL macros. + * optabs.c (init_optabs): Delete all uses of undocumented TImode and + TFmode *_LIBCALL macros. + + * combine.c (simplify_rtx, case TRUNCATE): Add. Use force_to_mode. + (force_to_mode, case AND): Allow some simplifications when GET_MODE (x) + has more bits than HOST_BITS_PER_WIDE_INT. + * mips/mips.md (truncdiqi2+[456]): Add patterns to simplify ZERO_EXTEND + of a TRUNCATE. + +Wed Apr 26 13:01:22 1995 Doug Evans + + * sparc.md (memop define_splits): Rewrite to not use memop. + Preserve MEM_IN_STRUCT_P, MEM_VOLATILE_P, RTX_UNCHANGING_P bits. + * sparc.c (memop): Deleted. + (splittable_symbolic_memory_operand): New function. + (splittable_immediate_memory_operand): New function. + +Wed Apr 26 12:54:26 1995 Jeffrey A. Law + + * configure: Add hppa1.1-hp-lites support. + +Wed Apr 26 08:04:46 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * sh.md (ashrsi2_31): Don't use dead_or_set_p after reload. + * pyr.md: Remove bad peepholes that improperly use dead_or_set_p. + + * function.c (expand_function_end): Warn about unused parms + if both -Wunused and -W. + + * tree.h (TYPE_PARSE_INFO): Delete unused field. + (TYPE_PACKED): Add new macro. + (struct tree_type): Delete unused field `parse_info'. + Add new field `packed_flag'. + * c-tree.h (finish_enum, finish_struct): Add ATTRIBUTES argument. + * c-common.c (init_attributes): Don't require decl for A_PACKED. + (decl_attributes, case A_PACKED): Set TYPE_PACKED for type. + * c-parse.in: Update number of shift/reduce conflicts. + (structsp): Pass attribute arg to finish_struct. + Support attributes on enums and pass to finish_enum. + * c-decl.c (finish_struct): Add ATTRIBUTES argument, call + decl_attributes and set DECL_PACKED from TYPE_PACKED. + (finish_enum): Add ATTRIBUTES argument, call decl_attributes, + and make enum narrow if TYPE_PACKED. + * print-tree.c (print_node): Print TYPE_PACKED. + + * c-decl.c (init_decl_processing): Don't give builtin__constant_p an + argument type. + * expr.c (expand_builtin, case BUILT_IN_CONSTANT_P): A pointer to a + string constant is a constant. + + * c-typeck.c (output_init_element): Constructor is not simple if + a bitfield is being assigned a non-integer. + + * c-typeck.c (push_init_level): Update constructor_depth when we + push spelling level. + +Tue Apr 25 19:50:06 1995 Jeffrey A. Law + + * pa.c (emit_move_sequence): Handle function label arithmetic for + PIC code generation too. + +Tue Apr 25 18:52:43 1995 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de) + + * reg-stack.c (current_function_returns_real): Deleted (unused). + (FP_mode_reg): Trimmed to a smaller size, less overhead. + (FP_MODE_REG): New macro over which FP_mode_reg will be accessed. + (mark_regs_pat, straighten_stack): New functions. + (reg_to_stack): Amend initialisation of FP_mode_reg. + Mark FP registers mentioned in USE insns before NOTE_INSN_FUNCTION_BEG. + (get_true_reg): Eliminate FP subreg accesses in favour of the + actual FP register in use. + (record_reg_life_pat): Make it work on SUBREGs as well. Make use of + the new mark_regs_pat function. Handle USE insns if called unnested. + (record_reg_life): Don't check for QImode again, we know that it + is there. Process CALL_INSNs like all other insns, they might `use' + some FP argument registers if register passing. + (stack_result_p): Changed in stack_result and returning an rtx. + (stack_reg_life_analysis): Take a new stackentry state argument. + Use stack_result and the rtx to mark using mark_regs_pat. This ensures + that types that need multiple FP registers are handled correctly. + Delete the no_live_regs shortcut to save space. + Use stackentry state to determine filled registers. + (replace_reg): Accept COMPLEX_FLOAT as well. + (move_for_stack_reg): Optimise away some pointer dereferencing. + (subst_stack_regs): Make sure the stack is in the right order + and of the right size for register passing. + (goto_block_pat): Make sure the stack is in the right order + to return possible multi-register values from the function. + (convert_regs): Fix comment about CALL_INSN, it's no longer valid. + Make sure the stack is of the right size and in the right order + to return possible multi-register values from the function. + + * function.c (assign_parms): If STACK_REGS is defined, generate USE + insns before the function body, thus showing which registers are filled + with parameters. + * expr.c (expand_builtin_apply_args): Likewise. + Reverse order of saving registers, more compact code for i387. + (expand_builtin_apply): Likewise. + * emit-rtl.c (gen_highpart): Add comment about broken implementation. + * i386.md (untyped_call): Make it return a complex double. + + * c-parse.in (attrib): Permit null-length argument list to attributes. + + * tree.c (valid_machine_attribute): Use new function attribute_in_list, + makes sure type_attribute_variants are reused even when attributes have + parameters. + Assign any new type to TREE_TYPE (decl). + (attribute_in_list): New function. + (attribute_list_contained): Use it. + * tree.h (attribute_in_list): New declaration. + +Tue Apr 25 18:25:53 1995 Jim Wilson + + * expr.c (struct move_by_pieces): Add to_struct and from_struct fields. + (move_by_pieces): Set to_struct and from_struct fields. + (move_by_pieces_1): Set MEM_IN_STRUCT_P of to1 and from1. + (expand_builtin, case BUILT_IN_MEMCPY): New variable type. + Set MEM_IN_STRUCT_P of src_mem and dest_mem. + + * Makefile.in (clean): Delete libgcc1-asm.a. + + * m68k/vxm68k.h (CPP_SPEC): Define. + + * c-decl.c (pushdecl): Don't test DECL_EXTERNAL when deciding whether + to register a duplicate decl in the current block. + + * cross64.h (INIT_ENVIRONMENT): Define as string not putenv call. + * gcc.c (main): Pass INIT_ENVIRONMENT to putenv. + + * stmt.c (expand_return): When returning BLKmode structure in + registers, copy it to a psuedo-reg instead of to hard registers. + +Tue Apr 25 15:14:58 1995 Michael Meissner + + * rs6000.h (LEGITIMIZE_ADDRESS): Don't create a DF address using two + regs if -msoft-float or -mcpu=403. + +Tue Apr 25 15:45:44 1995 Richard Henderson (richard@atheist.tamu.edu) + + * m68k.md (divhi3, udivhi3, modhi3, umodhi3): Deleted + these insns plus some surrounding trash. + (divmodhi4, udivmodhi4): Added these insns. + +Tue Apr 25 10:12:40 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * alpha.c (alpha_builtin_saveregs): Refine last change to work + for both stdarg and varargs. + + * tree.c (chain_member_purpose): Make similar to chain_member_value. + + * Makefile.in, configure: Change "realclean" to "maintainer-clean". + + * protoize.c: Removed __NetBSD__ from conditional. + Declare strerror if HAVE_STRERROR is defined; otherwise + declare sys_errlist and sys_nerr. + (my_strerror): New function. + (errno): Don't define if already defined as a macro. - * crds.h, isi.h, newpbb.h, tti68k.h: Add #error because -m68000 - will cause a crash (I think), to ask people what to do. + * alpha.c (current_file_function_operand): Return false if profiling. + + * expr.c (convert_move): Don't access a hard reg in an invalid + mode when doing a truncation. + + * alpha.c (add_operand): Test for exactly the constants allowed by + the constraints. + * alpha.h (CONST_OK_FOR_LETTER_P, case 'L'): Reject 0x80000000. + + * c-parse.in (initdcl, notype_initdcl): Pass attributes to + start_decl; delete call to decl_attributes. + * c-tree.h (start_decl): Two new tree parameters. + * c-decl.c (start_decl): New args for attributes; call decl_attributes. + + * c-decl.c (duplicate_decls): Don't look at TYPE_ACTUAL_ARG_TYPES + if it is not set. + + * xm-1750a.h: New file. + + * alpha.c (alpha_builtin_saveregs): Add to incoming args addr + if less than 6 named args, not less than or equal to. + +Mon Apr 24 15:25:19 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * mips-tfile.c (fatal, error): Make first arg const to avoid warning. + + * stmt.c (expand_end_bindings): Write a BARRIER after call + to abort in nonlocal handler. + + * stmt.c (expand_decl_init): Call preserve_temp_slots to keep + around any temp whose address was taken. + +Fri Apr 21 16:26:15 1995 Torbjorn Granlund + + * pa.md (call_internal_reg): Fix typos in length calculation. + (call_value_internal_reg): Likewise. + +Fri Apr 21 13:17:15 1995 Roland McGrath + + * config/gnu.h (STANDARD_INCLUDE_DIR): New macro. + * config/mips/gnu.h (STANDARD_INCLUDE_DIR): Macro moved there. + +Fri Apr 21 08:23:58 1995 Tom Quiggle (quiggle@lovelace.engr.sgi.com) + + * toplev.c (lang_options): Add -I for GNAT. + * gcc.c (default_compilers): Pass -I to gnat1. + +Fri Apr 21 07:58:06 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * tree.c (integer_all_onesp): Test to size of mode, not TYPE_PRECISION. + + * toplev.c (main): Turn on -fforce-mem for -O2. + + * fold-const.c ([lr]rotate_double): Replace; old versions were bogus. + (fold, shift and rotate): Don't call tree_int_cst_sgn on non-integer. + (fold, case LROTATE_EXPR): If constant count, convert to RROTATE_EXPR. + (fold, case RROTATE_EXPR): Sometimes commute logical op with rotate. + Delete pair of counteracting shifts. + + * combine.c (simplify_logical, case AND): If still an AND, get + new values for op0 and op1. + +Thu Apr 20 17:52:10 1995 Jim Wilson + + * sh.c: Completely rewritten. + * sh.h (FAST_BIT, CONSTLEN_2_BIT, CONSTLEN_3_BIT, CONSTLEN_0_BIT, + TARGET_FASTCODE, TARGET_CLEN3, TARGET_CLEN0, TARGET_OPTIONS): Delete. + (TARGET_SWITCHES): Delete -mclen3 and -mclen0 options. + (TARGET_DEFAULT): Is zero. + (OVERRIDE_OPTIONS): Delete code to set max_count_si and max_count_hi. + (SPECIAL_REG): New macro. + (HARD_REGNO_MODE_OK): Allow any mode in any general register. + (GO_IF_LEGITIMATE_ADDRESS): Delete constant + reg address case. + (MOVE_RATIO): Define to 2 when TARGET_SMALLCODE. + (max_si, max_hi, max_count_si, max_count_hi): Delete. + * sh.md: Delete spurious constraints from all define_expands. + (rotlsi3_1): Set T reg instead of clobbering it. + (ashrsi3): Use expand_ashiftrt instead of gen_shifty_op. + (movsi_i, movhi_i, movsf_i): Add conditions to reject patterns + needing a reload. + (movdi-2, movdf_k): Correct conditions to reject patterns needing + a reload. + ([inverse_]branch_{true,false}): Pass operands to output_branch. + (jump): Delete unnecessary braces. + (call, call_value): Don't use expand_acall. Force operand0 into + a register. + +Thu Apr 20 12:57:16 1995 Jason Merrill + + * function.c (assign_parms): Use TREE_ADDRESSABLE rather than + TYPE_NEEDS_CONSTRUCTING to decide whether a parameter needs to be + passed by invisible reference. + + * calls.c (expand_call): Ditto. Abort if we try to pre-evaluate a + parameter of TREE_ADDRESSABLE type. + +Wed Apr 19 17:50:24 1995 Torbjorn Granlund + + * pa.h (TARGET_SWITCHES): Fix typo. + +Tue Apr 18 18:06:03 1995 Per Bothner + + * expr.c (store_constructor): Use BYTES_BIG_ENDIAN rather + than BITS_BIG_ENDIAN to layout bits within bitstring. + * tree.c (get_set_constructor_bytes): Likewise. + +Tue Apr 18 17:22:46 1995 Per Bothner (bothner@wombat.gnu.ai.mit.edu) + + * config/m68k/{x-hp320,x-hp320g} (FIXPROTO_DEFINES): + Define _HPUX_SOURCE so putenv and other functions get seen. + +Tue Apr 18 03:57:35 1995 Michael Meissner (meissner@cygnus.com) + + * varasm.c (weak_decls): Make this a unique structure, instead of + a tree structure. + (handle_pragma_weak): Don't redeclare asm_out_file. Use new weak + structure to copy name and value to. Protect name and value by + copying them to the permanent obstack. + (declare_weak): Call handle_pragma_weak, instead of duplicating + the code. + (finish_weak): Rewrite to use new weak symbols list structure. + + * c-pragma.h: New file to define the c-pragma.c interfaces. + * c-pragma.c: Include it. + * varasm.c: Include it. + * c-lex.c: Include it. + * cp/lex.c: Include it. + + * varasm.c (handle_pragma_weak): No longer pass output file + stream, since weak pragmas are delayed until the end of the + compilation. + * c-pragma.c (handle_pragma_token): Call handle_pragma_weak + without file stream argument. + + * Makefile.in (varasm.o, c-lex.o, c-pragma.o): Add dependencies on + c-pragma.h. + + * config/rs6000.md (movdf): If -msoft-float, do not generate + memory to memory references, like is already done for the + -mhard-float case. Remove an extra test for -mhard-float inside + of -mhard-float code. + +Tue Apr 18 06:19:50 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * fold-const.c (size_int): Arg is unsigned HOST_WIDE_INT. + * tree.h (size_int): Likewise. + +Mon Apr 17 23:36:57 1995 Jason Merrill + + * rs6000/aix41.h: Restore March 11th changes, plus + (ASM_OUTPUT_EXTERNAL): Do add [DS] or [RW], just don't emit + anything. + * rs6000/aix3newas.h (ASM_OUTPUT_EXTERNAL): Ditto. + +Mon Apr 17 15:58:52 1995 Per Bothner + + * config/mips/x-iris (FIXPROTO_DEFINES): Add -D_LANGUAGE_C_PLUS_PLUS. + * config/mips/x-iris6: Likewise. + + * cpplib.c: Rename make_definition to cpp_define. + * cpplib.h (cpp_define): New declaration. + + * cpplib.c (special_symbol): For T_SPECLINE, calculate __LINE__ + in enclosing file buffer, not current buffer (if macro expanding). + (cpp_get_token): Fix thinko (in code for chopping unneeded space). + +Mon Apr 17 11:36:07 1995 Jim Wilson + + * abi64.h (CPP_SPECS): Define and use _ABI64 instead of + _MIPS_SIM_ABI64. + (SETUP_INCOMING_VARARGS): Set MEM_IN_STRUCT_P if big endian target. + * iris6.h (ASM_IDENTIFY_GCC, ASM_IDENTIFY_LANGUAGE): Define. + + * combine.c (get_last_value): Ignore BARRIER when scanning backwards. + (move_deaths): New variables before_dead and after_dead. Set them + to instructions that have valid INSN_CUID values and use in test. + + * combine.c (subst_prev_insn): New variable. + (try_combine): Set it. + (get_last_value): Use it. + + * reload.c (find_reloads): Recompute reg_equiv_address from + reg_equiv_memory_loc before using it. + (find_reloads_toplev, make_memloc): Likewise. + + * expr.c (expand_builtin, case BUILT_IN_MEMCPY): Call force_operand + on dest_rtx before returning it. + + * function.c (instantiate_decls): Use temporary allocation if + DECL_DEFER_OUTPUT is set. + +Sat Apr 15 23:19:03 1995 Jason Merrill + + * aoutos.h (ASM_OUTPUT_DEF): Define instead of SET_ASM_OP. + * sparc/sunos4.h (ASM_OUTPUT_DEF): Ditto. + + * varasm.c (weak_finish): Don't handle aliases. + (declare_weak): Ditto. + (assemble_alias): Handle aliases. + + * c-common.c (enum attrs): Add A_ALIAS. + (init_attributes): Ditto. + (decl_attributes): Ditto. + +Sat Apr 15 13:26:34 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * calls.c (expand_call): Call preserve_temp_slots on temps + made for BLKmode args returned in registers. + + * pa.c (override_options): Fix typo. + +Sat Apr 15 12:11:46 1995 Brendan Kehoe + + * alpha/alpha.c (output_epilog): Initialize fp_offset to 0, and + make sure it's non-zero before we try to use it to restore the + frame pointer. + +Fri Apr 14 19:45:05 1995 Jason Merrill + + * ginclude/va-{clipper,pa,pyr,sparc,spur}.h (va_arg): Reorganize + to avoid BIND_EXPRs and COND_EXPRs of aggregate type. + +Fri Apr 14 19:31:14 1995 Roland McGrath + + * config/svr4.h (ASM_OUTPUT_SECTION_NAME): Make the section + read-only executable "ax" if DECL is a FUNCTION_DECL; read-only + "a" (previously the case always) if DECL is TREE_READONLY; + otherwise writable "aw". + +Fri Apr 14 18:49:11 1995 Linus Torvalds + + * alpha.md (probe_stack): Probe with write, not read. + (allocate_stack): Update and correct stack probe code. + * alpha.c (output_prolog): Changed stack probe at function entry. + +Fri Apr 14 18:42:34 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * jump.c (delete_insn): When deleting after label, delete + a BARRIER as well. + +Fri Apr 14 14:40:48 1995 Jason Merrill + + * toplev.c (compile_file): Call weak_finish. + + * c-common.c (enum attrs): Add A_WEAK. + (init_attributes): Ditto. + (decl_attributes): Support __attribute__ ((weak)) by + calling declare_weak. + + * sparc/sunos4.h (HANDLE_PRAGMA_WEAK, WEAK_ASM_OP, SET_ASM_OP): + Define to support weak symbols with -fgnu-linker. + * aoutos.h: Ditto. + + * varasm.c (handle_pragma_weak): Add declared weak symbols to + weak_decls rather than emitting them immediately. + (declare_weak): Add the indicated declaration to weak_decls. + (weak_finish): Emit .weak directives for any weak symbols. + + * libgcc2.c: The C++ free-store management functions are weak. + +Fri Apr 14 13:00:29 1995 Michael Meissner (meissner@cygnus.com) + + * rs6000/rs6000.c (output_prolog): For eabi systems, emit main's + call to __eabi before setting up the minimal TOC used with the + -mrelocatable support. + + * rs6000/eabi.h (INVOKE__main): Don't define any more, + output_prolog will emit the call. + +Fri Apr 14 09:09:03 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * alpha.c (call_operand): Any reg is valid for NT. + (output_prologue): Never need GP for Windows/NT. + Set SYMBOL_REF_FLAG in current function decl. + +Thu Apr 13 20:19:30 1995 Jason Merrill + + * alpha/xm-alpha.h (HAVE_VPRINTF): Define. + (HAVE_PUTENV): Define. + (POSIX): Define. + +Thu Apr 13 19:57:44 1995 Doug Evans + + * emit-rtl.c (gen_sequence): If the insn has a non-null + CALL_INSN_FUNCTION_USAGE field, output it as a sequence so the + latter isn't discarded. + + * c-parse.in: Update expected conflict count. + +Thu Apr 13 08:10:20 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * configure.bat: Arg 2 is which machine (i386 or alpha). + * configure (alpha-*-winnt3*): New configuration. + * alpha.c: Don't #include stamp.h for WINNT. + (input_operand, case CONST): Allow ptr_mode and DImode. + * alpha.h (WINDOWS_NT): Provide default definition. + (ASM_OUTPUT_INT): Use output_addr_const. + (ASM_OUTPUT_ADDR_DIFF_ELT): Use .long for NT. + * alpha.md (calll, tablejump, movsi): New variants for NT. + * alpha/winnt.h, alpha/xm-winnt.h, alpha/x-winnt: New files. + * alpha/config-nt.bat, alpha/config-nt.sed: New files. + * i386/config-nt.bat: Add Ada fragments to Makefile. + * i386/config-nt.sed: Adjust for deletion of config.run in Makefile.in + Change version to 2.6.3. + Add some missing tabs. + * winnt/winnt.h (TARGET_MEM_FUNCTIONS): Define. + (LINK_SPEC): Delete "align:0x1000". + * winnt/xm-winnt.h (OBJECT_SUFFIX): Define. + * ginclude/stdarg.h, ginclude/varargs.h: Clean up code that + defines *DEFINED* symbols. + + * configure (a29k-*-sym1*): Same as a29k-*-bsd*. + * a29k.h (ASM_OUTPUT_SECTION_NAME): New macro. + +Wed Apr 12 14:36:03 1995 Jim Wilson + + * dbxout.c (dbxout_type_fields): Correct arguments to CHARS macro + in flag_minimal_debug case. + (dbxout_symbol_name): Use DECL_ASSEMBLER_NAME unconditionally. + * sdbout.c (sdbout_record_type_name): Correct indentation. + (sdbout_symbol): Use DECL_ASSEMBLER_NAME unconditionally. + (sdbout_one_type): Likewise. + +Tue Apr 11 13:24:13 1995 Per Bothner + + * fix-header.c (main): Fix loop over required_functions_list. + (fatal): Also print inc_filename. + + * cpplib.c (cpp_push_buffer): Added missing initializatuon of buf. + (cpp_file_buffer): Compare against CPP_NULL_BUFFER, not NULL. + (finclude): No longer call cpp_push_buffer - let callers do it. + (do_include): Add call to cpp_push_buffer. + (push_parse_file): Call cpp_push_buffer early, so initial + defines can use file and line from a valid cpp_buffer. + (nreverse_pending): New function. + (push_parse_file): Use nreverse_pending. + (push_parse_file): For -include files, just push them in reverse + order - we don't need to scan them now. + (cpp_error_from_errno, cpp_perror_with_name): Don't emit extra '\n'. + +Tue Apr 11 13:36:44 1995 Jim Wilson + + * configure (mips-dec-mach3): Add. + + * sh.c (shiftby_operand): Delete. + * sh.h (TARGET_SWITCHES): -m3 and -m3l also set SH2_BIT. + (OVERRIDE_OPTIONS): Don't add CPU_SH2 to CPU_SH3 when TARGET_SH3. + * sh.md (ashlsi3): Use nonmemory_operand as a predicate instead of + shiftby_operand. Don't use shiftby_operand in the output statement. + (lshrsi3): Likewise. + + * c-decl.c (poplevel): Do output inline function if + DECL_ABSTRACT_ORIGIN points to itself. + + * varasm.c (output_constant): Cast assemble_string argument to char *. + +Mon Apr 10 14:29:28 1995 Torbjorn Granlund + + * recog.c (constrain_operands, case 'E'): Make this work like + constraint character `F' when REAL_ARITHMETIC is defined. + * regclass.c (record_reg_classes, case 'E'): Likewise. + * reload.c (find_reloads, case 'E'): Likewise. + +Mon Apr 10 14:30:31 1995 Michael Meissner + + * rs6000/aix3newas.h, rs6000/aix41.h: Eliminate March 11th changes + to undefine ASM_OUTPUT_EXTERNAL{,_LIBCALL}, since this causes the + compiler not to bootstrap. + +Mon Apr 10 07:17:39 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * cppalloc.c: #include config.h. + * cppexp.c: Add declarations of xmalloc and xrealloc. + (cpp_parse_expr): Cast args to bcopy to char *. + * cpphash.c: Add declaration of xmalloc. + * cpplib.c (init_parse_options, cpp_reader): Cast args to bcopy, + bcmp, and bzero to char *. + (add_import, push_parse_file, init_parse_file): Likewise. + + * c-common.c (enum attrs): New attribute, A_NOCOMMON. + (init_attribute): Initialize it. + (decl_attributes): Implement it. + * varasm.c (make_decl_rtl): Allow section attribute if -fno-common + or variable is not to be placed in common for some other reason. + + * combine.c (simplify_set): Don't move a SUBREG to dest if it + is changing the size of a hard reg in CLASS_CANNOT_CHANGE_SIZE. + + * reload.c (find_equiv_reg): If goal is a pseudo that got memory, + a store into memory makes it invalid. + * reload1.c (reload_as_needed): Call forget_old_reloads_1 on + pattern before reg elimination. + +Mon Apr 10 00:26:14 1995 Jeffrey A. Law + + * pa.c (pa_reorg): Bump label use count for each entry in an + exploded ADDR_VEC. + +Sun Apr 9 09:22:51 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * i386.md (adddi3, subdi3): Need scratch reg whenever operand 0 in + mem and operands 1 not '0'. + (subdi3): Don't treat two non-equal MEMs as non-aliasing. + +Sat Apr 8 22:53:38 1995 Jeffrey A. Law + + * pa.c (pa_reorg): Fix typo. + +Sat Apr 8 19:36:36 1995 Michael Meissner + + * rs6000/rs6000.h (SELECT_SECTION): TREE_CODE_CLASS must be called + with a tree code, not a tree value. + +Sat Apr 8 12:41:01 1995 Mike Stump - * gmicro.h (ASM_FILE_START): Don't do anything. - (TARGET_DEFAULT): Turn on the bitfield flag. - (TARGET_SWITCHES): Get rid of the bitfield options. + * cpphash.c: Don't use const on compilers that don't support it. - * c-lex.c (readescape): No warning for \?. +Sat Apr 8 16:32:22 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * protoize.c (munge_compile_params): Fix cast that sets compile_params. - (xmalloc, xrealloc): No longer static. - * Makefile.in (protoize, unprotoize): Add LIBDEPS as deps. + * expr.c (expand_increment): Handle case where INCREMENTED + has a non-trivial conversion. - * va-i860.h (va_arg): Use __extension__ to suppress pedantic warning. - * va-sparc.h, va-spur.h, va-pyr.h: Likewise. +Fri Apr 7 19:33:21 1995 Phil Nelson (phil@cs.wwu.edu) - * x-irix4.h: New file. - * config.sub: Don't convert irix to sysv. - * configure (mips-sgi-irix4*): New configuration. - (mips-sgi-irix*): Renamed from mips-sgi-sysv*. + * ns32k.h (TRAMPOLINE_TEMPLATE, TRANSFER_FROM_TRAMPOLINE): + Fix assembler syntax errors. - * gcc.c (process_command): - Handle the standard_exec_prefix* before the md_*_prefix. +Fri Apr 7 19:27:23 1995 Pat Rankin (rankin@eql.caltech.edu) - * i386.h, ns32k.h (PCC_BITFIELD_TYPE_MATTERS): Defined. + * cccp.c (VMS_fstat, VMS_stat): New functions. - * Makefile.in (libgcc1.null): Depend on GCC_PASSES. +Fri Apr 7 19:25:21 1995 Paul Eggert - * cccp.c (lookup_import, add_import): VMS kludges so they compile. - (hack_vms_include_specification): Add forward declaration. + * cccp.c (collect_expansion): If traditional, set stringify + member to SHARP_TOKEN regardless of the value of + stringify_sharp_token_type. - * stor-layout.c (layout_record): Handle BITFIELD_NBYTES_LIMITED - just like one of the things done for PCC_BITFIELD_TYPE_MATTERS. +Fri Apr 7 07:48:35 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * x-next, x-i386mach: Deleted. - * t-libc-ok: New file. Define just LIBGCC1. - * configure (i386-*-mach, m68k-next-*): Use t-libc-ok. + * cse.c (simplify_unary_operation): #ifdef POINTERS_EXTEND_UNSIGNED, + handle sign- or zero-extending addresses. - * t-svr4 (FIXINCLUDES): Defined. - * t-m88kv4 (FIXINCLUDES): Defined. - * t-svr3 (EXTRA_PARTS): Defined. - * t-i386sco (EXTRA_PARTS): Defined. + * optabs.c (init{,_integral,_floating,_complex}_libfuncs): + Change SUFFIX to "char" to avoid confusion with prototype. - * configure (sparc-*-sysv4*): New alternative. + * explow.c (convert_memory_address): No longer static. + New arg, TO_MODE. + Do something special for SYMBOL_REF, LABEL_REF, and CONST. + (memory_address): Add extra arg to call to convert_memory_address. + * rtl.h (convert_memory_address): Add extra arg. + * expr.c (expand_expr, case ADDR_EXPR): Always call + convert_memory_address when converting; add extra arg. + * stmt.c (expand_computed_goto): Convert from ptr_mode to Pmode. - * configure (install_with_cp): New flag an alternative can set. - If host sets it, add INSTALL=cp to Makefile. - Set this for any system V, and for m68k-crds-unos. + * gcc.c (OBJECT_SUFFIX): Default now ".o", not "o". + (all specs): Remove "." before %O; use %O in a few missing cases. + * i386/os2.h (OBJECT_SUFFIX): Delete from here. + * i386/xm-os2.h (OBJECT_SUFFIX): Move to here; now has period. -Sat Jan 18 23:15:08 1992 Ron Guilmette (rfg at ncd.com) + * Makefile.in (STAGESTUFF): Use $(exeext) for executables. - * va-i860.h (va_list): Made __reg_base field type long* to avoid - compilation errors. - (__savereg): Add explicit cast to (__va_saved_regs *). +Fri Apr 7 03:32:29 1995 Richard Stallman -Fri Jan 17 15:09:34 1992 James Van Artsdalen (james at bigtex.cactus.org) + * config.sub: Accept -lites* as op sys. - * i386.h (FUNCTION_BOUNDARY): Do larger alignments for i486. - (ASM_OUTPUT_ALIGN_CODE): Same here. - (ASM_OUTPUT_LOOP_ALIGN): But not here - do word aligns as before. +Thu Apr 6 23:08:50 1995 Per Bothner - (enum reg_class): Delete classes ADREG and BREG - neither used nor - useful. Add classes FP_TOP_REG and FP_SECOND_REG. - (REG_CLASS_NAMES): Likewise. - (REG_CLASS_CONTENTS): Likewise. - (REGNO_REG_CLASS): Reflect that change. - (REG_CLASS_FROM_LETTER): Likewise. Add "t" and "u" constraints. - (CLASS_MAX_NREGS): New classes use only 1 hard reg for any mode. + * cpplib.c (bcopy, bzero, bcmp): Remove #undefs. + * cppalloc.c (xcalloc): Re-implement using calloc, + rather than malloc+bzero. + * cpplib.c (SELF_DIR_DUMMY): New macro. + (do_include): Don't pass searchptr to finclude if it is dsp, + since that is on the stack, and would cause a dangling pointer. + If handling #include_next, recognize SELF_DIR_DUMMY. - (CONST_OK_LETTER_P): Document uses of letters. +Fri Apr 7 00:54:24 1995 Jeffrey A. Law - * reg-stack.c: Add comments describing rules for asm statements - involving stack-like regs. - (asm_regs): Delete unused variable. - (fatal_for_asm): Delete unused function. + * pa.h (MACHINE_DEPENDENT_REORG): Define. + * pa.md (switch_jump): New pattern for jumps which implement + a switch table. + * pa.c (pa_reorg): New function to explode jump tables. + (pa_adjust_insn_length): Account for jumps in switch tables with + unfilled delay slots. - (get_asm_operand_lengths): New function. - (constrain_asm_operands): New function. Like constrain_operands, - but records some information about the matched alternative. +Thu Apr 6 14:31:10 1995 Jason Merrill - (record_asm_reg_life): New function. - (record_reg_life): If INSN is an asm statement, decode operands - and pass to record_asm_reg_life. - (record_reg_life_pat): Abort if any asm is seen here. + * c-typeck.c (build_binary_op): Don't call common_type for + uncommon pointer types. - (subst_asm_stack_regs): New function. - (subst_stack_regs): If INSN is an asm statement, decode operands - and pass to subst_asm_stack_regs. When handling REG_UNUSED notes, - emit the pops in the right order. +Wed Apr 5 13:53:17 1995 Per Bothner - (change_stack): New argument to insert any new insns before INSN - instead of after. All callers changed. + Re-write fixproto/fix-header/etc to use cpplib: + * fix-header.c: Comment out support for adding missing extern "C" + using #ifdef ADD_MISSING_EXTERN_C instead of #if 0. + * fixproto: Removed case of required functions. Instead use ... + * fix-header.c (std_include_table): ... new required-functions table. + (cpp_file_line_for_message, cpp_print_containing_files, cpp_message): + New stub functions, to intercept cpplib error message. + * fixproto: Don't call $CPP, since fix-header now incorporates cpplib. + * gen-protos.c (fatal, hashf): New functions. + (main): Use hashf, instead of hash. + * scan-decls.c (scan_decls, skip_to_closing_brace): Re-write to + take a cpp_reader* as argument, not a FILE*. + * scan.h (hash): Make parameter const. + * scan.c (hash): Removed. + * scan.c (memory_full, xmalloc, xrealloc): Removed. + Use functions from cppalloc.c instead. + * Makefile.in (gen-prtos, fix-header, stmp-fixproto): Update. - (emit_swap_insn): Abort if the reg is not found in REGSTACK. +Wed Apr 5 13:24:14 1995 Per Bothner - * Makefile.in (reg-stack.o): Depends on insn-config.h. + * cpplib.c (cpp_get_token): If traditional, return after comment, + instead of reading more, so end-of-line can be peeked at. + * cpperror.c (cpp_file_line_for_message, cpp_message): New + functions, that do the actual printing of error messages. + (cpp_print_file_and_line, cpp_error, cpp_warning, cpp_pedwarn, + cpp_error_with_line, cpp_warning_with_line, cpp_pedwarn_with_line, + cpp_pedwarn_with_file_and_line, cpp_error_from_errno, my_strerror, + cpp_perror_with_name): Re-write to use cpp_file_line_for_message + and cpp_message, and move to cpplib.c. -Fri Jan 17 16:38:32 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Apr 4 23:35:49 1995 Roland McGrath - * toplev.c, flags.h (in_system_header): Declare here. - * c-lex.c, cp-lex.c (in_system_header): Not here. - * toplev.c (rest_of_compilation): Don't warn of unused static function - if definition is in a system header. + * config/gnu.h (GNU_CPP_PREDEFINES): Remove -D__HURD__. - * gcc.c (do_spec_1): Add missing arg in recursive call. - (link_command_spec): Don't pass -s, -S, -u*, -X, -Y*. +Tue Apr 4 17:15:54 1995 Jeffrey A. Law -Fri Jan 17 12:51:28 1992 Jim Wilson (wilson at cygnus.com) + * pa.h (DO_GLOBAL_DTORS_BODY): Fix pointer -> integer assignment + problem. - From Tiemann: - * rtlanal.c (reg_set_between_p): Call `reg_set_p' with INSN, not the - body of INSN so that CALL_INSNs are properly handled. - * explow.c (find_next_ref): Ditto. + * reorg.c (fill_simple_delay_slots): Don't use a JUMP_INSN + a the target of another JUMP_INSN to fill a delay slot. - * hp800.h, hp800.md: Delete RCS Header variables. +Mon Apr 3 19:03:48 1995 Torbjorn Granlund - * reg-stack.c (replace_reg): Change `abort' to `abort ()'. + * cse.c (simplify_unary_operation): Sign-extend constants when + they have the most significant bit set for the target. -Fri Jan 17 14:30:14 1992 Michael Meissner (meissner at osf.org) + * m68k.md (umulsi3_highpart): Test for CONST_INT and CONST_DOUBLE, + not CONSTANT_P. + (smulsi3_highpart): Likewise. + * m68k.c (const_uint32_operand): New function. + (const_sint32_operand): New function. + * m68k.md (const_umulsi3_highpart): Use const_uint32_operand instead + of immediate_operand for op3. Delete mode. + (const_smulsi3_highpart): Analogous change. - * caller-save.c (insert_save_restore): Don't pass a CODE_LABEL to - reg_mentioned_p when the machine has a condition code, since - CODE_LABEL's don't have the same format as normal INSN's do. +Mon Apr 3 19:03:48 1995 Jim Wilson -Fri Jan 17 13:24:33 1992 Tom Wood (wood at dg-rtp.dg.com) + * cse.c (simplify_binary_operation): Sign-extend constants when + they have the most significant bit set for the target. - * Makefile.in (unprotoize.o): Use the rm -f option. + * combine.c (force_to_mode, case PLUS): Sign extend masks that are + negative in OP_MODE. + (simplify_and_const_int): Sign-extend constants when they have the + most significant bit set for the target. + (merge_outer_ops): Likewise. + (simplify_shift_const): Likewise. - * cp-lex.c (check_newline): Define `used_up' as in c-lex.c. - (in_system_header): Define as in c-lex.c. +Mon Apr 3 18:23:48 1995 Jason Merrill -Fri Jan 17 08:14:04 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * toplev.c (lang_options): Add -f{no-,}repo. - * reorg.c (delete_from_delay_slot): Pass correct length to - emit_delay_sequence. +Mon Apr 3 18:13:15 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * genattrtab.c (substitute_address): Handle IF_THEN_ELSE in addition - to COND. + * combine.c (nonzero_bits, case REG): Check POINTERS_EXTEND_UNSIGNED. + (num_sign_bit_copies, case REG): Likewise. + * explow.c (convert_memory_address): New function. + (memory_address): Call if it needed. + (promote_mode, case POINTER_TYPE): Use Pmode and pointer extension. + (allocate_dynamic_stack_space): Convert size from ptr_mode. + * expr.c (clear_storage, expand_assignment, store_{expr,constructor}): + Use ptr_mode instead of Pmode in some places. + (expand_expr, expand_builtin): Likewise. + (push_block, store_expr): Convert size to Pmode. + (expand_expr, case ADDR_EXPR): Convert from Pmode to ptr_mode. - * expr.c (expand_builtin, case BUILT_IN_STRLEN): Correct args in - expand_expr call. +Mon Apr 3 18:00:52 1995 Jim Wilson -Fri Jan 17 17:33:40 1992 James Van Artsdalen (james@raid) + * explow.c (allocate_dynamic_stack_space): Correct typo in last + change. - * x-i386v4 (CCLIBFLAGS): Delete macro. - (GCC-CFLAGS): Delete macro. Prevented Makefile.in from working. + * sh.c (gen_shifty_op, case ASHIFTRT): Return 0 if shift count is not + a constant. -Thu Jan 16 17:03:27 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) +Mon Apr 3 12:17:10 1995 Michael Meissner (meissner@cygnus.com) - * Makefile.in (cleanconfig): Also delete tconfig.h. + * expmed.c (extract_bit_field): When converting a SUBREG into a + REG, if the system is big endian, adjust the bit offset + appropriately. - * varasm.c (assemble_external): Only call ASM_OUTPUT_EXTERNAL once - for each symbol. - (assemble_external_libcall): Fix minor typo in spacing. +Mon Apr 3 00:08:45 1995 Roland McGrath - * toplev.c (main): Force error if invalid -W option is used. + * config/i386/linux.h: Include "config/linux.h" instead of + "linux.h", to avoid recursion. -Thu Jan 16 13:35:13 1992 Tom Wood (wood at dg-rtp.dg.com) +Sun Apr 2 23:50:27 1995 Roland McGrath - * m88kdgux.h (CPP_PREDEFINES): Added __CLASSIFY_TYPE__ back and - noted when it would be useful. + * config/i386/gnuelf.h: Include i386/linux.h instead of + i386/linuxelf.h. - * m88k.h (ASM_FILE_END, ASM_OUTPUT_ASCII): Override svr4.h. +Sun Apr 2 17:35:10 1995 Jim Wilson -Thu Jan 16 12:37:16 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * cse.c (simplify_relational_operation): Don't simplify A-B for + compare of A and B when the compare is unsigned. - * svr4.h (SVR4): Add this back. +Sun Apr 2 08:23:38 1995 Paul Eggert - * cccp.c (lookup_import): Use bcmp to compare inodes. + * fixincludes (stdio.h): BSDI 2.0 changed the spelling of _VA_LIST_ + to _BSD_VA_LIST_. - * cccp.c (main): Handle -idirafter option. +Sun Apr 2 07:57:28 1995 Richard Kenner - * m68kv4.h, m88kv4.h, i386v4.h, sparcv4.h, i860v4.h (CPP_PREDEFINES): - Add __svr4__ in case user programs want to distinguish. + * i386/xm-bsd386.h: New file. + * configure (i[345]86-*-bsd*): Add xm_file. - * cp-lex.c (check_newline): Changes like Jan 12 changes in c-lex.c. + * gcc.c (default_compilers): Pass -W and -w to gnat1. - * Makefile.in (install-fixincludes): Renamed from `includes'. - Move comments so some shells are happier. Dep. on install-headers. + * winnt/winnt.h (STDC_VALUE): Add #undef. + * i386/winnt.h (LIB_SPEC): Likewise. - * m88kdgux.h (CPP_PREDEFINES): Add __svr4__. Remove __CLASSIFY_TYPE__. - Add some assertions. +Sun Apr 2 07:55:25 1995 Douglas Rupp (drupp@cs.washington.edu) - * c-decl.c (init_decl_processing): Don't give arg type for abort, etc. - Always declare strlen, etc., so -O doesn't alter the warnings. - * expr.c (expand_builtin): Open-code str* or mem* or ffs if -O. + * i386/winnt.h (RETURN_POPS_ARGS, ENCODE_SECTION_INFO): Call + chain_member_purpose, not chain_member_value. + (ASM_FILE_START, LIB_SPEC): Move to here. + * winnt/winnt.h (ASM_FILE_START, LIB_SPEC): Delete from here. + * tree.c (chain_member_purpose): New function. - * c-decl.c (start_function): Fix backwards test for -W* options. +Sat Apr 1 12:19:14 1995 Jason Merrill - * protoize.c (GUESSPATHLEN): Treat POSIX like USG--and use just 200. + * c-typeck.c (build_binary_op): New variable build_type controls + type given to expression when created. Set to integer_type_node for + comparison ops instead of result_type so result_type still holds type + in which comparison is done. When checking for comparison between + signed and unsigned, use result_type rather than (possibly shortened) + type of op0. Don't warn about equality comparison of signed operand + to unsigned constant that fits in signed type. - * cccp.c (deps_output): Break line iff string is empty. - (do_include): Fix up the deps_output calls. +Sat Apr 1 09:47:02 1995 Douglas Rupp (drupp@cs.washington.edu) - * vax.c (print_operand_address): Handle form index + (reg+offset). + * i386/winnt.h (CPP_PREDEFINES): Add definitions for __stdcall + and __cdecl. + * winnt/winnt.h (LIB_SPEC): Add OLDNAMES.LIB. + * winnt/xm-winnt.h: Remove unneeded #define's for non-ANSI functions. + * fixinc.winnt: Remove unneeded fixes relating to __stdcall. - * m88k.h (TARGET_VERSION): Don't use __DATE__. + * objc/Makefile (SHELL): New definition. - * gcc.c (default_compilers): Typos in c++-cpp-output case. +Sat Apr 1 08:25:26 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Jan 16 12:25:51 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * cse.c (cse_insn): When emitting a BARRIER, don't put it after + a deleted insn. - * loop.c (get_condition): In HAVE_cc0 code, generate a zero with - CONST0_RTX instead of just using const0_rtx. + * reload.c (push_reload): Initialize secondary_{in,out}_icode. - * cse.c (cse_isnsn): A CALL_INSN clobbers all fixed regs except - for ap, fp, and sp. + * gcc.c (print_multilib_info): Don't use LAST_PATH if not set. -Thu Jan 16 08:03:40 1992 Tom Wood (wood at dg-rtp.dg.com) +Sat Apr 1 08:15:59 1995 Pat Rankin (rankin@eql.caltech.edu) + + * vax.md (extv, extzv): Don't use immediate value for operand 1. + +Sat Apr 1 07:48:29 1995 Yury Shevchuk (sizif@botik.yaroslavl.su) + + * stmt.c (expand_asm_operands): Properly ignore invalid reg in clobber. + +Sat Apr 1 07:02:24 1995 Paul Eggert + + * cccp.c: General code cleanup. + Add prototypes for static functions. + Remove unnecessary casts to (char *); add casts to (U_CHAR *). + Add parentheses suggested by `gcc -Wparentheses'. + Rename local variables as suggested by `gcc -Wshadow'. + , , , : New includes. + , : Include only if defined(RLIMIT_STACK). + : Include, unless already does. + (HAVE_FCNTL_H, HAVE_STDLIB_H, HAVE_SYS_TIME_H): New symbols. + (HAVE_UNISTD_H, STDC_HEADERS, TIME_WITH_SYS_TIME): Likewise. + (__attribute__, PROTO, VA_START, PRINTF_ALIST, PRINTF_DCL): New macros. + (PRINTF_PROTO{,_1,_2,_3}, DO_PROTO): Likewise. + (bcopy, bzero, bcmp): If #defined by configuration file, use that. + If STDC_HEADERS is defined, use standard C functions. + If BSTRING is defined, or USG and VMS are not defined, use + the C library. Otherwise, use my_bcopy, my_bzero, my_bcmp. + (localtime): Remove no-longer-necessary explicit declaration. + (getenv, index, rindex): Don't declare explicitly if the + appropriate system header should declare it. + (fdopen): Remove no-longer-used declaration. + (vprintf): Define a subsitute macro if !defined(HAVE_VPRINTF). + (main): Replace `fdopen (dup (fileno (stdout)), "w"))' + with `stdout'. + (get_lintcmd, rescan, create_definition): Use bcmp instead of strncmp + when both operands are known to be free of null bytes. + (check_macro_name, compare_defs, collect_expansion): Likewise. + (do_assert, compare_token_lists, assertion_lookup, do_line): Likewise. + (skip_if_group, lookup): Likewise. + (rescan): Remove unused label `startagain'. + Abort instead of printing nonsense if the stack is corrupted + when there was an unterminated successful conditional. + (pcfinclude): Include explicit double-cast through GENERICPTR + to identify particularly egregious type puns. + (create_definition, do_define, check_macro_name): Use %.*s + printf format to avoid painful copying-and-casting. + (do_once): Return void, not (unused) int. + (do_ident, do_pragma, do_sccs): Accept extra arguments so that + all directive-handler's types match. + (do_sccs): Define only if SCCS_DIRECTIVE is defined. + (skip_if_group, dump_single_macro): Add `default: break;' to + keep -Wswitch happy. + (error, warning, error_with_line, vwarning_with_line, pedwarn): Use + stdarg/vararg/vfprintf instead of passing bogus char * args around. + (pedwarn_with_line, pedwarn_with_file_and_line, fatal): Likewise. + (verror, vwarning, verror_with_line, vwarning_with_line): New fcns. + (dump_single_macro): Abort if ap points to garbage. + (make_definition, make_undef, make_assertion): Parameter now char *. + (xmalloc, xrealloc, xcalloc, savestring, index0): Make sizes size_t + instead of unsigned; make pointer parameters GENERICPTR, not char *. + (xcalloc): Use bzero to clear memory instead of using own loop. + +Fri Mar 31 08:33:07 1995 Ken Raeburn (raeburn@wombat.gnu.ai.mit.edu) + + * longlong.h (umul_ppmm mc68000): Use %# instead of #. + +Fri Mar 31 06:37:54 1995 Michael Meissner (meissner@cygnus.com) + + * stor-layout.c (layout_decl): Implment -fpack-struct. + (layout_record): Ditto. + + * flags.h (flag_pack_struct): New flag variable. + + * toplev.c (flag_pack_struct): New flag variable. + (f_options): Add -fpack-struct support. + + * Makefile.in (stor-layout.o): Add flags.h dependency. + +Fri Mar 31 08:40:16 1995 Douglas Rupp (drupp@cs.washington.edu) + + * configure (i[345]86-*-winnt3*): Add tmake_file. + * i386/x-winnt (winnt.o): Deleted. + * i386/t-winnt: New file. + +Fri Mar 31 07:26:37 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * m68k/netbsd.h, m68k/hp3bsd44.h: Remove #include of machine/ansi.h. + + * configure (a29k-*-bsd): Set tmake_file to t-libc-ok. + + * stmt.c (expand_asm_operands): Properly handle output that can't + be directly written into. + + * c-parse.in (structsp): Correct error in last change. + * c-common.c (init_attributes): A_FORMAT is only for decls. + +Thu Mar 30 18:27:34 1995 Jason Merrill + + * libgcc2.c: Remove explicit 0-initializations of static variables. + +Thu Mar 30 18:22:39 1995 Fergus Henderson + + * c-typeck.c (internal_build_compound_expr): Warn if LHS of comma + expression has no side effects, or computes value which is not used. + * stmt.c (make warn_if_unused_value): No longer static. + * tree.h (warn_if_unused_value): Add declaration. + +Thu Mar 30 18:15:11 1995 Jim Wilson + + * combine.c (get_last_value): Revert back to use prev_nonnote_insn + instead of prev_real_insn. Modify test that ignores USE insns. + + * rs6000.h (SELECT_SECTION): Apply constant DECL_INITIAL test + only to DECLs. + + * explow.c (allocate_dynamic_stack_space): Test STACK_BOUNDARY against + BIGGEST_ALIGNMENT at run time instead of at compile time. + Give MUST_ALIGN macro a value, and test this value in if statements. + +Thu Mar 30 08:59:56 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * c-parse.in: Now have 27 shift/reduce conflicts. + (attribute_list): Just make chain of all attributes. + (attrib): Consistently put name as PURPOSE, args, if any, as VALUE. + (structsp): Allow attributes on any struct or union. + * c-common.c (enum attrs): New enum class. + (attrtab, attrtab_idx): New variables. + (add_attribute, init_attributes): New functions. + (decl_attributes): Major rewrite. + * tree.c (valid_machine_attribute): Now receive name and args. + +Thu Mar 30 07:20:14 1995 Paul Eggert + + * protoize.c: Use the phrase `preprocessing directive' consistently. + * cccp.c (handle_directive, do_line, skip_if_group): Likewise. + (output_line_directive): Renamed from output_line_command. + (no_line_directives): Renamed from no_line_commands. + + * cccp.c (rescan): Don't recognize preprocessing directives + within macro args. Warn if one is found. + +Thu Mar 30 06:20:36 1995 H.J. Lu (hjl@nynexst.com) + + * configure (i[345]86-*-linux*): Set xmake_file=x-linux, + tm_file=i386/linux.h, and don't set extra_parts. + (i[345]86-*-linux*aout*): New configuration. + (i[345]86-*-linuxelf): Deleted. + * config/linux{,-aout}.h, config/x-linux, config/xm-linux.h: New files. + * config/i386/linux-aout.h: New file. + * config/i386/linux.h: Extensive modifications to use ELF format + as default. + (LIB_SPEC): Don't use libc_p.a for -p. don't use libg.a + unless for -ggdb. + (LINUX_DEFAULT_ELF): Defined. + * config/i386/linuxelf.h,config/i386/x-linux: Files deleted. + * config/i386/xm-linux.h: Just include xm-i386.h and xm-linux.h. + +Wed Mar 29 19:09:36 1995 Mike Stump + + * libgcc2.c (__throw_type_match): Update to use new calling convention. + +Wed Mar 29 14:53:23 1995 Jim Wilson + + * gcc.c (process_command): Delete code modifying gcc_exec_prefix. + (main): Put it here after last use of gcc_exec_prefix. For cross + compiler, set startfile_prefixes if gcc_exec_prefix is set and + standard_startfile_prefix is a relative path. + + * combine.c (make_compound_operation, AND case): Undo July 7, 1994 + change. + + * mips/mips.md (call_internal1, call_value_internal1): Move %* from + start of assembler output to immediately before the jal. + + * mips/mips.c (function_prologue): Put SDB_DEBUGGING_INFO ifdef around + code for SDB_DEBUG support. + (mips_select_rtx_section, mips_select_section): Change rdata_section + to READONLY_DATA_SECTION and sdata_section to SMALL_DATA_SECTION. + * mips/mips.h (SMALL_DATA_SECTION): Define. + + * reorg.c (mark_referenced_resources): Make setjmp use all registers. + + * flow.c (mark_used_regs, case SUBREG): Only fall through to REG case + if operand is a REG. + + * i960/i960.h (TARGET_SWITCHES): Make -mold-align set + TARGET_FLAG_STRICT_ALIGN. + (STRICT_ALIGNMENT): Test TARGET_STRICT_ALIGN. + + * sh/sh.c (andcosts): Modify costs to match the hardware, and add + explanatory comments. + + * sparc/sol2.h (CPP_PREDEFINES): Add -D__SVR4. + +Wed Mar 29 14:30:30 1995 Michael Meissner + + * rs6000/rs6000.md (movsf): When moving to/from integer registers, + don't move floating point to memory if it is being simulated with + -msoft-float. + +Wed Mar 29 06:47:36 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * c-parse.in (initdcl): Only call decl_attributes once. + * c-common.c (decl_attributes): Clean up test for __mode__. + +Tue Mar 28 08:34:37 1995 John Hassey (hassey@dg-rtp.dg.com) + + * i386.md (adddi3): Don't treat two non-equal MEMs as non-aliasing. + +Tue Mar 28 08:20:49 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * a29k.h (CONSTANT_ADDRESS_P): Provide consistent definition. + +Tue Mar 28 07:26:41 1995 Paul Eggert + + * cccp.c (do_xifdef, do_endif): Remove unnecessary pointer comparisons. + +Mon Mar 27 20:45:15 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * calls.c (expand_call, store_one_arg): Don't set KEEP in calls + to assign_stack_temp. + * function.c (preserve_temp_slots): Clear ADDR_TAKEN on item + that we are preserving. + +Mon Mar 27 14:39:35 1995 Ian Lance Taylor + + * mips/mips.h (FIRST_PSEUDO_REGISTER): Increment. + (FIXED_REGISTERS, CALL_USED_REGISTERS): Add new register. + (MD_REG_LAST): Increment. + (ST_REG_FIRST, ST_REG_LAST): Increment. + (HILO_REGNUM): Define. + (enum reg_class): Add HILO_REG. + (REG_CLASS_NAMES): Add "HILO_REG". + (REG_CLASS_CONTENTS): Add HILO_REG initializer, and adjust ST_REGS + and ALL_REGS initializers. + (SECONDARY_RELOAD_CLASS): Remove. + (SECONDARY_INPUT_RELOAD_CLASS): Define. + (SECONDARY_OUTPUT_RELOAD_CLASS): Define. + (REGISTER_MOVE_COST): Treat HILO_REG as MD_REGS. + (REGISTER_NAMES): Add initialization line. + (DEBUG_REGISTER_NAMES): Add "accum". + * mips/mips.md: For each instruction which sets HI or LO, clobber + HILO_REGNUM with (clobber (match_scratch:MODE N "=a")). Change + each explicit reference to register 66 to register 67. + (mulsidi3): Change to define_expand. + (mulsidi3_internal): New name of old mulsidi3. + (mulsidi3_64bit): New insn. + (umulsidi3): Change to define_expand. + (umulsidi3_internal): New name of old umulsidi3. + (umulsidi3_64bit): New insn. + (madddi_64bit, umaddi_64bit): New insns. + (movdi_internal2): Add case for setting HILO_REG to zero. + (reload_indi, reload_outdi): New define_expands. + (movsi_internal1, movsi_internal2): Add cases for setting MD_REGS + to zero, and for setting a general reg to HILO_REG. + (reload_outsi): New define_expand. + * mips/mips.c (mips_reg_names): Add "accum". + (mips_sw_reg_names): Likewise. + (mips_regno_to_class): Map HILO_REGNUM to HILO_REG. + (mips_move_1word): Handle moving HILO_REGNUM to a general + register. Make sure that the normal MD_REG cases aren't used for + HILO_REGNUM. Handle moving zero to a MD_REG. + (mips_move_2words): Make sure that the normal MD_REG cases aren't + used for HILO_REGNUM. Handle moving zero to a MD_REG. + (override_options): Set mips_char_to_class for 'a' and 'b'. + (mips_secondary_reload_class): Add in_p argument. Handle + HILO_REGNUM. + +Mon Mar 27 07:16:05 1995 Warner Losh + + * gcc.c: Removed __NetBSD__ from conditional. + Declare strerror if HAVE_STRERROR is defined; otherwise + declare sys_errlist and sys_nerr. + (my_strerror): New function. + +Fri Mar 24 18:08:14 1995 Jason Merrill + + * i386/linux.h (LIB_SPEC): Don't try to link with libraries we + know only exist in archive form unless -static. + +Fri Mar 24 16:12:16 1995 Doug Evans + + * Makefile.in (multilib.h): Depend on Makefile, not config.status. + +Fri Mar 24 15:01:17 1995 Michael Meissner + + * rs6000/rs6000.h (TARGET_MULTIPLE_SET): New target_flags bit that + indicates -mmultiple or -mno-multiple was explicitly passed by the + user, and not set as part of the cpu defaults. + (TARGET_SWITCHES): Set TARGET_MULTIPLE_SET bit for both -mmultiple + and -mno-multiple. + + * rs6000/rs6000.c (rs6000_override_options): If -mmultiple or + -mno-multiple was explicitly used, don't override the setting with + the processor default. + +Wed Mar 22 21:42:13 1995 Doug Evans + + * i960/i960.c (i960_function_arg_advance): Ensure all regs marked + as used if stack is also used (for va_start). + (i960_setup_incoming_varargs): Rewrite to be similar to Intel's + version, but don't allocate reg block unless necessary. + * ginclude/va-i960.h (varargs va_start): Save g14 explicitly. + Account for arguments preceding va_alist. + +Wed Mar 22 13:24:55 1995 Torbjorn Granlund + + * pa.c (singlemove_string): Handle SFmode constants again. Simplify. + (zdepi_cint_p): Make some variables HOST_WIDE_INT. + (lhs_lshift_cint_operand): Likewise. + (output_and): Likewise. + (output_ior): Likewise. + +Wed Mar 22 12:40:09 1995 Jim Wilson + + * sh.md (udivsi3): Don't clobber register 6. + (udivsi3, divsi3, mulsi3_call): Use a pseudo-reg with regclass 'z' + for output rather than hard register 0. + (block_move_real): Don't clobber registers 4 and 5. + + * mips.c (mips_select_section): Apply constant DEC_INITIAL tests + only to VAR_DECLs. + +Wed Mar 22 03:53:17 1995 Richard Stallman + + * config.sub (rm400, rm600): New machine names. + (sinix5.*, sinix): New os aliases. + (mips-siemens): Default os to sysv4. + +Mon Mar 20 21:56:47 1995 Per Bothner + + Merged Paul Eggert's patch to cccp.c of Wed Mar 8 18:21:51 1995: + * cpplib.c (do_include): Fix type typo: pcfbuflimit is char *, not int. - * c-decl.c (finish_enum): Compute the precision properly if the - maximum value is negative. + Merged Doug Evans' patch to cccp.c of Mon Feb 27 17:06:47 1995: + * cpplib.c (do_include): Check for redundant file before opening in + relative path case. Don't call fstat unnecessarily. + + Merged J.T. Conklin's patch to cccp.c of Wed Feb 22 20:29:31 1995: + * cpperror.c: Removed __NetBSD__ from conditional. + + Merged Kenner's patch to cccp.c & cexp.y of Tue Sep 20 17:49:47 1994: + * cppexp.c (struct operation): Make value by HOST_WIDE_INT. + (cpp_parse_expr): Change return type to HOST_WIDE_INT. + * cpplib (eval_if_expr): Likewise. + (do_if, do_elif): Update appropriately. + * cpplib.h (cpp_parse_expr): Removed, to avoid defining HOST_WIDE_INT. + + Merged Paul Eggert's patch to cccp.c of Mon Aug 8 19:42:09 1994: + * cpplib.c (create_definition): Warn about `#define a@', since a + diagnostic is now required (see ISO TC1's addition to subclause 6.8). + Also warn about `#define is-empty(x) (!x)'. + +Tue Mar 21 00:10:50 1995 Jeffrey A. Law + + * x-pa (CC): Add "-Dbsd4_4". + +Mon Mar 20 18:40:31 1995 Per Bothner + + * toplev.c (print_error_function): New function hook. + (default_print_error_function): New function. Default value + of print_error_function. Code moved here from report_error_function. + (report_error_function): Use print_error_function hook. + +Mon Mar 20 20:27:43 1995 Doug Evans + + * cccp.c (do_xifdef): Handle c++ comments. + (do_endif): Likewise. + +Mon Mar 20 15:31:45 1995 Jason Merrill + + * configure (i386 configurations): Prepend i386/ to t-crt*. + +Mon Mar 20 07:58:04 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * stmt.c (fixup_gotos): Add missing call from last change. + + * objc/misc.c: Put Alpha-specific decls before #include of runtime.h. + + * alpha.h (EXTRA_SECTIONS): Write zeros first time in .rdata. + +Sat Mar 18 16:37:24 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * flow.c (mark_used_regs, case SUBREG): Set reg_changes_size even + for integer modes. + (mark_used_regs): Set reg_changes_size for RHS, if necessary. + * combine.c (gen_lowpart_for_combine): Set reg_changes_size, if needed. + * reload.c (push_reload): Reload a SUBREG if paradoxical and + class is CLASS_CANNOT_CHANGE_SIZE. + * reload1.c (gen_reload): Handle paradoxical SUBREGs. + * alpha.h (SECONDARY_{INPUT,OUTPUT}_RELOAD_CLASS): Need GENERAL_REGS + for paradoxical SUBREG and FLOAT_REGS. + (SECONDARY_NEEDED_MODE): Use actual mode for 4 bytes or wider. + * alpha.md (movsi): Allow FP regs and add case for store of FP reg. + Remove cvtlq from MEM to FP reg case. + + * rtl.h (emit_insns_after): Add declaration. + * stmt.c (fixup_gotos): Do a cleanup for a block when it is exited + even if label if not defined yet. + + * function.c (pop_function_context): Fix error in last change; + reference old value of current_function_decl before we modify it. + +Fri Mar 17 21:57:44 1995 Jason Merrill + + * toplev.c (rest_of_compilation): Handle -Wreturn-type properly + for inlines we aren't compiling yet. + +Fri Mar 17 21:26:48 1995 Mike Stump + + * libgcc2.c (__register_exceptions): Handle empty tables. + +Fri Mar 17 11:48:31 1995 Douglas Rupp (drupp@cs.washington.edu) + + * i386/winnt.c (winnt_function_prologue): Deleted. + (gen_stdcall_suffix): New function. + +Thu Mar 16 17:36:52 1995 Jason Merrill + + * svr4.h (LINK_SPEC): If the user did not specify -h name, use the + output file name, if any. + * sparc/sol2.h (LINK_SPEC): Ditto. Also, if the user did not + specify -R path, add an -R for each -L. + + Move SunOS 4-specific assembler switches into the appropriate place. + * m68k/sun[23].h (ASM_SPEC): Add %{R} %{j} %{J} %{h} %{d2} + %{keep-local-as-symbols:-L}. + * i386/sun.h (ASM_SPEC): Add %{R} %{keep-local-as-symbols:-L}. + * sparc/sparc.h (ASM_SPEC): Ditto. + * gcc.c (default_compilers): Remove %{R} %{j} %{J} %{h} %{d2} + %{keep-local-as-symbols:-L} from assembler rules. + +Thu Mar 16 16:58:09 1995 Michael Meissner + + * rs6000/eabi-ctors.c: New file, handle C++ static constructors + and destructors without requiring anything else from a libc. + + * rs6000/t-eabi (LIB2FUNCS_EXTRA): Build eabi-ctors.c. + + * rs6000/eabi.asm: Do not load up register 2 if there is no .got + section. Jump to the __do_global_ctors function at the end of + processing to call C++ static constructors, and it will return to + __eabi's caller. Use normal volatile registers, instead of saving + and restoring registers 30 and 31. + + * rs6000/eabi.h (STARTFILE_SPEC): Define as null. + (LIB_SPEC): Ditto. + (ENDFILE_SPEC): Ditto. + (LIBGCC_SPEC): Always look for libgcc.a. + +Thu Mar 16 17:05:14 1995 Richard Kenner + + * stmt.c (warn_if_unused_value, case SAVE_EXPR): New case. + (warn_if_unused_value, case NOP_EXPR): OK if CALL_EXPR inside. + + * c-common.c (decl_attributes): Allow alignment for TYPE_DECLs. + + * Makefile.in (xsys-protos.h): Fix typo in -U operand. + +Thu Mar 16 13:49:10 1995 Per Bothner + + * cpplib.c, cpplib.h: New files - a C PreProcessor library. + * cpphash.c, cpphash.h, cppalloc.c, cpperror.c, cppexp.c: + New files - utility features used by cpplib. + * cppmain.c: New file - cpp replacement main program for cpplib. + * Makefile.in: New rules to build cppmain. + +Thu Mar 16 16:11:05 1995 Douglas Rupp (drupp@cs.washington.edu) + + * i386/winnt.h (FUNCTION_PROLOGUE, HAVE_probe, gen_probe): Deleted. + (ENCODE_SECTION_INFO, VALID_MACHINE_DECL_ATTRIBUTE): New macro. + +Thu Mar 16 15:58:24 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * combine.c (apply_distributive_law, case SUBREG): Fix typo when + checking for paradoxical SUBREG. + +Wed Mar 15 18:45:08 1995 Doug Evans + + * libgcc1-test.c: Renamed from cross-test.c. + * Makefile.in (LIBGCC1_TEST): Renamed from CROSS_TEST. + (all.cross): Delete $(ENQUIRE) dependency. + (libgcc1-test): Renamed from cross-test. + Delete unnecessary gcc-cross and $(LIBGCC) dependencies. + Link with -nostartfiles -nostdlib + `$(GCC_FOR_TARGET) --print-libgcc-file-name`. + (libgcc1-test.o): Renamed from cross-test.o. + Change gcc-cross dependency to xgcc since the latter is used. + +Wed Mar 15 13:49:21 1995 Jason Merrill + + * tree.c (save_tree_status): Now takes a tree 'context' instead of + a boolean 'toplevel' as an argument. If 'context' is not + current_function_decl, create a new obstack for the new function. + Also save inline_obstacks. + (restore_tree_status): No longer takes a second argument. Also + restore inline_obstacks. + (temporary_allocation): Clear inline_obstacks. + (permanent_allocation): Free up the obstacks in inline_obstacks. + + * function.h (struct function): New fields contains_functions and + inline_obstacks. + + * function.c (push_function_context_to): Now takes a tree + 'context' instead of a boolean 'toplevel' as an argument. + Also save current_function_contains_functions. + (push_function_context): Pass current_function_decl to it. + (pop_function_context_from): Takes 'context' instead of 'toplevel'. + Set current_function_contains_functions properly. + (pop_function_context): Pass current_function_decl to it. + +Wed Mar 15 14:53:09 1995 Michael Meissner + + * rs6000/rs6000.md (abssi2): Turn into a define_expand. If + TARGET_POWER, do old code that uses the abs instruction. If not, + do abs in three instructions, using a temporary register, which + enables generating more reasonable code for sne. Add a recognizer + for negative of the absolute value. Add define_splits for the + PowerPC. + (sne insn): Add a recognizer for sne on the PowerPc to use two + instructions, compared to the four generated using the absolute + value insn. + +Tue Mar 14 18:38:40 1995 J.T. Conklin + + * m68k.md ({add,sub,mul,div}[sdx]f3): Add new patterns for recognizing + SImode, HImode, and QImode operands. + +Mon Mar 13 18:59:36 EST 1995 David Edelsohn + + * rs6000.h (CPP_SPEC): Add PPC403. + (processor_type): Add PPC403. + (RTX_COSTS): Add PPC403. + * powerpc.h (CPP_SPEC): Add PPC403. + * sysv4.h (CPP_SPEC): Add PPC403. + * rs6000.c (processor_target_table): Add PPC403. + * rs6000.md (define_attr cpu and function units): Add PPC403. + +Mon Mar 13 14:40:23 1995 Michael Meissner + + * rs6000/rs6000.md (call, call_value insns): Do not put a nop + after a bl instruction on System V.4 and eABI. + + * rs6000/sysv.4 (SUBTARGET_SWITCHES): Add support for + -mno-traceback to suppress the V.4 traceback word. + (ASM_DECLARE_FUNCTION_NAME): Don't put out a traceback work if + -mno-traceback. + +Mon Mar 13 13:36:37 1995 Jason Merrill + + * t-svr4, i386/t-{crtpic,sol2}, m88k/t-svr4, sparc/t-sol2: + Use -fPIC, rather than -fpic, for building crtstuff. + +Sat Mar 11 17:27:08 1995 Jason Merrill + + * configure: Use aix3newas.h for AIX 3.2.4 and 5. + * rs6000/aix41.h: Undefine ASM_OUTPUT_EXTERNAL{,_LIBCALL}. + * rs6000/aix3newas.h: New file. Define ASM_SPEC to -u, and + undefine ASM_OUTPUT_EXTERNAL{,_LIBCALL}. + +Sat Mar 11 06:42:50 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * dbxout.c (dbxout_symbol): Properly handle decl whose DECL_NAME + points to a TYPE_DECL with a zero TYPE_NAME. + +Fri Mar 10 18:18:33 1995 Torbjorn Granlund + + * pa.h (PROMOTE_MODE): Define. + +Fri Mar 10 14:37:58 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * sdbout.c (sdbout_record_type_name): If TYPE_NAME is + a TYPE_DECL, get name from DECL_NAME. + +Fri Mar 10 14:09:26 1995 Doug Evans + + * arm/riscix.h (SUBTARGET_SWITCHES): Renamed from + ARM_EXTRA_TARGET_SWITCHES. + * arm/riscix1-1.h (SUBTARGET_SWITCHES): Likewise. + * arm.h (SUBTARGET_SWITCHES): Likewise. + (TARGET_HARD_FLOAT, TARGET_SOFT_FLOAT): Define. + (TARGET_SWITCHES): Add -msoft-float, -mhard-float. + (BYTES_BIG_ENDIAN): Delete #ifndef/#endif. + (CONDITIONAL_REGISTER_USAGE): If -msoft-float, disable fp regs. + (FUNCTION_VALUE): R16 is return reg only if !-msoft-float. + (LIBCALL_VALUE): Likewise. + * arm.md (all fp patterns): Conditionalize on TARGET_HARD_FLOAT. + (*movsf_soft_insn, *movdf_soft_insn): New patterns. + +Fri Mar 10 13:53:46 1995 Jim Wilson + + * reorg.c (steal_delay_list_from_target): Exit at the top if the + branch in SEQ is not a single set. + + * sh.md (movdi define_split, movdf define_split): Correct indentation + and formatting. Make the condition fail if an operand is a MEM + with an auto-inc address. + + * varasm.c (copy_constant): Copy operand of ADDR_EXPR if it is a + constant. + + * mips/abi64.h (SETUP_INCOMING_VARARGS): Correct arguments to + move_block_from_reg call. + + * expr.c (expand_assignment): When offset is zero, make new MEM + before setting MEM_VOLATILE_P. + + * reload.c (find_reloads, case 'o'): Accept a fully reloaded + auto-increment address. + + * combine.c (max_uid_cuid): New static variable. + (INSN_CUID): Call abort if INSN is out of range. + (combine_instructions): Set max_uid_cuid. Set uid_cuid directly + instead of through INSN_CUID. + (get_last_value): Use prev_real_insn instead of prev_nonnote_insn. + Ignore USE insns generated by combine. + +Fri Mar 10 13:47:08 1995 Rod Barman + + * m68k/fpgnulib.c (__fixdfsi): Catch values < 0.5 in magnitude. + +Fri Mar 10 12:02:33 1995 Ian Lance Taylor + + * fixincludes: Fix `typedef struct term;' on hppa1.1-hp-hpux9. + +Fri Mar 10 05:50:11 1995 Oliver Kellogg (Oliver.Kellogg@RST13.DASA.DBMAIL.d400.de) + + * 1750a.c (sectname): Reverse Init and Normal. + (print_operand_address, case PLUS): Add case for LABEL_REF. + (print_operand_address, case LABEL_REF): Split fom SYMBOL_REF. + (print_operand_address, case CODE_LABEL): New case. + (ASM_FILE_END): Delete. + * 1750a.h (FUNCTION_EPILOGUE): Restore stack before freeing local vars. + (DEFAULT_SIGNED_CHAR): Now 1. + (DATA_SECTION_ASM_OP): Use pseudo-op for read-only data (later copied). + (JUMP_TABLES_IN_TEXT_SECTION): Define. + (ASM_OUTPUT_ASCII): Split into multiple lines if long. + (ASM_OUTPUT_{CHAR,SHORT,INT,LONG_INT}): Split up. + (ASM_OUTPUT_COMMON): Call check_section. + +Thu Mar 9 12:46:53 1995 Michael Meissner + + * rs6000.md (movsf): Do not call truncdfsf2 for non PowerPC + when expanding a store to memory and -msoft-float was used. + +Thu Mar 9 08:51:35 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * c-decl.c (start_function): Handle new parameter ATTRIBUTES. + * c-tree.h (start_function): Add new parameter. + * c-lang.c (finish_file): Pass new parm to start_function. + * objc-act.c (build_module_descriptor, really_start_method): Likewise. + * c-parse.in (fndef, nested_function): Pass prefix_attributes + to start_function. + (setspecs): Save prefix_attributes in declspec_stack. + (decl rules): Restore prefix_attributes along with current_declspecs. + (setattrs): Concatenate prefix_attributes to previous value. + * c-common.c (decl_attributes): Handle prefix and suffix attributes + the same way. + + * print-tree.c (print_node): Fix typo in printing large INTEGER_CST. + + * varasm.c (assemble_variable): Consistently use DECL_SIZE for + everything. + + * c-typeck.c (convert_for_assignment): Fix typo in testing for + pointer to function type. + + * varasm.c (record_constant_1): Handle NON_LVALUE_EXPR. + Rewrite to use switch instead of if/then/elseif/else. + +Wed Mar 8 18:21:51 1995 Paul Eggert + + * cccp.c (do_include): Fix type typo: pcfbuflimit is char *, not int. + +Wed Mar 8 17:30:29 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * fold-const.c (force_fit_type): Always propagate OVERFLOW. + + * rtl.def (INLINE_HEADER): Add new "e" field. + * rtl.h (FORCED_LABELS): New field; other fields adjusted. + (gen_inline_header_rtx): New parm FORCED_LABELS. + * emit-rtl.c (gen_inline_header): Add new parm FORCED_LABELS. + * integrate.c (initialize_for_inline, output_inline_function): + Handle FORCED_LABELS. + +Wed Mar 8 13:47:20 1995 Jason Merrill (jason@cygnus.com) + + * alpha.h (WORD_SWITCH_TAKES_ARG): Add -rpath. + (LINK_SPEC): Pass through -taso and -rpath. + * alpha/osf12.h (LINK_SPEC): Ditto. + +Wed Mar 8 09:59:56 1995 Michael Meissner + + * rs6000/eabi.asm: Rewrite so that the initialized pointers go + into the .got2 section, which allows eabi.asm to be assembled with + the -mrelocatable option. Move the data picked up from the bl + instruction to before the traceback tag. + + * rs6000/sysv4.h (CPP_SPEC): Define _RELOCATABLE if -mrelocatable + switch is used. + + * libgcc2.c (__new_handler): Don't initialize the pointer variable + with the address of __default_new_handler, which may not work in + some shared library mechanisms. + (__builtin_new): If __new_handler is NULL, call the function + __default_new_handler. + +Tue Mar 7 17:34:59 1995 Ian Lance Taylor + + * i960.h (PROCESS_PRAGMA): Define. + (ROUND_TYPE_ALIGN): Pass maximum of COMPUTED and SPECIFIED to + i960_round_align. + (ROUND_TYPE_SIZE): Delete. + * i960.c (process_pragma): Uncomment, and rewrite for gcc 2. + (i960_round_size): Delete. + (i960_round_align): Don't adjust suggested alignment downward. + Restrict alignment to value set by #pragma align. + +Tue Mar 7 12:14:46 1995 Doug Evans + + * configure (sparc64-*-elf): Add crtbegin.o, crtend.o to extra_parts. + * sparc/sp64-elf.h (TARGET_VERSION): Define. + (CPP_PREDEFINES): Delete sun, sparc, unix. Delete OS assertions. + (ASM_SPEC): Define. + (LINK_SPEC): Delete solaris stuff, this is an embedded target. + (STARTFILE_SPEC, ENDFILE_SPEC): Define. + +Mon Mar 6 17:54:01 1995 Doug Evans + + * Makefile.in (install-common): Fix typo in installation of cpp. + Likewise with gcc-cross. + +Mon Mar 6 02:29:05 1995 Jeffrey A. Law + + * pa.md (movsicc): New expander. + +Fri Mar 3 13:34:20 1995 Michael Meissner (meissner@cygnus.com) + + * rs6000/sysv4.h (ASM_SPEC): If -mrelocatable was passed to + compiler, pass it on to the assembler. + +Fri Mar 3 12:11:28 1995 Ian Lance Taylor + + * fixincludes: Add fixes for VxWorks header files. + * ginclude/stddef.h: If VxWorks typedef macros are defined, invoke + them as appropriate. + +Fri Mar 3 05:48:54 1995 Paul Eggert + + * cccp.c (dump_single_macro): Fix typo: % wasn't properly + doubled in printf formats. + +Thu Mar 2 19:44:02 1995 Jason Merrill + + * expr.c (expand_expr, CLEANUP_POINT_EXPR): Force the operand out + of memory before running cleanups. + +Thu Mar 2 19:15:24 1995 Paul Eggert + + * cccp.c (rescan): Prevent accidental token-pasting to + get !=, *=, /=, ==, or ^=. + +Thu Mar 2 15:37:13 1995 Jason Merrill + + * c-typeck.c (build_binary_op): Avoid spurious warning + comparing enumerator to unsigned variable. + +Thu Mar 2 18:18:38 1995 J.T. Conklin + + * m68k.md (sqrtsf2,sqrtdf2): Use fp precision specifiers. + +Thu Mar 2 18:09:01 1995 Stephen L Moshier (moshier@world.std.com) + + * c-lex.c (yylex, case !NOT_FLOAT): Remove previous change. + +Thu Mar 2 15:26:50 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * Makefile.in (bootstrap*): Pass new STAGE_PREFIX to recursive makes. + +Wed Mar 1 14:52:16 1995 Ian Lance Taylor + + * i960/i960-coff.h (ASM_FILE_START): Define. + (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Define. + (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Define. + (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Define. + (INT_ASM_OP): Define. + (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Define. + * i960/vx960-coff.h (CPP_PREDEFINES): Define. + (CPP_SPEC): Define. + (CC1_SPEC): Default to -mca. + +Wed Mar 1 11:10:54 1995 Michael Meissner (meissner@cygnus.com) + + * rs6000/rs6000.c (output_prologue): Do not emit the word that + gives the PC relative location to the local GOT table for the + -mrelocatable option here. + * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Emit it here. + + * t-eabi (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Build -msoft-float + and -mrelocatable versions of the library. + + * rs6000/powerpc.h (CPP_PREDEFINES): Define the cpu and machine as + powerpc, not rs6000. + + * libgcc2.c (_unwind_function): Clone for powerpc, using the + PowerPC mnemonics. + + * rs6000/rs6000.md (uminsi3, umaxsi3): Silence warnings that + -2147483648 is too large to fit in a signed integer on 32-bit + hosts. + +Wed Mar 1 06:48:31 1995 Richard Kenner + + * fold-const.c (decode_field_reference): Don't check TREE_CODE + of EXP; let get_inner_reference decide if have reference. + Allow no bit reference if have AND_MASK. + (all_ones_mask_p): Use tree_int_cst_equal, not operand_equal_p. + (unextend): New function. + (fold_truthop): For constant cases, use new function, rework + conversion, and warn if comparison can never be true. -Thu Jan 16 07:40:29 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * expr.c (store_expr): Do conversion in two steps for promoted lhs. - * reorg.c (try_merge_delay_insns, fill_slots_from_thread): Have - update_block put the phantom insn before THREAD. - (update_block): Update block status if WHERE, not INSN, is block head. - -Thu Jan 16 00:28:14 1992 Ron Guilmette (rfg ay ncd.com) - - * i860.c (output_fp_move_double): Fixed typo. - - * protoize.c (GUESSPATHLEN, pointer_type, const_pointer_type): - moved definitions declarations out of conditional region. - (string_list_cons, shortpath, munge_compile_params): Added casts. - (find_extern_def): Fixed string literal to avoid trigraph. - (find_rightmost_formals_list): Fixed to avoid unreached code warnings. - - * svr4.h (ASM_OUTPUT_ASCII): Fixed typo. - -Wed Jan 15 21:58:01 1992 Jeffrey A Law (law at b117b.super.org) - - * sparc.h (SELECT_RTX_SECTION): When generating PIC, place symbolic - operands in the data section. - -Wed Jan 15 21:45:09 1992 Michael Meissner (meissner at osf.org) - - * collect2.c (main): Pass any -b, -B, -m, -f, and - -V options to gcc instead of the linker, in order to allow - target switches that affect the size of pointers and search paths to - be passed through. - (main, choose_temp_base): Use TMPDIR environment variable, and the - P_tmpdir macro if defined to locate directory to put temp files. - (whole file): Reorganize so that all of the OSF/rose stuff goes at - the end of the file, rather than being scattered throughout. - (main, scan_prog_file): Invoke scan_prog_file twice, once on each - output of ld. - (scan_prog_file, read_file, write_file): On the second invocation, - rewrite the object file in place, adding a load command to put - __main in the list of initializer functions. This allows users - to put constructors and destructors into shared libraries. - (scan_prog_file): Move debug stuff and error routines to separate - functions. - -Wed Jan 15 17:59:02 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * combine.c (can_combine_p): Don't combine if DEST is still a field - assignment after we've tried to expand it. - -Wed Jan 15 16:01:13 1992 James Van Artsdalen (james at bigtex.cactus.org) - - * regclass.c (fix_register): Don't match a null register name. - * varasm.c (decode_reg_name): Likewise. - - * i386.h (HI_REGISTER_NAMES): Give the eliminable arg pointer a - null name. - -Wed Jan 15 13:40:50 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * gcc.c (default_compilers): Pass -lang-asm, not -lang-asmc, to cpp. - - * gcc.c (process_command): Don't dump md_exec_prefix in specs. - Use the md_... prefixes only if no -b. - -Wed Jan 15 13:35:09 1992 Ron Guilmette (rfg at ncd.com) - - * i386v4.h (RETURN_IN_MEMORY): Definition added. - (CPP_PREDEFINES): Added -DX86 (needed for some system headers). - (ASM_OUTPUT_DWARF_STRING): Deleted. - (ASM_OUTPUT_ASCII): Added specialized definition for i386/svr4. - - * svr4.h (SVR4): Deleted useless define. - (ASM_FILE_END): Added definition. - (ESCAPES, STRING_LIMIT, STRING_ASM_OP, ASM_OUTPUT_LIMITED_STRING): - (ASM_OUTPUT_ASCII): Generic svr4 definitions added. - - * m68kv4.h (CPP_PREDEFINES): Don't define SVR4. - * sparcv4.h (CPP_PREDEFINES): Don't define SVR4. - (ASM_OUTPUT_ASCII): Deleted obsolete definition. - - * xm-svr4.h (SVR4): Removed useless definition. - (POSIX): Added definition for protoize.c. - - * i860b.h (ASCII_DATA_ASM_OP, ASM_OUTPUT_ASCII): Moved from i860.h. - * i860v3.h (ASCII_DATA_ASM_OP): Added OS-specific definition. - * i860v4.h (ASCII_DATA_ASM_OP, ASM_OUTPUT_ASCII): - Deleted (now in svr4.h). - - * fixinc.svr4: Replaced all occurances of {1,\} in sed command - string with functional equivalents (to avoid bogus results). - - * c-lex.c (readescape): Pass thru escaped x, a, and v if -traditional. - (readescape): Pedantic warning for \?, \(, \{, and \[. - - * dwarfout.c: Updated copyright. - (fundamental_type_code): Abort for all non-fundamental types. - (type_is_fundamental): Return 0 for all non-fundamental types. - (containing_type_attribute, output_ptr_to_mbr_type_die): New functions. - (output_pointer_type_die, output_reference_type_die): Added calls to - equate_type_number_to_die_number. - (output_type): Handle OFFSET_TYPE correctly. - (output_type): Ignore LANG_TYPE (for now). - -Wed Jan 15 09:30:08 1992 Michael Tiemann (tiemann at cygnus.com) - - * All cp-* files: Remove calls to `cleanup_after_call'. - - * cp-method.c (fndecl_as_string): Add a missing space when printing - the return type. - - * cp-typeck.c (build_modify_expr): Treat arrays specially in both - INIT_EXPR and NOP_EXPR cases. Also, if we take the address NEWRHS - when it's not a SAVE_EXPR, build a new NEWRHS using that address. - * cp-tree.c (lvalue_p): Handle WITH_CLEANUP_EXPR case. - - * cp-decl.c (grokvardecl): Don't get tripped up by static class - members of incomplete type. - -Wed Jan 15 09:12:51 1992 Jeffrey A. Law (law at wombat.gnu.ai.mit.edu) - - * m68k.c (legitimize_pic_address): Re-enable code which was - mistakenly #ifdef'd out. - -Wed Jan 15 08:12:18 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * reload.c (find_reloads): Check for insn not recognized. - - * caller-save.c (reg_{save,restore}_code): New variables. - (init_caller_save): Set them. - (insert_save_restore): Just make SET for pattern of insn and set - code from reg_{save,restore}_code. - (save_call_clobbered_regs): Put restore insns before JUMP_INSN that - ends basic block, but after any other insn that ends the block. - - * sdbout.c (sdbout_symbol): Treat (mem (reg SP)) the same - as (mem (reg FP)). - - * reorg.c (mark_referenced_resources): Fix typo in last change. - (emit_delay_sequences): Update chain correctly when previous or - next insn is also a SEQUENCE. - -Wed Jan 15 08:10:29 1992 Chris Smith (cks at bach.convex.com) - - * t-convex: Use collect2 to link. - * convex.h: remove assembly output defines for old collect2. - * convex.h: define vprintf and wait macros for pcc mode boot of - collect2. - - * convex.h (ASM_OUTPUT_DOUBLE_INT): define. - - * convex.h (DEFAULT_GDB_EXTENSIONS): define as 0 until GDB version 4 - port is available. - - * convex.c (ap_reload_needed): Fix comment. - -Wed Jan 15 07:08:25 1992 Tom Wood (wood at dg-rtp.dg.com) - - * m88k.h (CONST_SECTION_FUNCTION): Trivial definition for targets - not based on svr[34].h (m88k-luna). - - * m88k.h (PREDICATE_CODES): Use it. - - * m88k.md (casesi_enter): Don't use bsr.n with -fno-delayed-branch. - * m88k.h (ASM_OUTPUT_CASE_END): The lda goes here when bsr is used. - - * m88k.c (legitimize_address): When converting a symbol_ref for - PIC, add a REG_EQUAL note. - -Wed Jan 15 06:22:34 1992 Michael Meissner (meissner at osf.org) - - * mips.h (MIPS_VERSION): Bump Meissner version # to 8. - (fcmp_op): Add function declaration. - (TARGET_FLOAT64): Support for -mfp64 switch to support the R4000 FR - psw bit, which doubles the number of floating point registers. - (TARGET_SWITCHES): Likewise. - (HARD_REGNO_NREGS): Likewise. - (CLASS_FCMP_OP): New bit for classifing floating point compares. - (PREDICATE_CODES): Add cmp2_op and fcmp_op support. - - * mips.c (various): Move extern declarations from inside of - functions to outside all functions. - (fcmp_op): Match comparison operators for floating point. - (mips_move_2words): Add -mfp64 support. - (override_options): Likewise. - (compute_frame_size): Likewise. - (override_options): Set up for fcmp_op. - (gen_conditional_branch): Redo floating point compares/branches, so - that it is like the rest of the compiler expects -- set cc0 to a - compare operator, instead of the exact test required, and put the - smarts in the branch operators to generate both the test and the - branch. - - * mips.md (cmpdf_eq, cmpdf_lt, cmpdf_le): Delete. - (cmpsf_eq, cmpsf_lt, cmpsf_le): Delete. - (cmpdf_internal): New define insn to match FP compares. - (cmpsf_internal): Likewise. - (branch_fp_true1, branch_fp_true2): Likewise. - (branch_fp_false1, branch_fp_false2): Likewise. - (branch_fp_true, branch_fp_false): New define_insns to match the - branch part of FP compares. - -Wed Jan 15 01:42:39 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) - - * unroll.c (copy_loop_body): New parameter copy_notes_from, to - correct problem with bad debug info generated for preconditioned - loops. - (unroll_loops): Fix calls of copy_loop_body to pass new parameter. - -Wed Jan 15 01:01:39 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * gcc.c (main): Don't use TARGET_VERSION. - (endfile_spec, switches_need_spaces): New vars, initted from macros. - (set_spec, process_command): Read and write those vars. - (do_spec_1, process_command): Use the new vars, not the macros. - (SWITCHES_NEED_SPACES): New default macro definition. - - * Makefile.in (install-common): Install driver as gcc-$(target). - - * gstddef.h (wchar_t): Check for _T_WCHAR. - - * stmt.c (pushcase, pushcase_range): Return 5 if jump into stack level. - * c-parse.y, objc-parse.y (stmt): Print error msg for that. - * cp-parse.y: Likewise. - -Tue Jan 14 23:25:37 1992 Ron Guilmette (rfg at ncd.com) - - * dwarfout.c: Include if USG *or* POSIX. - (TREE_UID): Deleted. - (current_funcdef_number): Replacement for TREE_UID. - (dwarfout_file_scope_decl): Increment - current_funcdef_number after each funnction definition is processed. - (pending_sibling_stack_depth): Renamed globally to pending_siblings. - (pending_sibling_stack_size): Renamed to pending_siblings_allocated. - (PENDING_SIBLING_STACK_INCREMENT): Renamed PENDING_SIBLINGS_INCREMENT. - (pending_types_list, pending_types_allocated, pending_types, - PENDING_TYPES_INCREMENT, fake_containing_scope): New vars/macros. - - * dwarfout.c (total_ft_entries): Renamed to ft_entries_allocated. - (valid_ft_entries): Renamed to ft_entries. - (FT_ENTRIES_INCREMENT): Definition added. - (lookup_filename): Expand filename table (when needed) - by adding FT_ENTRIES_INCREMENT more table elements rather than - doubling current size. - (dwarfout_init): Allocate initial filename table. - - * dwarfout.c (INSN_LABEL_FMT, FUNC_END_LABEL_FMT): Use decimal format. - - * dwarfout.c (member_attribute): Rewritten for proper C++ support. - (output_array_type_die, output_set_type_die, output_entry_point_die, - output_enumeration_type_die, output_global_subroutine_die, - output_global_variable_die, output_inline_subroutine_die, - output_local_variable_die, output_member_die, output_pointer_type_die, - output_reference_type_die, output_string_type_die, - output_structure_type_die, output_local_subroutine_die, - output_subroutine_type_die, output_typedef_die, output_union_type_die): - Added calls to member_attribute (for C++). - - * dwarfout.c (inline_attribute): Test for TREE_INLINE in here. - (output_global_subroutine_die, output_local_subroutine_die): - Don't test for TREE_INLINE here. - - * dwarfout.c (output_formal_types): Fixed to handle METHOD_TYPE - nodes and to output all related type DIEs last (for SDB). - (type_ok_for_scope, output_pending_types_for_scope, pend_type): - Functions added to support C++. - (output_type, output_decl): Added `containing_scope' - parameter to handle C++ nested types. - (output_type): Don't output the type unless it's OK - for the current DIE chain (i.e. unless it's OK for the current scope). - (output_type): Output completed non-global tagged types - right away even if not finalizing. - (output_type): Use correct method to get head of chain - of C++ function members. - (output_decl): Skip first item on chain of DECL_ARGUMENTS - for a FUNCTION_DECL whose type is a METHOD_TYPE. - Suppress output of type DIEs for formal parms of a FUNCTION_DECL - until after all TAG_parameter DIEs have been output (for SDB - compatability). - Output DIEs for any LABEL_DECL nodes attached to outermost BLOCK of - a FUNCTION_DECL. - Handle LABEL_DECL nodes. - - * dwarfout.c (dwarfout_file_scope_decl): Un-pend all pending file- - scope types after each file-scope declaration is output. - (output_decls_for_scope): Un-pend all pending local types - at end of each local scope. - -Tue Jan 14 16:40:39 1992 Tim Moore (moore at fast.cs.utah.edu) - - * calls.c (expand_call): If ARGS_GROW_DOWNWARD, make slot_offset - negative and set highest_outgoing_arg_in_use to needed + 1. - (store_one_arg): If ARGS_GROW_DOWNWARD deal with negative slot_offset. - -Tue Jan 14 20:01:59 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) - - * sparc.h (TARGET_SUN_ASM, TARGET_GNU): Delete support for - obsolete and undocumented flags -msun-asm and -mgnu. - * sparc.md: Likewise. - -Tue Jan 14 19:36:21 1992 Tim Moore (moore at fast.cs.utah.edu) - - * xm-hp800.h (hpux8): define. - * hp800.h (LINK_SPEC): Conditionalize on hpux8. - (STACK_BOUNDARY): Define for snake. - (CALL_USED_REGISTERS): Shift register is special. - (HARD_REGNO_MODE_OK): Don't allow modes smaller that SImode in fp - registers. - (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Eliminate - GENERAL_OR_FP_REGS, GENERAL_OR_SNAKE_FP_REGS classes. - (FUNCTION_ARG): Handle snake fp arguments. - (ASM_DOUBLE_ARG_DESCRIPTORS): define. - (ASM_DECLARE_FUNCTION_NAME): Use above macro to get around hpux - 8.0 change. - * hp800.md (movsi, movdi): Add ! and * to constraints of anonymous - define-insns to discourage SImode values in fp registers. Don't - modify the stack pointer when moving between general and fp registers. - (mulsi): Take out pattern that matches a degenerate multiplication - by 1; it doesn't seem to be needed and causes problems. - (sar_sub): Change so that const_int isn't the first argument of - the comparison. - * hp800.c (output_fp_move_double): As above, don't modify the - stack pointer when moving between general and fp registers. - (output_block_move): Don't make one CONST_INT rtx and store - different integer values in it; cons up a "new" one for each value. - (output_floatsisf2, output_floatsidf2): Fix typos. - (output_arg_descriptor): Conditionalize for HPUX 8.0. - -Tue Jan 14 14:38:09 1992 Michael Tiemann (tiemann at cygnus.com) - - * cp-typeck.c (build_unary_op): Call readonly_warning_or_error if - ARG is TREE_READONLY (in addition to the type being TYPE_READONLY). - - * cp-init.c (maybe_adjust_addr_for_delete): If the adjustment needs - to be done, zero out the storage that held part of the cookie. - -Tue Jan 14 13:12:48 1991 Ron Guilmette (rfg at ncd.com) - - * c-decl.c (poplevel): Set TYPE_CONTEXT for each tagged type - except inside function declaration parm list. - (grokdeclarator): Set TYPE_CONTEXT for tagged type in decl parm list. - (pushtag): Don't set TYPE_CONTEXT for tagged types here. - -Tue Jan 14 06:46:37 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * global-alloc.c (global_alloc): Count multi-word pseudos correctly - in local_reg_n_refs. - (find_reg): Evict pseudos that overlap the register we take, not just - that start with that register. - - * a29k.c (a29k_debug_reg_map): New variable. - (output_prologue): Initialize it. - * a29k.h (DBX_REGISTER_NUMBER): Use that map. - - * ultrix.h (WCHAR_TYPE): Make definition be a known type. - - * final.c (final_scan_insn): Call DBR_OUTPUT_SEQEND before we - clear `final_sequence', so it can call dbr_sequence_length. - - * reload1.c (reload): Clear insn_needs once we know we have - reloads, instead of always. - Don't skip processing of reloads for CALL_INSNs when caller-save - needs a spill register. - - * flow.c (mark_used_regs, case RETURN): Insert missing test for global - registers. - - * reorg.c (mark_referenced_resources): Mark asm's as volatile - when appropriate. - - * integrate.h (struct inline_remap): New field const_equiv_map_size. - * integrate.c (expand_inline_function): Set it; make larger map. - (subst_constants): Don't reference out-of-range entry in equiv map. - * unroll.c (unroll_loop): Set const_equiv_map_size. - -See ChangeLog.4 for earlier changes. - -Local Variables: -mode: indented-text -left-margin: 8 -fill-column: 76 -version-control: never -End: +See ChangeLog.9 for earlier changes.