--- gcc/ChangeLog 2018/04/24 17:51:38 1.1.1.2 +++ gcc/ChangeLog 2018/04/24 18:17:31 1.1.1.7 @@ -1,4911 +1,7197 @@ -Tue Mar 24 04:00:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Nov 30 19:13:50 1994 Richard Kenner - * Version 2.1 released. + * Version 2.6.3 released. - * xcoffout.h: Renamed from xcoff.h. - * dbxout.c, final.c, toplev.c, varasm.c, xcoffout.c: Use new name. - * Makefile.in: Corresponding changes. +Wed Nov 30 19:02:49 1994 Jim Wilson - * dbxout.c (dbxout_type): Don't check DECL_IGNORED_P. + * combine.c (record_dead_and_set_regs_1): Handle SUBREGs. - * t-rs6000: Complete replacement, to build collect2 properly. + * expr.c (convert_move): When emit multiword conversion, force FROM + into a new pseudo-reg if it overlaps TO. - * Makefile.in (mostlyclean): Delete sorted indices that aren't used. - (extraclean): Delete patch outputs, *.d, *.Z, *.tar. + * fold-const.c (fold_truthop): Delete BIT_AND_EXPR of constants + with masks. - * Makefile.dos (getpwd.o): New target. - (OBJS, protoize, unprotoize): Add getpwd.o. - (SYSCALLS.c, SYSCALLS.c.X): Copy from Makefile.in. +Wed Nov 30 18:40:32 1994 Jason Merrill (jason@cygnus.com) - * x-i386sco (CCLIBFLAGS): Define as empty. + * alpha.h (ENCODE_SECTION_INFO): Don't do anything in g++. -Tue Mar 24 06:26:26 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Wed Nov 30 15:48:29 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cse.c (cse_insn): When deleting dead code after - making unconditional branch, check for end of chain. + * expr.c (emit_block_move): Only use movstr if size is + small enough constant or MODE is at least BITS_PER_WORD. - * sched.c (update_flow_info): Add code for REG_LABEL case. +Tue Nov 29 16:50:37 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * function.c (instantiate_virtual_regs_1): Don't modify a MEM - without copying it unless the modified MEM is valid. + * expmed.c (expand_shift): Open-code rotate even if by a variable. + * optabs.c (init_optabs): Don't set functions for rotl and rotr. - * cse.c (rtx_cost): Assign ASM_OPERANDS a high cost. +Mon Nov 28 18:53:06 1994 Dave Love (d.love@dl.ac.uk) -Tue Mar 24 05:48:25 1992 Ken Raeburn (raeburn@wombat.gnu.ai.mit.edu) + * Makefile.in (FLAGS_TO_PASS): Fix typo in GCC_FOR_TARGET. - * 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. +Wed Nov 23 17:25:43 1994 Ian Dall (dall@hfrd.dsto.gov.au) -Mon Mar 23 14:18:30 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + * config/ns32k/{ns32k.c,ns32k.h}: Add -mhimem to + support linking above 0x20000000 boundary. - * make-cc1.com: Add getpwd.c. + * config/ns32k/{netbsd.h,pc532.h, ns32k.c}: Fix meaning + of BASE_REG_NEEDED. -Mon Mar 23 12:53:02 1992 Jyrki Kuoppala (jkp@batman.cs.hut.fi) +Wed Nov 23 17:24:24 1994 Matthias Pfaller (leo@marco.de) - * pc532-min.h (HAVE_ATEXIT): Defined. + * configure (ns32k-pc532-netbsd): No need for fixincludes + and libgcc1. + * ns32k/ns32k.h (CONST_COSTS): Correct range is -0x1fff to 0x2000. + * ns32k/ns32k.md (everywhere): Correct range is -0x1fffffff + to 0x20000000, others have to be loaded with movd. + Shortcircuit with TARGET_32532 as early as possible. + (movsi): Use movd to load unknown symbol values. to allow + * ns32k/ns32k.c (print_operand): Removed dead code. + * ns32k/pc532.h (TARGET_DEFAULT): Forbid usage of bitfield + instructions. - * ns32k.c (print_operand) [PC_RELATIVE]: - Always use output_address for MEM. +Wed Nov 23 14:09:42 1994 Jim Wilson (wilson@cygnus.com) - * pc532.h (BASE_REG_NEEDED): Defined. + * mips.c (mips_output_external): Exclude __builtin_next_arg from list + of used external functions. -Mon Mar 23 07:28:14 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Wed Nov 23 13:30:52 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * combine.c (try_combine): Correct error in last change; don't - pass STRICT_LOW_PART or ZERO_EXTRACT to reg_overlap_mentioned_p. + * expr.c (emit_move_insn): If splitting up into individual words + and X is a push_operand, do the push and reference top of stack. - * sun3.h (CPP_SPEC): Delete extra brace. +Tue Nov 22 06:29:21 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Mon Mar 23 02:43:56 1992 Michael Tiemann (tiemann@mole.gnu.ai.mit.edu) + * fold-const.c (fold_convert): Don't fold conversion if it would + produce constant larger than we can support. + * emit-rtl.c (gen_lowpart_common): Do nothing if size is + greater than twice host wordsize, not just if equal. - * cp-decl.c (pop_from_top_level): Take care of C_C_D. + * optabs.c (emit_no_conflict_block): Just emit the insns if + the block contains something not an INSN or has an embedded block. -Sun Mar 22 17:24:09 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) +Mon Nov 21 18:41:42 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * varasm.c (output_constant): When eliminating conversions, + treat ARRAY_TYPE like a record. -Sun Mar 22 15:10:49 1992 Michael Meissner (meissner@osf.org) + * m68k.md (movqi): Fix typo in push/pop case. - * mips-tfile.c (mark_stabs): Make function defintion agree with - prototype. +Mon Nov 21 17:59:07 1994 David Edelsohn - * 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. + * aix41.h (LINK_SPEC): New overriding defintion. -Sun Mar 22 13:57:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Nov 18 19:10:24 1994 Kresten Krab Thorup (krab@next.com) - * c-typeck.c (convert_for_assignment): - Only explicit 0 converts to pointer. + * objc/object.c (class_create_instance): Replace memchr + with memset. - * Makefile.in (doc): Don't depend on gplus.info. - (gplus.info): Target deleted. +Fri Nov 18 18:53:57 1994 Philippe De Muyter (phdm@info.ucl.ac.be) - * c-decl.c (store_parm_decls): Call build_type_copy with just one arg. + * cccp.c (create_definition): Allow carriage-return ('\r') + as white space in simple or empty expansion. - * cccp.c (do_include): Use entire filename when checking for repeat. - Use lookup_include. - (lookup_include): New function. +Fri Nov 18 18:30:40 1994 Douglas Rupp (drupp@cs.washington.edu) - * protoize.c (find_extern_def): Store ??? one char at a time. + * winnt/ld.c (main): Fix off-by-one error allocating sdbuff. - * sparc.h (ASM_OUTPUT_FLOAT): Fix typo. +Fri Nov 18 14:16:04 1994 Chris Huey (cah@tactix.rain.com) - * fold-const.c (operand_equal_p): Reject NaNs and infinities. + * Makefile.in (objc-parse.y, mostlyclean): Rename temp file + for objc-parse.y to be under 14 characters. - * varasm.c (immed_real_const): Distinguish minus zero from zero. +Thu Nov 17 17:26:02 1994 Mark P. Gooderum (mark@good.com) - * sparc.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): - Use `inf' for infinities. Use hex for minus-zero. + * stddef.h: Include on NetBSD. + Check for _BSD_XXX_T_ as well as _XXX_T_. + Add _BSD_XXX_T_ to list of defines to check and define for a given + type for SIZE_T, PTRDIFF_T, and WCHAR_T. - * 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. +Thu Nov 17 11:11:50 1994 Mike Collison (collison@sw.stratus.com) -Sun Mar 22 13:11:32 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * dsp16xx.c (notice_update_cc): Removed reference to obsolete LSHIFT. + * dsp16xx.h (RTX_COSTS): Likewise. - * loop.c (update_giv_derive): Correctly handle the case where - more than one biv update occurs after a giv is defined. +Thu Nov 17 11:06:43 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cse.c (rehash_using_reg): Add missing arg to call to exp_equiv_p. + * alpha.c (some_operand): New function. + * alpha.h (PREDICATE_CODES): Add `some_operand'. + * alpha.md (addsi3, adddi3): For patterns valid only + during reload, allow operand 1 to be `some_operand'. - * expmed.c (expand_mult_add): Add missing arg to call to type_for_mode. + * flow.c (find_auto_inc): Insert missing "return" statement. - * 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. - -Sun Mar 22 09:20:16 1992 Michael Tiemann (tiemann@cygnus.com) + * c-common.c (print_char_table): Allow `L' for `u'. + +Wed Nov 16 19:28:46 1994 Jim Wilson (wilson@chestnut.cygnus.com) + + * loop.c (move_movables): For move_insn case, skip notes when deleting + instructions. + +Tue Nov 15 19:29:04 1994 Per Bothner - * cp-typeck.c (unary_complex_lvalue): Don't complain about taking - the ``address'' of a bound static method or member. + * tree.c (staticp): A non-nested function is always static. - * cp-init.c (resolve_offset_ref): Fix bug in handling of static - members and member functions. +Tue Nov 15 19:07:00 1994 Warner Losh (imp@village.org) + + * i386/freebsd.h (NO_IMPLICIT_EXTERN_C): Define. - * cp-decl2.c (finish_file): If CURRENT_CLASS_TYPE is non-NULL on - entry to this function, punt. +Tue Nov 15 18:57:46 1994 Jim Wilson (wilson@chestnut.cygnus.com) - * cp-parse.y (template_parm): Use CLASS_TYPE_NODE instead of - CLASS_TYPE value. + * reorg.c (relax_delay_slots): When invert a conditional jump over a + single unconditional jump, invert the INSN_FROM_TARGET_P bit of insns + in the delay slots. - * cp-cvt.c (build_type_conversion): Add another add-hoc rule to find - unsigned->int conversion (if conversion to long does not exist). + * reorg.c (redundant_insn_p): Change return type to rtx. Return the + redundant insn instead of true. + (update_reg_unused_notes): New function. + (fill_slots_from_thread): Call update_reg_unused_notes after one of + the redundant_insn_p calls. - * cp-method.c (build_overload_name): Don't call `array_type_nelts' - if the TYPE_DOMAIN of an array type is NULL_TREE. +Tue Nov 15 18:39:33 1994 Torbjorn Granlund (tege@tiny.cygnus.com) - * cp-init.c (build_offset_ref): Set up and use DECL even in case - where NAME resolves to a method. + * expmed.c (expand_divmod, case ROUND_DIV_EXPR): Implement. + * expr.c (do_jump_by_parts_greater_rtx): No longer static. + (expand_expr): Delete code for plain `abs'. + * optabs.c (expand_abs): New function, code moved from expand_expr. + * expr.h: Declare expand_abs. - * cp-call.c (ideal_candidate): Half of Jan 28 change was missing. - Now PARMS are not converted in place if BASETYPE is NULL. +Mon Nov 14 19:16:00 1994 Dennis Glatting - * cp-typeck.c (build_component_ref): Don't return a TYPE_DECL. + * fixincludes: Fixes for NextStep 3.2. Remove ``__const__'' from + sin and cos prototypes in ansi/math.h. Remove keyword ``template'' + from bfd/libc.h. Remove ``volatile'' from abort in bsd/libc.h + and abort and exit in ansi/stdlib.h. - * 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. +Mon Nov 14 18:54:28 1994 Douglas Rupp (drupp@cs.washington.edu) - * 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. + * i386/x-winnt (EXTRA_PROGRAM): Match target name. - * cp-decl.c (grokvardecl): If FIELD has incomplete type, complete it - with TYPE. +Mon Nov 14 18:48:21 1994 Torbjorn Granlund (tege@tiny.cygnus.com) - * 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. + * freebsd.h (INCLUDE_DEFAULTS): Move definition beyond + FREEBSD_NATIVE conditional. + (FUNCTION_PROFILER): Move down to make file more similar to + netbsd-i386.h. + (DEFAULT_TARGET_MACHINE, etc): Comment our this braindamage! - * 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. +Mon Nov 14 18:46:18 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-search.c (get_first_matching_virtual): Fix typo. + * calls.c (expand_call): If IS_CONST and VALREG == 0, end our + sequence and emit the insns. - * cp-tree.c (layout_basetypes): When warning about certain - inheritance relationships, only print "virtual" when the - inheritance is virtual. +Sat Nov 12 06:35:42 1994 Richard Kenner -Sun Mar 22 01:28:41 1992 Ken Raeburn (Raeburn@Cygnus.COM) + * Version 2.6.2 released. - 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. +Sat Nov 12 06:35:21 1994 Torbjorn Granlund (tege@cygnus.com) - * cp-pt.c (overload_template_name, undo_template_name_overload): - Revert 4 March change. + * expmed.c (expand_divmod, case TRUNC_DIV_EXPR): Promote signed + division by 0x80000000 to unsigned. - * cp-decl2.c: No longer define NEW_OVERLOAD_SCHEME. - (grokfield): Use new encoding scheme always. +Fri Nov 11 17:07:35 1994 Michael Meissner (meissner@osf.org) - * cp-pt.c (overload_template_name): Deleted extra assignment to - IDENTIFIER_LOCAL_VALUE slot. + * c-common.c (decl_attributes): Add double-underscore version of + printf and scanf for format type. - * cp-method.c (dump_aggr_type): Use DECL_CONTEXT rather than - DECL_CLASS_CONTEXT. +Fri Nov 11 16:38:04 1994 Jim Wilson (wilson@chestnut.cygnus.com) - * cp-pt.c (instantiate_class_template): Move some common code from - two branches to before branch point. + * mips-tdump.c: Include . Delete ctime prototype. - * cp-method.c (dump_aggr_type): Don't discard last character of - context string; it's not whitespace. +Fri Nov 11 14:16:00 1994 Holger Teutsch -Sun Mar 22 15:58:48 1992 Per Bothner (bothner@rtl.cygnus.com) + * clipper.md (movsi+1): Allow r->m move during reloading. - * cp-tree.h: Add more enum->int casts needed by some compilers. +Fri Nov 11 12:40:51 1994 Richard Kenner -Sun Mar 22 20:40:25 1992 Mike Stump (mrs@cygnus.com) + * c-decl.c (duplicate_decls): Properly merge decls with + differing DECL_CONTEXT. - * cp-typeck.c (build_modify_expr): Handle preincrement and - predecrement as valid lvals. + * function.c (preserve_rtl_expr_result): find_temp_slot_from_address + now used. + Don't bring the temp slot to an inner level than it was. + (assign_stack_temp): Always initialize p->rtl_expr. - * gplus.gperf: Finish off changing ASM to ASM_KEYWORD. - * cp-hash.h: Rebuilt. + * m68k/mot3300g.h (SPACE_AFTER_L_OPTION): Deleted. - * cp-type2.c (build_functional_cast): remove incorrect error message. +Thu Nov 10 18:50:52 1994 Kresten Krab Thorup (krab@next.com) -Sat Mar 21 15:43:04 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * objc/list.h: Add ifndef/define for repeated inclusion. - * c-typeck.c (build_c_cast): Don't warn if convert explicit 0 to ptr. +Thu Nov 10 18:02:58 1994 Michael Meissner - * 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. + * c-common.c (decl_attributes): Check for attributes with leading + and trailing double underscores. - * configure (pyramid): Commented out. +Thu Nov 10 17:55:07 1994 Chris Metcalf (metcalf@catfish.lcs.mit.edu) - * 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*. + * fixincludes: Make argument type const for popen and tempnam in + stdio.h and for strdup in string.h, for OSF/1 V3.0. - * configure (mips-*-sysv*): Renamed from mips-*-sysv and moved down. + * va-alpha.h (va_arg): Add cast to void * to suppress warning. - * gcc.c (execute): Undo Mar 12 change. +Thu Nov 10 17:48:21 1994 Walter Misar (hrz.th-darmstadt.de) - * configure (i386-*-bsd*): New alternative. - * i386bsd.h: New file. + * m68k/hp320.h (FUNCTION_{PRO,EPI}LOGUE): Don't define. + (IMMEDIATE_PREFIX, REGISTER_PREFIX): Define. -Sat Mar 21 15:14:08 1992 Ron Guilmette (rfg at ncd.com) +Thu Nov 10 15:04:57 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * sparc.c (output_move_double): Check for XEXP (op2, 0) being a - LOW_SUM, rather than checking op2. Handle both ldd and std there. + * m68k/crds.h (FUNCTION_{PRO,EPI}LOGUE): Add code to adjust stack + when no frame pointer. + * m68k.c (output_function_epilogue): Use a1 as scratch, not a0. + * m68k/tower-as.h (FUNCTION_{PRO,EPI}LOGUE): No longer defined. + (FUNCTION_EXTRA_EPILOGUE): Define. + * m68k/tower.h (REGISTER_PREFIX, IMMEDIATE_PREFIX): Define. -Sat Mar 21 14:14:10 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + * i386/x-sco, i386/x-sco4 (CLIB): Add -lPW. + (ALLOCA): Delete. - * vms.h (CPP_PREDEFINES): Do not define __GNU__. + * c-common.c ({print,scan}_char_table): Allow `L' modifier + for integer output formats. + (check_format_info): Treat `ll' like `q'. -Sat Mar 21 21:35:37 1992 Jyrki Kuoppala (jkp@batman.cs.hut.fi) + * rs6000.md (movsi): In TOC symbol case, use "la" for PowerPC. + (movdi): Handle TOC symbol just like movsi. - * ns32k.md (call_value): Added a missing "{". + * objc-act.c (init_objc): Add missing casts to args of bcopy. + (lang_init): Ensure line number is 0, not -1. - * ns32k.c (print_operand): Fixed typo X -> x, FILE -> file. +Tue Nov 8 07:51:53 1994 Paul Eggert -Sat Mar 21 11:11:04 1992 Michael Meissner (meissner@osf.org) + * cccp.c (dump_single_macro, dump_defn_1): If -traditional, + dump macros in traditional style. This also avoids a bogus error + message if the macro uses traditional stringizing. - * 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 +Mon Nov 7 21:28:13 1994 Michael I Bushnell + + * protoize.c [!POSIX]: Only define O_RDONLY and O_WRONLY 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. - * varasm.c (data_section): Add forward decl. +Mon Nov 7 19:33:31 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu) - * 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 %!. + * combine.c (try_combine): Update split_code after converting MULT + to ASHIFT. - * toplev.c (compile_file): Optionally call setvbuf for output file. +Mon Nov 7 12:26:24 1994 Torbjorn Granlund - * loop.c (move_movables): Fix typo. + * rs6000.md (DImode load-with-update matcher): Fix typo in MEM mode. + (compare patterns): Fix several typos, SImode => CCmode. + * sh.md (subdi3): Delete % from constraints. + * 1750a.md (subqi3): Likewise. + * clipper.md (subdi3): Likewise. + * i370.md (subqi3): Likewise. + (anonymous subqi3 matcher): Likewise. + * i860.md (subdi3): Likewise. + * dsp16xx.md (mulqi3): Fix typo in MULT mode. + * elxsi.md (one_cmplsi2): Fix typo in NOT mode. -Fri Mar 20 17:42:12 1992 Paul Eggert (eggert@twinsun.com) +Mon Nov 7 12:47:37 1994 Ian Lance Taylor - * 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. + * m68kv4.h (ASM_IDENTIFY_GCC): Use proper definition for SGS assembler. - * 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. +Mon Nov 7 11:02:25 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Fri Mar 20 12:58:57 1992 Ron Guilmette (rfg at ncd.com) + * gcc.c (process_command): Ignore LIBRARY_PATH and LPATH if + cross-compiler. - * dwarfout.c (location_or_const_value_attribute): Fixed to use - DECL_INCOMING_RTL as the "location" for formal parameter variables. +Sun Nov 6 07:23:37 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Fri Mar 20 13:26:16 1992 Michael Collison (collison@osf.org) + * cross-test.c (foo): Return value for BU in range for shifts. - * i386rose.h (INIT_SECTION_ASM_OP): OSF doesn't support a true - initialization section. +Sat Nov 5 14:25:36 1994 Jim Wilson (wilson@chestnut.cygnus.com) -Fri Mar 20 07:23:15 1992 Tom Wood (wood at dg-rtp.dg.com) + * m68k.h (PREFERRED_RELOAD_CLASS): FP constants rejected by 'G' + are OK for class FP_REGS. - * m88k.md (set zero_extract patterns): Use the + constraint. +Sat Nov 5 14:08:31 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * crtstuff.c (__do_global_ctors_aux): Declare it. + * calls.c (store_one_arg): Preserve any temp slots whose address + may have been taken. - * m88k.h (CONDITIONAL_REGISTER_USAGE): Mark the PIC register fixed, - but not call used. - - * m88k.c (m88k_builtin_saveregs): Get a properly aligned block. + * real.c (GET_REAL, PUT_REAL): Cast args to bcopy to char *. + * reload1.c (reload): Likewise. + * i386.c ({save,restore}_386_machine_status): Likewise. + * reg-stack.c (subst_asm_stack_regs): Likewise. + (BLOCK_NUM): Rework to avoid cast of abort to int *. + (find_blocks): Don't use BLOCK_NUM on lhs. + (reg_to_stack, record_arg_reg_life): Cast arg to bzero to char *. - * m88k.md (cpu attribute): Use const form. +Sat Nov 5 08:29:45 1994 Paul Eggert - * m88k.h, m88k.c, m88kdgux.h (uses of *_ASM_OP): Add tabs. + * cccp.c (rescan): Do not preserve newlines after macro name + if rescanning a macro expansion. Instead, preserve them if + not outputting marks. -Fri Mar 20 05:46:26 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Fri Nov 4 17:25:29 1994 John David Anglin (dave@hiauly1.hia.nrc.ca) - * expmed.c (emit_store_flag): Need to prevent SUBTARGET from being - OP0 in one more case. + * vax.c: Include tree.h and VMS-specific functions #ifdef VMS_TARGET. + * vms.h (VMS_TARGET): Define. - * 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. +Fri Nov 4 17:19:30 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * hp800.h (CONDITIONAL_REGISTER_USAGE): Make reg 27 a global_reg - for now. + * bi-arity.c (main): Cast enum to char in output. + * bc-emit.c (bc_emit_bytecode): Add missing cast. - * combine.c (make_field_assignment): Use correct mode when shifting - the source of the assignment. +Thu Nov 3 18:55:42 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * fold-const.c (invert_truthvalue): Correct error in last change. + * Makefile.in (c-parse.o, c-lex.o): c-parse.h is in $(srcdir). -Thu Mar 19 18:59:24 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Nov 3 18:11:56 1994 John F Carr (jfc@mit.edu) - * stmt.c (expand_end_case): Convert do_tablejump arg to Pmode. + * rs6000.md (movsi): New alternative for SYMBOL_REF source operand. + * rs6000.c (print_operand): New code '*' to print TOC register number. + (input_operand): Allow address of TOC entry. + * rs6000.h (EXTRA_CONSTRAINT): 'R' matches a SYMBOL_REF for TOC entry. + (PRINT_OPERAND_PUNCT_VALID_P): Recognize '*'. + (PREDICATE_CODES): input_operand can now match SYMBOL_REF. -Thu Mar 19 16:54:15 1992 Michael Meissner (meissner@osf.org) +Thu Nov 3 18:03:24 1994 Jason Merrill (jason@phydeaux.cygnus.com) - * collect2.c (main): Only pass -fxxx and -mxxx options to gcc when - building constructors. + * cccp.c: TOOL_INCLUDE_DIR is not C++-aware. -Thu Mar 19 16:44:21 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Thu Nov 3 17:23:30 1994 Jim Wilson (wilson@chestnut.cygnus.com) - * fold-const.c (invert_truthvalue): Correctly check for floating - comparison. + * mips.c (mips_output_external): Exclude alloca from list of + used external functions. -Thu Mar 19 14:42:49 1992 Tom Wood (wood at dg-rtp.dg.com) +Tue Nov 1 19:19:41 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * Version 2.6.1 released. - * 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. +Tue Nov 1 18:51:00 1994 Torbjorn Granlund (tege@cygnus.com) - * 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. + * pa.md (add_high_const): Add missing mode for PLUS. - * 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. +Tue Nov 1 18:39:53 1994 Stephen L Moshier (moshier@world.std.com) - * sun3.h: Delete extra #endif. + * cse.c (simplify_unary_operation, case TRUNCATE): Set LV and HV. -Thu Mar 19 14:25:50 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) +Tue Nov 1 18:36:23 1994 Pat Rankin (rankin@eql.caltech.edu) - * 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. + * vax.c (struct extern_list): Put code back outside of #ifdef VMS. + (vms_check_external, vms_flush_pending_externals): Likewise. -Thu Mar 19 13:59:16 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Oct 31 16:18:12 1994 Michael Meissner - * hp320.h (SPACE_AFTER_L_OPTION): Defined. - (LIB_SPEC): Defined. + * i386/i386.md (movsf, movdf, movxf): If we are moving floating + point constants to a non-memory location that aren't 0 or 1, + assume we need the pic register if -fpic. - * toplev.c (compile_file): Output aux_info_file in source file's dir. +Mon Oct 31 13:26:45 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu) -Wed Mar 18 17:42:12 1992 Paul Eggert (eggert@twinsun.com) + * sparc.h (GO_IF_LEGITIMATE_ADDRESS): Don't allow TFmode LO_SUM. + * sparc.md (movtf+3): Disable pattern. - * 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. +Mon Oct 31 08:11:47 1994 Doug Evans -Thu Mar 19 13:31:24 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * expr.c (expand_expr, COND_EXPR case): Don't use original target as + a temp if it's a volatile mem ref. Finish previous patch (don't + expand "X ? A & 1 : A" as "A & (X != 0)"). - * 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. +Mon Oct 31 08:07:09 1994 Pat Rankin (rankin@eql.caltech.edu) - * 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. + * vax.c: Include tree.h #ifdef VMS. + (struct extern_list): Move inside #ifdef VMS; add SIZE and IN_CONST + fields; make `extern_head' static; add second list head. + (vms_check_external): Move inside #ifdef VMS; give new args; maintain + list of both pending external symbols and previously defined ones. + (vms_flush_pending_externals): New function. + * vax/vms.h (ASM_GLOBALIZE_LABEL): Pass new args to vms_check_external. + (ASM_OUTPUT_EXTERNAL): Just call vms_check_external. + (ASM_{,FINISH_}DECLARE_OBJECT_NAME, ASM_FILE_END): Define. - * 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. +Mon Oct 31 08:00:59 1994 Michael Gschwind (mike@vlsivie.tuwien.ac.at) - * objc-actions.c (build_selector_translation_table): Add cast for - array index from enum to int to satisfy old compiler. + * pdp11.h (TARGET_SWITCHES): Add -split and -no-split. + (TARGET_SPLIT, TARGET_NOSPLIT): New macros. + (TRAMPOLINE_TEMPLATE, INITIALIZE_TRAMPOLINE): Abort if -split. - * c-parse.gperf: Change ASM to ASM_KEYWORD. - * gplus.gperf: Likewise. +Mon Oct 31 07:53:34 1994 Warner Losh - * Makefile.in (install-man): Delete duplicate lines. + * i386/x-freebsd (CLIB): Add definition. -Thu Mar 19 02:32:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Oct 31 07:49:17 1994 Jeffrey A Law - * c-decl.c (init_decl_processing): Disable `sqrt'. + * reorg.c (mark_set_resources): Properly handle SUBREGs. -Thu Mar 19 01:09:16 1992 James Van Artsdalen (james at bigtex.cactus.org) +Mon Oct 31 07:24:32 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * i386.c (output_move_double): Properly check for signedness in a - const_double. + * expr.c (expand_expr, case COMPONENT_REF): Don't extract + field from a CONSTRUCTOR if it already has a TREE_CST_RTL. + (expand_expr, case ADDR_EXPR): Call mark_temp_addr_taken + on the temporary made when operand needs to be stored into memory. + * function.c (preserve_temp_slots): Preserve anything whose + address was taken when X is zero. -Wed Mar 18 18:51:37 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sun Oct 30 15:11:51 1994 Richard Kenner - * gcc.c (link_command_spec) [not LINK_LIBGCC_SPECIAL]: Put back -s. + * msdos/top.sed, i386/config-nt.sed: Update version to 2.6.1. + * pa/t-pa-hpux: Add missing newline at end. - * config.sub (i486): Accept as CPU type. +Sat Oct 29 21:16:29 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * collect2.c (do_wait): Handle NO_SYS_SIGLIST. - * xm-hp320.h (NO_SYS_SIGLIST): Defined. + * emit-rtl.c (operand_subword): Fix typo: HOST_BITS_PER_INT + should be HOST_BITS_PER_WIDE_INT. -Wed Mar 18 15:58:31 1992 Tom Wood (wood at dg-rtp.dg.com) +Fri Oct 28 19:13:13 1994 Andrew McCallum (mccallum@vein.cs.rochester.edu) - * 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. + * objc/misc.c (__objc_xcalloc): Use calloc instead malloc/bzero. -Wed Mar 18 17:26:44 1992 Ron Guilmette (rfg at ncd.com) +Fri Oct 28 19:07:53 1994 Michael Gschwind (mike@vlsivie.tuwien.ac.at) - * svr4.h (MULTIBYTE_CHARS): Added definition. + * pdp11.h (TRAMPOLINE_SIZE): Install real implementation. + (INITIALIZE_TRAMPOLINE, TRAMPOLINE_TEMPLATE): Likewise. -Wed Mar 18 17:36:30 1992 Michael Meissner (meissner@osf.org) +Fri Oct 28 19:01:27 1994 Craig Burley (burley@gnu.ai.mit.edu) - * 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. + * Makefile.in (stage?-start): Add semicolon between fi and done. + +Fri Oct 28 17:12:26 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * cse.c (cse_insn): Don't record a DEST if paradoxical SUBREG + and SRC is a SIGN_EXTEND or ZERO_EXTEND. - * xm-mips.h (HAVE_PUTENV): Define if OSF/1. + * alpha.md (reload_outqi): Correctly handle scratch assignments + for unaligned case when ADDR is a REG. -Wed Mar 18 07:27:50 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Fri Oct 28 07:55:40 1994 Michael Meissner (meissner@osf.org) - * 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. + * i386/i386.md (adddi3): Fixup code in case operands[0] is equal + to operands[2]. - * hp800.h (OPTIMIZATION_OPTIONS): Do same thing as Sparc. +Thu Oct 27 18:58:39 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * combine.c (reg_bitfield_target_p): Use rtx_equal_p instead of - assuming the actual rtx is used. + * reload1.c (count_possible_groups): Fix typo in setting + counted_for_groups. -Wed Mar 18 00:20:38 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Oct 27 15:30:41 1994 Per Bothner - * gstddef.h: Handle _GCC_PTRDIFF_T, _GCC_SIZE_T, _GCC_WCHAR_T. - * fixincludes: Use those macros in inserted conditionals. + * c-typeck.c (process_init_element): In the case of + [LO .. HI] = VALUE, use save_expr to only evaluate VALUE once. - * gstddef.h: Handle _T_SIZE_ and _T_PTRDIFF_, like _T_WCHAR_. +Thu Oct 27 15:15:25 1994 Torbjorn Granlund (tege@rtl.cygnus.com) - * sun3.h (CPP_SPEC): Delete the alternative for fpa as default. - Define symbols with __ as well as without. + * gcc.c (process_command): Don't forget to split -Wl arguments at + commas. - * hp320.h (LINK_LIBGCC_SPECIAL, RELATIVE_PREFIX_NOT_LINKDIR): - Define unless USE_GAS. + * gcc.c (process_command): Handle -Wl, and -Xlinker similar to -l, + i.e., preserve their order with respect to linker input files. -Tue Mar 17 17:19:07 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Oct 27 13:11:16 1994 Douglas Rupp (drupp@cs.washington.edu) - * fixincludes (making directories): Always use find. + * configure (i[345]86-*-winnt3*): Allow any version 3.x. + Don't use a t-winnt file and move x-winnt to config/i386. + * i386/x-winnt: Build ld-winnt.exe only on host. + * winnt/t-winnt: Deleted. - * c-decl.c (pushdecl): Don't warn if define nonansi builtin as static, - or if define ANSI builtin as inline static. +Thu Oct 27 13:05:16 1994 Mike Collison (collison@chianti.sw.stratus.com) - * hp800hpux.h (LINK_LIBGCC_SPECIAL, RELATIVE_PREFIX_NOT_LINKDIR): New. + * reload.c (debug_reload): New function to print reload info + set up by find_reloads. - * fixinc.svr4: Special changes for Sony MIPS-NEWS. +Wed Oct 26 18:27:03 1994 David Mosberger-Tang -Tue Mar 17 15:12:57 1992 Tim Moore (moore@defmacro.cs.utah.edu) + * alpha.h (FUNCTION_PROFILER): Use $28 instead of $27. + (LINK_SPEC): Pass -pg to linker. + (LIB_SPEC): Link in -lprof1 with -pg, not -lprof2. + (STARTFILE_SPEC): USe gcrt0.o if -pg, not mcrt0.o. - * hp800.h (INITIAL_FRAME_POINTER_OFFSET): Get sign right, include - fixed area. +Wed Oct 26 18:22:34 1994 Doug Evans (dje@cygnus.com) -Tue Mar 17 14:06:01 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * expr.c (expand_expr, COND_EXPR case): Don't expand + "X ? A & 1 : A" as "A & (X != 0)". - * Makefile.in (all.indirect): Renamed from all-internal. +Wed Oct 26 18:06:52 1994 Douglas Rupp (drupp@cs.washington.edu) - * t-mips (ALL): Deleted. + * winnt/ld.c (expand_lib, main): Fix off-by-one bugs in several + calls to malloc. -Tue Mar 17 10:35:18 1992 Michael Meissner (meissner@osf.org) +Wed Oct 26 22:00:09 1994 Richard Kenner - * halfpic.c (half_pic_address_p): Fix typo in last change. + * winnt/t-winnt: Remove some spurious blank lines. - * x-decrose (CLIB): Add -lbsd, since vfork moved to libbsd.a. - * x-encrose (CLIB): Ditto. - * x-i386rose (CLIB): Ditto. +Wed Oct 26 14:14:39 1994 Michael Meissner (meissner@osf.org) -Tue Mar 17 07:02:29 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * i386/osfrose.h (REAL_NM_FILE_NAME): Use /usr/ccs/gcc/bfd-nm + instead of /usr/ccs/bin/nm, since the GNU nm does not output stab + symbols by default. - * mips.md (movdi): FP_REGS don't allow DImode, so remove them - from the constraints. +Wed Oct 26 13:47:06 1994 Michael Gschwind (mike@vlsivie.tuwien.ac.at) - * mips.md (unaligned moves): Use UNSPEC to distinguish SETs that are - unaligned from those that aren't. + * config.sub (pdp11): New machine name. + * configure (pdp11-*-*): New configuration. + * pdp11.c, pdp11.h, pdp11.md, xm-pdp11.h: New files. - * 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. +Wed Oct 26 07:33:40 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Mar 17 21:23:10 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + * flow.c (find_basic_blocks): Ensure each live basic block is + actually reachable. + (life_analysis): Clean up handling of basic_block_drops_in. - * vax.c (split_quadword_operands): Fix typo. +Tue Oct 25 18:40:12 1994 Paul Eggert - * make-cc1.com: Add xcoffout.c. + * cccp.c (rescan): ".." no longer terminates a preprocessing + number, since that's incompatible with the C standard. -Mon Mar 16 17:12:26 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Oct 25 16:16:40 1994 Michael Dobson (dobson@info.usuhs.mil) - * configure (mips-dec-ultrix*): Use x-decstatn. - * x-decstatn (CLIB): Delete. + * we32k.h (CPP_PREDEFINES): Define u3b2, not u3b. - * expr.c (move_by_pieces_1): Add negative ints--don't subtract ints. +Tue Oct 25 16:15:27 1994 Jim Wilson (wilson@cygnus.com) - * next.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Turned off. - * t-next (EXTRA_PROGRAMS, ld): Use collect2. - * configure (m68k-next-*): Use t-next. + * reorg.c (fill_slots_from_thread): Update THREAD if it is split. - * mips-bsd.h (TARGET_MEM_FUNCTIONS): Defined. +Mon Oct 24 00:12:46 1994 Jason Merrill (jason@phydeaux.cygnus.com) -Mon Mar 16 14:04:08 1992 Tim Moore (moore@defmacro.cs.utah.edu) + * toplev.c (lang_options): Add -f{no-,}access-control. - * 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. +Mon Oct 24 06:14:03 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) - * hp800.c (hppa_builtin_saveregs): New function. - * va-hp800.h : Rewrite. + * arm/arm.md (peepholes for call followed by branch): Disable. +Sun Oct 23 08:54:27 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) -Sun Mar 15 23:38:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * arm/x-riscix (INSTALL): Invoke install.sh with -c flag. - * objc-actions.c (really_start_method): Dynamically allocate `buf'. +Fri Oct 21 00:42:08 1994 Jason Merrill (jason@phydeaux.cygnus.com) - * 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. + * Makefile.in (LIB2FUNCS): Add _pure. - * sparc.h (CC1_SPEC): Don't try to recognize -dalign. + * libgcc2.c (__pure_virtual): New function to go into vtable + entries for pure virtual methods instead of abort. - * hp320.h (ASM_OUTPUT_ASCII): Put tab here. - (ASCII_DATA_ASM_OP): Not here. - * mot3300.h: Likewise. +Thu Oct 20 18:40:36 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in (mostlyclean): Don't delete .s or .i files. - (extraclean): Do that here. + * alpha.md (define_split comparison op with power of two minus 1): + Fix typo. - * 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. +Thu Oct 20 13:14:24 1994 Jason Merrill (jason@phydeaux.cygnus.com) -Sun Mar 15 18:37:49 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * collect2.c (add_to_list): Check for duplicates. - * 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. + * alpha/alpha.h (LINK_SPEC): Pass -shared through; don't + pass -init __main if -shared. + (STARTFILE_SPEC): Wrap startfiles in %{!shared:}. + (INIT_NAME_FORMAT): Define. + (FINI_NAME_FORMAT): Define. + * alpha/osf12.h (LINK_SPEC): Ditto. + * alpha/gdb-osf12.h: #include osf12.h instead of alpha.h -Sun Mar 15 15:12:39 1992 Ron Guilmette (rfg at ncd.com) + * gcc.c (STARTFILE_SPEC): Wrap startfiles in %{!shared:}. - * crtstuff.c: If defined, invoke INIT_SECTION_PREAMBLE. +Thu Oct 20 16:07:46 1994 Jim Wilson (wilson@cygnus.com) -Sun Mar 15 15:12:39 1992 Ron Guilmette (rfg at ncd.com) + * unroll.c (loop_iterations): Move all failure exits after the + computation of final_value. - * xm-sparcv4.h, x-sparcv4: New files. - * configure (sparc-*-sysv4*): Use them. + * mips.md (movdf_internal2+1): Disable when TARGET_64BIT. -Sun Mar 15 16:41:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * i960.c (VARARGS_STDARG_FUNCTION): New macro. + (i960_function_name_declare, output_function_profiler, + i960_function_epilogue, i960_output_call_insn, i960_output_ret_insn, + i960_reg_parm_stack_space): Use it. + (compute_frame_size): Don't use current_function_pretend_args_size. + (i960_function_arg_advance, i960_function_arg): Don't use parameter + named. + (i960_setup_incoming_varargs): No need to adjust first_reg_offset + after setting it. Don't save last named argument to stack. + Don't set pretend_size. + * i960.h (SIGNED_CHAR_SPEC): Use #if instead of ?:. + * va-i960.h (va_start): Use builtin_arts_info instead of + builtin_next_arg. - * sparc.md (subdi3): Fix unterminated comment. + * cse.c (merge_equiv_classes, cse_insn): Call rehash_using_reg + after insert_regs. + (canon_hash): Don't use qty_const to compute hash code for a + register. -Sun Mar 15 04:08:59 1992 Torbjorn Granlund (tege at zevs.sics.se) +Thu Oct 20 09:41:51 1994 Richard Kenner (kenner@vlsi1.ultra.nyu) - * 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. + * stor-layout.c (variable_size): Return SIZE if it contains + a PLACEHOLDER_EXPR. - * sparc.md (movstrsi): FAIL for all blocks with unknown size. +Tue Oct 18 19:51:24 1994 Jason Merrill (jason@phydeaux.cygnus.com) -Sat Mar 14 19:06:02 1992 James Van Artsdalen (james at bigtex.cactus.org) + * collect2.c (main): Check REAL_*_FILE_NAME first. - * c-decl.c (builtin_function): Don't declare static. +Wed Oct 19 15:55:15 1994 David J. MacKenzie -Sat Mar 14 15:57:53 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config.sub: Add licensing exception for Autoconf. - * expr.c (get_pointer_alignment): Convert bytes to bits - when handling PLUS_EXPR. +Wed Oct 19 06:43:46 1994 Michael Meissner (meissner@osf.org) - * cp-search.c (push_stack_level): Declare tp as char *. + * i386/i386.h (FUNCTION_BLOCK_PROFILER): Don't bother preserving + eax if -fpic, since it is a call clobbered register anyway. Fix -fpic + code so that it is correct. - * mips.c (mips_asm_file_end): Use TREE_ASM_WRITTEN to avoid - duplicate .extern commands. +Tue Oct 18 18:00:23 1994 Michael Meissner (meissner@osf.org) - * mips-tdump.c: Include fcntl.h. - * mips-tfile.c (open, fstat): Declarations deleted. + * i386/i386.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Move + macros here from osfrose, netbsd, and freebsd ports. Remove + assumptions that the assembler is gas. Rewrite and fix the + instructions produced with -fpic. - * xm-mipsnews.h: New file. - * mips-news5.h: New file. Needs papers from Ron Cole. - * configure (mips-sony-sysv*): New alternative. + * i386/osfrose.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete. + * i386/freebsd.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete. + * i386/netbsd-i386.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): + Delete. -Sat Mar 14 07:11:14 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Tue Oct 18 20:27:29 1994 Doug Evans (dje@cygnus.com) - * integrate.c (initialize_for_inline): If DECL_INCOMING_RTL is - the same object as DECL_RTL, store copy in both places. + * sparc.h (FRAME_POINTER_REQUIRED): Require frame pointer if + non-leaf flat function. + * sparc.c (sparc_frame_info): Combine members gp_sp_offset and + fp_sp_offset into reg_offset. All uses changed. + (RETURN_ADDR_REGNUM): New macro. + (RETURN_ADDR_MASK, FRAME_POINTER_MASK): New macros. + (sparc_flat_compute_frame_info): Rename local mask to gmask. + Only ensure reg save area is 8 byte aligned if necessary. + (sparc_flat_save_restore): New arguments base_reg, offset, gmask, + and fmask. All callers changed. No longer use %g2 to save regs + in big stack frames. + (sparc_flat_output_function_prologue): Delete local tsize. + Reorder storing of previous frame pointer and return address reg to + make it easier for gdb to identify flat functions. Decrement %sp + twice when saving call-saved regs in big frames. + Count fp regs as 4 bytes in assembler comment. + (sparc_flat_output_function_epilogue): Likewise when restoring + call-saved regs. -Sat Mar 14 10:12:39 1992 Michael Tiemann (tiemann@cygnus.com) +Tue Oct 18 19:33:55 1994 Mike Collison (collison@sw.stratus.com) - * 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. + * reload1.c (reload): Correctly compute group additional needs when + the return register cannot be used as a spill register. - * cp-type2.c (build_functional_cast): remove incorrect error message. +Tue Oct 18 16:17:26 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu) - * 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. + * mips.h (ASM_SPEC): Pass -mcpu= option to GNU as. - * cp-search.c (get_first_matching_virtual): Fix typo. +Tue Oct 18 08:39:49 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-tree.c (layout_basetypes): When warning about certain - inheritance relationships, only print "virtual" when the - inheritance is virtual. + * flow.c (propagate_block): Call mark_used_regs to show global regs + used by call. + * combine.c (can_combine_p): Don't combine into CALL_INSN where + DEST is a global reg. - * cp-spew.c (yylex): Fix some fencepost errors found by Chip - Salzenberg. + * c-decl.c (start_function): Save immediate_size_expand + and initialize it to zero in case nested function. - * cp-init.c (is_aggr_typedef): Now calls `error' instead of `fatal' - if NAME is non-AGGR type. + * pa.c (non_hard_reg_operand): New function. + * pa.md (reload_{in,out}*): Replace general_operand with + non_hard_reg_operand. - * cp-class.c (duplicate_tag_error): Set CLASSTYPE_VBASE_SIZE. +Fri Oct 14 18:35:30 1994 Jason Merrill (jason@phydeaux.cygnus.com) -Sat Mar 14 00:28:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * gcc.c (default_compilers): Treat files with an extension of .c++ + as C++ code. - * 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. +Mon Oct 17 19:21:57 1994 David Edelsohn (edelsohn@npac.syr.edu) - * x-iris: File deleted. + * configure (rs6000-ibm-aix4.1*): New configuration. + * rs6000/aix41.h: New file. - * cccp.c (output_line_command): Avoid outputting line number 0. +Mon Oct 17 19:15:14 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu) - * final.c (asm_fprintf): Handle %O. - * m68k.c: Insert %O before `move' in MOTOROLA calls to asm_fprintf. + * va-mips.h (va_arg): Add little endian mips3 support. -Fri Mar 13 20:17:40 1992 Mike Stump (mrs@cygnus.com) + * sparc.h (RETURN_IN_MEMORY): Return true for TCmode values. - * 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. + * README.IRIX5: Delete. + * install.texi: Update Irix 5 debugging info. -Fri Mar 13 14:54:23 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * mips.c (function_prologue): Only emit line number when SDB_DEBUG. - * 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. + * configure: Delete new argument, --noguess. Default build from + host if host specified, otherwise guess build. Fix typo in + setting build from host. - * hp800hpux.h (LIB_SPEC): New definition. +Mon Oct 17 15:54:56 1994 Per Bothner - * arm.h (TARGET_WHEN_DEBUGGING): Name corrected. + * calls.c (expand_call, emit_library_call, emit_library_call_value): + Allways adjust current_function_outgoing_args_size, even #ifndef + ACCUMULATE_OUTGOING_ARGS. (Useful for stack overflow checking.) + * function.c (current_function_outgoing_args_size): Update comment. - * protoize.c (abspath): Make abs_buffer a little longer. +Mon Oct 17 18:49:01 1994 Paul Eggert - * encore.h (NO_ABSOLUTE_PREFIX_IF_SYMBOLIC): Defined. - (EXTERNAL_PREFIX, IMMEDIATE_PREFIX): Defined. - (TARGET_DEFAULT): Changed to 9. - (ENCORE_ASM): Defined. + * cccp.c (rescan): Preserve newlines after macro names at the top level + since this is more likely to do the right thing with line numbers. - * 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. +Mon Oct 17 11:31:42 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * configure: If no configuration matches, print error and exit. - (m68k-sun-sunos*): Renamed from m68k-sun-sunos4*. + * reload1.c (gen_reload): Renamed from gen_input_reload. + (emit_reload_insns): Delete SECONDARY_MEM_NEEDED case for input + reloads that can't happen and doesn't work. + Fix errors in use of reload_outxx insns. + Simplify output reload code by using gen_reload. + * reload.h (gen_reload): Renamed from gen_input_reload. - * configure (copy): New variable. - If hard link fails, make a copy. +Mon Oct 17 09:26:57 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) - * mips.c (mips_asm_file_end): Don't set flags in identifiers. - Just output every identifier found in extern_head. + * unroll.c (copy_loop_body, case JUMP_INSN): Don't abort if invert_exp + fails. Instead, redirect the jump around an unconditional branch. - * configure (sparc-tti-*): Renamed from sparc-unicom-*. - (m68k-tti-*): Replaced. - (m68k-tti2-*): Deleted +Sun Oct 16 05:02:23 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) - * config.sub (pbd): Alias for sparc-tti, not sparc-unicom. - (pbb): New machine alias. - (*-tti): Implies os=-sysv3. - (-oss*): Alias for -sysv3. + * emit-rtl.c (add_insn_{before,after}): Don't abort because AFTER was + deleted when not optimizing. -Fri Mar 13 17:20:52 1992 david d [zoo] zuhn (zoo at lynx.spa.umn.edu) +Fri Oct 14 19:26:28 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - * x-mips: add -mld. + * pa.c (emit_move_sequence): Handle secondary reload when loading + a constant into SAR. -Fri Mar 13 14:48:05 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) +Fri Oct 14 10:29:31 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) - * hp800.h (REGISTER_NAMES): Name register 112, the shift amount - register, as "SAR". It was left out. + * fixincludes: Fix X11/Intrinsic.h for RISCiX to remove ___type from + XtOffset. + Add all files that receive special attention to REQUIRED, so that + dependent copies are done if necessary. -Fri Mar 13 04:08:53 1992 James Van Artsdalen (james at bigtex.cactus.org) + * getpwd.c: Always use getwd if HAVE_GETWD is defined. + * arm/xm-arm.h: Define HAVE_GETWD. - * i386isc.h (STARTFILE_SPEC): Use crt1, not crt0. + * arm/x-riscix, arm/t-riscix: New files + * configure (arm-*-riscix*): Use them. + +Thu Oct 13 17:12:27 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu) - * 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(). + * i960.md (call, call_internal, call_value, call_value_internal): + Use memory_operand not general_operand. -Fri Mar 13 14:11:41 1992 Jeffrey A. Law (law@wombat.gnu.ai.mit.edu) + * optabs.c (expand_fix): Correct typo with FIX/UNSIGNED_FIX + REG_NOTES. - * 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. +Thu Oct 13 10:44:32 1994 Ian Lance Taylor (ian@cygnus.com) -Fri Mar 13 08:56:50 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * genattrtab.c (optimize_attrs): Don't do anything if + num_insn_ents is zero. - * cse.c (delete_dead_from_cse): Fix error in last change. +Wed Oct 12 19:06:48 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu) - * a29k.h (PCC_BITFIELD_TYPE_MATTERS): Define as 1. + * mips/mips.c (mips_expand_prologue): Handle types that need + constructing. Rename TYPE to PASSED_TYPE and use consistently. - * reorg.c (fill_slots_from_thread): Add missing arg in call to - try_split call that was recently added. +Wed Oct 12 11:32:05 1994 Ian Lance Taylor (ian@cygnus.com) - * fold-const.c (invert_truthvalue, case COMPOUND_EXPR): New case. + * genattrtab.c (num_insn_ents): New static variable. + (remove_insn_ent): Decrement num_insn_ents. + (insert_insn_ent): Increment num_insn_ents. + (optimize_attrs): Use xmalloc to allocate all the attr_value_list + structures at once, rather than using alloca for each one. -Fri Mar 13 01:02:56 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Oct 12 09:17:34 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * collect2.c (ordinary scan_prog_file): Don't count | in sym name. + * optabs.c (??hf2_libfunc): Define like ??sf2_libfunc. + (emit_float_lib_cmp): Call HFmode library functions. + (init_optabs): Set names for HFmode comparison functions. + * expr.h (??hf2_libfunc): Add declarations, like ??sf2_libfunc. - * ns32k.md (movsf): Remove #if 0 around #ifndef GAS_SYNTAX. +Tue Oct 11 19:20:48 1994 Douglas Rupp (drupp@cs.washington.edu) - * pc532.h (GAS_SYNTAX): Defined. + * winnt/ld.c (main): Pass -debug:full -debugtype:coff. + * winnt/t-winnt: Rework rules for ld. + * i386/config-nt.bat: Renamed from config/i386/config-winnt.bat. + Make specific for x86, not all winnt; change filenames. + * i386/config-nt.sed: Remove -g from CFLAGS. + Reflect changes to t-winnt and other minor changes. + * i386/x-winnt: Renamed from winnt/x-winnt. + * i386/config-nt.sed: Renamed from config/winnt/top.sed. + +Tue Oct 11 18:40:41 1994 Peter Schauer (Peter.Schauer@regent.e-technik.tu-muenchen.de) -Thu Mar 12 00:10:23 1992 Stefan Petri (petri@jupiter.ibr.cs.tu-bs.de) + * rs6000.h (ASM_DECLARE_FUNCTION_NAME): Always put out .lglobl + for static functions. - * configure (pyramid): Re-enable. +Mon Oct 10 19:19:51 1994 Alex T. Ramos (ramos@engr.latech.edu) - * pyr.h (STRUCTURE_SIZE_BOUNDARY): Restore definition from gcc-1.40. - (PCC_BITFIELD_TYPE_MATTERS): Define as 1 instead of empty. + * expr.c (convert_move): Add TImode conversions. - * pyr.h (STATIC_CHAIN_INCOMING_REGNUM): Added. +Mon Oct 10 18:46:44 1994 Alex Dreyzen (alex@alex.jf.intel.com) - * pyr.h (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE, TRAMPOLINE_ALIGNMENT, - INITIALIZE_TRAMPOLINE): Added, inspired by convex.h + * optabs.c (expand_float): Copy TEMP to TARGET when + making recursive call and adjusting. - * pyr.h (INITIAL_FRAME_POINTER_OFFSET): New definition. +Mon Oct 10 07:10:25 1994 Michael Meissner (meissner@osf.org) - * pyr.md (indirect_jump): New pattern. + * i386/linux.h (DEFAULT_PCC_STRUCT_RETURN): Do not define as 0 if + LINUX_ELF is defined. + (perform.h): Include perform.h to define asm statements to use for + libgcc1.a builds. - * libgcc2.c [L_trampoline]: Don't include gstddef.h in this case. - (__enable_execute_stack): Cloned definition for pyramid - from that for convex. + * i386/linuxelf.h (DEFAULT_PCC_STRUCT_RETURN): Define as 1. + (RETURN_IN_MEMORY): Don't define. -Thu Mar 12 13:23:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sun Oct 9 11:49:20 1994 Michael Meissner (meissner@osf.org) - * collect2.c (FREAD, FWRITE): #undef if USG. + * i386/i386.md (movsf_mem): Add & constraint, so that the scratch + register does not clobber the destination address. - * x-mipsv: New file. - * configure (mips-*-sysv): Use it. +Sun Oct 9 12:40:43 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) - * cccp.c (skip_to_end_of_comment): New arg NOWARN. Callers changed. - (do_xifdef, do_endif): Pass 1 for NOWARN. + * arm.md (reload_outdf): Don't call gen_addsi3 if the address is just + a register. - * i386.h, hp800.h (ENCODE_SECTION_INFO): Handle CONSTRUCTOR node. - * i386.h (ENCODE_SECTION_INFO): Only decls can be global. +Sat Oct 8 11:16:50 1994 Doug Evans (dje@cygnus.com) - * cccp.c (warn_import): New variable. - (do_include): Test that. - (main): Handle -Wimport. + * objc/archive.c (__objc_free): New function. + (__objc_finish_read_root_object): Use it. - * hp800hpux.h (DBX_DEBUGGING_INFO): #undef it. - * x-hp800hpux: New file. - * configure (hp800-hp-hpux*): Use it. +Fri Oct 7 19:23:03 1994 J.T. Conklin (jtc@cygnus.com) - * config.sub: Make triton alias for sysv3. + * ginclude/stddef.h: Netware uses _SIZE_T_DEFINED_, _WCHAR_T_DEFINED_. - * collect2.c: If CROSS_COMPILE, #undef the special OBJECT_FORMAT_*. +Fri Oct 7 12:45:43 1994 Michael Meissner (meissner@osf.org) -Thu Mar 12 10:35:50 1992 Ron Guilmette (rfg at ncd.com) + * i386/i386.c (legitimate_address_p): Disable SUBREGs as either + the index or base register. - * 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. +Fri Oct 7 08:24:44 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in (mostlyclean): Delete *.i, not *.cpp. - Don't delete *.co. + * i386/gnu.h (CPP_PREDEFINES): Define __HURD__. -Thu Mar 12 07:13:33 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * collect2.c (my_strerror): If HAVE_STRERROR defined, call strerror. + * xm-gnu.h (HAVE_STRERROR): Define. - * xcoff.h (DBX_FINISH_SYMBOL): When writing function name, strip off - any storage class at the end. + * function.c (preserve_temp_slots): If X cannot be a temp + slot, preserve all things whose address was taken at the + present level. -Thu Mar 12 05:16:49 1992 Tom Wood (wood@dg-rtp.dg.com) + * function.c (assign_stack_temp): Abort if SIZE == -1. - * 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) + * expr.c (safe_from_p): If EXP has a variable size, assume safe. + (preexpand_calls): Don't preexpand a call that returns a variable- + sized object. - * i386.md (movstrsi recognizers): Fix reversed operands. + * emit-rtl.c (add_insn_{after,before}): Fix error in last change. -Thu Mar 12 00:01:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Oct 6 09:18:28 1994 Kresten Krab Thorup (krab@next.com) - * gcc.c (main): - Don't require machine_suffix for md_startfile_prefix or md_exec_prefix. + Adam Fedor (fedor@hopper.colorado.edu) + * objc/archive.c (__objc_finish_read_root_object): Delay freeing + of back-patch list. - * toplev.c (main): Force flag_no_inline if not optimizing. + Andrew McCallum (mccallum@cs.rochester.edu) + * objc/objc.h (BOOL): Changed from char to unsigned char. - * dbxout.c (dbxout_type): Ignored names don't count in case UNION_TYPE. +Thu Oct 6 08:17:04 1994 Stan Cox (coxs@dg-rtp.dg.com) - * 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. + * m88k/m88k.c (emit_move_sequence): If operand1 is an invalid PIC + address, then legitimize it before doing anything else. - * cse.c (simplify_unary_operation): For SQRT, do nothing. +Thu Oct 6 06:54:03 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * byteorder.h: Test __i860_big_endian__. + * cse.c (cse_insn): Don't call force_const_mem on (const (truncate)). - * 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. + * expr.c (store_expr): Don't clobber TEMP with address. -Wed Mar 11 22:55:38 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * reorg.c (try_merge_delay_insns): Update THREAD if it is split. - * 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'. + * function.c (struct temp_slot): New field addr_taken. + (assign_stack_temp): Initialize it. + (mark_temp_addr_taken): New function. + (preserve_temp_slots): Decrement level of things at same level + but whose address has been taken. + * expr.c (expand_expr, case ADDR_EXPR): Call mark_temp_addr_taken. -Wed Mar 11 18:53:23 1992 Chip Salzenberg (chip@tct.com) +Wed Oct 5 14:17:39 1994 Jason Merrill (jason@phydeaux.cygnus.com) - * 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. + * fold-const.c (fold, COMPONENT_REF): Don't die if the CONSTRUCTOR + doesn't initialize the field we want. - * x-rs6000 (CLIB): Add -lld. - * t-rs6000: New file. - * configure (rs6000...): Use that file. +Wed Oct 5 11:38:48 1994 Michael Meissner (meissner@osf.org) -Wed Mar 11 17:31:13 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * i386/i386.c (legitimize_pic_address): Changes to support + LABEL_REF references when using -fpic. + (output_pic_addr_const): Ditto. + (print_operand_address): Ditto. - * reload1.c (inc_for_reload): Call gen_add2_insn with negated - constant instead of gen_sub2_insn. + * i386/i386.md (movsi insn): Changes to support LABEL_REF + references when using -fpic. + (movsi_lea): Name insn supporting lea instruction so it shows up + more clearly when doing -dp. -Wed Mar 11 17:30:35 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Oct 5 06:56:36 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * c-typeck.c (build_binary_op): For shifts, always use op0 type. + * reorg.c (try_merge_delay_insns): Update THREAD if deleting first + insn in it. - * stmt.c (expand_end_bindings): - Load virtual_incoming_args_rtx via a pseudo reg. +Wed Oct 5 01:19:14 1994 Roland McGrath - * math-68881 (pow): Add missing parens; typo in fp constant. + * configure (i[345]86-*-gnu*): Set xm_file=i386/xm-gnu.h. + * config/i386/xm-gnu.h: New file. + * config/xm-gnu.h: New file. + * config/i386/gnu.h: Move #include out of here, into + config/xm-gnu.h. - * i386isc.h (LIB_SPEC): Add -lg. +Tue Oct 4 23:19:28 1994 Michael Meissner - * libgcc2.c (__CTOR_LIST__, __DTOR_LIST__): - Don't define if CTOR_LISTS_DEFINED_EXTERNALLY. - (__builtin_saveregs): Handle NO_UNDERSCORES for sparc. + * protoize.c (POSIX includes): If POSIX is defined, include + sys/wait.h to get WIFSIGNALED, WTERMSIG, WIFEXITED, and + WEXITSTATUS. - * pbb.h, pbd.h: New files from Mike Bloom. - * configure (m68k-tti2-*): Turned back on. +Tue Oct 4 21:48:02 1994 Michael I Bushnell - * c++: Add a colon command in case system doesn't handle #!/bin/sh. + * config/i386/gnu.h: Include to get O_RDONLY definition. + * gcc.c (O_RDONLY): Define macro iff not already defined. + (read_specs): Second arg to open should be O_RDONLY, not constant 0. -Mon Mar 11 19:54:43 1992 James Van Artsdalen (james at bigtex.cactus.org) +Tue Oct 4 19:06:38 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * i386.md (integer truncMN2): Delete patterns. Not needed on i386. + * expr.c (do_jump_for_compare): Properly scan insns when + branch is at start of sequence. -Wed Mar 11 16:58:56 1992 Tom Wood (wood@dg-rtp.dg.com) +Tue Oct 4 16:53:54 1994 Ian Lance Taylor (ian@cygnus.com) - * 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. + * gcc.c, collect2.c, protoize.c (WIFSIGNALED): Define if not + already defined. + (WTERMSIG, WIFEXITED, WEXITSTATUS): Likewise. + * gcc.c (execute): Use them. + * collect2.c (do_wait): Likewise. + * protoize.c (gen_aux_info_file): Likewise. -Wed Mar 11 16:24:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Oct 4 16:38:06 1994 Michael Meissner - * fold-const.c (fold): When correcting constant result of GE, LE, NE, - make sure we really have a constant result. + * i386/i386.h (RETURN_IN_MEMORY): Define so that large types such + as complex double values get returned like structures do, and + don't overwrite %ebx. - * ns32k.md (call, call_value): Support GAS_SYNTAX and GNX_V3 like 1.40. +Tue Oct 4 15:58:21 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu) - * c-decl.c (pushdecl): Properly use prev implicit decl in warning. + * lynx-ng.h, lynx.h (PREFERRED_DEBUGGING_INFO): Add undef before + define. -Wed Mar 11 16:05:20 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Tue Oct 4 05:12:02 1994 Richard Stallman - * Makefile.in (OBJS): Add xcoffout.o. - (dbxout.o, final.o, toplev.o, varasm.o): Add xcoff.h dependency. - (xcoffout.o): Add rule to build. + * config.sub: Translate -gnu/linux* to -linux*. - * 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. +Mon Oct 3 11:43:45 1994 Ian Lance Taylor (ian@cygnus.com) - * 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. + * config.sub: Add support for MIPS variants: mips64, mipsel, + mips64el, mips64orion, mips64orionel, mips3*. - * 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. +Sun Oct 2 18:26:34 1994 Jason Merrill (jason@phydeaux.cygnus.com) - * toplev.c (struct W_options): Add entry for warn_inline, so user - can turn this warning on. + * function.c (push_function_context_to): Renamed from + push_function_context, adds argument to indicate that the new + function is not a nested function. + (push_function_context): Call it. + (pop_function_context{,_from}): Similarly. -Wed Mar 11 15:11:42 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * tree.c (save_tree_status): Add argument to indicate that the new + function is not a nested function. + (restore_tree_status): Ditto. - * optabs.c (init_optabs): Fix typo (Imode instead of TImode) in - HAVE_subti3 case. +Sun Oct 2 18:05:37 1994 Doug Evans (dje@cygnus.com) -Wed Mar 11 13:10:20 1992 Jeffrey A. Law (law@wombat.gnu.ai.mit.edu) + * configure (i[34]86-*): Change to i[345]86-*. + (target_cpu_default): Treat i586 as an i486 (for now). - * sparc.h (REG_ALLOC_ORDER): Make %g3 more desirable. +Sun Oct 2 10:25:51 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) -Wed Mar 11 12:35:12 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * arm.md (movsf): If reloading, create a scratch from the target for + loading a constant into integer regs. + (movdf): Likewise. - * fixincludes (egrep cmd): Delete misplaced `#e[nl]'. + Support for variants that fault on unaligned addrs: + * arm.h (TARGET_SHORT_BY_BYTES): New macro. + (TARGET_SWITCHES): Recognize switches -m[no-]short-load-bytes. + (TARGET_DEFAULT): Only define if not already done so. + (PROMOTE_MODE): Promote HImode unsigned if TARGET_SHORT_BY_BYTES. + (SECONDARY_INPUT_RELOAD_CLASS): Need a scratch for reloading HImode if + TARGET_SHORT_BY_BYTES. + * arm.c (arm_reload_in_hi): New function. + * arm.md (zero_extendhisi2, extendhisi2): Expand to suitable byte + sequence when TARGET_SHORT_BYTES and loading a mem. + (movhi_bytes, extendhisi2_mem): New expands. + (movhi): Call movhi_bytes to load a short from memory if + TARGET_SHORT_BY_BYTES. + (all matchers loading a short from memory): Don't match if + TARGET_SHORT_BY_BYTES. + (matcher for movhi when TARGET_SHORT_BY_BYTES): New pattern to cover + remaining valid cases. - * jump.c (jump_optimize): Try to fix last change. +Sun Oct 2 08:54:30 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * expmed.c (init_expmed): Use big, ugly factor in mult_is_very_cheap. + * reg-stack.c (subst_stack_regs): Check for NOTE to see if insn was + deleted. -Wed Mar 11 08:00:18 1992 Tom Wood (wood@dg-rtp.dg.com) + * reorg.c (fill_slots_from_thread): Update THREAD if deleting + its first insn. - * 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. + * reg-stack.c (delete_insn_for_stacker): Don't set INSN_DELETED_P + on NOTE_INSN_DELETED. - * genattrtab.c (attr_string): Don't assume a terminating null. +Sat Oct 1 20:42:33 1994 Chip Salzenberg -Wed Mar 11 07:05:38 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * sco4.h (CPP_PREDEFINES): Remove i386, unix. + (CPP_SPEC): Add them here, so that they're undefined if -ansi. + Also add _i386 and _unix, which are always defined. + * x-sco (CLIB): Add "-lmalloc". + (ALLOCA): Define as "-lPW". + * x-sco4 (CC, OLDCC, RCCFLAGS, CCLIBFLAGS, CLIB, ALLOCA): From x-sco. + (X_CFLAGS): Remove. - * reload1.c (reload_as_needed): Delete erroneous test of - basic_block_needs. +Sat Oct 1 14:27:45 1994 Michael Meissner (meissner@osf.org) - * 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. + * i386/i386.md (movsf_push386): Rename to movsf_push_nomove. + (movdf_normal): Prefer to use float registers rather than general + purpose registers. - * reorg.c (update_block_from_store): Deleted. - (update_block): Always leave USE; don't try to update live regs. +Sat Oct 1 07:01:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) - * 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. + * c-decl.c (shadow_label): Emit an error if the label is already + declared at this label scope. - * reload1.c (set_label_offsets, reload_as_needed): Consistently - ignore non-eliminables when computing num_not_at_initial_offset. +Sat Oct 1 06:44:58 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * rs6000.md (subsi3): Remove unnecessary call to force_reg. + * emit-rtl.c (add_insn_{before,after}): Abort if insertion point is + a deleted insn. + * jump.c (jump_optimize): When deleting a jump, properly set NEXT. + (duplicate_loop_exit_test): Don't insert NOTE_INSN_LOOP_VTOP + before deleted insn; insert first, then delete. - * rs6000.c (output_epilog): Separate setting LR from loading - it from memory in some cases. - Branch to FP restore routine instead of calling it. + * gcc.c: Install omitted hunk from last diff. - * 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 30 18:26:11 1994 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. + * emit-rtl.c (add_insn_after): Abort if can't find AFTER and it + has no NEXT_INSN. + (add_insn_before): New function. + (emit_{insn,insns,jump_insn,call_insn,barrier,note}_before): Call it. - * combine.c (can_combine_p): Allow SUBREG of non-tiable regs if we - are going to do is copy it to CC0. +Fri Sep 30 17:33:41 1994 Douglas Rupp (drupp@cs.washington.edu) - * 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. + * config.sub (windowsnt): Alias for winnt. + (winnt): New OS name. + * configure (extra_programs): New, like extra_parts. + (i[34]86-*-winnt3.1): New configuration. + * genattr.c (atoi): Remove declaration. + * getpwd.c: #ifdef WINNT, include direct.h. + * sdbout.c: Don't include syms.h for winnt. + * toplev.c: Don't include times.h for winnt. + (get_run_time): Just return zero for winnt. + (main): Don't print memory usage for OS/2 or winnt. + * cccp.c (main): Use DIR_SEPARATOR if defined. + Use "Include" environment variable instead of CPATH for winnt. + * gcc.c: Don't include sys/file.h for winnt; use process.h instead. + (concat): Now just concats two things; all callers changed. + (concat[346]): New functions. + (dir_separator_str): New variable. + (exec_prefixes, startfile_prefixes, include_prefixes): Renamed + from same names without plural; all users changed. + (find_a_file, process_command, do_spec_1): Use DIR_SEPARATOR. + (find_file, is_directory, main): Likewise. + (lookup_compiler): If OS/2, do case-independent search. + (fix_argv): New function on winnt. + (FIX_ARGV): New macro for some systems; use instead of argv. + * i386/unix.h: Treat ALMOST_STDC like __STDC__. + (AS2C): New macro. + * i386.c (output_387_binary_op): Use AS2C instead of AS2 with + null first arg. + * config/winnt/config-nt.bat, config/winnt/ld.c: New files. + * config/winnt/{[tx]-winnt, config/winnt/top.sed: New files. + * config/winnt/winnt.h, config/winnt/xm-winnt: New files. + * i386/winnt.h, i386/xm-winnt.h: New files. - * romp.md (reload_outsi): Pattern should be a single PARALLEL - whose second component is a CLOBBER. +Thu Sep 29 19:53:14 1994 Jim Wilson (wilson@cygnus.com) -Wed Mar 11 03:11:26 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * sparc.md (movdf+3): Handle overlapping registers in define_split. - * gcc.c (find_a_file, do_spec_1): Always obey require_machine_suffix. - (machine_explicit): Var deleted. + * gcc.c (default_compilers): Add %Z to all cpp specs. + (n_preprocessor_options, preprocessor_options): New variables. + (process_command): Handle -Wp option. + (do_spec_1): Handle %Z spec. -Tue Mar 10 23:12:24 1992 Jeffrey A. Law (law@wombat.gnu.ai.mit.edu) + * i960/i960-coff.h: New file. + * t-960bare: New file. + * config.sub (os): Accept coff as an OS. + * configure (i960-*-coff): New configuration. - * 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. + * expr.c (result_vector): Use INCOMING_REGNO when !savep instead + of when savep. + * sparc.md (call): Use struct value pattern is struct size is not + equal to zero instead of greater than zero. + (call+7, call+8): New patterns for untyped calls. + (untyped_call): Revise to emit explicit rtl for all operation. + Delete four old patterns that matched the unexpanded untyped_call + pattern. + (blockage): New pattern. + (flush_register_windows): Modify from 0 to 1. + (goto_handler_and_restore): Modify from 1 to 2. + (flush): Modify from 2 to 3. + * sparc.c (sparc_initialize_trampoline): FLUSH is now 3 not 2. -Tue Mar 10 20:37:31 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * calls.c (emit_library_call): For FUNCTION_ARG_PASS_BY_REFERENCE, + pass address through force_operand before using it. - * dwarfout.c (location_or_const_value_attribute): - Reenable changes disabled on Feb 21. - * function.c (instantiate_decls): Likewise. + * i960.c (i960_setup_incoming_varargs): Store parameter registers + at proper offset in argument block. - * sdbout.c (sdbout_symbol): Handle (mem (const...)). - * dbxout.c (dbxout_symbol): Likewise. +Thu Sep 29 16:39:32 1994 Mike Stump - * xm-i386isc.h: New file. - * configure (i386-*-isc*): Use it. + * stmt.c (expand_return): We have to be careful of cleanups that can + be generated when expanding the return value, as they might otherwise + wipe out the return value. - * hp320.h (MD_STARTFILE_PREFIX): Deleted. +Thu Sep 29 13:35:24 1994 Mike Stump - * m68k.h (RTX_COSTS): If MULT is a shift, jump to shift case. + * expr.c (do_jump): Handle cleanups in TRUTH_ANDIF_EXPR and + TRUTH_ORIF_EXPR. - * sun3.h (TARGET_MEM_FUNCTIONS): Defined. +Thu Sep 29 13:23:56 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * toplev.c (rest_of_compilation): Call sdbout_dequeue_anonymous_types - even if we don't output assembler code. + * gcc.c (struct option_map): Sort in alphabetical order. + (translate_options): Ignore option once an error occurs. + Fix error with reversed 'a' and 'o'. + Give error if specified abbreviation is unambiguous. - * jump.c (jump_optimize): In `if (foo) bar; else break;' optimization, - include in range1 and range2 any line numbers at the beginning. + * c-typeck.c (convert_for_assignment): When converting object + to union, allow converting the constant zero into a pointer + member of the union. - * 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. +Wed Sep 28 19:33:01 1994 Alex T Ramos (ramos@engr.latech.edu) -Tue Mar 10 20:25:56 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * machmode.def (PSImode): Widens to PDImode. + * expr.c (convert_move): Added handling of PDImode conversions. - * integrate.c (save_for_inline_copying): - Set up LABEL_NAME of label copies. +Wed Sep 28 19:24:17 1994 H.J. Lu (hjl@nynexst.com) - * 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. + * configure: Don't make objc-runtime if cross-compiling gcc. + * build-make (FIXINCLUDES): Set to Makefile.in. -Tue Mar 10 19:13:19 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Sep 28 19:18:19 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * c-decl.c (warn_parentheses): Default is 0. - (c_decode_option): -Wall implies -Wparentheses. + * function.c (trampoline_address): Add missing call to + round_trampoline. -Tue Mar 10 17:49:51 1992 Torbjorn Granlund (tege at mole.gnu.ai.mit.edu) +Wed Sep 28 18:34:13 1994 Michael Meissner (meissner@osf.org) - * hp800.md (shNadd recognizers): Put the MULT first, to obey insn - canonicalization rules. + * config/svr4.h (ESCAPES): Print \v in octal rather than as '\v', + since some older versions of gas didn't accept it. - * hp800.md (subsi3): Don't handle constants for operand 2, but - do handle them for operand 1, for the subi insn. +Wed Sep 28 14:29:20 1994 Ian Lance Taylor (ian@cygnus.com) - * 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. + * fixincludes: Comment out loop which handles symbolic links to + files. It appears to not work, and to be unnecessary. - 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. +Tue Sep 27 19:27:56 1994 Matthias Pfaller (leo@marco.de) - * hp800.md (addsi3): Use "register_operand" for operand 1, not - "arith_operand". + * ns32k.h (ENCODE_SECTION_INFO): Only calls may go through the + PLT. All address loads, even function address loads, have to + go through the GOT or function addresses will not be unique. - * hp800.md: Clean up spacing and comments in a few places. +Tue Sep 27 19:20:12 1994 Paul Eggert (eggert@twinsun.com) - * 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). + * cccp.c (newline_fix, name_newline_fix): Don't treat \r + specially here; it only causes bugs. This undoes the + May 14 16:01:13 1990 change to newline_fix and name_newline_fix. - * 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. +Tue Sep 27 19:02:55 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Mar 10 15:57:24 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * m88k.h (ASM_OUTPUT_SOURCE_LINE): Add missing #undef. - * sparc.md: Add pattern for optimizing bitfield compares. This - pattern was accidently lost when other (now-obsolete) bitfield - patterns were removed. +Tue Sep 27 18:32:17 1994 William J. Eaton (wje@hoffman.rstnu.bcm.tmc.edu) - * sparc.c (arith32_operand): Deleted. - * sparc.md (movstrsi): Now uses nonmemory_operand for length. + * function.c (optimize_bit_field): Put any insns made by + change_address in front of INSN. + (expand_function_end): Don't pass DECL_INITIAL to setjmp_protect + if it is error_mark_node. - * 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. + * genoutput.c, reload.c (n_occurrences): Make arg int, not char. + * objc-act.c (warn_with_method): Likewise. - * 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. + * optabs.c (expand_fix): Call emit_library_call_value. -Tue Mar 10 14:58:19 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Sep 27 12:39:10 1994 Mike Stump (mrs@cygnus.com) - * mips-news.h (ASM_SPEC): Move %{G*} outside of -mgas conditional. - * nws3250v4.h, xm-nws3250v4.h, x-nws3250v4: New files. From cph. + * Makefile.in, libgcc2.c (L_eh): some support routines for C++. - * i860.c (sfmode_constant_to_ulong): Fix typo in last change. +Mon Sep 26 06:45:20 1994 Michael Meissner (meissner@osf.org) - * expr.c (store_expr): Initialize `label'. + * 386/i386.md (adddi3, subdi3): Rewrite to add a clobber of a + scratch variable, so that memory/memoroy adds and subtracts can be + done using just one scratch register. Also, don't require op1 to + be the same as op0. - * 3b1.h (HAVE_ATEXIT): #undef this. +Fri Sep 23 19:03:09 1994 Roland McGrath - * hp800.md (compare into ordinary reg): Make large ints "negative". + * config/i386/gnu.h (LIB_SPEC): Remove macro. - * hp800hpux.h: New file. - * configure (hp800-*-bsd*): Renamed from hp800-*-*. - (hp800-*-hpux*): New configuration. +Fri Sep 23 16:11:26 1994 Michael Meissner (meissner@osf.org) -Tue Mar 10 11:03:47 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * i386/lynx-ng.h (CALL_USED_REGISTERS): Copy definition from + i386/lynx.h that makes ebx be a call clobbered register, since + some system calls evidently trash it. - * expmed.c (init_expmed): Make the lea pattern in the canonical way. +Fri Sep 23 15:54:53 1994 Jim Wilson (wilson@cygnus.com) -Tue Mar 10 10:32:30 1992 Tom Wood (wood@hal) + * configure (mips-*riscos*): Changed to mips-*-riscos*. + (mips-*-riscos*-*): Deleted. - * m88k.h (ASM_OUTPUT_{COMMON,LOCAL}): Compute size consistently. + * cse.c (invalidate): New parameter FULL_MODE. All callers + changed. + (set_nonvarying_address_components): Modify initial comment. + (cse_insn): When call invalidate for dest, use the actual dest not + inner_dest. -Tue Mar 10 07:41:09 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Thu Sep 22 18:56:19 1994 Torbjorn Granlund (tege@cygnus.com) - * recog.c (constrain_operands, case 'E'): Fix typo. + * expmed.c (expand_divmod): Special case for signed CEIL_DIV_EXPR + when divisor is power of 2. - * function.c (setjmp_protect): Don't put vars from inline functions - on the stack. +Thu Sep 22 12:28:53 1994 Jason Merrill (jason@deneb.cygnus.com) - * 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. + * fixinc.svr4: Fix size_t, ptrdiff_t and wchar_t like fixincludes + does. Use extern inline rather than static inline in byteorder.h. - * tree.h (mode_for_size): Don't declare here. - * machmode.h (mode_for_size): Declare here instead. +Thu Sep 22 12:22:03 1994 Steve Dum (steve_dum@mentorg.com) - * reorg.c (fill_slots_from_thread): Try to split THREAD immediately - so we don't get confused if it gets split later. + * collect2.c (main): Discard the first executable once we've + exploited it. - * 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. +Thu Sep 22 11:38:34 1994 Ian Lance Taylor (ian@cygnus.com) -Mon Mar 9 12:18:04 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * fixincludes: Tweaks for LynxOS 2.2.2: accept spaces after # when + removing #define void int in curses.h; change prototype of fnctl + in fcntl.h to match POSIX.1. - * unroll.c (final_biv_value): Fail if the biv is not MODE_INT. +Thu Sep 22 07:18:37 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * configure: Consistently put specified manufacturer names ahead + of entries with wildcard manufacturers. -Sun Mar 8 22:20:24 1992 James Van Artsdalen (james at bigtex.cactus.org) + * calls.c (emit_call_1): Fix typo in last change. - * 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 - . +Wed Sep 21 21:32:56 1994 Chris Smith (csmith@convex.com) -Sun Mar 8 23:16:37 1992 Jeffrey A. Law (law@wombat.gnu.ai.mit.edu) + * config.guess: Add convex c3* and c4* guesses. + * configure: Don't run fixincludes on convex. - * expr.c (move_by_pieces, move_by_pieces_ninsns): Remove March 4 and - March 5 changes. Set max_size to MOVE_MAX + 1 instead. +Wed Sep 21 15:59:12 1994 Ashley Saulsbury (ans@sics.se) -Sun Mar 8 17:08:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * alpha.h (ASM_FILE_START): Write .set volatile. - * expr.c (do_tablejump): New arg MODE. - * stmt.c (expand_end_case): Pass that arg. +Wed Sep 21 14:45:45 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * c-decl.c (pushtag): Push even anonymous types on tags list. - (parmlist_tags_warning): Handle anonymous types in the list. + * calls.c (emit_call_1): Properly add a CLOBBER for sp + to CALL_INSN_FUNCTION_USAGE. -Sun Mar 8 15:08:58 1992 James Van Artsdalen (james at bigtex.cactus.org) + * c-typeck.c (mark_addressable): Give different error if trying + to put object with volatile fields into register; don't use DECL_NAME. - * i386mach.h (perform_fixdfsi): Rename from *_fix_trundfsi2. - Restore float control word correctly. - * i386rose.h (perform_fixdfsi): Likewise. +Wed Sep 21 14:02:10 1994 Jim Wilson (wilson@cygnus.com) - * 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. + * reload1.c (eliminate_regs): Make test in LOAD_EXTEND_OP case + more precise. - * i386.md (bit test insns): Don't allow memory operands as the - first argument of the zero_extract. +Wed Sep 21 11:34:12 1994 Ian Lance Taylor (ian@cygnus.com) - * i386isc.h (RETURN_POPS_ARGS): Comment this out: ISC uses the - standard definition. + * fixincludes: Don't try to remove empty directories until after + removing DONE files. - * 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. +Wed Sep 21 05:52:49 1994 Uwe Seimet (seimet@chemie.uni-kl.de) -Sun Mar 8 14:25:16 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * m68k/atari.h (NO_{DOLLAR,DOT}_IN_LABEL): Define. - * configure: Fatal error if srcdir has already been configured. - Remove periods from error messages. +Tue Sep 20 20:06:08 1994 Doug Evans (dje@cygnus.com) - * 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. + * final.c (asm_insn_count): Handle ASM_INPUTs too. - * m68k.md (shift using swap, dbra patterns): Change clrw to clr%.w. +Tue Sep 20 19:32:10 1994 Oliver Kellogg (okellogg@salyko.cube.net) - * hp800.h (output_global_address): Use `-' for PLUS of neg integer. - Clean up spacing and braces in several places in file. + * 1750a.h, 1750a.c, 1750a.md: New files, to use as1750. + * 1750a/m1750.inc: File deleted. + * 1750a/ms1750.inc: New file. - * byteorder.h (htons): Use unsigned int for arg type. +Tue Sep 20 17:55:50 1994 Hallvard B Furuseth (hbf@durin.uio.no) + + * cccp.c (make_definition): Enable `-D' with macro arguments. -Sun Mar 8 07:36:44 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Tue Sep 20 17:49:47 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * cexp.y (HOST_WIDE_INT, HOST_BITS_PER_WIDE_INT): New macros. + (expression_value): Now HOST_WIDE_INT. + (parse_c_expression): Now returns HOST_WIDE_INT. + * cccp.c (eval_if_expression): Likewise. + (do_if, do_elif): Reflect new return value of functions. - * 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. + * alpha.c (mode_mask_operand): Always return a value. - * Makefile.in (crtbegin.o, crtend.o): Use -o for output instead of - putting in crtstuff.o and renaming to desired name. + * function.c (pop_function_context): Clear reg_renumber. - * reload1.c (reload): Re-check eliminability of registers on each - reload pass. + * gcc.c (process_command): Add new switch, -dumpmachine. - * jump.c (mark_jump_label): Make multiple REG_LABEL notes if - more than one label is mentioned in an insn. +Tue Sep 20 15:57:40 1994 Jim Wilson (wilson@cygnus.com) - * integrate.c (copy_rtx_and_substitute): Properly initialize - const_equiv_map for the equivalents of AP and FP. + * sched.c (sched_analyze_insn): Parameter loop_note type changed + to rtx, and name changed to loop_notes. Code adding it to + REG_NOTES modified to account for type change. + (sched_analyze): Variable loop_note type changed to rtx, and name + changed to loop_notes. Store LOOP_* REG_DEAD notes in it instead + of LOOP_* NOTE_LINE_NUMBER. + (schedule_block): Pass last not insn to emit_note_before call. - * rs6000.h (TARGET_MEM_FUNCTION): Define. + * iris5.h (ASM_OUTPUT_UNDEF_FUNCTION): Define. + (ASM_OUTPUT_EXTERNAL_LIBCALL): Define. + (ASM_DECLARE_FUNCTION_SIZE): Define. + * mips.c (mips_output_external): Use ASM_OUTPUT_UNDEF_FUNCTION. + (mips_output_external_libcall): New function. + (mips_asm_file_end): Handle ASM_OUTPUT_UNDEF_FUNCTION. + * README.IRIX5: Update. -Sun Mar 8 00:05:47 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Sep 20 14:39:37 1994 Michael Meissner (meissner@osf.org) - * c-decl.c (store_parm_decls): Copy function type before changing it. - * tree.c (build_type_copy): New subroutine. + * i386/i386.h (output_move_memory): Add declaration. + (output_move_pushmem): Ditto. - * t-next (LIBGCC1): Assigned, instead of LIBGCC. + * i386/i386.c (output_move_pushmem): New function to handle + pushing bytes from memory onto the stack, possibily using + temporary registers. + (output_move_memory): New function to handle moving bytes from + memory to memory via temporary registers. - * m68k.h (SHIFT_COUNT_TRUNCATED): Deleted. + * i386/i386.md (movsi insn): If -fpic and the value we are moving + is a constant pool address, emit a leal instruction instead of + movl. + (movsf_push): Allow pushes from memory. + (SF, DF, XF, DI pushes): Move most of the code to the common + function output_move_pushmem. + (SF, DF, XF, DI memory->memory moves): Move most of the code to + the common function output_move_memory. + (DI move patterns): Combine DI patterns into two, one for pushes, + and one for everything else, so that the combiner will combine a + load with a store into a memory->memory move. + (untyped_call): Replace non-working code with m68k version that + emits a regular call, then breaks the parallel moves into separate + moves, and then issue a blockage instruction. + (blockage): New unspec_volatile insn to block insns from being + moved across this point. + (untyped_return): Delete. + (update_return): Delete. -Sat Mar 7 23:47:57 1992 James Van Artsdalen (james at bigtex.cactus.org) + * objc/sendmsg.c (get_imp): Allow __inline__ on x86 platforms. - * i386.md (xorsi3,xorhi3): Don't emit a byte opcode with an SImode - operand. +Tue Sep 20 12:21:12 1994 Ian Lance Taylor (ian@cygnus.com) -Sat Mar 7 22:49:21 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fixincludes: Handle the case of a symlink to root/* from a + subdirectory of another symlink to root/*. - * 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. +Mon Sep 19 20:30:21 1994 Jason Merrill (jason@deneb.cygnus.com) - * gcc.c (cross_compile): New variable, 1 if cross-compiling. - (read_specs): Read it from specs. - (process_command): Dump it to specs. + * fold-const.c (fold): Handle COMPONENT_REFs involving CONSTRUCTORs. - * gcc.c (process_command): Don't use MD prefixes and - standard_startfile_prefix* here. - (main): Use them here, if not cross-compiling. +Mon Sep 19 20:25:38 1994 Will Athanasiou (will@westford.ccur.com) -Sat Mar 7 18:13:45 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * rs6000.md (load sf with update): Fix RTL typo. - * reload1.c (reload_as_needed): Eliminate regs in (use (mem ..)) - and (clobber (mem ...)) insns. +Mon Sep 19 08:46:46 1994 Charles M. Hannum (mycroft@duality.gnu.ai.mit.edu) - * combine.c (distribute_notes): Fix minor bug in handling of - multi-register values when only one part is used. + * c-common.c (check_format_info): Enable checking of format + specifiers using the `q' (quad) length modifier. + (format_char_info): Add `qlen'. + (print_char_table, scan_char_table): Add appropriate entries for + qlen. - * optabs.c, expr.c: Always call emit_library_call with no_queue == 1. +Sat Sep 17 12:48:57 1994 Per Bothner (bothner@kalessin.cygnus.com) - * function.c (fix_lexical_addr): Correctly set BASE in non-separate - AP case. + * stmt.c (mark_seen_cases): Don't call fatal (or do anything + else) if case index out of range. Warning is given later. -Sat Mar 7 15:39:57 1992 Jyrki Kuoppala (jkp@batman.cs.hut.fi) +Fri Sep 16 19:22:46 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * ns32k.h (TRANSFER_FROM_TRAMPOLINE): changed "ret" to "ret 0" + * global.c (global_alloc): Mark regs assigned to SCRATCH as used by + more than just local alloc. -Sat Mar 7 15:41:46 1992 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu) +Thu Sep 15 14:36:59 1994 Michael Meissner - * fixincludes: Don't do special fixes on signal.h, which were only - needed because of #endif comment fixes. + * i386/i386.c (order_regs_for_local_alloc): Instead of using + flag_cse_follow_jumps and not leaf_function_p to determine whether + to allocate EDX, and ECX before EAX, use whether or not a DImode + variable was used in the compilation. DImode variables seem to + cause spill failures if EAX is allocated first, while smaller code + is generated if EAX is allocated first, assuming no spill failure. -Sat Mar 7 15:11:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * i386/i386.md (SF, DF, XF, and DI moves and pushes): Eliminate + special patterns for TARGET_386 that allow direct pushes from + memory, and instead allow direct pushes from memory as the last + alternative in case no scratch registers could be allocated. + (movxf_mem): Remove inadvertent !TARGET_386 condition. + (addsi3): Allow generation of lea on 486, since the single + instruction lea is at least as fast as the mov and add it + replaces. + (zero extend patterns): Replace !TARGET_486 with TARGET_386. + (bit extracts): Ditto. - * m68k.h (ASM_OUTPUT_ALIGN): Don't crash if LOG is more than 1. + * i386/osfrose.h (LONG_DOUBLE_TYPE_SIZE): Don't redefine to be 64 + unless NO_LONG_DOUBLE is defined. - * varasm.c (decode_reg_name): Make various prefixes optional - whether or not they are in REGISTER_NAMES. - (strip_reg_name): New subroutine. +Thu Sep 15 13:46:05 1994 Jim Wilson (wilson@cygnus.com) - * i386.c: Fatal error if EXTRA_CONSTRAINT is defined. + * expmed.c (store_split_bit_field): Use number of bits in arg not + BITS_PER_WORD to adjust arg in BYTES_BIG_ENDIAN case. - * collect2.c [USG] (R_OK, W_OK, X_OK): Define them if missing. +Thu Sep 15 09:19:12 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) - * x-hp320g (RANLIB, RANLIB_TEST): Defined. + * optabs.c (expand_binop, multi-word shifts): Generate rtl + free of conflicts for shifts less than one word. - * 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. +Thu Sep 15 05:29:58 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * gcc.c: Rework last change so it's done like collect2.c. -Sat Mar 7 14:54:29 1992 Tom Wood (wood@dg-rtp.dg.com) + * cse.c (cse_around_loop): Don't invalidate SUBREG unless + it's a SUBREG of a REG. - * genattrtab (attr_printf): Provide alternate based on HAVE_VPRINTF. + * sched.c (sched_analyze_insn): Don't set SCHED_GROUP_P for previous + INSN a USE unless it's a USE of a REG. -Sat Mar 7 14:25:58 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) +Wed Sep 14 10:08:58 1994 Michael I Bushnell - * hp800.c (secondary_reload_class): Change `=' to `==' in `if'. + * gcc.c: Include in case `errno' is really a macro + as permitted by ANSI C. -Sat Mar 7 13:25:17 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * getpwd.c (GUESSPATHLEN): If there is no definition of + MAXPATHLEN, then set GUESSPATHLEN to be 100. (It's used + as a starting point, not a limit, so this is harmless.) - * cccp.c (do_line): Fix typo. +Tue Sep 13 15:02:19 1994 Michael Meissner - * configure (decoding args): Delete excess fi. + * i386/i386.md (movxf_mem): Fix typo with memory/memory moves + of XFmode variables, where the store actually did a load, ie, the + source and destination operands were fixed. + (fixuns_trunc patterns): Revert to the old code. + (movdf_push486, movxf_push486, movdi_push486): If an address is + based on the stack pointer, account for the stack pointer changing + due to the intermediate pushes generated. -Sat Mar 7 09:29:41 1992 Michael Meissner (meissner@osf.org) +Tue Sep 13 14:11:16 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * mips.h (CONST_COSTS): Complete last change. + * collect2.c (fatal_perror, fatal, error): Declare all args as char *. - * mips.md (movsi_ulw, movsi_usw): Complete last change. +Tue Sep 13 12:40:39 1994 Jeffrey A. Law (snake.cs.utah.edu) -Sat Mar 7 07:28:03 1992 Tom Wood (wood at dg-rtp.dg.com) + * pa.c (emit_move_sequence): Handle secondary FP load/store + reloads of the form (subreg (mem (plus (reg) (disp)))). + (secondary_reload_class): A secondary register is needed to handle + out-of-range FP loads and stores. + * pa.md (reload_indf, reload_outdf): New expanders. + (reload_insf, reload_outsf): Likewise. - * config.sub (*-dolphin, -triton*): New vendor/OS. - * configure (m88k-dolphin-trition): New alternative. - * m88kdolph.h: New file. - * xm-m88kdolph.h: New file. +Mon Sep 12 18:15:48 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sat Mar 7 10:07:44 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + * t-pa (ADA_CFLAGS): New override. + * pa/t-pa-hpux: New file. + * configure (hppa*-*-hpux*): Use t-pa-hpux instead of t-libc-ok. - * make-l2.com: Do not allow the user to run this with gcc 1.nn. +Mon Sep 12 14:52:17 1994 Jim Wilson (wilson@cygnus.com) - * make-gcc.com: Use the new compiler to build libgcc2.c (through - make-l2.com). + * function.c (assign_parms): Set RTX_UNCHANGING_P on stack_parm + for const parameter before calling move_block_from_reg. -Sat Mar 7 05:36:16 1992 K. Richard Pixley (pixley@nutrimat.gnu.ai.mit.edu) +Mon Sep 12 14:27:58 1994 Doug Evans (dje@cygnus.com) - * Makefile.in: added the exec_prefix variable for installing host - dependent programs and libraries. + * config/fp-bit.c (FLO_union_type): Add packed attribute to `bits'. -Sat Mar 7 00:09:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Sep 10 09:50:41 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * genextract.c (mybzero): New fn. Used instead of bzero. + * cse.c (invalidate_for_call): Properly set IN_TABLE. - * Makefile.in (all): Indirect to all-internal. - (all-internal): New rule, following where cross-make gets inserted. +Sat Sep 10 06:46:24 1994 Bill Burton (billb@progress.com) - * vms.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE): Defined. + * Added improved support for Sequent DYNIX/ptx 1.x and 2.x: + * fixinc.ptx: New file. + * i386/seq-sysv3.h (HAVE_ATEXIT): No longer defined. + * i386/seq2-sysv3.h: New file. + * configure (i[34]86-sequent-ptx[12]*): New configurations. + (i[34]86-sequent-sysv*, i[34]84-sequent-ptx): Deleted configurations. + * config.sub (ptx): New OS; use for Sequent. - * protoize.c: Don't declare fork or vfork. +Fri Sep 9 21:48:48 1994 Paul Eggert (eggert@twinsun.com) - * i860.c (sfmode_constant_to_ulong): Use REAL_VALUE_FROM_CONST_DOUBLE. + * cccp.c (rescan, handle_directive): Backslash no longer suppresses the + specialness of the following char unless -traditional. + (rescan): Remove backslash-newline only if at top level, since + backslash-newline-space can be encountered during macro processing. + (collect_expansion): Remove special hack for \# inside a #define; + it's not compatible with the C Standard. - * gcc.c (handle_braces): Verify actual suffix length matches - desired. +Thu Sep 9 17:36:03 1994 Jason Merrill (jason@deneb.cygnus.com) + + * Utilize OSF/1's limited .init support. + * alpha/alpha.h (HAS_INIT_SECTION): Define. + (LINK_SPEC): Add '-init __main'. + * alpha/osf12.h (LINK_SPEC): Ditto. + + * function.c (expand_main_function): Don't call __main if + HAS_INIT_SECTION is defined. - * hp800.h (GO_IF_LEGITIMATE_ADDRESS): Add parens for clarity. +Fri Sep 9 16:36:46 1994 Mike Stump (mrs@cygnus.com) - * c-typeck.c (pointer_int_sum): Handle intop which is sum or diff - of arguments with different types. + * tree.c (decl_function_context): Don't treat C++ member + functions of classes declared in a function, as nested functions. - * c-typeck.c (PUSH_SPELLING): If no buffer yet, use xmalloc. +Fri Sep 9 16:10:25 1994 Steve Chamberlain (sac@jonny.cygnus.com) - * m68k.c (output_dbcc_and_branch): Use \n\t between pair of insns. + * sh/sh.c (prepare_move_operands): Generate better DI constant + code. + (fake_shift): New function. + * sh/sh.md (ashlsi3_n, lshrsi3_n): Only recognise if fake_shift + enabled. + * sh/{lib1funcs.asm, ashlsi3.c, lshrsi3.c, ashrsi3.c} : New files. + * sh/t-sh : Build new files. - * sparc.h (TARGET_MEM_FUNCTIONS): Defined. +Fri Sep 9 15:52:54 1994 Hallvard B Furuseth (h.b.furuseth@usit.uio.no) -Fri Mar 6 18:48:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cccp.c: Correct unprototyped pointer args from `0' to `NULL_PTR' - * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Don't call ON_EXIT here. - * crtstuff.c, libgcc2.c (__do_global_ctors): Call it here. +Fri Sep 9 15:17:52 1994 Matthew Green (mrg@splode.mame.mu.oz.au) - * i386sco.h (HAVE_ATEXIT): Defined. + * configure (sparc-*-netbsd): New configuration. + * sparc/netbsd.h: New file. - * collect2.c (my_exit, main): Avoid dereferencing 0. +Fri Sep 9 15:15:48 1994 Jim Wilson (wilson@cygnus.com) - * stmt.c (expand_decl_init): Don't alter TREE_USED of the variable. + * mips.md (truncdisi2): Change from define_expand to define_insn. + (truncdihi2, truncdiqi2): Likewise. -Fri Mar 6 18:24:39 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * sparc.h (SQRTTF2_LIBCALL): Delete. + (INIT_TARGET_OPTABS): Define. + (INIT_SUBTARGET_OPTABS): Define. - * mot3300.h (SIZE_TYPE): Define as "unsigned int". + * stmt.c (check_for_full_enumeration_handling): Cast malloc result + to `unsigned char *' not `char *'. - * 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. + * dbxout.c (dbxout_symbol_location): Handle error_mark_node in + DECL_INITIAL for C++. - * Makefile.in (cleanconfig): Remove obsolete reference to - file aux-output2.c. + * mips.md (memory): Add missing !r4600 to first define_function_unit. - * c-lex.c (yylex): Don't make out-of-range shift for very wide chars. + * sparc.md (negsi2): Use register_operand not general_operand for + output. -Fri Mar 6 18:07:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Sep 9 14:52:58 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * toplev.c (compile_file): No -Wunused warnings for static vars. + * config/netbsd.h: Add #undef for everything we define; a few were + missing. - * 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. + * reload.c (find_reloads, case 'p'): Operand is BASE_REG_CLASS. - * genattrtab.c: Revert to previous version - because the new one uses vsprintf and it isn't trivial - to avoid it. +Fri Sep 9 14:00:28 1994 Mike Collison (collison@world.std.com) -Fri Mar 6 17:26:09 1992 Tom Wood (wood at dg-rtp.dg.com) + * configure (dsp16xx-*): New configuration. + * config.sub (dsp16xx): New basic machine. + * dsp16xx.c, dsp16xx.md, dsp16xx.h, xm-dsp16xx.h: New files. - * m88k.md ( expressions): Don't rely on the assembler being able - to handle constant expressions (Dolphin Triton88 can't). +Fri Sep 9 12:47:00 1994 Michael Meissner (meissner@osf.org) - * 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. + * i386/i386.md (All SF, DF, XF, DI 486 push patterns): Merge the + memory and nonmemory push patterns together. -Fri Mar 6 16:14:27 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Sep 9 00:53:36 1994 Richard Stallman - * cccp.c (main, path_include) [__MSDOS__]: Handle MSDOS syntax in path. + * config.sub: Accept i586 like i386. + Do not use SCO as a default for i386-*. - * expr.c (store_expr): Fix bugs in last change. +Thu Sep 8 18:49:35 1994 Steve Chamberlain (sac@cygnus.com) - * objc-actions.c (receiver_is_class_object): Fix typos. + * config/fp-bit.c (_fpmul_parts): Perform optimized + 64bit*64bit multiply correctly. + * sh/sh.c (synth_constant): Ensure DI mode constants get their + high part zeroed. + (add_constant): Entabled constants are only identical if their + sizes are the same. - * ecoff-cmp: File deleted. +Thu Sep 8 14:40:31 1994 Jim Wilson (wilson@cygnus.com) - * config.sub (3b1): Convert to m68000, not m68k. + * flow.c (mark_used_regs, case REG): Correct typo, use GET_MODE + not GET_CODE. + * sched.c (attach_deaths): Likewise. - * cccp.c (do_line): Handle "syetem header" indicator flag `3'. +Tue Sep 6 23:33:41 1994 Per Bothner (bothner@kalessin.cygnus.com) - * t-i386isc: New file. - * configure (i386-*-isc*): Use the new file. - * i386isc.h (LIB_SPEC, ENDFILE_SPEC): Use crtbegin.o/crtend.o. + * tree.c (get_set_constructor_bits, get_set_constructor_words): + New functions. Extract bits or words from SET_TYPE CONSTRUCTOR. + * tree.h: Declare above new functions. + +Thu Sep 8 14:02:05 1994 Michael Meissner (meissner@osf.org) + + * 386/i386.h (TARGET_OPTIONS): New macro to define -mreg-alloc= + switch to allow users to override the register allocation order. + (OVERRIDE_OPTIONS): Call the function override_options. + (REG_ALLOC_ORDER): Define to allocate in the natural order, this + is needed for ORDER_REGS_FOR_LOCAL_ALLOC to work. + (ORDER_REGS_FOR_LOCAL_ALLOC): Define to call the function + order_regs_for_local_alloc. + (regclass_map): Move declaration to end of file. + (i386_compare_op0, i386_compare_op1): Ditto. + (CLASS_LIKELY_SPILLED_P): Define, return 1 for AD_REGS in addition + to all of the single register classes, since AD_REGS is only used + to allocate EAX:EDX. + (override_options, order_regs_for_local_alloc): Add declarations. + (hi_reg_name): Add declaration. + (qi_reg_name): Ditto. + (qi_high_reg_name): Ditto. + (i386_reg_alloc_order): Add declaration for TARGET_OPTIONS to use. + + * i386/i386.c (i386_compare_op0, i386_compare_op1): Initialize + with NULL_RTX. + (i386_reg_alloc_order): Provide global variable definition. + (regs_allocated): Static array to note whether a register is noted + via -mreg-alloc=. + (override_options): Provide checking for registers declared with + -mreg-alloc=. + (order_regs_for_local_alloc): If -mreg-alloc= was used, + allocate registers mentioned in order, and then allocate all other + registers in the normal register order. If -mreg-alloc= was + not used, allocate registers in natural order except for non-leaf + functions with CSE following jumps, allocate EAX after EDX and + ECX, to allow the function return to be CSE'd, and perl 4.036's + perly.y to be compiled without aborting due to not being able to + find a spill register. + (movsf, movdf, movdi): Rewrite all patterns to provide effecient + memory to memory moves, including pushes for i386 and i486. Fixes + problems in compiling motif+ without optimization. + (swapsf): Add, like swapdf and swapxf. + (fixuns_truncsfsi2, fixuns_truncdfsi2): Use general_operand + instead of register_operand for define_expand, since the operand + is copied to a new pseudo register as part of the expansion. + (fix_truncxfdi2, fix_truncdfdi2, fix_truncsfdi2): Rewrite to call + the more primitive generator functions instead of knowing how many + clobbers of match_scratchs they do. + + * Makefile.in (aux_output.o): Define TARGET_CPU_DEFAULT if + specified when compiling aux_output.o to allow the machine C file + access to this if it wants it. + +Thu Sep 8 07:15:29 1994 David Edelsohn (edelsohn@npac.syr.edu) + + * rs6000.md (movsi matcher): Merge TARGET_POWER and !TARGET_POWER + cases. Rationalize mnemonics. + (movhi and movqi matchers): Likewise. + (movsf matcher): Correct length attribute for stfs which no longer + includes frsp. + +Thu Sep 8 07:06:31 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * rs6000.h (REGISTER_MOVE_COST): Fix typo in last change. + +Wed Sep 7 19:31:52 1994 Paul Eggert (eggert@twinsun.com) + + * cccp.c (handle_directive): In `#include ' directives, + remove backslash-newline properly. Don't allow any other newlines. + +Wed Sep 7 18:11:29 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * rs6000.h (REGISTER_MOVE_COST): Moving between special registers + is expensive. + + * combine.c (simplify_comparison): Convert comparison to unsigned + when stripping off a ZERO_EXTEND. + + * combine.c (simplify_set): Only convert IF_THEN_ELSE to logical + expression if mode of object being compared is result mode. + +Wed Sep 7 18:09:17 1994 David J. MacKenzie (djm@geech.gnu.ai.mit.edu) + + * configure: Ignore --help, --version, --program-prefix, + --program-suffix, --cache-file, --quiet, --silent. + +Wed Sep 7 13:29:50 1994 Doug Evans (dje@cygnus.com) + + * stmt.c (expand_asm_operands): Move test for misspelled registers + higher so all cases caught. + +Wed Sep 7 09:54:14 1994 Per Bothner (bothner@kalessin.cygnus.com) + + * configure: Touch Makefile.ll before appending subdir stuff. + (Needed if there are no subdirs.) + +Wed Sep 7 11:19:18 1994 Kresten Krab Thorup (krab@akvavit.next.com) + + * objc/init.c (__objc_init_protocols): Remove assertion. + * objc/Object.m (conformsTo:): Make lookup allways happen in + the class object. + +Tue Sep 6 17:47:39 1994 Per Bothner (bothner@kalessin.cygnus.com) + + * configure: Rename *-next-ns[23] to *-next-nextstep[23]. + * config.sub: Cleanup NeXT support to emit nextstep*. + +Tue Sep 6 18:38:02 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * reload.c (find_reloads_address): Don't reorder the operands of a + PLUS when fixing up index. + +Tue Sep 6 18:24:50 1994 Matthias Pfaller (leo@marco.de) + + * ns32k.md (stackadjust/push peepholes): For the adjust/push/push + pattern one offset was wrong. + Don't use addr for register and and MEM refs. + +Tue Sep 6 11:24:06 1994 Steve Chamberlain (sac@jonny.cygnus.com) + + * sh/sh.c (push, pop): Generate REG_NOTES. + (synth_constant): Correct one of the patterns. + (output_file_start): Bump version number. + * sh/sh.h (EXIT_IGNORE_STACK): Now 1. + * sh/sh.md (adddi3, subdi3): Simplify. + (casesi_worker): Use TARGET_BIGTABLE. + +Mon Sep 5 12:29:15 1994 Ian Lance Taylor (ian@cygnus.com) + + * ginclude/math-68881.h: Change inline functions from static to + extern. + + * configure (i[34]86-*-sysv4*): If --with-stabs, set tm_file to + i386/sysv4gdb.h. + * config/i386/sysv4gdb.h: New file; sets PREFERRED_DEBUGGING_TYPE. + +Sun Sep 4 08:40:02 1994 Chris Smith (csmith@convex.com) + + * convex.h (VTABLE_USES_MASK, VINDEX_MAX, SET_DECL_VINDEX): + delete, no longer used. + (target_flags): delete cexp.c hack, no longer needed. + * convex.md (decr-and-set-cc0): fix HImode to use halfword + insns. + (cmpqi patterns): fix constraints not to use A regs + +Sat Sep 3 14:12:11 1994 Michael Meissner (meissner@osf.org) + + * i386/i386.md (DImode move and push insns): Eliminate movdi + wrapper that made a DI temp register to do a memory to memory + move because it creates too much register pressure, especially + when not optimizing. On the 486, allocate and use 1-2 scratch + registers to push a DImode value. -Fri Mar 6 14:37:25 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) +Fri Sep 2 15:11:59 1994 Jason Merrill (jason@deneb.cygnus.com) + + * c-decl.c (min_precision): Move from here. + * c-common.c: To here. - * expmed.c (expand_dec): Fix comment. +Fri Sep 2 13:16:38 1994 Per Bothner (bothner@kalessin.cygnus.com) -Fri Mar 6 09:49:54 1992 Tom Wood (wood at dg-rtp.dg.com) + * tree.h (maximum_field_alignment, set_alignment): New declarations. - * m88k.c (emit_move_sequence): Check reload_in_progress in - addition to reload_completed. +Fri Sep 2 14:25:36 1994 Ian Lance Taylor (ian@cygnus.com) - * m88k.md (cpu attribute): Fix. + * config/svr4.h (DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE, + DBX_BLOCKS_FUNCTION_RELATIVE, ASM_IDENTIFY_GCC, + ASM_IDENTIFY_GCC_AFTER_SOURCE, ASM_OUTPUT_SOURCE_LINE, + DBX_FUNCTION_FIRST): Define. This adds support for -gstabs for + SVR4 configurations. -gstabs requires gas and gdb. + * config/sparc/sol2.h (DBX_DEBUGGING_INFO, + DBX_BLOCKS_FUNCTION_RELATIVE, ASM_IDENTIFY_GCC, + ASM_IDENTIFY_GCC_AFTER_SOURCE, ASM_OUTPUT_SOURCE_LINE, + DBX_FUNCTION_FIRST): Don't define. Now defined by config/svr4.h. + (PREFERRED_DEBUGGING_TYPE): Undefine before defining. + * config/sparc/sysv4.h (DBX_DEBUGGING_INFO): Don't bother to + undefine before including svr4.h. + (ASM_OUTPUT_SOURCE_LINE): Undefine before including svr4.h. + +Thu Sep 1 22:02:02 1994 Michael Meissner (meissner@osf.org) + + * toplev.c (fatal_insn): Move most of the code from + fatal_insns_not_found here, and add an argument to give the error + message. + (fatal_insn_not_found): Call fatal_insn. + * rtl.h (fatal_insn, fatal_insn_not_found): Add prototypes. + * genextra.c (main): Don't declare fatal_insn_not_found in + insn-extract.c. + * reload1.c (reload): Call fatal_insn where appropriate to print + an error message instead of calling abort. + (spill_failure): Ditto. + (reload_as_needed): Ditto. + (allocate_reload_reg): Ditto. + (emit_reload_insns): Ditto. -Fri Mar 6 06:24:08 1992 Michael Meissner (meissner@osf.org) +Thu Sep 1 19:34:26 1994 Jason Merrill (jason@deneb.cygnus.com) + + * tree.c (type_list_equal): If the types of the default arguments + differ, the lists do not match. + +Thu Sep 1 19:29:58 1994 Matthias Pfaller (leo@marco.de) - * mips.h (CONST_COSTS): Fix eliminate_constant_term calling - sequence. + * ns32k.md (stack-adjust/push peepholes): Addresses are + moved with "addr", not with "movd". - * mips.c (simple_memory_operand): Move offset variable for calling - eliminate_constant_term into a local block by the call. - (mips_address_cost): Ditto. +Thu Sep 1 19:17:55 1994 Paul Eggert (eggert@twinsun.com) - * mips.md (movsi_ulw, movsi_usw): Fix eliminate_constant_term - calling sequence. + * cccp.c (make_definition): Don't dump core when given an + unterminated string in a -D option. -Fri Mar 6 00:30:10 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Sep 1 19:13:35 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * fixincludes: Don't fix comments on #endif, #else. - It made the egrep string too long. + * c-typeck.c (convert_arguments): Give proper warnings when + converting COMPLEX_TYPE; widen check to include all integral types. - * expr.c (store_expr): Handle size mismatch copying from string cst. +Wed Aug 31 20:38:53 1994 Per Bothner (bothner@spiff.gnu.ai.mit.edu) -Thu Mar 5 22:11:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fixproto: Define FIX_HEADER (needed by Aug 19 change). + Use FIX_HEADER instead of $original_dir/fix-header (twice). - * objc-actions.c (receiver_is_class_object): Clean up syntax. +Wed Aug 31 16:56:15 1994 Jason Merrill (jason@deneb.cygnus.com) + + * stmt.c (warn_if_unused_value): Extend special case for casted + MODIFY_EXPRs to apply to INIT_EXPRs as well. + +Wed Aug 31 16:30:09 1994 Per Bothner (bothner@kalessin.cygnus.com) - * sun386.h (ASM_GENERATE_INTERNAL_LABEL): Start with a star. + * stor-layout.c (set_alignment): New global. + (layout-type): Add support for SET_TYPE. - * reload1.c (reload): Change `=' to `==' in `if' - inside REGISTER_CONSTRAINTS conditional. + * expmed.c (store_bit_field): Semi-revert Aug 25 change: + Make it apply only for BLKmode, not integral modes. -Thu Mar 5 21:29:33 1992 Michael Tiemann (tiemann@mole.gnu.ai.mit.edu) + * stmt.c (all_cases_count, mark_seen_cases): New functions. + (BITARRAY_TEST, BITARRAY_SET): New macros. Used (mainly by + Chill) to check all cases are covered (for enums and ranges). + (check_for_full_enumeration_handling): Re-write to use the + new functions, now that we have them. - * cp-parse.y (yyprint): Make declarations declare __inline - consistently. +Wed Aug 31 19:19:29 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) -Thu Mar 5 18:34:32 1992 Jeffrey A. Law (law@mole.gnu.ai.mit.edu) + * combine.c (nonzero_bits, cases DIV, MOD, UDIV, UMOD): Declare + op0_maybe_minusp and op1_maybe_minusp as HOST_WIDE_INT. - * m68k.md (dbra patterns): Fix NO_ADDSUB_Q ifdef conditionals. - Fix location of comment regarding use of REG_NOTES in dbra insns. +Wed Aug 31 18:54:54 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Mar 5 18:30:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * expmed.c (store_split_bit_field): Always adjust arg to + extract_fixed_bit_field in BYTES_BIG_ENDIAN case. - * Makefile.in (libgcc.a): If $(LIBGCC1) is empty, ignore it. - * cross-make (LIBGCC1): Make definition empty. +Wed Aug 31 02:49:34 1994 Roland McGrath -Thu Mar 5 17:48:38 1992 Torbjorn Granlund (tege@wombat.gnu.ai.mit.edu) + * config/i386/gnu.h (LIB_SPEC): New macro. - * reload.c (find_reloads): Correctly detect different operand - constraint alternatives (by changing subscription from 0 to loop - variable i). +Tue Aug 30 16:35:23 1994 Jason Merrill (jason@deneb.cygnus.com) + + * toplev.c (lang_options): Add -W{no-,}reorder. + +Tue Aug 30 13:55:58 1994 Jeffrey A. Law (law@snake.cs.utah.edu) -Thu Mar 5 16:58:38 1992 Tom Wood (wood at dg-rtp.dg.com) + * combine.c (simplify_comparison, case GEU): Add missing break. - * Makefile.in (libsubdir): Rename $(libdir)/gcc gcc-lib. - * gcc.c (STANDARD_EXEC_PREFIX): Ditto. +Mon Aug 29 17:50:55 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * c-typeck.c: Implement a spelling stack to store and print - compoment names for error messages. + * vax.md (extv, extzv): Don't use ROTL when field is outside + boundaries of a word. - (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. +Mon Aug 29 11:43:18 1994 Kresten Krab Thorup (krab@akvavit.next.com) - (spelling_length, print_spelling): New functions. - (error_init, pedwarn_init): Use them. + * objc/sendmsg.c (get_imp): Don't inline on 386. - (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'. +Sun Aug 28 18:56:03 1994 Andrew McCallum (mccallum@cs.rochester.edu) -Thu Mar 5 15:22:22 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * objc/class.c (objc_get_meta_class): New function. - * 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. +Sat Aug 27 23:13:53 1994 Michael Meissner (meissner@osf.org) -Thu Mar 5 15:08:47 1992 Tom Wood (wood at dg-rtp.dg.com) + * i386/i386.c (legitimate_address_p): If index register is either + the arg pointer or the stack pointer, and there is no scale + factor, swap with the base register. - * regclass.c (fix_register): Use decode_reg_name. - * stmt.c (expand_asm_operands): Ditto. - * varasm.c (decode_reg_name): Ignore a leading '#'. + * i386/i386.h (REG_CLASS_CONTENTS): Don't allow the arg pointer + register as an index register, since the frame could be omitted, + and the stack pointer is not valid as an index. - 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. + * i386/i386.md (mov*, movstrict*): Don't create pushes of memory + values when creating insns, let the combiner create a push of a + memory value if -m386. In particular, pushes of byte values was + broken because there is no pattern to recognize such a push. -Thu Mar 5 13:49:29 1992 Jeffrey A. Law (law@wombat.gnu.ai.mit.edu) +Fri Aug 26 16:03:09 1994 Michael Meissner (meissner@osf.org) - * expr.c (move_by_pieces_ninsns): Finish Mar. 4 change. Do not - choose a mode which has a size greater than MOVE_MAX. + * i386/i386.h (MASK_*): Add masks for all of the switches. + (TARGET_*): Use appropriate MASK_* instead of a number. Add + -mdebug-addr switch to debug GO_IF_LEGITIMATE_ADDRESS, + -mno-wide-multiply to turn off widening multiplies, and -mno-move + to allow integer move insns to generate direct memory to memory + copies, which reload will fix up. Add TARGET_386 which is not of + TARGET_486. + (REG_ALLOC_ORDER): Go to the order used in 2.5.8, eax, edx, ecx, ... + Add a comment describing the tradeoffs. + (REG_OK*): Add strict and non-strict versions of the macros that + are always present, and REG_OK_STRICT chooses between the two + inner macros. + (GO_IF_LEGIMATE_ADDRESS): Move processing to legitimate_address_p + function. + (LEGITIMIZE_ADDRESS): Move processing to legitimize_address + function. + (function declarations): Add function declarations for all extern + functions in i386.c. - * 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. + * i386/i386.c (asm_add): Add support in case adding by 1 or -1 to + use inc/dec. + (various): Change TARGET_486 -> !TARGET_386. + (legitimate_address_p): Move GO_IF_LEGITIMATE_ADDRESS processing + here from i386.h. Combine OSF/rose support from osfrose.h through + the use of conditional macros. Only recognize addresses in + canonical formats, code adapted from the i960 port. Add tracing + if -mdebug-addr. + (legitimize_address): Move LEGITIMIZE_ADDRESS here from i386.h, + and add adaptations from the i960 port. + (convert_387_op): Remove unused function. -Thu Mar 5 10:04:52 1992 Tom Wood (wood at dg-rtp.dg.com) + * i386/i386.md (various): Remove cast to char * of output + functions, since i386.h now declares them all properly. Change + TARGET_486 tests to !TARGET_386 and !TARGET_486 to TARGET_386. + (movsi, movstricthi, movhi, movstrictqi, movqi, movdi): Add + define_expand wrappers to prevent memory<->memory moves from being + generated unless -mno-move is used. On 486's do not allow push of + memory insns to be generated unless -mno-move. + (movdi): For movdi patterns, add 2 (clobber (match_scratch...)) + declarations to allow memory<->memory moves with non-contigous + registers, so that reload don't abort if it can't make a DI + register. + (umulsidi3, mulsidi3): Don't allow pattern if -mno-wide-multiply. + (smultsi3_highpart, umultsi3_highpart): Add patterns to make + division by constants generate better code. - * stmt.c (warn_if_unused_value): Handle NON_LVALUE_EXPR. + * i386/osfrose.h (MASK_*): Use octal to define bitmasks, not hex, + for compatibility with i386.h. + (NO_IMPLICIT_EXTERN_C): Define. + (LONG_DOUBLE_TYPE_SIZE): Explicitly define to be 64 instead of + just #undef'ing it. + (GO_IF_LEGITIMATE_ADDRESS): Delete, merged with common i386 code. + (ASM_FILE_END): Print -fschedule-insns and -fschedule-insns2 in + ident string if those options are used. + (REAL_LD_FILE_NAME): Delete. + (ASM_OUTPUT_DOUBLE): Delete, use the common macros. + (ASM_OUTPUT_FLOAT): Ditto. + (ASM_OUTPUT_LONG_DOUBLE): Ditto. - * limits.h (_LIMITS_H_): Correct misspellings. +Thu Aug 25 17:15:18 1994 Per Bothner (bothner@kalessin.cygnus.com) - * 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. + * expmed.c (store_bit_field): Always store into multi-word + bitfields starting with low addresses. (Old code was + incompatible with operand_subword_force on big-endian targets.) -Thu Mar 5 09:08:11 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Thu Aug 25 18:31:20 1994 Antti Miettinen (amiettin@ntc.nokia.com) - * rs6000.md (lshrdi3): Add earlyclobber to first alternative. + * m68k/lynx.h (CALL_USED_REGS): Add d2 and d3 as call-used. - * explow.c (stabilize): Copy RTX_UNCHANGING_P and MEM_VOLATILE_P. +Thu Aug 25 11:30:44 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Mar 5 06:05:31 1992 Michael Tiemann (tiemann@cygnus.com) + * cse.c (record_jump_cond): Don't do anything if OP0 and OP1 + are already equivalent. - * cp-parse.y (.pushlevel): Stack and unstack STMT_DECL_MSG. + * rtlanal.c (may_trap_p, case EXPR_LIST): New case. - * 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. + * c-common.c (shorten_compare): Don't issue warning if both + operands constants and the signedness doesn't affect the + comparison results. -Wed Mar 4 21:38:41 1992 Jeffrey A. Law (law@wombat.gnu.ai.mit.edu) + * configure: Refine handling and error-checking of positional args. - * expr.c (move_by_pieces): Do not choose a mode which has a size - greater than MOVE_MAX. + * print-tree.c (print_node): Print more flags for types and decls. -Wed Mar 4 23:24:25 1992 Per Bothner (bothner@cygnus.com) + * c-typeck.c (type_lists_compatible_p): Treat transparent unions + just like unnamed ones. - * 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). +Wed Aug 24 19:34:52 1994 Charles Hannum (mycroft@duality.gnu.ai.mit.edu) -Wed Mar 4 22:05:39 1992 Michael Tiemann (tiemann@cygnus.com) + * configure: Rearrange handling of NetBSD ports to use the standard + `cpu-vendor-os' format. + * config.sub: Recognize names of NetBSD ports that do not correspond + to a CPU name. - * cp-type2.c (build_functional_cast): Fix typo in code searching - down type lattice looking for constructor. +Wed Aug 24 18:43:30 1994 Philippe De Muyter (phdm@info.ucl.ac.be) -Wed Mar 4 16:52:21 1992 Jim Wilson (wilson@cygnus.com) + * print-tree.c (print_node_brief, print_node): Use assignment instead + of initialization for aggregate local variable REAL_VALUE_TYPE d. - * 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. +Wed Aug 24 18:28:52 1994 Ian Lance Taylor (ian@cygnus.com) -Wed Mar 4 15:21:20 1992 David J. MacKenzie (djm@wookumz.gnu.ai.mit.edu) + * config/svr4.h (ASM_OUTPUT_SECTION_NAME): Define. + * config/sparc/sysv4.h (ASM_OUTPUT_SECTION_NAME): Output #alloc to + set SHF_ALLOC in section flags. - * fixincludes: Make egrep pattern more general. Check for - additional special case problems in Ultrix, News-OS, and IRIX. +Wed Aug 24 17:45:19 1994 Jim Wilson (wilson@sphagnum.cygnus.com) -Wed Mar 4 15:15:45 1992 James Van Artsdalen (james at bigtex.cactus.org) + * c-parse.in (parmlist_2): Give error for function with only + ELLIPSIS as an argument. - * i386.c (function_epilogue): Don't make a special case for - current_function_returns_struct: this is done via - current_function_pops_args. +Wed Aug 24 17:36:22 1994 H.J. Lu (hjl@nynexst.com) - * sun386.h (DATA_SECTION_ASSM_OP): Fix typo in undef. + * i386/linux.h (STARTFILE_SPEC): Add %{static:-static}. -Wed Mar 4 14:21:37 1992 David J. MacKenzie (djm@wookumz.gnu.ai.mit.edu) +Wed Aug 24 14:34:37 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * fixincludes, fixinc.svr4: Only change #else and #endif at the - beginnings of lines, aside from whitespace, so it doesn't change - them within comments. + * calls.c (expand_call): Check for variable-sized return value + in proper place. -Wed Mar 4 09:48:21 1992 Michael Tiemann (tiemann@mole.gnu.ai.mit.edu) + * c-typeck.c (default_conversion): Don't substitute constant + value if array since will return address. - * cp-method.c (build_decl_overload): Braino in handling of DELETE - (NEW was handled correctly). + * configure (LANG_MAKEFILE): Include lang/Makefile.in in list. -Wed Mar 4 09:14:57 1992 Jeffrey A. Law (law@wombat.gnu.ai.mit.edu) + * alpha.h (EXTRA_CONSTRAINT): Add new letter, `R'. + (ENCODE_SECTION_INFO): Don't check TREE_ASM_WRITTEN. + (PREDICATE_COSTS): Add call_operand. + * alpha.c (call_operand): New function. + (output_epilog): Don't set SYMBOL_REF_FLAG of current function. + * alpha.md (call): Rework to use macro version of jsr. + * osf2.h (LINK_SPEC): Don't define; should never have been. - * Makefile.in (install-man): Install the g++ manual page. + * c-typeck.c (push_init_level): Don't blow up if construct_type + is null (can happen with missing brace). - * 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). +Wed Aug 24 10:49:35 1994 Michael Meissner (meissner@osf.org) - * 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) + * i386/i386.h (REG_ALLOC_ORDER): Restore previous version which + allocates edx first, then ecx, eax, ... This is because perl + doesn't build when the order is eax, ecx, edx... -Wed Mar 4 04:32:11 1992 Michael Tiemann (tiemann@cygnus.com) +Tue Aug 23 09:20:16 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-dem.c (optable): Add entry for `operator='. + * configure: Restore old behavior of positional arguments. + Add new argument, --noguess. + config.guess now guesses BUILD, not HOST; HOST defaults from BUILD. + Always compare canonical names, not user-specified names. + Numerous minor changes in the messages output to make the + configuration chosen clearer. - * cp-decl.c (finish_function): Emit a jump to RETURN_LABEL if - CLEANUP_LABEL is non-zero. (Suggested by niklas@appli.se) +Tue Aug 23 02:01:42 1994 Richard Stallman -Wed Mar 4 04:28:10 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config.sub: Move m68k-ccur handling to proper part of file. + Canonicalize cpu type pentium into i486. (Change it to i586 later.) - * libgcc1.c (perform_lesf2): Condition tested was backwards. +Mon Aug 22 18:41:59 1994 Steve Chamberlain (sac@jonny.cygnus.com) -Wed Mar 4 03:11:48 1992 Ken Raeburn (Raeburn@Cygnus.COM) + * sh/sh.c (find_barrier): Calculate the size of larger than + SI moves correctly. + (general_movsrc_operand): Allow label_refs plus const. + (sh_function_arg_partial_nregs, sh_function_arg): Pass BLKmode + objects in partial regs. + * sh.h (TARGET_DEFAULT): Turn off BIGTABLE_BIT. + (EXTRA_CONSTRAINT_Q): Allow label_refs plus const. + (READONLY_DATA_SECTION_ASM_OP, EXTRA_SECTIONS, rdata_section): + Delete rdata section and refs. + * sh.md (dimode split): Don't allow a Q constraint source. - * 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. +Sun Aug 21 23:15:35 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - * cp-class.c (pushclass): Don't bother processing unnamed tags. - (popclass): Likewise. + * pa.h (FUNCTION_ARG): Use indirect calling conventions when + TARGET_LONG_CALLS is in effect. - * cp-init.c (build_vec_delete): If pointer is null, don't do - anything. +Sat Aug 20 13:31:34 1994 Jim Wilson (wilson@cygnus.com) - * cp-parse.y (member_init): Accept base class names that are - template type names. + * sched.c (sched_analyze_insn): Add new parameter loop_note. + If loop_note set, then serialize on this insn. + (sched_analyze): New variable loop_note. Pass to + sched_analyze_insn. Set it if we pass a NOTE_INSN_LOOP_BEG or + NOTE_INSN_LOOP_END. + (unlink_notes): Don't save away NOTE_INSN_LOOP_BEG or + NOTE_INSN_LOOP_END notes. + (schedule_block): Generalize code that looks for magic REG_DEAD + notes and converts them to notes. - * cp-decl.c (start_decl): Don't prepend decl of `this' to arg lists - of methods of uninstantiated types. +Sat Aug 20 12:47:21 1994 Michael Meissner (meissner@osf.org) - * cp-pt.c (instantiate_template): If no text has been saved away, - don't try to parse it; an external reference will result. + * i386.h (REG_ALLOC_ORDER): Allocate eax first, then ecx, edx, and + then do the nromal allocation order for the remaining registers. - * cp-parse.y (yyprint): Declare this at head of file. +Fri Aug 19 20:14:35 1994 Jim Wilson (wilson@cygnus.com) - * 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. + * tree.c (build_type_variant): Only return existing type if it + also has the same TYPE_NAME. - * cp-parse.y (template_def): Try to recover from errors more - gracefully. + * irix5.h (NO_IMPLICIT_EXTERN_C): Comment out. -Tue Mar 3 15:37:35 1992 Tom Wood (wood at dg-rtp.dg.com) +Fri Aug 19 16:41:43 1994 Per Bothner (bothner@kalessin.cygnus.com) - * protoize.c (munge_compile_params): Compute the maximum number of - params (`temp_parms' length) safely. + * fixproto: Use $FIX_HEADER macro instead of calling + fix-header directly in 2nd location. - * dwarfout.c (const_value_attribute): Punt quasi-constant values. - (location_or_const_value_attribute): Ditto. +Fri Aug 19 17:34:19 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in (install-common): Install the cross compilation - driver program even when $(tooldir)/bin doesn't exist. + * expr.c (emit_move_insn_1): Never make a no-conflict block. -Tue Mar 3 14:39:55 1992 James Van Artsdalen (james at bigtex.cactus.org) + * tree.h (struct tree_type): New field transparent_union_flag. + (struct tree_decl): New field transparent_union. + ({DECL,TYPE}_TRANSPARENT_UNION): New macros. + * c-common.c (decl_attribute): Handle "transparent_union" attribute. + * function.c (assign_parms): If parm is transparent union, use + type of first field. + * calls.c (expand_call): Likewise. + * integrate.c (function_cannot_inline): Don't inline if any + parm is a transparent union. - * 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. +Fri Aug 19 12:01:11 1994 Ian Lance Taylor (ian@cygnus.com) - * svr4.h (LINK_SPEC): Don't do -z or -t here: it's already in - link_command_spec. But do handle -G. + * fixincludes: Canonicalize ${INPUT} to avoid automounter + problems. - * i386.md (casesi): Rewrite pattern to reflect the way to emitted - code actually works. +Fri Aug 19 11:31:24 1994 Kresten Krab Thorup (krab@akvavit.next.com) -Tue Mar 3 09:59:15 1992 Jeffrey A. Law (law@super.super.org) + * objc-act.c (build_selector_translation_table): Reset + current_function_decl after hack_function_prototype build it. + (build_module_descriptor): Return constructor name from functions + decl_rtl. - * m68k.md (dbra pattern in HImode): New pattern to match - decrement_and_branch insns when the loop counter is decremented in - HImode. +Thu Aug 18 17:23:18 1994 Per Bothner (bothner@spiff.gnu.ai.mit.edu) -Tue Mar 3 07:57:18 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * README.FRESCO: New file. Notes about compiling the Fresco + toolkit with g++. - * rs6000.md (doz patterns): Add missing `I' constraint. +Thu Aug 18 14:10:22 1994 Jim Wilson (wilson@cygnus.com) - * reorg.c (mark_target_live_regs): A CALL_INSN livens all global regs. + * combine.c (distribute_notes, case REG_UNUSED): Ignore notes when + from_insn != i3 only if the notes would remain as REG_UNUSED notes. - * 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. +Wed Aug 17 18:31:43 1994 Holger Teutsch (holger@hotbso.rhein-main.de) - * expr.c (do_store_flag): Swap comparison code when putting - constant arg second. + * clipper.h (CLIPPER_ARG_SIZE): Return size in bytes. + (FUNCTION_ARG_ADVANCE): Fix argument alignment processing. - * m68k.md (addhi3): Convert, e.g., 65535 to -1 before seeing if - we can use subqw. - (addqi3): Similarly for QImode constants +Wed Aug 17 18:03:54 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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]. + * fx80.md (casesi_2): Operand 0 is HImode; add SIGN_EXTEND + when adding to pc. + (casesi): Operand 0 is HImode. + (unnamed PC addition pattern): Add SIGN_EXTEND to add HImode + offset to SImode PC. + * m68k.md (tablejump): Add SIGN_EXTEND to HImode offset + so can add to SImode PC. + Likewise for matching pattern. + * cse.c (fold_rtx): When folding tablejump, allow LABEL_REF + to be in arg0; also allow other arg to be MINUS, not just be + equivalent to it. - * 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 Aug 15 19:19:11 1994 Paul Eggert (eggert@twinsun.com) - * sun2o4.h (LINK_SPEC): No longer need -Bstatic with -g. + * cccp.c (index0): New function. + (trigraph_pcp): Use index0 instead of index, so that a null + byte doesn't suppress further trigraph preprocessing. - * m68k.c, m68k.h: Avoid %X% for most upper-case X since it means - something special to SCCS. + * cccp.c (rescan, do_ident): Pass more accurate size request + to check_expand. - * rs6000.md (type): Add new type, mtlr. - (function_unit branch): Add delay from mtlr to br. - (movsi): When moving to lr, type is "mtlr". + * cccp.c (main): Don't dump core if given -pcp, -MD, or -MMD + without following arg. - * 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. +Mon Aug 15 17:56:38 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * expr.c (expand_increment): Set op0_is_copy when we are referencing - the low-order part of some value in a register. + * stmt.c (expand_elseif): New function. - * 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. +Mon Aug 15 14:16:18 1994 Ian Lance Taylor (ian@cygnus.com) - * 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. + * configure: If the host is guessed, and the target name is a + prefix of the host name, then use the target name as the host + name. - * 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. - - * 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. +Mon Aug 15 13:35:24 1994 Stan Shebs (shebs@andros.cygnus.com) -Tue Mar 3 07:56:30 1992 Eric Youngdale (youngdale at v6550c.nrl.navy.mil) + * m68k/m68k-coff.h: New file. - * vms.h (L__main): Remove #include +Sun Aug 14 00:28:15 1994 Andrew McCallum (mccallum@vein.cs.rochester.edu) - * make-gcc.com: Call make-l2.com. + * objc/encoding.c (objc_sizeof_type): Assign from ROUND, + don't increment. Remove ; after while to fix infinite loop. + Add float and double cases. + (objc_alignof_type): Add float and double cases. + * objc/selector.c (): Use __objc_selector_names, not + __objc_selector_array. + (sel_types_match): New function. + (sel_get_typed_uid): Use sel_types_match. Change strcmp to !strcmp. -Tue Mar 3 05:37:08 1992 Michael Tiemann (tiemann@cygnus.com) +Sun Aug 14 21:54:29 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - * 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. + * pa.h (ASM_OUTPUT_ALIGNED_COMMON, ASM_OUTPUT_ALIGNED_LOCAL): + Define. + (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Delete. - * cp-decl.c (grokdeclarator): Take CONSTP and VOLATILEP into account - when building METHOD_TYPEs. - (start_function): Ditto. + * pa.c (hppa_expand_prologue): Avoid writing outside the current + stack boundary in code to handle large stack frames. - * 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. +Sun Aug 14 18:55:51 1994 Jim Wilson (wilson@cygnus.com) - * cp-class.c (build_vtable_entry): Rewrite built-in limit check to - work on platforms where SIZETYPE is unsigned. + * unroll.c (loop_iterations): Use PREV_INSN not prev_nonnote_insn. -Mon Mar 2 08:49:16 1992 Tom Wood (wood at dg-rtp.dg.com) + * bsd-5.h (ASM_OUTPUT_NEWLINE): Delete. + (ASM_OUTPUT_ASCII): Define. + * mips-5.h, svr3-5.h, svr4-5.h: Likewise. + * mips.h (ASM_OUTPUT_NEWLINE): Delete. + (ASM_OUTPUT_ASCII): Don't use ASM_OUTPUT_NEWLINE. - * m88k.c (m88k_debugger_offset): Delete warning. + * va-mips.h (va_start): Add cast to __gnuc_va_list type. - * m88k.h (OVERRIDE_OPTIONS): Set `m88k_cpu' based on `target_flags'. + * flow.c (mark_used_regs): When adding REG_DEAD notes, check for + the case where a multiple register hard reg overlaps a register + set by the insn. + * sched.c (attach_deaths): Likewise. + * combine.c (distribute_notes, case REG_DEAD): Add another + find_reg_fusage call. - * m88k.md (cmpsi insn): Delete alternative that complements the - compare string for a swapped compare (it's wrong and unnecessary). - (cpu attribute): Define. + * unroll.c (calculate_giv_inc): Handle constants loaded with IOR. - 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. +Sun Aug 14 16:40:04 1994 Richard Stallman - * dbxout.c (dbxout_type): Don't invoke dbxout_type_methods if - there are none. + * cccp.c (skip_if_group): New arg op. All callers changed. + If output_conditionals is true, output text of failed conditionals. + (conditional_skip): New arg op. All callers changed. + (main): Handle -ifoutput option. - * vax.c (print_operand_address): Allow REG+TERM. +Sun Aug 14 05:49:29 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * c-typeck.c (process_init_constructor): Reuse space for error - message strings. + * print-tree.c (print_node{,_brief}): Use REAL_VALUE_TO_DECIMAL + to print REAL_CST ifdef REAL_ARITHMETIC. -Mon Mar 2 02:54:48 1992 James Van Artsdalen (james at bigtex.cactus.org) + * reload1.c (count_possible_groups) Pass CLASS as arg and only + try to find groups of that class. - * seq386gas.h: New file, for Sequent using 386 & GAS. + * configure: If config.guess fails and target specified, use as host. + Print a message when making a cross-compiler. - * xm-i386sco.h: New file. +Sat Aug 13 17:12:30 1994 Jim Wilson (wilson@cygnus.com) - * optabs.c (ldexp): New function. Used if host ldexp() is broken. + * configure (sparc-*-sunos4.0*): New configuration. + * t-sunos4: Rename file to t-sunos41. + * t-sunos40: New file. - * configure (i386-sequent-bsd*): Use seq386gas.h if --gas. - (i386-*-sco*): The host file is now xm-i386sco.h. +Sat Aug 13 13:50:22 1994 Jeffrey A. Law (law@snake.cs.utah.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. + * reload1.c (emit_reload_insns): Handle a secondary input reload + which needs to use secondary memory too. -Sun Mar 1 14:47:31 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) +Fri Aug 12 18:53:24 1994 Ian Lance Taylor (ian@cygnus.com) - * longlong.h (_IBMR2 udiv_qrnnd): Switch off due to overflow problems. + * mips/mips.c (override_options): If neither -mcpu= nor -mipsN was + used, and MIPS_CPU_DEFAULT is defined, set mips_cpu to + MIPS_CPU_DEFAULT and set mips_cpu_string to + MIPS_CPU_STRING_DEFAULT. -Sun Mar 1 11:19:55 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Fri Aug 12 10:54:35 1994 Stan Cox (coxs@dg-rtp.dg.com) - * 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. + * m88k/dgux.h, m88k/dguxbcs.h (ASM_SPEC,CPP_SPEC): + Made -pipe work for -msvr4. Added -D*_TARGET definitions. - * 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. + * m88k.c (emit_bcnd): Improved code generated by changing cmp/bbx + instruction pair to single bcnd instruction - * varasm.c (assemble_start_function): Add missing arg to call to - dbxout_begin_function. +Fri Aug 12 07:52:20 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * fold-const.c (const_binop): Make minor source change to work - around bug in IBM RT PC compiler. + * cse.c (set_nonvarying_address_components): If BASE is CONST_INT, + add value to start and set BASE to const0_rtx. + (refers_to_mem_p): Don't do it here. -Sun Mar 1 05:01:34 1992 Michael Tiemann (tiemann@rtl.cygnus.com) + * function.c (expand_function_start): Add redundant copy to + static_chain_incoming_rtx if SMALL_REGISTER_CLASS so inlining + works properly. + * integrate.c (expand_inline_function): Use single_set when + appropriate. + Delete insn that sets static_chain_incoming_rtx before its use. + (subst_constants): Treat virtual reg as constant. - * cp-typeck.c (build_modify_expr): When wrapping NEWRHS in a - SAVE_EXPR, call `break_out_cleanups' first. + * flow.c (mark_used_regs): Only show changes size if one mode is + integral. + * stupid.c (stupid_mark_refs): Likewise. + * combine.c (simplify_rtx, case FLOAT_TRUNCATE): Remove + redundant float_truncate. + * rs6000.md (movsf): Don't truncate if not register; clean up. -Sat Feb 29 23:19:20 1992 Jim Wilson (wilson@cygnus.com) + * c-decl.c (duplicate_decls): Suppress -Wredundant-decls warning + if we have already given an error. - * reload.c (find_reloads): Reset preferred_class to NO_REGS after - substituting a reg_equiv_address for a pseudo reg. +Thu Aug 11 18:44:25 1994 Jason Merrill (jason@deneb.cygnus.com) - * unroll.c (precondition_loop_p): Fix misplaced paren when checking - for MODE_FLOAT rtx. + * stmt.c (expand_anon_union_decl): Fix up the alignment and mode + of the member VAR_DECLs. -Sat Feb 29 13:59:54 1992 Michael Tiemann (tiemann@cygnus.com) +Thu Aug 11 13:36:14 1994 Per Bothner (bothner@kalessin.cygnus.com) - * 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. + * tree.c (stabilize_reference): Handle COMPOUND_EXPR. -Sat Feb 29 13:32:35 1992 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu) + * fix-header.c (write_rbrac): If NO_IMPLICIT_EXTERN_C is defined, + add extern "C" { ... } to added prototypes. (Needed for hpux.) - * README.X11: Add warning to not use gas when compiling PIC code. +Thu Aug 11 14:23:59 1994 Paul Eggert (eggert@twinsun.com) - * 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. + * cccp.c (rescan): Fix botches with `-lint': the output buffer + pointer was not recached properly, leading to lost output. + Also, buffer overrun was possible. -Sat Feb 29 11:10:55 1992 James Van Artsdalen (james at bigtex.cactus.org) + * cccp.c (dump_defn_1): Skip newlines and strings correctly. - * i386.md (movstrsi): Print opcode as "movsl" so that seq386.h can - change it into smovl. +Thu Aug 11 14:13:17 1994 Niklas Hallqvist (niklas@appli.se) -Sat Feb 29 09:15:51 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * configure (m68k-*-netbsd*): New target, like others. - * function.c (expand_function_end): Allocate rtl that points to - trampoline permanently. +Thu Aug 11 14:09:23 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu) - * 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). + * alpha.h (FUNCTION_PROFILER): Load global pointer from $27, not $26. e + +Thu Aug 11 13:52:15 1994 Walter Misar (misar@rbg.informatik.th-darmstadt.de) - * 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. + * m68k/hp320.h (NO_DOT_IN_LABEL): Define if HPUX_ASM. - * combine.c (combinable_i3pat): Don't combine if I3DEST is a hard - reg in a non-valid mode. +Thu Aug 11 13:12:12 1994 David Mosberger-Tang (davidm@cs.arizona.edu) -Sat Feb 29 09:14:19 1992 Eric Youngdale (youngdale@v6550c.nrl.navy.mil) + * alpha.h (BLOCK_PROFILER): Use $26 and $27 instead of $0 and $1. - * vms.h (ASM_OUTPUT_COMMON): Use SIZE instead of ROUNDED bytes. - (DO_GLOBAL_CTORS_BODY): Do not call fflush(stdout). +Thu Aug 11 13:09:36 1994 Antti Miettinen (amiettin@trshp.trs.ntc.nokia.com) - * gcc.texi: Update GLOBAL[DEF,REF,VALUE] documentation. + * config/lynx.h (ASM_OUTPUT_SOURCE_LINE): Call assemble_name. - * make-l2.com: Remove call to test_gcc2. +Thu Aug 11 12:57:22 1994 Stephen L Moshier (moshier@world.std.com) -Sat Feb 29 02:52:59 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * expr.c (expand_builtin): Relegate sin and cos to ffast-math. - * cccp.c (main): Rename envvars to CPLUS_INCLUDE_PATH and - OBJCPLUS_INCLUDE_PATH. +Thu Aug 11 12:45:20 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * m68k.h (TRANSFER_FROM_TRAMPOLINE): Use `move', not `mov'. + * flow.c (find_auto_inc): Ensure that all proposed changes to + insns are valid before commiting to the auto-inc. -Fri Feb 28 19:39:09 1992 David J. MacKenzie (djm@wookumz.gnu.ai.mit.edu) + * calls.c (expand_call): Ensure we call force_operand on + structure_value_addr. - * 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. + * configure: Use config.guess to get default value for host, + not target. -Fri Feb 28 13:42:05 1992 Jim Wilson (wilson@cygnus.com) +Thu Aug 11 12:43:24 1994 Robert Wilhelm (Robert.Wilhelm@physik.tu-muenchen.de) - * 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. + * Makefile.in (mostlyclean): Add missing -f. - * 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. +Tue Aug 9 02:02:07 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - * 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. + * pa.md (default set high): Do not accept function label arithmetic + as a valid operand. + (default lo_sum): Likewise. + * pa.c (hppa_legitimize_address): Do nothing with function label + arithmetic. + (emit_move_sequence): Split up function label arithmetic so that + function's address is loaded first, then constant part is added to + the function's address. + (is_function_label_plus_const): New function. - * sparc.c (legitimize_pic_address): Always test reload_completed - in addition to reload_in_progress. +Mon Aug 8 19:57:05 1994 Matthias Pfaller (leo@marco.de) - * sched.c (schedule_block): Don't reorder any USE insns at the end - of a function. Exclude them all from scheduling. + * ns32k.md (all patterns that use ins/inss and ext/exts): + Disallow use of these instructions when -mnobitfield is + specified. + * ns32k.h (TARGET_BITFIELD): New macro. + (TARGET_SWITCHES): Support for TARGET_BITFIELD. + * ns32k/netbsd.h (TARGET_DEFAULT): Added -mnobitfield. + (CPP_PREDEFINES): Added -Dpc532. + (WCHAR_{TYPE, UNSIGNED, TYPE_SIZE}): Changed to match new definition + in NetBSD 1.0. + * ns32k.c (print_operand_address): A patch for 2.5.8 ended up at the + wrong place. Moved. - * 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. +Mon Aug 8 19:42:09 1994 Paul Eggert (eggert@twinsun.com) - * Makefile.in: Correct misc typos in comments or spacing. - (mostlyclean): Update names of files to delete. + * cccp.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)'. - * Makefile.in (install-man): Also install cccp man page. - (uninstall): Also delete cccp man page. Don't delete protoize and - unprotoize man pages twice. +Mon Aug 8 16:32:37 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in (libgcc2.a): Delete unnecessary -fstrength-reduce -O - flags on gcc command lines, superseded by LIBGCC2_CFLAGS. + * fix-header.c (write_rbrac): Set up to use fixed headers + if __USE_FIXED_HEADERS__ is defined. - * Makefile.in (config.status): Verify that file does not exist - before printing an error and failing. Prevents problem with Sun's - KEEP_STATE feature. + * reload1.c (emit_reload_insns): Always clear new_spill_reg_store. -Fri Feb 28 05:15:58 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * reload.c (find_reloads): Force reload for paradoxical SUBREG + of MEM if BYTES_BIG_ENDIAN. - * stmt.c (expand_computed_goto): Call emit_queue. + * m68k/hp320.h (READONLY_DATA_SECTION): Remove definition. - * function.c (assign_parms): Don't generate convert whose operand - is register that is not valid in its mode. + * function.c (expand_function_start): Only use + static_chain_incoming_rtx once if it is a REG and we + have SMALL_REGISTER_CLASSES. - * reload.c (find_reloads_toplev): Don't do anything with paradoxical - SUBREGs if BYTE_LOADS_ZERO_EXTEND. + * local-alloc.c (find_free_reg): Fix typo in last change. + * rs6000.h (CLASS_CANNOT_CHANGE_SIZE): New macro. -Thu Feb 27 09:59:09 1992 Jeffrey A Law (law at b115.super.org) +Sun Aug 7 08:54:42 1994 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 + * regs.h (reg_changes_size): Add declaration. + * flow.c (reg_changes_size): New variable. + (allocate_for_life_analysis): Allocate and initialize it. + (mark_used_regs, case SUBREG): Set it. + * local-alloc.c (qty_changes_size): New variable. + (alloc_qty{,_for_scratch}, update_qty_class): Set it. + (local_alloc): Allocate it. + (find_free_reg): If CLASS_CANNOT_CHANGE_SIZE, avoid its registers + if qty_changes_size. + * global.c (find_reg) If CLASS_CANNOT_CHANGE_SIZE, avoid its + registers if reg_changes_size. + * stupid.c (regs_change_size): New variable. + (stupid_life_analysis): Alloc, init and pass it to stupid_free_reg. + (stupid_mark_regs): Set it. + (stupid_find_reg): New arg, CHANGES_SIZE; avoid regs + in CLASS_CANNOT_CHANGE_SIZE if defined and CHANGES_SIZE nonzero. + * reload.c (push_reload): Make test in LOAD_EXTEND_OP case more + precise; handle CLASS_CANNOT_CHANGE_SIZE. + (find_relods): When setting force_reloads, make LOAD_EXTEND_OP + case more precise. + * alpha.h (CLASS_CANNOT_CHANGE_SIZE): New macro. -Thu Feb 27 06:47:31 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * reload1.c (eliminate_regs, case SUBREG): Add USE of pseudo + so we don't improperly delete an output reload. - * cp-call.c: Move some extern declarations to file level. +Fri Aug 5 15:08:39 1994 Jason Merrill (jason@deneb.cygnus.com) - * emit-rtl.c (init_emit_once): Cast VOIDmode to int in array index. + * expr.c (expand_expr, COND_EXPR case): Use truthvalue_conversion + to make the condition for running cleanups acceptable to + invert_truthvalue. - * reorg.c (mark_target_live_regs): Don't make recursive call if - function being compiled has infinite loop. +Fri Aug 5 12:29:42 1994 Jim Wilson (wilson@cygnus.com) - * cse.c (fold_rtx, case 'o'): New case to support folding LO_SUM. + * expmed.c (expand_mult): Accept DImode for synth_mult only if + CONST_DOUBLE_HIGH is zero. Reject negative values for synth_mult + if the mode is larger than HOST_BITS_PER_INT. Don't do the + negate_variant if the mode is larger than HOST_BITS_PER_INT. - * global-alloc.c (global_alloc): When calling reload, pass the - result of get_insns instead of basic_block_head[0]. +Fri Aug 5 12:23:17 1994 Stephen L Moshier (moshier@world.std.com) - * c-typeck.c (process_init_constructor): Don't check array index - against limits if array bounds weren't specified. + * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Use long instead of + HOST_WIDE_INT. - * gcc.c (link_command_spec): Put back -s. +Fri Aug 5 12:18:18 1994 Kaveh R. Ghazi (ghazi@caip.rutgers.edu) - * gcc.c (find_a_file): Add missing paren in init of file_suffix. + * configure: In subdirectories, make link to include directory. + * Makefile.in (distclean): Delete it. - * i386sun.h (LIB_SPEC): Insert missing blank. +Thu Aug 4 17:21:02 1994 Jason Merrill (jason@deneb.cygnus.com) - * sun386.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Add #undef. + * expr.c (defer_cleanups_to): Put back line which was mistakenly + removed. - * sparc.h (LINK_SPEC): Correct comment. +Wed Aug 3 21:37:31 1994 Doug Evans (dje@cygnus.com) - * sun3.h, i386sun.h (LINK_SPEC): Don't force -Bstatic if -g. + * sparc.c (v9 sparc_builtin_saveregs): Save quadword fp regs on + 16 byte boundaries. Handle non-zero number of named fp args. + * va-sparc.h (v9 va_start): Pass an arg to __builtin_next_arg. + (v9 va_arg): Advance over float's. - * mips-news.h (ASM_SPEC): Add missing "}". +Wed Aug 3 11:10:32 1994 Ian Lance Taylor (ian@mole.gnu.ai.mit.edu) - * Makefile.in (install-native): Don't include install-proto. - (.y.c): Suppress default rule for using Yacc. + * fixincludes: Changes for glibc. In the main loop, don't fix + files which contain the string ``This file is part of the GNU C + Library''. Don't include in if + contains the string ``__need___va_list''. In , don't + change GNUC_VA_LIST to GNUC_DUMMY_VA_LIST. Don't add extern "C" + to if it contains the string ``__BEGIN_DECLS''. Don't + add multiple inclusion protection to or if + they contain the string ``#ifndef''. - * 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. +Tue Aug 2 18:38:46 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * README.SCO: Obsolete file deleted. + * cse.c (simplify_unary_operation): Clean up some mode and + size checks with CONST_DOUBLEs; TRUNCATE should do nothing. -Wed Feb 26 21:23:02 1992 Jim Wilson (wilson@cygnus.com) + * combine.c (subst_prev_insn): Remove variable and all uses. - * 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. +Tue Aug 2 14:42:29 1994 Doug Evans (dje@canuck.cygnus.com) - * 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. + * sparc.h (V9_SWITCHES): Add -mmedlow, -mmedany. + (TARGET_OPTIONS): Delete. + (CONDITIONAL_REGISTER_USAGE): Don't unfix %g4 if -mmedany. + * sparc.c (sparc_code_model): Delete. + (sparc_override_options): Code model flags only useable with v9. - * expr.c (clear_pending_stack_adjust): Check flag_no_inline, not - optimize, to determine whether functions declared inline will be - inlined. + * sparc.h (enum reg_class): New values EXTRA_FP_REGS, + GENERAL_OR_EXTRA_FP_REGS for the v9 case. + (REG_CLASS_NAMES): Likewise. + (REG_CLASS_CONTENTS): Likewise. + (REGNO_REG_CLASS): Handle EXTRA_FP_REGS. + (REG_CLASS_FROM_LETTER): Likewise, as `e'. + Treat `e' like `f' in v8 case. + (FP_REG_CLASS_P): New macro. + (PREFERRED_RELOAD_CLASS): Use it. + (SECONDARY_INPUT_RELOAD_CLASS, SECONDARY_OUTPUT_RELOAD_CLASS, + SECONDARY_MEMORY_NEEDED, CLASS_MAX_NREGS, REGISTER_MOVE_COST): + Likewise. + * sparc.md (all DF/TFmode patterns): Use `e' in contraint field + instead of `f'. - * dbxout.c: Delete all #ifndef DBX_DEBUGGING_INFO stubs. None of - them are needed. +Mon Aug 1 20:05:51 1994 Roland McGrath - * hp800.c, hp800.h: Fix typos in comments. + * config/i386/gnu.h: New file. + * configure (i[34]86-*-gnu*): Deal with this on its own, not like + i[34]86-*-mach*. Use i386/gnu.h and t-libc-ok; set gnu_ld and + gas, and disable fixincludes. -Wed Feb 26 02:39:52 1992 Michael Tiemann (tiemann at rtl.cygnus.com) +Mon Aug 1 19:27:44 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-call.c (build_method_call): If conversion of INSTANCE_PTR - yields error_mark_node, return error_mark_node immediately. + * tree.c (permanent_allocation): When freeing to + momentary_function_firstobj, set momentary_firstobj to be + the next available location (i.e., momentary_function_firstobj). -Tue Feb 25 23:40:01 1992 Mike Stump (mrs at cygnus.com) +Mon Aug 1 18:52:40 1994 Chris Arthur (csa@gnu.ai.mit.edu) - * 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. + * stddef.h: Handle _BSD_WCHAR_T_ like _WCHAR_T_, since + at least BSD/386 1.1 uses the former instead of the latter. + If _BSD_RUNE_T_ is defined, then define rune_t when we define + wchar_t. Test definedness of _GCC_SIZE_T as well as + _GCC_SIZE_T_; likewise for _GCC_PTRDIFF_T and _GCC_WCHAR_T. -Mon Feb 24 00:03:23 1992 Michael Tiemann (tiemann at cygnus.com) +Mon Aug 1 05:20:44 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - * cp-tree.c (build_cplus_new): Set TREE_SIDE_EFFECTS bit on - NEW_EXPR. + * pa-ghpux.h, pa-hpux.h (LINK_SPEC): Any -g argument implies + static linking. - * 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). +Sun Jul 31 17:19:37 1994 Jason Merrill (jason@deneb.cygnus.com) -Sun Feb 23 15:11:27 1992 Michael Tiemann (tiemann at cygnus.com) + * integrate.c (expand_inline_function): Don't fall down trying to + pass things by invisible reference. - * cp-decl2.c (finish_anon_union): Make RTL for ANON_UNION_DECL based - on MAIN_DECL. +Sun Jul 31 06:56:46 1994 Pat Rankin (rankin@eql.caltech.edu) - * cp-decl.c (lookup_tag): Deal with the fact that `clear_anon_tags' - may have been run. + * cccp.c (my_strerror): New function. + (error_from_errno, perror_with_name): Use it. - * cp-decl.c (cplus_expand_expr_stmt): Give line number for usage - whcih incurs warning message. +Sat Jul 30 12:59:01 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sat Feb 22 02:09:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fold-const.c (fold_truthop): Apply masks to constants. - * Version 2.0 released. + * print-tree.c (print_node{,_brief}): Use correct printf code to + print INTEGER_CST if HOST_WIDE_INT is wider than int. - * 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. + * expmed.c ({store,extract}_bit_field): Don't use bitfield insn + if OP0 is register and bitfield spans it. - * i386mach.h (perform_*): New macros, copied from i386rose.h. + * m88k.c (arith64_operand): Integer CONST_DOUBLE is not DImode. + * sparc.c (reg_or_0_operand): Likewise. + * ns32k.c, pa.c (print_operand): Likewise. + * fx80.h, gmicro.h, ns32/{genix,merlin}.h (PRINT_OPERAND): Likewise. + * m68k/crds.h, m68k/news.h, pyr.h (PRINT_OPERAND): Likewise. - * 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. + * alpha.h (CASE_VECTOR_PC_RELATIVE): Define. + (ASM_OUTPUT_ADDR_VEC_ELT): Abort. + (ASM_OUTPUT_ADDR_DIFF_ELT): Now what used to be previous definition. + * alpha.md (tablejump): Rework to look like normal add but verify + that label is for next insn and is tablejump; look for ADDR_DIFF_ELT. + * cse.c (fold_rtx, case MEM): Surround TRUNCATE for jump table + entry with a CONST. + (fold_rtx, case '1'): Handle operand 0 of a CONST. + (fold_rtx, case PLUS): Handle (const (minus (label_ref) (label_ref))). - * expr.c (do_store_flag): Don't correct CODE before where it is set. +Fri Jul 29 19:27:17 1994 Lee Iverson (leei@ai.sri.com) - * cp-parse.y (stmt): Pass pushcase_range all the args it wants. + * c-decl.c (finish_decl): Preserve initialializer if iterator. -Fri Feb 21 18:14:52 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Fri Jul 29 19:07:23 1994 Hallvard B Furuseth (h.b.furuseth@usit.uio.no) - * 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. + * libgcc2.c: Add declaration of ctime. + * bc-emit.c (bc_sym_write): Change %d to %lu in printf calls. + * fix-header.c (write_{l,r}brac): Specify return type of int. + * tree.c (change_main_variant): Return type now void. + * varasm.c (bc_output_constructor): Return type now rtx. -Fri Feb 21 16:47:32 1992 Michael Meissner (meissner@osf.org) +Fri Jul 29 18:33:48 1994 Ken Duda (kjd@cache.crc.ricoh.com) - * 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. + * c-typeck.c (build_unary_op, case *INCREMENT_EXPR): + Add size in bytes, not value of sizeof. - * 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. +Fri Jul 29 17:36:38 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * function.c (expand_function_start): Initialize VALUE_ADDRESS. - * encrose.h (PTRDIFF_TYPE): Change to 'int' to match current include - files. - (WCHAR_TYPE): Change to 'unsigned int' to match include files. + * romp.md (tst?f): Use CONST0_RTX instead of incorrect call + to immed_real_const_1. - * 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. + * expr.c (move_block_to_reg): Do nothing if NREGS == 0. - * halfpic.h (new file): Common include file for systems needing the - OSF/rose half-pic shared library support. +Fri Jul 29 17:17:18 1994 Tom Tromey (tromey@busco.lanl.gov) - * halfpic.c (new file): Common support file for systems needing the - OSF/rose half-pic shared library support. Currently these are stub - functions. + * cccp.c (special_symbol, do_xifdef): Don't access value.defn + of a T_CONST. -Fri Feb 21 01:34:08 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Jul 28 17:19:32 1994 Jason Merrill (jason@deneb.cygnus.com) - * 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. + * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Reverse order of execution + of constuctor lists. + * config/svr3.h (DO_GLOBAL_CTORS_BODY): Ditto. - * dwarfout.c (output_mem_loc_descriptor): Handle CONST like SYMBOL_REF. + * libgcc2.c (__do_global_dtors): Reverse order of execution of + destructor lists. - * collect2.c (errno): Declare if not macro. +Thu Jul 28 19:56:30 1994 Jim Pendergraft (jimp@dg-rtp.dg.com) - * dbxout.c [MIPS]: Include gstab.h, not stab.h. + * dwarfout.c (output_decl, case FUNCTION_DECL): Corrected + and simplified code that determined when to generate + varargs or ANSI stdargs variable length parameter list + DWARF information. - * dbxout.c (dbxout_symbol): No longer flush leading _ for C++ syms. +Thu Jul 28 19:38:57 1994 Andreas Schwab (schwab@issan.informatik.uni-dortmund.de) - * cp-parse.y (.hush_warning): Set $$. + * m68k.md (extv, extzv): In patterns that will use movb and + movw, ensure size is 8 or 16. - * gstdarg.h: Handle _HIDDEN_VA_LIST as in gvarargs.h. +Thu Jul 28 19:28:31 1994 David Robinson (drtr@mail.ast.cam.ac.uk) -Thu Feb 20 07:41:29 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * expr.c (expand_expr, case CONJ_EXPR): Use correct mode for + parts of a complex expression. - * 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. + * optabs.c (expand_binop, case MULT [complex]) Fix typo. - * caller-save.c (set_reg_live): Use mode of SUBREG to see how many - hard regs are written. +Thu Jul 28 19:21:38 1994 Uwe Seimet (seimet@chemie.uni-kl.de) - * combine.c (simplify_shift_const, case IOR, AND, XOR): Perform - logic computation in RESULT_MODE, not mode of VAROP. + * am68k/atari.h (FUNCTION_VALUE): New override. -Wed Feb 19 18:32:05 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Thu Jul 28 17:27:38 1994 Paul Eggert (eggert@twinsun.com) - * hp320.h (PRINT_OPERAND): Support codes '$' and '&'. + * Makefile.in (c-lex.o, distdir-start): + Depend on $(srcdir)/c-gperf.h, not c-gperf.h. - * reload1.c (reload): Add cast of enum in index. +Thu Jul 28 15:14:33 1994 Oliver Kellogg (okellogg@salyko.cube.net) - * vms.h (CPP_PREDEFINES): Define __GNUC__ as 2. + * m1750.inc (DNR.M): Add missing macro. -Wed Feb 19 21:43:36 1992 Ron Guilmette (rfg at ncd.com) +Thu Jul 28 13:02:56 1994 Kresten Krab Thorup (krab@akvavit) - * 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. + * objc/misc.c (__objc_xcalloc): Remove declaration of bzero. -Tue Feb 18 18:34:13 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) +Thu Jul 28 07:29:52 1994 Markus Wild (mw@eunet.ch) - * 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. + * c-common.c (decl_attributes): Correct string check for "format" + to include unsigned and signed char. - * sched.c (schedule_block): Comment code handling USE insns as - obsolete. +Thu Jul 28 07:11:36 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Feb 18 14:44:49 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * reload1.c (compare_spill_regs): Simplify and return zero if + registers are the same. - * 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. + * c-decl.c (finish_struct): Don't look at alignment of error_mark_node. - * g++: Now a link to c++. + * combine.c (try_combine): Don't make a MULT if none of the insns + in our input had one. -Tue Feb 18 04:54:52 1992 david d [zoo] zuhn (zoo at lynx.spa.umn.edu) +Wed Jul 27 19:06:53 1994 R Bowler (rbowler@cix.compulink.co.uk) - * protoize.c (main): added support for -p flag, to specify which - gcc is the one to call for -fgen-aux-info support. + * i370/mvs.h (ASM_OUTPUT_ASCII): Fix bug when first character + of string constant is single quote. -Tue Feb 18 07:29:23 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Wed Jul 27 22:44:32 1994 Jason Merrill (jason@deneb.cygnus.com) + + * m68k/next.h: #undef PCC_STATIC_STRUCT_RETURN. - * combine.c (try_combine): Don't clobber OTHER_INSN's PATTERN if - we aren't able to change the insn. + * alpha/alpha.h: #define NO_IMPLICIT_EXTERN_C. - * romp.md (bit_insv): Add missing CLOBBER when making pattern to - match mftb; likewise for the DEFINE_INSN. +Wed Jul 27 14:06:37 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Feb 18 01:03:41 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * expmed.c (expand_mult): Properly set ADD_TARGET for add_variant. - * rs6000.h (bss_section): Set `in_section' correctly. + * alpha.h (INITIAL_ELIMINATION_OFFSET): Properly compute offset + between AP and SP when get_frame_size and + current_function_pretend_args_size are not a multiple of 16 bytes. - * expmed.c (synth_mult): Count second shift for alg_compound. - Count extra shift for lea case. - * m68k.h (RTX_COSTS): Reduce cost of multiply. + * expmed.c (expand_divmod): Don't make REG_NOTE if last insn's + destination isn't QUOTIENT. - * function.c (instantiate_decls): Instantiate DECL_INCOMING_RTL. +Tue Jul 26 19:45:54 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Mon Feb 17 19:17:50 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * expr.c (expand_expr, case ARRAY_REF): Don't fold L"foo"[2]. - * a29k.md (divmodsi4, udivmodsi4): Don't use reg 180 explicitly. - Instead use 'q' constraint letter. +Tue Jul 26 14:10:52 1994 Per Bothner (bothner@kalessin.cygnus.com) -Mon Feb 17 16:15:02 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config.sub: Refer to NeXT's operating system as nextstep. - * global-alloc.c (global_alloc): Always call `reload'. +Tue Jul 26 13:50:37 1994 Jim Wilson (wilson@cygnus.com) -Mon Feb 17 10:38:38 1992 Jim Wilson (wilson at sphagnum.cygnus.com) + * c-typeck.c (process_init_element): Do not call push_init_level + if the value is error_mark_node. - * a29k.md (movdi define_split): Use DImode in operand_subword - calls, not DFmode. + * iris5.h (NO_IMPLICIT_EXTERN_C): Define. -Mon Feb 17 08:20:33 1992 Michael Tiemann (tiemann at mole.gnu.ai.mit.edu) +Mon Jul 25 00:20:36 1994 Chris Arthur (csa@gnu.ai.mit.edu) - * varasm.c (assemble_external): Check that DECL is some sort of - _DECL before referencing its DECL_RTL. + * configure (canon_target): add cases to recognize BSD/386 + specifically, so we can use a tm_file that will cause __bsdi__ + to get defined (since emacs, among other things, needs it). -Sun Feb 16 13:05:36 1992 Michael Tiemann (tiemann at cygnus.com) + * config/i386/bsd386.h: New. Use 386bsd.h, and just override + CPP_PREDEFINES (add -Dbsdi) and WCHAR stuff. - * 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). +Sat Jul 23 16:30:12 1994 Kaveh R. Ghazi (ghazi@caip.rutgers.edu) - * cp-lex.c (do_identifier): Remove call to `assemble_external' when - implicitly declaring ID. + * fixinc.svr4: Change i860 in #if to __i860__, as with other CPUs. - * cp-parse.y (primary): Simplify rules for calling assemble_external. +Fri Jul 22 14:33:59 1994 Doug Evans (dje@cygnus.com) - * cp-decl.c (finish_function): For destructors, don't call - expand_expr_stmt if EXPRSTMT is VOID_ZERO_NODE. + * h8300.md (andhi3, iorhi3, xorhi3): Change constraint on + operand 2 from `i' to `n'. -Sun Dec 16 23:31:54 1992 Ron Guilmette (rfg at ncd.com) +Fri Jul 22 09:30:39 1994 DJ Delorie (dj@ctron.com) - * 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. + * configure.bat: move code to config/msdos/* (simplification) -Sun Feb 16 00:54:10 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/msdos/configure.bat [new file]: moved most processing + here so that as things get more complicated with the language + breakouts, the top directory won't get too messy. Sed script + broken out to simplify processing and avoid quoting errors. + * config/msdos/top.sed [new file]: sed script to change Makefile.in + to Makefile in top directory (currently used for cp directory also) + sed commands changed to handle language breakout - * fixincludes: Add #ifndef around size_t declaration in types.h. + * gcc.c (pexecute): use spawn*() for djgpp to ensure that quotes + are properly preserved. Response file code left for 16-bit + compilers, which can't handle the long command lines that gcc + may generate. - * varasm.c (assemble_external): Do nothing if arg isn't a decl. + * config/i386/go32.h: define NO_IMPLICIT_EXTERN_C. - * Makefile.in (cp-parse.c): Update "expect" msg. +Thu Jul 21 23:19:03 1994 Steve Chamberlain (sac@wombat.gnu.ai.mit.edu) - * next.h (CPP_SPEC): Rename -bsd to -strict-bsd. + * sh/sh.h (TARGET_SWITCHES, PACKSTRUCT_BIT, STRUCTURE_SIZE_BOUNDARY): + parse and handle new option. + (LEGITIMATE_CONSTANT_P): LABEL_REFs are no longer illegal. + (WCHAR_TYPE, WCHAR_TYPE_SIZE): New definitions. + (HANDLE_PRAGMA): Has return. - * Makefile.in (mostlyclean): Add ld, mips-tfile, mips-tdump. + * sh/sh.c (add_function, seen_function): Experimental code to + generate bsrs. + (handle_pragma): Return final char. + (expand_acall): Handle TARGET_BSR. + (general_movdst_operand, general_movsrc_operand): Allow ok + autoinc/dec. + (bsr_operand): New function. + (fixit): Need to fix LABEL_REFs. - * protoize.c (directory_specified_p): Don't match files in subdirs. + * sh/sh.md (addc): Simplify. + (adddi3, subdi3, negdi3): Use operand_subword. + (subc, negc): New pattern. + (shifts): Fix constraints. - * xm-rs6k-m.h: Renamed from xm-rs6000-mach.h. - * configure (rs6000-*-mach*): Changed accordingly. +Thu Jul 21 17:59:43 1994 Jim Wilson (wilson@cygnus.com) - * 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. + * objc-act.c (build_module_descriptor): Don't set DECL_EXTERNAL on + current_function_decl. - * Makefile.in (install-collect2): Install gcc in libsubdir. + * combine.c (simplify_rtx): For (not (xor X C)) generate new rtx + instead of modifying old rtx. -Sat Feb 15 15:26:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-decl.c (start_function): If old_decl is NULL, then set it to + the implicit decl if any. Delete superfluous test from warn missing + prototypes code. For warn missing declarations code, only warn if + previous decl is implicit. - * varasm.c (decode_reg_name): Empty string is not a reg number. +Thu Jul 21 17:47:05 1994 Paul Eggert (eggert@twinsun.com) - * fold-const.c (merge_component_references): NE tests against - mismatched constants forces 1, not 0, as value. + * fold-const.c (fold): Don't fold X-X to 0 if X is floating point + and !flag_fast_math. - * i386gas.h (ASM_OUTPUT_OPCODE): Convert repz to repe. +Thu Jul 21 02:07:45 1994 Charles Levert (charles@comm.polymtl.ca) - * 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. + * Makefile.in (stmp-multilib): Rework to handle make -n. + (stmp-multilib-sub): New target. - * cp-typeck.c (default_conversion): Don't use initial value if BLKmode. +Tue Jul 19 23:14:42 1994 Larry Jones (larry.jones@sdrc.com) - * objc-actions.c (finish_objc): Fix typos in last change. + * configure (i[34]86-*-isc*): Treat isc4 like isc3. + Remove references to nonexistant files and add extra_parts + when needed. + (i[34]86-*-solaris2*): Remove reference to nonexistant + t-sco and use extra_parts instead. + (i[34]86-*-sysv*, i860-*-sysv3*, m68k-*-sysv3*, m68k-ncr-sysv*): + Replace t-svr3 with extra_parts. - * c-aux-info.c, dbxout.c, cccp.c (errno): Declare, if not a macro. +Tue Jul 19 20:31:34 1994 Doug Evans (dje@cygnus.com) - * i386.md (QI bit test recognizer): Split into separate patterns - for memory and register args. Make a scratch reg for memory. + * configure (find lang subdirs loop): Try to work around an + apparent bug in bash 1.12 on linux. -Fri Feb 14 23:39:58 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Makefile.in (clean): Remove multilib build dirs. - * tree.c (get_identifier): Improve -Wid-clash message. + * h8300.c (print_operand, default case): Handle SFmode regs. -Fri Feb 14 16:22:48 1992 Michael Collison (collison at osf.org) +Mon Jul 18 22:02:53 1994 Jim Wilson (wilson@cygnus.com) - * 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. + * sparc.c (call_operand): Use symbolic_operand not CONSTANT_P. + (call_operand_address): Likewise. + * sparc.md (call*): Use symbolic_operand not immediate_operand. + Use 's' constraint not 'i' constraint. -Fri Feb 14 00:38:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * toplev.c (rest_of_compilation): Clear DECL_ABSTRACT_ORIGIN if + clear DECL_INLINE. - * Makefile.in (protoize.o, unprotoize.o): g++-include is under libdir. + * global.c (find_reg): Store divide results in temporary variables. - * Makefile.in (enquire.o): Make the command one long line. + * gcc.c (process_command): When have -BstageN option, pass include + not stageN/../include to preprocessor. - * 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. +Mon Jul 18 21:58:27 1994 Torbjorn Granlund (tege@tiny.cygnus.com) - * varasm.c (assemble_external): Test TREE_EXTERNAL. + * loop.c (move_movables): Aviod lossage when CALL_INSN_FUNCTION_USAGE + is NULL. - * jump.c (follow_jumps): If can't find chain end, return orig label +Mon Jul 18 20:53:54 1994 Ian Lance Taylor (ian@cygnus.com) - * mot3300.h (PRINT_OPERAND): Always print 16 hex digits for a double. + * fixincludes: Rework required loop to avoid crash on decstation. - * 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. +Thu Jul 14 09:42:23 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cccp.c (pedwarn_with_file_and_line): Handle -w, -W. + * Version 2.6.0 released. -Fri Feb 14 07:44:08 1992 James Van Artsdalen (james at bigtex.cactus.org) + * explow.c (force_reg): Don't make a REG_EQUAL note for an insn + that doesn't set TEMP. - * 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. +Wed Jul 13 17:00:35 1994 Torbjorn Granlund (tege@rtl.cygnus.com) - * i386.c (seq,sne,beq,bne): These opcodes use the state of - cc_status from before the curren insn. + * expmed.c (expand_divmod, case CEIL_DIV_EXPR): + Handle emit_store_flag returning 0. - * reg-stack.c (stack_reg_mentioned_p): Don't make static. +Wed Jul 13 16:35:57 1994 Jim Wilson (wilson@cygnus.com) -Fri Feb 14 06:27:48 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * expr.c (store_field): Set MEM_IN_STRUCT_P on object and + blk_object. - * jump.c (jump_optimize): Disable "if (...) {... x = C;} if (x) ..." - optimization; there doesn't seem to be a way to fix it. +Wed Jul 13 08:40:11 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Feb 13 18:06:06 1992 James Van Artsdalen (james at bigtex.cactus.org) + * Makefile.in (distdir-start): Make tmp/ginclude and copy its files. + (distdir-finish): Don't use -f Makefile.in. + (gcc.xtar.gz): Add --best. - * 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. + * fold-const.c (decode_field_reference): Merge operand of + a BIT_AND_EXPR with the mask made from the description of the field. -Thu Feb 13 17:21:26 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fold-const.c (fold, case MULT_EXPR): Remove last change. - * c-decl.c (finish_struct): Use pedwarn for pedantic warning. - (grokdeclarator): Likewise. - * c-parse.y (component_decl_list2): Likewise. +Wed Jul 13 07:12:32 1994 Torbjorn Granlund (tege@adder.cygnus.com) -Thu Feb 13 22:11:36 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * xm-pa.h, xm-pahpux.h, xm-pahiux.h (USE_C_ALLOCA): Define. - * combine.c (make_extraction): Default modes to byte and register - size, as appopriate, when the bitfield insn doesn't exist. +Wed Jul 13 03:30:36 1994 Jason Merrill (jason@deneb.cygnus.com) - * a29kunix.h (LINK_SPEC): Pass default option file to gld. - (LINK_LIBGCC_SPECIAL): Define to work around gld bug. + * tree.h (TYPE_NEEDS_CONSTRUCTING): New macro. + (tree_type): Add needs_constructing_flag. + * function.c (assign_parms): If TYPE_NEEDS_CONSTRUCTING, pass by + invisible reference. + * calls.c (expand_call): Ditto. - * explow.c (copy_to_suggested_reg): Try getting mode from TARGET. +Wed Jul 13 06:49:05 1994 Simon Cooper (scooper@hardees.rutgers.edu) - * 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. + * objc/Object.m: Include stdarg.h before stdio.h. - * 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. +Tue Jul 12 21:31:59 1994 Jim Wilson (wilson@cygnus.com) - * a29k.c (output_prologue): Correctly set LR1 when more than 64 - registers are needed. + * c-decl.c (pushdecl): Don't call lookup_name_current_level_global + when traditional. When doing checks against + IDENTIFIER_LIMBO_VALUE, also do check against + INDENTIFIER_GLOBAL_VALUE when traditional. -Wed Feb 12 22:22:46 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + * final.c (getpwd): Declare. - * make-cccp.com: Define link as a local symbol to avoid - possible conflict with a user defined global symbol. +Tue Jul 12 16:24:10 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - * make-cc1.com: Likewise. + * pa.h (GO_IF_LEGITIMATE_ADDRESS): Only allow immediate addressing + using 5 bits to avoid losing with FP loads and stores on page zero. -Thu Feb 13 11:05:07 1992 Michael Meissner (meissner at osf.org) +Tue Jul 12 16:20:09 1994 David Edelsohn (edelsohn@npac.syr.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. + * rs6000.md (ashlsi3, lshrsi3, ashrsi3): Only output low-order five + bits for !TARGET_POWER case. -Thu Feb 13 01:15:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Jul 12 13:06:14 1994 Jim Wilson (wilson@cygnus.com) - * cccp.c (skip_if_group): Skip comments after the #. + * combine.c (record_dead_and_set_regs_1): Can only handle SUBREG + if the register is smaller or equal to BITS_PER_WORD. - * cccp.c (macarg): Don't assume stringify will compress spaces. - (macroexpand): In stringify, compress space only outside tokens. + * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Define. - * cexp.y (exp1): Use pedwarn for comma in #if. + * final.c (end_final): Store full path name in .d file not just + the filename. - * cp-decl.c (push_binding_level, pop_binding_level): - Change `inline' to `__inline'. + * README.IRIX5: New file. - * combine.c (make_compound_operation): Undo previous change. +Tue Jul 12 10:55:14 1994 Michael Meissner (meissner@osf.org) -Wed Feb 12 18:47:47 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * i386/osfrose.h (CC1_SPEC): If both -pic-extern/-pic-lib and + -pic-none, use -pic-extern win, instead of -pic-none. - * 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. + * i386/osfelf.h (CC1_SPEC): Ditto. -Wed Feb 12 18:58:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Jul 12 09:08:06 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * gcc.c (do_spec_1): Only absolute prefixes turn into -L's. - (link_command_spec): Handle LINK_LIBGCC_SPECIAL. + * reload.c (find_reloads): Don't try to call force_const_mem on + a HIGH. -Wed Feb 12 18:38:29 1992 Chris Smith (csmith at convex.com) + * fold-const.c (fold, case MULT_EXPR): If arg is an unsigned + CEIL_DIV_EXPR, convert to TRUNC_DIV_EXPR of a PLUS_EXPR in some cases. - * 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). + * alpha.md (ashldi3): Update pattern for (sign_extend (ashift ..)) + to match the current canonicalization. -Wed Feb 12 17:23:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * explow.c (round_push, allocate_dynamic_stack_space): Avoid + using CEIL_DIV_EXPR; add adjustment and use TRUNC_DIV_EXPR instead. - * config.sub: Accept just `hppa' for machine. +Tue Jul 12 08:12:04 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) - * Makefile.in (Install-collect2): New target. + * dbxout.c (dbxout_source_file): Increment source_label_number outside + of macro expansion. -Wed Feb 12 13:55:24 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * arm.c (reversible_cc_register): New function. + (final_prescan_insn): Don't try to conditionalize jumps with JUMP_CLOB + attribute. + * arm.h (PREDICATE_CODES): Add reversible_cc_register. + * arm.md (matcher for SFmode inequality comparison): Use cmfe, not cfm. + (matchers for {store-flag, not-store-flag, neg-store-flag}): Output + if-false instruction first before if-true instruction. + (matcher for (AND store-flag x)): Only match if reversible_cc_register. + (matcher for (IF-THEN-ELSE reg (NOT reg))): Likewise. - * reorg.c (relax_delay_slots): Don't convert jump to return here. + * arm.h (FRAME_POINTER_REQUIRED): Always true if the function has + nonlocal labels. + * arm.md ({save,restore}_stack_nonlocal): Delete. - * 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. +Mon Jul 11 19:29:15 1994 Oliver Kellogg (okellogg@salyko.cube.net) - * reload.c (find_reloads): Don't use class from preference if it - is a single-register class. + * machmode.def (TQFmode): New mode. + * expr.c (convert_move): Add some conversions for TQFmode. + * varasm.c (assemble_real): Handle TQFmode output. + * config.sub (basic_machine): Add 1750a. + * configure (1750a-*-*): New configuration. + * 1750a.c, 1750a.h, 1750a.md, m1750a.inc: New files. -Wed Feb 12 13:03:16 1992 Tom Wood (wood at dg-rtp.dg.com) +Mon Jul 11 18:38:42 1994 Doug Evans (dje@cygnus.com) - * m88k.h (FUNCTION_BOUNDARY, ASM_OUTPUT_ALIGN): Pack code tightly - when compiling crtstuff.c (flag_inhibit_size_directive). + Add support for the h8/300h cpu. + * config/h8300/lib1funcs.asm: New file. + * h8300/t-h8300 (CROSS_LIBGCC1): Use libgcc1-asm.a. + (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA, MULTILIB_OPTIONS, + MULTILIB_DIRNAMES, LIBGCC, INSTALL_LIBGCC): Define. + (fp-bit.c): Build it. + * h8300/h8300.h (CPP_PREDEFINES, CPP_SPEC, LIB_SPEC, TARGET_SWITCHES, + BITS_PER_WORD, MAX_BITS_PER_WORD, UNITS_PER_WORD, MAX_UNITS_PER_WORD, + POINTER_SIZE, PARM_BOUNDARY, BIGGEST_ALIGNMENT, + BIGGEST_FIELD_ALIGNMENT, STACK_BOUNDARY, HARD_REGNO_NREGS, + HARD_REGNO_MODE_OK, REG_CLASS_NAMES, REG_CLASS_CONTENTS, + REGNO_REG_CLASS, PUSH_ROUNDING, FUNCTION_ARG_ADVANCE, + TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE, + CONSTANT_ADDRESS, MOVE_MAX, Pmode, SIZE_TYPE, PTRDIFF_TYPE): + Add h8/300h support. + (LINK_SPEC, TARGET_RTL_DUMP, TARGET_H8300, TARGET_H8300H, + REAL_ARITHMETIC, SETUP_INCOMING_VARARGS, HAVE_POST_INCREMENT, + HAVE_PRE_DECREMENT, MAX_MOVE_MAX, NO_BUILTIN_SIZE_TYPE, + NO_BUILTIN_PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE, + MAX_WCHAR_TYPE_SIZE, ASM_WORD_OP, INIT_SECTION_ASM_OP, + CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, EXTRA_SECTIONS, + EXTRA_SECTION_FUNCTIONS, ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR, + DO_GLOBAL_CTORS_BODY, DO_GLOBAL_DTORS_BODY, INIT_TARGET_OPTABS): + Define. + (CAN_DEBUG_WITHOUT_FP, PCC_STATIC_STRUCT_RETURN, STRUCT_VALUE_REGNUM, + STRUCT_VALUE_INCOMING, STRUCTURE_SIZE_BOUNDARY): Undefine. + (enum reg_class): Add h8/300h support. + (emit_a_shift): Declare. + (TARGET_DEFAULT): Set default to -mquickcall. + (DOUBLE_TYPE_SIZE): Fix at 32. DFmode support doesn't exist. + (CALL_USED_REGISTERS, REG_ALLOC_ORDER): Swap registers 2,3 with 4,5. + Registers 0,1 contain function result, allocate after 2,3. + (STATIC_CHAIN_REGNUM): Use reg 4. + (CONST_OK_FOR_LETTER_P): 'O' is ok_for_bclr, 'P' is small_power_of_two. + (FUNCTION_PROFILER, FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): First + attempt at an implementation. + (CONST_COSTS): Move code into function const_costs. + (BRANCH_COST): Set to 0. + (NOTICE_UPDATE_CC): Move code into function notice_update_cc. + (ASM_FILE_START): Move code into function asm_file_start. + (ASM_FILE_END): Move code into function asm_file_end. + (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Use REAL_VALUE_TO_DECIMAL. + * h8300/h8300.c (cpu_type, names_extended, names_upper_extended, + h8_reg_names, h8_push_ops, h8_pop_ops, h8_mov_ops, h8_push_op, + h8_pop_op, h8_mov_op, current_function_anonymous_args, extra_pop, + hand_list): New variables. + (h8300_init_once, asm_file_start, asm_file_end, ok_for_bclr, o_operand, + p_operand, call_insn_operand, jump_address_operand, bit_operand, + eq_operator, const_costs, notice_update_cc, bit_operator, + nshift_operator, expand_a_shift, get_shift_alg, emit_a_shift, + fix_bit_operand): New functions. + (shift_alg, shift_type, shift_mode): New enums. + (shift_insn): New struct. + (shift_n_bits, can_shift): Deleted. + (shift_one, rotate_one): New variables. + (WORD_REG_USED): New macro (was function word_reg_used). + (dosize, function_prologue, function_epilogue, print_operand_address): + Add h8/300h support. + (small_power_of_two): Renamed from potl8. + (potg8): Deleted. + (general_operand_src): Fix POST_INC case. + (general_operand_dst): Fix PRE_DEC case. + (function_arg): 3 regs of args are passed if -mquickcall. + 4 regs of args are passed to handwritten assembler routines. + (print_operand): New cases 'A', 'P', 'S', 'U', 'W', 'b', 'c', 'd', 'g'. + Delete case 'O'. Sort cases. Add h8/300h support. + (do_movsi): Renamed from domovsi. + Handle reload_in_progress and reload_completed. + (initial_offset): Renamed from io. Add h8/300h support. + * h8300/h8300.md (cpu): New attribute. + (attribute length): Add h8/300h support. + (attribute cc): New value `cbit'. + (all anonymous insns): Give them names. + (move insns): Add h8/300h support. + (tstqi, tsthi): Use btst insn if able. + (arithmetic insns): Add h8/300h support. + (boolean insns): Likewise. + (negate insns): Likewise. + (branch insns): Likewise. + (call_value): Use call_insn_operand for operand 1. + (shift insns): Completely rewritten. Add h8/300h support. + (zero/sign extension insns): Add h8/300h support. + (extv): Deleted. + (insv, extzv): Only use for h8/300. + (bitfield insns): Completely rewritten. + (fancyb*): New insns for speeding up bit accesses. -Wed Feb 12 10:34:09 1992 Michael Meissner (meissner at osf.org) + * optabs.c (init_optabs): Allow target specific libcalls + with INIT_TARGET_OPTABS. - * 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. +Mon Jul 11 18:32:42 1994 Steve Chamberlain (sac@cygnus.com) -Wed Feb 12 10:34:09 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * config/fp-bit.c: New file. Provides simple fp emulation library. - * caller-save.c (insert_save_restore): Properly check for insns that - reference CC0. +Mon Jul 11 18:27:42 1994 Ian Lance Taylor (ian@cygnus.com) -Wed Feb 12 03:17:00 1992 Chris Smith (csmith at convex.com) + * Makefile.in (libgcc1-asm.a): New target for building libgcc1.a + in cross compilers. - * convex.h (DEFAULT_CALLER_SAVES): don't define, to sidestep a bug. - * convex.md (ffssi2): Comment out. +Mon Jul 11 17:00:45 1994 David Edelsohn (edelsohn@npac.syr.edu) -Wed Feb 12 00:08:42 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + * rs6000.md (movsi matcher): Add nop for moving special register + to itself for !TARGET_POWER. + (movhi and movqi matcher): Likewise and add mtjmpr attribute. + Separate MQ from CTR and LR target registers for TARGET_POWER. - * make-libgcc2.com: Do not save .s file. + * powerpc.h (CPP_SPEC): Fix typo. - * vms.h: Wrap #include in #ifdef L__main/endif +Mon Jul 11 16:50:29 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Feb 11 21:58:42 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + * c-parse.in (stmt): Don't give more than one error message if a + nested `if' has an empty body. - * libgcc2.c (DO_GLOBAL_DTORS_BODY): New macro. + * a29k.md (movqi): Call loadhi, not loadqi. - * make-l2.com: New file to build libgcc2 on VMS. +Mon Jul 11 16:46:09 1994 Jeffrey A. Law (law@mole.gnu.ai.mit.edu) - * vms.h (DO_GLOBAL_CTORS_BODY): Replacement definition. + * pa.h (DEBUGGER_ARG_OFFSET): Define. If no frame pointer + is available, then adjust the offset by the size of the + current frame. - * vms.h (DO_GLOBAL_DTORS_BODY): Likewise. +Mon Jul 11 16:34:14 1994 Stan Shebs (shebs@andros.cygnus.com) - * make-cccp.com: Define bison and rename as local symbols to avoid - possible conflict with user defined global symbols. + * configure (*-*-lynxos*): Always run fixincludes, and if not using + gas, set tm_file to lynx-ng.h. + * config/x-lynx: Always run fixproto. + * config/lynx.h, i386/lynx.h, m68k/lynx.h, sparc/lynx.h: Rewrite + to work with gas producing coff files. + * config/lynx-ng.h, i386/lynx-ng.h, m68k/lynx-ng.h, + sparc/lynx-ng.h: New files. -Tue Feb 11 22:17:32 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Mon Jul 11 15:16:28 1994 Pat Rankin (rankin@eql.caltech.edu) - * sched.c (attach_deaths): Don't treat PIC offset table register - specially; flow.c doesn't. + * make-cc1.com: Compile most of cc1plus in the `cp' subdirectory. + * vmsconfig.com: When setting up tm.h, convert "vax/vax.h" into + "config-vax.h" rather than "[.config.vax]vax.h" for #include so + it will work from [.cp] subdirectory; copy vax.h to config-vax.h + as part of configuration setup. Also, manually include cc1plus + in the list of buildable compilers (a temporary measure; it + should process cp/Makefile.in like it does for primary makefile). - * combine.c (make_compound_operation, case AND): We can have - a (and (subreg (lshiftrt ..) ..) ..); handle same as without SUBREG. - - * 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. + * make-cc1.com: Use `=' rather than `:=' when setting up CC, + so that `gcc' can be defined as a foreign command if necessary; + eliminate `set symbol/scope=noGlobal' for same reason; use `=' + with all other symbols, for consistency; add explicit .obj + extension to some lists of object files passed to the linker; + general cleanup of the command text echoed during execution. + * make-cccp.com: Revise to be more consistent with make-cc1.com + for symbol setup & usage and for echoing command execution. -Tue Feb 11 21:32:07 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Jul 11 15:03:23 1994 Charles Hannum (mycroft@duality.gnu.ai.mit.edu) - * Makefile.in (install-common-headers): Copy byteorder.h to - compilation dir. + * configure: Recognize m68k-*-netbsd* and i[345]86-*-netbsd*. + * cccp.c, collect2.c, gcc.c, protoize.c, cp/g++.c (sys_errlist) + [bsd4_4]: Do this for __NetBSD__ also. - * config.sub: Allow unicos as operating system. +Mon Jul 11 14:16:28 1994 Kresten Krab Thorup (krab@spiff.gnu.ai.mit.edu) - * m88kv4.h (INIT_SECTION_ASM_OP): Add #progbits. + * mips/mips.h (STRUCT_VALUE): Change definition from `(rtx)0' to + just `0' so it is a valid expression for the pre-processor. - * vax.h (DYNAMIC_CHAIN_ADDRESS): New macro. +Mon Jul 11 10:54:35 1994 Stan Cox (coxs@dg-rtp.dg.com) - * c++: Propagate quoted args properly. + * configure (m88k-dg-dguxbcs): New configuration. m88k-dg-dgux + Now builds an elf compiler. Both targets will create bcs or elf. -Tue Feb 11 16:35:01 1992 Jim Wilson (wilson at cygnus.com) + * m88k/dgux.h (ASM_SPEC,STARTFILE_SPEC,LIB_SPEC): svr4 default. - * fixincludes: Define TERM to `unknown', to ensure that it is - valid. Otherwise, ex may fail. - * fixinc.svr4: Likewise. + * m88k/dguxbcs.h (ASM_SPEC,STARTFILE_SPEC,LIB_SPEC): + New target for svr3. -Tue Feb 11 18:04:32 1992 Michael Meissner (meissner at osf.org) + * m88k/x-dgux, m88k/t-dgux, m88k/x-dguxbcs: + Changed for svr4/svr4/svr3 respectively. - * 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. + * m88k/m88k.h (TARGET_SVR3): New target switch. - * decstatn.h (CPP_PREDEFINES): Eliminate __ versions, since - gcc will do these automatically. Eliminate LANGUAGE_C, since it is - handled in CPP_SPEC. +Wed Jun 29 19:23:27 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu) + + * alpha.h (LIB_SPEC): If -pg, add -lprof2. -Tue Feb 11 15:38:27 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Jul 11 13:17:38 1994 Ian Lance Taylor (ian@cygnus.com) - * flow.c (find_basic_blocks): Don't delete labels used in non-jumps. + * combine.c (simplify_set): Only turn IF_THEN_ELSE into AND if + MODE_INT. - * vms.h (DO_GLOBAL_CTORS_BODY): Modify the return address - only the first time __main is called. +Sun Jul 10 06:03:12 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * fixinc.svr4: Change headers to test __STRICT_ANSI__ instead of - testing __STDC__ != 0. + * reload1.c (eliminate_regs_in_insn): Handle special case of + assignment from hard frame pointer to frame pointer (for + nonlocal goto). + * function.c (instantiate_virtual_regs_1): Remove last change. + * stmt.c (expand_end_bindings): When adjusting FP, set it + from hard_frame_pointer_rtx. - * fixinc.svr4 (mman.h): Fix backward __STDC__ conditional. - Don't add declarations of munmap and mprotect. + * expr.c (expand_builtin, case BUILT_IN_FSQRT): Don't use + asterisk in name of `errno'. - * varasm.c (output_constant): Allow empty constructor for any type. +Fri Jul 8 22:07:32 1994 Jim Wilson (wilson@cygnus.com) - * dwarfout.c (ASM_OUTPUT_DWARF_DATA8): Just one definition; - test WORDS_BIG_ENDIAN "at run time". + * stdarg.h: Delete include of when not gcc. + * varargs.h: Delete include of when not gcc. -Tue Feb 11 09:00:01 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Fri Jul 8 18:45:56 1994 Philippe De Muyter (phdm@info.ucl.ac.be) - * reload.c (find_reloads): Don't substitute in MATCH_DUPs if we - are not generating replacements. + * m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Copy a0 to d0, not + the other way. -Tue Feb 11 08:45:14 1992 Tom Wood (wood at dg-rtp.dg.com) +Fri Jul 8 17:41:39 1994 Jim Wilson (wilson@cygnus.com) - * m88kv4.h ({CTORS,DTORS}_SECTION_ASM_OP): Fix typo. + * expr.c (get_inner_unaligned_p): New function. + (expand_assignment, expand_expr): Use it. -Mon Feb 10 22:34:47 1992 Chris Smith (csmith at convex.com) +Fri Jul 8 17:16:25 1994 Doug Evans (dje@cygnus.com) - * convex.h(HARD_REGNO_NREGS): define correctly for 64-bit regs + * expmed.c (extract_split_bit_field): Set UNIT to BITS_PER_WORD for + register values. + (store_split_bit_field): Likewise. Call operand_subword_force. -Mon Feb 10 21:50:23 1992 Michael Meissner (meissner at osf.org) +Fri Jul 8 13:48:23 1994 Mike Stump (mrs@cygnus.com) - * 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. + * expr.c (target_temp_slot_level): New variable to keep track of + the current stack level for temporaries created by TARGET_EXPRs. + * expr.h (target_temp_slot_level): Declare it. + * expr.c (expand_expr): Add code to maintain the new temporary + stack for TARGET_EXPRs to the CLEANUP_POINT_EXPR code and change + the allocation of temporaries for TARGET_EXPRs to be from the new + stack, so that they may live longer, and only be reused after they + are no longer in use. + * function.c (assign_stack_temp): KEEP can now also be 2, to + indicate allocation from the longer term frontend controlled + temporary stack. + * function.c (init_function_start): Initialize + target_temp_slot_level to zero. - * 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. +Fri Jul 8 16:52:38 1994 Jim Wilson (wilson@cygnus.com) -Mon Feb 10 16:34:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * combine.c (distribute_notes, REG_DEAD case): When check to see + if insn uses register, also call find_regno_fusage. - * convex.h (REAL_VALUE_TRUNCATE): Obsolete definition deleted. + * sparc.h (SECONDARY_MEMORY_NEEDED_RTX): Call assign_stack_local + if the frame has zero size. - * config.sub (convex-*): These are BSD, not sysv. +Fri Jul 8 11:46:50 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.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. + * varasm.c (record_constant_rtx, force_const_mem): Ensure everything + is in saveable_obstack, not current_obstack. -Mon Feb 10 12:28:59 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * combine.c (force_to_mode): OP_MODE must be MODE if MODE and + mode of X are of different classes. + (nonzero_bits, num_sign_bit_copies): Say nothing known for + floating-point modes. - * xm-a29k-ult.h: Fix typo in placement of copyright notice. + * function.c (instantiate_virtual_regs_1, case SET): + If DEST is virtual_stack_vars_rtx, replace with hardware + frame pointer. -Mon Feb 10 05:36:45 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * expr.c (expand_expr, case CONVERT_EXPR): If changing signedness + and we have a promoted SUBREG, clear the promotion flag. - * dbxout.c (dbxout_type): Don't use GDB extensions if they are empty. + * c-decl.c (finish_decl): Put RTL and other stuff in + permanent_obstack if DECL is. -Mon Feb 10 00:10:20 1992 Michael Tiemann (tiemann at cygnus.com) + * combine.c (gen_unary): Add new arg, OP0_MODE. + All callers changed. - * cp-class.c (finish_struct): Use DECL_CHAIN, not TREE_CHAIN to walk - through the list of methods identified by a visibility declaration. +Thu Jul 7 19:58:35 1994 Jason Merrill (jason@deneb.cygnus.com) - * cp-cvt.c (convert_pointer_to): No longer need to abort if BINFO is - not a TREE_VEC or AGGR_TYPE node. + * varasm.c (assemble_variable): Do set TREE_ASM_WRITTEN on + erroneous incomplete decls. - * cp-parse.y (stmt): Improve error handling for try/except. +Thu Jul 7 17:59:46 1994 Joseph Arceneaux (jla@gnu.ai.mit.edu) - * cp-class.c (add_method): If we create RTL for a copy of METHOD, - copy the RTL to METHOD's DECL_RTL slot. + * configure (m68k-motorola-sysv*): Use mot3300g.h for gas. + * m68k/mot3300g.h: New file. - * cp-method.c (dump_type): Print `const' and/or `volatile' for - VOID_TYPE and REAL_TYPEs, too. +Thu Jul 7 17:42:21 1994 Philippe De Muyter (phdm@info.ucl.ac.be) -Sun Feb 9 21:07:45 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Fix typo in last change. - * varasm.c (assemble_integer): Pass third arg in recursive calls. - Act appropriately if word-by-word loop doesn't finish. +Thu Jul 7 17:36:26 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in (bootstrap*): Don't override value of ALLOCA. + * expmed.c (expand_mult_highpart): Build constant forms of CNST1 + in MODE or WIDE_MODE, as appropriate. - * dbxout.c (dbxout_symbol, dbxout_parms): Do leaf function remap - only if LEAF_REG_REMAP and only in leaf functions. + * optabs.c (expand_binop, case DIV [complex]): Fix typo in last change. -Sun Feb 9 16:46:27 1992 Michael Tiemann (tiemann at cygnus.com) + * alpha.md (reload_inqi): Make operand[2] be TImode and + pass register number that differs to unaligned_loadqi. + (reload_outqi): Change overlap in temps to unaligned_storeqi. + * alpha.c ({un,}aligned_memory_operand): Check against + hard_frame_pointer_rtx, not frame_pointer_rtx. - * cp-init.c (maybe_adjust_addr_for_delete): Build final COND_EXPR - with TREE_TYPE (addr). +Thu Jul 7 01:39:33 1994 Doug Evans (dje@cygnus.com) -Sun Feb 9 14:20:49 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * combine.c (make_compound_operation, AND case): Do extraction in + desired result mode. - * 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. + * flow.c (mark_set_1): Record explicit hard registers in their + raw mode. + (mark_used_regs): Likewise. + * combine.c (distribute_notes): Likewise. -Sun Feb 9 08:29:21 1992 James Van Artsdalen (james at bigtex.cactus.org) +Wed Jul 6 14:45:08 1994 Pat Rankin (rankin@eql.caltech.edu) - * 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. + * longlong.h (vax sdiv_qrnnd): Fix typo. - * i386.c (regclass_map): New variable. Lookup array for - REGNO_REG_CLASS. +Wed Jul 6 19:59:12 1994 Mike Stump (mrs@cygnus.com) -Sat Feb 8 01:20:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * expr.c (expand_expr, defer_cleanups_to, expand_cleanups_to): All + cleanups have to be protected by interim exception handling code. + * stmt.c (expand_decl_cleanup, expand_cleanups): Ditto. + * toplev.c (interim_eh_hook): Hook for interim exception handling. + * toplev.c (interim_eh): Default implementation for exception + handling that does nothing. + * toplev.c (main): Set default for interim_eh_hook. - * cp-parse.y (yyprint): Test __GNUC__, not __GNU__. - Use __inline, like everywhere else. +Wed Jul 6 17:56:37 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * a29k.h, romp.h (OVERRIDE_OPTIONS): Deleted. - (OPTIMIZATION_OPTIONS): Defined, instead. - * rs6000.h (OPTIMIZATION_OPTIONS): New macro. - (OVERRIDE_OPTIONS): Don't change optimization. + * alpha.c (output_prolog): Start memory probing with $2. - * final.c (leaf_renumber_regs_insn): No longer static. - * dbxout.c (dbxout_symbol, dbxout_parms): Call that. +Wed Jul 6 14:21:14 1994 Jim Wilson (wilson@cygnus.com) - * 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. + * stmt.c (struct nesting): Add new field alt_end_label. + (expand_start_loop): Initialize it to zero. + (expand_end_loop): Reorder loop if find either a jump to end_label + or a jump to alt_end_label. + (expand_exit_loop_if_false): Set alt_end_label. - * c-typeck.c (build_array_ref): Return early if arg is error mark. +Wed Jul 6 05:07:31 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) - * Makefile.in (test-protoize): Rule deleted. + * c-common.c (decl_attributes): If TREE_TYPE for the DECL is updated, + then update TYPE as well. - * stmt.c (emit_case_nodes): Handle just-left-subtree case - like just-right-subtree--delete mysterious code that tests cost_table. + * longlong.h (arm umul_ppmm): Fix use of uninitialized register. + Eliminate clobbers of hard registers. - * varasm.c (decode_reg_name): Accept decimal number as reg name. +Wed Jul 6 03:22:04 1994 Torbjorn Granlund (tege@rtl.cygnus.com) - * c-decl.c (finish_decl): If pop_obstacks goes to perm obstack, - call permanent_allocation. + * expmed.c (expand_divmod): Clear out TARGET also if OP1 is a + constant, when TARGET == OP0. - * gcc.c (link_command_spec): Use -lgcc, not libgcc.a. +Tue Jul 5 18:58:28 1994 Torbjorn Granlund (tege@rtl.cygnus.com) -Fri Feb 7 16:56:17 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * Makefile.in (c-parse.y): Redirect through tmp file. + (objc-parse.y): Likewise. + (c-gperf.h): Likewise. + (mostlyclean): Delete the new tmp files. - * rs6000.h (DOLLARS_IN_IDENTIFIERS): Define to zero, because the - assembler does not accept dollar signs. + * expmed.c (expand_divmod): Fix typo setting op1_is_pow2. + (expand_divmod): Handle powers-of-two specifically for unsigned + CEIL_*_EXPR. -Fri Feb 7 15:36:40 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * longlong.h: Really fix the test for _IBMR2. Change test of + __powerpc__ to _ARCH_PPC. - * Makefile.in (mostlyclean): Fix name of tmp-proto.1. +Tue Jul 5 17:00:19 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * configure: Delete excess space in assignment to srcdir. + * combine.c (try_combine): Don't check for replacing + arg of function here. + (can_combine_p): Do it here. - * cp-decl2.c (DOLLARS_IN_IDENTIFIERS): Default now 1, as in C. + * expr.c (expand_increment): If pre-incrementing a promoted + variable, don't adjust OP0 since the result won't be used. - * i386gas.h (ASM_OUTPUT_LOOP_ALIGN): New macro. - (ASM_OUTPUT_ALIGN_CODE): Use 16-byte boundary on 486. + * jump.c (duplicate_loop_exit_test): Handle SUBREG in SET_DEST + of loop exit test statements. - * m68k.h (TRANSFER_FROM_TRAMPOLINE): Use operands for the memrefs - to avoid dependence on assembler syntax. + * combine.c (try_combine): If I2DEST was used in I2SRC, it isn't + unused just because there is no SET for I2 anymore. -Fri Feb 7 10:26:32 1992 Michael Meissner (meissner at osf.org) +Mon Jul 4 11:15:13 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in (EXTRA_OBJS): New variable for extra object files - needed when linking cc1, cc1plus, and cc1objc. + * rs6000.h (RS6000_OUTPUT_BASENAME): Always call assembler_name + and pass the actual symbol name. -Fri Feb 7 07:34:03 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * varasm.c (assemble_name): Call STRIP_NAME_ENCODING. - * reload1.c (set_label_offsets, reload_as_needed): Recompute - num_not_at_initial_offset when we pick up offsets from offsets_at. + * cse.c (canon_hash, exp_equiv_p): Refer to string in SYMBOL_REF + with XSTR, not XEXP. - * unroll.c (unroll_loop): Copy initial and final values to avoid - sharing. - - * cse.c (simplify_relational_operation): Complete last change by - correctly handling <= and >=. +Sat Jul 2 18:53:19 1994 Jim Wilson (wilson@cygnus.com) -Thu Feb 6 23:57:02 1992 Michael Tiemann (tiemann at cygnus.com) + * mips.md (smuldi3_highpart, smuldi3_highpart_internal, + umuldi3_highpart, umuldi3_highpart_internal): New patterns. - * cp-decl.c (grokdeclarator): Invert sense of warning about - initialized extern vars, since in C++, const has funny semantics. + * unroll.c (loop_iterations): Only use REG_EQUAL note value if it + is constant. -Thu Feb 6 15:12:02 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * dbxout.c (dbxout_type_methods): Enable debugging info for + template classes. - * cse.c (simplify_relational_operation): Test properly for floating - equality; don't deduce this from < and >. + * c-lex.c (yylex): Reject imaginary numbers when pedantic. - * xm-mips.h (alloca): Don't define or declare if MIPS_OVERRIDE_ALLOCA. - * xm-irix4.h (MIPS_OVERRIDE_ALLOCA): Defined. + * c-decl.c (duplicate_decls): When make void* match char*, set + DECL_IN_SYSTEM_HEADER. - * m68k.h (TRANSFER_FROM_TRAMPOLINE): Use explicit reg var - to avoid dependence on register name syntax. + * Makefile.in (clean): Delete LIB2FUNCS_EXTRA. - * 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. + * alpha.h (FUNCTION_PROFILER, FUNCTION_BLOCK_PROFILER, + BLOCK_PROFILER): Use multiple fputs/fprintf calls instead of ANSI + C concatenated strings. + (PREDICATE_CODES): Add cint8_operand. - * gstdarg.h: If not __GNUC__, use system's stdarg.h. + * gcc.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -isystem. -Thu Feb 6 22:36:36 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) +Sat Jul 2 09:34:20 1994 Torbjorn Granlund (tege@rtl.cygnus.com) - * vms.h (DEFAULT_GDB_EXTENSIONS): Define as 0. + * expmed.c (expand_divmod): Always return gen_lowpart (mode, ...). -Thu Feb 6 13:32:37 1992 Michael Meissner (meissner at osf.org) +Fri Jul 1 19:28:39 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - * 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. + * reorg.c (make_return_insns): Make sure redirecting a jump to + a RETURN insn does not invalidate the delay slots of the jump. - * 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. +Fri Jul 1 16:32:58 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) - * 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. + * longlong.h: (arm umul_ppmm): Fix typos in last change. Mark + hard-coded registers with "%|". - * decrose.h (INIT_SECTION_ASM_OP): Define as .init. +Fri Jul 1 10:08:47 1994 Jason Merrill (jason@deneb.cygnus.com) -Thu Feb 6 10:07:17 1992 Tom Wood (wood at dg-rtp.dg.com) + * toplev.c (compile_file): Pass through static consts and inlines + multiple times in case they reference each other. - * m88k.c (preserve_registers): Change to walk the epilogue delay - insns in the forward rather than reverse order (for reorg.c change). +Fri Jul 1 07:41:19 1994 Torbjorn Granlund (tege@tiny.cygnus.com) -Thu Feb 6 02:54:28 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * longlong.h: Test for _AM29K and _IBMR2, not ___AM29K__ + and ___IBMR2__. + (arm umul_ppmm): New definition. + (clipper umul_ppmm, smul_ppmm, __umulsidi3): New definitions. + (hppa count_leading_zeros): New definition. + (i960 umul_ppmm, __umulsidi3): New definitions. + (mc68000 umul_ppmm): Use %. before size suffixes. + (mc88110 umul_ppmm, udiv_qrnnd): Rewrite, + (mc88000): Get UMUL_TIME and UDIV_TIME right. + (mips): Get UMUL_TIME right. + (ns32000 umul_ppmm): New definition. + (ns32000 udiv_qrnnd): Rename from bogus div_qrnnd, rewrite. + (powerpc umul_ppmm, smul_ppmm): New definitions. + (_IBMR2/powerpc add_ssaaaa, sub_ddmmss): Improve. + (pyr umul_ppmm): Fix typo. + (sparc add_ssaaaa, sub_ddmmss): Match constant 0 for all inputs. + (vax sdiv_qrnnd): New definition. - * cse.c (simplify_binary_operation, case PLUS): Don't make - a (const (plus X Y)) with X a CONST_INT. + * expmed.c (expand_divmod): Put OP0 in a register when computing + remainder, or when OP1 is constant. - * fixincludes: Simplify egrep command. +Fri Jul 1 06:46:09 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Feb 6 01:11:28 1992 Mark Eichin (eichin at cygnus.com) + * jump.c (jump_optimize): Don't convert if (foo) x++ into an + add of an scc unless X has no side effects and can't trap. - * 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.) + * c-parse.in (initelt): The equal sign is optional when + positioning to a single element of an array. -Wed Feb 5 18:42:56 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * c-typeck.c (push_init_level): If not at "unfilled" position, + set constructor_incremental to 0; likewise for range. - * 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. + * xm-alpha.h: If GNUC, include alloca.h, else declare alloca. - * cse.c (fold_rtx): When associating operations, avoid infinite - recursion if the new expression contains our operand. + * m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): New macro. -Wed Feb 5 21:18:06 1992 Mark Eichin (eichin at cygnus.com) + * expmed.c (expand_divmod): Don't set REG_NOTES unless we generated + a quotient. - * 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. +Thu Jun 30 18:25:52 1994 David Edelsohn (edelsohn@npac.syr.edu) -Wed Feb 5 18:01:12 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * gcc.c (do_spec_1, case 'P'): Don't add underscores to macros + starting with '_[A-Z]'. - * varasm.c, hp800.h, i386.h, m88k.h, mips.h, romp.h, vms.h: - (ENCODE_SECTION_INFO): Renamed from ENCODE_SEGMENT_INFO. +Thu Jun 30 18:16:36 1994 Will Athanasiou (will@guardian.westford.ccur.com) - * sparc.md (nonlocal_goto): Copy static chain into - virtual_stack_vars_rtx, not frame pointer itself. - (nonlocal goto return recognizer): Jump to %o0+0. + * m68k.md (umulsi3_highpart, smulsi3_highpart): Fix constraint + for operand 0 in define_insn. - * toplev.c (main): Fix test for -Wid-clash. +Thu Jun 30 16:07:33 1994 Kaveh R. Ghazi (ghazi@noc.rutgers.edu) -Wed Feb 5 16:58:15 1992 Ron Guilmette (rfg at ncd.com) + * fixincludes: Put wrappers around and to + avoid multiple inclusion errors on m88k-tektronix-sysv3. - * 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. +Thu Jun 30 12:08:48 1994 Kresten Krab Thorup (krab@spiff.gnu.ai.mit.edu) -Tue Feb 4 14:51:16 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * objc-act.c, objc/init.c (OBJC_VERSION): Incremented to 6. - * dbxout.c (dbxout_symbol): Handle DBX_OUTPUT_CONSTANT_SYMBOL. - (dbxout_block): Handle DBX_OUTPUT_CATCH. + * objc/sendmsg.c (INVISIBLE_STRUCT_RETURN): New macro. + (__objc_block_forward): Declare depending on the above. - * cccp.c (lookup_import, add_import, do_include): - Use bcmp and bcopy to access st_ino and ->inode fields. + * objc/class.c (objc_next_class): New function. + * objc/objc-api.h (objc_next_class): New function. - * dbxout.c (dbxout_init): Pass syms to DBX_OUTPUT_STANDARD_TYPES. + * objc-act.c (get_proto_encoding, build_typed_selector_reference): + New fucnctions. (UTAG_PROTOCOL): New define. + (objc_selector_template, flag_typed_selectors): New variables. + (objc_init): set flag_typed_selectors if -fgnu-runtime. + (synth_module_prologue): Change declaration of + _OBJC_SELECTOR_TABLE when flag_typed_selectors is non-null. + (build_module_descriptor): Make sure the generated constructor + function is declared public. + (build_selector): Only cast to SEL when not doing typed selectors. + (build_selector_translation_table): Rewrite initialization. + (build_tmp_function_decl): Make up new name when called, since it + may now be called multiple times. + (hack_method_prototype): Use init_function_start to reinit args + machinery. Also set current_function_decl before calling + assign_parms. + (generate_protocols): Don't generate encoding twice. + (build_selector_template): New function. + (build_method_list_template): Generate (void*)0 as first element, + not (int)0. + (build_message_expr): move the call to build_selector_reference + towards the end, where we have determined the function prototype. - * 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. + * objc/Object.h, objc/Object.m (read:, write:, streamVersion:): + Un-disable for alpha. (forward::, performv::): Declare and fix to + return retval_t. + * objc/archive.c: Completely rewritten to handle 64 bit longs and + pointers. + * objc/class.c (class_pose_as): Rewritten. + * objc/encoding.c: use new ROUND macro for alignment rounding. + * objc/init.c, objc/selector.c, objc/sendmsg.c: Rewritten to + handle new selectors. - * c-common.c (c_expand_expr_stmt): Test for ERROR_MARK as type. +Thu Jun 30 07:49:50 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) -Tue Feb 4 12:03:26 1992 Michael Tiemann (tiemann at cygnus.com) + * arm.h (INITIAL_ELIMINATION_OFFSET): Check frame_pointer_needed when + eliminating the arg pointer into the stack pointer. - * stmt.c (expand_end_case): Don't crash if function called - is not an ADDR_EXPR. +Thu Jun 30 06:25:50 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Feb 4 14:17:22 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * c-common.c (c_build_type_variant): Remove last change; instead, + copy TYPE if not in old obstack. - * 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. +Wed Jun 29 21:51:52 1994 Jason Merrill (jason@deneb.cygnus.com) -Tue Feb 4 00:27:35 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * toplev.c (lang_options): Add -W{no-,}non-virtual-dtor. - * Makefile.in (protoize.1, unprotoize.1): Rename temp files < 14 chrs. +Wed Jun 29 19:23:27 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu) - * cccp.c (skip_if_group): Make unknown cmd name a pedantic warning. + * final.c (end_final,profile_function): Profiling variables are + size of pointer, not int. + * alpha.h (LIB_SPEC): If -pg, add -lprof2. + (STARTFILE_SPEC, {FUNCTION,BLOCK,FUNCTION_BLOCK}_PROFILER): New macros. -Mon Feb 3 18:10:41 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Wed Jun 29 15:52:45 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * romp.h (LEGITIMATE_CONSTANT_P, ENCODE_SEGMENT_INFO): Use - SYMBOL_REF_FLAG. + * loop.c (basic_induction_var, case REG): Allow previous + insn to set a SUBREG of X. - * x-romp-mach: New file. - * configure (romp-*-mach*): New alternative. + * alpha.c (alpha_sa_size): Round size to 16-byte boundary. + (add_long_const): Add new arg, TEMP_REG. + (output_{pro,epi}log): Rework to put save area between outgoing + args and local variables. + * alpha.h (FRAME_POINTER_REGNUM): Now register 63. + (HARD_FRAME_POINTER_REGNUM): New macro. + (CONDITIONAL_REGISTER_USAGE, REG_CLASS_CONTENTS, REGNO_REG_CLASS): + Show register 63 is not an FP register. + (REGHNO_OK_FOR_BASE_P, REG_OK_FOR_BASE_P, REGISTER_NAMES): Likewise. + (ALPHA_ROUND): New macro. + (STARTING_FRAME_OFFSET, ELIMINABLE_REGS, INITIAL_ELIMINATION_OFFSET): + Modify to reflect save area between outgoing args and local vars. + * alpha.md: Add new pattern for double-add when have + reg + frame pointer. + Slight changes to all such patterns and add define_splits for them. -Mon Feb 3 16:43:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * global.c (global_alloc): Make a more accurate attempt to see + if the frame pointer will be used. + If it is, show HARD_FRAME_POINTER_REGNUM used if its not + the same as FRAME_POINTER_REGNUM. + * reload1.c (reload): Can't eliminate if frame pointer needed + and TO is stack pointer. + Spill HARD_FRAME_POINTER_REGNUM if not FRAME_POINTER_REGNUM + and frame pointer is needed. + (spill_hard_reg): If CANT_ELIMINATE, set regs_ever_live; + no longer done by callers. - * cp-typeck.c (warn_for_assignment): Print arg num in origin 1. + * a29k.md (movqi): Add missing `DONE'. - * sparc.md (nonlocal_goto trap recognizer): Fix opcode spelling. +Wed Jun 29 15:44:18 1994 Doug Evans (dje@canuck.cygnus.com) - * function.c (fix_lexical_addr): Properly search for correct display. + * sparc/sparc.h (CPP_SPEC): Split up v9/non-v9 stuff. + Move -Acpu and -Amachine from here. + (CPP_PREDEFINES): To here. + (NO_BUILTIN_PTRDIFF_TYPE): Undefine. + (NO_BUILTIN_SIZE_TYPE): Likewise. + (PTRDIFF_TYPE): Split up v9/non-v9 definitions. + (SIZE_TYPE): Likewise. + * sparc/sp64-elf: (PTRDIFF_TYPE): Remove dependence on POINTER_SIZE. + (SIZE_TYPE): Likewise. - * romp.h (OVERRIDE_OPTIONS): Don't set flag_omit_frame_pointer. +Wed Jun 29 15:28:17 1994 Michael Meissner (meissner@osf.org) -Mon Feb 3 11:11:58 1992 Michael Tiemann (tiemann at cygnus.com) + * cccp.c (collect_expansion): Always put 1 space after the macro + expansion in ANSI mode to fix regression from June 24th. - * gcc.c (@c++-cpp-output): Delete extraneous "}}}" at the end of the - rule. +Tue Jun 28 22:41:52 1994 Doug Evans (dje@cygnus.com) -Mon Feb 3 11:38:19 1992 Ron Guilmette (rfg at ncd.com) + * combine.c (simplify_set): Evaluate HAVE_conditional_move at runtime. - * 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 Jun 28 20:27:08 1994 Torbjorn Granlund (tege@adder.cygnus.com) - * 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. + * optab.c (expand_binop): Convert OP0 to mode for library calls. - * dwarfout.c (dwarfout_init): Output compilation directory name as - the first thing in the .debug_sfnames section. + Changes to optimize division-by-constants, and make ceil and floor + rounding work correctly: + * expmed.c (expand_mult): Generalize to call synth_mult also + for OP1 - 1. + (ceil_log2): New function. + (choose_multiplier): New function. + (invert_mod2n): New function. + (expand_mult_highpart_adjust): New function. + (expand_mult_highpart): New function. + (EXACT_POWER_OF_2_OR_ZERO_P): New macro. + (expand_divmod): Almost completely rewritten. + (expand_shift): Don't truncate immediate shift count, it doesn't work + for types smaller than int. + * expr.h (smul_highpart_optab, umul_highpart_optab): New variables. + * genopinit.c (optabs): Add [us]mul_highpart_optab. + * optabs.c (smul_highpart_optab, umul_highpart_optab): New variables. + (expand_binop): Handle [us]mul_highpart_optab as commutative. + (init_optabs): Initialize [us]mul_highpart_optab. + * fold-const.c (div_and_round_double): Make it globally accessible. + * a29k.md (smulsi3_highpart, umulsi3_highpart): New patterns. + * alpha.md (umuldi3_highpart): New expander and matcher. + * alpha.c (cint8_operand): New predicate. + * m68k.md (umulsi3_highpart, const_umulsi3_highpart): + New expander and matcher. + (smulsi3_highpart, const_smulsi3_highpart): Likewise. -Mon Feb 3 04:12:51 1992 James Van Artsdalen (james at bigtex.cactus.org) +Tue Jun 28 13:42:10 1994 Jim Wilson (wilson@cygnus.com) - * Makefile.in (install-dir): `parent' is a shell variable. + * sol2.h (CPP_SPEC): Handle -msupersparc. + * sparc.c (cpu_type, sparc_cpu_type): Rename to arch_type and + sparc_arch_type. Fix all users. + (supersparc_adjust_cost): New function. + * sparc.h (cpu_type, sparc_cpu_type): Rename to arch_type and + sparc_arch_type. + (CPP_SPEC): Handle -msupersparc. + (MASK_SUPERSPARC, TARGET_SUPERSPARC): New macros. + (TARGET_SWITCHES): Add -msupersparc and -mcypress. + (ADJUST_COST): New macro. + * sparc.md (cpu attribute): Rename to arch attribute. Add a new + cpu attribute. Fix all users. + (type attribute): Add ialu, shift, imul, fpdivs, and fpdivd. + Delete fpdiv. + (function units): Add Cypress and Supersparc versions of each. + (addsi3, subsi3, andsi3, iorsi3, xorsi3): Add ialu type attribute. + (mulsi3): Add imul type attribute. + (divtf3, divdf3): Use fpdivd not fpdiv type attribute. + (divsf3); Use fpdivs not fpdiv type attribute. + (ashlsi3, ashrsi3, lshrsi3): Add shift type attribute. -Mon Feb 3 09:43:51 1992 Tom Wood (wood at dg-rtp.dg.com) + * i960.md (andsi3+6): Replace bad clrbit pattern with two working + ones. - * m88k.h (EXTRA_SECTIONS): Use init and fini sections from svr3.h, - but only when using svr3.h. +Tue Jun 28 13:31:31 1994 Uwe Seimet (seimet@iris1.chemie.uni-kl.de) -Sun Feb 2 19:50:29 1992 James Van Artsdalen (james at bigtex.cactus.org) + * configure (m68k-atari-sysv4*): New configuration. + * m68k/atari.h, m68k/xm-atari.h: New files. - * i386.h (ADDRESS_COST): New macro. +Tue Jun 28 12:41:32 1994 Jeffrey A. Law (law@snake.cs.utah.edu) -Sun Feb 2 17:08:47 1992 Michael Meissner (meissner at osf.org) + * pa.md (define_split for (plus (reg) (large_constant))): Treat + large_constant as signed. - * 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. +Tue Jun 28 05:46:55 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sun Feb 2 16:58:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * reload1.c (eliminate_regs_in_insn): When checking for moves + and adds, use single_set. - * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Do ON_EXIT last. + * reload1.c (reloads_conflict): Handle R1_TYPE of RELOAD_OTHER. - * Makefile.in (install-dir): Create the parent of mandir if nec. + * expr.c (do_jump, case BIT_AND_EXPR): Only narrow to a type + that corresponds to a mode. - * real.h (REAL_VALUE_TRUNCATE): sizeof says what cast to float does. +Tue Jun 28 05:41:29 1994 Will R. Athanasiou (will@westford.ccur.com) - * 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. + * rs6000.h (MEMORY_MOVE_COST): Make processor-dependent. + * rs6000.md (movsf): Emit frsp if storing to memory and not PowerPC. + (movsf matcher): Remove explicit frsp. + (store sf with update): Likewise. + * rs6000.c: Include ctype.h. -Sun Feb 2 12:51:54 1992 Michael Tiemann (tiemann at cygnus.com) +Tue Jun 28 05:40:44 1994 Mike Collison (collison@chianti.sw.stratus.com) - * cp-typeck.c (build_component_ref_1): Call `compute_visibility' - with a BASETYPE_PATH, not a TREE_LIST. + * real.c: Treat HFmode like SFmode, for now. - * cp-class.c (build_vtable_entry): Apologize if we cannot build a - proper vtable because of builtin liminations. +Mon Jun 27 19:16:49 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sun Feb 2 07:30:08 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * optabs.c (expand_binop, multi-words shifts and rotates): + Fix errors in last change. - * reload.c (combine_reloads): Don't combine two reloads with different - secondary reloads; copy secondary reload to combined reload. +Mon Jun 27 11:29:18 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) - * 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. + * arm.c: Include "expr.h". + (arm_fpu): New variable. + (arm_gen_movstrqi): Fix typo. + * arm.h: (enum floating_point_type): New enumeration type. + (arm_fpu): New declaration. + * arm.md: (function_unit fpa): Add more accurate scheduling + information. + (all floating point patterns): Add more detailed instruction type + information to attributes. + * riscix.h: (STARTFILE_SPEC,SIZE_TYPE,PTRDIFF_TYPE): Fix typos. + (ASM_FINAL_SPEC): Only reject -mbsd and -mxopen when -pedantic. - * flow.c (find_basic_blocks): Don't separate a CALL_INSN from - following CLOBBER insns. +Sun Jun 26 05:37:26 1994 Pat Rankin (rankin@eql.caltech.edu) - * 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. + * toplev.c (v_message_with_decl): Avoid fwrite for stderr; mixing + it with fprintf and fputs can cause strange results under VMS. - * 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. +Sat Jun 25 06:07:56 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) - * 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. + * combine.c (distribute_notes, case REG_DEAD): If a call uses a + hard reg, then this is where it dies. -Sat Feb 1 14:41:34 1992 Ken Raeburn (Raeburn@Cygnus.COM) +Fri Jun 24 19:09:33 1994 Chip Salzenberg (chip@fin.uucp) - * 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. + * cccp.c (create_definition): Eliminate whitespace before and + after macro definitions. -Sat Feb 1 09:13:47 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Fri Jun 24 16:19:27 1994 Philippe De Muyter (phdm@info.ucl.ac.be) - * xm-rs6000-mach.h, rs6000-mach.h: New files. - * configure (rs6000-*-mach): New option. + * c-decl.c (lang_decode_option): Set warn_bad_function_cast + for -Wbad-function-cast. + * c-typeck.c (build_c_cast): Issue a warning for non-matching cast + from a function call (like malloc without proto). + * c-tree.h: Declare warn_bad_function_cast. + * toplev.c (lang_options): Add -W[no]-bad-function-cast. -Sat Feb 1 00:57:24 1992 James Van Artsdalen (james at bigtex.cactus.org) +Fri Jun 24 16:09:12 1994 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. + * vax.h (ASM_IDENTIFY_LANGUAGE): New macro. - (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. +Fri Jun 24 15:36:37 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) - (output_387_binary_op): abort if the op is not one we handle. + * jump.c (jump_optimize): If we reverse "if (foo) bar else break;" + and there follows a NOTE_INSN_LOOP_END, move the note before "bar". - (maximum_field_alignment): New variable. - (handle_pragma_token): New function. Handle `weak' and `pack'. + * arm.md (movstrsi): Delete. + (movstrqi): New expand. + * arm.h (arm_gen_movstrqi): New function. - * 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. +Fri Jun 24 14:43:46 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - (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. + * alpha.c (alpha_builtin_saveregs): Fix typo in computing value + for __base. - * 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. + * vax.md (zero_extract patterns): Don't allow constants in + the first operand of ZERO_EXTRACT since the recognizer + function forces them to match the mode of the match_operand. - * svr4.h (SELECT_SECTION): Any item whose initial value involves - linker relocation must go in the data section if flag_pic is true. + * c-typeck.c (decl_constant_value): Test for const and + not iterator. + (default_conversion, digest_init): Remove redundant checks + before calling decl_constant_value. + (convert_for_assignment): See if RHS has a constant value. - * 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. + * m68k.md (ashrsi3, lshrsh3): Remove patterns using bfext[su]. - (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. + * reg-stack.c (goto_block_pat): Ignore undefined label. -Sat Feb 1 00:15:41 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Jun 23 22:07:42 1994 Doug Evans (dje@cygnus.com) - * 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. + * sparc/sp64-elf.h (LINK_SPEC): Fix typo. + (PTRDIFF_TYPE): Likewise. - * dbxout.c (dbxout_init): Vars wd and wd_gotten moved to top level - and renamed to cwd and cwd_gotten. +Thu Jun 23 19:15:36 1994 Jason Merrill (jason@deneb.cygnus.com) - * c-decl.c (start_function): -Wmissing-prototypes warns if static - function was previously used without a prototype. + * tree.h (TREE_SYMBOL_REFERENCED): New macro. + * varasm.c (assemble_name): Set TREE_SYMBOL_REFERENCED on the + identifier for `name'. + * toplev.c (compile_file): Use TREE_SYMBOL_REFERENCED instead of + TREE_USED and TREE_ADDRESSABLE where appropriate. - * loop.c (find_and_verify_loop): Initialize uid_loop_num[0]. - (loop_optimize): Give up fast if no loops. +Thu Jun 23 19:06:05 1994 Randy Wright (rwright@dhostwo.convex.com) - * stmt.c (expand_end_bindings): Don't adjust fp in nonlocal goto hndlr - if there is a nonlocal_goto insn. + * cse.c (simplify_unary_operation, case UNSIGNED_FLOAT): Add + missing cast to unsigned. - * Makefile.in (cccp.o): Use just libdir in GPLUSPLUS_INCLUDE_DIR. +Thu Jun 23 19:00:18 1994 David Edelsohn (edelsohn@npac.syr.edu) - * gcc.c (do_spec_1): Supply missing arg in some recursive calls. + * rs6000.md (fix_truncdfsi2, movsf, movdi): Use assign_stack_temp. + (mulsidi3): Add earlyclobber constraint modifier to PowerPC + version and !TARGET_POWERPC64 to final condition. -Fri Jan 31 21:50:03 1992 Jeffrey A. Law (law at wombat.gnu.ai.mit.edu) + * rs6000.h (CPP_PREDEFINES): Define _POWER (alias for _IBMR2). + (CPP_SPEC): New macro. + * powerpc.h (ASM_SPEC): Use PowerPC mode, not 601 mode. + (CPP_SPEC): New macro. + (TARGET_DEFAULT): Generate pure PowerPC code, not 601-specific. - * m68k.h (OVERRIDE_OPTIONS): -fPIC is only supported on the 68020 - and later cpus. Give an error if -fPIC is tried on a 68000. +Thu Jun 23 18:09:23 1994 Pat Rankin (rankin@eql.caltech.edu) -Fri Jan 31 21:39:33 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * vax.h (CPP_PREDEFINES): Add `__vax__'. + * vax/vms.h (CPP_PREDEFINES): Add `__vax__', `__vms__', and `__VMS__'; + update __GNUC_MINOR__ to 6. - * flow.c (find_auto_inc): If emitting a move insn in front of the - first insn in a block, update basic_block_head. +Thu Jun 23 17:59:41 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * caller-save.c (init_caller_save): Correctly check for case where the - save or restore insns aren't recognized. + * toplev.c (compile_file): Don't try to write function if we + didn't save insns for it. -Fri Jan 31 21:02:35 1992 Mark Eichin (eichin at cygnus.com) + * reload.c (find_reloads): Don't rejecting non-const due to value + of PREFERRED_RELOAD_CLASS if no regs were valid for alternative. - * 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. +Thu Jun 23 17:45:55 1994 Matthias Pfaller (leo@marco.de) -Fri Jan 31 00:14:20 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * ns32k.c (output_move_double): If the dest is register pair and both + regs are used in src address, use ADDR to compute src address, not + ADDD, which throws away scaled index. - * 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. +Thu Jun 23 17:40:06 1994 Craig Burley (burley@gnu.ai.mit.edu) - * gcc.c (S_ISDIR): Add default definition. + * c-decl.c (clear_binding_level): Add missing fields in initializer. + (c_decode_option): Correct misspelling of -fno-dollars-in-identifiers. - * function.c (expand_function_end): - Set up arg_pointer_save_area at start of function. +Thu Jun 23 13:47:23 1994 Ian Lance Taylor (ian@cygnus.com) - * c++: Accept -nostdlib, not -nostinc. + * fixincludes: Fix return type of sbrk in on Alpha + OSF/1 V2.0. Also, redirect grep errors to /dev/null in + fix. - * va-sparc.h: If GCC v1, define __extension__ as nothing. - * va-i860.h, va-pyr.h, va-spur.h: Likewise. +Thu Jun 23 12:08:23 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) - * cp-class.c (finish_struct): Fill in DECL_ALIGN of vtable field. + * arm.c: Include tree.h. + (const_ok_for_arm): Add fast return for 0 or just one non-zero bit. + (const_ok_for_op, arm_split_constant): New functions. + (arm_rtx_costs, reg_or_int_operand): New functions. + (shift_operator): Accept ROTATERT. + (multi_register_push): New function. + (shift_op): Don't abort if a constant is outside the acceptable range, + but convert the whole shift expression into something legal. If the + shift is zero, then return NULL. + (output_return_instruction): Output a call to abort if the function is + volatile. + (arm_volatile_func): New function. + (get_prologue_size): Remove all adjustments for insns that are now + output as rtx. + (output_func_prologue): Remove all code that outputs instructions, + just print a few comments. + (output_func_epilogue): Output a call to abort if a volatile function + tries to return. + (emit_multi_reg_push): New function. + (arm_expand_prologue): New function. Don't bother to push call-saved + regs if we will never return. + (arm_print_operand, case 'S'): If shift_op returns NULL, then no shift + is required. + * arm.h (TARGET_WHEN_DEBUGGING): Delete. + (MODES_TIEABLE_P): All modes of the same class are tieable. + (CONST_OK_FOR_LETTER_P): Add 'M' for constants valid in a shift. + (FUNCTION_PROFILER): Don't call arm_increase_location. + (INITIAL_ELIMINATION_OFFSET): Call saved regs are no-longer pushed for + functions that don't return. + (LEGITIMIZE_ADDRESS): Push constants that will never be legitimate -- + symbols and labels -- into registers. Handle DImode better. + (DEFAULT_SIGNED_CHAR): Use unsigned unless already defined. + (RTX_COSTS): Call arm_rtx_costs. + (ADDRESS_COST): Since most operations have the same rtx cost, make the + more complex addresses cheaper. + (PREDICATE_CODES): Add ROTATERT to shift_operator; and new predicates + for reg_or_int_operand and multi_register_push. + (DBX_CONTIN_LENGTH): Only define if not already done. + (PRINT_OPERAND_ADDRESS): Let arm_print operand output the ", " for + shifts. + * arm.md (addsi3, subsi3, andsi3, iorsi3, ashlsi3, ashrsi3, lshrsi3, + rotrsi3): Rewrite as expand patterns. + (rotlsi3): New expand. + (matchers, and split patterns for above): New. + (all patterns with shifts): Let arm_print_operand output the ", " + before a shift if it is needed. + (zero_extendqihi2): Delete. + (zero_extendqisi2): Expand to (and ...) if not memory. + (movsi): Call arm_split_constant to generate a constant. + (movqi): Only force a MEM into a register if not reloading. + (movsf, movdf): If loading a non-immediate floating point value, or + loading and floating point immediate into integer regs, push the + constant straight into the pool. + (movdf): Get rid of the scratch register. + (reload_outdf): Rewrite to expand to the two required insns. + (matcher for movdf): Remove alternative that used scratch register for + storing. + (movxf): rewrite as expand. + (matcher for movxf): Recognize even when XFmode code is disabled, so + that prologue insns can be generated. + (Matcher for reversed conditional jump): Don't match if the mode of the + CC register is not reversible. + (prologue): New expand. + (matcher for multi_register_push insn): New. + * riscix.h: Delete some dead code. + (STARTFILE_SPEC): Look in the correct places for start files. + (LIB_SPEC): Define. + (LINK_SPEC): Define. + (TARGET_WHEN_DEBUGGING): Delete. + (DEFAULT_SIGNED_CHAR): Set to unsigned. + (SIZE_TYPE, PTRDIFF_TYPE, TARGET_EDOM): Define. + * rix-gas.h (DBX_CONTIN_LENGTH): Set to 80. + (DEFAULT_GDB_EXTENSIONS, DBX_NO_XREFS): Don't try to pander to dbx, it + is just to broken to use. - * regclass.c (reg_class_record): - Don't follow indirect loops in constraints. +Wed Jun 22 20:13:03 1994 Will Athanasiou (will@westford.ccur.com) - * 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. + * configure (m68k-ccur-rtu): New configuration. + * config.sub (m68k-ccur): New system. + * protoize.c: Include , not on Concurrent. + * ccur-GAS.h, x-ccur: New files. - * cse.c (cse_main): Calls do clobber arg pointer if not fixed. +Wed Jun 22 18:49:17 1994 Walter Misar (misar@rbg.informatik.th-darmstadt.de) - * hp320.h (HAVE_ATEXIT): New definition. + * m68k/hp320.h (LINK_SPEC): New macro. - * 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. +Wed Jun 22 18:43:51 1994 Ian Lance Taylor (ian@cygnus.com) - * stmt.c (expand_end_bindings): Fix typo. + * configure: For target alpha-*-*, if using gas, set + target_cpu_default to 4. + * config/alpha/alpha.h (TARGET_SWITCHES): Include + TARGET_CPU_DEFAULT in default value. + (TARGET_CPU_DEFAULT): Define as 0 if not already defined. + (ASM_FINAL_SPEC): Include TARGET_CPU_DEFAULT in test for which + version to define. -Fri Jan 31 12:15:09 1992 Ron Guilmette (rfg ay ncd.com) +Wed Jun 22 18:15:41 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * loop.c (strength_reduce): When replacing DEST_ADDR givs, make + sure resulting insn is valid. -Fri Jan 31 10:31:44 1992 James Van Artsdalen (james at bigtex.cactus.org) + * optabs.c (expand_binop): New variable next_methods; pass to + most recursive calls when trying to avoid libcalls. + Always check for a return value of zero in recursive calls. + (expand_float): Ensure TARGET has proper mode. + Pass OPTAB_LIB_WIDEN to expand_binop calls. - * cp-tree.c (__eprintf): Make definition match assert.h - declaration. +Tue Jun 21 14:35:38 1994 Doug Evans (dje@cygnus.com) -Thu Jan 30 23:17:11 1992 Per Bothner (bothner at cygnus.com) + * cccp.c (skip_to_end_of_comment): Catch unterminated comments. - * c++: The flags -c, -S, or -E suppress passing -lg++ - to gcc. (Otherwise, gcc prints a warning.) +Sat Jun 18 17:49:41 1994 Jason Merrill (jason@deneb.cygnus.com) -Thu Jan 30 21:10:02 1992 Ron Guilmette (rfg at ncd.com) + * fixproto: Move hacking of assert.h from here. + * fixincludes: To here. - * dwarfout.c (dwarfout_init): Fix generation of initial .debug_aranges - entry to be Dwarf Version 1 compliant. +Sat Jun 18 16:42:31 1994 Jim Wilson (wilson@cygnus.com) -Thu Jan 30 15:51:27 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * c-typeck.c (process_init_element): For fieldtype, don't access + TYPE_MAIN_VARIANT field if the type is error_mark_node. - * 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. + * jump.c (duplicate_loop_exit_test): Initialize copy to zero. + Emit jump to end lable if copy is still zero. - * cccp.c (default_include): Delete use of obsolete - NO_STANDARD_INCLUDE_DIR macro. - * protoize.c (default_include): Likewise. + * mips.md (truncdisi2): Change from define_insn to define_expand. + (truncdihi2, truncdiqi2, extendsidi2): Likewise. + (extendsidi2_internal): New pattern. - * Makefile.in (libgcc1.null): Delete dummy.o and dummy.c. + * loop.c (move_movables): Copy CALL_INSN_FUNCTION_USAGE field. -Thu Jan 30 15:34:06 1992 Michael Meissner (meissner at osf.org) + * sdbout.c (sdbout_one_type): Use DECL_ASSEMBLER_NAME if + DECL_LANG_SPECIFIC is set. Use DECL_ASSEMBLER_NAME not + DECL_NAME for child_type that is a template type. + (sdbout_symbol): Use DECL_ASSEMBLER_NAME if DECL_LANG_SPECIFIC + is set. - * gstdarg.h: Include va-mips.h on MIPS systems. +Sat Jun 18 16:39:03 1994 Kung Hsu (kung@mexican.cygnus.com) - * 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. + * dbxout.c (dbxout_symbol): Replace DECL_IGNORED_P with + TYPE_DECL_SUPPRESS_DEBUG. -Thu Jan 30 13:06:36 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Jun 18 10:21:44 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in (install-common): Get c++ and g++ from srcdir. + * expmed.c (expand_shift): Don't try extzv for lshr. - * i860.h (FIXED_REGISTERS): Arg pointer is no longer fixed. + * vax.md (lshrsi3): New define_expand. - * assert.h (__eprintf): Add const to string args in GCC ANSI case. + * optabs.c: Pass NULL_RTX for TARGET in calls to expand_{un,bin}op. + (expand_float): Use expand_shift instead of expand_binop. - * Makefile.in (cccp.o, protoize.o, unprotoize.o): - Define LOCAL_INCLUDE_DIR based on $(prefix). +Fri Jun 17 15:05:58 1994 Ian Lance Taylor (ian@cygnus.com) - * stmt.c (expand_end_bindings): Arg pointer needs no special - treatment if not fixed. + * fixincludes: Correct math.h on Lynx handling again. - * cp-parse.y, c-lex.c (yyerror): - Avoid sign-extension of characters in error messages. +Fri Jun 17 10:52:41 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) -Thu Jan 30 11:39:56 1992 Ron Guilmette (rfg at ncd.com) + * cse.c (simplify_binary_operation, case MINUS): Check mode of op0, + instead of op1, before calling plus_constant. - * dwarfout.c (dwarfout_finish): Fix generation of .debug_pubnames - terminating entry to be 4-bytes of zero followed by a null string. +Fri Jun 17 01:42:37 1994 Jeffrey A. Law (law@snake.cs.utah.edu) -Thu Jan 30 09:30:19 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * pa.h (DEBUGGER_AUTO_OFFSET): Define. If no frame pointer + is available, then adjust the offset by the size of the current + frame. - * rs6000.c (ccr_bit): Fix typo causing reference to possibly - undefined operand. +Thu Jun 16 16:35:12 1994 Jason Merrill (jason@deneb.cygnus.com) - * 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. + * tree.h (DECL_DEFER_OUTPUT): New macro. + * toplev.c (compile_file): Unset DECL_DEFER_OUTPUT on decls + considered at end of file. + * integrate.c (output_inline_function): Unset DECL_DEFER_OUTPUT on + fndecl. + * toplev.c (rest_of_compilation): Also postpone compilation of + inlines with DECL_DEFER_OUTPUT set. + (compile_file): Always emit postponed inlines if + -fkeep-inline-functions. -Wed Jan 29 21:50:26 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Thu Jun 16 11:00:14 1994 Ian Lance Taylor (ian@cygnus.com) - * rs6000.h (ASM_SPEC): Add -u, now require new /bin/as for AIX. - (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): No longer needed. + * fixincludes: Fix argument type for ffs in on Alpha + OSF/1 V2.0. - * 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. +Thu Jun 16 06:49:03 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Wed Jan 29 17:17:42 1992 Michael Tiemann (tiemann at cygnus.com) + * reload1.c (reload_reg_free_p, case RELOAD_OTHER): Allowed + to conflict with RELOAD_FOR_OTHER_ADDRESS. - * cp-init.c (build_member_call): Fix bug involving static members - that are function pointers. + * cse.c (set_nonvarying_address_components): Rework and also + handle an AND used for non-aligned accesses. -Wed Jan 29 13:25:18 1992 Tom Wood (wood at dg-rtp.dg.com) +Thu Jun 16 06:36:49 1994 Chip Salzenberg (chip@fin.uucp) - * gcc.c (do_spec_1): For %D, only add -L options that are relevant. - (is_linker_dir): Determine if a -L option is relevant. + * i386.h (REG_ALLOC_ORDER): Prefer registers listed in + CALL_USED_REGISTERS. -Wed Jan 29 00:57:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Jun 15 20:45:14 1994 Jason Merrill (jason@deneb.cygnus.com) - * configure: Turn ns32k alternatives back on. + * tree.h (TREE_NO_UNUSED_WARNING): Note that this can be applied + to COMPOUND_EXPRs, too. - * Makefile.in (getopt.o, getopt1.c): Join two lines into one. + * stmt.c (warn_if_unused_value): Handle TREE_NO_UNUSED_WARNING for + COMPOUND_EXPRs, too. - * x-i386v4, x-i860v4 (GCC_CFLAGS): Add missing `-B./'. +Wed Jun 15 20:35:21 1994 David Edelsohn (edelsohn@npac.syr.edu) - * reload.c (find_dummy_reload, push_reload): Don't reuse dying input - reg as a reload if it is a fixed reg. + * rs6000.md (divsi3): Fix divide by 2^N with compare RTL. - * c-tree.h (C_MISSING_PROTOTYPE_WARNED): Deleted since unused. + * rs6000.md (maxsf3, minsf3, maxdf3, mindf3): Fix predicate of + define_split. + (muldi3): Fix predicate. + (movdf matcher): Allow update and indexed for lfd instruction. -Wed Jan 29 00:42:34 1992 Tim Moore (moore at fast.cs.utah.edu) +Wed Jun 15 19:24:23 1994 Doug Evans (dje@cygnus.com) - * 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. + * dbxout.c (dbxout_type): Fix call to bzero. - * 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. +Wed Jun 15 19:20:34 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Jan 28 17:04:38 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * cse.c (simplify_unary_operation): Fix typo in last change. - * varasm.c (make_decl_rtl): Delete unused var `i'. +Wed Jun 15 15:20:54 1994 Per Bothner (bothner@cygnus.com) - * c-convert.c (convert_to_pointer): - Abort if no integer type is as wide as a pointer. + * dbxout.c (dbxout_range_type): Handle the case that an array + range is neither an integer nor a sub-range. (In Pascal or + Chill it could be a Boolean, character, or enumeral type.) - * gcc.c (default_compilers, .i case): Add error message for -pg - and -fomit-frame-pointer incompatibility. +Wed Jun 15 04:00:42 1994 Ian Lance Taylor (ian@cygnus.com) - * Makefile.in (install-common): Install c++ and g++ shell scripts in - bindir. + * genmultilib: New shell script to generate multiple library + information. + * Makefile.in (multilib.h, stmp-multilib, install-multilib): New + targets. + (gcc.o): Depend on multilib.h. + (clean): Remove multilib.h and tmpmultilib*. + * gcc.c: Include multilib.h. + (print_multi_lib, print_multi_directory, multilib_select, + multilib_dir): New static variables. + (option_map): Added --print-multi-lib and --print-multi-directory. + (set_spec): Get multilib_select from specs file. + (process_command): Dump multilib_select into specs file. Handle + -print-multi-lib and -print-multi-directory. + (do_spec_1): Try multilib_dir for %D case. + (find_file): Try multilib_dir. + (main): Call set_multilib_dir. Handle print_multi_lib and + print_multi_directory. + (used_arg, set_multilib_dir, print_multilib_info): New functions. + * configure (sparc-*-sunos4*): Use target fragment sparc/t-sunos4. + * sparc/t-sunos4: New file. -Tue Jan 28 15:44:10 1992 Michael Collison (collison at osf.org) +Wed Jun 15 03:54:32 1994 Doug Evans (dje@cygnus.com) - * x-encrose (OLDCC): changed to $(GNU_ROSE_BIN)/gcc + Add support for the SPARC V9 cpu. + * configure (sparc64-*-aout): New target. + (sparc64-*-elf): New target. + * config.sub (sparc64): New cpu. + (aout, elf): New os's. + * genconfig.c (main): Allow targets to override HAVE_conditional_move. + * jump.c (jump_optimize): Use it at run-time. + * sparc/t-sp64: New file. + * sparc/sp64-aout.h: New file. + * sparc/sp64-elf.h: New file. + * sparc/sysv4.h (ASM_OUTPUT_CASE_LABEL): Handle 64 bit pointers. + * sparc/sparc.h (cpu_type): New enum. + (CPP_PREDEFINES,CPP_SPEC): Add v9 support. + (NO_BUILTIN_PTRDIFF_TYPE, NO_BUILTIN_SIZE_TYPE, MAX_WCHAR_TYPE_SIZE, + SHORT_TYPE_SIZE, INT_TYPE_SIZE, LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, + FLOAT_TYPE_SIZE, DOUBLE_TYPE_SIZE, MAX_INT_TYPE_SIZE, + MAX_LONG_TYPE_SIZE): Define. + (PTRDIFF_TYPE, SIZE_TYPE, BITS_PER_WORD, MAX_BITS_PER_WORD, + UNITS_PER_WORD, MAX_UNITS_PER_WORD, LONG_DOUBLE_TYPE_SIZE, + POINTER_SIZE, PARM_BOUNDARY, STACK_BOUNDARY, SPARC_STACK_ALIGN, + EMPTY_FIELD_BOUNDARY, BIGGEST_ALIGNMENT, FIRST_PSEUDO_REGISTER, + FIXED_REGISTERS, CALL_USED_REGISTERS, CONDITIONAL_REGISTER_USAGE): + Add v9 support. + (sparc_override_options, sparc_code_model): Declare. + (OVERRIDE_OPTIONS): Call it. + (MASK_*): Define bits set by target flags. + (TARGET_*): Use them. + ({MASK,TARGET}_{V9,INT64,LONG64,PTR64,ENV32,STACK_BIAS, + MEDLOW,MEDANY,FULLANY}): Define. + (MEDANY_BASE_REG): Define. + (V9_SWITCHES, TARGET_OPTIONS): Define. + (TARGET_SWITCHES, TARGET_DEFAULT): Use MASK_*. + (SPARC_STACK_BIAS, SECONDARY_MEMORY_NEEDED_MODE): Define. + (SECONDARY_MEMORY_NEEDED): Simplify. + (hard_regno_mode_class, sparc_mode_class, sparc_cpu_type): Declare. + (REG_PARM_STACK_SPACE): Do not define if v9. + (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK, MODES_TIEABLE_P, + RETURN_IN_MEMORY, STRUCT_VALUE, STRUCT_VALUE_INCOMING, reg_class, + REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS, REG_ALLOC_ORDER, + REG_LEAF_ALLOC_ORDER, LEAF_REGISTERS, REG_CLASS_FROM_LETTER, + CLASS_MAX_NREGS, STARTING_FRAME_OFFSET, FIRST_PARM_OFFSET, + BASE_RETURN_VALUE_REG, BASE_OUTGOING_VALUE_REG, BASE_PASSING_ARG_REG, + BASE_INCOMING_ARG_REG, FUNCTION_ARG_REGNO_P): Add v9 support. + (sparc_arg_class): New enum (v9 only). + (sparc_args): New struct to record v9 arguments. + (CUMULATIVE_ARGS): Use it (v9 only). + (GET_SPARC_ARG_CLASS): Define. + (sparc_arg_count, sparc_n_named_args): Declare. + (PASS_IN_REG_P): Define. + (ROUND_REG, ROUND_ADVANCE, INIT_CUMULATIVE_ARGS, FUNCTION_ARG_ADVANCE, + FUNCTION_ARG, FUNCTION_INCOMING_ARG, FUNCTION_ARG_PARTIAL_NREGS, + FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): + Add v9 support. + (sparc64_init_expanders, sparc64_fpconv_stack_temp): Declare. + (INIT_EXPANDERS): Define (v9 only). + (gen_v9_scc, output_v9branch): Declare. + (HAVE_conditional_move): Define. + (FUNCTION_PROFILER, FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER, + DYNAMIC_CHAIN_ADDRESS, RETURN_ADDR_RTX, REGNO_OK_FOR_FP_P, + REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P, EXTRA_CONSTRAINT, + CASE_VECTOR_MODE, Pmode, EXTRA_CC_MODES, EXTRA_CC_NAMES, + SELECT_CC_MODE, REGISTER_NAMES): Add v9 support. + (REGNO_OK_FOR_CCFP_P): Define. + (sparc_initialize_trampoline, sparc64_initialize_trampoline): Declare. + (INITIALIZE_TRAMPOLINE): Call them. + (ENCODE_SECTION_INFO): Mark functions in v9. + (RTX_COSTS): Assume MULT costs the same for v9 as v8. + (ASM_LONGLONG, ASM_FLOAT): Define. + (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Add v9 support. + * sparc/sparc.c (SKIP_CALLERS_UNIMP_P): Define. + (sparc_cpu_type, sparc_arg_count, sparc_n_named_args, + frame_base_offset, fpconv_stack_temp): New globals. + (leaf_reg_remap): Add additional registers for v9. + (sparc_override_options, sparc64_init_expanders, + sparc64_fpconv_stack_temp, intreg_operand, ccfp_reg_operand, + data_segment_operand, text_segment_operand, v9_regcmp_op, + arith11_operand, arith10_operand, arith11_double_operand, + arith10_double_operand, gen_v9_scc, emit_v9_brxx_insn, + sparc_init_modes, build_big_number, output_v9branch, + sparc_initialize_trampoline, sparc64_initialize_trampoline): + New functions. + (arith_double_operand, gen_compare_reg, finalize_pic, + emit_move_sequence, mem_aligned_8, output_move_double, + output_move_quad, output_fp_move_double, output_fp_move_quad, + output_block_move, save_regs, restore_regs): Add v9 support. + (sparc_mode_class): New enum. + (*_MODES): Redefine to use it. + (hard_32bit_mode_classes): Renamed from hard_regno_mode_ok. + (hard_regno_mode_classes, hard_64bit_mode_classes, + sparc_mode_class): New globals. + (num_gfregs): Renamed from num_fregs. + (compute_frame_size): Add v9 support. Simplify calculations. + (output_function_prologue): Call build_big_number to compute stack + size in %g1, then adjust %sp. + Fix saving of call saved registers. Handle new v9 registers. + (output_function_epilogue): Fix restoration of call saved registers. + Handle new v9 registers. + Use SKIP_CALLERS_UNIMP_P to see if unimp insn is at return address. + (sparc_builtin_saveregs): Define v9 version. + (output_cbranch): New argument fp_cond_reg. All callers changed. + Add v9 support. + (output_return): Use SKIP_CALLERS_UNIMP_P. + (print_operand): New codes '_', '@', 'C', 'D'. + (output_double_int): Handle LABEL_REF and MINUS for v9. + Use ASM_LONGLONG if assembler can handle it. + * sparc/sparc.md (cpu): New attribute. + (type attribute): New value cmove (conditional moves). + (cmpdi): New pattern for v9. + (seq*, sne*): Add v9 support. + (sgt,slt,sge,sle): Explicitly restrict operand 0 to the integer + registers. Try emitting a conditional move for v9. + (sgtu,sltu,sgeu,sleu): Likewise. + (comparison insns): Add v9 versions. + (scc insns): Add DImode versions for v9. + (beq, bne, bgt, blt, bge, ble): If comparing DImode with 0 on v9, + use brxx insns. Use emit_jump_insn, not emit_insn, as the latter + mishandles brxx insns. + (branch insns): Update calls to output_cbranch. + Add v9 versions to support multiple floating point condition code regs. + Add v9 versions to support brxx insns. + (lo_sum, high, pic): Add v9 support. + (symbolic move patterns): Disable for v9. + (DImode, DFmode, TFmode moves): Add v9 support. + (conditional move insns): Define for v9. + (zero_extendqidi2, extendqidi2, zero_extendhidi2, extendhidi2, + zero_extendsidi2, extendsidi2, floatdisf2, floatdidf2, floatditf2, + fix_truncsfdi2, fix_truncdfdi2, fix_trunctfdi2, muldi3, divdi3, + udivdi3, ashldi3, ashrdi3, lshrdi3, ffsdi2): New patterns for v9. + (bitfield compare insn): Add DImode version for v9. + (adddi3, subdi3, negdi2, anddi3, iordi3, xordi3, one_cmpldi2, + mixed mode fp mult insns, negdf2, negtf2, absdf2, abstf2, tablejump, + call, call_value, untyped_call, untyped_return, indirect_jump, + flush_register_windows, flush): Add v9 support. + (ldd peep holes): Disable for v9. + (set/compare peep hole): Define DImode version for v9. + (sign extend/compare peep hole): Likewise. + (return peep holes): Add v9 support. + (call/jump peep holes): Add v9 support. + * ginclude/va-sparc.h: Add v9 support. - * ns32k.h: Added trampoline code. +Tue Jun 14 22:44:52 1994 Michael Meissner (meissner@osf.org) -Tue Jan 28 14:19:52 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * config/i386/i386.h (reg_class): Add AD_REGS that match %eax and + %edx to allow %eax:%edx to be specified as one DI register. + (REG_CLASS_NAMES): Ditto. + (REG_CLASS_CONTENTS): Ditto. + (REG_CLASS_FROM_LETTER): 'A' specifies AD_REGS. - * 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. + * config/i386/i386.md (umulqihi3): Name the insn with the standard + name. + (mulqihi3, umulsidi3, mulsidi3): Add new widening multiply + patterns. -Tue Jan 28 11:50:35 1992 Michael Meissner (meissner at osf.org) +Tue Jun 14 22:25:16 1994 Torbjorn Granlund (tege@adder.cygnus.com) - * mips.c (toplevel): Add include of , since isdigit is - used. + * fold-const.c (encode, decode): Use 4 HOST_WIDE_INTs for encoded + value with HOST_BITS_PER_WIDE_INT/2 bits in each. + (LOWPART, HIGHPART): New macros. + (BASE): Move definition outside of div_and_round_double. + (add_double, mul_double, lshift_double, rshift_double): Rewrite. + (lrotate_double): Use LOWPART, HIGHPART, and BASE. + (rrotate_double): Likewise. + (div_and_round_double): Major changes to code for general case. + Now it actually produces non-garbage results for large operands. + (div_and_round_double): Simplify condition for special code used when + divisor < BASE. + (const_binop): Delete special cases for multiplying by 0, 1, 2, 4, 8. + (fold, case *_DIV_EXPR): Don't try to optimize for overflow. + * machmode.h (MAX_SHORTS): Deleted. -Tue Jan 28 05:47:08 1992 Michael Tiemann (tiemann at cygnus.com) + * m68k.md: Trivial simplification of many patterns. + (subsi3): Don't handle CONST_INT for operand 2. + (ashiftrt, op2 > 8): New pattern. + (lshiftrt, op2 > 8): New pattern. - * 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. + * a29k.md (logical patterns): Tune to give better code for immediate + values. + * a29k.c (cmplsrcb_operand): New predicate. + * a29k.h (PREDICATE_CODES): Add cmplsrcb_operand. - * cp-class.c (pushclass): Forcibly remove any remnants of incomplete - type that was previously pushed. +Tue Jun 14 17:52:10 1994 Tor Egge (tegge@flipper.pvv.unit.no) - * 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. + * m88k/sysv3.h (DO_GLOBAL_CTORS_BODY): Call __builtin_alloca + with a non-zero argument, forcing a frame pointer to be needed. - * 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. +Tue Jun 14 17:37:41 1994 Mike Collison (collison@sw.stratus.com) - * cp-call.c (ideal_candidate): Don't convert PARMS in place if - BASETYPE is NULL_TREE. + * reload.h (RELOAD_FOR_OPADDR_ADDR): New reload class. + * reload.c (find_reloads): Change secondary reloads of class + RELOAD_FOR_OPERAND_ADDRESS to RELOAD_FOR_OPADDR_ADDR. + * reload1.c (reload): Process and accumulate needs for + RELOAD_FOR_OPADDR_ADDR reloads. + When determining if needs are nongroup needs, ignore + inactive or optional reloads. + (reload_reg_used_in_op_addr_reload): New variable to indicate + when reloads of class RELOAD_FOR_OPADDR_ADDR are in use. + (mark_reload_reg_in_use, clear_reload_reg_in_use): + Process reloads of class RELOAD_FOR_OPADDR_ADDR. + (reload_reg_free_p, reload_reg_free_before_p, reloads_conflict): + Likewise. + (choose_reload_regs): Support RELOAD_FOR_OPADDR_ADDR reloads. + (emit_reload_insns): Output RELOAD_FOR_OPADDR_ADDR reloads. -Tue Jan 28 02:21:31 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Jun 14 17:29:53 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * c-decl.c (grokdeclarator): Use `auto' for nested fn fwd decls. + * cccp.c, toplev.c, tree.c, print-tree.c, fold-const.c: + Cast pointer operands to bzero, bcopy, and bcmp to (char *). + * function.c, stmt.c, expmed.c, varasm.c, emit-rtl.c: Likewise. + * dbxout.c, integrate.c, jump.c, real.h, calls.c, cse.c: Likewise. + * loop.c, unroll.c, flow.c, stupid.c, combine.c, regclass.c: Likewise. + * local-alloc.c, global.c, reload.c, reload1.c, sched.c: Likewise. + * genattrtab.c, bc-emit.c, gcc.c, collect2.c: Likewise. + + * c-decl.c (min_precision): New function. + (finish_enum): Rewrite code to determine precision required + for enumeral type. + + * cse.c (simplify_unary_operation): Correctly and consistently + handle CONST_INT cases for FLOAT and UNSIGNED_FLOAT. + + * xm-alpha.h (sbrk): Don't declare here. + + * alpha.h (CONST_COSTS, case CONST_INT): Fix typo. + + * tree.c (staticp, case FUNCTION_DECL): A nested function isn't static. + + * i386/linux.h (STARTFILE_SPEC): Don't force -static for -g. + + * gcc.c (find_a_file): Try EXECUTABLE_SUFFIX first, then file + without the suffix. + + * jump.c (jump_optimize): Don't delete dead insn if it has a + REG_RETVAL note. + + * fix-header.c (xstrdup): Renamed from strdup. + (check_protection): Call xstrdup, not strdup. + +Tue Jun 14 17:26:08 1994 David Edelsohn (edelsohn@npac.syr.edu) + + * rs6000.h (TARGET_SWITCHES): Remove -mpowerpc64 and -mno-powerpc64. + * rs6000.c (rs6000_override_options): Remove MPC620 cpu variants. + + * rs6000.c (output_prolog): Fix error in loading size of large + stack frames. + +Tue Jun 14 17:24:09 1994 Chip Salzenberg (chip@fin.uucp) + + * reload1.c (reload_as_needed): Clear spill_reg_store at start. + (emit_reload_insns): Omit erroneous predicate of reload + deletion -- reload_spill_index is not indexed by regno. + +Tue Jun 14 15:59:55 1994 Ian Lance Taylor (ian@cygnus.com) + + * fixincludes: Wrap assert.h in extern "C" { } to avoid problem on + HP/UX, which uses NO_IMPLICIT_EXTERN_C. Also fix 12 May 94 + change. + +Tue Jun 14 15:12:50 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * jump.c (condjump_in_parallel_p): New function to detect + conditional jumps within PARALLEL insns. + (jump_optimize): Allow for some simple optimizations involving + conditional jumps within PARALLEL insns. + * reorg.c (get_jump_flags): Handle conditional jumps in PARALLEL + insns. + (get_branch_condition, fill_simple_delay_slots): Likewise. + (fill_eager_delay_slots, relax_delay_slots, dbr_schedule): Likewise. + + * pa-osf.h (SIZE_TYPE): Define as "long unsigned int" to be + compatable with system include files. + * pa1-osf.h (SIZE_TYPE): Likewise. + + * pa1-osf.h (WCHAR_TYPE): Define as "short unsigned int". + (WCHAR_TYPE_SIZE): Define as 16 bits. + + * pa.c (output_arg_descriptor): Restore old behavior for SImode + USE insns of FP registers (used by untyped call support). + +Mon Jun 6 09:15:43 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) + + * arm.c (arm_reload_out_hi): Rewrite. Add support for processors + running in big-endian mode. + (fp_immediate_constant): Fix typo in argument declaration. + * arm.h (PROMOTE_MODE): Promote HImode integers as signed. + (BYTES_BIG_ENDIAN): Allow OS description to override default. + (LOAD_EXTEND_OP): When big-endian, HImode loads are sign extended. + * arm.md (storehi_bigend): New expansion pattern. + (storeinthi): Rework to generate better code, add big-endian support. + (movhi): Add support for processors running in big-endian mode. + (movhi_bigend): New expansion pattern. + (matcher for movhi): Remove incorrect alternative for storing HImode to + memory. Only match when little endian. + (matcher for big-endian movhi): New pattern. + (matchers/peepholes for extended pre/post increment HImode loads): Only + match when little-endian. + (matcher for operating on adjacent memory locations): Load operation + into arith operands. + (peepholes for extended pre-increment byte loads): New patterns. + +Sat Jun 4 21:06:29 1994 Kaveh R. Ghazi (ghazi@noc.rutgers.edu) + + * sys-types.h (__gnuc_va_list): Use instead of va_list. + * sys-protos.h (*): Use __gnuc_va_list, not va_list. + +Sat Jun 4 07:19:39 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) + + * arm.c (print_multi_reg, output_call, output_call_mem, + output_mov_long_double_fpu_from_arm, + output_mov_long_double_arm_from_fpu, + output_mov_double_fpu_from_arm, output_mov_double_arm_from_fpu, + output_return_instruction, output_func_{prologue,epilogue}, + arm_print_operand, output_load_symbol): Print the register prefix + before each register name. + (output_func_prologue, output_lcomm_directive): Output the target + dependent comment char for asm comments. + * arm.h (FUNCTION_PROFILER): Delete duplicate definition. + (FUNCTION_PROFILER, TRAMPOLINE_TEMPLATE, ASM_FILE_START, + ASM_OUTPUT_REG_{PUSH,POP}, PRINT_OPERAND_ADDRESS): Output register + prefix before any explicit register name. + (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT, + ASM_OUTPUT_COMMON): Output the target dependent comment char. + (ASM_FILE_START): Output register alias for r10. + (REGISTER_NAMES): Output "r9" now for r9, not "rfp". + (ADDITIONAL_REGISTER_NAMES): New macro. + * arm.md (all patterns explicitly mentioning register names): Output + the target dependent prefix before the register name. + (all patterns with asm comments): Output the target dependent comment + character. + +Fri Jun 3 18:14:07 1994 Doug Evans (dje@cygnus.com) + + * c-common.c (decl_attributes): Fix section attributes. + * varasm.c (make_decl_rtl): If section attribute is being ignored, + really ignore it. + +Fri Jun 3 15:53:57 1994 Torbjorn Granlund (tege@adder.cygnus.com) + + * pa.h (FP_REGNO_P): New macro for intra file usage. + (REGNO_OK_FOR_FP_P): Use FP_REGNO_P. + (FUNCTION_VALUE_REGNO_P): Revert last change. + * pa.md (mulsi3): Use MATCH_DUP for op3, not MATCH_OPERAND. + + * pa.h (CONDITIONAL_REGISTER_USAGE): Partially revert last changes; + Make non-existing 1.0 fp regs fixed, including odd-numbered regs. + (enum reg_class): Get rid of SNAKE_FP_REGS, GENERAL_OR_SNAKE_FP_REGS, + and NON_SHIFT_REGS. + (REG_CLASS_NAMES): Likewise. + (REG_CLASS_CONTENTS): Likewise. + (REGNO_REG_CLASS): Likewise. + (HARD_REGNO_MODE_OK): Corresponding changes. Don't force 1.0 fpregs + to even regno here; fixed_regs does the job better. + (FP_REG_CLASS_P): Get rid of SNAKE_FP_REGS. + (REG_CLASS_FROM_LETTER, case 'z'): Deleted. + (HARD_REGNO_NREGS): Partially revert last change. + (CLASS_MAX_NREGS): Partially revert last change. + * pa.md (globally): Delete 'x' constraint or change it to 'f', + as apropriate. + +Fri Jun 3 09:18:55 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) + + * arm.h (CONST_OK_FOR_LETTER_P): Only allow constants that are valid + when inverted for 'K'. Only allow constants that are valid when + negated for 'L'. + * arm.md (all patterns): Update instruction generation to reflect new + meanings of constraints 'K' and 'L'. Use output type 'B' to + generate an inverted constant. Use output type 'N' to generate a + negated floating point constant. + +Thu Jun 2 22:43:58 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * pa.h (TARGET_SWITCHES): Enable TARGET_LONG_CALLS when + TARGET_PORTABLE_RUNTIME is enabled. + * pa.c (output_call): If TARGET_LONG_CALLS is enabled, then emit + an inline long-call sequence. + * pa.md (millicode define_delay): Disable delay slots if + TARGET_LONG_CALLS. + (call_internal_reg, call_value_internal_reg): If TARGET_LONG_CALLS + is enabled, then emit an inline long-call sequence. Fix length + computation for TARGET_LONG_CALLS. + (millicode calls): Fix length computation for TARGET_LONG_CALLS. + + * pa.h (ASM_DECLARE_FUNCTION_NAME): Fix typo. + +Thu Jun 2 18:28:07 1994 Jason Merrill (jason@deneb.cygnus.com) + + * stmt.c (expand_end_bindings): Don't bother emitting cleanups + after a barrier. + +Thu Jun 2 18:10:36 1994 Stephen L Moshier (moshier@world.std.com) + + * libgcc2.c (__floatdisf): Protect against double-rounding error. + +Thu Jun 2 17:47:54 1994 David Edelsohn (edelsohn@npac.syr.edu) + + * rs6000.h (MASK_PPCFPX): Delete. + (MASK_PPC_GPOPT, MASK_PPC_GFXOPT, TARGET_PPC_GPOPT, TARGET_PPC_GFXOPT): + New Macros. + (TARGET_SWITCHES): Remove -mpowerpc-fpx; add -mpowerpc-gpopt + and -mpowerpc-gfxopt. + * rs6000.c (processor_target_table): Use new macros. + * rs6000.md (define_function_unit): Remove ppc604 from sqrt list. + (divsi3, udivsi3): Remove spaces from PowerPC output templates. + (sqrtsf2, maxsf3, minsf3, sqrtdf2, maxdf3, mindf3): Use new macros. + (floatdidf2, fix_truncdfdi2, ffsdi2, muldi3): New patterns. + ({s,u}muldi3_highpart, divdi3, udivdi3, rotldi3): Likewise. + (movdi): Handle moves between FPRs and GPRs. + (scc insn): Correct swapped compare and delayed_compare attributes. + +Thu Jun 2 14:45:04 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) + + * arm.c (arm_condition_code): Move to start of file. + (const_pool_offset): Correct typo. + (fp_const_from_val): New function. + (all instruction generators): mark position where conditionalization + should be with '%?'. + (output_move_double): Use new '%m' output type to simplify load/store + multiple generation. + (shift_instr): Delete. + (shift_op): New function. + (output_arithmetic): Delete. + (output_arithmetic_with_shift): Delete. + (output_arithmetic_with_immediate_multiply): Delete. + (output_shifted_move): Delete. + (output_shift_compare): Delete. + (arm_print_operand): New function. + * arm.h (output_func_{prologue,epilogue}): Change declarations from + output_{prologue,epilogue}. + (arm_output_llc, arithmetic_instr, + output_arithmetic_with_immediate_mulitply, + output_arithmetic_with_shift, shift_instr): Delete function + definitions. + (ASM_OUTPUT_OPCODE): Delete. + (PRINT_OPERAND): Call arm_print_operand, instead of doing it directly. + (ARM_COMMENT_CHAR): New macro. + (ARM_REG_PREFIX): New macro. + (ARM_SIGN_EXTEND): New macro. + (PRINT_OPERAND_ADDRESS): Delete variable 'shift'. Change type of + variable 'offset' to HOST_WIDE_INT. Use arm_print_operand to handle + shifts in addresses. + * arm.md (all output patterns): Use new capabilities of + arm_print_operand to simplify output sequences. Mark position of + condition code with '%?'. + + * riscix.h (ASM_FINAL_SPEC [CROSS_COMPILE]): Correct typo. + +Thu Jun 2 08:14:00 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * c-common.c (c_build_type_variant): Don't change TYPE_MAIN_VARIANT + of new type. + + * expr.c (expand_expr, case ADDR_EXPR): If result is ignored, + just return const0_rtx. + +Wed Jun 1 13:52:01 1994 Jason Merrill (jason@deneb.cygnus.com) + + * i386/sco4.h: #define NO_IMPLICIT_EXTERN_C. + +Wed Jun 1 04:55:06 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) + + * arm.c: General tidy up. + #include . + Declare some prototypes. + (output_memory_reference_mode): Change type to enum machine_mode. + (arm_const_nmoves): Delete. + (adjacent_mem_locations, {load,store}_multiple_operation): Explicitly + declare to return int. + ({load,store}_multiple_operation): Change type of 'count', 'base' and + 'i' to HOST_WIDE_INT. + (output_add_immediate): Change type of 'n' to HOST_WIDE_INT. + (output_multi_immediate): Change type of Argument 'n' to + HOST_WIDE_INT, if wider than 32 bits, mask out the high bits. + (output_arithmetic_with_immediate_multiply): Change type of 'shift' + to HOST_WIDE_INT. + (output_func_{prologue,epilogue}): Renamed from + output_{prologue,epilogue}. Check all registers to see if they are + live, but only push/pop them if they are not in call_used_regs. + * arm.h: Delete some dead code. + (FUNCTION_{PROLOGUE,EPILOGUE}): Call output_func_{prologue,epilogue}. + (INITIAL_ELIMINATION_OFFSET): Inspect all registers, but only add + those that are not in call_used_regs. + (GO_IF_LEGITIMATE_INDEX): Change type of variable 'range' to + HOST_WIDE_INT; change type of variable 'code' to enum rtx_code. + (REVERSIBLE_CC_MODE): New macro. + + * arm.c (const_pool_offset): New function. + (get_prologue_size): New function. + (output_func_prologue): Eliminate variable code_size. + (output_func_epilogue): Only call arm_increase_location when + optimizing; also add the size of the function just compiled, and the + size of the prologue. + (arm_output_asm_insn): Delete. All callers changed to use + output_asm_insn. + (arm_output_llc): Delete. + (output_load_symbol): New first parameter 'insn'. Rewrite so that + assembler can detect whether we made a mistake. + * arm.h (arm_output_asm_insn): Delete declaration. + (EXTRA_CONSTAINT): New constraint 'R' to match a constant pool label. + Make constraint 'S' never match when not optimizing. + (CONSTANT_ADDRESS_P): Only accept symbols marked with SYMBOL_REF_FLAG + when optimizing. + (ENCODE_SECTION_INFO): Don't mark any symbols when not optimizing. + (ASM_OUTPUT_REG_{PUSH,POP}: Don't call arm_increase_location. + (ASM_OUTPUT_ADDR_VEC_ELT): Likewise. + * arm.md (all insn and peephole patterns): Rewrite without using + arm_output_asm_insn. + (matcher for movsi): New alternative to load symbol directly into a + register. Add new parameter in call to output_load_symbol. + + * arm.md (all patterns): Length attribute now describes length in + bytes. + * arm.c (short_branch): Convert length calculations to bytes. + +Tue May 31 20:35:39 1994 Torbjorn Granlund (tege@adder.cygnus.com) + + * pa.c (emit_move_sequence): Add missing argument to symbolic_operand. + (output_block_move): Prefer addl to add. + (print_operand): Print fp regs with L suffix when appropriate. + (output_arg_descriptor): Rewrite to accomodate new convention for + USE information. + + * pa.h (SECONDARY_MEMORY_NEEDED): Simplify. + (ADDITIONAL_REGISTER_NAMES): Define. + (CONDITIONAL_REGISTER_USAGE): Make PIC_OFFSET_TABLE_REGNUM fixed + again. + + Changes to combine fp registers for 1.0 and 1.1 architectures. + (Make explicit clobbers of fp registers work.) + * pa.h (FIRST_PSEUDO_REGISTER): Now 89. + (FIXED_REGISTERS): Delete 1.0 fp registers, + (CALL_USED_REGISTERS): Likewise. + (CONDITIONAL_REGISTER_USAGE): Almost deleted. + (REG_ALLOC_ORDER): Update register numbers. + (HARD_REGNO_NREGS): Delete special case for 1.0 fp registers. + (HARD_REGNO_MODE_OK): Rewrite. Don't allow use of odd fp registers + (enum reg_class): Delete HI_SNAKE_FP_REGS and FP_OR_SNAKE_FP_REGS. + (REG_CLASS_NAMES): Corresponding change. + (REG_CLASS_CONTENTS): Delete HI_SNAKE_FP_REGS and + FP_OR_SNAKE_FP_REGS. Make SNAKE_FP_REGS class contain all fp + registers. Update all values for changed register numbering. + (REGNO_REG_CLASS): Corresponding changes. + (REG_CLASS_FROM_LETTER): Delete 'y'. + (FP_REG_CLASS_P): No longer test HI_SNAKE_FP_REGS. + (CLASS_MAX_NREGS): Delete special case for 1.1 fp registers. + (FUNCTION_VALUE): Remove TARGET_SNAKE conditionals. + (LIBCALL_VALUE): Likewise. + (FUNCTION_ARG_REGNO_P): Likewise. + (FUNCTION_VALUE_REGNO_P): Likewise. Add registers 29 and 33. + (FUNCTION_ARG): Remove TARGET_SNAKE conditionals. Update register + numbers. + (REGNO_OK_FOR_FP_P): Update register number. + (REGISTER_NAMES): Delete special entries for 1.0 fp registers. + (DBX_REGISTER_NUMBER): Likewise. + * pa.c (compute_frame_size): Update for changed register numbers. + Simplify loops over general registers to stop at register 4. + (hppa_expand_prologue): Likewise. + (hppa_expand_epilogue): Likewise. + +Tue May 31 19:32:18 1994 Jim Wilson (wilson@cygnus.com) + + * mips.md (movesi_unaligned, movsi_ulw, movsi_usw): Delete. + (extv, extzv, insv, movsi_ulw, movsi_usw): New patterns. + + * dbxout.c (dbxout_type): Always emit cross-references if + use_gnu_debug_info_extensions set. + + * final.c (output_source_line): Call xcoffout_source_line. + * xcoffout.c (xcoff_lastfile): New variable. + (ABS_OR_RELATIVE_LINENO, ASM_OUTPUT_SOURCE_LINE): Define here. + (xcoffout_source_file, xcoffout_source_line): New functions. + (xcoffout_declare_function): Use xcoffout_source_file. + * xcoffout.h (xcoff_lastfile): Declare. + (DBX_OUTPUT_MAIN_SOURCE_FILENAME): Clean up. Set xcoff_lastfile. + (ABS_OR_RELATIVE_LINENO, ASM_OUTPUT_SOURCE_LINE): Delete here. + (DBX_OUTPUT_SOURCE_FILENAME): Delete. + + * unroll.c (copy_loop_body): Copy CALL_INSN_FUNCTION_USAGE field. + + * sparc.h (ASM_SPEC): Don't pass -k when -pg or -p given. + (OVERRIDE_OPTIONS): Warn when disabling -fpic. + + * mips-tdump.c (print_global_hdr): Remove "l" from printf format + for flags. + (print_sym_hdr): Add missing "l" to printf formats. + (print_symbol, print_file_desc): Likewise. + + * i960.h (PUT_SDB_TYPE): Adjust value for compatibility with GNU960 + toolchain. + + * sparc.h (LIB_SPEC): Don't link in /usr/lib/bb_link.o with -a. + (CONDITIONAL_REGISTER_USAGE): When -a, make %g1 and %g2 fixed. + + * mips/iris5gas.h, mips/iris5gdb.h: New files. + * configure (mips-sgi-irix5): Use iris5gas.h and iris5gdb.h. + +Tue May 31 19:21:44 1994 Torbjorn Granlund (tege@adder.cygnus.com) + + * pa.md (movsi matcher): Use ldi for moving of 0 to a reg. + (movhi matcher): Likewise. + (movqi matcher): Likewise. + (many patterns): Prefer addl to add, and shNaddl to shNadd. + (define_split for (plus (reg) (large_constant))): Cleanup. + (divsi3): Use match_dup for operand 3, not match_operand. + (udivsi3): Likewise. + (modsi3): Likewise. + (umodsi3): Likewise. + +Tue May 31 19:15:31 1994 Doug Evans (dje@cygnus.com) + + * toplev.c (v_pedwarn_with_decl): Don't even issue warnings from + pedantic errors in system header files. + +Tue May 31 17:16:41 1994 David Edelsohn (edelsohn@npac.syr.edu) + + * rs6000.md (extendqidi2, extendqisi2, extendqihi2): Remove + non-existent lba instruction. + (ashrdi3): Undo previous change. + +Tue May 31 12:30:00 1994 Jason Merrill (jason@deneb.cygnus.com) + + * toplev.c (lang_options): Add -f{no-,}implicit-templates. + (compile_file): Don't output SDB debugging info for + externals. + +Tue May 31 07:20:18 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * stmt.c (expand_asm_operands): Make MEM with BLKmode for clobber + of "memory". + * loop.c (note_addr_stored): A SET or CLOBBER of a BLKmode MEM means + that all memory is clobbered. + +Mon May 30 14:01:48 1994 Doug Evans (dje@cygnus.com) + + * gcc.c (default_compilers): Pass -MG to cpp if present. + (option_map): New option --print-missing-file-dependencies/-MG. + * cccp.c (print_deps_missing_files): New global. + (main): New argument -MG. Treat missing include files as + generated files and output dependencies for them. + +Mon May 30 10:42:14 1994 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) + + * m68k/dpx2cdbx.h (PREFERRED_DEBUGGING_TYPE): Define as SDB_DEBUG. + * m68k/dpx2g.h: Disable code that manages gcc.ifile. + +Mon May 30 10:35:49 1994 Stephen L Moshier (moshier@world.std.com) + + * optabs.c (expand_float): Avoid double-rounding when float is + is narrower than int. + * real.c (significand_size): New function. + * real.h (significand_size): Declare. + +Sun May 29 15:58:21 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * jump.c (jump_optimize): When deleting unneeded stack adjusts + or mem-mem copies, use delete_computation. + + * combine.c (force_to_mode): NEXT_SELECT is true for NEG. + Only exit quickly if X is narrower than MODE and MASK has all + bits in X's mode set. + (force_to_mode, case SUBREG): Don't check for WORD_REGISTER_OPERATIONS. + (force_to_mode, case NEG): Special-case test for low-order bit. + + * rtlanal.c (volatile_insn_p): Call ourselves in recursive scan. + +Sat May 28 19:03:23 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * c-parse.in (init, compstmt, stmt, all_iter_stmt_with_decl): + If the lookahead token is a constant and we need to pop the + momentary obstack, don't free it. + + * stmt.c (expand_end_case): Have INDEX_TYPE track conversions done + to INDEX_EXPR. + +Sat May 28 06:25:40 1994 Torbjorn Granlund (tege@adder.cygnus.com) + + * pa.md (call): Force address into register in non-symbol case. + (call_value): Likewise. + +Fri May 27 19:29:30 1994 Doug Evans (dje@cygnus.com) + + * toplev.c (compile_file): Call init_regs after `word_mode' is valid. + * regclass.c (init_reg_modes): If choose_hard_reg_mode can't find a + valid mode, fall back to word_mode. + + * expr.c (use_reg): Fix recording of USE information. + (use_regs): Likewise. + Delete argument `reg'. All callers changed. + * expr.h (use_regs): Update prototype. + * calls.c (expand_call): Update call to use_regs. Call use_reg + if parm is wholly in registers. - * g++: New file. + * configure: If compiling in separate dir, add subdirs to .gdbinit. - * 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. +Fri May 27 18:18:23 1994 David Edelsohn (edelsohn@npac.syr.edu) - * gcc.c (do_spec_1): For %D, also make -L's for startfile_prefix. - Also append the machine + * rs6000.md (zero_extendqidi2, zero_extendhidi2): Use rldicl + instruction. + * rs6000.h (RTX_COSTS): Update PPC603 and PPC604 values. - * fold-const.c (fold_convert): Properly handle real-to-real case. +Fri May 27 17:56:07 1994 Douglas Rupp (drupp@cs.washington.edu) - * configure (i486-*-sysv4*): New alternative. + * i386/xm-dos.h (DIR_SEPARATOR): New macro. -Tue Jan 28 00:37:24 1992 Ron Guilmette (rfg at ncd.com) +Fri May 27 17:45:08 1994 Holger Teutsch (teutsch@ffm-iw.Degussa.DE) - * dwarfout.c (location_attribute): Fix handling of objects which - were optimized out of existance for Dwarf Version 0 compliance. + * clipper.h (PCC_STATIC_STRUCT_RETURN): No longer defined. -Tue Jan 28 00:42:57 1992 James Van Artsdalen (james at bigtex.cactus.org) +Fri May 27 17:36:53 1994 Pat Rankin (rankin@eql.caltech.edu) - * Makefile.in (mostlyclean): Delete stack dump files too. + * make-l2.com: Update to handle `ginclude' subdirectory + when compiling libgcc2. -Mon Jan 27 18:26:27 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Fri May 27 17:30:37 1994 Matthias Pfaller (leo@marco.de) + + * ns32k.c (print_operand_address): print_operand_address + creates PLUS-rtls for internal use, so it has to handle them. - * rs6000.h (HAVE_ATEXIT, NO_DOLLAR_IN_LABEL): Now defined. +Fri May 27 16:13:53 1994 Chris Torek (torek@elf.bsdi.com) -Mon Jan 27 13:32:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * function.c (assign_parms): Set REG_USERVAR_P when parm + is passed by invisible reference but can live in register. - * 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. +Fri May 27 06:03:11 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cccp.c (main): Add terminating null, then call trigraph_pcp. + * reload.c (find_reloads): Revert to old code and change secondary + reloads to RELOAD_FOR_OPERAND_ADDRESS too. - * fixincludes, fixinc.svr4: Fail unless an arg was given. - * Makefile.in (install-fixincludes): Pass output dir as argument. + * combine.c (try_combine): Don't make complemented XOR for + constant out of range. - * Makefile.in: Renamed libgcc[12] to libgcc[12].a. - Likewise for tmplibgcc[12]. + * alpha.c (or_operand): Renamed from ior_operand. + * alpha.h (PREDICATE_CODES): Likewise. + * alpha.md (iordi3): Likewise. + (xordi3): Use or_operand and add second alternative. + (eqv): Only accept registers. - * toplev.c (rest_of_decl_compilation): Treat all fcns as if external. + * expr.c (expand_expr, case CONSTRUCTOR): If constant and large + enough for memcpy to be used, build constructor into static memory. - * Makefile.in (TAGS): Do the work in srcdir. - Include c-parse.h in files to move. + * alpha.md: Add define_split for sign-extended PLUS of a MULT + of an SImode comparison. -Mon Jan 27 10:54:24 1992 Jim Wilson (wilson at sphagnum.cygnus.com) + * combine.c (simplify_comparison): Narrow comparison for AND's + that are ZERO_EXTENDs. + Can widen for all comparisons if inputs are both sign extended. - * cccp.c (get_filename): Don't pass -1 file descriptor to close. + * reload1.c (reload_as_needed): Update spill_reg_order once we sort + spill_regs. -Mon Jan 27 00:26:33 1992 Michael Tiemann (tiemann at cygnus.com) + * alpha.md: Add define_split for sign-extended PLUS of an SImode + comparison; change comparison to DImode. - * 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. + * stmt.c (expand_end_case): Use old type of INDEX_EXPR when making + a constant. - * cp-decl2.c (grokfield): Don't specially hack static member - function names. + * local-alloc.c (requires_inout): Renamed from requires_inout_p and + returns number of alternatives that require a match. + (block_alloc): Use new function and handle case where all + alternatives have some operand that must match operand 0. - * cp-except.c (cplus_expand_raise): Test correct predicate that we - have a non-null value return. - (cplus_expand_{throw,reraise}): Ditto. + * local-alloc.c (qty_phys_num{,_copy}_sugg): New variables. + (qty_phys_has{,_copy}_sugg): Deleted. + (qty_sugg_compare{,_1}): New functions. + (local_alloc): Allocate and init new vars instead of deleted ones. + (block_alloc): Update and use new vars. + Order quantities using new functions when allocating quantities + with suggested registers. + (combine_regs, find_free_reg): Use new vars to count number + of suggestions. - * cp-typeck.c (c_expand_return): Handle case where named return - value has incomplete type. +Thu May 26 11:55:44 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sun Jan 26 20:50:55 1992 Michael Tiemann (tiemann at cygnus.com) + * jump.c (jump_optimize): When looking for an `if' statement + that takes two insns to compute a result using a temporary, + allow the temporary to be a SUBREG. - * cp-parse.y (LC): Fix rule to use `push_obstacks_nochange'. - (structsp): Use `pop_obstacks'. + * combine.c (simplify_comparison): Call CANONICALIZE_COMPARISON, + if defined. + * alpha.h (CANONICALIZE_COMPARISON): New macro. -Sun Jan 26 17:39:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * combine.c (simplify_if_then_else): Don't make (mult (cond)) + in simple case; leave as IF_THEN_ELSE instead. - * c-parse.y (LC): Use push_obstacks_nochange and always call - end_temporary_allocation. - (structsp, template_instantiate_once): After LC, use pop_obstacks. + * expmed.c (expand_divmod): Correctly set CAN_CLOBBER_OP0 when we've + converted OP0 to COMPUTE_MODE. - * c-decl.c (grokdeclarator): - Static function decl within a function is not external. +Thu May 26 11:41:58 1994 Ian Lance Taylor (ian@cygnus.com) -Sun Jan 26 08:14:53 1992 Michael Meissner (meissner at osf.org) + * fixincludes: Protect bool in curses.h with #ifndef __cplusplus, + since g++ now defines bool as a basic type. - * 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. + * fixinc.svr4: Protect definition of __P used in Solaris math.h + and floatingpoint.h to avoid future fixproto conflicts. - * 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. + * Makefile.in (stmp-fixinc): Don't pass ${srcdir} argument to + $(FIXINCLUDES); no longer needed, and always problematical for + binary only installations. + * fixincludes: Remove initialization of ${SRCDIR}. Don't + explicitly copy over multimedia/audio_errno.h; should be handled + by Oct 11, 1993 change. + * fixinc.svr4: Remove initialization of ${SRCDIR}. + * fixinc.sco, fixinc.dgux: Likewise. - * 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. +Fri May 20 12:48:24 1994 Jim Wilson (wilson@cygnus.com) - * decrose.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define these to - use the defaults on the OSF/1 reference platform. - (i386rose.h): Likewise. + * stmt.c (expand_exit_loop_if_false): Emit conditional jump around + unconditional loop exit instead of conditional loop exit. -Sun Jan 26 07:58:00 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * rs6000.c (output_prolog): Use multiple fputs calls instead of + one call with multiple strings. - * cse.c (cse_insn): Don't call insert_regs on a SUBREG. - When scanning table for SUBREG assignment, ignore invalid entries. + * iris4.h (STARTFILE_SPEC, LIB_SPEC): Define. - * cse.c (cse_insn): When looking for first non-deleted entry in - table, start by scanning backwards from the deleted entry. + * xcoffout.c (MAKE_LINE_SAFE): Delete. + (ASM_OUTPUT_LBB, ASM_OUTPUT_LBE): Don't use MAKE_LINE_SAFE. - * function.c (assign_parms): Set current_function_return_rtx - unconditionally. - (expand_function_start): Don't set it here. +Fri May 20 01:18:30 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sat Jan 25 06:44:16 1992 Mark Eichin (eichin at cygnus.com) + * config.sub (basic_machine): Accept cxux*. - * 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. +Thu May 19 19:12:41 1994 Mike Stump (mrs@cygnus.com) -Fri Jan 24 18:03:36 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * calls.c (expand_call): Only destroy temps here, if -fshort-temps + is given. - * tree.c (pop_momentary): Don't reference freed stack entry. +Thu May 19 19:07:59 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Jan 24 14:20:05 1992 Michael Tiemann (tiemann at cygnus.com) + * config.sub: Fix unrecognized os error message. - * 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. +Thu May 19 17:46:55 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-tree.c (lang_printable_name): Use DECL_RING, and don't free - the printable name for CURRENT_FUNCTION_DECL. + * reload1.c (emit_reload_insns): When seeing if an equivalent + register can have it's output reload deleted, check for REG_DEAD + notes for reload_in instead of calling dead_or_set_p. -Fri Jan 24 14:17:30 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu May 19 16:38:32 1994 Stephen L Moshier (moshier@world.std.com) - * gvarargs.h: If _ANSI_H, undef _VA_LIST_. + * emit-rtl.c (operand_subword): Fix arg of REAL_VALUE_TO_TARGET_SINGLE + and .._DOUBLE. Permit float subword extraction when host's word + width is wider than target's. - * c-typeck.c (pointer_int_sum): Don't distribute * into pointer diff. +Thu May 19 15:09:21 1994 Ian Lance Taylor (ian@cygnus.com) - * hp320.h (MD_STARTFILE_PREFIX): Defined. - (STANDARD_STARTFILE_PREFIX): Deleted. + * fixincludes: Make OSF/1 getopt.h fix work on AIX also. -Fri Jan 24 09:30:41 1992 Fred Fish (fnf at fishpond) +Wed May 18 15:34:10 1994 Jason Merrill (jason@deneb.cygnus.com) - * assert.h (__eprintf): Declare as prototype for __STDC__ + * fixincludes: Add forward declaration of struct exception to + SunOS 4 math.h. -Fri Jan 24 05:28:53 1992 James Van Artsdalen (james at bigtex.cactus.org) +Wed May 18 12:46:46 1994 Per Bothner (bothner@kalessin.cygnus.com) - * i386.md (jump,indirect_jump,tablejump): Don't output an align - directive here: let the following BARRIER do it. + * stor-layout.c (layout_decl): Allow any integral types + for bit fields. (Specifically, C++ now has a 'bool' type.) -Thu Jan 23 11:54:11 1992 Ron Guilmette (rfg at ncd.com) +Wed May 18 16:32:40 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * i486v4.h: New file. + * reload1.c (compare_spill_regs): Fix typo in declaration. -Thu Jan 23 20:34:22 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) +Wed May 18 10:39:00 1994 Brendan Kehoe (brendan@lisa.cygnus.com) - * fixinc.svr4: Surround uses of ${INPUT} with "" instead of '' - so that it will get expanded. + * fixinc.svr4: Avoid the SVR4 typedef of bool in curses.h when + compiling for C++, since g++ now supports it as an official typename. -Thu Jan 23 17:50:13 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Tue May 17 18:06:32 1994 Matthias Pfaller (leo@marco.de) - * 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. + * ns32k.md: Don't use the extsd/extd instructions on the ns32532. - * rs6000.h (ADDITIONAL_REGISTER_NAMES): Add so we can disambiguate - fixed and floating registers. +Tue May 17 17:44:38 1994 Pat Rankin (rankin@eql.caltech.edu) - * rs6000.md (ashrdi3): Reject all but constant shift counts. + * make-cc1.com (CFLAGS): Separate include file handling; for + stage 1, CFLAGS1 is appended to CFLAGS, otherwise CFLAGS2. - * jump.c (simplejump_p): Don't access PATTERN unless we know it is - a JUMP_INSN. +Tue May 17 16:35:22 1994 Jason Merrill (jason@deneb.cygnus.com) - * combine.c (get_last_value): Don't do a recursive call for a - paradoxical SUBREG. + * convert.c (convert_to_real): Accept boolean values. - * 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. + * config/m68k/hp320.h: #define NO_IMPLICIT_EXTERN_C - * stor-layout.c (layout_type): Handle alignment for arrays the same - as we do for records and unions. +Tue May 17 15:52:05 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * calls.c (expand_call): Ignore `const' on void functions. + * libgcc2.c (__umoddi3): Correct type of variable `w'. - * 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. + * combine.c (simplify_set): Move call to make_field_assignment + to end; if SRC or DEST is a (clobber (const_int 0)), return it. + (force_to_mode): If X is a CALL, just return it. - * 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. + * reload.c (find_reloads): Properly account for cost when + constant is forced to memory to ensure same alternative chosen later. -Thu Jan 23 13:33:40 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue May 17 11:30:19 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) - * i386v4.h (CPP_PREDEFINES): Don't define X86. + * combine.c (simplify_set): Use rtx_equal_p to compare cc_use and its + setter. + (make_extraction): Don't put a subreg around a register if it is + already in the correct mode. - * c-lex.c (readescape): Warn for \a and \x if warn_traditional. - Handle \v as vertical tab regardless of -traditional. + * reload1.c (compare_spill_regs): New function. + (reload_as_needed): Sort the spilled regs. + (allocate_reload_reg): If we have group needs and failure would be + fatal, do not try to do round-robin allocation of the spill regs. - * fixincludes, fixinc.svr4: Make LIB absolute, near the beginning. +Mon May 16 18:58:10 1994 David Edelsohn (edelsohn@npac.syr.edu) - * fixincludes: Simplify egrep command while matching the same lines - (plus occasional additional lines). + * rs6000.md (zero_extendqidi2): Fix omission of TARGET_POWERPC64 + test in previous change. - * function.c (fixup_memory_subreg): New arg UNCRITICAL. Calls changed. +Mon May 16 14:59:25 1994 Per Bothner (bothner@cygnus.com) - * gcc.c (process_command): Handle LPATH like LIBRARY_PATH. + * dbxout.c (dbxout_type): When emitting an ENUMERAL_TYPE, if + the precision is different from the default precision (perhaps + because of -fshort-enums), write out the precision. - * svr3.h (ASM_LONG): Deleted. +Mon May 16 17:44:49 1994 Stephen L Moshier (moshier@world.std.com) - * gvarargs.h: Ignore _VA_LIST_ if _ANSI_H_; - don't define _VA_LIST_ if already defined. + * real.c (ereal_from_int, ereal_to_int, etarsingle): Correct + signed/unsigned discrepancies. + (ereal_from_double): Avoid "right shift count too big" warning + in previous change. + * final.c (split_double): Fix arg of REAL_VALUE_TO_TARGET_DOUBLE. -Thu Jan 23 09:10:52 1992 Tom Wood (wood at dg-rtp.dg.com) + * real.h (REAL_VALUE_FROM_TARGET_SINGLE, .._DOUBLE): Change + arg from long to HOST_WIDE_INT. + * real.c (ereal_from_float, .._double): Likewise, and unpack + the HOST_WIDE_INTs. - * m88kluna.h (includes): Include aoutos.h. +Mon May 16 16:16:32 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) -Thu Jan 23 09:10:52 1992 Ron Guilmette (rfg at ncd.com) + * flow.c (try_pre_increment_1): Don't try to create a pre-increment + expression if the register dies in the succeeding insn. - * va-i860.h (__savereg): Fix typo. + * expr.c: Use #ifdef TARGET_EDOM, not #if. - * i860.h (PREDICATE_CODES): Added definition. + * expr.c (convert_move): When {zero,sign}_extending, allow a wider + intermediate than to_mode if truncation is a no-op. - * i386v4.h (ASM_FILE_START): Definition added which generates - .version directive. +Mon May 16 11:49:28 1994 Doug Evans (dje@cygnus.com) -Wed Jan 22 23:15:45 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + * m68k/apollo68.h (REGISTER_PREFIX_MD): Delete. - * make-cc1.com: Predefine symbols for "rename" and "bison"; always - generate c-parse.h when generating c-parse.c. +Mon May 16 08:11:57 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Wed Jan 22 20:01:11 1992 Per Bothner (bothner at cygnus.com) + * rs6000.c (rs6000_convert_preincs): Delete. + * rs6000.h (FINAL_PRESCAN_INSN): Delete. - * 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. + * c-typeck.c (initializer_constant_valid_p): Rework to use + precision, not size. + Allow conversions from integer to pointer if int is wide enough. -Wed Jan 22 20:01:11 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * c-decl.c (finish_enum): Handle VALUES being an ERROR_MARK. - * fixincludes: Surround uses of ${INPUT} with "" instead of '' - so that it will get expanded. + * rs6000.md: Replace bogus "andil" opcode with rlinm. - * gcc.c (default_compilers): For c++, define __GNUG__ to 2, and - pass -trigraphs. +Sat May 14 21:26:05 1994 Doug Evans (dje@cygnus.com) - * cccp.1, cpp.1, gcc.1, g++.1: Delete more RCS variables. + * hard-reg-set.h (GO_IF_HARD_REG_EQUAL): Fix typo. -Wed Jan 22 19:02:06 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * jump.c (find_cross_jump): Two CALL_INSNs only compare equal if + their CALL_INSN_FUNCTION_USAGEs are the same as well. - * 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. + * stupid.c (stupid_life_analysis): Make sure a function result reg + is still live if it contains an argument. -Wed Jan 22 09:25:07 1992 Tom Wood (wood at dg-rtp.dg.com) +Fri May 13 22:17:48 1994 Doug Evans (dje@cygnus.com) - * c-typeck.c (comp_target_types): Make decl static. - Don't forget to return the value. - (function_types_compatible_p, comptypes): Initialize `val'. + * reorg.c (mark_referenced_resources): Fix typo. -Tue Jan 21 13:29:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri May 13 18:54:38 1994 Jason Merrill (jason@deneb.cygnus.com) - * cross-make (ALL): Override with definition it here. - * configure: Don't edit its value explicitly here. + * integrate.c (integrate_decl_tree): Use copy_node to make a copy + of the decl. Also call copy_lang_decl to copy the + language-specific bits. + * tree.h: Declare copy_lang_decl. + * c-decl.c (copy_lang_decl): No-op function that will never + actually be called. - * crtstuff.c (__do_global_ctors): Include DO_GLOBAL_CTORS_BODY - in crtend.o, not in crtbegin.o. +Fri May 13 15:12:20 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * cse.c (cse_insn): Correctly check for two modes being the + same number of words. - * 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. +Fri May 13 05:03:51 1994 Richard Stallman (rms@mole.gnu.ai.mit.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. + * c-parse.in (enumlist): Add error alternative. - * 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. +Thu May 12 23:25:38 1994 Jason Merrill (jason@deneb.cygnus.com) - * c-typeck.c (default_conversion): Don't use initial value if BLKmode. - If do use the initial value, update `type'. + * c-common.c (truthvalue_conversion): If expr is a BIT_AND_EXPR + where one of the operands is integer_onep, just return expr. - * arm.h (STRUCTURE_SIZE_BOUNDARY): New definition. +Thu May 12 20:08:49 1994 Mike Stump (mrs@cygnus.com) - * stor-layout.c (layout_type): Ignore MAX_FIXED_MODE_SIZE for integers. + Fixup lifetime of temporaries. - * ultrix.h (SIZE_TYPE): Use `unsigned int'. - * Makefile.in (install-common): Add missing -f in rm. - (install-fixincludes): Install the README file. + * calls.c (expand_call): Only destroy temporaries at the end + of function calls, if flag_short_temps is set. + * expr.c (safe_from_p, expand_expr): Handle CLEANUP_POINT_EXPRs. + * expr.c (expand_expr): Improve handling of temporaries inside + COND_EXPRs, cures call to sorry. + * expr.c (defer_cleanups_to): New routine to handle the deferral + of cleanups. + * flags.h (flag_short_temps): New flag, to allow better control + over the lifetime of temporaries. + * toplev.c (flag_short_temps, lang_options): Ditto. + * tree.def (CLEANUP_POINT_EXPR): Add, to allow better control over + the lifetime of temporaries. - * fixincludes: Don't match on size_t, etc., since we don't actually - change them. +Thu May 12 19:33:54 1994 David Edelsohn (edelsohn@npac.syr.edu) -Mon Jan 20 23:22:45 1992 Michael Tiemann (tiemann at cygnus.com) + * rs6000.md (function units): Numerous cycle count change. + (zero_extendqidi2, extendqidi2, zero_extendhidi2): New patterns. + (extendhidi2, zero_extendsidi2, extendsidi2): Likewise. + (zero_extendqisi2, zero_extendqihi2, zero_extendhisi2): Use + andil/andi instead of rlinm/rlwinm. + (zero_extendqihi2): Add condition register variants. + (extendqisi2, extendqihi2): Use extsb for PowerPC. + (adddi3, subdi3, negdi2, ashrdi3): Emulate only if !TARGET_POWERPC64. + (movdf, movdi, movti): New PowerPC64 versions. + (load/store with update): New PowerPC64 patterns. - * cp-call.c (ideal_candidate): Don't see two functions as ambiguous - if one is argument-by-argument equivalent or better than another. +Thu May 12 18:50:55 1994 Stephen L Moshier (moshier@world.std.com) -Mon Jan 20 14:08:06 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * real.c (m16m): Change first arg to int; all callers changed. - * toplev.c (strip_off_ending): Add ".ada". +Thu May 12 18:46:26 1994 Bill Cox (bill@cygnus.com) -Mon Jan 20 13:53:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fixincludes: Add definition of DBL_MAX to math.h for Lynx math.h. + Correct return type of strlen in Lynx string.h. + Delete definition of 'void' as 'int' from Lynx curses.h. - * protoize.c (xfree): No longer static. +Thu May 12 18:11:33 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Allow tm.h to override. + * reload.c (find_reloads): Don't change a secondary reload + to RELOAD_FOR_OPERAND_ADDRESS. - * final.c (leaf_renumber_regs_insn): Do just the pattern of an insn. + * function.c (assign_parms): Fix typo in previous change. - * pyr.h (PCC_BITFIELD_TYPE_MATTERS): Defined. - (STRUCTURE_SIZE_BOUNDARY): Deleted. +Thu May 12 15:48:54 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de) - * mips.c: Clean up spacing around square brackets. + * c-common.c (decl_attributes): Revert to identifiers for + mode attributes. + * libgcc2.c: Likewise. - * 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. +Thu May 12 15:41:38 1994 Pat Rankin (rankin@eql.caltech.edu) -Sun Jan 19 17:32:19 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * vax/xm-vms.h (lookup_name_current_level_global): New macro. - * reload1.c (emit_reload_insns): Fix typos when checking for secondary - icode. +Wed May 11 17:44:47 1994 Jim Wilson (wilson@cygnus.com) -Sun Jan 19 15:28:53 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cse.c (cse_insn): Set src_eqv if the dest is a STRICT_LOW_PART. - * global-alloc.c (global_alloc): If LEAF_REGISTERS, those are the - regs that cost nothing to save, for setting regs_already_used. + * expmed.c (store_fixed_bit_field): Delete code to handle + MODE_FLOAT values here. + (store_bit_field): Put it here instead. - * expr.c (expand_builtin): Preserve function value reg - around the call to __builtin_saveregs. +Wed May 11 16:18:21 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * configure (mips-sgi-irix4*, mips-sgi-irix*): Set install_with_cp. + * a29k.c (a29k_clobbers_to): New function. + * a29k.md (clobbers_to): Deleted. + (call_internal, call_value_internal): New patterns. + (call, call_value): Just call new patterns and a29k_clobbers_to. - * c-decl.c (start_function): - Check properly for `static' function in handling -Wmissing-prototypes. + * stor-layout.c (layout_type): Use POINTER_SIZE, instead of width + of Pmode, when appropriate. - * libgcc2.c (__main): Omit this fn if INIT_SECTION_ASM_OP. + * calls.c (emit_call_1): Put new function usage data at end of + any data already there. + * expr.c (expand_builtin_apply): Likewise. -Sun Jan 19 13:23:13 1992 Fred Fish (fnf at sunfish) + * sched.c (sched_analyze_insn): Fix typo in last change. - * amix.h (ASM_OUTPUT_ASCII): Override version in svr4.h. +Wed May 11 14:45:12 1994 Doug Evans (dje@cygnus.com) -Sun Jan 19 13:16:56 1992 Michael Tiemann (tiemann at cygnus.com) + * configure: Fix handing case of no language subdirs. - * cp-search.c (lookup_field): Accept IS_AGGR_TYPE_CODE, not - just == RECORD_TYPE. +Wed May 11 12:11:40 1994 Ian Lance Taylor (ian@cygnus.com) - * cp-class.c (finish_struct): Clear a tentative setting of - DECL_BIT_FIELD. + * fixincludes: Don't recursively search symlinks to `.'. - * cp-decl.c (start_decl): Don't call `pushclass' for incomplete - CONTEXT. +Tue May 10 17:49:57 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de) - * 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'. + * configure: Include stage4 in the list. -Sun Jan 19 04:10:16 1992 James Van Artsdalen (james at bigtex.cactus.org) + * gcc.c (process_command): Kludge in stageN/../include instead of + include. - * configure: Fix typo inserting INSTALL=cp into makefile. +Mon May 9 21:04:19 1994 Jim Wilson (wilson@cygnus.com) -Sat Jan 18 12:06:58 1992 Michael Tiemann (tiemann at cygnus.com) + * sparc.h (*TF*_LIBCALL): Delete `*' from libcall name. - * 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. +Mon May 9 18:42:10 1994 Matthias Pfaller (leo@marco.de) - * 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. + * ns32k.c (output_move_dconst): Fix errors on ranges. - * 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. +Mon May 9 18:33:16 1994 Chris Torek (torek@bsdi.com) - * cp-decl2.c (lang_f_options): Add recognizers for -f{no-}builtin, - -f{no-}ident, and -ansi. Also, remove unnecessary "no-*" forms. + * gcc.c (delete_if_ordinary): New function. + (delete_temp_files, delete_failure_queue): Call it. - * cp-init.c (emit_base_init): If PEDANTIC, don't let base - initializers leak up the hierarchy. +Sat May 7 12:12:58 1994 Andreas Neubacher (aneubach@risc.uni-linz.ac.at) - * cp-parse.y (structsp): Disable gratuitous error message. + * i386/seq-sysv3.h (LIB_SPEC): Support -fshared-data. + (CPP_SPEC): Set _SEQUENT_ to 1. + (SHARED_SECTION_ASM_OP, ASM_OUTPUT_SHARED_COMMON): Supply new macros. + (SHARED_BSS_SECTION_ASM_OP, BSS_SECTION_FUNCTION): Likewise. - * cp-call.c (convert_harshness): Don't overlook PENALTY when - signed/unsigned differences are noted (in both POINTER_TYPE and - REFERENCE_TYPE cases). +Sat May 7 10:09:49 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * toplev.c (strip_off_ending): Grok ".ii" endings (C++ preprocessed - files). + * reorg.c (mark_{referenced,set}_resources): Fix typos in last change. - * cp-typeck.c (build_component_ref): Add special handler when - COMPONENT is the CLASSTYPE_VFIELD name for BASETYPE. + * reload1.c (emit_reload_insns): Don't try to delete output reload + if there isn't one. -Sat Jan 18 08:29:58 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * i386.h (REG_ALLOC_ORDER): New macro. - * cse.c (cse_insn): Don't make constant pool entries in MODE_CC modes. + * sched.c (sched_analyze_insn, attach_deaths_insn): Look at + CALL_INSN_FUNCTION_USAGE. -Sat Jan 18 00:28:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * reload1.c (choose_reload_regs): Remove previous change. - * Makefile.in (install-common): Fix typo installing gcc. - - * crds.h, isi.h, newpbb.h, tti68k.h: Add #error because -m68000 - will cause a crash (I think), to ask people what to do. +Fri May 6 20:32:22 1994 Doug Evans (dje@canuck.cygnus.com) - * gmicro.h (ASM_FILE_START): Don't do anything. - (TARGET_DEFAULT): Turn on the bitfield flag. - (TARGET_SWITCHES): Get rid of the bitfield options. + * sparc.c (leaf_reg_backmap): Delete. + (sparc_flat_compute_frame_size): Renamed from + sparc_frw_compute_frame_size. All callers changed. + (sparc_flat_save_restore): Likewise. + (sparc_flat_output_function_prologue): Likewise. + Delete decl of call_used_regs. + Delete reference to frame_base_name, use frame pointer explicitly. + Print prologue end marker. + (sparc_flat_output_function_epilogue): Likewise (renaming). + Delete decls of asm_out_data_file, asm_out_file, call_used_regs. + Print epilogue start marker. + (sparc_flat_epilogue_delay_slots): Likewise (renaming). + (sparc_flat_eligible_for_epilogue_delay): Likewise. + * sparc.h (TARGET_FRW): Add note saying this option is deprecated. + (TARGET_FLAT): Renamed from TARGET_FRW_COMPAT. + (TARGET_SWITCHES): Delete references to -mfrw, -mfrw-compat. + Add -mflat. + (CONDITIONAL_REGISTER_USAGE): If -mflat, fix %i7, rename "%fp" + to "%i7", and make %g7 a global_reg. + (FRAME_POINTER_REQUIRED): Handle -mflat. + (INITIAL_FRAME_POINTER_OFFSET): Likewise. + (ARG_POINTER_REGNUM): Explicitly say it's the frame pointer. + (LEAF_REGISTERS): Make %g7 not a leaf register. + (leaf_reg_backmap): Delete. + (LEAF_REG_BACKMAP): Likewise. + (FUNCTION_PROLOGUE): Handle -mflat. + (FUNCTION_EPILOGUE): Likewise. + (DELAY_SLOTS_FOR_EPILOGUE): Likewise. + (ELIGIBLE_FOR_EPILOGUE_DELAY): Likewise. - * c-lex.c (readescape): No warning for \?. +Fri May 6 14:05:00 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de) - * protoize.c (munge_compile_params): Fix cast that sets compile_params. - (xmalloc, xrealloc): No longer static. - * Makefile.in (protoize, unprotoize): Add LIBDEPS as deps. + * tree.h (TYPE_ATTRIBUTES): New macro. + (struct tree_type): attributes, new field. + (precision): Move this field up for better alignment. + (attribute_list_{equal,contained}): Prototype for new functions. + (build_type_attribute_variant): Prototype for new function. + * c-parse.in: Rewrite attribute parsing; update the expected + conflicts and state numbers. + * tree.c (TYPE_HASH): Move definition to top of file. + (make_node): Add support for SET_DEFAULT_TYPE_ATTRIBUTES. + (build_type_attribute_variant): New function. + (type_hash_lookup): Check if the attributes match. + (attribute_list_{equal,contained}): New functions. + * c-typeck.c (common_type): Add attribute merging. + (comp_types): Use COMP_TYPE_ATTRIBUTES macro. + * print-tree.c (print_node): Print attributes. + * c-common.c (decl_attributes): Move the attribute + recognition and rejection here from c-parse.in. + (decl_attributes): Use VALID_MACHINE_ATTRIBUTE macro. - * va-i860.h (va_arg): Use __extension__ to suppress pedantic warning. - * va-sparc.h, va-spur.h, va-pyr.h: Likewise. + * regclass.c (init_reg_sets_1): Eliminate several permanent + call_fixed_regs. - * 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*. + * rtl.def (CALL_INSN): Define new CALL_INSN_FUNCTION_USAGE field. + * rtl.h (CALL_INSN_FUNCTION_USAGE): New macro. + (find_reg{,no}_fusage): Prototype for new function. + * rtlanal.c (reg_used_between_p): Check usage exprs on CALL_INSNs. + (reg_referenced_between_p, reg_set_p, dead_or_set_regno_p): Likewise. + (find_reg{,no}_fusage): New functions. + * combine.c (try_combine): Restrict combining on CALL_INSNs. + (distribute_{notes,links}): Look at CALL_INSN_FUNCTION_USAGE. + * cse.c (cse_insn): Invalidate CLOBBERed registers. + (count_reg_usage): Count registers in USE rtls on CALL_INSNs. + * emit-rtl.c (make_call_insn_raw): New function. + (emit_call_insn{,_before}): Use make_call_insn_raw. + * calls.c (prepare_call_address, emit_call_1, expand_call): Change + from USE and CLOBBER insns to using CALL_INSN_FUNCTION_USAGE. + (emit_library_call{,_value}): Likewise. + * expr.c (use_regs, expand_builtin_apply): Likewise. + * expr.h (use_regs): Likewise. + * flow.c (flow_analysis, find_basic_blocks): Likewise. + * caller-save.c (insert_save_restore): Likewise. + * function.c (fixup_var_refs_insns): Likewise. + * jump.c (find_cross_jump, get_label_{before,after}): Likewise. + * reload1.c (emit_reload_insns): Likewise. + * reorg.c (mark_referenced_resources, mark_set_resources): Likewise. + * integrate.c (save_for_inline_copying, expand_inline_function): + Copy CALL_INSN_FUNCTION_USAGE field. + * reload1.c (choose_reload_regs): Ban filled argument registers. + * caller-save.c (save_call_clobbered_regs): CALL_INSN_FUNCTION_USAGE + requires a sharper liveliness check. + * flow.c (propagate_block): Mark all registers mentioned in USE + usage expressions on a CALL_INSN as used. + * jump.c (find_cross_jump): If STACK_REGS is defined two + CALL_INSNs only compare equal if their USE usage rtls are + the same as well. + * stupid.c (stupid_life_analysis): Check the usage information + on CALL_INSNs. - * gcc.c (process_command): - Handle the standard_exec_prefix* before the md_*_prefix. + * function.c (assign_parms): Spread out the REG_EQUIV notes + on CONCATs. - * i386.h, ns32k.h (PCC_BITFIELD_TYPE_MATTERS): Defined. +Fri May 6 12:43:10 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in (libgcc1.null): Depend on GCC_PASSES. + * reload.c (find_reloads): Ignore alternatives that will + not be reloadable due to PREFERRED_RELOAD_CLASS. - * cccp.c (lookup_import, add_import): VMS kludges so they compile. - (hack_vms_include_specification): Add forward declaration. + * explow.c (allocate_dynamic_stack_space): Just return + virtual_stack_dynamic_rtx if asking for zero bytes. + Set current_function_calls_alloca here and also record new + stack level for nonlocal gotos. + * expr.c (expand_builtin, case BUILT_IN_ALLOCA): Don't + set current_function_calls_alloca here nor record new + stack level for nonlocal gotos. + * stmt.c (expand_decl): Likewise. - * stor-layout.c (layout_record): Handle BITFIELD_NBYTES_LIMITED - just like one of the things done for PCC_BITFIELD_TYPE_MATTERS. + * function.c (assign_parms): Use expr_size when appropriate. - * x-next, x-i386mach: Deleted. - * t-libc-ok: New file. Define just LIBGCC1. - * configure (i386-*-mach, m68k-next-*): Use t-libc-ok. + * c-typeck.c (comptypes): An enum type is compatible with type of + same signedness as well as precision. - * t-svr4 (FIXINCLUDES): Defined. - * t-m88kv4 (FIXINCLUDES): Defined. - * t-svr3 (EXTRA_PARTS): Defined. - * t-i386sco (EXTRA_PARTS): Defined. + * alpha.h (CONST_COSTS): Revise all costs. + * alpha.md (addsi3, subsi3): Add define_expand to make + adddi3/subdi3; old pattern is now anonymous. - * configure (sparc-*-sysv4*): New alternative. + * combine.c (simplify_rtx, case MULT): Don't convert MULT to + shift here. + (simplify_logical, case IOR): Convert back to PLUS if valid and + it will combine with another PLUS. + (extract_left_shift): New function. + (make_compound_operation, case ASHIFTRT): Simplify by calling it. + (force_to_mode): Don't ignore if X is a SUBREG. + (force_to_mode, case AND): Try to turn unchecked bits on + instead of just off and see which is cheaper. - * 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. +Fri May 6 11:22:23 1994 Ian Lance Taylor (ian@cygnus.com) -Sat Jan 18 23:15:08 1992 Ron Guilmette (rfg at ncd.com) + * Makefile.in (libgcc1.a, libgcc2.a): Don't ignore errors in for + loops over $(LIB[12]FUNCS_EXTRA). - * va-i860.h (va_list): Made __reg_base field type long* to avoid - compilation errors. - (__savereg): Add explicit cast to (__va_saved_regs *). +Fri May 6 06:14:56 1994 Mike Stump (mrs@cygnus.com) -Fri Jan 17 15:09:34 1992 James Van Artsdalen (james at bigtex.cactus.org) + * expr.c (expand_cleanups_to): Tell expand_expr that we are going + to ignore the result of the cleanup. - * 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 May 5 17:45:02 1994 Stan Shebs (shebs@andros.cygnus.com) - (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. + * gcc.c (do_spec_1): If -save-temps, always clear the deletion flag. + +Thu May 5 13:39:35 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * combine.c (simplify_rtx, case SUBREG): Don't call force_to_mode. + (simplify_set): Call force_to_mode here. + + * m68k.md (movhi): Simplify code involving jump-table + reference. + (load_address): Handle case of jump-table reference; output + required label. + +Thu May 5 12:28:16 1994 Ian Lance Taylor (ian@cygnus.com) + + * cccp.c (main): Include source file name in dependency output. - (CONST_OK_LETTER_P): Document uses of letters. +Wed May 4 18:45:07 1994 Doug Evans (dje@cygnus.com) - * 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. + * config.sub: Remove duplicate -freebsd* entry. - (get_asm_operand_lengths): New function. - (constrain_asm_operands): New function. Like constrain_operands, - but records some information about the matched alternative. +Wed May 4 18:03:34 1994 Jason Merrill (jason@deneb.cygnus.com) - (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. + * cccp.c (special_symbol): Don't copy simple strings, use wchar_type. + (main): Setup wchar_type for C++ if needed. + (initialize_builtins): Use wchar_type. - (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 May 4 17:19:34 1994 Mike Collison (collison@sw.stratus.com) - (change_stack): New argument to insert any new insns before INSN - instead of after. All callers changed. + * reload.c (push_secondary_reload): Use TYPE for secondary type + if it is RELOAD_FOR_{INPUT,OUTPUT}_ADDRESS. - (emit_swap_insn): Abort if the reg is not found in REGSTACK. +Wed May 4 16:35:49 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in (reg-stack.o): Depends on insn-config.h. + * configure (i386-gnu): New, same as i386-mach. -Fri Jan 17 16:38:32 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * global.c (find_reg): When looking for locally-allocated hard + regs to reclaim, use REG_ALLOC_ORDER to find least used. - * 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. + * reload1.c (emit_reload_insns): Add another way to delete an + output reload. - * gcc.c (do_spec_1): Add missing arg in recursive call. - (link_command_spec): Don't pass -s, -S, -u*, -X, -Y*. + * reload1.c (reload, reload_as_needed): Check for use of return + register with reg_referenced_p, not reg_mentioned_p. -Fri Jan 17 12:51:28 1992 Jim Wilson (wilson at cygnus.com) +Wed May 4 14:23:51 1994 Jim Wilson (wilson@cygnus.com) - 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. + * mips.c (override_options): Delete TARGET_LLONG128 references. + * mips.h (MASK_LLONG128, TARGET_LLONG128): Delete. + (TARGET_SWITCHES): Delete -mlonglong128 option. + (LONG_LONG_TYPE_SIZE): Delete TARGET_LLONG128 reference. - * hp800.h, hp800.md: Delete RCS Header variables. + * mips/bsd-4.h, mips/bsd-5.h, mips/news4.h, mips/news5.h, + mips/nws3250v4.h, mips/svr3-4.h, mips/svr3-5.h, mips/svr4-4.h, + mips/svr4-5.h (CPP_SPEC): Delete. + * mips/dec-bsd.h (CPP_SPEC): Define __SIZE_TYPE__, + __PTRDIFF_TYPE__, and __mips. + (SIZE_TYPE): Delete. + * mips/dec-osf1.h (PTRDIFF_TYPE): Delete. + (CPP_SPEC): Define, overriding ultrix.h version. + * mips/iris5.h (CPP_SPEC): Define __SIZE_TYPE__, __PTRDIFF_TYPE__, + and __mips. + * mips/osfrose.h (CPP_SPEC): Define __PTRDIFF_TYPE__ and __mips. + (PTRDIFF_TYPE): Delete. + (SIZE_TYPE): Define. + (SET_ASM_OP): Define. + * config/mips/ultrix.h (CPP_SPEC): Delete. + (SIZE_TYPE): Delete. - * reg-stack.c (replace_reg): Change `abort' to `abort ()'. +Tue May 3 19:04:43 1994 Jason Merrill (jason@deneb.cygnus.com) -Fri Jan 17 14:30:14 1992 Michael Meissner (meissner at osf.org) + * Makefile.in (stamp-objlist): Depend on OBJS and BC_OBJS so that + subdir makes will know to re-link. - * 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 May 2 16:05:05 1994 Per Bothner (bothner@kalessin.cygnus.com) -Fri Jan 17 13:24:33 1992 Tom Wood (wood at dg-rtp.dg.com) + * toplev.c (compile_file): If static consts haven't been written + out yet, don't do it just because TREE_USED is set (if we're + optimizing). (This wins for C++, which uses static consts a lot.) - * Makefile.in (unprotoize.o): Use the rm -f option. +Mon May 2 16:42:59 1994 Jim Wilson (wilson@cygnus.com) - * cp-lex.c (check_newline): Define `used_up' as in c-lex.c. - (in_system_header): Define as in c-lex.c. + * stmt.c (expand_end_case): Make sure gen_casesi operands are + valid by passing them through copy_to_mode_reg if necessary. + * mips.md (casesi): Delete force_reg calls. -Fri Jan 17 08:14:04 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * ns32k.c (output_move_double): Always use split_double for the + CNSTOP case. - * reorg.c (delete_from_delay_slot): Pass correct length to - emit_delay_sequence. + * gcc.c (translate_options): For options that take an argument, + don't skip the argument if it doesn't exist. - * genattrtab.c (substitute_address): Handle IF_THEN_ELSE in addition - to COND. + * c-decl.c (pushdecl): Use lookup_name_current_level_global instead + of lookup_name for extern references. Don't return duplicate decl + if it came from the global binding level, and there exists a + conflicting decl in an intervening block. + (lookup_name_current_level_global); New function. + * c-tree.h (lookup_name_current_level_global): Declare. - * expr.c (expand_builtin, case BUILT_IN_STRLEN): Correct args in - expand_expr call. + * sys-protos.h (read, write): Last parm is size_t not unsigned int. -Fri Jan 17 17:33:40 1992 James Van Artsdalen (james@raid) + * unroll.c (remap_split_bivs): New function. + (unroll_loop): When remapping split bivs in the last instruction, + handle JUMP_INSNs in addition to INSNs. - * x-i386v4 (CCLIBFLAGS): Delete macro. - (GCC-CFLAGS): Delete macro. Prevented Makefile.in from working. +Mon May 2 12:53:57 1994 Jason Merrill (jason@deneb.cygnus.com) -Thu Jan 16 17:03:27 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * config/nextstep.h (INCLUDE_DEFAULTS): Add cxx_aware field. + * config/vax/xm-vms.h (INCLUDE_DEFAULTS): Ditto. - * Makefile.in (cleanconfig): Also delete tconfig.h. +Fri Apr 29 18:30:38 1994 Kung Hsu (kung@cygnus.com) - * varasm.c (assemble_external): Only call ASM_OUTPUT_EXTERNAL once - for each symbol. - (assemble_external_libcall): Fix minor typo in spacing. + * tree.h (TYPE_DECL_SUPPRESS_DEBUG): new macro to support + suppressing of detail type infos into stabs. + * dbxout.c (dbxout_type): check the above flag to generate cross + reference in stabs. - * toplev.c (main): Force error if invalid -W option is used. +Fri Apr 29 01:01:45 1994 Doug Evans (dje@cygnus.com) -Thu Jan 16 13:35:13 1992 Tom Wood (wood at dg-rtp.dg.com) + * Makefile.in (stamp-objlist): New target. - * m88kdgux.h (CPP_PREDEFINES): Added __CLASSIFY_TYPE__ back and - noted when it would be useful. +Thu Apr 28 22:17:15 1994 Doug Evans (dje@cygnus.com) - * m88k.h (ASM_FILE_END, ASM_OUTPUT_ASCII): Override svr4.h. + * Makefile.in (USE_ALLOCA): Rearrange "'s. + (FLAGS_TO_PASS): Delete CLIB, MALLOC, OBSTACK. -Thu Jan 16 12:37:16 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Thu Apr 28 19:04:17 1994 Jim Wilson (wilson@cygnus.com) - * svr4.h (SVR4): Add this back. + * stmt.c (expand_end_case): Correct test for sign extending + unsigned constant index when creating index_expr. - * cccp.c (lookup_import): Use bcmp to compare inodes. + * cccp.c (macroexpand): Use start_line for line number of the new + instack level pushed at the end. - * cccp.c (main): Handle -idirafter option. +Thu Apr 28 18:59:17 1994 Mike Stump (mrs@cygnus.com) - * m68kv4.h, m88kv4.h, i386v4.h, sparcv4.h, i860v4.h (CPP_PREDEFINES): - Add __svr4__ in case user programs want to distinguish. + * stmt.c: Remove old exception handling support from the backend. - * cp-lex.c (check_newline): Changes like Jan 12 changes in c-lex.c. +Thu Apr 28 18:59:53 1994 Torbjorn Granlund (tege@adder.cygnus.com) - * Makefile.in (install-fixincludes): Renamed from `includes'. - Move comments so some shells are happier. Dep. on install-headers. + * sparc.c (arith_double_operand): Modify to accept all possible constants. + * sparc.md (adddi3, subdi3, anddi3, iordi3, xordi3): Corresponding changes. + (one_cmpldi3): Don't allow constants for operand 1. - * m88kdgux.h (CPP_PREDEFINES): Add __svr4__. Remove __CLASSIFY_TYPE__. - Add some assertions. +Thu Apr 28 18:10:18 1994 David Edelsohn (edelsohn@npac.syr.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. + * rs6000.md (addsi3): Prefer add without carry instructions and + flag input operands as commutative for condition register variant. + (subsi3): Define PowerPC patterns using subtract without carry. + (numerous): Flag input operands as commutative for condition + register variant. + (mov* matchers): Use mr instruction in ! TARGET_POWERPC case as + well and mr. in condition register variant. + * rs6000.c (output_prolog): Use mr, lis, and li instructions. + Use subf instruction if TARGET_POWERPC. + (output_epilog): Use cal/addi instruction. - * c-decl.c (start_function): Fix backwards test for -W* options. +Thu Apr 28 12:48:59 1994 Andreas Neubacher (aneubach@risc.uni-linz.ac.at) - * protoize.c (GUESSPATHLEN): Treat POSIX like USG--and use just 200. + * i386/seq-sysv3.h (SHARED_SECTION_ASM_OP): Defined. - * cccp.c (deps_output): Break line iff string is empty. - (do_include): Fix up the deps_output calls. +Thu Apr 28 12:40:28 1994 Doug Evans (dje@cygnus.com) - * vax.c (print_operand_address): Handle form index + (reg+offset). + * expr.c (expand_builtin): Fix typo in previous patch + (allow __builtin_next_arg in varargs functions). - * m88k.h (TARGET_VERSION): Don't use __DATE__. +Tue Apr 26 16:31:44 1994 Per Bothner (bothner@cygnus.com) - * gcc.c (default_compilers): Typos in c++-cpp-output case. + * tree.h (AGGREGATE_TYPE_P): New macro. + * calls.c, expr.c, function.c, stmt.c, varasm.c: Use + new macro AGGREGATE_TYPE_P. -Thu Jan 16 12:25:51 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) +Mon Apr 25 18:45:28 1994 John Hassey (hassey@dg-rtp.dg.com) - * loop.c (get_condition): In HAVE_cc0 code, generate a zero with - CONST0_RTX instead of just using const0_rtx. + * varasm.c (copy_constant, case CONSTRUCTOR): Fix typo; copied list + was placed on old CONSTRUCTOR, not new one. - * cse.c (cse_isnsn): A CALL_INSN clobbers all fixed regs except - for ap, fp, and sp. +Mon Apr 25 15:04:53 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Jan 16 08:03:40 1992 Tom Wood (wood at dg-rtp.dg.com) + * c-decl.c (grokdeclarator): Never warn about `long long' in + system header. + + * c-decl.c (finish_decl): Redo last change. + + * Makefile.in (*compare*): Add missing semicolons. + +Mon Apr 25 15:02:31 1994 Doug Evans (dje@cygnus.com) + + * configure (m68k-hp-hpux): t-hp320g no longer needed as of gas 2.1. + * m68k/t-hp320g: Deleted. + +Mon Apr 25 14:23:18 1994 Poul-Henning Kamp (phk@login.dkuug.dk) + + * config.sub, configure: Recognize FreeBSD. + * i386/freebsd.h, x-freebsd: New files. + * i386/x-freebsd: New file. + * i386.h (TARGET_NO_FANCY_MATH_387): New option. + * i386.md (TARGET_NO_FANCY_MATH_387): Implement new option. + * ginclude/stdarg.h, ginclude/stddef.h, ginclude/varargs.h: + Recognize __FreeBSD__. + * gcc.c (link_command_spec): Add -Z argument for ZMAGIC's on FreeBSD. - * c-decl.c (finish_enum): Compute the precision properly if the - maximum value is negative. +Mon Apr 25 14:08:26 1994 Doug Evans (dje@cygnus.com) + + * configure (language search loop): Correct test for no languages. + (CC): Use single quotes to avoid shell expansion of $(CC). + +Mon Apr 25 13:10:07 1994 Andreas Stolcke (stolcke@icsi.berkeley.edu) + + * Makefile.in (install-common): Install EXTRA_PARTS with + INSTALL_DATA, not INSTALL_PROGRAM. + +Mon Apr 25 06:34:00 1994 Stephen L Moshier (moshier@world.std.com) + + * fold-const.c (fold-convert): Use assignment, instead of + initializing, aggregate local variable REAL_VALUE_TYPE. + +Sun Apr 24 11:17:20 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * reorg.c (redirect_with_delay_list_safe_p): Fix off-by-one error. + + * real.c (etoe53, etoe24): Make all occurrences static. + + * emit-rtl.c (try_split): Don't try to recursively split deleted insn. + + * rs6000.md (movti): Adjust constraints to avoid impossible reload. + + * expr.c (expand_expr, case SAVE_EXPR): Fix error in last change. + +Sat Apr 23 06:45:50 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * reload1.c (reloads_conflict, case RELOAD_FOR_OUTPUT): Fix typo. + +Fri Apr 22 18:43:08 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * configure (alpha-dec-osf): Fix typo. + +Fri Apr 22 15:02:22 1994 Hallvard B Furuseth (h.b.furuseth@usit.uio.no) + + * gcc.c (handle_braces, check_live_switch): Refine previous change. + +Fri Apr 22 03:27:26 1994 Doug Evans (dje@cygnus.com) + + * configure: Sort machines. + + * Language directory reorganization. + * configure: Auto-configure each language subdirectory by looking + for */config-lang.in. + Add language makefile fragments (Make-lang.in) to top level makefile, + and hook them in via lang.* targets. + Configure each language subdirectory. On hosts that support them, + create stage[123] symlinks in each subdirectory. + If there is a configure script in the subdirectory, run it. + * Makefile.in (LANGUAGES): Remove c++. + (SUBDIRS): New variable. + (LEX, LEXFLAGS): Ditto. + (MAKEOVERRIDES): Ditto. + (COMPILERS): Remove cc1plus. + (LANG_MAKEFILES, LANG_STAGESTUFF, LANG_DIFF_EXCLUDES, FLAGS_TO_PASS): + New variables. + (CPLUS_OBJS, CPLUS_TREE_H, C++, c++, g++, g++-cross, cc1plus, + cp-*.o, g++.o, gplus.info): Deleted. + (STAGESTUFF): Remove g++, g++-cross, cc1plus. Add $(LANG_STAGESTUFF). + (Makefile): Depend on $(LANG_MAKEFILES). + (####language hooks, ####language fragments): New spots for sed + to insert things. + (all.cross, all.build, start.encap, rest.encap, info, dvi, + install-normal, install-common, install-info, install-man, + uninstall, distdir, mostlyclean, clean, distclean, extraclean, + realclean, stage1, stage2, stage3, stage4): Depend on lang.foo. + (mostlyclean, clean, distclean, extraclean, realclean): Clean as + much of the language subdirectories as we can. + (install-common): Remove g++ installation. + (install-man): Remove g++.1 installation. + (uninstall): Remove g++ reference. + (TAGS): Remove cp-parse.? reference. + (distdir): Ditto. + (distdir-start, distdir-finish): New targets. + (diff): Remove cp-parse.? reference. Add $(LANG_DIFF_EXCLUDES). + (compare, compare3, gnucompare, gnucompare3): Compare language + subdirectories too. + (stage1-start, stage2-start, stage3-start, stage4-start): New targets. + Ensure stage subdirectory exists before processing language + dependent part. + * cp/Makefile.in: New file, makefile for c++ subdirectory. + * cp/Make-lang.in: New file, c++ language makefile fragment. + This file provides c++ specific support to the top level makefile via + several well defined targets: c++.all.build, c++.all.cross, + c++.start.encap, c++.rest.encap, c++.info, c++.dvi, + c++.install-normal, c++.install-common, c++.install-info, + c++.install-man, c++.uninstall, c++.distdir, c++.mostlyclean, + c++.clean, c++.distclean, c++.extraclean, c++.realclean, + c++.stage1, c++.stage2, c++.stage3, c++.stage4. + * cp/config-lang.in: New file, defines language name and other + configuration parameters for the c++ language: compilers, stagestuff, + and diff_excludes. + * g++.c: Move into cp subdirectory. + * g++.1: Ditto. + * g++int.texi: Ditto. + * cp-*: Ditto, remove "cp-" prefix except for cp-tree.h. + +Thu Apr 21 15:47:01 1994 Jim Wilson (wilson@cygnus.com) + + * sparc.c (mem_aligned_8): Don't assume addresses with + MEM_IN_STRUCT_P set are 8 byte aligned. + + * iris5.h (CPP_SPEC): Define _LANGUAGE_C for Objective C also. + + * unroll.c (find_splittable_givs): Share dest_reg for multiple + address givs within a single instruction. + (copy_loop_body): Only update psuedo-reg for shared giv once. + + * sparc.c (sparc_type_code): Don't put more than 30 bits of info + into the variable qualifiers. + + * expr.c (store_expr): Don't check the TYPE_MODE of an ERROR_MARK. + +Thu Apr 21 15:34:11 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * calls.c (calls_function_1): A language-specific code must + be assumed to call a function and also call alloca. + Check for inlined functions that call alloca. + + * reload1.c (reload): Clear forbidden_regs earlier. + (new_spill_reg): Mention in error message that asm clauses can also + cause the compiler to run out of spill regs. + (scan_paradoxical_regs): If SMALL_REGISTER_CLASSES, forbid + hard regs used in explicit user variables. + + * combine.c (can_combine_p, combinable_i3pat, try_combine): Allow + combination involving hard regs if the hard reg is a user variable. + + * gcc.c (default_compilers): If -E and the file is (e.g.) x.s, + don't run the assembler; similarly for .i, .ii, .adb, etc. + + * Cleanups related to adding prototypes to many declarations. + * rtl.h: If TREE_CODE undefined, make an incomplete union for tree. + (STDIO_PROTO): Define here if not already defined. + (read_rtx): Use STDIO_PROTO. + (output_constant_def, immed_real_const): Use "union tree_node *". + (immed_real_const_1): Move declaration to real.h. + (rtx_to_tree_code): Supply prototype. + * tree.h: If RTX_CODE undefined, make an incomplete struct for rtx. + Add some missing declarations of functions in stmt.c. + (STDIO_PROTO): Define here if not already defined. + * real.h: Add prototypes to declarations of functions in real.c. + (immed_real_const_1): Move declaration from rtl.h. + * output.h: Add missing declarations of functions in final.c. + (STDIO_PROTO): Don't define here. + * c-tree.h (STDIO_PROTO): Likewise. + * reload.h (PROTO, STDIO_PROTO): Likewise. + * bi-opcode.c (main): Don't write overly-long line. + * cse.c, emit-rtl.c: Use CONST_DOUBLE_FROM_REAL_VALUE macro for immed + real_const_1. + * expmed.c: Add prototypes for static functions. + * expr.c (bc_expand_expr): Call expand_decl and expand_decl_init, + not the bc_ versions. + * final.c: Include stdio.h and ctype.h early. + Add prototypes for static functions. + * function.c: Add prototypes for static functions. + (bc_expand_function_end, expand_function_end): Call new + expand_fixups instead of old fixup_gotos. + * global.c, local-alloc.c: Add prototypes for static functions. + * integrate.c: Likewise. + Use CONST_DOUBLE_FROM_REAL_VALUE macro for immed_real_const_1. + * optabs.c: Likewise. + * real.c: Make most functions static and add prototypes for + all static functions. + (GET_REAL, PUT_REAL): Cast parameter to proper pointer type in + some cases; use unsigned array. + * stmt.c: Add prototypes for static functions. + (expand_fixups): New function. + (fixup_gotos): Now static. + Don't call bc_fixup_gotos with wrong type (but now probably wrong + value). + (bc_*): Now static. + (expand_exit_loop_if_false): Call bc_expand_goto_internal with + proper null pointer. + (expand_decl_init): Call bc_expand_decl_init if writing bytecode. + +Thu Apr 21 14:21:56 1994 Ian Lance Taylor (ian@cygnus.com) + + Support taking the address of a text segment symbol when using + MIPS -membedded-pic. + * mips.h (embedded_pic_fnaddr_rtx): Declare. + (embedded_pic_offset): Declare. + (mips_finalize_pic): Declare. + (FINALIZE_PIC): Define. + (GO_IF_LEGITIMATE_ADDRESS): When using -membedded-pic, reject + combining an embedded PIC text reference with a register. + (ENCODE_SECTION_INFO): Under -membedded-pic set SYMBOL_REF_FLAG to + 0 for text segment symbols, 1 for data segment symbols. + * mips.c (embedded_pic_fnaddr_rtx): New variable. + (embedded_pic_offset): New function. + (mips_finalize_pic): New function. + (mips_select_section): When using -membedded-pic and not using + -fwritable-strings, put strings in the text section, not the read + only data section. + * mips.md (movsi): When using -membedded-pic, add special code + when loading a symbol directly to use an offset from the start of + the current function. + (get_fnaddr): New insn to get address of current function. + +Wed Apr 20 19:38:38 1994 Doug Evans (dje@cygnus.com) + + * regclass.c (init_reg_sets_1): Make static. + (init_reg_modes): New function. + (init_regs): Likewise. + * toplev.c (compile_file): Call init_regs after init_rtl. + (main): Delete call to init_reg_sets_1. + +Wed Apr 20 15:06:35 1994 Steve Chamberlain (sac@cygnus.com) + + * sh.c (REG_ODD): Allow DIs and DFs into odd registers. + (print_operand): New command char '@', change nop insn. + (synth_constant): Don't allocate temp reg during reload. + (expand_block_move): Don't expand if TARGET_SMALLCODE. + (prepare_split_double_ops): Deleted. + (howshift, multcosts): Work out costs exactly. + (dump_table): Emit a label before the align. + (hi_const): TARGET_SHORTADDR makes more things HI consts. + (machine_dependent_reorg): Look through SUBREGS. + (from_compare): Get better code when relational args are loaded + into regs now. + (expand_acall): Cope with TARGET_BSR. + (general_movdst_operand): Don't allow illegal autoincs. + (mac_operand): New function. + (sh_function_arg, sh_function_partial_nregs): From sh.h + * sh.h (PARANOID_BIT, RETR2_BIT, CONSTLEN0_BIT, BSR_BIT, + SHORTADDR_BIT, TARGET_PARANOID, TARGET_RETR2, TARGET_CONSTLEN0, + TARGET_BSR, TARGET_SHORTADDR, TARGET_SWITCHES): New options. + (OVERRIDE_OPTIONS): No function_cse when TARGET_BSR. + (FIRST_RET_REG): Depends on TARGET_RETR2. + (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS): Moved to sh.c + (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Define. + (MODE_DISP_OK_8): Define. + (REG_OK_FOR_PRE_POST_P): Allow a pseudoreg. + (GO_IF_LEGITIMATE_ADDRESS): Allow DI addressing modes. + (MOVE_RATIO): Depends on TARGET_SMALLCODE. + * sh.md (interrupt_function): New attr. + (define_delay): Account for interrupt functions. + (addc): Describe pattern better. + (adddi3): Expanded better. + (peepholes): Deleted many obsolete patterns. + +Wed Apr 20 13:37:58 1994 Jason Merrill (jason@deneb.cygnus.com) + + * expr.c (expand_expr): Don't force ignore when expanding the + subexpression of a WITH_CLEANUP_EXPR. Don't check ignore when + deciding whether or not to expand the cleanup for a TARGET_EXPR. + +Wed Apr 20 12:20:16 1994 Doug Evans (dje@cygnus.com) + + * h8300/h8300.h (RTX_COSTS): Remove LSHIFT. + * h8300/h8300.md (lshrhi3_eight): Fix name. + (lshrhi3): Use it. + * i860/i860.c (safe_insn_src_p): Remove LSHIFT. + (single_insn_src_p): Likewise. + * i960/i960.c (i960_expr_alignment): Remove LSHIFT. + * sh/sh.c (output_shift, ASHIFTRT case): Do opposite shift as ASHIFT. + Delete LSHIFT case. + * sh/sh.h (RTX_COSTS): Remove LSHIFT, add LSHIFTRT. + * spur/spur.md (lshlsi3): Delete. + +Wed Apr 20 06:40:15 1994 Philippe De Muyter (phdm@info.ucl.ac.be) + + * c-lex.c (check_newline): Avoid unreachable statement when + HANDLE_SYSV_PRAGMA defined. + +Wed Apr 20 01:52:24 1994 Steve Chamberlain (sac@mole.gnu.ai.mit.edu) + + * flow.c (find_auto_inc, try_pre_increment): Make sure + that insertion of autoinc addressing mode would yield a valid + instructon. + +Tue Apr 19 23:41:14 1994 Doug Evans (dje@cygnus.com) + + * Makefile.in (expr.o): Depend on regs.h. + * rtl.h (choose_hard_reg_mode): Declare. + * regs.h (reg_raw_mode): Declare. + * caller-save.c (choose_hard_reg_mode): Delete from here. + * regclass.c (choose_hard_reg_mode): Define here. + (reg_raw_mode): Define. + (init_reg_sets_1): Initialize reg_raw_mode. + * expr.c: #include regs.h. + (use_regs): Use reg_raw_mode. + * reload1.c (emit_reload_insns): Record additional spill registers + in their intrinsic mode. + * combine.c (move_deaths): Record death information of remaining + registers in their intrinsic mode. + * sched.c (attach_deaths): Create partial register dead notes using + register's intrinsic mode. + +Tue Apr 19 21:40:57 1994 Mike Stump (mrs@cygnus.com) + + * toplev.c (lang_options): Add -fhandle-signatures for C++ + frontend. + +Tue Apr 19 19:00:30 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * cccp.c (do_error): Don't terminate. + +Tue Apr 19 17:48:41 1994 Hallvard B Furuseth (hbf@durin.uio.no) + + * gcc.c: Add new options -print-file-name= and -print-prog-name=. + + * gcc.c (struct switchstr): New field LIVE_COND. + (process_command): Initialize it. + (check_live_switch): New function. + (handle_braces): Call it. + +Mon Apr 18 19:22:25 1994 Lee Iverson (leei@ai.sri.com) + + * mips.h (RTX_COSTS): Remove LSHIFT. + +Mon Apr 18 17:56:22 1994 Philippe De Muyter (phdm@info.ucl.ac.be) + + * c-decl.c (duplicate_decls): Always warn when const declaration + follows non-const one for variables. + +Mon Apr 18 16:38:30 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de) + + * calls.c (prepare_call_address): New arg REG_PARM_SEEN. + All callers changed. + (expand_call): Pre-load args if small reg classes and reg parms. + * expr.h (prepare_call_address): Extend prototype. + * expr.c (expand_builtin_apply): Pass new arg to prepare_call_address. + +Mon Apr 18 14:53:14 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * fold-const.c (const_binop): If arg is NaN, just return it + (fold_convert): Handle NaN in real->int and real->real cases. + + * c-lex.c (yylex): If FP value is NaN, use value of zero. + + * expr.h (PROMOTE_MODE): Don't supply default here. + (promote_mode): Add declaration. + * explow.c (promote_mode): New function. + * calls.c (expand_call): Use it. + * function.c (assign_parms, promoted_input_arg, expand_function_start): + Likewise. + * expr.c (expand_expr, case VAR_DECL, SAVE_EXPR): Likewise. + * stmt.c (expand_value_return, expand_decl): Likewise. + +Mon Apr 18 11:36:04 1994 Jason Merrill (jason@deneb.cygnus.com) + + * Makefile.in (LIB2FUNCS): Change _op_vec_delete to _op_vec_del. + * libgcc2.c: Ditto. + +Mon Apr 18 11:19:07 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * reorg.c (redirect_with_delay_list_safe_p): New function, + similar to redirect_with_delay_slots_safe_p. + (fill_slots_from_thread): Do not redirect a jump if doing + so would invalidate the delay list for the jump. + +Mon Apr 18 03:09:30 1994 Doug Evans (dje@cygnus.com) + + * scan-types.sh: Fix program's name in error message. + Rename dummy.c to avoid collisions in parallel makes. + +Sun Apr 17 18:29:00 1994 David Edelsohn (edelsohn@npac.syr.edu) + + * rs6000.h (PROCESSOR_COMMON, PROCESSOR_POWER, PROCESSOR_POWERPC): + New macros. + * rs6000.c (processor_target_table): Change "all" to "common". + Add "power" and "powerpc" generic processors. Explicitly turn off + new mnemonics for all members of the POWER architecture family. + +Sun Apr 17 10:04:18 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * tree.h (DECL_PRINT_NAME): Deleted. + (struct tree_decl): Field print_name deleted. + +Sun Apr 17 06:59:58 1994 Pat Rankin (rankin@eql.caltech.edu) + + * vax.h (RTX_COSTS), vax.c (vax_rtx_cost): Remove LSHIFT case. + +Sun Apr 17 01:15:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * function.c (locate_and_pad_parm): For ARGS_GROW_DOWNWARD, + Round sizetree for both upward and downward padding, nuke + the (now unnecessary) call to pad_below for arg_size_ptr. + +Sat Apr 16 21:05:40 1994 David Edelsohn (edelsohn@npac.syr.edu) + + * rs6000.md (one_cmplsi2): Always use nor instruction; + remove extraneous minus sign from condition register set constraint. + +Sat Apr 16 17:12:40 1994 Philippe De Muyter (phdm@info.ucl.ac.be) + + * m68k.c (print_operand): 'x' and 'y' mode letters only + if SUPPORT_SUN_FPA. + (print_operand_address): If (new) ASM_OUTPUT_CASE_FETCH defined, + use it to emit the address for the insn before a tablejump. + * m68k/mot3300.h (FUNCTION_ARG_PADDING, FUNCTION_PROLOGUE): Deleted. + (FUNCTION_EPILOGUE, PRINT_OPERAND, PRINT_OPERAND_ADDRESS): Deleted. + (SGS_SWITCH_TABLES, ASM_OUTPUT_CASE_END): Deleted. + (ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND): Deleted. + (SGS_NO_LI, ASM_OUTPUT_CASE_FETCH, ASM_RETURN_CASE_JUMP): Defined. + + * configure (header_files): Use ${srcdir} instead of $(srcdir). + +Sat Apr 16 16:51:15 1994 DJ Delorie (dj@ctron.com) + + * objc/makefile.dos (OBJC_O): Add encoding.o. + +Sat Apr 16 16:38:32 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * c-lex.c (yylex): Turn off overflow flag when fixing up large + traditional hex constants. + + * c-decl.c (finish_decl): If asmspec_tree, clear DECL_BUILT_IN + for function and DECL_RTL always. + +Wed Apr 13 13:08:10 1994 Per Bothner (bothner@cygnus.com) + + * toplev.c (compile_file): Never warn about unused static consts, + since it is reasonable to have those in header files. + +Wed Apr 13 12:25:21 1994 Jason Merrill (jason@deneb.cygnus.com) + + * varasm.c (contains_pointers_p): When examining a RECORD_TYPE, + only look at the FIELD_DECLs. + +Tue Apr 12 18:14:42 1994 Jason Merrill (jason@deneb.cygnus.com) + + * Makefile.in (LIB2FUNCS): Add _op_vec_{delete,new}. + + * libgcc2.c (__builtin_vec_{delete,new}): New functions per the + latest C++ working paper. + (__default_new_handler): No longer static. + (__set_new_handler): Lose. + + * cccp.c: Don't implicitly wrap LOCAL_INCLUDE_DIR. + (struct default_include): Add cxx_aware field. + (include_defaults_array): Ditto. + (main): Use cxx_aware field. + +Tue Apr 12 16:13:10 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * config.sub (next): Fix typo in m68k-next-ns3 alternative. + +Tue Apr 12 07:41:17 1994 Michael Meissner (meissner@osf.org) + + * i386/i386.c (notice_update_cc): Remove LSHIFT case, since there + is no LSHIFT rtl code any more. + + * halfpic.h (NO_STDIO_H): Do not include stdio.h if this is defined. + +Mon Apr 11 17:24:46 1994 Philippe De Muyter (phdm@info.ucl.ac.be) + + * scan.c (get_token): Correctly increment lineno after + encountering #ident (or other #-directive). + +Mon Apr 11 13:22:51 1994 Jim Wilson (wilson@cygnus.com) + + * reorg.c (try_merge_delay_insns): Account for resources set/used + by a filled insn before trying to simplify insns in delay slots. + + * x-iris, x-iris3, x-mips, x-sony, x-sysv (OLDCC): Change -XNh1500 + to -XNh2000. + + * c-decl.c (finish_decl): Don't preserve initializer if it is + error_mark_node. + + * reorg.c (try_merge_delay_insns): Move next_trial update + immediately after the try_split call. + + * mips.c (mips_select_rtx_section, mips_select_section): New + functions. Prefer rdata when TARGET_EMBEDDED_DATA, and prefer + sdata otherwise. + * mips.h (MASK_EMBEDDED_DATA, TARGET_EMBEDDED_DATA): New macros. + (TARGET_SWITCHED): Add new option -membedded-data. + (SELECT_RTX_SECTION, SELECT_SECTION): Call function in mips.c. + + * Makefile.in (all.cross, rest.encap): Delete objc-runtime and + SYSCALLS.c.X. + (OBJC, OBJECTIVE-C): Add objc-runtime. + (proto): Add SYSCALLS.c.X. + (libgcc2.ready, libobjc.a, sublibobjc.a, SYSCALLS.c.X): Add + dependence on stmp-int-hdrs. + + * cccp.c (rescan): Don't look for C++ // comment before directive. + Handle \-newline inside a C++ // comment. + (skip_if_group): Likewise. + (handle_directive): Also handle C++ // comment after #. Point + ip->bufp after the comment start before calling + skip_to_end_of_comment. + (validate_else): Handle \-newline inside a C++ // comment. + (skip_to_end_of_comment, macarg1, discard_comments): Likewise. + + * varasm.c (immed_double_const): Sign-extend constants when they + have the most significant bit set for the target. + +Mon Apr 11 06:20:56 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * reload1.c (reload): When accumulating needs, use nested + structures to simplify and speed up the code. + + * alpha.md (compare define_split): Fix bugs in last addition. + + * calls.c (expand_call, emit_library_call{,_value}, store_one_arg): + Use convert_modes instead of convert_to_mode. + + * tree.h (frame_size): Now a union. + (DECL_ALIGN, DECL_FRAME_SIZE, DECL_FUNCTION_CODE): Access proper + field of frame_size union. + (DECL_SET_FUNCTION_CODE): Simplified; retained for compatibility. + * c-decl.c (duplicate_decls, pushdecl, builtin_function): + Use DECL_FUNCTION_CODE instead of DECL_SET_FUNCTION_CODE. + +Mon Apr 11 05:50:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * mips-tfile.c (update_headers): Do not copy stStatic symbols that + result from internal labels. + +Sun Apr 10 07:13:24 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * rtl.def (LSHIFT): Deleted. + * combine.c, cse.c, function.c: No longer handle LSHIFT. + * genattrtab.c, loop.c, reload1.c: Likewise. + * expr.h (lshl_optab): Deleted. + * optabs.c (lshl_optab): Deleted. + (expand_binop, init_optabs): No longer reference it. + * genopinit.c, expmed.c (expand_shift): Likewise. + + * arm.c, arm.h, arm.md: Remove references to LSHIFT and lshlsi3. + * clipper.h, clipper.md, convex.h, convex.md, elxsi.md: Likewise. + * fx80.h, fx80.md, gmicro.md, i370.md: Likewise. + * m68k.c, m68k.h, m68k.md, m88k.c, m88k.md, ns32k.md: Likewise. + * rs6000.md, tahoe.md: Likewise. + + * combine.c (simplify_shift_count, case EQ): LSHIFT should be + LSHIFTRT. + +Sun Apr 10 04:48:37 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * pa-ghiux.h (LIB_SPEC): Remove last change until we've got the + go ahead from HP to distribute /usr/lib/end.o. + * pa-ghpux.h, pa-hiux.h, pa-ghiux.h: Likewise. + +Sat Apr 9 15:06:22 1994 Christian Kranz (kranz@sent5.uni-duisburg.de) + + * config.sub: Add ns* as operating systems; default to ns2 for NeXT. + * configure (m68k-next-ns2*): New configuration. + * libgcc2.c: Include , not for NeXTStep 2.1. + * config/nextstep21.h, m68k/next21.h: New files. + +Sat Apr 9 10:56:06 1994 Randy Wright (rwright@convex.com) + + * combine.c (force_to_mode, case ROTATE): Don't assume + simplify_binary_operation always returns CONST_INT. + (simplify_shift_const, case IOR, PLUS): Likewise. + +Sat Apr 9 09:13:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * i386/sequent.h (STRUCT_VALUE{,_INCOMING,_REGNUM}): + Redefine for calling conventions of native cc. + +Sat Apr 9 08:25:43 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * rs6000.h (FINAL_PRESCAN_INSN): Define. + * rs6000.c (rs6000_convert_preincs): New function. + + * i386.md (mulhi3): Use SImode for MULT RTL. + + * fold-const.c (fold): Avoid exponential work when simplifying + conditional expressions; don't recurse twice if ARG1 is constant. + + * function.c (unitialized_vars_warning, setjmp_args_warning): + Reword warning to be less ambiguous. + + * c-typeck.c (convert_arguments): Truncate and reextend + for PROMOTE_PROTOTYPES so we can give error on overflow. + + * reload1.c (reload_conflicts): Rewrite to clean up and fix + numerous bugs; move to later in file. + + * c-decl.c (duplicate_decls): Put new type in same obstack as + old ones, or permanent if old ones in different obstacks. + +Fri Apr 8 18:18:18 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * fold-const.c (fold, case GT_EXPR): Simplify X < (1 << Y) + into X >> Y == 0. + +Fri Apr 8 11:23:51 1994 Ian Lance Taylor (ian@cygnus.com) + + Add support for -membedded-pic to MIPS backend, to create + genuinely position independent code without using a global offset + table. Requires GNU as and ld. + * mips.h (MASK_EMBEDDED_PIC): Define. + (TARGET_EMBEDDED_PIC): Define. + (TARGET_SWITCHES): Add embedded-pic and no-embedded-pic. + (ASM_SPEC): Pass -membedded-pic to assembler. + (ASM_OUTPUT_ADDR_DIFF_ELT): If TARGET_EMBEDDED_PIC output a + difference, rather than using .gpword. + (ASM_OUTPUT_CASE_LABEL): Define. + * mips.md (casesi, casesi_internal): New instructions, used only + for TARGET_EMBEDDED_PIC. + * mips.c (override_options): For TARGET_EMBEDDED_PIC warn + if -mabicalls or -G were used, and set flag_pic and + mips_section_threshold. + (print_operand): Handle 'S' by printing a label with a leading LS. + +Thu Apr 7 22:20:09 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu) + + * calls.c (emit_library_call_value): Move is_const set after ifdef. + +Wed Apr 6 21:34:17 1994 Pat Rankin (rankin@eql.caltech.edu) + + * expr.c (expand_builtin, case BUILT_IN_NEXT_ARG): Test whether + an argunment has been passed to __builtin_next_arg; warn if not. + +Wed Apr 6 17:28:44 1994 Per Bothner (bothner@kalessin.cygnus.com) + + * toplev.c (lang_options): Add -f[no-]vtable-thunks (for C++). + +Wed Apr 6 15:35:42 1994 Jim Wilson (wilson@cygnus.com) + + * cccp.c (discard_comments): Replace comments with a single space. + + * Makefile.in (USER_H): Add $(srcdir)/ before every ginclude use. + + * calls.c (emit_library_call_value): New variable is_const. Clear + it for functions that return an aggregate in memory. + + * configure (header_files): Prepend $(srcdir)/ginclude/ to each + element before substituting into the Makefile. Delete ginclude/ + at each point where we set header_files. + + * c-decl.c (finish_decl): Correct typo in use of tree_int_cst_sgn. + +Wed Apr 6 07:39:47 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * alpha.md: Add define_split to simplify "(unsigned) x > 0xffffff". + + * toplev.c (lang_options): Group and alphabetize some options. + +Wed Apr 6 07:03:13 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de) + + * function.c (push_function_context): Use current_function_varargs. + (pop_function_context): Likewise. + (assign_parms): Respect current_function_varargs. + Save args_so_far in any case. + * expr.c (expand_builtin): Allow builtin_next_arg for varargs + functions as well. + * function.h (struct function): New field for current_function_varargs. + * integrate.c (function_cannot_inline_p): Use current_function_varargs. + * va-alpha.h, va-m88k.h, va-sparc.h (va_dcl): Add ... to + set current_function_varargs. + + * c-decl.c (warn_missing_declarations): New variable. + (c_decode_option): -Wmissing-declarations. + (start_function): Actually do the checking. + * toplev.c (lang_options): Add -Wmissing-declarations. + + * function.c (expand_function_start): Delay copying static chain. + + * calls.c (emit_library_call): Move the invocation of + prepare_call_address before the assignments of the function arguments. + (emit_library_call_value): Likewise. + + * i386.h (DEBUG_PRINT_REG): Fix printing of coprocessor regs in QImode. + +Wed Apr 6 06:42:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * mips-tfile.c (update_headers): Copy stStatic symbols from the old + local symbol table to the new local symbol table if they did not get + added via debugging psuedo ops. + +Wed Apr 6 06:36:05 1994 Philippe De Muyter (phdm@info.ucl.ac.be) + + * stdarg.h, varargs.h (__va_rounded_size): Round to multiple + of sizeof (short) on sysV68. + + * m68k.c (output_function_prologue): pea/move: Fix typos. + asm_fprintf("add%.[wl] ...): Undo previous change. + +Tue Apr 5 20:05:10 1994 Doug Evans (dje@cygnus.com) + + * gcc.c (process_command): Add "include" prefix for [foo/]stageN. + +Tue Apr 5 01:22:08 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * pa-ghiux.h (LIB_SPEC): Link in /usr/lib/end.o + * pa-ghpux.h, pa-hiux.h, pa-hpux.h (LIB_SPEC): Likewise. + +Mon Apr 4 17:36:55 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu) + + * final.c (final_scan_insn): Pass new arg, block num, to + sdbout_end_block. + * sdbout.c (sdbout_begin_block): Don't output block for function + level scope unless MIPS_DEBUGGING_INFO is defined. + (sdbout_end_block): Likewise. Add new parameter n for the block + number. + + * calls.c (expand_call): If PCC_STATIC_STRUCT_RETURN defined, mark + function as addressable same time as we clear is_integrable. + +Mon Apr 4 17:11:17 1994 Jason Merrill (jason@deneb.cygnus.com) + + * Makefile.in (xsys-protos.h): Undefine __*_TYPE when + preprocessing fixtmp.c. + * fixincludes: Fix ptrdiff_t and wchar_t in system headers like we + do size_t. + * scan-types.sh: Use __WCHAR_TYPE__, __PTRDIFF_TYPE__, and + __SIZE_TYPE__. Still deduce size_t so that it can be used for + ssize_t if necessary. + * stddef.h (wchar_t): Always define as __WCHAR_TYPE__. + * cccp.c (special_symbol, case T_WCHAR_TYPE): Output "__wchar_t" + for C++. + +Sat Apr 2 08:14:02 1994 Michael Meissner (meissner@osf.org) + + * i386/osfrose.h (FUNCTION_PROLOGUE, FUNCTION_PROFILER): Correct + code for -fpic ELF case. + +Fri Apr 1 17:33:35 1994 Jason Merrill (jason@deneb.cygnus.com) + + * fixproto: Add strncpy, strpbrk, strrchr, strspn, strstr, strtok + and strxfrm to the required list for string.h. + +Fri Apr 1 01:05:53 1994 Jim Wilson (wilson@cygnus.com) + + * configure: Change math-68881.h to ginclude/math-68881.h. + (EXTRA_HEADERS): Use | not / in sed command. + * math-68881.h, math-3300.h: Move to ginclude directory. + + * libgcc2.c: Modify all uses of __attribute__ mode to use new + syntax. + + * Makefile.in (USER_H): Files in ginclude now. Add stdarg.h, + stddef.h, varargs.h. + (all.cross, rest.encap): Move LIBGCC after stmp-headers. Add + objc-runtime, and SYSCALLS.c.X. + (for-bootstrap): Delete. + (OBJC, OBJECTIVE-C): Delete objc-runtime. + (proto): Delete SYSCALLS.c.X. + (*.o): Delete gvarargs.h dependencies. + (stmp-int-hdrs): Delete gvarargs.h, gstdarg.h, gstddef.h deps, and + code to copy them. + + * bc-emit.c: Change to . + * enquire.c, libgcc2.c, sys-types.h: Change "gstddef.h" to . + * gcc.c: Change "gstdarg.h" to and "gvarargs.h" to + . + * objc/Object.m: Change "gstdarg.h" to . + * objc/runtime.h, scan-types.sh: Change "gstddef.h" to . + Change "gstdarg.h" to . + * objc/hash.h, objc/objc.h, objc/sarry.h: Delete use of IN_GCC to + control stddef.h/gstddef.h include. + * cccp.c (pcfinclude): Modify comment referring to gstddef.h. + * sparc/sparc.h (CPP_PREDEFINES): Update GCC_NEW_VARARGS comment. + * i386/x-next, m68k/x-next (libgcc2.a, stdarg.h): Delete rules. + * fixincludes: Modify comment referring to gvarargs.h. + * cp/Makefile.in: Modify comments that refer to gvarargs.h and + gstddef.h. + + * gstdarg.h, gstddef.h, gvarargs.h: Move to ginclude directory + and strip off initial `g'. + * va-*.h, proto.h: Move to ginclude directory. + +Thu Mar 31 19:49:17 1994 Jim Wilson (wilson@cygnus.com) + + * sparc.h (SPARC_STACK_ALIGN): Use ~7 not 0xfffffff8 for portability. + + * xcoffout.h (DBX_OUTPUT_MAIN_SOURCE_FILENAME): Disable. + + * sol2.h: Delete ifdefed out section defining *_SECTION_ASM_OP + macros. + ({CTORS,DTORS}_SECTION_ASM_OP) Delete definitions. + * sysv4.h (INIT_SECTION_ASM_OP): Don't set the alloc flag. + ({CTORS,DTORS}_SECTION_ASM_OP): Set execinstr flag. + + * dbxout.c (dbxout_type): Re-enable debugging output for anonymous + structures. Change all three places that refer to xrefs to use + exactly the same condition. + + * c-typeck.c (pop_init_level): Correct typo in use of + tree_int_cst_sgn. + + * mips.c (mips_rtx_classify, md_register_operand, + fpsw_register_operand, cmp2_op, uns_cmp_op, fcmp_op): Delete. + (mips_const_double_ok, mips_fill_delay_slot, output_block_move, + print_operand, function_epilogue): Don't treat gas differently + than native assembler. + (equality_op, cmp_op): Delete use of classify_op. + (override_options): Delete uses of mips_rtx_classify. + (final_prescan_insn): Simplify based on other changes. + * mips.h (mips_rtx_classify, cmp2_op, fcmp_op, + fpsw_register_operand, md_register_operand, uns_cmp_op, + classify_op, additive_op, divmod_op, unsigned_op, CLASS_*_OP, + NOTICE_UPDATE_CC): Delete. + (RTX_COSTS): Use different numbers for R3000/R6000/R4000. + (REGISTER_MOVE_COST): Use cost of 2 within same register class, 4 + for FP to GR copy, 6 otherwise. + (ADJUST_COST): Give anti and output dependencies zero cost. + (PREDICATE_CODES): Delete obsolete functions from list. + * mips.md (addsi3_internal): Don't output subtract. + (subsi3_internal): Don't output add. + (smulsi3_highpart, umulsi3_highpart): Add missing third operand to + mips_move_1word call. + +Thu Mar 31 12:09:42 1994 Ian Lance Taylor (ian@cygnus.com) + + * longlong.h: Change RS/6000 macros to use PowerPC mnemonics when + using -mnew-mnemonics. + +Wed Mar 30 17:37:16 1994 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) + + * m68k/dpx2.h (NO_ASM_FMOVECR): Defined. + * m68k.c (standard_68881_constant_p): Return 0 if NO_ASM_FMOVECR + defined. + + * configure: Add case for rs6000-bull-bosx. + +Wed Mar 30 17:31:24 1994 Matthias Pfaller (leo@marco.de) + + * ns32k.c (global_symbolic_reference_mentioned_p): New parameter F. + (print_operand_address): When generating pic baseregisters are + only allowed if offset is CONST_INT. For {SYMBOL,LABEL}_REF + a indexregister has to be used instead. (sb) is no longer + emitted for constant absolute addresses. + (output_move_double): Use CONSTANT_P instead of CONSTANT_ADDRESS_P. + * ns32k.h (FUNCTION_PROLOGUE): use __GLOBAL_OFFSET_TABLE_, + not _GLOBAL_OFFSET_TABLE_. + (LEGITIMATE_CONSTANT_P, LEGITIMATE_PIC_OPERAND_P): Use + LEGITIMATE_PIC_OPERAND_P, not LEGITIMATE_CONSTANT_P, + to set current_function_uses_pic_offset_table. + (INDIRECTABLE_1_ADDRESS_P): Baseregisters are not legal + for {LABEL,SYMBOL}_REFS when emitting pic. + (GO_IF_INDEXABLE_ADDRESS): INDIRECTABLE_1_ADDRESSes are indexable too. + * ns32k/netbsd.h, ns32k/xm-netbsd.h: New files. + * configure (ns32k-pc532-netbsd*): New case, to use new files. + +Wed Mar 30 16:39:24 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * reload1.c (reload): Fix typo in previous change. + + * gcc.c (process_command, case 'B'): If name is "stageN/", + add "include" to system include prefix. + + * bc-emit.c, calls.c, combine.c, emit-rtl.c, final.c, g++.c: + Include instead of "gstdarg.h"; similarly for varargs. + * genattrtab.c, mips-tfile.c, protoize.c, toplev.c, tree.c: Likewise. + + * fold-const.c (strip_compound_expr): New function. + (fold): Call it; avoid exponential work when simplifying + binary op over a COND_EXPR. + + * cse.c (cse_insn): Add missing definition of var TEM; clean up + shadowed uses. + + * sparc.c (sparc_type_code): Revise so it supports non-C types. + +Wed Mar 30 14:52:26 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu) + + * xm-alpha.h (string.h): Don't include when inhibit_libc is defined. + +Wed Mar 30 10:37:51 1994 Stan Coxs (coxs@dg-rtp.dg.com) + + * m88k.md (movdf): Do not consider extended registers when doing + define_split. + +Wed Mar 30 01:49:06 1994 Torbjorn Granlund (tege@cygnus.com) + + * config/m68k/m68k.c (output_move_double): Use `%.' where appropriate. + +Tue Mar 29 10:46:18 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * pa.h (ASM_OUTPUT_LABEL): TARGET_GAS no longer needs trailing colons. + (ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_COMMON): Likewise. + + * pa.h (TARGET_PORTABLE_RUNTIME): Define. + (TARGET_SWITCHES): Add -mportable-runtime and -mno-portable-runtime. + (CUMULATIVE_ARGS): Now a "struct hppa_args" rathern than an int. + All references changed. + (INIT_CUMULATIVE_ARGS): Also initialize nargs_prototype. + (INIT_CUMULATIVE_INCOMING_ARGS): Define. + (FUNCTION_ARG_ADVANCE): Decrement nargs_prototype for each arg seen. + (FUNCTION_ARG): Handle TARGET_PORTABLE_RUNTIME. + (ASM_DECLARE_FUNCTION_NAME): Explicitly disallow argument relocations + for TARGET_PORTABLE_RUNTIME. + (ASM_OUTPUT_INT): Do not use a P% prefix for function references + if TARGET_PORTABLE_RUNTIME. + + * pa.md (high and lo_sum for function addresses): Provide alternate + definitions for TARGET_PORTABLE_RUNTIME. + + * pa.c (output_arg_descriptor): Explicitly disallow argument + relocations for TARGET_PORTABLE_RUNTIME. + +Tue Mar 29 07:45:44 1994 Chris Smith (csmith@convex.com) + + * convex.h (check_float_value): fix return type in extern. + +Mon Mar 28 18:36:56 1994 Philippe De Muyter (phdm@info.ucl.ac.be) + + * m68k/mot3300.h (ASM_IDENTIFY_GCC): Define to be non-null. + +Sun Mar 27 20:26:36 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * c-parse.in (attrib): Handle string args as expressions, + merging the two rules. `mode' attribute now takes a string arg. + Delete the rule for an identifier as arg. + * c-common.c (decl_attributes): `mode' attribute now takes string arg. + +Sun Mar 27 14:42:39 1994 Doug Evans (dje@cygnus.com) + + * c-parse.in (attrib): Back out last patch. + +Fri Mar 25 17:52:44 1994 Walter Misar (misar@rbg.informatik.th-darmstadt.de) + + * m68k.md (movsi): New strategy for moving small constants into dregs, + if it can't be done with moveq. + * m68k.h (CONST_COSTS): Reflect the change in m68k.md. + +Fri Mar 25 14:30:47 1994 Philippe De Muyter (phdm@info.ucl.ac.be) + + * m68k.md (call): If (new) MOTOROLA_BSR defined, try to emit 'bsr'. + * m68k/mot3300.h (MOTOROLA_BSR): Defined. + + * m68k.c (output_function_prologue): Use link.w on 68040; + emit pea fp + movl sp,fp instead of linkw 0 for 68040. + +Fri Mar 25 14:21:06 1994 Jim Meyering (meyering@idefix.comco.com) + + * bc-emit.c (bc_emit_bytecode): Remove decl of unused variable NPUSHES. + (bc_emit_instruction): Remove decl of unused variable LITERAL. + * c-aux-info.c (gen_decl): Remove decl of unused variable. + * c-common.c (truthvalue_conversion): Remove decl of unused CODE. + * c-decl.c (push_parm_decl): Move decl of unused variable OLDDECL + into #if 0 block. + (finish_enum): Remove decls of unused variables I and TEMPORARY. + * c-parse.in (primary): Remove decl of unused variable CONTEXT. + * c-typeck.c (convert_arguments): Remove decls of unused variables. + * collect2.c (putenv): Remove decl of unused variable STR_LEN. + (main): Remove decls of unused variables LEN and CLEN. + * combine.c (try_combine): Remove decls of unused variables. + (subst): Remove decls of unused variables ORIG_CODE. + (simplify_if_then_else): Remove decl of unused variable C2. + (make_compound_operation): Remove decl of unused variable COUNT. + (known_cond): Remove decl of unused variable NEW. + (make_field_assignment): Remove decl of unused variable OURDEST. + (simplify_and_const_int): Remove decls of unused variables. + (simplify_shift_const): Remove decl of unused variable INNER. + * cse.c (cse_insn): Remove decl of unused variable TEM. + * dbxout.c (dbxout_symbol): Remove decls of unused variables. + * emit-rtl.c (reset_used_flags): Remove decl of unused variable. + (gen_sequence): Remove decl of unused variable NEWVEC. + * enquire.c (f_rep): Remove decl of unused variable F1. + * final.c (output_source_line): Remove decl of unused variable. + * fix-header.c (read_scan_file): Remove decl of unused variable RPTR. + (write_rbrac): Remove decl of unused variable PARTIAL. + (main): Likewise. + * g++.c (main): Remove decl of unused variable FN. + * genattr.c (main): Remove decl of unused variable MAX_ISSUE_TIME. + * genattrtab.c (expand_units): Remove decl of unused variable. + * genrecog.c (break_out_subroutines): Remove decl of unused variable. + * global.c (global_conflicts): Move decl of unused variable I into + #if 0 block. + * integrate.c (save_for_inline_nocopy): Remove decls of unused vars. + (expand_inline_function): Remove two block-scope decls of unused + variable COPY. + * jump.c (invert_jump): Remove decl of unused variable OLABEL. + * loop.c (init_loop): Remove decls of unused variables. + (loop_optimize): Remove decl of unused variable END. + (combine_movables): Remove decls of unused variables. + (check_final_value): Remove decl of unused variable TEM. + (check_dbra_loop): Remove decls of unused variables. + (maybe_eliminate_biv): Remove decls of unused variables SET and V. + * reload.c (find_reloads_address): Remove two block-scope decls of + unused variable OLDREF. + * rtl.c (read_rtx): Remove decl of unused variable STRINGBUFSIZE. + * scan.c (get_token): Remove decl of unused variable QUOTE. + (get_token): Remove unused label AGAIN. + * sched.c (clear_units): Remove decl of unused variable UNIT. + (actual_hazard_this_instance): Remove decl of unused variable I. + (actual_hazard): Remove two block-scope decls of unused variable BEST. + (sched_analyze_1): Remove decls of unused variables OFFSET and BIT. + (sched_analyze): Remove decl of unused variable DEST. + (sched_note_set): Remove decl of unused variable J. + (create_reg_dead_note): Remove decl of unused variable BACKLINK. + (new_sometimes_live): Remove decl of unused variable I. + (schedule_block): Remove decls of unused variables LAST_NOTE and REGNO. + (schedule_insns): Remove decls of unused variables I and INSNS. + * sdbout.c (sdbout_symbol): Remove decl of unused variable LETTER. + (sdbout_type): Remove decl of unused variable TEM. + * toplev.c (compile_file): Remove unused label. + * tree.c (stabilize_reference_1): Remove decl of unused variable. + * unroll.c (unroll_loop): Remove decl of unused variable V. + (precondition_loop_p): Remove decls of unused variables. + (final_giv_value): Remove decl of unused variable CODE. + +Fri Mar 25 13:40:05 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * pa.h (DBX_REGISTER_NUMBER): Fix numerous bugs in handling + of FP registers and the SAR register. + +Fri Mar 25 12:46:56 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * i386.md (movhi, movqi): Properly recognize unsigned forms of -1 + for dec[bw] insns. + + * expr.c (expand_expr, case ADDR_EXPR): Return const0_rtx if + taking address of an ERROR_MARK; also do some minor cleanup. + + * calls.c (expand_call): Don't require both -W and -Winline to say + that call can't be inlined. + Warn if inlining is tried but fails. + + * cccp.c (for_lint): Variable renamed from `lint'. + + * expr.c (expand_expr, case ABS_EXPR): Compare with 0 of proper mode. + + * fold-const.c (fold, case *_DIV_EXPR): Correct result when + product of constants overflows. + + * alpha.c (output_prolog): Correctly compute floating-reg save + area offset. + + * stmt.c (init_stmt_for_function): Clear stack_block_stack. + + * reload1.c (reload): Fix error in last change; only check + against group reloads and check all reloads. + +Thu Mar 24 13:19:43 1994 Doug Evans (dje@cygnus.com) + + * toplev.c (v_pedwarn_with_decl): Don't cause compilation to fail + from pedantic errors in system header files. + +Thu Mar 24 03:01:05 1994 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) + + * config.sub: Add case for Bull dpx20. + + * config/m68k/dpx2.h (CPP_PREDEFINES): Fix typo. + +Wed Mar 23 17:29:56 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * reload1.c (reload): Fix error in last change; compute MODE before + it's used. + + * loop.c (get_condition): Exit if we don't recognize SET_SRC of + a SET that modifies OP0. + + * combine.c (simplify_rtx, case FLOAT_TRUNCATE): Simplify + case of (float_truncate (abs (float_extend X))). + +Wed Mar 23 17:20:54 1994 Jim Wilson (wilson@cygnus.com) + + * dbxout.c (dbxout_parms): For parameter living in psuedo-reg that + was optimized away, use declared type instead of passed type. + + * mips.c (mips_asm_file_start): Add comment on TARGET_GP_OPT code. + + * c-decl.c (init_decl_processing): Change builtin_next_arg type so + that it accepts any parameter instead of none. + * cp/decl.c (init_decl_processing): Likewise. + * expr.c (expand_builtin, BUILT_IN_NEXT_ARG case): Verify that + parameter is last named argument. + * gstdarg.h (va_start): Pass LASTARG as a parameter to + builtin_next_arg. + * va-h8300.h, va-i860.h, va-i960.h, va-mips.h, va-sparc.h + (va_start): Likewise. + * va-alpha.h (va_start): Add call to builtin_next_arg. + * va-clipper.h, va-m88k.h, va-pa.h, va-sparc.h (va_start): + Likewise. + +Tue Mar 22 18:57:54 1994 Jim Wilson (wilson@cygnus.com) + + * iris5.h (MIPS_DEFAULT_GVALUE): Define to zero. + * mips.c (pic_address_needs_scratch): New function. + (override_options): Set flag_pic when TARGET_ABICALLS. + * mips.h (GO_IF_LEGITIMATE_ADDRESS): Also pretend that we have REG + plus CONST_INT addresses by deleting an else. + (CONSTANT_ADDRESS_P): When pic, don't accept addresses which are + symbol_ref plus a large integer. + (LEGITIMATE_PIC_OPERAND_P): Likewise. + (LEGITIMIZE_ADDRESS): When pic, convert addresses which are + symbol_reg plus a large integer, to reg plus a large integer. + (ASM_OUTPUT_ADDR_DIFF_ELT): Use .gpword instead of subtracting + labels. + * mips.md (movsi): Add special handling for constants which are + illegal addresses when pic. + (tablejump_internal1, tablejump_internal2): Emit .cpadd when + TARGET_ABICALLS. Adjust length to include .cpadd. + + * mips.h (TRAMPOLINE_TEMPLATE): Add `move $25,$3' for when + TARGET_ABICALLS. Delete padding for 64 bit case. Adjust offsets. + (TRAMPOLINE_SIZE): Increase from 9 to 10 words for 32 bit case. + (INITIALIZE_TRAMPOLINE): Increase offsets by 4 bytes for 32 bit case. + +Tue Mar 22 15:46:42 1994 Michael Meissner (meissner@osf.org) + + * i386/osfrose.h (HANDLE_PRAGMA_WEAK): Define in terms of + TARGET_ELF. + (ASM_OUTPUT_DEF): Provide a definition. + +Mon Mar 21 15:56:58 1994 Per Bothner (bothner@cygnus.com) + + * fix-header.c: Make sstring buf extern (rather than "common"). + +Mon Mar 21 17:45:56 1994 Doug Evans (dje@cygnus.com) + + * configure: Accept and ignore --without-*. + +Mon Mar 21 17:05:25 1994 Jim Wilson (wilson@cygnus.com) + + * dbxout.c (source_label_number): New variable. + (dbxout_source_file): Use it. Output an Ltext label. + + * c-decl.c (duplicate_decls): When pedantic, warn when any static + declaraction follows a non-static. + + * sparc.md (seq, sne, sgt, slt, sge, sle): Add support + for !TARGET_HARD_QUAD. + +Mon Mar 21 16:59:02 1994 Mike Collison (collison@chianti.sw.stratus.com) + + * reload1.c (reload): More accurately compute nongroup needs. + (reloads_conflict): New function. + +Mon Mar 21 16:21:07 1994 Doug Evans (dje@cygnus.com) + + * libgcc2.c (__builtin_saveregs): Fix return type. + +Mon Mar 21 07:37:13 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * function.c (preserve_temp_slots): If argument is REG, see if it + is address of a temp slot we know about. + * expr.c (expand_expr, case ADDR_EXPR): Update temp slot address + if we put it in a register; mark result as pointer. + + * cse.c (FIXED_REGNO_P): Treate global regs as fixed. + (CHEAP_REGNO): Renamed from CHEAP_REG. + (CHEAP_REG): New macro; user var in hard reg is cheap. + (COST): Pass RTL to CHEAP_REG, not regno. + (rtx_cost, case REG): Likewise. + +Sun Mar 20 19:38:44 1994 Stephen L Moshier (moshier@world.std.com) + + * m68k/news.h (PRINT_OPERAND): Print float infinity + and NaN's as +/-99e999. + +Sun Mar 20 17:42:09 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * mips-tfile.c (update_headers): Align symbol table sections, + using ALIGN_SYMTABLE_OFFSET. Provide a default definition which + does no alignment. + * alpha.h (ALIGN_SYMTABLE_OFFSET): New macro. + +Sun Mar 20 06:38:41 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) + + * emit_rtl.c (try_split): Rename third parameter as LAST. + Recursively call try_split for each new insn created. + + * combine.c (mark_used_regs_combine): Correct typo. + +Sun Mar 20 06:28:23 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * vax.h (CHECK_FLOAT_VALUE): Add missing continuation character. + * tree.c (build_real): Add `overflow' var; pass to CHECK_FLOAT_VALUE. + +Sat Mar 19 17:44:14 1994 Jim Wilson (wilson@cygnus.com) + + * expr.c (expand_expr, case ABS_EXPR): Fix typo in last change. + +Sat Mar 19 17:13:47 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) + + * combine.c (newpat_used_regs): New variable. + (mark_used_regs_combine): New function. + (try_combine): Use them. + (reg_dead_at_p): Registers marked in newpat_used_regs must always be + considered to be live. + +Sat Mar 19 06:29:38 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * c-parse.in (attrib): Use `identifier' instead of `IDENTIFIER' + since names that are (e.g.) typedef names are still OK. + + * m68k/next.h (GO_IF_INDEXABLE_BASE): Make compatible with m68k.h. + + * genoutput.c (output_epilogue, insn_names): Write correct names + for patterns before first named pattern. + + * nextstep.h (SELECT_SECTION): Fix typo (arg names) in last change. + + * c-decl.c (grokdeclarator): Use signed version of `sizetype' for + type of array index. + +Sat Mar 19 06:25:39 1994 Stephen L Moshier (moshier@world.std.com) + + * fold-const.c (const_binop): Avoid initialized aggregate + local variables, for antique compilers. + +Fri Mar 18 18:43:28 1994 Jim Wilson (wilson@cygnus.com) + + * i386/osfrose.h (SELECT_SECTION): Variables go in readonly data + only if the initializer is constant. + * i386/svr3gas.h, m88k/m88k.h, mips/mips.h, nexstep.h, + rs6000/rs6000.h, sparc/sparc.h, svr3.h, svr4.h, vax/vms.h + (SELECT_SECTION): Likewise. + * varasm.c (assemble_variable): Likewise. + +Fri Mar 18 17:54:12 1994 David Edelsohn (edelsohn@npac.syr.edu) + + * rs6000.md (divmodsi4, udivsi3, divsi3, udivmodsi4): Add AIX + common-mode cases. + (mulh_call, mull_call, divss_call, divus_call, quoss_call, quous_call): + AIX common-mode call patterns. + (ashlsi3): More TARGET_POWERPC to ! TARGET_POWER changes. + (addsf3, subsf3, mulsf3, divsf3, etc.): Change TARGET_POWER + to ! TARGET_POWERPC. + (fix_truncdfsi2): Use POWER/2 and PowerPC FP convert instruction. + (fpcvtsi): New pattern. + (mulsidi3): Add AIX common-mode case, add imul attribute to POWER + pattern, add PowerPC pattern, flag input operands as commutative. + (smulsi3_highpart): Add AIX common-mode case. + (movsi matcher): Add mtjmpr attribute to ! TARGET_POWER case. + (movsf): Clean up load from memory or integer register test. + (movdi matcher): Add FP register support. + + * rs6000.c (common_mode_defined): New variable. + (output_prolog): Define external common-mode calls. + + * rs6000.h (HARD_REGNO_MODE_OK): Allow DImode in FP registers. + (CONDITIONAL_REGISTER_USAGE): Delete ppcas mention from comment. + (RTX_COSTS): Costs based upon processor_type enum. + +Fri Mar 18 17:53:35 1994 Torbjorn Granlund (tege@cygnus.com) + + * rs6000.md (smulsi3_highpart): New patterns. + (umulsi3_highpart_power): New pattern. + +Fri Mar 18 15:26:56 1994 Jim Wilson (wilson@cygnus.com) + + * sol2.h (SELECT_RTX_SECTION): Delete. + * sysv4.h (SELECT_RTX_SECTION): Add. + (ASM_SPEC): Pass -K to assembler when PIC. + + * cccp.c (before_system, last_before_system): New variables. + (main): Handle -isystem option. Insert -isystem directories in + search chain at first_system_include. + * gcc.c (include_prefix): New variable. + (process_command): Add path/include to include_prefix when see a + -Bpath option. + (do_spec_1, case 'I'): Pass include_prefix directories to cpp with + the -isystem option. + + * loop.c (scan_loop): New variable loop_depth. Increment and + decrement on LOOP_BEG and LOOP_END notes. Only use LOOP_VTOP note + if loop_depth is zero. + (strength_reduce): Likewise. + + * sparc/sparc.h (FIXUNS_TRUNCTFSI2_LIBCALL): Define. + * optabs.c (init_optabs): Use FIXUNS_TRUNCTFSI2_LIBCALL macro. + +Thu Mar 17 13:13:46 1994 Per Bothner (bothner@kalessin.cygnus.com) + + * stor-layout.c (layout_type, case BOOLEAN_TYPE): + Set TREE_UNSIGNED unless TYPE_MIN_VALUE is negative. + +Thu Mar 17 18:36:34 1994 Jim Wilson (wilson@cygnus.com) + + * c-common.c (shorten_compare): When simplify compare against + zero, check for restype_ptr unsigned instead of primop0 unsigned. + + * calls.c (expand_call): Undo Feb 27 change. Set nregs to -1 for + normal case. + +Thu Mar 17 17:43:28 1994 Ian Lance Taylor (ian@cygnus.com) + + * fixinc.svr4: Define BYTE_ORDER in as on + UnixWare 1.1. + +Thu Mar 17 06:02:24 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * stor-layout.c (layout_type, case INTEGER_TYPE): Properly test for + nonnegative lower bound. + +Wed Mar 16 12:41:19 1994 Ian Lance Taylor (ian@cygnus.com) + + * tree.c (build_nt, build_parse_node): Don't declare last + parameter to be register, since it is used in VA_START, which + may take its address. + * genattrtab.c (attr_printf): Likewise. + +Wed Mar 16 12:00:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * pa.h (INITIALIZE_TRAMPOLINE): Do not mask off high + bits of address passed to icacheflush. + + * pa.h (WCHAR_TYPE): Use "unsigned int" by default. + (WCHAR_TYPE_SIZE): Change appropriately. + * pa-ghiux.h, pa-ghpux.h, pa-gux7.h, pa-hiux.h, pa-hpux.h, + pa-hpux7.h (WCHAR_TYPE): Delete definition. + (WCHAR_TYPE_SIZE): Likewise. + * pa-osf.h (WCHAR_TYPE): Override appropriately for OSF1. + (WCHAR_TYPE_SIZE): Likewise. + + * pa.md (DImode lo_sum): Add earlyclobber for alternative one. + + * pa.h (ASM_OUTPUT_ADDR_DIFF_ELT): Rewrite to match + ASM_OUTPUT_ADDR_VEC_ELT which is PIC-safe. + +Wed Mar 16 09:07:34 1994 Matthias Pfaller (leo@marco.de) + + * ns32k.c (global_symbolic_reference_mentioned_p): Recurse only + if GET_CODE (op) == CONST. + + * ns32k.h (FUNCTION_PROLOGUE): Load sb through r0 if TARGET_REGPARM + is false. + +Wed Mar 16 06:57:45 1994 Richard Kenner (kenner@vlsi1.ultra.nyu) + + * emit-rtl.c (gen_lowpart_common, gen_highpart, operand_subword): + Test input against RTX for FP, AP, and SP, not same register number. + + * expr.c (expand_expr): Update comments and fix formatting. + (expand_expr, case VAR_DECL, STRING_CST, CONSTRUCTOR): If + flag_force_addr, put address in register unless REG. + (expand_expr, case CONSTRUCTOR, CONVERT_EXPR): Make TARGET with + TMODE, if specified. + (expand_expr, case IN_EXPR): Clean up. Allow INDEX to be an + unsigned type. Always evaluate SET and INDEX in case of side effects. + (expand_expr, case CONVERT_EXPR): Use convert_modes to handle consts. + (expand_expr, case ABS_EXPR): Simplify processing of COMPLEX. + Compare with zero word-by-word if required. + (expand_expr, case ABS_EXPR, MIN_EXPR, COND_EXPR): Don't use TARGET + if not MODE. + (expand_expr, case TRUTH_*_EXPR): Modes of input and output must agree. + (expand_expr, case CONJ_EXPR): Remove redundant def of MODE. + + * stor-layout.c (layout_record): If the place where we were going + to put a field changed, lay it out again. + +Tue Mar 15 07:53:36 1994 Paul A Vixie (paul@vix.com) + + * Makefile.in (stmp-fixproto): Add missing "-" in front of "if". + (install-headers-tar, gcc.xtar): Use "-" in front of tar options. + +Mon Mar 14 16:28:16 1994 Paul Eggert (eggert@twinsun.com) + + * fixincludes: Insert newlines just before the end of 'sed' + command strings if the last 'sed' command is 'a' or 'i'; + BSDI 1.1 'sed' needs this. + +Mon Mar 14 15:46:29 1994 Ian Lance Taylor (ian@cygnus.com) + + * fixinc.svr4: Don't name variables in mmap prototype. + +Mon Mar 14 15:16:38 1994 Doug Evans (dje@cygnus.com) + + * objc/Makefile (*.o): Add explicit dependencies for Sun's VPATH. + +Mon Mar 14 05:11:42 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * function.c (assign_parms, expand_function_start): Properly + set MEM_IN_STRUCT_P for DECL_RTL of function result. + + * c-decl.c (grokdeclarator): Convert to sizetype when manipulating + size of array and use care to avoid mixed-type operations. + + * expr.c (expand_expr): Don't call bc_expand_expr + if EXPAND_INITIALIZER. + * bc-optab.c (bc_expand_{binary,unary}_operation): Add missing + args to call to expand_expr. + * stmt.c (bc_expand_start_cond): Set exit_label if not EXITFLAG. + (bc_expand_end_bindings): Only define exit_label if set. + Don't pop nesting_stack. + * varasm.c (output_constant_def): Do hashing and make label + even if bytecode. + * bc-emit.c (bc_seg_write): Don't make unaligned reference to + seg->data. + * toplev.c (compile_file): Call bc_write_file here and pass + asm_out_file, not stdout. + (main): Don't call bc_write_file here. + Fix wording on error if -fbytecode specified on unsupported target. + + * fold-const.c (fold, associate): If -ffast-math, associate FP mults. + (fold, case RDIV_EXPR): Split case; ignore division by 1. + If -ffast-math, convert to multply by reciprocal. + (fold, case *_DIV_EXPR): Simplify A/C1/C2. + + * tree.h (tree_int_cst_sgn): New declaration. + * tree.c (tree_int_cst_sgn): New function. + * c-decl.c (finish_{decl,struct,enum}): Call it. + * c-typeck.c (build_binary_op, pop_init_level): Likewise. + (output_pending_init_elements): Likewise. + * expr.c (expand_builtin, case BUILT_IN_RETURN_ADDRESS): Likewise. + * fold-const.c (fold): Likewise. + (fold, case *_DIV_EXPR): Add missing conversion. + * convert.c (convert_to_integer): Convert integer_one_node to + proper type before tree_int_cst_lt call. + +Sun Mar 13 06:46:13 1994 Wolfgang Stukenbrock (wgstuken@immd4.informatik.uni-erlangen.de) + + * gcc.c (do_spec_1): Don't duplicate a macro starting with '__'. + +Sun Mar 13 05:54:00 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * convert.c (convert_to_integer): When changing type of truthvalue + operation, change types of inputs too. + * c-common.c (TRUTH_*_EXPR): Convert to integer_type_node. + + * tree.c: Include setjmp.h. + (build_real_from_int_cst): Propagate overflow flags and + establish float handler. + (build_complex): Propagate overflow flags. + * cse.c (simplify_binary_operation): Protect real_value_truncate + inside handler. + * fold-const.c (force_fit_value): Operate on REAL_CST as well. + (real_value_truncate): Don't use its own handler. + (const_binop): Set overflow on FP error and call force_fit_type. + (fold_convert): Likewise. + * c-common.c (constant_expression_warning, overflow_warning): + Handle REAL_CST and COMPLEX_CST. + * convex.h, convex.c, fx80.h, tahoe.h, vax.h, vax.c: Add OVERFLOW + operand to CHECK_FLOAT_VALUE. + + * jump.c (rtx_equal_for_thread_p): Correct error in previous + change; add missing arg in recursive call. + +Sat Mar 12 19:42:03 1994 H.J. Lu (hjl@nynexst.com) + + * configure (gxx-include-dir): Replacement for gxx-prefix. + * Makefile.in (gxx_include_dir): Likewise, for gxx_prefix. + + * i386/linux.h (NO_IMPLICIT_EXTERN_C): Defined. + +Sat Mar 12 07:42:12 1994 Paul Eggert (eggert@twinsun.com) + + * Makefile.in (stmp-fixproto): Work around a `make' bug in BSDI 1.1. + +Sat Mar 12 07:38:08 1994 Klaus Kaempf (kkaempf@didymus.rmi.de) + + * bi-run.h: Properly test BYTES_BIG_ENDIAN. + * bytecode.h: Likewise for WORDS_BIG_ENDIAN. + + * cccp.c (do_include, hack-vms_include_specification): Change handling + of '#include filename' to be compatible with VAX-C. + + * genemit.c (gen_exp): Added \n to printf to shorten line for VAX-C. + +Sat Mar 12 06:42:38 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * expr.h (emit_float_lib_cmp): Add declaration here. + * optabs.c: Don't define emit_float_lib_cmp now that no longer static. + + * jump.c: Add prototypes for static functions. + (jump_optimize, delete_insn): Use GET_RTX_CLASS to test for insns. + (mark_jump_label): Delete dead code. + (delete_computation, redirect_tablejump): No longer static. + +Fri Mar 11 14:40:40 1994 Jim Wilson (wilson@cygnus.com) + + * lite.h (TARGET_DEFAULT): Use parentheses. + * sparc.h (TARGET_HARD_QUAD): New macro. + (TARGET_SWITCHES): Add hard-quad-float, soft-quad-float. + (TARGET_DEFAULT): Use parentheses. + ({ADDTF3,SUBTF3,MULTF3,DIVTF3,SQRTTF2,FLOATSITF2,FIX_TRUNCTFSI2, + EXTENDSFTF2,TRUNCTFSF2,EXTENDDFTF2,TRUNCTFDF2,EQTF2,NETF2,GTTF2, + GETF2,LTTF2,LETF2}_LIBCALL): New macros. + * sparc.md (sleu+4, sleu+7, extendsftf2, extenddftf2, trunctfsf2, + trunctfdf2, floatsitf2, fix_trunctfsi2, addtf3, subtf3, multf3, + divtf3, sqrttf2): Disable when -msoft-quad-float. + (beq, bne, bgt, blt, bge, ble): When -msoft-quad-float, account + for return value of SPARC ABI routines that differs from libgcc. + * flow.c (libcall_dead_p): Fail not abort for libcall that returns + value via invisible pointer. + * optabs.c (emit_float_lib_cmp): Make non static. + (init_optabs): Use {ADDTF3,SUBTF3,MULTF3,DIVTF3,SQRTTF2,FLOATSITF2, + FIX_TRUNCTFSI2,EXTENDSFTF2,TRUNCTFSF2,EXTENDDFTF2,TRUNCTFDF2,EQTF2, + NETF2,GTTF2,GETF2,LTTF2,LETF2}_LIBCALL macros. + + * sparc/sparc.h (STARTING_FRAME_OFFSET): Depend on + LONG_DOUBLE_TYPE_SIZE. + +Fri Mar 11 08:01:54 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de) + + * rtl.h, tree.h, g++.c, gcc.c (PVPROTO): New macro. + * combine.c, expr.h, rtl.h, tree.h, gcc.c: Use it for varargs protos.. + * genattrtab.c, mips-tfile.c, output.h, toplev.c: Likewise. + +Fri Mar 11 07:21:36 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * emit-rtl.c (copy_rtx_if_shared, case LABEL_REF): Can't share. + * jump.c (jump_optimize): Delete REG_LABEL note if label no + longer in insn. + + * c-decl.c (finish_decl): When preserving an initializer, ensure + its type is on a good obstack. + +Thu Mar 10 15:32:42 1994 Mike Collison (collison@sw.stratus.com) + + * reload1.c (emit_reload_insns): When clearing reg_last_reload_reg, + clear all hard regs in reload_out. + +Thu Mar 10 15:23:10 1994 Hallvard B Furuseth (hbf@durin.uio.no) + + * collect2.c (dup2): Catch `dup' failure. Return correct value. + +Thu Mar 10 15:18:08 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) + + * gcc.c ([__MSDOS__]): Use #ifdef, not #if. + * collect2.c ([__MSDOS__]): Likewise. + +Thu Mar 10 15:03:01 1994 Paul Eggert (eggert@twinsun.com) + + * cccp.c (main, finclude, check_precompiled): When safe_read + returns a partial buffer, this means EOF has been reached; + don't try to read any more. + +Wed Mar 9 18:47:29 1994 Paul Eggert (eggert@twinsun.com) + + * real.c (target_negative): -0 counts as negative. + +Wed Mar 9 15:32:01 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * m68k.md (movqi): Disable special-case of stack push if operand + one is an address register. + + * c-typeck.c (pointer_int_sum): Multiplication should be + done signed. + (pointer_diff): Likewise the division. + * fold-const.c (fold, case MULT_EXPR): Simplify MULT_EXPR of an + EXACT_DIV_EXPR with the same divisor as our multiplicand. + + * jump.c (rtx_equal_for_thread_p): Commutative operations + are identical if the operands match in the opposite order. + * sched.c (rtx_equal_for_memref_p): Likewise. + +Wed Mar 9 12:07:29 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) + + * cse.c (simplify_relational_operation): Fix typos; use + ARG_POINTER_REGNUM and FRAME_POINTER_REGNUM in condtionals. + +Tue Mar 8 16:12:07 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * explow.c (break_out_memory_refs): Don't call mark_reg_pointer + here. + (memory_address): Call it here if X changed and is now a REG + or REG + CONST_INT. + +Tue Mar 8 15:57:29 1994 Jim Wilson (wilson@cygnus.com) + + * c-decl.c (finish_decl): When saving/discarding initializers, + don't check TREE_PERMANENT and TREE_STATIC. + (finish_decl, finish_function): Pass new argument to + permanent_allocation. + * cp/decl.c (finish_function): Likewise. + * cp/decl2.c (write_vtable_entries, finish_file): Likewise. + * toplev.c (compile_file): Likewise. + * function.h (struct function): Add momentary_function_firstobj + field. + * tree.c (momentary_function_firstobj): New variable. + (init_obstack): Set it. + (save_tree_status): Save it and set it. + (restore_tree_status): Use it and restore it. + (permanent_allocation): New parameter function_end. Clear + momentary_obstack to momentary_function_firstobj if true. + (preserve_initializer): Set base field of every momentary + level on the momentary stack to new momentary_firstobj. + (pop_momentary): Only free back to previous base. + * tree.h (permanent_allocation): Add prototype. + +Mon Mar 7 20:10:56 1994 Jim Wilson (wilson@cygnus.com) + + * iris4gl.h: Rewrite. Include iris4loser.h not iris4-gdb.h. + Define PREFERRED_DEBUGGING_TYPE not ASM_SPEC. + + * bsd-4.h (LINK_SPEC): Do not depend on gas. Don't interpret -EB + and -EL options, but do pass them. + * bsd-5.h (LINK_SPEC): Likewise. + * decl-osf1.h (LINK_SPEC): Likewise. + * iris5.h (LINK_SPEC): Likewise. + * mips-5.h (LINK_SPEC): Likewise. + * mips.h (LINK_SPEC): Likewise. + * svr3-4.h (LINK_SPEC): Likewise. + * svr3-5.h (LINK_SPEC): Likewise. + * svr4-4.h (LINK_SPEC): Likewise. + * svr4-5.h (LINK_SPEC): Likewise. + + * dec-bsd.h (LINK_SPEC): Pass all normal linker options to gld. + (ASM_SPEC): Pass all normal assembler options to gas. + * osfrose.h (LINK_SPEC): Likewise. + (ASM_SPEC): Likewise. + + * mips.h (ASM_SPEC): Make definition depend on whether or + not the default assembler is gas. Pass all normal assembler + options to gas. + * iris4loser.h (ASM_SPEC): Likewise. Pass -O0 if the assembler is + not gas. + + * iris3.h (ASM_SPEC, LINK_SPEC): Delete. + * news4.h (ASM_SPEC, LINK_SPEC): Delete. + * news5.h (LINK_SPEC): Delete. + * nws3250v4.h (ASM_SPEC, LINK_SPEC): Delete. + * ultrix.h (ASM_SPEC, LINK_SPEC): Delete. + + * mips.h (ASM_FINAL_SPEC): Cross compiling does not presume gas. + + * osfrose.h (SIZE_TYPE): Delete. + (MAX_WCHAR_TYPE_SIZE): Define. + + * calls.c (expand_call): For pcc_struct_value case, set + MEM_IN_STRUCT_P correctly on target. + + * Makefile.in (mostlyclean): Don't explicitly delete ld. + +Mon Mar 7 20:06:38 1994 Ian Lance Taylor (ian@cygnus.com) + + * mips-tdump.c (print_symbol): The index field of a global symbol + is the symbol table index of the corresponding local symbol, not + an index into the aux table. + (print_file_desc): Print out size of line number information + rather than repeating line number count. The cbLineOffset field + of a PDR is relative to the cbLineOffset field of the FDR. Also, + when computing line_end of the last PDR, use cbLineOffset, not + ilineBase. + +Mon Mar 7 17:42:35 1994 H.J. Lu (hjl@nynexst.com) + + * Makefile.in (gxx_prefix): New; default to $(libdir). + (GPLUSPLUS_INCLUDE_DIR): Change to $(gxx_prefix)/g++-include. + * configure (gxx_prefix): New; default to $(libdir). + + * i386/linux.h (GPLUSPLUS_INCLUDE_DIR): Deleted. + (STARTFILE_SPEC): Remove "-nojump". + +Mon Mar 7 17:06:08 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de) + + * i386/xm-linux.h (malloc): Remove disabled code. + +Mon Mar 7 13:27:09 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * cccp.c (no_record_file): New variable. + (main): Set it for -imacros and -include files. + (do_endif): Don't call record_control_macro for -include or -imacros + files or files included from -imacros. + +Sun Mar 6 21:48:51 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * config.sub: Accept freebsd as OS. + +Sun Mar 6 14:40:00 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * stupid.c: Add prototypes for static functions. + (last_{jump,label}_suid): Deleted; all uses deleted. + (reg_crosses_blocks): Likewise. + (stupid_life_analysis): Only allocate MAX_SUID entries + of after_insn_hard_regs. + Use GET_RTX_CLASS when possible. + Initialize all of reg_renumber. + Use reg_alternate_class when reg not available in preferred class. + (stupid_find_reg): Delete argument CROSSES_BLOCKS. + + * stupid.c (stupid_mark_refs): If setting reg_where_dead, set + regs_live so we don't later clobber it. + + * recog.c (constrain_operands): Properly handle '#' in constraint. + + * combine.c (subst): Split into five functions. + (simplify_{rtx,if_then_else,set,logical}): New functions. + +Sun Mar 6 13:12:48 1994 James Van Artsdalen (james at bigtex.cactus.org) + + * reg-stack.c (find_blocks): Undo previous change to block + delineation algorithm. + (reg_to_stack): Make algorithm identical to that in find_blocks. + +Sat Mar 5 16:27:58 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * genattrtab.c (attr_printf): Remove `register' from decl of FMT. + * tree.c (build_nt, build_parse_node): Remove `register' from decl + of CODE. + + * reload.c (get_secondary_mem): Call SECONDARY_MEMORY_NEEDED_MODE + if it is defined. + * alpha.h (SECONDARY_MEMORY_NEEDED_MODE): New macro. + * alpha.c (output_{pro,epi}log): Round var size to quadword boundary. + + * alpha.md (unaligned_{load,store}hi): Clear low bit of + address before using as operand to extwl, mskwl, and inswl. + (movhi, reload_inhi, reload_outhi): Pass extra scratch value. + +Fri Mar 4 17:16:23 1994 Leonard Norrgard (vinsci@nic.funet.fi) + + * c-lex.c: Delete gperf-generated source from here. + * c-gperf.h: New file; contains just gperf output. + * Makefile.in (c-gperf.h): New rule. + (c-lex.o): Depends on c-gperf.h. + (realclean): Delete c-gperf.h. + (distdir): Build c-gperf.h. + (diff): Omit differences in c-gperf.h. + +Fri Mar 4 06:35:26 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * svr4.h, m88k.h (ASM_FINISH_DECLARE_OBJECT): Set + size_directive_output to 1. + + * reload1.c (emit_reload_insns): Don't call gen_input_reload if + src and dest are identical. + +Thu Mar 3 15:32:55 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * alpha.md (mskXl): Add missing NOT in patterns. -Thu Jan 16 07:40:29 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * t-m88k: Remove added realclean rule. - * 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.8 for earlier changes.