--- gcc/ChangeLog 2018/04/24 17:51:19 1.1 +++ gcc/ChangeLog 2018/04/24 17:55:27 1.1.1.3 @@ -1,13229 +1,8957 @@ -Sat Feb 22 02:09:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sun Jun 14 16:30:07 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Version 2.0 released. + * Version 2.2.2 released. - * 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. + * Makefile.in (gcc.xtar.Z): Don't give up if texinfo files not updated. + Just sleep to emphasize the message. - * i386mach.h (perform_*): New macros, copied from i386rose.h. + * i860.h (PREFERRED_RELOAD_CLASS): Avoid f regs for HI and QI if poss. - * 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. + * protoize.c: Don't include wait.h. + (gen_aux_info_file): Test wait_status as in gcc.c. + Report fatal signals explicitly. Report exit status. + * xm-next.h (wait): Definition deleted. - * expr.c (do_store_flag): Don't correct CODE before where it is set. + * sparc.c (print_operand): In `r' case, recognize any kind of zero. - * cp-parse.y (stmt): Pass pushcase_range all the args it wants. +Sat Jun 13 02:51:10 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Feb 21 18:14:52 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * va-sparc.h (va_arg): Handle all 8-byte types, not just double. - * 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. +Fri Jun 12 23:40:41 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Feb 21 16:47:32 1992 Michael Meissner (meissner@osf.org) + * i860v4.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): + Use `e' format, not `g' format. - * 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. +Fri Jun 12 12:52:48 1992 Tim Moore (moore at fast.cs.utah.edu) - * 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. + * pa.md (absdf2): Fix bug in output template. - * 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 12 10:25:25 1992 Jim Wilson (wilson@sphagnum.cygnus.com) - * encrose.h (PTRDIFF_TYPE): Change to 'int' to match current include - files. - (WCHAR_TYPE): Change to 'unsigned int' to match include files. + * ultrix.h (WCHAR_*): Set to correct values. - * 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. +Fri Jun 12 10:07:43 1992 Michael Meissner (meissner@osf.org) - * halfpic.h (new file): Common include file for systems needing the - OSF/rose half-pic shared library support. + * x-mips, x-mipsv, x-decstatn, x-iris (OLDCC): Add -Olimit 3000 to + bump the number of basic blocks that the MIPS compiler handles, so + that it doesn't issue warning messages saying to bump the limit. + Move the -O1 option here from X_CFLAGS, so that it doesn't + get passed when bootstraping. + (X_CFLAGS): Delete. - * halfpic.c (new file): Common support file for systems needing the - OSF/rose half-pic shared library support. Currently these are stub - functions. +Thu Jun 11 15:08:01 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Feb 21 01:34:08 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * sparc.h (RETURN_IN_MEMORY): Do nothing for structs and unions. + (EXTRA_CONSTRAINT): During reload, accept pseudo reg for Q. - * 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. + * va-sparc.h (va_arg): Handle unaligned doubles. - * dwarfout.c (output_mem_loc_descriptor): Handle CONST like SYMBOL_REF. + * fixincludes: Fix return type of `free' in malloc.h. + Recognize #define.NULL only at start of line. + In sys/types.h, find size_t only in a typedef. + In netdnet/dnetdb.h, don't add semicolon in wrong place. - * collect2.c (errno): Declare if not macro. + * configure: Set use_collect2 to empty rather than unsetting. - * dbxout.c [MIPS]: Include gstab.h, not stab.h. + * gstddef.h (__need_wchar_t): Fix typo in #undef. - * 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) +Wed Jun 10 04:30:01 1992 Richard Stallman (rms@mole.gnu.ai.mit.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. - - * Makefile.in (cp-parse.c): Update "expect" msg. - - * next.h (CPP_SPEC): Rename -bsd to -strict-bsd. - - * Makefile.in (mostlyclean): Add ld, mips-tfile, mips-tdump. - - * protoize.c (directory_specified_p): Don't match files in subdirs. - - * xm-rs6k-m.h: Renamed from xm-rs6000-mach.h. - * configure (rs6000-*-mach*): Changed accordingly. - - * 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. - - * Makefile.in (install-collect2): Install gcc in libsubdir. - -Sat Feb 15 15:26:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * varasm.c (decode_reg_name): Empty string is not a reg number. - - * fold-const.c (merge_component_references): NE tests against - mismatched constants forces 1, not 0, as value. - - * i386gas.h (ASM_OUTPUT_OPCODE): Convert repz to repe. - - * 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. - - * cp-typeck.c (default_conversion): Don't use initial value if BLKmode. - - * objc-actions.c (finish_objc): Fix typos in last change. - - * c-aux-info.c, dbxout.c, cccp.c (errno): Declare, if not a macro. - - * 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. - - * 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. - - * varasm.c (assemble_external): Test TREE_EXTERNAL. - - * jump.c (follow_jumps): If can't find chain end, return orig label - - * mot3300.h (PRINT_OPERAND): Always print 16 hex digits for a double. - - * 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. - - * cccp.c (pedwarn_with_file_and_line): Handle -w, -W. - -Fri Feb 14 07:44:08 1992 James Van Artsdalen (james at bigtex.cactus.org) - - * 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. - - * i386.c (seq,sne,beq,bne): These opcodes use the state of - cc_status from before the curren insn. - - * reg-stack.c (stack_reg_mentioned_p): Don't make static. - -Fri Feb 14 06:27:48 1992 Richard Kenner (kenner at 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. - -Thu Feb 13 18:06:06 1992 James Van Artsdalen (james at bigtex.cactus.org) - - * 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. - -Thu Feb 13 17:21:26 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c-decl.c (finish_struct): Use pedwarn for pedantic warning. - (grokdeclarator): Likewise. - * c-parse.y (component_decl_list2): Likewise. - -Thu Feb 13 22:11:36 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * combine.c (make_extraction): Default modes to byte and register - size, as appopriate, when the bitfield insn doesn't exist. - - * a29kunix.h (LINK_SPEC): Pass default option file to gld. - (LINK_LIBGCC_SPECIAL): Define to work around gld bug. - - * explow.c (copy_to_suggested_reg): Try getting mode from TARGET. - - * 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. - - * 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. - - * a29k.c (output_prologue): Correctly set LR1 when more than 64 - registers are needed. - -Wed Feb 12 22:22:46 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) - - * make-cccp.com: Define link as a local symbol to avoid - possible conflict with a user defined global symbol. - - * make-cc1.com: Likewise. - -Thu Feb 13 11:05:07 1992 Michael Meissner (meissner at osf.org) - - * 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. - -Thu Feb 13 01:15:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * cccp.c (skip_if_group): Skip comments after the #. - - * cccp.c (macarg): Don't assume stringify will compress spaces. - (macroexpand): In stringify, compress space only outside tokens. - - * cexp.y (exp1): Use pedwarn for comma in #if. - - * cp-decl.c (push_binding_level, pop_binding_level): - Change `inline' to `__inline'. - - * combine.c (make_compound_operation): Undo previous change. - -Wed Feb 12 18:47:47 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * 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. - -Wed Feb 12 18:58:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * gcc.c (do_spec_1): Only absolute prefixes turn into -L's. - (link_command_spec): Handle LINK_LIBGCC_SPECIAL. - -Wed Feb 12 18:38:29 1992 Chris Smith (csmith at convex.com) - - * convex.h (DEFAULT_CALLER_SAVES): define again, bug is fixed. - * convex.h (BRANCH_COST): Define as 0, so we won't use complex - alternatives to branches (whose expansions contain branches - on convex). - -Wed Feb 12 17:23:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * config.sub: Accept just `hppa' for machine. - - * Makefile.in (Install-collect2): New target. - -Wed Feb 12 13:55:24 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * reorg.c (relax_delay_slots): Don't convert jump to return here. - - * 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. - - * reload.c (find_reloads): Don't use class from preference if it - is a single-register class. - -Wed Feb 12 13:03:16 1992 Tom Wood (wood at dg-rtp.dg.com) - - * m88k.h (FUNCTION_BOUNDARY, ASM_OUTPUT_ALIGN): Pack code tightly - when compiling crtstuff.c (flag_inhibit_size_directive). - -Wed Feb 12 10:34:09 1992 Michael Meissner (meissner at osf.org) - - * 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. - -Wed Feb 12 10:34:09 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * caller-save.c (insert_save_restore): Properly check for insns that - reference CC0. - -Wed Feb 12 03:17:00 1992 Chris Smith (csmith at convex.com) - - * convex.h (DEFAULT_CALLER_SAVES): don't define, to sidestep a bug. - * convex.md (ffssi2): Comment out. - -Wed Feb 12 00:08:42 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) - - * make-libgcc2.com: Do not save .s file. - - * vms.h: Wrap #include in #ifdef L__main/endif - -Tue Feb 11 21:58:42 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) - - * libgcc2.c (DO_GLOBAL_DTORS_BODY): New macro. - - * make-l2.com: New file to build libgcc2 on VMS. - - * vms.h (DO_GLOBAL_CTORS_BODY): Replacement definition. - - * vms.h (DO_GLOBAL_DTORS_BODY): Likewise. - - * make-cccp.com: Define bison and rename as local symbols to avoid - possible conflict with user defined global symbols. - -Tue Feb 11 22:17:32 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * sched.c (attach_deaths): Don't treat PIC offset table register - specially; flow.c doesn't. - - * 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. - -Tue Feb 11 21:32:07 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Makefile.in (install-common-headers): Copy byteorder.h to - compilation dir. - - * config.sub: Allow unicos as operating system. - - * m88kv4.h (INIT_SECTION_ASM_OP): Add #progbits. - - * vax.h (DYNAMIC_CHAIN_ADDRESS): New macro. - - * c++: Propagate quoted args properly. - -Tue Feb 11 16:35:01 1992 Jim Wilson (wilson at cygnus.com) - - * fixincludes: Define TERM to `unknown', to ensure that it is - valid. Otherwise, ex may fail. - * fixinc.svr4: Likewise. - -Tue Feb 11 18:04:32 1992 Michael Meissner (meissner at osf.org) - - * 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. - - * decstatn.h (CPP_PREDEFINES): Eliminate __ versions, since - gcc will do these automatically. Eliminate LANGUAGE_C, since it is - handled in CPP_SPEC. - -Tue Feb 11 15:38:27 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * flow.c (find_basic_blocks): Don't delete labels used in non-jumps. - - * vms.h (DO_GLOBAL_CTORS_BODY): Modify the return address - only the first time __main is called. - - * fixinc.svr4: Change headers to test __STRICT_ANSI__ instead of - testing __STDC__ != 0. - - * fixinc.svr4 (mman.h): Fix backward __STDC__ conditional. - Don't add declarations of munmap and mprotect. - - * varasm.c (output_constant): Allow empty constructor for any type. - - * dwarfout.c (ASM_OUTPUT_DWARF_DATA8): Just one definition; - test WORDS_BIG_ENDIAN "at run time". + * gcc.c (process_command): In gcc_exec_prefix, machine precedes vers. -Tue Feb 11 09:00:01 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * i386sco4.h (CPP_SPEC): Don't redefine __STDC__. + fixincludes knows how to fix the conditionals in system headers. - * reload.c (find_reloads): Don't substitute in MATCH_DUPs if we - are not generating replacements. + * collect2.c (scan_prog_file): Initialize ldptr. -Tue Feb 11 08:45:14 1992 Tom Wood (wood at dg-rtp.dg.com) + * dbxout.c (dbxout_symbol): Make tag precede typedef. - * m88kv4.h ({CTORS,DTORS}_SECTION_ASM_OP): Fix typo. + * configure: Initialize host, host_xm_file, host_xmake_file, + host_broken_install, and broken_install. -Mon Feb 10 22:34:47 1992 Chris Smith (csmith at convex.com) + * Makefile.in (enquire.o): Add `./' when removing enquire.c. - * convex.h(HARD_REGNO_NREGS): define correctly for 64-bit regs +Tue Jun 9 20:52:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Feb 10 21:50:23 1992 Michael Meissner (meissner at osf.org) + * Version 2.2.1 released. - * 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. + * Makefile.in (clean): Don't delete unprotoize.c. - * 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. + * configure: Fix typo in modifying INSTALL variable in Makefile. -Mon Feb 10 16:34:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Jun 8 15:14:09 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * convex.h (REAL_VALUE_TRUNCATE): Obsolete definition deleted. + * Version 2.2 released. - * config.sub (convex-*): These are BSD, not sysv. + * Makefile.in (extraclean): Delete *.rej and *.orig under config. + Delete *.xtar. + (dist): Update README *before* making tar file. + Fix quoting of error message about gcc.texi; exit if that test fails. + Don't print error messages from ln. - * 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. + * assert.h [__cplusplus]: Use `extern "C"' around __eprintf decl. -Mon Feb 10 12:28:59 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * configure (rs6000-*-mach*, pyramid-*-*, mips-sgi-*): + Patterns made canonical. + (rs6000-*-mach*): Fix typo in `xmake_file'. - * xm-a29k-ult.h: Fix typo in placement of copyright notice. + * configure (i386-*-osfrose*): Renamed from i386-osfrose*. -Mon Feb 10 05:36:45 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Makefile.in (.NOEXPORT): Moved after `all'. + Comments put on separate lines. - * dbxout.c (dbxout_type): Don't use GDB extensions if they are empty. +Mon Jun 8 18:33:01 1992 Michael Meissner (meissner@osf.org) -Mon Feb 10 00:10:20 1992 Michael Tiemann (tiemann at cygnus.com) + * configure (mips-dec-osf*): Set xmake_file to x-mips. - * cp-class.c (finish_struct): Use DECL_CHAIN, not TREE_CHAIN to walk - through the list of methods identified by a visibility declaration. +Sun Jun 7 15:55:34 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-cvt.c (convert_pointer_to): No longer need to abort if BINFO is - not a TREE_VEC or AGGR_TYPE node. + * gcc.c (set_spec): Fix braino in "appending" spec values. - * cp-parse.y (stmt): Improve error handling for try/except. + * integrate.c (expand_inline_function): Fix dumb bug in last change. - * cp-class.c (add_method): If we create RTL for a copy of METHOD, - copy the RTL to METHOD's DECL_RTL slot. +Sun Jun 7 07:16:25 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * cp-method.c (dump_type): Print `const' and/or `volatile' for - VOID_TYPE and REAL_TYPEs, too. + * romp.md: Disable two more define_splits during the first sched + pass until long-standing sched.c bug is fixed. -Sun Feb 9 21:07:45 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Jun 4 16:49:56 1992 Jim Wilson (wilson@sphagnum.cygnus.com) - * varasm.c (assemble_integer): Pass third arg in recursive calls. - Act appropriately if word-by-word loop doesn't finish. + * reorg.c (dbr_schedule): Global registers are needed at function end. - * Makefile.in (bootstrap*): Don't override value of ALLOCA. +Sat Jun 6 17:07:16 1992 Torbjorn Granlund (tege at david.ultra.nyu.edu) - * dbxout.c (dbxout_symbol, dbxout_parms): Do leaf function remap - only if LEAF_REG_REMAP and only in leaf functions. + * pyr.md (shift patterns): Declare output_shift. + (movdi, movdf): Declare output_move_double. -Sun Feb 9 16:46:27 1992 Michael Tiemann (tiemann at cygnus.com) +Sat Jun 6 15:07:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-init.c (maybe_adjust_addr_for_delete): Build final COND_EXPR - with TREE_TYPE (addr). + * Makefile.in (c-parse.o): Depend on c-parse.h. -Sun Feb 9 14:20:49 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * reload.c (find_reloads): Fix typo in format string. - * 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. + * mips.c (override_options): BSD 4.3 does line buffering differently. -Sun Feb 9 08:29:21 1992 James Van Artsdalen (james at bigtex.cactus.org) + * Makefile.in (SYSCALLS.c.X): Put GCC output in file, not /dev/null. + (mostlyclean): Delete temp file. - * 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. + * configure (handling broken_install): Add -c option. - * i386.c (regclass_map): New variable. Lookup array for - REGNO_REG_CLASS. +Sat Jun 6 11:34:00 1992 James Van Artsdalen (james at bigtex.cactus.org) -Sat Feb 8 01:20:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * gstdarg.h (va_arg): Fix typo incrementing AP. - * cp-parse.y (yyprint): Test __GNUC__, not __GNU__. - Use __inline, like everywhere else. +Sat Jun 6 16:27:18 1992 Michael Meissner (meissner@osf.org) - * a29k.h, romp.h (OVERRIDE_OPTIONS): Deleted. - (OPTIMIZATION_OPTIONS): Defined, instead. - * rs6000.h (OPTIMIZATION_OPTIONS): New macro. - (OVERRIDE_OPTIONS): Don't change optimization. + * mips-n5.h, mips-sysv.h: Include sys/param.h, not types.h. - * final.c (leaf_renumber_regs_insn): No longer static. - * dbxout.c (dbxout_symbol, dbxout_parms): Call that. +Fri Jun 5 19:00:36 1992 Howard Chu (hyc@hanauma.jpl.nasa.gov) - * 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. + * fx2800.h (ASM_OUTPUT_FUNCTION_PREFIX): Output a nop before + every function, to accomodate tdescs. Also, save function + name in current_function_original_name for use in i860.c. + Also define OUTPUT_TDESC to get ABI-compliant tdesc info + generated for each function. - * c-typeck.c (build_array_ref): Return early if arg is error mark. + * i860.c (function_epilogue): Add code to output tdesc info + after each function. Tdesc structure versions 1-4 are + supported. - * Makefile.in (test-protoize): Rule deleted. + * i860v4.h (ASM_FILE_END) [OUTPUT_TDESC]: Output a null tdesc entry + after the last function in a file. - * stmt.c (emit_case_nodes): Handle just-left-subtree case - like just-right-subtree--delete mysterious code that tests cost_table. +Fri Jun 5 19:03:22 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * varasm.c (decode_reg_name): Accept decimal number as reg name. + * collect2.c (main, scan_prog_file): Use bcopy, not memcpy. - * c-decl.c (finish_decl): If pop_obstacks goes to perm obstack, - call permanent_allocation. +Fri Jun 5 16:27:18 1992 Michael Meissner (meissner@osf.org) - * gcc.c (link_command_spec): Use -lgcc, not libgcc.a. + * mips.h, mips.c, mips.md: Undo June 3 changes. -Fri Feb 7 16:56:17 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * mips-n5.h, mips-sysv.h (getpagesize): If _SC_PAGE_SIZE is undefined, + use NBPC defined in sys/types.h. - * rs6000.h (DOLLARS_IN_IDENTIFIERS): Define to zero, because the - assembler does not accept dollar signs. +Thu Jun 4 14:36:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Feb 7 15:36:40 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cse.c (delete_dead_from_cse): Don't delete anything inside a libcall. - * Makefile.in (mostlyclean): Fix name of tmp-proto.1. + * Makefile.in (install-libgcc): Depend on install-dir. - * configure: Delete excess space in assignment to srcdir. + * c-lex.c (yylex): Suppress int out of range warning if -traditional. - * cp-decl2.c (DOLLARS_IN_IDENTIFIERS): Default now 1, as in C. +Thu Jun 4 23:34:05 1992 Howard Chu (hyc@hanauma.jpl.nasa.gov) - * i386gas.h (ASM_OUTPUT_LOOP_ALIGN): New macro. - (ASM_OUTPUT_ALIGN_CODE): Use 16-byte boundary on 486. + * fx2800.h (DBX_OUTPUT_ENUM): Add missing argument, add a + missing semi-colon. + (ASM_OUTPUT_DOUBLE): undef definition from i860v4.h, replace + with definition used in i860.h. + (ASM_OUTPUT_FLOAT): same as above + Also undef MD_EXEC_PREFIX which is defined in i860v4.h. + Also define I860_STRICT_ABI_PROLOGUES for ABI-compliant function + prologues. - * m68k.h (TRANSFER_FROM_TRAMPOLINE): Use operands for the memrefs - to avoid dependence on assembler syntax. +Thu Jun 4 13:15:30 1992 Jim Wilson (wilson@sphagnum.cygnus.com) -Fri Feb 7 10:26:32 1992 Michael Meissner (meissner at osf.org) + * enquire.c (fake_f_rep): Use __extension__ to avoid pedantic warnings. - * Makefile.in (EXTRA_OBJS): New variable for extra object files - needed when linking cc1, cc1plus, and cc1objc. + * cse.c (cse_process_notes): Don't stick VOIDmode into *_extract. -Fri Feb 7 07:34:03 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * c-decl.c (get_parm_info): For forward parm decls, check for + non-parm before checking TREE_ASM_WRITTEN. - * reload1.c (set_label_offsets, reload_as_needed): Recompute - num_not_at_initial_offset when we pick up offsets from offsets_at. +Thu Jun 4 13:57:47 1992 Tim Moore (moore at defmacro.cs.utah.edu) - * unroll.c (unroll_loop): Copy initial and final values to avoid - sharing. + * pa.h (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Delete + FP_OR_SNAKE_FP_REGS (useless), add GENERAL_OR_FP_REGS, + GENERAL_OR_SNAKE_FP_REGS. + (ASM_DECLARE_FUNCTION_NAME): Handle DImode arguments correctly. + (PROFILE_BEFORE_PROLOGUE, FUNCTION_PROFILER): Do the same thing + for BSD and HPUX. - * cse.c (simplify_relational_operation): Complete last change by - correctly handling <= and >=. + * pa.c (output_function_prologue): Do profiling right (compatible + with HPUX). + (output_arg_descriptor): Handle DImode argument registers. -Thu Feb 6 23:57:02 1992 Michael Tiemann (tiemann at cygnus.com) +Thu Jun 4 13:48:24 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * cp-decl.c (grokdeclarator): Invert sense of warning about - initialized extern vars, since in C++, const has funny semantics. + * reload1.c (reload): Count reload register used by caller-save + handling in any basic block that contains a CALL_INSN. -Thu Feb 6 15:12:02 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Jun 4 09:23:19 1992 Ron Guilmette (rfg at ncd.com) - * cse.c (simplify_relational_operation): Test properly for floating - equality; don't deduce this from < and >. + * i860v4.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Remove leading 0r. + (ASM_OUTPUT_FLOAT): Use .float (not .single). - * xm-mips.h (alloca): Don't define or declare if MIPS_OVERRIDE_ALLOCA. - * xm-irix4.h (MIPS_OVERRIDE_ALLOCA): Defined. - - * m68k.h (TRANSFER_FROM_TRAMPOLINE): Use explicit reg var - to avoid dependence on register name syntax. - - * mot3300.h (PUT_SDB_START_DIM, PUT_SDB_NEXT_DIM, PUT_SDB_LAST_DIM): - New macros. - (PUT_SDB_DIM): Deleted. - (PRINT_OPERAND): Handle %$ and %&. - (ASM_OUTPUT_OPCODE): Handle f%$move and f%&move. - - * gstdarg.h: If not __GNUC__, use system's stdarg.h. - -Thu Feb 6 22:36:36 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) - - * vms.h (DEFAULT_GDB_EXTENSIONS): Define as 0. - -Thu Feb 6 13:32:37 1992 Michael Meissner (meissner at osf.org) - - * mips.h (MIPS_VERSION): Set Meissner version # to 10. - (flag_half_pic, mips_branch_likely): New global variables. - (call_memory_operand): New function declaration. - (half_pic_encode_section_info): Likewise. - (mips_constant_address_p): Likewise. - (mips_debugger_offset): Likewise. - (CC1_SPEC): Make OSF/1 -pic-xxx switches to -mhalf-pic, which is - currently undergoing development. - (DEBUGGER_AUTO_OFFSET): Emit correct information if frame pointer is - omitted. - (DEBUGGER_ARG_OFFSET): Likewise. - (TARGET_SWITCHES): Add -mabicalls and -mhalf-pic switches. - (PIC_OFFSET_TABLE_REGNUM): Define as the GP register ($28). - (EXTRA_CONSTRAINT): Add 'S' constraint for half-pic references. - (CONSTANT_ADDRESS_P): Call mips_constant_address_p. - (ENCODE_SECTION_INFO): Reorder test to test optimize first, and to - call half_pic_encode_section_info if half pic. - (PREDICATE_CODES): Add call_memory_operand. - - * mips.c (flag_half_pic): New global variable to indicate to produce - half-pic output for OSF/rose. - (mips_branch_likely): New global variable to indicate the branch - should use the branch likely form of the instruction. - (mips_sw_reg_names): Use $fp instead of fp, since regdef.h no longer - defines fp. - (call_memory_operand): New function to return TRUE if the argument - is a valid MEM for a call instruction. - (mips_move_1word): Emit comment in la of half-pic addresses as a - temporary flag to put the right code down. - (mips_constant_address): New function to determine if something is a - constant address or not. Add stub code for -mhalf-pic. - (override_options): Set flag_half_pic if -mhalf-pic. - (override_options): Mark %? as valid for print_operand. - (mips_debugger_offset): New function to correct the offset for - variables and arguments if the frame pointer has been omitted. - (print_operand): %? now emits a 'l' if mips_branch_likeley is set. - (mips_asm_file_start, function_prologue): If -mabicalls, emit the - pseudo ops that the Pyramid System V.4 port seems to want. - (compute_frame_size): Reserve space for saving GP if -mabicalls. - (half_pic_encode_section_info): Stub function for encoding whether - or not to generate a half pic reference. - - * mips.md (type attribute): Add pic attribute. - (cpu attribute): New attribute to get the CPU type. - (branch_likely attribute): New attribute to say whether or not we - can use branch likely instructions. - (define_delay): Note that we can annull false branches if -mips2. - (memory function unit): Add pic in addition to load. - (various function units): Use the cpu attribute. - (branch patterns): Support branch likely instructions if -mips2. - (call, call_internal): Use call_memory_operand instead of - memory_operand. If -mhalf-pic put function address in a register. - (call_value, call_value_internal): Likewise. - - * decrose.h (INIT_SECTION_ASM_OP): Define as .init. - -Thu Feb 6 10:07:17 1992 Tom Wood (wood at dg-rtp.dg.com) - - * m88k.c (preserve_registers): Change to walk the epilogue delay - insns in the forward rather than reverse order (for reorg.c change). - -Thu Feb 6 02:54:28 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * cse.c (simplify_binary_operation, case PLUS): Don't make - a (const (plus X Y)) with X a CONST_INT. - - * fixincludes: Simplify egrep command. - -Thu Feb 6 01:11:28 1992 Mark Eichin (eichin at cygnus.com) - - * 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) +Fri Jun 5 14:58:43 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * 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. + * pyr.h (REGNO_OK_FOR_{INDEX,BASE}): Correctly test reg_renumber. + * configure (pyramid): Turn it back on. -Wed Feb 5 18:01:12 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * varasm.c, hp800.h, i386.h, m88k.h, mips.h, romp.h, vms.h: - (ENCODE_SECTION_INFO): Renamed from ENCODE_SEGMENT_INFO. - - * sparc.md (nonlocal_goto): Copy static chain into - virtual_stack_vars_rtx, not frame pointer itself. - (nonlocal goto return recognizer): Jump to %o0+0. - - * toplev.c (main): Fix test for -Wid-clash. - -Wed Feb 5 16:58:15 1992 Ron Guilmette (rfg at ncd.com) - - * dwarfout.c (dwarfout_init): Add two words containing the starting - and ending address of the .text section for this compilation unit to - the special initial entry in the .debug_srcinfo section. +Thu Jun 4 11:26:55 1992 Torbjorn Granlund (tege@mole.gnu.ai.mit.edu) -Tue Feb 4 14:51:16 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * dbxout.c (dbxout_symbol): Handle DBX_OUTPUT_CONSTANT_SYMBOL. - (dbxout_block): Handle DBX_OUTPUT_CATCH. - - * cccp.c (lookup_import, add_import, do_include): - Use bcmp and bcopy to access st_ino and ->inode fields. - - * dbxout.c (dbxout_init): Pass syms to DBX_OUTPUT_STANDARD_TYPES. - - * 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. - - * c-common.c (c_expand_expr_stmt): Test for ERROR_MARK as type. - -Tue Feb 4 12:03:26 1992 Michael Tiemann (tiemann at cygnus.com) - - * stmt.c (expand_end_case): Don't crash if function called - is not an ADDR_EXPR. - -Tue Feb 4 14:17:22 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.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. - -Tue Feb 4 00:27:35 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Makefile.in (protoize.1, unprotoize.1): Rename temp files < 14 chrs. - - * cccp.c (skip_if_group): Make unknown cmd name a pedantic warning. - -Mon Feb 3 18:10:41 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * romp.h (LEGITIMATE_CONSTANT_P, ENCODE_SEGMENT_INFO): Use - SYMBOL_REF_FLAG. - - * x-romp-mach: New file. - * configure (romp-*-mach*): New alternative. - -Mon Feb 3 16:43:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * cp-typeck.c (warn_for_assignment): Print arg num in origin 1. - - * sparc.md (nonlocal_goto trap recognizer): Fix opcode spelling. - - * function.c (fix_lexical_addr): Properly search for correct display. - - * romp.h (OVERRIDE_OPTIONS): Don't set flag_omit_frame_pointer. - -Mon Feb 3 11:11:58 1992 Michael Tiemann (tiemann at cygnus.com) - - * gcc.c (@c++-cpp-output): Delete extraneous "}}}" at the end of the - rule. - -Mon Feb 3 11:38:19 1992 Ron Guilmette (rfg at ncd.com) - - * 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. - - * 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. - - * dwarfout.c (dwarfout_init): Output compilation directory name as - the first thing in the .debug_sfnames section. - -Mon Feb 3 04:12:51 1992 James Van Artsdalen (james at bigtex.cactus.org) - - * Makefile.in (install-dir): `parent' is a shell variable. - -Mon Feb 3 09:43:51 1992 Tom Wood (wood at dg-rtp.dg.com) - - * m88k.h (EXTRA_SECTIONS): Use init and fini sections from svr3.h, - but only when using svr3.h. - -Sun Feb 2 19:50:29 1992 James Van Artsdalen (james at bigtex.cactus.org) - - * i386.h (ADDRESS_COST): New macro. - -Sun Feb 2 17:08:47 1992 Michael Meissner (meissner at osf.org) - - * 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. + * pa.c (output_move_double): Handle overlapping moves between + registers. -Sun Feb 2 16:58:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Jun 3 22:08:18 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Do ON_EXIT last. + * fold-const.c (fold, NOP_EXPR case): Don't drop intermediate in + (unsigned int) (unsigned short) char-variable. - * Makefile.in (install-dir): Create the parent of mandir if nec. +Wed Jun 3 11:18:43 1992 Ron Guilmette (rfg at ncd.com) - * real.h (REAL_VALUE_TRUNCATE): sizeof says what cast to float does. + * stdarg.h (va_arg): Use casts to avoid doing (pedantically invalid) + arithmetic on `void *' values when __svr4__ is defined. - * 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. +Wed Jun 3 17:51:21 1992 Torbjorn Granlund (tege@zevs.sics.se) -Sun Feb 2 12:51:54 1992 Michael Tiemann (tiemann at cygnus.com) + * longlong.h (sparc): Test symbol __sparcv8__ for sparc.h conformance. - * cp-typeck.c (build_component_ref_1): Call `compute_visibility' - with a BASETYPE_PATH, not a TREE_LIST. +Wed Jun 3 16:22:38 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * cp-class.c (build_vtable_entry): Apologize if we cannot build a - proper vtable because of builtin liminations. + * sparc.c (print_operand): Correct typo. + (sparc_type_code): Correctly handle C int and float types. -Sun Feb 2 07:30:08 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * sparc.h (CONSTANT_ALIGNMENT): Align strings to 8 byte boundary. + (DATA_ALIGNMENT): Likewise for character arrays. - * reload.c (combine_reloads): Don't combine two reloads with different - secondary reloads; copy secondary reload to combined reload. + * i960.c (function_prologue): Fixed calculation of offsets for + compiler's register save area. - * 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. - - * flow.c (find_basic_blocks): Don't separate a CALL_INSN from - following CLOBBER insns. + * sparc.md (mulsi3,mulsidi3,umulsidi3,divsi3,udivsi3): Patterns + added to support V8 sparc architectures. + * sparc.h (TARGET_DEFAULTS): Add -mv8 and -msparclite options. - * 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. + * reload1.c (reload): If can't satisfy reload for a group of more + than two registers, then abort to avoid an infinite loop. + (count_possible_groups): Skip to last reg of group, not first reg + of next group. - * 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. +Wed Jun 3 14:35:00 1992 Tom Wood (wood at gen-rtx) - * 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. + * c-lex.c (yylex): Let skip_white_space handle \r. -Sat Feb 1 14:41:34 1992 Ken Raeburn (Raeburn@Cygnus.COM) + * expr.c (expand_builtin, fsqrt case): Stabilize the argument in + case a library call is done. - * 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. + * final.c (final_scan_insn): Function begin, and block begin/end + notes are "real" in that they depend on the current line number. -Sat Feb 1 09:13:47 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Wed Jun 3 14:34:28 1992 Michael Meissner (meissner@osf.org) - * xm-rs6000-mach.h, rs6000-mach.h: New files. - * configure (rs6000-*-mach): New option. + * mips.md (andsi3_internal2): Fix typo in previous change, to + use %3, the clobbered register, instead of %@, the assembler + temporary. + (iorsi3_internal2): Ditto. + (xorsi3_internal2): Ditto. -Sat Feb 1 00:57:24 1992 James Van Artsdalen (james at bigtex.cactus.org) + * mips.h (MIPS_VERSION): Bump Meissner version # to 20. + (final_prescan_insn): Add declaration. + (lui_int): Add declaration. + (FINAL_PRESCAN_INSN): Just call final_prescan_insn. - * 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. + * mips.c (lui_int): New function, return true if value fits in a + LUI instruction. + (final_prescan_insn): Move the checking for filling the delay + slots here from the FINAL_PRESCAN_INSN macro. If the safe + attribute is set, we do not need a NOP to fill a load delay slot. - (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. + * mips.md (safe attribute): New attribute to indicate that the + current insn is safe to fill a delay slot even if the register + operand(s) are set in the load instruction which has the delay + slot. This is for and/ior/xor expansions that have a large + constant integer as operand[2]. The load of the constant can + overlap the load. + (andsi3, iorsi3, xorsi3): Replace logical define_insn's with + define_expand's that either map directly to the hardware + instruction, or have a clobbered register to load the large + constant into. This is instead of using $1 to hold the + intermeidate value. Set the safe attribute to yes for the cases + where we need to load the integer. Add define_split's to break + the large logical operations into the separate pieces. - (output_387_binary_op): abort if the op is not one we handle. +Wed Jun 3 00:00:36 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - (maximum_field_alignment): New variable. - (handle_pragma_token): New function. Handle `weak' and `pack'. + * cccp.c (do_warning): Do just a warning, not an error. - * 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. +Tue Jun 2 17:30:09 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - (GO_IF_LEGITIMATE_ADDRESS): If flag_pic is true, reject bare - label or symbol references, but allow constant pool references. - In all cases, don't bother to check for a constant as the first - operand of a PLUS. - (LEGITIMIZE_ADDRESS): Call legitimize_pic_address for symbolic - references if flag_pic is true. In all cases, HImode regs are not - valid memory pointers. - (LEGITIMATE_PIC_OPERAND): New macro. - (SYMBOLIC_CONST): New macro. - (ENCODE_SEGMENT_INFO): New macro to notice static variables. - (CONST_COSTS): Symbolic constants cost more if flag_pic is true. + * cse.c (cse_basic_block): When a jump becomes unconditional, + check whether this caused TO to be deleted. - * 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. +Tue Jun 2 16:11:42 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * svr4.h (SELECT_SECTION): Any item whose initial value involves - linker relocation must go in the data section if flag_pic is true. + * combine.c (subst, case IF_THEN_ELSE): Don't try reversing + something that isn't a comparison. - * 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. +Tue Jun 2 16:50:47 1992 Jim Wilson (wilson@sphagnum.cygnus.com) - (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. + * cccp.c (do_pragma): Don't warn about #pragma once if used in a + system header file. -Sat Feb 1 00:15:41 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Jun 2 15:21:07 1992 Michael Meissner (meissner@osf.org) - * 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. + * mips.h (MIPS_VERSION): Bump Meissner version # to 19. + (ASM_OUTPUT_DOUBLE): Call mips_output_double. + (ASM_OUTPUT_FLOAT): Call mips_output_float. - * dbxout.c (dbxout_init): Vars wd and wd_gotten moved to top level - and renamed to cwd and cwd_gotten. + * mips.c (mips_output_double): If REAL_VALUE_TO_TARGET_DOUBLE is + defined, use it to split the floating point value into 2 long + integers, and print them out in hex. Otherwise use .double. + (mips_output_float): If REAL_VALUE_TO_TARGET_FLOAT is defined, use + it to split the floating point value into a long integer, and + print in out in hex. Otherwise use .float. - * c-decl.c (start_function): -Wmissing-prototypes warns if static - function was previously used without a prototype. + * dec-osf1.h (new file): Config file for DEC's offical OSF/1 + product (as opposed to the OSF/1 reference port from OSF). - * loop.c (find_and_verify_loop): Initialize uid_loop_num[0]. - (loop_optimize): Give up fast if no loops. + * configure: Support mips-dec-osf1 target. + * config.sub: Support mips-dec-osf1 target. - * stmt.c (expand_end_bindings): Don't adjust fp in nonlocal goto hndlr - if there is a nonlocal_goto insn. + * decstatn.h (CPP_PREDEFINES): If CPP_PREDEFINES is defined, don't + supply another definition. Also, define _SYSTYPE_BSD. - * Makefile.in (cccp.o): Use just libdir in GPLUSPLUS_INCLUDE_DIR. +Mon Jun 1 00:04:01 1992 Ron Guilmette (rfg at ncd.com) - * gcc.c (do_spec_1): Supply missing arg in some recursive calls. + * gstdarg.h (va_list) [__svr4__]: Typedef it to `void *'. + * va-sparc.h (__va___list) [__svr4__]: Typedef this as `void *'. -Fri Jan 31 21:50:03 1992 Jeffrey A. Law (law at wombat.gnu.ai.mit.edu) +Sun May 31 15:26:32 1992 John F Carr (jfc at Achates.mit.edu) - * m68k.h (OVERRIDE_OPTIONS): -fPIC is only supported on the 68020 - and later cpus. Give an error if -fPIC is tried on a 68000. + * calls.c (stack_arg_under_construction): New variable. + (store_one_arg): Set stack_arg_under_construction before calling + expand_expr if expand_expr might call a constructor to initialize + a stack argument. + (expand_call): Push the stack around function calls if + stack_arg_under_construction is nonzero. + Also copy structure_value_addr in that case. + Push the stack around an inline function if it makes calls + and there are outgoing arguments on the stack which must be preserved. + Move the call to expand_cleanups_to before that. + Do this stack adjustment before computing argument locations. -Fri Jan 31 21:39:33 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Sun May 31 01:03:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * flow.c (find_auto_inc): If emitting a move insn in front of the - first insn in a block, update basic_block_head. + * sdbout.c (sdbout_symbol): Test DECL_IGNORED_P only for + variables and types. + * dwarfout.c (output_decl): Never ignore a FUNCTION_DECL + even if DECL_IGNORED_P is set. - * caller-save.c (init_caller_save): Correctly check for case where the - save or restore insns aren't recognized. +Sat May 30 07:07:55 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) -Fri Jan 31 21:02:35 1992 Mark Eichin (eichin at cygnus.com) + * rs6000.h, romp.h (FUNCTION_ARG): Fix typo in last change. - * 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. + * combine.c (subst, significant_bits, simplify_comparison): + Only look at STORE_FLAG_VALUE if comparison result is integer. -Fri Jan 31 00:14:20 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri May 29 18:04:45 1992 Ron Guilmette (rfg at ncd.com) - * 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. + * dwarfout.c (output_decl): Moved test for ERROR_MARK node out of + switch statement and added a test for DECL_IGNORED_P after that. + (dwarfout_file_scope_decl): Check input node to see if it is an + ERROR_MARK before checking for DECL_IGNORED_P. Also makes sure that + any node marked as DECL_IGNORED_P isn't also a function definition. - * gcc.c (S_ISDIR): Add default definition. +Fri May 29 14:46:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * function.c (expand_function_end): - Set up arg_pointer_save_area at start of function. + * integrate.c (expand_inline_function): + Don't discard setting return value from a volatile source. - * c++: Accept -nostdlib, not -nostinc. + * c-decl.c (init_decl_processing): If traditional, strlen returns int. + (sizet_ftype_string): Deleted. - * va-sparc.h: If GCC v1, define __extension__ as nothing. - * va-i860.h, va-pyr.h, va-spur.h: Likewise. + * expr.c (expand_builtin, fsqrt case): Return proper mode if arg error. - * cp-class.c (finish_struct): Fill in DECL_ALIGN of vtable field. +Fri May 29 13:36:32 1992 Tom Wood (wood@dg-rtp.dg.com) - * regclass.c (reg_class_record): - Don't follow indirect loops in constraints. + * m88k.c (m88k_builtin_saveregs): Don't copy result to a register. - * 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. + * m88k.h (FIXED_REGISTERS): Allow use of r1. + (REG_LEAF_ALLOC_ORDER): Choose r1 last. + (REG_ALLOC_ORDER): Choose r1 before any preserve register. + (ORDER_REGS_FOR_LOCAL_ALLOC): Switch between orderings. + * m88k.c (m88k_layout_frame): Save r30 when used as an ordinary + register. - * cse.c (cse_main): Calls do clobber arg pointer if not fixed. + * m88k.h (CHECK_FLOAT_VALUE): Delete, not needed. + * m88k.c (check_float_value): Delete, not needed. - * hp320.h (HAVE_ATEXIT): New definition. + * m88k.c (mostly_false_jump): Fix return check. - * 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. + * m88k.md (mstore type): Delete. + (return, indirect_jump): These are jumps, not branches. + * m88k.c (eligible_for_epilogue_delay): No TYPE_MSTORE insns. - * stmt.c (expand_end_bindings): Fix typo. +Fri May 29 12:33:21 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Jan 31 12:15:09 1992 Ron Guilmette (rfg ay ncd.com) + * reload1.c (emit_reload_insns): Add missing arg to gen_input_reload. - * 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. +Fri May 29 06:43:15 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) -Fri Jan 31 10:31:44 1992 James Van Artsdalen (james at bigtex.cactus.org) + * rs6000.h, romp.h (FUNCTION_ARG): Don't put variable-sized + operands in registers. - * cp-tree.c (__eprintf): Make definition match assert.h - declaration. + * explow.c (emit_stack_{save,restore}): Don't call validize_mem + on a null rtx. -Thu Jan 30 23:17:11 1992 Per Bothner (bothner at cygnus.com) + * cse.c (cse_insn): Don't call canon_reg on entry from + hash table; instead, call it after we did the substitution. - * c++: The flags -c, -S, or -E suppress passing -lg++ - to gcc. (Otherwise, gcc prints a warning.) +Thu May 28 18:47:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Jan 30 21:10:02 1992 Ron Guilmette (rfg at ncd.com) + * fixincludes (malloc.h): Allow space or tab btwn typedef and char. - * dwarfout.c (dwarfout_init): Fix generation of initial .debug_aranges - entry to be Dwarf Version 1 compliant. +Thu May 28 17:35:37 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) -Thu Jan 30 15:51:27 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * reload1.c (reload_as_needed): Properly disable optional reload + that we can't do. + Don't abort if disabled reload uses a register we don't have. - * 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. +Thu May 28 14:43:01 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cccp.c (default_include): Delete use of obsolete - NO_STANDARD_INCLUDE_DIR macro. - * protoize.c (default_include): Likewise. + * next.c (get_directive_line): Declare it. - * Makefile.in (libgcc1.null): Delete dummy.o and dummy.c. + * defaults.h (ASM_OUTPUT_ASCII): Use unsigned chars. -Thu Jan 30 15:34:06 1992 Michael Meissner (meissner at osf.org) + * i860v4.h, i386v4.h, sparcv4.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): + Use the override definitions only if word order matches host. - * gstdarg.h: Include va-mips.h on MIPS systems. +Wed May 27 17:32:36 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.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. + * unroll.c (find_splittable_givs): When completely unrolling loop, + precompute giv value into a reg before loop if it is complex. -Thu Jan 30 13:06:36 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * sparc.c (singlemove_string): Handle SFmode CONST_DOUBLE. + * sparc.h (PREFERRED_RELOAD_CLASS): Don't allow reloads of + constants to FP registers, nor reloads of FP constants that won't + match the 'E' constraint. + * sparc.md (movsf-1): Add pattern to efficiently handle SFmode + constants. - * Makefile.in (install-common): Get c++ and g++ from srcdir. + * sparc.md (lo_sum:DI pattern): Use constraint "0" for operand 1. - * i860.h (FIXED_REGISTERS): Arg pointer is no longer fixed. + * i960.h (OVERRIDE_OPTIONS): Disable function inlining. - * assert.h (__eprintf): Add const to string args in GCC ANSI case. + * function.c (assign_parms): When MAYBE_REG_PARM_STACK_SPACE, + don't assume that register parameters already have a stack slot. + * i960 (*): Change all tests of current_functions_args_size from + 48 to 0 due to above change. + * i960.md (*): Likewise. + + * sparc.h (LONG_DOUBLE_TYPE_SIZE): Add ifdefed out definition. + (FIXED_REGISTERS): g4 is not a fixed register. + (RETURN_IN_MEMORY): Define. + (FUNCTION_ARG_PASS_BY_REFERENCE): Also pass TFmode by reference. + + * fixincludes: Fix stdio.h and math.h for Ultrix 4.0. + +Tue May 26 15:29:21 1992 Brendan Kehoe (brendan@cs.widener.edu) + + * x-we32k: new file, need alloca.o + * xm-we32k.h [NO_SYS_SIGLIST]: define this + * we32k.h [STRICT_ALIGNMENT] define as `1' + [NO_WAIT_H]: also define this + * collect2.c [NO_WAIT_H]: don't include sys/wait.h if this is + defined. - * Makefile.in (cccp.o, protoize.o, unprotoize.o): - Define LOCAL_INCLUDE_DIR based on $(prefix). + * Makefile.in (clean): rm libgcc1.null. - * stmt.c (expand_end_bindings): Arg pointer needs no special - treatment if not fixed. +Wed May 27 15:36:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-parse.y, c-lex.c (yyerror): - Avoid sign-extension of characters in error messages. + * real.h (REAL_VALUE_TO_TARGET_SINGLE): Test HOST_BITS_PER_WORD right. -Thu Jan 30 11:39:56 1992 Ron Guilmette (rfg at ncd.com) + * i386sco.h (SIZE_TYPE): New definition. - * dwarfout.c (dwarfout_finish): Fix generation of .debug_pubnames - terminating entry to be 4-bytes of zero followed by a null string. + * c-typeck.c (build_binary_op): When shortening, handle case + where op0 and arg0 are different but have same width. op1/arg1 too. -Thu Jan 30 09:30:19 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * toplev.c (compile_file): Cast xmalloc when arg to setvbuf. - * rs6000.c (ccr_bit): Fix typo causing reference to possibly - undefined operand. + * expmed.c (expand_divmod): Clear can_clobber_op0 if doing mod. - * 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 (protoize.1, unprotoize.1): Delete target before mv'ing. + (mostlyclean): Delete tmp-unproto.1. -Wed Jan 29 21:50:26 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * sdbout.c (sdbout_symbol, sdbout_toplevel_data): Test DECL_IGNORED_P. + * dwarfout.c (dwarfout_file_scope_decl): Likewise. - * rs6000.h (ASM_SPEC): Add -u, now require new /bin/as for AIX. - (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): No longer needed. +Wed May 27 13:48:36 1992 James Van Artsdalen (james at bigtex.cactus.org) - * 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. + * i386.md (ashldi3,ashrdi3,lshrdi3): Fix typo in comparison. -Wed Jan 29 17:17:42 1992 Michael Tiemann (tiemann at cygnus.com) +Wed May 27 02:11:22 1992 Ron Guilmette (rfg at ncd.com) - * cp-init.c (build_member_call): Fix bug involving static members - that are function pointers. + * i386v4.h, i860v4.h, sparcv4.h: Include real.h. + (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): + New definitions, if host and target formats match. -Wed Jan 29 13:25:18 1992 Tom Wood (wood at dg-rtp.dg.com) + * real.h (REAL_VALUE_TO_TARGET_SINGLE, REAL_VALUE_TO_TARGET_DOUBLE): + Defined, but only if host and target formats match. - * gcc.c (do_spec_1): For %D, only add -L options that are relevant. - (is_linker_dir): Determine if a -L option is relevant. +Wed May 27 06:20:26 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) -Wed Jan 29 00:57:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * reload1.c (reload_as_needed): For asm insn, check all reload + insns for validity. + (emit_reload_insns, gen_input_reload): Remove previous change that + checked them here. + * recog.c (constrain_operands, case 'm', 'o', 'g'): Accept pseudo if + reload is in progress. - * configure: Turn ns32k alternatives back on. +Tue May 26 19:24:21 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in (getopt.o, getopt1.c): Join two lines into one. + * combine.c (combinable_i3pat): Allow a hard register as the + destination even if SMALL_REGISTER_CLASSES if source is a CALL. - * x-i386v4, x-i860v4 (GCC_CFLAGS): Add missing `-B./'. + * emit-rtl.c (gen_lowpart_common): Fix handling of int->float + union conversions. - * reload.c (find_dummy_reload, push_reload): Don't reuse dying input - reg as a reload if it is a fixed reg. +Tue May 26 19:23:43 1992 Jim Wilson (wilson@sphagnum.cygnus.com) - * c-tree.h (C_MISSING_PROTOTYPE_WARNED): Deleted since unused. + * a29k.h (HARD_REGNO_MODE_OK): Don't let anything larger than + UNITS_PER_WORD be allocated to an odd numbered register. -Wed Jan 29 00:42:34 1992 Tim Moore (moore at fast.cs.utah.edu) +Tue May 26 15:22:27 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * config.sub (defaulting the OS): Separate subversions with periods. - * 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. + * limits.h: Fix condition for defining long-long macros, to suit libc. -Tue Jan 28 17:04:38 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * Makefile.in (specs): New target. + (gcc): Don't write `specs' here. + (start.encap): Depend on `specs'. + (all.cross): Depend on EXTRA_PARTS. + (rest.cross): New target. - * varasm.c (make_decl_rtl): Delete unused var `i'. + * c-common.c (declare_function_name): + Set TREE_USED, not TREE_NO_UNUSED_WARNING. - * c-convert.c (convert_to_pointer): - Abort if no integer type is as wide as a pointer. +Tue May 26 04:52:53 1992 Michael Meissner (meissner@osf.org) - * gcc.c (default_compilers, .i case): Add error message for -pg - and -fomit-frame-pointer incompatibility. + * loop.c (loop_has_volatile): New static variable to record + whether the loop has any volatile references in it. + (prescan_loop): Set loop_has_volatile. + (check_dbra_loop): Don't reverse loop if there are any volatile + references in it. - * Makefile.in (install-common): Install c++ and g++ shell scripts in - bindir. +Mon May 25 16:04:08 1992 James Van Artsdalen (james at bigtex.cactus.org) -Tue Jan 28 15:44:10 1992 Michael Collison (collison at osf.org) + * i386gas.h (ASM_OUTPUT_OPCODE): Translate "repnz" to "repne". + * seq386gas.h (ASM_OUTPUT_OPCODE): Likewise. - * x-encrose (OLDCC): changed to $(GNU_ROSE_BIN)/gcc +Mon May 25 15:53:31 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * ns32k.h: Added trampoline code. + * optabs.c (emit_indirect_jump): Emit barrier here. + * stmt.c (expand_computed_goto): Not here. -Tue Jan 28 14:19:52 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Mon May 25 06:22:59 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * 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. + * cse.c (canon_reg): Must call validate_change if insn has any + MATCH_DUPs even if replacing a pseudo with another pseudo. -Tue Jan 28 11:50:35 1992 Michael Meissner (meissner at osf.org) + * explow.c (emit_stack_{save,restore)}: Call validize_mem on save area. - * mips.c (toplevel): Add include of , since isdigit is - used. + * combine.c (simplify_shift_const, case PLUS): Simplify cases where + the PLUS is just turning on bits that will be shifted out. -Tue Jan 28 05:47:08 1992 Michael Tiemann (tiemann at cygnus.com) + * emit-rtl.c (gen_lowpart_common): Add new case for single-word + float->integer conversion; all others already present. + Check for -fpretend-float in this and the other cases. - * 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. + * stmt.c (expand_goto): Fix typo in previous change. - * cp-class.c (pushclass): Forcibly remove any remnants of incomplete - type that was previously pushed. + * reload1.c (gen_input_reload): When checking for validity of + reloads made for asms, also check the constraints. - * 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. + * explow.c (allocate_dynamic_stack_space): Don't add to size + if we aren't going to need to align the size. - * 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. + * fold-const.c (fold, case *_DIV_EXPR): Fold (a * C1) / C2 for + some C1 and C2. - * cp-call.c (ideal_candidate): Don't convert PARMS in place if - BASETYPE is NULL_TREE. +Sun May 24 14:07:53 1992 Ron Guilmette (rfg at ncd.com) -Tue Jan 28 02:21:31 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * toplev.c (main): + Fix typo setting use_gdb_dbx_extensions in xcoff case. - * c-decl.c (grokdeclarator): Use `auto' for nested fn fwd decls. + * c-decl.c (pushdecl): Call `build_type_copy' rather than calling + `c_build_type_variant' to duplicate a type. - * g++: New file. +Sun May 24 16:56:09 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * 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. + * reload1.c (reload): Refine setting of basic_block_needs. - * gcc.c (do_spec_1): For %D, also make -L's for startfile_prefix. - Also append the machine +Sun May 24 15:43:08 1992 John F Carr (jfc at Achates.mit.edu) - * fold-const.c (fold_convert): Properly handle real-to-real case. + * combine.c (try_combine): Don't split an insn if that would move + a use of a register across a set of the same register. - * configure (i486-*-sysv4*): New alternative. +Sun May 24 14:50:38 1992 James Van Artsdalen (james at bigtex.cactus.org) -Tue Jan 28 00:37:24 1992 Ron Guilmette (rfg at ncd.com) + * reg-stack.c (constrain_asm_operands): Ignore constraint letters + following '#' in each alternative. - * dwarfout.c (location_attribute): Fix handling of objects which - were optimized out of existance for Dwarf Version 0 compliance. +Sun May 24 02:28:45 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Jan 28 00:42:57 1992 James Van Artsdalen (james at bigtex.cactus.org) + * gcc.c (pexecute): New alternative definition for OS2. + Take SEARCH_FLAG as arg instead of FUNC. + (execute): Change call to pexecute. - * Makefile.in (mostlyclean): Delete stack dump files too. + * toplev.c (main): Don't run ps for -dm if on OS2. -Mon Jan 27 18:26:27 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cccp.c (main): Use PATH_SEPARATOR computing num_dirs. + (path_include): Likewise, setting q. - * rs6000.h (HAVE_ATEXIT, NO_DOLLAR_IN_LABEL): Now defined. + * gcc.c: Include sys/file.h. -Mon Jan 27 13:32:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Makefile.in (extraclean): Delete install1.texi. - * 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. +Sat May 23 14:14:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cccp.c (main): Add terminating null, then call trigraph_pcp. + * crtstuff.c (__do_global_ctors) [not INVOKE__main]: Make body empty. - * fixincludes, fixinc.svr4: Fail unless an arg was given. - * Makefile.in (install-fixincludes): Pass output dir as argument. + * fold-const.c (float_error): Renamed from const_binop_error. + (const_binop, fold_convert): + Call set_float_handler around REAL_VALUE_TRUNCATE. - * Makefile.in: Renamed libgcc[12] to libgcc[12].a. - Likewise for tmplibgcc[12]. + * Makefile.in ($(srcdir)/INSTALL): New target. + (doc): Depend on that. + ($(srcdir)/gcc.info, $(srcdir)/cpp.info): Delete $(srcdir) from deps. + ($(srcdir)/gcc.info): List all subfiles as deps. - * toplev.c (rest_of_decl_compilation): Treat all fcns as if external. + * math-68881.h: Use %! instead of fpcr. - * Makefile.in (TAGS): Do the work in srcdir. - Include c-parse.h in files to move. + * install.sh: New file. + * configure: Changed install_with_cp to broken_install. + Test that flag for the host, not for the target. + If set, use install.sh. -Mon Jan 27 10:54:24 1992 Jim Wilson (wilson at sphagnum.cygnus.com) + * Makefile.in (EXTRA_HEADERS): New variable. + (USER_H): Use that. + * configure: Let alternatives set EXTRA_HEADERS via var header_files. + (m68k-...): Set header_files to install math-68881.h. - * cccp.c (get_filename): Don't pass -1 file descriptor to close. + * Makefile.in (install-dir): Create (libsubdir)/include. + (install-limits-h, install-float-h): Depend on install-dir. -Mon Jan 27 00:26:33 1992 Michael Tiemann (tiemann at cygnus.com) + * Makefile.in (gcc.xtar): Warn if version in gcc.texi is old. - * 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. + * genconfig.c (main): Add 1 when outputting MAX_RECOG_OPERANDS. + Initialize to just 9. - * cp-decl2.c (grokfield): Don't specially hack static member - function names. + * gcc.c (MD_STARTFILE_PREFIX_1): New config macro. + (main): Use that like MD_STARTFILE_PREFIX. - * cp-except.c (cplus_expand_raise): Test correct predicate that we - have a non-null value return. - (cplus_expand_{throw,reraise}): Ditto. +Sat May 23 08:13:38 1992 John F Carr (jfc at Achates.mit.edu) - * cp-typeck.c (c_expand_return): Handle case where named return - value has incomplete type. + * reload1.c (reload): Copy MEM_IN_STRUCT_P flag when converting + pseudo register to equivalent memory location. -Sun Jan 26 20:50:55 1992 Michael Tiemann (tiemann at cygnus.com) +Sat May 23 07:12:15 1992 Michael Meissner (meissner@osf.org) - * cp-parse.y (LC): Fix rule to use `push_obstacks_nochange'. - (structsp): Use `pop_obstacks'. + * x-iris (OLDCC): Add -cckr to turn off strict ANSI checking. -Sun Jan 26 17:39:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * mips.c (current_function_name): Delete definition, function.c + defines this and mips.h has a declaration. - * c-parse.y (LC): Use push_obstacks_nochange and always call - end_temporary_allocation. - (structsp, template_instantiate_once): After LC, use pop_obstacks. + * longlong.h (mips umul_ppmm): Use "d" constraint instead of "r", so + that we know the value is an integer register. - * c-decl.c (grokdeclarator): - Static function decl within a function is not external. +Sat May 23 01:14:49 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sun Jan 26 08:14:53 1992 Michael Meissner (meissner at osf.org) + * vax.h (PRINT_OPERAND): Undo last change. + Fix the comment instead. - * 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. + * x-dpx2200, x-dpx2300 (ALLOCA_FINISH, AS): New variables. - * 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. +Fri May 22 01:52:22 1992 Ron Guilmette (rfg at ncd.com) - * 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. + * svr4.h (MD_EXEC_PREFIX): Added definition. - * decrose.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define these to - use the defaults on the OSF/1 reference platform. - (i386rose.h): Likewise. + * protoize.c [POSIX]: Include dirent.h rather than sys/dir.h. + (_POSIX_SOURCE): Undef before defining. + (getpwd): Change declaration to an `extern'. + (open): Add declaration in the #if 0 section along with fprintf. + (link, unlink, access, execvp): Add `extern' declarations. + (strlen): Don't mention arg type in declaration. + (main): Declare `params' as `const char *' to avoid botch when doing + test-protoize-simple. -Sun Jan 26 07:58:00 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Fri May 22 17:15:36 1992 John F Carr (jfc at Achates.mit.edu) - * cse.c (cse_insn): Don't call insert_regs on a SUBREG. - When scanning table for SUBREG assignment, ignore invalid entries. + * calls.c (expand_call): Allocate stack space for arguments passed + in registers when OUTGOING_REG_PARM_STACK_SPACE is defined and + stack space has not been preallocated. - * cse.c (cse_insn): When looking for first non-deleted entry in - table, start by scanning backwards from the deleted entry. +Fri May 22 17:16:55 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * function.c (assign_parms): Set current_function_return_rtx - unconditionally. - (expand_function_start): Don't set it here. + * combine.c (simplify_comparison): Try to reduce size of a + constant by changing comparison code; don't only do for 1 and -1. -Sat Jan 25 06:44:16 1992 Mark Eichin (eichin at cygnus.com) + * reload.h (reg_equiv_memory_loc): Declare. + * reload.c (refers_to_regno_for_reload_p): Use reg_equiv_memory_loc + instead of reg_equiv_mem and reg_equiv_address; look for constant. + (reg_overlap_mentioned_for_reload_p): LIkewise. + Use new function to check for MEM. + (refers_to_mem_for_reload_p): New function. + * reload1.c (reg_equiv_memory_loc): No longer static. - * 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. - -Fri Jan 24 18:03:36 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * tree.c (pop_momentary): Don't reference freed stack entry. - -Fri Jan 24 14:20:05 1992 Michael Tiemann (tiemann at cygnus.com) - - * 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. - - * cp-tree.c (lang_printable_name): Use DECL_RING, and don't free - the printable name for CURRENT_FUNCTION_DECL. - -Fri Jan 24 14:17:30 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * gvarargs.h: If _ANSI_H, undef _VA_LIST_. - - * c-typeck.c (pointer_int_sum): Don't distribute * into pointer diff. - - * hp320.h (MD_STARTFILE_PREFIX): Defined. - (STANDARD_STARTFILE_PREFIX): Deleted. - -Fri Jan 24 09:30:41 1992 Fred Fish (fnf at fishpond) - - * assert.h (__eprintf): Declare as prototype for __STDC__ - -Fri Jan 24 05:28:53 1992 James Van Artsdalen (james at bigtex.cactus.org) - - * i386.md (jump,indirect_jump,tablejump): Don't output an align - directive here: let the following BARRIER do it. - -Thu Jan 23 11:54:11 1992 Ron Guilmette (rfg at ncd.com) - - * i486v4.h: New file. - -Thu Jan 23 20:34:22 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) - - * fixinc.svr4: Surround uses of ${INPUT} with "" instead of '' - so that it will get expanded. - -Thu Jan 23 17:50:13 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.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. - - * rs6000.h (ADDITIONAL_REGISTER_NAMES): Add so we can disambiguate - fixed and floating registers. - - * rs6000.md (ashrdi3): Reject all but constant shift counts. - - * jump.c (simplejump_p): Don't access PATTERN unless we know it is - a JUMP_INSN. +Fri May 22 17:15:12 1992 Ron Guilmette (rfg at ncd.com) - * combine.c (get_last_value): Don't do a recursive call for a - paradoxical SUBREG. + * Makefile.in (test-protoize-simple): Only delete files made by this + target (not the man pages!) + (test-protoize-simple): Use -x option to avoid munging getopt.h. + (test-protoize-simple): Fixed number of differences message. + (mostly-clean): Properly remove all temp files relating to protoize/ + unprotoize. + (install-common): Force removal of previously installed g++ and c++ + command files before trying to install new ones. - * 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. + * spc-sol2.h: New file. - * stor-layout.c (layout_type): Handle alignment for arrays the same - as we do for records and unions. + * configure (sparc-*-solaris2*): New configuration added. - * calls.c (expand_call): Ignore `const' on void functions. + * x-sparcv4 (X_CFLAGS): Removed -Bstatic and -dn options. - * 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. +Fri May 22 15:30:05 1992 Chip Salzenberg (chip@tct.com) - * 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. + * c-common.c (declare_function_name): Move from c-decl.c. + Construct function names instead of expecting them as parameters. + Set TREE_READONLY and other attributes before calling pushdecl. + * c-decl.c (init_decl_processing, store_parm_decls): Calls changed. + (declare_function_name): Remove to c-common.c. -Thu Jan 23 13:33:40 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-decl.c (init_decl_processing, store_parm_decls): + Call declare_function_name. - * i386v4.h (CPP_PREDEFINES): Don't define X86. +Fri May 22 12:15:16 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * c-lex.c (readescape): Warn for \a and \x if warn_traditional. - Handle \v as vertical tab regardless of -traditional. + * sparcv4.h (ASM_OUTPUT_CASE_LABEL): Define. - * fixincludes, fixinc.svr4: Make LIB absolute, near the beginning. +Fri May 22 11:40:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * fixincludes: Simplify egrep command while matching the same lines - (plus occasional additional lines). + * x-dpx2200, x-dpx2300 (CFLAGS): Definition deleted. - * function.c (fixup_memory_subreg): New arg UNCRITICAL. Calls changed. + * c-decl.c, cp-decl.c (pushdecl): No shadow warnings if DECL_IGNORED_P. - * gcc.c (process_command): Handle LPATH like LIBRARY_PATH. - - * svr3.h (ASM_LONG): Deleted. + * c-decl.c (declare_function_name): + Change names to __FUNCTION__ and __PRETTY_FUNCTION__ - * gvarargs.h: Ignore _VA_LIST_ if _ANSI_H_; - don't define _VA_LIST_ if already defined. + * vax.h (PRINT_OPERAND): In M case, don't complement after subtract 1. -Thu Jan 23 09:10:52 1992 Tom Wood (wood at dg-rtp.dg.com) + * c-lex.c (yylex): Use pedwarn for overflow warnings. + Pedwarn if constant doesn't fit its type. - * m88kluna.h (includes): Include aoutos.h. +Fri May 22 13:32:39 1992 Chip Salzenberg (chip@tct.com) -Thu Jan 23 09:10:52 1992 Ron Guilmette (rfg at ncd.com) + * xcoffout.h (DBX_TYPE_DECL_STABS_CODE): Was DBX_DECL_STABS_CODE. - * va-i860.h (__savereg): Fix typo. +Fri May 22 08:31:16 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - * i860.h (PREDICATE_CODES): Added definition. + * longlong.h (all machines): Define UMUL_TIME and UDIV_TIME. + Auxiliary formatting changes. + (header): Define __CLOBBER_CC and __AND_CLOBBER_CC. + (__sparc__ macros): Use them. + (__hppa__ add_ssaaaa,sub_ddmmss): Accept zero using `M' constraint. + (__hppa__ umul_ppmm): Define if _PA_RISC1_1. + (__mc88110__ umul_ppmm,udiv_qrnnd): New. + (__pyr__ umul_ppmm): Rewrite. + (default count_leading_zeros): Make it work for 64 bit longs. - * i386v4.h (ASM_FILE_START): Definition added which generates - .version directive. +Fri May 22 06:27:31 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) -Wed Jan 22 23:15:45 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + * cse.c (cse_insn): Invalidate a volatile destination. - * make-cc1.com: Predefine symbols for "rename" and "bison"; always - generate c-parse.h when generating c-parse.c. + * expmed.c (expand_divmod): Correctly handle volatile operands. -Wed Jan 22 20:01:11 1992 Per Bothner (bothner at cygnus.com) +Fri May 22 06:26:50 1992 Chip Salzenberg (chip@tct.com) - * 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. + * rs6000.h (ASM_DECLARE_FUNCTION_NAME): Use new function + xcoffout_declare_function(). + * rs6000.c (output_epilog): Shorten internal label. + (output_toc, output_function_profiler): Likewise. + * xcoffout.c (xcoffout_declare_function): New function, created + to localize knowledge of end-of-function internal label. + (xcoffout_end_epilogue): Shorten internal label. -Wed Jan 22 20:01:11 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) +Thu May 21 15:31:42 1992 Jim Wilson (wilson@sphagnum.cygnus.com) - * fixincludes: Surround uses of ${INPUT} with "" instead of '' - so that it will get expanded. + * reorg.c (relax_delay_slots): Clear INSN_FROM_TARGET_P when + remove insns from a delay slot. - * gcc.c (default_compilers): For c++, define __GNUG__ to 2, and - pass -trigraphs. +Thu May 21 13:54:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cccp.1, cpp.1, gcc.1, g++.1: Delete more RCS variables. + * reload.c (find_reloads): + Don't abort for % in last operand in asm_operands. -Wed Jan 22 19:02:06 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * alloca.c: Make symlink to master copy. - * 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. + * stmt.c (expand_asm_operands): Count nclobbers properly. -Wed Jan 22 09:25:07 1992 Tom Wood (wood at dg-rtp.dg.com) + * explow.c (allocate_dynamic_stack_space): Call mark_reg_pointer. - * c-typeck.c (comp_target_types): Make decl static. - Don't forget to return the value. - (function_types_compatible_p, comptypes): Initialize `val'. + * c-parse.y (stmt, WHILE case): Start loop *after* parsing end test. + (do_stmt_start): Broken out from DO rule. + (stmt, DO case): Use that. + Add error-handler rule for parse error in end test. -Tue Jan 21 13:29:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * sparc.h (ADDITIONAL_REGISTER_NAMES): Support `cc'. - * cross-make (ALL): Override with definition it here. - * configure: Don't edit its value explicitly here. + * c-lex.c (yylex): Pedwarn if `f' constant exceeds range of `float'. + Just once even if `f' appears twice. + This and the like warning for `double' are only if -pedantic. - * crtstuff.c (__do_global_ctors): Include DO_GLOBAL_CTORS_BODY - in crtend.o, not in crtbegin.o. +Thu May 21 08:46:30 1992 Jim Wilson (wilson@sphagnum.cygnus.com) - * 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. + * Makefile.in (STAGESTUFF): Add stamp-proto. - * 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. +Thu May 21 04:04:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * i386v.h, aix386.h: Include svr3.h. - (SCCS_DIRECTIVE, ASM_OUTPUT_IDENT): Deleted. - (TARGET_MEM_FUNCTIONS): Deleted. - (SDB_DEBUGGING_INFO, DBX_DEBUGGING_INFO): Deleted. + * svr3.h (LOCAL_LABEL_PREFIX): Override as a period. + (ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL): + Use LOCAL_LABEL_PREFIX. + * dpx2.h (LOCAL_LABEL_PREFIX): Definition deleted. + * tower-as.h (LOCAL_LABEL_PREFIX): Override as empty. - * 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. +Wed May 20 23:29:15 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) - * c-typeck.c (default_conversion): Don't use initial value if BLKmode. - If do use the initial value, update `type'. + * config-gcc.com: Take care of situation if sources are NFS mounted. - * arm.h (STRUCTURE_SIZE_BOUNDARY): New definition. +Wed May 20 14:35:10 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * stor-layout.c (layout_type): Ignore MAX_FIXED_MODE_SIZE for integers. + * jump.c (jump_optimize): Add additional validation check to + case that detects "if (foo) bar++;". - * ultrix.h (SIZE_TYPE): Use `unsigned int'. - * Makefile.in (install-common): Add missing -f in rm. - (install-fixincludes): Install the README file. +Wed May 20 13:18:09 1992 Tim Moore (moore@defmacro.cs.utah.edu) - * fixincludes: Don't match on size_t, etc., since we don't actually - change them. + * pa.md : Changed "xy" constraints to "x" constraints. + (movsi+6): Let "r" registers match too. Add define_split to change + into 2 insns if needed. + (decrement_and_branch_until_zero): New pattern. + * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Fix for TYPE == 0. + (REGISTER_MOVE_COST): Do stuff for SNAKE_FP_REGS. + (PRINT_OPERAND_ADDRESS): Write CONST_INT case. -Mon Jan 20 23:22:45 1992 Michael Tiemann (tiemann at cygnus.com) +Wed May 20 00:04:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-call.c (ideal_candidate): Don't see two functions as ambiguous - if one is argument-by-argument equivalent or better than another. + * ns32k.h (NS32K_DISPLACEMENT_P): Fix typo. + * ns32k.md (extzv-1): New pattern for extracting from SImode. -Mon Jan 20 14:08:06 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * g++: -M suppresses -lg++. - * toplev.c (strip_off_ending): Add ".ada". + * svr3.h (DO_GLOBAL_CTORS_BODY): Flush spurious #endif. -Mon Jan 20 13:53:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * reload1.c (gen_input_reload): New arg IS_ASM. Can now return 0. + (emit_reload_insns): Pass new arg. Error if it returns 0. - * protoize.c (xfree): No longer static. + * configure: Use $cpu_type to default $tm_file. - * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Allow tm.h to override. + * configure, config.sub: Correct we32 to we32k. + * configure (decstation-dec): Deleted--doesn't fit as machine alias. + (we32k): Add company default. + (fx2800): This is a machine alias, not a company default. - * final.c (leaf_renumber_regs_insn): Do just the pattern of an insn. + * configure (i386-*-bsd*, we32-att-sysv*, m68k-crds-unos*): + Missing *'s added at ends of config names. - * pyr.h (PCC_BITFIELD_TYPE_MATTERS): Defined. - (STRUCTURE_SIZE_BOUNDARY): Deleted. + * c-typeck.c (convert_arguments): Use warn_for_assignment to handle + -Wconversion. Fix typo in width-mismatch test. - * mips.c: Clean up spacing around square brackets. + * svr3.h (ASM_GENERATE_INTERNAL_LABEL): Put a * at the front. - * 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. +Tue May 19 21:53:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sun Jan 19 17:32:19 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * Makefile.in (clean): Add -f in rm *.dvi. - * reload1.c (emit_reload_insns): Fix typos when checking for secondary - icode. + * x-dpx2200, x-dpx2300 (CFLAGS): Make value conditional on CC. -Sun Jan 19 15:28:53 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * genattrtab.c (simplify_test_exp, evaluate_eq_attr): + Delete tests of current_alternative_string; they caused bugs. - * global-alloc.c (global_alloc): If LEAF_REGISTERS, those are the - regs that cost nothing to save, for setting regs_already_used. + * cross-test.c: New file. + * Makefile.in (cross-test, cross-test.o): New targets. + (all.cross): Depend on cross-test. - * expr.c (expand_builtin): Preserve function value reg - around the call to __builtin_saveregs. + * c-decl.c (declare_function_name): Fix bug in previous change. - * configure (mips-sgi-irix4*, mips-sgi-irix*): Set install_with_cp. +Tue May 19 19:57:39 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * c-decl.c (start_function): - Check properly for `static' function in handling -Wmissing-prototypes. + * i960.h (FUNCTION_ARG_BOUNDARY): Return mode's alignment if type 0. - * libgcc2.c (__main): Omit this fn if INIT_SECTION_ASM_OP. + * calls.c (expand_call): Set MEM_IN_STRUCT_P for aggregate return + values in memory. -Sun Jan 19 13:23:13 1992 Fred Fish (fnf at sunfish) + * function.c (locate_and_pad_parm): Use MAYBE_REG_PARM_STACK_SPACE + if defined. + * i960.c (i960_function_arg_advance): Put MUST_PASS_IN_STACK + parameters on the stack. + (i960_function_arg): Likewise. - * amix.h (ASM_OUTPUT_ASCII): Override version in svr4.h. + * m68k.md (zero_extendqisi2+1): Add condition to exclude MEM/MEM + case which would require reloading. -Sun Jan 19 13:16:56 1992 Michael Tiemann (tiemann at cygnus.com) + * unroll.c: Delete incorrect Feb 26 1992 change. + (copy_loop_body): For combined address givs, scale giv_inc by the + two giv's multiplicative factors if they are different. - * cp-search.c (lookup_field): Accept IS_AGGR_TYPE_CODE, not - just == RECORD_TYPE. + * i960.md (zero_extendqisi2): Add comment. - * cp-class.c (finish_struct): Clear a tentative setting of - DECL_BIT_FIELD. + * combine.c (apply_distributive_law): Don't distribute subregs + which change the mode class. - * cp-decl.c (start_decl): Don't call `pushclass' for incomplete - CONTEXT. + * fixincludes: Fix memory.h for SunOS. - * 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'. + * sparc.h (EXTRA_CC_MODES, EXTRA_CC_NAMES): Add CCFPEmode, for + compares which should generate exceptions for qNaNs. + (SELECT_CC_MODE): Use CCFPEmode for non EQ/NE FP compares. + * sparc.c (normal_comp_operator): Handle CCFPEmode. + (C_MODES, output_cbranch): Likewise. + * sparc.md (cmpdf, cmpsf): Modify patterns to use fcmpe for CCFPE + mode, and fcmp for CCFP mode. -Sun Jan 19 04:10:16 1992 James Van Artsdalen (james at bigtex.cactus.org) - - * configure: Fix typo inserting INSTALL=cp into makefile. - -Sat Jan 18 12:06:58 1992 Michael Tiemann (tiemann at cygnus.com) - - * 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. - - * 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. - - * 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. + From rfg: + * sparc.h: Declare output_move_quad, output_fp_move_quad and + output_floatsitf2. + * sparc.c (mem_aligned_8): New function. + (output_move_double): Clean up a little. Call mem_aligned_8. + Load operands[] into register variables for efficiency. + (output_move_quad, output_fp_move_quad): New functions. + (output_floatsitf2): New function. + (print_operand): Support 'S' and 'T'. + * sparc.md (cmptf, movtf, extendsftf2, extenddftf2, trunctfsf2, + trunctfdf2, floatsitf2, fix_trunctfsi2, addtf3, subtf3, multf3, + divtf3, negtf2, abstf2, sqrttf2): New patterns added for TFmode + support. - * cp-decl2.c (lang_f_options): Add recognizers for -f{no-}builtin, - -f{no-}ident, and -ansi. Also, remove unnecessary "no-*" forms. +Tue May 19 19:34:10 1992 Ron Guilmette (rfg at ncd.com) - * cp-init.c (emit_base_init): If PEDANTIC, don't let base - initializers leak up the hierarchy. + * i386v4.h (DBX_REGISTER_NUMBER): Fixed DWARF numbers for + x86 floating-point registers. - * cp-parse.y (structsp): Disable gratuitous error message. +Tue May 19 15:30:32 1992 Mats Lofkvist (d87-mal@nada.kth.se) - * cp-call.c (convert_harshness): Don't overlook PENALTY when - signed/unsigned differences are noted (in both POINTER_TYPE and - REFERENCE_TYPE cases). - - * toplev.c (strip_off_ending): Grok ".ii" endings (C++ preprocessed - files). + * fixincludes: Fix return type of malloc and friends. - * cp-typeck.c (build_component_ref): Add special handler when - COMPONENT is the CLASSTYPE_VFIELD name for BASETYPE. +Tue May 19 13:30:16 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sat Jan 18 08:29:58 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * config.sub (iris4d): If $os is some kind of Irix, don't clobber it. + Make the default -irix4. - * cse.c (cse_insn): Don't make constant pool entries in MODE_CC modes. + * c-decl.c (declare_function_name): New arg printable_name. + Declare __PRINTABLE_NAME__. + (init_decl_processing, store_parm_decls): Pass the new arg. -Sat Jan 18 00:28:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue May 19 09:50:01 1992 Tom Wood (wood@dg-rtp.dg.com) - * Makefile.in (install-common): Fix typo installing gcc. + * m88k.c (output_options): Check profile_block_flag. + (m88k_layout_frame): Ditto. + (output_function_block_profiler): Save and restore the parameter + registers when calling __bb_init_func. + (output_block_profiler): Use @LPBX2. - * 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. + * m88k.h (CASE_VECTOR_INSNS): Choose a table of branch + instructions or addresses. The latter is a win for the m88110. + (ASM_OUTPUT_CASE_END): Nothing needed for table of addresses. + (ASM_OUTPUT_ADDR_VEC_ELT): Use "br" or "word". + * m88k.md (casesi, casesi_jump): Updated. - * 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. + * m88k.md (m88110 function units): Count in half cycles. - (CONST_OK_LETTER_P): Document uses of letters. + * m88k.md (call insns): Clobber rather than use r1. - * 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. + * m88k.c (m88k_layout_frame): Fix m88k_fp_offset for zero case. - (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. +Mon May 18 10:38:20 1992 Michael Meissner (meissner@osf.org) - (emit_swap_insn): Abort if the reg is not found in REGSTACK. + * iris.h (DEFAULT_SIGNED_CHAR): Define as 0 for compatibility with + IRIS defaults. Patch from kevin@tamri.com (Kevin Dalley). - * Makefile.in (reg-stack.o): Depends on insn-config.h. + * xm-irix4.h (HAVE_VPRINTF): Define. -Fri Jan 17 16:38:32 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * x-iris (CLIB): Add -lmalloc. - * 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. + * mips.md (fp_comp functional unit): Use adder functional unit + instead to more closely model MIPS behavior and make genattrtab + faster. + (transfer functional unit): Use memory functional unit instead. + (sqrt functional unit): Use divide functional unit instead. + (branch_zero): If CSE has folded a value which is constant, and + the jump would be omitted, do not eliminate putting a jump there. + This causes bad code to be generated when using gas, since the + previous instruction may be a load which had it's delay slot + filled by the 'branch', and the next instruction depends on the + value loaded. - * gcc.c (do_spec_1): Add missing arg in recursive call. - (link_command_spec): Don't pass -s, -S, -u*, -X, -Y*. + * mips-at.c (whole file): Delete, no longer needed. -Fri Jan 17 12:51:28 1992 Jim Wilson (wilson at cygnus.com) + * mips-at.md (whole file): Delete, no longer needed. - 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. + * Makefile.in (stamp-attrtab): Remove $(srcdir) in front of + $(PREMADE_ATTRTAB) so that MIPS builds can be done in + subdirectories. - * hp800.h, hp800.md: Delete RCS Header variables. + * t-decrose (PREMADE_ATTRTAB*): Don't define, genattrtab is now fast + enough that we don't have to save a pre-made genattrtab.c. + (LIBGCC1): Use libgcc1.null rule to turn off building libgcc1.a. - * reg-stack.c (replace_reg): Change `abort' to `abort ()'. + * t-decstatn (PREMADE_ATTRTAB*): Don't define, genattrtab is now fast + enough that we don't have to save a pre-made genattrtab.c. + (LIBGCC1): Use libgcc1.null rule to turn off building libgcc1.a. -Fri Jan 17 14:30:14 1992 Michael Meissner (meissner at osf.org) + * t-mips (PREMADE_ATTRTAB*): Don't define, genattrtab is now fast + enough that we don't have to save a pre-made genattrtab.c. + (LIBGCC1): Use libgcc1.null rule to turn off building libgcc1.a. - * 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. + * mips.h (ASM_OUTPUT_CONSTRUCTOR,ASM_OUTPUT_DESTRUCTOR): Define. + Patch from wilson@cygnus.com. + (DEFAULT_SIGNED_CHAR): Don't define if already defined. -Fri Jan 17 13:24:33 1992 Tom Wood (wood at dg-rtp.dg.com) +Mon May 18 01:34:38 1992 Kayvan Sylvan (kayvan@satyr.Sylvan.COM) - * Makefile.in (unprotoize.o): Use the rm -f option. + * svr3.h (DO_GLOBAL_CTORS_BODY): Start at end, if STACK_GROWS_DOWNWARD. - * cp-lex.c (check_newline): Define `used_up' as in c-lex.c. - (in_system_header): Define as in c-lex.c. +Mon May 18 01:34:38 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Jan 17 08:14:04 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * Makefile.in (protoize.o, unprotoize.o): + Do nothing, but depend on stamp-proto. + (stamp-proto): New target. Compile both protoize.o and unprotoize.o. - * reorg.c (delete_from_delay_slot): Pass correct length to - emit_delay_sequence. + * configure (ns32k-ns-genix): Commented out. - * genattrtab.c (substitute_address): Handle IF_THEN_ELSE in addition - to COND. + * expmed.c (expand_mult): Use synth_mult even if not -O. - * expr.c (expand_builtin, case BUILT_IN_STRLEN): Correct args in - expand_expr call. +Sun May 17 02:54:21 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Jan 17 17:33:40 1992 James Van Artsdalen (james@raid) + * c-decl.c (push_parm_decl): Pedantic warning if shadowing typedef. - * x-i386v4 (CCLIBFLAGS): Delete macro. - (GCC-CFLAGS): Delete macro. Prevented Makefile.in from working. + * c-typeck.c (constant_expression_warning): New function. + (store_init_value): Call that. + * tree.h (TREE_CONSTANT_OVERFLOW): New flag. -Thu Jan 16 17:03:27 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * c-lex.c (yylex): "exceeds range" warning changed to pedwarn. + * c-decl.c (grokdeclarator): Likewise for duplicate keywords. - * Makefile.in (cleanconfig): Also delete tconfig.h. + * c-typeck.c (build_unary_op): For increment operators, + test TREE_READONLY in operand, not the data type. - * varasm.c (assemble_external): Only call ASM_OUTPUT_EXTERNAL once - for each symbol. - (assemble_external_libcall): Fix minor typo in spacing. + * unprotoize.c: New file. + * Makefile.in (unprotoize.o): Use that. - * toplev.c (main): Force error if invalid -W option is used. + * c-decl.c (init_decl_processing): Make global decl for __NAME__. + (store_parm_decls): Make local decl for __NAME__. + (declare_function_name): Subroutine for that. + * toplev.c (rest_of_decl_compilation): + Ignore initialized statics if DECL_IGNORED_P is set. + * c-lex.c (yylex): Convert invisible initialized char array vars + to string constants. -Thu Jan 16 13:35:13 1992 Tom Wood (wood at dg-rtp.dg.com) + * c-decl.c (get_parm_info): Change error message. - * m88kdgux.h (CPP_PREDEFINES): Added __CLASSIFY_TYPE__ back and - noted when it would be useful. +Sat May 16 21:25:21 1992 Paul Eggert (eggert@twinsun.com) - * m88k.h (ASM_FILE_END, ASM_OUTPUT_ASCII): Override svr4.h. + * fold-const.c (fold): Do not fold X-X to 0 if X is floating point. -Thu Jan 16 12:37:16 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * cse.c (simplify_unary_operation): - -X simplifies to X even + with IEEE floating point. - * svr4.h (SVR4): Add this back. +Sat May 16 14:14:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cccp.c (lookup_import): Use bcmp to compare inodes. + * Makefile.in (clean): Delete *.dvi. + (distclean): Not here. - * cccp.c (main): Handle -idirafter option. + * Makefile.in (install-man): Ignore errors in all commands. - * m68kv4.h, m88kv4.h, i386v4.h, sparcv4.h, i860v4.h (CPP_PREDEFINES): - Add __svr4__ in case user programs want to distinguish. + * combine.c (expand_compound_operation): + Don't simplify extending a const_int. - * cp-lex.c (check_newline): Changes like Jan 12 changes in c-lex.c. + * ns32k.h (NS32K_DISPLACEMENT_P): New macro. + (INDIRECTABLE_1_ADDRESS_P): Use that. + * ns32k.md (addsi3): Likewise. - * Makefile.in (install-fixincludes): Renamed from `includes'. - Move comments so some shells are happier. Dep. on install-headers. +Sat May 16 07:47:11 1992 Tom Wood (wood@dg-rtp.dg.com) - * m88kdgux.h (CPP_PREDEFINES): Add __svr4__. Remove __CLASSIFY_TYPE__. - Add some assertions. + * m88k.h: Override SET_ASM_OP in svr4.h. - * 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. +Sat May 16 00:10:09 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-decl.c (start_function): Fix backwards test for -W* options. + * c-parse.y (parmlist_1): Add pedantic warning. - * protoize.c (GUESSPATHLEN): Treat POSIX like USG--and use just 200. +Fri May 15 13:10:07 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cccp.c (deps_output): Break line iff string is empty. - (do_include): Fix up the deps_output calls. + * configure (i386-*-sco3.2v4*): New file. + * config.sub: For SCO, produce -sco3.2v2. For ISC, make just -isc. - * vax.c (print_operand_address): Handle form index + (reg+offset). + * dbxout.c (DBX_TYPE_DECL_STABS_CODE): Was DBX_DECL_STABS_CODE. + (DBX_OUTPUT_ENUM): Pass type as arg; make it do the whole job. - * m88k.h (TARGET_VERSION): Don't use __DATE__. + * svr4.h (ASM_BYTE_OP): Delete the tab. + (SET_ASM_OP): New definition. - * gcc.c (default_compilers): Typos in c++-cpp-output case. + * Makefile.in (gcc.xtar): Depend on doc. + (gcc.info, cpp.info): Duplicate rules deleted. -Thu Jan 16 12:25:51 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * i386.c (handle_pragma): Use SET_ASM_OP, not DEF_ASM_OP. - * loop.c (get_condition): In HAVE_cc0 code, generate a zero with - CONST0_RTX instead of just using const0_rtx. +Fri May 15 12:38:18 1992 Jim Wilson (wilson@sphagnum.cygnus.com) - * cse.c (cse_isnsn): A CALL_INSN clobbers all fixed regs except - for ap, fp, and sp. + * final.c (final_scan_insn): Don't set new_block when within a + sequence. Set it after the last insn of the sequence. -Thu Jan 16 08:03:40 1992 Tom Wood (wood at dg-rtp.dg.com) - - * c-decl.c (finish_enum): Compute the precision properly if the - maximum value is negative. +Fri May 15 07:23:09 1992 Tom Wood (wood@dg-rtp.dg.com) -Thu Jan 16 07:40:29 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * m88k.c (m88k_handle_pragma_token, output_short_branch_defs): + Use SET_ASM_OP. - * 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. +Fri May 15 14:54:54 1992 Howard Chu (hyc@hanauma.jpl.nasa.gov) -Thu Jan 16 00:28:14 1992 Ron Guilmette (rfg ay ncd.com) + * fx2800.h: Replace Ron Guilmette's version with working version. + Tested on Concentrix 2.1 and 2.2. - * i860.c (output_fp_move_double): Fixed typo. + * i860.c (singlemove_string): Comparison of const0_rtx was in the + wrong place and would never be reached. Added check for negative + short int constants. + (output_size_for_block_move): call singlemove_string instead of + just emitting a mov. + (sfmode_constant_to_ulong): eliminate bogus "# error" directive. - * 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. + * t-fx2800, x-fx2800, xm-fx2800.h: New files. + * configure: Corresponding changes. - * svr4.h (ASM_OUTPUT_ASCII): Fixed typo. + * dbxout.c (DBX_MEMPARM_STABS_LETTER): New macro. + (dbxout_type): Check for DBX_OUTPUT_ENUM. + (dbxout_parms): Use DBX_MEMPARM_STABS_LETTER. + (dbxout_block): Check for DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC. -Wed Jan 15 21:58:01 1992 Jeffrey A Law (law at b117b.super.org) +Thu May 14 18:26:13 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * sparc.h (SELECT_RTX_SECTION): When generating PIC, place symbolic - operands in the data section. + * sparcv4.h (ASM_OUTPUT_ALIGN_JUMP_TABLE, ASM_OUTPUT_INTERNAL_LABEL, + ASM_GENERATE_INTERNAL_LABEL): Delete. -Wed Jan 15 21:45:09 1992 Michael Meissner (meissner at osf.org) +Thu May 14 13:51:01 1992 Chip Salzenberg (chip@tct.com) - * 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. + * toplev.c (compile_file): Use IO_BUFFER_SIZE for finput. + * xm-i386sco.h, xm-rs6000.h (IO_BUFFER_SIZE): Defined. -Wed Jan 15 17:59:02 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Thu May 14 15:21:24 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) - * combine.c (can_combine_p): Don't combine if DEST is still a field - assignment after we've tried to expand it. + * config.sub: Recognize "none" as a valid os. -Wed Jan 15 16:01:13 1992 James Van Artsdalen (james at bigtex.cactus.org) +Thu May 14 13:37:52 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * regclass.c (fix_register): Don't match a null register name. - * varasm.c (decode_reg_name): Likewise. + * function.c (assign_parms): Make new stack slot if entry stack + slot isn't aligned as much as the mode wants. + And don't make an eqv for entry_parm in that case. + * sparc.c (output_move_double): Assume memory always ok for ldd, std + except when explicit offset from stack. - * i386.h (HI_REGISTER_NAMES): Give the eliminable arg pointer a - null name. + * c-decl.c (duplicate_decls): + Don't warn about qualifier mismatch for a function. -Wed Jan 15 13:40:50 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * c-decl.c (grokdeclarator): Give explicit list of types to promote + to int (and sometimes to unsigned int) for parms. - * gcc.c (default_compilers): Pass -lang-asm, not -lang-asmc, to cpp. + * Makefile.in (gcc.info, cpp.info): New targets. + (gcc.xtar): Depend on those. - * gcc.c (process_command): Don't dump md_exec_prefix in specs. - Use the md_... prefixes only if no -b. + * expmed.c (extract_bit_field): Don't fail to compute + all of a DImode value. -Wed Jan 15 13:35:09 1992 Ron Guilmette (rfg at ncd.com) + * dwarfout.c (SET_ASM_OP): Renamed from DEF_ASM_OP. + (ASM_OUTPUT_DEF): Use SET_ASM_OP. + * m88k.h (SET_ASM_OP): Renamed from DEF_ASM_OP. + * sparcv4.h (DEF_ASM_OP): No need for #undef. - * 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. + * cccp.c (main): Handle -iprefix option instead of GCC_EXEC_PREFIX. + * gcc.c (process_command): Set gcc_exec_prefix. + (do_spec_1): Handle %I. + (default_compilers): Use %I when running cpp. - * 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. + * protoize.c (savestring, savestring2): Change parm decls. - * m68kv4.h (CPP_PREDEFINES): Don't define SVR4. - * sparcv4.h (CPP_PREDEFINES): Don't define SVR4. - (ASM_OUTPUT_ASCII): Deleted obsolete definition. + * i860.h, we32k.h (CONST_COSTS): Add missing parm OUTER_CODE. - * xm-svr4.h (SVR4): Removed useless definition. - (POSIX): Added definition for protoize.c. + * i386v4.h (DEF_ASM_OP, WEAK_ASM_OP): Deleted. - * 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). +Wed May 13 17:23:45 1992 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). + * rtl.c (init_rtl): For byte_mode and word_mode, use first fit. - * c-lex.c (readescape): Pass thru escaped x, a, and v if -traditional. - (readescape): Pedantic warning for \?, \(, \{, and \[. + * protoize.c (munge_compile_params): Increase size of temp_params. - * dwarfout.c: Updated copyright. - (fundamental_type_code): Abort for all non-fundamental types. - (type_is_fundamental): Return 0 for all non-fundamental types. - (containing_type_attribute, output_ptr_to_mbr_type_die): New functions. - (output_pointer_type_die, output_reference_type_die): Added calls to - equate_type_number_to_die_number. - (output_type): Handle OFFSET_TYPE correctly. - (output_type): Ignore LANG_TYPE (for now). +Wed May 13 13:30:40 1992 Chip Salzenberg (chip@tct.com) -Wed Jan 15 09:30:08 1992 Michael Tiemann (tiemann at cygnus.com) + * i386sco4.h: New file. - * All cp-* files: Remove calls to `cleanup_after_call'. +Tue May 12 23:23:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-method.c (fndecl_as_string): Add a missing space when printing - the return type. + * expr.c (expand_increment): A subreg as op0 is not necessarily a copy. + Treat subregs like regs. - * 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. + * c-typeck.c (mark_addressable): Different messages for reg var + if reason is a use in a nested function. - * cp-decl.c (grokvardecl): Don't get tripped up by static class - members of incomplete type. +Tue May 12 14:28:22 1992 Tom Wood (wood at gen-rtx) -Wed Jan 15 09:12:51 1992 Jeffrey A. Law (law at wombat.gnu.ai.mit.edu) + * gcc.c (process_command): -save-temps uses a switches entry. - * m68k.c (legitimize_pic_address): Re-enable code which was - mistakenly #ifdef'd out. +Tue May 12 21:24:46 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Jan 15 08:12:18 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * collect2.c (vfork): Declaration deleted. - * reload.c (find_reloads): Check for insn not recognized. +Tue May 12 06:16:49 1992 Niklas Hallqvist (niklas@appli.se) - * 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. + * tower-as.h: Added support for basic block profiling. - * sdbout.c (sdbout_symbol): Treat (mem (reg SP)) the same - as (mem (reg FP)). +Tue May 12 02:34:45 1992 James Van Artsdalen (james at bigtex.cactus.org) - * 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. + * unx386.h (AS3_SHIFT_DOUBLE): New macro to print shift-double + opcodes. -Wed Jan 15 08:10:29 1992 Chris Smith (cks at bach.convex.com) + * i386gas.h (AS3_SHIFT_DOUBLE): Redefine for GAS shift-double rules. + (GAS_MNEMONICS): New macro to force use of opcodes for GAS. + * seq386gas.h (AS3_SHIFT_DOUBLE,GAS_MNEMONICS): Likewise. - * 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. + * i386.c (print_operand): Use GAS_MNEMONICS to choose long-long + opcode suffix. - * convex.h (ASM_OUTPUT_DOUBLE_INT): define. + * i386.md (ashldi3,ashrdi3,lshrdi3): Split into separate + recognizers for constant and variable shifts. + Use AS3_SHIFT_DOUBLE for variable shifts. + (all shifts and rotates): Don't allow memory operands for shift + count. + (bit set/clear): Don't allow non-CONST_INT constants as SET_SRC. + (movstrsi,cmpstrsi,strlensi): Allow any address_operand within + a MEM:BLK, not just register_operand. + (movstrsi): Rewrite to avoid match_dup on the address_operand + above. + +Mon May 11 23:31:47 1992 Mike Stump (mrs@albert.gnu.ai.mit.edu) + + Sun May 10 18:44:58 Per Bothner (bothner@cygnus.com) + + * dbxout.c (dbxout_type_methods): Only emit final semi-colon + of method list of we have emitted any methods. (The converse + of only emitting the operation name initially if needed.) + +Mon May 11 22:45:18 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + + * reload.c, reload1.c: Use reg_overlap_mentioned_for_reload_p and + refers_to_regno_for_reload_p instead of the normal versions. + * reload.c (reg_overlap_mentioned_for_reload_p): New function. + +Mon May 11 22:44:50 1992 Ron Guilmette (rfg at ncd.com) + + * integrate.c (expand_inline_function): Copy LABEL_NAMEs to new + copies of CODE_LABELs. + * tree.c (decl_function_context, decl_type_context): Renamed `fndecl' + formal parameter to `decl' throughout these functions. + +Mon May 11 18:43:45 1992 Paul Eggert (eggert@twinsun.com) + + * cccp.c: (deps_file): Deleted. + (main): Do not open deps_file until needed. + Check error status of dep_stream and stdout more carefully. + (timestamp): New function; avoids calling localtime unless needed. + (special_symbol, initialize_builtins): Use new timestamp function. + +Mon May 11 20:48:26 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * genix.h: Added #error, since this hasn't been updated. + +Mon May 11 14:33:32 1992 Ron Guilmette (rfg at ncd.com) + + * dwarfout.c (is_pseudo_reg): New function. + (location_attribute): Use `is_pseudo_reg'. + (location_or_const_value_attribute): Use DECL_INCOMING_RTL as the + basis for forming the location decsriptor for any register parameter + which was optimized into non-exitance. + + * dwarfout.c (DWARF_VERSION): New (default) definition. + (ASM_OUTPUT_DWARF_STACK_OP, ASM_OUTPUT_DWARF_FMT_BYTE, + ASM_OUTPUT_DWARF_TYPE_MODIFIER, ASM_OUTPUT_DWARF_DATA1): Output tab + before ASM_BYTE_OP. + (ASM_OUTPUT_DWARF_ADDR_CONST): Encapsulate all statements in a + `do { ... } while (0)' + (data_member_location_attribute, bit_offset_attribute): Both fixed + to use alignment of declared type of field as the "containing object" + size. + (location_or_const_value_attribute): Fixed to use DECL_INCOMING_RTL + only for parms passed in memory. + (output_decl): Don't output DIEs for externals if DWARF_VERSION == 1. + +Sun May 10 17:18:33 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + + * pa.h (CPP_PREDEFINES): Define for BSD here. + Remove conditional #ifdef hpux. + * pa-hpux.h, pa-ghpux.h (CPP_PREDEFINES): Define for hpux here. + * pa.h (CPP_SPEC): Define. + +Sun May 10 12:12:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in (clean): Delete unprotoize.c. + + * stmt.c (expand_decl): Set MEM_IN_STRUCT_P right in dynamic case. + + * expr.c (get_inner_ref): Handle ARRAY_REF only if constant offset. + Handle non-PLUS_EXPR variable offset by assuming multiple of byte. + (expand_assignment, expand_expr): Fix gen_rtx added in last change. + +Sat May 9 02:39:58 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * expr.c (get_inner_reference): New output arg poffset. + (expand_assignment, expand_expr): Pass new arg. Handle nonzero offset. + (do_jump): Pass new arg but ignore result. + * fold-const.c (optimize_bit_field_compare, decode_field_reference): + Pass the new arg. Just return 0 if offset comes back nonzero. + + * reload.c (find_equiv_reg): Always test valueno >= 0. + + * c-aux-info.c: Don't include param.h or errno.h; don't declare errno. + + * rtl.c (read_rtx): Fix error in prev change. + + * gcc.c (process_command): Handle -print-libgcc-file-name. + (main): Handle print_libgcc_file_name by printing the name. + + * c-decl.c (finish_struct): Use TYPE_PRECISION to see whether + bitfield's type is narrower than int, for promoting to int. + + * cccp.c (struct definition, struct reflist): New field `rest_args'. + (struct arglist): Likewise. + (rest_extension, REST_EXTENSION_LENGTH): New var and macro. + (create_defnition): Recognize `...' and set flag in arglist. + (collect_expansion): Propagate flag to definition. + (macroexpand): Check flag when parsing arglist. + Special handling for ## next to a rest arg. + (macarg, macarg1): New arg rest_arg affects parsing in macarg1. + + * genattrtab.c: Misc speedups and size reductions. + (check_attr_test): Set RTX_UNCHANGING_P for tests of const attributes. + Also for symbol_ref and comparison ops. + (make_canonical): Likewise. Also check for degenerate cond values. + (operate_exp, simplify_cond, insert_right_side, evaluate_eq_attr): + Avoid copying in some cases. Detect opportunities to simplify. + (compute_alternative_mask): Avoid atoi in most cases. + (copy_rtx_unchanging): New function. + (evaluate_eq_attr, simplify_test_exp): Use that. + + * genattrtab.c (optimize_attrs): Work pattern by pattern, + doing all the work for each pattern before moving on. + Use temp_obstack during simplification, then copy the end result. + (temp_obstack): New obstack. + (clear_struct_flag): New subroutine. + (SIMPLIFY_TEST_EXP): Test MEM_IN_STRUCT_P. + (simplify_test_exp): Add code for debugging stop. + Avoid consing when possible; sometimes free storage. + Check MEM_IN_STRUCT_P. Add shortcuts. + + * genattrtab.c: Add simplification per alternative (not in use now). + (insn_n_alternatives): New array filled in by gen_insn. + (current_alternative_string): Nonzero means we are simplifying + for a particular alternative. Value is string for that numeral. + (SIMPLIFY_ALTERNATIVE): New macro simplifies eq_attr for alternative. + (evaluate_eq_attr, simplify_test_exp): Call SIMPLIFY_ALTERNATIVE. + (simplify_by_alternatives, count_sub_rtxs): New functions. + + * genattrtab.c (attrs): Now an array indexed by first char. + (MAX_ATTRS_INDEX): Length of above. + (find_attr, main): Use that new data structure. + + * genattrtab.c: Clarify use of hash-consing: + (hash_obstack): New obstack. + (attr_hash_add_rtx, attr_hash_add_string): Use hash_obstack. + (attr_rtx): Use hash_obstack if object is hashed. + Set RTX_INTEGRATED_P if object is hashed. + Don't hash object if subexpressions aren't hashed. + If making symbol_ref, hash the symbol name. + Uniquize const_int with value 0 or 1. + (attr_equal_p): New compare function; uses RTX_INTEGRATED_P. + (simplify_and_tree, simplify_or_tree, simplify_test_exp): Use that. + (attr_copy_rtx): New; copy all but hashed subexpressions. + (attr_eq): New function. + (attr_numeral): New function. + (check_attr_test): Use attr_eq. Hash symbol_ref and comparison ops. + (check_attr_value): Return modified value. Callers changed. + Hash symbol_ref. + (convert_set_attr_alternative): Use attr_eq and attr_numeral. + (convert_const_symbol_ref): Hash symbol_ref and eq. + (make_alternative_compare): Use attr_numeral. + (alternative_name): Fill in using hasher. + (copy_boolean): Hash a boolean expression if possible. + +Fri May 8 23:10:18 1992 James Van Artsdalen (james at bigtex.cactus.org) + + * i386.md (ashldi3,ashrdi3,lshrdi3): Fix typo in output template. + + * cse.c (cse_insn): Handle SUBREGs in CLOBBERs. + +Fri May 8 14:55:17 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in (PREMADE_ATTRTAB, PREMADE_ATTRTAB_MD): New vars. + (stamp-attrtab): Use them, to use presupplied file if suitable. + * t-mips, t-decstatn, t-decrose (PREMADE_ATTRTAB, PREMADE_ATTRTAB_MD): + Defined. + * mips-at.md, mips-at.c: New files. + + * c-common.c (shorten_compare): Extend "always 0" warning + to fencepost case with le or ge. + + * cccp.c (pass_thru_directive): Don't output a newline. + (initialize_builtins): Add explicit newlines in sprintfs. + +Fri May 8 14:49:12 1992 Michael Meissner (meissner@osf.org) + + * mips.md (adddi3): Force -32768 into a register, since the + define_insn's won't accept that one value. + (all attributes): Where an attribute is set to the same value in all + alternatives, don't use the alternative notation, since it will make + genattrtab somewhat faster. + + * rtl.c (read_rtx): Use the current obstack to read in strings, + rather than repeated malloc/realloc's. - * convex.h (DEFAULT_GDB_EXTENSIONS): define as 0 until GDB version 4 - port is available. +Thu May 7 18:41:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * convex.c (ap_reload_needed): Fix comment. + * calls.c (expand_call): Never set must_preallocate if no stack args. -Wed Jan 15 07:08:25 1992 Tom Wood (wood at dg-rtp.dg.com) +Thu May 7 16:52:56 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - * m88k.h (CONST_SECTION_FUNCTION): Trivial definition for targets - not based on svr[34].h (m88k-luna). + * pa1*: New names for pa1.1*. + * configure: Corresponding changes. - * m88k.h (PREDICATE_CODES): Use it. + * m68k.md (u?mulsidi3): Don't permit immediates for operand 2. + (u?mulsidi3 recognizers): Split into immediate/nonimmediate cases. + * m68k.md ({zero,sign}_extend recognizers): Remove `n' from constraint + if predicate doesn't permit constants. + +Thu May 7 15:42:32 1992 Michael Collison (collison at osf.org) + + * i386rose.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): Fix these to + avoid printing NaNs, and infinity. + (SUBTARGET_SWITCHES): Add OSF dependent switches for half-pic + support. + (MASK_HALF_PIC, TARGET_HALF_PIC): Likewise. + (CC1_SPEC): Map pic-none, pic-lib, pic-extern and pic-calls + to appropriate half-pic compiler switches. + (LINK_SPEC): If not -noshrlib or -pic-none, pass -warn_nopic. + Allow user to pass -noshrlib directly. + (OPTIMIZATION_OPTIONS): Customize levels for OSF. + (CONSTANT_ADDRESS_P: Add check to determine if we have a + half-pic constant. + (ENCODE_SECTION_INFO): Check to see if we have a half-pic + declaration. + (ASM_DECLARE_OBJECT_NAME): Output the label (definition) for a + object and check to see if it is half-pic. + (ASM_DECLARE_FUNCTION_NAME): Likewise but for functions. - * 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. +Thu May 7 15:56:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * m88k.c (legitimize_address): When converting a symbol_ref for - PIC, add a REG_EQUAL note. + * reload.c (find_reloads): Remover unterm comment from recent changes. -Wed Jan 15 06:22:34 1992 Michael Meissner (meissner at osf.org) + * genattrtab.c (compute_alternative_mask): Usually bypass atoi. - * 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. +Thu May 7 15:56:51 1992 Tom Wood (wood@dg-rtp.dg.com) - * 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. + * genattrtab.c (fill_attr): Do nothing for constant attribute. + (check_attr_test): Set unchanging flag for constant attribute. + (write_test_expr): Expand constant attributes here. - * 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. +Thu May 7 06:01:46 1992 Michael Meissner (meissner@osf.org) -Wed Jan 15 01:42:39 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * decrose.h (CPP_SPEC): Fix typo in last change. - * 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 May 6 17:39:31 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Jan 15 01:01:39 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * convex.h (HAVE_STRERROR, vfprintf, WTERMSIG, WEXITSTATUS): Deleted. - * 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. + * dbxout.c (dbxout_type): Don't repeat a cross-reference + merely because full is nonzero. - * Makefile.in (install-common): Install driver as gcc-$(target). + * calls.c (expand_call): + Avoid rounding error testing copy_to_evaluate_size. - * gstddef.h (wchar_t): Check for _T_WCHAR. + * xm-mipsbsdn.h: Renamed from xm-mipsbsdnews.h. + * xm-sun386.h: Renamed from xm-xm-i386sun.h. + * configure: Corresponding changes. - * 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. +Wed May 6 23:11:55 1992 John F Carr (jfc at Achates.mit.edu) -Tue Jan 14 23:25:37 1992 Ron Guilmette (rfg at ncd.com) + * cse.c (simplify_binary_operation): Support MIN and MAX for + SImode and narrower integers. - * 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. +Wed May 6 17:25:37 1992 Michael Meissner (meissner@osf.org) - * 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. + * mips.h (MIPS_VERSION): Bump Meissner version # to 18. + (mips_cpu_attr): New define, which is the mips_cpu variable recast + to the attr_cpu enumeration for mips.md. + (HALF_PIC_NUMBER_PTRS, HALF_PIC_NUMBER_REFS): Add dummy + definitions if halfpic.h is not included. - * dwarfout.c (INSN_LABEL_FMT, FUNC_END_LABEL_FMT): Use decimal format. + * mips.c (function_epilogue): Print half-pic stats if -mstats and + the stats are non-zero. - * 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++). + * mips.md (cpu attribute): Just use symbol_ref "mips_cpu_attr" + instead of a four way if statement. + (movsi_internal, movhi, movqi): Use 'z' constraint for fpsw, not 's'. - * 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. + * halfpic.h (half_pic_number_ptrs): Add counter for the number of + pointers generated. + (half_pic_number_refs): Add counter for the number of references. - * 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. + * halfpic.c (half_pic_number_ptrs): Add counter for the number of + pointers generated. + (half_pic_number_refs): Add counter for the number of references. + (half_pic_ptrs): Update new counters. - * 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. + * decstatn.h (CPP_SPEC): Define __LANGUAGE_x__ and __LANGUAGE_x + where x is C_PLUS_PLUS, OBJECTIVE_C, C, or ASSEMBLY. Fix + undef'ing LANGUAGE_C for .S files. + (HALF_PIC_PREFIX): Define as '$Lp.'. -Tue Jan 14 16:40:39 1992 Tim Moore (moore at fast.cs.utah.edu) + * decstatn.h (CPP_SPEC): Define __LANGUAGE_x__ and __LANGUAGE_x + where x is C_PLUS_PLUS, OBJECTIVE_C, C, or ASSEMBLY. - * 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. + * mips-tfile.c (toplevel): Don't define anything in the standard + headers, such as open, etc. + (add_procedure): Delete unused variable orig_fdb. -Tue Jan 14 20:01:59 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * mips-tdump.c (toplevel): Don't define anything in the standard + headers, such as open, etc. - * sparc.h (TARGET_SUN_ASM, TARGET_GNU): Delete support for - obsolete and undocumented flags -msun-asm and -mgnu. - * sparc.md: Likewise. + * collect2.c (main): Don't pass -f switches to GCC when + building the constructor table. + (write_c_file): Put extern in front of all external declarations. + (scan_prog_file, COFF varient): On ECOFF systems, check whether + the header pointer is non-NULL before using it. -Tue Jan 14 19:36:21 1992 Tim Moore (moore at fast.cs.utah.edu) + * cp-lex.c (store_pending_inline): Cast obstack_copy arg to char *. + (copy_lang_decl): Cast bcopy args to char *. - * 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. +Wed May 6 13:28:58 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) -Tue Jan 14 14:38:09 1992 Michael Tiemann (tiemann at cygnus.com) + * i960.h, i960.c (hard_regno_mode_ok): Use unsigned int not short. - * cp-typeck.c (build_unary_op): Call readonly_warning_or_error if - ARG is TREE_READONLY (in addition to the type being TYPE_READONLY). + * Makefile.in (USER_H): Add va-i960.h. - * 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. +Wed May 6 07:31:54 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) -Tue Jan 14 13:12:48 1991 Ron Guilmette (rfg at ncd.com) + * explow.c (emit_stack_{save,restore}): New functions. + * expr.h: Declare them and enum save_level. + * calls.c (expand_call): Call emit_stack_save. + * expr.c (expand_builtin, case BUILT_IN_ALLOCA): Likewise. + * function.c (delete_handlers): Make test for insn that sets + a slot more general. + (expand_function_end): Call emit_stack_{save,restore}. + * stmt.c (declare_nonlocal_label): Call emit_stack_save. + (expand_goto_internal): Likewise. + (expand_goto): Likewise. + Copy slots so they don't get instantiated incorrectly; also + update use of virtual regs and frame pointer. + (expand_end_bindings): Call emit_stack_restore. + (expand_decl): Call emit_stack_save. + Set current_function_calls_alloca when allocating variable-sized + objects. + * rs6000.md ({save,restore}_stack_{block,function,nonlocal}): New. - * 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 May 5 13:17:29 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) -Tue Jan 14 06:46:37 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * configure (a29k-*-*, i960-*-*): New default configurations. - * 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. + * i960.c, i960.h, i960.md, xm-i960.h, va-i960.h: New files. - * a29k.c (a29k_debug_reg_map): New variable. - (output_prologue): Initialize it. - * a29k.h (DBX_REGISTER_NUMBER): Use that map. + * gstdarg.h, gvarargs.h: Include va-i960.h for i960. - * ultrix.h (WCHAR_TYPE): Make definition be a known type. + * calls.c (expand_call): Call REG_PARM_STACK_SPACE once and save + result. Add code to Use new macros MAYBE_REG_PARM_STACK_SPACE and + FINAL_REG_PARM_STACK_SPACE. + (store_one_arg): New parameter reg_parm_stack_space. + * function.c (assign_parms): Use MAYBE_REG_PARM_STACK_SPACE. - * final.c (final_scan_insn): Call DBR_OUTPUT_SEQEND before we - clear `final_sequence', so it can call dbr_sequence_length. + * cse.c (NONZERO_BASE_PLUS_P): Don't consider arg pointer by itself + to be non-zero, because it isn't on the i960. - * 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. + * dbxout.c (dbxout_symbol): Use decl_function_context not + TREE_PERMANENT to identify function local statics. - * flow.c (mark_used_regs, case RETURN): Insert missing test for global - registers. + * integrate.c (copy_rtx_and_substitute): Also remap SYMBOL_REFs + that point to LABEL_REFs in the constant pool. - * reorg.c (mark_referenced_resources): Mark asm's as volatile - when appropriate. + * expr.c (expand_expr, PLUS case): Canonicalize MULT + when associating a constant. - * 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. +Tue May 5 12:56:29 1992 Torbjorn Granlund (tege@mole.gnu.ai.mit.edu) -Mon Jan 13 19:12:18 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * pa.c (singlemove_string): Make it global. + * pa.md: Add high:DI and lo_sum:DI patterns. - * 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. +Tue May 5 12:04:56 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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-typeck.c (build_array_ref): Require int index *after* promotion. - * 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. + * convex.h (REG_OK_FOR_{BASE,INDEX}_P): Virtual regs that will + turn into stack_pointer_rtx are not valid for indexing. -Mon Jan 13 11:21:24 1992 Michael Meissner (meissner at osf.org) + * config.sub: NeXT is BSD, not SysV. - * mips-tfile (parse_stabs_common): Don't relocate N_LBRAC and - N_RBRAC stabs for compatibility with other stabs implementations. + * att386.h (ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL): + Undef before defining. -Mon Jan 13 07:41:32 1992 Michael Tiemann (tiemann at cygnus.com) + * dbxout.c (dbxout_parms): Handle invisible reference parms. - * 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. +Tue May 5 22:48:54 1992 Niklas Hallqvist (niklas@appli.se) -Mon Jan 13 07:31:38 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * Makefile.in (test-protoize-simple): + Change tmp-protoize* to tmp-proto*. + (mostlyclean): Remove that temporary file. + +Tue May 5 09:35:30 1992 James Van Artsdalen (james at bigtex.cactus.org) + + * i386.c (print_operand): Handle VOIDmode CONST_DOUBLE correctly. + + * reload.c (find_reloads): Recompute `code' before preferred_class. + +Mon May 4 00:23:29 1992 Ron Guilmette (rfg at ncd.com) + + * svr3.h (ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL): + Added definitions appropriate for most svr3 systems. + + * protoize.c (volatile): Define to nothing if !defined(__STDC__). + (setjmp, longjmp): Declared external if not defined as pp-macro. + (include_defaults): Fix type of `fname' field. + (compiler_file_name): Fixed type. + (savestring): Fixed type of `size' parameter. + (savestring2): New function. + (string_list_cons): Removed trailing blanks from parm declaration. + (find_file): Moved comments out of formal parm declarations area. + (munge_compile_params): Fixed type of `temp_parms'. + (gen_aux_info_file): Construct new filename using `savestring2'. + (find_extern_def): Suppress annoying warnings about missing + definitions for extern functions. + (edit_fn_declaration): Declare `clean_text_p' as `volatile' not as + `VOLATILE'. + (scan_for_missed_items): Make text of warning more obvious. + (edit_file): Make text of warning shorter. + + * libgcc2.c (__builtin_new): Changed arg type to `size_t'. Moved + nested declaration of malloc out to file-scope. + (__builtin_vec_new): Prototype preceeding function declarations. + (__builtin_vec_new, __builtin_vec_delete): Changed types of non-pointer + arguments and local variables to `size_t'. + (__clear_cache): Use type `void *' variables to store addresses. + (__do_global_dtors): Use unsigned type for counters. + (__main): Add explicit type to declaration of `initialized'. + +Mon May 4 16:16:56 1992 Tom Wood (wood at dg-rtp.dg.com) + + * dwarfout.c (dwarfout_file_scope_decl): Ignore a global register + variable. + +Mon May 4 08:28:18 1992 Torbjorn Granlund (tege@mole.gnu.ai.mit.edu) + + * pa-ghpux.h, pa-hpux.h: #define HAVE_ATEXIT. + + * genextract.c (print_path, main): Make the generated code use + `pat', not `insn', except for fatal_insn_not_found. Remove + insn_code variable from generated code, and switch directly on + INSN_CODE (insn). - * rs6000.c (output_ascii): The AIX assembler silently truncates - strings longer than 666 characters, so break them up well before that. + * hppa*: Rename to be unique in first 8 characters. + * configure: Corresponding changes. -Mon Jan 13 00:26:47 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Mon May 4 00:20:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * reload.c (find_reloads): Compute preferred_class after + calling find_reloads_toplev or equivalent. - * sparc.c (output_return): Handle structure value in all the cases. + * vax.h (PRINT_OPERAND): Add codes M, h, b. - * toplev.c (main): -gstabs+ means use stabs with gdb extensions. + * ns32k.h (PREFERRED_RELOAD_CLASS): Change GEN_AND_MEM_REGS + to GENERAL_REGS. - * fixincludes: Insert #undef NULL before #define NULL. + * config.sub: Recognize we32 and 3b*. - * gvarargs.h (va_list): Check some macros to avoid redefinition. + * varasm.c (readonly_data_section): Move after data_section. - * 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. + * Makefile.in (print-rtl.o): Compile also for host machine. + (genattrtab): Link in host's print-rtl.o. - * 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. + * i386v4.h (ASM_OUTPUT_ALIGNED_LOCAL): Deleted. Dfn in svr4.h is good. - * cccp.c (do_assert, do_unassert, check_assertion): - No pedantic warnings in system header files. +Sun May 3 21:39:22 1992 James Van Artsdalen (james at bigtex.cactus.org) - * ultrix.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE): Defined. - (WCHAR_TYPE_SIZE): Defined. + * i386.h (RTX_COSTS): Add missing break. - * i386.h (HI_REGISTER_NAMES): Add a name for dummy reg 16. +Sun May 3 19:40:50 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * dbxout.c (flag_minimal_debug): Make it static. + From law: + * sparc.md (fp unit attributes): Change result ready delays to + match how the FP unit really works. -Sun Jan 12 18:10:46 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * sched.c (schedule_block): Don't move USE at the end of any block. - * 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. + From rfg: + * sparc.c (handle_pragma_token): Added new function (based on original + `handle_pragma_token' in i386.c). + * sparcv4.h (INIT_SECTION_PREAMBLE): Definition added. + (PUSHSECTION_FORMAT): Added leading tab. + (HANDLE_PRAGMA): Added definition to handle #pragma weak (based on + original definition in i386v4.h). - * dwarfout.c (fundemental_type_code): Treat OFFSET_TYPE like integer. - (type_is_fundamental, output_type): Likewise. + From jfc: + * sched.c (insn_costs): New variable. + (insn_cost): Save cost of insn in insn_costs to avoid recomputation. + (sched_analyze_2): Handle UNSPEC_VOLATILE. + (schedule_insns): Init insn_costs. - * optabs.c (expand_float): Abort if FROM has VOIDmode. - * expr.c (expand_expr, FLOAT_EXPR case): Don't pass a VOIDmode. + * sparc.c (output_move_double): Correctly check for constant + DFmode addresses. Assume that DFmode addresses with MEM_IN_STRUCT_P + set are always aligned. -Sun Jan 12 16:11:40 1992 Michael Meissner (meissner at osf.org) +Sun May 3 16:52:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * mips.h (ASM_OUTPUT_SPACE): If assembler is gas, don't use the - .space directive, since the table PREDICATE_CODES generates tickles - a bug. + * gcc.c (PATH_SEPARATOR): New macro. From Alex Zatsman. + (process_command): Use it when scanning a path. -Sun Jan 12 15:59:41 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * expr.c (expand_builtin): Cast icode to int for indexing. - * 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. + * xm-i386dos.h: New file. + * configure.bat: Use that file. + * gcc.c (EXECUTABLE_SUFFIX): Remove special default for MSDOS. + (putenv): Remove conditionals for MSDOS, since HAVE_PUTENV now defined. -Sun Jan 12 12:26:20 1992 Michael Tiemann (tiemann at cygnus.com) + * c-typeck.c (build_array_ref): Promote after -Wchar-subscripts test. - * cp-decl.c (store_parm_decls): Finish change started 11 Jan 1992. + * c-decl.c (builtin_function): If traditional and name is user-visible, + set DECL_BUILT_IN_NONANSI. - * cp-decl.c (pushtag): Don't set CLASSTYPE_TAGS after - CURRENT_CLASS_TYPE has been defined. + * cccp.c (PATH_SEPARATOR): Add default definition. + (main): Use that. - * cp-lex.c (check_newline): Set INTERFACE_UNKNOWN if we see a - #pragma implementation or if it's the toplevel file. +Sun May 3 08:17:02 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) -Sat Jan 11 22:04:34 1992 Michael Meissner (meissner at osf.org) + * pyr.h (FRAME_POINTER_REGNUM): Work around pyr cpp bug. - * 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. + * xm-hppa.h (NO_SYS_SIGLIST): Define. -Sat Jan 11 15:26:24 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Sat May 2 15:03:08 1992 James Van Artsdalen (james at bigtex.cactus.org) - * expr.h (GEN_FCN): Alternate definition if FUNCTION_CONVERSION_BUG. - * xm-romp.h (FUNCTION_CONVERSION_BUG): Define it. + * callc.c (emit_call_1): Restore inhibit_defer_pop after popping args. - * i386.md (cmpstrsi recognizers): Change back to repz. +Thu Apr 30 20:00:00 1992 DJ Delorie (dj@ctron.com) -Sat Jan 11 11:18:32 1992 Michael Tiemann (tiemann at cygnus.com) + * configure.bat: Complete rewrite to use Makefile.in. + * Makefile.dos: File deleted. - * cp-decl.c (store_parm_decls): Don't put non-PARM_DECL nodes in the - list that will become DECL_ARGUMENTS. +Thu Apr 30 23:38:00 1992 Per Bothner (bothner@rtl.cygnus.com) - * cp-decl2.c (grokfield): Convert () initialization to = - initialization in FIELD context. - * cp-decl.c (parmlist_is_exprlist): Now non-static. + * xcoffout.h (DBX_FINISH_SYMBOL): Use DECL_ASSEMBLER_NAME + instead of DECL_NAME when writing out a global symbol. + (Makes a big difference for C++ static class members.) - * cp-decl.c (grokdeclarator): Don't let static class members be - declared `static' at top-level. +Thu Apr 30 23:13:01 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * cp-decl.c (pushdecl_class_level): Don't use DECL_ASSEMBLER_NAME. + * fold-const.c (fold, comparisons): Don't call omit_one_operand in + a case where the operand isn't really being omitted. - * cp-decl.c (grokdeclarator): Don't let language linkage interfere - with declarator grokking--the two are independent. + * combine.c (distribute_notes, case REG_DEAD): Don't write a USE for + a partially-dead register if we already wrote one. - * 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. +Thu Apr 30 21:51:29 1992 Tom Wood (wood at dg-rtp.dg.com) - * cp-method.c (report_type_mismatch): Fix bugs in formatting error - messages. + * Makefile.in (enquire.o, install-common-headers): Make these work + when $(srcdir) is . - * cp-decl.c (grokvardecl): Verify that when static class members are - declared at toplevel, the types match their initial declaration. + * c-decl.c (init_decl_processing): Use void_ftype_any as the type + for _exit, exit and abort. -Sat Jan 11 08:41:24 1992 Fred Fish (fnf at fishpond) +Wed Apr 29 21:42:30 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * config/m68kv4.h (NO_DOLLAR_IN_LABEL): Undefine so that the - default for m68k/SVR4 systems is to use '$', which is more - widely supported. + * genattrtab.c (insn_name_ptr): Define so we could link with + debug_rtx. -Sat Jan 11 10:56:10 1992 Jeffrey A. Law (law at wombat.gnu.ai.mit.edu) + * genattrtab.c (check_attr_test, simplify_test_exp): Copy expression + before setting as unchanging. + (make_canonical): Set result as unchanging after calling + convert_const_symbol_ref. + (evaluate_eq_attr): When returning original expression, set it + as unchanging. - * Finish PIC implementation on the 68k - * output.h (flag_pic): Declare here so that insn-*.c can see it. +Wed Apr 29 13:30:33 1992 Michael Meissner (meissner@osf.org) - * reload1.c (reload): When compiling PIC ignore REG_EQUIV notes - which are CONSTANT_P, but are not LEGITIMATE_PIC_OPERAND_P. + * halfpic.c (half_pic_ptr): Allocate space for the NULL byte. - * 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. +Wed Apr 29 06:28:35 1992 Ron Guilmette (rfg at ncd.com) - * 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. + * dwarfout.c (src_coords_attribute): Don't #ifdef code based on + DWARF_DECL_COORDINATES. + (name_and_src_coords_attributes): Do #ifdef calls to `lookup_filename' + and `src_coords_attribute' based on DWARF_DECL_COORDINATES. Also, + pop out of .debug section temporarily while calling `lookup_filename'. - * 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. +Wed Apr 29 02:01:03 1992 Mike Stump (mrs@albert.gnu.ai.mit.edu) -Fri Jan 10 18:03:08 1992 Ken Raeburn (Raeburn@Cygnus.COM) + * Complete another Cygnus <--> FSF merge. - * 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 Apr 28 19:24:52 1992 Mike Stump (mrs at rtl.cygnus.com) -Fri Jan 10 14:54:19 1992 Michael Tiemann (tiemann at cygnus.com) + * cp-init.c (do_friend): Handle overloaded and extern "C" + friends correctly. - * 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). + Mon Apr 27 21:04:40 1992 Mike Stump (mrs at rtl.cygnus.com) - * 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. + * cp-search.c (build_vbase_vtables_init): Don't set + flag_this_is_variable to -2 when not doing a ctor. -Fri Jan 10 08:34:36 1992 Fred Fish (fnf at sunfish) + * cp-class.c (build_vbase_path): Don't unconditionally set + code to be a PLUS_EXPR. - * m68ksgs.h (REGISTER_NAMES): Provide separate versions for - SUPPORT_SUN_FPA defined and not defined. + Mon Apr 27 14:14:08 1992 Mike Stump (mrs at rtl.cygnus.com) -Fri Jan 10 22:36:41 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + * cp-decl.c (grokdeclarator): Allow contructors to be friends. + Cannot find anything prohibiting it. - * 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. + Mon Apr 27 13:26:20 1992 Mike Stump (mrs at rtl.cygnus.com) -Fri Jan 10 22:00:50 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cp-init.c (do_friend): bullet proof handling of friends, + fixes problem introduced on Apr 26 18:24:35. - * genrecog.c (merge_trees): If two trees both have actions, but - one adds clobbers and one doesn't, ignore the one that does. + Sun Apr 26 23:18:24 1992 Mike Stump (mrs at rtl.cygnus.com) - * 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. + * cp-call.c (ideal_candidate): Allow one to overload static + member functions without dumping core. - * 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. + Sun Apr 26 18:44:57 1992 Jim Wilson (wilson@sphagnum.cygnus.com) - * 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. + * cp-tree.c (break_out_calls): Call build1 instead of build for + trees with only one operand to avoid abort in build. - * 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. + Sun Apr 26 18:24:35 1992 Mike Stump (mrs at rtl.cygnus.com) -Fri Jan 10 17:24:06 1992 Michael Meissner (meissner at osf.org) + * cp-init.c (do_friend): Allow extern "C" functions to be + friends. - * 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. + Sat Apr 25 02:57:07 1992 Mike Stump (mrs at rtl.cygnus.com) - * 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. + * cp-*.[chy]: Fix all pedantic warnings to be pedwarn. - * mips-tdump.c (various): Changes by Per Bothner to print - encapsulated stabs, and to shorten the output. + Sat Apr 25 01:46:50 1992 Mike Stump (mrs at rtl.cygnus.com) - * 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. + * cp-tree.c (break_out_calls): Handle NULL_TREE properly. - * 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. + Fri Apr 24 23:49:39 1992 Mike Stump (mrs at rtl.cygnus.com) - * 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. + * cp-type2.c (store_init_value): Provide an error message + about bad syntax instead of core dumping. -Fri Jan 10 16:40:45 1992 Jeffrey A. Law (law at wombat.gnu.ai.mit.edu) + Fri Apr 24 16:46:03 1992 Mike Stump (mrs at rtl.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. + Fri Apr 24 18:55:45 1992 Chip Salzenberg (chip@tct.com) -Fri Jan 10 06:54:22 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cp-parse.y (component_decl): Fix small problem to take us + back down to 14 reduce/reduce errors. - * 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. + Thu Apr 23 19:48:54 1992 Mike Stump (mrs at rtl.cygnus.com) -Fri Jan 10 02:25:54 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) + Wed Apr 22 22:47:15 1992 Chip Salzenberg (chip@tct.com) - * c-typeck.c (digest_init): Properly return error_mark_node - after invalid element in array initializer. + * cp-type2.c (readonly_warning_or_error): Eliminate arbitrary + limit of 80 characters per warning message. - * gcc.c (pexecute): Use `fork' in error message if don't have vfork. + Thu Apr 23 04:14:59 1992 Mike Stump (mrs at rtl.cygnus.com) - * Makefile.in: Add .NOEXPORT. + * cp-decl.c (grokdeclarator): Handle const and volatile + member functions properly. -Thu Jan 9 13:36:25 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Tue Apr 28 22:05:05 1992 Niklas Hallqvist (niklas@appli.se) - * expr.c (expand_expr): Handle OFFSET_REF. + * tower-as.h (svr3 support): Generic svr3.h included. + (SELECT_RTX_SECTION): m68k.h's version #undef'd in favour of svr3.h's. + (CPP_PREDEFINES): Overriding svr3.h version. + (STARTFILE_SPEC): Added crtbegin.o. + (ASM_OUTPUT_SOURCE_FILENAME): Added ugly section directives to get + rid of NCR assembler bug. + (ASM_OUTPUT_IDENT): #undef'd svr3.h version. + (NO_{DOLLAR,DOT}_IN_LABEL): Defined. + (ASM_LONG): Defined. + ({INIT,FINI,CONST}_SECTION_ASM_OP): Overrides svr3.h versions. + (CTOR_LIST_{BEGIN,END}): New macros. + (BSS_SECTION_ASM_OP): New macro. + (ASM_OUTPUT_CONSTRUCTOR): New macro. + (ASM_OUTPUT_LABELREF): Redefined svr3.h version. - * cse.c (simplify_binary_operation): Never use associative law for - floating arithmetic. + * tower.h (LIB_SPEC): Added -shlib support plus crtend.o. - * fixinc.svr4: Renamed INCLUDES to INPUT. + * configure (m68k-ncr-sysv): Defined xmake_file and tmake_file. - * i386.md (cmpstrsi recognizers): Output repe, not repz. +Tue Apr 28 21:27:10 1992 Michael Meissner (meissner@osf.org) -Thu Jan 9 18:02:34 1992 Dennis P. Glatting (dennisg at tti) + * mips.md (floatsidf2, floatsisf2): Fix typo in last change. - * 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. +Tue Apr 28 18:21:02 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Jan 9 10:35:58 1992 Tom Wood (wood at dg-rtp.dg.com) + * objc-actions.c: Include obstack.h, etc. + (util_obstack, util_firstobj): New obstack, and 1st object in it. + (init_objc): Init those two. + (encode_*): Rewrite to use util_obstack, Callers changed. + (handle_class_ref, handle_impent): New subroutines, broken out + from finish_objc so each can use alloca (instead of utlbuf). + (utlbuf): Variable deleted. - * sdbout.c (sdbout_syms): Don't attempt to output a LABEL_DECL. + * c-decl.c (init_decl_processing): Treat abort and exit as ANSI. + -traditional no longer affects ANSI builtins; use -fno-builtin. -Thu Jan 9 08:17:44 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * configure: Insert assignment of INSTALL where old one was. - * fold-const.c (merge_component_references): Treat constants as - unsigned, so we don't get extra sign bits where we don't want them. +Tue Apr 28 17:14:57 1992 John F Carr (jfc at Achates.mit.edu) -Wed Jan 8 19:12:59 1992 James Van Artsdalen (james at bigtex.cactus.org) + * vax.md (cmpdf, cmpsf): Use tstf/tstd if second argument is zero. + (movsi, movhi, movqi): Patterns changed to reflect different + space/time tradeoffs for modern VAXes. + (movstricthi, movstrictqi): New patterns. + (extv, extzv): Use rotl/bicl sequence when possible. - * reload.c (combine_reloads): Don't use a fixed_reg as an reload - reg, even if it dies. +Tue Apr 28 10:00:25 1992 Michael Meissner (meissner@osf.org) - * loop.c (record_giv): Fix typo extracting insn_uid. + * mips-tfile.c (read_line): Make read_line act like the assembler, + and use ';' to separate multiple logical lines. -Wed Jan 8 15:41:10 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * mips.h (MIPS_VERSION): Set Meissner version # to 17. + (MASK_DEBUG_C): Swap meaning of -mdebugc. + (ADDITIONAL_REGISTER_NAMES): Use 'cc' for the floating point status + register, so user asm's can clobber it. Allow $fp for the frame + pointer in addition to fp and $30, and also $sp for the stack + pointer in addition to sp and $29. - * cpp.texi, gcc.texi: Files renamed. - * invoke.texi, extend.texi, md.texi, rtl.texi, tm.texi: New subfiles. - * Makefile.in: Corresponding changes. + * mips.c (gen_int_relational): Emit faster sequence for NE. + (mips_asm_file_start): Don't call data_section for gcc2_compiled. - * fixincludes: Renamed INCLUDES to INPUT. + * mips.md (branch define_delay): Specify all of the preconditions + correctly for branch likely (mips2) support. + (floatsidf2): Update dslots_load_total. Support getting the + integer value from memory as well as from an integer register. + Fix the length attribute. + (floatsisf2): Ditto. + (All set from condition code patterns): Swap meaning of -mdebugc, + so that if used, it means support all of the set condition code + patterns as if the machine can do them equally well. If not + -mdebugc, call gen_int_relational to generate an appropriate set + of INSNs. - * m68k.c (notice_update_cc, print_operand): Fix typos. + * decrose.h (ASM_IDENTIFY_GCC): Define as null on OSF/1. + * encrose.h (ASM_IDENTIFY_GCC): Define as null on OSF/1. + * i386rose.h (ASM_IDENTIFY_GCC): Define as null on OSF/1. - * cp-decl.c (expand_static_init): Save and restore current obstacks. + * decrose.h (CPP_SPEC): If .S files, add an explicit + -ULANGUAGE_C to mimic the OSF GCC 1.39 behavior. - * c-decl.c (poplevel): Put labels in BLOCK_VARS of top-level block. +Mon Apr 27 16:44:30 1992 Tom Wood (wood at dg-rtp.dg.com) -Wed Jan 8 12:53:48 1992 Michael Tiemann (tiemann at cygnus.com) + * dwarf.h (AT_... values): Correct typos present in version 1.0.1 + of the DWARF spec. The values should be unchanged. - * cp-decl.c (expand_static_init): Switch to PERMANENT_OBSTACK during - expansion. + * dwarfout.c (data_member_location_attribute): Use INTEGER_CST. -Wed Jan 8 07:45:58 1992 Tom Wood (wood at dg-rtp.dg.com) + * dwarfout.c (data_member_location_attribute): Use TYPE_MODE. + (bit_offset_attribute): Ditto. - * m88kv3.h (STARTFILE_SPEC): SVR3 has *crt0.o files. + * dwarfout.c (name_attribute): Add the tests back. - * configure (m88k-*sysv{3,4}): The files are named m88kv{3,4}. + * m88k.h (WEAK_ASM_OP): Override svr4.h. -Wed Jan 8 06:01:44 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Mon Apr 27 15:48:36 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * romp.md (mftbi): Allow memory in the contraints since there can't - be an input reload on an insn that uses cc0. + * limits.h: Use _LIMITS_H___, not _LIMITS_H_, to protect contents. - * 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. +Mon Apr 27 15:15:25 1992 Michael Meissner (meissner@osf.org) - * m68k.md (peepholes): Don't change around stack adjusts and pushes - when we are pushing something whose address involves sp. + * mips.h (MIPS_VERSION): Set Meissner version # to 16. + (delay_type enum): Add DELAY_FCMP for specifing the + c.{eq,lt,le}.{d,s} delay. + (fpsw_register_operand): New declaration. + (gen_int_relational): New declaration. + (pc_or_label_operand): New declaration. + (MASK_DEBUG_C): Use -mdebugc for new relational code. + (REG_CLASS_FROM_LETTER): Use 'z' for fpsw register, not 's' which + is already used. + (EXTRA_CC_MODES): Add CC_REV_FPmode to handle fp comparisons, + which need to be reversed (!=). + (EXTRA_CC_NAMES): Add CC_REV_FP. + (SELECT_CC_MODE): Use SImode for all integer comparisons, + CC_REV_FP for floating point != comparisons. - * 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. + * mips.c (internal_test enum): Move and rename the enumeration + used in gen_conditional to make the comparison RTL codes to + something that can be indexed out to top level. + (fpsw_register_operand): New function to return true if the + operand is the FP status register. + (pc_or_label_operand): New function to return true if the operand + is either a label_ref or the pc for if_then_else tests. + (mips_fill_delay_slot): Add support for DELAY_FCMP, the delay + after a floating point comparison is done and it can be tested. + (map_test_to_internal_test): New function to take a RTL code of a + comparison operator, and return the internal_test enumeration. + (gen_int_relational): New function to generate the appropriate + INSNS for comparing two integers for either branches, or the set + from condition code insns. + (gen_conditional_branch): Rewrite to not use the CISC condition + code register CC0, but instead generate the appropriate INSNs so + that the test can be scheduled independely of the branch. + (override_options): Use 'z' for the fpsw register, not 's'. Only + allow the fp comparison condition codes in the fpsw register. Do + not allow non float or int things in FP registers, even if + -mdebugh. Don't allow ints in the fpsw. - * 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. + * mips.md (various): Rewrite comparisons and branches so that we + do not use CC0, but instead put the comparison in a pseudo and + generate the appropriate branch instructions directly. This + eliminates calls to the various b macros provided by the + assembler. Change the type of integer comparisons from the + various CCxx modes used to SImode. Make fp != use CC_REV_FPmode. + (mode attribute): Add FPSW mode for floating compare. + (fp_comp): New functional unit for comparing fp values. + (divmodsi4): No longer use -mdebugc to turn off divmodsi4. + (divsi3): Ditto. + (modsi3): Ditto. + (udivmodsi4): No longer use -mdebugc to turn off udivmodsi4. + (udivsi3): Ditto. + (umodsi3): Ditto. -Tue Jan 7 22:11:17 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * mips-gn5.h: Rename from mips-gnews5.h for MSDOS. + * mips-n5.h: Rename from mips-news5.h. + * xm-mipsbsdnews.h: Rename from xm-mipsnbsd.h. - * x-i386isc (ENQUIRE_LDFLAGS): New defn: add -posix. + * configure (mips-sony*): Handle the above changes. - * protoize.c (_POSIX_SOURCE): Define only if POSIX. + * README-mips (whole file): Remove bogus patches, and update with + some common warnings about the MIPS. - * m68k.h (FPA_REG_P): Always define this somehow. +Mon Apr 27 12:41:21 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * c-decl.c (c_decode_option): Handle -Wchar-subscripts. - * c-typeck.c (build_array_ref): Do the real work. + * unroll.c (find_splittable_givs): Don't split a giv combined with + a giv that was not reduced. -Tue Jan 7 21:15:54 1992 Michael Meissner (meissner at osf.org) + * c-parse.y (primary): Clear the TREE_USED flag of a block tree + put in a BIND_EXPR. + * print-tree.c (print_node): Print the block operand of a BIND_EXPR. - * mips.md (branch_zero_false): Use correct mode (CC_0) on - match_operator. + * flow.c (find_basic_blocks): Assume MEM source in jump insn makes + it an indirect jump. -Tue Jan 7 14:24:45 1992 James Van Artsdalen (james at bigtex.cactus.org) + * collect2.c (strip_flag, strip_file_name): New variables. + (main): Don't pass -s to the first ld call. Pass it to the second + ld call, or else run strip. - * reg-stack.c (replace_reg): get mode class from a mode, not a reg. + * Makefile.in (bootstrap): Only build C compiler for stage1. -Tue Jan 7 14:16:18 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * sparc.h (GO_IF_LEGITIMATE_ADDRESS): Rewrite to accept SUBREGs. - * reg-stack.c (emit_pop_insn): Fix typo FPmode_reg. + * combine.c (force_to_mode): Correctly form mask from BITS. - * protoize.c (longjmp): Don't declare it. + * Makefile.in (bootstrap): Fix a typo (\n between b and ootstrap). -Tue Jan 7 09:47:47 1992 Michael Tiemann (tiemann at cygnus.com) +Sun Apr 26 14:14:23 1992 Ron Guilmette (rfg at ncd.com) - * cp-lex.c (real_yylex): From John Hassey, allocate space for the - terminating null on wide character literals. + * getattr.c, genattrtab.c, gencodes.c, genconfig.c, genemit.c, + genextract.c, genflags.c, genoutput.c, genpeep.c, genrecog.c (main): + Move nested extern declaration of `read_rtx' out to file-scope. -Tue Jan 7 07:41:42 1992 Tom Wood (wood at dg-rtp.dg.com) +Sun Apr 26 21:41:33 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * m88kv3.h (LIB_SPEC): Add -lg. + * Makefile.in (varasm.o): Includes defaults.h. -Tue Jan 7 06:29:30 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Sun Apr 26 21:15:30 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * stor-layout.c (layout_type): Don't over-align a structure - when strict alignment is not required. + * enquire.c (f_rep, f_define): Handle NO_LONG_DOUBLE_IO. + (f_define): Print defn of union __convert_long_double, just once, + with #ifndef to protect it. + (fake_f_define): New function. - * rs6000.h (CALL_USED_REGISTERS): r31 should not be marked call-used. +Sat Apr 25 15:04:49 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * rs6000.md (add-and-compare): Fix duplicate operand number. + * stmt.c (expand_end_case): Test DI index against range before casesi. + Don't truncate before calling do_tablejump. + Use expand_expr to turn RANGE into rtl. + * expr.c (do_tablejump): Convert to Pmode after testing vs range. - * a29k.md (inbyte, inhw): Correct duplicate operand number. + * stmt.c (expand_end_case): Delete test default_label != 0; always is. - * 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. + * configure (i386-ibm-aix): Set install_with_cp. - * 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. +Fri Apr 24 21:32:38 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * optabs.c (expand_unop): Complete recent change; one TARGET was - not changed to TEMP. + * xm-spcv4.h: Renamrd from xm-sparcv4.h. + * configure: Changed accordingly. - * 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 (unprotoize.o): Leave unprotoize.c around. - * 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. + * c-common.c (decl_attributes): Change warnings to errors. - * expr.h: Add "extern" to function definitions. +Fri Apr 24 11:17:53 1992 Ron Guilmette (rfg at ncd.com) -Mon Jan 6 10:12:34 1992 Leonard Norrgard (vinsci at nic.funet.fi) + * dwarf.h: Added copyleft. + Revised to use enumerators instead of #defines. + Updated to conform to version 1.0.1 of the DWARF spec. + Added implementation-defined fundamental type codes for GCC + mode-specific types. - * 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. + * dwarfout.c: Include defaults.h. + (getpwd): Declare as `extern'. + (BITFIELD_OFFSET_BITS, BITFIELD_OFFSET_UNITS, + BITFIELD_OFFSET_WORDS_IN_UNITS): Unnecessary definitions deleted. + (ASM_BYTE_OP, PUSHSECTION_ASM_OP, POPSECTION_ASM_OP): Delete + leading tabs from definitions. + (PUSHSECTION_FORMAT): Add leading tab to definition. + (*_LABEL): Changed to all start with `.L' to internalize these + symbols for *all* svr4 assmeblers (including sparc). + (ASM_OUTPUT_POP_SECTION): Add leading tab. + (ASM_OUTPUT_DWARF_TAG, ASM_OUTPUT_DWARF_ATTRIBUTE, + ASM_OUTPUT_DWARF_STACK_OP, ASM_OUTPUT_DWARF_FUND_TYPE, + ASM_OUTPUT_DWARF_FMT_BYTE, ASM_OUTPUT_DWARF_TYPE_MODIFIER): Print + DWARF comments only if flag_verbose_asm set. + (ASM_OUTPUT_ASCII): Moved to defaults.h + (tag_name): Renamed `dwarf_tag_name' to avoid possible conflicts. + (dwarf_tag_name): Updated for version 1.0.1 DWARF spec. + (attribute_name): Renamed `dwarf_attr_name' to avert conflicts. + (dwarf_attr_name): Updated for version 1.0.1 DWARF spec. + (stack_op_name): Renamed `dwarf_stack_op_name' to avert conflicts. + (format_byte_name): Renamed `dwarf_fmt_byte_name' to avert conflicts. + (fundamental_type_name): Renamed `dwarf_fund_type_name' to avoid + possible conflicts. + (dwarf_fund_type_name): Added support for implementation-defined + GCC mode specific fundamental types codes (to support new `mode' + attribute). + (data_member_location_attribute): Rewritten to avoid major lossage + primarily for little-endian targets. + (location_or_const_value_attribute): Fixed comments and removed + spurious code. + (name_attribute): Removed test for NULL name (now done in + `name_and_src_coords_attributes'). + (byte_size_attribute): Fixed to get size from DECL_BIT_FIELD_TYPE + for bit-fields. + (bit_offset_attribute): Rewritten to avoid major lossage primarily + for little-endian targets. + (src_coords_attribute): GNU-specific extension added. + (name_and_src_coords_attributes): New function. + (output_entry_point_die, output_formal_parameter_die, + output_global_subroutine_die, output_global_variable_die, + output_inline_subroutine_die, output_label_die, + output_local_variable_die, output_member_die, + output_local_subroutine_die, output_typedef_die): Call + `name_and_src_coords_attributes' rather than `name_attribute' for + all potentially-named declarations. + (output_global_subroutine_die, output_inline_subroutine_die, + output_local_subroutine_die, dwarfout_file_scope_decl): Use + DECL_ASSEMBLER_NAME rather than DECL_NAME when referencing + assembly level names (e.g. in AT_low_pc attributes). + (output_type): Revised to produce DWARF info for C++ member functions + even for classes with no constructors & destructors. - * m68k.c (notice_update_cc): New function. - * m68k.h (NOTICE_UPDATE_CC): Just call notice_update_cc. + * flags.h (flag_verbose_asm): Option flag added. + * toplev.c (flag_verbose_asm): Option flag added. - * sun3.h (SUPPORT_SUN_FPA): New define. + * defaults.h: New file. + * varasm.c: Include defaults.h. + (ASM_OUTPUT_ASCII): Deleted. -Mon Jan 6 16:42:43 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * c-common.c (decl_attributes): Call `type_for_mode' rather than + `type_for_size'. Also, `break' after a matching mode is found. - * 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. + * 3b1.h (ASM_OUTPUT_ASCII): Tab before ASCII_DATA_ASM_OP. + * amix.h (ASM_OUTPUT_CASE_END): Tab before SET_ASM_OP. + (ASM_OUTPUT_ASCII) Tab before BYTE_ASM_OP. + * i860b.h (ASM_OUTPUT_ASCII): Tab before ASCII_DATA_ASM_OP. + * i860v3.h (ASM_OUTPUT_ASCII): Tab before BYTE_ASM_OP. + * sparcv4.h (*_ASM_OP): Delete the initial tabs. - * 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. + * assert.h: Modified to treat source line numbers as `unsigned'. - * x-isc: File deleted. + * Makefile.in (test-protoize): New target. - * objc-actions.c (build_module_descriptor): Init global_object_name. + * svr4.h (WEAK_ASM_OP): Default svr4 definition added. + (ASM_DECLARE_FUNCTION_SIZE): Use `assemble_name' to output + generated internal label. - * Makefile.in (collect2): Depend on version.o. +Thu Apr 23 11:31:58 1992 Jim Wilson (wilson@sphagnum.cygnus.com) - * protoize.c (PATH_MAX): Definition deleted. Just test it - to see if param.h should be included. + * optabs.c (emit_libcall_block): Correct code which determines + whether it is safe to emit an insn setting a pseudo before the block. - * cse.c (simplify_binary_operation, case MULT): Make a copy - of the operand when converting 2.0 * X to X+X. +Thu Apr 23 18:13:08 1992 James Van Artsdalen (james at bigtex.cactus.org) - * reload.c (find_reloads): Refine when we set force_reload and - better document the cases. + * i386.md (sleu): Finish Apr 21 change. -Mon Jan 6 08:22:19 1992 James Van Artsdalen (james at bigtex.cactus.org) +Thu Apr 23 14:15:05 1992 Michael Meissner (meissner@osf.org) - * 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'. + * Makefile.in (enquire.o): Delete enquire.c from the current + directory before moving it in from the source directory, unless + the current directory is the same as the source directory. This + occurs if the user keeps GCC under source control, like RCS. + (install-common-headers): Ditto for byteorder.h. -Mon Jan 6 12:01:51 1992 Tiggr (rcpieter at mole.gnu.ai.mit.edu) +Thu Apr 23 12:39:36 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * arm.md (mulsi3): Fixed contraints. + * amix.h (ASM_OUTPUT_CASE_END): Add missing \. -Mon Jan 6 08:21:46 1992 Tom Wood (wood at dg-rtp.dg.com) +Thu Apr 23 07:14:38 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * 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. + * cse.c (simplify_binary_operation, case MINUS): Don't do any + of the simplifications for IEEE floating-point. - * c-aux-info.c, dbxout.c: Include errno.h as in protoize.c. +Wed Apr 22 23:20:59 1992 Mike Stump (mrs@albert.gnu.ai.mit.edu) - * 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. + Tue Apr 21 02:21:42 1992 Mike Stump (mrs@rtl.cygnus.com) -Mon Jan 6 07:54:55 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cp-method.c (build_overload_value): Handle function names as + constant expressions for template arguments. Also, make double + values work again as template arguments. - * 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. + Mon Apr 20 17:08:17 1992 Mike Stump (mrs@rtl.cygnus.com) - * 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. + * cp-call.c (ideal_candidate): remove incorrect error message about + ``ambiguous request for function from distinct base classes of + type'' when base and parent are switched. - * 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. + Mon Apr 20 14:14:35 1992 Mike Stump (mrs@rtl.cygnus.com) - * 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. + * Makefile.in: Now expect 15 reduce/reduce conflicts, instead of 14. -Sun Jan 5 18:34:15 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + Mon Mar 16 14:02:09 1992 Chip Salzenberg (chip at tct.com) - * make-cc1.com: Change file names from cp-tab.* to cp-parse.*. + * cp-parse.y (maybe_attributes, attribute_list): clone + from c-parse.y. + cp-parse.y: call decl_attributes between start_decl and + finish_decl, and after grokfield. -Sun Jan 5 18:06:11 1992 Michael Tiemann (tiemann at cygnus.com) + Mon Apr 20 09:21:00 1992 Jim Wilson (wilson@sphagnum.cygnus.com) - * cp-decl.c (grokdeclarator): Correctly grok REFERENCE_TYPE - parameters when TYPE_REFERENCE_TO is automagically converted. + * cp-tree.h (break_out_calls): Declare. -Sun Jan 5 05:19:19 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) + Mon Apr 20 08:29:16 1992 Michael Tiemann (tiemann@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. + * cp-tree.c (break_out_calls): New function. + (break_out_cleanups): Added comment. - * 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. + * cp-typeck.c (build_modify_expr): Call `break_out_calls' instead of + `copy_to_permanent'. - * svr3.h (LINK_SPEC): Don't pass -K. + Mon Apr 20 06:29:16 1992 Mike Stump (mrs@rtl.cygnus.com) - * reload.c (find_reloads): Do record in non_reloaded_operands if no -O. + * cp-type2.c (my_friendly_abort): New function, please see + Rational there. - * m68k.c (output_function_prologue, output_function_epilogue): - Add braces and adjust conditionals to fix balance and indentation. + * cp-*.[chy]: Change all calls from abort to my_friendly_abort. - * objc-actions.c (build_module_descriptor): Mark __objc_file_init used. + Mon Apr 20 05:45:08 1992 Mike Stump (mrs@rtl.cygnus.com) -Sat Jan 4 13:27:40 1992 James Van Artsdalen (james at bigtex.cactus.org) + * cp-cvt.c (build_up_reference): Fix a latent const problem. - * protoize.c: unprotoize getcwd & fork declarations. - (edit_fn_declaration): use "VOLATILE", not "volatile". + Mon Apr 20 03:08:12 1992 Michael Tiemann (tiemann@cygnus.com) -Sat Jan 4 20:19:41 1992 Michael Meissner (meissner at osf.org) + * cp-decl.c (pop_from_top_level): Deleted duplicate code in C_C_D + restoration. - * mips.h (set_volatile): Add new global variable reference. + * cp-call.c (build_method_call): Call `error_with_aggr_type' with + correct number of arguments. - * 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. + Sun Apr 19 18:39:25 1992 Mike Stump (mrs@rtl.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. + * cp-class.c (finish_struct): Only provide a warning about + non-virtual destructors if the user asks for -Wall. -Sat Jan 4 23:01:41 1992 Jeffrey A Law (law at planet.super.org) + Sun Apr 19 17:36:16 1992 Mike Stump (mrs@rtl.cygnus.com) - * 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) + * cp-typeck.c (build_modify_expr): Make a deep copy of lhs, as + expr.c expects to be able to preexpand_calls on the conditional + parts without insuring that it would even be legal to do so. -Sat Jan 4 11:11:24 1992 Dennis P. Glatting (dennisg at tti) + * cp-tree.c (make_deep_copy): Fix comment. - * next.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): #undef before defining. + Fri Apr 17 04:55:18 1992 Mike Stump (mrs@rtl.cygnus.com) -Sat Jan 4 07:40:25 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cp-cvt.c (convert_pointer_to): Provide the user with a meaningful + error message instead of a core dump when dealing with bad syntax. - * 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_binary_op): Make error message on undefined + operator call more readable. - * 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-decl.c (grok_reference_init): Handle T& = const T& + error messages. - * calls.c (calls_alloca): Don't recurse on BLOCK_SUPERCONTEXT. + Thu Apr 16 18:59:15 1992 Mike Stump (mrs@rtl.cygnus.com) -Sat Jan 4 03:42:09 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * cp-typeck.c (convert_arguments): Disable code that auto converted + functions and methods to pointers and left them that way without error. - * 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. + Thu Apr 16 17:35:13 1992 Mike Stump (mrs@rtl.cygnus.com) -Sat Jan 4 00:59:53 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + Sat Apr 4 22:28:23 1992 Gerald Baumgartner (gb at cs.purdue.edu) - * 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-decl.c (finish_decl): Call `abstract_virtuals_error' + when the return type of a method is an abstract class. -Fri Jan 3 20:29:57 1992 James Van Artsdalen (james at bigtex.cactus.org) + * cp-type2.c (abstract_virtuals_error): Print error message + for an invalid method declaration. - * i386.md (return): Always output return insns. + Thu Apr 16 16:18:35 1992 Mike Stump (mrs@rtl.cygnus.com) - * i386.h (FUNCTION_PROLOGUE): If the last nonnote insn in a function - is a BARRIER, don't output a function epilogue. + * cp-decl2.c (lang_decode_option): Handle import by ignoring it. -Fri Jan 3 12:43:09 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Wed Apr 22 19:46:44 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * t-decrose, t-decstatn, t-encrose, t-i386rose, t-mips (ALL): - Use libgcc.a, not libgcc. + * objc-actions.c (synth_id_with_class_suffix, finish_class): + Don't use utlbuf; alloca a buffer. + (forward_declare_categories): Use build_decl directly since + create_builtin_decl wants a string, not an id. - * protoize.c (STRINGIFY): Provide non-ANSI alternative definition. + * Makefile.in (STAGESTUFF): Add USE_COLLECT2. - * c-decl.c (get_parm_info): Keep non-parms in the parm list. + * dbxout.c (dbxout_symbol): Clean up last change. - * stmt.c (cost_table): Now short. - (estimate_case_costs): Handle that. +Wed Apr 22 17:06:16 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * Makefile.in (float.h, *protoize.1, gcc.xtar.Z): - Make temp files, then rename. - (clean): Delete those temp files. + * rs6000.c (gpc_reg_operand): Renamed from gen_reg_operand. + * rs6000.h (PREDICATE_CODES): Likewise. + * rs6000.md: Likewise. - * Makefile.in (c-parse.c): Don't use -d, since cp-parse.output is big. + * a29k.c (gpc_reg*_operand): Renamed from gen_reg*_operand. + * a29k.h (PREDICATE_CODES): Likewise. + * a29k.md: Likewise. -Fri Jan 3 10:32:31 1992 Michael Tiemann (tiemann at mole.gnu.ai.mit.edu) + * romp.c (output_fpop): Extend workaround for RT FP codegen bug. - * Makefile.in (cp-parse.c): Add missing -o flag. +Wed Apr 22 06:20:09 1992 Tom Wood (wood at dg-rtp.dg.com) -Fri Jan 3 08:21:04 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * fold-const.c (fold, comparison cases): Use omit_one_operand to + yield a simplified result to avoid loosing a side-effect. - * reg-stack.c: Complete last change (renaming DFmode_reg). +Tue Apr 21 13:19:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * expmed.c (init_expmed): Pass dummy pointer to number of clobbers to - recog so it can let us see patterns that need added clobbers. + * dbxout.c (dbxout_symbol): For TYPE_DECL, always make requisite tag + one way or another even if !have_used_extensions. -Fri Jan 3 07:54:32 1992 Tom Wood (wood at dg-rtp.dg.com) + * configure: Specifically detect unrecognized options. - * c-decl.c (implicitly_declare): Record whether this is an implicit - declaration before setting IDENTIFIER_IMPLICIT_DECL. +Tue Apr 21 08:16:05 1992 Tom Wood (wood at dg-rtp.dg.com) + + * c-convert.c (convert_to_integer): Don't distribute a truncation + down past an ABS_EXPR. + + * m88k.md (bxx insn): Choose bb0 over bb1 if the branch is likely + to fall-through (m88110 optimization). + * m88k.c (mostly_false_jump): New function. -Thu Jan 2 21:17:12 1992 Michael Meissner (meissner at osf.org) + * m88k.h (INIT_SECTION_ASM_OP): Define only for svr3 and svr4 targets. - * mips.c (compute_frame_size): Don't count FP registers twice. + * m88k.c (output_call): Use the insn address of the sequence. + * m88k.h (ADJUST_INSN_LENGTH): Account for space added at barriers + due to ASM_OUTPUT_ALIGN_CODE. -Thu Jan 2 14:59:55 1992 Michael Tiemann (tiemann at hal) +Tue Apr 21 07:30:46 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * 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. + * jump.c (mark_jump_label, case MEM): New case to look for label + in a constant-pool entry. -Thu Jan 2 12:37:32 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Tue Apr 21 00:41:39 1992 James Van Artsdalen (james at bigtex.cactus.org) - * objc-actions.c (build_obj_method_call): Typo in NEXT case. + * reg-stack.c (compare_for_stack_reg): link cc0 user and setter + before separating them. - * next.h (HAVE_ATEXIT): Defined. + * reorg.c (link_cc0_insns): Move function from here - + * emit-rtl.c (link_cc0_insns): to here. - * c-decl.c (duplicate_decls): - No error if override decl that has DECL_BUILT_IN_NONANSI. + * i386.h (TARGET_IEEE_FP): New macro. + (TARGET_SWITCHES): Add switches for ieee floating point support. + (EXTRA_CC_MODES,EXTRA_CC_NAMES): Add CCFPEQmode. + (SELECT_CC_MODE): Select CCFPEQmode for FP equality comparisons. + (i386_compare_gen*,i386_compare_op*): Declare new variables to + generate comparisons from within branch and sCC insns. + (RTX_COSTS): Fix argument name typo. - * Makefile.in (c-parse.c): Don't use -o, since cp-parse.output is big. + * i386.c (i386_compare_gen*,i386_compare_op*): Define variables here. + (notice_update_cc): Notice if a comparison involves FP values. + (output_float_compare): Add support for "unordered" compare. + Use output_fp_cc0_set to set flags after a compare. + (output_fp_cc0_set): New function. - * Makefile.in (protoize, PROTOIZE): Delee these 2 new targets; - `protoize' was redundant. + * i386.md (tstM,cmpM): New expanders. Don't generate RTL; just + save data for when cc0 user is generated. + (bCOND,sCOND): New expanders. Generate the compare/test as well + as the bCOND or sCOND. - * 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. + (tstsf,tstdf): Disable patterns if generating ieee compliant code. + (tstsf,tstdf,cmpsf,cmpdf): Use output_fp_cc0_set to set flags + after test. + Don't change cc_status here: that won't work with REG_CC_SETTER + and REG_CC_USER. - * expmed.c (init_expmed): Pass all 3 args to `recog'. + (all COMPAREs): Use CCmode as mode of a COMPARE. - * varasm.c (output_constant): For REAL_TYPE, mode_for_size arg is bits. +Mon Apr 20 11:17:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * sparc.md (storing SF into mem at symb addr): Fix typos. + * limits.h (LONG_LONG_MIN, LONG_LONG_MAX, ULONG_LONG_MAX): New macros. - * 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. + * configure: Clear out_file before the big case, like tm_file, etc. - * m68k.h (LEGITIMATE_PIC_OPERAND_P): Undo change below, - thus making the behavior really change to accept all CONST_DOUBLE. + * expr.c (expand_expr, case LABEL_DECL): Handle label from outer fcn. - * 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_... +Mon Apr 20 10:17:49 1992 Tom Wood (wood at dg-rtp.dg.com) - * 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. + * x-m88kluna: Delete. + * x-m88kv3: Renamed from x-m88k. + * configure (m88k-*): Rearrange. -Thu Jan 2 21:06:13 1992 James Van Artsdalen (james at bigtex.cactus.org) +Mon Apr 20 21:29:00 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) - * 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. + * config-gcc.com: Generate libgcc2.list from Makefile.in + * make-l2.com: Use libgcc2.list; supply gcc version number to gas. - * Makefile.in (protoize,unprotoize): Get $(LIBS) for alloca. + * config-gacc.com: Generate linker options files from Makefile.in -Thu Jan 2 21:40:52 1992 Jeffrey A Law (law at b115.super.org) + * make-cc1.com: Use said linker options files instead of static + list of files. + * make-cc1.com: Handle errors better. - * sparc.h (OPTIMIZATION_OPTIONS): Enable caller-saves for -O2 - and higher optimization levels. +Mon Apr 20 10:05:34 1992 Michael Meissner (meissner@osf.org) -Thu Jan 2 06:46:56 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * mips.md (divmodsi4, udivmodsi4): Remove unneeded PARALLEL. Patch + from Richard Kenner. - * final.c (final_scan_insn): Compare debug_info_level with entries in - its enum, not with integers. +Mon Apr 20 08:38:26 1992 Tom Wood (wood at dg-rtp.dg.com) - * 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. + * expr.c (expand_expr, case CONSTRUCTOR): For static CONSTRUCTOR, + require a valid memory address only if modifier does. - * romp.c, romp.h, romp.md: Rename symbolic_operand to - romp_symbolic_operand. +Sun Apr 19 15:09:01 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * emit-rtl.c (init_emit_once): Create virtual registers before the - structure value regsisters, since the latter might use the former. + * genemit.c (gen_insn): Mode of SCRATCH must match in clobber lists. - * varasm.c (output_constant): Fix typo: missing arg to expand_expr. + * sched.c (add_dependence, remove_dependence): Moved from rtl.c. + * rtl.c: Functions deleted here. - * vax.md (call_pop, call_pop_value): Use correct register number for - stack pointer. Add new patterns for case of zero args. + * Make installation of collect2 automatic. + * configure: Define use_collect2 for all BSD and Mach and HP/UX + configurations, plus the ones below, and a few others. + * t-decrose, t-decstatn, t-encrose, t-i386rose, t-mips, t-next: + (EXTRA_PROGRAMS): Deleted. + * t-apollo68, t-convex, t-dpx2, t-rs6000: Files deleted. -Thu Jan 2 08:12:59 1992 Fred Fish (fnf at sunfish) + * libgcc1.c (nongcc_SI_type): Renamed from SItype. - * x-amix: Minor changes to some comments. - * x-amix (CCLIBFLAGS, GNULIB2_CFLAGS, XCFLAGS): Remove definitions. - * x-amix (manext): Add definition. + * recog.c (constrain_operands): Check only earlyclobbers that are REGs. -Thu Jan 2 11:14:28 1991 Ken Raeburn (Raeburn@Cygnus.COM) + * m68k.h (TRANSFER_FROM_TRAMPOLINE): Delete comma in globalize cmd. - * fold-const.c (fold, case PLUS_EXPR): If association permits - reduction to var+0, convert var to the desired type before returning - it. + * m68k.md (movhi): Don't use switch_table_difference_label_flag + except in ports that need it. (Again!) -Wed Jan 1 10:37:50 1992 Michael Tiemann (tiemann at cygnus.com) +Sun Apr 19 14:06:59 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * expr.c (convert_move): When GET_MODE_BITSIZE (TO_MODE) > - BITS_PER_WORD, check that it's also > GET_MODE_BITSIZE (FROM_MODE). + * sched.c (sched_analyze_2): Add missing comment close. - * 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. + * rtl.c (add_dependence): Make next point to last insn with + SCHED_GROUP_P set, not after the last insn with the bit set. -Wed Jan 1 18:32:03 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Sun Apr 19 06:06:03 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * 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. + * genextract.c (walk_rtx): Fix typo in vector case. - * c-decl.c (struct binding_level): New slot subblocks_tag_transparent. - (pushlevel): Use that, not ->parm_flag. - (start_function): Set that slot. + * hppa.h (RTX_COSTS): Add new argument OUTER_CODE. - * config.sub: Always distinguish between amix and sysv4. - Convert commodore to cbm and digital to dec. + * Makefile.in (compare, compare3): Change $file to $$file. - * m68k.md (stack adjust then push SI): New peephole. + * romp.h (CONST_CONSTS): Clean up formatting of definition. - * m68k.h, fx80.h (WCHAR_TYPE): Use precisely "long int". - * sun3.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Undef before defining. + * rs6000.md (extzv): Correct when we can use andi[lu]. - * cexp.y (yylex): Use LONG_TYPE_SIZE, not INT_TYPE_SIZE. - (LONG_TYPE_SIZE): Add default definition. +Sat Apr 18 21:56:20 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * 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. + * sparc.md (ashldi3): Compact operand numbers. - * protoize.c: Unprotoized. - (edit_file): Improve message in -n case. + From Jeffrey Law: + * sparc.md (ldd, std peepholes): New peepholes to recognize cases + where two ld (or st) insns could be replaced by a single ldd or std. + * sparc.c (registers_ok_for_ldd): New function. Return true if the + given register pair is suitable for an ldd or std instruction. + (memory_ok_for_ldd): Likewise, but for memory locations. - * 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'. +Sat Apr 18 17:22:32 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Jan 1 15:07:41 1992 Michael Meissner (meissner at osf.org) + * c-lex.c (skip_white_space): Warn only for first carriage return. - * 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. +Sat Apr 18 10:08:45 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) -Wed Jan 1 06:10:01 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * genemit.c (struct clobber_ent): New structure. + (gen_insn): See if the clobbers required to be added were seen + for another insn. + (output_add_clobbers): Write case statements for all insn codes + using a particular clobber pattern. + + * cse.c (mention_regs): Always retun a value. - * reload1.c (reload): When forcing an illegitimate constant into - memory, use mode of SET_DEST in case constant is VOIDmode. + * rs6000.md (call): Compact operand numbers. - * stmt.c (expand_end_case): Pass index type to emit_case_nodes instead - of unsigned flag. - (node_has_{low,high}_bound): Accept INDEX_TYPE as an argument and see - if the a node value is at the limit of values of the type. - (node_is_bounded): Accept INDEX_TYPE and pass to above functions; - always call them. - (emit_case_nodes): Accept INDEX_TYPE instead of UNSIGNEDP as arg; - pass index type to recursive calls and to calls to bound checking + * genextract.c: Now includes insn-config.h. + (struct extraction, struct code_ptr): New structures. + (gen_insn): Record what extractions are needed and compare with + those for previous insns. + (mark_operand_seen): Function deleted. + (walk_rtx): Use strings as path and just record; don't write. + (print_path): Use strings for paths. + (copystr): New function. + (main): Write out all extractions here. + * Makefile.in (genextract.o): Includes insn-config.h. + + * hppa*.h: Change references from hp800* files to hppa*. + + * rs6000.md (lshrdi3, ashrdi3): Fix typos. + + * rs6000.md (extzv): Correctly install last change. + +Sat Apr 18 12:37:54 1992 John F Carr (jfc at Achates.mit.edu) + + * expmed.c (store_bit_field): Storing into a bitfield in memory + which is the size of a standard machine mode can be done with a + simple move instruction. + + * c-lex.c (skip_white_space): carriage return (^M) is whitespace, + but warn about ^M if pedantic. + + * cse.c (rtx_cost): New argument OUTER_CODE, the rtx code of the + expression in which the rtx argument is contained. + * expmed.c (init_expmed): Pass second argument to rtx_cost. + * optabs.c (expand_binop, expand_twoval_binop, emit_cmp_insn): Likewise. + * loop.c (init_loop, general_induction_var): Likewise. + * vax.c (vax_rtx_cost, vax_address_cost): New functions. + * vax.h (CONST_COSTS, RTX_COSTS, ADDRESS_COST): Call these functions. + * romp.h (CONST_COSTS): Give constants different costs depending + on whether they can fit into a 2 byte instruction, a 4 byte + instruction, or would require insn splitting to use. + * i386.h (CONST_COSTS, RTX_COSTS): Move PLUS case to RTX_COSTS. + * m68k.h (CONST_COSTS): Constant in range -254..-136 is only cheap + in a move insn, not as an operand to some other instruction. + * config/*.h: Update machine descriptions to define CONST_COSTS + and RTX_COSTS macros with 3 arguments. - * varasm.c (assemble_integer_zero): Deleted. - (assemble_integer, assemble_real): New functions. - (output_constant_pool, output_constant): Use new functions. - * final.c (end_final, profile_function): Likewise. - - * calls.c (calls_alloca): Don't interpret operands that are RTL as if - they were trees; check args of nested CALL_EXPR for alloca calls. - -Wed Jan 1 16:51:30 1992 Fred Fish (fnf at fishpond) - - * Makefile.in (manext): Include the '.' character. - (mandir): Don't use manext. - (install-man, uninstall): Change uses of manext. - -Wed Jan 1 21:31:01 1992 Ron Guilmette (rfg at ncd.com) - - * i860.md (cmpeqsi, cmpltsi, cmpgtsi): Made control flow more obvious. - (cmpnesi, cmplesi, cmpgesi): New patterns. - (cmpgeusi, cmpleusi): Fixed bug in compares against zero. - -Tue Dec 31 11:16:37 EST 1991 Dennis P. Glatting (...!uunet!tti!dennisg) - - * objc-actions.c (build_module_descriptor): Emit a constructor - function. Constructor function calls a ObjC run-time routine passing - a pointer to the module's module structure. - (init_objc): Call different constructor function if not Next. - (build_selector_translation_table): Don't give a selector global scope. - Changed in construction of decl_specs. - -Tue Dec 31 18:06:23 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * genrecog.c (add_to_sequence): Clear PREDS for "const_int_operand". - (same_modes): Properly check when we should ignore a mode test. - - * reload1.c (emit_reload_insns): Only change spill_reg_store for - output reloads. - Clear spill_reg_store when we did an input reload to a spill register. - (delete_output_reload): Use single_set. - (count_occurrences): Don't count use which is SET_DEST. - -Tue Dec 31 16:51:37 1991 Michael Meissner (meissner at osf.org) - - * mips.h (MIPS_VERSION): Change Meissner version # to 6. - (ASM_FINAL_SPEC): Don't pass -d and friends to mips-tfile. - (CONSTANT_ALIGNMENT): Align constructors on word boundaries. +Fri Apr 17 11:14:02 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * mips.md (extend*): Replace sign extension insns with a - define_expand that converts the expansion into the appropriate - shifts. Add insns that do sign extension from memory, which the - optimizer will utilitize if the thing being sign extended really - comes from memory. This allows the shifts to compete for CSE, at a - potential cost of generating worse code if reload spills a HI or QI - register to the stack. - (sne define_split): Instead of using a constant 0 as the second - argument to the slti instruction, use a hard coded regisiter 0. + * reload.c (safe_from_earlyclobber): New function. + * recog.c (constrain_operands): Verify that earlyclobber + operands don't conflict with inputs. - * mips-sysv.h (MD_STARTFILE_PREFIX): Define to point into the - directory where the MIPS compilers live. - (LIB_SPEC): Add crtn.o after all libs. - (STARTFILE_SPEC): Use crt1.o, not crtn.o. - (MACHINE_TYPE): Correct typo, this is System V, not BSD. - Changes are from Ron Guilmette (rfg at ncd.com). + * combine.c (subst, case SUBREG): Don't fold paradoxical SUBREGs + of constants. - * configure (mips-*-sysv): Correctly use mips-sysv.h instead of - mips.h. Change is from Ron Guilmette. + * cse.c (fold_rtx, case SUBREG): Extend previous change so it + folds widened operations with one operand a constant. -Tue Dec 31 16:51:37 1991 Michael Stump (mrs at charlie.secs.csun.edu) + * expr.c (safe_from_p, case BIND_EXPR): Only look at operand 1. - * t-decrose, t-decstatn, t-encrose, t-i386rose, t-mips: Remove - collect2 from EXTRA_PASSES, as collect2 does not need installing as - collect2. Also, change the symlink back to a hard link. + * cse.c (fold_rtx, case SUBREG): Don't fold paradoxical SUBREGs. + Instead, when we have a narrowing SUBREG, see if it is narrowing + the result of a widened arithmetic operation. - * Makefile.in: Add collect2 to STAGESTUFF as it is something that - needs removing or moving to stagen, but it should not be installed. +Fri Apr 17 09:16:56 1992 Charles Hannum (mycroft@hal.gnu.ai.mit.edu) -Tue Dec 31 15:47:50 1991 Michael Tiemann (tiemann at hal) + * Makefile.in (install-dir): Don't use '-' prefix on continuation line. - * combine.c (simplify_comparison): Swap evaluation of OP0 and OP1 so - the lattern can use the result of the former. +Fri Apr 17 06:52:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * conditions.h: In comments, refer to `tm.h', since `tm-' is no - longer the form used for these files. - -Tue Dec 31 11:45:26 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * cp-lex.c (lineno, finput): Decls deleted. - - * global-alloc.c (find_reg): New arg RETRYING. - (retry_global_alloc, global_alloc): Pass that arg. - - * Makefile.in (*protoize, *protoize.o): Compile with CC. - * protoize.c: Include config.h, not tconfig.h. - Always define _POSIX_SOURCE. - - * convex*.h (CPP_SPEC): !ansi controls _POSIX_SOURCE, _CONVEX_SOURCE. - * conv1*.h, conv2*.h: Files deleted. + * toplev.c (rest_of_compilation): + If -Wreturn-type, don't stop before jump.c. - * m68k.h, fx80.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Defined. + * calls.c (expand_call): Delete unused arg MODIFIER. + * expr.c: Arg deleted from calls (those which had it). -Tue Dec 31 08:08:32 1991 Tom Wood (wood at dg-rtp.dg.com) + * ns32k.c (print_operand_address): Handle UTEK_ASM. + (print_operand): Handle NO_IMMEDIATE_PREFIX_IF_SYMBOLIC. + Abort if must get fp number as bits but cannot do so. + * ns32k.h (TRAMPOLINE_TEMPLATE): Use PUT_ABSOLUTE_PREFIX. + * ns32k.md (call, call_value): Handle ENCORE_ASM. + * encore.h (PRINT_OPERAND): Just call print_operand. + (CALL_MEMREF_IMPLICIT): Defined. - * cexp.y (yylex): Record the parsed characters when dealing with - multibyte characters. + * config.sub: encore implies bsd, not sysv. -Mon Dec 30 17:13:30 1991 James Van Artsdalen (james at bigtex.cactus.org) + * stmt.c (expand_expr_stmt): Handle reference of volatile BLKmode. - * i386.md (mulhi3,mulsi3): If a multiply by constant 128, use the - two operand multiply instead of three operand form: the AT&T - assemblers generate incorrect object code for the latter. + * vax.md (indirect_jump): Delete the extra condition. -Mon Dec 30 17:39:36 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * configure (...-hpux): Set install_with_cp. - * jump.c (jump_optimize): Complete last change: use expand_and result. + * jump.c (delete_insn): After a label, go past other deleted labels. - * reload1.c (emit_reload_insns): Check if reload_in needs a secondary - reload if we have an in-out reload, since it might have been the - output the needed the secondary reload. + * m68k.md (movhi): Don't use switch_table_difference_label_flag + except in ports that need it. - * cse.c (simplify_unary_operation): Mode of integer CONST_DOUBLE is - VOIDmode, not DImode. + * stmt.c (warn_if_unused_value): Don't warn for constant after comma. + Don't warn for volatile decl or ref. - * fold-const.c (fold, case COND_EXPR): Make an ABS_EXPR when the - comparison is LE_EXPR or LT_EXPR. + * c-typeck.c (build_unary_op): ++ on void * warns if -Wpointer-arith. - * calls.c (calls_alloca): New function. - (expand_call): Preexpand any argument that contains a call to alloca - if this call will use the stack. +Thu Apr 16 22:56:20 1992 Michael Meissner (meissner@osf.org) - * rs6000.h (DATA_SECTION_OP): Make result a string to avoid compilation - error. + * mips.h (enum block_move_type): New enumeration for classing what + type of block move is used when splitting the last store off. + (RTX_COSTS): Don't use -mdebugd to set multiply costs to 2. - * rs6000.h, sparc.h, sun2o4.h, sun3.h (WCHAR_TYPE_SIZE): Fix - incorrect definition. + * mips.c (output_movstrsi): Take an additional argument to determine + whether this block move is a normal block move, or one that has been + split. For the split block moves, there are two parts -- the first + part is everything but the last store, and the second part is the + last store, suitable to fill a delay slot. -Mon Dec 30 16:10:46 1991 Michael Meissner (meissner at osf.org) + * mips.md (all define_splits): Don't do any define_split if + -mdebugd. + (movstrsi_internal*): Add support to split block moves into two + pieces, one that is everything except for the last store, and the + second piece, which is the last store that can fill a delay slot. - * mips.h (CC1_SPEC): Complete change deleting -mnogpopt and -mngpopt - in favor of -mno-gpopt. +Thu Apr 16 21:52:59 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) -Mon Dec 30 11:32:05 1991 Michael Tiemann (tiemann at cygnus.com) + * x-rs6k-mach: New file. + * configure (rs6000-*-mach): Use it. - * cp-class.c (build_vtable): If we're doing #pragma interface - and the interface is known, set TREE_PUBLIC, regardless of - TREE_EXTERNAL settings. +Thu Apr 16 21:52:17 1992 John F Carr (jfc at Achates.mit.edu) - * cp-decl.c (make_temporary_for_reference): Don't call - `convert_pointer_to', since the type may not be an aggr type. + * cse.c (cse_end_of_basic_block): Fix test for infinite loop. - * cp-decl.c (finish_decl): Now takes 4th arg NEED_POP. - All callers changed. +Thu Apr 16 21:50:38 1992 Jim Wilson (wilson@sphagnum.cygnus.com) - * cp-class.c (permanent_obstack): Declare it. - (add_method): push and pop obstacks before changing out of/into - temporary allocation. - * cp-decl.c (implicitly_declare): Add - push_obstacks_nochange/pop_obstacks around changes out of/into - temporary allocation. - (shadow_tag,xref_tag,start_decl,finish_decl): Ditto. - * cp-decl2.c (grokfield,get_temp_name): Ditto. - * cp-except.c ({ansi_}lookup_exception_object): Ditto. - * cp-lex.c (get_time_identifier): Ditto. - * cp-tree.c (build_exception_variant): Ditto. - * cp-typeck.c (mark_addressable): Ditto. + * rs6000.h (bss_section): Delete. No longer needed. - * cp-decl.c (grokdeclarator,maybe_build_cleanup): Delete calls to - preserve allocation status. Now handled by callers. + * a29k.c (print_operand, case 'F'): Always emit insn to fill empty + delay slot. -Mon Dec 30 01:44:21 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Thu Apr 16 18:45:41 1992 Tom Wood (wood at dg-rtp.dg.com) - * c-lex.c (yyprint): Function moved here. - * c-parse.y, objc-parse.y: Moved from here. + * cse.c (simplify_ternary_operation): Correctly sign-extend result. - * Makefile.in (c-parse.c, objc-parse.c, cp-tab.c, cexp.c): - cd to srcdir to run Bison. +Thu Apr 16 18:43:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-lex.c (check_newline): Get rid of #ident pedantic warning. - * cccp.c (do_ident): Put it here. - Don't warn if in system header file. + * objc-actions.c: Rename OBJC_NONUNIQUE_SELECTORS to + OBJC_SELECTORS_WITHOUT_LABELS. - * cccp.c (main, finclude): Warn if file ends in backslash-newline. + * c-decl.c (duplicate_decls): Allow extern vs extern inline. - * next.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): New definitions. + * c-parse.y (parmlist_or_identifiers_1): Use parmlist_1. + * c-decl.c (get_parm_info): Treat forward parm decls like nonparm + decls. - * global-alloc.c (find_reg): Kick out local regs if that helps. - (global_alloc): Set up vars local_regs_live_length, local_regs_n_refs. + * m68k.md (movhi before dispatch table): + Set switch_table_difference_label_flag. + * 3b1.h, amix.h, m68ksgs.h (ASM_OUTPUT_CASE_END): Test that flag. + Declare the flag. - * protoize.c (do_processing): Fix setting syscalls_absolute_filename. + * m68k.c (output_function_prologue, print_operand_address): Add + HPUX_ASM conds. - * configure (m68k-*-sysv4*, m68k-*-amix*): New alternatives. - * config.sub (*-commodore): Default OS to Amigados. - (-amix*): Allow this as input. - (amiga): New abbreviation. + * mips.c (output_block_move): If we get a case we can't handle, + don't print anything--just abort, because that implies a bug. - * sparc.c (output_function_epilogue): Skip unimp differently in leaf. - Use jmp insn rather than separate add. - (output_return): Skip unimp here too. - * sparc.md (return "peepholes"). Handle skipping the unimp. + * c-decl.c (c_decode_option): -ansi sets flag_no_nonansi_builtin, + not flag_no_builtin. + (init_decl_processing): Check flag_no_nonansi_builtin for alloca, etc. - * fold-const.c (fold, optimizing 2*EXPR): Use save_expr. + * dbxout.c (dbxout_symbol): Make pointer, not reference, + when variable's address is in a register. - * varasm.c (make_decl_rtl): Permit initializer for local explicit reg. + * c-decl.c (c_decode_option): Ignore -Wimport, -Wno-import. - * c-decl.c (kept_level_p): Changed to also return TRUE for binding - levels which contain only tagged type declarations. +Thu Apr 16 16:17:13 1992 Mike Stump (mrs@mole.gnu.ai.mit.edu) - * calls.c (expand_call): Cleaned up prev change. + * merge in Cygnus changes... -Mon Dec 30 11:29:47 1991 Michael Tiemann (tiemann at mole.gnu.ai.mit.edu) + Thu Apr 16 12:23:06 1992 Mike Stump (mrs@rtl.cygnus.com) - * cp-lex.c (real_yylex): Call REAL_VALUE_TRUNCATE with 2 args. + * cp-call.c (build_method_call): propagate const around to avoid an + incorrect error message. This type of fix may now be necessary in + other parts of the compiler. This solves all but one known const + problems. - * calls.c (expand_call): Handle allocating ARGBLOCK in the case - that ACCUMULATE_OUTGOING_ARGS is not defined. + Wed Apr 15 14:18:27 1992 Mike Stump (mrs@rtl.cygnus.com) -Mon Dec 30 10:27:11 1991 James Van Artsdalen (james at bigtex.cactus.org) + * cp-type2.c (readonly_warning_or_error): because the compiler + is now warning about const alot more, for a release or two, + lets just warn about const problems, just in case it is a compiler + problem and not a user problem. + + * cp-cvt.c (build_up_reference): Lets get tougher on const problems + on COMPONENT_REFs. - * protoize.c: fix typo in inclusion. + Wed Apr 15 11:59:42 1992 Jim Wilson (wilson@sphagnum.cygnus.com) -Mon Dec 30 06:16:16 1991 Leonard Norrgard (vinsci at nic.funet.fi) + * cp-decl.c (finish_function): Check for any debug info enabled, + not just DBX_DEBUG. - * c-decl.c (grokdeclarator): Changed erroneus error message. + Wed Apr 15 10:03:36 1992 Mike Stump (mrs@rtl.cygnus.com) -Sun Dec 29 16:16:55 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * cp-cvt.c (build_up_reference): Propagate const and volatile + down into the type so error checking works better. - * toplev.c (main): Last -On option wins. - * Makefile.in (ENQUIRE_CFLAGS): Add -O0. + Tue Apr 14 11:44:32 1992 Mike Stump (mrs@rtl.cygnus.com) - * Makefile.in (cp-tab.c): Change "expect" message. + * cp-decl.c (start_decl): Shouldn't use flag_this_is_variable + to make what this points to const, but I don't have the heart + to do it right now. + + * cp-decl2.c (grokclassfn): Don't use flag_this_is_variable + to make what this points to const. - * final.c (leaf_renumber_regs): Renumber just the PATTERN. + * cp-typeck.c (convert_arguments): Let build_up_reference handle + const errors correctly. Removes April 10 change. + + * cp-cvt.c (build_up_reference): Don't let people subvert const + when passing const argements to non-const functions. -Sun Dec 29 14:20:15 1991 Per Bothner (bothner at cygnus.com) + * cp-tree.c (build_cplus_method_type): Don't use + flag_this_is_variable to make what this points to const. - * 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 ... + From Wed Apr 1 12:00:59 1992 Chip Salzenberg (chip at tct.com) -Sun Dec 29 07:04:22 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cp-class.c (import_export_vtable): New function to set + TREE_PUBLIC and/or TREE_EXTERNAL on vtables. + (build_vtable): Use it. + (prepare_fresh_vtable): Use it. - * 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. + * cp-decl.c (finish_decl): Don't assume that TREE_PUBLIC means + "exported"; it can mean "imported". Decide with TREE_EXTERNAL. + (finish_function): Ditto. + * cp-decl2.c (write_vtable_entries): Ditto. + (finish_vtable_typedecl): Ditto. + (finish_vtable_vardecl): Ditto. + (finish_file): Ditto. - * optabs.c (init_extends, init_fixtab, init_floattab, init_optabs): - Add TImode operations. + * cp-lex.c (set_vardecl_interface_info): Public objects always + have TREE_PUBLIC, whether exported or imported. + * cp-pt.c (instantiate_member_templates): Ditto. - * reload.c (find_reloads): Prefer alternatives that reload SCRATCH - instead of something else. - * rs6000.md (movti): Adjust constraints and alternative order so - we actually get to use the stsi insn. + Fri Apr 10 21:44:15 1992 Per Bothner (bothner@cygnus.com) - * 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. + * cp-method.c (build_overload_name): Mangle 'signed char' + as 'Sc' (i.e. differently from 'char'!). - * 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. + Fri Apr 10 17:38:04 1992 Mike Stump (mrs@cygnus.com) - * loop.c (scan_loop): Don't suppress moving insns that can trap just - because we have passed a call inside a libcall/retval block. + * cp-typeck.c (convert_arguments): don't allow people to wipe const. - * 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. + Thu Apr 9 18:28:36 1992 Mike Stump (mrs@rtl.cygnus.com) - * 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. + * cp-tree.h: Add entry for $vb and $vf so that NO_DOLLAR_IN_LABEL + works. + * cp-class.c (finish_struct): Use the new macros from cp-tree.h. + * cp-tree.c (layout_basetypes): Use the new macros from cp-tree.h. - * jump.c (jump_optimize): Don't pass a SUBREG as a target to - expand_and. + Thu Apr 9 02:11:01 1992 Mike Stump (mrs@rtl.cygnus.com) - * combine.c (subst): Never associate floating-point, even if not IEEE. - Associate MAX and MIN operations. + * cp-typeck.c (build_function_call_real): Merge in a change made to + the C front end into the C++ front end to handle volatile functions. - * 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. + Thu Apr 9 03:45:03 1992 Mark Eichin (eichin at cygnus.com) -Sat Dec 28 18:14:21 1991 Michael Tiemann (tiemann at cygnus.com) + * cp-class.c (finish_struct): sanity check before calling popclass. + If we're already hosed due to previous parse errors (specifically, + we're not inside a class anymore) just report an error rather than + crashing in popclass (if there wasn't a previous parse error, as the + message suggests, we should get reports; this closes gcc/p0000525.) - * cp-method.c (build_overload_name): Don't call OB_FINISH unless END - is nonzero. + Wed Apr 8 08:56:49 1992 Mike Stump (mrs@rtl.cygnus.com) -Sat Dec 28 17:46:05 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * cp-decl.c (grokdeclarator): Fix an eichin bug introduced seconds + ago. Shame, he didn't put: - * gcc.c (default_compilers): Handle -ansi in the C++ entries - exactly the same way as the C entries do. + Workaround for p869: + 1) grokdeclarator (around cp-decl.c:7462) is using popclass(1) + uses popclass(1) to close the pushclass(3) done by + build_push_scope; however, it's coming around another time and + popping all the way out, which leads to the core dump when + do_friend is called from global scope (do_friend uses + current_class_name to figure out whose friendship it is + bestowing.) Current workaround: if (friendp) don't allow + popping all the way out. We still need to figure out how to + make sure it only gets called the *right* time; we also need + to figure out if the correct scope is being used, but that's a + matter of regression testing. - * rtl.c (add_dependence): Cast enums to int before doing an - ordered comparison, since some compilers can't do this. + into a ChangeLog entry. - * 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 %^. + Wed Apr 8 01:10:44 1992 Mike Stump (mrs@rtl.cygnus.com) - * m88k.h, sparc.h: Delete references to non-existent - BLOCK_PROFILER_USED_REG_P macro. + * cp-decl.c: Cleanup binding_levels_sane related code. Deleted + argument, and changed to void type. Removed extraneous asserts. -Sat Dec 28 14:31:36 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * cp-parse.y: Add fourth parameter to all finish_decl calls. + Defaulted the guess to 0. + * cp-decl.c: consistently use #if on all PARANOIDs. - * c-lex.c (check_newline): Set ignore_escape_flag for reading filename. - (yylex): Handle ignore_escape_flag in string constant. +Wed Apr 15 14:00:14 1992 Michael Meissner (meissner@osf.org) - * gnulib2.c (__do_global_dtors): Count elements properly. + * mips.md (movstrsi_internal): Add '&' constraint on clobbers. - * m68k.md (tsthi): Don't allow address register. + * mips.c (output_movstrsi): If one of our temporary registers is + used as an address register, don't use it and emit a warning. This + is a temporary measure. -Sat Dec 28 11:49:06 1991 James Van Artsdalen (james at bigtex.cactus.org) +Wed Apr 15 09:04:22 1992 Richard M. Stallman (rms at lyssenko) - * final.c (final): Initialize elements of line_note_exists. + * xm-ns32k.h (memcpy, memcmp, memset): New macro definitions. + * rtl.c (gcc_memset): New function. - * protoize.c: Don't include on USG unless SVR4. +Wed Apr 15 09:03:28 1992 Tom Wood (wood at dg-rtp.dg.com) -Sat Dec 28 11:09:36 1991 Fred Fish (fnf at fishpond) + * m88k.md (umulsidi3): Define for m88110. + (unit attribute): Define. - * Makefile.in (includes): Pre-remove the tmp dir; fix INSTALLED_H ref. + * x-m88kdgux (INSTALL_HEADERS): Define as empty. -Sat Dec 28 06:31:16 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Tue Apr 14 13:28:11 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * sparc.md (movstrsi): Fix typo testing for more than 32 subunits. + * c-lex.c (yylex): When warn_traditional, don't abort for harmless + type differences. Instead warn of possible problems on other systems. - * 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. + * rtl.c (add_dependence): Skip notes when HAVE_cc0. + * sched.c (sched_analyze_2): Likewise. - * a29k.h, romp.h, rs6000.h (PREDICATE_CODES): Add definition. + * sparc.md (movdf-1): Delete special case for moving 0.0 to integer + registers; it resulted in poor code. + (fix_truncdfsi2+1): Add patterns to optimize float->fix and + float->fix->float conversions. + * sparc.c (output_move_double): Clean up ldd/std code. Don't emit + ldd/std for obviously unaligned address even when TARGET_HOPE_ALIGN. + (output_fp_move_double): Call output_move_double for MEM cases. + It is not safe to assume double reg addresses are always aligned. -Fri Dec 27 17:31:48 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Tue Apr 14 07:55:47 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - * 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. + * *hp800*, *hp700*: Rename to *hppa* and *hppa1.1*, respectively. + * config.sub: Recognize PA model numbers for PA 1.0 and 1.1. + Disable "hppa" with no model number. + * configure: Update for new PA file names and basic_machine names. + * README-PA-HPUX: New name for README-PA-RISC, with some corrections. - * expmed.c (expand_mult): For negative values, try multiplication by - the original value as well as by negated value. +Tue Apr 14 05:46:37 1992 Tom Wood (wood at dg-rtp.dg.com) -Fri Dec 27 20:54:59 1991 Fred Fish (fnf at fishpond) + * Makefile.in ("if" and "["): Romp, 4.3 BSD, and Ultirx systems + fail when the condition is false. Change troublesome instances to + either use "case" or use '-' as a prefix to the compilation rule. - * m68kv4.h: Include m68ksgs.h rather than m68k.h. +Mon Apr 13 18:20:56 1992 Mike Stump (mrs@cygnus.com) - * m68kv4.h: Define TARGET_DEFAULT to be 68020 + 68881. - (CPP_SPEC): Define based on TARGET_DEFAULT + * dwarfout.c: Add default definition for ASM_OUTPUT_ASCII + as that is what varasm.c does now. This really maybe should go + into a file like tree.h or some machine independant file, for + maintainability. - * 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. +Mon Apr 13 18:16:32 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * 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. + * sun3.h, sparc.h (LINK_SPEC): Change nostdlib to !nostdlib. - * m68ksgs.h (ASM_OUTPUT_SKIP): Redefined to use `.space'. - (ASM_NO_SKIP_IN_TEXT): Defined. +Mon Apr 13 07:17:36 1992 John F Carr (jfc at Achates.mit.edu) - * amix.h, xm-amix.h, x-amix: New files. + * rs6000.md (extzv): Generate andi[ul] when practical. -Fri Dec 27 20:43:11 1991 Michael Tiemann (tiemann at cygnus.com) +Mon Apr 13 07:17:36 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * cp-tree.h (build_overload_name): Declare this function. - * cp-decl2.c, cp-method.c: Delete random `extern' declarations. + * cse.c (rtx_cost, case SUBREG): If modes can't be tied, make + expensive. + (cse_insn): Make extra entries when DEST is a multi-word SUBREG + as long as it is the same number of words as its inner REG. - * 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. + * emit-rtl.c (gen_lowpart_common): Handle casting integer to + float and vice versa. - * cp-class.c (add_method): Add a cast in call to `obstack_base'. + * emit-rtl.c (gen_lowpart_common): Rework code to truncate a + constant so we don't convert negative values into positive values; + use same code as in simplify_binary_operation in cse. -Fri Dec 27 20:22:05 1991 Michael Tiemann (tiemann at cygnus.com) +Mon Apr 13 07:16:56 1992 Richard M. Stallman (rms at mole.gnu.ai.mit.edu) - * cp-decl.c (push_overloaded_decl): Now returns a value. - All callers changed. + * cccp.c (handle_directive): When find quote during copying, + give bp as limit arg in skip_quoted_string. + When find \ while copying, copy next char without special handling. - * 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. +Mon Apr 13 06:57:18 1992 Tom Wood (wood at dg-rtp.dg.com) -Fri Dec 27 17:18:15 1991 Michael Meissner (meissner at osf.org) + * m88kv3.h (CTOR_LIST_BEGIN): Avoid complex #if. - * 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. + * tree.h (saved_insns): Make this a union holding an rtx or an int. + (DECL_FIELD_SIZE): New macro for overloaded uses of DECL_FRAME_SIZE. + * c-decl.c (finish_struct): Use DECL_FIELD_SIZE for bitfields. + * cp-class.c (finish_struct): Ditto. + * objc-actions.c (objc_copy_list, encode_field_decl): Ditto. + * stor-layout.c (layout_decl): Ditto. - * 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. +Sun Apr 12 17:46:30 1992 James Van Artsdalen (james at bigtex.cactus.org) -Fri Dec 27 15:35:38 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * expr.c (expand_builtin, case SQRT): Don't defer popping args on + function calls, as the call might be deleted. - * c-typeck.c (build_array_ref): Special warning about `register' array. + * i386.c (print_operand): Delete references to unused codes. + Abort if an unrecognized code is seen. - * 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. + * i386.md (bit opcode recognizers): Accept starting bit numbers + that are constants but not CONST_INT. + (QI/HI register bit test): Delete. + (SImode bit test): Don't accept CONST_INT starting bit number. - * fx80.*: Renamed from alliant.*. - * configure: Alternative renamed to fx80-alliant-*. - * config.sub: Corresponding changes. +Sun Apr 12 17:05:25 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * cccp.c (traditional): No longer static. - * cexp.y (yylex): Handle full variety of character constants. - Include stdlib.h and locale.h if needed. + * rs6000.h (ADDITIONAL_REGISTER_NAMES): Add "cc" as alias for cr0. - * c-decl.c (shadow_tag): Change warnings to error or pedwarn. + * cse.c (equiv_constant): See if a MEM is foldable or has a + constant equivalent. - * 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. + * expr.c (store_constructor): If building a static constructor + into a register, start out by zeroing the register so we can + constant-fold the constructor to a single constant. + (expand_expr, case CONSTRUCTOR): Don't write constant objects + into memory if the target is a register. + (expand_expr, case *_REF): Simplify getting field or array + entry from a CONSTRUCTOR. + Don't use value of const array unless -O. - * cp-decl2.c (finish_file): Always change $ to _ - regardless of NO_DOLLAR_IN_LABEL. +Sun Apr 12 14:15:33 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) -Fri Dec 27 15:04:40 1991 Tom Wood (wood at dg-rtp.dg.com) + * Makefile.in (compare, compare3): New targets. + (mostlyclean): Delete temporary files made by those targets. - * svr4.h (ASM_OUTPUT_ALIGNED_COMMON): Fix typo. + * stmt.c (expand_asm_operands): Ignore `cc' as clobbered reg if name + not known. + * varasm.c (decode_reg_name): Ret -3 if `cc' not recognized. + (make_decl_rtl): Understand -3 as value. - * 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. + * configure (i386-sequent-bsd*): Use collect2. -Fri Dec 27 11:34:59 1991 Ken Raeburn (Raeburn@Cygnus.COM) +Sun Apr 12 13:28:00 1992 Niklas Hallqvist (niklas@appli.se) - * cp-pt.c (mangle_class_name_for_template): Use a local obstack - rather than fixed-size buffers. + * configure: Correctly interpret use_collect2. - * cp-class.c (add_method): Case obstack_base value to desired type - when reallocating vector node. +Sun Apr 12 10:34:58 1992 Tom Wood (wood at dg-rtp.dg.com) -Fri Dec 27 09:16:50 1991 Ron Guilmette (rfg at ncd.com) + * c-typeck.c (digest_init): Use INIT to pass to convert_for_assignment + for a raw constructor. - * sort-protos: New file. + * fold-const.c (fold, case COND_EXPR): Get the type right when + the test is folded away. - * 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. + * loop.c (strength_reduce): Correct off-by-one error in INSN_LUID + safety check. - * i860.md (cmpnesf, cmpnedf): New patterns. - * i860.md (cmplesf, cmpgesf): Corrected to allow for IEEE conformance. + * stor-layout (layout_record, layout_union): When limiting the + effect of PCC_BITFIELD_TYPE_MATTERS to bitfields, use + DECL_BIT_FIELD_TYPE to determine if it was a bitfield. -Thu Dec 26 11:20:07 1991 Michael Tiemann (tiemann at cygnus.com) +Sat Apr 11 19:54:00 1992 Per Bothner (bothner@wombat.gnu.ai.mit.edu) - * cp-class.c: Declare N_* variables here. - * cp-class.h: Declare N_* variables extern here. + * config.sub: Don't "standardize" an os of newsos* to bsd + (it breaks gdb/readline/configure.in, which checks for newsos*). - * cp-gc.c (build_static_gc_entry): Call `assemble_gc_entry' instead - of implementing it directly. - * varasm.c (assemble_gc_entry): New function. +Sat Apr 11 16:32:21 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - * calls.c (expand_call): Don't crash if somebody declared a void - function `const'. + * Makefile.in: Remove spaces after reg-stack.o deps. - * 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. +Sat Apr 11 16:32:15 1992 Michael Meissner (meissner@osf.org) - * cp-spew.c (yylex): Extend special-case ptr-to-func ((*)()) parsing - to handle (*)[] and (&)[] declarations as well. + * c-decl.c (init_decl_processing): Make -fno-builtin supress all + builtin functions in the user's name space like memcpy, strlen, + etc. - * 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. +Sat Apr 11 14:00:53 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * cp-class.c (add_method): Fix handling of obstacks to correctly - extend TREE_VECs. + * rs6000.h (LEGITIMIZE_ADDRESS): Add missing force_reg call. + Jump to WIN when we do something. -Thu Dec 26 15:24:45 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * rs6000.c (non_{short,add,logical,and}_cint_operand): New functions. + * rs6000.h (PREDICATE_CODES): Add these predicates. + * rs6000.md (addsi3, andsi3, iorsi3, xorsi3, cmpsi3): Remove + define_expands; instead, add define_split for long constants. - * 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. + * combine.c (try_combine): Try to split the pattern using + split_insns before trying find_split_point. + (find_split_point, case MEM): Try to split an invalid address that + is a PLUS with a CONST_INT. - * 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. + * combine.c (try_combine): Correctly check if an auto-inc + side-effect has been duplicated. - * 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. + * expr.c (expand_expr, case PARM_DECL): Return zero of proper mode + if no DECL_RTL. + + * tree.c (save_expr): Must do something with read-only tree that + has side-effects. + (stabilize_reference_1): Don't ignore read-only trees. -Thu Dec 26 05:04:28 1991 James Van Artsdalen (james at bigtex.cactus.org) + * reload.c (find_replacement): New function. + * reload.h (find_replacement): Declare it. + * reload1.c (gen_input_reload): Use it to ensure substitutions + get done if we need to recreate a PLUS. - * reg-stack.c (move_for_stack_reg): If a SET_DEST is REG_UNUSED, - just pop the SET_SRC. +Sat Apr 11 14:00:02 1992 John F Carr (jfc at Achates.mit.edu) -Wed Dec 25 17:23:25 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * cse.c (cse_end_of_basic_block): Don't stop scanning insns if a + jump is found that can't be followed. - * c-decl.c (init_decl_processing): Fix type of exit, _exit. + * genextract.c: Make insn_extract copy the address of + recog_operand and recog_operand_loc into register variables. - * jump.c (cross_jump_death_matters): Move def to front, make static. +Sat Apr 11 13:59:17 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) -Tue Dec 24 20:41:32 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * c-parse.y (stmt): Parse entire parens of `for' + before actually starting the loop. - * hard-reg-set.h (reg_names): Declare here. - * stmt.c (expand_asm_operands): Not here. +Sat Apr 11 10:35:06 1992 Jeffrey A. Law (law@mole.gnu.ai.mit.edu) - * gcc.c (handle_braces, do_spec_1, give_switch): Clear up %*. + * caller-save.c (restore_referenced_regs): Do not call XEXP on + reg_equiv_address since reg_equiv_address is already an address. - * expr.c (expand_expr): Delete decl of lang_expand_expr. + * expr.c (expand_builtin, case SQRT): Note the dangers involved in + changing the argument test condition. - * final.c (final_scan_insn): Delete line number followed by another - line number, if numbers are effectively consecutive. + * m68k.md (sqrtdf2): New pattern to take advantage of the 68881 + sqrt function. - * 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. +Fri Apr 10 18:37:08 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - * c-decl.c (init_decl_processing): - Declare abort, exit, and _exit as volatile. + * hp800.c (output_function_epilogue): Output code to restore gr2 in + non-frame-pointer case correctly. - * c-decl.c (implicitly_declare): Set IDENTIFIER_IMPLICIT_DECL earlier. - (pushdecl): Test that and avoid nested extern warning. +Fri Apr 10 15:24:57 1992 Michael Meissner (meissner@osf.org) - * c-decl.c (init_decl_processing): Don't handle EXPAND_BUILTIN_VARARGS. + * decrose.h (TARGET_MEM_FUNCTIONS): Define, memcpy/memset are + provided. -Tue Dec 24 15:42:34 1991 Michael Tiemann (tiemann at cygnus.com) + * i386rose.h (TARGET_MEM_FUNCTIONS): Define, memcpy/memset are + provided. - * cp-init.c (add_friends): Add missing IDENTIFIER_POINTER macro - application to strncmp argument. + * encrose.h (TARGET_MEM_FUNCTION): Define, memcpy/memset are + provided. - * 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. + * mips-tfile.c (copy_object): Omit the test for zero flags, since + MIPS vendors are now putting bits in there. -Tue Dec 24 10:38:49 1991 Michael Collison (collison at osf.org) + * mips-svr4.h (HAVE_ATEXIT): Define, atexit is provided. + (TARGET_MEM_FUNCTIONS): Define, memcpy/memset are provided. - * 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. + * mips-sysv.h (TARGET_MEM_FUNCTIONS): Define, memcpy/memset are + provided. - * ns32k.h (HARD_REGNO_MODE_OK): Turn it into a function call. + * mips-news5.h (TARGET_MEM_FUNCTIONS): Define, memcpy/memset are + provided. + (getpagesize): Define a getpagesize that uses sysconf, just like the + MIPS V.4 port. - * 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. + * mips.c (output_block_move): Don't emit ulw/usw if GAS is the + assembler, use the lwl/lwr/swl/swr building blocks instead, since + GAS doesn't yet support the ulw/usw macro instructions. -Tue Dec 24 10:14:20 1991 Ron Guilmette (rfg at ncd.com) + * configure (mips-sgi-irix4): Use config/iris4.h instead of + config/iris.h. - * 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. + * iris4.h (new file): Just like iris.h, atexit is provided (unlike + IRIX revision 3). - * 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. + * iris.h (TARGET_MEM_FUNCTIONS): Define, memcpy/memset are provided. - * 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. +Fri Apr 10 11:59:02 1992 James Van Artsdalen (james at bigtex.cactus.org) - * c-lang.c (recognize_objc_keyword): Added explicit return. + * i386.md (cmpstr patterns): Correctly handle zero length + compares. Rewrite to avoid needing scratch register. - * 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. +Thu Apr 9 14:05:04 1992 Michael Collison (collison at osf.org) - * svr4.h (CONST_SECTION_FUNCTION): Moved decl of `text_section' to - top level. + * i386rose.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): Fix these to + avoid printing NaNs, and infinity. - * cexp.y (main): Add explicit return type and explicit value. - Move decl of yydebug to top level. +Thu Apr 9 11:34:31 1992 Tom Wood (wood at dg-rtp.dg.com) - * gnulib2.c (__bb_init_func): Moved decl of ___tcov_init to top level. + * m88kluna.h (DEFAULT_GDB_EXTENSIONS): Define as 0. - * 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. +Wed Apr 8 20:21:59 1992 Michael Meissner (meissner@osf.org) - * tree.c (dump_tree_statistics): Deleted decl of class_obstack. - (object_permanent_p): Added explicit return type. + * halfpic.c (all functions): Add a hash table for the lookup instead + of linear search. Don't use bits in the IDENTIFIER node, store the + information in the hash table. Always rebuild the SYMBOL_REF + returned by half_pic_ptr, instead of storing it away, since the RTL + gets reused at the end of the function. + (half_pic_declare): New function, called when a label is laid down + to say that it is no longer half-pic. -Tue Dec 24 09:29:24 1991 Charles Hannum (mycroft at hal.gnu.ai.mit.edu) + * halfpic.h (half_pic_declare, HALF_PIC_DECLARE): Add function + defintion, and accessor macro. - * expr.h (lang_expand_expr): Fix typo. + * mips.h (HALF_PIC_DECLARE): Add dummy macro if not OSF/rose. + (ASM_DECLARE_OBJECT_NAME): Invoke HALF_PIC_DECLARE on name. + (ASM_DECLARE_FUNCTION_NAME): Ditto. + (*_SECTION_ASM_OP): Put the leading tab back in. -Tue Dec 24 06:52:45 1991 Michael Meissner (meissner at osf.org) + * mips.md (dslot attribute): 'pic' type requires a delay slot, since + it is really a load. + (movsi): Make movsi a define_expand, and if it's moving the address + of a half-pic item into a register, convert it into a load. + (movsi_internal): The old movsi define_insn renamed. + (movstrsi_internal): Add '=' constraint on all stores and clobbers. - * 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. + * decrose.h (LINK_SPEC): If not -noshrlib or -pic-none, pass + -warn_nopic. Allow user to pass -noshrlib directly. - * decrose.h (HAVE_ATEXIT): Define. - * encrose.h (HAVE_ATEXIT): Define. - * i386rose.h (HAVE_ATEXIT): Define. - * decstatn.h (HAVE_ATEXIT): Define. +Wed Apr 8 00:11:56 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * gcc.texinfo (HAVE_ATEXIT): Expand documentation. - (EXIT_BODY): Document. + * sparc.h (MOVE_MAX): Set to 8 instead of 4. - * 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. + * sched.c (sched_analyze_2): Don't abort if find note before a CC0 + using insn. -Tue Dec 24 00:14:38 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * sparc.h (ADDITIONAL_REGISTERS_NAMES): Add. Define fake reg name + ccr, for use in asm clobbers. - * 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. + * sparc.h (TARGET_FORCE_ALIGN): Add comment explaining that it + is for experimental purposes only. + (FIRST_PARM_OFFSET): Add 4 when TARGET_FORCE_ALIGN to ensure that + stack is double-word aligned. + (FIRST_PARM_CALLER_OFFSET): Delete obsolete macro. - * Makefile.in (INSTALLED_H): New variable. - (includes): Preserve just those specific files. - - * 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. + From Tom Wood: + * unroll.c (final_giv_value): Put the subtracts in the right place. -Mon Dec 23 15:17:59 1991 Tom Wood (wood at dg-rtp.dg.com) + * sparc.c (compute_last_arg_offset): Delete, no longer needed. + (FRAME_POINTER_REQUIRED): Do not depend on frame size. - * configure: Delete m88k-v88r32 (this is supported by m88k-svr3) - and add m88k. - * config.sub: Delete v88r as a system type. +Tue Apr 7 22:36:33 1992 Michael Meissner (meissner@osf.org) -Mon Dec 23 19:50:48 1991 Fred Fish (fnf at fishpond) + * halfpic.c (whole file): Flesh out initial half-pic implementation + for the OSF/1 reference ports. This is still a work in progress. - * 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. + * halfpic.h (toplevel): Add declarations for half_pic_finish and + half_pic_ptr. Add macros HALF_PIC_FINISH, HALF_PIC_PTR, and + HALF_PIC_PREFIX. - * m68ksgs.h: New file. + * mips.h (call_memory_operand): Delete call_memory_operand + function declaration. + (PREDICATE_CODES): Ditto. + (CONSTANT_ADDRESS_P): Correctly reject half-pic addresses. - * 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. + * mips.c (call_memory_operand): Delete function. -Mon Dec 23 17:03:13 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * mips.md (call* patterns): Use memory_operand instead of + call_memory_operand for predicates. Use the test not register and + not CONSTANT_ADDRESS_P instead of call_memory_operand in the + define_expand body to test whether the function address needs to be + forced to a register. - * recog.h (insn_name): New declaration. - * final.c (output_asm_insn): Don't declare insn_name here. + * decrose.h (HALF_PIC_DEBUG): Define as true if -mdebugb, to debug + the half-pic code, just like debugging normal addressing. + (CPP_SPEC): Use the ____ form of the language macros instead + of __. + (LINK_SPEC): If -pic-lib and not -noshrlib, pass -warn_nopic. + (LIB_SPEC): Don't pass -L/usr/ccs/lib. - * dbxout.c (dbxout_function, dbxout_begin_function): - Pass missing arg to dbxout_really_begin_function. + * x-decrose (CCLIBFLAGS): Pass -pic-extern when building libgcc1.a. + (LIBGCC2_CFLAGS): Pass -pic-extern when building libgcc2.a. - * 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. +Tue Apr 7 19:00:56 1992 Tom Wood (wood at dg-rtp.dg.com) - * config.sub (fx2800): New machine alias. + * xm-m88k.h (NO_SYS_SIGLIST): Not provided by the 88open standards. - * va-m88k.h (va_start): Test __GNUC__, not __CLASSIFY_TYPE__. + * m88k.c (output_ascii): Generalize to support ident + * m88k.h (ASM_OUTPUT_IDENT, ASM_OUTPUT_ASCII): Use output_ascii. - * m88kv4.h: New version from Wood. - (CPP_PREDEFINES): Put -A options here. Remove __CLASSIFY_TYPE__. + * m88k.c, m88k.md, m88k.h: Integrate all changes to support the m88110. - * cccp.c (initialize_builtins): Define __GNUC__ as 2. +Mon Apr 6 22:51:02 1992 John Wroclawski (jtw@lcs.mit.edu) - * rtl.h (read_rtx): New declaration. + * mips-tfile.c (read_seek): Fix argument order in calls to + fatal. - * c-lex.c: Don't include output.h. - (asm_out_file): Declare it. - (ridpointers): Allocate storage here. +Mon Apr 6 21:17:38 1992 Mike Stump (mrs@albert.gnu.ai.mit.edu) - * 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. + * merged in Cygnus sources. - * objc-actions.c (error_with_ivar, error_with_method): - (warn_with_method): Use count_error, not errorcount. + Mon Apr 6 15:26:09 1992 Mike Stump (mrs@cygnus.com) -Mon Dec 23 11:50:37 1991 Ron Guilmette (rfg at ncd.com) + * cp-spew.c (hack_more_ids): Reimplement. Change from Niklas + Hallqvist. - * 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'. + Thu Apr 2 02:36:36 1992 Mike Stump (mrs@rtl.cygnus.com) - * 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. + * cp-*: Simplify DECL_NAME (TYPE_NAME into TYPE_IDENTIFIER. - * fixinc.svr4: Map assertion tests to equivalent ANSI macro tests. + * cp-call.c (build_method_call): Fix an error message. - * i860.c (output_block_move): Disabled code to move by words or - halfwords until it can be made to work right. + * cp-parse.y (LC): Renamed to left_curly. + (TYPENAME_SCOPE): Renamed to typename_scope. - * i860.c (output_block_move): Moved a sequence of common - `output_asm_insn' calls out of (and before) conditionals. +Mon Apr 6 14:04:49 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * i860.c (output_block_move): Corrected bugs in move loop. + * sparc.h (TARGET_HOPE_ALIGN): Fix typo, `-fast' -> `-dalign'. -Mon Dec 23 15:25:01 1991 Tom Wood (wood at dg-rtp.dg.com) + * expr.c (expand_expr, INDIRECT_REF case): Set MEM_IN_STRUCT_P if + this is an indirect of the address of an array, struct, or union. - * m88kv4.h (CPP_PREDEFINES): Fix for varargs/stdarg. - (includes): Include svr4.h before m88k.h so the overrides in m88k.h - will take effect. + * jump.c: Delete declaration of squeeze_notes. + (jump_optimize): Use new return value from squeeze_notes. + (squeeze_notes): Handle the case where START may be a note that + must be moved outside the range. Now returns the new start value. + * loop.c (find_and_verify_loops): Use squeeze_notes return value. + * stmt.c (expand_end_case): Call squeeze_notes before reorder_insns. + * rtl.h: Declare squeeze_notes. -Mon Dec 23 07:06:27 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * rs6000.h (PTRDIFF_TYPE): Define to int. - * i860.c (output_delayed_branch): Call insn_extract and - constrain_operands so that `which_alternative' is set properly. + Mostly from tege@sics.se: + * sparc.c (eligible_for_epilogue_delay): Clarify comment. Delete + unreachable test of leaf_function. + (singlemove_string): Correct test for when can use sethi alone. + (output_function_prologue): Declare leaf_function. More + efficiently frame sizes greater than 4095. Correctly handle leaf + functions with frame greater than 4095. + (output_function_epilogue): Likewise. + (output_return): Likewise. - * stor-layout.c (layout_type, case ARRAY_TYPE): Handle - TYPE_NO_FORCE_BLK similar to RECORD_TYPE. +Mon Apr 6 10:11:08 1992 Tim Moore (moore@defmacro.cs.utah.edu) - * encrose.h, i386rose.h, mips.h (LIBG_SPEC): Deleted; unused. + * config.sub : Add hp700 cpu type. + * configure : Make hp700-bsd and hp700-hpux cases, with use of gas + an option. + * hp700hpuxg.h, hp800hpuxg.h : New files for using gas under hpux. + * hp800.h (REGISTER_NAMES): Change to use %r style register names; + required to name PA-RISC 1.1 fp registers. + * x-hp800hpux : Don't invoke the assembler to compile alloca.c. + * README-PA-RISC: New file. -Sun Dec 22 12:02:03 1991 James Van Artsdalen (james at bigtex.cactus.org) +Mon Apr 6 08:00:06 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * i386.c (function_epilogue): Use correct operand for insn mode. + * reorg.c (relax_delay_slots): Don't get confused when a label + becomes zero (meaning end of function). -Sun Dec 22 12:20:16 1991 Michael Tiemann (tiemann at cygnus.com) +Sun Apr 5 13:45:37 1992 Ron Guilmette (rfg at ncd.com) - * cp-decl.c (grokdeclarator): Don't set TREE_PUBLIC for member - functions that are really declared as inline methods. + * i860.md (floatsidf3): Fixed to expand to a correct insn sequence. - * cp-init.c (build_virtual_init): Add missing call to - `assemble_external' when we use a virtual function table. +Sun Apr 5 12:33:02 1992 John F Carr (jfc at Achates.mit.edu) - * cp-decl.c (implicitly_declare): Don't allocate a decl if at the - global binding level. + * rs6000.h (EXTRA_CC_MODES, EXTRA_CC_NAMES): Add CCEQmode. + (SELECT_CC_MODE): Select it for equality comparison of comparison. + * rs6000.c (scc_comparison_operator): Reject improper use of + CCEQmode. + (ccr_bit): Handle CCEQmode, where bit is always third in field. + (print_operand, case 'E'): New case. + * rs6000.md: New pattern to compare two comparisons with + creqv/crxor. + Add peephole for two consecutive scc insns. - * 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. + * combine.c (subst, case FFS): (ffs (*_extend X)) -> (ffs X) + (make_compound_operation): Handle (and (rotate X C) M). -Sun Dec 22 12:31:46 1991 Ron Guilmette (rfg at ncd.com) + * flags.h (flag_cse_skip_blocks): New variable. + * toplev.c (flag_cse_skip_blocks): Define it here. + (f_options): Add it to table. + (main): -O2 turns it on. + * cse.c (invalidated_skipped_{set,block}): New functions. + (enum taken): New value, AROUND. + (cse_end_of_basic_block): New argument SKIP_BLOCKS. If it is + nonzero, follow a branch around a block of code which contains + no labels and set status = AROUND for the jump. + (cse_main): Pass FLAG_CSE_SKIP_BLOCKS argument to + cse_end_of_basic_block. + (cse_basic_block): If jump status is AROUND, call scan_skipped_block + before following jump. - * i386v4.h (TARGET_VERSION): Added definition. - * i860v4.h (TARGET_VERSION): Added definition. +Sun Apr 5 04:16:46 1992 James Van Artsdalen (james at bigtex.cactus.org) - * m68kv4.h: New file. - * fx2800.h: New file. + * optabs.c (emit_cmp_insn): Add missing parameter type declaration. - * m88kv4.h (DWARF_DEBUGGING_INFO): Deleted redundant definition. - (It's defined already in svr4.h.) + * expr.c (expand_builtin, case SQRT): Fix typo emitting insns. + Reformat to look like the rest of gcc. Use accessor macros to + access fields of an RTX. Make comments match code. - * m88kv4.h (CPP_PREDEFINES): Added definition. + * i386.md (cmpstr patterns): Handle zero length compares. - * m88kv4.h (CPP_SPEC, LIB_SPEC, LINK_SPEC, STARTFILE_SPEC): - Deleted redundant definitions. (These are defined in svr4.h.) +Sat Apr 4 04:40:58 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * 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. + * reload.c (find_equiv_reg): Avoid passing zero to true_regnum. - * configure (i386-*-sysv*): Fixed tmake_file value. - (i860-*-sysv3*): Fixed xmake_file and tmake_file value. - (i860-alliant-*): New configuration. + * expr.c (expand_expr, case COMPONENT_REF): Handle case where we + are extracting a field of a constant. - * 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. + * a29k.h ({TEXT,READONLY_DATA,DATA}_SECTION_ASM_OP): Put tab back. - * i860.c (zero_operand): Deleted useless function. + * rs6000.c (output_epilog): Reduce number of lines generated to + write traceback table. - * i860.c (singlemove_string): Added code to optimize moving halfword - constants. + * combine.c (move_deaths): A destination is used in this insn + unless is it completely overwritten. - * i860.c (output_block_move): Don't do CC_STATUS_INIT until it is - definitely necessary & appropriate. +Sat Apr 4 04:39:16 1992 John Carr (jfc at ATHENA.MIT.EDU) - * 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). + * expmed.c (store_bit_field, extract_bit_field): Remove redundant + tests for MEM. - * 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. + * c-common.c (binary_op_error): Handle FLOOR_DIV_EXPR, FLOOR_MOD_EXPR, + *ROTATE_EXPR. + * c-typeck.c (build_binary_op): Handle FLOOR_MOD_EXPR. - * 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). +Sat Apr 4 00:29:40 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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). + * c-decl.c (c_decode_option): `-' was missing in -Wno-redundant-decs. - * 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. + * Makefile.in (USE_COLLECT2, MAYBE_USE_COLLECT2): New variables. + (GCC_PARTS, native, install-common): Use USE_COLLECT2. + (toplev.o): Use MAYBE_USE_COLLECT2. + * configure: Let particular cases set use_collect2 + and have that control use of collect2 through editing Makefile. + Handle --with-gnu-as and --with-gnu-ld options. Ignore --with-*. + --with-gnu-ld turns off use_collect2. + * i386rose.h (CC1PLUS_SPEC): Deleted. -Sun Dec 22 01:25:07 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * gcc.c (do_spec_1): In case 'D', strip final / from prefixes. - * i386v4.h: Include svr4.h just once. + * c-decl.c (push_c_function_context): Add pedantic warning. - * protoize.c (fprintf, printf): Decls put in #if 0. + * collect2.c (main): Figure STANDARD_EXEC_PREFIX into clen. - * emit-rtl.c (stack_slot_list): Delete superfluous extern decl. - (emit): Abort if arg isn't recognized. + * c-typeck.c (get_spelling): Move alloca outside fn call. - * 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. +Fri Apr 3 16:36:54 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-lex.c: Include output.h. - (check_newline): Decl of asm_out_file deleted. + * varasm.c (output_constant_def): Set MEM_IN_STRUCT_P if nec. - * c-lex.h (ridpointers, NORID): Declare/define here. - * c-lex.c, c-parse.y, objc-parse.y: Not here. +Fri Apr 3 05:32:39 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * sun3.h (WORD_SWITCH_TAKES_ARG): Add `-assert'. - (LINK_SPEC): Pass -assert to linker. + * m88k.md (call_block_move{,_loop}): Don't write USE for regs + we don't set; remove unneeded CLOBBERs for call-used registers. - * gbl-ctors.h (__CTOR_END__, __DTOR_END__): Remove `extern'. + * caller-save.c (insert_save_restore): Abort rather than writing + out an insn having a null source or destination. - * sparc.h (RTX_COSTS): Increase multiply cost to 20. - (MULSI3_LIBCALL): Use .umul. - (UMULSI3_LIBCALL): Deleted. + * explow.c (allocate_dynamic_stack_space): Don't reference + STACK_BOUNDARY if it isn't defined. -Sat Dec 21 18:34:27 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * explow.c (allocate_dynamic_stack_space): Don't use TARGET if it + isn't a pseudo reg. - * combine.c (simplify_comparison): Allow OP0 to be VOIDmode if it - is a COMPARE or a comparison operation. +Fri Apr 3 01:50:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * i860.md (bte): Remove now unneeded patterns. - Correct mode mismatch errors in patterns that will now be used. + * fixinc.svr4: Don't reconvert __i386 if have _ after. -Sat Dec 21 00:14:25 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * c-decl.c (grokdeclarator): Use size_binop to get array hbound - 1. - * ns32k.h (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Dummies deleted. - (INITIALIZE_TRAMPOLINE): Likewise. #error inserted. + * enquire.c: Include sys/types.h. - * ns32k.c (print_operand_address): For invalid address, just abort. + * c-typeck.c (check_format): Don't use type name for integer types + or pointers to them. - * Makefile.in (FIXINCLUDES): New variable. - (includes, maketest): Use that. - * x-i386v4 (FIXINCLUDES): Override here. + * explow.c (allocate_dynamic_stack_space): New arg KNOWN_ALIGN. + All callers changed. -Fri Dec 20 18:28:54 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Thu Apr 2 15:24:38 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * dbxout.c (dbxout_type): Output just xref for var-size struct/union. - * dbxout.c (dbxout_function): Implement DBX_OUTPUT_FUNCTION_END. + * reload.c (find_equiv_reg): In previous change, verify valtry != 0. - * sparc.md (movstrsi): Add missing double quote. +Thu Apr 2 08:34:38 1992 Michael Meissner (meissner@osf.org) - * gcc.c (process_command): Handle -Xlinker. + * iris.h (SIZE_TYPE): Make type unsigned int, not unsigned long. + (PTRDIFF_TYPE): Define to be 'int', not 'long int'. + (WCHAR_TYPE): Define to be 'unsigned char', not 'int'. + (WCHAR_TYPE_SIZE): Define to be 8, not 32. - * calls.c (expand_call): Treat vfork like setjmp. +Thu Apr 2 06:01:07 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * c-decl.c (implicitly_declare): Use push_obstacks_nochange. + * fold-const.c (fold, case COND_EXPR): Add missing test for zero. - * sparc.h (WORD_SWITCH_TAKES_ARG): Add -assert. - (LINK_SPEC): Pass -assert to linker. + * expr.c (expand_expr, case ARRAY_REF): Handle case of constant + array whose initializer is a string. - * svr4.h (ASM_OUTPUT_LOCAL): Fix typo. + * optabs.c (emit_libcall_block): Don't move up insns that set + pseudos whose old values are used in previous insns. -Fri Dec 20 07:52:19 1991 Michael Tiemann (tiemann at cygnus.com) + * genattrtab.c (attr_rtx): Add some casts to int from enum rtx_code. - * cp-decl2.c (lang_decode_option): Recognize more -fno-OPTION - options which need special treatment (in the turning off of the - option). +Thu Apr 2 04:20:30 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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'. + * xm-mipsnbsd.h: New file. + * configure (mips-sony-bsd*): Use that. - * 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. + * stmt.c (expand_end_case): Move the convert_to_mode after emit_queue. - * cp-init.c (build_{new,delete}): Call `build_builtin_call' for BIN, - BID. - (build_builtin_call): New function. +Thu Apr 2 00:49:18 1992 James Van Artsdalen (james at bigtex.cactus.org) - * 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. + * stmt.c (expand_end_case): Fix typo. - * cp-method.c (hack_identifier): Call `assemble_external' if - necessary. +Wed Apr 1 19:01:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Dec 20 06:27:38 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * fold-const.c (size_int): Always switch to permanent_obstack + to make a node that will be saved - * 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. +Wed Apr 1 15:36:19 1992 Michael Meissner (meissner@osf.org) -Thu Dec 19 22:01:51 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * xm-irix4.h (alloca.h): Don't include if not using the + GNU compiler, since the Silicon Graphics compiler's alloca complains + if the result of alloca is stored in something that is not a simple + variable. Just use the C version of alloca.c. - * gnulib1.c (perform_fixdfsi): New customization macro. +Wed Apr 1 14:42:24 1992 Torbjorn Granlund (tege@mole.gnu.ai.mit.edu) - * svr4.h (SELECT_RTX_SECTION): Undef before defining. + * pyr.md (HImode compare recognizers): Don't match if subsequent + branch has unsigned predicate. -Thu Dec 19 16:59:12 1991 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) +Wed Apr 1 14:20:13 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * cccp.c (hack_vms_include_specification): Make conversion of - filenames more versatile for user specified include directories. + * sparc.c (output_function_epilogue): Drop unused true_epilogue + parameter. Delete obsolete tail-call support code, which worked + by passing -1 for leaf_function. + (tail_call_valid_p): Delete obsolete function. + (output_tail_call): Likewise. + * sparc.h (TARGET_TAIL_CALL): Delete obsolete option. + (FUNCTION_EPILOGUE): Fix call to output_function_epilogue. + * sparc.md (tail_call): Delete obsolete pattern. -Thu Dec 19 17:38:18 1991 Michael Meissner (meissner at osf.org) + * rs6000.c (output_epilogue): Output a traceback table. - * 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. +Wed Apr 1 06:42:54 1992 Tom Wood (wood at dg-rtp.dg.com) - * 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. + * m88k.h: Override ASM_OPs added to svr4.h. - * 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. +Wed Apr 1 03:12:44 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * gcc.c (default_compilers array): Pass -lang-asm to cpp when - processing .S files instead of -lang-c. + * emit-rtl.c (operand_subword): Swap words from const_double if nec -Thu Dec 19 15:06:09 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * ns32k.h (GO_IF_INDEXING): New arg MODE; caller changed. + Pass to INDEX_TERM_P. - * c-decl.c (c_decode_option): Handle -fno-ident. - * c-lex.c (check_newline): Ignore #ident for -fno-ident. +Tue Mar 31 18:10:10 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * svr4.h (ASM_OUTPUT_LOCAL): Use assemble_name. + * genattrtab.c (check_attr_value): Fix some backwards tests. - * mips.h: Use #error, not #include, for error messages. + * expr.c (move_by_pieces{,_ninsns}): Only look at MODE_INT modes. - * cccp.c (warning, main): Implement -Werror. + * fold-const.c (fold, case COND_EXPR): Fix typo in last change. - * i386sco.h (CPP_SPEC): Move non-fixed option here. - (CPP_PREDEFINES): From here. + * stor-layout.c (layout_record): Add missing call to size_int. - * gcc.c (do_spec_1): For %p, just pass -D options. - For %P, pass all -A options. Put in whitespace, fix typos. + * expr.c (do_store_flag): Handle case where EXP is a TRUTH_NOT_EXPR. - * c-parse.y (parmlist_2, defn_parmlist_2): Warn about (...). - * c-decl.c (get_parm_info): Don't warn here. +Tue Mar 31 17:18:20 1992 Jeffrey A. Law (law@mole.gnu.ai.mit.edu) -Thu Dec 19 06:15:46 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * c-decl.c (init_decl_processing): Enable `sqrt'. + * expr.c (expand_builtin, case SQRT): By default check that the + argument to sqrt is in sqrt's domain. If the argument is not in the + domain, then call the library function. Skip argument checking if + -ffast-math is in use. - * toplev.c (compile_file): Avoid ordered comparison of debug_info_level - since it is an enum. + * flags.h (flag_fast_math): Declare new variable. + * toplev.c (f_options): Add flag_fast_math to table. - * mips.c: Include gstab.h. +Tue Mar 31 17:11:09 1992 Per Bothner (bothner@wombat.gnu.ai.mit.edu) - * sparc.md: Fix typo. + * cccp.c: Add new flag -nostdinc++ to disable searching + standard C++-specific include directories. This is useful + for building libg++. + * gcc.c: Pass -nostdinc* to cpp, not just -nostdinc. + * cpp.texi: Document -nostdinc++. - * caller-save.c (save_call_clobbered_regs): Don't save regs that - die in a CALL_INSN or that are born there. +Tue Mar 31 15:32:34 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Dec 19 04:28:23 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * gcc.c (link_command_spec): Use %l before %X. - * c-aux-info.c (gen_aux_info_record): Don't write space at line beg. + * svr4.h (MULTIBYTE_CHARS): Turned off. -Wed Dec 18 11:46:13 1991 Tom Wood (wood at dg-rtp.dg.com) + * sun3.h, sparc.h (LINK_SPEC): Inhibit -e if -nostdlib. - * cse.c (cse_main): Use get_max_uid rather than computing it. + * collect2.c (my_strerror): Renamed from strerror. -Wed Dec 18 18:13:06 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * reload.c (find_equiv_reg): Find constants in REG_EQUIV notes. - * loop.c (scan_loop): Ensure replacement made by single-use code - is not modified in the life of the register being replaced. + * m68k.h (PRINT_OPERAND_PRINT_FLOAT): Fix typo in #ifdef. -Wed Dec 18 15:37:52 1991 Ron Guilmette (rfg at ncd.com) + * Makefile.in (install-dir): Create include subdir. - * rtl.h (fconst2_rtx, dconst2_rtx): Added extern declarations. +Tue Mar 31 18:03:21 1992 Thorsten Ohl (ohl@apollo.desy.de) - * flags.h (flag_inhibit_size_directive): Declared. + * x-apollo68 (CFLAGS, LIBGCC2_CFLAGS): Defined. + * t-apollo68: new file, use collect2. + * configure: use `t-apollo68'. - * 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. + * apollo68.h (ASM_SPEC): Delete -C. + (STRUCT_VALUE_INCOMING): Now 0. + (HAVE_ATEXIT): Defined. + (PROMOTE_PROTOTYPES): Delete #undef. + (USER_LABEL_PREFIX): Undef. + (LOCAL_LABEL_PREFIX, REGISTER_PREFIX, REGISTER_PREFIX_MD): Override. + (ASM_RETURN_CASE_JUMP): Defined. + (REGISTER_NAMES): Override. - * Makefile.in: Correct number of expected shift/reduce conflicts - reported by bison for cp-parse.y. +Tue Mar 31 14:59:53 1992 Tim Moore (moore@defmacro.cs.utah.edu) - * sparcv4.h: New file. + * hp800.md (movsi+4, call_value+1): Add x,y constraints for Snake + fp registers. + * hp800.h (INITIAL_FRAME_POINTER_OFFSET): Fix for Snake stack + alignment. + (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Fix for Snake fp + registers. + * hp800.c (output_function_prologue): Align stack for Snakes. + (output_arg_descriptor): Fix Snake typos. + + * hp700.h, hp700hpux.h : New files + (TARGET_DEFAULT): Emit Snake code by default. + * hp700hpux.h (HP_FP_ARG_DESCRIPTOR_REVERSED): Define to work + around assembler syntax difference between 700 and 800 series HPUX. + * hp800.h (ASM_DOUBLE_ARG_DESCRIPTORS): Conditionalize on the + above symbol. - * i860.h (FUNCTION_ARG_BOUNDARY): Added definition. - (sfmode_constant_to_ulong): Added extern declaration. +Tue Mar 31 09:58:52 1992 Michael Meissner (meissner@osf.org) - * i860.md (BTE/BTNE patterns): Changed all instances of - `(match_operand:SI 2 "zero_operand" "J")' to `(const_int 0)'. + * mips-sysv.h (getpagesize): When compiling the trampoline code, + define a macro getpagesize which uses the POSIX sysconf function. - * 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. + * mips-svr4.h (getpagesize): When compiling the trampoline code, + define a macro getpagesize which uses the POSIX sysconf function. - * i860.md: 20 new patterns (involving BTE/BTNE) like existing 20 - but simplified so that the combiner will find them. +Mon Mar 30 19:25:48 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * i860.md (sfmode_constant_to_ulong, fconst2_rtx): Removed - superfluous nested extern declarations. + * loop.c (strength_reduce): In recent maybe_multiple code, only + apply INSN_LUID to insn when safe. -Wed Dec 18 15:39:46 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Mon Mar 30 17:24:33 1992 Michael Meissner (meissner@osf.org) - * va-i860.h (va_start for stdarg.h): Divide reg counts by 4. + * mips.c (output_block_move): Fix typos that would generate + incorrect code if either the source or destination is a global or + static memory address. Increment appropriate -mstats counters. - * stmt.c (emit_case_nodes): Fix typo, near testing cost_table. + * x-iris (INSTALL): Use cp to install stuff, not install -c. - * i860.h (CUMULATIVE_ARGS): Define a named struct, then use it. +Mon Mar 30 16:39:28 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * function.c (expand_function_start): Compute sizes in proper order. + * m68k.md: Use `\;', not `;', to separate insns. - * svr4.h (MD_STARTFILE_PREFIX): Defined. - (STANDARD_STARTFILE_PREFIX): Deleted. + * toplev.c (main): Add cast when setting debug_info_level. - * sparc.md (movstrsi): Disable if needs more than 32 insns. + * m68k.h (GLOBAL_ASM_OP): New macro. + (ASM_GLOBALIZE_LABEL): Use that. + * hp320.h, m68ksgs.h, mot3300.h (GLOBAL_ASM_OP): Override this. + (ASM_GLOBALIZE_LABEL): Not this. - * expr.c (store_expr): Handle copying too-short STRING_CST. + * libgcc2.c (__builtin_saveregs) [sparc]: Define both assembler labels + __builtin_saveregs and ___builtin_saveregs, to handle all systems. - * gstdarg.h (_VA_LIST): Handle this like _VA_LIST_. + * m68k.h (TRANSFER_FROM_TRAMPOLINE): Add a globalize command. + (TRAMPOLINE_TEMPLATE): Make the JSRs really JSRs. + Always use precisely ___trampoline. - * 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. - -Wed Dec 18 14:59:26 1991 Michael Meissner (meissner at osf.org) - - * limits.h (whole file): Protect against inclusion. - - * 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. - - * 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. - -Wed Dec 18 04:53:23 1991 Ken Raeburn (Raeburn@Cygnus.COM) - - * 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. - - * cp-init.c (init_vfields): Now static. - - * cp-tree.h (struct lang_decl_flags): Merged "dummy" fields. - - * 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-pt.c (tsubst, case REFERENCE_TYPE): Call build_reference_type - instead of constructing the type here. - -Wed Dec 18 03:37:46 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * c-parse.y (label_decl): Use identifiers_or_typenames. - - * 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. - -Tue Dec 17 22:18:43 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * function.c (expand_main_function): Build SYMBOL_REF with Pmode, - not VOIDmode. - - * rs6000.h (HARD_REGNO_NREGS, CLASS_MAX_NREGS): FP regs can only hold - 64 bits, not any size FP value. - - * 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. - - * 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. - - * global-alloc.c (global_alloc): Clear preferences with eliminable - regs, in addition to clearing conflicts. - - * reload.c (find_reloads_toplev): Abort instead of making - a SUBREG of a VOIDmode constant. - - * emit-rtl.c (copy_rtx_if_shared): SCRATCH may always be shared. - -Tue Dec 17 21:06:03 1991 Michael Meissner (meissner at osf.org) - - * 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. - - * decrose.h (OBJECT_FORMAT_ROSE): Define, to tell collect to - enable OSF/rose support, rather than use nm. - - * encrose.h (OBJECT_FORMAT_ROSE): Define, to tell collect to - enable OSF/rose support, rather than use nm. - - * i386rose.h (OBJECT_FORMAT_ROSE): Define, to tell collect to - enable OSF/rose support, rather than use nm. - - * t-decrose (EXTRA_PASSES): Build collect2 instead of collect-osf, - and link it to ld. - - * t-encrose (EXTRA_PASSES): Build collect2 instead of collect-osf, - and link it to ld. - - * t-i386rose (EXTRA_PASSES): Build collect2 instead of collect-osf, - and link it to ld. - - * x-decrose (DEBUG): Delete -g, since CFLAGS already passes it. - (GCC_CFLAGS): Define POSIX so we can build protoize. - - * x-encrose (DEBUG): Delete -g, since CFLAGS already passes it. - (GCC_CFLAGS): Define POSIX so we can build protoize. - - * x-i386rose (DEBUG): Delete -g, since CFLAGS already passes it. - (GCC_CFLAGS): Define POSIX so we can build protoize. - - * t-decstatn (EXTRA_PASSES): Explicitly mention collect2. - (ld): Use $(SYMLINK) rather than just ln. - - * t-mips (EXTRA_PASSES): Explicitly mention collect2. - - * 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. +Mon Mar 30 07:17:50 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * collect-osf.c (whole file): Deleted, merged into collect2.c. + * reload1.c (inc_for_reload): Declare CODE consistently. + (constraint_accepts_reg_p): Add missing cast. -Tue Dec 17 15:49:06 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * fold-const.c (fold, case TRUTH_ANDIF_EXPR): Fix typo in last change. - * sched.c (schedule_insns): Don't update value of reg_live_length - when it is negative, because negative values are special. +Mon Mar 30 01:07:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * sched.c (schedule_block): Make new_needs an int not an enum, since - some compilers won't accept using `|' and `&' with enums. + * rtl.h: Don't continue #if lines. - * sparc.md: Don't emit nop after floating point compare; this is - no longer needed. +Mon Mar 30 03:30:54 1992 Mike Stump (mrs@cygnus.com) - From Tom Wood: - * sched.c (memrefs_conflict_p): Exchange xsize and ysize when x - and y are exchanged. + * Merge in Cygnus cp-* sources, below are the ChangeLog entries from + the Cygnus ChangeLog file. Note, I am experimenting with a slightly + different format, as Tiemann would like the dates to remain intact, + but Stallman does not want the dates out of order and would rather + have the entries altogether anyway. -Tue Dec 17 15:01:04 1991 Mark Eichin (eichin at cygnus.com) + Sun Mar 29 16:57:31 1992 Mike Stump (mrs@rtl.cygnus.com) - * 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. + * cp-decl.c (grokdeclarator): Handle typedef before other + specifiers, as typedef is now more complex in c++ than in c. -Tue Dec 17 10:57:12 1991 Tom Wood (wood at dg-rtp.dg.com) + Sun Mar 29 12:00:03 1992 Michael Tiemann (tiemann@cygnus.com) - * toplev.c (main): Make -g0 produce no debugging information. + * cp-decl.c (start_function): Always set TREE_PUBLIC if DECL1 is + part of any interface. -Tue Dec 17 15:15:20 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * cp-cvt.c (convert_to_reference): Don't type to convert a type to + itself. + (build_type_conversion): Don't look for alternatives to default + type conversion except to integral and real types. Fixes bug + exposed in 19 March change. - * gcc.c (do_spec_1): In %P, duplicate the names with __ just in front. + Tue Mar 24 07:53:46 1992 Michael Tiemann (tiemann@cygnus.com) - * 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. + * cp-tree.c (lvalue_p): POST{INC,DEC}REMENT_EXPR is not an lvalue. + * cp-typeck.c (build_modify_expr): Ditto. - * Makefile.in (STAGESTUFF): Remove collect and collect2. + * cp-init.c (emit_base_init): If debugging, force out a line note so + we can step into ctors for base initializers. + (build_virtual_init): Note that we need to do some more work to + handle replicated base classes in multiple inheritance lattices. - * c-parse.y (parmlist_2): Allow just `...' with no named args. - * c-decl.c (get_parm_info): Pedantic warning for that usage. + Mon Mar 23 00:33:35 1992 Michael Tiemann (tiemann@cygnus.com) - * final.c (final_scan_insn): Don't output blocks for -g1. + * cp-init.c (expand_aggr_init_1): Finish Mar 15 change concerning + INDIRECT_REFs that have TREE_HAS_CONSTRUCTOR set. - * Makefile.in (crtbegin.o, crtend.o): Use -g0. + * cp-call.c (build_overload_call_real): Ensure FINAL_CP->EVIL is set + when FINAL_CP is non-NULL and we encounter an ERROR_MARK_NODE in the + operands we are processing. - * function.c (expand_main_function): Do nothing if INIT_SECTION_ASM_OP. + * cp-cvt.c (convert_to_reference): Propagate ERROR_MARK_NODE from + failed type conversions. - * 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. + Sun Mar 22 20:01:51 1992 Michael Tiemann (tiemann@cygnus.com) -Tue Dec 17 15:01:11 1991 Tom Wood (wood at dg-rtp.dg.com) + * cp-init.c (is_aggr_typedef): Don't give an error message if NAME + is ERROR_MARK_NODE. - * 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. +Sun Mar 29 09:29:10 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) -Mon Dec 16 21:50:42 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * make-gcc.com: Remove patch from March 7. - * stmt.c (struct case_node): Remove unused field `test_label'. - (pushcase, pushcase_range): Don't initialize it. + * make-l2.com: Use compiler that was just built, if available, + otherwise use system compiler if it is version 2. - * 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. +Sun Mar 29 19:53:33 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * expr.c (convert_move): Add missing arg to call to force_reg. - (convert_to_mode): Likewise, for protect_from_queue. + * fold-const.c ({invert,swap}_tree_comparison): New functions. + (comparison_equiv_p): Deleted. + (operand_equal_for_comparison_p): New function. + (invert_truthvalue): Use invert_tree_comparison. + (fold): Use variables T1 and TEM consistently. + Don't mix arg[01] and TREE_OPERAND (t, [01]); they aren't + identical. + (fold, comparison cases): Use new functions to adjust comparison + codes; add var INVERT. + Convert f >= f to f == f for FP and similar. + Correctly compute FP <= and >= when one arg is a NaN. + Clean up handling of constant results. + (fold, case COND_EXPR): Rework considerably to catch more forms + of abs, min, max, and -abs and also clean up; use new function + operand_equal_for_comparison_p. -Mon Dec 16 20:33:10 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Sun Mar 29 00:00:35 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * expr.c (expand_builtin): Check number and types of args. + * cse.c (simplify_relational_operation): Arg ptr reg may be 0. - * c-parse.y (stmt, extdef): Allow constant expression inside plain asm. + * gcc.c: Always define R_OK, etc. if system headers don't. - * 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. + * c-parse.y (maybe_attribute): Accept `mode (m)' attribute. + * c-common.c (decl_attributes): Handle that attribute. - * c-typeck.c, cp-typeck.c (c_sizeof): Give error for incomplete type. + * tower.h (REGISTER_NAMES): Discard the fpa regs. + * tower-as.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): + Don't handle fpa regs. + (PUT_SDB_START_DIM, PUT_SDB_NEXT_DIM, PUT_SDB_LAST_DIM): + New macros. + (PUT_SDB_DIM): Deleted. -Mon Dec 16 11:14:28 1991 Ken Raeburn (Raeburn@Cygnus.COM) + * m68k.h (RTX_COSTS): Smaller multiply costs on 68040. - * cp-decl.c (init_decl_processing): Don't declare unused function - __builtin_vec_delete. + * stmt.c (expand_end_case): Reduce amount of specific modes + used in handling casesi. -Mon Dec 16 08:35:04 1991 Torbjorn Granlund (tege at hal.gnu.ai.mit.edu) + * collect2.c (savestring): Copy only SIZE bytes of string. - * gnulib2.c (__udivmoddi4): Add comment. + * gstddef.h: Handle __need_size_t, __need_wchar_t, __need_ptrdiff_t, + and _need_null. -Mon Dec 16 07:47:13 1991 Michael Tiemann (tiemann at cygnus.com) + * c-typeck.c (digest_init): Save INIT with nops not stripped + to pass to convert_for_assignment. - * 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. +Sun Mar 29 12:27:01 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) -Mon Dec 16 07:17:46 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * vms.h (FUNCTION_PROLOGUE): Redefine to add 4 bytes to local + storage on the stack. + (STARTING_FRAME_OFFSET): Redefine as -4. - * 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. - - * 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. +Sun Mar 29 19:58:57 1992 Paul Eggert (eggert@twinsun.com) - * 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. + * c-decl.c (store_parm_decls): Function prototypes now override + old-style definitions if argument types disagree only because of + promotions. -Mon Dec 16 07:09:21 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Sun Mar 29 17:40:56 1992 Fred Fish (fnf at fishpond) - * 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. + * fixincludes (stdlib.h): Fix free/calloc/malloc/realloc return types. - * objc-actions.c (init_objc): Call __objcInit as a constructor. +Sun Mar 29 15:12:39 1992 Ron Guilmette (rfg at ncd.com) - * toplev.c (compile_file): Reenable SDB code #if 0'd before. + * sparc.c (sparc_type_code): Added this new routine. + (tree.h): Included to support `sparc_type_code'. + (output_block_move): Cleaned up code to handle assembler-specific + aspects of internal labels. - * protoize.c (version_string): Make it extern. - * Makefile.in (protoize, unprotoize): Link with version.o. + * sparc.h: (REG_ALLOC_ORDER, REG_LEAF_ALLOC_ORDER, LEAF_REGISTERS): + Deleted spurious semicolons. + (ASM_DECLARE_RESULT): New macro to generate the .proc directive. + (ASM_DECLARE_FUNCTION_NAME): Changed to use ASM_DECLARE_RESULT. + (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Changed to use + ASM_GENERATE_INTERNAL_LABEL when generating jump table elements. -Sun Dec 15 23:31:47 1991 Michael Tiemann (tiemann at cygnus.com) + * svr4.h (SVR4): Don't define this symbol here. (It was never + needed, and it will be used to indicate an SVR4 *host* from now on.) + (SKIP_ASM_OP): Define this new macro. + (ASM_OUTPUT_SKIP): Use SKIP_ASM_OP. + (ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL): Added + new definitions appropriate for most SVR4 assemblers. + (COMMON_ASM_OP, LOCAL_ASM_OP): Define these new macros. + (ASM_OUTPUT_ALIGNED_COMMON, ASM_OUTPUT_ALIGNED_LOCAL): Use them. + (ASM_OUTPUT_ALIGNED_LOCAL): Allocate things in common rather than + trying for the .bss section (which may not work). + (ASM_DECLARE_RESULT): Define this to do nothing (if not already + defained for target machine). + (ASM_DECLARE_FUNCTION_NAME): Add invocation of ASM_DECLARE_RESULT. - * cp-tree.c (virtual_member): When recurring, don't dive into - nonexistent baseclasses. + * dwarfout.c (ASM_DWARF_POP_SECTION): Renamed ASM_OUTPUT_POP_SECTION. + (PUSHSECTION_ASM_OP, POPSECTION_ASM_OP): New macro definitions. + (SECTION_ASM_OP): Deleted. Replaced by PUSHSECTION_ASM_OP. + (ASM_OUTPUT_PUSH_SECTION, PUSHSECTION_FORMAT): New macro definitions. + (*_SECTION): New macro definitions for important section name strings. + (ASM_DWARF_*_SECTION): Deleted all macros to change to specific + sections and replaced them globally with calls to the new parameterized + ASM_OUTPUT_PUSH_SECTION macro. - * 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. +Sat Mar 28 17:28:17 1992 Michael Meissner (meissner@osf.org) -Sun Dec 15 14:57:23 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * mips.h (MIPS_VERSION): Bump Meissner version # to 15. + (output_block_move): Add function defintion. + (HALF_PIC_PTR, HALF_PIC_FINISH): Provide dummy definitions. + (OPTIMIZATION_OPTIONS): Set flag_gnu_linker to FALSE, and + flag_no_cse_function to TRUE. + (CC1PLUS_SPEC): Delete -- it just passed -fno-gnu-binutils to + cc1plus. - * Makefile.in (SYSCALLS.c.X): Fix typo. - (INTERNAL_CFLAGS): Delete -DMERGED. + * mips.c (block_move function): Use movstri_internal, instead of + emitting the moves directly. + (output_block_move): New function to emit the correct code for block + moving a constant amount of data. + (siginfo): Change options to ps. - * dbxout.c (dbxout_init): Pass proper args to ASM_OUTPUT_MAIN_*. - * newpbb.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Add proper arguments. + * mips.md (movstrsi_internal): New block move pattern. + (movsi_ulw): Add an appropriate REG_EQUIV regnote. + (movsi_usw): Type attribute is store, not load. - * stmt.c (emit_case_nodes): Rewrite to change induction conditions. - Handle boundedness in the bounded node itself. - Handle branching entirely at the parent level. + * mips-gbsd.h (toplevel): Include mips-bsd.h, not mips-gbsd.h. - * gstdarg.h: Use va-i860.h. - * va-i860.h (va_start for ANSI): Fix typo. Call __builtin_next_arg. + * mips-bsd.h (MD_STARTFILE_PREFIX, MD_EXEC_PREFIX): Use explicit + BSD43 prefixes. -Sat Dec 14 20:45:30 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * mips-sysv.h (MD_STARTFILE_PREFIX, MD_EXEC_PREFIX): Use explicit + System V prefixes. - * Makefile.in (USER_H): va-hp9k8.h should be va-hp800.h. + * mips-svr4.h (MD_STARTFILE_PREFIX, MD_EXEC_PREFIX): Use explicit + System V.4 prefixes. - * 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. + * decstatn.h (TARGET_MEM_FUNCTIONS): Define. - * 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 Mar 28 15:12:39 1992 Ron Guilmette (rfg at ncd.com) -Sat Dec 14 16:10:11 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * libgcc2.c (eprintf): Make argument types comsistant with assert.h. + (__builtin_new, __builtin_vec_new): Declare all external functions. + (default_new_handler): Use a macro for the "memory exausted" message. - * 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. + * sparcv4.h: File completely replaced (with one that works). - * 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. +Sat Mar 28 15:09:46 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-init.c (add_friends): Pass proper args to strncmp. + * toplev.c (flag_gnu_linker): Default to 0 if USE_COLLECT2. - * toplev.c (compile_file): Clear DECL_RTL for vars not really output. - #if 0 possibly redundant code for SDB output. + * i386.h (TARGET_SWITCHES): Add svr3-shlib. + (TARGET_SVR3_SHLIB): New macro. + * i386v.h (ASM_OUTPUT_LOCAL): Override definition here. - * sys-types.h: Include gstddef.h to get size_t and wchar_t. + * Makefile.in (gcc.xtar): Update version in README. - * ultrix.h (CPP_PREDEFINED): Add __unix, __ultrix, __bsd4_2. + * libgcc2.c [sparc] (__builtin_saveregs): Add optional .proc, + .type and .size assembler commands. - * Makefile.in (STAGESTUFF): Add collect, collect2. + * dbxout.c (dbxout_type): New arg SHOW_ARG_TYPES. All calls changed. + (dbxout_type_methods): Mostly rewritten, with Tiemann's help. -Sat Dec 14 12:16:12 1991 Michael Tiemann (tiemann at cygnus.com) + * Eliminate limit on alignment value of a variable or field. + * tree.h (DECL_ALIGN): Use frame_size slot. + (struct tree_decl): `align' slot deleted. + * print-tree.c (print_node): Print `align' or `frame_size', not both. + * expr.c (get_pointer_alignment): Don't use DECL_ALIGN of function. + * c-decl.c (duplicate_decls, finish_enum): Likewise. + * tree.c (make_node): Likewise. + * c-common.c (decl_attributes): Eliminate limit of 255 on alignment. - * cp-search.c (get_baselinks): Use obstacks right, instead of - aborting when we know we're using them wrong. + * collect2.c: Don't include gstdarg.h or gvarargs.h. + Make error messages follow standards. + (error, fatal, fatal_perror): Don't use varargs. + Accept as many args as anyone tries to use. - * cp-parse.y (structsp): Fix typo in exception declaration rule. + * cp-decl2.c: Get rid of -fgnu-binutils. - * cp-typeck.c (build_modify_expr_1): Recursive call to - `build_modify_expr_1' used pre-BINFO representation for - BASETYPE_PATH argument. + * ns32k.h (INDIRECTABLE_ADDRESS_P): Deleted. + (GO_IF_NONINDEXED_ADDRESS): Delete dupllicate test for reg+offset. + (MEM_REG): Don't accept constant here. + (INDIRECTABLE_2_ADDRESS_P): Adapt usage of MEM_REG. + (GO_IF_INDEXING, GO_IF_INDEXABLE_ADDRESS): New macros. + (GO_IF_LEGITIMATE_ADDRESS): Use them. - * 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. +Sat Mar 28 20:48:20 1992 Chip Salzenberg (chip at tct.com) -Sat Dec 14 07:11:03 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * stor-layout.c (layout_record, layout_union): + Limit effect of PCC_BITFIELD_TYPE_MATTERS to actual bitfields. + (layout_decl): Do not override a packed decl's alignment. - * reload.c (find_reloads_toplev): If we have a SUBREG of a multi-word - constant, try to extract just the word we want. + * c-common.c (decl_attributes): Don't expect a simple + attribute like "packed" to be in a LIST_NODE. - * global-alloc.c (global_alloc): Correct reference to ELIMINABLES. + * c-decl.c (finish_struct): If a field has the "packed" + attribute, don't override it with type's normal alignment. -Fri Dec 13 15:28:38 1991 Michael Meissner (meissner at osf.org) +Sat Mar 28 06:51:12 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * configure (mips-mips-sysv): On MIPS System V, use xm-umips.h, not - xm-mips.h. + * integrate.c (initialize_for_inline): Replace DECL_INCOMING_RTL + if it has an address shared with DECL_RTL, not just when the entire + value is shared. - * gstddef.h (__PTRDIFF_TYPE__): Provide default definition in case - non-GCC 2.00 compiler is used. - (__SIZE_TYPE__): Ditto. - (__WCHAR_TYPE__): Ditto. + * rs6000.c (input_operand): Clean up and make comments agree with + code; no changes to what is matched. -Fri Dec 13 14:49:54 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * loop.c (add_label_notes): Handle operands of type 'E'. - * config.sub: Renamed from config.subr. - Support os -sym1. - Convert -svr3, -svr4 to -sysv3, -sysv4. - * configure: Used new name. + * rs6000.c (print_operand, case 'A'): Fix typo. - * Makefile.in (includes): Preserve files from GCC already in dir. +Sat Mar 28 01:29:06 1992 James Van Artsdalen (james at bigtex.cactus.org) -Fri Dec 13 11:01:12 1991 Fred Fish (fnf at fishpond) + * output.h (current_function_uses_const_pool): New declaration. - * att386.h: Fix unparenthesized macro arguments in - ASM_OUTPUT_ASCII macro. + * i386.c (function_{prologue,epilogue}, simple_386_epilogue): + If the constant pool is used, the PIC reg will be used. - * 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). + * expr.c (expand_builtin): Add support for named pattern strlenM. + * expr.h (strlen_optab): New declaration. + * optabs.c (init_optabs): Initialize strlen_optabs. + * i386.md (strlensi): New pattern. - * svr4.h: Fix misspelled variable name labelno (was labeno). +Fri Mar 27 12:11:03 1992 Fred Fish (fnf at fishpond) -Fri Dec 13 09:07:22 1991 Michael Tiemann (tiemann at cygnus.com) + * fixinc.svr4 (dbm.h): Fix unconditional redefinition of NULL - * 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. + * config.sub: Add i486 as a distinct CPU type. Recognize i486v4 + as distinct from i386v4. Change ncr3000 to i486. + * configure: Add i486-ncr-sysv4. + * config/x-ncr3000: New file. -Thu Dec 12 22:03:52 1991 Eric Youngdale (youngdale at v6550c.nrl.navy.mil) +Fri Mar 27 18:44:45 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * make-cc1.com: Change message given to user. Change c-parse_tab.* - to c-parse.* + * fold-const.c (twoval_comparison_p, eval_subst): New functions. + (fold): If an operand of a comparison is a COMPOUND_EXPR, move + it outside the comparison. + (case GT_EXPR, ...): Replace old code to fold comparisons + of comparisons with new code using new functions above. + When changing code of unsigned comparisons, set variable CODE. - * config-gcc.com: Purge excess versions of version.opt. + * expr.c (get_inner_reference): Return BLKmode and -1 size for a + variable-sized object instead of aborting. + (do_jump, case COMPONENT_REF): If get_inner_reference returns a + size of -1, don't do anything special. + * fold-const.c (optimize_bit_field_compare, decode_field_reference): + Likewise. -Thu Dec 12 20:25:20 1991 Michael Meissner (meissner at osf.org) + * combine.c (reg_bitfield_target_p): Replace test with one that + compares the register number of X with that of a register which + is the target of the assignment. - * Makefile.in (BOOT_CFLAGS): Remove quotes around the argument, - since this causes a syntax error when it is later expanded. + * loop.h (struct_induction): New field maybe_multiple. + * loop.c (strength_reduce): Track when code may be executed more + than once per iteration; pass to record_biv. + Call update_giv_derive on every JUMP_INSN. + (record_biv): Copy new maybe_multiple arg to struct induction. + (record_giv): Clear maybe_multiple. + (update_giv_derive): If passing JUMP_INSN, look at maybe_multiple + in biv update. -Thu Dec 12 17:53:55 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * expr.c (expand_expr, case MODIFY_EXPR): Add missing call to + do_pending_stack_adjust. - * config.subr: Add many new machines and some OS's. + * rs6000.h (OBJECT_FORMAT_COFF): Add definition. - * va-i860.h: Rewrite from rfg. +Fri Mar 27 15:58:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * toplev.c (main): Handle -dm on USG systems. + * c-typeck.c (check_format): If arg wants void *, accept any ptr. - * m68k.c (print_operand, print_operand_address): New functions. - * m68k.h (PRINT_OPERAND, PRINT_OPERAND_ADDRESS): Just call them. + * ns32k.md (CALL_MEMREF_IMPLICIT, MOVD_FLOAT_OK): + New parameters replace GAS_SYNTAX. + * pc532.h (CALL_MEMREF_IMPLICIT, MOVD_FLOAT_OK): Define both. + * sequent.h (CALL_MEMREF_IMPLICIT): Defined. - * m68k.c (S_*, D_*): Delete the #undefs at the end. + * sequent.h (INDEX_RATHER_THAN_BASE): Defined. + * ns32k.c (print_operand_address): Check it here. - * stmt.c (expand_return): Special case if fcn returns void. + * ns32k.c (print_operand_address): Treat all non-ints as symbolic. + (print_operand): Likewise. Also fix typo, use PUT_ABSOLUTE_PREFIX, + and test NO_ABSOLUTE_PREFIX_IF_SYMBOLIC. - * objc-actions.c (build_objc_method_call): Fix typo in NeXT case. + * svr4.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): + Output newline after section op. + * i860v3.h (DTORS_SECTION_ASM_OP, CTORS_SECTION_ASM_OP): + Delete newlines. - * expr.c (expand_builtin, BUILT_IN_ARGS_INFO): Cast init of word_ptr. + * Makefile.in (clean): Don't delete stage*. + (distclean): Do it here. + (extraclean): Delete config/patch*. - * protoize.c: Delete the `extern "C"' for C++ compilation. + * Makefile.in (SYSCALLS.c): Target deleted. + (SYSCALLS.c.X): Create SYSCALLS.c and use it in one rule. Delete also. -Thu Dec 12 10:01:13 1991 Michael Meissner (meissner at osf.org) + * Makefile.in (ld): New target. + * t-* (ld, collect2*): Targets deleted. + (EXTRA_PROGRAMS): Moved ld here if it was in EXTRA_PASSES. + (EXTRA_PASSES): Delete ld. - * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Fix off by one error in - handling the constructor list when a valid count is supplied. + * gcc.c, cccp.c: Don't include sys/file.h. - * collect2.c (write_hooks): Emit a count before the list of - constructors, to go back to the old format. + * fold-const.c (operand_equal_p): Floats must match bit for bit. - * collect-osf.c (write_s_file): Emit a count before the list of - constructors, to go back to the old format. + * gcc.c (link_command_spec): Put back -u*. - * 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. +Fri Mar 27 11:33:46 1992 Simon J. Gerraty (sjg@melb.bull.oz.au) - * 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. + * configure (m68k-bull-sysv*): Added config for Bull DPX/2 + * dpx2.h, dpx2g.h: New files. + * x-dpx2200, x-dpx2300, t-dpx2: New files. + * gstddef.h: Added _SIZET_ to the list of protection for size_t -Thu Dec 12 07:27:05 1991 Tom Wood (wood at dg-rtp.dg.com) +Fri Mar 27 14:47:47 1992 Paul Eggert (eggert@twinsun.com) - * gbl-ctors.h (__CTOR_LIST__, __DTOR_LIST__): Renamed from *_BEGIN__. - * collect-osf.c collect2.c: Rename here as well. + * c-typeck.c (convert_arguments): -Wconversion wrongly warned when + passing enums, and didn't warn about int precision mismatches. -Thu Dec 12 04:15:22 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * fold-const.c (fold): If IEEE, 0-x is not x. - * c-parse.y (stmt): Make asm alternatives allow expr. - * c-typeck.c (c_expand_asm_operands): Get the STRING_CST from the expr. + * cse.c (simplify_unary_operation): fabs(-0.0) is 0.0, not -0.0. + * fold-const.c: Replace target_minus_zero with target_negative. + (fold_convert): Warn when converting NaN constants to integer. + (fold): fabs(-0.0) is 0.0, not -0.0. 0-x may not equal -x. + Do not optimize X++ == C to ++X == C+1 if C is floating point, + because it runs afoul of rounding error. + * real.h (REAL_VALUE_NEGATIVE): Add. - * c-parse.y (datadecl, datadecls, lineno_datadecl): New rules. - (xdecls): Use them. +Fri Mar 27 09:19:11 1992 Tom Wood (wood@dg-rtp.dg.com) -Wed Dec 11 18:36:53 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * m88k.c (emit_move_sequence): Check the size required for a zero + constant. - * 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. + * varasm.c (const_hash, compare_constant_1, record_constant_1): + For constructor of an array, include the size of the array in bytes. -Wed Dec 11 18:08:36 1991 Mark Eichin (eichin at cygnus.com) +Fri Mar 27 09:09:53 1992 Michael Meissner (meissner@osf.org) - * 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. + * t-decstatn (ALL): Remove variable. + * t-decrose (ALL): Ditto. + * t-i386rose (ALL): Ditto. + * t-encrose (ALL): Ditto. -Wed Dec 11 17:52:46 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Fri Mar 27 17:51:32 1992 Jim Wilson (wilson@sphagnum.cygnus.com) - * 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. + * rs6000.c (first_reg_to_save): When profiling, save space for the + argument registers, which need to be saved around the mcount call. + (output_prolog): Mark the link register as live when profiling. + (output_function_profiler): New function. Output code to call + mcount. + * rs6000.h (LIB_SPEC): Replace incorrect definition. Add + -L/lib/profiled and -L/usr/lib/profiled when profiling, -lg when + debugging, and -lc always. + (OVERRIDE_OPTIONS): No longer zero profile_flag. + (FUNCTION_PROFILER): Call output_function_profiler. -Wed Dec 11 16:30:09 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * .gdbinit (complaints): Set to 20. + (pbs): New command to call the cc1plus print_binding_stack function. - * cccp.c (do_endif): Don't call record_control_macro at top level. + * calls.c (expand_call): Delete obsolete references to is_builtin_new. -Wed Dec 11 14:45:42 1991 Mark Eichin (eichin at cygnus.com) + * Makefile.in (Makefile): Add dependence on version.c. - * 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. +Thu Mar 26 19:21:00 1992 James Van Artsdalen (james at bigtex.cactus.org) - * 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. + * i386.md (fixuns_truncMN2,fix_truncMdf2): Make a copy of the input + operand and clobber that, rather than clobbering the operand itself. - * 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. +Thu Mar 26 18:06:32 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-tree.h (xref_defn_tag): New declaration. + * protoize.c (shortpath): Add early check of size of shortname. -Wed Dec 11 12:37:51 1991 Ken Raeburn (Raeburn@Cygnus.COM) + * expr.c (do_jump): Adjust stack after any code that might be skipped. - * 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). +Thu Mar 26 06:37:35 1992 Michael Meissner (meissner@osf.org) - * cp-init.c (BIVN): Deleted unused variable. - * cp-decl.c (init_decl_processing): Don't declare function - __builtin_vec_new; it's never used. + * mips.c (toplevel): If NO_STAB_H is defined, include gstab.h + instead of stab.h. -Wed Dec 11 10:59:48 1991 Michael Meissner (meissner at osf.org) +Thu Mar 26 02:21:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * toplev.c (main): Complete last change from RMS, use variable - 'level' which used to be named 'arg'. + * Makefile.in (STAGESTUFF): Add EXTRA_PROGRAMS. - * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Don't reference ON_EXIT for - those poor systems without atexit or on_exit. + * configure: Reorder mips alternatives; put mips-mips-* at end. -Wed Dec 11 09:06:52 1991 Jeffrey A. Law (law at wombat.gnu.ai.mit.edu) + * sparc.h (FRAME_POINTER_REQUIRED): 0 if frame is too big. + * sparc.c (compute_last_frame_offset): New function. - * 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. +Wed Mar 25 21:17:36 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) -Wed Dec 11 06:45:08 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * genattrtab.c (check_attr_test): Use XSTR instead of XEXP in one + place. - * x-romp (MAKE): Add definition; the supplied `make' doesn't define it. + * genextract.c (mark_operand_seen): Call xrealloc properly. -Tue Dec 10 22:17:50 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Wed Mar 25 17:05:56 1992 Torbjorn Granlund (tege at zevs.sics.se) - * combine.c (try_combine): Always make a copy of I2's pattern if - it will be used in a PARALLEL (`added_sets_2' nonzero). + * hp800.c (srcsi_operand): New function. + * hp800.md (mulsi, divsi, udivsi, modsi, umodsi): Use srcsi_operand + for inputs. + (mulsi): Use general_operand for output. + (one_cmplsi2): Use register_operand for output. - * Makefile.in (BOOT_CFLAGS): New parameter. - (bootstrap*): Use it. +Wed Mar 25 15:50:12 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * flow.c (find_basic_blocks): Set depth of last insn, not first, - into basic_block_loop_depth. - (propagate_blocks): Use consistently with new definition. + * m68k.md (fsgldiv pattern): If FSGLDIV_USE_S, opcode has .s, not .x. + * amix.h (FSGLDIV_USE_S): Defined. - * cse.c (cse_end_of_basic_block, cse_basic_block): Remove previous - change; it can cause loops following around branches. + * xm-rs6000.h (REAL_NM_FILE_NAME): Defined. - * Makefile.in (USER_H): Add va-hp9k8.h. + * x-i386sco (CCLIBFLAGS): Define as empty. -Tue Dec 10 17:22:01 1991 Tom Wood (wood at dg-rtp.dg.com) +Wed Mar 25 16:52:53 1992 Michael Meissner (meissner at osf.org) - * 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. + * collect2.c (OSF/rose scan_prog_file): If we are building a + program instead of a shared library, don't create an initializer + function entry. - * m88k.c (uses_arg_area_p): Check current_function_varargs. +Tue Mar 24 04:00:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Dec 10 15:41:03 1991 Michael Meissner (meissner at osf.org) + * Version 2.1 released. - * osf-main.c (whole file): Delete, since the constructor stuff was - moved to gnulib2.c. + * xcoffout.h: Renamed from xcoff.h. + * dbxout.c, final.c, toplev.c, varasm.c, xcoffout.c: Use new name. + * Makefile.in: Corresponding changes. - * 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. + * dbxout.c (dbxout_type): Don't check DECL_IGNORED_P. - * 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. + * t-rs6000: Complete replacement, to build collect2 properly. - * 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. + * Makefile.in (mostlyclean): Delete sorted indices that aren't used. + (extraclean): Delete patch outputs, *.d, *.Z, *.tar. - * decrose.h (HAVE_ATEXIT): Define, OSF/1 has atexit. - (FULL_PROTOTYPES, NO_CONST_IN_SYSCALL): Remove, no longer used. + * Makefile.dos (getpwd.o): New target. + (OBJS, protoize, unprotoize): Add getpwd.o. + (SYSCALLS.c, SYSCALLS.c.X): Copy from Makefile.in. - * encrose.h (HAVE_ATEXIT): Define, OSF/1 has atexit. - (FULL_PROTOTYPES): Remove, no longer used. +Tue Mar 24 06:26:26 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * i386rose.h (HAVE_ATEXIT): Define, OSF/1 has atexit. + * cse.c (cse_insn): When deleting dead code after + making unconditional branch, check for end of chain. - * t-decrose (LIB2FUNCS_EXTRA): Remove, osf-main.c is no longer - needed, since constructor/destructor support moved into gnulib2.c. + * sched.c (update_flow_info): Add code for REG_LABEL case. - * t-encrose (LIB2FUNCS_EXTRA): Remove, osf-main.c is no longer - needed, since constructor/destructor support moved into gnulib2.c. + * function.c (instantiate_virtual_regs_1): Don't modify a MEM + without copying it unless the modified MEM is valid. - * t-i386rose (LIB2FUNCS_EXTRA): Remove, osf-main.c is no longer - needed, since constructor/destructor support moved into gnulib2.c. + * cse.c (rtx_cost): Assign ASM_OPERANDS a high cost. - * 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. +Tue Mar 24 05:48:25 1992 Ken Raeburn (raeburn@wombat.gnu.ai.mit.edu) - * 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). + * cp-*: Disabled 22 March changes relating to dbxout.c; the problem + will be fixed properly, with more extensive reworking of the C++ + front end, later. This fix was buggy. + * dbxout.c (dbxout_type_methods): Reverted 22 March changes; if a + template class is passed, print a warning message and emit no info + about methods. - * xm-mips.h (alloca): If not GNU C, declare alloca to be char *. +Mon Mar 23 14:18:30 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) - * 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. + * make-cc1.com: Add getpwd.c. -Tue Dec 10 14:10:10 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Mon Mar 23 12:53:02 1992 Jyrki Kuoppala (jkp@batman.cs.hut.fi) - * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Get rid of __reverse_order, etc. - * gnulib2.c (__do_global_dtors): Remove & before arrays. + * pc532-min.h (HAVE_ATEXIT): Defined. - * configure: Set a default value for xm_file. - Remove redundant defaulting of cpu_type. + * ns32k.c (print_operand) [PC_RELATIVE]: + Always use output_address for MEM. - * svr4.h (ASM_DECLARE_FUNCTION_SIZE): Output internal label properly. + * pc532.h (BASE_REG_NEEDED): Defined. - * 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. +Mon Mar 23 07:28:14 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * toplev.c (main): Eliminate -gsdb and -gdbx. - Clean up setting of use_gdb_dbx_extensions. + * combine.c (try_combine): Correct error in last change; don't + pass STRICT_LOW_PART or ZERO_EXTRACT to reg_overlap_mentioned_p. -Tue Dec 10 10:33:58 1991 Tom Wood (wood at gen-rtx) + * sun3.h (CPP_SPEC): Delete extra brace. - * svr4.h (ASM_DECLARE_FUNCTION_SIZE): Use an internal label. +Mon Mar 23 02:43:56 1992 Michael Tiemann (tiemann@mole.gnu.ai.mit.edu) -Tue Dec 10 07:12:28 1991 James Van Artsdalen (james@raid) + * cp-decl.c (pop_from_top_level): Take care of C_C_D. - * Makefile.in (crtbegin.o, crtend.o): crstuff.c is in $(srcdir). +Sun Mar 22 17:24:09 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) -Tue Dec 10 06:56:26 1991 Michael Tiemann (tiemann at cygnus.com) + * pyr.h: Remove TARGET_INDEX. Update other TARGET switches. + Fix several comments. + (REGNO_OK_FOR_BASE_P): Allow reg 0. + (REGNO_OK_FOR_INDEX_P): Reformulate. + (REG_OK_FOR_INDEX_P): Disallow reg 0. - * cp-decl.c (kept_level_p): New function, borrowed from c-decl.c. - * cp-parse.y (compstmt): Call it. +Sun Mar 22 15:10:49 1992 Michael Meissner (meissner@osf.org) -Mon Dec 9 18:37:32 1991 Ken Raeburn (Raeburn@Cygnus.COM) + * mips-tfile.c (mark_stabs): Make function defintion agree with + prototype. - * cp-decl.c (grok_enum_decls): Don't give warning for class-local - enum types; this is a perfectly reasonable usage. + * mips.md (cpu, branch_likely attributes): Make these attributes + const. + (all functional units): Restore functional units that look at the + -mcpu= switch for scheduling now that genattrtab uses less memory. -Mon Dec 9 12:23:48 1991 Ron Guilmette (rfg at ncd.com) +Sun Mar 22 13:57:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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). + * c-typeck.c (convert_for_assignment): + Only explicit 0 converts to pointer. -Mon Dec 9 20:34:48 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * Makefile.in (doc): Don't depend on gplus.info. + (gplus.info): Target deleted. - * sched.c (schedule_block): Don't crash if `line' is zero. - (schedule_insns): Initialize line_note_head. + * c-decl.c (store_parm_decls): Call build_type_copy with just one arg. -Mon Dec 9 15:31:46 1991 Michael Meissner (meissner at osf.org) + * cccp.c (do_include): Use entire filename when checking for repeat. + Use lookup_include. + (lookup_include): New function. - * mips-tfile.c (pseudo_ops array): Correctly size the .stabs and - .stabn elements. + * protoize.c (find_extern_def): Store ??? one char at a time. - * mips.c (function_prologue, function_epilogue): Use assemble_name - to print the current function, instead of fprintf, in case there is - a leading '*'. + * sparc.h (ASM_OUTPUT_FLOAT): Fix typo. - * mips-news.h (CPP_PREDEFINES): Define news3700, not news7300. + * fold-const.c (operand_equal_p): Reject NaNs and infinities. - * mips.md (ashldi3_internal3): Fix typos. - (ashrdi3_internal3): Ditto. - (lshldi3_internal3): Ditto. + * varasm.c (immed_real_const): Distinguish minus zero from zero. -Mon Dec 9 11:49:52 1991 Torbjorn Granlund (tege at hal.gnu.ai.mit.edu) + * sparc.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): + Use `inf' for infinities. Use hex for minus-zero. - * longlong.h (__a29k__ udiv_qrnnd): Change "q" to "1" for operand - 2 constraint. + * objc-actions.c (build_selector_translation_table): + Don't make a duplicate decl here for _OBJC_SELECTOR_REFERENCES. + Just call finish_decl to store the initial value. + Call push_obstack_nochange to balance with finish_decl. + Use selector_type for declaring individual selector names. -Mon Dec 9 11:22:58 1991 Ken Raeburn (Raeburn@Cygnus.COM) +Sun Mar 22 13:11:32 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * 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. + * loop.c (update_giv_derive): Correctly handle the case where + more than one biv update occurs after a giv is defined. - * cp-tree.c: Fix typo in comment at start of file. + * cse.c (rehash_using_reg): Add missing arg to call to exp_equiv_p. -Mon Dec 9 07:17:13 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * expmed.c (expand_mult_add): Add missing arg to call to type_for_mode. - * 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. + * reorg.c (fill_slots_from_thread): In the case where have a reg-reg + copy and will substitute our destination for our source in the + following insn, correctly check for it modifying our destination. -Mon Dec 9 07:16:15 1991 Ron Guilmette (rfg at ncd.com) - - * sys-types.h: New file. - * sys-protos.h: New file. - * SYSCALLS.c: Just include those files. - - * 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. - - * 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. - -Mon Dec 9 01:07:56 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * fixinc.svr4: Don't change #ident or assertion tests. - Don't install inline.h. - - * c-common.c (get_directive_line): Declare c as int. - - * configure: Create additional file tconfig.h. - * protoize.c: Include that, not tm.h. - * Makefile.in (protoize.o, unprotoize.o): Depend on tconfig.h. - - * svr4.h (HAVE_ATEXIT): Defined. - * gnulib2.c (_main, exit): Use HAVE_ATEXIT to control use of atexit. - - * final.c (final_scan_insn): Output first and last note in a series. - - * 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. - - * unx386.h (PRINT_IMMED_PREFIX, PRINT_OFFSET_PREFIX): Deleted. - - * rtl.h: Undef FLOAT. - - * svr4.h (ASM_DECLARE_OBJECT_NAME, ASM_DECLARE_FUNCTION_SIZE): - Fix typo. - -Sun Dec 8 21:46:51 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * protoize.c (main): Declare `value'. - (abspath): Declare endp. Declare and set outp and inp. - - * cp-decl.c (sigsegv): Function deleted. - (init_decl_processing): Don't use it. - Also don't include signal.h. - - * t-svr4: New file. - * configure (i386-*-sysv4*, i860-*-sysv4*): Use that file. - -Sun Dec 8 12:01:36 1991 Ron Guilmette (rfg at ncd.com) - - * fixinc.svr4: New file. - - * final.c (profile_function): Specify return type. - (get_attr_length): Added a return statement to prevent warnings. - - * 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. - - * 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. - - * combine.c (combinable_i3pat): Added explicit return type. - - * 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. - - * 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. - - * 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. - - * 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. - - * 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. - - * i860v3.h: Complete rewrite. Uses svr3.h. - - * i386v4.h: Don't include i386v.h. Include i386.h instead. - (SDB_DEBUGGING_INFO): #undef deleted. - (ASM_OUTPUT_DWARF_STRING): Added definition. - - * gcc.c (default_compilers): Pass -g* options to cpp. - - * gcc.c (do_spec_1): Don't duplicate -A options in CPP_PREDEFINES. - - * gnulib2.c (exit, __main, __do_global_dtors, __do_global_ctors): - New functions. - - * i386.h (PRINT_IMMED_PREFIX, PRINT_OFFSET_PREFIX): - Define here, and use IP. - - * i386.h: Don't include syms.h or define FILNMLEN. - - * x-i860v3, x-i860v4: New files. - * x-i386v4 (CCLIBFLAGS, GCC_CFLAGS): Added definitions. - - * xm-svr3.h: New file. - * xm-i86v3.h, xm-i86v4.h, xm-i386v.h: Rewritten. - * xm-i38v4.h: New file. - - * 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. - - * 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. - -Sun Dec 8 15:27:56 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * next.c (handle_pragma): Use get_directive_line. - - * 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. - -Sun Dec 8 14:47:44 1991 Michael Meissner (meissner at osf.org) - - * mips-tfile.c (toplevel, add_local_symbol, parse_stabs_common): - More changes for smuggling stabs through from meissner@osf.org and - bothner@cygnus.com. - - * 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. - - * 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. - - * mips.md (fix_trunc??si_opt, mov??_internal): Change '!' constraint - back to '*'. - -Sat Dec 7 16:58:57 1991 Ken Raeburn (Raeburn@Cygnus.COM) - - * cp-spew.c (scan_tokens): Stop scanning at semi-colon. - - * 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. - - * cp-class.c (push_lang_context): Fix typo in comment. - - * cp-decl.c (finish_decl): Undo `pushclass' done in start_decl for - top-level decls of methods. - - * cp-lex.c (restore_pending_input): Cast 0 to pointer type for - obstack_free. - - * 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. - -Sat Dec 7 15:46:55 1991 Timothy Moore (moore@cs.utah.edu) - - * 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. +Sun Mar 22 09:20:16 1992 Michael Tiemann (tiemann@cygnus.com) -Sat Dec 7 15:46:55 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * cp-typeck.c (unary_complex_lvalue): Don't complain about taking + the ``address'' of a bound static method or member. - * tree.h (DECL_ARG_TYPE_AS_WRITTEN): New macro. - * c-decl.c (grokdeclarator): Store value there. - - * m68k.c (output_function_prologue, output_function_epilogue): - Support MOTOROLA syntax. - - * 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. - - * 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. - - * 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. + * cp-init.c (resolve_offset_ref): Fix bug in handling of static + members and member functions. -Sat Dec 7 00:53:16 1991 Ron Guilmette (rfg at ncd.com) + * cp-decl2.c (finish_file): If CURRENT_CLASS_TYPE is non-NULL on + entry to this function, punt. - * 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. + * cp-parse.y (template_parm): Use CLASS_TYPE_NODE instead of + CLASS_TYPE value. - * c-decl.c (pending_xref_error, c_mark_varargs): Added return type. + * cp-cvt.c (build_type_conversion): Add another add-hoc rule to find + unsigned->int conversion (if conversion to long does not exist). - * cccp.c (main): Added code to support the presence of -A (assertion) - options within CPP_PREDEFINES. + * cp-method.c (build_overload_name): Don't call `array_type_nelts' + if the TYPE_DOMAIN of an array type is NULL_TREE. - * c-lang.c: Minor cleanups. + * cp-init.c (build_offset_ref): Set up and use DECL even in case + where NAME resolves to a method. - * c-lex.c (check_newline): Added support for the -g3 option. + * cp-call.c (ideal_candidate): Half of Jan 28 change was missing. + Now PARMS are not converted in place if BASETYPE is NULL. - * dwarfout.c (type_tag): Fixed bug in gcc Dwarf generation for - tagged types. + * cp-typeck.c (build_component_ref): Don't return a TYPE_DECL. - * dwarfout.c (output_decl): Added two pre-checks to see if nodes - are ERROR_MARK nodes before using them. + * cp-type2.c (build_functional_cast): If CURRENT_FUNCTION_DECL is + NULL, don't wrap EXPR_AS_CTOR in a NEW_EXPR. This make it possible + to parse default initializers that involve constructor calls. + * cp-typeck.c (convert_for_initialization): Handle this change. + * cp-method.c (dump_init): Grok INDIRECT_REFs that have + TREE_HAS_CONSTRUCTOR set. - * dwarfout.c (generate_new_sfname_entry): Function added. + * cp-decl.c (push_overloaded_decl): Don't use the + DECL_ASSEMBLER_NAME for GLOB as the TREE_PURPOSE of the new GLOB. + Use ORIG_NAME instead. - * 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). + * cp-decl.c (grokvardecl): If FIELD has incomplete type, complete it + with TYPE. - * 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. - - * dwarfout.c (compare_filename_entries): Function deleted. (It's - no longer needed.) - - * dwarfout.c (dwarfout_finish): Don't generate .debug_sfnames - section entries here anymore. (See lookup_filename.) - - * Makefile.in (realclean): Delete c-parse.h. - Delete objc-parse.output just once. - -Fri Dec 6 17:49:28 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cp-decl2.c (flag_this_is_variable): Define the value -2 to mean an + object of known type is being constructed. + * cp-decl.c (resolves_to_fixed_type_p): Test FLAG_THIS_IS_VARIABLE + for the value -2 instead of testing DECL_CONSTRUCTOR_P in case we + are looking at `current_class_decl'. + * cp-search.c (init_vbase_pointers): Set FLAG_THIS_IS_VARIABLE to -2 + instead of 0. + (build_vbase_vtables_init): Ditto. + * cp-*.c: All tests of FLAG_THIS_IS_VARIABLE changed to reflect the + new semantics. - * 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. + * cp-typeck.c (comptypes): Don't use IS_AGGR_TYPE_2; test explicitly + that both are RECORD_TYPE. + (build_binary_op_nodefault): Ditto. + (convert_for_assignment): Ditto. + * cp-cvt.c (convert_to_pointer): Ditto. + (convert_to_pointer_force): Ditto. + * cp-call.c (convert_harshness): Ditto. + + * cp-search.c (get_first_matching_virtual): Fix typo. + + * cp-tree.c (layout_basetypes): When warning about certain + inheritance relationships, only print "virtual" when the + inheritance is virtual. + +Sun Mar 22 01:28:41 1992 Ken Raeburn (Raeburn@Cygnus.COM) + + Fix dbx info for methods of template classes: + * cp-decl.c (make_type_decl): New function. Creates a TYPE_DECL + node and assigns as its DECL_ASSEMBLER_NAME the encoded form of the + type name as it will be used in assembler output. All calls to + build_decl(TYPE_DECL,...) changed to call this. + * dbxout.c (dbxout_type_methods): Instead of skipping digits and + assuming the human-readable type name follows in the assembler names + for methods, use DECL_ASSEMBLER_NAME of the type. + Handle the special DECL_NAME that is made for templates. + * cp-lex.c (build_lang_field_decl): Set DECL_ASSEMBLER_NAME + correctly if new decl is a TYPE_DECL. + (build_lang_decl): Ditto. + * cp-decl.c (pushdecl): Use DECL_ASSEMBLER_NAME only for + FUNCTION_DECL and VAR_DECL nodes; all others use DECL_NAME. + * cp-tree.h (make_type_decl): Declare it. + + * cp-pt.c (overload_template_name, undo_template_name_overload): + Revert 4 March change. - * combine.c (try_combine): Don't access new_i2_notes if it hasn't been - defined (it isn't defined unless newi2pat != 0). + * cp-decl2.c: No longer define NEW_OVERLOAD_SCHEME. + (grokfield): Use new encoding scheme always. -Fri Dec 6 16:01:02 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * cp-pt.c (overload_template_name): Deleted extra assignment to + IDENTIFIER_LOCAL_VALUE slot. - * 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. + * cp-method.c (dump_aggr_type): Use DECL_CONTEXT rather than + DECL_CLASS_CONTEXT. - * 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. + * cp-pt.c (instantiate_class_template): Move some common code from + two branches to before branch point. -Fri Dec 6 13:33:48 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * cp-method.c (dump_aggr_type): Don't discard last character of + context string; it's not whitespace. - * crtstuff.c: Give permission to link with non-free programs. +Sun Mar 22 15:58:48 1992 Per Bothner (bothner@rtl.cygnus.com) - * 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. + * cp-tree.h: Add more enum->int casts needed by some compilers. + +Sun Mar 22 20:40:25 1992 Mike Stump (mrs@cygnus.com) + + * cp-typeck.c (build_modify_expr): Handle preincrement and + predecrement as valid lvals. + + * gplus.gperf: Finish off changing ASM to ASM_KEYWORD. + * cp-hash.h: Rebuilt. + +Sat Mar 21 15:43:04 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * c-typeck.c (build_c_cast): Don't warn if convert explicit 0 to ptr. + + * local-alloc.c (wipe_dead_reg): If insn has multiple sets and + the reg appears in a destination, extend life to end of insn. + * global-alloc.c (global_conflicts): Analogous change. + (mark_reg_conflicts): New function. + * combine.c (try_combine): If I2 has multiple dests, make sure + we don't change one of them to overlap anything used within another. + + * configure (pyramid): Commented out. + + * toplev.c (main): Handle -gen-aux-info, with argument. + (compile_file): Assume aux_info_file_name already computed. + Don't make it local here. + * protoize.c (munge_compile_params): Produce -aux-info. + Set aux_info_file_name_index. + (gen_aux_info_file): Produce and store the aux-info file name. + (input_file_name_index): Renamed from filename_index. + (aux_info_file_name_index): New var. + * Makefile.in (SYSCALLS.c.X): Use -aux-info. + * gcc.c, hp800.h, next.h, sparc.h, sun2.h, sun3.h, svr4.h: + (WORD_SWITCH_TAKES_ARG): Handle -aux-info. + * gcc.c (default_compilers): Pass -aux-info to cc1*. + + * configure (mips-*-sysv*): Renamed from mips-*-sysv and moved down. + + * gcc.c (execute): Undo Mar 12 change. + + * configure (i386-*-bsd*): New alternative. + * i386bsd.h: New file. + +Sat Mar 21 15:14:08 1992 Ron Guilmette (rfg at ncd.com) + + * sparc.c (output_move_double): Check for XEXP (op2, 0) being a + LOW_SUM, rather than checking op2. Handle both ldd and std there. + +Sat Mar 21 14:14:10 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + + * vms.h (CPP_PREDEFINES): Do not define __GNU__. + +Sat Mar 21 21:35:37 1992 Jyrki Kuoppala (jkp@batman.cs.hut.fi) + + * ns32k.md (call_value): Added a missing "{". + + * ns32k.c (print_operand): Fixed typo X -> x, FILE -> file. + +Sat Mar 21 11:11:04 1992 Michael Meissner (meissner@osf.org) + + * mips.h (MIPS_VERSION): Bump Meissner version # to 14. + (CPP_PREDEFINES): Always define SYSTYPE_BSD43. + (CPP_SPEC): Don't define it here. + (ASM_SPEC): Pass -cpp/-nocpp/-mips1/-mips2/-mips3 to MIPS assembler, + and only pass -nocpp by default unless .s files are assembled for + MIPS compatibility. + (LINK_SPEC): Pass -mips1/-mips2/-mips3 to MIPS linker. + (MD_STARTFILE_PREFIX): Define to be /usr/lib/cmplrs/cc/ if not + already defined. + (NM_FLAGS): Define as appropriate for most MIPS systems. + (PREFERRED_DEBUGGING_TYPE): If -ggdb prefer stabs over the normal + ECOFF debug format, but -g selects ECOFF. + (DEFAULT_GDB_EXTENSIONS): Define as 1. + (DOLLARS_IN_IDENTIFIERS): Don't define if already defined. + + * mips.c (mips_output_filename): If emitting encapsulated stabs, + emit #@stabs immediately after the first .file, so that the @stabs + is the second symbol. GDB 4.4 only checks symbol #2 to see whether + it is encapsulated stabs, or ECOFF. + + * mips.md (subdi define_splits): Use ltu instead of lt. + (branch_zero_true): Generate correct code when not optimizing, and + an always true/false branch is generated. + (branch_zero_false): Ditto. + + * mips-bsd.h (CPP_PREDEFINES): Always define SYSTYPE_BSD43. + (CPP_SPEC): Don't define it here. Remove -Z{BSD43,SYSV} support. + Don't pass -I in here. + (SYSTEM_INCLUDE_DIR): Define to be /bsd43/usr/include. + (LINK_SPEC): Pass -mips1/-mips2/-mips3 to the linker. Remove + -Z{BSD43,SYSV} support. Always pass -systype /bsd43/ to the linker. + + * mips-sysv.h (CPP_PREDEFINES): Always define SYSTYPE_SYSV. + (CPP_SPEC): Don't define it here. Remove -Z{BSD43,SYSV} support. + Don't pass -I in here. + (SYSTEM_INCLUDE_DIR): Define to be /sysv/usr/include. + (LINK_SPEC): Pass -mips1/-mips2/-mips3 to the linker. Remove + -Z{BSD43,SYSV} support. Always pass -systype /sysv/ to the linker. + (MD_STARTFILE_PREFIX): Remove, this is now defined in mips.h. + + * mips-news.h (CPP_SPEC): Don't pass -I in here. + (SYSTEM_INCLUDE_DIR): Define to be /usr/include2.0. + (ASM_SPEC): Pass -cpp/-nocpp/-mips1/-mips2/-mips3 to MIPS assembler, + and only pass -nocpp by default unless .s files are assembled for + MIPS compatibility. + (LINK_SPEC): Pass -mips1/-mips2/-mips3 to the linker. + + * mips-news5.h (CPP_PREDEFINES): Define SYSTYPE_SYSV. + (CPP_SPEC): Don't define it here. Remove -Z{BSD43,SYSV} support. + Don't pass -I here. + (LINK_SPEC): Pass -mips1/-mips2/-mips3 to the linker. + + * iris.h (ASM_SPEC): Pass -cpp/-nocpp/-mips1/-mips2/-mips3 to MIPS + assembler, and only pass -nocpp by default unless .s files are + assembled for MIPS compatibility. + (LINK_SPEC): Pass -mips1/-mips2/-mips3 to the linker. + + * iris.h (DOLLARS_IN_IDENTIFIERS): Define as 0, for iris assembler. + (NO_DOLLAR_IN_LABEL): Define, to force static constructors to use a + period instead of a dollar sign. + + * decstatn.h (ASM_SPEC): Pass -cpp/-nocpp/-mips1/-mips2/-mips3 to + MIPS assembler, and only pass -nocpp by default unless .s files are + assembled for MIPS compatibility. + (LINK_SPEC): Pass -mips1/-mips2/-mips3 to the MIPS linker. + + * decsrose.h (ASM_SPEC): Pass -cpp/-nocpp/-mips1/-mips2/-mips3 to + MIPS assembler, and only pass -nocpp by default unless .s files are + assembled for MIPS compatibility. + (LINK_SPEC): Pass -mips1/-mips2/-mips3 to the MIPS linker. + + * Makefile.in (collect2.o): Define macros where the standard places + binaries are installed, so that if it is invoked outside of gcc, it + has a better chance of finding the correct version of the tools to + invoke. + + * mips-tdump.c (toplevel): Declare things void * on Silicon Graphics. + + * mips-tfile.c (toplevel): Declare things void * on Silicon + Graphics. + (stabs_seen): Move static variable to file scope. + (mark_stabs): New function to put out the @stabs symbol for GDB to + switch to encapsulated stabs. + (pseudo_ops): Call mark_stabs if #@stabs found. + (parse_stabs_common): Call mark_stabs if needed to add @stabs. + + * sdbout.c (sdbout_dequeue_anonymous_types): Don't core dump if + TREE_VALUE is null. + + * decstabs.h (new file): DECstation w/encapsulated stabs. + * irisgdb.h (new file): SGI iris w/encapsulated stabs. + * mips-gbsd.h (new file): Mips BSD43 w/encapsulated stabs. + * mips-gdb.h (new file): Mips w/encapsulated stabs. + * mips-gnews.h (new file): Sony NEWS w/encapsulated stabs. + * mips-gnews5.h (new file): Sony NEWS 5.0 w/encapsulated stabs. + * mips-gsvr4.h (new file): Mips SV.4 w/encapsulated stabs. + * mips-gsysv.h (new file): Mips SV.3 w/encapsulated stabs. + * mips-svr4.h (new file): Mips System V.4. + * x-iris (new file): Specify that iris needs alloca.o since it's + alloca is buggy. + + * dbxout.c (toplevel): If NO_STAB_H is defined, include gstab.h just + like if USG is defined. + * final.c (toplevel): Ditto. + * mips-tfile.c (toplevel): Ditto. + * xcoffout.c (toplevel): Ditto. + + * xm-mips.h (NO_STAB_H): Define, except on OSF/1. + +Fri Mar 20 23:51:54 1992 James Van Artsdalen (james at bigtex.cactus.org) + + * reg-stack.c (subst_asm_stack_regs): A REG_UNUSED note never + applies to an input reg, even if that reg is tied to an output. + + * reg-stack.c (record_asm_reg_life): Use XVECLEN only on a PARALLEL. + (subst_asm_stack_regs): Likewise. + +Fri Mar 20 18:57:43 1992 Michael Meissner (meissner@osf.org) + + * mips.h (MIPS_VERSION): Bump Meissner version # to 13. + (mips_declare_object): Declare new function. + (ASM_OUTPUT_LABEL): Remove cruft from when collect spit out assembly + language instead of C code. + (ASM_GLOBALIZE_LABEL): Ditto. + (ASM_OUTPUT_INT): Ditto. + (ASM_OUTPUT_INT_CONST): Remove, no longer used. + (ASM_OUTPUT_PTR_INT_SUM): Ditto. + (ASM_OUTPUT_LABEL): Don't set that we've seen an identifier here. + (ASM_DECLARE_OBJECT_NAME): New macro, call mips_declare_object to + emit the label, and mark that no .extern is needed for the name. + (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Call mips_declare_object. -Fri Dec 6 08:42:53 1991 Ron Guilmette (rfg at ncd.com) + * mips.c (mips_declare_object): New function to output the stuff + needed for global variables, bss variables, and static bss + variables. - * Makefile.in (STAGESTUFF): Added __main and _exit to support g++. +Fri Mar 20 14:13:32 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-common.c (c_expand_expr_stmt): Made return type explicit. + * cp-xref.c (GNU_xref_file): Get rid of arbitrary limit--malloc nmbuf. - * c-common.c: (get_directive_line): Function added to support -g3. + * cp-parse.y (scoped_id): Error if spec'd type is undefined. -Fri Dec 6 04:50:39 1991 Michael Tiemann (tiemann at cygnus.com) + * m68k.c (output_function_epilogue): Output at least a nop. - * 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. + * xm-hp320.h (USG): Defined. -Thu Dec 5 22:31:12 1991 Jeffrey A Law (law at super.super.org) + * m68k.c (output_function_prologue, output_function_epilogue): + Change %I to %0I. + (print_operand): Likewise. - * m68k.h (CONST_COSTS): Show that constants which can be easily - generated are less expensive than most. + * varasm.c (data_section): Add forward decl. - * 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. + * m68k.c (print_operand): Make %! print fpcr. + * crds.h, hp320.h, mot3300.h, news.h, tower-as.h (PRINT_OPERAND): + Likewise. + * m68k.md (fix_trunc*): Use %!. -Thu Dec 5 20:17:13 1991 Eric Youngdale (youngdale at v6550c.nrl.navy.mil) + * toplev.c (compile_file): Optionally call setvbuf for output file. - * 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. + * loop.c (move_movables): Fix typo. - * 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. +Fri Mar 20 17:42:12 1992 Paul Eggert (eggert@twinsun.com) - * make-cccp.com: Add version.opt to the list of files given to the - linker. + * Makefile.in (SYSCALLS.c): Use `cat' to create this file, instead + of having it consist of `#include' directives. + (mostlyclean): Delete SYSCALLS.c. + * SYSCALLS.c: File deleted. -Thu Dec 5 23:04:20 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * getpwd.c (new file): Get and cache working directory, using PWD + if it works and getcwd otherwise. + * Makefile.in (OBJS, protoize): add getpwd.o + * cp-xref.c (GNU_xref_file): Likewise. + * dbxout.c (dbxout_init): Likewise. + * dwarfout.c (output_compile_unit_die): Likewise. + * protoize.c (main): Likewise. - * combine.c (make_extraction): Don't make a STRICT_LOW_PART of a MEM; - clean up comments so they agree with the code. +Fri Mar 20 12:58:57 1992 Ron Guilmette (rfg at ncd.com) - * 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. + * dwarfout.c (location_or_const_value_attribute): Fixed to use + DECL_INCOMING_RTL as the "location" for formal parameter variables. - * 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. +Fri Mar 20 13:26:16 1992 Michael Collison (collison@osf.org) - * 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. + * i386rose.h (INIT_SECTION_ASM_OP): OSF doesn't support a true + initialization section. - * combine.c (simplify_comparison): Fix error in last change; don't - reference TEM before it is set. +Fri Mar 20 07:23:15 1992 Tom Wood (wood at dg-rtp.dg.com) - * toplev.c (fatal_insn_not_found): Flush all files before aborting. + * m88k.md (set zero_extract patterns): Use the + constraint. -Thu Dec 5 21:42:29 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * crtstuff.c (__do_global_ctors_aux): Declare it. - * objc-actions.c (build_objc_method_call): Eval OBJECT and SELECTOR - only once. Always pass self_decl as self to the method. + * m88k.h (CONDITIONAL_REGISTER_USAGE): Mark the PIC register fixed, + but not call used. + + * m88k.c (m88k_builtin_saveregs): Get a properly aligned block. -Thu Dec 5 14:52:16 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * m88k.md (cpu attribute): Use const form. - * ccrtstuff.c, gnulib2.c, protoize.c: Include tm.h not config.h, - since these are complied for the target, host defines do not apply. + * m88k.h, m88k.c, m88kdgux.h (uses of *_ASM_OP): Add tabs. -Thu Dec 5 14:52:24 1991 Michael Meissner (meissner at osf.org) +Fri Mar 20 05:46:26 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * 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. + * expmed.c (emit_store_flag): Need to prevent SUBTARGET from being + OP0 in one more case. -Thu Dec 5 12:03:40 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * loop.c (add_label_notes): New function. + (move_movables): Use it when hoisting a `move_insn' movable + to ensure we create any required REG_LABEL notes. - * gcc.c (process_command): Don't put `.' on startfile_prefix. - Cast result of alloca. + * hp800.h (CONDITIONAL_REGISTER_USAGE): Make reg 27 a global_reg + for now. - * config/*.h (ASM_OUTPUT_ASCII): Put parens around all uses of args. + * combine.c (make_field_assignment): Use correct mode when shifting + the source of the assignment. - * 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. + * fold-const.c (invert_truthvalue): Correct error in last change. -Thu Dec 5 09:35:15 1991 Michael Tiemann (tiemann at cygnus.com) +Thu Mar 19 18:59:24 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-search.c (note_debug_info_needed): Do the right thing for - static member functions. + * stmt.c (expand_end_case): Convert do_tablejump arg to Pmode. -Thu Dec 5 01:25:13 1991 Michael Tiemann (tiemann at mole.gnu.ai.mit.edu) +Thu Mar 19 16:54:15 1992 Michael Meissner (meissner@osf.org) - * version.c: Now 1.96. + * collect2.c (main): Only pass -fxxx and -mxxx options to gcc when + building constructors. -Wed Dec 4 23:17:23 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Thu Mar 19 16:44:21 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * reorg.c (try_merge_delay_insns, fill_simple_delay_slots): Correctly - update NEXT_TRIAL after possibly splitting an insn. + * fold-const.c (invert_truthvalue): Correctly check for floating + comparison. -Wed Dec 4 17:03:11 1991 Jim Wilson (wilson at sphagnum.cygnus.com) +Thu Mar 19 14:42:49 1992 Tom Wood (wood at dg-rtp.dg.com) - * gplus.gperf: Add throw and template keywords. Update private, - protected, and public definitions. + * function.c (expand_main_function): Do so if INVOKE__main is defined. + * libgcc2.c (__main): Provide if INVOKE__main is defined. + * crtstuff.c (__do_global_ctors_aux): Renamed from __do_global_ctors. + (__do_global_ctors): Simple non-static function that invokes + __do_global_ctors_aux. - * print-tree.c (print_node): Add missing indentation argument to - print_node call for values field. + * crtstuff.c ({CTOR,DTOR}_LIST_{BEGIN,END}): Allow alternate way + to represent and define __{CTOR,DTOR}_LIST__. + * i386v.h, aix386.h (CTOR_LIST_{BEGIN,END}): Use these to push + instead of the funny definition of CTORS_SECTION_ASM_OP. + * svr3.h (CTORS_SECTION_ASM_OP): Use the .init section. -Wed Dec 4 18:39:33 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * m88kv3.h (CTOR_LIST_BEGIN): Emit code to .init to push a zero. + (CTOR_LIST_END): Do nothing. + (ASM_OUTPUT_CONSTRUCTOR): Emit code to .init to push the address. + (DTOR_LIST_{BEGIN,END}): Output a block of four words. + (ASM_OUTPUT_DESTRUCTOR): Output the address and three words of -1. + (DO_GLOBAL_DTORS_BODY): Ignore all values of -1. - * objc-actions.c (build_objc_method_call): Define as static. + * real.h (REAL_VALUE_ISNAN): Define. + * fold-const.c (target_isnan): New function. + * sun3.h, sparc.h (ASM_OUTPUT_{FLOAT,DOUBLE}): Use REAL_VALUE_ISNAN. -Wed Dec 4 17:04:49 1991 Michael Meissner (meissner at osf.org) + * sun3.h: Delete extra #endif. - * 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. +Thu Mar 19 14:25:50 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - * mips-tdump.c (toplevel): Delete unnecessary include file stamp.h. + * hp800.c (output_move_double): Don't check for CONST_DOUBLE + when classifying operand types, CONSTANT_P now includes it. + Use split_double to assign operand vectors for CNSTOP. -Wed Dec 4 11:05:04 1991 Michael Collison (collison at osf.org) +Thu Mar 19 13:59:16 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * encore.h (ASM_OUTPUT_LABELREF_AS_INT): add definition - * ns32k.h: ditto + * hp320.h (SPACE_AFTER_L_OPTION): Defined. + (LIB_SPEC): Defined. - * ns32k.h (ASM_OUTPUT_LABEL, ASM_GLOBALIZE_LABEL): If COLLECT is - defined provide alternate definitions + * toplev.c (compile_file): Output aux_info_file in source file's dir. - * encrose.h (ASM_OUTPUT_INT): If COLLECT is defined provide - alternate definition +Wed Mar 18 17:42:12 1992 Paul Eggert (eggert@twinsun.com) -Wed Dec 4 01:39:07 1991 Ken Raeburn (Raeburn@Cygnus.COM) + * c-aux-info.c (gen_aux_info_record): Don't put the absolute path + name into the output file: it's useless, expensive, and often wrong. + Use "." instead. + * protoize.c (is_syscalls_file): Look for SYSCALLS.c only at the + end of the file name. + (abspath): Remove useless test of '\0' versus '/'. Add apollo fix. + (shortpath): Stop when replacement filename is longer than the + original; this avoids buffer overrun. Do not pretend that + `a/b/c' is a path prefix of `a/b/cd'. + (gen_aux_info_file): Report errors when compilation fails. + Do not use stdio in child process. + Don't say `exit(errno)'; errno might be too large. + (process_aux_info_file): Increment error count if aux info file cannot + be generated. Allow the invocation filename to be relative; + for now, it will always be ".". + (do_processing): Replace strlen (x) with sizeof (x) - 1. - * cp-pt.c (end_template_decl): For method templates, pop the class - binding level before the others rather than after. +Thu Mar 19 13:31:24 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * 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. + * cse.c (simplify_binary_operation, PLUS and MINUS cases): Use + arg0s and arg1s instead of arg0 and arg1, so that resulting values + will be sign extended. - * cp-spew.c (yylex): If identifier_type says PTYPENAME, and - following token is "<", force looking_for_typename to be - non-negative. + * sched.c (sched_analyze_1): Don't call sched_analyze_2 at the end. + This code was never executed, and is wrong. + (sched_analyze_2): Convert from if statements to a switch. + Add support for PRE_DEC/PRE_INC/POST_DEC/POST_INC; pass them to + sched_analyze_1 because they are writes. + (sched_analyze_insn): Delete special case code to handle REG_INC + notes, obsoleted by change above. - * 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. + * sparc.c (output_block_move): Rewrite to more efficiently handle + constant length strings whose length is not a multiple of their + alignment. Also, the length of strings handled without a loop now + is a multiple of their alignment, instead of fixed size. - * cp-decl.c (maybe_globalize_type): Don't do it if the identifier - that names the type doesn't currently have a type value. + * objc-actions.c (build_selector_translation_table): Add cast for + array index from enum to int to satisfy old compiler. -Wed Dec 4 01:06:28 1991 Michael Tiemann (tiemann at cygnus.com) + * c-parse.gperf: Change ASM to ASM_KEYWORD. + * gplus.gperf: Likewise. - * 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. + * Makefile.in (install-man): Delete duplicate lines. - * 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. +Thu Mar 19 02:32:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-decl.c (maybe_build_cleanup): When building cleanups, pass - TYPE_MAIN_VARIANT to `build_delete'. + * c-decl.c (init_decl_processing): Disable `sqrt'. -Tue Dec 3 22:52:33 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) +Thu Mar 19 01:09:16 1992 James Van Artsdalen (james at bigtex.cactus.org) - * 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. + * i386.c (output_move_double): Properly check for signedness in a + const_double. -Tue Dec 3 22:34:13 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Wed Mar 18 18:51:37 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * configure: Support --objdir. + * gcc.c (link_command_spec) [not LINK_LIBGCC_SPECIAL]: Put back -s. - * 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. + * config.sub (i486): Accept as CPU type. - * 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. + * collect2.c (do_wait): Handle NO_SYS_SIGLIST. + * xm-hp320.h (NO_SYS_SIGLIST): Defined. - * 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 18 15:58:31 1992 Tom Wood (wood at dg-rtp.dg.com) - * cccp.c (print_containing_files): Print the nominal file names. + * crtstuff.c, dwarfout.c, svr3.h, svr4.h (*_ASM_OP): Remove tabs + and newlines. + * dwarfout.c, svr3.h, svr4.h + (ASM_OUTPUT_*, ASM_DECLARE_*, ASM_DWARF_*): Put tabs here when needed. -Tue Dec 3 16:54:04 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Wed Mar 18 17:26:44 1992 Ron Guilmette (rfg at ncd.com) - * jump.c (jump_optimize): If branches are expensive, convert jumps - around increments or decrements by one into an increment by the - conditional expression. + * svr4.h (MULTIBYTE_CHARS): Added definition. - * combine.c (simplify_comparison): Don't remove a SUBREG unless - it doesn't affect either operand. +Wed Mar 18 17:36:30 1992 Michael Meissner (meissner@osf.org) - * 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. + * gcc.c (collect_obstack): New static obstack to build the + environment variables to pass to collect, so that it can reliably + find the compiler passes. + (putenv): New function to add a variable to the environment. + Stubbed out for MSDOS and VMS at present, or if HAVE_PUTENV is + defined. + (putenv_from_paths): New function to take a path list, and build + the corresponding environment variable for it. + (main): Pass argv[0] to collect through the environment variable + COLLECT_GCC. Rebuild the COMPILER_PATH and LIBRARY_PATH + environment variables to include all prefixes specified with -B, + -b, and -V. Construct COLLECT_GCC_OPTIONS environment variable to + consist of all of the options passed to gcc, except for the -B, + -b, and -V options. -Tue Dec 3 12:01:12 1991 Jim Wilson (wilson at sphagnum.cygnus.com) + * collect2.c (main): Correctly size the number of arguments passed + to the compiler when building the constructor lists to account for + any options passed through the environment variable + COLLECT_GCC_OPTIONS. If the environment variable COLLECT_GCC + specifies a full pathname, use that for the pathname to invoke gcc + with. Print the name "collect2" in lowercase if -v. - * mips.md: Use AND not IOR in define_function_unit definitions. - Correct setting of MODE attribute in various insn patterns. + * xm-mips.h (HAVE_PUTENV): Define if OSF/1. -Tue Dec 3 08:31:18 1991 Michael Tiemann (tiemann at cygnus.com) +Wed Mar 18 07:27:50 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * 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. + * hp800.c (actual_fsize): Remove duplicate declaration. + (profile_flag): Remove definition; defined in flags.h. + (hp_profile_labelno, local_fsize, save_fregs): Move declarations to + top of file. - * 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. + * hp800.h (OPTIMIZATION_OPTIONS): Do same thing as Sparc. - * cp-decl2.c (constructor_name): Handle case when THING is a - UNION_TYPE. + * combine.c (reg_bitfield_target_p): Use rtx_equal_p instead of + assuming the actual rtx is used. -Tue Dec 3 06:35:38 1991 Michael Tiemann (tiemann at cygnus.com) +Wed Mar 18 00:20:38 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * jump.c (duplicate_look_exit_test): If REG_MAP is non-zero, call - replace_regs on the REG_NOTES of COPY. + * gstddef.h: Handle _GCC_PTRDIFF_T, _GCC_SIZE_T, _GCC_WCHAR_T. + * fixincludes: Use those macros in inserted conditionals. - * cp-spew.c (scan_tokens): Don't read past '='. + * gstddef.h: Handle _T_SIZE_ and _T_PTRDIFF_, like _T_WCHAR_. - * 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). + * sun3.h (CPP_SPEC): Delete the alternative for fpa as default. + Define symbols with __ as well as without. -Mon Dec 2 18:53:42 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * hp320.h (LINK_LIBGCC_SPECIAL, RELATIVE_PREFIX_NOT_LINKDIR): + Define unless USE_GAS. - * cse.c (cse_around_loop): Fix typo in comment. - * dbxout.c (dbxout_type_fields): Likewise. +Tue Mar 17 17:19:07 1992 Richard Stallman (rms@mole.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. + * fixincludes (making directories): Always use find. - * combine.c (make_compound_operation): Change (lshiftrt (ashift ...)) - to a ZERO_EXTRACT, not a SIGN_EXTRACT. + * c-decl.c (pushdecl): Don't warn if define nonansi builtin as static, + or if define ANSI builtin as inline static. -Mon Dec 2 15:09:13 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * hp800hpux.h (LINK_LIBGCC_SPECIAL, RELATIVE_PREFIX_NOT_LINKDIR): New. - * 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. + * fixinc.svr4: Special changes for Sony MIPS-NEWS. - * next.h (SELECT_SECTION): Test TREE_CONSTANT as well as TREE_READONLY. +Tue Mar 17 15:12:57 1992 Tim Moore (moore@defmacro.cs.utah.edu) - * xm-i86v[34].h: Renamed from xm-i860v[34].h. - * configure: Corresponding changes. + * hp800.h (INITIAL_FRAME_POINTER_OFFSET): Get sign right, include + fixed area. - * m68k.c (output_function_epilogue): Put %R on all regs in asm_fprintf. +Tue Mar 17 14:06:01 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * Makefile.in (all.indirect): Renamed from all-internal. - * objc-actions.c (build_message_expr): Fix typo. + * t-mips (ALL): Deleted. - * configure: Add missing fi to finish last change. +Tue Mar 17 10:35:18 1992 Michael Meissner (meissner@osf.org) - * cse.c (simplify_binary_operation): Restore missing break in case DIV. + * halfpic.c (half_pic_address_p): Fix typo in last change. - * sdbout.c (sdbout_init): Explicitly do nothing. - (sdbout_typedefs): Function deleted. + * x-decrose (CLIB): Add -lbsd, since vfork moved to libbsd.a. + * x-encrose (CLIB): Ditto. + * x-i386rose (CLIB): Ditto. -Mon Dec 2 12:504:35 1991 Eric Youngdale (youngdale at v6550c.nrl.navy.mil) +Tue Mar 17 07:02:29 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * config-gcc.com: Finish changeover from tm-*.h to *.h. + * mips.md (movdi): FP_REGS don't allow DImode, so remove them + from the constraints. -Sun Dec 1 05:18:32 1991 Michael Tiemann (tiemann at cygnus.com) + * mips.md (unaligned moves): Use UNSPEC to distinguish SETs that are + unaligned from those that aren't. - * cp-search.c (lookup_{field,fnfields}): If PROTECT is 0, don't - memoize the entry we find. + * combine.c (try_combine): Update LOG_LINKS correctly when we split a + PARALLEL that loads from memory both as a full-word and sign-extended. - * cp-decl.c (grokvardecl): Call `build_lang_field_decl' instead of - `build_decl' if we retroactively allocate a VAR_DECL. +Tue Mar 17 21:23:10 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) -Sun Dec 1 00:10:18 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * vax.c (split_quadword_operands): Fix typo. - * configure: Convert option syntax from + to --. - Support --target. + * make-cc1.com: Add xcoffout.c. - * i386v4.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_GLOBAL): Deleted. - (ASM_FILE_START): Deleted. - (STARTFILE_SPEC, LIB_SPEC, STANDARD_STARTFILE_PREFIX): Deleted. - (STDC_VALUE): Deleted. +Mon Mar 16 17:12:26 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * real.h (REAL_VALUE_TRUNCATE): Check for same size as SFmode. + * configure (mips-dec-ultrix*): Use x-decstatn. + * x-decstatn (CLIB): Delete. - * config/*.h: Renamed from tm-*.h. #includes and comments changed. - * configure: Changed accordingly. - * t-*: tm-*.h file names changed. + * expr.c (move_by_pieces_1): Add negative ints--don't subtract ints. - * gnulib2.c (__enable_execute_stack): Renamed function. - * convex.h (INITIALIZE_TRAMPOLINE): Use new name. + * next.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Turned off. + * t-next (EXTRA_PROGRAMS, ld): Use collect2. + * configure (m68k-next-*): Use t-next. -Sun Dec 1 08:57:45 1991 Michael Meissner (meissner at osf.org) + * mips-bsd.h (TARGET_MEM_FUNCTIONS): Defined. - * cccp.c (main): Add cast in front of alloca for non GCC compilers. +Mon Mar 16 14:04:08 1992 Tim Moore (moore@defmacro.cs.utah.edu) -Sat Nov 30 22:33:24 1991 Chris Smith (csmith@convex.com) + * hp800.md (movsi + 10, movsi + 11): Add '*' to constraints. + (fix_truncsfsi2, fix_truncdfsi2): Add an alternative to put result + directly in a general register. + * hp800.h (ASM_DECLARE_FUNCTION_NAME): If function is not + TREE_PUBLIC, don't do the argument descriptor magic. + (EXPAND_BUILTIN_SAVEREGS): call hppa_builtin_saveregs. + (LEGITIMIZE_ADDRESS): Don't legitimize CONST addresses. + (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Put tabs back in. + * xm-hp800.h (S_ISDIR): Define for BSD. - * config.subr: Recognize -c3*. - New alternatives for convex-c3*. - * configure: Alternatives for convex rewritten. + * hp800.c (hppa_builtin_saveregs): New function. + * va-hp800.h : Rewrite. - * gnulib2.c (__execute_enable_stack): New function for Convex only. - * gcc.c (do_spec_1): Use \ as quoting char. +Sun Mar 15 23:38:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. - - * convex.h: (BITS_PER_WORD, UNITS_PER_WORD, WORDS_BIG_ENDIAN): - It now works to describe machine correctly. + * objc-actions.c (really_start_method): Dynamically allocate `buf'. - * convex.h (SIZE_TYPE, PTRDIFF_TYPE): Make them ints rather - than longs to match usage in /usr/include. + * sparc.h (TARGET_HOPE_ALIGN): Renamed from TARGET_ALIGN. + * sparc.c (output_move_double, output_fp_move_double): Use new name. + * sparc.h (TARGET_FORCE_ALIGN): New flag. + (FUNCTION_ARG_BOUNDARY): Defined. + (FUNCTION_ARG, FUNCTION_INCOMING_ARG, FUNCTION_ARG_ADVANCE): + (FUNCTION_ARG_PARTIAL_NREGS): Handle TARGET_FORCE_ALIGN. + (ROUND_REG): New subroutine macro. - * 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). + * sparc.h (CC1_SPEC): Don't try to recognize -dalign. - * convex.h (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE, - INITIALIZE_TRAMPOLINE): Define. + * hp320.h (ASM_OUTPUT_ASCII): Put tab here. + (ASCII_DATA_ASM_OP): Not here. + * mot3300.h: Likewise. - * convex.h (INITIAL_FRAME_POINTER_OFFSET): Define. + * Makefile.in (mostlyclean): Don't delete .s or .i files. + (extraclean): Do that here. - * convex.h (RTX_COSTS): Specify costs to prevent multiply - from being synthesized from shifts (which aren't faster). + * a29k.h, fx80.h, gmicro.h, i860v3.h, i860v4.h (*_ASM_OP): Remove tabs. + * m88kv4.h, m88kdgux.h, mips.h, romp.h, rs6000.h: Likewise. + * sun386.h, tower-as: Likewise. + * arm.h, hp800.h (*_ASM_OP): Remove extra tabs and newlines. + * m68ksgs.h (*_ASM_OP): Remove tabs. + (ASM_OUTPUT_*): Put the tabs here when appropriate. + * m68kv4.h, m88k.h, next.h: Likewise. - * convex.h (NOTICE_UPDATE_CC): No need to do CC_STATUS_INIT, - cc is never looked at. +Sun Mar 15 18:37:49 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * convex.h (VTABLE_USES_MASK, VINDEX_MASK, SET_DECL_VINDEX): - define so g++ works. + * reload1.c (inc_for_reload): Rework to try to do addition in + INCLOC rather than assuming when it can be done; this fixes a bug + on hp800 and generates better code on some CISC machines. - * convex.h: If COLLECT is defined, define output macros for - collect to call. +Sun Mar 15 15:12:39 1992 Ron Guilmette (rfg at ncd.com) - * convex*.h: If !traditional, define _LONGLONG and 64-bit - typedefs to prevent types.h from murdering ansi compilations. + * crtstuff.c: If defined, invoke INIT_SECTION_PREAMBLE. - * 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. + * xm-sparcv4.h, x-sparcv4: New files. + * configure (sparc-*-sysv4*): Use them. - * 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. +Sun Mar 15 16:41:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * convex.md (bit manipulation peepholes): remove, now done in - combine. + * sparc.md (subdi3): Fix unterminated comment. - * convex.md (indirect_jump): Define. +Sun Mar 15 04:08:59 1992 Torbjorn Granlund (tege at zevs.sics.se) - * convex.c (const_double_{high,low}_int): Just return the - appropriate word, remove slow float computations. + * hp800.c (output_block_move): Major rewrite. + * hp800.md (movstrsi): Rewrite to match new output_block_move. FAIL + if the actual operands are better handled by a library call. + (movstrsi recognizer): Rewrite. - * math-convex: New file to use builtin instructions. + * sparc.md (movstrsi): FAIL for all blocks with unknown size. - * x-convex: Use cc -pcc to bootstrap gcc. +Sat Mar 14 19:06:02 1992 James Van Artsdalen (james at bigtex.cactus.org) -Sat Nov 30 10:21:26 1991 Ron Guilmette (rfg at ncd.com) + * c-decl.c (builtin_function): Don't declare static. - * tm-i386v4.h (DBX_REGISTER_NUMBER): Different renumbering. +Sat Mar 14 15:57:53 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * tm-svr4.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Changed - so that the progbits parameter actually appears in the definitions. + * expr.c (get_pointer_alignment): Convert bytes to bits + when handling PLUS_EXPR. - * tm-svr4.h (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Adapted - for change in CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP. + * cp-search.c (push_stack_level): Declare tp as char *. -Sat Nov 30 07:05:06 1991 Michael Tiemann (tiemann at cygnus.com) + * mips.c (mips_asm_file_end): Use TREE_ASM_WRITTEN to avoid + duplicate .extern commands. - * 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. + * mips-tdump.c: Include fcntl.h. + * mips-tfile.c (open, fstat): Declarations deleted. - * 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. + * xm-mipsnews.h: New file. + * mips-news5.h: New file. Needs papers from Ron Cole. + * configure (mips-sony-sysv*): New alternative. - * tm-svr4.h (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): - Undef before defining. +Sat Mar 14 07:11:14 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * 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. + * integrate.c (initialize_for_inline): If DECL_INCOMING_RTL is + the same object as DECL_RTL, store copy in both places. -Fri Nov 29 22:16:06 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Sat Mar 14 10:12:39 1992 Michael Tiemann (tiemann@cygnus.com) - * rs6000.md: Cannot use "muls" and "muli" to do widening multiply - from HImode to SImode; delete the 12 patterns that try to do this. + * cp-spew.c (yylex): Fix some fencepost errors found by Chip + Salzenberg. -Fri Nov 29 21:32:52 1991 Michael Tiemann (tiemann at cygnus.com) + * cp-init.c (is_aggr_typedef): Now calls `error' instead of `fatal' + if NAME is non-AGGR type. - * 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. + * cp-class.c (duplicate_tag_error): Set CLASSTYPE_VBASE_SIZE. -Fri Nov 29 16:08:22 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Sat Mar 14 00:28:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * crtstuff.c: New file. Needs papers from rfg. - * Makefile.in (crtbegin.o, crtend.o): New targets. + * gcc.c (do_spec_1): Don't copy closing delim in %(...) or %[...]. + (read_specs): Don't ignore newline that ends a comment. + (handle_braces): Properly terminate scan for %*. + (validate_all_switches): Scan any extra specs from specs file. - * objc-actions.c (build_message_expr): Lots of cleanups. - (build_objc_method_call): New subroutine. - Handles new option NEXT_OBJC_RUNTIME. + * x-iris: File deleted. - * expr.c (do_jump): Any LABEL_REF is nonzero. - (expand_expr): Construct LABEL_REFs with Pmode. + * cccp.c (output_line_command): Avoid outputting line number 0. -Fri Nov 29 14:43:32 1991 Michael Meissner (meissner at osf.org) + * final.c (asm_fprintf): Handle %O. + * m68k.c: Insert %O before `move' in MOTOROLA calls to asm_fprintf. - * mips-tfile.c (parse_def): Change an error into a warning. +Fri Mar 13 20:17:40 1992 Mike Stump (mrs@cygnus.com) - * 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. + * cp-typeck.c, cp-type2.c, cp-tree.c, cp-spew.c, cp-search.c, + cp-parse.y, cp-init.c, cp-decl.c, cp-cvt.c, cp-class.c, cp-call.c: + Merged in updated cp-* files for gcc-2.1. - * mips.c (override_options): Allow int's in FP registers again, now - that ! constraints are used. + Thu Mar 12 02:29:26 1992 Mike Stump (mrs@cygnus.com) -Fri Nov 29 13:20:13 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * cp-type2.c (build_functional_cast): remove incorrect error message. - * 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. +Fri Mar 13 14:54:23 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-parse.y, objc-parse.y: Don't declare position_after_white_space - as static; it is now in c-lex.c. + * objc-actions.c (get_arg_type_list) [not NEXT_OBJC_RUNTIME]: + 1st arg always an object. + (synth_module_prologue): Don't use parser interface, just build nodes. + Use `void *' to avoid problems with TAG_SUPER vs _TAG_SUPER. + (TAG_SUPER, _msg_id, _msgSuper_id): Deleted. + (objc_getClass_id, objc_getMetaClass_id): Deleted. + (selector_type): Renamed from _selector_type. + (forward_declare_categories, build_objc_symtab_template): + Don't use parser interface, just build nodes. + (create_builtin_decl): New function. -Fri Nov 29 05:15:26 1991 Michael Tiemann (tiemann at cygnus.com) + * hp800hpux.h (LIB_SPEC): New definition. - * cp-decl.c (xref_tag): Check that TREE_CODE (ref) is aggr type - before storing into CLASSTYPE_DECLARED_CLASS (ref). + * arm.h (TARGET_WHEN_DEBUGGING): Name corrected. - * cp-decl2.c (build_push_scope): Don't let non-aggr types appear in - `cname::fname' expressions. + * protoize.c (abspath): Make abs_buffer a little longer. - * 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. + * encore.h (NO_ABSOLUTE_PREFIX_IF_SYMBOLIC): Defined. + (EXTERNAL_PREFIX, IMMEDIATE_PREFIX): Defined. + (TARGET_DEFAULT): Changed to 9. + (ENCORE_ASM): Defined. - * cp-spew.c (frob_identifier): Handle case of a type conversion - operator that converts to a nested type. + * sequent.h (PRINT_OPERAND, PRINT_OPERAND_ADDRESS): Deleted. + (IMMEDIATE_PREFIX): Define as 0. + (SEQUENT_ASM): Defined. + * ns32k.c (print_operand): Output f.p. as ints if SEQUENT_ASM. + Output doubles using 0f, not 0d, if ENCORE_ASM. - * cp-expr.c (cplus_expand_expr): In NEW_EXPR case, if ARGS is - permanent, build a new arglist instead of modifying it in place. + * configure: If no configuration matches, print error and exit. + (m68k-sun-sunos*): Renamed from m68k-sun-sunos4*. - * 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. + * configure (copy): New variable. + If hard link fails, make a copy. - * cp-call.c (convert_harshness): Revamped to handle contravariance - better. - * cp-class.h (struct candidate): Declaration moved from cp-tree.h. + * mips.c (mips_asm_file_end): Don't set flags in identifiers. + Just output every identifier found in extern_head. - * 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'. + * configure (sparc-tti-*): Renamed from sparc-unicom-*. + (m68k-tti-*): Replaced. + (m68k-tti2-*): Deleted - * cp-cvt.c (convert_to_integer): Only warn about anachronistic - conversion from int to enum if PEDANTIC is nonzero. + * config.sub (pbd): Alias for sparc-tti, not sparc-unicom. + (pbb): New machine alias. + (*-tti): Implies os=-sysv3. + (-oss*): Alias for -sysv3. - * 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. +Fri Mar 13 17:20:52 1992 david d [zoo] zuhn (zoo at lynx.spa.umn.edu) - * 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. + * x-mips: add -mld. - * cp-decl.c (grok_reference_init): If DECL is permanent, make it's - DECL_REFERENCE_SLOT permanent as well. +Fri Mar 13 14:48:05 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - * cp-cvt.c (build_type_conversion): If PEDANTIC, give message about - conversions which cast away const. + * hp800.h (REGISTER_NAMES): Name register 112, the shift amount + register, as "SAR". It was left out. - * cp-decl.c (store_return_init): If PEDANTIC, give error about named - return values. +Fri Mar 13 04:08:53 1992 James Van Artsdalen (james at bigtex.cactus.org) - * cp-init.c (decl_constant_value): Don't return DECL_INITIAL if - CURRENT_FUNCTION_DECL is null or if the initializer is a - CONSTRUCTOR. + * i386isc.h (STARTFILE_SPEC): Use crt1, not crt0. -Thu Nov 28 05:29:52 1991 Michael Tiemann (tiemann at cygnus.com) + * x-i386sco (CC,OLDCC): Don't define `i386' here. + (RCCFLAGS): Define it here, along with other SCO symbols. + (XCFLAGS): Use that. New variable. + (CLIB): Use -lPW to get alloca(). - * 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. +Fri Mar 13 14:11:41 1992 Jeffrey A. Law (law@wombat.gnu.ai.mit.edu) - * cp-typeck.c (mark_addressable): Add call to - `mark_inline_for_output' that got lost in Nov 25 change. + * Changes to enable use of sqrt builtin functions. + * c-decl.c (init_decl_processing): Enable BUILT_IN_FSQRT for + __builtin_sqrt. Also enable for sqrt if not traditional. + * cp-decl.c (init_decl_processing): Enable BUILT_IN_FSQRT for + __builtin_sqrt. + * expr.c (expand_builtin, case BUILT_IN_FSQRT): New case. Call + expand_unop to expand the operation. If that fails break and + emit a call to the library sqrt function. + * optabs.c (init_optabs): Initialize new optabs for sqrt functions. + * expr.h (sqrt_optab): Declare here so that expr.c can see it. - * cp-decl.c (push_overloaded_decl): If the value of a name is an - ADDR_EXPR, look inside to get the _DECL node. +Fri Mar 13 08:56:50 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * cp-decl.c (grokdeclarator): Don't convert type of operators new - and delete to METHOD_TYPE; they remain FUNCTION_TYPEs. + * cse.c (delete_dead_from_cse): Fix error in last change. - * function.c (expand_function_start): Set TREE_REGDECL bit on - RESULT_DECL if result starts life in a register. + * a29k.h (PCC_BITFIELD_TYPE_MATTERS): Define as 1. - * 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. + * reorg.c (fill_slots_from_thread): Add missing arg in call to + try_split call that was recently added. - * cp-class.c (finish_struct): Test DESTRUCTOR_NAME_P on - DECL_ASSMBLER_NAME, not DECL_NAME. + * fold-const.c (invert_truthvalue, case COMPOUND_EXPR): New case. -Wed Nov 27 13:49:10 1991 Jim Wilson (wilson at sphagnum.cygnus.com) +Fri Mar 13 01:02:56 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * collect2.c (ordinary scan_prog_file): Don't count | in sym name. -Thu Nov 28 20:08:15 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * ns32k.md (movsf): Remove #if 0 around #ifndef GAS_SYNTAX. - * gmon.c: New file. + * pc532.h (GAS_SYNTAX): Defined. -Thu Nov 28 15:02:24 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Thu Mar 12 00:10:23 1992 Stefan Petri (petri@jupiter.ibr.cs.tu-bs.de) - * combine.c (subst, case SET): Never make a paradoxical SUBREG of - a REG unless the SUBREG and REG occupy the same number of words. + * configure (pyramid): Re-enable. - * 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. + * pyr.h (STRUCTURE_SIZE_BOUNDARY): Restore definition from gcc-1.40. + (PCC_BITFIELD_TYPE_MATTERS): Define as 1 instead of empty. - * c-lex.c (yylex): Add goto to `L' case. + * pyr.h (STATIC_CHAIN_INCOMING_REGNUM): Added. -Thu Nov 28 08:37:02 1991 Michael Tiemann (tiemann at mole.gnu.ai.mit.edu) + * pyr.h (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE, TRAMPOLINE_ALIGNMENT, + INITIALIZE_TRAMPOLINE): Added, inspired by convex.h - * tm-mips.h (ASM_OUTPUT_INT): Use `do {...} while (0)' so it can be - used in if/else constructs. + * pyr.h (INITIAL_FRAME_POINTER_OFFSET): New definition. -Thu Nov 28 00:23:26 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * pyr.md (indirect_jump): New pattern. - * 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. + * libgcc2.c [L_trampoline]: Don't include gstddef.h in this case. + (__enable_execute_stack): Cloned definition for pyramid + from that for convex. - * 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. +Thu Mar 12 13:23:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * gcc.c (process_command): Don't require machine suffix - for dirs from COMPILER_PATH or LIBRARY_PATH. + * collect2.c (FREAD, FWRITE): #undef if USG. - * cccp.c (main): C_INCLUDE_PATH, etc., add dirs rather than replacing. + * x-mipsv: New file. + * configure (mips-*-sysv): Use it. - * 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. + * cccp.c (skip_to_end_of_comment): New arg NOWARN. Callers changed. + (do_xifdef, do_endif): Pass 1 for NOWARN. - * dbxout.c (dbxout_type_fields): Output `/'-spec after type tag - only if really needed. + * i386.h, hp800.h (ENCODE_SECTION_INFO): Handle CONSTRUCTOR node. + * i386.h (ENCODE_SECTION_INFO): Only decls can be global. -Wed Nov 27 18:52:55 1991 Michael Tiemann (tiemann at cygnus.com) + * cccp.c (warn_import): New variable. + (do_include): Test that. + (main): Handle -Wimport. - * expr.c (expand_expr): Typo in expand_end_bindings, in BIND_EXPR case. + * hp800hpux.h (DBX_DEBUGGING_INFO): #undef it. + * x-hp800hpux: New file. + * configure (hp800-hp-hpux*): Use it. -Wed Nov 27 23:10:48 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * config.sub: Make triton alias for sysv3. - * cccp.c (main): Use savestring, not strdup. + * collect2.c: If CROSS_COMPILE, #undef the special OBJECT_FORMAT_*. -Wed Nov 27 17:10:17 1991 Michael Meissner (meissner at osf.org) +Thu Mar 12 10:35:50 1992 Ron Guilmette (rfg at ncd.com) - * 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. + * gcc.c (default_compilers): Use .i suffix (instead of .cpp) for all + preprocessor output files. + (execute): Print commands used to invoke passes if -save-temps. -Wed Nov 27 15:01:52 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * Makefile.in (mostlyclean): Delete *.i, not *.cpp. + Don't delete *.co. - * config-gcc.com: Renaming of out-vax.c. - * make-cc1.com: Link dbxout with all languages. Add cp-spew. +Thu Mar 12 07:13:33 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * cccp.c (include_defaults_array): Fix typo. + * xcoff.h (DBX_FINISH_SYMBOL): When writing function name, strip off + any storage class at the end. - * gstddef.h: Handle _STDDEF_H_. +Thu Mar 12 05:16:49 1992 Tom Wood (wood@dg-rtp.dg.com) - * configure.bat, Makefile.dos: New files. + * config.sub (-triton*): Delete this OS (it's sysv3). + * configure (m88k-dolphin-sysv3): Rename alternative. + * xm-m88kdolph.h: Delete. Use xm-m88kv3.h instead. + * x-m88kdolph: New file. + +Thu Mar 12 00:19:14 1992 James Van Artsdalen (james at bigtex.cactus.org) - * 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. + * i386.md (movstrsi recognizers): Fix reversed operands. -Wed Nov 27 13:34:15 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) +Thu Mar 12 00:01:11 1992 Richard Stallman (rms@mole.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. + * gcc.c (main): + Don't require machine_suffix for md_startfile_prefix or md_exec_prefix. - * combine.c (simplify_comparison, ASHIFT case): Prevent shift by - HOST_BITS_PER_INT for inequality comparisons. + * toplev.c (main): Force flag_no_inline if not optimizing. - * fold-const.c (operand_equal_p): Arguments are not equal if - signedness differs. Conversions don't match if signedness differs. + * dbxout.c (dbxout_type): Ignored names don't count in case UNION_TYPE. - * sparc.md (movsi, movhi, movqi, movdi): Prohibit matches that - would require reloading by the use of conditions. + * cp-decl.c (pushtag): Push on ->tags and make TYPE_STUB_DECL + even if type has no tag name. + * cp-class.c (finish_struct): Always call rest_of_type_compilation. - * alloca.c (alloca): Add parens to make precedence clearer. + * cse.c (simplify_unary_operation): For SQRT, do nothing. - * tm-news.h (PRINT_OPERAND): Add 68040 support so that the compiler - will bootstrap. + * byteorder.h: Test __i860_big_endian__. -Wed Nov 27 09:41:13 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * ns32k.c (print_operand_address): Test NO_ABSOLUTE_PREFIX_IF_SYMBOLIC. + Test BASE_REG_NEEDED inside indirect address too. + * sequent.h (NO_ABSOLUTE_PREFIX_IF_SYMBOLIC): Defined. + (SEQUENT_ADDRESS_BUG, SEQUENT_BASE_REGS): #if 0. - * expr.c (expand_expr, case MIN_EXPR): Fix typo in operand number - in safe_from_p call. +Wed Mar 11 22:55:38 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * recog.c (indirect_operand): Correctly handle case where we have - a (subreg (mem X) C) after reload. + * c-decl.c (push_parm_decl): Clear immediate_size_expand temporarily. + * stor-layout.c (get_pending_sizes): Fix up SAVE_EXPR_CONTEXT. + (variable_size): No longer static. + * c-decl.c (grokdeclarator): Call variable_size, not save_expr. + Rename local `variable_size' to `size_varies'. -Tue Nov 26 16:24:03 1991 Ron Guilmette (rfg at ncd.com) +Wed Mar 11 18:53:23 1992 Chip Salzenberg (chip@tct.com) - * dwarfout.c (output_enumeration_type_die): Handle a GNU C - language extension: incomplete enum types. + * collect2.c (OBJECT_FORMAT_COFF, OBJECT_FORMAT_ROSE): + (OBJECT_FORMAT_NONE): Three alternative strategies for finding inits. + OBJECT_FORMAT_COFF is completely new. + (is_ctor_dtor): New function. + [OBJECT_FORMAT_NONE, OBJECT_FORMAT_ROSE] (scan_prog_file): + Use is_ctor_dtor. - * dwarfout.c (output_type): Fixed bug which causes DIEs for - file-scope tagged types to be generated in a local-scope - under some conditions. + * x-rs6000 (CLIB): Add -lld. + * t-rs6000: New file. + * configure (rs6000...): Use that file. - * 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. +Wed Mar 11 17:31:13 1992 Torbjorn Granlund (tege@hal.gnu.ai.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. + * reload1.c (inc_for_reload): Call gen_add2_insn with negated + constant instead of gen_sub2_insn. - * 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 $. +Wed Mar 11 17:30:35 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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). + * c-typeck.c (build_binary_op): For shifts, always use op0 type. - * x-genix, x-i386sco, x-xenix (INSTALL): Define as cp. + * stmt.c (expand_end_bindings): + Load virtual_incoming_args_rtx via a pseudo reg. -Tue Nov 26 16:24:03 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * math-68881 (pow): Add missing parens; typo in fp constant. - * gcc.c (default_compilers): Pass -A* to cpp. + * i386isc.h (LIB_SPEC): Add -lg. - * 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. + * libgcc2.c (__CTOR_LIST__, __DTOR_LIST__): + Don't define if CTOR_LISTS_DEFINED_EXTERNALLY. + (__builtin_saveregs): Handle NO_UNDERSCORES for sparc. - * configure (m68000-hp-hpux*): Use xm-hp320.h. + * pbb.h, pbd.h: New files from Mike Bloom. + * configure (m68k-tti2-*): Turned back on. - * stmt.c (expand_value_return): New subroutine. - (expand_return): Use that. + * c++: Add a colon command in case system doesn't handle #!/bin/sh. - * make-gcc.com: New name for make.com. +Mon Mar 11 19:54:43 1992 James Van Artsdalen (james at bigtex.cactus.org) - * stor-layout.c (layout_record): Return list of static members. - (layout_type): Lay them out here. + * i386.md (integer truncMN2): Delete patterns. Not needed on i386. - * expmed.c (init_expmed): Use 3 as shift count for shift_cost. +Wed Mar 11 16:58:56 1992 Tom Wood (wood@dg-rtp.dg.com) - * x-sco: File deleted. + * m88kv3.h (STARTFILE_SPEC, LIB_SPEC): Search for crt{begin,end}.o + (DO_GLOBAL_CTORS_BODY, CTORS_SECTION_ASM_OP, ASM_OUTPUT_CONSTRUCTOR, + DTORS_SECTION_ASM_OP): Implement new svr3 scheme. - * print-tree.c (print_node): Always be brief for vector elts. +Wed Mar 11 16:24:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Nov 26 07:42:41 1991 Michael Tiemann (tiemann at rtl.cygnus.com) + * fold-const.c (fold): When correcting constant result of GE, LE, NE, + make sure we really have a constant result. - * cp-decl.c (grokdeclarator): Fix typo involving ~RID_STATIC. + * ns32k.md (call, call_value): Support GAS_SYNTAX and GNX_V3 like 1.40. -Mon Nov 25 21:51:09 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * c-decl.c (pushdecl): Properly use prev implicit decl in warning. - * optabs.c (emit_cmp_insn): If both operands are VOIDmode, - put first operand into register, not second. +Wed Mar 11 16:05:20 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * 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. + * Makefile.in (OBJS): Add xcoffout.o. + (dbxout.o, final.o, toplev.o, varasm.o): Add xcoff.h dependency. + (xcoffout.o): Add rule to build. -Mon Nov 25 20:51:00 1991 DJ Delorie (dj@ctron.com) + * xcoffout.c: Change names of rs6000_*_section_name variables to + xcoff_*_section_name, and move definitions of them here from + rs6000.c. + * xcoff.h: Likewise, move declarations here from rs6000.h. + * rs6000.c: Delete definitions of rs6000_*_section_name variables. + * rs6000.h: Delete declarations of rs6000_*_section_name variables. - * cccp.c (main): Look in env vars to override header dir list. - * gcc.c (process_command): Likewise. + * rs6000.c (output_epilog): Add comment to note lack of traceback + table support. + * rs6000.h: Refine comment explaining ASM_SPEC definition. + (XCOFF_DEBUGGING_INFO): Define. + (DBX_CONTIN_LENGTH, DBX_NO_XREFS): Move to xcoff.h. + (ASM_FILE_START): When -g, emit private_data_section. + (ASM_DECLARE_FUNCTION_NAME): When -g, output .lglobl for static + functions. Also, output .function debug info. + (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Add bss_section call. + + * dbxout.c: Include xcoff.h when XCOFF_DEBUGGING_INFO is defined. + Define default values for DBX_DECL_STABS_CODE, + DBX_STATIC_CONST_VAR_CODE, DBX_REGPARM_STABS_CODE, and + DBX_REGPARM_STABS_LETTER. These exist to be overriden for xcoff. + Include entire file if either DBX_DEBUGGING_INFO or + XCOFF_DEBUGGING_INFO is defined. + (dbxout_type): Add early exit if DBX_TYPE_DEFINED, used for xcoff. + (dbxout_symbol): Use DBX_DECL_STABS_CODE instead of N_LSYM for + tags and typedefs. Use DBX_STATIC_CONST_VAR_CODE instead of N_FUN + for static const variables. Add DBX_STATIC_BLOCK_START and + DBX_STATIC_BLOCK_END around output of stab info, for xcoff use. + (dbxout_finish_symbol): Use DBX_FINISH_SYMBOL instead if defined. + (dbxout_syms, dbxout_parms): No longer static, referenced from + xcoffout.c. + (dbxout_parms): Use DBX_REGPARM_STABS_CODE instead of N_RSYM. Use + DBX_REGPARM_STABS_LETTER instead of 'P'. + (dbxout_reg_parms): No longer static. + * final.c: Also include gstab.h if XCOFF_DEBUGGING_INFO defined. + Include xcoff.h if XCOFF_DEBUGGING_INFO defined. + (final_start_function): Call xcoffout_output_first_source_line + when XCOFF_DEBUG. Set next_block_index if XCOFF_DEBUG. + (final_end_function): Call xcoffout_end_function if XCOFF_DEBUG. + Call xcoff_end_epilogue if XCOFF_DEBUG. + (final_scan_insn): Call xcoffout_begin_function, + xcoffout_begin_block, and xcoffout_end_block if XCOFF_DEBUG. + (output_source_line): Also call dbxout_source_file if XCOFF_DEBUG. + * flags.h: Define XCOFF_DEBUG. Also declare + use_gdb_dbx_extensions if XCOFF_DEBUGGING_INFO. + * toplev.c: Also declare use_gdb_dbx_extensions if + XCOFF_DEBUGGING_INFO. Include xcoff.h in XCOFF_DEBUGGING_INFO. + (compile_file): Also call dbxout_init, and dbxout_finish if + XCOFF_DEBUG. + (rest_of_decl_compilation): Also call dbxout_symbol if + XCOFF_DEBUG. + (rest_of_type_compilation): Also call dbxout_symbol if + XCOFF_DEBUG. + (main): Add support for recognizing -g when XCOFF_DEBUGGING_INFO. + * varasm.c: Include xcoff.h if XCOFF_DEBUGGING_INFO. + (assemble_variable): Also call dbxout_symbol when XCOFF_DEBUG. + Change all returns to goto finish. At finish label, + call dbxout_symbol if XCOFF_DEBUG. - * 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. + * dbxstclass.h: New file. Define XCOFF specific storage classes. + * xcoff.h: New file, for XCOFF support. Included by xcoffout.c, + dbxout.c, final.c, toplev.c, and varasm.c. + * xcoffout.c: New file for XCOFF support. Most of the support is + implemented by dbxout.c, this just includes stuff that can not be + easily performed within dbxout.c. -Mon Nov 25 17:18:52 1991 Michael Collison (collison at osf.org) + * toplev.c (struct W_options): Add entry for warn_inline, so user + can turn this warning on. - * x-encrose: New file for mmax running OSF/1. - * t-encrose: ditto. +Wed Mar 11 15:11:42 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - * 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. + * optabs.c (init_optabs): Fix typo (Imode instead of TImode) in + HAVE_subti3 case. - * 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. +Wed Mar 11 13:10:20 1992 Jeffrey A. Law (law@wombat.gnu.ai.mit.edu) - * tm-i386rose.h: New file for 386 running on OSF/1. - * x-i386rose: ditto - * t-i386rose: ditto + * sparc.h (REG_ALLOC_ORDER): Make %g3 more desirable. - * config.subr: Added case for 'osf-'. - * configure: Added case for i386-osfrose +Wed Mar 11 12:35:12 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * fixincludes (egrep cmd): Delete misplaced `#e[nl]'. -Mon Nov 25 17:18:52 1991 Jyrki Kuoppala (jkp at batman.hut.fi) + * jump.c (jump_optimize): Try to fix last change. - * 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. + * expmed.c (init_expmed): Use big, ugly factor in mult_is_very_cheap. - * out-ns32k.c (calc_address_cost): don't assume unknown RTX codes - have XEXP's which are rtx's. +Wed Mar 11 08:00:18 1992 Tom Wood (wood@dg-rtp.dg.com) - * ns32k.md (movsi): don't use addr for the 32532 immed displacements. - (shift patterns): fixed a typo with %$%n. + * toplev.c (rest_of_compilation): Use sdbout_types to clear the + anonymous types queue if any. + * sdbout.c: Correct spelling of sdbout_dequeue_anonymous_types. - * out-ns32.c (calc_address_cost) new function. - tm-ns32k.h (ADDRESS_COST): call calc_address_cost. + * genattrtab.c (attr_string): Don't assume a terminating null. - * out-ns32k.c (print_operand_address): use error & debug_rtx if error. +Wed Mar 11 07:05:38 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * 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. + * reload1.c (reload_as_needed): Delete erroneous test of + basic_block_needs. - * ns32k.md (subsf+1): don't use ajdspb on the 32532. + * stmt.c (expand_end_case): Know that we will obtain a constant + if we were passed a COMPOUND_EXPR whose second operand is constant. + Fold the MINUS_EXPR we make for casesi. - * tm-ns32k.h (CONST_OK_FOR_LETTER_P): positive values not OK for - constraint 'I' if on 32532. + * reorg.c (update_block_from_store): Deleted. + (update_block): Always leave USE; don't try to update live regs. - * ns32k.md (ashl??): if TARGET_32532, use lsh{d,w,b}. + * explow.c (copy_to_suggested_reg): Add new arg for mode to use. + * expmed.c (expand_divmod): Pass new arg to copy_to_suggested_reg. - * ns32k.md (adjusting stack pointer): don't use ajdp{b,w} if not 32532. + * reload1.c (set_label_offsets, reload_as_needed): Consistently + ignore non-eliminables when computing num_not_at_initial_offset. - * ns32k.md (isv,insv-1,insv-2,extzv): use constraint K instead of - n for offset. + * rs6000.md (subsi3): Remove unnecessary call to force_reg. - * 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. + * rs6000.c (output_epilog): Separate setting LR from loading + it from memory in some cases. + Branch to FP restore routine instead of calling it. - * out-ns32k.c (print_operand): define as a void function. + * flow.c (propagate_block): CC0 is not live when we delete a dead + insn. + * cse.c (delete_dead_from_cse): An insn setting CC0 is not live + if the next insn doesn't reference CC0. - * ns32k.md (call_value): use operands[1], not operands[0] to check - for CONSTANT_ADDRESS_P. + * cse.c (cse_insn): If we see a narrow AND with a constant, check if + we have seen a wider AND. - * out-ns32k.c (print_operand): eliminate - PRINT_OPERAND_EXTRACT_FLOAT, don't depend on HOST_WORDS_BIG_ENDIAN. + * combine.c (can_combine_p): Allow SUBREG of non-tiable regs if we + are going to do is copy it to CC0. - * tm-ns32.h (INDIRECTABLE_1_ADDRESS_P): use CONSTANT_ADDRESS_P, - not CONSTANT_P. + * reload.c (find_secondary_reload): If X is a pseudo with an + equivalent MEM, use the MEM to see if a secondary reload is needed. + Don't call REG_CLASS_FROM_LETTER for 'r'. + * reload1.c (emit_reload_insns): Handle reloading pseudos + with equivalent MEM when we have secondary reloads; use the MEM + when required. - * 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. + * romp.md (reload_outsi): Pattern should be a single PARALLEL + whose second component is a CLOBBER. - * tm-ns32k.h (output_move_double, output_shift_insn): New declarations. +Wed Mar 11 03:11:26 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * out-ns32k.c (print_operand_address): Use fatal for errors. + * gcc.c (find_a_file, do_spec_1): Always obey require_machine_suffix. + (machine_explicit): Var deleted. - * ns32k.md (insv, extzv): Replaced with the pattern near insv in 1.40. +Tue Mar 10 23:12:24 1992 Jeffrey A. Law (law@wombat.gnu.ai.mit.edu) - * 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. + * m68k.md (68000 special shifts): No longer accept a shift count + of 16. Delete support for shifts by 16 places. + (shift by 16 bits): New patterns which apply to all 68k models. + * m68k.h (RTX_COSTS): Shifts by 16 are cheap. - * out-ns32k.c (print_operand_address): replaced the function with - a more clean version, written for gas syntax. +Tue Mar 10 20:37:31 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * ns32k.md (call): #if 0 code which was used when GAS_SYNTAX was not - defined. - (call_value): likewise. + * dwarfout.c (location_or_const_value_attribute): + Reenable changes disabled on Feb 21. + * function.c (instantiate_decls): Likewise. - * 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. + * sdbout.c (sdbout_symbol): Handle (mem (const...)). + * dbxout.c (dbxout_symbol): Likewise. - * ns32k.md (movsf): put #ifndef GAS_SYNTAX part inside #if 0 since - for now we only use GAS syntax. + * xm-i386isc.h: New file. + * configure (i386-*-isc*): Use it. - * tm-ns32k.h (INDIRECTABLE_2_ADDRESS_P): add TARGET_SB as a - condition in addition to CONSTANT_ADDRESS_P. + * hp320.h (MD_STARTFILE_PREFIX): Deleted. - * tm-ns32k.h (MEM_REG): use CONSTANT_ADDRESS_P instead of GET_CODE - == SYMBOL_REG, add TARGET_SB to the second-part condition. + * m68k.h (RTX_COSTS): If MULT is a shift, jump to shift case. - * ns32k.md (rotrsi3): fixed a typo NEGATE->NEG + * sun3.h (TARGET_MEM_FUNCTIONS): Defined. - * tm-ns32k.h: added a comment about CONSTANT_ADDRESS_P; it's not - strictly according to the spec. + * toplev.c (rest_of_compilation): Call sdbout_dequeue_anonymous_types + even if we don't output assembler code. - * tm-ns32k.h: added defaults for ABSOLUTE_PREFIX,IMMEDIATE_PREFIX - etc, using gas syntax. + * jump.c (jump_optimize): In `if (foo) bar; else break;' optimization, + include in range1 and range2 any line numbers at the beginning. - * out-ns32k.c: removed macro FP_REG_P. + * c-typeck.c (spelling_length): Initialize `size'. + (PUSH_SPELLING): `spelling_size' is measured in elements. + (get_spelling): Use xmalloc if there is no buffer yet. - * 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. +Tue Mar 10 20:25:56 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * 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. + * integrate.c (save_for_inline_copying): + Set up LABEL_NAME of label copies. - * tm-ns32k.h (TARGET_VERSION) says GAS syntax. - (TARGET_*) added some empty lines for clarity. + * sparc.md: Clean up attribute settings. Add default length of 2 + for insns of type multi. Make sure all insns have correct type and + length attribute values. -Mon Nov 25 14:29:39 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Tue Mar 10 19:13:19 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Makefile.in (aux-output.o): Depend on insn-codes.h. + * c-decl.c (warn_parentheses): Default is 0. + (c_decode_option): -Wall implies -Wparentheses. - * make-cc1.com: Handle print-rtl.c. +Tue Mar 10 17:49:51 1992 Torbjorn Granlund (tege at mole.gnu.ai.mit.edu) - * 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. + * hp800.md (shNadd recognizers): Put the MULT first, to obey insn + canonicalization rules. -Mon Nov 25 13:29:50 1991 Per Bothner (bothner at cygnus.com) + * hp800.md (subsi3): Don't handle constants for operand 2, but + do handle them for operand 1, for the subi insn. - * cp-except.c (init_exception_processing): Fix return type of - longjmp (from int to void). + * hp800.md (compare into ordinary reg): Use "arith11_operand", not + "arith_operand" for operand 2. Use `I', not `J' as constraint. + Don't change the constant in the output code (i.e. undo Mar 10 + change). + * hp800.c (arith11_operand): New predicate function. Fix comment. -Mon Nov 25 13:11:51 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + hp800.md (mulsi3): Don't handle CONST_INT specifically, rely on + machine independent code. + * hp800.h (RTX_COST): Define. + * hp800.c (ABS, mul_operands, emit_mul_by_constant) Remove. + (mul_by_constant_aux, test_factor_and_output): Remove. - * rtlanal.c (refers_to_regno_p): Check for `x == 0' on repeat. + * hp800.md (addsi3): Use "register_operand" for operand 1, not + "arith_operand". - * x-mips, xm-vms.h: Change cplus-* to cp-* in comments. - * x-tower (X_CFLAGS): Add missing `-'. + * hp800.md: Clean up spacing and comments in a few places. - * unroll.c (unroll_loop): When simplifying loops executed only once, - use last_loop_insn not copy_end. + * hp800.c (output_move_double): Handle auto increment and auto + decrement. Remove unused enums. Test for either operand being a + REGOP instead if RNDOP, since we require at least one operand to + be a register. Pass the MEM address to find_addr_reg, not the + entire MEM rtx (in two places). -Mon Nov 25 07:45:46 1991 Michael Tiemann (tiemann at rtl.cygnus.com) + * hp800.h (WORDS_BIG_ENDIAN): Fix typo in comment. + (RTX_COST): Return cost of a PLUS, to indirectly give the right + cost for the shNadd insns. Adjust the cost for division. - * cp-except.c (init_exception_processing): Mark `ExceptionHandler' - constructor and destructor as being TREE_EXTERNAL, and mark the - `ExceptionHandler' type as being interface-only. +Tue Mar 10 15:57:24 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * cp-decl.c (maybe_globalize_type): Don't test TYPE_BEING_DEFINED - for ENUMERAL_TYPE. + * sparc.md: Add pattern for optimizing bitfield compares. This + pattern was accidently lost when other (now-obsolete) bitfield + patterns were removed. - * cp-class.c (modify_vtable_entry): Disable code which attempts to - encode in a vtable an indirection to another vtable entry. + * sparc.c (arith32_operand): Deleted. + * sparc.md (movstrsi): Now uses nonmemory_operand for length. - * 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). + * sparc.c (output_arc_profiler): Emit insns from first to last + instead of last to first, since it is much clearer. Eliminate + profiler_target, since it resulted in illegal rtx sharing. -Mon Nov 25 00:41:14 1991 Per Bothner (bothner at cygnus.com) + * sparc.c (legitimize_pic_address): Make -fPIC work again, re the + Feb 27 cse.c LO_SUM fix. Put addresses inside UNSPEC when loading + them to ensure that cse won't mistakenly optimize them. + * sparc.md: Two new patterns, to match (HIGH (UNSPEC (..))) and + (LO_SUM (reg) (UNSPEC (..))) as generated above. - * 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 ... +Tue Mar 10 14:58:19 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sun Nov 24 19:32:07 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * mips-news.h (ASM_SPEC): Move %{G*} outside of -mgas conditional. + * nws3250v4.h, xm-nws3250v4.h, x-nws3250v4: New files. From cph. - * sched.c (update_links): Use PUT_REG_NOTE_KIND to change REG_NOTE. + * i860.c (sfmode_constant_to_ulong): Fix typo in last change. -Sun Nov 24 14:53:37 1991 Ron Guilmette (rfg at ncd.com) + * expr.c (store_expr): Initialize `label'. - * 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. + * 3b1.h (HAVE_ATEXIT): #undef this. -Sun Nov 24 07:37:17 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * hp800.md (compare into ordinary reg): Make large ints "negative". - * 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. + * hp800hpux.h: New file. + * configure (hp800-*-bsd*): Renamed from hp800-*-*. + (hp800-*-hpux*): New configuration. - * 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. +Tue Mar 10 11:03:47 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - * 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. + * expmed.c (init_expmed): Make the lea pattern in the canonical way. - * 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. +Tue Mar 10 10:32:30 1992 Tom Wood (wood@hal) - * 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. + * m88k.h (ASM_OUTPUT_{COMMON,LOCAL}): Compute size consistently. - * 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. +Tue Mar 10 07:41:09 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * 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. + * recog.c (constrain_operands, case 'E'): Fix typo. - * rs6000.md (scc): Correct typos in last change. + * function.c (setjmp_protect): Don't put vars from inline functions + on the stack. - * 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. + * c-typeck.c (process_init_constructor): Don't use host integers for + bounds and index computation; use trees instead. + If specifying index in array with unset bounds, assume lower bound + of zero and check specified index against zero. - * 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. + * tree.h (mode_for_size): Don't declare here. + * machmode.h (mode_for_size): Declare here instead. - * tm-vax.h (BRANCH_COST): Define to be equal to zero. + * reorg.c (fill_slots_from_thread): Try to split THREAD immediately + so we don't get confused if it gets split later. -Sun Nov 24 07:07:31 1991 Michael Tiemann (tiemann at cygnus.com) + * reorg.c (fill_slots_from_thread): Don't take add from loop + head if the increment amount depends on the target register, since + we can't undo the operation. - * cp-decl.c (maybe_globalize_type): Don't globalize a type that's - being defined. +Mon Mar 9 12:18:04 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) -Sun Nov 24 05:08:57 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * unroll.c (final_biv_value): Fail if the biv is not MODE_INT. - * c-decl.c (finish_struct): Use main variant checking ANSI bitfields. + * combine.c (distribute_notes, case REG_DEAD): Call rtx_equal_p + to verify that it was the set that modified the register, and + not a clobber. - * tm-tower-as.h (ASM_FILE_START): Use output_file_directive. +Sun Mar 8 22:20:24 1992 James Van Artsdalen (james at bigtex.cactus.org) - * gcc.c (process_command): Treat `-' as file name, not option. + * c-parse.y,c-lex.c,cp-hash.h,cp-parse.y,cp-spew.c,objc-parse.y: + Rename `ASM' to `ASM_KEYWORD' to avoid trouble with SCO + . -Sat Nov 23 20:28:58 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Sun Mar 8 23:16:37 1992 Jeffrey A. Law (law@wombat.gnu.ai.mit.edu) - * 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. + * expr.c (move_by_pieces, move_by_pieces_ninsns): Remove March 4 and + March 5 changes. Set max_size to MOVE_MAX + 1 instead. - * cse.c (cse_basic_block): Allow recording of destinations in the - final insn of a LIBCALL block. +Sun Mar 8 17:08:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * expr.c (do_tablejump): New arg MODE. + * stmt.c (expand_end_case): Pass that arg. - * genrecog.c (struct decision): Remove fields `dupcount' - and `reg_class' and all references; they were being set but never - used and are now obsolete. + * c-decl.c (pushtag): Push even anonymous types on tags list. + (parmlist_tags_warning): Handle anonymous types in the list. - * 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. +Sun Mar 8 15:08:58 1992 James Van Artsdalen (james at bigtex.cactus.org) - * combine.c (can_combine_p): Don't move insn past a volatile ref if - it is an `asm', even if non-volatile. + * i386mach.h (perform_fixdfsi): Rename from *_fix_trundfsi2. + Restore float control word correctly. + * i386rose.h (perform_fixdfsi): Likewise. - * gmicro.md: Fix punctuation problem causing syntax error. + * i386.h (CONST_DOUBLE_OK_FOR_LETTER_P): Allow float constants, + even if -msoft-float is used: reg-stack.c may emit an insn to load + the function value register with 0.0. - * tm-rs6000.h (CONST_OK_FOR_LETTER_P): Add `O' and `P'. - * out-rs6000.c (reg_or_neg_short_operand): New function. + * i386.md (bit test insns): Don't allow memory operands as the + first argument of the zero_extract. - * 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. + * i386isc.h (RETURN_POPS_ARGS): Comment this out: ISC uses the + standard definition. - * 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. + * i386sco.h (STARTFILE_SPEC): Use crtbegin.o. + (ENDFILE_SPEC): Use crtend.o. + (CPP_SPEC): #undef before defining. + (RETURN_POPS_ARGS): Caller pops args on SCO. -Sat Nov 23 17:01:47 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Sun Mar 8 14:25:16 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * expmed.c (init_expmed): Make REG a pseudo, not a hard reg. + * configure: Fatal error if srcdir has already been configured. + Remove periods from error messages. - * tm-m68k.h (RTX_COSTS): New macro. + * 3b1.h, mot3300.h (ASM_OUTPUT_OPCODE): Change swap to swap.w. + (SGS_SWAP_W): Deleted. + * m68ksgs.h (ASM_OUTPUT_OPCODE): If SGS_SWAP_W, change swap to swap.w. + * m68k.md: Delete all SGS_SWAP_W conditionals. - * varasm.c (make_decl_rtl): Get rid of pedantic warning. + * m68k.md (shift using swap, dbra patterns): Change clrw to clr%.w. - * 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. + * hp800.h (output_global_address): Use `-' for PLUS of neg integer. + Clean up spacing and braces in several places in file. - * 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. + * byteorder.h (htons): Use unsigned int for arg type. - * configure (i386-dontknow-*, ns32k-*-*): Alternatives deleted. - (m68k-tti2-*): Deleted. - (m68k-tti-*): Renamed from m68k-tti1-*. +Sun Mar 8 07:36:44 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * i860.md (floatsidf2): Escape the doublequotes. + * rs6000.c (print_operand, case 'A'): New case. + * rs6000.md (sri): New %A to use "sli" for count of zero to work + around bug in RS/6000 assembler. - * 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. + * config.sub (os): Add "aos" to basic list, no longer the same + as "bsd"; "acis" is an alternate for "aos". + (romp): No longer has a default system. + * configure (romp-*-aos*): Renamed from romp-*-bsd*; BSD means + real BSD (4.3 Tahoe+), AOS means IBM system. -Sat Nov 23 06:33:24 1991 Michael Tiemann (tiemann at cygnus.com) + * Makefile.in (crtbegin.o, crtend.o): Use -o for output instead of + putting in crtstuff.o and renaming to desired name. - * cp-spew.c (yylex): Don't see TYPENAME if LOOKING_FOR_TYPENAME - is < 0. Definitely see TYPENAME if LOOKING_FOR_TYPENAME > 0. + * reload1.c (reload): Re-check eliminability of registers on each + reload pass. - * 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. + * jump.c (mark_jump_label): Make multiple REG_LABEL notes if + more than one label is mentioned in an insn. - * cp-spew.c (discard_token): Renamed from `eat_token'. - Also, make all local functions static. Some day we'll use inlining. + * integrate.c (copy_rtx_and_substitute): Properly initialize + const_equiv_map for the equivalents of AP and FP. -Thu Nov 21 16:06:14 1991 Mark Eichin (eichin at cygnus.com) + * rs6000.h (TARGET_MEM_FUNCTION): Define. - * Makefile.in: added rule for cp-spew.o +Sun Mar 8 00:05:47 1992 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 (store_parm_decls): Copy function type before changing it. + * tree.c (build_type_copy): New subroutine. - * 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. + * t-next (LIBGCC1): Assigned, instead of LIBGCC. - * 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. + * m68k.h (SHIFT_COUNT_TRUNCATED): Deleted. -Thu Nov 21 18:14:11 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) +Sat Mar 7 23:47:57 1992 James Van Artsdalen (james at bigtex.cactus.org) - * out-sparc.c (output_function_epilogue): Correct parameters in - call to final_scan_insn, write_symbols parameter no longer exists. + * i386.md (xorsi3,xorhi3): Don't emit a byte opcode with an SImode + operand. - * integrate.c (save_for_inline_copying): Use GET_RTX_CLASS. +Sat Mar 7 22:49:21 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Nov 21 17:44:46 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * c-typeck.c (convert_arguments): -Wconversion warning + if argument is passed as float. + For fixed arguments, warn if type passed doesn't match + what default_conversion produces. - * gcc.texinfo (PCC_BITFIELD_TYPE_MATTERS): Clarify that macro - must always be non-zero unless MEM extv/extzv/insv exist. + * gcc.c (cross_compile): New variable, 1 if cross-compiling. + (read_specs): Read it from specs. + (process_command): Dump it to specs. - * 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. + * gcc.c (process_command): Don't use MD prefixes and + standard_startfile_prefix* here. + (main): Use them here, if not cross-compiling. -Thu Nov 21 17:14:54 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) +Sat Mar 7 18:13:45 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * jump.c (invert_exp): Correct typo in comment. + * reload1.c (reload_as_needed): Eliminate regs in (use (mem ..)) + and (clobber (mem ...)) insns. -Thu Nov 21 15:34:27 1991 Michael Meissner (meissner at osf.org) + * combine.c (distribute_notes): Fix minor bug in handling of + multi-register values when only one part is used. - * 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. + * optabs.c, expr.c: Always call emit_library_call with no_queue == 1. -Thu Nov 21 08:12:51 1991 Tom Wood (wood at dg-rtp.dg.com) + * function.c (fix_lexical_addr): Correctly set BASE in non-separate + AP case. - * 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. +Sat Mar 7 15:39:57 1992 Jyrki Kuoppala (jkp@batman.cs.hut.fi) -Thu Nov 21 06:47:11 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * ns32k.h (TRANSFER_FROM_TRAMPOLINE): changed "ret" to "ret 0" - * rs6000.md (scc): Add missing '&' in some alternatives of constraints. +Sat Mar 7 15:41:46 1992 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu) - * a29k.md (negdf2): Fix typo in constraints for SCRATCH in 29050 case. + * fixincludes: Don't do special fixes on signal.h, which were only + needed because of #endif comment fixes. - * real.h (REAL_VALUE_TRUNCATE): Default is to truncate to float if - mode size is BITS_PER_WORD instead of when mode if SFmode. +Sat Mar 7 15:11:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Nov 21 01:58:27 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * m68k.h (ASM_OUTPUT_ALIGN): Don't crash if LOG is more than 1. - * dbxout.c (dbxout_type): Test TYPE_BINFO before TYPE_BINFO_BASETYPES. + * varasm.c (decode_reg_name): Make various prefixes optional + whether or not they are in REGISTER_NAMES. + (strip_reg_name): New subroutine. -Thu Nov 21 01:45:53 1991 Ken Raeburn (raeburn@cygnus.com) + * i386.c: Fatal error if EXTRA_CONSTRAINT is defined. - * 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. + * collect2.c [USG] (R_OK, W_OK, X_OK): Define them if missing. - * cp-class.c (pushclass): For UPType, overload the template name. - (popclass): For UPType, undo the overload. + * x-hp320g (RANLIB, RANLIB_TEST): Defined. - * 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. - - * cp-decl2.c (constructor_name): Treat class template decl like - type decl. - - * cp-lex.c (store_pending_inline): If a function is not to be - compiled, discard its text only if can_free flag is set. - - * 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. - - * 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. - - * 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) - - * 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. - -Mon Nov 18 21:38:13 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) - - * 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. - - * sparc.md (movsi): Must accept 'f' in addition to 'r' because - combine can convert FP hard registers to SImode. - -Mon Nov 18 13:43:12 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * rtlanal.c (replace_regs): Correct code that prevents nested SUBREGs. - -Mon Nov 18 13:43:12 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * c-decl.c (finish_decl): Reinstall lost end_temporary_allocation. - - * tree.h (DECL_LANG_FLAG_8): Deleted. - * print-tree.c (print_node): Don't use it. Do print DECL_IGNORED_P. - -Mon Nov 18 06:59:37 1991 Michael Tiemann (tiemann at cygnus.com) - - * 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. - - * 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. - -Sun Nov 17 17:33:58 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * 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. - - * 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. - -Sun Nov 17 14:25:15 1991 Michael Tiemann (tiemann at cygnus.com) - - * cp-typeck.c (c_expand_return): Be more careful about throwing - away only cleanup generated by 'build_functional_cast'. - - * cp-init.c (build_new): Use TRUE_TYPE instead of TYPE more - consistently, in case TYPE is really an ARRAY_TYPE on its own. - - * 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) + * Makefile.in (EXTRA_PROGRAMS): New variable is list of programs. + (native): Build them. Don't build EXTRA_PARTS. + (rest.encap): Build EXTRA_PARTS. + (GCC_PARTS): Include EXTRA_PROGRAMS. + (install-common): Build EXTRA_PROGRAMS. + * t-convex (EXTRA_PROGRAMS): Define instead of EXTRA_PARTS. - * 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. + * Makefile.in (distclean): Don't delete backups, etc. + (extraclean): New target--delete those things here. + (gcc.xtar): Use extraclean. + (cleanconfig): Deleted. + (realclean): Depend on distclean. -Wed Nov 13 14:43:09 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) +Sat Mar 7 14:54:29 1992 Tom Wood (wood@dg-rtp.dg.com) - * 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. + * genattrtab (attr_printf): Provide alternate based on HAVE_VPRINTF. - * t-decrose (collect): Use ALL_CFLAGS instead of CFLAGS, since this - gets the shared library flags in x-decrose. +Sat Mar 7 14:25:58 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) -Thu Nov 7 07:57:36 1991 Tom Wood (wood at dg-rtp.dg.com) + * hp800.c (secondary_reload_class): Change `=' to `==' in `if'. - * tm-m88k.h (MEMORY_MOVE_COST): Define. - (TARGET_88*): Fix. +Sat Mar 7 13:25:17 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Nov 6 19:07:42 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * a29k.md (negsf2, negdf2): Add missing CLOBBER in 29050 case. - - * jump.c (jump_optimize): When looking for a conditional jump - skipping an unconditional jump, be sure the conditional jump is - not an unconditional jump. - - * 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). - -Wed Nov 6 13:41:55 1991 Tom Wood (wood at dg-rtp.dg.com) - - * tm-m88kv3.h, xm-m88kv3.h: Renamed from *m88ksysv3*. - -Wed Nov 6 09:27:16 1991 Michael Meissner (meissner at osf.org) - - * 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. - - * 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. - - * tm-mips-news.h (CPP_SPEC): Add -Dnews7300, -Dsony_news, -Dmips, - and -Dhost_mips. - -Wed Nov 6 08:46:54 1991 Mark Eichin (eichin at cygnus.com) - - * 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. - -Wed Nov 6 07:04:55 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * 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. - -Tue Nov 5 22:16:39 1991 Michael Meissner (meissner at osf.org) - - * 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. - - * tm-decrose.h (TARGET_DEFAULT): Eliminate MASK_G012_NUSED. - - * out-mips.c (override_options): Remove support for -mGx and -mno-Gx - switches to set the cutoff size for small data/bss. - - * mips.md (abssi2): Add new pattern. - (ffssi2): Add new pattern. - -Tue Nov 5 18:36:29 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * 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. - -Tue Nov 5 17:01:05 1991 Ken Raeburn (raeburn at cygnus.com) - - * cp-pt.c (tsubst): For char_type_node, just build variant and - return it. - (tsubst, case FUNCTION_DECL): Walk methods more efficiently. - - * 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-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. - - * cp-pt.c (pop_template_decls): Don't explicitly clear out value - slots of identifier; let poplevel/poplevel_class do it. - - * cp-pt.c: Use build_lang_decl insteaed of build_decl for - all TEMPLATE_DECL and TYPE_DECL nodes. - - * cp-tree.h (make_anon_name): Declare it. - - * cp-pt.c (unify): Deleted unreachable code. - - * 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. - - * 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-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. - -Tue Nov 5 13:46:06 1991 Tom Wood (wood at dg-rtp.dg.com) - - * sdbout.c (sdbout_init, sdbout_symbol): Don't reverse the - permanent types. - - * cccp.c (make_definition): Eliminate previous change associated - with pretty-printing strings passed to do_define. - (pass_thru_directive): Move pretty-printing here. - -Tue Nov 5 11:21:34 1991 Michael Meissner (meissner at osf.org) - - * 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. - -Tue Nov 5 09:54:08 1991 Tom Wood (wood at dg-rtp.dg.com) - - * tm-m88kv4.h, t-m88kv4, x-m88kv4: Renamed from *m88ksysv4*. - -Tue Nov 5 06:36:07 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * cse.c (simplify_relational_operation, unsigned comparisons): Don't - simplify unless mode of operand is a MODE_INT mode. - - * 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. - - * gstddef.h: Renamed from stddef.h. - * Makefile.in (USER_H, install-common-headers): Install gstddef.h as - stddef.h. - -Mon Nov 4 17:54:04 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * 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). - - * 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. - - * global-alloc.c (find_reg): If all_regs_p, use ALL_REGS, not - GENERAL_REGS. - * local-alloc.c (block_alloc): Likewise. - - * genoutput.c (gen_expand): Record all the same information as - for a DEFINE_INSN. - - * 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 Nov 4 16:29:01 1991 Mark Eichin (eichin at cygnus.com) - - * cp-pt.c (overload_template_name): use build_lang_decl so that - lang_specific gets initialized properly. - - * cp-parse.y (LC): use make_lang_type to produce complete node, - not just make_node. - - * cp-ptree.c (print_lang_type): return if TYPE_LANG_SPECIFIC is - null, since everything printed here is in lang_specific. - -Mon Nov 4 16:17:48 1991 James Van Artsdalen (james at raid.dell.com) - - * x-i386v4: New file. - * configure (i386-sysv4): Use it. - -Mon Nov 4 12:36:09 1991 Michael Meissner (meissner at osf.org) - - * gcc.texinfo (BRANCH_COST): Move so BRANCH_COST formats correctly. - -Mon Nov 4 08:03:44 1991 Tom Wood (wood at dg-rtp.dg.com) - - * x-m88kdgux, x-m88ksysv4: Don't set XCFLAGS. - - * jump.c (jump_optimize): Change "if (...) x = 0;" to use a - store-flag insn if jumps are expensive (BRANCH_COST). - - * 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. - -Mon Nov 4 07:19:36 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * romp.md (movdf, movdi): When splitting, ensure we put in a CLOBBER - for a scratch register, when needed. - - * tm-a29k.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE): Define to be - compatible with those chosen by EPI. - - * tm-rs6000.h (REG_ALLOC_ORDER): Put CR registers before integer regs. - - * cse.c (simplify_relational_operation): Fix error in last change. - -Sun Nov 3 12:22:41 1991 Torbjorn Granlund (tege at sics.se) - - * longlong.h (m68020 count_leading_zeros): Fix typo in previous - change. - -Sun Nov 3 09:25:39 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * cse.c (simplify_relational_operation, cases GEU, LTU, GTU, LEU): - Simplify comparisons that have known values such as (unsigned) x < 0. - - * 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. - - * 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. - - * reload1.c (spill_hard_reg): Correct typo in previous change; had - test backwards. - - * 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. - - * recog.c (validate_replace_rtx_1): Use rtx_equal_p to see if - things are equal. - - * 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. - -Sun Nov 3 07:26:57 1991 Ron Guilmette (rfg at ncd.com) - - * 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. - - * Makefile.in (install-*): Force removal of previously installed files - before installing new ones (in case they got set to read-only somehow). - - * Makefile.in (uninstall): Remove protoize.1 and unprotoize.1 man - page files. - -Sat Nov 2 22:42:06 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.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. - -Sat Nov 2 22:02:45 1991 Ken Raeburn (raeburn at cygnus.com) - - * cp-search.c (push_class_decls): Added missing argument to - overload_template_name. - - * cp-ptree.c (print_lang_decl): Don't print lang-specific fields - for FIELD_DECL, since it has only the shorter flags structure. - - * cp-class.c (finish_struct_method): Fixed comment typo. - - * 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. - -Sat Nov 2 17:00:22 1991 Ron Guilmette (rfg at ncd.com) - - * 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 Nov 2 09:48:47 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * caller-save.c: Don't include reload.h; not used. - * Makefile.in (caller-save.o): Likewise. - - * 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. - - * rtlanal.c (modified_between_p, find_last_value): New functions; not - yet used. - * rtl.h (find_last_value): Declare. - - * cse.c (simplify_binary_operation): Remove comparison cases from - here; now in simplify_relational_operation. - -Fri Nov 1 19:04:50 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * 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. - - * mips.md (movsi_ulw, movsi_usw): Call mips_count_memory_refs if - needed. - -Tue Oct 29 05:14:27 1991 Ken Raeburn (raeburn at cygnus.com) - - * cp-parse.y (template_def): Don't pass bogus declspecs to - start_decl. - - * cp-pt.c (tsubst, case FUNCTION_DECL): Build new argument list - from method template, instead of retaining the old one. - -Tue Oct 29 00:44:51 1991 Ken Raeburn (raeburn at cygnus.com) - - * cp-class.c (finish_struct): Skip type fields if they are - template names bound to their expansions. - - * 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. + * cccp.c (do_line): Fix typo. - * cp-decl2.c (grokclassfn): Include length of class name when - creating assembler name for destructor; otherwise ambiguities - result. + * configure (decoding args): Delete excess fi. - * 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. +Sat Mar 7 09:29:41 1992 Michael Meissner (meissner@osf.org) - * cp-method.c (fndecl_as_string): Print constructor_name of type - for constructor and destructor, not type name. + * mips.h (CONST_COSTS): Complete last change. - * 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. + * mips.md (movsi_ulw, movsi_usw): Complete last change. - * 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. +Sat Mar 7 07:28:03 1992 Tom Wood (wood at dg-rtp.dg.com) - * 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. + * config.sub (*-dolphin, -triton*): New vendor/OS. + * configure (m88k-dolphin-trition): New alternative. + * m88kdolph.h: New file. + * xm-m88kdolph.h: New file. - * cp-tree.def: Fix up some comments relating to PT-related types. +Sat Mar 7 10:07:44 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) - * tree.c (init_tree_codes): Now void, in agreement with decl - elsewhere. + * make-l2.com: Do not allow the user to run this with gcc 1.nn. -Mon Oct 28 22:07:44 1991 Jeffrey A Law (law at b117.super.org) + * make-gcc.com: Use the new compiler to build libgcc2.c (through + make-l2.com). - * output.h (current_function_uses_pic_offset_table): Declare here - so that out-*.c can see it. +Sat Mar 7 05:36:16 1992 K. Richard Pixley (pixley@nutrimat.gnu.ai.mit.edu) - * 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. + * Makefile.in: added the exec_prefix variable for installing host + dependent programs and libraries. - * 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. +Sat Mar 7 00:09:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Oct 28 10:02:36 1991 Michael Meissner (meissner at osf.org) + * genextract.c (mybzero): New fn. Used instead of bzero. - * 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 (all): Indirect to all-internal. + (all-internal): New rule, following where cross-make gets inserted. - * out-mips.c (g_switch_set, g_switch_value): Delete these global - variables, since toplev.c now defines them. + * vms.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE): Defined. - * 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. + * protoize.c: Don't declare fork or vfork. - * tm-decrose.h (ASM_SPEC, LINK_SPEC): Remove -G32. + * i860.c (sfmode_constant_to_ulong): Use REAL_VALUE_FROM_CONST_DOUBLE. - * tm-decstatn.h (ASM_SPEC, LINK_SPEC): Remove -G32. + * gcc.c (handle_braces): Verify actual suffix length matches + desired. - * tm-iris.h (ASM_SPEC, LINK_SPEC): Remove -G32. + * hp800.h (GO_IF_LEGITIMATE_ADDRESS): Add parens for clarity. - * tm-mips-bsd.h (LINK_SPEC): Remove -G32. + * c-typeck.c (pointer_int_sum): Handle intop which is sum or diff + of arguments with different types. - * tm-mips-news.h (ASM_SPEC, LINK_SPEC): Remove -G32. + * c-typeck.c (PUSH_SPELLING): If no buffer yet, use xmalloc. - * tm-mips-sysv.h (LINK_SPEC): Remove -G32. + * m68k.c (output_dbcc_and_branch): Use \n\t between pair of insns. -Mon Oct 28 07:11:28 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * sparc.h (TARGET_MEM_FUNCTIONS): Defined. - * combine.c (try_combine): Don't delete unused SETs if they have - side-effects. +Fri Mar 6 18:48:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Makefile.in, t-i386sco: Had both LIMIT_H and LIMITS_H; latter - is correct. + * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Don't call ON_EXIT here. + * crtstuff.c, libgcc2.c (__do_global_ctors): Call it here. - * 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. + * i386sco.h (HAVE_ATEXIT): Defined. - * Makefile.in (LANGUAGES): Use `objective-c' instead of `class-c' - to avoid confusion. + * collect2.c (my_exit, main): Avoid dereferencing 0. - * gcc.c (xmalloc, xrealloc): Really make non-static. + * stmt.c (expand_decl_init): Don't alter TREE_USED of the variable. -Mon Oct 28 00:21:56 1991 Michael Meissner (meissner at osf.org) +Fri Mar 6 18:24:39 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * tm-mips.h (CC1_SPEC): Convert -gline into -g1. + * mot3300.h (SIZE_TYPE): Define as "unsigned int". -Sun Oct 27 17:15:48 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * combine.c (make_extraction): STRICT_ALIGNMENT is now non-zero if + true, instead of relying on whether it is defined or not. + * c-typeck.c, cp-typeck.c (build_c_cast): Likewise. + * stor-layout.c (layout_type) Likewise. + * expr.h (MUST_PASS_INSTACK_BAD_ALIGN): Likewise. + * expr.c: Set default value of SLOW_UNALIGNED_ACCESS to zero. + (move_by_pieces, move_by_pieces_ninsns, emit_push_insn): + SLOW_UNALIGNED_ACCESS and STRICT_ALIGNMENT now true if non-zero. + * function.c (assign_stack_local, assign_outer_stack_local): + Remove turned-off code using STRICT_ALIGNMENT. + * config/*.h: Change representation of STRICT_ALIGNMENT and + SLOW_UNALIGNED_ACCESS. + * gmicro.h (SLOW_UNALIGNED_ACCESS): Set to 1. - * 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 (cleanconfig): Remove obsolete reference to + file aux-output2.c. -Sun Oct 27 06:15:24 1991 Ron Guilmette (rfg at ncd.com) + * c-lex.c (yylex): Don't make out-of-range shift for very wide chars. - * configure: Always remove any files before we write them in case - the old copy was read-only. +Fri Mar 6 18:07:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * toplev.c (compile_file): No -Wunused warnings for static vars. - * genemit.c (gen_exp): Write integer using %u instead of %d to - avoid warnings from some compilers when most negative int is written. + * collect2.c (main): Don't handle -B, -b, -V, -m or -f. + collect2 gets only the options that ld would get. + Process COLLECT_GCC_OPTIONS envvar. + (savestring): New function. - * 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. + * genattrtab.c: Revert to previous version + because the new one uses vsprintf and it isn't trivial + to avoid it. + +Fri Mar 6 17:26:09 1992 Tom Wood (wood at dg-rtp.dg.com) + + * m88k.md ( expressions): Don't rely on the assembler being able + to handle constant expressions (Dolphin Triton88 can't). + + * genattrtab.c: Add a hash table mechanism to share RTL and strings. + (attr_hash_add_rtx, attr_hash_add_string): New functions. + (attr_rtx): New function to generate a shared RTL. + (attr_printf, attr_printf): New functions to generate a shared string. -Sun Oct 27 06:14:45 1991 Jeffrey A Law (law at b115.super.org) - - * 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. - - * 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. - - * reload.c (find_reloads): Do not win in 's', 'i', or 'g' cases - if the constant does not satisfy LEGITIMATE_PIC_OPERAND_P. - - * tm-m68k.h (LEGITIMATE_PIC_OPERAND_P): New macro. - - * out-m68k.c (symbolic_operand): New function. Copied from - tm-sparc.h. - - * gcc.texinfo: Document LEGITIMATE_PIC_OPERAND_P. + * genattrtab.c: Extend the treatment of DEFINE_ATTR to allow a CONST + expression as the default value, indicating a constant attribute. + (struct attr_desc): Add `is_const' field. + (check_attr_test): Add `is_const' parameter. Disallow use of insn + attributes and MATCH_OPERAND in a constant expression; allow + SYMBOL_REF in a constant expression. All callers updated. + (chech_attr_value): Allow a SYMBOL_REF as a constant expression. + (convert_const_symbol_ref): New function that converts a constant + SYMBOL_REF to a COND that explictly tests each value. + (make_canonical): Use `convert_const_symbol_ref' for constant + SYMBOL_REF expressions. + (make_length_attrs, find_attr, make_internal_attr): Mark `is_const' + as false. + (gen_attr): Get rid of a top-level CONST node and mark `is_const' true. + (walk_attr_value): Use of a constant SYMBOL_REF does not set + `must_extract' or `must_constrain'. + (write_attr_get): Deal with constant attributes. -Sat Oct 26 07:51:40 1991 Michael Meissner (meissner at osf.org) +Fri Mar 6 16:14:27 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * mips.md (movsi_usw): Remove invalid '&' constraint on a memory - address. + * cccp.c (main, path_include) [__MSDOS__]: Handle MSDOS syntax in path. -Sat Oct 26 07:16:15 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * expr.c (store_expr): Fix bugs in last change. - * flow.c (find_basic_blocks): Build label_value_list as list of - CODE_LABELs, not LABEL_REFs. + * objc-actions.c (receiver_is_class_object): Fix typos. - * fold-const.c (optimize_bit_field_compare): Call fold on result - of build1 call that converts integer to proper mode. + * ecoff-cmp: File deleted. - * 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. + * config.sub (3b1): Convert to m68000, not m68k. -Sat Oct 26 06:48:59 1991 Jeffrey A Law (law at b115.super.org) + * cccp.c (do_line): Handle "syetem header" indicator flag `3'. - * tm-sun2.h, tm-sun3.h (ASM_SPEC): Pass "-k" to the assembler if - -fpic or -fPIC. + * t-i386isc: New file. + * configure (i386-*-isc*): Use the new file. + * i386isc.h (LIB_SPEC, ENDFILE_SPEC): Use crtbegin.o/crtend.o. -Fri Oct 25 20:43:54 1991 Michael Meissner (meissner at osf.org) +Fri Mar 6 14:37:25 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - * tm-mips.h (CC1_SPEC): Remove special rules for -g0, -g1, etc., now - that GCC supports these directly. + * expmed.c (expand_dec): Fix comment. - * configure (dec-mips-osf): DECstation running OSF/rose uses - t-decrose, not t-mips. +Fri Mar 6 09:49:54 1992 Tom Wood (wood at dg-rtp.dg.com) - * x-decrose (COFF_CC, COFF_CFLAGS, WARNINGS): Delete. - (libdir, bindir, mandir): Put GCC 2 in the /usr/ccs/gcc tree. + * m88k.c (emit_move_sequence): Check reload_in_progress in + addition to reload_completed. - * x-mips (comment): Delete a comment about cross compilers that is - no longer true. + * m88k.md (cpu attribute): Fix. - * t-decrose (coff-obstack.o): Delete rule that is no longer used. +Fri Mar 6 06:24:08 1992 Michael Meissner (meissner@osf.org) -Fri Oct 25 18:46:51 1991 Mark Eichin (eichin at cygnus.com) + * mips.h (CONST_COSTS): Fix eliminate_constant_term calling + sequence. - * cp-dem.c (cp-demangle): added support for templates, static - data, and the new (correct) mangling for destructors. + * mips.c (simple_memory_operand): Move offset variable for calling + eliminate_constant_term into a local block by the call. + (mips_address_cost): Ditto. -Fri Oct 25 16:18:18 1991 Mark Eichin (eichin at tweedledumber.cygnus.com) + * mips.md (movsi_ulw, movsi_usw): Fix eliminate_constant_term + calling sequence. - * 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. +Fri Mar 6 00:30:10 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Oct 25 02:15:12 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * fixincludes: Don't fix comments on #endif, #else. + It made the egrep string too long. - * SYSCALLS.c, protoize.c: Changes from rfg. - waiting for real changelog entries from rfg. + * expr.c (store_expr): Handle size mismatch copying from string cst. - * gcc.c (xmalloc, xrealloc): No longer static. +Thu Mar 5 22:11:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Oct 24 19:21:04 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * objc-actions.c (receiver_is_class_object): Clean up syntax. - * fold-const.c (optimize_bit_field_compare): - Use build1 rather than convert, to avoid warnings. + * sun386.h (ASM_GENERATE_INTERNAL_LABEL): Start with a star. - * final.c (output_source_line): Fix if-scope for DBX fmt. + * reload1.c (reload): Change `=' to `==' in `if' + inside REGISTER_CONSTRAINTS conditional. -Thu Oct 24 13:29:34 1991 Tom Wood (wood at dg-rtp.dg.com) +Thu Mar 5 21:29:33 1992 Michael Tiemann (tiemann@mole.gnu.ai.mit.edu) - * gcc.c gen*.c: Don't make fancy_abort static. + * cp-parse.y (yyprint): Make declarations declare __inline + consistently. -Thu Oct 24 12:07:23 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Thu Mar 5 18:34:32 1992 Jeffrey A. Law (law@mole.gnu.ai.mit.edu) - * combine.c (simplify_comparison): When narrowing a comparison - and removing ANDs, make it unsigned. + * m68k.md (dbra patterns): Fix NO_ADDSUB_Q ifdef conditionals. + Fix location of comment regarding use of REG_NOTES in dbra insns. -Thu Oct 24 08:02:04 1991 Ken Raeburn (raeburn at cygnus.com) +Thu Mar 5 18:30:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * Makefile.in (libgcc.a): If $(LIBGCC1) is empty, ignore it. + * cross-make (LIBGCC1): Make definition empty. - * 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. - - * cp-lex.c (do_identifier): Don't try looking up fields in base - classes of UNINSTANTIATED_P_TYPE. - - * 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. - - * cp-ptree.c (print_lang_decl): For UNINSTANTIATED_P_TYPE, show - template as well as parameters. - - * 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. - - * cp-pt.c (uses_template_parms): Handle ADDR_EXPR. - (end_template_decl): For function with non-null context, pop class - binding level. - -Thu Oct 24 06:57:28 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * a29k.md, romp.md, rs6000.md (movdi, movdf, movti): Handle case of - reg-reg copy with overlapping registers correctly. - - * out-rs6000.c (ccr_bit, case NE): Fix typo in bit number. - (output_epilog): Must restore stack using backchain if alloca called. - - * romp.md, rs6000.md (extendxxyy2, zero_extendxxyy2): Use DEFINE_EXPAND - to force operand to register; DEFINE_INSN allows memory (better cse). - - * rs6000.md (ffssi2): New patterns. - (maskir): Add patterns to use maskir instructions. - - * tm-a29kunix.h (TARGET_DEFAULT, CPP_SPEC): Default to 29050. - - * 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. - -Wed Oct 23 17:48:43 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * 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. +Thu Mar 5 17:48:38 1992 Torbjorn Granlund (tege@wombat.gnu.ai.mit.edu) - * 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. + * reload.c (find_reloads): Correctly detect different operand + constraint alternatives (by changing subscription from 0 to loop + variable i). -Wed Oct 23 16:38:26 1991 Torbjorn Granlund (tege at hal.gnu.ai.mit.edu) +Thu Mar 5 16:58:38 1992 Tom Wood (wood at dg-rtp.dg.com) - * gnulib2.c (__ashrdi3): Compute sign extension shift count from - machine word size instead of using 31. + * Makefile.in (libsubdir): Rename $(libdir)/gcc gcc-lib. + * gcc.c (STANDARD_EXEC_PREFIX): Ditto. -Wed Oct 23 14:25:04 1991 Michael Meissner (meissner at osf.org) + * c-typeck.c: Implement a spelling stack to store and print + compoment names for error messages. - * tm-mips.h (PREFERRED_DEBUGGING_TYPE): Unless otherwise defined, - set to SDB_DEBUG. + (push_{string,member_name,array_bounds}): New functions. + (SPELLING_DEPTH, RESTORE_SPELLING_DEPTH, SAVE_SPELLING_DEPTH): New + macros to save and restore the spelling stack. + (digest_init, process_init_constructor): Use these. - * tm-decrose.h (PREFERRED_DEBUGGING_TYPE): Define to DBX_DEBUG. + (spelling_length, print_spelling): New functions. + (error_init, pedwarn_init): Use them. - * out-mips.c (override_options): Don't override debugger choice now - that PREFERRED_DEBUGGING_TYPE is provided. + (get_spelling): New function. + (convert_for_assignment): Use `get_spelling' to interpret messages + that are based on the spelling stack. + (process_init_constructor): Pass `&initialization_message'. -Wed Oct 23 07:25:32 1991 Tom Wood (wood at dg-rtp.dg.com) +Thu Mar 5 15:22:22 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * sdbout.c (sdbout_symbol/FUNCTION_DECL, sdbout_toplevel_data, - sdbout_end_epilogue): Use DECL_ASSEMBLER_NAME to avoid link-time - multiple definitions. + * expr.c (init_expr): Initialize forced_labels to zero. + (save_expr_status): Saved forced_labels away and initilize to + zero. + (restore_expr_status): Restore value of forced_labels. + * function.h (struct function): Add forced_labels field. + * integrate.c (function_cannot_inline_p): Reject function with + nonzero forced_labels. -Tue Oct 22 15:06:31 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Thu Mar 5 15:08:47 1992 Tom Wood (wood at dg-rtp.dg.com) - * reload1.c (reload): For now, we must always have a frame pointer - if a function calls alloca and EXIT_IGNORE_STACK is non-zero. + * regclass.c (fix_register): Use decode_reg_name. + * stmt.c (expand_asm_operands): Ditto. + * varasm.c (decode_reg_name): Ignore a leading '#'. - * 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. + For RMS: + * cp-call.c (build_method_call): Delete now redundant tests of + TREE_EXTERNAL before calls to assemble_external. + * cp-init.c (build_virtual_init, build_builtin_call): Ditto. + * cp-method.c (hack_identifier): Ditto. + * cp-typeck.c (build_component_ref, build_function_call_real): Ditto. + * c-parse.y (primary): Ditto. -Tue Oct 22 10:25:29 1991 Tom Wood (wood at dg-rtp.dg.com) +Thu Mar 5 13:49:29 1992 Jeffrey A. Law (law@wombat.gnu.ai.mit.edu) - * tm-m88kdgux.h (PREFERRED_DEBUGGING_TYPE): Use it. - * tm-m88k.h (OVERRIDE_OPTIONS): Don't override write_symbols. + * expr.c (move_by_pieces_ninsns): Finish Mar. 4 change. Do not + choose a mode which has a size greater than MOVE_MAX. - * out-m88k.c (m88k_output_{prologue,epilogue}): Renamed. + * m68k.c: Change all occurances of "mov." to "move%.l" so that + ASM_OUTPUT_OPCODE can choose the right syntax. + * m68k.md: Change "mov." to "move." in comments for consistency. -Tue Oct 22 00:51:48 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Mar 5 10:04:52 1992 Tom Wood (wood at dg-rtp.dg.com) - * c++: New shell script. + * stmt.c (warn_if_unused_value): Handle NON_LVALUE_EXPR. - * gcc.c (default_compilers): Treat .ii files as cpp'd C++. + * limits.h (_LIMITS_H_): Correct misspellings. - * varasm.c (make_function_rtl): Don't alter DECL_ASSEMBLER_NAME. + * Makefile.in ("if" and "["): Romp, 4.3 BSD, and Ultirx systems + fail when the condition is false. Change troublesome instances to + either use "case" or use '-' as a prefix to the compilation rule. - * toplev.c (main): Use PREFERRED_DEBUGGING_TYPE if support - more than one format. +Thu Mar 5 09:08:11 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) -Mon Oct 21 23:08:02 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rs6000.md (lshrdi3): Add earlyclobber to first alternative. - * c-decl.c (grokdeclarator): Fix error message for long float. - -Mon Oct 21 16:55:31 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * 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. - - * 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. - - * reorg.c (steal_delay_list_from_target): Don't take an insn from - the fallthrough thread of an annulled branch insn. - -Mon Oct 21 16:55:08 1991 Tom Wood (wood at dg-rtp.dg.com) - - * configure (m88k targets): Complete last change. - -Mon Oct 21 16:06:25 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * integrate.c (copy_rtx_and_substitute): When making copy of frame, - round size to keep substituted frame pointer aligned. - (CEIL_ROUND): New macro. - -Mon Oct 21 15:16:17 1991 Michael Meissner (meissner at osf.org) - - * 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. - -Mon Oct 21 15:08:15 1991 Tom Wood (wood at dg-rtp.dg.com) - - * 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. - - * 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. - - * 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. + * explow.c (stabilize): Copy RTX_UNCHANGING_P and MEM_VOLATILE_P. - * 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. +Thu Mar 5 06:05:31 1992 Michael Tiemann (tiemann@cygnus.com) -Sun Oct 20 06:39:54 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cp-parse.y (.pushlevel): Stack and unstack STMT_DECL_MSG. - * combine.c (simplify_comparison, case PLUS): Only do simplification - for equality comparison due to overflow problems. + * cp-parse.y (unary_expr): Add EXTENSION support. + ({maybe_label,label}_decls, label_decl): Define these rules as from + c-parse.y. + * cp-decl.c ({lookup,shadow,define}_label): Update from c-decl.c. + * gplus.gperf: Add EXTENSION and LABEL. + * cp-hash.h: Remade using gperf. - * gen*.c: Remove "void *" and uses of size_t added by recent change. +Wed Mar 4 21:38:41 1992 Jeffrey A. Law (law@wombat.gnu.ai.mit.edu) - * reload.c (find_reloads): If "&" given without any registers, - turn off earlyclobber, in addition to giving error. + * expr.c (move_by_pieces): Do not choose a mode which has a size + greater than MOVE_MAX. - * Makefile.in (STAGE_GCC): Deleted. - (STAGESTUFF): Add gcc (from STAGE_GCC) and gcc-cross. +Wed Mar 4 23:24:25 1992 Per Bothner (bothner@cygnus.com) -Sun Oct 20 04:37:21 1991 Michael Tiemann (tiemann at cygnus.com) + * cp-class.c, cp-decl.c, cp-decl2.c, cp-init.c, cp-lex.c, + cp-method.c, cp-typeck.c: Casts from enum to int that + are necessary (not alas not quite sufficient) to get + cc1plus to compile using system cc on Sony NewsOS 3.2 + (presumably Portable C Compiler). - * 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. +Wed Mar 4 22:05:39 1992 Michael Tiemann (tiemann@cygnus.com) - * cp-cvt.c (convert_pointer_to): Test if PARENT is TREE_VEC - before testing IS_AGGR_TYPE. + * cp-type2.c (build_functional_cast): Fix typo in code searching + down type lattice looking for constructor. -Sun Oct 20 00:40:47 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Mar 4 16:52:21 1992 Jim Wilson (wilson@cygnus.com) - * gcc.c (link_command_spec): -collect converts to -c. + * gstdarg.h: Include va-sparc.h on sparc systems. Delete now + obsolete `#ifndef __sparc__'. + * va-sparc.h (va_start): Provide alternate definition when + included via stdarg.h. Delete obsolete comment. + (va_arg): Add missing set of parentheses. - * toplev.c (main): Support -gstabs and -gcoff. Fix args to strncmp. +Wed Mar 4 15:21:20 1992 David J. MacKenzie (djm@wookumz.gnu.ai.mit.edu) -Sat Oct 19 21:51:03 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * fixincludes: Make egrep pattern more general. Check for + additional special case problems in Ultrix, News-OS, and IRIX. - * 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. +Wed Mar 4 15:15:45 1992 James Van Artsdalen (james at bigtex.cactus.org) -Sat Oct 19 17:30:23 1991 Michael Meissner (meissner at osf.org) + * i386.c (function_epilogue): Don't make a special case for + current_function_returns_struct: this is done via + current_function_pops_args. - * 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. + * sun386.h (DATA_SECTION_ASSM_OP): Fix typo in undef. -Sat Oct 19 11:59:55 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Mar 4 14:21:37 1992 David J. MacKenzie (djm@wookumz.gnu.ai.mit.edu) - * tm-sun3.h, tm-sparc.h (WORD_SWITCH_TAKES_ARG): - Check for Tdata as well as target. + * fixincludes, fixinc.svr4: Only change #else and #endif at the + beginnings of lines, aside from whitespace, so it doesn't change + them within comments. - * c-decl.c (grokdeclarator): Don't warn for array of incomplete elt. +Wed Mar 4 09:48:21 1992 Michael Tiemann (tiemann@mole.gnu.ai.mit.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. + * cp-method.c (build_decl_overload): Braino in handling of DELETE + (NEW was handled correctly). - * reload.c (find_reloads): Warning or error for misuse of `&'. - * toplev.c (warning_for_asm): New function. +Wed Mar 4 09:14:57 1992 Jeffrey A. Law (law@wombat.gnu.ai.mit.edu) - * t-i386sco: New file. - * x-i386sco: Add -Di286 to CC, OLDCC. - (LIMIT_H): Moved to t-i386sco. + * Makefile.in (install-man): Install the g++ manual page. -Sat Oct 19 09:08:11 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * m68k.md (dbCC peepholes): Two new peepholes to recognize cases + where a compare/branch can be done (for free) as part of a dbCC + insn. This turns jCC;dbf into dbCC;jCC (the jCC is now outside the + inner part of the loop). - * gcc.c: Add missing extern declarations deleted by last change. - (xrealloc, xmalloc): Don't declare as void *; non-ANSI compilers - can't handle it. + * m68k.c (valid_dbcc_comparison_p): New function which returns TRUE + if the given comparison is a valid comparison operator for the dbCC + instruction. + (output_dbcc_and_branch): New function to output a dbCC;jCC + instruction sequence (including possible counter adjustments in + SImode) -Sat Oct 19 08:26:13 1991 Ron Guilmette (rfg at ncd.com) +Wed Mar 4 04:32:11 1992 Michael Tiemann (tiemann@cygnus.com) - * tree.h: Fix spelling error in comment. + * cp-dem.c (optable): Add entry for `operator='. - * tree.def, cp-parse.y: Change comments that refer to LET_STMT nodes to - refer to BLOCK nodes. + * cp-decl.c (finish_function): Emit a jump to RETURN_LABEL if + CLEANUP_LABEL is non-zero. (Suggested by niklas@appli.se) - * 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. +Wed Mar 4 04:28:10 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Oct 18 16:58:12 1991 Eric Youngdale (youngdale at v6550c.nrl.navy.mil) + * libgcc1.c (perform_lesf2): Condition tested was backwards. - * make-cc1.com: Finish changeover from cplus-* to cp-*. +Wed Mar 4 03:11:48 1992 Ken Raeburn (Raeburn@Cygnus.COM) -Fri Oct 18 16:57:37 1991 Ron Guilmette (rfg at ncd.com) + * cp-pt.c (overload_template_name): Extra pushlevel isn't needed; + omit it. + (undo_template_name_overload): Don't pop the level that isn't pushed + any more. - * tm-svr4.h: Delete lines duplicated due to transmission problems. - -Fri Oct 18 16:55:53 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * jump.c (unsigned_condition, signed_condition): New functions. - - * configure (vax): Set tm_file to tm-vax.h so "configure vax-dec-bsd" - works. - - * 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)). - - * combine.c (expand_compound_operation): Correctly handle case where - we have a ZERO_EXTRACT that extends beyond the bounds of the object. - - * global-alloc.c (mark_elimination): No longer have FORBIDDEN_REGS as - argument. - * reload1.c (reload): Don't pass FORBIDDEN_REGS to mark_elimination. - - * 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-class.c (pushclass): Don't bother processing unnamed tags. + (popclass): Likewise. - * 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-init.c (build_vec_delete): If pointer is null, don't do + anything. - * cp-ptree.c (print_lang_type): Handle UNINSTANTIATED_P_TYPE. + * cp-parse.y (member_init): Accept base class names that are + template type names. - * cp-tree.h (push_overload_decl): Declare here, not in - cp-decl.c. - (TEMPLATE_TYPE_* macros): Delete unused (and now incorrect) - versions. + * cp-decl.c (start_decl): Don't prepend decl of `this' to arg lists + of methods of uninstantiated types. -Mon Oct 14 14:30:32 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * cp-pt.c (instantiate_template): If no text has been saved away, + don't try to parse it; an external reference will result. - * integrate.c (expand_inline_function): Fix typo from last edit, - where TYPE_MODE was applied to an argument, not the type of an - argument. + * cp-parse.y (yyprint): Declare this at head of file. - * cse.c (canon_hash, SUBREG case): Add cast which is needed by some - compilers. + * cp-pt.c (instantiate_class_template): If the template specified + hasn't been defined, don't reject the instantiation; make it a + normal undefined type. -Mon Oct 14 07:59:50 1991 Tom Wood (wood at dg-rtp.dg.com) + * cp-parse.y (template_def): Try to recover from errors more + gracefully. - * 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 Mar 3 15:37:35 1992 Tom Wood (wood at dg-rtp.dg.com) - * 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. + * protoize.c (munge_compile_params): Compute the maximum number of + params (`temp_parms' length) safely. -Sat Oct 12 00:30:23 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * dwarfout.c (const_value_attribute): Punt quasi-constant values. + (location_or_const_value_attribute): Ditto. - * Makefile.in (.SUFFIXES): Rule added. + * Makefile.in (install-common): Install the cross compilation + driver program even when $(tooldir)/bin doesn't exist. - * 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 Mar 3 14:39:55 1992 James Van Artsdalen (james at bigtex.cactus.org) - * configure: Default srcdir from dir in which configure is found. + * i386.h (enum reg_class): Undo Jan 17 change that deleted class BREG. + (REG_CLASS_NAMES,REG_CLASS_CONTENTS,REGNO_REG_CLASS): Likewise. + (REG_CLASS_FROM_LETTER): Likewise. + * i386.c (regclass_map): Likewise. - * i860.md (floatsidf2): Rewrite to be independant of host machine. - (divdf3, divsf3): New patterns. + * svr4.h (LINK_SPEC): Don't do -z or -t here: it's already in + link_command_spec. But do handle -G. - * tm-i860.h (ASM_DECLARE_FUNCTION_NAME): Macro deleted. - (ASM_OUTPUT_FUNCTION_PREFIX): Macro added. + * i386.md (casesi): Rewrite pattern to reflect the way to emitted + code actually works. - * stmt.c (pushcase, pushcase_range, expand_end_case): - Don't give "unreachable code" warning for a USE. +Tue Mar 3 09:59:15 1992 Jeffrey A. Law (law@super.super.org) - * tm-i386.h (HARD_REGNO_MODE_OK): Fp regs reject TFmode. + * m68k.md (dbra pattern in HImode): New pattern to match + decrement_and_branch insns when the loop counter is decremented in + HImode. -Fri Oct 11 16:43:37 1991 Tom Wood (wood at dg-rtp.dg.com) +Tue Mar 3 07:57:18 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * cse.c (find_comparison_args): Reject VOIDmode to avoid invalid - shift. + * rs6000.md (doz patterns): Add missing `I' constraint. -Fri Oct 11 14:30:31 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * reorg.c (mark_target_live_regs): A CALL_INSN livens all global regs. - * 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. + * vax.h (EXTRA_CONSTRAINT): New macro to select non-mode-dependent + MEM operands. + * vax.md (jlbc/jlbs): Use jbc/jbs if mode-dependent memory. + * vax.c (reg_or_nxmem_operand): Function deleted. - * 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 (do_store_flag): Swap comparison code when putting + constant arg second. - * print-rtl.c: New file, split from rtl.c. - * Makefile.in (print-rtl.o): New target. - (OBJS): Add that target. + * m68k.md (addhi3): Convert, e.g., 65535 to -1 before seeing if + we can use subqw. + (addqi3): Similarly for QImode constants - * 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. + * local-alloc (optimize_reg_copy_1): Renamed from optimize_reg_copy. + (optimize_reg_copy_2): New function. + (update_equiv_regs): Call optimize_reg_copy_[12]. -Fri Oct 11 14:30:43 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * combine.c (make_compound_operation, case AND): Turn SUBREG case + back on now that bug in i386.md has been fixed. + (simplify_comparison, case ASHIFT): If shifting low-order bit to + sign bit and doing equality comparison, convert to AND with low-order + bit (inequality case was already handled). + Also remove redundant test of CONST_OP in an earlier case. - * stmt.c (expand_anon_union_decl): Correctly handle anonymous - unions, whether in memory or registers. + * sun2o4.h (LINK_SPEC): No longer need -Bstatic with -g. - 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. + * m68k.c, m68k.h: Avoid %X% for most upper-case X since it means + something special to SCCS. - * tree.h: Declare savealloc. - * c-common.c: Delete now unnecessary cast of savealloc result. + * rs6000.md (type): Add new type, mtlr. + (function_unit branch): Add delay from mtlr to br. + (movsi): When moving to lr, type is "mtlr". -Fri Oct 11 10:06:09 1991 Tom Wood (wood at dg-rtp.dg.com) + * unroll.c (reg_dead_after_loop): Check for infinite loop by + counting JUMP_INSNs we follow. + Use GET_RTX_CLASS, reg_referenced_p, and single_set. - * cse.c (simplify_binary_operation): Fix typo in last change. + * expr.c (expand_increment): Set op0_is_copy when we are referencing + the low-order part of some value in a register. - * cp-*, gcc.texinfo, make-cc1.com, tree.c, undocumented: Change - cplus- to cp-. Rename cplus-parse.y to cp-parse.y. + * combine.c (force_to_mode): New arg REG; pass in recursive call. + If X has the same value as REG, use REG. + (make_field_assignment): Handle case when DEST and part of source + aren't the same, but are equal; pass destination to force_to_mode. -Fri Oct 11 07:48:40 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * m68k.md (addhi3): Generate addqw, subqw, or addw for + STRICT_LOW_PART versions the same way we handle the normal case. + (addqi3): Similarly for addqb, subqb, and addb. - * 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. + * genattrtab.c (write_test_expr, case MOD): Double `%' in printf call. + (write_eligible_delay): Internal attribute "*delay_type" is always + used literally; it has no suffix or prefix. + + * m68k.md, vax.md (sob): Rewrite inequality versions so that they + have a PLUS inside the comparison; combine cannot remove the PLUS + due to overflow considerations. -Fri Oct 11 07:29:33 1991 Ron Guilmette (rfg at ncd.com) +Tue Mar 3 07:56:30 1992 Eric Youngdale (youngdale at v6550c.nrl.navy.mil) - * 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. + * vms.h (L__main): Remove #include -Thu Oct 10 18:30:28 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * make-gcc.com: Call make-l2.com. - * gcc.c (default_compilers): Correctly handle new debugging - options, pass all -g* and -G* options. +Tue Mar 3 05:37:08 1992 Michael Tiemann (tiemann@cygnus.com) - * 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. + * stor-layout.c (layout_type): Handle OFFSET_TYPE. + * cp-tree.c (build_member_type): Deleted. + * cp-typeck.c, cp-decl.c, cp-init.c: All callers of + `build_member_type' now call `build_offset_type'. + * cp-typeck.c (convert_arguments): An argument that's an OFFSET_REF + must be resolved by `resolve_offset_ref'. The OFFSET_REF case in + expand_expr does not do the right thing for G++ yet. -Thu Oct 10 17:56:16 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cp-decl.c (grokdeclarator): Take CONSTP and VOLATILEP into account + when building METHOD_TYPEs. + (start_function): Ditto. - * 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. + * cp-method.c (build_decl_overload): Change interface to take DNAME + instead of NAME. Also, special-case handling of the default + operator new and operator delete for the std. signatures. + * cp-*.c: All callers changed. - * toplev.c (float_signal): Re-enable the signal after we catch it. + * cp-class.c (build_vtable_entry): Rewrite built-in limit check to + work on platforms where SIZETYPE is unsigned. - * cse.c (simplify_binary_operation): Add missing fp error handler - setup in DFmode case. +Mon Mar 2 08:49:16 1992 Tom Wood (wood at dg-rtp.dg.com) - * 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. + * m88k.c (m88k_debugger_offset): Delete warning. -Thu Oct 10 17:52:44 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * m88k.h (OVERRIDE_OPTIONS): Set `m88k_cpu' based on `target_flags'. - * c-decl.c (init_decl_processing): Turn off `alloca' for -ansi. - (c_decode_option): Handle -fbuiltin, -fno-builtin. + * m88k.md (cmpsi insn): Delete alternative that complements the + compare string for a swapped compare (it's wrong and unnecessary). + (cpu attribute): Define. -Thu Oct 10 17:42:03 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + From Jyrki Kuoppala: + * pc532.h, pc532-mach.h, pc532-min.h, xm-ps532-min.h: New files. + * configure (ns32k-pc532-mach*, ns32k-pc532-minix*): New alternatives. - * caller-save.c (emit_mult_restore): Initialize MAYBE_TEMPREG. + * dbxout.c (dbxout_type): Don't invoke dbxout_type_methods if + there are none. - * 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. + * vax.c (print_operand_address): Allow REG+TERM. - * sched.c (sched_note_set): Add missing parens. + * c-typeck.c (process_init_constructor): Reuse space for error + message strings. - * sparc.md: Delete unnecessary clobbers from all SCC patterns. +Mon Mar 2 02:54:48 1992 James Van Artsdalen (james at bigtex.cactus.org) - * integrate.c (expand_inline_function): Correct handling of arguments - passed by invisible reference. + * seq386gas.h: New file, for Sequent using 386 & GAS. - * 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. + * xm-i386sco.h: New file. -Wed Oct 9 15:55:42 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * optabs.c (ldexp): New function. Used if host ldexp() is broken. - * cccp.c (main): Update MAX_INCLUDE_LEN if GCC_EXEC_PREFIX gets into - the act. + * configure (i386-sequent-bsd*): Use seq386gas.h if --gas. + (i386-*-sco*): The host file is now xm-i386sco.h. - * xm-a29k.h: Change copyright message back to GPL version 2. - * xm-a29k-ultra.h: Use GPL version 2 copyright. + * i386.md (SImode and HImode logical compare): If we are only + testing one byte of a mem, use a byte test opcode. + (bit test patterns): Likewise when emitting test opcodes. - * reload1.c (reload): Put array size in cast, to prevent compiler - warning. +Sun Mar 1 14:47:31 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - * dwarfout.c (type_attribute): Check for ERROR_MARK nodes. + * longlong.h (_IBMR2 udiv_qrnnd): Switch off due to overflow problems. -Wed Oct 9 13:59:22 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sun Mar 1 11:19:55 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * toplev.c (float_signal): Reenable handler. + * combine.c (force_to_mode): New function. + (make_field_assignment): Rework code that handles fixed-position + fields to make it both much more general and much simpler. - * configure: Comment out various options not yet updated. + * m68k.md: Add missing insns for using byte operations with + STRICT_LOW_PART; add was missing commutative equivalent and + most operations other than add and subtract were missing. - * cp-*.c, cp-*.h: Renamed from cplus-*.[ch]. - * Makefile.in: Renaming here also. + * varasm.c (assemble_start_function): Add missing arg to call to + dbxout_begin_function. - * 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. + * fold-const.c (const_binop): Make minor source change to work + around bug in IBM RT PC compiler. - * t-mips: Most of x-mips moved here. - * t-decrose: Likewise from x-decrose. +Sun Mar 1 05:01:34 1992 Michael Tiemann (tiemann@rtl.cygnus.com) - * xm-a29k-ult.h: Renamed from xm-a29k-ultra.h. + * cp-typeck.c (build_modify_expr): When wrapping NEWRHS in a + SAVE_EXPR, call `break_out_cleanups' first. - * Makefile. in (install-common): Don't handle `collect' specially. - It should be in EXTRA_PASSES if it is needed. +Sat Feb 29 23:19:20 1992 Jim Wilson (wilson@cygnus.com) - * cse.c (simplify_binary_expression): Use float handler for DF like SF. - Don't warn about traps; leave them for run time. + * reload.c (find_reloads): Reset preferred_class to NO_REGS after + substituting a reg_equiv_address for a pseudo reg. - * tm-hp9k320.h (SIZE_TYPE): New definition. - Note: this affects tm-3b1.h by inheritance. Not sure that's right. + * unroll.c (precondition_loop_p): Fix misplaced paren when checking + for MODE_FLOAT rtx. -Wed Oct 9 12:15:40 1991 Tom Wood (wood at dg-rtp.dg.com) +Sat Feb 29 13:59:54 1992 Michael Tiemann (tiemann@cygnus.com) - * 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. + * cp-typeck.c (build_modify_expr): To complete 24 Feb change, + COND_EXPRs must evaluate LHS in conditional slot if LHS has side + effects. Otherwise the SAVE_EXPRs in lhs will only be evaluated + once, even though they are referenced on both branches of the + conditional. -Wed Oct 9 03:55:21 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Feb 29 13:32:35 1992 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu) - * make-mips (BISONFLAGS): Assignment deleted. + * README.X11: Add warning to not use gas when compiling PIC code. - * 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. + * fixincludes: Allow TAB as well as SPC before symbols to change. + Don't change "sun" if it's part of a multiword name that contains + underscores. + Make intermediate dir, if needed, when doing special-case fixes. + Use previously fixed file, if it exists, as source for all special + fixes. Do less copying when making special fixes. + Ignore errors when chmod'ing a file that might not exist. + * fixinc.svr4: Preserve whitespace around "#" when fixing #else and + #endif. + Allow TAB as well as SPC before symbols to change. + Combine "sun" cases as in fixincludes. -Tue Oct 8 17:56:13 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Feb 29 11:10:55 1992 James Van Artsdalen (james at bigtex.cactus.org) - * c-decl.c (duplicate_decls): If redeclaring builtin as static, - replace the old decl. + * i386.md (movstrsi): Print opcode as "movsl" so that seq386.h can + change it into smovl. - * tm-seq386.h (HARD_REGNO_MODE_OK): Copy usual def into override def. +Sat Feb 29 09:15:51 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * tm-news.h (CPP_PREDEFINES): Get rid of invalid conditionals. - * tm-tower.h: Likewise. + * function.c (expand_function_end): Allocate rtl that points to + trampoline permanently. - * tm-gmicro.h (MODES_TIEABLE_P): Fix typo. + * reload1.c (gen_input_reload): If one operand of a PLUS is a MEM, + move it into a reg and add the other (makes code agree with comments). - * ns32k.md (rotrsi3): Fix typo `NEGATE' for `NEG'. + * explow.c (eliminate_constant_term): Rework so it does not directly + add integer values; call simplify_binary_operation instead. + Second arg is now pointer to rtx, not int. + Assume constant is always second operand of PLUS. + (memory_address): Pass rtx pointer to eliminate_constant_term. + * halfpic.c (half_pic_address_p): Likewise. + * mips.c (simple_memory_operand, mips_address_cost): Likewise. + (mips_debugger_offset): Likewise. + * expr.c (expand_expr, case PLUS_EXPR): Likewise. + Don't add INTVALs; use simplify_binary_operation instead. + Remove obsolete OLD_INDEXING code. + Put a MULT in the first operand of the PLUS. - * c-typeck.c (mark_addressable): Handle CONSTRUCTOR. - * expr.c (expand_expr): Handle addressable contructors. + * combine.c (combinable_i3pat): Don't combine if I3DEST is a hard + reg in a non-valid mode. -Tue Oct 8 14:42:56 1991 Tom Wood (wood at dg-rtp.dg.com) +Sat Feb 29 09:14:19 1992 Eric Youngdale (youngdale@v6550c.nrl.navy.mil) - * expmed.c (lshift_value): Ensure the shift amount is in range. + * vms.h (ASM_OUTPUT_COMMON): Use SIZE instead of ROUNDED bytes. + (DO_GLOBAL_CTORS_BODY): Do not call fflush(stdout). -Mon Oct 7 20:45:35 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * gcc.texi: Update GLOBAL[DEF,REF,VALUE] documentation. - * integrate.c (function_cannot_inline_p, save_for_inline_copying, - save_for_inline_nocopy, expand_inline_function, - output_inline_function): Use GET_RTX_CLASS. + * make-l2.com: Remove call to test_gcc2. - * listing: Remove RCS Author and Log fields. +Sat Feb 29 02:52:59 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * cccp.c (main): Rename envvars to CPLUS_INCLUDE_PATH and + OBJCPLUS_INCLUDE_PATH. - * longlong.h: Again fix same typo previously fixed Sept 5. + * m68k.h (TRANSFER_FROM_TRAMPOLINE): Use `move', not `mov'. -Mon Oct 7 17:28:23 1991 Michael Meissner (meissner at osf.org) +Fri Feb 28 19:39:09 1992 David J. MacKenzie (djm@wookumz.gnu.ai.mit.edu) - * xm-mips.h (MIPS): Define MIPS to 1 instead of nothing, so - mips-tfile will compile once again. + * fixincludes: Don't change symbols that already start with `_' + into `__symbol__'. Merge all of the sun* substitutions so they + don't fight each other. + Comment out junk after #elses and #endifs, to prevent warnings + when -pedantic is given. -Mon Oct 7 17:10:32 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Feb 28 13:42:05 1992 Jim Wilson (wilson@cygnus.com) - * cccp.c (main): Pedantically warn if no newline at end of file. - (finclude): Likewise. + * sched.c (schedule_insns): Don't update value of reg_live_length + when it is negative, because negative values are special. Earlier + fix Dec 17 disabled the fprintf call, but not the assignment. - * c-decl.c (grokdeclarator): funcdef_flag overrides parm level. + * unroll.c (copy_loop_body): After incrementing the base reg for a + split DEST_ADDR giv, must subtract the const_adjust from the base + reg to get its true current value. -Sun Oct 6 16:37:31 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * loop.c (maybe_eliminate_biv_1): When handling COMPARE, verify + that mult_val is positive, which makes the code match the comment, + and surrounding code. - * sparc.md (peephole for lo-sum and load df): Use output_move_double. + * sparc.c (legitimize_pic_address): Always test reload_completed + in addition to reload_in_progress. - * tree.h (DECL_BUILT_IN_NONANSI): New flag. - * c-decl.c (init_decl_processing): Set flag for `alloca'. + * sched.c (schedule_block): Don't reorder any USE insns at the end + of a function. Exclude them all from scheduling. - * 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. + * c-typeck.c (build_array_ref): Check for when `ar' is an + error_mark_node and don't emit a second error message for that node. - * out-sparc.c (output_move_double): Fix typo in test for using ldd. + * Makefile.in: Correct misc typos in comments or spacing. + (mostlyclean): Update names of files to delete. -Sun Oct 6 12:56:19 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * Makefile.in (install-man): Also install cccp man page. + (uninstall): Also delete cccp man page. Don't delete protoize and + unprotoize man pages twice. - * expr.c (expand_expr, case COND_EXPR): Rename var added in last - change; some C compilers don't like "optab optab;". + * Makefile.in (libgcc2.a): Delete unnecessary -fstrength-reduce -O + flags on gcc command lines, superseded by LIBGCC2_CFLAGS. -Sun Oct 6 09:26:55 1991 Michael Tiemann (tiemann at cygnus.com) + * Makefile.in (config.status): Verify that file does not exist + before printing an error and failing. Prevents problem with Sun's + KEEP_STATE feature. - * 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. +Fri Feb 28 05:15:58 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * 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. + * stmt.c (expand_computed_goto): Call emit_queue. - * 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. + * function.c (assign_parms): Don't generate convert whose operand + is register that is not valid in its mode. - * 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. + * reload.c (find_reloads_toplev): Don't do anything with paradoxical + SUBREGs if BYTE_LOADS_ZERO_EXTEND. -Sat Oct 5 14:32:01 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Feb 27 09:59:09 1992 Jeffrey A Law (law at b115.super.org) - * expmed.c (expand_mult): Avoid fetching memory more than once. + * toplev.c (main): Enable caller-saves for all machines at + optimization levels of -O2 or higher. + * mips.h (OPTIMIZATION_OPTIONS): toplev.c will turn on + caller-saves at -O2 now. Do not do it here. + * sparc.h (OPTIMIZATION_OPTIONS): Likewise - * tm-ultrix.h (DOLLARS_IN_IDENTIFIERS): Define as 1. +Thu Feb 27 06:47:31 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * expr.c (expand_builtin): Clarify error message for BUILT_IN_NEXT_ARG. + * cp-call.c: Move some extern declarations to file level. -Sat Oct 5 08:42:02 1991 Michael Tiemann (tiemann at cygnus.com) + * emit-rtl.c (init_emit_once): Cast VOIDmode to int in array index. - * 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. + * reorg.c (mark_target_live_regs): Don't make recursive call if + function being compiled has infinite loop. - * cplus-decl.c (xref_tag): Set TREE_VEC_LENGTH (BINFOS) to the - number of basetypes that were actually accepted. + * cse.c (fold_rtx, case 'o'): New case to support folding LO_SUM. - * cplus-parse.y (datadef, fndef): Accept `extern "C"' as a storage - class specifier. + * global-alloc.c (global_alloc): When calling reload, pass the + result of get_insns instead of basic_block_head[0]. - * cplus-init.c (build_new): Handle allocating types whose TRUE_TYPEs - start off as ARRAY_TYPEs. + * c-typeck.c (process_init_constructor): Don't check array index + against limits if array bounds weren't specified. - * 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. + * gcc.c (link_command_spec): Put back -s. - * 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. + * gcc.c (find_a_file): Add missing paren in init of file_suffix. - * cplus-expr.c (cplus_expand_expr): Handle OFFSET_REFs. + * i386sun.h (LIB_SPEC): Insert missing blank. - * cplus-typeck.c (build_binary_op_nodefault): If PEDANTIC, don't - permit comparisons between pointers and integers. + * sun386.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Add #undef. - * cplus-decl2.c (explicit_warn_return_type): New variable. - * cplus-decl.c (grokdeclarator): Test `explicit_warn_return_type' - instead of `warn_return_type'. + * sparc.h (LINK_SPEC): Correct comment. - * 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. + * sun3.h, i386sun.h (LINK_SPEC): Don't force -Bstatic if -g. - * cplus-cvt.c (convert_to_integer): Make anachronisms errors if - PEDANTIC is nonzero. + * mips-news.h (ASM_SPEC): Add missing "}". - * 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. + * Makefile.in (install-native): Don't include install-proto. + (.y.c): Suppress default rule for using Yacc. - * cplus-decl.c (push_overloaded_decl): If PEDANTIC, give error when - functions overload variables. + * combine.c (apply_distributive_law, case SUBREG): Check that word + numbers are the same. + Don't change a single-word operation into a multi-word operation. + Put all checks on SUBREGs in one place. + (gen_lowpart_for_combine): Use correct word number when making + explicit SUBREG. - * 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. + * README.SCO: Obsolete file deleted. -Sat Oct 5 06:52:29 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Wed Feb 26 21:23:02 1992 Jim Wilson (wilson@cygnus.com) - * expr.c (expand_expr, case COND_EXPR): Case for X ? A + 1 : A can - also handle MINUS_EXPR and BIT_*_EXPR. + * sparc.md (DImode sethi): Correctly handle CONST_DOUBLE, was + wrong endian. + (DImode lo_sum): Don't output CONST_DOUBLES as 64 bit constants, + just output the low 32 bits. - * 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. + * unroll.c (find_splittable_givs): For combined address givs, save + the increment amount in add_val. + (copy_loop_body): For combined address givs, increment by the + amount calculated by find_splittable_givs, not by the amount that + the giv it was combined with gets incremented by. - * 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. + * expr.c (clear_pending_stack_adjust): Check flag_no_inline, not + optimize, to determine whether functions declared inline will be + inlined. -Fri Oct 4 15:25:33 1991 Michael Tiemann (tiemann at cygnus.com) + * dbxout.c: Delete all #ifndef DBX_DEBUGGING_INFO stubs. None of + them are needed. - * cplus-decl.c (set_identifier_type_value): New function. Change - all callers of macro SET_IDENTIFIER_TYPE_VALUE to call this function - instead. + * hp800.c, hp800.h: Fix typos in comments. - * 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. +Wed Feb 26 02:39:52 1992 Michael Tiemann (tiemann at rtl.cygnus.com) -Fri Oct 4 14:47:52 1991 Michael Meissner (meissner at osf.org) + * cp-call.c (build_method_call): If conversion of INSTANCE_PTR + yields error_mark_node, return error_mark_node immediately. - * 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. +Tue Feb 25 23:40:01 1992 Mike Stump (mrs at cygnus.com) -Fri Oct 4 13:37:11 1991 Tom Wood (wood at dg-rtp.dg.com) + * tree.c (array_type_nelts): Fix documentation, really nelts-1 + * cp-tree.c cp-tree.h cp-init.c (expand_vec_init): Fixed + multi-dimensional array inits. - * 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. +Mon Feb 24 00:03:23 1992 Michael Tiemann (tiemann at cygnus.com) -Thu Oct 3 22:08:45 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * cp-tree.c (build_cplus_new): Set TREE_SIDE_EFFECTS bit on + NEW_EXPR. - * objc-actions.h (CLASS_SUPER_NAME): Change type.basetypes to - type.binfo so that it will compile. + * cp-typeck.c (build_modify_expr): Handle WITH_CLEANUP_EXPRs + specially when they appear in expressions (not initializations). + Also handle COND_EXPRs on the right-hand-side specially (in case one + of the COND_EXPR's branches is a WITH_CLEANUP_EXPR). -Thu Oct 3 06:46:38 1991 Niklas Hallqvist (niklas at appli.se) +Sun Feb 23 15:11:27 1992 Michael Tiemann (tiemann at cygnus.com) - * 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. + * cp-decl2.c (finish_anon_union): Make RTL for ANON_UNION_DECL based + on MAIN_DECL. - * cplus-init.c: Use new SET/CLEAR macros. + * cp-decl.c (lookup_tag): Deal with the fact that `clear_anon_tags' + may have been run. - * 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. + * cp-decl.c (cplus_expand_expr_stmt): Give line number for usage + whcih incurs warning message. -Mon Sep 30 15:47:03 1991 Michael Tiemann (tiemann at cygnus.com) +Sat Feb 22 20:49:45 1992 Michael Tiemann (tiemann at cygnus.com) - * cplus-call.c (ideal_candidate): Return 0 if the top two candidates - have identical rankings but incompatible types. + * cp-decl.c (init_decl_processing,auto_function): New approach to + defining the default functions `operator new' and `operator delete'. + * cp-init.c (init_init_processing): Rest of changes here. + * libgcc2.c (_builtin_{new,delete,New}): Gone. + * libgcc2.c (_new_handler): New name for section that defines the + default new handler. - * 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 Sep 30 15:31:53 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) - - * dbxout.c: Include before config.h, because it may define - MIN and MAX. - - * fold-const.c (const_binop): Delete incorrect short cut for - (0 - const). - - * 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. - - * 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. - - * 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. - -Mon Sep 30 14:07:20 1991 Tom Wood (wood at dg-rtp.dg.com) - - * 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. - - 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. - - 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. - -Sun Sep 29 16:29:08 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * 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. - - * 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. - -Sun Sep 29 12:49:47 1991 Michael Tiemann (tiemann at cygnus.com) - - * 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. - - * 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). - - * cplus-typeck.c (convert_arguments): Strip the `&' from an - overloaded function passed as an argument into an ellipses. - -Sat Sep 28 15:37:26 1991 Michael Tiemann (tiemann at cygnus.com) - - * cplus-typeck.c (build_x_binary_op): We have to special-case the - failure of MEMBER_REF to be overloaded as an operator. - -Sat Sep 28 10:44:36 1991 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * reload1.c (reload): If we find at some point that we need - caller-saves, disable elimination of the frame pointer. - - * reload.c (subst_reloads): Re-enable code to prevent making - a SUBREG inside a SUBREG. - -Sat Sep 28 00:40:51 1991 Ken Raeburn (raeburn@cygnus.com) - - * cplus-pt.c (do_pending_expansions): Adjust "DECIDE" macro to avoid - compiler warning from Sun cc. - -Fri Sep 27 17:30:39 1991 Per Bothner (bothner at 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. - -Fri Sep 27 16:21:04 1991 Michael Tiemann (tiemann at cygnus.com) - - * 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. - -Fri Sep 27 07:05:57 1991 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * c-decl.c (pushdecl): Fix typo: TREE_EXTERNAL misspelled. - -Thu Sep 26 17:36:14 1991 Michael Meissner (meissner at osf.org) - - * tm-mips.h (ASM_FINAL_SPEC): Handle gcc -c -o foo bar.c. - - * tm-decrose.h (ASM_FINAL_SPEC): Handle gcc -c -o foo bar.c. - - * 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. - -Thu Sep 26 11:53:49 1991 Ken Raeburn (raeburn@cygnus.com) - - * cplus-tree.h (TEMPLATE_TYPE_*): Use slower versions that uses tree - structures more properly, so accessor macros don't lose. - - * cplus-pt.c (end_template_parm_list): For type parameters, make the - new decl be the name of the "type". - - * Makefile.in (cplus-tab.{c,h}): There are now 30 s/r conflicts. - - * cplus-class.c (resolves_to_fixed_type_p, case CALL_EXPR): Deleted - duplicate code. - - * 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. - - * cplus-gc.c (type_needs_gc_entry): If the type has no base types, - don't check to see whether they need gc entries. - - * cplus-parse.y (yyprint): Handle SCSPEC and AGGR. - - * 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. - - * reload1.c (reload): Provide array size in cast, to avoid compiler - warnings. - - 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. +Sat Feb 22 02:09:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * reload1.c (eliminate_regs_in_insn): Try to re-recognize insn if - we replaced a (set X (plus Y Z)). + * Version 2.0 released. -Tue Sep 24 06:34:04 1991 Michael Tiemann (tiemann at mole.gnu.ai.mit.edu) + * 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. - * 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. + * i386mach.h (perform_*): New macros, copied from i386rose.h. -Mon Sep 23 12:56:11 1991 Michael Meissner (meissner at osf.org) + * 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. - * tm-mips.h (ASM_SPEC): Fix typo, and close {}'s properly. + * expr.c (do_store_flag): Don't correct CODE before where it is set. -Mon Sep 23 10:30:51 1991 Michael Tiemann (tiemann at cygnus.com) + * cp-parse.y (stmt): Pass pushcase_range all the args it wants. - * cplus-tree.c (propagate_assoc_offsets): Keep relative offsets of - child_child correct when copying children. +Fri Feb 21 18:14:52 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * 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. + * 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. -Mon Sep 23 06:11:56 1991 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Fri Feb 21 16:47:32 1992 Michael Meissner (meissner@osf.org) - * 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. + * 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. - * combine.c (try_combine): Correctly check for independent insns - in a PARALLEL. + * 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. - * 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. + * 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. -Sun Sep 22 19:24:52 1991 Michael Tiemann (tiemann at cygnus.com) + * encrose.h (PTRDIFF_TYPE): Change to 'int' to match current include + files. + (WCHAR_TYPE): Change to 'unsigned int' to match include files. - * cplus-type2.c (build_functional_cast): Don't forget a valid - function call if we found one (and nothing more). + * 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. -Sun Sep 22 07:48:18 1991 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * halfpic.h (new file): Common include file for systems needing the + OSF/rose half-pic shared library support. - * rtlanal.c (rtx_varies_p, case REG): Correct typo; sense of comparison - was backwards. + * halfpic.c (new file): Common support file for systems needing the + OSF/rose half-pic shared library support. Currently these are stub + functions. - * global-alloc.c (mark_elimination): Don't use HARD_REG_SET macros - to access basic_block_live_at_start. +Fri Feb 21 16:07:02 1992 Michael Tiemann (tiemann at cygnus.com) - * 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. - -Sat Sep 21 16:28:34 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c-typeck.c (build_unary_op): - Handle const and volatile lvalues correctly in ADDR_EXPR. - - * output.h (current_function_contains_functions): - Just declare it, don't define it. - - * cse.c (exp_equiv_p): New arg EQUAL_VALUES. All callers changed. - -Sat Sep 21 12:59:15 1991 Michael Tiemann (tiemann at cygnus.com) - - * 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 (get_current_declspecs): New function + (needed for naming sections). -Fri Sep 20 18:08:07 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Fri Feb 21 01:34:08 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * 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. -Fri Sep 20 10:55:55 1991 Michael Tiemann (tiemann at cygnus.com) + * dwarfout.c (output_mem_loc_descriptor): Handle CONST like SYMBOL_REF. - * cplus-pt.c (uses_template_parms): Handle COMPONENT_REF case. + * collect2.c (errno): Declare if not macro. -Fri Sep 20 00:27:43 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * dbxout.c [MIPS]: Include gstab.h, not stab.h. - * 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. + * dbxout.c (dbxout_symbol): No longer flush leading _ for C++ syms. - * explow.c (allocate_dynamic_stack_space): - Handle SETJMP_VIA_SAVE_AREA before rounding to STACK_BOUNDARY. + * cp-parse.y (.hush_warning): Set $$. -Thu Sep 19 21:13:17 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * gstdarg.h: Handle _HIDDEN_VA_LIST as in gvarargs.h. - * Makefile.in (dist, gcc-*.tar, gcc-*.tar.Z): New targets. +Thu Feb 20 07:41:29 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * jump.c (jump_optimize): In handling `if (...) x = a; else x = b;', - don't crash if scan reaches start of insns. + * 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. - * 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. + * caller-save.c (set_reg_live): Use mode of SUBREG to see how many + hard regs are written. - * protoize.c: Major rewrite by RFG and RMS. + * combine.c (simplify_shift_const, case IOR, AND, XOR): Perform + logic computation in RESULT_MODE, not mode of VAROP. -Thu Sep 19 09:58:25 1991 Tom Wood (wood at dg-rtp.dg.com) +Wed Feb 19 18:32:05 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - 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. + * hp320.h (PRINT_OPERAND): Support codes '$' and '&'. -Thu Sep 19 06:16:34 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * reload1.c (reload): Add cast of enum in index. - * 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. + * vms.h (CPP_PREDEFINES): Define __GNUC__ as 2. - * combine.c (subst, case SET): Fix typo in last change. +Wed Feb 19 21:43:36 1992 Ron Guilmette (rfg at ncd.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. + * 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. - * combine.c (simplify_shift_const): Correct handling of shift counts - that become out-of-range. +Tue Feb 18 18:34:13 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) - * combine.c (expand_field_assignment): Don't allow sharing the RTL - for the inner object. + * 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. - * 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. + * sched.c (schedule_block): Comment code handling USE insns as + obsolete. - * 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 ...)). +Tue Feb 18 14:44:49 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cse.c (simplify_binary_operation, case ROTATE, ROTATERT): - Rotating all one bits is just all ones. + * 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. -Thu Sep 19 01:08:14 1991 Michael Tiemann (tiemann at cygint.cygnus.com) + * g++: Now a link to c++. - * cplus-parse.h, cplus-decl.h: Remove trailing comma after the last - enum value in enum declarations. +Tue Feb 18 04:54:52 1992 david d [zoo] zuhn (zoo at lynx.spa.umn.edu) - * cplus-type2.c (digest_init): Set TREE_PURPOSE of union initializer - when initializing a union by the first field. + * protoize.c (main): added support for -p flag, to specify which + gcc is the one to call for -fgen-aux-info support. - * 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. +Tue Feb 18 07:29:23 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * cplus-decl.c (start_decl): Don't use DECL_CLASS_CONTEXT if DECL - has no DECL_LANG_SPECIFIC. + * combine.c (try_combine): Don't clobber OTHER_INSN's PATTERN if + we aren't able to change the insn. -Wed Sep 18 21:46:32 1991 Michael Meissner (meissner at osf.org) + * romp.md (bit_insv): Add missing CLOBBER when making pattern to + match mftb; likewise for the DEFINE_INSN. - * 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. +Tue Feb 18 01:03:41 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * rs6000.h (bss_section): Set `in_section' correctly. - * 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. + * expmed.c (synth_mult): Count second shift for alg_compound. + Count extra shift for lea case. + * m68k.h (RTX_COSTS): Reduce cost of multiply. -Wed Sep 18 18:54:15 1991 Michael Tiemann (tiemann at cygint.cygnus.com) + * function.c (instantiate_decls): Instantiate DECL_INCOMING_RTL. - * 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. +Mon Feb 17 19:17:50 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) -Wed Sep 18 15:38:52 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * a29k.md (divmodsi4, udivmodsi4): Don't use reg 180 explicitly. + Instead use 'q' constraint letter. - * c-decl.c (grokdeclarator): Error if nested function is extern. +Mon Feb 17 16:15:02 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Sep 18 02:41:08 1991 Per Bothner (bothner at cygnus.com) + * global-alloc.c (global_alloc): Always call `reload'. - * 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. +Mon Feb 17 10:38:38 1992 Jim Wilson (wilson at sphagnum.cygnus.com) -Tue Sep 17 22:33:30 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * a29k.md (movdi define_split): Use DImode in operand_subword + calls, not DFmode. - * c-typeck.c (check_format): - No warning if types match except for signedness. +Mon Feb 17 08:20:33 1992 Michael Tiemann (tiemann at mole.gnu.ai.mit.edu) -Tue Sep 17 10:56:46 1991 Michael Tiemann (tiemann at cygint.cygnus.com) + * varasm.c (assemble_external): Check that DECL is some sort of + _DECL before referencing its DECL_RTL. - * cplus-decl.c (pushtag): When creating a TYPE_DECL that's in class - scope, allocate the space needed for DECL_CLASS_CONTEXT. +Sun Feb 16 13:05:36 1992 Michael Tiemann (tiemann at cygnus.com) - * 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-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). -Mon Aug 16 12:09:32 1991 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + * cp-lex.c (do_identifier): Remove call to `assemble_external' when + implicitly declaring ID. - * make.com: Fix typo. + * cp-parse.y (primary): Simplify the rules for calling + `assemble_external'. -Tue Sep 17 15:13:39 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * cp-decl.c (finish_function): For destructors, don't call + expand_expr_stmt if EXPRSTMT is VOID_ZERO_NODE. - * c-common.c (shorten_compare): Always compute args with side effects. + * cp-typeck.c (default_conversion): Parallel Jan 21 change in + c-typeck.c. - * varasm.c (decode_addr_const): Use SYMBOL_REF unchanged in 1st switch. +Sun Dec 16 23:31:54 1992 Ron Guilmette (rfg at ncd.com) - * varasm.c (output_addressed_constants): Handle a CONSTRUCTOR in - an ADDR_EXPR correctly. - - * cccp.c (rescan): For unterm string, mention lineno of first newline. + * 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. - * fold-const.c (fold): Call optimize_bit_field_compare in constant case - even if not optimizing. +Sun Feb 16 00:54:10 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-decl.c (finish_function): Don't clear DECL_INITIAL if nested. - (pop_c_function_context): Do it here instead. + * fixincludes: Add #ifndef around size_t declaration in types.h. -Tue Sep 17 11:30:32 1991 Michael Meissner (meissner at osf.org) + * varasm.c (assemble_external): Do nothing if arg isn't a decl. - * collect-osf.c (scan_prog_file): Recognize alternate forms for the - constructor and destructor names. + * Makefile.in (cp-parse.c): Update "expect" msg. - * osf-main.c (_entry): Provide an alternative function (_entry) to - start up the static constructors/destructors. + * next.h (CPP_SPEC): Rename -bsd to -strict-bsd. -Mon Sep 16 05:35:21 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * Makefile.in (mostlyclean): Add ld, mips-tfile, mips-tdump. - * combine.c (simplify_shift_const): Correct errors involving modes - to use for shift. + * protoize.c (directory_specified_p): Don't match files in subdirs. -Sun Sep 15 19:13:58 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * xm-rs6k-m.h: Renamed from xm-rs6000-mach.h. + * configure (rs6000-*-mach*): Changed accordingly. - * 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. + * 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. -Sun Sep 15 17:13:09 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * Makefile.in (install-collect2): Install gcc in libsubdir. - * Makefile.in (GNULIB2_CFLAGS): Include GCC_CFLAGS. - (ENQUIRE_CFLAGS): Likewise (in place of plain CFLAGS). +Sat Feb 15 15:26:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * genattrtab.c (main): Don't index by id->insn_code if negative. + * varasm.c (decode_reg_name): Empty string is not a reg number. - * genrecog.c (write_tree_1): Avoid pos[depth-1] if depth is 0. + * fold-const.c (merge_component_references): NE tests against + mismatched constants forces 1, not 0, as value. -Sun Sep 15 15:19:16 1991 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + * i386gas.h (ASM_OUTPUT_OPCODE): Convert repz to repe. - * make.com: Modify to allow direct submission to a batch queue. - Also, add instructions to build GNU C++ as well as GNU CC. + * 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. - * 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. + * cp-typeck.c (default_conversion): Don't use initial value if BLKmode. -Sun Sep 15 15:12:41 1991 Michael Meissner (meissner at osf.org) + * objc-actions.c (finish_objc): Fix typos in last change. - * make-mips (Makefile): Remove rule building Makefile, since - Makefile.in now has one. + * c-aux-info.c, dbxout.c, cccp.c (errno): Declare, if not a macro. - * make-decrose (Makefile): Remove rule building Makefile, since - Makefile.in now has one. + * i386.md (QI bit test recognizer): Split into separate patterns + for memory and register args. Make a scratch reg for memory. -Sun Sep 15 14:12:47 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Fri Feb 14 23:39:58 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Makeflags (SYSCALLS.c.X): Use CPPFLAGS and INCLUDES. + * tree.c (get_identifier): Improve -Wid-clash message. -Sun Sep 15 12:03:35 1991 Michael Tiemann (tiemann at cygnus.com) +Fri Feb 14 16:22:48 1992 Michael Collison (collison at osf.org) - * cplus-decl.c (poplevel): Match change made to c-decl.c on Oct 3, - 1989. + * 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. -Sun Sep 15 06:52:42 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Fri Feb 14 00:38:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * Makefile.in (protoize.o, unprotoize.o): g++-include is under libdir. -Sat Sep 14 13:03:29 1991 Michael Tiemann (tiemann at cygnus.com) + * Makefile.in (enquire.o): Make the command one long line. - * 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. + * 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. -Sat Sep 14 09:14:26 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * varasm.c (assemble_external): Test TREE_EXTERNAL. - * 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. + * jump.c (follow_jumps): If can't find chain end, return orig label -Sat Sep 14 01:34:39 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * mot3300.h (PRINT_OPERAND): Always print 16 hex digits for a double. - * configure (vax-ultrix*): New alternative. + * 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. - * reload1.c (choose_reload_regs): Always ignore cancelled reloads. + * cccp.c (pedwarn_with_file_and_line): Handle -w, -W. - * real.h (atof): Alternate declaration on MIPS. +Fri Feb 14 07:44:08 1992 James Van Artsdalen (james at bigtex.cactus.org) -Thu Sep 12 18:55:06 1991 Torbjorn Granlund (tege at mole.gnu.ai.mit.edu) + * 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. - * optabs.c (expand_binop): Fix carry propagation code for multiple - words. + * i386.c (seq,sne,beq,bne): These opcodes use the state of + cc_status from before the curren insn. - * tm-*.h: Fix systematic typo in comment. + * reg-stack.c (stack_reg_mentioned_p): Don't make static. -Thu Sep 12 18:23:53 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Fri Feb 14 06:27:48 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * gvarargs.h, va-mips.h, va-sparc.h (_va___list): Was __va_list. + * jump.c (jump_optimize): Disable "if (...) {... x = C;} if (x) ..." + optimization; there doesn't seem to be a way to fix it. -Thu Sep 12 12:53:36 1991 Roland H. Pesch (pesch at cygint.cygnus.com) +Thu Feb 13 18:06:06 1992 James Van Artsdalen (james at bigtex.cactus.org) - * 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. + * 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. -Thu Sep 12 07:58:11 1991 Torbjorn Granlund (tege at mole.gnu.ai.mit.edu) +Thu Feb 13 17:21:26 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * m68k.md (umulsidi3, mulsidi3): New DEFINE_EXPANDs and DEFINE_INSN - recognizers. + * c-decl.c (finish_struct): Use pedwarn for pedantic warning. + (grokdeclarator): Likewise. + * c-parse.y (component_decl_list2): Likewise. -Wed Sep 11 22:11:17 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Thu Feb 13 22:11:36 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * a29k.md, romp.md: Update calling sequence to emit_no_conflict_block. + * combine.c (make_extraction): Default modes to byte and register + size, as appopriate, when the bitfield insn doesn't exist. -Wed Sep 11 21:06:32 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * a29kunix.h (LINK_SPEC): Pass default option file to gld. + (LINK_LIBGCC_SPECIAL): Define to work around gld bug. - * fold-const.c (const_binop): Fix last change for ceil and round. + * explow.c (copy_to_suggested_reg): Try getting mode from TARGET. - * gvarargs.h, va-mips.h, va-sparc.h (va_list): Now a macro again. - (__va_list): This is the typedef. + * 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. -Wed Sep 11 16:52:20 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * 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. - * c-typeck.c (build_binary_op_nodefault, RSHIFT_EXPR): Change - "shift count" warnings changed to errors back to warnings. + * a29k.c (output_prologue): Correctly set LR1 when more than 64 + registers are needed. - * cse.c (canon_hash): Also do not record global_regs if - SMALL_REGISTER_CLASSES. Makes the code match the comment. +Wed Feb 12 22:22:46 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) - * cexp.y (yylex): Add sprintf call to create error message, - because yyerror does not call *printf itself. + * make-cccp.com: Define link as a local symbol to avoid + possible conflict with a user defined global symbol. - * gcc.c (default_compilers): Support new option -traditional-cpp, - which passes traditional to cpp, but not to cc1. - * gcc.texinfo: Document it. + * make-cc1.com: Likewise. - * 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. +Thu Feb 13 11:05:07 1992 Michael Meissner (meissner at osf.org) - * sched.c (swap_sort): Must pass &insn to rank_for_schedule, not a - pointer into the array being sorted. + * 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. - * cplus-lex.c (do_identifier): Put function return type on - preceeding line. +Thu Feb 13 01:15:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Sep 11 05:51:00 1991 Michael Tiemann (tiemann at cygint.cygnus.com) + * cccp.c (skip_if_group): Skip comments after the #. - * cplus-typeck.c (build_binary_op_nodefault): If OP0 or OP1 is a - zero pointer, canonicalize it to NULL_POINTER_NODE. + * cccp.c (macarg): Don't assume stringify will compress spaces. + (macroexpand): In stringify, compress space only outside tokens. - * 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. + * cexp.y (exp1): Use pedwarn for comma in #if. - * cplus-tree.c (build_cplus_new): When building cleanup, make - the call to the cleanup nonvirtual. + * cp-decl.c (push_binding_level, pop_binding_level): + Change `inline' to `__inline'. -Tue Sep 10 20:28:56 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * combine.c (make_compound_operation): Undo previous change. - * fold-const.c (const_binop): Shortcut for dividing single-word - sizes +Wed Feb 12 18:47:47 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * Makefile.in (varasm.o): Depend on insn-codes.h. + * 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. -Tue Sep 10 19:29:26 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Wed Feb 12 18:58:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * optabs.c (expand_binop): Try to open-code muldi3 if we have mulsi3 - and mulsidi3. Idea due to tege@sics.se. + * gcc.c (do_spec_1): Only absolute prefixes turn into -L's. + (link_command_spec): Handle LINK_LIBGCC_SPECIAL. - * 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 Feb 12 18:38:29 1992 Chris Smith (csmith at convex.com) -Tue Sep 10 18:16:16 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * 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). - * m68k.md (fix_trunc*): Call CC_STATUS_INIT, since these patterns - do not leave the condition codes in the expected state. +Wed Feb 12 17:23:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * tm-ultrix.h (CPP_PREDEFINES): Add __vax. + * config.sub: Accept just `hppa' for machine. -Tue Sep 10 04:12:53 1991 Michael Tiemann (tiemann at cygint.cygnus.com) + * Makefile.in (Install-collect2): New target. - * 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 Feb 12 13:55:24 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) -Mon Sep 9 22:09:27 1991 Michael Tiemann (tiemann at cygint.cygnus.com) + * reorg.c (relax_delay_slots): Don't convert jump to return here. - * cplus-tree.h (prev_class_type): Delete this bogus definition. + * 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. - * cplus-class.c (instantiate_type): Don't complain about no static - member functions being found until we have been through all the - baselinks. + * reload.c (find_reloads): Don't use class from preference if it + is a single-register class. - * 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?) +Wed Feb 12 13:03:16 1992 Tom Wood (wood at dg-rtp.dg.com) - * cplus-decl2.c (lang_decode_option): Turn on warn_uninitialized if - -Wall is the argument. + * m88k.h (FUNCTION_BOUNDARY, ASM_OUTPUT_ALIGN): Pack code tightly + when compiling crtstuff.c (flag_inhibit_size_directive). -Mon Sep 9 19:05:01 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) +Wed Feb 12 10:34:09 1992 Michael Meissner (meissner at osf.org) - * gcc.c (default_compilers): For .S files, pass -traditional not - -ftraditional to cpp. + * decrose.h (*_SPEC): Compress some whitespace in the specs. Also, + simpify which LANGUAGE_xxx names are defined, to be the ones uses by + the system(s). + * decstatn.h (*_SPEC): Likewise. + * iris.h (*_SPEC): Likewise. + * mips.h (*_SPEC): Likewise. + * mips-bsd.h (*_SPEC): Likewise. + * mips-news.h (*_SPEC): Likewise. + * mips-sysv.h (*_SPEC): Likewise. -Mon Sep 9 15:01:58 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Wed Feb 12 10:34:09 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * fold-const.c (optimize_bit_field_compare): Distinguish NE from EQ. + * caller-save.c (insert_save_restore): Properly check for insns that + reference CC0. - * explow.c (allocate_dynamic_stack_space): - Handle SETJMP_VIA_SAVE_AREA by allocating extra space. +Wed Feb 12 03:17:00 1992 Chris Smith (csmith at convex.com) - * cplus-parse.y (empty_parms): Change inline to __inline. + * convex.h (DEFAULT_CALLER_SAVES): don't define, to sidestep a bug. + * convex.md (ffssi2): Comment out. -Mon Sep 9 15:16:24 1991 Torbjorn Granlund (tege at zevs) +Wed Feb 12 00:08:42 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) - * longlong.h (m68000 umul_ppmm): Clobber one register less by - slightly rearranging the code. + * make-libgcc2.com: Do not save .s file. -Sun Sep 8 16:47:32 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * vms.h: Wrap #include in #ifdef L__main/endif - * cccp.c (main, fatal): Delete the deps output file if error. - (deps_file): New variable. +Tue Feb 11 21:58:42 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) - * expr.c (convert_move): Update call to emit_no_conflict_block. + * libgcc2.c (DO_GLOBAL_DTORS_BODY): New macro. - * expmed.c (CEIL): New macro. + * make-l2.com: New file to build libgcc2 on VMS. - * optabs.c (expand_binop): Don't do add by words for more than 2 words. + * vms.h (DO_GLOBAL_CTORS_BODY): Replacement definition. - * c-typeck.c (build_modify_expr): Test TREE_READONLY of lhs. + * vms.h (DO_GLOBAL_DTORS_BODY): Likewise. -Sun Sep 8 01:17:47 1991 Torbjorn Granlund (tege at zevs) + * make-cccp.com: Define bison and rename as local symbols to avoid + possible conflict with user defined global symbols. - * sparc.md (sgtu, sleu): Test for SUBREG as well as REG. +Tue Feb 11 22:17:32 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) -Sun Sep 8 07:04:33 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * sched.c (attach_deaths): Don't treat PIC offset table register + specially; flow.c doesn't. - * 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. + * 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. - * cse.c (fold_rtx): Fix typo with parens in associative operation case. +Tue Feb 11 21:32:07 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sat Sep 7 21:49:46 1991 Jim Wilson (wilson at cygint.cygnus.com) + * Makefile.in (install-common-headers): Copy byteorder.h to + compilation dir. - * 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. + * config.sub: Allow unicos as operating system. - * expr.c (emit_move_insn): When emitting multiple move insns in - the loop, remember last insn emitted so that it can be returned. + * m88kv4.h (INIT_SECTION_ASM_OP): Add #progbits. - * 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. + * vax.h (DYNAMIC_CHAIN_ADDRESS): New macro. -Sat Sep 7 16:25:50 1991 Michael Tiemann (tiemann at cygint.cygnus.com) + * c++: Propagate quoted args properly. - * 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. +Tue Feb 11 16:35:01 1992 Jim Wilson (wilson at cygnus.com) - * 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. + * fixincludes: Define TERM to `unknown', to ensure that it is + valid. Otherwise, ex may fail. + * fixinc.svr4: Likewise. -Sat Sep 7 13:07:12 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Tue Feb 11 18:04:32 1992 Michael Meissner (meissner at osf.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. + * 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. - * out-m68k.c (output_function_prologue): Add a negative constant - to sp rather than adding a positive one, since this is faster. + * decstatn.h (CPP_PREDEFINES): Eliminate __ versions, since + gcc will do these automatically. Eliminate LANGUAGE_C, since it is + handled in CPP_SPEC. - * out-m68k.c (output_function_prologue, output_function_epilogue): - Use word sized immediates when possible. +Tue Feb 11 15:38:27 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * flow.c (find_basic_blocks): Don't delete labels used in non-jumps. - * genextract.c (main): Don't use __builtin_memcpy in GCC 1. + * vms.h (DO_GLOBAL_CTORS_BODY): Modify the return address + only the first time __main is called. -Fri Sep 6 19:29:55 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * fixinc.svr4: Change headers to test __STRICT_ANSI__ instead of + testing __STDC__ != 0. - * 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. + * fixinc.svr4 (mman.h): Fix backward __STDC__ conditional. + Don't add declarations of munmap and mprotect. - * fold-const.c (fold): Ensure we always return an object of the - desired type. + * varasm.c (output_constant): Allow empty constructor for any type. - * reload1.c (reload, reload_as_needed): reload_in_progress must be - set during caller-save processing. + * dwarfout.c (ASM_OUTPUT_DWARF_DATA8): Just one definition; + test WORDS_BIG_ENDIAN "at run time". -Fri Sep 6 18:36:55 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) +Tue Feb 11 09:00:01 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * 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. + * reload.c (find_reloads): Don't substitute in MATCH_DUPs if we + are not generating replacements. -Fri Sep 6 17:16:05 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Tue Feb 11 08:45:14 1992 Tom Wood (wood at dg-rtp.dg.com) - * configure: Default $cpu_type properly. + * m88kv4.h ({CTORS,DTORS}_SECTION_ASM_OP): Fix typo. -Fri Sep 6 05:50:58 1991 Ken Raeburn (raeburn at watch.com) +Mon Feb 10 22:34:47 1992 Chris Smith (csmith at convex.com) - * genextract.c: Generate one large function with a switch, instead - of a table of small functions to call. Use __builtin_memcpy under - GNU C. + * convex.h(HARD_REGNO_NREGS): define correctly for 64-bit regs - * genoutput.c: For "@" constructs, now generates a lookup table per - insn, instead of a switch. +Mon Feb 10 21:50:23 1992 Michael Meissner (meissner at osf.org) -Fri Sep 6 15:40:54 1991 Tom Wood (wood at dg-rtp.dg.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. - * cccp.c (skip_if_group): Deal with invalid directives the same - way handle_directive does. + * 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 Sep 6 16:37:04 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) +Mon Feb 10 16:34:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * tm-sparc.h (RTX_COSTS): Define costs for MULT and various divides. + * convex.h (REAL_VALUE_TRUNCATE): Obsolete definition deleted. - * loop.c (move_movables): Call `gen_lowpart_common' instead of - building SUBREG manually. + * config.sub (convex-*): These are BSD, not sysv. - * 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. + * 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. -Fri Sep 6 07:15:44 1991 Torbjorn Granlund (tege at mole.gnu.ai.mit.edu) +Mon Feb 10 12:28:59 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * 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. + * xm-a29k-ult.h: Fix typo in placement of copyright notice. - * gnulib2.c (__muldi3): Cast operands to unsigned. +Mon Feb 10 05:36:45 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * gnulib2.c (__Xcmpdi): Use `long' for all variables for - consistency. + * dbxout.c (dbxout_type): Don't use GDB extensions if they are empty. - * 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. +Mon Feb 10 00:10:20 1992 Michael Tiemann (tiemann at cygnus.com) -Fri Sep 6 05:44:07 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cp-class.c (finish_struct): Use DECL_CHAIN, not TREE_CHAIN to walk + through the list of methods identified by a visibility declaration. - * 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. + * cp-cvt.c (convert_pointer_to): No longer need to abort if BINFO is + not a TREE_VEC or AGGR_TYPE node. - * 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. + * cp-parse.y (stmt): Improve error handling for try/except. -Fri Sep 6 15:58:52 1991 Torbjorn Granlund (tege at zevs) + * cp-class.c (add_method): If we create RTL for a copy of METHOD, + copy the RTL to METHOD's DECL_RTL slot. - * 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. + * cp-method.c (dump_type): Print `const' and/or `volatile' for + VOID_TYPE and REAL_TYPEs, too. -Fri Sep 6 01:42:09 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Sun Feb 9 21:07:45 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * jump.c (jump_optimize): Delete duplicate line number notes. + * varasm.c (assemble_integer): Pass third arg in recursive calls. + Act appropriately if word-by-word loop doesn't finish. -Thu Sep 5 19:23:24 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * Makefile.in (bootstrap*): Don't override value of ALLOCA. - * configure (romp): Fix typo in name of xm_file. + * dbxout.c (dbxout_symbol, dbxout_parms): Do leaf function remap + only if LEAF_REG_REMAP and only in leaf functions. - * rtlanal.c (dead_or_set_p): If INSN has a CLOBBER for X, X is - dead. +Sun Feb 9 16:46:27 1992 Michael Tiemann (tiemann at cygnus.com) - * 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. + * cp-init.c (maybe_adjust_addr_for_delete): Build final COND_EXPR + with TREE_TYPE (addr). -Thu Sep 5 18:32:27 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Sun Feb 9 14:20:49 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * m68k.md (zero_extend*): Don't allow memory-memory due to aliasing. + * 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. - * expr.c (do_jump): Don't lose if only 1 insn precedes new jump. +Sun Feb 9 08:29:21 1992 James Van Artsdalen (james at bigtex.cactus.org) - * sparc.md (ashldi3): Fix dumb bug detecting constant 1. + * 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. - * out-sparc.c (output_move_double): Use split_double for constant. - Properly decrement addreg1. + * i386.c (regclass_map): New variable. Lookup array for + REGNO_REG_CLASS. -Thu Sep 5 15:20:25 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) +Sat Feb 8 01:20:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * out-sparc.c: Include expr.h and delete extern declarations. + * cp-parse.y (yyprint): Test __GNUC__, not __GNU__. + Use __inline, like everywhere else. - * 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. + * a29k.h, romp.h (OVERRIDE_OPTIONS): Deleted. + (OPTIMIZATION_OPTIONS): Defined, instead. + * rs6000.h (OPTIMIZATION_OPTIONS): New macro. + (OVERRIDE_OPTIONS): Don't change optimization. - * 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. + * final.c (leaf_renumber_regs_insn): No longer static. + * dbxout.c (dbxout_symbol, dbxout_parms): Call that. - * 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. + * 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. - * sched.c (schedule_block): When calculating estimated IPC, avoid - divide by zero. + * c-typeck.c (build_array_ref): Return early if arg is error mark. - * 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. + * Makefile.in (test-protoize): Rule deleted. - * toplev.c (fatal_insn_not_found): Correct typo in error message. - (main): Include "gsdb" and "gdbx" in warning message when -g is not - supported. + * stmt.c (emit_case_nodes): Handle just-left-subtree case + like just-right-subtree--delete mysterious code that tests cost_table. - * expr.h (enum expand_modifier): Delete last vestige of - EXPAND_INTO_STACK. + * varasm.c (decode_reg_name): Accept decimal number as reg name. -Thu Sep 5 13:50:21 1991 John Gilmore (gnu at cygint.cygnus.com) + * c-decl.c (finish_decl): If pop_obstacks goes to perm obstack, + call permanent_allocation. - * 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. + * gcc.c (link_command_spec): Use -lgcc, not libgcc.a. - * 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. +Fri Feb 7 16:56:17 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) -Thu Sep 5 13:15:43 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * rs6000.h (DOLLARS_IN_IDENTIFIERS): Define to zero, because the + assembler does not accept dollar signs. - * rtlanal.c (reg_referenced_p): Handle USE and CALL. - Use switch instead of if-then-else. +Fri Feb 7 15:36:40 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Sep 5 08:03:58 1991 Michael Tiemann (tiemann at cygint.cygnus.com) + * Makefile.in (mostlyclean): Fix name of tmp-proto.1. - * cplus-class.c (propagate_assoc_offsets): Don't fail to - propagate the offset to the rightmost basetype. + * configure: Delete excess space in assignment to srcdir. - * cplus-decl.c (xref_tag): Allocate nodes for basetype info on - permanent obstack, not temporary obstack. + * cp-decl2.c (DOLLARS_IN_IDENTIFIERS): Default now 1, as in C. -Wed Sep 4 18:53:16 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * i386gas.h (ASM_OUTPUT_LOOP_ALIGN): New macro. + (ASM_OUTPUT_ALIGN_CODE): Use 16-byte boundary on 486. - * fixincludes : Change `m68k' to `__m68k__' in all #if's. + * m68k.h (TRANSFER_FROM_TRAMPOLINE): Use operands for the memrefs + to avoid dependence on assembler syntax. - * Makefile.in (ALLOCA_FLAGS): Add -Demacs. - (ALLOCA_FINISH): Put option before input file name. - (alloca.o): Supply $(INCLUDES). +Fri Feb 7 10:26:32 1992 Michael Meissner (meissner at osf.org) - * 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. + * Makefile.in (EXTRA_OBJS): New variable for extra object files + needed when linking cc1, cc1plus, and cc1objc. -Wed Sep 4 18:13:56 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Fri Feb 7 07:34:03 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * combine.c (make_extraction): When picking up low-order part, - ensure that we don't create a non-aligned object if alignment - is required. + * reload1.c (set_label_offsets, reload_as_needed): Recompute + num_not_at_initial_offset when we pick up offsets from offsets_at. - * 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. + * unroll.c (unroll_loop): Copy initial and final values to avoid + sharing. - * 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). - - (compile_file, rest_of_decl_compilation): Attribute time in - {dbxout,sdbout,dwarfout} functions to symout_time. - - * 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. - -Tue Sep 3 23:34:57 1991 Torbjorn Granlund (tege at zevs) - - * sparc.md (ashldi3 expander & recognizer): Make shift count have - SImode. Used to have DImode. - - * expmed.c (emit_store_flag): Declare arg UNSIGNEDP. - - * vax.md (adddi3): Make operands 2 and 3 commutative. - - * sparc.md (subtract constant then return): Peephole deleted. - -Tue Sep 3 22:23:52 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * Makefile.in (mostlyclean, clean, realclean): Some files were missing. - - * gvarargs.h (va_list): Make it typedef, not macro. - * va-mips.h, va-pyr.h: Likewise. - -Tue Sep 3 22:07:04 1991 Michael Tiemann (tiemann at cygint.cygnus.com) - - * cplus-init.c (build_vec_delete): Fix off-by-one error for arrays - of length 1. - -Tue Sep 3 19:30:45 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * combine.c (try_combine): Don't pass a STRICT_LOW_PART to - reg_overlap_mentioned_p. - - * 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. - - * 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. - -Tue Sep 3 19:17:34 1991 James Van Artsdalen (james at bigtex.cactus.org) - - * 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. - - * 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. - -Tue Sep 3 16:28:56 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * optabs.c (expand_binop): Fix carry calculation. - - * 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. - - * configure: Fix typo in last change. - - * cccp.c (handle_directive): Normally no error for line with `###'. - -Tue Sep 3 10:53:12 1991 Tom Wood (wood at dg-rtp.dg.com) - - * 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. - -Tue Sep 3 03:18:54 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * expr.c (expand_expr): Get rid of EXPAND_INTO_STACK. - -Mon Sep 2 14:07:54 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * gcc.c (do_spec_1): In %X, terminate the arg after each option. - - * config.subr: If argument contains `local', always accept it. - * configure: If machine type contains `local', - construct file names from that machine type name. - - * 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' - - * tm-sysv4.h (ASM_DECLARE_FUNCTION_SIZE): New macro. - - * tm-mips.h, tm-m88k.h (abort): Macro definition deleted. It is - not right for any machines description to specify use of fancy_abort. - - * protoize.c [v.4]: Include fcntl.h. - (execvp): Correct type for second arg. - (compile_params): Remove `const'; that loses when calling execvp. - - * cccp.c (directive_table): Typo in entry for do_ident. - - * xm-m68k.h (alloca): Define macro with arg. - - * emit-rtl.c (reorder_insns_with_line_notes): New function. - (find_line_note, emit_line_note_after): New functions. - - * 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. - -Mon Sep 2 03:30:35 1991 James Van Artsdalen (james at bigtex.cactus.org) - - * Makefile.in (collect2): Compile with gcc. - -Sun Sep 1 9:03:46 1991 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) - - Define two macros to eliminate the need for a seperate collect pass. - - * tm-vms.h (ASSEMBLE_OUTPUT_CONSTRUCTOR): Define. - (ASSEMBLE_OUTPUT_DESTRUCTOR): Define. - -Sun Sep 1 08:14:22 1991 Michael Meissner (meissner at osf.org) - - * collect-osf.c (main): Print version number if -v. Also ignore all - arguments beginning with -c rather than just '-c'. - - * make-decrose (collect): Add version.o to link. - -Sat Aug 31 17:03:23 1991 Michael Meissner (meissner at osf.org) - - * cplus-input.c (inline macro definition): If inline is already - defined, don't redefine it. - - * 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. - - * osf-main.c (__finis): Don't call descructors already called if one - of the destructors calls exit (which in turn calls __finis). - - * 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. - - * 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. - - * 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. - -Sat Aug 31 12:52:17 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * cccp.c (handle_directive): Be more fussy detecting `# LINE' case. - - * cccp.c (directive_table): Pass through and ignore #ident. - (do_ident): New function. - (skip_if_group): Error if unrecognized directive seen. - - * jump.c (jump_optimize): In converting x=a; if (...) x=b; to - store flag, insert all the new code in just one line. - - * gcc.c (do_spec_1): Use xmalloc to make linker_options the first time. - - * expr.c (expand_expr): Make EXPAND_SUM and EXPAND_INITIALIZER - imply EXPAND_CONST_ADDRESS in all cases. + * cse.c (simplify_relational_operation): Complete last change by + correctly handling <= and >=. - * c-decl.c (c_decode_option): -Wall sets warn_uninitialized. - * flags.h (warn_uninitialized): Declared. - * toplev.c (warn_uninitialized): No longer static. +Thu Feb 6 23:57:02 1992 Michael Tiemann (tiemann at cygnus.com) - * cccp.c (main): Make no assumptions about include_defaults - in calculation of max_include_len. Add fudge space if VMS. + * cp-decl.c (grokdeclarator): Invert sense of warning about + initialized extern vars, since in C++, const has funny semantics. - * 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. +Thu Feb 6 15:12:02 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cplus-xref.c: Finish installing changes from Youngdale. + * cse.c (simplify_relational_operation): Test properly for floating + equality; don't deduce this from < and >. -Sat Aug 31 09:02:25 1991 Michael Tiemann (tiemann at cygint.cygnus.com) + * xm-mips.h (alloca): Don't define or declare if MIPS_OVERRIDE_ALLOCA. + * xm-irix4.h (MIPS_OVERRIDE_ALLOCA): Defined. - * cplus-decl2.c (finish_file): Call varasm routines to assemble ctor - and dtor lists. + * m68k.h (TRANSFER_FROM_TRAMPOLINE): Use explicit reg var + to avoid dependence on register name syntax. - * cplus-dbxout.c (dbxout_type_methods): Fix error in printing symbol - info for classes that only define a destructor. + * 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. -Sat Aug 31 08:32:12 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * gstdarg.h: If not __GNUC__, use system's stdarg.h. - * 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. +Thu Feb 6 22:36:36 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) - * 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. + * vms.h (DEFAULT_GDB_EXTENSIONS): Define as 0. - * 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. +Thu Feb 6 13:32:37 1992 Michael Meissner (meissner at osf.org) - * local-alloc.c (requires_inout_p): Don't have cases for '[Q-U]' unless - EXTRA_CONSTRAINT is defined.. + * 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. - * local-alloc (block_alloc): Don't allocate SCRATCH on machines with - SMALL_REGISTER_CLASSES defined. + * 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. - * regclass.c (reg_class_record): Add missing case for 'V'. + * 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. -Fri Aug 30 04:42:19 1991 James Van Artsdalen (james at bigtex.cactus.org) + * decrose.h (INIT_SECTION_ASM_OP): Define as .init. - * tm-i386.h (OUTPUT_JUMP): Use cc_prev_status. +Thu Feb 6 10:07:17 1992 Tom Wood (wood at dg-rtp.dg.com) -Fri Aug 30 17:08:52 1991 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + * m88k.c (preserve_registers): Change to walk the epilogue delay + insns in the forward rather than reverse order (for reorg.c change). - * 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. +Thu Feb 6 02:54:28 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * cse.c (simplify_binary_operation, case PLUS): Don't make + a (const (plus X Y)) with X a CONST_INT. -Fri Aug 30 17:30:15 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * fixincludes: Simplify egrep command. - * cplus-xref.c: Reinstall Aug 25 changes discarded by Tiemann. +Thu Feb 6 01:11:28 1992 Mark Eichin (eichin at cygnus.com) - * 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. + * 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.) -Fri Aug 30 15:41:03 1991 Michael Meissner (meissner at osf.org) +Wed Feb 5 18:42:56 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * mips.md (copyleft): Use separate copyright years. - (mov*): Use nonimmediate_operand instead of general_operand. + * 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. - * tm-mips.h (copyleft): Use separate copyright years. + * cse.c (fold_rtx): When associating operations, avoid infinite + recursion if the new expression contains our operand. - * xm-mips.h (copyleft): Use separate copyright years. +Wed Feb 5 21:18:06 1992 Mark Eichin (eichin at cygnus.com) - * xm-umips.h (copyleft): Use separate copyright years. + * 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. -Fri Aug 30 08:47:30 1991 Michael Tiemann (tiemann at cygint.cygnus.com) +Wed Feb 5 18:01:12 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * varasm.c, hp800.h, i386.h, m88k.h, mips.h, romp.h, vms.h: + (ENCODE_SECTION_INFO): Renamed from ENCODE_SEGMENT_INFO. - * 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. + * sparc.md (nonlocal_goto): Copy static chain into + virtual_stack_vars_rtx, not frame pointer itself. + (nonlocal goto return recognizer): Jump to %o0+0. -Fri Aug 30 07:40:49 1991 Tom Wood (wood at dg-rtp.dg.com) + * toplev.c (main): Fix test for -Wid-clash. - * jump.c (delete_jump): When checking REG_DEAD notes, make sure they - have a legal value. +Wed Feb 5 16:58:15 1992 Ron Guilmette (rfg at ncd.com) -Fri Aug 30 00:57:05 1991 James Van Artsdalen (james at bigtex.cactus.org) + * 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. - * 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. +Tue Feb 4 14:51:16 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Aug 29 21:39:07 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * dbxout.c (dbxout_symbol): Handle DBX_OUTPUT_CONSTANT_SYMBOL. + (dbxout_block): Handle DBX_OUTPUT_CATCH. - * c-typeck.c (build_binary_op_nodefault): Fix last change. + * cccp.c (lookup_import, add_import, do_include): + Use bcmp and bcopy to access st_ino and ->inode fields. -Thu Aug 29 19:11:05 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * dbxout.c (dbxout_init): Pass syms to DBX_OUTPUT_STANDARD_TYPES. - * 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. + * 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. -Thu Aug 29 09:53:27 1991 Michael Tiemann (tiemann at pogo.gnu.ai.mit.edu) + * c-common.c (c_expand_expr_stmt): Test for ERROR_MARK as type. - * 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. +Tue Feb 4 12:03:26 1992 Michael Tiemann (tiemann at cygnus.com) -Thu Aug 29 08:07:40 1991 Tom Wood (wood at dg-rtp.dg.com) + * stmt.c (expand_end_case): Don't crash if function called + is not an ADDR_EXPR. - * m88k.md (define_function_unit): Update latencies. +Tue Feb 4 14:17:22 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * out-m88k.c (output_function_profiler): Correct offsets for - register saves. - * tm-m88ksvr4.h (FUNCTION_PROFILER): Use the name _mcount and do - register saves. + * 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. - * tm-m88k.h (ASM_DWARF_POP_SECTION): Specify "previous". +Tue Feb 4 00:27:35 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - 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. + * Makefile.in (protoize.1, unprotoize.1): Rename temp files < 14 chrs. -Thu Aug 29 06:15:32 1991 Michael Tiemann (tiemann at rtl.cygnus.com) + * cccp.c (skip_if_group): Make unknown cmd name a pedantic warning. - * cplus-type2.c (build_functional_cast): If we have a valid value in - `expr_as_conversion' return that before returning error_mark_node. +Mon Feb 3 18:10:41 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * cplus-init.c (expand_recursive_init): Fix typo is testing - TYPE_USES_VIRTUAL_BASECLASSES. + * romp.h (LEGITIMATE_CONSTANT_P, ENCODE_SEGMENT_INFO): Use + SYMBOL_REF_FLAG. -Wed Aug 28 23:12:35 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * x-romp-mach: New file. + * configure (romp-*-mach*): New alternative. - * c-typeck.c (build_binary_op_nodefault): For shift and rotate ops, - if traditional, use the common type of the operands. +Mon Feb 3 16:43:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Aug 28 07:31:33 1991 Tom Wood (wood at dg-rtp.dg.com) + * cp-typeck.c (warn_for_assignment): Print arg num in origin 1. - * 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). + * sparc.md (nonlocal_goto trap recognizer): Fix opcode spelling. -Wed Aug 28 06:24:30 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * function.c (fix_lexical_addr): Properly search for correct display. - * 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. + * romp.h (OVERRIDE_OPTIONS): Don't set flag_omit_frame_pointer. - * machmode.h (MIN, MAX): Undefine these before our definition. +Mon Feb 3 11:11:58 1992 Michael Tiemann (tiemann at cygnus.com) -Tue Aug 27 21:33:04 1991 Michael Tiemann (tiemann at pogo.gnu.ai.mit.edu) + * gcc.c (@c++-cpp-output): Delete extraneous "}}}" at the end of the + rule. - * version.c: Now 1.95. +Mon Feb 3 11:38:19 1992 Ron Guilmette (rfg at ncd.com) -Tue Aug 27 18:05:25 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * 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. - * reload1.c (possible_group_p): Use earliest class that needs a group. + * 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. - * 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. + * dwarfout.c (dwarfout_init): Output compilation directory name as + the first thing in the .debug_sfnames section. - * cse.c (find_comparison_code): Don't call fold_rtx, - because we don't know which insn to pass for its second argument. +Mon Feb 3 04:12:51 1992 James Van Artsdalen (james at bigtex.cactus.org) - * cse.c (fold_rtx): Don't fold what we get from lookup_as_function. + * Makefile.in (install-dir): `parent' is a shell variable. -Tue Aug 27 17:46:59 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Mon Feb 3 09:43:51 1992 Tom Wood (wood at dg-rtp.dg.com) - * cse.c (rtx_cost): A USE is free; it is likely being used as a marker. + * m88k.h (EXTRA_SECTIONS): Use init and fini sections from svr3.h, + but only when using svr3.h. - * 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. +Sun Feb 2 19:50:29 1992 James Van Artsdalen (james at bigtex.cactus.org) - * 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. + * i386.h (ADDRESS_COST): New macro. - * cse.c (delete_dead_from_cse): Treat a SET that copies a register - to itself as if it were setting a dead register. +Sun Feb 2 17:08:47 1992 Michael Meissner (meissner at osf.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. + * 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. - * fold-const.c ({neg,mul,lshift,rshift,lrotate,rrotate}_double): - No longer static. - * cse.c (simplify_{unary,binary}_operation): Fold some DImode - operations. +Sun Feb 2 16:58:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * fold-const.c (fold, case EQ_EXPR, NE_EXPR, ...): Add code to handle - cases where we are comparing the result of a comparison. + * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Do ON_EXIT last. -Tue Aug 27 14:35:59 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * Makefile.in (install-dir): Create the parent of mandir if nec. - * 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. + * real.h (REAL_VALUE_TRUNCATE): sizeof says what cast to float does. - * c-decl.c (store_parm_decls): No error if arglist contains type tag. + * 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. - * optabs.c (expand_fix): Really call emit_cmp_insn right. +Sun Feb 2 12:51:54 1992 Michael Tiemann (tiemann at cygnus.com) - * floatlib.c: New file. + * cp-typeck.c (build_component_ref_1): Call `compute_visibility' + with a BASETYPE_PATH, not a TREE_LIST. - * gnulib2.c (__clz_tab): Moved to _udivdi3. + * cp-class.c (build_vtable_entry): Apologize if we cannot build a + proper vtable because of builtin liminations. -Tue Aug 27 06:44:12 1991 Michael Tiemann (tiemann at rtl.cygnus.com) +Sun Feb 2 07:30:08 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * cplus-typeck.c (c_expand_return): Don't use the cleanup generated - by `build_functional_cast'. + * reload.c (combine_reloads): Don't combine two reloads with different + secondary reloads; copy secondary reload to combined reload. - * cplus-class.c (resolves_to_fixed_type_p): Handle WITH_CLEANUP_EXPR. + * 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. -Mon Aug 26 20:55:58 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * flow.c (find_basic_blocks): Don't separate a CALL_INSN from + following CLOBBER insns. - * c-parse.y (yylex): Cast shorts[n] to long before shifting. - * fold-const.c (decode): Likewise. + * 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. - * Makefile.in (INSTALL_DATA): Renamed from INSTALL_FILE. + * 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. - * cse.c (canon_hash): Don't crash if subexpression is 0. + * 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. - * cplus-lex.c (interface_strcmp): Put back variable s1. +Sat Feb 1 14:41:34 1992 Ken Raeburn (Raeburn@Cygnus.COM) -Mon Aug 26 18:14:33 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * 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. - * function.c (instantiate_virtual_regs_1): Complete previous change; - had omitted arg on two returns. +Sat Feb 1 09:13:47 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) -Mon Aug 26 15:16:39 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * xm-rs6000-mach.h, rs6000-mach.h: New files. + * configure (rs6000-*-mach): New option. - * optabs.c (expand_float, expand_fix): Pass new arg to emit_cmp_insn. +Sat Feb 1 00:57:24 1992 James Van Artsdalen (james at bigtex.cactus.org) - * out-m68k.c (singlemove_string): Fix last change. + * 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. -Mon Aug 26 11:20:51 1991 Tom Wood (wood at dg-rtp.dg.com) + (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. - * m88k.md (cmpsi insn): Don't provide an insn that compares two - constants. + (output_387_binary_op): abort if the op is not one we handle. -Mon Aug 26 08:34:48 1991 Michael Meissner (meissner at osf.org) + (maximum_field_alignment): New variable. + (handle_pragma_token): New function. Handle `weak' and `pack'. - * 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. + * 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. - * 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. + (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. -Mon Aug 26 07:22:21 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * i386.md (movsi): Use define_expand. Call emit_pic_move for + symbolic constants if flag_pic is true. + (divmodM4,udivmodM4): Change predicates so that only regs are + allowed in operands that can't be a mem. Avoids reload + congestion. + (indirect_jump): Allow any reg or mem as operand, not just reg 0. + (casesi): New insn, only used if flag_pic is true. + (call,call_pop,call_value,call_value_pop): Use define_expand to + record if this function ever emits a call, which will implicitly + use the PIC address register. - * 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. + * svr4.h (SELECT_SECTION): Any item whose initial value involves + linker relocation must go in the data section if flag_pic is true. - * tm-rs6000.h (HARD_REGNO_MODE_OK): Don't put DImode in reg 31; - similarly for TImode. + * 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. - * 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. + (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. - * reload1.c (alter_reg): Ensure that stack slot is always the correct - mode. +Sat Feb 1 00:15:41 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Aug 26 06:20:43 1991 Michael Tiemann (tiemann at cygint.cygnus.com) + * flow.c (flow_analysis, find_basic_blocks): + If have nonlocal labels, calls end basic blocks. + Each call can jump to each nonlocal label. + Pass extra arg to find_basic_blocks. + * function.c (nonlocal_label_rtx_list): New function. - * 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. + * dbxout.c (dbxout_init): Vars wd and wd_gotten moved to top level + and renamed to cwd and cwd_gotten. - * cplus-init.c (expand_member_init): Call error with - IDENTIFIER_POINTER, not DECL_NAME, of NAME. + * c-decl.c (start_function): -Wmissing-prototypes warns if static + function was previously used without a prototype. - * cplus-method.c (fndecl_as_string): Don't skip `in_charge' - parameter twice. + * loop.c (find_and_verify_loop): Initialize uid_loop_num[0]. + (loop_optimize): Give up fast if no loops. - * 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. + * stmt.c (expand_end_bindings): Don't adjust fp in nonlocal goto hndlr + if there is a nonlocal_goto insn. - * 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. + * Makefile.in (cccp.o): Use just libdir in GPLUSPLUS_INCLUDE_DIR. - * cplus-typeck.c (type_unknown_p): If TREE_CODE (EXP) == TREE_LIST, - it's type is unknown. + * gcc.c (do_spec_1): Supply missing arg in some recursive calls. - * cplus-typeck.c (commonparms): Don't insert default parmeter values - into existing arg lists. Instead, unify them into new ones only. +Fri Jan 31 21:50:03 1992 Jeffrey A. Law (law at wombat.gnu.ai.mit.edu) - * 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'. + * m68k.h (OVERRIDE_OPTIONS): -fPIC is only supported on the 68020 + and later cpus. Give an error if -fPIC is tried on a 68000. - * 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. +Fri Jan 31 21:39:33 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) -Sun Aug 25 22:44:57 1991 Michael Tiemann (tiemann at cygint.cygnus.com) + * flow.c (find_auto_inc): If emitting a move insn in front of the + first insn in a block, update basic_block_head. - * cplus-typeck.c (compparms): Deal with STRICT == 3. - * cplus-search.c (get_first_matching_virtual): Call `compparms' with - STRICT == 3. + * caller-save.c (init_caller_save): Correctly check for case where the + save or restore insns aren't recognized. - * cplus-lex.c (operator_name_string): Don't abort if we cannot find - a operator name for NAME. Instead, return identifier for - . +Fri Jan 31 21:02:35 1992 Mark Eichin (eichin at cygnus.com) -Sun Aug 25 15:42:59 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * 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. - * 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. +Fri Jan 31 00:14:20 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * optabs.c (expand_binop): Use word mode for force_reg on op1 of shift. + * 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. - * out-m68k.c (singlemove_string): Use moveq when appropriate. + * gcc.c (S_ISDIR): Add default definition. - * 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. + * function.c (expand_function_end): + Set up arg_pointer_save_area at start of function. - * 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): + * c++: Accept -nostdlib, not -nostinc. - * 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. + * va-sparc.h: If GCC v1, define __extension__ as nothing. + * va-i860.h, va-pyr.h, va-spur.h: Likewise. - * expr.c (do_jump_for_compare): Don't assume the compare survives - when the branch is emitted. + * cp-class.c (finish_struct): Fill in DECL_ALIGN of vtable field. - * expr.c (convert_move): Fix typo in prev change. + * regclass.c (reg_class_record): + Don't follow indirect loops in constraints. - * emit-rtl.c (fconst2_rtx, dconst2_rtx): New vars. - (init_emit_once): Initialize them. + * 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. - * expmed.c (extract_bit_field, store_bit_field): - For multi-word field, do words from least significant first. + * cse.c (cse_main): Calls do clobber arg pointer if not fixed. - (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. + * hp320.h (HAVE_ATEXIT): New definition. - * 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. + * 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. - * Makefile.in (ENQUIRE_CFLAGS, ENQUIRE_LDFLAGS): New parameters. - (enquire, enquire.o): Use them. + * stmt.c (expand_end_bindings): Fix typo. - * tm-sysv4.h: New file, cut out from tm-m88k.h. - * tm-m88k.h: Include that. +Fri Jan 31 12:15:09 1992 Ron Guilmette (rfg ay ncd.com) - * vax.md (sltu, sgeu): New patterns. + * 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. -Sat Aug 24 11:19:43 1991 Michael Tiemann (tiemann at cygint.cygnus.com) +Fri Jan 31 10:31:44 1992 James Van Artsdalen (james at bigtex.cactus.org) - * cplus-init.c (build_offset_ref): Pass a TYPE_DECL node, not a - RECORD_TYPE node, to `build_component_type_expr'. + * cp-tree.c (__eprintf): Make definition match assert.h + declaration. - * 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'. +Thu Jan 30 23:17:11 1992 Per Bothner (bothner at cygnus.com) - * cplus-typeck.c (build_x_*_op): Don't try using built-in operators - if user-defined ones are not accessible. + * c++: The flags -c, -S, or -E suppress passing -lg++ + to gcc. (Otherwise, gcc prints a warning.) - * 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. +Thu Jan 30 21:10:02 1992 Ron Guilmette (rfg at ncd.com) - * 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). + * dwarfout.c (dwarfout_init): Fix generation of initial .debug_aranges + entry to be Dwarf Version 1 compliant. - * 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. +Thu Jan 30 15:51:27 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.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'. + * 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. - * cplus-decl.c (grokdeclarator): Don't let member functions have - static linkage. + * cccp.c (default_include): Delete use of obsolete + NO_STANDARD_INCLUDE_DIR macro. + * protoize.c (default_include): Likewise. - * 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. + * Makefile.in (libgcc1.null): Delete dummy.o and dummy.c. - * 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. +Thu Jan 30 15:34:06 1992 Michael Meissner (meissner at osf.org) - * 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. + * gstdarg.h: Include va-mips.h on MIPS systems. -Sat Aug 24 01:33:00 1991 Richard Stallman (rms at mole.gnu.ai.mit.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. - * expr.c (convert_move): Make integer extension general. +Thu Jan 30 13:06:36 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * optabs.c (init_extends, gen_extend_insn): Finish and turn on. + * Makefile.in (install-common): Get c++ and g++ from srcdir. - * reload1.c (possible_group_p): Insist on regs in needed class. + * i860.h (FIXED_REGISTERS): Arg pointer is no longer fixed. - * SYSCALLS.c (alloca): Declare arg as size_t. + * assert.h (__eprintf): Add const to string args in GCC ANSI case. - * expr.c (store_constructor): Handle union constructor. + * Makefile.in (cccp.o, protoize.o, unprotoize.o): + Define LOCAL_INCLUDE_DIR based on $(prefix). - * final.c (split_double): long long CONST_DOUBLE now has VOIDmode. + * stmt.c (expand_end_bindings): Arg pointer needs no special + treatment if not fixed. - * optabs.c (expand_binop): Fix carry propagation bugs. - Handle carry propagation for big-endian case. + * cp-parse.y, c-lex.c (yyerror): + Avoid sign-extension of characters in error messages. -Fri Aug 23 21:29:46 1991 Michael Tiemann (tiemann at cygint.cygnus.com) +Thu Jan 30 11:39:56 1992 Ron Guilmette (rfg at ncd.com) - * cplus-decl.c (finish_decl): More PIC fixes. Also, don't assign - any storage for static member variables except when they are being - defined. + * dwarfout.c (dwarfout_finish): Fix generation of .debug_pubnames + terminating entry to be 4-bytes of zero followed by a null string. - * 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. +Thu Jan 30 09:30:19 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) -Fri Aug 23 18:31:53 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * rs6000.c (ccr_bit): Fix typo causing reference to possibly + undefined operand. - * expr.c (do_store_flag): Give up if can't directly compare args. + * 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. -Fri Aug 23 18:00:58 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Wed Jan 29 21:50:26 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * function.c (instantiate_virtual_regs_1): Add new arg and now returns - int instead of void. - All callers changed. + * rs6000.h (ASM_SPEC): Add -u, now require new /bin/as for AIX. + (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): No longer needed. - * 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. - -Thu Aug 22 00:34:20 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * recog.c (offsettable_address_p): Always pass QImode to addressp. - -Wed Aug 21 09:20:09 1991 Michael Meissner (meissner at osf.org) - - * 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. - - * cplus-ptree.c (print_lang_type): Modified as necessary to cope with - new inheritance structure. - - * cplus-search.c (get_base_type_1): This function was unused and - wrong. Deleted. - - * cplus-tree.c (layout_basetypes): Take new arg ASSOCS. Layout the - basetypes my modifying the assocs, not the types. - (layout_vbasetypes): Ditto. - - * all cplus-* files: Removed dead code, unused variables, and change - asserts where appropriate. - - * 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. - -Sat Aug 17 15:16:40 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * function.h (inline_function_decl): Declare it. - * integrate.c: Include function.h; don't declare var here. - - * rtl.h (regno_reg_rtx): Declare it. - - * stmt.c (expand_end_case): - When filling labelvec from case range, avoid overflow in i. - -Fri Aug 16 23:06:37 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * 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. - * c-typeck.c (build_binary_op_nodefault): - Take out warning added by recent changes. +Wed Jan 29 17:17:42 1992 Michael Tiemann (tiemann at cygnus.com) -Fri Aug 16 22:00:09 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cp-init.c (build_member_call): Fix bug involving static members + that are function pointers. - * 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. +Wed Jan 29 13:25:18 1992 Tom Wood (wood at dg-rtp.dg.com) -Fri Aug 16 21:41:10 1991 Michael Tiemann (tiemann at pogo.gnu.ai.mit.edu) + * gcc.c (do_spec_1): For %D, only add -L options that are relevant. + (is_linker_dir): Determine if a -L option is relevant. - * a29k.md (insv,extv): Changed POS / SIZE to POS / 8, since high - order bit of BP selects half-word position for half-word ops. +Wed Jan 29 00:57:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Aug 16 18:52:35 1991 Jim Wilson (wilson at sphagnum.cygnus.com) + * configure: Turn ns32k alternatives back on. - * 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) + * Makefile.in (getopt.o, getopt1.c): Join two lines into one. - * cplus-pt.c (uses_template_parms): Run loop over _EXPR nodes from - TREE_CODE_LENGTH-1 to 0, not from TREE_CODE_LENGTH. + * x-i386v4, x-i860v4 (GCC_CFLAGS): Add missing `-B./'. - * cplus-decl.c (grokfndecl): Change `==' to `=' in assignment to - `raises' - (finish_decl): If FLAG_PIC is nonzero, leave initialized data in - common space. + * reload.c (find_dummy_reload, push_reload): Don't reuse dying input + reg as a reload if it is a fixed reg. -Fri Aug 16 13:13:11 1991 James Van Artsdalen (james at bigtex.cactus.org) + * c-tree.h (C_MISSING_PROTOTYPE_WARNED): Deleted since unused. - * 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. +Wed Jan 29 00:42:34 1992 Tim Moore (moore at fast.cs.utah.edu) -Fri Aug 16 16:16:45 1991 Michael Tiemann (tiemann at pogo.gnu.ai.mit.edu) + * 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. - * tm-sparc.h (SELECT_SECTION): Don't put relocatable values into - text space if generating position-independent code. + * 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. -Fri Aug 16 16:00:30 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Tue Jan 28 17:04:38 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) - * protoize.c (__flsbuf): Decl deleted; no need. - [ultrix]: Include string.h, not strings.h. + * varasm.c (make_decl_rtl): Delete unused var `i'. - * function.c (instantiate_virtual_regs_1): Bug adding NEW to addr of X. + * c-convert.c (convert_to_pointer): + Abort if no integer type is as wide as a pointer. -Fri Aug 16 08:51:25 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * gcc.c (default_compilers, .i case): Add error message for -pg + and -fomit-frame-pointer incompatibility. - * 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. + * Makefile.in (install-common): Install c++ and g++ shell scripts in + bindir. -Thu Aug 15 23:38:04 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Tue Jan 28 15:44:10 1992 Michael Collison (collison at osf.org) - * tm-m68k.h (PRINT_OPERAND): Use asm_fprintf to print immed prefix. + * x-encrose (OLDCC): changed to $(GNU_ROSE_BIN)/gcc -Thu Aug 15 23:36:12 1991 Micheal Tiemann (tiemann at pogo.gnu.ai.mit.edu) + * ns32k.h: Added trampoline code. - * cplus-decl.c (finish_enum): Remove last traces of Wood's mistaken - changes for tag handling in C++. - * cplus-class.c (finish_struct): Ditto. +Tue Jan 28 14:19:52 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) -Tue Aug 13 06:12:18 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * 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. - * 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. +Tue Jan 28 11:50:35 1992 Michael Meissner (meissner at osf.org) - * 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. + * mips.c (toplevel): Add include of , since isdigit is + used. - * optabs.c (emit_cmp_insn): Use type of int instead of SImode for - return from memcmp and bcmp. +Tue Jan 28 05:47:08 1992 Michael Tiemann (tiemann at cygnus.com) -Mon Aug 12 17:54:55 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * 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. - * stmt.c: Include recog.h. - * stmt.c (expand_end_bindings): Expect abort to return void. - (expand_end_case): Give tablejump whatever mode it wants. + * cp-class.c (pushclass): Forcibly remove any remnants of incomplete + type that was previously pushed. - * integrate.c (integrate_type): New function. - * c-typeck.c (build_binary_op_nodefault): Rewrite last change. + * 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. - * 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. + * 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. -Mon Aug 12 17:25:48 1991 Michael Meissner (meissner at osf.org) + * cp-call.c (ideal_candidate): Don't convert PARMS in place if + BASETYPE is NULL_TREE. - * 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. +Tue Jan 28 02:21:31 1992 Richard Stallman (rms@mole.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. + * c-decl.c (grokdeclarator): Use `auto' for nested fn fwd decls. -Mon Aug 12 16:31:47 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * g++: New file. - * explow.c (expr_size): Fix typo. + * 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. -Mon Aug 12 14:27:31 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * gcc.c (do_spec_1): For %D, also make -L's for startfile_prefix. + Also append the machine - * 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. + * fold-const.c (fold_convert): Properly handle real-to-real case. - * rtl.h (SCHED_GROUP_P): Fix typo in definition. + * configure (i486-*-sysv4*): New alternative. -Mon Aug 12 08:01:01 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Tue Jan 28 00:37:24 1992 Ron Guilmette (rfg at ncd.com) - * 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. + * dwarfout.c (location_attribute): Fix handling of objects which + were optimized out of existance for Dwarf Version 0 compliance. -Mon Aug 12 01:44:26 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) +Tue Jan 28 00:42:57 1992 James Van Artsdalen (james at bigtex.cactus.org) - * 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. + * Makefile.in (mostlyclean): Delete stack dump files too. - * 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. +Mon Jan 27 18:26:27 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * final.c (final_scan_insn): In the ASM_OUTPUT_LOOP_ALIGN code, - must verify that next exists before checking whether it is a label. + * rs6000.h (HAVE_ATEXIT, NO_DOLLAR_IN_LABEL): Now defined. -Sun Aug 11 16:46:17 1991 James Van Artsdalen (james at bigtex.cactus.org) +Mon Jan 27 13:32:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * i386.md (cmpstrsi): Enable it. Now uses REG as output, not cc0. - Old cc0-output pattern remains for combining cmpstrsi & test pairs. + * 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. -Sun Aug 11 15:52:33 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * cccp.c (main): Add terminating null, then call trigraph_pcp. - * dbxout.c (dbxout_symbol): Handle var-length array with reference. + * fixincludes, fixinc.svr4: Fail unless an arg was given. + * Makefile.in (install-fixincludes): Pass output dir as argument. - * 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. + * Makefile.in: Renamed libgcc[12] to libgcc[12].a. + Likewise for tmplibgcc[12]. - * expr.c (expand_builtin): Get value mode properly, for memcmp. + * toplev.c (rest_of_decl_compilation): Treat all fcns as if external. -Sun Aug 11 15:52:33 1991 Jim Wilson (wilson at cygint.cygnus.com) + * Makefile.in (TAGS): Do the work in srcdir. + Include c-parse.h in files to move. - * dbxout.c (dbxout_symbol): DECL_ASSEMBLER_NAME is a tree, not a - character string, so call IDENTIFIER_POINTER before printing it. +Mon Jan 27 10:54:24 1992 Jim Wilson (wilson at sphagnum.cygnus.com) - * 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. + * cccp.c (get_filename): Don't pass -1 file descriptor to close. -Sat Aug 10 22:58:01 1991 Michael Meissner (meissner at osf.org) +Mon Jan 27 00:26:33 1992 Michael Tiemann (tiemann at cygnus.com) - * mips.md (extendqihi2 define_split): Use SImode on shifts rather - than HImode, and turn result register into SImode as well. + * 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. -Sat Aug 10 21:00:59 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * cp-decl2.c (grokfield): Don't specially hack static member + function names. - * 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. + * cp-except.c (cplus_expand_raise): Test correct predicate that we + have a non-null value return. + (cplus_expand_{throw,reraise}): Ditto. - * 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. + * cp-typeck.c (c_expand_return): Handle case where named return + value has incomplete type. - * combine.c (distribute_links): Fix typo in comment. +Sun Jan 26 20:50:55 1992 Michael Tiemann (tiemann at cygnus.com) -Sat Aug 10 18:42:22 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cp-parse.y (LC): Fix rule to use `push_obstacks_nochange'. + (structsp): Use `pop_obstacks'. - * emit-rtl.c (operand_subword): Replace explicit SImode references - with mode for BITS_PER_WORD bits. +Sun Jan 26 17:39:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sat Aug 10 14:17:08 1991 Richard Stallman (rms at mole.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. - * calls.c (expand_call): Handle ARGS_GROW_DOWNWARD. + * c-decl.c (grokdeclarator): + Static function decl within a function is not external. - * ns32k.md (call_value): Consistently realize function is operand 1. +Sun Jan 26 08:14:53 1992 Michael Meissner (meissner at osf.org) - * cccp.c (do_include): Get current dir from nominal_fname. + * 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. - * expr.c (expand_builtin): Give cmpstr* a target in the mode it wants. - * optabs.c (expand_cmp_insn): Likewise. + * 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. -Fri Aug 9 09:59:27 1991 Tom Wood (wood at dg-rtp.dg.com) + * 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. - * dwarfout.c (output_symbols_for_block): Fix typo in iterating over - subblocks. + * decrose.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define these to + use the defaults on the OSF/1 reference platform. + (i386rose.h): Likewise. - * make-m88k{,dgux,luna}: Eliminate m88k-trace.asm. - * tm-m88k.h, out-m88k.c: Make -mbig-pic a synonym for -fPIC. - Delete -mtrace-function. +Sun Jan 26 07:58:00 1992 Richard Kenner (kenner at 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. + * cse.c (cse_insn): Don't call insert_regs on a SUBREG. + When scanning table for SUBREG assignment, ignore invalid entries. -Fri Aug 9 15:21:16 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * cse.c (cse_insn): When looking for first non-deleted entry in + table, start by scanning backwards from the deleted entry. - * 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. + * function.c (assign_parms): Set current_function_return_rtx + unconditionally. + (expand_function_start): Don't set it here. -Fri Aug 9 11:09:22 1991 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) +Sat Jan 25 06:44:16 1992 Mark Eichin (eichin at cygnus.com) - * 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. + * 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. -Fri Aug 9 06:42:15 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Fri Jan 24 18:03:36 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * genemit.c (gen_split): Add "_fail:" label here too. + * tree.c (pop_momentary): Don't reference freed stack entry. - * 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. +Fri Jan 24 14:20:05 1992 Michael Tiemann (tiemann at cygnus.com) - * global-alloc.c (expand_preferences): New function. - (global_alloc): Call it. + * 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. -Fri Aug 9 01:19:26 1991 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * cp-tree.c (lang_printable_name): Use DECL_RING, and don't free + the printable name for CURRENT_FUNCTION_DECL. - * optabs.c (emit_cmp_insn): Correct typo in spacing. +Fri Jan 24 14:17:30 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * gvarargs.h: If _ANSI_H, undef _VA_LIST_. -Thu Aug 8 17:57:41 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * c-typeck.c (pointer_int_sum): Don't distribute * into pointer diff. - * 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. + * hp320.h (MD_STARTFILE_PREFIX): Defined. + (STANDARD_STARTFILE_PREFIX): Deleted. - * tm-m68k.h (LEGITIMIZE_ADDRESS): Copy address before changing it. - (COPY_ONCE): New macro, subroutine for LEGITIMIZE_ADDRESS. +Fri Jan 24 09:30:41 1992 Fred Fish (fnf at fishpond) - * toplev.c (main): Accept -g with warning if not supported. + * assert.h (__eprintf): Declare as prototype for __STDC__ - * Makefile.in (install-cross-tools): Do nothing unless have gcc-cross. - (gnulib2.ready): Depend on install-cross-tools. +Fri Jan 24 05:28:53 1992 James Van Artsdalen (james at bigtex.cactus.org) -Thu Aug 8 14:34:53 1991 Ken Raeburn (raeburn at watch.com) + * i386.md (jump,indirect_jump,tablejump): Don't output an align + directive here: let the following BARRIER do it. - * 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. +Thu Jan 23 11:54:11 1992 Ron Guilmette (rfg at ncd.com) - * 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. + * i486v4.h: New file. - * cplus-decl.c (sizet_ftype_string, init_decl_processing): Copy - changes from c-decl.c. Also initialize const_string_type_node. +Thu Jan 23 20:34:22 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) -Thu Aug 8 14:34:53 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * fixinc.svr4: Surround uses of ${INPUT} with "" instead of '' + so that it will get expanded. - * c-decl.c (pushdecl): Just warn if trad. extern type is temporary. +Thu Jan 23 17:50:13 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) -Wed Aug 7 15:16:55 1991 Jim Wilson (wilson at sphagnum.cygnus.com) + * 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. - * local-alloc.c (block_alloc): When converting a SCRATCH rtx to a - REG rtx, must clear the `used' bit. + * rs6000.h (ADDITIONAL_REGISTER_NAMES): Add so we can disambiguate + fixed and floating registers. -Tue Aug 6 14:17:09 1991 Jim Wilson (wilson at wombat.gnu.ai.mit.edu) + * rs6000.md (ashrdi3): Reject all but constant shift counts. - * 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. + * jump.c (simplejump_p): Don't access PATTERN unless we know it is + a JUMP_INSN. - * 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. + * combine.c (get_last_value): Don't do a recursive call for a + paradoxical SUBREG. - * combine.c (subst): Convert (ior (ashift A CX) (lshift A CY)) where - CX+CY equals the mode size to (rotate A CX). + * 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. - * 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. + * stor-layout.c (layout_type): Handle alignment for arrays the same + as we do for records and unions. - * 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. + * calls.c (expand_call): Ignore `const' on void functions. - * 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. + * 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. - * expr.c (MOVE_RATIO): Check for HAVE_movstrdi. - (emit_block_move): Add code to use HAVE_movstrdi if present. - (emit_push_insn): Likewise. + * 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. - * final.c (final_scan_insn): When insn fails constraint check, - call fatal_insn_not_found instead of just aborting to make - debugging easier. +Thu Jan 23 13:33:40 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * i386v4.h (CPP_PREDEFINES): Don't define X86. -Tue Aug 6 14:05:42 1991 James Van Artsdalen (james at bigtex.cactus.org) + * c-lex.c (readescape): Warn for \a and \x if warn_traditional. + Handle \v as vertical tab regardless of -traditional. - * i386.md (seq,sne): Use setb/setnb mnemonics instead of setc/setnc: - GAS doesn't understand the latter yet. + * fixincludes, fixinc.svr4: Make LIB absolute, near the beginning. -Tue Aug 6 13:01:53 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * fixincludes: Simplify egrep command while matching the same lines + (plus occasional additional lines). - * Makefile.in (install-common): Use -d, not -f, for tooldir/bin. + * function.c (fixup_memory_subreg): New arg UNCRITICAL. Calls changed. -Tue Aug 6 10:37:02 1991 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + * gcc.c (process_command): Handle LPATH like LIBRARY_PATH. - * 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). + * svr3.h (ASM_LONG): Deleted. -Tue Aug 6 06:30:09 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * gvarargs.h: Ignore _VA_LIST_ if _ANSI_H_; + don't define _VA_LIST_ if already defined. - * 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. +Thu Jan 23 09:10:52 1992 Tom Wood (wood at dg-rtp.dg.com) -Tue Aug 6 03:59:16 1991 Ken Raeburn (raeburn at watch.com) + * m88kluna.h (includes): Include aoutos.h. - * cplus-tree.c (make_deep_copy): Handle PARM_DECLs. +Thu Jan 23 09:10:52 1992 Ron Guilmette (rfg at ncd.com) - * cplus-init.c (build_offset_ref): Use DECL_CHAIN, not TREE_CHAIN - when trying to determine if a function is unique. + * va-i860.h (__savereg): Fix typo. - * 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. + * i860.h (PREDICATE_CODES): Added definition. - * 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. + * i386v4.h (ASM_FILE_START): Definition added which generates + .version directive. -Mon Aug 5 22:44:51 1991 Michael Tiemann (tiemann at cygint.cygnus.com) +Wed Jan 22 23:15:45 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) - * 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. + * make-cc1.com: Predefine symbols for "rename" and "bison"; always + generate c-parse.h when generating c-parse.c. - * cplus-method.c (do_inline_function_hair): Change some assignments - to asserts, since they seem to be copying values that are already - there. +Wed Jan 22 20:01:11 1992 Per Bothner (bothner at cygnus.com) -Mon Aug 5 22:23:34 1991 Michael Meissner (meissner at osf.org) + * 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. - * 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). +Wed Jan 22 20:01:11 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) -Mon Aug 5 21:28:06 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * fixincludes: Surround uses of ${INPUT} with "" instead of '' + so that it will get expanded. - * cplus-xref.c (GNU_xref_file): Treat VMS like USG. + * gcc.c (default_compilers): For c++, define __GNUG__ to 2, and + pass -trigraphs. - * optabs.c (expand_binop): In libcall, use actual mode of op1. + * cccp.1, cpp.1, gcc.1, g++.1: Delete more RCS variables. - * c-typeck.c (build_binary_op_nodefault): - In signed versus unsigned compare warning, note promotions of unsigned. +Wed Jan 22 19:02:06 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * c-parse.y (simple_if): Allow error instead of lineno_labeled_stmt. - (if_prefix): New subroutine of simple_if. + * 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. - * gnulib2.c (__ashldi3, __ashrdi3, __lshldi3, __lshrdi3): - Accept second arg as int, not long long. +Wed Jan 22 09:25:07 1992 Tom Wood (wood at dg-rtp.dg.com) -Sun Aug 4 22:31:53 1991 Michael Tiemann (tiemann at cygint.cygnus.com) + * c-typeck.c (comp_target_types): Make decl static. + Don't forget to return the value. + (function_types_compatible_p, comptypes): Initialize `val'. - * 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. +Tue Jan 21 13:29:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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++. + * cross-make (ALL): Override with definition it here. + * configure: Don't edit its value explicitly here. - * 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'. + * crtstuff.c (__do_global_ctors): Include DO_GLOBAL_CTORS_BODY + in crtend.o, not in crtbegin.o. - * 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. + * 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. -Sun Aug 4 16:44:54 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * 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. - * rtlanal.c (reg_referenced_p): Properly handle ASM_OPERANDS. + * i386v.h, aix386.h: Include svr3.h. + (SCCS_DIRECTIVE, ASM_OUTPUT_IDENT): Deleted. + (TARGET_MEM_FUNCTIONS): Deleted. + (SDB_DEBUGGING_INFO, DBX_DEBUGGING_INFO): Deleted. - * cse.c (cse_insn): When recording this_insn_cc0, build a COMPARE - rtl if SRC is a floating-point value. + * 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. -Sun Aug 4 16:16:11 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * c-typeck.c (default_conversion): Don't use initial value if BLKmode. + If do use the initial value, update `type'. - * fold-const.c (fold): Don't compute shift with negative count. - * cse.c (simplify_binary_operation): Likewise. + * arm.h (STRUCTURE_SIZE_BOUNDARY): New definition. -Sat Aug 3 15:57:55 1991 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + * stor-layout.c (layout_type): Ignore MAX_FIXED_MODE_SIZE for integers. - * 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. + * ultrix.h (SIZE_TYPE): Use `unsigned int'. + * Makefile.in (install-common): Add missing -f in rm. + (install-fixincludes): Install the README file. -Sat Aug 3 15:02:40 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * fixincludes: Don't match on size_t, etc., since we don't actually + change them. - * integrate.c (save_for_inline_copying): Clear constant pool after - saving constants into the insns. +Mon Jan 20 23:22:45 1992 Michael Tiemann (tiemann at cygnus.com) - * expr.c (expand_builtin, case BUILT_IN_MEMCPY): Ensure items - passed to emit_block_move are valid MEMs. + * cp-call.c (ideal_candidate): Don't see two functions as ambiguous + if one is argument-by-argument equivalent or better than another. - * 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. +Mon Jan 20 14:08:06 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * stmt.c (expand_end_stmt_expr): Don't try to copy result to - REG; it might be BLKmode. + * toplev.c (strip_off_ending): Add ".ada". - * reload.c (MATCHES): Don't consider two things equal if they have - side effects. +Mon Jan 20 13:53:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * combine.c (try_combine): When replacing SET_DEST inside a PARALLEL, - don't replace it with something that has a side effect. + * protoize.c (xfree): No longer static. -Sat Aug 3 13:17:53 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Allow tm.h to override. - * c-decl.c (init_decl_processing): - If traditional, omit builtins with names that don't start with _. - Also omit if not optimizing. + * final.c (leaf_renumber_regs_insn): Do just the pattern of an insn. - * Makefile.in (combine.o, emit-rtl.o, expr.o, final.o, tree.o): - Depend on gvarargs.h. + * pyr.h (PCC_BITFIELD_TYPE_MATTERS): Defined. + (STRUCTURE_SIZE_BOUNDARY): Deleted. -Fri Aug 2 11:00:10 1991 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + * mips.c: Clean up spacing around square brackets. - 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. + * 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. - * tm-vms.h: Define NO_EXTERNAL_INDIRECT_ADDRESS, define - ENCODE_SEGMENT_INFO to make use of hook in varasm.c +Sun Jan 19 17:32:19 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * 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. + * reload1.c (emit_reload_insns): Fix typos when checking for secondary + icode. -Fri Aug 2 21:54:55 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Sun Jan 19 15:28:53 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * loop.c (check_dbra_loop): Fix typo in arg to single_set. + * global-alloc.c (global_alloc): If LEAF_REGISTERS, those are the + regs that cost nothing to save, for setting regs_already_used. - * 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. + * expr.c (expand_builtin): Preserve function value reg + around the call to __builtin_saveregs. - * combine.c (set_significant): Handle a complex SET_DEST correctly. + * configure (mips-sgi-irix4*, mips-sgi-irix*): Set install_with_cp. -Fri Aug 2 17:12:24 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * c-decl.c (start_function): + Check properly for `static' function in handling -Wmissing-prototypes. - * tree.c (build_array_type): Make pointer type before array type. + * libgcc2.c (__main): Omit this fn if INIT_SECTION_ASM_OP. - * Makefile.in (install-common): Never install gcc if gcc-cross exists. +Sun Jan 19 13:23:13 1992 Fred Fish (fnf at sunfish) -Fri Aug 2 14:58:42 1991 Michael Meissner (meissner at osf.org) + * amix.h (ASM_OUTPUT_ASCII): Override version in svr4.h. - * make-mips (CC, OLDCC): Comment why we need to define CC and OLDCC - to get around fixed size table complaints in the MIPS compiler. +Sun Jan 19 13:16:56 1992 Michael Tiemann (tiemann at cygnus.com) -Fri Aug 2 14:08:01 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * cp-search.c (lookup_field): Accept IS_AGGR_TYPE_CODE, not + just == RECORD_TYPE. - * configure (writing VPATH definition): Avoid temp file. + * cp-class.c (finish_struct): Clear a tentative setting of + DECL_BIT_FIELD. - * 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. + * cp-decl.c (start_decl): Don't call `pushclass' for incomplete + CONTEXT. -Fri Aug 2 01:46:39 1991 James Van Artsdalen (james at bigtex.cactus.org) + * 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'. - * 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. +Sun Jan 19 04:10:16 1992 James Van Artsdalen (james at bigtex.cactus.org) -Thu Aug 1 19:05:31 1991 Matthew Self (mself at next.com) + * configure: Fix typo inserting INSTALL=cp into makefile. - * 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. +Sat Jan 18 12:06:58 1992 Michael Tiemann (tiemann at cygnus.com) -Thu Aug 1 19:02:57 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.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. - * emit-rtl.c (gen_rtx): Don't return frame_pointer_rtx (e.g.) if - mode is not Pmode. + * 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. - * emit-rtl.c (operand_subword): Don't write explicit divide by 0; - some (broken) compilers give errors for it. + * 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. - * 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. + * cp-decl2.c (lang_f_options): Add recognizers for -f{no-}builtin, + -f{no-}ident, and -ansi. Also, remove unnecessary "no-*" forms. -Thu Aug 1 13:41:47 1991 Michael Tiemann (tiemann at cygint.cygnus.com) + * cp-init.c (emit_base_init): If PEDANTIC, don't let base + initializers leak up the hierarchy. - * 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. + * cp-parse.y (structsp): Disable gratuitous error message. - * cplus-decl2.c (mark_inline_for_output): If DECL has pending inline - info, cause it to be processed. + * cp-call.c (convert_harshness): Don't overlook PENALTY when + signed/unsigned differences are noted (in both POINTER_TYPE and + REFERENCE_TYPE cases). - * cplus-pt.c: Removed extraneous declaration of `permanent_obstack'. - Also, added comment for `reinit_parse_for_template'. + * toplev.c (strip_off_ending): Grok ".ii" endings (C++ preprocessed + files). - * cplus-typeck.c (mark_addressable): For FUNCTION_DECL case, also - test DECL_PENDING_INLINE_INFO. + * cp-typeck.c (build_component_ref): Add special handler when + COMPONENT is the CLASSTYPE_VFIELD name for BASETYPE. -Thu Aug 1 13:26:12 1991 Michael Meissner (meissner at osf.org) +Sat Jan 18 08:29:58 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * 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. + * cse.c (cse_insn): Don't make constant pool entries in MODE_CC modes. - * tm-decrose.h (ASM_FINAL_SPEC): Add this to call mips-tfile if - using the MIPS assembler. +Sat Jan 18 00:28:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * tm-mips.h (ASM_FINAL_SPEC): Add this to call mips-tfile unless - using gas. - (TARGET_VERSION): Do not put __DATE__ in the output. + * Makefile.in (install-common): Fix typo installing gcc. + + * crds.h, isi.h, newpbb.h, tti68k.h: Add #error because -m68000 + will cause a crash (I think), to ask people what to do. - * 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. + * gmicro.h (ASM_FILE_START): Don't do anything. + (TARGET_DEFAULT): Turn on the bitfield flag. + (TARGET_SWITCHES): Get rid of the bitfield options. - * make-decrose (EXTRA_PASSES): Build collect. - (Makefile): Explicitly use sh to invoke configure. + * c-lex.c (readescape): No warning for \?. -Thu Aug 1 12:22:17 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * protoize.c (munge_compile_params): Fix cast that sets compile_params. + (xmalloc, xrealloc): No longer static. + * Makefile.in (protoize, unprotoize): Add LIBDEPS as deps. - * cccp.c (directive_table, node_type): Add #include_next. - (do_include): Support #include_next. - (finclude): New arg DIRPTR. All callers changed. + * va-i860.h (va_arg): Use __extension__ to suppress pedantic warning. + * va-sparc.h, va-spur.h, va-pyr.h: Likewise. - * reload1.c (reload_as_needed): Check live_known before accessing - basic_block_head. + * 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*. -Thu Aug 1 11:47:37 1991 Michael Meissner (meissner at osf.org) + * gcc.c (process_command): + Handle the standard_exec_prefix* before the md_*_prefix. - * 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. + * i386.h, ns32k.h (PCC_BITFIELD_TYPE_MATTERS): Defined. -Thu Aug 1 07:42:37 1991 Tom Wood (wood at dg-rtp.dg.com) + * Makefile.in (libgcc1.null): Depend on GCC_PASSES. - * dwarfout.c (element_list_attribute): AT_element_list is a BLOCK4. + * cccp.c (lookup_import, add_import): VMS kludges so they compile. + (hack_vms_include_specification): Add forward declaration. -Wed Jul 31 17:42:40 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * stor-layout.c (layout_record): Handle BITFIELD_NBYTES_LIMITED + just like one of the things done for PCC_BITFIELD_TYPE_MATTERS. - * 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. + * x-next, x-i386mach: Deleted. + * t-libc-ok: New file. Define just LIBGCC1. + * configure (i386-*-mach, m68k-next-*): Use t-libc-ok. - * 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. + * t-svr4 (FIXINCLUDES): Defined. + * t-m88kv4 (FIXINCLUDES): Defined. + * t-svr3 (EXTRA_PARTS): Defined. + * t-i386sco (EXTRA_PARTS): Defined. -Wed Jul 31 13:41:37 1991 Tom Wood (wood at dg-rtp.dg.com) + * configure (sparc-*-sysv4*): New alternative. - * sdbout.c (sdbout_parms): Don't crash if MEM address is a MEM. + * 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. -Wed Jul 31 12:36:37 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Sat Jan 18 23:15:08 1992 Ron Guilmette (rfg at ncd.com) - * fixincludes: New variable INCLUDES specifies input dir. + * va-i860.h (va_list): Made __reg_base field type long* to avoid + compilation errors. + (__savereg): Add explicit cast to (__va_saved_regs *). - * Makefile.in (install-common): Add dummy elt to EXTRA_PASSES. - Fix typo in test. +Fri Jan 17 15:09:34 1992 James Van Artsdalen (james at bigtex.cactus.org) - * Makefile.in (install-cross-tools): Use /. in args to test -d. - (cccp.o, dbxout.o, c-plus-*): Added missing dependencies. + * 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. - * c-common.c: Don't include rtl.h--that was unmodular. + (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. - * make-i386v (INSTALL): Define this. + (CONST_OK_LETTER_P): Document uses of letters. -Wed Jul 31 07:38:12 1991 Tom Wood (wood at dg-rtp.dg.com) + * reg-stack.c: Add comments describing rules for asm statements + involving stack-like regs. + (asm_regs): Delete unused variable. + (fatal_for_asm): Delete unused function. - * Makefile.in (LIB2FUNCS_EXTRA): Extra C and assembler files for - gnulib2. - * make-m88k*: Put the assembler files in gnulib2 and eliminate use - of gnulib1. + (get_asm_operand_lengths): New function. + (constrain_asm_operands): New function. Like constrain_operands, + but records some information about the matched alternative. -Tue Jul 30 20:21:41 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + (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. - * stddef.h (WCHAR_T): - Test _WCHAR_T_, __WCHAR_T, _T_WCHAR_ and ___int_wchar_t_h. + (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. - * tm-i386isc.h (RETURN_POPS_ARGS): Caller pops the struct value addr. + (change_stack): New argument to insert any new insns before INSN + instead of after. All callers changed. - * cccp.c (default_include): Search local dir, system, then standard. + (emit_swap_insn): Abort if the reg is not found in REGSTACK. - * Makefile.in (USE_HOST_MALLOC, USE_HOST_OBSTACK): - Don't depend on which C compiler is in use. + * Makefile.in (reg-stack.o): Depends on insn-config.h. - * reload1.c (reload): Use pseudoreg to compute spill_indirect_levels. +Fri Jan 17 16:38:32 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * 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. -Tue Jul 30 18:45:39 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * gcc.c (do_spec_1): Add missing arg in recursive call. + (link_command_spec): Don't pass -s, -S, -u*, -X, -Y*. - * reload.c (decompose): Don't blow up for constants; they are safe. +Fri Jan 17 12:51:28 1992 Jim Wilson (wilson at cygnus.com) -Tue Jul 30 15:49:34 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + 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. - * dbxout.c (dbxout_parms): Don't crash if MEM address is a MEM. + * hp800.h, hp800.md: Delete RCS Header variables. - * 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. + * reg-stack.c (replace_reg): Change `abort' to `abort ()'. -Tue Jul 30 15:37:25 1991 Michael Tiemann (tiemann at cygint.cygnus.com) +Fri Jan 17 14:30:14 1992 Michael Meissner (meissner at osf.org) - * cplus-init.c (build_vec_delete): Use `size_binop' when building up - the array end boundary. + * 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. -Tue Jul 30 10:03:54 1991 Michael Meissner (meissner at osf.org) +Fri Jan 17 13:24:33 1992 Tom Wood (wood at dg-rtp.dg.com) - * tm-mips.h (DOLLARS_IN_IDENTIFIERS): Define to be 1. + * Makefile.in (unprotoize.o): Use the rm -f option. -Mon Jul 29 18:56:33 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cp-lex.c (check_newline): Define `used_up' as in c-lex.c. + (in_system_header): Define as in c-lex.c. - * 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. +Fri Jan 17 08:14:04 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * cse.c (fold_rtx): Don't make shifts wider than object. + * reorg.c (delete_from_delay_slot): Pass correct length to + emit_delay_sequence. -Mon Jul 29 17:17:55 1991 Michael Collison (collison at osf.org) + * genattrtab.c (substitute_address): Handle IF_THEN_ELSE in addition + to COND. - * configure: Added entry for mmax-osfrose (Multimax with ns32k - running OSF/1). + * expr.c (expand_builtin, case BUILT_IN_STRLEN): Correct args in + expand_expr call. -Mon Jul 29 14:51:32 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Fri Jan 17 17:33:40 1992 James Van Artsdalen (james@raid) - * 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. + * x-i386v4 (CCLIBFLAGS): Delete macro. + (GCC-CFLAGS): Delete macro. Prevented Makefile.in from working. - * 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. +Thu Jan 16 17:03:27 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) - * 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. + * Makefile.in (cleanconfig): Also delete tconfig.h. - * cccp.c (default_include): Get rid of extra #endif. - Use CROSS_COMPILE, not CROSS. + * varasm.c (assemble_external): Only call ASM_OUTPUT_EXTERNAL once + for each symbol. + (assemble_external_libcall): Fix minor typo in spacing. - * make-i386mach: New file. - * configure (i386-mach): Use that file. + * toplev.c (main): Force error if invalid -W option is used. -Mon Jul 29 09:10:13 1991 Tom Wood (wood at dg-rtp.dg.com) +Thu Jan 16 13:35:13 1992 Tom Wood (wood at dg-rtp.dg.com) - * tm-m88kluna.h (SYSTEM_INCLUDE_DIR): Define (also MACH). + * m88kdgux.h (CPP_PREDEFINES): Added __CLASSIFY_TYPE__ back and + noted when it would be useful. -Sun Jul 28 16:15:39 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * m88k.h (ASM_FILE_END, ASM_OUTPUT_ASCII): Override svr4.h. - * 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. +Thu Jan 16 12:37:16 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) - * cccp.c (default_include): Use CROSS_INCLUDE_DIR if cross-compiler. - * Makefile.in (cccp.o): Pass a definition for CROSS_INCLUDE_DIR. + * svr4.h (SVR4): Add this back. - * 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. + * cccp.c (lookup_import): Use bcmp to compare inodes. - * sdbout.c (plain_type_1): Don't record the size in sdb_type_size - unless a tag is output. + * cccp.c (main): Handle -idirafter option. - * 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. + * m68kv4.h, m88kv4.h, i386v4.h, sparcv4.h, i860v4.h (CPP_PREDEFINES): + Add __svr4__ in case user programs want to distinguish. - * Makefile.in (EXTRA_PASSES): New variable. - Used for machines which have extra passes to run. - (install-cross): Install those programs. - (native): Compile them. + * cp-lex.c (check_newline): Changes like Jan 12 changes in c-lex.c. - * c-parse.y: Support `foo:' before a close brace. - (label): New nonterminal. - (stmt): Use that. Treat a label as a statement in itself. + * Makefile.in (install-fixincludes): Renamed from `includes'. + Move comments so some shells are happier. Dep. on install-headers. - * 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. + * m88kdgux.h (CPP_PREDEFINES): Add __svr4__. Remove __CLASSIFY_TYPE__. + Add some assertions. - * move-if-change: Use -f with rm and mv. + * 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. - * Makefile.in (gnulib2.ready): No longer phony. + * c-decl.c (start_function): Fix backwards test for -W* options. -Sat Jul 27 13:03:50 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * protoize.c (GUESSPATHLEN): Treat POSIX like USG--and use just 200. - * combine.c (can_combine_p): Don't use NEXT_INSN, in previous change. + * cccp.c (deps_output): Break line iff string is empty. + (do_include): Fix up the deps_output calls. - * Makefile.in (class-c, objective-c): New targets. + * vax.c (print_operand_address): Handle form index + (reg+offset). - * 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. + * m88k.h (TARGET_VERSION): Don't use __DATE__. - * fixincludes (memvar.h): Make two defs of CAT, one ANSI and one trad. + * gcc.c (default_compilers): Typos in c++-cpp-output case. - * expmed.c (emit_store_flag): Set ICODE only after CODE is right. +Thu Jan 16 12:25:51 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) -Sat Jul 27 06:45:32 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * loop.c (get_condition): In HAVE_cc0 code, generate a zero with + CONST0_RTX instead of just using const0_rtx. - * flow.c (insn_dead_p): Don't clobber NEEDED while ensuring that we - don't delete insns that set the frame or arg pointer. + * cse.c (cse_isnsn): A CALL_INSN clobbers all fixed regs except + for ap, fp, and sp. - * flow.c (flow_analysis, find_basic_blocks, propagate_block): - Use GET_RTX_CLASS. +Thu Jan 16 08:03:40 1992 Tom Wood (wood at dg-rtp.dg.com) -Fri Jul 26 08:18:08 1991 Tom Wood (wood at dg-rtp.dg.com) - - * 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. - -Fri Jul 26 22:47:53 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * cccp.c (macroexpand): Fix error message syntax. - - * Makefile.in (gnulib2.target): Add semicolon. - -Fri Jul 26 18:17:36 1991 Michael Meissner (meissner at pogo.gnu.ai.mit.edu) - - * make-mips (CC): Bump -Wf,-XNg option to 1500 to allow the MIPS - compiler to compile cc1plus. - -Fri Jul 26 14:42:35 1991 Tom Wood (wood at dg-rtp.dg.com) - - * c-parse.y (yylex): Don't use mbtowc to translate L'\0'. - - * tm-m88ksvr4.h (CPP_SPEC): Specify SVR4 pre-assertions. - -Fri Jul 26 09:53:53 1991 Michael Meissner (meissner at pogo.gnu.ai.mit.edu) - - * Makefile.in (cplus_expr.o): Add missing dependencies, so cc1plus - can be built without first building cc1. - -Fri Jul 26 07:30:51 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * combine.c (can_combine_p): Can't combine if DEST is used in an - insn in the range (succ, i3). - - * 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. - - * 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. - -Thu Jul 25 21:57:42 1991 Jim Wilson (wilson at wookumz.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. - -Thu Jul 25 18:15:33 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * flow.c (regno_clobbered_at_setjmp): Don't blow up if no basic blocks. - -Thu Jul 25 16:55:57 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * cse.c (invalidate, cse_insn): Don't use HASHREG directly. - (HASH): Substitute HASHREG in. - (HASHREG): Deleted. - - * tm-i386mach.h: New file. - * configure (i386-mach): Use that. - - * tm-i386isc.h: New file, copied from 1.40. - - * 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. - - * rtl.h (FUNCTION_FLAGS_USES_PIC_OFFSET_TABLE): Fix typo. - -Thu Jul 25 16:25:52 1991 Tom Wood (wood at dg-rtp.dg.com) - - * out-m88k.c (legitimize_address): Note use of addressing base. - (m88k_layout_frame): Establish PIC addressing base as needed. - - * tm-m88kdgux.h (GPLUSPLUS_INCLUDE_DIR): Specify. - -Thu Jul 25 07:54:36 1991 Michael Tiemann (tiemann at cygint.cygnus.com) - - * rtl.h (FUNCTION_FLAGS_USES_PIC_OFFSET_TABLE): Defined. - - * integrate.c (expand_inline_function): Propagate the value of - FUNCTION_FLAGS_USES_PIC_OFFSET_TABLE. - - * 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. + * c-decl.c (finish_enum): Compute the precision properly if the + maximum value is negative. -Wed Jul 24 13:54:41 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Thu Jan 16 07:40:29 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * tm-m68k.h (NOTICE_UPDATE_CC): - Calls clear status even if value in address reg. + * 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. - * tm-i386gas.h, tm-i386vgas.h (ASM_OUTPUT_ALIGN_CODE): Align with NOPs. +Thu Jan 16 00:28:14 1992 Ron Guilmette (rfg ay ncd.com) - * i386.md (andsi3): Don't use movzbl if op1 can't support it. + * i860.c (output_fp_move_double): Fixed typo. -Wed Jul 24 07:47:59 1991 Michael Tiemann (tiemann at cygint.cygnus.com) + * 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. - * cplus-decl.c (finish_decl): Don't build a cleanup for an variable - that is TREE_EXTERNAL. + * svr4.h (ASM_OUTPUT_ASCII): Fixed typo. -Tue Jul 23 20:48:23 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +Wed Jan 15 21:58:01 1992 Jeffrey A Law (law at b117b.super.org) - * make-mips: Delete rules for saber C. - * Makefile.in (STAGESTUFF, gnulib2.ready): Undo last change. + * sparc.h (SELECT_RTX_SECTION): When generating PIC, place symbolic + operands in the data section. - * tm-vax.h (LIB_SPEC): Supply missing close braces. +Wed Jan 15 21:45:09 1992 Michael Meissner (meissner at osf.org) -Tue Jul 23 14:03:10 1991 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. - * 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. +Wed Jan 15 17:59:02 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * 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. + * combine.c (can_combine_p): Don't combine if DEST is still a field + assignment after we've tried to expand it. - * 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. +Wed Jan 15 16:01:13 1992 James Van Artsdalen (james at bigtex.cactus.org) - * 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. + * regclass.c (fix_register): Don't match a null register name. + * varasm.c (decode_reg_name): Likewise. - * 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. + * i386.h (HI_REGISTER_NAMES): Give the eliminable arg pointer a + null name. - * 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. +Wed Jan 15 13:40:50 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) - * osf-main.c (new file): Provide simple constructor, destructor - capability to be linked into gnulib. + * gcc.c (default_compilers): Pass -lang-asm, not -lang-asmc, to cpp. - * collect-osf.c (various): General rewrite to improve speed and - portability. + * gcc.c (process_command): Don't dump md_exec_prefix in specs. + Use the md_... prefixes only if no -b. - * 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. +Wed Jan 15 13:35:09 1992 Ron Guilmette (rfg at ncd.com) - * mips-tfile.c (toplevel, main): Add -I file option, which renames - the original output file to the given file. + * 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. - * cplus-lex.c (toplevel): Include instead of "assert.h" - in order to avoid problems when including cplus-input.c, which also - uses . + * 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. - * 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. + * m68kv4.h (CPP_PREDEFINES): Don't define SVR4. + * sparcv4.h (CPP_PREDEFINES): Don't define SVR4. + (ASM_OUTPUT_ASCII): Deleted obsolete definition. -Tue Jul 23 13:15:43 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * xm-svr4.h (SVR4): Removed useless definition. + (POSIX): Added definition for protoize.c. - * xm-i386.h, xm-i860.h, xm-spur.h, xm-tahoe.h: Use __builtin_alloca. + * 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). -Tue Jul 23 12:26:01 1991 Michael Tiemann (tiemann at cygint.cygnus.com) + * fixinc.svr4: Replaced all occurances of {1,\} in sed command + string with functional equivalents (to avoid bogus results). - * 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. + * c-lex.c (readescape): Pass thru escaped x, a, and v if -traditional. + (readescape): Pedantic warning for \?, \(, \{, and \[. - * 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. + * 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). - * loop.c (loop_optimize): Use get_max_uid to compute max_uid_for_loop. +Wed Jan 15 09:30:08 1992 Michael Tiemann (tiemann at cygnus.com) - * fold-const.c (size_int): Extend SIZE_TABLE's range from - 0..HOST_BITS_PER_INT-1 to 0..2*HOST_BITS_PER_INT. + * All cp-* files: Remove calls to `cleanup_after_call'. - * integrate.c (expand_inline_function): Add minor efficiency - hack to not free all the temp slots as parameters are passed - from "caller" to "callee". + * cp-method.c (fndecl_as_string): Add a missing space when printing + the return type. - * 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. + * 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. - * tm-decstatn.h (SIZE_TYPE): Define this to be "unsigned int". + * cp-decl.c (grokvardecl): Don't get tripped up by static class + members of incomplete type. - * emit-rtl.c (try_split): If `split_insns' actually returns a SEQ - which is isomorphic to PAT, return TRIAL. +Wed Jan 15 09:12:51 1992 Jeffrey A. Law (law at wombat.gnu.ai.mit.edu) - * out-sparc.c (eligible_for_epilogue_delay): FP register moves are - only eligible for leaf-function epilogue delay slots. + * m68k.c (legitimize_pic_address): Re-enable code which was + mistakenly #ifdef'd out. -Tue Jul 23 11:52:50 1991 Michael Meissner (meissner at geech.gnu.ai.mit.edu) +Wed Jan 15 08:12:18 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * dbxout.c (dbxout_symbol): Correct typo in getting static member - names. The problem is DECL_ASSEMBLER_NAME returns a tree, and not a - char *. + * reload.c (find_reloads): Check for insn not recognized. -Tue Jul 23 07:10:41 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * 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. - * varasm.c (immed_double_const): Use CONST_INT if MODE fits within - HOST_BITS_PER_INT, not BITS_PER_WORD. + * sdbout.c (sdbout_symbol): Treat (mem (reg SP)) the same + as (mem (reg FP)). -Mon Jul 22 21:37:03 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * 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. - * fold-const.c (fold): Always preserve type after using const_binop. +Wed Jan 15 08:10:29 1992 Chris Smith (cks at bach.convex.com) -Mon Jul 22 18:34:55 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * 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. - * 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). + * convex.h (ASM_OUTPUT_DOUBLE_INT): define. -Mon Jul 22 15:25:48 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * convex.h (DEFAULT_GDB_EXTENSIONS): define as 0 until GDB version 4 + port is available. - * gcc.c (process_command): -xnone turns off any -x option. + * convex.c (ap_reload_needed): Fix comment. - * tree.c (copy_chain): Deleted. - * integrate.c (copy_decl_tree): Use copy_list and copy_node. +Wed Jan 15 07:08:25 1992 Tom Wood (wood at dg-rtp.dg.com) -Mon Jul 22 11:35:47 1991 Michael Tiemann (tiemann at pogo.gnu.ai.mit.edu) + * m88k.h (CONST_SECTION_FUNCTION): Trivial definition for targets + not based on svr[34].h (m88k-luna). - * tree.c, tree.h: Fix typos in Jul 22 merge. + * m88k.h (PREDICATE_CODES): Use it. -Mon Jul 22 08:51:47 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * 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. - * jump.c (thread_jumps): Don't set CHANGED if the jump's label isn't - changing. + * m88k.c (legitimize_address): When converting a symbol_ref for + PIC, add a REG_EQUAL note. -Mon Jul 22 02:37:23 1991 Michael Tiemann (tiemann at pogo.gnu.ai.mit.edu) +Wed Jan 15 06:22:34 1992 Michael Meissner (meissner at osf.org) - * version.c: Bumped to 1.94 because of significant changes to - cplus-* files. + * 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. -Sun Jul 21 18:45:57 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * 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. - * 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. + * 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. - * integrate.c (integrate_decl_tree): Renamed from copy_decl_tree. - (integrate_parm_decls): Renamed from copy_parm_decls. +Wed Jan 15 01:42:39 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) - * tree.c (copy_chain): New function. + * 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. -Sun Jul 21 06:43:23 1991 James Van Artsdalen (james at bigtex.cactus.org) +Wed Jan 15 01:01:39 1992 Richard Stallman (rms at mole.gnu.ai.mit.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. + * 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. -Sun Jul 21 06:27:33 1991 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * Makefile.in (install-common): Install driver as gcc-$(target). - * 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. + * gstddef.h (wchar_t): Check for _T_WCHAR. -Sun Jul 21 06:11:55 1991 Michael Tiemann (tiemann at cygint.cygnus.com) + * 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. - * 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. +Tue Jan 14 23:25:37 1992 Ron Guilmette (rfg at ncd.com) - * 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. + * 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. - * 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. + * 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. - * cplus-pt.c (uses_template_parms): Add handler for ARRAY_TYPE. + * dwarfout.c (INSN_LABEL_FMT, FUNC_END_LABEL_FMT): Use decimal format. - * cplus-method.c (do_inline_function_hair): Use TYPE_METHODS instead - of CLASSTYPE_METHOD_VEC for traversing all methods when looking for - inline functions. + * 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++). - * cplus-class.c (finish_struct_methods): Fix fencepost error if - there were no member functions except for ctors/dtors. + * 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. -Sun Jul 21 06:19:01 1991 James Van Artsdalen (james at bigtex.cactus.org) + * 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. - * 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. + * 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. - * calls.c (expand_call): Set current_function_calls_longjmp if - this call is to `longjmp'. +Tue Jan 14 16:40:39 1992 Tim Moore (moore at fast.cs.utah.edu) - * 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. + * 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. - * rtl.h (FUNCTION_FLAGS_CALLS_LONGJMP): New macro. +Tue Jan 14 20:01:59 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) - * 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. + * sparc.h (TARGET_SUN_ASM, TARGET_GNU): Delete support for + obsolete and undocumented flags -msun-asm and -mgnu. + * sparc.md: Likewise. - * function.h (struct function): New field `calls_longjmp'. +Tue Jan 14 19:36:21 1992 Tim Moore (moore at fast.cs.utah.edu) - * out-i386.c (simple_386_epilogue): Add function description. - Return 0 if NON_SAVING_SETJMP && `setjmp' is called in function. + * 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. - * tm-i386v.h (NON_SAVING_SETJMP): New macro. - (FRAME_POINTER_REQUIRED): New macro. +Tue Jan 14 14:38:09 1992 Michael Tiemann (tiemann at cygnus.com) -Sat Jul 20 12:25:56 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * cp-typeck.c (build_unary_op): Call readonly_warning_or_error if + ARG is TREE_READONLY (in addition to the type being TYPE_READONLY). - * tm-m88k.h (OPTIMIZATION_OPTIONS): Don't change flag_signed_bitfields. + * 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. - * cccp.c (include_defaults) Use LOCAL_INCLUDE_DIR macro instead - of "/usr/local/include". Provide default definition. +Tue Jan 14 13:12:48 1991 Ron Guilmette (rfg at ncd.com) - * 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. + * 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. - * proto-man: Renamed from proto-unproto.1. +Tue Jan 14 06:46:37 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * final.c (final_scan_insn): Do ASM_OUTPUT_LOOP_ALIGN only for real loop. + * 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. -Sat Jul 20 05:34:13 1991 Michael Tiemann (tiemann at cygint.cygnus.com) + * a29k.c (a29k_debug_reg_map): New variable. + (output_prologue): Initialize it. + * a29k.h (DBX_REGISTER_NUMBER): Use that map. - * 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. + * ultrix.h (WCHAR_TYPE): Make definition be a known type. - * cplus-decl.c (init_decl_processing): Variable - `const_ptr_type_node' was not being initialized. Same with - `const_string_type_node'. + * final.c (final_scan_insn): Call DBR_OUTPUT_SEQEND before we + clear `final_sequence', so it can call dbr_sequence_length. - * 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. + * 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. - * 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. + * flow.c (mark_used_regs, case RETURN): Insert missing test for global + registers. - * cplus-tree.c (lang_printable_name): Use a ring-buffer to hold - printable names instead of DECL_PRINT_NAME slot of a _DECL node. + * reorg.c (mark_referenced_resources): Mark asm's as volatile + when appropriate. - * collect2.c: #define COLLECT, and let config.h provide definition - of macros. + * integrate.h (struct inline_remap): New field const_equiv_map_size. + * integrate.c (expand_inline_function): Set it; make larger map. + (subst_constants): Don't reference out-of-range entry in equiv map. + * unroll.c (unroll_loop): Set const_equiv_map_size. -See file ChangeLog.3. +See ChangeLog.4 for earlier changes. Local Variables: mode: indented-text