--- gcc/ChangeLog 2018/04/24 17:51:19 1.1 +++ gcc/ChangeLog 2018/04/24 18:06:27 1.1.1.5 @@ -1,13233 +1,10374 @@ -Sat Feb 22 02:09:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sun Jun 20 18:09:50 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Version 2.0 released. + * calls.c (expand_call): In last change, preserve the temp slot. - * gcc.c (do_spec_1): Handle SPACE_AFTER_L_OPTION. - * hp320.h (SPACE_AFTER_L_OPTION): Defined. - Note: for 2.1, try making a space there on all systems. +Sun Jun 20 13:37:00 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * i386mach.h (perform_*): New macros, copied from i386rose.h. + * c-common.c (decl_attributes): If first_arg_num is 0, no error for it. - * Makefile.in (distclean): New target. - (realclean): Avoid duplication with self or with distclean. - (gcc.xtar.Z): Depend on gcc.xtar. - (gcc.xtar): Fixes in copying files. + * Makefile.in (extraclean): Delete *.gz, and other diff and tar files. - * expr.c (do_store_flag): Don't correct CODE before where it is set. +Sat Jun 19 19:55:43 PDT 1993 Ron Guilmette (rfg@netcom.com) - * cp-parse.y (stmt): Pass pushcase_range all the args it wants. + * dwarfout.c (type_main_variant): New function. + Use it in place of TYPE_MAIN_VARIANT everywhere in dwarfout.c. -Fri Feb 21 18:14:52 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * c-decl.c (grokdeclarator): Avoid the use of macros for ..._TYPE + nodes in cases where a parameter's type is error_mark_node. - * combine.c (distribute_notes): Correctly handle the case of a - REG_DEAD note for a multi-word hard register when not all of - the words are used. +Sat Jun 19 03:57:57 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Feb 21 16:47:32 1992 Michael Meissner (meissner@osf.org) + * Version 2.4.4 released. - * mips.h (MIPS_VERSION): Change Meissner version # to 12. - (half_pic support): Move the halfpic support to halfpic.h which is - included in the decrose case, and nop the support in other MIPS - platforms. - (OPTIMIZATION_OPTIONS): Move setting caller-saves to -O2. - (OBJECT_FORMAT_COFF, EXTENDED_COFF): Define unless OSF/rose. - (INITIAL_FRAME_POINTER_OFFSET): Always recalculate the frame size, - don't rely on cached values. + * toplev.c (compile_file): For static decl never defined, + use just warning, not pedwarn. - * mips.c (half_pic support): Move the halfpic support to halfpic.c, - which is only compiled for OSF/rose. - (expand_block_move): Use copy_addr_to_reg instead of copy_to_reg in - case either the source or destination is an integer constant - converted to an appropriate pointer type. - (mips_debugger_offset): Use a local variable to hold function - result. + * dbxout.c (dbxout_type): Reinstall #if 0 around code for + outputting structure types, that confused GDB. - * decrose.h (toplevel): Include halfpic.h for halfpic support. - (PTRDIFF_TYPE): Change to 'int' to match current include files. - (WCHAR_TYPE): Change to 'unsigned int' to match include files. - (INIT_SECTION_ASM_OP): Delete, since the OSF/rose assembler doesn't - support a true initialization section. +Fri Jun 18 20:06:35 1993 Pat Rankin (rankin@eql.caltech.edu) - * encrose.h (PTRDIFF_TYPE): Change to 'int' to match current include - files. - (WCHAR_TYPE): Change to 'unsigned int' to match include files. + * vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): adjust stack pointer by 4 prior + to calling C$MAIN_ARGS, otherwise POSIX edition of that routine dies. - * t-decrose (EXTRA_OBJS): Define as halfpic.o to provide halfpic - support. - (CONFIG2_H): Treat halfpic.h as another config file. - (halfpic.o): Add dependencies. - - * halfpic.h (new file): Common include file for systems needing the - OSF/rose half-pic shared library support. - - * halfpic.c (new file): Common support file for systems needing the - OSF/rose half-pic shared library support. Currently these are stub - functions. - -Fri Feb 21 01:34:08 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * dwarfout.c (location_or_const_value_attribute): Use DECL_RTL again. - Seems to be safer for the moment. - * function.c (instantiate_decls): Don't instantiate DECL_INCOMING_RTL. - - * dwarfout.c (output_mem_loc_descriptor): Handle CONST like SYMBOL_REF. - - * collect2.c (errno): Declare if not macro. - - * dbxout.c [MIPS]: Include gstab.h, not stab.h. - - * dbxout.c (dbxout_symbol): No longer flush leading _ for C++ syms. - - * cp-parse.y (.hush_warning): Set $$. - - * gstdarg.h: Handle _HIDDEN_VA_LIST as in gvarargs.h. - -Thu Feb 20 07:41:29 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * vax.c (reg_or_nxmem_operand): New function. - (split_quadword_operands): Add missing return type (void). - * vax.md (jlbc/jbc/jlbs/jbs): Handle QImode operands properly. - - * caller-save.c (set_reg_live): Use mode of SUBREG to see how many - hard regs are written. - - * combine.c (simplify_shift_const, case IOR, AND, XOR): Perform - logic computation in RESULT_MODE, not mode of VAROP. - -Wed Feb 19 18:32:05 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * hp320.h (PRINT_OPERAND): Support codes '$' and '&'. - - * reload1.c (reload): Add cast of enum in index. - - * vms.h (CPP_PREDEFINES): Define __GNUC__ as 2. - -Wed Feb 19 21:43:36 1992 Ron Guilmette (rfg at ncd.com) - - * dwarfout.c (output_mem_loc_descriptor): Deleted useless blank line. - (output_mem_loc_descriptor) Added code to handle CONSTs in DECL_RTL - expressions. - (dwarfout_finish): Added code to put a null string at the end of - the terminating .debug_macinfo section. - -Tue Feb 18 18:34:13 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) - - * cccp.c (main): Fix typo in comment or spacing. - * dbxout.c (dbxout_block): Likewise. - * expr.c (convert_move): Likewise. - * reload1.c (emit_reload_insn): Likewise. - * rtl.h (REG_NOTES): Likewise. - * sun4o3.h: Likewise. - * ultrix.h (CPP_PREDEFINES): Likewise. - * toplev.c (flag_no_common): Likewise. - * stmt.c (layout_type): Likewise. - * gcc.c (is_linker_dir, lookup_compiler): Likewise. - - * sched.c (schedule_block): Comment code handling USE insns as - obsolete. - -Tue Feb 18 14:44:49 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c++: Run gcc in same dir as c++ was in, if exists there. - Use `exec' to run it. - New var `havefiles'; special message if no input files specified. - Pass through any unrecognized options. - - * g++: Now a link to c++. - -Tue Feb 18 04:54:52 1992 david d [zoo] zuhn (zoo at lynx.spa.umn.edu) - - * protoize.c (main): added support for -p flag, to specify which - gcc is the one to call for -fgen-aux-info support. - -Tue Feb 18 07:29:23 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * combine.c (try_combine): Don't clobber OTHER_INSN's PATTERN if - we aren't able to change the insn. - - * romp.md (bit_insv): Add missing CLOBBER when making pattern to - match mftb; likewise for the DEFINE_INSN. - -Tue Feb 18 01:03:41 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * rs6000.h (bss_section): Set `in_section' correctly. - - * expmed.c (synth_mult): Count second shift for alg_compound. - Count extra shift for lea case. - * m68k.h (RTX_COSTS): Reduce cost of multiply. - - * function.c (instantiate_decls): Instantiate DECL_INCOMING_RTL. - -Mon Feb 17 19:17:50 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * a29k.md (divmodsi4, udivmodsi4): Don't use reg 180 explicitly. - Instead use 'q' constraint letter. - -Mon Feb 17 16:15:02 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * global-alloc.c (global_alloc): Always call `reload'. - -Mon Feb 17 10:38:38 1992 Jim Wilson (wilson at sphagnum.cygnus.com) - - * a29k.md (movdi define_split): Use DImode in operand_subword - calls, not DFmode. - -Mon Feb 17 08:20:33 1992 Michael Tiemann (tiemann at mole.gnu.ai.mit.edu) - - * varasm.c (assemble_external): Check that DECL is some sort of - _DECL before referencing its DECL_RTL. - -Sun Feb 16 13:05:36 1992 Michael Tiemann (tiemann at cygnus.com) - - * cp-call.c (build_method_call): Add call to `assemble_external' in - case this is the first use of FUNCTION. - * cp-class.c (build_vfn_ref): Ditto for VTBL. - * cp-decl2.c (write_vtable_entries): Ditto for FN. - * cp-init.c (build_offset_ref): Ditto for T. - * cp-typeck.c (build_function_call_real): Ditto for FUNCTION. - * cp-method.c (hack_identifier): Ditto for VALUE. Also remove - action that made call to `assemble_external' when !TREE_USED (VALUE). - - * cp-lex.c (do_identifier): Remove call to `assemble_external' when - implicitly declaring ID. - - * cp-parse.y (primary): Simplify rules for calling assemble_external. - - * cp-decl.c (finish_function): For destructors, don't call - expand_expr_stmt if EXPRSTMT is VOID_ZERO_NODE. - -Sun Dec 16 23:31:54 1992 Ron Guilmette (rfg at ncd.com) - - * dwarfout.c (fundamental_type_code): Deleted gunk for handling - OFFSET_TYPEs. (They are *not* fundamental types). - (fundamental_type_code): Fixed typo. - (location_attribute, const_value_attribute): Changed to take one - rtx parameter rather than one tree parameter. - (location_or_const_value_attribute): Changed to use DECL_INCOMING_RTL - rather than DECL_RTL for formal parameters. Also changed calls to - location_attribute and const_value_attribute to provide the rtl - parameter. - (fund_type_attribute): Changed to accept an actual fundamental type - code as a parameter directly. Also changed all calls correspondingly. - (type_attribute): Separated tests for ERROR_MARK and for VOID_TYPE - and added comments. - (output_unspecified_parameters_die): Changed to take one tree param - and to generate *both* an AT_name and an AT_type attribute when the - input parameter represents of function definition. Also adjusted - all calls correspondingly. - -Sun Feb 16 00:54:10 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * fixincludes: Add #ifndef around size_t declaration in types.h. - - * varasm.c (assemble_external): Do nothing if arg isn't a decl. +Fri Jun 18 14:21:14 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Makefile.in (cp-parse.c): Update "expect" msg. + * Makefile.in (clean): Delete objc-headers subdir. - * next.h (CPP_SPEC): Rename -bsd to -strict-bsd. + * config/m68k/m68k.h (TARGET_SWITCHES): For -m68020, -m68000 and + -msoft-float, turn off 01400 bits. - * Makefile.in (mostlyclean): Add ld, mips-tfile, mips-tdump. + * Makefile.in (gcc.xtar.gz): Renamed from gcc.tar.z. + (dist): Change the dependency. + (mostlyclean): Delete tmp-gcc.xtar.gz. - * protoize.c (directory_specified_p): Don't match files in subdirs. + * c-iterate.c (save_exprs): New variable. + (collect_iterators): Don't process a SAVE_EXPR twice. + (iterator_expand): Clear save_exprs. - * xm-rs6k-m.h: Renamed from xm-rs6000-mach.h. - * configure (rs6000-*-mach*): Changed accordingly. + * Makefile.in (gcc.info, cpp.info): Actually cd to srcdir. - * collect2.c (handler): No error msg here. Just resend signal. - (write_c_file): Arg to write_list... is pointer. - (do_wait): Fix typo. - (scan_prog_file for non-OSF): Preserve all underscores. + * configure (clipper-intergraph-clix*): Use install-headers-cpio. - * Makefile.in (install-collect2): Install gcc in libsubdir. +Fri Jun 18 13:37:16 1993 Michael Meissner (meissner@osf.org) -Sat Feb 15 15:26:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * mips.c (output_block_move): Don't abort if one of the input + registers is allocated as a scratch register, just use fewer + scratch registers. - * varasm.c (decode_reg_name): Empty string is not a reg number. +Fri Jun 18 00:25:16 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * fold-const.c (merge_component_references): NE tests against - mismatched constants forces 1, not 0, as value. + * config/i386/i386.c (call_insn_operand): Require constant address + be a general_operand. + (expander_call_insn_operand): New fn (what call_insn_operand was). + * config/i386/i386.md (call_pop, call, call_value_pop, call_value) + (untyped_call): Use expander_call_insn_operand. - * i386gas.h (ASM_OUTPUT_OPCODE): Convert repz to repe. +Thu Jun 17 17:58:11 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * collect2.c: Get rid of PROTO macro; use non-prototype decls. - Don't include gstddef.h (had conflicts). Use gstdarg.h, not stdarg.h. - (xcalloc, xmalloc): Add casts. - (do_wait): Avoid macros WTERMSIG, WEXITSTATUS missing on some machines. + * config/pa/pa.md (decrement_and_branch_until_zero): + Pattern disabled. - * cp-typeck.c (default_conversion): Don't use initial value if BLKmode. +Thu Jun 17 13:34:20 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * objc-actions.c (finish_objc): Fix typos in last change. + * unroll.c (calculate_giv_inc): Add new variables increment_total + and tries, and new label retry, to handle case where increment is + two add instructions. - * c-aux-info.c, dbxout.c, cccp.c (errno): Declare, if not a macro. +Thu Jun 17 12:13:53 1993 Minh Tran-Le (mtranle@paris) - * i386.md (QI bit test recognizer): Split into separate patterns - for memory and register args. Make a scratch reg for memory. - -Fri Feb 14 23:39:58 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * tree.c (get_identifier): Improve -Wid-clash message. - -Fri Feb 14 16:22:48 1992 Michael Collison (collison at osf.org) - - * i386rose.h (CPP_SPEC): Define the macros LANGUAGE_OBJECTIVE_C and - LANGUAGE_C_PLUS_PLUS if we are compiling Objective C or C++. - (INIT_SECTION_ASM_OP): Define as .init. - (CC1PLUS_SPEC): Define it. - (LINK_LIBGCC_SPECIAL): Define this to work around linker bug. - -Fri Feb 14 00:38:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Makefile.in (protoize.o, unprotoize.o): g++-include is under libdir. - - * Makefile.in (enquire.o): Make the command one long line. + * config/i386/aix386ng.h: Changes for non-GAS gcc. + (ASM_FILE_START_1): Always output .noopt because /bin/as is buggy. + Added #undef to {INIT,FINI,CTORS,DTORS}_SECTION_ASM_OP, ... when + not using GAS. + (CONST_SECTION_FUNCTION): Override svr3 default. + (EXTRA_SECTION_FUNCTIONS): Override svr3 default. + (OBJECT_FORMAT_COFF): Added define for collect2. + (MY_ISCOFF): For collect2 to handle aix and svr3 object file. + + * config/i386/aix386.h (USE_GAS): New define. - * gcc.c (do_spec_1): Omit relative prefixes from -L'ing - only if RELATIVE_PREFIX_NOT_LINKDIR is defined. - * rs6000.h (RELATIVE_PREFIX_NOT_LINKDIR): Defined. +Thu Jun 17 00:26:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * varasm.c (assemble_external): Test TREE_EXTERNAL. + * reg-stack.c (stack_result_p): New function. + (stack_reg_life_analysis): Use that. - * jump.c (follow_jumps): If can't find chain end, return orig label + * final.c (output_addr_const): Don't insert a leading space + in the CONST_DOUBLE_HIGH != 0 case. - * mot3300.h (PRINT_OPERAND): Always print 16 hex digits for a double. +Thu Jun 17 00:09:19 1993 Jeff Law (law@snake.cs.utah.edu) - * objc-actions.c (build_module_descriptor) [NEXT_OBJC_RUNTIME]: Ret 0. - (finish_objc): Value 0 from build_module_descriptor means no ctor. - When referencing a class_name symbol, don't output a .globl for it. - (finish_objc): Put artificial refs in text section. + * pa.h (LEGITIMATE_CONSTANT_P): Reject function addresses for now. - * cccp.c (pedwarn_with_file_and_line): Handle -w, -W. +Wed Jun 16 20:14:10 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Fri Feb 14 07:44:08 1992 James Van Artsdalen (james at bigtex.cactus.org) + * cp-typeck.c (build_unary_op): Make sure it's the global fn `main' + before complaining about taking the address of it. - * i386.c (notice_update_cc): sCOND opcodes don't change the flags. - Don't record test or compares involving stack-like regs, since - final can't omits tests or compares involving such regs correctly. +Wed Jun 16 16:24:31 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * i386.c (seq,sne,beq,bne): These opcodes use the state of - cc_status from before the curren insn. + * config/i386/xm-sysv4.h (SMALL_ARG_MAX): Defined. - * reg-stack.c (stack_reg_mentioned_p): Don't make static. + * c-typeck.c (check_format): Don't crash if cur_type is an error_mark. + Handle identifier_node as the TYPE_NAME. -Fri Feb 14 06:27:48 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Mon Jun 14 16:09:24 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * jump.c (jump_optimize): Disable "if (...) {... x = C;} if (x) ..." - optimization; there doesn't seem to be a way to fix it. + * calls.c (expand_call): If PCC_STATIC_STRUCT_RETURN and TARGET + is zero, copy result from static location. -Thu Feb 13 18:06:06 1992 James Van Artsdalen (james at bigtex.cactus.org) + * cse.c (invalidate_skipped_set): Promote "nonscalar" to "all". - * seq386.h (ASM_OUTPUT_OPCODE): New macro. Change "movs" into - "smov" at the start of a string move mnemonic - Sequent as(1) - doesn't handle the former. +Mon Jun 14 16:01:34 1993 Karl Berry (karl@cs.umb.edu) -Thu Feb 13 17:21:26 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fixincludes (stdio.h math.h ctype.h sys/{limits.h,fcntl.h,dirent.h}): + Fix STDC/POSIX and other things for Interactive Unix 2.2 or later. - * c-decl.c (finish_struct): Use pedwarn for pedantic warning. - (grokdeclarator): Likewise. - * c-parse.y (component_decl_list2): Likewise. +Mon Jun 14 04:41:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Feb 13 22:11:36 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * reload.c (make_memloc): Don't reuse a memloc. - * combine.c (make_extraction): Default modes to byte and register - size, as appopriate, when the bitfield insn doesn't exist. +Sun Jun 13 16:01:37 1993 Jeff Law (law@snake.cs.utah.edu) - * a29kunix.h (LINK_SPEC): Pass default option file to gld. - (LINK_LIBGCC_SPECIAL): Define to work around gld bug. + * pa.md (iorsi3): Explicitly set length to 1. + (andsi3, lshrsi3, rotrsi3, rotlsi3): Likewise. + (ashift and ashiftrt by const_int_operand): Likewise. + ((and (ashift)) optimizer): Likewise. - * explow.c (copy_to_suggested_reg): Try getting mode from TARGET. +Sun Jun 13 20:23:04 1993 Stephen Moshier (moshier@world.std.com) - * rs6000.h (ASM_FILE_END): New macro. - (EXTRA_SECTIONS): New section read_only_private_data. - (EXTRA_SECTION_FUNCTIONS): New function read_only_private_data_section. - (SELECT_RTX_SECTION): Always make non-toc data private, read-only. - (SELECT_SECTION): Put read-only data in appropriate sections. + * real.c (ltoe, ultoe, eifrac, euifrac): Handle 64-bit longs. + (SFMODE_NAN, DFMODE_NAN, XFMODE_NAN, TFMODE_NAN): New macros + permit definitions of NaN patterns to be overridden in tm.h. - * jump.c (jump_optimize): Place branch in correct place when - optimizing "if (...) {... x = C;} if (x) ...". - (redirect_jump): Ensure jump's UID is within range of jump chain. +Sun Jun 13 12:55:22 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * a29k.c (output_prologue): Correctly set LR1 when more than 64 - registers are needed. + * cp-decl.c (start_function): Avoid a null-reference on CTYPE. -Wed Feb 12 22:22:46 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) +Sun Jun 13 08:22:30 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * make-cccp.com: Define link as a local symbol to avoid - possible conflict with a user defined global symbol. + * expr.c (expand_expr, case COND_EXPR): Fix typo; const1_rtx should + be const0_rtx when ignoring expression. - * make-cc1.com: Likewise. +Sun Jun 13 00:15:00 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Feb 13 11:05:07 1992 Michael Meissner (meissner at osf.org) + * genopinit.c (optabs): For strlen_optab, don't look for `2' in name. - * mips.c (make_temp_file): Store created filename into a static - file-scope variable, not an auto. - (mips_asm_file_end): Use the appropriate filename in printing - errors. +Sat Jun 12 20:23:04 1993 Stephen Moshier (moshier@world.std.com) -Thu Feb 13 01:15:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * real.c (ereal_from_float, ereal_from_double): New functions. + * real.h (REAL_VALUE_FROM_TARGET_SINGLE): New macro. + (REAL_VALUE_FROM_TARGET_DOUBLE): Likewise. + * emit-rtl.c (gen_lowpart_common): Use those macros if REAL_ARITHMETIC. - * cccp.c (skip_if_group): Skip comments after the #. +Sat Jun 12 13:44:00 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * cccp.c (macarg): Don't assume stringify will compress spaces. - (macroexpand): In stringify, compress space only outside tokens. + * sched.c (add_dependence): Reject CODE_LABELs when searching for + last insn of a sched group. - * cexp.y (exp1): Use pedwarn for comma in #if. +Sat Jun 12 08:06:25 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-decl.c (push_binding_level, pop_binding_level): - Change `inline' to `__inline'. + * m68k.md (movqi): Handle copying an address register to or + from memory when the address uses the address register. - * combine.c (make_compound_operation): Undo previous change. +Sat Jun 12 00:17:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Feb 12 18:47:47 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cse.c (record_jump_cond): Look up op1 again after inserting op0. - * function.c (instantiate_virtual_regs_1, case IF_THEN_ELSE): - Don't special case; allow all operands to be processed. The last - two operands are nontrivial on the Vax. +Fri Jun 11 21:50:16 1993 John F Carr (jfc@Athena.mit.edu) -Wed Feb 12 18:58:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rs6000.md (movsf, movdf): Handle a move from an integer register + before reload. This can happen if the user uses asm to put a floating + point variable in an integer register. - * gcc.c (do_spec_1): Only absolute prefixes turn into -L's. - (link_command_spec): Handle LINK_LIBGCC_SPECIAL. +Fri Jun 11 20:04:43 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Wed Feb 12 18:38:29 1992 Chris Smith (csmith at convex.com) + * rs6000.c (rs6000_gen_section_name): Only replace last period + in filename with section name and correct calculation of + string length. - * convex.h (DEFAULT_CALLER_SAVES): define again, bug is fixed. - * convex.h (BRANCH_COST): Define as 0, so we won't use complex - alternatives to branches (whose expansions contain branches - on convex). + * recog.c (constrain_operands): Correctly ignore MATCH_OPERATOR + operands. -Wed Feb 12 17:23:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * reload1.c (eliminate_regs_in_insn): Don't use a later elimination + than eliminate_regs would use. - * config.sub: Accept just `hppa' for machine. + * c-decl.c (finish_decl): Don't modify DECL_INITIAL of a PARM_DECL. - * Makefile.in (Install-collect2): New target. +Thu Jun 10 23:48:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Feb 12 13:55:24 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * genextract.c (main): Use __volatile__, not volatile. - * reorg.c (relax_delay_slots): Don't convert jump to return here. +Thu Jun 10 16:21:08 1993 Michael Meissner (meissner@osf.org) - * configure (a29k-ultra-*): Deleted. - (a29k-*-bsd*): Merged with a29k-ultra-*. - (romp-*-mach*): Fixed typo in xmake_file name. - * xm-a29kunix.h: Renamed from xm-a29k-ult.h. - * x-a29kunix: New file. + * i386/osfrose.h (SUBTARGET_SWITCHES): Add -m{,no-}ident. + (ASM_SPEC): Pass -v to assembler if used. + (OVERRIDE_OPTIONS): Don't allow -fpic if using the OSF/rose object + format. + (ASM_DECLARE_OBJECT_NAME, ASM_DECLARE_FUNCTION_NAME): If using ELF, + emit a .type pseudo op that says the label is either an object or + a function. + (ASM_DECLARE_FUNCTION_SIZE): Copy from svr4.h. + (SCCS_DIRECTIVE): Define. + (ASM_FILE_END): Unless -mno-ident, emit a .ident directive that + identifies GCC and whether several switches are used. - * reload.c (find_reloads): Don't use class from preference if it - is a single-register class. + * i386/osfelf.h (ASM_SPEC): Pass -v to assembler if used. + (OBJECT_FORMAT_ROSE): Undefine. -Wed Feb 12 13:03:16 1992 Tom Wood (wood at dg-rtp.dg.com) +Thu Jun 10 16:20:24 1993 Doug Evans (dje@canuck.cygnus.com) - * m88k.h (FUNCTION_BOUNDARY, ASM_OUTPUT_ALIGN): Pack code tightly - when compiling crtstuff.c (flag_inhibit_size_directive). + * expmed.c (MAX_BITS_PER_WORD): Define earlier. + (shift_cost, shiftadd_cost, shiftsub_cost): Use MAX_BITS_PER_WORD. -Wed Feb 12 10:34:09 1992 Michael Meissner (meissner at osf.org) +Thu Jun 10 12:56:18 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * decrose.h (*_SPEC): Compress some whitespace in the specs. Also, - simpify which LANGUAGE_xxx names are defined, to be the ones uses by - the system(s). - * decstatn.h (*_SPEC): Likewise. - * iris.h (*_SPEC): Likewise. - * mips.h (*_SPEC): Likewise. - * mips-bsd.h (*_SPEC): Likewise. - * mips-news.h (*_SPEC): Likewise. - * mips-sysv.h (*_SPEC): Likewise. + * sched.c (sched_analyze_2): Don't ignore USE insns when creating + dependencies. + (sched_analyze): Likewise. -Wed Feb 12 10:34:09 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Wed Jun 9 12:58:51 1993 Michael Meissner (meissner@osf.org) - * caller-save.c (insert_save_restore): Properly check for insns that - reference CC0. + * configure (i386-*-osfelf): Add new configuration for OSF/1 using + the ELF object file format. -Wed Feb 12 03:17:00 1992 Chris Smith (csmith at convex.com) + * i386/osfelf.h (new file): New config file for OSF/1 with ELF. + Include osfrose.h and redefine things as needed. - * convex.h (DEFAULT_CALLER_SAVES): don't define, to sidestep a bug. - * convex.md (ffssi2): Comment out. + * i386/osfrose.h (SUBTARGET_SWITCHES): Add -melf, -mrose, and + -mno-rose switches. + (HANDLE_SYSV_PRAGMA): Define. + (IDENTIFIER_PREFIX, IDENTIFIER_SUFFIX): Remove unused macros. + (CPP_PREDEFINES): Add -Acpu(i386) -Amachine(i386) -Asystem(unix). + (CPP_SPEC): Define __ROSE__ if compiling for OSF/rose and __ELF__ + if compiling for the ELF object format. + (CC1_SPEC): Pass -mrose if no object format switch. + (DWARF_DBX_REGISTER_NUMBER): Map registers according to the + debugging format. -Wed Feb 12 00:08:42 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) +Wed Jun 9 13:21:03 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * make-libgcc2.com: Do not save .s file. + Mon Jun 7 18:01:31 1993 Mike Stump (mrs@cygnus.com) - * vms.h: Wrap #include in #ifdef L__main/endif + * 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. -Tue Feb 11 21:58:42 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + Wed Jun 2 11:53:24 1993 Mike Stump (mrs@cygnus.com) - * libgcc2.c (DO_GLOBAL_DTORS_BODY): New macro. + * cp-search.c (lookup_fnfields_here): Use TYPE_MAIN_VARIANT on + context types before comparing. Fixes const member functions not + being found in templates. - * make-l2.com: New file to build libgcc2 on VMS. +Tue Jun 8 19:44:23 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * vms.h (DO_GLOBAL_CTORS_BODY): Replacement definition. + * 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). - * vms.h (DO_GLOBAL_DTORS_BODY): Likewise. +Tue Jun 8 13:14:27 1993 John Hassey (hassey@dg-rtp.dg.com) - * make-cccp.com: Define bison and rename as local symbols to avoid - possible conflict with user defined global symbols. + * configure: Added gas support for m88k-* targets. -Tue Feb 11 22:17:32 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * t-luna-gas t-dgux-gas t-m88k-gas: New files in config/m88k. - * sched.c (attach_deaths): Don't treat PIC offset table register - specially; flow.c doesn't. +Tue Jun 8 14:51:44 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * combine.c (make_compound_operation, case AND): We can have - a (and (subreg (lshiftrt ..) ..) ..); handle same as without SUBREG. - - * Makefile.in (HOST_CLIB, HOST_ALLOCA, HOST_MALLOC, HOST_OBSTACK): New - variables to override. - (USE_HOST_*, HOST_LIBDEPS): Use HOST_PREFIX and new variables. - (HOST_LIBS): Use HOST_CLIB. + * loop.c (move_movables): Delete REG_EQUAL notes that describe a + non loop invariant value. -Tue Feb 11 21:32:07 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * sparc.c (call_operand, call_operand_address): Accept any address + not just REG rtx. - * Makefile.in (install-common-headers): Copy byteorder.h to - compilation dir. +Tue Jun 8 18:47:39 1993 Torbjorn Granlund (tege@nada.kth.se) - * config.sub: Allow unicos as operating system. + * sparc.h: (RTX_COSTS): Make cost of MULT depend on TARGET_V8. - * m88kv4.h (INIT_SECTION_ASM_OP): Add #progbits. + * pa.h (CPP_SPEC): Fix typo: define __hp9000s700. - * vax.h (DYNAMIC_CHAIN_ADDRESS): New macro. +Tue Jun 8 06:16:30 1993 John Hassey (hassey@dg-rtp.dg.com) - * c++: Propagate quoted args properly. + * m88k.h (HARD_REGNO_REGS, HARD_RENO_MODE_OK, MODES_TIEABLE_P): + Restrict use of 88110 extended registers to floating point. -Tue Feb 11 16:35:01 1992 Jim Wilson (wilson at cygnus.com) +Mon Jun 7 15:42:10 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * fixincludes: Define TERM to `unknown', to ensure that it is - valid. Otherwise, ex may fail. - * fixinc.svr4: Likewise. + * math-68881.h (atan2): For x <= 0, lump y == 0 with y > 0 + to get the right result in 0, -1 case. -Tue Feb 11 18:04:32 1992 Michael Meissner (meissner at osf.org) +Mon Jun 7 17:50:25 1993 Jeff Law (law@snake.cs.utah.edu) - * decrose.h (CPP_SPEC): Define the macros LANGUAGE_OBJECTIVE_C and - LANGUAGE_C_PLUS_PLUS if we are compiling Objective C or C++. - Silicon Graphics in particular uses LANGUAGE_C_PLUS_PLUS. - * decstatn.h (CPP_SPEC): Likewise. - * iris.h (CPP_SPEC): Likewise. - * mips-bsd.h (CPP_SPEC): Likewise. - * mips-news.h (CPP_SPEC): Likewise. - * mips-sysv.h (CPP_SPEC): Likewise. + * pa.h (RTX_COSTS): Cost of MULT also depends on + TARGET_DISABLE_FPREGS. - * decstatn.h (CPP_PREDEFINES): Eliminate __ versions, since - gcc will do these automatically. Eliminate LANGUAGE_C, since it is - handled in CPP_SPEC. + * pa.h (ASM_OUTPUT_INT): Always emit special "plabel" relocation for + function labels. -Tue Feb 11 15:38:27 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sun Jun 6 16:31:59 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * flow.c (find_basic_blocks): Don't delete labels used in non-jumps. + * gcc.c (translate_options): Don't assume option_map[j].arg_info != 0. - * vms.h (DO_GLOBAL_CTORS_BODY): Modify the return address - only the first time __main is called. + * config/vax/vax.h (PRINT_OPERAND): Prefix constant by `$'. - * fixinc.svr4: Change headers to test __STRICT_ANSI__ instead of - testing __STDC__ != 0. +Sun Jun 6 00:44:48 1993 Torbjorn Granlund (tege@nada.kth.se) - * fixinc.svr4 (mman.h): Fix backward __STDC__ conditional. - Don't add declarations of munmap and mprotect. + * m88k.md (fix_truncdfsi2): Destination is general register, source + general or extended register. + (fix_truncsfsi2): Likewise. - * varasm.c (output_constant): Allow empty constructor for any type. +Sun Jun 6 00:20:25 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - * dwarfout.c (ASM_OUTPUT_DWARF_DATA8): Just one definition; - test WORDS_BIG_ENDIAN "at run time". + * objc-act.c (encode_type): Add cases for DImode, encoded + as 'q' and 'Q' respectively. -Tue Feb 11 09:00:01 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Sat Jun 5 14:02:36 1993 James Van Artsdalen (james@bigtex.cactus.org) - * reload.c (find_reloads): Don't substitute in MATCH_DUPs if we - are not generating replacements. + * c-decl.c (pushdecl): Copy DECL_FRAME_SIZE for inline function decls. -Tue Feb 11 08:45:14 1992 Tom Wood (wood at dg-rtp.dg.com) + * stmt.c (check_for_full_enumeration_handling): Don't create a + default label if all enumeration literals are covered by cases. - * m88kv4.h ({CTORS,DTORS}_SECTION_ASM_OP): Fix typo. +Sat Jun 5 04:49:19 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Feb 10 22:34:47 1992 Chris Smith (csmith at convex.com) + * function.c (uninitialized_vars_warning): Change warning text. + (setjmp_args_warning): Likewise. - * convex.h(HARD_REGNO_NREGS): define correctly for 64-bit regs + * c-typeck.c (convert_for_assignment): Allow conversion to union type + for pointer if the pointer could convert to the union member. -Mon Feb 10 21:50:23 1992 Michael Meissner (meissner at osf.org) +Fri Jun 4 18:09:47 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * mips.h (MIPS_VERSION): Change Meissner version # to 11. - (CPP_SPEC): Define the macros LANGUAGE_OBJECTIVE_C and - LANGUAGE_C_PLUS_PLUS if we are compiling Objective C or C++. - Silicon Graphics in particular uses LANGUAGE_C_PLUS_PLUS. - (FP_DBX_FIRST): Change the test so that stabs in ECOFF uses the - value 38, in addition to stabs in GAS. + * integrate.c (expand_inline_function): Always copy a SUBREG as an + argument into a REG. - * mips.md (all function units): Make the function units simpler, and - not depend on the cpu type, to work around a memory hungry - genattrtab, which attempts to grow the data segment to than 32 - megabytes. +Fri Jun 4 05:52:28 1993 Torbjorn Granlund (tege@nada.kth.se) -Mon Feb 10 16:34:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * pa.h (RTX_COSTS): Make cost of MULT depend on TARGET_SNAKE. - * convex.h (REAL_VALUE_TRUNCATE): Obsolete definition deleted. + * expmed.c (synth_mult): Move code to add or subtract at + leftmost 1-bit to before factoring code to decrease the allowed cost + quickly. Restrict it to handle only odd numbers. + (init_expmed): Limit mult_cost to make synth_mult run faster. - * config.sub (convex-*): These are BSD, not sysv. +Fri Jun 4 23:18:35 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - * dbxout.c (have_used_extensions): New var. - (dbxout_type, dbxout_type_fields, dbxout_symbol): - Set have_used_extensions when use an extension. - (dbxout_symbol): Don't use `Tt' extension unless extensions - have been used. + * objc/sendmsg.c (objc_msg_sendv): Pass a dummy va_list, not 0, + to objc_error. -Mon Feb 10 12:28:59 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Fri Jun 4 16:12:43 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * xm-a29k-ult.h: Fix typo in placement of copyright notice. + * byteorder.h: Use new-style function definitions, so that this + file is both valid C and C++. -Mon Feb 10 05:36:45 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Jun 4 00:59:31 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * dbxout.c (dbxout_type): Don't use GDB extensions if they are empty. + * config/mips/svr4-5.h (CPP_PREDEFINES): + Add _MIPS_SZINT _MIPS_SZLONG _MIPS_SZPTR. -Mon Feb 10 00:10:20 1992 Michael Tiemann (tiemann at cygnus.com) +Thu Jun 3 23:48:39 1993 Jeff Law (law@snake.cs.utah.edu) - * cp-class.c (finish_struct): Use DECL_CHAIN, not TREE_CHAIN to walk - through the list of methods identified by a visibility declaration. + * pa.c (output_function_epilogue): If the last insn in the + current function is a (volatile) call, then emit an extra + nop after the call so that RP will point to a valid instruction. - * cp-cvt.c (convert_pointer_to): No longer need to abort if BINFO is - not a TREE_VEC or AGGR_TYPE node. +Thu Jun 3 18:52:24 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-parse.y (stmt): Improve error handling for try/except. + * config/nextstep.h (INCLUDE_DEFAULTS): Use same order as cccp.c. + Add CCC_INCLUDE_DIR with /ansi and /bsd concatenated. - * cp-class.c (add_method): If we create RTL for a copy of METHOD, - copy the RTL to METHOD's DECL_RTL slot. + * varasm.c (immed_real_const_1): Check explicitly for NaNs. - * cp-method.c (dump_type): Print `const' and/or `volatile' for - VOID_TYPE and REAL_TYPEs, too. +Thu Jun 3 14:37:25 1993 Jim Wilson (wilson@sphagnum.cygnus.com) -Sun Feb 9 21:07:45 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * combine.c (num_sign_bit_copies): At end, return 1 is nonzero has + the high bit set. - * varasm.c (assemble_integer): Pass third arg in recursive calls. - Act appropriately if word-by-word loop doesn't finish. +Wed Jun 2 17:27:31 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Makefile.in (bootstrap*): Don't override value of ALLOCA. + * loop.c (record_initial): Reject insns that store into subregs. - * dbxout.c (dbxout_symbol, dbxout_parms): Do leaf function remap - only if LEAF_REG_REMAP and only in leaf functions. +Tue Jun 1 12:46:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sun Feb 9 16:46:27 1992 Michael Tiemann (tiemann at cygnus.com) + * Version 2.4.3 released. - * cp-init.c (maybe_adjust_addr_for_delete): Build final COND_EXPR - with TREE_TYPE (addr). + * just-fixinc: New file. -Sun Feb 9 14:20:49 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * config/convex/convex.h [_IEEE_FLOAT_] (LINK_SPEC): + Use ___gcc_cleanup, not __gcc_cleanup. - * rs6000.h (rs6000_{bss,private_data,read_only}_section_name): - Add declarations. - (rs6000_text_section_asm_op): Deleted. - (ASM_FILE_START): Initialize section names and enter bss section once. - (EXTRA_SECTIONS): Add `private_data' and `bss'; - delete `global_variable'.. - (read_only_data_section): Don't form name here. - (global_variable_section): Deleted. - (private_data_section, bss_section): New functions. - (ASM_DECLARE_FUNCTION_NAME): Don't write function name with [PR]. - (ASM_OUTPUT_POLL_PROLOGUE): No longer needed. - (SELECT_{RTX_,}SECTION): Just calls data_section or - private_data_section. - (ASM_OUTPUT_LOCAL): Put in bss section. - (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Now a constant. - * rs6000.c (rs6000_text_section_asm_op): Deleted. - (rs6000_{bss,private_data,read_only}_section_name): Add definitions. - (rs6000_gen_section_name): New function. +Tue Jun 1 07:41:26 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sun Feb 9 08:29:21 1992 James Van Artsdalen (james at bigtex.cactus.org) + * rs6000.md (ffs): Delete pattern containing nonexistant instruction. - * i386.h (REGNO_REG_CLASS): Use a lookup table: AIX can't handle - complex tertiary expressions. - (GO_IF_LEGITIMATE_ADDRESS): Simplify slightly for the AIX - compiler. + * alpha.md (extendsidi2): Correctly do operation when in FP + registers and, since expensive, don't have FP regs as a preference. - * i386.c (regclass_map): New variable. Lookup array for - REGNO_REG_CLASS. +Tue Jun 1 00:09:46 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sat Feb 8 01:20:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fixincludes (signal.h): Fix typo in last change. - * cp-parse.y (yyprint): Test __GNUC__, not __GNU__. - Use __inline, like everywhere else. + * configure: Add missing dash in patterns for mips-*-riscos... + In riscos 5 patterns, use fixinc.mips. - * a29k.h, romp.h (OVERRIDE_OPTIONS): Deleted. - (OPTIMIZATION_OPTIONS): Defined, instead. - * rs6000.h (OPTIMIZATION_OPTIONS): New macro. - (OVERRIDE_OPTIONS): Don't change optimization. + * fixinc.mips: New file. - * final.c (leaf_renumber_regs_insn): No longer static. - * dbxout.c (dbxout_symbol, dbxout_parms): Call that. + * config.sub: Handle 386bsd. - * c-decl.c (lookup_name): Do nothing special if type is error mark. - (grokdeclarator): Ignore putative type name whose type is error mark. - * c-parse.y (primary): If var type is error mark, return error mark. +Mon May 31 23:47:00 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-typeck.c (build_array_ref): Return early if arg is error mark. + * config/vax/vax.md (untyped_call, blockage): New patterns, + basically copied from m68k.md. - * Makefile.in (test-protoize): Rule deleted. +Mon May 31 21:46:08 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * stmt.c (emit_case_nodes): Handle just-left-subtree case - like just-right-subtree--delete mysterious code that tests cost_table. + * romp.c (output_epilog): Don't crash if TYPE_SIZE of an arg is + not set. - * varasm.c (decode_reg_name): Accept decimal number as reg name. +Mon May 31 00:15:20 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-decl.c (finish_decl): If pop_obstacks goes to perm obstack, - call permanent_allocation. + * config/mips/x-sony (OLDCC): Fix typo. - * gcc.c (link_command_spec): Use -lgcc, not libgcc.a. + * config/mips/bsd-4.h, bsd-5.h, svr3-4.h, svr3-5.h, svr4-4.h, svr4-5.h: + (STANDARD_INCLUDE_DIR): Renamed from SYSTEM_INCLUDE_DIR. + * config/mips/bsd-5.h, svr3-5.h, svr4-5.h (LINK_SPEC): + Delete excess close brace. -Fri Feb 7 16:56:17 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * pa.md (decrement_and_branch_until_zero): + Reverse all conditions in reload cases. - * rs6000.h (DOLLARS_IN_IDENTIFIERS): Define to zero, because the - assembler does not accept dollar signs. + * Version 2.4.2 released. -Fri Feb 7 15:36:40 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sun May 30 21:14:42 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * Makefile.in (mostlyclean): Fix name of tmp-proto.1. + * integrate.c (expand_inline_function): Increment map->const_age + before copying REG_NOTES. - * configure: Delete excess space in assignment to srcdir. + * sparc.c (sparc_builtin_saveregs): Don't set first_reg to zero + for varargs. - * cp-decl2.c (DOLLARS_IN_IDENTIFIERS): Default now 1, as in C. +Sun May 30 23:58:52 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * i386gas.h (ASM_OUTPUT_LOOP_ALIGN): New macro. - (ASM_OUTPUT_ALIGN_CODE): Use 16-byte boundary on 486. + * objc/Makefile (copy-headers): chmod the headers, not the dir. - * m68k.h (TRANSFER_FROM_TRAMPOLINE): Use operands for the memrefs - to avoid dependence on assembler syntax. + * Makefile.in (objc-headers): Don't dep on force. + Touch objc-headers so copy is not repeated at install time. -Fri Feb 7 10:26:32 1992 Michael Meissner (meissner at osf.org) + * final.c (shorten_branches): Conditionalize last change + on SHORTEN_WITH_ADJUST_INSN_LENGTH. - * Makefile.in (EXTRA_OBJS): New variable for extra object files - needed when linking cc1, cc1plus, and cc1objc. + * pa.h (SHORTEN_WITH_ADJUST_INSN_LENGTH): Defined. -Fri Feb 7 07:34:03 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Sun May 30 13:53:30 1993 Jeff Law (law@snake.cs.utah.edu) - * reload1.c (set_label_offsets, reload_as_needed): Recompute - num_not_at_initial_offset when we pick up offsets from offsets_at. + * final.c (shorten_branches): Call ADJUST_INSN_LENGTH during the + shortening phase. - * unroll.c (unroll_loop): Copy initial and final values to avoid - sharing. + * pa.c (output_cbranch): In forward/long branch case, only + nullify if the delay slot was empty or if the delay slot + was explicitly nullified. + (output_bb): Likewise. - * cse.c (simplify_relational_operation): Complete last change by - correctly handling <= and >=. - -Thu Feb 6 23:57:02 1992 Michael Tiemann (tiemann at cygnus.com) - - * cp-decl.c (grokdeclarator): Invert sense of warning about - initialized extern vars, since in C++, const has funny semantics. + * pa.h (ADJUST_INSN_LENGTH): Call pa_insn_adjust_length. -Thu Feb 6 15:12:02 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * pa.h (INSN_SETS_ARE_DELAYED): Do not call get_attr_type with a + CLOBBER insn. + (INSN_REFERENCES_ARE_DELAYED): Likewise. - * cse.c (simplify_relational_operation): Test properly for floating - equality; don't deduce this from < and >. + * pa.md (call insns and expanders): Do not explicitly clobber %r31. - * xm-mips.h (alloca): Don't define or declare if MIPS_OVERRIDE_ALLOCA. - * xm-irix4.h (MIPS_OVERRIDE_ALLOCA): Defined. + * pa.c (pa_insn_adjust_length): Rework. Add code to handle + millicode calls with unfilled delay slots and inline block moves. + (compute_movstrsi_length): New function to compute the length of + a movstrsi pattern. + (output_cbranch): Long branches with unfilled delay slots can + always nullify the following instruction if their delay slot + was not filled. - * m68k.h (TRANSFER_FROM_TRAMPOLINE): Use explicit reg var - to avoid dependence on register name syntax. +Sun May 30 18:58:22 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * mot3300.h (PUT_SDB_START_DIM, PUT_SDB_NEXT_DIM, PUT_SDB_LAST_DIM): - New macros. - (PUT_SDB_DIM): Deleted. - (PRINT_OPERAND): Handle %$ and %&. - (ASM_OUTPUT_OPCODE): Handle f%$move and f%&move. + * mips.c (function_arg_partial_nregs): For BLKmode values, fits in + remaining register if total size <= MAX_ARGS_IN_REGISTERS, not <. - * gstdarg.h: If not __GNUC__, use system's stdarg.h. +Sun May 30 17:45:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Feb 6 22:36:36 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + * emit-rtl.c (operand_subword): Shift by (HOST_BITS_PER_WIDE_INT / 2), + not by 32. - * vms.h (DEFAULT_GDB_EXTENSIONS): Define as 0. + * reload1.c (reload): If only non-group need is unfilled, see if + regs spilled for earlier classes can satisfy it. -Thu Feb 6 13:32:37 1992 Michael Meissner (meissner at osf.org) + * config/mips/iris4loser.h (ASM_SPEC): Add unconditional -O0. - * mips.h (MIPS_VERSION): Set Meissner version # to 10. - (flag_half_pic, mips_branch_likely): New global variables. - (call_memory_operand): New function declaration. - (half_pic_encode_section_info): Likewise. - (mips_constant_address_p): Likewise. - (mips_debugger_offset): Likewise. - (CC1_SPEC): Make OSF/1 -pic-xxx switches to -mhalf-pic, which is - currently undergoing development. - (DEBUGGER_AUTO_OFFSET): Emit correct information if frame pointer is - omitted. - (DEBUGGER_ARG_OFFSET): Likewise. - (TARGET_SWITCHES): Add -mabicalls and -mhalf-pic switches. - (PIC_OFFSET_TABLE_REGNUM): Define as the GP register ($28). - (EXTRA_CONSTRAINT): Add 'S' constraint for half-pic references. - (CONSTANT_ADDRESS_P): Call mips_constant_address_p. - (ENCODE_SECTION_INFO): Reorder test to test optimize first, and to - call half_pic_encode_section_info if half pic. - (PREDICATE_CODES): Add call_memory_operand. +Sat May 29 15:19:57 1993 Jeff Law (law@snake.cs.utah.edu) - * mips.c (flag_half_pic): New global variable to indicate to produce - half-pic output for OSF/rose. - (mips_branch_likely): New global variable to indicate the branch - should use the branch likely form of the instruction. - (mips_sw_reg_names): Use $fp instead of fp, since regdef.h no longer - defines fp. - (call_memory_operand): New function to return TRUE if the argument - is a valid MEM for a call instruction. - (mips_move_1word): Emit comment in la of half-pic addresses as a - temporary flag to put the right code down. - (mips_constant_address): New function to determine if something is a - constant address or not. Add stub code for -mhalf-pic. - (override_options): Set flag_half_pic if -mhalf-pic. - (override_options): Mark %? as valid for print_operand. - (mips_debugger_offset): New function to correct the offset for - variables and arguments if the frame pointer has been omitted. - (print_operand): %? now emits a 'l' if mips_branch_likeley is set. - (mips_asm_file_start, function_prologue): If -mabicalls, emit the - pseudo ops that the Pyramid System V.4 port seems to want. - (compute_frame_size): Reserve space for saving GP if -mabicalls. - (half_pic_encode_section_info): Stub function for encoding whether - or not to generate a half pic reference. + * pa.md (movdf for const_double): Handle loading + a CONST_DOUBLE into general registers. + (movsf for const_double): Likewise. - * mips.md (type attribute): Add pic attribute. - (cpu attribute): New attribute to get the CPU type. - (branch_likely attribute): New attribute to say whether or not we - can use branch likely instructions. - (define_delay): Note that we can annull false branches if -mips2. - (memory function unit): Add pic in addition to load. - (various function units): Use the cpu attribute. - (branch patterns): Support branch likely instructions if -mips2. - (call, call_internal): Use call_memory_operand instead of - memory_operand. If -mhalf-pic put function address in a register. - (call_value, call_value_internal): Likewise. + * pa.c (singlemove_string): Handle SFmode CONST_DOUBLE + as a source operand. - * decrose.h (INIT_SECTION_ASM_OP): Define as .init. +Sat May 29 14:14:30 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Feb 6 10:07:17 1992 Tom Wood (wood at dg-rtp.dg.com) + * emit-rtl.c (operand_subword): Correctly handle case when + REAL_VALUE_TO_TARGET_DOUBLE is used on a 64-bit machine. - * m88k.c (preserve_registers): Change to walk the epilogue delay - insns in the forward rather than reverse order (for reorg.c change). +Sat May 29 12:15:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Feb 6 02:54:28 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fixincludes (signal.h): Don't mung #endif if nonwhite stuff precedes. - * cse.c (simplify_binary_operation, case PLUS): Don't make - a (const (plus X Y)) with X a CONST_INT. + * rtl.h: Undef PC. - * fixincludes: Simplify egrep command. +Fri May 28 19:01:39 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Feb 6 01:11:28 1992 Mark Eichin (eichin at cygnus.com) + * configure (i[34]86-*-isc*): If gas and not stabs, use isccoff.h. - * cp-lex.c (process_next_inline): if we get a "parse error at end of - saved function text", set yychar to something that - restore_pending_input will digest (if it thinks input is still - pending, it will abort, but we've already reported the problem to - the user.) - -Wed Feb 5 18:42:56 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * reorg.c (fill_simple_delay_slots): When filling delay slots by - searching backward, put each new insn we find at the head of the - delay list instead of at the tail. - - * cse.c (fold_rtx): When associating operations, avoid infinite - recursion if the new expression contains our operand. - -Wed Feb 5 21:18:06 1992 Mark Eichin (eichin at cygnus.com) - - * cp-decl.c (globalize_nested_type): If the type isn't found at all, - this is an anonymous forward reference, so permit it. - Abort if type is already globally defined. - -Wed Feb 5 18:01:12 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * final.c (shorten_branches): Do not call insn_current_length + with an insn which has a non-varying length. Use insn_lengths + instead. - * varasm.c, hp800.h, i386.h, m88k.h, mips.h, romp.h, vms.h: - (ENCODE_SECTION_INFO): Renamed from ENCODE_SEGMENT_INFO. + * c-typeck.c (process_init_constructor): Never set current_index + itself--always store into current_index_node. - * sparc.md (nonlocal_goto): Copy static chain into - virtual_stack_vars_rtx, not frame pointer itself. - (nonlocal goto return recognizer): Jump to %o0+0. + * dbxout.c (dbxout_type): Add missing `;' for array with no domain. - * toplev.c (main): Fix test for -Wid-clash. +Fri May 28 16:47:54 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Wed Feb 5 16:58:15 1992 Ron Guilmette (rfg at ncd.com) + * cse.c (fold_rtx): Correct check for associating shifts and + ending up with a shift count too large; convert to the + largest valid for ASHIFTRT and don't fold all others. - * dwarfout.c (dwarfout_init): Add two words containing the starting - and ending address of the .text section for this compilation unit to - the special initial entry in the .debug_srcinfo section. + * combine.c (make_compound_operation, case ASHIFTRT): Fix typo. + Was using C1 where C2 is needed. -Tue Feb 4 14:51:16 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri May 28 17:50:38 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * dbxout.c (dbxout_symbol): Handle DBX_OUTPUT_CONSTANT_SYMBOL. - (dbxout_block): Handle DBX_OUTPUT_CATCH. + * integrate.c (expand_inline_function): When copy REG_NOTES, must + also call subst_constants. - * cccp.c (lookup_import, add_import, do_include): - Use bcmp and bcopy to access st_ino and ->inode fields. + * gcc.c (process_command): When GCC_EXEC_PREFIX is defined and + tooldir is relative, add it to search path in addition to standard + directory rather than instead of. - * dbxout.c (dbxout_init): Pass syms to DBX_OUTPUT_STANDARD_TYPES. +Fri May 28 00:50:53 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * fold-const.c (operand_equal_p): Check that modes match. - (comparison_equiv_p): New function. - (fold): Use that when converting ?: to min_expr or max_expr. + * config/arm/arm.h (GO_IF_LEGITIMATE_INDEX): Check explicitly for + upper and lower bounds of valid INDEX. - * c-common.c (c_expand_expr_stmt): Test for ERROR_MARK as type. + * genopinit.c (insn_name_ptr): Declare as variable. + (optabs): Fix typo in floatuns case. -Tue Feb 4 12:03:26 1992 Michael Tiemann (tiemann at cygnus.com) +Thu May 27 12:13:55 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * stmt.c (expand_end_case): Don't crash if function called - is not an ADDR_EXPR. + * combine.c (simplify_and_const_int, case IOR, XOR, NOT): Don't + create constant wider than mode of VAROP. -Tue Feb 4 14:17:22 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Thu May 27 20:41:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * expr.h ({float[sd]i[sd]f,fix[sd]f[sd]i,fixuns[sd]f[sd]i}_libfunc): - New declarations. - * optabs.c: Define them. - (expand_float, expand_fix): Use them instead of making a new - SYMBOL_REF each call. - (init_optabs): Initialize them. + * configure (i[34]86-ibm-aix*): Set fixincludes. + (i[34]86-*-sco*): Don't test --with-gas, just --with-stabs. -Tue Feb 4 00:27:35 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed May 26 16:05:05 1993 Michael Collison (collison@osf.org) - * Makefile.in (protoize.1, unprotoize.1): Rename temp files < 14 chrs. + * jump.c (jump_optimize): Insert missing GET_MODE call. - * cccp.c (skip_if_group): Make unknown cmd name a pedantic warning. +Wed May 26 18:40:09 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) -Mon Feb 3 18:10:41 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * i960.md (ashlsi3): Use shlo instead of shli. - * romp.h (LEGITIMATE_CONSTANT_P, ENCODE_SEGMENT_INFO): Use - SYMBOL_REF_FLAG. +Wed May 26 00:34:33 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * x-romp-mach: New file. - * configure (romp-*-mach*): New alternative. + * config/nextstep.h (INCLUDE_DEFAULTS): Undo previous change. -Mon Feb 3 16:43:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Makefile.in (gcc.xtar.z): Renamed from gcc.xtar.Z. Use gzip. + (dist): Depend on gcc.xtar.z. + (mostlyclean): Delete temp-gcc.xtar.z. - * cp-typeck.c (warn_for_assignment): Print arg num in origin 1. + * Version 2.4.1 released. - * sparc.md (nonlocal_goto trap recognizer): Fix opcode spelling. + * c-lex.c (readescape): Don't complain for \% unless pedantic. - * function.c (fix_lexical_addr): Properly search for correct display. + * config/mips/mips.h (ASM_SPEC): If -noasmopt, pass -O0. + * config/mips/iris3.h: Likewise. - * romp.h (OVERRIDE_OPTIONS): Don't set flag_omit_frame_pointer. + * config/mips/iris4loser.h: New file. + * config/mips/iris4gl.h: New file. + * configure (mips-sgi-iris4loser): New alternative. -Mon Feb 3 11:11:58 1992 Michael Tiemann (tiemann at cygnus.com) +Tue May 25 18:05:50 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * gcc.c (@c++-cpp-output): Delete extraneous "}}}" at the end of the - rule. + * dbxout.c (dbxout_block) [DBX_BLOCKS_FUNCTION_RELATIVE]: + Get function name from DECL_RTL not from DECL_ASSEMBLER_NAME. + * config/sparc/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise. -Mon Feb 3 11:38:19 1992 Ron Guilmette (rfg at ncd.com) + * m68k/sun3.h (FUNCTION_VALUE, FUNCTION_VALUEX): Ifdef out. - * dwarfout.c (dwarfout_init): Generate an initial 2-word entry in the - .debug_srcinfo section containing the addresses of the starts of the - .line and .debug_sfnames sections. Generate it after the initial entry - for the .line section. + * c-typeck.c (convert_for_assignment): When allowing mixing of + signed and unsigned pointers, compare unsigned types not type sizes. - * dwarfout.c [DWARF_TIMESTAMPS]: Ensure time_t and time declared. - (dwarfout_init): Make third word of initial .debug_srcinfo entry be - the compilation date/time if DWARF_TIMESTAMPS is defined, or else -1. +Tue May 25 00:08:42 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * dwarfout.c (dwarfout_init): Output compilation directory name as - the first thing in the .debug_sfnames section. + * nextstep.h (INCLUDE_DEFAULTS): Delete /NextDeveloper/Headers/ansi + and /NextDeveloper/Headers/bsd. -Mon Feb 3 04:12:51 1992 James Van Artsdalen (james at bigtex.cactus.org) + * regclass.c (regclass): Fix paren error. - * Makefile.in (install-dir): `parent' is a shell variable. + * c-decl.c (finish_decl): If type is laid out, but decl is not, + call layout_decl. -Mon Feb 3 09:43:51 1992 Tom Wood (wood at dg-rtp.dg.com) + * protoize.c (include_defaults): Update to match cccp.c. + * Makefile.in (stamp-proto): + Pass LOCAL_INCLUDE_DIR based on local_prefix. - * m88k.h (EXTRA_SECTIONS): Use init and fini sections from svr3.h, - but only when using svr3.h. + * stmt.c (expand_asm_operands): Detect constants as outputs. -Sun Feb 2 19:50:29 1992 James Van Artsdalen (james at bigtex.cactus.org) +Mon May 24 18:25:23 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * i386.h (ADDRESS_COST): New macro. + * collect2.c (main): Use TARGET-gcc, not gcc-TARGET. -Sun Feb 2 17:08:47 1992 Michael Meissner (meissner at osf.org) + * reload1.c (delete_output_reload): Don't delete output reload + if cannot_omit_stores is set for that pseudo. + (reload): Init and clear cannot_omit_stores. + (eliminate_regs): Set cannot_omit_stores. - * mips.c (simple_memory_operand): Don't recognize references to - variables in .sdata or .sbss, which has the effect of not putting - stores into delay slots. This fixes a bug and also doesn't temp the - MIPS linker from trying to put 4 instructions into the delay slot - when it rewrites the function as a PIC function. + * configure (i[34]86-*-sco3.2v4*): Test --with-stabs, not --with-gas. -Sun Feb 2 16:58:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon May 24 14:10:59 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Do ON_EXIT last. + * integrate.c (expand_inline_function): Set MEM_IN_STRUCT_P for + return value if needed. - * Makefile.in (install-dir): Create the parent of mandir if nec. +Mon May 24 13:10:07 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * real.h (REAL_VALUE_TRUNCATE): sizeof says what cast to float does. + * cp-call.c (convert_harshness): Don't dereference a null parm. - * dbxout.c (DBX_OUTPUT_MAIN_SOURCE_DIRECTORY): New parameter macro. - (DBX_OUTPUT_MAIN_SOURCE_FILENAME, DBX_OUTPUT_SOURCE_FILENAME): - (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise. - These are used in place of ASM_... - * newpbb.h (DBX_OUTPUT_MAIN_SOURCE_FILENAME): Macro renamed. - (DBX_OUTPUT_SOURCE_FILENAME): Likewise. - * next.h (DBX_OUTPUT_MAIN_SOURCE_DIRECTORY): Macro renamed. - (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise. + * cp-method.c (dump_init): Don't try to print out the first operand + of a TARGET_EXPR if it's not there. -Sun Feb 2 12:51:54 1992 Michael Tiemann (tiemann at cygnus.com) +Mon May 24 10:13:26 1993 Mike Stump (mrs@poseidon.cygnus.com) - * cp-typeck.c (build_component_ref_1): Call `compute_visibility' - with a BASETYPE_PATH, not a TREE_LIST. + * expr.c (expand_expr): Finish Tue Aug 18 23:07:33 1992 change. It + didn't handle the target != 0 case, now it does. - * cp-class.c (build_vtable_entry): Apologize if we cannot build a - proper vtable because of builtin liminations. +Mon May 24 00:30:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sun Feb 2 07:30:08 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * expr.c (expand_expr, TARGET_EXPR case): + Handle case where DECL_RTL is nonzero. - * reload.c (combine_reloads): Don't combine two reloads with different - secondary reloads; copy secondary reload to combined reload. + * configure (i[34]86-*-isc*): Use install-headers-cpio. - * cse.c (cse_main): PIC_OFFSET_TABLE_REGNUM is not clobbered by calls - if -fpic or -fPIC. - * reorg.c (mark_target_live_regs): Likewise. - * sched.c (attach_deaths): Likewise. + * genopinit.c (optabs): Add backslashes to prevent SCCS confusion. + * config/m68k/tower-as.h (CONSTRUCTOR_NAME_FORMAT): Likewise. - * flow.c (find_basic_blocks): Don't separate a CALL_INSN from - following CLOBBER insns. + * combine.c (subst): For subreg-of-constant, don't gen_lowpart + if it's a big-endian machine and constant is multi-word. - * function.c (use_variable, use_variable_after): Don't interpret - reference to internal arg pointer as variable-sized object. - (expand_function_start, expand_function_end): Add USE for virtual - arg pointer if stupid alloc and it is not the real arg pointer. + * gstddef.h (size_t) [__GNUG__]: Don't typedef it if it's + already defined as a macro. - * flow.c (insn_dead_p, mark_set_1, mark_used_regs): Don't treat - ARG_POINTER_REGNUM specially if it isn't fixed. - * sched.c (attach_deaths): Likewise. - * reorg.c (mark_target_live_regs): Likewise; also make set of regs - clobbered on call agree with cse and flow. + * config/i386/x-aix (CLIB): Defined. + * config/i386/aix386.h (STARTFILE_SPEC, LINK_SPEC): New overrides. + * config/i386/xm-aix.h: Undef TRUE and FALSE before #include. + * config/i386/aix386ng.h (STARTFILE_SPEC, LINK_SPEC): Don't use + crtbegin.o, crtend.o, crtn.o, libp.a. Use gcrt0.0, not gcrt1.o. + (ENDFILE_SPEC): Use crtn.o. + (CPP_PREDEFINES): Delete _AIX, AIX, and _I386. Add ps2, unix. + (CPP_SPEC): Add _AIX, _I386, _MBCS. Handle -posix. + (ASM_SPEC): Turned off. + * config/i386/t-aix: New file. + * configure (i[34]86-ibm-aix*): Use t-aix if using gas. - * function.c (fix_lexical_addr): Rework to look for AP references - using internal_arg_pointer; make some related cleanups. - * expr.c (expand_expr, case VAR_DECL, SAVE_EXPR): Treat - inline_function_decl just like current_function_decl. - * stmt.c (expand_end_bindings): When restoring arg pointer, restore - into the virtual form so we will subtract the proper offset, since - the saved value includes the offset. + * config/i386/sco4.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): + New override definitions. -Sat Feb 1 14:41:34 1992 Ken Raeburn (Raeburn@Cygnus.COM) + * toplev.c (compile_file): Undo previous changes (that were to call + assemble_zeros whenever DBX_DEBUGGING_INFO is defined). - * cp-pt.c (end_template_decl): For method template, no longer call - popclass; it isn't needed any more. If after processing template - we're not at the global binding level, throw away any other binding - levels, rather than aborting. Also deleted some other unused code. +Sun May 23 16:31:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sat Feb 1 09:13:47 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * config/nextstep.h (INCLUDE_DEFAULTS): Fix missing comma. - * xm-rs6000-mach.h, rs6000-mach.h: New files. - * configure (rs6000-*-mach): New option. + * config/i386/x-aix (FIXINCLUDES): Defined. + * fixinc.ps2: New file. -Sat Feb 1 00:57:24 1992 James Van Artsdalen (james at bigtex.cactus.org) +Sun May 23 14:51:06 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - * i386.c: Include tree.h - (symbolic_operand): New predicate function. - (symbolic_reference_mentioned_p): New function. - (legitimize_pic_address,emit_pic_move): New functions. - (function_prologue): Delete unused variable nregs. - If the PIC reg is used, save the old contents and initialize with - a pointer to the GOT. - (simple_386_epilogue): Count the PIC reg if it is used. - (function_epilogue): Delete unused variable "insn". Restore the - original contents of the PIC reg if it was used. + * objc/objc.h (objc_protocol): New field `class_pointer'. - (output_pic_addr_const): New function to handle PIC symbol - reference suffixes. - (print_operand_address): Use that if flag_pic is true. - (print_operand): Likewise. Don't print a prefix in front of any - constant if the 'P' code is used. + * objc/init.c (__objc_init_protocols): Call recursively + on super protocols. Make local var `proto_class' static. - (output_387_binary_op): abort if the op is not one we handle. +Sun May 23 00:49:17 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - (maximum_field_alignment): New variable. - (handle_pragma_token): New function. Handle `weak' and `pack'. + * Makefile.in (BISONFLAGS): Remove -v since output file names are long. - * i386.h (CONDITION_REGISTER_USAGE): New macro. Mark PIC reg as - fixed and call used if flag_pic is true. - (PIC_OFFSET_TABLE_REGNUM): New macro. - (FUNCTION_PROFILER): Output PIC compatible code if flag_pic. - (INITIAL_ELIMINATION_OFFSET): Count the PIC reg if it is used. + * reload1.c (choose_reload_regs): If inheriting a spill reg, + and reload_out has a wider mode, just copy from that spill reg, + don't use it for the reload. - (GO_IF_LEGITIMATE_ADDRESS): If flag_pic is true, reject bare - label or symbol references, but allow constant pool references. - In all cases, don't bother to check for a constant as the first - operand of a PLUS. - (LEGITIMIZE_ADDRESS): Call legitimize_pic_address for symbolic - references if flag_pic is true. In all cases, HImode regs are not - valid memory pointers. - (LEGITIMATE_PIC_OPERAND): New macro. - (SYMBOLIC_CONST): New macro. - (ENCODE_SEGMENT_INFO): New macro to notice static variables. - (CONST_COSTS): Symbolic constants cost more if flag_pic is true. + * reload.c (push_reload): Fix NULL arg in last change. - * i386.md (movsi): Use define_expand. Call emit_pic_move for - symbolic constants if flag_pic is true. - (divmodM4,udivmodM4): Change predicates so that only regs are - allowed in operands that can't be a mem. Avoids reload - congestion. - (indirect_jump): Allow any reg or mem as operand, not just reg 0. - (casesi): New insn, only used if flag_pic is true. - (call,call_pop,call_value,call_value_pop): Use define_expand to - record if this function ever emits a call, which will implicitly - use the PIC address register. + * config/m88k/x-tekXD88 (AR_FLAGS): Defined. - * svr4.h (SELECT_SECTION): Any item whose initial value involves - linker relocation must go in the data section if flag_pic is true. +Sat May 22 14:49:59 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * i386v4.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output in PIC style. If - flag_pic is false, ADDR_DIFF_VECs are not output and this is not - used. - (JUMP_TABLES_IN_TEXT_SECTION): New macro. + * config/mips/mips.h (ASM_SPEC): If -noasmopt, don't pass -O2. + * config/mips/iris3.h: Likewise. - (WEAK_ASM_OP,DEF_ASM_OP): New macros. - (maximum_field_alignment): New variable. Declare here. - (PCC_BITFIELD_TYPE_MATTERS): New macro. Value depends on - maximum_field_alignment. - (BIGGEST_FIELD_ALIGNMENT): New macro. Likewise. - (HANDLE_PRAGMA): New macro. - (ASM_OUTPUT_ALIGNED_LOCAL): New macro. + * config/nextstep.h (INCLUDE_DEFAULTS): Put /usr/include/bsd last. -Sat Feb 1 00:15:41 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/alpha/alpha.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): + Use hex if infinite, nan, or minus zero. - * flow.c (flow_analysis, find_basic_blocks): - If have nonlocal labels, calls end basic blocks. - Each call can jump to each nonlocal label. - Pass extra arg to find_basic_blocks. - * function.c (nonlocal_label_rtx_list): New function. + * real.c (target_isnan): Use GET_REAL macro to get argument. + (ereal_to_int): Fix potentially wrong-endian argument passed to eisnan. - * dbxout.c (dbxout_init): Vars wd and wd_gotten moved to top level - and renamed to cwd and cwd_gotten. +Fri May 21 14:24:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-decl.c (start_function): -Wmissing-prototypes warns if static - function was previously used without a prototype. + * config/nextstep.h (INCLUDE_DEFAULTS): Add /usr/include/bsd. - * loop.c (find_and_verify_loop): Initialize uid_loop_num[0]. - (loop_optimize): Give up fast if no loops. + * cccp.c (default_include): Put TOOL_INCLUDE_DIR after + LOCAL_INCLUDE_DIR in non-cross case. - * stmt.c (expand_end_bindings): Don't adjust fp in nonlocal goto hndlr - if there is a nonlocal_goto insn. + * real.c (emdnorm): Fix typo affecting roundoff behavior in XFmode. - * Makefile.in (cccp.o): Use just libdir in GPLUSPLUS_INCLUDE_DIR. + * config/m68k/amix.h (CPP_PREDEFINES): Add -D__svr4__. + (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): + New override definitions. - * gcc.c (do_spec_1): Supply missing arg in some recursive calls. + * collect2.c (main) [CROSS_COMPILE]: Use TARGET-TOOL for full_... -Fri Jan 31 21:50:03 1992 Jeffrey A. Law (law at wombat.gnu.ai.mit.edu) + * collect2.c (main): For -debug, if ..._file_name is a null pointer, + say so instead of crashing. - * m68k.h (OVERRIDE_OPTIONS): -fPIC is only supported on the 68020 - and later cpus. Give an error if -fPIC is tried on a 68000. + * m68k.md (cmpxf2 recognizer): Test SGS_CMP_ORDER, not HPUX_ASM. -Fri Jan 31 21:39:33 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * c-common.c (constant_expression_warning) + (overflow_warning, convert_and_check): Change pedwarn to warning. - * flow.c (find_auto_inc): If emitting a move insn in front of the - first insn in a block, update basic_block_head. + * reload.c (push_reload): When IN is a subreg of a multiword reg + that uses a funny number of registers, and SUBREG_WORD is nonzero, + and IN must match an output, reload both the reg and the subreg. - * caller-save.c (init_caller_save): Correctly check for case where the - save or restore insns aren't recognized. + * protoize.c (add_symbol, unexpand_if_needed, abspath): + Supply missing arg to savestring. -Fri Jan 31 21:02:35 1992 Mark Eichin (eichin at cygnus.com) + * Makefile.in (info, dvi): New targets. - * cp-decl.c (pushtag): when calling pushdecl, if we're in a - class_binding_level just do a pushdecl_class_level. Otherwise - pushdecl gets called multiple times on class-nested enums, which - short circuits the name list in the global_binding_level. +Fri May 21 10:28:41 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Fri Jan 31 00:14:20 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-pt.c (subst): Don't use a method's arguments unless it has some. - * stmt.c (expand_goto): Use nonlocal_goto pattern if it exists. - * sparc.md (nonlocal_goto): New pattern. - Also nameless pattern for the special trap insn. +Fri May 21 11:51:20 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - * gcc.c (S_ISDIR): Add default definition. + * objc/sarray.h (sarray_get): Add #ifdef case for + !defined(PRECOMPUTE_SELECTORS) and OBJC_SPARSE2. + * objc/sarray.c (sarray_at_put): Likewise. + +Fri May 21 00:51:10 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * function.c (expand_function_end): - Set up arg_pointer_save_area at start of function. + * configure (mips-*-ultrix*): Renamed from mips-dec-ultrix*. - * c++: Accept -nostdlib, not -nostinc. +Thu May 20 23:16:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * va-sparc.h: If GCC v1, define __extension__ as nothing. - * va-i860.h, va-pyr.h, va-spur.h: Likewise. + * reload1.c (choose_reload_regs): Handle earlyclobbers + when inheriting from reg_last_reload_reg. - * cp-class.c (finish_struct): Fill in DECL_ALIGN of vtable field. +Thu May 20 13:59:16 1993 Doug Evans (dje@canuck.cygnus.com) - * regclass.c (reg_class_record): - Don't follow indirect loops in constraints. + * Makefile.in (install-dir): Fix syntax, make tooldir before assertdir. - * function.c, expr.h (current_function_internal_arg_pointer): New var. - * function.c (assign_parms): Set it. - (push_function_context, pop_function_context): Save and restore it. - * expr.c (expand_builtin): Use it. - * function.h (struct function): New slot to save it in. +Thu May 20 08:52:30 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cse.c (cse_main): Calls do clobber arg pointer if not fixed. + * gstddef.h [_ANSI_H_]: Handle __need_size_t and __need_wchar_t. - * hp320.h (HAVE_ATEXIT): New definition. + * fixincludes (Fixing CTRL): Reject CTRL or _CTRL following digit. - * Makefile.in (ALL_CPPFLAGS): New variable. - Use in all compile steps instead of CPPFLAGS. - (X_CPPFLAGS, T_CPPFLAGS): New vars, used in ALL_CPPFLAGS. - * x-vax (X_CPPFLAGS): Use this instead of X_CFLAGS. + * enquire.c (F_check): Check NO_LONG_DOUBLE_IO. - * stmt.c (expand_end_bindings): Fix typo. +Wed May 19 23:18:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Jan 31 12:15:09 1992 Ron Guilmette (rfg ay ncd.com) + * config/i386/x-isc3 (X_CFLAGS): Delete -DPOSIX_JC. - * dwarfout.c (LINE_LAST_ENTRY_LABEL): Definition added. - (dwarfout_finish): Put a label on the last .line section entry. - (dwarfout_finish): Make first word of final .debug_srcinfo record - contain the offset of the final .line section entry. + * real.c (e24toe, e53toe, e64toe): Fix sign in conversions + of -infinity. Do eclear before einfin. -Fri Jan 31 10:31:44 1992 James Van Artsdalen (james at bigtex.cactus.org) +Wed May 19 15:37:20 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * cp-tree.c (__eprintf): Make definition match assert.h + * va-sparc.h (va_dcl): Restore accidentally deleted __builtin_va_alist declaration. -Thu Jan 30 23:17:11 1992 Per Bothner (bothner at cygnus.com) - - * c++: The flags -c, -S, or -E suppress passing -lg++ - to gcc. (Otherwise, gcc prints a warning.) - -Thu Jan 30 21:10:02 1992 Ron Guilmette (rfg at ncd.com) - - * dwarfout.c (dwarfout_init): Fix generation of initial .debug_aranges - entry to be Dwarf Version 1 compliant. + * objc-act.c (handle_class_ref): Call assemble_constant_align + before output_constant. + * varasm.c (assemble_constant_align): New function. -Thu Jan 30 15:51:27 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) - - * i386sun.h (LINK_SPEC): Delete useless %{-Bstatic} term. - * sun2o4.h (LINK_SPEC): Likewise. - * sun3.h (LINK_SPEC): Likewise. - * sparc.h (LINK_SPEC): Delete useless %{Bstatic} term. - - * cccp.c (default_include): Delete use of obsolete - NO_STANDARD_INCLUDE_DIR macro. - * protoize.c (default_include): Likewise. +Wed May 19 13:40:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Makefile.in (libgcc1.null): Delete dummy.o and dummy.c. + * config/i860/x-sysv4 (X_CFLAGS): Deleted. -Thu Jan 30 15:34:06 1992 Michael Meissner (meissner at osf.org) + * configure (i[34]86-*-isc*): If version is 3, use x-isc3. + * config/i386/x-isc3: New file. - * gstdarg.h: Include va-mips.h on MIPS systems. +Mon May 19 21:47:49 1993 Jeff Law (law@snake.cs.utah.edu) - * va-mips.h (va_start): Provide alternate definition when included - via stdarg.h. - (va_arg): Use __alignof(...) instead of sizeof(...) to determine - whether or not to dword align the argument pointer. + * Fix calling convention for indirect calls on the PA. + * calls.c (expand_call): Declare and set current_call_is_indirect. + (emit_library_call, emit_library_call_value): Likewise. + * function.c (assign_parms): Likewise. + * pa.h (TARGET_SHARED_LIBS): Define as 1. + (FUNCTION_ARG): If this is a call through a function pointer, then + the caller passes all arguments in general registers. -Thu Jan 30 13:06:36 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * pa.h (FUNCTION_ARG_REGNO_P): Account for registers which may + be unavailable on particular cpu models. Fix indentation. - * Makefile.in (install-common): Get c++ and g++ from srcdir. +Wed May 19 13:13:42 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * i860.h (FIXED_REGISTERS): Arg pointer is no longer fixed. + * loop.c (scan_loop): Treat pseudo duplicated for exit tests just + like we treat user vars in seeing if we can move a SET. - * assert.h (__eprintf): Add const to string args in GCC ANSI case. + * combine.c (set_nonzero_bits_and_sign_copies, nonzero_bits): + If we have a positive constant that is negative in the mode + it is being used in, treat it as negative. + * rs6000.h, alpha.h (SHORT_IMMEDIATES_SIGN_EXTEND): Define. - * Makefile.in (cccp.o, protoize.o, unprotoize.o): - Define LOCAL_INCLUDE_DIR based on $(prefix). + * emit-rtl.c (operand_subword): Reject cases when BITS_PER_WORD + is greater than HOST_BITS_PER_INT unless OP is const0_rtx. - * stmt.c (expand_end_bindings): Arg pointer needs no special - treatment if not fixed. +Tue May 18 16:31:06 1993 Torbjorn Granlund (tege@nada.kth.se) - * cp-parse.y, c-lex.c (yyerror): - Avoid sign-extension of characters in error messages. + * pa.h (INITIALIZE_TRAMPOLINE): Make 2:nd flush, end_addr, + at the last real insn in the trampoline. -Thu Jan 30 11:39:56 1992 Ron Guilmette (rfg at ncd.com) +Tue May 18 13:35:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * dwarfout.c (dwarfout_finish): Fix generation of .debug_pubnames - terminating entry to be 4-bytes of zero followed by a null string. + * Makefile.in (assertdir): use $(tooldir)/include for this. + (install-dir): Always create assertdir and tooldir. -Thu Jan 30 09:30:19 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * config/arm/arm.md (add/asl recognizer): Use space, not #, after asl. + Shuffle operands differently. - * rs6000.c (ccr_bit): Fix typo causing reference to possibly - undefined operand. + * objc-act.c (synth_module_prologue): Set TREE_PUBLIC in umsg_decl. - * rs6000.h (ASM_SPEC): Remove until new AIX assembler is available. - (ASM_OUTPUT_POOL_PROLOGUE): Add missing "." in csect name. - (ENCODE_SEGMENT_INFO): Deleted. - (ASM_OUTPUT_EXTERNAL): Move code from ENCODE_SEGMENT_INFO here, - using permalloc instead of putting name into saveable_obstack. - Re-enable macro. - (ASM_OUTPUT_EXTERNAL_LIBCALL): Re-enable. + * Makefile.in (infodir): New variable. + (install-dir): Create that dir. + (install-info): New rule. + (install-normal): Depend on install-info. -Wed Jan 29 21:50:26 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * fixincludes: Use $file. rather than $file.sed + when $file is or might be more than 10 characters long. - * rs6000.h (ASM_SPEC): Add -u, now require new /bin/as for AIX. - (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): No longer needed. + * config/i386/isc.h (LIB_SPEC): Handle -posix before -shlib. - * rs6000.h (ENCODE_SEGMENT_INFO): New macro; add [RW] or [DS] to name. - (RS6000_OUTPUT_BASENAME): New macro. - (ASM_OUTPUT_*): Use it instead of assemble_name when required. - (ASM_OUTPUT_POOL_PROLOGUE): Remove trailing [RW] or [DS]. - * rs6000.c (print_operand, case 'z'): New case, for name in CALL_INSN. - (output_toc): Use RS6000_OUTPUT_BASENAME instead of assemble_name - for toc entry name. - * rs60000.md (call): Use %z. + * config/mips/x-sony: New file. + * configure (mips-sony-bsd*): Use x-sony. -Wed Jan 29 17:17:42 1992 Michael Tiemann (tiemann at cygnus.com) + * Makefile.in (local_prefix): Do not default from $(prefix). - * cp-init.c (build_member_call): Fix bug involving static members - that are function pointers. +Tue May 18 09:28:02 1993 Chris Smith (csmith@convex.com) -Wed Jan 29 13:25:18 1992 Tom Wood (wood at dg-rtp.dg.com) + * convex.c (replace_pushes, emit_ap_optimizations): Delete. - * gcc.c (do_spec_1): For %D, only add -L options that are relevant. - (is_linker_dir): Determine if a -L option is relevant. +Mon May 17 18:07:53 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Jan 29 00:57:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fixinc.svr4 (ieeefp.h): Delete definitions of __mips and __m68k. - * configure: Turn ns32k alternatives back on. +Mon May 17 17:00:00 1993 DJ Delorie (dj@ctron.com) - * Makefile.in (getopt.o, getopt1.c): Join two lines into one. + * configure.bat: Fix sed for version.c to handle both with + and without spaces correctly (MS-DOS). - * x-i386v4, x-i860v4 (GCC_CFLAGS): Add missing `-B./'. +Mon May 17 12:26:55 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * reload.c (find_dummy_reload, push_reload): Don't reuse dying input - reg as a reload if it is a fixed reg. + * rtl.c (init_rtl): Correct number of 'w's in CONST_DOUBLE format. - * c-tree.h (C_MISSING_PROTOTYPE_WARNED): Deleted since unused. +Mon May 17 00:07:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Jan 29 00:42:34 1992 Tim Moore (moore at fast.cs.utah.edu) + * Version 2.4.0 released. - * hp800.c (print_operand): Handle INSN_ANNULLED_BRANCH_P in '*' - operand type. - * hp800.h (DEFAULT_GDB_EXTENSIONS): Define as 0. - * hp800.md (cmpsi): Change arith_operand to arith5_operand. - (bCC patterns): Delete pattern that matches a compare with a - constant first operand. Change arith_operand to arith5_operand. - (fp branches): Change type to cbranch. + * Makefile.in (extraclean): Remove junk from objc subdir. - * function.c (assign_parms): Set current_function_arg_offset_rtx - correctly for ARGS_GROW_DOWNWARD. - * gstdarg.h: Include va-hp800.h. - * va-hp800.h: Complete rewrite. + * fixinc.svr4 (ieeefp.h): Delete definitions of __i860 and __m88k. -Tue Jan 28 17:04:38 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * mips/iris4.h (ASM_OUTPUT_ASCII): New overriding definition. - * varasm.c (make_decl_rtl): Delete unused var `i'. + * pa.h (INITIALIZE_TRAMPOLINE): Pass both the starting and ending + addresses of the trampoline to the cacheflush pattern. + * pa.md (cacheflush): Flush the cache entries associated with + both the starting and ending addresses of the trampoline. - * c-convert.c (convert_to_pointer): - Abort if no integer type is as wide as a pointer. + * gvarargs.h, gstdarg.h [__svr4__ __i860__]: + Define _VA_LIST only if not defined already. - * gcc.c (default_compilers, .i case): Add error message for -pg - and -fomit-frame-pointer incompatibility. +Mon May 17 00:40:36 1993 James Van Artsdalen (james at bigtex.cactus.org) - * Makefile.in (install-common): Install c++ and g++ shell scripts in - bindir. + * i386/sysv4.h (BIGGEST_FIELD_ALIGNMENT, PCC_BITFIELD_TYPE_MATTERS): + Deleted. Now handled by HANDLE_SYSV_PRAGMA. + (HANDLE_SYSV_PRAGMA): Deleted: already defined by svr4.h. -Tue Jan 28 15:44:10 1992 Michael Collison (collison at osf.org) +Sun May 16 19:25:38 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * x-encrose (OLDCC): changed to $(GNU_ROSE_BIN)/gcc + * unroll.c (initial_reg_note_copy, final_reg_note_copy): New functions. + (copy_loop_body): Use new function to copy REG_NOTES. - * ns32k.h: Added trampoline code. +Sun May 16 13:03:58 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Jan 28 14:19:52 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * Makefile.in (extraclean): Delete junk in subdirs of config. + (distclean): Delete {c,cplus,objc}-parse.output. - * rtl.def (UNSPEC, UNSPEC_VOLATILE): New RTL codes. - * cse.c (canon_hash): UNSPEC_VOLATILE operations are volatile. - * loop.c (invariant_p): Likewise. - * reorg.c (mark_referenced_resources): Likewise. - * sched.c (sched_analyze_2): Likewise. - * rtlanal.c (volatile_refs_p, side_effects_p, may_trap_p): Likewise. - (reg_referenced_p): Support UNPEC and UNSPEC_VOLATILE. + * reorg.c (find_end_label): Update insn after calling emit_jump_insn. -Tue Jan 28 11:50:35 1992 Michael Meissner (meissner at osf.org) + * fixinc.svr4 (ieeefp.h): Delete `#define __sparc' also. - * mips.c (toplevel): Add include of , since isdigit is - used. +Sun May 15 01:37:19 PDT 1993 Ron Guilmette (rfg@netcom.com) -Tue Jan 28 05:47:08 1992 Michael Tiemann (tiemann at cygnus.com) + * fixinc.svr4 (ieeefp.h): Delete `#define __i386' line. - * cp-decl.c (xref_tag): Addition to eichin's Jan 25 change. If REF - is extant, and it's seen in the global scope outside of - CLASS_BINDING_LEVEL, set its IDENTIFIER_GLOBAL_VALUE if NULL. +Sat May 15 10:11:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-class.c (pushclass): Forcibly remove any remnants of incomplete - type that was previously pushed. + * math-68881.h: Add conditional against multiple inclusion. - * cp-decl.c (various places): Remove all error messages about C++ - constructs being invalid in C language context; extern "C" is a - linkage specifier--no more. + * gvarargs.h [__svr4__ __i860__] (_VA_LIST): Do define. + * gstdarg.h: Likewise. - * cp-method.c (dump_type_prefix,dump_type): Never need to output - `unsigned' since its always part of an unsigned integer type name. - (build_overload_name): Change test for unsigned to use - `unsigned_type' instead of examining TREE_UNSIGNED. + * toplev.c (compile_file): If support dbx output, + always output 0 at start of text section. - * cp-call.c (ideal_candidate): Don't convert PARMS in place if - BASETYPE is NULL_TREE. + * cp-tree.h (error_not_base_type): Fix typo in decl. -Tue Jan 28 02:21:31 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat May 15 09:08:23 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * c-decl.c (grokdeclarator): Use `auto' for nested fn fwd decls. + * expr.c (expand_assignment): Fix error in last change. - * g++: New file. + * rs6000.md (movqi, movhi, movsi): Make sure that address returned + from force_const_mem is valid. - * fixincludes: - Convert machine names in #if's to have underscores. - Fix specific files stdlib.h, locale.h, hsfs/... for Sunos 4.1. - * fixinc.svr4: Convert machine names in #if's to have underscores. + * i860.h (INITIALIZE_TRAMPOLINE): Don't make improper SUBREGs + and ensure that CXT and FNADDR are in registers. - * gcc.c (do_spec_1): For %D, also make -L's for startfile_prefix. - Also append the machine + * convex.c (insert_ap_loads): Initialize AP_IS_LIVE to 0 at + start of both loops, not just first one. - * fold-const.c (fold_convert): Properly handle real-to-real case. + * convex.h (REGNO_REG_CLASS): Don't call abort; it will cause + a compilation error as written and isn't done elsewhere. - * configure (i486-*-sysv4*): New alternative. + * combine.c (set_nonzero_bits_and_sign_copies): Don't record + data for a a pseudo that is undefined on entry to a function. + When a pseudo is clobbered, show we don't know anything about it. -Tue Jan 28 00:37:24 1992 Ron Guilmette (rfg at ncd.com) + * expr.c (expand_assignment): Always return a result that has + the mode of TO. - * dwarfout.c (location_attribute): Fix handling of objects which - were optimized out of existance for Dwarf Version 0 compliance. + * rs6000.c (rs6000_makes_calls): If profiling, say we make calls. -Tue Jan 28 00:42:57 1992 James Van Artsdalen (james at bigtex.cactus.org) +Sat May 15 00:38:22 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Makefile.in (mostlyclean): Delete stack dump files too. + * va-mips.h (va_arg) [__MIPSEB__]: + After incrementing, subtract the rounded size, not the size proper. -Mon Jan 27 18:26:27 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * config/i860/x-sysv4 (X_CFLAGS): Defined. + (GCC_CFLAGS): Definition deleted. - * rs6000.h (HAVE_ATEXIT, NO_DOLLAR_IN_LABEL): Now defined. + * final.c (output_addr_const): Don't printing leading zeros. -Mon Jan 27 13:32:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat May 15 06:18:43 1993 James Van Artsdalen (james at bigtex.cactus.org) - * libgcc2.a (L_exit): Declare __CTOR_LIST__ and __DTOR_LIST__ - with length 2; get rid of __CTOR_END__ and __DTOR_END__. - (L_ctor_list, L_dtor_list): New library members. + * reload1.c (reload): Don't start 2-group unless it could be finished. - * cccp.c (main): Add terminating null, then call trigraph_pcp. +Sat May 15 12:23:58 1993 Torbjorn Granlund (tege@nada.kth.se) - * fixincludes, fixinc.svr4: Fail unless an arg was given. - * Makefile.in (install-fixincludes): Pass output dir as argument. + * alpha.c (output_prolog): Change (sp) to ($30). - * Makefile.in: Renamed libgcc[12] to libgcc[12].a. - Likewise for tmplibgcc[12]. + * pa.h (TRAMPOLINE_TEMPLATE): Change .long to .word; split into + two lines. - * toplev.c (rest_of_decl_compilation): Treat all fcns as if external. +Fri May 14 18:09:31 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Makefile.in (TAGS): Do the work in srcdir. - Include c-parse.h in files to move. + * gcc.c (option_map): Renamed --version to --use-version. -Mon Jan 27 10:54:24 1992 Jim Wilson (wilson at sphagnum.cygnus.com) +Fri May 14 17:20:21 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * cccp.c (get_filename): Don't pass -1 file descriptor to close. + * xcoffout.c (N_DSLINE, N_BSLINE): Delete definitions. + (stab_to_sclass): Use ifdefs to test for presence of N_MAIN, + N_BSLINE, N_DSLINE, N_BINCL, N_EINCL, N_EXCL, N_M2C, N_SCOPE. -Mon Jan 27 00:26:33 1992 Michael Tiemann (tiemann at cygnus.com) + * sched.c (split_hard_reg_notes): Handle 0th sub register, and + multiple register kills. + (update_flow_info): For multi-word hard regs, use + split_hard_reg_notes to add all REG_DEAD notes, instead of just + the additional ones due to splitting. - * cp-decl.c (start_function): Preserve TREE_TYPE of RESULT_DECL, in - case we have a named return value. - (finish_function): Restrict the cases under which we build - `no_return_label'. Use CURRENT_FUNCTION_RETURN_VALUE to eliminate - the generation of needless cleanups when functions end with a return - stmt. No longer zeros out CLEANUP_LABEL. Also, call `emit_jump' - instead of `expand_null_return' in case NO_RETURN_LABEL is - non-NULL. +Fri May 14 16:12:28 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-decl2.c (grokfield): Don't specially hack static member - function names. + * configure (hppa1.1-*-hpux*): Use CPIO for headers, just like + other HPUX configs. + (hppa1.1-*-hpux8.02*): Likewise. - * cp-except.c (cplus_expand_raise): Test correct predicate that we - have a non-null value return. - (cplus_expand_{throw,reraise}): Ditto. +Fri May 14 16:35:22 1993 Ian Lance Taylor (ian@cygnus.com) - * cp-typeck.c (c_expand_return): Handle case where named return - value has incomplete type. + * reorg.c (fill_slots_from_thread): If try_split split new_thread, + update it to the new value. -Sun Jan 26 20:50:55 1992 Michael Tiemann (tiemann at cygnus.com) +Fri May 14 13:42:39 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * cp-parse.y (LC): Fix rule to use `push_obstacks_nochange'. - (structsp): Use `pop_obstacks'. + * configure (hp700-hpux8.02): New target. + * pa1-oldas.h: New target for 1.1 machines running HPUX 8.02. -Sun Jan 26 17:39:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri May 14 13:23:51 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * c-parse.y (LC): Use push_obstacks_nochange and always call - end_temporary_allocation. - (structsp, template_instantiate_once): After LC, use pop_obstacks. + * integrate.c (expand_inline_function): Set map->integrating. + (copy_rtx_and_substitute, case MEM): Don't copy RTX_UNCHANGING_P + when doing function inlining. + * integrate.h (struct inline_remap): Add integrating field. + * unroll.c (unroll_loop): Clear map->integrating. + * stmt.c (expand_decl): Don't set RTX_UNCHANGING_P. - * c-decl.c (grokdeclarator): - Static function decl within a function is not external. +Fri May 14 12:28:51 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sun Jan 26 08:14:53 1992 Michael Meissner (meissner at osf.org) + * c-typeck.c (default_conversion): + Don't replace iterator with its initial value. - * mips.h (MIPS_VERSION): Bump meissner version # to 9. - (enum processor_type): Delete PROCESSOR_R2000, since a r2000 - schedules just like a r3000. - (mips_isa, mips_isa_string, mips_cpu_string): New global variables. - (MD_EXEC_PREFIX): If not defined, define as "/usr/lib/cmplrs/cc/". - (TARGET_SWTICHES macros): Move setting the processor from - TARGET_SWITCHES to TARGET_OPTIONS. Also, delete the -mfixed-ovrfl - switch, and move -mwc8/-mwc16 to not use any bits, since we can't - support these in GCC 2.00. Readjust the positions the bits are in. - (TARGET_OPTIONS): Define to add switches -mcpu=x to set which - processor type to schedule for, and -mipsx to specify the - instruction set architecture level. - (BRANCH_LIKELY_P): New macro, true if MIPS ISA >= 2. - (HAVE_64BIT_P): New macro, true if MIPS_ISA >= 3. - (HAVE_SQRT_P): New macro, true if MIPS_ISA >= 2. - (BRANCH_COST): Define as 2 if r4000/r6000, 1 otherwise. - (ASM_OUTPUT_SKIP): Eliminate OSF/1 gas work around. + * config/i386/svr3gas.h: Added two pages at end, with macros + copied from config/svr3.h and i386/sysv3.h. - * mips.c (mips_isa, mips_isa_string, mips_cpu_string): New global - variables. - (print_options): Print CPU and ISA level. - (override_otpions): Handle TARGET_OPTIONS setting cpu and ISA. - (override_options, print_operand): %: is no longer supported, since - -mfixed-ovfl is eliminated. + * config/m68k/tower-as.h (PRINT_OPERAND): Handle CODE == '/'. + * hp320.h, mot3300.h, news.h, crds.h: Likewise. - * mips.md (type attribute): Add fsqrt. - (all define_function_units): Redo, to add full r6000 and r4000 - support, and to use the default case in case another processor type - is added. Also, tests against PROCESSOR_R2000 eliminated. - (add, subtract patterns): Delete use of %:. - (sqrtdf2, sqrtsf2): Define if the MIPS ISA >= 2. +Fri May 14 15:44:45 1993 Kresten Krab Thorup (krab@xiv.iesd.auc.dk) - * decrose.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define these to - use the defaults on the OSF/1 reference platform. - (i386rose.h): Likewise. + * objc/init.c (__objc_init_protocols): Don't complain if a + protocol object is attempted resolved twice. -Sun Jan 26 07:58:00 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Fri May 14 00:51:38 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * cse.c (cse_insn): Don't call insert_regs on a SUBREG. - When scanning table for SUBREG assignment, ignore invalid entries. + * pa.h (CPP_SPEC): Correct specs so that _PA_RISC1_1 is only + defined when generating code for 1.1 machines regardless of the + default target. - * cse.c (cse_insn): When looking for first non-deleted entry in - table, start by scanning backwards from the deleted entry. +Thu May 13 21:47:55 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * function.c (assign_parms): Set current_function_return_rtx - unconditionally. - (expand_function_start): Don't set it here. + * rs6000.md (fix_truncdfsi2, fixuns_truncdfsi2, trunc_call): Fix + typo in mode of FIX and UNSIGNED_FIX rtl. -Sat Jan 25 06:44:16 1992 Mark Eichin (eichin at cygnus.com) + * reorg.c (reorg_redirect_jump): New function. + Call it in most places instead of redirect_jump. - * cp-decl.c (set_identifier_local_value): New function. Clone of - set_identifier_type_value, but uses level->shadowed instead. Only - used in pushdecl, where the non-global install was previously - setting the local value directly which "stuck" and didn't get - cleared the next time through. - (pushdecl): use set_identifier_type_value so that the local value - actually gets erased when we leave this level. Changed code that - checks for global_binding_level to recognize that if - class_binding_level is set, we're not in the global one. - (poplevel_class): restore shadowed list too, like poplevel does. - (print_binding_level): added no_print_functions and - no_print_builtins variables to eliminate clutter while trying to - debug binding level problems. +Thu May 13 17:01:05 1993 Jim Wilson (wilson@sphagnum.cygnus.com) -Fri Jan 24 18:03:36 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * caller-save.c (restore_referenced_regs): New variable saveregs + which is number of regs to save at a time, instead of numregs, + which is total number of registers to save. - * tree.c (pop_momentary): Don't reference freed stack entry. +Thu May 13 08:28:22 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Jan 24 14:20:05 1992 Michael Tiemann (tiemann at cygnus.com) + * Makefile.in (OBJC, OBJECTIVE-C): Don't depend on objc-runtime. - * cp-parse.y (stmt): Call `define_case_label' for default label. - * cp-decl.c (current_function_return_value): New variable. - (define_{case_}label): Clear CURRENT_FUNCTION_RETURN_VALUE. - * cp-typeck.c (c_expand_return): Set CURRENT_FUNCTION_RETURN_VALUE. + * dbxout.c (dbxout_parms): Don't output a parm if it's a mem + that has a constant address. - * cp-tree.c (lang_printable_name): Use DECL_RING, and don't free - the printable name for CURRENT_FUNCTION_DECL. + * config/pa/x-pa (TAROUTOPTS): Overridden. + * config/m68k/x-hp320,x-hp320g (TAROUTOPTS): Overridden. -Fri Jan 24 14:17:30 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Makefile.in (TAROUTOPTS): New variable. + (install-headers-tar): Use TAROUTOPTS. - * gvarargs.h: If _ANSI_H, undef _VA_LIST_. + * 3b1.h, 3b1g.h, altos3068.h, crds.h, hp2bsd.h, hp310.h: + * isi-nfp.h, pbb.h, plexus.h, sun2.h, sun3n.h, tower.h: + (LONG_DOUBLE_TYPE_SIZE): Redefine as 64. - * c-typeck.c (pointer_int_sum): Don't distribute * into pointer diff. + * objc/runtime.h: Include gstdarg.h before stdio.h. - * hp320.h (MD_STARTFILE_PREFIX): Defined. - (STANDARD_STARTFILE_PREFIX): Deleted. + * Makefile.in (libobjc.a): Depend on EXTRA_PARTS. -Fri Jan 24 09:30:41 1992 Fred Fish (fnf at fishpond) +Wed May 13 18:33:26 1993 Torbjorn Granlund (tege@nada.kth.se) - * assert.h (__eprintf): Declare as prototype for __STDC__ + * arm.h: Declare output_arithmetic_with_immediate_multiply. -Fri Jan 24 05:28:53 1992 James Van Artsdalen (james at bigtex.cactus.org) + * arm.md (combined mult/arithmetic recognizers): Switch on. + Add special pattern for reload. - * i386.md (jump,indirect_jump,tablejump): Don't output an align - directive here: let the following BARRIER do it. + * arm.md (restorehi): Use SImode for address. + (storehi): Use SImode for address and address computation. + (storeinthi): Likewise. -Thu Jan 23 11:54:11 1992 Ron Guilmette (rfg at ncd.com) +Wed May 12 22:47:35 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * i486v4.h: New file. + * config/m68k/sun3.h, sun2os4.h (ASM_OUTPUT_FLOAT_OPERAND): + Output as hex, unless CODE is 'f'. + * altos3068.h, next.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise. -Thu Jan 23 20:34:22 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) +Wed May 12 14:18:36 1993 John Hassey (hassey@dg-rtp.dg.com) - * fixinc.svr4: Surround uses of ${INPUT} with "" instead of '' - so that it will get expanded. + * m88k.h (REG_OK_FOR_BASE_P REG_OK_FOR_INDEX_P): Don't + use extended registers for base or index. -Thu Jan 23 17:50:13 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Wed May 12 14:48:00 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * cse.c (qty_mode): New variable. - (reg_rtx): Deleted. - (hard_regs_in_table, regs_invalidate_by_call): New variables. - (new_basic_block): Clear hard_regs_in_table. - (delete_reg_equiv): New name for reg_invalidate; don't update reg_tick. - (mention_regs): Don't set reg_rtx. - Update reg_tick for all registers in a multi-register hard register - reference. - (insert_regs): Don't do anything special with SUBREG. - Only insert register in a class if it is the same mode. - Don't set reg_rtx; set qty_mode instead. - (insert): Update hard_regs_in_table. - Get constant equivalence in proper mode. - (merge_equiv_classes): Call delete_reg_equiv. - (invalidate): Call delete_reg_equiv and update reg_tick. - Invalidate all parts of multi-word hard regs and invalidate - any multi-word hard reg overlapping what we are to invalidate. - Only look at constant in proper mode. - (remove_invalid_refs): Use refers_to_regno_p. - (invalidate_for_call): New function. - (canon_hash, refers_to_mem_p, fold_rtx, equiv_constant): Look at - constant in proper mode. - (cse_rtx_addr_varies_p, cse_process_notes): Likewise. - (exp_equiv_p): Likewise. - Check reg_tick for all parts of multi-word hard register. - (canon_reg): Don't use reg_rtx; get register from regno_reg_rtx or - build hard reg in proper mode. - (record_jump_equiv): Split into two pieces. - (record_jump_cond): Second part of record_jump_equiv; make recursive - call to some equivalences if args are SUBREGs. - (cse_insn): Only replace register with equivalent if proper mode; - don't use reg_rtx. - Call invalidate_for_call. - Don't avoid call to gen_lowpart for hard register. - Make a SUBREG if gen_lowpart_if_possible fails for SUBREG - assignment. - (invalidate_from_clobbers): Update reg_tick of SP; invalidate - REG entry in table, if present; use stack_pointer_rtx. - (cse_main): Don't allocate reg_rtx. - Initialize regs_invalidated_by_calls. - (cse_basic_block): Allocate qty_mode. + * unroll.c (copy_loop_body): Delete May 10 change. - * rs6000.h (ADDITIONAL_REGISTER_NAMES): Add so we can disambiguate - fixed and floating registers. +Tue May 11 20:20:41 1993 James Van Artsdalen (james at bigtex.cactus.org) - * rs6000.md (ashrdi3): Reject all but constant shift counts. + * tree.c (real_value_from_int_cst): Use temporary variable `e' to + work around bugs in 386 PCC. - * jump.c (simplejump_p): Don't access PATTERN unless we know it is - a JUMP_INSN. +Tue May 11 16:50:54 1993 Michael Meissner (meissner@osf.org) - * combine.c (get_last_value): Don't do a recursive call for a - paradoxical SUBREG. + * mips/iris3.h, mips/mips.h, mips/news4.h, mips/nws3250v4.h, + mips/ultrix.h (ASM_SPEC): Pass appropriate -g switch to the + assembler for -gstabs, -gstabs+, -ggdb, and -gcoff + switches. - * jump.c (jump_optimize): In "if (...) x = a; else x = b;", - don't move "x = b;" if it has non-trivial REG_NOTES. Also, allow - B to be any constant, not just a CONT_INT. + * local-alloc.c (block_alloc): Don't dereference a NULL pointer. - * stor-layout.c (layout_type): Handle alignment for arrays the same - as we do for records and unions. +Tue May 11 12:09:37 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * calls.c (expand_call): Ignore `const' on void functions. + * tree.c (build_array_type): Delete the code to set TYPE_MAIN_VARIANT. + * c-decl.c (complete_array_type): Likewise. - * i860.c: Include recog.c. - Remove many explicit declaration of vars from include files. - (i860_compare_op[01]): Define these here. - * i860.h (i860_compare_op[01]): Add declarations. - * i860.md (compare, branch): Rework to use define_expand for cmpxx. - Compare just saves operands in i860_compare_op[01]. Branch emits - both insns using the saved operands. +Tue May 11 11:40:14 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * i860.h (PREFERRED_RELOAD_CLASS): Handle FP registers and constants. - (SECONDARY_INPUT_RELOAD_CLASS): We need a scratch register to copy - an integer constant to a floating-point register. - * i860.md (addsi3, subsi3): Allow use of floating registers. + * pa.c (emit_move_sequence): Handle secondary reloads for loads of + FP registers from constant expressions. -Thu Jan 23 13:33:40 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * pa.h (CONSTANT_ADDRESS_P): Accept symbolic addresses during + and after reload. - * i386v4.h (CPP_PREDEFINES): Don't define X86. +Tue May 11 07:26:06 1993 Richard Kenner (kenner@mole.gnu.ai.mit.edu) - * c-lex.c (readescape): Warn for \a and \x if warn_traditional. - Handle \v as vertical tab regardless of -traditional. + * reorg.c (mostly_true_jump): Jump is forward if TARGET_LABEL is + zero; don't try to get INSN_CODE of zero. - * fixincludes, fixinc.svr4: Make LIB absolute, near the beginning. +Tue May 11 00:44:09 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * fixincludes: Simplify egrep command while matching the same lines - (plus occasional additional lines). + * tree.c (build_array_type): + Don't change TYPE_MAIN_VARIANT if incomplete (domain not known). - * function.c (fixup_memory_subreg): New arg UNCRITICAL. Calls changed. + * real.c (enan): Add forward decl. - * gcc.c (process_command): Handle LPATH like LIBRARY_PATH. +Mon May 10 20:32:12 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * svr3.h (ASM_LONG): Deleted. + * unroll.c (copy_loop_body): Copy REG_NOTES during main loop + instead of afterwards. - * gvarargs.h: Ignore _VA_LIST_ if _ANSI_H_; - don't define _VA_LIST_ if already defined. +Mon May 10 17:36:31 1993 Richard Kenner (kenner@vlxisi1.ultra.nyu.edu) -Thu Jan 23 09:10:52 1992 Tom Wood (wood at dg-rtp.dg.com) + * alpha.c (output_epilog): Fix minor error in instructions used + to restore stack pointer. - * m88kluna.h (includes): Include aoutos.h. +Mon May 10 15:59:41 1993 Michael Meissner (meissner@osf.org) -Thu Jan 23 09:10:52 1992 Ron Guilmette (rfg at ncd.com) + * mips-tfile.c (parse_def): Do not execute a division by 0 when + processing a doubly dimensioned array whose outer bound was 0 or + not specified. - * va-i860.h (__savereg): Fix typo. +Mon May 10 12:14:07 1993 John Hassey (hassey@dg-rtp.dg.com) - * i860.h (PREDICATE_CODES): Added definition. + * m88k.h (TRAMPOLINE_TEMPLATE): Fixed invalid bsr insn. - * i386v4.h (ASM_FILE_START): Definition added which generates - .version directive. +Mon May 10 11:55:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Jan 22 23:15:45 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + * protoize.c: Don't include string.h. + (strcat, strcpy, strcmp, strncpy, strncmp): Decls deleted. + (dupnstr): Don't use return value of strncpy. + (dupstr): Function deleted; callers changed to use savestring. - * make-cc1.com: Predefine symbols for "rename" and "bison"; always - generate c-parse.h when generating c-parse.c. + * tree.c (change_main_variant): New function. + (build_array_type): Use that to set the TYPE_MAIN_VARIANT. + * c-decl.c (complete_array_type): Call change_main_variant. -Wed Jan 22 20:01:11 1992 Per Bothner (bothner at cygnus.com) +Mon May 10 11:53:02 1993 Steve Chamberlain (sac@wookumz.gnu.ai.mit.edu) - * sdbout.c (sdbout_record_type_name): Use typedef names - for C++. (A kludge.) - * sdbout.c (sdbout_one_type): Emit base classes as - dummy fields, just like dbxout.c when not using gdb extensions. + * sh.md (movstrsi): Take alignment into account. + * sh.c (shift_value_ok): Can't shift by negative values. -Wed Jan 22 20:01:11 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) +Mon May 10 11:49:48 1993 Michael Meissner (meissner@osf.org) - * fixincludes: Surround uses of ${INPUT} with "" instead of '' - so that it will get expanded. + * va-mips.h (va_arg): Use __alignof__ instead of __alignof. - * gcc.c (default_compilers): For c++, define __GNUG__ to 2, and - pass -trigraphs. + * cp-decl.c (finish function): Add missing ';'. - * cccp.1, cpp.1, gcc.1, g++.1: Delete more RCS variables. +Mon May 10 00:54:16 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Jan 22 19:02:06 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * objc/runtime.h: Include gstdarg.h, not stdarg.h. - * combine.c (simplify_shift_const, case ASHIFT): If we will - be suppressing a sign extension because the upper bits are - already the same, verify that the operand is in the same - mode as we will be doing the shift; don't ignore a SUBREG - inside the inner SHIFT. + * libgcc2.c (__floatdisf): Use DFtype for intermediate values. -Wed Jan 22 09:25:07 1992 Tom Wood (wood at dg-rtp.dg.com) + * tree.c (real_value_from_int_cst): + If I is unsigned, use REAL_VALUE_FROM_UNSIGNED_INT. - * c-typeck.c (comp_target_types): Make decl static. - Don't forget to return the value. - (function_types_compatible_p, comptypes): Initialize `val'. + * config/m68k/m68k.c (output_move_double): Use operand 0 to get SIZE. -Tue Jan 21 13:29:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * reload.c (find_equiv_reg): Set goal_mem_addr_varies + for all but true constant addresses. - * cross-make (ALL): Override with definition it here. - * configure: Don't edit its value explicitly here. +Sun May 9 17:53:52 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * crtstuff.c (__do_global_ctors): Include DO_GLOBAL_CTORS_BODY - in crtend.o, not in crtbegin.o. + * config/sparc/sparc.h (SIZE_TYPE): Deleted. - * svr3.h: Prepare to use with i386. - (PCC_BITFIELD_TYPE_MATTERS): Definition deleted. - This pertains to the individual cpu types. - (ASM_SHORT, ASM_LONG, ASM_DOUBLE): Likewise. - (DBX_DEBUGGING_INFO): Undef this. - (DBX_REGISTER_NUMBER): Deleted the #undef. - (STARTFILE_SPEC, LINK_SPEC, LIB_SPEC): Deleted. - * i860v3.h (STARTFILE_SPEC, LINK_SPEC, LIB_SPEC): New definitions. + * fixincludes: When finding SIZE_TYPE, cd to ${LIB} to run cc. + (memory.h): Don't try to read it if it doesn't exist. - * att386.h: Coexist with svr3.h. - (ASM_FILE_START): Deleted. - (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise. - (ASM_BYTE_OP, NO_DOLLAR_IN_LABEL): Likewise. - (ASM_OUTPUT_LABELREF): Undef before defining. - (ASM_FILE_START_1): Undef before defining. - (EXTRA_SECTION_FUNCTIONS): Deleted. - (BSS_SECTION_FUNCTION): New macro; defines bss_section. + * real.c (NAN): Define for support of Not-a-Number bit patterns. + (make_nan): New function outputs a NaN in requested machine mode. + (eisnan, eiisnan, enan, einan, eiisinf, eiinfin): New functions. + (earith, etrunci, etruncui, ereal_negate, ereal_ldexp, + real_value_truncate, esub, eadd, emul, ediv, eremain): + Return NaN arg back to caller. + (eroundi, eroundui, ereal_to_int): NaN to integer returns -1 + and a warning. + (target_isnan): Check for NaN. + (eneg): No-op if NaN. + (eisneg, eisinf): False if NaN. + (emovi, emovo): Handle NaN conversions. + (esub, eadd): Infinity minus infinity = NaN and INVALID warning. + (ediv): 0/0, inf/inf = NaN and INVALID warning. + (emul): 0 * inf = NaN and INVALID warning. + (e24toe, e53toe, e64toe): Generate e-type NaN for NaN input. + (etoe24, etoe53, etoe64): Output NaN in appropriate machine mode. + (ecmp): Unordered compare returns -2. + (etoasc): NaN produces ASCII string "NaN". + (asctoe): Unrecognizable input produces e-type NaN. + (eremain): x REM y = NaN if y = 0 or x = infinity. - * i386v.h, aix386.h: Include svr3.h. - (SCCS_DIRECTIVE, ASM_OUTPUT_IDENT): Deleted. - (TARGET_MEM_FUNCTIONS): Deleted. - (SDB_DEBUGGING_INFO, DBX_DEBUGGING_INFO): Deleted. + * real.c (mtherr): Don't put newlines in error message string. - * Support constructors and destructors on svr3. From james@bigtex. - * i386v.h, aix386.h (STARTFILE_SPEC): Use crtbegin.o after crt1.o. - (LIB_SPEC): Use crtend.o before crtn.o. - (CTORS_SECTION_ASM_OP, ASM_OUTPUT_CONSTRUCTOR): New macros. - (INIT_SECTION_ASM_OP): Likewise. - * svr3.h (DTORS_SECTION_ASM_OP): New macros. - (DO_GLOBAL_CTORS_BODY): New macro. - (EXTRA_SECTIONS,EXTRA_SECTION_FUNCTIONS): Use .init and .fini - sections in addition to .bss. - ({INIT,FINI}_SECTION_FUNCTION): New macros for *_section functions. - ({CTORS,DTORS}_SECTION_FUNCTION): Macros deleted. - (ASM_OUTPUT_CONSTRUCTOR): Deleted. - (ASM_OUTPUT_DESTRUCTOR): Use ASM_LONG. - (INT_ASM_OP): Deleted. + * real.h (REAL_VALUES_LESS): True if return value of ereal_cmp is -1. - * c-typeck.c (default_conversion): Don't use initial value if BLKmode. - If do use the initial value, update `type'. +Sun May 9 17:34:06 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * arm.h (STRUCTURE_SIZE_BOUNDARY): New definition. + * cp-decl.c (finish_function): Don't do anything if we haven't got a + current_function_decl. - * stor-layout.c (layout_type): Ignore MAX_FIXED_MODE_SIZE for integers. + * cp-pt.c (tsubst): Don't assert if IN_DECL is null. + (coerce_template_parms): Likewise. - * ultrix.h (SIZE_TYPE): Use `unsigned int'. - * Makefile.in (install-common): Add missing -f in rm. - (install-fixincludes): Install the README file. + * cp-type2.c (process_init_constructor): Fix argument passing to + initializer_constant_valid_p. - * fixincludes: Don't match on size_t, etc., since we don't actually - change them. +Sun May 9 10:47:05 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Jan 20 23:22:45 1992 Michael Tiemann (tiemann at cygnus.com) + * c-decl.c (complete_array_type): + Make maxindex -1 for empty constructor. - * cp-call.c (ideal_candidate): Don't see two functions as ambiguous - if one is argument-by-argument equivalent or better than another. + * i860.c (call_insn_operand): New funcion. + * i860.md (call, call_value): Copy fn address to safe reg if necessary. + (call, call_value matchers): Use call_insn_operand as predicate. -Mon Jan 20 14:08:06 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * config/mips/mips.c (call_insn_operand): New function. + * config/mips/mips.md (call_internal1, call_value_internal1): + Use call_insn_operand as predicate. + (call, call_value): Copy fn address to safe reg if necessary. - * toplev.c (strip_off_ending): Add ".ada". + * config/m68k/m68k.md (mulhisi3, umulhisi3 matchers): + Restrict range of constants allowed. -Mon Jan 20 13:53:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sun May 9 13:31:35 1993 CET Kresten Krab Thorup (krab@iesd.auc.dk) - * protoize.c (xfree): No longer static. + * objc/hash.h, objc/objc.h, objc/sarray.h (gstddef.h): + Conditionally include gstddef.h or stddef.h by IN_GCC. - * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Allow tm.h to override. +Sun May 9 00:51:33 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * final.c (leaf_renumber_regs_insn): Do just the pattern of an insn. + * reload.h: Fix unterminated comment. - * pyr.h (PCC_BITFIELD_TYPE_MATTERS): Defined. - (STRUCTURE_SIZE_BOUNDARY): Deleted. + * objc-act.c (string_section): Delete comma before close-brace. - * mips.c: Clean up spacing around square brackets. +Sat May 8 23:49:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-typeck.c (convert_arguments): - Get rid of feature to convert to a tagless union type. - (common_type): Add pedantic warning. - (comptypes, function_types_compatible_p): Return 2 meaning warn. - (comp_target_types): Do the warning here. - (type_lists_compatible_p): New function. + * config/i386/i386.c (call_insn_operand): New function. + * i386.md (call matchers): Use call_insn_operand. + (call expanders): If address uses a virtual reg or arg pointer reg, + copy it. -Sun Jan 19 17:32:19 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Sat May 8 23:19:11 1993 Kaveh R. Ghazi (ghazi@caip.rutgers.edu) - * reload1.c (emit_reload_insns): Fix typos when checking for secondary - icode. + * configure (m88k-tektronix-sysv3): New target. + * config/m88k/tekXD88.h: New file. + * config/m88k/tekXD88.ld: New file. + * config/m88k/x-tekXD88: New file. -Sun Jan 19 15:28:53 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat May 8 10:40:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * global-alloc.c (global_alloc): If LEAF_REGISTERS, those are the - regs that cost nothing to save, for setting regs_already_used. + * config/i386/i386.md (call insn matchers): + Use %a to print a mem's non-constant address; + don't try to print the address by itself. - * expr.c (expand_builtin): Preserve function value reg - around the call to __builtin_saveregs. + * config/i386/next.h (ASM_GENERATE_INTERNAL_LABEL) + (ASM_OUTPUT_INTERNAL_LABEL): Don't include a `.' in the label name. + (LPREFIX): Likewise. - * configure (mips-sgi-irix4*, mips-sgi-irix*): Set install_with_cp. + * m68k.c (print_operand): For CONST_DOUBLE, treat VOIDmode like DImode. - * c-decl.c (start_function): - Check properly for `static' function in handling -Wmissing-prototypes. + * expmed.c (init_expmed): Supply missing arg to rtx_cost. - * libgcc2.c (__main): Omit this fn if INIT_SECTION_ASM_OP. + * config/convex/convex.h (LINK_LIBGCC_SPECIAL_1): + Define this instead of LINK_LIBGCC_SPECIAL. -Sun Jan 19 13:23:13 1992 Fred Fish (fnf at sunfish) +Sat May 8 14:43:27 1993 Torbjorn Granlund (tege@nada.kth.se) - * amix.h (ASM_OUTPUT_ASCII): Override version in svr4.h. + * m68k.md (umulsidi3 expand + two matchers): Rewrite. + Old patterns misused subreg and matched wrong immediate values. + Use const_int_operand and constraint `n' for the immediate arg. + (mulsidi3 patterns): Likewise. -Sun Jan 19 13:16:56 1992 Michael Tiemann (tiemann at cygnus.com) +Sat May 8 07:06:14 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-search.c (lookup_field): Accept IS_AGGR_TYPE_CODE, not - just == RECORD_TYPE. + * i386/sco.h (VALUE_REGNO, HARD_REGNO_MODE_OK): Add missing #undef. + * i386/sco.h, i386/sequent.h (HARD_REGNO_MODE_OK): Properly check + for floating-point registers. Register 16 is AP and not floating. - * cp-class.c (finish_struct): Clear a tentative setting of - DECL_BIT_FIELD. +Fri May 7 19:43:49 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-decl.c (start_decl): Don't call `pushclass' for incomplete - CONTEXT. + * cp-typeck.c (default_conversion): Disable change of Apr 13th for + now, since it seems to behave incorrectly in some cases. - * cp-typeck.c (comp_target_types): Call `comp_target_parms' with - STRICT == 0, not -1. - (build_conditional_expr): Check that the target types of TYPE1 and - TYPE2 are aggr type before calling `common_base_type'. +Fri May 7 17:38:22 1993 Michael Meissner (meissner@osf.org) -Sun Jan 19 04:10:16 1992 James Van Artsdalen (james at bigtex.cactus.org) + * configure (all MIPS options): If --with-gnu-as is used, don't + build mips-tfile or mips-tdump. If --with-gnu-ld is used, don't + say we need collect2. + (config.sub run): Explicitly invoke /bin/sh to run script, in case + config.sub had it's execute bits turned off. - * configure: Fix typo inserting INSTALL=cp into makefile. + * mips/t-mips-gas: New target file, used when the GNU assembler is + used instead of the MIPS assembler. -Sat Jan 18 12:06:58 1992 Michael Tiemann (tiemann at cygnus.com) +Fri May 7 17:41:00 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-lex.c (build_with_cleanup): Delete obsolete function. - * cp-tree.c (break_out_cleanups): New function. - * cp-decl.c (cplus_expand_expr): Call `break_out_cleanups'. - * cp-typeck.c (build_compound_expr): Ditto. + * Makefile.in (float.h-nat): Use tmp-float.h as intermediate file. - * cp-call.c (convert_harshness): Make any inheritance relationship - preferable to a void* conversion. - * cp-tree.h (CLASSTYPE_MAX_DEPTH): New macro. - * cp-class.c (finish_struct_bits): Set CLASSTYPE_MAX_DEPTH. +Fri May 7 13:42:06 1993 Mike Stump (mrs@poseidon.cygnus.com) - * cp-cvt.c (build_up_reference): Don't return in ARRAY_REF case, - since we may need to adjust the return value for complex - inheritance. + * cp-search.c (mi_ventry): Change into a struct to make code more + readable and to shut up compilers about valid ANSI C code. - * cp-decl2.c (lang_f_options): Add recognizers for -f{no-}builtin, - -f{no-}ident, and -ansi. Also, remove unnecessary "no-*" forms. +Fri May 7 13:15:40 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * cp-init.c (emit_base_init): If PEDANTIC, don't let base - initializers leak up the hierarchy. + * pa.h (reg_class): Add new NON_SHIFT_REGS class. + (REG_CLASS_NAMES): Name new class "NON_SHIFT_REGS". + (REG_CLASS_CONTENTS): Initialize NON_SHIFT_REGS. - * cp-parse.y (structsp): Disable gratuitous error message. + * loop.c (strength_reduce): Handle case where loop_end is the + end of the current function. - * cp-call.c (convert_harshness): Don't overlook PENALTY when - signed/unsigned differences are noted (in both POINTER_TYPE and - REFERENCE_TYPE cases). +Fri May 7 05:50:39 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * toplev.c (strip_off_ending): Grok ".ii" endings (C++ preprocessed - files). + * reload.c (push_reload): Don't use IN as the reload reg in in-out + reload if it is set elsewhere in the insn. - * cp-typeck.c (build_component_ref): Add special handler when - COMPONENT is the CLASSTYPE_VFIELD name for BASETYPE. +Fri May 7 04:48:25 1993 Chris Smith (csmith@convex.com) -Sat Jan 18 08:29:58 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * x-convex (CCLIBFLAGS): Build libgcc1 with -tm c1 so it can't + cause executables to become c2-only. - * cse.c (cse_insn): Don't make constant pool entries in MODE_CC modes. + * xm-convex.h: Remove workarounds for OS 8.0 no longer needed. + (bcopy, bzero): Define to use memcpy and memset, to get them inlined. -Sat Jan 18 00:28:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * convex[123*].h (CC1_SPEC, CPP_SPEC, LIB_SPEC): Move to convex.h. - * Makefile.in (install-common): Fix typo installing gcc. + * convex.h (TARGET_FLAGS): Add -mvolatile-[no]cache. + (TARGET_FLAGS, LONG_TYPE_SIZE): add -mlong{32,64}. + (target_cpu): Define, enumeration for targets to use instead of flags. + (TARGET_C34, TARGET_C38): Add. These don't schedule the same as C2. + (OVERRIDE_OPTIONS): Call init routine in convex.c. + (CPP_SPEC, ASM_SPEC, LINK_SPEC): If originally bootstrapped with + an ieee compiler, produce an ieee gcc. + (LINK_LIBGCC_SPECIAL): Define, to avoid searching old libgcc.a + versions during bootstrap. + (STACK_BOUNDARY): Change from 32 to 64 -- odd-word aligned + longwords are slow on c34. + (FUNCTION_PROLOGUE): Make frame size a multiple of 8, not 4. + (FUNCTION_EPILOGUE): Output a 0 to terminate c34 icache prefetch. + (INITIAL_FRAME_POINTER_OFFSET): Make a multiple of 8. + (REG_ALLOC_ORDER): Define. Put S0 (the return register) last. + (HARD_REGNO_MODE_OK): Rewrite to make clearer. + (MODES_TIEABLE_P): Rewrite to make clearer. + (PREFERRED_RELOAD_CLASS): Rewrite to make clearer. + (S0_REGNUM, A0_REGNUM): Define. + (*_REGNUM): Write in terms of [AS]0_REGNUM instead of absolute numbers. + (enum reg_class, etc): Add SI_REGS == S_REGS + INDEX_REGS. + (REGNO_REG_CLASS, REG_CLASS_FROM_LETTER, REGNO_OK_FOR_*_P): Use tables. + (CONST_OK_FOR_LETTER_P): Change. New def passes any const_int, + rejects any const_double. + (CONST_DOUBLE_OK_FOR_LETTER_P): Change. New defs are 'G' == low + word all zeros, 'H' == high word all signs. + (EXTRA_CONSTRAINT): New. 'Q' == volatile memref. Used to generate + cache-bypass instructions when -mvolatile-nocache is set. + (RETURN_POPS_ARGS): Change, always true. + (FUNCTION_ARG_ADVANCE): Count args, not # words of args. + (FUNCTION_ARG): Return arg count to the final VOIDmode FUNCTION_ARG + hack that supplies "next arg register" to be stored in call insn. + (TRAMPOLINE_TEMPLATE): Use instruction notation rather than constants. + (INITIALIZE_TRAMPOLINE): Use gen_call_pop. + (LEGITIMATE_CONSTANT_P): Rewrite to make clearer. + (GO_IF_LEGITIMATE_ADDRESS): Do not use indirect addressing -- with + insn scheduling, two loads can be faster and can't be slower. + (SLOW_BYTE_ACCESS): Define unless C2. Memory access to bytes is + not actually slow, but faster processors don't forward partial + word writes to word reads, and setting SLOW_BYTE_ACCESS + makes the code consistently use word ops where possible. + (CONST_COSTS): Const_DOUBLE cost is zero -- if it appears, it is + immediate and therefore free. + (RTX_COSTS): areg+const is free (via indexing). + (RTX_COSTS): Provide target-dependent values for *,<<,>> + (ADDRESS_COST): Zero. Indirect addresses are no longer used. + (ADJUST_COST): Define. + (TARGET_FLOAT_FORMAT): Define as VAX_FLOAT_FORMAT. Also + accurately describes the semantics (not the bit pattern) + of convex ieee mode. + (REAL_VALUE_ATOF): Define, to prevent real.c from constructing + vax dfloats. Apparently it doesn't do gfloat. + (CHECK_FLOAT_VALUE): Call convex.c. + (ASM_FILE_START): Output appropriate .fpmode pseudo op. + (ASM_IDENTIFY_GCC): Ouput a zero after gcc2_compiled to keep it + from hiding the real name from profilers and adb. + (ASM_OUTPUT_DOUBLE, _FLOAT): Use hex to avoid /bin/as conversion + errors. + (ASM_DECLARE_FUNCTION_NAME): Define; call convex.c. + (PRINT_OPERAND, _ADDRESS): Call convex.c. + (EXIT_BODY): Define for libgcc2. Call atexit handler if present. - * crds.h, isi.h, newpbb.h, tti68k.h: Add #error because -m68000 - will cause a crash (I think), to ask people what to do. - - * gmicro.h (ASM_FILE_START): Don't do anything. - (TARGET_DEFAULT): Turn on the bitfield flag. - (TARGET_SWITCHES): Get rid of the bitfield options. - - * c-lex.c (readescape): No warning for \?. - - * protoize.c (munge_compile_params): Fix cast that sets compile_params. - (xmalloc, xrealloc): No longer static. - * Makefile.in (protoize, unprotoize): Add LIBDEPS as deps. - - * va-i860.h (va_arg): Use __extension__ to suppress pedantic warning. - * va-sparc.h, va-spur.h, va-pyr.h: Likewise. - - * x-irix4.h: New file. - * config.sub: Don't convert irix to sysv. - * configure (mips-sgi-irix4*): New configuration. - (mips-sgi-irix*): Renamed from mips-sgi-sysv*. - - * gcc.c (process_command): - Handle the standard_exec_prefix* before the md_*_prefix. - - * i386.h, ns32k.h (PCC_BITFIELD_TYPE_MATTERS): Defined. - - * Makefile.in (libgcc1.null): Depend on GCC_PASSES. - - * cccp.c (lookup_import, add_import): VMS kludges so they compile. - (hack_vms_include_specification): Add forward declaration. - - * stor-layout.c (layout_record): Handle BITFIELD_NBYTES_LIMITED - just like one of the things done for PCC_BITFIELD_TYPE_MATTERS. - - * x-next, x-i386mach: Deleted. - * t-libc-ok: New file. Define just LIBGCC1. - * configure (i386-*-mach, m68k-next-*): Use t-libc-ok. - - * t-svr4 (FIXINCLUDES): Defined. - * t-m88kv4 (FIXINCLUDES): Defined. - * t-svr3 (EXTRA_PARTS): Defined. - * t-i386sco (EXTRA_PARTS): Defined. - - * configure (sparc-*-sysv4*): New alternative. - - * configure (install_with_cp): New flag an alternative can set. - If host sets it, add INSTALL=cp to Makefile. - Set this for any system V, and for m68k-crds-unos. - -Sat Jan 18 23:15:08 1992 Ron Guilmette (rfg at ncd.com) - - * va-i860.h (va_list): Made __reg_base field type long* to avoid - compilation errors. - (__savereg): Add explicit cast to (__va_saved_regs *). - -Fri Jan 17 15:09:34 1992 James Van Artsdalen (james at bigtex.cactus.org) - - * i386.h (FUNCTION_BOUNDARY): Do larger alignments for i486. - (ASM_OUTPUT_ALIGN_CODE): Same here. - (ASM_OUTPUT_LOOP_ALIGN): But not here - do word aligns as before. - - (enum reg_class): Delete classes ADREG and BREG - neither used nor - useful. Add classes FP_TOP_REG and FP_SECOND_REG. - (REG_CLASS_NAMES): Likewise. - (REG_CLASS_CONTENTS): Likewise. - (REGNO_REG_CLASS): Reflect that change. - (REG_CLASS_FROM_LETTER): Likewise. Add "t" and "u" constraints. - (CLASS_MAX_NREGS): New classes use only 1 hard reg for any mode. - - (CONST_OK_LETTER_P): Document uses of letters. - - * reg-stack.c: Add comments describing rules for asm statements - involving stack-like regs. - (asm_regs): Delete unused variable. - (fatal_for_asm): Delete unused function. - - (get_asm_operand_lengths): New function. - (constrain_asm_operands): New function. Like constrain_operands, - but records some information about the matched alternative. - - (record_asm_reg_life): New function. - (record_reg_life): If INSN is an asm statement, decode operands - and pass to record_asm_reg_life. - (record_reg_life_pat): Abort if any asm is seen here. - - (subst_asm_stack_regs): New function. - (subst_stack_regs): If INSN is an asm statement, decode operands - and pass to subst_asm_stack_regs. When handling REG_UNUSED notes, - emit the pops in the right order. - - (change_stack): New argument to insert any new insns before INSN - instead of after. All callers changed. - - (emit_swap_insn): Abort if the reg is not found in REGSTACK. - - * Makefile.in (reg-stack.o): Depends on insn-config.h. - -Fri Jan 17 16:38:32 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * toplev.c, flags.h (in_system_header): Declare here. - * c-lex.c, cp-lex.c (in_system_header): Not here. - * toplev.c (rest_of_compilation): Don't warn of unused static function - if definition is in a system header. - - * gcc.c (do_spec_1): Add missing arg in recursive call. - (link_command_spec): Don't pass -s, -S, -u*, -X, -Y*. - -Fri Jan 17 12:51:28 1992 Jim Wilson (wilson at cygnus.com) - - From Tiemann: - * rtlanal.c (reg_set_between_p): Call `reg_set_p' with INSN, not the - body of INSN so that CALL_INSNs are properly handled. - * explow.c (find_next_ref): Ditto. - - * hp800.h, hp800.md: Delete RCS Header variables. - - * reg-stack.c (replace_reg): Change `abort' to `abort ()'. - -Fri Jan 17 14:30:14 1992 Michael Meissner (meissner at osf.org) - - * caller-save.c (insert_save_restore): Don't pass a CODE_LABEL to - reg_mentioned_p when the machine has a condition code, since - CODE_LABEL's don't have the same format as normal INSN's do. - -Fri Jan 17 13:24:33 1992 Tom Wood (wood at dg-rtp.dg.com) - - * Makefile.in (unprotoize.o): Use the rm -f option. - - * cp-lex.c (check_newline): Define `used_up' as in c-lex.c. - (in_system_header): Define as in c-lex.c. - -Fri Jan 17 08:14:04 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * reorg.c (delete_from_delay_slot): Pass correct length to - emit_delay_sequence. - - * genattrtab.c (substitute_address): Handle IF_THEN_ELSE in addition - to COND. - - * expr.c (expand_builtin, case BUILT_IN_STRLEN): Correct args in - expand_expr call. - -Fri Jan 17 17:33:40 1992 James Van Artsdalen (james@raid) - - * x-i386v4 (CCLIBFLAGS): Delete macro. - (GCC-CFLAGS): Delete macro. Prevented Makefile.in from working. - -Thu Jan 16 17:03:27 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) - - * Makefile.in (cleanconfig): Also delete tconfig.h. - - * varasm.c (assemble_external): Only call ASM_OUTPUT_EXTERNAL once - for each symbol. - (assemble_external_libcall): Fix minor typo in spacing. - - * toplev.c (main): Force error if invalid -W option is used. - -Thu Jan 16 13:35:13 1992 Tom Wood (wood at dg-rtp.dg.com) - - * m88kdgux.h (CPP_PREDEFINES): Added __CLASSIFY_TYPE__ back and - noted when it would be useful. - - * m88k.h (ASM_FILE_END, ASM_OUTPUT_ASCII): Override svr4.h. - -Thu Jan 16 12:37:16 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * svr4.h (SVR4): Add this back. - - * cccp.c (lookup_import): Use bcmp to compare inodes. - - * cccp.c (main): Handle -idirafter option. - - * m68kv4.h, m88kv4.h, i386v4.h, sparcv4.h, i860v4.h (CPP_PREDEFINES): - Add __svr4__ in case user programs want to distinguish. - - * cp-lex.c (check_newline): Changes like Jan 12 changes in c-lex.c. - - * Makefile.in (install-fixincludes): Renamed from `includes'. - Move comments so some shells are happier. Dep. on install-headers. - - * m88kdgux.h (CPP_PREDEFINES): Add __svr4__. Remove __CLASSIFY_TYPE__. - Add some assertions. - - * c-decl.c (init_decl_processing): Don't give arg type for abort, etc. - Always declare strlen, etc., so -O doesn't alter the warnings. - * expr.c (expand_builtin): Open-code str* or mem* or ffs if -O. - - * c-decl.c (start_function): Fix backwards test for -W* options. - - * protoize.c (GUESSPATHLEN): Treat POSIX like USG--and use just 200. - - * cccp.c (deps_output): Break line iff string is empty. - (do_include): Fix up the deps_output calls. - - * vax.c (print_operand_address): Handle form index + (reg+offset). - - * m88k.h (TARGET_VERSION): Don't use __DATE__. - - * gcc.c (default_compilers): Typos in c++-cpp-output case. - -Thu Jan 16 12:25:51 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) - - * loop.c (get_condition): In HAVE_cc0 code, generate a zero with - CONST0_RTX instead of just using const0_rtx. - - * cse.c (cse_isnsn): A CALL_INSN clobbers all fixed regs except - for ap, fp, and sp. - -Thu Jan 16 08:03:40 1992 Tom Wood (wood at dg-rtp.dg.com) + convex.md: Add scheduling info. + (movxx): One of the operands must be a register. + (movdf, movdi): Add anonymous patterns that can load an arbitrary + const_double by doing two immediate loads. This is not superior + to loading it from memory, and can be worse, so LEGITIMATE_CONSTANT_P + still rejects these constants, but the patterns are still useful + so rtx folding can produce arbitrary results. + (floatunsdidf, floatunsdisf): Add patterns that avoid double rounding. + (floatunssidf, floatunssisf): Add patterns that mimic gcc's default + method, to keep SI cvts from promoting to the above DI cvts. + (fix_truncdfsi2): Use cvtd.l even if cvtd.w is available -- on c34 + cvtd.w is microcoded and slower. + (addqi3, subqi3, mulqi3): can do immediate with word insn. + (subsi3): use sub/neg to get reverse subtract (reduces reg shuffling). + (udivsi3): give up on having sign_expand_binop do this; people keep + breaking it. Manually extend unsigned SI to signed DI, then divide. + (xshfxx3): The options rank differently on different machines, so + spell them all out and enable the appropriate ones under TARGET_Cxx. + (sqrtxx2): Put under flag_fast_math. + (sinxx2, cosxx2): I don't know why these exist, but they do, so supply + them. The other microcoded intrinsics are in convex math.h. + (txtxx): Remove, no longer necessary. + (cmpdi): Add alternative to fake "eq.l #0,sk" with "neg.l sk,scratch". + (cmpqi): Omit, seems to produce marginally better cse than the old way. + (cmpsf): Avoid compare against 0.0 in ieee mode, since -0.0 is + possible and would confuse old ucode. + (movstrsi): Add. + (anon): Add patterns to pick up on dbra optimizations and implement the + sub/test part. (This optimizes out the compare against 0.) + (call, call_value): Use _pop form instead, and let convex.c replace + the pushes with fp stores. + (end): Put local variable list back. + + convex.c (init_convex): New. Fill in tables used by convex.h. + (psw_disable_float): New. Turn off float exception enables to + make the environment more ieee-like. + (set_cmp): Change name to output_cmp. + (gen_cmp): Change name to output_condjmp. Add handling for + `neg.x' as a fake `eq.x #0' and for optimized-out compares + that read the carry of a preceding decrement. + (simplify_for_convex): New. Replace addr-(-const) with + addr+const so /bin/as will like the notation. + (expand_movstr): New. Generate pipelined load/store sequence. + (asm_declare_function_name): New. Output arg count for debuggers. + (print_operand): Moved from convex.h. Add %u and %v to fetch + subwords of a CONST_DOUBLE, %z to use in replacing shift by mul. + (print_operand_address): Moved from convex.h. + (outfloat): New, call REAL_VALUE_TO_DECIMAL. + (replace_arg_pushes): New. Replace sp by fp if possible; this does + not allow us to get rid of sp but stores are faster than pushes on + new machines. + (emit_ap_optimizations): New. Do simple live analysis of arg pointer + register and eliminate dead reloads. - * c-decl.c (finish_enum): Compute the precision properly if the - maximum value is negative. - -Thu Jan 16 07:40:29 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * reorg.c (try_merge_delay_insns, fill_slots_from_thread): Have - update_block put the phantom insn before THREAD. - (update_block): Update block status if WHERE, not INSN, is block head. - -Thu Jan 16 00:28:14 1992 Ron Guilmette (rfg ay ncd.com) - - * i860.c (output_fp_move_double): Fixed typo. - - * protoize.c (GUESSPATHLEN, pointer_type, const_pointer_type): - moved definitions declarations out of conditional region. - (string_list_cons, shortpath, munge_compile_params): Added casts. - (find_extern_def): Fixed string literal to avoid trigraph. - (find_rightmost_formals_list): Fixed to avoid unreached code warnings. - - * svr4.h (ASM_OUTPUT_ASCII): Fixed typo. - -Wed Jan 15 21:58:01 1992 Jeffrey A Law (law at b117b.super.org) - - * sparc.h (SELECT_RTX_SECTION): When generating PIC, place symbolic - operands in the data section. - -Wed Jan 15 21:45:09 1992 Michael Meissner (meissner at osf.org) - - * collect2.c (main): Pass any -b, -B, -m, -f, and - -V options to gcc instead of the linker, in order to allow - target switches that affect the size of pointers and search paths to - be passed through. - (main, choose_temp_base): Use TMPDIR environment variable, and the - P_tmpdir macro if defined to locate directory to put temp files. - (whole file): Reorganize so that all of the OSF/rose stuff goes at - the end of the file, rather than being scattered throughout. - (main, scan_prog_file): Invoke scan_prog_file twice, once on each - output of ld. - (scan_prog_file, read_file, write_file): On the second invocation, - rewrite the object file in place, adding a load command to put - __main in the list of initializer functions. This allows users - to put constructors and destructors into shared libraries. - (scan_prog_file): Move debug stuff and error routines to separate - functions. - -Wed Jan 15 17:59:02 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * combine.c (can_combine_p): Don't combine if DEST is still a field - assignment after we've tried to expand it. - -Wed Jan 15 16:01:13 1992 James Van Artsdalen (james at bigtex.cactus.org) - - * regclass.c (fix_register): Don't match a null register name. - * varasm.c (decode_reg_name): Likewise. - - * i386.h (HI_REGISTER_NAMES): Give the eliminable arg pointer a - null name. + math-convex.h: removed. + fixinc.convex: new file. -Wed Jan 15 13:40:50 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Thu May 6 22:54:43 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - * gcc.c (default_compilers): Pass -lang-asm, not -lang-asmc, to cpp. + * config/we32k/we32k.h (ASM_OUTPUT_ASCII): + Cast PTR to unsigned char *. + * config/clipper/clix.h (ASM_OUTPUT_ASCII): Likewise. - * gcc.c (process_command): Don't dump md_exec_prefix in specs. - Use the md_... prefixes only if no -b. +Thu May 6 20:20:41 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Wed Jan 15 13:35:09 1992 Ron Guilmette (rfg at ncd.com) + * cp-decl.c (build_enumerator): Strip any no-op casts off the + value before we try to do anything with it. - * i386v4.h (RETURN_IN_MEMORY): Definition added. - (CPP_PREDEFINES): Added -DX86 (needed for some system headers). - (ASM_OUTPUT_DWARF_STRING): Deleted. - (ASM_OUTPUT_ASCII): Added specialized definition for i386/svr4. + * cp-call.c (convert_harshness): Take volatility, in addition to + constness, into account when figuring out the penalty for the + type under question. - * svr4.h (SVR4): Deleted useless define. - (ASM_FILE_END): Added definition. - (ESCAPES, STRING_LIMIT, STRING_ASM_OP, ASM_OUTPUT_LIMITED_STRING): - (ASM_OUTPUT_ASCII): Generic svr4 definitions added. + * cp-decl.c (grokdeclarator): Undo unneeded change of Apr 6 when we + returned the type of the local typedef, instead of the typedef itself. - * m68kv4.h (CPP_PREDEFINES): Don't define SVR4. - * sparcv4.h (CPP_PREDEFINES): Don't define SVR4. - (ASM_OUTPUT_ASCII): Deleted obsolete definition. +Thu May 6 19:21:34 1993 Doug Evans (dje@canuck.cygnus.com) - * xm-svr4.h (SVR4): Removed useless definition. - (POSIX): Added definition for protoize.c. + * reload1.c (eliminate_regs, case {PRE,POST}_{INC,DEC}): Account + for PUSH_ROUNDING. - * i860b.h (ASCII_DATA_ASM_OP, ASM_OUTPUT_ASCII): Moved from i860.h. - * i860v3.h (ASCII_DATA_ASM_OP): Added OS-specific definition. - * i860v4.h (ASCII_DATA_ASM_OP, ASM_OUTPUT_ASCII): - Deleted (now in svr4.h). +Thu May 6 18:17:19 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * fixinc.svr4: Replaced all occurances of {1,\} in sed command - string with functional equivalents (to avoid bogus results). + * config/i386/sequent.h (DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC): + Override the usual definitions. - * c-lex.c (readescape): Pass thru escaped x, a, and v if -traditional. - (readescape): Pedantic warning for \?, \(, \{, and \[. + * objc/hash.h, objc/objc.h, objc/runtime.h, objc/sarray.h: + Use gstddef.h, with doublequotes. - * dwarfout.c: Updated copyright. - (fundamental_type_code): Abort for all non-fundamental types. - (type_is_fundamental): Return 0 for all non-fundamental types. - (containing_type_attribute, output_ptr_to_mbr_type_die): New functions. - (output_pointer_type_die, output_reference_type_die): Added calls to - equate_type_number_to_die_number. - (output_type): Handle OFFSET_TYPE correctly. - (output_type): Ignore LANG_TYPE (for now). +Thu May 6 15:58:18 1993 Ian Lance Taylor (ian@cygnus.com) -Wed Jan 15 09:30:08 1992 Michael Tiemann (tiemann at cygnus.com) + * fixincludes: More fixes for IRIX 4.0.1. Rather than replacing + [^A-Z]CTRL, replace [^A-Z_]CTRL and [^A-Z]_CTRL. Also patch + "//" in elf_abi.h which the sed script breaks. - * All cp-* files: Remove calls to `cleanup_after_call'. +Thu May 6 13:58:39 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * cp-method.c (fndecl_as_string): Add a missing space when printing - the return type. + * clix.h: Include "clipper/clipper.h" instead of "clipper.h". + * config.sub (os): Add -clix*. + * configure (clipper-intergraph-clix): Add clipper/ filename prefixes. - * cp-typeck.c (build_modify_expr): Treat arrays specially in both - INIT_EXPR and NOP_EXPR cases. Also, if we take the address NEWRHS - when it's not a SAVE_EXPR, build a new NEWRHS using that address. - * cp-tree.c (lvalue_p): Handle WITH_CLEANUP_EXPR case. - - * cp-decl.c (grokvardecl): Don't get tripped up by static class - members of incomplete type. - -Wed Jan 15 09:12:51 1992 Jeffrey A. Law (law at wombat.gnu.ai.mit.edu) - - * m68k.c (legitimize_pic_address): Re-enable code which was - mistakenly #ifdef'd out. - -Wed Jan 15 08:12:18 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * reload.c (find_reloads): Check for insn not recognized. - - * caller-save.c (reg_{save,restore}_code): New variables. - (init_caller_save): Set them. - (insert_save_restore): Just make SET for pattern of insn and set - code from reg_{save,restore}_code. - (save_call_clobbered_regs): Put restore insns before JUMP_INSN that - ends basic block, but after any other insn that ends the block. - - * sdbout.c (sdbout_symbol): Treat (mem (reg SP)) the same - as (mem (reg FP)). - - * reorg.c (mark_referenced_resources): Fix typo in last change. - (emit_delay_sequences): Update chain correctly when previous or - next insn is also a SEQUENCE. - -Wed Jan 15 08:10:29 1992 Chris Smith (cks at bach.convex.com) - - * t-convex: Use collect2 to link. - * convex.h: remove assembly output defines for old collect2. - * convex.h: define vprintf and wait macros for pcc mode boot of - collect2. - - * convex.h (ASM_OUTPUT_DOUBLE_INT): define. - - * convex.h (DEFAULT_GDB_EXTENSIONS): define as 0 until GDB version 4 - port is available. - - * convex.c (ap_reload_needed): Fix comment. - -Wed Jan 15 07:08:25 1992 Tom Wood (wood at dg-rtp.dg.com) - - * m88k.h (CONST_SECTION_FUNCTION): Trivial definition for targets - not based on svr[34].h (m88k-luna). - - * m88k.h (PREDICATE_CODES): Use it. - - * m88k.md (casesi_enter): Don't use bsr.n with -fno-delayed-branch. - * m88k.h (ASM_OUTPUT_CASE_END): The lda goes here when bsr is used. - - * m88k.c (legitimize_address): When converting a symbol_ref for - PIC, add a REG_EQUAL note. - -Wed Jan 15 06:22:34 1992 Michael Meissner (meissner at osf.org) - - * mips.h (MIPS_VERSION): Bump Meissner version # to 8. - (fcmp_op): Add function declaration. - (TARGET_FLOAT64): Support for -mfp64 switch to support the R4000 FR - psw bit, which doubles the number of floating point registers. - (TARGET_SWITCHES): Likewise. - (HARD_REGNO_NREGS): Likewise. - (CLASS_FCMP_OP): New bit for classifing floating point compares. - (PREDICATE_CODES): Add cmp2_op and fcmp_op support. - - * mips.c (various): Move extern declarations from inside of - functions to outside all functions. - (fcmp_op): Match comparison operators for floating point. - (mips_move_2words): Add -mfp64 support. - (override_options): Likewise. - (compute_frame_size): Likewise. - (override_options): Set up for fcmp_op. - (gen_conditional_branch): Redo floating point compares/branches, so - that it is like the rest of the compiler expects -- set cc0 to a - compare operator, instead of the exact test required, and put the - smarts in the branch operators to generate both the test and the - branch. - - * mips.md (cmpdf_eq, cmpdf_lt, cmpdf_le): Delete. - (cmpsf_eq, cmpsf_lt, cmpsf_le): Delete. - (cmpdf_internal): New define insn to match FP compares. - (cmpsf_internal): Likewise. - (branch_fp_true1, branch_fp_true2): Likewise. - (branch_fp_false1, branch_fp_false2): Likewise. - (branch_fp_true, branch_fp_false): New define_insns to match the - branch part of FP compares. - -Wed Jan 15 01:42:39 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) - - * unroll.c (copy_loop_body): New parameter copy_notes_from, to - correct problem with bad debug info generated for preconditioned - loops. - (unroll_loops): Fix calls of copy_loop_body to pass new parameter. - -Wed Jan 15 01:01:39 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * gcc.c (main): Don't use TARGET_VERSION. - (endfile_spec, switches_need_spaces): New vars, initted from macros. - (set_spec, process_command): Read and write those vars. - (do_spec_1, process_command): Use the new vars, not the macros. - (SWITCHES_NEED_SPACES): New default macro definition. - - * Makefile.in (install-common): Install driver as gcc-$(target). - - * gstddef.h (wchar_t): Check for _T_WCHAR. - - * stmt.c (pushcase, pushcase_range): Return 5 if jump into stack level. - * c-parse.y, objc-parse.y (stmt): Print error msg for that. - * cp-parse.y: Likewise. - -Tue Jan 14 23:25:37 1992 Ron Guilmette (rfg at ncd.com) - - * dwarfout.c: Include if USG *or* POSIX. - (TREE_UID): Deleted. - (current_funcdef_number): Replacement for TREE_UID. - (dwarfout_file_scope_decl): Increment - current_funcdef_number after each funnction definition is processed. - (pending_sibling_stack_depth): Renamed globally to pending_siblings. - (pending_sibling_stack_size): Renamed to pending_siblings_allocated. - (PENDING_SIBLING_STACK_INCREMENT): Renamed PENDING_SIBLINGS_INCREMENT. - (pending_types_list, pending_types_allocated, pending_types, - PENDING_TYPES_INCREMENT, fake_containing_scope): New vars/macros. - - * dwarfout.c (total_ft_entries): Renamed to ft_entries_allocated. - (valid_ft_entries): Renamed to ft_entries. - (FT_ENTRIES_INCREMENT): Definition added. - (lookup_filename): Expand filename table (when needed) - by adding FT_ENTRIES_INCREMENT more table elements rather than - doubling current size. - (dwarfout_init): Allocate initial filename table. - - * dwarfout.c (INSN_LABEL_FMT, FUNC_END_LABEL_FMT): Use decimal format. - - * dwarfout.c (member_attribute): Rewritten for proper C++ support. - (output_array_type_die, output_set_type_die, output_entry_point_die, - output_enumeration_type_die, output_global_subroutine_die, - output_global_variable_die, output_inline_subroutine_die, - output_local_variable_die, output_member_die, output_pointer_type_die, - output_reference_type_die, output_string_type_die, - output_structure_type_die, output_local_subroutine_die, - output_subroutine_type_die, output_typedef_die, output_union_type_die): - Added calls to member_attribute (for C++). - - * dwarfout.c (inline_attribute): Test for TREE_INLINE in here. - (output_global_subroutine_die, output_local_subroutine_die): - Don't test for TREE_INLINE here. - - * dwarfout.c (output_formal_types): Fixed to handle METHOD_TYPE - nodes and to output all related type DIEs last (for SDB). - (type_ok_for_scope, output_pending_types_for_scope, pend_type): - Functions added to support C++. - (output_type, output_decl): Added `containing_scope' - parameter to handle C++ nested types. - (output_type): Don't output the type unless it's OK - for the current DIE chain (i.e. unless it's OK for the current scope). - (output_type): Output completed non-global tagged types - right away even if not finalizing. - (output_type): Use correct method to get head of chain - of C++ function members. - (output_decl): Skip first item on chain of DECL_ARGUMENTS - for a FUNCTION_DECL whose type is a METHOD_TYPE. - Suppress output of type DIEs for formal parms of a FUNCTION_DECL - until after all TAG_parameter DIEs have been output (for SDB - compatability). - Output DIEs for any LABEL_DECL nodes attached to outermost BLOCK of - a FUNCTION_DECL. - Handle LABEL_DECL nodes. - - * dwarfout.c (dwarfout_file_scope_decl): Un-pend all pending file- - scope types after each file-scope declaration is output. - (output_decls_for_scope): Un-pend all pending local types - at end of each local scope. - -Tue Jan 14 16:40:39 1992 Tim Moore (moore at fast.cs.utah.edu) - - * calls.c (expand_call): If ARGS_GROW_DOWNWARD, make slot_offset - negative and set highest_outgoing_arg_in_use to needed + 1. - (store_one_arg): If ARGS_GROW_DOWNWARD deal with negative slot_offset. - -Tue Jan 14 20:01:59 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) - - * sparc.h (TARGET_SUN_ASM, TARGET_GNU): Delete support for - obsolete and undocumented flags -msun-asm and -mgnu. - * sparc.md: Likewise. - -Tue Jan 14 19:36:21 1992 Tim Moore (moore at fast.cs.utah.edu) - - * xm-hp800.h (hpux8): define. - * hp800.h (LINK_SPEC): Conditionalize on hpux8. - (STACK_BOUNDARY): Define for snake. - (CALL_USED_REGISTERS): Shift register is special. - (HARD_REGNO_MODE_OK): Don't allow modes smaller that SImode in fp - registers. - (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Eliminate - GENERAL_OR_FP_REGS, GENERAL_OR_SNAKE_FP_REGS classes. - (FUNCTION_ARG): Handle snake fp arguments. - (ASM_DOUBLE_ARG_DESCRIPTORS): define. - (ASM_DECLARE_FUNCTION_NAME): Use above macro to get around hpux - 8.0 change. - * hp800.md (movsi, movdi): Add ! and * to constraints of anonymous - define-insns to discourage SImode values in fp registers. Don't - modify the stack pointer when moving between general and fp registers. - (mulsi): Take out pattern that matches a degenerate multiplication - by 1; it doesn't seem to be needed and causes problems. - (sar_sub): Change so that const_int isn't the first argument of - the comparison. - * hp800.c (output_fp_move_double): As above, don't modify the - stack pointer when moving between general and fp registers. - (output_block_move): Don't make one CONST_INT rtx and store - different integer values in it; cons up a "new" one for each value. - (output_floatsisf2, output_floatsidf2): Fix typos. - (output_arg_descriptor): Conditionalize for HPUX 8.0. - -Tue Jan 14 14:38:09 1992 Michael Tiemann (tiemann at cygnus.com) - - * cp-typeck.c (build_unary_op): Call readonly_warning_or_error if - ARG is TREE_READONLY (in addition to the type being TYPE_READONLY). - - * cp-init.c (maybe_adjust_addr_for_delete): If the adjustment needs - to be done, zero out the storage that held part of the cookie. - -Tue Jan 14 13:12:48 1991 Ron Guilmette (rfg at ncd.com) - - * c-decl.c (poplevel): Set TYPE_CONTEXT for each tagged type - except inside function declaration parm list. - (grokdeclarator): Set TYPE_CONTEXT for tagged type in decl parm list. - (pushtag): Don't set TYPE_CONTEXT for tagged types here. - -Tue Jan 14 06:46:37 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * global-alloc.c (global_alloc): Count multi-word pseudos correctly - in local_reg_n_refs. - (find_reg): Evict pseudos that overlap the register we take, not just - that start with that register. - - * a29k.c (a29k_debug_reg_map): New variable. - (output_prologue): Initialize it. - * a29k.h (DBX_REGISTER_NUMBER): Use that map. - - * ultrix.h (WCHAR_TYPE): Make definition be a known type. - - * final.c (final_scan_insn): Call DBR_OUTPUT_SEQEND before we - clear `final_sequence', so it can call dbr_sequence_length. - - * reload1.c (reload): Clear insn_needs once we know we have - reloads, instead of always. - Don't skip processing of reloads for CALL_INSNs when caller-save - needs a spill register. - - * flow.c (mark_used_regs, case RETURN): Insert missing test for global - registers. - - * reorg.c (mark_referenced_resources): Mark asm's as volatile - when appropriate. + * c-typeck.c (pointer_diff): Error if op1 is pointer to incomplete + type. - * integrate.h (struct inline_remap): New field const_equiv_map_size. - * integrate.c (expand_inline_function): Set it; make larger map. - (subst_constants): Don't reference out-of-range entry in equiv map. - * unroll.c (unroll_loop): Set const_equiv_map_size. + * fixinc.svr4 (sys/varargs.h): Replace. -Mon Jan 13 19:12:18 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) +Thu May 6 11:58:28 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * unroll.c (find_splittable_givs): When completely unrolling loop, - use biv initial value stored in splittable_regs instead of - bl->initial_value, since the later may not be safe. + * reload1.c (forget_old_reloads_1): Accept and ignore 2nd arg. + (reload_as_needed): Pass that second arg. - * sched.c (schedule_block): When calculating whether a register - crosses a call, must do this after registers are killed and before - new registers are made live. + * c-parse.in: For Objc, expect just 20 conflicts. - * x-rs6000: Define INSTALL as /usr/ucb/install -c. /etc/install - (the SYS V version) does not handle -c option as Makefile.in - intends it. + * objc-act.c (OBJC_GEN_METHOD_LABEL): Do use CAT_NAME. -Mon Jan 13 11:21:24 1992 Michael Meissner (meissner at osf.org) + * config/i386/i386.md (extendsidi2): Use cdq or cltd, not cwtl. - * mips-tfile (parse_stabs_common): Don't relocate N_LBRAC and - N_RBRAC stabs for compatibility with other stabs implementations. + * configure (i[34]86-*-bsd): Don't use collect2. -Mon Jan 13 07:41:32 1992 Michael Tiemann (tiemann at cygnus.com) + * c-typeck.c (convert_for_assignment): Don't use convert_and_check + when handling arithmetic types here. - * cp-decl.c (grokdeclarator): Don't set TREE_PRIVATE here. - TREE_PRIVATE is only for visibility. - (start_function): Don't test TREE_PRIVATE here. #pragma - interface/implementation should properly handle the case of static - (i.e. non-public) defns in implementation section now. + * c-common.c (truthvalue_conversion): Turn off Apr 29 change. -Mon Jan 13 07:31:38 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Thu May 6 05:44:23 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * rs6000.c (output_ascii): The AIX assembler silently truncates - strings longer than 666 characters, so break them up well before that. + * reload.c (find_equiv_reg): Don't look inside a CONST_DOUBLE; + use operand_subword instead. -Mon Jan 13 00:26:47 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * varasm.c (record_constant): Properly make the header of + a struct constant_descriptor. - * c-decl.c (pushdecl): Warn about shadowing at top level any symbol - that was declared among the function parms. But don't warn for - parms in a nested function. - * tree.c (chain_member): New function. + * function.c (walk_fixup_memory_subreg): Add new arg UNCRITICAL. + (fixup_var_refs_insn): Call with UNCRITICAL of 1 when processing + REG_NOTES. - * sparc.c (output_return): Handle structure value in all the cases. + * integrate.c (expand_inline_function): Don't call convert_to_mode + unless we need to; some converstions of VOIDmode objects can + mess them up. - * toplev.c (main): -gstabs+ means use stabs with gdb extensions. + * expmed.c (store_split_bit_field): Properly handle VALUE when + it is a CONST_DOUBLE. - * fixincludes: Insert #undef NULL before #define NULL. + * fold-const.c (decode_field_reference): Don't do anything for + non-integral fields. - * gvarargs.h (va_list): Check some macros to avoid redefinition. + * cse.c (simplify_binary_operation, simplify_relational_operation): + Check for MODE_CC modes, not just CCmode. - * tree.h (DECL_PACKED): New macro. - * c-common.c (decl_attribute): Handle `packed'. - * stor-layout.c (layout_record): Handle DECL_PACKED. - * c-parse.y (attrib): Accept `packed' with no arg. +Thu May 6 00:54:40 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - * c-decl.c (shadow_tag): For useless keyword, just warn. - (duplicate_decls): Don't preserve volatile bit from old decl - if that is just a default declaration for abort, exit, etc. + * objc/class.c, objc/hash.c: Change calloc to __objc_xcalloc. + * objc/objects.c (class_create_instance): bzero new instances - * cccp.c (do_assert, do_unassert, check_assertion): - No pedantic warnings in system header files. + * objc/sendmsg.c (__objc_send_initialize, class_add_method_list): + Allow multiple +initialize methods per class. - * ultrix.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE): Defined. - (WCHAR_TYPE_SIZE): Defined. +Wed May 5 21:40:04 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * i386.h (HI_REGISTER_NAMES): Add a name for dummy reg 16. + * config/i386/sequent.h (LINK_LIBGCC_SPECIAL): #if 0. - * dbxout.c (flag_minimal_debug): Make it static. + * toplev.c (main): Improve error message in previous change. -Sun Jan 12 18:10:46 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Wed May 5 19:36:15 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * c-lex.c (check_newline): Check #line for `3' meaning system header. - * cccp.c (output_line_command): Output `3' if system header. - * c-tree.h (system_header_p): Declare it. - (ridpointers): Declaration deleted. + * combine.c (combinable_i3pat): Do not make REG_DEAD notes for + the stack pointer, frame pointer, or arg pointer. - * dwarfout.c (fundemental_type_code): Treat OFFSET_TYPE like integer. - (type_is_fundamental, output_type): Likewise. +Wed May 5 17:57:30 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * optabs.c (expand_float): Abort if FROM has VOIDmode. - * expr.c (expand_expr, FLOAT_EXPR case): Don't pass a VOIDmode. + * config/i386/sequent.h (LINK_LIBGCC_SPECIAL): Defined. -Sun Jan 12 16:11:40 1992 Michael Meissner (meissner at osf.org) +Wed May 5 00:01:57 PDT 1993 Ron Guilmette (segfault!rfg@netcom.com) - * mips.h (ASM_OUTPUT_SPACE): If assembler is gas, don't use the - .space directive, since the table PREDICATE_CODES generates tickles - a bug. + * expr.h: Fix comment typos. emit_block_move decl was hidden. -Sun Jan 12 15:59:41 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * toplev.c (main): If C++ for Dwarf requested, warn and turn it off. - * expmed.c: Include real.h. - (make_tree): Properly handle CONST_INT and handle many more rtl codes. - (expand_mult_add): Don't do folding here; just call make_tree and fold. - * Makefile.in (expmed.o): Includes real.h. +Wed May 5 21:48:24 1993 Kresten Krab Thorup (krab@iesd.auc.dk) -Sun Jan 12 12:26:20 1992 Michael Tiemann (tiemann at cygnus.com) + * objc-act.c (check_methods_accessible): Handle interface types. - * cp-decl.c (store_parm_decls): Finish change started 11 Jan 1992. +Wed May 5 14:37:42 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-decl.c (pushtag): Don't set CLASSTYPE_TAGS after - CURRENT_CLASS_TYPE has been defined. + * fold-const.c: (optimize_bit_field_compare): Add missing arg + to const_binop. - * cp-lex.c (check_newline): Set INTERFACE_UNKNOWN if we see a - #pragma implementation or if it's the toplevel file. + * reg-stack.c (record_asm_reg_life): Don't abort for asm that + doesn't match its constraints. -Sat Jan 11 22:04:34 1992 Michael Meissner (meissner at osf.org) + * combine.c (num_sign_bit_copies, case SUBREG): Properly compute + the number of sign bit copies of SUBREGs of promoted objects. - * mips.md (fix_truncsfsi2_opt): Delete, since the optimizer will - strip the clobbers when substituting a register for a cs'ed value, - unlike GCC 1. - (fix_truncdfsi2_opt): Likewise. - (long long shifts): Fix various typos. + * optabs.c (add_equal_note, expand_binop, expand_unop): Make + copy of operands for REG_EQUAL note to avoid sharing RTL if + called later than RTL generation. + (emit_libcall_block, expand_fix): Likewise. + * expr.c (convert_move): Likewise, though probably not + called after RTL generation. -Sat Jan 11 15:26:24 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Wed May 5 14:11:12 1993 Ian Lance Taylor (ian@cygnus.com) - * expr.h (GEN_FCN): Alternate definition if FUNCTION_CONVERSION_BUG. - * xm-romp.h (FUNCTION_CONVERSION_BUG): Define it. + * fixincludes: Only quote argument to _IO[A-Z]*, not first item in + parentheses. Added patches for IRIX 4.0.1 header files to undo + some inappropriate changes. - * i386.md (cmpstrsi recognizers): Change back to repz. +Wed May 5 11:34:59 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sat Jan 11 11:18:32 1992 Michael Tiemann (tiemann at cygnus.com) + * toplev.c (flag_defer_pop): Initialize to 0. + (main): Set it to 1 if optimizing. - * cp-decl.c (store_parm_decls): Don't put non-PARM_DECL nodes in the - list that will become DECL_ARGUMENTS. +Wed May 5 06:38:47 1993 Tom Wood (wood@hal.gnu.ai.mit.edu) - * cp-decl2.c (grokfield): Convert () initialization to = - initialization in FIELD context. - * cp-decl.c (parmlist_is_exprlist): Now non-static. + * configure (i[34]86-next-*, m68k-next-*): collect2 isn't needed. - * cp-decl.c (grokdeclarator): Don't let static class members be - declared `static' at top-level. +Tue May 4 14:21:11 1993 Kresten Krab Thorup (krab@xiv.iesd.auc.dk) - * cp-decl.c (pushdecl_class_level): Don't use DECL_ASSEMBLER_NAME. + * objc/objc.h, objc/runtime.h: Remove inclusion of memory.h + * objc/objc.h, objc/hash.h, objc/runtime.h: Remove inclusion of + gstddef.h - * cp-decl.c (grokdeclarator): Don't let language linkage interfere - with declarator grokking--the two are independent. + * objc/Makefile (OBJC_H): Add typedstream.h - * cp-call.c (compute_conversion_costs): Look for constructor or type - conversions regardless of whether we have CONTRAVARIANCE_HARSHNESS - or not. Also, `#if 0' some dead code. + * objc/Object.h: Add includes objc/objc.h and objc/typedstreams.h + objc/Object.h: Removed `minimal' definitions. Includes objc.h + instead. + * objc/archive.c: Add include "typedstream.h" - * cp-method.c (report_type_mismatch): Fix bugs in formatting error - messages. + * objc/typedstream.h: New file. Contents moved from + objc/objc-api.h. - * cp-decl.c (grokvardecl): Verify that when static class members are - declared at toplevel, the types match their initial declaration. + * objc/objc.h (IvarList, Ivar, SymTab, Module, Method, + Category, Super, objc_method_description, objc_protocol_list): + Data definitions moved to objc/objc-api.h -Sat Jan 11 08:41:24 1992 Fred Fish (fnf at fishpond) + * objc/archive.c: Change malloc into __objc_xmalloc - * config/m68kv4.h (NO_DOLLAR_IN_LABEL): Undefine so that the - default for m68k/SVR4 systems is to use '$', which is more - widely supported. + * objc/objc.h, objc/sendmsg.c: Remove any code for hash lookup + * objc/cache.h: File removed -Sat Jan 11 10:56:10 1992 Jeffrey A. Law (law at wombat.gnu.ai.mit.edu) + * objc/objc-api.h (class_create_instance, object_copy, + object_dispose): Definitions moved to objc/objects.c - * Finish PIC implementation on the 68k - * output.h (flag_pic): Declare here so that insn-*.c can see it. + * objc/objc.h: Remove declarations for library functions. + * objc/Object.m (-conformsTo:): Bugfix: Also ask superclasses. - * reload1.c (reload): When compiling PIC ignore REG_EQUIV notes - which are CONSTANT_P, but are not LEGITIMATE_PIC_OPERAND_P. +Tue May 4 23:46:37 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * m68k.md (call, call_value): Make these into define_expands. If - compiling PIC code, then load the address of the function into a - register so that we make indirect calls. - (Non-PIC call, call_value): New define_insns. These are - standard call insns. - (PIC call, call_value): New define_insns which output PIC calls. - (movsi): Make this into a define_expand. Legitimize PIC addresses - if necessary. Old movsi code is now an unnamed define_insn pattern. + * cp-decl.c (start_decl): Give an error, not a sorry, when they try + to declare a template on a VAR_DECL or a TYPE_DECL. - * m68k.h (GO_IF_LEGITIMATE_ADDRESS case INDIRECTABLE_1_ADDRESS_P): - Use LEGITIMATE_PIC_OPERAND_P to reject SYMBOL_REFS and LABEL_REFS - without PIC relocation when compiling PIC code. + * cp-type2.c (process_init_constructor): If we have a VAR_DECL + that's static in the class, don't try to use it when we're working + on an initializer-list; it has no business being there. - * m68k.c (legitimize_pic_address): New function. Given an address - return that address as "legitimized" PIC code. - (print_operand_address): When generating PIC code, handle PIC - relocated label_refs just like a PIC relocated symbol_ref. - (print_operand_address): If -fpic then add ":w" to displacement in - PIC relocated references. - (print_operand_address): If -fPIC then add ":l" to displacement in - PIC relocated references. + * cp-cvt.c (convert_pointer_to): Only call get_base_distance et al. + on RECORD_TYPEs, not on UNION_TYPEs. -Fri Jan 10 18:03:08 1992 Ken Raeburn (Raeburn@Cygnus.COM) + * cp-decl.c (grokdeclarator): Don't try to divine the name of the + incomplete type for a field decl. - * cp-init.c (build_new): Don't allocate header for arrays if no - destructor is needed. Also fix broken calculation of array size. - (build_delete): Don't skip array header if no destructor is needed. +Tue May 4 19:55:29 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) -Fri Jan 10 14:54:19 1992 Michael Tiemann (tiemann at cygnus.com) + * combine.c (distribute_notes, REG_DEAD case): Handle hard + registers which partially overlap the destination of the insn. - * cp-cvt.c cp-decl2.c cp-expr.c cp-gc.c cp-init.c cp-lex.c cp-parse.y - cp-pt.c cp-search.c cp-tree.c: Clean up problems found with -Wreturn - (from rfg). +Tue May 4 17:59:10 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * cp-typeck.c cp-tree.c cp-cvt.c cp-lex.c cp-call.c cp-class.c: - Add (unsigned) casts to all places where native SVr4 compilers - expect to see unsigned values. + * pa.md (casesi0): Remove incorrect fix from April 23. + * pa.h (CASE_DROPS_THROUGH): Define. -Fri Jan 10 08:34:36 1992 Fred Fish (fnf at sunfish) +Tue May 4 13:22:21 1993 John Hassey (hassey@dg-rtp.dg.com) - * m68ksgs.h (REGISTER_NAMES): Provide separate versions for - SUPPORT_SUN_FPA defined and not defined. + * t-dgux: Fixed name of link script. -Fri Jan 10 22:36:41 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) +Tue May 4 11:15:40 1993 Steve Chamberlain (sac@wookumz.gnu.ai.mit.edu) - * Improve I/O performance of gcc on VMS. - * cccp.c (VMS_open, VMS_fopen, VMS_freopen): New functions. - (open, fopen, freopen): Define as macros on VMS. - * toplev.c (VMS_fopen): New function. - (fopen): Define as macro on VMS. + * sh.md (arith patterns): Rework constraints. + * sh.h (ASM_OUTPUT_CASE_LABEL): Ensure jump table is aligned. + * sh.c (arith_reg_operand): New constraint. (dump_constants): + Force out a constant table if necessary. -Fri Jan 10 22:00:50 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Mon May 3 20:41:00 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * genrecog.c (merge_trees): If two trees both have actions, but - one adds clobbers and one doesn't, ignore the one that does. + * tree.c (build_array_type): The main variant of an array type + should always be an array whose element type is the main variant. - * genemit.c (gen_split): Say that we are giving the definition number - in our error message. - * genrecog.c (fatal): Likewise. - * genoutput.c (scan_operands): Likewise. +Mon May 3 19:27:04 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * caller-save.c: Include expr.h (for gen_move_insn). - (regno_save_elim): Deleted. - (init_save_areas): Don't initialize it. - (setup_save_areas): Don't set it. - (save_call_clobbered_regs, restore_referenced_regs): Accept mode, - not spill register. - (insert_save_restore): Don't do our own register elimination and - reloading; instead set the insns we make to the desired mode. - * reload1.c (struct elim_table): New field MAX_OFFSET. - (reload): Always call init_save_areas. - Initialize max_offset each pass. - At each CALL_INSN, create a need for a spill register that will - be used by caller-save. - Pass mode for insns to save_call_clobbered_regs instead of a - spill reg number. - Call reload_as_needed if we will have to reload the caller-save - insns, even if nothing else needs reload (unlikely). - (eliminate_regs_in_insn): Record maximum offset value. - * Makefile.in (caller-save.o): Includes expr.h. + * lite.h (CPP_PREDEFINES): Delete -Dsun and -Dunix. - * reload.c (find_reloads): CALL_INSNs can't have output reloads. - * reload1.c (emit_reload_insns): Put any reloads for a CALL_INSN - in front of any immediately-preceeding USE insns. + * combine.c (make_extraction): Move BYTES_BIG_ENDIAN != + BITS_BIG_ENDIAN offset correction after the offset calculation. + * elxsi.h, mips.h (BITS_BIG_ENDIAN): Define to zero. - * flow.c (life_analysis): Mark all global regs as live at the end of - the function. - (propagate_block): Each call makes all global registers live. - (mark_used_regs): A RETURN may use the stack pointer and uses all - global regs. - * cse.c (cse_insn): A CALL_INSN clobbers any global regs. - * reorg.c (mark_referenced_resources): Calls used global regs. - (mark_set_resources): CALL_INSNs clobber global regs. + * c-decl.c (grokdeclarator, ARRAY_REF case): Build array type, and + then build the variant array type. -Fri Jan 10 17:24:06 1992 Michael Meissner (meissner at osf.org) + * sparc.md (floatsitf2): Output fitoq not fitox. - * collect2.c (whole file): Major rewrite to merge in collect3 - functionality which uses GCC to build up the constructor and - destructor tables, instead of using the assembler. Also improve - the support for cross compilers to find the tools. The old assembly - language support has been removed. + * i960.md (scc pattterns): Add missing mode to conditional operators. + * i960.c (output_function_profiler): Add missing newlines in strings. - * mips-tfile.c (CODE_MASK): Move to mips.h to use with mips-tdump - also. - (MIPS_IS_STAB): Likewise. - (MIPS_MARK_STAB): Likewise. - (MIPS_UNMARK_STAB): Likewise. + * c-common.c (truthvalue_conversion): Don't optimize subtract of + reals when target uses IEEE arithmetic. - * mips-tdump.c (various): Changes by Per Bothner to print - encapsulated stabs, and to shorten the output. + * c-parse.in: Delete cond.awk reference. + * cond.awk: Delete file. - * mips.h (MIPS_VERSION): Set Meissner version # to 7. - (cmp2_op): Make cmp2_op a real function instead of just a - macro to cmp_op. - (OPTIMIZATION_OPTIONS): -O now sets flag_caller_saves and - flag_schedule_insns_after_reload. - (CC1_SPEC): Fix typo preventing -mgpopt from being set if - optimization. - (PREDICATE_CODES): Define. - (USE_COLLECT, EXTENDED_COFF, NO_UNDERSCORES): Delete, not needed in - GCC 2.00. - (ASM_INT_OP, ASM_SHORT_OP, ASM_CHAR_OP): Likewise. - (CODE_MASK): Move from mips-tfile. - (MIPS_IS_STAB): Likewise. - (MIPS_MARK_STAB): Likewise. - (MIPS_UNMARK_STAB): Likewise. +Mon May 3 16:58:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * mips.c (cmp2_op): Make this a real function, instead of a macro - pointing to cmp_op. - (volatile_buffer): New static variable to support .set volatile. - (mips_move_1word): Do .set volatile/.set novolatile around volatile - memory references. - (mips_move_2words): Likewise. + * c-typeck.c (digest_init): Check size properly for wide-string. - * mips.md (sne define_split): Fix so that it generates a gtu 0. - (all set cc define_splits): Remove reload_completed tests. - (all set cc define_insns): Don't allow 0 as operand 1. + * Makefile.in (TEXI2DVI): New variable. + (cpp.dvi, gcc.dvi): Use it. -Fri Jan 10 16:40:45 1992 Jeffrey A. Law (law at wombat.gnu.ai.mit.edu) +Mon May 3 16:29:38 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * m68k.md (addsi3, addhi3, subsi3, stack adjustment peepholes): - Perform small (8 < N <= 16) constant additions and subractions to - address registers with two addqw (or subqw) instructions. + * cp-search.c (lookup_nested_field): Pass complain down as the value + for lookup_field's `protect' argument. This will help avoid + incorrect visibility errors when we're parsing things. -Fri Jan 10 06:54:22 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Mon May 3 21:02:22 1993 H.J. Lu (hlu@yardbird.eecs.wsu.edu) - * calls.c (expand_call): Check for _longjmp as well as longjmp; - clean up code a bit and merge with check for setjmp-like names. - Emit a BARRIER if this is a call to longjmp in addition to - volatile calls. + * config/i386/linux.h (FUNCTION_PROFILER, ASM_OUTPUT_ADDR_DIFF_ELT): + Remove PIC stuff. We wait for the ELF support in gas and binutils. + (LINK_SPEC): Defined for -v. -Fri Jan 10 02:25:54 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Mon May 3 06:41:56 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-typeck.c (digest_init): Properly return error_mark_node - after invalid element in array initializer. + * objc/Makefile (copy-headers): Put `-' on mkdir command. - * gcc.c (pexecute): Use `fork' in error message if don't have vfork. +Sun May 2 09:28:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Makefile.in: Add .NOEXPORT. + * cccp.c (macroexpand): Treat `foo ( )' as 0 args if foo wants 0 args. -Thu Jan 9 13:36:25 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Sun May 2 07:37:45 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * expr.c (expand_expr): Handle OFFSET_REF. + * reload1.c (eliminate_regs, case SUBREG): Leave the SUBREG when + the inner object is a pseudo on machines that extend byte + loads (to be consistent with reload.c). + * reload.c (push_reload): Allow non-paradoxical SUBREGs of MEM + on machines that extend byte loads. - * cse.c (simplify_binary_operation): Never use associative law for - floating arithmetic. +Sun May 2 08:57:33 1993 Michael Meissner (meissner@osf.org) - * fixinc.svr4: Renamed INCLUDES to INPUT. + * real.c (EDOM, ERANGE): Do not define since errno.h was + previously included. - * i386.md (cmpstrsi recognizers): Output repe, not repz. +Sun May 2 08:28:15 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Jan 9 18:02:34 1992 Dennis P. Glatting (dennisg at tti) + * cse.c (record_jump_cond): Use mode of op0 or op1, not MODE, + when testing for narrowing or widening subregs. - * tree.h (CONSTRUCTOR_NAME_FORMAT): Changed name format. Old format - was recognized as destructors not constructors. - * objc-actions.c (build_module_descriptor): - Null-terminate global_object_name. +Sat May 1 10:10:44 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Jan 9 10:35:58 1992 Tom Wood (wood at dg-rtp.dg.com) + * config/nextstep.h (WORD_SWITCH_TAKES_ARG): Fix typo. - * sdbout.c (sdbout_syms): Don't attempt to output a LABEL_DECL. + * cse.c (simplify_binary_operation): Reject CCmode in A & (~A) -> 0. -Thu Jan 9 08:17:44 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cccp.c (macroexpand): If just whitespace between parens, + treat it as one argument. - * fold-const.c (merge_component_references): Treat constants as - unsigned, so we don't get extra sign bits where we don't want them. +Sat May 1 11:02:22 1993 H.J. Lu (hlu@yardbird.eecs.wsu.edu) -Wed Jan 8 19:12:59 1992 James Van Artsdalen (james at bigtex.cactus.org) + * Makefile.in (libobjc.a): Depend on $(USE_COLLECT2) - * reload.c (combine_reloads): Don't use a fixed_reg as an reload - reg, even if it dies. + * objc/Makefile (xforward): Add `else true;' for Ultrix 4.2 make. - * loop.c (record_giv): Fix typo extracting insn_uid. +Sat May 1 06:49:51 1993 Tom Wood (wood@next.com) -Wed Jan 8 15:41:10 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * objc-act.c (build_ivar_reference): Warn when a class method + refers to an instance variable. - * cpp.texi, gcc.texi: Files renamed. - * invoke.texi, extend.texi, md.texi, rtl.texi, tm.texi: New subfiles. - * Makefile.in: Corresponding changes. +Fri Apr 30 22:37:56 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * fixincludes: Renamed INCLUDES to INPUT. + * c-lex.c (yylex): Avoid invalid shift for erroneous empty char const. - * m68k.c (notice_update_cc, print_operand): Fix typos. + * combine.c (subst, case COMPARE): Use SELECT_CC_MODE even if HAVE_CC0. - * cp-decl.c (expand_static_init): Save and restore current obstacks. +Fri Apr 30 12:40:23 1993 John Hassey (hassey@dg-rtp.dg.com) - * c-decl.c (poplevel): Put labels in BLOCK_VARS of top-level block. + * configure, install.texi: Updated -local configuration option. -Wed Jan 8 12:53:48 1992 Michael Tiemann (tiemann at cygnus.com) +Fri Apr 30 15:20:10 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * cp-decl.c (expand_static_init): Switch to PERMANENT_OBSTACK during - expansion. + * sparc.h (LONG_DOUBLE_TYPE_SIZE): Ifdef out. -Wed Jan 8 07:45:58 1992 Tom Wood (wood at dg-rtp.dg.com) +Fri Apr 30 14:53:43 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) - * m88kv3.h (STARTFILE_SPEC): SVR3 has *crt0.o files. + * config.sub: Fix syntax error. - * configure (m88k-*sysv{3,4}): The files are named m88kv{3,4}. +Fri Apr 30 12:00:24 1993 Ian Lance Taylor (ian@cygnus.com) -Wed Jan 8 06:01:44 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * fixincludes: Fix #endif comments for Ultrix 4.2. - * romp.md (mftbi): Allow memory in the contraints since there can't - be an input reload on an insn that uses cc0. +Fri Apr 30 10:45:53 1993 Steve Chamberlain (sac@wookumz.gnu.ai.mit.edu) - * cse.c (FIXED_BASE_PLUS_P): Include virtual_incoming_args_rtx. - (NONZERO_BASE_PLUS_P): New macro. - (find_comparison, simplify_relational_operation_args): Use - NONZERO_BASE_PLUS_P instead of FIXED_BASE_PLUS_P when appropriate. + * sh.c, sh.h, sh.md, t-sh, xm-sh.h: New files for Hitachi SH. + * configure (sh-hitachi-hms): New configuration. + * config.sub: Accept sh, hms. - * m68k.md (peepholes): Don't change around stack adjusts and pushes - when we are pushing something whose address involves sp. +Thu Apr 29 22:20:20 1993 Jeff Law (law@kahlua.cs.utah.edu) - * cse.c (simplify_unary_operation): Check for operations on - integers by looking at mode of OP, not output mode, to avoid - confusion with FIX operations whose result is an integer. + * cse.c (cse_insn): Reset the INSN_CODE for conditional + or computed jumps which have been converted into simplejumps. - * rtl.h ([df]const[012]_rtx): Deleted. - (const_tiny_rtx): New declaration. - (CONST0_RTX): Use const_tiny_rtx instead of {d,f,}const0_rtx. - (CONST1_RTX, CONST2_RTX): New macros. - * emit-rtl.c ([df]const[012]_rtx): Deleted. - (const_tiny_rtx): New definition. - (init_emit_once): Initialize const_tiny_rtx instead of old vars. - * cse.c (simpify_binary_operation): Use CONST[01]_RTX. - * varasm.c (immed_real_const_1): Likewise. - * combine.c (subst): Likewise. - * reg-stack.c (record_reg_life, stack_reg_life_analysis): Likewise. - * convex.md, i860.md, m88k.c, spur.md, vax.h, ns32k.md: Likewise. +Thu Apr 29 14:30:25 PDT 1993 Ron Guilmette (rfg@netcom.com) -Tue Jan 7 22:11:17 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * c-common.c (truthvalue_conversion): Specific error message when the + "truthvalue" of a struct, union, or array type operand is needed. - * x-i386isc (ENQUIRE_LDFLAGS): New defn: add -posix. +Thu Apr 29 21:42:26 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * protoize.c (_POSIX_SOURCE): Define only if POSIX. + Thu Apr 29 12:27:59 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * m68k.h (FPA_REG_P): Always define this somehow. + * cp-decl.c (grokdeclarator): When complaining about a field having + an incomplete type, tell them what type it was, and what template + instantiation was involved, if we can. - * c-decl.c (c_decode_option): Handle -Wchar-subscripts. - * c-typeck.c (build_array_ref): Do the real work. + Wed Apr 28 11:50:28 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Tue Jan 7 21:15:54 1992 Michael Meissner (meissner at osf.org) + * cp-decl.c (grokfndecl): New argument `publicp', to say if we + should set TREE_PUBLIC on the node for the caller. + (grokfndecl): Pass the new arg down appropriately. - * mips.md (branch_zero_false): Use correct mode (CC_0) on - match_operator. + * cp-pt.c (instantiate_template): If it's a static member fn, revert + it into a FUNCTION_TYPE and chop off the this pointer. + * cp-decl.c (revert_static_member_fn): Make non-static. + * cp-tree.h (revert_static_member_fn): Add prototype. -Tue Jan 7 14:24:45 1992 James Van Artsdalen (james at bigtex.cactus.org) + * cp-lex.c (reinit_parse_for_block): Bump the size of BUF for the + pre-parsed line directive to 16, so we can hold the max # of digits + in a signed int (10). - * reg-stack.c (replace_reg): get mode class from a mode, not a reg. +Thu Apr 29 19:26:21 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Jan 7 14:16:18 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * config/mips/mips.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): + Definitions put into #if 0. - * reg-stack.c (emit_pop_insn): Fix typo FPmode_reg. + * c-typeck.c (build_conditional_expr): Do default_conversion + before testing for ERROR_MARK. - * protoize.c (longjmp): Don't declare it. + * cse.c (simplify_binary_operation): Don't return const0_rtx + or constm1_rtx for IOR, AND, XOR in CCmode. + (simplify_relational_operation): Don't do anything if op0 has CCmode. -Tue Jan 7 09:47:47 1992 Michael Tiemann (tiemann at cygnus.com) + * Makefile.in (install-normal): Move install-libgcc + after $(INSTALL_HEADERS). - * cp-lex.c (real_yylex): From John Hassey, allocate space for the - terminating null on wide character literals. +Thu Apr 29 17:09:59 1993 Ian Lance Taylor (ian@cygnus.com) -Tue Jan 7 07:41:42 1992 Tom Wood (wood at dg-rtp.dg.com) + * gcc.c (is_directory): Renamed from is_linker_dir and added + linker argument. If not checking linker directory, check whether + directory exists only if SMALL_ARG_MAX not defined. + (putenv_from_prefixes): Don't add directories for which + is_directory returns 0. + * config/i386/xm-sco.h (SMALL_ARG_MAX): Define. - * m88kv3.h (LIB_SPEC): Add -lg. +Thu Apr 29 15:30:09 1993 Jeffrey A. Law (law@snake.cs.utah.edu) -Tue Jan 7 06:29:30 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * pa.md (shadd for reload): Fix constraint to match the output + pattern. - * stor-layout.c (layout_type): Don't over-align a structure - when strict alignment is not required. +Thu Apr 29 15:05:05 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - * rs6000.h (CALL_USED_REGISTERS): r31 should not be marked call-used. + * we32k.md (float_extend:DF recognizer): Add missing arg to + output_asm_insn. + (float_truncate:SF recognizer): Likewise. - * rs6000.md (add-and-compare): Fix duplicate operand number. +Thu Apr 29 10:18:36 1993 Kresten Krab Thorup (krab@wombat.gnu.ai.mit.edu) - * a29k.md (inbyte, inhw): Correct duplicate operand number. + * objc/xforward.c: File renamed from objc/_forward.c. + * objc/Makefile: Updated accordingly. - * fold-const.c (fold, case MULT_EXPR): Simplify (a * (1 << b)). - * combine.c (subst, case MULT): Likewise. - (simplify_shift_const, shift cases): Similarly, associate A << B << C. +Thu Apr 29 12:10:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * genoutput.c (seen): New array. - (scan_operands): Give error if an operand number was specified - twice. Include pattern number in error message. - (gen_insn, gen_expand, gen_split, gen_peephole): Initialize `seen'. - (gen_split, gen_peephole): Add initializations for arrays that - are copied. + * real.c: Deleted casts to void. - * optabs.c (expand_unop): Complete recent change; one TARGET was - not changed to TEMP. + * real.c (emdnorm, eifrac, euifrac, mtherr): Replace + unconditional `pedwarn' by `warning' conditional on `extra_warnings'. + (toe24, todec): Use ERANGE to flag overflow on (non-IEEE) + machines that do not have infinity. + (etoasc): Check explicitly for overflow of leading decimal digit. + (asctoeg): Test for, and immediately reject, out-of-bounds + decimal exponent inputs. + (at top level): Include errno.h; reference errno, + warning, extra_warnings. - * expmed.c (expand_mult): Always try multiplication by value and - by negated value. Fix bug where we don't include the cost of the negate - when seeing which way is better. Write proper value in REG_EQUAL - note. + * Makefile.in (tooldir): Use exec_prefix, not prefix. + (gcc.o): Likewise for TOOLDIR_BASE_PREFIX. - * optabs.c (extendtab): Replacement for {zero,sign}_extend_codes. - (can_extend_p): Use new table and return type is not enum insn_code. - (gen_extend_insn): Deleted; not used. - (init_extends): Make like init_flottab: use new table and initialize - unused entries to CODE_FOR_nothing, not zero. - * expr.c (convert_move): can_extend_p fails if it returns - CODE_FOR_nothing, not zero. - * expr.h (can_extend_p): Add definition. + * config/convex/convex.c (output_call): + Add missing arg to output_asm_insn. - * expr.h: Add "extern" to function definitions. + * gcc.c (default_compilers): Inhibit -D__OPTIMIZE__ if -O0. -Mon Jan 6 10:12:34 1992 Leonard Norrgard (vinsci at nic.funet.fi) + * config/m68k/m68k.md (movxf): Add pattern for soft-float moves. - * m68k.c (SUPPORT_SUN_FPA): Conditionalize references to the - optional Sun 3 Floating Point Accelerator with SUPPORT_SUN_FPA. - * m68k.h (SUPPORT_SUN_FPA): Likewise. + * config/m68k/m68k.c (output_move_double): Support XFmode moves. - * m68k.c (notice_update_cc): New function. - * m68k.h (NOTICE_UPDATE_CC): Just call notice_update_cc. +Thu Apr 29 00:09:34 1993 Kresten Krab Thorup (krab@wombat.gnu.ai.mit.edu) - * sun3.h (SUPPORT_SUN_FPA): New define. + * objc/init.c (__objc_exec_class): Added check for selectors = 0 -Mon Jan 6 16:42:43 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) + Undid the following changes: - * varasm.c (assemble_global, assemble_label): New functions. - * objc-actions.c (finish_objc): Call them to define and globalize. - Use output_constant to reference a class. + * objc/_forward.c: File removed + * objc/argframe.h, objc/af-sparc.h: New files + * objc/Makefile (ARGFRAME_H): New macro + * objc/Makefile (_forward, fflags): Targets removed + * objc/msgsend.c (objc_msg_sendv): Changed to use argframe macros + * objc/Object.[hm], objc/runtime.h, objc/objc-api.h, + objc/msgsend.c: Changed type name arglist_t to af_frame. - * Makefile.in (install-limits-h): New target. - (install-headers): Depend on install-limits-h. - (USER_H): Deleted LIMITS_H. - (INSTALLED_H): Added limits.h. - (mostlyclean): Remove tmp-limits.h. - * limitx.h: New file. +Thu Apr 29 00:04:11 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * x-isc: File deleted. + * pa.h (CONDITIONAL_REGISTER_USAGE): %r19 is fixed + if flag_pic is true. + * pa.c (emit_move_sequence): After legitimizing a PIC + address make sure to copy it from the temporary register + into the final destination. - * objc-actions.c (build_module_descriptor): Init global_object_name. +Wed Apr 28 18:15:57 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * Makefile.in (collect2): Depend on version.o. + * pa.h (HARD_REGNO_MODE_OK): Allow 1.0 FP registers to hold modes + which are smaller than 4 bytes. - * protoize.c (PATH_MAX): Definition deleted. Just test it - to see if param.h should be included. +Wed Apr 28 16:40:38 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * cse.c (simplify_binary_operation, case MULT): Make a copy - of the operand when converting 2.0 * X to X+X. + * Makefile.in (distdir): Copy subdirectories of config/ too, except RCS - * reload.c (find_reloads): Refine when we set force_reload and - better document the cases. +Wed Apr 28 16:19:18 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Mon Jan 6 08:22:19 1992 James Van Artsdalen (james at bigtex.cactus.org) + * Makefile.in (extraclean): Delete *.z as well. - * i386.c (output_float_compare): Output only single-pop compare - if both operands are the FP top of stack reg. - When comparing FP top of stack with itself, print `%st(0)' as the - reg name, not `%st'. +Wed Apr 28 15:10:33 1993 Michael Meissner (meissner@osf.org) -Mon Jan 6 12:01:51 1992 Tiggr (rcpieter at mole.gnu.ai.mit.edu) + * mips/mips.h (MIPS_VERSION): Set Meissner version # to 40. + (OPTIMIZATION_OPTIONS): Set -mgpopt if -O other than -O0. + (CC1_SPEC): Don't pass -mgpopt here. - * arm.md (mulsi3): Fixed contraints. + * mips/osfrose.h (CC1_SPEC): Don't pass -mgpopt here. -Mon Jan 6 08:21:46 1992 Tom Wood (wood at dg-rtp.dg.com) + * mips/osfrose.h, i386/osfrose.h (ASM_IDENTIFY_LANGUAGE): If the + language is C, do not put anything out, to not confuse kernel + debuggers and the like. - * m88k-move.sh: Renamed from m88k-movstr.sh. Rename the generated - files move*.asm from movstr*.asm to be SVR3-legit. - * t-m88k, t-m88kluna, t-m88kv4: Use the new names. +Wed Apr 28 07:31:20 1993 Kresten Krab Thorup (krab@wombat.gnu.ai.mit.edu) - * c-aux-info.c, dbxout.c: Include errno.h as in protoize.c. + * objc/argframe.h (__AF_ARG_ADDR): Removed .curr_off from + definition. (__AF_ARG_ADVANCE): Removed __AF_CUM_OFF around CUM. - * Makefile.in (BISONFLAGS): Don't use -v since *.output is big. - (cp-parse.c): Do use -d to create cp-parse.h. - (cp-parse.o): Don't define PARSE_OUTPUT. - * x-mips, x-m88kdgux (BISONFLAGS): No -v. + * objc/runtime.h (_objc_error): Declaration added. -Mon Jan 6 07:54:55 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Wed Apr 28 06:17:02 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * genpeep.c (match_rtx): Loop over vectors (e.g., PARALLEL) in the - natural order so we see an operand before we see a MATCH_DUP referring - to it. + * c-lex.c, cp-lex.c (yylex): Don't use unsigned comparison + to also check for < 0; do it explicitly. + * combine.c (force_to_mode, simplify_comparison): Cast to + unsiged HOST_WIDE_INT instead of unsigned int. + * cse.c (simplify_binary_operation, case SMAX): Likewise. + * expr.c (emit_block_move): Likewise. - * genrecog.c (write_tree_1): Simplify code that writes braces and - avoid writing them unnecessarily. - Don't write dead code when last test was unconditional. + * convert.c (convert_to_integer): When we want to return zero, + be sure we honor any side-effects in our operand. - * optabs.c (expand_binop, expand_twoval_binop, expand_unop): - Standardize loop for wider mode. - (emit_cmp_insn, emit_float_lib_cmp): Likewise. - (expand_binop): Correct how extensions are done: use convert_to_mode, - don't use SUBREG for non-integer operations, and remove test - involving HOST_BITS_PER_INT. - (expand_unop): Similar changes; make code closer to expand_binop. - Handle failure of recursive call when expanding. Fix incorrect use - of TEMP when widening. Use SUBREG for NEG and NOT. +Tue Apr 27 22:25:29 1993 Kresten Krab Thorup (krab@xiv.iesd.auc.dk) - * reload.c (find_reloads_address_part): New function. - (find_reloads_address): Call it instead of push_reload when we are - reloading a PLUS or a constant. + * objc/_forward.c: File removed + * objc/argframe.h, objc/af-sparc.h: New files + * objc/Makefile (ARGFRAME_H): New macro + * objc/Makefile (_forward, fflags): Targets removed + * objc/msgsend.c (objc_msg_sendv): Changed to use argframe macros + * objc/Object.[hm], objc/runtime.h, objc/objc-api.h, + * objc/msgsend.c: Changed type name arglist_t to af_frame. -Sun Jan 5 18:34:15 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) +Tue Apr 27 16:29:45 1993 Tom Wood (wood@next.com) - * make-cc1.com: Change file names from cp-tab.* to cp-parse.*. + * nextstep.h (NeXT_OBJC, STANDARD_EXEC_PREFIX): Delete. + * i386/next.h: Use gas.h instead of bsd.h. + (ASM_GENERATE_INTERNAL_LABEL): Define. -Sun Jan 5 18:06:11 1992 Michael Tiemann (tiemann at cygnus.com) +Tue Apr 27 12:20:08 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * cp-decl.c (grokdeclarator): Correctly grok REFERENCE_TYPE - parameters when TYPE_REFERENCE_TO is automagically converted. + * reorg.c (dbr_schedule): Do not run the delay slot scheduling + pass if the current function has no insns other than the prologue + and epilogue. + + * pa.c (hppa_expand_epilogue): Emit a "blockage" insn + to keep the stack and frame pointer adjustments at the + end of the epilogue. + * pa.md (blockage): New pattern. -Sun Jan 5 05:19:19 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Tue Apr 27 10:59:33 1993 Ian Lance Taylor (ian@cygnus.com) - * tree.h (CONSTRUCTOR_NAME_FORMAT): New macro. - * objc-actions.c (build_module_descriptor): Make constructor name - from name of file or of a global that it defines. - Return constructor name. - (finish_objc): Use name returned as name to call. + * gcc.c (DEFAULT_WORD_SWITCH_TAKES_ARG): New macro. Like old + WORD_SWITCH_TAKES_ARG, but added idirafter, iprefix, iwithprefix. + (WORD_SWITCH_TAKES_ARG): Use DEFAULT_WORD_SWITCH_TAKES_ARG. + * config/i386/osfrose.h, config/m68k/sun2.h, config/m68k/sun3.h, + config/mips/osfrose.h, config/sparc/sparc.h, config/svr4.h, + config/nextstep.h (WORD_SWITCH_TAKES_ARG): Rewrote to use + DEFAULT_WORD_SWITCH_TAKES_ARG. - * protoize.c (GUESSPATHLEN): New macro. - (main): Use that for initial buffer size for getcwd. - * dbxout.c (getwd, getcwd, GUESSPATHLEN): Define as in protoize.c. - (dbxout_init): Call getcwd in loop, as in protoize.c. - * c-aux-info.c (getwd, getcwd, GUESSPATHLEN): Define as in protoize.c. - (gen_aux_info_record): Call getcwd in loop. - * i386v.h, i386vgas.h (MAXPATHLEN): Don't define. +Tue Apr 27 07:38:47 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu - * svr3.h (LINK_SPEC): Don't pass -K. + * Makefile.in (stmp-int-hdrs): No longer depends on gsyslimits.h. + Don't make include/syslimits.h here since we want to test the + limits.h made by fixincludes, not by the later part of this rule. + (stmp-fixinc): Depends on gsyslimits.h. + Make include/syslimits.h here. - * reload.c (find_reloads): Do record in non_reloaded_operands if no -O. + * alpha.c (alpha_emit_set_const, output_{pro,epi}log): Generate + insns to load constants into a register using a method that works + on a 32-bit machine as well. - * m68k.c (output_function_prologue, output_function_epilogue): - Add braces and adjust conditionals to fix balance and indentation. +Tue Apr 27 09:26:04 1993 CET Kresten Krab Thorup (krab@xiv.iesd.auc.dk) - * objc-actions.c (build_module_descriptor): Mark __objc_file_init used. + * objc/Makefile (fflags): -x test changed to -s test -Sat Jan 4 13:27:40 1992 James Van Artsdalen (james at bigtex.cactus.org) + * objc/Makefile: CFLAGS changed to GCC_CFLAGS - * protoize.c: unprotoize getcwd & fork declarations. - (edit_fn_declaration): use "VOLATILE", not "volatile". + * objc/Object.h: No longer includes objc.h Instead, a minimal set + of definitions is provided here. -Sat Jan 4 20:19:41 1992 Michael Meissner (meissner at osf.org) + * objc/Object.h, Object.m, cache.h, class.c, init.c, misc.c, + objc-api.h, objc.h, objects.c, sendmasg.c: Usage of Class_t and + MetaClass_t eliminated. Now using Class* and MetaClass* only. - * mips.h (set_volatile): Add new global variable reference. + * objc/objc.h: Does no longer include stdio.h and stdarg.h. Minimal + set of definition, which is provided by Object.h is placed in + preprocessor conditionals __object_INCLUDE_GNU. Definitions of + MetaClass_t and Class_t removed. Class and MetaClass are no + longer defines, but typedefs. - * mips.c (set_volatile): New global variable to keep track of the - number of .set volatile's done. At present, no code actually turns - this on. - (mips_move_1word): Use %. instead of putting const0_rtx into an - unused operator and using %z to get to $0, which is hardwired to 0. - (mips_move_2words): Likewise. - (override_options): Allow %., %{, and %} punctuation. - (print_operands): Add support for %. to get the current name of - register 0, %{ to turn on .set volatile, and %} to turn on .set - novolatile. - (function_epilogue): Give an error if .set volatile was left on in - the epilogue. - (mips_asm_file_start): Don't emit .set nobopt unless we are filling - branch delay slots. +Tue Apr 27 01:40:50 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * mips.md (set reg on comparison define_splits): Don't allow the - scheduler to split any set of a comparision insns, to work around a - bug in sched.c. + Mon Apr 26 20:45:07 1993 Mike Stump (mrs@poseidon.cygnus.com) -Sat Jan 4 23:01:41 1992 Jeffrey A Law (law at planet.super.org) + * cp-init.c (expand_recursive_init_1): Make sure we use the binfo's + version of a binfo, rather than someone elses, as the second + parameter to build_virtual_init must be the exact binfo we want so + that it may get the right vtable. - * m68k.c (output_function_prolog): Decrement (instead of - increment) num_saved_regs when a frame pointer is needed. - (the link/unlk will restore the frame pointer register) + Mon Apr 26 12:58:23 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Sat Jan 4 11:11:24 1992 Dennis P. Glatting (dennisg at tti) + * cp-type2.c (my_friendly_abort): Rephrase to try to help encourage + people to send bug reports in, and not just say, "Hey, the compiler + told me to report an internal error. Bye!". - * next.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): #undef before defining. + * cp-decl.c (grokdeclarator): Forbid declaring an array of references. -Sat Jan 4 07:40:25 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cp-parse.y (unary_expr): Forbid doing sizeof on a function. - * expr.c (convert_to_mode): Correctly zero-extend a constant into - a mode whose size is twice the host int size. + * cp-typeck.c (build_unary_op): Pedwarn if they try to do pre/post + increment/decrement on an enum. - * machmode.h (enum mode_class): Add MAX_MODE_CLASS. - (GET_CLASS_NARROWEST_MODE): New macro. - (byte_mode, word_mode): Add declarations. - * caller-save.c (choose_hard_reg_mode): Use GET_CLASS_NARROWEST_MODE. - * combine.c (make_extraction): Don't use explicit QImode and SImode. - * cse.c (simplify_unary_operation): Integer CONST_DOUBLEs have - VOIDmode, not DImode. - (simplify_binary_operation): Remove explicit DFmode reference. - * expmed.c (init_expmed): Don't make our own copy of word_mode. - (store_bit_field, extract_bit_field): Remove explicit - QImode reference; don't recompute word_mode. - (store_fixed_bit_field, {store,extract}_split_bit_field): Don't - recompute word_mode. - (emit_store_flag): Likewise. - (extract_fixed_bit_field): Replace explicit mode references with a - loop on modes; don't recompute word_mode. - * expr.c (convert_mode, move_block_{to,from}_reg, use_regs): Don't - recompute word_mode. - (emit_push_insn, do_jump_by_parts*): Likewise. - (push_block): Remove explicit QImode reference. - (get_inner_reference): Use mode_for_size. - * emit-rtl.c (restore_reg_data): Make unused regs word_mode. - (operand_subword): Don't recompute word_mode. - * fold-const.c (optimize_bit_field_compare): Likewise. - (merge_component_references): Likewise. - * flow.c (mark_set_1, mark_used_regs): Likewise. - * loop.c (combine_movables): Use GET_CLASS_NARROWEST_MODE. - * optabs.c (expand_binop): Replace SImode references in multi-word - multiply with the mode used for each subpart. - (expand_binop, expand_unop): Don't recompute word_mode. - * reg-stack.c (reg_to_stack): Use GET_CLASS_NARROWEST_MODE. - * reload.c (find_equiv_reg): Check for MODE_FLOAT, not SFmode/ DFmode. - * rtl.c (class_narrowest_mode, byte_mode, word_mode): Define. - (init_rtl): Initialize them. - * sched.c (attach_deaths): Don't recompute word_mode. - * stor-layout.c (mode_for_size): Use GET_CLASS_NARROWEST_MODE. - (get_best_mode): Likewise. - Don't recompute word_mode. - * unroll.c (unroll_loop): Replace default of SImode with word_mode. + * cp-method.c (build_opfncall): Reorganize things to properly look + for a postfix operator ++/--, without taking the fastest way out of + the search, which could lose. - * calls.c (calls_alloca): Don't recurse on BLOCK_SUPERCONTEXT. + * cp-search.c (compute_visibility): Check for a member fn + manipulating its own members before checking the basetype_path. -Sat Jan 4 03:42:09 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * cp-pt.c (lookup_template_class): Instead of dying in the case + where D1 has a local value but no global or class value, return an + error_mark_node. - * protoize.c (pointer_type): Use char * if non-ANSI. - (const_pointer_type): Likewise. - (malloc, realloc): Declare to return pointer_type. - (setjmp): Don't declare, to avoid trouble with macro defns. - (const): If not ANSI, define as empty macro. + * cp-pt.c (lookup_template_class): Don't assert if IN_DECL is null, + since we pass it down that way from the parser. + (coerce_template_parms): Likewise. + * cp-parse.y (template_type): Let template_type_seen_before_scope be + an error_mark if necessary, so we can intelligently handle things + later rather than give useless syntax errors. -Sat Jan 4 00:59:53 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + Sat Apr 24 17:12:17 1993 Mike Stump (mrs@poseidon.cygnus.com) - * sparc.c (legitimize_pic_address): When converting a symbol_ref, - use an extra temp reg when -fPIC, and add a REG_EQUAL note to the - insn referencing the global offset table. This allows loop to - optimize these PIC sequences. + * cp-pt.c (tsubst): When we go back for a second pass, make sure we + start over with the list of methods. Fixes problem introduce on + Sat Mar 20 12:29:37 1993. -Fri Jan 3 20:29:57 1992 James Van Artsdalen (james at bigtex.cactus.org) +Mon Apr 26 18:48:18 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * i386.md (return): Always output return insns. + * fold-const.c (fold): Signedness matters for comparisons and + right shifts. - * i386.h (FUNCTION_PROLOGUE): If the last nonnote insn in a function - is a BARRIER, don't output a function epilogue. + * xm-alpha.h (ONLY_INT_FIELD): Define again; this time say why. -Fri Jan 3 12:43:09 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * tree.h (INTEGRAL_TYPE_P, FLOAT_TYPE_P): New macros. + * fold-const.c: Use INTEGRAL_TYPE_P and FLOAT_TYPE_P. - * t-decrose, t-decstatn, t-encrose, t-i386rose, t-mips (ALL): - Use libgcc.a, not libgcc. + * protoize.c (other_variable_style_function): Properly test for + the presence of the string "...". - * protoize.c (STRINGIFY): Provide non-ANSI alternative definition. + * c-decl.c (pushdecl): Don't make a copy of type of error_mark_node. - * c-decl.c (get_parm_info): Keep non-parms in the parm list. +Mon Apr 26 18:15:03 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * stmt.c (cost_table): Now short. - (estimate_case_costs): Handle that. + * pa-hpux.h (LINK_LIBGCC_SPECIAL): Delete. + (RELATIVE_PREFIX_NOT_LINKDIR): Delete. + * pa-ghpux.h, pa-hpux7.h, pa-gux7.h: Likewise. - * Makefile.in (float.h, *protoize.1, gcc.xtar.Z): - Make temp files, then rename. - (clean): Delete those temp files. +Mon Apr 26 16:57:03 1993 Michael Meissner (meissner@osf.org) - * Makefile.in (c-parse.c): Don't use -d, since cp-parse.output is big. + * mips-tdump.c (CODE_MASK): Define if running on an alpha instead + of a MIPS. + (MIPS_IS_STAB): Ditto. + (MIPS_MARK_STAB): Ditto. + (MIPS_UNMARK_STAB): Ditto. + (tfile): New global, holds result of -t option, to skip global + header. + (malloc, calloc, realloc, free): Don't declare on alpha. + (print_sym_hdr): Make sure all arguments are properly cast to int + or long, depending on whether the format is %ld or %d. + (read_tfile): Don't look at magic number, instead use -t option to + determine whether to skip the global header or not. + (main): Process -t option. -Fri Jan 3 10:32:31 1992 Michael Tiemann (tiemann at mole.gnu.ai.mit.edu) +Mon Apr 26 17:47:10 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - * Makefile.in (cp-parse.c): Add missing -o flag. + * Objective C portability cleanup + * objc/Object.c (-hash, -error): Cast changed to size_t + * objc/archive.c, objc/misc.c, objc/sendmsg: Argument to strlen + casted to char* everywhere. + * objc/class.c (__objc_resolve_class_links): Unused variable + class1 removed. + * objc/class.c (class_pose_as): Unused variable node removed. + * objc/hash.c, objc/init.c: extra parenthesis around assignment + conditionals. + * objc/Makefile, objc/hash.h, objc/runtime, objc/sarray.h: IN_OBJC + changed to IN_GCC. + * objc/init.c: Unused local variable object_class removed. Cast of + pointer to int changed to size_t. + * objc/list.h (list_free): No longer declared inline. + * objc/objc-api.h, objc-runtime.h: Now includes memory.h. + * objc/objc.h: Added declarations for malloc and friends, IN_OBJC + changed to IN_GCC. Type of info member of objc_class changed to + unsigned long. + * objc/objects.c, objc/api.h, objc/sarray.h: Changed usage of + bcopy to memcpy. + * objc/sendmsg (__objc_print_dtable_stats): Returntype changed to + void. -Fri Jan 3 08:21:04 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Mon Apr 26 07:55:03 1993 Doug Evans (dje@canuck.cygnus.com) - * reg-stack.c: Complete last change (renaming DFmode_reg). + * sparc.h (ASM_OUTPUT_LONG_DOUBLE): New macro. + * sysv4.h (ASM_OUTPUT_LONG_DOUBLE): Likewise. - * expmed.c (init_expmed): Pass dummy pointer to number of clobbers to - recog so it can let us see patterns that need added clobbers. +Mon Apr 26 08:45:18 1993 Kresten Krab Thorup (krab at xiv.iesd.auc.dk) -Fri Jan 3 07:54:32 1992 Tom Wood (wood at dg-rtp.dg.com) + * objc/hash.h, objc/init.c, objc/objc.h, objc/sarray.c, + objc/sarray.h, objc/selector.c, objc/sendmsg.c: Change unsigned + int to size_t when casting pointer type to integer. + * objc/sarray.h (struct soffset): Changed to add up to sizeof + (size_t) in stead of sizeof (unsigned int). + * objc/hash.h: Include stddef.h + * objc/_forward.h: int changed to size_t. - * c-decl.c (implicitly_declare): Record whether this is an implicit - declaration before setting IDENTIFIER_IMPLICIT_DECL. + * objc/Object.m, objc/archive.c, objc-api.h: Take out archiving + support for alpha. -Thu Jan 2 21:17:12 1992 Michael Meissner (meissner at osf.org) + * objc/Makefile: (IN_OBJC): new #define used to control inclusion + of gstdarg or stdarg for the runtime. objc/objc.h, + objc/runtime.h, objc/sarray.h: Updated to use the above. - * mips.c (compute_frame_size): Don't count FP registers twice. +Sun Apr 25 21:50:16 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Thu Jan 2 14:59:55 1992 Michael Tiemann (tiemann at hal) + * cp-lex.c (yylex): Re-incorporate changes to redo converting + float values to desired type. - * cp-lex.h: Renamed from cp-parse.h. Now cp-parse.h is the file - created by bison from cp-parse.y. - * Makefile.in: reflect this naming change. +Sun Apr 25 18:11:24 1993 Ron Guilmette (rfg@netcom.com) -Thu Jan 2 12:37:32 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * rtl.h (NOTE_INSN_FUNCTION_BEG): Make non-zero. + * rtl.c (note_insn_name): Re-order for above. - * objc-actions.c (build_obj_method_call): Typo in NEXT case. + * dwarfout.c (output_decl): Check for DECL_INITIAL == NULL_TREE + rather than DECL_EXTERNAL != 0 when trying to see if we have a + mere function declaration rather than a function definition. + (dwarfout_file_scope_decl): Likewise. Also, don't bother checking + TREE_USED for file-scope functions, since it isn't 100% accurate + until the end of compilation anyway. - * next.h (HAVE_ATEXIT): Defined. +Sun Apr 25 17:07:44 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * c-decl.c (duplicate_decls): - No error if override decl that has DECL_BUILT_IN_NONANSI. + * sparc.c (mem_aligned_8): Delete ifdefed out code. Add support + for TARGET_UNALIGNED_DOUBLES. + * sparc.h (TARGET_HOPE_ALIGN, TARGET_FORCE_ALIGN): Delete. + (TARGET_UNALIGNED_DOUBLES): Define. + (TARGET_SWITCHES): Delete hope-align, force-align. Add + unaligned-doubles and no-unaligned-doubles. + (ROUND_REG): Delete. + (FIRST_PARM_OFFSET, FUNCTION_ARG_ADVANCE, FUNCTION_ARG, + FUNCTION_INCOMING_ARG, FUNCTION_ARG_PARTIAL_NREGS, + FUNCTION_ARG_BOUNDARY): Delete force-align support. + (LONG_DOUBLE_TYPE_SIZE): Define to 128. - * Makefile.in (c-parse.c): Don't use -o, since cp-parse.output is big. + * sched.c (create_reg_dead_note): Rewrite so as to conserve + registers killed not number of REG_DEAD notes. + (schedule_block): Change comments about dead_notes variable. - * Makefile.in (protoize, PROTOIZE): Delee these 2 new targets; - `protoize' was redundant. + * sparc.h (REG_ALLOC_ORDER, REG_LEAF_ALLOC_ORDER): Make %f0/%f1 + the last float registers allocated. - * c-typeck.c (build_function_call): If the fn is volatile, - make a pointer-to-volatile-function type pointer. - * calls.c (expand_call): Handle calls to such pointers as volatile. + * sparc.c (output_load_address, output_size_for_block_move, + output_block_move): Ifdef out. + * sparc.md (movstrsi): Comment out. - * expmed.c (init_expmed): Pass all 3 args to `recog'. + * sparc.c (output_function_epilogue): Emit 'nop' instead of + 'sub %sp,-0,%sp' when the frame is empty. + * sparc.md (movdf): Add a define split. - * varasm.c (output_constant): For REAL_TYPE, mode_for_size arg is bits. + * expmed.c (extract_fixed_bit_field): Adjust BITPOS so that it + fits inside MODE before adjusting OFFSET to get an aligned address. - * sparc.md (storing SF into mem at symb addr): Fix typos. +Sun Apr 25 06:28:56 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * protoize.c (my_access, my_stat, my_execvp, my_link, my_unlink): - (my_open, my_chmod): Macros that run access, stat,... with casts. - Renamed from former POSIX-only macros and made unconditional. - All calls to these functions also renamed. + * varasm.c (make_decl_rtl): If a variable has an asm operand that + refers to, e.g., fp, make a distinct RTL for it. - * m68k.h (LEGITIMATE_PIC_OPERAND_P): Undo change below, - thus making the behavior really change to accept all CONST_DOUBLE. + * c-decl.c (init_decl_processing): Last arg to __builtin_apply + is size_t, not int. - * libgcc1.c, libgcc2.c: Renamed from gnulib1.c, gnulib2.c. - * gcc.c (link_command_spec): Link with libgcc.a. - * Makefile.in (libgcc): Rename targets and variables from gnulib. - * *.h, t-*, x-*: Rename refs to those symbols and files. - * expr.c (LIBGCC_NEEDS_DOUBLE): Renamed from GNULIB_... + * c-lex.c (yylex): Don't warn about floating point out of + range if target floating-point format is IEEE. - * m68k.c (symbolic_operand): Reject all CONST_DOUBLE. - * m68k.h (SELECT_RTX_SECTION): Use LEGITIMATE_PIC_OPERAND_P. - (LEGITIMATE_PIC_OPERAND_P): Reject the CONST_DOUBLEs - that symbolic_operand used to accept. + * romp.h (SIZE_TYPE): Deleted. -Thu Jan 2 21:06:13 1992 James Van Artsdalen (james at bigtex.cactus.org) +Sat Apr 24 16:46:41 1993 Stephen L. Moshier (moshier@world.std.com) - * protoize.c (is_id_char,free_def_dec,check_aux_info): - Don't declare them `inline'. - (save_def_or_dec,munge_compile_params,find_extern_def,check_source, - scan_for_missed_items): Use alloca instead of variable length arrays. + * c-lex.c (forget_protocol_qualifiers): Cast enums to ints before + comparing. - * Makefile.in (protoize,unprotoize): Get $(LIBS) for alloca. +Sat Apr 24 13:08:56 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) -Thu Jan 2 21:40:52 1992 Jeffrey A Law (law at b115.super.org) + * pa.h (INITIALIZE_TRAMPOLINE): Pass a register operand, not + a memory operand to "cacheflush". + * pa.md (cacheflush): Rework pattern and output template to avoid + using REG+D addressing. - * sparc.h (OPTIMIZATION_OPTIONS): Enable caller-saves for -O2 - and higher optimization levels. +Sat Apr 24 11:15:02 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Jan 2 06:46:56 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * flow.c (mark_used_regs): Use proper type for {all,some}_needed. + * cse.c (invalidate): Likewise for in_table. - * final.c (final_scan_insn): Compare debug_info_level with entries in - its enum, not with integers. + * tree.h (build_binary_op, build_indirect_ref, build_unary_op): + Delete declarations; these are part of the front ends. - * reg-stack.c ({SF,DF}mode_reg): Deleted. - (FP_mode_reg): New array, indexed by register and by mode. - (reg_to_stack): Replace initialization of old vars with initialization - of FP_mode_reg. - (replace_reg): Use new array. + * objc-act.c (HASHFUNCTION): Cast pointers to widest int type. - * romp.c, romp.h, romp.md: Rename symbolic_operand to - romp_symbolic_operand. +Sat Apr 24 02:48:37 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * emit-rtl.c (init_emit_once): Create virtual registers before the - structure value regsisters, since the latter might use the former. + Cygnus<->FSF merge. - * varasm.c (output_constant): Fix typo: missing arg to expand_expr. + Fri Apr 23 11:08:25 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * vax.md (call_pop, call_pop_value): Use correct register number for - stack pointer. Add new patterns for case of zero args. + * cp-call.c, cp-class.c, cp-decl.c, cp-except.c, cp-init.c, + cp-parse.y, cp-pt.c, cp-search.c, cp-type2.c, cp-typeck.c, + cp-xref.c: Fix many bugs in types of fn args & such. -Thu Jan 2 08:12:59 1992 Fred Fish (fnf at sunfish) + * cp-decl.c (grokdeclarator): When dealing with a class-local + typedef, only call poplevel when the current_binding_level isn't + what we marked as being the local_binding_level. - * x-amix: Minor changes to some comments. - * x-amix (CCLIBFLAGS, GNULIB2_CFLAGS, XCFLAGS): Remove definitions. - * x-amix (manext): Add definition. + * cp-decl.c (grokdeclarator): Call pushdecl_class_level, not + pushtag, to put a class-local typedef into its proper scope. + Also disable the warning about a typedef hiding the previous + one, since the cp-class.c change now diagnoses that problem. + * cp-class.c (delete_duplicate_fields_1): Also check for duplicated + type names. -Thu Jan 2 11:14:28 1991 Ken Raeburn (Raeburn@Cygnus.COM) + * cp-lex.c (yyerror): Delete extern decl of input_redirected. - * fold-const.c (fold, case PLUS_EXPR): If association permits - reduction to var+0, convert var to the desired type before returning - it. + * cp-parse.y (primary): If the global value for a scoped identifier + ends up being an ADDR_EXPR, call assemble_extern on its argument, + not on the ADDR_EXPR itself. Fixes the IMPORT problem on the PA. -Wed Jan 1 10:37:50 1992 Michael Tiemann (tiemann at cygnus.com) + * cp-typeck.c (build_modify_expr_1): Put in missing `else'. - * expr.c (convert_move): When GET_MODE_BITSIZE (TO_MODE) > - BITS_PER_WORD, check that it's also > GET_MODE_BITSIZE (FROM_MODE). + Wed Oct 7 16:00:29 1992 Chip Salzenberg (chip@tct.com) - * expr.c (expand_expr): In CONSTRUCTOR case, preserve - MEM_IN_STRUCT_P when creating a new target when TARGET and EXP might - not be independent. + Change propagated from the C front-end. + * cp-decl.c (shadow_tag): Use pedwarn for useless keyword. -Wed Jan 1 18:32:03 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) + Wed Oct 7 17:51:36 PDT 1992 Ron Guilmette (rfg at netcom.com) - * c-parse.y (parmlist_1): Accept `PARMS; PARMS'. - (parmlist_or_identifiers_1): Likewise. Also use plain parmlist_2. - Delete the ([names] decls) syntax. - (defn_parms, defn_parmlist_2): Deleted. - * c-decl.c (get_parm_info): Put parm decls into original order. - Don't nreverse the original decls list. - (pushdecl, duplicate_decls): Avoid error for forward parm decl. - (clear_parm_order): New function. - (push_parm_decl): Record original order of parms. + * cp-type2.c (digest_init): Handle union initializers which are + "raw" constructors. + (process_init_constructor): Renamed `erred' to `erroneous' (as in + the C front end). + (process_init_constructor): Added code to handle union initializers. - * c-decl.c (struct binding_level): New slot subblocks_tag_transparent. - (pushlevel): Use that, not ->parm_flag. - (start_function): Set that slot. + Fri Oct 23 16:29:45 1992 Chip Salzenberg (chip@tct.com) - * config.sub: Always distinguish between amix and sysv4. - Convert commodore to cbm and digital to dec. + Change propagated from the C front-end. + * c-typeck.c (process_init_constructor): When initializing a union, + handle the case of an empty init list. - * m68k.md (stack adjust then push SI): New peephole. + Tue Dec 1 21:35:36 1992 Niklas Hallqvist (niklas at della.appli.se) - * m68k.h, fx80.h (WCHAR_TYPE): Use precisely "long int". - * sun3.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Undef before defining. + * cp-call.c (convert_harshness): Add support for ellipsis matching + when dealing with function pointers (or references) in argument + lists. + (rank_for_overload): Ditto. + (compute_conversion_costs): Ditto. + (*_HARSHNESS): Ditto + * cp-class.h (struct candidate): Ditto. - * cexp.y (yylex): Use LONG_TYPE_SIZE, not INT_TYPE_SIZE. - (LONG_TYPE_SIZE): Add default definition. + Mon Jan 4 11:46:19 1993 Chip Salzenberg (chip@tct.com) - * objc-actions.c: Declare index and rindex. - (build_module_descriptor): Simplify last change. - Use a fixed name for the initialization function. - (init_objc): Don't do constructor here. - (finish_objc): Do it here, with proper name if not NEXT_OBJC_RUNTIME. + Changes propagated from the C front-end. + * cp-typeck.c (c_sizeof, c_sizeof_nowarn, c_size_in_bytes): + Call force_fit_type with end result. - * protoize.c: Unprotoized. - (edit_file): Improve message in -n case. + Sat Jan 30 01:23:22 1993 Niklas Hallqvist (niklas at della.appli.se) - * Makefile.in (LANGUAGES): Add proto. - (C, C++, OBJC, OBJECTIVE-C): Aliases for l.c. targets. - (PROTOIZE, protoize, PROTO): Aliases for proto. - (rest.encap): Delete dep `proto'. + * cp-class.c (finish_struct): See to that static members whose + type is the class they're declared in gets a correct mode. This + is a completion of the Jan 23rd change. -Wed Jan 1 15:07:41 1992 Michael Meissner (meissner at osf.org) + Mon Feb 1 09:40:11 1993 Niklas Hallqvist (niklas at della.appli.se) - * mips.md (extend*): Use gen_lowpart to make the SUBREG, rather than - doing it wrong by hand. If not optimizing, make sign extends from - memory not force the operand into a register first and do two - shifts -- combine already does this when optimizing. - (copyright): Add 1992 to list of years the file was modified. + * cp-search.c (compute_visibility): Add support for anonymous + unions nested in classes. -Wed Jan 1 06:10:01 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + Tue Feb 2 16:06:10 1993 Chip Salzenberg (chip@tct.com) - * reload1.c (reload): When forcing an illegitimate constant into - memory, use mode of SET_DEST in case constant is VOIDmode. + Eliminate signed integer overflow in specbits: + * cp-lex.h (RID_BIT_TYPE): New typedef for RID_... bits. + (RIDBIT): New convenience macro for RID_... bits. + * cp-decl.c (grokvardecl, grokdeclarator): Declare specbits + to be RID_BIT_TYPE. Use RIDBIT instead of "1< inclusion. +Fri Apr 16 20:27:16 1993 Tom Wood (wood@next.com) -Mon Dec 30 06:16:16 1991 Leonard Norrgard (vinsci at nic.funet.fi) + * a29k.h (FUNCTION_VALUE_REGNO_P): True only for the first register + in the group. - * c-decl.c (grokdeclarator): Changed erroneus error message. + * alpha.md, romp.md, rs6000.md (untyped_call, blockage): New patterns. -Sun Dec 29 16:16:55 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Fri Apr 16 17:53:21 1993 Ron Guilmette (rfg at netcom.com) - * toplev.c (main): Last -On option wins. - * Makefile.in (ENQUIRE_CFLAGS): Add -O0. + * reload1.c (last_spill_reg): Add missing "int". - * Makefile.in (cp-tab.c): Change "expect" message. +Fri Apr 16 16:55:16 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) - * final.c (leaf_renumber_regs): Renumber just the PATTERN. + * Makefile.in (objc-headers): Ensure objc dir exists. -Sun Dec 29 14:20:15 1991 Per Bothner (bothner at cygnus.com) +Fri Apr 16 16:40:49 1993 Michael Meissner (meissner@osf.org) - * dbxout.c (dbxout_type): Tiemann's DECL_IGNORED_P optimization (Nov - 20) was a little too drastic: If it succeded, no type info was - emitted at all, which made for syntactically invalid stabs. - Instead, just set 'full=0', - * dbxout.c (dbxout_symbol): Re-write code for TYPE_DECL to be a - little cleaner. It *seems* to work ... + * mips/mips.h (MIPS_VERSION): Set Meissner revision number to 39. + (SELECT_SECTION): Do not put items with relocation into .rdata. + (INITIALIZE_TRAMPOLINE, TRANSFER_FROM_TRAMPOLINE): Allow these + macros to be overidden. -Sun Dec 29 07:04:22 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * mips/iris3.h (INITIALIZE_TRAMPOLINE, TRANSFER_FROM_TRAMPOLINE): + Provide versions of these that does not rely on using mprotect. - * expr.c (convert_move): Add truncates from DImode to smaller modes. - (move_by_pieces, move_by_pieces_ninsns): Rework to remove explicit - references to integer modes. - Never need to align greater than BIGGEST_ALIGNMENT. + * mips/t-mips, mips/t-osfrose, mips/t-ultrix, i386/t-osfrose: + Delete extra dependencies. - * optabs.c (init_extends, init_fixtab, init_floattab, init_optabs): - Add TImode operations. + * i386/osfrose.h (SELECT_SECTION): Do not put items with + relocation into .text if -pic-lib. - * reload.c (find_reloads): Prefer alternatives that reload SCRATCH - instead of something else. +Fri Apr 16 01:09:53 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * rs6000.md (movti): Adjust constraints and alternative order so - we actually get to use the stsi insn. + * config/i386/xm-isc.h (REAL_VALUE_ATOF): Define only if + not REAL_ARITHMETIC. - * rs6000.h (REG_ALLOC_ORDER): Put r9 in front of r11 so we don't try to - put a TImode value in r11 as often. +Thu Apr 15 07:25:00 1993 Tom Wood (wood@next.com) - * caller-save.c (setup_save_areas): New parameter pchanged; set when - memory is allocated. - * reload1.c (reload): Pass pointer to something_changed to - setup_save_areas. + * objc-act.c (IS_ID, IS_PROTOCOL_QUALIFIED_ID, IS_SUPER): New type + checking macros. + (objc_comptypes, build_message_expr, gen_declspecs): Use them. - * loop.c (scan_loop): Don't suppress moving insns that can trap just - because we have passed a call inside a libcall/retval block. + * objc-act.c (gen_declarator): Don't use strcpy's return value. - * jump.c (get_label_before): Don't separate a CALL_INSN from any USE - insns immediately preceeding it. - (get_label_after): Likewise, for following CLOBBERs. + * objc-act.c (build_message_expr): Allow any type that matches + objc_class_type. - * cse.c (fold_rtx, case '<'): When seeing if we have seen this - comparison before, use a constant equivalence. - Add test for things like "(a | 1) != 0". - (fold_rtx, case '2'): Move code to handle associative operations to - here; add support for MINUS, SMAX, SMIN, UMAX, and UMIN. - (record_jump_equiv): See if OP1 is equivalent to a constant. + * objc-act.c (get_class_reference): We already have a name. - * jump.c (jump_optimize): Don't pass a SUBREG as a target to - expand_and. + * objc-act.c (receiver_is_class_object): Use STRIP_NOPS. Search + cls_ref_chain. - * combine.c (subst): Never associate floating-point, even if not IEEE. - Associate MAX and MIN operations. +Thu Apr 15 07:25:00 1993 Michael Meissner (meissner@osf.org) - * output.h (output_asm_insn, asm_fprintf): Add "extern" to decls. - (alter_subreg): Add declaration. - * rs6000.md (movsf, movdf): Don't declare alter_subreg here. - (trunc_call_rtl): Don't declare trunc_used; use rs6000_trunc_used. - * rs6000.c (rs6000_trunc_used): New name of trunc_used. - * rs6000.h (rs6000_trunc_used): Add declaration. + * objc-act.c (build_objc_string): Use TREE_SET_CODE instead of + assigning to TREE_CODE. + (build_objc_string_object): Ditto. -Sat Dec 28 18:14:21 1991 Michael Tiemann (tiemann at cygnus.com) +Wed Apr 14 17:51:50 1993 Holger Teutsch (holger@hotbso.rhein-main.de) - * cp-method.c (build_overload_name): Don't call OB_FINISH unless END - is nonzero. + * clipper.h (FRAME_POINTER_REQUIRED, FRAME_POINTER_OFFSET): + Frame pointer is no longer required for leaf functions. + (OPTIMIZATION_OPTIONS): Define. -Sat Dec 28 17:46:05 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * clipper.c (clipper_frame_size): New function. + (output_function_pro/epilogue): Support omitting frame pointer. - * gcc.c (default_compilers): Handle -ansi in the C++ entries - exactly the same way as the C entries do. + * clipper.md (cmpsi): Use `cmpq' for small immediate values. + (addsi3): Use `loada' for `reg1 = reg2 + immed'. - * rtl.c (add_dependence): Cast enums to int before doing an - ordered comparison, since some compilers can't do this. +Wed Apr 14 15:23:24 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * sparc.c (pic_address_needs_scratch): New function. Returns - true if the pic address X needs a scratch register when loaded. - (legitimize_pic_address): Clean up. New argument SCRATCH, which - is a scratch register for those loads that need it. - (emit_move_sequence): New argument SCRATCH_REG, which is a scratch - register for those loads that need it. When loading a pic label, - set %o7 instead of clobbering it so its value can be used later. - (compute_frame_size): Leaf functions need to allocate space for - register window in frame if size greater than 0. - (print_operand): Delete obsolete %^ which added %o7 to addresses. - All uses of %o7 are now explicit. - * sparc.h: Fix callers of legitimize_pic_address. - (REG_CLASS_FROM_LETTER): Add 'r' case. - (SECONDARY_INPUT_RELOAD_CLASS): New macro, to force reload to - allocate a scratch register for certain pic address reloads. - (flag_pic): Define as extern so that it will be defined for - insn-emit.c. - * sparc.md: Fix all callers of legitimize_pic_address and - emit_move_sequence. - (reload_insi): New pattern. Used to force reload to allocate a - scratch register for those pic address loads that need one. - (reload_insi+2): When loading pic label, set %o7 instead of - clobbering it. - (movdf, movsf): Reject matches that would require reloading via - use of a condition. - (tablejump): Now a define_expand, so can generate different - pattern when pic. - (pic_tablejump): Explicitly mention in rtl that %o7 is used, - instead of using %^. + * print-tree.c (print_node): Use (struct rtx_def *), not (rtx). - * m88k.h, sparc.h: Delete references to non-existent - BLOCK_PROFILER_USED_REG_P macro. +Wed Apr 14 13:46:36 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sat Dec 28 14:31:36 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * config/i860/i860.md (floatsidf2): Add missing arg to REAL_VALUE_ATOF. - * c-lex.c (check_newline): Set ignore_escape_flag for reading filename. - (yylex): Handle ignore_escape_flag in string constant. + * c-parse.in: Improve error message for sym undeclared at top level. - * gnulib2.c (__do_global_dtors): Count elements properly. +Wed Apr 14 12:06:08 1993 Tom Wood (wood@next.com) - * m68k.md (tsthi): Don't allow address register. + * c-lang.c, objc-act.c (maybe_objc_comptypes): Return 0 + (incompatible) rather than 2 (similar enough) as the default. + This was an inadvertent change in the Objective-C merge. -Sat Dec 28 11:49:06 1991 James Van Artsdalen (james at bigtex.cactus.org) + * objc-act.c (get_class_reference): Call add_class_reference for + the GNU runtimes. - * final.c (final): Initialize elements of line_note_exists. +Wed Apr 14 03:49:21 CDT 1993 Paul Burchard (burchard@geom.umn.edu) - * protoize.c: Don't include on USG unless SVR4. + * objc/Object.h, objc/Object.m, (-awake); + objc/archive.c (__objc_finish_read_root_object): + Corrected name of method -awake: to -awake for compatibility. -Sat Dec 28 11:09:36 1991 Fred Fish (fnf at fishpond) +Wed Apr 14 10:58:29 1993 Kresten Krab Thorup (krab@xiv) - * Makefile.in (includes): Pre-remove the tmp dir; fix INSTALLED_H ref. + * objc/Object.m, objc/Object.h (+streamVersion:): New method. + * objc/archive.c (objc_get_stream_class_version): New function. -Sat Dec 28 06:31:16 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Tue Apr 13 17:23:22 1993 Ron Guilmette (rfg at netcom.com) - * sparc.md (movstrsi): Fix typo testing for more than 32 subunits. + * c-decl.c (pop_label_level, combine_parm_decls): Correct args + in error calls. + * c-typeck.c (error_init, pedwarn_init): Cast alloca result to char *. + * calls.c (expand_call): Last arg of emit_stack_save is NULL_RTX. + (store_one_arg): Fourth arg to emit_push_insn is NULL_RTX. + * collect2.c (main, scan_prog_file): Don't call signal on signal + names that aren't defined. + * dbxout.c (dbxout_symbol): Last arg to eliminate_regs is NULL_RTX. + * fold-const.c (size_int): NUMBER is unsigned so don't test + for negative. + (optimize_bit_field_compare, all_ones_mask_p): Add missing + last arg to force_fit_type call. + * gcc.c (putenv): Make result type void. + (main): Don't call signal for undefined signal names. + * genextract.c (main): Remove extra arg to printf call. + * print-tree.c (print_node_brief, print_node): Properly cast + arg when printing ints or rtx. + * rtl.h, tree.h (xmalloc): Don't use prototype for now. + * sched.c (sched_analyze_1): Extra arg in anti_dependence call. + * toplev.c (main): Don't call signal for undefined signal names. + * varasm.c (make_var_volatile): Return type is void. + (assemble_string): First arg is not pointer to unsigned. + * sparc.h (LEGITIMIZE_ADDRESS): Last arg to force_operand is NULL_RTX. + * sparc.md (movXX): Third arg to emit_move_sequence is NULL_RTX. + (movsi): Add missing return after abort. - * genrecog.c: Major rework. - We now check to see if pairs of comparison nodes can have anything - that they both match. If not, they can be reordered. An efficient - ordering is established that groups all nodes with identical rtl - codes inside groups with identical modes. This allows us to generate - a comparison tree that is a list of nested switch statements. - Also, genrecog.c is now indented properly so that debugging is eased. - (add_to_sequence): Enforce mode on the first arg of COMPARE, comparison - operation, SIGN_EXTEND, and ZERO_EXTEND. +Tue Apr 13 14:09:00 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * a29k.h, romp.h, rs6000.h (PREDICATE_CODES): Add definition. + * c-typeck.c (digest_init): Don't call default_conversion before + convert_for_assignment. + (parser_build_binary_op): Make NOP_EXPR, not NON_LVALUE_EXPR. -Fri Dec 27 17:31:48 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * dbxout.c (dbxout_type): Re-enable debugging output for anonymous + structures in C++. - * a29k.h, decrose.h, encrose.h, m88kdgux.h (WCHAR_TYPE_SIZE): - Add definition. - * rs6000.h, sparc.h, sun2o4.h, sun3.h, svr3.h, svr4.h: Likewise. +Tue Apr 13 08:44:55 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - * expmed.c (expand_mult): For negative values, try multiplication by - the original value as well as by negated value. + * objc-act.c, toplev.c (-Wprotocol): added + * objc-act.c (flag_warn_protocol): New variable + (check_methods_accessible): New function + (check_protocol): Use check_methods or check_methods_accessible + depending on flag_warn_protocol to check protocol conformance. -Fri Dec 27 20:54:59 1991 Fred Fish (fnf at fishpond) + * objc-act.c (start_class): For class implementations Assign + SUPER_CLASS_NAME from interface specification if not present. - * m68kv4.h: Include m68ksgs.h rather than m68k.h. +Tue Apr 13 06:48:20 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * m68kv4.h: Define TARGET_DEFAULT to be 68020 + 68881. - (CPP_SPEC): Define based on TARGET_DEFAULT + * alpha.md (sminsf, smindf, smaxsf, smaxdf): Should be minsf, etc. - * m68kv4.h (PCC_STATIC_STRUCT_RETURN): Undef this. - (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Defs deleted. - (ASCII_DATA_ASM_OP, ASM_OUTPUT_ASCII): Defs deleted. + * genattrtab.c (clear_struct_flag): Add void return type defn. + (count_subs_rtx): Add int return type and add definition. + (simplify_test_exp): Delete debugging junk. + (do_nothing): Delete. - * m68kv4.h (ASM_OUTPUT_SKIP, FUNCTION_VALUE_REGNO_P): - (FUNCTION_PROFILER, STRUCT_VALUE_REGNUM, BSS_ASM_OP): - (FUNCTION_VALUE, FUNCTION_EXTRA_EPILOGUE, LIBCALL_VALUE): - (STACK_BOUNDARY, EMPTY_FIELD_BOUNDARY, BIGGEST_ALIGNMENT): - Redefined to match m68k/SVR4 conventions. + * tree.def (QUAL_UNION_TYPE): New tree code. + * tree.h (DECL_QUALIFIER): New access macro for decl.initial. + * calls.c, dbxout.c, dwarfout.c, expr.c, function.c, print-tree.c: + Treat QUAL_UNION_TYPE like UNION_TYPE when seeing if aggregate. + * sdbout.c, stmt.c, varasm.c: Likewise. + * expr.c (get_inner_reference): Don't blow up if a FIELD_DECL + hasn't been filled in. + (expand_expr, case COMPONENT_REF): Likewise. + * stor-layout.c (layout_union): Handle QUAL_UNION_TYPE. + (layout_type): Call layout_union for QUAL_UNION_TYPE and + treat it like UNION_TYPE elsewhere. - * m68ksgs.h (ASM_OUTPUT_SKIP): Redefined to use `.space'. - (ASM_NO_SKIP_IN_TEXT): Defined. +Tue Apr 13 06:08:16 1993 Paul Eggert (eggert@twinsun.com) - * amix.h, xm-amix.h, x-amix: New files. + * fold-const.c (div_and_round_double): Don't mix HOST_WIDE_INT * and + unsigned HOST_WIDE_INT * parameters; some compilers complain. -Fri Dec 27 20:43:11 1991 Michael Tiemann (tiemann at cygnus.com) +Mon Apr 12 22:14:03 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - * cp-tree.h (build_overload_name): Declare this function. - * cp-decl2.c, cp-method.c: Delete random `extern' declarations. + * objc/list.h, objc/runtime.h: Removed declarations of library + functions. objc/list.h, objc/objc.h, objc/objc-api.h, + objc/runtime.h, Object.m, Protocol.m: Changed to double quote + includes. Removed includes of stddef.h, objc-archive.h and + stdlib.h. - * cp-lex.c (get_directive_line): Declare it extern. - (lineno,yychar,yylval,lastiddecl,finput): Ditto. - (ridpointers): Don't need to declare it here. - (check_newline): Handle new #pragmas. + * objc/objc-archive.h: File deleted. Contents embedded in objc-api.h + * objc/objc-archive.c: File renamed to archive.c + * objc/objc-class.c: File renamed to class.c + * objc/objc-init.c: File renamed to init.c + * objc/objc-misc.c: File renamed to misc.c + * objc/objc-msg.c: File renamed to sendmsg.c + * objc/objc-object.c: File renamed to objects.c + * objc/objc-sel.c: File renamed to selector.c + * objc/Makefile (OBJC_H, OBJC_O): Updated accordingly - * cp-class.c (add_method): Add a cast in call to `obstack_base'. +Mon Apr 12 22:05:58 1993 Tom Wood (wood@next.com) -Fri Dec 27 20:22:05 1991 Michael Tiemann (tiemann at cygnus.com) + * Makefile.in (objc-act.o): Add dependencies. - * cp-decl.c (push_overloaded_decl): Now returns a value. - All callers changed. +Mon Apr 12 20:52:00 1993 Kresten Krab Thorup (krab@spiff.gnu.ai.mit.edu) - * cp-decl.c (duplicate_decls): Give better error message when user - declaration conflicts with built-in one. Also, when we decide to - keep a builtin function builtin, copy the DECL_RTL from OLDDECL to - NEWDECL. + * objc-act.c (_OBJC_SELECTOR_REFERENCES_decl): Variable renamed to + _OBJC_SELECTOR_TABLE_decl. Name of selector table renamed from + "_OBJC_SELECTOR_REFERENCES" to "_OBJC_SELECTOR_TABLE" to avoid + conflict with NeXTSTEP linker. -Fri Dec 27 17:18:15 1991 Michael Meissner (meissner at osf.org) + * Makefile.in (stmp-int-hdrs): Added dependency objc-headers. + (objc-headers): New target. - * mips.h (TRAMPOLINE_TEMPLATE): Define correctly for MIPS. - (TRAMPOLINE_SIZE): Define to be 9 words. - (INITIALIZE_TRAMPOLINE): Define correctly for MIPS. - (TRANSFER_FROM_TRAMPOLINE): Define to do a mprotect of the - trampoline, so that we can jump to it. I suspect the mprotect may - fail on some MIPS based systems, because the trampoline is on the - stack, and not in the data section. + * objc/Makefile (_forward, fflags): Made targets error prone. + (objc-msg.o, _forward): Use explicit path instead of $<. - * mips.c (mips_output_filename): Don't warn about ECOFF not - handling #line's within functions if we are using the OSF/rose - object format. +Mon Apr 12 19:49:55 1993 Tom Wood (wood@next.com) -Fri Dec 27 15:35:38 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * objc-act.h (CLASS_PROTOCOL_LIST, PROTOCOL_LIST, + PROTOCOL_FORWARD_DECL, TYPE_PROTOCOL_LIST): Rearrange use of type + members to avoid use of noncopied_parts. + * objc-act.c (get_static_reference, get_objcect_reference, + start_protocol): Make a tree vector for new protocol types. + (start_class): The tree vector for class types is longer. - * c-typeck.c (build_array_ref): Special warning about `register' array. + * m68k/next.h (ASM_OUTPUT_FLOAT_OPERAND): Use CODE. - * gnulib2.c (L_trampoline): Don't create a function here. - The definition of TRANSFER_FROM_TRAMPOLINE can do that if nec. - * m68k.h (TRANSFER_FROM_TRAMPOLINE): Make the function here. - * fx80.*: Renamed from alliant.*. - * configure: Alternative renamed to fx80-alliant-*. - * config.sub: Corresponding changes. +Mon Apr 12 15:46:21 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * cccp.c (traditional): No longer static. - * cexp.y (yylex): Handle full variety of character constants. - Include stdlib.h and locale.h if needed. + * Makefile.in (install-common): Delete $(bindir)/$(target)-gcc + before trying to install it. - * c-decl.c (shadow_tag): Change warnings to error or pedwarn. + * i960.h (CONSTANT_ALIGNMENT): Only increase alignment of string + constants. - * gnulib2.c (__do_global_dtors): If length not given, count it. - * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Ignore length; scan till null. - (__CTOR_END__, __DTOR_END__): Declarations deleted. + * gcc.c (library_prefix): Delete variable. + (process_command): Delete uses of library_prefix. + (do_spec_1, D case): Delete use of library_prefix. - * cp-decl2.c (finish_file): Always change $ to _ - regardless of NO_DOLLAR_IN_LABEL. + * explow.c (emit_stack_save): At end, call validize_mem when + inside sequence. -Fri Dec 27 15:04:40 1991 Tom Wood (wood at dg-rtp.dg.com) + * c-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. + * fold-const.c (fold, COMPOUND_EXPR case): Likewise. - * svr4.h (ASM_OUTPUT_ALIGNED_COMMON): Fix typo. +Mon Apr 12 15:24:05 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * m88k.c: Move extern decls. - (output_ascii): Use ASCII_DATA_ASM_OP. - * m88k.h (HAVE_ATEXIT): Delete. - (ASM_OUTPUT_ALIGNED_COMMON, ASM_OUTPUT_ALIGNED_LOCAL, - ASCII_DATA_ASM_OP): Override svr4.h. - (EXTRA_SECTIONS): No ctors/dtors for m88k-luna. - * m88kdgux.h (STANDARD_STARTFILE_PREFIX): No need to override svr4.h. + * rs6000.c (print_operand): Sort all cases in alphabetical order. + (print_operand, case 'G'): New case. + (output_epilog): Know that "GNU Obj-C" is the language string + for Objective-C. + * rs6000.md (adddi3/subdi3): Allow immediate constants. -Fri Dec 27 11:34:59 1991 Ken Raeburn (Raeburn@Cygnus.COM) + * configure (rs6000-ibm-aix*): Make AIX 3.2 the default. - * cp-pt.c (mangle_class_name_for_template): Use a local obstack - rather than fixed-size buffers. + * README.RS6000: Replaced file to discuss assembler for AIX 3.2 and + problems with NLS support. - * cp-class.c (add_method): Case obstack_base value to desired type - when reallocating vector node. + * combine.c (record_value_for_reg): Properly set SUBST_LOW_CUID + for last change; otherwise won't get best value. -Fri Dec 27 09:16:50 1991 Ron Guilmette (rfg at ncd.com) +Mon Apr 12 13:23:59 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * sort-protos: New file. + * jump.c (jump_optimize, clause for `x=a; if (...) x=b;'): + Do this regardless of BRANCH_COST if HAVE_conditional_move + defined. - * i386.c: Remove decls of frame_pointer_needed; include flags.h. - * i386.c (output_387_binary_op, output_float_compare): - Moved declarations of strcat to top level. +Mon Apr 12 17:15:43 1993 Kresten Krab Thorup (krab at xiv) - * i860.md (cmpnesf, cmpnedf): New patterns. - * i860.md (cmplesf, cmpgesf): Corrected to allow for IEEE conformance. + * objc/hash.h: Deleted #include "mutext.h" + * objc/Object.m, objc/Object.h (-read:, -write:): added. + * objc/Object.m, objc-api.h: Stripped anything added by + kane@cc.purdue.edu which is not considered "minor changes". + * objc/objc.h: now "#include"s objc-archive.h + * objc/objc-msg.c (__objc_init_install_dtable, + __objc_install_dtable_for_class): Call to + __objc_resolve_class_links moved to the latter. + * objc/objc-msg.c (__objc_responds_to): Function added + * objc/objc-archive.c (objc_write_reference): added + +Sat Apr 10 18:07:46 1993 Kresten Krab Thorup (krab@iesd.auc.dk) + + * objc/Makefile: Cleaned up for inclusion in gcc distribution. + Target copy-headers added. + +Sun Apr 11 06:40:16 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * toplev.c (strip_off_ending): Add .atr for Ada. + + * reorg.c (add_to_delay_list): Clear any cached block information + for INSN. + + * stor-layout.c (layout_record): After copying the offsets of a + field that is an anonymous union to the offsets of the fields + of that union, zero the offset of the anonymous field in case + it is used to access the inner fields. + + * combine.c (make_compound_operation, case xSHIFTRT): + Clean up code so more readable and don't restrict to case + where C2 >= C1. + Pass correct (inner) code to recursive call. + (make_compound_operation, case SUBREG): Pass the code of our + operand to recursive call, not SUBREG, and make another recursive + call after calling force_to_mode. + +Sun Apr 11 11:16:48 1993 John F Carr (jfc@Athena.mit.edu) + + * combine.c (can_combine_p): Don't move an UNSPEC_VOLATILE. + +Sun Apr 11 01:32:39 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * expmed.c (expand_divmod): When adjusting op0 for trunc_div or + trunc_mod, using shifts (not branches), make a new pseudo for the + result. Don't use target for adjusted_op0. + +Sat Apr 10 10:57:09 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * xm-alpha.h (ONLY_INT_FIELDS): No longer needed. + + * alpha.c (alpha_sa_size): Need to save $26 if it is used or + if any other register is saved, but not just because a stack + space is needed. + (output_prolog): Add code to probe the stack if we allocate more + than 4096 bytes; required by chapter 7 (for threads). + Know when to save $26. + (output_epilog): Know when to restore $26. + * alpha.md (add/sub): Correct predicates and constraints for + sNaddX and addX insns; we can use sNsubX and subX to add small + negative constants. + Don't split addition to SP since we want to update it just once. + (beq, bne): Use subtract, not compare for ints; it's more efficient. + (define_split for comparisons): Always prefer add/sub if it will work. + (probe_stack, allocate_stack): New patterns. + +Fri Apr 9 20:03:38 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + + * c-typeck.c (free_tree_list): New variable. + (digest_init): Set free_tree_list. + (process_init_constructor): Use add_double to do arithmetic with + double integers instead of using fold/build to to arithmetic in + type of array index. Use free_tree_list when available instead of + generating a new tree_list. + +Fri Apr 9 19:05:31 1993 Tom Wood (wood@next.com) + + * c-lex.h (RID_IN, RID_OUT, RID_INOUT, RID_BYCOPY, RID_ONEWAY, + RID_ID): New Objective-C keywords. + * c-parse.gperf: Incorporate the Objective-C keywords from + objc-parse.gperf and add the new keywords. + * objc.gperf: Deleted. + * c-lex.c: Use -N when running gperf so the keyword table can be + accessed. Ran gperf and replaced that section. + (forget_protocol_qualifiers, remember_protocol_qualifiers): New + functions to modify the keyword table so that `in', `out', `inout', + `bycopy', and `oneway' are keywords only in protocol declarations. + (init_lex): Initialize the new keywords. Forget the protocol + qualifiers, and only make `id' a keyword when compiling an + Objective-C module. + (yylex): Treat @ as the start of an identifier (keyword), but + recognize Objective-C string constants (@"..."). + * c-parse.in: Add support for Objective-C protocols, classes, and + strings. + (initlist): Don't include labeled array elements in the + Objective-C grammer. These look like messages and preclude the + use of messages in initializers. + (recognize_objc_keyword): Deleted. The keywords are now in + c-parse.gperf. + * c-tree.h: Add declarations for functions in objc-act.c. + (doing_objc_thang): Declare here. + * c-decl.c (grokfield): Check for statically allocated objects. + * c-lang.c (is_class_name, maybe_objc_method_name, + build_objc_string): New functions. + (maybe_objc_comptypes): Add REFLEXIVE parameter. + * c-typeck.c (comptypes, convert_for_assignment): Check for + Objective-C protocols (non-reflexive use of maybe_objc_comptypes). + (comp_target_types): Rewrite so that maybe_objc_comptypes checks + protocols when processing an Objective-C module. For C modules, + the code path is unchanged. + (convert_for_assignment): Improve the error message for + incompatible message arguments. + * objc-act.h, objc-act.c: Add support for protocols, classes, and + strings. Update the runtime targets for the new GNU runtimes as + well as existing NeXT runtimes. + * toplev.c (lang_options): Add -fgnu-runtime and -fnext-runtime. + + * configure (i[34]86-next-*): New configuration. + * config.sub: Default to bsd if vendor is next. + * i386/next.h, i386/next.c, i386/x-next, i386/t-next, + i386/xm-next: New files. + * m68k/next.h, m68k/next.c: Move machine independent portions to + nextstep.h and nextstep.c. Update to NeXTSTEP 3.0 and 3.1. + * nextstep.h, nextstep.c: New files. + + Dumped Kresten's latest objc-runtime into the objc directory. + This needs work. + + * objc/core.c, objc/objc-proto.h, objc/object.h, objc/object.m, + objc/record.h: Deleted. + + Thu Apr 1 11:02:49 1993 Kresten Krab Thorup (krab at xiv) + + * objc/list.h (list_remove_head): added case for one element list. + * objc-init.c (__objc_exec_class): changed objc_get_class to + objc_lookup_class. (thanks to mccallum@cs.rochester.edu) + + Thu Mar 30 11:04:11 1993 Kresten Krab Thorup (krab at xiv) + + * Protocol.m, objc/Protocol.h: added + * objc.h (struct objc_protocol): added + * objc-init.c (__objc_init_protocols): added + (__objc_exec_class): added code for initializing protocols + * objc-class.c (__objc_class_add_protocols): added + + Thu Mar 25 17:09:40 1993 Kresten Krab Thorup (krab at xiv) + + * configure, Makefile.in: added + * Makefile.in (install): added + + Wed Mar 24 14:32:14 1993 Kresten Krab Thorup (krab at xiv) + + * objc/objc.h: Define objc_msg_lookup inline if optimization is + turned on. objc-actions.c changed accordingly. + + Tue Mar 23 18:02:04 1993 Kresten Krab Thorup (krab at eos) + + * sarray.c, objc/sarray.h: Structure of `sarray' changed + eliminating one indirection. This affects most functions. + + Mon Mar 29 1993 Christopher J. Kane (kane@rock-opera) + + * objc-object.c (_objc_object_alloc, _objc_object_dispose, + _objc_object_copy): moved to objc-misc.c, init to 0. + : deleted file. + + * Object.m (-perform:, -perform:with:, -perform:with:with:): check + return value of objc_msg_looup before using it. + (-name, -doesNotRecognize:, -error:): changed class_get_class_name + to object_get_class_name. + (+readFrom:): added check for class name length. + + * objc-api.m (class_create_instance, object_copy, object_dispose): + moved from objc-object.c, inline'd + + Sun Mar 28 1993 Christopher J. Kane (kane@prelude) + + * objc-api.h (several inline functions): rewritten to + use new CLS_ISCLASS and CLS_ISMETA macros. + (object_is_metaclass): added. + + * objc.h (_objc_alloc, _objc_dealloc, _objc_realloc, + _objc_copy, objc_trace): removed (not used). + (class_get_class_number, class_set_class_number): removed. + (CLS_ISCLASS, CLS_ISMETA): check for nil parameter. + + Sat Mar 27 1993 Christopher J. Kane (kane@toccata) + + * Object.m: method comments added. + (-transmuteClassTo:): removed error message. + (+error:): removed. + (-error:): added +error: functionality. + (+readFrom:): changed objc_get_class to objc_lookup_class. + (+readFrom:): added class_set_version. + + * objc-api.h (object_get_class, object_get_super_class, + object_get_meta_class, object_is_class, + object_is_instance, _objc_error): added. + + * objc.h (_objc_error): moved to objc-api.h. + + Fri Mar 26 1993 Christopher J. Kane (kane@toccata) + + * objc-api.h: function comments added. + (class_set_class_number, class_get_class_number, METHOD_NULL, + class_add_method_list, objc_msg_lookup_super): moved to + objc.h. + (objc_msg_sendv): removed. + + * Object.h, Object.m (-isMetaClass): added. + (+free, +name, +respondsTo:, +respondsTo:): removed. + (+class, +superClass, +metaClass): removed. + + * Object.m (-storeOn:): added variable class_encoding. + (+readFrom:): replaced constant '#' with _C_CLASS. + (-descriptionForMethod): changed descriptionForInstanceMethod: message + to class_get_instance_method. + (-class): now calls object_get_class. + (-superClass): now calls object_get_super_class. + (-metaClass): now calls object_get_meta_class. + + Wed Mar 24 1993 Christopher J. Kane (kane@rock-opera) + + * objc-api.h (METHOD_NULL): new define. + (method_get_argsize, method_get_imp, class_get_super_class, + class_get_meta_class, class_get_instance_size): new + functions. -Thu Dec 26 11:20:07 1991 Michael Tiemann (tiemann at cygnus.com) + * Object.m (-isStructuredLike:, CLASS, IMP2): removed. + (#include ): removed. + (includes , , ): replaced w/ extern decls. + (+poseAs:): implemented. + (-transmuteClassTo:): now returns previous class. + (-performv::): changed constant 96 to method_get_argsize. + (-perform:, -perform:with:, -perform:with:with:): removed casts. + (-storeOn:, +readFrom:): replaced "strlen("#")" with "1". + (-isKindOfClassNamed:, -isMemberOfClassNamed:, -error:, + +error:): check for NULL. + (many methods): changed pointer indirections to function calls. + (+instancesRespondTo:, -respondsTo:, -methodFor: + +instanceMethodFor:): simplified. - * cp-class.c: Declare N_* variables here. - * cp-class.h: Declare N_* variables extern here. + * Object.h, Object.m (-changeClass:): renamed to -transmuteClassTo:. + (+initialize, -isClass, -isInstance): added. - * cp-gc.c (build_static_gc_entry): Call `assemble_gc_entry' instead - of implementing it directly. - * varasm.c (assemble_gc_entry): New function. + * Object.h: redundant #defines, typedefs removed; comments modified. + (+readFrom:, -readFrom:, -storeOn:) added. + (-perform:with:): duplicate declaration removed. - * calls.c (expand_call): Don't crash if somebody declared a void - function `const'. +Fri Apr 9 17:42:11 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-cvt.c (convert): Handle case when two equal array types are - distinct (in memory). - * tree.c (build_index_2_type): Don't set TREE_TYPE of lower bound. - (index_type_equal): New function. + * config.sub: Accept i370, mvs. + For i370-ibm*, assume mvs by default. + Later, likewise, for i370-*. + For -mvs*, assume ibm as default vendor. - * cp-spew.c (yylex): Extend special-case ptr-to-func ((*)()) parsing - to handle (*)[] and (&)[] declarations as well. + * c-lex.c (yylex): Use MAP_CHARACTER if it's defined. - * cp-decl2.c (finish_file): Unconditionally call - assemble_{constructor,destructor}. Also, delete code for writing - _init and _fini sections that was #if 0'd. These actions belong in - varasm if anywhere. + * cccp.c (no_precomp): Make it 1 by default. - * cp-class.c (add_method): Fix handling of obstacks to correctly - extend TREE_VECs. +Fri Apr 9 17:15:00 DJ Delorie (dj@ctron.com) -Thu Dec 26 15:24:45 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * configure.bat: Updated to handle current Makefile + and new config/i386/go32.h. - * cccp.c (main): Add new option -include. Rename -i to -imacros. - * gcc.c (SWITCH_TAKES_ARG): Remove -i. - (WORD_SWITCH_TAKES_ARG): Add -include, -imacros. - * hp800.h (WORD_SWITCH_TAKES_ARG): Add all the standard alternatives. - * mips.h (SWITCH_TAKES_ARG): Remove -Y and -i. - * next.h, sparc.h (WORD_SWITCH_TAKES_ARG): Add -include, -imacros. - * sun2.h, sun3.h (WORD_SWITCH_TAKES_ARG): Copy from sparc.h. - * svr4.h (SWITCH_TAKES_ARG): Remove -i, -f. - (WORD_SWITCH_TAKES_ARG): Add -include, -imacros. + * config/i386/go32.h: New file. - * toplev.c (flag_gnu_linker): New variable. -fgnu-linker. - * flags.h (flag_gnu_linker): Declare it. - * varasm.c (assemble_constructor, assemble_destructor): - Handle flag_gnu_linker. + * config/i386/xm-dos.h: Define MKTEMP_EACH_FILE and + NO_PRECOMPILES. - * sparc.md (structure values): Separate unimp pattern deleted. - New pattern for combined call and unimp. `call' pattern changed. - (type): Deleted type marker, added call_no_delay_slot. +Fri Apr 9 15:11:25 1993 Ian Lance Taylor (ian@cygnus.com) -Thu Dec 26 05:04:28 1991 James Van Artsdalen (james at bigtex.cactus.org) + * Makefile.in: Install as $(target)-gcc, not gcc-$(target). - * reg-stack.c (move_for_stack_reg): If a SET_DEST is REG_UNUSED, - just pop the SET_SRC. + * fixincludes: Avoid inserting #ifndefs in limits.h if they are + already there (solves HP/UX problem). -Wed Dec 25 17:23:25 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Thu Apr 8 21:36:11 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * c-decl.c (init_decl_processing): Fix type of exit, _exit. + * combine.c: Include hard-reg-set.h. + (reg_nonzero_bits): Should be unsigned. + (reg_last_set_{mode,nonzero_bits,sign_bit_copies}): New variables. + (combine_instructions): Allocate and initialized them. + (nonzero_bits, num_sign_bit_copies, case REG): Use new variables + to get information on regs we've seen before. + (record_value_for_reg): Set new variables for register being modified. + (record_dead_and_set_regs): Invalidate regs clobbered by CALL_INSN. + * Makefile.in (combine.o): Includes hard-reg-set.h. - * jump.c (cross_jump_death_matters): Move def to front, make static. + * expr.c (do_store_flag, case GT_EXPR, LE_EXPR): Don't + confuse highest unsigned value with -1. -Tue Dec 24 20:41:32 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * combine.c (force_to_mode, case xSHIFT): Don't narrow the + mode unless we can be sure that the shift count is smaller + than the size of the mode. - * hard-reg-set.h (reg_names): Declare here. - * stmt.c (expand_asm_operands): Not here. + * ns32k.h (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): + Add new register class GEN_AND_FLOAT_REGS. - * gcc.c (handle_braces, do_spec_1, give_switch): Clear up %*. +Thu Apr 8 18:42:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * expr.c (expand_expr): Delete decl of lang_expand_expr. + * Makefile.in (c-parse.y, objc-parse.y): Use sed, not awk. - * final.c (final_scan_insn): Delete line number followed by another - line number, if numbers are effectively consecutive. + * c-decl.c (finish_enum): Store layout results into variant types. - * jump.c (jump_optimize): Set cross_jump_death_matters from cross_jump. - * reg-stack.c (reg_to_stack): Pass 2 for cross_jump to jump_optimize. - Don't set cross_jump_death_matters here. - (record_reg_life): Delete decl of call_used_reg_set. + * flow.c (mark_set_1): Clear reg_next_use at the proper place. - * c-decl.c (init_decl_processing): - Declare abort, exit, and _exit as volatile. +Thu Apr 8 10:50:00 1993 Ian Lance Taylor (ian@cygnus.com) - * c-decl.c (implicitly_declare): Set IDENTIFIER_IMPLICIT_DECL earlier. - (pushdecl): Test that and avoid nested extern warning. + * Makefile.in (LIBGCC2_INCLUDES, LIBGCC2_DEPS): New variables, + with empty values, to be overriden by t-* files. + (LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES. + (libgcc2.ready): Depend on LIBGCC2_DEPS. + (stmp-int-hdrs): New target, all of old stmp-headers except + float.h. + (stmp-headers): Depend on stmp-int-hdrs, and just install float.h. - * c-decl.c (init_decl_processing): Don't handle EXPAND_BUILTIN_VARARGS. +Thu Apr 8 06:58:27 1993 Michael Meissner (meissner@osf.org) -Tue Dec 24 15:42:34 1991 Michael Tiemann (tiemann at cygnus.com) + * c-tree.h (require_complete_type, lookup_name_current_level): Add + prototypes. - * cp-init.c (add_friends): Add missing IDENTIFIER_POINTER macro - application to strncmp argument. + * tree.h (require_complete_type, lookup_name_current_level): Remove + prototypes, these are defined in c-typeck.c and c-decl.c, and + lookup_name_current_level is declared static in cp-decl.c. - * cp-method.c (build_overload_*): Now uses SCRATCH_OBSTACK instead - of relying on fixed buffers of finite length. - (fndecl_as_string): Ditto. - All callers changed. - * cp-except.c (cplus_exception_name): Definition moved to - cp-method.c. +Wed Apr 7 14:37:41 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Dec 24 10:38:49 1991 Michael Collison (collison at osf.org) + * flow.c (mark_set_1): Clear reg_next_use for all kinds of regs. - * ns32k.c (hard_regno_mode_ok): Define this as a function now. - Also change the way it work so that we don't allow moves between - the general registers and the floating point registers. +Wed Apr 7 09:18:20 1993 Michael Meissner (meissner@osf.org) - * ns32k.h (HARD_REGNO_MODE_OK): Turn it into a function call. + * i386/osfrose.h (GO_IF_LEGITIMATE_ADDRESS): Allow -fpic again to + mean System V.4 semantics. + (CC1_SPEC): -fpic and -fPIC turn off OSF/rose shared library + support. - * ns32k.md (call_value): fix to correct a bug where the compiler thinks - the return value of a function call is in f0 instead of r0. Fix - courtesy of vince russo. - (movqi, movhi): Fix up these patterns because they could return - undefined instruction templates. Fix courtesy of vince russo. +Tue Apr 6 18:07:20 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Dec 24 10:14:20 1991 Ron Guilmette (rfg at ncd.com) + * c-decl.c (start_function): + Inhibit missing prototype warning for `main'. - * mips-tfile.c (main): Move nested extern decl of version_string to - file-scope. - (catch_signal): Move nested extern decl of sys_siglist to - file-scope. +Tue Apr 6 17:23:34 1993 Bill Cox (bill@cygnus.com) - * varasm.c (assemble_variable): Handle ASM_OUTPUT_ALIGNED_COMMON. - * svr4.h (ASM_OUTPUT_ALIGNED_COMMON, ASM_OUTPUT_ALIGNED_LOCAL): New. - (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Deleted. + * tree.h (require_complete_type, lookup_name_current_level): Add + prototypes. - * gcc.c (SWITCH_TAKES_ARG, default_compilers): Eliminated -Y* option. - (execute): Moved decls of execv and execvp to top level. - (do_spec, do_spec1, handle_braces, give_switch): Support new %* spec. +Tue Apr 6 15:09:42 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * c-lang.c (recognize_objc_keyword): Added explicit return. + * va-sparc.h (va_arg): Cast argument pointer to (char *). - * svr4.h (SWITCH_TAKES_ARG, WORD_SWITCH_TAKES_ARG): New definitions. - (ASM_SPEC, LINK_SPEC): Support more standard svr4 options. - (LIB_SPEC): Fixed to link crtend.o *after* libc.a. + * unroll.c (loop_iterations): When computing comparison_value, use + reg_set_p to identify instructions that modify it. - * svr4.h (CONST_SECTION_FUNCTION): Moved decl of `text_section' to - top level. + * sparc.md (lshldi3, lshrdi3): Define. - * cexp.y (main): Add explicit return type and explicit value. - Move decl of yydebug to top level. + * Makefile.in (STAGESTUFF): Add insn-opinit.c, stamp-opinit, and + genopinit. - * gnulib2.c (__bb_init_func): Moved decl of ___tcov_init to top level. + * cccp.c (do_include): For missing header file, if -M, don't + output dependencies, and warning not error if no dependency is + needed. - * toplev.c (main): Deleted obsolete checks for -opt and -noreg. - Moved decls of environ, version_string, language string to file-scope. - Compile-time error if PREFERRED_DEBUGGING_TYPE is missing. + * c-common.c (decl_attributes, format case): Error if num_arg does + not point to a string type argument, or if first_arg_num not the + anonymous argument. - * tree.c (dump_tree_statistics): Deleted decl of class_obstack. - (object_permanent_p): Added explicit return type. + * function.c (init_function_start): Always set + current_funtion_returns_pcc_struct if PCC_STATIC_STRUCT_RETURN defined. -Tue Dec 24 09:29:24 1991 Charles Hannum (mycroft at hal.gnu.ai.mit.edu) + * sparc.md (movdi): End by returning the last template; otherwise + we return junk for a template. - * expr.h (lang_expand_expr): Fix typo. + * README.ALTOS: Comment as possibly obsolete. + * README.ENCAP: Delete. + * install.texi: Delete references to COFF encapsulation. -Tue Dec 24 06:52:45 1991 Michael Meissner (meissner at osf.org) + * tree.h: Add more prototypes. - * gnulib2.c (__main): Make sure the exit module is pulled in if we - have atexit, since that module defines constructor/destructor - variables as bss symbols rather than as references. +Tue Apr 6 12:01:17 1993 Michael Meissner (meissner@osf.org) - * decrose.h (HAVE_ATEXIT): Define. - * encrose.h (HAVE_ATEXIT): Define. - * i386rose.h (HAVE_ATEXIT): Define. - * decstatn.h (HAVE_ATEXIT): Define. + * mips.h (MIPS_VERSION): Bump Meissner version number to 38. + (PUT_SDB_*): If -mgas, don't put # in front of directives. + (MIPS_DEFAULT_GVALUE): If not define, define as 8, which is the + default -G xx value to use. - * gcc.texinfo (HAVE_ATEXIT): Expand documentation. - (EXIT_BODY): Document. + * mips.c (override_options): Set mips_section_threshold to + MIPS_DEFAULT_GVLAUE if -G xx not used. - * protoize.c (POSIX): Make protoize accept TARGET_POSIX as a synonym - for POSIX to make the code and documentation agree. Also, if the - user defined _POSIX_SOURCE explicitly, turn on POSIX support in - protoize. + * mips/osfrose.h (DWARF_DEBUGGING_INFO): Define. + (MIPS_DEFAULT_GVALUE): If mips assembler, the value is 8, + otherwise it is 0. -Tue Dec 24 00:14:38 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * i386/osfrose.h (DWARF_DEBUGGING_INFO): Define. + (PREFERRED_DEBUGGING_TYPE): Define as DBX_DEBUG. - * calls.c (emit_call_1): Additional arg STRUCT_VALUE_SIZE. - Use as arg in call and call_value insns. - (expand_call): Record the size, to pass it. - * expr.c (emit_library_call): Pass 0 for STRUCT_VALUE_SIZE. - * sparc.md (call, call_value): Make use of new arg. - Generate an unimp instruction to use sparc calling convention. - Add nameless pattern to recognize it. - * sparc.c (output_function_epilogue): Skip the caller's unimp insn. +Mon Apr 5 20:47:44 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * Makefile.in (INSTALLED_H): New variable. - (includes): Preserve just those specific files. + * Represent prologue and epilogue as RTL on the PA + * pa.md (prologue, epilogue): New define_expands. + (return_internal, call_profiler): New define_insns. + * pa.h (FIXED_REGISTERS): %r4 is no longer fixed. + (CALL_USED_REGISTERS): %r4 is no longer CALL_USED either. + (REG_ALLOC_ORDER): Move %r4 up in the allocation order. + (DELAY_SLOTS_FOR_EPILOGUE): Delete. + (ELIGIBLE_FOR_EPILOGUE_DELAY): Delete. + * pa.c (print_stw, print_ldw): Delete. + (eligible_for_epilogue_delay): Delete. + (hppa_epilogue_delay_slots): Delete. + (store_reg, load_reg, set_reg_plus_d): New helper functions. + (output_function_prologue): Only emit assembler pseudo-ops + to denote the start of a function. Place the correct + value into hp_profile_label_name if profiling. + (output_function_epilogue): Only emit assembler pseudo-ops + to deonte the end of a function. + (hppa_expand_prologue): New function to emit all prologue + code as RTL. + (hppa_expand_epilogue): Likewise for the epilogue. + (compute_frame_size): Update to account for using %r4 as an + allocatable register if the frame pointer was eliminated. - * expr.h (lang_expand_expr): Declare it. - * expr.c: Don't declare it. - * cp-expr.c (init_cplus_expand): Set up lang_expand_expr here. - * cp-lex.c (init_lex): Call init_cplus_expand. +Mon Apr 5 06:57:35 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Mon Dec 23 15:17:59 1991 Tom Wood (wood at dg-rtp.dg.com) + * expr.c (expand_expr, case SAVE_EXPR): Pass promoted type to + store_expr. - * configure: Delete m88k-v88r32 (this is supported by m88k-svr3) - and add m88k. - * config.sub: Delete v88r as a system type. +Mon Apr 5 03:26:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Dec 23 19:50:48 1991 Fred Fish (fnf at fishpond) + * reload1.c (emit_reload_insns): Cast enum array index to int. - * 3b1.h, crds.h, hp320.h, m68k.md, m68ksgs.h, mot3300.h, news.h, - tower-as.h: Replace port oriented macros SGS_3B1, HPUX_ASM, and - SONY_ASM, with configuration oriented macros SGS_SWITCH_TABLES, - SGS_SWAP_W, SGS_CMP_ORDER, and SGS_NO_LI. + * expr.c (store_constructor): Properly compute size of array + when clearing the whole array. - * m68ksgs.h: New file. +Mon Apr 5 02:54:54 1993 Per Bothner (bothner@hal.gnu.ai.mit.edu) - * m68k.c (print_operand_address): Change switch labels for MOTOROLA. - Don't use a `%'. Add missing `L' to some labels. - For SGS assembler, use one symbol for the offset. + * c-decl.c (lookup_name_current_level): Make non-static. -Mon Dec 23 17:03:13 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Sun Apr 4 20:09:19 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * recog.h (insn_name): New declaration. - * final.c (output_asm_insn): Don't declare insn_name here. + * pa.h (HARD_REGNO_MODE_OK): Do not accept integer modes + greater than 32 bits in 1.0 FP registers. + * pa.md (movdi patterns): Do not accept 1.0 FP registers. + (floatunsdisf, floatunsdidf expanders): Disable unless TARGET_SNAKE. + (floatdisf2, floatdidf2 patterns): Likewise. + (fix_truncdisf2, fix_truncdidf2): Likewise. - * dbxout.c (dbxout_function, dbxout_begin_function): - Pass missing arg to dbxout_really_begin_function. + * pa.md (dbra pattern): Extend to allow any 5 bit increment, + any comparison operator for the compare against zero, and + no longer require the REG_NONNEG note. - * jump.c (jump_optimize): Set new var can_reach_end. - * c-decl.c, cp-decl.c (finish_function): - Merge that into current_function_returns_null. + * pa.h (EXTRA_CONSTRAINT): Refine 'T' constraint to not accept + pseudos which did not get hard registers and to not use + short_memory_operand. + * pa.c (short_memory_operand): Delete. + (emit_move_sequence): Do not use short_memory_operand when testing + for secondary reloads for FP loads/stores. + * pa.md (movsi for FP regs): Delete special case patterns. + (movdi for FP regs): Likewise. + (movsi main recognizer): Allow fp<->memory copies. + (movdi main recognizer): Likewise. - * config.sub (fx2800): New machine alias. +Sun Apr 4 18:56:25 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - * va-m88k.h (va_start): Test __GNUC__, not __CLASSIFY_TYPE__. + * pa.h (FUNCTION_OUTGOING_VALUE): Remove. + (FUNCTION_VALUE_REGNO_P): Return regs depend on TARGET_SNAKE. - * m88kv4.h: New version from Wood. - (CPP_PREDEFINES): Put -A options here. Remove __CLASSIFY_TYPE__. +Sun Apr 4 17:47:43 1993 John F Carr (jfc@Athena.mit.edu) - * cccp.c (initialize_builtins): Define __GNUC__ as 2. + * reorg.c (get_jump_flags): Check for LABEL == 0 before using + LABEL. - * rtl.h (read_rtx): New declaration. +Sun Apr 4 16:38:04 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-lex.c: Don't include output.h. - (asm_out_file): Declare it. - (ridpointers): Allocate storage here. + * mips-tfile.c: Change "illegal" to "invalid" in error messages. + (parse_stabs_common): Allow nonzero ignored fields in .stabs/.stabn. - * c-lex.h (lastiddecl, token_buffer): Declare here. - (yylex, make_pointer_declarator, reinit_parse_for_function): Likewise. - * c-parse.y, objc-parse.y: Not here. + * calls.c (expand_call) [PCC_STATIC_STRUCT_RETURN]: + Always set pcc_struct_value if aggregate_value_p returns 1. - * objc-actions.c (error_with_ivar, error_with_method): - (warn_with_method): Use count_error, not errorcount. + * Makefile.in (alloca.o): Delete -Demacs from command. -Mon Dec 23 11:50:37 1991 Ron Guilmette (rfg at ncd.com) +Sun Apr 4 11:19:07 PDT 1993 Ron Guilmette (rfg at netcom.com) - * sdbout.c: Fixed typo. - * stmt.c (init_stmt, init_stmt_for_function): Explict return type. - * gnulib2.c (__fixunsdfdi, __fixunssfdi): Move extern decls. - * recog.c (init_recog): Added explicit return type. - * longlong.h (count_leading_zeros): Moved decl of `__clz_tab'. - * print-rtl.c (insn_name_ptr): Make decl `extern'. + * dwarfout.c (type_attribute): Use the TYPE_MAIN_VARIANT of the + given type when calling `user_def_type_attribute'. - * objc-actions.h, objc-actions.c (doing_objc_thang): Make extern. - * objc-actions.h, objc-actions.c (finish_class): Return void. - * objc-actions.c (continue_class): Added default error return value. +Sun Apr 4 07:57:18 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * fixinc.svr4: Map assertion tests to equivalent ANSI macro tests. + * optabs.c: Include reload.h. + * Makefile.in (optabs.o): Show includes reload.h. - * i860.c (output_block_move): Disabled code to move by words or - halfwords until it can be made to work right. + * alpha.c (output_prolog): Need LDGP even for static procedure. - * i860.c (output_block_move): Moved a sequence of common - `output_asm_insn' calls out of (and before) conditionals. + * alpha.c (alpha_builtin_saveregs): Adjust for fact that + virtual_incoming_args_rtx includes pretend size. + * alpha.h (SETUP_INCOMING_VARARGS): Likewise. - * i860.c (output_block_move): Corrected bugs in move loop. + * alpha.h (LINK_SPEC): Don't pass -O2 to ld; it seems to be broken. -Mon Dec 23 15:25:01 1991 Tom Wood (wood at dg-rtp.dg.com) + * reorg.c (rare_destination): New function. + (mostly_true_jump): Refine to use more info about destination + and fallthrough; now returns -1 for very unlikely branches. + (fill_eager_delay_slots, relax_delay_slots): Allow -1 return + from mostly_true_jump. - * m88kv4.h (CPP_PREDEFINES): Fix for varargs/stdarg. - (includes): Include svr4.h before m88k.h so the overrides in m88k.h - will take effect. +Sun Apr 4 03:09:23 1993 Richard Stallman (rms@churchy.gnu.ai.mit.edu) -Mon Dec 23 07:06:27 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * gstdarg.h [__svr4__]: Test only _VA_LIST_ to avoid dup typedef. + (This used to be if __SVR4_2__.) - * i860.c (output_delayed_branch): Call insn_extract and - constrain_operands so that `which_alternative' is set properly. + * config/m68k/m68k.c (floating_exact_log2): Initialize r1. - * stor-layout.c (layout_type, case ARRAY_TYPE): Handle - TYPE_NO_FORCE_BLK similar to RECORD_TYPE. +Sat Apr 3 20:01:05 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * encrose.h, i386rose.h, mips.h (LIBG_SPEC): Deleted; unused. + * pa.c (hppa_legitimize_address): Use Pmode consistently. -Sun Dec 22 12:02:03 1991 James Van Artsdalen (james at bigtex.cactus.org) +Sat Apr 3 17:35:11 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * i386.c (function_epilogue): Use correct operand for insn mode. + * reload1.c (emit_reload_insns): Don't update the status of a + register from an input reload if it also has an output reload. -Sun Dec 22 12:20:16 1991 Michael Tiemann (tiemann at cygnus.com) + * expr.c (store_expr): Call size_binop instead of doing the + same thing with fold and build. - * cp-decl.c (grokdeclarator): Don't set TREE_PUBLIC for member - functions that are really declared as inline methods. + * combine.c (simplify_comparison, case PLUS): Generalize + simplification of (eq (plus A B) C). + (simplify_comparison, case MINUS): Add corresponding cases. - * cp-init.c (build_virtual_init): Add missing call to - `assemble_external' when we use a virtual function table. +Fri Apr 2 19:11:46 1993 Richard Stallman (rms@geech.gnu.ai.mit.edu) - * cp-decl.c (implicitly_declare): Don't allocate a decl if at the - global binding level. + * c-parse.in (expr_no_commas, from ASSIGN op): + Store ERROR_MARK as the original code. - * vax.h (PRINT_OPERAND): Handle new 'R' case. - * vax.md: Change all patterns which passed a negated operand for - `rotl' to use 'R' as the negator, since rotl cannot acctually handle - negative arguments. +Fri Apr 2 07:49:03 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sun Dec 22 12:31:46 1991 Ron Guilmette (rfg at ncd.com) + * reload1.c (reload_reg_used_for_inherit): New variable. + (clear_reload_reg_in_use): New function. + (allocate_reload_reg): Don't consider an inherited register as + one that we should share in the first pass. + Don't mark a register in use until we are sure it will fit. + (choose_reload_regs): Mark spill regs used for inheriting. + When we decide we can no longer use a register, show it isn't + being used. - * i386v4.h (TARGET_VERSION): Added definition. - * i860v4.h (TARGET_VERSION): Added definition. + * genopinit (optabs): Fix typo in name for "fix" pattern. - * m68kv4.h: New file. - * fx2800.h: New file. +Thu Apr 1 21:24:04 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * m88kv4.h (DWARF_DEBUGGING_INFO): Deleted redundant definition. - (It's defined already in svr4.h.) + Cygnus<->FSF merge. - * m88kv4.h (CPP_PREDEFINES): Added definition. + Thu Apr 1 17:20:05 1993 Mike Stump (mrs@sphagnum.cygnus.com) - * m88kv4.h (CPP_SPEC, LIB_SPEC, LINK_SPEC, STARTFILE_SPEC): - Deleted redundant definitions. (These are defined in svr4.h.) + * cp-decl.c (start_method): Never allow circularities in + TREE_CHAINs, as otherwise the compiler will core dump. This happens + when a method is redeclared improperly at leat. - * cccp.c (errno, sys_nerr, sys_errlist): Moved extern decls to top lev. - * function.c (round_down): Likewise. - * calls.c, c-convert.c: Delete block-level extern decls. - * c-convert.c: Include flags.h. + Thu Apr 1 12:06:03 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * configure (i386-*-sysv*): Fixed tmake_file value. - (i860-*-sysv3*): Fixed xmake_file and tmake_file value. - (i860-alliant-*): New configuration. + * cp-typeck.c (convert_for_assignment): Check if `rhs' is an + error_mark_node before looking to see if it's of OFFSET_TYPE. - * i860.c (recog_operand, call_used_regs, insn_template, - insn_n_operands, insn_outfun, alter_subreg): Moved extern - declarations out of local contexts and put them at file-scope. + * cp-decl.c (grokvardecl): Don't use declarator unless it's non-null + when looking for a redefinition. - * i860.c (zero_operand): Deleted useless function. + * cp-typeck.c (convert_for_initialization): Check if `rhs' is a + TREE_LIST before looking for its value. - * i860.c (singlemove_string): Added code to optimize moving halfword - constants. + * cp-init.c (expand_default_init): Don't clear DECL_REGISTER. - * i860.c (output_block_move): Don't do CC_STATUS_INIT until it is - definitely necessary & appropriate. + Wed Mar 31 17:57:50 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * i860.c (output_block_move): Create up to 16 sequential load/store - pairs for constant length moves regardless of operand sizes (e.g. - byte, halfword, word). + * cp-spew.c (yylex, case IDENTIFIER): If identifier_typedecl_value + returns a NULL_TREE, then set `lastiddecl' to be `trrr'. + * cp-lex.c (identifier_typedecl_value): Instead of internal error 62 + when we don't have a match for `type', return a NULL_TREE since our + callers will know what to do in that case. - * i860.c (output_block_move): Try to generate widest kind of - sequential load/store pairs for constant length moves before trying - the less efficient (narrower) ones. + * cp-tree.h (IDENTIFIER_TYPEDECL_VALUE): Deleted. + (identifier_typedecl_value): Deleted first prototype, kept second. + * cp-tree.c (list_hash_lookup_or_cons): Call the function for + identifier_typedecl_value, don't use the macro. + * cp-spew.c (yylex): Likewise. - * i860.c (output_block_move): Don't do sequential load/store pairs - for constant length moves unless the size is a multiple of the - size of the operands moved each time (i.e. word, halfword, byte). + Wed Mar 31 14:43:50 1993 Mike Stump (mrs@cygnus.com) - * i860.c (output_block_move): Re-wrote code to do inline variable - length block moves to correct fatal errors (e.g. no check for zero - or neagtive start count) and to make it more efficient (saved 1 cycle - per iteration). + * cp-cvt.c (convert_from_reference): Make sure we set + TREE_SIDE_EFFECTS if we need to. Cures duplicate evaluations in + things like: foo.mem(g++) = class_c; where foo.mem returns a + reference to a class object. - * i860.c (output_block_move): Make variable length moves with starting - alignment of 4 or 2 `#if 0' for now, until they can be fixed to work - right. Also reordered all three cases so that longer alignments are - checked for first. + Wed Mar 31 13:32:38 1993 Mike Stump (mrs@cygnus.com) -Sun Dec 22 01:25:07 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * cp-method.c (report_type_mismatch): Arguments are numbered + starting from 1 now. - * i386v4.h: Include svr4.h just once. + Tue Mar 30 17:21:18 1993 Mike Stump (mrs@cygnus.com) - * protoize.c (fprintf, printf): Decls put in #if 0. + * cp-decl.c (grokfndecl): When re-using an old decl in place of a + new decl, make sure to wipe out the DECL_CHAIN slot, as otherwise + this creates a circularity, causing an infinite loop in the compiler + later. - * emit-rtl.c (stack_slot_list): Delete superfluous extern decl. - (emit): Abort if arg isn't recognized. + Tue Mar 30 14:14:53 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * c-parse.y (current_declspecs, declspec_stack): Declare static. - (undeclared_variable_notice): Likewise. - (lastiddecl): Declare extern. - * objc-parse.y: Same changes as c-parse.y. - (token_buffer): Declare extern. + * cp-decl2.c (check_classfn): Say which class when giving an error + about arglist mismatches or missing members. - * c-lex.c: Include output.h. - (check_newline): Decl of asm_out_file deleted. + * cp-decl.c (grokdeclarator): For class-local typedefs, call pushtag + to make sure the identifier is in scope properly. - * c-lex.h (ridpointers, NORID): Declare/define here. - * c-lex.c, c-parse.y, objc-parse.y: Not here. + Mon Mar 29 18:05:22 1993 Mike Stump (mrs@cygnus.com) - * sun3.h (WORD_SWITCH_TAKES_ARG): Add `-assert'. - (LINK_SPEC): Pass -assert to linker. + lookup_fnfields hacking... Corrects some problems found with Thu + Mar 25 23:09:27 1993 vtable fixes. - * gbl-ctors.h (__CTOR_END__, __DTOR_END__): Remove `extern'. + * cp-init.c (build_offset_ref): When looking for the component, + have lookup_fnfields do the ambiguity checking, as we know it works + much better than anything here. + * cp-method.c (hack_identifier): If a name is ambiguous, go ahead + and report the error. + * cp-search.c (lookup_fnfields): Refine semantics and document + semantics with respect to ambiguities and returning error_mark_node. + Also, extend to be able to find all virtual functions. + * cp-search.c (get_virtuals_named_this): Remove unused second + argument. Arrange for call to lookup_fnfields to find all virtual + functions, even if they are hidden. + * cp-search.c (get_first_matching_virtual): Removed unused second + argument to get_virtuals_named_this. - * sparc.h (RTX_COSTS): Increase multiply cost to 20. - (MULSI3_LIBCALL): Use .umul. - (UMULSI3_LIBCALL): Deleted. + Mon Mar 29 16:42:58 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Sat Dec 21 18:34:27 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cp-method.c (dump_init): If the init value is an enum, then use + its tag in the error message, instead of its value. - * combine.c (simplify_comparison): Allow OP0 to be VOIDmode if it - is a COMPARE or a comparison operation. + * cp-typeck.c (build_binary_op_nodefault): Delete spurious warning + about comparision between signed/unsigned (matches C front-end). - * i860.md (bte): Remove now unneeded patterns. - Correct mode mismatch errors in patterns that will now be used. + Fri Mar 26 16:30:57 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Sat Dec 21 00:14:25 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * cp-parse.y (GCC_ASM_KEYWORD): New token. + (asm_keyword): New rule. + (extdef, maybeasm, simple_stmt): Use the rule instead of ASM_KEYWORD. + (maybe_type_qual): Don't warn about use of asm. + * gplus.gperf (__asm, __asm__): Token is GCC_ASM_KEYWORD. + * cp-spew.c (init_spew): Add GCC_ASM_KEYWORD. - * ns32k.h (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Dummies deleted. - (INITIALIZE_TRAMPOLINE): Likewise. #error inserted. + * cp-typeck.c (build_unary_op): Fix a bug so errors about ++/-- on + invalid pointer types actually get emitted. Don't restrict it to + when PEDANTIC is set, and use type_as_string to say what type is + being operated on. - * ns32k.c (print_operand_address): For invalid address, just abort. + Fri Mar 26 01:21:43 1993 Mike Stump (mrs@cygnus.com) - * Makefile.in (FIXINCLUDES): New variable. - (includes, maketest): Use that. - * x-i386v4 (FIXINCLUDES): Override here. + * cp-decl.c (grokdeclarator): Don't set TREE_PUBLIC for friends. -Fri Dec 20 18:28:54 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + Fri Mar 26 01:09:34 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * dbxout.c (dbxout_really_begin_function): New subroutine. - (dbxout_function): Use that, but only if not DBX_FUNCTION_FIRST. - (dbxout_begin_function): New function. - * varasm.c (assemble_start_function): Call dbxout_begin_function. + * cp-decl.c (pushdecl): Give a pedwarn, not a regular warning, when + we shadow a formal parameter. - * dbxout.c (dbxout_function): Implement DBX_OUTPUT_FUNCTION_END. + * cp-init.c (expand_default_init): Get rid of spurious abort call. - * sparc.md (movstrsi): Add missing double quote. + Thu Mar 25 23:09:27 1993 Mike Stump (mrs@cygnus.com) - * gcc.c (process_command): Handle -Xlinker. + Major vtable re-vamp. - * calls.c (expand_call): Treat vfork like setjmp. + * cp-call.c (build_method_call): Reword and improve error messages. + * cp-class.c (modify_vtable_entries), cp-class.c (finish_struct), + cp-init.c (init_vfields), cp-tree.c (virtual_member, virtual_offset), + cp-tree.h: Remove third argument to binfo_value, as it is unneeded. + * cp-class.c (finish_base_struct): Unshare base class binfos. + * cp-decl.c (finish_function): Fixup second argument to + build_virtual_init, so as to make it unambiguous. + * cp-init.c (build_virtual_init): Use second argument to get the + vtable, not the first, as the second is more specific. + * cp-search.c (is_subobject_of_p, hides, lookup_fnfields_here): New + routines. + * cp-seach.c (lookup_field, lookup_fnfields_1): Re-implement. The + new implementation allows for better ambiguity checking (10.1.1), + and implements most hiding (10p4). + * cp-tree.c (binfo_value): Re-implement. + * cp-typeck.c (build_component_ref): Propagate error_mark_nodes up. - * c-decl.c (implicitly_declare): Use push_obstacks_nochange. +Thu Apr 1 19:38:53 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * sparc.h (WORD_SWITCH_TAKES_ARG): Add -assert. - (LINK_SPEC): Pass -assert to linker. + * reorg.c (redundant_insn_p): Stop searching for a redundant + insn if an INSN or JUMP_INSN with delayed effects is + encountered. - * svr4.h (ASM_OUTPUT_LOCAL): Fix typo. +Thu Apr 1 12:00:01 1993 Michael Meissner (meissner@osf.org) -Fri Dec 20 07:52:19 1991 Michael Tiemann (tiemann at cygnus.com) + * real.c (toplevel): Add 'extern' keyword in forward declaration + of arrays without bounds to silence warnings from the MIPS + compiler. - * cp-decl2.c (lang_decode_option): Recognize more -fno-OPTION - options which need special treatment (in the turning off of the - option). + * i386/osfrose.h (LONG_DOUBLE_TYPE_SIZE): Undef this to protect + against long double going to 80 bits until the OSF libraries are + ready to handle it. - * cp-parse.y (named_class_head_sans_basetype_either): Rule deleted. - (identifier_either): Rule deleted. - (delete): Don't call `build_x_delete'' if the type does not have a - destructor. We may still need to adjust the address passed to - `operator delete'. + * mips/mips.md (untyped_call): Rewrite code so that the MIPS + compiler will not issue statement not reached warning messages. - * cp-init.c (build_delete): New argument MAYBE_ADJUST. All callers - changed. Also, add #if 0/#endif around code dealing with ALIGNMENT. - It's dead code, and that's unclear otherwise. - (maybe_adjust_addr_for_delete): New function. - (build_new): Initialize special header for arrays allocated with - `operator new[]'. This is a rewrite of Ken's code. - (init_init_processing): New built-in type BI_header_type. +Thu Apr 1 07:28:11 1993 James Van Artsdalen (james@bigtex.cactus.org) - * cp-init.c (build_{new,delete}): Call `build_builtin_call' for BIN, - BID. - (build_builtin_call): New function. + * expr.c (emit_push_insn, expand_assignment): Fix typo in last change. - * cp-decl.c (grokvardecl): Set TREE_EXTERNAL. - (grokdeclarator): Set TREE_PUBLIC for all member functions. They - are effectively global. Do the same for static members. - (start_function): Don't clear TREE_EXTERNAL in case the function - belongs to another file's implementation. Other fixes to - TREE_PUBLIC/TREE_EXTERNAL logic based on interface/implementation. +Thu Apr 1 02:31:16 1993 Per Bothner (bothner@hal.gnu.ai.mit.edu) - * cp-method.c (hack_identifier): Call `assemble_external' if - necessary. + * emit-rtl.c (init_emit): Clear sequence_stack. Otherwise, + if we're in a sequence when starting a nested function + expand_function_end () will end all the sequences. -Fri Dec 20 06:27:38 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Thu Apr 1 02:11:10 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * reload1.c (emit_reload_insns): Always record first insn emitted - for a reload, including any insns for a secondary reload. - (gen_input_reload): Correct documentation of function. + * Makefile.in (LIB2FUNCS): Add _fixunsxfdi, _fixxfdi, _floatdixf, + _fixunsxfsi. -Thu Dec 19 22:01:51 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * libgcc2.c (XFtype): Do define it, if LONG_DOUBLE_TYPE_SIZE == 96. + (__fixunsxfdi): New function, if LONG_DOUBLE_TYPE_SIZE == 96. + (__fixxfdi, __floatdixf, __fixunsxfsi): Likewise. - * gnulib1.c (perform_fixdfsi): New customization macro. +Wed Mar 31 20:05:19 1993 Michael Meissner (meissner@osf.org) - * svr4.h (SELECT_RTX_SECTION): Undef before defining. + * mips.h (CLASS_UNITS): Fix typo in previous change, patch from + ian@cygnus.com. -Thu Dec 19 16:59:12 1991 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) +Wed Mar 31 17:18:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cccp.c (hack_vms_include_specification): Make conversion of - filenames more versatile for user specified include directories. + * toplev.c (compile_file): Call incomplete_decl_finalize_hook + only if nonzero. -Thu Dec 19 17:38:18 1991 Michael Meissner (meissner at osf.org) +Wed Mar 31 00:59:50 1993 Gerald Baumgarnter (gb@cs.purdue.edu) - * mips.h (#error's): Put tab in front of all #error's, so that - ancient pre-ANSI compilers will not complain about unknown - directives, even if the #error is #ifdef'ed out. + * toplev.c (compile_file): Only call `*incomplete_decl_finalize_hook' + if the `decl' in question is a VAR_DECL. - * mips.md (fix_trunc*): Reorder constraints so that 'd' comes before - 'f', and put a '*' in front of 'f' constraints to keep integer in - the GP registers. - (define_splits): Add reload_completed check for all define_splits - that use subreg on the arguments to work around bug in sched.c. +Wed Mar 31 15:27:41 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * cccp.c (lang_asm): New static variable to indicate we are - processing an assembly file and to ignore unknown directives in case - they are comments, like they are on the MIPS systems. - (main): Set lang_asm if -lang-asm switch. - (handle_directive, skip_if_group): Don't report about unknown - directives if lang_asm is set. + * pa.h (CONSTANT_ADDRESS_P): Fix typo in last change. - * gcc.c (default_compilers array): Pass -lang-asm to cpp when - processing .S files instead of -lang-c. +Wed Mar 31 15:11:12 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Thu Dec 19 15:06:09 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * clipper/clipper.h, convex/convex.h, elxsi/elxsi.h, fx80/fx80.h, + gmicro/gmicro.h, h8300/h8300.h, i386/i386.h, i386/osfrose.h, + i860/i860.h, i960/i960.h, m68k/m68k.h, m88k/m88k.h, mips/mips.h, + pa/pa.h, pyr/pyr.h, romp/romp.h, rs6000/rs6000.h, sparc/sparc.h, + spur/spur.h, tahoe/tahoe.h, vax/vax.h, we32k/we32k.h + (CONSTANT_ADDRESS_P): Define with body of `CONSTANT_P', but leave + out CONST_DOUBLE. - * c-decl.c (c_decode_option): Handle -fno-ident. - * c-lex.c (check_newline): Ignore #ident for -fno-ident. +Wed Mar 31 11:28:21 1993 James Van Artsdalen (james@bigtex.cactus.org) - * svr4.h (ASM_OUTPUT_LOCAL): Use assemble_name. + * reg-stack.c (emit_swap_insn): Don't link cc0 insns: emit swap + after cc0 user. - * mips.h: Use #error, not #include, for error messages. +Wed Mar 31 07:00:45 1993 Richard Kenner (kenner@apple-gunkies.gnu.ai.mit.edu) - * cccp.c (warning, main): Implement -Werror. + * expr.c (expand_expr, case ADDR_EXPR): Allow taking the + address of any object; used in call-by-reference situations. - * i386sco.h (CPP_SPEC): Move non-fixed option here. - (CPP_PREDEFINES): From here. + * tree.c (next_type_uid): Move definition to reasonable place. + (copy_node): Make new DECL_UID and TYPE_UID as comments say. - * gcc.c (do_spec_1): For %p, just pass -D options. - For %P, pass all -A options. Put in whitespace, fix typos. + * expr.c (emit_block_move, emit_push_insn, expand_assignment): + Size passed to memcpy/bcopy is SIZETYPE, not Pmode. - * c-parse.y (parmlist_2, defn_parmlist_2): Warn about (...). - * c-decl.c (get_parm_info): Don't warn here. + * cse.c (simplify_binary_operation, case MULT): When testing for + floating-point equality, make sure we do so inside a region + protected from traps. + * i386.c (standard_80387_constant_p): Likewise. -Thu Dec 19 06:15:46 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * alpha.h (INITIAL_ELIMINATION_OFFSET): Subtract + current_function_pretend_args_size from OFFSET for AP. - * toplev.c (compile_file): Avoid ordered comparison of debug_info_level - since it is an enum. + * alpha.h (LINK_SPEC): New definition. - * mips.c: Include gstab.h. + * cse.c (insert_regs): If a REG already is in a class but not + in the mode we want, don't do anything to the classes. - * sparc.md: Fix typo. +Wed Mar 31 02:02:29 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * caller-save.c (save_call_clobbered_regs): Don't save regs that - die in a CALL_INSN or that are born there. + * gvarargs.h [__svr4__]: Test only _VA_LIST_ to avoid dup typedef. + (This used to be if __SVR4_2__.) -Thu Dec 19 04:28:23 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * local-alloc.c (optimize_reg_copy_1): Don't increment n_calls + specially if P is a call_insn. - * c-aux-info.c (gen_aux_info_record): Don't write space at line beg. + * convert.c (convert_to_real): Pass mode arg to REAL_VALUE_ATOF. -Wed Dec 18 11:46:13 1991 Tom Wood (wood at dg-rtp.dg.com) +Tue Mar 30 17:07:33 1993 Stephen L. Moshier (moshier@world.std.com) + + * real.c: This is a new C file to implement floating point + REAL_ARITHMETIC, target machine bit patterns for cross-compilation, + and REAL_VALUE_ATOF for decimal input constants in long double + XFmode as well as lower precisions. + + * real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE, REAL_VALUE_TO_TARGET_DOUBLE) + (REAL_VALUE_TO_TARGET_SINGLE): New macros. - * cse.c (cse_main): Use get_max_uid rather than computing it. + * real.h: If REAL_ARITHMETIC is defined or if LONG_DOUBLE_TYPE_SIZE + is 96, then define REAL_VALUE_ macros to invoke functions in real.c. -Wed Dec 18 18:13:06 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * real.h (REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT): + New macros truncate toward zero to integer value but + return REAL_VALUE_TYPE. + + * real.h (REAL_VALUE_TO_DECIMAL): New macro defaults to + fprintf if no REAL_ARITHMETIC, otherwise uses real.c for + binary to decimal conversion. Use in ASM_OUTPUT_ macros. + + * Makefile.in (real.o): New target. + (OBJS): Add real.o. + + * c-lex.c (yylex): Convert real decimal constants directly + to the precision specified by the letter at the end of the number. + Pass mode arg to REAL_VALUE_ATOF to specify precision. + Move the "out of range of double" error check. - * loop.c (scan_loop): Ensure replacement made by single-use code - is not modified in the life of the register being replaced. + * cp-lex.c (yylex): Redo converting float values to desired type. -Wed Dec 18 15:37:52 1991 Ron Guilmette (rfg at ncd.com) + * final.c (split_double) : Use REAL_VALUE macros to extract ints + from float mode CONST_DOUBLEs. + + * emit-rtl.c (operand_subword): Use REAL_VALUE_TO_TARGET_SINGLE + to convert to target float. + If REAL_ARITHMETIC is defined, let real.c handle incompatible host + and target floating point bit patterns. + (init_emit_once): Add machine_mode argument to REAL_VALUE_ATOF. + + * fold-const.c (real_value_truncate): If REAL_ARITHMETIC, replace + by routine of same name in real.c. + target_isinf, target_isnan, target_negative): Likewise. + (const_binop): Delete `register' from decls using REAL_VALUE_TYPE. + (fold_convert): Use REAL_VALUE_TO_INT. + + * rtl.c: Include real.h to get the definition of REAL_VALUE_TYPE. + + * varasm.c (assemble_real): Case TFmode and XFmode invoke + ASM_OUTPUT_LONG_DOUBLE. + + * optabs.c (expand_fix): Initialized REAL_VALUE_TYPE + confuses some compilers. - * rtl.h (fconst2_rtx, dconst2_rtx): Added extern declarations. + * cse.c (simplify_binary_operation): real_value_truncate + returns REAL_VALUE_TYPE. + Convert rtx_code into tree_code for argument to REAL_ARITHMETIC. + + * cse.c (simplify_unary_operation): Use new ..._RNDZINT macros + instead of casting value of REAL_VALUE_FIX_TRUNCATE + and REAL_VALUE_UNSIGNED_FIX_TRUNCATE. + + * explow.c (rtx_to_tree_code): New function. + + * rtl.h (rtx_to_tree_code): Declare. + + * m68k/m68k.c (standard_68881_constant_p): Initialize REAL_VALUE_TYPE + binary constants from decimal values. Use REAL_VALUE_... macros. + (standard_sun_fpa_constant_p): Likewise. + (print_operand, floating_exact_log2): Use REAL_VALUE_... macros. + (init_68881_table): New function. + + * m68k/m68k.h (LONG_DOUBLE_TYPE_SIZE): Set to 96, for XFmode support. + (ASM_OUTPUT_LONG_DOUBLE_OPERAND) New macro. + (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): Use REAL_VALUE_... macros. + (ASM_OUTPUT_DOUBLE_OPERAND): Likewise. + (ASM_OUTPUT_FLOAT_OPERAND): Likewise. Also, new argument CODE. + (ASM_OUTPUT_FLOAT): Delete special def for CROSS_COMPILE. + (ASM_OUTPUT_LONG_DOUBLE): New macro. + (PRINT_OPERAND_EXTRACT_FLOAT): Definitions deleted. + (PRINT_OPERAND_PRINT_FLOAT): Definitions deleted. + + * m68k/m68k.md (movxf, tstxf, extendsfxf2, extenddfxf2): New patterns. + (truncxfdf2, truncxfsf2, floatsixf2, floathixf2, floatqixf2): Likewise. + (ftruncxf2, fixxfqi2, fixxfhi2, fixxfsi2): Likewise. + (addxf3, subxf3, mulxf3, divxf3, negxf2, absxf2, sqrtxf2): Likewise. + + * m68k/sun3.h (FUNCTION_VALUE): Use FUNCTION_VALUEX. + (FUNCTION_VALUEX): New macro. + * m68k/mot3300.h, m68k/news.h (LIBCALL_VALUE): Handle XFmode. + + * m68k/mot3300.h, m68k/tower-as.h: + (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): Use REAL_VALUE... macros. + (PRINT_OPERAND): Likewise. + (ASM_OUTPUT_LONG_DOUBLE): New definition. + * m68k/news.h (PRINT_OPERAND, ASM_OUTPUT_DOUBLE): + Use REAL_VALUE... macros. + * m68k/next.h, m68k/sun2o4.h, m68k/sun3.h, m68k/altos3068.h: + (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE) + (ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND): + Use REAL_VALUE... macros. + * m68k/sgs.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE) + (ASM_OUTPUT_DOUBLE_OPERAND): Use REAL_VALUE... macros. + (ASM_OUTPUT_LONG_DOUBLE): New definition. + (ASM_OUTPUT_FLOAT_OPERAND): New macro. + (PRINT_OPERAND_PRINT_FLOAT): Deleted. + + * m68k/3b1.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): + Use new REAL_VALUE... macros. + (ASM_OUTPUT_LONG_DOUBLE): New definition. + + * m68k/hp320.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT) + (PRINT_OPERAND_FLOAT, PRINT_OPERAND): Use new REAL_VALUE... macros. + (ASM_OUTPUT_LONG_DOUBLE): New macro. + + * m68k/crds.h (ASM_OUTPUT_DOUBLE, PRINT_OPERAND): + Use new REAL_VALUE... macros. + + * vax.h (PRINT_OPERAND, ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): + Use new REAL_VALUE... macros. + (CHECK_FLOAT_VALUE): Call check_float_value. + * vax.c (check_float_value): New function. + + * vaxv.h (ASM_OUTPUT_DOUBLE): Use new REAL_VALUE... macros. + + * alpha.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): + Use new REAL_VALUE... macros. + (REAL_ARITHMETIC): Defined. + +Tue Mar 30 17:07:33 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + + For Tege: + * pa.md (sminsi3, smaxsi3): Fix bugs in last addition. + +Tue Mar 30 16:52:15 1993 Michael Meissner (meissner@osf.org) + + * mips.h (MIPS_VERSION): Bump Meissner version to 37. + (CLASS_MAX_NREGS): Make floats in gp registers only use one + register, and only allocate one float register instead of a + register pair if -mfloat64 is used. + +Tue Mar 30 05:40:26 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * combine.c (record_dead_and_set_regs): Record death of all + hard regs when a multi-reg object in hard regs dies. + (move_deaths): Handle the case when we only have to move + part of a multi-register death note. + * rtlanal.c (find_regno_note): Find note that overlaps REGNO, + not just one that mentions REGNO explicitly. + + * reload.c (form_sum): Use mode of inputs when making new PLUS. + + * genopinit.c: New file. + * expr.h (extendtab, fixtab, fixtrunctab, floattab, movstr_optab): + New definitions. + * expr.c (movstr_optab): No longer static. + (init_expr_once): Don't initialize movstr_optab. + * optabs.c (extendtab, fixtab, fixtrunctab, floattab): Not static. + (init_extends, init_fixtab, init_floattab): Deleted. + (init_optabs): Move active stuff from above functions in. + Delete filling of optabs. + Call init_all_optabs. + * reload1.c (init_reload): Don't initialize optabs here. + * Makefile.in (OBJS): Add insn-opinit.o. + (insn-opinit.o, insn-opinit.c, stamp-opinit): New rules. + (genopinit, genopinit.o): Likewise. + + * reload1.c (emit_reload_insns): Properly track what was reloaded + into what register when what we reloaded was a hard register group. + +Mon Mar 29 17:35:04 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + + * sparc.md (movsi+2): Add f/f constraint case. + + * sched.c (schedule_block): Reset n_ready if schedule_select + removes all insns from ready list. + + * i960.h (FUNCTION_PROFILER): Call output_function_profiler. + (CALL_USED_REGISTERS): Add more comments about register usage. + * i960.c (i960_function_prologue): When profiling, don't use those + registers clobbered around an mcount call. + (output_function_profiler): New function. + +Mon Mar 29 13:57:28 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * c-iterate.c (collect_iterators): Cast tree code to int for indexing. + +Mon Mar 29 06:28:57 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * combine.c (num_sign_bit_copies, case PLUS, case MULT): + Replace occurrences of HOST_BITS_PER_INT with HOST_BITS_PER_WIDE_INT. + + * reload.c (secondary_memlocs_elim): Now one per mode per operand. + (get_secondary_mem, combine_reloads): Reflect changed var above. + (clear_secondary_mem): Use bzero. + + * genrecog.c: Add prototypes for all functions defined in file. + Change a few occurrences of RTX_CODE to enum rtx_code for consistency. + (merge_trees): Add casts of args to mybcopy. + (write_tree_1): Now static. + (fatal): Always called with one arg, so define that way. + + * reload.h: Add missing declarations for external functions + in reload.c, reload1.c, and caller-save.c. + (reload_strict_low, reload_needed_for_multiple, reload_needed_for): + Deleted. + (reload_opnum): New array. + (enum reload_type): Renamed from reload_when_needed and expanded + to include more reload types. + (reload_n_operands): New variable. + * reload.c: Add prototypes for all static functions and clean up + some definitions. + (struct decompose): Move to before function declarations. + (secondary_memlocs_elim): One per operand, not per mode. + (get_secondary_mem): Accept and use reload description (opnum + and type). + (push_reload): Accept and use new reload description instead of + old NEEDED_FOR. + Define two new macros: MERGEABLE_RELOADS and MERGE_TO_OTHER. + Use these macros to see if reloads can be merged and how to do it. + (transfer_replacements): New function. + (combine_reloads): Refine when we can combine reloads. + (find_reloads): Use new method of tracking what a reload is for. + When we make a CLOBBER insn, do so with DImode. + Merge cases of making optional reloads, avoid making output-only + optional reloads, refine when we may not make in-out optional reloads, + and make an optional reload for a pair of matching operands. + (find_reloads_toplev, find_reloads_address{,_1, part}): Accept and + use reload description. + (forget_volatility): Delete long-obsolete function. + * reload1.c: Add prototypes for static functions. + (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Include default definitions. + (reload): Count number of registers needed for insn using new + reload type information. + If mode of insn is DImode, don't change it. + Refine the way we handle conflict with the return value register. + Don't try to account for needs already covered by previously + spilled registers; instead, put them back in the front of + potential_reload_regs and let them be allocated again. + (order_regs_for_reload): Don't restrict regs explicitly used if + we have SMALL_REGISTER_CLASSES defined. + (reload_as_needed): Don't need to deactivate optional reloads + ever; if they inherit, it must have been safe. + Call merge_assigned_reloads if SMALL_REGISTER_CLASSES. + (reload_reg_used_*): Refine our tracking of reload reg usage + by defining more of these HARD_REG_SETs. + (mark_reload_reg_in_use, reload_reg_free_p): Rework to use new + method of describing where a reload register is used. + (reload_reg_free_before_p, reload_reg_reaches_end_p): Likewise. + (allocate_reload_reg): Pass new reload descriptions. + (choose_reload_regs): Likewise. + Save and restore the new HARD_REG_SETs. + Remove now-redundant code to prevent conflicts. + (merge_assigned_reloads): New function. + (emit_reload_insns): Output each reload type into its own + sequence, then output the sequences in the proper order. + Put our output reloads after a CLOBBER made by find_reloads. + Pass ALL_REGS to find_equiv_regs; nothing special about + GENERAL_REGS. + Don't use an old equivalence if doing so would be more expensive. + Clean up tracking of values still in reload regs using reload + description info to see if the reload reaches the end of the insn. + (gen_input_reload): Pass reload description and emit insns to end of + current sequence. + (inc_for_reload): Return void; no longer need INSN as operand. + Emit insns to end of current sequence. + +Mon Mar 29 02:59:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * expr.c (expand_expr, case MAX_EXPR/MIN_EXPR): If mode is + multiword int, use do_jump_by_parts_greater_rtx to compare efficiently. + (do_jump_by_parts_greater_rtx): New function. + +Sun Mar 28 20:26:11 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * calls.c (expand_call): Always allocate TARGET in mode of + result expression; VALREG might have been promoted. + Ensure TARGET is a REG when checking for promotion and verify + that we get back the mode we expect. + +Sun Mar 28 18:49:12 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * c-decl.c (store_parm_decls): Use pedwarn for "promoted arg doesn't + match prototype" warning. + + * expr.c (expand_expr): For COMPONENT_REF, don't force_reg op0 + if it is BLKmode. + +Sun Mar 28 16:25:59 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + + * pa.md (smin, umin, smax, umax): New patterns. + + * Support nullification of conditional branch delay slots on + the PA. + + * pa.md (cbranch define_delay): Enable nullification of + conditional branch delay slots (based upon branch direction). + (conditional branch patterns): Call output_cbranch to get the + correct output template. Long conditional branches with an + annulled delay slot have a length of 3. + (branch on bit patterns): Call output_bb to get the correct + output template. Long branches with an annulled delay slot have + a length of 3. + (decrement and branch pattern): Handle nullification of long + backward branches. Such branches have lengths of either 3 or 6. + + * pa.c (output_cbranch): New function. Given the operands of the + branch, possible nullification, length of the branch, possible branch + negation, and the branch insn itself, return the output template for + the desired conditional branch. + (output_bb): Likewise, but for branch on bit. + + * pa.h (toplevel): Declare output_bb. + + * genattr.c (main): Output ATTR_FLAG masks. + + * rtl.def (ATTR_FLAG): New RTL code. + + * genattrtab.c (write_eligible_delay): Add new variable + "flags" to the generated functions. All callers changed. + (check_attr_test): Handle ATTR_FLAG. + (clear_struct_flag): Likewise. + (count_sub_rtxs): Likewise. + (write_test_expr): Likewise. + + * reorg.c (ANNUL_IFTRUE_SLOTS, ANNUL_IFFALSE_SLOTS): Add new + flags variable to these dummy macros. + (get_jump_flags): New function. + (optimize_skip): Get jump flags information from the delay insn. + (steal_delay_list_from_target): Get jump flags information from the + delay insn and the label of the trial jump. + (steal_delay_list_from_fallthrough): Get jump flags information + from the delay insn. + (try_merge_delay_insns): Likewise. + (fill_simple_delay_slots): Likewise. + (fill_slots_from_thread): Likewise. + (make_return_insn): Likewise. - * flags.h (flag_inhibit_size_directive): Declared. +Sun Mar 28 00:36:04 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) - * svr4.h (INT_ASM_OP, INIT_SECTION_ASM_OP): Moved around. - (ASCII_DATA_ASM_OP): Definition added. - (flag_inhibit_size_directive): Deleted superfluous extern decls. + * fixincludes: Move comments about big sed command outside the + command itself. - * Makefile.in: Correct number of expected shift/reduce conflicts - reported by bison for cp-parse.y. + * toplev.c (lang_options): Add -W{no-,}missing-braces. - * sparcv4.h: New file. + * c-typeck.c (process_init_constructor, digest_init): + Check and set new static var partial_bracket_mentioned. - * i860.h (FUNCTION_ARG_BOUNDARY): Added definition. - (sfmode_constant_to_ulong): Added extern declaration. + * c-lex.c: Updated for recent change in c-parse.gperf. - * i860.md (BTE/BTNE patterns): Changed all instances of - `(match_operand:SI 2 "zero_operand" "J")' to `(const_int 0)'. +Sat Mar 27 13:43:27 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * i860.md (load then BTE/BTNE patterns): Added 8 new patterns, - for cond branch on EQ/NE of a zero-extended memref with small integer. + * Trampoline support from Jukka Virtanen. + * pa.md (cacheflush): New pattern. + * pa.h (TRAMPOLINE_TEMPLATE): Define for the PA. + (TRAMPOLINE_SIZE): Define for the PA. + (INITIALIZE_TRAMPOLINE): Define for the PA. - * i860.md: 20 new patterns (involving BTE/BTNE) like existing 20 - but simplified so that the combiner will find them. +Sat Mar 27 08:22:25 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * i860.md (sfmode_constant_to_ulong, fconst2_rtx): Removed - superfluous nested extern declarations. + * function.c (expand_function_start): When evaluating sizes of + variable types, do so just for side-effects (the SAVE_EXPRs). + * stor-layout.c (variable_size): Likewise. -Wed Dec 18 15:39:46 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * va-alpha.h: Major rework to agree with new calling sequence. + Should have been installed with Feb 10th changes. - * va-i860.h (va_start for stdarg.h): Divide reg counts by 4. + * rs6000.md (mov[qhs]i): Allow moving a special reg to itself. - * stmt.c (emit_case_nodes): Fix typo, near testing cost_table. +Sat Mar 27 03:13:46 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) - * i860.h (CUMULATIVE_ARGS): Define a named struct, then use it. + * config/sparc/sparc.c (S_MODES, D_MODES, T_MODES): + Accept only those complex modes that are small enough. + Rewrite to make the expressions simpler. - * function.c (expand_function_start): Compute sizes in proper order. +Fri Mar 26 17:07:31 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * svr4.h (MD_STARTFILE_PREFIX): Defined. - (STANDARD_STARTFILE_PREFIX): Deleted. + * c-tree.h, output.h: Use STDIO_PROTO for prototypes with FILE. - * sparc.md (movstrsi): Disable if needs more than 32 insns. + * input.h: Add standard copyright notice. - * expr.c (store_expr): Handle copying too-short STRING_CST. + * caller-save.c: Add prototypes for static functions. + (choose_hard_reg_mode): Add missing parameters declaration. - * gstdarg.h (_VA_LIST): Handle this like _VA_LIST_. + * a29k.md (multiply/multiplu/mulm/mulmu insns): These clobber Q. - * m68k.h (LOCAL_LABEL_PREFIX): Remove the `L'. - Fix uses of %L by adding `L'. - * m68k.c (print_operand_address): Fix use of %L. - * m68k.md (movhi): Fix use of %L. They were inconsistent. +Fri Mar 26 06:23:31 1993 Tom Wood (wood@next.com) -Wed Dec 18 14:59:26 1991 Michael Meissner (meissner at osf.org) + * i960.h (FUNCTION_VALUE_REGNO_P): Change to agree with + FUNCTION_VALUE. + * pyr.h, spur.h (INCOMING_REGNO, OUTGOING_REGNO): Define. + * arm.md (untyped_call, blockage): New patterns. - * limits.h (whole file): Protect against inclusion. +Fri Mar 26 02:09:02 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) - * t-decrose (LIMITS_H): Don't install limits.h on OSF/1. - * t-encrose (LIMITS_H): Don't install limits.h on OSF/1. - * t-i386rose (LIMITS_H): Don't install limits.h on OSF/1. + * configure (sparc-tti-*, m68k-tti-*): Don't set use_collect2. - * x-decrose (SYSTEM_INCLUDES): Don't do -I/usr/include. - * x-encrose (SYSTEM_INCLUDES): Don't do -I/usr/include. - * x-i386rose (SYSTEM_INCLUDES): Don't do -I/usr/include. +Fri Mar 26 01:05:43 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Wed Dec 18 04:53:23 1991 Ken Raeburn (Raeburn@Cygnus.COM) + Cygnus<->FSF merge. - * cp-init.c (build_new): Rewrote some of the array-handling code. - Now stores the number of elements (after stripping off all outer - ARRAY_TYPE nodes) at the start of allocated storage, just before the - pointer the user's program sees. We also store the 2s compliment - value of the pointer returned so we can distinguish when deleting a - pointer whether it was "adjusted" or not. - (expand_vec_init): Added a type conversion for cases when the - address of an array gets passed in and we want to deal with the - elements. - (build_delete): Catch a case where deletion of arrays could slip - through. - (build_vec_delete): More array-handling rewrites. Extract the - stored value and use it as the number of objects to destroy; ignore - any value supplied by the user. + Thu Mar 25 18:19:19 1993 Mike Stump (mrs@cygnus.com) - * cp-init.c (init_vfields): Now static. + * cp-cvt.c (convert_to_reference), cp-init.c (expand_aggr_init_1): + Don't try to do more than one level of user defined conversions, + avoids an infinite loop. Uses LOOKUP_NO_CONVERSION. - * cp-tree.h (struct lang_decl_flags): Merged "dummy" fields. + Wed Mar 24 16:28:17 1993 Per Bothner (bothner@rtl.cygnus.com) - * cp-tree.h (DECL_TEMPLATE_INSTANTIATIONS): New macro for finding a - list of instantiations already made of a template. (Only - implemented for functions currently.) - * cp-tree.def (DECL_TEMPLATE_INSTANTIATIONS): Describe it. - * cp-pt.c (instantiate_template): Maintain and make use of it. + * cp-call.c (build_method_call): Fix handling of foo->~Class(). - * cp-pt.c (tsubst, case REFERENCE_TYPE): Call build_reference_type - instead of constructing the type here. + Sat Mar 20 12:29:37 1993 Michael Tiemann (tiemann@rtl.cygnus.com) -Wed Dec 18 03:37:46 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * cp-pt.c (tsubst): Don't get faked out by the fact that ctors and + dtors have the same method name and can have the same signature. - * c-parse.y (label_decl): Use identifiers_or_typenames. + Fri Mar 19 15:58:34 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * c-parse.y: Support FUNCTION ([ARGNAMES] DECLS) {...}. - (defn_parmlist_2, defn_parms): New nonterminals. - (identifiers_or_typenames): New nonterminal. - (parmlist_or_identifiers_1): Changed. - * c-decl.c (combine_parm_decls): New function. + * cp-pt.c (tsubst): Call build_decl_overload for the new + instantiation. -Tue Dec 17 22:18:43 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + Thu Mar 18 19:09:39 1993 Ken Raeburn (raeburn@cygnus.com) - * function.c (expand_main_function): Build SYMBOL_REF with Pmode, - not VOIDmode. + * cp-decl2.c (flag_implement_inlines): New variable. + (lang_f_options): Recognize "implement-inlines". + * toplev.c (lang_options): Recognize -f[no-]implement-inlines. + * cp-decl.c (flag_implement_inlines): Declare it. + (start_function): If it's clear, functions declared inline are + external under `#pragma implementation'. - * rs6000.h (HARD_REGNO_NREGS, CLASS_MAX_NREGS): FP regs can only hold - 64 bits, not any size FP value. + Tue Mar 2 16:24:39 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * reload1.c (reload): Remove variable old_caller_save_needed. - Call init_save_areas and setup_save_areas instead of - allocate_save_areas and elim_save_addrs. - * caller-save.c (init_caller_save): New function, from part of - allocate_save_areas. - (setup_save_areas): New function, from rest of allocate_save_areas - and elim_save_addrs. - When scanning pseudos to find hard regs that might need caller-save, - look at all parts of multi-word registers. + * cp-typeck.c (c_expand_return): If operand 0 is a TREE_LIST, then + make sure to use its value. - * flow.c (elim_reg_set): New variable. - (flow_analysis): Set it to contain those regs that we can eliminate. - (mark_used_regs): Don't set eliminable regs as live when they are used. + Mon Mar 1 14:22:12 1993 Bill Cox (bill@rtl.cygnus.com) - * global-alloc.c (global_alloc): Clear preferences with eliminable - regs, in addition to clearing conflicts. + * cp-decl.c (push_level_decl): Add cast to correct push_stack_level + parameter. - * reload.c (find_reloads_toplev): Abort instead of making - a SUBREG of a VOIDmode constant. + Mon Mar 1 10:19:38 1993 Mike Stump (mrs@cygnus.com) - * emit-rtl.c (copy_rtx_if_shared): SCRATCH may always be shared. + * cp-lex.c (do_identifier): Improve wording on error message. -Tue Dec 17 21:06:03 1991 Michael Meissner (meissner at osf.org) + Wed Feb 24 19:54:46 1993 Mike Stump (mrs@rtl.cygnus.com) - * mips.h (MIPS_VERSION): Bump MM version number to 5. - (processor_type): New enum to hold which type of - processor to schedule for. - (mips_cpu): New global to hold processor type. - (MASK_*, TARGET_*): Rearrange target bits, add bits to select - processor type, r4000 int/long/long long sizes. - (TARGET_SWITCHES): Delete redunant no options, only leave no- - version. - (CUMULATIVE_ARGS): Make this a structure, not a pointer to a - structure. - (INIT_CUMULATIVE_ARGS): CUMULATIVE_ARGS changes. - (FUNCTION_ARG_ADVANCE): Ditto. - (FUNCTION_ARG): Ditto. - (FUNCTION_ARG_PARTIAL_NREGS): Ditto. - (RTX_COSTS): Count simple memory refs as one instruction. - (REGISTER_MOVE_COST): Define as 4, to make sure constraints are - checked. - - * mips.md (hilo type attribute): Add hilo type attribute to - separate moves to/from the hi/lo registers with other register - transfers. - (move patterns): Set hilo attribute as appropriate. - (define_function_units): Update the integer and memory functional - units to include R4000 and R6000 processors, keyed off of the - -mr[46]000 switches. Add a new functional unit for transfering - stuff between register sets. - (mov{sf,df}_xfer*): Remove these patterns, as they are no longer - needed in GCC 2.00 to move between the different register sets, - and generate insn not found messages if used. - (movsi_ulw, movsi_usw): Correct test to see if stack loads are - aligned. Use UNITS_PER_WORD-1 instead of a hard coded 3. - (move define_expands): Delete move define_expands, since they are - illegal according to the documentation, and the bug they guard - against has long ago been fixed. - - * mips.c (mips_cpu): New global to hold processor type. - (override_options): Set mips_cpu, check for 64 bit r4000 switches - if processor not a r4000. - (init_cumulative_args): CUMULATIVE_ARGS changes. - (function_arg_advance): Ditto. - (function_arg): Ditto. - (function_arg_partial_nregs): Ditto. - (mips_output_filename): Except for first .file, don't emit any other - .file if encapsulating stabs in ECOFF, just put out stabs. This - confuses gdb. - (mips_output_lineno): Don't put out .loc's if encapulating stabs in - ECOFF. - (mips_asm_file_start): Put a .set nobopt for MIPS assembler to - work around bug where the assembler goes bonkers if a branch - inside of a .set noreorder section jumps to a label outside of a - .set noreorder section. This is supposed to be fixed in 2.20 of - the assembler. - (function_epilogue): Correctly emit nops with tabs and newlines if - needed. + * cp-typeck.c (commonparms, convert_for_assignment): Number + arguments starting at 1 in error messages to match the C front-end. - * decrose.h (OBJECT_FORMAT_ROSE): Define, to tell collect to - enable OSF/rose support, rather than use nm. + Wed Feb 24 14:55:54 1993 Mike Stump (mrs@cygnus.com) - * encrose.h (OBJECT_FORMAT_ROSE): Define, to tell collect to - enable OSF/rose support, rather than use nm. + * cp-search.c (saw_first_vbase): Deleted. + cp-search.c (dfs_walk): When walking the class lattice, use the last + virtual base class seen, not the first. Fixes major problem + introduced on Tue Oct 6 17:54:09 1992 that prevents multi-level + virtual base classes from working. - * i386rose.h (OBJECT_FORMAT_ROSE): Define, to tell collect to - enable OSF/rose support, rather than use nm. + Mon Feb 22 18:07:23 1993 Mike Stump (mrs@cygnus.com) - * t-decrose (EXTRA_PASSES): Build collect2 instead of collect-osf, - and link it to ld. + * cp-search.c (get_base_distance_recursive): When searching, if the + object refers to the same object as before, but just found along a + different path, the object is not ambiguous. Fixes problem + introduced on Feb 16 22:47:29 1993. - * t-encrose (EXTRA_PASSES): Build collect2 instead of collect-osf, - and link it to ld. + Wed Feb 17 15:12:12 1993 Mike Stump (mrs@cygnus.com) - * t-i386rose (EXTRA_PASSES): Build collect2 instead of collect-osf, - and link it to ld. + * cp-decl2.c (grok_function_init): Pure virtual descructor must be + defined, and calls to them generated. Now conforms with ANSI C++ + working paper dated September 17, 1992 12.4.5. - * x-decrose (DEBUG): Delete -g, since CFLAGS already passes it. - (GCC_CFLAGS): Define POSIX so we can build protoize. + Tue Feb 16 22:47:29 1993 Mike Stump (mrs@cygnus.com) - * x-encrose (DEBUG): Delete -g, since CFLAGS already passes it. - (GCC_CFLAGS): Define POSIX so we can build protoize. + Implement a new searching scheme for base classes and use it to + ensure only related virtual function slots are filled in by + modify_vtable_entries. Affects get_base_distance and get_binfo + answers. Cures InterViews doc problem. Solves the problem of + calling the wrong virtual function in the presence of multiple + inheritance. - * x-i386rose (DEBUG): Delete -g, since CFLAGS already passes it. - (GCC_CFLAGS): Define POSIX so we can build protoize. + * cp-search.c (get_binfo_recursive, get_base_distance_recursive): + New routines that use a depth first search strategy instead of + breadth first. + * cp-search.c (get_binfo): Re-implement, and use + get_binfo_recursive. + * cp-search.c (get_base_distance): Re-implement, and use + get_base_distance_recursive. + + * cp-class.c (related_vslot): New routine to ensure that only + vfields that are related to the given base_fndecl are modified. + Relies upon new searching scheme for base classes. + * cp-class.c (modify_vtable_entries): Use related_vslot to ensure + that only slots related to the base virtual function are filled in. + + * cp-class.c (build_vtable, prepare_fresh_vtable, finish_struct), + cp-tree.h: Remove DECL_VPARENT. + + * cp-class.c (get_vtable_entry): Use unsigned when dealing with + DECL_VINDEXes. + * cp-class.c (finish_struct): Use get_vtable_entry instead of open + coding that routine here. + + Fri Feb 12 10:24:52 1993 Brendan Kehoe (brendan@cygnus.com) + + * cp-decl.c (sigsegv): Check if SIGIOT is defined first. Also check + for SIGILL and SIGABRT. + (init_decl_processing): Likewise; set up handlers for SIGILL and + SIGABRT. - * t-decstatn (EXTRA_PASSES): Explicitly mention collect2. - (ld): Use $(SYMLINK) rather than just ln. + Thu Feb 11 10:30:59 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * t-mips (EXTRA_PASSES): Explicitly mention collect2. + * cp-type2.c (readonly_error): New arg `SOFT', to pedwarn instead of + error. + * cp-typeck.c, cp-cvt.c, cp-tree.h: Modify callers appropriately. - * collect2.c (whole file): Rewrite file based on collect-osf, to - make it more portable. Highlights include: running ld only once if - there are no constructors; OSF/rose support; not assuming that the - linker, assembler, nm live in /bin; -v support to trace the commands - being executed and print a version number; loops instead of - recursion used to write out the tables; support for user using -r; - checking all error returns; not using the shell to start processes. + Tue Feb 9 10:02:58 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * collect-osf.c (whole file): Deleted, merged into collect2.c. + * cp-lex.c (real_yylex): When parsing an exponent, check for 'e' and + 'E' explicitly. -Tue Dec 17 15:49:06 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * cp-typeck.c (build_unary_op): Disallow taking the address of + the `main' fn. + * cp-decl.c (grokdeclarator): Check for the length of ORIGINAL_NAME + being 4, and that it starts with 'm', before calling strcmp. - * sched.c (schedule_insns): Don't update value of reg_live_length - when it is negative, because negative values are special. + * cp-type2.c (readonly_warning_or_error): Rename to readonly_error, + make it now ARM compliant by emitting a hard error, instead of a + pedwarn. + * cp-cvt.c, cp-typeck.c: Change all callers. + * cp-tree.h (readonly_error): Rename prototype. - * sched.c (schedule_block): Make new_needs an int not an enum, since - some compilers won't accept using `|' and `&' with enums. + Sun Jan 31 09:58:16 1993 Niklas Hallqvist (niklas at della.appli.se) + + * cp-typeck.c (build_modify_expr): Accept taking the address of a + temporary generated by an explicit constructor call, but generate + a warning. - * sparc.md: Don't emit nop after floating point compare; this is - no longer needed. + Mon Feb 8 10:45:56 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - From Tom Wood: - * sched.c (memrefs_conflict_p): Exchange xsize and ysize when x - and y are exchanged. + * cp-decl.c (grokdeclarator): Demangle DECLARATOR if it's an operator. -Tue Dec 17 15:01:04 1991 Mark Eichin (eichin at cygnus.com) +Thu Mar 25 11:38:02 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) - * cp-decl.c (set_nested_typename): use SET_IDENTIFIER_TYPE_VALUE, - not set_identifier_type_value, so that the binding doesn't get - unwound by leaving class scope. + * cccp.c (do_include): + For "..." case, leave fend pointing at terminating 0. + Distinct error msgs for empty file name and for bad syntax. -Tue Dec 17 10:57:12 1991 Tom Wood (wood at dg-rtp.dg.com) + * Makefile.in (USER_H): Add va-clipper.h. - * toplev.c (main): Make -g0 produce no debugging information. +Thu Mar 25 07:01:14 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Dec 17 15:15:20 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * calls.c (store_one_arg): Fix typo in previous change. - * gcc.c (do_spec_1): In %P, duplicate the names with __ just in front. +Thu Mar 25 03:37:51 1993 Mike Stump (mrs@hal.gnu.ai.mit.edu) - * gstab.h: Renamed from stab.h. - * collect2.c, dbxout.c, final.c, mips-tfile.c: #include changed. - * dbxout.c (N_CATCH): Define this if stab.h does not. - * Makefile.in: Depend on gstab.h where appropriate. + * c-lang.c (lang_identify), cp-lex.c (lang_identify), objc-act.c + (lang_identify), tree.h (lang_identify): New routine. + * defaults.h (ASM_IDENTIFY_LANGUAGE) New macro used to identify + which front-end produced the object file. Ports that do not + define ASM_IDENTIFY_GCC will automatically get a reasonable + definition for ASM_IDENTIFY_LANGUAGE, ports that do define + ASM_IDENTIFY_GCC for any reason may want to define + ASM_IDENTIFY_LANGUAGE as done here. + * toplev.c (output_lang_identify): New routine to identify which + front-end produced the object file. + * toplev.c (compile_file): Use ASM_IDENTIFY_LANGUAGE if it exists. - * Makefile.in (STAGESTUFF): Remove collect and collect2. +Wed Mar 24 17:53:11 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) - * c-parse.y (parmlist_2): Allow just `...' with no named args. - * c-decl.c (get_parm_info): Pedantic warning for that usage. + * c-parse.gperf: Change __cimag__ to __imag__, __creal__ to __real__, + to void rejection by gperf. - * final.c (final_scan_insn): Don't output blocks for -g1. +Tue Mar 23 18:43:14 1993 Holger Teutsch (holger@hotbso.rhein-main.de) - * Makefile.in (crtbegin.o, crtend.o): Use -g0. + * clipper.md: Assign "fp" attribute to fp insns. Add DImode + insns for widening mul, shift and rotate. Remove 'decrement, test + and branch' combination patterns. They are not reloadable. - * function.c (expand_main_function): Do nothing if INIT_SECTION_ASM_OP. + * clipper.h (HARD_REGNO_MODE_OK): DImode regs must start on even + registers. - * varasm.c (assemble_asm): Handle ADDR_EXPR of a STRING_CST. - * stmt.c (expand_asm): Likewise. - * c-parse.y (extdef, stmt): Accept STRING_CST or ADDR_EXPR in asm. + * gstdarg.h, gvarargs.h: Use va-clipper.h. -Tue Dec 17 15:01:11 1991 Tom Wood (wood at dg-rtp.dg.com) + * config.sub: Default to clipper-intergraph if system is clix. + * configure (clipper-intergraph-clix*): New configuration. + * clipper.h, clipper.c, clipper.md: New files. + * x-clix, t-clix, xm-clix.h, clix.h: New files. - * m88k.h (INIT_SECTION_ASM_OP): Override svr[34].h. - * m88kv4.h (INIT_SECTION_ASM_OP): Override svr4.h and m88k.h. - * m88kdgux.h ({INIT,CTORS,DTORS}_SECTION_ASM_OP): Override m88k.h - except when compiling crtstuff.c. +Wed Mar 24 1993 18:54:51 Paul Eggert (eggert@twinsun.com) -Mon Dec 16 21:50:42 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * fixincludes (memory.h): + Use proper ANSI syntax in `#endif __memory_h__'. - * stmt.c (struct case_node): Remove unused field `test_label'. - (pushcase, pushcase_range): Don't initialize it. +Wed Mar 24 12:52:40 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * stmt.c (check_for_full_enumeration_handling): Only print warnings - if -Wswitch is specified. - (expand_end_case): Call check_for_full_enumeration_handling even if - -Wswitch is not specified. + * pa.md (sh[123]add): Collapse into a single pattern. + (sh[123]add for reload): Likewise. + * pa.c (shadd_operand): New function. + (print_operand): Handle '%O' for shadd patterns. - * expr.c (convert_move): Add missing arg to call to force_reg. - (convert_to_mode): Likewise, for protect_from_queue. +Wed Mar 24 08:03:31 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Mon Dec 16 20:33:10 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * rs6000.h (EXTRA_SECTION_FUNCTIONS, ASM_DECLARE_FUNCTION_NAME): + Don't output tab before .csect pseudo-op. - * expr.c (expand_builtin): Check number and types of args. +Wed Mar 24 02:01:14 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) - * c-parse.y (stmt, extdef): Allow constant expression inside plain asm. + * config/pyr/pyr.h (NO_DOT_IN_LABEL): Defined. - * m68k.md (movhi): Use asm_fprintf to print .set or equivalent. - * m68k.c (print_operand_address): Use %R when printing pc register. - * m68k.h (ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL): - Use %L. + * tree.c (stabilize_reference_1): For division and remainder, + make a save_expr. - * c-typeck.c, cp-typeck.c (c_sizeof): Give error for incomplete type. +Tue Mar 23 14:51:07 1993 Jim Wilson (wilson@geech.gnu.ai.mit.edu) -Mon Dec 16 11:14:28 1991 Ken Raeburn (Raeburn@Cygnus.COM) + * alpha.h, i386/sysv4.h, mips.h, rs6000.h (RETURN_IN_MEMORY): + Delete struct and union references. + * sparc.h (RETURN_IN_MEMORY): Update comment. + * h8300.h, 386bsd.h, linux.h, i386/mach.h, i386/osfrose.h, + i860/mach.h, i960.h, hp2bsd.h, hp3bsd.h, hp3bsd44.h, next.h, + sun3mach.h, m88k.h, ns32k/pc532-mach.h, pa-utahmach.h, pa1-utahmach.h, + rs6000/mach.h (DEFAULT_PCC_STRUCT_RETURN): Define to 0. + * toplev.c (DEFAULT_PCC_STRUCT_RETURN): Add default definition of 1. + (flag_pcc_struct_return): Default to DEFAULT_PCC_STRUCT_RETURN. + (f_options): Add -freg-struct-return flag. - * cp-decl.c (init_decl_processing): Don't declare unused function - __builtin_vec_delete. +Tue Mar 23 07:43:18 1993 Tom Wood (wood@next.com) -Mon Dec 16 08:35:04 1991 Torbjorn Granlund (tege at hal.gnu.ai.mit.edu) + * emit-rtl.c (push_topmost_sequence, pop_topmost_sequence): New + functions. + * expr.c (expand_builtin, BUILT_IN_SAVEREGS): Use these to put the + code at the start of the function, even when inside a sequence. - * gnulib2.c (__udivmoddi4): Add comment. + * tree.h (enum built_in_function): Add BUILT_IN_APPLY_ARGS, + BUILT_IN_APPLY, and BUILT_IN_RETURN. + * c-decl.c (init_decl_processing): Declare __builtin_apply_args, + __builtin_apply, and __builtin_return. + * function.h (struct function): Add apply_args_value field. + * expr.c (apply_args_value): New variable. + (init_expr, save_expr_status, restore_expr_status): Initialize, + save, and restore apply_args_value. + (expand_builtin): Implement new built-in functions. + (apply_args_mode, apply_result_mode): New variables. + (apply_args_size, apply_result_size, result_vector, + expand_builtin_apply_args, expand_builtin_apply, + expand_builtin_return): New functions. + (INCOMING_REGNO, OUTGOING_REGNO): Supply default definitions. + * sparc.h (INCOMING_REGNO, OUTGOING_REGNO): Define. + * sparc.md (untyped_call, untyped_return): New patterns. + * i386.h (APPLY_RESULT_SIZE): Define. + * i386.md (untyped_call, untyped_return): New patterns. + * m68k/isi.h, m68k/m68k.h, m68k/m68kv4.h, m68k/mot3300.h + (NEEDS_UNTYPED_CALL): Define. + * m68k.md, fx80.md, gmicro.md, i860,md, ns32k.md + (untyped_call, blockage): New patterns. + * mips.md (untyped_call): New pattern. + +Tue Mar 23 06:38:36 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * calls.c (store_one_arg): Use int_size_in_bytes and + expr_size when appropriate instead of size_in_bytes. + + * regclass.c (record_reg_classes): When an alternative requires + a match, but we do it with a copy into a register, that alternative + wins. + + * cse.c (CHEAP_REG): Add missing parens. + + * expr.h: Don't declare fns that use "tree" if tree.h not included. + (emit_call_1): Remove decl. + (promoted_input_arg): Add prototype. + (fix_lexical_addr): Remove duplicate decl. + (copy_function_value, expand_stmt_expr): Delete; no such functions. + * calls.c: Include gvarargs.h. + Add prototypes to forward declarations and declare static functions. + (emit_call_1): Now static. + (emit_library_call, emit_library_call_value): Move to here. + * expr.c: Don't include gvarargs.h. + (emit_library_call, emit_library_call_value): Delete from here. + * Makefile.in (expr.o): Doesn't include gvarargs.h. + (calls.o): Now includes gvarargs.h. + + * dbxout.c (dbxout_type): Use int_size_in_bytes instead of + size_in_bytes for consistency with other code. + + * calls.c (expand_call): Use expr_size instead of doing it ourself. + +Mon Mar 22 19:15:17 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) + + * function.c (fixup_var_refs_insns): Don't delete an insn copying + var to itself, if it's the end of a libcall group. + +Mon Mar 22 15:28:48 1993 Paul Eggert (eggert@twinsun.com) + + * fixincludes: Use `set x $y; shift', not `set - $y', to avoid + altering sh options. Fix `#endif foo' constructions. Clean up + all DONE files. + +Mon Mar 22 17:02:58 1993 Doug Evans (dje@canuck.cygnus.com) + + * expr.h (MUST_PASS_IN_STACK): Make machine parameter. -Mon Dec 16 07:47:13 1991 Michael Tiemann (tiemann at cygnus.com) +Mon Mar 22 01:38:41 1993 James Van Artsdalen (james at bigtex.cactus.org) - * cp-call.c (ideal_candidate): Always set BEST before using it. - Also, call `build_component_ref_1' with 3 args everywhere, and - `build_indirect_ref' with 2 args everywhere. + * reload1.c (eliminate_regs): Eliminate regs within a CLOBBER. -Mon Dec 16 07:17:46 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * emit-rtl.c (init_emit): Use INIT_EXPANDERS. - * reload.h: Add `extern' to function declarations. - (gen_input_reload): Add declaration. - * reload1.c (reload): Allocate save area if caller-saves are needed; - check for case when it becomes needed after some spill registers are - obtained. - Can now eliminate frame pointer even when caller-saves are needed. - Perform register elimination of save area and see if caller-save needs - a spill register. - If required, find a spill register and pass it to caller-save code. - (gen_input_reload): No longer static. - * Makefile.in (caller-save.o): Now includes reload.h (again). - * global-alloc.c (global_alloc): Can eliminate frame pointer even if - we have caller-saves. - * toplev.c (compile_file): Call init_caller_saves. + * i386.c (output_fix_trunc): Use MEMs in insn as stack temps. + No need to allocate & deallocate stack space on the fly. - * caller-save.c: Major rewrite; almost entirely new code. - Integrate caller-saving with frame pointer elimination. - Don't try to save and restore registers that cannot be directly - copied to memory (such as MQ). - Correctly place save and restore insns. - Don't restore a saved register until end of block or if it is needed. - - * cse.c (mention_regs): Now returns int to indicate that the hash code - may have changed. - For COMPARE and comparison op, ensure that any register operand has - a quantity number. - (insert_regs): Return value from mention_regs. - (rehash_using_reg): New function. - (record_jump_equiv, mention_regs): Call rehash_using_reg if an operand - of a compare is a REG whose hash code is changing. - -Mon Dec 16 07:09:21 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * function.c (expand_main_function): New subroutine. Call __main. - * c-decl.c, cp-decl.c (store_parm_decls): Use that. - * cp-decl.c (init_decl_processing): Don't declare __main. - - * objc-actions.c (init_objc): Call __objcInit as a constructor. - - * toplev.c (compile_file): Reenable SDB code #if 0'd before. - - * protoize.c (version_string): Make it extern. - * Makefile.in (protoize, unprotoize): Link with version.o. - -Sun Dec 15 23:31:47 1991 Michael Tiemann (tiemann at cygnus.com) - - * cp-tree.c (virtual_member): When recurring, don't dive into - nonexistent baseclasses. - - * cp-decl.c (grokdeclarator): Set TREE_STATIC for initialized const - arrays. - * cp-typeck.c (mark_addressable): A decl that was TREE_STATIC might - be chagned to TREE_EXTERNAL due to #pragma interface/implementation. - -Sun Dec 15 14:57:23 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * Makefile.in (SYSCALLS.c.X): Fix typo. - (INTERNAL_CFLAGS): Delete -DMERGED. - - * dbxout.c (dbxout_init): Pass proper args to ASM_OUTPUT_MAIN_*. - * newpbb.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Add proper arguments. - - * stmt.c (emit_case_nodes): Rewrite to change induction conditions. - Handle boundedness in the bounded node itself. - Handle branching entirely at the parent level. - - * gstdarg.h: Use va-i860.h. - * va-i860.h (va_start for ANSI): Fix typo. Call __builtin_next_arg. - -Sat Dec 14 20:45:30 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * Makefile.in (USER_H): va-hp9k8.h should be va-hp800.h. - - * loop.c (invariant_p): Call-clobbered register is not invariant if - loop has calls. - (count_loop_regs_set): Count a CLOBBER as a setting of a register. - - * stmt.c: Move include of ctype.h and definition of cost variables to - front of file. - (expand_end_case): Always set use_cost_table. Check type here instead - of in estimate_case_costs. Don't suppress use of cost table when - not optimizing. - (estimate_case_costs): Now returns int. Check for any case tag - that is an unusual control character here and reject use of table - if so. Always do comparisons signed, since that's how we access the - cost table. - (balance_case_nodes): Don't check for strange control characters here. - (node_has_low_bound): Do checking if we don't have a left branch, - instead of if we do. - (node_has_{low,high}_bound): Remove spurious checks on branches. - (emit_case_nodes): Ensure operation passed to emit_cmp_insn matches - the branch we actually emit. - Fix case of a range node with no left or right branch; use of case - and default label were backward for the high test. - Remove unused variables defaulted_{left,right}. - -Sat Dec 14 16:10:11 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * protoize.c: Don't include limits.h. - Rename `pathname' to `filename' everywhere. - Clean up indentation of fprintf calls. - Use standard GNU format for file name/line in error messages. - (n_base_source_files): Renamed from base_source_files. - (convert_filename, invocation_filename, base_source_filenames): - `path' renamed to `filename'. - (syscalls_absolute_filename): Renamed from syscalls_pathname. - (find_file): Arg FILENAME no longer const. - (main): Fix getcwd error-checking logic. - (varargs_style_indicator): Delete `const'. - (savestring): Declare arg `input' const. - - * Makefile.in (protoize, protoize.o, unprotoize, unprotoize.o): - Use GCC_FOR_TARGET. - (getopt.o, getopt1.o): Likewise. - (GCC_FOR_TARGET): Delete -B./. - (GCC_CFLAGS): Add -B./. Copy ALL_CFLAGS's definition, less XCFLAGS. + (clear_386_stack_locals): New function. + (assign_386_stack_local): New function. - * cp-init.c (add_friends): Pass proper args to strncmp. + * i386.h (PREFERRED_RELOAD_CLASS): Only narrow MODE_FLOAT reloads + from ALL_REGS to GENERAL_REGS. + (PREFERRED_OUTPUT_RELOAD_CLASS): Deleted. - * toplev.c (compile_file): Clear DECL_RTL for vars not really output. - #if 0 possibly redundant code for SDB output. + (INIT_EXPANDERS): New macro. - * sys-types.h: Include gstddef.h to get size_t and wchar_t. + * i386.md (movsf,movdf): Use an input reload for MEM-MEM moves. + (extendsfdf2): Don't allow GENERAL_REGS in any operand. - * ultrix.h (CPP_PREDEFINED): Add __unix, __ultrix, __bsd4_2. + (truncdfsf2): Allocate a stack temp in expander. + Use that in the output function. + (fix_truncMN2,fixuns_truncMN2): Likewise. + Allocate scratch reg from Q_REGS. - * Makefile.in (STAGESTUFF): Add collect, collect2. +Sun Mar 21 17:24:09 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sat Dec 14 12:16:12 1991 Michael Tiemann (tiemann at cygnus.com) + * toplev.c (compile_file): If warning about a function + declared static but not defined, make the function extern. - * cp-search.c (get_baselinks): Use obstacks right, instead of - aborting when we know we're using them wrong. + * cccp.c (collect_expansion): Don't make # special in argless macro. - * cp-parse.y (structsp): Fix typo in exception declaration rule. + * toplev.c (incomplete_decl_finalize_hook): New variable. + (compile_file): Call incomplete_decl_finalize_hook. + * c-decl.c (init_decl_processing): Set that var. + (finish_incomplete_decl): New function. + (complete_array_type): Use 0 as default maxindex. + * tree.h (incomplete_decl_finalize_hook): Declared. - * cp-typeck.c (build_modify_expr_1): Recursive call to - `build_modify_expr_1' used pre-BINFO representation for - BASETYPE_PATH argument. +Sun Mar 21 16:30:22 1993 Michael Meissner (meissner@osf.org) - * cp-decl.c (start_decl): Don't switch to temporary allocation for - decls of type REFERENCE_TYPE, as their initializers may live a long - time, too. + * t-osfrose (CONFIG2_H): Change include file name to osfrose.h. -Sat Dec 14 07:11:03 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * halfpic.h (prototype support): Fix recent changes for + prototypes, so it compiles again. - * reload.c (find_reloads_toplev): If we have a SUBREG of a multi-word - constant, try to extract just the word we want. + * configure (ns32k-encore-osf): Delete, last ns32k OSF/rose + machine turned off. - * global-alloc.c (global_alloc): Correct reference to ELIMINABLES. + * encrose.h, x-encrose, t-encrose: Delete, no longer used. -Fri Dec 13 15:28:38 1991 Michael Meissner (meissner at osf.org) +Sun Mar 21 16:20:04 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * configure (mips-mips-sysv): On MIPS System V, use xm-umips.h, not - xm-mips.h. + * integrate.c (copy_rtx_and_substitute, case USE): + Don't remove a subreg if ORIG had one. - * gstddef.h (__PTRDIFF_TYPE__): Provide default definition in case - non-GCC 2.00 compiler is used. - (__SIZE_TYPE__): Ditto. - (__WCHAR_TYPE__): Ditto. +Sun Mar 21 01:50:07 1993 Pat Rankin (rankin@eql.caltech.edu) -Fri Dec 13 14:49:54 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * c-common.c: #include "obstack.h". + * config/vax/xm-vms.h [VAXC]: Work around stdio.h's FILE_TYPE. + * vmsconfig.com: When making tm.h from config/vax/vms.h, change + any #include "vax/*.h" directives to use native VMS file syntax. - * config.sub: Renamed from config.subr. - Support os -sym1. - Convert -svr3, -svr4 to -sysv3, -sysv4. - * configure: Used new name. +Sat Mar 20 22:46:31 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * Makefile.in (includes): Preserve files from GCC already in dir. + * pa.h (INSN_SETS_ARE_DELAYED): Define for the PA. Sets and + clobbers that occur in millicode insns are delayed effects. + (INSN_REFERENCES_ARE_DELAYED): Likewise, but for operand references + occuring in millicode insns. + * reorg.c (mark_referenced_resources): Parameter + include_called_routine changed to include_delayed_effects. All + references changed. + (mark_set_resources): Likewise. + (insn_references_resource_p): Likewise. + (insn_sets_resource_p): Likewise. + (mark_referenced_resources, case INSN): Do not mark any resources + as referenced if we are not including delayed effects, and the + given insn has delayed effects. + (mark_set_resources): Likewise for resources which are set/clobbered. + (fill_simple_delay_slots): Include delayed effects for the delay insn + if we are searching after the delay insn for candiates. + (dbr_schedule): When initializing `end_of_function_needs' include + delayed effects. -Fri Dec 13 11:01:12 1991 Fred Fish (fnf at fishpond) +Sat Mar 20 18:54:46 1993 Michael Meissner (meissner@osf.org) - * att386.h: Fix unparenthesized macro arguments in - ASM_OUTPUT_ASCII macro. + * mips.h (TARGET_SWITCHES): Or in TARGET_CPU_DEFAULT for default + case. + (TARGET_CPU_DEFAULT): Default to 0. - * i386v4.h: Select an assembly language syntax file and include - it. Supply missing macros from ones in i386v.h (TARGET_DEFAULT, - VALUE_REGNO, FUNCTION_VALUE_REGNO_P). +Sat Mar 20 14:52:26 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * svr4.h: Fix misspelled variable name labelno (was labeno). + * pa.h (singlemove_string): Declare. -Fri Dec 13 09:07:22 1991 Michael Tiemann (tiemann at cygnus.com) + * configure: Add support for 4.4BSD on hp300s. + * hp3bsd44.h, x-hp3bsd44.h: New files for 4.4BSD on hp300s - * cp-typeck.c (build_component_ref): Call `assemble_external' as - nec. - (build_function_call_real): Call `assemble_external' as nec. for - function calls we build. Code slightly rearranged for clarity. - * cp-call.c (build_method_call): Call `assemble_external' as nec. + * pa.md (conditional branch patterns): Clean up constraints. -Thu Dec 12 22:03:52 1991 Eric Youngdale (youngdale at v6550c.nrl.navy.mil) + * pa.md (shadd reload patterns): Clean up output templates. - * make-cc1.com: Change message given to user. Change c-parse_tab.* - to c-parse.* +Sat Mar 20 11:23:15 1993 Torbjorn Granlund (tege@gnu.ai.mit.edu) - * config-gcc.com: Purge excess versions of version.opt. + * expmed.c (init_expmed): Fix typo in last change. -Thu Dec 12 20:25:20 1991 Michael Meissner (meissner at osf.org) +Sat Mar 20 07:11:54 1993 Richard Kenner (kenner@apple-gunkies.gnu.ai.mit.edu) - * Makefile.in (BOOT_CFLAGS): Remove quotes around the argument, - since this causes a syntax error when it is later expanded. + * expr.c (get_inner_reference): Simplify code by initializing OFFSET + to integer_zero_node. + Do general index computation for ARRAY_REF and include lower bound + of domain in calculation. + (expand_expr, case ARRAY_REF): Include lower-bound in index + computation. -Thu Dec 12 17:53:55 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * fold-const.c (fold, case PLUS_EXPR): Don't associate apart + a constant operand. - * config.subr: Add many new machines and some OS's. + * combine.c (make_compound_operation): Call recursively in the + cases where we find a simplification. + (make_compound_operation, case SUBREG): If the recursive call + changes the rtx code and this is an appropriate SUBREG, use + force_to_mode. - * va-i860.h: Rewrite from rfg. +Sat Mar 20 03:16:52 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) - * toplev.c (main): Handle -dm on USG systems. + * print-tree.c (print_node): Print the chain of a STRING_CST. - * m68k.c (print_operand, print_operand_address): New functions. - * m68k.h (PRINT_OPERAND, PRINT_OPERAND_ADDRESS): Just call them. + * c-lex.c (yylex): Copy the string value we get from __FUNCTION__. - * m68k.c (S_*, D_*): Delete the #undefs at the end. +Fri Mar 19 21:06:41 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * stmt.c (expand_return): Special case if fcn returns void. + * expr.h: Correct partly nested comment. - * objc-actions.c (build_objc_method_call): Fix typo in NeXT case. - - * expr.c (expand_builtin, BUILT_IN_ARGS_INFO): Cast init of word_ptr. - - * protoize.c: Delete the `extern "C"' for C++ compilation. - -Thu Dec 12 10:01:13 1991 Michael Meissner (meissner at osf.org) - - * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Fix off by one error in - handling the constructor list when a valid count is supplied. - - * collect2.c (write_hooks): Emit a count before the list of - constructors, to go back to the old format. - - * collect-osf.c (write_s_file): Emit a count before the list of - constructors, to go back to the old format. - - * gnulib2.c (exit): Provide default defintions as bss symbols for - all of the constructor/destructor related symbols if the macro - INIT_SECTION_ASM_OP is not defined. The second link that collect - does and/or gld will provide the right values. - - * decrose.h (HAVE_ATEXIT): Nuke macro, no longer used. - * encrose.h (HAVE_ATEXIT): Nuke macro, no longer used. - * i386rose.h (HAVE_ATEXIT): Nuke macro, no longer used. - -Thu Dec 12 07:27:05 1991 Tom Wood (wood at dg-rtp.dg.com) - - * gbl-ctors.h (__CTOR_LIST__, __DTOR_LIST__): Renamed from *_BEGIN__. - * collect-osf.c collect2.c: Rename here as well. - -Thu Dec 12 04:15:22 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * c-parse.y (stmt): Make asm alternatives allow expr. - * c-typeck.c (c_expand_asm_operands): Get the STRING_CST from the expr. - - * c-parse.y (datadecl, datadecls, lineno_datadecl): New rules. - (xdecls): Use them. - -Wed Dec 11 18:36:53 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Just one definition; use ON_EXIT. - Test for -1 and handle both kinds of table format. - * gnulib2.c (__do_global_dtors): Check for -1... - (__do_global_ctors): Dummy defn of ON_EXIT if no other defined. - (__main): Do nothing if called again. - (exit): Use EXIT_BODY if defined. - * crtstuff.c (__CTOR_LIST__, __DTOR_LIST__): - Renamed from *_BEGIN__. Add -1 as first elt. - (__CTOR_END__, __DTOR_END__): Add 0 as last elt. - (ON_EXIT): Dummy defn if no other is defined. - -Wed Dec 11 18:08:36 1991 Mark Eichin (eichin at cygnus.com) - - * cp-parse.y (template_parm): removed some reduce/reduce conflicts - by noting which of identifier or identifier_defn would actually be - passed up in this context. - -Wed Dec 11 17:52:46 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * flow.c (propagate_block): Adjust loop depth if it is changed in - notes at the end of a block. - Abort if loop depth ever reaches zero. - -Wed Dec 11 16:30:09 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * cccp.c (do_endif): Don't call record_control_macro at top level. - -Wed Dec 11 14:45:42 1991 Mark Eichin (eichin at cygnus.com) - - * cp-decl.c (set_identifier_type_value): If we're in a - class_binding_level, shadow the type there. - (xref_defn_tag): New function. Calls xref_tag with special flag set - to indicate that we know we're defining something. - (pushdecl_top_level): if class_binding_level is set, search from it - instead of only from current_binding_level when trying to find - shadowed values. This is in support of tests m5.cc through m8.cc, - which broke after the changes for m9.cc were installed. - - * cp-spew.c (do_aggr): New function. Looks ahead from AGGR to see if - we have AGGR identifier { or AGGR identifier : which are both - definitions, and passes up identifier_DEFN instead. This is in - support of test m9.cc. - (yylex): add SPEW_DEBUG case after EMPTY, so we don't have gaps in - the displayed stream. - (yylex, case AGGR): added call to do_aggr. - (debug_yychar): added call to debug_yytranslate for proper - translations. - - * cp-parse.y (debug_yytranslate): New function to support SPEW_DEBUG - translations. - (TYPENAME_DEFN): new token, TYPENAME seen by do_aggr. - (IDENTIFIER_DEFN): new token, ditto. - (PTYPENAME_DEFN): new token, ditto. - (identifier_defn): corresponds to identifier, but when the - identifier has been seen by do_aggr. - (named_class_head_sans_basetype_defn): specially recognize aggr - identifier_defn. - (named_class_head): add parallel clauses calling xref_tag_defn when - we know we're defining this aggr. - (named_class_head_sans_basetype_defn_either): for when we don't care - if it is a defn or not (such as templates) - (identifier_either): ditto. - - * cp-tree.h (xref_defn_tag): New declaration. + From Bill Cox (bill@cygnus.com): + * cp-decl.c (push_level_decl): Add cast to correct push_stack_level + parameter. + * cse.c (cse_process_notes): Replace NULL_RTX with just zero. + * function.h, halfpic.h, integrate.h, loop.h, machmode.h, output.h, + recog.h, reload.h, stack.h: Add prototypes. + * genattr.c (gen_attr): Generate prototypes in header file. + + * xcoffout.h (DEBUG_SYMS_TEXT): Define. + * xcoffout.c (xcoffout_declare_function): Call dbxout_source_file + before emitting .function psuedo-op. -Wed Dec 11 12:37:51 1991 Ken Raeburn (Raeburn@Cygnus.COM) +Fri Mar 19 17:45:13 1993 Michael Meissner (meissner@osf.org) - * cp-parse.y (label_colon): New nonterminal, with all label prefixes - from "stmt" moved here. - (stmt): Use it. Also provide useful message for label followed by - end of block (close-brace). + * mips.h (MIPS_VERSION): Bump Meissner version to 36. + (TARGET macros): Move this section to be earlier than + ASM_FINAL_SPEC. + (ASM_FINAL_SPEC): If configured with --with-gnu-as or as a cross + compiler, do not run mips-tfile unless -mmips-as is used. - * cp-init.c (BIVN): Deleted unused variable. - * cp-decl.c (init_decl_processing): Don't declare function - __builtin_vec_new; it's never used. + * configure (target_cpu_default): Set to 16 when configuring a + MIPS using the GNU assembler. -Wed Dec 11 10:59:48 1991 Michael Meissner (meissner at osf.org) +Fri Mar 19 06:27:34 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * toplev.c (main): Complete last change from RMS, use variable - 'level' which used to be named 'arg'. + * expmed.c (synth_mult): Don't try to make recursive call if + we would be shifting by a negative number. + (expand_mult): Don't negate VAL if it is negative. - * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Don't reference ON_EXIT for - those poor systems without atexit or on_exit. + * cse.c (simplify_plus_minus): Count CONSTs coming in and going + out; we have simplified things if we have more CONSTs going out + even if we have the same number of total terms. -Wed Dec 11 09:06:52 1991 Jeffrey A. Law (law at wombat.gnu.ai.mit.edu) + * expmed.c (zero_cost): New variable. + (init_expmed): Always pass some insn to recog. + Set shift_cost[0], shiftadd_cost[0] and shiftsub_cost[0] to + something reasonable. + Compute zero_cost. + (enum alg_code): Remove alg_none; add alg_zero and alg_m. + (struct algorithm): Rename field COEFF to LOG. + (synth_mult): Use new ops alg_zero and alg_m for multiplication by + zero and one, respectively. + Use MIN when helpful. + Be consistent and don't test cost before recursive call. + Don't special-case shift counts of zero; already handled elsewhere. + (expand_mult): First operation is always alg_zero or alg_m; + remaining operations can't be one of those. + Use proper subtargets for computations. + Remove special-cases for shift counts of zero. + Track value computed so far and make REG_EQUAL notes. - * m68k.c (output_function_prologue, output_function_epilogue): - When saving/restoring only 2 registers, do so with two "movel" - instructions instead of a single "moveml". This results in - faster code for the 68020 and later machines. +Fri Mar 19 01:37:54 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) -Wed Dec 11 06:45:08 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * c-typeck.c (digest_init): Typo in last change. + (initializer_constant_valid_p): Handle COMPLEX_CST. - * x-romp (MAKE): Add definition; the supplied `make' doesn't define it. + * expr.c (expand_assignment): Pass to_rtx's mode to expand_expr + when assigning a result_decl. + (expand_expr): For ERROR_MARK, give back 0 in TMODE if possible. -Tue Dec 10 22:17:50 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * calls.c (emit_call_1): Don't defer pops in const call. - * combine.c (try_combine): Always make a copy of I2's pattern if - it will be used in a PARALLEL (`added_sets_2' nonzero). +Thu Mar 18 17:02:24 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * Makefile.in (BOOT_CFLAGS): New parameter. - (bootstrap*): Use it. + * c-decl.c (current_function_prototype_file, + current_function_prototype_line): New variables. + (start_function): Set them. + (store_parm_decls): Use them for error and warning messages. - * flow.c (find_basic_blocks): Set depth of last insn, not first, - into basic_block_loop_depth. - (propagate_blocks): Use consistently with new definition. +Thu Mar 18 21:28:43 1993 Paul Eggert (eggert@twinsun.com) - * cse.c (cse_end_of_basic_block, cse_basic_block): Remove previous - change; it can cause loops following around branches. + * optabs.c (expand_float): When converting an unsigned type U + to a smaller or equal-sized floating type F where there's no + hardware support for unsigned-to-float conversion, use a temporary + floating type larger than F if possible, since this avoids + rounding problems that are worst when U is just greater than + the maximum signed integer of the same size. - * Makefile.in (USER_H): Add va-hp9k8.h. +Thu Mar 18 16:16:21 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) -Tue Dec 10 17:22:01 1991 Tom Wood (wood at dg-rtp.dg.com) + * c-typeck.c (digest_init): Handle COMPLEX_TYPE like other scalars. - * m88k*.h: Include svr3.h as the default. m88kv4.h and m88kdgux.h - include svr4.h. Override svr[34].h as needed. - * t-m88k, t-m88kv4: Specify EXTRA_PARTS. + * c-parse.in (REALPART, IMAGPART): New token types. + (unary_expr): Handle REALPART, IMAGPART. - * m88k.c (uses_arg_area_p): Check current_function_varargs. + * expr.c (expand_expr): Don't ensure ref to a volatile value + if it is a function. -Tue Dec 10 15:41:03 1991 Michael Meissner (meissner at osf.org) + * c-parse.gperf: Add __cimag, __cimag__, __creal, __creal__. - * osf-main.c (whole file): Delete, since the constructor stuff was - moved to gnulib2.c. + * collect2.c (output_file): New static var. + (main): Set output_file. + (my_exit): Delete output_file on failure. - * Makefile.in (collect2, collect2.o): Change to use the default - compiler to build collect2, instead of the newly built GCC, since - otherwise, collect2 will create a circular dependency. Also, pass - LDFLAGS when linking. +Thu Mar 18 12:39:06 1993 Doug Evans (dje@canuck.cygnus.com) - * collect-osf.c (write_s_file): Change to the new way of doing - constructors and destructors of having an end marker instead of a - count. + * function.c (assign_parms): Minor cleanup. + * calls.c (expand_call): Fix bug (don't clobber bitpos). - * collect.c (REAL_AS_PATH, REAL_LD_PATH, REAL_NM_PATH): New macros - to allow cross compilers to specify where the real linker, - assembler, and nm live. - (NM_FLAGS): New macro to allow a configuration to change what flags - get passed to nm. - (alloca defines): Remove alloca defines, since config.h provides - them. - (write_hooks): Change to the new way of doing constructors and - destructors of having an end marker instead of a count. Cast all - alloca calls to be the appropriate pointer type. Put both - constructors and destructors into the data section, because the MIPS - tools do not like non-instructions in the .text section. +Thu Mar 18 00:08:40 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * decrose.h (HAVE_ATEXIT): Define, OSF/1 has atexit. - (FULL_PROTOTYPES, NO_CONST_IN_SYSCALL): Remove, no longer used. + * config/vax/vms.h (PCC_STATIC_STRUCT_RETURN): Add #undef. - * encrose.h (HAVE_ATEXIT): Define, OSF/1 has atexit. - (FULL_PROTOTYPES): Remove, no longer used. +Wed Mar 17 17:28:17 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * i386rose.h (HAVE_ATEXIT): Define, OSF/1 has atexit. + * pa.md (pre_ldwm, pre_stwm): Name these patterns to make + generating them easier. + (post_ldwm, post_stwm): New patterns. + (add_high_const): New pattern. + (return): New pattern. + * pa.c (post_cint_operand): New function. + (hppa_can_use_return_insn_p): New function. - * t-decrose (LIB2FUNCS_EXTRA): Remove, osf-main.c is no longer - needed, since constructor/destructor support moved into gnulib2.c. +Wed Mar 17 17:24:29 1993 Michael Meissner (meissner@osf.org) - * t-encrose (LIB2FUNCS_EXTRA): Remove, osf-main.c is no longer - needed, since constructor/destructor support moved into gnulib2.c. + * mips.h (MIPS_VERSION): Bump Meissner version to 35. + (TARGET_SWITCHES): Add -mlong-calls, delete -mwc* switches. - * t-i386rose (LIB2FUNCS_EXTRA): Remove, osf-main.c is no longer - needed, since constructor/destructor support moved into gnulib2.c. + * mips.md (call insns & expanders): If -mlong-calls, require + function address to be in a register. - * t-decstatn (CCLIBFLAGS, GNULIB2_CFLAGS): Define so that gnulib1 - and gnulib2 are both compiled with -G 0, in case the users compiles - and links this way. It also fixes a bug where the constructors and - destructors that collect2 produces are in the big data section, but - gnulib2 thinks they are in the small data section, because it only - sees a pointer. - (ld): Add -f to remove old ld link to collect2, if it exists. + * x-iris (OLDCC): Iris now needs -Wf,-XNh1500 as well. - * t-mips (CCLIBFLAGS, GNULIB2_CFLAGS): Define so that gnulib1 - and gnulib2 are both compiled with -G 0, in case the users compiles - and links this way. It also fixes a bug where the constructors and - destructors that collect2 produces are in the big data section, but - gnulib2 thinks they are in the small data section, because it only - sees a pointer. - (ld): Add rule to link collect2 to ld. - (EXTRA_PASSES): Build collect2 (aka ld). +Wed Mar 17 16:00:29 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * xm-mips.h (alloca): If not GNU C, declare alloca to be char *. + * pa.h (IS_RELOADING_PSEUDO_P): New subroutine for + EXTRA_CONSTRAINT. + (EXTRA_CONSTRAINT): Use IS_RELOADING_PSEUDO_P. Accept any MEM for + `Q' constraint during the reload pass. - * mips-tfile.c (add_aux_sym_tir): Move code to record bitfield size, - so that it agrees with MIPS ECOFF practice, rather than the - documentation, which affects enum bitfields. Changes from Per - Bothner. + * pa.h (SECONDARY_MEMORY_NEEDED): Define. + (SECONDARY_MEMORY_NEEDED_RTX): Define. + * pa.c (output_fp_move_double): Remove code to support GR<->FP + copies. + * pa.md (movqi, movhi, movsi, movdi, movsf, movdf): Remove support + for GR<->FP copies. + (fix_truncsfsi2, fix_truncdfsi2): Likewise. -Tue Dec 10 14:10:10 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Wed Mar 17 14:58:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Get rid of __reverse_order, etc. - * gnulib2.c (__do_global_dtors): Remove & before arrays. + * config/vax/vms.h (STRUCT_VALUE): Defined. + (STRUCT_VALUE_REGNUM): Add #undef. - * configure: Set a default value for xm_file. - Remove redundant defaulting of cpu_type. +Wed Mar 17 14:23:25 1993 Torbjorn Granlund (tege@gnu.ai.mit.edu) - * svr4.h (ASM_DECLARE_FUNCTION_SIZE): Output internal label properly. + * pa.md (branch-on-bit): New patterns. + * pa.c (pc_or_label_operand): New predicate. - * function.c (assign_parms): Set current_function_args_info. - * output.h: Declare that var. - * tree.h (BUILTIN_ARGS_INFO): Renamed from BUILT_IN_VARARGS. - * expr.c (expand_builtin): Implement __builtin_args_info. - * c-decl.c (init_decl_processing): Declare it. - * va-i860.h: Use it. - Also update order of elements in struct __va_ctl. +Wed Mar 17 02:46:58 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * toplev.c (main): Eliminate -gsdb and -gdbx. - Clean up setting of use_gdb_dbx_extensions. + * config/m68k/m68k.md (movqi): In address reg case, if d0 + appears in the address, use d1 instead as intermediate reg. -Tue Dec 10 10:33:58 1991 Tom Wood (wood at gen-rtx) +Tue Mar 16 17:42:14 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * svr4.h (ASM_DECLARE_FUNCTION_SIZE): Use an internal label. + * cse.c (FIXED_REGNO_P): Remove previous change; all callers but + one already check. + (CHEAP_REG): Only call FIXED_REGNO_P for hard regs. + (fold_rtx): Clarify comments. -Tue Dec 10 07:12:28 1991 James Van Artsdalen (james@raid) +Tue Mar 16 14:55:40 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * Makefile.in (crtbegin.o, crtend.o): crstuff.c is in $(srcdir). + * x-apollo68 (CFLAGS, LIBGCC2_CFLAGS): Delete overrides and + comment why they were wrong. -Tue Dec 10 06:56:26 1991 Michael Tiemann (tiemann at cygnus.com) + * c-decl.c (grokdeclarator, ARRARY_REF): If exern, then end + temporary allocation before building type. - * cp-decl.c (kept_level_p): New function, borrowed from c-decl.c. - * cp-parse.y (compstmt): Call it. + * sparc.h (SECONDARY_MEMORY_NEEDED_RTX): Define. + * reload.c (get_secondary_mem): Use macro SECONDARY_MEMORY_NEEDED_RTX. -Mon Dec 9 18:37:32 1991 Ken Raeburn (Raeburn@Cygnus.COM) +Tue Mar 16 03:49:13 1993 James Van Artsdalen (james at bigtex.cactus.org) - * cp-decl.c (grok_enum_decls): Don't give warning for class-local - enum types; this is a perfectly reasonable usage. + * cse.c (FIXED_REGNO_P): Pseudos can't be fixed regs. -Mon Dec 9 12:23:48 1991 Ron Guilmette (rfg at ncd.com) +Tue Mar 16 04:33:41 1993 Paul Eggert (eggert@twinsun.com) + + * cccp.c (main): Report errors in output to pcp_outfile. - * toplev.c (main): Check that no extra chars follow the level # - in a -gNNN option. Also check that the debugging level requested - is between 0 and 3 (inclusive). +Mon Mar 15 21:30:32 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Dec 9 20:34:48 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * cccp.c (write_output): Test value of `write'; report errors. + (write_output): Use pfatal_with_name for errors. + (out_fname): Var now file-scope. - * sched.c (schedule_block): Don't crash if `line' is zero. - (schedule_insns): Initialize line_note_head. +Mon Mar 15 20:52:17 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) -Mon Dec 9 15:31:46 1991 Michael Meissner (meissner at osf.org) + * pa.h (EXTRA_CONSTRAINT, case 'S'): Do not accept CONSTANT_P if + TARGET_LONG_CALLS. - * mips-tfile.c (pseudo_ops array): Correctly size the .stabs and - .stabn elements. + * pa.h (EXTRA_CONSTRAINT): Merge strict and non-strict variants. + Delete 'R' constraint. - * mips.c (function_prologue, function_epilogue): Use assemble_name - to print the current function, instead of fprintf, in case there is - a leading '*'. +Mon Mar 15 18:38:22 1993 Torbjorn Granlund (tege@sics.se) - * mips-news.h (CPP_PREDEFINES): Define news3700, not news7300. + * expmed.c (lea_max_mul): Delete. + (init_expmed): Delete unused variable I. + (enum alg_code): New tag alg_shift. Document it. + (synth_mult): Delete unused variable N. Handle new trivial case + first, for T <= 1. Generalize shifting code to shift whenever a + number is even; use alg_shift for this. Set best_alg->ops only in + trivial case. Clean up cost calculation code for the `simple + case' at the end; use shiftadd_cost when appropriate. Combine + declarations of Q and move to top of function. Eliminate use of Q + in factoring cases. If we are getting too long a sequence for + `struct algorithm' to record, fail. + (expand_mult): Handle alg_shift instead of alg_add_t_m2 as first + operation. In RLT emit loop, handle alg_shift; special case + LOG == 0 for alg_add_t_m2 and alg_sub_t_m2. - * mips.md (ashldi3_internal3): Fix typos. - (ashrdi3_internal3): Ditto. - (lshldi3_internal3): Ditto. +Mon Mar 15 16:44:08 1993 Doug Evans (dje@canuck.cygnus.com) -Mon Dec 9 11:49:52 1991 Torbjorn Granlund (tege at hal.gnu.ai.mit.edu) + * function.c (assign_parms): Remove unnecessary #ifdef. - * longlong.h (__a29k__ udiv_qrnnd): Change "q" to "1" for operand - 2 constraint. +Mon Mar 15 14:33:52 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) -Mon Dec 9 11:22:58 1991 Ken Raeburn (Raeburn@Cygnus.COM) + * sched.c (reg_known_equiv_p): New variable. + (init_alias_analysis): Allocate and compute reg_known_equiv_p. + (sched_analyze_1): Reenable code for REG_EQUIV notes, using + reg_known_equiv_p so that it is only used on REG_EQUIV notes. + (sched_analyze_2): Likewise. Only pass memory addresses to the + sched_analyze_2 call. - * cp-typeck.c (build_x_function_call): A method might have type - pointer-to-method as well. Don't build an OFFSET_REF for any - "function" that already has pointer type. Only use - DECL_CLASS_CONTEXT to find type of `this' for FUNCTION_DECLs; for - method pointer expressions, look up the basetype of the method type. - (build_unary_op): Fix comment in typo. + * xm-sol2.h (NO_SYS_SIGLIST): Define. - * cp-tree.c: Fix typo in comment at start of file. + * i960.c (print_operand_address): For MULT, set ireg not breg. -Mon Dec 9 07:17:13 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * sparc.md (zero_extendqisi2+4,+5): Add new patterns for combining + a SI->QI mode truncate with an insn that sets the condition codes. - * cse.c (cse_insn): When a jump is converted to unconditional, - delete the dead code, but leave the notes. - (cse_basic_block, cse_end_of_basic_block): Some unconditional jumps are - part of the basic block. - (cse_basic_block): Add missing arg to cse_end_of_basic_block call. - -Mon Dec 9 07:16:15 1991 Ron Guilmette (rfg at ncd.com) + * config.sub (sparclite, sparclite-*): New configuration. + * configure (sparclite-*-*): Likewise. + * sparc/lite.h: New file. - * sys-types.h: New file. - * sys-protos.h: New file. - * SYSCALLS.c: Just include those files. + * sched.c (adjust_priority): Comment unreachable code. + (memrefs_conflict_p): Add comment about Fortran aliasing. - * protoize.c (VOLATILE): Define this symbol conditionally so that - it can be used to declare GNU `volatile' functions. - (abort): Added VOLATILE extern declaration (but not if it's a macro). - (kill, fork): Added extern declaration. - (substr): Declare c as int. +Mon Mar 15 13:54:06 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * gbl-ctors.h: New file. - * crtstuff.c: Include gbl-ctors.h. - (INIT_SECTION_ASM_OP): Delete default definition. - Only compile .init section code if INIT_SECTION_ASM_OP is defined. - (pointer): Globally changed to `func_ptr'. - * Makefile.in (crtbegin.o, crtend.o, gnulib2): Depend on gbl-ctors.h. - * gnulib2.c: Added definition of __builtin_saveregs for i860/svr4 - and fixed up definition of __builtin_saveregs for i860/non-svr4. - (__bb_avoid_warning): Added explicit return type. - (__builtin_new, __builtin_vec_new, __builtin_delete, - __builtin_vec_delete): Use `void*' where appropriate. - (exit): Change conditional to ON_EXIT. Make dummy if no real exit. - Include gbl-ctors.h. - (__main): Change conditional to INIT_SECTION_ASM_OP. - (__do_global_ctors): Conditional on INIT_SECTION_ASM_OP. - Use DO_GLOBAL_CTORS_BODY for the guts. - Include gbl-ctors.h. + * cse.c (simplify_plus_minus): Remove last change. Instead, + count initial operands and test against that count to see if we + did anything. -Mon Dec 9 01:07:56 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * alpha.h (ASM_OUTPUT_{INT,SHORT,CHAR,BYTE}): Truncate constant + to maximum range permitted in order to avoid assembler error. - * fixinc.svr4: Don't change #ident or assertion tests. - Don't install inline.h. +Mon Mar 15 13:37:35 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * c-common.c (get_directive_line): Declare c as int. + * pa.md (sh[123]add patterns): Use register_operand, not + shadd_operand. + (sh[123]add patterns for reload): Special patterns to avoid + lossage due to reload problems. + * pa.c (shadd_operand): Delete. + +Mon Mar 15 00:31:20 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * configure: Create additional file tconfig.h. - * protoize.c: Include that, not tm.h. - * Makefile.in (protoize.o, unprotoize.o): Depend on tconfig.h. + * configure (rs6000-ibm-aix3.2): Renamed from rs6000-ibm-aix32. - * svr4.h (HAVE_ATEXIT): Defined. - * gnulib2.c (_main, exit): Use HAVE_ATEXIT to control use of atexit. +Sun Mar 14 22:54:10 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * final.c (final_scan_insn): Output first and last note in a series. + * reorg.c (find_end_label): Update unfilled_slots if the return + insn we make has a delay slot. - * objc-actions.c (build_objc_method_call): - New arg LOOKUP_OBJECT. - (build_message_expr): Pass RECEIVER for LOOKUP_OBJECT. - Pass RECEIVER or self_decl as OBJECT. +Sun Mar 14 21:27:48 1993 Torbjorn Granlund (tege@sics.se) - * unx386.h (PRINT_IMMED_PREFIX, PRINT_OFFSET_PREFIX): Deleted. + * expmed.c (shift_cost): Now a vector. + (shiftadd_cost): New vector for cost of (N * a + b) instructions. + (shiftsub_cost): New vector for cost of (N * a - b) instructions. + (lea_cost): Removed. + (init_expmed): Initialize new vectors. Use ASHIFT, not LSHIFT. + Remove code initializing lea_cost. + (enum alg_code): New definition. + (synth_mult): Rewrite for better algorithms and faster operation. + (expand_mult): Rewrite code for constant multiplication. - * rtl.h: Undef FLOAT. +Sun Mar 14 06:34:28 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * svr4.h (ASM_DECLARE_OBJECT_NAME, ASM_DECLARE_FUNCTION_SIZE): - Fix typo. + * objc-act.c (build_objc_symtab_template): Correctly build index + type for 0-length array. + (build_objc_method_call, get_class_reference, get_super_receiver): + Call assemble_external on anything we are about to generate a call to. + (handle_class_ref): Put constant in readonly-data section, not text. -Sun Dec 8 21:46:51 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * cse.c (simplify_plus_minus): Reject "simplifications" that are + too complex in form. + Correct sign error in expanding NOT. - * protoize.c (main): Declare `value'. - (abspath): Declare endp. Declare and set outp and inp. +Sun Mar 14 00:02:12 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-decl.c (sigsegv): Function deleted. - (init_decl_processing): Don't use it. - Also don't include signal.h. + * reload1.c (choose_reload_regs): Verify reload_out[j] != 0 + before comparing with reload_earlyclobber elements. - * t-svr4: New file. - * configure (i386-*-sysv4*, i860-*-sysv4*): Use that file. +Sat Mar 13 21:05:12 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sun Dec 8 12:01:36 1991 Ron Guilmette (rfg at ncd.com) + * calls.c (emit_call_1): Restore inhibit_defer_pop before popping args + so that pops really do get deferred if appropriate. - * fixinc.svr4: New file. +Sat Mar 13 18:13:30 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * final.c (profile_function): Specify return type. - (get_attr_length): Added a return statement to prevent warnings. + * cse.c (simplify_plus_minus): When seeing if we have reduced the + number of operands, ensure we count a CONST result as two operands. - * final.c (final_scan_insn): Switch to .text section before output - of jumptable lable (if requested by JUMP_TABLES_IN_TEXT_SECTION). - Don't switch sections again after the label. + * calls.c, expr.c: Correctly define PUSH_ARGS_REVERSED. - * configure (i386-*-sysv*): Configuration deleted. - (i386-*-sysv3, i386-*-sysv4, i860-*-sysv3, i860-*-sysv4): - Added assignment to `tmake_file' (to pick up def of EXTRA_PARTS). - (i860-*-sysv3, i860-*-sysv4): Added assignment to `xmake-file'. - (i860-*-sysv3): Deleted bogus GAS related stuff. +Sat Mar 13 16:49:10 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * combine.c (combinable_i3pat): Added explicit return type. + * pa.c (eligible_for_epilogue_delay): Insns which access %r2 can + not be used to fill the epilogue's delay slot. - * i860.h (TARGET_FPU): Deleted this target flag. i860 fpu is on chip. - (TARGET_XP): New target flag for XR and XP models. - (TARGET_FLAGS, HARD_REGNO_MODE_OK): Adjusted for above changes. - (REG_ALLOC_ORDER): Use first the regs less likely for other purposes. - (LITERAL_COMPARE_BETTER_UNSIGNED): Defined. - (BRANCH_COST): Defined. - (CC_ONLY_*): Deleted these obsolete defines. - (CC_NEGATED): Added for IEEE behavior with cmpgesf and cmplesf. - (ASM_OUTPUT_CASE_LABEL): - Added .align so assembler doesn't barf on subsequent .long(s). - (FLOAT_TYPE_VALUE, INTIFY, FLOATIFY, FLOAT_ARG_TYPE): - Added definitions needed to build a useable gnulib1 library. +Sat Mar 13 15:31:02 1993 James Van Artsdalen (james at bigtex.cactus.org) - * i860.md: Removed all references to CC_ONLY_* symbols. - (cmpledf, cmpgedf): Adjusted assembler code as suggested - by i860 manuals, for IEEE results. - (cbranch, flipped_cbranch, inverse_cbranch, flipped_inverse_cbranch): - Check for CC_NEGATED. - (bte, btne patterns): Complete rewrite. - (anonymous sign-extend patterns): Moved before the named patterns. + * reg-stack.c (emit_swap_insn): If emitting after a cc0 setter, + link the cc0 insns. - * i860.md (addsi3, subsi3): Disparaged alternatives with a floating- - pointer input register to avoid complicated reloading problem. - (negsi2): Deleted bogus `I' constraint on operand 1. - (divdf3, divsf3): Added additional continuation characters - needed to make lines acceptable to `read_rtx' in the gen* programs. +Fri Mar 12 17:45:36 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * i860.c: Include "flags.h" to get access to `optimize' flag. - (leaf_function_p): Added extern declaration. - (zero_operand): New function. - (must_preserve_r1, must_preserve_bytes): New variables. - (function_prologue, function_epilogue): - Support treatment of return-address reg (r1) in leaf functions. + * config/m68k/xm-mot3300.h (USE_C_ALLOCA): Define if not __GNUC__. + * config/m68k/x-alloca-c: New file. + * configure (m68k-motorola-sysv*): Use it. - * i860v4.h (CPP_PREDEFINES): Add pre-assertions for i860/svr4. - (CPP_SPEC): Deleted definition. - (TYPE_OPERAND_FMT): New definition. - (ASM_OUTPUT_FUNCTION_PREFIX): #undef before defining. - (ASM_OUTPUT_EPILOGUE_SUFFIX): Deleted obsolete macro. - (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, - TDESC_SECTION_ASM_OP, EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS, - TDESC_SECTION_FUNCTION): Definitions added. + * expr.c (emit_push_insn): Handle failure of gen_movstr... - * i860v3.h: Complete rewrite. Uses svr3.h. + * stor-layout.c (variable_size): Better error for div by 0 in size. + * c-decl.c (grokdeclarator): Error for div by 0 in array size. - * i386v4.h: Don't include i386v.h. Include i386.h instead. - (SDB_DEBUGGING_INFO): #undef deleted. - (ASM_OUTPUT_DWARF_STRING): Added definition. +Fri Mar 12 17:25:35 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * gcc.c (default_compilers): Pass -g* options to cpp. + * expr.c: Add prototypes for static functions. + (struct move_by_pieces): Move definition before function + forward decls. - * gcc.c (do_spec_1): Don't duplicate -A options in CPP_PREDEFINES. + * rs6000.h, a29k.h (PROMOTE_MODE): Fix typo. - * gnulib2.c (exit, __main, __do_global_dtors, __do_global_ctors): - New functions. + * cse.c (refers_to_mem_p): Use rtx_equal_p to see if bases + are equal. - * i386.h (PRINT_IMMED_PREFIX, PRINT_OFFSET_PREFIX): - Define here, and use IP. + * cse.c (set_nonvarying_address_components): Fix type mismatch with + caller. + (refers_to_mem_p): Call properly in second call. - * i386.h: Don't include syms.h or define FILNMLEN. + * jump.c (jump_optimize): Fix bug in last change. - * x-i860v3, x-i860v4: New files. - * x-i386v4 (CCLIBFLAGS, GCC_CFLAGS): Added definitions. +Fri Mar 12 07:25:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * xm-svr3.h: New file. - * xm-i86v3.h, xm-i86v4.h, xm-i386v.h: Rewritten. - * xm-i38v4.h: New file. + * optabs.c (expand_binop): For doubleword int addition, + clobber the whole register at the start. - * svr4.h (LIB_SPEC): Make crtend.o come before any *crtn.o - file (to avoid hitting return without standard epilogue in .init code). - (INIT_SECTION_ASM_OP): Added definition for crtstuff.c (and friends). - (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): - Adjusted indentation of continuations to match those in rest of file. +Fri Mar 12 03:19:26 1993 James Van Artsdalen (james at bigtex.cactus.org) - * svr3.h (CPP_PREDEFINES): Don't define this here. - (ASM_FILE_START_1): Provide no-op default definition. - (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Undef these before defining. - (INT_ASM_OP, USE_CONST_SECTION, INIT_SECTION_ASM_OP, - CONST_SECTION_ASM_OP, CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, - EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS, READONLY_DATA_SECTION, - CONST_SECTION_FUNCTION, CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION, - ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR, SELECT_SECTION, - SELECT_RTX_SECTION): Definitions added. + * reg-stack.c (get_true_reg): Don't ignore FLOAT_TRUNCATE. + (subst_stack_regs_pat): Substitute in FLOAT_TRUNCATE insns. -Sun Dec 8 15:27:56 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + (compare_for_stack_reg): Reset insn code after swapping operands. - * next.c (handle_pragma): Use get_directive_line. + * i386.h (FLOAT_CLASS_P): New macro. + (REGISTER_MOVE_COST): Use it instead of comparing to FLOAT_REGS. + (PREFERRED_RELOAD_CLASS): Likewise. + (SECONDARY_MEMORY_NEEDED): Likewise. + (CLASS_MAX_NREGS): Likewise. - * gnulib2.c (__do_global_dtors, __do_global_ctors): - Remove the feature to control the order of execution. - This is not a clean solution to the overall problem. + (SELECT_CC_MODE): Use VOIDmode for non-FP-equality comparisons. -Sun Dec 8 14:47:44 1991 Michael Meissner (meissner at osf.org) + * i386.md (truncdfsf2): Rewrite to allow FLOAT_REGS in constraints + for better register preferences. - * mips-tfile.c (toplevel, add_local_symbol, parse_stabs_common): - More changes for smuggling stabs through from meissner@osf.org and - bothner@cygnus.com. + (movM): If REG_WAS_0, make sure the reg hasn't changed since then. - * mips.h (ignore_line_number): New global, set when we must avoid - putting out a MIPS ECOFF .loc because the file changed inside of a - function, and we are also putting out stabs, which can handle this. - (ASM_STABS_OP, ASM_STABN_OP, ASM_STABD_OP): Define to put a comment - in front of the pseudo op, if we are encapsulating stabs in MIPS - ECOFF. - (ASM_OUTPUT_SOURCE_FILENAME): Change to call mips_output_filename. - (ASM_OUTPUT_SOURCE_LINE): change to call mips_output_lineno. + (cmpM expanders): Don't allow both operands to be MEM. + Use VOIDmode for the COMPARE rtx instead of CCmode. + (cmpM recognizers): Likewise. + Remove constraints for constants from operand 0. - * mips.c (toplevel): Include stab.h for encapsulating stabs. - (ignore_line_number): New global variable. - (reg_or_0_operand): Call register_operand for REG's as well as - SUBREG's. - (override_option): Don't allow ints in FP registers unless -mdebugh. - (mips_output_filename): New function to write the filename to the - assembler output. Add special support for encapsulating .stabs in - MIPS ECOFF. - (mips_output_lineno): New function to write the line number to the - assembler output. Add special support for encapsulating .stabs in - MIPS ECOFF. - (function_epilogue): Clear ignore_line_number. + (cmpdf,cmpsf recognizers): When using VOIDmode as mode of the + COMPARE rtx, require that the mode be exactly VOIDmode. - * mips.md (fix_trunc??si_opt, mov??_internal): Change '!' constraint - back to '*'. + * i386.c (VOIDmode_compare_op): New operand predicate function. -Sat Dec 7 16:58:57 1991 Ken Raeburn (Raeburn@Cygnus.COM) + * vax.md (movM): If REG_WAS_0, make sure the reg hasn't changed + since then. + * tahoe.md (movM): Likewise. - * cp-spew.c (scan_tokens): Stop scanning at semi-colon. +Thu Mar 11 19:23:51 1993 Doug Evans (dje@canuck.cygnus.com) - * cp-spew.c: Made SPEW_DEBUG code useable: - (yylex): Use stderr in SPEW_DEBUG code. - (yytags): Deleted table. - (debug_yychar): Print to stderr, and don't try finding translations - for values over 256. + * function.c (aggregate_value_p): RETURN_IN_MEMORY now handles + BLKmode values. + * expr.h (RETURN_IN_MEMORY): Handle BLKmode values. + * i386/sysv4.h (RETURN_IN_MEMORY): Ditto. + * m88k/m88k.h (RETURN_IN_MEMORY): Ditto. + * i960/i960.h (RETURN_IN_MEMORY): Ditto. + * m68k/apollo68.h (RETURN_IN_MEMORY): Ditto. + * mips/mips.h (RETURN_IN_MEMORY): Ditto. + * sparc/sparc.h (RETURN_IN_MEMORY): Ditto. + * alpha/alpha.h (RETURN_IN_MEMORY): Ditto. + * romp/romp.h (RETURN_IN_MEMORY): Ditto. + * rs6000/rs6000.h (RETURN_IN_MEMORY): Ditto. + * h8300/h8300.h (RETURN_IN_MEMORY): Ditto. - * cp-class.c (push_lang_context): Fix typo in comment. +Thu Mar 11 19:02:55 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-decl.c (finish_decl): Undo `pushclass' done in start_decl for - top-level decls of methods. + * alpha.h (RTX_COST, case MULT): Handle s8addx and s4addx. + (RTX_COST, case MULT): Correctly assign cost to multiplies by a + power of two. + (RTX_COST, case ASHIFT, ASHIFTRT, LSHIFTRT, IF_THEN_ELSE): New cases. - * cp-lex.c (restore_pending_input): Cast 0 to pointer type for - obstack_free. + * cse.c (CHEAP_REG): New macro; makes virtual regs cheap too. + (COST): Use CHEAP_REG. + (rtx_cost, case REG): Use CHEAP_REG to return zero for some REGs. - * cp-pt.c (do_pending_expansions): Use TREE_USED instead of - TREE_ADDRESSABLE for functions. Put in comments explaining why we - compile unused methods of classes that are interface-unknown: the - file initializer/cleanup functions might need them. - (mumblefrotz): Delete unused function; this code is in cp-parse.y. +Thu Mar 11 07:47:09 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) -Sat Dec 7 15:46:55 1991 Timothy Moore (moore@cs.utah.edu) + * pa.md (FP sCC insn): Delete. + (sCC define_expands): FAIL instead of generating FP sCC insns. + * pa.c (gen_scond_fp): Delete. + * pa.h (toplevel): Delete declaration of gen_scond_fp. - * function.c: Handle ARGS_GROW_DOWNWARD. - (pad_below, pad_to_arg_alignment, round_down): New subroutines. - (locate_and_pad_parm): Use them, for the existing case. - Also handle the ARGS_GROW_DOWNWARD case, using them. + * cse.c (set_nonvarying_address_components): New function. + (invalidate): Use set_nonvarying_address_components instead of + computing them. + (refers_to_mem_p): Likewise. Simplify checks for conflicting + memory accesses. Make static. + * loop.c (addr_overlap_p): Delete. -Sat Dec 7 15:46:55 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Wed Mar 10 23:52:40 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * tree.h (DECL_ARG_TYPE_AS_WRITTEN): New macro. - * c-decl.c (grokdeclarator): Store value there. + * fixincludes: Delete ${LIB}/DONE just before exit. - * m68k.c (output_function_prologue, output_function_epilogue): - Support MOTOROLA syntax. +Wed Mar 10 12:27:51 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * toplev.c (main): Testing for -ggdb catches -g also. - Default use_gdb_dbx_extensions to 1 for -gstabs, 0 for -gdbx. - Specified default is for -g. + * pa.c (reg_or_cint_move_operand): Use cint_ok_for_move. - * cccp.c (handle_directive): Store start address in directive_start. - (do_xifdef): Use that, checking if at start of file. - (do_endif): Compute ep properly. + * pa.md (add reg and large int): New define splits for the combiner. + * pa.c (cint_ok_for_move): New function. Returns 1 iff the given + CONST_INT can be loaded into a register in a single instruction. + (move_operand): Use cint_ok_for_move. - * protoize.c (abspath): Fix errors referencing argument cwd. - (main): Allocate big enough buffer for getcwd. - Don't clobber varargs_style_indicator, copy it. - (savestring): New function. + * jump.c (jump_optimize, clause for `if (foo) b++'): + Do this regardless of BRANCH_COST if HAVE_incscc or + HAVE_decscc is defined. -Sat Dec 7 00:53:16 1991 Ron Guilmette (rfg at ncd.com) +Wed Mar 10 11:50:06 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - * c-decl.c (warn_redundant_decls, warn_nested_externs): New vars. - (c_decode_option): Support -Wredundant-decls and -Wnested-externs. - (pushdecl): Print those warnings. - * c-tree.h (warn_redundant_decls, warn_nested_externs): Declared. + * pa.md (conditional move): Use %B for output when appropriate. + (conditional move with second operand == 0): New pattern. + * pa.c (reg_or_cint_move_operand): New function. + (move_operand): Add header comment. - * c-decl.c (pending_xref_error, c_mark_varargs): Added return type. +Wed Mar 10 01:43:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cccp.c (main): Added code to support the presence of -A (assertion) - options within CPP_PREDEFINES. + * objc-act.c (OBJC_GEN_METHOD_LABEL): Convert colons to _'s. + Don't use the category name or the number. - * c-lang.c: Minor cleanups. + * gcc.c (link_command_spec): New option -nostartfiles. - * c-lex.c (check_newline): Added support for the -g3 option. +Tue Mar 9 18:55:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * dwarfout.c (type_tag): Fixed bug in gcc Dwarf generation for - tagged types. + * convert.c (convert_to_complex): Avoid using comptypes. - * dwarfout.c (output_decl): Added two pre-checks to see if nodes - are ERROR_MARK nodes before using them. +Tue Mar 9 11:33:32 1993 Michael Meissner (meissner@osf.org) - * dwarfout.c (generate_new_sfname_entry): Function added. + * objc-act.c (#ifdef NEXT_OBJC_RUNTIME): Close #ifdef properly. - * dwarfout.c (lookup_filename): Call generate_new_sfname_entry - as soon as each new source filename is added to the list of - known filenames (thus avoiding an m68k forward-ref assembler bug). +Tue Mar 9 00:03:03 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * dwarfout.c (dwarfout_line): Initialize prev_file_entry_num to - (unsigned) -1 rather than zero to avoid bogus suppression of - first .debug_sfnames section entry. + * flags.h (flag_volatile_global): Declared. - * dwarfout.c (compare_filename_entries): Function deleted. (It's - no longer needed.) + * c-decl.c (define_label): Use current line number in error msg. - * dwarfout.c (dwarfout_finish): Don't generate .debug_sfnames - section entries here anymore. (See lookup_filename.) +Mon Mar 8 16:11:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Makefile.in (realclean): Delete c-parse.h. - Delete objc-parse.output just once. + * config/i386/i386.h (HARD_REGNO_MODE_OK): Add some casts. -Fri Dec 6 17:49:28 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * reg-stack.c (record_asm_reg_life): Cast class to int for indexing. - * cse.c (FIXED_BASE_PLUS_P): The frame or argument pointer itself is - a fixed address. - (find_comparison_args): If we find something equivalent to a - fixed address, return the fixed address. + * sdbout.c (PUSH_DERIVED_LEVEL): Cast enumm constants to int. - * combine.c (try_combine): Don't access new_i2_notes if it hasn't been - defined (it isn't defined unless newi2pat != 0). + * toplev.c (flag_volatile_global): New variable. + (f_options): Add option for it. + * varasm.c (make_decl_rtl): Handle that option. -Fri Dec 6 16:01:02 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * objc-act.c (really_start_method): Always use OBJC_GEN_METHOD_LABEL. + Pass method_slot as additional arg. + (OBJC_GEN_METHOD_LABEL): Add default definition. + * config/m68k/next.h (OBJC_GEN_METHOD_LABEL): Accept additional arg. - * rtl.h (enum reg_note): Define two new values REG_DEP_ANTI, - REG_DEP_OUTPUT, which are used to mark LOG_LINKS. - * rtl.c (reg_note_name): Likewise. - (add_dependence): Return void. New parameter DEP_TYPE to indicate - type of dependence. +Mon Mar 8 12:01:49 1993 Paul Eggert (eggert@twinsun.com) - * sched.c: Major rewrite to delete much obsolete code, correct many - comments, delete unused variables, etc. Modify all callers of - add_dependence to pass new argument. Significant changes are: - (reassign_dependence): Deleted, was unnecessary. - (priority): Account for type of dependence when calculating - priority. - (flush_pending_lists): New function. Encapsulate code which makes - dependencies between an INSN and every insn on the - pending_read_insns and pending_write_insns lists. - (rank_for_schedule): Account for type of dependence with last - scheduled insn when deciding which ready insn to schedule next. - (launch_link): Give all birthing insns the same priority. - (schedule_block): Only sort the ready list once, after all ready - insns have been added to it. - (schedule_block): When deciding what REG_DEAD notes are needed on a - just scheduled insns, process all sets first (sched_note_set) then - process all uses (attach_deaths_insn). - (attach_deaths): Simplified by above change. - (sched_note_set): Likewise. - (update_flow_info): Renamed from update_links, since it no longer - does anything with LOG_LINKS. Sched_analyze_insn creates all - necessary new LOG_LINKS already. - (schedule_insn): Delete no op move insns after reload. + * fold-const.c (const_binop): When evaluating a shift, ignore + overflows generated by force_fit_type. -Fri Dec 6 13:33:48 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Mon Mar 8 07:24:30 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * crtstuff.c: Give permission to link with non-free programs. + * cse.c (cse_gen_binary, simplify_plus_minus): New functions. + (find_best_addr): Use cse_gen_binary. + (simplify_binary_operation, fold_rtx): Likewise. + Remove most special-cases for PLUS and MINUS and call + simplify_plus_minus instead. + Clean up some tests for FP. - * toplev.c (flag_inhibit_size_directive): New var and -f option. - * svr4.h (ASM_DECLARE_OBJECT_NAME, ASM_DECLARE_FUNCTION_SIZE): Use it. - * Makefile.in (crtbegin.o, crtend.o): Use that option. Use -g1. + * cse.c: Add prototypes for static functions. + (struct cse_basic_block_data): Move to front of file since it + constains struct used in a prototype. + (refers_to_p, find_best_addr): Now static. -Fri Dec 6 08:42:53 1991 Ron Guilmette (rfg at ncd.com) + * expr.h: Clean up prototypes for functions in expr.c and + optabs.c and add some missing ones. - * Makefile.in (STAGESTUFF): Added __main and _exit to support g++. + * optabs.c: Add prototypes for static functions. + (init_libfuncs): Put args in proper order. - * c-common.c (c_expand_expr_stmt): Made return type explicit. +Sun Mar 7 07:59:34 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * c-common.c: (get_directive_line): Function added to support -g3. + * reorg.c: Add prototypes for static functions. + (fill_simple_delay_slots): Add missing declaration of arg. -Fri Dec 6 04:50:39 1991 Michael Tiemann (tiemann at cygnus.com) +Sat Mar 6 15:08:59 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-tree.h (OPERATOR_ASSIGN_CHARS_P): Flushed. - * cp-decl.c (grok_op_properties): Flush OPERATOR_ASSIGN_CHARS_P. - * cp-init.c (add_{friend,friends}): Ditto. + * gcc.c: Handle long options by translation to old-style ones. + (translate_options): New function. + (option_map): New table. -Thu Dec 5 22:31:12 1991 Jeffrey A Law (law at super.super.org) + * config/i386/t-iscscodbx: New file. + * configure (i[34]86-*-isc*, i[34]86-*-sco...): Use that if stabs. - * m68k.h (CONST_COSTS): Show that constants which can be easily - generated are less expensive than most. + * reload1.c (choose_reload_regs): Handle SUBREG in reload_earlyclobber + when matching output reloads for setting reload_when_needed. - * m68k.md (movsi): Use two instruction sequences to load constants - which are just outside moveq's range (within 8 of moveq's range). - Likewise for positive even constants within twice moveq's range. +Sat Mar 6 08:43:09 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Dec 5 20:17:13 1991 Eric Youngdale (youngdale at v6550c.nrl.navy.mil) + * genattrtab.c (write_test_expr): Use INSN_CODE == -2, not 0, for + constant attributes. - * config-gcc.com: Generate a file 'version.opt' which will be given - to the VMS linker to put the gcc version number in the image - header version number field. + * genattrtab.c: Add prototypes in forward declarations. + Add some missing parameters to a few calls. - * make-cc1.com: Compile c-lex.c when building gcc and objc, and - add c-lex.obj to the list of files given to the linker. - Add version.opt to the list of files given to the linker. +Sat Mar 6 07:41:36 1993 Doug Evans (dje@cygnus.com) - * make-cccp.com: Add version.opt to the list of files given to the - linker. + * calls.c (expand_call): Fix typo in unaligned code. -Thu Dec 5 23:04:20 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Fri Mar 5 20:32:28 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) - * combine.c (make_extraction): Don't make a STRICT_LOW_PART of a MEM; - clean up comments so they agree with the code. + * i386/svr3gas.h, i386/svr3dbx.h, i386/iscdbx.h, i386/scodbx.h, + i386/sco4dbx.h, svr3.ifile, svr3z.ifile: New files. + * configure (i[34]86-...): Use them if configured --with-stabs. + * i386/isccoff.h: Renamed from i386/i386isc.h. + * i386/iscgas.h: Renamed from i386/i386iscgas.h. - * combine.c (try_combine): Correct test for when we can safely change - the mode of a pseudo; can't if it doesn't die in I3. +Fri Mar 5 19:41:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-decl.c (WCHAR_TYPE_SIZE): Deleted; never used. - * c-common.c (WCHAR_TYPE_SIZE, WCHAR_BYTES): Deleted, no longer needed. - (combine_strings): Use size of `wchar_type_node' to get number of - bytes in wchar_t. - * next.h (WCHAR_TYPE_SIZE): Delete; no longer used. + * expr.c (expand_assignment): Special handling for storing in + RESULT_DECL. - * cse.c (cse_main): Add new argument to cse_basic_block_call. - Don't call cse_around_loop here. - (cse_basic_block): Call cse_around_loop from here while we still - have our arrays allocated. +Fri Mar 5 17:48:41 1993 Chris Smith (csmith@mozart.convex.com) - * combine.c (simplify_comparison): Fix error in last change; don't - reference TEM before it is set. + * cse.c (simplify_binary_operation): Move integer CONST_DOUBLE + folding out of REAL_IS_NOT_DOUBLE conditional. + (simplify_relational_operation): Put float CONST_DOUBLE folding + under a REAL_IS_NOT_DOUBLE conditional. + Add folding for integer CONST_DOUBLE comparisons. - * toplev.c (fatal_insn_not_found): Flush all files before aborting. +Fri Mar 5 17:37:20 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Dec 5 21:42:29 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * alpha.md: Add new define_split for doing sign-extended adds + of some large constants using sNaddl. - * objc-actions.c (build_objc_method_call): Eval OBJECT and SELECTOR - only once. Always pass self_decl as self to the method. + * function.c (fixup_var_refs_insns): If SMALL_REGISTER_CLASSES, + ensure we don't put any insns between the setting of the function + return register and it's use. -Thu Dec 5 14:52:16 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) +Fri Mar 5 15:11:41 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * ccrtstuff.c, gnulib2.c, protoize.c: Include tm.h not config.h, - since these are complied for the target, host defines do not apply. + * pa.h (FIXED_REGISTERS): %r2 is no longer fixed. + (REG_ALLOC_ORDER): Treat %r2 as a caller-saved allocatable + register. %r30 is fixed and therefore a "special" register. + %fr22-%fr31 are caller-saved, so allocate them before the + callee-saved 1.1 fp registers. Allocate fp registers before + general registers. Fix typo for register 79. -Thu Dec 5 14:52:24 1991 Michael Meissner (meissner at osf.org) + * pa.c (output_function_epilogue): Perform an early %r2 restore + even if actual_fsize is zero. This can happen if %r2 is used + as a temporary in a leaf function. - * dbxout.c (ASM_STABS_OP, ASM_STABN_OP, ASM_STABD_OP): If - not defined, define as .stabs/.stabn/.stabd respectively. Change - all places emitting stabs to use the macros. - * cp-decl2.c: Ditto. - * cp-gc.c: Ditto. - * final.c: Ditto. - * varasm.c: Ditto. - * gcc.texinfo: Document ASM_STAB[DNS]_OP macros. + * pa.h (FIRST_PSEUDO_REGISTER): Update to take into account + registers which are no longer known to the compiler. + (FIXED_REGISTERS): Likewise. + (CALL_USED_REGISTERS): Likewise. + (HARD_REGNO_NREGS): Likewise. + (HARD_REGNO_MODE_OK): Likewise. + (REGNO_REG_CLASS): Likewise. + (FUNCTION_VALUE): Likewise. + (LIBCALL_VALUE): Likewise. + (FUNCTION_VALUE_REGNO_P): Likewise. + (FUNCTION_ARG_REGNO_P): Likewise. + (FUNCTION_ARG): Likewise. + (REGNO_OK_FOR_FP_P): Likewise. + (REGISTER_NAMES): Likewise. + (REG_CLASS_CONTENTS): Likewise. Add %r1 to GENERAL_OR_FP_REGS + and GENERAL_OR_SNAKE_FP_REGS. + (REG_ALLOC_ORDER): Likewise. Document and make allocation order + "regular" across 1.0 and 1.1 cpus. -Thu Dec 5 12:03:40 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * pa.c (compute_frame_size): Update to take into account + register which are no longer known to the compiler. + (output_function_prologue): Likewise. + (output_function_epilogue): Likewise. + (output_arg_descriptor): Likewise. - * gcc.c (process_command): Don't put `.' on startfile_prefix. - Cast result of alloca. - * config/*.h (ASM_OUTPUT_ASCII): Put parens around all uses of args. +Fri Mar 5 12:45:51 1993 Jim Wilson (wilson@geech.gnu.ai.mit.edu) - * hp800.h, hp800.c, hp800.md, xm-hp800.h: New files. - * va-hp800.h: New file. - * gvarargs.h: Use va-hp800.h if needed. - * config.subr, configure: Add alternatives for hp800, hp700. + * sparc.c (output_function_prologue, output_function_epilogue): + Add comments for frame_base_name usage in leaf_functions. -Thu Dec 5 09:35:15 1991 Michael Tiemann (tiemann at cygnus.com) + * gcc.c (main): Put argv[0] in collect_obstack instead of programname. - * cp-search.c (note_debug_info_needed): Do the right thing for - static member functions. + * cse.c (note_mem_written): QImode varying structure memory + accesses can alias scalars. -Thu Dec 5 01:25:13 1991 Michael Tiemann (tiemann at mole.gnu.ai.mit.edu) +Thu Mar 4 10:05:52 1993 Juergen Keil (jk@leo.tools.de) - * version.c: Now 1.96. + * c-decl.c (store_parm_decls,combine_parm_decls): Call layout_decl + for a parm declared float when it is changed to double under a + traditional compilation. -Wed Dec 4 23:17:23 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Thu Mar 4 17:52:52 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * reorg.c (try_merge_delay_insns, fill_simple_delay_slots): Correctly - update NEXT_TRIAL after possibly splitting an insn. + * pa.h (ASM_OUTPUT_INT): If TARGET_SHARED_LIBS, then references to + functions which do not occur in the text space must have a PLABEL + ("P%") prefix to make the assembler and linker happy. -Wed Dec 4 17:03:11 1991 Jim Wilson (wilson at sphagnum.cygnus.com) +Thu Mar 4 17:18:57 1993 Steve Chamberlain (sac@geech.gnu.ai.mit.edu) - * gplus.gperf: Add throw and template keywords. Update private, - protected, and public definitions. + * emit-rtl.c (init_emit_once): Initialize const_tiny_rtx for + partial ints too. - * print-tree.c (print_node): Add missing indentation argument to - print_node call for values field. + * convert.c (convert_to_pointer): Fix typo comparing size of + integer and pointers. + * varasm.c (immed_double_const): Cope with MODE_PARTIAL_INT. + (output_constant_pool): Likewise. -Wed Dec 4 18:39:33 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Thu Mar 4 15:18:15 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * objc-actions.c (build_objc_method_call): Define as static. + * c-common.c (truthvalue_conversion): Fix handling of COMPLEX_EXPR. + Handle all complex values specially. -Wed Dec 4 17:04:49 1991 Michael Meissner (meissner at osf.org) +Thu Mar 4 13:48:38 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - * mips-tfile.c (add_varray_page, alloc_type enum): Keep track of how - many pages we allocated for varrays as well as the small stuff. - (stabs_filename): New static to hold the special filename used for - passing stabs through. - (parse_stabs_common, parse_stabs, parse_stabn): New functions to - smuggle stabs through to the debugger. Stabs must be commented out, - just like the other debug directives. - (add_local_symbol): Check hash_ptr to see if it's null before - storing into it, in case no name is passed. - (add_file): Add support for the special stabs file. - (copy_object): Before copying the external symbols, figure out the - file indexes of each of the files, and then explicitly remap the - original file indexes of the external symbol to be the new file - index. If this isn't done, then bad file numbers can get generated - if a filename is repeated. - (various): Change the name of small_alloc to alloc_counts, since we - now track large memory allocations as well. + * pa.md (recognizer for general uaddcm): New pattern. - * mips-tdump.c (toplevel): Delete unnecessary include file stamp.h. + * pa.md (iorsi3): New DEFINE_EXPAND. + (iorsi3 recognizer for [reg reg]): Now unnamed. + Put output template here, don't call output_ior. + * pa.c (output_ior): Don't handle reg operands. -Wed Dec 4 11:05:04 1991 Michael Collison (collison at osf.org) +Thu Mar 4 13:14:13 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * encore.h (ASM_OUTPUT_LABELREF_AS_INT): add definition - * ns32k.h: ditto + * fold-const.c (fold): Handle complex constants as "winning". + Handle REALPART_EXPR and IMAGPART_EXPR. - * ns32k.h (ASM_OUTPUT_LABEL, ASM_GLOBALIZE_LABEL): If COLLECT is - defined provide alternate definitions +Thu Mar 4 13:08:53 1993 Steve Chamberlain (sac@geech.gnu.ai.mit.edu) - * encrose.h (ASM_OUTPUT_INT): If COLLECT is defined provide - alternate definition + * config.sub (h8300hds): Change hds to hms. + * configure (h8300-*-*): Added. + * h8300.c, h8300.h, h8300.md, t-h8300, xm-h8300.h: New files. -Wed Dec 4 01:39:07 1991 Ken Raeburn (Raeburn@Cygnus.COM) +Thu Mar 4 10:31:17 1993 Michael Meissner (meissner@osf.org) - * cp-pt.c (end_template_decl): For method templates, pop the class - binding level before the others rather than after. + * gcc.c (link_command_spec): Add missing \ before newline inside + character string. - * cp-class.c: Added DEBUG_CP_BINDING_LEVELS code. Include cp-decl.h - if that symbol is defined, but don't list it in Makefile.in since - that's not the normal mode. - (pushclass): Print messages and frob indentation level. - (popclass): Likewise. + * c-parse.in (all_iter_stmt_simple): Add missing comma so that + Objective C compiles. - * cp-spew.c (yylex): If identifier_type says PTYPENAME, and - following token is "<", force looking_for_typename to be - non-negative. +Thu Mar 4 02:43:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-pt.c (mangle_class_name_for_template): Drop extra spaces - between last parm and closing ">". Print a message before aborting - if a parm type isn't handled. + * optabs.c (emit_no_conflict_block): Don't move target to itself + if that takes multiple insns. + (expand_binop): For complex mult and div, avoid fetching operand + components more than once from memory. - * cp-decl.c (maybe_globalize_type): Don't do it if the identifier - that names the type doesn't currently have a type value. + * dbxout.c (dbxout_type): Handle complex integer types. -Wed Dec 4 01:06:28 1991 Michael Tiemann (tiemann at cygnus.com) +Wed Mar 3 16:01:11 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-decl.c (finish_enum): Call `rest_of_type_compilation' for - ENUMTYPE. - * cp-class.c (finish_struct): Ditto. - * cp-decl.c (pushtag): Set TYPE_STUB_DECL. - * cp-search.c (note_debug_info_needed): Call - `rest_of_type_compilation' if we notice we need debug info for TYPE. - * dbxout.c (dbxout_init): Fix typo in comment. + * c-typeck.c (common_type): Handle complex types. - * cp-parse.y (DOT_STAR): New token. - (expr_no_commas): Handle DOT_STAR expressions. - * cp-lex.c (real_yylex): Recognize DOT_STAR. Also, rearrange - scanner to make it more efficient. + * machmode.def: Add complex integer modes. - * cp-decl.c (maybe_build_cleanup): When building cleanups, pass - TYPE_MAIN_VARIANT to `build_delete'. + * c-common.c (truthvalue_conversion): Handle COMPLEX_EXPR. -Tue Dec 3 22:52:33 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * c-typeck.c (lvalue_p): Handle REALPART_EXPR, IMAGPART_EXPR. + (build_binary_op, build_unary_op): Handle complex types. - * flow.c (mark_set_1): Make a REG_UNUSED note not a REG_DEAD note - for the part of multi-word hard registers not needed. + * c-parse.gperf: Add `__complex', `__complex__'. + Add `__iterator'. Delete `iterator'. -Tue Dec 3 22:34:13 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * tree.c (build_complex): Set the TREE_TYPE based on real part. - * configure: Support --objdir. + * c-lex.h (RID_COMPLEX): New constant. + * c-lex.c (init_lex): Initialize rid pointers for complex. + (yylex): Handle i or j in numeric constant. - * objc-parse.y: Get rid of many static decls. - Reorder all token definitions to match c-parse.y. - (recognize_objc_keyword): New function. - * c-lex.c (token_buffer): No longer static. - (yylex): For @, call recognize_objc_keyword. Don't use keyword table. - * c-lang.c (recognize_objc_keyword): Dummy definition. + * c-decl.c (init_decl_processing): Create complex types. + (grokdeclarator): Handle complex keyword. + Distinguish int-by-default from int keyword. + * c-tree.h: Declare vars to hold complex types. - * objc-actions.c (build_objc_method_call) [!NEXT_OBJC_RUNTIME]: - Pass selector as arg to the method. - Always cast the method to a function type. + * c-convert.c (convert): Handle conversion to complex type. + * convert.c (convert_to_real): Convert complex to real. + (convert_to_integer): Likewise. + (convert_to_complex): New function. + * convert.h (convert_to_complex): Declared. - * xm-sparc.h (alloca): If using Sun CC, include alloca.h. - If using GCC, define as __builtin_alloca the way other machines do. +Wed Mar 3 15:34:36 1993 Per Bothner (bothner@hal.gnu.ai.mit.edu) - * cccp.c (print_containing_files): Print the nominal file names. + * tree.c (build_range_type): New function. + * tree.c (build_index_2_type): Re-implement using build_range_type. -Tue Dec 3 16:54:04 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Wed Mar 3 08:34:43 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - * jump.c (jump_optimize): If branches are expensive, convert jumps - around increments or decrements by one into an increment by the - conditional expression. + * pa.c (lhs_lshift_operand): New function. + (lhs_lshift_cint_operand): New function. + * pa.md (ashlsi3): Use lhs_lshift_operand for operand 1. + Call gen_zvdep_imm when operand 1 is a CONST_INT. + (zvdep_imm): New pattern. - * combine.c (simplify_comparison): Don't remove a SUBREG unless - it doesn't affect either operand. + * pa.c (print_operand): Handle L and P for bit field instructions. + * pa.md (ashift recognizer for [reg const_int]): Use %P and %L + output modifiers. + (ashiftrt recognizer for [reg const_int]): Likewise. + (lshrsi3): Likewise. + (rotrsi3): Reduce integer argument to 5 bits. - * cse.c (find_comparison_args): Rework so that we can correctly - fold comparisons on machines that set CC0 to the result of a - condition test, not just a COMPARE. - (cse_insn): Don't set THIS_INSN_CC0 to a constant if we don't know - its mode. + * pa.md: Remove some empty lines. -Tue Dec 3 12:01:12 1991 Jim Wilson (wilson at sphagnum.cygnus.com) + * pa.c (pa_adjust_cost): Replace, the function of Mar 2 was an old + version. + (output_fp_move_double): Use %r syntax for registers. - * mips.md: Use AND not IOR in define_function_unit definitions. - Correct setting of MODE attribute in various insn patterns. +Wed Mar 3 01:42:42 1993 Per Bothner (bothner@hal.gnu.ai.mit.edu) -Tue Dec 3 08:31:18 1991 Michael Tiemann (tiemann at cygnus.com) + * tree.def (INTEGER_TYPE): Clarify comment to make clear that + INTEGER_TYPEs are used for arbitrary range types (i.e. + sub-ranges of enums) in languages that need them. + * dbxout.c (dbxout_type_range): New function: Common code + needed for both range types and array index types. + Fixes some problems common in both places: Now handles + non-zero lower bound, variable bounds (sort of), and ranges + of non-integer (e.g. enum) types. + * dbxout.c (dbxout_type): Use dbxout_type_range. - * cp-spew.c (scan_tokens): Delete Dec 2 change. - (yylex): Instead, copy TMP_TOKEN.YYLVAL.TTYPE if it was allocated on - the wrong obstack. - (probe_obstack): New function to support the above change. +Tue Mar 2 23:34:45 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-tree.h (CLASSTYPE_DEBUG_REQUESTED): New flag. - (CLASSTYPE_ASM_WRITTEN): Deleted. - cp-class.c (finish_struct): Now almost always assume that classes - with methods are to ignored for debugging purposes. - cp-search.c (dfs_debug_{mark,unmarkedp}): Rewritten to handle new - algorithm for minimizing debug output. + * collect2.c (main): Use strlen, not sizeof, for our_file_name. - * cp-decl2.c (constructor_name): Handle case when THING is a - UNION_TYPE. + * c-common.c (convert_and_check): No warning for converting + signed integer to unsigned of same width. -Tue Dec 3 06:35:38 1991 Michael Tiemann (tiemann at cygnus.com) +Tue Mar 2 18:59:39 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu.edu) - * jump.c (duplicate_look_exit_test): If REG_MAP is non-zero, call - replace_regs on the REG_NOTES of COPY. + * c-iterate.c (collect_iterators): Handle simple expressions quickly. + Don't try to interpret operands that are RTL as if they were trees. - * cp-spew.c (scan_tokens): Don't read past '='. + * regclass.c (regclass): Don't set REGNO_POINTER_FLAG here. + (reg_scan_mark_refs): Set it here. + Accept INSN, not UID as arg. + (reg_scan): Call reg_scan_mark_refs with INSN, not UID. - * cp-call.c (compute_conversion_costs): For now, treat - CONTRAVARIANCE_HARSHNESS as EVIL_HARSNESS, since we cannot tell the - difference between when we should accept it (pointers to the right - sort of methods) and when we shouldn't (base* to derived* - conversions). +Tue Mar 2 18:03:25 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Dec 2 18:53:42 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * objc-act.c (handle_class_ref): Call assemble_external. - * cse.c (cse_around_loop): Fix typo in comment. - * dbxout.c (dbxout_type_fields): Likewise. +Tue Mar 2 15:56:17 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * sched.c (sched_analyze_1): Pass the second and third args of a - ZERO_EXTRACT or SIGN_EXTRACT in the SET_DEST to sched_analyze_2. + * genattrtab.c (write_const_num_delay_slots): Output 'rtx insn' not + 'rtx *insn' for const_num_delay_slot argument. - * combine.c (make_compound_operation): Change (lshiftrt (ashift ...)) - to a ZERO_EXTRACT, not a SIGN_EXTRACT. + * gcc.c (main): Truncate programname to what is after last slash. -Mon Dec 2 15:09:13 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * cccp.c (do_include): Warn if find unreadable header file. + (errno.h): Move outside VMS specific section. - * jump.c (jump_optimize): New arg AFTER_REGSCAN. - If not set, don't use duplicate_loop_exit_test. - * toplev.c (compile_file): Pass new arg to jump_optimize. + * sparc.c (print_operand): Use output_operand_lossage, not abort. - * next.h (SELECT_SECTION): Test TREE_CONSTANT as well as TREE_READONLY. + * sparc.h (SETUP_FRAME_ADDRESS, DYNAMIC_CHAIN_ADDRESS, + RETURN_ADDR_IN_PREVIOUS_FRAME, RETURN_ADDR_RTX): Define. + * sparc.md (flush_register_windows, goto_handler_and_restore): + Give names to these patterns so they are easier to use. + * expr.c (expand_builtin, BUILT_IN_FRAME_ADDRESS case): Use new + macros SETUP_FRAME_ADDRESSES and RETURN_ADDR_IN_PREVIOUS_FRAME. - * xm-i86v[34].h: Renamed from xm-i860v[34].h. - * configure: Corresponding changes. + * reorg.c (relax_delay_slots): Delete jump around insn identical + to the insn in its delay slot. - * m68k.c (output_function_epilogue): Put %R on all regs in asm_fprintf. + * i960.c (i960_output_call_insn): Delete scratch_reg arg. Use r3 + instead. + * i960.md (call_internal*): Use hard register 19 (r3) in clobber + instead of match_scratch. - * t-decstatn (ld): Just copy collect2. - (collect): Target deleted. - (EXTRA_PASSES): Deleted collect. - (mips-tfile, mips-tdump): Depend on LIBDEPS. - * t-mips (mips-tfile, mips-tdump): Depend on LIBDEPS. - * collect2.c (main): Run /bin/ld. - Use fatal_perror where appropriate. + * i960.md (mov*): Only accept store zero to memory insn if + rtx_equal_function_value_matters is zero. + * i960.h (rtx_equal_function_value_matters): Declare. - * objc-actions.c (build_message_expr): Fix typo. + * emit-rtl.c (gen_sequence): Add push_obstacks_nochange and + pop_obstacks calls around rtl_in_saveable_obstack call. + * varasm.c (immed_double_const, immed_real_const_1): Likewise. + * tree.c (rtl_in_saveable_obstack): Always switch to saveable_obstack. + Return type now void instead of int. - * configure: Add missing fi to finish last change. +Tue Mar 2 14:57:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cse.c (simplify_binary_operation): Restore missing break in case DIV. + * gcc.c (link_command_spec): Do nothing if -fsyntax-only. - * sdbout.c (sdbout_init): Explicitly do nothing. - (sdbout_typedefs): Function deleted. +Tue Mar 2 14:17:47 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) -Mon Dec 2 12:504:35 1991 Eric Youngdale (youngdale at v6550c.nrl.navy.mil) + * pa.h (ADJUST_COST): Add new definition. + * pa.c (pa_adjust_cost): New procudure. - * config-gcc.com: Finish changeover from tm-*.h to *.h. +Tue Mar 2 02:12:13 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sun Dec 1 05:18:32 1991 Michael Tiemann (tiemann at cygnus.com) + * optabs.c (gen_move_insn): Big `if' applies only for MODE_CC class. - * cp-search.c (lookup_{field,fnfields}): If PROTECT is 0, don't - memoize the entry we find. + * config/m68k/next.c (handle_pragma): New arg get_line_function. + * config/m68k/next.h (HANDLE_PRAGMA): Pass suitable arg. + * c-lex.h (get_directive_line): Declared. - * cp-decl.c (grokvardecl): Call `build_lang_field_decl' instead of - `build_decl' if we retroactively allocate a VAR_DECL. +Tue Mar 2 10:48:46 1993 Wilson Tien (wtien at urbana.mcd.mot.com) -Sun Dec 1 00:10:18 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * m68k.md (truncdfsf2+2): Use f%$move instead of fsmove. - * configure: Convert option syntax from + to --. - Support --target. + * m68k.md (fix_truncdfsi2, fix_truncdfhi2, fix_truncdfqi2): + Use %# instead of #. - * i386v4.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_GLOBAL): Deleted. - (ASM_FILE_START): Deleted. - (STARTFILE_SPEC, LIB_SPEC, STANDARD_STARTFILE_PREFIX): Deleted. - (STDC_VALUE): Deleted. + * m68k.md (call, call_value): Set SYMBOL_REF_FLAG for the called + function symbol_ref rtx. In PIC mode, output `bsr FUNC@PLTPC' + when the operand is symbol_ref. - * real.h (REAL_VALUE_TRUNCATE): Check for same size as SFmode. + * m68kv4.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Use SIZE instead + of ROUNDED. - * config/*.h: Renamed from tm-*.h. #includes and comments changed. - * configure: Changed accordingly. - * t-*: tm-*.h file names changed. + * m68kv4.h (ASM_OUTPUT_CASE_LABEL): Always use `swbeg' syntax to + output switch table (m68k.md depends on this to happen). - * gnulib2.c (__enable_execute_stack): Renamed function. - * convex.h (INITIALIZE_TRAMPOLINE): Use new name. + * m68kv4.h (LEGITIMATE_PIC_OPERAND_P): Treat a symbol_ref rtx with + SYMBOL_REF_FLAG set a valid PIC operand. -Sun Dec 1 08:57:45 1991 Michael Meissner (meissner at osf.org) + * m68kv4.h (OVERRIDE_OPTIONS): Turn off function cse when doing pic. - * cccp.c (main): Add cast in front of alloca for non GCC compilers. + * m68k.c (output_function_prologue): Use m68k svr4 PIC format to + load the address of _GLOBAL_OFFSET_TABLE_ into PIC_OFFSET_TABLE_REG + in function prologue when doing PIC. -Sat Nov 30 22:33:24 1991 Chris Smith (csmith@convex.com) + * m68k.c (print_operand_address): Always add "@GOT" suffix for the + global object operand when doing PIC. - * config.subr: Recognize -c3*. - New alternatives for convex-c3*. - * configure: Alternatives for convex rewritten. +Mon Mar 1 19:00:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * gnulib2.c (__execute_enable_stack): New function for Convex only. + * c-lex.h (RID_ITERATOR): New alternative. + * c-tree.h (ITERATOR_P, ITERATOR_BOUND_P): New macros. - * gcc.c (do_spec_1): Use \ as quoting char. + * c-typeck.c (build_unary_op): Warn if increment `struct unknown *'. - * convex.h (TARGET_SWITCHES): Add new machine types c32, c34, c38. - Add flag TARGET_INDIRECTS, true for c1 and c2, false for c3. - * convex.h (GO_IF_LEGITIMATE_ADDRESS): Avoid indirect - addressing if ! TARGET_INDIRECTS. + * c-lex.c (init_lex): Set up ridpointers for `iterator'. + But maybe turn it off again. - * convex.h: (BITS_PER_WORD, UNITS_PER_WORD, WORDS_BIG_ENDIAN): - It now works to describe machine correctly. - - * convex.h (SIZE_TYPE, PTRDIFF_TYPE): Make them ints rather - than longs to match usage in /usr/include. - - * convex.h (enum reg_class): Add classes SP_REGS, the stack - pointer, and INDEX_REGS, the remaining A_REGS. - (REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS): Adjust - for new classes. - (INDEX_REG_CLASS, BASE_REG_CLASS): Use INDEX_REGS so gcc will - not index off the stack pointer (register 0). - - * convex.h (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE, - INITIALIZE_TRAMPOLINE): Define. - - * convex.h (INITIAL_FRAME_POINTER_OFFSET): Define. - - * convex.h (RTX_COSTS): Specify costs to prevent multiply - from being synthesized from shifts (which aren't faster). - - * convex.h (NOTICE_UPDATE_CC): No need to do CC_STATUS_INIT, - cc is never looked at. - - * convex.h (VTABLE_USES_MASK, VINDEX_MASK, SET_DECL_VINDEX): - define so g++ works. - - * convex.h: If COLLECT is defined, define output macros for - collect to call. - - * convex*.h: If !traditional, define _LONGLONG and 64-bit - typedefs to prevent types.h from murdering ansi compilations. - - * convex.md (movsi): split into define_expand and two - anonymous define_insns, one that uses indirection and - one that doesn't. TARGET_INDIRECTS selects which. - - * convex.c (output_call): New routine. Scan forward from call - to decide if AP is live, omit AP reload if not. - * convex.md (call, call_value): use output_call. - - * convex.md (bit manipulation peepholes): remove, now done in - combine. - - * convex.md (indirect_jump): Define. - - * convex.c (const_double_{high,low}_int): Just return the - appropriate word, remove slow float computations. - - * math-convex: New file to use builtin instructions. - - * x-convex: Use cc -pcc to bootstrap gcc. - -Sat Nov 30 10:21:26 1991 Ron Guilmette (rfg at ncd.com) - - * tm-i386v4.h (DBX_REGISTER_NUMBER): Different renumbering. - - * tm-svr4.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Changed - so that the progbits parameter actually appears in the definitions. - - * tm-svr4.h (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Adapted - for change in CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP. - -Sat Nov 30 07:05:06 1991 Michael Tiemann (tiemann at cygnus.com) - - * cp-spew.c (follows_{identifier,typename}): New arrays. - * cp-spew.c (init_spew): Initialize new arrays. - * cp-decl.c (lookup_name): takes new parameter PREFER_TYPE. - All callers changed. - * cp-spew.c (yylex): Set LOOKING_FOR_TYPENAME every time we see an - AGGR or ENUM. - - * cp-lex.c (real_yylex): When composing EXTERN_LANG_STRING, call - `real_yylex', not `yylex'. Changed other places that depended on - calling `real_yylex' for their input. - - * cp-spew.c (scan_tokens): Never read past '{' or ':'. Fill the - token buffer with EMPTY tokens in that case. - (yylex): Handle EMPTY tokens. - - * cp-parse.y (structsp): Avoid using `yyungetc' to push a ';' back - on the input stream. - (START_DECLARATOR): New token. - (absdcl): Handle START_DECLARATOR. - * cp-spew.c (consume_token): Renamed from `discard_token'. - (struct token): Changed structure to make it smaller. - (spew_init): Renamed from init_spew. Now called from init_lex. - (scan_tokens): Renamed from slurp_next_token. - Many functions reformatted to match GCC indentation style. - - * cp-lex.c (arbitrate_lookup): Don't guess in favor of type if - yychar is ')'. - - * cp-decl.c (lookup_name): Fixed so that all binding levels use - `looking_for_typename' consistently. - * cp-type2.c (build_functional_cast): Handle new case that we are - called in a context where a method is appropriate (but we parsed it - as a ctor call). - - * cp-call.c (CONST_HARSHNESS): Change bit that we test. - (convert_harshness,compute_conversion_costs): Call CONST_HARSHNESS - consisently when needed. - - * cp-init.c (decl_constant_value): Keep enabled even when - CURRENT_FUNCTION_DECL is null. - -Sat Nov 30 01:23:38 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * sdbout.c (sdbout_init): Just call sdbout_one_type on each type. - - * tm-att386.h (ASM_OUTPUT_ASCII): Output a space after ASM_BYTE_OP. - * tm-sun386.h: Likewise. - * tm-i386.h (ASM_OUTPUT_BYTE, ASM_OUTPUT_CHAR): Likewise. - (ASM_OUTPUT_SHORT, ASM_OUTPUT_LONG, ASM_OUTPUT_DOUBLE): Likewise. - (ASM_OUTPUT_FLOAT, ASM_OUTPUT_ADDR_VEC_ELT): Likewise. - * tm-att386.h (ASM_BYTE_OP, ASM_SHORT, ASM_LONG, ASM_DOUBLE): - Don't end with space. - * tm-sun386.h, tm-bsd386.h: Likewise. - - * c-lex.h: Renamed from c-parse.h. All #includes changed. - * c-parse.c, c-parse.h: Renamed from c-parse.tab.*. - * Makefile.in: Changed accordingly. - (C_OJBS, realclean, TAGS): These changed too. - - * tm-svr4.h (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): - Undef before defining. - - * tm-i386v4.h: Include tm-svr4.h. - (CPP_PREDEFINES): Define SVR4, and several assertions. - (LIB_SPEC): Delete -Qy. LINK_SPEC handles this. - (DBX_REGISTER_NUMBER): New macro. - -Fri Nov 29 22:16:06 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * rs6000.md: Cannot use "muls" and "muli" to do widening multiply - from HImode to SImode; delete the 12 patterns that try to do this. - -Fri Nov 29 21:32:52 1991 Michael Tiemann (tiemann at cygnus.com) - - * cp-cvt.c (build_type_conversion): Don't assume that if - TYPE_HAS_{INT,REAL}_CONVERSION implies that CLASSTYPE_CONVERSION for - the given type combination is non-NULL. - -Fri Nov 29 16:08:22 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * crtstuff.c: New file. Needs papers from rfg. - * Makefile.in (crtbegin.o, crtend.o): New targets. - - * objc-actions.c (build_message_expr): Lots of cleanups. - (build_objc_method_call): New subroutine. - Handles new option NEXT_OBJC_RUNTIME. - - * expr.c (do_jump): Any LABEL_REF is nonzero. - (expand_expr): Construct LABEL_REFs with Pmode. - -Fri Nov 29 14:43:32 1991 Michael Meissner (meissner at osf.org) - - * mips-tfile.c (parse_def): Change an error into a warning. - - * mips.md (fix_trunc??si_opt, mov??_internal): Change '*' constraint - to '!' to keep reload from allocating FP registers from holding - excess integer values. - (ashift right define_splits): Fix typo, so that the long long - arithmetic right shifts are recognized. - (all define_splits): dummy out constraints, since they are not used. - - * mips.c (override_options): Allow int's in FP registers again, now - that ! constraints are used. - -Fri Nov 29 13:20:13 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * dwarfout.c (output_compile_unit_die): Don't include the name - of the compiler which compiled the compiler in the AT_producer - string. It goofs up comparisons of stage2 & stage3 object files. + * c-parse.gperf: Add `iterator' and `__iterator__'. - * c-parse.y, objc-parse.y: Don't declare position_after_white_space - as static; it is now in c-lex.c. + * c-decl.c (grokdeclarator): Handle iterator storage class. + (finish_decl): For iterator, require initial value, make a save_expr. + (init_decl_processing): Call init_iterators. -Fri Nov 29 05:15:26 1991 Michael Tiemann (tiemann at cygnus.com) + * c-parse.in (stmt): Allow all_iter_stmt. + (primary -> statement expression): Push and pop iterator stack. + (stmt -> expr): Use iterator_expand. + (all_iter_stmt): New rule. - * cp-decl.c (xref_tag): Check that TREE_CODE (ref) is aggr type - before storing into CLASSTYPE_DECLARED_CLASS (ref). + * c-typeck.c (readonly_warning): Warn about assignment to iterator. - * cp-decl2.c (build_push_scope): Don't let non-aggr types appear in - `cname::fname' expressions. + * c-iterate.c: New file. + * Makefile.in (c-iterate.o): New target. + (C_OBJS, OBJC_OBJS): Add c-iterate.o. - * cp-class.c (resolves_to_fixed_type_p): VAR_DECL and FIELD_DECL - nodes of ARRAY_TYPE may resolved to fixed type. Also handle other - cases of WITH_CLEANUP_EXPR. + * Makefile.in (gcc.o): Delete dep obstack.h. - * cp-spew.c (frob_identifier): Handle case of a type conversion - operator that converts to a nested type. +Mon Mar 1 07:29:51 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-expr.c (cplus_expand_expr): In NEW_EXPR case, if ARGS is - permanent, build a new arglist instead of modifying it in place. + * integrate.c (subst_constants): Use proper mode when getting + equivalent constant for paradoxical SUBREG in SET_DEST. + (mark_stores): Clean up and tighten to properly handle hard regs. - * cp-typeck.c (convert_arguments): Add ??? to comment about virtual - function conversions. ??? I don't understand what that code is - supposed to do anymore. - (comp_target_parms): If STRICT <= 0, accept types whose - TYPE_MAIN_VARIANTs are equal. + * combine.c (subst, case NOT): If STORE_FLAG_VALUE==-1, treat + an ASHIFTRT of just the sign bit as if it were an LT. + (subst, case XOR): Likewise for STORE_FLAG_VALUE==1 and an LSHIFTRT. + (simplify_and_const_int, case LSHIFTRT): If shifting a sign bit + copy, start shift at the sign bit. + (simplify_shift_const): Likewise for ASHIFTRT. - * cp-call.c (convert_harshness): Revamped to handle contravariance - better. - * cp-class.h (struct candidate): Declaration moved from cp-tree.h. + * combine.c (BYTE_LOADS_EXTEND): Fix typo when defining. + (setup_incoming_promotions): Set modes properly. - * cp-class.c (duplicate_tag_error): New function. - * cp-parse.y (LC): Call it if we're redefining a tag. - * cp-decl.c (duplicate_decls): Only copy DECL_ARGUMENTS from OLDDECL - if non-NULL. Otherwise we get nonsense when we try to parse - inline function bodies of classes that have already been redefined. - * cp-lex.c (reinit_parse_for_method): If we get some text for a - class that's been redefined, flush the text. - * cp-tree.h (TYPE_REDEFINED): New field in `struct lang_type'. + * alpha.md: Add three special-cases of CMP insns against zero. - * cp-cvt.c (convert_to_integer): Only warn about anachronistic - conversion from int to enum if PEDANTIC is nonzero. +Mon Mar 1 06:17:02 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * cp-typeck.c (convert_for_initialization): No longer give warning - messages about bitwise copy: this is currently how the default X(X&) - constructor is implemented. - * cp-init.c (expand_aggr_init_1): Ditto. + * pa.h (CONSTANT_ADDRESS_P): Do not accept symbolic + addresses. + (LEGITIMIZE_ADDRESS): Just a stub now. Call + hppa_legitimize_address to do the real work. - * cp-method.c (dump_init): Handle WITH_CLEANUP_EXPR and TARGET_EXPR. - * tree.c (simple_cst_equal): Handle WITH_CLEANUP_EXPR. Correct - handling of TARGET_EXPR case. + * pa.c (symbolic_expression_p): New function. + (hppa_legitimize_address): Old LEGITIMIZE_ADDRESS moved + here. Handle symbol_ref + displacement addresses. + Use rounding instead of masking off lower bits. + Avoid creating useless pseudos and strip off CONST in + (const (...)) expressions to make processing easier. - * cp-decl.c (grok_reference_init): If DECL is permanent, make it's - DECL_REFERENCE_SLOT permanent as well. + * pa.md (define_split for symbol_ref+int): New define_split for + the combiner. - * cp-cvt.c (build_type_conversion): If PEDANTIC, give message about - conversions which cast away const. +Sat Feb 27 01:57:34 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-decl.c (store_return_init): If PEDANTIC, give error about named - return values. + * c-typeck.c (convert_for_assignment): New arg FUNDECL. Calls changed. + (convert_arguments): New arg FUNDECL. + (build_function_call): Pass function to convert_arguments, if a decl. - * cp-init.c (decl_constant_value): Don't return DECL_INITIAL if - CURRENT_FUNCTION_DECL is null or if the initializer is a - CONSTRUCTOR. + * config.sub: Error if company name is more than one word. + If $os is `sunos...', don't change it to manufacturer's name. -Thu Nov 28 05:29:52 1991 Michael Tiemann (tiemann at cygnus.com) + * enquire.c (fake_f_rep): Clear all of u, initially. + Make the ints in u unsigned. + (f_define): Use ordinary constants for long double + if it's same width as double. + Make __convert_long_double_i unsigned. - * integrate.c (expand_inline_function): When passing objects by - invisible reference, correctly compute the amount of space to be - allocated in the pseudo-frame we create for the inline function. + * va-i860.h (struct __gnuc_va_list): Test __svr4__ like __SVR4__. - * cp-typeck.c (mark_addressable): Add call to - `mark_inline_for_output' that got lost in Nov 25 change. + * config/ns32k/ns32k.h (TARGET_SWITCHES): Reverse defn of 32332. - * cp-decl.c (push_overloaded_decl): If the value of a name is an - ADDR_EXPR, look inside to get the _DECL node. + * expr.c (convert_move): Truncate via word_mode + only if to_mode fits in one word. + Truncate by referring in TO_MODE for any FROM, + but force_reg if nec. - * cp-decl.c (grokdeclarator): Don't convert type of operators new - and delete to METHOD_TYPE; they remain FUNCTION_TYPEs. + * c-decl.c (pushdecl): Nested fn decl gets DECL_CONTEXT iff not extern. - * function.c (expand_function_start): Set TREE_REGDECL bit on - RESULT_DECL if result starts life in a register. + * c-lex.c (check_newline): #line updates input_file_stack->name. - * c-common.c (truthvalue_conversion): Don't treat a CONVERT_EXPR as - a NOP when it or the expression inside it is of REFERENCE_TYPE. + * c-typeck.c (convert_for_assignment): Automatically convert + to a union from its members' types. - * cp-class.c (finish_struct): Test DESTRUCTOR_NAME_P on - DECL_ASSMBLER_NAME, not DECL_NAME. + * config/ns32k/ns32k.h (ASM_OUTPUT_ALIGN_CODE): + Pad with no-op insns. -Wed Nov 27 13:49:10 1991 Jim Wilson (wilson at sphagnum.cygnus.com) + * c-decl.c (grokdeclarator): Make `long long' work even with + -pedantic, despite the warning. - * cse.c (simplify_relational_operation): Correct handling of - COMPARE as first argument. Always strip it off. Don't invert - return value for EQ when !HAVE_cc0. +Fri Feb 26 22:01:32 1993 Ian Lance Taylor (ian@cygnus.com) -Thu Nov 28 20:08:15 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * cccp.c (USER_LABEL_PREFIX, REGISTER_PREFIX): If not defined by + tm.h, set to empty strings. + (enum node_type, special_symbol): Added T_USER_LABEL_PREFIX_TYPE + and T_REGISTER_PREFIX_TYPE, which expand to USER_LABEL_PREFIX and + REGISTER_PREFIX. + (initialize_builtins): New builtin definitions + __USER_LABEL_PREFIX__ and __REGISTER_PREFIX__. - * gmon.c: New file. +Fri Feb 26 18:08:58 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Nov 28 15:02:24 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * Makefile.in (distdir): Depend on cp-parse.y, + and the .c files for the .y files. - * combine.c (subst, case SET): Never make a paradoxical SUBREG of - a REG unless the SUBREG and REG occupy the same number of words. + * c-decl.c (declare_parm_level): Unconditionally store 1. + (pushdecl): Criterion for no warning is, next level up + is a parm level. - * emit-rtl.c: Include flags.h. - (operand_subword): Always look inside floating if -fpretend-float. - * final.c (split_double): Likewise. - * Makefile.in (emit-rtl.o): Includes flags.h. + * Makefile.in (all.cross): Depend on enquire. - * c-lex.c (yylex): Add goto to `L' case. + * libgcc2.c (inhibit_libc): Renamed from inhibit_eprintf. + (L_new_handler): Don't include stdio.h if inhibit_libc. -Thu Nov 28 08:37:02 1991 Michael Tiemann (tiemann at mole.gnu.ai.mit.edu) + * c-typeck.c (process_init_constructor): Error msg change. - * tm-mips.h (ASM_OUTPUT_INT): Use `do {...} while (0)' so it can be - used in if/else constructs. + * gstdarg.h (_VA_LIST_T_H): Test and define this. + * gvarargs.h (_VA_LIST_T_H): Test and define this. -Thu Nov 28 00:23:26 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * gstddef.h (_SYS_SIZE_T_H): Test this and define this. - * tree.h (BUILT_IN_FRAME_ADDRESS, BUILT_IN_RETURN_ADDRESS): - New function codes. - * c-decl.c (init_decl_processing): Declare the functions. - * expr.c (expand_builtin): Implement them. + * xm-pbd.h (USE_C_ALLOCA): Define here. + * pbd.h (USE_C_ALLOCA): Not here. - * gcc.c: Pass to ld all the dirs in LIBRARY_PATH: - (library_prefix): New list of prefixes. - (process_command): Put dirs from LIBRARY_PATH on that list. - (do_spec_1): %D outputs those dirs. - (link_command_spec): Use %D after passing -L options. + * tree.c (simple_cst_equal): New default case handles most + tree codes based on TREE_CODE_CLASS. Delete newly redundant cases + for specific tree codes. - * gcc.c (process_command): Don't require machine suffix - for dirs from COMPILER_PATH or LIBRARY_PATH. + * dbxout.c (dbxout_type): Enable output of subrange types + if use_gnu_debug_info_extensions. + (dbxout_finish_symbol): Enable output of symbols line number. - * cccp.c (main): C_INCLUDE_PATH, etc., add dirs rather than replacing. + * c-typeck.c (initializer_constant_valid_p): + Allow cast of ptr to wider integer. - * Use the TYPE_DECLs to drive dbx and sdb output of type tags. - * toplev.c (rest_of_type_compilation): New function. - (compile_file): Pass list of initial decls to dbxout_init, sdbout_init. - (various): Don't call get_*_types. - * dbxout.c (dbxout_init): Get initial types from that list. - * sdbout.c (sdbout_init): Likewise. - * sdbout.c, dbxout.c: Don't call get_*_types. - (*out_typedefs): New subroutines. - * c-decl.c (finish_struct, finish_enum): Call rest_of_type_compilation. - (pushtags): Record TYPE_STUB_DECL. - * tree.h (TYPE_STUB_DECL): New macro. - * stor-layout.c (chain_type, get_permanent_types, get_temporary_types): - Deleted. - (save_storage_status, restore_storage_status): Don't frob chains. - (layout_type): Don't call chain_type. - - * dbxout.c (dbxout_type_fields): Output `/'-spec after type tag - only if really needed. - -Wed Nov 27 18:52:55 1991 Michael Tiemann (tiemann at cygnus.com) - - * expr.c (expand_expr): Typo in expand_end_bindings, in BIND_EXPR case. - -Wed Nov 27 23:10:48 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * cccp.c (main): Use savestring, not strdup. - -Wed Nov 27 17:10:17 1991 Michael Meissner (meissner at osf.org) - - * mips.c (mips_load_reg3, mips_load_reg4): New global variables to - enable scheduling the second nop for the mfhi and mflo instructions. - (mips_hard_regno_mode_ok): New global array to give the results - of HARD_REGNO_MODE_OK for each register and mode. - (mips_fill_delay_slot): Instead of taking the number of nops as a - parameter, take an enumeration, giving what kind of delay this is. - If the next instruction is a label, put nops before label, not - after. Add support for mflo/mfhi, which need 2 nops if the next - instruction would modify the hi/lo registers. - (mips_move_1word, mips_move_2words): mips_fill_delay_slot calling - sequence changes. Pass mflo/mfhi to schedule nops. - (mips_move_2words): Move DImode to/from hi and lo registers is now - supported. - (function_arg): Correctly align long long parameters, just like - doubles. Also correct typo in debug code. Bug report from - lisa@MicroUnity.com. - (override_options): Initialize mips_hard_regno_mode_ok. Restrict - int's from going in the FP registers, to limit the register - allocator from allocating them instead of using memory. Also, make - the special registers (HI, LO, FPSW) only accept full sized ints, or - a double int for the HI:LO combination. - (compute_frame_size): Don't set the initialized member until reload - has completed, since otherwise the information may change. - - * mips.md (various): Add 64 bit integer operations for addition, - subtraction, negation, and, inclusive or, exclusive or, one's - complement, shifts, and nor. Add 32x32->64 bit support for - multiply, which the compiler then uses to construct 64 bit - multiplies. - (mulsi3): Break mul into it's two instructions, and schedule the - two nops needed for the mflo instruction. Don't allow an integer - multiplier anymore. - (ffssi2): Delete define_expand, and use a second clobber'ed register - to preserve the original input, instead of (clobber (match_dup 1)). - (movsi_ulw): Change mips_fill_delay_slot calling sequence. - (movdi_internal): Allow DImode move from HI/LO to/from GP registers. - (movdi define_split): Add a define_split to separate the two parts - of DImode register pairs when using GP registers. - (movdf define_split): Add a define_split to separate the two parts - of DFmode register pairs when using GP registers. - (mov??_internal): Change condition to call memory_operand, instead - of just checking for MEM, which disallows (subreg (MEM)) during - the intermediate parts of the compilation. Reported by - lisa@MicroUnity.com. - (negsi2): Turn back into a real insn instead of just a - define_expand for subsi3. - (one_cmplsi2): Turn back into a real insn instead of just a - define_expand for norsi3. - (andsi3, iorsi3, xorsi3): Be more liberal than the real machine, and - allow 32 bit constants to improve the code generated for bitfields, - at the expense of potentially not moving the constant out of loops. - (various): Add = constraint to all clobbers. - (fix_trunc*): Go back to old method of using two clobbers, since - unoptimized compiles call abort otherwise, when returning the result - of truncating a float as a function result. - - * tm-mips.h (delay_type): New enum to express different types of - delay slots. - (mips_load_reg3, mips_load_reg4): Declarations for more registers - to check for needing nops. Used by multiply/divide to schedule - the two nops needed after mfhi/mflo if the next instruction would - clobber the register. - (CONDITIONAL_REGISTER_USAGE): If -msoft-float, disable all FP - registers. - (MASK_DEBUG_G): Add comment saying -mdebugg turns of new DImode - patterns, in case the code is wrong. - (HARD_REGNO_NREGS): All FP registers use register pairs, so that - SF in a GP register takes only one register, and SI in a FP - register takes 2. - (HARD_REGNO_MODE_OK): Change macro to reference the array - mips_hard_regno_mode_ok, which is now built in override_options. - (CONST_OK_FOR_LETTER_P): 'N' is now for negative numbers, 'O' is - an exact power of 2, and 'P' is now for positive numbers. - (PREFERRED_RELOAD_CLASS): If -msoft-float, never prefer a FP - register. - (PREFERRED_RELOAD_CLASS_FM): Delete, since nobody uses it. - (FINAL_PRESCAN_INSN): Check for mips_load_reg3 and mips_load_reg4 - being mentioned. Also add a missing tab when more than one delay - slot. - (CONST_COSTS): Make all constant ints cost 0 to lower register - pressure according to Richard Kenner. - (RTX_COSTS): Adjust costs for DI, SF, and DF modes, and add ABS/FFS - costs as well. - (REGISTER_MOVE_COSTS): Bump costs for moving between register - classes, so that reload doesn't try to store int type values in the - floating point registers. - -Wed Nov 27 15:01:52 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * config-gcc.com: Renaming of out-vax.c. - * make-cc1.com: Link dbxout with all languages. Add cp-spew. - - * cccp.c (include_defaults_array): Fix typo. - - * gstddef.h: Handle _STDDEF_H_. - - * configure.bat, Makefile.dos: New files. - - * c-lex.c: New file. All subroutines moved here. - (yylex): Small diffs between C and OBJC merged. - * c-parse.y, objc-parse.y: Deleted from here. - * c-lang.c (lookup_interface): New stub. - * Makefile.in (c-lex.o): New rule. - (OBJC_OBJS, C_OBJS): Changed for new files. - -Wed Nov 27 13:34:15 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) - - * c-parse.y (yylex): Don't assume that long is 32 bits and long - long is 64 bits when warning for out of range integer constants, - and when creating a tree to represent integer constants. - * cp-lex.c (real_yylex): Likewise. - * objc-parse.y (yylex): Likewise. - - * combine.c (simplify_comparison, ASHIFT case): Prevent shift by - HOST_BITS_PER_INT for inequality comparisons. +Fri Feb 26 19:04:36 1992 Karl Berry (karl@cs.umb.edu) - * fold-const.c (operand_equal_p): Arguments are not equal if - signedness differs. Conversions don't match if signedness differs. + * optabs.c (init_libfuncs): Use int instead of enum for + first_mode, last_mode, and mode. - * sparc.md (movsi, movhi, movqi, movdi): Prohibit matches that - would require reloading by the use of conditions. +Fri Feb 26 14:29:22 PST 1992 Ron Guilmette (rfg@netcom.com) - * alloca.c (alloca): Add parens to make precedence clearer. + * c-parse.in (ivar_decls): Give a pedwarn (instead of a warning) for + excess semicolons. - * tm-news.h (PRINT_OPERAND): Add 68040 support so that the compiler - will bootstrap. + * cccp.c (do_include): Correctly report the directive name + when any kind of include directive has no argument or null argument. -Wed Nov 27 09:41:13 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Fri Feb 26 11:27:35 1992 Tom Wood (wood@NeXT.com) - * expr.c (expand_expr, case MIN_EXPR): Fix typo in operand number - in safe_from_p call. + * toplev.c (compile_file): Use pedwarn_with_decl to warn about + functions declared static but not defined. + * c-decl.c (store_parm_decls): Use pedwarn. - * recog.c (indirect_operand): Correctly handle case where we have - a (subreg (mem X) C) after reload. +Fri Feb 26 10:34:33 1992 Brendan Kehoe (brendan@lisa.cygnus.com) -Tue Nov 26 16:24:03 1991 Ron Guilmette (rfg at ncd.com) + * Makefile.in (uninstall): Also remove the g++ manual page. - * dwarfout.c (output_enumeration_type_die): Handle a GNU C - language extension: incomplete enum types. +Fri Feb 26 01:29:53 1992 Paul Eggert (eggert@twinsun.com) - * dwarfout.c (output_type): Fixed bug which causes DIEs for - file-scope tagged types to be generated in a local-scope - under some conditions. + * cexp.y (parse_escape): Don't treat ^ as special after \. - * dwarfout.c (dwarfout_init, dwarfout_finish): Moved code which - generates most of the .debug_aranges entries from dwarfout_init - into dwarfout_finish to avoid m68k assembler bug. +Fri Feb 26 21:37:29 1993 John F Carr (jfc at Athena.MIT.EDU) - * Makefile.in (EXTRA_PARTS): New parameter. - (install-common): Compile the things in EXTRA_PARTS. - (GCC_PASSES, GCC_PARTS): New variables. - (STAGESTUFF, native, enquire, enquire.o): Use them. - (protoize, protoize.o, unprotoize, unprotoize.o, SYSCALLS.c.X): - (gnulib2.ready, collect2, collect2.o, getopt.o, getopt1.o): Likewise. + * varasm.c (make_decl_rtl): Print an error for explicit register + variable whose type cannot be stored in that register. - * tm-svr4.h (CPP_PREDEFINES): Don't define this here. Undef it - so that other files which include this one will be forced to - define it appropriately for the specific target and OS. - (CPP_SPEC): Deleted. - (LIB_SPEC): Add crtend.o as last thing linked in on each link-step. - (STARTFILE_SPEC): Add crtbegin.o as the first thing linked in. - (NO_DOLLAR_IN_LABEL): Added define. Most svr4's don't support $. +Fri Feb 26 17:07:25 1993 Doug Evans (dje@canuck.cygnus.com) - * tm-svr4.h: Added support for the .ctors and .dtors sections - (as for the m88k). - (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): New macros. - * tm-svr4.h (HERE_ASM_OP, ASM_DECLARE_FUNCTION_SIZE): Deleted - define of HERE_ASM_OP and made ASM_DECLARE_FUNCTION_SIZE not - try to use a dot when computing a function's size in a .size - directive (because Tom Wood says that 88open doesn't approve - of dot as an asm operand). + * machmode.def: Added 32-byte int OImode. - * x-genix, x-i386sco, x-xenix (INSTALL): Define as cp. +Fri Feb 26 13:59:23 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) -Tue Nov 26 16:24:03 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * explow.c (memory_address): Use CONSTANT_ADDRESS_P instead of + LEGITIMATE_CONSTANT_P. + (break_out_memrefs): Likewise. - * gcc.c (default_compilers): Pass -A* to cpp. +Fri Feb 26 06:18:40 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Make names unique if unpacked on MSDOG. - * config/*.c: `out-' removed from all file names out-*.c. - * x-hp*: Renamed from x-hp9k*. - * tm-conv1.h, tm-conv2.h: Renamed from tm-convex*.h. - * tm-hp*.h: `9k' removed from these names. - * tm-isi*.h: `68' removed from these names. - * tm-i860b.h, tm-i860bg.h: `sd' removed. - * tm-i860g3.h: Renamed from tm-i860v3g.h. - * tm-i386sun.h: Renamed from tm-sun386i.h. - * tm-sun3o3.h, tm-sun4o3.h: Were tm-sun*os3.h. - * tm-sun3n3.h: Was tm-sun3os3nf.h. - * tm-sun3n.h: Was tm-sun3-nfp.h. - * tm-sun2o4.h: Was tm-sun2os4.h. - * xm-hp320.h: Was xm-hp9k320.h. - * xm-i386sun.h: Was xm-sun386i.h. - * configure: Adjust for those renamings. + * expr.c (expand_expr, case IN_EXPR): Fix numerous small bugs and + make some cleanups. - * configure (m68000-hp-hpux*): Use xm-hp320.h. + * recog.c (constrain_operands, case 'r'): If STRICT, a REG isn't + valid if it is a pseudo even if GENERAL_REGS == ALL_REGS. - * stmt.c (expand_value_return): New subroutine. - (expand_return): Use that. + * alpha.h (LEGITIMIZE_ADDRESS): Add missing args to calls to + expand_binop. - * make-gcc.com: New name for make.com. +Thu Feb 25 17:24:45 1993 Bill Cox (bill@rtl.cygnus.com) - * stor-layout.c (layout_record): Return list of static members. - (layout_type): Lay them out here. + * expr.h: Add prototypes for most expr-related functions. + * jump.c (jump_optimize): Add missing parameter in expand_binop call. - * expmed.c (init_expmed): Use 3 as shift count for shift_cost. +Thu Feb 25 17:50:55 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * x-sco: File deleted. + * toplev.c: No need to #undef ABS; done in rtl.h. - * print-tree.c (print_node): Always be brief for vector elts. + * reorg.c (redundant_insn_p): Fix typo in testing for types of + insns by using GET_RTX_CLASS. -Tue Nov 26 07:42:41 1991 Michael Tiemann (tiemann at rtl.cygnus.com) + * expmed.c (emit_store_flag): Fix typo in testing BRANCH_COST. - * cp-decl.c (grokdeclarator): Fix typo involving ~RID_STATIC. +Thu Feb 25 14:32:31 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) -Mon Nov 25 21:51:09 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * combine.c (set_nonzero_bits_and_sign_copies): Fix typo in + paradoxical set dest handling. - * optabs.c (emit_cmp_insn): If both operands are VOIDmode, - put first operand into register, not second. + * convert.c (convert_to_integer): Delete Feb 19 change. - * alliant.md, gmicro.md, i386.md, m68k.md, ns32k.md, pyr.md: - Don't allow a constant as the first operand to tstxx insns. - * tahoe.md, vax.md: Likewise. - * convex.md: Remove erroneous comment on tstsi. + * fold-const.c (decode_field_reference): Fix force_fit_type call. -Mon Nov 25 20:51:00 1991 DJ Delorie (dj@ctron.com) +Thu Feb 25 07:38:36 1993 Ian Lance Taylor (ian@cygnus.com) - * cccp.c (main): Look in env vars to override header dir list. - * gcc.c (process_command): Likewise. + * fixinc.sco: Use pwd if PWDCMD is not defined. - * gcc.c (execute): Alternate way to get status on MSDOS. - Error for -pipe on MSDOS. - (pexecute): Alternate definition for MSDOS. - (find_a_file): Handle new hook EXECUTABLE_SUFFIX. - (EXECUTABLE_SUFFIX): Add default definition, and alternate for MSDOS. - (P_tmpdir): Add default definition for MSDOS. +Wed Feb 24 18:28:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Nov 25 17:18:52 1991 Michael Collison (collison at osf.org) + * config/vax/vms.h (ASM_OUTPUT_EXTERNAL): Use vms_check_external. + (ASM_GLOBALIZE_LABEL): New definition; use vms_check_external. + * config/vax/vax.c (vms_check_external): New function. - * x-encrose: New file for mmax running OSF/1. - * t-encrose: ditto. + * config/m68k/xm-mot3300.h (NO_SYS_SIGLIST): Defined. - * ns32k.md (movsi): Use new constraint letters 'x' and 'y' - representing the frame and stack pointer. - (movhi,movqi): Add constraints and template code to allow moves - between the floating point and general purpose registers. +Wed Feb 24 16:01:42 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * tm-ns32k.h (REGISTER_MOVE_COST): Use this macro to discourage - moves between the floating point registers and the frame and stack - pointer. Also discourage moves between the fp and general registers. - (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, - REG_CLASS_FROM_LETTER): Add two new register classes representing - the frame pointer and stack pointer respectively. - (GO_IF_NONINDEXED_ADDRESS): Add check to see if register is also a - base register. This causes reload to reject pseudo registers when - REG_OK_STRICT is defined. + * loop.c (consec_sets_invariant_p): Correct REG_EQUAL note checks + to distinguish libcall case from ordinary insn case. - * tm-i386rose.h: New file for 386 running on OSF/1. - * x-i386rose: ditto - * t-i386rose: ditto + * loop.c (add_label_notes): Don't add notes for references to + dispatch tables because jump doesn't. + (find_and_verify_loops): Invalidate loops that contain labels + whose address has been taken. - * config.subr: Added case for 'osf-'. - * configure: Added case for i386-osfrose + * fixinc.svr4 (string.h): Delete 'g' from sed command. - * tm-encrose.h (CC1_SPEC): Simplified so by default it passes nothing. - (ASM_SPEC): Changed so that under OSF/1 with NO_J_SWITCH defined - nothing is passed to the assembler. - (TARGET_DEFAULT): Changed so that, by default, no code is generated - using the static base (sb) register. - (OVERRIDE_OPTIONS): Removed in lieu of the new debug macros - PREFERRED_DEBUGGING_TYPE and DEFAULT_GDB_EXTENSION. - (DEFAULT_GDB_EXTENSIONS): Define it - (PREFERRED_DEBUGGING_TYPE): Use it. + * sparc.md (zero_extendqi*i2): Delete never matched constraints. -Mon Nov 25 17:18:52 1991 Jyrki Kuoppala (jkp at batman.hut.fi) + * i960.c (umulsidi3+1): Delete extra parenthesis. - * ns32k.md (ashlhi3): use addw also on 32532 if shiftcount is 1. - (ashlqi3): likewise. - (addsi3): don't use addr instead of addd on the 32532. +Tue Feb 23 15:09:50 1993 Ian Lance Taylor (ian@cygnus.com) - * out-ns32k.c (calc_address_cost): don't assume unknown RTX codes - have XEXP's which are rtx's. + * Makefile.in (install-headers): Create relative paths for + symbolic links within installed include directory. - * ns32k.md (movsi): don't use addr for the 32532 immed displacements. - (shift patterns): fixed a typo with %$%n. +Tue Feb 23 14:43:46 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * out-ns32.c (calc_address_cost) new function. - tm-ns32k.h (ADDRESS_COST): call calc_address_cost. + * stmt.c (check_for_full_enumeration_handling): Handle nameless type. - * out-ns32k.c (print_operand_address): use error & debug_rtx if error. + * tree.h (CONSTRUCTOR_NAME_FORMAT): Handle NO_DOT_IN_LABEL. - * tm-ns32k.h (CONST_OK_FOR_LETTER_P): constraint 'I' shouldn't - match anything on the 32532 to make negative arithmetic left - shifts behave consistently. + * config/m68k/mot3300.h (NO_DOLLAR_IN_LABEL, NO_DOT_IN_LABEL): Defined. - * ns32k.md (subsf+1): don't use ajdspb on the 32532. + * collect2.c (is_ctor_dtor): Handle NO_DOT_IN_LABEL. - * tm-ns32k.h (CONST_OK_FOR_LETTER_P): positive values not OK for - constraint 'I' if on 32532. +Mon Feb 22 18:06:06 1993 John Hassey (hassey@dg-rtp.dg.com) - * ns32k.md (ashl??): if TARGET_32532, use lsh{d,w,b}. + * m88k.c (output_call): Don't use the delay slot of a bsr.n + to modify the return address, unless -O2 specified. - * ns32k.md (adjusting stack pointer): don't use ajdp{b,w} if not 32532. - - * ns32k.md (isv,insv-1,insv-2,extzv): use constraint K instead of - n for offset. - - * ns32k.md (insv-1): use only register_operand with constraint - "r" for operand 2, insd can't take constant offsets >= 8. - (pattern insv-2): added another insv-like pattern, for - offsettable operand. - (insv): constraint should be "+g". - (pattern before insv): installed an insv-like pattern - with operand 0 having register_operand and SImode. - - * out-ns32k.c (print_operand): define as a void function. - - * ns32k.md (call_value): use operands[1], not operands[0] to check - for CONSTANT_ADDRESS_P. - - * out-ns32k.c (print_operand): eliminate - PRINT_OPERAND_EXTRACT_FLOAT, don't depend on HOST_WORDS_BIG_ENDIAN. - - * tm-ns32.h (INDIRECTABLE_1_ADDRESS_P): use CONSTANT_ADDRESS_P, - not CONSTANT_P. - - * tm-ns32k.h (GO_IF_LEGITIMATE_ADDRESS): checking for CONST_INT - is not right because displacements are not 32-bit. Use - CONSTANT_ADDRESS_NO_LABEL_P instead. - - * tm-ns32k.h (output_move_double, output_shift_insn): New declarations. - - * out-ns32k.c (print_operand_address): Use fatal for errors. - - * ns32k.md (insv, extzv): Replaced with the pattern near insv in 1.40. - - * out-ns32k.c (print_operand): function moved from tm-ns32k.h. - Modified to use PUT_IMMEDIATE_PREFIX, PUT_EXTERNAL_PREFIX; added - macro PRINT_OPERAND_EXTRACT_FLOAT. - - * out-ns32k.c (print_operand_address): replaced the function with - a more clean version, written for gas syntax. - - * ns32k.md (call): #if 0 code which was used when GAS_SYNTAX was not - defined. - (call_value): likewise. +Mon Feb 22 17:36:52 1993 Kresten Krab Thorup (krab at xiv) - * ns32k.md (pattern after ashrsi3): added % before $ so the - pattern works also for gas syntax. - (pattern after ashrhi3): likewise. - (pattern after ashrqi3): likewise. - (pattern after lshrsi3): likewise. - (pattern after lshrhi3): likewise. - (pattern after lshrqi3): likewise. - (pattern after rotrsi3): likewise. - (pattern after rotrhi3): likewise. - (pattern after rotrqi3): likewise. + * objc/core.c (initialize_class): Take Class_t instead of + char* as argument. Callers changed to pass the class. - * ns32k.md (movsf): put #ifndef GAS_SYNTAX part inside #if 0 since - for now we only use GAS syntax. + * objc/core.c (initialize_class): Mark the class + initialized *before* the actual call of "+initialize". This is + needed in case of certain circular dependances between classes. - * tm-ns32k.h (INDIRECTABLE_2_ADDRESS_P): add TARGET_SB as a - condition in addition to CONSTANT_ADDRESS_P. + * objc/object.m (doesNotRecognize): Call sel_getName to get + the name of the selector, and print that. + (subclassResponsibility, notImplemented): Likewise. - * tm-ns32k.h (MEM_REG): use CONSTANT_ADDRESS_P instead of GET_CODE - == SYMBOL_REG, add TARGET_SB to the second-part condition. +Mon Feb 22 00:23:47 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) - * ns32k.md (rotrsi3): fixed a typo NEGATE->NEG + * expr.c (emit_library_call_value): Fix bug in prev change. - * tm-ns32k.h: added a comment about CONSTANT_ADDRESS_P; it's not - strictly according to the spec. + * Makefile.in (install-include-dir): Depend on install-dir. - * tm-ns32k.h: added defaults for ABSOLUTE_PREFIX,IMMEDIATE_PREFIX - etc, using gas syntax. + * convert.c (convert_to_integer): #if 0 the truncated integer warning. - * out-ns32k.c: removed macro FP_REG_P. +Mon Feb 22 15:15:40 1993 James Van Artsdalen (james@bigtex.cactus.org) - * tm-ns32k.h: (ASM_OUTPUT_ALIGN_CODE): changed alignment from 4 to - 2 since GAS syntax is the default assembler syntax now. - (PRINT_OPERAND, PRINT_OPERAND_ADDRESS): defined to call - print_operand and print_operand_address in out-ns32k.c, - respectively. + * fold-const.c (all_ones_mask_p): Really use tmask. - * tm-ns32k.h: New macros TARGET_SB, TARGET_PIC. - Dummy code for trampolines, calls fatal(). - Macro FP_REG_P moved here from out-ns32k.c. - Some reorganizations of blocks. - 68000 -> ns32k. +Mon Feb 22 11:59:09 1993 Michael Meissner (meissner@osf.org) - * tm-ns32k.h (TARGET_VERSION) says GAS syntax. - (TARGET_*) added some empty lines for clarity. + * fold-const.c (all_ones_mask_p): Declare tmask to be `tree'. + (optimize_bit_field_compare) Add missing semicolon. -Mon Nov 25 14:29:39 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Sun Feb 21 20:20:13 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) - * Makefile.in (aux-output.o): Depend on insn-codes.h. + * expr.c (emit_library_call_value): Really pass mem value address + to the library function. - * make-cc1.com: Handle print-rtl.c. +Sun Feb 21 15:15:40 1993 James Van Artsdalen (james@bigtex.cactus.org) - * toplev.c (warn_aggregate_return): New variable. - (W_options): Define option to set it. - * flags.h: Declare it. - * calls.c (expand_call): Print warning if value is aggregate. - * function.c (init_function_start): Likewise. + * fold-const.c (decode_field_reference): Use force_fit_type + instead of convert to avoid truncated integer warning. + (all_ones_mask_p): Likewise. -Mon Nov 25 13:29:50 1991 Per Bothner (bothner at cygnus.com) +Sun Feb 21 13:06:00 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * cp-except.c (init_exception_processing): Fix return type of - longjmp (from int to void). + * pa.md (load high pattern): Rework constraints to reduce %r1 + spillage. -Mon Nov 25 13:11:51 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * pa.md (const_double -> FP pattern): Remove cases which can never + happen anymore. - * rtlanal.c (refers_to_regno_p): Check for `x == 0' on repeat. + * pa.c (print_operand, case 'Y'): Output comparison operators + which will give the right results when one or more operands is a NaN. - * x-mips, xm-vms.h: Change cplus-* to cp-* in comments. - * x-tower (X_CFLAGS): Add missing `-'. +Sun Feb 21 01:38:19 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) - * unroll.c (unroll_loop): When simplifying loops executed only once, - use last_loop_insn not copy_end. + * expr.c (emit_move_insn_1): New subroutine cut from emit_move_insn. + (emit_move_insn): Use that. + * optabs.c (gen_move_insn): Use emit_move_insn_1. + * expr.h (emit_move_insn_1): Declared. -Mon Nov 25 07:45:46 1991 Michael Tiemann (tiemann at rtl.cygnus.com) +Sat Feb 20 20:33:51 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) - * cp-except.c (init_exception_processing): Mark `ExceptionHandler' - constructor and destructor as being TREE_EXTERNAL, and mark the - `ExceptionHandler' type as being interface-only. + * cccp.c: Add declaration for pedwarn_with_line. - * cp-decl.c (maybe_globalize_type): Don't test TYPE_BEING_DEFINED - for ENUMERAL_TYPE. +Sat Feb 20 14:46:25 1993 James Van Artsdalen (james@bigtex.cactus.org) - * cp-class.c (modify_vtable_entry): Disable code which attempts to - encode in a vtable an indirection to another vtable entry. + * fixincludes (SRCDIR): Make absolute from ORIGDIR. + (sys/types.h): Quote variables that might expand with spaces. + Strip quotes from expansion of SIZE_TYPE. + (stdio.h): Fix typo deleting line. - * cp-call.c (build_method_call): Convert FUNCTION to - DECL_MAIN_VARIANT (FUNCTION) once we are going to use it for real. - * cp-init.c (build_delete): Use DECL_MAIN_VARIANT (DTOR). * - * cp-typeck.c (mark_addressable): Use DECL_MAIN_VARIANT (X). +Sat Feb 20 18:41:05 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Nov 25 00:41:14 1991 Per Bothner (bothner at cygnus.com) + * cccp.c (warning_with_line, pedwarn_with_line): New functions. + (rescan): For pedantic, no error if string constant has newline, + just a pedwarn. And don't end the string constant there. - * dbxout.c (dbxout_type): Tiemann's DECL_IGNORED_P optimization (Nov - 20) was a little too drastic: If it succeded, no type info was - emitted at all, which made for syntactically invalid stabs. - Instead, just set 'full=0', - * dbxout.c (dbxout_symbol): Re-write code for TYPE_DECL to be a - little cleaner. It *seems* to work ... +Sat Feb 20 17:25:16 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) -Sun Nov 24 19:32:07 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * fold-const.c (decode_field_reference): Use force_fit_type + instead of convert to avoid truncated integer warning. - * sched.c (update_links): Use PUT_REG_NOTE_KIND to change REG_NOTE. +Sat Feb 20 07:31:32 1993 John Hassey (hassey@dg-rtp.dg.com) -Sun Nov 24 14:53:37 1991 Ron Guilmette (rfg at ncd.com) + * fixincludes: Change "va_list)" to "__gnuc_va_list)". - * cccp.c: Add `return 0;' statements to all do_* functions which - needed them to prevent spurious warnings. Also change plain - `return;' statements to `return 0;' statements where appropriate. +Sat Feb 20 03:19:44 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) -Sun Nov 24 07:37:17 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * fixincludes: Save temp file in ${LIB}. + Use -I${ORIGDIR} when compiling types.c. - * cse.c (cse_insn): When making equivalences of subparts of - a SET, avoid putting a (hard) register in the hash table twice, - each time with different modes. +Fri Feb 19 00:45:41 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * genrecog.c (write_tree_1,change_state): Don't check for a position - containing a '*' since we don't set it to that. - (main): Don't define recog_addr_dummy; no longer used. - * recog.c (recog_addr_dummy): No longer needed; wasn't actually used. - (init_recog_no_volatile, init_recog): Don't set recog_addr_dummy. + * convert.c (convert_to_integer): Warn if integer is truncated + and that changes the value. - * expmed.c (store_split_bit_field, extract_bit_field): Abort if - operand_subword of target returns 0. - * expr.c (convert_move, move_block_from_reg, emit_move_insn): Likewise. +Thu Feb 18 20:15:20 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * combine.c (subst, case SUBREG): Don't allow making a SUBREG of - a hard reg in a mode not valid for that hard reg. - * emit-rtl.c (gen_lowpart_common, operand_subword): Likewise. + * aix386.h: Include aix386ng.h instead of duplicating it. + * 3b1.h (ASM_OUTPUT_CASE_END): Add missing semicolon. - * expmed.c (extract_split_bit_field): Use operand_subword_force. - * expr.c (emit_move_insn): If operand_subword fails for non-const, - use operand_subword_force. + * sparc.c (output_function_prologue): Don't save %f31 to stack. + * sparc.h (STARTING_FRAME_OFFSET): Set to -8. - * expmed.c (expand_mult): Pass OP0 through protect_from_queue so we can - use it in a REG_EQUAL note and check it for being a MEM. + * pbd.h, sol2.h, sparc.h, sysv4.h (CPP_PREDEFINES): Add + -D__GCC_NEW_VARARGS__. + * va-sparc.h (va_start): If __GCC_NEW_VARARGS__ not defined, use + old definition. - * rtl.def (SMIN, SMAX, UMIN, UMAX): New RTL codes. - * fold-const.c (const_binop, case MIN_EXPR, MAX_EXPR): Use MIN and MAX. - (fold, case MIN_EXPR, MAX_EXPR): Check for operands equal; check for - min (x, lowest-value-for-type) and max (x, highest-value-for-type). - (fold, case COND_EXPR): Look for conditionals that are equivalent - to ABS_EXPR, MIN_EXPR, or MAX_EXPR and convert them to the appropriate - expression. - * expr.h (smin_optab, smax_optab, umin_optab, umax_optab): New vars. - * gcc.texinfo (smin, smax, umin, umax): Add documentation. - * expr.c (expand_expr, case ABS_EXPR): Ignore ABS on unsigned types. - If jumps are expensive, we can do ABS with shifts and xors. - (expand_expr, case MIN_EXPR, MAX_EXPR): Try to do using new optabs. - * optabs.c (smin_optab, smax_optab, umin_optab, umax_optab): - Initialize new optabs. - * cse.c (simplify_binary_operation): New cases SMIN, SMAX, UMIN, UMAX. - * rs6000.md (sminsi3, smaxsi3, uminsi3, umaxsi3): New patterns. - * m88k.md (abssi2): Delete pattern; now done in expr.c. + * final.c (end_final): Don't call assemble_zeros with an size + argument of zero. - * rs6000.md (scc): Correct typos in last change. + * move-if-change: Use cmp -s instead of redirecting output to + /dev/null. - * expmed.c (expand_mult): TARGET will only be written once, so - function return register is OK. - Write a REG_EQUAL note so multiplications can be cse'ed. + * calls.c (expand_call): When MAYBE_REG_PARM_STACK_SPACE defined, + if reg_parm_stack_space is zero, set args_size.constant to zero. - * expmed.c (emit_store_flag): Skip trying most sequences of insns - if branches are very cheap (BRANCH_COST == 0). - * expr.c (expand_expr, case COND_EXPR): Check for BRANCH_COST <= 1, - not equal to 1. - Know that emit_store_flag won't do most sequence if branches are very - cheap. +Thu Feb 18 17:43:30 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * tm-vax.h (BRANCH_COST): Define to be equal to zero. + * objc/core.c (__objc_execClass): + Don't assign superclass pointer more than once. -Sun Nov 24 07:07:31 1991 Michael Tiemann (tiemann at cygnus.com) + * objc/record.h (record_store_at, record_get): + Test record_capacity, not record_entries, in assertion. - * cp-decl.c (maybe_globalize_type): Don't globalize a type that's - being defined. + * flow.c (regno_uninitialized): Test global_regs only for hard regs. -Sun Nov 24 05:08:57 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * c-lex.c (yylex): Undo Feb 7 change. + * c-parse.in (program): After extdefs, pop any unpopped binding lvls. - * c-decl.c (finish_struct): Use main variant checking ANSI bitfields. + * Makefile.in (BISONFLAGS): Add -v. - * tm-tower-as.h (ASM_FILE_START): Use output_file_directive. +Wed Feb 17 18:51:51 1993 Karl Berry (karl@owl.hq.ileaf.com) - * gcc.c (process_command): Treat `-' as file name, not option. + * toplev.c (ABS): #undef after including sys/resource.h. -Sat Nov 23 20:28:58 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Wed Feb 17 22:02:09 1993 John Hassey (hassey@dg-rtp.dg.com) - * cse.c (simplify_binary_operation): Remove duplicate code for SFmode - and DFmode; use of REAL_VALUE_TRUNCATE means that all modes can be - handled with the same code. - Truncate result as well as inputs to computations. + * m88k.c (emit_ldst): For large offsets use register index + instead of immediate. - * cse.c (cse_basic_block): Allow recording of destinations in the - final insn of a LIBCALL block. +Wed Feb 17 18:02:26 EST 1993 John Wehle (john@feith.com) - * flow.c (insn_dead_p): Add new argument CALL_OK. - (propagate_block): Pass new arg. - (libcall_dead_p): Indicate that we can accept a CALL when we use - insn_dead_p to see if the destination of the CALL is dead. + * we32k.h (CONST_COSTS): Updated to better reflect + the actual constant costs on a we32k. - * genrecog.c (struct decision): Remove fields `dupcount' - and `reg_class' and all references; they were being set but never - used and are now obsolete. + * we32k.md (truncdfsf2, extendsfdf2): Changed from + define_insn to expand_insn so the optimizer can do + a better job. - * emit-rtl.c (gen_lowpart_common, operand_subword): Don't make - a new REG for the function return value until we after the RTL - is copied for possible inlining; use a SUBREG instead. + * we32k.h (GO_IF_LEGITIMATE_ADDRESS): Added support for + deferred addressing. - * combine.c (can_combine_p): Don't move insn past a volatile ref if - it is an `asm', even if non-volatile. + * we32k.md: Eliminated a jmp pattern and the peephole + patterns which are no longer needed now that deferred + addressing is supported. - * gmicro.md: Fix punctuation problem causing syntax error. +Wed Feb 17 17:55:34 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * tm-rs6000.h (CONST_OK_FOR_LETTER_P): Add `O' and `P'. - * out-rs6000.c (reg_or_neg_short_operand): New function. + * fixincludes (sys/types.h): Replace definition of size_t + based on SIZE_TYPE. - * rs6000.md (attribute "type"): New type `delayed_compare'. - Add define_function_unit for delayed comparisons. - Mark comparison results of certain insns as being delayed for - longer that normal comparison results; add a new missing types - of `compare'. - (seq, sle): Remove special-cases for (const_int 0) operands; use - alternative with constraint of `O' instead. - (sltu, sgeu): Support most constants in second operand. +Wed Feb 17 06:54:42 1993 John Hassey (hassey@dg-rtp.dg.com) - * cse.c (prev_insn_cc0_mode): New variable. - (fold_rtx): When folding CC0, get the mode from prev_insn_cc0_mode. - (cse_insn): Save mode of SET of CC0 in prev_insn_cc0_mode. + * config/m88k/m88k.h (CONST_OK_FOR_LETTER_P): Added 'K'. + * config/m88k/m88k.md: Use 'K' constraint with arith5_operand + predicate. -Sat Nov 23 17:01:47 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Wed Feb 17 03:04:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * expmed.c (init_expmed): Make REG a pseudo, not a hard reg. + * Makefile.in (stmp-fixinc): Renamed from stmp-fixincludes. - * tm-m68k.h (RTX_COSTS): New macro. +Tue Feb 16 14:34:19 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * varasm.c (make_decl_rtl): Get rid of pedantic warning. + * config/sparc/sparc.h (ASM_OUTPUT_IDENT, IDENT_ASM_OP): Defined. - * gcc.c (link_command_spec): Delete code for handling -collect. - (default_compilers): Get rid of the %x for g++. - This is because now collect is always supposed to be run. +Tue Feb 16 02:48:58 EST 1992 John Wehle (john@feith.com) - * tm-vms.h (ASM_OUTPUT_COMMON): Avoid void as type in :? operator. - * tm-sun3.h (ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND): - Likewise. - * tm-vaxv.h (ASM_OUTPUT_ASCII): Declare `s' as unsigned char *. - * tm-crds.h (FUNCTION_EPILOGUE): Don't call FUNCTION_EXTRA_EPILOGUE. + * reload.c (find_reloads_address): Use strict_memory_address_p + to check for valid indirect address. - * configure (i386-dontknow-*, ns32k-*-*): Alternatives deleted. - (m68k-tti2-*): Deleted. - (m68k-tti-*): Renamed from m68k-tti1-*. + * xm-we32k.h: Include xm-svr3.h. Move tm.h include earlier. + (HOST_BITS_PER_LONGLONG, HOST_WORDS_BIG_ENDIAN): Defined. + (USG, bcopy, bzero, bcmp): Deleted. + (alloca): Definition moved before tm.h. - * i860.md (floatsidf2): Escape the doublequotes. +Tue Feb 16 01:28:52 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Makefile.in (final.o): Add insn-codes.h as dep. - (OBJS): Add dbxout.o. - (C_OBJS, OBJC_OBJS): Deleted here. - (CPLUS_OBJS): Deleted cp-dbxout.o. - (cp-dbxout.o): Target deleted. + * c-typeck.c (build_indirect_ref): Avoid *& short-cut if -fvolatile. -Sat Nov 23 06:33:24 1991 Michael Tiemann (tiemann at cygnus.com) +Mon Feb 15 22:22:08 1993 Michael Meissner (meissner@osf.org) - * cp-spew.c (yylex): Don't see TYPENAME if LOOKING_FOR_TYPENAME - is < 0. Definitely see TYPENAME if LOOKING_FOR_TYPENAME > 0. + * mips/osfrose.h (CPP_SPEC): When preprocessing .S files, pass + -traditional if neither -ansi nor -traditional was passed, to + allow the macros which form labels to not give gas heartburn. - * cp-decl.c (grokdeclarator): Any type construction that uses a - struct/union/enum type that is not yet defines pushes that type into - the global namespace. + * i386/osfrose (CPP_SPEC): Ditto. - * cp-spew.c (discard_token): Renamed from `eat_token'. - Also, make all local functions static. Some day we'll use inlining. +Mon Feb 15 02:17:47 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Nov 21 16:06:14 1991 Mark Eichin (eichin at cygnus.com) + * objc-act.c (HASHFUNCTION): insure nonnegative hash even if + addresses are negative. - * Makefile.in: added rule for cp-spew.o +Sat Feb 13 04:16:29 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-parse.y (TYPENAME_SCOPE): added an action, since it is no - longer done in the lexer. - (yyprint): Took out case for TYPENAME_SCOPE. + * c-decl.c (c_decode_option): Handle -Wmissing-braces. + * c-typeck.c (process_init_constructor): Test warn_missing_braces. + * c-tree.h (warn_missing_braces): Declared. - * cp-lex.c (real_yylex): renamed from yylex. Also all of the code - dealing with nested classes has been #if 0'd in favor of the code in - cp-spew.c. +Fri Feb 12 19:40:38 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) - * cp-spew.c (New File): This calls yylex (which is now real_yylex) - and looks ahead as far as possible to bind up nested classes and - pass them on to the parser. + * combine.c (setup_incoming_promotions): Make static. -Thu Nov 21 18:14:11 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) +Fri Feb 12 16:02:52 1993 Per Bothner (bothner@hal.gnu.ai.mit.edu) - * out-sparc.c (output_function_epilogue): Correct parameters in - call to final_scan_insn, write_symbols parameter no longer exists. + * tree.def: Fix typo in comment (TREE_VALUES -> TYPE_VALUES). - * integrate.c (save_for_inline_copying): Use GET_RTX_CLASS. +Fri Feb 12 11:26:28 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) -Thu Nov 21 17:44:46 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * pa.md (rotlsi3): Fix typo, rotate was rotatert in rtl template. - * gcc.texinfo (PCC_BITFIELD_TYPE_MATTERS): Clarify that macro - must always be non-zero unless MEM extv/extzv/insv exist. +Fri Feb 12 07:47:11 1993 John Hassey (hassey@dg-rtp.dg.com) - * romp.md (movdi): Disable define_split when we are moving - between overlapping registers prior to reload to work - around hard-to-fix sched.c bug. + * function.c (reposition_prologue_and_epilogue_notes): Allow + for zero length prologue and epilogue list. -Thu Nov 21 17:14:54 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) +Thu Feb 11 05:55:33 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * jump.c (invert_exp): Correct typo in comment. + * collect2.c (find_a_file): Always reject "./ld". + (main): Pass short name of program as first arg to fork_execute; + ensure argv[0] always gets filename. + (fork_execute): Print name for diagnostic from PROG; filename + comes from argv[0]. -Thu Nov 21 15:34:27 1991 Michael Meissner (meissner at osf.org) + * fixincludes: Don't assume that macros defining IO and CTRL + ioctl codes always use `x'; some use `c' or `g'. - * gcc.texinfo (warning options): Make the documentation agree with - the code, -Wstrict-prototypes and -Wmissing-prototypes are not - turned on via -Wall; -Wnoparenthesis is now spelled - -Wno-parenthesis. - (option header): Mention that -W options take the no- prefix as well - as -f options. + * collect2.c (putenv): New function, copied from gcc.c. + (last_file_name): New variable. + (find_a_file): Ignore name in last_file_name too. + (main): Look at name in COLLECT_NAME and set it to the name we were + called with. + Pass filename used for ld to ld as argv[0]. -Thu Nov 21 08:12:51 1991 Tom Wood (wood at dg-rtp.dg.com) +Thu Feb 11 03:55:39 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * out-m88k.c (check_float_value): Change use of REAL_VALUE_TRUNCATE. - * tm-m88k.h (FLOAT_TO_INT_INTERNAL): Ditto. - (AS_BUG_POUND_TYPE): Simplify. - * tm-m88kdgux.h: Don't need AS_BUG_DOT_LABELS or AS_BUG_POUND_TYPE. + * expr.c (expand_builtin): Move memory_address calls + out of arglist of emit_block_move. -Thu Nov 21 06:47:11 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Wed Feb 10 16:14:09 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * rs6000.md (scc): Add missing '&' in some alternatives of constraints. + * Update Alpha support to latest calling sequence. + * alpha.c (version_string): Declare. + (current_file_function_operand): New function, replaces + current_function_operand. + (print_operand, case 'F'): Case deleted. + (alpha_builtin_saveregs): Reworked to use homed arglists, as + recommended in the calling standard. + (alpha_need_gp): Deleted, code moved into output_prolog. + (alpha_gp_dead_after): Deleted; optimization is not safe. + (alpha_write_verstamp): New function. + (output_prolog, output_epilog): Major rework to update to + current calling standard. + * alpha.h (ASM_OUTPUT_LOOP_ALIGN): Enable, now that assembler fixed. + (SLOW_UNALIGNED_ACCESS): Define as 1. + (ARG_POINTER_REGNUM): Use register number 31 as an arg pointer. + (FRAME_GROWS_DOWNWARD): Do not define. + (STARTING_FRAME_OFFSET): Now is outgoing args size. + (FIRST_PARM_OFFSET): Now 0. + (ELIMINABLE_REGS, etc.): Cannot eliminate gp, but do + eliminate AP in favor of either SP or FP. + (RETURN_IN_MEMORY): All structs or integers larger than 64 + bits get returned via memory. + (SETUP_INCOMING_VARARGS): Use homed arglist mechanism. + (ASM_DECLARE_FUNCTION_NAME): Use proper second arg to .ent. + (ASM_FILE_START): Call alpha_write_verstamp. + (ENCODE_SECTION_INFO): Record when a decl is for a function + in the current file. + * alpha.md (call insns): Always reload gp after a full call. + Use current_file_function_operand to see when we can use BSR. - * a29k.md (negdf2): Fix typo in constraints for SCRATCH in 29050 case. +Wed Feb 10 09:53:00 1993 John Hassey (hassey@wombat.gnu.ai.mit.edu) - * real.h (REAL_VALUE_TRUNCATE): Default is to truncate to float if - mode size is BITS_PER_WORD instead of when mode if SFmode. + * config.sub: removed m88kbcs, changed delta88 and harris to + use sysv3. -Thu Nov 21 01:58:27 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Wed Feb 10 03:29:11 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * dbxout.c (dbxout_type): Test TYPE_BINFO before TYPE_BINFO_BASETYPES. + * c-decl.c (duplicate_decls): Silently accept harmless mismatch + in type of 1st arg of builtin function. -Thu Nov 21 01:45:53 1991 Ken Raeburn (raeburn@cygnus.com) + * c-typeck.c (build_indirect_ref): If arg is void *, just warn. - * cp-parse.y (unary_expr): Break out `new' expressions with - parenthesized types into more basic forms, and handle trailing array - dimensions with an appropriate warning message. +Tue Feb 9 22:15:08 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-class.c (pushclass): For UPType, overload the template name. - (popclass): For UPType, undo the overload. + * alpha.md (fix_truncdfdi2, fix_truncsfdi2): Use `cvttqc', not + `cvttq', to avoid rounding up. - * cp-decl.c (pop_decl_level): Don't look up DECL_NAME slot of a - null pointer. - (pushdecl_top_level): Reworked handling of shadow lists to be - correct. - (lookup_tag): Bypass redefinition error message for UPT as well as - for TEMPLATE_DECL. - (start_decl): Add template decls only to top level. Print message - for non-function, non-class templates. - (finish_decl): Disable code that renames anonymous types; leave it - disabled until we figure out why it was being done in the first - place. - (grokdeclarator): Eliminate hack to deal with destructor templates. - Extend some code handling constructors to handle destructors as - well. Deleted some unnecessary code dealing with function - templates. +Tue Feb 9 18:45:57 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-decl2.c (constructor_name): Treat class template decl like - type decl. + * function.c (promoted_input_arg): New function. + * expr.h: Declare it. + * combine.c (setup_incoming_promotions): New function. + (combine_instructions): Add calls to setup_incoming_promotions. - * cp-lex.c (store_pending_inline): If a function is not to be - compiled, discard its text only if can_free flag is set. +Tue Feb 9 14:04:22 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-decl.c (start_function): For `pre-parsed' functions, only - set extern-inline flag if inline flag is set. - * cp-lex.c (do_pending_inlines): Don't set inline flag for method - templates, regardless of default-inline flag setting. - (process_next_inline): Ditto. + * fixincludes: Fix logic about when to duplicate entries under the + `FILE' link. - * cp-method.c (dump_type): Do something semi-useful with UPT - nodes, instead of crashing. - (fndecl_as_string): For constructor and destructor, use name of - function rather than looking up class constructor name; should be - the same, and it's cheaper this way. - (build_overload_name): Make template-related names unique, as well - as unlikely to be accepted by the assembler. +Tue Feb 9 13:22:28 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-parse.y (yyprint): Handle PRE_PARSED_CLASS_DECL. - (template_def): In case handling destructors, pass new decl to - end_template_decl, rather than ungrokked call_expr node. Rewrote - last derivation. - (scoped_typename): Don't try building from template type; it doesn't - work. - (try_for_typename): Treat typename using template parms like any - other typename. - - * cp-pt.c: New comment at start lists some known problems. - (end_template_decl): Do nothing for error_mark_node. Check - DECL_CLASS_CONTEXT and DECL_EXTERNAL when setting TREE_EXTERNAL - field of template decl. Don't need to pop extra class level for - non-operators any more, but do need to assign class context field. - (instantiate_member_templates): Now returns void. - (tsubst, case FUNCTION_DECL): Process flag fields of method as for - other functions. Handle class context field. Push decl at top - level only if decl context is null. - (tsubst, case TREE_LIST): Use via-public and via-virtual fields. - (do_pending_expansions): Correct handling of methods. - - * cp-pt.c (overload_template_name): If not class-level, push - extra binding level. Disable check that overload hasn't already - been done; for now, it's needed. - (undo_template_name_overload): Pop it. - -Thu Nov 21 00:15:33 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) - - * dbxout.c (dbxout_type_methods): Don't dereference TYPE_NAME and - ctor_name until after checking for non-null methods. - - * sched.c (create_reg_dead_note): New function. Add a REG_DEAD note - for REG to INSN, reusing a REG_DEAD note from the dead_notes line. - (attach_deaths): Add quick exit for many rtx that can't contain a - register. Rewrite REG_DEAD note code to use the new scheme (see - the Nov 1 ChangeLog entry). - (new_insn_dead_notes): Don't add a REG_DEAD note to an insn that - already has one. - (update_links): Must convert REG_UNUSED notes to REG_DEAD when a - register formerly just clobbered is now explicitly set and used in - the new split insns. - -Wed Nov 20 18:02:38 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) - - * c-decl.c, cccp.c: Change all -Wno options to - -Wno- options so as to be consistent with toplev.c, and so as - to also be consistent with the -fno- options. - * objc-actions.c: Add a -Wno-selector option to match the - -Wselector option. - - * gcc.c (default_compilers): Pass all -W options to cpp, so that - -Wno options will be passed along with the -W options that it - understands. - * cccp.c (main): Accept -Wno option counterparts for every - existing option. - -Wed Nov 20 00:03:41 1991 Michael Tiemann (tiemann at cygnus.com) - - * cp-tree.c (lang_output_debug_info): Deleted. - * cp-class.c (finish_struct): Set DECL_IGNORED_P on the TYPE_DECL - nodes for types that should not have their debugging info written - out. - * dbxout.c (dbxout_{symbol,type}): Check DECL_IGNORED_P for - TYPE_DECLs of RECORD_TYPE nodes. - - * cp-decl.c (grok_op_properties): Fix bug in grokking NEW_EXPR - and DELETE_EXPR operators. - * cp-method.c (hack_operator): Deleted. - * cp-init.c (init_init_processing): Use `ansi_opname' for - {NEW,DELETE}_EXPR instead of calling hack_operator and build_opid. - * cp-decl2.c (grokopexpr): Deleted. - * cp-lex.c (build_opid): Deleted. - * cp-class.c (build_instantiated_decl): Deleted. - * All cp-* files: OP_IDENTIFIER is no longer used. - - * cp-parse.y (operator_name): For most cases, Use `ansi_opname' - directly instead of calling `build_opid'. - -Tue Nov 19 16:02:51 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * c-decl.c (xref_tag): If we find wrong kind of type, return it. - (lookup_tag): Fill in pending_invalid_xref_file, ..._line. - - * real.h (REAL_VALUE_TRUNCATE): New argument MODE. - * cse.c (simplify_unary_operation, simplify_binary_operation): - Pass that arg. - * c-parse.y, objc-parse.y, cp-lex.c (yylex): Likewise. - * fold-const.c (combine): Truncate floating result to fit mode. - (fold): Don't add 1 to float constant if that doesn't change the value. - -Tue Nov 19 09:37:36 1991 Michael Meissner (meissner at osf.org) + * cccp.c (main): Fix lineno of "does not end in newline" message. + (finclude): Likewise. - * configure (ns32k-encore-osf): Restore Encore Multimax using the - OSF/rose object format, since the necessary files, such as - tm-encrose.h, are present in the distribution. +Tue Feb 9 12:03:37 1993 Michael Meissner (meissner@osf.org) -Mon Nov 18 21:38:13 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * mips/mips.c (function_epilogue): Avoid integer overflows in + checking whether $31 is the only register saved. + (mips_epilogue_delay_slots): Ditto. - * out-sparc.c (output_cbranch): Always emit a nop before a FP branch - to avoid illegal assembly output. - * sparc.md: Don't define delay slot for FP compare insns. This was - meant to solve the above problem, but fails with insn scheduling. +Tue Feb 9 05:46:17 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * sparc.md (movsi): Must accept 'f' in addition to 'r' because - combine can convert FP hard registers to SImode. + * rtl.h: Undefine ABS; some POSIX systems define it as 1. -Mon Nov 18 13:43:12 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * combine.c (combine_instructions): When calling + set_nonzero_bits_and_sign_copies, set things up so that we + can call get_last value; call record_dead_and_set_regs in loop. + (set_nonzero_bits_and_sign_copies): Handle paradoxical SET. - * rtlanal.c (replace_regs): Correct code that prevents nested SUBREGs. +Tue Feb 9 01:13:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Nov 18 13:43:12 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * c-lex.c (yylex): For wide char constant, use wchar_type_node. + Swallow any preprocessing number as a (possibly erroneous) number. - * c-decl.c (finish_decl): Reinstall lost end_temporary_allocation. + * tree.c (size_in_bytes): Add 2nd arg to force_fit_type. - * tree.h (DECL_LANG_FLAG_8): Deleted. - * print-tree.c (print_node): Don't use it. Do print DECL_IGNORED_P. +Mon Feb 8 07:52:23 1993 Ian Lance Taylor (ian@cygnus.com) -Mon Nov 18 06:59:37 1991 Michael Tiemann (tiemann at cygnus.com) + * configure (*-*-hpux*): Use install-headers-cpio. - * cp-decl.c (value_identifier): Gone, following c-decl.c. Now use - zero DECL_NAME for this purpose. - * cp-typeck.c: Also affected by this change. +Mon Feb 8 07:13:49 1993 John Hassey (hassey@dg-rtp.dg.com) - * c-lang.c, objc-lang.c (lang_output_debug_info): New function. - * dbxout.c (dbxout_type_methods): Fix minor problems arising from - assuming all RECORD_TYPE are C++ RECORD_TYPE nodes. - (dbxout_type): Ditto. + * toplev.c (compile_file): Don't flag global register variables + as unused. -Sun Nov 17 17:33:58 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Mon Feb 8 06:06:58 1993 James Van Artsdalen (james at bigtex.cactus.org) - * tree.c (struct obstack_stack): New slots expression and rtl. - (push_obstacks, push_obstacks_nochange, pop_obstacks): - Save and restore all 4 obstack vars individually. + * i386.md (extendsidi2): Use correct mnemonic for cwtl opcode. - * c-decl.c (start_decl): Call push_obstacks_nochange here. - (push_parm_decl, grokfield): Also here. - (finish_decl): Not here. - Also clean up test for whether to replace DECL_INITIAL with error mark. +Mon Feb 8 05:52:08 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sun Nov 17 14:25:15 1991 Michael Tiemann (tiemann at cygnus.com) + * expr.c (emit_push_insn): If REG is zero, don't set regs here. + * expr.h (MUST_PASS_IN_STACK_BAD_ALIGN): Deleted. + (MUST_PASS_IN_STACK): No problem anymore with nonaligned structs. + * calls.c: Allow passing nonaligned BLKmode structs in regs. + (struct arg_data): New fields aligned_regs and n_aligned_regs. + (expand_call): Set and use these fields when required. + (store_one_arg): Don't pass reg to emit_push_insn if we have + previously formed aligned registers. - * cp-typeck.c (c_expand_return): Be more careful about throwing - away only cleanup generated by 'build_functional_cast'. +Sun Feb 7 23:34:16 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-init.c (build_new): Use TRUE_TYPE instead of TYPE more - consistently, in case TYPE is really an ARRAY_TYPE on its own. + * expmed.c (emit_store_flag): Add missing arg to convert_move. - * cp-dbxout.c: Gone. Now G++ uses dbxout.c. - * cp-tree.h (OPERATOR_NAME_P): Changed to IDENTIFIER_OPNAME_P. - (OPERATOR_TYPENAME_P): Changed to IDENTIFIER_TYPENAME_P. - (OPERATOR_{NEW,DELETE}_FORMAT): Deleted. - * cp-lex.c (ansi_{opname,assopname}): New variables. All cp-* files - changed to use these where comparisons against *_FORMAT were made. - (init_lex): Initialize `ansi_{opname,assopname}' arrays. - Also, update {opname,assignop}_tab grok new ANSI equivalences. - (build_operator_fnname): Changed to build ANSI-style overloaded - names. - * cp-dem.c (optable): Add new ANSI equivalences. - (cplus_demangle): Fixed to recognize new ANSI demangling. Note that - old-style destructors, and possibly other codes were broken by the - (undocumented) 27 Oct changes. - - * cp-decl2.c (grokclassfn): Set DECL_CLASS_CONTEXT here. - * cp-class.c (finish_struct): Don't skip over FUNCTION_DECL that - already has a DECL_CLASS_CONTEXT. - - * cp-except.c (cplus_expand_end_try): Set BLOCK_HANDLER_BLOCK for - blocks that handle exceptions. - (EXCEPTION_NAME_PREFIX): Shorted to "__ex" (from "__exception"). - (EXCEPTION_NAME_LENGTH): Reduced to 4 from 12. - - * dbxout.c (flag_minimal_debug): Define new variable that is - non-zero when symtab output routines can output abbreviated. - (dbxout_type_fields): Move code that writes out debugging info about - fields of RECORD_TYPE and UNION_TYPE nodes from `dbxout_type' into - this function. - (dbxout_type_{method,method_1}): Move code from `dbxout_type' into - these new functions. - (dbxout_type): Now writes out info about basetypes. Also, no longer - need to record info about types having ctors, dtors, or both. GDB - now figures out what it needs to, when it needs to. - (dbxout_symbol): Implement special abbreviated form for C++ classes, - which place their names in both the struct and decl namespaces. - (dbxout_block): Write out special debugging stabs for exception - handler blocks. - - * tree.h (BLOCK_HANDLER_BLOCK): Define new flag to indicate that a - BLOCK is an exception handler block (a `catch' block for C++). - (TREE_VFIELD, DECL_IGNORED_P): New macros. - -Sat Nov 16 22:21:56 1991 Jeffrey A Law (law at super.super.org) - - * tm-m68k.h (CONST_COSTS): Integer values between -128 and 127 - inclusive are very cheap because of moveq. - -Sat Nov 16 00:40:04 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * Makefile.in (install-cross-tools): Avoid clobbering symlinks already - made. Double the $ before the @ in the indirection script. - - * t-decstatn: New file. - * configure: (mips-dec-ultrix*): Use t-decstatn. - - * collect-ld: Always run collect if collect is installed. - - * collect-osf.c, enquire.c, gnulib2.c: Use gstddef.h, not stddef.h. - - * gnulib2.c (__eprintf): Undef NULL. - - * c-typeck.c (build_array_ref): Ref is volatile if array is volatile. - -Fri Nov 15 19:53:41 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) - - * c-typeck.c (build_binary_op_nodefault): Delete ERROR_CODE - argument because it is always the same as CODE. Add new argument - CONVERT_P, and call default_conversion on the operand trees if - true. Rename to build_binary_op. - (old build_binary_op): Deleted because it is now unnecessary. - * c-common.c, c-convert.c, c-decl.c, c-tree.h, c-typeck.c: All - callers and other references to build_binary_op* fixed. - * c-typeck.c (new build_binary_op): Add warning message for - comparisons of signed and unsigned variables that won't give the - expected result due to unexpected sign extension. - - * expr.c (convert_move): Add TFmode support and clean up code. - * optabs.c (init_fixtab): Add TFmode support. - (init_floattab): Likewise. - (expand_float): Likewise. - (expand_fix): Likewise. - (init_optabs): Likewise. - - From Per Bothner: - * collect2.c: Define vfork as fork for USG. Rewrite to not use - prototypes, so it doesn't need gcc for compilation. - (main): No longer uses static sized array for ld arguments, so - that long command lines will work. Vfork ld instead of running - via popen with nm. - (write_hooks): Use type names not variable names in sizeof calls. - -Fri Nov 15 15:01:41 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * fold-const.c (size_int): Properly preserve old obstack settings. - * c-decl.c (finish_decl, grokdeclarator, xref_tag): Likewise. - * stor-layout.c (layout_type): Likewise. - * varasm.c (output_constant_def): Likewise. - * tree.c (push_obstacks_nochange): New function. - - * stor-layout.c (layout_type): Make size of temp type saveable. - * tree.c (saveable_allocation): New function. - - * configure: Comment out certain alternatives not yet updated. - (sparc-unicom-*, m68k-tti1-*, m68-tti2-*): New alternatives. - (m88k-*-v88r32*): New alternative. - (i386-alternate-sysv): New alternative, not sure why. - (sparc-*-sysv*): Commented out--not really supported. - -Fri Nov 15 22:22:32 PDT 1991 Mike Stump (mrs at csun.edu) - - * configure: Recognize only canonical names. Added missing entries - for some configurations that obviously have not been tested in a - while. - - * config.subr: Massive overhaul. It claimed to canonicalize - the machine specification, but it never really did. Now it - does. In general, it is not necessary to specify the os for - popular machines that have a popular os, or given the os, it - can sometimes figure out the vendor. Added in all the old - ways of specifying machines from configure. Also added - support for all (before it was missing a few) of the tm-*.h - files. It now supports the concept of guessing the vendor for - a given CPU type. It now supports the concept of guessing the - os version given the vendor and/or the CPU type. Changed the - default os for vax to ultrix, changed the default os for i386 - to sco. - - * collect-ld: New file. It is useful when compiling C++ programs - on machines that use collect. This includes the decstation. - -Fri Nov 15 14:19:29 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) - - * out-sparc.c: Singlemove_string no longer static. - (emit_move_sequence): Emit sethi/low_sum insn pair for values which - are not arith_double_operands, was missing not. - * sparc.md: DImode sethi pattern now uses singlemove_string to load - a constant into a reg. - * tm-sparc.h (LEGITIMATE_CONSTANT_P): Accept anything except a - floating point constant. - Declare singlemove_string so it can be used in sparc.md. - - * jump.c (jump_optimize): Correct typos in comments. - -Fri Nov 15 08:05:26 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * out-rs6000.c (scc_comparison_operator): Allow non-FP EQ. - - * combine.c (subst, case NEG): Correct shift count in code that - negates ZERO_EXTRACT to SIGN_EXTRACT. - -Thu Nov 14 23:03:46 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * genrecog.c (try_merge_1): Add big new comment. - -Thu Nov 14 19:28:57 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * m68k.md: Fix peephole that merges a stack adjust with a push to - use addqw instead of addql since we know we are incrementing an - address register (sp). - - * loop.c (scan_loop): Rework code that looks for loops starting at the - exit test; don't skip non-jump insns at start of loop and modernize - and clean up code. - - * gcc.texinfo (SECONDARY_RELOAD_CLASS): Update description to - show uses for both intermediate and scratch registers. - * reload.h (SECONDARY_{INPUT,OUTPUT}_RELOAD_CLASS): Default from - SECONDARY_RELOAD_CLASS, if defined. - (HAVE_SECONDARY_RELOADS): Defined if any of the secondary reload - macros are defined. - (reload_secondary_icode, reload_{in,out}_optab): New vars. - * reload.c: Include insn-codes.h. - (find_secondary_reload): New function. - (push_reload): Call find_secondary_reload to process input and - output reloads. Create both secondary and tertiary reloads, - as required. - * reload1.c: Include insn-codes.h. - (init_reload): Initialize reload_{in,out}_optab. - (emit_reload_insns): Handle cases where a secondary reload - is a scratch register and where tertiary reloads are required. - * Makefile.in (reload.o, reload1.o): Now include insn-codes.h. - - * tm-romp.h (SECONDARY_OUTPUT_RELOAD_CLASS): Define to use a BASE_REGS - for symbolic memory locations. - * romp.md (reload_outsi, reload_outhi, reload_outqi): New patterns. - - * expr.c (expand_expr): Pass BRANCH_COST to do_store_flag. - (do_store_flag): Canonicalizations done in emit_store_flag - need to be done here as well. - Test for ffs as well as abs when seeing if scc is expensive. - * expmed.c (emit_store_flag): Correct cases that are open-coded: - Add a few missing cases and correct handling of normalizep. - * combine.c (simplify_shift_const, case IOR): Convert sequence - open-coded by emit_store_flag into LE or (neg (le ..)), as - appropriate. - (simplify_shift_const, case MINUS): Similarly, for GT. - (simplify_comparison): sign_bit_comparison_p now true only if - also comparing against constant zero. - (simplify_comparison, case NOT): If sign bit comparison, just - reverse comparison. - (simplify_comparison, case MINUS): Move case where we subtract - one from the absolute value of something to PLUS, since we - subtract one using a PLUS operation. - (simplify_comparison, case MINUS): Handle GT case done by - emit_store_flag. - (simplify_comparison, cae IOR): Similarly, for IOR. - - * tm-rs6000.h (BRANCH_COST): Define as 2. - * rs6000.md (scc): Allow some more cases. - (new scc patterns): Add numerous patterns to reflect superoptimizer - results for scc insns on RS/6000. - -Thu Nov 14 16:42:19 1991 Michael Meissner (meissner at osf.org) - - * mips-tfile.c (all): Change small allocation requests to use - separate allocation and free functions, instead of using the word8 - union to hold each request. In order to support this easily, a free - field was added to each small structure that is released. - (main): If debugging, print a summary of the number of small - allocations, frees, and the number of pages used. - (add_procedure, copy_objects): Stuff the pointer to the end symbol - into the shash chain, and use it's value to generate the new value - for the computed end block. This is much safer than trying to - calculate this on the fly. - (main): Don't try to avoid using malloc by setvbuf'ing the streams - we use. - -Wed Nov 13 23:47:10 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) - - From tege@sics.se: - * sparc.md: In DF load peephole, use operands not xoperands, so - that output_asm_insn will use the right values. - - * tm-sun3.h, tm-sun2os4.h: Define PTRDIFF_TYPE, SIZE_TYPE, - WCHAR_TYPE same as tm-sparc.h. - - * c-decl.c (finish_function): Don't clear current_function_decl - for nested functions. - - * dbxout.c: Include insn-config.h and reload.h. - (dbxout_symbol): Pass DECL_RTL (decl) through eliminate_regs before - using. - (dbxout_parms): Pass DECL_RTL and DECL_INCOMING_RTL of parms through - eliminate_regs before using. - * sdbout.c: Include insn-config.h and reload.h. - (sdbout_symbol): Pass DECL_RTL (decl) through eliminate_regs before - using. - (sdbout_parms): Pass DECL_RTL and DECL_INCOMING_RTL of parms through - eliminate_regs before using. - * Makefile.in: Update dependency lists for dbxout.c and sdbout.c. - - * combine.c (try_combine): Don't pass sets with (USE (MEM ...)) - dests to reg_referenced_p. - -Wed Nov 13 21:38:03 1991 John Bunda (bunda at cs.utexas.edu) +Sun Feb 7 16:13:05 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu.edu) - * reload1.c (gen_input_reload): If IN is a PLUS whose second arg - is the same as the reload register, swap the args of the PLUS. + * calls.c (struct arg_data): New field MODE. + (expand_call, store_one_arg): Use it to ensure that all args get + promoted if requested, not just those passed in registers. -Wed Nov 13 14:43:09 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) - - * tm-sparc.h (OPTIMIZATION_OPTIONS): Don't redefine options set in - toplev.c, only effect flag_omit_frame_pointer. - - * sparc.md: Delete obsolete sign_extract and zero_extract patterns. - We get better code without them. - (indirect_jump, tablejump): Extend indirect_jump pattern to accept - any address, not just a register. Add tablejump like pattern which - also accepts any address. - - * unroll.c (final_biv_value): Make sure the initial value of the biv - is invariant if it is used after the loop. - -Tue Nov 12 23:16:51 1991 Michael Meissner (meissner at osf.org) - - * tm-mips.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Correct so - ASM_OUTPUT_REG_PUSH actually does a push instead of pop, and vica - versa. Also make ASM_OUTPUT_REG_POP turn on .set noreorder, and - increment the appropriate -mstats load delay counters. - -Tue Nov 12 22:53:45 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * expr.h (BRANCH_COST): Supply default value here. - * jump.c (BRANCH_COST): Don't default BRANCH_COST here. - - * global-alloc.c (global_alloc): Use proper entry in eliminables - when searching for the frame pointer. - -Tue Nov 12 22:23:36 1991 Jim Wilson (wilson at sphagnum.cygnus.com) - - * expr.c: (expand_expr, MIN_EXPR case): Check for const_true_rtx - not const1_rtx as return value from compare_from_rtx. - (do_jumps_by_part_greater): Handle const0_rtx and const_true_rtx - return values from compare_from_rtx. - (do_jumps_by_part_equality, do_jumps_by_part_equality_rtx): Likewise. - - * sched.c (sched_analyze_2): Correctly handle ASM_OPERAND and - ASM_INPUT rtx. Volatile and traditional asm statements are - assumed to use and clobber all hard registers and all memory. - (schedule_block): Delete code that incorrectly handles ASM_OPERAND - and ASM_INPUT rtx by exiting early. - -Tue Nov 12 15:38:56 1991 Tom Wood (wood at dg-rtp.dg.com) - - * sched.c: Introduce names for various priority values. Reduce - LAUNCH_PRIORITY to avioid wrap-around in launch_link. - -Tue Nov 12 14:21:52 1991 Per Bothner (bothner at cygnus.com) - - * cp-lex.c (init_lex): Exception-handling fixes. - * cp-tree.h: Add new OPERATOR_CHARS_P that is like - OPERATOR_NAME_P, except if takes a (char*), not a tree. - * cp-dbxout.c (dbxout_type_methods): Handle operators - specially when chopping prefix for minimal_debug. - - * config/tm-news.h: In PRINT_OPERAND, recognize new 68040 - operand types. Add definition of CPP_DEFINES for cross-compiling. - -Tue Nov 12 13:11:01 1991 Michael Meissner (meissner at osf.org) - - * protoize.c (__OSF1__ ifdef): Remove OSF/1 specific ifdefs, since - the problem they address has been fixed, and the ifdefs now cause - spurious warnings. - - * tm-mips.h (INT_TYPE_SIZE): Define. - (SHORT_TYPE_SIZE): Define. - (LONG_TYPE_SIZE): Define. - (LONG_LONG_TYPE_SIZE): Define. - (CHAR_TYPE_SIZE): Define. - (FLOAT_TYPE_SIZE): Define. - (DOUBLE_TYPE_SIZE): Define. - (LONG_DOUBLE_TYPE_SIZE): Define. - - * out-mips.c (block_move_load_store): New commn function to create - one load and store for the block move functions. The load is - emitted directly, and the store is returned, to be emitted later. - (block_move_sequence): Call block_move_load_store. For straight - line moves, have two outstanding loads before a store, for newer - machines that want two delay slots. - (block_move_loop): Call block_move_load_store. Move 4 words per - loop, for a loop that moves 16 bytes in 11 cycles if aligned, and 16 - bytes in 19 cycles if not aligned. - (block_move_memcpy): Change argument names for consistancy. - (expand_block_move): Always move address into a register, even for - one byte moves. Fix bugs in calling memcpy. If moving a large - constant amount of unaligned data, emit a runtime check to see if - the data is really aligned, and if so do an aligned move, otherwise - an unaligned move loop. - - * mips-tfile.c (toplevel): Make some changes, so that mips-tfile can - be debugged on OSF/1. - (efdr structure): Align identifiers in declaration. - (cur_proc_value): Delete variable. - (cur_oproc_begin): New global to record original proc .ent symbol. - (cur_oproc_end): New global to record original proc .end symbol. - (add_procedure): Set cur_oproc_begin, cur_oproc_end variables - instead of cur_proc_value. - (parse_begin, parse_end): Add check for cur_oproc_begin being set. - (parse_end): Use cur_oproc_end's value node for new value node. - (main): Add cast to free_multiple_pages call. - -Tue Nov 12 08:57:39 1991 Tom Wood (wood at dg-rtp.dg.com) - - * jump.c (jump_optimize): Merge the "if (...) x = 0;" case with - the "x = a; if (...) x = b;" case. - -Mon Nov 11 19:27:03 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * cp-cvt.c (convert_pointer_to): Correctly get type of a TREE_VEC - object. (This patch is from someone at Cygnus.) - - * combine.c (try_combine): Add missing parens. - -Mon Nov 11 19:26:24 1991 Ron Guilmette (rfg at ncd.com) - - * c-typeck.c (build_binary_op_nodefault, convert_for_assignment): - A (void *) object is compatible with a function pointer if it is - the constant zero. - (build_conditional_expr): Properly check for pointers to functions. - -Sun Nov 10 19:59:12 1991 Michael Meissner (meissner at osf.org) - - * cccp.c (make_undef): Fix by off by one error. - (MIN, MAX): Add #undef, in case some system include file defined - these macros. - -Sun Nov 10 10:34:17 1991 Michael Tiemann (tiemann at cygnus.com) - - * cp-decl2.c (grokfield): Set TREE_EXTERNAL on static const - decls that are either uninitialized in their initial declaration, - or initialized by something we cannot evaluate at initial - declaration time. - - * cp-init.c (build_new): Make `operator new' with placement cast - its return type to the type of the object being allocated. - - * cp-typeck.c (commonparms): If the last element of P1 is - VOID_LIST_NODE, use that. - - * stor-layout.c (layout_record): Return PENDING_STATICS. - (layout_type): Don't commit static members to a particular mode - until REC has been laid out completely. - -Sat Nov 9 23:16:51 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * cccp.c (fancy_abort): Don't declare as static. - -Sat Nov 9 20:38:30 1991 Michael Tiemann (tiemann at cygnus.com) - - * cp-decl.c (push_overloaded_decl): Don't cons new decl to - existing ERROR_MARK_NODE. If the old decl was erroneous, just - ignore it. - - * cp-call.c (ideal_candidate): Fix typo in error message. - -Sat Nov 9 14:13:46 1991 Jeffrey A Law (law at super.super.org) - - * tm-hp9k2bsd.h (MULSI3_LIBCALL): New define which avoids - the use of __mulsi3 for signed integer multiplication. - (UMULSI3_LIBCALL, DIVSI3_LIBCALL, UDIVSI3_LIBCALL): Likewise. - (MODSI3_LIBCALL, UMODSI3_LIBCALL): Likewise. - -Fri Nov 8 12:05:39 1991 Per Bothner (bothner at cygnus.com) - - First cut at ANSI-style exception handling (using - syntax and semantics of Stroustrup 2nd ed). - THIS IS WORK IN PROGRESS! - * cp-tree.h: Declare flag_ansi_exceptions. - * gplus.gperf: Add 'throw' (for ANSI exception handling), - and update private/protected/public from (old) cp-lex.c. - * cp-hash.h: New file, generated from gplus.gperf. - * cp-lex.c: #include cp-hash.h, instead of requiring - manual cut-and-paste when keywords are changed. - * cp-lex.c: Commented out some extern declarations that - were conflicting with inlines in cp-input.c. - Hooks for ANSI-style exception handling. - * cp-parse.y: Parse ANSI-style exception stuff. - * cp-decl2.c: Define new flag flag_ansi_exceptions. - * cp-decl2.c (finish_table): Off-by-one error in - calculating index type. - * clus-decl2.c (finish_vtable_vardecl): Add missing - TREE_OPERAND to get dossier decl. - * cp-except (cplus_expand_start_except): Allow NULL name, - since there is no distinguished name for ANSI exceptions. - * cp-except (cplus_expand_raise): Too few - parameters to expand_expr; add them. - * cp-except.c: New functions for ANSI exceptions: - cplus_exception_name, ansi_exception_object_lookup, - cplus_expand_throw, ansi_expand_start_catch. - These are heavily hacked from similar old functions. - - Try to make -fdossier work better (but more work is needed). - (Especially, generate fewer unneeded descriptors.) - * cp-class.c (add_virtual_function, finish_struct): Do not - create a vtable just because of -fdossier. - * cp-gc.c: Each type points to an array of fields, - instead of an array of pointers to fields. Ditto for methods. - This saves one pointer per field or method by removing - unneded extra indirection. Also other tweaks to save space. - * cp-decl.c (init_decl_processing): Add length of - field and method arrays to descriptors, instead of - relying on NULL-termination (since we no longer have - the extra pointer array). - Make the parameter count and required count of - method descriptors be shorts. - * cp-method.c: Remove no-longer-needed functions - build_i_desc_overload and build_m_desc_overload. - - Other C++ fixes: - * cp-dbxout.c (dbxout_symbol): Class types were - emitting only a "t" spec which made gdb unhappy. - Kludged it so that it once more emits "Tt". - * cp-tree.c (lang_output_debug_info): Do emit debugging - info if this implementation file corresponds the the - type's interface, even if nothing is written. - -Fri Nov 8 08:18:55 1991 Tom Wood (wood at dg-rtp.dg.com) - - * tm-m88k*.h: Fix comments, minor cleanups. - -Thu Nov 7 16:21:05 1991 Torbjorn Granlund (tege at mole.gnu.ai.mit.edu) - - * longlong.h (__ibm032__): Fix operand order for add_ssaaaa and - sub_ddmmss. - -Thu Nov 7 12:47:14 1991 Michael Meissner (meissner at osf.org) - - * tm-mips.h (MIPS_VERSION): Bump meissner version number to 3.3. - (PCC_BITFIELD_TYPE_MATTERS): Define this to be 1. - - * out-mips.c (block_move_loop): New function to generate a loop to - do a block move. - (block_move_call): Pass the source, destination, size as separate - arguments, rather than a pointer to an array of operands. - (expand_block_move): Change block_move_call calling sequence. - (expand_block_move): If moving big aligned items, generate a loop to - do it, rather than calling memcpy/bcopy. - (override_options): If -msoft-float, 'f' constraint picks GP - registers. +Sun Feb 7 13:12:23 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * t-decrose (collect): Use ALL_CFLAGS instead of CFLAGS, since this - gets the shared library flags in x-decrose. + * c-lex.c (yylex): At eof, if binding levels not popped, + imagine some close-braces to pop them. -Thu Nov 7 07:57:36 1991 Tom Wood (wood at dg-rtp.dg.com) +Sun Feb 7 10:54:42 1993 Chip Salzenberg (chip@tct.com) - * tm-m88k.h (MEMORY_MOVE_COST): Define. - (TARGET_88*): Fix. + * fold-const.c (fold): Call force_fit_type with two parameters. -Wed Nov 6 19:07:42 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * fold-const.c (force_fit_type): Don't examine the tree until + it is known to an INTEGER_CST. If it isn't, just return. - * a29k.md (negsf2, negdf2): Add missing CLOBBER in 29050 case. +Sat Feb 6 20:26:09 1993 James Van Artsdalen (james at bigtex.cactus.org) - * jump.c (jump_optimize): When looking for a conditional jump - skipping an unconditional jump, be sure the conditional jump is - not an unconditional jump. + * byteorder.h (386 htonl,htons): Avoid hard-coded register usage. - * combine.c (try_combine): If we make an unconditional jump, - be sure it is followed by a BARRIER. - (subst, case SET): Convert (set (pc) (return)) to (return). +Sat Feb 6 20:23:02 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Nov 6 13:41:55 1991 Tom Wood (wood at dg-rtp.dg.com) + * config/m68k/m68k.md (movqi): For special case of moving byte + to stack, push into low byte and then copy to high byte. + For case of moving to/from address reg, exchange it with d0. - * tm-m88kv3.h, xm-m88kv3.h: Renamed from *m88ksysv3*. +Fri Feb 5 19:58:26 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Nov 6 09:27:16 1991 Michael Meissner (meissner at osf.org) + * stmt.c (expand_expr_stmt): Bypass fetching a volatile value + if it is VOIDmode. - * tm-mips.h (MIPS_VERSION): Bump meissner version number to 3.2. - (TARGET_SWITCHES): Add -msoft-float and -mhard-float. - (GP_RETURN): Use GP_REG_FIRST as base of GP registers. - (FP_RETURN): Use FP_REG_FIRST as base of FP registers. If - -msoft-float, make $2 be the return register. - (GP_ARG_FIRST, GP_ARG_LAST): Use GP_REG_FIRST as 1st GP reg. - (FP_ARG_FIRST, FP_ARG_LAST): Use FP_REG_FIRST as 1st FP reg. +Fri Feb 5 18:27:27 1993 Jim Wilson (wilson@geech.gnu.ai.mit.edu) - * mips.md (ffssi2, ffssi2_internal): Fix ffs builtin so that it - doesn't clobber the input argument by turning it into a - define_expand, and using a parallel operation including the - necessary clobber's. - (abssi2, ffssi2, ffssi2_internal): Use the 'd' constraint which only - matches the integer registers, rather than 'r' which can match - floating point registers as well. + From Fred Fish (fnf@fishpond.cygnus.com) + * config.sub (i[34]86sol2): New abbrev for i[34]86-unknown-solaris2. + * configure (i[34]86-*-solaris2): New config for Solaris 2, x86. + * crtstuff.c (__do_global_ctors_aux): Use FORCE_INIT_SECTION_ALIGN + to avoid Solaris 2, x86 linker bug. + * config/i386/{sol2-c1.asm, sol2-ci.asm, sol2-cn.asm}: New runtime + support files for Solaris 2, x86. + * config/i386/{sol2.h, t-sol2}: New config files for Solaris 2, x86. - * tm-mips-news.h (CPP_SPEC): Add -Dnews7300, -Dsony_news, -Dmips, - and -Dhost_mips. + * sparc.h (EXTRA_CONSTAINTS): Delete 'R' support. + (CONST_OK_FOR_LETTER_P): Correct 'K' comment. -Wed Nov 6 08:46:54 1991 Mark Eichin (eichin at cygnus.com) + * caller-save.c (CEIL): Delete. + (restore_referenced_regs): New var NUMREGS. Pass NUMREGS to + insert_save_restore instead of using using CEIL. - * cp-class.c (add_method): when adding a new constructor or - destructor, actually chain onto method_vec[0] rather than replacing - the list with the current entry. + * sched.c (true_dependence, anti_dependence, output_dependence): + Assume that MEM_IN_STRUCT_P QImode varying addresses can overlap a + non-MEM_IN_STRUCT_P fixed address. -Wed Nov 6 07:04:55 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * i960.c (legitimate_address_p): Accept either REG or SUBREG where + a register is valid in an address. - * expr.c (store_field): Handle case where we are storing into a BLKmode - field of an object that is in a register. - (expand_expr, case COMPONENT_REF): Handle case where we are extracting - a BLKmode field from an object in a register. + * configure (*-*-sco*): Set install_headers_dir to cpio instead of tar. -Tue Nov 5 22:16:39 1991 Michael Meissner (meissner at osf.org) + * cccp.c (finclude): Error if try to include a directory. + (S_ISDIR): Add a default definition. - * tm-mips.h (target_flags): Delete second declaration. - (MASK_G0, MASK_G1, MASK_G2): Delete, since -G xx now works to set - the size of the small data/bss area cutoff. - (MASK_G012_USED, MASK_G012_NUSED): ditto. - (TARGET_GVALUE): ditto. - (TARGET_G012_USED): ditto. - (TARGET_SWITCHES): Delete -mGx, -mno-Gx switches. - (TARGET_DEFAULT): Set to 0 instead of MASK_G012_NUSED. +Fri Feb 5 10:24:35 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * tm-decrose.h (TARGET_DEFAULT): Eliminate MASK_G012_NUSED. + * toplev.c (lang_options): Remove `-fSOS' and `-fno-SOS'. - * out-mips.c (override_options): Remove support for -mGx and -mno-Gx - switches to set the cutoff size for small data/bss. + Wed Feb 3 16:34:58 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * mips.md (abssi2): Add new pattern. - (ffssi2): Add new pattern. + * cp-decl.c (init_decl_processing): Add __builtin_args_info. -Tue Nov 5 18:36:29 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + Wed Feb 3 12:47:02 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * gcc.texinfo (MEMORY_MOVE_COST): Document new macro. - * regclass.c (MEMORY_MOVE_COST): Default it to 2. - (regclass, reg_class_record): Use MEMORY_MOVE_COST, not constant 2. - (regclass): Look at result of single_set instead of checking again if - pattern is a SET. - * tm-rs6000.h (MEMORY_MOVE_COST): Add definition. + * cp-class.c (finish_struct_methods): Avoid creating a circularity + when putting ctors and dtors at the front of the list. -Tue Nov 5 17:01:05 1991 Ken Raeburn (raeburn at cygnus.com) + * cp-init.c (build_new): Call c_sizeof_nowarn, not c_sizeof. + (build_delete): Likewise. - * cp-pt.c (tsubst): For char_type_node, just build variant and - return it. - (tsubst, case FUNCTION_DECL): Walk methods more efficiently. + Tue Feb 2 09:57:29 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-pt.c (overload_template_name): Push a binding level, to - separate template name binding from method parameters. Check - identifier value slots for TYPE_DECLs, not RECORD_TYPEs. Don't need - to do extra push of TYPE_DECL for template name. - (undo_template_name_overload): Pop it. Don't need to explicitly - clear template name binding. + * cp-lex.c (yyprint): Make non-static. - * cp-ptree.c (print_lang_decl): For FIELD_DECL, don't try to - print fields that go off the end of the lang_decl_flags structure. + Mon Feb 1 17:09:19 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-pt.c (pop_template_decls): Don't explicitly clear out value - slots of identifier; let poplevel/poplevel_class do it. + * cp-lex.c (real_yylex): Use pedwarn for exceeding the range of a + double. - * cp-pt.c: Use build_lang_decl insteaed of build_decl for - all TEMPLATE_DECL and TYPE_DECL nodes. + Sat Jan 30 13:09:35 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-tree.h (make_anon_name): Declare it. + * cp-method.c (hack_identifier): Also check for VALUE being a + RESULT_DECL before looking for the DECL_REFERENCE_SLOT. - * cp-pt.c (unify): Deleted unreachable code. + * cp-decl2.c (bad_specifiers): Pass OBJECT into error. - * cp-decl.c (push_overloaded_decl): Fixed typo from merge. - (start_decl): Ditto. - (grokdeclarator, case CALL_EXPR): Remove debug_tree call - accidentally left in. Handle constructor templates specially, like - destructor templates. Removed some commented-out code. - (grokdeclarator, case SCOPE_REF): If the type is uninstantiated, - treat it like any other aggregate type code. + Fri Jan 29 11:46:46 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-lex.c (identifier_typedecl_value): If no binding slot from - the identifier is the right type decl, use the type name if it is - non-null, even if the name doesn't match. - (build_lang_decl): If new decl node is TREE_PERMANENT, make sure the - lang-specific info gets allocated that way too; don't assume that - the current obstack is permanent. - (copy_decl_lang_specific): If decl is TREE_PERMANENT, assert that - the current obstack is permanent. + * cp-class.c (alter_visibility): Forbid reducing the visibility of a + public member of the derived class. - * cp-parse.y (template_def): Delete derivations that were - purportedly for constructors; they didn't work. - (notype_declarator): Deal with them here. - (template_instantiate_once): Copy decl node with permanent obstacks, - thereby clearing the chain pointer, before pushing it into top - level. - (structsp): Don't need to undo template name overload here. - (scoped_typename): Want TYPENAME with template type, not PTYPENAME. + * cp-typeck.c (comp_target_parms): Give a contravariance warning + with P2, not P1, since P1 is the established value, not the argument + that's coming in for a match. -Tue Nov 5 13:46:06 1991 Tom Wood (wood at dg-rtp.dg.com) + * cp-decl.c (start_method): When printing out the class name for a + duplicate definition, be sure to avoid a null context with the + second definition. - * sdbout.c (sdbout_init, sdbout_symbol): Don't reverse the - permanent types. + Tue Jan 26 15:39:54 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cccp.c (make_definition): Eliminate previous change associated - with pretty-printing strings passed to do_define. - (pass_thru_directive): Move pretty-printing here. + * cp-pt.c (lookup_template_class): Try to use the class value if + there's no global value. -Tue Nov 5 11:21:34 1991 Michael Meissner (meissner at osf.org) + Mon Jan 25 15:59:21 1993 Mike Stump (mrs@cygnus.com) - * tm-mips-news.h (ASM_SPEC, LINK_SPEC): Correctly pass -EB instead - of -EL, since the Sony News system is big endian not little endian. + * cp-call.c (build_method_call): Remove TYPE_NEEDS_WRAPPER cruft. -Tue Nov 5 09:54:08 1991 Tom Wood (wood at dg-rtp.dg.com) + Sat Jan 23 12:13:24 1993 Niklas Hallqvist (niklas at della.appli.se) - * tm-m88kv4.h, t-m88kv4, x-m88kv4: Renamed from *m88ksysv4*. + * cp-class.c (finish_struct): See to that static members whose type + is the class they're declared in gets a correct mode. -Tue Nov 5 06:36:07 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + Mon Jan 25 11:04:23 1993 Niklas Hallqvist (niklas at della.appli.se) - * cse.c (simplify_relational_operation, unsigned comparisons): Don't - simplify unless mode of operand is a MODE_INT mode. + * cp-decl.c (define_label): Don't report crossings of any internal + entity initializations. Don't dereference NULL. - * Makefile.in (*CFLAGS): More clearly document the purposes of each - of the flags. Add X_CFLAGS and T_CFLAGS for x-* and t-* to override. - * x-decrose, x-hp9k320g, x-i386isc, x-m88ksysv4, x-mips, x-tower: - Override X_CFLAGS instead of CFLAGS or INTERNAL_CFLAGS. - * x-vax: Likewise. - * x-sco: Don't include XCFLAGS in definition of CFLAGS. + Wed May 13 21:44:05 1992 Niklas Hallqvist (niklas@appli.se) - * gstddef.h: Renamed from stddef.h. - * Makefile.in (USER_H, install-common-headers): Install gstddef.h as - stddef.h. + * cp-decl2.c: Support for NO_DOT_IN_LABEL. + * cp-tree.h: Likewise. + * cp-method.c: Likewise. -Mon Nov 4 17:54:04 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cp-except.c: Support for no JOINER setups (i.e. NO_DOT_IN_LABEL) + * cp-lex.c: Likewise. + * cp-search.c: Likewise. - * integrate.c (save_constants): If we are referencing a constant in - the constant pool in a different mode than its normal mode, make - a SUBREG so that we can record both modes. - (copy_for_inline, restore_constants): Handle these SUBREG's. - (copy_for_inline): Must copy a MEM if it's address contains an - ADDRESS (i.e., the address of a constant pool entry). + Fri Jan 22 08:52:58 1993 Niklas Hallqvist (niklas at della.appli.se) - * expr.c (expand_expr, case PLUS_EXPR): If adding constant, FP, and - something else, add FP to the constant and then add the other operand. + * cp-call.c (resolve_scope_to_name): Try to find nested types not + just in the current class and at global scope but at all + intermediate classes as well. - * global-alloc.c (find_reg): If all_regs_p, use ALL_REGS, not - GENERAL_REGS. - * local-alloc.c (block_alloc): Likewise. + Mon Jan 25 11:04:23 1993 Niklas Hallqvist (niklas at della.appli.se) - * genoutput.c (gen_expand): Record all the same information as - for a DEFINE_INSN. + * cp-decl.c (xref_tag): Enable test of incomplete basetypes. + * cp-tree.c (layout_basetypes): Disabled it here. - * cse.c (simplify_binary_operation, case PLUS): Simplify expressions - like (a +/- b) - (a +/- c). - (simplify_binary_operation, case MULT): For X * (-1), try to simplify - the NEG before we make it. + Mon Jan 25 11:04:23 1993 Niklas Hallqvist (niklas at della.appli.se) -Mon Nov 4 16:29:01 1991 Mark Eichin (eichin at cygnus.com) + * cp-init.c (build_new): Move error check of array size before use. - * cp-pt.c (overload_template_name): use build_lang_decl so that - lang_specific gets initialized properly. + Sun Jan 24 21:41:09 1993 John Carr (jfc@Athena.MIT.EDU) - * cp-parse.y (LC): use make_lang_type to produce complete node, - not just make_node. + * cp-typeck.c (build_binary_op_nodefault): Add support for + FLOOR_MOD_EXPR, merged in from the c front-end. - * cp-ptree.c (print_lang_type): return if TYPE_LANG_SPECIFIC is - null, since everything printed here is in lang_specific. +Wed Feb 3 18:23:07 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Nov 4 16:17:48 1991 James Van Artsdalen (james at raid.dell.com) + * objc-act.c (init_objc): Use xrealloc, not realloc. - * x-i386v4: New file. - * configure (i386-sysv4): Use it. + * expr.c (emit_library_call, emit_library_call_value): + Handle STACK_BOUNDARY when using push insns. -Mon Nov 4 12:36:09 1991 Michael Meissner (meissner at osf.org) +Tue Feb 2 16:37:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * gcc.texinfo (BRANCH_COST): Move so BRANCH_COST formats correctly. + * varasm.c (assemble_zeros): Output nothing rather than empty skip. -Mon Nov 4 08:03:44 1991 Tom Wood (wood at dg-rtp.dg.com) + * c-typeck.c (build_conditional_expr): Always convert and check + both result operands even if condition is constant. + (build_c_cast): Bypass default_conversion when casting to void. - * x-m88kdgux, x-m88ksysv4: Don't set XCFLAGS. + * c-decl.c: Add some braces for clarity. - * jump.c (jump_optimize): Change "if (...) x = 0;" to use a - store-flag insn if jumps are expensive (BRANCH_COST). + * configure (i[34]86-*-linux*): Set fixincludes to Makefile.in + Don't set tmake_file. + * Makefile.in (stmp-fixincludes): Don't run FIXINCLUDES + if it is Makefile.in. + * t-linux: File deleted. - * tm-m88k.h (BRANCH_COST): Branches are cheap on the m88100. - (OVERRIDE_OPTIONS): Make m88100 the default. - (STORE_FLAG_VALUE): Use -1. - (.ctors and .dtors sections): Change section flags. - * m88k.md (sxx, negate sxx): Use ext and extu. Eliminate extendsxx. + * Makefile.in (install-headers-cpio): Delete spurious parens + from around the whole command. + (install-headers-tar): Delete parens around the "source" tar cmd. -Mon Nov 4 07:19:36 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Tue Feb 2 15:20:52 1993 Chip Salzenberg (chip@tct.com) - * romp.md (movdf, movdi): When splitting, ensure we put in a CLOBBER - for a scratch register, when needed. + * c-decl.c (pushdecl): DECL_EXTERNAL implies TREE_PUBLIC, + so don't bother to check for both. - * tm-a29k.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE): Define to be - compatible with those chosen by EPI. + * regclass.c (int_reg_class_contents): Make unsigned to avoid + signed integer overflow. + (init_reg_sets): Avoid signed integer overflow. - * tm-rs6000.h (REG_ALLOC_ORDER): Put CR registers before integer regs. + * cexp.y (parse_escape): Support \E and \e like cc1: + they mean \033, and they generate a warning if pedantic. - * cse.c (simplify_relational_operation): Fix error in last change. +Tue Feb 2 15:17:38 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) -Sun Nov 3 12:22:41 1991 Torbjorn Granlund (tege at sics.se) + * t-sol2 (INSTALL_TARGET): Delete. - * longlong.h (m68020 count_leading_zeros): Fix typo in previous - change. +Tue Feb 2 14:18:59 1993 Brendan Kehoe (brendan@cygnus.com) -Sun Nov 3 09:25:39 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * Makefile.in (gcc.o): Depend upon config.status, so any changes + in prefix will be communicated to the build process. + (cccp.o): Likewise. - * cse.c (simplify_relational_operation, cases GEU, LTU, GTU, LEU): - Simplify comparisons that have known values such as (unsigned) x < 0. +Tue Feb 2 07:09:36 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - * final.c (final_scan_insn): If we've just made a branch unconditional, - convert (set (pc) (return)) to (return). - Use const_true_rtx instead of calling gen_rtx to make it again. + * pa.md (cmov): Use @ for output. - * x-romp (CC): Pass -Hnocpp to hc so it will use builtin preprocessor. - (INTERNAL_CFLAGS): Don't define BSTRING here. - * xm-romp.h (alloca): Add definition to allow use of hc's builtin. - (BSTRING): Define here. +Mon Feb 1 01:50:54 1993 Paul Eggert (eggert@twinsun.com) - * reload1.c (spill_hard_reg): Correct typo in previous change; had - test backwards. + * c-decl.c (finish_decl, grokdeclarator, finish_struct): Report + overflows in storage sizes. + (build_enumerator): Report overflows in enumerators. + * fold-const.c (same_sign): Remove. + (lshift_double): Don't report arithmetic overflow, since the + C standard doesn't seem to require it here. + (force_fit_type): Accept new parameter specifying whether a signed + overflow has already occurred. Yield overflow indication. + All callers changed. + (neg_double): Don't report overflow when -0 yields 0. + (const_binop): Propagate operand overflow for warnings. + Don't report overflow when -1 + 1 yields 0. + + * c-parse.in (unary_expr): Warn about overflows in parser-built + unary expressions. + * c-typeck.c (parser_build_binary_op): Warn about overflows and + conversions of out-of-range constants in parser-built binary + expressions. + (build_conditional_expr): Check conversions in if-then-else + expressions. + (build_c_cast): Ignore any integer overflow caused by a cast. + (convert_for_assignment): Warn if source had overflow in folding. + (process_init_constructor): Report overflows in array initializer + indexes. + * c-common.c (constant_expression_warning): Suppress duplicate + warnings. + (convert_and_check, overflow_warning, unsigned_conversion_warning): + New functions. Prototypes added to c-tree.h. - * function.c (instantiate_virtual_regs_1, case PLUS): If can't - replace operand with register, try to replace all copies of operand - with the register in case of MATCH_DUP. + * expr.c (expand_builtin): Report overflow if __builtin_args_info + arg exceeds one word. + Fix punctuation of error messages. - * recog.c (validate_replace_rtx_1): Use rtx_equal_p to see if - things are equal. +Sun Jan 31 17:45:11 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * genconfig.c (max_recog_operands, max_dup_operands): Remove `_flag' - in name since these aren't flags. - (max_clobbers_per_insn): Likewise. - (main): Default to at least 10 operands (for asm) and 1 dup operand. + * combine.c (simplify_and_const_int): Never consider bits outside + of MODE. -Sun Nov 3 07:26:57 1991 Ron Guilmette (rfg at ncd.com) +Sun Jan 31 15:24:46 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) - * Makefile.in (gnulib1.null): Use $(GCC_FLAGS) instead - of $(CCLIBFLAGS). - (gnulib1): Don't copy gnulib1.c into a temporary .c file before - compiling. That messes up the source file names in the debug info, - which makes it harder to debug gnulib1 problems. + * objc-act.c (build_module_descriptor): Fix call to start_function. - * Makefile.in (install-*): Force removal of previously installed files - before installing new ones (in case they got set to read-only somehow). +Sun Jan 31 13:08:05 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - * Makefile.in (uninstall): Remove protoize.1 and unprotoize.1 man - page files. + * pa.md (zvdep32): Handle 5 bit immediates for operand 1. + (ashlsi3): Likewise. + (and + ashift): New combine pattern. -Sat Nov 2 22:42:06 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Sun Jan 31 12:40:00 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * out-a29k.c (output_epilog): Remove write_symbols from parameter list - of call to final_scan_insn. - * out-m88k.c (preserve_registers): Likewise. - * out-mips.c (function_epilogue): Likewise. - * out-sparc.c (output_function_epilogue, output_tail_call): Likewise. + * protoize.c: Include gvarargs.h before system headers. -Sat Nov 2 22:02:45 1991 Ken Raeburn (raeburn at cygnus.com) +Sat Jan 30 18:51:46 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) - * cp-search.c (push_class_decls): Added missing argument to - overload_template_name. + * c-typeck.c (build_compound_expr): insert missing return - * cp-ptree.c (print_lang_decl): Don't print lang-specific fields - for FIELD_DECL, since it has only the shorter flags structure. +Sat Jan 30 16:10:56 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * cp-class.c (finish_struct_method): Fixed comment typo. + * pa.c (reg_or_0_operand): Use CONST0_RTX instead of + const0_rtx. + (reg_or_0_or_nonsymb_mem_operand): New function. + (emit_move_sequence): Copying CONST0_RTX into any + register can be done directly. Use CONST0_RTX instead + of const0_rtx. + (output_fp_move_double): Handle copying a CONST0_RTX + into FP or integer registers. + (print_operand): Handle "%r0" for DFmode and SFmode + values too. - * cp-decl.c: Add some code for debugging binding level - manipulations, conditionalized on DEBUG_CP_BINDING_LEVELS. - (debug_bindings_indentation): New var, used to maintain indentation - to indicate which changes are on the behalf of other routines. - (push_binding_level): Print debugging messages to track binding - level changes and call/nesting sequences. - (pushlevel, poplevel): Ditto. - (pushlevel_class): Ditto. - (pop_binding_level): Ditto. Also scribble over freed binding level, - and don't store it for re-use. - (poplevel_class): Ditto. - * cp-decl.h (debug_bindings_indentation): Declare it. - * cp-pt.c (push_template_decls, pop_template_decls): Added - debugging fprintf calls here too. + * pa.h (CONST_DOUBLE_OK_FOR_LETTER_P): Generalize. + (LEGITIMATE_CONSTANT_P): Allow 0.0. + (CONST_COSTS, case CONST_DOUBLE): fp0.0 is free when + not used in a SET expression. -Sat Nov 2 17:00:22 1991 Ron Guilmette (rfg at ncd.com) + * pa.md (cmpXf expands): Allow 0.0 for either operand + of the comparison. + (cmpXf insns): Allow 0.0 for either operand of the + comparison. Update output template to handle 0.0 as one + of the operands. + (movsi insn, fp->fp case): Update constraints and template to + allow store of zero into an FP register. + (movhi insn, fp->fp case): Likewise. + (movqi insn, fp->fp case): Likewise. + (movdi insn, fp->fp case): Likewise. + (movDF const_double pattern): Do not apply this pattern + if the const_double is zero. + (movdf insn, fp->fp and gr->gr cases): Update constraints + and output template to allow store of zero into a FP or GR. + Update condition string to allow zero as operand 1. + (movsf insn, fp->fp and gr->gr cases): Likewise. Also allow + store of zero into a memory location. - * cp-except.c (finish_exception_decl): Change `enum debugger' to - `enum debug_info_type'. - * final.c (final_start_function, final, final_end_function, - output_source_line): Delete the `write_symbols' parameter. - Instead use the global `write_symbols' declared in flags.h. - * sched.c (unlink_notes, schedule_block, schedule_insns): Compare - `write_symbols' with NO_DEBUG rather than with zero. - * toplev.c (rest_of_decl_compilation, rest_of_compilation): Don't - pass `write_symbols' to assemble_variable, final_start_function, - final, final_end_function. - * varasm.c (assemble_variable): Delete the `write_symbols' parameter. - Instead use the global`write_symbols' declared in flags.h +Sat Jan 30 14:57:44 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sat Nov 2 09:48:47 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * c-tree.h: Add many prototypes from bill@cygnus.com - * caller-save.c: Don't include reload.h; not used. - * Makefile.in (caller-save.o): Likewise. +Sat Jan 30 01:06:52 1993 Niklas Hallqvist (niklas@spiff.gnu.ai.mit.edu) - * final.c (final_start_function, final_end_function, final): Change - enum debugger to enum debug info to finish previous change. - (final_scan_insn, output_source_line): Likewise. - * varasm.c (assemble_variable): Likewise. + * c-common.c (c_build_type_variant): Moved here from c-decl.c. + Redirected the TYPE_MAIN_VARIANT to the "real" main variant. + Build the possibly new array type on the permanent obstack if + the original type was permanent. + (permanent_obstack): Added extern declaration. + * c-decl.c (c_build_type_variant): Moved to c-common.c. - * rtlanal.c (modified_between_p, find_last_value): New functions; not - yet used. - * rtl.h (find_last_value): Declare. +Fri Jan 29 18:16:47 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cse.c (simplify_binary_operation): Remove comparison cases from - here; now in simplify_relational_operation. + * config/m68k/m68k.md (iorsi3): Add CC_STATUS_INIT if use bset. -Fri Nov 1 19:04:50 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * fold-const.c (force_fit_type): Abort if T not INTEGER_CST. + * tree.c (size_in_bytes): Only call force_fit_type for an INTEGER_CST. - * rtl.h (REG_DEAD): More precisely describe when a REG_DEAD note - should be present. - * rtlanal.c (dead_or_set_regno_p): New function. - (dead_or_set_p): A value is dead or set only if each register in it - is dead or set. - * combine.c (reg_bitfield_target): New function. - (distribute_notes, case REG_DEAD): Place REG_DEAD note only if both - dead_or_set_p and reg_bitfield_target are false. - * flow.c (cc0_live): New variable; replaces following_insn_dead. - (propagate_block): Initialize cc0_live instead of following_insn_dead. - Track CC0's life just like other regs instead of using special - mechanism involving following_insn_dead. - Clear last_mem_set even when not final pass. - Don't call mark_used_regs on dead insns. - (insn_dead_p): Use cc0_live to see if a set of CC0 is dead. - Correctly test if set of multi-word value is needed; set if dead only - if none of the words are needed. - (libcall_dead_p): Allow CALL to be in any part of PARALLEL. - Use insn_dead_p to see if SET of return register is dead; old code - incorrectly tested multi-word registers. - (mark_set_1): Track whether all or only some words of a value are - needed; write partial REG_UNUSED note if only some words won't be - needed. - (mark_used_regs): Likewise for REG_DEAD notes. - Set cc0_live for a reference to CC0. - Don't write REG_DEAD note if register is already dead or set in INSN. - No longer check for unused SET_DEST since it won't be called for dead - insns; if a single SET's result was unneeded but the insn can't be - deleted, the source of the SET is live. - Clear last_mem_set even if not final pass. - - * reload1.c (gen_input_reload): Handle REG+MEM the same as REG+INT. - - * gcc.c (xmalloc, xrealloc): Use unsigned instead of size_t for `size'. - - * cccp.c (bcopy, bzero, bcmp): No longer static. Only declare at - front of file if we are going to define them later. - -Fri Nov 1 18:57:25 1991 Ron Guilmette (rfg at ncd.com) - - * cccp.c (timebuf): Declaration moved out of `special_symbol' and - made global (and "static") to get values of __DATE__ and __TIME__ - to remain constant throughout compilation. - (debug_output): New variable. - (main): Accept -g3 option and set debug_output when seen. - (main): Moved initializations of `outbuf' and `fp' to before call - to `initialize_builtins'. - Pass fp and &output to initialize_builtins so that it can write out - artificial #define lines for builtin symbols. - Call `output_line_directive' before doing each make_define or - make_undef so that when `debug_output' is in effect, we'll - get #line 0 directives before each artificial #define or #undef. - (special_symbol): Initialization of `timebuf' deleted from here. - (initialize_builtins): Initialize timebuf here. - (pass_thru_directive): New function. - (do_define, do_undef): Use `pass_thru_directive' for "precompilation" - of header files. - Call `pass_thru_directive' when -g3 option used. - (initialize_builtins): Generate artificial #define directives (in the - output) to represent the values of all builtin symbols whose defs - can't change during compilation. - (make_undef): Added output buffer param so that make_undef could let - do_undef do output to stdout. - Call do_undef with a real output buffer. - (make_definition): Likewise. - Many minor changes to get strings passed to do_define to always look - like correctly formed #define directives. - - * c-decl.c (store_parm_decls): Remove non-params from the list before - checking to see if the type of any element of the list is complete. - (pushlevel): Fixed bug which caused scope of tagged types to be - incorrectly assigned to the outermost {} block of functions rather - than to the outermost binding contours of functions. - (pushtag): Revised to clarify code used to find applicable - binding level for a tagname. - Set TYPE_CONTEXT of new tagged type so that dwarfout.c can tell - file-scope tagged types from non-file-scope tagged types. - Create a NULL-named TYPE_DECL node for each new tagged type - (even incomplete ones). - (finish_struct, finish_enum): Don't create NULL-named - TYPE_DECL nodes for complete tagged types. (This is now done in - `pushtag' for *all* new tagged type declarations and definitions.) - - * toplev.c (compile_file): Adjust conditions under which - `dwarfout_file_scope_decl' is called during final traversal of - the chain of file-scope decls so that it is called also for - file-scope TYPE_DECLs. - (rest_of_decl_compilation): Deleted call to `dwarfout_file_scope_decl' - for file-scope TYPE_DECLs; call `dwarfout_file_scope_decl' instead of - `dwarfout_file_scope_symbol'. - - * dbxout.c, sdbout.c, flags.h, toplev.c: Change DEBUG_LEVEL_* to - DINFO_LEVEL_* to prevent possible confusion about meaning. - - * flags.h, toplev.c: (enum debug_info_type): Renamed type from - `debugger' and cleaned up definition of type (including deletion - of useless EXTENDED_DBX_DEBUG code). - (use_gdb_dbx_extensions): Make declarations conditional on - DBX_DEBUGGING_INFO being defined. - - * out-i860.c (output_fp_move_double, find_addr_reg): Add return stmts - to avoid warnings when compiling with -Wreturn-type. - (output_delayed_branch): Fix test for CONST_INT values which must be - loaded in two instructions (as two halves). - (function_epilogue): Remove ASM_OUTPUT_EPILOGUE_SUFFIX. (Superceeded - by ASM_DECLARE_FUNCTION_SIZE in varasm.c.) - - * xm-i386.h (i386): Define in case the native host compiler doesn't. - - * tm-svr4.h (SVR4): Define this rather than SVR4_target. - (ASM_FINAL_SPEC): Support the -pipe option. - (ASM_DECLARE_FUNCTION_NAME, ASM_DECLARE_OBJECT_NAME): Allow easy - redefinition of the syntax for second operand of .type. - (ASM_DECLARE_FUNCTION_SIZE): Fix line continuations. - -Fri Nov 1 14:14:14 1991 Michael Meissner (meissner at osf.org) - - * out-mips.c (mips_asm_file_end): Generate correct code if the user - uses asm("name"). Patch from bothner@cygnus.com. - - * mips-tfile.c (init_file initialization): Fix #ifdef - BYTES_BIG_ENDIAN to be #if BYTES_BIG_ENDIAN, to allow the DECstation - to work again. - (toplevel): Remove declarations of internal library functions, - _flsbuf, _filbuf. - -Thu Oct 31 14:59:11 1991 Torbjorn Granlund (tege at mole.gnu.ai.mit.edu) - - * longlong.h (m68020 count_leading_zeros): Use %b for offset and - width syntax for bfffo instruction. - -Thu Oct 31 05:45:54 1991 Ken Raeburn (raeburn@cygnus.com) - - * cp-decl.c (PUSH_BINDING_LEVEL, POP_BINDING_LEVEL): Replaced - uses of macros with their expansions, and deleted the macros. - -Wed Oct 30 12:45:33 1991 Ron Guilmette (rfg at ncd.com) - - * dwarfout.c, dwarf.h, README.DWARF: Replacement files that bring - the Dwarf implementation up to that defined by draft 5 of the - UI/PLSIG Dwarf specification. - -Wed Oct 30 10:50:07 1991 Michael Meissner (meissner at osf.org) - - * objc-parse.y (yylex): Cast short types to int before shifting, to - avoid bogus warnings from the MIPS C compiler. - - * cccp.c (fancy_abort): Make this global again, so that - -Dabort=fancy_abort will not cause a link error, because obstack.c - contains a reference to abort. - -Wed Oct 30 07:38:08 1991 Tom Wood (wood at dg-rtp.dg.com) - - * SYSCALLS.c (abort): Undefine first. - - * xm-m88k.h (HOST_WORDS_BIG_ENDIAN): Define it. - * out-m88k.c (output_and): Choose "clr" last. - -Tue Oct 29 22:49:47 1991 Michael Meissner (meissner at osf.org) - - * tm-mips.h (num_refs): New global array. - (mips_count_memory_refs): New function decl. - - * out-mips.h (num_refs): New global array to count number of 1, 2, - or 3 instruction data references with -mstats. - (mips_count_memory_refs): New function decl to determine whether a - data memory reference uses 1, 2, or 3 instructions. - (mips_move_1word, mips_move_2words): Call mips_count_memory_refs - as appropriate. - (function_epilogue): Print number of 1, 2, and 3 instruction - memory references if -mstats. + * config/i386/t-linux (FIXINCLUDES): New file. + * configure (i[34]86-*-linux*): Use t-linux. - * mips.md (movsi_ulw, movsi_usw): Call mips_count_memory_refs if - needed. +Fri Jan 29 12:08:04 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) -Tue Oct 29 05:14:27 1991 Ken Raeburn (raeburn at cygnus.com) + * reload.c (find_reloads_toplev): When handling a (subreg (reg)) + where (reg) will be replaced by a memory reference, if the memory + address is invalid for the mode of the subreg, then search the + memory address for reloads. - * cp-parse.y (template_def): Don't pass bogus declspecs to - start_decl. + * pa.h (FIXED_REGISTERS): %r31 is not fixed. - * cp-pt.c (tsubst, case FUNCTION_DECL): Build new argument list - from method template, instead of retaining the old one. +Thu Jan 28 23:49:25 1993 James Van Artsdalen (james at bigtex.cactus.org) -Tue Oct 29 00:44:51 1991 Ken Raeburn (raeburn at cygnus.com) + * reg-stack.c (compare_for_stack_reg): Properly swap operands of a + COMPARE. - * cp-class.c (finish_struct): Skip type fields if they are - template names bound to their expansions. +Thu Jan 28 13:47:53 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * cp-decl.c (binding_levels_sane): Define only if PARANOID; use a - macro returning 1 otherwise. Check class_binding_level stack for - consistency also. - (pushdecl): Verify that bindings pushed at global scope are in - permanent obstack storage. - (start_decl): While processing_template_decl, don't also need to - verify that the decl uses the template parameters. For method - templates, construct proper method type for result. TREE_EXTERNAL - flag for methods should be cleared if DECL_EXTERNAL is clear. - (grokdeclarator, case CALL_EXPR): Intercept destructor templates, - which have a different internal form, and convert them to a form - that can be recognized. + * pa.md (iorsi3): Split into two patterns, a named "iorsi3" which + only accepts registers, and a combiner pattern which accepts a + restricted set of constant integers for one term. + * pa.c (ior_operand): Do not accept registers. - * cp-decl2.c (grokclassfn): Include length of class name when - creating assembler name for destructor; otherwise ambiguities - result. + * pa.h (LEGITIMIZE_ADDRESS): Delete cases which can never happen. - * cp-lex.c (identifier_typedecl_value): New fn; scans bindings of - identifier for a given type decl; falls back to name of type. - * cp-tree.h (IDENTIFIER_TYPEDECL_VALUE): Call it. + * pa.h (CPP_SPEC for OLD_CC): Delete. + (CC1_SPEC for OLD_CC): Likewise. + (MODES_TIEABLE_P): Simplify. + (ASM_OUTPUT_ADDR_VEC_ELT): Fix comment. + (leaf_function): Delete unused variable. + (HARD_REGNO_MODE_OK): Delete old useless version. + (FIRST_PARM_OFFSET): Likewise. + (FIRST_PARM_CALLER_OFFSET): Likewise. + (EXPAND_BUILTIN_SAVEREGS): Likewise. + (ASM_OUTPUT_REG_PUSH): Likewise. + (ASM_OUTPUT_REG_POP): Likewise - * cp-method.c (fndecl_as_string): Print constructor_name of type - for constructor and destructor, not type name. +Thu Jan 28 07:51:47 1993 Ian Lance Taylor (ian@cygnus.com) - * cp-parse.y (template_def): Don't output warning about missing - type and storage class, since this gets printed for destructor - templates. - (notype_declarator): Accept '~' PTYPENAME. - (scoped_typename): Want a PTYPENAME, not TYPENAME. Build a - SCOPE_REF node instead of calling resolve_scope_to_name. - - * cp-pt.c (instantiate_member_templates): New fn. Instantiates - members associated with template for a given template class. - * cp-method.c (template_instantiate_once): Call it. + * config/m68k/m68k.h (PRINT_OPERAND_PUNCT_VALID_P): Accept '/'. + * config/m68k/m68k.c (print_operand): Print %/ as REGISTER_PREFIX. + * longlong.h (umul_ppmm for 68000): Use %/ before all register + names. - * cp-pt.c (end_template_decl): Catch destructor templates that - are being passed through without being converted to TEMPLATE_DECL - nodes; convert them now. Copy argument list for function template - into permanent storage. - (lookup_template_class): Supply IDENTIFIER_TEMPLATE data for new - anonymous type name. - (tsubst, case FUNCTION_DECL): Improve method lookup code. - (tsubst): Use hash table and build_cplus_* functions for building - new nodes when possible, so equality tests are easier. Extend - FUNCTION_TYPE case to handle METHOD_TYPE as well. - (instantiate_template): Don't do anything for error_mark_node. - (do_pending_expansions): Keep expansions not used in queue to check - again later. + * configure (install_headers_dir): New variable for each + configuration, used to set INSTALL_HEADERS_DIR in Makefile. + (*-*-sysv4*, *-*-sysv*): Set install_headers_dir to + install-headers-cpio. - * cp-tree.def: Fix up some comments relating to PT-related types. +Thu Jan 28 07:30:25 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * tree.c (init_tree_codes): Now void, in agreement with decl - elsewhere. + * a29k.md: Remove 29050-specific variants of patterns generating + loadm that have earlyclobber. This was put in for some very old + version of the '050, which isn't used anymore, that had a bug. -Mon Oct 28 22:07:44 1991 Jeffrey A Law (law at b117.super.org) +Thu Jan 28 06:56:04 1993 Pat Rankin (rankin@eql.caltech.edu) - * output.h (current_function_uses_pic_offset_table): Declare here - so that out-*.c can see it. + * vmsconfig.com: change instances of [.config] to [.config.vax]. + * make-cc1.com, make-cccp.com, make-l2.com: change /include and -I + values from [.config] to [.config.] (this trailing period works with + GNU C's preprocessor but not with VAX C's). - * tm-m68k.h (FINALIZE_PIC): New macro. - (PIC_OFFSET_TABLE_REGNUM): New macro. Defines which address - register is used to hold the offset table for PIC. - (CONDITIONAL_REGISTER_USAGE): Make PIC_OFFSET_TABLE_REGNUM be - fixed when generating position independent code. +Thu Jan 28 06:48:57 1993 Michael Collison (collison@osf.org) - * out-m68k.c (finalize_pic): New function. - (output_function_prologue): If generating position independent - code output assembler text to load the pic_offset_table register. + * optabs.c (init_fixtab, init_optabs): Fix typos in QFmode and HFmode + initialization. -Mon Oct 28 10:02:36 1991 Michael Meissner (meissner at osf.org) +Wed Jan 27 13:11:26 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * toplev.c (main): If -G is used, set g_switch_set to true, and set - g_switch_value to be the integer value of it's argument, for use in - the MIPS port to determine whether a static or global item goes into - the normal data area, or into the small data area. + * Makefile.in (includedir): Use local_prefix. - * out-mips.c (g_switch_set, g_switch_value): Delete these global - variables, since toplev.c now defines them. +Wed Jan 27 12:08:05 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * tm-mips.h (EXTRA_INT_OPTIONS): Delete macro which is no longer - used in internal OSF patches to provide -G xx support. - (ASM_SPEC, CC1_SPEC, LINK_SPEC): Remove -G32, since the new -G - patches take care of it now. + * pa.c (check_fp_mov): Delete unused function + (register_or_short_operand): Likewise. + (eq_or_neq): Likewise. + (gen_compare_reg): Likewise. + (reverse_relop): Likewise. + (frame_base)name): Delete unused variable. - * tm-decrose.h (ASM_SPEC, LINK_SPEC): Remove -G32. + * pa-ghpux.h (HAVE_ATEXIT): Delete. This is defined in pa.h + * pa-gux7.h (HAVE_ATEXIT): Likewise. + * pa-hpux.h (HAVE_ATEXIT): Likewise. + * pa-hpux7.h (HAVE_ATEXIT): Likewise. - * tm-decstatn.h (ASM_SPEC, LINK_SPEC): Remove -G32. +Wed Jan 27 06:46:50 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * tm-iris.h (ASM_SPEC, LINK_SPEC): Remove -G32. + * cse.c (simplify_relation_operation): We can compute the result + of a comparison of CONST_INTs no matter what mode the computation + is to be done in. - * tm-mips-bsd.h (LINK_SPEC): Remove -G32. + * expmed.c (emit_store_flag): Swap operands if first is a + constant and second is not. + Abort if compare_from_rtx didn't return an rtx with the code we + expect. + * expr.c (compare_from_rtx): Only swap operand if first is a + constant and second is not. - * tm-mips-news.h (ASM_SPEC, LINK_SPEC): Remove -G32. + * c-common (declare_function_name): If char_array_type_node isn't + large enough for the name, make a larger type. + * c-decl.c (init_decl_processing): Make the arrays 200 long instead + of 10 to leave more room for most names. - * tm-mips-sysv.h (LINK_SPEC): Remove -G32. + * function.c (put_var_into_stack, fixup_var_refs_insns): Minor + cleanups. + (fixup_var_refs_1, case SET): Correctly check for simple insns + that don't need fixups. -Mon Oct 28 07:11:28 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * collect2.c: Delete ISCOFF macro which was in #ifdef _AIX. + * rs6000.h, a29k/unix.h (MY_ISCOFF): New macro. - * combine.c (try_combine): Don't delete unused SETs if they have - side-effects. +Tue Jan 26 19:31:31 1993 Tom Wood (Tom_Wood@NeXT.com) - * Makefile.in, t-i386sco: Had both LIMIT_H and LIMITS_H; latter - is correct. + * combine.c (combine_instructions): Initialize undobuf in the + event `gen_rtx_combine' is called before `try_combine'. - * combine.c (subst): New argument `unique_copy'; if non-zero ensure - each copy of `from' replaced gets a unique copy of `to'. - Pass arg to recursive callers. - (try_combine): Pass new arg to subst. +Tue Jan 26 18:20:04 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * Makefile.in (LANGUAGES): Use `objective-c' instead of `class-c' - to avoid confusion. + * i960.md (umulsidi3+1): Add variant which accepts constants. - * gcc.c (xmalloc, xrealloc): Really make non-static. + * fixinc.svr4: Change all uses of EX to SED. + * fixincludes (sys/types.h): Don't match on ssize_t. + (stdio.h): Change _VA_LIST_ to __gnuc_va_list for 386BSD. -Mon Oct 28 00:21:56 1991 Michael Meissner (meissner at osf.org) +Tue Jan 26 13:46:04 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * tm-mips.h (CC1_SPEC): Convert -gline into -g1. + * xm-alpha.h (ONLY_INT_FIELDS): Define if not __GNUC__. -Sun Oct 27 17:15:48 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * collect2.c (write_list_with_asm): Use `__asm__' instead of + `asm', to avoid problems with `-fno-asm'. - * reload1.c (spill_hard_reg): Rework code that relies on the fact that - reg_class_superclasses[i][0] == i, since it isn't true! + * Makefile.in (insn-*.[ch], protoize.o, unprotoize.o, install): When + using a trailing semicolon to force a rule to not do anything, + explicitly run the command `true', to avoid warnings or other + problems with versions of make which don't like null commands. -Sun Oct 27 06:15:24 1991 Ron Guilmette (rfg at ncd.com) +Tue Jan 26 07:14:29 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * configure: Always remove any files before we write them in case - the old copy was read-only. + * cse.c (simplify_binary_operation, case SMAX): Correctly + compute largest possible signed integer. - * Makefile.in (manext): Now just extension without the period. - (mandir): Default to include manext. - (install-man): Adjust to new definition of manext. - (uninstall): Remove protoize.1 and unprotoize.1 from mandir. + * Makefile.in: (rest.cross, gfloat.h, stmp-headers, mostlyclean): + Build and install gfloat.h instead of float.h. - * genemit.c (gen_exp): Write integer using %u instead of %d to - avoid warnings from some compilers when most negative int is written. + * a29k/x-unix (CLIB): Add -lld. - * cccp.c: Make variables not used outside this file static. - (main, line_to_error, xmalloc, xrealloc, xcalloc): Add missing return - statements (in unreachable paths). - (xmalloc, xrealloc, xcalloc, savestring): Make SIZE arg unsigned. + * integrate.c (copy_rtx_and_substitute, case REG): Call + gen_lowpart instead of making an explicit SUBREG. -Sun Oct 27 06:14:45 1991 Jeffrey A Law (law at b115.super.org) + * stmt.c (expand_value_return): Call convert_move instead of the + erroneous convert_to_mode. - * tm-m68k.h (SELECT_RTX_SECTION): New macro. Used to force - symbolic objects in the constant pool into the read-write data - section when generating position independent code. +Tue Jan 26 00:58:53 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * recog.c (general_operand, immediate_operand, nonmemory_operand): - Use LEGITIMATE_PIC_OPERAND_P to reject constants which are not - valid when generating position independent code. + * collect2.c (find_a_file): First `access' test was backwards. + (main): Set full_real_ld_suffix right. - * reload.c (find_reloads): Do not win in 's', 'i', or 'g' cases - if the constant does not satisfy LEGITIMATE_PIC_OPERAND_P. + * c-decl.c (init_decl_processing): Use 10 as size + of ..._array_type_node. - * tm-m68k.h (LEGITIMATE_PIC_OPERAND_P): New macro. + * cccp.c (handle_directive): Init already_output + after old_linenum label. + (finclude): Remove final backslash-newline *before* trigraph_pcp. + (write_output): Free line_command at end. - * out-m68k.c (symbolic_operand): New function. Copied from - tm-sparc.h. +Mon Jan 25 19:31:32 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) - * gcc.texinfo: Document LEGITIMATE_PIC_OPERAND_P. + * print-rtl.c (debug_rtx_list, debug_rtx_find): New functions. + * .gdbinit (prl): New command. -Sat Oct 26 07:51:40 1991 Michael Meissner (meissner at osf.org) +Mon Jan 25 14:49:45 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * mips.md (movsi_usw): Remove invalid '&' constraint on a memory - address. + * sparc.c (init_arg_profiler, output_arc_profiler): Delete unused + functions. + * sparc.h (ARC_PROFILER): Delete unused macro. -Sat Oct 26 07:16:15 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * sparc.c (sparc_builtin_saveregs): New function. + * sparc.h (CPP_SPEC): Delete __sparc_frw__ define. + (TARGET_FRW_COMPAT): New macro. + (TARGET_DEFAULTS): Comment out -mfrw option. Add new commented + out option -mfrw-compat. + (EXPAND_BUILTIN_SAVEREGS): Call sparc_builtin_saveregs to emit rtl + inline instead of calling builtin_saveregs in libgcc.a. + * va-sparc.h (va_start): Rewrite to account for above changes. - * flow.c (find_basic_blocks): Build label_value_list as list of - CODE_LABELs, not LABEL_REFs. + * sparc.h (PRINT_OPERAND_PUNCT_VALID_P): Delete '@' case. + * sparc.c (print_operand): Likewise. + (output_fp_move_double): Delete FP_REG to GENERAL_REG and vice + versa copy support. + (output_fp_move_quad): Likewise. + * sparc.md (movsi, movtf, movdf, movdi, movsf): Delete f/r and r/f + constraint pairs. - * fold-const.c (optimize_bit_field_compare): Call fold on result - of build1 call that converts integer to proper mode. + * i960.c (secondary_reload_class): Correct test against + FIRST_PSEUDO_REGISTER. - * rtl.h (unsigned_condition, signed_condition): Add definition; - functions were previously added to jump.c. - * combine.c (simplify_comparison): Use unsigned_condition to simplify - last change. + * sparc.c (registers_ok_for_ldd_peep): Delete test for pseudos. -Sat Oct 26 06:48:59 1991 Jeffrey A Law (law at b115.super.org) + * optabs.c (emit_indirect_jump): Use Pmode instead of VOIDmode and + insn_operand_mode. - * tm-sun2.h, tm-sun3.h (ASM_SPEC): Pass "-k" to the assembler if - -fpic or -fPIC. + * calls.c (calls_alloca): Change name to calls_function. Add new + parameter WHICH to control old or new behaviour. + (expand_call): When stack space is preallocated and parameters + must be passed on the stack, precompute parameters that involve + function calls. -Fri Oct 25 20:43:54 1991 Michael Meissner (meissner at osf.org) + * c-decl.c (language_string): Delete from here. + * c-parse.in (language_string): Define here for C and Obj-C. - * tm-mips.h (CC1_SPEC): Remove special rules for -g0, -g1, etc., now - that GCC supports these directly. +Mon Jan 25 13:54:16 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * configure (dec-mips-osf): DECstation running OSF/rose uses - t-decrose, not t-mips. + * c-decl.c (finish_struct): Disable "structure/union defined + inside parms" if compiling with -traditional. - * x-decrose (COFF_CC, COFF_CFLAGS, WARNINGS): Delete. - (libdir, bindir, mandir): Put GCC 2 in the /usr/ccs/gcc tree. +Mon Jan 25 05:24:12 1993 Niklas Hallqvist (niklas at della.appli.se) - * x-mips (comment): Delete a comment about cross compilers that is - no longer true. + * i386.md (extendsidi2): Fix typo in regno. - * t-decrose (coff-obstack.o): Delete rule that is no longer used. +Mon Jan 25 00:07:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Oct 25 18:46:51 1991 Mark Eichin (eichin at cygnus.com) + * c-decl.c (lookup_label): Return 0 if not within a function. - * cp-dem.c (cp-demangle): added support for templates, static - data, and the new (correct) mangling for destructors. + * c-parse.in (unary_expr => ANDAND identifier): + Handle lookup_label returning 0. -Fri Oct 25 16:18:18 1991 Mark Eichin (eichin at tweedledumber.cygnus.com) + * Makefile.in (install-float-h-cross): + Don't ignore error when running enquire. - * cp-decl2.c: (grokclassfn): destructor names *should* contain - the length; otherwise, we can't tell the difference between a - destructor for a class whose name begins with 't' and a destructor - for an instance of a template class. +Sun Jan 24 22:41:00 1993 Michael Meissner (meissner@osf.org) -Fri Oct 25 02:15:12 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * c-typeck.c (build_compound_expr): Move the code into + internal_build_compound_expr, and pass second argument TRUE + indicating that this is the first call. For recursive calls, pass + FALSE. Do not make 0 a non_lvalue constant if this is the first + call, to allow return 0; from a pointer returning function to not + get a warning. - * SYSCALLS.c, protoize.c: Changes from rfg. - waiting for real changelog entries from rfg. +Sun Jan 24 18:40:44 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * gcc.c (xmalloc, xrealloc): No longer static. + * config/vax/vax.md (move/push address patterns): + Don't use alternative number to distinguish pushes from moves. + Use just one alternative `g' in output constraint. -Thu Oct 24 19:21:04 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Sun Jan 24 07:19:03 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * fold-const.c (optimize_bit_field_compare): - Use build1 rather than convert, to avoid warnings. + * final.c (final_scan_insn): Call alter_subreg on duplicate + operands (in case we need to split the insn). - * final.c (output_source_line): Fix if-scope for DBX fmt. + * local-alloc.c (CLASS_LIKELY_SPILLED_P): Add default definition. + (alloc_qty_for_scratch, local_alloc): Use CLASS_LIKELY_SPILLED_P. -Thu Oct 24 13:29:34 1991 Tom Wood (wood at dg-rtp.dg.com) +Sat Jan 23 19:41:21 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * gcc.c gen*.c: Don't make fancy_abort static. + * combine.c (apply_distributive_law): Don't mess with float arith. -Thu Oct 24 12:07:23 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * c-parse.in: Use new name objc-act.h. - * combine.c (simplify_comparison): When narrowing a comparison - and removing ANDs, make it unsigned. +Sat Jan 21 13:12:49 1993 Serge Adda (adda@soft01) -Thu Oct 24 08:02:04 1991 Ken Raeburn (raeburn at cygnus.com) + * expmed.c (emit_store_flag): Reset ICODE using returned COMPARISON. - * cp-decl.c (binding_levels_sane): New function, tests that stack - of binding levels is consistent. Argument provides extra - identification for call site, in case compiler optimizes too well. - If PARANOID is not set, does nothing. - (push_binding_level, pop_binding_level): Now functions, for easier - debugging. Inlined under GNU C if not PARANOID. - (PUSH_BINDING_LEVEL, POP_BINDING_LEVEL): Invoke functions. - (push_to_top_level): Use type-shadowed slots to unwind - IDENTIFIER_TYPE_VALUE back to top level. - (start_decl): When processing a template decl, shouldn't need to - check uses_template_parms. For methods, modify arg list to include - `this'. Don't set context of template. Use perm_tree_cons when - building members list for class template. - (grokdeclarator): Check "friend" flag before calling - globalize_nested_type. Build a method type for a function that has - a context. +Sat Jan 23 18:27:35 1993 Niklas Hallqvist (niklas@spiff.gnu.ai.mit.edu) - * cp-pt.c (end_template_decl): If template has non-null context, - chain it off of the containing class, rather than using pushdecl. - (instantiate_class_template): Instantiate all the member templates - hanging off the class template. Also, simplify some code in the - case where setup_parse is 0. - (tsubst): Check for several common values that won't be modified by - substitutions. - (tsubst, case FUNCTION_DECL): Don't return type passed if it has a - non-null context that might need fixing. Process that context while - building up the new decl node; use it to notify build_decl_overload - that we've got a method rather than a function. - (tsubst, case METHOD_TYPE): Handle like FUNCTION_TYPE; enhance that - case to handle TYPE_METHOD_BASETYPE when set. - (unify): Increment value pointed to by nsubsts, not the pointer - itself. - (do_pending_expansions): Method context is in DECL_CONTEXT, not - DECL_CLASS_CONTEXT. + * config/m68k/tower.h (LIB_SPEC): Use %s instead of absolute path. + (STARTFILE_SPEC): Moved here from tower-as.h. Use %s instead of + absolute path. + * config/m68k/tower-as.h (STARTFILE_SPEC): Moved to tower.h. - * cp-lex.c (do_identifier): Don't try looking up fields in base - classes of UNINSTANTIATED_P_TYPE. +Sat Jan 23 16:28:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-parse.y (primary): Call require_complete_type only for - CALL_EXPR nodes of types other than void. - (template_type): Don't call IDENTIFIER_TYPE_VALUE on - error_mark_node. + * cccp.c (change_newlines): Renamed from delete_newlines. + Insert a space in place of a newline. Caller changed. - * cp-ptree.c (print_lang_decl): For UNINSTANTIATED_P_TYPE, show - template as well as parameters. + * config/m68k/hp320.h (ASM_OUTPUT_DOUBLE_OPERAND): Delete space + before arglist. - * cp-tree.h (DECL_TEMPLATE_*, UPT_*): New accessor macros for - TEMPLATE_DECL and UNINSTANTIATED_P_TYPE nodes. All (most?) uses - except for node creation changed to use these. - * cp-tree.def: Updated comments for these node types. +Sat Jan 23 09:20:41 1993 Niklas Hallqvist (niklas at della.appli.se) - * cp-pt.c (uses_template_parms): Handle ADDR_EXPR. - (end_template_decl): For function with non-null context, pop class - binding level. + * Makefile.in (cross-test): Depend on GCC_PARTS. -Thu Oct 24 06:57:28 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Sat Jan 23 07:15:10 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * a29k.md, romp.md, rs6000.md (movdi, movdf, movti): Handle case of - reg-reg copy with overlapping registers correctly. + * reload1.c (reload): After calling count_possible_groups, see + if we have to proceed with allocating a group. + (count_possible_groups): Use HARD_REG_SET, not a char array, for + consistency. - * out-rs6000.c (ccr_bit, case NE): Fix typo in bit number. - (output_epilog): Must restore stack using backchain if alloca called. + * rs6000.h (ADJUST_COST): Add new definition. - * romp.md, rs6000.md (extendxxyy2, zero_extendxxyy2): Use DEFINE_EXPAND - to force operand to register; DEFINE_INSN allows memory (better cse). +Fri Jan 22 18:55:00 1993 Niklas Hallqvist (niklas at della.appli.se) - * rs6000.md (ffssi2): New patterns. - (maskir): Add patterns to use maskir instructions. + * fixinc.svr4: Use pwd if PWDCMD is undefined. Add missing echo + command. - * tm-a29kunix.h (TARGET_DEFAULT, CPP_SPEC): Default to 29050. +Fri Jan 22 18:08:47 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * tm-rs6000.h (LINK_SPEC): Add -bnodelcsect. - (HARD_REGNO_MODE_OK): Delete kludge that didn't allow DImode in reg 31 - and TImode in 29-31; the bug was fixed elsewhere. + Cygnus<-->FSF merge. -Wed Oct 23 17:48:43 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + Thu Jan 21 15:26:59 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * combine.c (try_combine): If an insn doesn't match, check for case - where first SET's result isn't used; previously only checked second. + * Makefile.in (convert.o): Add dependencies. - * combine.c (try_combine): When we substitute into a COMPARE, check - SELECT_CC_MODE to see if we should try to change the mode of the - COMPARE and its result. + * cp-gc.c (NULL): Undef before defining. + * cp-init.c (NULL): Likewise. + * cp-expr.c (NULL): Likewise. -Wed Oct 23 16:38:26 1991 Torbjorn Granlund (tege at hal.gnu.ai.mit.edu) + * cp-decl.c (grokdeclarator): Relegate error about operator= to a + warning for now, an error later. - * gnulib2.c (__ashrdi3): Compute sign extension shift count from - machine word size instead of using 31. + Tue Jan 19 16:40:19 1993 Mike Stump (mrs@cygnus.com) -Wed Oct 23 14:25:04 1991 Michael Meissner (meissner at osf.org) + * cp-type2.c (my_friendly_assert): Don't set errorcount or + sorrycount to zero, as we no longer say "please fix above errors". - * tm-mips.h (PREFERRED_DEBUGGING_TYPE): Unless otherwise defined, - set to SDB_DEBUG. + Mon Jan 18 19:44:53 1993 Mike Stump (mrs@cygnus.com) - * tm-decrose.h (PREFERRED_DEBUGGING_TYPE): Define to DBX_DEBUG. + * cp-type2.c (my_friendly_abort): Exit quietly in cases of random + seg faults in the front-end in the presences of other errors. This + makes the handling of these things more uniform. - * out-mips.c (override_options): Don't override debugger choice now - that PREFERRED_DEBUGGING_TYPE is provided. + Mon Jan 18 16:23:11 1993 Mike Stump (mrs@cygnus.com) -Wed Oct 23 07:25:32 1991 Tom Wood (wood at dg-rtp.dg.com) + * cp-typeck.c (build_unary_op): Improve error message for + {pre,post}-{increment,decrement}. - * sdbout.c (sdbout_symbol/FUNCTION_DECL, sdbout_toplevel_data, - sdbout_end_epilogue): Use DECL_ASSEMBLER_NAME to avoid link-time - multiple definitions. + Mon Jan 18 13:58:14 1993 Mike Stump (mrs@cygnus.com) -Tue Oct 22 15:06:31 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cp-typeck.c (build_binary_op): Improve error message. - * reload1.c (reload): For now, we must always have a frame pointer - if a function calls alloca and EXIT_IGNORE_STACK is non-zero. + Fri Jan 15 17:53:33 1993 Mike Stump (mrs@cygnus.com) - * cse.c (insert_regs): Don't make new quantity for the register in - a SUBREG. - (merge_equiv_classes): Don't invalidate the register inside a SUBREG. - (canon_hash, case SUBREG): Remove code to treat SUBREGs like REGs. + Fri Jan 15 00:35:22 1993 Niklas Hallqvist (niklas at della.appli.se) -Tue Oct 22 10:25:29 1991 Tom Wood (wood at dg-rtp.dg.com) + * cp-decl.c (start_function): Removed the comp_target_parms test + when checking for implementations of "C" linkage functions, allows + for more overloading of extern "C" functions. - * tm-m88kdgux.h (PREFERRED_DEBUGGING_TYPE): Use it. - * tm-m88k.h (OVERRIDE_OPTIONS): Don't override write_symbols. + Fri Jan 15 17:32:56 1993 Mike Stump (mrs@cygnus.com) - * out-m88k.c (m88k_output_{prologue,epilogue}): Renamed. + Fri Jan 15 00:35:22 1993 Niklas Hallqvist (niklas at della.appli.se) -Tue Oct 22 00:51:48 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-decl.c (grokvardecl): Implement the "one definition rule". - * c++: New shell script. + Fri Jan 15 17:17:05 1993 Mike Stump (mrs@cygnus.com) - * gcc.c (default_compilers): Treat .ii files as cpp'd C++. + * cp-search.c (get_base_distance): Compute results from calls to + recursive_bounded_basetype_p into a temp variable, as otherwise we + can clobber rval with a zero. - * varasm.c (make_function_rtl): Don't alter DECL_ASSEMBLER_NAME. + Fri Jan 15 17:10:59 1993 Mike Stump (mrs@cygnus.com) - * toplev.c (main): Use PREFERRED_DEBUGGING_TYPE if support - more than one format. + Thu Jan 14 16:02:27 1993 Niklas Hallqvist (niklas at della.appli.se) -Mon Oct 21 23:08:02 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-decl.c (start_function): Don't try to match static member + functions with "C"-linkage declared global functions. - * c-decl.c (grokdeclarator): Fix error message for long float. + Thu Jan 14 17:58:15 1993 Mike Stump (mrs@cygnus.com) -Mon Oct 21 16:55:31 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cp-method.c, cp-type2.c, cp-typeck.c: Make sure the fourth + argument to build_overload_call is (struct candidate *)0 not just + a plain 0. - * optabs.c (add_equal_note): New function. - (expand_binop): Delete some obsolete, turned-off code. - Use GET_RTX_CLASS to see if operator is commutative. - Call add_equal_note if we make a multi-insn sequence; if it fails, - redo the operation without our target. - In multi-word cases, don't allow TARGET to be the same as an input. - (expand_unop): Allow operation to fail. - Call add_equal_note and allow failure, like in expand_binop. - In multi-word case, don't allow TARGET to be OP0. - (emit_unop_insn): Use add_equal_note; ignore its failure here. + Thu Jan 14 17:15:40 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * optabs.c (expand_float, expand_fix): In cases when we will jump, - ensure we call emit_queue before protect_from_queue. - Eliminate redundant calls to protect_from_queue and force_non_mem. + * cp-decl.c (grokdeclarator): Don't warn on an initialized var + that's extern if it's a const. - * reorg.c (steal_delay_list_from_target): Don't take an insn from - the fallthrough thread of an annulled branch insn. + Thu Jan 14 17:03:40 1993 Michael Tiemann (tiemann@rtl.cygnus.com) -Mon Oct 21 16:55:08 1991 Tom Wood (wood at dg-rtp.dg.com) + * cp-pt.c (coerce_template_parms): Add new parameter IN_DECL. + Update error messages to give location information of the _DECL + when an instantiation fails. + (lookup_template_class): Ditto. + (tsubst): Ditto. + All callers changed. + * cp-tree.h (lookup_template_class): Update prototype. + * cp-parse.y (template_type_name): Update calls to + lookup_template_class. - * configure (m88k targets): Complete last change. + Thu Jan 14 02:09:17 1993 Mike Stump (mrs@cygnus.com) -Mon Oct 21 16:06:25 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-decl2.c (grokfield): Arrange for the type to be set on class + typedefs, cures one type of internal compiler error 62. Now calls + set_identifier_type_value just before pushdecl_class_level. - * integrate.c (copy_rtx_and_substitute): When making copy of frame, - round size to keep substituted frame pointer aligned. - (CEIL_ROUND): New macro. + Wed Jan 13 22:43:58 1993 Mike Stump (mrs@cygnus.com) -Mon Oct 21 15:16:17 1991 Michael Meissner (meissner at osf.org) + * cp-search.c (get_base_distance): Allow checking of UNION_TYPEs, + as some of the init code calls us. - * tm-mips.h (GP_REG_OR_PSEUDO_NONSTRICT_P): New macro for - REG_OK_FOR_{BASE,INDEX}_P in non strict mode. Fix typos in the - previous change. - (GP_REG_OR_PSEUDO_P): Rename to GP_REG_OR_PSEUDO_STRICT_P. - (REG_OK_FOR_BASE_P): Use GP_REG_OR_PSEUDO_NONSTRICT_P if non strict. - (REG_OK_FOR_INDEX_P): Use GP_REG_OR_PSEUDO_NONSTRICT_P if non strict. - (GO_IF_LEGITIMATE_ADDRESS): Indicate if strict checking is being - used if -mdebugb tracing. + Wed Jan 13 21:12:22 1993 Mike Stump (mrs@cygnus.com) -Mon Oct 21 15:08:15 1991 Tom Wood (wood at dg-rtp.dg.com) + Mon Jan 11 20:11:17 1993 Niklas Hallqvist (niklas at della.appli.se) - * Makefile.in (*.o): Add insn-codes.h to all lists using expr.h. - (dwarfout.o): Add dwarf.h, reload.h, output.h, and insn-config.h. + * cp-parse.y (implicitly_scoped_stmt, simple_stmt): New rules to + handle the changed semantics of selection & iteration statements + in ANSI C++ (check out 6.4-5 in the draft as opposed to the ARM). + (simple_if, stmt, compstmt): Changed to use the new rules. + (stmt_decl_msg): Removed this static (together with all its uses) + because it's now unnecessary. + (cond_stmt_keyword): New static string to use in the error message + of paren_expr_or_null. + (paren_expr_or_null): Use cond_stmt_keyword instead of stmt_decl_msg. - * c-tree.h (TYPE_ACTUAL_ARG_TYPES): New macro for list of actual - types. - * c-decl.c (store_parm_decls): Compute TYPE_ACTUAL_ARG_TYPES if a - prototype is not present. Delete old method. - (duplicate_decls): Provide better diagnostics if a prototype - follows a function definition. + Tue Jan 12 18:53:44 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * m88k.md (gen_divsi3): Delete REG_EQUAL workaround. - * t-m88k{,luna,sysv4}: Target makefile portion (from Mike Stump). - * x-m88k{,dgux,luna,sysv4}: Corresponding deletions. - * {tm,t,x}-m88ksysv4: Renamed from m88ksvr4. Deleted xm-m88ksvr4. - * {tm,xm}-m88ksysv3: Renamed from v88r32. - * configure: Corresponding changes. + * cp-decl.c (lookup_name): If PREFER_TYPE is -2, don't call + lookup_nested_field. + * cp-spew.c (yylex) [IDENTIFIER case]: Call lookup_name with -2 + instead of -1. - * tm-m88k.h (ASM_OUTPUT_{CONSTRUCTOR,DESTRUCTOR}): Output to - .ctors/.dtors sections. - (TARGET_SWITCHES): Add -m88000, -m88100, and -m88110. Replace - DG/UX MXDB options with SUBTARGET_SWITCHES macro. - * tm-m88kdgux.h (SUBTARGET_SWITCHES, ASM_SPEC, ASM_FIRST_LINE): - Put MXDB options here changing -mdwarf to -mstandard. + * cp-decl2.c (grokclassfn): If there's no IDENTIFIER_TYPE_VALUE (it + could have gotten blown away by poplevel_class), use ctype to build + the overload name. -Sun Oct 20 06:39:54 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cp-call.c (convert_harshness): Avoid dereferencing a null PARM, + which can be passed in by convert_harshness itself. - * combine.c (simplify_comparison, case PLUS): Only do simplification - for equality comparison due to overflow problems. + Mon Jan 11 12:25:51 1993 Brendan Kehoe (brendan@cygnus.com) - * gen*.c: Remove "void *" and uses of size_t added by recent change. + * cp-tree.h (VTABLE_NAME_P, VBASE_NAME_P): Reverse order, so they'll + go for [1..3], to avoid referencing beyond the bounds of a name. - * reload.c (find_reloads): If "&" given without any registers, - turn off earlyclobber, in addition to giving error. + * cp-xref.c (fctname): Delete extern decl of `declname'. - * Makefile.in (STAGE_GCC): Deleted. - (STAGESTUFF): Add gcc (from STAGE_GCC) and gcc-cross. + * cp-type2.c (build_scoped_ref): Pass the nodes themselves down into + error_not_base_type, not the strings, since it'll peel off the decl + name and type name of them itself. -Sun Oct 20 04:37:21 1991 Michael Tiemann (tiemann at cygnus.com) + * cp-class.c (build_vbase_path): flag_assume_nonnull_objects is an + int, not a tree. - * cp-decl.c (grokfndecl): Use DECL_NAME, not DECLARATOR at end of - function, since DECL_NAME may be different if it's an operator name. + * dbxout.c (dbxout_type_methods): Only emit warning about dbx info + for templates when WARN_TEMPLATE_DEBUGGING is set. Only reference + the var WARN_TEMPLATE_DEBUGGING if we've got HAVE_TEMPLATES defined. + * cp-tree.h (HAVE_TEMPLATES): Define. + * cp-decl2.c (lang_decode_option): Set WARN_TEMPLATE_DEBUGGING when + given -Wall. + * flags.h (warn_template_debugging): Add extern decl. + * toplev.c (lang_options): Add -Wtemplate-debugging. - * cp-cvt.c (convert_pointer_to): Test if PARENT is TREE_VEC - before testing IS_AGGR_TYPE. + * cp-decl.c (make_temporary_for_reference): Call make_decl_rtl with + a NULL_PTR, not 0. + (finish_decl): Likewise. + (grokfndecl): With a NULL_PTR, not a NULL_TREE. -Sun Oct 20 00:40:47 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Fri Jan 8 19:43:52 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * gcc.c (link_command_spec): -collect converts to -c. + * cp-search.c (get_binfo): Use obstack_ptr_grow instead of + obstack_int_grow, casting the int to a void*. When retrieving it, + cast the result of dereferencing SEARCH_STACK->FIRST as an int. + (get_base_distance): Likewise. + (breadth_first_search): Likewise. - * toplev.c (main): Support -gstabs and -gcoff. Fix args to strncmp. +Fri Jan 22 15:09:42 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) -Sat Oct 19 21:51:03 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * pyr.h (SIZE_TYPE): Define. + (NO_DOLLAR_IN_LABEL): Define. - * reorg.c: Use const_true_rtx instead of const1_rtx. - (delete_scheduled_jump): Don't delete an insn that sets CC0 if it - has a side-effect. - (update_block): Add missing declaration for parameter WHERE. - (fill_slots_from_thread): Stop search if we find an insn that we - can't put into the delay slot unless we own the thread. +Fri Jan 22 12:19:47 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) -Sat Oct 19 17:30:23 1991 Michael Meissner (meissner at osf.org) + * pa.c (secondary_reload_class): Simplify. - * tm-mips.h (GP_REG_OR_PSEUDO_P): New macro to make sure a reg or - pseudo reg during reload will eventually be a GP register for use as - a base or index register. This fixes a bug where a FP register - could be used as a base or index register in some cases after - convert from floating point to integer was done. - (REGNO_OK_FOR_BASE_P, REGNO_OK_FOR_INDEX_P): Use GP_REG_OR_PSEUDO_P. - (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P): In the non strict version, - don't allow hard FP registers ever. +Fri Jan 22 07:57:57 1993 Richard Kenner (kenner@vlsi1.ultra.nyu) -Sat Oct 19 11:59:55 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * collect2.c (our_file_name): New variable. + (find_a_file): Ignore filename equal to that in our_file_name. + (main): Initialize our_file_name. - * tm-sun3.h, tm-sparc.h (WORD_SWITCH_TAKES_ARG): - Check for Tdata as well as target. + * expr.c (emit_library_call): Correct mis-applied patch. - * c-decl.c (grokdeclarator): Don't warn for array of incomplete elt. +Thu Jan 21 11:36:04 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * expr.c (expand_expr): For INDIRECT_REF, don't set unchanging bit. - * c-typeck.c (build_indirect_ref): Do set TREE_UNCHANGING if nec. + * pa.h (REG_CLASSES): Delete GENERAL_OR_FP_OR_SNAKE_FP register + class, it's not needed anymore. Delete all references. 'Z' + register class is now "ALL_REGS". + * pa.c (emit_move_sequence): Handle secondary reloads for SAR. - * reload.c (find_reloads): Warning or error for misuse of `&'. - * toplev.c (warning_for_asm): New function. +Tue Jan 19 20:08:01 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * t-i386sco: New file. - * x-i386sco: Add -Di286 to CC, OLDCC. - (LIMIT_H): Moved to t-i386sco. + From Torbjorn Granlund (tege@sics.se): + * i960.c (cmplpower2_operand): New function. + * i960.md (addsi3): Clean up condition for when to use subo. + (umulsidi3): New pattern. + (non-canonical nand, nor): Remove paterns. + (clrbit, notbit static bit): New patterns. + (setbit, clrbit, notbit dynamic bit): New patterns. + (setbit static bit non-canonical): Remove pattern. + (muldf3, mulsf3, multf3): Add % to operand1. + (test recognizers): Use TAB efter mnemonic. -Sat Oct 19 09:08:11 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * reorg.c (update_reg_dead_notes): New function. + (fill_simple_delay_slots): Call new function when moving + instruction forward into a delay slot. - * gcc.c: Add missing extern declarations deleted by last change. - (xrealloc, xmalloc): Don't declare as void *; non-ANSI compilers - can't handle it. + * sched.c (sched_analyze_1, sched_analyze_2): Ifdef out code added + for handling psuedo register equivalents that was added Dec 31 1992. -Sat Oct 19 08:26:13 1991 Ron Guilmette (rfg at ncd.com) + From Steve Chamberlain (sac@cygnus.com): + * libgcc1.c (__eqdf2, __nedf2, __gtdf2, __gedf2, __ltdf2, __ledf2, + __eqsf2, __nesf2, __gtsf2, __gesf2, __ltsf2, __lesf2): comparison + result type is now word_mode. + * libgcc2.c (cmpdi2, ucmpdi2): comparison result type is now + word_mode. + * optabs.c (emit_cmp_insn, emit_float_lib_cmp): libcall comparisons + return word_mode. - * tree.h: Fix spelling error in comment. +Tue Jan 19 15:28:59 1993 James Van Artsdalen (james at bigtex.cactus.org) - * tree.def, cp-parse.y: Change comments that refer to LET_STMT nodes to - refer to BLOCK nodes. + * function.c (fixup_var_refs_1): Set INSN_CODE to -1 before seeing + if new insn form is recognized. - * gcc.c, gen*.c: Declare as static objects that aren't referenced - outside the file they are in. - (xrealloc, xmalloc): Functions return char *, not int. - (main): Add missing returns (in unreachable code) to avoid warnings - when compiled with -Wreturn-type. - * gcc.c (pexecute): Likewise. - * genattrtab.c (operate_exp): Likewise. + * reg-stack.c (all functions): Use NULL_RTX instead of 0 for rtx + comparisons. -Fri Oct 18 16:58:12 1991 Eric Youngdale (youngdale at v6550c.nrl.navy.mil) + (emit_pop_insn): Emit insn with mode QImode: insn contains + stack-regs. - * make-cc1.com: Finish changeover from cplus-* to cp-*. + (emit_hard_swap_insn): Delete. + (emit_swap_insn): Merge with emit_hard_swap_insn. + Delete WHEN arg and change all callers. + If previous insn was a push from REG, omit swap. + If previous insn wrote reg-stack top to REG, omit swap. + Emit swap insn with mode QImode: insn contains stack-regs. + Emit swap insn after previous float insn, instead of before this + one. -Fri Oct 18 16:57:37 1991 Ron Guilmette (rfg at ncd.com) + (swap_rtx_condition): New function. + (compare_for_stack_reg): If op 0 of COMPARE is not a stack reg, + exchange ops 0 and 1 and swap cc0 user condition. - * tm-svr4.h: Delete lines duplicated due to transmission problems. + * i386.h (PREFERRED_RELOAD_CLASS): Narrow ALL_REGS to + GENERAL_REGS. + (PREFERRED_OUTPUT_RELOAD_CLASS): New macro. Narrow ALL_REGS to + GENERAL_REGS. + (SECONDARY_MEMORY_NEEDED): New macro. -Fri Oct 18 16:55:53 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * i386.md (cmpdf_cc,cmpsf_cc): Allow first operand to be a MEM. + Don't allow both operands to be MEM. + (float addM3,subM3,divM3,mulM3 recognizers): Don't allow either + operand to be a constant. - * jump.c (unsigned_condition, signed_condition): New functions. + (all float patterns, FLOAT_EXTEND operands): Don't allow + GENERAL_REGS for float_extended operand. + (all float patterns, FLOAT operands): Change constraints to get + better register classification. + (fix_truncMN2 patterns): Likewise. + (floatMN2 patterns): Likewise. - * configure (vax): Set tm_file to tm-vax.h so "configure vax-dec-bsd" - works. +Tue Jan 19 15:51:16 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - * combine.c (subst, case PLUS, MINUS): Remove some simplifications - from here. - * cse.c (simplify_binary_operation, case PLUS, MINUS): Put these - simplifications here. - Strip off CONST when looking for some simplifications. - Add code to simplify (a - (a - b)). + * pa.md (define_function_unit for memory): Memory is pipelined. - * combine.c (expand_compound_operation): Correctly handle case where - we have a ZERO_EXTRACT that extends beyond the bounds of the object. + * pa.md (sCC patterns): Use %char notation instead of nested + if stmts. + (branch matchers): Likewise. + (incscc, negscc): Likewise. Add ? constraint for 3-insn + alternative. + (incscc): Split into `incscc' and `decscc' to make this really + match. + (incscc/decscc special cases): New patterns using carry bit. + * pa.c (print_operand): Handle 'S' and 'B' for conditions. + Handle 'I' for printing 'i' when CONST_INT. + Handle 'k' for ones-complement of CONST_INT. + (incscc_operator): Remove. - * global-alloc.c (mark_elimination): No longer have FORBIDDEN_REGS as - argument. - * reload1.c (reload): Don't pass FORBIDDEN_REGS to mark_elimination. + * pa.md (many patterns): Use canonical address format. Use %r + register notation. Use GEN_INT. - * cse.c (simplify_{unary,binary,relational}_operation): Complete - change that removes warnings from floating-point traps when constant - folding (some cases had been omitted). - -Fri Oct 18 16:41:29 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) - - * stmt.c (expand_anon_union_decl): When creating new mem, copy the - RTX_UNCHANGING_P and MEM_IN_STRUCT_P bits from the old one. - - * sparc.md: Add new scc addx/subx patterns. - -Fri Oct 18 09:10:43 1991 Michael Tiemann (tiemann at cygnus.com) - - * cp-parse.y (stmts): Fix parsing rules to match C++ semantics - better (and hence give the compiler better error recovery). - -Thu Oct 17 19:31:15 1991 Ken Raeburn (raeburn at cygnus.com) - - * cp-pt.c (tsubst): For NEGATE_EXPR, call build1, not build. - Handle NOP_EXPR likewise. - (unify, case TEMPLATE_CONST_PARM): Copy value to permanent obstack. - - * cp-method.c (PARM_CAN_BE_ARRAY_TYPE): If not already defined, - define it to be 1. - (build_overload_name): Test to see if it's nonzero, rather than - whether it's defined; this permits compilation options to disable - it, but leave it enabled by default. Add one to the array size, - since the value retrieved appears to be the maximum index, not the - true array size. - -Thu Oct 17 19:15:37 1991 Mark Eichin (eichin at tweedledumber.cygnus.com) - - * cp-pt.c (instantiate_class_template): has an argument to - indicate whether to setup for parsing or not. (All existing cases - did a feed input, but if we are trying to set up intermediate nodes - while waiting for the parser to return to a template_instantiate - site we need to suppress the parsing part of it, which will get - redone later.) - (tsubst): under case UNINSTANTIATED_P_TYPE, actually instantiate any - class templates that are needed for function return values, and set - them up as pending templates to be run later. - - * cp-parse.y (primary): since build_x_function_call doesn't - require a complete type any more in certain cases, we instantiate - any pending templates and then require_complete_type on the - remainder. - - * cp-typeck.c (build_function_call_real): added an argument to - optionally skip the require_complete_type... implicit template - instantiation has to be postponed, so we won't get a complete type - until the parser can grab it. - - * cp-call.c (build_overload_call_real): added an argument do - allow choice of build_function_call_maybe or build_function_call - based on whether we thought we would require a complete type out of - build_function_call. - -Wed Oct 16 09:06:57 1991 Tom Wood (wood at dg-rtp.dg.com) - - * c-decl.c (store_parm_decls): Fix and disable recording the arg - type list for the function indicating the number of arguments. - * c-typeck.c (self_promoting_args_p): Allow the arg type to be null. - - * expmed.c (store_bit_field, extract_bit_field): Add checks for - MEM_IN_STRUCT_P if the structure reference is a MEM. - -Tue Oct 15 18:37:50 1991 Ken Raeburn (raeburn at cygnus.com) - - * cp-call.c (build_overload_call): If template match fails, still - set function field of candidate structure, and set bad_arg field to - new magic number -4 to indicate failed type unificiation. - - * cp-class.c (add_method): Call make_function_rtl only if not - processing a template declaration. - - * cp-tree.def: New node type, UNINSTANTIATED_P_TYPE, for - parameterized types that haven't had parameters filled in yet. - Looks like a type node. - - * cp-decl.c (struct binding_level): New flag indicating any name - should be accepted when looked up at this level. This is a kludge - to try to deal with methods of parameterized types. - (declare_uninstantiated_type_level): Set it. - (uninstantiated_type_level_p): Return it. - * cp-class.c (pushclass): If the "class" type is - UNINSTANTIATED_P_TYPE, flag it in the new binding level. - - * cp-decl.c (push_overloaded_decl): New argument to indicate - whether the decl should be forgotten when the current level is - exited. Callers changed. - (push_overloaded_decl_top_level): Ditto. - (dont_forget_overload): Deleted. - (push_overloaded_decl_1): New fn; like push_overloaded_decl, but - never forgets. Intended only for use by auto_function macro. - (auto_function): Use it. - - * cp-decl.c (print_binding_level): Print type-shadowed field at - each level. Skip fields with no values. - - * cp-decl.c (adjust_type_value): Use SET_IDENTIFIER_TYPE_VALUE, - not set_identifier_type_value. - - * cp-decl.c (pushdecl): Undo Oct 4 back-out of previous change. - Set type value of name of passed decl, instead of name of type in - passed decl. - (pushdecl_top_level): Search type-shadowed fields of outer binding - levels, munging outermost one if found to cause it to "restore" the - new global value. - - * cp-decl.c (push_overloaded_decl): Don't punt second or later - templates of a given name. - - * cp-decl.c (start_decl): Template-handling code moved up, to - cope better with variable declarations. Don't check for incomplete - type or constructor requirements when processing template. - - * cp-decl2.c (build_push_scope): If passed error mark node, just - return it. - (constructor_name): Handle UNINSTANTIATED_P_TYPE. - - * cp-lex.c (identifier_type): Don't return PTYPENAME for function - template name. - - * cp-method.c (report_type_mismatch): New magic bad-arg value -4 - indicates type unification failure. - (build_overload_name, case UNINSTANTIATED_P_TYPE): Handle like other - template-related types that shouldn't get visibility outside the - compiler. - - * cp-parse.y (template_type): Use IDENTIFIER_TYPE_VALUE from - name, if expansion doesn't happen. - (tmpl.1, tmpl.2): Now type . Value is null or return value - from instantiate_class_template. - (template_instantiation): Always put copy of decl in global scope. - Use pushdecl_top_level instead of setting IDENTIFIER_GLOBAL_VALUE - slot. - (LC): If type has been or is being defined, push a new type with the - same name, to avoid conflict. - (try_for_typename): New type . Value is non-zero iff type to - be pushed uses no template parms and isn't error_mark_node. - (scoped_id): Return error_mark_node for template parameter uses, and - leave error_mark_node alone. Only pop class if try_for_typename - value is non-zero. - (scoped_typename): Ditto. - - * cp-pt.c (end_template_decl): If template decl/class head arg is - null, punt. For non-type templates that didn't come in as template - decls, clear public flag. Such cases shouldn't arise any more; just - put in abort call for now until we're sure. Comment out code for - forcibly removing temporary values of template type parms; Michael - broke the code and fixed the original problem. Handle error case - where decl to be pushed might be null. - (coerce_template_parms): Handle arg list as TREE_VEC as well as - TREE_LIST. If arg list uses template parms, return - UNINSTANTIATED_P_TYPE node. - (uses_template_parms, case UNINSTANTIATED_P_TYPE): Return 1. - (instantiate_class_template): Now returns tree -- error_mark_node or - NULL_TREE or class type; callers and decls changed. Assign - TYPE_NAME field when building new RECORD_TYPE and TYPE_DECL nodes. - Don't need to do extra poplevel any more. - (tsubst): Handle UNINSTANTIATED_P_TYPE, MINUS_EXPR, PLUS_EXPR, - NEGATE_EXPR. - (undo_template_name_overload): Don't need to explicitly clear type - field any more. - (overload_template_name): Push a TYPE_DECL, instead of explicitly - setting type value field. - (end_template_instantiation): Don't need to pop a level any more. - (reinit_parse_for_template): Throw away saved block for null or - error template node. - (type_unification): Handle variadic functions, and functions with - default values for arguments. - (unify): Handle TREE_VEC and UNINSTANTIATED_P_TYPE. - - * cp-ptree.c (print_lang_type): Handle UNINSTANTIATED_P_TYPE. - - * cp-tree.h (push_overload_decl): Declare here, not in - cp-decl.c. - (TEMPLATE_TYPE_* macros): Delete unused (and now incorrect) - versions. + * pa.md (main move SF recognizer): Allow 0 for copying to + general register. -Mon Oct 14 14:30:32 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * pa.md (zero_extendhisi2): Remove DEFINE_EXPAND. + (zero_extendqihi2): Likewise. + (zero_extendqisi2): Likewise. + (comment before sign extension): Remove the lie. - * integrate.c (expand_inline_function): Fix typo from last edit, - where TYPE_MODE was applied to an argument, not the type of an - argument. + * pa.h (REG_CLASS_FROM_LETTER): Remove partly incorrect PA + documentation. - * cse.c (canon_hash, SUBREG case): Add cast which is needed by some - compilers. +Tue Jan 19 09:22:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Oct 14 07:59:50 1991 Tom Wood (wood at dg-rtp.dg.com) + * fold-const.c (non_lvalue): Result must not be null ptr constant. + (omit_one_operand): Use non_lvalue. + (fold, case COMPOUND_EXPR): Use non_lvalue if value is 0. + * c-typeck.c (build_compound_expr): Use non_lvalue if value is 0. - * toplev.c (rest_of_compilation): Compute the function's name and - pass it to assemble_{start,end}_function. - * varasm.c (assemble_start_function): New parameter. - (assemble_end_function): New function for ASM_DECLARE_FUNCTION_SIZE. - * final.c, sdbout.c: Correct comments. - * tm-svr4.h, tm-sysv4.h (ASM_DECLARE_FUNCTION_SIZE): Add and use a - NAME parameter. - * tm-m88k.h (ASM_DECLARE_FUNCTION_SIZE): Override svr4 definition. - * out-m88k.c (output_prologue): Delete previous method. +Tue Jan 19 08:29:16 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * m88k.md: Use trap_if. - (divsi3): Store into output operand only once to aviod problems - with REG_EQUAL note. - * out-m88k.c (output_call): Accomodate assembler range - restriction. - * tm-m88kdgux.h (AS_BUG_IMMEDIATE_LABEL): Specify the restriction. - (ASM_SPEC): Pass -KV3 to the assembler in some cases. - * tm-m88k.h (CONDITIONAL_REGISTER_USAGE): Mark the addressing base - register global. + * rs6000.c (print_operand, case 'k'): New case. + * rs6000.md (plus of gtu patterns): Add case to handle immediates. -Sat Oct 12 00:30:23 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * rs6000.c (output_epilog): Only restore the cr's that we actually + used; previously, we saved and restored all of them. - * Makefile.in (.SUFFIXES): Rule added. + * combine.c (combine_instructions): Clear reg_last_set_label. - * dbxout.c (dbxout_block): Handle debug_info_level. - * sdbout.c (sdbout_begin_block): Likewise. - * toplev.c (compile_file): Likewise, when calling init_emit_once. - * emit-rtl.c (init_emit_once): Cosmetic change. - * Makefile.in (sdbout.o): Include flags.h. +Tue Jan 19 01:16:45 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * configure: Default srcdir from dir in which configure is found. + * flow.c (find_basic_blocks): Don't mark labels in nonlocal_label_list + that were deleted due to having no references. - * i860.md (floatsidf2): Rewrite to be independant of host machine. - (divdf3, divsf3): New patterns. +Mon Jan 18 21:02:22 1993 H.J. Lu (hlu@yardbird.eecs.wsu.edu) - * tm-i860.h (ASM_DECLARE_FUNCTION_NAME): Macro deleted. - (ASM_OUTPUT_FUNCTION_PREFIX): Macro added. + * configure (--local-prefix=DIR): new flag sets $local_prefix. + The default is /usr/local. Put it into Makefile. - * stmt.c (pushcase, pushcase_range, expand_end_case): - Don't give "unreachable code" warning for a USE. + * Makefile.in (local_prefix): new prefix, the default is /usr/local. + (cccp.o): change LOCAL_INCLUDE_DIR to $(local_prefix)/include. - * tm-i386.h (HARD_REGNO_MODE_OK): Fp regs reject TFmode. +Mon Jan 18 15:29:46 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Oct 11 16:43:37 1991 Tom Wood (wood at dg-rtp.dg.com) + * objc-act.c, objc-act.h: Renamed from objc-actions.*. + * objc-act.c: Include objc-act.h. + * Makefile.in: Targets and deps changed. - * cse.c (find_comparison_args): Reject VOIDmode to avoid invalid - shift. + * objc-actions.c (encode_method_def): Null-terminate encoding. + (build_ivar_list_initializer): Null-terminate type encoding. -Fri Oct 11 14:30:31 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cccp.c (include_defaults): Do use GCC_INCLUDE_DIR for cross compiler. + Move TOOL_INCLUDE_DIR later if cross. - * c-typeck.c (function_types_compatible_p): - NULL as arg type matches self-promoting type. - (self_promoting_type_p): New function. - (common_type): NULL for arg in one fcn type means use arg from other. - * c-decl.c (store_parm_decls): Record arg type list for the fn, - just to indicate how many args there are. +Mon Jan 18 13:39:32 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * i860.md, out-i860.c, tm-i860.h: Merge many changes by rfg. - * tm-i860bsd.h, xm-i860.h: Likewise. - * tm-i860v3.h, tm-i860v4.h: New files. - * xm-i860v3.h, xm-i860v4.h: New files. - * tm-i860v3g.h: Renamed from tm-i860g.h. - * configure (i860-sysv3*): Renamed from i860-sysv*. New filenames. - (i860-sysv4*): New alternative. + * expr.c (emit_library_call): Handle OUTGOING_REG_PARM_STACK_SPACE. + Use NULL_TREE instead of (tree) 0. - * print-rtl.c: New file, split from rtl.c. - * Makefile.in (print-rtl.o): New target. - (OBJS): Add that target. + * expr.c (emit_move_insn, expand_expr): Fix typos in comments. - * toplev.c (DEFAULT_GDB_EXTENSIONS): Provide default definition. - (main): Use that for -g with dbx format. - Don't support -G. - * gcc.c (default_compilers): Get rid of -G. + * cccp.c (initialize_builtins): Add uses of new macros + NO_BUILTIN_SIZE_TYPE and NO_BUILTIN_PTRDIFF_TYPE. -Fri Oct 11 14:30:43 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * i960.h (ROUND): Change macro name to ROUND_PARM. + * i960.c (i960_function_arg_advance, i960_function_arg): Likewise. - * stmt.c (expand_anon_union_decl): Correctly handle anonymous - unions, whether in memory or registers. + * stor-layout.c (make_signed_type): Consistently use + HOST_BITS_PER_WIDE_INT. Correct minor formatting problems. + (fixup_signed_type): Use HOST_BITS_PER_WIDE_INT and HOST_WIDE_INT + like make_signed_type does. + (fixup_unsigned_type): Correct minor formatting problem. - These were written by Michael Tiemann. - The following changes net a 16% speedup compiling some - machine-generated CAD synthesis code. - * c-decl.c (field_decl_cmp): New function, use as comparison - function for qsort. - (finish_struct): If there are more than 15 fields, allocate a - LANG_TYPE for the FIELD_DECLs, and sort them according to - `field_decl_cmp'. - * c-tree.h (lang_type): Define a LANG_TYPE for RECORD_TYPEs. - * c-typeck.c (build_component_ref): If LANG_TYPE set, then use - binary search to find the field, otherwise use linear search as - before. + * x-linus (LANGUAGES): Delete. - * tree.h: Declare savealloc. - * c-common.c: Delete now unnecessary cast of savealloc result. +Mon Jan 18 08:13:34 1993 James Van Artsdalen (james at bigtex.cactus.org) -Fri Oct 11 10:06:09 1991 Tom Wood (wood at dg-rtp.dg.com) + * Makefile.in (stmp-headers): Delete target files before copying + to them. - * cse.c (simplify_binary_operation): Fix typo in last change. +Mon Jan 18 06:23:35 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-*, gcc.texinfo, make-cc1.com, tree.c, undocumented: Change - cplus- to cp-. Rename cplus-parse.y to cp-parse.y. + * collect2.c (choose_temp_base, main): Fix "off by one" errors in + sizes of allocated strings. -Fri Oct 11 07:48:40 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Mon Jan 18 00:32:20 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * recog.c (find_single_use_1): Ignore appearances of DEST in - contexts where it is being set, not referenced. - (find_single_use): Use dead_or_set_p instead of looking for REG_DEAD - notes. + * gcc.c (process_command): Fix typo in last change. -Fri Oct 11 07:29:33 1991 Ron Guilmette (rfg at ncd.com) +Sun Jan 17 13:09:03 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * c-parse.y, cp-lex.c, objc-parse.y (check_newline): Use `pedwarn' - instead of `error' when we see an #ident if -pedantic. - * cccp.c (do_assert, do_unassert, check_assertion, do_sccs): Warn - if -pedantic. + * pa.h (FP_REG_CLASS_P): New macro. + (REGISTER_MOVE_COST): Use FP_REG_CLASS_P to simplify. Make moves + from SAR to expensive that they should never happen. -Thu Oct 10 18:30:28 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) +Sun Jan 17 10:38:38 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - * gcc.c (default_compilers): Correctly handle new debugging - options, pass all -g* and -G* options. + * pa.c (emit_move_sequence): Fix spacing. + (compute_zdepi_operands): Fix header comment. + (many functions): Use %%r register syntax. Use canonical (0,%rN) + address format. + (output_function_prologue): No need to test frame_pointer_needed + in else clause of `if (frame_pointer_needed)'. + (output_function_prologue): Test boolean merge_sp_adjust_with_store + for zeroness, not for equality with 1. + (fmpyaddoperands): Use new variable mode for mode of operands[0]. + (fmpysuboperands): Likewise. - * Makefile.in, c-decl.c, cp-decl.c, final.c, flags.h, gcc.1, - gcc.c, print-tree.c, toplev.c, tree.def, tree.h: Delete support - for obsolete GDB_DEBUG format, -gg option, symout.c, etc. - * gdbfiles.h, symseg.h, symout.c: Delete obsolete files. +Fri Jan 15 16:42:30 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) -Thu Oct 10 17:56:16 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * pa.h (LEGITIMIZE_ADDRESS): Handle (plus (mult (X) (Y)) (Z)) + when Y is 2, 4, or 8 specially. + * pa.c (shadd_constant_p): New function. - * expr.c (convert_move): When widening FROM to multi-word, ensure that - we only reference each piece of TO once so that emit_no_conflict_block - can be safely used. + * integrate.c (FIXED_BASE_PLUS_P): Fix typo. - * toplev.c (float_signal): Re-enable the signal after we catch it. + * loop.c (move_movables): Clear INSN_CODE for each insn as + we perform register replacements. + (strength_reduce): Likewise. - * cse.c (simplify_binary_operation): Add missing fp error handler - setup in DFmode case. +Fri Jan 15 16:02:07 1993 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) - * combine.c (subst, case XOR): Fix typo in checking for - STORE_FLAG_VALUE equal to just the sign bit. - (simplify_comparison): Fix typo in computing maximum signed number in - a mode; also, use GET_MODE_MASK rather than trying to compute it. + * final.c (alter_cond): Undo previous change. -Thu Oct 10 17:52:44 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Jan 14 22:09:40 1993 Ian Lance Taylor (ian@cygnus.com) - * c-decl.c (init_decl_processing): Turn off `alloca' for -ansi. - (c_decode_option): Handle -fbuiltin, -fno-builtin. + * Makefile.in (stmp-headers): Avoid problems with relative + $(srcdir) when installing syslimits.h. -Thu Oct 10 17:42:03 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) +Thu Jan 14 19:20:01 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * caller-save.c (emit_mult_restore): Initialize MAYBE_TEMPREG. + * c-decl.c (c_decode_option): Set WARN_UNINITIALIZED to 2 with + -Wall, being careful to preserve it if it's already set. + * cp-decl2.c (lang_decode_option): Likewise. + * toplev.c (main): Warn about using -Wuninitialized without -O. - * function.c (assign_parms): Set MEM_IN_STRUCT_P when creating a - MEM for a aggregate passed by reference. - * expr.c (expand_expr, INDIRECT_REF case): Set MEM_IN_STRUCT_P - when dereferencing an aggregate. + * cccp.c (main): Trim down to the basename of what's to go in + PROGNAME. - * sched.c (sched_note_set): Add missing parens. + * gcc.c (process_command): Only accept input files which exist and + can be read; prevent link phase if an input file was rejected. Be + careful not to check for `-l' directives. + (error_count): Make into a static global variable. - * sparc.md: Delete unnecessary clobbers from all SCC patterns. +Thu Jan 14 18:19:35 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * integrate.c (expand_inline_function): Correct handling of arguments - passed by invisible reference. + * t-mips, t-ultrix, t-osfrose: Change `config/' to `config/mips/'. - * cse.c (canon_hash): Compute hash code for SUBREG same as we do - for REG. Otherwise, SUBREG hash codes can change when qty_const - changes, which results in duplicate SUBREG entries, which can - cause a crash. +Thu Jan 14 16:55:11 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) -Wed Oct 9 15:55:42 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * pa.h (CONDITIONAL_REGISTER_USAGE): Do not make %r27 a global_reg. - * cccp.c (main): Update MAX_INCLUDE_LEN if GCC_EXEC_PREFIX gets into - the act. + * pa.c (output_function_prologue): Combine stack adjustment and + first GR save when reasonable to do so. + (output_function_epilogue): Combine stack adjustment and first + GR restore when reasonable to do so. Avoid load/use stall for + RP restore in common cases. - * xm-a29k.h: Change copyright message back to GPL version 2. - * xm-a29k-ultra.h: Use GPL version 2 copyright. + * pa.h (LEGITIMIZE_ADDRESS): Rework to create REG and REG+D + addresses instead of REG+REG addresses. - * reload1.c (reload): Put array size in cast, to prevent compiler - warning. +Thu Jan 14 15:45:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * dwarfout.c (type_attribute): Check for ERROR_MARK nodes. + * objc/core.c (initialize_dispatch_tables): Create an entry in RECORD + for each class used in a given file, not just one. -Wed Oct 9 13:59:22 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Jan 14 12:00:35 1993 Ian Lance Taylor (ian@cygnus.com) - * toplev.c (float_signal): Reenable handler. + * Makefile.in (INSTALL_HEADERS_DIR, FLOAT_H, CROSS_FLOAT_H): New + variables. + (INSTALLED_H): Removed. + (float.h): Copy from $(FLOAT_H). + (float.h-nat, float.h-cross): New targets. + (stmp-headers, stmp-fixincludes): New targets to build fixed + include files in build directory. + (all.cross, rest.encap): Depend on stmp-headers. + (clean): Remove the include directory and stmp-*. + (install-normal): Renamed from install-native. + (install-cross): Removed. + (INSTALL_TARGET): Changed to install-normal from install-native. + (install-headers): Install from build directory. + (install-include-dir, install-headers-tar,install-headers-cpio, + install-assert-h): New targets. + (install-float-h, install-limits-h, install-common-headers, + install-fixincludes): Removed. + * cross-make (INSTALL_TARGET): Don't override. + (FLOAT_H): New override, set to $(CROSS_FLOAT_H). - * configure: Comment out various options not yet updated. +Thu Jan 14 14:17:05 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * cp-*.c, cp-*.h: Renamed from cplus-*.[ch]. - * Makefile.in: Renaming here also. + * libgcc2.c: Correct typo in comment. - * x-*: Renamed from make-*. - * Makefile.in (tmake_file, xmake_file): New vars. - (Makefile): Depend on them. - * configure: Replace host_make_var_file with host_xmake_file. - Handle tmake_file also, for target machine. - Form file names from x- and t-. - Rearrange use of temporary files during editing of Makefile. + * fixinc.sco, fixinc.svr4 (egrep and sed loop): Don't print + messages about files that need no change. - * t-mips: Most of x-mips moved here. - * t-decrose: Likewise from x-decrose. + * sparc.md (muldf+1, muldf+2): Add patterns for fsmuld and fdmulq. - * xm-a29k-ult.h: Renamed from xm-a29k-ultra.h. + * sparc.c: Clarify numerous *_operand comments. + (SPARC_STACK_ALIGN): Delete. + (sparc_frw_output_function_epilogue): Delete unused variable + load_only_r15. + (sparc_frw_epilogue_delay_slots): Delete r15/fmask test. + * sparc.md: Document sparclite integer multiply cycle times. + (movdf, !TARGET_FPU): Remove tests for floating point registers. + (divsi3, udivsi3): Correct length attribute. + (ffssi2): Define for sparclite. + * sparc.h (CPP_SPEC): Add -mfrw support. + (OVERRIDE_OPTIONS): Define. Can't omit frame pointer or do pic + when profiling. + (REG_USED_SO_FAR): Delete. + (CONST_COSTS): Give SMALL_INT constants cost of 0. Make UDIV, + DIV, MOD, UMOD more expensive. Make FIX same cost as FLOAT. + (TARGET_FRW): Define. + (TARGET_DEFAULTS): Add -mfrw flag. + (INITIAL_FRAME_POINTER_OFFSET): Add -mfrw support. + (BASE_OUTGOING_VALUE_REG, BASE_INCOMING_ARG_REG): Likewise. + (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise. + (DELAY_SLOTS_FOR_EPILOGUE, ELIGIBLE_FOR_EPILOGUE_DELAY): Likewise. + (EXPAND_BUILTIN_SAVEREGS): Likewise. - * Makefile. in (install-common): Don't handle `collect' specially. - It should be in EXTRA_PASSES if it is needed. + * expr.c (do_tablejump): Pass 1 for unsigned flag to emit_cmp_insn. - * cse.c (simplify_binary_expression): Use float handler for DF like SF. - Don't warn about traps; leave them for run time. +Thu Jan 14 14:43:15 1993 Torbjorn Granlund (tege@sics.se) - * tm-hp9k320.h (SIZE_TYPE): New definition. - Note: this affects tm-3b1.h by inheritance. Not sure that's right. + * pa.c (move_operand): Allow all CONST_INTs that can be moved to + general registers with one insn. + * pa.c (pre_cint_operand): New predicate for predecrementing + ldwm/stwm insns. + * pa.c (zdepi_cint_p): New function. + * pa.c (depi_cint_operand): Remove. + * pa.c (and_mask_p): New name for consec_zeros_p. All callers + changed. + * pa.c (srcsi_operand): Removed. + * pa.c: Use INT_14_BITS instead of synonym SMALL_INT. + * pa.c (emit_move_sequence): Clean up CONST_INT case. + * pa.c (compute_zdepi_operands): New name for + compute_xdepi_operands_from_integer. Change second parm to return + plain integers, was RTXes. + * pa.c (print_operand): Handle 'Z' for 'zdepi' source used to move + CONST_INT. -Wed Oct 9 12:15:40 1991 Tom Wood (wood at dg-rtp.dg.com) + * pa.h (CONST_OK_FOR_LETTER_P): Change meaning of 'K'. Add new + alternative 'N'. Use VAL_*_BITS_P macros when possible. + * pa.h (LEGITIMATE_CONSTANT_P) Fix comment. + * pa.h (FITS_14_BITS): Remove. + * pa.h (SMALL_INT): Remove. - * rtl.def (TRAP_IF): Make TRAP into a conditional trap. - * rtl.h (TRAP_CONDITION): Define. - * rtlanal.c (reg_referenced_p may_trap_p): Deal with TRAP_IF properly. - (volatile_refs_p side_effects_p): Not currently true for TRAP_IF. + * pa.md (move patterns): Reorganize pattern order. Cleanup. Merge + CONST_INT patterns into main patterns for SImode, HImode, QImode. + Add patterns to recognize predecrement cases in SImode, HImode, + QImode. Remove 'y' constraint from SImode recognizer. + (main HImode, QImode recognizers): Handle SAR move from greg. + Change constraints to match the SImode pattern. + * pa.md (cmov): Move near other conditional patterns. + * pa.md: Replace all occurences of srcsi_operand with move_operand. + Replace `ldo X(0),d' with `ldi X,d'. + * pa.md (rotlsi3): Remove SET_ATTRs. + * pa.md (rotrsi3): Likewise. -Wed Oct 9 03:55:21 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Jan 14 13:33:55 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * make-mips (BISONFLAGS): Assignment deleted. + * rtl.c (copy_rtx): A MEM with constant address is not sharable. + Undo Dec 27 change. - * real.h (REAL_VALUE_MINUS_ZERO): New macro. - * fold-const.c (target_minus_zero): New function. - * tm-sun2os4.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_FLOAT_OPERAND): - (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_DOUBLE_OPERAND): - Use REAL_VALUE_ISINF, REAL_VALUE_MINUS_ZERO. +Thu Jan 14 06:45:51 1993 James Van Artsdalen (jrv@goldman.gnu.ai.mit.edu) -Tue Oct 8 17:56:13 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * i386.md (cmpstr patterns): Fix mode mismatch in SET. - * c-decl.c (duplicate_decls): If redeclaring builtin as static, - replace the old decl. +Wed Jan 13 16:05:07 1993 Ian Lance Taylor (ian@cygnus.com) - * tm-seq386.h (HARD_REGNO_MODE_OK): Copy usual def into override def. + * configure: Precompute version in generated Makefile. - * tm-news.h (CPP_PREDEFINES): Get rid of invalid conditionals. - * tm-tower.h: Likewise. + * Makefile.in: (CROSS_GCC_CFLAGS, CROSS_TOOLS, REAL_LD_NAME, + install-cross-tools): Removed. + * cross-make (CROSS_GCC_CFLAGS, CROSS_TOOLS): Removed. + (SYSTEM_HEADER_DIR): Set to $(tooldir)/include. + * gcc.c: Use TOOLDIR_BASE_PREFIX, not TOOLDIR_PREFIX. - * tm-gmicro.h (MODES_TIEABLE_P): Fix typo. +Wed Jan 13 12:04:21 1993 Michael Meissner (meissner@osf.org) - * ns32k.md (rotrsi3): Fix typo `NEGATE' for `NEG'. + * libgcc2.c (_ffsdi2): Use the correct names for structure + elements of type DIunion. Return the correctly typed value. - * c-typeck.c (mark_addressable): Handle CONSTRUCTOR. - * expr.c (expand_expr): Handle addressable contructors. + * mips-tdump.c (print_file_desc): Correctly scale the rfd pointer. + Patch from ian@cygnus.com. -Tue Oct 8 14:42:56 1991 Tom Wood (wood at dg-rtp.dg.com) +Wed Jan 13 10:04:26 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * expmed.c (lshift_value): Ensure the shift amount is in range. + * pa.h (ASM_OUTPUT_INTERNAL_LABEL): Fix typo. -Mon Oct 7 20:45:35 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) +Wed Jan 13 03:05:08 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * integrate.c (function_cannot_inline_p, save_for_inline_copying, - save_for_inline_nocopy, expand_inline_function, - output_inline_function): Use GET_RTX_CLASS. + * fixinc.svr4 (rpc/types.h): Change const extern to extern const. - * listing: Remove RCS Author and Log fields. + * expr.c (expand_increment): Handle all preincrements by building + arithmetic and calling expand_assignment. - * cse.c (exp_equiv_p): Fix typos in comments/spacing. - * emit-rtl.c: Likewise. - * expmed.c (store_fixed_bit_field): Likewise. - * integrate.c (subst_constants): Likewise. + * stmt.c (expand_asm_operands): For clobbering memory, + generate (MEM (SCRATCH)) inside the CLOBBER. - * longlong.h: Again fix same typo previously fixed Sept 5. + * cccp.c (include_defaults): + Put GCC_INCLUDE_DIR just before the system dirs whose files are fixed. -Mon Oct 7 17:28:23 1991 Michael Meissner (meissner at osf.org) + * Makefile.in (risky-stage1, etc): Use $(GCC_PARTS) as what to mv. - * xm-mips.h (MIPS): Define MIPS to 1 instead of nothing, so - mips-tfile will compile once again. +Tue Jan 12 23:24:30 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Oct 7 17:10:32 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * stor-layout.c (variable_size): Change back to NULL_PTR. - * cccp.c (main): Pedantically warn if no newline at end of file. - (finclude): Likewise. +Tue Jan 12 18:59:01 1993 James Van Artsdalen (james at bigtex.cactus.org) - * c-decl.c (grokdeclarator): funcdef_flag overrides parm level. + * reload1.c (reload): Clear reload_in_progress even if reloading + fails. -Sun Oct 6 16:37:31 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Jan 12 18:32:01 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * sparc.md (peephole for lo-sum and load df): Use output_move_double. + * calls.c (emit_call_1): Pass a NULL_RTX into emit_call_insn for + missing last arg. - * tree.h (DECL_BUILT_IN_NONANSI): New flag. - * c-decl.c (init_decl_processing): Set flag for `alloca'. + * stor-layout.c (variable_size): Call expand_expr with a NULL_RTX, + not a NULL_PTR. - * c-decl.c (duplicate_decls): Rearranged to reduce conditionals. - Allow redefining built-in functions as static even if new decl - is not a function. Also allow if built-in is not ANSI. + * integrate.c (const_equiv): Delete decl, since it's never defined. + (fold_out_const_cc0): Likewise. + * loop.c (delete_insn_forces): Likewise. + * final.c (alter_cond): Delete decl, since it's never defined. - * out-sparc.c (output_move_double): Fix typo in test for using ldd. + * fold-const.c (fold): Only call force_fit_type with one arg. -Sun Oct 6 12:56:19 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * expr.c (group_insns): Make void, since it never returns an rtx. - * expr.c (expand_expr, case COND_EXPR): Rename var added in last - change; some C compilers don't like "optab optab;". + * emit-rtl.c (emit_jump_insn_before): Call make_jump_insn_raw with + only one argument. + (emit_jump_insn_after): Likewise. + (emit_jump_insn): Likewise. -Sun Oct 6 09:26:55 1991 Michael Tiemann (tiemann at cygnus.com) + * dbxout.c (dbxout_type) [case FILE_TYPE, SET_TYPE]: Call with + missing third arg as 0. - * cplus-method.c (build_overload_name): When walking up contexts, if - CONTEXT becomes a _TYPE node, point it at the _DECL node for the - type. + * cse.c (fold_rtx): Call itself with missing arg INSN as NULL_RTX. - * cplus-decl2.c (grokclassfn): Paremeter COMPLAIN deleted. No - longer performs sanity check by itself. - (check_classfn): New function. Performs sanity check that - `grokclassfn' used to do. All callers changed. - - * tree.h (struct tree_decl): Add new ignored_flag; delete - lang_flag_8 to make room. - (DECL_IGNORED_P): New macro. - (DECL_LANG_FLAG_8): Deleted. - * cplus-dbxout.c (dbxout_type): Use this macro instead of - ANON_AGGRNAME_P. - * cplus-decl.c (pushtag): Set DECL_IGNORED_P when appropriate. - * cplus-decl.c (duplicate_decls): Ensure DECL_IGNORED_P remains - consistent. - - * cplus-decl.c (grokfndecl): If we have an overloaded operator, set - the DECL_NAME to something that dbxout.c can handle. - * cplus-method.c (hack_operator): Change this function to handle - this new behavior. - * cplus-init.c (do_friend): Ditto. - -Sat Oct 5 14:32:01 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * expmed.c (expand_mult): Avoid fetching memory more than once. - - * tm-ultrix.h (DOLLARS_IN_IDENTIFIERS): Define as 1. - - * expr.c (expand_builtin): Clarify error message for BUILT_IN_NEXT_ARG. - -Sat Oct 5 08:42:02 1991 Michael Tiemann (tiemann at cygnus.com) - - * cplus-decl.c (clear_anon_tags): New function. - (make_anon_name): Moved here from cplus-method.c. - * cplus-lex.c (check_for_missing_semicolon, note_list_got_semicolon): - call `clear_anon_tags' when done. - * cplus-dbxout.c (dbxout_type): No longer test ANON_AGGRNAME_P for - TYPE_NAMEs that are IDENTIFIER_NODES. They no longer appear in GNU - C++. Also, we can rely on the fact that there are no anon aggrnames - in tag lists. - - * cplus-decl.c (xref_tag): Set TREE_VEC_LENGTH (BINFOS) to the - number of basetypes that were actually accepted. - - * cplus-parse.y (datadef, fndef): Accept `extern "C"' as a storage - class specifier. - - * cplus-init.c (build_new): Handle allocating types whose TRUE_TYPEs - start off as ARRAY_TYPEs. - - * cplus-typeck.c (build_unary_op): We don't need to wrap - CURRENT_CLASS_DECL in a NON_LVALUE_EXPR when taking the address of - C_C_D. - - * cplus-init.c (resolve_offset_ref): Fix error message for - non-static member references. Also, don't crash if EXP is not a - TREE_LIST or an OFFSET_REF. - - * cplus-expr.c (cplus_expand_expr): Handle OFFSET_REFs. - - * cplus-typeck.c (build_binary_op_nodefault): If PEDANTIC, don't - permit comparisons between pointers and integers. - - * cplus-decl2.c (explicit_warn_return_type): New variable. - * cplus-decl.c (grokdeclarator): Test `explicit_warn_return_type' - instead of `warn_return_type'. - - * cplus-decl.c (grokdeclarator): Fix criterium for deciding whether - to turn a FUNCTION_TYPE declaration into a METHOD_TYPE declaration - based on FRIENDP and STATICP. - (implicitly_declare): If PEDANTIC, treat this as an error. - - * cplus-cvt.c (convert_to_integer): Make anachronisms errors if - PEDANTIC is nonzero. - - * cplus-typeck.c (convert_for_assignment): If PEDANTIC, don't let - void * convert to non-void* types. Similarly, don't let const* - pointers be assigned to non-const* pointers. Similarly for signed - vs. unsigned pointers. - (warn_for_assignment): Add new parameter SEVERE. - - * cplus-decl.c (push_overloaded_decl): If PEDANTIC, give error when - functions overload variables. - - * cplus-decl2.c (grokfield): If PEDANTIC, don't let fields have - initializers (conditionalized on PEDANTIC). - * cplus-class.c (finish_struct): Set TYPE_GETS_{ASSIGNMENT,INIT_REF} - for UNION_TYPE. - -Sat Oct 5 06:52:29 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * expr.c (expand_expr, case COND_EXPR): Case for X ? A + 1 : A can - also handle MINUS_EXPR and BIT_*_EXPR. - - * rtl.h (copy_rtx_if_shared): Declare here. - * emit-rtl.c (unshare_copies): Delete unused variable. - (copy_rtx_if_shared): No longer static. - (reset_used_flags): New function. - * combine.c (copy_substitutions): Deleted. - (try_combine): When making new insns, ensure that we do not have any - improper sharing by using copy_rtx_if_shared; no longer call - copy_substitutions. +Tue Jan 12 17:53:13 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * combine.c (try_combine): If an insn that is a PARALLEL of two sets - isn't recognized and the result of the second SET is unused, ignore it. + From Fred Fish: + * fixinc.svr4 (stat.h): Don't depend upon specific formal + parameter names when locating static functions to convert + to prototype form. Also be more selective about what + strings to prepend underbars to during renaming of formal + parameters and local variables in static functions. -Fri Oct 4 15:25:33 1991 Michael Tiemann (tiemann at cygnus.com) + * cccp.c (main): Set signal handler for SIGPIPE. + (pipe_closed): New function, to handle SIGPIPE. - * cplus-decl.c (set_identifier_type_value): New function. Change - all callers of macro SET_IDENTIFIER_TYPE_VALUE to call this function - instead. +Tue Jan 12 17:48:13 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cplus-decl.c (pushdecl): Back out Sep 26 change. ??? This problem - really has to be solved in a more global fashion. - (struct binding_level): New field `type_shadowed' for typenames that - get shadowed. All pop* routines that restore from shadowed lists - now restore IDENTIFIER_TYPE_VALUE from the `type_shadowed' field. + * expr.c (compare_from_rtx): Allow simplify_relational_operation to + fail. -Fri Oct 4 14:47:52 1991 Michael Meissner (meissner at osf.org) +Tue Jan 12 02:52:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * sdbout.c (include of syms.h): Don't include on MIPS - systems, since the system does not provide the file, rather use - "gsyms.h". This is a problem for Silicon Graphics, and the System V - varient on RISC-OS, both of which define the USG macro. Patch from - jonathan@isor.vuw.ac.nz. + * optabs.c (init_optabs): Use plain `ffs' for SImode ffs_optab libcall. -Fri Oct 4 13:37:11 1991 Tom Wood (wood at dg-rtp.dg.com) + * Makefile.in (LIB2FUNCS): Add _ffsdi2. + * libgcc2.c (__ffsdi2): New function. - * stor-layout.c (get_best_mode): Add a volatilep parameter - indicating that the smallest mode is desired. - * expmed.c, fold-const.c: All callers changed. - (optimize_bit_field_compare): Initialize {l,r}volatilep now that - they are used. + * c-decl.c (init_decl_processing): Declare ffs as builtin. -Thu Oct 3 22:08:45 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * fixincludes (egrep and sed loop): Don't print messages about + files that need no change. - * objc-actions.h (CLASS_SUPER_NAME): Change type.basetypes to - type.binfo so that it will compile. +Mon Jan 11 17:22:16 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) -Thu Oct 3 06:46:38 1991 Niklas Hallqvist (niklas at appli.se) + * sparc.c (eligible_for_epilogue_delay): Delete unused variable + `this_function_name'. + (output_fp_move_double): Delete unused var `addr'. + (output_fp_move_quad): Likewise. + (fregs_ever_live): Delete unused static var. + (output_function_epilogue): Delete `n_fregs' and `i'. + (sparc_frw_output_function_prologue): Delete `regno'. + (sparc_frw_output_function_epilogue): Delete `load_nop'. - * cplus-tree.h (PARANOID): Don't define if already defined. - ({SET,CLEAR}_CLASSTYPE_MARKED*): New macros needed to get through - C compilers who don't allow comma expressions as lvalues. - ({SET,CLEAR}_BINFO_*): Ditto. + * reload1.c (reload): Delete unused variable inc_groups. - * cplus-init.c: Use new SET/CLEAR macros. + * sparc.h (TARGET_SWITCHES): Add no-fpu and hard-float. + (CONDITIONAL_REGISTER_USAGE): Define for ! TARGET_FPU. + (BASE_RETURN_VALUE_REG): Use reg 8 when ! TARGET_FPU. + (BASE_OUTGOING_VALUE_REG): Use reg 24 when ! TARGET_FPU. + * sparc.md (*): Make all fp patterns conditional on TARGET_FPU. + (movtf, movdf, movsf): Add !TARGET_FPU versions. + (sfmode return): Add pattern for when !TARGET_FPU. + (movsi+2, movsf+1): Use %@ instead of %%fp. + (mulsidi3, umulsidi3): Rewrite, to avoid extending constants. - * cplus-search.c: Ditto. - - * cplus-decl.c: Ditto. - (lookup_tag): Accept *_DECLs as nodes in the context chain. - (lookup_nested_type): Accept FUNCTION_DECLs not only as head of - the context chain, but at any place in it. - -Thu Oct 3 06:42:08 1991 Michael Meissner (meissner at osf.org) - - * c-decl.c (c_decode_option): Add new switch -Wparentheses and - -Wnoparentheses to control whether GCC warns about adding extra ()'s - around a subexpression. Make -Wparentheses default behavior. - (warn_parentheses): New global variable. - - * c-tree.h (warn_parentheses): New variable. - - * c-typeck.c (parser_build_binary_op): Check for warn_parentheses - before emitting warnings about adding (). - -Wed Oct 2 20:51:04 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) - - * gcc.texinfo: Correct documentation for CONSTANT_ADDRESS_P, - CONSTANT_P, and HIGH. - -Wed Oct 2 15:08:32 1991 Michael Tiemann (tiemann at cygnus.com) - - * cplus-class.c (modify_vtable_entries): Fix error in computing - offsets to use for virtual functions from virtual baseclasses. - * cplus-except.c (lookup_exception_type): Change local variable name - `binfo' to `link'. - * cplus-lex.c (yylex): Cast shorts to (long) when building longlong. - -Wed Oct 2 11:32:35 1991 Michael Meissner (meissner at osf.org) - - * tm-encrose.h (new file): New configuration file for Encore - Multimax running OSF/1, and using the OSF/rose object formats. - -Wed Oct 2 08:33:08 1991 Tom Wood (wood at dg-rtp.dg.com) - - * tree.h (TYPE_UID): Add this field to TYPE nodes. - * tree.c (make_node): Initialize it. - * dwarfout.c (TYPE_NAME_FMT): Use TYPE_UID rather than TREE_UID. - (equate_type_number_to_die_number): Discard type qualifiers. - (output_typedef_die): Don't use equate_type_number_to_die_number. - -Wed Oct 2 08:04:57 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * cse.c (cse_process_notes): Fix typo; missing arg in return. - -Wed Oct 2 06:56:13 1991 Ron Guilmette (rfg at ncd.com) - - * Makefile.in (ENQUIRE_CFLAGS): Remove duplicate use of GCC_CFLAGS. - - * Makefile.in (cplus-tab.c): Adjust number of expected conflicts. - - * Makefile.in (mostlyclean): Remove collect and collect2. - - * tm-svr4.h: Add new file; prototype for System V, Release 4. - -Tue Oct 1 23:00:13 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * reload.c (find_reloads_address): Fix error in previous change; - clean up REG case so it is easier to read. - -Tue Oct 1 14:05:46 1991 Michael Tiemann (tiemann at cygnus.com) - - * cplus-decl.c (finish_{decl,function}): Use new function - `note_debug_info_needed' instead of setting CLASSTYPE_ASM_WRITTEN. - * cplus-search.c (note_debug_info_needed): New function. - Recursively set CLASSTYPE_ASM_WRITTEN in a hierarchy when called. - - * cplus-class.c (finish_struct): If DECL_NAME of the BASE_FNDECL is - NULL_TREE, we know we're looking at a virtual destructor. - -Tue Oct 1 09:47:25 1991 Michael Meissner (meissner at osf.org) - - * tm-mips.h (OPTIMIZATION_OPTIONS): Enable scheduling insns now for - -O2 optimization. - - * Makefile.in (STAGESTUFF): Add $(EXTRA_PASSES), to allow moving any - extra passes into the stage[1234] directories, and to remove the - extra stuff when doing make clean. - -Tue Oct 1 08:35:11 1991 Tom Wood (wood at dg-rtp.dg.com) - - * dwarfout.c (FUNC_END_LABEL_FMT, TYPE_NAME_FMT): Undo this change. - - * c-decl.c (grokdeclarator): When making an unsigned bitfield - type from a typedef, preserve the size. A typedef of an - explicitly signed typedef is explicitly signed. - -Mon Sep 30 22:51:07 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) - - * out-sparc.c: Fix misc typos and indentation problems. - Delete all unnecessary extern declarations. - Include "recog.h". - Consistently use Pmode instead of SImode for addresses. - Use macros defined in tm-sparc.h instead of magic numbers. - (reg_or_0_operand): Accept CONST_DOUBLE zero. - (symbolic_operand): Accept CONST_DOUBLE. - (move_operand): Accept arith_double_operand ('H'), SMALL_INT - ('I'), and sethi operands ('K'). - (move_pic_label): Renamed from move_reg_or_immed_operand. If - flag_pic is true, accept a LABEL_REF, otherwise fail. - (arith_double_operand): Accept SMALL_INT ('I') CONST_INTs. Correct - computation of when a CONST_DOUBLE is a SMALL_INT ('H'). - (eligible_for_epilogue_delay): Accept arith_double_operands. - (emit_move_sequence): Handle arith_double_operands. Handle - loading of labels for pic, need to add a clobber of %o7 (reg 15). - (find_addr_reg): Don't return FRAME_POINTER_REGNUM. It is not - safe to play around with the frame pointer. - (hard_regno_mode_ok): Change from short to int array. - (output_pic_sequence, output_pic_sequence_2, fp_zero_hook): Delete - long obsolete routines. - (print_operand): Delete support for obsolete 'S' and 'H' cases. - (output_double_int): New function. Outputs assembler code for 64 - bit (DImode) values. - - * sparc.md: Fix misc typos and indentation problems. - Delete unnecessary (set_attr "type" "binary") lines. - Consistently use %a1 in sethi and ori output templates. - Consistently use Pmode not SImode for addresses. - Consistently use the same predicate for both operand 1 and - operand 2 in commutative patterns. Don't use same predicate in - non-commutative patterns. - Consistently use \; to separate multiple instuctions. - Change "r%" to "%r". - (define_attr length): Handle arith_double_operand predicate. - (movsi): Combine two movsi patterns into one, except for loading - of pic labels. New pattern to load pic labels, which clobbers %o7. - (movhi): Combine two movhi patterns into one. - (movqi): Combine two movqi patterns into one. - (movdi): Discourage the Q/f constraint option so that DImode - variables won't end up in floating pointer registers. - (floatsisf2, floatsidf2): Delete patterns accepting a const_int - operand. These should never be matched. In remaining patterns, - accept nonimmediate_operand instead of general_operand. - (adddi3, subdi3, anddi3, iordi3, xordi3, xnordi3, one_cmpldi2): - Accept arith_double_operand predicates and "HI" constraints. - (last peephole): Reg 0 should be CCmode not SImode. - - * tm-sparc.h: Fix misc typos. - (WORDS_BIG_ENDIAN): Indicate why it must be true. - (hard_regno_mode_ok): Change from short to int array. - (CONST_DOUBLE_OK_FOR_LETTER_P): Add new 'H' constraint, for DImode - constants that can fit in an immediate field. - (CONSTANT_ADDRESS_P): Accept any CONSTANT_P, including - CONST_DOUBLEs. - (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs if match 'H' - constaint. - (RTX_COSTS): Define cost for FLOAT to be more expensive than - CONST_DOUBLEs, so that cse will prefer the latter. - (ASM_OUTPUT_DOUBLE_INT): New macro to output DImode constants. - - * sched.c (schedule_block): When calculating register lifetime - info, handle CLOBBERs and USEs. The code that adds REG_DEAD notes - already handles them. - (update_n_sets): New function, subroutine of update_links. - Given a SET or CLOBBER, updates reg_n_sets as appropriate, - depending on whether this is in a deleted or a new insn. - (update_links): Call update_n_sets to subtract info for split - insn, and add info for insns resulting from the split. - -Mon Sep 30 19:06:50 1991 Michael Meissner (meissner at osf.org) - - * ecoff-cmp (TMP): Fix typo, from jonathan@isor.vuw.ac.nz. - - * mips-tfile.c (toplevel): Don't declare _flsbuf under Silicon - Graphics, from jonathan@isor.vuw.ac.nz. - -Mon Sep 30 15:54:02 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * cse.c (cse_process_notes): New function. - (cse_basic_block): Call it for each insn. - (count_reg_usage): Count usage in a REG_EQUAL note. - (delete_dead_from_cse): Call count_reg_usage with insn, not pattern. - * loop.c (scan_loop): Replace a register used in a REG_EQUAL note. - (find_single_use_in_loop): Two uses in single insn doesn't disqualify. - Allow argument to be REG_NOTES. - (count_loop_regs_set): Call find_single_us_in_loop on REG_NOTES. + * fixincludes: Do not consider //* to be a C++ comment which needs + to be fixed. -Mon Sep 30 15:47:03 1991 Michael Tiemann (tiemann at cygnus.com) +Mon Jan 11 15:03:41 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * cplus-call.c (ideal_candidate): Return 0 if the top two candidates - have identical rankings but incompatible types. + * pa.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P): Fix typos. - * cplus-lex.c (cons_up_default_function): Set DECL_NAME (FN) to - NULL_TREE in order to mark the function as being generated by the - compiler. - * cplus-init.c (emit_base_init): Change to use this interface. - * cplus-decl.c (duplicate_decls, redeclaration_error_message): Ditto. - (store_parm_decls): Ditto. - * cplus-decl2.c (grokclassfn): Ditto. - * cplus-dbxout.c (dbxout_type_methods): Ditto. - * cplus-class.c (finish_struct_methods): Ditto. - * cplus-method.c (fndecl_as_string): Ditto. - * cplus-search.c (lookup_fnfields_1): Ditto. - (compute_visibility): Ditto. - * cplus-typekc.c (build_function_call): Ditto. - * cplus-tree.c (lang_printable_name): Ditto. Also use - DECL_ASSEMBLER_NAME instead of DECL_NAME in DESTRUCTOR_NAME_P test. - * calls.c (expand_call): Change also needed here. +Mon Jan 11 12:41:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Sep 30 15:31:53 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * config/xm-svr4.h (sys_siglist): New macro. - * dbxout.c: Include before config.h, because it may define - MIN and MAX. +Sun Jan 10 18:16:49 1993 James Van Artsdalen (james at bigtex.cactus.org) - * fold-const.c (const_binop): Delete incorrect short cut for - (0 - const). + * i386.md (extendsidi2,zero_extendsidi2): New patterns. + (adddi3,subdi3): Don't emit code for low part if known to be zero. - * expr.c (do_tablejump): Pass GET_MODE (index) instead of Pmode to - emit_cmp_insn, because the latter fails when integers and pointers - are different sizes. + * i386/xm-sysv4.h (alloca): Delete - already defined in xm-i386.h. - * combine.c (subst): When checking to see if associating helps - simplify rtl, make sure we pass the constant operand if any as the - second one if this is a commutative operation. + * i386/xm-aix.h,i386/xm-sun.h: Include i386/xm-i386.h. + Remove redundant defines. - * cccp.c (rescan): Save obufp_before_macroname as an offset from - the start of op->buf instead of as a pointer into the middle, in - case op->buf gets realloced. +Sun Jan 10 18:00:17 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) -Mon Sep 30 14:07:20 1991 Tom Wood (wood at dg-rtp.dg.com) + * pa.h (GENERAL_OR_FP_OR_SNAKE_FP_REGS): New register class. + (LEGITIMIZE_ADDRESS): No longer show DP relocation. Simplify. + * pa.md (reload_insi, reload_outsi): Use new "Z" constraint instead + of "z" constraint. + (load HIGH patterns): Rewrite to not show DP relocation. + * pa.c (output_global_address): Handle (high (const (plus ...))). + (secondary_reload_class): If TARGET_KERNEL, then loading a + symbolic address, or the high part of a symbolic address requires + %r1 as a secondary reload register. + (emit_move_sequence, SYMBOL_REF case): If TARGET_KERNEL, then handle + secondary reload created for a symbolic (high (const (plus ...))). + No longer show DP relocation; read_only and normal operands emit the + same RTL now. + Emit the same RTL before and after reload, only change how the + scratch/temporary register is chosen. - * dwarfout.c (FUNC_END_LABEL_FMT, TYPE_NAME_FMT): TREE_UID is - unique only if the node is TREE_PERMANENT. Augment the spelling - of labels using TREE_UID with the TREE_UID of the current function. +Sun Jan 10 11:42:12 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Changes from Ron Guilmette: - * dwarfout.c (output_symbol): Deal with formal parameters with an - incomplete tagged type. - (output_bound_representation): Fix for arrays with dynamic bounds. + * combine.c (make_extraction): Don't use POS < 0 as a flag + that POS_RTX is to be used; instead use POS_RTX unless it is + nonzero. If POS_RTX is a constant, set POS and clear POS_RTX. + (make_compound_operation, make_field_assignment): Pass 0 for POS + instead of -1 when POS_RTX is nonzero. - Changes from Jim Wilson: - * dwarfout.c: Define strrchr to rindex for non USG systems. - Use DECL_BIT_FIELD_TYPE not DECL_BIT_FIELD to test for bitfields. +Sat Jan 9 01:34:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sun Sep 29 16:29:08 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * reload1.c (reload_as_needed): Test for whether to call + forget_old_reloads_1 for a REG_INC note was backwards. - * reload.h (indirect_symref_ok): New variable. - * reload.c (find_reloads_address): Remove shadowing decls of `tem'. - Only allow certain forms addresses as indirect; check - indirect_symref_ok to see if (mem (symbol_ref ...)) is a valid - address; if not that form or simple, not valid indirect address. - * reload1.c (indirect_symref_ok): Define here. - (init_reload): Initialize vars used to determine which addrs are valid. - (reload): Don't do it here. - Update comment to relect what `alter_regs' currently does. + * config/i386/xm-i386.h (alloca): Undef before defining. - * tree.h (struct tree_decl): Add new from_inline_flag; delete - lang_flag_9 to make room. - (DECL_FROM_INLINE): New macro. - (DECL_LANG_FLAG_9): Deleted. - * c-decl.c, cplus-decl.c (pushdecl): Use DECL_FROM_INLINE instead of - TREE_INLINE where appropriate. - * cplus-decl.c (finish_decl): Likewise. - * integrate.c (integrate_parm_decls, integrate_decl_tree): Set - DECL_FROM_INLINE instead of TREE_INLINE. - * print-tree (print_node): Print DECL_FROM_INLINE. - Delete reference to DECL_LANG_FLAG_9. + * config/i860/sysv3.h (ASM_OUTPUT_LOCAL): New override. -Sun Sep 29 12:49:47 1991 Michael Tiemann (tiemann at cygnus.com) + * gcc.c (lookup_compiler): Fix special code for `-' suffix. - * c-decl.c, c-typeck.c, cplus-decl.c, toplev.c: - Set/test TREE_ADDRESSABLE of DECL_ASSEMBLER_NAME, not DECL_NAME for - function decls. + * c-lex.c (yylex): Change warning msg when decimal const is unsigned. - * cplus-class.c: Export `current_lang_stack' and - `current_lang_base'. - cplus-decl.c (push_overloaded_decl): Allow redeclaration of a - function that was previously given a linkage specification at - top-level (i.e., not in an explicit linkage arena). + * Makefile.in (bootstrap*): Pass BOOT_LDFLAGS down as LDFLAGS. - * cplus-typeck.c (convert_arguments): Strip the `&' from an - overloaded function passed as an argument into an ellipses. + * Makefile.in (install-dir): Don't create gcc-lib/include. -Sat Sep 28 15:37:26 1991 Michael Tiemann (tiemann at cygnus.com) + * objc-actions.c (init_module_descriptor): + Use size_in_bytes to get size of `struct objc_module'. - * cplus-typeck.c (build_x_binary_op): We have to special-case the - failure of MEMBER_REF to be overloaded as an operator. + * c-decl.c (init_decl_processing): Use unsigned_intQI_type_node, + not unsigned_char_..., as index type for ..._array_type_node. -Sat Sep 28 10:44:36 1991 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * toplev.c (really_sorry): Use progname in error message, not c++. - * reload1.c (reload): If we find at some point that we need - caller-saves, disable elimination of the frame pointer. + * optabs.c (expand_binop): For complex mult, compute res + in each alternative, not before. - * reload.c (subst_reloads): Re-enable code to prevent making - a SUBREG inside a SUBREG. + * Makefile.in (bootstrap): Pass along CC and libdir in first compile. -Sat Sep 28 00:40:51 1991 Ken Raeburn (raeburn@cygnus.com) + * c-decl.c (pushdecl): Avoid multiple extern decl mismatch warnings + when previous decl is built-in. - * cplus-pt.c (do_pending_expansions): Adjust "DECIDE" macro to avoid - compiler warning from Sun cc. + * cccp.c (macroexpand): Before concatenated empty rest arg, + do copy constant chars, but delete last run of nonwhitespace chars. + (rescan): Handle Newline-Hyphen in expand_to_temp_buffer + as well as when scanning a macro body. -Fri Sep 27 17:30:39 1991 Per Bothner (bothner at cygnus.com) +Sat Jan 9 09:11:25 1993 Michael Tiemann (tiemann@rtl.cygnus.com) - * configure[.in]: Move most of the target_vendor switch - entries (e.g. next, sun, sony) from the m88k architecture to m68k, - where they belong. + * varasm.c (output_constant): Handle CHAR_TYPE and BOOLEAN_TYPE like + INTEGER_TYPE. -Fri Sep 27 16:21:04 1991 Michael Tiemann (tiemann at cygnus.com) +Sat Jan 9 08:06:42 1993 Michael Meissner (meissner@osf.org) - * cplus-search.c (recursive_bounded_basetype_p): Add new parameter - UPDATE_CHAIN so that function now behaves as comment prescribes. - * cplus-search.c (compute_visibility): Fix error in conversion of - data structures from list-based to binfo-based nodes. + * cccp.c (main): If we are creating a new dependency file with -MD + or -MMD, use "w" fopen mode instead of "a". -Fri Sep 27 07:05:57 1991 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Fri Jan 8 20:58:12 1993 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) - * c-decl.c (pushdecl): Fix typo: TREE_EXTERNAL misspelled. + Cygnus<->FSF merge. + Thu Jan 7 18:16:05 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Thu Sep 26 17:36:14 1991 Michael Meissner (meissner at osf.org) + * cp-parse.y (template_type): Avoid dereferencing an error_mark. - * tm-mips.h (ASM_FINAL_SPEC): Handle gcc -c -o foo bar.c. + Wed Jan 6 17:43:23 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * tm-decrose.h (ASM_FINAL_SPEC): Handle gcc -c -o foo bar.c. + * cp-decl.c (init_decl_processing): Make flag_no_builtin avoid + definitions of builtin fns memcpy, memcmp, strcmp, strcpy, strlen, + sin, and cos. (Add sin and cos.) + (flag_no_builtin): Add extern decl. - * make-decrose (cplus-lex rule): Remove hacks in compiling - cplus-lex, since bug in 1.39 inlining was fixed to allow us to - compile the module normally. + * cp-decl.c (current_local_enum): New variable. + (start_enum): Set TREE_ADDRESSABLE on the tag here, and clear + current_local_enum. + (build_enumerator): Build the field decl here, rather than in + grok_enum_decls; set its TREE_CHAIN to the current_local_enum. + (grok_enum_decls): Chain down, setting the type. -Thu Sep 26 11:53:49 1991 Ken Raeburn (raeburn@cygnus.com) + Tue Jan 5 22:09:18 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cplus-tree.h (TEMPLATE_TYPE_*): Use slower versions that uses tree - structures more properly, so accessor macros don't lose. + * cp-pt.c (tsubst): Properly demangle a method's name if it's for an + operator. - * cplus-pt.c (end_template_parm_list): For type parameters, make the - new decl be the name of the "type". + Tue Jan 5 15:29:40 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * Makefile.in (cplus-tab.{c,h}): There are now 30 s/r conflicts. + * cp-method.c (build_opfncall): Make postfix/prefix ++/-- work by + setting the second arg to 0 when using postfix ++/--. - * cplus-class.c (resolves_to_fixed_type_p, case CALL_EXPR): Deleted - duplicate code. + * cp-decl.c (grokdeclarator): Forbid declaring operator= from being + declared as a non-member (or friend) function. - * cplus-decl.c (poplevel): Deleted duplicate code saving info on - accesses to external via non-global decls. - (pushdecl): For typedef of unnamed type, don't store new name for - type if not at global binding scope. Also, don't need to test for - TYPE_DECL when previous conditional guarantees it. - (start_decl): Clear TREE_PUBLIC flag of templates. - (finish_decl): For variables in static storage with constructors, - force it into data section (out of common storage) only if the name - is externally visible. + Tue Jan 5 14:26:38 1993 Mike Stump (mrs@cygnus.com) - * cplus-gc.c (type_needs_gc_entry): If the type has no base types, - don't check to see whether they need gc entries. + Jan 5 14:09:08 1993 Paul Eggert (eggert@twinsun.com) - * cplus-parse.y (yyprint): Handle SCSPEC and AGGR. + * cp-lex.c (): Propagate a change from c-lex.c. - * cplus-pt.c (end_template_decl): Clear IDENTIFIER_TYPE_VALUE slots - for type parameters, then call adjust_type_value. - (instantiate_class_template): Do nothing if classname is - error_mark_node. - (mangle_class_name_for_template): Make buf a static array, since - its address gets returned. + Tue Jan 5 13:27:05 1993 Mike Stump (mrs@cygnus.com) - * reload1.c (reload): Provide array size in cast, to avoid compiler - warnings. + Sep 14 17:48:27 1992 Paul Eggert (eggert@twinsun.com) - From Niklas Hallqvist: - * cplus-tree.h (struct template_info): Added new field "aggr", which - will be class_type_node or struct_type_node for class or struct - templates. - * cplus-parse.y (template_def): Pass current_aggr to - end_template_decl. - (template_instantiation): Use aggr field. - * cplus-pt.c (end_template_decl): Argument IS_CLASS is now a tree, - used to set the aggr field. - (overload_template_name): Use aggr field. - - Suggested by John Carr: - * cplus-dbxout.c (dbxout_tags): Don't omit argument to - dbxout_finish_symbol. - (dbxout_continue): Omit declaration and definition if - DBX_CONTIN_LENGTH is not greater than zero, like its calls. - (print_int_cst_octal): Ditto, based on defined(WINNING_GDB). - * cplus-decl.c (GNU_end_scope): Never used; deleted. - (pushdecl): Vars nglobals, len are used only in code under "#if 0"; - comment out decls as well. - * cplus-gc.c (expand_gc_prologue_and_epilogue): Variable "head" was - unused; deleted. - * cplus-init.c (expand_aggr_vbase_init_1): All args are type tree. - (expand_vec_init): Don't return without a value when "initializer - ends prematurely". - * cplus-method.c (build_overload_nested_name): Pass all necessary - arguments in recursive call. - * cplus-search.c (pop_type_level): Cast argument to pop_stack_level - to proper type. - (push_memoized_context): Ditto for push_type_level. - (my_copy_node): Unused; deleted. - (lookup_fnfields): Add missing arg to get_binfo. - (lookup_field): Ditto. - - From Niklas Hallqvist: - * cplus-decl.c (push_to_top_level): Handle case of function with - unnamed parms. - (pop_from_top_level): Ditto. - -Thu Sep 26 07:46:08 1991 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * loop.c (scan_loop): Don't eliminate register that is set by - consecutive insns. - -Wed Sep 25 18:53:52 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c-decl.c (pushdecl): Suppress warnings about mismatch of - extern decl when it comes from inlining a function. - - * emit-rtl.c (set_new_first_and_last_label_number): New function. - (max_label_num): Use last_label_num if valid. - * integrate.c (output_inline_function): Call set_new_... - -Wed Sep 25 18:37:36 1991 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * flow.c (find_auto_inc): Set BLOCK_NUM of new insns emitted while - making an auto-inc. - - * Makefile.in (getopt*.o): Each file depends on its .c file and on - the compiler executable files. - -Wed Sep 25 18:18:46 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * toplev.c (debug_info_level): New variable. - * flags.h (debug_info_level, enum debug_info_level): New declarations. - * toplev.c (main): Rewrite handling of -g* and -G* options. - Now -G indicates use of GDB extensions. -g0 removed. - -Tue Sep 24 03:20:07 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * alloca.c: Test __STDC__, not X3J11. - Do nothing if alloca is defined as a macro. - -Tue Sep 24 09:15:17 1991 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * global-alloc.c (eliminable_regset): New variable. - (global_alloc): Compute it and use to turn off conflicts. - Refine computation of no_global_alloc_regs when ELIMINABLE_REGS is - defined. - (mark_elimination): Don't do anything with allocnos and don't do - any allocation. + * cp-lex.c (real_yylex): For floats, use REAL_VALUES_LESS to + distinguish underflow from overflow. Delete special case for 0.0. - * reload1.c (eliminate_regs_in_insn): Try to re-recognize insn if - we replaced a (set X (plus Y Z)). + Mon Jan 4 15:26:47 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Tue Sep 24 06:34:04 1991 Michael Tiemann (tiemann at mole.gnu.ai.mit.edu) + * cp-typeck.c (build_array_ref): Convert the index from a reference + before doing any appropriate type conversions. + + Wed Dec 30 15:36:18 1992 Per Bothner (bothner@cygnus.com) - * cplus-tree.c (virtual_member): Change TREE_VALUE accessor macro to - BINFO_TYPE. - * tree.h (BINFO_TYPE): New name for BINFO_VALUE. - * All cplus-* files: Changed to reflect new name. + * convert.c: New file. Contains the common utility routines + from c-convert.c and cp-cvt.c (such as convert_to_integer). + * convert.h: New file: declarations exported from convert.c. + * c-convert.c, cp-cvt.c: Correspondingly reduced. + * cp-cvt.c (cp_convert_to_pointer): New function, with the + extra hair beyond that provided by the C convert_to_pointer. + * Makefile.in (OBJS): Add convert.o. + * cp-typeck.c (build_binary_op), cp-tree.h: Add extra convert_p + parameter, for consistency with the C version (so we can make + convert_to_integer independent of C or C++). + * cp-cvt.c, cp-decl.c, cp-decl2.c, cp-except.c, cp-init.c, + cp-typeck.c, cp-parse.y: Fix calls to build_binary_op to pass + the new convert_p parameter (i.e. 1). -Mon Sep 23 12:56:11 1991 Michael Meissner (meissner at osf.org) + Fri Dec 18 19:19:28 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * tm-mips.h (ASM_SPEC): Fix typo, and close {}'s properly. + * cp-method.c (build_overload_nested_name): Use DECL_NAME instead of + DECL_ASSEMBLER_NAME, since pushtag now mangles together + DECL_ASSEMBLER_NAME. This will make us emit `Q21D1B', not `Q221D1B'. -Mon Sep 23 10:30:51 1991 Michael Tiemann (tiemann at cygnus.com) + * cp-decl2.c (grokclassfn): Try using the local value for a nested + type if the IDENTIFIER_TYPE_VALUE isn't there. - * cplus-tree.c (propagate_assoc_offsets): Keep relative offsets of - child_child correct when copying children. + Wed Dec 16 18:18:43 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * cplus-class.c Use `BINFO_VALUE' instead of `TREE_VALUE' when - accessing the type value of a binfo node. - * cplus-decl.c (finish_function): Ditto. - * cplus-init.c (build_vbase_delete): Ditto. + * cp-typeck.c (build_unary_op): Set TREE_CONSTANT on the address of + a function if it's static or external (i.e., staticp likes it). + + Wed Dec 16 16:09:37 1992 Mike Stump (mrs@cygnus.com) -Mon Sep 23 06:11:56 1991 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * cp-decl.c (sigsegv, init_decl_processing): Give users the line + number and source filename on code that makes the back-end call + abort. - * flow.c (reg_n_refs): Use int, not short. Short can overflow - if we have very deep loop nesting. - (allocate_for_life_analysis): Allocate reg_n_refs as int. - * regs.h (reg_n_refs): Now int. - * sched.c: Delete duplicate definitions of objects defined in regs.h. + Tue Dec 15 16:50:45 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * combine.c (try_combine): Correctly check for independent insns - in a PARALLEL. + * cp-tree.h (CLASSTYPE_NAMES): Deleted. - * combine.c (distribute_note, case REG_DEAD): If we discover a register - is never used, see if we can delete the insn that set it. + * cp-init.c (build_offset_ref): When getting ready to give an error + about something not being a member or operator, only call + operator_name_string when it is indeed an operator. -Sun Sep 22 19:24:52 1991 Michael Tiemann (tiemann at cygnus.com) + * cp-decl2.c (bad_specifiers): New function. + * cp-tree.h (bad_specifiers): Add prototype. + * cp-decl.c (grokdeclarator): Use it in places where we had + replicated code. - * cplus-type2.c (build_functional_cast): Don't forget a valid - function call if we found one (and nothing more). + Tue Dec 15 04:05:54 1992 Mike Stump (mrs@cygnus.com) -Sun Sep 22 07:48:18 1991 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * cp-lex.c (UNSET_RESERVED_WORD): Update from c-lex.c. - * rtlanal.c (rtx_varies_p, case REG): Correct typo; sense of comparison - was backwards. + Tue Dec 15 01:21:44 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * global-alloc.c (mark_elimination): Don't use HARD_REG_SET macros - to access basic_block_live_at_start. + * cp-lex.c (real_yylex): Convert invisible initialized char array + vars to string constants. - * reload1.c (set_label_offsets): New function. - (offsets_known_at, offsets_at): New variables. - (reload): Allocate and initialize them. - Set each label in FORCED_LABELS to be at initial offsets. - Call set_label_offset on all insns that might involve labels. - Use GET_RTX_CLASS when appropriate. - (eliminate_regs, mark_not_eliminable): Ignore sets of FP when looking - for sets of a "to" register. - (eliminate_regs_in_insn): No longer suppress elimination for any - pair not at its initial offet at a jump. - - * combine.c (distribute_links): Correctly find the place to put a - link. Handle the case when we eliminate all uses of something that - we used to use; in that case, we must seach forward. - No longer need I3, I2, or ALL_ADJACENT arguments. - (try_combine): Change calls to distribute_links. - - * reload.c (find_equiv_reg): Use GET_RTX_CLASS when appropriate. - If GOAL is a MEM whose address varies, check whether registers - that are SET appear in the address rather than assuming they do. - Ensure REG_INC note is a REG; ignore it if not. - - * rtlanal.c (rtx_varies_p): Rework to use switch statement. - Check for {frame,arg}_pointer_rtx, not just register number. - (rtx_addr_can_trap_p): New function. - (may_trap_p): Use rtx_addr_can_trap_p instead of rtx_varies_p. - * genattrtab.c: Define {frame,arg,stack}_pointer_rtx for rtlanal.c. - - * combine.c (make_extraction): Make a ZERO_EXTRACT for something with - pos == 0 if it will be placed in a SET_DEST. - - * expmed.c (expand_shift): Rotate case was missing return statement. - extzv case had wrong arg to delete_insns_since. - Remove unneeded calls to delete_insns_since. - Allow BITS_BIG_ENDIAN to vary at run-time. - Use variable TEMP in a consistent manner. - Other miscellaneous changes and cleanups were made. - - * flow.c (max_uid_for_flow): New variable. - (flow_analysis): Compute maximum uid into max_uid_for_flow; if - we might have auto-inc, leave some space. - (find_auto_inc): Verify that the uid's of the insns we make are - within the allocated space of our per-insn tables. - Use get_insns instead of gen_sequence. - - * global-alloc.c (retry_global_alloc): When we allocate a register, - update regno_reg_rtx and mark the allocated register live. - (mark_elimination): New function. - * reload1.c (reload): Call mark_elimination for every elimination - we have been able to do. - (spill_hard_reg): No longer need to call mark_home_live. - -Sun Sep 22 02:07:55 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * fixincludes: Redirect cmp output to /dev/null; don't close it. - - * varasm.c (assemble_function): Handle ASM_OUTPUT_FUNCTION_PREFIX. - - * final.c (final_scan_insn): No need to goto text section - for label on jump table. We're normally in the text section. - -Sat Sep 21 14:59:32 1991 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) - - * make-cc1.com: Fix typo in code that decides if bison needs to be - run. Also, display a message when building the compiler that informs - the user about the need to update the assembler. - -Sat Sep 21 17:23:07 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * loop.c (struct movable): Add field DEPENDENCIES. - (scan_loop): Remove mechanism based on REG_TO_FORCE and - MOVABLE_TO_FORCE. Replace with use of new field. - Optionally allocate and initialize reg_single_usage and pass it to - count_loop_regs_set. - If an invariant register is used exactly once and this is a loop - that has a CALL_INSN, try to substitute the definition of the register - into its use. - (record_excess_regs): Fix typo in sense of checking in NOT_IN_THIS; - only check pseudo-regs. - (libcall_other_reg): Always return the list of registers used, - no matter how many there are. - (combine_movable): Only combine two movables if they have the same - dependencies. - (move_movables): Can only move something if its dependencies have - already been moved. - (find_single_use_in_loop): New function. - (count_loop_regs_set): Delete code that prevents moving a reg that - is used as a function address. - Call find_single_use_in_loop when required. + Mon Dec 14 11:38:10 1992 Brendan Kehoe (brendan@lisa.cygnus.com) -Sat Sep 21 16:28:34 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Makefile.in: Fix a lot of dependencies on cp-lex.h and other + headers for cp-*.o targets. - * c-typeck.c (build_unary_op): - Handle const and volatile lvalues correctly in ADDR_EXPR. + * cp-search.c (get_first_matching_virtual): Use warning_with_decl, + not error_with_decl, inside code that's only ever reached with + -Woverloaded-virtual. - * output.h (current_function_contains_functions): - Just declare it, don't define it. + * cp-typeck.c (c_expand_return): When building the INIT_EXPR, clear + out the context if it's an ERROR_MARK so the back-end won't die later. - * cse.c (exp_equiv_p): New arg EQUAL_VALUES. All callers changed. + * cp-type2.c (my_friendly_abort): Don't say anything like "please + fix above errors", just exit quietly. -Sat Sep 21 12:59:15 1991 Michael Tiemann (tiemann at cygnus.com) + * cp-lex.h (enum rid): Reordered for improved speed in grokdeclarator + when it does its linear search. RID_WCHAR is no longer in the + search path, since it's found by hand (as are RID_INT and RID_CHAR). + (RID_FIRST_MODIFIER): Start at RID_EXTERN now. - * cplus-parse.y (object_star): New rule. - (POINTSAT_STAR): New token. - * cplus-lex.c (init_lex): Define entry for MEMBER_REF. - GNU C++ now overloads `operator->*' according to ARM semantics. It - no longer attempts to implement operator->* as two distinct - operations. + * cp-parse.y (overloaddef): Warn that using `overload' is an + anachronism. -Fri Sep 20 18:08:07 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + Wed Dec 9 08:27:13 1992 Niklas Hallqvist (niklas at della.appli.se) - * combine.c (subst): Don't replace a CC0 or a PC in a SET_DEST if - FROM is the same thing. - - * combine.c (simplify_shift_const): Compute SHIFT_MODE at start of - loop and use its width, rather than width of RESULT_MODE, when checking - shift count. + * cp-decl.c (init_decl_processing): Make sure the "unknown type" + typedecl gets ignored by the debuginfo generators. -Fri Sep 20 10:55:55 1991 Michael Tiemann (tiemann at cygnus.com) + Sun Dec 13 02:38:43 1992 Brendan Kehoe (brendan@cygnus.com) - * cplus-pt.c (uses_template_parms): Handle COMPONENT_REF case. + * cp-search.c (lookup_nested_field): Check for assignment to members + of an enclosing class only when looking at a member, not at other + things (like nested types). -Fri Sep 20 00:27:43 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-pt.c (type_unification): Only check that ARGS is a TREE_LIST if + it's non-null. - * c-typeck.c (build_modify_expr): When assigning to a cast, - convert value first to the type being cast to. - (build_unary_expr): Disallow adress of a cast. + These four are from Niklas Hallqvist: - * explow.c (allocate_dynamic_stack_space): - Handle SETJMP_VIA_SAVE_AREA before rounding to STACK_BOUNDARY. + * cp-search.c (compute_visibility): Use the main variant when + testing if a member function belongs in the current class. -Thu Sep 19 21:13:17 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-call.c (build_method_call): Don't look for constructors + called by initialization inside class methods in the classes' + bases (as opposed to inherited methods). - * Makefile.in (dist, gcc-*.tar, gcc-*.tar.Z): New targets. + * cp-typeck.c (convert_for_initialization): In the case of + templates, make sure build_method_call knows which instantiation + of the class template we're initializing an object of. - * jump.c (jump_optimize): In handling `if (...) x = a; else x = b;', - don't crash if scan reaches start of insns. + * cp-decl.c (grokdeclarator): Instead of an assert, return a + NULL_TREE if the return_type's not return_ctor. - * Makefile.in (protoize): Link with getopt.o and getopt1.o. - (unprotoize): Likewise. - (protoize.o): Depend on getopt.h. Pass -D options for include dirs. - (unprotoize.o): Likewise. - (getopt.o, getopt1.o): New targets. + Sat Dec 12 23:52:25 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * protoize.c: Major rewrite by RFG and RMS. + * cp-dem.c (cplus_demangle): Recognize 'S' for signed char. + (do_cuv_prefix): Print out "signed" for it. -Thu Sep 19 09:58:25 1991 Tom Wood (wood at dg-rtp.dg.com) + Fri Dec 11 19:36:36 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - Changes from Ron Guilmette: - * dwarfout.c: Keep track of next_block_number correctly. - * final.c (final_scan_insn): Don't invoke dwarfout_{begin,end}_block - for the outermost block of a function. + * cp-cvt.c (convert_to_reference): Fix a typo about when to return + the result of a type conversion. -Thu Sep 19 06:16:34 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + Tue Dec 8 20:05:25 1992 Mike Stump (mrs@cygnus.com) - * reload.c (copy_replacements): New function. - * optabs.c (gen_move_insn): Don't call gen_lowpart while reloading - is in progress; it calls change_address, which wants to make pseudos. + * cp-cvt.c (convert_to_reference): If a conversion can be found via + a constructor, then use it. - * combine.c (subst, case SET): Fix typo in last change. + Fri Dec 4 13:53:01 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * combine.c (distribute_notes): When searching back for a place that - uses a register marked REG_DEAD, check for set and reference separately - since reg_overlap_mentioned_p doesn't check SET_DEST. + * cp-lex.c (init_lex): Delete inits for CARD_EXPR and SET_LE_EXPR, + since we never actually use them. - * combine.c (simplify_shift_const): Correct handling of shift counts - that become out-of-range. + Thu Dec 3 19:20:14 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * combine.c (expand_field_assignment): Don't allow sharing the RTL - for the inner object. + * cp-decl.c: Include sys/types.h for systems that need things for + signal.h. - * combine.c (can_combine_p, try_combine, record_value_for_reg): Use - reg_overlap_mentioned_p instead in reg_mentioned_p in most places. - (distribute_notes, distribute_links): Likewise. - (combinable_i3pat): New function, from try_combine. - (try_combine): Default I1DEST and I1SRC to zero. - New var I1_FEEDS_I3. - Delete code to validate I3's pattern from here; call combinable_i3pat - instead. - If a substitution returns a (clobber (const_int 0)), stop immediately. - Don't abort if substitution made new regs; just don't do combine. - (subst): If IN_DEST, don't replace a matching object. - Don't look at a REG as a SET_DEST. - If substitution inside a PARALLEL fails, give up immediately. - Return (clobber (const_int 0)) even for a SET whose operand fails. - (subst, case SET): Correctly test for low-order SUBREG. - Don't use gen_lowpart_for_combine; make SUBREG explicitly since it - can't handle modes larger than a word. + Wed Dec 2 15:51:34 1992 Mike Stump (mrs@cygnus.com) - * combine.c (subst, case NOT): Code for (not (ashiftx ..)) was too - general; only handle (not (ashift 1 X)). - (subst, case NEG): Handle (neg (ashift ...)). - (merge_outer_ops): Support NEG. - (simplify_shift_const, case NEG): Handle (ashift (neg ...)). + * cp-call.c (build_method_call): Don't call abort for pure virtual + methods, instead, call the user-defined method. Addresses of pure + virtual methods are probably still wrong. - * cse.c (simplify_binary_operation, case ROTATE, ROTATERT): - Rotating all one bits is just all ones. + Wed Dec 2 14:44:41 1992 Brendan Kehoe (brendan@lisa.cygnus.com) -Thu Sep 19 01:08:14 1991 Michael Tiemann (tiemann at cygint.cygnus.com) + * cp-call.c (convert_harshness): If parm's null for a reference (as + can be passed in), return 0. - * cplus-parse.h, cplus-decl.h: Remove trailing comma after the last - enum value in enum declarations. + Tue Dec 1 18:05:20 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * cplus-type2.c (digest_init): Set TREE_PURPOSE of union initializer - when initializing a union by the first field. + * cp-decl.c (grokdeclarator): Make member initialization be a + warning, not an error. Only issue it if not -pedantic, since + grokfield will issue an error when pedantic. Only warn about + constant members being initialized if `-ansi' is being used. + (finish_decl): Only complain about uninitialized const's that aren't + members when acting -pedantic, since we'll have already issued the + error about initializing a field. - * cplus-method.c (fndecl_as_string): Test whether DECL_CLASS_CONTEXT - is NULL before using it. - (dump_aggr_type): New function. Print aggr type's context when - appropriate. - (dump_type{_prefix}): Use `dump_aggr_type' to print ENUMERAL_TYPE, - UNION_TYPE, and STRUCT_TYPE types. + * cp-type2.c (build_functional_cast): Revert change of Nov 2, + concerning clearing the TREE_VALUE of a default parameter. - * cplus-decl.c (start_decl): Don't use DECL_CLASS_CONTEXT if DECL - has no DECL_LANG_SPECIFIC. + Tue Dec 1 11:09:50 1992 Brendan Kehoe (brendan@lisa.cygnus.com) -Wed Sep 18 21:46:32 1991 Michael Meissner (meissner at osf.org) + * cp-call.c (build_method_call): When looking for a default arg + initialized by a ctor, be careful of a null ref w/ operand 1. - * mips-tfile.c (cur_proc_value): New static to remember the starting - location of the current function. - (add_procedure): Save current procedure location. - (parse_begin, parse_bend): Subtract cur_proc_value from location. - (parse_bend): Correct error messages. - The above changes are from bothner@cygnus.com. + * cp-method.c (icat): Handle an argument of `1' first, since it's + the most common case. - * tm-mips.h (ASM_FINAL_SPEC): Use -mno-mips-tfile to suppress - invoking mips-tfile, instead of using -g0. If -save-temps, preserve - the original .o file before mips-tfile is called. Pass the correct - name for the assembler file. - (MASK_MIPS_TFILE): New mask for -mmips-tfile, -mno-mips-tfile, set - to 0, since that switch is handled entirely in ASM_FINAL_SPEC. - (TARGET_FLAGS): Add -mmips-tfile, -mno-mips-tfile switches. - (MUST_SAVE_REGISTER): Allow $30 to be saved, even if not being used - as the frame pointer. + Tue Dec 1 02:36:28 1992 Mike Stump (mrs@cygnus.com) - * tm-decrose.h (ASM_FINAL_SPEC): Use -mno-mips-tfile to suppress - invoking mips-tfile, instead of using -g0. If -save-temps, preserve - the original .o file before mips-tfile is called. Pass the correct - name for the assembler file. + * cp-search.c (get_first_matching_virtual): Only set the + DECL_CONTEXT if the new context is a an unambiguous parent of the + previous context. -Wed Sep 18 18:54:15 1991 Michael Tiemann (tiemann at cygint.cygnus.com) + Tue Dec 1 02:20:32 1992 Mike Stump (mrs@cygnus.com) - * cplus-*.c: Use DECL_CLASS_CONTEXT to figure out where a (static or - non-static) member function is declared, rather than trying to - divine the info from TYPE_METHOD_BASETYPE of the function's type. + Wed Nov 25 18:25:06 1992 Jim Wilson (wilson@sphagnum.cygnus.com) -Wed Sep 18 15:38:52 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * cp-decl.c (pushdecl): Clear DECL_CONTEXT for local declarations. - * c-decl.c (grokdeclarator): Error if nested function is extern. + Mon Nov 30 15:36:43 1992 Brendan Kehoe (brendan@lisa.cygnus.com) -Wed Sep 18 02:41:08 1991 Per Bothner (bothner at cygnus.com) + * cp-decl.c (finish_decl): Only complain about uninitialized consts + in the case where we haven't seen a previous decl/init of it. - * cplus-typeck.c (convert_arguments): Don't crash if the - formal parameter type is unknown (type==NULL) and the - actual is a function. Do the default instead. + Thu Nov 26 11:22:12 1992 Mike Stump (mrs@cygnus.com) -Tue Sep 17 22:33:30 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * c++: Put a newline after for arg and before do, as ``for arg do'' + is not accepted by all shells. - * c-typeck.c (check_format): - No warning if types match except for signedness. + Mon Nov 23 13:21:43 1992 Brendan Kehoe (brendan@cygnus.com) -Tue Sep 17 10:56:46 1991 Michael Tiemann (tiemann at cygint.cygnus.com) + * c++ (-lm): Also recognize -lmath as a math library. - * cplus-decl.c (pushtag): When creating a TYPE_DECL that's in class - scope, allocate the space needed for DECL_CLASS_CONTEXT. + * c++ (first): Only shift if $first is no, on the chance we got no + arguments at all. If we didn't get anything, say so (since -lg++ + will fake out the gcc driver into thinking we want to do something). - * cplus-search.c (get_abstract_virtuals): If the BASE is not on the - main spine, look at the virtuals that come from the most derived - class that has BASE on its main spine. - * cplus-tree.h (VF_*): New macros for dealing with VFIELDS. + * cp-parse.y (paren_expr_or_null): New rule to emit an error when an + empty condition is used when it shouldn't. + (simple_if, stmt): Use it for `if', `while', and `do'. -Mon Aug 16 12:09:32 1991 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + * cp-decl.c (start_decl): If grokdeclarator returns a + void_type_node, return a NULL_TREE. - * make.com: Fix typo. + * cp-typeck.c (build_modify_expr_1): When calling build_opfncall for + `operator=', use make_node to create a plain NOP_EXPR for it to use, + rather than trying to pass NOP_EXPR down hoping it gets there intact. + (build_modify_expr): Ditto. + * cp-method.c (build_opfncall): Use TREE_CODE on ARG3 for a + MODIFY_EXPR, since it'll be coming in properly as a tree now. -Tue Sep 17 15:13:39 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + Sat Nov 21 02:33:28 1992 Brendan Kehoe (brendan@cygnus.com) - * c-common.c (shorten_compare): Always compute args with side effects. + * cp-init.c (expand_default_init): Clear DECL_REGISTER if we're + going to call a ctor, otherwise we may end up generating bogus and + confusing error messages about taking the addr of something declared + to be `register'. - * varasm.c (decode_addr_const): Use SYMBOL_REF unchanged in 1st switch. + * cp-typeck.c (build_x_function_call): Recognize a ptr-to-method + that is being passed in as a function argument or as part of + a COMPONENT_REF. + (build_indirect_ref): If ERRORSTRING is NULL (it's passed in that + way in many places), then don't try to use it. - * varasm.c (output_addressed_constants): Handle a CONSTRUCTOR in - an ADDR_EXPR correctly. - - * cccp.c (rescan): For unterm string, mention lineno of first newline. + Sat Nov 21 01:49:34 1992 Brendan Kehoe (brendan@cygnus.com) - * fold-const.c (fold): Call optimize_bit_field_compare in constant case - even if not optimizing. + Work towards 64-bit support, and still more housecleaning. - * c-decl.c (finish_function): Don't clear DECL_INITIAL if nested. - (pop_c_function_context): Do it here instead. + * cp-*.[cy]: For all functions and variables, pass/initialize/compare + NULL_TREE, not 0, where appropriate. Cast comparisons against 0 + with the proper pointer types, where appropriate. Fix all passing + of NULLs where there should be NULL_TREEs. Don't include + cp-class.h anywhere. In many places, pass the missing fifth arg + to build_opfncall as NULL_TREE. + * cp-tree.h: Add decls with prototypes for prettymuch every function + in the C++ front-end. Include cp-class.h here. + * cp-call.c: (build_function_call_maybe, unary_complex_lvalue, + convert_harshness): Don't declare. + (explained): Initialize to 0. + (build_field_call): Give build_opfncall its fifth arg (NULL_TREE). + (build_method_call, build_overload_call_real): Don't declare + rank_for_overload. + * cp-class.c (lookup_tag_current_binding_level, + do_inline_function_hair): Don't declare. + (get_vfield_name): Add prototype for static fn. + (leftmost_baseclasses): Disable, never used. + (constructor_name): Don't declare. + (finish_struct): Delete arg EMPTY, never used. Change all callers. + Disable set of leftmost_baseclasses, since it's never used anywhere. + (pushclass): Don't declare declare_uninstantiated_type_level. + * cp-cvt.c (NULL): Undef first. + (build_up_references): Cast return of error_not_base_type to `tree'. + (convert_to_reference): Delete useless variable rval1. + (convert_to_integer): Don't declare build_binary_op_nodefault or + build_unary_op. + (build_type_conversion): Don't declare default_conversion. + * cp-decl.c (many extern funs): Don't declare. + (grokparms, lookup_name_current_level, lookup_nested_type, + redeclaration_error_message, parmlist_is_random, + grok_op_properties, expand_static_int, deactivate_exception_cleanups, + revert_static_member_fn): Declare static fns w/ prototypes. + (pushlevel): Cast passing of NEWLEVEL to an int. + (poplevel, poplevel_class, finish_method): Cast first two args of + GNU_xref_end_scope to HOST_WIDE_INT. + (duplicate_decls): Pass third arg to compexcepttypes (0). + (grokvardecl): Delete arg CTYPE, never used. Change all callers. + Delete unused local var block_previously_created. + * cp-decl2.c (substitute_nice_name): Don't declare decl_as_string. + (grokclassfn): Delete unused local var name. + (check_classfn): Delete unused arg FLAGS. Change all callers. + (grokfield): Pass digest_init only 3 args, not 6 (that's in the C + front end, dammit). + (coerce_new_type, coerce_delete_type): Delete first arg CTYPE, it's + never used. Change all callers. + * cp-dem.c (cplus_demangle): Delete unused var non_empty. + (NULL): Undef first. + * cp-except.c: (call_to_unhandled_exception): Add decl of + combine_strings. + (init_exception_processing): Add decls of build_function_type and + define_function. + * cp-gc.c (define_function): Add extern decl. + * cp-init.c (is_aggr_typedef): Delete extern decl. Add type for + argument OR_ELSE. + (build_new): Don't declare require_complete_type. + (build_vec_delete): Only pass 6 args, not 7. + * cp-lex.c (init_lex): Don't declare init_parse or + lang_printable_name. + (cons_up_default_function): Don't declare constructor_name. + (compiler_error): Declare args V and V2 to be HOST_WIDE_INT. + * cp-method.c (index, rindex): Don't declare. + * cp-parse.y (unary_expr): Cast first arg to build_x_unary_op to + be of enum tree_code type. For every call to build_new, pass its + fourth arg as a comparison of $$ against NULL_TREE, instead of + just passing it in. + (combine_strings, truthvalue_conversion): Add extern decls. + (structsp): Pass lookup_name its missing second arg (0). + (component_decl): Pass 5, not 6, args to grokfield. + (ansi_except_stmts): Delete decls of ansi_expand_start_match and + cplus_exception_name. + * cp-pt.c (mangle_class_name_for_template): Delete decl of + type_as_string. + * cp-search.c (get_binfo): Declare third arg PROTECT as int. + (get_binfo2, get_binfo2_recursive): Make static. + (get_base_distance): Cast DEPTH and IS_PRIVATE to ints, not + HOST_WIDE_INTs. + (get_baselinks): Delete decl of hash_tree_cons. + * cp-spew.c (probe_obstack): Make static. Compare NLEVELS != 0, + not > 0, since it's unsigned. + * cp-tree.c (list_hash_lookup_or_cons): Don't declare constructor_name. + * cp-type2.c (digest_init, incomplete_type_error, + readonly_warning_or_error, convert_for_initialization): Don't delete. + (error_with_aggr_type): Declare third arg ARG to be HOST_WIDE_INT. + (build_scoped_ref): Delete unused var orig_ref. + (build_x_arrow): Even worse, give build_opfncall its missing last + two arguments (as NULL_TREEs). + * cp-typeck.c (build_component_ref): Call build_indirect_ref with + its missing second arg (as a NULL). + (build_x_indirect_ref): Again, build_opfncall with its missing + last two args. + (build_x_function_call): Delete decl of build_overload_call_maybe. + (convert_for_assignment): Cast return of error_not_base_type to tree. + * cp-xref.c (getpwd): Declare as extern. + (Integer, String): Delete typedefs, rename all uses to their real + meanings (`int' and `char *'). -Tue Sep 17 11:30:32 1991 Michael Meissner (meissner at osf.org) + Thu Nov 19 01:41:58 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * collect-osf.c (scan_prog_file): Recognize alternate forms for the - constructor and destructor names. + * cp-dem.c (do_builtin_type): Recognize `w', a wide character, since + it's now a type according to the ANSI X3J16 working paper; output + "wchar_t" for it. + (cplus_demangle): Accept `w' as an integral type. - * osf-main.c (_entry): Provide an alternative function (_entry) to - start up the static constructors/destructors. + * cp-lex.c (init_lex): Delete duplicate setting of `__pl'. -Mon Sep 16 05:35:21 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + Wed Nov 18 21:29:14 1992 Brendan Kehoe (brendan@cygnus.com) - * combine.c (simplify_shift_const): Correct errors involving modes - to use for shift. + * cp-class.c (finish_struct): Re-enable code to cut down on the size + of symbol output, the positives outweigh the negatives. -Sun Sep 15 19:13:58 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + Wed Nov 18 19:51:59 1992 Mike Stump (mrs@cygnus.com) - * reload1.c (reload_as_needed): Remove code that deletes insns that - create equivalences. - (reload): Put it here so it is executed even if reload_as_needed - isn't called. + * cp-search.c (dfs_walk): Move setting of + vbase_decl_ptr_intermediate out of #ifdef code. -Sun Sep 15 17:13:09 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + Wed Nov 18 18:49:13 1992 Mike Stump (mrs@cygnus.com) - * Makefile.in (GNULIB2_CFLAGS): Include GCC_CFLAGS. - (ENQUIRE_CFLAGS): Likewise (in place of plain CFLAGS). + * cp-decl.c (grokdeclarator): Make wording on error message + stronger. - * genattrtab.c (main): Don't index by id->insn_code if negative. + Tue Nov 17 17:46:11 1992 Brendan Kehoe (brendan@cygnus.com) - * genrecog.c (write_tree_1): Avoid pos[depth-1] if depth is 0. + * cp-search.c (CHECK_convert_pointer_to_single_level): Don't define. -Sun Sep 15 15:19:16 1991 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + Mon Oct 5 03:10:14 1992 Mark Eichin (eichin at tweedledumber.cygnus.com) - * make.com: Modify to allow direct submission to a batch queue. - Also, add instructions to build GNU C++ as well as GNU CC. + * c++ (numargs): $# was used after set was called; instead, save + $# in $numargs and use that value instead. - * cccp.c (hack_vms_include_specification): If [000000] is present in - (implying a physical device or a rooted logical) try to open it. - If the open fails, then remove the [000000] (making the name suitable - for use with a non-rooted logical name) and return that. +Fri Jan 8 18:11:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sun Sep 15 15:12:41 1991 Michael Meissner (meissner at osf.org) + * cccp.c (rescan): Prevent token pasting before macro call. + (macroexpand): Prevent token pasting around an arg unless it's raw. - * make-mips (Makefile): Remove rule building Makefile, since - Makefile.in now has one. + * c-lex.c (yylex): Don't allow @ in identifier outside of Objective C. - * make-decrose (Makefile): Remove rule building Makefile, since - Makefile.in now has one. +Fri Jan 8 15:03:52 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) -Sun Sep 15 14:12:47 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * pa.c (plus_xor_ior_operator): New predicate. - * Makeflags (SYSCALLS.c.X): Use CPPFLAGS and INCLUDES. +Fri Jan 8 13:09:47 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sun Sep 15 12:03:35 1991 Michael Tiemann (tiemann at cygnus.com) + * combine.c (BYTE_LOADS_EXTEND, LOAD_EXTEND): New macros. + (subst, simplify_and_const_int, nonzero_bits, num_sign_bit_copies): + Use them. + (subst, case SET): Make a SIGN_EXTEND instead of paradoxical SUBREG + if BYTE_LOADS_SIGN_EXTEND; previously only made ZERO_EXTEND. - * cplus-decl.c (poplevel): Match change made to c-decl.c on Oct 3, - 1989. + * function.c (assign_parm): Fix typo introduced by previous change. -Sun Sep 15 06:52:42 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * configure (486 targets): Set cpu_type to i386. - * caller-save.c (save_call_clobbered_regs): Deaden registers mentioned - in REG_UNUSED notes. - (clear_reg_live): Verify that note refers to a REG. - (choose_hard_reg_mode): Rewrite to not use specific modes and to - handle the case where separate CCmode registers exist. +Fri Jan 8 03:48:27 1993 James Van Artsdalen (james at bigtex.cactus.org) -Sat Sep 14 13:03:29 1991 Michael Tiemann (tiemann at cygnus.com) + * i386/perform.h: New file. perform_* macros for i386. + * i386/386bsd.h,i386/osfrose.h,i386/mach.h (perform_*): Move + perform_* macros to new file. - * all cplus-* files: Change {ASSOC,assoc} to {BINFO,binfo} where - appropriate. - cplus-tree.h, tree.h: Change name of CLASSTYPE_ASSOC to TYPE_BINFO. - Change names of CLASS_ASSOC_* to TYPE_BINFO_*. - all cplus-* files: FUNCTION_DECLs that are class methods now have - their DECL_VCONTEXT stored in the DECL_CONTEXT. - (lang_decl): The VCONTEXT field is now gone. - (lang_decl): _DECL nodes in class scope now record the class as a - context in the DECL_CLASS_CONTEXT field. - tree.h (TYPE_BINFO): Renamed TYPE_BASETYPES to this. - dbxout.c (dbxout_type): User of TYPE_BASETYPES changed. - (BINFO_{VALUE,OFFSET,VTABLE,VIRTUALS,BASETYPE{S}}): New macros - inherited from GNU C++. - (DECL_{VINDEX,FCONTEXT}): Ditto. - (TREE_VIA_{PUBLIC,VIRTUAL}): Ditto. +Thu Jan 7 19:03:56 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) -Sat Sep 14 09:14:26 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * pa.h (target_switches): Add "-mtrailing-colon" + (ASM_OUTPUT_LABEL): If TARGET_TRAILING_COLON then emit + a colon after the label. + (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + (ASM_OUTPUT_COMMON): Likewise. + (ASM_OUTPUT_LOCAL): Likewise. - * rtlanal.c (reg_set_p): Remove abort for MEM; reg_overlap_mentioned_p - now handles that case correctly. - REG is set if it is really a MEM and this is a CALL_INSN. +Thu Jan 7 18:21:52 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sat Sep 14 01:34:39 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * configure: Now that all files moved, always include CPU_TYPE in + default file names; do not check both config and config/$cpu_type. + Fix a few missing directory names and remove a few redundant specs. - * configure (vax-ultrix*): New alternative. + * config/vax, config/convex: New directories; all files moved. + * configure (vax-*, convex-*): Files now in subdirectories. - * reload1.c (choose_reload_regs): Always ignore cancelled reloads. +Thu Jan 7 17:31:36 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * real.h (atof): Alternate declaration on MIPS. + * Makefile.in (specs): Use GCC_FOR_TARGET. -Thu Sep 12 18:55:06 1991 Torbjorn Granlund (tege at mole.gnu.ai.mit.edu) + * Makefile.in (install-common): Install c++ and g++ only if cc1plus + built. - * optabs.c (expand_binop): Fix carry propagation code for multiple - words. + * fixincludes: fix the rename prototype on the rs6000 , + which conflicted with c++ use of new - * tm-*.h: Fix systematic typo in comment. + * c-decl.c (start_decl): Correct order of parameter declarations. -Thu Sep 12 18:23:53 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Thu Jan 7 16:52:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * gvarargs.h, va-mips.h, va-sparc.h (_va___list): Was __va_list. + * config/romp/x-romp (CC): Add -U__STDC__. -Thu Sep 12 12:53:36 1991 Roland H. Pesch (pesch at cygint.cygnus.com) +Thu Jan 7 05:30:10 1993 Torbjorn Granlund (tege@sics.se) - * cpp.texinfo: (titlepage) use @title/@subtitle/@author - (copyright page) add note re future C manual; add 1991 to copyrights - (general) prepare for easy @smallbook formatting; clarification on - strings; less passive; add AMD29K predefined macros; update -d refs, - add -dM; add examples; add -pedantic-errors; add -MD, -MMD, -H; fix - minor typos. + * libgcc2.c (__udiv_w_sdiv): Replace hard-coded constants 31 with + (SI_TYPE_SIZE - 1). -Thu Sep 12 07:58:11 1991 Torbjorn Granlund (tege at mole.gnu.ai.mit.edu) + * pa.md: Add floating point ld/st indexed patterns. - * m68k.md (umulsidi3, mulsidi3): New DEFINE_EXPANDs and DEFINE_INSN - recognizers. + * pa.md (reg 112:SI recognizers): Remove. + (main move:SI recognizer): Add alternative for greg -> reg 112. -Wed Sep 11 22:11:17 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * pa.md (floatsisf2 patterns): Put output template here, don't + call output_floatsiXf2. + (floatsidf2 patterns): Likewise. + * pa.c (output_floatsisf2, output_floatsidf2): Remove. - * a29k.md, romp.md: Update calling sequence to emit_no_conflict_block. + * pa.md (floatunssidf2, floatunssisf2): New patterns. + (floatdisf2, floatdidf2): New patterns. + (fix_truncsfdi2, fix_truncdfdi2): New patterns. + (rotrsi3, rotlsi3): New patterns. + (shd optimizers): 2 new patterns. -Wed Sep 11 21:06:32 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * pa.md (ashlsi3, ashrsi3, lshrsi3): Rewrite not to mention SAR. + (zvdep32, vextrs32): New named recognizers. + * pa.h (FIXED_REGISTERS): Make register 112 (SAR) not fixed. - * fold-const.c (const_binop): Fix last change for ceil and round. +Thu Jan 7 00:38:02 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * gvarargs.h, va-mips.h, va-sparc.h (va_list): Now a macro again. - (__va_list): This is the typedef. + * objc/object.m (+ error:, - error:): Use _objc_error. -Wed Sep 11 16:52:20 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * reload1.c (reload) [SMALL_REGISTER_CLASSES]: When adding an extra + need if the insn uses the function value return register, + likewise add an extra single-reg need for each class in which + the insn needs a group. - * c-typeck.c (build_binary_op_nodefault, RSHIFT_EXPR): Change - "shift count" warnings changed to errors back to warnings. +Wed Jan 6 20:38:20 1993 Brendan Kehoe (brendan@cygnus.com) - * cse.c (canon_hash): Also do not record global_regs if - SMALL_REGISTER_CLASSES. Makes the code match the comment. + * alpha.h (ASM_FILE_START): Change .verstamp ident for BL10. + * alpha.md (div/mod): Change calling sequence to agree with BL10. - * cexp.y (yylex): Add sprintf call to create error message, - because yyerror does not call *printf itself. +Wed Jan 6 19:54:05 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - * gcc.c (default_compilers): Support new option -traditional-cpp, - which passes traditional to cpp, but not to cc1. - * gcc.texinfo: Document it. + * config/arm: New directory. + * configure (arm-*-*): Update location of tm_file. + * config/pyr: New directory. + * configure (pyramid-*-*): Set xmake_file. + Update location of tm_file. - * sched.c (INSN_LUID): New variable. Give instructions logical - numbers, which can be used when sorting, to make the scheduling - algorithm more stable. - (sched_analyze): Initialize it. - (rank_for_schedule): Sort on it. - (schedule_insns): Alloca(te) it and (b)zero it. - (priority): New priority algorithm. Don't include latency of - current insn, and subtract one from total priority calculated. - Makes the scheduling algorithm more stable, and doesn't hurt - performance. +Wed Jan 6 19:03:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * sched.c (swap_sort): Must pass &insn to rank_for_schedule, not a - pointer into the array being sorted. + * config/sparc/sol2.h (CPP_SPEC, LIB_SPEC, LINK_SPEC): + Add -compat-bsd conditionals. - * cplus-lex.c (do_identifier): Put function return type on - preceeding line. + * cccp.c (main): Implement -iwithprefix. -Wed Sep 11 05:51:00 1991 Michael Tiemann (tiemann at cygint.cygnus.com) +Wed Jan 6 18:13:13 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * cplus-typeck.c (build_binary_op_nodefault): If OP0 or OP1 is a - zero pointer, canonicalize it to NULL_POINTER_NODE. + * pa.c (print_operand): Always use "<>" instead of "!=". - * expr.c (preexpand_calls): Don't preexpand calls inside a - WITH_CLEANUP_EXPR. The gestalt of a WITH_CLEANUP_EXPRs must be - understood at the top level. + * pa.h (target_switches): Add "-mdisable-fpregs" and + "-mdisable-indexing. + (CONDITIONAL_REGISTER_USAGE): If TARGET_DISABLE_FPREGS, then mark + all FP registers as fixed. + * pa.md (indexed loads): Disable if TARGET_DISABLE_INDEXING. + (mulsi3, xmpyu): Disable xmpyu if TARGET_DISABLE_FPREGS. + * configure: Add hppa1.X-hp-utahmach target. + * pa-utahmach.h, pa1-utahmach.h: New files. - * cplus-tree.c (build_cplus_new): When building cleanup, make - the call to the cleanup nonvirtual. +Wed Jan 6 11:20:59 1993 Michael Collison (collison at osf.org) -Tue Sep 10 20:28:56 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * expr.c (convert_move): Support new modes QFmode and HFmode. - * fold-const.c (const_binop): Shortcut for dividing single-word - sizes + * optabs.c (init_optabs): Add optab entries for QFmode and HFmode. - * Makefile.in (varasm.o): Depend on insn-codes.h. + * reload1.c (init_reload): Add entries in 'reload_in_optab' + for QFmode and HFmode. -Tue Sep 10 19:29:26 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * varasm.c (assemble_real): Use `ASM_OUTPUT_BYTE_FLOAT' and + `ASM_OUTPUT_SHORT_FLOAT' for QFmode and HFmode respectively. - * optabs.c (expand_binop): Try to open-code muldi3 if we have mulsi3 - and mulsidi3. Idea due to tege@sics.se. + * machmode.def: Added new modes QFmode and HFmode. - * cse.c (fold_rtx, case MEM): Don't call find_best_addr when insn == 0. - Pass 0 to recursive call that tries to fold the address. +Wed Jan 6 11:29:46 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) -Tue Sep 10 18:16:16 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * pa.c (fmpyaddoperands, fmpysuboperands): Cleanups suggested by + Tege. + * pa.md (fmpyadd peepholes): Cleanups suggested by Tege. - * m68k.md (fix_trunc*): Call CC_STATUS_INIT, since these patterns - do not leave the condition codes in the expected state. + * pa.md (movqi, movhi, movsi, movdi, movsf, movdf): Discourage + regclass from preferring anything which involves a FP<->GR copy. - * tm-ultrix.h (CPP_PREDEFINES): Add __vax. + * pa.md (millicode expands): Change operand 3 in the expand + pattern from a clobber of a match_scratch to a clobber of a + match_operand with a register predicate. Make appropriate + change in the generated RTL. + (millicode insns): Clobber a match_operand with a register + predicate instead of a match_scratch expression. + * pa.c (emit_hpdiv_const): Likewise. -Tue Sep 10 04:12:53 1991 Michael Tiemann (tiemann at cygint.cygnus.com) + * pa.md (movsi, movhi, movqi, movdi): Use reg_or_0_operand + consistently. - * cplus-decl.c (finish_decl): Fix bug where the conversion from - WITH_CLEANUP_EXPR -> init/cleanup pair was not setting bits of - CURRENT_BINDING_LEVEL. - (init_decl_processing): Set FLAGS_THIS_IS_VARIABLE before calling - `init_exception_processing'. +Wed Jan 6 02:23:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Sep 9 22:09:27 1991 Michael Tiemann (tiemann at cygint.cygnus.com) + * cexp.y (yylex): Make tokstart an unsigned char *. - * cplus-tree.h (prev_class_type): Delete this bogus definition. +Wed Jan 6 10:46:19 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) - * cplus-class.c (instantiate_type): Don't complain about no static - member functions being found until we have been through all the - baselinks. + * fixincludes (limits.h): Add #ifndef/#endif around macros that + are supposed to be defined in float.h. - * cplus-dbxout.c (dbxout_type_methods): Don't write symbol - information about methods that were generated by the compiler. - (??? Is this really the right thing to do?) + * fixincludes, fixinc.svr4, fixinc.sco: Don't "make LIB absolute" + if already absolute, to avoid problems with the automounter. - * cplus-decl2.c (lang_decode_option): Turn on warn_uninitialized if - -Wall is the argument. +Wed Jan 6 02:35:23 1993 Paul Eggert (eggert@twinsun.com) -Mon Sep 9 19:05:01 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * cccp.c (check_preconditions, do_error, do_warning, do_xifdef): + Don't use signed chars to index into arrays; they might be negative. - * gcc.c (default_compilers): For .S files, pass -traditional not - -ftraditional to cpp. +Tue Jan 5 21:20:29 1993 James Van Artsdalen (james at bigtex.cactus.org) -Mon Sep 9 15:01:58 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * i386/386.h (DEBUG_PRINT_REG): Print regno along with printable + name. + (CONST_COSTS): Handle integer CONST_DOUBLE correctly. + (PREFERRED_RELOAD_CLASS): Allow integer CONST_DOUBLE into int + regs. - * fold-const.c (optimize_bit_field_compare): Distinguish NE from EQ. + * config/fx80: New directory. + * configure (fx80): fx80 configuration files moved there. - * explow.c (allocate_dynamic_stack_space): - Handle SETJMP_VIA_SAVE_AREA by allocating extra space. + * config/i960: New directory. + * configure (i960): i960 configuration files moved there. - * cplus-parse.y (empty_parms): Change inline to __inline. + * config/sparc: New directory. + * configure (sparc): sparc configuration files moved there. + * sparc/sol2.h: Renamed from spc-sol2.h. + * sparc/xm-sol2.h: Renamed from xm-spc-sol2.h. + * sparc/xm-sysv4.h: Renamed from xm-spcv4.h. + * sparc/sysv4.h: Renamed from sparcv4.h. + * sparc/x-sysv4: Renamed from x-sparcv4. + * sparc/*.h: Use new file names for included sparc files. -Mon Sep 9 15:16:24 1991 Torbjorn Granlund (tege at zevs) + * config/i860: New directory. + * configure (i860): i860 configuration files moved there. + * i860/bsd.h: Renamed from i860b.h. + * i860/bsd-gas.h: Renamed from i860bg.h. + * i860/mach.h: Renamed from i860mach.h. + * i860/sysv3.h: Renamed from i860v3.h. + * i860/sysv4.h: Renamed from i860v4.h. + * i860/xm-sysv3.h: Renamed from xm-i86v3.h. + * i860/xm-sysv4.h: Renamed from xm-i86v4.h. + * i860/x-sysv3: Renamed from x-i860v3. + * i860/x-sysv4: Renamed from x-i860v4. + * i860/*.h: Use new file names for included i860 files. - * longlong.h (m68000 umul_ppmm): Clobber one register less by - slightly rearranging the code. + * m68k/tti68k.h: Deleted. + * i386/x-xenix: Deleted. + * i860/i860g3.h: Deleted. -Sun Sep 8 16:47:32 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Tue Jan 5 23:54:36 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * cccp.c (main, fatal): Delete the deps output file if error. - (deps_file): New variable. + * config/pa: New directory. + * config/pa/*.h: Handle PA configuration files in new + subdirectory. + * configure (pa): Likewise. - * expr.c (convert_move): Update call to emit_no_conflict_block. +Tue Jan 5 23:31:34 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * expmed.c (CEIL): New macro. + * elxsi, gmicro, tahoe, we32k, spur: New subdirs; files moved. - * optabs.c (expand_binop): Don't do add by words for more than 2 words. + * config/harris.h: Include tahoe.h from tahoe/ subdir. - * c-typeck.c (build_modify_expr): Test TREE_READONLY of lhs. +Tue Jan 5 21:45:56 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) -Sun Sep 8 01:17:47 1991 Torbjorn Granlund (tege at zevs) + * fixincludes (Xmu.h): Add missing ${LIB}/. - * sparc.md (sgtu, sleu): Test for SUBREG as well as REG. + * calls.c (expand_call): Pass NULL_RTX to INIT_CUMULATIVE_ARGS. + * function.c (assign_parms): Pass NULL_RTX to INIT_CUMULATIVE_*. + * expr.c (emit_library_call): Pass NULL_TREE to INIT_CUMULATIVE_ARGS. -Sun Sep 8 07:04:33 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * Makefile.in (install-dir): Only make includedir once. - * optabs.c (emit_no_conflict_block, emit_libcall_block): Rework to - accept a list of insns rather than a SEQUENCE. - (expand_binop, expand_unop, expand_float, expand_fix): Change calls to - above functions. - * emit-rtl.c (add_insn): No longer static. - * calls.c (expand_call): Change call to emit_libcall_block. + * cccp.c (do_line): Add pedantic warnings for out of range line + numbers, and non-space characters after the filename. - * cse.c (fold_rtx): Fix typo with parens in associative operation case. +Tue Jan 5 15:09:29 1993 Michael Meissner (meissner@osf.org) -Sat Sep 7 21:49:46 1991 Jim Wilson (wilson at cygint.cygnus.com) + * mips/bsd-4-gdb.h: Renamed from mips-gbsd.h. + * mips/bsd-4.h: Renamed from mips-bsd.h. + * mips/bsd-5-gdb.h: Renamed from mips-5gbsd.h. + * mips/bsd-5.h: Renamed from mips-5bsd.h. + * mips/dec-gosf1.h: Renamed from dec-gosf1.h. + * mips/dec-osf1.h: Renamed from dec-osf1.h. + * mips/iris3-gdb.h: Renamed from irisgdb.h. + * mips/iris3.h: Renamed from iris.h. + * mips/iris4-gdb.h: Renamed from iris4g.h. + * mips/iris4.h: Renamed from iris4.h. + * mips/mips-4-gdb.h: Renamed from mips-gdb.h. + * mips/mips-5-gdb.h: Renamed from mips-5gdb.h. + * mips/mips-5-gdb.h: Renamed from mips-g5.h. + * mips/mips-5.h: Renamed from mips-5.h. + * mips/mips.c: Renamed from mips.c. + * mips/mips.h: Renamed from mips.h. + * mips/mips.md: Renamed from mips.md. + * mips/news4-gdb.h: Renamed from mips-gnews.h. + * mips/news4.h: Renamed from mips-news.h. + * mips/news5-gdb.h: Renamed from mips-gn5.h. + * mips/news5.h: Renamed from mips-n5.h. + * mips/nws3250v4.h: Renamed from nws3250v4.h. + * mips/osfrose.h: Renamed from decrose.h. + * mips/svr3-4-gdb.h: Renamed from mips-gsysv.h. + * mips/svr3-4.h: Renamed from mips-sysv.h. + * mips/svr3-5-gdb.h: Renamed from mips-5gsysv.h. + * mips/svr3-5.h: Renamed from mips-5sysv.h. + * mips/svr4-4-gdb.h: Renamed from mips-gsvr4.h. + * mips/svr4-4.h: Renamed from mips-svr4.h. + * mips/svr4-5-gdb.h: Renamed from mips-5g4.h. + * mips/svr4-5.h: Renamed from mips-5svr4.h. + * mips/t-mips: Renamed from t-mips. + * mips/t-osfrose: Renamed from t-decrose. + * mips/t-ultrix: Renamed from t-decstatn. + * mips/ultrix-gdb.h: Renamed from decstabs.h. + * mips/ultrix.h: Renamed from decstatn.h. + * mips/x-dec-osf1: Renamed from x-dec-osf1. + * mips/x-mips: Renamed from x-mips. + * mips/x-nws3250v4: Renamed from x-nws3250v4. + * mips/x-osfrose: Renamed from x-decrose. + * mips/x-sysv: Renamed from x-mipsv. + * mips/x-ultrix: Renamed from x-decstatn. + * mips/xm-iris3.h: Renamed from xm-iris.h. + * mips/xm-iris4.h: Renamed from xm-irix4.h. + * mips/xm-mips.h: Renamed from xm-mips.h. + * mips/xm-news.h: Renamed from xm-mipsnews.h. + * mips/xm-sysv.h: Renamed from xm-umips.h. - * expmed.c (store_bit_field): In the code handling bitfields - larger than the word size: set fieldmode to size large enough - to hold bitfield; new variable orig_bitsize; don't let - bit_offset calculation for WORDS_BIG_ENDIAN hosts go negative. - (extract_bit_field): Likewise. - (store_split_bit_field): For second word, strip of SUBREG if any - before calling operand_subword. Offset for second word if in - memory is the next UNITS_PER_WORD aligned address. - (extract_split_bit_field): Likewise. + * mips/* Modify include files as needed for the MIPS files being + in the config/mips subdirectory. - * expr.c (emit_move_insn): When emitting multiple move insns in - the loop, remember last insn emitted so that it can be returned. + * halfpic.h, halfpic.c: Eliminate unknown symbol errors when + linking the gen* programs for {i386,dec} OSF/rose, by using BSS + variables instead of extern. - * tree.c (enum tree_node_kind): Add new entry vec_kind to - represent TREE_VECs. - (tree_node_kind_names): Add name "vecs" for it. - (make_node): Handle TREE_VECs in the 'x' case. - (make_tree_vec): Use vec_kind instead of x_kind. +Tue Jan 5 00:29:45 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sat Sep 7 16:25:50 1991 Michael Tiemann (tiemann at cygint.cygnus.com) + * c-typeck.c (c_sizeof): Call force_fit_type only for INTEGER_CST. - * cplus-call.c (ideal_candidate): Prefer non-const member functions - to const member functions when there is a choice. - * cplus-tree.c (propagate_assoc_offsets): Moved here from - cplus-class.c - (copy_nonvirtual_children): Deleted. + * objc/core.c (_objc_alloc): Renamed from _alloc. + (_objc_dealloc, _objc_realloc, _objc_copy, _objc_error): Likewise. + * objc/objc.h: Decls renamed also. + * objc/objc-proto.h: Uses renamed also. - * cplus-class.c, cplus-tree.c (layout_{v}basetypes, - propagate_assoc_offsets, finish_base_struct): New offset - computation/hierarchy implementation. Now the lattice contains - vbasetypes with zero-based offsets (and children from these types - assume they are zero-based). The CLASSTYPE_VBASETYPE list contains - vbasetypes with hierarchy-dependent offsets (and children from these - types have hierarchy-dependent offsets). Note that now, virtual - baseclasses are fully shared in the hierarchy. The still are not - shared at all in the CLASSTYPE_VBASETYPE list. - * cplus-decl.c (xref_tag): Share vbasetypes in the lattice. - * cplus-tree.h (lang_type): Add CLASSTYPE_VASSOC field so we can - share virtual basetypes in inheritance lattices. + * config.sub ($os alternatives for sco and isc): + Preserve the specified os version if any. + Each alternative handles both 386 and 486, preserving distinction. + ($basic_machine alternatives for sco and isc): Deleted. + (i[34]86v32, i[34]86v, i[34]86v4): + Handle both cpus together, preserving distinction. -Sat Sep 7 13:07:12 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Mon Jan 4 20:59:37 1993 James Van Artsdalen (james at bigtex.cactus.org) - * c-parse.y (cast_expr): Supply OFWHAT arg to digest_init. - * c-typeck.c (error_init, pedwarn_init): New functions. - (digest_init, process_init_constructor): Use them. + * config/ns32k: New directory. + * configure (ns32k): ns32k configuration files moved there. - * out-m68k.c (output_function_prologue): Add a negative constant - to sp rather than adding a positive one, since this is faster. + * ns32k/*.h: Use new file names for included ns32k files. - * out-m68k.c (output_function_prologue, output_function_epilogue): - Use word sized immediates when possible. + * config/m68k: New directory. + * configure (m68k): m68k configuration files moved there. - * Makefile.in (install-dir): Don't die if can't create mandir. - (install-man): Don't put . in front of manext. - (manext): Add . to the value. - (mandir): Don't use manext. + * m68k/sgs.h: Renamed from m68ksgs.h. - * genextract.c (main): Don't use __builtin_memcpy in GCC 1. + * m68k/*.h: Use new file names for included m68k files. -Fri Sep 6 19:29:55 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Mon Jan 4 18:06:31 1993 Michael Meissner (meissner@osf.org) - * caller-save.c (emit_mult_save, emit_mult_restore): Copy constant to - TEMPREG and add integer, instead of the opposite order, which might - not work on some machines. + * configure (i386-osfrose): Rename i386 OSF/rose files to + osfrose.h, t-osfrose.h, and x-osfrose.h. - * fold-const.c (fold): Ensure we always return an object of the - desired type. + * i386/osfrose.h: Renamed from i386/rose.h. + * i386/t-osfrose: Renamed from i386/t-rose. + * i386/x-osfrose: Renamed from i386/x-rose. - * reload1.c (reload, reload_as_needed): reload_in_progress must be - set during caller-save processing. +Mon Jan 4 11:03:11 1993 Torbjorn Granlund (tege@gnu.ai.mit.edu) -Fri Sep 6 18:36:55 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * Makefile.in (install-common-headers): Pipe grep output to /dev/null. - * out-sparc.c (leaf_reg_{remap,backmap}): Define mapping for - %o7/%i7, since user-defined registers might reference these. - (legitimize_pic_address): Set CURRENT_FUNCTION_USES_PIC_OFFSET_TABLE - if ORIG is a LABEL_REF. For CONST_INT case, don't call force_reg - during reload, use REG if available otherwise abort. +Mon Jan 4 01:12:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Sep 6 17:16:05 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * i386/bsd.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): + Alternate definitions if NO_UNDERSCORES. - * configure: Default $cpu_type properly. + * c-parse.in (component_declarator): + Allow attribute after nameless field. -Fri Sep 6 05:50:58 1991 Ken Raeburn (raeburn at watch.com) + * fixincludes (making dirs and links): If we already made subdirs + for a dir foo and foo turns out to be a symlink outside /usr/include, + after we have made a dir for it in ./root/, make similar subdirs there. - * genextract.c: Generate one large function with a switch, instead - of a table of small functions to call. Use __builtin_memcpy under - GNU C. +Sun Jan 3 07:28:32 1992 Karl Berry (karl@red.cs.umb.edu) - * genoutput.c: For "@" constructs, now generates a lookup table per - insn, instead of a switch. + * x-romp (CC): Add -w. -Fri Sep 6 15:40:54 1991 Tom Wood (wood at dg-rtp.dg.com) +Sun Jan 3 21:19:50 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * cccp.c (skip_if_group): Deal with invalid directives the same - way handle_directive does. + * pa.h (JUMP_TABLES_IN_TEXT_SECTION): Define. -Fri Sep 6 16:37:04 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * jump.c (jump_optimize, clause for `if (foo) b++'): + Do this regardless of BRANCH_COST if HAVE_incscc is defined. + * pa.md (scc insn): Name this pattern "scc". + (negscc, incscc, cmov): New patterns. + * pa.c (incscc_operator): New function. - * tm-sparc.h (RTX_COSTS): Define costs for MULT and various divides. + * pa.h (actual_fsize, apparent_fsize): Delete unused variables. - * loop.c (move_movables): Call `gen_lowpart_common' instead of - building SUBREG manually. +Sun Jan 3 20:37:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * local-alloc.c (block_alloc): When convert scratch to a reg, must - set regs_ever_live for all hard registers used by the new reg, not - just the first. + * cccp.c (main): Recognize and remove .cxx as filename suffix. -Fri Sep 6 07:15:44 1991 Torbjorn Granlund (tege at mole.gnu.ai.mit.edu) +Sun Jan 3 19:39:18 1993 Michael Meissner (meissner@osf.org) - * gnulib2.c (__negdi2): Change it to work like __subdi3. - * gnulib2.c (_udivmoddi4): Make faster special case for CPUs with - a udiv_qrnnd that can handle unnormalized (i.e. with less than - LONG_TYPE_SIZE significant bit) divisors. + * mips.h (MIPS_VERSION): Bump Meissner version number to 34. - * gnulib2.c (__muldi3): Cast operands to unsigned. + * mips.c (save_restore_insns): Don't give an error if saving an FP + register at stack offset 0, which occurs when the function is a + leaf function that uses lots of FP registers, and saves no GP + registers. - * gnulib2.c (__Xcmpdi): Use `long' for all variables for - consistency. +Sun Jan 3 19:00:29 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * gnulib2.c (__udivmoddi4): New function with code from __udivdi3, - extended to give remaider. - * gnulib2.c (__divdi3, __moddi3, __udivdi3, __umoddi3): Use - __udivmoddi4. - * gnulib2.c: (__moddi3): Result sign is only dependent on U, not V. - -Fri Sep 6 05:44:07 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * cse.c (cse_insn): Accept new arg IN_LIBCALL_BLOCK. - If in libcall block, don't record destinations in hash table. - Remove explicit use of SFmode and DFmode when checking -ffloat-store. - (cse_basic_block): Pass new arg to cse_insn to indicate when we - are processing an insn surrounded with REG_LIBCALL/REG_RETVAL notes. - - * optabs.c (emit_libcall_block): New function. - (expand_binop, expand_unop): Remove kludge of referencing library - function SYMBOL_REF before libcall block. - Use emit_libcall_block. - (expand_float, expand_fix): Rework library calls to use - emit_libcall_block. - * calls.c (struct arg_data): Add new field, initial_value. - (expand_call): Don't make libcall block for calls that return - aggregates. - Remove kludge of referencing function SYMBOL_REF outside of block. - For constant calls, save RTL for arg in args[i].initial_value and - start a sequence. - When making REG_EQUAL note, use INITIAL_VALUE instead of VALUE. - Use emit_libcall_block for constant calls. - * expr.h (emit_libcall_block): Define it. - -Fri Sep 6 15:58:52 1991 Torbjorn Granlund (tege at zevs) - - * longlong.h (68020, i386): Don't define machine-dependent - __umulsidi3 (so the default definition is used). - * longlong.h (all machines): Cast all operands, sources and - destinations, to `unsigned long int'. - * longlong.h: Add gmicro support. - -Fri Sep 6 01:42:09 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * jump.c (jump_optimize): Delete duplicate line number notes. - -Thu Sep 5 19:23:24 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * configure (romp): Fix typo in name of xm_file. - - * rtlanal.c (dead_or_set_p): If INSN has a CLOBBER for X, X is - dead. - - * gnulib1.c (cmpdf2, cmpsf2): Delete unused functions. - * gnulib2.c (anddi3, iordi3, xordi3, one_cmpldi2, adddi3, subdi3): - Likewise. - * optabs.c (emit_cmp_insn): Clean up code now that integer and - float comparisons are done differently. - (init_optabs): Remove references to unused functions listed above. - * Makefile.in (LIB1FUNCS, LIB2FUNCS): Likewise. - -Thu Sep 5 18:32:27 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * m68k.md (zero_extend*): Don't allow memory-memory due to aliasing. - - * expr.c (do_jump): Don't lose if only 1 insn precedes new jump. - - * sparc.md (ashldi3): Fix dumb bug detecting constant 1. - - * out-sparc.c (output_move_double): Use split_double for constant. - Properly decrement addreg1. - -Thu Sep 5 15:20:25 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) - - * out-sparc.c: Include expr.h and delete extern declarations. - - * rtlanal.c (rtx_equal_p): Correct typo in comment or spacing. - * reload1.c (reload): Likewise. - * protoize.c: Likewise. - * longlong.h: Likewise. - * local-alloc.c (block_alloc): Likewise. - * jump.c: Likewise. - - * unroll.c (iteration_info): Don't calculate loop iterations based - on a giv iterator, since the current code often gives the wrong - result. This case is rare, so it does not seem worth handling at all. - - * sched.c (schedule_insns): When the only sched pass is after - reload, must clear unused_insn_list and unused_expr_list then, - instead of during the nonexistant pass before reload. - - * sched.c (schedule_block): When calculating estimated IPC, avoid - divide by zero. - - * sparc.md: Correct two define_splits for seq/sne patterns of the - form `x + (i == 0)', and add a missing `addx' pattern used by - these define_splits. - - * toplev.c (fatal_insn_not_found): Correct typo in error message. - (main): Include "gsdb" and "gdbx" in warning message when -g is not - supported. - - * expr.h (enum expand_modifier): Delete last vestige of - EXPAND_INTO_STACK. - -Thu Sep 5 13:50:21 1991 John Gilmore (gnu at cygint.cygnus.com) - - * c-typeck.c (digest_init, process_init_constructor): Include the - variable name, member name, and/or array indices in error messages. - This makes it tolerable to debug large data structure initializers. - Reword some messages to work with the name and/or function call - argument included. New arg OFWHAT. All callers changed except - one digest_init call in each of c-parse.y and objc-parse.y. - (warn_for_assignment): Reduce to a single message argument, - automatically handling formatting for function call arguments. - All callers changed. - (convert_for_assignment): If ERRTYPE is a null string, this is - parameter passing for a function, so output different error messages. - (convert_arguments): Pass null string to convert_for_assignment to - indicate parameter passing. - -Thu Sep 5 13:44:19 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) - - * sched.c: Correct typos in comments. - (sched_note_set): Don't try to calculate live info for global - register variables. - (attach_deaths): Don't add REG_DEAD notes for global register - variables. + * local-alloc.c (block_alloc): Generalize tying so we can tie + any operand with the output unless some operand must be in the + same register as the output, in which case only try tying that + operand. - * tm-sparc.h (SELECT_SECTION): Can't put a variable in text section - if flag_pic and RELOC are both true, same test that varasm.c does. + * rtl.c (rtx_alloc): Clear common area of rtx in a portable manner. -Thu Sep 5 13:15:43 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Sun Jan 3 13:57:33 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * rtlanal.c (reg_referenced_p): Handle USE and CALL. - Use switch instead of if-then-else. + * pa.h (CONST_COSTS): Make CONST_DOUBLES very expensive. + Give HIGH expressions a small cost with CONST, SYMBOL_REF, + and LABEL_REF being twice as expensive as HIGH. + + * pa.md (fmpyadd peepholes): New peepholes to issue independent + floating point multiply and add instructions at the same time. + (fmpysub peepholes): Likewise for multiply and subtract instructions. + * pa.c (fmpyaddoperands): Verifys given registers are suitable for + use in fmpyadd instructions. + (fmpysuboperands): Likewise, but for fmpysub instructions. -Thu Sep 5 08:03:58 1991 Michael Tiemann (tiemann at cygint.cygnus.com) + Wed Oct 28 12:07:54 1992 Tim Moore (moore at defmacro.cs.utah.edu) + * pa.md (call, call_value): If flag_pic, emit restore of PIC table + register. + (call_interal, call_value_internal): Name matching insns. + (movsi, movhi, movqi, movdi, movsf, movdf patterns): Don't + match memory to memory moves. + + * pa.h (FIXED_REGISTERS, CALL_USED_REGISTERS): r3 isn't fixed! + (REG_ALLOC_ORDER): Move r3 up in the allocation order. + (HAVE_ATEXIT): Define. + (INITIAL_FRAME_POINTER_OFFSET): compute_frame_size () + now does the whole calculation, including rounding. + (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Don't pass leaf_function + to output_function_{prologue,epilogue}. + (DELAY_SLOTS_FOR_EPILOGUE): Call hppa_epilogue_delay_slots (). + + * pa.c (hppa_save_pic_table_rtx): New variable. + (finalize_pic): Setup hppa_save_pic_table_rtx.. + (apparent_fsize): Delete variable. + (compute_frame_size): Many changes. Return the total frame size, + including space for "magic" stuff at the top of the stack and any + rounding for the Snake. + (output_function_prologue): Don't take a leaf_function argument; + Decide that based on frame size and frame_pointer_needed. + Don't emit any frame diddling code if actual_fsize is 0. + (output_function_epilogue): Don't take leaf_function argument. + Don't do anything if no frame. + Keep stack pointer aligned to 64 bytes before loading from old + frame pointer. + (hppa_epilogue_delay_slots): Only if there is no frame will we + have an empty delay slot to fill. + (eligible_for_epilogue_delay): Don't check "leaf_function" anymore. + +Sun Jan 3 07:28:29 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * gcc.c (putenv_from_prefixes): Use PATH_SEPARATOR. + Properly use JUST_MACHINE_SUFFIX when desired; always make path + the same as find_a_file will use. + +Sat Jan 2 16:35:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * config.sub: Translate sunos5 to solaris2, and solaris1 to sunos4. + + * tree.c, tree.h (int_size_in_bytes): Change ret type back to int. + + * calls.c (expand_call): Don't use int_size_in_bytes + for a variable-size object. + +Sat Jan 2 15:16:24 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + + * c-parse.in (label): Use expr_no_commas instead of expr for case + labels. + +Sat Jan 2 03:30:10 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in (gcc.o): Define TOOLDIR_BASE_PREFIX. + + * gcc.c (TOOLDIR_PREFIX): Define if not defined. + (tooldir_prefix, tooldir_base_prefix): New variables. + (main): Set tooldir_prefix. + Add it (plus `bin' or `lib') to search paths. - * cplus-class.c (propagate_assoc_offsets): Don't fail to - propagate the offset to the rightmost basetype. + * cccp.c (default_include): Look directly in TOOL_INCLUDE_DIR. + * protoize.c (default_include): Likewise. - * cplus-decl.c (xref_tag): Allocate nodes for basetype info on - permanent obstack, not temporary obstack. + * collect2.c (main): Look for `real-ld' after `gld', before `ld'. + In debug printout, fix typo in prev change. -Wed Sep 4 18:53:16 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Fri Jan 1 13:32:36 1992 Ian Lance Taylor (ian@cygnus.com) - * fixincludes : Change `m68k' to `__m68k__' in all #if's. + * Makefile.in (cccp.o, protoize.o, unprotoize.o): + Define TOOL_INCLUDE_DIR as $(tooldir)/include. + (test-protoize-simple): Define TOOL_INCLUDE_DIR as 0. - * Makefile.in (ALLOCA_FLAGS): Add -Demacs. - (ALLOCA_FINISH): Put option before input file name. - (alloca.o): Supply $(INCLUDES). + * config/i386/linux.h (STARTFILE_SPEC): Removed -L"TOOLDIR"/lib. - * Makefile.in (GCC_CFLAGS): New parameter. - (protoize, protoize.o, unprotoize, unprotoize.o): Use GCC_CFLAGS. - (enquire, enquire.o, collect2, collect2.o, SYSCALLS.c.X): Likewise. +Fri Jan 1 06:26:11 1993 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) -Wed Sep 4 18:13:56 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * collect2.c: Look for tools using paths rather than a single prefix. + (struct prefix_list, struct path_prefix): New structures. + (cpath, path): New variables. + (find_a_file, add_prefix): New functions; simplified versions of + functions from gcc.c. + (prefix_from_env): New function. + (main): Get path to search for binaries from COMPILER_PATH + environment variable always set by gcc.c and from PATH. + Qualify names with target machine in cross-environment unless + using compiler directories. + Use find_a_file to find our binaries. + Remove use of single prefix. + If -debug, print strip_file_name. + (fork_execute): Print program we are trying to execute if -debug and + we can't find the file. + (scan_prog_file): Complain if can't find NM. + * Makefile.in (REAL_LD_NAME): New variable. + (collect2.o): Don't need STANDARD_STARTFILE_PREFIX, etc. + (install-cross-tools): Use REAL_LD_NAME instead of `ld' when linking + files from tooldir to libsubdir. - * combine.c (make_extraction): When picking up low-order part, - ensure that we don't create a non-aligned object if alignment - is required. +Fri Jan 1 17:51:05 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * expr.c (emit_push_insn): Ensure we only call force_const_mem on a - constant. - - * config.subr: Set `os' to be the last `-' and everything following it. - `romp' is the basic machine name for the rtpc. - `aos' is IBM's name for BSD. - * configure: Default `cpu_type' to the first field before an - optional `-'. - Add a29k, a29k-ultra, romp, and rs6000. - * xm-a29k-ultra.h: New file. - -Wed Sep 4 15:46:50 1991 Tom Wood (wood at dg-rtp.dg.com) - - Changes from Ron Guilmette: - * dwarfout.c (output_symbol): Move tests for omitting declarations - to dwarfout_file_scope_symbol. No need for `local' parameter. - Use TREE_PUBLIC and TREE_EXTERNAL to determine whether a variable - or function is global. - (finalizing, dwarfout_file_scope_delayed_symbol): Delete. - - * toplev.c (compile_file): Delete use of dwarfout_file_scope_symbol - for initialized VAR_DECLs. All global declarations are passed to - dwarfout_file_scope_symbol (except function definitions and types). + * dbxout.c (dbxout_symbol, TYPE_DECL case): Don't output tag which + references incomplete type. - (compile_file, rest_of_decl_compilation): Attribute time in - {dbxout,sdbout,dwarfout} functions to symout_time. + * fixincludes (sunwindow/{win_cursor.h,win_lock.h}): Change invalid + #ifdef identifier `ecd.cursor' to `ecd_cursor'. - * varasm.c (assemble_variable): Check and update TREE_ASM_WRITTEN - for a global register variable. - Delete use of dwarfout_file_scope_symbol for VAR_DECLs. + * c-typeck.c (build_binary_op): Add 'right' and 'left' to shift + count warnings to distinguish them from each other. -Tue Sep 3 23:34:57 1991 Torbjorn Granlund (tege at zevs) + * function.c (fixup_var_refs_insn): Update last_parm_insn when + insns are output after it to fix it up. - * sparc.md (ashldi3 expander & recognizer): Make shift count have - SImode. Used to have DImode. + * sdbout.c (plain_type_1): Distinguish some C integer types by name. - * expmed.c (emit_store_flag): Declare arg UNSIGNEDP. + * Makefile.in (MAKEINFO): New variable, defined to `makeinfo'. - * vax.md (adddi3): Make operands 2 and 3 commutative. + * rs6000.h (ASM_FILE_START): Switch to text section at end. + Output declaration for .mcount when profiling. - * sparc.md (subtract constant then return): Peephole deleted. +Fri Jan 1 12:15:42 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) -Tue Sep 3 22:23:52 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * pa.md (movqi, movhi, movsi, movdi, movsf, movdf): Fix attributes + which involve fp<->gr copies to match current reality. + (indexed loads): These should have "load" attributes, not "move". - * Makefile.in (mostlyclean, clean, realclean): Some files were missing. + * pa.c (output_floatsisf, output_floatsidf): Abort if presented + with a general register. + * pa.md (movdf const_couble): Fix lengths. + (floatsisf patterns): Likewise. + (floatsidf patterns): Likewise. - * gvarargs.h (va_list): Make it typedef, not macro. - * va-mips.h, va-pyr.h: Likewise. + * pa.h (REGISTER_MOVE_COST): Make moving between FP and non-FP + registers more expensive. -Tue Sep 3 22:07:04 1991 Michael Tiemann (tiemann at cygint.cygnus.com) + * pa.h (TARGET_NO_BSS): Delete target switch. Delete all references. - * cplus-init.c (build_vec_delete): Fix off-by-one error for arrays - of length 1. +Fri Jan 1 07:40:58 1993 Tom Wood (wood@dg-rtp.dg.com) -Tue Sep 3 19:30:45 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * config/m88k: New directory. + * configure (m88k*): Files are now in config/m88k. + * m88k/dgux.h, m88k/dolph.h, m88k/luna.h, m88k/sysv3.h, + m88k/sysv4.h, m88k/xm-sysv3.h: Include files in m88k. + * m88k/t-dgux, m88k/t-m88k, m88k/t-m88k, m88k/t-sysv4: Use + m88k/m88k-move.sh. - * combine.c (try_combine): Don't pass a STRICT_LOW_PART to - reg_overlap_mentioned_p. +Thu Dec 31 17:38:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cse.c (fold_rtx): If INSN is zero, copy X before we change - anything inside it. - When looking for associative operation, pass zero as missing arg to - recursive call. - (find_comparison_args): Add zero for missing arg to fold_rtx calls. + * gcc.c (do_spec_1): Propagate failure from recursive calls. - * reload.c (find_reloads): Correct code that prevents replacing - a SET_DEST with a constant so that it correctly looks for an - operand being a SET_DEST. + * i386/386bsd.h (perform_*): Rename macro args to arg0, arg1. -Tue Sep 3 19:17:34 1991 James Van Artsdalen (james at bigtex.cactus.org) +Thu Dec 31 15:42:35 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * out-i386.c (split_di): Call split_double for CONSTANT_P. - (fix_op): Delete. - (float_op): Don't examine the mode of the FLOAT operand. - (output_float_compare): Don't make new %ax RTX: use scratch - operand from insn. + * sched.c (sched_analyze_1, sched_analyze_2): If before reloading, + record dependences that may be introduced by reload substituting + equivalents for pseudo registers. - * i386.md (float mode tstM,cmpM,fixuns_truncMN2,fix_truncMN2): Use - match_scratch. - (float mode tstM,fixuns_truncMN2,fix_truncMN2): Don't gen temp RTX: - use scratch operand. - (fix_truncMN2,floatMN2): Split pattern into a separate DFmode and - SFmode patterns so that operands[1] has a mode. - (sCOND patterns): Don't set cc_status to previous status. - (cmpstrsi): Don't explicitly reference reg 2. + * sched.c (sched_analyze_2): Use REG_NOTE_KIND not GET_MODE in + add_dependence call. + (sched_analyze_insn): Likewise. -Tue Sep 3 16:28:56 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * sparc.h (LIB_SPEC): When -a, include bb_link.o. - * optabs.c (expand_binop): Fix carry calculation. + * t-sol2 (gmon.o, crt*.o): Change config to $(srcdir)/config. - * varasm.c (decode_addr_const): Given a LABEL_DECL, Make a LABEL_REF. - (const_hash): Handle a LABEL_REF. - * expr.c (expand_expr): Use FUNCTION_MODE for memref to a LABEL_REF. + * reload.c (operands_match_p): For WORDS_BIG_ENDIAN machines, + make multiple register operands equivalent if the last register of + the groups are the same. + (subst_reloads): Use gen_lowpart_common to change mode of + reloadreg. + * reload1.c (emit_reload_insns): Likewise. - * configure: Fix typo in last change. + * reload1.c (gen_input_reload): Also handle PLUS of a MEM and + CONSTANT specially. - * cccp.c (handle_directive): Normally no error for line with `###'. + * i960.h (CPP_SPEC, CC1_SPEC, ASM_SPEC, LINK_SPEC, + TARGET_SWITCHES): Delete support for non-existent CPU variations. + (ASM_SPEC, LINK_SPEC, TARGET_SWITCHES): Add support for -mlink-relax. + (SELECT_CC_MODE): Correct typo. -Tue Sep 3 10:53:12 1991 Tom Wood (wood at dg-rtp.dg.com) + * sparc.c (print_operand): For invalid operands, call + output_operand_lossage instead of aborting. - * out-m88k.c, tm-m88k.h: Delete remnants of the fancy abort. - * tm-m88kdgux.h: No longer identify as version DG-*. - * m88k files: Update copyright dates. + * i960.md (call_internal, call_value_internal): Use 'l' for + match_scratch constraint not 'd'. -Tue Sep 3 03:18:54 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * function.c (assign_parms): Emit conversions into a sequence, and + then output the sequence after all parameters have been moved. - * expr.c (expand_expr): Get rid of EXPAND_INTO_STACK. + * optabs.c (expand_binop): Correct indentation of doubleword + multiply picture. -Mon Sep 2 14:07:54 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * sparc.h (TARGET_SWITCHES): Have -msparclite also clear TARGET_FPU. - * gcc.c (do_spec_1): In %X, terminate the arg after each option. + * va-i960.h: Define away __extension__ if compiled by GCC v1. - * config.subr: If argument contains `local', always accept it. - * configure: If machine type contains `local', - construct file names from that machine type name. + * libgcc2.c (L_builtin_new): Change to L_op_new. Use new style + definition for __builtin_new. + (L_caps_New): Change to L_new_handler. Delete unused function + builtin_vec_new. + (L_builtin_del): Change to L_op_delete. Delete vfp declaration. + Use new style definition for __builtin_delete. Delete unused + function __builtin_vec_delete. + * Makefile.in (LIB2FUNCS): Change _builtin_new to _op_new. Change + _caps_New to _new_handler. Change _buildin_del to _op_delete. - * configure: Make config.status a shellscript to redo the configure. - No need now to change / to - when storing $(target) in Makefile. - Store $(host_make_var_file) in Makefile also. - Set host_make_var_file to ../Makefile.in after creating Makefile - if no make-... file actually exists for this host. - * Makefile.in (host_make_var_file): Dummy definition to be filled in. - (Makefile): New rule to rerun `configure' + * m68k.h (TARGET_SWITCHES): -m68030 does not imply -m68881. - * tm-sysv4.h (ASM_DECLARE_FUNCTION_SIZE): New macro. + * gcc.c (input_from_pipe): New variable. + (do_spec): Set/clear input_from_pipe as appropriate. Translate %| + to "-" if input_from_pipe is true. + * sparc.h (ASM_SPEC): Use %|. - * tm-mips.h, tm-m88k.h (abort): Macro definition deleted. It is - not right for any machines description to specify use of fancy_abort. + * m68k.c (strict_low_part_peephole_ok): New function. + * m68k.md: Add peephole to eliminate unecessary clear instructions + in strict_low_part insn sequences. - * protoize.c [v.4]: Include fcntl.h. - (execvp): Correct type for second arg. - (compile_params): Remove `const'; that loses when calling execvp. + * configure (elxsi): Move it out of the middle of the sparc section. - * cccp.c (directive_table): Typo in entry for do_ident. + * unroll.c (copy_loop_body, JUMP_INSN case): Do map the body of + the loop branch back, then rewrite it to jump past the end of the + unrolled loop. - * xm-m68k.h (alloca): Define macro with arg. + * c-decl.c (pushdecl): Check TREE_PUBLIC in addition to + DECL_EXTERNAL decls when looking for duplicate external declarations. - * emit-rtl.c (reorder_insns_with_line_notes): New function. - (find_line_note, emit_line_note_after): New functions. + * cccp.c (multiline_string_line): New file scope static variable. + (rescan): Delete multiline_string_line variable definition. + (skip_quoted_string): Print start line number of unterminated + string and character constants. When see a newline: warn if + pedantic; delete unreachable duplicate code for traditional case; + set multiline_string_line. - * jump.c (jump_optimize): When moving else clause before test, - only move the insn as far as needed, and use new function - reorder_insns_with_line_notes. +Thu Dec 31 11:11:30 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) -Mon Sep 2 03:30:35 1991 James Van Artsdalen (james at bigtex.cactus.org) + * pa-hpux.h (LIB_SPEC): Fix so that one can link in profiled + libraries under HPUX. + * pa-ghpux.h, pa-hpux7.h, pa-gux7.h (LIB_SPEC): Likewise. - * Makefile.in (collect2): Compile with gcc. +Thu Dec 31 08:50:42 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sun Sep 1 9:03:46 1991 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + * a29k.h (OBJECT_FORMAT_COFF): Add definition. - Define two macros to eliminate the need for a seperate collect pass. + * rs6000/xm-rs6000.h (REAL_NM_FILE_NAME): Delete from here. + * rs6000/rs6000.h (REAL_NM_FILE_NAME): Put it here. - * tm-vms.h (ASSEMBLE_OUTPUT_CONSTRUCTOR): Define. - (ASSEMBLE_OUTPUT_DESTRUCTOR): Define. +Thu Dec 31 01:53:13 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sun Sep 1 08:14:22 1991 Michael Meissner (meissner at osf.org) + * tree.c (build_index_type): Leave TYPE_MAX_VALUE as -1 if it was; + don't truncate the high bits. - * collect-osf.c (main): Print version number if -v. Also ignore all - arguments beginning with -c rather than just '-c'. + * Makefile.in (distdir): New target broken out from gcc.xtar. + Depend on $(srcdir)/INSTALL. + (gcc.xtar): Depend on distdir. + (doc): Delete dep $(srcdir)/INSTALL. - * make-decrose (collect): Add version.o to link. +Wed Dec 30 12:54:53 1992 James Van Artsdalen (james at bigtex.cactus.org) -Sat Aug 31 17:03:23 1991 Michael Meissner (meissner at osf.org) + * i386/i386.c (output_fp_cc0_set): Abort if cc0 user not found. - * cplus-input.c (inline macro definition): If inline is already - defined, don't redefine it. + * i386/i386.md (movsf,movdf): Change constraints to use integer regs + for mem-mem copies. - * collect-osf.c (main): Look for gld and gas instead of ld and as, - so collect-osf can be installed as ld. Use a default path of - /usr/ccs/gcc to find the linker and assember. Ignore the -c switch, - which GCC uses to say that collect is needed. + * i386/i386.h (PREFERRED_RELOAD_CLASS): Don't reload CONST_DOUBLE into + integer regs. - * osf-main.c (__finis): Don't call descructors already called if one - of the destructors calls exit (which in turn calls __finis). + * jump.c (delete_computation): reg_referenced_p wants body, not insn. - * tm-mips.h (DBX_REGISTER_NUMBER): Use mips_dbx_regno to map - register number to debug register number. - (GP_DBX_FIRST, FP_DBX_FIRST): New macros, giving the first debug - register numbers for gp registers and fp registers. +Wed Dec 30 07:03:49 1992 John F Carr (jfc at Athena.MIT.EDU) - * out-mips.c (mips_dbx_regno): New global array to map GCC register - number to debug register number, to fix problem with OSF/1 stabs - using 38 for the first fp registers, rather than 32. - (override_options): Set up OSF/1 SIGINFO signal handler to notmake - the interruptable system calls read, write, and wait not return - error condition. Also initialize mips_dbx_regno. + * caller-save.c (setup_save_areas): Don't assign save area for a + group if some register in the group has already been assigned an + area. - * make-decrose (CFLAGS): Add $(MSTATS) variable to set -mstats. - (CFLAGS_NODEBUG): Like CFLAGS, except no debugging or inlining. - (DEB_OPT): Define in terms of DEBUG, OPT, and PROFILE. - (cplus-lex rule): Build cplus-lex with no debug or inlinings. +Wed Dec 30 06:05:07 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sat Aug 31 12:52:17 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * tree.def (TRUTH_XOR_EXPR): New tree code. + * expr.c (expand_expr, case TRUTH_XOR_EXPR): New case. + * fold-const.c (invert_truthvalue, case TRUTH_XOR_EXPR): New case. + (fold, case TRUTH_XOR_EXPR): New case. + (fold, case TRUTH_OR_EXPR, TRUTH_AND_EXPR): Check for second + operand of appropriate value to determine result whether or + not first operand is a constant. + * c-common.c (truthvalue_conversion): Handle TRUTH_XOR_EXPR. + * c-convert.c, cp-cvt.c (convert_to_integer): Likewise. + * c-typeck.c (build_binary_op): Likewise. + * cp-typeck.c (build_binary_op_nodefault): Likewise. + * cp-class.c (instantiate_type): Likewise. + * stmt.c (expand_return): Likewise. - * cccp.c (handle_directive): Be more fussy detecting `# LINE' case. +Wed Dec 30 01:48:38 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cccp.c (directive_table): Pass through and ignore #ident. - (do_ident): New function. - (skip_if_group): Error if unrecognized directive seen. + * fixincludes: Chmod each copied file a+r. + * fixinc.svr4, fixinc.sco: Likewise. - * jump.c (jump_optimize): In converting x=a; if (...) x=b; to - store flag, insert all the new code in just one line. + * Makefile.in (extraclean): Quote the sharps. - * gcc.c (do_spec_1): Use xmalloc to make linker_options the first time. + * expr.c (expand_expr): In NOP_EXPR case, truncate and + reextend integer constants. - * expr.c (expand_expr): Make EXPAND_SUM and EXPAND_INITIALIZER - imply EXPAND_CONST_ADDRESS in all cases. +Tue Dec 29 18:21:06 1992 James Van Artsdalen (james at bigtex.cactus.org) - * c-decl.c (c_decode_option): -Wall sets warn_uninitialized. - * flags.h (warn_uninitialized): Declared. - * toplev.c (warn_uninitialized): No longer static. + * i386/i386.md (bit complement): Constrain inputs and outputs to + match, instead of using match_dup. + (zero_extract test): Reenable with separate patterns to match + QImode and SImode zero_extract. - * cccp.c (main): Make no assumptions about include_defaults - in calculation of max_include_len. Add fudge space if VMS. + * i386/sysv3.h: Renamed from i386/svr3.h. + * i386/sysv4.h: Renamed from i386/svr4.h. + * i386/x-sysv3: Renamed from i386/x-svr3. + * i386/xm-sysv3.h: Renamed from i386/xm-svr3.h. + * i386/xm-sysv4.h: Renamed from i386/xm-svr4.h. - * reload.c (find_reloads_toplev): New arg IS_SET_DEST. - Don't replace reg with constant in destination of a SET. - (find_reloads): Pass that arg. Also don't replace here. + * configure (i386): Use new file names for 386 files. + * i386/*.h: Likewise for included files. - * cplus-xref.c: Finish installing changes from Youngdale. +Tue Dec 29 18:04:13 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sat Aug 31 09:02:25 1991 Michael Tiemann (tiemann at cygint.cygnus.com) + * Avoid truncation of object sizes when bit size won't fit in a word. + * fold-const.c (const_binop): New arg NOTRUNC. All calls changed. + (size_binop): Pass 1 for NOTRUNC. + (force_fit_type): No longer static. + * tree.c (size_in_bytes): Call force_fit_type with end result. + (int_size_in_bytes): Avoid overflow as long as result fits. + Return type is now unsigned int. + * c-typeck.c (c_sizeof, c_sizeof_nowarn, c_size_in_bytes): + Call force_fit_type with end result. - * cplus-decl2.c (finish_file): Call varasm routines to assemble ctor - and dtor lists. + * stor-layout.c (layout_record): Avoid overflow in const_size + by adding into var_size instead. - * cplus-dbxout.c (dbxout_type_methods): Fix error in printing symbol - info for classes that only define a destructor. +Tue Dec 29 09:01:33 1992 Tom Wood (wood@dg-rtp.dg.com) -Sat Aug 31 08:32:12 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * configure (m88k-dgux): Use t-m88kdgux. - * cse.c (cse_end_of_basic_block): Correctly handle the case of a basic - block where a conditional branch out of the block becomes unconditional - and a conditional branch to the end of the block becomes a noop. +Tue Dec 29 06:56:41 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * combine.c (try_combine): In case where we have a PARALLEL - involving a load and sign extend, use reg_overlap_mentioned_p - instead of reg_mentioned_p. - If we have a PARALLEL of two independent SETs, try to split them - up into separate insns. + * genemit.c (gen_split): Initialize _val in generated function. - * combine.c (move_deaths): Instead of placing the REG_DEAD notes - on TO_INSN, add them to a list whose address is given as an - operand. - (distribute_notes): Allow for the case when the death of an object - is between I2 and I3. - Set reg_last_death to corrspond to the location of the REG_DEAD - note being placed. - (try_combine): Call move_deaths in new way and pass returned list - to distribute_notes if it is non-empty. +Tue Dec 29 02:27:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * local-alloc.c (requires_inout_p): Don't have cases for '[Q-U]' unless - EXTRA_CONSTRAINT is defined.. + * cccp.c (make_definition): Pass NULL as 3rd arg to do_define. - * local-alloc (block_alloc): Don't allocate SCRATCH on machines with - SMALL_REGISTER_CLASSES defined. +Mon Dec 28 14:56:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * regclass.c (reg_class_record): Add missing case for 'V'. + * c-parse.in (stmt, FOR case): Do call position_after_white_space + after recording the current lineno for the increment. -Fri Aug 30 04:42:19 1991 James Van Artsdalen (james at bigtex.cactus.org) + * config.sub: Default to bsd for *-sequent. - * tm-i386.h (OUTPUT_JUMP): Use cc_prev_status. +Mon Dec 28 06:05:12 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Fri Aug 30 17:08:52 1991 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + * combine.c: Add a few missing HOST_WIDE_INT casts. + Rename references to `significant' bits to be `nonzero' bits; + specifically the following, but also local vars and comments: + (reg_nonzero_bits): Renamed from reg_significant. + (nonzero_bits): Renamed from significant_bits. + (nonzero_sign_valid): Renamed from significant_valid. + (set_nonzero_bits_and_sign_copies): Renamed from set_significant. - * xm-vms.h (LOCATE_START_OF_FILE_NAME): Remove. - (FILE_NAME_NONDIRECTORY): Fix typo. - (XREF_FILE_NAME): Use FILE_NAME_NONDIRECTORY instead of - LOCATE_START_OF_FILE_NAME, and omit the leading underscore in the - generated file name. - (FILE_NAME_ABSOLUTE_P): Define to use hook in cplus-xref.c. - (FILE_NAME_JOINER): Define to use hook in cplus-xref.c. + * fold-const.c (fold, case BIT_IOR_EXPR): Convert the IOR of a pair + of shifts into a rotate when it is equivalent. - * cplus-xref.c: Fix bug in default definition of FILE_NAME_ABSOLUTE_P. - (GNU_xref_open): Fix bug - wrong argument to XREF_FILE_NAME. - (FILE_NAME_JOINER): New macro. - (GNU_xref_file): Use it. + * expmed.c (expand_shift): If rotating by a constant, try both + directions of rotate. + If can't open-code a rotate, do it as a pair of shifts followed by + an IOR. -Fri Aug 30 17:30:15 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * combine.c (simplify_comparison, case NEG): Replace large block of + code with equivalent call to num_sign_bit_copies. - * cplus-xref.c: Reinstall Aug 25 changes discarded by Tiemann. + * expr.c (get_inner_reference): Don't look at flag_volatile. + (expand_expr, case INDIRECT_REF, OFFSET_REF): Likewise. + * c-typeck.c, cp-typeck.c (build_indirect_ref): Set volatility from + flag_volatile. - * expr.c (expand_expr): New modifier option EXPAND_INITIALIZER. - * varasm.c (output_constant): Use that. - * jump.c (forced_labels): New var records labels not to delete. - (jump_optimize): Don't delete those labels. - * flow.c (find_basic_blocks): Any computed goto goes to those labels. - * varasm.c (decode_addr_const): Deal with LABEL_DECL. + * i386/rose.h (OPTIMIZATION_OPTIONS): Delete; we don't want to set + -finline-functions for -O3 and this does nothing else useful. + * mips.h (OPTIMIZATION_OPTIONS): Likewise. + * i960.h (OPTIMIZATION_OPTIONS): Don't set -finline-functions for -O3. -Fri Aug 30 15:41:03 1991 Michael Meissner (meissner at osf.org) +Sun Dec 27 18:33:38 1992 James Van Artsdalen (james at bigtex.cactus.org) - * mips.md (copyleft): Use separate copyright years. - (mov*): Use nonimmediate_operand instead of general_operand. + * config/i386: New directory. + * configure.bat: 386 configuration files moved to new directory. + * configure (i386): Likewise. + Delete lines that duplicate default actions of configure. - * tm-mips.h (copyleft): Use separate copyright years. + * i386/386bsd.h: Renamed from i386bsd.h. + * i386/att.h: Renamed from att386.h. + * i386/bsd.h: Renamed from bsd386.h. + * i386/gas.h: Renamed from i386gas.h. + * i386/gstabs.h: Renamed from i386gstabs.h. + * i386/linux.h: Renamed from i386linux.h. + * i386/mach.h: Renamed from i386mach.h. + * i386/rose.h: Renamed from i386rose.h. + * i386/sco.h: Renamed from i386sco.h. + * i386/sco4.h: Renamed from i386sco4.h. + * i386/seq-gas.h: Renamed from seq386gas.h. + * i386/sequent.h: Renamed from seq386.h. + * i386/sun.h: Renamed from i386sun.h. + * i386/svr3.h: Renamed from i386v.h. + * i386/svr4.h: Renamed from i386v4.h. + * i386/t-isc: Renamed from t-i386isc. + * i386/t-rose: Renamed from t-i386rose. + * i386/t-sco: Renamed from t-i386sco. + * i386/unix.h: Renamed from unx386.h. + * i386/x-aix: Renamed from x-aix386. + * i386/x-isc: Renamed from x-i386isc. + * i386/x-rose: Renamed from x-i386rose. + * i386/x-sco: Renamed from x-i386sco. + * i386/x-sco4: Renamed from x-i386s4. + * i386/x-svr3: Renamed from x-i386v. + * i386/xm-aix.h: Renamed from xm-aix386.h. + * i386/xm-dos.h: Renamed from xm-i386dos.h. + * i386/xm-isc.h: Renamed from xm-i386isc.h. + * i386/xm-sco.h: Renamed from xm-i386sco.h. + * i386/xm-sun.h: Renamed from xm-i386sun.h. + * i386/xm-svr3.h: Renamed from xm-i386v.h. + * i386/xm-svr4.h: Renamed from xm-i38v4.h. - * xm-mips.h (copyleft): Use separate copyright years. + * i386/*.h: Use new file names for included 386 files. - * xm-umips.h (copyleft): Use separate copyright years. +Sun Dec 27 22:02:09 1992 H.J. Lu (hlu@yardbird.eecs.wsu.edu) -Fri Aug 30 08:47:30 1991 Michael Tiemann (tiemann at cygint.cygnus.com) + * i386linux.h (CPP_SPEC): Define -D__i486__ if compile for i486. + (ASM_OUTPUT_ADDR_DIFF_ELT, JUMP_TABLES_IN_TEXT_SECTION): + Copy definitions from i386v4.h to get PIC code correct. + (FUNCTION_PROFILER): Copy definition from i386bsd.h. + (COMMENT_BEGIN, ASM_APP_ON, ASM_APP_OFF): Copy from i386bsd.h + to prepare for new GAS. - * cplus-typeck.c (build_x_*): Try first calling `build_opfncall' - with FLAGS==0. If that succeeds, check protection. - (build_conditional_expr): `fold' does not preserve the type of it's - expressions, which is a problem for C++ when trying to keep ints and - enums distinct. + * Makefile.in: (gcc.o): Add $(MAYBE_TARGET_DEFAULT). - * cplus-decl.c (lookup_name): When there is a choice between seeing - a name as a type and seeing as a decl, call `arbitrate_lookup' to - make the decision. - * cplus-lex.c (arbitrate_lookup): New function. Uses minute amounts - of syntactic context to decide whether to see a name as a type or - something else. +Sun Dec 27 16:33:13 1992 Tom Wood (wood@dg-rtp.dg.com) -Fri Aug 30 07:40:49 1991 Tom Wood (wood at dg-rtp.dg.com) + * m88k.c (block_move_loop, block_move_no_loop, block_move_sequence): + Always set MEM_IN_STRUCT_P. If it wasn't previously set, use BLKmode. + * m88k.md (BLKmode load/store patterns): New. + (call_block_move, call_movstrsi_loop): Allow any mode for the preload. - * jump.c (delete_jump): When checking REG_DEAD notes, make sure they - have a legal value. + * m88k.c (output_file_start): Emit `requires_88110' when -m88110 + is used with -mversion-04.00. + * m88k.h (OVERRIDE_OPTIONS): Allow version 04.00 default. + (VERSION_0400_SYNTAX, REQUIRES_88110_ASM_OP): New definitions. + * m88kdgux.h (ASM_FIRST_LINE): Print the version string. -Fri Aug 30 00:57:05 1991 James Van Artsdalen (james at bigtex.cactus.org) + * m88k.md (length attribute): Branches may be expanded to two + instructions by the assembler. + (DFmode bcnd pattern): Don't try to fill the delay slot. + (CCmode bbx patterns): Reverse the 1/0, not the condition. - * local-alloc.c (alloc_qty_for_scratch): Treat Q - U as reg class if - EXTRA_CONSTRAINT is not defined. - * regclass.c (reg_class_record): Likewise. + * m88kdgux.h (ASM_SPEC): Pass -KVstring given -mversion-string. -Thu Aug 29 21:39:07 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * m88kdgux.ld, t-m88kdgux: New file. + * m88kdgux.h (LIB_SPEC): Add crtend.o. + (STARTFILE_SPEC): Add crtbegin.o, and m88kdgux.ld for COFF. + (CTOR_LIST_END, DTOR_LIST_END): Define as -1. + (DO_GLOBAL_{C,D}ORS_BODY): Ignore null entries and look for -1 + bounds. - * c-typeck.c (build_binary_op_nodefault): Fix last change. +Sun Dec 27 16:08:04 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Aug 29 19:11:05 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * hp320.h (ASM_OUTPUT_DOUBLE_OPERAND): Delete spurious space after \. - * recog.c (general_operand, const_double_operand): Similar to - immediate_operand, don't accept a VOIDmode operand if the - caller wants floating. - * out-pyr.c (nonindexed_operand): Likewise. + * gstddef.h [__sequent__]: #undef _PTRDIFF_T_ at beginning, if defined. -Thu Aug 29 09:53:27 1991 Michael Tiemann (tiemann at pogo.gnu.ai.mit.edu) + * reload1.c (emit_reload_insns): Error instead of abort + if an asm has a VOIDmode output operand. - * cplus-tree.h ({SET,CLEAR}_ASSOC_*): New macros needed because not - all C compilers support conditional expressions as lvalues. - (lang_type): Change type of MEMOIZED_TABLE_ENTRY and SEARCH_SLOT - from `void *' to `char *', to make braindead compilers at less of a - disadvantage. + * reload.c (push_reload): Move the NO_REGS abort after the + error check for asms, to avoid crashing for asms. + Fix inmode and outmode too, if they are VOID for an asm. -Thu Aug 29 08:07:40 1991 Tom Wood (wood at dg-rtp.dg.com) +Sun Dec 27 10:48:10 1992 Jeffrey A Law (law@schirf.cs.utah.edu) - * m88k.md (define_function_unit): Update latencies. + * reorg.c (mostly_true_jump): When trying to determine + if the current insn is essentially a conditional return, + look inside of SEQUENCE insns for jumps. + Predict jumps to the exit test for loops as likely to be taken. - * out-m88k.c (output_function_profiler): Correct offsets for - register saves. - * tm-m88ksvr4.h (FUNCTION_PROFILER): Use the name _mcount and do - register saves. +Sun Dec 27 06:53:39 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * tm-m88k.h (ASM_DWARF_POP_SECTION): Specify "previous". + * reorg.c (relax_delay_slots): Only look at JUMP_LABEL for a + condjump_p. - Changes from Ron Guilmette: - * dwarfout.c (lookup_filename): Only increment valid_ft_entries - once when adding a filename to the table. - (output_symbol): Do output DIEs for a global VAR_DECL definition. + * jump.c (delete_jump): Use single_set to see if INSN just sets PC. + Remove code to delete previous cc0-setting insn. + (delete_compution): No longer conditional on #ifndef HAVE_cc0. + If insn uses CC0, delete previous insn that just sets CC0 for us; + do deletion via recursive call. -Thu Aug 29 06:15:32 1991 Michael Tiemann (tiemann at rtl.cygnus.com) + * combine.c (subst, case SET): Call recog_for_combine with OTHER_INSN, + not UNDOBUF.OTHER_INSN. - * cplus-type2.c (build_functional_cast): If we have a valid value in - `expr_as_conversion' return that before returning error_mark_node. + * genoutput.c (have_error): New variable. + (error): Set it. + (main): Test it and return FATAL_EXIT_CODE if it is set. - * cplus-init.c (expand_recursive_init): Fix typo is testing - TYPE_USES_VIRTUAL_BASECLASSES. + * emit-rtl.c (copy_rtx_if_shared): A CONST can be shared if it + contains a SYMBOL_REF. + * rtl.c (copy_rtx): Likewise. + A SCRATCH must be shared. + A MEM may be shared if it is at a constant address. -Wed Aug 28 23:12:35 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Sun Dec 27 02:48:27 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-typeck.c (build_binary_op_nodefault): For shift and rotate ops, - if traditional, use the common type of the operands. + * cccp.c (macroexpand): Expand each macroarg first time we find a need + to substitute its expansion. + (macarg): Don't expand them here. -Wed Aug 28 07:31:33 1991 Tom Wood (wood at dg-rtp.dg.com) + * expr.c (expand_expr, constructor case): If we made a stack slot, + set MEM_IN_STRUCT_P if the type warrants it. - * dwarfout.c, dwarf.h, README.DWARF: Replacement files from Ron - Guilmette that bring the dwarf implementation up to that defined by - draft 4 of the dwarf specification (dated 7/31/91). + * configure: When testing existence of a config file, specify $srcdir. -Wed Aug 28 06:24:30 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Sat Dec 26 18:12:08 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * all *.md files except a29k.md and romp.md: Don't allow CONST_INT - as operand for RTL operations that need a mode to be well-defined, - e.g., SIGN_EXTEND, ZERO_EXTEND, TRUNCATE, FLOAT. Similarly, don't - allow CONST_INT as first operand of a COMPARE. + * tree.c (make_node, case 'c'): For INTEGER_CST, use size of + struct containing constant, just like for reals. Also, clean + up code to avoid confusing fallthrough. - * machmode.h (MIN, MAX): Undefine these before our definition. + * a29k/unix.h, rs6000/aix32.h, rs6000/mach.h, rs6000/xm-mach.h: + Include main file from subdirectory. -Tue Aug 27 21:33:04 1991 Michael Tiemann (tiemann at pogo.gnu.ai.mit.edu) + * config/a29k, config/alpha, config/romp, config/rs6000: New + directories. + * configure: If a file isn't in config, try in config/$cpu_type. + (a29k, alpha, romp, rs6000): Files moved to new machine subdirectories. + Delete lines that duplicate default actions of configure. - * version.c: Now 1.95. + * combine.c (gen_lowpart_for_combine): Allow MODE to be wider + than a word in restricted circumstances. -Tue Aug 27 18:05:25 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * c-typeck.c (check_format): Using both a precision and the `0' flag + is only a problem on `d', `i', `o', `u', `x', and `X' conversions. - * reload1.c (possible_group_p): Use earliest class that needs a group. +Sat Dec 26 17:05:24 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * gcc.c (do_spec_1): Handle %x and %X. - (link_command_spec): Use %X. If given -collect, pass -c. - (default_compilers c++): Use %x to pass -c to linker. + * object.h: Don't include objc.h or stdio.h. + Change Class_t to Class everywhere. + (id, nil, Nil, Class, STR, SEL, IMP, BOOL, YES, NO): Define, + but not if objc.h was already included. + [__objc_INCLUDE_GNU] (Class): Alias this to Class_t. - * cse.c (find_comparison_code): Don't call fold_rtx, - because we don't know which insn to pass for its second argument. + * object.m: Include objc.h and stdio.h before object.h. - * cse.c (fold_rtx): Don't fold what we get from lookup_as_function. +Sat Dec 26 05:12:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Aug 27 17:46:59 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * Version 2.3.3 released. - * cse.c (rtx_cost): A USE is free; it is likely being used as a marker. +Fri Dec 25 06:53:49 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * cse.c (cse_insn): If we decided not to make a reg-reg copy between - equivalent regs into a no-op, see if there is an equivalent constant - that is cheaper than the register we decided to use. + * expmed.c (store_bit_field): If VALUE needs to be narrowed, do + it with gen_lowpart, not an explicit SUBREG. - * cse.c (cse_insn): Fix arg in insert_regs call when making a - secondary equivalence due to a SUBREG; we are not modifying the - register. + * a29k.md (divsf3): Fix typo in mode of DIV. - * cse.c (delete_dead_from_cse): Treat a SET that copies a register - to itself as if it were setting a dead register. +Fri Dec 25 00:03:26 1992 James Van Artsdalen (james at bigtex.cactus.org) - * cse.c (find_comparison_args): Call fold_rtx on the args that we - are about to return. - (fold_rtx, case SUBREG): Copy code from equiv_constant that looks up - a SUBREG in the hash table. - If our our folded operand is equivalent to a constant, use that when - seeing if we can get a part of a constant. - (fold_rtx): Don't short-circuit recursive call for an operand that - is a SUBREG; add comment in REG case that we are doing equiv_constant. - When looking for associative operation, call fold_rtx on potential - constant as well as equiv_constant. - (equiv_constant): Just look up a constant quantity for a register; - fold_rtx will do the SUBREG operations. + * Makefile.in (install-dir): Add missing semicolon. - * fold-const.c ({neg,mul,lshift,rshift,lrotate,rrotate}_double): - No longer static. - * cse.c (simplify_{unary,binary}_operation): Fold some DImode - operations. + * i386sco4.h (_KR, _SVID, _NO_PROTOTYPE): Define if -traditional. - * fold-const.c (fold, case EQ_EXPR, NE_EXPR, ...): Add code to handle - cases where we are comparing the result of a comparison. +Thu Dec 24 15:02:29 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Aug 27 14:35:59 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * fixinc.svr4: Don't change bitfield types to int. - * flow.c (mark_used_regs): Set regs_ever_live for all hard regs. - Warning: this might break FUNCTION_PROLOGUE and FUNCTION_EPILOGUE - in some ports. But I've checked all the installed ones. - * tm-gmicro.h (FUNCTION_PROLOGUE): - Clear bit for fp reg if used as such. - * tm-mips.h (MUST_SAVE_REGISTER): Only frame_pointer_needed affects fp. + * seq386.h (TARGET_DEFAULT): Override. - * c-decl.c (store_parm_decls): No error if arglist contains type tag. +Wed Dec 23 20:19:17 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * optabs.c (expand_fix): Really call emit_cmp_insn right. + * i386sco4.h (CPP_SPEC): Avoid repeated def of _M_SYSV. - * floatlib.c: New file. +Tue Dec 22 15:40:08 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * gnulib2.c (__clz_tab): Moved to _udivdi3. + * c-decl.c (store_parm_decls): Use TYPE_MAIN_VARIANT to compare types + when merging info from previous prototype. -Tue Aug 27 06:44:12 1991 Michael Tiemann (tiemann at rtl.cygnus.com) + * fixinc.svr4: Add special fixes for netinet/in.h and sys/endian.h. - * cplus-typeck.c (c_expand_return): Don't use the cleanup generated - by `build_functional_cast'. +Mon Dec 21 02:58:27 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cplus-class.c (resolves_to_fixed_type_p): Handle WITH_CLEANUP_EXPR. + * m68kv4.h (ASM_OUTPUT_CASE_END): + Use switch_table_difference_label_flag. -Mon Aug 26 20:55:58 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * configure (m68k-motorola-sysv*): Set use_collect2. - * c-parse.y (yylex): Cast shorts[n] to long before shifting. - * fold-const.c (decode): Likewise. +Sat Dec 19 20:19:44 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in (INSTALL_DATA): Renamed from INSTALL_FILE. + * a29k.c (secondary_reload_class): Return CR_REGS for larger than + word memory, and BP_REGS for part-word mem with no DW. - * cse.c (canon_hash): Don't crash if subexpression is 0. + * a29k.md: Consistently use `&' in constraint of MATCH_SCRATCH. + Always use a reg as 4th arg of dmac/fmac even if ignored by insn. + Uses of `b' as a constraint in multi-word reload patterns should + be `c'. - * cplus-lex.c (interface_strcmp): Put back variable s1. +Sat Dec 19 01:32:13 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Aug 26 18:14:33 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * Makefile.in (all.cross): Add `specs' as dep. - * function.c (instantiate_virtual_regs_1): Complete previous change; - had omitted arg on two returns. + * build-make (CC): Delete the -V option. -Mon Aug 26 15:16:39 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * getpwd.c (getpwd): Don't get upset if ERANGE is not defined. - * optabs.c (expand_float, expand_fix): Pass new arg to emit_cmp_insn. +Fri Dec 18 20:56:59 1992 John Hassey (hassey@dg-rtp.dg.com) - * out-m68k.c (singlemove_string): Fix last change. + * objc-actions.c (build_encode_expr): + Terminate the encode string with a null. + (encode_aggregate): Distinguish pointer to record from a + record. Output fields for record. Fix unions. -Mon Aug 26 11:20:51 1991 Tom Wood (wood at dg-rtp.dg.com) +Fri Dec 18 17:17:39 1992 Michael Meissner (meissner@osf.org) - * m88k.md (cmpsi insn): Don't provide an insn that compares two - constants. + * mips.h (MIPS_VERSION): Set Meissner version # to 33. + (struct mips_args): Add support for passing QI/HI mode structures + the way the MIPS compiler passes them. + (SIZE_TYPE, PTRDIFF_TYPE): Define as unsigned int, and int if not + defined already. -Mon Aug 26 08:34:48 1991 Michael Meissner (meissner at osf.org) + * mips.c (init_cumulative_args): Use a static structure to + initialize the CUMULATIVE_ARGS structure. + (function_arg_advance): Add a newline at the end of debug output. + (function_arg): If a structure is passed as a QImode or HImode + value in a register, record the fact for the call define_expands + and prologue expander to move the structure into the high part of + the register, and back again. If debugging, print if the argument + is a structure. + (mips_expand_prologue): Shift any QI/HI structures passed back, so + they can be used as normal QI/HI values. - * collect-osf.c (toplevel, read_file, end_file): Don't use mmap, - unless all defines needed are defined. - (various): If -debug turn on debugging code. Change all occurances - of #ifdef DEBUG sections to if (debug). - (main, add_to_list): Correctly cast xcalloc calls. - (scan_prog_file): Correct xcalloc to allocate enough space - (scan_prog_file): If -debug, don't dump entire symbol table, just - dump the constructors and destructors. + * mips.md (call): If there were any tiny structures passes as + QI/HI modes in registers, shift the register, so that the + structure value is in the high part of the register. + (call_value): Ditto. + (call_internal): Delete creating $31 rtx, since we can get it from + the normal insn patterns. + (call_value_internal): Ditto. - * make-decrose (CFLAGS): Use DEB_OPT for default debug and optimize - options, use SHLIB for default shared library versions. - (DEB_OPT): Define to be -g -O2. - (SHLIB): Define to be -L${BUILD}/usr/ccs/lib, which forces static - libraries with both old and new 1.39 compilers. - (COFF_CFLAGS): Define to be -O2 -g0. - (collect): Add LIBDEPS dependency. +Fri Dec 18 05:14:14 1992 Brendan Kehoe (brendan@lisa.cygnus.com) -Mon Aug 26 07:22:21 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + Make abstract virtual functions work. + * cp-call.c (compute_conversion_costs): Undo change of Sept 1 about + setting HARSHNESS to 0 re: the conversion of the first argument. + (build_method_call): Delete the code that redid the RTL for calling + the right fn, since we will now behave correctly. (Even with this, + we ended up calling the wrong fn---the base class, rather than the + derived one.) - * machmode.h (MIN, MAX): Define here. - * c-decl.c, calls.c, cplus-class.c, cplus-decl.c, cplus-tree.c: - Don't define here. - * expr.c, fold-const.c, function.c, integrate.c, recog.c: Likewise. - * rtl.c, sdbout.c, stmt.c, stor-layout.c, varasm.c: Likewise. - * c-typek.c, combine.c, cse.c, emit-rtl.c, expmed.c, final.c: - Delete definitions of "min" and "max"; use MIN and MAX now defined - in machmode.h. - * genemit.c, regclass.c, reload.c, reload1.c: Likewise. - * cccp.c (MIN, MAX): Define instead of min and max for consistency. + * cp-decl2.c (grokclassfn): Try using the local value for a nested + type if the IDENTIFIER_TYPE_VALUE isn't there. - * tm-rs6000.h (HARD_REGNO_MODE_OK): Don't put DImode in reg 31; - similarly for TImode. + * cp-method.c (build_overload_nested_name): Use DECL_NAME instead of + DECL_ASSEMBLER_NAME, since pushtag now mangles together + DECL_ASSEMBLER_NAME. This will make us emit `Q21D1B', not `Q221D1B'. - * cse.c (cse_skip_to_next_block): Variable deleted. - (cse_insn): Don't set it anymore. - (cse_basic_block): Don't use cse_skip_to_next_block; instead, look - for unconditional jumps explicitly; correctly handle unconditional - jumps to the end of the basic block by extending the basic block in - that case. +Thu Dec 17 17:51:16 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * reload1.c (alter_reg): Ensure that stack slot is always the correct - mode. + * Makefile.in (install-dir): Added missing then and semicolon. -Mon Aug 26 06:20:43 1991 Michael Tiemann (tiemann at cygint.cygnus.com) +Thu Dec 17 15:19:36 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cplus-type2.c (build_functional_cast): Treat constructor casts as - having cleanups in this function. - * cplus-decl.c (finish_decl): Use cleanups created by functinal - casts used as initializers. + * x-i386s4 (CC): New assignment. - * cplus-init.c (expand_member_init): Call error with - IDENTIFIER_POINTER, not DECL_NAME, of NAME. +Wed Dec 16 15:49:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cplus-method.c (fndecl_as_string): Don't skip `in_charge' - parameter twice. + * objc-actions.c (finish_objc) [OBJC_SELECTORS_WITHOUT_LABELS]: + Always call build_selector_translation_table. - * cplus-init.c (build_new): Delete code which short-circuited - multiple indirections in ABSDCL and made everything look like just a - single level of indirection. + * Makefile.in (install-dir): + If cross-compiler, create $(tooldir) and $(assertdir). - * cplus-typeck.c (warn_for_assignment): Now takes a FUNCTION_DECL - instead of an IDENTIFIER_NODE as an argument. Also, print - reasonable message when ARGNUM < 0. +Wed Dec 16 14:19:08 1992 Richard Kenner (kenner at vlsi1.ultra.nyu) - * cplus-typeck.c (type_unknown_p): If TREE_CODE (EXP) == TREE_LIST, - it's type is unknown. + * rs6000.h (INITIALIZE_TRAMPOLINE): Get function address and toc + pointer from correct place relative to FNADDR. - * cplus-typeck.c (commonparms): Don't insert default parmeter values - into existing arg lists. Instead, unify them into new ones only. + * varasm.c (assemble_trampoline_template): If TRAMPOLINE_SECTION + is defined, put the trampoline template into that section. - * cplus-typeck.c (convert_for_{initialization,assignment}): Pass - FNDECL instead of function name. Use `lang_printable_name' to pass - printable name to `warn_for_assignment'. + * alpha.h (TRAMPOLINE_SECTION): New macro. - * cplus-typeck.c (convert_arguments): Don't forcibly convert ptrs to - other things into ptrs to functions just to satisfy the conversion - of virtual functions. +Wed Dec 16 14:19:41 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) -Sun Aug 25 22:44:57 1991 Michael Tiemann (tiemann at cygint.cygnus.com) + * reload.c (get_secondary_mem): Don't save address if it isn't valid. - * cplus-typeck.c (compparms): Deal with STRICT == 3. - * cplus-search.c (get_first_matching_virtual): Call `compparms' with - STRICT == 3. +Wed Dec 16 13:59:17 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cplus-lex.c (operator_name_string): Don't abort if we cannot find - a operator name for NAME. Instead, return identifier for - . + * varasm.c (assemble_trampoline_template): + Use readonly_data_section, not text_section. -Sun Aug 25 15:42:59 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Wed Dec 16 11:32:11 1992 Michael Meissner (meissner@osf.org) - * cplus-xref.c (FILE_NAME_ABSOLUTE_P): New macro. - (GNU_xref_file): Use it. - (open_xref_file): Use new macro XREF_FILE_NAME if defined. - * cplus-lex.c (FILE_NAME_NONDIRECTORY): New macro. - Used frequently instead of strrchr. - * xm-vms.h: Define those three macros. + * mips.h (MIPS_VERSION): Set Meissner version # to 32. + (compute_frame_size): Change function return type to long. + (epilogue_reg_mentioned_p): New function decl. + (mips_frame_info): Change unsigned longs to longs. + (ELIGIBLE_FOR_EPILOGUE_DELAY): Call epilogue_reg_mentioned_p. - * optabs.c (expand_binop): Use word mode for force_reg on op1 of shift. + * mips.c (epilogue_reg_mentioned_p): New function to return true + if any register used in the epilogue sequence is referenced. If + the stack size is greater than 32k bytes, return true for + registers $8 and $9, since they are used to hold temps. + (compute_frame_size): Change return type & variables to long. + (compute_frame_size): Use 1L in shifts to create GP save mask. + (save_restore): Merge function into save_restore_insns. + (save_restore_insns): Add FILE * argument, to write to the .s + file if non-NULL -- otherwise produce insns. Add arguments to + pass in that the prologue/epilogue has loaded the stack size into + $8 if large stack frame. Completely rewrite large stack frame + support, so that it doesn't abort if large stack frame, saved GP + registers, and no saved FP registers. If large stack frame, use + stack size stored in $8 if we can. + (function_prologue): Make tsize long. + (function_epilogue): Ditto. + (mips_expand_prologue): Ditto. + (mips_expand_epilogue): Ditto. + (mips_expand_prologue): Change call to save_restore_insns. + (mips_expand_epilogue): Ditto. + (function_epilogue): Call save_restore_insns instead of + save_restore. - * out-m68k.c (singlemove_string): Use moveq when appropriate. +Wed Dec 16 07:33:08 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * final.c (split_double): Handle all integer constants. - * out-m68k.c (output_move_double): Use split_double for all constants. - * ??? Most out-*.c need changing. + * stmt.c (expand_goto): Set LABEL_REF_NONLOCAL_P in the LABEL_REF + we make in the non-local case. - * c-decl.c (finish_enum): Make some local vars unsigned. - * c-common.c (type_for_size): - * c-convert.c (convert_to_integer): - * tm-i860.h (ASM_OUTPUT_ASCII): - * c-parse.y (yylex): - * expr.c (get_pointer_alignment): - * stor-layout.c (layout_union, layout_record): - * tree.c (get_unwidened, get_narrower): + * varasm.c (assemble_trampoline_template): Always put template in + text section. - * expr.c (emit_library_call): Don't declare va_list as register. - * final.c (asm_fprintf): Likewise. - * tree.c (build, build_nt, build_parse_node): Likewise. +Wed Dec 16 05:04:06 1992 Tom Wood (wood@dg-rtp.dg.com) - * expr.c (do_jump_for_compare): Don't assume the compare survives - when the branch is emitted. + * combine.c (try_combine): Allow for the case where I3 becomes an + unconditional jump when it is the last nonnote insn. - * expr.c (convert_move): Fix typo in prev change. +Tue Dec 15 20:30:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * emit-rtl.c (fconst2_rtx, dconst2_rtx): New vars. - (init_emit_once): Initialize them. + * cccp.c (do_pragma): Use index, not strchr. - * expmed.c (extract_bit_field, store_bit_field): - For multi-word field, do words from least significant first. + * seq386.h (FUNCTION_PROFILER): Add missing . to label name. - (extract_split_bit_field): OP0 is only the first word of the - source, so if this is a SUBREG, must call operand_subword on - SUBREG_REG (OP0) instead of OP0. + * reload1.c (eliminate_regs_in_insn): Test old_body, not new_body, + since people have tested it that way. - * varasm.c (output_constructor): Correctly output constants for - bitfields which are greater than HOST_BITS_PER_INT. Use - TREE_INT_CST_HIGH for the high bits. + * reload1.c (eliminate_regs_in_insn): Don't recopy new_body + if it is an asm_operands insn. - * Makefile.in (ENQUIRE_CFLAGS, ENQUIRE_LDFLAGS): New parameters. - (enquire, enquire.o): Use them. +Tue Dec 15 19:42:58 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * tm-sysv4.h: New file, cut out from tm-m88k.h. - * tm-m88k.h: Include that. + * sparc.md (return peepholes): Add QImode and HImode move/return + patterns. - * vax.md (sltu, sgeu): New patterns. +Tue Dec 15 17:42:07 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sat Aug 24 11:19:43 1991 Michael Tiemann (tiemann at cygint.cygnus.com) + * alpha.h (ASM_SPEC): New macro. - * cplus-init.c (build_offset_ref): Pass a TYPE_DECL node, not a - RECORD_TYPE node, to `build_component_type_expr'. + * alpha.h (TRAMPOLINE_{TEMPLATE,SIZE}, INITIALIZE_TRAMPOLINE): + Make major changes to fix numerous bugs. + (TRANSFER_FROM_TRAMPOLINE): New macro. + * alpha.md: Add new UNSPEC_VOLATILE 0 to flush instruction cache. - * cplus-cvt.c (convert_to_integer): Warn about conversion from - integral type to enumeral type if FLAG_INT_ENUM_EQUIVALENCE is zero. - (convert_force): Set FLAG_INT_ENUM_EQUIVALENCE non-zero when calling - `convert'. +Mon Dec 14 13:16:14 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cplus-typeck.c (build_x_*_op): Don't try using built-in operators - if user-defined ones are not accessible. + * rs6000.c (output_epilog): Support LANGUAGE_STRING values for F77, + Ada, and Pascal. - * cplus-init.c (expand_aggr_init_1): Use `expand_expr' to set the - DECL_RTL of the TARGET_EXPR. This is a generalization of code that - used to require that EXP be some sort of _DECL. +Sun Dec 13 16:42:26 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cplus-init.c (init_init_processing): Link global runtime functions - __builtin_new and __builtin_delete to their canonical operator - names (i.e., op$nw and op$dl). + * fixinc.sco: Complete rewrite by ian@cygnus.com. - * cplus-lex.c (init_lex): Don't see `dynamic' as a reserved word if - SOS is not defined. - * cplus-decl2.c (flag_dynamic): Delete unused variable. +Sat Dec 12 17:51:43 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cplus-decl.c (define_case_label): Give error when case label cuts - into a binding contour with cleanups. - * stmt.c (last_cleanup_this_contour): Changed name from - `this_contour_has_cleanups_p'. Now returns last cleanup, if there - was one. - * tree.h: Declare `last_cleanup_this_contour'. + * va-alpha.h: Correctly form multi-word object. - * cplus-decl.c (grokdeclarator): Don't let member functions have - static linkage. + * alpha.c (alpha_builtin_savregs): Correctly compute ARGSIZE and NREGS. - * cplus-tree.c (layout_basetypes): Copy non-virtual basetypes of - virtual basetypes so that search routines can find ambiguities - arising in lattices where the same type appears as a non-virtual - basetype of different types in the lattice. - (copy_nonvirtual_children): Implement a recursive deep-copy of - nonvirtual types in an inheritance lattice. + * alpha.h (FUNCTION_ARG_PASS_BY_REFERENCE): Deleted. - * cplus-search.c (lookup_fnfields): Correctly catch case where there - are multiple functions in an MI lattice. - * cplus-call.c (ideal_candidate): If we find a requested function is - ambiguous in an MI lattice, set CP->EVIL to 1. - (build_method_call): If CP->EVIL is set on return from - `ideal_candidate', return error_mark_node. +Sat Dec 12 08:42:43 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) - * cplus-decl.c (lookup_name): Prefer finding typenames to overloaded - functions where there's a collision. - (pushdecl): Don't override the declaration of global functions with - a TYPE_DECL that has the same name. `lookup_name' now knows how to - find both. - (globalize_nested_type): Changed to look in IDENTIFIER_TYPE_VALUE - slot for global definitions that are not in IDENTIFIER_GLOBAL_VAL. - * cplus-type2.c (build_functional_cast): Deal with more ambiguities - and more cases where the syntactic form `NAME ( PARMS )' can have - meaning. + * pa-hpux.h (TARGET_DEFAULT): Do not enable TARGET_SHARED_LIBS + by default in 2.3.3 since it doesn't really work. + * pa-ghpux.h, pa1-hpux.h, pa1-ghpux.h: Likewise. -Sat Aug 24 01:33:00 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * pa.md (floatsisf, floatsidf): Do not accept general registers. - * expr.c (convert_move): Make integer extension general. +Fri Dec 11 00:13:52 1992 Ian Lance Taylor (ian@cygnus.com) - * optabs.c (init_extends, gen_extend_insn): Finish and turn on. + * configure (i[34]86-*-sco3.2v4*): Use fixinc.sco. + * fixinc.sco: New file. + Like fixinc.svr4 but turn !__STDC__ into !__STRICT_ANSI__. Don't + require space after getcwd argument in stdlib.h. + * x-i386s4: Don't use rcc: + (CC, OLDCC, RCCFLAGS, CCLIBFLAGS): Vars deleted. + * xm-i386sco.h (ONLY_INT_FIELDS): Define if not __GNUC__. + (CODE_FIELD_BUG): Likewise. + * rtl.h (struct rtx_def) [ONLY_INT_FIELDS]: Handle CODE_FIELD_BUG. - * reload1.c (possible_group_p): Insist on regs in needed class. +Fri Dec 11 17:56:53 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) - * SYSCALLS.c (alloca): Declare arg as size_t. + * cp-search.c (lookup_nested_field): Check for assignment to members + of an enclosing class only when looking at a member, not at other + things (like nested types). - * expr.c (store_constructor): Handle union constructor. + * cp-cvt.c (convert_to_reference): If a conversion can be found via + a constructor, then use it. Also fix a typo about when to + return the result of a type conversion. - * final.c (split_double): long long CONST_DOUBLE now has VOIDmode. +Fri Dec 11 08:15:53 1992 James Van Artsdalen (james@bigtex.cactus.org) - * optabs.c (expand_binop): Fix carry propagation bugs. - Handle carry propagation for big-endian case. + * reload1.c (choose_reload_regs): Don't inherit a reload if the + previous reload wasn't at least as wide as the current reload. -Fri Aug 23 21:29:46 1991 Michael Tiemann (tiemann at cygint.cygnus.com) +Fri Dec 11 07:19:11 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cplus-decl.c (finish_decl): More PIC fixes. Also, don't assign - any storage for static member variables except when they are being - defined. + * alpha.c (output_epilog): Remove garbage from one decl of EXTRA. + Subtract, not add, size from frame pointer. - * cplus-init.c (build_virtual_init): Change interface to take - MAIN_ASSOC instead of FOR_TYPE. - (expand_aggr_init_1): Ditto. - (expand_recursive_init_1): Ditto. - (expand_aggr_vbase_init{_1}): Change interface to take an assoc - instead of a type. - (expand_recursive_init): Ditto. - - * cplus-pt.c (uses_template_parms): Handle PARM_DECL nodes. - - * cplus-search.c (get_base_assoc): Use ASSOC_MARKED instead of - ASSOC_BASETYPE_MARKED to mark visited nodes. - (lookup_field, loopup_fnfields): Use ASSOC_FIELDS_MARKED instead of - ASSOC_VBASE_MARKED when searching. - ({bfs_,un,bfs_un}marked2p): Deleted, unused. - (dfs_{un}mark2): Deleted, unused. - (dfs_unmark12): Deleted, unused. - (build_vbase_vtables_init): Change interface to take MAIN_ASSOC - instead of FOR_TYPE. + * a29kunix.h (LINK_SPEC): Use -T, not -c, for new gld and change file + name to default.gld from default.ld. -Fri Aug 23 18:31:53 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * function.c (assign_outer_stack_local): Align proper frame offset. - * expr.c (do_store_flag): Give up if can't directly compare args. + * loop.c (get_condition): Check for overflow when canonicalizing + comparison. -Fri Aug 23 18:00:58 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Thu Dec 10 15:53:41 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * function.c (instantiate_virtual_regs_1): Add new arg and now returns - int instead of void. - All callers changed. + * enquire.c (i_define, u_define, f_define): Add #undef before #define. + * fixinc.svr4 (limits.h): Add #ifndef/#endif around macros that + are supposed to be defined in float.h. - * expr.c (compare_constants): Deleted. - (compare_from_rtx): Use simplify_relational_operation instead of - compare_constants; abort is not needed since - simplify_relational_operation will return 0 if given VOIDmode. - - * cse.c (fold_rtx): Correctly compute mode of operands being - compared. - -Fri Aug 23 17:16:27 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * stmt.c (expand_end_case): - Avoid special cases for modes when widening. - Realize __builtin_classify_type reduces to int constant. - - * optabs.c (emit_cmp_insn): New arg, MODE. All callers changed. - If both args are const_int, copy one to a reg. - -Fri Aug 23 15:54:21 1991 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) - - * make-cc1.com: Fix bug where cplus-parse.y was always being passed - through bison, whether it needed it or not. - -Fri Aug 23 15:20:46 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * stmt.c (expand_end_case): Remove Aug 12 change. - Convert index to nominal_type for subtraction. - -Thu Aug 22 14:34:21 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * configure, config.gcc: Switch to all-dashes config names. - - * gnulib2.c [U_udivdi3, L_muldi3]: Define __clz_tab for longlong.h. - -Thu Aug 22 00:28:29 1991 Torbjorn Granlund (tege at zevs) - - * longlong.h: Rename BITS_PER_LONG to LONG_TYPE_SIZE. - * longlong.h (__ibm032__): Define count_leading_zeros and umul_ppmm. - * longlong.h: Define UMUL_TIME and UDIV_TIME for some CPUs. - * longlong.h (__sparc__ umul_ppmm): Move two insn from end to the - nops. (Saves two insn.) - * longlong.h (__sparc__ umul_ppmm): Rewrite in order to avoid - branch, and to permit input/output register overlap. - * longlong.h (__29k__): Remove duplicated udiv_qrnnd definition. - * longlong.h (__29k__ umul_ppmm): Split asm instructions into two - asm statements (gives better code if either the upper or lower - part of the product is unused. - * longlong.h: Mention UDIV_NEEDS_NORMALIZATION in description of - udiv_qrnnd. - * longlong.h (IBMR2): Add udiv_qrnnd. - * longlong.h (add_ssaaaa, sub_ddmmss [C default versions]): Make __x - `unsigned long int'. - * longlong.h: Add `int' after `unsigned' and `long' everywhere. - * longlong.h: Add ARM, i860 support. - * longlong.h (sparc umul_ppmm): Use __asm__, not asm. - * longlong.h (IBMR2 umul_ppmm): Refer to __m0 and __m1, not to m0 - and m1 (overlap between output and input operands did not work). - * longlong.h: Add VAX, ROMP and HP-PA support. - * longlong.h: Sort the machine dependent code in alphabetical order - on the CPU name. - * longlong.h: Hack comments. - * longlong.h: Define BITS_PER_LONG to 32 if it's not already - defined. - * Define __BITS4 to BITS_PER_LONG / 4. - * Don't assume 32 bit word size in "count_leading_zeros" C macro. - Use __BITS4 and BITS_PER_LONG instead. - * longlong.h (68k): Define add_ssaaaa sub_ddmmss, and umul_ppmm - even for plain mc68000. - * longlong.h: Clean up comments. - * longlong.h: Don't use #elif. - * longlong.h: Use __asm__ instead of asm. - * longlong.h (sparc udiv_qrnnd): Make it to one string over several - lines. - * longlong.h: Preend __ll_ to B, highpart, and lowpart. - * longlong.h: Move array t in count_leading_zeros to gnulib2.c - Rename the array __clz_tab. - * longlong.h (umul_ppmm [C variant]): Make __ul...__vh - `unsigned int', and cast the multiplications. This way - compilers more easily can choose cheaper multiplication - instructions. - -Thu Aug 22 07:36:40 1991 Tom Wood (wood at dg-rtp.dg.com) - - * rtl.h: Declare simplify_relational_operation. - - * out-m88k.c (output_file_start): Put the `gcc2_compiled.' symbol - in the data section. Eliminates symbol translation problems with - debuggers. - - Changes from Ron Guilmette: - * toplev.c (compile_file): Use dwarfout_finish when done. - * final.c (output_source_line): Use dwarfout_line. - * dwarfout.c (dwarfout_finish): Rename from dwarfout_finalize. - * tm-m88k.h (ASM_OUTPUT_DWARF_LINE, ASM_FILE_END): No need for - dwarf specific actions. - -Thu Aug 22 05:29:57 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * combine.c (can_combine_p): Don't combine if INSN has REG_RETVAL note. - (try_combine): Similarly, don't combine if I3 has REG_LIBCALL note. - - * flow.c (propagate_block): Don't use variable PREV in - nested blocks that shadows PREV at function level. - If we handle this insn normally, arrange to scan any insns that - were inserted in front of it for making auto-inc addressing. - - * integrate.c (save_for_inline_copying): Clear CONST_DOUBLE - memory chain. - - * toplev.c (fatal_insn_not_found): Now that it is called in final.c - when an insn doesn't match constraints, write different error - message in that case. - * genattrtab.c (write_attr_case): Call fatal_insn_not_found instead - of abort when constrain_operands fails. - -Thu Aug 22 05:29:09 1991 Matthew Self (mself at next.com) - - * rtl.c (add_dependence): Uses of RTX_UNCHANGING_P should now be - SCHED_GROUP_P. + * combine.c (try_combine): Only use I2DEST as a scratch reg for + a split if it does not overlap any inputs of NEWPAT. -Thu Aug 22 00:34:20 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Thu Dec 10 10:23:28 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * recog.c (offsettable_address_p): Always pass QImode to addressp. + * combine.c (get_last_value): Never use value from later insn, even + if reg is only set once. -Wed Aug 21 09:20:09 1991 Michael Meissner (meissner at osf.org) + * c-tree.h (IDENTIFIER_LIMBO_VALUE): Delete duplicate definition. - * tm-decrose.h (LINK_SPEC): Allow -pic-none, -glue, -noshrlib - switches. - (LIB_SPEC): Add -L/usr/ccs/lib to get new 1.1 linker to use static - libraries instead of shared libraries, since the shared library - support has not yet been added. - -Wed Aug 21 06:18:12 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * out-rs6000.c (print_operand, case 'Y', 'Z'): Fix typo in - auto-inc case. - * rs6000.md (movti): Add missing %U in memory cases. - - * tm-rs6000.h (GO_IF_LEGITIMATE_ADDRESS): Indexed addresses are not - valid for DImode and TImode. - * out-rs6000.c (indexed_mem_operand): Deleted. - (print_operand, case 'X'): Don't use indexed_mem_operand; check - ourselves instead. - * rs6000.md (movdi, movti): Don't check for indexed memory operands. - -Tue Aug 20 16:02:41 1991 Tom Wood (wood at dg-rtp.dg.com) - - * sdbout.c (sdbout_parms): Handle parm passed in reg and living in - pseudo that was optimized away. - -Mon Aug 19 19:10:42 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * combine.c (simplify_comparision, case NEG): Can only convert - (-a) < C to a > C if C is zero. - - * expmed.c (store_bit_field, extract_bit_field): Use WORD_MODE for - mode of BITS_PER_WORD to avoid conflict with other use of variable - named MODE. - - * cse.c (cse_insn): Don't make a REG_EQUAL note whose contents - are a REG; the REG might have been eliminated. - - * reload1.c (reload_as_needed): Pass any CLOBBERs made when reloading - an insn to `forget_old_reloads_1'. - -Mon Aug 19 12:47:46 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * configure (m88k-luna): Rename alternative appropriately. - - * cse.c (simplify_relational_operation): Split out from ..._binary_... - (fold_rtx): Use that function for relationsals. - (simplify_binary_operation): Don't allow relationals. - * combine.c (subst, gen_binary): Use simplify_relation_operation. - * integrate.c (subst_constants): Likewise. - * jump.c (jump_optimize): Likewise. - - * c-common.c (shorten_compare): Warn about unsigned >= 0. - -Sun Aug 18 17:29:16 1991 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) - - * tm-vms.h (ASM_OUTPUT_EXTERNAL): Remove code to round the storage - size up to a multiple of 4 bytes. - -Sun Aug 18 15:35:27 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * dbxout.c (dbxout_parms): - Handle parm passed in reg and living in pseudo that was optimized away. - - * function.c (init_function_start): Give decl_printable_name both args. - - * expr.c (compare_from_rtx): - Don't change to unsigned if too wide for host int. - * cse.c (fold_rtx): Use mode_arg0 to simplify comparison ops. - Update mode_arg0 when we look at value of cc0. - - * cse.c (cse_insn): Really don't record bitfield destinations - unless source is constant which fits. - But pre-truncate other constants. - - * config.subr: Allow $os to be empty. - - * function.c (lookup_static_chain): Check for 0 before inline function. - - * config.subr (pc532, minix): New alternatives. - - * configure (editing Makefile): Use cross-make. - * Makefile.in (install-cross): Change dep to install-gnulib. - -Sat Aug 17 17:18:05 1991 Michael Tiemann (tiemann at cygint.cygnus.com) - - * All cplus-* files: Change the representation of the C++ - inheritance lattice for types. There is no longer such a thing as a - classtype_variant. Instead, types all have their own lattices - accessed via their CLASSTYPE_ASSOC field. - - * cplus-tree.h (lang_type): Delete fields OFFSET, - MAIN_CLASS_VARIANT, NEXT_CLASS_VARIANT, VIA_PUB_OR_VIRT. - Rename field AS_ID_LIST to ID_AS_LIST, since it's a list. - (CLASSTYPE_AS_ID_LIST): Renamed to CLASSTYPE_ID_AS_LIST. - Add field ASSOC_AS_LIST, which is a TREE_LIST whose TREE_VALUE is - the assoc for the type. - (CLASSTYPE_VIA_*, SET_CLASSTYPE_VIAS): Deleted. - (CLASSTYPE_OFFSET*): Deleted. - (CLASSTYPE_N_BASECLASSES): Now uses type's assoc. TYPE_BASETYPES - field is unused. Next change will make TYPE_BASETYPES hold the - assoc field. - (CLASSTYPE_VBASE_SIZE): Use slot in TYPE_LANG_SPECIFIC instead of - sneaking it into the TREE_TYPE field of the basetypes. - - (ASSOC_TYPE): Deleted. Now use ASSOC_VALUE everywhere. - (ASSOC_{BASETYPE,BASETYPES}): New macros. Both are operations on - assocs and return assocs. - (CLASS_ASSOC_BASETYPE): New macro. This performs roughly the same - function that CLASSTYPE_BASECLASS used to, but it retains no assoc - info in the type it returns. - (ASSOC_NEXT_ASSOC): New macro used for traversing assoc chains built - up by search routines. - (ASSOC_VIA_{PUBLIC,VIRTUAL}): New macros for accessing inheritance - information. CLASSTYPE_VIA_{PUBLIC,VIRTUAL} no longer used. - (ASSOC_CID): New macro. - - (DECL_ANON_UNION_ELEM): Deleted. Now anonymous union decls are - distinguished as FIELD_DECLs with NULL DECL_NAMEs and UNION_TYPE - types. - - (DERIVED_FROM_P): New macro. Change calls that testing inheritance - relationships (get_base_type and get_base_distance) to use this macro. - - * cplus-type2.c (basetype_or_else): Change interface to use/return an - assoc instead of a type. Change name to base_assoc_or_else. - - * cplus-tree.c (build_classtype_variant): Deleted. - (copy_type_lang_specific): Deleted. - * all cplus-* files: Everything that used to use CLASSTYPE_OFFSET on - types now uses ASSOC_OFFSET on assocs. - - * cplus-class.c (propagate_basetype_offsets): Change interface to use - assocs instead of types. Change name to propagate_assoc_offsets. - * cplus-search.c (get_base_type): Ditto; name changed to - get_base_assoc. - - * cplus-cvt.c (convert_pointer_to): Change interface to use an assoc - instead of a type. - (convert_pointer_to_vbase): Ditto. - * cplus-call.c (build_field_call): Ditto. - * cplus-class.c (get_vfield_offset): Ditto. - (build_method_call): Ditto. - (maybe_fixup_vptrs): Ditto. - * cplus-search.c (get_first_matching_virtual): Ditto. - (get_virtuals_named_this): Ditto. - (tree_needs_constructor_p): Ditto. - (get_virtual_destructor): Ditto. - (tree_has_any_destructor_p): Ditto. - (get_baselinks): Ditto. - (lookup_{field,fnfields}): Ditto. Also, use ASSOC_VBASE_MARKED - instead of CLASSTYPE_MARKED2 to mark virtual basetypes that have - been visited. - (build_vbase_vtables_init): Ditto. - ({build,free}_mi_matrix): Ditto. - * cplus-init.c (expand_aggr_init_1): Ditto. - (expand_aggr_vbase_init_1): Ditto. - (build_virtual_init): Ditto. - * cplus-class.c (build_class_init_list): Rewritten to build list with - assoc entries instead of types. Also, use new macro - ASSOC_BASEINIT_MARKED instead of CLASSTYPE_MARKED6. - (finish_base_struct): New argument ASSOCS is the list of assocs that - describe the basetypes of T. - - * cplus-tree.c (make_lang_type): Always initialize - CLASSTYPE_VBASE_SIZE to integer_zero_node. To test if a class has - virtual baseclasses, test CLASSTYPE_VBASECLASSES, not - CLASSTYPE_VBASE_SIZE. - - * cplus-class.c (finish_struct): Rewritten to use assocs instead of - types where appropriate. - - * cplus-search.c (get_base_distance): Change interface to use assocs - or types. Also, PATH_PTR argument is now an assoc chain, not a - TREE_LIST. Algorithm to find leftmost path is now more efficient. - (compute_visibility): Uses assoc chain instead of TREE_LIST of - types. - (recursive_bounded_basetype_p): New function. - (dfs_walk, dfs_* functions): Change to be called with assocs instead - of types. - (breadth_first_search, all bfs_*): Ditto. - cplus-tree.c (reverse_path): New function. Like nreverse, but works - on assoc chains. - - * cplus-class.c (build_vtable, prepare_fresh_vtable, - modify_vtable_{entries,entry},): Change interfaces to use assocs - instead of types. Use macro ASSOC_VTABLE_PATH_MARKED on the assocs - instead of CLASSTYPE_MARKED3. Use macro ASSOC_NEW_VTABLE_MARKED on - the assocs instead of CLASSTYPE_MARKED4. - - * cplus-dbxout.c: Now needs to know more about assocs. When assocs - are put in the TYPE_BASETYPEs field, it should not need to know - about lang_type. - - * cplus-decl.c (xref_tag): Rewritten to build proper assoc lists. No - longer builds basetype lists. - (finish_function): Make `flag_no_inline' really take effect. - - * cplus-tree.c (make_assoc): Changed for new assoc structure. The - fields in assocs are now: VALUE (pointer to TYPE that this assoc is - for), OFFSET (the byte offset of this basetype in the whole object), - VTABLE (the virtual function table that should be used to initialize - objects controlled by this assoc), VIRTUALS (the virtual functions - to use for initializing VTABLE), BASETYPES (a TREE_VEC of basetypes - that this assoc has, or NULL_TREE if none), NEXT_ASSOC (a temporary - slot used to point to the next assoc in an assoc chain), - VIA_{PUBLIC,VIRTUAL} bits saying whether this assoc is a basetype of - its parent via public or virtual inheritance. +Thu Dec 10 08:54:03 1992 Tom Wood (wood@dg-rtp.dg.com) - * cplus-ptree.c (print_lang_type): Modified as necessary to cope with - new inheritance structure. + * i386sco4.h (CPP_PREDEFINES): Define i386 and unix here. + (CPP_SPEC): Not here. - * cplus-search.c (get_base_type_1): This function was unused and - wrong. Deleted. +Wed Dec 9 19:03:55 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) - * cplus-tree.c (layout_basetypes): Take new arg ASSOCS. Layout the - basetypes my modifying the assocs, not the types. - (layout_vbasetypes): Ditto. + * pa.h (ASM_DECLARE_FUNCTION_NAME): Correctly get the return type + of DECL. - * all cplus-* files: Removed dead code, unused variables, and change - asserts where appropriate. + * x-pa (CC): Set to "/usr/local/bin/gcc" instead of + "/usr/local/gcc". - * all cplus-* files: DECL_VIRTUAL_P is no longer used as a truth test - for whether or not a function is virtual. Use a test for non-NULL - DECL_VINDEX instead. +Tue Dec 8 17:50:26 1992 Michael Meissner (meissner@osf.org) -Sat Aug 17 15:16:40 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * mips.h (MIPS_VERSION): Bump Meissner version number to 31. + (LEGITIMIZE_ADDDRESS): Split large offsets, even when not + optimizing. Otherwise, illegal stack offsets can be generated. - * function.h (inline_function_decl): Declare it. - * integrate.c: Include function.h; don't declare var here. +Tue Dec 8 11:55:52 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) - * rtl.h (regno_reg_rtx): Declare it. + * pa.md (sh[123]add): Use "shadd_operand" as the predicate for + operand one. + * pa.c (shadd_operand): New function. - * stmt.c (expand_end_case): - When filling labelvec from case range, avoid overflow in i. +Tue Dec 8 08:30:13 1992 Tom Wood (wood@dg-rtp.dg.com) -Fri Aug 16 23:06:37 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * hp320.h (AS_BUG_FLOATING_CONSTANT, AS_BUG_TRAILING_LABEL): New. + (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Output align 1 to + accomodate the "trailing label" bug. + (ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_FLOAT_OPERAND): Define to + output values in hex to accomodate the "floating constant" bug. + (PRINT_OPERAND_FLOAT, PRINT_OPERAND): Ditto. - * c-typeck.c (build_binary_op_nodefault): - Take out warning added by recent changes. + * gcc.c (temp_names): New variable. + (do_spec_1): Rewrite MKTEMP_EACH_FILE for %g/%u/%U. + (choose_temp_base): Abort if mktemp yields a null string. -Fri Aug 16 22:00:09 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Tue Dec 8 08:30:13 1992 Niklas Hallqvist (niklas@della.appli.se) - * function.c (inline_function_decl): New var. - (lookup_static_chain): Decl is local if context is function being - inlined. - * integrate.c: Remove partially-completed previous change. - (expand_inline_function): Set inline_function_decl. + * integrate.c (expand_inline_function): Don't output line notes + for implicit formals. -Fri Aug 16 21:41:10 1991 Michael Tiemann (tiemann at pogo.gnu.ai.mit.edu) +Tue Dec 8 06:21:44 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * a29k.md (insv,extv): Changed POS / SIZE to POS / 8, since high - order bit of BP selects half-word position for half-word ops. + * cse.c (max_uid): New variable. + (cse_end_of_basic_block): Use it to ignore insns made by CSE. + (cse_main): Set it. -Fri Aug 16 18:52:35 1991 Jim Wilson (wilson at sphagnum.cygnus.com) +Mon Dec 7 21:22:29 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) - * combine.c (distribute_links): Only put link on new insn if the - insn uses the register. If first find an insn that sets the - register but does not otherwise use it, then drop the link. - - * combine.c (distribute_links): Strip off SUBREG, ZERO_EXTRACT, - etc. from the destination of the set before passing it to - reg_mentioned_p and reg_referenced_p. - -Sat Aug 16 17:02:53 1991 Michael Tiemann (tiemann at cygint.cygnus.com) + * cp-init.c (do_friend): Revert change of Sept 1; it seems to have + broken properly emitting friends. - * cplus-pt.c (uses_template_parms): Run loop over _EXPR nodes from - TREE_CODE_LENGTH-1 to 0, not from TREE_CODE_LENGTH. +Mon Dec 7 19:09:25 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cplus-decl.c (grokfndecl): Change `==' to `=' in assignment to - `raises' - (finish_decl): If FLAG_PIC is nonzero, leave initialized data in - common space. + * reload1.c (eliminate_regs_in_insn): Make another copy of all the + RTL if we changed something and we aren't permanently replacing. -Fri Aug 16 13:13:11 1991 James Van Artsdalen (james at bigtex.cactus.org) + * romp.md (reload_out{q,h}i): Write as proper PARALLEL. - * reg-stack.c (current_function_returns_real): New variable. - (reg_to_stack): Set it. - (stack_reg_life_analysis): Use it. - (emit_pop_insn): Return the new insn. - (convert_regs): Pop any stack regs live at the end of the last basic - block. +Sun Dec 6 16:27:14 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Fri Aug 16 16:16:45 1991 Michael Tiemann (tiemann at pogo.gnu.ai.mit.edu) + * alpha.md (add-mult): Add missing `&' in constraints of kludge + plus/plus/mult pattern. - * tm-sparc.h (SELECT_SECTION): Don't put relocatable values into - text space if generating position-independent code. +Sun Dec 6 16:26:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Aug 16 16:00:30 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * optabs.c (expand_binop): Correct sign of complex quotient imagpart. - * protoize.c (__flsbuf): Decl deleted; no need. - [ultrix]: Include string.h, not strings.h. +Sun Dec 6 07:59:16 1992 Michael Meissner (meissner@osf.org) - * function.c (instantiate_virtual_regs_1): Bug adding NEW to addr of X. + * mips.h (MIPS_VERSION): Set Meissner version # to 30. + (LEGITIMIZE_ADDRESS): For + addresses, rewrite so + that + ( & ~0x7fff) is put into a pseudo reg. + This is to allow CSE to generate better code for repeated + references in the same general vicinity, such as when large stack + frames are used. -Fri Aug 16 08:51:25 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * config/dec-osf1.h (LINK_SPEC): Pass -call_shared, -no_archive, + and -exact_version to the linker. If -call_shared, do not pass + -non_shared to the linker. + * mips-5.h (LINK_SPEC): Ditto. + * mips-5bsd.h (LINK_SPEC): Ditto. + * mips-svr4.h (LINK_SPEC): Ditto. + * mips-sysv.h (LINK_SPEC): Ditto. - * expr.c (expand_expr, case ABS_EXPR, MIN_EXPR, MAX_EXPR): Don't - allow TARGET to be a hard reg because evaluating the comparison - might clobber it. +Fri Dec 4 19:50:29 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) -Thu Aug 15 23:38:04 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * fixincludes: fix _cplusplus typo in SCO's tinfo.h - * tm-m68k.h (PRINT_OPERAND): Use asm_fprintf to print immed prefix. +Fri Dec 4 19:22:35 1992 Randy S. Welch (randy@kcin.alphacdc.com) -Thu Aug 15 23:36:12 1991 Micheal Tiemann (tiemann at pogo.gnu.ai.mit.edu) + * xm-plexus.h: New file. + * configure (m68k-plexus-sysv*): Use it. - * cplus-decl.c (finish_enum): Remove last traces of Wood's mistaken - changes for tag handling in C++. - * cplus-class.c (finish_struct): Ditto. +Fri Dec 4 19:21:44 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Aug 13 06:12:18 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * c-decl.c (start_function): Use TYPE_MAIN_VARIANT when comparing + return type with previous prototype declaration. - * jump.c (find_cross_jump): When avoiding CALL_INSNs, don't - return a CODE_LABEL as a cross-jump point; use next_real_insn instead - of next_nonnote_insn. + * cccp.c (output_line_command): Use alloca for line_cmd_buf. - * fold-const.c (optimize_bit_field_compare, merge_component_reference): - Use mode_for_size to get mode for word; don't use SImode. - * tree.c (build_index_type, build_index_2_type): Don't use SImode; - get mode of SIZETYPE instead. +Fri Dec 4 19:20:34 1992 Richard Kenner (kenner@mole.gnu.ai.mit.edu) - * optabs.c (emit_cmp_insn): Use type of int instead of SImode for - return from memcmp and bcmp. + * cse.c (cse_insn): Always pass result of canon_reg through + validate_change before using it in insn. -Mon Aug 12 17:54:55 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * c-decl.c, cp-decl.c (init_decl_processing): Don't use hardwired + sizes for the modes when making int{Q,H,S,D}I_type_mode and the + unsigned versions of them; the actual size depends on BITS_PER_UNIT. - * stmt.c: Include recog.h. - * stmt.c (expand_end_bindings): Expect abort to return void. - (expand_end_case): Give tablejump whatever mode it wants. +Fri Dec 4 19:13:35 1992 Jonas Olsson (ljo@po.cwru.edu) - * integrate.c (integrate_type): New function. - * c-typeck.c (build_binary_op_nodefault): Rewrite last change. + * i386bsd.h (ASM_OUTPUT_ADDR_DIFF_ELT, JUMP_TABLES_IN_TEXT_SECTION): + Copy definitions from i386v4.h to get PIC code correct. - * Makefile.in (install): Indirect through INSTALL_TARGET. - (install-native): New name for old install target. - (INSTALL_TARGET): New variable. - * cross-make (INSTALL_TARGET): Override it. +Thu Dec 3 19:20:14 1992 Brendan Kehoe (brendan@lisa.cygnus.com) -Mon Aug 12 17:25:48 1991 Michael Meissner (meissner at osf.org) + * cp-decl.c: Include sys/types.h for systems that need things for + signal.h. - * out-mips.c (toplevel, override_options, siginfo): If the OSF/1 - SIGINFO signal is provided, invoke siginfo handler, which prints - which file is being compiled, and runs ps on the compiler and it's - parent. +Thu Dec 3 01:40:42 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * make-decrose (CC, OLDCC): Define CC and OLDCC to be the same, so - that tests within Makefile.in work as expected. - (LIB2FUNCS_EXTRA): Put osf-main in the gnulib2 portion of the - library, instead of the gnulib1 portion. + * sparc.c (finalize_pic): Remove "*_" from GLOBAL_OFFSET_TABLE name. + * spc-sol2.h (ASM_SPEC): Pass "-K PIC" to assembler when pic. + (JUMP_TABLES_IN_TEXT_SECTION): Define. + (SELECT_RTX_SECTION): Define. -Mon Aug 12 16:31:47 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * fixincludes (sys/types.h): Check for [ \t]size_t not size_t. - * explow.c (expr_size): Fix typo. +Wed Dec 2 15:40:36 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Mon Aug 12 14:27:31 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * configure (rs6000-ibm-aix32): New target. + * rs6000-aix32.h: New file. - * expr.c (expand_expr, case COND_EXPR): Fix typo in comment. - In the singleton code, don't accept a hard register as a target if - we are going to store into it before testing the condition because - that evaluation may involve a subroutine call which might clobber it. +Tue Dec 1 18:05:20 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * rtl.h (SCHED_GROUP_P): Fix typo in definition. + * cp-type2.c (build_functional_cast): Revert change of Nov 2, + concerning clearing the TREE_VALUE of a default parameter. -Mon Aug 12 08:01:01 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Tue Dec 1 13:33:25 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * jump.c (find_cross_jump): Look at REG_EQUIV notes in addition to - REG_EQUAL notes. - (do_cross_jump): Remove REG_EQUAL or REG_EQUIV notes present on only - one branch of the cross-jump so we don't get confused by them if we - cross-jump again. + * local-alloc.c (optimize_reg_copy_2): Correct reg_n_refs updates. -Mon Aug 12 01:44:26 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * Makefile.in (INSTALLED_H): Add syslimits.h. - * unroll.c (unroll_loop): When naively unrolling loops, if the last - jump insn is an unconditional jump, and it does not jump to the loop - top, then it must be copied with the rest of the loop body. +Tue Dec 1 11:09:50 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * rtl.h: Clean up documentation for uses of volatil and in_struct - fields of an rtx. - * gcc.texinfo: Document macros CONST_CALL_P, LABEL_PRESERVE_P, and - SCHED_GROUP_P. Clean up documentation for uses of used, in_struct, - and unchanging fields of an rtx. + * cp-call.c (build_method_call): When looking for a default arg + initialized by a ctor, be careful of a null ref w/ operand 1. - * final.c (final_scan_insn): In the ASM_OUTPUT_LOOP_ALIGN code, - must verify that next exists before checking whether it is a label. +Tue Dec 1 10:43:13 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sun Aug 11 16:46:17 1991 James Van Artsdalen (james at bigtex.cactus.org) + * combine.c (num_sign_bit_copies): Return 1 on failure, not 0. + Fix typo in last change; return 1 on failure, not BITWIDTH. - * i386.md (cmpstrsi): Enable it. Now uses REG as output, not cc0. - Old cc0-output pattern remains for combining cmpstrsi & test pairs. +Tue Dec 1 09:39:47 1992 Michael Meissner (meissner@osf.org) -Sun Aug 11 15:52:33 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * mips.c (function_prologue): Do not emit a .loc before the + function if debug level is 1. This confuses gdb. - * dbxout.c (dbxout_symbol): Handle var-length array with reference. +Tue Dec 1 02:48:29 1992 James Van Artsdalen (james at bigtex.cactus.org) - * c-decl.c (xref_tag): Copy default mode from unsigned_type_node. - * explow.c (expr_size): Get it from size_type. - * reload1.c (allocate_reload_reg): No need to validate mode of - reload_in if that value is a const_int. + * isc.h (TARGET_DEFAULT): New macro - don't make TARGET_IEEE_FP + default for ISC. - * expr.c (expand_builtin): Get value mode properly, for memcmp. +Fri Nov 27 01:30:41 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sun Aug 11 15:52:33 1991 Jim Wilson (wilson at cygint.cygnus.com) + * Version 2.3.2 released. - * dbxout.c (dbxout_symbol): DECL_ASSEMBLER_NAME is a tree, not a - character string, so call IDENTIFIER_POINTER before printing it. + * objc/core.c (searchForMethodInHierarchy): + If SEL or NAME is 0, return 0. - * fold-const.c (fold): When converting foo++ == CONST to ++foo == - CONST + INCR, the plus must have the same TREE_TYPE as the - postincrement, not the comparison. + * gcc.c (LINK_LIBGCC_SPECIAL_1): New parameter. + * rs6000.h (LINK_LIBGCC_SPECIAL_1): Defined. -Sat Aug 10 22:58:01 1991 Michael Meissner (meissner at osf.org) + * t-hp320g (RANLIB, RANLIB_TEST, AR, AR_FLAGS): + Just copy value of ..._FOR_TARGET. + (LIBCONVERT): Use TARGET_TOOLPREFIX. - * mips.md (extendqihi2 define_split): Use SImode on shifts rather - than HImode, and turn result register into SImode as well. + * reload.c (find_reloads) [SMALL_REGISTER_CLASSES]: + Don't use preferred_class for a multiword register. -Sat Aug 10 21:00:59 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * cccp.c (do_include): Initialize searchptr to 0. - * calls.c (emit_call_1): New argument is_const. Set CONST_CALL_P - true for the call_insn if is_const is true. - (expand_call): Pass is_const to emit_call_1. - * expr.c (emit_library_call): Pass no_queue to emit_call_1. - Document that no_queue means that the function call is const. - * local-alloc.c (validate_equiv_mem): Don't invalidate memory for - const calls. - * rtl.h: Update comments describing uses of rtl unchanging and - in_struct bits. - (CONST_CALL_P): New macro. True for a call_insn if it is calling - a const function. Uses the unchanging bit. - (SCHED_GROUP_P): New macro. True for an insn if it must be - scheduled together with the previous insn. Uses the in_struct bit. - * sched.c: Rewrite to use new SCHED_GROUP_P macro insead of - RTX_UNCHANGING_P. - (sched_analyze): Rewrite to use new CONST_CALL_P macro. +Fri Nov 27 07:40:54 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * sched.c (schedule_block): Don't schedule a block with a volatile - or traditional asm insn. There is currently no code to correctly - handle dependencies for them. + * combine.c (subst, make_field_assignment, num_sign_bit_copies): + Protect calls to significant_bits; unless we only care if the + result is a power of two, don't call if mode size is wider + than HOST_BITS_PER_WIDE_INT. + (extended_count, simplify_shift_const, simplify_comparison): Likewise. - * combine.c (distribute_links): Fix typo in comment. +Thu Nov 26 10:31:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sat Aug 10 18:42:22 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * gstdarg.h (va_end): #undef before the declaration. - * emit-rtl.c (operand_subword): Replace explicit SImode references - with mode for BITS_PER_WORD bits. + * gstdarg.h (va_arg): Alternative definition for big-endian machines. + * gvarargs.h (va_arg): Copy both definitions from gstdarg.h. -Sat Aug 10 14:17:08 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * limitx.h, limit.y: Test and define _GCC_LIMITS_H_, not _LIMITS_H_. - * calls.c (expand_call): Handle ARGS_GROW_DOWNWARD. + * mips.c (mips_debugger_offset): Don't crash for unknown cases. - * ns32k.md (call_value): Consistently realize function is operand 1. + * c-typeck.c (build_unary_op): Call pedantic_lvalue_warning + for *all* cases of incrementing a cast. - * cccp.c (do_include): Get current dir from nominal_fname. + * libgcc2.c (__udiv_w_sdiv): Cast 1 before shifting by 31. - * expr.c (expand_builtin): Give cmpstr* a target in the mode it wants. - * optabs.c (expand_cmp_insn): Likewise. + * fixincludes (PWDCMD): New variable, set specially for Apollos. + Use it to get the working dir. -Fri Aug 9 09:59:27 1991 Tom Wood (wood at dg-rtp.dg.com) + * combine.c (num_sign_bit_copies): Fix 1-off error in PLUS case. - * dwarfout.c (output_symbols_for_block): Fix typo in iterating over - subblocks. + * c++: Put newline into `for arg do'. - * make-m88k{,dgux,luna}: Eliminate m88k-trace.asm. - * tm-m88k.h, out-m88k.c: Make -mbig-pic a synonym for -fPIC. - Delete -mtrace-function. +Thu Nov 26 08:32:20 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in (CROSS_TOOLS): New variable. - (gnulib1.null, gnulib2.ready): Depend on CROSS_TOOLS. - (gnulib1.null): Use $(AR) $(AR_FLAGS). - * cross-make (CROSS_TOOLS): Define as install-cross-tools. + * expmed.c (struct algorithm): Make coeff a HOST_WIDE_INT. -Fri Aug 9 15:21:16 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * romp.c (output_epilog): Always call output_fpops. - * optabs.c (emit_cmp_insn): Expect cmpstr* to have result operand. - Test the sign of the result we get. - i386.md needs to be changed. +Wed Nov 25 16:24:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Aug 9 11:09:22 1991 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + * Makefile.in (install-fixincludes): Use SYSTEM_HEADER_DIR. - * make-cc1.com: Fix bug where the wrong program was being run to - generate insn-attrtab.c, and, add DEBUG option, so that images can be - linked to run under the debugger. + * m68ksgs.h (ASM_OUTPUT_DOUBLE_OPERAND): Really use the operand VALUE. -Fri Aug 9 06:42:15 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * tree.h (CONSTRUCTOR_NAME_FORMAT): Let config.h override this. + * tower-as.h (CONSTRUCTOR_NAME_FORMAT): Defined. - * genemit.c (gen_split): Add "_fail:" label here too. + * c++: Replace `for arg do' which ash can't handle. - * tree.h (STRIP_NOPS): Define macro here; add CONVERT_EXPR to list - of operations to possibly ignore. - * fold-const.c (STRIP_NOPS): Not here. - * expr.c (strip_nops): Delete function. - (string_constant): Use STRIP_NOPS macro instead of strip_nops function. + * t-next (OTHER_FIXINCLUDES_DIRS): Delete /NextDeveloper/Headers. - * global-alloc.c (expand_preferences): New function. - (global_alloc): Call it. + * apollo68.h (HAVE_ATEXIT): Commented out. -Fri Aug 9 01:19:26 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * regclass.c: Fix typo in use of SECONDARY_INPUT_RELOAD_CLASS. + (copy_cost): Fix typo in use of SECONDARY_OUTPUT_RELOAD_CLASS. - * optabs.c (emit_cmp_insn): Correct typo in spacing. +Wed Nov 25 14:15:50 1992 Jim Wilson (wilson@sphagnum.cygnus.com) - * unroll.c: Correct typo in comment. Document that unrolling a - loop by a multiple of the number of memory accesses is a win. - (unroll_loop): New variable last_loop_insn, points to the last - real insn in the loop, which will either be a jump or a barrier. - Use last_loop_insn instead of assuming that PREV_INSN (loop_end) - is that last real insn in the loop. - Standardize comments printed to loop dump file when we can't - unroll a loop, so that they all start with "Unrolling failure". - No longer assumes that the insn before the backward jump is a - compare unless HAVE_cc0. If not HAVE_cc0, then must copy this - insn, and for loop_iterations == 1 case, can not delete this insn. - If last_loop_insn is not a JUMP_INSN or BARRIER, then do not - unroll the loop. - (precondition_loop_p): Fail if loop_iteration_var is not live - before loop_start. - (copy_loop_body): Rewrite obsolete and misleading comment - concerning the splitting of address givs. - (back_branch_in_range_p): Correct typo in comment. No longer - assumes that PREV_INSN (loop_end) is the backward branch at the - end of the loop. - (fold_rtx_mult_add): Rewrite to use simplify_binary_operation. - (iteration_info): Fail if iteration variable is larger than - HOST_BITS_PER_LONG, or if it does not have an integer mode. - (find_splittable_givs): If an address giv was combined with - another address giv, then we can only split the first giv if the - second was actually reduced. - (loop_iterations): New variable last_loop_insn, use instead of - assuming that the last jump insn if PREV_INSN (loop_end). - Correct typo in comment. + * fixinc.svr4 (regexp.h): Don't add a getrnge declaration if a + conflicting declaration is already present. -Thu Aug 8 17:57:41 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Wed Nov 25 06:47:18 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in (gnulib1.null): Use *_FOR_TARGET variables. - (TARGET_TOOLPREFIX): New variable. - (AR_FOR_TARGET, AR_FOR_TARGET_FLAGS): New variables. - (RANLIB_FOR_TARGET, RANLIB_TEST_FOR_TARGET): New variables. - * cross-make: New file. - * configure: Insert cross-make into Makefile. + * rs6000.h (LINK_LIBGCC_SPECIAL): No longer define. - * tm-m68k.h (LEGITIMIZE_ADDRESS): Copy address before changing it. - (COPY_ONCE): New macro, subroutine for LEGITIMIZE_ADDRESS. + * stmt.c (expand_value_return): Don't emit move between differing + modes when PROMOTE_FUNCTION_RETURN is defined; convert instead. - * toplev.c (main): Accept -g with warning if not supported. + * integrate.c (expand_inline_function): Ensure a REG used as + COPY has REG_USERVAR_P set if LOC does. - * Makefile.in (install-cross-tools): Do nothing unless have gcc-cross. - (gnulib2.ready): Depend on install-cross-tools. + * optabs.c (expand_binop, expand_twoval_binop): If we are going + to fail, remove any load from MEM we did due to -fforce-mem; + if the MEM was volatile, this will cause an extra load. + (expand_complex_abs): Likewise. + Correct use of variable LAST so it doesn't include the load + from MEM (to fix unrelated bug). -Thu Aug 8 14:34:53 1991 Ken Raeburn (raeburn at watch.com) +Tue Nov 24 00:23:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * expr.c (c_strlen): New function; determines strlen of string const. - (expand_builtin, cases BUILT_IN_STRCMP, BUILT_IN_STRCPY): Call it - instead of relying on TREE_STRING_LENGTH. For strcmp, optimize - cases where two lengths are available, if at least one of them is - constant. - (expand_builtin, case BUILT_IN_MEMCMP): If alignment test fails, and - function was really BUILT_IN_STRCMP, delete length parameter before - expanding call. + * i386bsd.h (FUNCTION_PROFILER): Use mcount, not _mcount. - * tree.h (enum built_in_function): Added BUILT_IN_STRLEN. - * c-decl.c (sizet_ftype_string): New variable, for strlen prototype. - (init_decl_processing): Set it, and declare strlen and - __builtin_strlen as built-in functions. Deleted variable `decl' - since it was only assigned to, never read. - * expr.c (expand_builtin, case BUILT_IN_STRLEN): Implement it. + * t-next (OTHER_FIXINCLUDES_DIRS): Leave just /LocalDeveloper/Headers + and /NextDeveloper/Headers. - * cplus-decl.c (sizet_ftype_string, init_decl_processing): Copy - changes from c-decl.c. Also initialize const_string_type_node. +Mon Nov 23 22:06:31 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Aug 8 14:34:53 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * ns32k.md (movsi): Split alt 1 to deprecate xy classes in operand 1. - * c-decl.c (pushdecl): Just warn if trad. extern type is temporary. + * combine.c (make_extraction): When making a low part subreg of a reg, + use inner_mode, not is_mode. -Wed Aug 7 15:16:55 1991 Jim Wilson (wilson at sphagnum.cygnus.com) +Mon Nov 23 21:11:13 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * local-alloc.c (block_alloc): When converting a SCRATCH rtx to a - REG rtx, must clear the `used' bit. + * romp.h (ASM_FILE_START): Stop at first blank in VERSION_STRING. -Tue Aug 6 14:17:09 1991 Jim Wilson (wilson at wombat.gnu.ai.mit.edu) +Mon Nov 23 21:09:20 1992 Tom Wood (wood@dg-rtp.dg.com) - * stmt.c (expand_start_bindings): Fix typo in comment or spacing. - * rtlanal.c (reg_referenced_between_p): Likewise. - (reg_set_last): Likewise. - * loop.c (make_loop_jump): Likewise. - * longlong.h (UDIV_NEEDS_NORMALIZATION): Likewise. - * local-alloc.c (update_equiv_regs): Likewise. - * global-alloc.c (hard_reg_copy_preferences): Likewise. - * fixcpp: Likewise. - * tm-m68k.h (CONDITIONAL_REGISTER_USAGE): Likewise. - * combine.c (reg_significant): Likewise. - * calls.c (expand_call): Likewise. - * cplus-tree.c (build_cplus_new): Likewise. + * fold-const.c (range_test): Convert the constants to the unsigned + type before expanding the range test. - * function.c (fixup_var_refs_insns): When emitting a move insn, - don't put it between a CALL_INSN and its USE insns as this will - break sched and reorg. Instead, put it before the USE insns. +Mon Nov 23 20:54:45 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * combine.c (subst): Convert (ior (ashift A CX) (lshift A CY)) where - CX+CY equals the mode size to (rotate A CX). + Mon Nov 23 13:21:43 1992 Brendan Kehoe (brendan@cygnus.com) - * out-sparc.c (emit_move_sequence): For DImode constants, can not - create a temporary register to hold the high part. - (output_scc_insn): When in a delay slot, verify that NEXT_INSN (insn) - really is the next insn. + * c++ (first): Only shift if $first is no, on the chance we got no + arguments at all. If we didn't get anything, say so (since -lg++ + will fake out the gcc driver into thinking we want to do something). - * sparc.md: Fix support for DImode constants. Two new patterns - added, one for high:DI operators and one for lo_sum:DI operators. - (*extend*): Rework these patterns. Don't accept memory input - operands in the define_expands, as this gives better code. - Delete patterns for combining two loads into a load and move; - these are obsoleted by combiner improvements. - Delete define_splits for splitting these obsolete patterns. - (one_cmplsi2): Can not accept general_operand destinations, only - register destinations. + * cp-decl.c (start_decl): If grokdeclarator returns a + void_type_node, return a NULL_TREE. - * tm-sparc.h (STACK_POINTER_OFFSET): Explain how value is derived, - and compute in terms of another macro. - (STRUCT_VALUE_OFFSET): Explain how value is derived. - (FIRST_PARM_OFFSET): Fix typo in comment. + * cp-typeck.c (build_modify_expr_1): When calling build_opfncall for + `operator=', use make_node to create a plain NOP_EXPR for it to use, + rather than trying to pass NOP_EXPR down hoping it gets there intact. + (build_modify_expr): Ditto. + * cp-parse.y (expr_no_commas): Ditto. + * cp-method.c (build_opfncall): Use TREE_CODE on ARG3 for a + MODIFY_EXPR, since it'll be coming in properly as a tree now. - * expr.c (MOVE_RATIO): Check for HAVE_movstrdi. - (emit_block_move): Add code to use HAVE_movstrdi if present. - (emit_push_insn): Likewise. + Sat Nov 21 02:33:28 1992 Brendan Kehoe (brendan@cygnus.com) - * final.c (final_scan_insn): When insn fails constraint check, - call fatal_insn_not_found instead of just aborting to make - debugging easier. + * cp-init.c (expand_default_init): Clear DECL_REGISTER if we're + going to call a ctor, otherwise we may end up generating bogus and + confusing error messages about taking the addr of something declared + to be `register'. - * tree.c (integer_all_onesp): Rewrite code to avoid shift by - HOST_BITS_PER_INT which is undefined according to ANSI. Also, - abort for precision values not handled, i.e. those greater than - twice times HOST_BITS_PER_INT. + * cp-typeck.c (build_x_function_call): Recognize a ptr-to-method + that is being passed in as a function argument or as part of + a COMPONENT_REF. + (build_indirect_ref): If ERRORSTRING is NULL (it's passed in that + way in many places), then don't try to use it. -Tue Aug 6 14:05:42 1991 James Van Artsdalen (james at bigtex.cactus.org) + Thu Nov 19 01:41:58 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * i386.md (seq,sne): Use setb/setnb mnemonics instead of setc/setnc: - GAS doesn't understand the latter yet. + * cp-dem.c (do_builtin_type): Recognize `w', a wide character, since + it's now a type according to the ANSI X3J16 working paper; output + "wchar_t" for it. + (cplus_demangle): Accept `w' as an integral type. -Tue Aug 6 13:01:53 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + Wed Nov 18 21:29:14 1992 Brendan Kehoe (brendan@cygnus.com) - * Makefile.in (install-common): Use -d, not -f, for tooldir/bin. + * cp-class.c (finish_struct): Re-enable code to cut down on the size + of symbol output, the positives outweigh the negatives. -Tue Aug 6 10:37:02 1991 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + Wed Nov 18 19:51:59 1992 Mike Stump (mrs@cygnus.com) - * make-cc1.com: Replacement file. This new version can build cc1plus - and cc1obj in addition to cc1 (known on VMS systems as gcc-cc1plus.exe, - gcc-cc1obj.exe and gcc-cc1.exe respectively). + * cp-search.c (dfs_walk): Move setting of + vbase_decl_ptr_intermediate out of #ifdef code. -Tue Aug 6 06:30:09 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + Wed Nov 18 18:49:13 1992 Mike Stump (mrs@cygnus.com) - * cse.c (canon_hash): If a REG in an operand is equivalent to a - constant, hash as if we had the constant. - (exp_equiv_p): See if a REG and constant are equivalent. + * cp-decl.c (grokdeclarator): Make wording on error message + stronger. -Tue Aug 6 03:59:16 1991 Ken Raeburn (raeburn at watch.com) + Tue Nov 17 17:46:11 1992 Brendan Kehoe (brendan@cygnus.com) - * cplus-tree.c (make_deep_copy): Handle PARM_DECLs. + * cp-search.c (CHECK_convert_pointer_to_single_level): Don't define. - * cplus-init.c (build_offset_ref): Use DECL_CHAIN, not TREE_CHAIN - when trying to determine if a function is unique. +Mon Nov 23 19:44:38 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cplus-decl.c (start_decl): When constructing a decl tree for a - function template, copy last_function_parms to permanent storage, - and save it as the function argument list. Call build_lang_decl - instead of build_decl, instead of duplicating the extra work it does. - Set `overloaded' flag to 1. Call dont_forget_overload, so the - template decl won't get discarded. - Also deleted some commented-out code. + * mot3300.h (switch_table_difference_label_flag): Define it. - * cplus-pt.c (uses_template_parms, cases VAR_DECL, FUNCTION_DECL): - Give a warning if template parms are only used in places where they - can't be resolved (e.g., return types or global or fixed-class - variable types). - (tsubst): Preserve storage qualifiers on type field, and pass it to - layout_type if it has changed. - (tsubst, case TEMPLATE_TYPE_PARM): Preserve storage qualifiers. - (tsubst, case INTEGER_TYPE): Process min and max fields, if needed. - (tsubst, case FUNCTION_DECL): Process arguments and result fields. - (tsubst, case PARM_DECL): New branch. Handle parm list for - FUNCTION_DECL nodes. - (tsubst, case TREE_LIST): Copy TREE_PARMLIST flag from source. - Don't bother processing TREE_CHAIN field if it is void_type_node. - (tsubst, cases POINTER_TYPE, REFERENCE_TYPE): Preserve storage - qualifiers. - (tsubst, case FUNCTION_TYPE): Eliminate recursion for simple common - cases for values and context fields. Preserve storage qualifiers. - (tsubst, default case): Print node type of correct variable in error - message. - (instantiate_template): Set function_maybepermanent_obstack to - permanent, along with the others, and restore old value after tsubst - call. This permits the PARM_DECL case to work. + * ns32k.md (addsi3): Add & for alternative 1 in operand 0. -Mon Aug 5 22:44:51 1991 Michael Tiemann (tiemann at cygint.cygnus.com) +Mon Nov 23 18:29:27 1992 Jim Wilson (wilson@sphagnum.cygnus.com) - * cplus-tree.h (struct pending_inline): Add new field `deja_vu' to - mark if this pending_inline has already been seen. - * cplus-lex.c (do_pending_inlines): Set DEJA_VU when seen. - * cplus-lex.c (reinit_parse_for_method, cons_up_default_function): - Initialize DEJA_VU to 0. - * cplus-decl2.c (mark_inline_for_output): Don't add DECL to - PENDING_INLINES if it's already been seen. - * cplus-pt.c (instantiate_template): Initialize DEJA_VU to 0. + * genattrtab.c (obstack.h): Include after sys/time.h. - * cplus-method.c (do_inline_function_hair): Change some assignments - to asserts, since they seem to be copying values that are already - there. + * c-decl.c (duplicate_decls): For builtins, create new function + type instead of trying to modify old one. -Mon Aug 5 22:23:34 1991 Michael Meissner (meissner at osf.org) +Mon Nov 23 16:28:36 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * genemit.c (gen_expand, main): Change FAIL macro to be a simple - goto _fail, and initialize the return value to 0 in the prologue. - This avoids a useless warning message that the MIPS C compiler - gives if a return is encountered inside of a do { ... } while (0). + * i386bsd.h (COMMENT_BEGIN): Redefine as #. + (ASM_APP_ON, ASM_APP_OFF): Redefine to use #. -Mon Aug 5 21:28:06 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * combine.c (num_sign_bit_copies): Inhibit x-1 special case + when x is a paradoxical subreg. - * cplus-xref.c (GNU_xref_file): Treat VMS like USG. + * xm-linux.h (malloc, calloc): Definitions deleted. - * optabs.c (expand_binop): In libcall, use actual mode of op1. +Mon Nov 23 11:52:41 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) - * c-typeck.c (build_binary_op_nodefault): - In signed versus unsigned compare warning, note promotions of unsigned. + * pa.md (sh[123]add): Use "nonmemory_operand" instead of + "register_operand" as the predicate for the first operand. - * c-parse.y (simple_if): Allow error instead of lineno_labeled_stmt. - (if_prefix): New subroutine of simple_if. +Mon Nov 23 00:29:27 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * gnulib2.c (__ashldi3, __ashrdi3, __lshldi3, __lshrdi3): - Accept second arg as int, not long long. + * gcc.c (default_compilers): Pass -i* after -U*. -Sun Aug 4 22:31:53 1991 Michael Tiemann (tiemann at cygint.cygnus.com) +Sun Nov 22 17:03:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cplus-except.c (cplus_expand_start_except): Set up variables - `current_exception_name_as_rtx' and `current_exception_parms_as_rtx'. - These variables are used to factor out calls to `expand_assignment' - and allow instead calls to `emit_move_insn', which takes about 1/2x - the compilation time when called directly. - (various places): Use `store_expr' instead of `expand_assignment' - when reasonable. - (cplus_expand_reraise): Take advantage of above changes. - (setup_exception_throw_decl): This is where *_as_rtx variables are - initialized. + * hp320.h (FUNCTION_PROFILER): Complete replacement. - * cplus-input.c (getch): Rewritten slightly to help GNU C optimizer. - * cplus-lex.c (yylex): In IDENTIFIER case, pre-test condition that - `getch' tests, and call `getc' directly when possible. This cuts - calls to `getch' by a factor of 4 for typical C++. + * xm-hp320.h (index, rindex): Defined. - * cplus-class.c (add_virtual_function): Memoize the first 256 - virtual function table index nodes (0x80000001, 0x80000002, etc.). - (finish_struct): Use `size_int' instead of `build_int_2' when we - know the int will not be changed in place (such as the size value of - virtual function tables). - * cplus-decl2.c (finish_table): Same change as for `finish_struct'. - * cplus-tree.c (layout_basetypes): Same change. - * cplus-decl.c (init_decl_processing): Use `size_int' to initialize - `size_zero_node' and `size_one_node'. + * gstddef.h: Fix prev change; test of _STDDEF_H was backwards. - * cplus-tree.h (TREE_OVERLOADS_ARROW): Define this. - * cplus-parse.y (operator_name): Set TREE_OVERLOADS_ARROW where - appropriate. - * cplus-type2.c (build_x_arrow): Use TREE_OVERLOADS_ARROW and - reorganize the logic for better speed. - * cplus-ptree.c (print_lang_type): Print when TREE_OVERLOADS_ARROW. +Sun Nov 22 16:12:38 1992 Tom Wood (wood@dg-rtp.dg.com) -Sun Aug 4 16:44:54 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * toplev.c (W_options): Delete -Wreturn-type, as it is in lang_options. + * c-decl.c (c_decode_option): Decode -Wreturn-type. - * rtlanal.c (reg_referenced_p): Properly handle ASM_OPERANDS. + * c-decl.c, cp-decl.c (pushdecl): Don't inherit DECL_INITIAL when + redeclaring the current function. - * cse.c (cse_insn): When recording this_insn_cc0, build a COMPARE - rtl if SRC is a floating-point value. + * integrate.c (expand_inline_function): Use the original + declaration of the inlined function rather than a redeclaration as + the BLOCK_ABSTRACT_ORIGIN of the body. -Sun Aug 4 16:16:11 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Sat Nov 21 19:54:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * fold-const.c (fold): Don't compute shift with negative count. - * cse.c (simplify_binary_operation): Likewise. + * cccp.c (main): Do -D's and -A's and -U's in order specified. -Sat Aug 3 15:57:55 1991 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + * gcc.c (default_compilers): When running cpp, + move %{D*} and %{U*} (in that order) just before %i. - * tm-vms.h (ASM_OUTPUT_EXTERNAL): Modify to always write the - correct size of the data object, if it is known. - (ASM_OUTPUT_COMMON): Modify to select the const or the data section - as appropriate. This definition shadows a definition in tm-vax.h - (const_section): Change data type to void. +Sat Nov 21 18:24:55 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) -Sat Aug 3 15:02:40 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * xm-pa.h: Remove #ifdef hpux stuff. + (S_ISDIR): Remove. + * xm-pahpux.h: New file, developed from old xm-pa.h. Define + rindex/index. + * pa-hpux7.h, pa-gux7.h: New files. - * integrate.c (save_for_inline_copying): Clear constant pool after - saving constants into the insns. + * configure (hppa1.0-*-hpux*, hppa1.0-*-hpux*): Use xm-pahpux.h. + (hppa1.0-*-hpux7*): New alternative. - * expr.c (expand_builtin, case BUILT_IN_MEMCPY): Ensure items - passed to emit_block_move are valid MEMs. +Sat Nov 21 14:10:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * recog.c (offsettable_address_p): Don't change INTVAL of a CONST_INT - within an address; that CONST_INT is likely shared and may be used - elsewhere in the address. + * spc-sol2.h (SWITCH_TAKES_ARG, LINK_SPEC): New override definitions. - * stmt.c (expand_end_stmt_expr): Don't try to copy result to - REG; it might be BLKmode. + * xm-mot3300.h (index, rindex): Defined. - * reload.c (MATCHES): Don't consider two things equal if they have - side effects. +Sat Nov 21 07:54:53 1992 Michael Meissner (meissner@osf.org) - * combine.c (try_combine): When replacing SET_DEST inside a PARALLEL, - don't replace it with something that has a side effect. + * mips.h (MIPS_VERSION): Set Meissner version number to 29. -Sat Aug 3 13:17:53 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * mips.c (mips_expand_prologue): If profiling, emit an insn to + block other insns from being scheduled before the end of the + prologue. - * c-decl.c (init_decl_processing): - If traditional, omit builtins with names that don't start with _. - Also omit if not optimizing. + * mips.md (blockage): New unspec_volatile insn to prevent other + insns from being scheduled before it. - * Makefile.in (combine.o, emit-rtl.o, expr.o, final.o, tree.o): - Depend on gvarargs.h. +Sat Nov 21 06:03:38 1992 Brendan Kehoe (brendan@cygnus.com) -Fri Aug 2 11:00:10 1991 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + * sdbout.c (template_name_p): New function. + (sdbout_record_type_name): Use it to possibly use the + DECL_ASSEMBLER_NAME instead of DECL_NAME if looking at a template. + (sdbout_symbol): Ditto. - Merge some VMS changes from 1.39 that did not make it to 2.0. - These changes will prohibit GCC from addressing external symbols with - indirect addressing modes, to be compatible with sharable - image libraries under VMS. +Fri Nov 20 15:31:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * tm-vms.h: Define NO_EXTERNAL_INDIRECT_ADDRESS, define - ENCODE_SEGMENT_INFO to make use of hook in varasm.c + * dbxout.c (dbxout_type): Handle need for name of a RECORD_TYPE + when it has none. - * tm-vax.h: Provide alternative definitions of INDIRECTABLE_CONSTANT_P, - INDIRECTABLE_CONSTANT_ADDRESS_P, and INDIRECTABLE_ADDRESS_P, which - are used when NO_EXTERNAL_INDIRECT_ADDRESS is defined. Also, define - INDIRECTABLE_CONSTANT_ADDRESS_P. Modify definitions of - GO_IF_NONINDEXED_ADDRESS, and GO_IF_LEGITIMATE_ADDRESS to work with - either alternative. + * configure (sparc-*-solaris2): Set broken_install. -Fri Aug 2 21:54:55 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * integrate.c (subst_constants): Inhibit special treatment of subreg + when the stuff inside is not a reg. - * loop.c (check_dbra_loop): Fix typo in arg to single_set. + * config/plexus.h (SIZE_TYPE): Fix syntax. - * reload1.c (choose_reload_regs): Verify that all registers in a - group still contain the desired value. - (emit_reload_insns): Set reg_reloaded_contents and reg_reloaded_insn - for all registers in a group. + * gcc.c (do_spec_1): Handle MKTEMP_EACH_FILE. - * combine.c (set_significant): Handle a complex SET_DEST correctly. +Fri Nov 20 15:10:20 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) -Fri Aug 2 17:12:24 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * fixincludes (math.h): Get rid of inconsistent inline definitions + for abs that are present in HP-UX 8.0. - * tree.c (build_array_type): Make pointer type before array type. +Fri Nov 20 10:07:48 1992 Michael Meissner (meissner@osf.org) - * Makefile.in (install-common): Never install gcc if gcc-cross exists. + * collect2.c (FREAD, FWRITE): Undef these macros if they were + defined before including ldfcn.h. -Fri Aug 2 14:58:42 1991 Michael Meissner (meissner at osf.org) +Fri Nov 20 15:38:47 1992 Tom Wood (wood@dg-rtp.dg.com) - * make-mips (CC, OLDCC): Comment why we need to define CC and OLDCC - to get around fixed size table complaints in the MIPS compiler. + * integrate.c (expand_inline_function): Mark all notes as integrated. -Fri Aug 2 14:08:01 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * final.c (final): When producing SDB debugging info, delete line + number notes from inlined functions in other files as well as + duplicate line number notes. - * configure (writing VPATH definition): Avoid temp file. +Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu) - * tm-i860.h (MAX_PARM_BOUNDARY): Defined. - (GO_IF_LEGITIMATE_ADDRESS): Add parens around & operator. - (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Use sp, not r3 (that's fp). - * i860.md (movsf): Don't reload high address part if already loaded. - (cmplesf, cmpledf, cmpgesf, cmpgedf): Set CC_NEGATED; swap operands. - * out-i860.c (strict_single_insn_op_p): - Fix criterion for loading high half. - (output_load_address): #if 0 since not used. + * config.sub: Added machines and operating systems for Emacs + ports, since Emacs now uses config.sub for its configuration. + New manufacturers recognized not to be operating systems: High + Level Hardware (highlevel, defaults to using BSD), Gould + (gould, defaults to System V), Commodore (cbm, defaults to + amigados), National Semiconductor (ns, defaults to Genix), and + Masscomp (masscomp, defaults to RTU). + Recognize the NS1600 (ns16k) and the Clipper (clipper) as + processors. + Recognize these processors with default manufacturers: the + Cydra (cydra) from Cydrome (cydrome), the XPS100 (xps100) from + Honeywell (honeywell), and the Orion (orion) and Orion 1/05 + (orion105) from High Level Hardware (highlevel). + If the ISC operating system is given with a version number, + don't kill it and set it to 2.2; just have it default to 2.2 + if omitted. + Make Irix SGI's default operating system, not SYSV. + Make BSD Encore's default, so it applies for all Encore + machines, not just the umax and mmax abbreviations. + All of Encore's machines use BSD, not just the ns32k-based + ones. Make it the manufacturer's default. + Make it possible to specify an operating system for a Gould + machine. Make sysv the manufacturer's default, so it applies + when we specify the manufacturer as well as when we omit it. + Add Uniplus (uniplus), Iris (iris), Xenix (xenix), and RTU + (rtu) as recognized operating system names. -Fri Aug 2 01:46:39 1991 James Van Artsdalen (james at bigtex.cactus.org) +Wed Nov 18 17:58:18 1992 Karl Berry (karl@cs.umb.edu) - * i386.md (swapdf): Don't condition on TARGET_387. - (bit set/complement/clear insns): Don't use if -m486. - (bit test insns): Don't allow a MEM operand. + * i386iscgas.h (SDB_DEBUGGING_INFO): #undef. + (DBX_DEBUGGING_INFO): #define. + (DBX_OUTPUT_MAIN_SOURCE_{DIRECTORY,FILENAME}): Override dbxout.c. -Thu Aug 1 19:05:31 1991 Matthew Self (mself at next.com) + * bsd386.h (LPREFIX) [NO_UNDERSCORES]: Define as `.L'. - * local-alloc.c (block_alloc): Record regs_live_at for last insn - in basic block too. Otherwise REG_UNUSED regs may overlap hard - regs set in the last insn of the basic block. +Wed Nov 18 13:50:43 1992 Michael Meissner (meissner@osf.org) -Thu Aug 1 19:02:57 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * mips.c (compute_frame_size): Make sure the {gp,fp}+offset fields + are always initialized, even if there were no gp/fp registers + saved. - * emit-rtl.c (gen_rtx): Don't return frame_pointer_rtx (e.g.) if - mode is not Pmode. +Wed Nov 18 09:58:50 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * emit-rtl.c (operand_subword): Don't write explicit divide by 0; - some (broken) compilers give errors for it. + * a29k.md (insv): Remove constraints from operand matching + const_0_operand. - * m68k.md (udivhi3): One pattern had constraint of "d" with - const_int_operand. - (FPA insns): Operand 1's constraints allow memory and constants, but - the predicate is register_operand; change to general_operand. + * regclass.c (regclass): Add missing cast from enum to int. -Thu Aug 1 13:41:47 1991 Michael Tiemann (tiemann at cygint.cygnus.com) +Wed Nov 18 09:40:01 1992 John Hassey (hassey@dg-rtp.dg.com) - * cplus-lex.c (do_pending_inlines, process_next_inline): Zero out - the DECL_PENDING_INLINE_INFO field after processing it. - (store_pending_inline): Don't delay processing a virtual function, - since it needs to be processed in case the virtual function table is - needed. + * core.c (initialize_class): The class may not have an initialize + method. - * cplus-decl2.c (mark_inline_for_output): If DECL has pending inline - info, cause it to be processed. +Wed Nov 18 09:40:01 1992 Wilson Tien (wtien@urbana.mcd.mot.com) - * cplus-pt.c: Removed extraneous declaration of `permanent_obstack'. - Also, added comment for `reinit_parse_for_template'. + * xm-m68kv.h (rindex, index): use strrchr and strchr instead. - * cplus-typeck.c (mark_addressable): For FUNCTION_DECL case, also - test DECL_PENDING_INLINE_INFO. +Wed Nov 18 01:27:37 1992 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) -Thu Aug 1 13:26:12 1991 Michael Meissner (meissner at osf.org) + * config.sub: Added Xenix operating system. - * mips-tfile.c (main): If input file is not specified, use the same - file for both input and output. If renaming output file and rename - fails, copy the file. - (free_multiple_pages): New function. +Tue Nov 17 18:32:01 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * tm-decrose.h (ASM_FINAL_SPEC): Add this to call mips-tfile if - using the MIPS assembler. + * reload.c (combine_reloads): Don't combine with a reload needed + for multiple things. - * tm-mips.h (ASM_FINAL_SPEC): Add this to call mips-tfile unless - using gas. - (TARGET_VERSION): Do not put __DATE__ in the output. +Mon Nov 16 08:52:52 1992 Jeffrey A. Law (law@mole.gnu.ai.mit.edu) - * make-mips (BISONFLAGS): Add -l to bison flags because the MIPS - based compilers have problems with #line. - (CC): Define in terms of $(OLDCC) so the USE_HOST macros work. - (EXTRA_PASSES): Build mips-tfile and mips-tdump. - (Makefile): Explicitly use sh to invoke configure. + * pa.c (output_move_double): Handle indirect stores to memory + via an auto-incremented/auto-decremented register in the same + manner in which loads are handled. - * make-decrose (EXTRA_PASSES): Build collect. - (Makefile): Explicitly use sh to invoke configure. +Thu Nov 12 21:02:59 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) -Thu Aug 1 12:22:17 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + Cygnus<-->FSF merge. - * cccp.c (directive_table, node_type): Add #include_next. - (do_include): Support #include_next. - (finclude): New arg DIRPTR. All callers changed. + Thu Nov 12 15:02:53 1992 Brendan Kehoe (brendan@cygnus.com) - * reload1.c (reload_as_needed): Check live_known before accessing - basic_block_head. + * tree.h (value_member, purpose_member, binfo_member, + tree_int_cst_equal, tree_int_cst_lt, index_type_equal, + expand_decl_init): Add decls with prototypes. -Thu Aug 1 11:47:37 1991 Michael Meissner (meissner at osf.org) + * cp-decl.c (finish_decl): Don't try to use TYPE if it's an + error_mark_node. - * gcc.c (compilers): Add new spec %A, which expands ASM_FINAL_SPEC. - This option is added after all other arguments to the assembler. It - is for the MIPS port to run a cleanup program after the assembler - finishes, by having ASM_FINAL_SPEC be "\n mips-tfile args..." - (set_spec): If name is 'asm_final', set the asm_final_spec. - (process_command): print out asm_final_spec for -dumpspecs. - (do_spec_1): Expand %A to be ASM_FINAL_SPEC. - (validate_all_switches): look at any switches handled in - ASM_FINAL_SPEC. + * cp-decl.c (sigsegv): Set to the default handler before calling + anything, so we can avoid possible infinite loops. Call + my_friendly_abort instead of just error(). + * cp-type2.c (my_friendly_abort): If I is 0, it's coming from sigsegv. + + * cp-type2.c (my_friendly_assert): New function. + * cp-call.c, cp-class.c, cp-class.h, cp-cvt.c, cp-decl.c, cp-decl.h, + cp-decl2.c, cp-dem.c, cp-edsel.c, cp-except.c, cp-expr.c, cp-gc.c, + cp-hash.h, cp-init.c, cp-input.c, cp-lex.c, cp-lex.h, cp-method.c, + cp-pt.c, cp-search.c, cp-spew.c, cp-tree.c, cp-tree.h, cp-type2.c, + cp-typeck.c, cp-xref.c, cp-parse.y: Don't include assert.h, and use + the new function `my_friendly_assert' instead of the `assert' macro. + + Wed Nov 11 22:14:51 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + + * tree.h (perm_calloc): Add decl. + * cp-parse.y (except_stmts): Declare return type of get_insns, + since we don't (can't) include rtl.h. + * cp-tree.c (TYPE_HASH): Use HOST_WIDE_INT instead of int when + casting pointers to integers. + (ld_cmp): Likewise. + * cp-call.c (build_method_call): Likewise. + * cp-class.c (finish_struct_methods): Likewise. + * cp-method.c (build_overload_value): Add decl of index. + (build_opfncall): Cast to HOST_WIDE_INT, not int. + * cp-search.c (get_binfo): Likewise. + (get_base_distance): Likewise. + (breadth_first_search): Likewise. Also declare to return + HOST_WIDE_INT, not int. + + Wed Nov 11 14:34:25 1992 Mike Stump (mrs@rtl.cygnus.com) + + Thu Nov 5 15:58:38 1992 Tim Moore (moore at defmacro.cs.utah.edu) + + * cp-decl.c (duplicate_decls): Round to obstack alignment when + testing if newdecl is at the top of the permanent obstack. + + Wed Nov 11 13:56:18 1992 Mike Stump (mrs@rtl.cygnus.com) + + * cp-search.c (build_vbase_vtables_init): Make sure external virtual + tables are declared on machines that need the declaration by calling + assemble_external. + + Wed Nov 11 12:51:44 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-decl2.c (grokfield): If the init field is really a list with + just an error_mark_node, then it wasn't a real initialization, so + don't treat it like one. -Thu Aug 1 07:42:37 1991 Tom Wood (wood at dg-rtp.dg.com) + Tue Nov 10 16:21:20 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-init.c (build_new): If arg 1 of an array reference is an + error_mark, then just pretend that there were 0 elements. - * dwarfout.c (element_list_attribute): AT_element_list is a BLOCK4. + Tue Nov 10 13:23:30 1992 Brendan Kehoe (brendan@lisa.cygnus.com) -Wed Jul 31 17:42:40 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cp-typeck.c (build_x_function_call): If the type of FUNCTION is an + error_mark, don't bother checking its lang-specific info. - * jump.c (jump_optimize): In "if (...) x = 1; else {...} if (x) ...": - Don't assume that SYMBOL_REFs are always non-zero. - Handle operations other than EQ and NE. - Handle conditional RETURN properly. + Tue Nov 10 12:38:36 1992 Mike Stump (mrs@rtl.cygnus.com) - * out-a29k.c (print_operand, case 'e'): When writing LXn, use number - of last label in function. - (output_prolog): Fix missing arg in ADD in a29k_first_epilogue_insn. + * cp-decl.c (decls_match): Avoid core dumping when TREE_TYPE is + NULL_TREE, as is the case when olddecl is a TEMPLATE_DECL. -Wed Jul 31 13:41:37 1991 Tom Wood (wood at dg-rtp.dg.com) + Tue Nov 10 11:03:36 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-decl.c (pushdecl_top_level): Disable assert for now; it's + always acted correctly. + + Mon Nov 9 12:04:27 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * sdbout.c (sdbout_parms): Don't crash if MEM address is a MEM. + * cp-parse.y (try_for_typename): Deleted rule. + (scoped_id): Don't use it. -Wed Jul 31 12:36:37 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + Fri Nov 6 18:07:37 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * fixincludes: New variable INCLUDES specifies input dir. + * cp-init.c (expand_aggr_init): If INIT is 0, don't bother trying to + play with its type. - * Makefile.in (install-common): Add dummy elt to EXTRA_PASSES. - Fix typo in test. + Thu Nov 5 16:52:37 1992 Chip Salzenberg (chip@tct.com) - * Makefile.in (install-cross-tools): Use /. in args to test -d. - (cccp.o, dbxout.o, c-plus-*): Added missing dependencies. + * cp-decl.c (finish_decl): Set TREE_STATIC, TREE_PUBLIC and + DECL_EXTERNAL correctly for use with #pragma interface. - * c-common.c: Don't include rtl.h--that was unmodular. + Fri Nov 6 10:07:01 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * make-i386v (INSTALL): Define this. + * cp-class.c (finish_struct): Don't try to work with a field that + got a bogus type. -Wed Jul 31 07:38:12 1991 Tom Wood (wood at dg-rtp.dg.com) + * cp-method.c (build_overload_value): Don't call debug_tree! - * Makefile.in (LIB2FUNCS_EXTRA): Extra C and assembler files for - gnulib2. - * make-m88k*: Put the assembler files in gnulib2 and eliminate use - of gnulib1. + * cp-call.c (build_method_call): If processing a default argument + that calls a ctor for its default value, use INSTANCE_PTR for the + parm list, discarding what we knew before. -Tue Jul 30 20:21:41 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * cp-decl.c (grokdeclarator): If initializing a const member and + acting pedantic, then do make it an error. - * stddef.h (WCHAR_T): - Test _WCHAR_T_, __WCHAR_T, _T_WCHAR_ and ___int_wchar_t_h. + * cp-decl2.c (warn_traditional): New variable. + (lang_decode_option): Use it for -Wtraditional and -Wno-traditional. + * cp-tree.h (warn_traditional): Add decl. + * cp-lex.c (readescape): For x, avoid overflow when shifting in if. + Warn for \a and \x if warn_traditional; pass through + the escaped x and a if -traditional. Support \e like \E; for both, + pedwarn about ANSI C. - * tm-i386isc.h (RETURN_POPS_ARGS): Caller pops the struct value addr. + * cp-call.c (find_scoped_type): Delete arg TAGS; instead, compute it + inside from TYPE. If TAGS is null, don't return immediately, since + we need to look for TYPE_DECLs. + (resolve_scope_to_name): Call find_scoped_type without replicating + the tags. - * cccp.c (default_include): Search local dir, system, then standard. + Thu Nov 5 17:53:32 1992 Brendan Kehoe (brendan@cygnus.com) - * Makefile.in (USE_HOST_MALLOC, USE_HOST_OBSTACK): - Don't depend on which C compiler is in use. + * cp-decl.c (grokdeclarator): Constant class members can be + initialized. - * reload1.c (reload): Use pseudoreg to compute spill_indirect_levels. + Thu Nov 5 17:11:30 1992 Mike Stump (mrs@cygnus.com) - * c-decl.c (start_function): Don't take arg types from builtin. - (duplicate_decls): Cancel builtin function if new arg types differ. - Don't take arg types from buiiltin. + Thu Nov 5 19:48:17 1992 Niklas Hallqvist (niklas@appli.se) -Tue Jul 30 18:45:39 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cp-pt.c (instantiate_class_template): Types are used in later + processing, so they must go into the permanent obstack. - * reload.c (decompose): Don't blow up for constants; they are safe. + Thu Nov 5 13:02:56 1992 Brendan Kehoe (brendan@lisa.cygnus.com) -Tue Jul 30 15:49:34 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * cp-decl.c (grokdeclarator): Don't allow members to be initialized + in the class declaration. - * dbxout.c (dbxout_parms): Don't crash if MEM address is a MEM. + * cp-decl2.c (finish_file): Set the DECL_CLASS_CONTEXT on a function + that's a file-scope set of ctors/dtors for global variables, so + is_friend will see things the way they should be seen. - * Makefile.in (install-common): Don't lose if EXTRA_PASSES is empty. - Don't install gcc if gcc-cross exists. - (install-cross-tools): Fix typos. - Avoid doing cd -- use absolute file names. - (gcc-cross.o): Rule deleted. - (gcc-cross): Build gcc, then copy it. + * cp-call.c (find_scoped_type): New function. + (resolve_scope_to_name): Use it to check for names that might be in + base classes. -Tue Jul 30 15:37:25 1991 Michael Tiemann (tiemann at cygint.cygnus.com) + Wed Nov 4 00:43:15 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * cplus-init.c (build_vec_delete): Use `size_binop' when building up - the array end boundary. + * cp-parse.y (db_yyerror): Deleted fn. + (yyprint, yyerror, init_parse, yyhook, reduce_cmp, token_cmp, + print_parse_statistics,set_yydebug, debug_yytranslate): Moved to + cp-lex.c. + (reduce_count, token_count): Ditto. + (current_declspecs): Made static. -Tue Jul 30 10:03:54 1991 Michael Meissner (meissner at osf.org) + * cp-typeck.c (build_c_cast): Warn if casting between a pointer and + an integer whose sizes differ. - * tm-mips.h (DOLLARS_IN_IDENTIFIERS): Define to be 1. + * cp-parse.y (unary_expr): Finish making new with placement work; + use the rule `new' instead of the token `NEW' when parsing it. -Mon Jul 29 18:56:33 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + Tue Nov 3 02:16:47 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * reload.c (refers_to_regno_for_reload_p): New function. - (push_reload, find_dummy_reload, immune_p): Use - refers_to_regno_for_reload_p instead of refers_to_regno_p. + * cp-typeck.c (c_expand_return): Avoid referencing DECL_NAME if it's + null when checking for a ref to or the addr of a local variable. - * cse.c (fold_rtx): Don't make shifts wider than object. + * cp-search.c (dfs_pushdecls): Don't try to use the context of a + field which has none at the time. -Mon Jul 29 17:17:55 1991 Michael Collison (collison at osf.org) + * cp-decl.c (redeclaration_error_message): Don't complain about + redefinition of a function if it's a definition of an abstract + virtual function. + (duplicate_decls): For an abstract virtual, don't use the old RTL + from abort when creating the RTL for the newdecl. - * configure: Added entry for mmax-osfrose (Multimax with ns32k - running OSF/1). + Tue Nov 3 00:15:44 1992 Brendan Kehoe (brendan@cygnus.com) -Mon Jul 29 14:51:32 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * cp-decl.c (grokdeclarator): For `inline', `unsigned', and `signed', + see them as types, not as storage class specs, when looking for more + than one storage class. - * Makefile.in (SYMLINK): New variable. - (install-cross-tools): Make symlinks if possible. - Otherwise, for executables, indirect to tooldir with a shell script. - (install-native): Install gcc-cross as bin/gcc under tooldir. + * cp-lex.c (readescape): New arg ignore_ptr. + (real_yylex): Pass new arg, handle result that comes back. - * Makefile.in (USE_HOST_ALLOCA): - Generate nothing if don't need separate alloca. - (USE_HOST_OBSTACK, USE_HOST_MALLOC): New variables. - (HOST_LIBS): Use them. - (HOST_PREFIX_1): Make a dummy file with this name, - for cross-compiling for a machine that needs no separate alloca, etc. + * cp-decl.c (WCHAR_TYPE_SIZE): Deleted; never used. - * c-parse.y (stmts): Accept either labels or unlabeled statements. - (lineno_labeled_stmt): New nonterminals. - (stmt_or_label, lineno_stmt_or_label): New nonterminals. - (stmts): Use lineno_stmt_or_label. - (stmt): Don't allow labels at this level. - Use lineno_labeled_stmt in place of lineno_stmt. + Mon Nov 2 10:23:52 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * cccp.c (default_include): Get rid of extra #endif. - Use CROSS_COMPILE, not CROSS. + * cp-lex.c (real_yylex): Let skip_white_space handle \r. - * make-i386mach: New file. - * configure (i386-mach): Use that file. + * cp-parse.y (parmlist): Warn on a decl `foo (...)', without a first + argument. -Mon Jul 29 09:10:13 1991 Tom Wood (wood at dg-rtp.dg.com) + * cp-type2.c (build_functional_cast): If expr_as_ctor's argument is + a SAVE_EXPR, don't wipe out the argument. - * tm-m88kluna.h (SYSTEM_INCLUDE_DIR): Define (also MACH). + * cp-call.c (build_method_call): Only complain about not having an + object for a called method if the method is non-static. -Sun Jul 28 16:15:39 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + Sun Nov 1 16:50:14 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * cccp.c (default_include): Use SYSTEM_INCLUDE_DIR. - Delete special cases for MACH, UNOS. - * tm-i386mach.h, tm-sun3mach.h, tm-crds.h (SYSTEM_INCLUDE_DIR): Define. + * cp-decl2.c (warn_char_subscripts): Declare. + (lang_decode_option): Handle -Wchar-subscripts. + * cp-typeck.c (build_array_ref): If the type of either the array or + its index is an error_mark_node, then return one. Add code to see + if the index is a character (add warning), then do the default + promotions. Don't warn if it's a register array. Make a ref + volatile if the array is volatile. + * cp-tree.h (warn_char_subscripts): Add decl. + + * cp-typeck.c (common_type): If either type is nonsense (an + error_mark), use the other type. + + Thu Oct 29 18:39:50 1992 Mike Stump (mrs@cygnus.com) + + * cp-decl.c (grokdeclarator): Fix problem introduce by me on Oct 22 + 17:41:13. Put back call to build_offset_type that I took out, as it + is not wrong, as the comment for build_offset_type had led me to + believe. + + Thu Oct 29 17:30:12 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-cvt.c: Delete block-level extern decls; include flags.h instead. + * cp-tree.h (flag_int_enum_equivalence): Declare here. + * cp-call.c: Not here. + + * Makefile.in (stamp-cp-parse): There are now only 29 shift/reduce + conflicts, because of the removed wrapper stuff. + + * cp-lex.c (lastiddecl, ridpointers): Define here. + (NORID): Don't define here. + * cp-lex.h (NORID): Define here instead. + (ridpointers, lastiddecl, token_buffer, looking_for_typename): Ditto. + (make_pointer_declarator, make_reference_declarator, + reinit_parse_for_function, reinit_parse_for_method, yylex): Likewise. + * cp-parse.y: Don't define any of them in here. + + * cp-typeck.c (commonparms): Call tree_cons with NULL_TREEs, not 0s. + (convert_arguments): Likewise. + Throughout the file, say `ANSI C++ forbids', not `ANSI C forbids'. + * cp-lex.c, cp-type2.c: Likewise. + + Remove wrapper functionality from the compiler. + * cp-call.c (build_method_call): Delete wrap and wrap_type. + Delete code that used them. Don't set err_name to "wrapper", since + wrapper_name doesn't exist anymore. + * cp-class.c (finish_base_struct): Don't worry about TYPE_WRAP_TYPE. + * cp-decl.c (grokfndecl): Delete code for WRAPPER_EXPR and + ANTI_WRAPPER_EXPR. + (grokdeclarator): Likewise. Don't set TREE_HAS_WRAPPER_PRED. + * cp-decl2.c (grokclassfn): Likewise. + (check_classfn): Likewise. + * cp-init.c (get_member_function): Don't check TYPE_NEEDS_WRAPPER. + * cp-lex.c (real_yylex): Don't check WRAPPER_OR_ANTI_WRAPPER_NAME_P. + * cp-method.c (wrapper_name, wrapper_pred_name, anti_wrapper_name): + Deleted variables. + (init_method): Don't do any setup for *WRAPPER_*. + (hack_wrapper): Deleted function. + * cp-parse.y (wrapper): Deleted rule. + (identifier_or_opname): Deleted all wrapper predicates. + (notype_declarator): Deleted predicates LEFT_RIGHT for wrappers. + * cp-ptree.c (print_lang_type): Deleted message for printing "wrapper". + * cp-search.c (get_wrapper): Deleted fn. + * cp-tree.h (struct lang_type): Deleted has_wrapper_pred and + wrap_type members. + (build_wrapper, hack_wrapper, get_wrapper): Deleted decls. + (wrapper_name, wrapper_pred_name, anti_wrapper_name): Deleted decls. + (TYPE_WRAP_TYPE, TYPE_HAS_WRAPPER, TYPE_NEEDS_WRAPPER, + TYPE_HAS_WRAPPER_PRED, WRAPPER_DECL_FORMAT, WRAPPER_PRED_DECL_FORMAT, + ANTI_WRAPPER_DECL_FORMAT, WRAPPER_NAME_FORMAT, + WRAPPER_PRED_NAME_FORMAT, ANTI_WRAPPER_NAME_FORMAT, + WRAPPER_NAME_P, WRAPPER_PRED_NAME_P, ANTI_WRAPPER_NAME_P, + WRAPPER_OR_ANTI_WRAPPER_NAME_P): Deleted. + (enum overload_flags): Deleted WRAPPER_FLAG, WRAPPER_PRED_FLAG, + and ANTI_WRAPPER_FLAG tags. + * cp-typeck.c (build_function_call_real): Delete wrapper code. + (unary_complex_lvalue): Don't check TYPE_NEEDS_WRAPPER. + * stmt.c (warn_if_unused_value): Don't check *WRAPPER_EXPR. + * tree.def (WRAPPER_EXPR, ANTI_WRAPPER_EXPR): Deleted. + + Wed Oct 28 15:38:44 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-cvt.c (convert_to_reference): New arguments FNDECL, PARMNUM, + and ERRTYPE. Use them to give warnings about const and volatile + references being used incorrectly. Call itself with dummy arguments + where appropriate. + (convert): Call convert_to_reference with dummy args. + (convert_force): Likewise. + * cp-typeck.c (warn_for_assignment): Remove static declaration, + cp-cvt.c needs to see it now. + (convert_for_initialization): Call convert_to_reference with fndecl, + parmnum, and errtype. + + Tue Oct 27 17:38:18 1992 Mike Stump (mrs@cygnus.com) + + * cp-decl.c (grokdeclarator): Fix problem introduce by me on Oct 22 + 17:41:13. Only output error or warning message about extra + qualifiers when we are inside a class declaration. + + Tue Oct 27 16:21:41 1992 Mike Stump (mrs@cygnus.com) + + * cp-tree.h (THIS_NAME_P): Fix to reflect September 1 change in + THIS_NAME. + + Tue Oct 27 12:35:59 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-parse.y (operator_name): Remove check for top-level operator + decl. + * cp-decl.c (grokdeclarator): Complain here about type conversion + operators that aren't declared as members of classes. + + * cp-decl.c (grokdeclarator): Only call do_friend on a friend if + decl's non-zero. + + Tue Oct 27 09:31:08 1992 Mike Stump (mrs@cygnus.com) + + * cp-lex.c (do_identifier): Add missing fourth argument to + lookup_field. + + Mon Oct 26 15:15:39 1992 Mike Stump (mrs@cygnus.com) + + * cp-cvt.c (convert_to_reference): Check for ambiguities + between constructor and conversion operators a bit harder. + + Sat Oct 24 19:34:39 1992 Brendan Kehoe (brendan@cygnus.com) + + Mon Sep 14 14:36:53 1992 Chip Salzenberg (chip@tct.com) + + cp-decl.c (poplevel): If apparently nested inline function has + DECL_ABSTRACT_ORIGIN, don't output it; propagate TREE_ADDRESSABLE. + (pushdecl): When copying inline details into an extern decl, + copy DECL_RESULT, TREE_ASM_WRITTEN. Set DECL_ABSTRACT_ORIGIN. + + Fri Oct 23 18:52:19 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-decl.c (poplevel): Use error_with_decl on an unused label, so + its line number comes out correct. + + Thu Oct 22 18:31:50 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-parse.y (operator_name): If a type conversion operator is + defined at the top level, don't crash, complain. + + Thu Oct 22 17:41:13 1992 Mike Stump (mrs@cygnus.com) + + * cp-decl.c (grokdeclarator): Return void_type_node instead of + NULL_TREE on errors, to forestall another error message. Check for + redundant or illegal qualification on class members. + + Thu Oct 22 13:15:57 1992 Mike Stump (mrs@cygnus.com) + + * cp-tree.h (ANON_AGGRNAME_P): Check the second charater as well, as + it could be $vtbl_ptr_type, and not an ANON_AGGRNAME. + + Wed Oct 21 19:31:36 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-call.c (build_method_call): Initialize b_or_d to 0. + + * cp-typeck.c (compparms): Delete dead code for returning if either + TREE_PURPOSE is true when t1 and t2 are both 0. + + * cp-parse.y (object): Only pass one argument into build_x_arrow. + + * cp-parse.y (unary_expr): Add code to parse `&&label'. + (stmt): Expand computed gotos. + + * cp-method.c (fndecl_as_string): Say it's static before giving its + type, it looks better (and matches how you'd declare it). + + Wed Oct 21 16:22:43 1992 Mike Stump (mrs@cygnus.com) + + * cp-decl.c (start_decl): return NULL_TREE, not error_mark_node to + signify error. + * cp-decl2.c (cplus_decl_attributes): New function. Don't call + decl_attributes if the first argument is NULL_TREE. + * cp-tree.h (cplus_decl_attributes): Declare new function. + * cp-parse.y: Changed all calls to decl_attributes into calls to + cplus_decl_attributes, as all calls may pass NULL_TREE in the first + argument. - * cccp.c (default_include): Use CROSS_INCLUDE_DIR if cross-compiler. - * Makefile.in (cccp.o): Pass a definition for CROSS_INCLUDE_DIR. + Wed Oct 21 11:40:35 1992 Mike Stump (mrs@cygnus.com) - * Makefile.in (gnulib1.null): New target. - (install-common, install-common-headers, install-cross-tools): - (install-cross-rest, install-float-h-cross): New targets. - (install-float-h): New target. - (install-cross, install-headers): Use them. - (tooldir): New variable. - (EXTRA_PASSES): New variable. + * cp-call.c (build_method_call): Avoid an abort on parse errors by + changing an assert into a conditional my_friendly_abort. - * sdbout.c (plain_type_1): Don't record the size in sdb_type_size - unless a tag is output. + Tue Oct 20 16:52:32 1992 Mike Stump (mrs@cygnus.com) - * Makefile.in (install-cross): Install specs by copying. - Install either gcc or gcc-cross, whichever exists. - (native): Remove gcc from deps. - (start.encap): Add gcc to deps. - (all.cross): Add gcc-cross to deps. - (gcc-cross): Like gcc rule except different output file name. - (gcc-cross.o): Likewise. + * cp-tree.h (TYPE_ASSEMBLER_NAME_STRING, + TYPE_ASSEMBLER_NAME_LENGTH): New macros. + * cp-search.c (build_type_pathname): Use new macros. + * cp-decl.c (pushtag): Set DECL_ASSEMBLER_NAME for TYPE_DECLs with + build_overload_name so that assembler names for template type things + are like __vt$t1X1Zi$1T.4 and not __vt$X$T.4. + * cp-decl.c (pushdecl): Since the rest of the compiler wants to use + DECL_NAME for TYPE_DECLs, use that instead of DECL_ASSEMBLER_NAME. + + Tue Oct 20 11:29:50 1992 Mike Stump (mrs@cygnus.com) + + Wed Oct 7 16:01:55 1992 Chip Salzenberg (chip@tct.com) + + [ changes propagated from 921005 snapshot ] + * cp-lex.c (readescape): No warning if digits in \x are all 0's. + + Fri Oct 9 15:18:19 1992 Brendan Kehoe (brendan@cygnus.com) + + * cp-decl.c (duplicate_decls): Only find out if olddecl is a + friend after we know it's not a TREE_LIST. + + Wed Oct 7 16:04:34 1992 Mike Stump (mrs@cygnus.com) + + Wed Oct 7 12:26:07 PDT 1992 Ron Guilmette (rfg at netcom.com) + + * cp-lex.c (readescape): Permit \? as an escape sequence. + + Tue Oct 6 17:54:09 1992 Mike Stump (mrs@cygnus.com) + + Major MI revamp. + + * cp-search.c (get_binfo, find_base_distance): Fix comments. + Disable incorrect code that would incorrectly find ambiguities where + none existed. Add some code to find all ambiguities. + * cp-search.c (get_binfo2_recursive, get_binfo2): Added to find + ambiguities. + + * cp-search.c (convert_pointer_to_single_level): Added so that one + can convert pointer unambiguously to an immediate base class + pointer. + + * cp-search.c (dfs_walk): Added comments. Fixed to keep track of + how it walks the inheritance hierarchy so that when we get down to + the bottom, we have a pointer to what we want. + * cp-search.c (dfs_find_vbases): Changed to use new intermediate + pointer instead of incorrectly trying to convert at the bottom. + * cp-search.c (init_vbase_pointers): Changed to set up new + intermediate pointer. + + * cp-*.c: Rename child -> base_binfo, child_child -> + base_base_binfo, child_binfos -> base_binfos, .*_child -> + .*_base_binfo. Rename DERIVED_FROM_P to UNIQUELY_DERIVED_FROM_P. + + Tue Oct 6 14:51:13 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + + * cp-spew.c (yylex_ctr): Make unsigned. + * cp-decl2.c (spew_debug): Add extern reference. + (lang_decode_option): New option `-spew-debug', so masochists can + use it when they need to. + + Mon Oct 5 15:47:35 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + + Implement protected baseclasses. + * cp-class.c (finish_base_struct): Set TREE_VIA_PROTECTED. + (finish_struct_methods): Check for either public or protected + members to kick out of the "all members are private" test. + * cp-decl.c (xref_tag): Set TREE_VIA_PROTECTED appropriately. + * cp-parse.y (base_class_visibility_list): Remove code about + `protected' visibility not being implemented. + * cp-pt.c (tsubst): Set via_protected and call hash_tree_cons + with it as necessary. + * cp-search.c (compute_visibility): Set visibility if protected. + Return the appropriate visibility when resolving a field. + (lookup_field): Set TREE_VIA_PROTECTED for btypes from its child. + When complaining about a member being protected, differentiate when + it's from a protected base class (could be a public member in the + base). + (lookup_fnfields): Set TREE_VIA_PROTECTED. + (get_baselinks): Pass TREE_VIA_PROTECTED into hash_tree_cons. + Also pass a 0 when necessary. + * cp-tree.c (propagate_binfo_offsets): Set TREE_VIA_PROTECTED. + (layout_vbasetypes): Ditto. + (layout_basetypes): Ditto. + (list_hash_lookup): Check TREE_VIA_PROTECTED when looking at an + incomplete basetype. + (hash_tree_cons): New argument `via_protected'. Set TREE_VIA_PROTECTED + when necessary. + (list_hash_lookup_or_cons): Check TREE_VIA_PROTECTED when making + sure a hash list is sane. + (make_binfo): Set TREE_VIA_PROTECTED for the new child. - * Makefile.in (EXTRA_PASSES): New variable. - Used for machines which have extra passes to run. - (install-cross): Install those programs. - (native): Compile them. + Mon Oct 5 13:27:44 1992 Mike Stump (mrs@cygnus.com) - * c-parse.y: Support `foo:' before a close brace. - (label): New nonterminal. - (stmt): Use that. Treat a label as a statement in itself. + * cp-init.c (maybe_adjust_addr_for_delete): Make sure we don't + evaluate the addr twice if it has side effects. - * Makefile.in (gnulib*.portable): Rules deleted. - (GNULIB1, GNULIB2): Point directly at gnulib1, gnulib2. - (gnulib): Use GNULIB1, GNULIB2 directly both as deps - and to specify the input files. - (gnulib1.conv): Renamed from gnulib1.convert; no longer phony. - (gnulib*.target): Rules deleted. - make-hp9k320 (GNULIB1): Use gnulib1.conv. - (LIBCONVERT): Override. + Mon Oct 5 13:05:37 1992 Mike Stump (mrs@cygnus.com) - * move-if-change: Use -f with rm and mv. + * cp-init.c (build_vec_delete): Make sure we don't evaluate the base + expression twice if it has side effects. - * Makefile.in (gnulib2.ready): No longer phony. + Mon Oct 5 12:38:35 1992 Brendan Kehoe (brendan@rtl.cygnus.com) -Sat Jul 27 13:03:50 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * cp-decl.c (grokdeclarator): Issue a warning or error if we're + being ANSI-careful when they do `extern inline'. + (flag_ansi): Add extern decl. - * combine.c (can_combine_p): Don't use NEXT_INSN, in previous change. + Mon Oct 5 12:34:32 1992 Mike Stump (mrs@cygnus.com) - * Makefile.in (class-c, objective-c): New targets. + * cp-class.c (finish_struct): Don't give an error if an enumeration + type is stuck in a bit-field, as it is legal c++. - * tm-i386.h (ASM_OUTPUT_ALIGN_CODE): Define it. - (ASM_OUTPUT_LOOP_ALIGN): Use ASM_OUTPUT_ALIGN_CODE. - * tm-i386gas.h, tm-i386vgas.h (ASM_OUTPUT_ALIGN_CODE): Override it. - (ASM_OUTPUT_LOOP_ALIGN): Definition deleted. + Mon Oct 5 11:43:09 1992 Mike Stump (mrs@cygnus.com) - * fixincludes (memvar.h): Make two defs of CAT, one ANSI and one trad. + Mon Sep 14 16:39:10 1992 Chip Salzenberg (chip@tct.com) - * expmed.c (emit_store_flag): Set ICODE only after CODE is right. + * cp-cvt.c (convert_to_integer): Don't pass truncation thru lshift + if shift count >= width of narrower type. Instead, just use 0. -Sat Jul 27 06:45:32 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + Fri Oct 2 13:21:40 1992 Ken Raeburn (raeburn@kyriath.cygnus.com) - * flow.c (insn_dead_p): Don't clobber NEEDED while ensuring that we - don't delete insns that set the frame or arg pointer. + * cp-decl.c (start_function): Reinstate error check for missing + semicolon erroneously removed. - * flow.c (flow_analysis, find_basic_blocks, propagate_block): - Use GET_RTX_CLASS. - -Fri Jul 26 08:18:08 1991 Tom Wood (wood at dg-rtp.dg.com) +Thu Nov 12 17:37:23 1992 Michael Meissner (meissner@osf.org) - * sdbout.c: Use for USG and provide a definition of - T_VOID if none existed. Use ./gsyms.h for non-USG systems. - * gsyms.h: Renamed from syms.h. + * mips.md (movdf_internal): Split movdf insn into two -- one for + normal use, and one for -msoft-float, and don't prefer FPU + registers in the -msoft-float case. + (movsf_internal): Ditto for movsf. -Fri Jul 26 22:47:53 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Thu Nov 12 07:30:17 1992 James Van Artsdalen (james at bigtex.cactus.org) - * cccp.c (macroexpand): Fix error message syntax. + * i386.h (HARD_REGNO_MODE_OK): Restrict MODE_INT from FP regs only. - * Makefile.in (gnulib2.target): Add semicolon. + * i386.md (floatMN2 recognizers): Don't omit mode on a + match_operand that might be reloaded. Split into separate + patterns for each mode. + (zero_extract test): Disable for now. -Fri Jul 26 18:17:36 1991 Michael Meissner (meissner at pogo.gnu.ai.mit.edu) + * i386.c (float_op): Delete - no longer used. - * make-mips (CC): Bump -Wf,-XNg option to 1500 to allow the MIPS - compiler to compile cc1plus. +Wed Nov 11 11:55:22 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + + * combine.c (simplify_comparison, case ASHIFTRT): mode_for_size + returns BLKmode on error, not VOIDmode. -Fri Jul 26 14:42:35 1991 Tom Wood (wood at dg-rtp.dg.com) + * romp.md (reload_outdi): Write as proper PARALLEL. - * c-parse.y (yylex): Don't use mbtowc to translate L'\0'. +Wed Nov 11 01:06:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * tm-m88ksvr4.h (CPP_SPEC): Specify SVR4 pre-assertions. + * toplev.c (lang_options): Change +e... to -+e... -Fri Jul 26 09:53:53 1991 Michael Meissner (meissner at pogo.gnu.ai.mit.edu) + * xm-tower.h: Include xm-svr3.h. + (bcopy, bzero, bcmp, USG): Macros deleted. - * Makefile.in (cplus_expr.o): Add missing dependencies, so cc1plus - can be built without first building cc1. +Tue Nov 10 12:26:23 1992 Steve Chamberlain (sac@cygnus.com) -Fri Jul 26 07:30:51 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * sdbout.c (plain_type_1): Handle LONG_TYPE_SIZE like INT_TYPE_SIZE. - * combine.c (can_combine_p): Can't combine if DEST is used in an - insn in the range (succ, i3). +Tue Nov 10 14:20:27 1992 Michael Meissner (meissner@osf.org) - * expmed.c (store_bit_field): Don't use insv if the mode of its - input is narrower than the width of the field. - (store_fixed_bit_field): Handle value with MODE_FLOAT mode. - (extract_bit_field): Don't use extzv/extv if its output mode is - narrower that width of field. - (extract_bit_field): Handle returning MODE_FLOAT mode. + * mips.md (ffssi2): Add =& constraints to the two match_scratch + clobbered registers. Fix from John F Carr. - * reorg.c (steal_delay_list_from_target): Add new arg PNEW_THREAD. - Instead of redirecting jump, return its target in *PNEW_THREAD. - (fill_slots_from_thread): Pass &NEW_THREAD to - steal_delay_list_from_target. + * mips-tdump.c (toplevel): Move #undef index and rindex before + including sym.h. -Thu Jul 25 21:57:42 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) +Tue Nov 10 10:37:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * sched.c: Correct tiemann's email address. - (schedule_block): Note that the values of leftover REG_DEAD notes - are meaningless. - (new_insn_dead_notes): If find an instruction that both uses and - sets dest, then no new REG_DEAD note is needed. - (update_links): When handling dest of last insn, no new REG_DEAD - note is needed if the last insn also uses its dest. + * Makefile.in (install-common): Delete deps $(srcdir)/g++ $(srcdir)/c++ -Thu Jul 25 18:15:33 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * expr.c (init_expr_once): Try indexing mem by fp as well as sp. - * flow.c (regno_clobbered_at_setjmp): Don't blow up if no basic blocks. +Tue Nov 10 10:28:59 1992 Chris Smith (csmith@convex.com) -Thu Jul 25 16:55:57 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * genattrtab.c (main): Unlimit stack size. - * cse.c (invalidate, cse_insn): Don't use HASHREG directly. - (HASH): Substitute HASHREG in. - (HASHREG): Deleted. +Tue Nov 10 10:17:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * tm-i386mach.h: New file. - * configure (i386-mach): Use that. + * print-rtl.c (print_rtx): Use sizeof spaces - 1 to get the length + of the spaces string. - * tm-i386isc.h: New file, copied from 1.40. +Tue Nov 10 09:56:32 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) - * i386.md (jump, indirect_jump, tablejump, return): - Use ASM_OUTPUT_ALIGN_CODE. - * tm-i386gas.h, tm-i386vgas.h (ASM_OUTPUT_LOOP_ALIGN): - Override the usual definition. + * pa-hpux.h (LINK_SPEC): Disable linking against shared libraries. + * pa-ghpux.h (LINK_SPEC): Likewise. - * rtl.h (FUNCTION_FLAGS_USES_PIC_OFFSET_TABLE): Fix typo. +Tue Nov 10 08:39:01 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) -Thu Jul 25 16:25:52 1991 Tom Wood (wood at dg-rtp.dg.com) + * elxsi.h (GO_IF_LEGITIMATE_ADDRESS): Verify that register is valid + for use as base register (un-allocated pseudos aren't when strict). - * out-m88k.c (legitimize_address): Note use of addressing base. - (m88k_layout_frame): Establish PIC addressing base as needed. +Mon Nov 9 22:17:23 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * tm-m88kdgux.h (GPLUSPLUS_INCLUDE_DIR): Specify. + * xm-3b1.h (index, rindex): Define as macros. -Thu Jul 25 07:54:36 1991 Michael Tiemann (tiemann at cygint.cygnus.com) + * i386bsd.h: Complete rewrite. - * rtl.h (FUNCTION_FLAGS_USES_PIC_OFFSET_TABLE): Defined. +Mon Nov 9 14:22:38 1992 Michael Meissner (meissner@osf.org) - * integrate.c (expand_inline_function): Propagate the value of - FUNCTION_FLAGS_USES_PIC_OFFSET_TABLE. + * mips.h, decrose.h: Move LINK_LIBGCC_SPECIAL to decrose.h. - * function.h (struct function): Add new field USES_PIC_OFFSET_TABLE - to structure. Leave it to md files to initialize this field. - * expr.h (current_function_uses_pic_offset_table): New declaration. - * function.c ({save,restore}_tree_status): Save and restore - CURRENT_FUNCTION_USES_PIC_OFFSET_TABLE to/from this slot. - * out-sparc.c (legitimize_pic_address): Set - CURRENT_FUNCTION_USES_PIC_OFFSET_TABLE when appropriate. - (finalize_pic): If the current function does not use the PIC offset - table, there's no need to emit the PIC prologue. +Mon Nov 9 12:39:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Jul 24 13:54:41 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * unroll.c (final_biv_value): Make a note after loop_end + if we need to use NEXT_INSN (loop_end). - * tm-m68k.h (NOTICE_UPDATE_CC): - Calls clear status even if value in address reg. + * objc-actions.c (build_message_expr): Don't crash if super_type is 0. - * tm-i386gas.h, tm-i386vgas.h (ASM_OUTPUT_ALIGN_CODE): Align with NOPs. +Mon Nov 9 07:42:30 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * i386.md (andsi3): Don't use movzbl if op1 can't support it. + * caller-save.c (save_call_clobbered_regs): Ensure any insns we add + are in the same basic block as the insn we added them for. -Wed Jul 24 07:47:59 1991 Michael Tiemann (tiemann at cygint.cygnus.com) +Mon Nov 9 12:35:57 1992 Torbjorn Granlund (tege@jupiter.sics.se) - * cplus-decl.c (finish_decl): Don't build a cleanup for an variable - that is TREE_EXTERNAL. + * pa.h (TARGET_*): Move it to the beginning of the file. + (CPP_SPEC): Handle -mnosnake. + * pa-ghpux.h pa-hpux.h pa1-ghpux.h pa1-hpux.h pa1.h pa.h: Move + definition of TARGET_DEFAULT to before inclusion of other pa*h files. + Only define TARGET_DEFAULT if not already defined. + Get rid of hpux8 conditionals. -Tue Jul 23 20:48:23 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Sun Nov 8 20:38:19 1992 James Van Artsdalen (james at bigtex.cactus.org) - * make-mips: Delete rules for saber C. - * Makefile.in (STAGESTUFF, gnulib2.ready): Undo last change. + * i386.md (movstrsi): mask move count after signed shift. - * tm-vax.h (LIB_SPEC): Supply missing close braces. +Sun Nov 8 00:24:30 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Jul 23 14:03:10 1991 Michael Meissner (meissner at osf.org) + * fixinc.svr4: Avoid use of | in sed regexp; use multiple s commands. - * protoize.c (toplevel): If FULL_PROTOTYPES is defined, assume that - the system provides full prototypes, and include stdlib.h and - unistd.h. - (toplevel): If _POSIX_SOURCE is defined, wait takes a pointer to an - int, even if the system is otherwise BSD. - (toplevel): If NO_CONST_IN_SYSCALL and __STDC__ is defined, assume - the system takes char *'s instead of const char *'s. - (process_aux_info_file, edit_file): Always pass 3 arguments to open, - to allow the NO_CONST_IN_SYSCALL macro to properly cast the - arguments. + * i386mach.h: Include i386gstabs.h, not i386gas.h. - * make-decrose (ALL): Make sure Makefile is rebuilt if either - Makefile.in or make-decrose changes. - (BUILD, SYSTEM_INCLUDES, LDFLAGS): Add BUILD variable to retarget - which build is used. - (CPP_ABORT): Don't define abort=fancy_abort here, do it in - tm-mips.h. - (INSTALL): Use installbsd program, since install uses System V - semantics on OSF/1. - (LANGUAGES): Rename collect-osf to collect. - (CFLAGS, XCFLAGS): Make CFLAGS use standard args and use XCFLAGS to - add additional arguments. - (libdir, bindir, mandir): Define to current install values. - (cplus-lex.o): Work around problems with 1.39 bootstrap compiler - producing bad stabs for certain inlines. - (osf-main.c): Add a simple G++ constructor/destructor to gnulib. + * gsyslimits.h: Renamed from syslimits.h. + * Makefile.in (USER_H): syslimits.h deleted. + (install-common-headers): Install gsyslimits.h as syslimits.h. + Depend on gsyslimits.h and assert.h. - * make-mips (ALL): Make Makefile depend on Makefile.in and - make-mips. - (CFLAGS, XCFLAGS): Make CFLAGS use standard args and use XCFLAGS to - add additional arguments. - (CC): Add -Wf,-XNg500 switch to compile with due to the MIPS - compiler having fixed size tables. - (SABER_*): Add rules to run saber-C. + * cccp.c (rescan): Accept # as command inside macro args, etc. + If an actual newline at the same level precedes. - * mips.md (movsi_ulw): Allow unaligned register->register moves, - which is caused by the optimizer, and generate the normal reg move - code. Also, turn loads from the stack into normal moves. - (movsi_usw): Turn stores into the stack into normal moves. - (call, call_value): Turn into a define_expand which takes three - arguments, to make Saber happier. + * fixincludes (EXINIT): Set it to `set', not null. - * tm-mips.h (abort macro): Define abort to be saber_stop if running - under Saber C. - (__PTR_TO_INT, __INT_TO_PTR): Define as casts if running on a MIPS - machine instead of with subtraction, in an attempt to quiet Saber C. - (ASM_MODIFY_SPEC): Run mips-tfile after the assembler, needs - corresponding gcc.c change to enable. + * toplev.c (main): Use strncmp when testing for gstabs+ vs gstabs. - * tm-decrose.h (ASM_SPEC): Pass -v switch to gas as well as mips - assembler. - (ASM_MODIFY_SPEC): Run mips-tfile if -mmips-as. - (LINK_SPEC): Pass -v switch to linker. - (LIB_SPEC): Redefine as just -lc. - (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Undefine, use standard - libdir, bindir, and mandir in Makefile now. - (FULL_PROTOTYPES, NO_CONST_IN_SYSCALL): Define to get protoize - to compile cleanly. +Sat Nov 7 17:46:35 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * osf-main.c (new file): Provide simple constructor, destructor - capability to be linked into gnulib. + * optabs.c (expand_unop): + For complex negation, do get_insns, not gen_sequence. - * collect-osf.c (various): General rewrite to improve speed and - portability. + * c-decl.c (finish_decl): Don't clear DECL_INITIAL in inline fn decls. - * Makefile.in (CPLUS_OBJS): If CPLUS_INPUT is defined to be - cplus-input.o, compile it separately to work around problems with - bootstraping when it is included in cplus-lex.c. - (STAGESTUFF): Use $(LANGUAGES) instead of hard coded list of - languages, so make-xxx file can override, and provide others. - (gnulib2.ready): Make gnulib2 depend on all LANGUAGES targets, so - that if a target needs something else built, such as mips-tfile, it - will be. - (mostlyclean): Add missing -f to rm. - (install-dir): Use test to see if the directory exists before trying - to create it, and fail if the mkdir fails. - (install-headers): ditto. - (stage?, risky-stage?): ditto. - (install-cross): Install collect and mips-tfile if they are present. + * c-typeck.c (process_init_constructor): Strip NOP_EXPR from indices. + Clear end_index if there's an error in a range. - * mips-tfile.c (toplevel, main): Add -I file option, which renames - the original output file to the given file. + * mips-5sysv.h, mips-5svr4.h, mips-5bsd.h (CPP_PREDEFINES): + Add single-underscore variants of all the predefined symbols. - * cplus-lex.c (toplevel): Include instead of "assert.h" - in order to avoid problems when including cplus-input.c, which also - uses . + * gstddef.h [_ANSI_H_]: When undefing at the end, test _STDDEF_H, + not __need_ptrdiff_t. - * cplus-pt.c (toplevel): Move include of config.h before obstack.h - in case config.h defines some macros obstack.h uses such as - __PTR_TO_INT. + * mips.c (gen_int_relational): Handle overflow when incrementing cmp1. -Tue Jul 23 13:15:43 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Fri Nov 6 23:03:14 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * xm-i386.h, xm-i860.h, xm-spur.h, xm-tahoe.h: Use __builtin_alloca. + * elxsi.c: Include config.h. -Tue Jul 23 12:26:01 1991 Michael Tiemann (tiemann at cygint.cygnus.com) +Fri Nov 6 18:53:21 1992 Chip Salzenberg (chip@tct.com) - * function.c (instantiate_virtual_regs_1): Change dubious code that - used to assign NEW to XEXP (x, 1) regardless of whether - validate_change accepted it to instead set XEXP (x, 0) back to OLD. - I.e., if the rtx is out of range and OBJECT is NULL, don't make any - change at all. + * i386sco.h (STARTFILE_SPEC): Fix line wrap. + (SIGNED_CHAR_SPEC): Defined to set _CHAR_UNSIGNED. - * out-sparc.c (compute_frame_size): If a function has any - stack-local objects, it's frame size is non-zero and space must be - reserved for the register window. +Fri Nov 6 19:06:56 1992 Jim Wilson (wilson@sphagnum.cygnus.com) - * loop.c (loop_optimize): Use get_max_uid to compute max_uid_for_loop. + * dbxout.c (dbxout_symbol): Give name ` ' to unnamed enums. - * fold-const.c (size_int): Extend SIZE_TABLE's range from - 0..HOST_BITS_PER_INT-1 to 0..2*HOST_BITS_PER_INT. +Fri Nov 6 15:26:30 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + + * optabs.c (init_libfuncs): Add casts when comparing/incrementing enum. + +Fri Nov 6 15:41:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * integrate.c (expand_inline_function): Add minor efficiency - hack to not free all the temp slots as parameters are passed - from "caller" to "callee". + * toplev.c (main): Really accept -gstabs+. - * integrate.c (expand_inline_function): If the inline function - returns its value via a structure_value_addr, we must prepare for - this to take place, even if the value is ignored by the caller. +Fri Nov 6 06:46:22 1992 Tom Wood (wood@dg-rtp.dg.com) - * tm-decstatn.h (SIZE_TYPE): Define this to be "unsigned int". + * m88k.md (tcnd_divide_by_zero, divsi3, udivsi3): Allow the + explicit trap for divide by zero to resume execution along the + expected path. - * emit-rtl.c (try_split): If `split_insns' actually returns a SEQ - which is isomorphic to PAT, return TRIAL. + * t-m88kv4 (FIXINCLUDES): Delete. - * out-sparc.c (eligible_for_epilogue_delay): FP register moves are - only eligible for leaf-function epilogue delay slots. +Fri Nov 6 03:08:13 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Jul 23 11:52:50 1991 Michael Meissner (meissner at geech.gnu.ai.mit.edu) + * i386.md (andsi3): Mask immed op to 0xff in QI-reg ff00-byte case. - * dbxout.c (dbxout_symbol): Correct typo in getting static member - names. The problem is DECL_ASSEMBLER_NAME returns a tree, and not a - char *. + * gstddef.h: Find ansi.h in machine subdir. + [__need_ptrdiff_t]: Don't undef _SIZE_T_ or _WCHAR_T_. + * gvarargs.h, gstdarg.h: Don't test, define or undef _VA_LIST_ + on NET 2 systems. Don't include ansi.h. -Tue Jul 23 07:10:41 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * c-lex.c (readescape): Support \e like \E. Warn only if -pedantic. - * varasm.c (immed_double_const): Use CONST_INT if MODE fits within - HOST_BITS_PER_INT, not BITS_PER_WORD. +Fri Nov 6 08:34:17 1992 Tim Moore (moore at defmacro.cs.utah.edu) -Mon Jul 22 21:37:03 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * integrate.c (copy_rtx_and_substitute)[ARGS_GROW_DOWNWARD]: Map + virtual args pointer to the top of the argument block. + * calls.c (expand_call)[ARGS_GROW_DOWNWARD] Fix fencepost error in + calculating high_to_save and low_to_save. Use - high_to_save to + address stack_area. - * fold-const.c (fold): Always preserve type after using const_binop. +Fri Nov 6 00:41:53 1992 Paul Eggert (eggert@twinsun.com) -Mon Jul 22 18:34:55 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * sparc.h (TARGET_EDOM, GEN_ERRNO_RTX): Deleted. - * reload1.c (reload): Fix typo in condition for reg_equiv_address - being set from reg_equiv_memory_loc; had X instead of XEXP (X, 0). +Thu Nov 5 18:55:44 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Mon Jul 22 15:25:48 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * alpha.c (output_prologue): Fix typo: `add' should be `addq'. - * gcc.c (process_command): -xnone turns off any -x option. +Thu Nov 5 18:35:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * tree.c (copy_chain): Deleted. - * integrate.c (copy_decl_tree): Use copy_list and copy_node. + * Makefile.in (install-fixincludes): Add semicolon in new for-loop. -Mon Jul 22 11:35:47 1991 Michael Tiemann (tiemann at pogo.gnu.ai.mit.edu) +Thu Nov 5 15:24:14 1992 Michael Meissner (meissner@osf.org) - * tree.c, tree.h: Fix typos in Jul 22 merge. + * i386rose.h, decrose.h (REAL_LD_FILE_NAME): Define to be the + correct location on OSF/1 -- /usr/bin/ld points to + /usr/ccs/gcc/ld, which is collect. + (REAL_NM_FILE_NAME): Ditto for nm. + (REAL_STRIP_FILE_NAME): Ditto for strip. -Mon Jul 22 08:51:47 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Wed Nov 4 13:36:10 1992 Jim Wilson (wilson@sphagnum.cygnus.com) - * jump.c (thread_jumps): Don't set CHANGED if the jump's label isn't - changing. + * optabs.c (expand_binop): When trying to expand a multiple word + add into multiple single word adds, don't overwrite OP0 and OP1 in + case we must backtrack. We use instead new variables XOP0 and XOP1. -Mon Jul 22 02:37:23 1991 Michael Tiemann (tiemann at pogo.gnu.ai.mit.edu) +Wed Nov 4 16:45:53 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * version.c: Bumped to 1.94 because of significant changes to - cplus-* files. + * config.sub: Don't discard SCO version number if it's 3.2v4. -Sun Jul 21 18:45:57 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * xm-vax-vms.h (HOST_FLOAT_FORMAT): Defined. - * toplev.c (rest_of_compilation): - Save and restore DECL_INITIAL if we use save_for_inline_copying. - * integrate.c (save_for_inline_copying): Really copy DECL_INITIAL. - Calling integrate_decl_tree doesn't do it; deleted that call. - (copy_decl_tree): New function. + * varasm.c: Fix typos in last change. - * integrate.c (integrate_decl_tree): Renamed from copy_decl_tree. - (integrate_parm_decls): Renamed from copy_parm_decls. +Wed Nov 4 10:11:28 1992 Torbjorn Granlund (tege@jupiter.sics.se) - * tree.c (copy_chain): New function. + * va-pa.h (va_end): Do it like in other va-*.h files. -Sun Jul 21 06:43:23 1991 James Van Artsdalen (james at bigtex.cactus.org) +Wed Nov 4 07:23:46 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * i386.md (tstsi): Add comment noting potential -m486 enhancement. - (SImode push): With -m486, don't push from MEM. - (addsi3): Don't use lea for three operand add if -m486. - (ashlsi3): Don't use lea for shift of 1 if -m486. - (zero_extendhisi2,zero_extendqihi2,zero_extendqisi2): If dest is - %eax, or if -m486, AND is faster than MOVZX. + * local-alloc.c (optimize_reg_copy_1): If P is a CALL_INSN, count + it as being crossed by SRC since SRC used to die there. -Sun Jul 21 06:27:33 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Wed Nov 4 00:13:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * expmed.c (store_fixed_bit_field): Pass actual bit position (including - offset) to get_best_mode; also limit mode size to BITS_PER_WORD. - Use failure of get_best_mode to indicate that field spans word - boundary. - Pass actual bit position to store_split_bit_field. - (store_split_bit_field): Accept actual bit position, hence handing - bitpos > BITS_PER_WORD. - Abort if BITPOS and BITSIZE don't cross exactly one word boundary. - Pass offset to store_fixed_bit_field; if register, use operand_subword; - else adjust offset for second word. - (extract_{fixed,split}_bit_field): Likewise. + * x-next (libgcc2.a, stdarg.h): New rules. -Sun Jul 21 06:11:55 1991 Michael Tiemann (tiemann at cygint.cygnus.com) + * varasm.c (immed_real_const_1, immed_double_const): + Don't push on const_double_chain in nested function. - * All cplus-* files: DECL_VIRTUAL_P is no longer applied to - FUNCTION_DECLs. Instead, to test if a function is virtual or not, - it suffices to test whether its DECL_VINDEX is non-NULL. We use - ERROR_MARK_NODE as the placeholder for a FUNCTION_DECL we know will - be virtual, but for which we don't yet know the actual index. + * expr.c (emit_move_insn): Do return a value, in complex case. - * cplus-decl.c (define_function): Don't set up DECL_ASSEMBLER_NAME - until after having the chance to call through PFN. Since `pushdecl' - now keys off of DECL_ASSEMBLER_NAME, we don't want to create - inadvertent aliases between builtin and library functions. +Tue Nov 3 10:45:09 1992 H.J. Lu (hlu@yardbird.eecs.wsu.edu) - * cplus-typeck.c (build_modify_expr): We don't need to build a - SAVE_EXPR for a WITH_CLEANUP_EXPR. - (unary_complex_lvalue): For good measure, know how to deal with a - WITH_CLEANUP_EXPR inside a SAVE_EXPR. + * i386linux.h (STARTFILE_SPEC): -static is added to ld if + -pg, -g or -p is passed down by gcc. - * cplus-pt.c (uses_template_parms): Add handler for ARRAY_TYPE. +Tue Nov 3 15:14:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cplus-method.c (do_inline_function_hair): Use TYPE_METHODS instead - of CLASSTYPE_METHOD_VEC for traversing all methods when looking for - inline functions. + * pa.c (output_ior): Handle "ior" against zero. - * cplus-class.c (finish_struct_methods): Fix fencepost error if - there were no member functions except for ctors/dtors. + * i386mach.h (YES_UNDERSCORES): Define it. -Sun Jul 21 06:19:01 1991 James Van Artsdalen (james at bigtex.cactus.org) + * sun3.h (ASM_OUTPUT_FLOAT_OPERAND): Use REAL_VALUE_MINUS_ZERO. + (ASM_OUTPUT_DOUBLE_OPERAND): Likewise. - * tree.h, output.h (current_function_calls_longjmp): New variable. - * function.c (top level): Define it. - (push_function_context): Save it. - (pop_function_context): Restore it. - (init_function_start): Initialize it. +Tue Nov 3 08:25:35 1992 Chris Smith (csmith@convex.com) - * calls.c (expand_call): Set current_function_calls_longjmp if - this call is to `longjmp'. + * convex.h (REG_CLASS_FROM_LETTER): Add 'A', index regs. + (movsi alternative): Use it to make psh.w sp (push the + stack pointer) a noninstruction. - * flow.c, global-alloc.c: Include output.h so that - FRAME_POINTER_REQUIRED can use current_function_calls_*. - * Makefile.in (flow.o,global-alloc.o): Includes output.h. +Tue Nov 3 08:05:10 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * rtl.h (FUNCTION_FLAGS_CALLS_LONGJMP): New macro. + * jump.c (jump_optimize): Ensure operand of REG_NOTES is an INSN; + otherwise, we might try to read outside allocated memory. - * integrate.c (initialize_for_inline): Record - current_function_calls_lonjmp in `function_flags'. - (output_inline_function): Set current_function_calls_longjmp if - the inline code calls longjmp. + * va-alpha.h (va_end): Don't define enum if va_end already defined. - * function.h (struct function): New field `calls_longjmp'. +Tue Nov 3 02:56:22 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * out-i386.c (simple_386_epilogue): Add function description. - Return 0 if NON_SAVING_SETJMP && `setjmp' is called in function. + * objc/Makefile: Use $(srcdir), not `..'. - * tm-i386v.h (NON_SAVING_SETJMP): New macro. - (FRAME_POINTER_REQUIRED): New macro. + * objc-actions.c (build_message_expr): Use save_expr for receiver. -Sat Jul 20 12:25:56 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * va-i860.h (va_end, anonymous enum): Don't declare if + va_end already defined as macro. + * va-mips.h, va-i960.h (va_end): If already a macro, don't declare. - * tm-m88k.h (OPTIMIZATION_OPTIONS): Don't change flag_signed_bitfields. +Mon Nov 2 21:17:40 1992 Paul Eggert (eggert@twinsun.com) - * cccp.c (include_defaults) Use LOCAL_INCLUDE_DIR macro instead - of "/usr/local/include". Provide default definition. + * va-sparc.h (va_end): If already def as macro, don't declare. - * cccp.c (include_defaults) Added INCLUDE_DEFAULTS macro to - provide complete control over default include directories. - Delete the special case for VMS. - * xm-vms.h (INCLUDE_DEFAULTS): Defined. +Mon Nov 2 16:04:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * proto-man: Renamed from proto-unproto.1. + * i386linux.h: Include i386gstabs.h, not i386gas.h. - * final.c (final_scan_insn): Do ASM_OUTPUT_LOOP_ALIGN only for real loop. +Mon Nov 2 14:46:31 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) -Sat Jul 20 05:34:13 1991 Michael Tiemann (tiemann at cygint.cygnus.com) + * Makefile.in (install-cross-tools): Delete old symlink before + making new one; else symlink will fail and we will use + backed strategy. - * tree.h (tree_type): Use the MAXVAL slot for TYPE_METHODS. - * cplus-class.c (finish_struct): Methods are now chained with - TREE_CHAIN and placed in the TYPE_METHODS of their _TYPE node. - * cplus-dbxout.c (dbxout_type_methods): Use this fact, instead of - using more C++-specific knowledge. +Sun Nov 1 17:55:56 1992 Jim Wilson (wilson@sphagnum.cygnus.com) - * cplus-decl.c (init_decl_processing): Variable - `const_ptr_type_node' was not being initialized. Same with - `const_string_type_node'. + * varasm.c (decode_rtx_const): Handle PC same as LABEL_REF. - * tree.h (DECL_PRINT_NAME): Marked for death. - (DECL_ASSEMBLER_NAME): Changed from a char* to a tree node. - All front-end files changed as necessary. +Sun Nov 1 03:19:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cplus-tree.h (DECL_ORIGINAL_NAME): Deleted. Now we use - DECL_NAME. - (DECL_NAME): No longer means the mangled name. Now we use - DECL_ASSEMBLER_NAME for that purpose. - All cplus-* files changed as necessary. + * Version 2.3.1 released. - * cplus-tree.c (lang_printable_name): Use a ring-buffer to hold - printable names instead of DECL_PRINT_NAME slot of a _DECL node. + * x-i386s4: Renamed from x-i386sco4. + * configure (i[34]86-*-sco*): Use new name. - * collect2.c: #define COLLECT, and let config.h provide definition - of macros. + * sol2-c1.asm, sol2-ci.asm, sol2-cn.asm: Renamed from sol2-crt... + * t-sol2: User new names. -See file ChangeLog.3. - -Local Variables: -mode: indented-text -left-margin: 8 -fill-column: 76 -version-control: never -End: +See ChangeLog.6 for earlier changes.