--- gcc/ChangeLog 2018/04/24 18:10:27 1.1.1.6 +++ gcc/ChangeLog 2018/04/24 18:41:25 1.1.1.11 @@ -1,9217 +1,5890 @@ -Sun Jan 23 18:41:37 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Thu Aug 22 23:47:38 1997 H.J. Lu (hjl@gnu.ai.mit.edu) - * Version 2.5.8 released. + * Version 2.7.2.3 released. - * reload.c (find_reloads): Properly test for output operand - when changing RELOAD_FOR_OUTPUT_ADDRESS to RELOAD_FOR_INPUT_ADDRESS. +Wed Aug 13 08:28:18 1997 H.J. Lu (hjl@gnu.ai.mit.edu) - * alpha.c (output_{pro,epi}log): Use assemble_name to output - alpha_function_name. + * INSTALL, install.texi: Update for m68k-*-linuxaout, + m68k-*-linux-gnulibc1 and m68k-*-linux. -Sun Jan 23 18:40:23 1994 Samuel A. Figueroa (figueroa@cs.nyu.edu) +1997-08-12 Andreas Schwab - * i386/os2.h (PATH_SEPARATOR): New macro. - * i386/gas.h (ASM_FILE_START): Delete; identical to one in bsd.h, - which is included. + * config/m68k/t-linux: Define INSTALL_ASSERT_H and + TARGET_LIBGCC2_CFLAGS. + * config/m68k/t-linux-gnulibc1: New file. -Sun Jan 23 05:59:31 1994 Per Bothner (bothner@cygnus.com) + * configure: Don't use GNU setup for *-*-linux-gnu*. + (m68k-*-linux*gnulibc1): New target. + (m68k-*-linux*): Set $extra_parts correctly. - * c-typeck.c (really_start_incremental_init): Save current elements - instead of clearing them. + * config/m68k/linux.h (STRICT_ALIGNMENT): Define to zero. + (CPP_SPEC, LIB_SPEC, LINK_SPEC): Add support for glibc 2. + (LIBGCC_SPEC): Always link in -lgcc independent of -shared. + (LIBCALL_VALUE): Use correct register for XFmode. + (LEGITIMATE_PIC_OPERAND_P): Reject CONST_DOUBLE with MEM with + invalid pic address. + (FINALIZE_TRAMPOLINE, CLEAR_INSN_CACHE): New. -Sat Jan 22 17:23:42 1994 Jeffrey A. Law (law@snake.cs.utah.edu) +Mon Mar 17 17:03:55 1997 J.T. Conklin - * pa.h (ASM_FILE_START): Emit a .file directive at the beginning - of the output file if debug symbols are being generated. + * m68k.md (beq0_di, bne0_di, bge0_di, blt0_di): Use cmpw #0 + instead of tstl when testing address registers on the 68000. -Thu Jan 13 05:42:30 1994 Torbjorn Granlund (tege@adder.cygnus.com) +Fri Aug 8 08:15:55 1997 H.J. Lu (hjl@gnu.ai.mit.edu) - * config.sub: Fix typo in -hiux* case. + * Makefile.in (INSTALL): Fix the rule. + (stamp-crtS): Depend on stamp-crt for parallel make. -Tue Jan 11 19:14:31 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * install1.texi: New. - * a29k.c (output_prolog): Update debug reg map when - we have -mkernel-registers. +Mon Jul 21 22:47:13 1997 H.J. Lu (hjl@gnu.ai.mit.edu) -Mon Jan 10 19:06:57 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * configure (gxx_include_dir): Set it to $prefix/include/g++ + for Linux. - * expr.c (protect_from_queue): If (MEM (QUEUED ...)), modify a - new MEM instead of the one we were passed. +Tue Jun 24 11:24:56 1997 H.J. Lu (hjl@gnu.ai.mit.edu) - * regclass.c (globalize_reg): New function. - (init_reg_sets_1): Don't handle global regs here. - * varasm.c (make_decl_rtl): Call globalize_reg, not init_reg_sets_1. + * INSTALL, install.texi: Refer Linux running libc 5.x.x as + i386-*-linux-gnulibc1. - * a29k.c (print_operand, case 'F'): If we have to do the last - prolog insn, give that priority for an unfilled delay slot. + * config/i386/linux.h, config.guess, config.sub, configure: + Correct support for glibc 2. - * function.c (preserve_rtl_expr_result): New function. - * expr.c (exand_expr, case RTL_EXPR): Call it. + * config/t-linux: New, makefile fragment for Linux target with + glibc 2. -Sun Jan 9 04:40:27 1994 James Van Artsdalen (james at bigtex.cactus.org) + * config/t-linux-gnulibc1: New, makefile fragment for Linux + target with libc 5.x.x. - * jump.c (follow_jumps): Don't follow tablejumps. + * config/t-linux-libc1: Removed. -Tue Jan 4 07:35:05 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * config.sub: Add support for i686. - * tree.c (substitute_expr): Don't abort for RTL_EXPR and - SAVE_EXPR; just do nothing. + * gcc.c (main): check and read ${libdir}/gcc-lib/specs to + override the default specs. -Fri Dec 31 06:27:57 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * combine.c (force_to_mode): Add new parm JUST_SELECT; all - callers changed. - -Fri Dec 24 05:34:38 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * alpha.md (define_attr type): Add new type ISUBR. - (divmod): Set to type ISUBR. - * alpha.c (output_prolog): Need GP if type ISUBR. - - * reload.c (push_reload, find_reloads): Reload inside a paradoxical - SUBREG of MEM except don't force a reload unless the inner mode - is narrower than BIGGEST_ALIGNMENT. - - * c-typeck.c (check_init_type_bitfields): Check recursively inside - arrays and records. - - * cse.c (simplify_binary_operation): Can fold multi-word - operations when first is CONST_INT. - (simplify_binary_operation, case PLUS, MINUS): Don't call - plus_constant when OP0 is VOIDmode. - - * c-typeck.c (pop_init_level): Don't abort if have incomplete array - type inside some other type. - -Thu Dec 23 07:30:24 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * Makefile.in (libgcc.a): Allow chmod of tmpcopy directory to - fail since it can be empty. - - * gcc.c (default_compilers, gnat1): Don't write -gnatb. - - * expr.c (expand_expr, case MINUS_EXPR): When expanding an - initializer, use plus_constant as appropriate. - -Thu Dec 23 09:03:30 1993 Phil Nelson (phil@cs.wwu.edu) - - * ns32k.h (ASM_OUTPUT_ADDR_DIFF_ELT): Use .long, not .double. - -Tue Dec 21 17:37:20 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-tree.h (VTABLE_NAME): No def with NO_{DOLLAR,DOT} defined. - (VTABLE_NAME_P): Use it instead of VTABLE_NAME_FORMAT. - -Tue Dec 21 13:25:39 1993 Jim Wilson (wilson@cygnus.com) - - * rtlanal.c (replace_regs, case REG): Return copies of SUBREGs, to - avoid invalid sharing. - -Mon Dec 20 19:10:16 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * c-typeck.c (struct initializer_stack): New field ELEMENTS. - (start_init, finish_init): Save and restore constructor_elements. - - * emit-rtl.c (gen_lowpart_common): Return a new hard reg even - if not valid in MODE if the input REG is not valid in its mode. - - * rs6000.md (divsi3): Correct logic for when we call force_reg. - (modsi3): Ensure operands[2] is a CONST_INT; include REG in - predicate. - -Thu Dec 16 11:34:48 1993 Ian Lance Taylor (ian@cygnus.com) - - * fixincludes: Do not preserve _HIDDEN_VA_LIST in stdio.h. - -Sun Dec 12 06:47:14 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * Version 2.5.7 released. - -Sun Dec 12 06:18:33 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - - * function.c (thread_prologue_and_epilogue_insns): When constructing - USE chain, set both NEXT_INSN and PREV_INSN links. Also, preserve - order of USE insns in chain. - -Sun Dec 12 06:13:51 1993 DJ Delorie (dj@ctron.com) - - * configure.bat: Update to relect recent changes elsewhere. - * objc/makefile.dos: Likewise. - -Sat Dec 11 18:09:50 1993 Per Bothner (bothner@cygnus.com) - - * dbxout.c (dbxout_type): The "base type" of a SET_TYPE is its - DOMAIN_TYPE, not its TREE_TYPE. - * dwarfout.c (output_type): Likewise. - -Sat Dec 11 07:36:57 1993 David Rifkind (dave@yarc.com) - - * rs6000.md: Add a few missing new nmemonics. - -Sat Dec 11 06:57:55 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * cccp.c (INPUT_STACK_MAX): Double size. - - * integrate.c (initialize_for_inline): Handle CONCAT when setting up - parmdecl_map. - - * rs6000.md (modsi3): Reject REG in predicate to avoid undefined - reference and extra pseudo creation if will fail. - -Fri Dec 10 10:03:36 1993 Mike Stump (mrs@cygnus.com) - - * toplev.c (lang_options): Change -fnodollars-in-identifiers to - -fno-dollars-in-identifiers to match docs. - -Fri Dec 10 15:42:02 1993 Jim Wilson (wilson@mole.gnu.ai.mit.edu) - - * c-lex.c (yylex): When reading malformed floating point constant, - avoid printing error more than once, and avoid passing malformed - number to subsequent atof call. - -Fri Dec 10 06:03:35 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * rs6000.c (easy_fp_constant): Use input_operand to see if - each word can be loaded in one insn. - - * rs6000.md: Change numerous occurrences of TARGET_POWERPC - to ! TARGET_POWER and make related changes. - - * rs6000.md (modsi3): Rework to operate correctly for both POWER - and PowerPC. - -Thu Dec 9 16:19:05 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-tree.h (OPERATOR_TYPENAME_P): Define outside of - NO_{DOLLAR,DOT} macro checks, so it always gets defined. - (VTABLE_NAME_P): Define for NO_DOT && NO_DOLLAR_IN_LABEL. - -Wed Dec 8 05:46:26 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * flow.c (mark_used_regs, case CLOBBER): Refine previous change - to just look at the address of a MEM inside a CLOBBER. - - * fold-const.c (fold, case *_{DIV,MOD}_EXPR): When using - distributive law, take care when C2 is negative. - -Tue Dec 7 08:45:59 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * flow.c (mark_used_regs): Look inside a CLOBBER; it may be the only - place regs are used if it has a stack slot that is from an inlined - function. - -Mon Dec 6 20:56:11 1993 David Rifkind (dave@yarc.com) - - * expr.c (move_block_{to,from}_reg): Check HAVE_{load,store}_multiple - value; don't just #idef the symbol. - -Mon Dec 6 08:01:59 1993 Torbjorn Granlund (tege@cygnus.com) - - * pa.c (hppa_legitimize_address): If we can't legitimize, - do nothing; don't call abort. - -Mon Dec 6 07:38:30 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) - - * arm.c (output_ascii_pseudo_op): 8-bit chars should be zero-extended. - * arm.h (ASM_OUTPUT_ASCII): Likewise. - -Mon Dec 6 07:32:59 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * objc/encoding.h: Include ctype.h. - - * expr.c (expand_expr, case PLACEHOLDER_EXPR): Remove top entry - from PLACEHOLDER_LIST when expanding the value in it. - -Mon Dec 6 05:40:38 1993 Doug Evans (dje@cygnus.com) - - * emit-rtl.c (start_sequence): Save current sequence_rtl_expr. - -Fri Dec 3 07:07:01 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * Version 2.5.6 released. - - * c-typeck.c (c_expand_return): Return if convert_for_assignment - returns error_mark_node. - -Fri Dec 3 06:42:05 1993 Arne Henrik Juul (arnej@fm.unit.no) - - * fixincludes (stdio.h): Fix typos (missing quote) in previous change. - -Fri Dec 3 06:35:57 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - - * gstddef.h: Define and protect against __STDDEF_H__ for Irix 5.1. - - * sparc.c (shift_operand): Delete function. - * sparc.md (ashlsi3, ashrsi3, lshrsi3): Use arith_operand instead - of shift_operand. Truncate shift counts to 5 bits. - -Thu Dec 2 08:11:00 1993 Stefan Rapp (sr@irb.informatik.uni-dortmund.de) - - * loop.c (scan_loop): Correct arguments for register check. - -Thu Dec 2 07:07:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * fixincludes: Preserve _HIDDEN_VA_LIST when changing VA_LIST to - DUMMY_VA_LIST. Change __va_list to __gnuc_va_list. For AIX - 3.2.5. - -Thu Dec 2 07:00:24 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * emit-rtl.c (push_topmost_sequence, end_sequence): Update - sequence_rtl_expr from sequence_stack entry. - - * calls.c (emit_library_call): Use Pmode, not OUTMODE, when passing - in structure address. - - * a29k.c (secondary_reload_class): Kernel regs are in same class - as user regs. - - * a29k.md (movti split): Set CR to 3, not 1 like DImode. - -Thu Dec 2 06:46:07 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - - * reload.c (find_reloads_toplev): Replace obsolete reference to - BYTE_LOADS_*_EXTEND with LOAD_EXTEND_OP. - -Thu Dec 2 06:39:16 1993 Jeffrey A Law (law@snake.cs.utah.edu) - - * pa.h (ASM_STABS_OP, ASM_STABN_OP): Define. - (ASM_FILE_END): Put a TAB before the .stabs directive. - -Thu Dec 2 06:30:17 1993 David Edelsohn (edelsohn@npac.syr.edu) - - * rs6000.md (define_function_unit): Restore ppc601 load and fpload - timings. - -Wed Dec 1 17:24:17 1993 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) - - Wed Nov 24 06:36:10 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-tree.c (get_decl_list): Use the DECL_NESTED_TYPENAME for the - value we're going to paste onto CLASSTYPE_ID_AS_LIST. This will get - the right name for nested classes, and for templates. - - Mon Nov 29 13:09:31 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-decl.c (grokdeclarator): Properly evaluate TREE_PUBLIC for - friends. (Fixes spurious warnings about friends being declared - static but not used.) - - * cp-type2.c (build_functional_cast): If we got an error_mark_node - from build_method_call, make sure EXPR_AS_METHOD is cleared out - again, so the later checks will work properly. - - * cp-decl.c (build_enumerator): Fix logic so an enum inside a class - that's local to a function has its enumerators end up in that - class's list of members, not in the list for the function. - -Tue Nov 30 19:26:05 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * sparc.h (STATIC_CHAIN_REGNUM): Use %g2; %g1 is reserved - for prologue. - (TRAMPOLINE_TEMPLATE, INITIALIZE_TRAMPOLINE): Swap useage of %g1 - and %g2. - - * m68k.md (movdf): Don't need earlyclobber when a register - is copied to itself. - -Sat Nov 27 06:19:22 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * Version 2.5.5 released. - - * c-typeck.c (pop_init_level): Ensure never on momentary_obstack - when calling complete_array_type. - -Sat Nov 27 03:52:26 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * fixproto (scanning files_to_check): Create subdirs files are in. - - * config/m68k/m68k.md (cmpsi, cmphi, cmpqi): Handle SGS_CMP_ORDER - when outputting cmpm insn. - -Fri Nov 26 15:57:24 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * gcc.c (default_compilers): Do define __GNUC_MINOR__ if input is `-'. - -Thu Nov 25 18:16:25 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * function.h (struct sequence_stack): New field sequence_rtl_expr. - (struct function): Likewise. - * emit-rtl.c: Include tree.h. - (sequence_rtl_expr): New variable. - (save_emit_status, restore_emit_status): Save and restore it. - (init_emit): Initialize it. - (start_sequence_for_rtl_expr): New function. - * function.c: Declare sequence_rtl_expr. - (struct temp_slot): New field rtl_expr. - (assign_stack_temp): Set it from sequence_rtl_expr. - ({free,pop}_temp_slots): Don't free any slot with nonzero rtl_expr. - (free_temps_for_rtl_expr): New function. - * expr.c (expand_expr, case RTL_EXPR): Call free_temps_for_rtl_expr. - * stmt.c (expand_start_stmt_expr): Call start_sequence_for_rtl_expr - instead of start_sequence. - * cp-parse.y (except_stmts): Likewise. - * cp-init.c (build_new): Likewise. - * cp-typeck.c (build_modify_expr): Likewise. - * Makefile.in (emit-rtl.o): Includes tree.h. - -Thu Nov 25 17:24:02 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Makefile.in (stmp-fixproto): Create include subdir if doesn't exist. - -Wed Nov 24 14:32:47 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - - * c-common.c (shorten_compare): Correct typo from last change. - -Wed Nov 24 13:25:09 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) - - * protoize.c (save_def_or_dec): Correct typo in change of Nov 23. Make - sure pointers within def_dec_p are valid before it is freed. - -Wed Nov 24 07:02:50 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Mon Jun 23 22:48:00 1997 Jim Wilson + + * unroll.c (find_splittable_givs): Set splittable_regs_updates + to biv_count for reduced givs. - * expr.c (expand_expr, case ADDR_EXPR): Also pass const0_rtx if - necessary, to avoid multiple cleanup runs. - (expand_expr, case WITH_CLEANUP_EXPR): Pass const0_rtx if - necessary, to keep the recursive call from running the same - cleanups twice. - (expand_expr, case TARGET_EXPR): Don't try to add the cleanup if - ignore's non-zero, since we would have already done it. +Tue Apr 16 16:59:49 1996 Richard Henderson -Tue Nov 23 21:10:22 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * function.c (expand_function_end): Allow TRAMPOLINE_TEMPLATE + to be omitted on systems for which it is not cost effective. + * varasm.c (assemble_trampoline_template): No such function + if no TRAMPOLINE_TEMPLATE. + * m68k.h: Greatly simplify the run-time trampoline code: + (TRAMPOLINE_TEMPLATE, TRANSFER_FROM_TRAMPOLINE): Delete define. + (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Changed. + (TRAMPOLINE_ALIGN): No point aligning to cache line. + (FINISH_INIT_TRAMPOLINE): New define. + * m68k/next.h: Instead of redefining INITIALIZE_TRAMPOLINE, + make use of the new FINISH_INIT_TRAMPOLINE. + * m68k/{m68k.h,next.h} (FINISH_INIT_TRAMPOLINE): + Rename to FINALIZE_TRAMPOLINE. - Cygnus<->FSF C++ front-end merge. - Tue Nov 23 11:05:28 1993 Jason Merrill (jason@deneb.cygnus.com) +Mon Apr 15 08:49:20 1996 Tom May (ftom@netcom.com) - * cp-errfn.c (STRDUP): Cast return value of alloca to (char *). + * cse.c (invalidate_skipped_set): Ignore CLOBBER after calling + note_mem_written, not before. - Mon Nov 22 00:07:17 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Sat Jun 29 12:33:39 1996 Richard Kenner - * cp-lex.c (real_yylex): Move declaration of tmp inside the block - that uses it, so compilers don't try to mis-optimize it away. + * Version 2.7.2.1 released. - * cp-search.c (dfs_pushdecls): Make sure there's a lang_specific - node on the decl before trying to print the warning out. +Tue Jun 11 20:18:03 1996 Per Bothner - * cp-decl.c (grokdeclarator): Say the member was redeclared as - static, not just that it can't be declared static. + * fix-header.c (read_scna_file): Invoke FIXPROTO_INIT if defined. + * alpha.h (FIXPROTO_INIT): Define new macro. - * cp-search.c (get_first_matching_virtual): Don't do - SET_IDENTIFIER_ERROR_LOCUS as an attempt to avoid multiple warnings - with -Woverloaded-virtual. It changes the compiler's behavior - (elicits unwanted errors). +Fri May 10 18:35:00 1996 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Sat Nov 20 19:31:01 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * loop.c (maybe_eliminate_biv_1): Disable all but two cases + of biv elimination with givs and restrict those two cases to + an ADD_VAL that is an address. - * cp-tree.h (lang_type): Add field `has_nonpublic_ctor', and delete - dummy since we used the two bits it was holding out for the MIPS - compiler. - (TYPE_HAS_NONPUBLIC_CTOR): Defined. - * cp-class.c (finish_struct_methods): Set TYPE_HAS_NONPUBLIC_CTOR - as appropriate for a copy ctor with non-public visibility. - (finish_struct): Don't generate a copy ctor if the type if one of - its fields has a private copy ctor, or a protected one for which we - aren't allowed access. - (base_info): Add member `saw_nonpublic_ctor'. - (finish_base_struct): Set b->saw_nonpublic_ctor if necessary. +Mon Apr 22 16:50:19 1996 Jeremy Bettis - * cp-method.c (hack_identifier): Make sure there's a - DECL_LANG_SPECIFIC before getting ready to grope around a class. + * objc/hash.c (hash_value_for_key): Prevent endless loop when 0 was + stored in a hashtable. - * cp-typeck.c (build_indirect_ref): Complain if we encounter a - pointer to member. +Wed Apr 17 17:53:23 1996 Michael Meissner - Fri Nov 19 16:37:28 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * rs6000.c (expand_block_move_mem): Copy RTX_UNCHANGING_P. + (expand_block_move): Copy dest/src to registers using + copy_addr_to_reg, call expand_block_move_mem to copy all of the + bits. - * cp-decl.c (start_decl): Complain when a function is declared as - part of a template definition, but the class it's supposed to be - part of wasn't a template. +Mon Apr 8 13:46:28 1996 Michael Meissner - * cp-decl.c (pushdecl): Don't warn about shadowing a member of - `this' if that member is static. + * rs6000.c (output_{prolog,epilog}): For V.4/eabi systems, change + prologue and epilogue so that accesses beyond the current stack + pointer are not done like they are for AIX. - * cp-call.c (convert_harshness_old): Don't die if one of the types - isn't an aggregate with a binfo. - (convert_harshness_ansi): Likewise. +Fri Mar 26 05:43:06 1996 Torbjorn Granlund - Fri Nov 19 12:18:31 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * vax.md (insv matcher): Call CC_STATUS_INIT. + * vax.h (NOTICE_UPDATE_CC): Handle ZERO_EXTRACT destination. - * cp-typeck.c (convert_for_assignment): Fix typo so initialization - of a pointer from an integer actually work, rather than emit bogus - code. +Sat Mar 23 18:25:39 1996 J"orn Rennecke (amylaar@meolyon.hanse.de) - * cp-pt.c (overload_template_name): Accept unions for templates. - (instantiate_class_template): Likewise. - * cp-parse.y (template_instantiate_once): Likewise. + * c-typeck.c (set_init_index): Check for use outside an array + initializer. - * cp-lex.c (real_yylex): Instead of using the "shorts" method to - check for overflow, use the C front-end's "parts" method (to handle - any size, and not rely on long long being 32 bits wide). +Sat Mar 23 09:21:40 1996 Doug Evans - Thu Nov 18 11:51:34 1993 Jason Merrill (jason@deneb.cygnus.com) + * sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Don't unfix %g[234] + if fixed with -ffixed-. - * cp-lex.c (cons_up_default_function): Disable earlier change; it - screws up stabs somehow. Very strange. +Wed Mar 13 20:36:10 1996 Jim Wilson - Thu Nov 18 00:16:29 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * mips.c (mips_expand_prologue): Change TYPE_NEEDS_CONSTRUCTING to + TREE_ADDRESSABLE; + * pa.h (ASM_DECLARE_FUNCTION_NAME): Likewise. - * cp-decl.c (grokdeclarator): Say what class is involved when saying - we can't declare a member inside it. +Tue Mar 12 14:36:02 1996 Jason Merrill - * cp-lex.c (real_yylex): Recognize operator->() as POINTSAT, not - POINTSAT_LEFT_RIGHT. By swallowing the parens, we ended up never - building the call properly for them. - * cp-parse.y (POINTSAT_LEFT_RIGHT): Remove token. - (operator_name): Remove POINTSAT_LEFT_RIGHT rule. - * cp-spew.c (init_spew): Remove POINTSAT_LEFT_RIGHT from - toks_follow_ids. + * lex.c (real_yylex): Warn about using the `namespace' keyword. - * cp-parse.y (primary): Only try to print out the operator's name if - it's valid. +Tue Feb 27 08:18:12 1996 Richard Earnshaw (rearnsha@armltd.co.uk) - * cp-decl.c (grok_op_properties): Fix missing parens to keep the - logic from accidentally giving an error when it shouldn't. + * arm.md (mov{si,sf,df}cc and matchers): All conditional move + patterns must have a mode. - Wed Nov 17 20:04:00 1993 Jason Merrill (jason@deneb.cygnus.com) +Mon Feb 19 07:35:07 1996 Torbjorn Granlund - * cp-search.c (dfs_pushdecls): TREE_PURPOSE doesn't have to be - a _DECL for class_value to be an envelope, it just can't be an - IDENTIFIER_NODE. + * rs6000.md (not:SI with assign and compare): Fix typo. - Wed Nov 17 15:54:02 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Wed Jan 24 18:00:12 1996 Brendan Kehoe - * cp-type2.c (process_init_constructor): Deal with pointers to - members as initializers for initializer lists. + * alpha.c (alpha_write_verstamp): Only emit MS_STAMP and LS_STAMP, + not the extra numbers. - Wed Nov 17 11:48:38 1993 Jason Merrill (jason@deneb.cygnus.com) +Wed Jan 17 21:22:40 1996 Brendan Kehoe - * cp-decl.c (ambi_op_p): Add ++ and --. + * cp/decl2.c (grokfield): Call cplus_decl_attributes with the attrlist. + Pass a null tree to grokdeclarator for its ATTRLIST arg, since it's + only ever used for functions in it. - * cp-error.c: Lose the anon_parm_name stuff. +Tue Jan 16 06:01:28 1996 Thomas Graichen - * cp-lex.c (cons_up_default_function): Change input_filename for - synthetic code. + * i386/freebsd.h (ASM_WEAKEN_LABEL): Deleted; not supported. - * cp-error.c (dump_aggr_type): Always print const or volatile. - (dump_function_decl): Only print static if verbose. +Sun Jan 7 17:11:11 1996 David Edelsohn - * cp-errfn.c (cp_sprintf): New function. + * collect2.c (scan_libraries): Correct Import File ID interpretation. - * cp-decl.c (grokfndecl): Be more verbose in complaint about applying - method qualifiers to non-methods. +Thu Dec 28 22:24:53 1995 Michael Meissner - Wed Nov 17 09:51:04 1993 Jim Wilson (wilson@sphagnum.cygnus.com) + * rs6000.md (common mode functions): Add condition reg clobbers. - * cp-parse.y (attrib): Accept "noreturn" attribute. +Tue Dec 19 15:08:31 1995 Jason Merrill - Tue Nov 16 12:28:49 1993 Jason Merrill (jason@deneb.cygnus.com) + * collect2.c: Remove auto_export functionality. - * cp-decl2.c (grokoptypename): Fix handling of udc's. +Mon Dec 18 18:40:34 1995 Jim Wilson - * cp-method.c (build_component_type_expr): Ditto. + * svr4.h (ASM_IDENTIFY_GCC): Don't output stab here. + (ASM_IDENTIFY_GCC_AFTER_SOURCE): Output stab here instead of + above. - * cp-class.c (finish_struct_methods): Be more verbose in complaint - about overloaded operator delete. +Sat Dec 16 07:03:33 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * cp-decl.c (grok_op_properties): Do more checking on operators. - (grokdeclarator): Remove check for ops being members, fix handling - of user-defined conversions. - (grokfndecl): Remove checks for ops, move call to grok_op_properties - up. - (finish_decl): Remove check for ops with default arguments. - (ambi_op_p): New fn, name for either unary or binary op - (unary_op_p): New fn, checks name for unary op + * stor-layout.c (layout_record): When PCC_BITFIELD_TYPE_MATTERS, + compute bitpos using field_size % type_align instead of field_size. - Mon Nov 15 12:38:54 1993 Brendan Kehoe (brendan@rtl.cygnus.com) +Fri Dec 15 18:41:50 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * g++.c (main): If they gave us -v, also show the invocation of the - gcc driver. + * fixincludes (sys/wait.h): Add forward declaration of struct rusage + on AIX 3.2.5. - Mon Nov 15 12:04:47 1993 Jason Merrill (jason@deneb.cygnus.com) +Sat Dec 9 18:05:03 1995 Jim Wilson - * cp-decl.c (grokdeclarator): Lose "operator ". + * expr.c (expand_expr, case INDIRECT_REF): Correct typo in May 8 + change. - * cp-method.c (build_component_type_expr): Ditto. +Sun Nov 26 14:47:42 1995 Richard Kenner - * cp-decl2.c (grokoptypename): Ditto. + * Version 2.7.2 released. - Make C++ accept template parameters as type names; for example, - doing `template A {...}'. + * function.c (fixup_var_refs_1): Make pseudo for DEST + in PROMOTED_MODE unless in a SUBREG. - * cp-pt.c (end_template_parm_list): Fix a bug in gs4t's patch. - (grok_template_type): Simplify. + * cse.c (insert): Don't put a REG into qty_const. - * cp-typeck.c (build_modify_expr_1): Give error if trying to - get default operator= for class where you can't. + * msdos/top.sed: Change version to 2.7.2. + * winnt/config-nt.sed: Likewise. - * cp-decl.c (duplicate_decls): Uniformify, fix redeclaration of - builtins. +Sun Nov 26 14:41:49 1995 Douglas Rupp (drupp@cs.washington.edu) - Sat Nov 6 19:06:25 EST 1993 Gnanasekaran Swaminathan (gs4t@virginia.edu) + * Makefile.in (stamp-objlist): Change .o to $objext. - * cp-pt.c (begin_template_parm_list): pushdecl here so that we - can push TEMPLATE PARAMETERS as type names. - (process_template_parm): build_lang_decl for TEMPLATE - PARAMETERS here. - (grok_template_type): New function. get the actual type of a - TEMPLATE PARAMETER. - (coerce_template_parms): delete pushdecl as it is moved (see - above). Don't build type decls for TEMPLATE PARAMETERS as it is - built above. + * alpha/win-nt.h (CPP_PREDEFINES): Set __unaligned and __stdcall + to null. + (ASM_SPEC): Add a translation for -g to -Zi. + * winnt/ld.c (main): Don't pass -g to link. + * winnt/oldnames.c: Reformat and add some new functions for gnat1. + * winnt/win-nt.h (LINK_SPEC): Pass -g to ld.exe. + Increase default stack size. + * configure ({alpha-dec,i386-ibm}-winnt3.5): Add oldnames.o + to extra_objs. + * libgcc2.c (trampoline): Add getpagesize and mprotect for WINNT. - Mon Nov 15 12:04:47 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-decl.c (duplicate_decls): If a function has been declared with - explicit language linkage, redeclaring (or defining) it without - is OK. - - Fri Nov 12 15:30:27 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-lex.c (operator_name_string): Fix handling of __ad__foo. - - * cp-error.c (dump_decl): Handle demangling of vtable names. - - * cp-tree.c (lang_printable_name): Pass everything to decl_as_string, - not just functions. - - * cp-decl2.c (check_classfn): Use cp_error. - - * cp-error.c (dump_decl): Fix IDENTIFIER_TYPENAME_P case. - - * cp-method.c (build_decl_overload): Propagate IDENTIFIER_OPNAME_P - to mangled identifier. - - * cp-type2.c (my_friendly_abort): Add "confusion" message for - abort after earlier errors. - - Wed Nov 10 18:39:17 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-decl2.c (lang_decode_option): Include warn_enum_clash among - -Wall. - - Wed Nov 10 16:18:19 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * Makefile.in (stamp-cp-parse): Update counts. - - Wed Nov 10 15:27:12 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-errfn.c (cp_thing): Allow cp_*_at to use an arbitrary argument, - not just the first, by using, for instance, `%+D'. - - Mon Nov 8 13:50:49 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-error.c (language_as_string): New function for printing language - context. Corresponds to %L. - - Mon Nov 8 10:39:28 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-pt.c (reinit_parse_for_template): Use inline_text_obstack - instead of permanent_obstack so that yylex() doesn't clobber the - growing object. - - * cp-lex.c (reinit_parse_for_block): Overhaul to reduce code size by - half and make #line directives in template definitions work. - - Sun Nov 7 15:19:28 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-pt.c (instantiate_class_template): if (!setup_parse), don't - mess with lineno and input_filename. - - Mon Nov 1 18:15:59 1993 Kung Hsu (kung@cirdan.cygnus.com) - - * cp-cvt.c(convert_to_reference): Fix when pass ref to array as - initializer, the argument type is convert to pointer and the type - in the field of the class should also convert to pointer. - - Fri Nov 5 11:57:41 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-pt.c (instantiate_template): Work properly with - -fexternal-templates. - - * cp-lex.c (extract_interface_info): #if 0 out earlier - tinst_level work pending further work. - - Fri Nov 5 07:39:00 1993 Michael Tiemann (tiemann@blues.cygnus.com) - - * cp-search.c (compute_visibility): Don't lose access to public - members from base classes of base classes. - - * cp-typeck.c (convert_for_assignment): Allocate enough space in - LHSBUF for the null terminiator. - - Tue Nov 2 07:20:03 1993 Michael Tiemann (tiemann@blues.cygnus.com) - - * cp-decl2.c (build_push_scope): Don't push the scope for - ptr-to-method declarations. Also, clarify some comments. - - * cp-parse.y (abs_member_declarator): Add `see_typename' epsilon - rule so that parser can recognize ptr-to-member functions. - - Mon Nov 1 18:15:59 1993 Kung Hsu (kung@cirdan.cygnus.com) - - * cp-cvt.c(convert_to_reference): Fix when pass ref to array as - initializer, the argument type is convert to pointer and the type - in the field of the class should also convert to pointer. - - Mon Nov 1 11:06:39 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-errfn.c: Don't include . - Don't use the return value of strcpy. - - Sun Oct 31 22:32:05 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-call.c (build_scoped_method_call): Return (void)0 if trying to - call a nonexistent destructor. - - * cp-parse.y (object): Support p.~int(). - - * cp-error.c (dump_expr): Handle error_mark_node better. - - Sat Oct 30 21:49:00 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-parse.y (primary): Support p->~int(). - - Fri Oct 29 18:09:12 1993 Mike Stump (mrs@cygnus.com) - - * cp-type2.c (build_functional_cast): Don't delete things twice. - - Thu Oct 28 15:35:55 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-tree.h (struct tinst_level): The template instantiation level - structure. Used by the code described below. - - * cp-pt.c (push_tinst_level): New function for remembering file - context when instantiating templates. Stores the identifier as well, - for error reporting. - (pop_tinst_level): Da opposite. - (tinst_for_decl): Returns a pointer to the tinst_level structure to - use for determining which file to associate the current DECL with, or - NULL to use the current file and line. To restore the old behavior, - just change this function to "return 0;". - (instantiate_class_template): push_tinst_level. - - * cp-parse.y (tmplate_instantiate_once): pop_tinst_level() after - instantiating member templates. - - * cp-lex.c (extract_interface_info): If instantiating a template, - set up interface/implementation according to the spot in the user's - code that triggered the instantiation. - - * cp-pt.c (tsubst): Associate the FUNCTION_DECL with the spot in the - user's code that triggered the instantiation. *Currently disabled* - - * cp-class.c (finish_struct): If we're instantiating a template, - associate the TYPE_DECL with the spot in the user's code that - triggered the instantiation. *Currently disabled* - - * cp-pt.c (coerce_template_parms): Do extra checking on the template - parms, since templates are more picky than initializers. - - Wed Oct 27 17:06:54 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-parse.y (datadef): Don't override a template with a forward - declaration of a template class. - - Tue Oct 26 17:54:12 1993 Kung Hsu (kung@cirdan.cygnus.com) - - * cp-parse.y (component-declarator0): fix bit field name same as type - name syntax error. - - Tue Oct 26 16:07:29 1993 Mike Stump (mrs@cygnus.com) - - * cp-cvt.c (build_up_reference): Fix typo, fixes core dump on bad - code. - - Tue Oct 26 11:52:09 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-error.c (dump_function_decl): Only print default arguments - if verbose. - (dump_type): Ditto. - - Mon Oct 25 22:18:05 1993 Per Bothner (bothner@kalessin.cygnus.com) - - * cp-typeck.c (c_sizeof, build_c_cast): Re-enable Salzenberg's - July 10 change (set TREE_OVERFLOW as well as TREE_CONSTANT_OVERFLOW). - - Mon Oct 25 18:53:08 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-pt.c (instantiate_class_template): Don't do the - push_template_decls thang if !setup_parse; the binding level - never gets popped. - - Mon Oct 25 11:54:34 1993 Kung Hsu (kung@cirdan.cygnus.com) - - * cp-method.c (hack_identifier): fix seg fault when an - external variable does not have class context. - - Sun Oct 24 19:01:15 1993 Michael Tiemann (tiemann@blues.cygnus.com) - - * cp-spew.c (scan_tokens): Test for ';' in first pre-scan of the - tokens. - - Fri Oct 22 23:46:17 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-tree.c (get_decl_list): When consing up CLASSTYPE_ID_AS_LIST, - don't assume that `value' is a reasonable identifier to use. - (list_hash_lookup_or_cons): Ditto. - - * cp-error.c (dump_decl, CONST_DECL): Pass off non-enum cases to - dump_expr. - (dump_expr): Pass off DECLs to dump_decl. - - Fri Oct 22 20:57:46 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) - - * cp-errfn.c (STRDUP): Change to comma expr for bdmaged cc's. - (cp_thing): Add decl for ap, initialize fmt later. - - Fri Oct 22 17:15:01 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-error.c (dump_decl): Handle CONST_DECLs for enum tags. - - * cp-type2.c (my_friendly_abort): Move abortcount to global level. - - * cp-search.c (dfs_pushdecls): Be more helpful in shadowing warning. - - * cp-pt.c (mangle_class_name_for_template): If the last template - parameter was also a template class, insert a space so that - the mangled name can be used as input for the compiler (i.e. - with default_copy_constructor_body). - - Fri Oct 22 16:40:27 1993 Mike Stump (mrs@cygnus.com) - - Handle constructors in templates better. - - * cp-call.c (build_method_call): Use constructor_name_full instead - of constructor_name. - * cp-cvt.c (convert_to_reference, convert, build_type_conversion_1, - build_type_conversion): Ditto. - * cp-decl.c (make_temporary_for_reference, grok_reference_init): - Ditto. - * cp-init.c (expand_default_init, expand_aggr_init_1, build_new): - Ditto. - * cp-typeck.c (build_modify_expr_1, convert_for_initialization): - Ditto. - * cp-search.c (lookup_field, lookup_fnfields): Check for short - constructor name, as that is how we store it. - * cp-decl2.c (constructor_name_full): New routine. - * cp-tree.h (constructor_name_full): Declare it. - * cp-call.c (build_method_call): Check for either short or the full - constructor name. - - Wed Oct 20 17:17:37 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-tree.h: Declare code_as_string. - - * cp-error.c (code_as_string): New function, translates - enum tree_code into a string. Very incomplete at the moment. - - * cp-decl.c (lookup_tag): Use cp_error more. - - Tue Oct 19 16:39:20 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-error.c (dump_type_prefix): Do the prefix/suffix thang for - ARRAY_TYPE nodes. - - Thu Oct 14 23:56:34 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-gc.c (build_dynamic_cast): Avoid doing runtime work if possible. - (build_typeid): Add logic. - - Thu Oct 14 10:56:43 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-gc.c (build_typeid): New function, allegedly returns the - Type_info object for the type of an expression, currently does - nothing. - (get_typeid): New function, allegedly returns the Type_info object - for a _TYPE node, currently does nothing. - (build_dynamic_cast): New function, supposedly implements - run-time checked casting, currently only does what can be done - at compile time. - - * cp-parse.y (.kindof_pushlevel): Only push first decl (the variable). - (primary): Add dynamic_cast and typeid expressions. - (simple_if): Use partially_scoped_stmt again. - Makes 'if' condition work. - - * cp-error.c (expr_as_string): Suppress parens on initial call - to dump_expr. - - * cp-tree.h: Add decls for Type_info_type_node, build_typeid, - get_typeid and build_dynamic_cast. - - * gplus.gperf: Add typeid and dynamic_cast. - - * cp-spew.c (init_spew): Ditto. - - Wed Oct 13 19:15:21 1993 Jason Merrill (jason@deneb.cygnus.com) - - Partial implementation of Stroustrup's proposal for declarations in - conditions from X3J16/92-0121. - - * cp-parse.y (paren_cond_or_null): New rule, use condition instead - of expr. - (xcond): Ditto. - (condition): New rule, used in the condition parts of if, while, for - and switch statements. Allows a restricted set of declarations of - the form "type_specifier declarator = expression". - (.kindof_pushlevel): Like pushlevel, but pushes all of the decls - from the previous binding level into the new one too. - (partially_scoped_stmt): Like implicitly_scoped_stmt, but uses - .kindof_pushlevel instead of .pushlevel. - (simple_if): .pushlevel before condition. - (simple_stmt, simple_if ELSE): Ditto, pop binding level. - (simple_stmt, simple_if): Ditto. - (simple_stmt, WHILE): Ditto. - (simple_stmt, forhead.1): .pushlevel before condition, use xcond - instead of xexpr, pop binding level. - (simple_stmt, forhead.2): Use xcond instead of xexpr, always pop - binding level. - (simple_stmt, SWITCH): .pushlevel before condition, etc, etc. - (forhead.2): always .pushlevel. - (datadef): Use cp_error more. - (simple_stmt, CASE): Ditto. - - * cp-decl2.c (pushdecls): New function, push all decls in the chain - into the current scope. - - Wed Oct 13 12:31:58 1993 Mike Stump (mrs@cygnus.com) - - * cp-decl.c: Remove redefinition of NULL, as some machines don't - like it. Clean up all NULL uses. - - Mon Oct 11 17:21:08 1993 Kung Hsu (kung@cirdan.cygnus.com) - - * cp-decl2.c (finish_file): Fix libg++ build problem of mismatch - blocks. - - Mon Oct 11 13:51:05 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - Mon Oct 4 11:49:48 1993 Chip Salzenberg (chip@fin.uucp) - - * cp-typeck.c (build_modify_expr): Check whether recursive calls - return error_mark_node. - - Mon Oct 4 12:41:16 1993 Chip Salzenberg (chip@fin.uucp) - - * cp-class.c (finish_struct): Too-long bitfield is an error. - * cp-decl.c (grokdeclarator): "inline main()" is an error. - (grok_op_properties): Overloaded ?: is an error. - (start_enum): Duplicate enum definition is an error. - - Mon Oct 4 12:45:11 1993 Chip Salzenberg (chip@fin.uucp) - - * cp-typeck.c (common_type): Use TYPE_MAIN_VARIANT when preferring - long int to int (when width is the same). - - Mon Oct 4 12:46:54 1993 Chip Salzenberg (chip@fin.uucp) - - * cp-typeck.c (convert_for_assignment): Mismatch in signedness - of pointer targets should not inhibit warnings for const mismatch. - - Mon Oct 4 12:53:04 1993 Chip Salzenberg (chip@fin.uucp) - - * cp-typeck.c (default_conversion): Convert to unsigned int - if original type is unsigned and of greater or equal size. - - Mon Oct 11 13:19:42 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-decl.c (build_enumerator): Call default_conversion on the VALUE - before calling constant_expression_warning. - - Mon Oct 11 10:21:37 1993 Kung Hsu (kung@cirdan.cygnus.com) - - * cp-decl.c (finish_function): fix the mismatch LBB LBE block - problem, specifically when compiler generated - destructor/constructor (pr2972) - * cp-decl2.c (finish_file): same as above - * cp-parse.y (compstmt): same as above - - Mon Oct 11 01:08:09 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-error.c (dump_type_suffix): Cope with arrays with unspecified - bounds. - - Thu Oct 7 19:35:26 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-error.c: Deal with printing out array DECLs properly. - Use dump_char for printing out string literals, too. - -Tue Nov 23 18:08:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * dwarfout.c (function_start_label): New function. - (output_entry_point_die): Use it. - (output_global_subroutine_die, output_local_subroutine_die): Use it. - - * c-common.c (check_format_info): Always use TYPE_MAIN_VARIANT - when comparing cur_type against wanted_type. - - * protoize.c (save_def_or_dec): If function's aux info doesn't end - with a closeparen, ignore it. - (xmalloc, xrealloc): Cast result of malloc. - - * c-typeck.c (build_binary_op): Don't accept complex types - for max, min, lt, etc. - -Tue Nov 23 18:05:14 1993 Lisa Repka (lisa@MicroUnity.com) - - * reorg.c (rare_destination): Ensure we always correctly handle - a null JUMP_LABEL. - -Tue Nov 23 17:48:39 1993 Doug Evans (dje@canuck.cygnus.com) - - * i960/i960.h (ASM_SPEC): Pass -linkrelax, not -link-relax. - -Tue Nov 23 17:35:25 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) - - * arm.c (arm_backwards_branch): Branching to the current insn is a - backwards branch. - -Tue Nov 23 13:59:24 1993 Hallvard B Furuseth (hbf@durin.uio.no) - - * libgcc2.a (__bb_exit_func): Fix format %*d -> %*ld. - - * c-parse.in, cp-parse.y (maybe_type_qual): Don't fail to set $$. - -Tue Nov 23 15:26:28 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * combine.c (try_combine, simplify_shift_const): Add initializations - for some uninitialized variables. - - * c-common.c (check_format_info): When we have INTEGER_TYPEs, - save result of signed_type or unsigned_type for later - comparison with the various forms of char types. - - * expr.c (expand_expr, case SAVE_EXPR): Properly recompute the - value of UNSIGNEDP when SAVE_EXPR_RTL is nonzero and we have promoted. - -Tue Nov 23 04:14:04 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * dwarfout.c (output_local_subroutine_die): Use the function name - from its symbol_ref, not DECL_ASSEMBLER_NAME. - -Mon Nov 22 13:59:41 1993 Steve Chamberlain (sac@mole.gnu.ai.mit.edu) - - * final.c (get_attr_length): asm_insn_count takes a body, not an - insn. - -Sun Nov 21 22:37:12 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * config/m68k/mot3300.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): - Use SIZE, not ROUNDED. - (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Definitions turned off. - (REGISTER_PREFIX, IMMEDIATE_PREFIX): New definitions. - (PARM_BOUNDARY): New definition. - -Sun Nov 21 15:39:04 1993 Tor Egge (tegge@pvv.unit.no) - - * m88k/dolph.h (SDB_ALLOW_FORWARD_REFERENCES): Define. - (SDB_ALLOW_UNKNOWN_REFERENCES): Define. - (CPP_PREDEFINES): Redefine. - (CPP_DEFAULT): Redefine. - (INITIALIZE_TRAMPOLINE): Redefine. - * m88k/dolphin.ld: New file. - * m88k/t-m88k (realclean): Remove some generated .asm files. - * m88k/x-dolph (EXTRA_PARTS): Redefined to also contain gcc.ld. - (gcc.ld): Copied from dolphin.ld. - (X_CFLAGS): Define __m88k__. - * libgcc2.c (__enable_execute_stack): Add DolphinOS version. - -Sun Nov 21 01:00:40 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * config/m68k/isi.h (LIB_SPEC): Use -lm in addition to -lc-- - not instead of -lc. - - * fix-header.c (write_rbrac): Make added declarations conditional - on __cplusplus and nothing else. - * fixproto (stdio.h): Reenable adding protos for v*printf. - - * sys-protos.h (authdes_create): Delete arg info. - We can't count on having struct sockaddr defined. - - * fixincludes (math.h): When deleting inline sqrt and abs, - be flexible about arg name and function body. - - * Makefile.in (stmp-fixproto): Never run fixproto twice. - -Sat Nov 20 16:52:15 1993 Jim Wilson (wilson@cygnus.com) - - * stmt.c (warn_if_unused_value): Handle arbitrary number of casts - before a modify. - -Sat Nov 20 16:38:25 1993 Eric Baur (eric@synnet.com) - - * i386/perform.h (perform_divsi3, perform_modsi3): Add '&' in - constraint for DX; explicitly copy arg arg1 to cx. - -Sat Nov 20 02:26:28 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * expr.c (expand_builtin): For sin, cos, fsqrt, alloca, ffs, strlen, - strcpy, memcpy, strcmp, memcmp, if args are bad, use expand_call. - - * fix-header.c (write_rbrac): Treat rewinddir like memmove. - -Fri Nov 19 18:24:43 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * protoize.c: Remove declarations for malloc and realloc. - - * expr.c (store_field): Convert EXP to MODE before calling - store_bit_field. - - * optabs.c (expand_complex_abs): Replace some erroneous - uses of MODE with SUBMODE. - - * combine.c (force_to_mode): Don't allow sign-extension of - constants when we are narrowing things in an IOR or XOR. - -Fri Nov 19 16:42:43 1993 Jim Wilson (wilson@cygnus.com) - - * rs6000.c (output_function_profiler): When TARGET_MINIMAL_TOC, - emit .long instead of .tc. - -Fri Nov 19 13:22:37 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * configure: Let a host set truncate_target to specify that the - installation directory names must be truncated to 14 characters. - If set, truncate the target argument. - -Fri Nov 19 17:27:58 1993 Holger Teutsch (holger@hotbso.rhein-main.de) - - * clipper.h (HARD_REGNO_MODE_OK): Allow any mode in general regs. - Float regs may only hold SFmode and DFmode. - (FUNCTION_ARG): Only MODE_INT and MODE_FLOAT with size <= 8 are - passed in registers. - (FUNCTION_ARG_ADVANCE): Update accordingly. - (FUNCTION_ARG_PARTIAL_NREG): Undefine. - - * clipper.md (movsf+1,2,movdf+1,2): Make 'f' preferred register class. - -Thu Nov 18 20:09:56 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - - * fixincludes: When compute DOTS, convert /./ to / to avoid - accidentally converting it to /../. - * fixinc.dgux, fixinc.svr4: Likewise. - -Thu Nov 18 06:14:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * function.c (expand_function_end): New arg END_BINDINGS. - * c-decl.c (finish_function): Pass new arg to expand_function_end. - * cp-decl.c (finish_function): Pass new arg to expand_function_end. - Don't call expand_end_bindings here. - * integrate.c (output_inline_function): - Pass new arg to expand_function_end. - -Wed Nov 17 18:54:21 1993 Chip Salzenberg (chip@fin.uucp) - - * objc/objects.c: Include "tconfig.h" before "runtime.h". - -Wed Nov 17 19:15:31 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * fixincludes (math.h): Add missing quoting of `*' when fixing - prototype of `sqr'. - -Tue Nov 16 07:15:52 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * alpha.h (EXTRA_CONSTRAINT): New macro. - (SECONDARY_{INPUT,OUTPUT}_RELOAD_CLASS): Disallow unaligned into float - regs. - * alpha.md (movdi): Use 'Q' instead of 'm' for FP. - -Tue Nov 16 02:06:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Version 2.5.4 released. - - * c-typeck.c (push_init_level): When aligning next struct field, - make sure there's another field left. - - * cp-errfn.c: Don't include string.h. - (STRDUP): Macro deleted. - (cp_thing): Copy strings "by hand". - - * combine.c (force_to_mode): Don't do right-shift in a narrower mode. - -Mon Nov 15 01:54:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * sdbout.c (sdbout_symbol): If non-static var has static-style RTL, - don't output anything for it. - - * Makefile.in (stmp-fixproto): Don't depend on xsys-protos.h. - (diff): Don't compare bi-parser.c - - * news.h (NO_DOT_IN_LABEL, NO_DOLLAR_IN_LABEL): Defined. - - * c-typeck.c (push_init_level, really_start_incremental_init): - Skip any nameless bitfields at start of record. - (process_init_element): Skip any nameless bitfields after the field - just processed. - -Mon Nov 15 02:09:54 1993 Torbjorn Granlund (tege@blues.cygnus.com) - - * pa.h (RETURN_IN_MEMORY): Define. - -Sun Nov 14 17:25:29 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * expr.c (expand_expr): For TRUTH_AND_EXPR, TRUTH_OR_EXPR - and TRUTH_XOR_EXPR, if result mode doesn't match operands, - don't use subtarget. - - * c-typeck.c (convert_for_assignment): Fix typo (codel => coder). - -Sun Nov 14 12:45:37 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * function.c (assign_parms): Clear STACK_PARM when we have a - pass-by-pointer parm that we load into a pseudo. - - * flow.c (flow_analysis): Fix bug in previous change. - - * fold-const.c (twoval_comparison_p): Do nothing for SAVE_EXPR, at - least for now. - - * reload.c (push_reload): Allow RELOAD_FOR_INPUT with a secondary - reload the same class as the input if the modes differ. - - * expr.c (store_expr): Convert constants to proper mode in two places. - - * sh.h (HAVE_VPRINTF): Delete from here. - * xm-sh.h (HAVE_VPRINTF): New macro. - -Sun Nov 14 04:28:56 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * config/i860/i860.h (SECONDARY_INPUT_RELOAD_CLASS): - Moving any kind of integer cst to float reg needs intermediate. - - * sys-protos.h (getmntent): Delete the arg decls - because BSD 4.4 and Sunos disagree on them. - -Sat Nov 13 23:06:42 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * config/mips/mips.c (function_arg, function_arg_advance): - In default case, handle complex modes much like BLKmode. - (function_arg_partial_nregs): Likewise. - -Sat Nov 13 22:31:48 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * alpha.h (CPP_SPEC): Always define __LANGUAGE_C__ unless assembler. - Define __cplusplus for C++. - - * alpha.md (movsf, movdf): Add 'G' to constraint for operand 1 - when operand 0 is a register and support it in alternative 0. - - * stmt.c (expand_end_bindings): Use emit_move_insn instead of - gen_move_insn in case nonlocal_goto_handler_slot is not a valid memref. - - * flow.c (find_basic_blocks): When starting new basic block - for a CALL_INSN in the presence of nonlocal labels, don't - get confused with following CLOBBER. - (flow_analysis): Use same logic as find_basic_block to see when - the insn after a CALL_INSN starts a new basic block. - - * expmed.c (store_split_bit_field): Properly load a constant VALUE - into a WORD_MODE pseudo. - -Sat Nov 13 18:27:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * config/ns32k/ns32k.md (movsi): Handle moves to fp reg. - Handle const_double as operand 1. - - * Makefile.in (diff): Fix typo in name gcc.??s. - -Fri Nov 12 08:34:58 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * dbxout.c (dbxout_type_field): Skip fields with variable - position and/or size instead of crashing on them. - -Fri Nov 12 22:49:50 1993 Pat Rankin (rankin@eql.caltech.edu) - - * bi-arity.c, bi-opcode.c, bi-opname.c (main): Flush stdout and - and check for errors prior to termination; end with call to exit - rather than return from main, as with gen*.c. - * bi-arity.c, bi-lexer.c, bi-opcode.c, bi-opname.c, bi-parser.y: - Use FATAL_EXIT_CODE rather than hardcoded 1 for fatal exit code. - -Fri Nov 12 18:41:51 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * gstdarg.h, gvarargs.h: Test __bsdi__ like __BSD_NET2__. - - * pa.h (FUNCTION_ARG_BOUNDARY): Fix return value for 64bit - pass by value structures. - - * fix-header.c (write_rbrac): Handle v*printf like memmove. - -Fri Nov 12 08:53:47 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) - - * arm.md (comparison): Don't emit invalid optimization - for (set (reg) (comparison)) and (set (reg) (neg (comparison))) - when comparison is LT. - - * arm.c (pattern_really_clobbers_lr): Setting a subreg of a mem is - valid and safe. - -Fri Nov 12 08:38:22 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * m68k/hpux7.h: Add directory name to #include of hp320.h. - -Thu Nov 11 00:00:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Version 2.5.3 released. - - * fix-header.c, gen-protos.c (fancy_abort): New function. - - * c-typeck.c (mark_addressable): Handle REALPART_EXPR and - IMAGPART_EXPR. - - * integrate.h (global_const_equiv_map_size): Declared. - - * dbxout.c (dbxout_symbol): If it's C++, don't check the - DECL_SOURCE_LINE of a typedef. - (dbxout_parms): Fix previous change. - -Wed Nov 10 10:33:28 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) - - * fixproto (rel_source_subdir): Prune out redundant /subdir/../ to - prevent recursion. - -Wed Nov 10 22:30:16 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * config/ns32k/encore.h (ASM_OUTPUT_ASCII): Declare i. - -Wed Nov 10 16:18:19 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-decl.c (grokvardecl): Undo change of Jan 15 1993 which - tried to implement the "one definition rule". The duplicate_decls - call in pushdecl does implement this; grokvardecl got some bad hits. - -Wed Nov 10 08:44:17 1993 Niklas Hallqvist (niklas@appli.se) - - * cp-search.c (compute_visibility): Revert Tiemann's patch of - Nov 5. Instead check that privately inherited entities don't - get restricted visibility if the private derivation is a - shallow derivation (i.e. one leading to the most derived - class) and we're actually in the most derived class' scope. - - * cp-search.c (dfs_pushdecls): Don't be confused by the fact that - overloaded methods from an outer scope almost looks like an - envelope. - -Wed Nov 10 18:55:22 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) - - * fixincludes: Copy files needed for other files at the very end. - - * arm.md (reload patterns for mla instruction): New. - -Wed Nov 10 18:17:40 1993 Jim Wilson (wilson@cygnus.com) - - * dbxout.c (dbxout_parms): For parms passed via invisible - reference, accept any reg except FP, SP, and AP. - - * unroll.c (unroll_loop): Set global_const_equiv_map_size. - -Wed Nov 10 17:52:33 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * combine.c (subst_prev_insn): New variable. - (try_combine): Set it. - (get_last_value): Use subst_prev_insn if set instead of - looking for the first insn before SUBST_LOW_CUID. - - * integrate.c (global_const_equiv_map_size): New variable. - (expand_inline_function): Set it. - (expand_inline_function, copy_rtx_and_substitute, try_constants): - Never access const_equiv_map without checking for out-of-range. - (mark_stores): Likewise. - - * alpha.md (smaxdi3): Was incorrectly called maxdi3. - - * rs6000.h (LINK_SPEC): Don't pass -btextro if -r. - - * alpha/osf12.h: New file. - * configure (alpha-dec-osf1.2): New case, to use new file. - - * rs6000.md (sqrtdf2): Fix typo in extra condition. - (plus/eq pattern): Fix typo: "addze" was "adddze". - -Wed Nov 10 12:32:56 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - - * expmed.c (expand_divmod): If rem_flag, always force op0 to a - register. - - * expr.c (expand_expr): Use a smaller alignment when reading from - a field with a variable offset. - -Wed Nov 10 01:28:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * expr.c (expand_assignment): Use a smaller alignment when storing - into a field with a variable offset. - - * fixincludes (math.h): Delete inline definitions for sqr. - -Tue Nov 9 15:33:45 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-method.c (hack_identifier): Undo rfg's earlier patch. - -Tue Nov 9 19:30:02 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * reload1.c (reload) [SMALL_REGISTER_CLASSES]: Try, at least, - to avoid 2-groups whose second register is explicitly used. - -Tue Nov 9 19:08:47 1993 Jim Wilson (wilson@cygnus.com) - - * mips.md (adddi3): Use DImode not SImode in force_reg call. - - * mips.c (PIC_OFFSET_TABLE_MASK): New macro. - (function_epilogue): When -mabicalls, ignore - PIC_OFFSET_TABLE_REGNUM when calculating load_only_r31. - - * loop.c (strength_reduce): Accept VOIDmode initial values. - -Tue Nov 9 09:23:31 1993 Torbjorn Granlund (tege@mole.gnu.ai.mit.edu) - - * pa.md (negscc): Add mode for NEG. - -Tue Nov 9 12:51:54 1993 John Hassey (hassey@dg-rtp.dg.com) - - * m88k.md ("cmpsf" & "cmpdf"): Undo inadvertent change included - with CCEVENmode change. - -Tue Nov 9 01:31:58 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * fixincludes (loop on $required): When a file is copied - because another file needs it, scan it for what files it needs. - - * fix-header.c (write_rbrac): When adding proto for memmove, - put it inside #ifndef memmove. - -Mon Nov 8 16:50:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * sdbout.c (sdbout_init) [RMS_QUICK_HACK_1]: Call sdbout_symbol - for __vtbl_ptr_type. - - * cp-decl.c (init_decl_processing): Undo previous change. - - * c-typeck.c (build_binary_op): Warn for ordered compare of ptr with 0 - only if pedantic in both cases. - -Mon Nov 8 18:25:06 1993 David Edelsohn (edelsohn@npac.syr.edu) - - * rs6000.h (ASM_FILE_START): Emit filename directive. - -Sun Nov 7 00:24:04 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Makefile.in (mostlyclean): Delete fixhdr.ready here. - (clean): Not here. - - * scan-decls.c (scan_decls): After seeing an extern variable - declaration, goto new_statement to read a new token, rather - than going to handle_statement (which uses the current token). - -Sat Nov 6 19:40:22 1993 Pat Rankin (rankin@eql.caltech.edu) - - * config/vax/vms.h (__MAIN_NAME): Define as " main(" rather - rather than " main (" to reflect current cc1plus. - - * config/vax/vms.h: Add __GNUC_MINOR__=5 to CPP_PREDEFINES. - -Sat Nov 6 22:54:25 1993 Tor Egge (tegge@pvv.unit.no) - - * m88k.c (partial_ccmode_register_operand, even_relop) - (odd_relop): New functions, for support of CCEVENmode. - (print_operand, new case '!'): Revert following condition. - * m88k.h (EXTRA_CC_MODES, EXTRA_CC_NAMES, SELECT_CC_MODE): - New macros to define CCEVENmode. - * m88k.md: Handle CCEVENmode as a new mode. Logical operations - on CCmode registers now results in CCEVENmode. - Add patterns for jumps and ext's for CCEVENmode. - (cmpsf, cmpdf): Use reg 65 and clobber reg 64. - -Sat Nov 6 17:07:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * cp-decl.c (init_decl_processing) [RMS_QUICK_HACK_1]: - If sdb output, call sdbout_symbol for vtable_entry_type. - * config/m88k/dgux.h (RMS_QUICK_HACK_1): Defined. - -Sat Nov 6 12:32:31 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - - * unroll.c (unroll_loop): Don't unroll loop if jump has combined - the original loop start label with another label. - -Sat Nov 6 05:01:31 1993 Chris Smith (csmith@convex.com) - - * convex.md (untyped_call, blockage): Add new patterns. - -Sat Nov 6 03:11:46 1993 Noah Friedman (friedman@gnu.ai.mit.edu) - - * just-fixinc: Rename fixed native limits.h to syslimits.h (or - install gsyslimits.h) before renaming gcc's limits.h from tmpfoo - directory. - -Sat Nov 6 00:07:41 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * expr.c (emit_move_insn_1): Push the components of a complex - in proper order: imag part has higher address. - -Fri Nov 5 16:23:51 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - - * mips.c (mips_abicalls): Change type to enum mips_abicalls_type. - (override_options): Use MIPS_ABICALLS_{NO,YES} instead of - ABICALLS_{NO,YES}. - * mips.h (enum mips_abicalls_type): New type. - (mips_abicalls_attr): New define. - (mips_abicalls): Change type to enum mips_abicalls_type. - * mips.md (abicalls): Use mips_abicalls_attr not mips_abicalls. - -Fri Nov 5 20:34:19 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * fixproto (stdio.h): Don't add protos for vprintf, vfprintf, vsprintf. - -Fri Nov 5 20:32:53 1993 Torbjorn Granlund (tege@adder.cygnus.com) - - * config/pa/pa.md (decrement_and_branch_until_zero): - Add missing `return'. - -Fri Nov 5 16:08:34 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * listing: Handle i386-linux like m68020. - Pass compilation options thru an awk variable, not as ordinary args. - - * cccp.c (safe_read, safe_write): Handle EINTR. - (output_line_command): Handle NO_IMPLICIT_EXTERN_C here. - (main): Not here. - - * protoize.c (safe_read, safe_write): Handle EINTR. - (safe_write): Return right away after safe_write. - -Fri Nov 5 11:40:59 1993 Jeff Law (law@snake.cs.utah.edu) - - * pa-ghpux.h (NO_IMPLICIT_EXTERN_C): Define. - * pa-hpux.h (NO_IMPLICIT_EXTERN_C): Define. - -Fri Nov 5 09:45:20 1993 Kresten Krab Thorup (krab@viking) - - * objc/archive.c (objc_read_string): Allocate string properly. - * objc/hash.h (compare_strings): Check for null pointers. - -Fri Nov 5 11:29:26 1993 David Edelsohn (edelsohn@npac.syr.edu) +Sun Nov 26 14:25:26 1995 Uwe Seimet (seimet@chemie.uni-kl.de) - * rs6000.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Use - REAL_ARITHMETIC macros including hex for special values. + * atari.h (FUNCTION_VALUE): Deleted; incorrect. -Fri Nov 5 10:26:34 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Sun Nov 26 14:23:03 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * cp-call.c (build_method_call): For unions, don't use get_binfo and - convert_pointer_to_real, since unions can't be involved in complex MI - situations. (Fixes union ctor crash, and completes Sep 27 fix.) + * fixincludes (curses.h): Allow space or tab after bool keyword, + instead of tab or tab. -Fri Nov 5 07:39:00 1993 Michael Tiemann (tiemann@blues.cygnus.com) +Sun Nov 26 14:14:11 1995 Oliver Kellogg (oliver.kellogg@space.otn.dasa.de) - * cp-search.c (compute_visibility): Don't lose access to public - members from base classes of base classes. + * 1750a.md (pattern for HImode PSHM): Corrected. + (trunchiqi2, zero_extendqihi2, extendhftqf2): Corrected. + (pattern for movhi of CONST_INT to REG): Corrected. + (divmodqi pattern for DISN): Corrected. + (all shift patterns): Corrected. - * cp-search.c (get_base_distance): Initialize BASETYPE_PATH before - using. Also, initialize RVAL from get_base_distance_recursive. + * 1750a.h (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Corrected. + (ASM_OUTPUT_[datatype]): Corrected datalbl[].size computation + for output of arrays. -Fri Nov 5 05:48:04 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sun Nov 26 14:08:57 1995 Dave Love - * config/i860/paragon.h (SIZE_TYPE): #undef it. + * mips/iris5.h (NO_IMPLICIT_EXTERN_C): Define this again so + that unistd.h doesn't get badly `fixed' for C++. libg++ will now + build with this definition. - * config/m88k/dgux.h (LIB_SPEC): Handle -msvr4. - (GPLUSPLUS_INCLUDE_DIR): Definition and #undef deleted. +Sun Nov 26 14:02:43 1995 Robert E. Brown (brown@grettir.bibliotech.com) - * cccp.c (main): Handle NO_IMPLICIT_EXTERN_C. + * configure: Better workaround for Nextstep bug. -Fri Nov 5 03:11:05 1993 Torbjorn Granlund (tege@adder.cygnus.com) +Sun Nov 26 13:55:07 1995 Torbjorn Granlund - * config/m68k/m68k.h (RTX_COST): Return actual costs for - multiplication, not costs for theoretical special cases that are - not handled in the md. + * rs6000.md (load_multiple matcher): Fix typo in opcode. -Fri Nov 5 00:42:09 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sun Nov 26 13:51:08 1995 Lee Iverson - * emit-rtl.c (gen_highpart): If arg is function value hard reg, - return a subreg of it (as in gen_lowpart_common). + * final.c (final_start_function): Move call to sdbout_begin_function + back to final_scan_insn on MIPS systems so parameter descriptions are + recognized. - * integrate.c (expand_inline_function): Handle CONCAT as rtl for parm. - (copy_rtx_and_substitute): For subreg, handle case where the reg - inside turns into a CONCAT. +Sun Nov 26 13:43:06 1995 DJ Delorie (dj@delorie.co)m - * configure: Treat hppa1.[01]-hpux8.0[01] like hppa1.[01]-hpux8.02. + * msdos/top.sed: Don't insert "go32". - * fixproto: Don't scan sub-directories whose names end in CC - or contain ++ - these are probably C++ directories. +Sun Nov 26 12:08:23 1995 Jim Wilson -Thu Nov 4 12:02:04 1993 Jim Wilson (wilson@sphagnum.cygnus.com) + * combine.c (nonzero_bits, case REG): Put POINTERS_EXTEND_UNSIGNED + code before stack pointer code. Return nonzero at end of stack + pointer code. - * integrate.c (expand_inline_function): Don't call - push_temp_slots, free_temp_slots, and pop_temp_slots when handling - parameters, because they might end up in a temp slot. + * sparc.h (PRINT_OPERAND_ADDRESS): Handle CONST inside PLUS. -Thu Nov 4 15:00:38 1993 Samuel Figueroa (figueroa@cs.nyu.edu) + * Makefile.in (cppalloc.o): Add a rule to build it. - * i386/os2.h, i386/xm-os2.h: New files. + * alpha.c (alpha_emit_set_const): Don't output SImode sequences + that rely on invisible overflow. Sign extend new when SImode. + Don't recur if new == c. Don't allow shift outside mode. Make + logical right shift be unsigned. -Thu Nov 4 14:36:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sun Nov 26 11:37:50 1995 Arne H. Juul (arnej@idt.unit.no) - * c-decl.c (finish_enum): Undo previous change. + * Makefile.in (compare*): Add "|| true" to avoid spurious + failure messages from some versions of make. -Thu Nov 4 13:30:16 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Sun Nov 26 11:20:09 1995 Dmitry K. Butskoy (buc@stu.spb.su) - * loop.c (strength_reduce): Ignore initial value if it is the - wrong mode. - (record_initial): Don't ignore any set of the register. + * expr.c (truthvalue_conversion): Add declaration. - * rs6000.md (movdf): Don't have reload choose alternative of - loading a constant into a GPR. +Sun Nov 12 18:09:35 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * reload.c (find_reloads, case 'o'): A pseudo is not always - an offsettable memref. - (find_reloads): If we reload a constant into a register via - memory, count it as two reloads. + * Version 2.7.1 released. - * function.c (expand_function_start): If not optimizing, ensure - we mark context display regs as live for the entire function. + * function.c (put_reg_into_stack): New arg volatile_p. + (put_var_into_stack): Call with new arg. -Thu Nov 4 02:24:22 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Nov 11 08:25:34 1995 Jim Wilson - * tree.h (DECL_IN_TEXT_SECTION): New macro. - * varasm.c (assemble_variable): Set DECL_IN_TEXT_SECTION. - * dbxout.c (dbxout_symbol_location): Test DECL_IN_TEXT_SECTION. + * reload.c (output.h): Include it. + * Makefile.in (reload.o): Add dependence on output.h. -Wed Nov 3 23:59:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Nov 9 11:24:20 1995 Jim Wilson - * c-typeck.c (build_function_call): Initialize fundecl to 0. + * mips.h (HARD_REGNO_NREGS): If FP_REG_P, always use UNITS_PER_FPREG + to calculate number of words needed. -Wed Nov 3 16:34:01 1993 Torbjorn Granlund (tege@adder.cygnus.com) +Thu Nov 9 11:04:50 1995 Oliver Kellogg (Oliver.Kellogg@space.otn.dasa.de) - * pa.h (REGISTER_MOVE_COST): Decrease cost for move from - SHIFT_REGS to avoid regclass overflow. + * 1750a.md (cmphf): Addd Base Reg with Offset address mode (LB,STB,..) + (movqi,movhi,movhf,addqi3,addhf3,subqi3,subhf3,mulqihi3): Likewise. + (mulhf3,divhf3,andqi3,iorqi3): Likewise. + (define_peephole): Remove the Base mode peepholes. Replace the + special addqi define_insn for "LIM Ra,sym,Rb" by a define_peephole. + (ashlqi3): Took out futile 0th alternative. + (lshrqi3, lshrhi3, ashrqi3, ahsrhi3): Correct case of non-constant + shift count. -Wed Nov 3 15:35:44 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 1750a.h (REG_ALLOC_ORDER): Define. + (REGNO_OK_FOR_BASE_P): Include stack pointer in test against + reg_renumber[REGNO]. + (ASM_OUTPUT_DESTRUCTOR): Remove bogus assembler comment. - * config/m68k/m68k.c (output_move_double): Fix up the test for overlap - of source address with operands[0]. +Thu Nov 9 11:01:33 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * regclass.c (regclass): Consider commutativity even when - one arg is a constant. + * expr.c (expand_expr, case ARRAY_REF): Properly convert types + of index, size, and multiplication. -Wed Nov 3 12:06:23 1993 Jim Wilson (wilson@sphagnum.cygnus.com) +Wed Nov 8 09:00:22 1995 Richard Earnshaw (rearnsha@armltd.co.uk) - * expmed.c (expand_divmod): Use target as copy_to_suggested_reg - argument only if it has the same mode as op0. + * arm.md (mov*cc_{,soft_}insn): Use match_operator to test the + comparison and check that the condition code register is used. -Wed Nov 3 04:58:26 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Nov 8 08:49:35 1995 Michael Meissner - * protoize.c (safe_write, safe_read): Really use arg DESC. + * rs6000/sysv4.h (ASM_OUTPUT_{CONSTRUCTOR,DESTRUCTOR}): Undef before + including svr4.h. - * libgcc2.c (exit): Fix declaration of _exit. +Tue Nov 7 10:58:12 1995 Torbjorn Granlund - * c-common.c (check_format_info): Make warning nicer for mismatch - of int vs long, etc. - Don't warn if field width is an unsigned int. + * m68k.md (subxf3): Properly name pattern. - * c-decl.c (finish_enum): Always make an enum signed if it will fit. +Tue Nov 7 10:53:09 1995 Michael Meissner -Wed Nov 3 14:23:52 1993 Torbjorn Granlund (tege@adder.cygnus.com) + * libgcc2.c (__{C,D}TOR_LIST): For AIX, initialize these arrays to + 0,0, just like NeXT to avoid a warning message from the AIX 4.1 + linker. - * cse.c (cse_insn): Call `invalidate' also for STRICT_LOW_PART and - ZERO_EXTRACT (three places). - (invalidate_from_clobbers): Likewise (two places). - (cse_around_loop): Likewise. - (invalidate_skipped_set): Likewise. - (cse_set_around_loop): Likewise. +Tue Nov 7 09:58:34 1995 John F. Carr -Wed Nov 3 03:56:55 1993 Paul Eggert (eggert@twinsun.com) + * cppexp.c (cpp_lex): Correctly parse character constants. - * dbxout.c (dbxout_type): Print `-2' instead of `0037777777776' - for an enumeration constant whose value is -2; - otherwise, GDB 4.11 rejects the type. +Tue Nov 7 09:52:15 1995 Jason Merrill -Wed Nov 3 04:35:13 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rs6000.h (ASM_OUTPUT_{DES,CONS}TRUCTOR): Define. - * Makefile.in (fix-header, gen-protos): Link with HOST_LIBS. - Depend on HOST_LIBDEPS. +Mon Nov 6 10:27:15 1995 Doug Evans -Wed Nov 3 00:07:18 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) + * combine.c (force_to_mode): Fix typo. - * fixproto: When checking for uses of _flsbuf, make sure to - not match (say) __flsbuf or other non-word _flsbuf strings. - * fixproto: Be more robust when checking for files indirectly - needed (via #include directives). E.g. handle "../foo/bar.h" - properly, and silently ignore missing include files. +Sun Nov 5 18:37:02 1995 Torbjorn Granlund -Tue Nov 2 17:37:39 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * m68k.md (cmpxf): Don't call force_const_mem, it looses for PIC; + get predicates right instead. Get rid of separate DEFINE_EXPAND. + (addxf3, subxf3, mulxf3, divxf3): Likewise. + (All XFmode patterns): Delete `F' and `G' constraints. + (absxf2, negxf2): Delete spurious condition on TARGET_FPA. - * gcc.c (do_spec_1): Use spec_version for %v, not version_string. - Distinguish %v1 and %v2. - (default_compilers): For __GNUC_MINOR__, use %v2. - For __GNUC__ and __GNUG__, use %v1. +Sun Nov 5 11:05:44 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * protoize.c (safe_read): New function. - (process_aux_info_file, edit_file): Use safe_read. + * fixincludes (malloc.h): Fix return type of {m,re}alloc. - * cccp.c (safe_read): New function. - (main, finclude, check_precompiled): Use safe_read. +Sun Nov 5 11:02:26 1995 J"orn Rennecke (amylaar@meolyon.hanse.de) -Tue Nov 2 14:31:42 1993 Ian Lance Taylor (ian@cygnus.com) + * cse.c (invalidate): For a pseudo register, do a loop to + invalidate all table entries, irrespective of mode. - * fixincludes: Don't remove /**/ from X11/Xlibint.h or - X11/extensions/multibufst.h; unnecessary. +Sun Nov 5 10:57:43 1995 Richard Kenner -Tue Nov 2 07:20:12 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * combine.c (force_to_mode): Put in last change properly. - * optabs.c (init_optabs): Function `ffs' takes `int', not mode that - is BITS_PER_WORD wide. +Sun Nov 5 10:53:49 1995 Jeffrey A Law (law@cygnus.com) -Tue Nov 2 02:53:26 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * pa.h (CONDITIONAL_REGISTER_USAGE): Make sure FP regs + get disabled regardless of PA1.0 vs PA1.1 code generation + when TARGET_SOFT_FLOAT or TARGET_DISABLE_FPREGS is on. - * cp-typeck.c (comptypes): Fix typo in changing STRICT from 2 to 1. +Sun Nov 5 10:49:43 1995 Doug Evans - * protoize.c (edit_file): Use safe_write. - (safe_write): New subroutine. - - * calls.c (expand_call): Discard __ prefix like _ or __x. - - * objc/objects.c: Include tconfig.h. - -Mon Nov 1 23:34:46 1993 Rainer Orth (ro@anemone.techfak.uni-bielefeld.de) - - * fixincludes (sys/stat.h) fix fchmod prototype, first arg is - int, not char * [AIX 3.2.4] - (rpc/svc.h): avoid nested comments [Ultrix 4.3] - (stdio.h, stdlib.h): fixed getopt prototypes to match POSIX.2 - [DEC Alpha OSF/1 1.3] - -Mon Nov 1 11:42:29 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * fixincludes: Fix like . - - * fixincludes: Unquote 'f' in #define _IO. Fix elf.h like - elf_abi.h. For Irix 5. - -Mon Nov 1 15:15:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * configure (mips-sgi-irix5*): Add fixincludes=Makefile.in. - - * fixproto (setjmp.h): Don't require siglongjmp and sigsetjmp. - They need sigjmp_buf, and are missing on many systems. - - * Makefile.in (stmp-fixproto): Print a notice that warnings and errors - from fixproto are normal. - (distdir): Avoid spurious output from gcc.texi version number check. - (diff): New target. - -Mon Nov 1 15:19:09 1993 Ian Lance Taylor (ian@cygnus.com) - - * fixincludes: Don't remove /**/ from X11/xmd.h; breaks gcc - -traditional on some systems. - -Mon Nov 1 07:38:58 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu - - * rs6000.md: Add set_attr for "length" when we are going to split - an insn at output time. - - * rs6000.md (bdn/bdz): Fix typo in checking for when we - need to split. - - * rs6000.md (mulsi3): Make alternatives be "mq" and "no_mq" - instead of "power" and "powerpc". Only allow one pattern (either - with or without the clobber of MQ) to match. - - * stmt.c (expand_decl_init): If CONST_DECL, don't generate any - code, but call expand_expr if DECL_INITIAL is a constant. - -Mon Nov 1 06:17:16 1993 Torbjorn Granlund (tege@adder.cygnus.com) - - * m68k.md (divhisi3, udivhisi3, modhisi3, umodhi3): Comment out. - (divhisi3, udivhisi3, modhisi3, umodhi3 recognizers): Comment out. - - * expmed.c (synth_mult): When factoring T, break from loop after - first factor. - (expand_mult): Increase max cost to 12 again. - -Mon Nov 1 01:06:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * cccp.c (safe_write): New function. - (write_output): Use safe_write. - -Mon Nov 1 01:06:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Version 2.5.2 released. - - * cccp.c (do_ident): Fix previous change. - -Sun Oct 31 14:41:40 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Version 2.5.1 released. - - * cccp.c (do_ident): Substitute macros and output here. - (directive_table): Turn off the pass_thru field for #ident. - - * c-common.c (shorten_compare): Undo previous change. - Instead, just suppress warnings if both args are constant. - - * config/m68k/m68k.md (extzv, and its recognizer): - If width is 32, don't set CC_NOT_NEGATIVE. - If width is variable, clear the CC status. - - * config/m68k/m68k.c (output_move_double): Extend the special case - for *--sp = sp[N] to handle 12 bytes as well as 8 bytes. - -Sun Oct 31 17:02:13 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-init.c (expand_aggr_init_1): When unswitching a COND_EXPR - initializer (i.e. int a = b ? 1 : 0 => int a; b ? a=1 : a=0), - set TREE_SIDE_EFFECTS on the result. - -Sun Oct 31 13:33:46 1993 Jim Wilson (wilson@cygnus.com) - - * expr.c (do_store_flag): For equality test of a single bit, use - subtarget instead of target in calls. - -Sat Oct 30 17:58:37 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * config/m68k/hpux7.h: New file. - * configure (m68k-hp-hpux7*): New alternative. - - * c-common.c (shorten_compare): Do nothing if both args constant. - - * config.sub: Re-add hitachi to list of companies not to treat - as OS names. - - * expr.c (convert_move): When extending to multi-word register - via its low word, clobber the whole thing. - - * config/i386/i386.c (output_move_double): Extend the special case - for *--sp = sp[N] to handle 12 bytes as well as 8 bytes. - -Sat Oct 30 17:21:33 1993 Atsushi Furuta (furuta@sra.co.jp) - - * pa-ghiux.h, pa-hiux.h, pa1-ghiux.h: New files, for Hitachi H3050/RX. - * pa1-hiux.h, x-pa-hiux, xm-pahiux.h: Likewise. - * config.sub, configure: Add H3050/RX support. - -Sat Oct 30 03:40:08 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * config/pa/pa.c (output_dbra): Fix argument number in addi at end. - - * tree.h (enum built_in_function): Added END_BUILTINS to delimit - standard from language-specific builtins. - - * toplev.c (rest_of_compilation): When an `extern inline' is not - really inline, clear DECL_INITIAL so we don't complain about - a subsequent non-extern definition. - * c-decl.c (finish_function): If rest_of_compilation set DECL_INITIAL - to null, leave it null. - - * c-common.c (convert_and_check): Don't warn converting 0xff - to a signed char, etc., unless pedantic. - - * Makefile.in (mainversion): New variable. - (distdir): Use mainversion when verifying gcc.texi has been updated. - -Sat Oct 30 03:12:54 1993 Torbjorn Granlund (tege@cygnus.com) - - * m68k.md (mulsidi3 patterns): Fix typo, LSHIFTRT was ASHIFT. - -Fri Oct 29 12:06:09 1993 Ian Lance Taylor (ian@cygnus.com) - - * fixinc.svr4 (sys/stat.h): Don't change definitions into - prototypes if they may already be in prototype form. + * i960.c (emit_move_sequence): Add a scratch register to + multi-reg stores. + (i960_output_move_{double,quad}): New functions. + (i960_print_operand): Handle new operand types E, F. + * i960.md (movdi matchers): Rewrite. + (store_unaligned_di_reg): New pattern. + (movti matchers): Rewrite. + (store_unaligned_ti_reg): New pattern. + +Sun Nov 5 10:45:24 1995 Ian Lance Taylor (ian@cygnus.com) -Fri Oct 29 16:50:33 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * mips.h (MULTILIB_DEFAULTS): Define. + * mips/elf64.h, mips/iris6.h (MULTILIB_DEFAULTS): Define. - * config/i386/linux.h (LIB_SPEC): Use -lieee if -mieee-fp. +Sun Nov 5 10:41:48 1995 Jim Wilson -Fri Oct 29 13:04:16 1993 Arne H. Juul (arnej@fm.unit.no) + * reload.c (push_reload): Delete abort for RELOAD_OTHER case added + in last change. + * reload1.c (emit_reload_insns): For RELOAD_OTHER output reloads, + output the reload insns in descending order of reloads. + + * sh.md (mulsidi3-1, mulsidi3, umulsidi3-1, umulsidi3): Enable. + (smulsi3_highpart-1, smulsi3_highpart): New patterns. + (umulsi3_highpart-1, umulsi3_highpart): Likewise. + (movdi-1): Add r/x constraint. + * t-sh (MULTILIB_OPTIONS): Add m2. + (MULTILIB_DIRNAMES): Add m2. + (MULTILIB_MATCHES): Define. - * mips/iris5.h (LINK_SPEC): Pass -no_unresolved if -call_shared. + * sparc.h (RTX_COSTS, case MULT): Check for TARGET_SPARCLITE. -Fri Oct 29 12:52:54 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * abi64.h, elf64.h (CPP_SPEC): Add -EB and -EL support. - * rs6000.md (addsf3, subsf3, mulsf3, divsf3): Put POWERPC first, - then POWER. +Sat Nov 4 10:36:26 1995 Jim Wilson - * mips/iris5.h ({DBX,SDB,MIPS}_DEBUGGING_INFO): Turn off until working. + * sh.md (casesi_worker): Change constraint from = to +. -Fri Oct 29 12:15:12 1993 Minh Tran-Le (tranle@intellicorp.com) + * svr4.h (ASM_IDENTIFY_GCC_AFTER_SOURCE): Delete. + (ASM_IDENTIFY_GCC): Output stab here. - * i386/xm-aix.h: Define HAVE_PUTENV for AIX PS/2. +Sat Nov 4 10:32:37 1995 John Carr -Fri Oct 29 11:49:46 1993 DJ Delorie (dj@ctron.com) + * cpplib.c (finclude): Set current input pointer when input + is not a regular file. - * i386/go32.h: Add support for coff-based ctor/dtor handling. + * cppmain.c: Define progname, required by cpplib. -Thu Oct 28 21:33:22 1993 Kresten Krab Thorup (krab@next.com) +Sun Oct 29 07:48:36 1995 Michael Meissner - * objc-act.c (check_methods_accessible): Fix bug in - -Wno-protocol. Reset chain to bottom class for each search. + * xcoffout.h (DBX_FINISH_SYMBOL): Deal with names created via + the __asm__ construct that start with a leading '*'. + * xcoffout.c (xcoff_declare_function): Likewise. -Thu Oct 28 21:30:38 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Sun Oct 29 07:45:41 1995 Jim Wilson - * c-parse.in (init): Remove extraneous pop_momentary in error case. + * stupid.c (stupid_mark_refs): Handle SUBREG of pseudo-reg in a + SET_DEST same as we handle a pseudo-reg in a SET_DEST. -Thu Oct 28 19:01:33 1993 Ron Guilmette (rfg@netcom.com) +Sun Oct 29 07:43:15 1995 Pat Rankin - * cp-method.c (hack_identifier): If an overloaded identifier - can only mean one thing, it can only mean one thing. + * libgcc2.c (L_eh: __unwind_function): Implement for VAX. + * vax.h (RETURN_ADDRESS_OFFSET, RETURN_ADDR_RTX): Define. -Thu Oct 28 18:52:15 1993 John F Carr (jfc@mit.edu) +Sun Oct 29 12:39:08 1995 Richard Kenner a - * cp-typeck.c (get_member_function_from_ptrfunc): Convert delta - to size_t before adding to pointer. + * i386/sol2.h (CPP_PREDEFINES): Add -D__SVR4. -Thu Oct 28 18:43:41 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) +Sun Oct 29 07:14:36 1995 J"orn Rennecke (amylaar@meolyon.hanse.de) - * arm.h (ENCODE_SECTION_INFO): Use DECL_RTL for DECLs. + * reload.c (find_equiv_reg): Check for nonsaving setjmp. -Wed Oct 27 20:58:31 1993 Torbjorn Granlund (tege@adder.cygnus.com) +Fri Oct 27 15:15:56 1995 Jim Wilson - * pa.c (emit_move_sequence): Fix typo, `Pmode' was `mode'. + * Makefile.in (out_object_file): Depend on TREE_H. -Wed Oct 27 00:01:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Oct 27 06:42:36 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cse.c (cse_insn): When using src_related, copy the rtx. - Likewise for src_eqv_here. + * alpha.c (call_operand): Only allow reg 27 on NT too. + * alpha.md (call_value_nt, call_nt): Force non-SYMBOL_REF + into reg 27, just like for OSF. - * c-typeck.c (output_pending_init_elements): Don't crash if - constructor_unfilled_fields is 0. + * rs6000.c (struct asm_option): Changed from struct option. + (expand_block_move_mem): Remove erroneously-added line. - * fixincludes (bsd/sys/wait.h): Undo previous change. + * expr.c (clear_storage): SIZE is now rtx, not int. + (store_constructor): Call clear_storage with rtx. + (get_inner_reference): Convert index to precision of + sizetype, not POINTER_SIZE. + (expand_expr, case ARRAY_REF): Likewise. + * expr.h (clear_storage): Second arg is rtx, not int. - * config/m68k/xm-amix.h (abort): Don't use fancy_abort. - (alloca): In GCC 1, define as __builtin_alloca. +Fri Oct 27 05:45:58 1995 J"orn Rennecke (amylaar@meolyon.hanse.de) - * config/m68k/amix.h (ASM_GENERATE_INTERNAL_LABEL) - (ASM_OUTPUT_INTERNAL_LABEL): #if 0 deleted, to reenable these. - (NO_DOT_IN_LABEL): Defined. - (NO_DOLLAR_IN_LABEL): Undefined. + * combine.c (force_to_mode, case ASHIFTRT): Properly handle + mask wider than HOST_WIDE_INT. - * function.c (assign_parms): If parmreg is a CONCAT, handle the - case where stack_parm is 0. + * c-decl.c (pushdecl): Don't test TREE_PUBLIC when deciding whether + to register a duplicate decl in the current block. - * expr.c (do_jump): Use do_jump_by_parts_equality for complex compares. +Thu Oct 26 21:55:39 1995 Jason Merrill - * c-typeck.c (build_c_cast): When making union constructor, - copy TREE_CONSTANT from the given value. - (initializer_constant_valid_p): Special handling for "constant" - union constructor. + * calls.c (expand_call): Don't trust the callee to copy a + TREE_ADDRESSABLE type. + * function.c (assign_parms): Likewise. - * bytecode.def: Rename dup to duplicate. - * expr.c (expand_assignment): Use duplicate. - (bc_expand_expr): Likewise. - (bc_expand_constructor): Likewise. +Thu Oct 26 19:25:05 1995 Mike Stump - * print-tree.c (print_node_brief): Use unsigned char to print - the bytes of a real constant. + * libgcc2.c (__unwind_function): Provide a default definition for + implementations that don't yet have a function unwinder. - * expmed.c (store_bit_field): When calling operand_subword_force, - if VALUE has a non-void mode, pass that mode. +Thu Oct 26 18:08:19 1995 Paul Eggert - * config/m68k/amix.h (NO_DOLLAR_IN_LABEL): Defined. + * cccp.c (handle_directive): Don't treat newline as white + space when coalescing white space around a backslash-newline. -Tue Oct 26 19:05:36 1993 John F Carr (jfc@mit.edu) +Thu Oct 26 17:57:34 1995 Ian Lance Taylor - * rs6000.c (rs6000_override_options): Support -mcpu=rsc1. + * mips-tdump.c (enum st): Define st_Struct, st_Union, and st_Enum. + (st_to_string): Handle them. + (type_to_string): Add fdp argument; pass it to emit_aggregate. + (print_symbol): Add fdp argument; pass it to type_to_string. + Handle st_Struct, st_Union, and st_Enum. + (emit_aggregate): Add fdp argument. Handle opaque types. Map + through RFD entries. + (print_file_desc): Pass FDR to print_symbol. + (main): Pass null FDR to type_to_string. -Tue Oct 26 19:01:08 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Oct 26 08:07:10 1995 Michael Meissner - * Makefile.in (deduced.h): Add -I. and -I$(srcdir). + * configure (powerpc-ibm-aix[456789]*): Use rs6000/t-newas, + not rs6000/t-rs6000. + (rs6000-ibm-aix3.2.[456789]*): Likewise. + (rs6000-ibm-aix[456789]*): Likewise. - * scan-types.sh (CC): Move a " to avoid shell error. + * rs6000/t-newas: Copy from t-rs6000. + * t-rs6000: Don't build -mcpu=common multilib variants of libgcc.a. - * config.sub (paragon): New alias. - * configure (i860-*-osf*): New alternative. - * gstdarg.h, gvarargs.h [__i860__]: Add to little-endian list. - * libgcc2.c (___builtin_saveregs): New alternative for __PARAGON__. - * va-i860.h: Treat __PARAGON__ like __SVR4__. - (va_dcl) [__PARAGON__]: Declare va_alist. - * paragon.h, xm-paragon.h: New files. + * rs6000.md (load_multiple insn): If address register is among regs, + don't load it with a lwsi instruction, which is undefined on PowerPC. -Tue Oct 26 18:58:49 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Thu Oct 26 08:01:32 1995 Jim Wilson - * fix-header.c: Delete duplicate definition of "buf". - * fix-header.c, gen-protos.c, scan-decls.c, scan.c: Include hconfig.h. - * scan-decls.c: Remove unused #ifdef OLD. + * dwarfout.c (output_compile_unit_die): Handle language_string + of "GNU F77". - * Makefile.in (gen-protos.o, scan.o, fix-header.o, scan-decls.o): - Add rule to compile using $(HOST_CC). - Show using hconfig.h. + * reload.c (find_reloads_address): When check for out of range constant + plus register, accept any hard register instead of just fp, ap, sp. - * rs6000.md (movsi): Can copy a TOC address into a register. + * combine.c (distribute_notes): For Oct 19 change, add additional + check to verify that place has a valid INSN_CUID. -Tue Oct 26 15:03:07 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * sparc/t-vxsparc (LIBGCC1_TEST): Define. - * gcc.c (default_compilers): Define __GNUC_MINOR__, using %v. - (do_spec_1): Implement %v. + * sh.md (negdi2): Use TARGET_LITTLE_ENDIAN. -Tue Oct 26 11:06:59 1993 Mike Stump (mrs@cygnus.com) + * combine.c (force_to_mode, case ASHIFTRT): Verify mode bitsize is + within HOST_BITS_PER_WIDE_INT before shifting by it. - * cp-lex.c (consume_string): Handle "\"" and '\''. + * final.c (final_scan_insn): When recur for instruction in delay slot, + add loop around recursive call in case the instruction gets split. -Tue Oct 26 13:44:17 1993 Jim Wilson (wilson@sphagnum.cygnus.com) +Thu Oct 26 07:28:45 1995 J"orn Rennecke (amylaar@meolyon.hanse.de) - * Makefile.in (fix-header.o): Depend on fix-header.c. - (scan-decls.o): New target. - (gen-protos.o, scan.o): New targets. + * genrecog.c (write_tree_1): Avoid emitting '-2147483648'. - * Makefile.in (gen-protos, fix_header): Add $(HOST_CFLAGS) and - $(HOST_LDFLAGS). + * jump.c (duplicate_loop_exit_test): Return 0 if found + a NOTE_INSN_LOOP_CONT. - * x-sysv (OLDCC): Add -XNh1500. - * x-mips: Likewise. +Tue Oct 24 15:30:14 1995 Jeffrey A Law -Tue Oct 26 12:21:06 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + * calls.c (expand_call): Make sure valreg is at least + a full word. - * fixincludes: Fix NeXT problem in - as well, since that is where the file is in NeXTStep 3.0. +Sun Oct 22 19:35:41 1995 Jim Wilson -Tue Oct 26 07:23:08 1993 Torbjorn Granlund (tege@adder.cygnus.com) + * sh.h (INIT_SECTION_ASM_OP): Delete. + (HAVE_ATEXIT): Define. - * expmed.c (init_expmed): Use register 10000, not FIRST_PSEUDO_REGISTER - that gets special treatment in rtx_cost. - (expand_mult): Decrease max cost to 8. +Sun Oct 22 07:46:04 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * c-typeck.c (build_binary_op): For TRUNC_MOD_EXPR and FLOOR_MOD_EXPR, - set common. + * libgcc2.c (__fixuns[xds]fsi): #undef MIN and MAX before #include + of limits.h. -Tue Oct 26 01:59:17 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * pa.c (pa_adjust_cost): Use pa_cpu, not pa_cpu_attr. - * protoize.c [__NeXT__]: Don't declare setjmp or longjmp. +Sun Oct 22 07:38:58 1995 J"orn Rennecke (amylaar@meolyon.hanse.de) - * configure: Ignore --verbose option if specified. + * alpha.h (CONST_OK_FOR_LETTER_P): Use 'U' for unsigned constants. + * alpha.c (alpha_emit_set_const): Likewise. + * mips.c (gen_int_relational): Likewise. - * expr.c (emit_move_insn_1): Don't call group_insns - when X is a CONCAT. - (emit_move_insn_1, case CONJ_EXPR and COMPLEX_EXPR): Likewise. +Sun Oct 22 07:14:35 1995 Douglas Rupp (drupp@cs.washington.edu) - * fixproto (signal.h): Add prototypes only for kill and raise. - Not for the POSIX signal functions. - (sys/resource.h): Delete special handling for this file. + * i386.c (i386_return_pops_args): Don't need a FUNDECL to + check for type attributes in FUNTYPE. - * c-typeck.c (push_init_level): Align here for element of record. - (process_init_element): Not here (was before call to push_init_level). +Sat Oct 21 18:17:42 1995 Jim Wilson - * scan-types.sh: Expect GCC source dir as argument. - In dummy.c, use gstddef.h and gstdarg.h, not stddef.h and stdarg.h. - * Makefile.in (deduced.h): Pass GCC source dir to scan-types.sh. + * sh.md (define_delay): Don't accept any instruction for an annulled + slot, only accept those for which in_delay_slot is yes. + * sh.c (find_barrier): When hi_const returns true, increment count_si + by two if found_si is true. + Always use get_attr_length to compute length of instructions. + If count_hi or count_si out of range at end, need two PREV_INSN calls + not one. + When create new label, set LABEL_NUSES to 1. + (reg_unused_after): Ifdef out code for handling labels. + (prepare_scc_operands): New local variable mode. Set it from + sh_compare_op0 or sh_compare_op1. Use it instead of SImode in + force_reg calls. + + * optabs.c (expand_float): Emit missing barrier after unconditional + jump. -Mon Oct 25 23:23:26 1993 Torbjorn Granlund (tege@blues.cygnus.com) +Sat Oct 21 14:16:46 1995 Torbjorn Granlund - * c-typeck.c (build_binary_op): For TRUNC_MOD_EXPR and FLOOR_MOD_EXPR, - don't shorten when divisor might be -1. + * alpha.md (cmpdf): Make conditional on TARGET_FP. -Mon Oct 25 23:45:20 1993 Minh Tran-Le (tranle@intellicorp.com) +Fri Oct 20 19:11:12 1995 J"orn Rennecke (amylaar@meolyon.hanse.de) - * seq-sysv3.h (CPP_SPEC): Define _SEQUENT_ to be compatible with cc. - (INVOKE__main): Defined. - (HAVE_ATEXIT): Defined. + * combine.c (distribute_notes): Delete instructions without + side effect that set a subreg of an unused register. - * configure (i[34]86-sequent-sysv): Use fixinc.srv4 and define - broken_install. + * m68k.h (PREFERRED_RELOAD_CLASS): Check for !G constants + for DATA_OR_FP_REGS also. -Mon Oct 25 18:53:51 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Fri Oct 20 18:57:10 1995 Ian Lance Taylor - * expr.c (expand_expr, case PLACEHOLDER_EXPR): Fix typos. + * genmultilib: Output negations of unused alternatives, even if + one of the alternatives is selected. -Mon Oct 25 16:25:58 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Oct 20 18:48:50 1995 Jeff Law (law@hurl.cygnus.com) - * scan.c (scan_string, skip_spaces): Add newline before fn name. + * integrate.c (output_inline_function): Turn on flag_no_inline + to avoid function integration once we begin writing deferred + output functions. - * scan-decls.c (scan_decls): When reading parameter list, - handle whitespace differently, and keep track of line number. +Fri Oct 20 18:46:33 1995 Michael Meissner - * config/i386/x-linux (STMP_FIXPROTO): Define as empty. + * rs6000.c (float_conv_temp): Delete global variable. + (stack_temps): New static array to hold stack temps. + (offsettable_mem_operand): Delete function. + (offsettable_addr_operand, rs6000_stack_temp): New functions. + (output_epilog): Zero stack_temps. -Mon Oct 25 13:22:37 1993 Kaveh R. Ghazi (ghazi@caip.rutgers.edu) + * rs6000.h (offsettable_addr_operand): Declare instead of + offsettable_mem_operand. + (PREDICATE_CODES): Use offsettable_addr_operand. + (float_conv_temp): Delete variable. - * fixincludes: Fix bad S_IS* macros in on m88k-sysv3. + * rs6000.md (move_to_float insns): Change move_to_float so + that it doesn't have a clobber of the memory address, and instead + passes the stack temp's memory address as one of the unspec args. + (fix_truncdfsi2): Use rs6000_stack_temp to allocate the temp. + (multiply, shift insns): Fix all cases of multiply and shift insns so + that the right mnemonics are used for -mcpu=common with both + -m{old,new}-mnemonics. -Mon Oct 25 22:34:12 BST 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) +Fri Oct 20 17:58:19 1995 Jim Wilson - * fixincludes: Remove nested brackets in change of Oct 21. - Fix token pasting operator in ARM/RISCiX include files. + * expr.c (safe_from_p, case RTL_EXPR): Return 0 if RTL_EXPR_SEQUENCE + exists. Delete code to return 0 if exp_rtl is zero. -Mon Oct 25 13:01:52 1993 Jim Wilson (wilson@sphagnum.cygnus.com) + * function.c (init_function_start): Don't call init_insn_lengths here. + * toplev.c (rest_of_compilation): Call it here. - * sparc.h (LONG_DOUBLE_TYPE_SIZE): Don't define here. - * sol2.h (LONG_DOUBLE_TYPE_SIZE): Do define here. +Thu Oct 19 19:19:06 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * configure (mips-sgi-irix5): Don't use collect. + * c-common.c (check_format_info): Make test for null pointer + more general. -Sun Oct 24 14:15:12 1993 Jim Wilson (wilson@sphagnum.cygnus.com) +Thu Oct 19 18:56:16 1995 Satoshi Adachi (adachi@wisdom.aa.ap.titech.ac.jp) - * libgcc2.c (L_bb): Undef NULL before including . + * fixincludes (stdlib.h): Be more general in edit to change + declaration of {c,m,re}alloc. -Sun Oct 24 03:04:53 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Oct 19 18:48:53 1995 Torbjorn Granlund - * Makefile.in (g++.o): New target. + * libgcc2.c (__udiv_w_sdiv): If we don't have sdiv_qrnnd, define + dummy variant of __udiv_w_sdiv. + +Thu Oct 19 18:45:21 1995 Jim Wilson - * varasm.c (assemble_variable): Set last_assemble_variable_decl. - (last_assemble_variable_decl): New variable. - * toplev.c (rest_of_decl_compilation): Test that var. + * alpha.h (ASM_SPEC): If GNU as is the default, then pass -g to + the assembler if -malpha-as. If GNU as is not the default, then pass + -g to the assembler is not -mgas. -Sat Oct 23 20:28:13 1993 Jim Wilson (wilson@mole.gnu.ai.mit.edu) + * combine.c (distribute_notes): When search for new place to put + REG_DEAD note, call distribute_links if this new place is between + i2 and i3, and i2 uses the register. - * configure (mips-sgi-irix5): Uncomment. - * iris5.h: Replace with working version. - * xm-iris5.h: New file. +Thu Oct 19 18:41:36 1995 Michael Meissner - * mips.c (mips_abicalls): New variable. - (override_options): Set mips_abicalls. Allow '^' as print operand - punctuation character. - (print_operand): Add support for '^'. - (mips_asm_file_start): Use ABICALLS_ASM_OP instead of ".abicalls". - (compute_frame_size): Handle TARGET_ABICALLS case. - (mips_expand_prologue): Likewise. - * mips.h (mips_abicalls): Declare new variable. - (PIC_FUNCTION_ADDR_REGNUM): New macro. - (STARTING_FRAME_OFFSET): Handle TARGET_ABICALLS case. - * mips.md (abicalls): New attribute. - (define_delay): Don't fill call delay slots when TARGET_ABICALLS. - (call_internal3, call_value_internal3): Renamed from - call_internal2 and call_value_internal2. - (call_internal2, call_value_internal2): New call patterns for - TARGET_ABICALL case. - (call_internal4, call_value_internal4): Likewise. + * rs6000.md (float{,uns}sidf2): Rewrite to break the conversion + process into several general insns. + (move_to_float): New insns to move 2 integer regs into a float register + through memory, taking endianess into account. Make sure that the + floating temporary is a valid address. Use one temporary for all + floats converted. + (fix_truncdfsi2): Take endianess into account. -Sat Oct 23 00:06:14 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rs6000.c ({low_32_bit,offsettable_mem}_operand): The function + low_32_bit_operand is now unused, delete it. New function + offsettable_mem_operand to determine if a memory address is + offsettable. + * rs6000.h ({low_32_bit,offsettable_mem}_operand): Ditto. + (PREDICATE_CODES): Ditto. - * Makefile.in (deduced.h): Depend on GCC_PASSES and stmp-int-hdrs. - (xsys-protos.h): Depend on GCC_PASSES. - (fixhdr.ready): New target. - (stmp-fixproto): Depend on fixhdr.ready, not fix-header itself. - (clean): Delete fixhdr.ready. + * rs6000.{c,h} (float_conv_temp): New global. + * rs6000.c (output_epilog): Zero out float_conv_temp. -Fri Oct 22 01:20:29 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Makefile.in (libgcc{1,2}.a): Allow LIB{1,2}FUNCS_EXTRA files to + end in .S as well as .c and .asm. - * fix-header.c: Renamed from patch-header.c. - (progname): Change name. - * fixproto: Use fix-header. - * Makefile.in (fix-header, fix-header.o): Renamed from patch-header*. - (stmp-fixproto, mostlyclean): Rename references to them. +Wed Oct 18 17:56:45 1995 Jose Alonso (sidinf@fpsp.fapesp.br) - * expr.c (store_field): In BLKmode case, return blk_object. + * c-typeck.c (parser_build_binary_op): Warn about x^y==z, etc. - * config/m88k/m88k.h (ASM_FINISH_DECLARE_OBJECT): Undef, then define. +Mon Oct 9 12:38:06 1995 Michael Meissner - * Version 2.5.0 released. + * protoize.c (reverse_def_dec_list): Silence compiler warnings. -Thu Oct 21 13:02:48 1993 Jim Wilson (wilson@sphagnum.cygnus.com) +Mon Oct 9 12:35:54 1995 Andrew Cagney - * mips.h (CUMULATIVE_ARGS): Double size of adjust array. - * mips.c (function_arg): Add comment about too many adjust entries. + * ginclude/va-ppc.h (va_arg): Deal with long longs that would be + passed in the 7th register, and are passed in the stack instead. -Thu Oct 21 13:48:14 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Fri Oct 6 13:47:10 1995 Jim Wilson - * rs6000.h (HARD_REGNO_MODE_OK): Multi-word objects cannot - go into MQ, LR, or CTR. + * alpha.h (ASM_SPEC): Add -g. - * configure (mips-sgi-iris5*): Disable; not working yet. - * mips/iris5.h (ASM_SPEC, LINK_SPEC, CPP_PREDEFINES): Extend a bit. +Fri Oct 6 13:42:50 1995 Richard Kenner - * expmed.c (expand_divmod): Create RESULT in proper mode when trying - quotient-and-remainder insn. + * alpha.h (alpha_{arg,auto}_offset): Make extern. -Thu Oct 21 13:14:40 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Oct 6 13:24:43 1995 Michael Meissner - * Makefile.in (STMP_FIXPROTO): Uncomment the definition. + * rs6000.h (RETURN_ADDRESS_OFFSET): Correct previous change. - * varasm.c (output_constructor): Fix previous change: - if no TYPE_DOMAIN, don't set min_index. +Fri Oct 6 13:14:43 1995 Doug Evans -Thu Oct 21 11:13:21 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) + * rtlanal.c (reg_set_last): Fix call to reg_set_between_p. - * fixincludes: Avoid conflicting uses of __wchar_t in cc1plus and - stdlib.h for ARM/RISCiX. +Tue Oct 3 12:31:38 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Oct 21 08:16:13 1993 Doug Evans (dje@canuck.cygnus.com) + * stor-layout.c (layout_type, case ARRAY_TYPE): Strip MAX_EXPR + from upper bound when computing length if it just protects against + negative length. - * Makefile.in (install-common): Remove g++ dependency. - Not built for cross compilers. + * expr.c (emit_move_insn_1): When doing multi-word move, show + output is clobbered. -Thu Oct 21 00:04:40 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Oct 3 12:26:07 1995 Jim Wilson - * fixincludes (required): Accept a space instead of a tab - between #define and CTRL (or _CTRL). + * cse.c (set_nonvarying_address_components, case AND): Add *pend to + end. Add constant to start instead of subtracting it. - * config/m68k/m68k.c (output_move_double): Use reg_overlap_mentioned_p - when checking for overlap between source and dest. - Fix syntax for the lea insn for double overlap case. - * m68k.md (movdi, movdf, movxf): Delete the & from load case. +Tue Oct 3 12:23:28 1995 Torbjorn Granlund - * config/m88k/m88k.h (ASM_FINISH_DECLARE_OBJECT): Emit .size - only if DECLARE_ASM_NAME. + * combine.c (simplify_rtx): In code that attempts to simplify + conditional expressions, if the result is an NE around another + comparison, return the original expression. -Wed Oct 20 21:32:11 1993 Jeff Law (law@snake.cs.utah.edu) + * longlong.h (mips umul_ppmm): Use `l' and `h' constraints; + remove mflo and mfhi instructions. - * pa.c (output_arg_descriptor): Do not stop searching if a USE - for the static link or struct value register is found. +Tue Oct 3 12:21:29 1995 Michael Meissner -Wed Oct 20 22:43:22 1993 Michael Meissner (meissner@osf.org) + * ginclude/va-ppc.h (va_start, stdarg case): Call + __builtin_next_arg, and ignore the result, so that the compiler + can report the proper error, if the second argument is not the + last argument. - * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Don't emit .size - directive if using the OSF/rose object format. +Tue Oct 3 12:02:51 1995 Kohtala Marko - * i386/osfrose.h, i386/osfelf.h (SWITCH_TAKES_ARG): Allow use of - System V.4 -h * and -z * switches. - (LINK_SPEC): Pass -G, -h*, -z* switches through to the ELF linker. - Map -static, -symbolic, and -shared into the appropriate -B, -d, - and -G options when invoking the ELF linker. + * function.c (assign_stack_temp): Adjust full_size field of + temp_slot when splitting an unused slot. -Wed Oct 20 20:32:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Oct 3 11:51:59 1995 Mike Stump - * cse.c (fold_rtx): Alter previous change: don't fold the shift - if the count exceeds the width of the value inside the subreg. + * expr.c (expand_builtin_return_addr): Break out functionality + from expand_builtin. + (expand_builtin): Call expand_builtin_return_addr. + * rs6000.h (RETURN_ADDR_RTX): Remove call to copy_to_reg. + Offset to return address is 4 when !TARGET_64BIT and v4_call_p, + 8 otherwise. + * sparc.h (RETURN_ADDR_RTX): Remove call to copy_to_reg. + * alpha.h (RETURN_ADDR_RTX): New definition. - * varasm.c (copy_constant): New function. - (output_constant_def): Use it. +Sun Oct 1 21:23:30 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in ($(srcdir)/INSTALL): Add --no-split. + * tree.c (staticp, case INDIRECT_EXPR): Disable case. -Wed Oct 20 19:35:35 1993 John F Carr (jfc@mit.edu) + * expr.c (expand_expr, case COMPONENT_REF): If getting component + of union of variable size, propagate TARGET. - * alpha.h (LIB_SPEC): Link -lprof1 when profiling. +Fri Sep 29 07:48:09 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Wed Oct 20 19:21:18 1993 Jim Wilson (wilson@cygnus.com) + * expr.c (store_expr): When storing promoted value, don't return + MEM if address contains target. - * cccp.c (sys_errlist): Conditionalize declaration for BSD 4.4. - * collect2.c, g++.c, gcc.c, protoize.c: Likewise. - * collect2.c (my_strerror): Move block local extern declarations - for sys_errlist and sys_nerr to file level. +Thu Sep 28 14:30:03 1995 Paul Eggert -Wed Oct 20 18:27:28 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cccp.c (rescan): Expand `#if foo && #bar' without a bogus + complaint about preprocessor directives within macro args. + Expand `foo' in `foo#bar' without requiring a space before `#'. - * c-typeck.c (output_init_element): When initializing a union, - do it right away: never put the field on the pending list. +Thu Sep 28 14:24:26 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * patch-header.c (main): Delete output file before opening it. - Discard directory names from progname. - * patch-header.c: Simplify and fix handling of errno.h. - (It no longer thinks errno.h always needs fixing.) - * patch-header.c (write_lbrac, write_rbrac): Only write - extern "C" if that specifically is needed. + * m68k.md (anonymous DImode shift patterns setting cc0): Turned + off due to reload problems. -Wed Oct 20 18:12:21 1993 Torbjorn Granlund (tege@adder.cygnus.com) +Thu Sep 28 14:05:22 1995 Niklas Hallqvist (niklas@appli.se) - * pa.md (cacheflush): Split into dcacheflush and icacheflush. - Rewrite to use space regs correctly. - * pa.h (TRAMPOLINE_TEMPLATE): Rewrite. - (TRAMPOLINE_SIZE): Update with new size. - (INITIALIZE_TRAMPOLINE): Rewrite. + * Makefile.in (USER_H): Move up so can override. + (INSTALL_ASSERT_H): New definition. + (install-headers): Use it. + (stmp-int-hdrs): Handle USER_H being empty. + * config/x-netbsd (INSTALL_ASSERT_H): Define as empty. -Wed Oct 20 17:58:32 1993 Per Bothner (bothner@kalessin.cygnus.com) + * i386/netbsd.h (WCHAR_{TYPE,UNSIGNED,TYPE_SIZE}): Now int. + * m68k/netbsd.h, ns32k/netbsd.h, sparc/netbsd.h: Likewise. + * vax/netbsd.h: Likewise. + (SIZE_TYPE): Use unsigned int. - * varasm.c (output_constructor): Add support for non-zero - lower array bound. - * expr.c (store_constructor): Likewise. + * m68k.c (output_scc_di): Swap operands when needed. + * m68k.h (LEGITIMATE_PIC_OPERAND): Allow SYMBOL_REF_FLAG symref. + * m68k.md: Make both assembler syntaxes do the same for PIC calls. -Wed Oct 20 15:16:34 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Sep 26 16:51:44 1995 Michael Meissner - * toplev.c (rest_of_decl_compilation): Use ASM_FINISH_DECLARE_OBJECT - unconditionally, but define it as no-op by default. + * mips.c (override_options): Don't allow anything but integers to + go in the HI/LO registers. - * config/convex/convex.h (MAX_LONG_TYPE_SIZE): Defined. +Tue Sep 26 16:36:18 1995 John F. Carr - * varasm.c (size_directive_output): New variable. - * toplev.c (rest_of_decl_compilation): Use ASM_FINISH_DECLARE_OBJECT. - * config/svr4.h (ASM_DECLARE_OBJECT_NAME): Set size_directive_output. - (ASM_FINISH_DECLARE_OBJECT): Defined. - * config/i386/osfrose.h, config/m88k/m88k.h: Likewise. + * c-common.c (check_format_info): Don't warn about format type + mismatch if the argument is an ERROR_MARK. - * patch-header.c (inf_size): Move decl inside main. - (strdup): Use xmalloc rathern than malloc. - Don't use the return value of strcpy. - (INF_UNGET): Take parameter; do nothing if EOF. - (strcpy): Declaration deleted. +Mon Sep 25 17:50:50 1995 Craig Burley (burley@gnu.ai.mit.edu) -Wed Oct 20 11:39:56 1993 Jim Wilson (wilson@sphagnum.cygnus.com) + * stor-layout.c (put_pending_sizes): New function. + * tree.h (put_pending_sizes): Add declaration. + * tree.c (save_expr): Return original for ERROR_MARK. - * xm-mips.h (HAVE_VPRINTF): Define for BSD 4.4. +Fri Sep 22 19:20:01 1995 Jeff Law (law@hurl.cygnus.com) - * mips.c (mips_output_filename): When emitting stabs, don't - disable them if using gas. - (mips_output_lineno): Likewise. + * expr.c (expand_builtin, case BUILT_IN_MEMCPY): Strip off + all NOP exprs from the source and destination nodes, then + set MEM_IN_STRUCT_P. - * sparc.h (INITIALIZE_TRAMPOLINE): Emit 3 flush instrutions. - * sparc.md (flush): Add pattern. +Fri Sep 22 18:50:31 1995 Michael Meissner -Wed Oct 20 10:47:54 1993 Michael Meissner (meissner@osf.org) + * rs6000/eabi.h (ASM_OUTPUT_INT): Test for whether the integer + being output is also a constant so &sym - &sym2 is not fixed up. - * configure (mips-dec-bsd, mips-dec-osf): Fix a typo in the last - change. +Fri Sep 22 18:49:07 1995 Peter Flass (FLASS@LBDRSCS.BITNET) -Wed Oct 20 07:57:06 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * i370.md (cmpsi): Add missing constraints to operand 1. - * rs6000.h, aix31.h (RS6000_CROR_BIT_NUMBER): Deleted. - (RS6000_CALL_GLUE): New macro. - * rs6000.c (print_operand, case '.'): Use RS6000_CALL_GLUE - instead of RS6000_CROR_BIT_NUMBER. - (print_operand, case 'E', case 0): Use "return", not "break". - * rs6000.md (call): Don't use CROR or NOP; just use "%.". +Fri Sep 22 18:27:33 1995 Torbjorn Granlund - * c-common.c (check_format_info): Consider "char", "signed char", - and "unsigned char" types as equivalent. + * i386.h (CONST_OK_FOR_LETTER_P): Make `N' match range 0..255 + for `outb' instruction. - * loop.c (find_and_verify_loops): Properly continue loop after - moving a block of code near a loop exit. + * pyr.h (PRINT_OPERAND): Handle code `R' for REG. + * longlong.h (pyr umul_ppmm): Use it. -Wed Oct 20 02:01:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Sep 22 18:24:38 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in (extraclean): Delete file djefoo. - (stmp-fixproto): Depend on stmp-headers, not LIBGCC2_DEPS. + * c-parse.in (enumlist): Propagate error_mark_node. -Tue Oct 19 23:11:16 1993 James Van Artsdalen (james@bigtex.cactus.org) + * c-aux-info.c (gen_type): Handle ERROR_MARK. - * config/i386/isc.h (LONG_DOUBLE_TYPE_SIZE): Define as 64 bits - due to FP emulator bugs in the target kernel. - * config/i386/sco.h: Likewise (kernel bugs are only suspected). + * alpha.md (movdi): Avoid memory sharing problem when in reload. -Tue Oct 19 21:21:34 PDT 1993 Ralph Campbell (ralphc@pyramid.com) +Wed Sep 20 14:27:09 1995 Peter Flass - * configure (mips-dec-bsd): New alternative. - * config/mips/dec-bsd.h: New file. + * mvs.h (FUNCTION_PROLOGUE): Maintain savearea forward chain + per MVS standards. -Tue Oct 19 18:49:40 1993 Jim Wilson (wilson@sphagnum.cygnus.com) +Wed Sep 20 14:20:52 1995 Torbjorn Granlund - * c-typeck.c (digest_init): For arrays, use comptypes to compare - types instead of comparing pointers. + * pyr.md (cmphi recognizer): Make condition match constraints. + (cmpqi recognizer): Likewise. -Tue Oct 19 11:24:16 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) +Wed Sep 20 12:42:59 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * reload1.c (reload): Cope when inherited register is larger than - one word. - (choose_reload_regs): Ditto. + * integrate.c (expand_inline_function): Do copy something setting + the result register if it is setting it to itself and has a REG_NOTE. -Tue Oct 19 18:09:18 1993 David Edelsohn (edelsohn@npac.syr.edu) + * integrate.c (set_decl_{origin_self,abstract_flags}): Treat + a DECL_INITIAL of error_mark_node the same as one of NULL_TREE. - * rs6000.md (define_function_unit): Add support for RIOS2 - asymmetric integer units. +Tue Sep 19 19:30:18 1995 Dave Pitts (dpitts@nyx.cs.du.edu) -Tue Oct 19 17:48:37 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * i370.md (cmphi, movhi, movstricthi, extendhisi2): Correct generation + of short integer (Halfword) + ({add,sub,mul,and,ior,xor}hi3): Likewise. + * i370/mvs.h (MACROPROLOGUE): New macro. + (FUNCTION_{PRO,EPI}LOGUE): Added ability to use IBM supplied function + prologue macros. + (FUNCTION_PROLOGUE): Corrected function "in-line" prologue alignment + problems. + (ASM_DECLARE_FUNCTION_NAME): Changed alignment to FullWord. + (ASM_OUTPUT_{SHORT,ASCII}): Reworked. - * function.c (assign_parms): Properly set parm_reg_stack_loc for - args that are a CONCAT. +Tue Sep 19 19:22:15 1995 Douglas Rupp (drupp@cs.washington.edu) - * clipper.md (movdi): Force use of "o" alternative if - operand 1 is a MEM. + * winnt/win-nt.h: Renamed from winnt/win-nt.h. + (LINK_SPEC): Add -noinhibit-exec. + * {alpha,i386}/win-nt.h: Renamed from {alpha,i386}/winnt.h. + Include winnt/win-nt.h, not winnt/winnt.h. + * winnt/oldnames.c: New file. + * winnt/headers.mak (fixinc-nt.obj): Fix typo. + * winnt/config-nt.bat: Change winnt.h to win-nt.h. + * i386/config-nt.sed: Likewise. + * configure ({alpha,i386}-*-winnt3*): Likewise. - * alpha.h (HAVE_ATEXIT): New macro. +Mon Sep 18 14:00:45 1995 Oliver Kellogg (Oliver.Kellogg@space.otn.dasa.de) - * reload.c (push_reload, find_reloads): If an operand is - a SUBREG of a PLUS, force a reload and reload what is inside. + * 1750a.h (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): + Added R2 and R0_1. + (REG_CLASS_FROM_LETTER): New letters 't' and 'z'. + (EXTRA_CONSTRAINT): New letter 'Q'. - * dbxout.c (print_int_cst_octal): Fix bug in last change. +Sun Sep 17 12:39:22 1995 Jeff Law (law@snake.cs.utah.edu) -Tue Oct 19 17:42:23 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) + * pa.h (ASM_DECLARE_FUNCTION_NAME): If a parameter's type + has TYPE_NEEDS_CONSTRUCTING on, then it's passed by invisible + reference. - * arm.c: Include reload.h - (arm_reload_out_hi): New function. - (output_call): Don't look inside operands[0]. - * arm.h: Add function definitions for shift_instr, - output_mov_long_double_fpu_from_arm, - output_mov_long_double_arm_from_fpu, - and output_mov_long_double_arm_from_arm. - (FLOAT_WORDS_BIG_ENDIAN): Define to 1. - (SECONDARY_OUTPUT_RELOAD_CLASS): return GENERAL_REGS for HImode - outputs. - (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): - output floating point constants as hex, make order correct given - definition of FLOAT_WORDS_BIG_ENDIAN. - (PRINT_OPERAND): Delete redundant code when handling CONST_DOUBLE. - * arm.md: (reload_outhi): New pattern. - (movhi): Handle reloads better. - (restorehi): Delete. Also tidy up commented out code. - (call): Make this a define_expand. - (matcher for above): only accept MEM(reg) - (call_value): Handle as for (call). - * xm-arm.h (HOST_FLOAT_WORDS_BIG_ENDIAN): Define to 1. +Sat Sep 16 17:42:33 1995 Jim Wilson -Tue Oct 19 13:25:03 1993 Mike Stump (mrs@rtl.cygnus.com) + * loop.c (find_and_verify_loops): Fix error in last change. - * cp-type2.c (build_m_component_ref): Fix typo, type must be set, - after changing component. Fixes problem introduced on Thu Sep 9 - 21:22:40 1993. +Sat Sep 16 08:38:22 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Oct 19 01:09:56 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * alpha.h (GO_IF_LEGITIMATE_ADDRESS): Disallow SYMBOL_REF for + current function. - * configure (m68000-convergent-sysv*): Untangle from m68k-*-lynxos. + * cse.c (recorded_label_ref): New variable. + (insert): Set instead of cse_jumps_altered. + (cse_main): Initialize it and return 1 if nonzero at end. - * Makefile.in (stmp-fixproto): Depend on LIBGCC2_DEPS. - (crtbegin.o, crtend.o): Specify -fno-inline-functions. +Fri Sep 15 18:26:49 1995 Torbjorn Granlund (tege@matematik.su.se) - * config/mips/iris5.h: New file. - * config/mips/mips.c (mips_asm_file_start): Handle ABICALLS_ASM_OP. - * configure (mips-sgi-iris5*): New configuration. + * fold-const (div_and_round_double): Change `carry', `quo_est', + and `scale' from plain int to `unsigned HOST_WIDE_INT'. -Mon Oct 18 16:16:26 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Sep 15 18:24:24 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cse.c (note_mem_written): (mem (scratch)) means clobber everything. + * cse.c (insert): Set cse_jumps_altered when inserting a LABEL_REF. - * gen-protos.c: Include ctype.h. +Fri Sep 15 17:29:41 1995 Oliver Kellogg (Oliver.Kellogg@space.otn.dasa.de) - * expmed.c (extract_split_bit_field): Change shift count calculation - in little-endian case. + * 1750a.c (b_mode_operand): New function. + (print_operand): Added code 'Q'. - * Makefile.in (stmp-fixproto): Added dependency on fixproto script. +Fri Sep 15 17:27:23 1995 Jim Wilson -Mon Oct 18 11:26:08 1993 Jim Wilson (wilson@sphagnum.cygnus.com) + * loop.c (find_and_verify_loops): When moving exit blocks out of + the loop, verify that the target of P is within the current loop. - * c-typeck.c (process_init_element): Align structure elements - that are subaggregates. + * reorg.c (fill_slots_from_thread): Update thread if it is split. - * c-decl.c (finish_decl): After preserve_initializer call, set - TREE_PERMANENT bit in initializer. +Fri Sep 15 17:06:51 1995 Michael Meissner - * combine.c (can_combine_p): Don't combine instructions across a - volatile insn. - * rtlanal.c (volatile_insn_p): New function. + * rs6000.md (decrement_and_branchsi and related insns): Don't use + a "2" to select a register preference for operand 1 if operand 2 + hasn't been seen yet. + Add appropriate clobbers in decrement_and_branchsi. + Add patterns where the pc/label_ref are interchanged. -Sun Oct 17 03:04:49 1993 Torbjorn Granlund (tege@adder.cygnus.com) + * Makefile.in (gnucompare, stmp-multilib-sub): Remove extra . in + front of $(objext). - * configure (powerpc-ibm-aix*): Set cpu_type. - * config.sub: Recognize powerpc. + * rs6000.c (output_toc): Align DF constants if STRICT_ALIGNMENT. -Sun Oct 17 21:37:57 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * config/fp-bit.c (FLO_union_type): Add words field if double + precision to get at the separate words. + (FLO_union_type, pack_d, unpack_d): Use FLOAT_BIT_ORDER_MISMATCH + to determine when the bitfields need to be reversed, and + FLOAT_WORD_ORDER_MISMATCH when the words need to be reversed. - * reload1.c (eliminate_regs_in_insn): Rerecognize some loads and - stores. - * pa.md (indexing loads and stores): Provide variants which avoid - reload problems with shift-add operations. +Fri Sep 15 16:41:43 1995 Jeff Law (law@snake.cs.utah.edu) - * pa.h (READONLY_DATA_SECTION): Disable. + * reorg.c (fill_simple_delay_slots): When filling insn's delay slot + with JUMP_INSN, don't assume it immediately follows insn on + unfilled slots obstack. -Thu Oct 14 12:38:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Makefile.in (caller-save.o): Depend on insn-codes.h. - * cse.c (fold_rtx): Special case handling for folding - a subreg of the result of a left shift. +Thu Sep 14 17:41:49 1995 Jim Meyering (meyering@comco.com) -Thu Oct 14 00:05:42 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * protoize.c (do_cleaning): Don't blank out backslash-escaped + newlines in double quoted strings. - * alpha.h (DBX_CONTIN_LENGTH): Set to 4000. +Thu Sep 14 16:20:35 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * expr.c (do_jump_for_compare): Don't blow up if aren't any insns - in this sequence yet. + * emit-rtl.c (gen_lowpart): If gen_lowpart_common fails + for a REG, load it into a pseudo and try again. - * alpha.h (LINK_SPEC): Now OK to pass -O3 to linker. - (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Work around - bug in DEC assembler. +Thu Sep 14 14:15:16 1995 Stan Cox (coxs@dg-rtp.dg.com) -Wed Oct 13 21:47:58 1993 Ian Lance Taylor (ian@cygnus.com) + * m88k.h (VERSION_INFO1): Removed BCS reference. + * m88k/dgux.h (ASM_SPEC, *_LEGEND): + Added -mno-legend option. -mstandard no longer implies that legend + legend information not be produced. + (LINK_SPEC): Removed -z text - * fixincludes: Remove erroneous parens from Alpha OSF/1 . +Tue Sep 12 19:05:39 1995 Jim Wilson -Wed Oct 13 16:08:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cccp.c (is_system_include): Call skip_redundant_dir_prefix. - * config/m68k/sun3.h (CPP_PREDEFINES): Don't define _CROSS_TARGET_ARCH. +Tue Sep 12 18:58:21 1995 John Carr - * fold-const.c (invert_truthvalue): Handle SAVE_EXPR. + * sparc.md: Change `*return "string"' to "string" in patterns. - * Makefile.in (install-collect2): Depend on install-dir. - (install-info, install-float-h-cross): Likewise. +Tue Sep 12 18:48:47 1995 Craig Burley (burley@gnu.ai.mit.edu) -Wed Oct 13 15:51:02 1993 Stephen L. Moshier (moshier@world.std.com)\ + * function.c (put_var_into_stack): For CONCAT case, order of + placement depends on FRAME_GROWS_DOWNWARD, not STACK_GROWS_DOWNWARD. - * real.h (FLOAT_WORDS_BIG_ENDIAN): New macro. - (HOST_FLOAT_WORDS_BIG_ENDIAN): Likewise, for host. - (REAL_VALUE_TO_TARGET_DOUBLE (default version)): Use them. - (efixi, efixui): Return HOST_WIDE_INT. - (REAL_VALUE_FROM_INT): Cast inputs to HOST_WIDE_INT. - * real.c (FLOAT_WORDS_BIG_ENDIAN, HOST_FLOAT_WORDS_BIG_ENDIAN): - Use everywhere in place of WORDS_BIG_ENDIAN, HOST_WORDS_BIG_ENDIAN, - except in reference to endian-ness of integers. - (etrunci, etruncui, efixi, efixui, ereal_from_int, ereal_to_int, - ltoe, ultoe, eifrac, euifrac): Change `long' to `HOST_WIDE_INT'. +Tue Sep 12 18:34:10 1995 Doug Evans -Wed Oct 13 15:47:37 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * va-sparc.h (v9 varargs va_start): Handle __builtin_va_alist + being stack argument. - * c-parse.in (initdcl, notype_initdcl): Call decl_attributes - before init as well as after. + * sparc.h (STATIC_CHAIN_REGNUM): Use %g5 for sparc64. + (TRAMPOLINE_TEMPLATE): Rewrite for sparc64. + (TRAMPOLINE_SIZE): Is 40 for sparc64. + * sparc.c (sparc64_initialize_trampoline): Rewrite. - * config/ns32k/pc532.h (FRAME_POINTER_REQUIRED): - Require a frame pointer if fn calls setjmp. +Tue Sep 12 18:30:22 1995 Douglas Rupp (drupp@cs.washington.edu) -Wed Oct 13 15:27:01 1993 Jim Wilson (wilson@cygnus.com) + * cp/Make-lang.in (cc1plus) : Removed unnecessary $(exeext). - * jump.c (jump_optimize): When moving a range of instructions, - include all NOTEs before the range, not just line number notes. + * configure: Added code to handle gcc_extra_objs. + (alpha-winnt): Changed xmake_file to winnt/x-winnt. + Added extra_gcc_objs=spawnv.o; changed extra_programs to ld.exe. + (i386-winnt): Changed xmake_file to winnt/x-winnt. + Added extra_gcc_objs=spawnv.o; changed extra_programs to ld.exe. + * configure.bat: Changed to used common winnt/config-nt.bat. + * Makefile.in: Changed various .o's to .$(objext)'s + (specs): Removed unnecessary $(exeext). + (EXTRA_GCC_OBJS): New variable. + (clean): Removed $(LIB2FUNCS_EXTRA) + * objc/Makefile: Changed archive command for libobjc.a to use $? + for objects. -Wed Oct 13 11:01:51 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) + * alpha/x-winnt, i386/x-winnt: Deleted. + * alpha/config-nt.bat, i386/config-nt.bat: Deleted. + * alpha/config-nt.sed, i386/config-nt.sed: Moved architecture + independent commands to config/winnt/config-nt.sed. + * alpha/winnt.h: Added -D_M_ALPHA to CPP_PREDEFINES. + Changed LIB_SPEC to be compatible with Gnu ld for NT. + * i386/winnt.h: Added -D_cdecl=__attribute__((__cdecl__)). + Change LIB_SPEC to be compatible with Gnu ld for NT. + * winnt/config-nt.bat, winnt/config-nt.sed: New files. + * winnt/dirent.{c,h}, winnt/fixinc-nt.c, winnt/headers.mak: New files. + * winnt/ld.c: Changed precedence of libraries to look for + libfoo.lib before libfoo.a + Changed to work like Gnu ld for NT. + * winnt/libgcc.mak, winnt/mklibgcc.c: New files. + * winnt/spawnv.c: Changed spawn function entry points to __spawn* + instead of spawn*. + * winnt/x-winnt: New file. + * fixinc-nt.sed: New file. + * fixinc.winnt: Rewritten to use fixinc-nt.sed. - * patch-header.c: #include before . + * gcc.c: Remove fix_argv kludge. -Wed Oct 13 11:57:33 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Tue Sep 12 13:24:17 1995 Michael Meissner - * rs6000.md (seq): Fix typo: had "xubfic" instead of "subfic". + * rs6000.md (power subdi3 pattern): Fix pattern to have 5 + alternatives, and correct 4th alternative to match reality. - * va-m88k.h (_VA_LIST_): Define. + * rs6000.md (adddi3, subdi3, negdi2): Add constraints so output reg + does not overlap one reg with one of the inputs. - * alpha.c (ignore_line_number): No longer used. +Tue Sep 12 13:09:48 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * mips-tdump.c (print_global_hdr): Fix typo in cast in ctime call. + * m68k.c (output_scc_di): Fixed for non-SGS_CMP_ORDER syntax. - * cccp.c (main): Don't catch SIGPIPE if no such signal. + * collect2.c (scan_libraries): Cast lsyms' alloca to LDSYM*. - * x-alpha: File deleted, all shipped OSF systems have `ranlib'. +Tue Sep 12 13:04:12 1995 Niklas Hallqvist (niklas@appli.se) - * fold-const.c (optimize_bit_field_compare, decode_field_reference): - Don't do anything if get_inner_reference returned its argument. + * stmt.c (expand_start_stmt_expr): Do stack adjust in right place. - * bi-reverse.c: Avoid defining NULL; can cause duplicate definition - errors. + * stdarg.h (__gnuc_va_list): Make char * for NetBSD. -Wed Oct 13 07:58:28 1993 Michael Meissner (meissner@osf.org) +Tue Sep 12 12:44:46 1995 Jason Merrill - * i386/osfrose.h (ASM_OUTPUT_ADDR_DIFF_ELT): Define like in V.4. - (FUNCTION_PROFILER, FUNCTION_PROLOGUE): Don't load up %eax with - the pointer value before calling indirect, just call indirect the - memory address to save some cycles in profiling. + * ginclude/va-ppc.h (va_arg): Reorganize to avoid BIND_EXPRs of + aggregate or array type. -Tue Oct 12 12:41:12 1993 Jim Wilson (wilson@sphagnum.cygnus.com) +Tue Sep 12 12:42:27 1995 Ian Lance Taylor - * cse.c (record_jump_cond): At end, make missing equivalences - first, and then merge them. + * fixincludes: Fix HP/UX for g++ -pedantic-errors. -Tue Oct 12 21:30:29 1993 Doug Evans (dje@cygnus.com) + * fixincludes (curses.h): typedef bool need not take up entire line. - * va-h8300.h (__va_rounded_size): Fix typo in #ifdef. +Mon Sep 11 19:05:42 1995 Stan Cox (coxs@dg-rtp.dg.com) -Tue Oct 12 20:19:22 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-typeck.c (digest_init): Don't recursively call digest_init + when in traditional mode if the type is invalid. - * bc-emit.c: Include stdio.h last. - * combine.c: Include stdio.h after gvarargs.h. +Mon Sep 11 18:58:26 1995 Oliver Kellogg (Oliver.Kellogg@space.otn.dasa.de) -Tue Oct 12 13:28:18 1993 Per Bothner (bothner@kalessin.cygnus.com) + * 1750a.md: Added DLB/DSTB peepholes for HFmode. + Corrected mnemonics for HImode DSTB peephole. - * fixproto: Re-write. We now assume that there are two - source directories (source_dir_all and source_dir_std). These - are handled differently. All files in source_dir_all (normally - ./include) are processed, but in source_dir_std (normally - /usr/include) we only process the standard ANSI/Posix ones where - we might be able to add missing prototypes. - * scan-decls.c (scan_decls): Rewrote from being a program whose - output is piped to patch-header, to a subroutine called by - patch-header. This should be somewhat more efficient. - * Makefile.in (scan-decls): Removed rule to make program. - * patch-header.c (recognized_macro, recognized_extern, - recognized_function): New functins, with logic moved out from - read_scan_file, so they can be called by scan_decls. - * patch-header (main): Read the original header file into a - buffer (rather than reading it with stdio). This should be more - efficient, partly because we can re-write it in place. - (inf_skip_spaces, inf_read_upto, inf_scan_ident): New functions, - based on skip_spaces, read_upto, and scan_ident in scan.c, but - these read from the in-memory buffer mentioned above. - * scan-types.sh: Don't check for sigset_t, since it can be a - struct, whose name cannot be simplify replaced by its definition. - * Makefile.in (deduced.h): Don't pass -nostdinc. +Mon Sep 11 18:48:06 1995 Michael Meissner -Tue Oct 12 18:36:32 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + * config/fp-bit.c (FLO_union_type): Remove bitfields to set sign, + exponent, and mantissa, and add value_raw field, which is an + integer of the appropriate type. If _DEBUG_BITFLOAT is defined, + provide little and big endian bitfields. If the macro + FLOAT_BIT_ORDER_MISMATCH is defined, use explicit bitfields. + (pack_d, unpack_d): Switch to use value_raw and explicit shifts + and masks so that we don't have to worry about whether the target + is big or little endian unless FLOAT_BIT_ORDER_MISMATCH is + defined. If single precision floating point, rename to pack_f and + unpack_f, so there is no confusion in the debugger. + + * rs6000.h (rs6000_abi): New enumeration to describe which + ABI we're conforming to. + (rs6000_stack): Use abi enum, not AIX vs. V.4 boolean. + (ASM_OUTPUT_OPTIONS): New macro to print output options in .s file. + (ASM_FILE_START): Use it. + (output_options,rs6000_float_const): Declare new functions. - Changes to support native ecoff and embedded stabs debugging - for the Alpha. + * rs6000.c (output_option{,s}): New functions to write -f, -m, + and -W options to the asm file. + (rs6000_float_const): New function to generate floating point + constants portably used in signed,unsigned -> double conversions. + (rs6000_stack_info,debug_stack_info): Use ABI enumeration instead + of AIX vs. V.4 boolean. - * alpha.c (output_prolog): Put out file and line number if sdb - debugging format, put out .ent directive, signal start of function for - alpha_output_filename and set up debugging auto/arg offsets. - (output_epilog): Signal end of function for alpha_output_filename. - (alpha_output_filename, alpha_output_lineno): New functions. - * alpha.h (TARGET_SWITCHES): Add gas option. - (ASM_DECLARE_FUNCTION_NAME): Moved output of .ent directive to - output_prolog. - (DBX_NO_XREFS): Removed, gdb understands cross references and the - native debugger can't handle embedded stabs. - (ASM_FILE_START): Replace output of .file directive - by ASM_OUTPUT_SOURCE_FILENAME call. - (TARGET_GAS, MASK_GAS, SDB_DEBUGGING_INFO, DBX_DEBUGGING_INFO, - MIPS_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE, DEBUGGER_AUTO_OFFSET, - DEBUGGER_ARG_OFFSET, ASM_OUTPUT_SOURCE_LINE, - ASM_OUTPUT_SOURCE_FILENAME, DEFAULT_GDB_EXTENSIONS, ASM_STABS_OP, - ASM_STABN_OP, ASM_STABD_OP, SDB_ALLOW_FORWARD_REFERENCES, - SDB_ALLOW_UNKNOWN_REFERENCES, PUT_SDB_DEF, PUT_SDB_PLAIN_DEF, - PUT_SDB_TYPE, PUT_SDB_BLOCK_START, PUT_SDB_BLOCK_END, - PUT_SDB_FUNCTION_START, PUT_SDB_FUNCTION_END, PUT_SDB_EPILOGUE_END, - ASM_FINAL_SPEC, CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB, - MIPS_UNMARK_STAB, SHASH_SIZE, THASH_SIZE): New macros. - * alpha-gdb.h: New file. - * configure (alpha-*-osf*): Handle --with-stabs and --with-gnu-as. - * mips-tfile.c (add_local_symbol): Index in the external symbol - must point to local symbol table entry for procedures. + * rs6000.md (float{,uns}sidf2): Call rs6000_float_const to + portably build the proper floating point constant for conversions. + (movdi): Properly handle movdi of CONST_{INT,DOUBLE} on little + endian systems. -Mon Oct 11 16:14:53 1993 Ian Lance Taylor (ian@cygnus.com) + * rs6000/sysv4.h (LIBGCC2_WORDS_BIG_ENDIAN): Define to be 0/1 + depending on the target endianess. + (ASM_FILE_START): Define, to call output_options in addition to + output_file_directive. + (TRAMPOLINE_SIZE): Correct size to match code. - * fixincludes: If a file is referenced with double quotes from - a fixed file, make sure it is copied into the fixed include - directory. - Remove DPS/XDPSlib.h special-case code. + * rs6000/eabi{,le}sim.h (CPP_SPEC): Define the correct endian + macro for varargs/stdargs use. -Tue Oct 12 08:05:28 1993 David Edelsohn (edelsohn@npac.syr.edu) +Mon Sep 11 18:41:58 1995 Jim Wilson - * rs6000/powerpc.h: New file. - * configure (powerpc-ibm-aix*): New target. - * rs6000.h (MASK and TARGET): Add new flags for POWER2 and PowerPC - with square root. - (ASSEMBLER_DIALECT): New macro. - (CONDITIONAL_REGISTER_USAGE): Set MQ register fixed if not POWER. - (SHIFT_COUNT_TRUNCATED): Conditional on POWER. - (ASM_OUTPUT_REG_{PUSH,POP}): Mnemonics dependencies. - * rs6000.c (rs6000_override_options): Use new TARGET flags and - add some more cpu choices. - (output_prolog, output_epilog): Support new mnemonics and avoid - using lm/stm when not POWER. - * rs6000.md: Update define_function_units. - Put both old and new mnemonics in all templates. - Add target tests to pattern conditional field throughout. - (one_cmplsi2): Make POWER and PowerPC variants. - (mulsi3): Convert to define_expand which calls appropriate POWER - or PowerPC pattern. - (divsi3, udivsi3): Add patterns for PowerPC case. Update divsi3 - define_expand for PowerPC case. - (ashlsi3, lshrsi3, ashrsi3, extendqisi2, extendqihi2): Convert to - define_expand which calls appropriate POWER or PowerPC pattern. - (floating-point): Add PowerPC single-precision FP, and SF/DF sqrt - insns for 603, 604, 620. - (call insns): Use "nop" for magic TOC restore. - (move data, nop): Use PowerPC extended mnemonics. + * c-decl.c (redeclaration_error_message): For TYPE_DECLs, return 0 + if TYPE_MAIN_VARIANT of old type is same as new type. -Tue Oct 12 07:58:36 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Mon Sep 11 17:39:35 1995 Rob Ryan (robr@cmu.edu) - * alpha.h (SETUP_INCOMING_VARARGS): If not TARGET_FPREGS, - save another copy of the integer regs where the FP regs would - have gone. + * xcoffout.c (xcoff_inlining): New variable, used in place of + xcoff_current_include_file when determining whether to use + absolute line numbers. + (xcoffout_source_file): Switched to using xcoff_inlining to + determine when to emit .bi/.ei directives. - * tree.h (struct tree_type): symtab_address is now a union of - pointer and integer. - (TYPE_SYMTAB_ADDRESS): Refer to the integer. - (TYPE_SYMTAB_POINTER): New macro to refer to pointer. - * sdbout.c (KNOWN_TYPE_TAG, SET_KNOWN_TYPE_TAG): Refer to - TYPE_SYMTAB_POINTER and remove casts. - (tag_of_ru_type): Likewise. +Mon Sep 11 16:55:06 1995 Torbjorn Granlund - * reload1.c (reload): Fix typo in RELOAD_FOR_INSN case when - accounting for reloads. + * m68k.md (cmpdi): Change patterns to allocate scratch register at + RTL generation time. + (tstdi): Likewise. - * expr.c (convert_modes): Reset OLDMODE from X after we strip - a SUBREG due to a promoted variable. +Sun Sep 3 09:03:50 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * dbxout.c (dbxout_type, case INTEGER_TYPE): Output bounds in - octal if type wider than HOST_WIDE_INT. - (print_int_cst_octal): Trim bound by precision of its type. - Avoid warning on what may be shift into sign bit. + * fold-const.c (size_binop): Don't pass 1 to NOTRUNC. - * bi-reverse.c: Add missing #include for hconfig.h. +Thu Aug 31 19:27:00 1995 Roland McGrath - * fixincludes: Quote braces when looking for DONE files. + * libgcc2.c: Include longlong.h. + [L_udivdi3 || L_divdi3 || L_umoddi3 || L_moddi3] (__udivmoddi4): + Define this `static inline' when defining these, so they all + remain leaf functions. - * final.c (dialect_number): New variable. - (init_final): Initialize it. - (output_asm_insn, asm_fprintf): Support ASSEMBLER_DIALECT. +Thu Aug 31 18:38:21 1995 Paul Eggert -Tue Oct 12 01:34:16 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-parse.in (ends_in_label): New %union member. + (stmts, stmt_or_label): Use new member to avoid lexical lookahead hack. + (lineno_stmt_or_labels): New rule. + (lineno_stmt_or_label, stmt_or_label): Yield nonzero if it ends + in a label. - * c-typeck.c (digest_init): If traditional, allow unbraced scalar - to initialize the first element of an aggregate. +Thu Aug 31 08:31:40 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cccp.c (output_line_command): Output the `4' flag only if cplusplus. - (do_line): Handle the `4' flag. + * cse.c (canon_hash, CONST_DOUBLE): Hash integer and real + differently. + * varasm.c (struct rtx_const): Add new field DI to union. + (decode_rtx_const, case CONST_DOUBLE): Use to hash CONST_DOUBLE + representing an integer. - * final.c (final_scan_insn): Call walk_alter_subreg for operands - that are PLUS or MULT, before constrain_operands. + * va-alpha.h (__gnuc_va_list): Make __offset an int. + * alpha.c (alpha_builtin_saveregs): Properly compute address + of __offset both both OSF and WINNT. -Mon Oct 11 15:18:45 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * xm-alpha.h (sbrk): Don't define here. + * gmon.c (sbrk): Define here for __alpha. + * toplev.c (sbrk): Likewise. + * mips-tfile.c (malloc, calloc, realloc): Don't define for anybody. - * real.c (debug_real): New function. + * reload.c (push_reload): Add case for output reload of a SUBREG + of a hard reg when output mode is invalid for that mode. + In both that case and existing case for in, don't remove SUBREG. + * reload1.c (emit_reload_insn): Emit RELOAD_OTHER output reloads last. - * regclass.c (reg_scan_mark_refs): XEXP (x, 0) in EXPR_LIST may be 0. +Tue Aug 29 19:16:06 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * config/m68k/m68k.md (cmphi): Turn on constraints to support cmpm.w. + * c-common.c (decl_attribute, case A_PACKED): Check is_type first. + (decl_attribute, case A_T_UNION): Likewise. + Don't access TYPE_FIELDS if DECL is zero. + * c-decl.c (finish_struct): If transparent_union attribute + specified, validate it once we finish laying the union out. -Mon Oct 11 13:20:54 1993 Jim Wilson (wilson@sphagnum.cygnus.com) +Mon Aug 28 05:58:03 1995 Paul Eggert - * unroll.c (unroll_loop): Set map->const_equiv_map_size to - new_maxregnum. - (copy_loop_body): When set const_age_map entry for split dest reg, - verify that it is within the bounds of the map. - (find_splittable_regs): Count number of biv sets, not number of - bivs. Don't pass result to find_splittable_givs. - (find_splittable_givs): Delete parameter result. Add local - variable result. + * arm.c (arm_gen_movstrqi): Remove unused variable const_sxteen. -Mon Oct 11 07:43:31 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * bi-lexer.c (buffer, inpoint): Remove unused variables. - * expr.c (expand_assignment): When assigning an INDIRECT_REF to - a RESULT_DECL, the size and source rtx were swapped. + * i370/mvs.h, i370/mvs370.c (mvs_label_emitted): Renamed + from mvs_label_emited. - * function.c (trampoline_address): Don't allocate anything - from parent function's current obstack. + * msdos/configur.bat: Fix misspelling of `maintainer-clean'. - * regclass.c (reg_scan): Don't call reg_scan_mark_refs on notes - if there aren't any. - (reg_scan_mark_refs, case INSN_LIST, EXPR_LIST): New cases. +Sat Aug 26 06:57:17 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cse.c (simplify_binary_operation): Test value of - SHIFT_COUNT_TRUNCATED if it is defined. - * combine.c (subst, shift and rotate cases): Likewise. - * a29k.h, alpha.h, fx80.h, i960.h, mips.h, pa.h, pyr.h, rs6000.h: - Define SHIFT_COUNT_TRUNCATED to have a value of 1. - * sparc.h, tahoe.h, we32k.h: Likewise. + * reload.c (push_secondary_reload): If X is a paradoxical SUBREG, + get mode and thing to reload from inside. + * reload1.c (emit_reload_insns): Do nothing for SUBREG whose + operand is unused subsequently. + In secondary reload case, if paradoxical SUBREG for output, reload + thing inside SUBREG, just like gen_reload. -Mon Oct 11 02:40:22 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Aug 25 19:26:53 1995 Paul Eggert - * regclass.c (regno_last_note_uid): New vector. - (reg_scan): Initialize regno_last_note_uid. - Call reg_scan_mark_refs for the notes. Pass its new arg. - (reg_scan_mark_refs): New arg NOTE_FLAG. Pass it recursively. - Set regno_last_note_uid. - * regs.h (regno_last_note_uid): Declared. - * jump.c (jump_optimize): Use regno_last_note_uid when deciding - whether a register is set and never used. + * c-typeck.c (set_init_label): Don't die if an entire + brace-pair level is superfluous in the containing level. -Sun Oct 10 22:51:01 1993 Stephen Moshier (moshier@world.std.com) +Fri Aug 25 19:22:46 1995 Michael Meissner - * real.c (asctoeg): Fix backward condition in last change. + * configure (powerpc{,le}-eabisim): Add support for a new target + that works under the PSIM simulator. + * rs6000/eabisim.h, rs6000/eabilesim.h, rs6000/t-eabisim: New files. -Sun Oct 10 22:33:17 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * rs6000/eabi.h (STRICT_ALIGNMENT): If little endian, always set + strict alignment to 1. - * configure (hppa1.0-*-mach*): Use collect2. - (hppa1.1-*-mach*): Likewise. +Fri Aug 25 19:22:23 1995 David Edelsohn - * pa.c (legitimize_pic_address): Delete unused variables. - (output_block_move, output_ior): Likewise. - (hppa_builtin_saveregs): Likewise. - (emit_move_sequence): Add parens as suggested by -Wall. - (compute_frame_size): Likewise. - (output_ascii): Return type is "void". - (hppa_expand_prologue, import_milli): Likewise. + * rs6000.md ({add,sub,mulsi}di3): Support both endian possibilities. + (negdi2): Likewise. - * pa.c (output_function_prologue): Pass the highest register - number saved for ENTRY_GR and ENTRY_FR directives rather - than the number of registers saved. - (hppa_expand_prologue): Account for %r4 when it's being - used as a frame pointer. +Fri Aug 25 19:10:41 1995 Oliver Kellogg (Oliver.Kellogg@space.otn.dasa.de) -Sun Oct 10 18:42:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 1750a.md: Added peephole definitions for Load/Store Base insns + and eliminating redundant load in an equivalent store/load sequence. - * c-typeck.c (start_init): Don't set require_constant_elements - for scalar types. +Fri Aug 25 18:33:27 1995 Craig Burley (burley@gnu.ai.mit.edu) - * c-parse.in (stmt): Don't call default_conversion on top-level - expressions. + * toplev.c (report_error_function): Don't attempt to use input + file stack to identify nesting of #include's if file name oflocation + diagnosed is not same as input_filename. - * c-typeck.c (convert_for_assignment): Allow silent conversion to - a pointer from an integer 0 that resulted from arithmetic. +Fri Aug 25 07:31:47 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * varasm.c, c-pragma.c (enum pragma_state): Defined. + * integrate.c (output_inline_function): Switch to function obstack. - * config/i386/i386.c (restore_386_machine_status) - (save_386_machine_status): New functions. - (clear_386_stack_locals): Store those functions in - save_machine_status, restore_machine_status. - (struct machine_function): New structure definition. +Mon Aug 21 13:29:54 1995 J"orn Rennecke (amylaar@meolyon.hanse.de) - * function.h (struct function): New field `machine'. - * function.c (save_machine_status, restore_machine_status): New vars. - (push_function_context, pop_function_context): Use them. + * i386.c (arithmetic_comparison_operator): New function. + (print_operand): Take into account that overflow flag is not + set the same as after a compare instruction. + * i386.md (decrement_and_branch_until_zero): Use + arithmetic_comparison_operator to decide if there is comparison + suitable to be expressed by condition code from an arithmetic op. - * explow.c (emit_stack_save): Cast enum array index to int. +Mon Aug 21 13:26:13 1995 Philippe De Muyter (phdm@info.ucl.ac.be) -Sun Oct 10 12:49:39 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) + * m68k.md (adddi3, subdi3): "&" added to clobber's constraints. - * arm.c (const_ok_for_arm): Cast constants to unsigned HOST_WIDE_INT. - (output_prologue): Sanity check the finite state machine. - (output_epilogue): Delete unused variable. - (final_prescan_insn): Always clear arm_target_insn when FSM goes to - state 0. - * arm.h (OPTIMIZATION_OPTIONS): Don't set flag_omit_frame_pointer, - since this inhibits debugging. - (ASM_OUTPUT_INTERNAL_LABEL): Always clear arm_target_insn when FSM - goes to state 0. +Mon Aug 21 12:11:14 1995 Jim Wilson -Sun Oct 10 08:56:58 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * t-sparclite (MULTILIB_*, LIBGCC, INSTALL_LIBGCC): Define. - * alpha.h (ALPHA_COSTS): Add missing arg to call to rtx_cost. + * sh.md (movdi-1, movdf-1): Make conditional on reload_completed, + delete conditions checking for pseudo registers and Q addresses. + Add code to handle SUBREG. - * combine.c (force_to_mode, case ASHIFTRT): Verify that result of - making a LSHIFTRT remains a shift. + * local-alloc.c (wipe_dead_reg): Make a register mentioned in a + REG_INC note die after the instruction. - * tree.c (save_tree_status): Function_maybepermanent_obstack is the - function_obstack of parent function. - (restore_tree_status): Only free objects later than - maybepermanent_firstobj in function_maybepermanent_obstack. - (make_node): Fix logic error in PARM_DECL code. - Put PARM_DECL in parent function's saveable obstack. - * function.c (put_reg_into_stack): Allocate fixup structure in - saveable obstack. + * m68k.md: For all dbra pattern, change constraint from 'g' to 'd*g'. - * expr.c (expand_assignment): Don't short circuit store_expr - when TO is a VAR_DECL since it needs special handling if promoted. + * Makefile.in: (underscore.c): Rename rule to stamp-under, and + touch stamp-under at the end. Add new rule for underscore.c that + depends on stamp-under. - * combine.c (subst, case SUREG): Only call force_to_mode if both - inner and outer modes are MODE_INT. + * sh.c (reg_unused_after): For a SEQUENCE, make sure all insns are + safe before returning 1. - * mips-tfile.c (WORD_ALIGN): Fix typo in last change. + * sh.h (PROMOTE_FUNCTION_ARGS, PROMOTE_FUNCTION_RETURN): Define. - * c-common.c (check_format_info): Support X/Open formats like "%1$d". + * sh.c (output_stack_adjust): Add new argument reg. Use it instead + of stack_pointer_rtx. + (sh_expand_prologue, sh_expand_epilogue): Pass new argument to + output_stack_adjust. -Sat Oct 9 22:29:17 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) +Sat Aug 19 17:34:15 1995 Jim Wilson - * configure: If no target is specified, try getting one - with config.guess. - * config.guess: New file. + * sparc/gmon-sol2.c (_mcount): Define. + * sparc/sol2.h (STARTFILE_SPEC, ENDFILE_SPEC): Delete superfluous + -pg tests. + (LINK_SPEC): Add libp directories to -Y when -pg. -Sat Oct 9 19:50:24 1993 Pat Rankin (rankin@eql.caltech.edu) + * unroll.c (calculate_giv_inc): Handle increment computed by ASHIFT. - * c-common.c (check_format_info): Avoid ?: conditional for function - to be called. +Sat Aug 19 17:28:56 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * config/vax/xm-vms.h [VAXC] (bc_check_for_full_enumeration_handling) - (current_function_has_nonlocal_goto) - (output_deferred_addressed_constants): New macros to shorten - external names exceeding 31 characters. + * m68k.md (subdi3): Should not be commutative. + (one_cmpldi2): Fixed typo with register operand. - * make-cc1.com: Move alloca handling before bytecode construction - so that VAX C won't need two different values for LIBS. Eliminate a - comment about make-like functionality that referred to a capability - which has not been implemented. +Sat Aug 19 17:20:43 1995 Michael Meissner -Sat Oct 9 21:53:53 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + * rs6000.c (output_prolog): Fixup code to set stack pointer + if stack size > 32k. + * rs6000.md (sync_isync): Renamed from sync; added an isync insn + after the sync to properly deal with PowerPC's with split I/D caches. + * sysv4.h (INITIALIZE_TRAMPOLINE): Sync function now named sync_isync. - * fixincludes: Unquote a quoted `t' in a #define _IO line, for AIX - 3.2 sys/stropts.h #define _IO(t,v). - (sys/spinlock.h): Don't copy it if it doesn't exist. - (DPS/XDPSlib.h): Change "XDPS.h" to , for AIX. +Sat Aug 19 17:07:09 1995 Doug Evans -Sat Oct 9 15:00:00 1993 DJ Delorie (dj@ctron.com) + * h8300.h (STATIC_CHAIN_REGNUM): Use r3. + (REGISTER_NAMES): Print r7 as sp. + (ADDITIONAL_REGISTER_NAMES): Recognize r7. + (ASM_OUTPUT_ALIGN): Alignment is power of 2. + * h8300.md (fancy_btst,fancy_btst1): Branch target must be + operand 0 for length attribute to work. - * configure.bat: Change $(srcdir)/ to $(srcdir)\ in commands. +Sat Aug 19 16:43:11 1995 Paul Franklin -Sat Oct 9 15:17:22 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * assert.h: Declare __eprintf with attribute noreturn. - * expr.c (expand_expr, case ABS_EXPR): Don't copy twice into - volatile MEM. +Sat Aug 19 16:40:12 1995 Jason Merrill - * expr.c (expand_expr): Never reset ORIGINAL_TARGET. - Pass ORIGINAL_TARGET to lang_expand_expr, not TARGET. + * stddef.h: Don't define wchar_t if __cplusplus is defined. -Sat Oct 9 13:27:10 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Aug 15 18:01:01 1995 Paul Eggert - * tree.c (pop_momentary_nofree): New function. - * c-parse.in (initdcl, notype_initdcl, init): Undo previous change. - (init): Use pop_momentary_nofree if the initializer has real data. + * cccp.c (warning_with_line): Fix typo in declaration when + !HAVE_VPRINTF and defined (__STDC__). -Sat Oct 9 12:55:26 1993 Stephen Moshier (moshier@world.std.com) +Tue Aug 15 17:57:54 1995 Stephen L Moshier - * real.c (asctoeg): Allocate local buffer dynamically. Count - any lost significant digits before the decimal point. + * real.c (ediv, emul): Set sign bit of IEEE -0.0 result. -Fri Oct 8 16:33:42 1993 Mike Stump (mrs@rtl.cygnus.com) +Tue Aug 15 17:49:47 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-tree.h (OFFSET_REF): Override OFFSET_REFs from the back-end, as - we need to do something more complex with them. - * cp-tree.def (CP_OFFSET_REF): Very similar to OFFSET_REFs, but - allow the front-end to handle them. + * expr.c (safe_from_p): Only safe if EXP is variable-size and X + is BLKmode. -Fri Oct 8 14:40:29 1993 Jason Merrill (jason@deneb.cygnus.com) + * stmt.c (fixup_gotos): When some fixups done, reset to point + to next instead of zeroing TREE_VALUE, which may be shared. - * cp-error.c (dump_expr, REAL_CST): Support printing of real values - when REAL_IS_NOT_DOUBLE (prints out rep in hex). +Mon Aug 14 09:15:45 1995 Doug Evans -Fri Oct 8 13:54:03 1993 Mike Stump (mrs@cygnus.com) + * m68k/m68kemb.h (STARTFILE_SPEC): Define as empty. - * cp-type2.c (store_init_value): Move pointer to member function - initilization code to... - * cp-type2.c (digest_init): here. Allows nested pointer to member - functions to work. - * cp-decl.c (build_ptrmemfunc_type): Use a real union instead of a - magic union, as the initialization code doesn't like them. - * cp-tree.h (TYPE_PTRMEMFUNC_FN_TYPE): Changed to go though the - union. - * cp-tree.h (DELTA2_FROM_PTRMEMFUNC, PFN_FROM_PTRMEMFUNC): Accessor - macros to go thought union. Allows us to change pointer to member - functions a little easier. - * cp-typeck.c (get_member_function_from_ptrfunc, - build_binary_op_nodefault): Changed to use new accessor macros. - * cp-typeck.c (build_ptrmemfunc): Use new union instead. Also, make - sure TREE_CONSTANT is set for CONSTANT things. - * cp-decl.c (pfn_or_delta2_identifier): Added to cache - get_identifier calls. - * cp-tree.h (pfn_or_delta2_identifier): Declare it. - * cp-decl.c (init_decl_processing): Setup pfn_or_delta2_identifier. +Mon Aug 14 09:08:57 1995 Pat Rankin -Fri Oct 8 19:03:09 1993 Jim Wilson (wilson@sphagnum.cygnus.com) + * vax.c (vms_check_external): Update `pending_head' properly + when the first list element is removed. - * xcoffout.h (DBX_STATIC_BLOCK_START): For N_LCSYM, force change - to text section to avoid assembler bug. +Mon Aug 14 09:01:32 1995 Jeffrey A. Law - * mips.md (movsi_unaligned): Change in comment "loads" to "stores". + * pa.md (call expanders): Emit a blockage insn after restoring + %r19 when generating PIC. - * calls.c (emit_library_call_value): Compute struct_value_size, - and pass it to emit_call_1. +Sun Aug 13 21:58:49 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Fri Oct 8 16:13:17 1993 H.J. Lu (hlu@nynexst.com) + * toplev.c (main): Change text of unsupported -g option warning. - * config/i386/linux.h (STARTFILE_SPEC): Handle -p and -pg - outermost. Also add support for cross-linking. +Sun Aug 13 21:47:57 1995 Andrew McCallum -Fri Oct 8 15:20:58 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * objc/selector.c (sel_get_any_typed_uid): New function. + * objc/objc-api.h (sel_get_any_typed_uid): Declare new function. - * Makefile.in (cp-error.o, cp-errfn.o): Add dependency rules. +Sun Aug 13 21:43:17 1995 John Carr -Fri Oct 8 08:00:51 1993 Eric Youngdale (eric@kafka) + * c-typeck.c (c_expand_asm_operands): Check for read-only output + operand where the variable is read-only but the type is not. - * linux.h: Only include i386/gstabs.h if LINUX_ELF is not defined. +Sun Aug 13 21:16:12 1995 David Edelsohn - * linuxelf.h: Copy a lot of stuff from the SVr4 configuration: - include "i386/i386.h", "i386/att.h" and "svr4.h". - (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Undefine. - (ASM_FILE_START, RETURN_IN_MEMORY, ASM_OUTPUT_ADDR_DIFF_ELT) - (JUMP_TABLES_IN_TEXT_SECTION, DBX_REGISTER_NUMBER): Copy from sysv4.h. - (TARGET_VERSION): Define to print "i386 Linux/ELF". - (LINUX_ELF): Define, before we include "i386/linux.h" - (YES_UNDERSCORE): Undefine. + * rs6000.c (direct_return): Epilogue required if CR saved. -Fri Oct 8 13:40:44 1993 Michael Meissner (meissner@osf.org) +Sun Aug 13 19:09:25 1995 Jeff Law (law@snake.cs.utah.edu) - * i386/osfrose.h, i386/osfelf.h (CPP_SPEC): If buliding for shared - libraries, define __SHARED__. + * configure (hppa1.?-hp-hpux10): Recognize and treat just like hpux9. - * i386/osfrose.h (FUNCTION_PROFILER): If half-pic, call mcount in a - half-pic fashion. - (FUNCTION_PROLOGUE): If half-pic call through _mcount_ptr in a - half-pic fashion. +Sun Aug 13 19:07:23 1995 Doug Evans - * halfpic.c (half_pic_external): New function to declare a halfpic - identifier as always external. + * i960.md (movdi matchers): Fix src/dest order in unaligned + reg->reg case. - * halfpic.h (half_pic_external): declare function. - (HALF_PIC_EXTERNAL): Declare accessor macro. +Sun Aug 13 18:49:01 1995 DJ Delorie -Fri Oct 8 15:03:56 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * i386/xm-dos.h (HAVE_STRERROR): New definition. - Cygnus<->FSF C++ front-end merge. - Thu Oct 7 11:45:32 1993 Jason Merrill (jason@deneb.cygnus.com) + * msdos/configur.bat: Add missing carriage return. - * Makefile.in (CPLUS_OBJS): Change error.o to cp-errfn.o +Sun Aug 13 18:40:55 1995 Andrew Cagney - * cp-*.c, cp-parse.y: Rename lang_error and its kin to cp_error - and the like to accomodate rms's belief structure. + * Makefile.in (USER_H): Add va-ppc.h. - * error.c: Moved to cp-errfn.c to accomodate rms's belief structure +Sun Aug 13 18:36:17 1995 M. Warner Losh - Wed Oct 6 15:05:49 1993 Jason Merrill (jason@deneb.cygnus.com) + * stmt.c (expand_asm_operands): Type '0'..'4' operands may + allow regs, so move them to the default case. - * cp-pt.c (mangle_class_name_for_template): Always use type_as_string - for printing out type parameters. Nuke id and type variables. +Sun Aug 13 18:32:35 1995 Paul Eggert - * cp-error.c (dump_expr, INTEGER_CST): Support printing of character - literals and large integers - (dump_char): New function - (dump_type): Deal with ** and *& more prettily + * cccp.c (warning_with_line): New function. + (trigraph_pcp): Use it, to avoid reporting line number. + (vwarning_with_line): Don't report line number if zero. - * cp-pt.c (mangle_class_name_for_template): Strip out code for - printing template parameters, replace with call to expr_as_string. +Sun Aug 13 18:23:08 1995 Jason Merrill - * cp-method.c (build_overload_value): descend through - TREE_OPERAND on NOP_EXPRs as well as NON_LVALUE_EXPRs. + * toplev.c (vmessage): Support four arguments. - * cp-decl.c (poplevel_class): Add assertion that - class_binding_level is not NULL. +Sun Aug 13 18:19:51 1995 Michael Meissner - Tue Oct 5 11:11:25 1993 Jason Merrill (jason@deneb.cygnus.com) + * ginclude/stdarg.h: Add ppc svr4 calling sequence support. + * ginclude/varargs.h: Likewise. + * ginclude/va-ppc.h: New file. - Patches to support proper handling of system includes without munging: +Sun Aug 13 18:05:20 1995 Michael Gschwind - * cp-lex.h: Declare in_c_header, a flag meaning 'implicitly wrap this - file in extern "C" { }'. + * configure (pdp-*-*): Add support for t-pdp11. + * t-pdp11: New file. + * Makefile.in (LIBGCC2_CFLAGS): Add TARGET_LIBGCC2_CFLAGS. - * cp-lex.c: Define in_c_header. - (check_newline): If in_c_header when changing files, - pop_lang_context(). - (check_newline): If "4" seen on #line line, push_lang_context(C). +Sun Aug 13 14:50:58 1995 Jim Wilson - * cccp.c: Add a new field c_system_include_path to struct - file_name_list which indicates that the directory contains C-language - system includes. - (*various*): Set this flag correctly - (is_system_include): Return 2 if C-language system include. - (output_line_command): Output " 4" after " 3" for C-language system - include. + * final.c (final_start_function): Always call sdbout_begin_function + and xcoffout_begin_function, even if no line number info. - * cp-tree.h (SET_CLASSTYPE_INTERFACE_UNKNOWN_X): Coerce X to boolean - value + * mips/abi64.h (SETUP_INCOMING_VARARGS): In if statement, only + subtract one for stdarg. Don't subtract PRETEND_SIZE from + argument pointer when calculating stack address. + * mips.h (INITIAL_ELIMINATION_OFFSET): For 64 bit ABI, subtract + current_function_pretend_args_size when converting from argument + pointer. + * va-mips.h (va_start): For stdarg, delete separate define for + 64 bit ABI. For varargs, don't subtract 64, and only add -8 when + all argument registers are used. - Mon Oct 4 17:03:48 1993 Jason Merrill (jason@deneb.cygnus.com) + * gcc.c (main): When concat gcc_exec_prefix and + standard_startfile_prefix, put machine_suffix in the middle. - * cp-tree.h: Add declaration for flag_external_templates + * iris6.h (INIT_SECTION_ASM_OP): Don't define. + (LD_INIT_SWITCH, LD_FINI_SWITCH, HAS_INIT_SECTION): Don't undef. + (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Ifdef out. + * configure (mips-sgi-irix6, mips-sgi-irix5cross64): Define + use_collect2 to yes. - * cp-decl.c (start_decl): Don't declare flag_external_templates + * combine.c (move_deaths): When have a multi-reg hard register, + if don't find a note, then recur for each individual hard register. - * cp-pt.c: Ditto + * cse.c (set_nonvarying_address_components): Handle addresses + which are the sum of two constant pseudo regs. + (cse_rtx_addr_varies_p): Likewise. - * cp-parse.y (template_instantiate_once): Ditto + * Makefile.in (gfloat.h): Add a - before the rm command. - * cp-lex.c (reinit_parse_for_method): Ditto - (cons_up_default_function): Ditto - (extract_interface_info): Don't set interface_unknown - if (processing_template_defn && !flag_external_templates) + * loop.c (find_and_verify_loops): Set dest_loop only if + JUMP_LABEL (insn) is non-zero. - * cp-error.c (dump_type): Deal properly with pointers to member - functions. +Mon Jul 31 14:31:53 1995 Ian Lance Taylor - * cp-pt.c (instantiate_class_template): If !flag_external_templates, - increment interface_unknown so that nested classes will be dealt with - properly. - (end_template_instantiation): If !flag_external_templates, - decrement interface_unknown. + * fixincludes: Avoid clobbering VxWorks drv/netif/if_med.h file. - * cp-lex.c (cons_up_default_function): Remove redundant check - for processing_template_defn && !flag_external_templates - (reinit_parse_for_method): Ditto +Sat Jul 29 16:21:42 1995 Jason Merrill - * cp-parse.y (template_instantiate_once): Don't mess with - interface_unknown + * collect2.c: (XCOFF_SCAN_LIBS): Define if OBJECT_FORMAT_COFF and + XCOFF_DEBUGGING_FORMAT. + (SCAN_LIBRARIES): Also define if XCOFF_SCAN_LIBS. - Mon Oct 4 15:47:34 1993 Mike Stump (mrs@cygnus.com) +Sat Jul 29 16:19:42 1995 Stuart D. Gathman - * cp-decl.c (duplicate_decls): Move setting of TREE_CHAIN after - all possible return 0;s as we only want to do this when we know - that we are dealing with a duplicate. + * collect2.c (scan_libraries): Implement for AIX. - * cp-decl.c (start_function): Remove my_friendly_abort 19. Allows - one to declare a built-in as extern inline. +Sat Jul 29 09:59:33 1995 Michael Gschwind - Mon Oct 4 12:47:33 1993 John F Carr (jfc@mit.edu) + * configure: (pdp11-*-bsd) New target. + * 2bsd.h: New file. - * cp-lex.c (consume_string): Change variable `c' to int so return - value of getch can be assigned to it safely. Compare return value - of getch to EOF, not -1. + * pdp11.c (output_move_double): Handle CONST_INT parameters properly. + * pdp11.h (RTX_COSTS): Fill in missing default values. + * pdp11.md (truncdfsf2, extendsfdf2, floatsidf2, fix_truncdfsi2): + Allow register parameters, required by gcc to generate correct code. + * xm-pdp11.h: Include tm.h. - Mon Oct 4 11:42:46 1993 Jason Merrill (jason@deneb.cygnus.com) +Sat Jul 29 09:55:17 1995 Andreas Schwab - * toplev.c (error and its kin): Use #defines for the argument - lists for ease of adding arguments, and of moving to vfprintf when - dje adds it. + * configure (m68k-*-linux*aout*, m68k-*-linux*): New targets. + * m68k/linux-aout.h, m68k/linux.h, m68k/t-linux, m68k/xm-linux.h: New. + * m68k.md [USE_GAS]: Output `jbsr' instead of `jsr' for normal + function calls and `bsr.l' instead of `bsr' for pic function calls. - * error.c (lang_thing and its children): Do the same thing. +Sat Jul 29 09:44:13 1995 Jim Wilson - * cp-typeck.c (build_binary_op): Do away with the kludge, now that - error accepts more arguments. + * sh.h (CAN_DEBUG_WITHOUT_FP): Comment out. - Sun Oct 3 16:34:39 1993 Jason Merrill (jason@deneb.cygnus.com) + * reload.c (find_reloads_address_1, case PLUS): When handle SUBREG, + add SUBREG_WORD offset to SUBREG_REG register number. + (find_reloads_address_1, case SUBREG): If a pseudo register inside + a SUBREG is larger than the class, then reload the entire SUBREG. + * sh.h (SUBREG_OK_FOR_INDEX_P): New macro. + (INDEX_REGISTER_RTX_P): Use it. - * cp-error.c: Remove all traces of in_parmlist +Sat Jul 29 09:33:19 1995 Doug Evans - Sun Oct 3 13:54:57 1993 Mike Stump (mrs@cygnus.com) + * mips/netbsd.h (CPP_SPEC): Fix typo. - * cp-call.c (convert_harshness_ansi, convert_harshness_old): Handle - pointer to function members properly. + * configure (a29k-*-vxworks*): Define extra_parts for crt{begin,end}.o. + * t-a29k, t-a29kbase, t-vx29k ({,CROSS_}LIBGCC1): Define as empty. - Fri Oct 1 16:42:30 1993 Mike Stump (mrs@cygnus.com) +Sat Jul 29 09:15:17 1995 Jeffrey A. Law - * cp-error.c (dump_function_decl, dump_function_name): Make static - to match prototype. + * pa/lib2funcs.asm (gcc_plt_call): Rewrite to avoid the need + for being called by _sr4export. Inline expand $$dyncall to + avoid the need for long-call and PIC support. - Fri Oct 1 15:23:31 1993 Mike Stump (mrs@cygnus.com) +Sat Jul 29 07:30:04 1995 Oliver Kellogg (Oliver.Kellogg@space.otn.dasa.de) - * cp-typeck.c (build_ptrmemfunc): Move some code into the virtual - conditional part. Fixes problem with core core dumping when the - class that we want to build a pointer to member function for doesn't - have any virtual functions. + * ms1750.inc (ucim.m, ucr.m, uc.m): New. + * 1750a.md (cmpqi): Account for unsigned comparisons. + (rotrqi3, rotrhi3): Reworked. + * 1750a.c (notice_update_cc): INCM and DECM set condition codes. + (unsigned_comparison_operator, next_cc_user_is_unsigned): New fcns. + * 1750a.h (FUNCTION_EPILOGUE): Local variables freed from SP, not FP. + (ASM_OUTPUT_BYTE): Make distinct from ASM_OUTPUT_CHAR. + (ASM_OUTPUT_CONSTRUCTOR): Add FILE arg to assemble_name. - Thu Sep 30 18:15:29 1993 Jason Merrill (jason@deneb.cygnus.com) +Fri Jul 28 09:40:07 1995 Jeffrey A. Law - * cp-parse.y (id_scope): Print the name of the invalid scope. - (unary_expr): Add .scope new typespec '(' typespec ')' expansion - which just gives an error. + * pa.h (DO_GLOBAL_DTORS_BODY): Use an asm statement to keep optimizer + from deleting an assignment it believes dead. - * cp-typeck.c (build_binary_op): Print more helpful message for - a missing member operator (print the desired type involved). - Very kludgey due to error()'s two-arg limit. +Fri Jul 28 08:47:51 1995 Jim Wilson - * error.c (lang_thing): Abort if more than NARGS (currently 2) are - passed, since this is likely to cause a seg fault elsewhere anyway. + * unroll.c (unroll_loop): When preconditioning, output code to + execute loop once if initial value is greater than or equal to final + value. - Thu Sep 30 14:19:28 1993 Jason Merrill (jason@deneb.cygnus.com) + * configure (lang_specs_files, lang_options_files): Add $srcdir to + file names when adding them to these variables. - * g++int.texi: Add error reporting section, make `makeinfo'able + * c-typeck.c (pointer_int_sum): Don't distribute if intop is unsigned + and not the same size as ptrop. - * cp-type2.c (my_friendly_abort): Deal with recursive calls + * function.c (assign_stack_temp): When split a slot, set base_offset + and full_size in the newly created slot. + (combine_temp_slots): Update full_size when slots are combined. - Thu Sep 30 12:24:33 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * sh.c (reg_unused_after): New function. + * sh.md (define_peephole): Add peepholes to use r0+rN addressing mode + for some address reloads. - * cp-decl2.c (grok_array_decl): Don't pedwarn on reversing the array - and its index in `a[b]'. + * final.c (final_start_function): If SDB_DEBUG, call + sdbout_begin_function. If XCOFF_DEBUG, call xcoffout_begin_function + instead of xcoffout_output_first_source_line. + (final_scan_insn): Don't call sdbout_begin_function or + xcoffout_begin_function. + * xcoffout.c (xcoffout_output_first_source_line): Delete. + (xcoffout_begin_function): Call dbxout_parms and + ASM_OUTPUT_SOURCE_LINE. - * cp-typeck.c (build_conditional_expr): Make pointer type mismatch - in a conditional expression get a pedwarn. - (build_binary_op_nodefault): Make comparison between different - pointer types lacking a cast get a pedwarn. - (build_modify_expr): Don't strip the NOP_EXPRs, since we're using - the rhs in a non-lvalue context. - (convert_for_assignment): Allow conversion of 0 to a pointer, but - not a 0 that results from casting or folding. + * va-mips.h: Change every occurance of #if __mips>=3 to + #ifdef __mips64. + * mips/abi64.h (CPP_SPEC): Output -D__mips64 when -mips3, or -mips4, + or -mgp64. Output -U__mips64 when -mgp32. + * mips/dec-bsd.h, mips/elf64.h, mips/iris3.h: Likewise. + * mips/iris5.h, mips/mips.h, mips/netbsd.h, mips/osfrose.h: Likewise. - Thu Sep 30 11:24:59 1993 Jason Merrill (jason@deneb.cygnus.com) + * i960.c (i960_function_epilogue): Don't clear g14 for functions with + an argument block. + (i960_output_reg_insn): Likewise. + (i960_output_call_insn): Clear g14 for functions wtih an argument + block. - * cp-typeck.c (build_modify_expr): For memberwise assignment, - put nop_expr (reference_type (lhstype)) at the end of of the list so - that the expression has the correct type. +Fri Jul 28 08:43:52 1995 Doug Evans - * error.c (lang_thing): Don't rely on STDC array initialization + * i960.c (i960_arg_size_and_align): Correct alignment of XFmode + values in library calls. + * i960.md (movdi matchers): Support odd numbered regs. - Tue Sep 28 18:20:05 1993 Mike Stump (mrs@cygnus.com) +Fri Jul 28 08:37:25 1995 Michael Gschwind - * cp-init.c (build_virtual_init): Use get_binfo and - convert_pointer_to_real, to find the right basetype to convert to, - instead of trying to use convert_pointer_to, as convert_pointer_to - doesn't handle complex MI situations. Cures a bogus "cannot - convert a pointer of type `B' to a pointer of type `A'" when the - compiler is initializing virtual table pointers. + * pdp11.md (divhi3, modhi3, divmodhi4): Rewrite. + +Wed Jul 26 10:15:52 1995 Hallvard B Furuseth (h.b.furuseth@usit.uio.no) - Mon Sep 27 14:54:42 1993 Mike Stump (mrs@cygnus.com) + * collect2.c (end_file): Fix typo in error message text. - * cp-call.c (build_method_call): Use get_binfo and - convert_pointer_to_real, to find the right basetype to convert to, - instead of trying to use convert_pointer_to, as convert_pointer_to - doesn't handle complex MI situations. Cures a bogus "cannot - convert a pointer of type `B' to a pointer of type `A'" when the - compiler is setting up the `this' pointer. - * cp-cvt.c (convert_pointer_to): Just call convert_pointer_to_real - to implement functionality. - * cp-cvt.c (convert_pointer_to_real): New routine. Uses new - functionality in get_base_distance to figure out which exact - parent we want to convert to. - * cp-search.c (get_base_distance_recursive, get_base_distance): - Modify to support searching for a specific PARENT given as a binfo - from our hierarchy. - * cp-typee.h (convert_pointer_to_real): Declare new routine. +Wed Jul 26 09:22:22 1995 Jeff Law (law@snake.cs.utah.edu) - Mon Sep 27 13:02:51 1993 Jason Merrill (jason@deneb.cygnus.com) + * xm-pa.h (USE_C_ALLOCA): Always define. + * xm-pahpux.h (USE_C_ALLOCA): Likewise. - * cp-type2.c (my_friendly_abort): Undo previous change + * x-pa (CC): Remove useless definition. + * xm-pa.h (HAVE_STRERROR): Define. + (__BSD_NET2__): Define. + +Wed Jul 26 09:10:25 1995 Jason Merrill + + * expr.c (preexpand_calls): Don't look past a CLEANUP_POINT_EXPR. + +Wed Jul 26 08:43:42 1995 Jim Wilson + + * cse.c (cse_insn): When do special handling for (set REG0 REG1), + must delete REG_EQUAL note from insn if it mentions REG0. + + * loop.c (find_and_verify_loops): When moving blocks of code, verify + that the just destination is not in an inner nested loop. + (mark_loop_jump): Don't mark label as loop exit if it jumps to + an inner nested loop. + +Wed Jul 26 08:40:31 1995 Paul Eggert + + * cccp.c (do_include, read_name_map): Omit leading "./" and + trailing "/" when it makes sense. + (skip_redundant_dir_prefix): New function. + +Wed Jul 26 08:36:41 1995 Michael Meissner + + * stmt.c (emit_nop): Do not emit a nop if there is a single + insn before a label or at the start of a function. + +Wed Jul 26 08:21:21 1995 Doug Evans + + * Makefile.in (gfloat.h): Delete previous copy before updating. + +Wed Jul 26 08:18:29 1995 Roland McGrath + + * Makefile.in (STAGESTUFF): Add stamp-crtS. + (crtbeginS.o, crtendS.o, stamp-crtS): New rules; just like + crtbegin.o et al, but compiled using -fPIC. + * configure (*-*-gnu*): Add crtbeginS.o and crtendS.o to $extra_parts. + +Wed Jul 26 08:11:52 1995 Michael Gschwind + + * pdp11.md: Fixed typos ('bhos' -> 'bhis'). + +Wed Jul 26 08:05:41 1995 Jim Wilson + + * hp320.h, m68k.h, m68kv4.h (LEGITIMATE_PIC_OPERAND_P): Reject + CONST_DOUBLE with MEM with invalid pic address. + * reload1.c (real.h): Include it. + * Makefile.in (reload1.o): Depends on real.h. + +Wed Jul 26 07:58:22 1995 Ian Lance Taylor + + * gcc.c (MULTILIB_DIRS): Provide default if not defined. + (multilib_defaults): New static variable. + (default_arg): New static function. + (set_multilib_dir): Ignore default arguments. + (print_multilib_info): Ignore entries which use default arguments. + +Tue Jul 25 10:06:09 1995 Michael Meissner + + * rs6000.md (allocate_stack): Don't copy the LR register to + the new stack end. + * rs6000.c (rs6000_stack_info): Correctly store the LR in + the caller's frame, not the current frame, for V.4 calls. + * rs6000/eabi.asm (_save*, _rest*): Provide all mandated V.4 save + and restore functions, except for the save*_g functions which + return the GOT address. + +Fri Jul 21 14:24:25 1995 Michael Meissner + + * rs6000/eabi.h (__eabi): Load up r13 to be the small data + pointer, unless -mrelocatable. + + * rs6000/aix3newas.h (LINK_SPEC): Import machine independent + functions if -mcpu=common. + * rs6000/milli.exp: Import file referenced in aix3newas.h. + + * rs6000/eabi.asm (__eabi): Support for fixing up user initialized + pointers when -mrelocatable is used. + * rs6000/eabi.h (ASM_OUTPUT_INT): Record any pointers initialized + by the user if -mrelocatable, to be fixed up by __eabi. + (CONST_SECTION_ASM_OP): If -mrelocatable, put read-only stuff in .data, + not .rodata, to allow user initialized pointers to be updated by __eabi. + + * rs6000.h (TARGET_SWITCHES): Add -mdebug-{stack,arg}. + (TARGET_{ELF,NO_TOC,TOC}): Add defaults for non system V. + (rs6000_stack): New structure to describe stack layout. + (RS6000_{REG_SAVE,SAVE_AREA,VARARGS_*}): New macros used to + support both AIX and V.4 calling sequences. + (FP_ARG_*, GP_ARG_*): Ditto. + (FP_SAVE_INLINE): Ditto. + (STARTING_FRAME_OFFSET): Modify to support both AIX and V.4 + calling sequences. + (FIRST_PARM_OFFSET): Ditto. + (REG_PARM_STACK_SPACE): Ditto. + (STACK_POINTER_OFFSET): Ditto. + (FUNCTION_ARG_REGNO_P): Ditto. + ({,INIT_}CUMULATIVE_ARGS): Ditto. + (LEGITIMATE_LO_SUM_ADDRESS_P): Ditto. + (FUNCTION_ARG{,_ADVANCE,PARTIAL_NREGS,PASS_BY_REFERENCE}): Ditto. + (SETUP_INCOMING_VARARGS): Ditto. + (EXPAND_BUILTIN_SAVEREGS): Ditto. + (CAN_ELIMINATE): Ditto. + (INITIAL_ELIMINATION_OFFSET): Ditto. + (LEGITIMATE_CONSTANT_POOL_{BASE,ADDRESS}_P): Ditto. + (GO_IF_{LEGITIMATE_ADDRESS,MODE_DEPENDENT_ADDRESS}): Ditto. + (LEGITIMIZE_ADDRESS): Ditto. + (CONST_COSTS): Ditto. + (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Ditto. + (ASM_OUTPUT_REG_{PUSH,POP}): Use reg_names to print registers. + (function declarations): Add new rs6000.c function declarations, + and delete decls of deleted functions. + (SHIFT_COUNT_TRUNCATED): Parenthesize the expression. + + * rs6000.c (init_cumulative_args): New function to support AIX + and V.4 calling sequences. + (function_arg{,_advance,partial_nregs,pass_by_reference}): Ditto. + (setup_incoming_varargs): Ditto. + (expand_builtin_saveregs): Ditto. + (rs6000_stack_info): Ditto. + (debug_stack_info): Ditto. + (direct_return): Changes to support AIX and V.4 calling sequences. + (first_reg_to_save): Ditto. + (svr4_traceback): Ditto. + (output_{prolog,epilog}): Ditto. + (print_operand): Use reg_names to print registers. Add support + for V.4 HIGH/LO_SUM address modes. + (must_save_cr): Function deleted, in rewrite of AIX/V.4 calling + sequence support. + (rs6000_sa_size): Ditto. + (rs6000_pushes_stack): Ditto. + (output_toc): Add abort if no toc. + + * rs6000.md (call insns): Add a new argument to flag a V.4 + function needs to set bit 6 of the CR. + (elf_{low,high}): New V.4 functions to create addresses via HIGH + and LO_SUM patterns. + (movsi): Use elf_{low,high} if appropriate. + (mov{si,di}_update): Name these patterns for allocate_stack. + (allocate_stack): Support for V.4 stack layout. + (sync): New pattern for V.4 trampolines to issue the sync + instruction. + + * rs6000/sysv4.h (TARGET_SWTICHES): Add -mcall-{aix,sysv}, and + -mprototype. Remove separate flag bit for -mno-toc. + (SUBTARGET_OVERRIDE_OPTIONS): Don't test for -mno-toc. + (FP_ARG_*): Adjust for V.4 calling sequences. + (RS6000_*): Ditto. + (FP_SAVE_INLINE): Ditto. + (toc_section): Eliminate use of AIX style full TOC. + (TRAMPOLINE_{TEMPLATE,SIZE}): Redefine for V.4 support. + (INITIALIZE_TRAMPOLINE): Ditto. + + * rs6000/eabi.h (CPP_SPEC): Define _CALL_SYSV or _CALL_AIX, + depending on whether -mcall-sysv or -mcall-aix was used. + * rs6000/eabile.h (CPP_SPEC): Ditto. + * rs6000/sysv4le.h (CPP_SPEC): Ditto. + + * rs6000/t-eabigas (MULTILIB_{OPTIONS,DIRNAMES}): Delete no-toc + libraries, explicit big endian libraries. + * rs6000/t-ppcgas (MULTILIB_{OPTIONS,DIRNAMES}): Ditto. + + * rs6000/t-eabiaix: New file for eabi, using -mcall-aix as the + default. + * rs6000/eabiaix.h: Ditto. - * cp-*.c: Use lang_error instead of error_with_decl, - error_with_aggr_type, etc. Not complete; I only changed the easy - cases and a few of the more obscure ones. Please convert calls - over when you're working on an appropriate section. + * rs6000/t-eabilegas: New file for eabi on little endian systems. + * rs6000/t-ppclegas: New file for V.4 on little endian systems. - * cp-method.c: Strip out error reporting code + * rs6000/t-rs6000 (MULTILIB_{OPTIONS,DIRNAMES}): Build libgcc.a + for -mcpu=common. - * Makefile.in (CPLUS_OBJS): Add error.o and cp-error.o + * configure (powerpc-*-eabiaix): New configuration for defaulting + to old-style AIX calling sequence. + (powerpcle*): Use new t-{eabi,ppc}legas files, to avoid building + explicit little endian multilib libraries. - * cp-error.c: New file, contains call-back functions for C++. - The actual output code is an extensively overhauled version of the - code from cp-method.c. - Don't call my_friendly_* to avoid undesirable recursion. +Fri Jul 21 13:23:06 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * error.c: New file, provides call-back mechanism for language- - dependent error reporting. + * toplev.c (main): Don't define sbrk #ifdef __alpha__. - Fri Sep 24 13:52:27 1993 Jason Merrill (jason@deneb.cygnus.com) +Tue Jul 18 19:23:44 1995 Paul Eggert - * cp-type2.c (my_friendly_abort): Don't die quietly if - errorcount or sorrycount are positive, die loudly. + * cccp.c (do_include): Prefix -H output lines with spaces, not dots. + (output_dots): Remove. -Fri Oct 8 13:58:13 1993 Doug Evans (dje@cygnus.com) + * cccp.c (main): cplusplus_comments now defaults to 1. + But clear it if -traditional or the new option -lang-c89 is given. + * gcc.c (default_compilers, cpp): Specify -lang-c89 if -ansi is given. + This turns off C++ comment recognition. - * loop.c (scan_loop): When skipping consecutive insns, - don't count notes. +Tue Jul 18 19:16:38 1995 Jim Wilson -Fri Oct 8 10:41:07 1993 Chip Salzenberg (chip@fin.uucp) + * va-sparc.h (va_arg): Add support for 128 bit long double type. - * c-common.c (check_function_format): Correct error in last - change. +Tue Jul 18 19:11:18 1995 Jorn Rennecke (amylaar@meolyon.hanse.de) -Fri Oct 8 08:10:03 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-common.c (decl_attributes, case A_ALIGNED): Handle is_type + case properly. - * c-parse.in (initdcl, notype_initdcl): Call push_momentary and - pop_momentary here. - (init): Not here. +Tue Jul 18 19:03:02 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Fri Oct 8 06:35:07 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * fold-const.c (fold, case CONVERT_EXPR): Don't merge conversions + if outer is to handle a type with differing precision. - * dbxout.c (dbxout_type, case INTEGER_TYPE): Correctly check - for type smaller than `integer'. +Mon Jul 17 14:37:35 1995 Pat Rankin (rankin@eql.caltech.edu) - * expr.c (expand_expr, case MAX_EXPR): Don't use TARGET directly - if it is a volatile MEM. + * vax/vms.h (HAVE_ATEXIT): Define. + (DO_GLOBAL_CTORS_BODY): Don't call atexit; let __do_global_ctors do it. + * vax/xm-vms.h (HAVE_VPRINTF): Define. - * i386/t-aix, i386/t-isc, i386/t-osfrose, i386/t-sco, mips/t-osfrose: - Remove LIMITS_H; hasn't been used for a while. +Mon Jul 17 06:41:19 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * configure: Add EXTRA_PASSES like we add EXTRA_HEADERS. - Correct EXTRA_HEADERS handling to accept multiple names. - (mips-*-*): Set extra_passes to mips-tfile and mips-tdump when - we use t-mips, t-bsd, t-svr[34], and t-ultrix. - * Makefile.in (mips-tfile, mips-tfile.o, mips-tdump, mips-tdump.o): - New rules. - * mips-tfile.c: Don't define memory functions on Alpha. - (Ptrdiff_t): Always `long'. - (WORD_ALIGN): Make portable. - * mips/t-bsd, t-mips, t-svr3, t-svr4, t-ultrix: Remove - definition of EXTRA_PASSES and remove rules for mips-* files. + * c-typeck.c ({unsigned,signed}_type): Handle intXX_type_node types. - * dbxout.c (dbxout_parms): Don't confuse a parameter at an - offset of zero from AP or FP with one that has variable size. + * xm-alpha.h (sbrk): Add declaration. - * calls.c (emit_library_call): Fix typo in last change; should - use Pmode instead of SImode. + * convert.c (convert_to_integer): If TYPE is a enumeral type or + if its precision is not the same as the size of its mode, + convert in two steps. -Fri Oct 8 00:34:39 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * m68k.md (tstdi, cmpdi): Use match_scratch, not match_operand. - * c-decl.c (finish_decl): Error if block-scope static var - has incomplete type. +Fri Jul 14 19:23:42 1995 Andreas Schwab - * expr.c (expand_expr, case VAR_DECL): If decl wasn't laid out, - lay it out now, and fix the rtl's mode. + * c-decl.c (field_decl_cmp): Rewritten to make sure that a null + name always sorts low against other names. + * c-typeck.c (lookup_field): Change name comparison to match what + field_decl_cmp does. -Thu Oct 7 12:30:10 1993 Chip Salzenberg (chip@fin.uucp) +Fri Jul 14 18:46:24 1995 Michael Meissner - * c-decl.c (complete_array_type): Correctly set MAXINDEX to - one less than array size. + * rs6000.md (movsi): Convert a CONST_DOUBLE into a CONST_INT of + the low part. -Thu Oct 7 20:44:41 1993 Torbjorn Granlund (tege@adder.cygnus.com) +Fri Jul 14 18:30:52 1995 Doug Evans - * c-typeck.c (build_binary_op): For *_DIV_EXPR, set shorten based - on orig_op0. + * toplev.c (main): Reword dwarf/c++/-g warning. -Thu Oct 7 18:19:17 1993 Jim Wilson (wilson@cygnus.com) +Fri Jul 14 18:19:34 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * xm-mips.h (HAVE_VPRINTF): Correct typo, is VPRINTF not VFPRINTF. + * expr.h (NO_DEFER_POP): Remove last change. + * expr.c (stor_expr): Force stack adjust before NO_DEFER_POP. + (expand_expr, case COND_EXPR): Likewise. + * stmt.c (expand_start_stmt_expr): Likewise. - * Makefile.in (LIB2FUNCS): Add _fixtfdi, _fixunstfdi, _floatditf. +Fri Jul 14 07:58:35 1995 Jim Wilson -Thu Oct 7 14:58:02 1993 Michael Meissner (meissner@osf.org) + * function.c (struct temp_slot): New fields base_offset, full_size. + (assign_stack_temp): For !FRAME_GROWS_DOWNWARD, set p->size to size. + Set new fields base_offset and full_size. + (combine_temp_slots): Use new fields base_offset and full_size instead + of slot and size. - * configure (i386-osf): ELF on OSF/1 does not need collect2. + * loop.c (loop_number_exit_count): New global variable. + (loop_optimize): Allocate space for it. + (find_and_verify_loops, mark_loop_jump): Set it. + (strength_reduce, check_dbra_loop): Use loop_number_exit_count + instead of loop_number_exit_labels. + * loop.h (loop_number_exit_count): Declare it. + * unroll.c (find_splittable_{regs,givs}, final_[bg]iv_value): Use + loop_number_exit_count instead of loop_number_exit_labels. + (reg_dead_after_loop): Check loop_number_exit_count, and fail + if the count doesn't match loop_number_exit_labels. -Thu Oct 7 17:38:25 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cse.c (cse_insn): Ifdef out code that pre-truncates src_folded. - * cccp.c (main): New option -lang-c-c++-comments. + * sparc.md (sethi_di_sp64): Return null string at end. -Thu Oct 7 16:40:38 1993 Michael Meissner (meissner@osf.org) + * function.h (struct function): Add stdarg field. + * function.c (current_function_stdarg): New global variable. + (push_function_context_to): Save it. + (pop_function_context_from): Restore it. + (assign_parms): Set it. + (init_function_start): Clear it. + * output.h (current_function_stdarg): Declare it. + * i960.md: Modify all patterns which handle stores to memory to also + check current_function_varargs and current_function_stdarg. - * config/i386/osfrose.h (OSF_PROFILE_BEFORE_PROLOGUE): New macro - to determine whether profiling goes before the function prologue - or after. New style profiling goes before in order to save - getting and saving the function's callers address or have mcount - 'know' there is a frame pointer. Old style profiling using mcount - and some ELF PIC profiling goes after the prologue. - (FUNCTION_PROLOGUE): Redefine in order to get new style profiling - before the function prologue if desired. - (FUNCTION_PROFILER): Do not put a profile call if it already has - been put out in the prologue. Change new style profiling to call - through _mcount_ptr instead of _real_mcount. Propigate ROSE brain - damage regarding mcount being in the users name space to ELF. - (SUBTARGET_SWITCHES): Make -mmcount default again instead of - -mno-mmcount. + * reorg.c (fill_simple_delay_slots): When trying to take instruction + from after the branch, don't continue past target label. Local + variables passed_label and target_uses are no longer necessary. - * i386.h (FINALIZE_PIC): Add macro to set the variable - current_function_uses_pic_offset_table if either -p or -a switches - are used. +Thu Jul 13 19:30:04 1995 Jeff Law (law@snake.cs.utah.edu) -Thu Oct 7 17:07:57 1993 Ian Lance Taylor (ian@cygnus.com) + * pa.c (output_bb): Fix error in long backwards branch with + nullified delay slot. - * rtl.c (byte_mode, word_mode): Move to emit-rtl.c. - (init_rtl): Move initialization of byte_mode and word_mode to - init_emit_once. - * emit_rtl.c (byte_mode, word_mode): Moved from rtl.c. - (init_emit_once): Moved in initialization of bytes_mode and - word_mode from init_rtl. +Thu Jul 13 19:26:13 1995 Jim Wilson -Thu Oct 7 11:11:25 1993 Jason Merrill (jason@deneb.cygnus.com) + * expmed.c (SHIFT_COUNT_TRUNCATED): Use #ifdef not #if. - * cccp.c (struct file_name_list): Add new field c_system_include_path. - (*various*): Set this flag correctly - (is_system_include): Return 2 if C-language system include. - (output_line_command): Output " 4" after " 3" for C-language system - include. +Mon Jul 10 20:16:44 1995 Paul Eggert -Thu Oct 7 14:45:20 1993 Doug Evans (dje@canuck.cygnus.com) + * cccp.c (rescan): Don't address outside of array when + preprocessing C++ comments. - * Makefile.in (install-dir): Fix typo. - (install-common): Remove obsolete comment. - (install-common): Install native g++ only if not cross. +Mon Jul 10 20:05:46 1995 Michael Meissner -Thu Oct 7 11:27:45 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rs6000.c (expand_block_move): Remove #if 0 conditionals + against using larger block moves. - * calls.c (emit_library_call, emit_library_call_value): - Allocate a temp slot if arg must be passed by reference. + * t-rs6000 (EXTRA_PARTS): Copy milli.exp to release dir. + (milli.exp): Copy to build dir from machine dependend dir. - * gcc.c (read_specs): Fix call to bzero. +Mon Jul 10 20:03:29 1995 Richard Earnshaw (rearnsha@armltd.co.uk) -Thu Oct 7 08:53:57 1993 Torbjorn Granlund (tege@adder.cygnus.com) + * arm.md (matcher for (shiftable_op (cond-exp) (reg))): If + shiftable_op is minus, then subtract from zero when cond fails. - * alpha.md: Clean up usage of commutative declarator `%'. +Mon Jul 10 19:58:26 1995 John F. Carr -Thu Oct 7 08:14:46 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * sparc.h (SELECT_SECTION): Use TREE_CODE_CLASS instead of directly + referencing tree_code_type. + +Mon Jul 10 19:54:31 1995 Jim Wilson - * i860/xm-fx2800.h (HAVE_VPRINTF): Fix typo; was HAVE_VFPRINTF. + * protoize.c (reverse_def_dec_list): Delete const qualifiers from + local variables, and delete casts which were casting away const. - * xm-alpha.h: Always declare malloc, realloc, etc, to be void *. +Mon Jul 10 19:14:39 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * combine.c (force_to_mode): Sign-extend constant being truncated. + * c-lang.c (finish_file): Add missing parm to start_function call. -Wed Oct 6 18:53:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * jump.c (jump_optimize): Pass outer_code arg to rtx_cost. - * bi-lexer.c (xmalloc, xrealloc): Cast the result of malloc, realloc. + * varasm.c (assemble_name, bc_assemble_integer): Call + bc_emit_labelref with proper args. -Wed Oct 6 15:30:39 1993 Michael Meissner (meissner@osf.org) + * function.c (setjmp_args_warning): Remove bogus arg. - * i386/osfrose.h (FUNCTION_PROFILER): Define to pass the function - address, its caller, and the unique label address through the - _real_mcount pointer, unless -mmcount is used, in which case use - the old calling sequence. - (SUBTARGET_SWITCHES): Add -mmcount, -mno-mcount support. +Mon Jul 10 18:20:54 1995 Fergus Henderson (fjh@cs.mu.oz.au) -Wed Oct 6 15:29:40 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * gcc.c (p{fatal,error}_with_name, perror_exec): Quote filename. - * pa.c (output_function_prologue): Pass on information about the - number of callee saved general and floating point registers which - are saved by the current function's prologue. - (hppa_expand_prologue): Keep track of the number of callee - register saves done for general and floating point registers. +Mon Jul 10 18:12:51 1995 Gran Uddeborg (uddeborg@carmen.se) -Wed Oct 6 13:50:03 1993 Ian Lance Taylor (ian@cygnus.com) + * i386/iscdbx.h (STARTFILE_SPEC): Handle -Xp. - * cexp.y (MAX_CHAR_TYPE_SIZE, MAX_INT_TYPE_SIZE, - MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define. - (yylex): Use them instead of the non-MAX versions, to avoid - dependencies on target_flags. +Wed Jul 5 02:42:17 1995 Per Bothner (bothner@spiff.gnu.ai.mit.edu) -Wed Oct 6 13:47:13 1993 Jim Wilson (wilson@mole.gnu.ai.mit.edu) + * cpphash.h (enum node_type): Remove unneeded and non-standard + forward declaration. - * combine.c (try_combine): New variable i3_subst_into_i2. - Set it for special case of substituting i3 into i2. Use it near - end to detect when special case succeeded. Move i2notes to - i3notes for this special case. - (distribute_notes, REG_UNUSED case): Ignore all REG_UNUSED notes - except those from I3. +Sat Jul 1 20:15:39 1995 Jim Wilson -Wed Oct 6 13:14:13 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * mips/t-mips, mips/t-mips-gas (MULTILIB_*, LIBGCC, INSTALL_LIBGCC): + Delete. - * c-typeck.c (build_c_cast): When making a CONSTRUCTOR, provide - the dummy first operand. + * sparc/sol2.h (LINK_SPEC): Revert March 16 change. Do not add -R + for each -L. + + * collect2.c (libcompare): Verify that file name extensions are valid. + Put files with invalid extensions last in the sort. - * real.c (real_value_truncate): Correct etrunci argument - in case SImode. + * integrate.c (integrate_decl_tree): Set DECL_ABTRACT_ORIGIN before + pushdecl call for local variables. -Wed Oct 6 06:55:05 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Sat Jul 1 08:13:38 1995 Richard Earnshaw (rearnsha@armltd.co.uk) - * final.c (asm_fprintf): Add cases for 'w' and 'l'. + * cpplib.c (output_line_command): If not emitting #line directives + delay returning until after adjust_position has been called. - * Makefile.in (bi-opcode.o): Includes hconfig.h. - * bi-lexer.c: Remove declarations of malloc and realloc. - * bi-opcode.c: Include hconfig.h. - * bi-parser.y: Remove declaration of malloc. + * arm.md (mov{si,sf,df}cc): Call gen_compare_reg to generate + the condition code register. - * regclass.c (record_reg_classes): Check if operands are the same - by seeing if they are the same register. +Sat Jul 1 06:55:09 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cse.c (record_jump_cond): Rehash OP1 if OP0's insert_regs returns - nonzero. + * fold-const.c (decode_field_reference): New parm PAND_MASK. + (unextend): New parm MASK. + (fold_truthop): Pass new parms to decode_field_reference and unextend. - * calls.c (expand_call): Add yet another assignment to MEM_IN_STRUCT_P. + * va-alpha.h (__va_tsize): Use __extension__ to avoid warning + on use of `long long'. -Wed Oct 6 00:08:28 1993 Jim Wilson (wilson@mole.gnu.ai.mit.edu) + * expr.h (NO_DEFER_POP): Do any pending stack adjusts. - * sparc.c (uns_small_int, uns_arith_operand): New functions. - * sparc.md (umulsidi3): Use uns_arith_operand not arith_operand. - (const_umulsidi3): Use uns_small_int not small_int. + * recog.c (register_operand): Disallow subreg of reg not allowed to + change size. - * sparc.h (SELECT_CC_MODE): Add support for ASHIFT. - * sparc.md (ashlsi3+1, ashlsi3+2): New patterns to replace shift - and compare with addcc. +Thu Jun 29 05:51:57 1995 Jeff Law (law@snake.cs.utah.edu) -Tue Oct 5 16:25:32 1993 Jim Wilson (wilson@cygnus.com) + * pa.md (reload addsi3): New pattern to avoid reload lossage + with register eliminations. - * sched.c (sched_analyze_2): Make volatile asms depend on all - pseudo registers. + * pa.c (output_cbranch): When checking for a jump to the given + insn's delay slot, handle the case where JUMP_LABEL for the + given insn does not point to the first label in a series of + labels. + (output_bb, output_dbra, output_movb): Likewise. - * mips.c (mips_expand_prologue): Handle structure return values as - the first argument if necessary. +Wed Jun 28 18:04:56 1995 Jeff Law (law@snake.cs.utah.edu) - * mips.h (CLASS_MAX_NREGS): For DFmode and !TARGET_FLOAT64 case, - return 2 not 4. - (CLASS_UNITS): Take size parameter instead of num (words). + * pa.h (PIC_OFFEST_TABLE_REGNUM_SAVED): Define to %r4. + (CONDITIONAL_REGISTER_USAGE): Make it fixed when compiling + PIC code. + (INIT_EXPANDERS): Delete. + * pa.c (hppa_save_pic_table_rtx): Delete variable. + (hppa_expand_prologue): For PIC generation, copy the PIC + register into a fixed callee register at the end of the + prologue of non-leaf functions. + * pa.md (call expanders): Reload the PIC register from the + fixed callee saved register. Don't try to save the PIC + register before the call. - * c-typeck.c (output_init_element): When try to copy FIELD if it - is an interger constant, first check to make sure it is nonzero. +Wed Jun 28 18:01:14 1995 Stan Cox (coxs@dg-rtp.dg.com) - * reorg.c (fill_simple_delay_slots): When take insn from a - following unconditional branch target, if new_label is zero, must - set it to the result of find_end_label (). + * m88k/dguxbcs.h (ASM_SPEC): Removed -h flag. + * m88k/dgux.h (ASM_SPEC): Likewise. - * iris3.h (INITIALIZE_TRAMPOLINE, TRANSFER_FROM_TRAMPOLINE): - Delete. - * mips.h (INITIALIZE_TRAMPOLINE): Delete #ifndef/#endif. Change - function name from __enable_execute_stack to __gcc_flush_cache. - (TRANSFER_FROM_TRAMPOLINE): Likewise. Delete code calling - mprotect. Uncomment code calling cacheflush. - -Tue Oct 5 16:11:53 1993 Jason Merrill (jason@deneb.cygnus.com) - - * toplev.c (error and its kin): Use #defines for the argument - lists for ease of adding arguments and add one arg. - -Tue Oct 5 16:05:11 1993 Tor Egge (tegge@pvv.unit.no) - - * cccp.c (rescan): Don't expand an identifier after a '#'. - -Tue Oct 5 15:15:52 1993 Chip Salzenberg (chip@fin.uucp) - - Move format warning code to c-common.c for use with C++. - * c-tree.h (init_function_format_info, record_function_format, - check_function_format): Declare. - * c-common.c: Include ; avoid home-grown ISDIGIT. - (decl_attributes): Call record_function_format with DECL_NAME - and also DECL_ASSEMBLER_NAME. - (struct format_char_info): Moved here from c-typeck.c. - (print_char_table): Likewise; renamed from print_table. - (scan_char_table): Likewise; renamed from scan_table. - (struct function_format_info): Likewise; add assembler_name. - (function_format_list): Make list, not array. - (init_function_format_info): Likewise; renamed from - init_format_info_table. - (record_function_format): Likewise; renamed from - record_format_info; record assembler_name. - (check_format_info): Likewise; renamed from check_format. - (check_function_format): New interface that does not require - knowledge of struct function_format_info. - * c-decl.c (init_decl_processing): Call init_function_format_info. - * c-typeck.c (struct format_char_info, print_table, scan_table, - struct function_info, function_info_entries, function_info_table, - record_format_info, init_format_info_table, check_format): Moved - to c-common.c. - (build_function_call): Call check_function_format. - -Tue Oct 5 14:08:18 1993 Wolfgang Stukenbrock (wgstuken@informatik.uni-erlangen.de) - - * gcc.c (choose_temp_base): Correct size allocated for temp_filename. - -Tue Oct 5 06:34:34 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * tree.c (contains_placeholder_p): Return 0 for CONSTRUCTOR. - (substitute_in_expr): Don't allow CONSTRUCTOR. - - * tree.c (make_node, case 'd'): Refine in which obstack - PARM_DECLs are allocated. - - * calls.c (expand_call): Properly test if we need to promote - operand; use convert_modes instead of convert_to_mode. - * expr.c (convert_modes): Properly handle extending constants - since we might be changing signedness. +Wed Jun 28 17:01:58 1995 David Edelsohn - * gcc.c (read_specs): Make a null entry at end of `compilers' - when reading new entry from file. + * rs6000.c (processor_target_table): Remove CPU name synonyms. + * rs6000.h (CPP_SPEC): Likewise. + * rs6000/sysv4.h (CPP_SPEC): Likewise. + (ASM_SPEC): Likewise. + * rs6000/sysv4le.h (CPP_SPEC): Likewise. + * rs6000/eabile.h (CPP_SPEC): Likewise. + * rs6000/powerpc.h (CPP_SPEC): Likewise. + (ASM_SPEC): Set assembler target according to compiler target. + * rs6000/aix3newas.h (CPP_SPEC): Likewise. + (ASM_SPEC): Likewise. + * rs6000/aix41.h (CPP_SPEC): Likewise. + (ASM_SPEC): Likewise. - * tree.c (contains_placeholder): Return 0 for WITH_RECORD_EXPR. +Wed Jun 28 16:25:53 1995 Gran Uddeborg (uddeborg@carmen.se) - * bi-arity.c, bi-lexer.c, bi-opname.c, bi-parser.y: Include hconfig.h. - * Makefile.in (bi-arity.o, bi-lexer.o, bi-opname.o, bi-parser.o): - Likewise. + * i386/x-isc3 (INSTALL_HEADERS_DIR): Delete; done by configure. - * bc-emit.c (dconst[012], dconstm1): Remove redundant definition. +Wed Jun 28 16:10:47 1995 Philippe De Muyter (phdm@info.ucl.ac.be) -Tue Oct 5 06:24:43 1993 Lisa Repka (lisa@MicroUnity.com) + * xm-rs6000.h (alloca): Extern decl added for non-GNU compiler. - * varasm.c (decode_rtx_const, case CONST_DOUBLE): Only use mode - of X if it is not VOIDmode. +Wed Jun 28 11:31:30 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Oct 5 00:45:30 1993 James Van Artsdalen (james@bigtex.cactus.org) + * cpplib.c (progname): Remove definition from here. - * i386/i386.c (output_to_reg): Handle XFmode write to MEM by - reading back value after write if source doesn't die. - * i386/i386.md (pushxf,movxf,extenddfxf2,extendsfxf2): Likewise. + * final.c (final_scan_insn): Fix error in last change. - * i386/i386.md (movxf,extenddfxf2,extendsfxf2): Don't emit fld - before calling output_to_reg: output_to_reg does that now. + * rtlanal.c (reg_set_p_1): Now static; add extra parm. - * i386/i386.h (FIXED_REGISTERS): Don't fix hard reg st7 if XFmode - is enabled. + * stmt.c: Delete redundant forward decls. + (expand_anon_union_decl): Correctly call expand_decl. - * reg-stack.c (move_for_stack_reg): If the 387 regstack is not - full when doing an XFmode write from 387 to MEM, copy the source - reg and write the copy. + * toplev.c (strip_off_ending): Strip off any ending; don't + pretend we know what valid endings are. -Mon Oct 4 18:40:51 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * svr4.h (ASM_OUTPUT_SECTION_NAME): Don't crash if DECL is null. - * regclass.c (record_reg_classes): There is no alt_cost - for a pair of matching args if they are the same pseudo reg. + * rs6000.md ({load,store}_multiple): Don't use indirect_operand + in define_insn; use explicit MEM of register_operand instead. - * varasm.c (bc_output_ascii): New function. - (assemble_string): Use it. - (assemble_static_space, assemble_variable): Put braces around uses - of BC_OUTPUT_COMMON and BC_OUTPUT_LOCAL. +Tue Jun 27 11:42:56 1995 Stephen L Moshier -Mon Oct 4 18:03:04 1993 Stephen L Moshier (moshier@world.std.com) + * i386/i386.c (print_operand, case `J'): Use jns for GE and js for + LT. - * expr.c (bc_init_mode_to_opcode_maps, bc_expand_expr): Cast enum - array indices to int. - (bc_load_memory, bc_store_memory): Likewise. - (bc_runtime_type_code): Cast enum logical operand to int. - * bc-emit.c (bc_emit_bytecode): Cast enum array indices to int. - * bc-optab.c (deduce_conversion, emit_typecode_conversion): Likewise. - (bc_init_mode_to_code_map, preferred_typecode): Likewise. - (bc_expand_binary_operation, bc_expand_unary_operation): Likewise. - (bc_expand_increment): Likewise. - * bc-typecd.h: Cast enum arithmetic and logical operands to int. +Tue Jun 27 07:58:55 1995 Jason Merrill -Mon Oct 4 05:52:21 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * expr.c (expand_expr, TARGET_EXPR): Only use original_target + if !ignore. - * a29k.c (incoming_regs): Only use 16 registers for parameter - passing. +Tue Jun 27 07:27:26 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * tree.c (build_string): Remove previous change and comment why - string text has to be in saveable_obstack. - * varasm.c (output_constant_def): Remove last change; no longer needed. + * fold-const.c (fold_truthop): Commute unextend and convert on + l_const and r_const. -Sun Oct 3 18:51:19 1993 James Van Artsdalen (james@bigtex.cactus.org) + * c-common.c (decl_attributes, case A_CONSTRUCTOR, A_DESTRUCTOR): + Set TREE_USED. - * i386/i386.c (output_op_from_reg): Handle 3-word XFmode values. - (output_to_reg): Likewise. - (output_move_double): Handle XFmode operands. - (output_move_const_single): Use REAL_VALUE_TO_TARGET_SINGLE. - (print_operand): Add letter `T', size `12'. Use REAL_VALUE - macros to convert floating point operands. - (convert_387_op): Add XFmode to case FLOAT_EXTEND. + * final.c (final_scan_insn): Don't call alter_cond unless + condition is on cc0. - * i386/i386.h (LONG_DOUBLE_TYPE_SIZE): Define as 96. - (FIXED_REGISTERS): If XFmode enabled, hard reg st7 is fixed. - (ASM_OUTPUT_DOUBLE): Use REAL_VALUE_... macros. - (ASM_OUTPUT_FLOAT): Likewise. - (ASM_OUTPUT_LONG_DOUBLE): New macro. - (PRINT_REG): Add size case 12. - (DEBUG_PRINT_REG): Likewise. + * stmt.c (expand_asm_operands): Handle input operands that may not + be in a register. - * i386/i386.md: (tstxf_cc, tstxf, cmpxf, cmpxf_cc, cmpxf_ccfpeq, - swapxf, movxf, extenddfxf2, extendsfxf2, truncxfsf2, truncxfdf2, - fixuns_truncxfsi2, fix_truncxfdi2, fix_truncxfsi2, floatsixf2, - floatdixf2, addxf3, subxf3, mulxf3, divxf3, negxf2, absxf2, - sqrtxf2): New patterns. +Mon Jun 26 19:23:05 1995 Richard Earnshaw (rearnsha@armltd.co.uk) - * i386/next.h,i386/osfrose.h,i386/sysv4.h - (ASM_OUTPUT_DOUBLE,ASM_OUTPUT_FLOAT): Use REAL_VALUE_ macros. - (ASM_OUTPUT_LONG_DOUBLE): New macro. + * arm/lib1funcs.asm (L_dvmd_tls): Renamed from L_divmodsi_tools. + * arm/t-semi (LIB1ASMFUNCS): Rename _dvmd_tls from _divmodsi_tools. - * i386/bsd.h,i386/sco4.h (ASM_OUTPUT_DOUBLE): Deleted, - use default version. +Mon Jun 26 19:18:06 1995 Jim Wilson - * i386/next.h,i386/sco.h (VALUE_REGNO): Add case XFmode. + * unroll.c (find_splittable_regs): When completely unrolling loop, + check for non-invariant initial biv values. -Sun Oct 3 16:35:05 1993 Michael Meissner (meissner@wombat.gnu.ai.mit.edu) +Mon Jun 26 19:13:54 1995 Gran Uddeborg - * collect2.c (read_file): Fix typo in prototype. + * configure (i[345]86-*-isc*): Fix misspelled "rfile" to "ifile". -Sun Oct 3 18:32:46 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Jun 26 18:58:22 1995 Mike Stump - * Makefile.in (bytecode.realclean): Don't delete bi-lexer.c. + * expr.c (expand_expr, case COND_EXPR): Protect the condition from + being evaluated more than once. + (do_jump, case TRUTH_ANDIF_EXPR, TRUTH_ORIF_EXPR): Likewise. -Sun Oct 3 19:45:02 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Mon Jun 26 18:52:36 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * gcc.c (default_compilers): Add rules for Ada. - * toplev.c (lang_options): Add temporary parameter "gnat". + * fixincludes (string.h): Fix return value for mem{ccpy,chr,cpy,set} + and str{len,spn,cspn} on sysV68. - * tree.c (staticp): DECL_EXTERNAL is not defined for CONSTRUCTOR. +Mon Jun 26 06:54:50 1995 Michael Meissner (meissner@cygnus.com) - * tree.def (PLACEHOLDER_EXPR, WITH_RECORD_EXPR): New tree codes. - * tree.c (save_expr): Don't evaluate something containing a - PLACEHOLDER_EXPR. - (contains_placeholder_p, substitute_in_{expr,type}): New functions. - * tree.h: Add declarations for new functions. - * calls.c (expand_call): Pass objects who size depends on the - contents of the object by invisible reference. - * function.c (assign_parms): Likewise. - * explow.c (expr_size): If the size contains a PLACEHOLDER_EXPR, - surround it with a WITH_RECORD_EXPR. - * expr.c (store_expr): Use expr_size value, not size_int. - (store_constructor): Handle case of variable position and allow - it to contain a PLACEHOLDER_EXPR. - (get_inner_reference): Make a WITH_RECORD_EXPR if required. - (expand_expr, case PLACEHOLDER_EXPR, WITH_RECORD_EXPR): New cases. - (expand_expr, case ARRAY_REF): Make WITH_RECORD_EXPR expressions - when needed. + * i386/osfrose.h (LONG_DOUBLE_TYPE_SIZE): Go back to making long + double == double. - * calls.c (expand_call): Set MEM_IN_STRUCT_P in stack slot if - appropriate. +Thu Jun 22 19:14:41 1995 Pat Rankin (rankin@eql.caltech.edu) - * varasm.c (output_constant_def): Copy string as well as string - node when deferring output of constants. + * make-cc1.com (if DO_LINK): Skip c-parse.* processing when + only relinking. + (gas_message): Update to reflect current version, and give + a different message if/when no version of gas is found.xo - * configure (i370-*): Renamed tm-mvs.h to mvs.h. - * config/i370/mvs.h: Renamed from tm-mvs.h. +Thu Jun 22 18:52:37 1995 Richard Earnshaw (rearnsha@armltd.co.uk) -Sun Oct 3 12:50:57 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) + * arm/lib1funcs.asm (___modsi3): Correctly set SIGN register for + modulo involving negative numbers. - * arm.h (function definitions): Add new functions definitions. - (arm_condition_codes): make this externally visible. - (STARTFILE_SPEC): Move to riscix.h and riscix1-1.h. - (CPP_PREDEFINES): Move old defn to riscix.h and riscix1-1.h, add - generaic default definition. - (CPP_SPEC): Define for generic implementation, pass cpu variant - defn to pre-processor. - (TARGET_VERSION): Indicate this is generic variant. - (TARGET_6): New macro, set when compiling for arm6 in 32bit mode. - (ARM_EXTRA_TARGET_SWITCHES): New macro, hook for os dependent files - to make additions to TARGET_SWITCHES. Default to null. - (processor_type): new enum type defining processor variant for - attributes. - (arm_cpu_attr): Macro to get at cpu type from attributes. - (TARGET_WHEN_DEBUGGING): remove non-generic definitions - (OVERRIDE_OPTIONS): Set processor type for attributes. - (OPTIMIZE_OPTIONS): Set flag_force_mem. - (PROMOTE_MODE): Promote byte constants unsigned. - (ENABLE_XF_PATTERNS): Define, do not enable XFmode insns by default - -- it tends to crash riscix. - (REAL_ARITHMETIC): Define. - (CONSTANT_ALIGNMENT): Align string constants so that we can access - them faster. - (TARGET_FLOAT_FORMAT): Is IEEE_FLOAT_FORMAT. - (FIRST_PSEUDO_REGISTER): Increase to support fake registers. - (FIXED_REGISTERS): Describe behaviours of fake regs. - (CALL_USED_REGISTERS): Likewise. - (HARD_REGNO_NREGS): Deal with fake frame and argument registers. - (HARD_REGNO_MODE_OK): Likewise. - (FRAME_POINTER_REGNUM): Make this a fake register) - (HARD_FRAME_POINTER_REGNUM): Define. set to reg 11 (fp). - (FRAME_POINTER_REQUIRED): It is if TARGET_APCS. - (ARG_POINTER_REGNUM): Set to new fake register. - (CC_REGNUM): Define, set to fake register. - (REG_ALLOC_ORDER): Adjust to get better allocation in small functions. - Add fake registers. - (REG_CLASS_CONTENTS): Add new fakes. - (REGNO_REG_CLASS): Likewise. - (CONST_OK_FOR_LETTER_P): Add recognition for negated and inverted - constant integers. - (EXTRA_CONSTRAINT): Add 'Q' to recognize MEM (REG). Add 'S' for - symbols in the text segment. - (CONST_DOUBLE_OK_FOR_LETTER_P): Add 'H' for negated fp constants. - (SECONDARY_OUTPUT_RELOAD_CLASS): Define. Needed to store DFmode held - in SImode regs. - (REGISTER_MOVE_COST): Make this more expensive than memory for - float<->int moves. - (USE_RETURN_INSN): Define, call function. - (ELIMINABLE_REGS): Define to eliminate fake regs. - (CAN_ELIMINATE): Likewise. - (INITIAL_ELIMINATION_OFFSET): Likewise. - (INITIAL_FRAME_POINTER_OFFSET): Delete. - (REGNO_OK_FOR_BASE_P): Add fake regs. - (MAX_REGS_PER_ADDRESS): Is only 2; shifting by reg not allowed in addr. - (CONSTANT_ADDRESS_P): Accept addresses with the symbol_ref flag set. - (LEGITIMATE_CONSTANT): Accept negated floats; also constant addresses. - (ENCODE_SECTION_INFO): Mark strings that will go in the text segment - with the symbol_ref flag. - (REG_OK_FOR_BASE_P [!REG_OK_STRICT]): Add new fakes. - (REG_OK_FOR_PRE_POST_P [!REG_OK_STRICT]): Likewise. - (REG_OK_FOR_PRE_POST_P [REG_OK_STRICT]): Likewise. - (GO_IF_LEGITIMATE_INDEX): constant FLOAT indicees must be word - aligned; be more restrictive about multi-reg ints; allow all legal - shift operations; check boundary conditions more carefully. - (DEFAULT_SIGNED_CHAR): Remove os dependent alternatives. - (LOADS_ZERO_EXTEND): Define; only QImode loads do. - (HAVE_VPRINTF): Move to xm-arm.h - (SHIFT_COUNT_TRUNCATED): Not true -- Delete. - (CONST_COSTS): Define; give the cost of constants. - (RTX_COSTS): Define; give the cost of rtl. - (MEMORY_MOVE_COST): Is expensive. - (BRANCH_COST): Set high to get conditional instructions. - (ADDRESS_COST): Are all the same. - (NOTICE_UPDATE_CC): Delete. - (EXTRA_CC_MODES): Add a no overflow mode and floating point modes. - (EXTRA_CC_NAMES): Likewise. - (SELECT_CC_MODE): Return the appropriate mode. - (STORE_FLAG_VALUE): Define. - (PREDICATE_CODES): Define, show what they are. - (ARM_OS_NAME): Supply generic version. - (ASM_FILE_START): Print appropriate OS name. - (REGISTER_NAMES): Add fakes. - (DBX_OUTPUT_MAIN_SOURCE_FILENAME): set desc field to compiler version - number expected by dbx (RISCIX hack). - (ASM_OUTPUT_INTERNAL_LABEL): Don't reset arm_ccfsm_state if label isn't - a code ('L') label. - (ASM_OUTPUT_LONG_DOUBLE): Define for XFmode. - (ASM_OUTPUT_DOUBLE): Use REAL_ARITMETIC routines. - (ASM_OUTPUT_FLOAT): Likewise. - (ASM_OUTPUT_OPCODE): Change of arm_ccfsm_state is now handled by insns - that need to change it. - (PRINT_OPERAND): %d is replaced by appropriate condition characters, - %D by the inverse of those given. CONST_DOUBLEs use REAL_ARITHMETIC - functions. - (PRINT_OPERAND_ADDRESS): Support all the shift types. - (INIT_CUMULATIVE_ARGS): Add missing bracket. +Thu Jun 22 18:32:27 1995 Uwe Seimet (seimet@chemie.uni-kl.de) - * riscix.h: New file -- OS dependent defintitions for riscix 1.2 and - above. + * xm-atari.h (HZ): Now 100 and don't define if already defined. - * riscix1-1.h: New file -- OS dependent definitions for riscix before - version 1.2 +Thu Jun 22 18:26:12 1995 Jeffrey A Law (law@snake.cs.utah.edu) - * rix-gas.h: New file -- riscix 1.2 and above, but with an assembler - which supports stabs. + * calls.c (expand_call): Correctly handle returning BLKmode + structures in registers when the size of the structure is not + a multiple of word_size. + * stmt.c (expand_return): Likewise. - * arm.c (arm_compare_op0, arm_compare_op1, arm_compare_fp): New - variables. - (arm_cpu): New variable. - (lr_save_eliminated): New variable. - (arm_condition_codes): delete definition. - (return_used_this_function): New variable. - (use_return_insn): New function. - (const_ok_for_arm): Use HOST_WIDE_INT; rewrite to work if - HOST_WIDE_INT > 32 bits. - (fpa_consts_inited, strings_fpa): New variables. - (init_fpa_table): New function, initialize above. - (const_double_rtx_ok_for_fpu): Rewrite using fpa_consts_inited and - REAL_ARITHMETIC functions. - (neg_const_double_rtx_ok_for_fpu): New function. - (s_register_operand): New function, as register_operand, but don't - accept SUBREG (MEM). - (reload_memory_operand): New function. - (arm_rhs_operand): Use s_register_operand. - (arm_rhsm_operand): New function. - (arm_add_operand): New function. - (arm_not_operand): New function. - (fpu_rhs_operand): Use s_register_operand. - (fpu_add_operand): New function. - (di_operand): Use s_register_operand. - (di_operand, case MEM): address must be offsettable. - (index_operand): Use s_register_operand. - (const_shift_operand): New function. - (shift_operator): Also accept MULT by power of two. - (equality_operator): New function. - (minmax_operator): New function. - (cc_register): New function. - (minmax_code): New function. - (adjacent_mem_locations): New function. - (load_multiple_operation): New function. - (store_multiple_operation): New function. - (arm_gen_load_multiple): New function. - (arm_gen_store_multiple): New function. - (gen_compare_reg): New function. - (arm_backwards_branch): New function. - (short_branch): New function. - (arm_insn_not_targeted): New function. - (fp_immediate_constant): New function. - (eliminate_lr2ip): New function. - (output_call_mem): New function. - (output_mov_long_double_fpu_from_arm): New function. - (output_mov_long_double_arm_from_fpu): New function. - (output_mov_long_double_arm_from_arm): New function. - (output_move_double): output constants using output_move_immediate; - sign_extend CONST_INTs; handle PRE/POST INCs. - (shift_instr): Handle MULT. - (output_shift_compare): New function. - (pattern_really_clobbers_lr): New function. - (function_really_clobbers_lr): New function. - (output_return_instruction): New function. - (output_prologue): Determine whether tail calling is possible, - compensate for this when saving registers. Re-initialize - return_used_this_function; use HARD_FRAME_POINTER_REGNUM, when - saving floating point regs. - (output_epilogue): Epilogue isn't needed if return_used_this_function; - use HARD_FRAME_POINTER_REGNUM when restoring floating point regs - and there is a stack frame; Arm 6 requires different return - instruction. - (output_load_symbol): New function. - (final_prescan_insn): Add support for RETURN patterns; can also - conditionalize and target a RETURN; use attributes to determine - whether condition codes are set or clobbered; add new case CALL_INSN - to switch, fail if Arm 6; support a jump inside a parallel; call - recog () before returning to recover from using attributes on other - insns. - - * arm.md (type): New attribute for scheduling. - (cpu): New attribute for cpu type for use in conds attribute. - (conds): New attribute to describe actions on condition codes, set in - insns. - (length): New attribute, set in insns. - (write_conflict): New attribute describing conflicts with the write - buffer. - (fpa): New function unit for floating point co-processor. - (write_buf): New function unit for Arm 6 write buffer. - Most patterns: use s_register_operand instead of register_operand. - Most patterns: Don't use general operand and then expect reload to - do the work. - (adddi3): op0 can be the same as ops1 or 2; clobbers condition codes. - New unnamed patterns to add an SImode operand to a DImode op. - (addsi3): accept constants that can be catered for using sub. - New unnamed patterns that set conditions on add. - (incscc): new pattern, conditional increment. - New split to add some numbers in two insns. - (addsf3): Use REAL_ARITHMETIC; support -ve immediates. - (adddf3): Likewise. - (FLOAT_EXTEND and ADD): New unnamed patterns. - (addxf3): New pattern. - (subdi3): Allow input and output operands to overlap exactly. - (SUB DImode and SImode): New unnamed patterns. - (subsi3): Don't accept a constant as last operand, it will never be - matched. - (SUB and set CC) New unnamed patterns. - (decscc): new pattern, conditional decrment. - (subdf3): Fix bad case alternative. - (FLOAT_EXTEND and SUB): New unnamed patterns. - (subxf3): New pattern. - (mulsi3): Allow op2 to be the same as op0 - (MULT and set CC): New unnamed patterns. - (MULT and ADD): Ops 2 and 3 can match op 0. - (MULT, ADD and set CC): New unnamed patterns. - (mulsf3): use fmls for faster multiply. - (FLOAT_EXTEND and MULT): New unnamed patterns. - (mulxf3): New pattern. - (divsf3): use dvfs and rdfs for faster divide. - (FLOAT_EXTEND and DIV): New unnamed patterns. - (divxf3): New pattern. - (FLOAT_EXTEND and MOD): New unnamed patterns. - (modxf3): New pattern. - (anddi3): op 0 can be the same as ops1 or 2. - (*_EXTEND and AND): New unnamed patterns - (andsi3): Also accept constants that can be handled with bic - instruction. - (AND and set CC): New unnamed patterns. - (andcbsi3): Delete, this can't be generated any more. - (NOT then AND): New unnamed patterns. - (NOT then AND and set CC): Likewise. - (iordi3): Ops 1 and 2 can match op 0. - (*_EXTEND and IOR): New unnamed patterns. - (iorsi3): Only accept a valid rhs operand for op 2. - (IOR and set CC): New unnamed patterns. - (xordi3): New pattern. - (*_EXTEND and XOR): New unnamed patterns. - (xorsi3): Only accept a valid rhs operand for op 2. - (XOR and set CC): New unnamed patterns. - (split pattern): Complex pattern with NOT, AND, and IOR, can - sometimes produce better code if reordered. - (AND (IOR () NOT ())): Special pattern to recognize spilt above. - ([su]{min,max}si3): New patterns. - (set memory from MIN/MAX operation): New pattern. - (Arithmetic on MIN/MAX operation): New pattern. - (ashlsi3, ashrsi3, lshrsi3, rotrsi3): Only accept a valid rsh for op2. - (unnamed LSHIFT pattern): likewise. - (SHIFT and set CC): New unnamed patterns. - (SHIFT and NOT): New unnamed pattern. - (SHIFT, NOT and set CC): New unnamed patterns. - (negdi2): operand1 can be the same as op 0. - (FLOAT_EXTEND and NEG): New unsigned pattern. - (negxf2): New pattern. - (abssi2): New pattern. - (ABS and NEG): New unnamed pattern. - (FLOAT_EXTEND and ABS): New unnamed pattern. - (absxf2): New pattern. - (FLOAT_EXTEND and SQRT): New unnamed pattern. - (sqrtxf2): New pattern. - ({sin,cos}{sf,df,xf}2): New patterns. - (FLOAT_EXTEND and SIN/COS): New unnamed patterns. - (one_cmpldi2): New pattern. - (NOT and set CC): New unnamed patterns. - (floatsixf2, fix_truncsfsi2, fix_truncdfsi2, fix_truncxfsi2): New - patterns. - (truncxfsf2, truncxfdf2): New patterns. - (zero_extendsidi2, zero_extendqidi2, extendsidi2): New patterns. - (ZERO_EXTEND and set CC): New patterns. - (extend{sf,df}xf2): New patterns. - (movdi): Constrains must accept PRE/POST INC/DEC. - (movsi): make an expand that splits up integers and unsupported - moves. - (unnamed pattern to match movsi): New, don't allow things to - be moved back together again. - (REG-REG copy and set CC): New unnamed pattern. - (restorehi): use plus_constant in expansion code, not PLUS in RTL part. - (storehi, storeinthi): likewise. - (movhi): Break up impossible moves. - (pattern to match movhi): Don't allow impossible moves to be put - back together. - (movqi): Break up impossible moves. - (pattern to match movqi): Don't allow impossible moves to be put - back together; convert negative constants into mvn instruction. - (movsf): Use REAL_ARITHMETIC for constants; add alternatives for - moving GENERAL_REGS to and from memory. - (movdf): Make this an expand; split out impossible moves. - (reload_outdf): New pattern. - (pattern to match movdf): Don't allow impossible moves to be put back - together; add alternatives for moving GENERAL_REGS to and from memory; - rearrange and weight to get optimal register allocation. - (movxf): New pattern. - (load_multiple): New expand pattern. - (pattern to load multiple, pattern to load multiple with write-back): - New unnamed patterns. - (store_multiple): New expand pattern. - (pattern to store multiple, pattern to store multiple with write-back): - New unnamed patterns. - (movstrsi): Expand short moves as a series of load/store multiples with - write-back. - (cmp*): Make these expands; just set some state variables. - (CC = COMPARE op, op): New unnamed patterns. - (CC = COMPARE op, NEG op): New unnamed pattern. - (CC = COMPARE op, SHIFT op): New unnamed pattern. - (FLOAT_EXTEND then COMPARE): New unnamed patterns. - (CC = CC): New unnamed (dummy) pattern to allow cse to combine repeated - compares. - (b{eq,ne,le,lt,ge,gt,geu,gtu,leu,ltu}): Make these expand patterns, - use gen_compare_reg(). - (pattern to match branches, pattern to match inverted brances): New - unnamed patterns. - (s{eq,ne,le,lt,ge,gt,geu,gtu,leu,ltu}): New expands. - (pattern to match store_flag operations): New unnamed pattern. - (pattern to match NOT store_flag, pattern to match NEG store_flag): - New unnamed patterns. - (jump): handle arm_ccfsm_state explicitly. - (CALL (MEM)): New unnamed patterns. - (return): New pattern. - (conditional RETURN): New unnamed patterns; - (table_jump (MEM)): New unnamed pattern. - (indirect_jump (MEM)): New unnamed pattern. - Replace shift-arithmetic patterns with new versions that catche all - cases. - (Old peephole patterns (commented out)): remove. - (shift-arithmetic and set CC): New unnamed patterns. - (reload patterns for all shift-arithmetic patterns): New patterns. - Add many new patterns to merge store_flag patterns, arithmetic and - shifting. - New patterns to match conditional comparisons. - (movcond): New pattern. - (arith (MEM, MEM+4)): New unnamed pattern to spot load multiple - possibility. - (patterns to match extended pre-increment): New unnamed patterns. - (peepholes to match extended post-increment): New. - (peephole to match move and set conds): Needed because combine misses - this one. - (peepholes to match load/store multiples): New. - (CALL, RETURN): New peephole. - (CALL, JUMP): New peephole. - (save_stack_nonlocal, restore_stack_nonlocal): New expands for - non-local gotos. - special split to break up some conditional arithmetic sequences - before scheduling. - - *configure (arm-*-riscix1.[01]*, arm-*-riscix*): New configurations. - *config.sub: Recognize operating system "riscix*"; recognize acorn as - vendor. - -Sat Oct 2 17:24:44 1993 James Van Artsdalen (james@bigtex.cactus.org) - - * i386.md (addhi3): Use byte opcodes when the low byte of a word - is known to be zero. - -Sat Oct 2 14:11:06 1993 John F Carr (jfc@Athena.mit.edu) - - * combine.c (can_combine_p): Allow an insn with a REG_EQUIV note - that reads memory to be moved past an insn that writes memory. - -Sat Oct 2 14:04:03 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * regclass.c (record_reg_classes): Skip to next alternative - when we skip normal cost computation. - - * collect2.c: Add prototypes to static declarations. - (PROTO): New macro. - (dup2, putenv): Functions return integers; add type and returns. - - * varasm.c (make_decl_rtl): Set TREE_SIDE_EFFECTS on global if - -fvolatile-global. - - * tree.c (build_string): Make lifetime of string the same as - tree node. - -Sat Oct 2 04:55:44 1993 Doug Evans (dje@canuck.cygnus.com) - - * a29k/a29k.h, a29k/unix.h, alpha/alpha.h, arm/arm.h, clipper/clix.h, - convex/convex.h, elxsi/elxsi.h, fx80/fx80.h, gmicro/gmicro.h, - h8300/h8300.h, i370/tm-mvs.h, i386/386bsd.h, i386/aix386ng.h, - i386/gas.h, i386/go32.h, i386/linux.h, i386/lynx.h, i386/mach.h, - i386/next.h, i386/osfelf.h, i386/osfrose.h, i386/sco.h, i386/sco4.h, - i386/sco4dbx.h, i386/scodbx.h, i386/sequent.h, i386/sun.h, - i386/sysv3.h, i386/sysv4.h, i860/fx2800.h, i860/i860.h, i860/mach.h, - i860/sysv3.h, i860/sysv4.h, i960/i960.h, m68k/3b1.h, m68k/3b1g.h, - m68k/altos3068.h, m68k/apollo68.h, m68k/crds.h, m68k/ctix.h, - m68k/dpx2.h, m68k/hp2bsd.h, m68k/hp320.h, m68k/hp3bsd.h, - m68k/hp3bsd44.h, m68k/isi.h, m68k/lynx.h, m68k/m68kv4.h, - m68k/mot3300.h, m68k/news.h, m68k/next.h, m68k/pbb.h, m68k/plexus.h, - m68k/sun2.h, m68k/sun3.h, m68k/sun3mach.h, m68k/tower-as.h, - m68k/tower.h, m88k/dgux.h, m88k/luna.h, m88k/m88k.h, m88k/sysv3.h, - m88k/sysv4.h, mips/bsd-4.h, mips/bsd-5.h, mips/dec-osf1.h, - mips/iris3.h, mips/mips.h, mips/news4.h, mips/news5.h, - mips/nws3250v4.h, mips/osfrose.h, mips/svr3-4.h, mips/svr3-5.h, - mips/svr4-4.h, mips/svr4-5.h, mips/ultrix.h, ns32k/encore.h, - ns32k/merlin.h, ns32k/ns32k.h, ns32k/pc532-mach.h, ns32k/pc532.h, - ns32k/sequent.h, ns32k/tek6000.h, ns32k/tek6100.h, ns32k/tek6200.h, - pa/pa-ghpux.h, pa/pa-gux7.h, pa/pa-hpux.h, pa/pa-hpux7.h, - pa/pa-utahmach.h, pa/pa.h, pa/pa1-utahmach.h, pyr/pyr.h, romp/romp.h, - rs6000/aix31.h, rs6000/mach.h, rs6000/rs6000.h, sh/sh.h, sparc/lite.h, - sparc/lynx.h, sparc/pbd.h, sparc/sol2.h, sparc/sparc.h, sparc/sysv4.h, - spur/spur.h, tahoe/harris.h, tahoe/tahoe.h, vax/ultrix.h, vax/vax.h, - vax/vaxv.h, vax/vms.h, we32k/we32k.h - (CPP_PREDEFINES): Add system/cpu/machine assertions where missing. - -Fri Oct 1 22:11:17 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * gvarargs.h: Test __sequent__ like __BSD_NET2__. - -Fri Oct 1 17:19:54 1993 Torbjorn Granlund (tege@adder.cygnus.com) - - * cse.c (insert_regs): Always return something. - (simplify_unary_operation): Remove unused variable. - (cse_process_notes): Likewise. - (invalidate_skipped_block): Likewise. - (cse_set_around_loop): Likewise. - - * pa-ghpux.h (LINK_SPEC): Pass "-a -archive" when - debugging. - * pa-hpux.h (LINK_SPEC): Likewise. - * pa-ghpux.h (LIB_SPEC): Make sure to add space between flags. - * pa-gux7.h (LIB_SPEC): Likewise. + * pa-gux7.h (LIB_SPEC): Undefine before redefining. * pa-hpux.h (LIB_SPEC): Likewise. * pa-hpux7.h (LIB_SPEC): Likewise. -Fri Oct 1 22:17:12 1993 Eric Youngdale (eric@kafka) + * genmultilib: Work around hpux8 /bin/sh case bug. - * vmsconfig.com: Write out the definitions from Makefile.in for - the symbols BC_ALL and BI_OBJ into files BC_ALL.OPT and - BI_ALL.opt. Remove "bytecode " from compiler options files so - compiler will link correctly. + * pa.h (LIB_SPEC): Define to avoid -lg. - * make-cc1.com (bc_generate): New VMS DCL function. Takes a BC - header file that needs to be generated, and builds it. +Thu Jun 22 18:19:09 1995 Jason Merrill - * make-cc1.com: Compile entries listed in BI_ALL.OPT, and then call - bc_generate for every header file listed in BC_ALL.OPT + * expr.c (expand_expr, TARGET_EXPR): Use original_target. -Fri Oct 1 21:13:17 1993 H.J. Lu (hlu@nynexst.com) + * collect2.c (locatelib): Fix parsing of LD_LIBRARY_PATH. - * config/i386/linux.h (LIB_SPEC): Handle -p anmd -pg outermost. +Thu Jun 22 18:15:54 1995 Paul Eggert -Fri Oct 1 18:23:57 1993 Jim Wilson (wilson@cygnus.com) + * configure: Create an empty Makefile.sed first, to work + around a Nextstep 3.3 bug. - * reload1.c (gen_input_reload): Handle PLUS with MEM operand - exactly the same as a PLUS with a REG operand. - * reload.c (form_sum): Undo Sep 28 change. +Thu Jun 22 18:03:44 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in (cc1, cc1plus, cc1obj): Delete superfluous - dependencies on bytecode. - (stamp-bcarity, stamp-bcopcode, stamp-bcopname): Create stamp files. - -Fri Oct 1 18:17:56 1993 Doug Evans (dje@canuck.cygnus.com) + * Makefile.in (STAGESTUFF): Add stamp-crt. + (crtbegin.o, crtend.o): Now depend on stamp-crt. + (stamp-crt): New rule, to actually build crt{begin,end}.o. + + * collect2.c (main): Unlink export_file before we return. - * configure (cpp_md_flags): New variable. - (links): Build link from md.pre-cpp if cpp_md_flags defined. - (CPP_MD, CPP_MD_FLAGS, MD_FILE): New macros for Makefile. - * Makefile.in (md): New dependency. - (MD_FILE): New macro. - (clean): Remove file md if md.pre-cpp exists. - (distclean): Remove md.pre-cpp. +Thu Jun 22 14:25:56 1995 Michael Meissner (meissner@cygnus.com) -Fri Oct 1 15:44:48 1993 Michael Meissner (meissner@osf.org) + * rs6000.h (STRIP_NAME_ENCODING): Store NAME and strlen(NAME) into + local variables; cast result of alloca to avoid compiler warnings. - * halfpic.h (toplevel): Enclose the whole file inside a #ifndef - NO_HALF_PIC conditional. +Tue Jun 20 18:25:29 1995 Douglas Rupp (drupp@cs.washington.edu) - * i386/x-osfrose (CCLIBFLAGS, GCC_CFLAGS): Define NO_HALF_PIC so - that the two common variables in halfpic.h don't get created. + * alpha/config-nt.sed, i386/config-nt.sed: Edit to add + a missing $(exeext) for CCCP. - * mips/x-osfrose (CCLIBFLAGS, GCC_CFLAGS): Ditto. +Tue Jun 20 18:18:00 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Fri Oct 1 10:46:15 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * protoize.c (default_include): Use name and two ints to be + compatible with definition of INCLUDE_DEFAULTS. - * a29k.h (R_KR): New macro. - (FIRST_PSEUDO_REGISTER, FIXED_REGISTERS, CALL_USED_REGISTERS): - Adjust for more registers present. - (REG_ALLOC_ORDER, REG_CLASS_CONTENTS, REGISTER_NAMES): Likewise. - (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK, REGNO_REG_CLASS): Likewise. - (CONDITIONAL_REGISTER_USAGE): Swap names rather than replacing them. - * a29k.c (gpc_reg_operand): Include kernel registers. +Mon Jun 19 19:24:29 1995 Ted Lemon - * a29k.h (TARGET_LARGE_MEMORY): New flag; change value for - all others. - (ENCODE_SECTION_INFO): New macro. - (TARGET_SWITCHES): Add "normal" and change values. + * mips/netbsd.h (ASM_DECLARE_FUNCTION_NAME): Don't emit function label. - * a29k.c (call_operand, case SYMBOL_REF): Handle TARGET_LARGE_MEMORY - and SYMBOL_REF_FLAG. +Mon Jun 19 18:34:55 1995 Jason Merrill -Thu Sep 30 23:25:13 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * fixincludes: Don't define wchar_t under C++. - * reorg.c (optimize_skip): Do not thread a jump to a new target if - doing so would invalidate the insn in the jump's delay slot. +Mon Jun 19 17:12:41 1995 Paul Eggert -Thu Sep 30 14:21:03 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * cccp.c (collect_expansion): Work around enum bug in vax + ultrix 4.3 pcc. + * tree.c (simple_cst_equal): Likewise. - * bi-lexer.c (scan_string): Do xmalloc if buffer is null and - xrealloc if it's not, not the other way around. +Mon Jun 19 16:53:00 1995 Douglas Rupp (drupp@cs.washington.edu) -Thu Sep 30 10:57:30 1993 Jan Brittenson (bson@nutrimat.gnu.ai.mit.edu) + * winnt/spawnv.c: New file. - * bc-emit.c (bc_end_function, seg_data): Use bcopy instead of memcpy. +Mon Jun 19 16:30:29 1995 Glenn Brown -Thu Sep 30 05:53:58 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * caller-save.c (save_call_clobbered_regs): If AUTO_INC_DEC, mark + register indicated by REG_INC notes as live so they will be saved. - * fold-const.c (fold, case PLUS_EXPR, MINUS_EXPR): Properly handle - case when ARG1 splits and VARSIGN is -1. +Mon Jun 19 16:21:12 1995 Jeffrey A Law (law@snake.cs.utah.edu) -Wed Sep 29 19:41:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * pa.h (PRINT_OPERAND_ADDRESS, case LOW_SUM): Fix logic bug + in last change. - * c-typeck.c (build_modify_expr): Check whether recursive calls - return error_mark_node. +Mon Jun 19 14:11:49 1995 Jim Wilson -Wed Sep 29 18:35:30 1993 Leonid Baraz (lbaraz@iil.intel.com) + * integrate.c (integrate_decl_tree): Only set DECL_ABSTRACT_ORIGIN + if the decl returned by pushdecl is the one we started with. - * rtl.h (GEN_INT): Add missing cast to HOST_WIDE_INT. - * jump.c (rtx_renumbered_equal_p, case CONST_INT): Use INTVAL, - not XINT. + * mips.h (current_function_name): Delete declaration. + (ASM_DECLARE_FUNCTION_NAME): Don't set current_function_name. + * gnu.h (ASM_DECLARE_FUNCTION_NAME): Likewise. + * mips.c (current_function_decl): Delete declaration. + (function_prologue): New variable fnname. Use it instead of + current_function_name. + (function_epilogue): Likewise. -Wed Sep 29 17:32:03 1993 Doug Evans (dje@canuck.cygnus.com) +Mon Jun 19 13:13:15 1995 Richard Kenner - * glimits.h (UINT_MAX, ULONG_MAX, ULONG_LONG_MAX): - redefine in a simpler way. + * alpha.h (ASM_OUTPUT_ASCII): Always reset line count when + starting new line. -Wed Sep 29 17:25:17 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) + * scan-decls.c (scan_decls): Fix typo when resetting PREV_ID_START. - * fixincludes (sys/spinlock.h): change references of - "../machine/*.h" to + * i386/config-nt.sed, alpha/config-nt.sed: Change version to 2.7.1. -Wed Sep 29 07:09:50 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Mon Jun 19 13:06:14 1995 DJ Delorie (dj@delorie.com) - * rs6000.c (reg_or_short_operand): Remove redundant test. + * msdos/top.sed: Support new build variables. + * msdos/configur.bat: Make options.h and specs.h. + Change realclean to maintainer-clean. - * sched.c: Add prototypes for static function. - (add_dependence, remove_dependence, regno_use_in): Now static. - (schedule_insns): Have dummy version also take FILE * parameter. +Fri Jun 16 06:54:03 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Wed Sep 29 01:29:31 1993 Paul Eggert (eggert@twinsun.com) + * Version 2.7.0 Released. - * cccp.c (quote_string): New function. - (special_symbol, write_output, output_line_command): Use it to escape - special characters in file names when outputting #line directives. - (do_line): Parse escape sequences in #line directives' file names. - * c-lex.c, cp-lex.c (check_newline, yylex, real_yylex): Likewise. - (ignore_escape_flag): Remove var. + * obstack.c: Always enable this code for now. -Tue Sep 28 21:27:26 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu + * alpha.c (alpha_builtin_saveregs): Use ptr_mode and conversions + when need so works for both OSF and NT. + * va-alpha.h (__va_tsize): Round to long long not long. - * function.c (push_temp_slots, pop_temp_slots): Always change level. - * cp-expr.c (cplus_expand_expr): Push and pop temp slots around - making new temp slots and freeing them. - * expr.c (expand_assignment, expand_expr, do_jumps): Likewise. - * integrate.c (expand_inline_function): Likewise. +Thu Jun 15 17:54:52 1995 Bdale Garbee -Tue Sep 28 18:50:57 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * configure (a29k-*-coff): Synonym for a29k-*-udi. - * reload.c (find_reloads): Don't call find_reloads_toplev - (or anything like that) for match_operator operands. +Thu Jun 15 17:51:21 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * config/ns32k/ns32k.c (output_move_double): Special code for - pushing from an address that uses the sp. Use PUSHOP for pushes, - not POPOP. + * function.c (assign_parms): Do all conversions in CONVERSION_INSNS. - * config/ns32k/ns32k.h (FUNCTION_EPILOGUE, FUNCTION_PROLOGUE): - Add %$ in adjspb/adjspd insns. - * config/ns32k/ns32k.md (recognizer for subtracting const from reg 17): - Add %$ in adjspb/adjspd insns. +Thu Jun 15 17:36:49 1995 Michael Meissner - * bytetypes.h (QItype, HItype, SItype, DItype): Use __signed__. + * reg-stack.c (record_reg_life): Call record_reg_life_pat with 0 + for douse argument so that USE's created to mark variables within + blocks don't get marked as set. - * Makefile.in (stamp-bcopname, stamp-bcopcode): - Use shorter names for temporary files. - (bc-emit.o): Depend on bc-arity.h. +Thu Jun 15 06:28:15 1995 Dennis Glatting (dennisg@CyberSAFE.COM) - * bi-opname.c, bi-arity.c, bi-opcode.c (xmalloc): New function. - * bi-opname.c, bi-arity.c: Include stdio.h. + * configure: Change one sed command to work around m68k-next bug. - * function.c (expand_main_function): Put back accidentally - deleted previous change to use NAME__MAIN. +Wed Jun 14 22:14:39 1995 Jason Merrill - * glimits.h (INT_MAX, LONG_MAX, LONG_LONG_MAX): Delete parens. - (__glimits__evconcat__, __glimits__concat__): New macros. - (UINT_MAX, ULONG_MAX, ULONG_LONG_MAX): Use them. + * collect2.c (main): Don't turn off auto_export because of -g. + (main): Ignore the argument to -o. - * cccp.c (output_dots): New function. - (do_include): Call it (to indent output for print_include_names). + * alpha.h (LINK_SPEC): Don't pass -init __main anymore. + * alpha/osf12.h (LINK_SPEC): Ditto. + * mips/iris5.h (LINK_SPEC): Ditto. -Tue Sep 28 18:22:31 1993 Jim Wilson (wilson@cygnus.com) + * collect2.c (main): Place o_file after an initial .o (like crt0.o). + If we have LD_INIT_SWITCH, use init and fini functions for + executables, too. Specify the unique function names. + (write_c_file_stat): Fix the case of destructors but no constructors. + Don't include the generic-named functions for executables. + (write_c_file): If we have LD_INIT_SWITCH, always use + write_c_file_stat. - * reload1.c (eliminate_regs): All recursive calls now pass INSN - instead of NULL_RTX. Second assignment to ref_outside_mem changed - to be same as first assignment. + * collect2.c (main): Also add _GLOBAL__D? to export list. - * combine.c (force_to_mode, LSHIFTRT case): Avoid shifts larger - than HOST_BITS_PER_WIDE_INT. + * ginclude/iso646.h: Do nothing if compiled as C++. - * sched.c (schedule_insns): Don't zero reg_n_calls_crossed for - pseudos live across multiple blocks. +Wed Jun 14 17:39:10 1995 Roland McGrath (roland@gnu.ai.mit.edu) - * fixincludes ({sparc,sun3,sun3x,sun4,sun4c,sun4m}/asm_linkage.h, - {sun4c,sun4m}/debug/asm_linkage.h: Replace /**/ with ##. + * c-common.c (format_char_info, case 'm'): Set type to void. + (check_format_info): If type is void, ignore operand. - * reorg.c (mark_target_live_regs): When scanning insns, ignore - CLOBBERs in addition to USEs. +Wed Jun 14 17:04:10 1995 Paul F. Kunz (Paul_Kunz@SLAC.Stanford.EDU) - * life.h: Comment that this is for sparclite w/o FPU. - * sparc.h (CPP_SPEC): Handle -mf930 and -mf934. - (TARGET_SWITCHES): Add -mf930 and -mf934 options. -msparclite no - longer does -mno-fpu. + * expr.c (expand_builtin_apply_args): Put back original + register save and restore order. - * fixinc.svr4, fixincludes (math.h): Put #ifndef around HUGE_VAL - define. - * math-68881.h, math-3300.h (HUGE_VAL): Add #undef before HUGE_VAL - define, instead of surrounding it with #ifndef/#endif. +Wed Jun 14 16:56:22 1995 Michael Meissner - * sparc/bsd.h: New file. - * configure (sparc-*-bsd*): New configuration. + * rs6000/eabi.h (INVOKE__main): Define, so __eabi is called after + main's arguments are saved. - * reload.c (form_sum): Change the way that form_sum canonicalizes - addresses, so that it never creates (PLUS (PLUS MEM CONST_INT) REG) - but instead canonicallizes this to (PLUS (PLUS REG CONST_INT) MEM). + * rs6000.c (output_prolog): Don't call __eabi here, let + compiler call it after the arguments to main are saved. + (output_{prolog,epilog}): Don't use functions under V.4 to save + and restore floating point registers. -Tue Sep 28 16:00:25 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Jun 14 16:52:12 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * bc-emit.c: Include gvarargs.h, not varargs.h. - Don't include string.h. - (seg_align): Use bzero, not memset. + * m68k/mot3300.h (PCC_BITFIELD_TYPE_MATTERS): Defined. -Mon Sep 27 20:53:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Jun 14 16:48:53 1995 Jerry Frain (jerry@tivoli.com) - * c-typeck.c (pop_init_level): Add special case for nonincremental - scalar initializers. + * Makefile.in (stage[1-4]): Correctly link `as', `ld', and `collect2'. - * protoize.c: Declare rindex unconditionally. +Wed Jun 14 05:52:04 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * c-decl.c (init_decl_processing): Use signed_type and unsigned_type - to set signed_wchar_type_node and unsigned_wchar_type_node. + * objc-act.c (hack_method_prototype): Set DECL_CONTEXT of parms. -Mon Sep 27 20:31:01 1993 Paul Eggert (eggert@twinsun.com) + * expmed.c (emit_store_flag): Always set LAST. - * dbxout.c (dbxout_init, dbxout_source_file): Quote special - characters when outputting source file names. - * config/a29k/a29k.h, config/a29k/unix.h, config/alpha/alpha.h, - config/i386/aix386ng.h, config/i386/bsd.h, config/i386/gas.h, - config/i386/sun386.h (ASM_FILE_START): Likewise. - * config/elxsi/elxsi.h, config/m68k/3b1.h, config/m68k/crds.h, - config/m68k/mot3300.h, config/m68k/tower-as.h, config/m88k/m88k.h, - dwarfout.c (ASM_OUTPUT_SOURCE_FILENAME): Likewise. - * xcoffout.h, config/i386/i386iscgas.h, config/i860/fx2800.h - (DBX_OUTPUT_MAIN_SOURCE_DIRECTORY, DBX_OUTPUT_MAIN_SOURCE_FILENAME): + * c-decl.c (start_function): New parameter for attributes. + * c-tree.h (start_function): Likewise. + * c-lang.c (finish_file): Pass extra parm to start_function. + * objc-act.c (build_module_descriptor, really_start_method): Likewise. + * c-parse.in (fndef, nested_function, notype_nested_function): Likewise. - * xcoffout.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise. - * config/mips/mips.c (mips_output_filename): Likewise. - * toplev.c (output_file_directive): Likewise. - (output_quoted_string): New function. - -Mon Sep 27 19:31:57 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * bi-lexer.c (xrealloc): Handle 0 passed as BLOCK. - - * Makefile.in (stamp-bcopname, stamp-bcopcode, stamp-bcarity): - Renamed from stamp-bc-... to fit in 14 chars. - Don't rm the .h files. - (STAGESTUFF): Add some bc and bi files. - - * c-lex.c (yylex): Handle i together with f or l in float constant. - -Mon Sep 27 19:00:18 1993 Ian Lance Taylor (ian@cygnus.com) - - * cccp.c (special_symbol, initialize_builtins): If - NO_BUILTIN_SIZE_TYPE is defined, never refer to SIZE_TYPE. - Likewise for NO_BUILTIN_PTRDIFF_TYPE and PTRDIFF_TYPE. - -Mon Sep 27 18:59:09 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * reload1.c (eliminate_regs, SET case): Check for INSN_LIST - along with EXPR_LIST. - -Mon Sep 27 14:29:17 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - - * objc/typedstream.h (objc_read_object): Add declaration. - -Mon Sep 27 17:00:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * configure: Handle option --with-elf. - (i[34]86-*-linux*): Use linuxelf.h if --with-elf. - (i[34]86-*-osfelf): Config deleted. - (i[34]86-*-osfrose): Handle --with-elf. - * config/i386/linuxelf.h: New file. - -Mon Sep 27 14:19:33 1993 Jan Brittenson (bson@nutrimat.gnu.ai.mit.edu) - - * expr.c (bc_expand_constructor): Delete cast of argument to - bc_emit_instruction to HOST_WIDE_INT. Move assignment of ptroffs - to separate line. - -Mon Sep 27 10:32:28 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * Makefile.in (stmt.o, expr.o, emit-rtl.o): Add missing dependency - on bc-typecd.def. - (bi-run.o): Fix formatting. - -Mon Sep 27 10:26:43 1993 Jan Brittenson (bson@nutrimat.gnu.ai.mit.edu) - - * Makefile.in (bi-arity.h, bc-opcode.h, bc-opname.h): Use - move-if-changed. - (stamp-bc-arity, stamp-bc-opcode, stamp-bc-opname): New targets. - -Sun Sep 26 23:11:34 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * pa.h (ASM_FILE_START): Remove last change for $LIT$ subspace, - not all HPUX linkers handle it correctly. - -Sun Sep 26 20:51:36 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * stmt.c (expand_exit_loop_if_false, bc_expand_start_cond): - Use xjumpifnot, not jumpifnot. - - * Makefile.in (bi-arity, bi-opcode, bi-opname): Delete $(LEXLIB). - - * varasm.c (assemble_string): Put braces around ASM_OUTPUT_ASCII. - -Sat Sep 25 08:30:16 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * expr.c (expand_expr, case COND_EXPR): Set MEM_IN_STRUCT_P - properly for TEMP. - - * combine.c (BYTE_LOADS_EXTEND, LOAD_EXTEND): Deleted. - (subst, force_to_mode, nonzero_bits, num_sign_bit_copies): - Use new macros LOAD_EXTEND_OP and WORD_REGISTER_OPERATION instead - of BYTE_LOADS_*_EXTEND and LOAD_EXTEND. - * expr.c (do_store_flag): Likewise. - * reload.c (push_reload, find_reloads): Likewise. - * reload1.c (eliminate_regs): Likewise. - * a29k.h, alpha.h, clipper.h, arm.h, i960.h, m88k.h, mips.h: - Use WORD_REGISTER_OPERATION and LOAD_EXTEND_OP and delete - BYTE_LOADS_{SIGN,ZERO}_EXTEND. - * pa.h, romp.h, rs6000.h, sh.h, sparc.h: Likewise. - -Sat Sep 25 06:19:20 1993 Jan Brittenson (bson@nutrimat.gnu.ai.mit.edu) - * bi-lexer.l: Deleted. + * function.c (assign_parms): Use convert_to_mode instead of + gen_lowpart when converting incoming parm. - * bi-lexer.c: New file. +Tue Jun 13 19:10:32 1995 Richard Kenner - * Makefile.in (bi-lexer): Deleted. - (bi-lexer.l): Deleted. + * rs6000.md (decrement_and_branch): Finish last fix; update matching + constraint. -Fri Sep 24 16:59:03 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Tue Jun 13 18:32:51 1995 Torbjorn Granlund - Cygnus<->FSF C++ front-end merge. + * fold-const.c (fold): When converting a COND_EXPR to an ABS_EXPR, + get the types right for ABS_EXPR to work. - Tue Sep 21 19:17:29 1993 Mike Stump (mrs@cygnus.com) +Mon Jun 12 17:09:55 1995 Michael Tiemann (tiemann@axon.cygnus.com) - * cp-decl.c (build_ptrmemfunc_type): Set CLASSTYPE_GOT_SEMICOLON - just in case. - * cp-decl.c (start_function): Exclude pointer to member functions in - IS_AGGR_TYPE test. - * cp-method.c (dump_type_prefix, dump_type_suffix, dump_type): - Handle pointer to member functions. + * reorg.c (fill_simple_delay_slots): Set MAYBE_NEVER according to + code of TRIAL_DELAY, not TRIAL. - Tue Sep 21 10:47:10 1993 Mike Stump (mrs@cygnus.com) +Mon Jun 12 15:02:37 1995 Doug Evans - * cp-tree.c (finish_struct): Since we know which base class we want - the binfo for, get it directly, instead of searching for it. Cures - a compiler_error in binfo_value. + * configure: Restore code to make ld symlink if ! use_collect2. - Thu Sep 16 20:33:25 1993 Mike Stump (mrs@cygnus.com) + * gcc.c (link_command_spec): Undo patch of May 11. + -nostdlib implies -nostartfiles again. + * dsp16xx.h (CROSS_LINK_SPEC): Likewise. + * i386/freebsd.h (LINK_SPEC): Undo patch of May 24. + Don't pass "-e start" if nostdlib. + * i386/sun.h (LINK_SPEC): Likewise. + * m68k/sun2o4.h (LINK_SPEC): Likewise. + * m68k/sun3.h (LINK_SPEC): Likewise. + * m68k/vxm68k.h (LINK_SPEC): Likewise. + * mips/netbsd.h (LINK_SPEC): Likewise. + * config/netbsd.h (LINK_SPEC): Likewise. + * rs6000/mach.h (LINK_SPEC): Likewise. + * sparc.h (LINK_SPEC): Likewise. + * sparc/vxsparc.h (LINK_SPEC): Likewise. - * cp-cvt.c (convert_pointer_to): Make error more specific and more - readable. + * gcc.c (link_command_spec): New argument -nodefaultlibs. - Thu Sep 16 20:14:18 1993 Mike Stump (mrs@cygnus.com) +Sun Jun 11 20:47:53 1995 Stephen L Moshier (moshier@world.std.com) - * cp-lex.c (consume_string): Add second argument so that we can use - this routine for character constants too. Also, handle eof inside - the string or character constant better. Make static, as it isn't - used anyplace else. + * Makefile.in (fix-header.o): Depends on xsys-protos.h. - * cp-lex.c (reinit_parse_for_block): Add second argument to - consume_string. Add support for character constants. +Sun Jun 11 15:07:58 1995 Tim Carver (timc@ibeam.intel.com) - * cp-tree.h (consume_string): Remove declaration, not used any place - else. + * reload1.c (emit_reload_insns): Don't call HARD_REGNO_NREGS + on psuedo when clearing reg_last_reload_reg. - Wed Sep 15 12:44:13 1993 Per Bothner (bothner@kalessin.cygnus.com) +Sun Jun 11 14:07:05 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * cp-gc.c (build_t_desc): Make sure finish_table is called - for the methods and ivars tables. + * m68k.md ({add,sub}di{_mem,3}): Patterns merged. - Mon Sep 13 14:40:23 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Sun Jun 11 13:43:26 1995 Torbjorn Granlund - * cp-pt.c (unify): Use the referent type if necessary. + * m68k.md (cmpdi matcher): Set cc_status before returning. - Fri Sep 10 16:34:37 1993 Mike Stump (mrs@cygnus.com) + * config/xm-freebsd.h (DONT_DECLARE_SYS_SIGLIST): Define. - * cp-typeck.c (build_binary_op_nodefault): Add missing fourth - argument to build_binary_op calls, and eliminate bogus delta2 - check. +Sun Jun 11 13:38:49 1995 Jason Merrill - Fri Sep 10 14:52:59 1993 Mike Stump (mrs@cygnus.com) + * fixincludes (math.h): Keep declaration of abs on HPUX. - * cp-typeck.c (build_binary_op_nodefault): Make sure delta2's match - when comparing pointers to _virtual_ member functions. +Sun Jun 11 12:31:42 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Fri Sep 10 14:27:45 1993 Mike Stump (mrs@cygnus.com) + * stor-layout.c (variable_size): Do nothing if SIZE is constant. - * cp-typeck.c (convert_for_assignment): Revert a cast. - * cp-typeck.c (build_binary_op_nodefault): Add missing fourth - argument to build_binary_op calls. + * stmt.c (expand_asm_operands): See if output operand permits + register. If not, mark output addressable, call expand_operand + on it, and give error if not MEM. - Thu Sep 9 21:22:40 1993 Mike Stump (mrs@cygnus.com) + * function.c (assign_parms): Handle promotions of both + passed and nominal modes separately and insert needed conversions. + (promoted_input_arg): Return 0 if nominal and passed modes differ. - Complete re-vamp of pointer to member functions. Implements - complete semantics. Cures problems on CONVEX, i960 and alpha. + * stmt.c (all_cases_count, case INTEGER_TYPE): Fix typo in checking + for integer bounds. - * cp-tree.h (get_member_function_from_ptrfunc, build_ptrmemfunc): - New routines. - * cp-decl.c (build_ptrmemfunc_type): New routine, builds canonical - pointer to member function types. - * cp-decl.c (grokdeclarator): Use new type for POINTER_TYPE to - METHOD_TYPEs. - * cp-method.c (build_overload_name): Make the old mangling to show - through when mangling the new pointer to member function type. +Sat Jun 10 08:55:25 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-tree.h (TYPE_PTRMEMFUNC_P, TYPE_PTRMEMFUNC_FN_TYPE, - TYPE_GET_PTRMEMFUNC_TYPE, TYPE_SET_PTRMEMFUNC_TYPE): New macros - for pointer to member function code. - * cp-init.c (resolve_offset_ref): Handle pointer to member functions - specially. - * cp-type2.c (store_init_value): Make new pointer to member - functions initializable. - * cp-typeck.c (convert_for_assignment): Make new pointer to member - functions assignable. - * cp-type2.c (build_m_component_ref): Make new pointer to member - functions work. - * cp-typeck.c (build_x_function_call, build_function_call_real, - build_binary_op): Ditto. - * cp-class.c (add_virtual_function): Don't set the high bit on - DECL_VINDEXs. + * libgcc2.c (_floatdidf): Correctly set float sizes. - * cp-typeck.c (get_member_function_from_ptrfunc): New routine to - resolve a pointer to member function. - * cp-typeck.c (build_ptrmemfunc): New routine to build CONSTRUCTORs - for new pointer to member functions. Used by to generate - initialization and assignment expressions. - * cp-typeck.c (build_binary_op_nodefault): Implement == and != for - new pointer to member functions. - * cp-typeck.c (unary_complex_lvalue): Handle & in more reasonable - ways to make new pointer to member functions work. + * c-decl.c (c_decode_option, case "-Wall"): Don't set extra_warnings. - * cp-parse.y (expr_no_commas): Don't dereference the second - argument, this is now done in build_m_component_ref as needed. - * cp-typeck.c (build_x_binary_op): Ditto. + * Makefile.in (cpplib.o, fix-header.o): Update dependencies. + (cpperror.o, cppexp.o, cpphash.o): New rules, to show .h dependencies. - Other misc work. +Fri Jun 9 18:06:10 1995 Doug Evans - * cp-call.c (build_field_call, build_scoped_method_call, - build_method_call): Second arg to build_indirect_ref should be - NULL_PTR, not NULL or 0. - * cp-class.c (build_vbase_path, build_vfn_ref, popclass): Ditto. - * cp-cvt.c (convert_from_reference): Ditto. - * cp-decl2.c (setup_vtbl_ptr, finish_file): Ditto. - * cp-init.c (emit_base_init, build_virtual_init, - expand_aggr_vbase_init_1, expand_recursive_init_1, - get_member_function, resolve_offset_ref, build_new, build_delete, - build_vec_delete): Ditto. - * cp-search.c (dfs_init_vbase_pointers, init_vbase_pointers, - build_vbase_vtables_init): Ditto. - * cp-type2.c (build_x_arrow, build_functional_cast): Ditto. - * cp-typeck.c (build_modify_expr): Ditto. + * cse.c (cse_basic_block): Fix test for whether block ends with a + barrier. Return next insn, not 0, if block ends in a barrier. - Instead of calling get_identifier with the same value all the time, - call it once, and re-use the cached value. +Fri Jun 9 17:58:29 1995 Paul Eggert - * cp-decl.c (pfn_identifier, index_identifier, delta_identifier, - delta2_identifier): New cached calls to get_identifier. - * cp-tree.h (this_identifier, pfn_identifier, index_identifier, - delta_identifier, delta2_identifier): Allow them to be accessed - everywhere. - * cp-decl.c (init_decl_processing): Initialize pfn_identifier, - index_identifier, delta_identifier and delta2_identifier and - use a cached get_identifier call. - * cp-class.c (delta_name, pfn_name): Removed, use delta_identifier - and pfn_identifier instead. - * cp-class.c (popclass): Use a cached get_identifier call for `this'. + * fold-const.c (lshift_double): Replace `&' with `%' to fix typo. + ([lr]shift_double): Truncate shift count only if SHIFT_COUNT_TRUNCATED. + Remove unnecessary `count >= prec' test. - Tue Sep 7 16:01:14 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * cexp.y (left_shift): Ignore integer overflow. - * cp-search.c (immediately_derived): New function. - (get_binfo): Use it. - (compute_visibility): Rewrite how private inheritance is handled, so - it actually works. Use the new immediately_derived fn. + * cexp.y (skip_evaluation): New variable. + (&&, ||, ?:): Increment it in unevaluated subexpressions. + (/, %, integer_overflow): Suppress diagnostics if skip_evaluation != 0. + (yyerror): Clear skip_evaluation. - Mon Sep 6 14:44:46 1993 Jim Wilson (wilson@sphagnum.cygnus.com) +Fri Jun 9 17:49:05 1995 Torbjorn Granlund - * cp-decl.c (grokfndecl): Add empty statement after foundaggr label. + * m68k.md (tstdi): Rewrite. - Sat Sep 4 16:12:27 1993 Jason Merrill (jason@deneb.cygnus.com) +Fri Jun 9 17:28:55 1995 Per Bothner - * cp-decl.c (grokfndecl): Require class or enum argument to - operators. + * scan-decls.c (scan_decls): Handle declarations with + multiple comma-separated declarators. - * cp-init.c (build_member_call): Make destructor without object - error more useful, don't complain of missing destructor. +Thu Jun 8 19:16:12 1995 Richard Earnshaw (rearnsha@armltd.co.uk) - Thu Sep 2 15:51:54 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * arm.md (mov[sd]f expands): Don't allow fp constants in pseudos + when TARGET_SOFT_FLOAT. - * cp-decl.c (globalize_nested_type): Make sure the type in question - has a lang_specific area before trying to clear DECL_CLASS_CONTEXT. +Thu Jun 8 19:11:43 1995 Jim Wilson - Wed Sep 1 13:40:30 1993 Chip Salzenberg (chip@fin) + * expmed.c (store_split_bit_field): When adjust arg in + BYTES_BIT_ENDIAN case, use number of bits in arg for MEM operands + and BITS_PER_WORD for other operands. + (extract_fixed_bit_field): Undo last change. - * cp-decl.c (start_function): Call duplicate_decls when user - redefines a builtin function. + * unroll.c (verify_addresses): New function. + (find_splittable_givs): Use it instead of memory_address_p. - Thu Sep 2 15:38:43 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Thu Jun 8 18:58:18 1995 Torbjorn Granlund - * cp-pt.c (instantiate_class_template): Only kick back the local - value if we're setting things up for the parser. + * expmed.c (expand_divmod): Always check result of emit_store_flag. - Wed Sep 1 12:54:38 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Thu Jun 8 12:02:34 1995 David D Zuhn (zoo@armadillo.com) - * cp-init.c (emit_base_init): Don't complain if the base has no - constructor; we should try to use the default constructor instead. + * cpplib.c (cpp_push_buffer): Include filename in error message. - Wed Sep 1 11:57:00 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Thu Jun 8 11:53:45 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-call.c (find_scoped_type): Undo the sorry for now, it's hitting - a lot of code that it shouldn't be. + * function.c (assign_parms): Don't call promote_mode on arg + unless PROMOTE_FUNCTION_ARGS defined. - Mon Aug 30 13:08:48 1993 Mike Stump (mrs@cygnus.com) + * rs6000.md (decrement_and_branch): Ensure label is operand 0. - * cp-typeck.c (build_x_unary_op): unary & on an expression of - RECORD_TYPE that has an incomplete type gives the simple address of - the object, and should not give an error about method not found. + * rs6000.md (aux_truncdfsf2): New pattern. + (movsf): Use it instead of invalid SUBREG and truncdfsf2. - Mon Aug 30 11:06:26 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * varasm.c (assemble_name): Disable warn_id_clash around + get_identifier call. - * cp-pt.c (instantiate_class_template): Don't try to instantiate a - template that's already being worked on. +Wed Jun 7 17:22:25 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * cp-init.c (perform_member_init): Make an uninitialized reference - be a pedwarn, not a warning. + * configure (gdb_needs_out_file_path): New variable. + (m68k-motorola-sysv): Set gdb_needs_out_file_path if not using gas. + (.gdbinit): If gdb_needs_out_file_path is set, add a 'dir' command + for $(out_file). - * cp-class.c (finish_struct): Make declaration of a negative width - for a bit-field be an error, not a warning. +Wed Jun 7 17:17:19 1995 Torbjorn Granlund - Sat Aug 28 09:40:47 1993 Michael Tiemann (tiemann@blues.cygnus.com) + * fold-const.c (fold): When folding `<' type nodes, make true_value + and false_value have correct types. - * cp-call.c (find_scoped_type): Add a `sorry' call if we hit an - uninstantiated type. +Wed Jun 7 05:06:42 1995 Jason Merrill - Thu Aug 26 13:53:23 1993 Jason Merrill (jason@deneb.cygnus.com) + * collect2.c (COFF scan_prog_file): Use the AIX duplicate entry. - * cp-call.c (build_scoped_method_call): Don't produce an error - if the type has no destructor. +Tue Jun 6 18:43:09 1995 Jeffrey A Law (law@snake.cs.utah.edu) - * cp-decl.c (record_builtin_type): Don't set TYPE_HAS_DESTRUCTOR - after all. + * pa.h (FUNCTION_ARG_CALLEE_COPIES): Define. - Wed Aug 25 19:10:24 1993 Jason Merrill (jason@deneb.cygnus.com) +Tue Jun 6 18:21:18 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-call.c (build_method_call): Check for class type value as - well + * expr.c (expand_expr, case PLACEHOLDER_EXPR): Consider two types + identical if their TYPE_MAIN_VARIANTs are the same. - * cp-tree.h (IDENTIFIER_CLASS_TYPE_VALUE): Create macro - (IDENTIFIER_HAS_CLASS_TYPE_VALUE): Ditto + * c-decl.c (start_decl): Set DECL_COMMON before calling + decl_attributes. - * cp-init.c (is_aggr_typedef): Check for class type value as well - (for template destructors) - (build_delete): Don't assert aggregate type, don't check - TREE_GETS_DELETE if built-in type. + * a29k.c (print_operands): Cast args to bcopy to char *. -Fri Sep 24 15:57:14 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) + * c-decl.c (duplicate_decls): Don't clear DECL_CONTEXT of + new decl if it is a function. - * rtl.h: (HARD_FRAME_POINTER_REGNUM): New macro. - (hard_frame_pointer_rtx): New variable - * combine.c: (combinable_i3_pat): Don't add REG_DEAD notes for - HARD_FRAME_POINTER_REGNUM. - (subst, case SUBREG): Don't change register number or mode if it - is HARD_FRAME_POINTER_REGNUM. - * cse.c: (FIXED_REGNO_P): HARD_FRAME_POINTER_REGNUM is fixed. - (CHEAP_REG): HARD_FRAME_POINTER_REGNUM is cheap. - (FIXED_BASE_PLUS): Allow hard frame pointer as base. - (NONZERO_BASE_PLUS_P): Likewise. - (cannon_hash, case REG): Add HARD_FRAME_POINTER_REGNUM to list of - special registers for SMALL_REGISTER_CLASSES. - (find_best_addr): Addresses containing HARD_FRAME_POINTER_REGNUM - cannot be replaced. - (cse_main): value in HARD_FRAME_POINTER_REGNUM is preserved across - calls. - * dbxout.c: (dbxout_symbol): FRAME_POINTER_REGNUM has been eliminated - by now, use HARD_FRAME_POINTER_REGNUM. - * emit-rtl.c: (hard_frame_pointer_rtx): New variable. - (gen_rtx): return hard_frame_pointer_rtx if generating rtl - for HARD_FRAME_POINTER_REGNUM. - (enit_emit_once): Generate initial rtl for hard_frame_pointer_rtx. - * explow.c: (copy_all_regs): Don't copy HARD_FRAME_POINTER_REGNUM. - * flow.c: (life_analysis): Mark HARD_FRAME_POINTER_REGNUM as live at - the end of the function. - (insn_dead_p): Don't delete insns that set the hard frame pointer. - (mark_set_1): Don't add death information about - HARD_FRAME_POINTER_REGNUM. - (mark_used_regs, case REG): Don't put HARD_FRAME_POINTER_REGNUM in - regs_ever_live. Don't mark it as needed either. - * function.c: (instantiate_virtual_regs_1, case MEM): references to - MEM via the hard frame pointer shouldn't be copied. - * genattrtab.c: (hard_frame_pointer_rtx): New Dummy definition. - * global.c: (global_alloc): Make sure that it is always possible to - eliminate FRAME_POINTER_REGNUM into HARD_FRAME_POINTER_REGNUM. - * jump.c: (thread_jumps): Value in HARD_FRAME_POINTER_REGNUM is never - modified by a call. - * local-alloc.c: (find_free_reg): Make sure we will always be able - to eliminate FRAME_POINTER_REGNUM into HARD_FRAME_POINTER_REGNUM. - * loop.c: (invariant_p, case REG): hard_frame_pointer_rtx is - invariant. - * reload.c: (immune_p): Constants never overlap hard frame pointer - references. - (find_reloads_address): Compute invalid references to the hard - frame pointer in a register; also (reg + const) - and (reg + reg + const). +Tue Jun 6 17:57:44 1995 Eberhard Mattes (mattes@azu.informatik.uni-stuttgart.de) - * reload1.c: (init_reload): use HARD_FRAME_POINTER_REGNUM instead of - FRAME_POINTER_REGNUM. - (reload): Only prohibit elimination of HARD_FRAME_POINTER_REGNUM, not - FRAME_POINTER_REGNUM if frame_pointer_needed. Never prohibit - elimination of FRAME_POINTER_REGNUM into HARD_FRAME_POINTER_REGNUM. - Mark HARD_FRAME_POINTER_REGNUM as live at the start of a block if - it is still needed after elimination. - (eliminate_regs): For non-local goto's, don't delete stores into the - hard frame pointer. - (eliminate_regs_in_insn): adjust comment. - (mark_not_eliminable): if frame_pointer_rtx and hard_frame_pointer_rtx - are not the same, then frame_pointer_rtx is eliminable; - hard_frame_pointer_rtx never is if it is set.. - (order_regs_for_reload): HARD_FRAME_POINTER_REGNUM is a bad spill reg. - (choose_reload_regs): HARD_FRAME_POINTER_REGNUM is a bad choice. - * reorg.c: (mark_referenced_resource): if frame_pointer_needed, - HARD_FRAME_POINTER_REGNUM is also a referenced resource. - (mark_target_live_regs): value in HARD_FRAME_POINTER_REGNUM is not - call-clobbered. - (dbr_schedule): HARD_FRAME_POINTER_REGNUM should be valid at the - end of a function. - * rtlanal.c: (rtx_unstable_p): HARD_FRAME_POINTER_REGNUM is not - an unstable register. - (rtx_varies_p, case REG): hard_frame_pointer_rtx is invariant. - (rtx_addr_can_trap_p, case REG): hard_frame_pointer_rtx won't trap. - * sched.c: (memrefs_conflict_p): We can work out whether references - via hard_frame_pointer_rtx are likely to conflict. - (attach_deaths, case REG): Don't add death notes for - HARD_FRAME_POINTER_REGNUM. - * sdbout.c: (sdbout_symbol): Use HARD_FRAME_POINTER_REGNUM instead of - FRAME_POINTER_REGNUM. - * stmt.c: (expand_goto): Set hard_frame_pointer_rtx when restoring - the frame. Use it when restoring other registers. - (expand_end_bindings): ARG_POINTER_REGNUM will be eliminated into - HARD_FRAME_POINTER_REGNUM, not FRAME_POINTER_REGNUM; adjust code - accordingly. - * stupid.c: (stupid_find_reg): never use HARD_FRAME_POINTER_REGNUM. + * gcc.c (do_spec_1, case 'g'): Handle %O as suffix if MKTEMP_EACH_FILE. -Fri Sep 24 15:05:14 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Jun 6 17:53:05 1995 Michael Meissner - * reload1.c (eliminate_regs): Specially handle the case where INSN - is a note (an EXPR_LIST or INSN_LIST). - (eliminate_regs_in_insn): Pass the notes as INSN, - when calling eliminate_insn to process the notes. + * rs6000.c (expand_block_move): Update source and destination pointers + inside the loop moving the bytes, not outside. -Fri Sep 24 11:29:26 1993 Michael Meissner (meissner@osf.org) +Tue Jun 6 14:58:37 1995 Andreas Schwab - * i386/osfrose.h (SET_ASM_OP): Define. + * m68k.h (CONDITIONAL_REGISTER_USAGE): Don't mark pic reg as fixed. + * m68k.c (finalize_pic): Emit USE insn at start and end of function. -Fri Sep 24 04:47:33 1993 Jan Brittenson (bson@nutrimat.gnu.ai.mit.edu) +Tue Jun 6 13:46:57 1995 Jim Wilson - * Makefile.in (toplev.o): Add bytecode.h and bc-emit.h to list - of dependencies. - (stmt.o): Add bytecode.h, bc-typecd.h, bc-opcode.h, bc-optab.h, - and bc-emit.h to list of dependencies. - (expr.o): Add bytecode.h, bc-opcode.h, bc-typecd.h, bc-optab.h, - bc-emit.h, and modemap.def to list of dependencies. - (emit-rtl.o): Add bytecode.h, bc-opcode.h, bc-typecd.h, - bc-optab.h, bc-emit.h, bc-opname.h to list of dependencies. - (integrate.o, regclass.o, varasm.o, function.o): Add bytecode.h to - list of dependencies. - -Thu Sep 23 23:58:58 1993 James Van Artsdalen (james@bigtex.cactus.org) - - * att.h (ASM_OUTPUT_ASCII): Enclose macro in "do { .. } while (0)". - * sun386.h (ASM_OUTPUT_ASCII): Likewise. - -Thu Sep 23 11:55:47 1993 Ted Lemon (mellon@ncd.com) - - * toplev.c (lang_options): Add -fallow-single-precision. - -Thu Sep 23 00:40:28 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Makefile.in (bi-parser.c): Supply explicit rule. - Add bi-parser.h as target. - Put these files in srcdir. - - * bc-emit.c (bc_gen_rtx): Call gen_rtx. - (bc_print_rtl): #if 0 the contents. - - * Makefile.in (bc-optab.o, bc-emit.o): Add missing deps. - (bi-parser.c, bi-lexer.c): Don't depend on .h files here. - - * varasm.c (handle_pragma_weak): Test HANDLE_PRAGMA_WEAK - and WEAK_ASM_OP and SET_ASM_OP. - - * Makefile.in (stmt.o): Fix typo. - - * emit-rtl.c (gen_label_rtx): If output_bytecode, make a CODE_LABEL - but with different contents. - - * rtl.h (BYTECODE_LABEL, BYTECODE_OFFSET, BYTECODE_BC_LABEL): - (BYTECODE_UID): New macros. - (struct rtx_def): Delete elements label, offset, bc_label, uid. - - * Makefile.in (bc-arity.h, bc-opcode.h, bc-opname.h): Use `./'. - (bi-arity, bi-opcode, bi-opname, bi-lexer): Use host compiler. - Link with HOST_LIBS and depend on HOST_LIBDEPS. - (bi-unparse): Deleted. - (bytecode.distclean): Don't do anything with bi-unparse - (bi-arity.o, bi-opcode.o, bi-opname.o, bi-parser.o, bi-reverse.o) - (bi-lexer.o): Use host compiler. - - * expr.c (expand_increment): Don't store directly ito a subreg - that is narrower than a word. - -Wed Sep 22 22:18:35 1993 Chip Salzenberg (chip@fin.uucp) - - * combine.c (init_reg_last_arrays): New function. - (combine_instructions): Use it. - (force_to_mode): Narrow mask to fit mode (except VOIDmode). - (record_value_for_reg): When zeroing reg_last_set_value, also - zero reg_last_set_{mode,nonzero_bits,sign_bit_copies}. - (record_dead_and_set_regs): Likewise. - -Wed Sep 22 22:13:07 1993 James Van Artsdalen (james@bigtex.cactus.org) - - * bc-emit.c (bc_initialize): Add MODE arg to REAL_VALUE_ATOF calls. - - * Makefile.in (bi-lexer.c): File is in $(srcdir). - - * reg-stack.c (record_label_references): Don't follow a null label - reference chain. - -Wed Sep 22 15:56:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Makefile.in (bi-arity, bi-opcode, bi-opname, bi-unparse, bi-lexer): - Make the rules explicit. Don't use $^. - (bi-run.o, bi-parser.o, bi-lexer.o): Eliminate $<. - (bc-arity.h, bc-opcode.h, bc-opname.h): Eliminate $< and $@. - - * c-typeck.c (set_init_index): Handle and allow CONST_DECL. - (build_c_cast): When making a CONSTRUCTOR for a union cast, - specify its type. - - * Makefile.in (bi-lexer.o, bi-parser.o): Use ALL_CFLAGS. - - * bi-arity.c (main): Make sure there's some value within - each pair of braces. - - * expr.c (bc_adjust_stack): Use VALIDATE_STACK_FOR_BC, - not VALIDATE_STACK. - * bc-emit.c (bc_emit_bytecode): Likewise. - (bc_emit_instruction) [! __GNUC__]: Don't really use bc-typecd.def. - - * varasm.c (bc_assemble_integer): Make definition static. - - * expr.c (bc_strdup): Don't use strcpy's value. - - * bytetypes.h: New file. Typedefs moved from bytecode.h. - (union stacktype): Moved here. - * bytecode.h: Typedefs deleted. - * bi-run.h: (union stacktype): Deleted. - (BI_PARAMS): Don't continue the parmlist. - * bc-emit.c: Include bytetypes.h, if __GNUC__. - -Wed Sep 22 15:49:47 1993 Ted Lemon (mellon@ncd.com) - - * c-decl.c (flag_allow_single_precision): New variable. - (c_decode_option): Handle -fallow-single-precision. - * c-tree.h (flag_allow_single_precision): Declared. - * c-typeck.c (default_conversion): Implement -fallow-single-precision. - -Wed Sep 22 11:18:24 1993 Mike Stump (mrs@cygnus.com) - - * cp-class.c (finish_struct): Move special C++ only code that - handles anonymous unions inside structures here. - * stor-layout.c (layout_record): From here. - -Wed Sep 22 14:14:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * enquire.c (FPROP): Recognize 80387 or 68881 XFmode format. - - * c-typeck.c (build_component_ref): For a field in an anonymous union, - make two nested COMPONENT_REFs. - (lookup_field): Additional arg INDIRECT. - -Wed Sep 22 14:45:42 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - - * tm.texi (CLEAR_INSN_CACHE): New macro. - * libgcc2.c (__clear_cache): add case for new CLEAR_INSN_CACHE. - - * libgcc2.c (__enable_execute_stack): Add case for NeXT/__MACH__. - * config/m68k/next.h (INITIALIZE_TRAMPOLINE): Append call to - __enable_execute_stack. - (CLEAR_INSN_CACHE): New macro. - - * varasm.c (output_constructor): Use the type given - by the constructor expression only if available. Otherwise - use the type of the declared type. - -Tue Sep 21 19:51:26 1993 Andrew McCallum (mccallum@vein.cs.rochester.edu) - - * objc/Object.[hm] (-compare:, -shouldNotImplement:): Added. - - * objc/archive.c (objc_write_type, objc_write_types): Take - take char** args for writing strings in stead of char* to - match NeXT. Also correct some typos in error messages. - -Tue Sep 21 18:35:04 1993 Per Bothner (bothner@kalessin.cygnus.com) - - * c-typeck.c (push_member_name): Take a decl instead of a string. - Allow DECL_NAME to be NULL (anonymous fields). - * c-typeck.c (push_init_level, process_init_element): Change - callers appropriately. - -Tue Sep 21 16:44:17 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * libgcc2.c (L_bb): Test inhibit_libc. - - * Makefile.in (ENQUIRE, CROSS_TEST): New variables. - (all.cross): Use them. - - * mips-tfile.c, mips-tdump.c [CROSS_COMPILE]: Include mips/a.out.h. - - * arm.h, clipper.h, i386.h, i860.h, pyr.h, spur.h: - (INIT_CUMULATIVE_ARGS): Pass just the return value type - to aggregate_value_p. - -Tue Sep 21 10:50:19 1993 Jan Brittenson (bson@nutrimat.gnu.ai.mit.edu) - - * emit-rtl.c (gen_label_rtx, emit_line_note): add conditional for - bytecode. - - * expr.c (mode_to_const_map, mode_to_load_map, mode_to_store_map): - new variable. - (bc_init_mode_to_opcode_maps): new function; initialize maps. - (expand_assignment, expand_expr, expand_increment): add - conditional for bytecode. - (bc_expand_expr, bc_load_memory, bc_store_memory, - bc_allocate_local, bc_allocate_variable_array, bc_load_externaddr, - bc_strdup, bc_load_externaddr_id, bc_load_localaddr, - bc_load_parmaddr, bc_canonicalize_array_ref, - bc_expand_component_address, bc_push_offset_and_size, - bc_expand_address, bc_runtime_type_code, bc_gen_constr_label, - bc_expand_constructor, bc_store_field, bc_store_bit_field, - bc_load_bit_field, bc_adjust_stack): new function. - - * function.c (put_var_into_stack, expand_main_function): do - nothing for bytecode. - (bc_build_calldesc): new function. - (init_function_start): use it if outputting bytecode. - (expand_function_start, expand_function_end): add conditional for - bytecode. - (bc_expand_function_start, bc_expand_function_end): new function. - - * integrate.c (output_inline_function): signal error for bytecode. - - * regclass.c (fix_register): signal error for bytecode. - - * stmt.c (struct nesting): new members bc_stack_level, skip_label). - (struct goto_fixup): new members bc_target, label, bc_handled, - bc_stack_level. - (emit_nop, expand_computed_goto, expand_label, expand_goto, - expand_goto_internal, fixup_gotos, expand_asm, - expand_asm_operands, expand_expr_stmt, expand_start_expr_stmt, - expand_end_expr_stmt, expand_start_cond, expand_start_else, - expand_end_cond, expand_start_loop, expand_loop_continue_here, - expand_end_loop, expand_exit_loop_if_false, expand_null_return, - expand_return, expand_start_bindings, expand_end_bindings, - expand_decl, expand_start_case, pushcase, - check_for_full_enumeration, expand_end_case): add conditional for - bytecode. - (bc_expand_goto_internal, bc_expand_fixup, bc_fixup_gotos, - bc_expand_start_cond, bc_expand_end_cond, bc_expand_start_else, - bc_expand_end_bindings, bc_expand_decl, - bc_expand_variable_local_init, bc_expand_decl_init, - bc_expand_start_case, bc_pushcase, - bc_check_for_full_enumeration_handling, bc_expand_end_case, - bc_new_uid): new function. - - * toplev.c (output_bytecode): new variable. - (f_options): add entry for -fbytecode. - (fatal_insn_not_found, compile_file, rest_of_decl_compilation, - rest_of_compilation, main): add conditional for bytecode. + * sh.c (print_operand): Check for annulled branches. + (output_movedouble): Handle SUBREG addresses. + (output_branch): Handle annulled branches. + (sh_expand_prologue): Correct number of saved registers for + varargs functions. + * sh.h: Add some comments. + * sh.md: Add some comments. Cleanup formatting. + (type attribute): Add pstore and call. + (return define_delay): Reorganize to make clearer. + (call/sfunc define_delay): Define. + (cbranch define_delay): Define to have annul-true delay slot. + (subsi3): Use arith_reg_operand for operand 2. + (shift patterns): Use const_int_operand instead of immediate_operand + for shift counts. + (push): Add pstore constraint case. + (movsi_i): Move t/z constraint pair to the front of the list. + (calli, call_valuei): Add "call" attribute. - * config/m68k/m68k.c config/m68k/m68k.h: add bytecode specific - definitions. - - * varasm.c (text_section, data_section, make_function_rtl, - make_decl_rtl, assemble_asm, assemble_start_function, - assemble_zeros, assemble_string, assemble_variable, - assemble_external, assemble_external_libcall, assemble_label, - assemble_name, assemble_static_space, - assemble_trampoline_template, assemble_integer, assemble_real, - decode_addr_const, output_constant_def, output_constant_pool, - output_constant, output_constructor): add conditional for - bytecode. - (bc_output_constructor, output_byte_asm, bc_make_rtl, - bc_output_data_constructor, bc_assemble_integer): - new function. - (handle_pragma_weak): break out asm writing code from - handle_pragma_token, move to varasm.c, so bytecode-specific - macros can access static varasm data and functions. - - * c-pragma.c (handle_pragma_token): use handle_pragma_weak. - - * function.h (enum pragma_state): moved from c-pragma.c - - * bc-config.h, bc-emit.c, bc-optab.c, bc-optab.h, bc-trans.h, - bc-typecd.def, modemap.def, bytecode.def, bc-emit.h, bc-typecd.h, - bi-arity.c, bi-defs.h, bi-lexer.c, bi-opcode.c, bi-opname.c, - bi-parser.c, bi-parser.h, bi-reverse.c, bi-run.c, bi-run.h, - bi-unparse.c: new file. bc-* are exclusively compiler files, bi-* - are interpreter files. - - * Makefile.in: add rules and/or dependencies for bc-emit.o, - bc-optab.o, bytecode, bi-arity, bi-opcode, bi-opname, bi-lexer, - bi-run.o, bi-parser.c, bi-parser.o, bi-lexer.o bi-arity.o, - bi-opcode.o, bi-opname.o, bi-reverse.o, bc-arity.h, bc-opcode.h, - bc-opname.h, bytecode.mostlyclean, bytecode.distclean, - bytecode.realclean - - -Tue Sep 21 10:20:55 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * jump.c (jump_optimize): Try putting RETURN at end of function - both at start and at end of our optimization. - -Mon Sep 20 17:22:13 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * expr.c (expand_expr): Handle flag_volatile here. - * c-typeck.c (build_indirect_ref): TREE_THIS_VOLATILE no longer - depends on flag_volatile. - -Mon Sep 20 15:21:31 1993 Doug Evans (dje@cygnus.com) - - * gstddef.h: Back out change of Sep 15 (handles Sun lossage). - Prevented bootstrapping. - -Mon Sep 20 12:21:56 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - - * objc/archive.c (objc_read_string): Allocate n+1 chars instead of - just n. - -Sun Sep 19 13:06:37 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * function.c (combine_temp_slots): Handle deletion properly. - Free the RTL that is allocated. - * rtl.c (rtx_free): New function. - - * config/m68k/m68k.c (output_move_double): Handle register overlap - case that occur in soft-float XFmode. Code basically copied from - i386.c. - -Sun Sep 19 14:40:08 JDT 1993 Michael Ben-Gershon (mybg@cs.huji.ac.il) - - * cse.c (simplify_unary_operation): If REAL_ARITHMETIC is defined, - and a FIX operation is applied to convert a CONST_DOUBLE to an INT, - the CONST_DOUBLE must first be rounded to zero. - -Sun Sep 19 12:49:05 1993 James Van Artsdalen (james@bigtex.cactus.org) - - * Makefile.in (objc-headers): Depend on stmp-fixinc to build the - include/ subdirectory first. - -Sun Sep 19 09:45:16 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) - - * gstddef.h (size_t): Acorn RISCiX requires __size_t defined. - -Sun Sep 19 09:08:09 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * genrecog.c (preds): Correct typo in name of `comparison_operator'. - (add_to_sequence): If PREDICATE_CODES specified, warn if we find a - predicate not in that list. - - * reload.c (find_reloads): Reject an alternative if two operands - match the same output and we have to do a reload. - - * rs6000.c (rs6000_override_options): Change processor type to - "rios1"; allow "rios" as synonym. - Add synonyms for "mpc6xx". - * rs6000.h (enum processor_type): Change from RIOS to RIOS1. - (PROCESSOR_DEFAULT): Likewise. - * rs6000.md (attribute "cpu"): Change from "rios" to "rios1"; all - uses changed. - - * xm-alpha.h: Add extern declaration for alloca. - - * a29k.h (PREDICATE_CODES): Fix typos and add missing entries. - * alpha.h, i860.h i960.h, m88k.h, mips.h, rs6000.h: Likewise. - -Sat Sep 18 09:27:03 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * expr.c (convert_move): Use emit_library_call_value. - -Sat Sep 18 08:01:44 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * alpha.h (REG_ALLOC_ORDER): Add missing entries. - - * combine.c (recog_for_combine): Fix typos in previous change. - - * reload.c (earlyclobber_operand_p): New function. - (combine_reloads): Use it. - (find_reloads): Set reload_earlyclobbers earlier. - (refers_to_regno_for_reload_p): Count something being stored into - if it is an earlyclobber operand. - -Fri Sep 17 21:40:02 1993 Per Bothner (bothner@cygnus.com) - - * fold-const.c (invert_truthvalue): Instead of aborting, - build a TRUTH_NOT_EXPR when unable to optimize. - (The aborts were not a problem for C, which always first - calls truthvalue_conversion, but that should not be - necessary for a language with real Booleans.) - -Fri Sep 17 20:38:53 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c-typeck.c (output_init_element): Update constructor_bit_index - for union types. - - * libgcc2.c: Declare __fixunsxfdi only if really have XFmode. - Likewise for __fixunstfdi. - -Fri Sep 17 18:08:37 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * combine.c (recog_for_combine): Always reject a PARALLEL containing - our special CLOBBER. - - * cse.c (fold_rtx, case MINUS): Copy result obtained from - hash table. - - * cse.c (fold_rtx, case SUBREG): If paradoxical SUBREG of a - constant, return the constant. - - * c-typeck.c (lookup_field): Use HOST_WIDE_INT instead of long or - int when we want integer wide enough to hold a pointer difference. - -Fri Sep 17 16:03:22 1993 Per Bothner (bothner@cygnus.com) - - * dbxout.c (dbxout_type): For CHAR_TYPE and BOOLEAN_TYPE (in - languages that have them - not C), adopt an AIX convention - to distinguish these from other types. - -Fri Sep 17 09:02:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * expr.h (emit_library_call_value): Fix declaration. - -Thu Sep 16 12:05:44 1993 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in (fixinc.ready): New target, like libgcc2.ready, - depending on xgcc and cpp. - (stmp-fixinc): Depend on fixinc.ready instead of xgcc and cpp. - (clean): Remove fixinc.ready. - -Thu Sep 16 10:22:17 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * reload.c (find_reloads): For PLUS operand, call find_reloads_toplev. +Mon Jun 5 19:23:13 1995 Jim Wilson - * optabs.c (expand_complex_abs): Fix typo in prev change. + * sched.c (attach_deaths): In last change, use find_reg_note instead + of find_regno_note. -Thu Sep 16 02:06:11 1993 Jim Wilson (wilson@cygnus.com) +Mon Jun 5 19:17:31 1995 Tom Quiggle (quiggle@lovelace.engr.sgi.com) - * flags.h (current_function_has_nonlocal_goto): Declare. - * function.h (struct function): New field has_nonlocal_goto. - * function.c (current_function_has_nonlocal_goto): New var. - (push_function_context): Save it. - (pop_function_context): Restore it. - (init_function_start): Init it. - * integrate.c (function_cannot_inline_p): Don't inline if it's set. - * stmt.c (expand_goto): Set it. + * mips/iris5.h (MACHINE_TYPE): Say "IRIX 5.x", not "5.0". + (NO_DOLLAR_IN_LABEL): Undefine. + * mips.h (sdb_begin_function_line): New declaration. + (PUT_SDB_FUNCTION_END): New definition. - * reorg.c (mark_set_resources): For CALL_INSN, if followed by a - NOTE_INSN_SETJMP note, then assume that all registers are clobbered. - Handle case where CALL_INSN is in a sequence. +Mon Jun 5 18:56:10 1995 Michael Meissner -Wed Sep 15 17:38:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rs6000.c (expand_block_move): Don't do block moves where we clobber + fixed numbers of regs, instead move just 1-8 bytes at a time. - * gstddef.h: Delete the conditional that used to semi-avoid - interference with sys/stdtypes.h on Sun. (fixincludes makes - it ok.) + * Makefile.in (STAGESTUFF): Copy files produced by -da and + -save-temps to the stage subdirectories. -Wed Sep 15 16:17:09 1993 Jeffrey A. Law (law@snake.cs.utah.edu) +Mon Jun 5 08:18:46 1995 Torbjorn Granlund - * pa.h (ASM_FILE_START): Fix access information for $LIT$ - subspace. + * combine.c (reg_dead_at_p): When scanning backwards, stop at BARRIER. -Wed Sep 15 14:53:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * m68k.c (print_operand): Handle 'R' for registers. + * m68k.md (cmpdi): Rewrite to avoid bogus matching constraints. - * config/ns32k/ns32k.md: Add peepholes for stack adjust plus pushes. + * optabs.c (expand_binop): In last change, don't defererence TARGET + if it is 0. -Wed Sep 15 13:38:24 1993 Doug Evans (dje@canuck.cygnus.com) + * pa.md (movsicc): Use MATCH_DUP for operand 4 and 5. - * c-typeck.c (lookup_field): New function (for chill). - (build_component_ref): Call it. +Mon Jun 5 08:14:56 1995 Jeffrey A Law (law@cs.utah.edu) -Wed Sep 15 08:12:32 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * pa.c (hppa_encode_label): Allocate stuff on permanent_obstack + rather than via malloc. - * libgcc2.c: Declare __fixunsxfdi and __fixunstfdi. + * c-common.c (decl_attributes): Fix typo in size passed to alloca. - * integrate.c (copy_for_inline, copy_rtx_and_substitute): - Always preserve the volatil flag when copying ASM_OPERANDS. +Mon Jun 5 08:10:55 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Sep 14 21:56:20 1993 Jim Wilson (wilson@cygnus.com) + * alpha.md: Use "some_operand" for patterns valid only during + reload and meant to handle adding more PLUS operators during + register elimination. - * c-typeck.c (valid_compound_expr_initializer): New function. - (digest_init): Handle compound expressions as initializers when - pedantic. +Mon Jun 5 07:31:53 1995 Stephen L Moshier (moshier@world.std.com) - * varasm.c (immed_double_const, immed_real_const_1): Don't touch - const_double_chain if not inside a function. + * cse.c (simplify_unary_operation, case FLOAT, UNSIGNED_FLOAT): + Truncate to requested mode. -Tue Sep 14 16:22:03 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) +Sat Jun 3 22:08:51 1995 Jim Wilson - * c-typeck.c (digest_init): Compare types using comptypes - instead of comparing pointers. (Helps Chill front end.) + * sched.c (attach_deaths): Don't add a REG_DEAD note if a REG_UNUSED + note is already present. -Tue Sep 14 12:16:52 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Jun 3 18:36:57 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * calls.c (emit_library_call_value): Finish making it work. - * optabs.c (expand_float): Use emit_library_call_value. - (expand_unop, expand_binop): Likewise. - (expand_complex_abs): Likewise. - Also pass SUBMODE as output mode to emit_library_call_value. - * function.c (aggregate_value_p): Allow type node as argument. + * pa.h (hppa_builtin_saveregs): Add declaration. - * config/ns32k/ns32k.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): - If omitting frame pointer, output an adjspd if necessary. - Use movd to save registers if four or less need saving. - Set DEPTH properly. +Sat Jun 3 18:11:26 1995 Jason Merrill - * reload.c (find_dummy_reload): New args inmode, outmode. - (find_reloads): Pass new args. - (push_reload): Likewise. + * Makefile.in (scan-decls.o): Depends on cpplib.h. -Mon Sep 13 12:52:03 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Jun 2 19:23:47 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * c-typeck.c (set_init_index): Don't allow variable indices. + * optabs.c (expand_binop): Don't use non-REG TARGET in 2-word case. - * c-decl.c (complete_array_type): Handle TREE_PURPOSE - of array constructor elements. +Thu Jun 1 19:30:30 1995 Tor Egge (tegge@flipper.pvv.unit.no) - * expr.c (store_constructor): Handle TREE_PURPOSE of array constructor. - (expand_expr, ARRAY_REF case): Likewise. + * m88k.h (RETURN_POPS_ARGS): New argument. + * m88k/dolphin.ld: Added start of comment. - * varasm.c (output_constructor): Handle index value in - the TREE_PURPOSE, for array constructors. +Thu Jun 1 19:12:28 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * c-typeck.c (output_init_element): When putting an elt into a - CONSTRUCTOR, always set the TREE_PURPOSE (even for arrays). - Copy the node if it's an INTEGER_CST. - (output_pending_init_elements): If have gap and not incremental, - advance constructor_unfilled_fields or constructor_unfilled_index. + * configure (a29k-*-bsd*): Fix typo in last change. -Sun Sep 12 23:00:25 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) +Thu Jun 1 18:51:53 1995 Jim Wilson - * expr.c (expand_expr, case ARRAY_REF): Coerce lower bound (if - non-zero) to sizetype before subtraction. + * expmed.c (extract_fixed_bit_field): For REG case, compute total_bits + from mode instead of assuming BITS_PER_WORD. -Sun Sep 12 16:18:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Jun 1 18:34:31 1995 Michael Meissner - * c-typeck.c (push_init_level): Pop any implicit levels - that have been filled up. - Don't die if constructor_type is 0. - (process_init_element): If VALUE is 0 for union type, - update constructor_bit_index. + * rs6000.h (FIXED_R13): Default to 0. + ({FIXED,CALL_USED}_REGISTERS): Use FIXED_R13 for register 13. + * sysv4.h (FIXED_R13): Define to be 1. -Sun Sep 12 10:59:08 1993 Bill Cox (bill@cygnus.com) +Wed May 31 20:57:26 1995 Torbjorn Granlund - * c-typeck.c (digest_init): Remove obsolete comments on args - TAIL, OF_WHAT. + * m68k.md ([su]mulsi3_highpart): Pass correct number of arguments to + const_uint32_operand. + * m68k.c (const_uint32_operand): Reject negative numbers. -Sun Sep 12 08:45:36 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * expmed.c (expand_mult_highpart): Use wide_op1 for all multiplies. + (expand_divmod): Undo Nov 12 change. Instead, add special case + for division by MIN_INT in signed TRUNC_DIV_EXPR case. - * loop.c (basic_induction_var): New arg MODE. - Use it to call convert_modes. - (strength_reduce): Supply the new arg to basic_induction_var. +Wed May 31 20:44:21 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * expmed.c (expand_shift): Use convert_modes. - (emit_store_flag): Likewise. + * m68k.md (one_cmpldi2): New pattern. + ({a,l}shrdi{3,_const}): Allow 63 as shift count. -Sat Sep 11 16:44:15 1993 Doug Evans (dje@canuck.cygnus.com) +Wed May 31 14:56:31 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * collect2.c (main): Provide upward compatibility with old version - of collect (avoids infinite mutual recursion between the two). + * varasm.c (assemble_start_function, assemble_variable): + Make sure first_global_object_name is in permanent obstack. -Sat Sep 11 13:05:07 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) + * reload1.c (alter_reg): Clean up setting of RTX_UNCHANGING_P + when making a MEM. - * c-typeck.c (constructor_no_implicit): New variable. - If set, dis-allows eliding of braces in initializers. - (Set by Chill front-end.) - * c-typeck.c (process_init_element): Use it. + * reorg.c (struct resources): New field unch_memory. + (CLEAR_RESOURCES, mark_target_live_regs, dbr_schedule): Clear it. + (mark_{referenced,set}_resources, redundant_insn): Set it. + (fill_simple_delay_slots): Likewise. + (resource_conflicts_p): Test it. -Sat Sep 11 15:55:25 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * unroll.c (copy_loop_body): Fix typo in call to sets_cc0_p. - * stor-layout.c (layout_record): Turn off PCC_BITFIELD_TYPE_MATTERS - rounding of field bitpos, if maximum_field_alignment is nonzero. + * integrate.c (output_inline_function): Don't call expand_function_end. -Fri Sep 10 08:52:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * calls.c (prepare_call_address): Only call use_reg on + static_chain_rtx if it is a REG. - * c-typeck.c (check_init_type_bitfields): Check for mismatch - between field's mode and its type's mode. + * configure (a29k-*-bsd*): Use t-a29k. + * t-a29k: New file. + * a29k/t-a29kbare (LIBGCC1_TEST): New null definition. + * a29k/t-vx29k (LIBGCC1_TEST): Likewise. - * expr.c (protect_from_queue): Don't alter an existing MEM. - (convert_modes): Use X's mode (not OLDMODE) unless it is VOIDmode. +Wed May 31 14:17:42 1995 Jeffrey A Law (law@snake.cs.utah.edu) -Fri Sep 10 01:01:32 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * configure (hppa*-*-bsd*): Do not run fixincludes. + (hppa*-*-osf*): Likewise. + (hppa*-*-lites*): Likewise. - * config.sub: Recognize operating system `netbsd*'. - -Thu Sep 9 18:09:14 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) - - * c-typeck.c (really_start_incremental_init, push_init_level): - Add support for arrays with non-zero lower bounds. (Used by Chill.) - -Thu Sep 9 19:20:59 1993 Jim Wilson (wilson@cygnus.com) - - * tree.c (make_node): Put PARM_DECLs of nested functions onto - parent's saveable obstack. - -Thu Sep 9 14:17:00 1993 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in (CROSS_LIBGCC1): New variable. Rule to use when - building libgcc1.a for a cross compiler. Defaults to - libgcc1.cross. - * cross-make (LIBGCC1): Default to $(CROSS_LIBGCC1) rather than - libgcc1.cross. - * config/i386/t-next, config/i386/t-sol2, config/m88k/t-dgux, - config/m88k/t-luna, config/m88k/t-dgux-gas, - config/m88k/t-luna-gas, config/m88k/t-m88k, - config/m88k/t-m88k-gas, config/m88k/t-sysv4, - config/m68k/t-next, config/mips/t-bsd, config/mips/t-bsd-gas, - config/mips/t-mips, config/mips/t-mips-gas, - config/mips/t-osfrose, config/mips/t-svr3, - config/mips/t-svr3-gas, config/mips/t-svr4, - config/mips/t-svr4-gas, config/mips/t-ultrix, config/pa/t-pa, - config/sparc/t-sol2, config/h8300/t-h8300, config/sh/t-sh, - config/t-libc-ok (CROSS_LIBGCC1): Defined to be libgcc1.null. - -Thu Sep 9 09:48:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * expr.c (expand_expr): Set ignore for COND_EXPR with VOID_TYPE. - - * expr.c (convert_modes): New function. - (convert_to_mode): Use that. - * expr.h (convert_modes): Declared. - * optabs.c (expand_twoval_binop): Use convert_modes. - (expand_complex_abs): Likewise. - (emit_cmp_insn): Likewise. - (expand_inline_function): Likewise. - * expmed.c (expand_divmod): Likewise. - (emit_store_flag): Likewise. - * loop.c (basic_induction_var): Likewise. - * integrate.c (expand_inline_function): Likewise. - - * optabs.c (widen_operand): New arg OLDMODE. - (expand_binop, expand_unop): Fix calls to widen_operand. - -Wed Sep 8 18:25:50 1993 Doug Evans (dje@cygnus.com) - - * sparc.c, sparc.h, sparc.md: Cosmetic changes only. Just - reordered code a little. - -Wed Sep 8 14:49:59 1993 Jim Wilson (wilson@cygnus.com) - - * dbxout.c (dbxout_parms): For parameters in registers, if use - DECL_RTL, then must use TREE_TYPE instead of DECL_ARG_TYPE. - - * mips.md (fix_truncdfsi2, fixtruncsfsi2): Mark SImode scratch - register as early clobbered when dest is in memory. - - * fixincludes (sbusdev/audiovar.h): Fix wrongly edited // comments - nested within /* */ comments. - - * gcc.c (process_command): Don't warn for -x after last input file - if spec_lang is zero. - - * fixinc.mips (bsd43/bsd43.h): Change /**/ to ##. - - * expr.c (convert_move): When truncating, call force_reg first if - it is something that gen_lowpart won't understand. - - * sys-protos.h (getrlimit, getrusage, setrlimit): Return int not void. - -Wed Sep 8 11:28:41 1993 John Hassey (hassey@dg-rtp.dg.com) - - * m88k.c (output_call): Avoid use of jsr.n r1, this loses on - the 88110. - -Wed Sep 8 10:51:07 1993 David Edelsohn (edelsohn@npac.syr.edu) - - * rs6000.h: (MASK_*, TARGET_*): Add target masks and tests. - (TARGET_SWITCHES): Add target switches for various architectures - and mnemonics options. - (TARGET_OPTIONS): Add cpu type as special target option. - (OVERRIDE_OPTIONS): Call rs6000_override_options to decipher. - - * rs6000.c (rs6000_cpu, rs6000_cpu_string): New variables. - (rs6000_override_options): New function. - - * rs6000.md (define_attr): Expand list of instruction attributes. - (define_function_unit): Compute delay information based - upon processor type and expand functional unit types. - (mulsi3, divsi3, divmodsi4, divsf3, divdf3, muldf3, movsf): - Use expanded attributes. - (load with update): Likewise. - -Wed Sep 8 06:34:32 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c-typeck.c (output_init_element): When adding to - constructor_pending_elts, copy field. - -Wed Sep 8 06:15:58 1993 David Gershovich (dgirsh@iil.intel.com) - - * expmed.c (make_tree, case CONST_INT): Properly set high part if - unsigned. - - * optabs.c (expand_binop): Must always widen second operand - of shift. - -Wed Sep 8 05:16:59 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c-typeck.c (push_init_level): Diagnose extra brace group at end - of record. Set constructor_type to 0. - (pop_init_level): Don't output anything if constructor_type is 0. - (process_init_element): Do nothing if constructor_type is 0. - -Tue Sep 7 19:11:20 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * c-common.c (c_build_type_variant): Allocate new type in same - obstack as old one. - -Tue Sep 7 17:45:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c-typeck.c (digest_init): Fix error message text. - -Tue Sep 7 14:32:51 1993 Leonid Baraz (lbaraz@iil.intel.com) - - * sched.c (schedule_block): Correct type of BIT. - - * fold-const.c (fold): Don't try to process an RTL_EXPR. - -Tue Sep 7 06:18:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * dbxout.c (dbxout_type): Handle enum constants bigger than one word. - Don't print big unsigned values as negative. - * c-decl.c (build_enumerator): Choose type properly for wide constants. - (finish_enum): Always set type of the enumerators to the enum type. - * c-typeck.c (default_conversion): For enum that's unsigned, - if it's at least as wide as int, convert to an unsigned type. - - * config/i386/sol2.h (LIB_SPEC, LINK_SPEC, SWITCH_TAKES_ARG): - Definitions copied from sparc/sol2.h. - (CPP_SPEC): Copied from sparc/sol2.h, but deleted -msparclite. - -Mon Sep 6 14:43:20 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) - - * genextract.c (insn_name_ptr): Define for debugging. - (walk_rtx, case MATCH_OP_DUP): Expand recog_dup_loc using XEXP not - XVECEXP. - -Mon Sep 6 13:28:03 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * rtlanal.c (modified_between_p): Handle vectors. - (modified_in_p): New function. - (refers_to_regno_p): If setting AP, FP, or SP, we clobber the - virtual registers. - * optabs.c (emit_libcall_block): Don't move insns that reference - things set in previous insns. - -Mon Sep 6 08:35:34 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * config/mips/mips.h: Don't declare abort. - -Mon Sep 6 01:03:58 1993 Jim Wilson (wilson@cygnus.com) - - * protoize (abort): Correct volatile function declaration. - -Sun Sep 5 18:23:09 1993 Doug Evans (dje@canuck.cygnus.com) - - * Makefile.in (USER_H): Add va-h8300.h. - - * collect2.c (our_file_name, last_file_name): deleted. - (our_file_names): New variable. - (is_in_prefix_list): New function. - (find_a_file): Call is_in_prefix_list. - (main): Make COLLECT_NAMES a list of our invocations. - If we've invoked ourselves, try again with ld_file_name. - -Sun Sep 5 16:00:47 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * function.c (assign_parms): When parm needs conversion on entry, - don't store it back in the slot where it was passed. - -Sun Sep 5 14:51:14 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - - * c-decl.c (grokdeclarator): For PARM_DECLs, only call - c_build_type_variant is constp or volatilep is true. - -Sun Sep 5 06:44:09 1993 David Edelsohn (edelsohn@npac.syr.edu) - - * rs6000.c: (print_operand): Convert fprintf of single letters - to putc and convert fprintf of constant strings to fputs. - Output '%u' operand as hexadecimal. - -Sat Sep 4 11:16:18 1993 Craig Burley (burley@gnu.ai.mit.edu) - - * c-common.c (truthvalue_conversion): A complex value is nonzero - if either part is nonzero, not if both parts are nonzero. - -Fri Sep 3 19:02:41 1993 Paul Eggert (eggert@twinsun.com) - - * c-decl.c (build_enumerator): Apply default conversion to - constant-expression. - -Fri Sep 3 18:03:47 1993 Chris Lang (chrisl@mirc00.ncms.org) - - * cccp.c (skip_if_group): Check for traditional mode when - skipping ahead to next #, ignore unless at beginning of line. - -Fri Sep 3 18:00:15 1993 Michael Meissner (meissner@osf.org) + * pa.h (PRINT_OPERAND_ADDRESS): Use "RR'" rather than "R'" for + symbolic addresses. + * pa.md (symbolic HIGH patterns): Likewise. + (symbolic LO_SUM pattern): Likewise. - * i386/osfrose.h, i386/osfelf.h (LINK_SPEC): Pass -v and -dn on to - the ELF linker, which now accepts these switches. +Wed May 31 14:11:53 1995 Michael Meissner -Fri Sep 3 13:34:22 1993 Doug Evans (dje@cygnus.com) + * rs6000.md (all movstri recognizers): Eliminate updating the pointers. + * rs6000.c (expand_block_move): Don't pass argument of # bytes to + increment pointers by to movstrsi expanders. - * i386/x-linux: Add -Iinclude to BOOT_CFLAGS. + * rs6000.c (rs6000_override_options): Fix typo with -mstring handling. -Fri Sep 3 01:54:19 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * rs6000.h (TARGET_SWITCHES): Set MASK_STRING_SET explicitly + if -mno-string, so that it can override the processor default. - * pa.h (READONLY_DATA_ASM_OP): Define. - (READONLY_DATA_SECTION): Define. - (EXTRA_SECTIONS): Add in_readonly_data. - (EXTRA_SECTION_FUNCTIONS): Add readonly_data. +Wed May 31 07:31:53 1995 Jason Merrill -Thu Sep 2 19:19:14 1993 Holger Teutsch (holger@hotbso.rhein-main.de) + * c-common.c (truthvalue_conversion, BIT_AND_EXPR): Make sure that + the result has boolean_type_node. - * clipper.h : Improve generated code for C400 Clipper. - (TARGET_SWITCHES): New options `c300' `c400'. - (TARGET_C300, TARGET_C400): New defines. - (TARGET_DEFAULT): Define as TARGET_C300. - (CONDITIONAL_REGISTER_USAGE): New define. +Tue May 30 19:03:21 1995 J.T. Conklin -Thu Sep 2 17:47:57 1993 Doug Evans (dje@canuck.cygnus.com) + * stddef.h: Undefine _BSD_XXX_T_ if _GCC_XXX_T is defined on BSD + Net/2 derived systems. - * glimits.h (__INT_MAX__, __LONG_MAX__, __LONG_LONG_MAX__): New macros. - (INT_MAX, LONG_MAX, LONG_LONG_MAX): Use them. - (UINT_MAX, ULONG_MAX, ULONG_LONG_MAX): Ditto. +Tue May 30 08:17:37 1995 Philippe De Muyter (phdm@info.ucl.ac.be) -Thu Sep 2 14:26:28 1993 Michael Meissner (meissner@osf.org) + * m68k.md (decrement_and_branch_until_zero): Operand 0 constraint + changed from "+g" to "+d*am". + (similar anonymous HImode pattern): Likewise. - * i386/osfrose.h (YES_UNDERSCORES): Delete macro, since we have - redefined all of the macros that are based on using it. - (CPP_SPEC, CC1_SPEC): Remove #ifndef NO_UNDERSCORE version. - OSF/ELF will now omit the leading underscore by default. - (LINK_SPEC): Pass -dy through to ELF linker. Do not pass -v to - ELF linker. + * m68k.md (tstdi): Use tst/subx #0 instead of neg/negx. + Allow "a" and ">" for operand 0. - * i386/osfelf.h (CPP_SPEC, CC1_SPEC): Remove #ifndef NO_UNDERSCORE - version. OSF/ELF will now omit the leading underscore by default. - (LINK_SPEC): Pass -dy through to ELF linker. Do not pass -v to - ELF linker. +Mon May 29 19:24:43 1995 Niklas Hallqvist (niklas@appli.se) + * m68k.md (addsi_lshrsi_31): Use match_dup, not constraint "1", + for matching inputs. - * final.c (tree.h): Include tree.h to get the declaration for - decl_printable_name. - (last_filename): Global to hold last filename encountered in a - NOTE. - (add_bb): New function to do common code for emitting a basic - block profiling increment. Remember the current function, and if - debugging, line number and filename for each basic block. - (add_bb_string): New function to remember strings for profiling - basic blocks. - (end_final): Bump name array size to 20. Use BSS to store profile - block count array unless -fno-common. Eliminate redefining name - within for loop block. Add a length field and three new parallel - arrays for basic blocks to hold function name, and if debugging, - line number and file name for basic block profiling. - (final_start_function): Save a printable version of the current - function name away if profiling basic blocks. - (final_end_function): Forget the current printable version of the - current function name if profiling basic blocks. - (final): Move basic block profiling support to just call add_bb. - (final_scan_insn): Ditto. - (output_source_line): Save filename in last_filename. If the file - name was changed and profiling basic blocks, remember the new file - name for the next call to add_bb. +Mon May 29 12:39:58 1995 Allen Briggs - * libgcc2.c (L_bb): If BLOCK_PROFILER_CODE is defined, expand it - here directly. If BLOCK_PROFILER_CODE is not defined, add code - that appends basic block profile information into a text file - bb.out. Move sun3 specific block profiling code to m68k/sun3.h. + * i386/isc.h ({STARTFILE,LIB,CPP}_SPEC): Handle -Xp like -posix. + * i386/x-isc3 (X_CFLAGS): Add -Xp. + +Mon May 29 12:28:41 1995 J.T. Conklin (jtc@cygnus.com) - * Makefile.in (final.o): Final.c now includes tree.h. + * configure (sparc-*-netbsd): Add missing asterisk at end. - * m68k/sun3.h (BLOCK_PROFILER_CODE): Move the sun3 specific basic - block profiling code here from libgcc2.c. +Mon May 29 08:55:48 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Wed Sep 1 19:00:06 1993 Jim Wilson (wilson@mole.gnu.ai.mit.edu) + * combine.c (recog_for_combine): New parm PADDED_SCRATCHES; set it. + (try_combine): Accumulate number of scratches and update max_scratch. + (simplify_set): Add extra parm to recog_for_combine. - * rs6000.md (truncdfsf2): Round to single instead of doing nothing. + * romp.md (call): Put USE for r0 in CALL_INSN; call call_internal + to emit insn. + (call_internal): New name for anonymous call. + (call_value, call_value_internal): Likewise. - * jump.c (jump_optimize): When optimize conditional jump around - unconditional jump, handle case where prev_label can be zero. + * winnt/xm-winnt.h: Protect most definitions with #ifndef. + * alpha/xm-winnt.h: Include alpha/xm-alpha.h, then winnt/xm-winnt.h. + (POSIX): Undefine. + * xm-alpha.h: Don't include alloca.h for winnt. - * c-decl.c (finish_decl): For static const variables, preserve - initializers instead of discarding them. +Sun May 28 18:34:01 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Wed Sep 1 18:43:01 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * configure: Make sed commands more uniform. - * reload.c (find_reloads): Bump REJECT for a hard register; just - not for a pseudo. + * Makefile.in: Properly use $(srcdir) for files that have it + in their reference as a target of a rule. + (libgcc1.a): Add missing RANLIB_TEST use. - * rs6000.md: Clean up hex constants a bit in emitted insns. + * stmt.c (expand_computed_goto): Call do_pending_stack_adjust. - * rs6000.c (input_operand): Allow "easy" FP constants. - * rs6000.h (SECONDARY_MEMORY_NEEDED): New macro. - * rs6000.md (movdf): Simplify by taking advantage of - having SECONDARY_MEMORY_NEEDED. - Fix bugs relating to order in which moves are done. +Sun May 28 18:08:41 1995 Torbjorn Granlund -Wed Sep 1 18:08:36 1993 Jim Wilson (wilson@cygnus.com) + * m68k.md (divmodhi4, udivmodhi4): Use "dmsK" for operand 2. - * reload.c (find_reloads_address_1): Handle SUBREGs same as REGs. +Fri May 26 17:01:22 1995 Paul Eggert -Wed Sep 1 18:03:45 1993 Mike Stump (mrs@mole.gnu.ai.mit.edu) + * fixincludes: Fix bogus recursive in NEWS-OS 4.0C. - * collect2.c (is_ctor_dtor): Make sizeof argument match the - string. +Fri May 26 08:02:14 1995 Michael Meissner (meissner@cygnus.com) -Wed Sep 1 15:01:48 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * c-typeck.c (initializer_constant_valid_p): For the CONSTRUCTOR + case, if the type is a record, recurse, just like for unions. - * Makefile.in (start.encap): Build g++ here also. +Thu May 25 07:56:14 1995 Paul Eggert -Tue Aug 31 16:30:53 1993 Jim Wilson (wilson@cygnus.com) + * fixincludes: Add `sel', `tahoe', `r3000', `r4000' to the + list of pre-ANSI symbols that need to be surrounded with __ __. + Allow white space between `#' and `if' when looking for lines to patch. - * combine.c (make_compound_operation): Handle the case - (and (xor/ior (lshift...) (lshift...)) ...). - (make_field_assignment): In get_pos_from_mask call, only invert - bits in mode mask. + * objc/sarray.h (PRECOMPUTE_SELECTORS, struct soffset): + Use #ifdef __sparc__, not sparc. - * reload.c (push_reload): Abort is secondary_reload wants same - class as an input reload. + * m68k.md (addsi_lshrsi_31, ashldi_const, ashrdi_const, lshrdi_const): + Replace `mov' with `move'. - * Makefile.in (libgcc1.a, libgcc2.a): Don't use set -e. - * configure (i[34]86-*-lynxos, m68k-*-lynxos, sparc-*-lynxos): Use - xm-lynx.h, x-lynx. Don't run fixincludes. - * x-lynx, xm-lynx.h: New files. +Thu May 25 07:35:37 1995 Allen Briggs - * Makefile.in (xsys-protos.h): Use fixtmp.c not tmp.c, and delete - it afterwards. + * libgcc2.c (L_eh, i386): Remove in-line comments in assembly + code--the '#' character is not valid for the SYSV as. + +Thu May 25 07:28:54 1995 Pat Rankin (rankin@eql.caltech.edu) - * function.c (assign_stack_temp): When allocate a slot too large, - split extra off into a slot of its own. - (combine_temp_slots): New function. - (free_temp_slots, pop_temp_slots): Call combine_temp_slots. + * Makefile.in (BC_ALL): Restore it from May 22 change; vms uses it. + (STAGESTUFF): Use it. -Tue Aug 31 06:35:37 1993 David Edelsohn (edelsohn@npac.syr.edu) +Thu May 25 07:11:56 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * rs6000.md: (zero_extendqisi2, zero_extendqihi2): Change anonymous - patterns to use 16-bit and 32-bit hexadecimal values and masks - instead of bit ranges if constant. - (rotlsi3, lshrsi3, move condition codes, scc insns): Likewise. + * alpha.c (alpha_emit_set_const): Don't call expand_binop for + other than add if SImode and can't create pseudos. -Tue Aug 31 06:25:52 1993 Paul Eggert (eggert@twinsun.com) +Wed May 24 21:38:24 1995 Jim Wilson - * c-decl.c (struct c_function): Remove unneeded enum_next_value. - (push_c_function_context, pop_c_function_context): Don't save it. + * sched.c (reemit_notes): New function. + (schedule_block): Call reemit_notes twice. Reorganize code for + handling SCHED_GROUP_P insns, so that reemit_notes works. -Mon Aug 30 16:16:56 1993 Paul Eggert (eggert@twinsun.com) + * sh/sh.c (shiftcosts, genshifty_op): Add SH3 support. + * sh/sh.md (ashlsi3, lshrsi3): Add SH3 support. + (ashlsi3_d, ashrsi3_d, lshrsi3_d): New patterns for SH3. + (ashrsi2_31): Remove r/!r constraint. - * c-decl.c (get_parm_info, store_parm_decls): If PROMOTE_PROTOTYPE, - promote all integral types shorter than int, including short enums. - * c-typeck.c (convert_arguments): Likewise. - * cp-decl.c (grokparms): Likewise. - * cp-except.c (finish_exception_decl): Likewise. - * cp-typeck.c (convert_arguments): Likewise. +Wed May 24 17:00:47 1995 Jason Merrill -Sun Aug 29 18:34:25 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * tree.c (type_list_equal): Call simple_cst_equal before checking + types. - * rs6000.h (TARGET_NO_FP_IN_TOC): New; deleted TARGET_FP_IN_TOC. - (TARGET_SWITCHES): Rearrange to have three TOC choices. - (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Use TARGET_NO_FP_IN_TOC. - * rs6000.c (output_toc): Likewise. +Wed May 24 16:49:49 1995 Douglas Rupp (drupp@cs.washington.edu) -Sat Aug 28 15:04:35 1993 Jim Wilson (wilson@cygnus.com) + * Makefile.in (libgcc2.a): Handle case of separate srcdir. - * mips.h (SELECT_SECTION): Simplify sdata_section test. +Wed May 24 16:22:01 1995 Paul Eggert - * lynx.h (CPP_SPEC): Use include_v not include-v. - (LINK_SPEC): Add missing `-' before `k' option. - (PREFERRED_DEBUGGING_TYPE): Define to DBX_DEBUG. - (SDB_DEBUGGING_INFO): Define. - (MD_EXEC_PREFIX): Define to /usr/local/lib/gcc-. - (LINK_LIBGCC_SPECIAL_1): Define. - (NAME__MAIN, SYMBOL__MAIN): Define. + * configure: Define $(MAKE) if `make' doesn't. - * sparc.h (EXTRA_CONSTRAINT): Delete 'S'. - * sparc.md (call+1, call+2, call_value+1, untyped_call+1): Split - into two patterns, one using address_operand and 'p', the other - immediate_operand and 'i'. +Wed May 24 15:50:51 1995 Doug Evans -Fri Aug 27 15:43:19 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * dsp16xx.h (CROSS_LINK_SPEC): ENDFILE_SPEC moved to -nostartfiles. + * i386/freebsd.h (LINK_SPEC): Don't pass "-e start" if nostartfiles + rather than nostdlib. + * i386/sun.h (LINK_SPEC): Likewise. + * m68k/sun2o4.h (LINK_SPEC): Likewise. + * m68k/sun3.h (LINK_SPEC): Likewise. + * m68k/vxm68k.h (LINK_SPEC): Likewise. + * mips/netbsd.h (LINK_SPEC): Likewise. + * config/netbsd.h (LINK_SPEC): Likewise. + * rs6000/mach.h (LINK_SPEC): Likewise. + * sparc.h (LINK_SPEC): Likewise. + * sparc/vxsparc.h (LINK_SPEC): Likewise. - * combine.c (nonzero_bits): Fix reversed test for when we - need to insert extra bits when sizes differ. - (nonzero_bits, case EQ): Always return STORE_FLAG_VALUE when returning - integer mode; remove now-redundant test. + * m88k/m88k.h (FUNCTION_ARG_BOUNDARY): Use GET_MODE_BITSIZE. - * rs6000.h (LINK_SPEC): Add -bexport:/usr/lib/libg.exp when -g. +Wed May 24 15:44:04 1995 Jason Merrill -Fri Aug 27 13:17:28 1993 Jim Wilson (wilson@cygnus.com) + * fold-const.c (fold): Make sure that a folded TRUTH_NOT_EXPR + retains the same type. - * rs6000.c (print_operand_address): When TARGET_MINIMAL_TOC, use - r30 instead of r2 for TOC references. - (output_prologue): If TARGET_MINIMAL_TOC, and the constant pool - is needed, then setup r30. - (output_toc): When TARGET_MINIMAL_TOC, use .long instead of .tc. - * rs6000.h (TARGET_MINIMAL_TOC): New macro. - (TARGET_SWITCHES): Add -mminimal-toc and -mno-minimal-toc. - (ELIMINABLE_REGS): Add elimination for r30. - (CAN_ELIMINATE): Add case for r30. - (INITIAL_ELIMINATION_OFFSET): Add case for r30. - (toc_section): When TARET_MINIMAL_TOC, initialize toc_table. + * c-common.c (truthvalue_conversion): Also accept TRUTH_NOT_EXPR. -Thu Aug 26 17:59:38 1993 Doug Evans (dje@cygnus.com) +Wed May 24 15:41:51 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * gstdarg.h, gvarargs.h: Add support for H8/300H. - * va-h8300.h: New file. + * cplus-dem.c (strstr, strncmp, strlen): Remove declarations. -Thu Aug 26 15:15:27 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * tree.c (type_list_equal, simple_cst_list_equal, index_type_equal): + Check for simple_cst_equal return value of -1. - Cygnus<->FSF C++ front-end merge. - Wed Aug 25 17:55:58 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Wed May 24 10:05:24 1995 Michael Meissner - * cp-class.c (alter_visibility): Properly grok protected visibility. + * libgcc1-test.c (start, _start): Provide declarations, so that + the GNU linker doesn't give a warning message about defaulting the + start address. - Wed Aug 25 12:55:17 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * rs6000/sysv4.h (STRIP_NAME_ENCODING): Redefine back to the + original defination, rather than the defination used in rs6000.h. + (ASM_OUTPUT_SOURCE_LINE): Use STRIP_NAME_ENCODING. + * rs6000.h (STRIP_NAME_ENCODING): Skip leading '*'. - * cp-typeck.c (c_sizeof): If we're given an OFFSET_TYPE, work with - the type it refers to. + * rs6000.h (MASK_STRING_SET, TARGET_STRING_SET): Add target + flags bit for whether -mstring was actually used. + (TARGET_SWITCHES): Add MASK_STRING to all power targets. Set + MASK_STRING_SET for -mstring and -mno-string. + (TARGET_DEFAULT): Add MASK_STRING. - * cp-decl.c (finish_function): Properly handle inline functions, - don't just call rest_of_compilation. + * rs6000.c (rs6000_override_options): Add MASK_STRING to + all power targets. Make an explicit -mstring/-mno-string override + the -mcpu=processor default. - * cp-decl2.c (flag_inline_debug): Deleted, never used. - (lang_f_options): Deleted -finline-debug. - * toplev.c (lang_options): Likewise. + * rs6000/eabile.h (CPP_SPEC): Copy from sysvle.h to provide the + appropriate little endian defaults. - Tue Aug 24 16:06:23 1993 Mike Stump (mrs@poseidon.cygnus.com) + * rs6000/sysv4.h (ASM_OUTPUT_SOURCE_LINE): Use assemble_name to + output the canonical name. - * cp-dem.c: Deleted. See demangler in the binutils distribution. +Wed May 24 01:21:15 1995 Jason Merrill - Tue Aug 24 14:24:34 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * rs6000.h (STRIP_NAME_ENCODING): Define. + (RS6000_OUTPUT_BASENAME): Use it. - * cp-decl.c (start_function): Don't get ready to complain about a - built-in C-linkage function against a C++-linkage function. +Tue May 23 19:54:21 1995 Doug Evans - Tue Aug 24 13:54:43 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) + * gcc.c (link_command_spec): Move ENDFILE_SPEC from -nostdlib + to -nostartfiles. - * g++.c: also include +Tue May 23 17:01:50 1995 Jim Wilson - Tue Aug 24 05:39:57 1993 Michael Tiemann (tiemann@blues.cygnus.com) + * alpha.md (negsi2-2): Change output pattern to #. - * cp-parse.y (id_scope): Renamed from scoped_id. Also added handler - for case when rule appears after `dont_see_typename' action. Now - handles pointer-to-member syntax. + * mips.c (embedded_pic_offset): Output RTL to initialize + embedded_pic_fnaddr_rtx. + (mips_finalize_pic): Delete. + * mips.h (mips_finalize_pic): Delete declaration. + (FINALIZE_PIC): Delete. + (INIT_EXPANDERS): Clear embedded_pic_fnaddr_rtx. + * mips.md (get_fnaddr): Add = to output contraint. - Mon Aug 23 14:04:34 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * sh.c (shift_amounts): Correct entry for shifts by 29. + * sh.md (sett): New pattern. + (movsi_i): Change source constraint for move to T reg to be 'z'. - * cp-parse.y (datadef): Disallow forward declaration of an enum. + * mips/ecoff.h (STARTFILE_SPEC): Define to null string. + * mips/elfl.h, mips/elfl64.h: Correct typo in comment. - * cp-class.c (finish_struct): Set LAST_X to X, so we keep the chain - in some semblance of sanity. Makes more than one nested typedef - work properly. - * cp-decl.c (grokdeclarator): Rewrite how class-local typedefs are - handled to generate a TYPE_DECL that's useful. + * mips/elflorion.h, mips/elforion.h (MIPS_CPU_DEFAULT): Delete. + * mips.c (override_options): Delete #ifdef MIPS_CPU_DEFAULT code. + Add #ifdef MIPS_CPU_DEFAULT_STRING code before the first + mips_cpu_string test. - * cp-decl.c (start_function): Don't error out if it's a static - function; don't return 0, which can cause other problems. +Tue May 23 07:22:36 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Sun Aug 22 18:00:57 1993 Michael Tiemann (tiemann@blues.cygnus.com) + * romp.c (hash_rtx): Avoid warning on int-to-pointer conversion. + (output_fpops): Cast args to bcopy to char *. - * cp-decl.c (duplicate_decls): Set DECL_OVERLOADED flag on "C" - functions so that they are treated properly when "C++" functions of - the same name are declared before they are. + * cpplib.c (initialize_builtins): Add missing parm to timestamp call. - Sun Aug 22 13:31:44 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * Makefile.in (install-libobjc): Don't depend on libobjc.a. - Fix how we handle binding levels, and tweak Niklas's new scoping - code to work 100%. This work should significantly improve how - g++ handles the use of nested classes. - * cp-tree.h (NEW_CLASS_SCOPING): Default to 1 now! - * cp-decl.c (pop_binding_level): Set current_binding_level to be - class_binding_level if it's non-NULL. Change code that looks for - our method of climbing back up the binding levels when we're - dealing with a parm. - (pushlevel_class): Call push_binding_level, not pushlevel. - (poplevel_class): Don't weird out if level is 0. DO NOT set - class_binding_level to the level_chain, this was the biggest bug - that made the pushes and pops to end up being unbalanced. - Call pop_binding_level instead of manually putting the level on - the free_binding_level chain. - (pop_from_top_level): Don't call poplevel if previous_class is - non-NULL. - (finish_function): Call expand_start_bindings and - expand_end_bindings in a balanced way. - (finish_function): Don't flail around screwing with the RTL for - the function in a very special case, just always call - rest_of_compilation as we normally would. - (finish_method): Call poplevel, not pop_binding_level. - * cp-class.c (pushclass): Don't call unuse_fields. - * cp-tree.c (break_out_calls): Always call copy_node, not just - when changed++ == 0. - * cp-search.c (bridge_obstack): Deleted. - (push_class_decls): Use search_obstack, not bridge_obstack. - (init_search_processing): Don't init bridge_obstack anymore. + * c-parse.in: Objc shift/reduce conflicts now 48. + (parm): Use setspecs/restore here. + (parmlist_or_identifiers): Not here. - * cp-init.c (build_new): Don't clear LOOKUP_COMPLAIN on flags, since - we need to honor the visibility of what we find. +Mon May 22 19:30:30 1995 Doug Evans - Sat Aug 21 12:07:26 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * h8300.md (movsf_h8300h): Add missing post-inc case to constraints. - * cp-decl.c (grokdeclarator): Give an error about an array of - offset types and method types, in addition to reference types. - Also make sure to set `type' to be error_mark_node for each. +Mon May 22 14:38:36 1995 Michael Meissner - * cp-parse.y (primary, PLUSPLUS/MINUSMINUS): Resolve the OFFSET_REF + * rs6000.c (rs6000_override_options): Do SUBTARGET_OVERRIDE_OPTIONS here. - * cp-typeck.c (build_x_unary_op): Not here. - - * cp-class.c (finish_struct): Set DECL_CLASS_CONTEXT only if it's - a virtual function. - * cp-decl.c (grokfndecl): Communicate the virtual bit to function - decls that overload a virtual function from a base class. - * cp-search.c (dfs_pushdecls): Look at DECL_CLASS_CONTEXT if it's - a virtual function. - - Fri Aug 20 13:35:54 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - Make the g++ driver work with MS-DOS. - * g++.c (P_tmpdir, {R,W,X}_OK) [__MSDOS__]: Defined. - (choose_temp_base_try, choose_temp_base, perror_exec, - run_dos) [__MSDOS__]: New functions for the g++ program to operate - correctly under MS-DOS. - (temp_filename, temp_filename_length) [__MSDOS__]: New variables. - (main): Fix off-by-one error in allocation of arglist. When - running the main GCC program, handle running it under OS/2, MS-DOS, - as well as on a system that has execvp(2). Only find the location - of the GCC executable if we're not using DOS. - - * cp-decl.c (poplevel): Only call remember_end_note if we haven't - already created the block. Set TREE_USED on the block. - (duplicate_decls): If the type of either the old or new decl is an - error_mark_node, we've already issued an error so set types_match - to be 1 now. - (xref_defn_tag): Mark the TYPE_DECL as ignored if doing dwarf - debugging. - - * cp-parse.y (base_init, nodecls): Call keep_next_level to make - sure the BLOCK node is kept with the outermost curly braces of a - function. - (compstmt): For `{ }', insert a .pushlevel and do all of the other - stuff we need in every other compstmt situation, to generate proper - debugging for such things and handle the binding levels properly for - them. - - Thu Aug 19 18:24:25 1993 Mike Stump (mrs@cygnus.com) - - * cp-init.c (build_vec_delete): Wrap void COND_EXPR in NOP_EXPR, so - that the backend does not abort when trying to use the void mode - expression. Fixes make check (tString.o) in libg++. - - Thu Aug 19 12:21:12 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-typeck.c (build_x_unary_op): When we receive an OFFSET_REF, - resolve it before looking for a way to handle the operation. - - * cp-method.c: Include ctype.h. - - Thu Aug 19 12:00:08 1993 Mike Stump (mrs@cygnus.com) - - * cp-class.c, cp-search.c (NEW_SEARCH, NEW_CONVERT, - CHECK_convert_pointer_to_single_level): Remove ability to revert to - old code, and remove checks. Cleans-up the code a little. - - Thu Aug 19 00:41:55 1993 Mike Stump (mrs@cygnus.com) - - * cp-init.c (expand_aggr_init): Avoid faulting, give error instead. - - Wed Aug 18 22:43:25 1993 Mike Stump (mrs@cygnus.com) - - * cp-lex.h (RID_BIT_TYPE, RIDBIT_SETP, RIDBIT_NOTSETP, RIDBIT_SET, - RIDBIT_RESET, RIDBIT_RESET_ALL, RIDBIT_ANY_SET): New RID macros, - replaces RIDBIT macro. The new macros allow us to easily expand - past 32 RIDs. - * cp-decl.c (grokvardecl, grokdeclarator): Use them. - - * cp-decl.c (grokdeclarator): Implement `mutable' keyword. - * cp-lex.c (init_lex, ): Ditto. - * cp-lex.h (enum rid): Ditto. - * cp-ptree.c (print_lang_decl): Ditto. - * cp-tree.h (struct lang_decl_flags, DECL_MUTABLE_P): Ditto. - * cp-typeck.c (build_component_ref_1, build_component_ref): Ditto. - * gplus.gperf (mutable): Ditto. - * cp-hash.h: Regenerate. - - * cp-tree.h (struct lang_type): Fill out type_flags to multiple of 4 - bytes for MIPS. - - Fri Aug 13 16:07:46 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-lex.c (DEBUG_DEFAULT_FUNCTIONS): Take out the #undef, so we can - use the command line to turn this on. - - * cp-decl.c (grokdeclarator): Look for IDENTIFIER_TEMPLATE in the - name of current_class_type, not in current_class_type itself. - - * cp-decl.c (pushdecl): Change to also check TREE_PUBLIC on the decl - in question, and do a pedwarn_with_decl instead of - warning_with_decl for conflicting extern declarations. - - Fri Aug 13 12:26:41 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-tree.h: Delete all the old PARANOID stuff, it's suffered - serious bit rot. - (PRINT_LANG_DECL, PRINT_LANG_TYPE): Deleted, not used anymore. - (LANG_ID_FIELD, SET_LANG_ID): New macros. - ({,SET_}IDENTIFIER_{LABEL_VALUE, IMPLICIT_DECL, AS_DESC, AS_LIST, - ERROR_LOCUS}): Redefine these macros to use the new LANG_ID_FIELD - and SET_LANG_ID ones, so everything is much cleaner and readable. - - * cp-decl.c (pushtag) [NEW_CLASS_SCOPING]: Push into the template's - class scope before trying to push the decl, and then pop back out. - (globalize_nested_type) [NEW_CLASS_SCOPING]: Asserts 348 and 349 - aren't correct, shadow can come out to be null in some situations. - - Thu Aug 12 10:56:50 1993 Mike Stump (mrs@cygnus.com) - - * cp-method.c (build_overload_name): Allow the debugger to - deterministically demangle names with more than 9 nested class - levels. - - Thu Aug 12 00:46:54 1993 Mike Stump (mrs@cygnus.com) - - * cp-search.c (pushd_stack_level): Fix memory corruption problem. - Don't assume that the obstack won't move, because they will. Among - other things, the fix allows one to nest classes upto 240 levels - deep, instead of 60 or so. - - Thu Aug 12 00:38:05 1993 Per Bothner (bothner@kalessin.cygnus.com) - - * cp-decl2.c (finish_file): Use new get_file_function_name(). - * cp-tree.h (FILE_FUNCTION_FORMAT): No longer needed. - - Fri Aug 6 11:37:08 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-decl.c (pop_binding_level) [DEBUG_CP_BINDING_LEVELS]: Don't - call abort, since we need to see where things end up. - - Fri Aug 6 11:13:57 1993 Mike Stump (mrs@cygnus.com) - - * cp-class.c (finish_struct): Blast away old DECL_SIZE on - base_layout_decl so that the old value is not reused, but rather the - new value in the TREE_TYPE (TYPE_SIZE ()) will be. - - Thu Aug 5 18:45:26 1993 Mike Stump (mrs@cygnus.com) - - * cp-init.c (emit_base_init): Move vbase vtable pointer init to very - end of base initialization code. Completes July 30 change. The - dynamic type of a virtual base should not be the type of the current - constructor, until after all bases are initialized. - -Thu Aug 26 06:00:09 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * expr.c: (apply_args_register_offset): Don't use ANSI-style - definition. - -Wed Aug 25 19:37:26 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * expmed.c (store_bit_field): Do not use bitfield instructions for - STRICT_ALIGNMENT machines if the MEM's alignment isn't as big as - the MEM's mode. + * rs6000.h (OVERRIDE_OPTIONS): Not here. -Wed Aug 25 19:17:13 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * rs6000.c (expand_block_move): Handle moves without string + instructions by generating a series of loads and stores. + (output_prolog): Support -mno-toc on V.4 and eabi systems. + + * rs6000/sysv4.h (TARGET_SWITCHES): Add -mtoc and -mno-toc. + (SUBTARGET_OVERRIDE_OPTIONS): Add some warnings for incompatible + switches. + (TOC_SECTION_FUNCTION): Make -mno-toc like -mrelocatable in that + we don't put the minimal toc pointer in the global toc section. + (LINK_SPEC): Use -oformat to set link output format, not -m. + + * rs6000/t-eabigas (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Build + libgcc.a variants with -mno-toc support. + * rs6000/t-ppcgas (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Ditto. + +Mon May 22 07:10:52 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * cplus-dem.c (mystrstr): Replacement for strstr. + + * configure: Split up long sed command. + * Makefile.in (SYMLINK): Deleted; unused. + (oldobjext): Deleted; no longer used. + (FLAGS_TO_PASS): Include objext and exeext. + (STAGESTUFF, protoize.o, unprotoize.o): Use $(objext), not .o. + (test_protoize_simple, compare{,3}, gnucompare{,3}): Likewise. + (STAGESTUFF, specs, gcc-cross, collect2): Add missing $(exeext). + (libgcc1.null, libgcc[12].a, stage[1-4]): Likewise. + (xgcc, cc1, cc1obj, enquire): Use $@ instead of filename for -o value. + (collect2, mips-tfile, mips-tdump, gen*): Likewise. + (bi-arity, bi-opcode, bi-opname, cccp, cppmain): Likewise. + (protoize, unprotoize, gen-protos, fix-header): Likewise. + (crtbegin.o, crtend.o): Don't use -o; move output to proper + filename (using objext) instead. + (BI_ALL, BC_ALL, bytecode): Deleted; unused. + (bi-*.o, cexp.o, stamp-{proto,fixinc}): Remove unneeded $(srcdir). + (getopt{,1}.o, SYSCALLS.c.X): Likewise. + (install-driver): New target. + (install-normal): Depend on it. + (install-common): Don't depend on xgcc. + (maketest): Deleted; no longer used. + (stage[1-4]): Use name collect-ld, not real-ld. + (risky-stage[1-4]): Use stage[1-4] as dependencies; don't copy. + * alpha/config-nt.bat, i386/config-nt.bat: Make {,h,t}config.h + and tm.h by writing a single #include line. + Update way specs.h and options.h are written. + * alpha/config-nt.sed, i386/config-nt.sed: Set new variables + into Makefile. + Build winnt.obj. + Edit CCCP definition. + * alpha/x-winnt, i386/x-winnt (oldobjext): Deleted. + Add rules for .c.obj, .adb.obj, and .ads.obj. + (LIB2FUNCS_EXTRA, spawnv.o): New rules. + * i386/x-winnt (objext): Now .obj, not .o. + + * gcc.c (HAVE_OBJECT_SUFFIX): New macro. + (process_command): Convert x.o to x.foo for OBJECT_SUFFIX of ".foo". + (do_spec_1): Avoid shadow variable "i" and always use for loop var. + + * c-decl.c (finish_decl_top_level): Removed; no longer used. + * objc-act.c: Numerous formatting changes. + (NULLT): Deleted; all uses changed to NULL_TREE. + (get_{static,object}_reference, objc_add_static_instance): + Use push_obstacks instead of saving obstacks manually. + (build_{selector,class}_reference_decl): Likewise. + (build_objc_string_decl, build_protocol_reference): Likewise. + (comp_{method,proto}_with_proto): Likewise. + (create_builtin_decl, synth_module_prologue): Set DECL_ARTIFICIAL + for internal objects. + (build_{selector,class}_reference_decl, add_objc_decls): Likewise. + (generate_objc_symtab_decl, build_module_descriptor): Likewise. + (build_protocol_reference): Likewise. + (build_objc_string_decl, synch_forward_declarations): Likewise. + Delete call to end_temporary_allocation. + (generate_static_references, generate_strings): Likewise. + (build_selector_translation_table, generate_category): Likewise. + (generate_{ivars,protocol}_list, build_protocol_reference): Likewise. + (build_objc_string_object): If next_runtime, put everything in + permanent obstack. + (objc_add_static_instance): Use build_decl instead of start_decl + and finish_decl_top_level. + (build_{class_reference,objc_string}_decl): Clear DECL_CONTEXT. + (start_class): Exit with FATAL_EXIT_CODE, not 1. + (add_objc_decls): Don't set DECL_IN_SYSTEM_HEADER. + + * tree.c (valid_machine_attribute): Handle attribute on + pointer-to-function types. + +Sun May 21 17:16:37 1995 J. T. Conklin + + * mips/netbsd.h (HAVE_STRERROR): Remove. + * mips/xm-netbsd.h: New file. + * mips/t-mips-netbsd: Deleted. + * configure (mips-dec-netbsd): Use xm-netbsd.h and t-libc-ok. + +Sun May 21 17:16:37 1995 Arne H. Juul (arnej@pvv.unit.no) + + * mips/netbsd.h: Use __start as entry point. Ifdef some + paths on CROSS_COMPILE. + +Sun May 21 08:39:26 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * c-parse.in (datadef, fndef, ivar_decl, mydecls): + Restore declspec_stack since setspecs is used. + (parmlist_or_identifiers): Use setspecs before parsing parms + and restore after parsing parms. - * c-typeck.c (format_char_info_print_table, "p"): Allow width. +Sun May 21 01:04:52 1995 Jeffrey A. Law -Tue Aug 24 18:36:31 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * rs6000.c (output_{pro,epi}log): Don't need no-ops after calls - to functions to save and restore FP regs. - -Tue Aug 24 15:43:43 1993 Michael Meissner (meissner@osf.org) - - * osfrose.h (SUBTARGET_SWITCHES): Add -mlarge-align and - -mword-align to control whether alignments of > 4 are honored. - (ASM_OUTPUT_ALIGN_CODE): If -mlarge-align allow alignments > 4. - (ASM_OUTPUT_ALIGN): Ditto. - (ASM_OUTPUT_LOOP_ALIGN): Always do a .align 2. - (FUNCTION_BLOCK_PROFILER): Define. - (BLOCK_PROFILER): Define. - -Tue Aug 24 14:04:11 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * pa.c (compute_frame_size): Always align stack to 64 byte - boundary. - - * pa.h (STACK_BOUNDARY): Stack pointer is 512 bit (64 byte) - aligned. - - * pa.c (output_call): Use ASM_OUTPUT_INTERNAL_LABEL instead of - output_asm_label. - -Tue Aug 24 11:24:27 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - - * Merge of Objective C related changes since June 1. - - * objc/xforward.c, objc/mutex.h: Files removed. - * objc/encoding.[ch]: New files. - * objc/todo: File removed. - - Tue Jun 1 00:05:12 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - - * expr.c (apply_args_register_offset): New function - (apply_args_reg_offset): New variable - (apply_args_size): Added initialization of apply_args_reg_offset. - - * objc-act.c (offset_is_register): New variable - (forwarding_offset): Use apply_args_register_offset to get - register offset. - (encode_method_def, encode_method_prototype): Prepend argument - offset by '+' if passed in register. - (apply_args_register_offset): Added declaration. - - Sun Jun 6 20:57:03 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - - * objc/encoding.h, objc/encoding.c: New files. - * objc/Object.m (-performv): Use new objc_msg_sendv. - * objc/sendmsg.c (objc_msg_sendv): Use new encoding facilities. - * objc/objc.h (arglist_t): Data-definition changed. - * objc/xforward.c: File removed. - * objc/Makefile (sendmsg.c, fflags, xforward): Targets removed; - (OBJC_O): Added encoding.o; - (OBJC_H): Added encoding.h, removed mutex.h. - - * objc/objc.h (nil_method): Don't define it, import it from sendmsg.c. - - Wed Jun 16 17:39:56 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - - * objc/objc-api.h: (CLS_SETNUMBER): Clear old number - * objc/sendmsg.c (__objc_update_dispatch_table_for_class): - Don't free dtable... (memory leak to make posing work) - * objc/class.c (class_pose_as): lazy copy dtables. - #include sarray.h - - Tue Jun 22 21:39:11 1993 Kresten Krab Thorup (krab@xiv) - - * objc/class.c (class_pose_as): Rewritten - * objc/sendmsg.c (__objc_update_dispatch_table_for_class): - Free old dispatch table and install a new. - - Tue Aug 24 00:41:35 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - - * objc-act.c (generate_method_descriptors, generate_ivar_lists, - generate_dispatch_tables): Reorganized use of constructors. - (build_descriptor_table_initializer, build_ivar_list_initializer, - build_dispatch_table_initializer): Removed argument `int *size'. - - Tue Aug 24 00:52:04 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - - * objc/sendmsg.c (__objc_install_dispatch_table_for_class): - Dynamically expand dispatch table when full. - -Mon Aug 23 19:37:33 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * pa.h (TARGET_TRAILING_COLON): Delete switch. TARGET_GAS now - controls the use of trailing colons. - -Mon Aug 23 18:46:14 1993 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) - - * config/m68k/dpx2g.h (ASM_LONG): Move from dpx2.h. - - * configure (m68k-bull-sysv): Add support for working with native - assembler. - * config/m68k/dpx2.h (MOTOROLA): Define this. - (VERSADOS): This the name of the DPX2 assembler. Define this in case. - (USG): Define this. - (SGS_NO_LI): define this to suppress jump table usage. - (TARGET_DEFAULT): Define this to 3 inside the conditional USE_GAS - since bitfields do not work a clean way on DPX2. - (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS, SELECT_SECTION, - SELECT_RTX_SECTION): #undef these. - (READONLY_DATA_SECTION): Define to data_section. - (*_ASM_OP, ASM_OUTPUT_*): Define these accordingly to the native - assembler syntax. - (LONG_DOUBLE_TYPE_SIZE): Set to 64 to not use XFmode. - (REAL_ARITHMETIC): Define this to use the software floating point - emulator. - (JUMP_TABLES_IN_TEXT_SECTION): Define this to 1. - (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Override m68k.h default. - (ASM_OUTPUT_ASCII): add a new variable to take care of the lentgh of - the operand field which must be < 80 chars. - (PRINT_OPERAND_ADDRESS): Override m68k.h default. - (PUT_SDB_TYPE): Output type in decimal. - (PUT_SDB_FUNCTION_[START|END]): Override sdbout.c default. - (PUT_SDB_BLOCK_[START|END]): Override sdbout.c default. - -Mon Aug 23 18:33:26 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * fold-const.c (twoval_comparison_p): Add new arg, SAVE_P; all + * pa.c (hppa_encode_label): New variable "permanent" to + where/how memory is allocated for the new label. All callers changed. - (fold, case EQ_EXPR): If SAVE_P is true after call to - twoval_comparison_p, call save_expr on the expression we make. - -Mon Aug 23 07:57:41 1993 Michael Meissner (meissner@osf.org) - - * i386/osfrose.h (CC1_SPEC, CPP_SPEC): If NO_UNDERSCORE is - defined, the ELF compiler defaults to -mno-underscores to remove - leading underscores. Clean up ROSE -pic options so that they are - never passed when building ELF objects. - * i386/osfelf.h: Likewise. - -Sun Aug 22 23:36:24 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * expr.c (expand_builtin_apply): Fix typo. - - * pa.md (untyped_call): New define_expand. - -Fri Aug 20 12:24:50 1993 Ian Lance Taylor (ian@spiff.gnu.ai.mit.edu) - - * gcc.c (main): Correct August 6 change. - -Thu Aug 19 19:19:19 1993 Jim Wilson (wilson@cygnus.com) - - * combine.c (simplify_shift_const, XOR case): When applying - distributive law, use shift_mode and GET_MODE (varop) instead of - result_mode. - -Thu Aug 19 08:28:50 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * rs6000.md (scc): Fix typo in scc with compare and set. - - * combine.c (can_combine_p): Don't reject SUBREG assignments here. - (subst): Instead, do it here, but also allow it in as a - nested SUBREG since the inner one will be eliminated. - (simplify_and_const_int): Convert (and (neg X) (const_int 1)) - to a shift when X is known to be either 0 or 1. - - * fold-const.c (fold): Handle EQ_EXPR and NE_EXPR where both - args are comparisons or BIT_AND_EXPR with constant 1. - -Wed Aug 18 23:37:05 1993 Jim Wilson (wilson@cygnus.com) - - * mips.h (SELECT_SECTION): Put object in sdata only if size is - known, i.e. greater than 0. - -Wed Aug 18 17:48:51 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * combine.c (try_combine): Don't split a PARALLEL of a SIGN_EXTEND - and the object being sign extended if we have made assumptions - about the form the I2DEST. - - * combine.c (nonzero_bits): Handle case when BYTE_LOADS_EXTEND is - not on and we are asked for something in a mode wider than it. - -Wed Aug 18 02:21:35 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * pa.md (movdf insn): Distinguish between offsettable and - nonoffsettable memory locations when loading/storing a GR. - (movdi insn): Likewise. Loading a DImode constant can take as - many as 4 insns (length of 16 bytes). - - * pa.md (zero_extendqihi2): No need to explicitly set a length; - the defaults are correct. - (zero_extendqisi2, floatsisf2, floatsidf2): Likewise. - (fix_truncdfsi2, fix_truncsfdi2, fix_truncdfdi2): Likewise. - - * pa.c (emit_move_sequence): Check both reload_in_progress and - reload_completed when choosing a scratch/temporary register. - - * pa.h (TARGET_KERNEL): Delete switch and all references to it. - * pa.c (emit_move_sequence): Always handle secondary reloads for - symbolic addresses. - (secondary_reload_class): Symbolic operands always need a secondary - reload from R1_REGS if their target class is not R1_REGS. - * pa.md (HIGH for symbolic operands): TARGET_KERNEL version is now - the only choice. Delete ! TARGET_KERNEL version. - - * pa.h (DEFAULT_GDB_EXTENSIONS): GDB extensiosn are on by default. - * pa-hpux.h (DEFAULT_GDB_EXTENSIONS): Turn GDB extensions off. - * pa-hpux7.h (DEFAULT_GDB_EXTENSIONS): Likewise. - - * pa.h (TARGET_GAS): New target flag to control use of GAS - specific assembler directives. - (TARGET_SWITCHES): Support -mgas and -mno-gas. - (ASM_DECLARE_FUNCTION_NAME): If TARGET_GAS then emit .PARAM - directives for static functions so argument relocations work. - * pa-ghpux.h (TARGET_DEFAULT): Enable TARGET_GAS. - * pa-gux7.h, pa-utahmach.h, pa.h (TARGET_DEFAULT): Likewise. - * pa1-ghpux.h, pa1-utahmach.h, pa1.h (TARGET_DEFAULT): Likewise. - - * pa.c (hppa_legitimize_address): Rework address computation for - x[n - m] so that problems with implicit space register selection - are avoided. - * pa.h (EXTRA_CONSTRAINT): Delete unused 'S' constraint. - * pa.md (call_internal_symref): Make pattern unavailable if - TARGET_LONG_CALLS. - (call_value_internal_symref): Likewise. +Sat May 20 16:53:30 1995 Mike Meissner -Mon Aug 16 18:47:56 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * rs6000.md (insv, extz): Fail if the structure is QI or HI reg to + avoid paradoxical subreg's being created in RTL phase, which uses + SImode to load from memory if structure is later moved to stack. - From parkes@uiuc.edu: - * encore.h, ns32k.h (ASM_OUTPUT_ADDR_DIFF_ELT): Use .double instead - of .word. - * ns32k.h (CASE_VECTOR_MODE): Now SImode; was HImode. - * ns32k.md (tablejump): Now SImode and uses cased. +Sat May 20 06:44:59 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * fold-const.c (fold, case EQ_EXPR): Re-enable converting - signed MOD operations to unsigned when inside comparisons - against zero, but only when the second operand of the MOD - is an integral power of two. + * m68k.md (udivmodhi4): Output "divu" instead of "divs". -Mon Aug 16 12:38:28 1993 John Hassey (hassey@dg-rtp.dg.com) +Sat May 20 06:11:32 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * fixinc.dgux: Fixed va_list problem in _int_varargs.h + * reload.c (push_reload): Don't reload inside a SUBREG + when SUBREG_WORD is nonzero. -Mon Aug 16 11:26:57 1993 Kevin Buettner (kev@spuds.geg.mot.com) + * c-decl.c (shadow_tag_warned): Don't warn about useless keyword + if in system header file. - * configure (m88k-mot-sysv4*): Added new configuration for m88k - delta machines running svr4. + * tree.c (simple_cst_equal): Don't look at language-specific + nodes since we don't know what's in them. - * config/m88k/mot-sysv4.h: New file. + * cpperror.c: #include config.h before any other .h file. + * collect2.c: Likewise. -Mon Aug 16 11:16:32 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) + * i386/config-nt.bat: Add missing ^M on two lines. + Add case for Fortran; fix typo in Ada case. + * alpha/config-nt.bat: Add case for Fortran; fix typo in Ada case. - * combine.c: (use_crosses_set_p): Check for partially overlapping - hard regs. + * m68k/t-next (LIBGCC1, CROSS_LIBGCC1): Make not, not "libgcc1.null". + (OTHER_FIXINCLUDES_DIRS, LIMITS_H_TEST): Delete from here. + * m68k/x-next (OTHER_FIXINCLUDES_DIR, LIMITS_H_TEST): Move to here. -Sun Aug 15 20:17:20 1993 Jeffrey A. Law (law@snake.cs.utah.edu) +Fri May 19 19:30:20 1995 Stan Cox (gcc@dg-rtp.dg.com) - * reorg.c (find_end_label): If a suitable RETURN insn exists at - the end of the current function, place a label in front of it for - the end_of_function_label. + * crtstuff.c: Added reference to INIT_SECTION_PREAMBLE for systems that + do something which must be undone prior to __do_global_ctors. -Fri Aug 13 16:40:03 1993 Pat Rankin (rankin@eql.caltech.edu) +Fri May 19 19:27:08 1995 Alan Modra - * c-typeck.c (check_format): For scan of "%[", skip over scan set - til closing ']' to avoid processing it as ordinary format characters. + * i386/linux-aout.h (CPP_SPEC): Add defines for -fPIC. + * i386/linux-oldld.h (CPP_SPEC): Likewise. -Fri Aug 13 16:02:23 1993 Chip Salzenberg (chip@fin.uucp) +Fri May 19 17:46:28 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * c-common.c (declare_hidden_char_array): New function to - factor out duplicate code in declare_function_name. - Don't set DECL_EXTERNAL (which is illegal without TREE_PUBLIC) - to prevent output; instead, set TREE_ASM_WRITTEN. - (declare_function_name): Use declare_hidden_char_array. + * collect2.c (strstr): Deleted. + * cplus-dem.c (strstr): Define ifndef POSIX. -Fri Aug 13 14:58:52 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri May 19 11:16:51 1995 Per Bothner - * config/ns32k/encore.h (ASM_OUTPUT_ALIGN_CODE): Override as no-op. + * cpplib.c (collect_expansion): Don't escape '@' inside string. -Fri Aug 13 14:29:17 1993 Stephen Moshier (moshier@world.std.com) +Fri May 19 06:59:21 1995 Pat Rankin (rankin@eql.caltech.edu) - * sparc.h (LONG_DOUBLE_TYPE_SIZE): Define to 128. + * vmsconfig.com (process_objc_lib, configure_makefile): New routines. + (bc_all.list, ./vax.md, objc-objs.opt, objc-hdrs.list): New files + created at config time. + (bc_all.opt, ./md.): No longer created. + * make-cc1.com: Handle revised filenames from vmsconfig.com; + (DO_OBJCLIB): New variable, plus code to compile objc/*.{c,m}. - * real.c (GET_REAL, PUT_REAL): Add TFmode versions. - (MAXDECEXP, MINDECEXP): New decimal exponent limits - that vary with definition of LONG_DOUBLE_TYPE_SIZE. - (endian, ereal_atof, real_value_truncate, einfin, emdnorm, asctoeg): - Add cases for TFmode. - (etartdouble): New function converts REAL_VALUE_TYPE to TFmode - for use by ASM_OUTPUT_LONG_DOUBLE. - (edivm, emulm): Ifdef out, replace by faster multiply and divide. - (etoe113, toe113, e113toe): New type conversions for TFmode. - (asctoe113, e113toasc): New TFmode binary <-> decimal conversions. - (at top level): Define constants ezero, eone, emtens, etens, ... - in a new 20-byte format when LONG_DOUBLE_TYPE_SIZE = 128 and - set NE to 10. Otherwise, the internal format remains 12 bytes wide. - (etoudi, etodi, ditoe, uditoe): New functions, signed and unsigned - DImode float and fix, for real.c used in a libgcc-of-last-resort. - (esqrt): New function, correctly rounded square root for libgcc. - (etodec): Delete ifdef'd version. - (eroundi, eroundui): Rename to efixi, efixui and always - round towards zero. +Wed May 17 16:15:31 1995 Torbjorn Granlund - From frank@atom.ansto.gov.au (Frank Crawford): - (etoibm, toibm, ibmtoe): New conversions for IBM 370 float format. - (e53toe, e64toe, toe64, etoe53, toe53, etoe24, toe24, asctoe53, - asctoeg, make_nan): Ifdef for IBM. + * i960.c (i960_output_ldconst): New code for XFmode. + Also, move SFmode code to immediately after DFmode code. + (S_MODES, D_MODES): Handle XFmode. + (XF_MODES): Was TF_MODES, handle XFmode instead of TFmode. + (hard_regno_mode_ok): Replace TFmode with XFmode. + (i960_output_long_double): New function. - * real.h (REAL_VALUE_TYPE): Define array at least 20 bytes wide - if LONG_DOUBLE_TYPE_SIZE is 128 bits. - (etartdouble): Declare and use for REAL_VALUE_TO_TARGET_LONG_DOUBLE - when long double is TFmode. - (REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX): Must always round - towards zero. + * i960.h (DATA_ALIGNMENT): Define. + (ROUND_TYPE_ALIGN): Align XFmode scalars at 128 bit boundaries. + (ROUND_TYPE_SIZE): Round up the size of XFmode objects to 128 bits. + (CONST_DOUBLE_OK_FOR_LETTER_P): Use CONST0_RTX and CONST1_RTX + so that all FP modes are recognized. + (ASM_OUTPUT_LONG_DOUBLE): Define. -Fri Aug 13 07:50:42 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * i960.md: Change all TFmode patterns to have XFmode. + (movxf recognizer, frame version): Use movt, ldt, and stt. + (movxf recognizer, non-frame version): Delete. + (extenddfxf2): Delete * before f constraint. + (extendsfxf2): Likewise. - * expr.c (expand_expr, case SAVE_EXPR): Set MEM_IN_STRUCT_P - appropriately when the result is a MEM. +Wed May 17 17:53:35 1995 Jim Wilson - * integrate.c (expand_inline_function): Copy args that are in - hard regs instead of substituting them directly into insns. + * unroll.c (unroll_loop): Increment copy_start_luid if copy_start + is loop_start. - * rs6000.md (subsi3): Merge alternatives. - (comparison patterns): Eliminate generation of "sfi."; no such - instruction exists. +Wed May 17 17:44:57 1995 Lee Iverson -Thu Aug 12 21:24:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fold-const.c (invert_truthvalue, case CLEANUP_POINT_EXPR): New case. - * config/m68k/sun3.h (CPP_PREDEFINES): Define _CROSS_TARGET_ARCH. +Tue May 16 18:51:16 1995 Michael Meissner -Thu Aug 12 19:02:47 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * rs6000/rs6000.h (TARGET_SWITCHES): Add -mstring to enable string + instructions, and -mno-string to disable them. + (MOVE_MAX): Don't test TARGET_MULTIPLE anymore. + (MAX_MOVE_MAX): Set to 8, not 16. + (expand_block_move): Add declaration. - * rs6000.md (attribute "type"): Add new type, "branch". - (attribute "length"): New attribute; put on all insns that don't - have default length. - (branch patterns): If conditional branch won't reach, take - conditional branch around an unconditional branch. + * rs6000/rs6000.c (expand_block_move): New function to expand + block moves when -mstring is used. - * rs6000.md (plus): Split (plus (COMPARISON FOO ...) ...) at FOO. + * rs6000/rs6000.md (movti): Use TARGET_STRING, not TARGET_MULTIPLE. + (load_multiple, store_multiple): Ditto. + (string insns): Add 8, 6, 4, 2, and 1 register variants for using + the native string instructions if -mstring. -Thu Aug 12 14:04:40 1993 Michael Meissner (meissner@osf.org) + * rs6000/sysv4.h (CPP_SPEC): If little endian, define + _LITTLE_ENDIAN and set littleendian assertion. If big endian, + define _BIG_ENDIAN and set bigendian assertion. + * rs6000/sysv4le.h (CPP_SPEC): Copy from sysv4.h, and change + default to little endian. - * i386/osfrose.h (SUBTARGET_SWITCHES): Add -munderscores and - -mno-underscores. - (CPP_SPEC): If -mno-underscores, define __NO_UNDERSCORES__. - (LPREFIX): Redefine, to take -m{,no-}underscores into account. - (ASM_GENERATE_INTERNAL_LABEL): Ditto. - (ASM_OUTPUT_INTERNAL_LABEL): Ditto. - (ASM_OUTPUT_LABELREF): Ditto. - - * i386/osfelf.h (CPP_SPEC): If -mno-underscores, define - __NO_UNDERSCORES__. - - * c-decl.c (pushdecl): Don't give nested warning messages if - DECL_IN_SYSTEM_HEADER is set in order not to give warnings when - defining new instances of __FUNCTION__ and __PRETTY_FUNCTION__. - -Thu Aug 12 13:42:04 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - - * sparc.c (legitimize_pic_address): Delete 4th arg SCRATCH. - Fix all callers. - (emit_move_sequence): Delete 3rd arg SCRATCH_REG. Fix all - callers. If operand1 is an invalid PIC address, then legitimize - it before doing anything else. - * sparc.h (SECONDARY_INPUT_RELOAD_CLASS): Delete case for invalid - PIC addresses. - (CONSTANT_ADDRESS_P): Reject invalid PIC addresses. - (LEGITIMATE_PIC_OPERAND_P): New macro. - (GO_IF_LEGITIMATE_ADDRESS): Reject invalid PIC addresses. - (LEGITIMIZE_ADDRESS): Fix call to legitimize_pic_address. - * sparc.md (reload_insi): Delete. - (*): Fix all callers of legitimize_pic_address and emit_move_sequence. - - * sched.c (sched_analyze_insn): Handle USE before a JUMP_INSN just - like a USE before a CALL_INSN. - * function.c (thread_prologue_and_epilogue_insns): For the - epilogue, put USE insns immediately before the return insn. - - * sparc.h (ASM_OUTPUT_DOUBLE): Always use REAL_VALUE_TO_TARGET_DOUBLE. - (ASM_OUTPUT_FLOAT): Always use REAL_VALUE_TO_TARGET_SINGLE. - -Wed Aug 11 19:48:24 1993 Per Bothner (bothner@kalessin.cygnus.com) - - * tree.c (get_file_function_name): New function - for language-independent constructor name generation. - * objc-act.c (build_module_descriptor): Use it. - * tree.h (CONSTRUCTOR_NAME_FORMAT): Removed. - -Wed Aug 11 19:50:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * reorg.c (try_merge_delay_insns): Fix typo. - (fill_simple_delay_slots): Only access the JUMP_LABEL field - if the INSN needing delay slots is a JUMP_INSN. - -Wed Aug 11 15:09:52 1993 Michael Meissner (meissner@osf.org) - - * c-typeck.c (output_init_element): Don't call default_conversion - for a STRING_CST if type is directly suitable for it. - (digest_init): Eliminate a lot of code that checks the variable - 'element', since element is always 0 in these code paths. - -Wed Aug 11 17:59:28 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * combine.c (combine_instructions): Fix typo on test of basic block - number. - -Wed Aug 11 17:44:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * configure (m68k-hp-bsd4.4*): Add missing *; - move before m68k-hp-bsd*. + * rs6000/rs6000.c (override_options): Check for -mmultiple and + -mstring on little endian systems here. + * rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Don't do the check + here. -Wed Aug 11 09:21:56 1993 Ian Lance Taylor (ian@cygnus.com) +Tue May 16 18:36:41 1995 Douglas Rupp (drupp@cs.washington.edu) - * fixincludes: Get SIZE_TYPE by invoking gcc rather than cc; gcc - location is passed in as fourth argument. - * Makefile.in (stmp-fixinc): Depend upon xgcc and cpp; pass - objdir/xgcc -Bobjdir/ as fourth argument to $(FIXINCLUDES). + * alpha.c: Changed WINNT to _WIN32. + * alpha/config-nt.bat, i386/config-nt.bat: Added commands to + generate specs.h and options.h. + * i386/config-nt.sed: Changed link32 to link. + * winnt/ld.c (main): Removed call to free. + * configure.bat: Added line to echo usage on invalid input. + * gcc.c (fix_argv): Removed call to free. + * gcc.c, getpwd.c, protoize.c, sdbout.c: Changed WINNT to _WIN32. + * toplev.c: Likewise. -Tue Aug 10 15:12:11 1993 Jim Wilson (wilson@cygnus.com) +Tue May 16 18:04:47 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cse.c (cse_insn): After inserting src_eqv, check to see if it is - identical to any uninserted SET_SRCs, and if so, set their src_elt - to src_eqv_elt. + * toplev.c (pfatal_with_name, fatal_io_error, vfatal): + Use FATAL_EXIT_CODE instead of magic number. + * cccp.c, cpplib.c, cpplib.h: Use FATAL_EXIT_CODE instead + of FAILURE_EXIT_CODE. + * fix-header.c, gen-protos.c: Likewise. + * cpperror.c, cppmain.c: Likewise. + Include config.h #ifndef EMACS. + * xm-alpha.h, xm-rs6000.h, xm-vms.h (FAILURE_EXIT_CODE): Remove. -Tue Aug 10 12:56:46 1993 Jeffrey A. Law (law@snake.cs.utah.edu) +Tue May 16 17:46:57 1995 Adam Fedor - * pa.h (DOLLARS_IN_IDENTIFIERS): Define as 2. + * objc/archive.c (__objc_write_class): Write class version. + (__objc_write_selector, objc_{write,read}_selector): Handle null + selector. -Mon Aug 9 19:02:49 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) + * objc/sarray.h (struct sarray): Make capacity size_t. + * objc/sarray.c (sarray_realloc): Make array index variables size_t. - Merged fixproto stuff from Cygnus. +Tue May 16 06:59:08 1995 Paul Eggert - Fri Aug 6 12:23:04 1993 Per Bothner (bothner@kalessin.cygnus.com) + * dsp16xx.c (print_operand_address): Fix misspellings in messages. + * i370/mvs.h (FUNCTION_PROFILER): Likewise. + * mips-tdump.c (type_to_string): Likewise. + * print-tree.c (print_node): Likewise. - * fixproto, Makefile.in: Rename tmp.[ci] -> fixtmp.[ci]. + * protoize.c (edit_fn_definition): Fix mispelled local `have_flotsam'. - Tue Aug 3 22:24:58 1993 Per Bothner (bothner@kalessin.cygnus.com) + * objc/sendmsg.c (__objc_init_install_dtable): Fix misspelling + in name of local label `already_initialized'. - * fixproto: Find not only nested directories, but also - links to directories. + * winnt/winnt.h (STDC_VALUE): Was misspelled. - Mon Aug 2 18:58:35 1993 Per Bothner (bothner@kalessin.cygnus.com) + * m68k/ccur-GAS.h (FUNCTION_BOUNDARY): Was misspelled. - * fixproto: Add kludge to getting hit by double globbing. - * scan-types.sh: Fix to emit #define, not a typedef. - * patch-header.c (main): Make sure to print a space after - a function name when we didn't see a '('. - * Makefile.in (stmp-fixproto): Fix so (/*...*/) becomes (). + * 1750a.h (DEFAULT_PCC_STRUCT_RETURN): Was misspelled. - Fri Jul 30 17:18:22 1993 Per Bothner (bothner@kalessin.cygnus.com) +Mon May 15 23:41:25 1995 Jeffrey A. Law - * fixproto: Append seen files to fixproto.list file, - instead of done_files variable (which could become too long). - * fixproto: Don't generate a huge rel_souce_files variable - (which might become too long); instead loop over directories. - * fixproto: Remove signal() from list of required functions - for signal.h, because we can't grok its complicted prototype. - * Makefile.in (mostlyclean): Also delete fixproto.list. + * pa.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Make sure to encode section + info for all libcalls. - Thu Jul 29 12:43:53 1993 Per Bothner (bothner@kalessin.cygnus.com) +Mon May 15 20:58:00 1995 Jason Merrill - * scan-decls.c (skip_to_enclosing_brace): New function. - * scan-decls.c (main): After a parameter list, skip - any following function body (usually for inline functions). + * collect2.c (strstr): Define ifndef POSIX. - * fixproto: Fix to make sure stdlib.h and unistd.h get - the proper required_list, even when they need to be created. - * fixproto: Direct cpp error messages to /dev/null. - * patch-header.c: Make less verbose. + * defaults.h (SUPPORTS_WEAK): Provide default. + * aoutos.h, sparc/sunos4.h: Don't support weak symbols. + * netbsd.h, svr4.h, i386/freebsd.h, i386/osfrose.h, + m88k/m88k.h: Define ASM_WEAKEN_LABEL instead of WEAK_ASM_OP. + * c-pragma.h: Check ASM_WEAKEN_LABEL instead of WEAK_ASM_OP. + HANDLE_PRAGMA_WEAK is never defined in a tm.h file. + * c-decl.c (duplicate_decls): Propagate DECL_WEAK. + * tree.h (DECL_WEAK): New macro. + (tree_decl): Add weak_flag. + * varasm.c (assemble_start_function): Declare the symbol weak if + appropriate. + (assemble_variable): Ditto. + (assemble_alias): Ditto. Mark the decl as written. + (declare_weak): Check for weak declaration after definition. + Set DECL_WEAK. + (weak_finish): Use ASM_WEAKEN_LABEL. + * libgcc2.c: The C++ free-store management functions are weak + aliases on targets that always support them. - Wed Jul 28 16:12:39 1993 Per Bothner (bothner@kalessin.cygnus.com) +Mon May 15 19:01:43 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * fixproto: Rewrite to use a case statement instead of eval to - set required_list and extra_check_list. - * fixproto: Simplify remaining call to tr improving portability. + * configure (out_object_file): New variable; put value in Makefile. + * Makefile.in (out_object_file): Use in place of aux-output.o. - * scan-decl: Recognize inline functions, emitting typecode 'I'. - * patch-header (read_scan_file): Handle inline functions. - * patch-header (read_scan_file): Fix thinko. Rename variable. + * fold-const.c (const_binop): Don't pass OVERFLOW to force_fit_type + if type is unsigned. -Mon Aug 9 17:47:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon May 15 18:48:26 1995 Paul Eggert - * c-typeck.c (build_c_cast): For (void *) (FOO *) 0, return a nop_expr - so it doesn't count as a null pointer constant. - (convert_for_assignment, build_binary_op): Pedantically warn about - that case if looking for a null_pointer_constant. - (build_conditional_expr): Likewise. + * install.sh (transformbasename): Fix misspelling. - * ns32k.c (output_move_double): Fix typos in last change. + * tahoe.h (CHECK_FLOAT_VALUE): Fix misspelling of OVERFLOW parameter. - * expr.c (store_expr): Don't return TEMP if it's a MEM. + * i386.h (VALID_MACHINE_{DECL,TYPE_ATTRIBUTE): Fix typo. -Mon Aug 9 15:26:27 1993 Jim Wilson (wilson@cygnus.com) + * fx80.h (CHECK_FLOAT_VALUE): Fix misspelled use of parameter. - * varasm.c (assembler_variable): For XCOFF_DEBUG, restore section - if dbxout_symbol call changes it. + * a29k.c (spec_reg_operand): Fix misspelling of `default:'. - * sched.c (schedule_insns): Don't emit a NOTE at the end of the last - basic block if that would put it between a JUMP_INSN and a BARRIER. +Mon May 15 18:36:41 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * mips.h (OPTIMIZATION_OPTIONS): Use |=, not &= to set -mpgopt. - * mips.c (function_arg, DFmode case): Set regbase to GP_ARG_FIRST - if cum->arg_number greater than or equal to 2. + * m68k.md (b{eq,ne,ge,lt}0_di): Fixed for non-MOTOROLA syntax. + * m68k/xm-mot3300.h (alloca): Extern decl added for non-GNU compiler. -Mon Aug 9 07:31:07 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Mon May 15 13:14:29 1995 Per Bothner - * optabs.c (widen_operand): New function. - (expand_binop, expand_unop): Call it. + * cppexp.c (cpp_reader): Test for '#' (start of assertion) *after* + skipping hspace, not before. -Sun Aug 8 17:32:04 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Mon May 15 08:13:54 1995 Pat Rankin (rankin@eql.caltech.edu) - * combine.c (num_sign_bit_copies): Properly handle case when MODE is - narrower than that of X. - (simplify_shift_const): Remove change of July 26. + * vmsconfig.com: Construct options.h and specs.h to #include + all "*/lang-{options|specs}.h" files found. -Sun Aug 8 17:26:57 1993 Jim Wilson (wilson@cygnus.com) +Sun May 14 21:32:49 1995 Doug Evans - * sparc.c (sparc_type_code): Support range types. + * alpha/alpha.md (movsicc, case NE): Don't generate unrecognizable + insn. + (movdicc, case NE): Likewise. - * expr.c (expand_increment): Call save_expr on inner expression if - it is itself an increment expression. +Sun May 14 15:44:54 1995 Jim Wilson - * configure (*-*-riscos*): Set broken_install. - (mips-*-riscos[56789]sysv4): Use xm-sysv4.h. - * mips/xm-sysv4.h: New file. - * mips/svr3-5.h, mips/svr4-5.h (_SC_PAGE_SIZE): Define to - _SC_PAGESIZE if that exists. + * unroll.c (unroll_loop): Make local_regno have size + max_reg_before_loop. Don't do local register optimization if + copy_end has no INSN_LUID. - * sparc.h (CONST_DOUBLE_OK_FOR_LETTER_P): Use fp_zero_operand. - * sparc.c (reg_or_0_operand): Use fp_zero_operand. - (fp_zero_operand): New function. +Sun May 14 10:38:23 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * c-typeck.c (build_array_ref): Force array to be allocated on the - stack if it is accessed by out-of-bound constant integer subscript. + * objc-act.c (start_method_def): Mark _self as possibly unused. - * configure (mips-*): Standardize indentation. - (mips-*-*bsd*): Use t-bsd and t-bsd-gas. - (mips-*-*sysv4*): Use t-svr4 and t-svr4-gas. - (mips-*-*sysv*): Use t-svr3 and t-svr3-gas. - * mips/t-bsd, mips/t-bsd-gas, mips/t-svr3, mips/t-svr3-gas, - mips/t-svr4, mips/t-svr4-gas: New files. + * configure: Create specs.h and options.h from */lang-specs.h + and */lang-options.h. + Set lang_specs_files and lang_options_file variables in Makefile. + * Makefile.in (lang_{specs,options}_files): New variables. + (gcc.o): Depends on $(lang_specs_files). + (toplev.o): Depends on $(lang_options_file); merge two dep lists. + (distclean): Remove spes.h and options. + * gcc.c (default_compilers): Remove entries for Ada, C++, Chill, + and Fortran; #include specs.h instead. + * toplev.c (lang_options): Remove entries for Ada, C++, and Fortran; + include options.h instead. -Sun Aug 8 11:33:51 1993 John F Carr (jfc@Athena.mit.edu) +Sat May 13 23:11:21 1995 DJ Delorie - * expmed.c (SLOW_UNALIGNED_ACCESS): Define, but allow override. - (store_bit_field): Test that instead of STRICT_ALIGNMENT. - Also, allow fetching as non-bitfield if memory is aligned enough. - (extract_bit_field): Install code here like that in store_bit_field. + * configure (i[345]86-go32-msdos, i[345]86-*-go32): New targets. -Sun Aug 8 04:26:21 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat May 13 10:58:38 1995 Jim Wilson - * expr.c (expand_assignment): If WANT_VALUE is 0, return NULL. - (store_expr): Likewise. - Rename arg SUGGEST_REG to WANT_VALUE. - Never return TARGET if WANT_VALUE unless BLKmode. - Instead, return TEMP or a value copied from TARGET. - Pass 0 for WANT_VALUE in recursive calls that ignore value. + * loop.c (record_giv): When computing replaceable, use + back_branch_in_range_p instead of looking for branches to named + labels. + * loop.h (back_branch_in_range_p): Declare. + * unroll.c (back_branch_in_range_p): No longer static. - * varasm.c (contains_pointers_p): New function. - (assemble_variable): Use that. +Sat May 13 06:47:11 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * toplev.c (rest_of_decl_compilation): Don't look at DECL_IGNORED_P. - Don't output a read-only initialized extern variable. + * combine.c (simplify_shift_count, case LSHIFTRT): Don't merge + shifts of different modes if first is any right shift. - * c-common.c (declare_function_name): Set DECL_EXTERNAL in the decls. +Sat May 13 05:39:09 1995 Richard Earnshaw (rearnsha@armltd.co.uk) -Sat Aug 7 22:25:42 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * configure (arm-semi-aout): New configuration. + * config.sub: Add support for semi-hosted ARM. + * arm/t-semi, arm/semi.h: New files. - * c-typeck.c (process_init_element): Don't call clear_momentary - if value is 0. +Fri May 12 21:51:22 1995 Doug Evans -Sat Aug 7 15:53:06 1993 Doug Evans (dje@canuck.cygnus.com) + * flow.c (find_basic_blocks): Only perform n_basic_blocks sanity + check on first pass, and on second pass ensure it has the correct + value. - * caller-save.c (MAX_MOVE_MAX, MAX_UNITS_PER_WORD): New macros. - (regno_save_mode, regno_save_mem): Use them. - * tm.texi (MAX_MOVE_MAX, MAX_UNITS_PER_WORD): Document them. +Fri May 12 19:23:11 1995 Jim Wilson - * c-decl.c (init_decl_processing): Make long long available to - use for SIZE_TYPE and PTRDIFF_TYPE. + * c-typeck.c (build_binary_op): Warn when ~unsigned is compared + against unsigned, and type promotions result in an unexpected + answer. -Sat Aug 7 14:47:12 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri May 12 19:10:21 1995 Roland McGrath - * config/ns32k/ns32k.md (strict_low_part add/subtract recognizers): - Use %2, not %1, in template. + * configure (*-*-gnu*): Always use ELF; set tm_file=${cpu_type}/gnu.h. + * config/i386/gnu.h: Contents replaced with old i386/gnuelf.h. + * config/i386/gnuelf.h: File removed. -Sat Aug 7 07:40:28 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Fri May 12 17:29:57 1995 Ken Raeburn (raeburn@cygnus.com) - * reload.c (find_reloads): Don't combine two reloads if their - reload_reg_rtx values differ. + * m68k/lb1sf68.asm (__IMMEDIATE_PREFIX__): Default to #. + (IMM): New macro. + (all code): Use IMM macro instead of hardcoding # for immediate + operands. - * alpha.c (add_long_const): New function. - (output_{pro,epi}log): Use it. - If register save area is more than 32768 from SP, compute its - address into a register. +Fri May 12 16:52:10 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * expmed.c (expand_divmod): Clean up code and documentation, - especially in areas related to when copies are made. + * m68k.c (output_scc_di): New function. + (extend_operator) : Allow DImode target. + * m68k.h (HARD_REGNO_MODE_OK): Don't allow d7/a0 as DImode reg pair. + * m68k.md (tstdi, cmpdi, addsi_lshrsi_31, ashldi_extsi): New patterns. + (extendqidi2, extendhidi2, extendsidi2): Allow "general_operand" + instead of "register_operand" 0. + (adddid_sexthishl32, subdid_sexthishl32, subdi_dishl32): Likewise. + (adddi_dilshr32): Operand 0 constraint changed from "ro" to "do"; + Code generation fixed. + (adddi_mem, subdi_mem): Fixed for "<" and ">" operand 0. + (adddi3, subdi3): Operand 2 constraint changed from "ao" to "*ao" + (ashldi_sexthi, ashrdi_const32): Allow only "register_operand" + instead of "general_operand" 0. + (ash[lr]di_const, ash[lr]di3): Allow also 8 and 16 as shift count. + (subreg1ashrdi_const32): Pattern deleted. + (subreghi1ashrdi_const32, subregsi1ashrdi_const32): New pattern. + (lshrsi_31): New implementation. + (scc0_di, scc_di, beq0_di, bne0_di, bge0_di, blt0_di): New patterns. + +Fri May 12 16:50:49 1995 Jeffrey A. Law - * reload.c (push_reload, find_reloads): Treat (subreg (pseudo)) - and (subreg (mem)) the same. - If we have (subreg:M1 (mem:M2 ...) ...), never do anything - special if M1 and M2 are the same size. + * pa.md (bb patterns): Fix bugs in length computation exposed by + recent branch shortening and genattrtab changes. - * tree.c (print_obstack_name): New function; derived from - original debug_obstack. - (debug_obstack): Call print_obstack_name. - * print-tree.c (print_node): Print obstack node is contained in. +Fri May 12 16:22:27 1995 Ken Raeburn -Sat Aug 7 04:47:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cccp.c (enum node_type): Add T_IMMEDIATE_PREFIX_TYPE. + (special_symbol): Handle it; emit value of IMMEDIATE_PREFIX. + (IMMEDIATE_PREFIX): Default to empty string. + (initialize_builtins): Install __IMMEDIATE_PREFIX__ builtin, + parallel to __REGISTER_PREFIX__. - * c-decl.c (finish_decl): Allow file-scope static incomplete array. +Fri May 12 14:40:03 1995 Pat Rankin (rankin@eql.caltech.edu) -Fri Aug 6 13:03:27 1993 Jim Wilson (wilson@sphagnum.cygnus.com) + * cccp.c: #if VMS, don't define `stat' macro to be VMS_stat. + Compare enums explicitly to 0 to work around VAX C bug. + (do_include): Cast alloca's value. - * expr.c (expand_expr, case PLUS_EXPR): Goto binop2 not - both_summands if we should not be returning a plus. + * make-cc1.com (bc_loop): Process comma-separated list rather + than space-separated one; restore .h suffix stripped by vmsconfig; + (loop1): More robust handling of directory prefix on file names. + * vmsconfig.com (TPU makefile.in): Reorganize and reformat code. + Make generated .opt files have more consistent format (all comma + separated, excess whitespace eliminated); + (additional_compiler): New routine. + (process_makefile): Use it to handle cc1plus via cp/Make-lang.in. -Fri Aug 6 16:35:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri May 12 13:35:07 1995 Doug Evans - * config/m68k/m68k.md (call and call_value pic recognizers) [HPUX_ASM]: - Output plain bsr, without `@PLTPC'. + * arm.h: Replace ARM_REG_PREFIX with REGISTER_PREFIX. + Replace ARM_COMMENT_CHAR with ASM_COMMENT_START. + (REGISTER_PREFIX): Define. + (USER_LABEL_PREFIX, LOCAL_LABEL_PREFIX): Define. + (SECONDARY_OUTPUT_RELOAD_CLASS): Handle DFmodes only if + TARGET_HARD_FLOAT. + (PREDICATE_CODES): Add soft_df_operand. + * arm.c: Replace ARM_REG_PREFIX with REGISTER_PREFIX. + Replace ARM_COMMENT_CHAR with ASM_COMMENT_START. + (arm_asm_output_label): Use USER_LABEL_PREFIX. + (soft_df_operand): New function. + * arm.md (movsicc): New pattern. + (movsfcc, movdfcc, *movsicc_insn, *movsfcc_hard_insn): Likewise. + (*movsfcc_soft_insn, *movdfcc_insn): Likewise. + (*movdf_soft_insn): Rewrite. + (movsi matcher): Fix typo in type attribute. -Fri Aug 6 16:12:08 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Fri May 12 10:25:40 1995 Michael Meissner (meissner@cygnus.com) - * alpha.c (reg_or_6bit_operand): New function. - * alpha.h (PREDICATE_CODES): Add reg_or_6bit_operand to list. - * alpha.md (shifts): Use reg_or_6bit_operand for shift counts. + * i386.h (TARGET_RTD): Use MASK_RTD, not MASK_REGPARM. + (TARGET_SWITCHES): Add -m{,no-}align-double switch. + (TARGET_OPTIONS): Add -mregparm= switch to set number of registers + to use for passing arguments. Add -malign-loops= switch to set + the alignment for loops. Add -malign-jumps= switch to set the + alignment for code that is jumped to. Add -malign-functions= + switch to set the initial alignment of functions. + (TARGET_REGPARM): Delete, in favor of -mregparm= + (TARGET_SWITCHES): Delete -mregparm, add -mdebug-arg switches. + (RETURN_POPS_ARGS): Call i386_return_pops_args to do the real work. + (VALID_MACHINE_DECL_ATTRIBUTE): Define as function call. + (VALID_MACHINE_TYPE_ATTRIBUTE): Define as function call. + (COMP_TYPE_ATTRIBUTES): Define as function call. + (REGPARM_MAX): Maximum number of regs to use for passing arguments. + (CUMULATIVE_ARGS): Make this a structure, not an int. + (INIT_CUMULATIVE_ARGS, FUNCTION_ARG{,_ADVANCE}): Call function. + (FUNCTION_ARG_PARTIAL_NREGS): Likewise. + (MAX_CODE_ALIGN): Maximum value to align loops/jumps to. + (BIGGEST_ALIGNMENT): Return 64 if -malign-double, 32 otherwise. + (ASM_OUTPUT_ALIGN_CODE): Use value of -malign-jumps= switch. + (ASM_OUTPUT_LOOP_ALIGN): Use value of -malign-loops= switch. + (toplevel): Declare all new functions and external variables added + in i386.c. -Fri Aug 6 15:57:58 1993 Ian Lance Taylor (ian@cygnus.com) + * i386.c (i386_regparm_string, i386_regparm): New variables + for -mregparm= switch to set the number of registers to use for + passing arguments. + (i386_align_loops_string, i386_align_loops): New variables for + -malign-loops= switch to set alignment to use for loops. + (i386_align_jumps_string, i386_align_jumps): New variables for + -malign-jumps= switch to set alignment to use for labels that are + jumped to. + (override_options): Support new switches. + (i386_valid_decl_attribute_p): New function to validate decl + specific attributes. Presently returns 0. + (i386_valid_type_attribute_p): New function to validate type + specific attributes. Recognize "stdcall", which says function + with fixed numbers of arguments is responsible for popping stack, + "cdecl", which says to use the normal C calling sequence, even if + -mrtd is used, and "regparm", which specifies the number of + registers to use for passing arguments. + (i386_comp_type_attributes): New function, to validate whether + attributes are compatible. + (i386_return_pops_args): New function, to return whether or not + the function pops its argument list or not, taking into account + -mrtd, and the stdcall/cdecl attributes. + (init_cumulative_args): Rewrite as a function, taking variable + argument functions, and regparm support into account. + (function_arg{,_advance,_partial_nreg}): Likewise. + (print_operand): Support %J, to print appropriate jump insn. - * gcc.c (main): If standard_startfile_prefix is a relative path, - prepend standard_exec_prefix/MACHINE/VERSION and, if - GCC_EXEC_PREFIX is defined, GCC_EXEC_PREFIX/MACHINE/VERSION. + * i386.md (decrement_and_branch_until_zero): Define pattern, + so that loops that count down to zero, don't have an unneeded + compare after the decrement. Add a general insn recognizer for + add to a value and compare against zero. - * configure: If config.status did not change, don't update its - modification time. + * i386/go32.h, i386/winnt.h (VALID_MACHINE_DECL_ATTRIBUTE): + Delete, code folded into the mainline. + (RETURN_POPS_ARGS): Likewise. -Fri Aug 6 15:23:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * i386/winnt.h (ENCODE_SECTION_INFO): The stdcall attribute is now + stored on the type field, rather than the decl. - * c-typeck.c (output_init_element): Fix backward test in last change. - Use TYPE_MAIN_VARIANT. + * i386/gas.h (ASM_OUTPUT_ALIGN_CODE, ASM_OUTPUT_LOOP_ALIGN): Use + i386_align_{loops,jumps} variables to do alignment. + * i386/osfrose.h, i386/svr3dbx.h: Likewise. -Fri Aug 6 06:43:09 1993 Michael Meissner (meissner@osf.org) +Fri May 12 12:48:19 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * g++.c (fancy_abort): Provide function in case user does - #define abort fancy_abort when building GCC. + * stor-layout.c (layout_type, case ARRAY_TYPE): Compute length using + MAX of length and zero if sizetype signed and neither bound constant. -Fri Aug 6 00:15:21 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * i386/gnuelf.h, i386/linux-oldld.h, i386/lynx-ng.h, i386/v3gas.h: + Use <...> in #include instead of "...". + * m68k/lynx-ng.h, sparc/lynx-ng.h: Likewise. - * cccp.c (main): If -v, print header search dir list. + * c-parse.in (myparm): Handle attributes. + * objc-act.c (unused_list): New variable. + (build_tmp_function_decl): Call push_parm_decl with new format. + (start_class): Initialize unused_list. + (start_method_def): Call push_parm_decl with new format and + mark _cmp as possibly unused. - * c-typeck.c (output_init_element): Call default_conversion here. - Set constructor_erroneous, etc., here. - (process_init_element): Not here. + * combine.c (simplify_shift_const): Don't change SHIFT_MODE + for LSHIFTRT either. -Thu Aug 5 20:55:47 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * unroll.c (unroll_loop): Don't move reg if used in copy_end and + that is a JUMP_INSN. - Cygnus<->FSF merge. +Fri May 12 12:31:37 1995 Doug Evans - Thu Aug 5 17:07:20 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * arm/lib1funcs.asm: New file. - * cp-class.c (build_vtable, prepare_fresh_vtable): Turn on - WRITABLE_VTABLES stuff that I disabled July 30th. - * cp-pt.c: Include flags.h to get write_symbols. +Fri May 12 11:52:03 1995 Kung Hsu - Thu Aug 5 15:50:25 1993 Mike Stump (mrs@cygnus.com) + * configure (a29k-*-vxworks*): New target. + * config.sub (vxworks29k): New alias. + * a29k/t-vx29k: New file. + * a29k/vx29k.h: New file. - * cp-class.c (finish_struct): Make DWARF conditional code, really - DWARF conditional (write_symbols == DWARF_DEBUG). - * cp-decl.c (pushtag): Ditto. - * cp-decl2.c (finish_vtable_vardecl): Ditto. - * cp-pt.c (end_template_instantiation): Ditto. - * cp-search.c (dfs_debug_mark): Ditto. +Fri May 12 11:17:28 1995 Jim Wilson - Wed Aug 4 15:42:19 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * loop.c (check_dbra_loop): When reversing loop when + no_use_except_counting is false, there must be only one biv. - * cp-typeck.c (build_object_ref): Pass the original basetype, not - the type value of it, into build_scoped_ref (completes change of - Jul 1). +Fri May 12 07:10:00 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Wed Aug 4 14:40:35 1993 Mike Stump (mrs@cygnus.com) + * unroll.c (unroll_loop): Only use local_regno for pseudos. - * cp-class.c (related_vslot): Additional check to make sure vslots - are related. - * cp-class.c (modify_vtable_entries): Use DECL_CONTEXT, not - DECL_CLASS_CONTEXT when finding the vtable to put the virtual - function in, as otherwise we might not be able to find secondary - vtables. Ensures that the virtual function pointer will be put in - the correct vtable, instead of the wrong one. - * cp-class.c (modify_vtable_entry): Delete unused argument context. - * cp-class.c (modify_vtable_entries): Ditto. + * genattrtab.c (write_test_expr, case MATCH_DUP): Use operands[N] + instead of JUMP_LABEL (which may not be set). + (walk_attr_value, case MATCH_DUP): Set must_extract. - Tue Aug 3 08:24:50 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * c-parse.in: Adjust number of shift/reduce conflicts. + (parm): Support attributes. + * c-decl.c (push_parm_decl): Pass any attributes to decl_attributes. - * cp-init.c (nc_nelts_field_id): New variable to cache the value of - the "nelts" identifier, to avoid unnecessary calls to get_identifier. - (init_init_processing): Use it. - (build_new): Likewise. - (build_vec_delete): Likewise. +Fri May 12 00:36:26 1995 Per Bothner - * cp-decl2.c (walk_vtables): Make sure the type of VARS isn't an - error_mark_node when we're running down the list. + * cpplib.c (skip_quoted_string): Removed - no longer needed. + (skip_if_group): Use cpp_get_token instead of skip_quoted_string. - * cp-decl.c (grokdeclarator): Give an error and return an - error_mark_node, instead of saying sorry, when we're dealing with a - structure that's not yet been defined. Make sure type isn't an - error_mark_node when looking for an anonymous type. + * cpplib.h (struct cpp_reader): Remove start_line field. + Add multiline_string_line field. - * cp-pt.c (end_template_instantiation): If we're supplying dwarf - debug info, set up the TYPE_STUB_DECL and output the rest of the - debug output for the decl. + * cpplib.c (cpp_error_with_line, cpp_warning_with_line, + cpp_pedwarn_with_line): Take extra column number parameter. + (macroexpand, cpp_get_token): Fix reporting of unterminated strings. + (line_for_error): Removed - no longer needed. - * cp-search.c (pop_search_level): Change from a macro into a - function, so we can more easily debug it. +Fri May 12 02:21:34 1995 Jim Wilson - * cp-search.c (dfs_debug_mark): Only mark the type name as ignored - if we aren't doing dwarf debugging. + * mips/svr4-t.h (MD_STARTFILE_PREFIX, MD_EXEC_PREFIX, + STARTFILE_SPEC, LINK_SPEC): Define. + * configure (mips-tandem-sysv4): Use t-mips not t-svr4. - * cp-typeck.c (build_unary_op): Only allow the prefix operators to - be lvalues, not the postfix ones. +Thu May 11 19:18:54 1995 Per Bothner - * cp-decl.c (duplicate_decls): Delete the code that saved and - restored the UID of a decl, it's no longer necessary. + * cpplib.c (line_for_error): Make it work; add extra parameter. + (skip_quoted_string, cpp_get_token): Update calls to line_for_error. + (macroexpand): Remember initial line so we can report it if the + call is unterminated. Also, simplify error logic slightly. + (do_include): Cast alloca return value, to avoid pcc warning. - * cp-call.c (compute_conversion_costs_ansi): Avoid generating - warnings when we call build_type_conversion. + * cppexp.c (parse_number): Cleanup some Cygnus crud for MPW. - Mon Aug 2 17:56:36 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Thu May 11 21:35:23 1995 Torbjorn Granlund - * cp-decl.c (start_function): Complain about redeclaration of a - template function, being careful to only deal with pre-parsed - declarations that *are* in fact from templates. + From Moshier: + * i960.c (i960_output_ldconst): Let split_double handle DImode. + (i960_print_operand): Use REAL_VALUE_TO_DECIMAL for decimal strings. + (i960_output_double, i960_output_float): Likewise; also change arg + VALUE from `double' to `REAL_VALUE_TYPE'. - Fri Jul 30 18:03:10 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Thu May 11 21:09:25 1995 Per Bothner (bothner@wombat.gnu.ai.mit.edu) - * cp-class.c, cp-decl.c, cp-pt.c, cp-tree.h: Delete all of the old - code for DEBUG_CP_BINDING_LEVELS, and replace it with a new, cleaner, - and more usable format. + * cpperror.c (cpp_print_containing_files): Remove some + Cygnus-local stuff. - Fri Jul 30 17:06:24 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Thu May 11 21:06:47 1995 Doug Evans - * cp-class.c (build_vtable, prepare_fresh_vtable): Temporarily - disable the change of June 20th making vtables readonly by default. + * gcc.c (link_command_spec): Make -nostdlib no longer imply + -nostartfiles. - Fri Jul 30 14:47:09 1993 Mike Stump (mrs@cygnus.com) +Thu May 11 18:48:57 1995 Paul Eggert - * cp-init.c (emit_base_init): Make sure we initialize the pointer to - vtables even when we are not in charge. Fixes virtual calls to derived - objects that have a static base type, so that they call derived - functions, not base functions. - * cp-search.c (build_vbase_vtables_init): Change comments to reflect - uses of last argument more accurately. Also rename last argument to - a better name. + * c-common.c (convert_and_check): Don't diagnose overflow in constant + expression merely because conversion overflowed. - Wed Jul 28 16:23:52 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Thu May 11 18:43:59 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-search.c (build_type_pathname): Deleted fn. - * cp-class.c (build_type_pathname): Moved to here and made static, - since prepare_fresh_vtable is the only fn that ever uses it. - * cp-tree.h (build_type_pathname): Deleted prototype. + * c-decl.c (grokdeclarator): Use PARM_FLAG to see if should + make PARM_DECL. + * c-parse.in (nested_function, notype_nested_function): + Allow old-style arg definitions (use xdecls). - * g++.c (error) [!HAVE_VFPRINTF]: Move before fatal to avoid an - implicit declaration. + * c-decl.c (finish_struct): Properly update DECL_PACKED. - Wed Jul 28 13:49:58 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) +Thu May 11 15:24:15 1995 Jason Merrill - * Makefile.in (g++-cross): Add an explicit $(srcdir) for g++.c, pass - the quotes as part of GCC_NAME + * fold-const.c (fold): Also fold CLEANUP_POINT_EXPRs into + TRUTH_*_EXPRs and into the first operand. + (operand_equal_for_comparison_p): Also make sure the second operand + is integral. - * g++.c: only define GCC_NAME if it's already undefined +Thu May 11 14:22:03 1995 Ted Lemon - Tue Jul 27 10:48:30 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * config/mips/netbsd.h: New file. + * config/mips/t-mips-netbsd: New file. + * config/mips/x-netbsd: New file. - * cp-decl.c (finish_decl): Don't error on uninitialized const - arrays. Use error, not error_with_decl, so we know what really - brought about the problems. + * configure (mips-dec-netbsd*): Add entry. - * g++.c: New file, written in C so we don't do so many exec's, as we - did with the shell script. - * g++, c++: Deleted. - * Makefile.in (STAGESTUFF): Added g++ and g++-cross. - (all.cross): Added g++-cross. - (all.build): Depend upon g++. - (g++, g++-cross): New rules. - (install-common): Depend upon g++. Changed installation of g++/c++ - to install the g++ program, and link c++ to it. Likewise for - g++-cross and c++-cross. + * mips.h (LOCAL_LABEL_PREFIX, USER_LABEL_PREFIX): Define. + (PUT_SDB_BLOCK_START, PUT_SDB_BLOCK_END, ASM_OUTPUT_LABEL_REF, + ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL, + ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Use them. - Mon Jul 26 09:40:37 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * mips.c (mips_output_lineno): Use LOCAL_LABEL_PREFIX. - * cp-typeck.c (build_unary_op) [case ADDR_EXPR]: When taking the - address of an increment/decrement operation, act on the thing - being incremented, not the ..._EXPR itself. +Thu May 11 14:22:03 1995 Stan Cox (gcc@dg-rtp.dg.com) - Fri Jul 23 08:33:32 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * dwarfout.c (output_decl): Don't output DIE for struct or union type + with no name or with ERROR_MARK for the fields. - * cp-call.c (build_method_call): Check DECL_STATIC_FUNCTION_P, not - TREE_STATIC, when validating a method call in a static call context. +Thu May 11 06:36:34 1995 Michael Meissner (meissner@cygnus.com) -Thu Aug 5 19:18:00 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * flow.c (mark_used_regs): If a SUBREG does not have a REG in the + SUBREG_REG position, recursively call mark_used_regs, instead of + segfaulting. - * tree.h (TYPE_OBSTACK): New macro. - (struct tree_type): Add new field obstack. - * tree.c (make_node, copy_node): Set TYPE_OBSTACK. - (build_type_variant, build_type_copy, build_pointer_type): Put - new node in same obstack as old node; use push/pop obstacks. - * stor-layout.c (layout_type): Put size-related nodes in same - obstack as type. - - * reload.c (push_reload, find_reloads): Refine when we reload - inside a SUBREG by respecting BYTE_LOADS_*_EXTEND; see comments - in push_reload. +Thu May 11 06:44:34 1995 Pat Rankin (rankin@eql.caltech.edu) -Thu Aug 5 14:17:59 1993 Michael Meissner (meissner@osf.org) + * expr.c (do_jump, case EQ_EXPR, NE_EXPR): Fix typo for complex. - * i386/osfrose.h (ASM_DECLARE_FUNCTION_SIZE): Enable setting the - size for elf functions. +Wed May 10 12:34:46 1995 Michael Meissner -Thu Aug 5 01:44:37 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * configure: Add support for the little endian variant of the + PowerPC System V.4 and Eabi targets. If the GNU assembler was not + specified, don't build libgcc.a variants on the PowerPC systems + that use -mrelocatable, -mlittle, and -mbig. - * toplev.c (rest_of_compilation): If not optimizing, turn off - DECL_INLINE for functions declared as inline. Avoid turning on - DECL_INLINE when -finline-functions is used without -O. + * genmultilib: For MULTILIB_MATCHES arguments, map question marks + into equal signs after spliting the left and right side of + equivalent options, to all support for options like: -mcpu=403. -Thu Aug 5 00:06:45 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rs6000/rs6000.md (rs6000_immed_double_const): New function that + is like immed_double_const, except that it reverses the two words + in the constant if the target is little endian. - * collect2.c (handler): Check whether c_file and o_file are 0. + * rs6000/rs6000.md (floatsidf2): Use rs6000_immed_double_const, + not immed_double_const. + (floatunssidf2): Ditto. -Wed Aug 4 18:06:26 1993 Samuel A. Figueroa (figueroa@cs.nyu.edu) + * rs6000/rs6000.h: Add declarations for all functions in rs6000.c. - * i386/gas.h (ASM_FILE_START): Write out two backslashes for each - backslash in the filename. + * rs6000/sysv4.h (TARGET_SWITCHES): Add -mlittle, -mlittle-endian, + -mbig, and -mbig-endian for bi-endian support. + (ASM_SPEC): Pass -mlittle/-mbig to the assembler if it was passed + to us. + (LINK_SPEC): If explicit little or big endian support was + requested, tell the GNU linker to use the appropriate target + format. -Wed Aug 4 18:00:43 1993 Holger Teutsch (holger@hotbso.rhein-main.de) + * rs6000/t-eabi (MULTILIB_*): Build libgcc.a variants for software + floating point. Remove mrelocatable libgcc.a variant. - * clipper.md (movdf+2): Allow `f' register as source operand in - first alternative. + * rs6000/t-eabigas: New file, cloned from t-eabi. Build + mrelocatable libgcc.a variant in addition to the other variants. -Wed Aug 4 07:35:03 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * rs6000/t-ppc: New file, for PowerPC System V.4 support without + the GNU assembler. - * reload1.c (eliminate_regs_in_insn): Always do elimination in - REG_NOTES if we changed anything in the insn. + * rs6000/t-ppcgas: New file, for PowerPC System V.4 support with + the GNU assembler. - * genattrtab.c: Include gvarargs.h after hconfig.h, like elsewhere. + * rs6000/eabile.h: New file, little endian eabi config file. + * rs6000/sysv4le.h: New file, little endian V.4 config file. -Wed Aug 4 01:32:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed May 10 14:22:28 1995 Doug Evans - * c-typeck.c (output_init_element): Call digest_init before - calling output_constant. Always pass 0, 0 for last 2 args - to digest_init. + * libgcc1-test.c (main_without__main): Renamed from `main'. + * Makefile.in (libgcc1-test): Tell the user to ignore warnings. - * expr.c (do_tablejump) [PIC_CASE_VECTOR_ADDRESS]: If pic, - copy INDEX to a register early, to avoid invalid address later. + * configure: Support --enable-foo, --disable-foo. -Tue Aug 3 23:56:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed May 10 10:34:00 1995 Lee Iverson - * gcc.c (process_command): Don't check whether file `-' exists. + * unroll.c: Add declarations of static functions. + (unroll_loop): Renumber regs local to loop for each unrolled iteration. -Tue Aug 3 18:52:13 1993 John Hassey (hassey@dg-rtp.dg.com) +Wed May 10 08:27:03 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * configure (m88k-dg-dgux*): Use fixinc.dgux. - * x-dgux (INSTALL_HEADERS): Definition deleted. - * fixinc.dgux: New file. + * alpha.c (alpha_set_emit_const): Cleanups to work properly + when run on 32-bit host. -Tue Aug 3 17:34:53 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * configure: Instead of symlinking tm.h and {h,t,}config.h, + make them files that #include the proper file; pass to Makefile. + Pass out_file and md_file to Makefile instead of making symlinks. + * Makefile.in (out_file, md_file, tm_file, {build,host}_xm_file): + New symbols, to be overridden by configure. + (insn-*): Use $(md_file), not md. + (aux-output.o): Use $(out_file), not aux-output.c. + ($(MD_FILE)): Rework to use new conventions. + (gen*.o, bi-*.o): Depend on $(build_xm_file), not hconfig.h. + (scan.o, fix-header.o, scan-decls.o): Likewise. + (distclean): Adjust files removed for new convention. - * calls.c (store_one_arg): Don't pass ARG->STACK as TARGET if it - is a different mode than the expression (i.e., a promoted mode). +Tue May 9 19:26:42 1995 Jason Merrill - * combine.c (force_to_mode): Now pass actual AND mask instead - of number of bits; generalize appropriately. - Move most cases from simplify_and_const_int in. - (simplify_and_const_int): Remove most code from here; call - force_to_mode instead. - (subst, make_extraction, make_compound_operation): Change calls - to force_to_mode. - (make_field_assignment): Likewise. - (simplify_comparison): Add call to force_to_mode when - doing a sign bit comparison. - * optabs.c (code_to_optab): New variable. - (init_optab): Initialize it. - * expr.h: Declare code_to_optab. + * rs6000/rs6000.h (LIBGCC_SPEC): Do link with libgcc when -shared. -Tue Aug 3 15:40:16 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Makefile.in (STAGESTUFF): Add underscore.c. + (underscore.c): Rename temporary files to begin with 'tmp-' so that + they will be removed by 'make mostlyclean'. - * gstddef.h: Test and define __INT_WCHAR_T_H. +Tue May 9 19:19:55 1995 Mike Stump -Mon Aug 2 22:42:10 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * toplev.c (lang_options): Add new flag -ffor-scope. - * configure (i[34]86-sequent-sysv*): New alternative. - * config/i386/seq-sysv3.h: New file. +Tue May 9 19:11:47 1995 Lee Iverson (leei@ai.sri.com) - * combine.c (struct undo): Rename `rtx' fields to `r'. - (undo_all, SUBST, gen_rtx_combine): Corresponding changes. + * objc/init.c (objc_init_statics): Fix missing part of last change. -Mon Aug 2 18:53:23 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Tue May 9 18:25:34 1995 Richard Kenner - * combine.c (subst): Move simple operations inside IF_THEN_ELSE - if the IF_THEN_ELSE is in the second operand as well as the first. - (subst, case NEG): Use plus_constant to make a PLUS. - (subst, case MINUS): Simplify (minus 1 (comparison foo bar)). - (subst, case EQ): Add a number of missing cases where - comparisons may be replaced with arithmetic or logical ops. - (subst, case IF_THEN_ELSE): Handle (if_then_else COND (OP Z C1) Z) - in a more general manner. - (simplify_and_const_int): Make AND with gen_binary in case we - can simplify it. + * i386/gnu.h, i386/linux.h, i386/linux-aout.h, i386/lynx.h: + Use <...> in #include instead of "..." to avoid recursion. + * i386/netbsd.h, i386/xm-gnu.h, i386/xm-linux.h: Likewise. + * i386/xm-lynx.h, i386/xm-freebsd.h, i386/xm-netbsd.h: Likewise. + * m68k/lynx.h, m68k/netbsd.h, m68k/xm-lynx.h: Likewise. + * m68k/xm-netbsd.h, mips/gnu.h, ns32k/netbsd.h: Likewise. + * ns32k/xm-netbsd.h, rs6000/lynx.h, rs6000/xm-lynx.h: Likewise. + * sparc/lynx.h, sparc/netbsd.h, sparc/xm-lynx.h: Likewise. + * sparc/xm-netbsd.h, vax/netbsd.h, vax/xm-netbsd.h: Likewise. -Mon Aug 2 14:45:43 1993 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) +Tue May 9 15:52:05 1995 Michael Meissner - * genattrtab.c (substitute_address): In prototype, don't specify - the arg types of the arg functions. + * config.sub: Recognize powerpcle as the little endian varient of + the PowerPC. Recgonize ppc as a PowerPC variant, and ppcle as a + powerpcle variant. Convert pentium into i586, not i486. Add p5 + alias for i586. Map new x86 variants p6, k5, nexgen into i586 + temporarily. - * config/m68k/x-dpx2 (CLIB): Fix typo. +Tue May 9 15:43:27 1995 Jason Merrill -Mon Aug 2 06:36:53 1993 John F Carr (jfc@Athena.mit.edu) + * rs6000/rs6000.h (LINK_SPEC, LIB_SPEC): Don't mess with libg + if -shared. + * rs6000/aix41ppc.h (LINK_SPEC): Ditto. - * local-alloc.c (block_alloc): Don't attempt to allocate a - SCRATCH if it will not fit in scratch_list. + * rs6000/powerpc.h: Don't emit .extern directives. -Mon Aug 2 00:02:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue May 9 14:08:09 1995 Jim Wilson - * calls.c (expand_call): Check properly for volatile function. + * sh/lib1funcs.asm (__ashrsi3, __ashlsi3, __lshrsi3): Use .byte + instead of .word offsets in switch table. -Sun Aug 1 04:18:23 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue May 9 11:44:47 1995 Jeremy Bettis - * c-common.c (decl_attributes): Support attributes `volatile' - with alias `noreturn', and `const'. - * c-parse.in (attrib): Accept those attributes. + * objc/sendmsg.c (__objc_send_initialize): Call superclass if object + does not implement +initialize. + +Tue May 9 02:44:16 1995 Jason Merrill - * c-typeck.c (build_binary_op): Warn about ordered comparison - between pointers to complete and incomplete types. + * rs6000/xm-rs6000.h (COLLECT_EXPORT_LIST): Define if not + cross-compiling. + * rs6000/xm-mach.h: #undef COLLECT_EXPORT_LIST. + * rs6000/rs6000.h (COLLECT_SCAN_OBJECTS): Lose. - * c-parse.in (stmt): In an expr stmt, call default_conversion - for arrays and for functions. + * collect2.c (collect_exit): Unlink export_file. + (prefix_from_string): Broken out from prefix_from_env. + (prefix_from_env): Call it. + (main): Under AIX, recognize -bE: and -bexport:, and don't + automatically export everything if we see one. Otherwise, scan the + objects individually and add all their symbols to an export file to be + passed to the linker. + (write_export_file): New function. + (scan_prog_file): Ignore symbols starting with '.' - * c-decl.c (finish_struct): No pedwarn for field with enum type - if size matches int. - (grokdeclarator): No error for void type for extern or global var. + * c-common.c (declare_hidden_char_array): Mark decl artificial. - * c-typeck.c (digest_init): No error for a STRING_CST that already - went through digest_init. - (parser_build_binary_op): Generate a NON_LVALUE_EXPR, not NOP_EXPR, - around a constant value. +Mon May 8 18:13:57 1995 Adam Fedor - * config/m68k/amix.h (ASM_OUTPUT_INTERNAL_LABEL) - (ASM_GENERATE_INTERNAL_LABEL): Definitions deleted. + * objc/init.c (_objc_load_callback): Add declaration. + (__objc_exec_class): Call _objc_load_callback after every Class + or Category is added. + * objc/objc-api.h (_objc_load_callback): Add declaration. - * expr.c (do_tablejump): Use PIC_CASE_VECTOR_ADDRESS if defined. - * config/m68k/m68k.h (PIC_CASE_VECTOR_ADDRESS): Defined. - (GO_IF_LEGITIMATE_ADDRESS): If pic, accept LABEL+INDEX. +Mon May 8 17:56:28 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * c-decl.c (grokdeclarator): Warn here for volatile fn returning - non-void type. - (start_function): Not here. + * expr.c (expand_expr, case INDIRECT_REF): Set RTX_UNCHANGING_P + if both TREE_READONLY and TREE_STATIC set. - * c-decl.c (grokdeclarator): Don't pass on const and volatile - fron function value type to function type. + * c-typeck.c (convert_for_assignment): Don't give errors about + adding const or volatile unless both sides point to functions. -Sat Jul 31 01:48:08 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon May 8 11:48:23 1995 Michael Meissner - * c-typeck.c (digest_init): Finish getting rid of tail. - Also get rid of old_tail_contents. Don't set free_tree_list. - (free_tree_list): Var deleted. + * configure: If ../ld/Makefile, symlink ../ld/ld.new to collect-ld, + not real-ld. Don't test for $use_collect2 any more. - * c-typeck.c (process_init_element): Treat string constants specially - only for arrays of integers. +Sun May 7 17:52:23 1995 Jason Merrill -Fri Jul 30 06:49:58 1993 Torbjorn Granlund (tege@sics.se) + * calls.c (expand_call): Improve -Winline warnings. - * expmed.c (mult_is_very_cheap): Delete. - (mult_cost): Delete. - (init_expmed): Delete computation of mult_cost and mult_is_very_cheap. - (expand_mult): Compute mult_cost here for every constant multiplier. - (synth_mult): Return found algorithms through a struct pointer. - -Fri Jul 30 06:45:35 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Sun May 7 17:28:27 1995 DJ Delorie (dj@delorie.com) - * fold-const.c (fold, case NOP_EXPR): Delete a pair of conversions - back to the original type when intermediate type is at least as wide. + * configure.bat: Use "go32" instead of "msdos" for future expansion. - * combine.c: Remove change of July 21. - (this_basic_block): New variable. - (combine_instructions): Set it. - (try_combine, distribute_links): Use it and basic_block_head - to see if we've gone to a new basic block instead of trying - to reproduce calculation done in flow. - - * stmt.c (expand_return): Don't use jumps for "return x == y" if - they are expensive. - -Fri Jul 30 02:03:12 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * config/i386/i386.md (ffssi2 and ffshi2 recognizers): - Generate unique labels by hand. - -Thu Jul 29 01:47:21 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c-typeck.c (push_init_level): For braces around scalar, just warn. - (process_init_element): Special handling for {"foo"}. - (struct constructor_stack): New field `replacement_value'. - (push_init_level, really_start_incremental_init): Clear new field. - (pop_init_level): Return the replacement_value if any. - At top level in initializer, output that value, - and set the array size from it. - - * c-typeck.c (digest_init): Delete arg TAIL. Fix all calls. - - * objc-act.c (build_shared_structure_initializer): - Call default_conversion for NAME. - (add_objc_string): Make an ADDR_EXPR to return. - (init_objc_symtab): Make ADDR_EXPR for UOBJC_SELECTOR_TABLE_decl. - - * objc-act.c: Build all CONSTRUCTORs with types. - (build_constructor): New function. All CONSTRUCTOR builds changed. - (init_def_list, init_objc_symtab): New arg TYPE. - (init_module_descriptor): Likewise. - (init_objc_symtab): Pass TYPE arg to init_def_list. - (generate_objc_symtab_decl): Pass TYPE arg to init_objc_symtab. - (build_module_descriptor): Pass TYPE arg to init_module_descriptor. - (build_descriptor_table_initializer): New arg TYPE. - (generate_method_descriptors): Pass TYPE arg to - build_descriptor_table_initializer. - (generate_protocols): Pass TYPE arg to build_protocol_initializer. - (uild_protocol_initializer): New arg TYPE. - (build_ivar_list_initializer): New arg TYPE. - (generate_ivar_lists): Pass TYPE arg to build_ivar_list_initializer. - (build_dispatch_table_initializer): New arg TYPE. - (generate_dispatch_tables): Pass TYPE arg to - build_dispatch_table_initializer. - (build_category_initializer): New arg TYPE. - (build_shared_structure_initializer): New arg TYPE. - (generate_category): Pass TYPE arg to build_category_initializer. - (generate_shared_structures): Pass TYPE arg to - build_shared_structure_initializer. - - * config/i386/x-ncr3000 (CC, OLDCC): Deleted. - * config/i386/xm-sysv4.h [__HIGHC__]: Include alloca.h. - - * convert.c (convert_to_integer): Don't pass truncate into ABS_EXPR. - - * configure: Ignore -enable... and --enable... options. - -Wed Jul 28 20:15:05 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Makefile.in (compare): Add ./ in tail command. - -Wed Jul 28 15:36:11 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * integrate.c (copy_rtx_and_substitute, case LABEL_REF): If - we turn off LABEL_REF_NONLOCAL_P, increment function_call_count. - - * integrate.c (copy_for_inline, case LABEL_REF): Properly copy - LABEL_REF with LABEL_REF_NONLOCAL_P set. - Copy LABEL_OUTSIDE_LOOP_P flag. - (copy_rtx_and_substitute, case LABEL_REF): Likewise. - (copy_rtx_and_substitute, case CONST): Make recursive call for - a LABEL_REF in the constant pool. - - * c-iterate.c (iterator_loop_{pro,epi}logue): Set TREE_SIDE_EFFECTS - on the MODIFY_EXPRs we make. - Pass const0_rtx as TARGET to expand_expr. - * cp-cvt.c (build_up_reference): Set TREE_SIDE_EFFECTS on MODIFY_EXPR. - * stmt.c (expand_return): Likewise. + * i386/go32.h: Add support for win32's stdcall functions. -Wed Jul 28 12:17:39 1993 Michael Meissner (meissner@osf.org) + * configure.bat: Add ^M to end of each line. + * i386/config-nt.bat, alpha/config-nt.bat: Likewise. - * i386/osfrose.h (SUBTARGET_OVERRIDE_OPTIONS): Use this instead of - OVERRIDE_OPTIONS. +Sun May 7 02:12:26 1995 Jason Merrill -Wed Jul 28 13:45:13 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * tree.h (DECL_ARTIFICIAL): New macro. - * expr.c (expand_expr, case ADDR_EXPR): Treat CONCAT like REG. + * function.c (expand_function_end): Don't warn about unused + anonymous or artificial parms. - * c-decl.c (start_function): Warn if volatile fn returns non-void. +Fri May 5 18:41:22 1995 Jim Meyering (meyering@comco.com) -Wed Jul 28 13:22:15 1993 Jim Wilson (wilson@cygnus.com) + * configure: Fix typo in name of "maintainer-clean". - * c-parse.in (simple_if, if_prefix, stmt): Undo Jul 7 change. - (if_prefix): Store stmt_count in $$ not $1. - (stmt): Add comment explaining why empty-if warning is here. +Fri May 5 14:58:01 1995 Jeffrey A. Law - * sparc.c (shift_operand): New function. - * sparc.md (ashlsi3, ashrsi3, lshrsi3): Use shift_operand. + * pa.c (emit_move_sequence): Force problematical constants + into memory during the reload pass when generating PIC. - * loop.c (strength_reduce): Don't ignore a giv that depends on a - reversed biv. +Fri May 5 13:30:33 1995 Doug Evans - * mips/x-sysv (ALLOCA): Define. - * mips-5.h (STARTFILE_SPEC): Define. - * x-iris3: New file. - * configure (mips-sgi-*): Use x-iris3 instead of x-iris. - * Makefile.in (libgcc.a): Do `chmod +w *' between two ar commands. + * objc/NXConstStr.m: NXConstantString.h renamed to NXConststr.h. - * i960.h (INITIAL_FRAME_POINTER_OFFSET): Negate, and subtract 64 - bytes. +Fri May 5 07:10:15 1995 Stephen L Moshier (moshier@world.std.com) - * sched.c (schedule_block): Do not emit line number notes before - other notes. + * real.c (emdnorm, toe64, etoe64): Significand of Intel long double + denormals is shifted down one bit. - * varasm.c (assemble_variable): flag_no_common applies only if - external linkage. +Fri May 5 07:04:12 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * calls.c (expand_call): For unaligned arguments on - BYTES_BIG_ENDIAN machines, correct bitfield offset calculations. - * expr.c (move_block_from_reg): New argument SIZE. If SIZE less - than word and BYTES_BIG_ENDIAN, shift block left to align it - before storing it to memory. - * expr.h (move_block_from_reg): Add new argument to prototype. - * function.c (assign_parms): Pass extra argument SIZE to - move_block_from_reg calls. - (locate_and_pad_parm): For !ARGS_GROW_DOWNWARD case, move downward - padding pad_below call after round_up call. - * mips.c (function_arg): Shift all structures less than 4 bytes, - not just those which are QImode or HImode. - * a29k.h, alpha.h, i960.c, m88k.c, pa.c, romp.h, rs6000.h: - Add new parameter to move_block_from_reg calls. + * c-typeck.c (process_init_element): Don't clear_momentary if + constructor_stack is not empty. -Wed Jul 28 12:40:06 1993 Doug Evans (dje@canuck.cygnus.com) + * objc/Makefile (SHELL): Now /bin/sh. - * expmed.c (store_split_bitfield): Fix handling of bitfields that - cross word boundaries, can only handle a word at a time. - (extract_split_bitfield): Likewise. + * c-typeck.c (build_binary_op): Also warn about ordered + comparison of pointer with zero if -Wall. -Wed Jul 28 06:44:50 1993 John Hassey (hassey@dg-rtp.dg.com) + * expr.c (do_jump, case EQ_EXPR, NE_EXPR): Properly compare complex. - * configure: Use m88k/x-sysv3 for m88k-*-sysv3. - * m88k/x-sysv3: New file, use gnu alloca. +Thu May 4 18:01:25 1995 Philippe De Muyter (phdm@info.ucl.ac.be) -Tue Jul 27 13:53:06 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) + * objc/Makefile: NXConstantString renamed to NXConstStr. + * objc/NXConstStr.m: Renamed from objc/NXConstantString.m. + * objc/NXConstStr.h: Renamed from objc/NXConstantString.h. - * fixproto: Pass '-' to tr as the 1-character range '---'. - * cross-make: Define STMP_FIXPROTO to empty for cross. - * patch-header.c (read_scan_file): Minor re-write to avoid - obstack_copy0, since that uses the non-portable bcopy(). - * Makefile.in (patch-header): Use $(HOST_OBSTACK). - * gen-protos.c (main): Disable obnoxious warning message. +Thu May 4 17:38:21 1995 J.T. Conklin -Tue Jul 27 16:42:44 1993 John F Carr (jfc@Athena.mit.edu) + * configure (vax-*-netbsd*): New configuration. + * vax/netbsd.h, vax/xm-netbsd.h: New files. - * fold-const.c (optimize_bit_field_compare): Preserve volatility - of bitfield. +Thu May 4 16:39:05 1995 Jason Merrill -Tue Jul 27 01:33:25 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * collect2.c (main): Add check for 'collect-ld', just like + 'real-ld', except that old versions won't be looking for it in the + path. Don't look for 'real-ld' in the path anymore. Sigh. - * c-typeck.c (convert_for_assignment): Mismatch in signedness - of pointer targets should not inhibit warnings for const mismatch. + * collect2.c: #include demangle.h and obstack.h. + (obstack_chunk_alloc): Define. + (obstack_chunk_free): Define. + (generic): Don't define. Don't use. + (main): Initialize obstacks and demangling. - * function.c (assign_parms): Don't copy too much when extending - parm_reg_stack_loc. + * collect2.c (dump_file): Adjust space padding in output to + maintain tabulation with Solaris ld. Don't demangle if the + environment variable COLLECT_NO_DEMANGLE is set. - * config/m88k/m88k.h (ASM_DECLARE_OBJECT_NAME): Don't make a .size - if the size is not known. Use DECL, not decl. - * config/svr4.h, config/i386/osfrose.h: Likewise. + * collect2.c (main): Redirect the output of the first link and + demangle it. Don't collect static c/dtors unless USE_COLLECT2 is + defined. Null-terminate the list of objects. + (dump_file): New function. + (file_exists): New function. + (collect_exit): Renamed from my_exit. Dump and remove the temporary + ld output file. + (collect_execute): Break out from fork_execute. Support redirection. + (fork_execute): Call it. + (fatal_perror, fatal, error): Make non-static. + (xcalloc, xmalloc): Don't use generic. + (xrealloc): Define. + (collect_wait): Break out for do_wait. Just return the exit status. + (do_wait): Call it. - * c-typeck.c (set_init_index): Add pedantic warning. - (set_init_label): Likewise. + * collect2.c: Check SUNOS4_SHARED_LIBRARIES using #if, not #ifdef. -Tue Jul 27 14:22:48 1993 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) + * Makefile.in (collect2): Now uses cplus-dem.o and underscore.o. + (collect2.o): Pass MAYBE_USE_COLLECT2 to compile. + (underscore.c): Rules for creation. - * gstddef.h (_WCHAR_T_H): Test this and define this. + * cplus-dem.c, demangle.h: Copy from libiberty. - * configure (m68k-bull-sysv): Test for --stabs; - generate either native coff or dbx-in-coff debugging information. +Thu May 4 14:12:35 1995 Jim Wilson - * config/m68k/dpx2.h (CPP_PREDEFINES): added -D_POSIX_SOURCE - -D_XOPEN_SOURCE -D_BULL_SOURCE to the list. - (CPP_SPEC): removed ansi definition. - * config/m68k/dpx2g.h (DBX_DEBUGGING_INFO): Remove this to let gcc - deals with gas and coff. - * config/m68k/dpx2cdbx.h: New file for gas and dbx-in-coff. - * config/x-dpx2 (CLIB): removed -lc_s and added -lmalloc. - (X_CFLAGS): removed -D_SYSV and added -D_POSIX_SOURCE -D_XOPEN_SOURCE - -D_BULL_SOURCE to deal with the posix stuff. + * sdbout.c (plain_type): Pass additional argument to plain_type_1. + (plain_type_1): New parameter level. Increment it when making + recursive calls. Force the type to void_type_mode before starting + a 7th level of recursion. -Mon Jul 26 17:42:22 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * sh.c (general_movsrc_operand, general_movdst_operand): Delete + references to POST_DEC and PRE_INC. + * sh.h: Clean up whitespace, comments, etc. + (TARGET_SH, RTL_BIT, DT_BIT, C_BIT, R_BIT, TARGET_DUMP_RTL, + TARGET_DUMP_R, TARGET_CDUMP): Delete. + (TARGET_SWITCHES): Delete -mR, -mc, -mr options. + (CONST_DOUBLE_OK_FOR_LETTER_P): Delete 'G' contraint. + (FUNCTION_VALUE): Simplify. + (REG_OK_FOR_PRE_POST_P, IS_INDEX): Delete. + (BASE_REGISTER_RTX_P, INDEX_REGISTER_RTX_P): Rewrite to allow + SUBREGs. + (GO_IF_LEGITIMATE_INDEX): Delete unused REGNO argument. + (GO_IF_LEGITIMATE_ADDRESS): Use BASE_REGISTER_RTX_P instead of + REG_OK_FOR_PRE_POST_P. Don't accept PRE_INC or POST_DEC addresses. + (PREDICATE_CODES, PROMOTE_MODE): Define. - * c-typeck.c (digest_init): Add `static' to definition. +Wed May 3 09:57:55 1995 Michael Meissner - * combine.c (simplify_shift_const): Inhibit hacks based on - num_sign_bit_copies if shift_mode differs from the mode of varop. + * rs6000/rs6000.md (non power abs insns): If not powerpc, use + sf/subfc instructions, not subf. - * toplev.c (main): When -W sets warn_uninitialized, avoid later warning - if warn_uninitialized is not supported. +Wed May 3 08:49:06 1995 Alan Modra -Mon Jul 26 14:14:02 BST 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) + * protoize.c (gen_aux_info_file): Use strerror #ifdef HAVE_STRERROR. - * collect2.c (NAME__MAIN, SYMBOL__MAIN): Add default definitions. - (write_c_file, scan_prog_file [OBJECT_FORMAT_ROSE]): - Use macros instead of explicitly __main. +Wed May 3 01:06:01 1995 Jeffrey A. Law - * function.c (expand_main_function): Likewise. + * pa.c (output_call): Fix typo/thinko in last change. + (output_function_epilogue): Align the data section before + emitting deferred plabels. - * libgcc2.c (__main): Use macro SYMBOL__MAIN instead of invoking - directly. + From Torbjorn: + * pa.c (before functions): Declare deferred_plabels and + n_deferred_plabels. + (output_call): When generating pic, don't use LP and RP. Use 32 bit + plabel instead. + (output_function_epilogue): Output plabels accumulated in output_call. -Mon Jul 26 16:03:33 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Tue May 2 17:15:08 1995 Jeffrey A. Law - * fold-const.c (fold, case EQ_EXPR): Remove code that converts - mod to unsigned mod; it isn't correct for negative operands. + * pa.c (hppa_expand_epilogue): Fix thinko in last change. - * toplev.c (strip_off_ending): Allow .ad* for Ada. +Tue May 2 16:54:35 1995 Doug Evans -Mon Jul 26 14:06:04 1993 Bill Cox (bill@majipoor.cygnus.com) + * jump.c (jump_optimize, can_reach_end determination): A barrier can + follow the return insn. - * c-decl.c (print_lang_decl, print_lang_type): Correct function - headers to match prototype, and calls. +Tue May 2 12:39:55 1995 Mike Stump -Sun Jul 25 17:01:34 1993 Per Bothner (bothner@kalessin.cygnus.com) + * fold-const.c (fold): Ensure that we don't alter the expression's + type when folding CLEANUP_POINT_EXPRs. - * fixproto: New script to add prototypes and otherwise clean up - system include files (especially for C++ and also gcc -Wimplicit). - * scan-decl.c: New program used by fixproto to analyze header - files (it extracts declarations from cpp output). - * patch-header.c: New program used by fixproto to analyze and - patch header files. - * scan.c: New file. Routines used by scan-decls and - patch-header. - * scan.h: New file. Common declarations. - * gen-protos.c: New file. Massages a list of prototypes. - * Makefile.in: Add fixproto support. - * populate: Deleted. Superseded by fixproto. +Tue May 2 13:36:08 1995 Michael Meissner -Sun Jul 25 03:56:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * expmed.c (emit_store_flag): When creating store flag + instructions from simpler parts, such as XOR, ABS, etc. do not + reuse pseudo registers if expensive optimizations, instead create new + pseudos for each insn result. - * c-typeck.c (start_init): Fill in p->next. +Tue May 2 01:25:29 1995 Jeffrey A. Law - * config/i386/i386.md (movstrictqi): Change q<-g alternative to q<-m. + * pa.c (hppa_expand_epilogue): Correctly handle restore of %rp + for functions with a stack size of exactly 8kbytes and no frame + pointer. -Sat Jul 24 18:17:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon May 1 19:27:08 1995 Jim Wilson - * expr.c (emit_move_insn_1): For complex stack push, - don't use change_address. + * sdbout.c (sdbout_one_type): Don't switch to text section if + in function with section attribute. -Sat Jul 24 15:05:50 1993 Per Bothner (bothner@kalessin.cygnus.com) + * combine.c (combine_instrutions): Set subst_prev_insn to zero. + (try_combine, undo_all): Likewise. + (get_last_value): Return zero if subst_prev_insn set. - * fixincludes (unistd.h): Generalize AIX fix (for using - C++ keyword new) to unistd.h as well as stdio.h. - * fixincludes (sys/wait.h): Fix NeXT problem with - a 'wait(union wait*)' prototype that breaks Posix.1. - * fixincludes (math.h): For C++, patch AIX's use of - 'class' as function name. + * sparc.h (INIT_TARGET_OPTABS): Move INIT_SUBTARGET_OPTABS to end. -Sat Jul 24 02:48:31 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Makefile.in (install-dir): chmod a+rx all newly created directories. - * function.c (put_reg_into_stack): New subroutine. - (put_var_into_stack): Use that; handle CONCAT. + * expr.c (expand_expr, case SAVE_EXPR): Handle the case where + mode is VOIDmode. - * varasm.c (assemble_variable): For array whose size comes from - the initializer, determine proper alignment here. - (assemble_align): New function. +Fri Apr 28 15:39:38 1995 Per Bothner - * c-typeck.c: Handle gaps in record initializers. - (constructor_bit_index): New variable. - (constructor_stack): New field bit_index. - (really_start_incremental_init, push_init_level): Save and init it. - (pop_init_level): Restore it. - (output_init_element): Update constructor_bit_index. - Use it to output gaps. - (pop_init_level): Speed up by using constructor_bit_index. + * cpplib.h (cpp_buffer): Note new escape combination "@ ". + * cpplib.c (macroexpand): Delete "@ " if stringifying. + (cpp_skip_hspace): Also skip "@ " if input buffer has_escapes. + (collect_expansion): Cleanup white-space handling. + (create_definition): Remove all leading spaces, not just first one. + (cpp_expand_to_buffer): Set has_escapes on resulting input buffer. + (macroexpand): Set output_escapes during whole function (and + specifically during calls of macarg). + (macroexpand): Set "@ " before and after expansion result. + (push_macro_expansion): Remove unneeded initial "@ ", not " ". + (cpp_get_token): Remove unneeded "@ " (not " ") at end of expansion. + (cpp_get_token): Handle "@ ". - * c-typeck.c (process_init_element): Accept STRING_CST for subarray. + * cpplib.c (read_name_map): Add cpp_reader parameter. Access + map_list from former (instead of having it be static). + (open_include_file): Extra parameter (because of above changes). + (do_include, lookup_import): Update calls of open_include_file. - * loop.c (mark_loop_jump): Handle weird cases like jumping to - a symbol_ref. + * cpplib.c (do_include): Fix memory leak. -Fri Jul 23 15:55:14 1993 Doug Evans (dje@canuck.cygnus.com) + * cpplib.c (delete_assertion): Also delete tokenlist. + (do_unassert): Don't delete tokenlist (handled by delete_assertion). + (cpp_cleanup): New function. Frees resources used by a cpp_reader. + * cpphash.c (cpp_hash_cleanup): New function. + (delete_macro): Enable commented-out code. + (file_cleanup): Free actual buffer. - * c-tree.h: Fix prototypes for print_lang_decl, print_lang_type. + * cpplib.c (cpp_options): Add map_list. -Fri Jul 23 15:06:05 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cpplib.h (PARSE_GETC): Removed. Bogus and unused. + * cppmain.c (main): Remove commented-out code that used PARSE_GETC. - * c-typeck.c (start_init): Second arg is now a tree. + * cpplib.c: Don't #include . Causes clashes + on Nextstep (when index/rindex are macros). + (cpp_grow_buffer, int_parse_file): Cast to U_CHAR*, rather than char*. -Fri Jul 23 08:26:43 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Sun Apr 30 08:11:23 1995 Alan Modra (alan@spri.levels.unisa.edu.au) - Cygnus<->FSF merge. - Thu Jul 22 09:54:05 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * stdarg.h, varargs.h (va_arg): Don't assume __va_rounded_size (char) + has the value of 4. - * cp-decl.c (push_overloaded_decl): Fix typo in warning msg. +Sun Apr 30 07:13:43 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Tue Jul 20 13:13:18 1993 Mike Stump (mrs@cygnus.com) + * vax.h (NOTICE_UPDATE_CC): Correctly handle aob insns. - * cp-class.c (build_vtable, prepare_fresh_vtable): Make the vtables - readonly by default. + * expr.c (expand_expr, case CONSTRUCTOR): Don't set target to + zero if more then one word. + Pass size and alignment to move_by_pieces_ninsns in bytes, not bits. - Mon Jul 19 13:16:58 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * cse.c (cse_insn): Properly set IN_MEMORY for SET_DEST. - * cp-tree.h (NEW_CLASS_SCOPING): Turn this off for now. + * tree.c (substitute_in_expr): Preserve TREE_READONLY. - Mon Jul 19 11:04:51 1993 Jason Merrill (jason@rtl.cygnus.com) + * c-common.c (enum attrs): Add A_UNUSED. + (init_attributes): Initialize it. + (decl_attributes, case A_UNUSED): New case. - * cp-class.c (build_vfn_ref): Rename `index' to `idx'. +Sat Apr 29 15:42:03 1995 Paul Eggert - Fri Jul 16 07:44:49 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * cccp.c (do_include): Re-fix minor memory leak by using + alloca instead of xmalloc and free. - * cp-class.c (finish_struct): Check both if the type has a default - constructor, and if it has a non-const copy constructor, so we'll know - not to generate a const copy constructor for the type we're working on. - * cp-lex.c (cons_up_default_function): Add other front-end debugging - info. - (default_copy_constructor_body): And take it out of here. + * cccp.c (macarg): Except for reporting error, treat unterminated + macro call as if it were terminated, since `macroexpand' relies + on *argptr being filled in. - * cp-expr.c (cplus_expand_expr): Add missing arguments to expand_expr. +Sat Apr 29 06:09:35 1995 Torbjorn Granlund - Thu Jul 15 16:54:33 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * pa.c (output_mul_insn): Simplify, it is never called with + UNSIGNEDP set. - * cp-lex.c (default_copy_constructor_body): Also check to copy - anonymous unions, since they don't show up as FIELD_DECLs. - (largest_union_member): New function. + * pa.md (divsi3, udivsi3, modsi3, umodsi3): Simplify. + (ashlsi3): Clean up indentation and commentary. - Thu Jul 15 16:23:18 1993 Mike Stump (mrs@cygnus.com) +Fri Apr 28 12:48:01 1995 Jason Merrill - * cp-expr.c (cplus_expand_expr): Use resolve_offset_ref to handle - OFFSET_REFs, as anything else would be wrong. - - Thu Jul 15 13:23:40 1993 Mike Stump (mrs@cygnus.com) + * integrate.c (expand_inline_function): Don't emit any notes until + after we've expanded the actual parameters. - * cp-tree.h (CLASSTYPE_INTERFACE_KNOWN, - SET_CLASSTYPE_INTERFACE_UNKNOWN_X, SET_CLASSTYPE_INTERFACE_UNKNOWN, - SET_CLASSTYPE_INTERFACE_KNOWN): New access methods. - * cp-class.c (import_export_vtable, duplicate_tag_error, - finish_struct): Use new access method. - * cp-decl.c: (grokfndecl, grokdeclarator, xref_tag): Ditto. - * cp-gc.c (build_t_desc): Ditto. - * cp-lex.c (set_vardecl_interface_info, make_lang_type): Ditto. - * cp-pt.c (end_template_instantiation, do_pending_expansions): - Ditto. - * cp-search.c (dfs_debug_mark): Ditto. +Fri Apr 28 11:51:06 1995 Stan Cox (gcc@dg-rtp.dg.com) - * cp-decl.c (grok_reference_init): Reword error message. + * m88k/dgux.h: (ENDFILE_SPEC, LIB_SPEC) Fix crtbegin and crtend + (SELECT_RTX_SECTION) Put relocatable pic constants in data section - Wed Jul 14 09:17:18 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * m88k/dguxbcs.h: (LIB_SPEC) Likewise - * cp-cvt.c (convert_to_reference): Adjust change of May 30th to - accept more things (and still handle ARM p308 properly). Disable - the old way, but leave it to be properly fixed later. + * m88k/m88k.c: (symbolic_operand) Put relocatable pic constants in data - Tue Jul 13 22:43:38 1993 Mike Stump (mrs@cygnus.com) + * m88k/m88k.h: (FRAME_POINTER_REQUIRED) Add -momit-leaf-frame-pointer - * cp-decl.c (get_binfo_from_vfield): New function. - * cp-decl.c (finish_function): Use get_binfo_from_vfield to get the - binfo used to find the vtable for this vfields. Corrects problem - with vtable pointers being wrong during called member functions, - called from destructors. + * m88k/m88k.md: (umulsidi3) Doesn't work for 88110 with mod/div changes - Tue Jul 13 11:52:37 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * m88k/x-dgux: (GCC_FOR_TARGET) tdesc gets mixed up for crtbegin/crtend - * cp-decl.c (grokdeclarator): Don't pedwarn about a duplicate long - for `long long', until we figure out how we really want to handle it. +Fri Apr 28 06:36:47 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Sat Jul 10 14:54:36 1993 Chip Salzenberg (chip@fin.uucp) + * c-typeck.c (pop_init_level, output_init_element): Pass + require_constant_* to digest_init. - * cp-tree.h (warn_redundant_decls, warn_missing_braces): Declared. - * cp-decl.c (warn_redundant_decls): Not declared here. - * cp-decl2.c (warn_missing_braces): Defined. - (lang_decode_option): Handle -Wmissing-braces. - * cp-type2.c (process_init_constructor): Test warn_missing_braces. + * alpha.c (alpha_emit_set_const): Now returns rtx and take MODE arg. + Rework to use a new pseudo for intermediate values if high opt level. + Also use expand_{bin,un}op. + * alpha.h (alpha_emit_set_const): Add declaration. + * alpha.md (mov[sd]i and splits): Change call to alpha_emit_set_const. - * cp-typeck.c (build_binary_op_nodefault): Make warning - message distinguish between right/left and shift/rotate. + * reg-stack.c (stack_result): Fix bug in last change. - * cp-decl.c (init_decl_processing): When making SIZETYPE, - start with name in SIZE_TYPE. If -traditional, use a signed - version of that type, if it is unsigned. +Fri Apr 28 01:08:43 1995 Doug Evans - * cp-typeck.c (c_sizeof, build_c_cast): Set TREE_OVERFLOW in - addition to TREE_CONSTANT_OVERFLOW. + * objc-act.c: Update calls to start_decl, finish_struct, + pass NULLs for attributes. - * cp-decl.c (finish_enum): Store layout results into variant types. +Thu Apr 27 21:13:14 1995 Doug Evans - * cp-typeck.c (internal_build_compound_expr): When pedantic, don't - simplify a COMPOUND_EXPR, so that it won't be mistaken for an - lvalue or an integer constant expression. + * sparc.md (tablejump): Only if ! TARGET_MEDANY. + (casesi): New pattern for TARGET_MEDANY case. - * cp-parse.y (program): After extdefs, pop any unpopped binding lvls. + * c-common.c (decl_attributes): Always continue if attribute not found. + * c-typeck.c (common_type): Call lookup_attribute instead of + value_member. + * tree.c (attribute_hash_list): New function. + (build_type_attribute_variant): Call it. + (valid_machine_attribute): Handle attributes with arguments. + (is_attribute_p): New function. + (lookup_attribute): New function. + (attribute_in_list): Deleted. + (attribute_list_contained): Check TREE_PURPOSE and TREE_VALUE. + * tree.h (valid_machine_attribute): Add prototype. + (is_attribute_p, lookup_attribute): Likewise. + * i386/winnt.h (RETURN_POPS_ARGS): Call lookup_attribute. + (ENCODE_SECTION_INFO): Likewise. + (CPP_PREDEFINES): Use __stdcall__, __cdecl__. + (VALID_MACHINE_DECL_ATTRIBUTE): Call is_attribute_p. + `args' must be NULL. - * cp-decl.c (grokdeclarator, ARRAY_REF case): Build array type, - and then build the variant array type. +Thu Apr 27 21:10:41 1995 David Edelsohn - * cp-lex.c (real_yylex): Avoid invalid shift for erroneous empty - char const. + * rs6000.md (insv): New anonymous patterns to combine insert with + arbitrary ashift, ashiftrt, lshiftrt, or zero_extract. (Based on + patch from John Brooks .) + (ashlsi3): Remove extraneous operand processing. - * cp-decl.c (complete_array_type): Make maxindex -1 for empty - constructor. +Thu Apr 27 18:47:24 1995 Jim Wilson - * cp-type2.c (initializer_constant_valid_p): Allow cast of ptr to - wider integer. + * sh/ashlsi3.c, sh/ashrsi3.c, sh/lshrsi3.c: Delete. + * sh/lib1funcs.asm (ashiftrt_r4_*): Rewrite for efficiency. + (ashrsi3, lshrsi3, lshrsi3): Add. + * t-sh (LIB1ASMFUNCS): Add new functions. + (LIBGCC2_CFLAGS): Delete. + (LIB2FUNCS_EXTRA): Remove deleted files. + (ashlsi3.c, ashrsi3.c, lshrsi3.c): Remove rules for deleted files. - * cp-decl.c (pushdecl): Copy DECL_FRAME_SIZE for inline function decls. + * stmt.c (expand_return): When returning BLKmode structure, use + operand_subword instead of doing arithmetic on the register number. + Also, for structures smaller than word_mode, copy it into a word_mode + temporary and then subreg it. - * cp-decl.c (finish_decl): Do not allocate static var of - unknown size. - (complete_array_type): Use 0 as default maxindex. + * sparc.md: Delete two define_peepholes which print `bad peephole'. -Fri Jul 23 07:18:20 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Thu Apr 27 16:17:01 1995 Torbjorn Granlund - * function.c (aggregate_value_p): An ARRAY_TYPE is also an aggregate. + * toplev.c (rest_of_compilation): Call shorten_branches even when + !optimize. + * final.c (shorten_branches): For non-optimizing compiles, break + after first pass. -Fri Jul 23 01:54:28 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Apr 27 14:22:50 1995 Michael Meissner - * gcc.c (main): Improve "No input files" error message. + * i386/linux-oldld.h: New file, that is cloned from linux-aout.h, + except that it does not pass -m i386linux to the linker. This is + to support the original Linux ld that is on most distributions. -Thu Jul 22 23:00:11 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * configure (i[345]86-*-linux*oldld*): Use i386/linux-oldld.h as + the target file. - * reorg.c (relax_delay_slots): Do not redirect a jump if doing so - invalidates insns in the jump's delay slots. - (redirect_with_delay_slots_safe_p): New function. +Thu Apr 27 08:56:50 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Jul 22 18:01:29 1993 John Hassey (hassey@dg-rtp.dg.com) + * tree.c (valid_machine_attribute): Update last change. - * invoke.texi, m88k.h, m88k.c: Changed serialize-volatile - to use tb1 instead of fldcr, fldcr has problems on 88110. - Made serialize-volatile the default behavior for all models. +Thu Apr 27 08:06:33 1995 Philippe De Muyter (phdm@info.ucl.ac.be) -Thu Jul 22 11:19:28 PDT 1993 Ron Guilmette (rfg@netcom.com) + * fix-header.c, cpplib.c: Don't include twice. + * cpplib.c (cpp_grow_buffer, init_parse_file): Cast {xmalloc,xrealloc} + for token_buffer to U_CHAR* instead of char*. - * fixinc.svr4 (making LIB absolute): Just concat with $ORIG_DIR. + * m68k/x-mot3300: New file. + * configure (m68k-motorola-sysv*): Use x-mot3300 instead of x-alloca. - * configure: Use `sed' rather than `cat' to put `MAYBE_TARGET_DEFAULT' - definition in. (This is a work-around for an NFS bug.) +Thu Apr 27 07:04:09 1995 Paul Eggert -Thu Jul 22 14:59:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cccp.c (do_include): Fix minor memory leak. - * c-typeck.c: Output most constructors an element at a time. - (digest_init): Deleted code for raw constructors. - (process_init_constructor): Function deleted. - (start_init, finish_init): New functions. - (really_start_incremental_init) - (push_init_level, check_init_type_bitfields, pop_init_level) - (set_init_index, set_init_label, process_init_element) - (output_init_element, output_pending_init_elements): New functions. - * c-tree.h: Declare most of those functions. + * cccp.c (struct argdata): Remove unused `comments' member. + (macarg): Don't set `comments' member. - * c-parse.in (cast_expr): Use new initializer parsing functions. - (initdcl, notype_initdcl): Likewise. - (init): Likewise. - (initlist_maybe_comma, initlist1): These replace initlist. - (initelt): New nonterminal. - Change specified index syntax to `[INDEX]='. - Change specified field syntax to `.NAME='. + * cccp.c (collect_expansion): Assume leading white space + already removed. + Don't allocate unnecessary space for expansion. - * varasm.c (output_constant_def_contents): New function. - (output_constant_def): Use it. - (deferred_constants): New list of constants not yet output. - (defer_addressed_constants): New function. - (output_deferred_addressed_constants): New function. - (make_decl_rtl): Don't ever replace old rtl; - instead, change its mode if necessary. + * cccp.c (deps_output): Don't generate overly long output lines. + Do not invoke self recursively with spacer == 0; this simplifies + the code a bit. -Wed Jul 21 15:50:19 1993 Jim Wilson (wilson@cygnus.com) +Wed Apr 26 19:20:02 1995 Andrew McCallum - * expr.c (expand_expr, COMPONENT_REF case): For unaligned object - in an aligned union, set MEM_IN_STRUCT_P if create a MEM rtx. + * objc/Object.h: Changed Class * to Class in order to match NEXTSTEP + and OpenStep runtime. + * objc/Object.m, objc/Object.h, objc/archive.c, objc/class.c: Likewise. + * objc/encoding.c, objc/init.c, objc/objc-api.h, objc/objc.h: Likewise. + * objc/objects.c, objc/runtime.h, objc/selector.c: Likewise. + * objc/sendmsg.c, objc/typedstream.h: Likewise. - * sparc.c (output_move_double): Only set highest_first if first reg - of dest overlaps memory src address. Otherwise, if addreg1 set and - is same as second reg of dest, suppress trailing decrement. - - * sparc.md (movdi+1): Delete & from r/i constraint. +Wed Apr 26 19:18:52 1995 Pieter Schoenmakers - From rfg@netcom.com: - * fixinc.svr4 (): Don't apply specialized fixes to - if we are on Solaris. They are not needed in that case. + * objc/objc-api.h (objc_static_instances): New struct to record + static instances of a certain class. + (objc_module): New tag STATICS to point to the table of + objc_statics_instances. - * combine.c (nonlocal_label_list): New variable. - (combine_instructions): Set it. - (try_combine, distribute_links): CALL_INSN terminates a basic - block if nonlocal_label_list is set. + * objc/init.c (OBJC_VERSION): Version 7. + (objc_init_statics): New function. + (__objc_exec_class): Invoke objc_init_statics if needed. - * config/mips/{bsd-4.h, bsd-5.h, iris3.h, mips.h, news4.h, - news5.h, nws3250v4.h, osfrose.h, svr3-4.h, svr3-5.h, svr4-4.h, - svr4-5.h, ultrix.h} (CPP_SPEC): Define LANGUAGE_ASSEMBLY, not - LANGUAGE_C, when compiling a .s file. + * objc/NXConstantString.m, objc/NXConstantString.h: New files. + * objc/Makefile (OBJC_O): Added bare-bones implementation of + NXConstantString. - * m68k.h (TARGET_SWITCHES): Recognize -m68851, -mno-68851, - -m68302, -mno-68302, -m68332, -mno-68332. + * objc-act.c (OBJC_VERSION): Version 7. + (build_objc_string_object): Build a full declaration if not using + the next runtime. + (objc_add_static_instance): New function. + (init_module_descriptor): Add reference to static instances table. + (build_module_descriptor): Add field for static instances table. + (get_objc_string_decl): New function. + (generate_static_references): New function. + (finish_objc): Call generate_static_references if needed. - * lynx.h, i386/lynx.h, m68k/lynx.h, sparc/lynx.h: New files. - * i386.h (OVERRIDE_OPTIONS, SUBTARGET_OVERRIDE_OPTIONS): Define. - * m68k.h (TARGET_SWITCHES): Add SUBTARGET_SWITCHES. - (OVERRIDE_OPTIONS): Add SUBTARGET_OVERRIDE_OPTIONS. - (SUBTARGET_SWITCHES, SUBTARGET_OVERRIDE_OPTIONS): Define. - * sparc.h (TARGET_SWITCHES): Add SUBTARGET_SWITCHES. - (OVERRIDE_OPTIONS): Add SUBTARGET_OVERRIDE_OPTIONS. - (SUBTARGET_SWITCHES, SUBTARGET_OVERRIDE_OPTIONS): Define. + * c-tree.h (finish_decl_top_level): New declaration. + * c-decl.c (finish_decl_top_level): New function. - * fixincludes (sys/types.h sys/stdtypes.h): Delete newline before - do. - (machine/cpu.h): Delete space in `2>& 1'. +Wed Apr 26 18:04:32 1995 Dirk Steinberg (Dirk.Steinberg@gmd.de) - * config.sub (lynx): Recognize as vendor. - (lynxos): Recognize as OS. - * configure (i386-*-lynxos, sparc-*-lynxos, m68k-*-lynxos): - Recognize as new configurations. + * stddef.h: Treat _MACHINE_ANSI_H_ like _ANSI_H_. - * gcc.c (link_command_spec): Move %{T*} after %{L*} and %D. +Wed Apr 26 14:09:59 1995 Jim Wilson - * optabs.c (expand_binop): Synthesize double word shifts and - rotates from single word shifts. - * sparc.md (ashldi3, lshrdi3): Obsolete, deleted. + * sparc.h (NEGTF2_LIBCALL): Define. + (INIT_TARGET_OPTABS): Add support for all TFmode *_LIBCALL macros. + * optabs.c (init_optabs): Delete all uses of undocumented TImode and + TFmode *_LIBCALL macros. -Wed Jul 21 15:55:18 1993 Ian Lance Taylor (ian@cygnus.com) + * combine.c (simplify_rtx, case TRUNCATE): Add. Use force_to_mode. + (force_to_mode, case AND): Allow some simplifications when GET_MODE (x) + has more bits than HOST_BITS_PER_WIDE_INT. + * mips/mips.md (truncdiqi2+[456]): Add patterns to simplify ZERO_EXTEND + of a TRUNCATE. - * fixinc.svr4: When fixing ftw.h, preserve remainder of - ftw and nftw declaration; don't just rewrite it. +Wed Apr 26 13:01:22 1995 Doug Evans -Tue Jul 20 23:35:36 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * sparc.md (memop define_splits): Rewrite to not use memop. + Preserve MEM_IN_STRUCT_P, MEM_VOLATILE_P, RTX_UNCHANGING_P bits. + * sparc.c (memop): Deleted. + (splittable_symbolic_memory_operand): New function. + (splittable_immediate_memory_operand): New function. - * collect2.c (is_ctor_dtor): Delete leading _'s from sym names - in `special' table, in neither-dots-nor-dollars case. +Wed Apr 26 12:54:26 1995 Jeffrey A. Law -Tue Jul 20 18:49:09 1993 Michael Meissner (meissner@osf.org) + * configure: Add hppa1.1-hp-lites support. - * i386/osfrose.h, i386/osfelf.h (CC1_SPEC): Don't turn on - -mhalf-pic if ELF. +Wed Apr 26 08:04:46 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * i386/osfrose.h (ASM_FILE_END): Put filename, sans directory into - the .ident string. + * sh.md (ashrsi2_31): Don't use dead_or_set_p after reload. + * pyr.md: Remove bad peepholes that improperly use dead_or_set_p. -Tue Jul 20 15:07:06 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * function.c (expand_function_end): Warn about unused parms + if both -Wunused and -W. - * combine.c: Add prototypes for static functions. - (subst, case IF_THEN_ELSE): Add missing arg to make_compound_operation. - (make_compound_operation, case ASHIFTRT): Delete extra gen_unary arg. + * tree.h (TYPE_PARSE_INFO): Delete unused field. + (TYPE_PACKED): Add new macro. + (struct tree_type): Delete unused field `parse_info'. + Add new field `packed_flag'. + * c-tree.h (finish_enum, finish_struct): Add ATTRIBUTES argument. + * c-common.c (init_attributes): Don't require decl for A_PACKED. + (decl_attributes, case A_PACKED): Set TYPE_PACKED for type. + * c-parse.in: Update number of shift/reduce conflicts. + (structsp): Pass attribute arg to finish_struct. + Support attributes on enums and pass to finish_enum. + * c-decl.c (finish_struct): Add ATTRIBUTES argument, call + decl_attributes and set DECL_PACKED from TYPE_PACKED. + (finish_enum): Add ATTRIBUTES argument, call decl_attributes, + and make enum narrow if TYPE_PACKED. + * print-tree.c (print_node): Print TYPE_PACKED. -Mon Jul 19 18:15:48 1993 John F Carr (jfc@Athena.mit.edu) + * c-decl.c (init_decl_processing): Don't give builtin__constant_p an + argument type. + * expr.c (expand_builtin, case BUILT_IN_CONSTANT_P): A pointer to a + string constant is a constant. - * rs6000.c (current_file_function_operand): New function. - * rs6000.h (ENCODE_SECTION_INFO): New macro. - (PREDICATE_CODES): Add current_file_function_operand. - * rs6000.md: Add variants of call and call_value patterns for - calls to functions defined in the same file. Omit the TOC pointer - reload after such calls. + * c-typeck.c (output_init_element): Constructor is not simple if + a bitfield is being assigned a non-integer. -Mon Jul 19 13:17:52 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * c-typeck.c (push_init_level): Update constructor_depth when we + push spelling level. - * reorg.c (fill_simple_delay_slots): Try filling any insn needing - delay slots with a JUMP_INSN. +Tue Apr 25 19:50:06 1995 Jeffrey A. Law -Mon Jul 19 00:33:24 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * pa.c (emit_move_sequence): Handle function label arithmetic for + PIC code generation too. - * varasm.c (assemble_variable): New arg DONT_OUTPUT_DATA. - * toplev.c (rest_of_decl_compilation): Pass 0 as DONT_OUTPUT_DATA. +Tue Apr 25 18:52:43 1995 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de) -Sun Jul 18 15:38:04 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * reg-stack.c (current_function_returns_real): Deleted (unused). + (FP_mode_reg): Trimmed to a smaller size, less overhead. + (FP_MODE_REG): New macro over which FP_mode_reg will be accessed. + (mark_regs_pat, straighten_stack): New functions. + (reg_to_stack): Amend initialisation of FP_mode_reg. + Mark FP registers mentioned in USE insns before NOTE_INSN_FUNCTION_BEG. + (get_true_reg): Eliminate FP subreg accesses in favour of the + actual FP register in use. + (record_reg_life_pat): Make it work on SUBREGs as well. Make use of + the new mark_regs_pat function. Handle USE insns if called unnested. + (record_reg_life): Don't check for QImode again, we know that it + is there. Process CALL_INSNs like all other insns, they might `use' + some FP argument registers if register passing. + (stack_result_p): Changed in stack_result and returning an rtx. + (stack_reg_life_analysis): Take a new stackentry state argument. + Use stack_result and the rtx to mark using mark_regs_pat. This ensures + that types that need multiple FP registers are handled correctly. + Delete the no_live_regs shortcut to save space. + Use stackentry state to determine filled registers. + (replace_reg): Accept COMPLEX_FLOAT as well. + (move_for_stack_reg): Optimise away some pointer dereferencing. + (subst_stack_regs): Make sure the stack is in the right order + and of the right size for register passing. + (goto_block_pat): Make sure the stack is in the right order + to return possible multi-register values from the function. + (convert_regs): Fix comment about CALL_INSN, it's no longer valid. + Make sure the stack is of the right size and in the right order + to return possible multi-register values from the function. - * c-typeck.c (c_expand_return): Set TREE_SIDE_EFFECTS - for the MODIFY_EXPR that we make. + * function.c (assign_parms): If STACK_REGS is defined, generate USE + insns before the function body, thus showing which registers are filled + with parameters. + * expr.c (expand_builtin_apply_args): Likewise. + Reverse order of saving registers, more compact code for i387. + (expand_builtin_apply): Likewise. + * emit-rtl.c (gen_highpart): Add comment about broken implementation. + * i386.md (untyped_call): Make it return a complex double. - * stmt.c (expand_return): When expanding assignment into DECL_RESULT, - ignore the "value"--do it for effect. + * c-parse.in (attrib): Permit null-length argument list to attributes. - * fold-const.c (fold): Handle CONJ_EXPR. - * c-typeck.c (build_unary_op): Support CONJ_EXPR. - Change BIT_NOT_EXPR to CONJ_EXPR if arg is complex. + * tree.c (valid_machine_attribute): Use new function attribute_in_list, + makes sure type_attribute_variants are reused even when attributes have + parameters. + Assign any new type to TREE_TYPE (decl). + (attribute_in_list): New function. + (attribute_list_contained): Use it. + * tree.h (attribute_in_list): New declaration. -Sun Jul 18 14:22:05 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Tue Apr 25 18:25:53 1995 Jim Wilson - * function.c (init_function_start): Initialize trampoline_list here. - (expand_function_end): Not here. + * expr.c (struct move_by_pieces): Add to_struct and from_struct fields. + (move_by_pieces): Set to_struct and from_struct fields. + (move_by_pieces_1): Set MEM_IN_STRUCT_P of to1 and from1. + (expand_builtin, case BUILT_IN_MEMCPY): New variable type. + Set MEM_IN_STRUCT_P of src_mem and dest_mem. -Sun Jul 18 01:24:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Makefile.in (clean): Delete libgcc1-asm.a. - * c-typeck.c (common_type): Use TYPE_MAIN_VARIANT when preferring - long int to int (when width is the same). + * m68k/vxm68k.h (CPP_SPEC): Define. - * varasm.c (assemble_variable): Move debugging output calls - to after section has been selected. Select the section again - if the debugging output call changes the section. - * dbxout.c (dbxout_symbol_location): Call in_text_section - to decide whether to use DBX_STATIC_CONST_VAR_CODE. + * c-decl.c (pushdecl): Don't test DECL_EXTERNAL when deciding whether + to register a duplicate decl in the current block. - * objc-act.c (synth_module_prologue): Call layout_type for the array - type used for _OBJC_SELECTOR_TABLE. + * cross64.h (INIT_ENVIRONMENT): Define as string not putenv call. + * gcc.c (main): Pass INIT_ENVIRONMENT to putenv. -Sat Jul 17 00:41:52 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * stmt.c (expand_return): When returning BLKmode structure in + registers, copy it to a psuedo-reg instead of to hard registers. - * expr.c (expand_increment): Convert constant subtract to add - before setting single_insn. Compensate for this when choosing - the tree code to pass to `build'. +Tue Apr 25 15:14:58 1995 Michael Meissner - * toplev.c (rest_of_compilation): If function is extern inline, - even if we can't inline it, don't compile it. + * rs6000.h (LEGITIMIZE_ADDRESS): Don't create a DF address using two + regs if -msoft-float or -mcpu=403. -Fri Jul 16 21:33:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Apr 25 15:45:44 1995 Richard Henderson (richard@atheist.tamu.edu) - * dwarfout.c (dwarfout_init): Report failure of getpwd. + * m68k.md (divhi3, udivhi3, modhi3, umodhi3): Deleted + these insns plus some surrounding trash. + (divmodhi4, udivmodhi4): Added these insns. -Fri Jul 16 15:59:07 1993 Ian Lance Taylor (ian@cygnus.com) +Tue Apr 25 10:12:40 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * config/m68k/hp320.h (LINK_LIBGCC_SPECIAL, SPACE_AFTER_L_OPTION) - (LIB_SPEC): Move outside of USE_GAS conditional. + * alpha.c (alpha_builtin_saveregs): Refine last change to work + for both stdarg and varargs. -Fri Jul 16 14:26:25 1993 David d `zoo' Zuhn (zoo@cygnus.com) + * tree.c (chain_member_purpose): Make similar to chain_member_value. - * config.sub: if [ "$os" ] --> if [ x"$os" != x"" ] + * Makefile.in, configure: Change "realclean" to "maintainer-clean". -Fri Jul 16 05:50:35 1993 Paul Eggert (eggert@twinsun.com) + * protoize.c: Removed __NetBSD__ from conditional. + Declare strerror if HAVE_STRERROR is defined; otherwise + declare sys_errlist and sys_nerr. + (my_strerror): New function. + (errno): Don't define if already defined as a macro. + + * alpha.c (current_file_function_operand): Return false if profiling. - * c-typeck.c (check_format): With -Wformat, warn about - printf("%ld", 1) even if sizeof (int) == sizeof (long), - since the code isn't portable. Similarly for "%d" vs 1L. + * expr.c (convert_move): Don't access a hard reg in an invalid + mode when doing a truncation. - * c-typeck.c (convert_arguments) [PROMOTE_PROTOTYPES]: - With -Wconversion, use unpromoted type to check for signedness changes. + * alpha.c (add_operand): Test for exactly the constants allowed by + the constraints. + * alpha.h (CONST_OK_FOR_LETTER_P, case 'L'): Reject 0x80000000. -Thu Jul 15 13:04:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-parse.in (initdcl, notype_initdcl): Pass attributes to + start_decl; delete call to decl_attributes. + * c-tree.h (start_decl): Two new tree parameters. + * c-decl.c (start_decl): New args for attributes; call decl_attributes. - * fixincludes (stdlib.h): Check carefully for definition of size_t. + * c-decl.c (duplicate_decls): Don't look at TYPE_ACTUAL_ARG_TYPES + if it is not set. -Wed Jul 14 19:05:51 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * xm-1750a.h: New file. - * fixincludes: Fix size_t definition in stdlib.h as in types.h. - Also a conditional to prevent repeated definition. + * alpha.c (alpha_builtin_saveregs): Add to incoming args addr + if less than 6 named args, not less than or equal to. -Wed Jul 14 14:53:26 1993 Ian Lance Taylor (ian@cygnus.com) +Mon Apr 24 15:25:19 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * fixincludes: Don't discard comment end characters on lines that - look like "#endif */". Fixes Esix 4.0.4 problem. + * mips-tfile.c (fatal, error): Make first arg const to avoid warning. -Wed Jul 14 12:20:13 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * stmt.c (expand_end_bindings): Write a BARRIER after call + to abort in nonlocal handler. - * pa.c (emit_move_sequence): Use cint_ok_for_move instead of - checking each condition ourselves. + * stmt.c (expand_decl_init): Call preserve_temp_slots to keep + around any temp whose address was taken. - * pa-utahmach.h (CPP_PREDEFINES): Do not define HPUX_SOURCE, hp700 - or HP700. - * pa1-utahmach.h (CPP_PREDEFINES): Do not define hp9000s800, - hp9k8, HPUX_SOURCE, or hp800. +Fri Apr 21 16:26:15 1995 Torbjorn Granlund - * Allow unconditional jumps in delay slots of call and millicode - call instructions. - * pa.h (TARGET_JUMP_IN_DELAY): New target flag to allow/disallow - jump instructions in call delay slots. - (TARGET_SWITCHES): Add -mjump-in-delay and -mno-jump-in-delay. - Provide -mno alternatives for most options. - (output_call): Declare. - * pa.c (output_call): New function to output a function call or - millicode call, possibly with a jump in the delay slot. - (output_mul_insn): Accept additional argument, use output_call. - (output_div_insn): Likewise. - (output_mod_insn): Likewise. - (jump_in_call_delay): New function to determine if the given - JUMP_INSN is in the delay slot of a call or millicode call. - * pa.md (uncond_branch): New type attribute. Explicitly disallow - uncond_branch in most delay slots. - (in_call_delay attribute): New test for delay slot of call insns. - Allow uncond_branches in the delay slot if TARGET_JUMP_IN_DELAY. - (define_delay for calls, millicode calls, branches, returns, etc): - Broken up into two define delays. One for calls and millicode - calls, a second for branches, returns, etc. - (millicode insns): Pass the current insn down to - output_{mul,div,mod}_insn. - (jump insn): Use "uncond_branch" type attribute. Length of this - insn varies if it is in the delay slot of a call. - (call_internal_symref): Use output_call. - (call_value_internal_symref): Likewise. - (call_internal_reg): Use %r syntax instead of just register numbers. + * pa.md (call_internal_reg): Fix typos in length calculation. (call_value_internal_reg): Likewise. -Wed Jul 14 02:19:11 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Apr 21 13:17:15 1995 Roland McGrath - * rtl.def (CONCAT): New rtx code. - * emit-rtl.c (gen_lowpart_common, gen_highpart): Handle CONCAT. - (operand_subword): Likewise. - (gen_reg_rtx): For complex mode, return a CONCAT of two pseudos. - * stmt.c (expand_decl): Make a CONCAT, for decls of complex type. - * dbxout.c (dbxout_symbol_location): Subroutine broken out from - dbxout_symbol. Handle CONCAT here. - (dbxout_symbol_name): New subroutine. Handle anonymous decls too. - (dbxout_reg_parms): Simplify using dbxout_symbol_location. - Handle CONCAT. + * config/gnu.h (STANDARD_INCLUDE_DIR): New macro. + * config/mips/gnu.h (STANDARD_INCLUDE_DIR): Macro moved there. - * c-typeck.c (build_c_cast): When casting to union, if value is array - or function, do default_conversion. +Fri Apr 21 08:23:58 1995 Tom Quiggle (quiggle@lovelace.engr.sgi.com) -Wed Jul 14 00:52:23 1993 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + * toplev.c (lang_options): Add -I for GNAT. + * gcc.c (default_compilers): Pass -I to gnat1. - * config.sub: Add case for Bull dpx/2. +Fri Apr 21 07:58:06 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Mon Jul 12 17:26:53 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * tree.c (integer_all_onesp): Test to size of mode, not TYPE_PRECISION. - * fixincludes: When looking for #define CTRL, - accept multiple spaces between the two words. + * toplev.c (main): Turn on -fforce-mem for -O2. - * reload1.c (reload): Don't free scratch_list or scratch_block if 0. + * fold-const.c ([lr]rotate_double): Replace; old versions were bogus. + (fold, shift and rotate): Don't call tree_int_cst_sgn on non-integer. + (fold, case LROTATE_EXPR): If constant count, convert to RROTATE_EXPR. + (fold, case RROTATE_EXPR): Sometimes commute logical op with rotate. + Delete pair of counteracting shifts. -Mon Jul 12 17:12:31 1993 Paul Eggert (eggert@twinsun.com) + * combine.c (simplify_logical, case AND): If still an AND, get + new values for op0 and op1. - * c-common.c (unsigned_conversion_warning): Just use `warning', - not `pedwarn'; these diagnostics are not required by Standard C. - * c-typeck.c (convert_for_assignment): Use `convert_and_check', - not `convert', for converting arithmetic types, since - `convert_and_check' no longer reports an error - where it should just warn. +Thu Apr 20 17:52:10 1995 Jim Wilson -Mon Jul 12 16:44:37 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * sh.c: Completely rewritten. + * sh.h (FAST_BIT, CONSTLEN_2_BIT, CONSTLEN_3_BIT, CONSTLEN_0_BIT, + TARGET_FASTCODE, TARGET_CLEN3, TARGET_CLEN0, TARGET_OPTIONS): Delete. + (TARGET_SWITCHES): Delete -mclen3 and -mclen0 options. + (TARGET_DEFAULT): Is zero. + (OVERRIDE_OPTIONS): Delete code to set max_count_si and max_count_hi. + (SPECIAL_REG): New macro. + (HARD_REGNO_MODE_OK): Allow any mode in any general register. + (GO_IF_LEGITIMATE_ADDRESS): Delete constant + reg address case. + (MOVE_RATIO): Define to 2 when TARGET_SMALLCODE. + (max_si, max_hi, max_count_si, max_count_hi): Delete. + * sh.md: Delete spurious constraints from all define_expands. + (rotlsi3_1): Set T reg instead of clobbering it. + (ashrsi3): Use expand_ashiftrt instead of gen_shifty_op. + (movsi_i, movhi_i, movsf_i): Add conditions to reject patterns + needing a reload. + (movdi-2, movdf_k): Correct conditions to reject patterns needing + a reload. + ([inverse_]branch_{true,false}): Pass operands to output_branch. + (jump): Delete unnecessary braces. + (call, call_value): Don't use expand_acall. Force operand0 into + a register. - * config/i386/i386.md (ffssi2, ffshi2): Assume bsf produces - garbage if input is 0. Use jumps to load output in that case. +Thu Apr 20 12:57:16 1995 Jason Merrill - * config/vax/vax.h (INITIALIZE_TRAMPOLINE): Add code to - do an rei to clear the insn cache. + * function.c (assign_parms): Use TREE_ADDRESSABLE rather than + TYPE_NEEDS_CONSTRUCTING to decide whether a parameter needs to be + passed by invisible reference. -Sun Jul 11 18:13:47 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * calls.c (expand_call): Ditto. Abort if we try to pre-evaluate a + parameter of TREE_ADDRESSABLE type. - * config/ns32k/ns32k.c (output_move_double): Do the low reg first, - when only the high reg has an overlap. +Wed Apr 19 17:50:24 1995 Torbjorn Granlund - * c-typeck.c (convert_arguments): Don't warn about sign change - for an INTEGER_CST inside NOP_EXPR, if value not fits new type. - Delete the code to check for VAL having enumeration type. + * pa.h (TARGET_SWITCHES): Fix typo. - * i860.c (output_move_double): Fix typos in Jun 28 change. +Tue Apr 18 18:06:03 1995 Per Bothner -Sat Jul 10 16:05:26 1993 Jim Wilson (wilson@sphagnum.cygnus.com) + * expr.c (store_constructor): Use BYTES_BIG_ENDIAN rather + than BITS_BIG_ENDIAN to layout bits within bitstring. + * tree.c (get_set_constructor_bytes): Likewise. - * i860.c (output_move_double): Only set highest_first if first reg - of dest overlaps memory src address. Otherwise, if addreg1 set and - is same as second reg of dest, suppress trailing decrement. - -Sat Jul 10 19:49:31 1993 Jeffrey A. Law (law@mole.gnu.ai.mit.edu) - - * jump.c (jump_optimize): Correctly identify branches to the end - of a function so that they may be turned into RETURN insns. +Tue Apr 18 17:22:46 1995 Per Bothner (bothner@wombat.gnu.ai.mit.edu) -Sat Jul 10 17:37:12 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/m68k/{x-hp320,x-hp320g} (FIXPROTO_DEFINES): + Define _HPUX_SOURCE so putenv and other functions get seen. - * collect2.c (main): Allocate COLLECT_NAME string with xmalloc. +Tue Apr 18 03:57:35 1995 Michael Meissner (meissner@cygnus.com) -Sat Jul 10 14:44:29 1992 Chip Salzenberg (chip@fin.uucp) - - * basic-block.h (REGSET_ELT_TYPE): Make unsigned to avoid - signed arithmetic overflow. - * hard-reg-set.h (HARD_REG_ELT_TYPE): New unsigned type to - avoid signed arithmetic overflow. - (HARD_REG_SET): Define as HARD_REG_ELT_TYPE, or array thereof. - (HARD_CONST): Always cast to HARD_REG_ELT_TYPE. - (*_HARD_REG_*): Use unsigned HARD_CONST and HARD_REG_ELT_TYPE - types instead of assuming HOST_WIDE_INT. - -Sat Jul 10 10:25:16 1993 Karl Berry (karl@cs.umb.edu) - - * fixincludes: Check for symlinks being available in /tmp. - -Sat Jul 10 02:01:08 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * config/m68k/3b1.h (MY_ISCOFF, OBJECT_FORMAT_COFF, NO_SYS_SIGLIST): - New definitions. - -Fri Jul 9 20:40:29 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * pa.md (dbra and movb patterns): Fix constraints so that FP - registers are never preferred. - -Fri Jul 9 17:36:35 1993 Holger Teutsch (holger@hotbso.rhein-main.de) - - * va-clipper.h: Make var/stdargs compatible with apogee's acc. - (__gnuc_va_list): Replace __va_f and __va_r with __va_reg. - (__va_list, _SYS_INT_STDARG_H): New defines. - (va_arg): Corresponding changes. - - * config/clipper/clipper.c (clipper_builtin_saveregs) : Dito. - -Fri Jul 9 13:39:08 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - Cygnus<->FSF merge. - Fri Jul 9 12:17:20 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-typeck.c (build_array_ref): Force the array to be allocated on - the stack if it is accessed by a out-of-bound constant integer - subscript. - - * cp-decl.c (pushdecl): Undo change to generate a new _TYPE node for - a typedef. - - Thu Jul 8 16:25:52 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-decl.c (pushtag): Don't mark the binding layer marker; for - dwarf debugging, do mark the TYPE_DECL we created as ignored. - - * cp-tree.h (IN_CHARGE_NAME): Define to not need DOLLAR_IN_LABEL. - (VTBL_PTR_TYPE): Likewise. - (VTABLE_DELTA_NAME, VTABLE_INDEX_NAME, VTABLE_PFN_NAME, - VTABLE_DELTA2_NAME): Use two leading underscores. - - Thu Jul 8 14:31:40 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-tree.h (TREE_ANON_UNION_ELEM): Deleted, it's never set. - * cp-decl.c (build_default_constructor): Delete checking - TREE_ANON_UNION_ELEM. - * cp-init.c (emit_base_init): Likewise. - * cp-type2.c (my_friendly_abort): Update count. - - * cp-type2.c (build_functional_cast): Disable assert 323 (see - comments for explanation). - - * cp-typeck.c (comp_target_parms): Return 0 if strict is != 0, not - just > 0. - - * cp-decl.c (init_decl_processing): Don't set WARN_RETURN_TYPE. - - Wed Jul 7 18:36:59 1993 Niklas Hallqvist (niklas@della.appli.se) - - Add the changes to redo how we handle scoping. [Merged by bpk.] - - * cp-class.c ({pop,push}_nested_class): New functions to use - instead of plain {push,pop}class. These functions will see to - that static entities of enclosing classes will be visible. - * cp-tree.h ({pop,push}_nested_class): Declare them. - * cp-decl.h ({finish,start}_function): Use these new functions - instead of plain {push,pop}class calls. - (grokdeclarator): Ditto. - * cp-decl2.c (build_push_scope): Ditto. - * cp-class.c (popclass): Only call pop_class_decls if MODIFY is - set. - - * cp-decl.c (start_decl): Maybe call pushdecl_class_level instead of - pushdecl. This is used for nested types. - (grokdeclarator): Remove the {push,pop}level calls around the - indirect recursion occuring when groking class-local typedefs. - Remove the error check of such typedefs hiding other fields in the - same scope. Remove the pushdecl_class_level call since start_decl - does the work now. - - Class scoping (and type value caching) redone. The new behaviour - is triggered by NEW_CLASS_SCOPING being defined to 1. The old - behavior is accomplished by defining it to the value 0. The entries - below describes the effective changes when NEW_CLASS_SCOPING is set - to non-zero. - - * cp-class.c (set_class_shadows): Add prototype. - (previous_class_values): New variable. - (pushclass): Adapted to not use previous_class_type & unuse_fields. - Removed setting of IDENTIFIER_CLASS_VALUE. - (popclass): Adapted to not use previous_class_type. Don't reset - IDENTIFIER_CLASS_VALUE. Moved call of pop_class_decls. - (maybe_push_cache_obstack): New function. - * cp-decl.c (current_class_depth): Add extern decl. - (previous_class_values): Add extern decl. - (pop_decl_level): Don't reset IDENTIFIER_CLASS_VALUE. - (set_class_shadows): New function. - (poplevel_class): Adjust setting of IDENTIFIER_CLASS_VALUE to only - happen if we're not leaving a toplevel class. - (push_to_top_level): Don't use adjust_type_value. - (set_identifier_type_value): Reverse the choice between class and - local scope when installing the type value. - (set_identifier_local_value): Set the type value if we're seeing a - TYPE_DECL. - (set_nested_typename): Added comment. - (pushtag): Don't call set_identifier_type_value. Leave out - setting of IDENTIFIER_CLASS_VALUE. - (adjust_type_value): Removed. - (pushdecl): Don't call adjust_type_value. - (pushdecl_class_level): Call push_class_level_binding. Set the - type value if we're seeing a TYPE_DECL. - (push_class_level_binding): New function whose guts came from - pushdecl_class_level. - (globalize_nested_type): See to that both the class_shadowed and - type_shadowed lists in the binding stack gets updated correctly. - Don't call set_identifier_type_value on the DECL_NESTED_TYPENAME. - Clear DECL_CLASS_CONTEXT as well as DECL_CONTEXT. Install a - correct IDENTIFIER_{CLASS,TYPE}_VALUE if needed. - (grokdeclarator): Prefer pushdecl_class_level over pushtag when - recording a nested typedef. - (build_enumerator): Don't install a method-local enumerator into - class scope. - * cp-decl2.c (grokfield): Don't call set_identifier_type_value. - * cp-search.c (closed_envelopes): New list containing information - of what decls should be pushed when entering a class scope. - (dfs_pushdecls): Build and maintain the closed_envelopes list - instead of managing the IDENTIFIER_CLASS_VALUEs directly. - (dfs_compress_decls): Adapted to recognize the envelopes - dfs_pushdecls has installed in the IDENTIFIER_CLASS_VALUE slots. - (push_class_decls): Tell overload_template_name to push the - template decls into class scope instead of building a new level. - Added code to open up the envelopes in closed_envelopes and - install the class/type values in the class binding contour with - proper shadowing. - (dfs_popdecls): Removed. - (pop_class_decls): Removed the actual decl-popping code, leaving - just the obstack freeing pop_search_level call. The popping is - automatically handled by poplevel now. - * cp-tree.h (NEW_CLASS_SCOPING): A new macro constant defaulted to - the value 1. - (adjust_type_value): Prototype removed. - (push_class_level_binding): Added prototype. - - Wed Jul 7 11:04:09 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-decl.c (pushdecl): When processing a typedef statement, - generate a whole new ..._TYPE node. Be careful that the type we're - looking at isn't an error_mark_node. - - * cp-class.c (finish_struct): Set the DECL_CONTEXT on the type we've - found. - * cp-decl.c (pushtag): Mark the TYPE_DECL as ignored when using - dwarf debugging; don't ignore it if it's anonymous for dwarf - debugging. Put the DECL_CONTEXT in the TYPE_CONTEXT of TYPE. - (globalize_nested_type): Remember to set TYPE_CONTEXT. - * cp-pt.c (overload_template_name): Set DECL_CONTEXT. - * cp-search.c (compute_visibility): Set DECL_CONTEXT if the context - is NULL. - - * cp-class.c (finish_struct): Mark the tag as ignored for dwarf - debugging. - - * cp-except.c (EHS_type): Don't make it static. - * cp-class.c (finish_struct): Don't create a default copy - constructor for the EHS_type. - - * cp-class.c (get_vtable_name): Leave the numbers in the name for - the vtable, so we're uniform with what prepare_fresh_vtable is - doing. Introduces a binary incompatability. - - * cp-tree.c (build_cplus_method_type): Mark the first argtype (the - this pointer) as artificial. - - * cp-init.c (do_friend): Don't allow a friend of a class that's not - yet been defined; instead, complain. Make sure we mark every decl - that comes in as being a friend of something. - - * cp-decl2.c (grokclassfn): Mark the __in_chrg parameter as - artificial. Don't mark it as readonly, and for destructors make - sure the first arg in the arg_types chain has TREE_SIDE_EFFECTS set, - so it's seen as artificial. - (finish_vtable_vardecl): For dwarf debugging, make the vtable's - VAR_DECL node be ignored. - - * cp-decl.c (redeclaration_error_message): Use comptypes to see if - OLDDECL and NEWDECL have the same type. - * cp-typeck.c (comptypes): Compare the main variants of the types, - after we've checked the qualifiers that could have been used on them. - - * cp-call.c (EVIL_RETURN, QUAL_RETURN, TRIVIAL_RETURN, ZERO_RETURN): - Rewrite definitions to not use do/while(0), to avoid bogus warnings - on compilers that can't deal with a return inside it. Change all - uses of them to do `return FOO_RETURN'. - - Tue Jul 6 13:00:44 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-decl.c (duplicate_decls): Set GIVE_ERROR so we know where the - previous declaration was for empty parameter name list declarations. - - * cp-class.c (finish_struct): Clean up error message about anonymous - classes. - - * cp-class.c (finish_struct): Don't play with TAIL when we're - dealing with a TYPE_DECL of a RECORD_TYPE; the list continues on - just fine, and TAIL is only used for managing FN_FIELDS. - - * cp-decl.c (pushlevel): Change cast to HOST_WIDE_INT. - * cp-search.c (breadth_first_search): Likewise. - - Fri Jul 2 19:24:55 1993 Steve Chamberlain (sac@rtl.cygnus.com) - - * cp-method.c: Include "cp-class.h" - - Fri Jul 2 18:16:10 1993 Michael Tiemann (tiemann@blues.cygnus.com) - - * cp-call.c (build_overload_call_real): Don't look at a required - template instantiation and a speculative template instantiation as - two different functions if they are really the same function. - - Thu Jul 1 22:28:46 1993 Michael Tiemann (tiemann@blues.cygnus.com) - - * cp-tree.h: Don't include "cp-class.h" here. - * cp-call.c, cp-cvt.c: Include it here instead. - - Thu Jul 1 18:42:03 1993 Mike Stump (mrs@cygnus.com) - - * cp-decl.c (duplicate_decls): Fix typo. (olddecl->olddecls) - - Thu Jul 1 18:34:12 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - New implementation of argument matching. This is now much cleaner - to read, and is designed such that it should be easy to tweak - things when incorrect decisions are made based on the candidates - being examined. - - * cp-decl2.c (flag_ansi_overloading): New variable. - (lang_f_options): Add -fansi-overloading. - * toplev.c (lang_options): Add -fansi-overloading and - -fno-ansi-overloading. - - * cp-class.h (harshness_code): New struct. - (candidate): New members `h' and `h_len' used by new method. New - anonymous union `v', with ansi_harshness and old_harshness. - Deleted member `harshness' (used by old method, now in `v'). - Change every file that uses harshness to refer to it in the union - as appropriate. - (EVIL_CODE, CONST_CODE, ELLIPSIS_CODE, USER_CODE, STD_CODE, - PROMO_CODE, QUAL_CODE, TRIVIAL_CODE): New macros. - - * cp-call.c (EVIL_RETURN, QUAL_RETURN, TRIVIAL_RETURN, - ZERO_RETURN): New macros. - (rank_for_overload): Renamed to rank_for_overload_old. - (rank_for_overload_ansi): New function for new method. - (rank_for_overload): Call the appropriate fn based on the new flag. - (rank_for_ideal): New function for new method. - (compute_harshness): Renamed to compute_harshness_old. - (compute_harshness_ansi): New function for new method. - (compute_conversion_costs): Renamed to compute_conversion_costs_old. - (compute_conversion_costs_ansi): New function for new method. - (compute_conversion_costs): Call the appropriate fn based on the - new flag. - (ideal_candidate): Renamed to ideal_candidate_old. - (ideal_candidate_ansi): New function for new method. - (ideal_candidate): Call the appropriate fn based on the new flag. - (strictly_better): New function for new method. - (build_method_call): Change things to use the new method if - -fansi-overloading is set. - (build_overload_call_real): Likewise. - * cp-cvt.c (convert_to_aggr): Likewise. - - * cp-call.c (build_overload_call_real): Only use the speed hack - to trigger immediately if the OVERLOAD_NAME has a global value if we - aren't using the new overloading scheme. - - * cp-cvt.c (build_type_conversion): Only accept using an `operator - double' if there isn't a conflicting `operator int', if - -fansi-overloading is on. - - Thu Jul 1 17:54:44 1993 Mike Stump (mrs@cygnus.com) - - * cp-decl.c (duplicate_decls): Propagate some changes from C - front-end. Conflicts with built-in functions are now only warnings. - - Thu Jul 1 15:43:48 1993 Mike Stump (mrs@cygnus.com) - - * cp-call.c (build_field_call): Use real type if type is a - REFERENCE_TYPE. - * cp-parse.y (primary): Cleanup and move some code out into new - function build_object_ref. - * cp-tree.h (build_object_ref): New function. - * cp-typeck.c (build_object_ref): Define new function. - * cp-typeck.c (build_x_function_call): Return error_mark_node if - first argument is, and handle when TREE_PURPOSE is a binfo and comes - from lookup_fnfields. - - Thu Jul 1 13:48:46 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-lex.c (readescape): Don't complain for \% unless pedantic. - - Wed Jun 30 10:35:50 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-decl2.c (bad_specifiers): Moved to cp-decl.c. New args - `inlinep' and `object' (old object renamed to type), so we can see - where the thing was declared. Use error_with_decl instead of error. - * cp-decl.c (grokdeclarator): Pass INLINEP and DECL down; move calls - so we'll have a valid DECL to give it. - * cp-tree.h (bad_specifiers): Deleted prototype. - - * cp-call.c (build_scoped_method_call): If it's a reference, work - with the actual type. - * cp-type2.c (build_scoped_ref): Likewise. - - Tue Jun 29 19:49:57 1993 Mike Stump (mrs@poseidon.cygnus.com) - - * cp-lex.c (default_copy_constructor_body): Hack broken code to work - marginally better than how it worked before, so that PlotFile3D's - make check of libg++ works. - - Tue Jun 29 12:44:48 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-typeck.c (mark_addressable): Don't complain about taking the - address of an object with register storage class; it's legal in C++. - - * cp-typeck.c (convert_arguments): Only warn about passing an object - through an ellipsis. - - * cp-parse.y (typed_declspecs): Make sure the TYPESPEC we hit - upon is non-null. - - Tue Jun 29 11:58:03 1993 Tony Deigh (tonyd@bostech.com) - - * cp-decl.c (grokdeclarator): Look at the decl as a FUNCTION_TYPE - before seeing if its TYPE_MAIN_VARIANT matches or it's a friend; - this way, we can properly detect declaration of another class's - methods inside another class. Solves chainon aborts. - - Tue Jun 29 09:47:36 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-class.c (finish_struct): Use pedwarn_with_decl for warnings - about non-static const/ref in class without a ctor, so the line - number is helpful. - - Tue Jun 29 02:46:39 1993 Mike Stump (mrs@cygnus.com) - - * cp-cvt.c (build_up_reference): Delete unneed cast. - * cp-typeck.c (convert_for_assignment): Likewise. - - Mon Jun 28 19:19:34 1993 Mike Stump (mrs@rtl.cygnus.com) - - * cp-lex.c (real_yylex): Use pedwarn to warn about using catch, try - and throw as identifiers. - - Mon Jun 28 11:13:17 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-method.c (hack_identifier): Only look for visibility if we have - a basetype path. - - * cp-decl.c (grokdeclarator): Also forbid the subscripting operator, - and class member access operator being declared as a non-member - function. - - * cp-init.c (add_friend): Pedwarn on duplicate friend decls. - - * cp-init.c (is_friend_type): New function. - (is_friend): Call it; rewrite in minor ways, to clean the code up. - * cp-tree.h (is_friend_type): Add prototype. - * cp-search.c (compute_visibility): Also check if the - CURRENT_CLASS_TYPE is a friend of CONTEXT, which can buy us access - to the field in question. - - * cp-init.c (sort_member_init): Disable assert that was wrong. - - * cp-class.c (finish_struct): Make declaration of a non-static const - or reference member get a pedwarn if the class it's in has no - constructor. - - * cp-decl2.c (grokfield): Fix up the error message about member - initialization. - - * cp-typeck.c (c_expand_return): Make sure we don't set - CURRENT_FUNCTION_RETURNS_VALUE if we set CURRENT_FUNCTION_RETURNS_NULL. - - * cp-method.c (dump_init): Don't emit digit_buffer if we're giving - an enum's tag. - -Fri Jul 9 16:45:25 1993 David d `zoo' Zuhn (zoo@cygnus.com) - - * config.sub: Make -solaris reflect the most recent major release. - -Fri Jul 9 16:18:20 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * Change length attributes to use bytes instead of instruction - counts. - * pa.h (CASE_VECTOR_MODE): Change to DImode. - * pa.c (compute_movstrsi_length): Return length in bytes. - (pa_adjust_insn_length): Return adjustment in bytes. - (output_cbranch): Handle lengths as bytes. - (output_bb, output_dbra, output_movb): Likewise. - * pa.md (default length define_attr): Lengths are in bytes now. - (asm_attributes): Likewise. - (delay slot attributes): Deal with lengths in bytes. - (explicit length computations): Compute length in bytes. + * varasm.c (weak_decls): Make this a unique structure, instead of + a tree structure. + (handle_pragma_weak): Don't redeclare asm_out_file. Use new weak + structure to copy name and value to. Protect name and value by + copying them to the permanent obstack. + (declare_weak): Call handle_pragma_weak, instead of duplicating + the code. + (finish_weak): Rewrite to use new weak symbols list structure. - * Make more dbra insns and support movb insns. - * pa.h (output_dbra, output_movb): Declare. - * pa.md (dbra pattern): Use output_dbra. - (dbra pattern #2): New pattern. Also use output_dbra. - (movb, inverted movb): New patterns. - * pa.c (pa_adjust_insn_length): dbra and movb insns which have - their output in a FP register do not need adjustment. - (output_cbranch, output_bb): Handle conditional jump to the - following instruction. - (output_dbra): New function extracted from dbra pattern. - (output_movb): New function. - (eq_neq_comparison_operator): New function. - (movb_comparison_operator): New function. + * c-pragma.h: New file to define the c-pragma.c interfaces. + * c-pragma.c: Include it. + * varasm.c: Include it. + * c-lex.c: Include it. + * cp/lex.c: Include it. -Fri Jul 9 01:07:52 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * varasm.c (handle_pragma_weak): No longer pass output file + stream, since weak pragmas are delayed until the end of the + compilation. + * c-pragma.c (handle_pragma_token): Call handle_pragma_weak + without file stream argument. - * config/m68k/mot3300.h (ASM_OUTPUT_OPCODE): Don't add .w suffix - to jump insns. + * Makefile.in (varasm.o, c-lex.o, c-pragma.o): Add dependencies on + c-pragma.h. - * combine.c, cse.c: Include stdio.h before rtl.h. + * config/rs6000.md (movdf): If -msoft-float, do not generate + memory to memory references, like is already done for the + -mhard-float case. Remove an extra test for -mhard-float inside + of -mhard-float code. -Wed Jul 7 18:06:45 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Tue Apr 18 06:19:50 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - From moshier@world.std.com: - * sparc.c (singlemove_string): Convert SFmode by REAL_VALUE... macros. - * sparc.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): - Use REAL_VALUE_TO_DECIMAL to generate decimal string. - (REAL_ARITHMETIC): Define. + * fold-const.c (size_int): Arg is unsigned HOST_WIDE_INT. + * tree.h (size_int): Likewise. - * sparc.h (SECONDARY_MEMORY_NEEDED_RTX): Use - STARTING_FRAME_OFFSET. - (STARTING_FRAME_OFFSET): Set to -16. +Mon Apr 17 23:36:57 1995 Jason Merrill - * c-parse.in (simple_if): Save stmt_count, and print empty body - warning here. - (if_prefix): Don't save stmt_count here. - (stmt): Don't print empty body warning here. + * rs6000/aix41.h: Restore March 11th changes, plus + (ASM_OUTPUT_EXTERNAL): Do add [DS] or [RW], just don't emit + anything. + * rs6000/aix3newas.h (ASM_OUTPUT_EXTERNAL): Ditto. - * combine.c (simplify_comparison): Add parentheses to satify gcc. - * sparc.c (sparc_frw_save_restore): Likewise. - * expr.c (convert_to_mode): Move misplaced parentheses. +Mon Apr 17 15:58:52 1995 Per Bothner -Wed Jul 7 16:37:26 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * config/mips/x-iris (FIXPROTO_DEFINES): Add -D_LANGUAGE_C_PLUS_PLUS. + * config/mips/x-iris6: Likewise. - * Improve code for conditional branches and dbra insns on the PA. - * pa.c (pa_adjust_insn_length): Rewrite so that it only adjusts - insns which really need adjustment. - (output_cbranch): Rework so that output templates are simpler. - Use shorter sequence for long backwards conditional branches with - a filled delay slot that is nullified. More agressively use "skip" - instructions. More agressively nullify the delay slot if nothing - useful could be placed there. - (output_bb): Likewise. - (forward_branch_p): New function. - * pa.md (conditional branches): Use the full displacement range - for the branch target. Update length computations to match current - reality. - (branch on bit patterns): Likewise. - (decrement_and_branch_until_zero): Re-enable pattern. Rewrite to - be simpler and more efficient. Also handle case where loop counter - is in a FP register. + * cpplib.c: Rename make_definition to cpp_define. + * cpplib.h (cpp_define): New declaration. -Wed Jul 7 11:19:03 1993 Ian Lance Taylor (ian@cygnus.com) + * cpplib.c (special_symbol): For T_SPECLINE, calculate __LINE__ + in enclosing file buffer, not current buffer (if macro expanding). + (cpp_get_token): Fix thinko (in code for chopping unneeded space). - * glimits.h (MB_LEN_MAX): Don't override the value from the system - . Just define it if it is not already defined. +Mon Apr 17 11:36:07 1995 Jim Wilson - * collect2.c (main): Search for ld in the compiler directories. + * abi64.h (CPP_SPECS): Define and use _ABI64 instead of + _MIPS_SIM_ABI64. + (SETUP_INCOMING_VARARGS): Set MEM_IN_STRUCT_P if big endian target. + * iris6.h (ASM_IDENTIFY_GCC, ASM_IDENTIFY_LANGUAGE): Define. -Wed Jul 7 13:40:55 1993 Jim Wilson (wilson@kropotkin.gnu.ai.mit.edu) + * combine.c (get_last_value): Ignore BARRIER when scanning backwards. + (move_deaths): New variables before_dead and after_dead. Set them + to instructions that have valid INSN_CUID values and use in test. - * collect2.c (fork_execute, scan_prog_file): Use "fork" in error - messages instead of "vfork" when vfork is defined to fork. - -Tue Jul 6 16:38:36 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - - * sparc.c (sparc_type_code): Recognize SET_TYPE. For special - Fortran/Pascal types, just return qualifiers instead of aborting. - - * c-decl.c (insert_block): Correct typo in comment. - - * combine.c (simplify_and_const_int, LSHIFTRT case): Must be at - least as many sign bit copies as bits in mask. - - * c-typeck.c (build_conditional_expr): All simplified results - must go through pedantic_non_lvalue. - * cp-typeck.c (build_conditional_expr): Likewise. - * fold-const.c (fold, COND_EXPR case): Likewise. - (pedantic_non_lvalue): New function. - * tree.h (pedantic_non_lvalue): Add declaration. - - * fold-const.c (invert_truthvalue): Check for ERROR_MARK input. - - * m68k.h (LEGITIMATE_BASE_REG_P): New macro. - (INDIRECTABLE_1_ADDRESS_P, GO_IF_INDEXABLE_BASE, - LEGITIMATE_INDEX_REG_P): Accept SUBREG everywhere REG is accepted. - - * sparc.h (EXTRA_CONSTRAINT): For 'T', pass address not mem to - strict_memory_address_p call. For 'U', don't accept unallocated - pseudo-reg when strict. - - * sparc.c (output_move_quad): Implement CNSTOP case. - - * i960.h (ASM_OUTPUT_COMMON): Use SIZE not ROUNDED. - -Tue Jul 6 02:12:15 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * cse.c (simplify_binary_operation, case MINUS): Fix backwards - test added in last change. - - * config/i386/sun.h (SIZE_TYPE): Deleted. - - * c-typeck.c (convert_arguments): Don't warn for -Wconversion - about signedness of an arg that's extended from narrower unsigned type. + * combine.c (subst_prev_insn): New variable. + (try_combine): Set it. + (get_last_value): Use it. - * c-decl.c (duplicate_decls): Don't warn for non-extern var decl - following an extern one (for -Wredundant-decls). + * reload.c (find_reloads): Recompute reg_equiv_address from + reg_equiv_memory_loc before using it. + (find_reloads_toplev, make_memloc): Likewise. -Mon Jul 5 17:50:27 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * expr.c (expand_builtin, case BUILT_IN_MEMCPY): Call force_operand + on dest_rtx before returning it. - * reload1.c (emit_reload_insns): Don't use gen_lowpart_common to - get reload register into proper mode. - * reload.c (subst_reloads): Likewise. + * function.c (instantiate_decls): Use temporary allocation if + DECL_DEFER_OUTPUT is set. - * combine.c (subst, case PLUS): Simplify (plus (comp A B) -1), etc. +Sat Apr 15 23:19:03 1995 Jason Merrill - * fold-const.c (fold, case EQ_EXPR, LE_EXPR): If comparing results - of signed MOD with zero, use an unsigned MOD. + * aoutos.h (ASM_OUTPUT_DEF): Define instead of SET_ASM_OP. + * sparc/sunos4.h (ASM_OUTPUT_DEF): Ditto. - * calls.c: Fix typo: had ARGS_GROW_DOWNARD. + * varasm.c (weak_finish): Don't handle aliases. + (declare_weak): Ditto. + (assemble_alias): Handle aliases. - * configure (rs6000-ibm-aix): Use default files for aix3.2 and - aix31.h for aix3.[01]. Add new file x-aix31. - * rs6000.c (input_operand): Fix missing operand on a return. - (print_operand): Add new code '.'. - (rs6000_sa_size): Delete unused variable `i'. - (output_prolog, output_epilog): Use new RS6000_CROR_BIT_NUMBER. - * rs6000.h (CPP_PREDEFINES): Define _AIX32. - (ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP): Use ".text[PR]" as - csect name. - (RS6000_CROR_BIT_NUMBER): New macro. - (PRINT_OPERAND_PUNCT_VALID_P): Allow `.' as valid. - * rs6000.md (call patterns): Use %. in cror. - * x-rs6000 (CLIB): No longer need -lm. - * aix31.h, x-aix31.h: New files. - * aix32.h: Deleted. + * c-common.c (enum attrs): Add A_ALIAS. + (init_attributes): Ditto. + (decl_attributes): Ditto. -Mon Jul 5 17:44:09 1993 John F Carr (jfc@Athena.mit.edu) +Sat Apr 15 13:26:34 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * romp.md (movhi): When storing a constant in an HImode register, use - cal16 instead of cal so that the high bits are clear (combine - requires this). + * calls.c (expand_call): Call preserve_temp_slots on temps + made for BLKmode args returned in registers. -Mon Jul 5 17:15:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * pa.c (override_options): Fix typo. - * objc-act.c (encode_type_qualifiers): Add casts to enums in indices. +Sat Apr 15 12:11:46 1995 Brendan Kehoe -Mon Jul 5 02:25:54 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) + * alpha/alpha.c (output_epilog): Initialize fp_offset to 0, and + make sure it's non-zero before we try to use it to restore the + frame pointer. - * Makefile.in: Parameterize libgcc.a and install-libgcc - (LIBGCC and INSTALL_LIBGCC). +Fri Apr 14 19:45:05 1995 Jason Merrill - * tree.c (get_narrower): Preserve unsignedness when bitschange == 0. + * ginclude/va-{clipper,pa,pyr,sparc,spur}.h (va_arg): Reorganize + to avoid BIND_EXPRs and COND_EXPRs of aggregate type. -Sun Jul 4 02:55:46 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Apr 14 19:31:14 1995 Roland McGrath - * expmed.c (store_split_bit_field, extract_split_bit_field): - Handle fields split across more than 2 aligned units. + * config/svr4.h (ASM_OUTPUT_SECTION_NAME): Make the section + read-only executable "ax" if DECL is a FUNCTION_DECL; read-only + "a" (previously the case always) if DECL is TREE_READONLY; + otherwise writable "aw". - * expr.c (store_field): Test STRICT_ALIGNMENT at run time. - (expand_expr, COMPONENT_REF case): Fetch unaligned field as bitfield. +Fri Apr 14 18:49:11 1995 Linus Torvalds - * collect2.c (error, fatal, fatal_perror): Say collect2, not collect. + * alpha.md (probe_stack): Probe with write, not read. + (allocate_stack): Update and correct stack probe code. + * alpha.c (output_prolog): Changed stack probe at function entry. - * c-parse.in (primary): In statement expression case, - if compstmt returns something other than a BLOCK, - return it unchanged. +Fri Apr 14 18:42:34 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sat Jul 3 20:32:43 1993 Minh Tran-Le (tranle@intellicorp.com) + * jump.c (delete_insn): When deleting after label, delete + a BARRIER as well. - * fixinc.svr4: Added fixup for __STDC__ == 0 and __STDC__ == 1 - cases found in sequent PTX-2.0.x headers. +Fri Apr 14 14:40:48 1995 Jason Merrill -Sat Jul 3 18:54:07 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * toplev.c (compile_file): Call weak_finish. - * pa.c (call_operand_address): Do not accept registers anymore. - * pa.md (call expanders): Emit different patterns for named calls - and indirect calls. - (call_internal_symref, call_internal_reg): New patterns. - (call_internal): Deleted. Now handled by call_interal_{symref,reg}. - (call_value_internal_symref, call_value_internal_reg): New patterns. - (call_value_internal): Deleted. Now handled by - call_value_internal_{symref,reg). + * c-common.c (enum attrs): Add A_WEAK. + (init_attributes): Ditto. + (decl_attributes): Support __attribute__ ((weak)) by + calling declare_weak. -Sat Jul 3 16:40:52 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) + * sparc/sunos4.h (HANDLE_PRAGMA_WEAK, WEAK_ASM_OP, SET_ASM_OP): + Define to support weak symbols with -fgnu-linker. + * aoutos.h: Ditto. - * collect2.c (main): Give ld_file_name an initial value. + * varasm.c (handle_pragma_weak): Add declared weak symbols to + weak_decls rather than emitting them immediately. + (declare_weak): Add the indicated declaration to weak_decls. + (weak_finish): Emit .weak directives for any weak symbols. -Fri Jul 2 16:36:56 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * libgcc2.c: The C++ free-store management functions are weak. - * sparc.md (ashldi3+2): Change lshift to ashift. +Fri Apr 14 13:00:29 1995 Michael Meissner (meissner@cygnus.com) - * sparc.md (zero_extendhisi2, extendhisi2, extendqihi2, - extendqisi2): Preserve the SUBREG_WORD value of subreg operands. - (ashldi3): Delete, obsoleted by lshldi3 pattern. - (lshldi3): Rename to ashldi3 for consistency with SImode shifts. + * rs6000/rs6000.c (output_prolog): For eabi systems, emit main's + call to __eabi before setting up the minimal TOC used with the + -mrelocatable support. -Fri Jul 2 01:10:56 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rs6000/eabi.h (INVOKE__main): Don't define any more, + output_prolog will emit the call. - * Makefile.in (install-headers-tar): Ignore exit status of the - first tar command. +Fri Apr 14 09:09:03 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Jul 1 14:31:45 1993 Doug Evans (dje@canuck.cygnus.com) + * alpha.c (call_operand): Any reg is valid for NT. + (output_prologue): Never need GP for Windows/NT. + Set SYMBOL_REF_FLAG in current function decl. - * flow.c (find_auto_inc): In *p=expr;q=p+size case, avoid clobbering q - if referenced in expr. +Thu Apr 13 20:19:30 1995 Jason Merrill -Fri Jul 2 01:26:01 1993 Paul Eggert (eggert@twinsun.com) + * alpha/xm-alpha.h (HAVE_VPRINTF): Define. + (HAVE_PUTENV): Define. + (POSIX): Define. - * tree.h (pushcase, pushcase_range): Add a new converter - function argument that specifies how to convert case labels to the - nominal type. - * stmt.c (pushcase, pushcase_range): Likewise. - * c-parse.in (label): Use `convert_and_check' when checking for - overflow in case labels. - * cp-parse.y (simple-stmt): Similar change, but use `convert' instead; - this leaves the behavior unchanged for C++. A C++ expert should look - into this. +Thu Apr 13 19:57:44 1995 Doug Evans - * tree.h (TREE_OVERFLOW): New macro. - * c-common.c (constant_expression_warning, overflow_warning, - convert_and_check): Distinguish between TREE_OVERFLOW, which is just - for warnings, and TREE_CONSTANT_OVERFLOW, which is for required - pedantic diagnostics. - * c-typeck.c (c_sizeof, build_c_cast): Set TREE_OVERFLOW in addition - to TREE_CONSTANT_OVERFLOW. - (store_init_value): STRIP_TYPE_NOPS is required before - constant_expression_warning. - * fold-const.c: (const_binop, fold_convert, fold): - Set TREE_OVERFLOW in addition to TREE_CONSTANT_OVERFLOW. + * emit-rtl.c (gen_sequence): If the insn has a non-null + CALL_INSN_FUNCTION_USAGE field, output it as a sequence so the + latter isn't discarded. -Thu Jul 1 20:55:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-parse.in: Update expected conflict count. - * reload1.c (eliminate_regs): Fix typo in BYTE_LOADS_ZERO_EXTEND. +Thu Apr 13 08:10:20 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Jul 1 20:00:00 1993 DJ Delorie (dj@ctron.com) + * configure.bat: Arg 2 is which machine (i386 or alpha). + * configure (alpha-*-winnt3*): New configuration. + * alpha.c: Don't #include stamp.h for WINNT. + (input_operand, case CONST): Allow ptr_mode and DImode. + * alpha.h (WINDOWS_NT): Provide default definition. + (ASM_OUTPUT_INT): Use output_addr_const. + (ASM_OUTPUT_ADDR_DIFF_ELT): Use .long for NT. + * alpha.md (calll, tablejump, movsi): New variants for NT. + * alpha/winnt.h, alpha/xm-winnt.h, alpha/x-winnt: New files. + * alpha/config-nt.bat, alpha/config-nt.sed: New files. + * i386/config-nt.bat: Add Ada fragments to Makefile. + * i386/config-nt.sed: Adjust for deletion of config.run in Makefile.in + Change version to 2.6.3. + Add some missing tabs. + * winnt/winnt.h (TARGET_MEM_FUNCTIONS): Define. + (LINK_SPEC): Delete "align:0x1000". + * winnt/xm-winnt.h (OBJECT_SUFFIX): Define. + * ginclude/stdarg.h, ginclude/varargs.h: Clean up code that + defines *DEFINED* symbols. - * gcc.c (choose_temp_base): Try multiple variables. Don't - assume that the variable points to a valid directory. + * configure (a29k-*-sym1*): Same as a29k-*-bsd*. + * a29k.h (ASM_OUTPUT_SECTION_NAME): New macro. - * gcc.c (pexecute): Handle the MS-DOS return codes correctly. - Add .exe to file name when appropriate. +Wed Apr 12 14:36:03 1995 Jim Wilson - * configure.bat: Make gcc use its own obstack.o. + * dbxout.c (dbxout_type_fields): Correct arguments to CHARS macro + in flag_minimal_debug case. + (dbxout_symbol_name): Use DECL_ASSEMBLER_NAME unconditionally. + * sdbout.c (sdbout_record_type_name): Correct indentation. + (sdbout_symbol): Use DECL_ASSEMBLER_NAME unconditionally. + (sdbout_one_type): Likewise. - * objc/makefile.dos: New file for building with djgpp. +Tue Apr 11 13:24:13 1995 Per Bothner -Thu Jul 1 18:15:17 1993 Paul Eggert (eggert@twinsun.com) + * fix-header.c (main): Fix loop over required_functions_list. + (fatal): Also print inc_filename. - * fixincludes, fixinc.svr4: Don't create absolute symbolic links; - make them relative instead. - * fixincludes: Remove special case for IRIX 4.0.1 that was - superseded by a more general fix to fixincludes. + * cpplib.c (cpp_push_buffer): Added missing initializatuon of buf. + (cpp_file_buffer): Compare against CPP_NULL_BUFFER, not NULL. + (finclude): No longer call cpp_push_buffer - let callers do it. + (do_include): Add call to cpp_push_buffer. + (push_parse_file): Call cpp_push_buffer early, so initial + defines can use file and line from a valid cpp_buffer. + (nreverse_pending): New function. + (push_parse_file): Use nreverse_pending. + (push_parse_file): For -include files, just push them in reverse + order - we don't need to scan them now. + (cpp_error_from_errno, cpp_perror_with_name): Don't emit extra '\n'. - * fixinc.svr4: Remove everything after #endif, instead of trying - to turn it into comments, which loses inside comments. - * fixincludes: Likewise. Remove #endif workarounds for Ultrix 4.[12] - and SunOS 4.1, which are no longer needed because of this bug fix. +Tue Apr 11 13:36:44 1995 Jim Wilson -Thu Jul 1 14:56:56 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * configure (mips-dec-mach3): Add. - * pa.h (OVERRIDE_OPTIONS): Define. Give a warning if -fpic or - -fPIC was specified on the command line. + * sh.c (shiftby_operand): Delete. + * sh.h (TARGET_SWITCHES): -m3 and -m3l also set SH2_BIT. + (OVERRIDE_OPTIONS): Don't add CPU_SH2 to CPU_SH3 when TARGET_SH3. + * sh.md (ashlsi3): Use nonmemory_operand as a predicate instead of + shiftby_operand. Don't use shiftby_operand in the output statement. + (lshrsi3): Likewise. - * configure (hppa1.0-hp-hpux8.02): New target. - (hppa1.1-hp-hpux8.02): Accept "--gas" in this configuration. - * pa-oldas.h: New target for 1.0 machines running HPUX 8.02. - * pa.c (output_arg_descriptor): Reverse polarity of test for - HP_FP_ARG_DESCRIPTOR_REVERSED. - * pa.h (ASM_DOUBLE_ARG_DESCRIPTORS): Likewise. - * pa-hpux7.h (HP_FP_ARG_DESCRIPTOR_REVERSED): Define. - * pa1-oldas.h (HP_FP_ARG_DESCRIPTOR_REVERSED): Define. - (TARGET_DEFAULT): Clear useless bits in TARGET_DEFAULT. - * pa-utahmach.h (HP_FP_ARG_DESCRIPTOR_REVERSED): Do not define here. - * pa1-utahmach.h (HP_FP_ARG_DESCRIPTOR_REVERSED): Likewise. - * pa1-ghpux.h (HP_FP_ARG_DESCRIPTOR_REVERSED): Likewise. - * pa1-hpux.h (HP_FP_ARG_DESCRIPTOR_REVERSED): Likewise. + * c-decl.c (poplevel): Do output inline function if + DECL_ABSTRACT_ORIGIN points to itself. -Thu Jul 1 09:48:23 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * varasm.c (output_constant): Cast assemble_string argument to char *. - * fold-const.c (fold, case GE_EXPR, LT_EXPR): Don't assume - result of comparison is integer_type_node. +Mon Apr 10 14:29:28 1995 Torbjorn Granlund -Thu Jul 1 00:23:16 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * recog.c (constrain_operands, case 'E'): Make this work like + constraint character `F' when REAL_ARITHMETIC is defined. + * regclass.c (record_reg_classes, case 'E'): Likewise. + * reload.c (find_reloads, case 'E'): Likewise. - * config/i386/mach.h (SIZE_TYPE): Definition deleted. +Mon Apr 10 14:30:31 1995 Michael Meissner -Wed Jun 30 16:16:20 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rs6000/aix3newas.h, rs6000/aix41.h: Eliminate March 11th changes + to undefine ASM_OUTPUT_EXTERNAL{,_LIBCALL}, since this causes the + compiler not to bootstrap. - * config/m68k/sun3.h (SIZE_TYPE): Definition deleted. +Mon Apr 10 07:17:39 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Wed Jun 30 16:55:25 1993 John F Carr (jfc@Athena.mit.edu) + * cppalloc.c: #include config.h. + * cppexp.c: Add declarations of xmalloc and xrealloc. + (cpp_parse_expr): Cast args to bcopy to char *. + * cpphash.c: Add declaration of xmalloc. + * cpplib.c (init_parse_options, cpp_reader): Cast args to bcopy, + bcmp, and bzero to char *. + (add_import, push_parse_file, init_parse_file): Likewise. - * mips.c (gen_int_relational): For test with constant result, - copy const0_rtx or const_true_rtx to result register instead - of allocating a new pseudo-register. + * c-common.c (enum attrs): New attribute, A_NOCOMMON. + (init_attribute): Initialize it. + (decl_attributes): Implement it. + * varasm.c (make_decl_rtl): Allow section attribute if -fno-common + or variable is not to be placed in common for some other reason. -Wed Jun 30 15:19:42 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * combine.c (simplify_set): Don't move a SUBREG to dest if it + is changing the size of a hard reg in CLASS_CANNOT_CHANGE_SIZE. - * config.sub: Recognize `gnu' as a valid operating system. Sheesh. + * reload.c (find_equiv_reg): If goal is a pseudo that got memory, + a store into memory makes it invalid. + * reload1.c (reload_as_needed): Call forget_old_reloads_1 on + pattern before reg elimination. -Wed Jun 30 13:43:45 1993 Jeffrey A. Law (law@snake.cs.utah.edu) +Mon Apr 10 00:26:14 1995 Jeffrey A. Law - * pa.c (output_function_prologue): Emit SAVE_SP flag if a frame - pointer is needed. + * pa.c (pa_reorg): Bump label use count for each entry in an + exploded ADDR_VEC. -Wed Jun 30 00:52:25 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sun Apr 9 09:22:51 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * collect2.c (main): Don't look for `gld' or `TARGET-gld'. + * i386.md (adddi3, subdi3): Need scratch reg whenever operand 0 in + mem and operands 1 not '0'. + (subdi3): Don't treat two non-equal MEMs as non-aliasing. - * fixincludes (stdtypes.h): Verify that size_t etc. follow whitespace. +Sat Apr 8 22:53:38 1995 Jeffrey A. Law - * expr.c (expand_expr, case PLUS_EXPR): In the special case - to return sym+integer as an expression, limit it to when - the non-CONST_INT arg is at least a constant. - (expand_increment): Do preinc with single insn if there's such an insn. + * pa.c (pa_reorg): Fix typo. - * stmt.c (expand_end_case): Pass 1 as UNSIGNEDP to emit_cmp_insn - when handling wide values. - Save original minval in orig_minval and use for making the table. +Sat Apr 8 19:36:36 1995 Michael Meissner -Tue Jun 29 22:28:06 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * rs6000/rs6000.h (SELECT_SECTION): TREE_CODE_CLASS must be called + with a tree code, not a tree value. - * pa.c (singlemove_string): Use zdepi and ldil to load constants - into registers when appropriate. +Sat Apr 8 12:41:01 1995 Mike Stump -Tue Jun 29 11:26:35 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cpphash.c: Don't use const on compilers that don't support it. - * config.sub: Recognize -sysv* after -sysvr4. +Sat Apr 8 16:32:22 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * config/vax/vax.h (GO_IF_NONINDEXED_ADDRESS): Declare reg_equiv_mem. + * expr.c (expand_increment): Handle case where INCREMENTED + has a non-trivial conversion. -Mon Jun 28 20:12:04 1993 Steve Chamberlain (sac@apple-gunkies.gnu.ai.mit.edu) +Fri Apr 7 19:33:21 1995 Phil Nelson (phil@cs.wwu.edu) - * config/sh/*: Major rework. + * ns32k.h (TRAMPOLINE_TEMPLATE, TRANSFER_FROM_TRAMPOLINE): + Fix assembler syntax errors. -Mon Jun 28 02:46:47 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Apr 7 19:27:23 1995 Pat Rankin (rankin@eql.caltech.edu) - * fixincludes (file): When changing VA_LIST to DUMMY_VA_LIST, - preserve _NEED___VA_LIST. + * cccp.c (VMS_fstat, VMS_stat): New functions. - * config/ns32k/ns32k.c (output_move_double): - Handle reg[n,n+1] = mem[reg[n] + reg[n+1]]. - * config/ns32k/ns32k.md (movdf, movdi): Delete `&' from constraint. +Fri Apr 7 19:25:21 1995 Paul Eggert - * config/sparc/sparc.c (output_move_double): Use new local var - highest_first to make sure addreg1 gets handled in the overlap case. - In 2-reg-overlap case, really use proper reg in new address. + * cccp.c (collect_expansion): If traditional, set stringify + member to SHARP_TOKEN regardless of the value of + stringify_sharp_token_type. - * config/i860/i860.c (output_move_double): - Handle reg[n,n+1] = mem[reg[n] + reg[n+1]]. Use new local var - highest_first to make sure addreg1 gets handled in the overlap case. - * config/i860/i860.md (movdf, movdi): Delete `&' from load constraint. +Fri Apr 7 07:48:35 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * config/sparc/sol2.h (CPP_SPEC): For -compat-bsd, put the ucbinclude - dirs before, not after. + * cse.c (simplify_unary_operation): #ifdef POINTERS_EXTEND_UNSIGNED, + handle sign- or zero-extending addresses. - * expr.c (store_field): Store unaligned field with bit field methods. + * optabs.c (init{,_integral,_floating,_complex}_libfuncs): + Change SUFFIX to "char" to avoid confusion with prototype. - * config/vax/vax.h (GO_IF_NONINDEXED_ADDRESS): If reload_in_progress, - check a REG's reg_equiv_mem the way we would check a MEM. + * explow.c (convert_memory_address): No longer static. + New arg, TO_MODE. + Do something special for SYMBOL_REF, LABEL_REF, and CONST. + (memory_address): Add extra arg to call to convert_memory_address. + * rtl.h (convert_memory_address): Add extra arg. + * expr.c (expand_expr, case ADDR_EXPR): Always call + convert_memory_address when converting; add extra arg. + * stmt.c (expand_computed_goto): Convert from ptr_mode to Pmode. - * reload.c (find_reloads_address): Be selective about what inner - addresses to allow in an indirect mem ref. + * gcc.c (OBJECT_SUFFIX): Default now ".o", not "o". + (all specs): Remove "." before %O; use %O in a few missing cases. + * i386/os2.h (OBJECT_SUFFIX): Delete from here. + * i386/xm-os2.h (OBJECT_SUFFIX): Move to here; now has period. -Sun Jun 27 16:40:59 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Makefile.in (STAGESTUFF): Use $(exeext) for executables. - * emit-rtl.c (copy_rtx_if_shared): Don't try to copy a 0-length vector. +Fri Apr 7 03:32:29 1995 Richard Stallman - * config/m68k/x-apollo68 (TAROUTOPTS): New definition. + * config.sub: Accept -lites* as op sys. - * config.sub: Canonicalize -sco4 and -sco3.2.4 to -sco3.2v4. +Thu Apr 6 23:08:50 1995 Per Bothner - * gcc.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Check for -iwithprefixbefore. - (option_map): Add --include-with-prefix-before and - --include-with-prefix-after. + * cpplib.c (bcopy, bzero, bcmp): Remove #undefs. + * cppalloc.c (xcalloc): Re-implement using calloc, + rather than malloc+bzero. + * cpplib.c (SELF_DIR_DUMMY): New macro. + (do_include): Don't pass searchptr to finclude if it is dsp, + since that is on the stack, and would cause a dangling pointer. + If handling #include_next, recognize SELF_DIR_DUMMY. -Sun Jun 27 16:04:52 1993 Holger Teutsch (holger@hotbso.rhein-main.de) +Fri Apr 7 00:54:24 1995 Jeffrey A. Law - * va-clipper.h: Use and define Macro __GNUC_VA_LIST. Define struct - __gnuc_va_list. - -Sun Jun 27 08:32:19 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * pa.h (MACHINE_DEPENDENT_REORG): Define. + * pa.md (switch_jump): New pattern for jumps which implement + a switch table. + * pa.c (pa_reorg): New function to explode jump tables. + (pa_adjust_insn_length): Account for jumps in switch tables with + unfilled delay slots. - * machmode.h (INTEGRAL_MODE_P, FLOAT_MODE_P): New macros. - * cse.c (simplify_*_operation, fold_rtx, record_jump_cond, cse_insn): - Use them. - * combine.c (subst, apply_distributive_law): Likewise. - (reversible_comparison_p): Likewise. - Can reverse if MODE_COMPLEX_INT or MODE_PARTIAL_INT. - - * function.c (fixup_stack_1): Handle - current_function_internal_arg_pointer. - - * stor-layout.c: Add prototypes for layout_record and layout_union. - (smallest_mode_for_size): New function. - (variable_size): Allow variable sizes if global_bindings_p returns a - negative value. - (mode_for_size): Fix incorrect comment. - (layout_decl): If DECL has a size already, don't copy from type. - (layout_type, case INTEGER_TYPE, ENUMERAL_TYPE): Use smallest - integer mode that fits, whether or not it fits exactly. - - * emit-rtl.c (restore_emit_status): Clear LAST_LABEL_NUM. +Thu Apr 6 14:31:10 1995 Jason Merrill - * calls.c (expand_call): If function hasn't been used before, - call assemble_external. + * c-typeck.c (build_binary_op): Don't call common_type for + uncommon pointer types. - * expr.c (store_constructor): Treat QUAL_UNION_TYPE just - like UNION_TYPE. - (safe_from_p, case ADDR_EXPR): EXP is safe from X it is is static or - if the object whose address is being taken is safe from X. - (expand_expr): Fix misplaced comment from last change. - (expand_expr, case *_DECL): If not already used, assemble external. - (expand_expr, case EXIT_EXPR): Simplify. - (expand_expr, TRUTH_{AND,OR}IF_EXPR): Properly handle IGNORE case. +Wed Apr 5 13:53:17 1995 Per Bothner - * tree.c (array_type_nelts): Tighten up code and make more general. - (build_function_type): Allow function to return array. - (decl_function_context): Treat QUAL_UNION_TYPE like UNION_TYPE. + Re-write fixproto/fix-header/etc to use cpplib: + * fix-header.c: Comment out support for adding missing extern "C" + using #ifdef ADD_MISSING_EXTERN_C instead of #if 0. + * fixproto: Removed case of required functions. Instead use ... + * fix-header.c (std_include_table): ... new required-functions table. + (cpp_file_line_for_message, cpp_print_containing_files, cpp_message): + New stub functions, to intercept cpplib error message. + * fixproto: Don't call $CPP, since fix-header now incorporates cpplib. + * gen-protos.c (fatal, hashf): New functions. + (main): Use hashf, instead of hash. + * scan-decls.c (scan_decls, skip_to_closing_brace): Re-write to + take a cpp_reader* as argument, not a FILE*. + * scan.h (hash): Make parameter const. + * scan.c (hash): Removed. + * scan.c (memory_full, xmalloc, xrealloc): Removed. + Use functions from cppalloc.c instead. + * Makefile.in (gen-prtos, fix-header, stmp-fixproto): Update. - * fold-const.c (fold, case TRUTH_XOR_EXPR): End with `return', - not `break'. +Wed Apr 5 13:24:14 1995 Per Bothner - * dwarfout.c (output_compile_unit_die): Add support for Ada. + * cpplib.c (cpp_get_token): If traditional, return after comment, + instead of reading more, so end-of-line can be peeked at. + * cpperror.c (cpp_file_line_for_message, cpp_message): New + functions, that do the actual printing of error messages. + (cpp_print_file_and_line, cpp_error, cpp_warning, cpp_pedwarn, + cpp_error_with_line, cpp_warning_with_line, cpp_pedwarn_with_line, + cpp_pedwarn_with_file_and_line, cpp_error_from_errno, my_strerror, + cpp_perror_with_name): Re-write to use cpp_file_line_for_message + and cpp_message, and move to cpplib.c. - * c-iterate.c (collect_iterators, case SAVE_EXPR): Simplify code - added in previous change. +Tue Apr 4 23:35:49 1995 Roland McGrath - * expr.c: Fix typo: was ARGS_GROW_DOWNARD. + * config/gnu.h (GNU_CPP_PREDEFINES): Remove -D__HURD__. - * combine.c (subst, case IF_THEN_ELSE): Install correct version of - last change. +Tue Apr 4 17:15:54 1995 Jeffrey A. Law -Sat Jun 26 15:38:33 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * pa.h (DO_GLOBAL_DTORS_BODY): Fix pointer -> integer assignment + problem. - * cccp.c (main): For -iwithprefix, if no include_prefix, - make a default from GCC_INCLUDE_DIR. - Support -iwithprefixbefore. + * reorg.c (fill_simple_delay_slots): Don't use a JUMP_INSN + a the target of another JUMP_INSN to fill a delay slot. - * reload.c (find_reloads): When merging reloads again after they have - been changed, do check reload_reg_class and reload_nocombine. +Mon Apr 3 19:03:48 1995 Torbjorn Granlund - * config/sparc/sparc.md (movdf recognizer): Remove & from - constraint for loading mem to cpu reg. + * cse.c (simplify_unary_operation): Sign-extend constants when + they have the most significant bit set for the target. - * expr.c (expand_assignment): If FROM is scalar function call, - expand_expr FROM before TO. + * m68k.md (umulsi3_highpart): Test for CONST_INT and CONST_DOUBLE, + not CONSTANT_P. + (smulsi3_highpart): Likewise. + * m68k.c (const_uint32_operand): New function. + (const_sint32_operand): New function. + * m68k.md (const_umulsi3_highpart): Use const_uint32_operand instead + of immediate_operand for op3. Delete mode. + (const_smulsi3_highpart): Analogous change. - * gcc.c (translate_options): `*' inhibits warning of extraneous arg. +Mon Apr 3 19:03:48 1995 Jim Wilson -Sat Jun 26 11:07:23 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * cse.c (simplify_binary_operation): Sign-extend constants when + they have the most significant bit set for the target. - * reload1.c (reload): Use reg_equiv_address for invalid addresses - of the form (mem (reg)). + * combine.c (force_to_mode, case PLUS): Sign extend masks that are + negative in OP_MODE. + (simplify_and_const_int): Sign-extend constants when they have the + most significant bit set for the target. + (merge_outer_ops): Likewise. + (simplify_shift_const): Likewise. - * config/*/xm-*.h: Remove line that #define's alloca - to __builtin_alloca. - - * fold-const.c (fold, case PLUS_EXPR, MINUS_EXPR): Apply - distributive law to multiplication. - (fold, case *_DIV_EXPR): Replace code to handle (A*C1)/C2 with - more general code to handle addition as well. - (fold, case *_MOD_EXPR): Add simplified version of above code. - - * integrate.c (function_cannot_inline_p): Can now inline nested - functions. - (expand_inline_function): Set up static chain if needed. - (output_inline_function): Don't switch to temporary allocation - here. - * toplev.c (compile_file): Switch to temporary allocation when - writing out inline function. - * cp-decl2.c (write_vtable_entries, finish_file): Likewise. - * c-decl.c, cp-decl.c (poplevel): Start new function context - when writing inline function. +Mon Apr 3 18:23:48 1995 Jason Merrill - * c-decl.c (init_decl_processing): When making SIZETYPE, - start with name in SIZE_TYPE. If -traditional, use a - signed version of that type, if it is unsigned. + * toplev.c (lang_options): Add -f{no-,}repo. - * fold-const.c: Add prototypes for static functions. - ({l,r}{shift,rotate}_double): COUNT arg is HOST_WIDE_INT, PREC is int. - (all_ones_mask): Remove __inline__. - (range_test): Make static; not used elsewhere. - * tree.h: Add more decls for functions in fold-const.c. +Mon Apr 3 18:13:15 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * calls.c (expand_calls): Fix typo: ALLOCATE_OUTGOING_ARGS - should be ACCUMULATE_OUTGOING_ARGS. + * combine.c (nonzero_bits, case REG): Check POINTERS_EXTEND_UNSIGNED. + (num_sign_bit_copies, case REG): Likewise. + * explow.c (convert_memory_address): New function. + (memory_address): Call if it needed. + (promote_mode, case POINTER_TYPE): Use Pmode and pointer extension. + (allocate_dynamic_stack_space): Convert size from ptr_mode. + * expr.c (clear_storage, expand_assignment, store_{expr,constructor}): + Use ptr_mode instead of Pmode in some places. + (expand_expr, expand_builtin): Likewise. + (push_block, store_expr): Convert size to Pmode. + (expand_expr, case ADDR_EXPR): Convert from Pmode to ptr_mode. - * tree.def (TRUTH_{AND,OR,XOR}_EXPR): Make code class be 'e' like - the rest of the truth operations. - * fold-const.c (fold_truthop): Treat a BIT_AND_EXPR with a constant of - one as if it were surrounded with an NE_EXPR. - (fold): Don't move operation into conditional if it - is BIT_{AND,OR}_EXPR with the constant 1; change it to TRUTH_*_EXPR - instead. - When moving things inside conditions, move comparisons as well as - binary operations. - Don't make a SAVE_EXPR when moving things inside conditionals unless - the value would really have been used twice. +Mon Apr 3 18:00:52 1995 Jim Wilson - * expr.c (do_store_flag): When computing via a shift, allow for - an inner RSHIFT_EXPR in BITNUM. - Sometimes do the operations as signed. + * explow.c (allocate_dynamic_stack_space): Correct typo in last + change. - * combine.c (subst): apply_distributive_law can also handle AND. - (subst, case IF_THEN_ELSE): Make a shift when appropriate. - (simplify_shift_const): If we have an outer operation and made - a shift, see if it can be simplified. + * sh.c (gen_shifty_op, case ASHIFTRT): Return 0 if shift count is not + a constant. -Sat Jun 26 03:25:35 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Apr 3 12:17:10 1995 Michael Meissner (meissner@cygnus.com) - * configure (i370-*-mvs*): New configuration. - * config/i370/i370.md, mvs370.c, tm-mvs.h, xm-mvs.h + * expmed.c (extract_bit_field): When converting a SUBREG into a + REG, if the system is big endian, adjust the bit offset + appropriately. - * final.c, varasm.c: Include ctype.h. - * c-lex.c: Include ctype.h. - (isalnum, isdigit): Macros deleted. +Mon Apr 3 00:08:45 1995 Roland McGrath - * config/sparc/sparc.c (output_move_double): Handle - reg[n,n+1] = mem[reg[n] + reg[n+1]]. - * config/sparc/sparc.md (movdi): Delete the earlyclobber in load case. + * config/i386/linux.h: Include "config/linux.h" instead of + "linux.h", to avoid recursion. -Sat Jun 26 03:15:38 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) +Sun Apr 2 23:50:27 1995 Roland McGrath - * gcc.c (option_map): Add missing comma. + * config/i386/gnuelf.h: Include i386/linux.h instead of + i386/linuxelf.h. -Sat Jun 26 02:17:28 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sun Apr 2 17:35:10 1995 Jim Wilson - * config/we32k/we32k.c: Clean up formatting. + * cse.c (simplify_relational_operation): Don't simplify A-B for + compare of A and B when the compare is unsigned. - * calls.c (calls_function_1): Add declaration. +Sun Apr 2 08:23:38 1995 Paul Eggert - * config/m68k/m68k.md (fix_truncdfsi2, fix_truncdfhi2, fix_truncdfqi2): - Require TARGET_68881 as well as TARGET_68040. + * fixincludes (stdio.h): BSDI 2.0 changed the spelling of _VA_LIST_ + to _BSD_VA_LIST_. -Fri Jun 25 20:13:51 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sun Apr 2 07:57:28 1995 Richard Kenner - * calls.c (calls_function): Don't scan a single save_expr twice. - (calls_function_1): New subroutine for the actual recursion. + * i386/xm-bsd386.h: New file. + * configure (i[345]86-*-bsd*): Add xm_file. - * c-parse.in (all_iter_stmt_simple): Add missing `else'. + * gcc.c (default_compilers): Pass -W and -w to gnat1. -Fri Jun 25 15:53:59 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * winnt/winnt.h (STDC_VALUE): Add #undef. + * i386/winnt.h (LIB_SPEC): Likewise. - Cygnus<->FSF merge. - Fri Jun 25 10:00:34 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Sun Apr 2 07:55:25 1995 Douglas Rupp (drupp@cs.washington.edu) - * cp-decl.c: Delete some #if 0'd code that has been there forever. + * i386/winnt.h (RETURN_POPS_ARGS, ENCODE_SECTION_INFO): Call + chain_member_purpose, not chain_member_value. + (ASM_FILE_START, LIB_SPEC): Move to here. + * winnt/winnt.h (ASM_FILE_START, LIB_SPEC): Delete from here. + * tree.c (chain_member_purpose): New function. - * cp-type2.c (my_friendly_abort): Update count of aborts (added by - emit_base_init rewrite). +Sat Apr 1 12:19:14 1995 Jason Merrill - Make default copy constructors work properly. - * cp-lex.c (cons_up_default_function): Mark the generated ctor with - RID_INLINE, so it won't get emitted unless it's needed. - * cp-decl.c (grok_ctor_properties): If CTYPE has virtual base - classes, make sure we don't pay attention to the int that we - magically added to the ctor decl. - * cp-ptree.c (print_lang_type): Note a const copy ctor vs a normal - copy ctor. Say if TYPE_HAS_DEFAULT_CONSTRUCTOR. - * cp-tree.h (cons_up_default_function): Modify prototype. - * cp-class.c (finish_struct): Also check TYPE_HAS_CONSTRUCTOR, so - we don't generate a default ctor if they already declared one - (taking whatever arg types). + * c-typeck.c (build_binary_op): New variable build_type controls + type given to expression when created. Set to integer_type_node for + comparison ops instead of result_type so result_type still holds type + in which comparison is done. When checking for comparison between + signed and unsigned, use result_type rather than (possibly shortened) + type of op0. Don't warn about equality comparison of signed operand + to unsigned constant that fits in signed type. - Wed Feb 3 17:41:02 1993 Chip Salzenberg (chip@tct.com) +Sat Apr 1 09:47:02 1995 Douglas Rupp (drupp@cs.washington.edu) - * cp-class.c (needs_const_ctor): Eliminate as meaningless. - (finish_struct) Always generate default functions. - Generate exactly one copy constructor: either "X(X&)" or - "X(const X&)", but not both. - * cp-lex.c (cons_up_default_function): Take list of fields - as a new parameter. Use default_copy_constructor_body. - Set TREE_PUBLIC and DECL_EXTERNAL correctly for usage with - #pragma interface. - (default_copy_constructor_body): New function (uses obstacks). + * i386/winnt.h (CPP_PREDEFINES): Add definitions for __stdcall + and __cdecl. + * winnt/winnt.h (LIB_SPEC): Add OLDNAMES.LIB. + * winnt/xm-winnt.h: Remove unneeded #define's for non-ANSI functions. + * fixinc.winnt: Remove unneeded fixes relating to __stdcall. - Thu Jun 24 12:41:16 1993 Mike Stump (mrs@rtl.cygnus.com) + * objc/Makefile (SHELL): New definition. - * cp-call.c (build_scoped_method_call, build_method_call): Remove - maybe_adjust argument to build_delete as it is unneeded and remove all - support for the magic cookie key in the area just before the data - allocated by new []. - * cp-decl.c (finish_function, maybe_build_cleanup, - push_exception_cleanup): Likewise. - * cp-decl2.c (delete_sanity, finish_file): Likewise. - * cp-init.c (init_init_processing, build_new, - maybe_adjust_addr_for_delete, build_delete, build_vbase_delete, - build_vec_delete): Likewise. - * cp-tree.c (build_cplus_new): Likewise. - * cp-tree.h (build_delete): Likewise. +Sat Apr 1 08:25:26 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Wed Jun 23 17:18:41 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * cse.c (cse_insn): When emitting a BARRIER, don't put it after + a deleted insn. - * cp-decl.c (init_decl_processing): Also catch SIGBUS. - (sigsegv): Rename to signal_catch; also reset SIGBUS. + * reload.c (push_reload): Initialize secondary_{in,out}_icode. - * cp-typeck.c (pointer_diff): Error if op1 is a pointer to an - incomplete type. + * gcc.c (print_multilib_info): Don't use LAST_PATH if not set. - Wed Jun 23 16:17:43 1993 Mike Stump (mrs@rtl.cygnus.com) +Sat Apr 1 08:15:59 1995 Pat Rankin (rankin@eql.caltech.edu) - * cp-search.c (dfs_get_vbase_types, get_vbase_types): Conform to ARM - 12.6.2 with respect to virtual bases. Virtual bases are now - initialized in dfs order. + * vax.md (extv, extzv): Don't use immediate value for operand 1. - Wed Jun 23 16:04:17 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Sat Apr 1 07:48:29 1995 Yury Shevchuk (sizif@botik.yaroslavl.su) - * cp-tree.c (layout_basetypes): Disable the warning relating to a - non-virtual dtor. + * stmt.c (expand_asm_operands): Properly ignore invalid reg in clobber. - Tue Jun 22 20:03:59 1993 Mike Stump (mrs@cygnus.com) +Sat Apr 1 07:02:24 1995 Paul Eggert - * cp-lex.c (reinit_parse_for_block): Detect EOFs inside templates. + * cccp.c: General code cleanup. + Add prototypes for static functions. + Remove unnecessary casts to (char *); add casts to (U_CHAR *). + Add parentheses suggested by `gcc -Wparentheses'. + Rename local variables as suggested by `gcc -Wshadow'. + , , , : New includes. + , : Include only if defined(RLIMIT_STACK). + : Include, unless already does. + (HAVE_FCNTL_H, HAVE_STDLIB_H, HAVE_SYS_TIME_H): New symbols. + (HAVE_UNISTD_H, STDC_HEADERS, TIME_WITH_SYS_TIME): Likewise. + (__attribute__, PROTO, VA_START, PRINTF_ALIST, PRINTF_DCL): New macros. + (PRINTF_PROTO{,_1,_2,_3}, DO_PROTO): Likewise. + (bcopy, bzero, bcmp): If #defined by configuration file, use that. + If STDC_HEADERS is defined, use standard C functions. + If BSTRING is defined, or USG and VMS are not defined, use + the C library. Otherwise, use my_bcopy, my_bzero, my_bcmp. + (localtime): Remove no-longer-necessary explicit declaration. + (getenv, index, rindex): Don't declare explicitly if the + appropriate system header should declare it. + (fdopen): Remove no-longer-used declaration. + (vprintf): Define a subsitute macro if !defined(HAVE_VPRINTF). + (main): Replace `fdopen (dup (fileno (stdout)), "w"))' + with `stdout'. + (get_lintcmd, rescan, create_definition): Use bcmp instead of strncmp + when both operands are known to be free of null bytes. + (check_macro_name, compare_defs, collect_expansion): Likewise. + (do_assert, compare_token_lists, assertion_lookup, do_line): Likewise. + (skip_if_group, lookup): Likewise. + (rescan): Remove unused label `startagain'. + Abort instead of printing nonsense if the stack is corrupted + when there was an unterminated successful conditional. + (pcfinclude): Include explicit double-cast through GENERICPTR + to identify particularly egregious type puns. + (create_definition, do_define, check_macro_name): Use %.*s + printf format to avoid painful copying-and-casting. + (do_once): Return void, not (unused) int. + (do_ident, do_pragma, do_sccs): Accept extra arguments so that + all directive-handler's types match. + (do_sccs): Define only if SCCS_DIRECTIVE is defined. + (skip_if_group, dump_single_macro): Add `default: break;' to + keep -Wswitch happy. + (error, warning, error_with_line, vwarning_with_line, pedwarn): Use + stdarg/vararg/vfprintf instead of passing bogus char * args around. + (pedwarn_with_line, pedwarn_with_file_and_line, fatal): Likewise. + (verror, vwarning, verror_with_line, vwarning_with_line): New fcns. + (dump_single_macro): Abort if ap points to garbage. + (make_definition, make_undef, make_assertion): Parameter now char *. + (xmalloc, xrealloc, xcalloc, savestring, index0): Make sizes size_t + instead of unsigned; make pointer parameters GENERICPTR, not char *. + (xcalloc): Use bzero to clear memory instead of using own loop. - Tue Jun 22 16:10:46 1993 Mike Stump (mrs@cygnus.com) +Fri Mar 31 08:33:07 1995 Ken Raeburn (raeburn@wombat.gnu.ai.mit.edu) - * cp-class.c (finish_struct): Set TYPE_NONCOPIED_PARTS now that the - right vtable can be found, so that the vtable pointers are set - correctly when implementing default copy constructors. - * cp-typeck.c (build_modify_expr): Use TYPE_NONCOPIED_PARTS in the - same way the backend uses it when implementing default copy - constructors. + * longlong.h (umul_ppmm mc68000): Use %# instead of #. - Tue Jun 22 10:50:56 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Fri Mar 31 06:37:54 1995 Michael Meissner (meissner@cygnus.com) - * cp-decl.c (grokdeclarator): Don't try to mangle the name of a fn - that has C linkage. + * stor-layout.c (layout_decl): Implment -fpack-struct. + (layout_record): Ditto. - * cp-init.c (xref_friends): Deleted fn, since it's the same as - xref_friend. - (xref_friend): Make it static. - (do_friend): Change call to xref_friend. - * cp-tree.h (xref_friend, xref_friends): Delete extern decls. + * flags.h (flag_pack_struct): New flag variable. - * cp-tree.h (lang_type): Delete `dynamic' bit. - * gplus.gperf (dynamic): Delete reserved word. - * cp-hash.h: Generated a new version. - * cp-lex.c (init_lex): Delete doing an unset of `dynamic'. - * cp-parse.y (DYNAMIC): Delete token and setting it to %right. - (new, aggr): Delete DYNAMIC rules. - * cp-spew.c (init_spew, struct toks_follow_types): Delete DYNAMIC. + * toplev.c (flag_pack_struct): New flag variable. + (f_options): Add -fpack-struct support. - * cp-typeck.c (convert_for_assignment): There's no standard - conversion from a pointer to member to a `void *'. + * Makefile.in (stor-layout.o): Add flags.h dependency. - * cp-decl.c (init_decl_processing): Add builtins for - __builtin_apply_args, __builtin_apply, and __builtin_return. +Fri Mar 31 08:40:16 1995 Douglas Rupp (drupp@cs.washington.edu) - Mon Jun 21 12:05:28 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * configure (i[345]86-*-winnt3*): Add tmake_file. + * i386/x-winnt (winnt.o): Deleted. + * i386/t-winnt: New file. - * cp-decl2.c (grok_x_components): New function. Adjust the code that - handles ENUMERAL_TYPEs and UNION_TYPEs to make more sense. - * cp-parse.y (component_decl): Move a lot of code into that fn. - * cp-tree.h (grok_x_components): Add extern decl. +Fri Mar 31 07:26:37 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-parse.y (component_decl_list): Don't warn about a semicolon - after a component_decl_list. + * m68k/netbsd.h, m68k/hp3bsd44.h: Remove #include of machine/ansi.h. - * cp-search.c (lookup_field): Be careful to handle operators - properly when complaining about ambiguities &c. + * configure (a29k-*-bsd): Set tmake_file to t-libc-ok. - * cp-search.c (dfs_pushdecls): Make sure we have a context before - seeing if it derives from TYPE. + * stmt.c (expand_asm_operands): Properly handle output that can't + be directly written into. - Fri Jun 18 08:14:11 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * c-parse.in (structsp): Correct error in last change. + * c-common.c (init_attributes): A_FORMAT is only for decls. - * cp-decl2.c (finish_anon_union): Use simple_cst_equal to find the - member that can hold all the values, instead of just doing a compare - between the DECL_SIZEs. +Thu Mar 30 18:27:34 1995 Jason Merrill - Wed Jun 16 10:57:37 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * libgcc2.c: Remove explicit 0-initializations of static variables. - * cp-typeck.c (build_unary_op): Make sure it's the global fn `main' - before complaining about taking the address of it. +Thu Mar 30 18:22:39 1995 Fergus Henderson - * cp-decl.c (grokdeclarator): Also forbid `operator ()' as a - non-member fn. + * c-typeck.c (internal_build_compound_expr): Warn if LHS of comma + expression has no side effects, or computes value which is not used. + * stmt.c (make warn_if_unused_value): No longer static. + * tree.h (warn_if_unused_value): Add declaration. - * cp-decl.c (grok_reference_init): Don't allow an initializer list - as the initializer for a reference. +Thu Mar 30 18:15:11 1995 Jim Wilson - * cp-method.c (dump_init): Handle a NON_LVALUE_EXPR. + * combine.c (get_last_value): Revert back to use prev_nonnote_insn + instead of prev_real_insn. Modify test that ignores USE insns. - Sun Jun 13 12:55:22 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * rs6000.h (SELECT_SECTION): Apply constant DECL_INITIAL test + only to DECLs. - * cp-decl.c (grokvardecl): Don't complain about duplicate - definitions of `extern "C"' declarations (parallelize it with how - regular `extern' decls are handled). + * explow.c (allocate_dynamic_stack_space): Test STACK_BOUNDARY against + BIGGEST_ALIGNMENT at run time instead of at compile time. + Give MUST_ALIGN macro a value, and test this value in if statements. - * cp-decl.c (start_function): Avoid a null-reference on CTYPE. +Thu Mar 30 08:59:56 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-cvt.c (build_default_binary_type_conversion): Look deeper into - what ARG1 and ARG2 are if they're POINTER_TYPEs. + * c-parse.in: Now have 27 shift/reduce conflicts. + (attribute_list): Just make chain of all attributes. + (attrib): Consistently put name as PURPOSE, args, if any, as VALUE. + (structsp): Allow attributes on any struct or union. + * c-common.c (enum attrs): New enum class. + (attrtab, attrtab_idx): New variables. + (add_attribute, init_attributes): New functions. + (decl_attributes): Major rewrite. + * tree.c (valid_machine_attribute): Now receive name and args. - Thu Jun 10 12:09:17 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Thu Mar 30 07:20:14 1995 Paul Eggert - * cp-decl.c (grokdeclarator): Make the warning about opr-eq being a - member function be a pedwarn. + * protoize.c: Use the phrase `preprocessing directive' consistently. + * cccp.c (handle_directive, do_line, skip_if_group): Likewise. + (output_line_directive): Renamed from output_line_command. + (no_line_directives): Renamed from no_line_commands. - Thu Jun 10 00:30:08 1993 Mike Stump (mrs@cygnus.com) + * cccp.c (rescan): Don't recognize preprocessing directives + within macro args. Warn if one is found. - * cp-tree.h: (previous_class_type): Add external declaration. - * cp-class.c (prev_class_type): Rename to previous_class_type. - * cp-decl.c (struct saved_scope): Add previous_class_type slot. - * cp-decl.c (push_to_top_level, pop_from_top_level): Track - previous_class_type value. The only trick is that we have to call - popclass(-1) when we have a previous_class_type that we are about to - destroy, to keep things in sync. +Thu Mar 30 06:20:36 1995 H.J. Lu (hjl@nynexst.com) - Tue Jun 8 16:48:49 1993 Mike Stump (mrs@cygnus.com) + * configure (i[345]86-*-linux*): Set xmake_file=x-linux, + tm_file=i386/linux.h, and don't set extra_parts. + (i[345]86-*-linux*aout*): New configuration. + (i[345]86-*-linuxelf): Deleted. + * config/linux{,-aout}.h, config/x-linux, config/xm-linux.h: New files. + * config/i386/linux-aout.h: New file. + * config/i386/linux.h: Extensive modifications to use ELF format + as default. + (LIB_SPEC): Don't use libc_p.a for -p. don't use libg.a + unless for -ggdb. + (LINUX_DEFAULT_ELF): Defined. + * config/i386/linuxelf.h,config/i386/x-linux: Files deleted. + * config/i386/xm-linux.h: Just include xm-i386.h and xm-linux.h. - * cp-cvt.c (build_thunk, convert_fn_ptr): New routines to handle - thunks. - * cp-cvt.c (cp_convert_to_pointer): Use convert_fn_ptr when - converting non-static pointer to members. +Wed Mar 29 19:09:36 1995 Mike Stump - Tue Jun 8 16:41:59 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * libgcc2.c (__throw_type_match): Update to use new calling convention. - * cp-lex.c (reinit_parse_for_block): Make sure not to try to use - consume_string on an escaped double-quote. +Wed Mar 29 14:53:23 1995 Jim Wilson - Tue Jun 8 16:25:43 1993 Mike Stump (mrs@cygnus.com) + * gcc.c (process_command): Delete code modifying gcc_exec_prefix. + (main): Put it here after last use of gcc_exec_prefix. For cross + compiler, set startfile_prefixes if gcc_exec_prefix is set and + standard_startfile_prefix is a relative path. - * cp-call.c (build_method_call): Don't search hidden functions from - base classes, as this violates chapter 10. + * combine.c (make_compound_operation, AND case): Undo July 7, 1994 + change. - Mon Jun 7 18:46:01 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * mips/mips.md (call_internal1, call_value_internal1): Move %* from + start of assembler output to immediately before the jal. - * cp-init.c (emit_base_init): Rewrite, merging the two paths into - one for member initialization. Now members will be initialized in - order of declaration, not in the order of the mem-initializer list. - (perform_member_init, sort_member_init): New functions. + * mips/mips.c (function_prologue): Put SDB_DEBUGGING_INFO ifdef around + code for SDB_DEBUG support. + (mips_select_rtx_section, mips_select_section): Change rdata_section + to READONLY_DATA_SECTION and sdata_section to SMALL_DATA_SECTION. + * mips/mips.h (SMALL_DATA_SECTION): Define. + + * reorg.c (mark_referenced_resources): Make setjmp use all registers. + + * flow.c (mark_used_regs, case SUBREG): Only fall through to REG case + if operand is a REG. + + * i960/i960.h (TARGET_SWITCHES): Make -mold-align set + TARGET_FLAG_STRICT_ALIGN. + (STRICT_ALIGNMENT): Test TARGET_STRICT_ALIGN. + + * sh/sh.c (andcosts): Modify costs to match the hardware, and add + explanatory comments. + + * sparc/sol2.h (CPP_PREDEFINES): Add -D__SVR4. + +Wed Mar 29 14:30:30 1995 Michael Meissner + + * rs6000/rs6000.md (movsf): When moving to/from integer registers, + don't move floating point to memory if it is being simulated with + -msoft-float. + +Wed Mar 29 06:47:36 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * c-parse.in (initdcl): Only call decl_attributes once. + * c-common.c (decl_attributes): Clean up test for __mode__. + +Tue Mar 28 08:34:37 1995 John Hassey (hassey@dg-rtp.dg.com) + + * i386.md (adddi3): Don't treat two non-equal MEMs as non-aliasing. + +Tue Mar 28 08:20:49 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * a29k.h (CONSTANT_ADDRESS_P): Provide consistent definition. + +Tue Mar 28 07:26:41 1995 Paul Eggert + + * cccp.c (do_xifdef, do_endif): Remove unnecessary pointer comparisons. + +Mon Mar 27 20:45:15 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * calls.c (expand_call, store_one_arg): Don't set KEEP in calls + to assign_stack_temp. + * function.c (preserve_temp_slots): Clear ADDR_TAKEN on item + that we are preserving. + +Mon Mar 27 14:39:35 1995 Ian Lance Taylor + + * mips/mips.h (FIRST_PSEUDO_REGISTER): Increment. + (FIXED_REGISTERS, CALL_USED_REGISTERS): Add new register. + (MD_REG_LAST): Increment. + (ST_REG_FIRST, ST_REG_LAST): Increment. + (HILO_REGNUM): Define. + (enum reg_class): Add HILO_REG. + (REG_CLASS_NAMES): Add "HILO_REG". + (REG_CLASS_CONTENTS): Add HILO_REG initializer, and adjust ST_REGS + and ALL_REGS initializers. + (SECONDARY_RELOAD_CLASS): Remove. + (SECONDARY_INPUT_RELOAD_CLASS): Define. + (SECONDARY_OUTPUT_RELOAD_CLASS): Define. + (REGISTER_MOVE_COST): Treat HILO_REG as MD_REGS. + (REGISTER_NAMES): Add initialization line. + (DEBUG_REGISTER_NAMES): Add "accum". + * mips/mips.md: For each instruction which sets HI or LO, clobber + HILO_REGNUM with (clobber (match_scratch:MODE N "=a")). Change + each explicit reference to register 66 to register 67. + (mulsidi3): Change to define_expand. + (mulsidi3_internal): New name of old mulsidi3. + (mulsidi3_64bit): New insn. + (umulsidi3): Change to define_expand. + (umulsidi3_internal): New name of old umulsidi3. + (umulsidi3_64bit): New insn. + (madddi_64bit, umaddi_64bit): New insns. + (movdi_internal2): Add case for setting HILO_REG to zero. + (reload_indi, reload_outdi): New define_expands. + (movsi_internal1, movsi_internal2): Add cases for setting MD_REGS + to zero, and for setting a general reg to HILO_REG. + (reload_outsi): New define_expand. + * mips/mips.c (mips_reg_names): Add "accum". + (mips_sw_reg_names): Likewise. + (mips_regno_to_class): Map HILO_REGNUM to HILO_REG. + (mips_move_1word): Handle moving HILO_REGNUM to a general + register. Make sure that the normal MD_REG cases aren't used for + HILO_REGNUM. Handle moving zero to a MD_REG. + (mips_move_2words): Make sure that the normal MD_REG cases aren't + used for HILO_REGNUM. Handle moving zero to a MD_REG. + (override_options): Set mips_char_to_class for 'a' and 'b'. + (mips_secondary_reload_class): Add in_p argument. Handle + HILO_REGNUM. + +Mon Mar 27 07:16:05 1995 Warner Losh + + * gcc.c: Removed __NetBSD__ from conditional. + Declare strerror if HAVE_STRERROR is defined; otherwise + declare sys_errlist and sys_nerr. + (my_strerror): New function. + +Fri Mar 24 18:08:14 1995 Jason Merrill + + * i386/linux.h (LIB_SPEC): Don't try to link with libraries we + know only exist in archive form unless -static. + +Fri Mar 24 16:12:16 1995 Doug Evans + + * Makefile.in (multilib.h): Depend on Makefile, not config.status. + +Fri Mar 24 15:01:17 1995 Michael Meissner + + * rs6000/rs6000.h (TARGET_MULTIPLE_SET): New target_flags bit that + indicates -mmultiple or -mno-multiple was explicitly passed by the + user, and not set as part of the cpu defaults. + (TARGET_SWITCHES): Set TARGET_MULTIPLE_SET bit for both -mmultiple + and -mno-multiple. + + * rs6000/rs6000.c (rs6000_override_options): If -mmultiple or + -mno-multiple was explicitly used, don't override the setting with + the processor default. + +Wed Mar 22 21:42:13 1995 Doug Evans + + * i960/i960.c (i960_function_arg_advance): Ensure all regs marked + as used if stack is also used (for va_start). + (i960_setup_incoming_varargs): Rewrite to be similar to Intel's + version, but don't allocate reg block unless necessary. + * ginclude/va-i960.h (varargs va_start): Save g14 explicitly. + Account for arguments preceding va_alist. + +Wed Mar 22 13:24:55 1995 Torbjorn Granlund + + * pa.c (singlemove_string): Handle SFmode constants again. Simplify. + (zdepi_cint_p): Make some variables HOST_WIDE_INT. + (lhs_lshift_cint_operand): Likewise. + (output_and): Likewise. + (output_ior): Likewise. + +Wed Mar 22 12:40:09 1995 Jim Wilson + + * sh.md (udivsi3): Don't clobber register 6. + (udivsi3, divsi3, mulsi3_call): Use a pseudo-reg with regclass 'z' + for output rather than hard register 0. + (block_move_real): Don't clobber registers 4 and 5. + + * mips.c (mips_select_section): Apply constant DEC_INITIAL tests + only to VAR_DECLs. + +Wed Mar 22 03:53:17 1995 Richard Stallman + + * config.sub (rm400, rm600): New machine names. + (sinix5.*, sinix): New os aliases. + (mips-siemens): Default os to sysv4. - Mon Jun 7 18:01:31 1993 Mike Stump (mrs@cygnus.com) +Mon Mar 20 21:56:47 1995 Per Bothner - * cp-search.c (is_subobject_of_p, lookup_field, lookup_fnfields): - Because virtual bases don't necessarily share the same binfo, use - the binfo hierarchy of TYPE_BINFO of any virtual bases, when - performing hiding checks. Fixes problem introduced on Thu Mar 25 - 23:09:27 1993. The symptom is the compiler reports non ambiguous - members as being ambiguous. + Merged Paul Eggert's patch to cccp.c of Wed Mar 8 18:21:51 1995: + * cpplib.c (do_include): Fix type typo: pcfbuflimit is char *, not int. + + Merged Doug Evans' patch to cccp.c of Mon Feb 27 17:06:47 1995: + * cpplib.c (do_include): Check for redundant file before opening in + relative path case. Don't call fstat unnecessarily. - Sun Jun 6 11:45:44 1993 Michael Tiemann (tiemann@rtl.cygnus.com) + Merged J.T. Conklin's patch to cccp.c of Wed Feb 22 20:29:31 1995: + * cpperror.c: Removed __NetBSD__ from conditional. - * cp-call.c (EVIL,TRIVIAL): New macros. - (convert_harshness): Use these macros. + Merged Kenner's patch to cccp.c & cexp.y of Tue Sep 20 17:49:47 1994: + * cppexp.c (struct operation): Make value by HOST_WIDE_INT. + (cpp_parse_expr): Change return type to HOST_WIDE_INT. + * cpplib (eval_if_expr): Likewise. + (do_if, do_elif): Update appropriately. + * cpplib.h (cpp_parse_expr): Removed, to avoid defining HOST_WIDE_INT. - Sat Jun 5 19:06:13 1993 Michael Tiemann (tiemann@rtl.cygnus.com) + Merged Paul Eggert's patch to cccp.c of Mon Aug 8 19:42:09 1994: + * cpplib.c (create_definition): Warn about `#define a@', since a + diagnostic is now required (see ISO TC1's addition to subclause 6.8). + Also warn about `#define is-empty(x) (!x)'. - * cp-init.c (emit_base_init): Make clearing BINFO_BASEINIT_MARKED - symmetric with its setting. Fixes p2825. +Tue Mar 21 00:10:50 1995 Jeffrey A. Law - Thu Jun 3 16:24:30 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * x-pa (CC): Add "-Dbsd4_4". - * cp-parse.y (component_declarator, component_declarator0): - Allow attribute after nameless field. +Mon Mar 20 18:40:31 1995 Per Bothner - * cp-lex.c (real_yylex): Take care to expand token_buffer before - storing each character. + * toplev.c (print_error_function): New function hook. + (default_print_error_function): New function. Default value + of print_error_function. Code moved here from report_error_function. + (report_error_function): Use print_error_function hook. - * cp-lex.c (real_yylex): If an integer value overflows so the high - word is negative, it's of unsigned long long type. Integer constant - is unsigned for purposes of int_fits_type_p so that it compares huge - constants properly. Warn about integers so large that they are - unsigned. +Mon Mar 20 20:27:43 1995 Doug Evans - * cp-cvt.c (convert_from_reference): Do an or-equals on setting - TREE_SIDE_EFFECTS for NVAL. - * cp-tree.c (lvalue_p): For a SAVE_EXPR, check its first argument. + * cccp.c (do_xifdef): Handle c++ comments. + (do_endif): Likewise. - Thu Jun 3 11:34:35 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Mon Mar 20 15:31:45 1995 Jason Merrill - * cp-decl2.c (grok_alignof): New function. - * cp-parse.y (unary_expr, ALIGNOF unary_expr rule): Move the code - into the new function, to reduce the size of the parser. - * cp-tree.h (grok_alignof): Add prototype. + * configure (i386 configurations): Prepend i386/ to t-crt*. - * cp-decl.c (grokdeclarator): Allow function-call notation for - initialization of scalars as well as aggregates. +Mon Mar 20 07:58:04 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-decl.c (pushdecl): Don't pay attention to friends when noting a - missing `static' decl. Disable this code for now. + * stmt.c (fixup_gotos): Add missing call from last change. - Wed Jun 2 12:23:05 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * objc/misc.c: Put Alpha-specific decls before #include of runtime.h. - * cp-decl.c (duplicate_decls): Do a regular error if the line number - on NEWDECL hasn't been set yet (e.g., before finish_struct). + * alpha.h (EXTRA_SECTIONS): Write zeros first time in .rdata. - * cp-class.c (finish_struct): Remove warning about a bit-field - having a bad type in ANSI C++, it's not appropriate given the - warning immediately above. +Sat Mar 18 16:37:24 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-typeck.c (require_instantiated_type): Don't allow an - initializer list in an argument list. + * flow.c (mark_used_regs, case SUBREG): Set reg_changes_size even + for integer modes. + (mark_used_regs): Set reg_changes_size for RHS, if necessary. + * combine.c (gen_lowpart_for_combine): Set reg_changes_size, if needed. + * reload.c (push_reload): Reload a SUBREG if paradoxical and + class is CLASS_CANNOT_CHANGE_SIZE. + * reload1.c (gen_reload): Handle paradoxical SUBREGs. + * alpha.h (SECONDARY_{INPUT,OUTPUT}_RELOAD_CLASS): Need GENERAL_REGS + for paradoxical SUBREG and FLOAT_REGS. + (SECONDARY_NEEDED_MODE): Use actual mode for 4 bytes or wider. + * alpha.md (movsi): Allow FP regs and add case for store of FP reg. + Remove cvtlq from MEM to FP reg case. - * cp-decl.c (pushdecl): Change shadowing of a param in outermost - block of the fn from a pedwarn to an error, since it's a - redeclaration. + * rtl.h (emit_insns_after): Add declaration. + * stmt.c (fixup_gotos): Do a cleanup for a block when it is exited + even if label if not defined yet. - * cp-class.c (finish_struct): Say anonymous classes and structs are - useless, not just classes. + * function.c (pop_function_context): Fix error in last change; + reference old value of current_function_decl before we modify it. - * cp-lex.c (real_yylex): Warn if catch, throw, or try are used as - identifier names. +Fri Mar 17 21:57:44 1995 Jason Merrill - * cp-decl.c (pushdecl): Make sure we have a CURRENT_FUNCTION_DECL - before setting its public flag. + * toplev.c (rest_of_compilation): Handle -Wreturn-type properly + for inlines we aren't compiling yet. - * cp-decl.c (expand_static_init): Only complain about multiple - initializations of a static variable if we actually have an - initializer. - (finish_decl): Likewise for const. +Fri Mar 17 21:26:48 1995 Mike Stump - * cp-search.c (build_mi_matrix): Fix off-by-one error in - clearing of MI_MATRIX. - (get_base_distance): Init NEW_BINFO to 0. + * libgcc2.c (__register_exceptions): Handle empty tables. - * cp-pt.c (instantiate_member_templates): Initialize XXX to 0. +Fri Mar 17 11:48:31 1995 Douglas Rupp (drupp@cs.washington.edu) - * cp-call.c (build_method_call): Zero out candidates. - (build_overload_call_real): Likewise. + * i386/winnt.c (winnt_function_prologue): Deleted. + (gen_stdcall_suffix): New function. - Wed Jun 2 11:53:24 1993 Mike Stump (mrs@cygnus.com) +Thu Mar 16 17:36:52 1995 Jason Merrill - * cp-search.c (lookup_fnfields_here): Use TYPE_MAIN_VARIANT on - context types before comparing. Fixes const member functions not - being found in templates. + * svr4.h (LINK_SPEC): If the user did not specify -h name, use the + output file name, if any. + * sparc/sol2.h (LINK_SPEC): Ditto. Also, if the user did not + specify -R path, add an -R for each -L. - Tue Jun 1 18:26:18 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + Move SunOS 4-specific assembler switches into the appropriate place. + * m68k/sun[23].h (ASM_SPEC): Add %{R} %{j} %{J} %{h} %{d2} + %{keep-local-as-symbols:-L}. + * i386/sun.h (ASM_SPEC): Add %{R} %{keep-local-as-symbols:-L}. + * sparc/sparc.h (ASM_SPEC): Ditto. + * gcc.c (default_compilers): Remove %{R} %{j} %{J} %{h} %{d2} + %{keep-local-as-symbols:-L} from assembler rules. - * cp-parse.y (structsp): Avoid a null-ref on ID. - (left_curly): Likewise. +Thu Mar 16 16:58:09 1995 Michael Meissner - Tue Jun 1 13:49:20 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * rs6000/eabi-ctors.c: New file, handle C++ static constructors + and destructors without requiring anything else from a libc. - * cp-decl.c (pushdecl): Communicate a `static' decl of a prototype - into its definition, if they forget to take care of it. + * rs6000/t-eabi (LIB2FUNCS_EXTRA): Build eabi-ctors.c. - * cp-init.c (emit_base_init): Make error message more useful about - insufficient initializers for a member of a class w/o a ctor. + * rs6000/eabi.asm: Do not load up register 2 if there is no .got + section. Jump to the __do_global_ctors function at the end of + processing to call C++ static constructors, and it will return to + __eabi's caller. Use normal volatile registers, instead of saving + and restoring registers 30 and 31. - Sun May 30 09:45:06 1993 Michael Tiemann (tiemann@rtl.cygnus.com) + * rs6000/eabi.h (STARTFILE_SPEC): Define as null. + (LIB_SPEC): Ditto. + (ENDFILE_SPEC): Ditto. + (LIBGCC_SPEC): Always look for libgcc.a. - * cp-call.c (compute_conversion_costs): Penalise each argument that - matches an ellipsis, not just the ellipsis itself. - (build_method_call): Don't consider a candidate an easy match if - cp->ellipsis is non-zero (fixes p2778). +Thu Mar 16 17:05:14 1995 Richard Kenner - Sat May 29 09:34:57 1993 Michael Tiemann (tiemann@rtl.cygnus.com) + * stmt.c (warn_if_unused_value, case SAVE_EXPR): New case. + (warn_if_unused_value, case NOP_EXPR): OK if CALL_EXPR inside. - * cp-cvt.c (convert_to_reference): Match ARM rules more closely by: - (1) not converting between types of different signedness, and - (2) converting between types of different varieties if a const& - suggests we can use a temporary (fixes p2780). + * c-common.c (decl_attributes): Allow alignment for TYPE_DECLs. - * cp-decl.c (decls_match): Handle pseudo-match of parameter lists - according to p308 of the ARM. - (push_overloaded_decl): Ditto. - * cp-typeck.c (comptypes): Rest of change (closes p2779). + * Makefile.in (xsys-protos.h): Fix typo in -U operand. - * cp-call.c (compute_conversion_costs): Count ellipses when we see - them. - (ideal_candidate): Gracefully handle arg lists that have ellipses - (Fixes p2777). +Thu Mar 16 13:49:10 1995 Per Bothner - * cp-call.c (build_method_call): Delete some #ifdefs that are - obsoleted by ANSI. + * cpplib.c, cpplib.h: New files - a C PreProcessor library. + * cpphash.c, cpphash.h, cppalloc.c, cpperror.c, cppexp.c: + New files - utility features used by cpplib. + * cppmain.c: New file - cpp replacement main program for cpplib. + * Makefile.in: New rules to build cppmain. - Fri May 28 12:15:21 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Thu Mar 16 16:11:05 1995 Douglas Rupp (drupp@cs.washington.edu) - * cp-decl.c (finish_decl): Don't allow overloaded operators to have - default arguments. + * i386/winnt.h (FUNCTION_PROLOGUE, HAVE_probe, gen_probe): Deleted. + (ENCODE_SECTION_INFO, VALID_MACHINE_DECL_ATTRIBUTE): New macro. - * cp-cvt.c (convert): If it's an anonymous enum, say so instead of - giving the cryptic `._123' as the enum type. +Thu Mar 16 15:58:24 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Thu May 27 10:52:49 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * combine.c (apply_distributive_law, case SUBREG): Fix typo when + checking for paradoxical SUBREG. - * cp-decl.c (grokdeclarator): Return 0 instead of doing a 155 abort, - so we'll get the right error message later. +Wed Mar 15 18:45:08 1995 Doug Evans - * cp-type2.c (readonly_error): Give a more useful error when the arg - is a RESULT_DECL. + * libgcc1-test.c: Renamed from cross-test.c. + * Makefile.in (LIBGCC1_TEST): Renamed from CROSS_TEST. + (all.cross): Delete $(ENQUIRE) dependency. + (libgcc1-test): Renamed from cross-test. + Delete unnecessary gcc-cross and $(LIBGCC) dependencies. + Link with -nostartfiles -nostdlib + `$(GCC_FOR_TARGET) --print-libgcc-file-name`. + (libgcc1-test.o): Renamed from cross-test.o. + Change gcc-cross dependency to xgcc since the latter is used. - * cp-init.c (build_new): Set LOOKUP_COMPLAIN on the flags, so we'll - pay attention to the visibility of the constructor we're trying to - call. +Wed Mar 15 13:49:21 1995 Jason Merrill - * toplev.c (lang_options): Add warning about ctor/dtor privacy. - * cp-decl2.c (lang_decode_option): Grok it. Make -Wall effect it. - (warn_ctor_dtor_privacy): New variable, default being on. - * cp-tree.h (warn_ctor_dtor_privacy): Add extern decl. - * cp-class.c (finish_struct_methods): Make the ctor warning - conditionalized on the flag. - (finish_struct): Likewise for ctors. - * invoke.texi (Option Summary, Warning Options): Add it. - (Options to Request or Suppress Warnings): Explain it. + * tree.c (save_tree_status): Now takes a tree 'context' instead of + a boolean 'toplevel' as an argument. If 'context' is not + current_function_decl, create a new obstack for the new function. + Also save inline_obstacks. + (restore_tree_status): No longer takes a second argument. Also + restore inline_obstacks. + (temporary_allocation): Clear inline_obstacks. + (permanent_allocation): Free up the obstacks in inline_obstacks. - * cp-decl.c (grokdeclarator): Use a pedwarn on extern inline. + * function.h (struct function): New fields contains_functions and + inline_obstacks. - Tue May 25 13:55:48 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * function.c (push_function_context_to): Now takes a tree + 'context' instead of a boolean 'toplevel' as an argument. + Also save current_function_contains_functions. + (push_function_context): Pass current_function_decl to it. + (pop_function_context_from): Takes 'context' instead of 'toplevel'. + Set current_function_contains_functions properly. + (pop_function_context): Pass current_function_decl to it. - * cp-init.c (build_delete): Don't pass the size as an argument to - builtin delete for a non-aggregate type. Only pass it for a class - when we'll be using its own operator delete(). (complies w/ $12.5) - (build_x_delete): Don't pass the size down to builtin delete. +Wed Mar 15 14:53:09 1995 Michael Meissner - * cp-decl2.c (delete_sanity): If it's a pointer to a type that has - no destructor, then build a regular delete expression, instead of a - vector one (since we didn't push any info into the BI_header_type - area). + * rs6000/rs6000.md (abssi2): Turn into a define_expand. If + TARGET_POWER, do old code that uses the abs instruction. If not, + do abs in three instructions, using a temporary register, which + enables generating more reasonable code for sne. Add a recognizer + for negative of the absolute value. Add define_splits for the + PowerPC. + (sne insn): Add a recognizer for sne on the PowerPc to use two + instructions, compared to the four generated using the absolute + value insn. - * cp-decl2.c (grok_array_decl): Add a pedwarn if they do `5[a]'. +Tue Mar 14 18:38:40 1995 J.T. Conklin - * cp-typeck.c (comptypes): Don't warn about t2 being an - error_mark_node. + * m68k.md ({add,sub,mul,div}[sdx]f3): Add new patterns for recognizing + SImode, HImode, and QImode operands. - * cp-decl.c (finish_decl): If type is laid out, but decl is not, - call layout_decl. +Mon Mar 13 18:59:36 EST 1995 David Edelsohn - Mon May 17 10:35:55 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * rs6000.h (CPP_SPEC): Add PPC403. + (processor_type): Add PPC403. + (RTX_COSTS): Add PPC403. + * powerpc.h (CPP_SPEC): Add PPC403. + * sysv4.h (CPP_SPEC): Add PPC403. + * rs6000.c (processor_target_table): Add PPC403. + * rs6000.md (define_attr cpu and function units): Add PPC403. - * cp-tree.h (error_not_base_type): Add prototype. +Mon Mar 13 14:40:23 1995 Michael Meissner - Fri May 14 17:16:55 1993 Mike Stump (mrs@poseidon.cygnus.com) + * rs6000/rs6000.md (call, call_value insns): Do not put a nop + after a bl instruction on System V.4 and eABI. - * cp-class.c (finish_struct): Use get_binfo instead of binfo_value - to find vfields. Cures compiler_error. + * rs6000/sysv.4 (SUBTARGET_SWITCHES): Add support for + -mno-traceback to suppress the V.4 traceback word. + (ASM_DECLARE_FUNCTION_NAME): Don't put out a traceback work if + -mno-traceback. - Thu May 13 14:57:51 1993 Mike Stump (mrs@cygnus.com) +Mon Mar 13 13:36:37 1995 Jason Merrill - * cp-tree.c (binfo_value): If type is the main binfo for elem, - return it. + * t-svr4, i386/t-{crtpic,sol2}, m88k/t-svr4, sparc/t-sol2: + Use -fPIC, rather than -fpic, for building crtstuff. - Wed May 12 13:10:07 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Sat Mar 11 17:27:08 1995 Jason Merrill - * cp-typeck.c (c_expand_return): Pedwarn on using return without a - value in a function that requires one. Clear - CURRENT_FUNCTION_RETURNS_NULL, so we don't get a bogus warning about - reaching the end of a non-void function. + * configure: Use aix3newas.h for AIX 3.2.4 and 5. + * rs6000/aix41.h: Undefine ASM_OUTPUT_EXTERNAL{,_LIBCALL}. + * rs6000/aix3newas.h: New file. Define ASM_SPEC to -u, and + undefine ASM_OUTPUT_EXTERNAL{,_LIBCALL}. - Tue May 11 17:51:16 1993 Mike Stump (mrs@poseidon.cygnus.com) +Sat Mar 11 06:42:50 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-decl.c (start_decl): Allow -fexternal-templates compiled code to - fall back to old strategy of generating static copies for templates - that are not under the control of #pragma interface/implementation, - but warn if this happens. - * cp-decl2.c (warn_if_unknown_interface): Likewise. - * cp-lex.c (reinit_parse_for_method, cons_up_default_function): - Likewise. - * cp-pt.c (end_template_decl, instantiate_member_templates, - instantiate_template): Likewise. - * cp-tree.h (warn_if_unknown_interface): Likewise. + * dbxout.c (dbxout_symbol): Properly handle decl whose DECL_NAME + points to a TYPE_DECL with a zero TYPE_NAME. - Sat May 8 05:53:17 1993 Michael Tiemann (tiemann@cygnus.com) +Fri Mar 10 18:18:33 1995 Torbjorn Granlund - * cp-decl.c (finish_decl): TOPLEV should be set non-zero also if we - are at the pseudo-global level. Use TOPLEV instead of testing - CURRENT_BINDING_LEVEL. + * pa.h (PROMOTE_MODE): Define. - Fri May 7 12:42:46 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Fri Mar 10 14:37:58 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-decl2.c (grok_array_decl): New function. - * cp-parse.y (primary): Use it instead of lots of code in the - parser. - * cp-tree.h (grok_array_decl): Add prototype. + * sdbout.c (sdbout_record_type_name): If TYPE_NAME is + a TYPE_DECL, get name from DECL_NAME. - * cp-parse.y (component_decl): Disable change about TYPE_DECLs going - into the TYPE_FIELDS list for now. - * cp-type2.c (store_init_value): Disable checks for now. +Fri Mar 10 14:09:26 1995 Doug Evans - Thu May 6 16:59:19 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * arm/riscix.h (SUBTARGET_SWITCHES): Renamed from + ARM_EXTRA_TARGET_SWITCHES. + * arm/riscix1-1.h (SUBTARGET_SWITCHES): Likewise. + * arm.h (SUBTARGET_SWITCHES): Likewise. + (TARGET_HARD_FLOAT, TARGET_SOFT_FLOAT): Define. + (TARGET_SWITCHES): Add -msoft-float, -mhard-float. + (BYTES_BIG_ENDIAN): Delete #ifndef/#endif. + (CONDITIONAL_REGISTER_USAGE): If -msoft-float, disable fp regs. + (FUNCTION_VALUE): R16 is return reg only if !-msoft-float. + (LIBCALL_VALUE): Likewise. + * arm.md (all fp patterns): Conditionalize on TARGET_HARD_FLOAT. + (*movsf_soft_insn, *movdf_soft_insn): New patterns. - * cp-lex.c (check_newline): Use a while instead of a do-while to - avoid reading the line after the #pragma if we're at a newline. +Fri Mar 10 13:53:46 1995 Jim Wilson - Wed May 5 16:38:06 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * reorg.c (steal_delay_list_from_target): Exit at the top if the + branch in SEQ is not a single set. - * Makefile.in (stamp-cp-parse): Update reduce/reduce count to 13. + * sh.md (movdi define_split, movdf define_split): Correct indentation + and formatting. Make the condition fail if an operand is a MEM + with an auto-inc address. - * cp-decl2.c (delete_sanity): New function. - * cp-parse.y (unary_expr): Call it, getting rid of a lot of - repeated code in the parser. - * cp-tree.h (delete_sanity): Add prototype. + * varasm.c (copy_constant): Copy operand of ADDR_EXPR if it is a + constant. - * cp-init.c (emit_base_init): Don't try to do anything with a member - that lacks a DECL_NAME (e.g., types we added in component_decl from - the parser). + * mips/abi64.h (SETUP_INCOMING_VARARGS): Correct arguments to + move_block_from_reg call. - Wed May 5 12:57:33 1993 Jim Wilson (wilson@sphagnum.cygnus.com) + * expr.c (expand_assignment): When offset is zero, make new MEM + before setting MEM_VOLATILE_P. - * cp-parse.y (get_current_declspecs): Obsolete, deleted. + * reload.c (find_reloads, case 'o'): Accept a fully reloaded + auto-increment address. - Tue May 4 13:46:09 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * combine.c (max_uid_cuid): New static variable. + (INSN_CUID): Call abort if INSN is out of range. + (combine_instructions): Set max_uid_cuid. Set uid_cuid directly + instead of through INSN_CUID. + (get_last_value): Use prev_real_insn instead of prev_nonnote_insn. + Ignore USE insns generated by combine. - * cp-type2.c (process_init_constructor): Don't check for private or - protected members; we do that in store_init_value now. +Fri Mar 10 13:47:08 1995 Rod Barman - * cp-parse.y (simple_stmt): Use expr_no_commas instead of expr for - case labels. + * m68k/fpgnulib.c (__fixdfsi): Catch values < 0.5 in magnitude. - * cp-typeck.c (build_binary_op_nodefault): Add 'right' and 'left' to - shift count warnings to distinguish them from each other. +Fri Mar 10 12:02:33 1995 Ian Lance Taylor - * cp-decl.c (finish_decl, grokdeclarator): Report overflows in - storage sizes. - (build_enumerator): Report overflows on enumerators. - * cp-decl2.c (grokbitfield): Likewise. - * cp-parse.y (unary_expr): Warn about overflows in parser-built - unary expressions. - * cp-typeck.c (c_sizeof): Call force_fit_type only for INTEGER_CST. - (build_c_cast): Ignore any integer overflow caused by a cast. - (convert_for_assignment): Warn if source had overflow in folding. - (build_conditional_expr): Check conversions in if-then-else - expressions. - * cp-tree.h (convert_and_check, overflow_warning, - unsigned_conversion_warning): Add prototypes for fns in c-common.c. + * fixincludes: Fix `typedef struct term;' on hppa1.1-hp-hpux9. - * cp-decl.c (init_decl_processing): Make the arrays 200 long to - leave enough room for most names. +Fri Mar 10 05:50:11 1995 Oliver Kellogg (Oliver.Kellogg@RST13.DASA.DBMAIL.d400.de) - * cp-decl.c (lookup_label): Return a NULL_TREE if not within a - function. - * cp-parse.y (unary_expr, ANDAND identifier): Handle lookup_label - returning a NULL_TREE. + * 1750a.c (sectname): Reverse Init and Normal. + (print_operand_address, case PLUS): Add case for LABEL_REF. + (print_operand_address, case LABEL_REF): Split fom SYMBOL_REF. + (print_operand_address, case CODE_LABEL): New case. + (ASM_FILE_END): Delete. + * 1750a.h (FUNCTION_EPILOGUE): Restore stack before freeing local vars. + (DEFAULT_SIGNED_CHAR): Now 1. + (DATA_SECTION_ASM_OP): Use pseudo-op for read-only data (later copied). + (JUMP_TABLES_IN_TEXT_SECTION): Define. + (ASM_OUTPUT_ASCII): Split into multiple lines if long. + (ASM_OUTPUT_{CHAR,SHORT,INT,LONG_INT}): Split up. + (ASM_OUTPUT_COMMON): Call check_section. - * cp-method.c (dump_init): Grok a FIELD_DECL as well. +Thu Mar 9 12:46:53 1995 Michael Meissner - * cp-decl.c (finish_function): Move setting of the DECL_RESULT's - context and calling setjmp_protect after poplevel, so we have a - valid DECL_INITIAL for the fndecl (not an error_mark_node). + * rs6000.md (movsf): Do not call truncdfsf2 for non PowerPC + when expanding a store to memory and -msoft-float was used. - Mon Jan 25 11:04:23 1993 Niklas Hallqvist (niklas at della.appli.se) +Thu Mar 9 08:51:35 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-parse.y (component_decl): Handle anonymous unions as static - class members. - * cp-decl.c (grokdeclarator): Ditto. + * c-decl.c (start_function): Handle new parameter ATTRIBUTES. + * c-tree.h (start_function): Add new parameter. + * c-lang.c (finish_file): Pass new parm to start_function. + * objc-act.c (build_module_descriptor, really_start_method): Likewise. + * c-parse.in (fndef, nested_function): Pass prefix_attributes + to start_function. + (setspecs): Save prefix_attributes in declspec_stack. + (decl rules): Restore prefix_attributes along with current_declspecs. + (setattrs): Concatenate prefix_attributes to previous value. + * c-common.c (decl_attributes): Handle prefix and suffix attributes + the same way. - * cp-decl.c (shadow_tag): Emit error message if static or extern - is specified as per ARM 7.1.1. - - * cp-decl2.c (finish_anon_union): Issue error if a global - anonymous union is not declared static, remove old funny error - about some optimizer failing. + * print-tree.c (print_node): Fix typo in printing large INTEGER_CST. - * cp-class.c (finish_struct): Corrected error message concerning - anonymous classes. + * varasm.c (assemble_variable): Consistently use DECL_SIZE for + everything. - * cp-lex.c (check_for_missing_semicolon): Allow trailing storage - specifiers. + * c-typeck.c (convert_for_assignment): Fix typo in testing for + pointer to function type. - Fri Jan 29 09:39:17 1993 Niklas Hallqvist (niklas at della) + * varasm.c (record_constant_1): Handle NON_LVALUE_EXPR. + Rewrite to use switch instead of if/then/elseif/else. - * cp-parse.y (component_decl): Nested unions, enums and structs - should have their TYPE_DECLs in the TYPE_FIELDS slot of the - containing type so the access flags eventually will get correctly - set. +Wed Mar 8 18:21:51 1995 Paul Eggert - * cp-type2.c (store_init_value): Check for the aggregate conditions - described in ARM 8.4.1. + * cccp.c (do_include): Fix type typo: pcfbuflimit is char *, not int. - Mon May 3 19:10:28 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Wed Mar 8 17:30:29 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-lex.c (real_yylex): Don't warn about floating point out of - range if target floating-point format is IEEE. + * fold-const.c (force_fit_type): Always propagate OVERFLOW. - * cp-class.c (finish_struct): Promote unsigned bitfields to signed - int if the field isn't as wide as an int. + * rtl.def (INLINE_HEADER): Add new "e" field. + * rtl.h (FORCED_LABELS): New field; other fields adjusted. + (gen_inline_header_rtx): New parm FORCED_LABELS. + * emit-rtl.c (gen_inline_header): Add new parm FORCED_LABELS. + * integrate.c (initialize_for_inline, output_inline_function): + Handle FORCED_LABELS. - * cp-search.c (dfs_pushdecls): Use warning_with_decl, so we give the - line number of the offending method declaration, rather than the - line number of the curly-brace that ends the class definition. +Wed Mar 8 13:47:20 1995 Jason Merrill (jason@cygnus.com) - Mon May 3 18:04:15 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * alpha.h (WORD_SWITCH_TAKES_ARG): Add -rpath. + (LINK_SPEC): Pass through -taso and -rpath. + * alpha/osf12.h (LINK_SPEC): Ditto. - * cp-cvt.c (convert): When doing int->enum conversions, always call - pedwarn, even if we didn't give `-pedantic'. +Wed Mar 8 09:59:56 1995 Michael Meissner - * cp-decl.c (start_function): Add extern decl of - `flag_external_templates'. + * rs6000/eabi.asm: Rewrite so that the initialized pointers go + into the .got2 section, which allows eabi.asm to be assembled with + the -mrelocatable option. Move the data picked up from the bl + instruction to before the traceback tag. - * cp-lex.c (check_newline): Warn if there's anything after a - `#pragma interface'. + * rs6000/sysv4.h (CPP_SPEC): Define _RELOCATABLE if -mrelocatable + switch is used. - Mon May 3 12:39:49 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * libgcc2.c (__new_handler): Don't initialize the pointer variable + with the address of __default_new_handler, which may not work in + some shared library mechanisms. + (__builtin_new): If __new_handler is NULL, call the function + __default_new_handler. - * cp-class.c (finish_struct_methods): Use `warning' on a class w/ a - private dtor and no friends, so the line number comes out right. Also - only emit this warning when `extra_warnings' is true. +Tue Mar 7 17:34:59 1995 Ian Lance Taylor - * cp-type2.c (process_init_constructor): Don't allow use of an - initializer list for a class with private or protected members. + * i960.h (PROCESS_PRAGMA): Define. + (ROUND_TYPE_ALIGN): Pass maximum of COMPUTED and SPECIFIED to + i960_round_align. + (ROUND_TYPE_SIZE): Delete. + * i960.c (process_pragma): Uncomment, and rewrite for gcc 2. + (i960_round_size): Delete. + (i960_round_align): Don't adjust suggested alignment downward. + Restrict alignment to value set by #pragma align. - Sat May 1 15:07:24 1993 Mike Stump (mrs@poseidon.cygnus.com) +Tue Mar 7 12:14:46 1995 Doug Evans - * cp-decl.c (start_decl, start_function): Add a new flag - -fexternal-templates. Use flag_external_templates to determine when - template definitions should be made externally visible and - accessible. This permits non-exponential growth in object files - that use templates. - * cp-decl2.c (lang_f_options): Likewise. - * cp-lex.c (reinit_parse_for_method, cons_up_default_function): - Likewise. - * cp-parse.y (template_instantiate_once): Likewise. - * cp-pt.c (end_template_decl, instantiate_member_templates, - instantiate_template, end_template_instantiation): Likewise. - * toplev.c (lang_options): Likewise. + * configure (sparc64-*-elf): Add crtbegin.o, crtend.o to extra_parts. + * sparc/sp64-elf.h (TARGET_VERSION): Define. + (CPP_PREDEFINES): Delete sun, sparc, unix. Delete OS assertions. + (ASM_SPEC): Define. + (LINK_SPEC): Delete solaris stuff, this is an embedded target. + (STARTFILE_SPEC, ENDFILE_SPEC): Define. - Fri Apr 30 18:50:00 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Mon Mar 6 17:54:01 1995 Doug Evans - * cp-spew.c (arbitrate_lookup): If the next character is a '[', then - have the compiler assume it's an expression instead of a type. + * Makefile.in (install-common): Fix typo in installation of cpp. + Likewise with gcc-cross. - Fri Apr 30 14:39:28 1993 Mike Stump (mrs@poseidon.cygnus.com) +Mon Mar 6 02:29:05 1995 Jeffrey A. Law - * cp-class.c (maybe_fixup_vptrs): Use the VF_NORMAL_VALUE of the - vfields to get the binfo to get the vtable, so that we may pick up - the most derived version of the vtable. + * pa.md (movsicc): New expander. - * cp-class.c (finish_base_struct): Always set the VF_NORMAL_VALUE so - that maybe_fixup_vptrs can get the most derived vtable. +Fri Mar 3 13:34:20 1995 Michael Meissner (meissner@cygnus.com) -Fri Jun 25 14:00:17 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rs6000/sysv4.h (ASM_SPEC): If -mrelocatable was passed to + compiler, pass it on to the assembler. - * config.sub: Convert ...-sysvr4 into ...-sysv4. +Fri Mar 3 12:11:28 1995 Ian Lance Taylor - * config/m68k/news.h (CPP_PREDEFINES): Have two alternatives, - one for motorola and one for not motorola. + * fixincludes: Add fixes for VxWorks header files. + * ginclude/stddef.h: If VxWorks typedef macros are defined, invoke + them as appropriate. - * config/m68k/tower-as.h, mot3300.h, m68kv4.h, hp320.h, amix.h: - * config/m68k/3b1.h, crds.h (CPP_PREDEFINES): Add __motorola__. +Fri Mar 3 05:48:54 1995 Paul Eggert - * expr.c (store_expr): If TARGET is volatile mem ref, return it. + * cccp.c (dump_single_macro): Fix typo: % wasn't properly + doubled in printf formats. - * toplev.c (lang_options): Add -fdollars-in-identifiers. - * c-decl.c (c_decode_option): Handle -fdollars-in-identifiers. +Thu Mar 2 19:44:02 1995 Jason Merrill -Fri Jun 25 13:33:39 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * expr.c (expand_expr, CLEANUP_POINT_EXPR): Force the operand out + of memory before running cleanups. - * pa-hpux.h (LINK_SPEC): Search shared libraries by default; turn - off shared library searching of -static is specified. - * pa-ghpux.h (LINK_SPEC): Likewise. +Thu Mar 2 19:15:24 1995 Paul Eggert - * pa.h (TARGET_SHARED_LIBS): Delete switch and all references to - the switch. - * pa.c: References to TARGET_SHARED_LIBS deleted. - * pa.md: Likewise. + * cccp.c (rescan): Prevent accidental token-pasting to + get !=, *=, /=, ==, or ^=. - * pa-utahmach.h (TARGET_DEFAULT): Allow indexing on Mach ports. - * pa1-utahmach.h (TARGET_DEFAULT): Likewise. - * pa.h (TARGET_DISABLE_INDEXING): Clean up comments. +Thu Mar 2 15:37:13 1995 Jason Merrill -Fri Jun 25 00:50:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-typeck.c (build_binary_op): Avoid spurious warning + comparing enumerator to unsigned variable. - * expr.c (store_expr): Ignore SUGGEST_REG if target is volatile. +Thu Mar 2 18:18:38 1995 J.T. Conklin - * config/mips/mips.md (negdi2, negdi2_internal): Renamed from negdi3... + * m68k.md (sqrtsf2,sqrtdf2): Use fp precision specifiers. -Thu Jun 24 00:31:27 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) +Thu Mar 2 18:09:01 1995 Stephen L Moshier (moshier@world.std.com) - * gcc.c (option_map): Make --version alias for -dumpversion. + * c-lex.c (yylex, case !NOT_FLOAT): Remove previous change. -Wed Jun 23 07:50:21 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Thu Mar 2 15:26:50 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * romp.c (output_prologue): Delete unused var, INSN. - (output_encoded_offset): New function. - (output_epilogue): Minor changes to traceback table; call - new output_encoded_offset. - (romp_debugger_{auto,arg}_correction): New functions. - * romp.h (DBX_REGPARM_STABS_LETTER, DEBUGGER_{AUTO,ARG}_OFFSET): - New macros. + * Makefile.in (bootstrap*): Pass new STAGE_PREFIX to recursive makes. - * reorg.c (fill_slots_from_thread): When replacing a use of a - register with what it was set to, don't do it when either the - destination or source of the copy is set in the insn. +Wed Mar 1 14:52:16 1995 Ian Lance Taylor - * jump.c (jump_optimize): Properly make jump into store-flag - sequence when the jump can't be reversed but the TRUE branch - is const0_rtx. + * i960/i960-coff.h (ASM_FILE_START): Define. + (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Define. + (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Define. + (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Define. + (INT_ASM_OP): Define. + (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Define. + * i960/vx960-coff.h (CPP_PREDEFINES): Define. + (CPP_SPEC): Define. + (CC1_SPEC): Default to -mca. - * expr.c (expand_expr): Set IGNORE if target is const0_rtx or - result type is VOID. - Move most IGNORE processing to one place to avoid expanding things - that don't need to be expanded. - (expand_expr, case CONSTRUCTOR, case COND_EXPR): If IGNORE, don't - expand anything we don't have to. - (expand_expr, case CONVERT_EXPR): Don't deal with IGNORE here. +Wed Mar 1 11:10:54 1995 Michael Meissner (meissner@cygnus.com) -Wed Jun 23 07:47:32 1993 John F Carr (jfc@Athena.mit.edu) + * rs6000/rs6000.c (output_prologue): Do not emit the word that + gives the PC relative location to the local GOT table for the + -mrelocatable option here. + * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Emit it here. - * regs.h (scratch_list, scratch_block, scratch_list_length): New vars. - * reload1.c (mark_scratch_live): New function. - (reload): Call it on each SCRATCH. - Free scratch list and block. - (spill_hard_reg): Reallocate any SCRATCH whose register we want to - spill. - * local-alloc.c (scratch_block, scratch_list{,_length}, scratch_index): - New variables. - (local_alloc): Allocate and initialize them. - (alloc_qty_for_scratch): Can allocate likely-spilled register - classes for SCRATCH. - (block_alloc): Likewise for regs in small register classes. - Only allocate a SCRATCH if it can fit in the block we make. - Don't mark regs used in SCRATCH live here; instead, make entry in - new tables. + * t-eabi (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Build -msoft-float + and -mrelocatable versions of the library. -Tue Jun 22 19:52:08 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) + * rs6000/powerpc.h (CPP_PREDEFINES): Define the cpu and machine as + powerpc, not rs6000. - * emit-rtl.c (copy_rtx_if_shared): In `E' case, get the length - before copying, and don't get it again after. + * libgcc2.c (_unwind_function): Clone for powerpc, using the + PowerPC mnemonics. -Tue Jun 22 10:50:56 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * rs6000/rs6000.md (uminsi3, umaxsi3): Silence warnings that + -2147483648 is too large to fit in a signed integer on 32-bit + hosts. - * toplev.c (report_error_function): Change format of the - included-file stack to be more readable. - * cccp.c (print_containing_files): Likewise. +Wed Mar 1 06:48:31 1995 Richard Kenner -Mon Jun 21 19:21:18 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * fold-const.c (decode_field_reference): Don't check TREE_CODE + of EXP; let get_inner_reference decide if have reference. + Allow no bit reference if have AND_MASK. + (all_ones_mask_p): Use tree_int_cst_equal, not operand_equal_p. + (unextend): New function. + (fold_truthop): For constant cases, use new function, rework + conversion, and warn if comparison can never be true. - * rs6000.c (print_operand, case 'J'): Write out shift count - of 0, not 32 for bit 31 of CCR. + * expr.c (store_expr): Do conversion in two steps for promoted lhs. -See ChangeLog.7 for earlier changes. +See ChangeLog.9 for earlier changes.