--- gcc/ChangeLog 2018/04/24 18:00:26 1.1.1.4 +++ gcc/ChangeLog 2018/04/24 18:36:36 1.1.1.10 @@ -1,9828 +1,5818 @@ -Sat Dec 26 05:12:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Jan 29 02:47:13 1997 Richard Stallman - * Version 2.3.3 released. + * Version 2.7.2.2 released. -Fri Dec 25 06:53:49 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * configure: Change all ix86 configs to accept i686 as well. - * expmed.c (store_bit_field): If VALUE needs to be narrowed, do - it with gen_lowpart, not an explicit SUBREG. - - * a29k.md (divsf3): Fix typo in mode of DIV. - -Fri Dec 25 00:03:26 1992 James Van Artsdalen (james at bigtex.cactus.org) - - * Makefile.in (install-dir): Add missing semicolon. - - * i386sco4.h (_KR, _SVID, _NO_PROTOTYPE): Define if -traditional. - -Thu Dec 24 15:02:29 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * fixinc.svr4: Don't change bitfield types to int. - - * seq386.h (TARGET_DEFAULT): Override. - -Wed Dec 23 20:19:17 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * i386sco4.h (CPP_SPEC): Avoid repeated def of _M_SYSV. - -Tue Dec 22 15:40:08 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c-decl.c (store_parm_decls): Use TYPE_MAIN_VARIANT to compare types - when merging info from previous prototype. - - * fixinc.svr4: Add special fixes for netinet/in.h and sys/endian.h. - -Mon Dec 21 02:58:27 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * m68kv4.h (ASM_OUTPUT_CASE_END): - Use switch_table_difference_label_flag. - - * configure (m68k-motorola-sysv*): Set use_collect2. - -Sat Dec 19 20:19:44 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * a29k.c (secondary_reload_class): Return CR_REGS for larger than - word memory, and BP_REGS for part-word mem with no DW. - - * a29k.md: Consistently use `&' in constraint of MATCH_SCRATCH. - Always use a reg as 4th arg of dmac/fmac even if ignored by insn. - Uses of `b' as a constraint in multi-word reload patterns should - be `c'. - -Sat Dec 19 01:32:13 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Makefile.in (all.cross): Add `specs' as dep. - - * build-make (CC): Delete the -V option. - - * getpwd.c (getpwd): Don't get upset if ERANGE is not defined. - -Fri Dec 18 20:56:59 1992 John Hassey (hassey@dg-rtp.dg.com) - - * objc-actions.c (build_encode_expr): - Terminate the encode string with a null. - (encode_aggregate): Distinguish pointer to record from a - record. Output fields for record. Fix unions. - -Fri Dec 18 17:17:39 1992 Michael Meissner (meissner@osf.org) - - * mips.h (MIPS_VERSION): Set Meissner version # to 33. - (struct mips_args): Add support for passing QI/HI mode structures - the way the MIPS compiler passes them. - (SIZE_TYPE, PTRDIFF_TYPE): Define as unsigned int, and int if not - defined already. - - * mips.c (init_cumulative_args): Use a static structure to - initialize the CUMULATIVE_ARGS structure. - (function_arg_advance): Add a newline at the end of debug output. - (function_arg): If a structure is passed as a QImode or HImode - value in a register, record the fact for the call define_expands - and prologue expander to move the structure into the high part of - the register, and back again. If debugging, print if the argument - is a structure. - (mips_expand_prologue): Shift any QI/HI structures passed back, so - they can be used as normal QI/HI values. - - * mips.md (call): If there were any tiny structures passes as - QI/HI modes in registers, shift the register, so that the - structure value is in the high part of the register. - (call_value): Ditto. - (call_internal): Delete creating $31 rtx, since we can get it from - the normal insn patterns. - (call_value_internal): Ditto. - -Fri Dec 18 05:14:14 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - - Make abstract virtual functions work. - * cp-call.c (compute_conversion_costs): Undo change of Sept 1 about - setting HARSHNESS to 0 re: the conversion of the first argument. - (build_method_call): Delete the code that redid the RTL for calling - the right fn, since we will now behave correctly. (Even with this, - we ended up calling the wrong fn---the base class, rather than the - derived one.) - - * cp-decl2.c (grokclassfn): Try using the local value for a nested - type if the IDENTIFIER_TYPE_VALUE isn't there. - - * cp-method.c (build_overload_nested_name): Use DECL_NAME instead of - DECL_ASSEMBLER_NAME, since pushtag now mangles together - DECL_ASSEMBLER_NAME. This will make us emit `Q21D1B', not `Q221D1B'. - -Thu Dec 17 17:51:16 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * Makefile.in (install-dir): Added missing then and semicolon. - -Thu Dec 17 15:19:36 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * x-i386s4 (CC): New assignment. - -Wed Dec 16 15:49:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * objc-actions.c (finish_objc) [OBJC_SELECTORS_WITHOUT_LABELS]: - Always call build_selector_translation_table. - - * Makefile.in (install-dir): - If cross-compiler, create $(tooldir) and $(assertdir). - -Wed Dec 16 14:19:08 1992 Richard Kenner (kenner at vlsi1.ultra.nyu) - - * rs6000.h (INITIALIZE_TRAMPOLINE): Get function address and toc - pointer from correct place relative to FNADDR. - - * varasm.c (assemble_trampoline_template): If TRAMPOLINE_SECTION - is defined, put the trampoline template into that section. - - * alpha.h (TRAMPOLINE_SECTION): New macro. - -Wed Dec 16 14:19:41 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - - * reload.c (get_secondary_mem): Don't save address if it isn't valid. - -Wed Dec 16 13:59:17 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * varasm.c (assemble_trampoline_template): - Use readonly_data_section, not text_section. - -Wed Dec 16 11:32:11 1992 Michael Meissner (meissner@osf.org) - - * mips.h (MIPS_VERSION): Set Meissner version # to 32. - (compute_frame_size): Change function return type to long. - (epilogue_reg_mentioned_p): New function decl. - (mips_frame_info): Change unsigned longs to longs. - (ELIGIBLE_FOR_EPILOGUE_DELAY): Call epilogue_reg_mentioned_p. - - * mips.c (epilogue_reg_mentioned_p): New function to return true - if any register used in the epilogue sequence is referenced. If - the stack size is greater than 32k bytes, return true for - registers $8 and $9, since they are used to hold temps. - (compute_frame_size): Change return type & variables to long. - (compute_frame_size): Use 1L in shifts to create GP save mask. - (save_restore): Merge function into save_restore_insns. - (save_restore_insns): Add FILE * argument, to write to the .s - file if non-NULL -- otherwise produce insns. Add arguments to - pass in that the prologue/epilogue has loaded the stack size into - $8 if large stack frame. Completely rewrite large stack frame - support, so that it doesn't abort if large stack frame, saved GP - registers, and no saved FP registers. If large stack frame, use - stack size stored in $8 if we can. - (function_prologue): Make tsize long. - (function_epilogue): Ditto. - (mips_expand_prologue): Ditto. - (mips_expand_epilogue): Ditto. - (mips_expand_prologue): Change call to save_restore_insns. - (mips_expand_epilogue): Ditto. - (function_epilogue): Call save_restore_insns instead of - save_restore. - -Wed Dec 16 07:33:08 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * stmt.c (expand_goto): Set LABEL_REF_NONLOCAL_P in the LABEL_REF - we make in the non-local case. - - * varasm.c (assemble_trampoline_template): Always put template in - text section. - -Wed Dec 16 05:04:06 1992 Tom Wood (wood@dg-rtp.dg.com) - - * combine.c (try_combine): Allow for the case where I3 becomes an - unconditional jump when it is the last nonnote insn. - -Tue Dec 15 20:30:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * cccp.c (do_pragma): Use index, not strchr. - - * seq386.h (FUNCTION_PROFILER): Add missing . to label name. - - * reload1.c (eliminate_regs_in_insn): Test old_body, not new_body, - since people have tested it that way. - - * reload1.c (eliminate_regs_in_insn): Don't recopy new_body - if it is an asm_operands insn. - -Tue Dec 15 19:42:58 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - - * sparc.md (return peepholes): Add QImode and HImode move/return - patterns. - -Tue Dec 15 17:42:07 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * alpha.h (ASM_SPEC): New macro. - - * alpha.h (TRAMPOLINE_{TEMPLATE,SIZE}, INITIALIZE_TRAMPOLINE): - Make major changes to fix numerous bugs. - (TRANSFER_FROM_TRAMPOLINE): New macro. - * alpha.md: Add new UNSPEC_VOLATILE 0 to flush instruction cache. - -Mon Dec 14 13:16:14 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * rs6000.c (output_epilog): Support LANGUAGE_STRING values for F77, - Ada, and Pascal. - -Sun Dec 13 16:42:26 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * fixinc.sco: Complete rewrite by ian@cygnus.com. - -Sat Dec 12 17:51:43 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * va-alpha.h: Correctly form multi-word object. - - * alpha.c (alpha_builtin_savregs): Correctly compute ARGSIZE and NREGS. - - * alpha.h (FUNCTION_ARG_PASS_BY_REFERENCE): Deleted. - -Sat Dec 12 08:42:43 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) - - * pa-hpux.h (TARGET_DEFAULT): Do not enable TARGET_SHARED_LIBS - by default in 2.3.3 since it doesn't really work. - * pa-ghpux.h, pa1-hpux.h, pa1-ghpux.h: Likewise. - - * pa.md (floatsisf, floatsidf): Do not accept general registers. - -Fri Dec 11 00:13:52 1992 Ian Lance Taylor (ian@cygnus.com) - - * configure (i[34]86-*-sco3.2v4*): Use fixinc.sco. - * fixinc.sco: New file. - Like fixinc.svr4 but turn !__STDC__ into !__STRICT_ANSI__. Don't - require space after getcwd argument in stdlib.h. - * x-i386s4: Don't use rcc: - (CC, OLDCC, RCCFLAGS, CCLIBFLAGS): Vars deleted. - * xm-i386sco.h (ONLY_INT_FIELDS): Define if not __GNUC__. - (CODE_FIELD_BUG): Likewise. - * rtl.h (struct rtx_def) [ONLY_INT_FIELDS]: Handle CODE_FIELD_BUG. - -Fri Dec 11 17:56:53 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) - - * cp-search.c (lookup_nested_field): Check for assignment to members - of an enclosing class only when looking at a member, not at other - things (like nested types). - - * cp-cvt.c (convert_to_reference): If a conversion can be found via - a constructor, then use it. Also fix a typo about when to - return the result of a type conversion. - -Fri Dec 11 08:15:53 1992 James Van Artsdalen (james@bigtex.cactus.org) - - * reload1.c (choose_reload_regs): Don't inherit a reload if the - previous reload wasn't at least as wide as the current reload. - -Fri Dec 11 07:19:11 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * alpha.c (output_epilog): Remove garbage from one decl of EXTRA. - Subtract, not add, size from frame pointer. - - * a29kunix.h (LINK_SPEC): Use -T, not -c, for new gld and change file - name to default.gld from default.ld. - - * function.c (assign_outer_stack_local): Align proper frame offset. - - * loop.c (get_condition): Check for overflow when canonicalizing - comparison. - -Thu Dec 10 15:53:41 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - - * enquire.c (i_define, u_define, f_define): Add #undef before #define. - * fixinc.svr4 (limits.h): Add #ifndef/#endif around macros that - are supposed to be defined in float.h. - - * combine.c (try_combine): Only use I2DEST as a scratch reg for - a split if it does not overlap any inputs of NEWPAT. - -Thu Dec 10 10:23:28 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * combine.c (get_last_value): Never use value from later insn, even - if reg is only set once. - - * c-tree.h (IDENTIFIER_LIMBO_VALUE): Delete duplicate definition. - -Thu Dec 10 08:54:03 1992 Tom Wood (wood@dg-rtp.dg.com) - - * i386sco4.h (CPP_PREDEFINES): Define i386 and unix here. - (CPP_SPEC): Not here. - -Wed Dec 9 19:03:55 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) - - * pa.h (ASM_DECLARE_FUNCTION_NAME): Correctly get the return type - of DECL. - - * x-pa (CC): Set to "/usr/local/bin/gcc" instead of - "/usr/local/gcc". - -Tue Dec 8 17:50:26 1992 Michael Meissner (meissner@osf.org) - - * mips.h (MIPS_VERSION): Bump Meissner version number to 31. - (LEGITIMIZE_ADDDRESS): Split large offsets, even when not - optimizing. Otherwise, illegal stack offsets can be generated. - -Tue Dec 8 11:55:52 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) - - * pa.md (sh[123]add): Use "shadd_operand" as the predicate for - operand one. - * pa.c (shadd_operand): New function. - -Tue Dec 8 08:30:13 1992 Tom Wood (wood@dg-rtp.dg.com) - - * hp320.h (AS_BUG_FLOATING_CONSTANT, AS_BUG_TRAILING_LABEL): New. - (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Output align 1 to - accomodate the "trailing label" bug. - (ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_FLOAT_OPERAND): Define to - output values in hex to accomodate the "floating constant" bug. - (PRINT_OPERAND_FLOAT, PRINT_OPERAND): Ditto. - - * gcc.c (temp_names): New variable. - (do_spec_1): Rewrite MKTEMP_EACH_FILE for %g/%u/%U. - (choose_temp_base): Abort if mktemp yields a null string. - -Tue Dec 8 08:30:13 1992 Niklas Hallqvist (niklas@della.appli.se) - - * integrate.c (expand_inline_function): Don't output line notes - for implicit formals. - -Tue Dec 8 06:21:44 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * cse.c (max_uid): New variable. - (cse_end_of_basic_block): Use it to ignore insns made by CSE. - (cse_main): Set it. - -Mon Dec 7 21:22:29 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) - - * cp-init.c (do_friend): Revert change of Sept 1; it seems to have - broken properly emitting friends. - -Mon Dec 7 19:09:25 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * reload1.c (eliminate_regs_in_insn): Make another copy of all the - RTL if we changed something and we aren't permanently replacing. - - * romp.md (reload_out{q,h}i): Write as proper PARALLEL. - -Sun Dec 6 16:27:14 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * alpha.md (add-mult): Add missing `&' in constraints of kludge - plus/plus/mult pattern. - -Sun Dec 6 16:26:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * optabs.c (expand_binop): Correct sign of complex quotient imagpart. - -Sun Dec 6 07:59:16 1992 Michael Meissner (meissner@osf.org) - - * mips.h (MIPS_VERSION): Set Meissner version # to 30. - (LEGITIMIZE_ADDRESS): For + addresses, rewrite so - that + ( & ~0x7fff) is put into a pseudo reg. - This is to allow CSE to generate better code for repeated - references in the same general vicinity, such as when large stack - frames are used. - - * config/dec-osf1.h (LINK_SPEC): Pass -call_shared, -no_archive, - and -exact_version to the linker. If -call_shared, do not pass - -non_shared to the linker. - * mips-5.h (LINK_SPEC): Ditto. - * mips-5bsd.h (LINK_SPEC): Ditto. - * mips-svr4.h (LINK_SPEC): Ditto. - * mips-sysv.h (LINK_SPEC): Ditto. - -Fri Dec 4 19:50:29 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * fixincludes: fix _cplusplus typo in SCO's tinfo.h - -Fri Dec 4 19:22:35 1992 Randy S. Welch (randy@kcin.alphacdc.com) - - * xm-plexus.h: New file. - * configure (m68k-plexus-sysv*): Use it. - -Fri Dec 4 19:21:44 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c-decl.c (start_function): Use TYPE_MAIN_VARIANT when comparing - return type with previous prototype declaration. - - * cccp.c (output_line_command): Use alloca for line_cmd_buf. - -Fri Dec 4 19:20:34 1992 Richard Kenner (kenner@mole.gnu.ai.mit.edu) - - * cse.c (cse_insn): Always pass result of canon_reg through - validate_change before using it in insn. - - * c-decl.c, cp-decl.c (init_decl_processing): Don't use hardwired - sizes for the modes when making int{Q,H,S,D}I_type_mode and the - unsigned versions of them; the actual size depends on BITS_PER_UNIT. - -Fri Dec 4 19:13:35 1992 Jonas Olsson (ljo@po.cwru.edu) - - * i386bsd.h (ASM_OUTPUT_ADDR_DIFF_ELT, JUMP_TABLES_IN_TEXT_SECTION): - Copy definitions from i386v4.h to get PIC code correct. - -Thu Dec 3 19:20:14 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-decl.c: Include sys/types.h for systems that need things for - signal.h. - -Thu Dec 3 01:40:42 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - - * sparc.c (finalize_pic): Remove "*_" from GLOBAL_OFFSET_TABLE name. - * spc-sol2.h (ASM_SPEC): Pass "-K PIC" to assembler when pic. - (JUMP_TABLES_IN_TEXT_SECTION): Define. - (SELECT_RTX_SECTION): Define. - - * fixincludes (sys/types.h): Check for [ \t]size_t not size_t. - -Wed Dec 2 15:40:36 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * configure (rs6000-ibm-aix32): New target. - * rs6000-aix32.h: New file. - -Tue Dec 1 18:05:20 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-type2.c (build_functional_cast): Revert change of Nov 2, - concerning clearing the TREE_VALUE of a default parameter. - -Tue Dec 1 13:33:25 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - - * local-alloc.c (optimize_reg_copy_2): Correct reg_n_refs updates. - - * Makefile.in (INSTALLED_H): Add syslimits.h. - -Tue Dec 1 11:09:50 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-call.c (build_method_call): When looking for a default arg - initialized by a ctor, be careful of a null ref w/ operand 1. - -Tue Dec 1 10:43:13 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * combine.c (num_sign_bit_copies): Return 1 on failure, not 0. - Fix typo in last change; return 1 on failure, not BITWIDTH. - -Tue Dec 1 09:39:47 1992 Michael Meissner (meissner@osf.org) - - * mips.c (function_prologue): Do not emit a .loc before the - function if debug level is 1. This confuses gdb. - -Tue Dec 1 02:48:29 1992 James Van Artsdalen (james at bigtex.cactus.org) - - * isc.h (TARGET_DEFAULT): New macro - don't make TARGET_IEEE_FP - default for ISC. - -Fri Nov 27 01:30:41 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Version 2.3.2 released. - - * objc/core.c (searchForMethodInHierarchy): - If SEL or NAME is 0, return 0. - - * gcc.c (LINK_LIBGCC_SPECIAL_1): New parameter. - * rs6000.h (LINK_LIBGCC_SPECIAL_1): Defined. - - * t-hp320g (RANLIB, RANLIB_TEST, AR, AR_FLAGS): - Just copy value of ..._FOR_TARGET. - (LIBCONVERT): Use TARGET_TOOLPREFIX. - - * reload.c (find_reloads) [SMALL_REGISTER_CLASSES]: - Don't use preferred_class for a multiword register. - - * cccp.c (do_include): Initialize searchptr to 0. - -Fri Nov 27 07:40:54 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * combine.c (subst, make_field_assignment, num_sign_bit_copies): - Protect calls to significant_bits; unless we only care if the - result is a power of two, don't call if mode size is wider - than HOST_BITS_PER_WIDE_INT. - (extended_count, simplify_shift_const, simplify_comparison): Likewise. - -Thu Nov 26 10:31:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * gstdarg.h (va_end): #undef before the declaration. - - * gstdarg.h (va_arg): Alternative definition for big-endian machines. - * gvarargs.h (va_arg): Copy both definitions from gstdarg.h. - - * limitx.h, limit.y: Test and define _GCC_LIMITS_H_, not _LIMITS_H_. - - * mips.c (mips_debugger_offset): Don't crash for unknown cases. - - * c-typeck.c (build_unary_op): Call pedantic_lvalue_warning - for *all* cases of incrementing a cast. - - * libgcc2.c (__udiv_w_sdiv): Cast 1 before shifting by 31. - - * fixincludes (PWDCMD): New variable, set specially for Apollos. - Use it to get the working dir. - - * combine.c (num_sign_bit_copies): Fix 1-off error in PLUS case. - - * c++: Put newline into `for arg do'. - -Thu Nov 26 08:32:20 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * expmed.c (struct algorithm): Make coeff a HOST_WIDE_INT. - - * romp.c (output_epilog): Always call output_fpops. - -Wed Nov 25 16:24:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Makefile.in (install-fixincludes): Use SYSTEM_HEADER_DIR. - - * m68ksgs.h (ASM_OUTPUT_DOUBLE_OPERAND): Really use the operand VALUE. - - * tree.h (CONSTRUCTOR_NAME_FORMAT): Let config.h override this. - * tower-as.h (CONSTRUCTOR_NAME_FORMAT): Defined. - - * c++: Replace `for arg do' which ash can't handle. - - * t-next (OTHER_FIXINCLUDES_DIRS): Delete /NextDeveloper/Headers. - - * apollo68.h (HAVE_ATEXIT): Commented out. - - * regclass.c: Fix typo in use of SECONDARY_INPUT_RELOAD_CLASS. - (copy_cost): Fix typo in use of SECONDARY_OUTPUT_RELOAD_CLASS. - -Wed Nov 25 14:15:50 1992 Jim Wilson (wilson@sphagnum.cygnus.com) - - * fixinc.svr4 (regexp.h): Don't add a getrnge declaration if a - conflicting declaration is already present. - -Wed Nov 25 06:47:18 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * rs6000.h (LINK_LIBGCC_SPECIAL): No longer define. - - * stmt.c (expand_value_return): Don't emit move between differing - modes when PROMOTE_FUNCTION_RETURN is defined; convert instead. - - * integrate.c (expand_inline_function): Ensure a REG used as - COPY has REG_USERVAR_P set if LOC does. - - * optabs.c (expand_binop, expand_twoval_binop): If we are going - to fail, remove any load from MEM we did due to -fforce-mem; - if the MEM was volatile, this will cause an extra load. - (expand_complex_abs): Likewise. - Correct use of variable LAST so it doesn't include the load - from MEM (to fix unrelated bug). - -Tue Nov 24 00:23:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * i386bsd.h (FUNCTION_PROFILER): Use mcount, not _mcount. - - * t-next (OTHER_FIXINCLUDES_DIRS): Leave just /LocalDeveloper/Headers - and /NextDeveloper/Headers. - -Mon Nov 23 22:06:31 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * ns32k.md (movsi): Split alt 1 to deprecate xy classes in operand 1. - - * combine.c (make_extraction): When making a low part subreg of a reg, - use inner_mode, not is_mode. - -Mon Nov 23 21:11:13 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * romp.h (ASM_FILE_START): Stop at first blank in VERSION_STRING. - -Mon Nov 23 21:09:20 1992 Tom Wood (wood@dg-rtp.dg.com) - - * fold-const.c (range_test): Convert the constants to the unsigned - type before expanding the range test. - -Mon Nov 23 20:54:45 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - - Mon Nov 23 13:21:43 1992 Brendan Kehoe (brendan@cygnus.com) - - * c++ (first): Only shift if $first is no, on the chance we got no - arguments at all. If we didn't get anything, say so (since -lg++ - will fake out the gcc driver into thinking we want to do something). - - * cp-decl.c (start_decl): If grokdeclarator returns a - void_type_node, return a NULL_TREE. - - * cp-typeck.c (build_modify_expr_1): When calling build_opfncall for - `operator=', use make_node to create a plain NOP_EXPR for it to use, - rather than trying to pass NOP_EXPR down hoping it gets there intact. - (build_modify_expr): Ditto. - * cp-parse.y (expr_no_commas): Ditto. - * cp-method.c (build_opfncall): Use TREE_CODE on ARG3 for a - MODIFY_EXPR, since it'll be coming in properly as a tree now. - - Sat Nov 21 02:33:28 1992 Brendan Kehoe (brendan@cygnus.com) - - * cp-init.c (expand_default_init): Clear DECL_REGISTER if we're - going to call a ctor, otherwise we may end up generating bogus and - confusing error messages about taking the addr of something declared - to be `register'. - - * cp-typeck.c (build_x_function_call): Recognize a ptr-to-method - that is being passed in as a function argument or as part of - a COMPONENT_REF. - (build_indirect_ref): If ERRORSTRING is NULL (it's passed in that - way in many places), then don't try to use it. - - Thu Nov 19 01:41:58 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-dem.c (do_builtin_type): Recognize `w', a wide character, since - it's now a type according to the ANSI X3J16 working paper; output - "wchar_t" for it. - (cplus_demangle): Accept `w' as an integral type. - - Wed Nov 18 21:29:14 1992 Brendan Kehoe (brendan@cygnus.com) - - * cp-class.c (finish_struct): Re-enable code to cut down on the size - of symbol output, the positives outweigh the negatives. - - Wed Nov 18 19:51:59 1992 Mike Stump (mrs@cygnus.com) - - * cp-search.c (dfs_walk): Move setting of - vbase_decl_ptr_intermediate out of #ifdef code. - - Wed Nov 18 18:49:13 1992 Mike Stump (mrs@cygnus.com) - - * cp-decl.c (grokdeclarator): Make wording on error message - stronger. - - Tue Nov 17 17:46:11 1992 Brendan Kehoe (brendan@cygnus.com) - - * cp-search.c (CHECK_convert_pointer_to_single_level): Don't define. - -Mon Nov 23 19:44:38 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * mot3300.h (switch_table_difference_label_flag): Define it. - - * ns32k.md (addsi3): Add & for alternative 1 in operand 0. - -Mon Nov 23 18:29:27 1992 Jim Wilson (wilson@sphagnum.cygnus.com) - - * genattrtab.c (obstack.h): Include after sys/time.h. - - * c-decl.c (duplicate_decls): For builtins, create new function - type instead of trying to modify old one. - -Mon Nov 23 16:28:36 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * i386bsd.h (COMMENT_BEGIN): Redefine as #. - (ASM_APP_ON, ASM_APP_OFF): Redefine to use #. - - * combine.c (num_sign_bit_copies): Inhibit x-1 special case - when x is a paradoxical subreg. - - * xm-linux.h (malloc, calloc): Definitions deleted. - -Mon Nov 23 11:52:41 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) - - * pa.md (sh[123]add): Use "nonmemory_operand" instead of - "register_operand" as the predicate for the first operand. - -Mon Nov 23 00:29:27 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * gcc.c (default_compilers): Pass -i* after -U*. - -Sun Nov 22 17:03:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * hp320.h (FUNCTION_PROFILER): Complete replacement. - - * xm-hp320.h (index, rindex): Defined. - - * gstddef.h: Fix prev change; test of _STDDEF_H was backwards. - -Sun Nov 22 16:12:38 1992 Tom Wood (wood@dg-rtp.dg.com) - - * toplev.c (W_options): Delete -Wreturn-type, as it is in lang_options. - * c-decl.c (c_decode_option): Decode -Wreturn-type. - - * c-decl.c, cp-decl.c (pushdecl): Don't inherit DECL_INITIAL when - redeclaring the current function. - - * integrate.c (expand_inline_function): Use the original - declaration of the inlined function rather than a redeclaration as - the BLOCK_ABSTRACT_ORIGIN of the body. - -Sat Nov 21 19:54:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * cccp.c (main): Do -D's and -A's and -U's in order specified. - - * gcc.c (default_compilers): When running cpp, - move %{D*} and %{U*} (in that order) just before %i. - -Sat Nov 21 18:24:55 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - - * xm-pa.h: Remove #ifdef hpux stuff. - (S_ISDIR): Remove. - * xm-pahpux.h: New file, developed from old xm-pa.h. Define - rindex/index. - * pa-hpux7.h, pa-gux7.h: New files. - - * configure (hppa1.0-*-hpux*, hppa1.0-*-hpux*): Use xm-pahpux.h. - (hppa1.0-*-hpux7*): New alternative. - -Sat Nov 21 14:10:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * spc-sol2.h (SWITCH_TAKES_ARG, LINK_SPEC): New override definitions. - - * xm-mot3300.h (index, rindex): Defined. - -Sat Nov 21 07:54:53 1992 Michael Meissner (meissner@osf.org) - - * mips.h (MIPS_VERSION): Set Meissner version number to 29. - - * mips.c (mips_expand_prologue): If profiling, emit an insn to - block other insns from being scheduled before the end of the - prologue. - - * mips.md (blockage): New unspec_volatile insn to prevent other - insns from being scheduled before it. - -Sat Nov 21 06:03:38 1992 Brendan Kehoe (brendan@cygnus.com) - - * sdbout.c (template_name_p): New function. - (sdbout_record_type_name): Use it to possibly use the - DECL_ASSEMBLER_NAME instead of DECL_NAME if looking at a template. - (sdbout_symbol): Ditto. - -Fri Nov 20 15:31:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * dbxout.c (dbxout_type): Handle need for name of a RECORD_TYPE - when it has none. - - * configure (sparc-*-solaris2): Set broken_install. - - * integrate.c (subst_constants): Inhibit special treatment of subreg - when the stuff inside is not a reg. - - * config/plexus.h (SIZE_TYPE): Fix syntax. - - * gcc.c (do_spec_1): Handle MKTEMP_EACH_FILE. - -Fri Nov 20 15:10:20 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * fixincludes (math.h): Get rid of inconsistent inline definitions - for abs that are present in HP-UX 8.0. - -Fri Nov 20 10:07:48 1992 Michael Meissner (meissner@osf.org) - - * collect2.c (FREAD, FWRITE): Undef these macros if they were - defined before including ldfcn.h. - -Fri Nov 20 15:38:47 1992 Tom Wood (wood@dg-rtp.dg.com) - - * integrate.c (expand_inline_function): Mark all notes as integrated. - - * final.c (final): When producing SDB debugging info, delete line - number notes from inlined functions in other files as well as - duplicate line number notes. - -Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu) - - * config.sub: Added machines and operating systems for Emacs - ports, since Emacs now uses config.sub for its configuration. - New manufacturers recognized not to be operating systems: High - Level Hardware (highlevel, defaults to using BSD), Gould - (gould, defaults to System V), Commodore (cbm, defaults to - amigados), National Semiconductor (ns, defaults to Genix), and - Masscomp (masscomp, defaults to RTU). - Recognize the NS1600 (ns16k) and the Clipper (clipper) as - processors. - Recognize these processors with default manufacturers: the - Cydra (cydra) from Cydrome (cydrome), the XPS100 (xps100) from - Honeywell (honeywell), and the Orion (orion) and Orion 1/05 - (orion105) from High Level Hardware (highlevel). - If the ISC operating system is given with a version number, - don't kill it and set it to 2.2; just have it default to 2.2 - if omitted. - Make Irix SGI's default operating system, not SYSV. - Make BSD Encore's default, so it applies for all Encore - machines, not just the umax and mmax abbreviations. - All of Encore's machines use BSD, not just the ns32k-based - ones. Make it the manufacturer's default. - Make it possible to specify an operating system for a Gould - machine. Make sysv the manufacturer's default, so it applies - when we specify the manufacturer as well as when we omit it. - Add Uniplus (uniplus), Iris (iris), Xenix (xenix), and RTU - (rtu) as recognized operating system names. - -Wed Nov 18 17:58:18 1992 Karl Berry (karl@cs.umb.edu) - - * i386iscgas.h (SDB_DEBUGGING_INFO): #undef. - (DBX_DEBUGGING_INFO): #define. - (DBX_OUTPUT_MAIN_SOURCE_{DIRECTORY,FILENAME}): Override dbxout.c. - - * bsd386.h (LPREFIX) [NO_UNDERSCORES]: Define as `.L'. - -Wed Nov 18 13:50:43 1992 Michael Meissner (meissner@osf.org) - - * mips.c (compute_frame_size): Make sure the {gp,fp}+offset fields - are always initialized, even if there were no gp/fp registers - saved. - -Wed Nov 18 09:58:50 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * a29k.md (insv): Remove constraints from operand matching - const_0_operand. - - * regclass.c (regclass): Add missing cast from enum to int. - -Wed Nov 18 09:40:01 1992 John Hassey (hassey@dg-rtp.dg.com) - - * core.c (initialize_class): The class may not have an initialize - method. - -Wed Nov 18 09:40:01 1992 Wilson Tien (wtien@urbana.mcd.mot.com) - - * xm-m68kv.h (rindex, index): use strrchr and strchr instead. - -Wed Nov 18 01:27:37 1992 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) - - * config.sub: Added Xenix operating system. - -Tue Nov 17 18:32:01 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * reload.c (combine_reloads): Don't combine with a reload needed - for multiple things. - -Mon Nov 16 08:52:52 1992 Jeffrey A. Law (law@mole.gnu.ai.mit.edu) - - * pa.c (output_move_double): Handle indirect stores to memory - via an auto-incremented/auto-decremented register in the same - manner in which loads are handled. - -Thu Nov 12 21:02:59 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) - - Cygnus<-->FSF merge. - - Thu Nov 12 15:02:53 1992 Brendan Kehoe (brendan@cygnus.com) - - * cp-decl.c (finish_decl): Don't try to use TYPE if it's an - error_mark_node. - - * cp-decl.c (sigsegv): Set to the default handler before calling - anything, so we can avoid possible infinite loops. Call - my_friendly_abort instead of just error(). - * cp-type2.c (my_friendly_abort): If I is 0, it's coming from sigsegv. - - * cp-type2.c (my_friendly_assert): New function. - * cp-call.c, cp-class.c, cp-class.h, cp-cvt.c, cp-decl.c, cp-decl.h, - cp-decl2.c, cp-dem.c, cp-edsel.c, cp-except.c, cp-expr.c, cp-gc.c, - cp-hash.h, cp-init.c, cp-input.c, cp-lex.c, cp-lex.h, cp-method.c, - cp-pt.c, cp-search.c, cp-spew.c, cp-tree.c, cp-tree.h, cp-type2.c, - cp-typeck.c, cp-xref.c, cp-parse.y: Don't include assert.h, and use - the new function `my_friendly_assert' instead of the `assert' macro. - - Wed Nov 11 22:14:51 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - - * tree.h (perm_calloc): Add decl. - * cp-parse.y (except_stmts): Declare return type of get_insns, - since we don't (can't) include rtl.h. - * cp-tree.c (TYPE_HASH): Use HOST_WIDE_INT instead of int when - casting pointers to integers. - (ld_cmp): Likewise. - * cp-call.c (build_method_call): Likewise. - * cp-class.c (finish_struct_methods): Likewise. - * cp-method.c (build_overload_value): Add decl of index. - (build_opfncall): Cast to HOST_WIDE_INT, not int. - * cp-search.c (get_binfo): Likewise. - (get_base_distance): Likewise. - (breadth_first_search): Likewise. Also declare to return - HOST_WIDE_INT, not int. - - Wed Nov 11 14:34:25 1992 Mike Stump (mrs@rtl.cygnus.com) - - Thu Nov 5 15:58:38 1992 Tim Moore (moore at defmacro.cs.utah.edu) - - * cp-decl.c (duplicate_decls): Round to obstack alignment when - testing if newdecl is at the top of the permanent obstack. - - Wed Nov 11 13:56:18 1992 Mike Stump (mrs@rtl.cygnus.com) - - * cp-search.c (build_vbase_vtables_init): Make sure external virtual - tables are declared on machines that need the declaration by calling - assemble_external. - - Wed Nov 11 12:51:44 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-decl2.c (grokfield): If the init field is really a list with - just an error_mark_node, then it wasn't a real initialization, so - don't treat it like one. - - Tue Nov 10 16:21:20 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-init.c (build_new): If arg 1 of an array reference is an - error_mark, then just pretend that there were 0 elements. - - Tue Nov 10 13:23:30 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-typeck.c (build_x_function_call): If the type of FUNCTION is an - error_mark, don't bother checking its lang-specific info. - - Tue Nov 10 12:38:36 1992 Mike Stump (mrs@rtl.cygnus.com) - - * cp-decl.c (decls_match): Avoid core dumping when TREE_TYPE is - NULL_TREE, as is the case when olddecl is a TEMPLATE_DECL. - - Tue Nov 10 11:03:36 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-decl.c (pushdecl_top_level): Disable assert for now; it's - always acted correctly. - - Mon Nov 9 12:04:27 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-parse.y (try_for_typename): Deleted rule. - (scoped_id): Don't use it. - - Fri Nov 6 18:07:37 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-init.c (expand_aggr_init): If INIT is 0, don't bother trying to - play with its type. - - Thu Nov 5 16:52:37 1992 Chip Salzenberg (chip@tct.com) - - * cp-decl.c (finish_decl): Set TREE_STATIC, TREE_PUBLIC and - DECL_EXTERNAL correctly for use with #pragma interface. - - Fri Nov 6 10:07:01 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-class.c (finish_struct): Don't try to work with a field that - got a bogus type. - - * cp-method.c (build_overload_value): Don't call debug_tree! - - * cp-call.c (build_method_call): If processing a default argument - that calls a ctor for its default value, use INSTANCE_PTR for the - parm list, discarding what we knew before. - - * cp-decl.c (grokdeclarator): If initializing a const member and - acting pedantic, then do make it an error. - - * cp-decl2.c (warn_traditional): New variable. - (lang_decode_option): Use it for -Wtraditional and -Wno-traditional. - * cp-tree.h (warn_traditional): Add decl. - * cp-lex.c (readescape): For x, avoid overflow when shifting in if. - Warn for \a and \x if warn_traditional; pass through - the escaped x and a if -traditional. Support \e like \E; for both, - pedwarn about ANSI C. - - * cp-call.c (find_scoped_type): Delete arg TAGS; instead, compute it - inside from TYPE. If TAGS is null, don't return immediately, since - we need to look for TYPE_DECLs. - (resolve_scope_to_name): Call find_scoped_type without replicating - the tags. - - Thu Nov 5 17:53:32 1992 Brendan Kehoe (brendan@cygnus.com) - - * cp-decl.c (grokdeclarator): Constant class members can be - initialized. - - Thu Nov 5 17:11:30 1992 Mike Stump (mrs@cygnus.com) - - Thu Nov 5 19:48:17 1992 Niklas Hallqvist (niklas@appli.se) - - * cp-pt.c (instantiate_class_template): Types are used in later - processing, so they must go into the permanent obstack. - - Thu Nov 5 13:02:56 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-decl.c (grokdeclarator): Don't allow members to be initialized - in the class declaration. - - * cp-decl2.c (finish_file): Set the DECL_CLASS_CONTEXT on a function - that's a file-scope set of ctors/dtors for global variables, so - is_friend will see things the way they should be seen. - - * cp-call.c (find_scoped_type): New function. - (resolve_scope_to_name): Use it to check for names that might be in - base classes. - - Wed Nov 4 00:43:15 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-parse.y (db_yyerror): Deleted fn. - (yyprint, yyerror, init_parse, yyhook, reduce_cmp, token_cmp, - print_parse_statistics,set_yydebug, debug_yytranslate): Moved to - cp-lex.c. - (reduce_count, token_count): Ditto. - (current_declspecs): Made static. - - * cp-typeck.c (build_c_cast): Warn if casting between a pointer and - an integer whose sizes differ. - - * cp-parse.y (unary_expr): Finish making new with placement work; - use the rule `new' instead of the token `NEW' when parsing it. - - Tue Nov 3 02:16:47 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-typeck.c (c_expand_return): Avoid referencing DECL_NAME if it's - null when checking for a ref to or the addr of a local variable. - - * cp-search.c (dfs_pushdecls): Don't try to use the context of a - field which has none at the time. - - * cp-decl.c (redeclaration_error_message): Don't complain about - redefinition of a function if it's a definition of an abstract - virtual function. - (duplicate_decls): For an abstract virtual, don't use the old RTL - from abort when creating the RTL for the newdecl. - - Tue Nov 3 00:15:44 1992 Brendan Kehoe (brendan@cygnus.com) - - * cp-decl.c (grokdeclarator): For `inline', `unsigned', and `signed', - see them as types, not as storage class specs, when looking for more - than one storage class. - - * cp-lex.c (readescape): New arg ignore_ptr. - (real_yylex): Pass new arg, handle result that comes back. - - * cp-decl.c (WCHAR_TYPE_SIZE): Deleted; never used. - - Mon Nov 2 10:23:52 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-lex.c (real_yylex): Let skip_white_space handle \r. - - * cp-parse.y (parmlist): Warn on a decl `foo (...)', without a first - argument. - - * cp-type2.c (build_functional_cast): If expr_as_ctor's argument is - a SAVE_EXPR, don't wipe out the argument. - - * cp-call.c (build_method_call): Only complain about not having an - object for a called method if the method is non-static. - - Sun Nov 1 16:50:14 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-decl2.c (warn_char_subscripts): Declare. - (lang_decode_option): Handle -Wchar-subscripts. - * cp-typeck.c (build_array_ref): If the type of either the array or - its index is an error_mark_node, then return one. Add code to see - if the index is a character (add warning), then do the default - promotions. Don't warn if it's a register array. Make a ref - volatile if the array is volatile. - * cp-tree.h (warn_char_subscripts): Add decl. - - * cp-typeck.c (common_type): If either type is nonsense (an - error_mark), use the other type. - - Thu Oct 29 18:39:50 1992 Mike Stump (mrs@cygnus.com) - - * cp-decl.c (grokdeclarator): Fix problem introduce by me on Oct 22 - 17:41:13. Put back call to build_offset_type that I took out, as it - is not wrong, as the comment for build_offset_type had led me to - believe. - - Thu Oct 29 17:30:12 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-cvt.c: Delete block-level extern decls; include flags.h instead. - * cp-tree.h (flag_int_enum_equivalence): Declare here. - * cp-call.c: Not here. - - * Makefile.in (stamp-cp-parse): There are now only 29 shift/reduce - conflicts, because of the removed wrapper stuff. - - * cp-lex.c (lastiddecl, ridpointers): Define here. - (NORID): Don't define here. - * cp-lex.h (NORID): Define here instead. - (ridpointers, lastiddecl, token_buffer, looking_for_typename): Ditto. - (make_pointer_declarator, make_reference_declarator, - reinit_parse_for_function, reinit_parse_for_method, yylex): Likewise. - * cp-parse.y: Don't define any of them in here. - - * cp-typeck.c (commonparms): Call tree_cons with NULL_TREEs, not 0s. - (convert_arguments): Likewise. - Throughout the file, say `ANSI C++ forbids', not `ANSI C forbids'. - * cp-lex.c, cp-type2.c: Likewise. - - Remove wrapper functionality from the compiler. - * cp-call.c (build_method_call): Delete wrap and wrap_type. - Delete code that used them. Don't set err_name to "wrapper", since - wrapper_name doesn't exist anymore. - * cp-class.c (finish_base_struct): Don't worry about TYPE_WRAP_TYPE. - * cp-decl.c (grokfndecl): Delete code for WRAPPER_EXPR and - ANTI_WRAPPER_EXPR. - (grokdeclarator): Likewise. Don't set TREE_HAS_WRAPPER_PRED. - * cp-decl2.c (grokclassfn): Likewise. - (check_classfn): Likewise. - * cp-init.c (get_member_function): Don't check TYPE_NEEDS_WRAPPER. - * cp-lex.c (real_yylex): Don't check WRAPPER_OR_ANTI_WRAPPER_NAME_P. - * cp-method.c (wrapper_name, wrapper_pred_name, anti_wrapper_name): - Deleted variables. - (init_method): Don't do any setup for *WRAPPER_*. - (hack_wrapper): Deleted function. - * cp-parse.y (wrapper): Deleted rule. - (identifier_or_opname): Deleted all wrapper predicates. - (notype_declarator): Deleted predicates LEFT_RIGHT for wrappers. - * cp-ptree.c (print_lang_type): Deleted message for printing "wrapper". - * cp-search.c (get_wrapper): Deleted fn. - * cp-tree.h (struct lang_type): Deleted has_wrapper_pred and - wrap_type members. - (build_wrapper, hack_wrapper, get_wrapper): Deleted decls. - (wrapper_name, wrapper_pred_name, anti_wrapper_name): Deleted decls. - (TYPE_WRAP_TYPE, TYPE_HAS_WRAPPER, TYPE_NEEDS_WRAPPER, - TYPE_HAS_WRAPPER_PRED, WRAPPER_DECL_FORMAT, WRAPPER_PRED_DECL_FORMAT, - ANTI_WRAPPER_DECL_FORMAT, WRAPPER_NAME_FORMAT, - WRAPPER_PRED_NAME_FORMAT, ANTI_WRAPPER_NAME_FORMAT, - WRAPPER_NAME_P, WRAPPER_PRED_NAME_P, ANTI_WRAPPER_NAME_P, - WRAPPER_OR_ANTI_WRAPPER_NAME_P): Deleted. - (enum overload_flags): Deleted WRAPPER_FLAG, WRAPPER_PRED_FLAG, - and ANTI_WRAPPER_FLAG tags. - * cp-typeck.c (build_function_call_real): Delete wrapper code. - (unary_complex_lvalue): Don't check TYPE_NEEDS_WRAPPER. - * stmt.c (warn_if_unused_value): Don't check *WRAPPER_EXPR. - * tree.def (WRAPPER_EXPR, ANTI_WRAPPER_EXPR): Deleted. - - Wed Oct 28 15:38:44 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-cvt.c (convert_to_reference): New arguments FNDECL, PARMNUM, - and ERRTYPE. Use them to give warnings about const and volatile - references being used incorrectly. Call itself with dummy arguments - where appropriate. - (convert): Call convert_to_reference with dummy args. - (convert_force): Likewise. - * cp-typeck.c (warn_for_assignment): Remove static declaration, - cp-cvt.c needs to see it now. - (convert_for_initialization): Call convert_to_reference with fndecl, - parmnum, and errtype. - - Tue Oct 27 17:38:18 1992 Mike Stump (mrs@cygnus.com) - - * cp-decl.c (grokdeclarator): Fix problem introduce by me on Oct 22 - 17:41:13. Only output error or warning message about extra - qualifiers when we are inside a class declaration. - - Tue Oct 27 16:21:41 1992 Mike Stump (mrs@cygnus.com) - - * cp-tree.h (THIS_NAME_P): Fix to reflect September 1 change in - THIS_NAME. - - Tue Oct 27 12:35:59 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-parse.y (operator_name): Remove check for top-level operator - decl. - * cp-decl.c (grokdeclarator): Complain here about type conversion - operators that aren't declared as members of classes. - - * cp-decl.c (grokdeclarator): Only call do_friend on a friend if - decl's non-zero. - - Tue Oct 27 09:31:08 1992 Mike Stump (mrs@cygnus.com) - - * cp-lex.c (do_identifier): Add missing fourth argument to - lookup_field. - - Mon Oct 26 15:15:39 1992 Mike Stump (mrs@cygnus.com) - - * cp-cvt.c (convert_to_reference): Check for ambiguities - between constructor and conversion operators a bit harder. - - Sat Oct 24 19:34:39 1992 Brendan Kehoe (brendan@cygnus.com) - - Mon Sep 14 14:36:53 1992 Chip Salzenberg (chip@tct.com) - - cp-decl.c (poplevel): If apparently nested inline function has - DECL_ABSTRACT_ORIGIN, don't output it; propagate TREE_ADDRESSABLE. - (pushdecl): When copying inline details into an extern decl, - copy DECL_RESULT, TREE_ASM_WRITTEN. Set DECL_ABSTRACT_ORIGIN. - - Fri Oct 23 18:52:19 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-decl.c (poplevel): Use error_with_decl on an unused label, so - its line number comes out correct. - - Thu Oct 22 18:31:50 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-parse.y (operator_name): If a type conversion operator is - defined at the top level, don't crash, complain. - - Thu Oct 22 17:41:13 1992 Mike Stump (mrs@cygnus.com) - - * cp-decl.c (grokdeclarator): Return void_type_node instead of - NULL_TREE on errors, to forestall another error message. Check for - redundant or illegal qualification on class members. - - Thu Oct 22 13:15:57 1992 Mike Stump (mrs@cygnus.com) - - * cp-tree.h (ANON_AGGRNAME_P): Check the second charater as well, as - it could be $vtbl_ptr_type, and not an ANON_AGGRNAME. - - Wed Oct 21 19:31:36 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-call.c (build_method_call): Initialize b_or_d to 0. - - * cp-typeck.c (compparms): Delete dead code for returning if either - TREE_PURPOSE is true when t1 and t2 are both 0. - - * cp-parse.y (object): Only pass one argument into build_x_arrow. - - * cp-parse.y (unary_expr): Add code to parse `&&label'. - (stmt): Expand computed gotos. - - * cp-method.c (fndecl_as_string): Say it's static before giving its - type, it looks better (and matches how you'd declare it). - - Wed Oct 21 16:22:43 1992 Mike Stump (mrs@cygnus.com) - - * cp-decl.c (start_decl): return NULL_TREE, not error_mark_node to - signify error. - * cp-decl2.c (cplus_decl_attributes): New function. Don't call - decl_attributes if the first argument is NULL_TREE. - * cp-tree.h (cplus_decl_attributes): Declare new function. - * cp-parse.y: Changed all calls to decl_attributes into calls to - cplus_decl_attributes, as all calls may pass NULL_TREE in the first - argument. - - Wed Oct 21 11:40:35 1992 Mike Stump (mrs@cygnus.com) - - * cp-call.c (build_method_call): Avoid an abort on parse errors by - changing an assert into a conditional my_friendly_abort. - - Tue Oct 20 16:52:32 1992 Mike Stump (mrs@cygnus.com) - - * cp-tree.h (TYPE_ASSEMBLER_NAME_STRING, - TYPE_ASSEMBLER_NAME_LENGTH): New macros. - * cp-search.c (build_type_pathname): Use new macros. - * cp-decl.c (pushtag): Set DECL_ASSEMBLER_NAME for TYPE_DECLs with - build_overload_name so that assembler names for template type things - are like __vt$t1X1Zi$1T.4 and not __vt$X$T.4. - * cp-decl.c (pushdecl): Since the rest of the compiler wants to use - DECL_NAME for TYPE_DECLs, use that instead of DECL_ASSEMBLER_NAME. - - Tue Oct 20 11:29:50 1992 Mike Stump (mrs@cygnus.com) - - Wed Oct 7 16:01:55 1992 Chip Salzenberg (chip@tct.com) - - [ changes propagated from 921005 snapshot ] - * cp-lex.c (readescape): No warning if digits in \x are all 0's. - - Fri Oct 9 15:18:19 1992 Brendan Kehoe (brendan@cygnus.com) - - * cp-decl.c (duplicate_decls): Only find out if olddecl is a - friend after we know it's not a TREE_LIST. - - Wed Oct 7 16:04:34 1992 Mike Stump (mrs@cygnus.com) - - Wed Oct 7 12:26:07 PDT 1992 Ron Guilmette (rfg at netcom.com) - - * cp-lex.c (readescape): Permit \? as an escape sequence. - - Tue Oct 6 17:54:09 1992 Mike Stump (mrs@cygnus.com) - - Major MI revamp. - - * cp-search.c (get_binfo, find_base_distance): Fix comments. - Disable incorrect code that would incorrectly find ambiguities where - none existed. Add some code to find all ambiguities. - * cp-search.c (get_binfo2_recursive, get_binfo2): Added to find - ambiguities. - - * cp-search.c (convert_pointer_to_single_level): Added so that one - can convert pointer unambiguously to an immediate base class - pointer. - - * cp-search.c (dfs_walk): Added comments. Fixed to keep track of - how it walks the inheritance hierarchy so that when we get down to - the bottom, we have a pointer to what we want. - * cp-search.c (dfs_find_vbases): Changed to use new intermediate - pointer instead of incorrectly trying to convert at the bottom. - * cp-search.c (init_vbase_pointers): Changed to set up new - intermediate pointer. - - * cp-*.c: Rename child -> base_binfo, child_child -> - base_base_binfo, child_binfos -> base_binfos, .*_child -> - .*_base_binfo. Rename DERIVED_FROM_P to UNIQUELY_DERIVED_FROM_P. - - Tue Oct 6 14:51:13 1992 Brendan Kehoe (brendan@rtl.cygnus.com) - - * cp-spew.c (yylex_ctr): Make unsigned. - * cp-decl2.c (spew_debug): Add extern reference. - (lang_decode_option): New option `-spew-debug', so masochists can - use it when they need to. - - Mon Oct 5 15:47:35 1992 Brendan Kehoe (brendan@rtl.cygnus.com) - - Implement protected baseclasses. - * cp-class.c (finish_base_struct): Set TREE_VIA_PROTECTED. - (finish_struct_methods): Check for either public or protected - members to kick out of the "all members are private" test. - * cp-decl.c (xref_tag): Set TREE_VIA_PROTECTED appropriately. - * cp-parse.y (base_class_visibility_list): Remove code about - `protected' visibility not being implemented. - * cp-pt.c (tsubst): Set via_protected and call hash_tree_cons - with it as necessary. - * cp-search.c (compute_visibility): Set visibility if protected. - Return the appropriate visibility when resolving a field. - (lookup_field): Set TREE_VIA_PROTECTED for btypes from its child. - When complaining about a member being protected, differentiate when - it's from a protected base class (could be a public member in the - base). - (lookup_fnfields): Set TREE_VIA_PROTECTED. - (get_baselinks): Pass TREE_VIA_PROTECTED into hash_tree_cons. - Also pass a 0 when necessary. - * cp-tree.c (propagate_binfo_offsets): Set TREE_VIA_PROTECTED. - (layout_vbasetypes): Ditto. - (layout_basetypes): Ditto. - (list_hash_lookup): Check TREE_VIA_PROTECTED when looking at an - incomplete basetype. - (hash_tree_cons): New argument `via_protected'. Set TREE_VIA_PROTECTED - when necessary. - (list_hash_lookup_or_cons): Check TREE_VIA_PROTECTED when making - sure a hash list is sane. - (make_binfo): Set TREE_VIA_PROTECTED for the new child. - - Mon Oct 5 13:27:44 1992 Mike Stump (mrs@cygnus.com) - - * cp-init.c (maybe_adjust_addr_for_delete): Make sure we don't - evaluate the addr twice if it has side effects. - - Mon Oct 5 13:05:37 1992 Mike Stump (mrs@cygnus.com) - - * cp-init.c (build_vec_delete): Make sure we don't evaluate the base - expression twice if it has side effects. - - Mon Oct 5 12:38:35 1992 Brendan Kehoe (brendan@rtl.cygnus.com) - - * cp-decl.c (grokdeclarator): Issue a warning or error if we're - being ANSI-careful when they do `extern inline'. - (flag_ansi): Add extern decl. - - Mon Oct 5 12:34:32 1992 Mike Stump (mrs@cygnus.com) - - * cp-class.c (finish_struct): Don't give an error if an enumeration - type is stuck in a bit-field, as it is legal c++. - - Mon Oct 5 11:43:09 1992 Mike Stump (mrs@cygnus.com) - - Mon Sep 14 16:39:10 1992 Chip Salzenberg (chip@tct.com) - - * cp-cvt.c (convert_to_integer): Don't pass truncation thru lshift - if shift count >= width of narrower type. Instead, just use 0. - - Fri Oct 2 13:21:40 1992 Ken Raeburn (raeburn@kyriath.cygnus.com) - - * cp-decl.c (start_function): Reinstate error check for missing - semicolon erroneously removed. - -Thu Nov 12 17:37:23 1992 Michael Meissner (meissner@osf.org) - - * mips.md (movdf_internal): Split movdf insn into two -- one for - normal use, and one for -msoft-float, and don't prefer FPU - registers in the -msoft-float case. - (movsf_internal): Ditto for movsf. - -Thu Nov 12 07:30:17 1992 James Van Artsdalen (james at bigtex.cactus.org) - - * i386.h (HARD_REGNO_MODE_OK): Restrict MODE_INT from FP regs only. - - * i386.md (floatMN2 recognizers): Don't omit mode on a - match_operand that might be reloaded. Split into separate - patterns for each mode. - (zero_extract test): Disable for now. - - * i386.c (float_op): Delete - no longer used. - -Wed Nov 11 11:55:22 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * combine.c (simplify_comparison, case ASHIFTRT): mode_for_size - returns BLKmode on error, not VOIDmode. - - * romp.md (reload_outdi): Write as proper PARALLEL. - -Wed Nov 11 01:06:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * toplev.c (lang_options): Change +e... to -+e... - - * xm-tower.h: Include xm-svr3.h. - (bcopy, bzero, bcmp, USG): Macros deleted. - -Tue Nov 10 12:26:23 1992 Steve Chamberlain (sac@cygnus.com) - - * sdbout.c (plain_type_1): Handle LONG_TYPE_SIZE like INT_TYPE_SIZE. - -Tue Nov 10 14:20:27 1992 Michael Meissner (meissner@osf.org) - - * mips.md (ffssi2): Add =& constraints to the two match_scratch - clobbered registers. Fix from John F Carr. - - * mips-tdump.c (toplevel): Move #undef index and rindex before - including sym.h. - -Tue Nov 10 10:37:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Makefile.in (install-common): Delete deps $(srcdir)/g++ $(srcdir)/c++ - - * expr.c (init_expr_once): Try indexing mem by fp as well as sp. - -Tue Nov 10 10:28:59 1992 Chris Smith (csmith@convex.com) - - * genattrtab.c (main): Unlimit stack size. - -Tue Nov 10 10:17:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * print-rtl.c (print_rtx): Use sizeof spaces - 1 to get the length - of the spaces string. - -Tue Nov 10 09:56:32 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) - - * pa-hpux.h (LINK_SPEC): Disable linking against shared libraries. - * pa-ghpux.h (LINK_SPEC): Likewise. - -Tue Nov 10 08:39:01 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * elxsi.h (GO_IF_LEGITIMATE_ADDRESS): Verify that register is valid - for use as base register (un-allocated pseudos aren't when strict). - -Mon Nov 9 22:17:23 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * xm-3b1.h (index, rindex): Define as macros. - - * i386bsd.h: Complete rewrite. - -Mon Nov 9 14:22:38 1992 Michael Meissner (meissner@osf.org) - - * mips.h, decrose.h: Move LINK_LIBGCC_SPECIAL to decrose.h. - -Mon Nov 9 12:39:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * unroll.c (final_biv_value): Make a note after loop_end - if we need to use NEXT_INSN (loop_end). - - * objc-actions.c (build_message_expr): Don't crash if super_type is 0. - -Mon Nov 9 07:42:30 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * caller-save.c (save_call_clobbered_regs): Ensure any insns we add - are in the same basic block as the insn we added them for. - -Mon Nov 9 12:35:57 1992 Torbjorn Granlund (tege@jupiter.sics.se) - - * pa.h (TARGET_*): Move it to the beginning of the file. - (CPP_SPEC): Handle -mnosnake. - * pa-ghpux.h pa-hpux.h pa1-ghpux.h pa1-hpux.h pa1.h pa.h: Move - definition of TARGET_DEFAULT to before inclusion of other pa*h files. - Only define TARGET_DEFAULT if not already defined. - Get rid of hpux8 conditionals. - -Sun Nov 8 20:38:19 1992 James Van Artsdalen (james at bigtex.cactus.org) - - * i386.md (movstrsi): mask move count after signed shift. - -Sun Nov 8 00:24:30 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * fixinc.svr4: Avoid use of | in sed regexp; use multiple s commands. - - * i386mach.h: Include i386gstabs.h, not i386gas.h. - - * gsyslimits.h: Renamed from syslimits.h. - * Makefile.in (USER_H): syslimits.h deleted. - (install-common-headers): Install gsyslimits.h as syslimits.h. - Depend on gsyslimits.h and assert.h. - - * cccp.c (rescan): Accept # as command inside macro args, etc. - If an actual newline at the same level precedes. - - * fixincludes (EXINIT): Set it to `set', not null. - - * toplev.c (main): Use strncmp when testing for gstabs+ vs gstabs. - -Sat Nov 7 17:46:35 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * optabs.c (expand_unop): - For complex negation, do get_insns, not gen_sequence. - - * c-decl.c (finish_decl): Don't clear DECL_INITIAL in inline fn decls. - - * c-typeck.c (process_init_constructor): Strip NOP_EXPR from indices. - Clear end_index if there's an error in a range. - - * mips-5sysv.h, mips-5svr4.h, mips-5bsd.h (CPP_PREDEFINES): - Add single-underscore variants of all the predefined symbols. - - * gstddef.h [_ANSI_H_]: When undefing at the end, test _STDDEF_H, - not __need_ptrdiff_t. - - * mips.c (gen_int_relational): Handle overflow when incrementing cmp1. - -Fri Nov 6 23:03:14 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - - * elxsi.c: Include config.h. - -Fri Nov 6 18:53:21 1992 Chip Salzenberg (chip@tct.com) - - * i386sco.h (STARTFILE_SPEC): Fix line wrap. - (SIGNED_CHAR_SPEC): Defined to set _CHAR_UNSIGNED. - -Fri Nov 6 19:06:56 1992 Jim Wilson (wilson@sphagnum.cygnus.com) - - * dbxout.c (dbxout_symbol): Give name ` ' to unnamed enums. - -Fri Nov 6 15:26:30 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * optabs.c (init_libfuncs): Add casts when comparing/incrementing enum. - -Fri Nov 6 15:41:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * toplev.c (main): Really accept -gstabs+. - -Fri Nov 6 06:46:22 1992 Tom Wood (wood@dg-rtp.dg.com) - - * m88k.md (tcnd_divide_by_zero, divsi3, udivsi3): Allow the - explicit trap for divide by zero to resume execution along the - expected path. - - * t-m88kv4 (FIXINCLUDES): Delete. - -Fri Nov 6 03:08:13 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * i386.md (andsi3): Mask immed op to 0xff in QI-reg ff00-byte case. - - * gstddef.h: Find ansi.h in machine subdir. - [__need_ptrdiff_t]: Don't undef _SIZE_T_ or _WCHAR_T_. - * gvarargs.h, gstdarg.h: Don't test, define or undef _VA_LIST_ - on NET 2 systems. Don't include ansi.h. - - * c-lex.c (readescape): Support \e like \E. Warn only if -pedantic. - -Fri Nov 6 08:34:17 1992 Tim Moore (moore at defmacro.cs.utah.edu) - - * integrate.c (copy_rtx_and_substitute)[ARGS_GROW_DOWNWARD]: Map - virtual args pointer to the top of the argument block. - * calls.c (expand_call)[ARGS_GROW_DOWNWARD] Fix fencepost error in - calculating high_to_save and low_to_save. Use - high_to_save to - address stack_area. - -Fri Nov 6 00:41:53 1992 Paul Eggert (eggert@twinsun.com) - - * sparc.h (TARGET_EDOM, GEN_ERRNO_RTX): Deleted. - -Thu Nov 5 18:55:44 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * alpha.c (output_prologue): Fix typo: `add' should be `addq'. - -Thu Nov 5 18:35:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Makefile.in (install-fixincludes): Add semicolon in new for-loop. - -Thu Nov 5 15:24:14 1992 Michael Meissner (meissner@osf.org) - - * i386rose.h, decrose.h (REAL_LD_FILE_NAME): Define to be the - correct location on OSF/1 -- /usr/bin/ld points to - /usr/ccs/gcc/ld, which is collect. - (REAL_NM_FILE_NAME): Ditto for nm. - (REAL_STRIP_FILE_NAME): Ditto for strip. - -Wed Nov 4 13:36:10 1992 Jim Wilson (wilson@sphagnum.cygnus.com) - - * optabs.c (expand_binop): When trying to expand a multiple word - add into multiple single word adds, don't overwrite OP0 and OP1 in - case we must backtrack. We use instead new variables XOP0 and XOP1. - -Wed Nov 4 16:45:53 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * config.sub: Don't discard SCO version number if it's 3.2v4. - - * xm-vax-vms.h (HOST_FLOAT_FORMAT): Defined. - - * varasm.c: Fix typos in last change. - -Wed Nov 4 10:11:28 1992 Torbjorn Granlund (tege@jupiter.sics.se) - - * va-pa.h (va_end): Do it like in other va-*.h files. - -Wed Nov 4 07:23:46 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * local-alloc.c (optimize_reg_copy_1): If P is a CALL_INSN, count - it as being crossed by SRC since SRC used to die there. - -Wed Nov 4 00:13:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * x-next (libgcc2.a, stdarg.h): New rules. - - * varasm.c (immed_real_const_1, immed_double_const): - Don't push on const_double_chain in nested function. - - * expr.c (emit_move_insn): Do return a value, in complex case. - -Tue Nov 3 10:45:09 1992 H.J. Lu (hlu@yardbird.eecs.wsu.edu) - - * i386linux.h (STARTFILE_SPEC): -static is added to ld if - -pg, -g or -p is passed down by gcc. - -Tue Nov 3 15:14:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * pa.c (output_ior): Handle "ior" against zero. - - * i386mach.h (YES_UNDERSCORES): Define it. - - * sun3.h (ASM_OUTPUT_FLOAT_OPERAND): Use REAL_VALUE_MINUS_ZERO. - (ASM_OUTPUT_DOUBLE_OPERAND): Likewise. - -Tue Nov 3 08:25:35 1992 Chris Smith (csmith@convex.com) - - * convex.h (REG_CLASS_FROM_LETTER): Add 'A', index regs. - (movsi alternative): Use it to make psh.w sp (push the - stack pointer) a noninstruction. - -Tue Nov 3 08:05:10 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * jump.c (jump_optimize): Ensure operand of REG_NOTES is an INSN; - otherwise, we might try to read outside allocated memory. - - * va-alpha.h (va_end): Don't define enum if va_end already defined. - -Tue Nov 3 02:56:22 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * objc/Makefile: Use $(srcdir), not `..'. - - * objc-actions.c (build_message_expr): Use save_expr for receiver. - - * va-i860.h (va_end, anonymous enum): Don't declare if - va_end already defined as macro. - * va-mips.h, va-i960.h (va_end): If already a macro, don't declare. - -Mon Nov 2 21:17:40 1992 Paul Eggert (eggert@twinsun.com) - - * va-sparc.h (va_end): If already def as macro, don't declare. - -Mon Nov 2 16:04:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * i386linux.h: Include i386gstabs.h, not i386gas.h. - -Mon Nov 2 14:46:31 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * Makefile.in (install-cross-tools): Delete old symlink before - making new one; else symlink will fail and we will use - backed strategy. - -Sun Nov 1 17:55:56 1992 Jim Wilson (wilson@sphagnum.cygnus.com) - - * varasm.c (decode_rtx_const): Handle PC same as LABEL_REF. - -Sun Nov 1 03:19:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Version 2.3.1 released. - - * x-i386s4: Renamed from x-i386sco4. - * configure (i[34]86-*-sco*): Use new name. - - * sol2-c1.asm, sol2-ci.asm, sol2-cn.asm: Renamed from sol2-crt... - * t-sol2: User new names. - -Sat Oct 31 15:19:54 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Version 2.3 released. - - * Makefile.in (install-libobjc): New target. - ($(srcdir)/gcc.dvi, $(srcdir)/cpp.dvi): New targets. - (extraclean): rm *diff, *lose, config/*lose. - (mostlyclean): rm config/core. - - * objc-actions.c (OBJC_SELECTORS_WITHOUT_LABELS): Define by default. - -Fri Oct 30 20:11:52 1992 James Van Artsdalen (james at bigtex.cactus.org) - - * i386.c (output_move_double): Undo 10/25 change. Handle case - where part of a dest reg is used in a src mem rtx, without using - stack. - -Fri Oct 30 18:52:57 1992 Michael Meissner (meissner@osf.org) - - * mips.h (MIPS_VERSION): Bump meissner version number to 28. - - * mips.md (addsi3, subsi3): Don't allow -32768 as the second - operand, the assembler complains if the instruction fills a delay - slot. - -Fri Oct 30 16:11:37 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * combine.c (simplify_shift_const): - For a subreg, require subreg_lowpart_p and not paradoxical. - - * Makefile.in (install-fixincludes): Ignore dirs that don't exist. - -Thu Oct 29 20:15:44 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * gvarargs.h, gstdarg.h [4.3 net 2]: If _VA_LIST_, is undefined - then va_list is already declared. - - * i386gas.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): - Override, if NO_UNDERSCORES. - -Thu Oct 29 17:30:52 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * flow.c (life_analysis): Mark FP live at end of function. - * reload1.c (reload): If FP was eliminated, remove it from - being live in any basic block. - - * varasm.c (output_constant_pool): Labels can be deleted by being - turned into NOTEs, not just have INSN_DELETED_P. - -Thu Oct 29 16:15:47 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * gstdarg.h: Use _ANSI_STDARG_H_, not _ANSI_STDARG_H. - - * gstddef.h [4.3 net 2]: If _SIZE_T_, etc. are undefined - then type is already declared. - - * m68k.c (print_operand_address) [MOTOROLA !SGS]: - Don't subtract 2 in the address displacement. - -Thu Oct 29 14:36:23 1992 Michael Meissner (meissner@osf.org) - - * libgcc2.c (__builtin_vec_new): #undef NULL before including - stdio.h to prevent redeclaration message. - (pyramid __enable_execute_stack): Ditto. - - * i386rose.h (YES_UNDERSCORES): Define. - (ASM_OUTPUT_LABELREF): Don't redefine. - - * mips.h (ASM_FINAL_SPEC): If cross compiling, don't invoke - mips-tfile by default. - - * decrose.h (ASM_FINAL_SPEC): If cross compiling, don't invoke - mips-tfile by default. - - * mips-tdump.c, mips-tfile.c: Handle the case where CROSS_COMPILE - is defined more gracefully. - -Thu Oct 29 12:10:16 1992 Tim Moore (moore at defmacro.cs.utah.edu) - - * combine.c (make_extraction): Fix paren error in if for INNER is reg. - -Thu Oct 29 13:49:03 1992 Jim Wilson (wilson@sphagnum.cygnus.com) - - * xm-mipsbsd.h: Really delete file. - -Thu Oct 29 02:48:28 1992 Tom Wood (wood@dg-rtp.dg.com) - - * dwarfout.c, arm.c, m88k.c: Include "assert.h" instead of . - -Thu Oct 29 00:43:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * gstddef.h [4.3 net 2]: Force inclusion of ansi.h. - Undef _SIZE_T_, _PTRDIFF_T_, _WCHAR_T_ at end. - - * Makefile.in (libgcc2.a, libgcc1.a): Use || to exit if cp fails. - (install-float-h-cross): Use fi, not done. - Write float.h in $(tmpdir), not in `.'. - (tmpdir): New variable. - - * i386gas.h (NO_UNDERSCORES): Test was backwards. - (SDB_DEBUGGING_OUTPUT): Defined. - -Wed Oct 28 16:33:34 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * gstdarg.h, gvarargs.h: - On Net 2 system, don't test, define or undef _VA_LIST_. - Use _ANSI_H_, __BSD_NET2__ and ____386BSD____ to test for this. - - * i386bsd.h (CPP_PREDEFINES): Add ____386BSD____. - - * c-decl.c (pushdecl): Allow redeclaring builtin as any sort of static. - - * Makefile.in (install-cross-tools): Fix typo. - (all.build): Dep on xgcc instead of $(GCC_PASSES). - -Wed Oct 28 15:25:42 1992 Tom Wood (wood@dg-rtp.dg.com) - - * m88k.c (print_operand): When AS_BUG_FLDCR is defined, use alternate - fldcr form. - * m88kdgux.h (AS_BUG_FLDCR): Define to accomodate 4.30 assembler bug. - - * m88kv3.h (CPP_PREDEFINES): Add -Dunix. - - * m88kdolph.h (SDB_ALLOW_FORWARD_REFERENCES): Don't override. - -Wed Oct 28 05:34:11 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * reload1.c (gen_input_reload): In PLUS, if OP0 and OP1 are the - same, use RELOADREG when generating the addition. - - * reload.c (find_reloads_address): When copying memref after we've - made recursive calls on it, copy any replacements we made. - - * combine.c (can_combine_p): Don't substitute an expression - containing a register that will be clobbered in I3. - - * objc/core.c, objc/hash.c: Include tconfig.h, not config.h. - Include gstdarg.h. - * objc/object.m: Include tconfig.h, not config.h. - Include gstdarg.h before stdio.h. - * objc/objc.h: Don't include gstdarg.h here. - * objc/objc-proto.h (CLASS_LOCATION_SHIFT): Use HOST_BITS_PER_LONG, - not BITS_PER_WORD. - (setClassNumber, getClassNumber): `info' field is long, not int. - -Wed Oct 28 10:54:50 1992 Michael Meissner (meissner@osf.org) - - * libgcc2.c (L_caps_new): Properly close comment. - -Wed Oct 28 05:50:10 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - - * pa.md (mulsi): Input predicates back to srcsi_operands. - Don't handle constants specifically for TARGET_SNAKE, but call - force_reg to put them in registers. - (indexed addressing mode patterns): Remove the patterns with - unscaled index. Switch off patterns that never match. - - * longlong.h (file header): Add comment describing sdiv_qrnnd. - (__hppa sub_ddmmss): Swap input operands. - - * gcc.c (process_command): Check that we have enough arguments. - -Wed Oct 28 00:40:18 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * configure (i[34]86-*-sysv*): Take note of $stabs. - * i386gas.h (SDB_DEBUGGING_INFO): #undef deleted. - (DBX_DEBUGGING_INFO): Definition deleted. - * i386gstabs.h: New file. - - * Makefile.in (mostlyclean): Don't delete tmp-limits.h. - - * i386vgas.h: File deleted. - -Tue Oct 27 15:35:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * libgcc2.c: Include stdio.h. - [__GNU_LIBRARY__] (write): Defined. - - * Makefile.in (install-cross-tools): When handling $(tooldir)/include, - do all cd's starting from build directory. - - * i386gas.h (NO_UNDERSCORES): Don't define, if YES_UNDERSCORES. - * i386linux.h (YES_UNDERSCORES): Defined. - -Tue Oct 27 14:17:43 1992 Jim Wilson (wilson@sphagnum.cygnus.com) - - * configure (i[34]86-*-linux): Set broken_install. - * x-linux (INSTALL): Delete. - * x-iris (INSTALL): Delete. - -Tue Oct 27 13:39:22 1992 Tim Moore (moore@hal.gnu.ai.mit.edu) - - * pa.h (ASM_GLOBALIZE_LABEL): Give function symbols CODE type, - others DATA type. - -Mon Oct 26 16:40:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c-typeck.c (build_c_cast): Don't warn about size change between - pointer and integer if the value is constant. - - * Makefile.in (libobjc.a): If ln fails, copy libobjc.a. - -Mon Oct 26 16:21:11 1992 Tim Moore (moore@defmacro.cs.utah.edu) - - * pa.h (EXPORT_PARMS, ASM_DECLARE_FUNCTION): Blow away usage of - EXPORT_PARMS. BUGGY_GAS isn't a problem any more. - (TEXT_SPACE_P, FUNCTION_NAME_P): New macros. - (ENCODE_SECTION_INFO): Use TEXT_SPACE_P. - (STRIP_NAME_ENCODING): Strip a '*' which might preceed a '@'. - (ASM_OUTPUT_EXTERNAL): Give only function labels a CODE type. - (ASM_OUTPUT_LABELREF): Use FUNCTION_NAME_P. - * pa.c (hppa_encode_label): Change function name encoding to - preserve leading '*' if there is one. - (function_label_operand): Use FUNCTION_NAME_P macro. - -Mon Oct 26 14:39:46 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - - From Tim Moore: - * function.c (locate_and_pad_parm): In ARGS_GROW_DOWNWARD case, - don't pad to argument alignment if where_pad is downward. - -Mon Oct 26 11:21:36 1992 Chris Smith (csmith@convex.com) - - * convex.h (SHIFT_COUNT_TRUNCATED): Undefine. - -Mon Oct 26 07:48:35 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * alpha.c (print_operand, new 'L'): New case. - * alpha.md (movhi/movqi patterns): For long constants, use 'i' - constraint instead of 'K'; use "%L1" in template. - - * configure (alpha): Set use_collect2. - -Mon Oct 26 04:19:24 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * xm-alpha.h: Declare calloc. - -Sun Oct 25 17:19:52 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * function.c (fixup_var_refs_insns): Don't call delete_insn if not -O. - Make a NOTE_INSN_DELETED instead. - -Sun Oct 25 11:57:04 1992 Chris Smith (csmith@convex.com) - - * convex.h (target_flags): prevent -mnoc2 from clearing - TARGET_INDIRECTS. - (TARGET_INDIRECTS): Always on. - -Sun Oct 25 16:56:18 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * calls.c (expand_call): Don't call convert_to_mode if we obtained - VALUE in the proper mode; VALUE might be a CONST_INT. - -Sun Oct 25 03:18:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * expr.c (gen_push_operand): No longer static. - - * i386.c (output_move_double): Divert first word via the stack - if it's a register used in the input operand. - * i386.md (movdi): Delete the `&' from constraint. - -Sat Oct 24 21:41:00 1992 Chris Smith (csmith@convex.com) - - * convex.md (movstrictsi): Correct output constraint is + not =. - -Sat Oct 24 14:10:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * news.h (FUNCTION_EPILOGUE): Fix typos. - - * cccp.c (get_lintcmd): Length of `LINTLIBRARY' is 11. - -Sat Oct 24 13:22:09 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - - * arm.md (DImode patterns): Add `&' to target operand constraints. - - * Makefile.in (setting version variable): Prepend $(srcdir) to - version.c. - - From Wilson: - * longlong.h (sparclite): Use machine independent USItype instead - of explicit types. - -Sat Oct 24 10:35:18 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * rs6000.md (movdi): Tests were in wrong order. - - * rs6000.h (LEGITIMIZE_ADDRESS): Indexed addresses are not valid - for DImode and TImode; GO_IF_LEGITIMATE_ADDRESS knows this. - - * Makefile.in (mostlyclean): Add missing semicolon. - - * a29k.c (a29k_set_memflags, a29k_set_memflags_1): New functions. - * a29k.md (movqi, movhi, reload_{in,out}{qi,hi}): Use them. - - * alpha.c (get_aligned_mem): Copy memory flags to new MEM. - (alpha_set_memflags, alpha_set_memflags_1): New functions. - * alpha.md (movqi, movhi, reload_{in,out}{qi,hi}): Use new - functions. - - * alpha.h (ASM_FILE_START): Stop at blank in version string. - -Sat Oct 24 04:35:16 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * reload1.c (emit_reload_insns): If not -O, Don't try find_equiv_reg. - (choose_reload_regs): If not -O, don't inherit reloads. - -Fri Oct 23 18:07:10 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * news.h (FUNCTION_EPILOGUE): - If no frame ptr, increment stack ptr to free up the local space. - - * gcc.c (process_command): Discard after first space in spec_version. - - * print-tree.c (print_node): Always output `>' to match `<'. - - * Makefile.in (version): Use sed to extract. - Ignore excess after space. - (install-fixincludes): Fix typo in last change. - - * configure (i386-ibm-aix*): Use aix386ng.h if not --with-gas. - * aix386ng.h: New file. - -Fri Oct 23 15:14:49 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - - * sdbout.c (sdbout_symbol): Return if a symbol's DECL_NAME is - empty, since we won't be able to make a symtab of it. - - * convex.h (P_tmpdir): Remove definition. - * xm-convex.h: Put it here. - -Fri Oct 23 10:27:34 1992 Michael Meissner (meissner@osf.org) - - * i386rose.h (ASM_OUTPUT_LABELREF): Define so that external - identifiers have leading underscores in front of them. - - * mips-tfile.c (parse_stabs_common): Allow stabs with line numbers - of 0. These come from g++ for compiler generated functions that - take arguments. - -Fri Oct 23 07:49:12 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * romp.c (output_fpops): Add SYMBOL_REF and LABEL_REF cases to - constants handled. - -Fri Oct 23 01:58:12 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * flow.c (find_basic_blocks): Check for LABEL_REF_NONLOCAL_P - in label_value_list. - * jump.c (mark_jump_label): Copy LABEL_REF_NONLOCAL_P from - LABEL_REF into REG_LABEL note. - - * toplev.c (push_float_handler): Declare arg old_handler. - - * t-next (OTHER_FIXINCLUDES_DIRS): Defined. - - * Makefile.in (OTHER_FIXINCLUDES_DIRS): New variable, normally empty. - (install-fixincludes): Run fixincludes on those dirs. - * fixincludes: Convert //-style comments to /*...*/ style. - - * loop.c (record_biv): Clear total_benefit field of new iv_class. - (get_condition): - Verify op 2 of source is label_ref before looking within. - -Thu Oct 22 21:17:53 1992 Tim Moore (moore at defmacro.cs.utah.edu) - - * varasm.c (STRIP_NAME_ENCODING): New macro to decode a symbol name - munged by ENCODE_SECTION_INFO. - (assemble_start_function, assemble_variable): Use STRIP_NAME_ENCODING. - * pa.h (STRIP_NAME_ENCODING): New definition. - -Thu Oct 22 17:53:37 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Makefile.in (mostlyclean): Clean objc subdir only if it exists. - - * news.h (FUNCTION_PROLOGUE): Do allocate local stack space - when no frame pointer. - -Thu Oct 22 15:21:27 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - - * i960.h (FUNCTION_VALUE): Simplify, just return reg 0. - * i960.c (i960_function_value): Delete. - -Thu Oct 22 09:42:50 1992 Michael Meissner (meissner@osf.org) - - * mips-tfile.c (parse_stabs_common): Ignore stab line numbers - of 0, since the G++ front end generates them. Check whether - line numbers can fit within the index field, and if not report - an error. - - * mips.c (function_arg): Align passed structures to double word - boundary if structure has double word alignment. - - * mips.h (STACK_DYNAMIC_OFFSET): Do not define this macro in order - to work around a bug. - -Thu Oct 22 08:00:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * gstdarg.h, gvarargs.h: Treat _AIX and _M_UNIX like __svr4__. - - * i386gas.h (NO_UNDERSCORES): Defined. - - * next.h (INCLUDE_DEFAULTS): Put in GPLUSPLUS_INCLUDE_DIR, - GCC_INCLUDE_DIR, LOCAL_INCLUDE_DIR, STANDARD_INCLUDE_DIR. - Don't define at all if cross-compiling. - - * tree.c (copy_node): Copy the excess bytes--don't clear them. - -Thu Oct 22 06:40:55 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * a29k.h (TARGET_SWITCHES): Add missing complementary switches: - -mno-stack-check and -mstorem-bug. - - * a29k.md (long constant split): Use gen_lowpart instead of making - a SUBREG directly. - - * arm.h (STORE_FLAG_VALUE): Remove bogus definition. - -Thu Oct 22 03:04:28 1992 Tom Wood (wood@dg-rtp.dg.com) - - * m88k.c (prologue_marked): New variable. - (m88k_end_prologue): Output the epilogue mark here if the start of - the epilogue passed the end of the prologue. - (m88k_begin_epilogue): Don't output the epilogue mark if the end - of the prologue hasn't been processed yet. - -Thu Oct 22 03:20:40 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * function.c (put_var_into_stack): When we operate on a pseudo - that holds the address, use proper modes. - - * combine.c (make_extraction): Use is_mode, not inner_mode, - for BYTES_BIG_ENDIAN adjustment to offset for non-bitfield case. - Update is_mode when stripping subreg from around a mem. - - * m68k.h (GO_IF_INDEXABLE_BASE): Allow LABEL_REF only if jump table. - -Wed Oct 21 18:55:24 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * gstdarg.h: Check and define _ANSI_STDARG_H along with _STDARG_H. - -Wed Oct 21 11:41:39 1992 Tom Wood (wood at gen-rtx) - - * toplev.c (push_float_handler, pop_float_handler): New functions. - * fold-const.c (real_value_truncate): - Use them, in case another handler is already in effect. - -Wed Oct 21 22:08:31 1992 H.J. Lu (hlu@yardbird.eecs.wsu.edu) - - * Makefile (all.build): Add target $(GCC_PASSES) for xgcc. - * build-make (CC): Defined. - (CROSS_GCC_FLAGS): Deleted. - (HOST_CC): Delete -V option; CC supplies that. - -Wed Oct 21 12:34:39 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - - From Wilson: - * longlong.h (sparclite udiv_qrnnd): Remove comma before - __AND_CLOBBER_CC. - -Wed Oct 21 12:24:24 1992 Michael Meissner (meissner@osf.org) - - * decrose.h (WORD_SWITCH_TAKES_ARG): Add -pic-names. - (CC1_SPEC): If -pic-names, pass -mhalf-pic to cc1. - - * i386rose.h (WORD_SWITCH_TAKES_ARG): Add -pic-names. - (CC1_SPEC): If -pic-names, pass -mhalf-pic to cc1. - -Wed Oct 21 07:34:16 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * configure (alpha): Only accept OSF/1. - - * alpha.h (ASM_FILE_START): Change .verstamp ident for BL9. - * alpha.md (div/mod): Change calling sequence to agree with BL9. - - * expr.c (do_store_flag): Ensure we don't get confused when - emit_store_flag fails and an operand has a QUEUED. - -Wed Oct 21 02:53:58 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * cexp.y (integer_overflow): Do nothing unless pedantic. - -Tue Oct 20 17:02:15 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - - * README, sparc.h, flow.c, regs.h: Change global-alloc.c to global.c. - - * i960.md (call, call_value): Use 'd' not 'r' constraint for scratch. - - * gcc.c (WORD_SWITCH_TAKES_ARG): Handle -Ttext and -Tbss in - addition to -Tdata. - * i960.h (WORD_SWITCH_TAKES_ARG): Delete, now unnecessary. - * next.h (WORD_SWITCH_TAKES_ARG): Add -Tbss. - * sparc.h, sun2.h, sun3.h (WORD_SWITCH_TAKES_ARG): Add -Ttext and - -Tbss. - -Tue Oct 20 16:49:57 1992 Ron Guilmette (rfg at netcom.com) - - * dwarfout.c (dwarfout_file_scope_decl): Generate DIEs for - built-in non-fundamental types. - -Tue Oct 20 14:58:18 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * objc-actions.c (handle_impent, handle_class_ref): Use __ - to start the generated names, not period. - -Tue Oct 20 14:38:30 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) - - * cp-method.c (fndecl_as_string): Undo change of Sep 14th for - emitting a space after the return type of a fn. - - Wed Oct 7 16:01:55 1992 Chip Salzenberg (chip@tct.com) - - * cp-lex.c (readescape): No warning if digits in \x are all 0's. - -Tue Oct 20 06:50:28 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * expr.c (force_operand): Clarify comment to say what it can return. - * integrate.c (copy_rtx_and_substitute): Don't assume force_operand - on an address returns a REG; it might be a SUBREG. Use force_reg. - -Tue Oct 20 04:54:01 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * tree.c (make_node, copy_node): - Don't assume node length is multiple of int. - -Mon Oct 19 18:14:56 1992 Jim Wilson (wilson@sphagnum.cygnus.com) - - * genrecog.c (write_tree): For type SPLIT, check subroutine return - values for non-zero value not positive value. - -Mon Oct 19 16:11:04 1992 Michael Meissner (meissner@osf.org) - - * c-typeck.c (print_table, scan_table): Add support for XPG4's %S - and %C formats for printing/reading wide characters. %lc and %ls too. - -Mon Oct 19 17:58:18 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - - * arm.c (output_epilogue): Restore sp's value if no frame pointer. - - From Wilson: - * pa.h (WORD_SWITCH_TAKES_ARG): Delete sparc related cruft. - -Mon Oct 19 14:49:03 1992 Brendan Kehoe (brendan@rtl.cygnus.com) - - * cp-parse.y (primary): Don't try building a CALL_EXPR or - converting types if $$ is an error_mark. - -Mon Oct 19 14:01:02 1992 Tom Wood (wood@dg-rtp.dg.com) - - * m88k.h (SECONDARY_INPUT_RELOAD_CLASS): Require a temporary for a - pic address with a large constant term. - * m88k.md (reload_insi): New pattern. - (addsi3 pattern for large constants): Delete. Causes reload trouble. - * m88k.c (emit_move_sequence): Add scratch register. All callers - changed. - (legitimize_address): Add scratch register. All callers changed - to pass zero instead of gen_reg_rtx result. Allocate another temp - register for -fPIC case. Use scratch register for pic cases with - a large constant term. - - * m88k.h (FUNCTION_PROFILER_LENGTH, FUNCTION_BLOCK_PROFILER_LENGTH, - BLOCK_PROFILER_LENGTH, REG_PUSH_LENGTH, REG_POP_LENGTH): Added. - (ADJUST_INSN_LENGTH): Account for profiling code. - -Mon Oct 19 16:46:52 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Makefile.in (libobjc.a): Don't mkdir objc if dir exists. - - * expr.c (store_field): If trying to sign-extend a constant, - use value_mode as the mode. - -Mon Oct 19 10:59:20 1992 Michael Meissner (meissner@osf.org) - - * xm-umips.h (index): Define to be strchr. - (rindex): Define to be strrchr. - - * mips-tdump.c (index, rindex): Undefine these, since the MIPS - include files have a field spelled index. - -Mon Oct 19 03:34:04 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Makefile.in (mostlyclean): Delete libobjc.a. - (libobjc.a): Create the objc subdir. - -Sun Oct 18 17:52:05 1992 Arne H. Juul (arnej@lise.unit.no) - - * objc/Makefile: Add .SUFFIXES .m and .m.o rule to keep non-GNU - make happy. - - * Makefile.in (libobjc.a): Remove libobjc.a in current directory - before attempting to hardlink it or make will fail in later stages. - (sublibobcj.a): Don't use $(MAKEFLAGS) for objc subdir stuff. - -Sun Oct 18 06:00:27 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * cse.c (canon_reg): Don't call validate_change if INSN is zero. - -Sun Oct 18 01:09:02 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * i860.h (PRINT_OPERAND): For `h', always use OPERAND_HIGH_ADJ_PART - even for integer constant addresses. - - * final.c (output_addr_const): Always use FILE, not asm_out_file. - - * cccp.c (collect_expansion): Don't add whitespace at end - if inside a string and not traditional. - (rescan): At end of string, if inside macro, always keep scanning. - - * expr.c (store_field): If signed bitfield and want value, sign extend. - -Sat Oct 17 21:11:09 1992 H.J. Lu (hlu@yardbird.eecs.wsu.edu) - - * Makefile.in (all.build): New rule for making gcc with a - cross-compiler. - (install.build): New target. - (line 271): Add `####build overrides'. - (gen*.o): Depend on hconfig.h, not config.h. - ($(HOST_PREFIX_1)rtl.o, $(HOST_PREFIX_1)print-rtl.o, - $(HOST_PREFIX_1)rtlanal.o, $(HOST_PREFIX_1)obstack.o, - $(HOST_PREFIX_1)malloc.o): Add final `h' to the regexp to replace. - - * configure: If $host == $taget, but $host != $build, merge - `build-make' and emit `build = $build'. - * build-make: New file for making gcc with a cross-compiler. - -Sat Oct 17 19:24:31 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c-typeck.c (process_init_constructor): When initializing a union, - handle the case of an empty init list. - - * reload.c (find_reloads_address): Redo last change: copy the mem - in the same way it's usually done. - - * Makefile.in (gcc.xtar): Fix typo in last change. - (mostlyclean): Don't use $(MAKEFLAGS) for objc subdir stuff. - -Sat Oct 17 19:15:16 1992 John Wroclawski (jtw@pmws.lcs.mit.edu) - - * decstatn.h (SIZE_TYPE): Fix typo. - -Sat Oct 17 17:46:08 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) - - * cp-method.c: Don't try to include string.h or strings.h. - * cp-decl.c: Ditto. - -Sat Oct 17 13:50:49 1992 Fred Fish (fnf@fishpond.cygnus.com) - - * fixinc.svr4 (string.h): - Remove #defines for other compiler's builtin functions. - -Sat Oct 17 00:39:30 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * protoize.c: Add #undef getopt after getopt.h. - - * gstdarg.h, gvarargs.h (va_list) [__SVR4_2__]: - Don't set or test _VA_LIST. - - * gstddef.h: Do nothing if _ANSI_STDDEF_H already defined. - -Fri Oct 16 11:39:06 1992 H.J. Lu (hlu@yardbird.eecs.wsu.edu) - - * emit-rtl.c (gen_lowpart_common): Fix typo in last change. - -Fri Oct 16 22:35:15 1992 Eric Youngdale (youngdale@v6550d.nrl.navy.mil) - - * make-cc1.com: Correct previous patch. - -Fri Oct 16 20:07:12 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * objc-actions.c (start_class): - For an INTERFACE_TYPE, push to permanent obstack. - (build_message_expr): Use TYPE_MAIN_VARIANT when comparing types. - - * Makefile.in (libobjc.a): Don't use $(MAKEFLAGS). - Add braces around shell variable references. - (collect2): Delete file before linking it. - * objc/Makefile (all): Don't use $(MAKEFLAGS). - (VPATH): Get rid of ../ since srcdir now absolute. - -Fri Oct 16 14:23:25 1992 Michael Meissner (meissner@osf.org) - - * decstatn.h (all defines): Protect all defines with an #ifndef, - to allow dec-osf1.h to selectively override macros. - -Fri Oct 16 10:44:47 1992 Tom Wood (wood@dg-rtp.dg.com) - - * Makefile.in (libobjc.a): Compute srcdir1 without changing - directories. Use srcdir1 to locate objc/Makefile. Put quotes - around all potential multi-word values. Recompute GCC_FOR_TARGET. - (sublibobjc.a): Use same text as libobjc.a. - (mostlyclean): Use $(MAKE) and srcdir1 for objc action. - * objc/Makefile (SUBDIR_INCLUDES): Don't use ../$(srcdir). - (all): Use $(MAKE). - -Fri Oct 16 04:16:36 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * function.c (find_fixup_replacement): Renamed from find_replacement. - - * varasm.c (output_addressed_constants): Handle NON_LVALUE_EXPR. - -Fri Oct 16 02:25:17 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) - - * pa.md (call define_expands): If TARGET_LONG_CALLS, then force - the address of the function into a register. - * pa.h (TARGET_SWITCHES): New switch "-mlong-calls". - * pa.c (call_operand_address): Only allow registers if - TARGET_LONG_CALLS. - -Fri Oct 16 00:21:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Makefile.in (libobjc.a): Get directories right, using shell vars - thisdir1, srcdir1. Put quotes around $(GCC_CFLAGS). Use $(MAKE). - -Thu Oct 15 17:07:18 1992 Mike Stump (mrs@hal.gnu.ai.mit.edu) - - * configure, config.sub, config/elxsi.{c,h,md}, config/xm-elxsi.h, - config/x-elxsi: Add support for new 64 bit CPU, called Elxsi. - -Thu Oct 15 16:55:22 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * alpha.c (alpha_builtin_saveregs): Fix bug in last change. - - * fold-const.c (distribute_bit_expr): Test for BIT_{AND,IOR}_EXPR. - - * cse.c (cse_insn): Add missing call to apply_change_group. + * configure (i[345]86-*-linuxlibc1*): Renamed from i[345]86-*-linux*. + (i[345]86-*-linux*): New alternative, changed slightly from old one. + (m68k-*-linux*): Changed to work with libc v2. + + * config.guess: Disinguish *-unknown-linux and *-unknown-libc1. -Thu Oct 15 15:09:45 1992 Michael Meissner (meissner@osf.org) + * config/t-linux-libc1: New file. - * t-mips (CCLIBFLAGS, LIBGCC2_CFLAGS): Delete, so that libgcc.a is - built with the -G 8 option, instead of -G 0, so that the linker - doesn't complain when linking in libg++.a. - * t-decstatn (CCLIBFLAGS, LIBGCC2_CFLAGS): Ditto. + * config/i386/linux.h (LINK_SPEC, CPP_SPEC): + Add new alternative definitions; + relegate the old ones to LIBC_VERSION_1 case. + [! LIBC_VERSION_1] (LIB_SPEC): New override definition. -Thu Oct 15 14:30:25 1992 Jim Wilson (wilson@sphagnum.cygnus.com) +Sat Jun 29 12:33:39 1996 Richard Kenner - * mips-tfile.c (parse_def): Allow spaces in arguments for C++. - Correct test for null when searching for end of name. + * Version 2.7.2.1 released. -Thu Oct 15 11:55:51 1992 Tim Moore (moore@defmacro.cs.utah.edu) +Tue Jun 11 20:18:03 1996 Per Bothner - * pa.c (compute_frame_size): Take an fregs_live parameter instead - of setting the static variable save_fregs. - (output_function_prologue): Initialize save_fregs to 0 and pass to - compute_frame_size. - * pa.h (INITIAL_FRAME_POINTER_OFFSET): Pass extra null parameter - to compute_frame_size. + * fix-header.c (read_scna_file): Invoke FIXPROTO_INIT if defined. + * alpha.h (FIXPROTO_INIT): Define new macro. -Thu Oct 15 08:40:07 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Fri May 10 18:35:00 1996 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * alpha.h (TARGET_FPREGS): New flag. - (TARGET_SWITCHES): Remove temporary -mfp and add -msoft-float and - -mfp-regs. - (TARGET_DEFAULT): Set to -mfp-regs -mno-soft-float. - (CONDITIONAL_REGISTER_USAGE): Use TARGET_FPREGS. - (FUNCTION_VALUE, FUNCTION_ARG, LIBCALL_VALUE): Use integer registers - for FP items if -mno-fp-regs. - * alpha.c (alpha_builtin_saveregs): Store integer regs twice instead - of storing the FP regs if -mno-fp-regs. + * loop.c (maybe_eliminate_biv_1): Disable all but two cases + of biv elimination with givs and restrict those two cases to + an ADD_VAL that is an address. - * fold-const.c (fold): Add missing test in case when we - distribute a NOP_EXPR into a COND_EXPR and try to pull it back - out again. +Mon Apr 22 16:50:19 1996 Jeremy Bettis -Thu Oct 15 08:11:00 1992 Tom Wood (wood@dg-rtp.dg.com) + * objc/hash.c (hash_value_for_key): Prevent endless loop when 0 was + stored in a hashtable. - * fold-const.c (simple_operand_p): Don't regard global or static - variables as simple. - (fold_truthop): Only require the RHS to be simple. +Wed Apr 17 17:53:23 1996 Michael Meissner - * m88k.h (CPP_SPEC): Add -D__m88110__ when -m88110 is in effect, - similarly for -m88100. - * m88kdgux.h (CPP_SPEC): Ditto. - * m88kluna.h (CPP_PREDEFINES): Drop -Dmc88100. - (CPP_SPEC): Reproduce the predefine -Dmc88100 when -m88100 is in - effect. Otherwise, supply -D__mc881x0__ when -m881x0 is in effect. + * rs6000.c (expand_block_move_mem): Copy RTX_UNCHANGING_P. + (expand_block_move): Copy dest/src to registers using + copy_addr_to_reg, call expand_block_move_mem to copy all of the + bits. -Thu Oct 15 02:09:49 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Apr 8 13:46:28 1996 Michael Meissner - * expr.c (get_inner_reference): - If flag_volatile, treat every INDIRECT_REF as volatile. + * rs6000.c (output_{prolog,epilog}): For V.4/eabi systems, change + prologue and epilogue so that accesses beyond the current stack + pointer are not done like they are for AIX. - * collect2.c (main): If COLLECT_GCC is a relative name, use it anyway. +Fri Mar 26 05:43:06 1996 Torbjorn Granlund - * x-next: New file. - * configure (m68k-next-*): Use that. + * vax.md (insv matcher): Call CC_STATUS_INIT. + * vax.h (NOTICE_UPDATE_CC): Handle ZERO_EXTRACT destination. - * Changes from NeXT: +Sat Mar 23 18:25:39 1996 J"orn Rennecke (amylaar@meolyon.hanse.de) - * libgcc2.c [L_ctors] (__CTOR_LIST__, __DTOR_LIST__): - Initialize these default definitions if __NeXT__. + * c-typeck.c (set_init_index): Check for use outside an array + initializer. - * gvarargs.h [__NeXT__]: Define _VA_LIST_ if _ANSI_STDARG_H_ was - defined; then define _ANSI_STDARG_H_. +Sat Mar 23 09:21:40 1996 Doug Evans - * gstddef.h (_ANSI_STDDEF_H): Define, along with _STDDEF_H. + * sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Don't unfix %g[234] + if fixed with -ffixed-. - * next.h (INCLUDE_DEFAULTS): New macro. +Wed Mar 13 20:36:10 1996 Jim Wilson - * cp-method.c (index, rindex): Delete declarations. - (build_overload_value): Cast result of index. + * mips.c (mips_expand_prologue): Change TYPE_NEEDS_CONSTRUCTING to + TREE_ADDRESSABLE; + * pa.h (ASM_DECLARE_FUNCTION_NAME): Likewise. - * cccp.c (cplusplus_comments): New var. - (main): Set it according to options. - (rescan, handle_directive, skip_if_group, validate_else): - (skip_to_end_of_comment, macarg1, discard_comments): - Use cplusplus_comments to enable C++ comment syntax. +Tue Mar 12 14:36:02 1996 Jason Merrill -Wed Oct 14 11:34:58 1992 Chip Salzenberg (chip@tct.com) + * lex.c (real_yylex): Warn about using the `namespace' keyword. - * libgcc2.c (__gcc_bcmp): Don't depend on signedness of `char'. +Tue Feb 27 08:18:12 1996 Richard Earnshaw (rearnsha@armltd.co.uk) -Wed Oct 14 18:52:28 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * arm.md (mov{si,sf,df}cc and matchers): All conditional move + patterns must have a mode. - * sched.c (sched_note_set): Set subreg_p for anything except a - paradoxical subreg. +Mon Feb 19 07:35:07 1996 Torbjorn Granlund - * configure (sparc-*-solaris2): Use xm-spc-sol2.h not xm-spcv4.h. + * rs6000.md (not:SI with assign and compare): Fix typo. - * reload.c (find_reloads): Don't let an operand have a numbered - constraint that makes it match itself. +Wed Jan 24 18:00:12 1996 Brendan Kehoe -Wed Oct 14 10:38:31 1992 Tim Moore (moore@defmacro.cs.utah.edu) + * alpha.c (alpha_write_verstamp): Only emit MS_STAMP and LS_STAMP, + not the extra numbers. - * pa.md (sCC patterns): Comparison operator should have SImode, - not CCmode. - (indexed addressing mode patterns): New patterns to use indexed - addressing if possible. - * pa.c (output_and): Do handle (const_int 0) as an operand; it - seems to occur in unoptimized compilation. - * pa.h (REGNO_OK_FOR_FP_P): Logic bug. - * va-pa.h : When __GNUC__ == 1, don't include the gcc 1 varargs - file (va-hp9k8.h). Instead, the definitions are explicitly defined - here. This avoids multiple typedefs of va_list. - * xm-pa.h (HAVE_VPRINTF) Define in HPUX 8.0. +Wed Jan 17 21:22:40 1996 Brendan Kehoe - * pa.md (mulsi): Use the hardware multiply instruction, xmpyu, if - TARGET_SNAKE. - (umulsidi3): New pattern. - (reload_insi, reload_outsi, reload_indi, reload_outdi): New - patterns. These are needed because SImode and DImode pseudoregs - may be allocated (or reloaded) in floating point registers for - multiplication. That means that their addresses, which were - legitimate for SImode and DImode, aren't valid any more. - (movsi, movhi, movqi, movdf, movdi, movsf): Pass null scratch - operand to emit_move_sequence. - (fp SImode load and store patterns): Move before main movsi - pattern. - (fp DImode load and store patterns) New patterns. - (movhi, movqi patterns): Support moves to/from fp registers. - (movdf pattern): Ensure at least one operand is a register. - * pa.c (emit_move_sequence): Take reload scratch register - argument, deal with reloads of SImode and DImode mems into - floating point registers, handle function_label_operand moves. - (secondary_reload_class): A scratch register is needed if - reloading a function_label_operand address (probably doesn't - happen) or an SImode or DImode value into/out of a floating - point register. - * pa.h (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, - REG_CLASS_FROM_LETTER): Define a new register class - FP_OR_SNAKE_FP_REGS, used only be reload_{in,out}{si,di}. - (HARD_REGNO_MODE_OK): Allow all integer modes in Snake floating - point registers. QImode and HImode pseudoregs may end up there - when using xmpyu. + * cp/decl2.c (grokfield): Call cplus_decl_attributes with the attrlist. + Pass a null tree to grokdeclarator for its ATTRLIST arg, since it's + only ever used for functions in it. - * pa.md (pic symbolic address pattern): New pattern. - (movsi, movdi patterns): Remove some * constraints from fp registers. - (pic label address pattern): Fix typo. - (function_label_operand patterns): New patterns for loading a - label address in HPUX 8.0. - * pa.c (finalize_pic): No real initialization is necessary for pic. - (output_function_prologue): Save r19, the pic offset table - register. If profiling, save and restore the structure value - return register (r28) around the call to mcount. - (hppa_encode_label, function_label_operand): New functions. - Record if a label is a code label so it can be treated specially - in HPUX 8.0. - * pa.h (TARGET_SHARED_LIBS): New flag. Generate code that can be - linked with HPUX 8.0 shared libraries. - (TARGET_SWITCHES): New flags: -mshared-libs and -mno-shared-libs. - (PIC_OFFSET_TABLE_REGNUM): This is really r19. The preliminary - docs from HP were wrong. - (ASM_DECLARE_FUNCTION_NAME): Specify "ENTRY" param in .EXPORT - directive. - (ENCODE_SECTION_INFO): Encode function labels. - (ASM_OUTPUT_LABELREF): Deal with function labels. - (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Don't do anything for - now; their only use (saving stuff during profiling) interacts in a - wierd way with required assembler directives at the start of a - function. Instead, do the save and restore in the function - prologue. - (hppa_encode_label): Declare. - * pa-hpux.h, pa-ghpux.h (TARGET_DEFAULT): Link against shared - libraries. - (LINK_SPEC): Don't link against shared libraries if debugging or - profiling. - * pa1-hpux.h, pa1-ghpux,h (TARGET_DEFAULT): Link against shared - libraries. +Tue Jan 16 06:01:28 1996 Thomas Graichen -Wed Oct 14 10:17:49 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * i386/freebsd.h (ASM_WEAKEN_LABEL): Deleted; not supported. - * Makefile.in (gcc.xtar): Copy the objc subdir. - (mostlyclean): Run the mostlyclean target in the objc subdir. - (objc-runtime, libobjc.a, sublibobjc.a): New targets. - (objc, objective-c): Dep on objc-runtime. +Sun Jan 7 17:11:11 1996 David Edelsohn - * objc/*: New files. + * collect2.c (scan_libraries): Correct Import File ID interpretation. -Wed Oct 14 07:17:19 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Thu Dec 28 22:24:53 1995 Michael Meissner - * alpha.md (smax, smin): Fix typo in output strings. + * rs6000.md (common mode functions): Add condition reg clobbers. - * a29k.c (const_16_operand, const_24_operand): Fix typo in declaration - of MODE. - (gpc_reg_or_immediate_operand, and_operand, add_operand): Likwise. +Tue Dec 19 15:08:31 1995 Jason Merrill -Wed Oct 14 00:12:16 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) + * collect2.c: Remove auto_export functionality. - * pa.h (RTX_COST): Fix spacing typo. +Mon Dec 18 18:40:34 1995 Jim Wilson -Tue Oct 13 21:51:05 1992 Jim Wilson (wilson@sphagnum.cygnus.com) + * svr4.h (ASM_IDENTIFY_GCC): Don't output stab here. + (ASM_IDENTIFY_GCC_AFTER_SOURCE): Output stab here instead of + above. - * a29k.md (call, call_value): Don't use call_operand, since - checking for recursive calls at this point is not safe. +Sat Dec 16 07:03:33 1995 Philippe De Muyter (phdm@info.ucl.ac.be) -Tue Oct 13 18:52:17 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * stor-layout.c (layout_record): When PCC_BITFIELD_TYPE_MATTERS, + compute bitpos using field_size % type_align instead of field_size. - * cp-type2.c (my_friendly_abort): Tell them to write to bug-g++. +Fri Dec 15 18:41:50 1995 Philippe De Muyter (phdm@info.ucl.ac.be) -Tue Oct 13 18:16:12 1992 Chris Smith (csmith@convex.com) + * fixincludes (sys/wait.h): Add forward declaration of struct rusage + on AIX 3.2.5. - * convex.h (P_tmpdir): define to use /tmp. - (RETURN_POPS_ARGS): correct definition to return size. - (ASM_IDENTIFY_GCC): output something between gcc2_compiled and - first function to keep gcc2_compiled out of assembler stabs. +Sat Dec 9 18:05:03 1995 Jim Wilson - * convex.md (adddi3, ordi3, xordi3): check sign of CONST_INT - operands before using as immediates; these insns are word only. - (ashrdi3): don't use negative shift counts. + * expr.c (expand_expr, case INDIRECT_REF): Correct typo in May 8 + change. - * convex*.h (CPP_SPEC): define __NO_INLINE_STDLIB +Sun Nov 26 14:47:42 1995 Richard Kenner - * xm-convex.h: remove temporary workaround from OS 8.0. + * Version 2.7.2 released. -Tue Oct 13 14:10:15 1992 Jim Wilson (wilson@sphagnum.cygnus.com) + * function.c (fixup_var_refs_1): Make pseudo for DEST + in PROMOTED_MODE unless in a SUBREG. - * cp-lex.c (check_newline): Verify that main_input_filename is - valid before using it. + * cse.c (insert): Don't put a REG into qty_const. -Tue Oct 13 19:08:54 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * msdos/top.sed: Change version to 2.7.2. + * winnt/config-nt.sed: Likewise. - * a29k.c: Now includes reload.h. - (spec_reg_operand): Validate mode and know that some regs support - MODE_PARTIAL_INT and some MODE_INT. - (call_operand, reload_memory_operand, a29k_get_reloaded_address) - New functions. - (in_operand): Allow constants with MODE_PARTIAL_INT. - (out_operand): Allow special registers with any mode. - Any MEM a word or wider is valid. - (extend_operator): Deleted. - (secondary_reload_class): A pseudo is the same as memory; we need - BP_REGS for multi-word memory or for bytes and halfword if -mndw. - (print_operand): Delete %X; add %m. - (print_operand, case 'F'): Check for SYMBOL_REF. - * a29k.h (PROMOTE_MODE, ADJUST_COST): New macros. - (CALL_USED_REGISTERS): LR0 is call-used. - (HARD_REGNO_MODE_OK): Handle MODE_PARTIAL_INT and the special - registers that can only hold those modes. - (MODES_TIEABLE_P): Clean up and handle MODE_PARTIAL_INT modes. - (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add new - classes LR0_REGS, FC_REGS, and CR_REGS. - (REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise. - (PREDICATE_CODES): Update for new and deleted predicates. - * a29k.md: Use GEN_INT when appropriate. - (define_attr type): New types for SQRT. - (call patterns): Use SCRATCH for LR0. - Use new predicate call_operand so that some integers can be - used as addresses; fix CALLI so it doesn't accept constant. - (EXBYTE, EXTHW, INBYTE, INHW): Use ZERO_EXTEND instead of AND - when combine will make it. - Use PSImode for BP value and don't reference BP explicitly. - Clean up define_expands for these operations. - (rotlsi3): Use PSImode pseudo for FC. - (sign_extend): Sign extension insns clobber BP. - ({load,store}_multiple): Use PSImode pseudo for CR. - (MTSR): Add pattern for TRUNCATE from SImode to PSImode. - (sqrtsf2, sqrtdf2, movpsi): New patterns. - (load/store bytes/halfword): Clean up to accept temporaries as - input and use PSImode when required. - (movhi, movqi): Allocate temporaries here. - (reload_inqi, reload_outqi, reload_inhi, reload_outhi): New - patterns. - (movdf, movdi, movti): Use SCRATCH for BP register. - (reload_{in,out}{df,di,ti}): New patterns. +Sun Nov 26 14:41:49 1995 Douglas Rupp (drupp@cs.washington.edu) -Tue Oct 13 16:52:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Makefile.in (stamp-objlist): Change .o to $objext. - * fixinc.svr4 (sys/stream.h, sys/strsubr.h): Delete spurious `extern' - in various structure definitions. + * alpha/win-nt.h (CPP_PREDEFINES): Set __unaligned and __stdcall + to null. + (ASM_SPEC): Add a translation for -g to -Zi. + * winnt/ld.c (main): Don't pass -g to link. + * winnt/oldnames.c: Reformat and add some new functions for gnat1. + * winnt/win-nt.h (LINK_SPEC): Pass -g to ld.exe. + Increase default stack size. + * configure ({alpha-dec,i386-ibm}-winnt3.5): Add oldnames.o + to extra_objs. + * libgcc2.c (trampoline): Add getpagesize and mprotect for WINNT. + +Sun Nov 26 14:25:26 1995 Uwe Seimet (seimet@chemie.uni-kl.de) - * rtlanal.c (single_set): Fix typo in REG_UNUSED check. + * atari.h (FUNCTION_VALUE): Deleted; incorrect. - * cse.c (simplify_binary_operation): Insure that folded >> extends - the sign even if the host bootstrap compiler doesn't. +Sun Nov 26 14:23:03 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * final.c (output_asm_insn): Advance over the = when processing %=. + * fixincludes (curses.h): Allow space or tab after bool keyword, + instead of tab or tab. - * fixincludes (stdio.h): Fix va_list when preceeded by a *. +Sun Nov 26 14:14:11 1995 Oliver Kellogg (oliver.kellogg@space.otn.dasa.de) -Tue Oct 13 14:52:57 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) + * 1750a.md (pattern for HImode PSHM): Corrected. + (trunchiqi2, zero_extendqihi2, extendhftqf2): Corrected. + (pattern for movhi of CONST_INT to REG): Corrected. + (divmodqi pattern for DISN): Corrected. + (all shift patterns): Corrected. - * spc-sol2.h (STARTFILE_SPEC): Add crtbegin.o. - (LIB_SPEC): Add crtend.o for running ctors/dtors. - * t-sol2 (EXTRA_PARTS): Add crtbegin.o and crtend.o for C++. - (FIXINCLUDES): Deleted. - * configure (sparc-*-solaris2*): Set fixincludes here. + * 1750a.h (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Corrected. + (ASM_OUTPUT_[datatype]): Corrected datalbl[].size computation + for output of arrays. -Tue Oct 13 20:15:45 1992 Eric Youngdale (youngdale@v6550d.nrl.navy.mil) +Sun Nov 26 14:08:57 1995 Dave Love - * make-cc1.com: Simplify extraction of YYEMPTY from cp-parse.c. - Generate c-parse.y, objc-parse.y from c-parse.in if required. - Pat Rankin did some of this. + * mips/iris5.h (NO_IMPLICIT_EXTERN_C): Define this again so + that unistd.h doesn't get badly `fixed' for C++. libg++ will now + build with this definition. -Tue Oct 13 14:06:45 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Sun Nov 26 14:02:43 1995 Robert E. Brown (brown@grettir.bibliotech.com) - * sparc.md (in_branch_delay): Allow fpload and fpstore. + * configure: Better workaround for Nextstep bug. - * collect2.c (main): Only install a signal handler for signals - that already have handlers. - (fork_execute): Don't ignore signals before calling do_wait. +Sun Nov 26 13:55:07 1995 Torbjorn Granlund - * i960.md: Change 'f' constraint for dest to '*f' if it is not the - only alternative. Add '*f' dest constraints to all patterns where - it is valid but was previously missing. + * rs6000.md (load_multiple matcher): Fix typo in opcode. - * i960.h (OVERRIDE_OPTIONS): Enable function inlining. - * i960.c (g14_save_reg): Delete variable. - (i960_output_call_insn): Add two new parameters arg_pointer and - scratch_reg. Save/set/restore g14 if necessary. - (i960_expand_call): Delete function. - * i960.md (call, call_value): No longer call i960_expand_call, - instead call call_internal/call_value_internal pattern. - (call_internal, call_value_internal): Rewrite patterns to pass new - args to i960_output_call_insn. +Sun Nov 26 13:51:08 1995 Lee Iverson - * sparc.md (movstrsi+1): Add `+' to constraints for clobbered inputs. + * final.c (final_start_function): Move call to sdbout_begin_function + back to final_scan_insn on MIPS systems so parameter descriptions are + recognized. - * i960.c (i960_output_call_insn): Emit bx instead of b, callx - instead of callj. +Sun Nov 26 13:43:06 1995 DJ Delorie (dj@delorie.co)m - * sparc.c (sparc_frw_output_function_prologue): Frame pointer base - must be same as for regular sparc code. + * msdos/top.sed: Don't insert "go32". -Tue Oct 13 06:02:03 1992 Tom Wood (wood@dg-rtp.dg.com) +Sun Nov 26 12:08:23 1995 Jim Wilson - * loop.c (loop_optimize): Verify that max_uid_for_loop is still - larger than the uid of any insn. Increase the number of exit - blocks from 4 to 32 per loop. - (find_and_verify_loops): Stop trying to relocate exit blocks when - allocating a new label would exceed max_uid_for_loop. + * combine.c (nonzero_bits, case REG): Put POINTERS_EXTEND_UNSIGNED + code before stack pointer code. Return nonzero at end of stack + pointer code. - * combine.c (subst): Don't change a conditional branch into a - conditional move. + * sparc.h (PRINT_OPERAND_ADDRESS): Handle CONST inside PLUS. - * m88k.md (ext shift patterns): No longer needed. + * Makefile.in (cppalloc.o): Add a rule to build it. - * m88k.c (mostly_false_jump): Recognize a sequence properly. - -Mon Oct 12 22:31:37 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) + * alpha.c (alpha_emit_set_const): Don't output SImode sequences + that rely on invisible overflow. Sign extend new when SImode. + Don't recur if new == c. Don't allow shift outside mode. Make + logical right shift be unsigned. - * pa.h (LEGITIMIZE_ADDRESS): Fix typo. +Sun Nov 26 11:37:50 1995 Arne H. Juul (arnej@idt.unit.no) -Tue Oct 13 00:14:09 1992 H Lu (hlu@eecs.wsu.edu) + * Makefile.in (compare*): Add "|| true" to avoid spurious + failure messages from some versions of make. - * Makefile.in (install-common): Put - on cmd that handles protoize. - (gcc.o, cccp.o): Define TOOLDIR for the compilation. - (all HOST_PREFIX_1 targets): Fix typos. +Sun Nov 26 11:20:09 1995 Dmitry K. Butskoy (buc@stu.spb.su) - * x-linux (cpp.a, linux.a, cc1.a, cc1plus.a, gcc.a): Targets deleted. - (LD, ALIBS, STANDARD_STARTFILE_PREFIX, GPLUSPLUS_INCLUDE_DIR): - Vars deleted. + * expr.c (truthvalue_conversion): Add declaration. - * i386linux.h: Delete NO_JUMPTABLE conditional and contents. - (GPLUSPLUS_INCLUDE_DIR): Defined. - (STARTFILE_SPEC): Changed. +Sun Nov 12 18:09:35 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * gen*.c: Include hconfig.h, not config.h. + * Version 2.7.1 released. -Mon Oct 12 16:25:22 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * function.c (put_reg_into_stack): New arg volatile_p. + (put_var_into_stack): Call with new arg. - * configure.bat, vmsconfig.com: Make hconfig.h. +Sat Nov 11 08:25:34 1995 Jim Wilson - * vax.h (PRINT_OPERAND): Detect `double' constants by DFmode, - since VOIDmode means an integer. + * reload.c (output.h): Include it. + * Makefile.in (reload.o): Add dependence on output.h. - * mips.h (DEBUG_REGISTER_NAMES): New macro definition. - * print-rtl.c (reg_names): - Make it static. Use DEBUG_REGISTER_NAMES if that's defined. - * regclass.c (reg_names): Reinstate the definition here. +Thu Nov 9 11:24:20 1995 Jim Wilson - * fixinc.svr4: Delete excess fi in fixing stat.h. + * mips.h (HARD_REGNO_NREGS): If FP_REG_P, always use UNITS_PER_FPREG + to calculate number of words needed. -Mon Oct 12 08:10:37 1992 James Van Artsdalen (jrv@goldman.gnu.ai.mit.edu) +Thu Nov 9 11:04:50 1995 Oliver Kellogg (Oliver.Kellogg@space.otn.dasa.de) - * Makefile.in (install-fixincludes): Only delete an existing - syslimits.h if we install limits.h over it. + * 1750a.md (cmphf): Addd Base Reg with Offset address mode (LB,STB,..) + (movqi,movhi,movhf,addqi3,addhf3,subqi3,subhf3,mulqihi3): Likewise. + (mulhf3,divhf3,andqi3,iorqi3): Likewise. + (define_peephole): Remove the Base mode peepholes. Replace the + special addqi define_insn for "LIM Ra,sym,Rb" by a define_peephole. + (ashlqi3): Took out futile 0th alternative. + (lshrqi3, lshrhi3, ashrqi3, ahsrhi3): Correct case of non-constant + shift count. - * i386.h (PRINT_REG): Undo Oct 11 change. - (DEBUG_PRINT_REG): New macro, used from print-rtl.c. + * 1750a.h (REG_ALLOC_ORDER): Define. + (REGNO_OK_FOR_BASE_P): Include stack pointer in test against + reg_renumber[REGNO]. + (ASM_OUTPUT_DESTRUCTOR): Remove bogus assembler comment. - * conditions.h (CC_NOT_SIGNED): New macro. - * final.c (alter_cond): If CC_NOT_SIGNED, convert signed - conditions to unsigned. +Thu Nov 9 11:01:33 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * i386.md (cmpstrM patterns): Compare strings of unsigned chars, - not strings of signed chars. + * expr.c (expand_expr, case ARRAY_REF): Properly convert types + of index, size, and multiplication. -Mon Oct 12 06:31:13 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Wed Nov 8 09:00:22 1995 Richard Earnshaw (rearnsha@armltd.co.uk) - * combine.c (try_combine): Save DEST of NI2PAT before calling - recog_for_combine, which might make it a PARALLEL. + * arm.md (mov*cc_{,soft_}insn): Use match_operator to test the + comparison and check that the condition code register is used. - * emit-rtl.c (gen_lowpart_common): Allow MODE_PARTIAL_INT where - MODE_INT is allowed. +Wed Nov 8 08:49:35 1995 Michael Meissner - * combine.c (try_combine): Properly call single_set when validating - the result of a define_split. + * rs6000/sysv4.h (ASM_OUTPUT_{CONSTRUCTOR,DESTRUCTOR}): Undef before + including svr4.h. -Mon Oct 12 00:24:29 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Nov 7 10:58:12 1995 Torbjorn Granlund - * calls.c (calls_alloca): Don't look within DECL_INITIAL if it's 0. + * m68k.md (subxf3): Properly name pattern. - * varasm.c (simplify_subtraction): New function. - * rtl.h (simplify_subtraction): Declared. - * final.c (output_addr_const): Call it. +Tue Nov 7 10:53:09 1995 Michael Meissner - * print-rtl.c (DEBUG_PRINT_REG): Renamed from PRINT_REG. - (print_rtx): Use DEBUG_PRINT_REG. + * libgcc2.c (__{C,D}TOR_LIST): For AIX, initialize these arrays to + 0,0, just like NeXT to avoid a warning message from the AIX 4.1 + linker. -Sun Oct 11 16:27:53 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu.edu) +Tue Nov 7 09:58:34 1995 John F. Carr - * genrecog.c (merge_trees): When splitting, remember to clear DUPNO - in addition to the other things we can test. + * cppexp.c (cpp_lex): Correctly parse character constants. - * recog.c (general_operand, immediate_operand, const_double_operand): - Allow CONST_INT with MODE_PARTIAL_INT. - (nonmemory_operand): Likewise. +Tue Nov 7 09:52:15 1995 Jason Merrill -Sun Oct 11 07:53:39 1992 James Van Artsdalen (james at bigtex.cactus.org) + * rs6000.h (ASM_OUTPUT_{DES,CONS}TRUCTOR): Define. - * xm-i38v4.h,xm-aix386.h (USE_C_ALLOCA): New macro. Define if not - using GNU C's builtin alloca. +Mon Nov 6 10:27:15 1995 Doug Evans - * i386.c (notice_update_cc): Only set CC_IN_80387 for float compares. + * combine.c (force_to_mode): Fix typo. - * i386.h (PRINT_REG): Make register name arrays static within this - macro. +Sun Nov 5 18:37:02 1995 Torbjorn Granlund -Sun Oct 11 01:41:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * m68k.md (cmpxf): Don't call force_const_mem, it looses for PIC; + get predicates right instead. Get rid of separate DEFINE_EXPAND. + (addxf3, subxf3, mulxf3, divxf3): Likewise. + (All XFmode patterns): Delete `F' and `G' constraints. + (absxf2, negxf2): Delete spurious condition on TARGET_FPA. - * jump.c (jump_optimize): Don't optimize jumps to store-flag insns - when BLKmode values are being compared. +Sun Nov 5 11:05:44 1995 Philippe De Muyter (phdm@info.ucl.ac.be) -Sat Oct 10 16:51:08 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fixincludes (malloc.h): Fix return type of {m,re}alloc. - * print-rtl.c (print_rtx): Print hard reg name as well as number. - (PRINT_REG): New macro with default definition. - (reg_name): Moved here. - * regclass.c (reg_name): Deleted. +Sun Nov 5 11:02:26 1995 J"orn Rennecke (amylaar@meolyon.hanse.de) -Sat Oct 10 02:27:14 1992 James Van Artsdalen (james at bigtex.cactus.org) + * cse.c (invalidate): For a pseudo register, do a loop to + invalidate all table entries, irrespective of mode. - * i386sco.h (TARGET_DEFAULT): New macro - don't make TARGET_IEEE_FP - default for SCO. +Sun Nov 5 10:57:43 1995 Richard Kenner -Sat Oct 10 04:52:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * combine.c (force_to_mode): Put in last change properly. - * function.h (struct function): New fields const_rtx_hash_table, - const_rtx_sym_hash_table, first_pool, last_pool, pool_offset. - * function.c (pop_function_context, push_function_context): - Call {save,restore}_varasm_status. - * varasm.c: Include function.h. - (restore_varasm_status, save_varasm_status): New fns. - (init_const_rtx_hash_table): Allocate the hash tables in obstack. - (force_const_mem): Don't use CONST_DOUBLE_MEM for nested fns. - (clear_const_double_mem): Do nothing for nested fns. - * Makefile.in (varasm.o): Dep on function.h. +Sun Nov 5 10:53:49 1995 Jeffrey A Law (law@cygnus.com) -Fri Oct 9 18:16:18 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) + * pa.h (CONDITIONAL_REGISTER_USAGE): Make sure FP regs + get disabled regardless of PA1.0 vs PA1.1 code generation + when TARGET_SOFT_FLOAT or TARGET_DISABLE_FPREGS is on. - * cp-decl.c (duplicate_decls): Only find out if olddecl is a - friend after we know it's not a TREE_LIST. +Sun Nov 5 10:49:43 1995 Doug Evans -Fri Oct 9 18:10:19 1992 Jim Wilson (wilson@geech.gnu.ai.mit.edu) - - * sparc.c (sparc_type_code): Return reasonable result for COMPLEX_TYPE. + * i960.c (emit_move_sequence): Add a scratch register to + multi-reg stores. + (i960_output_move_{double,quad}): New functions. + (i960_print_operand): Handle new operand types E, F. + * i960.md (movdi matchers): Rewrite. + (store_unaligned_di_reg): New pattern. + (movti matchers): Rewrite. + (store_unaligned_ti_reg): New pattern. + +Sun Nov 5 10:45:24 1995 Ian Lance Taylor (ian@cygnus.com) -Fri Oct 9 14:33:26 1992 Tom Wood (wood@dg-rtp.dg.com) + * mips.h (MULTILIB_DEFAULTS): Define. + * mips/elf64.h, mips/iris6.h (MULTILIB_DEFAULTS): Define. - * reorg.c (start_of_epilogue_needs): New variable. - (mark_target_live_regs): Add in start_of_epilogue_needs when - NOTE_INSN_EPILOGUE_BEG is scanned. - (dbr_schedule): Compute start_of_epilogue_needs and update - end_of_function_needs to include sets by all instructions - following NOTE_INSN_EPILOGUE_BEG. +Sun Nov 5 10:41:48 1995 Jim Wilson - * m88k.md (return): Always available once reload has completed. - (epilogue): Use a return insn rather than an indirect jump. + * reload.c (push_reload): Delete abort for RELOAD_OTHER case added + in last change. + * reload1.c (emit_reload_insns): For RELOAD_OTHER output reloads, + output the reload insns in descending order of reloads. + + * sh.md (mulsidi3-1, mulsidi3, umulsidi3-1, umulsidi3): Enable. + (smulsi3_highpart-1, smulsi3_highpart): New patterns. + (umulsi3_highpart-1, umulsi3_highpart): Likewise. + (movdi-1): Add r/x constraint. + * t-sh (MULTILIB_OPTIONS): Add m2. + (MULTILIB_DIRNAMES): Add m2. + (MULTILIB_MATCHES): Define. -Fri Oct 9 12:36:54 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * sparc.h (RTX_COSTS, case MULT): Check for TARGET_SPARCLITE. - * spc-sol2.h (DBX_DEBUGGING_INFO): Defined. + * abi64.h, elf64.h (CPP_SPEC): Add -EB and -EL support. - * function.c (aggregate_value_p): Return 1 if regs we would use - are not all call-clobbered. +Sat Nov 4 10:36:26 1995 Jim Wilson - * stmt.c (POPSTACK): Pop discarded elts off all the stacks as we go. + * sh.md (casesi_worker): Change constraint from = to +. -Fri Oct 9 07:30:14 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * svr4.h (ASM_IDENTIFY_GCC_AFTER_SOURCE): Delete. + (ASM_IDENTIFY_GCC): Output stab here. - * reorg.c (mark_target_live_regs): Fix bug in last change. +Sat Nov 4 10:32:37 1995 John Carr - * combine.c (subst, case SUBREG): Don't make a new REG for - stack, frame, or arg pointer. - * emit-rtl.c (gen_lowpart_common, gen_highpart, operand_subword): - Likewise. + * cpplib.c (finclude): Set current input pointer when input + is not a regular file. - * local-alloc.c (optimize_reg_copy_1): Tighten up code to properly - handle the case when SRC or DEST is a multi-word hard register - and only some parts of the register are set or used. Also, avoid - updating register status for DEST if we can't do the optimization. + * cppmain.c: Define progname, required by cpplib. - * jump.c (jump_optimize): Only use a REG as a target. +Sun Oct 29 07:48:36 1995 Michael Meissner - * alpha.c (alpha_builtin_saveregs): Don't use value of NREGS greater - than 6 when computing ARGSIZE. + * xcoffout.h (DBX_FINISH_SYMBOL): Deal with names created via + the __asm__ construct that start with a leading '*'. + * xcoffout.c (xcoff_declare_function): Likewise. - * va-alpha.h (va_arg): Put parens around all uses of __VA arg. +Sun Oct 29 07:45:41 1995 Jim Wilson -Thu Oct 8 18:45:00 1992 Arne H. Juul (arnej@lise.unit.no) + * stupid.c (stupid_mark_refs): Handle SUBREG of pseudo-reg in a + SET_DEST same as we handle a pseudo-reg in a SET_DEST. - * Makefile.in (install-common-headers): added missing 'then' +Sun Oct 29 07:43:15 1995 Pat Rankin -Thu Oct 8 15:52:22 1992 Michael Meissner (meissner@osf.org) + * libgcc2.c (L_eh: __unwind_function): Implement for VAX. + * vax.h (RETURN_ADDRESS_OFFSET, RETURN_ADDR_RTX): Define. - * mips.h (SELECT_RTX_SECTION): Rename macro from obsolete name - SELECT_SECTION_MODE. +Sun Oct 29 12:39:08 1995 Richard Kenner a - * i386rose.h (whole file): Remove #ifdef before #undef of macros. - (LEGITIMATE_CONSTANT_P): Define, so that when half-pic is on, - half-pic addresses are not considered legitimate. - (SELECT_RTX_SECTION): If putting a half-pic pointer that is - loaded, put the pointer into the data section, rather than the - readonly_data_section. - (SELECT_SECTION): Define. - (ASM_OUTPUT_DOUBLE): If not cross compiling, emit double as two - longs, otherwise emit .double directive. - (ASM_OUTPUT_FLOAT): If not cross compiling, emit float as long, - otherwise emit .float directive. - (perform_fixdfsi): Copy arg to memory variable. - (SIZE_TYPE): Define to be long unsigned int. - (PTRDIFF_TYPE): Define to be int. - (WCHAR_TYPE)L: Define to be unsigned int. + * i386/sol2.h (CPP_PREDEFINES): Add -D__SVR4. - * i386.md (movsi): Remove obsolete half-pic code. - (call insns): For half-pic insns, force address into register. +Sun Oct 29 07:14:36 1995 J"orn Rennecke (amylaar@meolyon.hanse.de) -Thu Oct 8 14:22:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * reload.c (find_equiv_reg): Check for nonsaving setjmp. - * Makefile.in (install-common-headers): Fix dir in chmods for assert.h. +Fri Oct 27 15:15:56 1995 Jim Wilson - * va-i860.h (__savereg, va_arg): Put uses of __va in parens. + * Makefile.in (out_object_file): Depend on TREE_H. - * vax.h (PRINT_OPERAND): Define new code, D. - * vax.md (movdi): Use D code for operand 1. +Fri Oct 27 06:42:36 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Oct 8 13:23:25 1992 Jeffrey A. Law (law@mole.gnu.ai.mit.edu) + * alpha.c (call_operand): Only allow reg 27 on NT too. + * alpha.md (call_value_nt, call_nt): Force non-SYMBOL_REF + into reg 27, just like for OSF. - * pa.md (fp_alu function unit, case fpcc): Fpcc instructions use - the fpalu unit. In the most common case their result will be used - in a ftest instruction. Minimum distance between the fcmp and - ftest instruction is 4. + * rs6000.c (struct asm_option): Changed from struct option. + (expand_block_move_mem): Remove erroneously-added line. -Thu Oct 8 06:41:15 1992 Tom Wood (wood@dg-rtp.dg.com) + * expr.c (clear_storage): SIZE is now rtx, not int. + (store_constructor): Call clear_storage with rtx. + (get_inner_reference): Convert index to precision of + sizetype, not POINTER_SIZE. + (expand_expr, case ARRAY_REF): Likewise. + * expr.h (clear_storage): Second arg is rtx, not int. - * function.c (assign_parms): Provide a safe value for - DECL_INCOMING_RTL in case of syntax errors. +Fri Oct 27 05:45:58 1995 J"orn Rennecke (amylaar@meolyon.hanse.de) - * dwarfout.c (dwarfout_init, dwarfout_finish): Don't output labels - or .debug_aranges entries for .data1 and .rodata1 as these - sections aren't currently used. + * combine.c (force_to_mode, case ASHIFTRT): Properly handle + mask wider than HOST_WIDE_INT. -Thu Oct 8 04:44:17 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * c-decl.c (pushdecl): Don't test TREE_PUBLIC when deciding whether + to register a duplicate decl in the current block. - * reorg.c (mark_target_live_regs): Look at USE insns made by - update_block when scanning forward past target. - (mark_target_live_regs, dbr_schedule): Use GET_RTX_CLASS. +Thu Oct 26 21:55:39 1995 Jason Merrill - * cse.c (PATHLENGH): Change from 20 to 10 to speed up compilations. + * calls.c (expand_call): Don't trust the callee to copy a + TREE_ADDRESSABLE type. + * function.c (assign_parms): Likewise. -Thu Oct 8 03:07:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Oct 26 19:25:05 1995 Mike Stump - * fold-const.c (invert_truthvalue): Never alter ARG. + * libgcc2.c (__unwind_function): Provide a default definition for + implementations that don't yet have a function unwinder. - * Makefile.in (TAGS): Exclude =*.[chy] from tags table. +Thu Oct 26 18:08:19 1995 Paul Eggert - * c-lex.c (yylex): For floats, use REAL_VALUES_LESS to distinguish - underflow from overflow. Delete special case for 0.0. + * cccp.c (handle_directive): Don't treat newline as white + space when coalescing white space around a backslash-newline. -Wed Oct 7 16:25:19 1992 Tom Wood (wood@dg-rtp.dg.com) +Thu Oct 26 17:57:34 1995 Ian Lance Taylor - * dwarfout.c (dwarfout_{begin,end}_function): New functions. - (body_{begin,end}_attribute): New functions. - (dwarf_attr_name): Print AT_body_begin and AT_body_end. - (output_{local,global}_subroutine_die): Output the new attributes. - * dwarf.h (enum dwarf_attribute): Add At_body_begin and AT_body_end. - * final.c (final_scan_insn): Call dwarfout_begin_function. - (final_end_function): Call dwarfout_end_function. + * mips-tdump.c (enum st): Define st_Struct, st_Union, and st_Enum. + (st_to_string): Handle them. + (type_to_string): Add fdp argument; pass it to emit_aggregate. + (print_symbol): Add fdp argument; pass it to type_to_string. + Handle st_Struct, st_Union, and st_Enum. + (emit_aggregate): Add fdp argument. Handle opaque types. Map + through RFD entries. + (print_file_desc): Pass FDR to print_symbol. + (main): Pass null FDR to type_to_string. - * m88k.h (FASTEST_ALIGNMENT): Define as 8 for -m88110 otherwise 4. - (CONSTANT_ALIGNMENT, DATA_ALIGNMENT): Base on FASTEST_ALIGNMENT. - * m88k.md (movstrsi): No predicate is needed for the source or - destination. - * m88k.c (best_from_align): Add a target processor dimension for - -m88000, -m88110, and -m88100. - (expand_block_move): Choose method and limits based on -m88xxx option. - (block_move_no_loop): Extend to allow DImode. - * m88k-move.sh: Add the modules moveDI96x and moveDI41x through - moveDI47x. - * t-m88k, t-m88kluna, t-m88ksvr4: New modules added to MOVE_ASM. +Thu Oct 26 08:07:10 1995 Michael Meissner - * m88k.c (output_call): Use different syntax for GAS. + * configure (powerpc-ibm-aix[456789]*): Use rs6000/t-newas, + not rs6000/t-rs6000. + (rs6000-ibm-aix3.2.[456789]*): Likewise. + (rs6000-ibm-aix[456789]*): Likewise. - * m88k.h (READONLY_DATA_SECTION): Don't override svr4.h - (ASM_OUTPUT_CASE_LABEL): For svr4, use .rodata. + * rs6000/t-newas: Copy from t-rs6000. + * t-rs6000: Don't build -mcpu=common multilib variants of libgcc.a. -Wed Oct 7 15:47:19 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rs6000.md (load_multiple insn): If address register is among regs, + don't load it with a lwsi instruction, which is undefined on PowerPC. - * configure (i486-ncr-sysv4): Use i386v4.h. - (i386-*-sysv4, i386-*-linux, i386-*-sysv): Handle 486 too. - (i486-*-sysv4, i486-*-linux): Deleted. - * i486v4.h, i486linux.h: Files deleted. +Thu Oct 26 08:01:32 1995 Jim Wilson -Wed Oct 7 12:40:00 PDT 1992 Ron Guilmette (rfg at netcom.com) + * dwarfout.c (output_compile_unit_die): Handle language_string + of "GNU F77". - * populate (progname): Just the basename of $0 please. - (target_dir): Use abs_target_dir and rel_target_dir for clarity. - (source_dir): Use abs_source_dir and rel_source_dir for clarity. - (*): List input and output dirs on startup. - (*): Don't be so verbose; Don't echo names of output dirs/files as - they are created. + * reload.c (find_reloads_address): When check for out of range constant + plus register, accept any hard register instead of just fp, ap, sp. - * fixinc.svr4 (): Fix types of SIG_DFL, SIG_ERR, - SIG_IGN, and SIG_HOLD. - (): Turn definitions of stat, lstat, fstat, and mknod - into ANSI syntax and add __ to variables used. + * combine.c (distribute_notes): For Oct 19 change, add additional + check to verify that place has a valid INSN_CUID. - * c-parse.in (component_decl_list): Do pedwarn for missing semicolon - after last field decl. + * sparc/t-vxsparc (LIBGCC1_TEST): Define. -Wed Oct 7 09:49:34 1992 Michael Meissner (meissner@osf.org) + * sh.md (negdi2): Use TARGET_LITTLE_ENDIAN. - * decstatn.h (LINK_SPEC): Don't define if it is already defined, - ie dec-osf1.h has included decstatn.h. + * combine.c (force_to_mode, case ASHIFTRT): Verify mode bitsize is + within HOST_BITS_PER_WIDE_INT before shifting by it. - * dec-osf1.h (MACHINE_TYPE): Redefine to say DEC OSF/1 instead of - ultrix. + * final.c (final_scan_insn): When recur for instruction in delay slot, + add loop around recursive call in case the instruction gets split. -Wed Oct 7 03:50:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Oct 26 07:28:45 1995 J"orn Rennecke (amylaar@meolyon.hanse.de) - * configure (target_cpu_default): Var renamed from target_default. - Set it to 2, for a 486. Define TARGET_CPU_DEFAULT macro. + * genrecog.c (write_tree_1): Avoid emitting '-2147483648'. - * i386.h (TARGET_CPU_DEFAULT): Add default definition. - (TARGET_SWITCHES): Include that in the default. + * jump.c (duplicate_loop_exit_test): Return 0 if found + a NOTE_INSN_LOOP_CONT. - * toplev.c (main): Recover correctly from invalid -Wid-clash option. +Tue Oct 24 15:30:14 1995 Jeffrey A Law - * cccp.c (finclude): Set fp->buf earlier, so it's freed on error. + * calls.c (expand_call): Make sure valreg is at least + a full word. - * Makefile.in (install-common-headers): Avoid ! operator, for assert.h. +Sun Oct 22 19:35:41 1995 Jim Wilson -Tue Oct 6 20:21:21 1992 Jim Wilson (wilson@geech.gnu.ai.mit.edu) + * sh.h (INIT_SECTION_ASM_OP): Delete. + (HAVE_ATEXIT): Define. - * unroll.c (copy_loop_body, JUMP_INSN case): Delete abort in the - code for setting the JUMP_LABEL field. +Sun Oct 22 07:46:04 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Oct 6 19:29:19 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) + * libgcc2.c (__fixuns[xds]fsi): #undef MIN and MAX before #include + of limits.h. - * cp-call.c (build_overload_call_real): If `functions' is an - ADDR_EXPR (as with operator new and delete), give the name of its - argument as the error fn. + * pa.c (pa_adjust_cost): Use pa_cpu, not pa_cpu_attr. -Tue Oct 6 14:15:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sun Oct 22 07:38:58 1995 J"orn Rennecke (amylaar@meolyon.hanse.de) - * configure: Correct conditional in setting build_xm_file. + * alpha.h (CONST_OK_FOR_LETTER_P): Use 'U' for unsigned constants. + * alpha.c (alpha_emit_set_const): Likewise. + * mips.c (gen_int_relational): Likewise. - * function.c (get_first_block_beg): New function. +Sun Oct 22 07:14:35 1995 Douglas Rupp (drupp@cs.washington.edu) - * cross-make (assertdir): Override usual definition. - * Makefile.in (install-common-headers): chmod assert.h in proper dir. - Use $(assertdir). - (assertdir): New variable. - (install-dir): Create dir $(includedir). - (includedir): Make this /usr/local/include. + * i386.c (i386_return_pops_args): Don't need a FUNDECL to + check for type attributes in FUNTYPE. -Tue Oct 6 12:05:35 1992 Jeffrey A. Law (law@mole.gnu.ai.mit.edu) +Sat Oct 21 18:17:42 1995 Jim Wilson - * pa.md (memory function unit, load case): Loads take two cycles, + * sh.md (define_delay): Don't accept any instruction for an annulled + slot, only accept those for which in_delay_slot is yes. + * sh.c (find_barrier): When hi_const returns true, increment count_si + by two if found_si is true. + Always use get_attr_length to compute length of instructions. + If count_hi or count_si out of range at end, need two PREV_INSN calls not one. + When create new label, set LABEL_NUSES to 1. + (reg_unused_after): Ifdef out code for handling labels. + (prepare_scc_operands): New local variable mode. Set it from + sh_compare_op0 or sh_compare_op1. Use it instead of SImode in + force_reg calls. + + * optabs.c (expand_float): Emit missing barrier after unconditional + jump. -Tue Oct 6 07:56:05 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - - * pa.md (adddi3): Fix typo. - -Tue Oct 6 04:03:40 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * m68k.c (floating_exact_log2, standard_68881_constant_p): - (standard_sun_fpa_constant_p): Use REAL_VALUE_FROM_CONST_DOUBLE. - (print_operand): Likewise. - -Mon Oct 5 18:39:29 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) - - * tree.h (TREE_VIA_PROTECTED): Set protected_flag, not static_flag. - -Mon Oct 5 18:27:08 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Makefile.in ($(srcdir)/INSTALL): Add -D INSTALLONLY. - -Mon Oct 5 14:46:08 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) - - * cp-parse.y (unary_expr): Use the `new' rule when looking for - something like `new(foo) char[10]'. - - * cp-decl.c (grokparms): Don't call digest_init on default args. - -Mon Oct 5 02:21:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * reload1.c (allocate_reload_reg): Always check for asm - on failure instead of simply aborting. - - * optabs.c (init_optabs): Use cabs as the only libcall for abs. - -Mon Oct 5 03:10:14 1992 Mark Eichin (eichin at tweedledumber.cygnus.com) - - * c++ (numargs): $# was used after set was called; instead, save - $# in $numargs and use that value instead. - -Sun Oct 4 12:34:00 PDT 1992 Ron Guilmette (rfg at netcom.com) - - * dwarfout.c (hard-reg-set.h): Included to get decl of `reg_names'. - (PRINT_REG): Default definition added. - (dwarf_last_decl): Variable declaration added. - (output_reg_number): New function; handle -fverbose-asm reg printing. - (output_mem_loc_descriptor, output_loc_descriptor): Call it. - (output_decl): Set `dwarf_last_decl' each time this fn is called. - * i386.h (hi_reg_name, qi_reg_name, qi_high_reg_name): Declared. - (PRINT_REG): Definition moved from i386.c. - * i386.c (hi_reg_name, qi_reg_name, qi_high_reg_name): Not static. - (PRINT_REG): Definition moved to i386.h. - -Sun Oct 4 00:53:37 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c-decl.c (shadow_tag_warned): Use pedwarn for useless keyword. - - * c-lex.c (readescape): No warning if digits in \x are all 0's. - -Sat Oct 3 14:37:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * optabs.c (expand_complex_abs): New function. - * expr.h (expand_complex_abs): Add declaration. - -Sat Oct 3 07:29:09 1992 Michael Meissner (meissner@osf.org) - - * configure (mips-dec-osf1): Use x-dec-osf1 instead of x-decstatn. - - * x-dec-osf1 (new file): Like x-decstatn, except that INSTALL is - installbsd -c. - -Sat Oct 3 05:04:43 1992 Tom Wood (wood@dg-rtp.dg.com) - - * toplev.c (rest_of_decl_compilation): Don't call - dwarfout_file_scope_decl as this causes duplicates. - -Sat Oct 3 01:35:23 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * explow.c (allocate_dynamic_stack_space) [MUST_ALIGN]: - Always add to size, always round up to STACK_BOUNDARY, - always round the address. +Sat Oct 21 14:16:46 1995 Torbjorn Granlund - * rtl.h (gen_realpart, gen_imagpart): Declared. + * alpha.md (cmpdf): Make conditional on TARGET_FP. -Fri Oct 2 20:03:53 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Oct 20 19:11:12 1995 J"orn Rennecke (amylaar@meolyon.hanse.de) - * emit-rtl.c (gen_realpart, gen_imagpart): New functions. - * optabs.c (expand_unop, expand_binop): Use them. - * expr.c (expand_expr): Use them. + * combine.c (distribute_notes): Delete instructions without + side effect that set a subreg of an unused register. - * cccp.c (main): Handle -U before -D (and -A). + * m68k.h (PREFERRED_RELOAD_CLASS): Check for !G constants + for DATA_OR_FP_REGS also. - * assert.h: Add magic comment at beginning. - * Makefile.in (includedir): New variable. - (USER_H): assert.h removed from value. - (install-common-headers): Install assert.h separately, in includedir, - but not if file exists and lacks the magic comment. +Fri Oct 20 18:57:10 1995 Ian Lance Taylor - * reload1.c (reload): Move test for failure to find any group - to after the loop over i. Also check that all the regnos fit - below FIRST_PSEUDO_REGISTER. + * genmultilib: Output negations of unused alternatives, even if + one of the alternatives is selected. - * expr.c (expand_expr): - For ABS_EXPR, give expand_unop the operand's mode. +Fri Oct 20 18:48:50 1995 Jeff Law (law@hurl.cygnus.com) -Fri Oct 2 14:58:06 PDT 1992 Ron Guilmette (rfg at netcom.com) + * integrate.c (output_inline_function): Turn on flag_no_inline + to avoid function integration once we begin writing deferred + output functions. - * i386v4.h (DBX_REGISTER_NUMBER): Don't abort here on pseudo-regs. - * dwarfout.c (output_mem_loc_descriptor, output_loc_descriptor): - Catch cases of bogus DECL_RTL values involving pseudo-regs (for all - target systems) and print an annoying message if we ever see such a - case. +Fri Oct 20 18:46:33 1995 Michael Meissner -Thu Oct 1 17:23:08 1992 Michael Meissner (meissner@osf.org) + * rs6000.c (float_conv_temp): Delete global variable. + (stack_temps): New static array to hold stack temps. + (offsettable_mem_operand): Delete function. + (offsettable_addr_operand, rs6000_stack_temp): New functions. + (output_epilog): Zero stack_temps. - * mips-tfile.c (various): Rename some of the index variables and - fields to indx, so that it doesn't conflict with the BSD - index function, which may be #define'd to strchr. However, the - MIPS symbol table has a field called index, so #undef index and - rindex, and write our own functions local_index and local_rindex. + * rs6000.h (offsettable_addr_operand): Declare instead of + offsettable_mem_operand. + (PREDICATE_CODES): Use offsettable_addr_operand. + (float_conv_temp): Delete variable. - * mips-bsd.h (CPP_PREDEFINES): Add single underscore in front of - each of the defines, for RISC-OS 5.0 compatibility. + * rs6000.md (move_to_float insns): Change move_to_float so + that it doesn't have a clobber of the memory address, and instead + passes the stack temp's memory address as one of the unspec args. + (fix_truncdfsi2): Use rs6000_stack_temp to allocate the temp. + (multiply, shift insns): Fix all cases of multiply and shift insns so + that the right mnemonics are used for -mcpu=common with both + -m{old,new}-mnemonics. - * mips-sysv.h (CPP_PREDEFINES): Add single underscore in front of - each of the defines, for RISC-OS 5.0 compatibility. +Fri Oct 20 17:58:19 1995 Jim Wilson - * mips-svr4.h (CPP_PREDEFINES): Add single underscore in front of - each of the defines, for RISC-OS 5.0 compatibility. + * expr.c (safe_from_p, case RTL_EXPR): Return 0 if RTL_EXPR_SEQUENCE + exists. Delete code to return 0 if exp_rtl is zero. - * mips.h (CPP_PREDEFINES): Add single underscore in front of each - of the defines, for RISC-OS 5.0 compatibility. + * function.c (init_function_start): Don't call init_insn_lengths here. + * toplev.c (rest_of_compilation): Call it here. - * mips.c (override_options): Only call setvbuf to make stderr line - buffered for -mstats on Ultrix, and OSF/1. +Thu Oct 19 19:19:06 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Oct 1 15:18:55 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * c-common.c (check_format_info): Make test for null pointer + more general. - * reload1.c (emit_reload_insns): Add a case to handle - SECONDARY_MEMORY_NEEDED in the SECONDARY_OUTPUT_RELOAD_CLASS code. - * sparc.h (SECONDARY_INPUT_RELOAD_CLASS): Also need a temp reg - when loading HImode and QImode values from memory to FP_REGS. - (SECONDARY_OUTPUT_RELOAD_CLASS): New macro. Define this to handle - HImode and QImode stores from FP_REGS to memory similar to above. +Thu Oct 19 18:56:16 1995 Satoshi Adachi (adachi@wisdom.aa.ap.titech.ac.jp) -Thu Oct 1 13:36:52 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fixincludes (stdlib.h): Be more general in edit to change + declaration of {c,m,re}alloc. - * cccp.c (rescan): If traditional, recognize # only at bol. +Thu Oct 19 18:48:53 1995 Torbjorn Granlund - * expr.c (expand_expr): Just return the lowpart or highpart. + * libgcc2.c (__udiv_w_sdiv): If we don't have sdiv_qrnnd, define + dummy variant of __udiv_w_sdiv. + +Thu Oct 19 18:45:21 1995 Jim Wilson - * configure (i386-*-linux, i486-*-linux): New alternatives. - * i386linux.h, i486linux.h, xm-linux.h: New files. + * alpha.h (ASM_SPEC): If GNU as is the default, then pass -g to + the assembler if -malpha-as. If GNU as is not the default, then pass + -g to the assembler is not -mgas. - * optabs.c (expand_unop): Handle complex negate and abs val. - (init_optabs): Set up libcalls for complex abs. - (init_complex_libcalls): New function. + * combine.c (distribute_notes): When search for new place to put + REG_DEAD note, call distribute_links if this new place is between + i2 and i3, and i2 uses the register. -Thu Oct 1 22:58:45 1992 Eric Youngdale (youngdale@v6550d.nrl.navy.mil) +Thu Oct 19 18:41:36 1995 Michael Meissner - * make-cc1.com: Extract line containing "#define YYEMPTY" from - cp-parse.c, and append to cp-parse.h (a la Makefile.in). + * rs6000.md (float{,uns}sidf2): Rewrite to break the conversion + process into several general insns. + (move_to_float): New insns to move 2 integer regs into a float register + through memory, taking endianess into account. Make sure that the + floating temporary is a valid address. Use one temporary for all + floats converted. + (fix_truncdfsi2): Take endianess into account. - * cccp.c (main) [VMS]: Use .obj, not .o, in dependencies output. + * rs6000.c ({low_32_bit,offsettable_mem}_operand): The function + low_32_bit_operand is now unused, delete it. New function + offsettable_mem_operand to determine if a memory address is + offsettable. + * rs6000.h ({low_32_bit,offsettable_mem}_operand): Ditto. + (PREDICATE_CODES): Ditto. -Thu Oct 1 17:15:49 1992 Chip Salzenberg (chip@tct.com) + * rs6000.{c,h} (float_conv_temp): New global. + * rs6000.c (output_epilog): Zero out float_conv_temp. - * c-common.c (declare_function_name): __FUNC__ variables - are compiler-created, so set DECL_SOURCE_LINE to zero. - * c-decl.c (pushdecl): Internally generated vars can be - detected with DECL_SOURCE_LINE of zero, not DECL_IGNORED_P. + * Makefile.in (libgcc{1,2}.a): Allow LIB{1,2}FUNCS_EXTRA files to + end in .S as well as .c and .asm. -Thu Oct 1 13:07:21 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) +Wed Oct 18 17:56:45 1995 Jose Alonso (sidinf@fpsp.fapesp.br) - * pa.c (emit_move_sequence): When making a reference to the data - space before reload, emit an insn sequence which is much more - likely to create "addil" instructions rather than "ldil; add" - sequences. Doing so greatly reduces the chance of running into a - HPUX linker bug when compiling kernels. + * c-typeck.c (parser_build_binary_op): Warn about x^y==z, etc. - * pa.h (TARGET_KERNEL): New switch "-mkernel" which forces gcc to - avoid "ldil; add" sequences when %r29 and instead generate "addil" - sequences. This avoids a HPUX linker bug when compiling kernels. - * pa.md (add high part and dp register): Split into two patterns, - one for normal code, one for kernels. Kernel version only allows - "r1" as the destination register. +Mon Oct 9 12:38:06 1995 Michael Meissner - * pa.h (LEGITIMIZE_ADDRESS, SYMBOL_REF case): Emit a sequence - which will cause "addil" instructions to be emitted instead of - "ldil; add" sequences. + * protoize.c (reverse_def_dec_list): Silence compiler warnings. -Thu Oct 1 01:09:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Oct 9 12:35:54 1995 Andrew Cagney - * c-parse.in, cond.awk: New files. - * Makefile.in (c-parse.y, objc-parse.y): Construct from c-parse.in. - (gcc.xtar): Depend on c-parse.y, objc-parse.y. - (realclean): Delete c-parse.y, objc-parse.y. + * ginclude/va-ppc.h (va_arg): Deal with long longs that would be + passed in the 7th register, and are passed in the stack instead. - * explow.c (allocate_dynamic_stack_space): If STACK_DYNAMIC_OFFSET - or STACK_POINTER_OFFSET, always round address up to BIGGEST_ALIGNMENT. +Fri Oct 6 13:47:10 1995 Jim Wilson - * gstddef.h: If _ANSI_H_, undef _PTRDIFF_T_, _SIZE_T_, _WCHAR_T. + * alpha.h (ASM_SPEC): Add -g. - * gvarargs.h: In the first part (instead of va-*.h), define - __gnuc_va_list, as in gstdarg.h. Always use __gunc_va_list - as basis for defining va_list. - Move interaction with BSD-NET2 down to where va_list itself is defined. +Fri Oct 6 13:42:50 1995 Richard Kenner - * cccp.c (do_include): Delete unreachable goto after '"' case. + * alpha.h (alpha_{arg,auto}_offset): Make extern. -Thu Oct 1 16:57:22 1992 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) +Fri Oct 6 13:24:43 1995 Michael Meissner - * dpx2g.h (NO_DOLLAR_IN_LABEL): Undef because gas understands dollars - in labels and gdb expects them if configured for gas. - (STARTFILE_SPEC): Include huge.o to be compatible with native cc. - (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): - (CTOR_LISTS_DEFINED_EXTERNALLY, DO_GLOBAL_DTORS_BODY): - (STARTFILE_SPEC): Conditionally redefine for a collectless version - of gcc if USE_COLLECT2 is not defined. + * rs6000.h (RETURN_ADDRESS_OFFSET): Correct previous change. - * dpx2.ifile: New ld command file to support not using collect2. +Fri Oct 6 13:14:43 1995 Doug Evans -Wed Sep 30 17:08:32 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rtlanal.c (reg_set_last): Fix call to reg_set_between_p. - * libgcc2.c (__eprintf): Do nothing if inhibit_eprintf is defined. +Tue Oct 3 12:31:38 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * pbd.h, spc-sol2.h, tower.h (NO_UNDERSCORES): Deleted. + * stor-layout.c (layout_type, case ARRAY_TYPE): Strip MAX_EXPR + from upper bound when computing length if it just protects against + negative length. - * Makefile.in (install-fixincludes): rm syslimits.h before installing. - Install it with cp. Add an else-part to the if that installs it. + * expr.c (emit_move_insn_1): When doing multi-word move, show + output is clobbered. - * c-decl.c (start_enum): Push obstacks, switch to permanent if global. - (finish_enum): Pop obstacks. - (store_parm_decls): When clearing ->names, clear out the values - from the identifiers, restore shadowed values, and clear ->shadowed. +Tue Oct 3 12:26:07 1995 Jim Wilson - * c-decl.c (grokdeclarator): Don't warn of const or volatile function - in a system header file. + * cse.c (set_nonvarying_address_components, case AND): Add *pend to + end. Add constant to start instead of subtracting it. - * sdbout.c: Don't use system syms.h on hpux. +Tue Oct 3 12:23:28 1995 Torbjorn Granlund - * cccp.c (do_xifdef): Skip all kinds of whitespace, in bof test. + * combine.c (simplify_rtx): In code that attempts to simplify + conditional expressions, if the result is an NE around another + comparison, return the original expression. -Wed Sep 30 15:09:10 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * longlong.h (mips umul_ppmm): Use `l' and `h' constraints; + remove mflo and mfhi instructions. - * sparc.md (orcc peephole): Don't accept FP reg for operand 0. +Tue Oct 3 12:21:29 1995 Michael Meissner -Wed Sep 30 00:47:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * ginclude/va-ppc.h (va_start, stdarg case): Call + __builtin_next_arg, and ignore the result, so that the compiler + can report the proper error, if the second argument is not the + last argument. - * gstdarg.h, gvarargs.h: Use <...> to include va-*.h. +Tue Oct 3 12:02:51 1995 Kohtala Marko - * c-decl.c (start_struct): Push the obstacks. - Switch to permanent if at top level. - (finish_struct): Pop them. + * function.c (assign_stack_temp): Adjust full_size field of + temp_slot when splitting an unused slot. - * c-decl.c (store_parm_decls): If we have (erroneously) a prototype - and old-style parm decls, throw away the old-style parm decls. +Tue Oct 3 11:51:59 1995 Mike Stump - * configure: Default $build after $host. Canonicalize all three - config names before the main dispatch and save in $canon_host, etc. - Write these into config.status and on terminal at the end. + * expr.c (expand_builtin_return_addr): Break out functionality + from expand_builtin. + (expand_builtin): Call expand_builtin_return_addr. + * rs6000.h (RETURN_ADDR_RTX): Remove call to copy_to_reg. + Offset to return address is 4 when !TARGET_64BIT and v4_call_p, + 8 otherwise. + * sparc.h (RETURN_ADDR_RTX): Remove call to copy_to_reg. + * alpha.h (RETURN_ADDR_RTX): New definition. -Tue Sep 29 18:41:54 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Sun Oct 1 21:23:30 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * unroll.c (find_splittable_givs): recog_memoized failure return - is -1 not 0. + * tree.c (staticp, case INDIRECT_EXPR): Disable case. -Tue Sep 29 22:19:48 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) + * expr.c (expand_expr, case COMPONENT_REF): If getting component + of union of variable size, propagate TARGET. - * config.sub (os handling): Recognize `linux' as a valid os. +Fri Sep 29 07:48:09 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Sep 29 16:05:47 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * expr.c (store_expr): When storing promoted value, don't return + MEM if address contains target. - * limitx.h: Use <...> in #include. +Thu Sep 28 14:30:03 1995 Paul Eggert - * Makefile.in (ENQUIRE_CFLAGS): Remove -DNO_SC. + * cccp.c (rescan): Expand `#if foo && #bar' without a bogus + complaint about preprocessor directives within macro args. + Expand `foo' in `foo#bar' without requiring a space before `#'. -Tue Sep 29 10:14:27 1992 Richard Kenner (kenner@.vlsi1.ultra.nyu.edu) +Thu Sep 28 14:24:26 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * optabs.c (expand_binop): Convert X - C to X + (-C). + * m68k.md (anonymous DImode shift patterns setting cc0): Turned + off due to reload problems. -Mon Sep 28 22:44:17 1992 Jim Wilson (wilson@cygnus.com) +Thu Sep 28 14:05:22 1995 Niklas Hallqvist (niklas@appli.se) - * reload.c (find_reloads_address): If tem != ad, then create a new - mem to hold it and store it back into memrefloc. + * Makefile.in (USER_H): Move up so can override. + (INSTALL_ASSERT_H): New definition. + (install-headers): Use it. + (stmp-int-hdrs): Handle USER_H being empty. + * config/x-netbsd (INSTALL_ASSERT_H): Define as empty. -Mon Sep 28 10:44:55 1992 Chip Salzenberg (chip@tct.com) + * i386/netbsd.h (WCHAR_{TYPE,UNSIGNED,TYPE_SIZE}): Now int. + * m68k/netbsd.h, ns32k/netbsd.h, sparc/netbsd.h: Likewise. + * vax/netbsd.h: Likewise. + (SIZE_TYPE): Use unsigned int. - * regclass.c: Fix comment syntax after #endif. + * m68k.c (output_scc_di): Swap operands when needed. + * m68k.h (LEGITIMATE_PIC_OPERAND): Allow SYMBOL_REF_FLAG symref. + * m68k.md: Make both assembler syntaxes do the same for PIC calls. -Mon Sep 28 17:15:22 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Sep 26 16:51:44 1995 Michael Meissner - * gstdarg.h (va_arg, va_start): Explicitly cast to __gnuc_va_alist. + * mips.c (override_options): Don't allow anything but integers to + go in the HI/LO registers. -Mon Sep 28 17:12:04 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Tue Sep 26 16:36:18 1995 John F. Carr - * unroll.c (copy_loop_body, JUMP_INSN case): When invert jump - insn, must first construct new insn before trying to invert it, - so that validate_change will work properly. + * c-common.c (check_format_info): Don't warn about format type + mismatch if the argument is an ERROR_MARK. - * unroll.c (find_splittable_givs): Pass mem_mode not mode to - memory_address_p. +Mon Sep 25 17:50:50 1995 Craig Burley (burley@gnu.ai.mit.edu) - * unroll.c (copy_loop_body, JUMP_INSN case): When setting - JUMP_LABEL field, verify that what we think is a label actually - is. If it isn't then map the old JUMP_LABEL to find the new one. + * stor-layout.c (put_pending_sizes): New function. + * tree.h (put_pending_sizes): Add declaration. + * tree.c (save_expr): Return original for ERROR_MARK. - * sparc.md (orcc peephole): Don't allow FP regs to match pattern. +Fri Sep 22 19:20:01 1995 Jeff Law (law@hurl.cygnus.com) - * i960.md (indirect_jump): Use bx instead of b*, and accept any - address_operand instead of just a register operand. + * expr.c (expand_builtin, case BUILT_IN_MEMCPY): Strip off + all NOP exprs from the source and destination nodes, then + set MEM_IN_STRUCT_P. - * i960.c (i960_round_tree): Correct conversion of bits to bytes to - round up to nearest byte. - (i960_round_align): Likewise. +Fri Sep 22 18:50:31 1995 Michael Meissner -Mon Sep 28 15:54:18 1992 Michael Meissner (meissner@osf.org) + * rs6000/eabi.h (ASM_OUTPUT_INT): Test for whether the integer + being output is also a constant so &sym - &sym2 is not fixed up. - * dec-osf1.h (LINK_SPEC): Fix typo. +Fri Sep 22 18:49:07 1995 Peter Flass (FLASS@LBDRSCS.BITNET) -Mon Sep 28 08:15:02 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * i370.md (cmpsi): Add missing constraints to operand 1. - * rs6000.md (subsi3): Remove last change. - (allocate_stack): Go back to calling subsi3. +Fri Sep 22 18:27:33 1995 Torbjorn Granlund -Mon Sep 28 02:41:32 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * i386.h (CONST_OK_FOR_LETTER_P): Make `N' match range 0..255 + for `outb' instruction. - * optabs.c (expand_binop): Use get_insns, not gen_sequence. + * pyr.h (PRINT_OPERAND): Handle code `R' for REG. + * longlong.h (pyr umul_ppmm): Use it. - * c-typeck.c (build_unary_op): Address of nested fcn isn't constant. +Fri Sep 22 18:24:38 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * libgcc2.c (__builtin_new): Avoid passing 0 to malloc. + * c-parse.in (enumlist): Propagate error_mark_node. - * m68k.md (indirect_jump): Use address_operand as predicate. + * c-aux-info.c (gen_type): Handle ERROR_MARK. - * c-decl.c (finish_decl): Do the pop_obstacks sooner, when it's - time to start allocating in the ambient context's obstack. - Don't call permanent_allocation unless got back to permanent obstack. + * alpha.md (movdi): Avoid memory sharing problem when in reload. -Sun Sep 27 13:06:19 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Wed Sep 20 14:27:09 1995 Peter Flass - * function.c (assign_parms): If PROMOTE_FUNCTION_ARGS is defined, - see if the incoming register should be used in a wider mode. - (expand_function_start): Likewise for return value if - PROMOTE_FUNCTION_RETURN is defined. - * calls.c (struct arg_data): New field unsignedp. - (expand_call): Handle PROMOTE_FUNCTION_ARGS and - PROMOTE_FUNCTION_RETURN. + * mvs.h (FUNCTION_PROLOGUE): Maintain savearea forward chain + per MVS standards. - * alpha.h (FUNCTION_VALUE): Promote mode for return value. +Wed Sep 20 14:20:52 1995 Torbjorn Granlund - * alpha.h (BYTE_LOADS_SIGN_EXTEND): Define. + * pyr.md (cmphi recognizer): Make condition match constraints. + (cmpqi recognizer): Likewise. - * rs6000.md (subsi3): Don't bother calling negate_rtx for constant; - we shouldn't be called with a constant. - (maskir patterns): Don't mention an operand before it is used; - use operand number 1 for operand with '0' constraint. - (allocate_stack): Use reg_or_short_operand for predicate of - allocation amount; use negate_rtx and always make a PLUS. +Wed Sep 20 12:42:59 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * romp.h (EXTRA_CONSTRAINT, case 'Q'): Check for MEM instead of - calling memory_operand. - (SHIFT_COUNT_TRUNCATED): No longer define this. + * integrate.c (expand_inline_function): Do copy something setting + the result register if it is setting it to itself and has a REG_NOTE. -Sat Sep 26 18:14:15 1992 Michael Meissner (meissner@osf.org) + * integrate.c (set_decl_{origin_self,abstract_flags}): Treat + a DECL_INITIAL of error_mark_node the same as one of NULL_TREE. - * config.sub (os handling): Recognize riscos as an operating - system. +Tue Sep 19 19:30:18 1995 Dave Pitts (dpitts@nyx.cs.du.edu) - * configure (dec-osf1): Use x-decstatn for xmake_file. - (mips computers): Handle RISC-OS 5 vs. RISC-OS 4 configuration - changes -- RISC-OS 5. passes -non_shared by default. + * i370.md (cmphi, movhi, movstricthi, extendhisi2): Correct generation + of short integer (Halfword) + ({add,sub,mul,and,ior,xor}hi3): Likewise. + * i370/mvs.h (MACROPROLOGUE): New macro. + (FUNCTION_{PRO,EPI}LOGUE): Added ability to use IBM supplied function + prologue macros. + (FUNCTION_PROLOGUE): Corrected function "in-line" prologue alignment + problems. + (ASM_DECLARE_FUNCTION_NAME): Changed alignment to FullWord. + (ASM_OUTPUT_{SHORT,ASCII}): Reworked. - * mips-5.h (new file): RISC-OS rev 5 config file. - * mips-5bsd.h (new file): RISC-OS rev 5, bsd 4.3 config file. - * mips-5g4.h (new file): RISC-OS rev 5, svr4 + stabs config file. - * mips-5gbsd.h (new file): RISC-OS rev 5, bsd 4.3 + stabs config file. - * mips-5gdb.h (new file): RISC-OS rev 5 + stabs config file. - * mips-5gsysv.h (new file): RISC-OS rev 5 svr3 + stabs config file. - * mips-5svr4.h (new file): RISC-OS rev 5 svr4 + stabs config file. - * mips-5sysv.h (new file): RISC-OS rev 5 svr3 config file. +Tue Sep 19 19:22:15 1995 Douglas Rupp (drupp@cs.washington.edu) - * dec-osf1.h (LINK_SPEC): Pass -non_shared to linker unless - -shared was passed. - (SIZE_TYPE): Define as long unsigned int. - (PTRDIFF_TYPE): Define as int. - (WCHAR_TYPE_SIZE): Define as SHORT_TYPE_SIZE. + * winnt/win-nt.h: Renamed from winnt/win-nt.h. + (LINK_SPEC): Add -noinhibit-exec. + * {alpha,i386}/win-nt.h: Renamed from {alpha,i386}/winnt.h. + Include winnt/win-nt.h, not winnt/winnt.h. + * winnt/oldnames.c: New file. + * winnt/headers.mak (fixinc-nt.obj): Fix typo. + * winnt/config-nt.bat: Change winnt.h to win-nt.h. + * i386/config-nt.sed: Likewise. + * configure ({alpha,i386}-*-winnt3*): Likewise. - * decrose.h (MACHINE_TYPE): Shorten verbage. +Mon Sep 18 14:00:45 1995 Oliver Kellogg (Oliver.Kellogg@space.otn.dasa.de) - * i386rose.h (TARGET_VERSION): Print appropriate information. + * 1750a.h (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): + Added R2 and R0_1. + (REG_CLASS_FROM_LETTER): New letters 't' and 'z'. + (EXTRA_CONSTRAINT): New letter 'Q'. - * xm-mips.h (HAVE_VFPRINTF, HAVE_PUTENV): Define on DEC OSF/1. +Sun Sep 17 12:39:22 1995 Jeff Law (law@snake.cs.utah.edu) - * mips.c (siginfo): Print just current filename, and function - being compiled. + * pa.h (ASM_DECLARE_FUNCTION_NAME): If a parameter's type + has TYPE_NEEDS_CONSTRUCTING on, then it's passed by invisible + reference. - * mips-tfile.c (Size_t): Use long unsigned on OSF/1. - (toplevel): Don't define rindex and index on OSF/1. +Sat Sep 16 17:42:33 1995 Jim Wilson -Sat Sep 26 17:46:57 1992 Torbjorn Granlund (tege@jupiter.sics.se) + * loop.c (find_and_verify_loops): Fix error in last change. - * arm.md (comment before extendhisi2): Remove the lie. - (zero_extendhisi2): Rewrite to work if op0 == op1. Use - gen_lowpart in preparation code. - (extendqisi2, extendhisi2): Likewise. - (extendqihi2): Expand. +Sat Sep 16 08:38:22 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * arm.md (restorehi): Rewrite for correctness, efficiency, and - clarity. Avoid generating insns involving truncate. Generate - needed pseudos in preparation statements. - (storehi): Likewise. - (storeinthi): Likewise. - (movhi): Call gen_storehi, gen_restorehi, gen_storeinthi according - their new definitions. Use force_reg to put address in register. + * alpha.h (GO_IF_LEGITIMATE_ADDRESS): Disallow SYMBOL_REF for + current function. - * m68k.md (indirect_jump): Use %a0 for output, and p for constraint. + * cse.c (recorded_label_ref): New variable. + (insert): Set instead of cse_jumps_altered. + (cse_main): Initialize it and return 1 if nonzero at end. -Sat Sep 26 02:42:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Sep 15 18:26:49 1995 Torbjorn Granlund (tege@matematik.su.se) - * reload1.c (eliminate_regs_in_insn): Rerecognize if move insn - becomes a non-move. + * fold-const (div_and_round_double): Change `carry', `quo_est', + and `scale' from plain int to `unsigned HOST_WIDE_INT'. - * Makefile.in (install-fixincludes): - Use - when making syslimits.h; fix if-statement syntax. +Fri Sep 15 18:24:24 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * jump.c (jump_optimize): When handling dispatch table that always - goes to the same place, verify previous insn exists. + * cse.c (insert): Set cse_jumps_altered when inserting a LABEL_REF. - * c-typeck.c (common_type): Renable code to merge qualifiers - given two pointers to compatible types. +Fri Sep 15 17:29:41 1995 Oliver Kellogg (Oliver.Kellogg@space.otn.dasa.de) -Sat Sep 26 12:02:38 PDT 1992 Ron Guilmette (rfg at netocm.com) + * 1750a.c (b_mode_operand): New function. + (print_operand): Added code 'Q'. - * dwarfout.c (location_attribute): If DECL_RTL looks like (MEM pseudo), - treat that variable as optimized away. +Fri Sep 15 17:27:23 1995 Jim Wilson -Fri Sep 25 19:48:46 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * loop.c (find_and_verify_loops): When moving exit blocks out of + the loop, verify that the target of P is within the current loop. - * c-decl.c (explicit_flag_signed_bitfields): New variable. - (c_decode_option): Set that for -f[un]signed-bitfields. - (grokdeclarator): If that's set, and -fsigned-bitfields, - disregard -traditional when handling bitfield signedness. + * reorg.c (fill_slots_from_thread): Update thread if it is split. - * configure: Handle --build option. Make link hconfig.h. - * Makefile.in: In the targets such as $(HOST_PREFIX_1)rtl.o, - use sed to make them include hconfig.h instead of config.h. - (distclean): Add command to delete hconfig.h. +Fri Sep 15 17:06:51 1995 Michael Meissner -Fri Sep 25 19:56:35 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) + * rs6000.md (decrement_and_branchsi and related insns): Don't use + a "2" to select a register preference for operand 1 if operand 2 + hasn't been seen yet. + Add appropriate clobbers in decrement_and_branchsi. + Add patterns where the pc/label_ref are interchanged. - * cp-search.c (compute_visibility): Don't mess with the context. + * Makefile.in (gnucompare, stmp-multilib-sub): Remove extra . in + front of $(objext). - * cp-decl.c (grokdeclarator): Return value from do_friend - properly; this shouldn't have gone in yet. + * rs6000.c (output_toc): Align DF constants if STRICT_ALIGNMENT. -Fri Sep 25 02:23:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/fp-bit.c (FLO_union_type): Add words field if double + precision to get at the separate words. + (FLO_union_type, pack_d, unpack_d): Use FLOAT_BIT_ORDER_MISMATCH + to determine when the bitfields need to be reversed, and + FLOAT_WORD_ORDER_MISMATCH when the words need to be reversed. - * c-typeck.c (initializer_constant_valid_p): Really use endtype. +Fri Sep 15 16:41:43 1995 Jeff Law (law@snake.cs.utah.edu) - * cccp.c (do_include): "Concatenate" multiple "strings" in #include. + * reorg.c (fill_simple_delay_slots): When filling insn's delay slot + with JUMP_INSN, don't assume it immediately follows insn on + unfilled slots obstack. - * vmsconfig.com: Renamed from configure.com. + * Makefile.in (caller-save.o): Depend on insn-codes.h. - * next.h (CPP_PREDEFINES): Define __ARCHITECTURE__. +Thu Sep 14 17:41:49 1995 Jim Meyering (meyering@comco.com) - * dbxout.c (dbxout_symbol): For anonymous enum, output type anyway. + * protoize.c (do_cleaning): Don't blank out backslash-escaped + newlines in double quoted strings. -Fri Sep 25 01:33:36 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Thu Sep 14 16:20:35 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * function.h (struct function): Add epilogue_delay_list field. - * function.c (push_function_context): Save epilogue_delay_list. - (pop_function_context): Restore epilogue_delay_list. + * emit-rtl.c (gen_lowpart): If gen_lowpart_common fails + for a REG, load it into a pseudo and try again. - * sparc.md (nonlocal_goto): Force operands[0] to be a register. +Thu Sep 14 14:15:16 1995 Stan Cox (coxs@dg-rtp.dg.com) - * va-sparc.h (va_arg): Add 3 more (void *) casts to avoid warnings - with -Wcast-align. + * m88k.h (VERSION_INFO1): Removed BCS reference. + * m88k/dgux.h (ASM_SPEC, *_LEGEND): + Added -mno-legend option. -mstandard no longer implies that legend + legend information not be produced. + (LINK_SPEC): Removed -z text - * sparc.c (SF_MODES): Accept all single word or smaller integer - modes not just SImode. These are needed for fix/float conversions. +Tue Sep 12 19:05:39 1995 Jim Wilson - * sched.c (sched_analyze_2, PRE_DEC case): Call sched_analyze_2 in - addition to sched_analyze_1. + * cccp.c (is_system_include): Call skip_redundant_dir_prefix. - * va-i960.h (va_start): Must access anonymous arg as offset from - start of argument block. +Tue Sep 12 18:58:21 1995 John Carr - * i960.md (movdi, movti, movdf, movtf): Make store zero to memory - a separate case, only accept offsettable memory addresses, and call - adj_offsettable_operand to calculate subword addresses. + * sparc.md: Change `*return "string"' to "string" in patterns. - * i960.c (i960_output_ldconst): Pass missing xoperands argument to - output_asm_insn call. +Tue Sep 12 18:48:47 1995 Craig Burley (burley@gnu.ai.mit.edu) - * a29k.md (movti): Split CONST_INTs into 4 moves, and force all - other constants to memory. + * function.c (put_var_into_stack): For CONCAT case, order of + placement depends on FRAME_GROWS_DOWNWARD, not STACK_GROWS_DOWNWARD. -Thu Sep 24 21:51:46 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) +Tue Sep 12 18:34:10 1995 Doug Evans - Complete Cygnus<-->FSF merge. + * va-sparc.h (v9 varargs va_start): Handle __builtin_va_alist + being stack argument. - Thu Sep 24 17:05:27 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * sparc.h (STATIC_CHAIN_REGNUM): Use %g5 for sparc64. + (TRAMPOLINE_TEMPLATE): Rewrite for sparc64. + (TRAMPOLINE_SIZE): Is 40 for sparc64. + * sparc.c (sparc64_initialize_trampoline): Rewrite. - * cp-decl.c (pushdecl): Use a friendly abort rather than an assert. - (grokparms): Pass whether init is set or not for the initialized - parameter to grokdeclarator. +Tue Sep 12 18:30:22 1995 Douglas Rupp (drupp@cs.washington.edu) - Wed Sep 23 22:09:44 1992 Mike Stump (mrs@cygnus.com) + * cp/Make-lang.in (cc1plus) : Removed unnecessary $(exeext). - * cp-class.c (finish_struct), cp-decl2.c (warn_nonvdtor), - cp-tree.c (layout_basetypes), cp-tree.h (warn_nonvdtor): Re-enable - warnings for non-virtual destructors in some situations. + * configure: Added code to handle gcc_extra_objs. + (alpha-winnt): Changed xmake_file to winnt/x-winnt. + Added extra_gcc_objs=spawnv.o; changed extra_programs to ld.exe. + (i386-winnt): Changed xmake_file to winnt/x-winnt. + Added extra_gcc_objs=spawnv.o; changed extra_programs to ld.exe. + * configure.bat: Changed to used common winnt/config-nt.bat. + * Makefile.in: Changed various .o's to .$(objext)'s + (specs): Removed unnecessary $(exeext). + (EXTRA_GCC_OBJS): New variable. + (clean): Removed $(LIB2FUNCS_EXTRA) + * objc/Makefile: Changed archive command for libobjc.a to use $? + for objects. - Wed Sep 23 15:42:33 1992 Mike Stump (mrs@cygnus.com) + * alpha/x-winnt, i386/x-winnt: Deleted. + * alpha/config-nt.bat, i386/config-nt.bat: Deleted. + * alpha/config-nt.sed, i386/config-nt.sed: Moved architecture + independent commands to config/winnt/config-nt.sed. + * alpha/winnt.h: Added -D_M_ALPHA to CPP_PREDEFINES. + Changed LIB_SPEC to be compatible with Gnu ld for NT. + * i386/winnt.h: Added -D_cdecl=__attribute__((__cdecl__)). + Change LIB_SPEC to be compatible with Gnu ld for NT. + * winnt/config-nt.bat, winnt/config-nt.sed: New files. + * winnt/dirent.{c,h}, winnt/fixinc-nt.c, winnt/headers.mak: New files. + * winnt/ld.c: Changed precedence of libraries to look for + libfoo.lib before libfoo.a + Changed to work like Gnu ld for NT. + * winnt/libgcc.mak, winnt/mklibgcc.c: New files. + * winnt/spawnv.c: Changed spawn function entry points to __spawn* + instead of spawn*. + * winnt/x-winnt: New file. + * fixinc-nt.sed: New file. + * fixinc.winnt: Rewritten to use fixinc-nt.sed. - Wed Sep 23 16:31:27 1992 Michael Meissner (meissner@osf.org) + * gcc.c: Remove fix_argv kludge. - * cp-decl.c (duplicate_decls): Cast bcopy arguments to char * to - avoid warning on OSF/1. +Tue Sep 12 13:24:17 1995 Michael Meissner - Wed Sep 23 11:36:44 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * rs6000.md (power subdi3 pattern): Fix pattern to have 5 + alternatives, and correct 4th alternative to match reality. - * cp-decl.c (start_method): Give the name of the class if a method's - being defined again, rather than say "aggregate scope". - * cp-decl2.c (grokfield, grokbitfield, groktypefield): Ditto. + * rs6000.md (adddi3, subdi3, negdi2): Add constraints so output reg + does not overlap one reg with one of the inputs. - Tue Sep 1 22:55:59 1992 Paul Eggert (eggert@twinsun.com) +Tue Sep 12 13:09:48 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * cp-cvt.c (convert_to_integer): Prefer unsigned - arithmetic if the output type is unsigned and is no more precise than - the computation type. This avoids unnecessary sign extension. + * m68k.c (output_scc_di): Fixed for non-SGS_CMP_ORDER syntax. - Tue Sep 15 20:26:18 1992 John F Carr (jfc at Athena.MIT.EDU) + * collect2.c (scan_libraries): Cast lsyms' alloca to LDSYM*. - * cp-pt.c (tsubst): Don't call layout_type near start of function - with T. const and volatile attributes don't affect the memory - structure of the type, and T may not yet be a valid argument for - layout_type (for example, if it is an uninstantiated template). - Individual switch cases will call layout_type if necessary. +Tue Sep 12 13:04:12 1995 Niklas Hallqvist (niklas@appli.se) - Mon Sep 21 15:59:22 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * stmt.c (expand_start_stmt_expr): Do stack adjust in right place. - * cp-decl.c (pushdecl): Check if DECL_SOURCE_LINE is non-zero, not - if DECL_IGNORED_P is set, when checking for shadowing. We no longer - need DECL_IGNORED_P on builtin types. - (record_builtin_type): Don't set DECL_IGNORED_P for a builtin type. + * stdarg.h (__gnuc_va_list): Make char * for NetBSD. - * cp-decl.c (start_decl): When working with virtual functions, - always use the node's DECL_CLASS_CONTEXT. - * cp-method.c (hack_identifier): Ditto. - * cp-search.c (compute_visibility): Ditto. +Tue Sep 12 12:44:46 1995 Jason Merrill - * cp-decl.c (grokdeclarator): Don't allow a member to be declared - extern. + * ginclude/va-ppc.h (va_arg): Reorganize to avoid BIND_EXPRs of + aggregate or array type. - * cp-decl.c (grokdeclarator): Return a void_type_node if we're - looking at a friend (even after calling do_friend). - (pushdecl): Disable some code that's untested and - doesn't necessarily help DWARF right now. - (finish_function): Always emit debugging info for the - return type of a function. - (pushdecl): Don't change the DECL_CONTEXT of virtual - methods. - (finish_enum): Always output debugging info for enums. - (grokdeclarator): It's an error if we're doing an init of an extern - at the top level. If we are at the top level, just warn. +Tue Sep 12 12:42:27 1995 Ian Lance Taylor - * cp-typeck.c (comp_target_parms): Check if strict is non-zero, not - just > 0. - (build_function_call_real): Don't return an error-mark node when - they call "main" from within the fn, it's only a pedantic warning. - (pointer_int_sum): Reword warning when using a ptr-to-mem in arith. + * fixincludes: Fix HP/UX for g++ -pedantic-errors. - * cp-tree.c (layout_basetypes): Make record_align and const_size - unsigned. + * fixincludes (curses.h): typedef bool need not take up entire line. - Mon Sep 21 14:53:43 1992 Brendan Kehoe (brendan@rtl.cygnus.com) +Mon Sep 11 19:05:42 1995 Stan Cox (coxs@dg-rtp.dg.com) - * cp-tree.h (flag_no_ident): Add extern decl for cp-lex.c. + * c-typeck.c (digest_init): Don't recursively call digest_init + when in traditional mode if the type is invalid. - * cp-decl.c (duplicate_decls): Save the DECL_UID and DECL_FRIEND_P - info from olddecl. Otherwise, they'd get clobbered when newdecl's - contents get copied into olddecl. +Mon Sep 11 18:58:26 1995 Oliver Kellogg (Oliver.Kellogg@space.otn.dasa.de) - * cp-lex.c (check_newline): Delete pedantic error about using #ident, - since cccp.c already gives a warning. In the case that - ASM_OUTPUT_IDENT is defined, only actually spit it out if flag_no_ident - is not set. + * 1750a.md: Added DLB/DSTB peepholes for HFmode. + Corrected mnemonics for HImode DSTB peephole. - Sat Sep 19 14:53:31 1992 Brendan Kehoe (brendan@rtl.cygnus.com) +Mon Sep 11 18:48:06 1995 Michael Meissner - Sat Sep 19 11:37:11 1992 John F Carr (jfc at Athena.MIT.EDU) + * config/fp-bit.c (FLO_union_type): Remove bitfields to set sign, + exponent, and mantissa, and add value_raw field, which is an + integer of the appropriate type. If _DEBUG_BITFLOAT is defined, + provide little and big endian bitfields. If the macro + FLOAT_BIT_ORDER_MISMATCH is defined, use explicit bitfields. + (pack_d, unpack_d): Switch to use value_raw and explicit shifts + and masks so that we don't have to worry about whether the target + is big or little endian unless FLOAT_BIT_ORDER_MISMATCH is + defined. If single precision floating point, rename to pack_f and + unpack_f, so there is no confusion in the debugger. + + * rs6000.h (rs6000_abi): New enumeration to describe which + ABI we're conforming to. + (rs6000_stack): Use abi enum, not AIX vs. V.4 boolean. + (ASM_OUTPUT_OPTIONS): New macro to print output options in .s file. + (ASM_FILE_START): Use it. + (output_options,rs6000_float_const): Declare new functions. - * cp-decl.c (finish_decl): Don't call - CLASSTYPE_DECLARED_EXCEPTION if TYPE is error_mark_node, to avoid - referencing a nonexistent field. + * rs6000.c (output_option{,s}): New functions to write -f, -m, + and -W options to the asm file. + (rs6000_float_const): New function to generate floating point + constants portably used in signed,unsigned -> double conversions. + (rs6000_stack_info,debug_stack_info): Use ABI enumeration instead + of AIX vs. V.4 boolean. - Fri Sep 18 14:06:06 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * rs6000.md (float{,uns}sidf2): Call rs6000_float_const to + portably build the proper floating point constant for conversions. + (movdi): Properly handle movdi of CONST_{INT,DOUBLE} on little + endian systems. - * cp-parse.y (component_decl): Remove sorry about not implementing - methods in anonymous unions---they're illegal, and we generate an - error elsewhere to that effect. + * rs6000/sysv4.h (LIBGCC2_WORDS_BIG_ENDIAN): Define to be 0/1 + depending on the target endianess. + (ASM_FILE_START): Define, to call output_options in addition to + output_file_directive. + (TRAMPOLINE_SIZE): Correct size to match code. - * cp-decl.c (start_method): Make the error message about a - duplicated member a little more informative. + * rs6000/eabi{,le}sim.h (CPP_SPEC): Define the correct endian + macro for varargs/stdargs use. - Fri Sep 18 12:28:13 1992 Brendan Kehoe (brendan at rtl.cygnus.com) +Mon Sep 11 18:41:58 1995 Jim Wilson - * cp-parse.y: Define YYDEBUG if SPEW_DEBUG is defined. - (debug_yytranslate): YYDEBUG will always be defined, no need to test. + * c-decl.c (redeclaration_error_message): For TYPE_DECLs, return 0 + if TYPE_MAIN_VARIANT of old type is same as new type. - Fri Sep 18 10:46:19 1992 Brendan Kehoe (brendan@rtl.cygnus.com) +Mon Sep 11 17:39:35 1995 Rob Ryan (robr@cmu.edu) - * cp-parse.y (unary_expr): When parsing delete, first complain if - it's a non-pointer, then check if it's a pointer with the value zero. - Also be sure not to call build_delete if that's the case. + * xcoffout.c (xcoff_inlining): New variable, used in place of + xcoff_current_include_file when determining whether to use + absolute line numbers. + (xcoffout_source_file): Switched to using xcoff_inlining to + determine when to emit .bi/.ei directives. -Thu Sep 24 18:03:07 1992 Michael Meissner (meissner@osf.org) +Mon Sep 11 16:55:06 1995 Torbjorn Granlund - * mips.h (MIPS_VERSION): Set Meissner version # to 27. - (STRUCT_VALUE_REGNUM): Delete macro. - (STRUCT_VALUE): Define as 0, so that structure return addresses - are passed as the first argument. This fixes various codegen - problems with functions returning structures. + * m68k.md (cmpdi): Change patterns to allocate scratch register at + RTL generation time. + (tstdi): Likewise. - * mips.c (init_cumulative_args): Don't advance arg pointer if - function returns a structure. +Sun Sep 3 09:03:50 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Sep 24 12:38:31 1992 Torbjorn Granlund (tege@wombat.gnu.ai.mit.edu) + * fold-const.c (size_binop): Don't pass 1 to NOTRUNC. - * pa.h (REGISTER_MOVE_COST): Fix typo. Use `||' instead of `|'. - (REG_CLASS_FROM_LETTER): Don't handle 'r' constraints here. - * pa.c (clobbered_register): Delete. - (srcsi_operand): Return 1 also for things matching - depi_cint_operand. - (secondary_reload_class): Replace. - * pa.md (ldo/ldil SImode and HImode recognizers): Use - "const_int_operand" for operand 1 and simplify final condition. - Remove `n' constraint. - (depi SImode and HImode recognizers): Remove `n' constraint. - (plus:SI ... high ... splitter): Don't overwrite input, go via - clobber operand instead. - (many patterns): Replace `in' constraint with just `i'. - (movstrsi): Don't do (clobber (match_scratch)), use explicit - pseudos instead, generated in preparation C code. Don't call - force_not_mem for operand 2. - (movstrsi recognizer): Add `&' to operand 3. - (andsi3): Fix typo. - (iorsi3): Fix typo. - (load-shift-16): New optimizer. - (load-shift optimizers): Set "type" attr. +Thu Aug 31 19:27:00 1995 Roland McGrath -Thu Sep 24 15:17:38 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * libgcc2.c: Include longlong.h. + [L_udivdi3 || L_divdi3 || L_umoddi3 || L_moddi3] (__udivmoddi4): + Define this `static inline' when defining these, so they all + remain leaf functions. - * toplev.c (lang_options): Add Objc options. +Thu Aug 31 18:38:21 1995 Paul Eggert - * configure.bat: Use xgcc, not gcc. + * c-parse.in (ends_in_label): New %union member. + (stmts, stmt_or_label): Use new member to avoid lexical lookahead hack. + (lineno_stmt_or_labels): New rule. + (lineno_stmt_or_label, stmt_or_label): Yield nonzero if it ends + in a label. -Thu Sep 24 06:30:47 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Thu Aug 31 08:31:40 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * c-lex.c (yylex, case '"'): Initialize arg pased to readescape. + * cse.c (canon_hash, CONST_DOUBLE): Hash integer and real + differently. + * varasm.c (struct rtx_const): Add new field DI to union. + (decode_rtx_const, case CONST_DOUBLE): Use to hash CONST_DOUBLE + representing an integer. - * genattrtab.c (length_used): New variable. - (walk_attr_value): Set it when we have (eq_attr "length" ...). - (write_const_num_delay_slots): Value is 1 unless LENGTH_USED is set. + * va-alpha.h (__gnuc_va_list): Make __offset an int. + * alpha.c (alpha_builtin_saveregs): Properly compute address + of __offset both both OSF and WINNT. - * reorg.c (mark_set_resources, case CC0): Set RES->CC if IN_SEST. + * xm-alpha.h (sbrk): Don't define here. + * gmon.c (sbrk): Define here for __alpha. + * toplev.c (sbrk): Likewise. + * mips-tfile.c (malloc, calloc, realloc): Don't define for anybody. - * regclass.c (forbidden_inc_dec_class, in_inc_dec): New variables. - (regclass): Don't alloca the costs twice. - Initialize forbidden_inc_dec_class. - For regs that have inc-dec, ignore forbidden classes. - (record_address_regs): Update in_inc_dec. + * reload.c (push_reload): Add case for output reload of a SUBREG + of a hard reg when output mode is invalid for that mode. + In both that case and existing case for in, don't remove SUBREG. + * reload1.c (emit_reload_insn): Emit RELOAD_OTHER output reloads last. -Thu Sep 24 02:36:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Aug 29 19:16:06 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * syslimits.h: New file, includes system's limits.h. - * limitx.h: Include syslimits.h instead of system's limits.h. - * Makefile.in (USER_H): Add syslimits.h. - (install-fixincludes): If we fix system's limits.h, install that - as syslimits.h + * c-common.c (decl_attribute, case A_PACKED): Check is_type first. + (decl_attribute, case A_T_UNION): Likewise. + Don't access TYPE_FIELDS if DECL is zero. + * c-decl.c (finish_struct): If transparent_union attribute + specified, validate it once we finish laying the union out. - * c-lex.c (readescape): New arg ignore_ptr. - (yylex): Pass new arg, handle result that comes back. +Mon Aug 28 05:58:03 1995 Paul Eggert -Wed Sep 23 19:26:42 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * arm.c (arm_gen_movstrqi): Remove unused variable const_sxteen. - * reload.c (find_reloads_address): Properly check for constant address. + * bi-lexer.c (buffer, inpoint): Remove unused variables. - * cse.c (simplify_unary_operation, case SIGN_EXTEND): Use - HOST_BITS_PER_WIDE_INT, not HOST_BITS_PER_INT. + * i370/mvs.h, i370/mvs370.c (mvs_label_emitted): Renamed + from mvs_label_emited. - * fold-const.c (fold_convert): Add missing cast to HOST_WIDE_INT. + * msdos/configur.bat: Fix misspelling of `maintainer-clean'. - * jump.c (jump_optimize): Tighten up test for when we can't - delete a set of CC0. - Don't insert insns between set and use of CC0. +Sat Aug 26 06:57:17 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * final.c (shorten_branches): Correctly access insn needing delay slot. + * reload.c (push_secondary_reload): If X is a paradoxical SUBREG, + get mode and thing to reload from inside. + * reload1.c (emit_reload_insns): Do nothing for SUBREG whose + operand is unused subsequently. + In secondary reload case, if paradoxical SUBREG for output, reload + thing inside SUBREG, just like gen_reload. - * combine.c (significant_bits, num_sign_bit_copies): Handle SUBREGs - made for promoted variables. +Fri Aug 25 19:26:53 1995 Paul Eggert - * reorg.c (fill_simple_delay_slots): Don't make copy of insn that - references CC0. + * c-typeck.c (set_init_label): Don't die if an entire + brace-pair level is superfluous in the containing level. - * romp.md (define_attr "type"): New type "ibranch". - (define_attr "length"): Set length for "ibranch" type. - (define_attr "in_delay_slot"): Add new type "ibranch"; - for "branch", only has delay slot if length is 4. - (define_attr "cc_type"): Add new type "ibranch". - (indirect branches): Now type "ibranch". +Fri Aug 25 19:22:46 1995 Michael Meissner - * alpha.c (alpha_gp_dead_after): Return 0 if not optimizing. + * configure (powerpc{,le}-eabisim): Add support for a new target + that works under the PSIM simulator. + * rs6000/eabisim.h, rs6000/eabilesim.h, rs6000/t-eabisim: New files. -Wed Sep 23 00:11:35 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rs6000/eabi.h (STRICT_ALIGNMENT): If little endian, always set + strict alignment to 1. - * gvarargs.h: Finish changing _ANSI_H to _ANSI_H_. +Fri Aug 25 19:22:23 1995 David Edelsohn -Tue Sep 22 23:39:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rs6000.md ({add,sub,mulsi}di3): Support both endian possibilities. + (negdi2): Likewise. - * i386mach.h (perform_fixdfsi): Copy arg to memory variable. +Fri Aug 25 19:10:41 1995 Oliver Kellogg (Oliver.Kellogg@space.otn.dasa.de) -Tue Sep 22 14:54:38 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * 1750a.md: Added peephole definitions for Load/Store Base insns + and eliminating redundant load in an equivalent store/load sequence. - * loop.c (basic_induction_var): Inside PLUS, when looking for promoted - var, make sure it's a REG. +Fri Aug 25 18:33:27 1995 Craig Burley (burley@gnu.ai.mit.edu) -Tue Sep 22 12:21:11 1992 Michael Meissner (meissner@osf.org) + * toplev.c (report_error_function): Don't attempt to use input + file stack to identify nesting of #include's if file name oflocation + diagnosed is not same as input_filename. - * mips.h (MIPS_VERSION): Bump Meissner version # to 26. - (REG_PARM_STACK_SPACE): Use UNITS_PER_WORD instead of 4, and - substract FIRST_PARM_OFFSET. - (FIRST_PARM_CALLER_OFFSET): Delete unused macro. +Fri Aug 25 07:31:47 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * mips.c (init_cumulative_args): Print types of fntype and the - return type if -mdebuge. + * integrate.c (output_inline_function): Switch to function obstack. - * decrose.h (CPP_SPEC): Eliminate defining various builtin - functions with -D=__builtin_, if neither -fbuiltin nor - -fno-builtin were passed. - (CC1_SPEC): Eliminate passing -fno-builtin to the compiler if - neither -fbuiltin nor -fno-builtin were passed. Eliminate - %{save-temps: } since gcc no longer gives an unknown switch - message if it is used. +Mon Aug 21 13:29:54 1995 J"orn Rennecke (amylaar@meolyon.hanse.de) - * i386rose.h (CPP_SPEC): Eliminate defining various builtin - functions with -D=__builtin_, if neither -fbuiltin nor - -fno-builtin were passed. - (CC1_SPEC): Eliminate passing -fno-builtin to the compiler if - neither -fbuiltin nor -fno-builtin were passed. Eliminate - %{save-temps: } since gcc no longer gives an unknown switch - message if it is used. - (MASK_HALF_PIC): Move bit mask to 0x40000000, to allow for i386.h - to define more switches without overlapping our private switch. - (TARGET switches): Add -mdebugb to debug half-pic code. - (OPTIMIZATION_OPTIONS): Only set flag_gnu_linker FALSE always, and - flag_inline_functions if -O3. In particular never set - -fomit-frame-pointer which currently messes up debugging. - (GO_IF_LEGITIMATE_ADDRESS): Define i386-osfrose version that deals - with half-pic. - (OVERRIDE_OPTIONS): Define to initialize half-pic. - (ASM_FILE_END): Define to dump out half-pic variables if needed. + * i386.c (arithmetic_comparison_operator): New function. + (print_operand): Take into account that overflow flag is not + set the same as after a compare instruction. + * i386.md (decrement_and_branch_until_zero): Use + arithmetic_comparison_operator to decide if there is comparison + suitable to be expressed by condition code from an arithmetic op. - * t-i386rose (EXTRA_OBJS): Define as halfpic.o. - (CONFIG2_H): Add $(srcdir)/halfpic.h. - (halfpic.o): Add dependencies. +Mon Aug 21 13:26:13 1995 Philippe De Muyter (phdm@info.ucl.ac.be) -Tue Sep 22 03:12:01 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * m68k.md (adddi3, subdi3): "&" added to clobber's constraints. - * reload1.c (choose_reload_regs): When setting reg_has_output_reload, - loop over multiple regs only for hard reg. Set reg_is_output_reload - in separate loop. +Mon Aug 21 12:11:14 1995 Jim Wilson -Mon Sep 21 12:22:24 1992 Jeffrey A. Law (law@mole.gnu.ai.mit.edu) + * t-sparclite (MULTILIB_*, LIBGCC, INSTALL_LIBGCC): Define. - * reorg.c (mark_set_resources, case REG): A register is set iff - "in_dest" is nonzero. + * sh.md (movdi-1, movdf-1): Make conditional on reload_completed, + delete conditions checking for pseudo registers and Q addresses. + Add code to handle SUBREG. -Mon Sep 21 14:16:10 1992 Torbjorn Granlund (tege@jupiter.sics.se) + * local-alloc.c (wipe_dead_reg): Make a register mentioned in a + REG_INC note die after the instruction. - * combine.c (make_extraction): Make test whether to use AND or - {SIGN,ZERO}_EXTRACT depend on UNSIGNEDP. + * m68k.md: For all dbra pattern, change constraint from 'g' to 'd*g'. -Mon Sep 21 08:26:55 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * Makefile.in: (underscore.c): Rename rule to stamp-under, and + touch stamp-under at the end. Add new rule for underscore.c that + depends on stamp-under. - * reload1.c (reload): If we can't get a register that we know won't - interfere with groups, get one that might instead of giving up. + * sh.c (reg_unused_after): For a SEQUENCE, make sure all insns are + safe before returning 1. - * reload1.c (reload): Print the needs to the dump file. + * sh.h (PROMOTE_FUNCTION_ARGS, PROMOTE_FUNCTION_RETURN): Define. -Mon Sep 21 02:45:19 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * sh.c (output_stack_adjust): Add new argument reg. Use it instead + of stack_pointer_rtx. + (sh_expand_prologue, sh_expand_epilogue): Pass new argument to + output_stack_adjust. - * function.c (put_var_into_stack): Check REG != 0 before dereference. +Sat Aug 19 17:34:15 1995 Jim Wilson -Sun Sep 20 16:58:05 1992 Fred Fish (fnf at fishpond.cygnus.com) + * sparc/gmon-sol2.c (_mcount): Define. + * sparc/sol2.h (STARTFILE_SPEC, ENDFILE_SPEC): Delete superfluous + -pg tests. + (LINK_SPEC): Add libp directories to -Y when -pg. - * x-svr4: New generic SVR4 host makefile fragment. - * x-i386v4: File deleted. - * x-ncr3000: Get alloca using ALLOCA, not libucb.a. - * configure (i386-*-sysv4*): Use x-svr4, not x-i386v4. - * configure (i486-*-sysv4*): Use x-svr4. + * unroll.c (calculate_giv_inc): Handle increment computed by ASHIFT. -Sun Sep 20 21:18:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Aug 19 17:28:56 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * combine.c (subst): Set and compare extend_op with 0, not NULL. + * m68k.md (subdi3): Should not be commutative. + (one_cmpldi2): Fixed typo with register operand. - * cse.c (find_comparison_args): New args PMODE1, PMODE2. - (fold_rtx, record_jump_equiv): Use them to get modes of comparison. - (fold_rtx): Associate MINUS with nested PLUS. +Sat Aug 19 17:20:43 1995 Michael Meissner - * seq386.h (LPREFIX): Overridden as `.L'. - (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * rs6000.c (output_prolog): Fixup code to set stack pointer + if stack size > 32k. + * rs6000.md (sync_isync): Renamed from sync; added an isync insn + after the sync to properly deal with PowerPC's with split I/D caches. + * sysv4.h (INITIALIZE_TRAMPOLINE): Sync function now named sync_isync. -Sun Sep 20 05:53:20 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Sat Aug 19 17:07:09 1995 Doug Evans - * combine.c (try_combine): Always call set_significant on new - patterns, so don't call just in split case. + * h8300.h (STATIC_CHAIN_REGNUM): Use r3. + (REGISTER_NAMES): Print r7 as sp. + (ADDITIONAL_REGISTER_NAMES): Recognize r7. + (ASM_OUTPUT_ALIGN): Alignment is power of 2. + * h8300.md (fancy_btst,fancy_btst1): Branch target must be + operand 0 for length attribute to work. - * combine.c (subst): Move sign extension inside arithmetic - when we have a constant computation inside another computation. +Sat Aug 19 16:43:11 1995 Paul Franklin - * emit-rtl.c (emit_insn_after_with_line_notes): New function. - * jump.c (jump_optimize): Delete insns that set registers that - are not used elsewhere. - Fix some bugs in "if (...) x = a; else x = b;" code. - Remove uses of reorder_insns. - Add code to make scc insns for "if (...) x = exp;" if EXP is simple - enough. - Optimize "if (...) x = b;" if jumps very expensive; don't use a REG - as the older value of X since it doesn't help and can hurt. - Correctly place generated insns in above case. + * assert.h: Declare __eprintf with attribute noreturn. - * reload.c (find_reloads, find_reloads_toplev): Treat - BYTE_LOADS_SIGN_EXTEND just like BYTE_LOADS_ZERO_EXTEND. - * combine.c (subst, simplify_and_const_int, significant_bits): - Likewise. - (num_sign_bit_copies, case MEM): New case for BYTE_LOADS_SIGN_EXTEND. - (num_sign_bit_copies, case SUBREG): Handle just like significant_bits. +Sat Aug 19 16:40:12 1995 Jason Merrill -Sat Sep 19 15:55:31 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * stddef.h: Don't define wchar_t if __cplusplus is defined. - * combine.c (combine_instructions): Clear significant_valid - at end of combine pass for a function. - (find_split_point, case MEM): See if first operand of the PLUS - that makes up an address is complex. - (subst): Add missing arg to recursive calls when IF_THEN_ELSE - is an arg of an operator. - (subst, case IF_THEN_ELSE): Generalize code to propagate comparison - result into arms by using known_cond. - If an arm is the first operand of the comparison, make it the - true arm. - Remove unneeded comparison when arms are identical. - Try to convert IF_THEN_ELSE to ABS, (neg (abs X)), [US]MIN, [US]MAX. - Convert (if_then_else (ne A 0) (OP X C) X) to (OP X (mult A C)). - (subst, case SET): If we don't have conditional moves, - convert IF_THEN_ELSE into logical operations. - (subst, case AND): Always make conditional moves, even if we - don't support them on the machine. - (known_cond, extended_count): New functions. - (gen_binary): For commutative operations, put constant last. - - * combine.c (try_combine): The insns made by a DEFINE_SPLIT might - contain a PARALLEL and the call to recog_for_combine might add it. - - * combine.c (simplify_comparison, case ASHIFT): Fix typo. - - * combine.c (try_combine): When removing REG_UNUSED note, - update reg_n_deaths. - Likewise, when making new REG_DEAD notes for distribute_notes. - (remove_death, move_deaths): Update reg_n_deaths. - (distribute_notes): When placing second REG_DEAD or REG_UNUSED note or - ignoring such a note, update reg_n_deaths. - - * rtl.h (SUBREG_PROMOTED_{VAR,UNSIGNED}_P): New macros. - * tree.h (DECL_MODE, DECL_RTL): Update comments. - * expr.h (PROMOTE_MODE): Provide default definition. - * expr.c (convert_move, convert_to_mode): Strip off a SUBREG made - for variables with promoted modes. - (store_expr): Store into variables with promoted modes by - doing the appropriate extension operation. - (expand_expr, case VAR_DECL): Generate SUBREGs for promoted objects. - (expand_expr, case SAVE_EXPR): Likewise for SAVE_EXPRs. - (expand_increment): Handle increment of promoted objects. - * function.c (fixup_var_refs{,_insns}): Add new parms for promoted - mode and signedness; all callers changed. - Insert mode conversions when required. - (fixup_var_refs_1): Add new parms for mode and signedness; - handle SUBREGs for promoted values. - (assign_parms): Promote the mode of parameters when useful for - the target machine. - * function.h (struct var_refs_queue): Remove unused field ORIGINAL. - Add new fields PROMOTED_MODE and UNSIGNEDP. - * integrate.c (expand_inline_function): Convert actual to formal's - mode (in case formal was promoted). - * loop.c (basic_induction_var): Add new parameter P. - Check for bivs that are set over multiple insns and also - allow a SIGN_EXTEND to be used; remove check for MINUS since - we don't make MINUS with a constant 2nd operand any more. - * optabs.c (expand_binop, expand_unop): Don't make SUBREG for promoted - variables as operands. - * stmt.c (tail_recursion_args): Use mode of DECL_RTL, not - DECL_MODE. - (expand_decl): Promote modes of scalar variables when useful on - target. - * unroll.c (find_splittable_regs): If any BIV update isn't - simple, don't split it. - (final_giv_value): Look for biv updates by matching insns; don't - try to reparse the insn. - * rs6000.h (PROMOTE_MODE): New macro. - - * rtlanal.c (reg_set_last): Allow old value to be a SUBREG. - - * rs6000.c (print_operand, case 'h', 'H', 'w'): Minor cleanups. - * rs6000.h (BRANCH_COST): Increase from 2 to 3. - * rs6000.md (smax, smin, umax, umin): Add define_splits. - - * alpha.h (PROMOTE_MODE): New macro. - (REG_ALLOC_ORDER): Put $0 in front of $21-$16. - (CONST_OK_FOR_LETTER): Change meanings of N, O, and P. - (BRANCH_COST): Increase from 3 to 4. - (PREDICATE_CODES): Add new predicates reg_or_cint_operand and - sext_add_operand. - * alpha.md (addsi3): subl can be used to sign-extend addition of - small negative constants. - (negsi2): Add pattern for (sign_extend (neg ..)). - (and pattern): Fix typo in constraint. - (ashldi3): Use new definition of constant letters. - (smax, smin, umax, umin): Add define_splits. - (compares): Can compare constant with zero by adding negative of - constant. - (store insns): Can store 0 into memory in both integer and FP. - * alpha.c (sext_add_operand, reg_or_cint_operand): New function.s - (print_operand, case 'r', case 'R'): Clean up code; use CONST0_RTX. - - * rtl.c (note_insn_name): Fix typo: had NOT_INSN_DELETED_LABEL. - - * jump.c (delete_insn): Don't change labels to NOTEs if we would - not really have deleted them. - - * genconfig.c (walk_insn_part, case IF_THEN_ELSE): Refine when - HAVE_CMOVE_FLAG gets set. - -Sat Sep 19 14:52:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * reload.c (find_reloads): Always use >= with FIRST_PSEUDO_REGISTER. - - * i386mach.h (SIZE_TYPE): Defined. - -Sat Sep 19 04:57:06 1992 James Van Artsdalen (james at bigtex.cactus.org) - - * i386.md (sCOND patterns): Don't allow a MEM in the SET_DEST, - because these insns can't have input reloads, and a MEM might need - an input address reload. - - * fold-const.c (fold_convert): Avoid using conversion of unsigned - to floating; offset value by hand to fit in signed type. - -Sat Sep 19 00:50:32 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * integrate.c (subst_constants): Do substitute in address of MEM dest. - - * reload1.c (init_reload): Fix typo. - -Fri Sep 18 21:09:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * libgcc2.c: Declare _exit as volatile. - - * function.c (assign_parms): Set MEM_IN_STRUCT_P right in stack slots. - -Fri Sep 18 15:58:15 1992 James Van Artsdalen (james at bigtex.cactus.org) - - * fixincludes: Don't look for *.h symlinks if the host doesn't - have symlinks. - -Fri Sep 18 17:34:27 1992 Michael Meissner (meissner@osf.org) - - * mips.md (call_internal): If the memory address to call is really - a constant integer, load it up into $at and do the call from - there. - (call_value_internal): Ditto. - -Fri Sep 18 03:48:17 1992 Tom Wood (wood@dg-rtp.dg.com) - - * m88k.c (m88k_volatile_code): New variable. - (print_operand): Track volatile memory references and output a - serializing instruction before a load when necessary. - * m88k.h (TARGET_SWITCHES): Add -m{no,}serialize-volatile. - (OVERRIDE_OPTIONS): -m88110 and -m88000 imply -mserilize-volatile. - (ADJUST_INSN_LENGTH): Volatile memory operantions may be longer. - (CC_STATUS_INIT): Reset m88k_volatile_code to the unknown state. - * m88k.md (load store patterns): Prepend loads and stores with %V - and %v to track the type and address of the access. - - * m88k.c (m88k_version, m88k_version_0300): New variables. - * m88k.h (TARGET_OPTIONS): Generalize to -mversion-STRING. - (OVERRIDE_OPTIONS): Compute m88k_version_0300. - * m88k.md (call_movstrsi_loop): Renamed from call_block_move_loop. - Use call-value for the block move patterns. - - * m88kdgux.h (PERFERRED_DEBUGGING_TYPE): Compute based on - m88k_version. - (CPU_DEFAULT): Make it -m88000. - - * m88k.h: Don't use #elif - -Fri Sep 18 01:08:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Makefile.in (install-common-headers): Don't copy byteorder.h. - -Thu Sep 17 20:06:22 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) - - Complete 13th Cygnus<-->FSF merge. - - Thu Sep 17 13:15:15 1992 Brendan Kehoe (brendan@rtl.cygnus.com) - - Do some much-needed housecleaning of the C++ front-end. - * cp-call.c (ideal_candidate): Move `p2' down inside #if 0'd (only) - section that actually uses it. Delete unused variable `buf'. - (build_method_call): Delete unused variable `dtor_specd'. - * cp-class.c (finish_struct): Delete unused variable `basetype'. - * cp-cvt.c (convert_to_aggr): Add missing argument decl for `protect'. - (convert_pointer_to): Delete unused variable `form'. - * cp-decl.c: Include string.h/strings.h for strncpy() decl. - Add decls for init_* fns. Delete unused decl `push_overload_decl_1'. - Don't use `c_function_varargs', C++ doesn't need it. - (push_binding_level): Add missing argument decls for - `tag_transparent' and `keep'. - (lookup_tag): Add missing argument decl for `tags_transparent'. - (lookup_name): Add missing argument decl for `prefer_type'. - (start_decl): Delete unused variables `classname' and `tmpl'. - (grokvardecl): Add missing argument decl for `initialized'. - (grokdeclarator): Delete unused variable `t'. - * cp-decl2.c (get_temp_name): Delete unused variable `temp'. - (finish_table): Delete unused variable `publicp'. - (finish_builtin_type): Add missing argument decl for `len'. - (finish_file): Delete unused variables `asm_out_file' and - `init_function_name'. - * cp-except.c (ansi_exception_object_lookup): Add missing - argument decl for `type'. - (cplus_expand_throw): Delete unused variables `cname', `name', - and `raise_id'. - * cp-init.c: Delete unneeded forward decl of `init_init_processing'. - (build_new): Delete unused variable `alignment'. - (expand_vec_init): Add missing argument decl for `from_array'. - (build_vec_delete): Delete unused variable `rval'. - * cp-input.c (feed_input): Add missing argument decl for `len'. - * cp-lex.c: Delete unused variable `nextlastiddecl'. - (check_newline): Delete unused variable `tmp'. Place `asm_out_file' - inside a conditional for ASM_OUTPUT_IDENT. - (real_yylex): Delete unused variable `typename_scope_in_progress' - and unused labels `relex' and `reswitch'. - * cp-method.c: Include string.h/strings.h for strncpy() decl. - (new_text_len): Deleted. - (dump_type_prefix): Delete unused variables `print_struct' and `name'. - (dump_tyupe): Delete unused variable `print_struct'. - (type_as_string): Delete unused variable `spaces'. - (do_inline_function_hair): Delete unused variable `cname'. - (flush_repeats): Delete unused variable `rval'. - (build_t_desc_overload): Delete unused variable `i'. - (build_opfncall): Add missing argument decl for `flags'. - (hack_identifier): Add missing argument decl for `yychar'. - * cp-parse.y (template_instantiate_once): Delete unused - variables `id' and `members'. - * cp-search.c (lookup_field): Add missing argument decl for `want_type'. - (tree_needs_constructor_p): Add missing argument decl for `i'. - (dfs_debug_mark): Delete unused variable `pending_vtables'. - (dfs_get_vbase_types): Delete unused variable `basetype'. - * cp-spew.c (init_spew): Delete unused variables `pc' and - `chars_following_typename'. - (yylex): Delete unused variables `dk' and `tmp'. Move decl of `t2' down - to the block that actually uses it. - * cp-tree.c (build_cplus_staticfn_type): Delete unused variable `ptype'. - (propagate_binfo_offsets): Delete unused variables `t' and `basetype'. - (layout_basetypes): Delete unused variable `binfo'. - (array_type_nelts_total): Delete unused variable `index_type'. - * cp-tree.h: Add many decls. - * cp-typeck.c (comp_array_types): Add missing argument decl - for `strict'. - (build_compound_expr): Delete unused variable `tmp'. - (convert_for_initialization): Delete unused label `converted'. - - Wed Sep 16 12:51:10 1992 Brendan Kehoe (brendan@rtl.cygnus.com) +Tue Aug 15 18:01:01 1995 Paul Eggert - * cp-decl.c (init_decl_processing): Enable code to add sin and cos - as built-in functions. + * cccp.c (warning_with_line): Fix typo in declaration when + !HAVE_VPRINTF and defined (__STDC__). - * cp-decl.c (duplicate_decls): Enable code to preserve the DECL_UID - of olddecl. +Tue Aug 15 17:57:54 1995 Stephen L Moshier - * cp-search.c (lookup_nested_fields): Make sure we're climbing along - a chain of nested types, and nothing else. + * real.c (ediv, emul): Set sign bit of IEEE -0.0 result. - Tue Sep 15 17:38:34 1992 Brendan Kehoe (brendan@rtl.cygnus.com) +Tue Aug 15 17:49:47 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-search.c (lookup_nested_fields): New function. - * cp-tree.h: Declare it. - * cp-decl.c (lookup_name): Call it if there's no class-local - definition. (It could be nested.) - * cp-lex.c (do_identifier): Call lookup_nested_field() if necessary. + * expr.c (safe_from_p): Only safe if EXP is variable-size and X + is BLKmode. - Tue Sep 15 12:37:16 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * stmt.c (fixup_gotos): When some fixups done, reset to point + to next instead of zeroing TREE_VALUE, which may be shared. - Mon Aug 24 14:58:02 1992 Chip Salzenberg (chip at animal) +Mon Aug 14 09:15:45 1995 Doug Evans - * cp-typeck.c (build_conditional_expr): Determine constness - and volatility with TREE_... tests instead of TYPE_... tests. + * m68k/m68kemb.h (STARTFILE_SPEC): Define as empty. - Mon Sep 14 18:00:35 1992 Chip Salzenberg (chip@tct.com) +Mon Aug 14 09:08:57 1995 Pat Rankin - * cp-decl.c (grokdeclarator): Remove redundant (and broken) - test for multiple destructors in a class. + * vax.c (vms_check_external): Update `pending_head' properly + when the first list element is removed. - Fri Jul 31 19:09:10 1992 Chip Salzenberg (chip@tct.com) +Mon Aug 14 09:01:32 1995 Jeffrey A. Law - * cp-cvt.c (convert_to_integer): Push truncation inside COND_EXPR. + * pa.md (call expanders): Emit a blockage insn after restoring + %r19 when generating PIC. - Mon Sep 14 17:52:45 1992 Chip Salzenberg (chip@tct.com) +Sun Aug 13 21:58:49 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-class.c (finish_struct): Always write all structure types, - even if they're defined in a "#pragma interface" header file. - Otherwise, XCOFF debugging info is messed up. + * toplev.c (main): Change text of unsupported -g option warning. - Mon Sep 14 17:39:32 1992 Chip Salzenberg (chip@tct.com) +Sun Aug 13 21:47:57 1995 Andrew McCallum - * cp-class.c (finish_struct): ``Actually, I don't understand - this code. What is it supposed to do?'' --Niklas Hallqvist + * objc/selector.c (sel_get_any_typed_uid): New function. + * objc/objc-api.h (sel_get_any_typed_uid): Declare new function. - Mon Sep 14 17:27:23 1992 Chip Salzenberg (chip@tct.com) +Sun Aug 13 21:43:17 1995 John Carr - * cp-decl.c (finish_decl): Don't dump core if a decl is anonymous. - A decl is at the global binding level if DECL_CONTEXT is null. - (grokdeclarator): Don't globalize a type if its first mention - is in a parameter. It's okay to initialize a function in a - non-global scope. + * c-typeck.c (c_expand_asm_operands): Check for read-only output + operand where the variable is read-only but the type is not. - Tue Sep 15 12:15:26 1992 Brendan Kehoe (brendan@rtl.cygnus.com) +Sun Aug 13 21:16:12 1995 David Edelsohn - * cp-typeck.c (c_expand_return): Emit a warning when they try to - return the address of a local variable. + * rs6000.c (direct_return): Epilogue required if CR saved. - * cp-decl.c (finish_method): Make sure it's indeed nested before - checking for the qualified name. +Sun Aug 13 19:09:25 1995 Jeff Law (law@snake.cs.utah.edu) - Mon Sep 14 18:59:25 1992 Mike Stump (mrs@cygnus.com) + * configure (hppa1.?-hp-hpux10): Recognize and treat just like hpux9. - Wed Sep 2 11:04:24 1992 Chip Salzenberg (chip@tct.com) +Sun Aug 13 19:07:23 1995 Doug Evans - * cp-decl.c (init_decl_processing): Add sin and cos as built-in - functions. Fix type of __builtin_constant_p. + * i960.md (movdi matchers): Fix src/dest order in unaligned + reg->reg case. - * cp-lex.c (readescape): For \x, don't include leading 0's in count. +Sun Aug 13 18:49:01 1995 DJ Delorie - * cp-typeck.c (build_unary_op): For ADDR_EXPR, just set - TREE_CONSTANT if staticp, but don't clear TREE_CONSTANT. + * i386/xm-dos.h (HAVE_STRERROR): New definition. - Mon Sep 14 18:54:41 1992 Mike Stump (mrs@cygnus.com) + * msdos/configur.bat: Add missing carriage return. - * cp-parse.y (permanent_obstack): Move to top of file. +Sun Aug 13 18:40:55 1995 Andrew Cagney - Mon Sep 14 18:50:19 1992 Mike Stump (mrs@cygnus.com) + * Makefile.in (USER_H): Add va-ppc.h. - Mon Sep 14 16:39:10 1992 Chip Salzenberg (chip@tct.com) +Sun Aug 13 18:36:17 1995 M. Warner Losh - [ Changes propagated from diffs to c-* in 920911 snapshot. ] + * stmt.c (expand_asm_operands): Type '0'..'4' operands may + allow regs, so move them to the default case. - * cp-decl.c (duplicate_decls): Set DECL_INLINE in newdecl so it - is copied into olddecl. Don't set DECL_EXTERNAL in olddecl. - Preserve DECL_UID and DECL_FRIEND_P of olddecl. +Sun Aug 13 18:32:35 1995 Paul Eggert - * cp-typeck.c (build_binary_op_nodefault): Don't assume that a - target integer fits in a HOST_WIDE_INT when checking shift widths. + * cccp.c (warning_with_line): New function. + (trigraph_pcp): Use it, to avoid reporting line number. + (vwarning_with_line): Don't report line number if zero. - Mon Sep 14 18:15:42 1992 Mike Stump (mrs@cygnus.com) +Sun Aug 13 18:23:08 1995 Jason Merrill - Mon Aug 24 14:32:03 1992 Chip Salzenberg (chip@tct.com) + * toplev.c (vmessage): Support four arguments. - * cp-parse.y (reserved_declspecs): Warn if storage class occurs here. - (declmods): Warn if storage class is not first. +Sun Aug 13 18:19:51 1995 Michael Meissner - Mon Sep 14 16:59:53 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * ginclude/stdarg.h: Add ppc svr4 calling sequence support. + * ginclude/varargs.h: Likewise. + * ginclude/va-ppc.h: New file. - * cp-method.c (fndecl_as_string): Don't output an extra space when - printing the return type of a function. +Sun Aug 13 18:05:20 1995 Michael Gschwind - Mon Sep 14 16:01:53 1992 Mike Stump (mrs@cygnus.com) + * configure (pdp-*-*): Add support for t-pdp11. + * t-pdp11: New file. + * Makefile.in (LIBGCC2_CFLAGS): Add TARGET_LIBGCC2_CFLAGS. - Fri Jun 12 18:07:00 1992 Niklas Hallqvist (niklas@appli.se) +Sun Aug 13 14:50:58 1995 Jim Wilson - * cp-parse.y (structsp, named_class_head_sans_basetype): Call - overload_template_name in the case of template specializations so - that something like: + * final.c (final_start_function): Always call sdbout_begin_function + and xcoffout_begin_function, even if no line number info. - template struct C { C(); }; - struct C { C(); }; - - works. + * mips/abi64.h (SETUP_INCOMING_VARARGS): In if statement, only + subtract one for stdarg. Don't subtract PRETEND_SIZE from + argument pointer when calculating stack address. + * mips.h (INITIAL_ELIMINATION_OFFSET): For 64 bit ABI, subtract + current_function_pretend_args_size when converting from argument + pointer. + * va-mips.h (va_start): For stdarg, delete separate define for + 64 bit ABI. For varargs, don't subtract 64, and only add -8 when + all argument registers are used. - Mon Sep 14 15:51:22 1992 Mike Stump (mrs@cygnus.com) + * gcc.c (main): When concat gcc_exec_prefix and + standard_startfile_prefix, put machine_suffix in the middle. - Fri Apr 10 13:20:56 1992 Niklas Hallqvist (niklas@appli.se) + * iris6.h (INIT_SECTION_ASM_OP): Don't define. + (LD_INIT_SWITCH, LD_FINI_SWITCH, HAS_INIT_SECTION): Don't undef. + (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Ifdef out. + * configure (mips-sgi-irix6, mips-sgi-irix5cross64): Define + use_collect2 to yes. - * cp-spew.c (spew_debug): exported this flag for use in cp-decl.c - (template_type_seen_before_scope): new global containing contextual - information for the parser, making the compiler grok nested types in - template classes. - (shift_tokens): Guard bcopy calls against moves of zero size. - (yylex): Handle nested types in template classes. + * combine.c (move_deaths): When have a multi-reg hard register, + if don't find a note, then recur for each individual hard register. - * cp-parse.y (scoped_typename): Handle nested types in template - classes. - (template_type): Likewise. - (base_class.1): Likewise. - (member_init): Likewise. - (scoped_baseclass): New rule for handling of nested types in - template classes. + * cse.c (set_nonvarying_address_components): Handle addresses + which are the sum of two constant pseudo regs. + (cse_rtx_addr_varies_p): Likewise. - * cp-decl.c (xref_defn_tag): Conditionalized debug printout on - spew_debug (defined in cp-spew.c). - (binding_levels_sane): void function returned value. + * Makefile.in (gfloat.h): Add a - before the rm command. - Mon Sep 14 15:41:28 1992 Mike Stump (mrs@cygnus.com) + * loop.c (find_and_verify_loops): Set dest_loop only if + JUMP_LABEL (insn) is non-zero. - Mon Sep 14 17:26:18 1992 Chip Salzenberg (chip@tct.com) +Mon Jul 31 14:31:53 1995 Ian Lance Taylor - * cp-parse.y (unary_expr), cp-call.c (build_scoped_method_call): - NEVER use `maybe_adjust' feature in destructors. It's unsafe. + * fixincludes: Avoid clobbering VxWorks drv/netif/if_med.h file. - Mon Sep 14 15:12:34 1992 Brendan Kehoe (brendan@rtl.cygnus.com) +Sat Jul 29 16:21:42 1995 Jason Merrill - * cp-decl.c (finish_method): Complain when a qualifier is used as - part of a member declaration. + * collect2.c: (XCOFF_SCAN_LIBS): Define if OBJECT_FORMAT_COFF and + XCOFF_DEBUGGING_FORMAT. + (SCAN_LIBRARIES): Also define if XCOFF_SCAN_LIBS. - Mon Sep 14 11:47:30 1992 Mike Stump (mrs@cygnus.com) +Sat Jul 29 16:19:42 1995 Stuart D. Gathman - * cp-decl2.c (groktypefield): Revert Wed Aug 19 14:47:08 1992 - change as it breaks template constructor declarations. Gez, this - code is horribly complex, and the comments are wrong. Note, - template constructor definitions are broken in the same way, as - declarations were with this patch in. + * collect2.c (scan_libraries): Implement for AIX. - Fri Sep 11 14:09:01 1992 Mike Stump (mrs@cygnus.com) +Sat Jul 29 09:59:33 1995 Michael Gschwind - Fri Sep 11 10:34:45 PDT 1992 Ron Guilmette (rfg at netcom.com) + * configure: (pdp11-*-bsd) New target. + * 2bsd.h: New file. - * cp-decl.c (duplicate_decls): For file-scope redefinitions, note - that the variable was previously *defined* at some specific (earlier) - point. + * pdp11.c (output_move_double): Handle CONST_INT parameters properly. + * pdp11.h (RTX_COSTS): Fill in missing default values. + * pdp11.md (truncdfsf2, extendsfdf2, floatsidf2, fix_truncdfsi2): + Allow register parameters, required by gcc to generate correct code. + * xm-pdp11.h: Include tm.h. - Fri Sep 11 13:49:55 1992 Mike Stump (mrs@cygnus.com) +Sat Jul 29 09:55:17 1995 Andreas Schwab - Tue Sep 8 21:39:35 PDT 1992 Ron Guilmette (rfg at netcom.com) + * configure (m68k-*-linux*aout*, m68k-*-linux*): New targets. + * m68k/linux-aout.h, m68k/linux.h, m68k/t-linux, m68k/xm-linux.h: New. + * m68k.md [USE_GAS]: Output `jbsr' instead of `jsr' for normal + function calls and `bsr.l' instead of `bsr' for pic function calls. - * cp-decl2.c (finish_file): Don't pass `1's as the `functionbody' - flag to `poplevel' when getting ready to finishing up the per- - compilation-unit constructors and destructors. +Sat Jul 29 09:44:13 1995 Jim Wilson - Fri Sep 11 13:28:02 1992 Mike Stump (mrs@cygnus.com) + * sh.h (CAN_DEBUG_WITHOUT_FP): Comment out. - * cp-decl.c (grokdeclarator): Upgrade local externs with - initializations to be errors, instead of warnings. + * reload.c (find_reloads_address_1, case PLUS): When handle SUBREG, + add SUBREG_WORD offset to SUBREG_REG register number. + (find_reloads_address_1, case SUBREG): If a pseudo register inside + a SUBREG is larger than the class, then reload the entire SUBREG. + * sh.h (SUBREG_OK_FOR_INDEX_P): New macro. + (INDEX_REGISTER_RTX_P): Use it. - Fri Sep 11 13:03:52 1992 Mike Stump (mrs@cygnus.com) +Sat Jul 29 09:33:19 1995 Doug Evans - Thu Sep 10 09:40:56 PDT 1992 Ron Guilmette (rfg at netcom.com) + * mips/netbsd.h (CPP_SPEC): Fix typo. - * cp-decl.c (grokdeclarator): Given an error if *either* a `static' - or an `extern' specifier is attached to a defining declaration of a - static data member. + * configure (a29k-*-vxworks*): Define extra_parts for crt{begin,end}.o. + * t-a29k, t-a29kbase, t-vx29k ({,CROSS_}LIBGCC1): Define as empty. - Wed Sep 9 19:46:43 1992 Mike Stump (mrs@cygnus.com) +Sat Jul 29 09:15:17 1995 Jeffrey A. Law - * c++: Makes sure echo -nostdinc does not eat the -nostdinc. + * pa/lib2funcs.asm (gcc_plt_call): Rewrite to avoid the need + for being called by _sr4export. Inline expand $$dyncall to + avoid the need for long-call and PIC support. - Tue Sep 8 13:42:35 1992 Brendan Kehoe (brendan@rtl.cygnus.com) +Sat Jul 29 07:30:04 1995 Oliver Kellogg (Oliver.Kellogg@space.otn.dasa.de) - * cp-typeck.c (common_type, case FUNCTION_TYPE): An empty argument - list is represented as a void_type_node; make sure we check for - that, and not just an empty TYPE_ARG_TYPES list on either side. + * ms1750.inc (ucim.m, ucr.m, uc.m): New. + * 1750a.md (cmpqi): Account for unsigned comparisons. + (rotrqi3, rotrhi3): Reworked. + * 1750a.c (notice_update_cc): INCM and DECM set condition codes. + (unsigned_comparison_operator, next_cc_user_is_unsigned): New fcns. + * 1750a.h (FUNCTION_EPILOGUE): Local variables freed from SP, not FP. + (ASM_OUTPUT_BYTE): Make distinct from ASM_OUTPUT_CHAR. + (ASM_OUTPUT_CONSTRUCTOR): Add FILE arg to assemble_name. - Tue Sep 8 02:31:05 1992 Mike Stump (mrs@cygnus.com) +Fri Jul 28 09:40:07 1995 Jeffrey A. Law - * cp-tree.c (layout_basetypes, make_binfo): Added support for - debugging information about virtual base class pointers. + * pa.h (DO_GLOBAL_DTORS_BODY): Use an asm statement to keep optimizer + from deleting an assignment it believes dead. - Mon Sep 7 15:34:58 1992 Brendan Kehoe (brendan@rtl.cygnus.com) +Fri Jul 28 08:47:51 1995 Jim Wilson - * cp-decl2.c (temp_name_p): Deleted function, never used anywhere. + * unroll.c (unroll_loop): When preconditioning, output code to + execute loop once if initial value is greater than or equal to final + value. - Sun Sep 6 23:09:29 1992 John F Carr (jfc at Athena.MIT.EDU) + * configure (lang_specs_files, lang_options_files): Add $srcdir to + file names when adding them to these variables. - * cp-typeck.c (convert_arguments): Ignore arguments which are - ERROR_MARK_NODE to avoid crashes trying to reference fields which - are not present. + * c-typeck.c (pointer_int_sum): Don't distribute if intop is unsigned + and not the same size as ptrop. - Mon Sep 7 12:34:09 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * function.c (assign_stack_temp): When split a slot, set base_offset + and full_size in the newly created slot. + (combine_temp_slots): Update full_size when slots are combined. - * cp-decl.c (clear_anon_tags): Do assignment of B after we've seen - if we're to work on an anonymous aggregate. No need to make the - assignment for nearly every aggr we ever declare. + * sh.c (reg_unused_after): New function. + * sh.md (define_peephole): Add peepholes to use r0+rN addressing mode + for some address reloads. - Sun Sep 6 17:51:47 1992 Mike Stump (mrs@cygnus.com) + * final.c (final_start_function): If SDB_DEBUG, call + sdbout_begin_function. If XCOFF_DEBUG, call xcoffout_begin_function + instead of xcoffout_output_first_source_line. + (final_scan_insn): Don't call sdbout_begin_function or + xcoffout_begin_function. + * xcoffout.c (xcoffout_output_first_source_line): Delete. + (xcoffout_begin_function): Call dbxout_parms and + ASM_OUTPUT_SOURCE_LINE. - Sun Sep 6 13:12:16 1992 John Carr (jfc@Athena.MIT.EDU) + * va-mips.h: Change every occurance of #if __mips>=3 to + #ifdef __mips64. + * mips/abi64.h (CPP_SPEC): Output -D__mips64 when -mips3, or -mips4, + or -mgp64. Output -U__mips64 when -mgp32. + * mips/dec-bsd.h, mips/elf64.h, mips/iris3.h: Likewise. + * mips/iris5.h, mips/mips.h, mips/netbsd.h, mips/osfrose.h: Likewise. - * cp-decl.c (pushdecl, finish_decl, store_return_init, - finish_function), cp-decl2.c (constructor_name, finish_file), - cp-except.c (cplus_expand_reraise), cp-init.c (emit_base_init, - expand_aggr_init_1), cp-typeck.c (build_modify_expr, - c_expand_asm_operands, c_expand_return): Include rtl.h and eliminate - unneeded casts. + * i960.c (i960_function_epilogue): Don't clear g14 for functions with + an argument block. + (i960_output_reg_insn): Likewise. + (i960_output_call_insn): Clear g14 for functions wtih an argument + block. - * cp-decl2.c (grokbitfield): Use NULL_TREE instead of NULL. +Fri Jul 28 08:43:52 1995 Doug Evans - * cp-decl2.c (finish_file): Don't try and not use stdio.h. + * i960.c (i960_arg_size_and_align): Correct alignment of XFmode + values in library calls. + * i960.md (movdi matchers): Support odd numbered regs. - * cp-except.c (cplus_expand_reraise): emit_move_insn takes 2 - arguments, not three. +Fri Jul 28 08:37:25 1995 Michael Gschwind - Sat Sep 5 12:04:06 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * pdp11.md (divhi3, modhi3, divmodhi4): Rewrite. + +Wed Jul 26 10:15:52 1995 Hallvard B Furuseth (h.b.furuseth@usit.uio.no) - * cp-decl.c (finish_function): Undo change of Mon Aug 17 16:28:48 - 1992; it resulted in lots of unnecessary and incorrect warnings. + * collect2.c (end_file): Fix typo in error message text. - * cp-lex.c (do_identifier): For nested classes, check if a variable - being sought is actually in the scope of an enclosing class. If it - is, and the variable's non-static, bail. +Wed Jul 26 09:22:22 1995 Jeff Law (law@snake.cs.utah.edu) - * cp-decl.c (grok_enum_decls): Tighten up some code that was pretty - twisty. + * xm-pa.h (USE_C_ALLOCA): Always define. + * xm-pahpux.h (USE_C_ALLOCA): Likewise. - * cp-class.c (start_struct): Delete; it was #if 0'd out anyway (C++ - doesn't need it), and is an old hold-over from c-decl.c. + * x-pa (CC): Remove useless definition. + * xm-pa.h (HAVE_STRERROR): Define. + (__BSD_NET2__): Define. - * cp-class.c (minus_one_node): Delete, it's not used. - (init_class_processing): Delete init of minus_one_node. +Wed Jul 26 09:10:25 1995 Jason Merrill - * cp-spew.c (yylex): Check return of resolve_scope_to_name to - be NULL_TREE. - (frob_identifier): Likewise. - (hack_more_ids): Likewise. + * expr.c (preexpand_calls): Don't look past a CLEANUP_POINT_EXPR. - * cp-cvt.c (convert_to_real): Use REAL_VALUE_ATOF to make 0. +Wed Jul 26 08:43:42 1995 Jim Wilson - Fri Sep 4 19:23:17 1992 Mike Stump (mrs@cygnus.com) + * cse.c (cse_insn): When do special handling for (set REG0 REG1), + must delete REG_EQUAL note from insn if it mentions REG0. - * cp-decl.c (grok_ctor_properties): When looking for copy - constructors, ignore the first argument since it is the in$chrg - parameter for the object to copy from. + * loop.c (find_and_verify_loops): When moving blocks of code, verify + that the just destination is not in an inner nested loop. + (mark_loop_jump): Don't mark label as loop exit if it jumps to + an inner nested loop. - Fri Sep 4 14:35:31 1992 Mike Stump (mrs@cygnus.com) +Wed Jul 26 08:40:31 1995 Paul Eggert - * cp-cvt.c (build_up_reference): Prevent the compiler from dumping - core on semantic errors. + * cccp.c (do_include, read_name_map): Omit leading "./" and + trailing "/" when it makes sense. + (skip_redundant_dir_prefix): New function. -Thu Sep 17 17:28:13 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Jul 26 08:36:41 1995 Michael Meissner - * c-typeck.c (initializer_constant_valid_p): Warn about address - arithmetic destined for a type that's too narrow. - New argument ENDTYPE. + * stmt.c (emit_nop): Do not emit a nop if there is a single + insn before a label or at the start of a function. - * limitx.h: Don't include-next if _LIBC_LIMITS_H_ defined. +Wed Jul 26 08:21:21 1995 Doug Evans -Thu Sep 17 20:45:16 1992 Paul Eggert (eggert@twinsun.com) + * Makefile.in (gfloat.h): Delete previous copy before updating. - * cexp.y (parse_escape): Diagnose '\x' with no digits. - Diagnose integer overflow when parsing \x escapes. +Wed Jul 26 08:18:29 1995 Roland McGrath -Thu Sep 17 11:52:53 1992 Michael Meissner (meissner@osf.org) + * Makefile.in (STAGESTUFF): Add stamp-crtS. + (crtbeginS.o, crtendS.o, stamp-crtS): New rules; just like + crtbegin.o et al, but compiled using -fPIC. + * configure (*-*-gnu*): Add crtbeginS.o and crtendS.o to $extra_parts. - * gcc.c (SIGNED_CHAR_SPEC): Use #if rather than ?: in default defn. +Wed Jul 26 08:11:52 1995 Michael Gschwind -Thu Sep 17 14:53:51 1992 Tim Moore (moore@defmacro.cs.utah.edu) + * pdp11.md: Fixed typos ('bhos' -> 'bhis'). - * pa.h (FUNCTION_ARG_ADVANCE, FUNCTION_ARG): Fix double integer - argument alignment. - (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_SIZE): Define. - * pa-hpux.h, pa-ghpux.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, - WCHAR_SIZE): Define for hpux. - * x-pa, t-pa : New files. - * configure (hppa cases): add definitions for xmake_file and - tmake_file. +Wed Jul 26 08:05:41 1995 Jim Wilson -Wed Sep 16 22:22:15 1992 James Van Artsdalen (james at bigtex.cactus.org) + * hp320.h, m68k.h, m68kv4.h (LEGITIMATE_PIC_OPERAND_P): Reject + CONST_DOUBLE with MEM with invalid pic address. + * reload1.c (real.h): Include it. + * Makefile.in (reload1.o): Depends on real.h. - * i386.c (print_operand): Don't abort if error: might have been a - user asm. +Wed Jul 26 07:58:22 1995 Ian Lance Taylor - * i386.md (addsi3,ashlsi3): Handle the case where the stack - pointer appears as an index reg. + * gcc.c (MULTILIB_DIRS): Provide default if not defined. + (multilib_defaults): New static variable. + (default_arg): New static function. + (set_multilib_dir): Ignore default arguments. + (print_multilib_info): Ignore entries which use default arguments. -Wed Sep 16 21:22:23 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Jul 25 10:06:09 1995 Michael Meissner - * cse.c (fold_rtx): For SUBREG, actually test subreg_lowpart_p in the - code to handle narrowing subregs. And exclude binary ops like DIV - where truncating the args is not valid. + * rs6000.md (allocate_stack): Don't copy the LR register to + the new stack end. + * rs6000.c (rs6000_stack_info): Correctly store the LR in + the caller's frame, not the current frame, for V.4 calls. + * rs6000/eabi.asm (_save*, _rest*): Provide all mandated V.4 save + and restore functions, except for the save*_g functions which + return the GOT address. - * libgcc2.c (__CTOR_LIST__, __DTOR_LIST__): Moved to separate member. - * Makefile.in (LIB2FUNCS): Added _ctors. +Fri Jul 21 14:24:25 1995 Michael Meissner -Wed Sep 16 23:28:41 1992 Paul Eggert (eggert@twinsun.com) + * rs6000/eabi.h (__eabi): Load up r13 to be the small data + pointer, unless -mrelocatable. - * cexp.y (parse_number): Warn about '9' in octal constants. - Commonize overflow detection for various radices. + * rs6000/aix3newas.h (LINK_SPEC): Import machine independent + functions if -mcpu=common. + * rs6000/milli.exp: Import file referenced in aix3newas.h. -Wed Sep 16 19:33:37 1992 Torbjorn Granlund (tege@mole.gnu.ai.mit.edu) + * rs6000/eabi.asm (__eabi): Support for fixing up user initialized + pointers when -mrelocatable is used. + * rs6000/eabi.h (ASM_OUTPUT_INT): Record any pointers initialized + by the user if -mrelocatable, to be fixed up by __eabi. + (CONST_SECTION_ASM_OP): If -mrelocatable, put read-only stuff in .data, + not .rodata, to allow user initialized pointers to be updated by __eabi. - * pa.md (casesi): Use emit_jump_insn to emit casesi0 pattern. - (xorsi3): Remove `r' from output template. - (movstrsi recognizer): Add `+' to operand 0 & 1 constraints. + * rs6000.h (TARGET_SWITCHES): Add -mdebug-{stack,arg}. + (TARGET_{ELF,NO_TOC,TOC}): Add defaults for non system V. + (rs6000_stack): New structure to describe stack layout. + (RS6000_{REG_SAVE,SAVE_AREA,VARARGS_*}): New macros used to + support both AIX and V.4 calling sequences. + (FP_ARG_*, GP_ARG_*): Ditto. + (FP_SAVE_INLINE): Ditto. + (STARTING_FRAME_OFFSET): Modify to support both AIX and V.4 + calling sequences. + (FIRST_PARM_OFFSET): Ditto. + (REG_PARM_STACK_SPACE): Ditto. + (STACK_POINTER_OFFSET): Ditto. + (FUNCTION_ARG_REGNO_P): Ditto. + ({,INIT_}CUMULATIVE_ARGS): Ditto. + (LEGITIMATE_LO_SUM_ADDRESS_P): Ditto. + (FUNCTION_ARG{,_ADVANCE,PARTIAL_NREGS,PASS_BY_REFERENCE}): Ditto. + (SETUP_INCOMING_VARARGS): Ditto. + (EXPAND_BUILTIN_SAVEREGS): Ditto. + (CAN_ELIMINATE): Ditto. + (INITIAL_ELIMINATION_OFFSET): Ditto. + (LEGITIMATE_CONSTANT_POOL_{BASE,ADDRESS}_P): Ditto. + (GO_IF_{LEGITIMATE_ADDRESS,MODE_DEPENDENT_ADDRESS}): Ditto. + (LEGITIMIZE_ADDRESS): Ditto. + (CONST_COSTS): Ditto. + (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Ditto. + (ASM_OUTPUT_REG_{PUSH,POP}): Use reg_names to print registers. + (function declarations): Add new rs6000.c function declarations, + and delete decls of deleted functions. + (SHIFT_COUNT_TRUNCATED): Parenthesize the expression. + + * rs6000.c (init_cumulative_args): New function to support AIX + and V.4 calling sequences. + (function_arg{,_advance,partial_nregs,pass_by_reference}): Ditto. + (setup_incoming_varargs): Ditto. + (expand_builtin_saveregs): Ditto. + (rs6000_stack_info): Ditto. + (debug_stack_info): Ditto. + (direct_return): Changes to support AIX and V.4 calling sequences. + (first_reg_to_save): Ditto. + (svr4_traceback): Ditto. + (output_{prolog,epilog}): Ditto. + (print_operand): Use reg_names to print registers. Add support + for V.4 HIGH/LO_SUM address modes. + (must_save_cr): Function deleted, in rewrite of AIX/V.4 calling + sequence support. + (rs6000_sa_size): Ditto. + (rs6000_pushes_stack): Ditto. + (output_toc): Add abort if no toc. + + * rs6000.md (call insns): Add a new argument to flag a V.4 + function needs to set bit 6 of the CR. + (elf_{low,high}): New V.4 functions to create addresses via HIGH + and LO_SUM patterns. + (movsi): Use elf_{low,high} if appropriate. + (mov{si,di}_update): Name these patterns for allocate_stack. + (allocate_stack): Support for V.4 stack layout. + (sync): New pattern for V.4 trampolines to issue the sync + instruction. + + * rs6000/sysv4.h (TARGET_SWTICHES): Add -mcall-{aix,sysv}, and + -mprototype. Remove separate flag bit for -mno-toc. + (SUBTARGET_OVERRIDE_OPTIONS): Don't test for -mno-toc. + (FP_ARG_*): Adjust for V.4 calling sequences. + (RS6000_*): Ditto. + (FP_SAVE_INLINE): Ditto. + (toc_section): Eliminate use of AIX style full TOC. + (TRAMPOLINE_{TEMPLATE,SIZE}): Redefine for V.4 support. + (INITIALIZE_TRAMPOLINE): Ditto. + + * rs6000/eabi.h (CPP_SPEC): Define _CALL_SYSV or _CALL_AIX, + depending on whether -mcall-sysv or -mcall-aix was used. + * rs6000/eabile.h (CPP_SPEC): Ditto. + * rs6000/sysv4le.h (CPP_SPEC): Ditto. + + * rs6000/t-eabigas (MULTILIB_{OPTIONS,DIRNAMES}): Delete no-toc + libraries, explicit big endian libraries. + * rs6000/t-ppcgas (MULTILIB_{OPTIONS,DIRNAMES}): Ditto. + + * rs6000/t-eabiaix: New file for eabi, using -mcall-aix as the + default. + * rs6000/eabiaix.h: Ditto. -Wed Sep 16 14:53:51 1992 Michael Meissner (meissner@osf.org) + * rs6000/t-eabilegas: New file for eabi on little endian systems. + * rs6000/t-ppclegas: New file for V.4 on little endian systems. - * mips.h (MIPS_VERSION): Set Meissner version # to 25. + * rs6000/t-rs6000 (MULTILIB_{OPTIONS,DIRNAMES}): Build libgcc.a + for -mcpu=common. - * mips.c (gen_int_relational): Eliminate all vestiages of - figuring out whether the comparison will always be true or false. - Let the optimizer figure it out. - (gen_conditional_branch): Ditto. - (function_epilogue): Print correct number of half-pic pointers - and references. - (prev_half_pic_refs): New static variable. - (prev_half_pic_ptrs): New static variable. + * configure (powerpc-*-eabiaix): New configuration for defaulting + to old-style AIX calling sequence. + (powerpcle*): Use new t-{eabi,ppc}legas files, to avoid building + explicit little endian multilib libraries. -Tue Sep 15 16:10:47 PDT 1992 Ron Guilmette (rfg at netcom.com) +Fri Jul 21 13:23:06 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * toplev.c (rest_of_decl_compilation): Call `dwarfout_file_scope_decl' - immediately for actual *definitions* of file-scope variables (and - file-scope typedefs too). + * toplev.c (main): Don't define sbrk #ifdef __alpha__. -Tue Sep 15 20:56:31 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Tue Jul 18 19:23:44 1995 Paul Eggert - * fixincludes (EXINIT): Clear it to avoid problems with bad values. - * fixinc.svr4 (EXINIT): Likewise. + * cccp.c (do_include): Prefix -H output lines with spaces, not dots. + (output_dots): Remove. - * print-tree.c (print_node): Don't print blank line for null - fields in a TREE_VEC. + * cccp.c (main): cplusplus_comments now defaults to 1. + But clear it if -traditional or the new option -lang-c89 is given. + * gcc.c (default_compilers, cpp): Specify -lang-c89 if -ansi is given. + This turns off C++ comment recognition. - * cccp.c (macroexpand): Don't output another error message if have - already output error message returned from macarg. +Tue Jul 18 19:16:38 1995 Jim Wilson - * c-decl.c (grokparms): Copy parm list if it isn't permanent, - instead of copying it if temporary allocation has been turned off. + * va-sparc.h (va_arg): Add support for 128 bit long double type. - * final.c (only_leaf_regs_used): Check for global_regs. +Tue Jul 18 19:11:18 1995 Jorn Rennecke (amylaar@meolyon.hanse.de) - * c-parse.y (typespec): Don't warn if pedantic when typeof used. + * c-common.c (decl_attributes, case A_ALIGNED): Handle is_type + case properly. - * c-tree.h (lang_identifier): Add limbo_value field for out of - scope block level extern declarations. - (IDENTIFIER_LIMBO_VALUE): New define, to access that field. - * c-decl.c (print_lang_identifier): Print value of limbo field. - (pushdecl): Check an extern decl against both previous global and - previous limbo declarations. For global declarations, clear limbo - value field. For block level extern declarations, set limbo field - if zero. - (grokdeclarator): If this is a block level extern, then allocate - it on the permanent obstack, not the temporary obstack. +Tue Jul 18 19:03:02 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Sep 15 15:42:24 1992 Paul Eggert (eggert@twinsun.com) + * fold-const.c (fold, case CONVERT_EXPR): Don't merge conversions + if outer is to handle a type with differing precision. - * tree.c (int_fits_type_p): Negative ints never fit unsigned - types, and unsigned ints with top-bit-set never fit signed types. - * c-lex.c (yylex): Integer constant is unsigned for purposes of - int_fits_type_p so that it compares huge constants properly. +Mon Jul 17 14:37:35 1995 Pat Rankin (rankin@eql.caltech.edu) -Tue Sep 15 14:44:51 1992 Michael Meissner (meissner@osf.org) + * vax/vms.h (HAVE_ATEXIT): Define. + (DO_GLOBAL_CTORS_BODY): Don't call atexit; let __do_global_ctors do it. + * vax/xm-vms.h (HAVE_VPRINTF): Define. - * i386.md (string move, string compare): Always issue cld - instruction before doing a rep string move, so that we are - guaranteed that the bytes are moved/compared correctly. +Mon Jul 17 06:41:19 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Sep 15 00:09:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-typeck.c ({unsigned,signed}_type): Handle intXX_type_node types. - * gstdarg.h: (va_arg): Cast ptr to void *, then to TYPE *. - * va-i960.h, va-m88k.h, va-mips.h, va-pa.h, va-pyr.h, va-sparc.h: - Likewise. + * xm-alpha.h (sbrk): Add declaration. - * rtl.c (ftell): Declaration deleted. + * convert.c (convert_to_integer): If TYPE is a enumeral type or + if its precision is not the same as the size of its mode, + convert in two steps. -Mon Sep 14 15:17:09 1992 Michael Meissner (meissner@osf.org) + * m68k.md (tstdi, cmpdi): Use match_scratch, not match_operand. - * configure (arg processing): Add --with-stabs switch. - (all mips configurations, except decrose): If --with-stabs, use - the configuration file that emits stabs as the debug debug - configuration, rather than the native MIPS ECOFF format. +Fri Jul 14 19:23:42 1995 Andreas Schwab -Mon Sep 14 13:28:29 1992 Torbjorn Granlund (tege@jupiter.sics.se) + * c-decl.c (field_decl_cmp): Rewritten to make sure that a null + name always sorts low against other names. + * c-typeck.c (lookup_field): Change name comparison to match what + field_decl_cmp does. - * configure (option case statement): Index with `$next_arg' instead - of `next_arg'. Clean up order and indentation for switches. - (several places): Remove space around assignment `='. - (usage printing): Don't use `-n' for echo (SysV lossage). - Print config.status with `tail +2'. +Fri Jul 14 18:46:24 1995 Michael Meissner -Mon Sep 14 23:46:19 1992 Paul Eggert (eggert@twinsun.com) + * rs6000.md (movsi): Convert a CONST_DOUBLE into a CONST_INT of + the low part. - * c-lex.c (yylex): Warn about integers so large that they are unsigned. +Fri Jul 14 18:30:52 1995 Doug Evans - * cexp.y (parse_number): Diagnose integer constants that are too large. - Diagnose duplicate `l' and `u' suffixes. Diagnose ` 0x ' and ` 0a '. - Warn about integer constants that are so large that they are unsigned. + * toplev.c (main): Reword dwarf/c++/-g warning. -Mon Sep 14 10:26:34 1992 Charles Hannum (mycroft@hal.gnu.ai.mit.edu) +Fri Jul 14 18:19:34 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * reload1.c (init_reload): Fix typo in last change. + * expr.h (NO_DEFER_POP): Remove last change. + * expr.c (stor_expr): Force stack adjust before NO_DEFER_POP. + (expand_expr, case COND_EXPR): Likewise. + * stmt.c (expand_start_stmt_expr): Likewise. -Mon Sep 14 01:17:58 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Jul 14 07:58:35 1995 Jim Wilson - * reload1.c (init_reload): For reg+reg+const, try various regs. + * function.c (struct temp_slot): New fields base_offset, full_size. + (assign_stack_temp): For !FRAME_GROWS_DOWNWARD, set p->size to size. + Set new fields base_offset and full_size. + (combine_temp_slots): Use new fields base_offset and full_size instead + of slot and size. -Sun Sep 13 01:08:06 1992 Paul Eggert (eggert@twinsun.com) + * loop.c (loop_number_exit_count): New global variable. + (loop_optimize): Allocate space for it. + (find_and_verify_loops, mark_loop_jump): Set it. + (strength_reduce, check_dbra_loop): Use loop_number_exit_count + instead of loop_number_exit_labels. + * loop.h (loop_number_exit_count): Declare it. + * unroll.c (find_splittable_{regs,givs}, final_[bg]iv_value): Use + loop_number_exit_count instead of loop_number_exit_labels. + (reg_dead_after_loop): Check loop_number_exit_count, and fail + if the count doesn't match loop_number_exit_labels. - * cexp.y (exp): Detect signed integer overflow. - Replace `(unsigned)' with `(unsigned long)'. When - evaluating << and >>, compute the correct answer without shifting - by more than HOST_BITS_PER_LONG, or by a negative quantity. - (integer_overflow, left_shift, right_shift): New functions. + * cse.c (cse_insn): Ifdef out code that pre-truncates src_folded. -Sun Sep 13 02:00:52 1992 Torbjorn Granlund (tege@jupiter.sics.se) + * sparc.md (sethi_di_sp64): Return null string at end. - * arm.md: Clean up indentation. + * function.h (struct function): Add stdarg field. + * function.c (current_function_stdarg): New global variable. + (push_function_context_to): Save it. + (pop_function_context_from): Restore it. + (assign_parms): Set it. + (init_function_start): Clear it. + * output.h (current_function_stdarg): Declare it. + * i960.md: Modify all patterns which handle stores to memory to also + check current_function_varargs and current_function_stdarg. - * pa.c (output_load_address): Removed. Nothing uses it. - * pa.md (high:DI recognizer): Add return \"\". - * pa.md (sCC, bCC expanders): Remove constraints. - * pa.md (and-with-immediate optimizer): New pattern. - * pa.md (ior-with-immediate optimizer): New pattern. - * pa.c (consec_zeros_p, and_operand, ior_mask_p, ior_operand, - output_and, output_ior): New functions. - * pa.h (output_and, output_ior): Declare. - * pa.h (CONST_OK_FOR_LETTER_P): Add 'O' and 'P'. - * pa.c (compute_xdepi_operands_from_integer): New function. - Some code come from output_zdepi. - (output_zdepi): Removed. - (depi_cint_operand): New name for zdepi_operand. - * pa.md (adddi3): Extend to handle CONST_INT. - * pa.md (movstrsi): Change `!= 4' => `< 4' in test for alignment. - * pa.md (negsi2): Don't use @ for just one output template. - * pa.md (and-not patterns): Make them canonical. Put operands in - the right order. - * pa.md (casesi): Rewrite. Used to be buggy and slow. - * pa.md (several patterns): Make sure # of attribute alternatives - match # of constraint alternatives. - Return assembler output template instead of calling output_asm_insn. - Don't write to operands[n] for n >= max operand number in the - pattern, use xoperands instead. + * reorg.c (fill_simple_delay_slots): When trying to take instruction + from after the branch, don't continue past target label. Local + variables passed_label and target_uses are no longer necessary. -Sat Sep 12 15:06:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Jul 13 19:30:04 1995 Jeff Law (law@snake.cs.utah.edu) - * regclass.c (record_reg_classes): - Ignore leading % when examining constraint. - Don't bypass usual cost computation when a pseudo "matches" - a non-pseudo in matching operands. + * pa.c (output_bb): Fix error in long backwards branch with + nullified delay slot. - * c-lex.c (yylex): If integer value overflows so highword is negative, - it needs unsigned long long. +Thu Jul 13 19:26:13 1995 Jim Wilson -Fri Sep 11 21:09:53 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * expmed.c (SHIFT_COUNT_TRUNCATED): Use #ifdef not #if. - * sys-types.h (va_alist): Supply `int' as the type to define it as. +Mon Jul 10 20:16:44 1995 Paul Eggert -Fri Sep 11 12:39:39 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) + * cccp.c (rescan): Don't address outside of array when + preprocessing C++ comments. - * pa.md (non-[cf]branch define_delay): Use a single delay description - for the delay slots in "branch", "call", and "milli" insns. - (fbranch define_delay): fbranches have a single delay slot which - may be nullified when the branch is taken (regardless of direction - or distance to the target.) - (in_branch_delay attribute): Disallow fbranch insns explicitly. - (floating point branches): Use "fbranch" attribute for these insns. - Update output template to properly handle nullification. +Mon Jul 10 20:05:46 1995 Michael Meissner -Fri Sep 11 10:34:45 PDT 1992 Ron Guilmette (rfg at netcom.com) + * rs6000.c (expand_block_move): Remove #if 0 conditionals + against using larger block moves. - * c-decl.c (duplicate_decls): For file-scope redefinitions, - error message distinguishes previous definitions from mere decls. + * t-rs6000 (EXTRA_PARTS): Copy milli.exp to release dir. + (milli.exp): Copy to build dir from machine dependend dir. -Fri Sep 11 01:07:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Jul 10 20:03:29 1995 Richard Earnshaw (rearnsha@armltd.co.uk) - * c-convert.c (convert_to_integer): Don't pass truncation thru lshift - if shift count >= width of narrower type. Instead, just use 0. + * arm.md (matcher for (shiftable_op (cond-exp) (reg))): If + shiftable_op is minus, then subtract from zero when cond fails. - * we32k.h (SIZE_TYPE): Defined. +Mon Jul 10 19:58:26 1995 John F. Carr -Fri Sep 11 00:03:45 1992 Paul Eggert (eggert@twinsun.com) + * sparc.h (SELECT_SECTION): Use TREE_CODE_CLASS instead of directly + referencing tree_code_type. + +Mon Jul 10 19:54:31 1995 Jim Wilson - * c-decl.c (finish_struct): Don't assume that a target integer - fits in a HOST_WIDE_INT when checking bit-field widths. - * c-typeck.c (build_binary_op): Likewise, when checking shift widths. + * protoize.c (reverse_def_dec_list): Delete const qualifiers from + local variables, and delete casts which were casting away const. -Thu Sep 10 22:23:10 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Jul 10 19:14:39 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * optabs.c (expand_binop): - Convert op1 of shift libcall to word_mode. + * c-lang.c (finish_file): Add missing parm to start_function call. -Thu Sep 10 18:14:36 1992 Tim Moore (moore@defmacro.cs.utah.edu) + * jump.c (jump_optimize): Pass outer_code arg to rtx_cost. - * final.c (shorten_branches): Do shorten branches with delay slots - if the number of delay slots is constant. - * genattrtab.c (write_const_num_delay_slots): New function; - creates const_num_delay_slots (). - (main): Call it. - * genattr.c (main): Write declaration for const_num_delay_slots (). + * varasm.c (assemble_name, bc_assemble_integer): Call + bc_emit_labelref with proper args. -Thu Sep 10 17:33:42 1992 Michael Meissner (meissner@osf.org) + * function.c (setjmp_args_warning): Remove bogus arg. - * mips.md (all move patterns): Do not allow memory to memory or - non-zero constant to memory moves to be generated, which causes - reload to generate the load/store using spilled registers, and - does not allow for efficient CSE or scheduling to be done. +Mon Jul 10 18:20:54 1995 Fergus Henderson (fjh@cs.mu.oz.au) - * dec-gosf1.h, iris4g.h: New files. + * gcc.c (p{fatal,error}_with_name, perror_exec): Quote filename. -Thu Sep 10 12:46:17 1992 Torbjorn Granlund (tege@jupiter.sics.se) +Mon Jul 10 18:12:51 1995 Gran Uddeborg (uddeborg@carmen.se) - * pa.md (casesi): Add `&' to constraint for clobber operand. + * i386/iscdbx.h (STARTFILE_SPEC): Handle -Xp. - * optabs.c (expand_binop): Fix typo, `mode' => `methods'. +Wed Jul 5 02:42:17 1995 Per Bothner (bothner@spiff.gnu.ai.mit.edu) -Thu Sep 10 00:21:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cpphash.h (enum node_type): Remove unneeded and non-standard + forward declaration. - * optabs.c (expand_binop): Delete #ifdef GPC; complex code now uncond. +Sat Jul 1 20:15:39 1995 Jim Wilson - * optabs.c (init_fixtab): Fix typo for fix_truncdfqi2. + * mips/t-mips, mips/t-mips-gas (MULTILIB_*, LIBGCC, INSTALL_LIBGCC): + Delete. -Wed Sep 9 13:25:53 PDT 1992 Ron Guilmette (rfg at netcom.com) + * sparc/sol2.h (LINK_SPEC): Revert March 16 change. Do not add -R + for each -L. + + * collect2.c (libcompare): Verify that file name extensions are valid. + Put files with invalid extensions last in the sort. - * c-common.c (declare_function_name): Allow for anonymous function. + * integrate.c (integrate_decl_tree): Set DECL_ABTRACT_ORIGIN before + pushdecl call for local variables. -Wed Sep 9 15:56:09 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Jul 1 08:13:38 1995 Richard Earnshaw (rearnsha@armltd.co.uk) - * Makefile.in (mostlyclean): Delete xlimits.h. + * cpplib.c (output_line_command): If not emitting #line directives + delay returning until after adjust_position has been called. - * final.c (output_addr_const): - If 2nd arg of MINUS is negative integer, put it in parens. + * arm.md (mov{si,sf,df}cc): Call gen_compare_reg to generate + the condition code register. -Wed Sep 9 10:10:30 1992 Michael Meissner (meissner@osf.org) +Sat Jul 1 06:55:09 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * va-mips.h (va_arg): Handle structures larger than 8 bytes. - (all macros): Put __ in front of all macro arguments. + * fold-const.c (decode_field_reference): New parm PAND_MASK. + (unextend): New parm MASK. + (fold_truthop): Pass new parms to decode_field_reference and unextend. -Wed Sep 9 00:45:02 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * va-alpha.h (__va_tsize): Use __extension__ to avoid warning + on use of `long long'. - * sol2-crt1.asm (.nope): Really store into environ. + * expr.h (NO_DEFER_POP): Do any pending stack adjusts. - * libgcc2.c (__gcc_bcmp): New function, in cond on L__gcc_bcmp. - * Makefile.in (LIB2FUNCS): Add L__gcc_bcmp. + * recog.c (register_operand): Disallow subreg of reg not allowed to + change size. - * expr.c (expand_expr): Support IN_EXPR. +Thu Jun 29 05:51:57 1995 Jeff Law (law@snake.cs.utah.edu) -Tue Sep 8 20:04:43 1992 Paul Eggert (eggert@twinsun.com) + * pa.md (reload addsi3): New pattern to avoid reload lossage + with register eliminations. - * c-convert.c (convert_to_integer): When optimizing LSHIFT_EXPR and - RSHIFT_EXPR, do compares at tree level. + * pa.c (output_cbranch): When checking for a jump to the given + insn's delay slot, handle the case where JUMP_LABEL for the + given insn does not point to the first label in a series of + labels. + (output_bb, output_dbra, output_movb): Likewise. - * tree.c (build_index_type, build_index_2_type): Don't pass - HOST_WIDE_INT to routine expecting an int. Don't pass negative - value even if hash code is INT_MIN. +Wed Jun 28 18:04:56 1995 Jeff Law (law@snake.cs.utah.edu) -Tue Sep 8 17:35:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * pa.h (PIC_OFFEST_TABLE_REGNUM_SAVED): Define to %r4. + (CONDITIONAL_REGISTER_USAGE): Make it fixed when compiling + PIC code. + (INIT_EXPANDERS): Delete. + * pa.c (hppa_save_pic_table_rtx): Delete variable. + (hppa_expand_prologue): For PIC generation, copy the PIC + register into a fixed callee register at the end of the + prologue of non-leaf functions. + * pa.md (call expanders): Reload the PIC register from the + fixed callee saved register. Don't try to save the PIC + register before the call. - * dbxout.c (dbxout_type_fields): Handle nameless subrecords for Pascal. - (dbxout_type): Handle CHAR_TYPE, BOOLEAN_TYPE. FILE_TYPE, SET_TYPE. +Wed Jun 28 18:01:14 1995 Stan Cox (coxs@dg-rtp.dg.com) - * news.h (ASM_OUTPUT_OPCODE): Deleted. + * m88k/dguxbcs.h (ASM_SPEC): Removed -h flag. + * m88k/dgux.h (ASM_SPEC): Likewise. - * c-parse.y (stmt): In for stmt, put proper lineno before increment. - Don't call position_after_white_space. +Wed Jun 28 17:01:58 1995 David Edelsohn -Tue Sep 8 06:31:17 1992 Michael Meissner (meissner@osf.org) + * rs6000.c (processor_target_table): Remove CPU name synonyms. + * rs6000.h (CPP_SPEC): Likewise. + * rs6000/sysv4.h (CPP_SPEC): Likewise. + (ASM_SPEC): Likewise. + * rs6000/sysv4le.h (CPP_SPEC): Likewise. + * rs6000/eabile.h (CPP_SPEC): Likewise. + * rs6000/powerpc.h (CPP_SPEC): Likewise. + (ASM_SPEC): Set assembler target according to compiler target. + * rs6000/aix3newas.h (CPP_SPEC): Likewise. + (ASM_SPEC): Likewise. + * rs6000/aix41.h (CPP_SPEC): Likewise. + (ASM_SPEC): Likewise. - * cp-typeck.c (constant_print_warning): Deleted. +Wed Jun 28 16:25:53 1995 Gran Uddeborg (uddeborg@carmen.se) -Tue Sep 8 05:26:19 1992 Mike Stump (mrs@hal) + * i386/x-isc3 (INSTALL_HEADERS_DIR): Delete; done by configure. - Tue Aug 18 23:56:16 1992 Ron Guilmette (rfg at netcom.com) +Wed Jun 28 16:10:47 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * tree.h (BINFO_VPTR_FIELD): Added to support debugging - information about virtual base class pointers. + * xm-rs6000.h (alloca): Extern decl added for non-GNU compiler. -Mon Sep 7 19:39:45 1992 Brendan Kehoe (brendan@cygnus.com) +Wed Jun 28 11:31:30 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * c-typeck.c (constant_print_warning): Deleted. - * c-common.c: Moved here. + * cpplib.c (progname): Remove definition from here. -Mon Sep 7 17:03:07 1992 Paul Eggert (eggert@twinsun.com) + * final.c (final_scan_insn): Fix error in last change. - * fold-const.c (fold): Check abs for constant integer overflow. + * rtlanal.c (reg_set_p_1): Now static; add extra parm. -Mon Sep 7 01:31:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * stmt.c: Delete redundant forward decls. + (expand_anon_union_decl): Correctly call expand_decl. - * c-common.c (check_case_value): Call constant_expression_warning. + * toplev.c (strip_off_ending): Strip off any ending; don't + pretend we know what valid endings are. - * cse.c (simplify_binary_operation): For DIV by 0, do nothing. + * svr4.h (ASM_OUTPUT_SECTION_NAME): Don't crash if DECL is null. - * c-decl.c (duplicate_decls): Set DECL_INLINE in newdecl - so it is copied into olddecl. + * rs6000.md ({load,store}_multiple): Don't use indirect_operand + in define_insn; use explicit MEM of register_operand instead. -Sun Sep 6 08:53:46 1992 Fred Fish (fnf at fishpond) +Tue Jun 27 11:42:56 1995 Stephen L Moshier - * m68k.md (fsglmul pattern): If FSGLMUL_USE_S, opcode has .s, not .x. - * amix.h (FSGLMUL_USE_S): Defined. + * i386/i386.c (print_operand, case `J'): Use jns for GE and js for + LT. -Sun Sep 6 17:42:33 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) +Tue Jun 27 07:58:55 1995 Jason Merrill - * pa.md (indirect_jump): Annul the next instruction if the delay - slot could not be filled instead of emitting a nop. + * expr.c (expand_expr, TARGET_EXPR): Only use original_target + if !ignore. - * pa.c (output_function_prologue): Undo Aug. 13 change. - If profiling, then this function makes calls. Reflect this in - CALLINFO. - (output_function_epilogue): If profiling, then be restore "rp" here. +Tue Jun 27 07:27:26 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * pa.md (use_milli_regs attribute): Deleted, not necessary anymore. - All references deleted. - * pa.c (use_milli_regs): Deleted. + * fold-const.c (fold_truthop): Commute unextend and convert on + l_const and r_const. -Sun Sep 6 17:11:00 1992 Torbjorn Granlund (tege@jupiter.sics.se) + * c-common.c (decl_attributes, case A_CONSTRUCTOR, A_DESTRUCTOR): + Set TREE_USED. - * arm.h (MOVE_MAX): Define as 4. + * final.c (final_scan_insn): Don't call alter_cond unless + condition is on cc0. - * ns32k.c (hard_regno_mode_ok): Don't abort if unknown mode, - return 0 instead. Declare argument MODE as `enum machine_mode'. + * stmt.c (expand_asm_operands): Handle input operands that may not + be in a register. - * i860.h (HARD_REGNO_MODE_OK): Allow BLKmode. +Mon Jun 26 19:23:05 1995 Richard Earnshaw (rearnsha@armltd.co.uk) -Sun Sep 6 16:57:12 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * arm/lib1funcs.asm (L_dvmd_tls): Renamed from L_divmodsi_tools. + * arm/t-semi (LIB1ASMFUNCS): Rename _dvmd_tls from _divmodsi_tools. - * expr.c (init_expr_once): Don't try HARD_REGNO_MODE_OK on VOIDmode - or BLKmode. +Mon Jun 26 19:18:06 1995 Jim Wilson -Sun Sep 6 14:27:57 1992 Michael Meissner (meissner@osf.org) + * unroll.c (find_splittable_regs): When completely unrolling loop, + check for non-invariant initial biv values. - * cp-typeck.c (constant_expression_warning): New fn from c-typeck.c. +Mon Jun 26 19:13:54 1995 Gran Uddeborg -Sun Sep 6 09:11:46 PDT 1992 Ron Guilmette (rfg at netcom.com) + * configure (i[345]86-*-isc*): Fix misspelled "rfile" to "ifile". - * c-decl.c (duplicate_decls): Don't set DECL_EXTERNAL in olddecl. - Preserve DECL_UID of olddecl. +Mon Jun 26 18:58:22 1995 Mike Stump -Sun Sep 6 03:37:21 1992 James Van Artsdalen (james at bigtex.cactus.org) + * expr.c (expand_expr, case COND_EXPR): Protect the condition from + being evaluated more than once. + (do_jump, case TRUTH_ANDIF_EXPR, TRUTH_ORIF_EXPR): Likewise. - * i386.md (cmpstrsi): Rewrite expander to handle operands correctly. +Mon Jun 26 18:52:36 1995 Philippe De Muyter (phdm@info.ucl.ac.be) -Sat Sep 5 22:55:53 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * fixincludes (string.h): Fix return value for mem{ccpy,chr,cpy,set} + and str{len,spn,cspn} on sysV68. - * combine.c (try_combine): Make change missing from last modification - to splitting code. +Mon Jun 26 06:54:50 1995 Michael Meissner (meissner@cygnus.com) -Sat Sep 5 19:21:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * i386/osfrose.h (LONG_DOUBLE_TYPE_SIZE): Go back to making long + double == double. - * stor-layout.c (layout_type): Caller must give size of FILE_TYPE. +Thu Jun 22 19:14:41 1995 Pat Rankin (rankin@eql.caltech.edu) -Sat Sep 5 16:34:50 1992 Torbjorn Granlund (tege@jupiter.sics.se) + * make-cc1.com (if DO_LINK): Skip c-parse.* processing when + only relinking. + (gas_message): Update to reflect current version, and give + a different message if/when no version of gas is found.xo - * arm.c (before functions): Remove xmalloc decl. - (arm_asm_output_label): Cast value from xmalloc. +Thu Jun 22 18:52:37 1995 Richard Earnshaw (rearnsha@armltd.co.uk) - * arm.md (storehi): Use match_operand for operand 0. - Use gen_lowpart to change mode of operand 0. - (storeinthi): Use match_operand for operand 0. - Change output code to reassign operand 0. - (truncsihi2, truncsiqi2, trunchiqi2): Remove these patterns. + * arm/lib1funcs.asm (___modsi3): Correctly set SIGN register for + modulo involving negative numbers. -Sat Sep 5 02:39:37 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Jun 22 18:32:27 1995 Uwe Seimet (seimet@chemie.uni-kl.de) - * news.h (ASM_OUTPUT_OPCODE): Defined. + * xm-atari.h (HZ): Now 100 and don't define if already defined. -Sat Sep 5 18:52:21 1992 Jukka Virtanen (jtv@kampi.hut.fi) +Thu Jun 22 18:26:12 1995 Jeffrey A Law (law@snake.cs.utah.edu) - * stor-layout.c (layout_type): Handle BOOLEAN_TYPE, CHAR_TYPE, - and FILE_TYPE for Pascal. - (fixup_signed_type): New function. + * calls.c (expand_call): Correctly handle returning BLKmode + structures in registers when the size of the structure is not + a multiple of word_size. + * stmt.c (expand_return): Likewise. - * optabs.c (init_optabs): Use __gcc_bcmp, not real bcmp. - (expand_unop): Handle NEG for complex modes. - (expand_binop): Likewise. - (expand_complex_binop): New function. + * pa-gux7.h (LIB_SPEC): Undefine before redefining. + * pa-hpux.h (LIB_SPEC): Likewise. + * pa-hpux7.h (LIB_SPEC): Likewise. - * expr.c (emit_move_insn): When moving word by word, - mark the whole thing as a libcall block. - (group_insns): New function. - (expand_expr): - Implement COMPLEX_EXPR, REALPART_EXPR, IMAGPART_EXPR, CONJ_EXPR. + * genmultilib: Work around hpux8 /bin/sh case bug. - * print-tree.c (print_node): Handle BOOLEAN_TYPE and CHAR_TYPE. - * emit-rtl.c (gen_highpart): New function. + * pa.h (LIB_SPEC): Define to avoid -lg. -Fri Sep 4 23:20:59 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Jun 22 18:19:09 1995 Jason Merrill - * i860.md (mulsi3_big): Use low half of result. - Use offset 1 in subregs in actual fmlow insn. - (fmlow pattern): Split this into alternatives for big and little end. + * expr.c (expand_expr, TARGET_EXPR): Use original_target. - * regclass.c (record_reg_class): For matching operands, handle - case where the earlier one is not a pseudo like the case - where the later one is not a pseudo. + * collect2.c (locatelib): Fix parsing of LD_LIBRARY_PATH. -Fri Sep 4 17:24:11 1992 Torbjorn Granlund (tege@jupiter.sics.se) +Thu Jun 22 18:15:54 1995 Paul Eggert - * pa.c (output_move_double): Use %R to store at auto-incr/decr - addr. Split incr and decr cases for store. + * configure: Create an empty Makefile.sed first, to work + around a Nextstep 3.3 bug. -Fri Sep 4 03:49:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Jun 22 18:03:44 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * gcc.c (main): No program should return the error_count! - Return 2 if failure due to signal, 1 if just errors. - (execute): Increment signal_count. + * Makefile.in (STAGESTUFF): Add stamp-crt. + (crtbegin.o, crtend.o): Now depend on stamp-crt. + (stamp-crt): New rule, to actually build crt{begin,end}.o. + + * collect2.c (main): Unlink export_file before we return. - * move-if-change: Undo previous change. +Thu Jun 22 14:25:56 1995 Michael Meissner (meissner@cygnus.com) - * c-decl.c (grokparms): Copy arg type list to savable obstack if nec. + * rs6000.h (STRIP_NAME_ENCODING): Store NAME and strlen(NAME) into + local variables; cast result of alloca to avoid compiler warnings. -Fri Sep 4 19:40:32 1992 Paul Eggert (eggert@twinsun.com) +Tue Jun 20 18:25:29 1995 Douglas Rupp (drupp@cs.washington.edu) - * c-typeck.c (constant_expression_warning): Now works; - it reports signed integer overflow in constant expressions, + * alpha/config-nt.sed, i386/config-nt.sed: Edit to add + a missing $(exeext) for CCCP. - * fold-const.c (left_shift_overflows, same_sign, overflow_sum_sign): - New macros. - (add_double, div_and_round_double, lshift_double, mul_double, - neg_double, const_binop, fold): Check for signed integer overflow. - Propagate overflow flags from operands to result. - (const_binop, fold_convert): Use pedwarn for overflow warnings. - Say `constant expression', not `constant folding', for user's sake. +Tue Jun 20 18:18:00 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Sep 3 22:28:41 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) + * protoize.c (default_include): Use name and two ints to be + compatible with definition of INCLUDE_DEFAULTS. - Complete 12th Cygnus<-->FSF merge. +Mon Jun 19 19:24:29 1995 Ted Lemon - Thu Sep 3 12:29:24 1992 Brendan Kehoe (brendan@cygnus.com) + * mips/netbsd.h (ASM_DECLARE_FUNCTION_NAME): Don't emit function label. - These changes are propagated from changes to c-*.c. +Mon Jun 19 18:34:55 1995 Jason Merrill - Mon Aug 17 16:28:48 1992 Chip Salzenberg (chip@tct.com) + * fixincludes: Don't define wchar_t under C++. - * cp-decl.c (finish_function): Test only can_reach_end for the - warning about reaching the end of a non-void function. - (grokdeclarator): When promoting an argument, retain unsignedness - if traditional or if promoted type is not really getting wider. +Mon Jun 19 17:12:41 1995 Paul Eggert - * cp-parse.y (datadef): For empty declaration, use pedwarn. + * cccp.c (collect_expansion): Work around enum bug in vax + ultrix 4.3 pcc. + * tree.c (simple_cst_equal): Likewise. - Mon Aug 17 17:08:11 1992 Chip Salzenberg (chip@tct.com) +Mon Jun 19 16:53:00 1995 Douglas Rupp (drupp@cs.washington.edu) - * cp-cvt.c (convert): When converting to variant of same type, fold. + * winnt/spawnv.c: New file. - Wed Aug 19 16:58:41 1992 Chip Salzenberg (chip@tct.com) +Mon Jun 19 16:30:29 1995 Glenn Brown - * cp-typeck.c (default_conversion): Convert enumeral types to - appropriate _signed_ type unless -traditional. + * caller-save.c (save_call_clobbered_regs): If AUTO_INC_DEC, mark + register indicated by REG_INC notes as live so they will be saved. - Tue Aug 4 13:11:36 1992 Chip Salzenberg (chip@tct.com) +Mon Jun 19 16:21:12 1995 Jeffrey A Law (law@snake.cs.utah.edu) - * cp-cvt.c (convert): If main variants match, - but the type is not identical, make a NOP_EXPR. + * pa.h (PRINT_OPERAND_ADDRESS, case LOW_SUM): Fix logic bug + in last change. - * cp-decl.c (warn_redundant_decls): Declared. - (duplicate_decls): Optionally warn about redundant declations. - (pushdecl): Never reuse global fcn decl in place of local extern; - just copy some info from it. - (init_decl_processing): __builtin_saveregs returns void *. - (store_parm_decls, finish_function, start_method, finish_method): - Compare TYPE_MAIN_VARIANT against void_type_node. +Mon Jun 19 14:11:49 1995 Jim Wilson - * cp-decl2.c (warn_redundant_decls): Defined. - (lang_decode_option): Decode -Wredundant-decls. + * integrate.c (integrate_decl_tree): Only set DECL_ABSTRACT_ORIGIN + if the decl returned by pushdecl is the one we started with. - * cp-typeck.c (build_conditional_expr): Don't use type1 as - temporary variable; set result_type directly. + * mips.h (current_function_name): Delete declaration. + (ASM_DECLARE_FUNCTION_NAME): Don't set current_function_name. + * gnu.h (ASM_DECLARE_FUNCTION_NAME): Likewise. + * mips.c (current_function_decl): Delete declaration. + (function_prologue): New variable fnname. Use it instead of + current_function_name. + (function_epilogue): Likewise. - Tue Aug 4 12:04:17 1992 Chip Salzenberg (chip@tct.com) +Mon Jun 19 13:13:15 1995 Richard Kenner - * cp-tree.h (C_PROMOTING_INTEGER_TYPE_P): Defined. - * cp-class.c (finish_struct): Use it. - * cp-decl.c (duplicate_decls, grokdeclarator): Ditto. - (grokparms, start_function): Ditto. - * cp-typeck.c (self_promoting_args_p, default_conversion): Ditto. - * cp-parse.y (primary): Set TREE_CONSTANT in the NOP_EXPR for an enum. + * alpha.h (ASM_OUTPUT_ASCII): Always reset line count when + starting new line. - Tue Aug 4 09:17:32 1992 Chip Salzenberg (chip@tct.com) + * scan-decls.c (scan_decls): Fix typo when resetting PREV_ID_START. - * cp-decl.c (duplicate_decls, grokdeclarator, grokparms): - Use TYPE_MAIN_VARIANT when comparing against specific types. - (build_enumerator): Use STRIP_TYPE_NOPS. - (start_function): Force main() to return "int", not just any - integral type. + * i386/config-nt.sed, alpha/config-nt.sed: Change version to 2.7.1. - * cp-typeck.c (self_promoting_args_p, default_conversion): - Use TYPE_MAIN_VARIANT when comparing against specific types. - (unsigned_type, signed_type): If type is not known, return it - unchanged instead of returning its TYPE_MAIN_VARIANT. - (build_binary_op_nodefault): Use TYPE_MAIN_VARIANT when - comparing against specific types. Also use STRIP_TYPE_NOPS. - Also copy error messages from equivalent code in c-typeck.c. +Mon Jun 19 13:06:14 1995 DJ Delorie (dj@delorie.com) - * cp-parse.y (primary): Wrap a NOP_EXPR around an enum value. + * msdos/top.sed: Support new build variables. + * msdos/configur.bat: Make options.h and specs.h. + Change realclean to maintainer-clean. - Wed Sep 2 18:06:47 1992 Mike Stump (mrs@cygnus.com) +Fri Jun 16 06:54:03 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Wed Sep 2 17:33:59 1992 Chip Salzenberg (chip@tct.com) + * Version 2.7.0 Released. - * cp-decl.c (grokdeclarator): Default friends to being PUBLIC. + * obstack.c: Always enable this code for now. - Tue Sep 1 12:33:01 PDT 1992 Ron Guilmette (rfg at netcom.com) + * alpha.c (alpha_builtin_saveregs): Use ptr_mode and conversions + when need so works for both OSF and NT. + * va-alpha.h (__va_tsize): Round to long long not long. - * cp-init.c (do_friends): Always return `void_type_node'. +Thu Jun 15 17:54:52 1995 Bdale Garbee - * cp-decl.c (grokparms): Call digest_init on default arguments for - formal parameters. + * configure (a29k-*-coff): Synonym for a29k-*-udi. - * cp-decl.c (xref_tag): The BINFO records describing individual - inheritances aren't shared in the lattice. +Thu Jun 15 17:51:21 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Tue Sep 1 12:27:17 1992 Mike Stump (mrs@cygnus.com) + * function.c (assign_parms): Do all conversions in CONVERSION_INSNS. - * cp-call.c (convert_harshness, compute_conversion_costs): The - READONLY flag for a const object could be down in the type of the - reference. +Thu Jun 15 17:36:49 1995 Michael Meissner - * cp-call.c (compute_conversion_costs): Don't ignore the cost of - converting the first argument, if it is not a method. Fixes Mon Aug - 31 22:32:34 change. + * reg-stack.c (record_reg_life): Call record_reg_life_pat with 0 + for douse argument so that USE's created to mark variables within + blocks don't get marked as set. - Tue Sep 1 11:58:52 1992 Mike Stump (mrs@cygnus.com) +Thu Jun 15 06:28:15 1995 Dennis Glatting (dennisg@CyberSAFE.COM) - * cp-tree.h (THIS_NAME): Use the name ``this'' instead of the more - cryptic name ``$t''. + * configure: Change one sed command to work around m68k-next bug. - Mon Aug 31 22:32:34 1992 Mike Stump (mrs@rtl.cygnus.com) +Wed Jun 14 22:14:39 1995 Jason Merrill - * cp-init.c (build_member_call): When forming method calls that use - a qualified name, convert the instance pointer to the type implied - by the qualification. Base::member_func(); converts this to be a - (Base *). + * collect2.c (main): Don't turn off auto_export because of -g. + (main): Ignore the argument to -o. - * cp-call.c (compute_conversion_costs): Don't penalize conversion - of the instance pointer on method calls, as they could be pointers - to base classes. + * alpha.h (LINK_SPEC): Don't pass -init __main anymore. + * alpha/osf12.h (LINK_SPEC): Ditto. + * mips/iris5.h (LINK_SPEC): Ditto. - Mon Aug 31 18:34:33 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * collect2.c (main): Place o_file after an initial .o (like crt0.o). + If we have LD_INIT_SWITCH, use init and fini functions for + executables, too. Specify the unique function names. + (write_c_file_stat): Fix the case of destructors but no constructors. + Don't include the generic-named functions for executables. + (write_c_file): If we have LD_INIT_SWITCH, always use + write_c_file_stat. - * cp-decl.c (start_function): When a friend function is being - defined, put it in (lexical) scope of the class in which it appears. + * collect2.c (main): Also add _GLOBAL__D? to export list. - Mon Aug 31 09:57:27 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * ginclude/iso646.h: Do nothing if compiled as C++. - * cp-typeck.c (build_modify_expr): For assignments to member - variables like "X::i", call resolve_offset_ref to get the lhs; all - the code and checking was in there, it just wasn't being used. +Wed Jun 14 17:39:10 1995 Roland McGrath (roland@gnu.ai.mit.edu) - * cp-class.c (finish_struct_methods): Give the name of the class - in question when reporting that all its member functions are - private. + * c-common.c (format_char_info, case 'm'): Set type to void. + (check_format_info): If type is void, ignore operand. - Sun Aug 30 08:34:03 1992 Mike Stump (mrs@rtl.cygnus.com) +Wed Jun 14 17:04:10 1995 Paul F. Kunz (Paul_Kunz@SLAC.Stanford.EDU) - * cp-decl2.c (setup_vtbl_ptr): Disable the code, until problems can - be worked around. + * expr.c (expand_builtin_apply_args): Put back original + register save and restore order. - Sat Aug 29 10:34:10 1992 Mike Stump (mrs@rtl.cygnus.com) +Wed Jun 14 16:56:22 1995 Michael Meissner - * cp-init.c (emit_base_init): Undo Sat Jan 18 12:06:58 change by - tiemann that incorrectly makes -pedantic initialization of virtual - base classes 1 or more levels deep impossible. + * rs6000/eabi.h (INVOKE__main): Define, so __eabi is called after + main's arguments are saved. - Sat Aug 29 10:03:07 1992 Mike Stump (mrs@rtl.cygnus.com) + * rs6000.c (output_prolog): Don't call __eabi here, let + compiler call it after the arguments to main are saved. + (output_{prolog,epilog}): Don't use functions under V.4 to save + and restore floating point registers. - * cp-class.c (finish_struct): Allow extern "C" functions to be - friends. +Wed Jun 14 16:52:12 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - Sat Aug 29 04:43:22 1992 Mike Stump (mrs@rtl.cygnus.com) + * m68k/mot3300.h (PCC_BITFIELD_TYPE_MATTERS): Defined. - * cp-parse.y (used_extern_spec), cp-decl.c (start_decl, - start_function): Make sure extern in extern "C" (fndef | datadef) - applies to only one decl. Fixes problem introduced on Thu Aug 20 - 16:11:58. +Wed Jun 14 16:48:53 1995 Jerry Frain (jerry@tivoli.com) - Thu Aug 27 09:33:13 1992 Brendan Kehoe (brendan@cygnus.com) + * Makefile.in (stage[1-4]): Correctly link `as', `ld', and `collect2'. - * cp-decl.c (grokdeclarator): Name operators properly when - complaining about trying to declare it as a method when not in a - class. +Wed Jun 14 05:52:04 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-decl.c (grok_reference_init): Forbid volatile->const refs, - and vice-versa. Also make the tests apply to all types, not just - aggregates. (Now fully compliant with ANSI C++ June 5 1996 WP - section 8.4.3.5.) + * objc-act.c (hack_method_prototype): Set DECL_CONTEXT of parms. - * cp-decl.c (shadow_tag): Don't allow a function to be a member of - an anonymous union. + * expmed.c (emit_store_flag): Always set LAST. - * cp-class.c (finish_struct): For a type that's nested within a - class, use the class value itself when checking a typedef that uses - that new nested type. + * c-decl.c (start_function): New parameter for attributes. + * c-tree.h (start_function): Likewise. + * c-lang.c (finish_file): Pass extra parm to start_function. + * objc-act.c (build_module_descriptor, really_start_method): Likewise. + * c-parse.in (fndef, nested_function, notype_nested_function): + Likewise. - Wed Aug 26 20:24:07 1992 Brendan Kehoe (brendan@cygnus.com) + * function.c (assign_parms): Use convert_to_mode instead of + gen_lowpart when converting incoming parm. - * cp-decl.c (decls_match): When converting from a - pseudo-METHOD_TYPE for a static member fn, handle the static - function being both in the new and old declarations. - (revert_static_member_fn): New function. +Tue Jun 13 19:10:32 1995 Richard Kenner - * cp-call.c (build_method_call): Put out proper line number for - error with the use of a private constructor. + * rs6000.md (decrement_and_branch): Finish last fix; update matching + constraint. - * cp-decl.c (grokdeclarator): If a storage class is erroneously - specified for an operator, print the operator's name out properly in - the error message (e.g., print `+' instead of `__pl'). +Tue Jun 13 18:32:51 1995 Torbjorn Granlund - * cp-decl.c (grokdeclarator): Allow neither constructors nor - destructors to be declared const or volatile. + * fold-const.c (fold): When converting a COND_EXPR to an ABS_EXPR, + get the types right for ABS_EXPR to work. - * cp-decl.c (grok_op_properties): New argument VIRTUALP. - Use it to disallow declaring new or delete as virtual. Also - use coerce_new_type() and coerce_delete_type() to - sanity-check overloading of new and delete. - (grokfndecl): Give grok_op_properties if the decl is virtual. - (start_method): Likewise. +Mon Jun 12 17:09:55 1995 Michael Tiemann (tiemann@axon.cygnus.com) - * cp-tree.c (lvalue_p, ADDR_EXPR case): Casts to references are - lvalues. + * reorg.c (fill_simple_delay_slots): Set MAYBE_NEVER according to + code of TRIAL_DELAY, not TRIAL. -Thu Sep 3 02:46:44 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Jun 12 15:02:37 1995 Doug Evans - * caller-save.c (setup_save_areas): Don't look at WORDS_BIG_ENDIAN. + * configure: Restore code to make ld symlink if ! use_collect2. - * fixincludes: If we find a link pointing to ., make a similar - link to ., not a link to an absolute name. - (stdio.h): Change stdio.h to use stdarg.h to get va_list. + * gcc.c (link_command_spec): Undo patch of May 11. + -nostdlib implies -nostartfiles again. + * dsp16xx.h (CROSS_LINK_SPEC): Likewise. + * i386/freebsd.h (LINK_SPEC): Undo patch of May 24. + Don't pass "-e start" if nostdlib. + * i386/sun.h (LINK_SPEC): Likewise. + * m68k/sun2o4.h (LINK_SPEC): Likewise. + * m68k/sun3.h (LINK_SPEC): Likewise. + * m68k/vxm68k.h (LINK_SPEC): Likewise. + * mips/netbsd.h (LINK_SPEC): Likewise. + * config/netbsd.h (LINK_SPEC): Likewise. + * rs6000/mach.h (LINK_SPEC): Likewise. + * sparc.h (LINK_SPEC): Likewise. + * sparc/vxsparc.h (LINK_SPEC): Likewise. - * cexp.y: Comment syntax fix. + * gcc.c (link_command_spec): New argument -nodefaultlibs. -Thu Sep 3 01:48:16 1992 Torbjorn Granlund (tege@jupiter.sics.se) +Sun Jun 11 20:47:53 1995 Stephen L Moshier (moshier@world.std.com) - * we32k.md (casesi): Use match_dup for second mention of operand 4. + * Makefile.in (fix-header.o): Depends on xsys-protos.h. -Wed Sep 2 06:58:32 1992 Michael Meissner (meissner@osf.org) +Sun Jun 11 15:07:58 1995 Tim Carver (timc@ibeam.intel.com) - * gcc.c (default_compilers): Add missing comma between strings, so - that traditional compilers can compile gcc.c. - (main): Don't pass strcpy or strlen a NULL pointer if some of the - spec strings in default_compilers are NULL. - (validate_all_switches): Don't dereference a NULL pointer if some of - the spec strings in defalut_compilers are NULL. + * reload1.c (emit_reload_insns): Don't call HARD_REGNO_NREGS + on psuedo when clearing reg_last_reload_reg. - * gcc.c (main): Use new loop var J to avoid conflict with I. +Sun Jun 11 14:07:05 1995 Philippe De Muyter (phdm@info.ucl.ac.be) -Wed Sep 2 19:09:02 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) + * m68k.md ({add,sub}di{_mem,3}): Patterns merged. - * caller-save.c (init_caller_save): If we were unable to - find a simple insn which meets all its constraints to save - and restore with a single insn in a mode, then set - regno_save_mode to VOIDmode to insure that this mode is never - used to caller-save the current register. +Sun Jun 11 13:43:26 1995 Torbjorn Granlund -Wed Sep 2 12:34:39 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * m68k.md (cmpdi matcher): Set cc_status before returning. - * caller-save.c (insert_save_restore): Correct test for - determining whether multiple registers can be saved. + * config/xm-freebsd.h (DONT_DECLARE_SYS_SIGLIST): Define. - * sparc.md (SImode ldd peepholes): Add `f' to constraints. +Sun Jun 11 13:38:49 1995 Jason Merrill - * sparcv4.h (HANDLE_PRAGMA): Delete. - * sparc.c (handle_pragma_token): Delete. + * fixincludes (math.h): Keep declaration of abs on HPUX. - * config/spc-sol2.h: Change the location of the Sun bundled C - compiler in MD_STARTFILE_PREFIX (for backup defaults). +Sun Jun 11 12:31:42 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Wed Sep 2 09:11:16 1992 Tom Wood (wood@dg-rtp.dg.com) + * stor-layout.c (variable_size): Do nothing if SIZE is constant. - * m88k.h (MOVE_MAX): Express in bytes not bits. + * stmt.c (expand_asm_operands): See if output operand permits + register. If not, mark output addressable, call expand_operand + on it, and give error if not MEM. - * m88k.c (output_ascii): Output known escape characters and don't - terminate the constant if an octal escape is used. + * function.c (assign_parms): Handle promotions of both + passed and nominal modes separately and insert needed conversions. + (promoted_input_arg): Return 0 if nominal and passed modes differ. -Wed Sep 2 06:38:37 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * stmt.c (all_cases_count, case INTEGER_TYPE): Fix typo in checking + for integer bounds. - * combine.c (make_compound_operation, case ASHIFTRT): Add new - code to handle (ashiftrt (neg (ashift FOO C1) C2)) just like we - currently handle (ashiftrt (OP (ashiftrt FOO C1) C2) C2). +Sat Jun 10 08:55:25 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Wed Sep 2 00:15:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * libgcc2.c (_floatdidf): Correctly set float sizes. - * Makefile.in (install): Add semicolon to make an empty command. + * c-decl.c (c_decode_option, case "-Wall"): Don't set extra_warnings. - * reload.c (find_reloads): If have any earlyclobbers, don't let any - reloads overlap with them. Make everything RELOAD_OTHER. + * Makefile.in (cpplib.o, fix-header.o): Update dependencies. + (cpperror.o, cppexp.o, cpphash.o): New rules, to show .h dependencies. - * move-if-change: Give status 1 if file is unchanged. +Fri Jun 9 18:06:10 1995 Doug Evans - * Makefile.in (SYSTEM_HEADER_DIR): New variable. - (xlimits.h): New target, broken out from install-limits-h. - Look in SYSTEM_HEADER_DIR for system's limits.h. - (start.encap): Dep on xlimits.h. - (install-limits-h): Install xlimits.h already made. - * cross-make (SYSTEM_HEADER_DIR): Overridden. + * cse.c (cse_basic_block): Fix test for whether block ends with a + barrier. Return next insn, not 0, if block ends in a barrier. - * x-i386sco (X_CFLAGS): Deleted. - * x-i386sco4: New file, like old x-i386sco. - * configure (i386-*-sco3.2v4*): Use x-i386sco4. +Fri Jun 9 17:58:29 1995 Paul Eggert - * t-sol2 (gmon.o): Find gmon-sol2.c in config. + * fold-const.c (lshift_double): Replace `&' with `%' to fix typo. + ([lr]shift_double): Truncate shift count only if SHIFT_COUNT_TRUNCATED. + Remove unnecessary `count >= prec' test. - * c-typeck.c (process_init_constructor): Fix bugs in previous change. + * cexp.y (left_shift): Ignore integer overflow. -Tue Sep 1 23:51:19 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * cexp.y (skip_evaluation): New variable. + (&&, ||, ?:): Increment it in unevaluated subexpressions. + (/, %, integer_overflow): Suppress diagnostics if skip_evaluation != 0. + (yyerror): Clear skip_evaluation. - * gcc.c (default_compilers, ".C" and ".ii"): Pass `+e*' into cc1plus. - (process_command): Allow +e[012] to be passed down into cc1plus. - * cp-decl.c (lang_decode_option): The options `+e0' thru `+e2' will - be coming in prefixed as `-+e'. +Fri Jun 9 17:49:05 1995 Torbjorn Granlund -Tue Sep 1 20:09:29 1992 Paul Eggert (eggert@twinsun.com) + * m68k.md (tstdi): Rewrite. - * print-tree.c (print_node): Avoid 1 << (HOST_BITS_PER_INT - 1), - which overflows. Use unsigned % to compute HASH. +Fri Jun 9 17:28:55 1995 Per Bothner -Tue Sep 1 17:23:28 1992 Tim Moore (moore@hal) + * scan-decls.c (scan_decls): Handle declarations with + multiple comma-separated declarators. - * pa.h (CPP_SPEC, TARGET_SWITCHES): new flags: -mnosnake, - -mpa-risc-1-0, -mpa-risc-1-1. - (ASM_DECLARE_FUNCTION_NAME): Emit argument descriptors for all - general registers if current_function_varargs. +Thu Jun 8 19:16:12 1995 Richard Earnshaw (rearnsha@armltd.co.uk) -Tue Sep 1 11:27:08 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * arm.md (mov[sd]f expands): Don't allow fp constants in pseudos + when TARGET_SOFT_FLOAT. - * sparc.c (handle_pragma_token): Only use if HANDLE_SYSV_PRAGMA - isn't defined. (We'll be getting the fn from c-pragma.c, then.) +Thu Jun 8 19:11:43 1995 Jim Wilson -Sat Aug 29 13:44:21 PDT 1992 Ron Guilmette (rfg at netcom.com) + * expmed.c (store_split_bit_field): When adjust arg in + BYTES_BIT_ENDIAN case, use number of bits in arg for MEM operands + and BITS_PER_WORD for other operands. + (extract_fixed_bit_field): Undo last change. - * tree.h (current_block): Decl deleted. - (set_block): Declared. - * stmt.c (expand_fixup): Create a BLOCK node (via pushlevel/poplevel) - to represent an artificial scope containing all of the fixup code. - Also emit NOTE_INSN_BLOCK_BEG/NOTE_INSN_BLOCK_END for that block. - (fixup_gotos): Declaration of NEWBLOCK deleted. - Call `set_block' to use the BLOCK made in expand_fixup. - Deleted code to insert NEWBLOCK into block hierarchy. - * c-decl.c, cp-decl.c (current_block): Function deleted. - (set_block): New function. - (poplevel): If using a previously created block, - don't insert it into the parent level. - * emit-rtl.c (emit_insns_after): Update last_insn if nec. + * unroll.c (verify_addresses): New function. + (find_splittable_givs): Use it instead of memory_address_p. -Tue Sep 1 10:53:58 1992 Torbjorn Granlund (tege@jupiter.sics.se) +Thu Jun 8 18:58:18 1995 Torbjorn Granlund - * pa.c (output_move_double): Use `ldo' for immediate adds (instead - of `addi' with bad syntax). - (output_load_address): Likewise. + * expmed.c (expand_divmod): Always check result of emit_store_flag. -Tue Sep 1 02:41:13 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Jun 8 12:02:34 1995 David D Zuhn (zoo@armadillo.com) - * tree.h (struct tree_type): Make `align' field an int. + * cpplib.c (cpp_push_buffer): Include filename in error message. - * c-tree.h (IDENTIFIER_LIMBO_VALUE): New macro. - (struct lang_identifier): New field limbo_value. +Thu Jun 8 11:53:45 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Mon Aug 31 12:59:22 PDT 1992 Ron Guilmette (rfg at netcom.com) + * function.c (assign_parms): Don't call promote_mode on arg + unless PROMOTE_FUNCTION_ARGS defined. - * tree.c (make_node): Fix typo in July 6 change: - assignment of DECL_IN_SYSTEM_HEADER was inserted in bad place. + * rs6000.md (decrement_and_branch): Ensure label is operand 0. -Mon Aug 31 21:28:08 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * rs6000.md (aux_truncdfsf2): New pattern. + (movsf): Use it instead of invalid SUBREG and truncdfsf2. - * sched.c (sched_analyze_2): Remove an explicit dependence between - an insn that uses CC0 and the immediately previous insn - (SCHED_GROUP_P represents the dependence). - (schedule_block): Only check sets_cc0_p on an insn. + * varasm.c (assemble_name): Disable warn_id_clash around + get_identifier call. -Mon Aug 31 15:32:13 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Jun 7 17:22:25 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * gcc.c (struct compiler): spec field is now array of 4 elements. - (read_specs): Clear the entire new element of compilers. - (lookup_compiler): Copy all of spec array. Check element 0 for @. - (main): Concatenate all elements of compiler spec. - (validate_all_switches): Validate from all elements of compiler spec. - (default_compilers): Split CPP commands into separate strings. + * configure (gdb_needs_out_file_path): New variable. + (m68k-motorola-sysv): Set gdb_needs_out_file_path if not using gas. + (.gdbinit): If gdb_needs_out_file_path is set, add a 'dir' command + for $(out_file). -Mon Aug 31 10:06:16 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) +Wed Jun 7 17:17:19 1995 Torbjorn Granlund - * caller-save.c (restore_referenced_regs): When restoring a - referenced hard register, use CEIL instead of a truncating divide - to determine the maximum number of registers to restore. - (insert_save_restore): Document maxrestore parameter. - (CEIL): Define. + * fold-const.c (fold): When folding `<' type nodes, make true_value + and false_value have correct types. -Mon Aug 31 04:02:21 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Jun 7 05:06:42 1995 Jason Merrill - * fold-const.c (const_binop): Delete special case for mult by 3. + * collect2.c (COFF scan_prog_file): Use the AIX duplicate entry. - * toplev.c (lang_options): Add terminating zero. +Tue Jun 6 18:43:09 1995 Jeffrey A Law (law@snake.cs.utah.edu) - * configure.bat: Remove version number from initial message. + * pa.h (FUNCTION_ARG_CALLEE_COPIES): Define. -Sun Aug 30 17:22:11 1992 James Van Artsdalen (james at bigtex.cactus.org) +Tue Jun 6 18:21:18 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cccp.c (do_pragma): In prev. change, really use U_CHAR *, not char *. + * expr.c (expand_expr, case PLACEHOLDER_EXPR): Consider two types + identical if their TYPE_MAIN_VARIANTs are the same. - * aix386.h, i386gas.h, i386sun.h, i386v.h, i386v4.h, i386vgas.h, - seq386.h (TARGET_DEFAULT,VALUE_REGNO,FUNCTION_VALUE_REGNO): - Move from here, - * unx386.h (TARGET_DEFAULT,VALUE_REGNO,FUNCTION_VALUE_REGNO): - To here. - (TARGET_DEFAULT): Make TARGET_IEEE_FP default on. - (VALUE_REGNO): Test for MODE_FLOAT instead of specific modes. - (VALUE_REGNO,FUNCTION_VALUE_REGNO): MODE_FLOAT return reg depends on - TARGET_FLOAT_RETURNS_IN_80387. + * c-decl.c (start_decl): Set DECL_COMMON before calling + decl_attributes. - * i386.h (TARGET_FLOAT_RETURNS_IN_80387): New macro. - (TARGET_SWITCHES): Add "no-80387", "no-soft-float", - "fp-ret-in-387", and "no-fp-ret-in-387". - Change no* switches to no-*. - (CONDITIONAL_REGISTER_USAGE): Make 387 regs fixed if the 387 is not - used at all. - (REG_CLASS_FROM_LETTER): Constraint letters 'f', 't' and 'u' are - NO_REGS if the 387 is not used. - (TRAMPOLINE_TEMPLATE): Use GEN_INT to generate const_int rtx. + * a29k.c (print_operands): Cast args to bcopy to char *. - * x-i386v4: New file. - (CLIB): Get alloca from libucb.a. - * configure (i386-*-sysv4*): Use x-i386v4. + * c-decl.c (duplicate_decls): Don't clear DECL_CONTEXT of + new decl if it is a function. -Sun Aug 30 15:32:54 1992 Dennis Glatting (dglattin at trirex.com) +Tue Jun 6 17:57:44 1995 Eberhard Mattes (mattes@azu.informatik.uni-stuttgart.de) - * objc-actions.c (create_builtin_decl): Set TREE_STATIC. - Don't set DECL_EXTERNAL or TREE_PUBLIC. + * gcc.c (do_spec_1, case 'g'): Handle %O as suffix if MKTEMP_EACH_FILE. -Sun Aug 30 03:08:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Jun 6 17:53:05 1995 Michael Meissner - * c-parse.y (initlist): Handle ranges of array elements. - * c-typeck.c (process_init_constructor): Handle ranges. + * rs6000.c (expand_block_move): Update source and destination pointers + inside the loop moving the bytes, not outside. - * fixincludes: When link points to a dir $dirname outside $INPUT, - copy that dir into $LIB/root$dirname. Translate the link itself - into a link to that new dir. Make a file DONE in each treetop dir - so no treetop is scanned twice. Improve progress messages. +Tue Jun 6 14:58:37 1995 Andreas Schwab -Sat Aug 29 22:41:49 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * m68k.h (CONDITIONAL_REGISTER_USAGE): Don't mark pic reg as fixed. + * m68k.c (finalize_pic): Emit USE insn at start and end of function. - * alpha.h (ASM_FILE_START): Object file version number now 8.0. +Tue Jun 6 13:46:57 1995 Jim Wilson - * alpha.h (ADJUST_COST): New macro. - * alpha.c (alpha_adjust_cost): New function. - * alpha.md: Adjust function unit delays and more precisely - describe function units. + * sh.c (print_operand): Check for annulled branches. + (output_movedouble): Handle SUBREG addresses. + (output_branch): Handle annulled branches. + (sh_expand_prologue): Correct number of saved registers for + varargs functions. + * sh.h: Add some comments. + * sh.md: Add some comments. Cleanup formatting. + (type attribute): Add pstore and call. + (return define_delay): Reorganize to make clearer. + (call/sfunc define_delay): Define. + (cbranch define_delay): Define to have annul-true delay slot. + (subsi3): Use arith_reg_operand for operand 2. + (shift patterns): Use const_int_operand instead of immediate_operand + for shift counts. + (push): Add pstore constraint case. + (movsi_i): Move t/z constraint pair to the front of the list. + (calli, call_valuei): Add "call" attribute. - * alpha.h (CONST_OK_FOR_LETTER_P): Add new letters `O' and `P'. - * alpha.c (print_operand, case 'P'): New case. - * alpha.md (ashldi3): Special-case shifts by 1, 2, and 3 bits to - use arithmetic instructions. - Add pattern for sign-extending shifts by 1, 2, and 3 bits. - - * alpha.h (INITIALIZE_TRAMPOLINE): Use Pmode when appropriate. - (FUNCTION_MODE): Use Pmode. - - * alpha.md (div/mod): Indicate that reg 27 is clobbered too. - - * alpha.md (cmov): Add define_split for if_then_else/plus case. - - * expr.c (emit_library_call): Pass correct number of args to - convert_to_mode. - - * expr.c (emit_block_move): Eliminate unnecessary test against - HOST_BITS_PER_WIDE_INT. +Mon Jun 5 19:23:13 1995 Jim Wilson - * optabs.c (expand_{binop,unop}): Don't make invalid - paradoxical SUBREGs. + * sched.c (attach_deaths): In last change, use find_reg_note instead + of find_regno_note. - * genattrtab.c (RTL_HASH, attr_rtx): Avoid warnings by casting - pointers to HOST_WIDE_INT instead of int. +Mon Jun 5 19:17:31 1995 Tom Quiggle (quiggle@lovelace.engr.sgi.com) + * mips/iris5.h (MACHINE_TYPE): Say "IRIX 5.x", not "5.0". + (NO_DOLLAR_IN_LABEL): Undefine. + * mips.h (sdb_begin_function_line): New declaration. + (PUT_SDB_FUNCTION_END): New definition. -Sat Aug 29 15:35:58 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Jun 5 18:56:10 1995 Michael Meissner - * toplev.c (lang_options): New table. - (main): Recognize all language-dependent options of any language - and always treat them as language-specific and valid. + * rs6000.c (expand_block_move): Don't do block moves where we clobber + fixed numbers of regs, instead move just 1-8 bytes at a time. - * c-decl.c (c_decode_option): -fnotraditional really undoes - -ftraditional. Handle -fno-traditional also. + * Makefile.in (STAGESTUFF): Copy files produced by -da and + -save-temps to the stage subdirectories. -Sat Aug 29 00:34:01 1992 James Van Artsdalen (james at bigtex.cactus.org) +Mon Jun 5 08:18:46 1995 Torbjorn Granlund - * reg-stack.c (record_reg_life): Mark an unused reg as such, even - if it appears in SET_SRC. + * combine.c (reg_dead_at_p): When scanning backwards, stop at BARRIER. -Fri Aug 28 17:40:49 1992 John F Carr (jfc at Athena.MIT.EDU) + * m68k.c (print_operand): Handle 'R' for registers. + * m68k.md (cmpdi): Rewrite to avoid bogus matching constraints. - * tree.c (chainon): Check for op2 being the last elt of the chain. + * optabs.c (expand_binop): In last change, don't defererence TARGET + if it is 0. -Fri Aug 28 13:26:56 PDT 1992 Ron Guilmette (rfg at ncd.com) + * pa.md (movsicc): Use MATCH_DUP for operand 4 and 5. - * cccp.c (do_pragma): Use rindex, not strrchr. +Mon Jun 5 08:14:56 1995 Jeffrey A Law (law@cs.utah.edu) - * tree.h (BLOCK_END_NOTE): Macro definition added. - (struct tree_block): `end_note' field added. - * stmt.c (last_block_end_note): New variable. - (remember_end_note): New function. - (expand_end_bindings): Save NOTE_INSN_BLOCK_END in last_block_end_note. - * c-decl.c, cp-decl.c (poplevel): Call `remember_end_note' for each - newly created BLOCK node. - * integrate.c (adjust_copied_decl_tree): New function. - (save_for_inline_copying): When making copies of NOTE_INSN_BLOCK_END - notes, stash a "forwarding" pointer in the original to point to the - copy. Also, when all BLOCKs & insns for a function have been copied, - call `adjust_copied_decl_tree' to fixup the end_note pointers in the - copied BLOCKs. + * pa.c (hppa_encode_label): Allocate stuff on permanent_obstack + rather than via malloc. -Fri Aug 28 13:25:59 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-common.c (decl_attributes): Fix typo in size passed to alloca. - * cccp.c (do_pragma): In prev. change, use U_CHAR *, not char *. +Mon Jun 5 08:10:55 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Fri Aug 28 09:11:56 1992 Tom Wood (wood@dg-rtp.dg.com) + * alpha.md: Use "some_operand" for patterns valid only during + reload and meant to handle adding more PLUS operators during + register elimination. - * m88k.h (ADJUST_COST): Add definition. +Mon Jun 5 07:31:53 1995 Stephen L Moshier (moshier@world.std.com) -Thu Aug 27 18:27:02 1992 James Van Artsdalen (james at bigtex.cactus.org) + * cse.c (simplify_unary_operation, case FLOAT, UNSIGNED_FLOAT): + Truncate to requested mode. - * c-decl.c (init_decl_processing): Add sin and cos as built-in - functions. - * expr.c (expand_builtin): Likewise. +Sat Jun 3 22:08:51 1995 Jim Wilson - * expr.h (sin_optab,cos_optab): Declare optabs for sin and cos. - * optabs.c (sin_optab,cos_optab): Define them. - (init_optabs): Initialize them. + * sched.c (attach_deaths): Don't add a REG_DEAD note if a REG_UNUSED + note is already present. - * tree.h (BUILT_IN_SIN,BUILT_IN_COS): New builtin codes. +Sat Jun 3 18:36:57 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * reg-stack.c (record_note_if_dead): Delete function. - (record_reg_life_pat): Rewrite to handle any sort of pattern. - (record_reg_life): Change interface to record_reg_life_pat. + * pa.h (hppa_builtin_saveregs): Add declaration. - (stack_reg_life_analysis): Don't assume that MODE_FLOAT values are - always returned in a float reg. +Sat Jun 3 18:11:26 1995 Jason Merrill - (subst_stack_regs_pat): Add support for sin and cos insns. + * Makefile.in (scan-decls.o): Depends on cpplib.h. - * i386.c (all gen_rtx (CONST_INT) references): Use GEN_INT to - generate const_int rtx. - (legitimize_pic_address): Pass NULL_RTX instead of "0" as pointer. +Fri Jun 2 19:23:47 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * i386.md (all patterns): Use GEN_INT instead of gen_rtx to get - const_ints. - Avoid double-negative "! NON_*" constructs for clarity. - Pass NULL_PTR as null parameter instead of 0. + * optabs.c (expand_binop): Don't use non-REG TARGET in 2-word case. - (sqrtM2): Patterns are only valid if IEEE FP or -ffast-math. - (sinM2,cosM2): New patterns. - (zero_extract test): New pattern. - (movstrsi): Rewrite expander to handle operands correctly. +Thu Jun 1 19:30:30 1995 Tor Egge (tegge@flipper.pvv.unit.no) -Thu Aug 27 16:58:09 1992 Michael Meissner (meissner@osf.org) + * m88k.h (RETURN_POPS_ARGS): New argument. + * m88k/dolphin.ld: Added start of comment. - * genattrtab.c (MAX_DIGITS): New macro to gauge how much space we - need to reserve when printing integers. - (expand_delays): Use sizeof and MAX_DIGITS to properly size the - strings when calling attr_printf. - (expand_units): Ditto. - (encode_units_mask): Ditto. - (make_numeric_value): Ditto. - (oballoc): New macro, to allocate from the hash_obstack. - (convert_const_symbol_ref): Call oballoc instead of xmalloc. - (get_attr_value): Ditto. - (fill_attr): Ditto. - (make_length_attrs): Ditto. - (gen_attr): Ditto. - (gen_insn): Ditto. - (gen_delay): Ditto. - (gen_unit): Ditto. - (find_attr): Ditto. - (main): Ditto. +Thu Jun 1 19:12:28 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Aug 27 14:47:16 1992 Mike Stump (mrs@mole.gnu.ai.mit.edu) + * configure (a29k-*-bsd*): Fix typo in last change. - * cp-decl.c (curent_block, struct binding_level, poplevel): Copy - Tue Aug 25 16:29:47 and Wed Aug 26 01:56:30 changes in c-decl.c by - rms. +Thu Jun 1 18:51:53 1995 Jim Wilson -Thu Aug 27 01:32:11 1992 Paul Eggert (eggert@twinsun.com) + * expmed.c (extract_fixed_bit_field): For REG case, compute total_bits + from mode instead of assuming BITS_PER_WORD. - * c-lex.c, cp-lex.c (readescape): DEL isn't printable. - * c-typeck.c (check_format): Likewise. +Thu Jun 1 18:34:31 1995 Michael Meissner -Wed Aug 26 20:42:36 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rs6000.h (FIXED_R13): Default to 0. + ({FIXED,CALL_USED}_REGISTERS): Use FIXED_R13 for register 13. + * sysv4.h (FIXED_R13): Define to be 1. - * c-lex.c (readescape): For \x, don't include leading 0's in count. +Wed May 31 20:57:26 1995 Torbjorn Granlund - * c-decl.c (init_decl_processing): Fix type of __builtin_constant_p. + * m68k.md ([su]mulsi3_highpart): Pass correct number of arguments to + const_uint32_operand. + * m68k.c (const_uint32_operand): Reject negative numbers. - * expr.c (emit_block_move): When trying movstrMM, cvt size to mode MM. + * expmed.c (expand_mult_highpart): Use wide_op1 for all multiplies. + (expand_divmod): Undo Nov 12 change. Instead, add special case + for division by MIN_INT in signed TRUNC_DIV_EXPR case. - * c-parse.y (stmt): For computed goto, convert arg to void *. +Wed May 31 20:44:21 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * fold-const.c (fold): Do A op C1 ? A : C2 opt only for INTEGER_TYPEs. + * m68k.md (one_cmpldi2): New pattern. + ({a,l}shrdi{3,_const}): Allow 63 as shift count. -Wed Aug 26 20:19:56 1992 Mike Stump (mrs@wombat.gnu.ai.mit.edu) +Wed May 31 14:56:31 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-decl.c (insert_block, delete_block): New functions. - * cp-parse.y (primary, using compstmt): Call delete_block instead - of clearing TREE_USED. + * varasm.c (assemble_start_function, assemble_variable): + Make sure first_global_object_name is in permanent obstack. - 11th Cygnus<-->FSF merge. + * reload1.c (alter_reg): Clean up setting of RTX_UNCHANGING_P + when making a MEM. - Wed Aug 26 12:02:41 1992 Mike Stump (mrs@rtl.cygnus.com) + * reorg.c (struct resources): New field unch_memory. + (CLEAR_RESOURCES, mark_target_live_regs, dbr_schedule): Clear it. + (mark_{referenced,set}_resources, redundant_insn): Set it. + (fill_simple_delay_slots): Likewise. + (resource_conflicts_p): Test it. - * cp-decl.c (finish_function): Don't core dump when a conversion is - ambiguous. + * unroll.c (copy_loop_body): Fix typo in call to sets_cc0_p. - Tue Aug 25 16:32:42 1992 Mike Stump (mrs@rtl.cygnus.com) + * integrate.c (output_inline_function): Don't call expand_function_end. - * cp-init.c (build_new), cp-typeck.c (build_c_cast): Handle ``new - type ( ... )'' better. Default constructors and better error - checking. + * calls.c (prepare_call_address): Only call use_reg on + static_chain_rtx if it is a REG. - Tue Aug 25 01:21:48 1992 Mike Stump (mrs@cygnus.com) + * configure (a29k-*-bsd*): Use t-a29k. + * t-a29k: New file. + * a29k/t-a29kbare (LIBGCC1_TEST): New null definition. + * a29k/t-vx29k (LIBGCC1_TEST): Likewise. - * cp-decl2.c (finish_file): Mark " @%$#@!" as being internal. +Wed May 31 14:17:42 1995 Jeffrey A Law (law@snake.cs.utah.edu) - Mon Aug 24 16:40:15 1992 Brendan Kehoe (brendan@cygnus.com) + * configure (hppa*-*-bsd*): Do not run fixincludes. + (hppa*-*-osf*): Likewise. + (hppa*-*-lites*): Likewise. - * cp-lex.c (check_newline): For `#pragma implementation', use - strcmp to check if it was done at the top level, rather than relying - on the pointers being the same. + * pa.h (PRINT_OPERAND_ADDRESS): Use "RR'" rather than "R'" for + symbolic addresses. + * pa.md (symbolic HIGH patterns): Likewise. + (symbolic LO_SUM pattern): Likewise. - Mon Aug 24 20:48:16 1992 Mike Stump (mrs@cygnus.com) +Wed May 31 14:11:53 1995 Michael Meissner - Fri Aug 21 14:19:27 1992 Ron Guilmette (rfg at ncd.com) + * rs6000.md (all movstri recognizers): Eliminate updating the pointers. + * rs6000.c (expand_block_move): Don't pass argument of # bytes to + increment pointers by to movstrsi expanders. - * cp-decl2.c (grokclassfn): Mark the artificial `this' parameter as - "artificial". + * rs6000.c (rs6000_override_options): Fix typo with -mstring handling. - Thu Aug 20 22:59:16 1992 Mike Stump (mrs@cygnus.com) + * rs6000.h (TARGET_SWITCHES): Set MASK_STRING_SET explicitly + if -mno-string, so that it can override the processor default. - * cp-spew.c (arbitrate_lookup): Make sure the type name in an - argument list followed by &, or &) is seen as a type name, even when - there is an enumeration constant with the exact same name. +Wed May 31 07:31:53 1995 Jason Merrill - Thu Aug 20 21:58:30 1992 Mike Stump (mrs@cygnus.com) + * c-common.c (truthvalue_conversion, BIT_AND_EXPR): Make sure that + the result has boolean_type_node. - * cp-search.c (get_first_matching_virtual): Don't core dump when a - declaration of a static member is seen with the same name as a base - class virtual function. +Tue May 30 19:03:21 1995 J.T. Conklin - Thu Aug 20 21:20:31 1992 Mike Stump (mrs@cygnus.com) + * stddef.h: Undefine _BSD_XXX_T_ if _GCC_XXX_T is defined on BSD + Net/2 derived systems. - * cp-decl.c (finish_function): Don't core dump on parse errors. +Tue May 30 08:17:37 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - Thu Aug 20 20:52:43 1992 Mike Stump (mrs@cygnus.com) + * m68k.md (decrement_and_branch_until_zero): Operand 0 constraint + changed from "+g" to "+d*am". + (similar anonymous HImode pattern): Likewise. - * cp-method.c (build_component_type_expr): Don't core dump on parse - errors. + * m68k.md (tstdi): Use tst/subx #0 instead of neg/negx. + Allow "a" and ">" for operand 0. - Thu Aug 20 18:31:58 1992 Mike Stump (mrs@cygnus.com) +Mon May 29 19:24:43 1995 Niklas Hallqvist (niklas@appli.se) - Mon Aug 17 17:08:11 1992 Chip Salzenberg (chip@tct.com) + * m68k.md (addsi_lshrsi_31): Use match_dup, not constraint "1", + for matching inputs. - Copy some changes from the C front-end: +Mon May 29 12:39:58 1995 Allen Briggs - * cp-type2.c (process_init_constructor): Warn about partly bracketed - initializers. - * cp-typeck.c (build_component_ref): Don't warn for compound and - conditional expressions when pedantic. These are valid in ANSI C. - - Thu Aug 20 16:11:58 1992 Mike Stump (mrs@cygnus.com) - - * cp-decl.c (start_decl), cp-parse.y (have_extern_spec): extern "C" - int i; is only a declaration, but a definition, make it so. - - Thu Aug 20 14:46:39 1992 Mike Stump (mrs@cygnus.com) - - Thu Aug 20 02:36:39 1992 Ron Guilmette (rfg at ncd.com) - - * cp-lex.c (cons_up_default_function): Use DECL_SOURCE_LINE = 0 for - compiler generated things, not DECL_IGNORED_P. - - Thu Aug 20 13:13:45 1992 Mike Stump (mrs@cygnus.com) - - Wed Aug 19 13:09:45 1992 Ron Guilmette (rfg at ncd.com) - - * cp-decl.c (grokdeclarator): Propagate some changes from the C - front-end to deal with variable sized arrays. - - Wed Aug 19 16:55:43 1992 Mike Stump (mrs@cygnus.com) - - * cp-cvt.c (convert_to_reference): Improve wording on error message. - * cp-method.c (type_as_string), cp-pt.c - (mangle_class_name_for_template), cp-xref.c (GNU_xref_decl): Delete - first argument to type_as_string as it is not needed anymore. - - Wed Aug 19 15:29:02 1992 Mike Stump (mrs@cygnus.com) - - Wed Aug 19 13:09:45 1992 Ron Guilmette (rfg at ncd.com) - - * cp-decl.c (kept_level_p): Update from C frontend. - - Wed Aug 19 14:47:08 1992 Mike Stump (mrs@cygnus.com) - - * cp-decl2.c (groktypefield): Old style conversion operators - are being desupported. Conversion operators much have an - `operator' in front of them. + * i386/isc.h ({STARTFILE,LIB,CPP}_SPEC): Handle -Xp like -posix. + * i386/x-isc3 (X_CFLAGS): Add -Xp. + +Mon May 29 12:28:41 1995 J.T. Conklin (jtc@cygnus.com) - Wed Aug 19 01:57:04 1992 Mike Stump (mrs@cygnus.com) + * configure (sparc-*-netbsd): Add missing asterisk at end. - * cp-call.c (ideal_candidate): Fix bug introduced on Jan 21 - 7:24:21. Warn about ambiguous function calls with multiple - same cost conversions. +Mon May 29 08:55:48 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Wed Aug 19 00:08:18 1992 Mike Stump (mrs@cygnus.com) + * combine.c (recog_for_combine): New parm PADDED_SCRATCHES; set it. + (try_combine): Accumulate number of scratches and update max_scratch. + (simplify_set): Add extra parm to recog_for_combine. - * cp-decl.c (grok_enum_decls): Remove invalid error message. + * romp.md (call): Put USE for r0 in CALL_INSN; call call_internal + to emit insn. + (call_internal): New name for anonymous call. + (call_value, call_value_internal): Likewise. - Mon Aug 17 18:59:18 1992 Mike Stump (mrs@cygnus.com) + * winnt/xm-winnt.h: Protect most definitions with #ifndef. + * alpha/xm-winnt.h: Include alpha/xm-alpha.h, then winnt/xm-winnt.h. + (POSIX): Undefine. + * xm-alpha.h: Don't include alloca.h for winnt. - * cp-cvt.c (convert_to_reference, convert, - build_type_conversion_1, build_type_conversion), cp-init.c - (build_dynamic_new), cp-typeck.c (build_modify_expr_1, - convert_for_initialization): Always use constructor_name, and - never TYPE_IDENTIFIER (type) and similar things. - * cp-init.c (expand_aggr_init_1): Try TYPE_HAS_CONSTRUCTOR - before wasting time trying build_method_call. - * cp-xref.c: Don't include memory.h. +Sun May 28 18:34:01 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Mon Aug 17 15:10:21 1992 Mike Stump (mrs@cygnus.com) + * configure: Make sed commands more uniform. - * cp-init.c (expand_aggr_init_1): Check for ambiguous - conversion. One through constructor and the other through a - user defined conversion operator. + * Makefile.in: Properly use $(srcdir) for files that have it + in their reference as a target of a rule. + (libgcc1.a): Add missing RANLIB_TEST use. - Mon Aug 17 11:51:27 1992 Mike Stump (mrs@cygnus.com) + * stmt.c (expand_computed_goto): Call do_pending_stack_adjust. - * cp-call.c (convert_harshness): When an argument is T, a T& - should be choosen over a const T& when selecting overloaded - functions. +Sun May 28 18:08:41 1995 Torbjorn Granlund - Mon Aug 17 01:37:06 1992 Mike Stump (mrs@cygnus.com) + * m68k.md (divmodhi4, udivmodhi4): Use "dmsK" for operand 2. - * cp-call.c (build_method_call): The second argument to - operator delete is sometimes magically deleted. - * cp-decl.c (init_decl_processing, grokfndecl): Global - operator delete never has two arguments. +Fri May 26 17:01:22 1995 Paul Eggert - Wed Aug 5 18:54:19 1992 Mike Stump (mrs@cygnus.com) + * fixincludes: Fix bogus recursive in NEWS-OS 4.0C. - * cp-class.c (finish_struct), cp-tree.c (layout_basetypes): - Make sure VFIELD_BASEs are aligned. This fixes a really - annoying problem that causes code that uses complex - inheritance hierarchies that have virtual bases to get a - segmentation fault. +Fri May 26 08:02:14 1995 Michael Meissner (meissner@cygnus.com) - Wed Aug 5 12:35:07 1992 Mike Stump (mrs@cygnus.com) + * c-typeck.c (initializer_constant_valid_p): For the CONSTRUCTOR + case, if the type is a record, recurse, just like for unions. - Wed Aug 5 08:10:34 1992 Tom Wood (wood@dg-rtp.dg.com) +Thu May 25 07:56:14 1995 Paul Eggert - * cp-tree.c (__eprintf): `line' is unsigned. - * cp-lex.c: Include stdlib.h and locale.h if needed. - * cp-typeck.c (mark_addressable): Use DECL_EXTERNAL not - TREE_EXTERNAL. + * fixincludes: Add `sel', `tahoe', `r3000', `r4000' to the + list of pre-ANSI symbols that need to be surrounded with __ __. + Allow white space between `#' and `if' when looking for lines to patch. - Wed Aug 5 03:20:07 1992 Mike Stump (mrs@cygnus.com) + * objc/sarray.h (PRECOMPUTE_SELECTORS, struct soffset): + Use #ifdef __sparc__, not sparc. - * cp-class.c (finish_struct_methods): Check to make sure - operator delete is not overloaded. - * cp-decl.c (grokfndecl): Check to make sure operator delete - is declared properly. + * m68k.md (addsi_lshrsi_31, ashldi_const, ashrdi_const, lshrdi_const): + Replace `mov' with `move'. - Tue Aug 4 16:52:28 1992 Mike Stump (mrs@cygnus.com) +Thu May 25 07:35:37 1995 Allen Briggs - Mon Aug 3 22:55:04 1992 Michael Meissner (meissner@osf.org) + * libgcc2.c (L_eh, i386): Remove in-line comments in assembly + code--the '#' character is not valid for the SYSV as. + +Thu May 25 07:28:54 1995 Pat Rankin (rankin@eql.caltech.edu) - * cp-decl.c (grokdeclarator): Make sure const and volatile get - put on the type built when building reference types. - * cp-parse.y (attrib): tree_cons takes three arguments, not - two. - * cp-tree.h: Add hash_chainon, build_virtual_init, - build_vbase_delete, build_vbase_vtables_init. - * cp-typeck.c (build_modify_expr_1. build_modify_expr): - build_unary_op takes three arguments, not two. - - Tue Aug 4 16:07:57 1992 Mike Stump (mrs@cygnus.com) + * Makefile.in (BC_ALL): Restore it from May 22 change; vms uses it. + (STAGESTUFF): Use it. - Sat Aug 1 16:52:20 1992 John Carr (jfc@Athena.MIT.EDU) +Thu May 25 07:11:56 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-decl.c (): Make sure the base type of an ARRAY_TYPE is - layedout before using it. + * alpha.c (alpha_emit_set_const): Don't call expand_binop for + other than add if SImode and can't create pseudos. -Wed Aug 26 17:04:45 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed May 24 21:38:24 1995 Jim Wilson - * tree.h (current_block): Declared. - -Wed Aug 26 15:42:11 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) - - Major rework to have caller-saves emit load/store double insns when - possible and to avoid useless resaving of registers restored for - source accesses only. - * caller-save.c (toplevel): All arrays are multi-dimensional to - hold information for multiple save/restore insns. New variable - hard_regs_need_restore. - (choose_hard_reg_mode): New argument `nregs' indicating how many - hard registers are desired. All callers changed. - (init_caller_save): Change initialization to handle multiple - register saves. A call-used register can not be live across - if we can not find a single register mode to save it in. - (multiple register saves are optional) - (init_save_areas): Change initialization of regno_save_mem to - handle multiple register saves. - (setup_save_areas): Allocate space for consecutive hard registers - in aligned consecutive memory locations. When allocating space - for consecutive hard registers, also initialize regno_save_mem - for each hard register stored as a single word. - (save_call_clobbered_regs): Initialize hard_regs_need_restore. - Set hard_regs_need_restore to hard_regs_saved after crossing - a call. Also recompute n_regs_saved. At the end of a basic block - we need only restore registers in hard_regs_need_restore. - (set_reg_live, clear_reg_live): Do the right thing for - hard_regs_need_restore and hard_regs_saved. - (restore_referenced_regs): Just return if X is a clobber. - Test hard_regs_need_restore to determine when to restore a hard - register from the save area. - (insert_save_restore): Now returns the number of extra registers - saved/restored. New argument `maxrestore' which constrains how - many hard registers should be restored. All callers changed. - Do stores of consecutive registers with double store insns if - possible. Else do them with single word insns. Likewise for - loads, except constrained by maxrestore. Set hard_regs_saved - and hard_regs_need_restore appropriately to minimize useless - saves into the save area. Test against hard_regs_need_restore - when trying to restore multiple regs and similarly test against - hard_regs_saved when storing multiple regs. - - -Wed Aug 26 14:24:28 1992 Michael Meissner (meissner@osf.org) - - * mips.h (LINK_SPEC): Pass -shared, -non_shared on to linker. - * mips-bsd.h (LINK_SPEC): Ditto. - * mips-n5.h (LINK_SPEC): Ditto. - * mips-svr4.h (LINK_SPEC): Ditto. - * mips-sysv.h (LINK_SPEC): Ditto. - * iris.h (LINK_SPEC): Ditto. - * dec-osf1.h (LINK_SPEC): Ditto. - - * dec-osf1.h (DECSTATION): Don't define, since decstatn.h which is - included defines it. - (OBJECT_FILE_COFF): Undefine, since the DEC OSF/1 ldfcn doesn't - look like the coff version. - - * decstatn.h (LINK_SPEC): Don't define if already defined. - -Wed Aug 26 13:56:08 1992 Tom Wood (wood@dg-rtp.dg.com) - - * reorg.c: Enhance to fill the last delay slot of a call with an - unconditional jump. - (fill_simple_delay_slots): Look for the case of a call/branch - first. If this applies, record the jump as `last_delay_insn'. - Later, don't look for additional delay insns if the last one has - alreay been filled. - (mark_target_live_regs): A sequence may end in an unconditional - branch. - - * m88k.md (define_function_unit): Correct and simplify memory unit - specification. - -Wed Aug 26 01:56:30 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c-decl.c (poplevel): Store into BLOCK iff it is non-null. - -Tue Aug 25 23:24:45 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - - * sched.c: Add #ifdef INSN_SCHEDULING around variables only used - by schedule_insns. - (INSN_QUEUE_SIZE): Delete default definition. - - * optabs.c, expr.c: Partially undo Mar 7 change. Only call - emit_library_call with no_queue == 1 for const functions. - - * sparc.c (SF_MODES): Allow SImode in fp registers. - (output_floatsisf2, output_floatsidf2, output_floatsitf2): Delete. - * sparc.h: Delete declarations of the above 3 functions. - * sparc.md (float*, fix*): Rewrite to match hardware; take/put - integer input/output from/to fp register instead of memory or - general register. Delete 6 now obsolete combiner patterns. - -Tue Aug 25 16:40:15 1992 Brendan Kehoe (brendan@cygnus.com) - - * cccp.c (do_pragma): Warn if `#pragma implementation "foo.h"' is - invoked after "foo.h" has been included. - -Tue Aug 25 16:29:47 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * stmt.c (struct goto_fixup): New field context. - (fixup_cleanups): Function deleted. - (fixup_gotos): Put the fixup in a block, and put that block - into its proper place. Use sequences, not reorder_insns. - - * c-decl.c (current_block): New function. - (struct binding_level): New field this_block. - (poplevel): Use this_block if nonzero, rather than making new BLOCK. - - * sched.c (INSN_QUEUE_SIZE): Add default definition. - -Tue Aug 25 15:19:26 1992 Tom Wood (wood@dg-rtp.dg.com) - - * sched.c (schedule_block): Add a virtual cycle counter CLOCK. - Pass CLOCK to schedule_insn. - Compute the tail in the scheduling loop, not before it. - Enable the stall code that advances the insn queue. - Select the insn to schedule and block others with schedule_select. - (adjust_priority): Renamed from launch_link. - (schedule_insn): Renamed from launch_links. - - * genattrtab.c (struct attr_desc): Add unsigned_p field. - (struct function_unit_op): Add issue_delay, conflict_exp, and - issue_exp fields. Drop busyexp field. - (struct function_unit): Add needs_blockage_function, - needs_range_function, issue_delay, and max_blockage fields. Drop - costexp, and busy delay fields. - (enum operator): Add POS_MINUS_OP, EQ_OP, MIN_OP, RANGE_OP. - (operate_exp): Implement new ops. - (make_internal_attr): Set unsigned_p based on the value of SPECIAL. - (write_attr_get): Function is unsigned when unsigned_p is true. - (write_attr_valueq): Write hex value of large constants in a comment. - (simplify_by_exploding): Check for EXP having no EQ_ATTR expressions - and for all values as the default. - (find_and_mark_used_attributes): Add TERMS and NTERMS parameters. - (max_attr_value): Allow IF_THEN_ELSE. - (simplify_knowing, write_complex_function, extend_range): New - functions. - (gen_unit): Use local variables to name the fields. Change the - meaning of busy-delay to issue-delay. - (expand_units): Compute issue_exp. Write attributes for computing - `_unit_blockage' and `_unit_blockage_range' functions. - Compute max_blockage, and the needs_*_function values. - (write_function_unit_info): Write blockage function and conflict cost - functions using write_complex_function. Write new function_unit_desc - fields. - * genattr.c (extend_range, init_range): New functions. - (write_units): Add blockage_function, blockage_range_function, - max_blockage and max_issue_delay fields to struct function_unit_desc. - Drop max_busy_cost field. Write #defines for min/max blockage, - issue delay, multiplicity, and simultaneity and for BLOCKAGE_BITS - and INSN_QUEUE_SIZE. - (main): Compute the new values. - * sched.c (insn_queue): Use INSN_QUEUE_SIZE. - * rtl.def (define_function_unit): Update documentation. - - * sched.c (insn_units, insn_blockage, insn_tick, unit_last_insn, - unit_tick, unit_n_insns): New variables. - (schedule_insns): Allocate and initialize insn_tick, insn_units, and - insn_blockage. - (insn_unit, blockage_range, clear_units, prepare_unit, schedule_unit, - actual_hazard_this_instance, actual_hazard, potential_hazard, - schedule_select): New functions. - (schedule_block): Add dependencies to force insns to remain in order - at the end of a block rather than relying on having the scheduler - issue them in priority order. - - * sched.c (insn_cost): Add LINK and USED parameters. All callers - changed. Supply an ADJUST_COST interface. - (insn_cost): Make a dependence from a USE insn free. - (priority): Clear the link cost adjustment bits. - * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): New macros. - - * genattrtab.c (expand_units): Use the normalized values of the - unit's CONDEXP and BUSYEXP. - - * a29k.md (define_function_unit): Change meaning to ISSUE-DELAY. - * i960.md (define_function_unit): Change meaning to ISSUE-DELAY. - * m88k.md (type attribute, movdi movdf insns): Add loadd. - (unit attribute): Delete. - (function units): Correct simultaneity values. Break out - independent units. Add conflict matrix for the 88100 load double. - * mips.md (define_function_unit): Change meaning to ISSUE-DELAY. - * pa.md (define_function_unit): Change meaning to ISSUE-DELAY. - * sparc.md (define_function_unit): Change meaning to ISSUE-DELAY. - Merge FP_MUL, FP_DIV, and FP_SQRT into one function unit. - - * jump.c (delete_computation): Derived from delete_jump. - (delete_jump): Use delete_computation. - -Tue Aug 25 13:42:19 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * final.c (final_scan_insn): If 2 consec line notes have same line num, - can omit one. - -Tue Aug 25 13:38:19 1992 Michael Meissner (meissner@osf.org) - - * mips.h (MIPS_VERSION): Set Meissner version # to 24. - (ASM_FINAL_SPEC): Use %U to get the last file name created with - %u, rather than %u. - (ARG_POINTER_REGNUM): Use the hardwired register $0 as the - argument pointer, instead of the frame pointer, to allow the frame - pointer to be the same as the stack pointer after the initial - stack allocations. This is to allow GCC generated code to be - linked against MIPS shared libraries. The linker rearranges the - code, and needs to have a frame pointer, if used, to be the same - as the stack. The argument pointer is always eliminated in favor - of the stack pointer or frame pointer. - (FRAME_GROWS_DOWNWARD): Don't define this any more. - (STARTING_FRAME_OFFSET): Locals start after the stack area to pass - arguments to called functions. - (STACK_DYNAMIC_OFFSET): If function is a leaf function, but calls - __builtin_alloca, assume a default argument area, so the MIPS - linker doesn't think a second frame pointer is created. - (INITIAL_FRAME_POINTER_OFFSET): Don't define, since we use - elimination instead. - (ELIMINABLE_REGS): Define to eliminate both the stack pointer and - frame pointer, since they are now separate. - (CAN_ELIMINATE): Ditto. - (INITIAL_ELIMINATION_OFFSET): Ditto. - (ELIGIBLE_FOR_EPILOGUE_DELAY): Don't allow variables based off of - the argument pointer, in addition to frame and stack pointers. - (MUST_SAVE_REGISTER): Add in GP_REG_FIRST to 31, in case we ever - change the base of the gp registers. - (MIPS_STACK_ALIGN): Use ~7, instead of 0xfffffff8. + * sched.c (reemit_notes): New function. + (schedule_block): Call reemit_notes twice. Reorganize code for + handling SCHED_GROUP_P insns, so that reemit_notes works. - * mips.c (number_functions_processed): Delete variable, nobody - uses it anymore. - (mips_debugger_offset): Add support for the frame pointer being - the same as the stack pointer, instead of being the same as the - argument pointer. Abort if the address is not based on any of the - stack, frame, or argument pointers. - (print_operand_address): Add checks for the arg pointer not being - eliminated. - (function_prologue): Ditto. - (mips_expand_prologue): Ditto. - (function_epilogue): Ditto. - (mips_expand_epilogue): Ditto. - (function_epilogue): Strip leading '*' if it exists from - current_function_name when printing statistics. Delete increment - of number_functions_processed. - (compute_frame_size): Don't base extra_size on the macro - STARTING_FRAME_OFFSET. If function is a leaf function, but calls - __builtin_alloca, allocate an arg area, so that the MIPS linker - will not complain about creating a second frame pointer. Move the - argument save area beneath local variables. + * sh/sh.c (shiftcosts, genshifty_op): Add SH3 support. + * sh/sh.md (ashlsi3, lshrsi3): Add SH3 support. + (ashlsi3_d, ashrsi3_d, lshrsi3_d): New patterns for SH3. + (ashrsi2_31): Remove r/!r constraint. - * decrose.h (ASM_FINAL_SPEC): Use %U to get the last file name - created with %u, rather than %u. +Wed May 24 17:00:47 1995 Jason Merrill - * gcc.c (do_spec_1): Add %U to return the last name generated with - %u. This is for use with mips-tfile, to find the generated object - file. + * tree.c (type_list_equal): Call simple_cst_equal before checking + types. +Wed May 24 16:49:49 1995 Douglas Rupp (drupp@cs.washington.edu) -Mon Aug 24 18:09:34 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Makefile.in (libgcc2.a): Handle case of separate srcdir. - * c-typeck.c (build_unary_op): For ADDR_EXPR, just set TREE_CONSTANT - if staticp, but don't clear TREE_CONSTANT. +Wed May 24 16:22:01 1995 Paul Eggert -Mon Aug 24 13:52:13 1992 Brendan Kehoe (brendan@cygnus.com) + * configure: Define $(MAKE) if `make' doesn't. - * gcc.c (process_command): Don't set verbose_flag if they make a - typo (e.g., `-v-E'); only when it's exactly "-v". +Wed May 24 15:50:51 1995 Doug Evans -Mon Aug 24 06:49:16 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * dsp16xx.h (CROSS_LINK_SPEC): ENDFILE_SPEC moved to -nostartfiles. + * i386/freebsd.h (LINK_SPEC): Don't pass "-e start" if nostartfiles + rather than nostdlib. + * i386/sun.h (LINK_SPEC): Likewise. + * m68k/sun2o4.h (LINK_SPEC): Likewise. + * m68k/sun3.h (LINK_SPEC): Likewise. + * m68k/vxm68k.h (LINK_SPEC): Likewise. + * mips/netbsd.h (LINK_SPEC): Likewise. + * config/netbsd.h (LINK_SPEC): Likewise. + * rs6000/mach.h (LINK_SPEC): Likewise. + * sparc.h (LINK_SPEC): Likewise. + * sparc/vxsparc.h (LINK_SPEC): Likewise. - * combine.c (subst): When moving operation inside IF_THEN_ELSE, - make a new rtx instead of using SUBST due to sharing. + * m88k/m88k.h (FUNCTION_ARG_BOUNDARY): Use GET_MODE_BITSIZE. - * combine.c (simplify_comparison): Correct test for sign extension - when trying to widen comparison. +Wed May 24 15:44:04 1995 Jason Merrill -Sun Aug 23 18:58:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fold-const.c (fold): Make sure that a folded TRUTH_NOT_EXPR + retains the same type. - * fold-const.c (fold): Avoid the normal STRIP_NOPS on arg of NOP_EXPR. + * c-common.c (truthvalue_conversion): Also accept TRUTH_NOT_EXPR. -Sun Aug 23 15:32:03 PDT 1992 Ron Guilmette (rfg at netcom.com) +Wed May 24 15:41:51 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * stmt.c (expand_end_bindings): Generation of NOTE_INSN_BLOCK_END - moved down so that it occurs after call to `expand_cleanups'. + * cplus-dem.c (strstr, strncmp, strlen): Remove declarations. -Sun Aug 23 16:24:32 1992 Michael Meissner (meissner@osf.org) + * tree.c (type_list_equal, simple_cst_list_equal, index_type_equal): + Check for simple_cst_equal return value of -1. - * decrose.h (CPP_SPEC): Don't define strcmp as __builtin_strcmp in - the case neither -fbuiltin nor -fno-builtin were defined. - * i386rose.h (CPP_SPEC): Ditto. +Wed May 24 10:05:24 1995 Michael Meissner -Sun Aug 23 02:03:41 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * libgcc1-test.c (start, _start): Provide declarations, so that + the GNU linker doesn't give a warning message about defaulting the + start address. - * libgcc2.c (__builtin_new): Cast the result of malloc. + * rs6000/sysv4.h (STRIP_NAME_ENCODING): Redefine back to the + original defination, rather than the defination used in rs6000.h. + (ASM_OUTPUT_SOURCE_LINE): Use STRIP_NAME_ENCODING. + * rs6000.h (STRIP_NAME_ENCODING): Skip leading '*'. - * toplev.c: Fix typo in prev change. + * rs6000.h (MASK_STRING_SET, TARGET_STRING_SET): Add target + flags bit for whether -mstring was actually used. + (TARGET_SWITCHES): Add MASK_STRING to all power targets. Set + MASK_STRING_SET for -mstring and -mno-string. + (TARGET_DEFAULT): Add MASK_STRING. - * c-decl.c (insert_block, delete_block): New functions. - * c-parse.y (primary, using compstmt): Call delete_block - instead of clearing TREE_USED. - * expr.c (expand_expr): For BIND_EXPR, call insert_block on the block. - -Sat Aug 22 14:12:02 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rs6000.c (rs6000_override_options): Add MASK_STRING to + all power targets. Make an explicit -mstring/-mno-string override + the -mcpu=processor default. - * configure: Use absolute pathname in value of INSTALL. + * rs6000/eabile.h (CPP_SPEC): Copy from sysvle.h to provide the + appropriate little endian defaults. -Sat Aug 22 06:42:39 1992 Tom Wood (wood@dg-rtp.dg.com) + * rs6000/sysv4.h (ASM_OUTPUT_SOURCE_LINE): Use assemble_name to + output the canonical name. - * emit-rtl.c (insn_emit_once): Provide a zero constant for CC modes. +Wed May 24 01:21:15 1995 Jason Merrill -Fri Aug 21 18:33:30 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) + * rs6000.h (STRIP_NAME_ENCODING): Define. + (RS6000_OUTPUT_BASENAME): Use it. - * reorg.c (fill_simple_delay_slots): Always try to fill empty - delay slots with insns from beyond the delay insn, even if - optimize_skip was attempted. - (fill_simple_delay_slots): When filling with insns from after the - delay insn, make sure to always account for the sets and - references in the delay insn. +Tue May 23 19:54:21 1995 Doug Evans -Fri Aug 21 16:47:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * gcc.c (link_command_spec): Move ENDFILE_SPEC from -nostdlib + to -nostartfiles. - * sparc.c (print_operand): Use output_operand_error for unknown code. +Tue May 23 17:01:50 1995 Jim Wilson - * c-typeck.c (build_conditional_expr): Use TREE_READONLY and - TREE_THIS_VOLATILE, not TYPE_... + * alpha.md (negsi2-2): Change output pattern to #. -Fri Aug 21 14:02:20 1992 James Van Artsdalen (james at bigtex.cactus.org) + * mips.c (embedded_pic_offset): Output RTL to initialize + embedded_pic_fnaddr_rtx. + (mips_finalize_pic): Delete. + * mips.h (mips_finalize_pic): Delete declaration. + (FINALIZE_PIC): Delete. + (INIT_EXPANDERS): Clear embedded_pic_fnaddr_rtx. + * mips.md (get_fnaddr): Add = to output contraint. - * reload.c (find_dummy_reload): Restore original RTX instead of - passed IN rtx. + * sh.c (shift_amounts): Correct entry for shifts by 29. + * sh.md (sett): New pattern. + (movsi_i): Change source constraint for move to T reg to be 'z'. -Fri Aug 21 07:53:12 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * mips/ecoff.h (STARTFILE_SPEC): Define to null string. + * mips/elfl.h, mips/elfl64.h: Correct typo in comment. - * optabs.c (expand_binop): If, e.g., mulqi3 doesn't exist, try - mulqihi3. + * mips/elflorion.h, mips/elforion.h (MIPS_CPU_DEFAULT): Delete. + * mips.c (override_options): Delete #ifdef MIPS_CPU_DEFAULT code. + Add #ifdef MIPS_CPU_DEFAULT_STRING code before the first + mips_cpu_string test. - * rs6000.h (FUNCTION_ARG): Don't make an EXPR_LIST if making a libcall. +Tue May 23 07:22:36 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * combine.c (subst): Move up test for too many restarts. - If we restart, clear OP0_MODE since we don't know it. + * romp.c (hash_rtx): Avoid warning on int-to-pointer conversion. + (output_fpops): Cast args to bcopy to char *. -Fri Aug 21 02:11:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cpplib.c (initialize_builtins): Add missing parm to timestamp call. - * emit-rtl.c (emit_insns_after): New function. + * Makefile.in (install-libobjc): Don't depend on libobjc.a. -Fri Aug 21 01:53:04 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) + * c-parse.in: Objc shift/reduce conflicts now 48. + (parm): Use setspecs/restore here. + (parmlist_or_identifiers): Not here. - * pa.md (call_value+1): For non-dynamic calls, use the "call" - attribute, set length to 1, and fix output template to work - properly with delay slots. +Mon May 22 19:30:30 1995 Doug Evans - * pa.md (address and use_call_clobbered attributes): Deleted, - these attributes are useless. All references deleted. - (call define delay): Use "in_branch_delay" as the condition since - "call" delay slots and unconditional "branch" delay slots allow the - same type of insns. - (in_call_delay conditional): Deleted. - (branch define delay): Do not define an annul-if-true delay slot. - It is useless for an unconditional branch. - (all delay branch conditionals): Make sure "call", "dyncall", "multi", - and "milli" insns are explicitly disallowed in delay slots. + * h8300.md (movsf_h8300h): Add missing post-inc case to constraints. - * pa.c (output_mul_insn): Delete nop after branch in template, - conditionally emit a nop if the delay slot was not filled. (via %#) +Mon May 22 14:38:36 1995 Michael Meissner - * pa.c (output_function_prologue): Handle profiling in a function - without a frame pointer. + * rs6000.c (rs6000_override_options): Do SUBTARGET_OVERRIDE_OPTIONS + here. + * rs6000.h (OVERRIDE_OPTIONS): Not here. -Thu Aug 20 16:16:40 1992 Tom Wood (wood@dg-rtp.dg.com) + * rs6000.c (expand_block_move): Handle moves without string + instructions by generating a series of loads and stores. + (output_prolog): Support -mno-toc on V.4 and eabi systems. - * va-m88k.h (__INT_VARARGS_H): Define this to avoid trouble on DG/UX. + * rs6000/sysv4.h (TARGET_SWITCHES): Add -mtoc and -mno-toc. + (SUBTARGET_OVERRIDE_OPTIONS): Add some warnings for incompatible + switches. + (TOC_SECTION_FUNCTION): Make -mno-toc like -mrelocatable in that + we don't put the minimal toc pointer in the global toc section. + (LINK_SPEC): Use -oformat to set link output format, not -m. -Thu Aug 20 11:07:26 1992 Michael Meissner (meissner@osf.org) + * rs6000/t-eabigas (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Build + libgcc.a variants with -mno-toc support. + * rs6000/t-ppcgas (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Ditto. - * final.c: Move include of stdio.h before output.h. +Mon May 22 07:10:52 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Aug 20 01:08:55 1992 Pat Rankin (rankin at eql.caltech.edu) + * cplus-dem.c (mystrstr): Replacement for strstr. - Support for bootstrapping cpp & cc1 with VAX C under VMS. + * configure: Split up long sed command. + * Makefile.in (SYMLINK): Deleted; unused. + (oldobjext): Deleted; no longer used. + (FLAGS_TO_PASS): Include objext and exeext. + (STAGESTUFF, protoize.o, unprotoize.o): Use $(objext), not .o. + (test_protoize_simple, compare{,3}, gnucompare{,3}): Likewise. + (STAGESTUFF, specs, gcc-cross, collect2): Add missing $(exeext). + (libgcc1.null, libgcc[12].a, stage[1-4]): Likewise. + (xgcc, cc1, cc1obj, enquire): Use $@ instead of filename for -o value. + (collect2, mips-tfile, mips-tdump, gen*): Likewise. + (bi-arity, bi-opcode, bi-opname, cccp, cppmain): Likewise. + (protoize, unprotoize, gen-protos, fix-header): Likewise. + (crtbegin.o, crtend.o): Don't use -o; move output to proper + filename (using objext) instead. + (BI_ALL, BC_ALL, bytecode): Deleted; unused. + (bi-*.o, cexp.o, stamp-{proto,fixinc}): Remove unneeded $(srcdir). + (getopt{,1}.o, SYSCALLS.c.X): Likewise. + (install-driver): New target. + (install-normal): Depend on it. + (install-common): Don't depend on xgcc. + (maketest): Deleted; no longer used. + (stage[1-4]): Use name collect-ld, not real-ld. + (risky-stage[1-4]): Use stage[1-4] as dependencies; don't copy. + * alpha/config-nt.bat, i386/config-nt.bat: Make {,h,t}config.h + and tm.h by writing a single #include line. + Update way specs.h and options.h are written. + * alpha/config-nt.sed, i386/config-nt.sed: Set new variables + into Makefile. + Build winnt.obj. + Edit CCCP definition. + * alpha/x-winnt, i386/x-winnt (oldobjext): Deleted. + Add rules for .c.obj, .adb.obj, and .ads.obj. + (LIB2FUNCS_EXTRA, spawnv.o): New rules. + * i386/x-winnt (objext): Now .obj, not .o. - * xm-vax-vms.h (USE_C_ALLOCA,NO_STAB_H): Define for VAXC. - (bcopy,bzero,bcmp,index,rindex): Define as ANSI/SYSV counterparts. - (QSORT_WORKAROUND, qsort): New macros, for avoiding buggy - qsort in VAXCRTL library. - (check_for_full_enumeration_handling,...): Use macros to shorten - several external names which are longer than 31 characters to - avoid warnings about truncation. - (unlink): Remove redundant definition. - * vax.c (not_qsort): New function. - * cccp.c (toplevel: create_definition): Move forward declaration - past the definition of struct macrodef. - (strncat): New function. - (bcopy, bzero, bcmp): Remove #if VMS code--always use inline C loops. - * genrecog.c, reload1.c: Compare enums (preds. codes, mem_mode) - explicitly to 0 in conditionals to work-around a VAXC bug that - disallows enum as arguments to && and || operators. - * getpwd.c (getpwd): Add alternative defn for VMS. - * toplev.c (environ): Make declaration conditional. - (main: -g debugging setup): Get rid of \ in #if condition. - * make-cccp.com,make-cc1.com (CC,CFLAGS,LIBS): Add commented command - variants for bootstrapping gcc-cpp and gcc-cc1 with VAXC. - * make-cccp.com (alloca): Build alloca.obj from alloca.c if LIBS needs it. + * gcc.c (HAVE_OBJECT_SUFFIX): New macro. + (process_command): Convert x.o to x.foo for OBJECT_SUFFIX of ".foo". + (do_spec_1): Avoid shadow variable "i" and always use for loop var. - Not yet installed: + * c-decl.c (finish_decl_top_level): Removed; no longer used. + * objc-act.c: Numerous formatting changes. + (NULLT): Deleted; all uses changed to NULL_TREE. + (get_{static,object}_reference, objc_add_static_instance): + Use push_obstacks instead of saving obstacks manually. + (build_{selector,class}_reference_decl): Likewise. + (build_objc_string_decl, build_protocol_reference): Likewise. + (comp_{method,proto}_with_proto): Likewise. + (create_builtin_decl, synth_module_prologue): Set DECL_ARTIFICIAL + for internal objects. + (build_{selector,class}_reference_decl, add_objc_decls): Likewise. + (generate_objc_symtab_decl, build_module_descriptor): Likewise. + (build_protocol_reference): Likewise. + (build_objc_string_decl, synch_forward_declarations): Likewise. + Delete call to end_temporary_allocation. + (generate_static_references, generate_strings): Likewise. + (build_selector_translation_table, generate_category): Likewise. + (generate_{ivars,protocol}_list, build_protocol_reference): Likewise. + (build_objc_string_object): If next_runtime, put everything in + permanent obstack. + (objc_add_static_instance): Use build_decl instead of start_decl + and finish_decl_top_level. + (build_{class_reference,objc_string}_decl): Clear DECL_CONTEXT. + (start_class): Exit with FATAL_EXIT_CODE, not 1. + (add_objc_decls): Don't set DECL_IN_SYSTEM_HEADER. - * machmode.h (FILE_TYPE): For VMS, make sure FILE_TYPE is not - defined as a macro, so that VAXC's won't break tree.h. - * genemit.c (gen_exp): #if VAXC, output a newline in front of - gen_rtx calls, to prevent excessively long lines in insn-emit.c. + * tree.c (valid_machine_attribute): Handle attribute on + pointer-to-function types. -Thu Aug 20 11:32:18 1992 Michael Tiemann (tiemann@mole.gnu.ai.mit.edu) +Sun May 21 17:16:37 1995 J. T. Conklin - * cp-tree.h: Fix incorrect comment about "$this" needing to - be lexicographically less than any other identifier. + * mips/netbsd.h (HAVE_STRERROR): Remove. + * mips/xm-netbsd.h: New file. + * mips/t-mips-netbsd: Deleted. + * configure (mips-dec-netbsd): Use xm-netbsd.h and t-libc-ok. -Thu Aug 20 05:37:00 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Sun May 21 17:16:37 1995 Arne H. Juul (arnej@pvv.unit.no) - * a29k.md (load_multiple): Operand 2 should be a MATCH_OPERAND. - (store_multiple_{,no_}bug): Likewise. + * mips/netbsd.h: Use __start as entry point. Ifdef some + paths on CROSS_COMPILE. - * reorg.c (mark_set_resources): Fix two bugs in last change. +Sun May 21 08:39:26 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * expr.c (init_expr_once): Set direct_load and direct_store if SOME - hard register can be loaded or stored; not just if the first one - we pick can be. + * c-parse.in (datadef, fndef, ivar_decl, mydecls): + Restore declspec_stack since setspecs is used. + (parmlist_or_identifiers): Use setspecs before parsing parms + and restore after parsing parms. -Thu Aug 20 01:40:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sun May 21 01:04:52 1995 Jeffrey A. Law - * combine.c, emit-rtl.c, final.c, gcc.c, genattrtab.c, mips-tfile.c: - Put include of stdio.h after GCC header files - (for i860-stardent-sysv4). - * tree.c: Likewise. + * pa.c (hppa_encode_label): New variable "permanent" to + where/how memory is allocated for the new label. All + callers changed. - * fixincludes (stdio.h): Rename va_list to __va_list__ to coexist - with gvarargs.h. +Sat May 20 16:53:30 1995 Mike Meissner -Wed Aug 19 21:06:49 1992 Jim Wilson (wilson@cygnus.com) + * rs6000.md (insv, extz): Fail if the structure is QI or HI reg to + avoid paradoxical subreg's being created in RTL phase, which uses + SImode to load from memory if structure is later moved to stack. - * cccp.c (finclude): Increment indepth before calling - trigraph_pcp, so that warning uses the correct file name. +Sat May 20 06:44:59 1995 Philippe De Muyter (phdm@info.ucl.ac.be) -Wed Aug 19 07:07:41 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * m68k.md (udivmodhi4): Output "divu" instead of "divs". - * combine.c (force_to_mode): Add missing test of and_optab. +Sat May 20 06:11:32 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * genconfig.c (have_cmove_flag): New variable. - (walk_insn_part): Add new parm NON_PC_SET_SRC; all callers change. - Look for IF_THEN_ELSE in a SET_SRC that isn't setting PC and - set have_cmove_flag if so. - (main): Define HAVE_conditional_move if have_cmove_flag is non-zero. - * combine.c (subst, case AND): Only make IF_THEN_ELSE if conditional - moves exist. + * reload.c (push_reload): Don't reload inside a SUBREG + when SUBREG_WORD is nonzero. - * cse.c (find_comparison_args): Look for comparison operations - if the second arg is 0 in any mode. - (record_jump_cond): Don't make classes equivalent for floating-point - equality comparison. + * c-decl.c (shadow_tag_warned): Don't warn about useless keyword + if in system header file. - * local-alloc.c (alloc_qty_for_scratch, block_alloc): Provide - alternate code in some cases when REGISTER_CONSTRAINTS is not - defined. - (requires_inout_p): Only used when REGISTER_CONSTRAINTS is defined. + * tree.c (simple_cst_equal): Don't look at language-specific + nodes since we don't know what's in them. - * reorg.c (mark_set_resources): Add new parm IN_DEST; add callers - changed. - Rework to scan an entire insn to look for auto-inc operations. + * cpperror.c: #include config.h before any other .h file. + * collect2.c: Likewise. - * unroll.c (copy_loop_body): Add missing declaration of EXIT_LABEL - parameter. + * i386/config-nt.bat: Add missing ^M on two lines. + Add case for Fortran; fix typo in Ada case. + * alpha/config-nt.bat: Add case for Fortran; fix typo in Ada case. - * function.c (instantiate_decl): New function. - (instantiate_decls{,_1}): Call it. + * m68k/t-next (LIBGCC1, CROSS_LIBGCC1): Make not, not "libgcc1.null". + (OTHER_FIXINCLUDES_DIRS, LIMITS_H_TEST): Delete from here. + * m68k/x-next (OTHER_FIXINCLUDES_DIR, LIMITS_H_TEST): Move to here. - * combine.c (simplify_comparison): Add a few more cases where we can - do the comparison in a wider mode. +Fri May 19 19:30:20 1995 Stan Cox (gcc@dg-rtp.dg.com) - * combine.c (distribute_notes, REG_EQUAL): Don't put back a note - with a non-constant expression since it may no longer be valid. + * crtstuff.c: Added reference to INIT_SECTION_PREAMBLE for systems that + do something which must be undone prior to __do_global_ctors. -Tue Aug 18 23:07:33 1992 Mike Stump (mrs@cygnus.com) +Fri May 19 19:27:08 1995 Alan Modra - * expr.c (expand_expr): The first expansion of a TARGET_EXPR - is marked by DECL_RTL (slot) being filled in AND TREE_OPERAND - (exp, 1) being wiped-out with a NULL_TREE, not just the - DECL_RTL (slot) being filled in. + * i386/linux-aout.h (CPP_SPEC): Add defines for -fPIC. + * i386/linux-oldld.h (CPP_SPEC): Likewise. -Tue Aug 18 00:07:23 1992 Dennis P. Glatting (dglattin@trirex.com) +Fri May 19 17:46:28 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * objc-actions.c - (build_selector_translation_table): NULL-terminate the - selector list. Mark _OBJC_SELECTOR_REFERENCES_decl as static, - not extern. + * collect2.c (strstr): Deleted. + * cplus-dem.c (strstr): Define ifndef POSIX. -Tue Aug 18 21:38:46 1992 Mike Stump (mrs@hal) +Fri May 19 11:16:51 1995 Per Bothner - * xcoffout.c (assign_type_number): Skip decls with no name. + * cpplib.c (collect_expansion): Don't escape '@' inside string. - * expr.c (expand_expr): When expanding TARGET_EXPRs, make sure - that they are only expanded once, after the first expansion, - the rtl can be used without further expansions. +Fri May 19 06:59:21 1995 Pat Rankin (rankin@eql.caltech.edu) -Tue Aug 18 12:58:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * vmsconfig.com (process_objc_lib, configure_makefile): New routines. + (bc_all.list, ./vax.md, objc-objs.opt, objc-hdrs.list): New files + created at config time. + (bc_all.opt, ./md.): No longer created. + * make-cc1.com: Handle revised filenames from vmsconfig.com; + (DO_OBJCLIB): New variable, plus code to compile objc/*.{c,m}. - * x-i386sco (X_CFLAGS): Defined. +Wed May 17 16:15:31 1995 Torbjorn Granlund - * stmt.c (expand_return): Call emit_queue in ignore-the-value case. - (expand_end_bindings): Check DECL_IN_SYSTEM_HEADER for unused warnings. + * i960.c (i960_output_ldconst): New code for XFmode. + Also, move SFmode code to immediately after DFmode code. + (S_MODES, D_MODES): Handle XFmode. + (XF_MODES): Was TF_MODES, handle XFmode instead of TFmode. + (hard_regno_mode_ok): Replace TFmode with XFmode. + (i960_output_long_double): New function. - * combine.c (simplify_comparison): - Rearrange conditional in SUBREG case. + * i960.h (DATA_ALIGNMENT): Define. + (ROUND_TYPE_ALIGN): Align XFmode scalars at 128 bit boundaries. + (ROUND_TYPE_SIZE): Round up the size of XFmode objects to 128 bits. + (CONST_DOUBLE_OK_FOR_LETTER_P): Use CONST0_RTX and CONST1_RTX + so that all FP modes are recognized. + (ASM_OUTPUT_LONG_DOUBLE): Define. -Tue Aug 18 06:49:43 1992 Tom Wood (wood@dg-rtp.dg.com) + * i960.md: Change all TFmode patterns to have XFmode. + (movxf recognizer, frame version): Use movt, ldt, and stt. + (movxf recognizer, non-frame version): Delete. + (extenddfxf2): Delete * before f constraint. + (extendsfxf2): Likewise. - * cccp.c (HOST_WIDE_INT): Copy definition from machmode.h. - - * c-typeck.c (parser_build_binary_op): Replace the assignment of CLASS. +Wed May 17 17:53:35 1995 Jim Wilson - * configure (Makefile edits): Make the edits independent. - * Makefile.in (sed marker): Use the order {target, host, cross-make}. + * unroll.c (unroll_loop): Increment copy_start_luid if copy_start + is loop_start. -Tue Aug 18 00:15:12 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed May 17 17:44:57 1995 Lee Iverson - * c-typeck.c (parser_build_binary_op): - For Z -Mon Aug 17 14:57:18 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rs6000/rs6000.h (TARGET_SWITCHES): Add -mstring to enable string + instructions, and -mno-string to disable them. + (MOVE_MAX): Don't test TARGET_MULTIPLE anymore. + (MAX_MOVE_MAX): Set to 8, not 16. + (expand_block_move): Add declaration. - * c-typeck.c (digest_init): Test TREE_TYPE (inside_init) is - nonzero before testing anything else about it. + * rs6000/rs6000.c (expand_block_move): New function to expand + block moves when -mstring is used. - * i860.md (mulsi3): Use emit_insn on results of gen fcns. - Return with DONE. + * rs6000/rs6000.md (movti): Use TARGET_STRING, not TARGET_MULTIPLE. + (load_multiple, store_multiple): Ditto. + (string insns): Add 8, 6, 4, 2, and 1 register variants for using + the native string instructions if -mstring. -Mon Aug 17 11:50:23 1992 Mark Eichin (eichin@cygnus.com) + * rs6000/sysv4.h (CPP_SPEC): If little endian, define + _LITTLE_ENDIAN and set littleendian assertion. If big endian, + define _BIG_ENDIAN and set bigendian assertion. + * rs6000/sysv4le.h (CPP_SPEC): Copy from sysv4.h, and change + default to little endian. - * cccp.c (do_include): If search_start is NULL, complain that - we had nowhere to look. + * rs6000/rs6000.c (override_options): Check for -mmultiple and + -mstring on little endian systems here. + * rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Don't do the check + here. -Mon Aug 17 14:53:46 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Tue May 16 18:36:41 1995 Douglas Rupp (drupp@cs.washington.edu) - * function.c (assign_parms): When copy arg passed by invisible - reference to pseudo reg, don't use nominal_mode. + * alpha.c: Changed WINNT to _WIN32. + * alpha/config-nt.bat, i386/config-nt.bat: Added commands to + generate specs.h and options.h. + * i386/config-nt.sed: Changed link32 to link. + * winnt/ld.c (main): Removed call to free. + * configure.bat: Added line to echo usage on invalid input. + * gcc.c (fix_argv): Removed call to free. + * gcc.c, getpwd.c, protoize.c, sdbout.c: Changed WINNT to _WIN32. + * toplev.c: Likewise. - * i960.c (i960_address_cost): Don't abort for invalid addresses. +Tue May 16 18:04:47 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Mon Aug 17 14:29:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * toplev.c (pfatal_with_name, fatal_io_error, vfatal): + Use FATAL_EXIT_CODE instead of magic number. + * cccp.c, cpplib.c, cpplib.h: Use FATAL_EXIT_CODE instead + of FAILURE_EXIT_CODE. + * fix-header.c, gen-protos.c: Likewise. + * cpperror.c, cppmain.c: Likewise. + Include config.h #ifndef EMACS. + * xm-alpha.h, xm-rs6000.h, xm-vms.h (FAILURE_EXIT_CODE): Remove. - * c-typeck.c (digest_init): - Use TYPE_MAIN_VARIANT comparing type of inside_init. +Tue May 16 17:46:57 1995 Adam Fedor -Mon Aug 17 10:32:08 1992 Michael Meissner (meissner@osf.org) + * objc/archive.c (__objc_write_class): Write class version. + (__objc_write_selector, objc_{write,read}_selector): Handle null + selector. - * genattrtab.c (simplfy_with_current_value): Return 'exp' to - caller instead of random value. - (convert_set_attr_alternative): Delete unused variable newexp. - (simplify_cond): Delete unused variable spacer. - (make_alternative_compare): Delete unused variable alternative. - (optimize_attr): Delete unused variable nextie. - (main): Delete unused variable av. - (simplify_by_alternatives): #if 0, since the only caller is also - #ifdef'ed away. - (copy_rtx_unchanging): #if 0 variables that are only used inside - of other code under #if 0. + * objc/sarray.h (struct sarray): Make capacity size_t. + * objc/sarray.c (sarray_realloc): Make array index variables size_t. -Mon Aug 17 07:37:41 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Tue May 16 06:59:08 1995 Paul Eggert - * a29kunix.h (LINK_SPEC): Add %s for default.ld. - (LINK_LIBGCC_SPECIAL): No longer needed. - (ASM_FILE_STARY): Add shared data section. - (SHARED_SECTION_ASM_OP): New macro. - (OVERRIDE_OPTIONS): If -fshared-data, add -fno-common. + * dsp16xx.c (print_operand_address): Fix misspellings in messages. + * i370/mvs.h (FUNCTION_PROFILER): Likewise. + * mips-tdump.c (type_to_string): Likewise. + * print-tree.c (print_node): Likewise. - * alpha.c (alpha_function_needs_gp): New variable. - (output_prolog): Set it. - Write label after LDGP if function has recursive call and needs GP. - (current_function_operand, divmod_operator, alpha_gp_dead_after): - New functions. - (print_operand, case 'E', 'F'): New cases. - (alpha_need_gp): Just test for type of LDSYM, not CALL_INSN. - * alpha.h (GO_IF_LEGITIMATE_ADDRESS): Allow a SYMBOL_REF for - the current function as a valid address. - * alpha.md (divXi3, udivXi3, modXi3, umodXi3): New patterns. - (cmov): Add pattern for addq/cmov for signed divide by power of 2. - (call): Omit GP restore if it is dead. - Add patterns for recursive calls. - (branch): Change type of everything but calls to IBR. - (unaligned_storehi): Fix numbering of operands. - * xm-alpha.h (malloc, realloc, sbrk): Declare as void * if __STDC__. + * protoize.c (edit_fn_definition): Fix mispelled local `have_flotsam'. - * libgcc2.c (builtin_new): Remove declaration of malloc. + * objc/sendmsg.c (__objc_init_install_dtable): Fix misspelling + in name of local label `already_initialized'. - * expmed.c (expand_mult): Bound second synth_mult cost by cost of - algorithm from first call. + * winnt/winnt.h (STDC_VALUE): Was misspelled. - * expmed.c (expand_divmod): When doing logical operations, the size - of COMPUTE_MODE should be used, not MODE. + * m68k/ccur-GAS.h (FUNCTION_BOUNDARY): Was misspelled. - * combine.c (struct undo, struct undo_int): Replace non-portable - usage with some unions. - (SUBST, SUBST_INT, undo_all, gen_rtx_combine): Make consistent - with new definitions. + * 1750a.h (DEFAULT_PCC_STRUCT_RETURN): Was misspelled. - * fold-const.c (fold): Move conversion back outside of COND_EXPR - if moving it inside didn't help anything. +Mon May 15 23:41:25 1995 Jeffrey A. Law - * fold-const.c (div_and_round_double): Change some more ints - to HOST_WIDE_INTs. + * pa.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Make sure to encode section + info for all libcalls. - * jump.c (jump_optimize): Allow SUBREG in many places where REG - is allowed. +Mon May 15 20:58:00 1995 Jason Merrill - * expr.c (expand_expr, case COMPONENT_REF): Don't actually do - extraction from memory if we want address. + * collect2.c (strstr): Define ifndef POSIX. - * expr.c (emit_block_move): Fix problems in last change. + * defaults.h (SUPPORTS_WEAK): Provide default. + * aoutos.h, sparc/sunos4.h: Don't support weak symbols. + * netbsd.h, svr4.h, i386/freebsd.h, i386/osfrose.h, + m88k/m88k.h: Define ASM_WEAKEN_LABEL instead of WEAK_ASM_OP. + * c-pragma.h: Check ASM_WEAKEN_LABEL instead of WEAK_ASM_OP. + HANDLE_PRAGMA_WEAK is never defined in a tm.h file. + * c-decl.c (duplicate_decls): Propagate DECL_WEAK. + * tree.h (DECL_WEAK): New macro. + (tree_decl): Add weak_flag. + * varasm.c (assemble_start_function): Declare the symbol weak if + appropriate. + (assemble_variable): Ditto. + (assemble_alias): Ditto. Mark the decl as written. + (declare_weak): Check for weak declaration after definition. + Set DECL_WEAK. + (weak_finish): Use ASM_WEAKEN_LABEL. + * libgcc2.c: The C++ free-store management functions are weak + aliases on targets that always support them. -Mon Aug 17 03:37:10 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon May 15 19:01:43 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * collect2.c (is_ctor_dtor): Don't collect cfront init fcns. + * configure (out_object_file): New variable; put value in Makefile. + * Makefile.in (out_object_file): Use in place of aux-output.o. - * Makefile.in (GCC_FOR_TARGET): Put -B./ here. - (GCC_CFLAGS): Not here. + * fold-const.c (const_binop): Don't pass OVERFLOW to force_fit_type + if type is unsigned. -Sun Aug 16 10:38:10 1992 Torbjorn Granlund (tege@jupiter.sics.se) +Mon May 15 18:48:26 1995 Paul Eggert - * ns32k.c (print_operand_address): Fix typo. + * install.sh (transformbasename): Fix misspelling. -Sat Aug 15 20:23:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * tahoe.h (CHECK_FLOAT_VALUE): Fix misspelling of OVERFLOW parameter. - * cccp.c (PTR_INT_TYPE): Don't define this. - (pcfinclude): Use int, not PTR_INT_TYPE. + * i386.h (VALID_MACHINE_{DECL,TYPE_ATTRIBUTE): Fix typo. -Sat Aug 15 11:10:07 1992 Michael Meissner (meissner@osf.org) + * fx80.h (CHECK_FLOAT_VALUE): Fix misspelled use of parameter. - * mips.h (ASM_FINAL_SPEC): For output of as when -c is not used, use - %u rather than %g so each object filename will be unique. - * decrose.h (ASM_FINAL_SPEC): Ditto. + * a29k.c (spec_reg_operand): Fix misspelling of `default:'. - * x-decrose (CLIB, X_CFLAGS): Don't link in libbsd.a, instead use - -Dvfork=fork on the command line. - * x-encrose (CLIB, X_CFLAGS): Ditto. - * x-i386rose (CLIB, X_CFLAGS): Ditto. +Mon May 15 18:36:41 1995 Philippe De Muyter (phdm@info.ucl.ac.be) -Sat Aug 15 06:36:15 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * m68k.md (b{eq,ne,ge,lt}0_di): Fixed for non-MOTOROLA syntax. + * m68k/xm-mot3300.h (alloca): Extern decl added for non-GNU compiler. - * cccp.c: Remove declaration of malloc and realloc. +Mon May 15 13:14:29 1995 Per Bothner - * combine.c (get_last_value): Don't go past a CODE_LABEL when - searching for a value. + * cppexp.c (cpp_reader): Test for '#' (start of assertion) *after* + skipping hspace, not before. - * expr.c (convert_move): Copy SUBREG to REG in one more case. +Mon May 15 08:13:54 1995 Pat Rankin (rankin@eql.caltech.edu) - * expr.c (do_jump*): Always do comparison in object's signedness - now that combine can remove extraneous sign extends. + * vmsconfig.com: Construct options.h and specs.h to #include + all "*/lang-{options|specs}.h" files found. -Sat Aug 15 00:52:08 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sun May 14 21:32:49 1995 Doug Evans - * fixincludes (ansi_compat.h): Replace this with an empty file. + * alpha/alpha.md (movsicc, case NE): Don't generate unrecognizable + insn. + (movdicc, case NE): Likewise. - * gcc.c (process_command): In second loop over all switches, - don't increment I for switches that don't have separate arguments. +Sun May 14 15:44:54 1995 Jim Wilson - * cccp.c: Don't ever include stddef.h. - (append_include_chain): Avoid using size_t. - (initialize_builtins): Output defn of __WCHAR_TYPE__ just once. + * unroll.c (unroll_loop): Make local_regno have size + max_reg_before_loop. Don't do local register optimization if + copy_end has no INSN_LUID. - * ns32k.md (movstrsi1): Renamed from movstrsi. - (movstrsi): New define_expand. +Sun May 14 10:38:23 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Fri Aug 14 18:51:57 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * objc-act.c (start_method_def): Mark _self as possibly unused. - * sched.c (attach_deaths_insn): Don't call attach_deaths for CLOBBERs. + * configure: Create specs.h and options.h from */lang-specs.h + and */lang-options.h. + Set lang_specs_files and lang_options_file variables in Makefile. + * Makefile.in (lang_{specs,options}_files): New variables. + (gcc.o): Depends on $(lang_specs_files). + (toplev.o): Depends on $(lang_options_file); merge two dep lists. + (distclean): Remove spes.h and options. + * gcc.c (default_compilers): Remove entries for Ada, C++, Chill, + and Fortran; #include specs.h instead. + * toplev.c (lang_options): Remove entries for Ada, C++, and Fortran; + include options.h instead. -Fri Aug 14 18:47:22 1992 Tom Wood (wood@dg-rtp.dg.com) +Sat May 13 23:11:21 1995 DJ Delorie - * genattr.c (write_units): Write #defines for the number of - function units, the min/max ready cost and min/max busy delay. - Add max_busy_cost field to struct function_unit_desc. + * configure (i[345]86-go32-msdos, i[345]86-*-go32): New targets. - * genattrtab.c (simplify_by_exploding, find_and_mark_used_attributes, - unmark_used_attributes, add_values_to_cover, increment_current_value, - test_for_current_value, simplify_with_current_value, - simplify_with_current_value_aux): New functions. - (struct function_unit): Add max_busy_cost, {min,max}_busy_delay. - (expand_units): Use simplify_by_exploding to simplify the - function_units_used attribute. Compute the ready cost attributes - as a COND in numeric order. - (gen_unit): Compute {min,max}_ready_cost and {min,max}_busy_delay. - (write_function_unit_info): Determine if there is only one busy - delay value by comparing the minimum and maximum busy delay. - Write the initializer for function_units in numeric order. - Write out the maximum busy delay field. +Sat May 13 10:58:38 1995 Jim Wilson - * genattrtab.c (attr_desc): Add negative_ok field. - (find_attr, make_internal_attr): Initialize negative_ok. - (check_attr_value): Allow negative values for CONST_STRING for - numeric attributes with negative_ok. - (encode_units_mask): Change the encoding of the function_units_used - result. + * loop.c (record_giv): When computing replaceable, use + back_branch_in_range_p instead of looking for branches to named + labels. + * loop.h (back_branch_in_range_p): Declare. + * unroll.c (back_branch_in_range_p): No longer static. - * gcc.c (do_spec_1): Add %u. - (default_compilers): For output of as when -c is not used, use %u - rather than %g so each object filename will be unique. +Sat May 13 06:47:11 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cexp.y, cccp.c, gcc.c (NULL_PTR): Use the same definition as - rtl.h and tree.h. + * combine.c (simplify_shift_count, case LSHIFTRT): Don't merge + shifts of different modes if first is any right shift. -Fri Aug 14 20:53:00 1992 Paul Eggert (eggert@twinsun.com) +Sat May 13 05:39:09 1995 Richard Earnshaw (rearnsha@armltd.co.uk) - * c-decl.c (grokdeclarator): Remove duplicate diagnostic for - initialized parameters; start_decl already does this. + * configure (arm-semi-aout): New configuration. + * config.sub: Add support for semi-hosted ARM. + * arm/t-semi, arm/semi.h: New files. - * c-common.c (truthvalue_conversion): Optionally warn if an - unparenthesized assignment is used as a truth value. - * c-parse.y, objc-parse.y (expr_no_commas): - Mark assignments for warning. +Fri May 12 21:51:22 1995 Doug Evans -Fri Aug 14 14:45:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * flow.c (find_basic_blocks): Only perform n_basic_blocks sanity + check on first pass, and on second pass ensure it has the correct + value. - * vax.md (casesi1): Renamed from casesi. - (casesi): New trivial define_expand invokes casesi1. - (movstrhi, movstrhi1): Analogous change. +Fri May 12 19:23:11 1995 Jim Wilson -Fri Aug 14 14:36:52 1992 Tom Wood (wood@dg-rtp.dg.com) + * c-typeck.c (build_binary_op): Warn when ~unsigned is compared + against unsigned, and type promotions result in an unexpected + answer. - * reload.c (find_reloads): Ignore `%' in the last operand after - warning. +Fri May 12 19:10:21 1995 Roland McGrath -Fri Aug 14 07:41:34 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * configure (*-*-gnu*): Always use ELF; set tm_file=${cpu_type}/gnu.h. + * config/i386/gnu.h: Contents replaced with old i386/gnuelf.h. + * config/i386/gnuelf.h: File removed. - * genflags.c (num_operands): MATCH_PARALLEL also represents an operand. +Fri May 12 17:29:57 1995 Ken Raeburn (raeburn@cygnus.com) - * jump.c (invert_exp, redirect_exp): No longer static. - Clean up order of declarations at start of file and remove - extraneous decls. - * unroll.c (copy_loop_body): Don't assume (pc) can be on either - leg of jump; use invert_exp and redirect_exp instead. + * m68k/lb1sf68.asm (__IMMEDIATE_PREFIX__): Default to #. + (IMM): New macro. + (all code): Use IMM macro instead of hardcoding # for immediate + operands. - * alpha.c, alpha.h, alpha.md, xm-alpha.h, x-alpha, va-alpha.h: - New files. - * config.sub: Add "alpha". - * configure: Likewise. - * Makefile.in (USER_H): Add va-alpha.h and sort names. - * gstdarg.h, gvarargs.h: Call va-alpha.h for Alpha. +Fri May 12 16:52:10 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * rtl.def (MATCH_PAR_DUP): New RTL code. - * genconfig.c (walk_insn_part): Treat it just like MATCH_OP_DUP. - * genemit.c (max_operand_1): Likewise. - (gen_exp): Treat it like MATCH_PARALLEL here. - * genextract.c (walk_rtx): Treat it like MATCH_DUP. - * genoutput (scan_operands): Likewise. - * genpeep.c (match_rtx): Likewise. - * genrecog.c (add_to_sequence): Likewise. - * a29k.md, rs6000.md ({load,store}_multiple): Use MATCH_PAR_DUP. + * m68k.c (output_scc_di): New function. + (extend_operator) : Allow DImode target. + * m68k.h (HARD_REGNO_MODE_OK): Don't allow d7/a0 as DImode reg pair. + * m68k.md (tstdi, cmpdi, addsi_lshrsi_31, ashldi_extsi): New patterns. + (extendqidi2, extendhidi2, extendsidi2): Allow "general_operand" + instead of "register_operand" 0. + (adddid_sexthishl32, subdid_sexthishl32, subdi_dishl32): Likewise. + (adddi_dilshr32): Operand 0 constraint changed from "ro" to "do"; + Code generation fixed. + (adddi_mem, subdi_mem): Fixed for "<" and ">" operand 0. + (adddi3, subdi3): Operand 2 constraint changed from "ao" to "*ao" + (ashldi_sexthi, ashrdi_const32): Allow only "register_operand" + instead of "general_operand" 0. + (ash[lr]di_const, ash[lr]di3): Allow also 8 and 16 as shift count. + (subreg1ashrdi_const32): Pattern deleted. + (subreghi1ashrdi_const32, subregsi1ashrdi_const32): New pattern. + (lshrsi_31): New implementation. + (scc0_di, scc_di, beq0_di, bne0_di, bge0_di, blt0_di): New patterns. + +Fri May 12 16:50:49 1995 Jeffrey A. Law - * cse.c (fold_rtx): Fix typo in two FLOAT_STORE_FLAG_VALUE tests. + * pa.md (bb patterns): Fix bugs in length computation exposed by + recent branch shortening and genattrtab changes. - * flow.c (life_analysis, propagate_block, dump_flow_info): Add more - missing casts to REGSET_ELT_TYPE. +Fri May 12 16:22:27 1995 Ken Raeburn - * expr.c (movstr_optab): New variable. - (init_expr_once): Initialize it. - (emit_block_move): Rework code that generates movstrxx insns to - check predicates and use an optab. + * cccp.c (enum node_type): Add T_IMMEDIATE_PREFIX_TYPE. + (special_symbol): Handle it; emit value of IMMEDIATE_PREFIX. + (IMMEDIATE_PREFIX): Default to empty string. + (initialize_builtins): Install __IMMEDIATE_PREFIX__ builtin, + parallel to __REGISTER_PREFIX__. - * cse.c (simplify_unary_operation): Remove "else". +Fri May 12 14:40:03 1995 Pat Rankin (rankin@eql.caltech.edu) -Fri Aug 14 07:41:05 1992 Torbjorn Granlund (tege@jupiter.sics.se) + * cccp.c: #if VMS, don't define `stat' macro to be VMS_stat. + Compare enums explicitly to 0 to work around VAX C bug. + (do_include): Cast alloca's value. - * c-decl.c, cse.c, fold-const.c, integrate.c, obstack.h, protoize.c, - reload1.c, stmt.c, tree.c, tree.h: Phicks speling erours. + * make-cc1.com (bc_loop): Process comma-separated list rather + than space-separated one; restore .h suffix stripped by vmsconfig; + (loop1): More robust handling of directory prefix on file names. + * vmsconfig.com (TPU makefile.in): Reorganize and reformat code. + Make generated .opt files have more consistent format (all comma + separated, excess whitespace eliminated); + (additional_compiler): New routine. + (process_makefile): Use it to handle cc1plus via cp/Make-lang.in. -Fri Aug 14 03:21:17 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri May 12 13:35:07 1995 Doug Evans - * c-convert.c (convert): When converting to variant of same type, fold. + * arm.h: Replace ARM_REG_PREFIX with REGISTER_PREFIX. + Replace ARM_COMMENT_CHAR with ASM_COMMENT_START. + (REGISTER_PREFIX): Define. + (USER_LABEL_PREFIX, LOCAL_LABEL_PREFIX): Define. + (SECONDARY_OUTPUT_RELOAD_CLASS): Handle DFmodes only if + TARGET_HARD_FLOAT. + (PREDICATE_CODES): Add soft_df_operand. + * arm.c: Replace ARM_REG_PREFIX with REGISTER_PREFIX. + Replace ARM_COMMENT_CHAR with ASM_COMMENT_START. + (arm_asm_output_label): Use USER_LABEL_PREFIX. + (soft_df_operand): New function. + * arm.md (movsicc): New pattern. + (movsfcc, movdfcc, *movsicc_insn, *movsfcc_hard_insn): Likewise. + (*movsfcc_soft_insn, *movdfcc_insn): Likewise. + (*movdf_soft_insn): Rewrite. + (movsi matcher): Fix typo in type attribute. - * varasm.c (assemble_variable): Change error message for unknown size. +Fri May 12 10:25:40 1995 Michael Meissner (meissner@cygnus.com) - * c-parse.y (declmods): Don't warn for multiple storage classes - all at the beginning. This is either good practice or an error. + * i386.h (TARGET_RTD): Use MASK_RTD, not MASK_REGPARM. + (TARGET_SWITCHES): Add -m{,no-}align-double switch. + (TARGET_OPTIONS): Add -mregparm= switch to set number of registers + to use for passing arguments. Add -malign-loops= switch to set + the alignment for loops. Add -malign-jumps= switch to set the + alignment for code that is jumped to. Add -malign-functions= + switch to set the initial alignment of functions. + (TARGET_REGPARM): Delete, in favor of -mregparm= + (TARGET_SWITCHES): Delete -mregparm, add -mdebug-arg switches. + (RETURN_POPS_ARGS): Call i386_return_pops_args to do the real work. + (VALID_MACHINE_DECL_ATTRIBUTE): Define as function call. + (VALID_MACHINE_TYPE_ATTRIBUTE): Define as function call. + (COMP_TYPE_ATTRIBUTES): Define as function call. + (REGPARM_MAX): Maximum number of regs to use for passing arguments. + (CUMULATIVE_ARGS): Make this a structure, not an int. + (INIT_CUMULATIVE_ARGS, FUNCTION_ARG{,_ADVANCE}): Call function. + (FUNCTION_ARG_PARTIAL_NREGS): Likewise. + (MAX_CODE_ALIGN): Maximum value to align loops/jumps to. + (BIGGEST_ALIGNMENT): Return 64 if -malign-double, 32 otherwise. + (ASM_OUTPUT_ALIGN_CODE): Use value of -malign-jumps= switch. + (ASM_OUTPUT_LOOP_ALIGN): Use value of -malign-loops= switch. + (toplevel): Declare all new functions and external variables added + in i386.c. -Thu Aug 13 19:43:13 1992 Paul Eggert (eggert@twinsun.com) + * i386.c (i386_regparm_string, i386_regparm): New variables + for -mregparm= switch to set the number of registers to use for + passing arguments. + (i386_align_loops_string, i386_align_loops): New variables for + -malign-loops= switch to set alignment to use for loops. + (i386_align_jumps_string, i386_align_jumps): New variables for + -malign-jumps= switch to set alignment to use for labels that are + jumped to. + (override_options): Support new switches. + (i386_valid_decl_attribute_p): New function to validate decl + specific attributes. Presently returns 0. + (i386_valid_type_attribute_p): New function to validate type + specific attributes. Recognize "stdcall", which says function + with fixed numbers of arguments is responsible for popping stack, + "cdecl", which says to use the normal C calling sequence, even if + -mrtd is used, and "regparm", which specifies the number of + registers to use for passing arguments. + (i386_comp_type_attributes): New function, to validate whether + attributes are compatible. + (i386_return_pops_args): New function, to return whether or not + the function pops its argument list or not, taking into account + -mrtd, and the stdcall/cdecl attributes. + (init_cumulative_args): Rewrite as a function, taking variable + argument functions, and regparm support into account. + (function_arg{,_advance,_partial_nreg}): Likewise. + (print_operand): Support %J, to print appropriate jump insn. - * c-decl.c (finish_decl): Avoid cascading messages for tentative - definitions with incomplete types. + * i386.md (decrement_and_branch_until_zero): Define pattern, + so that loops that count down to zero, don't have an unneeded + compare after the decrement. Add a general insn recognizer for + add to a value and compare against zero. - * c-typeck.c (process_init_constructor): Warn about partly - bracketed initializers. + * i386/go32.h, i386/winnt.h (VALID_MACHINE_DECL_ATTRIBUTE): + Delete, code folded into the mainline. + (RETURN_POPS_ARGS): Likewise. -Thu Aug 13 17:18:49 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * i386/winnt.h (ENCODE_SECTION_INFO): The stdcall attribute is now + stored on the type field, rather than the decl. - * cccp.c (handle_directive): Output macro name if dump_names. + * i386/gas.h (ASM_OUTPUT_ALIGN_CODE, ASM_OUTPUT_LOOP_ALIGN): Use + i386_align_{loops,jumps} variables to do alignment. + * i386/osfrose.h, i386/svr3dbx.h: Likewise. - * m68k.h: Delete junk line inserted by mistake in last patch. +Fri May 12 12:48:19 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Aug 13 16:46:58 1992 Tom Wood (wood@dg-rtp.dg.com) + * stor-layout.c (layout_type, case ARRAY_TYPE): Compute length using + MAX of length and zero if sizetype signed and neither bound constant. - * regclass.c (regclass): Don't scan the constraints if there aren't - any operands. Don't look for a commutative constraint in the last - operand. + * i386/gnuelf.h, i386/linux-oldld.h, i386/lynx-ng.h, i386/v3gas.h: + Use <...> in #include instead of "...". + * m68k/lynx-ng.h, sparc/lynx-ng.h: Likewise. - * function.c (contains): Return the number of insns. - (reposition_prologue_and_epilogue_notes): Count all the prologue and - epilogue insns. + * c-parse.in (myparm): Handle attributes. + * objc-act.c (unused_list): New variable. + (build_tmp_function_decl): Call push_parm_decl with new format. + (start_class): Initialize unused_list. + (start_method_def): Call push_parm_decl with new format and + mark _cmp as possibly unused. -Thu Aug 13 15:20:24 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * combine.c (simplify_shift_const): Don't change SHIFT_MODE + for LSHIFTRT either. - * m68k.h (TARGET_SWITCHES): Make -m68040 set 01007 not 01000. + * unroll.c (unroll_loop): Don't move reg if used in copy_end and + that is a JUMP_INSN. - * sparc.h (CPP_SPEC): For -mv8, define __sparc_v8__ not __sparcv8__. - * longlong.h (__sparclite__): Define umul_ppmm, udiv_qrnnd, and - count_leading_zeros for this sparc architecture variant. - (__sparc_v8__): Changed from __sparc8__. +Fri May 12 12:31:37 1995 Doug Evans - * c-typeck.c (build_component_ref): Don't warn for compound and - conditional expressions when pedantic. These are valid in ANSI C. + * arm/lib1funcs.asm: New file. -Thu Aug 13 11:37:57 1992 Jeffrey A. Law (law@mole.gnu.ai.mit.edu) +Fri May 12 11:52:03 1995 Kung Hsu - * pa.c (output_function_prologue): Restore "rp" after the call to - mcount. + * configure (a29k-*-vxworks*): New target. + * config.sub (vxworks29k): New alias. + * a29k/t-vx29k: New file. + * a29k/vx29k.h: New file. -Thu Aug 13 06:54:50 1992 Torbjorn Granlund (tege@jupiter.sics.se) +Fri May 12 11:17:28 1995 Jim Wilson - * pa.md (movsf recognizer): Output `fcpy,sgl', not `fcpy'. - From Jeff Law: - * pa.md (zdepi in HImode): Move this pattern after the standard - movhi patterns. + * loop.c (check_dbra_loop): When reversing loop when + no_use_except_counting is false, there must be only one biv. -Wed Aug 12 11:45:15 1992 Michael Meissner (meissner@osf.org) +Fri May 12 07:10:00 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * mips.h (ASM_FINAL_SPEC): For output of as when -c is not used, - use %g, rather than %b, because the file is going to be deleted - anyway (sync up with gcc.c Aug 4 changes). Patch from Jim Meyering. + * unroll.c (unroll_loop): Only use local_regno for pseudos. - * decrose.h (ASM_FINAL_SPEC): Ditto. + * genattrtab.c (write_test_expr, case MATCH_DUP): Use operands[N] + instead of JUMP_LABEL (which may not be set). + (walk_attr_value, case MATCH_DUP): Set must_extract. -Wed Aug 12 03:23:30 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-parse.in: Adjust number of shift/reduce conflicts. + (parm): Support attributes. + * c-decl.c (push_parm_decl): Pass any attributes to decl_attributes. - * fixincludes (finding all .h files): Look for links as well as - ordinary files. +Fri May 12 00:36:26 1995 Per Bothner - * m68k.h (TARGET_68040): Test for 01000 or 0400. - (TARGET_SWITCHES): Rename -m68040 to -m68020-40. - Rename -m68040-only to -m68040. + * cpplib.c (skip_quoted_string): Removed - no longer needed. + (skip_if_group): Use cpp_get_token instead of skip_quoted_string. - * hp2bsd.h (TARGET_DEFAULT): Make value 0. + * cpplib.h (struct cpp_reader): Remove start_line field. + Add multiline_string_line field. -Tue Aug 11 04:23:35 1992 Paul Eggert (eggert@twinsun.com) + * cpplib.c (cpp_error_with_line, cpp_warning_with_line, + cpp_pedwarn_with_line): Take extra column number parameter. + (macroexpand, cpp_get_token): Fix reporting of unterminated strings. + (line_for_error): Removed - no longer needed. - * fold-const.c (operand_equal_p): Make it clear that this function - tests for indistinguishable values, not for equality as computed by - `=='; the distinction is important for IEEE NaNs and -0.0. +Fri May 12 02:21:34 1995 Jim Wilson -Tue Aug 11 13:10:47 1992 Fred Fish (fnf at fishpond) + * mips/svr4-t.h (MD_STARTFILE_PREFIX, MD_EXEC_PREFIX, + STARTFILE_SPEC, LINK_SPEC): Define. + * configure (mips-tandem-sysv4): Use t-mips not t-svr4. - * config.sub (amigaunix/amix): Use sysv4 as os. - * configure (m68k-*-amix*): Change to m68k-cbm-sysv4* and - eliminate fixincludes and broken_install. +Thu May 11 19:18:54 1995 Per Bothner -Tue Aug 11 15:42:58 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * cpplib.c (line_for_error): Make it work; add extra parameter. + (skip_quoted_string, cpp_get_token): Update calls to line_for_error. + (macroexpand): Remember initial line so we can report it if the + call is unterminated. Also, simplify error logic slightly. + (do_include): Cast alloca return value, to avoid pcc warning. - * function.c (identify_blocks): Handle case where no block nodes - exist. Use xmalloc not alloca for block_vector. - (reorder_blocks): New argument top_block. Handle case where no - block nodes exist. Always clear BLOCK_SUBBLOCKS (block) when - adding it to the block tree. - (all_blocks): Handle case where vector is zero. Store current - block at offset 0 in vector, not n_blocks. Don't count current - block twice in n_blocks. - * function.h (identify_blocks): Declare. - (rtx, tree): Move undefs to the very end. - * loop.c (loop_optimize): Delete uses of loop_number_first_block, - loop_number_last_block, loop_number_block_level. Correct call of - find_loop_tree_blocks. Add call to unroll_block_trees. - * loop.h (loop_number_first_block, loop_number_last_block, - loop_number_block_level): Delete declarations. - * stmt.c: Likewise. - (find_loop_tree_blocks): Completely rewritten to use - identify_blocks. - (unroll_block_trees): Completely rewritten to use reorder blocks. - * unroll.c (unroll_loop): Delete call to unroll_block_trees. + * cppexp.c (parse_number): Cleanup some Cygnus crud for MPW. - * unroll.c (copy_loop_body): Only copy VTOP note if it will end up - before a loop exit test. +Thu May 11 21:35:23 1995 Torbjorn Granlund -Tue Aug 11 09:21:47 1992 Michael Meissner (meissner@osf.org) + From Moshier: + * i960.c (i960_output_ldconst): Let split_double handle DImode. + (i960_print_operand): Use REAL_VALUE_TO_DECIMAL for decimal strings. + (i960_output_double, i960_output_float): Likewise; also change arg + VALUE from `double' to `REAL_VALUE_TYPE'. - * mips.h (MIPS_VERSION): Bump meissner version # to 23. - (CONST_CODES): Remove declaration for eliminate_constant_term - from inside of local {}'s. - (SELECT_SECTION_MODE): Remove declaration of variable - mips_section_threshold from inside of local {}'s. - (SELECT_SECTION): Ditto. +Thu May 11 21:09:25 1995 Per Bothner (bothner@wombat.gnu.ai.mit.edu) - * mips.c (toplevel): Remove declarations for all of the gen_xxx - functions used, since insn-flags.h contains them. + * cpperror.c (cpp_print_containing_files): Remove some + Cygnus-local stuff. - * mip.md (fixuns_truncdfsi2): Remove extern declarations. - (fixuns_truncsfsi2): Ditto. - (movsi_unaligned, movsi_ulw, movsi_usw): Ditto. - (seq, sne, sgt, sle, sgtu, sleu): Ditto. +Thu May 11 21:06:47 1995 Doug Evans -Tue Aug 11 02:51:25 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * gcc.c (link_command_spec): Make -nostdlib no longer imply + -nostartfiles. - * fixincludes (memory.h): Fix versions 1.2 and 1.3 as well as 1.4. +Thu May 11 18:48:57 1995 Paul Eggert - * configure: Improve err msg for unknown config. + * c-common.c (convert_and_check): Don't diagnose overflow in constant + expression merely because conversion overflowed. -Tue Aug 11 04:02:51 1992 Paul Eggert (eggert@twinsun.com) +Thu May 11 18:43:59 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * fold-const.c (fold): Don't fold (A op B ? A : C) if A is IEEE - floating point, because A might be -0.0 or NaN. + * c-decl.c (grokdeclarator): Use PARM_FLAG to see if should + make PARM_DECL. + * c-parse.in (nested_function, notype_nested_function): + Allow old-style arg definitions (use xdecls). - * c-typeck.c (parser_build_binary_op): Warn about expressions like - `1<=i<=N'. + * c-decl.c (finish_struct): Properly update DECL_PACKED. -Mon Aug 10 22:11:50 1992 Michael Meissner (meissner@osf.org) +Thu May 11 15:24:15 1995 Jason Merrill - * reload1.c (emit_reload_insns): Use gen_rtx to create a secondary - reload insn, not gen_reg_rtx. + * fold-const.c (fold): Also fold CLEANUP_POINT_EXPRs into + TRUTH_*_EXPRs and into the first operand. + (operand_equal_for_comparison_p): Also make sure the second operand + is integral. -Mon Aug 10 06:23:23 1992 Torbjorn Granlund (tege@jupiter.sics.se) +Thu May 11 14:22:03 1995 Ted Lemon - * pa.md (Recognizer for zdepi_operand in HImode): New pattern. - (Recognizer for zdepi_operand in SImode): Call output_zdepi for - output. - (shift patterns and recognizers): Handle 32 bit ints and truncate - them for output. - * pa.c (output_zdepi): New function (contents from pa.md). - * pa.h (output_zdepi): Declare. + * config/mips/netbsd.h: New file. + * config/mips/t-mips-netbsd: New file. + * config/mips/x-netbsd: New file. -Sun Aug 9 17:10:24 1992 Pat Rankin (rankin@eql.caltech.edu) + * configure (mips-dec-netbsd*): Add entry. - * configure.com: Rename vms to vax-vms; split long lines. - * make-l2.com: Assemble libgcc2 routines twice, preserving - lowercase function names the second time. + * mips.h (LOCAL_LABEL_PREFIX, USER_LABEL_PREFIX): Define. + (PUT_SDB_BLOCK_START, PUT_SDB_BLOCK_END, ASM_OUTPUT_LABEL_REF, + ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL, + ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Use them. -Sun Aug 9 00:50:46 PDT 1992 Ron Guilmette (rfg at netcom.com) + * mips.c (mips_output_lineno): Use LOCAL_LABEL_PREFIX. - * final.c (final_scan_insn): Call dwarfout_begin_block and - dwarfout_end_block even for -g1. +Thu May 11 14:22:03 1995 Stan Cox (gcc@dg-rtp.dg.com) -Sun Aug 9 18:10:33 1992 Michael Meissner (meissner@osf.org) + * dwarfout.c (output_decl): Don't output DIE for struct or union type + with no name or with ERROR_MARK for the fields. - * genflags.c (gen_insn): Treat 'call_pop' and 'call_value_pop' like - 'call' and 'call_insn'. +Thu May 11 06:36:34 1995 Michael Meissner (meissner@cygnus.com) - * i386.h (LEGITIMIZE_ADDRESS): Emit_move_insn only takes two - arguments, not three. + * flow.c (mark_used_regs): If a SUBREG does not have a REG in the + SUBREG_REG position, recursively call mark_used_regs, instead of + segfaulting. -Sat Aug 8 10:26:02 1992 Michael Meissner (meissner@osf.org) +Thu May 11 06:44:34 1995 Pat Rankin (rankin@eql.caltech.edu) - * cp-tree.h (hash_chainon): Provide declaration. - (build_virtual_init): Ditto. - (build_vbase_delete): Ditto. - (build_vbase_vtables_init): Ditto. + * expr.c (do_jump, case EQ_EXPR, NE_EXPR): Fix typo for complex. - * genflags.c (insn_name_ptr): Define, so that we can link in - print-rtl.c for debugging. - (call_obstack, normal_obstack): New obstacks to remember call - insns, and normal insns, so that we can emit the prototypes later. - (max_id_len): New variable to record the maximum identifier - length. - (num_operands): New function to return the number MATCH_OPERAND's - and MATCH_OPERATOR's in an insn tree. - (gen_proto): New function to print out a prototype for an insn. - (gen_nonproto): New function to print out a declaration without a - prototype. - (gen_insn): Don't emit function declarations here, just save the - insn on either the call_obstack if it is call or call_value, or - normal_obstack otherwise. - (main): Initialize call_obstack, normal_obstack. After all insns - are processed, emit function declarations with and without - prototypes, depending on whether NO_MD_PROTOTYPES, and - CALL_MD_PROTOTYPES are defined. +Wed May 10 12:34:46 1995 Michael Meissner - * rtl.h (PROTO): If not defined, define to either expand - prototypes or just expand to (), depending on whether or not, the - host compiler supports ANSI C. - (NULL_PTR): Define as void * if we have prototypes. - (all function declarations): Add prototypes for all functions - where it is feasible to do so, using the PROTO macro. - (force_reg): Add declaration. - (eliminate_constant_term): Ditto. - (output_constant_def): If tree.h has been included, add prototype. - (immed_real_const): Ditto. - (immed_real_const_1): Ditto. - (make_tree): Ditto. + * configure: Add support for the little endian variant of the + PowerPC System V.4 and Eabi targets. If the GNU assembler was not + specified, don't build libgcc.a variants on the PowerPC systems + that use -mrelocatable, -mlittle, and -mbig. - * tree.h (PROTO): If not defined, define to either expand - prototypes or just expand to (), depending on whether or not, the - host compiler supports ANSI C. - (NULL_PTR): Define as void * if we have prototypes. - (all function declarations): Add prototypes for all functions - where it is feasible to do so, using the PROTO macro. Do not - define prototypes for build_binary_op, or build_indirect_ref, - since GNU C and GNU G++ have different numbers of arguments. Do - not define prototypes for make_tree, since it takes a rtx as the - argument, and rtl.h is included after tree.h. + * genmultilib: For MULTILIB_MATCHES arguments, map question marks + into equal signs after spliting the left and right side of + equivalent options, to all support for options like: -mcpu=403. -Sat Aug 8 07:36:19 1992 Tom Wood (wood@dg-rtp.dg.com) + * rs6000/rs6000.md (rs6000_immed_double_const): New function that + is like immed_double_const, except that it reverses the two words + in the constant if the target is little endian. - * cp-lex.c: Include stdlib.h and locale.h if needed. - (errno): Declare only if it isn't a macro. - * cp-tree.c (__eprintf): `line' is unsigned. - * cp-typeck.c (mark_addressable): Use DECL_EXTERNAL not TREE_EXTERNAL. + * rs6000/rs6000.md (floatsidf2): Use rs6000_immed_double_const, + not immed_double_const. + (floatunssidf2): Ditto. -Fri Aug 7 00:16:28 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rs6000/rs6000.h: Add declarations for all functions in rs6000.c. - * gcc.c (read_specs): Cast args of xmalloc and read to unsigned. + * rs6000/sysv4.h (TARGET_SWITCHES): Add -mlittle, -mlittle-endian, + -mbig, and -mbig-endian for bi-endian support. + (ASM_SPEC): Pass -mlittle/-mbig to the assembler if it was passed + to us. + (LINK_SPEC): If explicit little or big endian support was + requested, tell the GNU linker to use the appropriate target + format. - * final.c (final_scan_insn): Use ASM_OUTPUT_ADDR_DIFF_ELT - and ASM_OUTPUT_ADDR_VEC_ELT only if defined. + * rs6000/t-eabi (MULTILIB_*): Build libgcc.a variants for software + floating point. Remove mrelocatable libgcc.a variant. -Thu Aug 6 22:00:13 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * rs6000/t-eabigas: New file, cloned from t-eabi. Build + mrelocatable libgcc.a variant in addition to the other variants. - * sched.c (true_dependence): An unchanging read is guaranteed - independent of a store only if the store is not unchanging. - (anti_dependence): Added comment about unchanging reads. - (sched_analyze_2): Don't ignore unchanging reads, they may be - dependent on unchanging writes. + * rs6000/t-ppc: New file, for PowerPC System V.4 support without + the GNU assembler. - * sparc.md: Correct DEFINE_SPLITs added Jul 27. They would - overwrite the input register if it was the same as the result reg. + * rs6000/t-ppcgas: New file, for PowerPC System V.4 support with + the GNU assembler. -Thu Aug 6 16:25:48 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) + * rs6000/eabile.h: New file, little endian eabi config file. + * rs6000/sysv4le.h: New file, little endian V.4 config file. - * pa.h (ASM_FILE_START): If profiling IMPORT "_mcount" instead of - "__gcc_mcount". +Wed May 10 14:22:28 1995 Doug Evans - * These changes allow the PA to make use of the BSS subspace. They - require you to use the HPUX assembler or a fixed version of pa-gas - (available soon on jaguar.cs.utah.edu). - * pa.h (TARGET_SWITCHES): New switch "no-bss" which forces gcc not - to make use of the bss subspace. (For compatability with old buggy - versions of pa-gas.) - (ASM_FILE_START): Add $BSS$ subspace. - (BSS_SECTION_ASM_OP): New macro which tells the assembler to switch - to the bss subspace. - (EXTRA_SECTIONS): Define in_bss as an extra section. - (EXTRA_SECTION_FUNCTIONS): Define "bss_section" function to switch - into the bss subspace. - (ASM_OUTPUT_COMMON): If !TARGET_NO_BSS, then place commons into the - bss subspace. - (ASM_OUTPUT_LOCAL): Likewise. + * libgcc1-test.c (main_without__main): Renamed from `main'. + * Makefile.in (libgcc1-test): Tell the user to ignore warnings. -Thu Aug 6 13:04:16 1992 Tim Moore (moore@defmacro.cs.utah.edu) + * configure: Support --enable-foo, --disable-foo. - * gvarargs.h : Check hp800 symbol too for the hppa case. - * va-pa.h : Rewrite to be compatible with hpux. - * pa.c (hppa_builtin_saveregs): Rewrite. - (secondary_reload_class): Bug fix. - (arith32_operand): New function. +Wed May 10 10:34:00 1995 Lee Iverson -Wed Aug 5 11:23:05 1992 Tom Wood (wood@dg-rtp.dg.com) + * unroll.c: Add declarations of static functions. + (unroll_loop): Renumber regs local to loop for each unrolled iteration. - * m88k.h (EXTRA_SECTIONS, svr3): Delete empty definitions for - CTORS_SECTION_FUNCTION and DTORS_SECTION_FUNCTION. Add in_ctors - and in_dtors. +Wed May 10 08:27:03 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Aug 4 23:54:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * alpha.c (alpha_set_emit_const): Cleanups to work properly + when run on 32-bit host. - * gcc.c (default_compilers): For output of as when -c is not used, - use %g, rather than %b, because the file is going to be deleted - anyway. + * configure: Instead of symlinking tm.h and {h,t,}config.h, + make them files that #include the proper file; pass to Makefile. + Pass out_file and md_file to Makefile instead of making symlinks. + * Makefile.in (out_file, md_file, tm_file, {build,host}_xm_file): + New symbols, to be overridden by configure. + (insn-*): Use $(md_file), not md. + (aux-output.o): Use $(out_file), not aux-output.c. + ($(MD_FILE)): Rework to use new conventions. + (gen*.o, bi-*.o): Depend on $(build_xm_file), not hconfig.h. + (scan.o, fix-header.o, scan-decls.o): Likewise. + (distclean): Adjust files removed for new convention. -Tue Aug 4 20:30:12 1992 Michael Meissner (meissner@osf.org) +Tue May 9 19:26:42 1995 Jason Merrill - * cp-decl.c (grokdeclarator): Call build_type_variant to set const - and volatile flags, since build_reference_type does not take those - arguments. + * rs6000/rs6000.h (LIBGCC_SPEC): Do link with libgcc when -shared. - * cp-parse.y (attribute processing): Correctly call tree_cons with - three arguments, passing NULL_TREE for the chain argument. + * Makefile.in (STAGESTUFF): Add underscore.c. + (underscore.c): Rename temporary files to begin with 'tmp-' so that + they will be removed by 'make mostlyclean'. - * cp-tree.h (hash_chainon): Add declaration for this function. - (build_virtual_init): Ditto. - (build_vbase_delete): Ditto. - (build_vbase_vtables_init): Ditto. +Tue May 9 19:19:55 1995 Mike Stump - * cp-typeck.c (build_modify_expr_1): Pass 0 as third argument to - build_unary_op. - (build_modify_expr): Ditto. + * toplev.c (lang_options): Add new flag -ffor-scope. -Tue Aug 4 18:10:46 1992 Mike Stump (mrs@wombat.gnu.ai.mit.edu) +Tue May 9 19:11:47 1995 Lee Iverson (leei@ai.sri.com) - * cp-tree.h, tree.h: Moved definitions of TREE_VIA_* into tree.h for - consistency. + * objc/init.c (objc_init_statics): Fix missing part of last change. -Tue Aug 4 17:35:32 1992 Mike Stump (mrs@albert.gnu.ai.mit.edu) +Tue May 9 18:25:34 1995 Richard Kenner - Complete 10th FSF <---> Cygnus merge. + * i386/gnu.h, i386/linux.h, i386/linux-aout.h, i386/lynx.h: + Use <...> in #include instead of "..." to avoid recursion. + * i386/netbsd.h, i386/xm-gnu.h, i386/xm-linux.h: Likewise. + * i386/xm-lynx.h, i386/xm-freebsd.h, i386/xm-netbsd.h: Likewise. + * m68k/lynx.h, m68k/netbsd.h, m68k/xm-lynx.h: Likewise. + * m68k/xm-netbsd.h, mips/gnu.h, ns32k/netbsd.h: Likewise. + * ns32k/xm-netbsd.h, rs6000/lynx.h, rs6000/xm-lynx.h: Likewise. + * sparc/lynx.h, sparc/netbsd.h, sparc/xm-lynx.h: Likewise. + * sparc/xm-netbsd.h, vax/netbsd.h, vax/xm-netbsd.h: Likewise. - Tue Aug 4 12:58:59 1992 Mike Stump (mrs@cygnus.com) +Tue May 9 15:52:05 1995 Michael Meissner - * cp-decl.c (pushtag): Don't set DECL_IGNORED_P for binding - layer markers, use only DECL_SOURCE_LINE == 0, as otherwise, - it messes up dbxout.c. + * config.sub: Recognize powerpcle as the little endian varient of + the PowerPC. Recgonize ppc as a PowerPC variant, and ppcle as a + powerpcle variant. Convert pentium into i586, not i486. Add p5 + alias for i586. Map new x86 variants p6, k5, nexgen into i586 + temporarily. - Tue Aug 4 11:59:36 1992 Mike Stump (mrs@cygnus.com) +Tue May 9 15:43:27 1995 Jason Merrill - Tue Aug 4 13:43:55 1992 Chip Salzenberg (chip@tct.com) + * rs6000/rs6000.h (LINK_SPEC, LIB_SPEC): Don't mess with libg + if -shared. + * rs6000/aix41ppc.h (LINK_SPEC): Ditto. - * cp-method.c (hack_identifier): Remove redundant call of - assemble_external. + * rs6000/powerpc.h: Don't emit .extern directives. - Tue Aug 4 10:23:02 1992 Chip Salzenberg (chip@tct.com) +Tue May 9 14:08:09 1995 Jim Wilson - * cp-decl.c (pushdecl): Any kind of DECL should be good enough - at global scope, not just a TEMPLATE_DECL. + * sh/lib1funcs.asm (__ashrsi3, __ashlsi3, __lshrsi3): Use .byte + instead of .word offsets in switch table. - Sun Aug 2 21:12:55 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) +Tue May 9 11:44:47 1995 Jeremy Bettis - * cp-tree.c: change definition of __eprintf to match libgcc2.c and - assert.h + * objc/sendmsg.c (__objc_send_initialize): Call superclass if object + does not implement +initialize. + +Tue May 9 02:44:16 1995 Jason Merrill - Fri Jul 31 16:53:26 1992 Mike Stump (mrs@cygnus.com) + * rs6000/xm-rs6000.h (COLLECT_EXPORT_LIST): Define if not + cross-compiling. + * rs6000/xm-mach.h: #undef COLLECT_EXPORT_LIST. + * rs6000/rs6000.h (COLLECT_SCAN_OBJECTS): Lose. - * cp-tree (break_out_calls): Only make ony copy of a node on - 's' and 'e' nodes. Handle 'r' just like 's' and 'e' because - nodes of type 'r' can be of different sizes (the old code - would do the wrong thing for a COMPONENT_REF). + * collect2.c (collect_exit): Unlink export_file. + (prefix_from_string): Broken out from prefix_from_env. + (prefix_from_env): Call it. + (main): Under AIX, recognize -bE: and -bexport:, and don't + automatically export everything if we see one. Otherwise, scan the + objects individually and add all their symbols to an export file to be + passed to the linker. + (write_export_file): New function. + (scan_prog_file): Ignore symbols starting with '.' - Thu Jul 30 11:46:14 1992 Michael Tiemann (tiemann@rtl.cygnus.com) + * c-common.c (declare_hidden_char_array): Mark decl artificial. - * cp-init.c (emit_base_init): Set transparent basetypes (those w/o - ctors) as marked if we need to walk up the tree to find a ctor. +Mon May 8 18:13:57 1995 Adam Fedor - Wed Jul 29 03:25:51 1992 Michael Tiemann (tiemann@rtl.cygnus.com) + * objc/init.c (_objc_load_callback): Add declaration. + (__objc_exec_class): Call _objc_load_callback after every Class + or Category is added. + * objc/objc-api.h (_objc_load_callback): Add declaration. - * cp-decl.c (grokdeclarator): In SCOPE_REF case, sort out visibility - declarations from other declarations, since the compiler will - ultimately handle them differently. This is a part of the solution - to p525. - (finish_method): Tentative (and probably wrong) fix for carrying - along inline methods delcared within a class that really belong to - nested classes of the class. This may be more of the solution to - p525. +Mon May 8 17:56:28 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-init.c (build_offset_ref): Use IDENTIFIER_TYPE_VALUE of CNAME - when CURRENT_CLASS_DECL is 0. + * expr.c (expand_expr, case INDIRECT_REF): Set RTX_UNCHANGING_P + if both TREE_READONLY and TREE_STATIC set. - * cp-class.c (finish_struct): Don't give errors for TYPE_DECLs in a - struct that are really only meant for FIELD_DECLs. + * c-typeck.c (convert_for_assignment): Don't give errors about + adding const or volatile unless both sides point to functions. - Tue Jul 28 23:36:58 1992 Mike Stump (mrs@cygnus.com) +Mon May 8 11:48:23 1995 Michael Meissner - * cp-decl.c (grok_op_properties): Do not core dump on parse errors. + * configure: If ../ld/Makefile, symlink ../ld/ld.new to collect-ld, + not real-ld. Don't test for $use_collect2 any more. - Tue Jul 28 22:43:12 1992 Mark Eichin (eichin@cygnus.com) +Sun May 7 17:52:23 1995 Jason Merrill - * cp-pt.c (end_template_instantiation) YYDEBUG is now defined in - cp-parse.h -- so don't assume that it's -2 (since under byacc it is - -1 anyway.) iomanip.C compiles again. + * calls.c (expand_call): Improve -Winline warnings. - Tue Jul 28 22:33:46 1992 Mike Stump (mrs@cygnus.com) +Sun May 7 17:28:27 1995 DJ Delorie (dj@delorie.com) - * cp-typeck.c (build_c_cast): Allow cast to array type in - some situations to be more compatible with Cfront. + * configure.bat: Use "go32" instead of "msdos" for future expansion. - Tue Jul 28 22:05:14 1992 Mark Eichin (eichin@cygnus.com) + * i386/go32.h: Add support for win32's stdcall functions. - * cp-parse.y (print_parse_statistics): don't reference TOKEN_LENGTH - or REDUCE_LENGTH unless GATHER_STATISTICS is set. (YYDEBUG alone is - not a sufficient condition.) + * configure.bat: Add ^M to end of each line. + * i386/config-nt.bat, alpha/config-nt.bat: Likewise. - Tue Jul 28 19:18:30 1992 Mike Stump (mrs@cygnus.com) +Sun May 7 02:12:26 1995 Jason Merrill - * cp-tree.c (break_out_calls): Don't do anything special to - SAVE_EXPRs, as they cannot contain calls that would need - breaking out. This fixes a problem introduced on Jul 15, by - Ron Guilmette. + * tree.h (DECL_ARTIFICIAL): New macro. - Mon Jul 27 16:55:52 1992 Mike Stump (mrs@cygnus.com) + * function.c (expand_function_end): Don't warn about unused + anonymous or artificial parms. - * c++: Fix errors introduced by rms. Bullet-proof handling - of arguments with funny things in them such as newlines, - spaces, tabs, single quotes, double quotes, etc... +Fri May 5 18:41:22 1995 Jim Meyering (meyering@comco.com) - Mon Jul 27 15:03:23 1992 Ken Raeburn (raeburn@cygnus.com) + * configure: Fix typo in name of "maintainer-clean". - * cp-init.c (build_vec_delete): Extract size of type even for - destructorless types, so value can be computed to pass to delete - operator. +Fri May 5 14:58:01 1995 Jeffrey A. Law - * Bludgeon interface/implementation code into leaving templates - alone, until we've figured out how to handle their interaction - properly: - * cp-parse.y (template_instantiate_once): Temporarily set interface - flags to `unknown' while processing member templates. - * cp-decl.c (grokfndecl): Even if class vtable is getting written - out, regardless of interface setting of class and write_virtuals - flag, don't force virtual destructor of template class to be public. - * cp-tree.h (struct pending_inline): New field `interface'. - * cp-lex.c (do_pending_inlines): Restore interface flags from stored - values, rather than calling extract_interface_info. - (process_next_inline): Likewise, if more pending inlines exist; else - do call extract_interface_info. - (reinit_parse_for_method): Save away interface flags. - (cons_up_default_function): Ditto. - * cp-pt.c (instantiate_template): Set saved interface flag to - `unknown'. - (end_template_instantiation): Set CLASSTYPE_INTERFACE_UNKNOWN. + * pa.c (emit_move_sequence): Force problematical constants + into memory during the reload pass when generating PIC. - * cp-pt.c (instantiate_member_templates): Deleted some unused code. +Fri May 5 13:30:33 1995 Doug Evans - * cp-decl.c (grokfndecl): Make class methods public if - `implementation' pragma is set. + * objc/NXConstStr.m: NXConstantString.h renamed to NXConststr.h. - * cp-pt.c (pending_templates): No longer exported. - (add_pending_template): Ditto. - * cp-parse.y (primary): Don't check it; always call - do_pending_templates. +Fri May 5 07:10:15 1995 Stephen L Moshier (moshier@world.std.com) - Fri Jul 24 14:22:39 1992 Mike Stump (mrs@cygnus.com) + * real.c (emdnorm, toe64, etoe64): Significand of Intel long double + denormals is shifted down one bit. - * cp-decl.c (init_decl_processing, finish_function), - cp-method.c (build_decl_overload, build_opfncall), cp-init.c - (build_x_delete, build_delete, build_vec_delete): Add support - for two argument delete to support ARM 12.5. In some cases, - the argument is smaller than it should be. +Fri May 5 07:04:12 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Thu Jul 23 08:12:16 1992 Mike Stump (mrs@cygnus.com) + * c-typeck.c (process_init_element): Don't clear_momentary if + constructor_stack is not empty. - * cp-lex.c: Update wide character handling from c-lex.c and make - the type of multicharacter constants be int per ANSI C++ WP. + * objc/Makefile (SHELL): Now /bin/sh. - * cp-decl.c (init_decl_processing, grokdeclarator), cp-lex.h, - gplus.gperf, cp-lex.c (init_lex), cp-decl2.c (groktypefield), - cp-method.c (build_overload_name): Add support for wchar_t as a - distinct type to conform to x3j16 working paper. - * cp-hash.h: Regenerated. + * c-typeck.c (build_binary_op): Also warn about ordered + comparison of pointer with zero if -Wall. - Wed Jul 22 17:41:08 1992 Mark Eichin (eichin@cygnus.com) + * expr.c (do_jump, case EQ_EXPR, NE_EXPR): Properly compare complex. - * cp-parse.y (structsp): note_got_semicolon was called before - finish_struct (which always clears the got_semicolon bit.) However, - note_got_semicolon was only called if yychar==';', without checking - for YYEMPTY. +Thu May 4 18:01:25 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - Tue Jul 21 22:59:32 1992 Michael Tiemann (tiemann@rtl.cygnus.com) + * objc/Makefile: NXConstantString renamed to NXConstStr. + * objc/NXConstStr.m: Renamed from objc/NXConstantString.m. + * objc/NXConstStr.h: Renamed from objc/NXConstantString.h. - * cp-typeck.c (mark_addressable): If we have a recursive call to an - otherwise inline function, clear TREE_EXTERNAL so the whole function - is written to the asm file. +Thu May 4 17:38:21 1995 J.T. Conklin - Tue Jul 21 05:31:10 1992 Ken Raeburn (raeburn@cygnus.com) + * configure (vax-*-netbsd*): New configuration. + * vax/netbsd.h, vax/xm-netbsd.h: New files. - * cp-tree.h (start_type_method): Deleted unused declaration. +Thu May 4 16:39:05 1995 Jason Merrill - * cp-pt.c (tsubst): Fix propagation of qualifiers in several cases. + * collect2.c (main): Add check for 'collect-ld', just like + 'real-ld', except that old versions won't be looking for it in the + path. Don't look for 'real-ld' in the path anymore. Sigh. - * cp-pt.c (tsubst, case FUNCTION_DECL): Look for matches that differ - only in return type. + * collect2.c: #include demangle.h and obstack.h. + (obstack_chunk_alloc): Define. + (obstack_chunk_free): Define. + (generic): Don't define. Don't use. + (main): Initialize obstacks and demangling. - * cp-pt.c (tsubst, case FUNCTION_DECL): Rewrite name of - type-conversion operators, in case the target type involves a - template parameter. + * collect2.c (dump_file): Adjust space padding in output to + maintain tabulation with Solaris ld. Don't demangle if the + environment variable COLLECT_NO_DEMANGLE is set. - Mon Jul 20 03:35:44 1992 Michael Tiemann (tiemann@rtl.cygnus.com) + * collect2.c (main): Redirect the output of the first link and + demangle it. Don't collect static c/dtors unless USE_COLLECT2 is + defined. Null-terminate the list of objects. + (dump_file): New function. + (file_exists): New function. + (collect_exit): Renamed from my_exit. Dump and remove the temporary + ld output file. + (collect_execute): Break out from fork_execute. Support redirection. + (fork_execute): Call it. + (fatal_perror, fatal, error): Make non-static. + (xcalloc, xmalloc): Don't use generic. + (xrealloc): Define. + (collect_wait): Break out for do_wait. Just return the exit status. + (do_wait): Call it. - * cp-class.c (add_virtual_function): Don't crash if - CURRENT_CLASS_TYPE is NULL_TREE. - * cp-decl2.c (grokfield): Ditto. + * collect2.c: Check SUNOS4_SHARED_LIBRARIES using #if, not #ifdef. -Tue Aug 4 15:36:07 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Makefile.in (collect2): Now uses cplus-dem.o and underscore.o. + (collect2.o): Pass MAYBE_USE_COLLECT2 to compile. + (underscore.c): Rules for creation. - * c-decl.c (finish_decl): Don't do expand_decl_init for FUNCTION_DECL. + * cplus-dem.c, demangle.h: Copy from libiberty. - * c-typeck.c (build_conditional_expr): Merged const and volatile flags - of incoming types. +Thu May 4 14:12:35 1995 Jim Wilson -Tue Aug 4 11:15:47 1992 Chip Salzenberg (chip@tct.com) + * sdbout.c (plain_type): Pass additional argument to plain_type_1. + (plain_type_1): New parameter level. Increment it when making + recursive calls. Force the type to void_type_mode before starting + a 7th level of recursion. - * c-decl.c (finish_struct): If bit field is of an unsigned - type that promotes to int, promote it unsigned if traditional - or if it is the same size as int. - (start_function): Ditto for function return value. - * c-typeck.c (default_conversion): Ditto -- fix bug that - promotes short to unsigned if sizeof(short) == sizeof(int). + * sh.c (general_movsrc_operand, general_movdst_operand): Delete + references to POST_DEC and PRE_INC. + * sh.h: Clean up whitespace, comments, etc. + (TARGET_SH, RTL_BIT, DT_BIT, C_BIT, R_BIT, TARGET_DUMP_RTL, + TARGET_DUMP_R, TARGET_CDUMP): Delete. + (TARGET_SWITCHES): Delete -mR, -mc, -mr options. + (CONST_DOUBLE_OK_FOR_LETTER_P): Delete 'G' contraint. + (FUNCTION_VALUE): Simplify. + (REG_OK_FOR_PRE_POST_P, IS_INDEX): Delete. + (BASE_REGISTER_RTX_P, INDEX_REGISTER_RTX_P): Rewrite to allow + SUBREGs. + (GO_IF_LEGITIMATE_INDEX): Delete unused REGNO argument. + (GO_IF_LEGITIMATE_ADDRESS): Use BASE_REGISTER_RTX_P instead of + REG_OK_FOR_PRE_POST_P. Don't accept PRE_INC or POST_DEC addresses. + (PREDICATE_CODES, PROMOTE_MODE): Define. -Tue Aug 4 15:12:51 1992 Tom Wood (wood@dg-rtp.dg.com) +Wed May 3 09:57:55 1995 Michael Meissner - * svr3.h (USING_SVR3_H): Define. - * svr4.h (USING_SVR4_H): Define. - * aoutos.h (USING_AOUTOS_H): Define. - * m88k.h (EXTRA_SECTIONS): Base on the above defines. + * rs6000/rs6000.md (non power abs insns): If not powerpc, use + sf/subfc instructions, not subf. -Tue Aug 4 14:22:44 1992 Jim Wilson (wilson@sphagnum.cygnus.com) +Wed May 3 08:49:06 1995 Alan Modra - * dbxout.c: Include output.h. + * protoize.c (gen_aux_info_file): Use strerror #ifdef HAVE_STRERROR. -Tue Aug 4 00:21:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed May 3 01:06:01 1995 Jeffrey A. Law - * Makefile.in (install-common): Install protoize and related files - if they were compiled. - (install-proto): Target deleted. - (dbxout.o): Depend on output.h. + * pa.c (output_call): Fix typo/thinko in last change. + (output_function_epilogue): Align the data section before + emitting deferred plabels. -Mon Aug 3 02:04:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + From Torbjorn: + * pa.c (before functions): Declare deferred_plabels and + n_deferred_plabels. + (output_call): When generating pic, don't use LP and RP. Use 32 bit + plabel instead. + (output_function_epilogue): Output plabels accumulated in output_call. - * c-decl.c (finish_function): Test only can_reach_end for the warning - about reaching the end of a non-void function. - (poplevel): If apparently nested inline function has - DECL_ABSTRACT_ORIGIN, don't output it; propagate TREE_ADDRESSABLE. - (pushdecl): When copying inline details into an extern decl, - copy DECL_RESULT, TREE_ASM_WRITTEN. Set DECL_ABSTRACT_ORIGIN. +Tue May 2 17:15:08 1995 Jeffrey A. Law - * c-parse.y (datadef): For empty declaration, use pedwarn. - * objc-parse.y (datadef, mydecl): Likewise. + * pa.c (hppa_expand_epilogue): Fix thinko in last change. - * Makefile.in (install-cross-tools): Install nm from tooldir. +Tue May 2 16:54:35 1995 Doug Evans - * varasm.c: Include real.h. - * sparcv4.h: Don't include real.h. + * jump.c (jump_optimize, can_reach_end determination): A barrier can + follow the return insn. - * flow.c (mark_used_regs): Do recurse in setting of global hard reg. - Do set reg_next_use for global hard reg. +Tue May 2 12:39:55 1995 Mike Stump - * objc-parse.y (reserved_declspecs, declmods): Change as in c-parse.y. + * fold-const.c (fold): Ensure that we don't alter the expression's + type when folding CLEANUP_POINT_EXPRs. -Mon Aug 3 03:24:17 1992 Paul Eggert (eggert@twinsun.com) +Tue May 2 13:36:08 1995 Michael Meissner - * c-parse.y (reserved_declspecs): Warn if storage class occurs here. - (declmods): Warn if storage class is not first. + * expmed.c (emit_store_flag): When creating store flag + instructions from simpler parts, such as XOR, ABS, etc. do not + reuse pseudo registers if expensive optimizations, instead create new + pseudos for each insn result. -Sun Aug 2 21:44:34 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Tue May 2 01:25:29 1995 Jeffrey A. Law - * emit-rtl.c (gen_rtx, case REG): Don't use frame_pointer_rtx or - arg_pointer_rtx if reload is in progress. + * pa.c (hppa_expand_epilogue): Correctly handle restore of %rp + for functions with a stack size of exactly 8kbytes and no frame + pointer. - * jump.c (jump_optimize): When replacing jumps with logical - expressions, use preserve_subexpressions_p. +Mon May 1 19:27:08 1995 Jim Wilson - * calls.c (expand_call): Use HOST_WIDE_INT instead of int when - comparing a pointer to an integer constant. - * flow.c (find_use_as_address): Likewise; also when returning int. - * integrate.c (expand_inline_function): Cast -1 to (HOST_WIDE_INT) - first. + * sdbout.c (sdbout_one_type): Don't switch to text section if + in function with section attribute. - * cse.c (canon_hash): Use HOST_WIDE_INT instead of int when casting - pointers to integers. - * print-tree.c (print_node): Likewise. - * tree.c (TYPE_HASH): Likewise. - * varasm.c (const_hash, SYMHASH): Likewise. + * combine.c (combine_instrutions): Set subst_prev_insn to zero. + (try_combine, undo_all): Likewise. + (get_last_value): Return zero if subst_prev_insn set. - * toplev.c: (main): Don't cast pointers to int unnecessarily. + * sparc.h (INIT_TARGET_OPTABS): Move INIT_SUBTARGET_OPTABS to end. - * tree.c: Include function.h after tree.h. + * Makefile.in (install-dir): chmod a+rx all newly created directories. - * rtl.h (NOTE_BLOCK_NUMBER): Change definition to simpler form. - (SET_NOTE_BLOCK_NUMBER): Deleted. - (xrealloc, oballoc, permalloc): Declare here as well as in tree.h. - * function.c (identify_blocks, reorder_blocks): Don't use - SET_NOTE_BLOCK_NUMBER. + * expr.c (expand_expr, case SAVE_EXPR): Handle the case where + mode is VOIDmode. - * varasm.c (struct addr_const): Use HOST_WIDE_INT for OFFSET. +Fri Apr 28 15:39:38 1995 Per Bothner - * combine.c (reg_sign_bit_copies): New variable. - (combine_instructions): Initialize it. - (set_significant): Set it. - (try_combine): Set subst_low_cuid immediately before calling `subst' - to the INSN_CUID of the lowest insn involved in the call. - Change XOR with out-of-range constant to (not (xor ...)). - Call both split_insns and find_split_point; pass extra parm to - find_split_point. - Record I2DEST's value if I2 now sets it; similarly for I1DEST. - (find_split_point): Add new arg INSN. - If AND'ing with a large single-bit constant and we only care about - equality with zero, replace with bit extraction. - Make two shifts for ZERO_EXTRACTs unless very narrow. - (subst): Move RESTART label earlier. - If we have a simple operation applied to IF_THEN_ELSE, move - the operation inside the two arms. - (subst, case SUBREG): Use force_to_mode. - (subst, case NOT): Change (not (xor X C)) to (xor X ~C). - (subst, case NEG): Remove optimization of (neg (abs X)); redundant. - Convert (neg (xor A 1)) to (plus A -1) if A is known to be 0 or 1. - (subst, case IF_THEN_ELSE): Simplify if an arm contains a register - being tested by substiting the known value. - Put constant integer in last arm is can reverse comparison. - (subst, case SET): Use gen_lowpart_for_combine. - (subst, case AND): Make IF_THEN_ELSE when appropriate. - (subst, case IOR): (ior A C) can sometimes be just C. - (subst, case XOR): Go back and restart when canonicalizing. - (subst, case ABS): Use num_sign_bit_copies. - (make_extraction): Call force_to_mode. - (make_compound_operation): Look at optabs rather that explicitly - checking for operations and assuming we have SImode. - Handle (ashiftrt (OP (ashift foo C1) C3) C2). - (force_to_mode): Only change mode of arithmetic if optab says we - have operation in that mode. - Remove unneeded ASHIFTRT; add handling for IF_THEN_ELSE. - (significant_bits, case NEG): Call num_sign_bit_copies. - (significant_bits, case ABS, case [US]{MIN,MAX}, IF_THEN_ELSE): New. - (num_sign_bit_copies): New function. - (simplify_shift_const): Remove ASHIFTRT if value is known -1 or 0. - Use num_sign_bit_copies to simplify (ashiftrt (ashift ...) ...) - and (ashiftrt (neg ...) ...). - Remove now redundant case when VAROP is a PLUS. - (simplify_comparison): If A is known to be -1 or 0, A != -1 is A == 0. - Simplify unsigned tests that really check the sign bit. - (simplify_comparison, case ASHIFTRT): Convert to LSHIFTRT if - equality comparison with zero. - (get_last_value): Check if the desired register is set in the - insn before the one whose INSN_CUID is subst_low_cuid. + * cpplib.h (cpp_buffer): Note new escape combination "@ ". + * cpplib.c (macroexpand): Delete "@ " if stringifying. + (cpp_skip_hspace): Also skip "@ " if input buffer has_escapes. + (collect_expansion): Cleanup white-space handling. + (create_definition): Remove all leading spaces, not just first one. + (cpp_expand_to_buffer): Set has_escapes on resulting input buffer. + (macroexpand): Set output_escapes during whole function (and + specifically during calls of macarg). + (macroexpand): Set "@ " before and after expansion result. + (push_macro_expansion): Remove unneeded initial "@ ", not " ". + (cpp_get_token): Remove unneeded "@ " (not " ") at end of expansion. + (cpp_get_token): Handle "@ ". - * expr.c (expand_builtin, case BUILT_IN_CONSTANT_P): Add missing - call to TREE_CODE. + * cpplib.c (read_name_map): Add cpp_reader parameter. Access + map_list from former (instead of having it be static). + (open_include_file): Extra parameter (because of above changes). + (do_include, lookup_import): Update calls of open_include_file. - * reload1.c (reload): Set reload_in_progress earlier. + * cpplib.c (do_include): Fix memory leak. - * fold-const.c (optimize_bit_field_compare): Correct bogus use of - types in expressions; always do computation in a type wide enough - for the result. + * cpplib.c (delete_assertion): Also delete tokenlist. + (do_unassert): Don't delete tokenlist (handled by delete_assertion). + (cpp_cleanup): New function. Frees resources used by a cpp_reader. + * cpphash.c (cpp_hash_cleanup): New function. + (delete_macro): Enable commented-out code. + (file_cleanup): Free actual buffer. -Sun Aug 2 01:30:22 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cpplib.c (cpp_options): Add map_list. - * objc-parse.y (attrib): Copied from c-parse.y. + * cpplib.h (PARSE_GETC): Removed. Bogus and unused. + * cppmain.c (main): Remove commented-out code that used PARSE_GETC. -Sat Aug 1 13:34:49 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cpplib.c: Don't #include . Causes clashes + on Nextstep (when index/rindex are macros). + (cpp_grow_buffer, int_parse_file): Cast to U_CHAR*, rather than char*. - * c-pragma.c (HANDLE_PRAGMA_WEAK): Define only if SET_ASM_OP defined. +Sun Apr 30 08:11:23 1995 Alan Modra (alan@spri.levels.unisa.edu.au) - * vax-vms.h: Renamed from vms.h. - * xm-vax-vms.h: Renamed from xm-vms.h. - * configure (vax-*-vms): Change file names. + * stdarg.h, varargs.h (va_arg): Don't assume __va_rounded_size (char) + has the value of 4. -Sat Aug 1 16:13:09 1992 Mark Eichin (eichin@cygnus.com) +Sun Apr 30 07:13:43 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * config/spc-sol2.h (ASM_OUTPUT_DWARF_STRING): redefinition was - incorrect, and uneeded; while Solaris as doesn't support .string, it - does support .asciz, and sparcv4.h takes care of including that - definition. + * vax.h (NOTICE_UPDATE_CC): Correctly handle aob insns. -Fri Jul 31 08:19:41 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu + * expr.c (expand_expr, case CONSTRUCTOR): Don't set target to + zero if more then one word. + Pass size and alignment to move_by_pieces_ninsns in bytes, not bits. - * combine.c (try_combine): Correctly handle implicit deaths of - I2DEST and I1DEST. + * cse.c (cse_insn): Properly set IN_MEMORY for SET_DEST. - * cexp.y: Add declaration for xmalloc. + * tree.c (substitute_in_expr): Preserve TREE_READONLY. - * cccp.c: Add declarations for malloc and realloc. - Include stddef.h when __STDC__ is defined. - (PTR_INT_TYPE): New macro. - (pcfinclude): Use it. + * c-common.c (enum attrs): Add A_UNUSED. + (init_attributes): Initialize it. + (decl_attributes, case A_UNUSED): New case. - * c-decl.c (init_decl_processing): __builtin_return_address, - __builtin_frame_address, and __builtin_saveregs all return void *. +Sat Apr 29 15:42:03 1995 Paul Eggert - * reload.c (find_reloads_address_1): Convert another push_reload - call into a call to find_reloads_address_part. + * cccp.c (do_include): Re-fix minor memory leak by using + alloca instead of xmalloc and free. - * reload1.c (gen_input_reload): Correct order of insns emitted - when using secondary memory. + * cccp.c (macarg): Except for reporting error, treat unterminated + macro call as if it were terminated, since `macroexpand' relies + on *argptr being filled in. - * reload1.c (reload_as_needed): Add missing semicolon after macro. +Sat Apr 29 06:09:35 1995 Torbjorn Granlund - * combine.c (distribute_notes, case REG_DEAD): If a register used - exactly twice is referenced in both I2 and I3, show it is used 3 times. + * pa.c (output_mul_insn): Simplify, it is never called with + UNSIGNEDP set. - * final.c (output_operand): Abort if X is a pseudo. + * pa.md (divsi3, udivsi3, modsi3, umodsi3): Simplify. + (ashlsi3): Clean up indentation and commentary. - * cse.c (exp_equiv_p, case CONST_INT): Use INTVAL instead of XINT. +Fri Apr 28 12:48:01 1995 Jason Merrill - * expr.c (convert_move): Put FROM into a register if it is a SUBREG. - (For extension case.) + * integrate.c (expand_inline_function): Don't emit any notes until + after we've expanded the actual parameters. -Fri Jul 31 08:19:05 1992 Tom Wood (wood@dg-rtp.dg.com) +Fri Apr 28 11:51:06 1995 Stan Cox (gcc@dg-rtp.dg.com) - * function.c (reposition_prologue_and_epilogue_notes): Search for - the notes without using basic_block_end[0] or basic_block_head[N-1]. + * m88k/dgux.h: (ENDFILE_SPEC, LIB_SPEC) Fix crtbegin and crtend + (SELECT_RTX_SECTION) Put relocatable pic constants in data section -Fri Jul 31 08:18:18 1992 Michael Meissner (meissner@osf.org) + * m88k/dguxbcs.h: (LIB_SPEC) Likewise - * reorg.c (get_branch_condition): Return 0 if all tests fall through. + * m88k/m88k.c: (symbolic_operand) Put relocatable pic constants in data -Fri Jul 31 02:28:02 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * m88k/m88k.h: (FRAME_POINTER_REQUIRED) Add -momit-leaf-frame-pointer - * glimits.h: Renamed from limits.h. - * Makefile.in (LIMITS_H): Deleted. - (install-limits-h): Use glimits.h, not limits.h. - * libgcc2.c: Include glimits.h. + * m88k/m88k.md: (umulsidi3) Doesn't work for 88110 with mod/div changes -Thu Jul 30 09:54:07 1992 Tom Wood (wood@dg-rtp.dg.com) + * m88k/x-dgux: (GCC_FOR_TARGET) tdesc gets mixed up for crtbegin/crtend - * m88k.h (FUNCTION_BOUNDARY, ASM_OUTPUT_ALIGN_CODE): Pack code - more tightly for the m88110. +Fri Apr 28 06:36:47 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * m88k.md (cpu attribute): List m88100 first for more efficient - code in insn-attrtab.c. + * c-typeck.c (pop_init_level, output_init_element): Pass + require_constant_* to digest_init. - * m88k.md (rotate/and split pattern): Fix typo. + * alpha.c (alpha_emit_set_const): Now returns rtx and take MODE arg. + Rework to use a new pseudo for intermediate values if high opt level. + Also use expand_{bin,un}op. + * alpha.h (alpha_emit_set_const): Add declaration. + * alpha.md (mov[sd]i and splits): Change call to alpha_emit_set_const. -Thu Jul 30 00:02:45 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * reg-stack.c (stack_result): Fix bug in last change. - * i860mach.h: New file. - * configure (i860-*-mach*): New alternative. +Fri Apr 28 01:08:43 1995 Doug Evans - * svr3.h (BSS_SECTION_FUNCTION): New macro. - (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Enable these. - * tower-as.h (BSS_SECTION_FUNCTION): Deleted. - * dpx2.h (EXTRA_SECTION_FUNCTIONS): Deleted. - * att386.h (BSS_SECTION_FUNCTION): #undef before defining. + * objc-act.c: Update calls to start_decl, finish_struct, + pass NULLs for attributes. - * i860v3.h (USE_CONST_SECTION): #undef before defining. +Thu Apr 27 21:13:14 1995 Doug Evans -Wed Jul 29 20:04:55 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * sparc.md (tablejump): Only if ! TARGET_MEDANY. + (casesi): New pattern for TARGET_MEDANY case. - * sparc.md (cmpsi): Delete 'J' constraint. + * c-common.c (decl_attributes): Always continue if attribute not found. + * c-typeck.c (common_type): Call lookup_attribute instead of + value_member. + * tree.c (attribute_hash_list): New function. + (build_type_attribute_variant): Call it. + (valid_machine_attribute): Handle attributes with arguments. + (is_attribute_p): New function. + (lookup_attribute): New function. + (attribute_in_list): Deleted. + (attribute_list_contained): Check TREE_PURPOSE and TREE_VALUE. + * tree.h (valid_machine_attribute): Add prototype. + (is_attribute_p, lookup_attribute): Likewise. + * i386/winnt.h (RETURN_POPS_ARGS): Call lookup_attribute. + (ENCODE_SECTION_INFO): Likewise. + (CPP_PREDEFINES): Use __stdcall__, __cdecl__. + (VALID_MACHINE_DECL_ATTRIBUTE): Call is_attribute_p. + `args' must be NULL. -Wed Jul 29 00:38:45 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Apr 27 21:10:41 1995 David Edelsohn - * c-lex.c (yylex): When traditional, convert 0x80000000 to -0x80000000. + * rs6000.md (insv): New anonymous patterns to combine insert with + arbitrary ashift, ashiftrt, lshiftrt, or zero_extract. (Based on + patch from John Brooks .) + (ashlsi3): Remove extraneous operand processing. - * gcc.c (link_command_spec): Accept -static but do nothing with it. +Thu Apr 27 18:47:24 1995 Jim Wilson - * loop.c (move_movables): When testing whether a reg contains - the function address of a call_insn in a libcall block, - use reg_referenced_p, to ignore destinations. + * sh/ashlsi3.c, sh/ashrsi3.c, sh/lshrsi3.c: Delete. + * sh/lib1funcs.asm (ashiftrt_r4_*): Rewrite for efficiency. + (ashrsi3, lshrsi3, lshrsi3): Add. + * t-sh (LIB1ASMFUNCS): Add new functions. + (LIBGCC2_CFLAGS): Delete. + (LIB2FUNCS_EXTRA): Remove deleted files. + (ashlsi3.c, ashrsi3.c, lshrsi3.c): Remove rules for deleted files. - * stor-layout.c (layout_record): Take account of - maximum_field_alignment when using the field's alignment. + * stmt.c (expand_return): When returning BLKmode structure, use + operand_subword instead of doing arithmetic on the register number. + Also, for structures smaller than word_mode, copy it into a word_mode + temporary and then subreg it. - * c-parse.y (attrib): Fix previous change--the missing arg - was the last arg. + * sparc.md: Delete two define_peepholes which print `bad peephole'. - * fixincludes: Don't repeat the directory-link-chasing loop - more than twice. Combine $prevdirs with $dirs--they had same value. - Properly discard $d itself from the output of find. - Find the links to directories by finding each link - and testing it with test. Add $newdirs into $files. +Thu Apr 27 16:17:01 1995 Torbjorn Granlund -Tue Jul 28 12:46:31 1992 Michael Meissner (meissner@osf.org) + * toplev.c (rest_of_compilation): Call shorten_branches even when + !optimize. + * final.c (shorten_branches): For non-optimizing compiles, break + after first pass. - * c-common.c (decl_attributes): Call layout_decl with two arguments. +Thu Apr 27 14:22:50 1995 Michael Meissner - * c-parse.y (attribute processing): Correctly call tree_cons with - three arguments, passing NULL_TREE for the purpose argument. + * i386/linux-oldld.h: New file, that is cloned from linux-aout.h, + except that it does not pass -m i386linux to the linker. This is + to support the original Linux ld that is on most distributions. - * emit-rtl.c (make_insn_raw): Eliminate unused argument pat_formals, - and modify all callers. - (make_jump_insn_raw): Ditto. + * configure (i[345]86-*-linux*oldld*): Use i386/linux-oldld.h as + the target file. - * reorg.c (fill_slots_from_thread): Function follow_jumps only takes - one argument. - (relax_delay_slots): Ditto. +Thu Apr 27 08:56:50 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Jul 28 16:04:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * tree.c (valid_machine_attribute): Update last change. - * dpx2g.h (ASM_OUTPUT_IDENT): #undef it. +Thu Apr 27 08:06:33 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * c-decl.c (duplicate_decls): Handle warn_redundant_decls here. - But don't warn if function definition follows a declaration. - (pushdecl): Don't handle it here. - (grokparms): Don't warn about non-prototype decl in system header. + * fix-header.c, cpplib.c: Don't include twice. + * cpplib.c (cpp_grow_buffer, init_parse_file): Cast {xmalloc,xrealloc} + for token_buffer to U_CHAR* instead of char*. - * c-convert.c (convert): If main variants match, - but the type is not identical, make a NOP_EXPR. + * m68k/x-mot3300: New file. + * configure (m68k-motorola-sysv*): Use x-mot3300 instead of x-alloca. -Tue Jul 28 10:06:18 1992 Jim Wilson (wilson@sphagnum.cygnus.com) +Thu Apr 27 07:04:09 1995 Paul Eggert - * mips.md: Correct use of `*' in constraints. Put it before each - letter to ignore, not each group to ignore. + * cccp.c (do_include): Fix minor memory leak. -Tue Jul 28 01:23:35 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cccp.c (struct argdata): Remove unused `comments' member. + (macarg): Don't set `comments' member. - * dbxout.c (dbxout_parms): Do something for structures - passed by invisible reference, and living in memory. + * cccp.c (collect_expansion): Assume leading white space + already removed. + Don't allocate unnecessary space for expansion. - * gstddef.h (wchar_t): Alternate typedef for C++. + * cccp.c (deps_output): Don't generate overly long output lines. + Do not invoke self recursively with spacer == 0; this simplifies + the code a bit. - * Makefile.in (extraclean): Delete config/ChangeLog. +Wed Apr 26 19:20:02 1995 Andrew McCallum - * m68k.md (probe): Use %a0 to output the address. + * objc/Object.h: Changed Class * to Class in order to match NEXTSTEP + and OpenStep runtime. + * objc/Object.m, objc/Object.h, objc/archive.c, objc/class.c: Likewise. + * objc/encoding.c, objc/init.c, objc/objc-api.h, objc/objc.h: Likewise. + * objc/objects.c, objc/runtime.h, objc/selector.c: Likewise. + * objc/sendmsg.c, objc/typedstream.h: Likewise. -Mon Jul 27 20:08:21 1992 Mike Stump (mrs@hal) +Wed Apr 26 19:18:52 1995 Pieter Schoenmakers - * c++: Fix errors introduced by rms. Bullet-proof handling of - arguments with funny things in them such as newlines, spaces, tabs, - single quotes, double quotes, etc... + * objc/objc-api.h (objc_static_instances): New struct to record + static instances of a certain class. + (objc_module): New tag STATICS to point to the table of + objc_statics_instances. -Mon Jul 27 17:38:52 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * objc/init.c (OBJC_VERSION): Version 7. + (objc_init_statics): New function. + (__objc_exec_class): Invoke objc_init_statics if needed. - * sparc.md: Add DEFINE_SPLITs to optimize logic operation with - certain immediate values. + * objc/NXConstantString.m, objc/NXConstantString.h: New files. + * objc/Makefile (OBJC_O): Added bare-bones implementation of + NXConstantString. - * sparc.md: Correct inconsistent operand constraints in peepholes. + * objc-act.c (OBJC_VERSION): Version 7. + (build_objc_string_object): Build a full declaration if not using + the next runtime. + (objc_add_static_instance): New function. + (init_module_descriptor): Add reference to static instances table. + (build_module_descriptor): Add field for static instances table. + (get_objc_string_decl): New function. + (generate_static_references): New function. + (finish_objc): Call generate_static_references if needed. - * sparc.h (ASM_LONG, ASM_SHORT, ASM_BYTE_OP): Definitions added. - (ASM_OUTPUT_DOUBLE): Use REAL_VALUE_TO_TARGET_DOUBLE to convert. - (ASM_OUTPUT_FLOAT): Use REAL_VALUE_TO_TARGET_SINGLE to convert. - (ASM_OUTPUT_INT): Use ASM_LONG pseudo-op. - (ASM_OUTPUT_SHORT): Use ASM_SHORT pseudo-op. - (ASM_OUTPUT_CHAR): Use ASM_BYTE_OP pseudo-op. - (ASM_OUTPUT_BYTE): Use ASM_BYTE_OP pseudo-op. + * c-tree.h (finish_decl_top_level): New declaration. + * c-decl.c (finish_decl_top_level): New function. -Mon Jul 27 17:10:19 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Apr 26 18:04:32 1995 Dirk Steinberg (Dirk.Steinberg@gmd.de) - * gstdarg.h (va_arg): Don't use +=; no need to set AP twice. + * stddef.h: Treat _MACHINE_ANSI_H_ like _ANSI_H_. -Sun Jul 26 14:21:13 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Apr 26 14:09:59 1995 Jim Wilson - * final.c (final_scan_insn): Align jump table only if - READONLY_DATA_SECTION. Otherwise, the table is in the text section. + * sparc.h (NEGTF2_LIBCALL): Define. + (INIT_TARGET_OPTABS): Add support for all TFmode *_LIBCALL macros. + * optabs.c (init_optabs): Delete all uses of undocumented TImode and + TFmode *_LIBCALL macros. - * collect2.c (dup2): Defined, if NO_DUP2. + * combine.c (simplify_rtx, case TRUNCATE): Add. Use force_to_mode. + (force_to_mode, case AND): Allow some simplifications when GET_MODE (x) + has more bits than HOST_BITS_PER_WIDE_INT. + * mips/mips.md (truncdiqi2+[456]): Add patterns to simplify ZERO_EXTEND + of a TRUNCATE. - * plexus.h: New file. - * m68k.c (output_function_prologue): Make a probe instruction - if NEED_PROBE if nonzero. - * configure (m68k-plexus-sysv*): New alternative. +Wed Apr 26 13:01:22 1995 Doug Evans - * c-convert.c (convert): Succeed if TYPE is the main variant - of the given type. - * c-typeck.c (build_conditional_expr): Compare using TYPE_MAIN_VARIANT. + * sparc.md (memop define_splits): Rewrite to not use memop. + Preserve MEM_IN_STRUCT_P, MEM_VOLATILE_P, RTX_UNCHANGING_P bits. + * sparc.c (memop): Deleted. + (splittable_symbolic_memory_operand): New function. + (splittable_immediate_memory_operand): New function. - * c-decl.c (duplicate_decls): Copy old RTL *before* make_var_volatile. +Wed Apr 26 12:54:26 1995 Jeffrey A. Law -Sat Jul 25 21:45:44 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * configure: Add hppa1.1-hp-lites support. - * c-decl.c (pushdecl): Never reuse global fcn decl in place of - local extern; just copy some info from it. +Wed Apr 26 08:04:46 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sat Jul 25 06:14:58 1992 Tom Wood (wood@dg-rtp.dg.com) + * sh.md (ashrsi2_31): Don't use dead_or_set_p after reload. + * pyr.md: Remove bad peepholes that improperly use dead_or_set_p. - * expmed.c (expand_divmod): Eliminate the generation of branches - when possible. + * function.c (expand_function_end): Warn about unused parms + if both -Wunused and -W. -Sat Jul 25 04:34:09 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * tree.h (TYPE_PARSE_INFO): Delete unused field. + (TYPE_PACKED): Add new macro. + (struct tree_type): Delete unused field `parse_info'. + Add new field `packed_flag'. + * c-tree.h (finish_enum, finish_struct): Add ATTRIBUTES argument. + * c-common.c (init_attributes): Don't require decl for A_PACKED. + (decl_attributes, case A_PACKED): Set TYPE_PACKED for type. + * c-parse.in: Update number of shift/reduce conflicts. + (structsp): Pass attribute arg to finish_struct. + Support attributes on enums and pass to finish_enum. + * c-decl.c (finish_struct): Add ATTRIBUTES argument, call + decl_attributes and set DECL_PACKED from TYPE_PACKED. + (finish_enum): Add ATTRIBUTES argument, call decl_attributes, + and make enum narrow if TYPE_PACKED. + * print-tree.c (print_node): Print TYPE_PACKED. - * fixincludes (X11/Xmu/Xmu.h): Fix this or X11/Xmu.h, - whichever exists. + * c-decl.c (init_decl_processing): Don't give builtin__constant_p an + argument type. + * expr.c (expand_builtin, case BUILT_IN_CONSTANT_P): A pointer to a + string constant is a constant. -Sat Jul 25 00:41:12 1992 Paul Eggert (eggert@twinsun.com) + * c-typeck.c (output_init_element): Constructor is not simple if + a bitfield is being assigned a non-integer. - * c-parse.y (datadecl): Diagnose empty declarations in old-style - function headers. - * c-decl.c (shadow_tag_warned): New function. + * c-typeck.c (push_init_level): Update constructor_depth when we + push spelling level. - * c-lex.c (yylex): Diagnose `1.0fl'. Issue just one - diagnostic for `1e1000000f'. +Tue Apr 25 19:50:06 1995 Jeffrey A. Law -Fri Jul 24 19:25:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * pa.c (emit_move_sequence): Handle function label arithmetic for + PIC code generation too. - * dbxout.c (dbxout_symbol): Distinguish implicit C++ typedefs - from explicit C typedefs for structs, using DECL_SOURCE_LINE. +Tue Apr 25 18:52:43 1995 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de) - * c-decl.c (duplicate_decls): Use TYPE_MAIN_VARIANT even for compares - with void_type_node. - (grokdeclarator, get_parm_info, store_parm_decls): Likewise. + * reg-stack.c (current_function_returns_real): Deleted (unused). + (FP_mode_reg): Trimmed to a smaller size, less overhead. + (FP_MODE_REG): New macro over which FP_mode_reg will be accessed. + (mark_regs_pat, straighten_stack): New functions. + (reg_to_stack): Amend initialisation of FP_mode_reg. + Mark FP registers mentioned in USE insns before NOTE_INSN_FUNCTION_BEG. + (get_true_reg): Eliminate FP subreg accesses in favour of the + actual FP register in use. + (record_reg_life_pat): Make it work on SUBREGs as well. Make use of + the new mark_regs_pat function. Handle USE insns if called unnested. + (record_reg_life): Don't check for QImode again, we know that it + is there. Process CALL_INSNs like all other insns, they might `use' + some FP argument registers if register passing. + (stack_result_p): Changed in stack_result and returning an rtx. + (stack_reg_life_analysis): Take a new stackentry state argument. + Use stack_result and the rtx to mark using mark_regs_pat. This ensures + that types that need multiple FP registers are handled correctly. + Delete the no_live_regs shortcut to save space. + Use stackentry state to determine filled registers. + (replace_reg): Accept COMPLEX_FLOAT as well. + (move_for_stack_reg): Optimise away some pointer dereferencing. + (subst_stack_regs): Make sure the stack is in the right order + and of the right size for register passing. + (goto_block_pat): Make sure the stack is in the right order + to return possible multi-register values from the function. + (convert_regs): Fix comment about CALL_INSN, it's no longer valid. + Make sure the stack is of the right size and in the right order + to return possible multi-register values from the function. -Fri Jul 24 10:07:13 PDT 1992 Ron Guilmette (rfg at ncd.com) + * function.c (assign_parms): If STACK_REGS is defined, generate USE + insns before the function body, thus showing which registers are filled + with parameters. + * expr.c (expand_builtin_apply_args): Likewise. + Reverse order of saving registers, more compact code for i387. + (expand_builtin_apply): Likewise. + * emit-rtl.c (gen_highpart): Add comment about broken implementation. + * i386.md (untyped_call): Make it return a complex double. - * dwarfout.c (is_tagged_type): New function added. - (member_attribute): Use it. - (type_ok_for_scope): Rewritten to eliminate serious bugs. - (output_type): Call `output_pending_types_for_scope' at the end of - struct/union types (which are themselves scopes in C++). + * c-parse.in (attrib): Permit null-length argument list to attributes. -Fri Jul 24 13:36:46 1992 Michael Meissner (meissner@osf.org) + * tree.c (valid_machine_attribute): Use new function attribute_in_list, + makes sure type_attribute_variants are reused even when attributes have + parameters. + Assign any new type to TREE_TYPE (decl). + (attribute_in_list): New function. + (attribute_list_contained): Use it. + * tree.h (attribute_in_list): New declaration. - * dbxout.c (toplevel): Include defaults.h to get the definition of - ASM_STABD_OP. +Tue Apr 25 18:25:53 1995 Jim Wilson - * Makefile.in (dbxout.o): Add defaults.h dependent. + * expr.c (struct move_by_pieces): Add to_struct and from_struct fields. + (move_by_pieces): Set to_struct and from_struct fields. + (move_by_pieces_1): Set MEM_IN_STRUCT_P of to1 and from1. + (expand_builtin, case BUILT_IN_MEMCPY): New variable type. + Set MEM_IN_STRUCT_P of src_mem and dest_mem. - * i386rose.h (CC1_SPEC): Remove MIPS switches accidently left in. + * Makefile.in (clean): Delete libgcc1-asm.a. -Thu Jul 23 09:49:43 PDT 1992 Ron Guilmette (rfg at ncd.com) + * m68k/vxm68k.h (CPP_SPEC): Define. - * dwarfout.c (is_body_block): Rewritten for greater saftey. - (output_block): Fixed to deal correctly with non-inlined blocks. + * c-decl.c (pushdecl): Don't test DECL_EXTERNAL when deciding whether + to register a duplicate decl in the current block. -Thu Jul 23 15:37:23 1992 Jeffrey A Law (law at schirf.cs.utah.edu) + * cross64.h (INIT_ENVIRONMENT): Define as string not putenv call. + * gcc.c (main): Pass INIT_ENVIRONMENT to putenv. - * flow.c (propagate_block): Change "struct foo" to "struct sometimes". + * stmt.c (expand_return): When returning BLKmode structure in + registers, copy it to a psuedo-reg instead of to hard registers. -Thu Jul 23 15:10:51 1992 Tom Wood (wood@dg-rtp.dg.com) +Tue Apr 25 15:14:58 1995 Michael Meissner - * m88k.h (ASM_OUTPUT_CASE_LABEL): Change to readonly section if the - table contains addresses. - (JUMP_TABLES_IN_TEXT_SECTION): True by default. + * rs6000.h (LEGITIMIZE_ADDRESS): Don't create a DF address using two + regs if -msoft-float or -mcpu=403. -Thu Jul 23 13:54:27 1992 Michael Meissner (meissner@osf.org) +Tue Apr 25 15:45:44 1995 Richard Henderson (richard@atheist.tamu.edu) - * mips.c (large_int): Use HOST_WIDE_INT type to hold INTVAL. - (gen_int_relational): Ditto. - (gen_conditonal_branch): Don't emit any insns if the result is - always false, and emit a normal jump if the result is always true. + * m68k.md (divhi3, udivhi3, modhi3, umodhi3): Deleted + these insns plus some surrounding trash. + (divmodhi4, udivmodhi4): Added these insns. - * mips.c (mips_move_1word): Count LABEL_REF's as a memory - reference. Rework half-pic load of symbols, to not expect movsi - to have converted the load address into a load, and for CONST's, - do the addition after the pointer is loaded. +Tue Apr 25 10:12:40 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * mips.md (type attribute, movsi3): Eliminate 'pic' attribute, - just use 'load' instead. - (fix_truncdfsi2): Make this a define_insn, instead of a - define_exapnd and an insn, and use match_scratch to allocate the - two scratch registers. Adjust length costs, so that they match - the current code the assembler produces. - (fix_truncsfsi2): Ditto. - (movsi): Don't convert load of half-pic addresses and CONST's into - the real load. It causes more problems than it solves. Adjust - cost of half-pic addresses to be 2, not 4. + * alpha.c (alpha_builtin_saveregs): Refine last change to work + for both stdarg and varargs. - * mips-tfile.c (parse_def): Allow spaces in names, since C++ - templates produce things like: #.def SMANIP; ... - (parse_stabs_common): Code from Lisa Repka, to handle symbol +/- - offset, and to look up things in the external string table, if the - name is not found in the local string table. + * tree.c (chain_member_purpose): Make similar to chain_member_value. -Wed Jul 22 13:08:33 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) + * Makefile.in, configure: Change "realclean" to "maintainer-clean". - * sparc.md (movdf+1): Use new 'T' and 'U' constraints to - determine when an ldd or std will have a length of 1, and - therefore is eligible for use in some delay slots. - (uncond_branch): New attribute used for unconditional branches. - All unconditional branch patterns changed. - (define_delays and delay slot attributes): Do not allow - uncond_branch instructions in delay slots. Do not allow fpload or - fpstore operations in a conditional branch delay slot. Allow - fpload and fpstore in call, unconditional branch, and annuled - conditional branch delay slots. - - * sparc.c (registers_ok_for_ldd_peep, addrs_ok_for_ldd_peep): - Functions renamed from registers_ok_for_ldd and - memory_ok_for_ldd respectively. All callers changed. - (register_ok_for_ldd): New function to determine if a register is - a pseudo or the first register in a hard register pair. - (mem_aligned_8): No longer static. Return 0 instead of aborting - when presented an rtx which is not a MEM. - (eligible_for_epilogue_delay): Use in_uncond_branch_delay since - this in an unconditional branch. + * protoize.c: Removed __NetBSD__ from conditional. + Declare strerror if HAVE_STRERROR is defined; otherwise + declare sys_errlist and sys_nerr. + (my_strerror): New function. + (errno): Don't define if already defined as a macro. - * sparc.h (EXTRA_CONSTRAINT) Add new 'T' and 'U' constraints - which check for aligned accesses to memory and register pairs. - -Wed Jul 22 11:22:37 1992 Michael Meissner (meissner@osf.org) - - * mips.h (MIPS_VERSION): Bump meissner version number to 22. - (extern declarations): Add declarations for asm_file_name, - call_used_regs, langguage_string, save_argv, version_string, - mips_{begin,end,expand}_{pro,epi}logue, simple_epilogue_p, - {address,const_{double,int},general,{,non}immediate}_operand, - memory_address_p, {{,non}memory,register,scratch}_operand, - abort_with_insn, debug_rtx, fatal_io_error, get_frame_size, - offsettable_address_p, output_address, permalloc, - reg_mentioned_p, abort, atoi, getenv, mktemp, and - mips_expand_{epi,pro}logue. - (*_REGNUM): Add in GP_REG_FIRST in case registers are ever - renumbered. - (struct mips_frame_info): Add num_gp, num_fp fields. - (SECONDARY_MEMORY_NEEDED): Define, return 1 unless -mdebugh if - moving between FP <-> GP registers. - - * mips.c (extern declarations): Move most of the declarations to - mips.h, except for those of type 'rtx' or 'tree', since not all - files include rtl.h and tree.h. Add more declarations for gen_xxx - functions that are now used. - (reg_or_0_operand): Add default case for switch on enumeration, to - allow compiling with -Wall. - (simple_memory_operand): Ditto. - (mips_count_memory_refs): Ditto. - (mips_move_1word): Ditto. - (mips_move_2words): Ditto. - (mips_address_cost): Ditto. - (map_test_to_internal_test): Ditto. - (mips_move_1word): Align asm comments in loading negative ints. - (mips_move_1word): Use GEN_INT macro to generate CONST_INT's. - (mips_move_2words): Ditto. - (gen_int_relational): Ditto. - (block_move_load_store): Ditto. - (block_move_loop): Ditto. - (expand_block_move): Ditto. - (block_move_load_store): #if 0, not currently used. - (block_move_sequence): Ditto. - (compute_frame_size): Fill in num_gp and num_fp fields. - (simple_prologue_p): Rename from null_prologue. - (save_restore_insns): New function to emit appropriate save and - restore operations for prologue/epilogue -- only prologue used at - present. - (function_prologue): Move generation of instructions to - mips_expand_prologue. - (mips_expand_prologue): Generate appropriate insns for the - prologue of the function. - (mips_expand_epilogue): Generate appropriate insns for the - epilogue of the function -- not called at present. - - * mips.md (ashldi3_internal): Add `&' constraint to operand 0. - (ashrdi3_internal): Add `&' constraint to operand 0. - (return): Turn this into a define expand that wraps a return and a - USE reg:31 inside of a parallel. - (return_internal): Insn form of return instruction. - (prologue): New define expand to generate the necessary - instructions for the function prologue. - (mov{si,hi,qi}): Split the integer move INSNs into two groups, - those that support -mdebugh and allow ints to be in floating - point registers, and those that don't allow it. - -Tue Jul 21 21:27:43 1992 Mike Stump (mrs@albert.gnu.ai.mit.edu) - - * Complete 9th Cygnus <---> FSF merge. - - Tue Jul 21 03:17:05 1992 Mark Eichin (eichin@cygnus.com) - - * cp-lex.c (process_next_inline): when bailing out on a parse error, - throw away nextchar as well in case it got set. - - Tue Jul 21 05:31:10 1992 Ken Raeburn (raeburn@cygnus.com) - - * cp-pt.c (tsubst, case FUNCTION_DECL): If the context class has a - null method vector, don't look inside it for its size. - - Thu Jul 16 16:02:55 1992 Per Bothner (bothner@rtl.cygnus.com) - - * cp-typeck.c (convert_for_assignment): If assigning (void*) - to a normal pointer, emit a warning, not an error. There is - a lot of existing code (including libg++ and converted C - code) that expects to be able to assign from (void*). - - Tue Jul 14 06:59:38 1992 Michael Tiemann (tiemann@rtl.cygnus.com) - - * cp-decl.c (finish_function): Call destructors correctly when - baseclasses are replicated in the inheritance hierarchy. - - Mon Jul 13 05:16:10 1992 Michael Tiemann (tiemann@rtl.cygnus.com) - - * cp-typeck.c (build_modify_expr): If we split a COND_EXPR in order - to perform the assignment in each arm, convert the rhs of each - branch according to RESULT_TYPE. - - * cp-typeck.c (convert_for_assignment): Treat null_pointer_node - specially when converting to non-void pointers. - - * cp-class.c (modify_vtable_entries): In the loop that modifies - vtable entries for each non-virtual baseclass, correctly handle - cases where BASE is an ambiguous baseclass for BASE_CONTEXT. - - Sun Jul 12 01:32:31 1992 Mike Stump (mrs@cygnus.com) - - Wed May 27 01:33:24 1992 Ron Guilmette (rfg at ncd.com) - - * cp-type2.c (store_init_value), cp-typeck.c - (build_modify_expr, convert_arguments, - build_binary_op_nodefault, convert_for_assignment), cp-parse.y - (member_init, template_def, datadef, stmt): changed some - pedantics into !traditionals and reworded error messages. - - Sun Jul 12 01:11:53 1992 Mike Stump (mrs@cygnus.com) - - Jul 1992 Ron Guilmette (rfg at ncd.com) - - * cp-decl.c (finish_function): Set BLOCK_SUPERCONTEXT for the - outermost scopes of functions to point to the associated - FUNCTION_DECL nodes. - - Fri Jul 10 17:52:36 1992 Ken Raeburn (raeburn@cygnus.com) - - * cp-decl.c (struct binding_level): New field pseudo_global - indicates that this binding level should be treated like the global - binding level in some respects. - (declare_pseudo_global_level, pseudo_global_level_p): Set and test - routines. - (push_overloaded_decl): Don't forget overloads in pseudo-global - binding levels. - * cp-pt.c (tsubst, case FUNCTION_DECL): Search for an existing decl - before creating a new one. - (overload_template_name): Make new level pseudo-global. - (type_unification): Indicate failure for unknown_type_node. - (unify): Likewise. - - Wed Jul 8 01:59:03 1992 Mike Stump (mrs@cygnus.com) - - * cp-decl.c (lookup_name, grokvardecl, grokdeclarator), - cp-call.c (build_field_call), cp-seach.c (lookup_field), - cp-typeck.c (build_component_ref), cp-lex.c (do_identifier), - cp-init.c (expand_member_init, build_member_call, - build_offset_ref): lookup_field now has 4 arguments. - - Wed Jul 8 01:14:43 1992 Mike Stump (mrs@cygnus.com) - - * cp-parse.y (primary): Call to lookup_name needs 2 arguments. - - Tue Jul 7 21:14:05 1992 Mike Stump (mrs@cygnus.com) - - * cp-method.c (build_overload_name): Handle INTEGER_TYPEs - cleanly and uniformly. - - Tue Jul 7 09:19:52 1992 Michael Tiemann (tiemann@rtl.cygnus.com) - - * cp-call.c (build_method_call): If `convert_to_pointer' returns - error_mark_node, return that without doing any more work. - - Thu Jul 2 15:42:28 1992 Mike Stump (mrs@cygnus.com) - - Thu Jul 2 18:08:42 1992 Chip Salzenberg (chip at tct.com) - - * cp-typeck.c (convert_arguments): Don't assume that error - message will be short enough for fixed-length buffer. - - Wed Jul 1 19:52:59 1992 Mike Stump (mrs at cygnus.com) - - Wed Jun 3 12:57:57 1992 Brendan Kehoe (brendan@cs.widener.edu) - - * cp-decl2.c (grokbitfield): Only do width checking on properly - parsed bitfields. - - Wed Jul 1 18:58:17 1992 Mike Stump (mrs at cygnus.com) - - Wed May 27 01:33:24 1992 Ron Guilmette (rfg at ncd.com) - - * cp-lex.c (readescape), cp-parse.y (unary_expr, maybecomma_warn, - component_decl_list, stmt), cp-type2.c (digest_init), cp-typeck.c - (c_sizeof, build_function_call_real, convert_arguments, - build_binary_op_nodefault, pointer_int_sum, pointer_diff, - build_unary_op, c_expand_return): change some warnings to - pedwarns. Put in new pedwarns, change wording of messages so that - they are more readable. Don't issue some warnings when - traditional is given. - - Wed Jul 1 13:56:30 1992 Mike Stump (mrs at cygnus.com) - - Wed Apr 29 23:37:00 1992 Niklas Hallqvist (niklas at appli.se) - - * cp-decl.c (finish_decl): make sure destructors are called for - objects in a file. - - Wed Jul 1 11:12:05 1992 Mike Stump (mrs at cygnus.com) - - * cp-lex.c: extract YYEMPTY out of the parser generated .c - file and put in the parser .h so that cp-lex.c does not have - to define it. - - Mon Jun 29 12:58:59 1992 Mike Stump (mrs at cygnus.com) - - Mon Jun 29 15:20:48 1992 Chip Salzenberg (chip at tct.com) - - * cp-cvt.c (convert_to_integer): Don't add a NOP_EXPR in cases - where we can simply change the type of the entire tree. - - Mon Jun 29 10:56:56 1992 Mike Stump (mrs at cygnus.com) - - * c++: Makes sure -lg++ comes before -lm since libg++ uses - things from libm. - - Mon Jun 22 13:47:42 1992 Mike Stump (mrs at cygnus.com) - - Sun Jun 21 14:06:41 1992 Brendan Kehoe (brendan at cs.widener.edu) - - * cp-typeck.c (convert_for_initialization): Only try to convert a - rhs that was parsed properly. - - Mon Jun 22 13:31:40 1992 Jim Wilson (wilson at sphagnum.cygnus.com) - - * cp-parse.y (primary): Clear the TREE_USED flag of a block tree - put in a BIND_EXPR. - - Sun Jun 21 09:59:58 1992 Michael Tiemann (tiemann at rtl.cygnus.com) - - * cp-type2.c (build_scoped_ref): Use SCRATCH for head of typelist, - rather than calling alloca. - - Fri Jun 19 16:23:02 1992 Mike Stump (mrs at cygnus.com) - - * cp-pt.c (unify): Type unification of things that do not have a - valid IDENTIFIER_TEMPLATE fail instead of core dumping. - - Wed Jun 17 13:36:04 1992 Michael Tiemann (tiemann at rtl.cygnus.com) - - * cp-pt.c (tsubst): Don't try to substitute into error_mark_node. - - * cp-decl.c (grokparms): Convert initializers that have - TREE_READONLY_DECL_P set into their constant equivalents. - - Tue Jun 16 19:09:23 1992 Mike Stump (mrs at cygnus.com) - - Wed Jun 3 12:57:57 1992 Brendan Kehoe (brendan at cs.widener.edu) - - * cp-decl.c (grokdeclarator): Disallow virtual functions in unions. - - Tue Jun 16 18:11:45 1992 Mike Stump (mrs at cygnus.com) - - Wed Jun 3 12:57:57 1992 Brendan Kehoe (brendan at cs.widener.edu) - - * cp-class.c (finish_struct): Forbid local classes to have static - members. - - Mon Jun 15 21:44:08 1992 Mike Stump (mrs at cygnus.com) - - Tue Jun 2 09:26:34 1992 Brendan Kehoe (brendan at cs.widener.edu) - - * cp-init.c (build_new): Don't allow the use of new on a reference. - - Mon Jun 15 20:52:08 1992 Mike Stump (mrs at cygnus.com) - - Tue Jun 2 09:26:34 1992 Brendan Kehoe (brendan at cs.widener.edu) - - * cp-decl.c (grokparms): Don't allow a local variable to be used - in a default argument expression. - - Mon Jun 15 18:54:28 1992 Mike Stump (mrs at cygnus.com) - - * cp-decl.c (finish_decl): Add an error message for uninitialized - const objects like const int a;. - - Mon Jun 15 16:05:22 1992 Mike Stump (mrs at cygnus.com) - - Not sure if it is strictly necessary for the C++ front end, but... - - Sun May 31 15:31:46 1992 Brendan Kehoe (brendan at cs.widener.edu) - - * cp-typeck.c (self_promoting_args_p): Allow the arg type to be - null (copied from Oct 16, 1991 change by Wood). - - Fri Jun 12 16:42:05 1992 Mike Stump (mrs at cygnus.com) - - * cp-typeck.c (build_binary_op_nodefault): Conditionalize code that - deals with the comparison of non-distinct object types, thus avoiding - a core dump. - - Fri Jun 12 10:23:17 1992 Mike Stump (mrs at cygnus.com) - - Wed Jun 10 19:20:29 1992 Brendan Kehoe (brendan at cs.widener.edu) - - * cp-tree.c (break_out_calls): Begin at 1 less than the length of - the length of the tree code, not the length itself, for generic - expressions and those with side-effects. - - Thu Jun 11 17:43:55 1992 Mike Stump (mrs at cygnus.com) - - * cp-init.c (expand_default_init): New function to handle the - details of default copy constructors and other magic in one place. - - * cp-init.c (expand_aggr_init_1): Implement default constructors - more fully. - - Thu Jun 11 17:16:54 1992 Mike Stump (mrs at cygnus.com) - - * cp-call.c (build_method_call): Don't produce an error message if - we are looking up things speculatively. - - Thu Jun 11 10:58:47 1992 Mike Stump (mrs at cygnus.com) - - * cp-call.c (convert_harshness): Penalize const arguments passed - into non-const parameters. - - Thu Jun 11 10:02:52 1992 Mike Stump (mrs at cygnus.com) - - * cp-typeck.c (build_c_cast): Implement more reference casts so - that one can cast a base reference to a derived reference. - -Tue Jul 21 15:28:36 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - - * sparc.h (SECONDARY_MEMORY_NEEDED): Define to force reload to - handle any copy between GENERAL_REGS and FP_REGS. - - * sched.c (schedule_block): Give some insns high priorities, - instead of excluding them from scheduling, to ensure that they end - up at the end of the block after scheduling. - - * i960.c (i960_output_ldconst): Use REAL_VALUE_FROM_CONST_DOUBLE - instead of pointer indirection to extract double from CONST_DOUBLE. - -Tue Jul 21 14:05:34 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * svr4.h (HANDLE_SYSV_PRAGMA): Defined. - - * sol-crt*.asm: Renamed from sol-crt*.s, and put in config. - * t-sol2 (crt*.o): Changed accordingly. Also use $(AS). - - * gbl-ctors.h (ON_EXIT): Test HAVE_ATEXIT before sun. - -Mon Jul 20 18:56:02 1992 Fred Fish (fnf at fishpond) - - * svr4.h (ASM_OUTPUT_BEFORE_CASE_LABEL): New macro--default definition. - (ASM_OUTPUT_CASE_LABEL): Use that. - * m68ksgs.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Do the swbeg here. - (ASM_OUTPUT_CASE_LABEL): Use that. - - * configure (m68k-*-amix*): Use fixinc.svr4 and install.sh. - - * x-amix (ENQUIRE_CFLAGS): Remove; obsolete. - - * amix.h (TRANSFER_FROM_TRAMPOLINE): Remove #undef. - -Mon Jul 20 17:45:46 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * dbxout.c (dbxout_source_line): New function. - * final.c (output_source_line): Use that. - - * configure (sparc-*-sunos5*): New alias. - (sparc-*-solaris2*): Use t-sol2. - - * i860.md (mulsi3_little, mulsi3_big): New define_expand patterns. - (mulsi3): Just use one of them. - - * Makefile.in (install-fixincludes): Pass second and third args. - -Mon Jul 20 16:07:12 1992 Pat Rankin (rankin@eql.caltech.edu) - - * vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): change _c$main_args to - uppercase instead of relying on gas to make the case translation - -Sun Jul 19 00:04:16 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): New macro. - * c-decl.c (duplicate_decls, grokdeclarator, finish_struct): - Use C_PROMOTING_INTEGER_TYPE_P to decide whether a type promotes. - (start_function): Likewise. - * c-typeck.c (default_conversion): Use C_PROMOTING_INTEGER_TYPE_P - to decide whether a type should promote. - (self_promoting_args_p, self_promoting_type_p): Likewise. - - * c-aux-info.c (gen_type): For array type, state the size. - - * final.c (output_addr_const): Handle ZERO_EXTEND and SIGN_EXTEND. - * expr.c (expand_expr, NOP_EXPR case): If EXPAND_INITIALIZER, - generate ZERO_EXTEND or SIGN_EXTEND; don't emit insns. - - * function.c (assign_parms): Use const0_rtx as DECL_RTL and as - DECL_INCOMING_RTL if tmode of parm is void. - - * jump.c (mark_jump_label): Don't make REG_LABEL for nonlocal label. - * loop.c (add_label_notes): Don't make REG_LABEL for nonlocal label. - (rtx_renumbered_equal_p): Use == to compare nonlocal labels. - - * rtl.h (LABEL_REF_NONLOCAL_P): New macro. - * expr.c (expand_expr): Set LABEL_REF_NONLOCAL_P for nonlocal labels. - * reload1.c (set_label_offsets): Ignore nonlocal labels. - - * c-parse.y (primary): Set TREE_CONSTANT in the NOP_EXPR for an enum. - - * Solaris changes from Cygnus: - - * fixinc.svr4: take a third argument indicating where files to be - copied in should come from (useful when not building in source - directory). - Set TERM to dumb so ex won't hang (by zoo). - * fixincludes: Take the same new argument. - - * gmon-sol2.c: New file. - * t-sol2: New file. - * sol2-crt1.s, sol2-crti.s, sol2-crtn.s: New files. - - * xm-spcv4.h (ONLY_INT_FIELDS): Define, if __GNUC__. - - * sparc.h (FUNCTION_PROFILER): Use ASM_OUTPUT_INTERNAL_LABELREF. - (FUNCTION_BLOCK_PROFILER): Mark with FIXME that it needs work. - (ASM_OUTPUT_INTERNAL_LABELREF): Define. - * spc-sol2.h: Entire file is new except for - defining MD_STARTFILE_PREFIX. - * dbxout.c (dbxout_block): obey DBX_BLOCKS_FUNCTION_RELATIVE - (dbxout_init): Use ASM_IDENTIFY_GCC_AFTER_SOURCE if defined. - - * sparc.h (CONSTANT_ALIGNMENT): Add parens for Sun compiler. - -Sun Jul 19 11:03:56 1992 Fred Fish (fnf at fishpond) - - * i386v4.h (real.h): Remove apparently unnecessary inclusion. - * i386v4.h (HANDLE_SYSV_PRAGMA): Replaces HANDLE_PRAGMA. - -Sat Jul 18 20:37:37 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c-typeck.c (build_binary_op): Don't set shorten for signed division. - - * final.c (end_final): Align the table of addresses. - -Fri Jul 17 23:49:28 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * cexp.y: Include stdio.h. - -Fri Jul 17 06:17:34 1992 Tom Wood (wood@dg-rtp.dg.com) + * alpha.c (current_file_function_operand): Return false if profiling. - * cp-tree.h (DECL_THIS_EXTERN): Renamed from DECL_EXTERNAL. - * cp-pt.c, cp-decl.c: Rename DECL_EXTERNAL -> DECL_THIS_EXTERN and - then rename TREE_EXTERNAL -> DECL_EXTERNAL. + * expr.c (convert_move): Don't access a hard reg in an invalid + mode when doing a truncation. -Fri Jul 17 05:59:26 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * alpha.c (add_operand): Test for exactly the constants allowed by + the constraints. + * alpha.h (CONST_OK_FOR_LETTER_P, case 'L'): Reject 0x80000000. - * function.c (instantiate_decls{,_1}): Don't do instantiation - here if the address is mode-dependent. + * c-parse.in (initdcl, notype_initdcl): Pass attributes to + start_decl; delete call to decl_attributes. + * c-tree.h (start_decl): Two new tree parameters. + * c-decl.c (start_decl): New args for attributes; call decl_attributes. - * libgcc2.c: Include tconfig.h instead of tm.h. - Include machmode.h. - (__do_global_dtors): Cast to widest integer type, then narrow, to - avoid warning if int is narrower than pointer. - * Makefile.in (libgcc2.a): Includes machmode.h. + * c-decl.c (duplicate_decls): Don't look at TYPE_ACTUAL_ARG_TYPES + if it is not set. - * cse.c (cse_insn): Allow paradoxical SUBREGs in the table. + * xm-1750a.h: New file. - * reload.c (secondary_memlocs{,_elim}): New variables. - (get_secondary_mem, clear_secondary_mem): New function. - (push_reload): Convert SUBREG of hard reg to new hard reg. - Call get_secondary_mem when needed. - (find_reloads): Clear secondary_memloc_elim for each insn. - * reload1.c (reload): If SECONDARY_MEMORY_NEEDED, check for frame - size changed. - Call clear_secondary_mem. - (emit_reload_insns, gen_input_reload): Use memory when required to - do reload. - * reload.h (get_secondary_mem): Declare. + * alpha.c (alpha_builtin_saveregs): Add to incoming args addr + if less than 6 named args, not less than or equal to. - * cccp.c (NULL_PTR): Define as void * if STDC. +Mon Apr 24 15:25:19 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * rs6000.md (negdi2): Corrected name; used to be negdi3. + * mips-tfile.c (fatal, error): Make first arg const to avoid warning. - * combine.c (subst, case SET): Put code to move SUBREG after - code that calls make_compound_operation. - (make_extraction): Don't check for INNER a REG except for in dest. - Fix typo checking for REG. - (make_compound_operation): Get the result in the same mode it - used to be. + * stmt.c (expand_end_bindings): Write a BARRIER after call + to abort in nonlocal handler. - * reload.c (push_reload): If a SUBREG requires a secondary reload - but the inner expression doesn't, reload the inner expression - instead. + * stmt.c (expand_decl_init): Call preserve_temp_slots to keep + around any temp whose address was taken. -Fri Jul 17 02:20:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Apr 21 16:26:15 1995 Torbjorn Granlund - * gcc.c (process_command): Handle `-Wl,' and `-Wa,'. - (do_spec_1): Handle %Y. - (default_compilers): Use %Y in assembler commands. + * pa.md (call_internal_reg): Fix typos in length calculation. + (call_value_internal_reg): Likewise. - * function.c (assign_parms): In last change, test mode in parm type. +Fri Apr 21 13:17:15 1995 Roland McGrath -Thu Jul 16 15:03:25 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/gnu.h (STANDARD_INCLUDE_DIR): New macro. + * config/mips/gnu.h (STANDARD_INCLUDE_DIR): Macro moved there. - * loop.c (find_and_verify_loops): Ignore jumps to missing labels, - when using P. +Fri Apr 21 08:23:58 1995 Tom Quiggle (quiggle@lovelace.engr.sgi.com) - * c-typeck.c (build_binary_op): Improve shift warning messages. + * toplev.c (lang_options): Add -I for GNAT. + * gcc.c (default_compilers): Pass -I to gnat1. - * x-dpx2 (AS): Use $(GAS). - (GAS): New variable. +Fri Apr 21 07:58:06 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * mot3300.h (ASM_OUTPUT_CASE_END): Deleted. + * tree.c (integer_all_onesp): Test to size of mode, not TYPE_PRECISION. - * function.c (assign_parms): If arg was passed by invisible - reference, copy it to a pseudo if appropriate. + * toplev.c (main): Turn on -fforce-mem for -O2. - * dwarfout.c (pure_or_virtual_attribute): - Add #if 0 around use of DECL_ABSTRACT_VIRTUAL_P. + * fold-const.c ([lr]rotate_double): Replace; old versions were bogus. + (fold, shift and rotate): Don't call tree_int_cst_sgn on non-integer. + (fold, case LROTATE_EXPR): If constant count, convert to RROTATE_EXPR. + (fold, case RROTATE_EXPR): Sometimes commute logical op with rotate. + Delete pair of counteracting shifts. -Wed Jul 15 16:29:05 PDT 1992 Ron Guilmette (rfg at ncd.com) + * combine.c (simplify_logical, case AND): If still an AND, get + new values for op0 and op1. - * dwarfout.c (BLOCK_INLINE_FUNCTION): Obsolete definition deleted. - (block_ultimate_origin): New function. - (output_block): - Local var `have_significant_locals' renamed to `must_output_die'. - (output_block): Rewritten to handle abstract & concrete instances of - blocks of inline functions. - (output_decls_for_scope): - Don't bump `next_block_number' for abstract blocks. +Thu Apr 20 17:52:10 1995 Jim Wilson - * toplev.c (rest_of_compilation): Call `dwarfout_file_scope_decl' for - both types of "abstract" instances of inline functions. + * sh.c: Completely rewritten. + * sh.h (FAST_BIT, CONSTLEN_2_BIT, CONSTLEN_3_BIT, CONSTLEN_0_BIT, + TARGET_FASTCODE, TARGET_CLEN3, TARGET_CLEN0, TARGET_OPTIONS): Delete. + (TARGET_SWITCHES): Delete -mclen3 and -mclen0 options. + (TARGET_DEFAULT): Is zero. + (OVERRIDE_OPTIONS): Delete code to set max_count_si and max_count_hi. + (SPECIAL_REG): New macro. + (HARD_REGNO_MODE_OK): Allow any mode in any general register. + (GO_IF_LEGITIMATE_ADDRESS): Delete constant + reg address case. + (MOVE_RATIO): Define to 2 when TARGET_SMALLCODE. + (max_si, max_hi, max_count_si, max_count_hi): Delete. + * sh.md: Delete spurious constraints from all define_expands. + (rotlsi3_1): Set T reg instead of clobbering it. + (ashrsi3): Use expand_ashiftrt instead of gen_shifty_op. + (movsi_i, movhi_i, movsf_i): Add conditions to reject patterns + needing a reload. + (movdi-2, movdf_k): Correct conditions to reject patterns needing + a reload. + ([inverse_]branch_{true,false}): Pass operands to output_branch. + (jump): Delete unnecessary braces. + (call, call_value): Don't use expand_acall. Force operand0 into + a register. - * tree.def (BLOCK): Use new tree code category letter 'b' for BLOCKs. - * tree.h (struct tree_block): New struct type definition added. - (BLOCK_VARS, BLOCK_TYPE_TAGS, BLOCK_SUBBLOCKS, BLOCK_HANDLER_BLOCK): - Changed to reference fields of the new `struct tree_block' type. - (BLOCK_ABSTRACT_ORIGIN, BLOCK_ABSTRACT): Definitions added. - (union tree_node): Added `struct tree_block' as a new variant. - * tree.c (typedef tree_node_kind): Added new kind, i.e. `b_kind'. - (tree_node_kind_names): Added string name for new kind `b_kind'. - (make_node, copy_node, stabilize_reference_1): - Handle case 'b' (for BLOCK nodes). - (make_node): Don't try to deal with BLOCKs when doing a type 'e' node. - * print-tree.c (print_node): - Handle type 'b'; delete code for BLOCK from 'e' case. - Handle fields BLOCK_ABSTRACT_ORIGIN and BLOCK_ABSTRACT. - * calls.c (calls_alloca): Don't return 0 automatically if the expr - given is headed by a type 'b' node. - * cp-tree.c (break_out_calls): Add case for decl nodes. - Added case to catch BLOCK nodes (and to abort). - * integrate.c (copy_decl_tree): Set BLOCK_ABSTRACT_ORIGIN in new - instance block if not already set. - (expand_inline_function): Set BLOCK_ABSTRACT_ORIGIN for outermost - scope to point to progenitor (abstract inline) FUNCTION_DECL node. - (integrate_decl_tree): Set BLOCK_ABSTRACT_ORIGIN for inlined instance - BLOCKs. - (set_block_origin_self, set_decl_origin_self, set_block_abstract_flags, - set_decl_abstract_flags): New functions. - (output_inline_function): Call `set_decl_origin_self' for each fndecl - which is about to have an out-of-line instance generated for it. +Thu Apr 20 12:57:16 1995 Jason Merrill -Wed Jul 15 15:08:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * function.c (assign_parms): Use TREE_ADDRESSABLE rather than + TYPE_NEEDS_CONSTRUCTING to decide whether a parameter needs to be + passed by invisible reference. - * c-convert.c (convert_to_integer): Push truncation inside COND_EXPR. + * calls.c (expand_call): Ditto. Abort if we try to pre-evaluate a + parameter of TREE_ADDRESSABLE type. - * optabs.c (emit_cmp_insn): Always do protect_from_queue on x, y, size. - (expand_float, expand_fix): Likewise. - * expmed.c (expand_shift, expand_set_flag): - Call protect_from_queue before convert_to_mode. - * expr.c (convert_move): Don't call protect_from_queue. - (emit_block_move): Protect SIZE. +Wed Apr 19 17:50:24 1995 Torbjorn Granlund - * explow.c (allocate_dynamic_stack_space) [SETJMP_VIA_SAVE_AREA]: - Always call round_push; we can't rely on alignment of size. + * pa.h (TARGET_SWITCHES): Fix typo. -Wed Jul 15 06:47:11 1992 Richard Kenner (kenner@vlsi1.ultra.nyu) +Tue Apr 18 18:06:03 1995 Per Bothner - * combine.c (try_combine): Verify that I2DEST is a register before - trying to change its mode. + * expr.c (store_constructor): Use BYTES_BIG_ENDIAN rather + than BITS_BIG_ENDIAN to layout bits within bitstring. + * tree.c (get_set_constructor_bytes): Likewise. -Tue Jul 14 15:13:28 1992 Jim Wilson (wilson@sphagnum.cygnus.com) +Tue Apr 18 17:22:46 1995 Per Bothner (bothner@wombat.gnu.ai.mit.edu) - * c-decl.c (finish_struct): Handle nested struct redefinitions. - * stor-layout.c (layout_record): Handle NULL dsize. + * config/m68k/{x-hp320,x-hp320g} (FIXPROTO_DEFINES): + Define _HPUX_SOURCE so putenv and other functions get seen. -Tue Jul 14 21:31:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Apr 18 03:57:35 1995 Michael Meissner (meissner@cygnus.com) - * c-decl.c (duplicate_decls, pushdecl, grokdeclarator): - (store_parm_decls, combine_parm_decls, finish_function): - Use TYPE_MAIN_VARIANT when comparing against specific non-void types. - * c-typeck.c (self_promoting_args_p, self_promoting_type_p): - (signed_type, unsigned_type, default_conversion, check_format): - (build_binary_op, c_expand_start_case): Likewise. + * varasm.c (weak_decls): Make this a unique structure, instead of + a tree structure. + (handle_pragma_weak): Don't redeclare asm_out_file. Use new weak + structure to copy name and value to. Protect name and value by + copying them to the permanent obstack. + (declare_weak): Call handle_pragma_weak, instead of duplicating + the code. + (finish_weak): Rewrite to use new weak symbols list structure. -Mon Jul 13 14:57:34 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-pragma.h: New file to define the c-pragma.c interfaces. + * c-pragma.c: Include it. + * varasm.c: Include it. + * c-lex.c: Include it. + * cp/lex.c: Include it. - * c-decl.c (finish_function): Fix braino validating ret type of main. + * varasm.c (handle_pragma_weak): No longer pass output file + stream, since weak pragmas are delayed until the end of the + compilation. + * c-pragma.c (handle_pragma_token): Call handle_pragma_weak + without file stream argument. - * expr.c (expand_builtin): Refer to errno at rtl level only. - * sparc.h (TARGET_EDOM, GEN_ERRNO_RTX): New macros. + * Makefile.in (varasm.o, c-lex.o, c-pragma.o): Add dependencies on + c-pragma.h. -Mon Jul 13 06:35:53 1992 Paul Eggert (eggert@twinsun.com) + * config/rs6000.md (movdf): If -msoft-float, do not generate + memory to memory references, like is already done for the + -mhard-float case. Remove an extra test for -mhard-float inside + of -mhard-float code. - * expr.c (expand_builtin): - For fsqrt, always use the special insn, then test for nan. +Tue Apr 18 06:19:50 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Mon Jul 13 08:45:34 1992 Tom Wood (wood@dg-rtp.dg.com) + * fold-const.c (size_int): Arg is unsigned HOST_WIDE_INT. + * tree.h (size_int): Likewise. - * m88k.md: Constraint fixes from Torbjorn. +Mon Apr 17 23:36:57 1995 Jason Merrill - * jump.c (jump_optimize): In `x = a; if (...) x = b;' allow both a - and b to be non-zero if jumps are very expensive. Also allow a - and b to be constants where all the set bits in a are also set in - b when jumps are merely expensive. + * rs6000/aix41.h: Restore March 11th changes, plus + (ASM_OUTPUT_EXTERNAL): Do add [DS] or [RW], just don't emit + anything. + * rs6000/aix3newas.h (ASM_OUTPUT_EXTERNAL): Ditto. -Sun Jul 12 17:43:03 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Mon Apr 17 15:58:52 1995 Per Bothner - * genpeep.c (match_rtx): Sometimes use %ld when printing an XWINT. + * config/mips/x-iris (FIXPROTO_DEFINES): Add -D_LANGUAGE_C_PLUS_PLUS. + * config/mips/x-iris6: Likewise. - * regclass.c (record_reg_classes): If OP is a REG, use it's mode - in case the mode in MATCH_OPERAND is VOIDmode. + * cpplib.c: Rename make_definition to cpp_define. + * cpplib.h (cpp_define): New declaration. -Sun Jul 12 13:03:54 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cpplib.c (special_symbol): For T_SPECLINE, calculate __LINE__ + in enclosing file buffer, not current buffer (if macro expanding). + (cpp_get_token): Fix thinko (in code for chopping unneeded space). - * fixincludes: Replace the code that finds all directories - so that it looks for subdirs of dir reached via symlinks. +Mon Apr 17 11:36:07 1995 Jim Wilson - * cp-tree.h (IDENTIFIER_VIRTUAL_P): Macro moved here. - * tree.h (IDENTIFIER_VIRTUAL_P): Deleted from here. + * abi64.h (CPP_SPECS): Define and use _ABI64 instead of + _MIPS_SIM_ABI64. + (SETUP_INCOMING_VARARGS): Set MEM_IN_STRUCT_P if big endian target. + * iris6.h (ASM_IDENTIFY_GCC, ASM_IDENTIFY_LANGUAGE): Define. - * rtl.h (NOTE_BLOCK_NUMBER, SET_NOTE_BLOCK_NUMBER): New macros. - (NOTE_DECL_NAME, NOTE_DECL_CODE, ...): #if 0'd. - * function.c (identify_blocks, reorder_blocks): New functions. - (all_blocks, blocks_nreverse): New functions. + * combine.c (get_last_value): Ignore BARRIER when scanning backwards. + (move_deaths): New variables before_dead and after_dead. Set them + to instructions that have valid INSN_CUID values and use in test. - * isi.h: Deleted the #error; file should work now. - (LIB_SPEC): Use -lg only once. - (STRUCTURE_SIZE_BOUNDARY): Defined. + * combine.c (subst_prev_insn): New variable. + (try_combine): Set it. + (get_last_value): Use it. - * protoize.c (process_aux_info_file): Set must_create before jumping to - start_over. Don't clear must_create at start_over. Don't test - source file mod time for SYSCALLS. + * reload.c (find_reloads): Recompute reg_equiv_address from + reg_equiv_memory_loc before using it. + (find_reloads_toplev, make_memloc): Likewise. - * machmode.h (GET_MODE_NUNITS): Avoid division by zero. + * expr.c (expand_builtin, case BUILT_IN_MEMCPY): Call force_operand + on dest_rtx before returning it. -Sat Jul 11 22:21:47 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * function.c (instantiate_decls): Use temporary allocation if + DECL_DEFER_OUTPUT is set. - * objc-parse.y (primary): Don't test TREE_EXTERNAL; - call assemble_external regardless. +Sat Apr 15 23:19:03 1995 Jason Merrill - * tree.h (DECL_INLINE, DECL_NONLOCAL, DECL_REGISTER, DECL_EXTERNAL): - Renamed from TREE_INLINE, TREE_NONLOCAL, TREE_REGDECL, TREE_EXTERNAL. - All uses changed. + * aoutos.h (ASM_OUTPUT_DEF): Define instead of SET_ASM_OP. + * sparc/sunos4.h (ASM_OUTPUT_DEF): Ditto. - * xm-hp320.h (USG): Define it. + * varasm.c (weak_finish): Don't handle aliases. + (declare_weak): Ditto. + (assemble_alias): Handle aliases. -Sat Jul 11 21:43:56 1992 Michael Meissner (meissner@osf.org) + * c-common.c (enum attrs): Add A_ALIAS. + (init_attributes): Ditto. + (decl_attributes): Ditto. - * mips.h (MIPS_VERSION): Bump meissner version number to 21. +Sat Apr 15 13:26:34 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * mips.md (andsi3, iorsi3, xorsi3): Make predicates match the - actual machine, since combine can now recreate the bitfields, and - doesn't do multiple logical operations when setting more than one - bitfield in a word. + * calls.c (expand_call): Call preserve_temp_slots on temps + made for BLKmode args returned in registers. - * objc-actions.c (xmalloc, free): Don't provide extern decls for - these, since tree.h and rtl.h both now provide them. + * pa.c (override_options): Fix typo. - * cp-lex.c (real_yylex): Declare a variable i, since a for loop - uses it as an index. Remove an extra '(' from a build_int_2 call. +Sat Apr 15 12:11:46 1995 Brendan Kehoe -Sat Jul 11 13:13:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * alpha/alpha.c (output_epilog): Initialize fp_offset to 0, and + make sure it's non-zero before we try to use it to restore the + frame pointer. - * varasm.c: Get rid of default definitions of ASM_OUTPUT_CONSTRUCTOR - and ASM_OUTPUT_DESTRUCTOR. +Fri Apr 14 19:45:05 1995 Jason Merrill - * c-aux-info (affix_data_type): Don't be fooled by names starting - with `const' or `volatile'. + * ginclude/va-{clipper,pa,pyr,sparc,spur}.h (va_arg): Reorganize + to avoid BIND_EXPRs and COND_EXPRs of aggregate type. - * c-typeck.c (digest_init): Deal with nested {...} for scalar. +Fri Apr 14 19:31:14 1995 Roland McGrath - * loop.c, reload1.c: Include stdio.h before config.h. + * config/svr4.h (ASM_OUTPUT_SECTION_NAME): Make the section + read-only executable "ax" if DECL is a FUNCTION_DECL; read-only + "a" (previously the case always) if DECL is TREE_READONLY; + otherwise writable "aw". - * toplev.c (rest_of_compilation): Save and restore DECL_ARGUMENTS. +Fri Apr 14 18:49:11 1995 Linus Torvalds -Fri Jul 10 22:42:34 1992 Paul Eggert (eggert@twinsun.com) + * alpha.md (probe_stack): Probe with write, not read. + (allocate_stack): Update and correct stack probe code. + * alpha.c (output_prolog): Changed stack probe at function entry. - * tree.c (build_real_from_int_cst): Truncate when folding to float. - (real_value_from_int_cst): Do not treat the topmost bit - of an unsigned long long value as a sign bit. +Fri Apr 14 18:42:34 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cse.c (simplify_binary_operation): Don't optimize 0.0/x to 0.0 - if IEEE floating point is used, because x might be negative or NaN. + * jump.c (delete_insn): When deleting after label, delete + a BARRIER as well. -Fri Jul 10 15:37:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Apr 14 14:40:48 1995 Jason Merrill - * genpeep.c (match_rtx): Handle `w' elts of rtx. + * toplev.c (compile_file): Call weak_finish. - * Makefile.in (INTERNAL_CFLAGS): Add -DIN_GCC. + * c-common.c (enum attrs): Add A_WEAK. + (init_attributes): Ditto. + (decl_attributes): Support __attribute__ ((weak)) by + calling declare_weak. -Fri Jul 10 18:56:22 1992 Eric Youngdale (youngdale@v6550d.nrl.navy.mil) + * sparc/sunos4.h (HANDLE_PRAGMA_WEAK, WEAK_ASM_OP, SET_ASM_OP): + Define to support weak symbols with -fgnu-linker. + * aoutos.h: Ditto. - * cccp.c (finclude): Clean error msf if file_size_and_mode fails. + * varasm.c (handle_pragma_weak): Add declared weak symbols to + weak_decls rather than emitting them immediately. + (declare_weak): Add the indicated declaration to weak_decls. + (weak_finish): Emit .weak directives for any weak symbols. -Fri Jul 10 13:44:46 1992 Howard Chu (hyc@hanauma.jpl.nasa.gov) + * libgcc2.c: The C++ free-store management functions are weak. - * fx2800.h (LINK_LIBGCC_SPECIAL): Defined. - (DBX_OUTPUT_STANDARD_TYPES): Check that DECL_NAME(decl) exists - before trying to get its IDENTIFIER_POINTER. +Fri Apr 14 13:00:29 1995 Michael Meissner (meissner@cygnus.com) -Thu Jul 9 20:56:01 1992 Per Bothner (bothner@rtl.cygnus.com) + * rs6000/rs6000.c (output_prolog): For eabi systems, emit main's + call to __eabi before setting up the minimal TOC used with the + -mrelocatable support. - * dbxout.c (dbxout_type_methods): Fix minimal_debug so - that it skips a redundant class name prefix, as intended. - It now expects the length digits that precede the class name. + * rs6000/eabi.h (INVOKE__main): Don't define any more, + output_prolog will emit the call. -Thu Jul 9 18:23:12 1992 Torbjorn Granlund (tege@wombat.gnu.ai.mit.edu) +Fri Apr 14 09:09:03 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in, libgcc2.c, longlong.h: Rename udiv_using_sdiv to - udiv_w_sdiv. + * alpha.c (call_operand): Any reg is valid for NT. + (output_prologue): Never need GP for Windows/NT. + Set SYMBOL_REF_FLAG in current function decl. -Thu Jul 9 18:10:40 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Apr 13 20:19:30 1995 Jason Merrill - * tree.h (STRIP_TYPE_NOPS): New macro. - * c-decl.c (build_enumerator): Use STRIP_TYPE_NOPS. - * c-typeck.c (default_conversion): Use STRIP_TYPE_NOPS. - (build_binary_op, build_function_call): Likewise. - * c-common.c (check_case_value): Use STRIP_TYPE_NOPS. + * alpha/xm-alpha.h (HAVE_VPRINTF): Define. + (HAVE_PUTENV): Define. + (POSIX): Define. - * mot3300.h (ASM_OUTPUT_CASE_END): New macro. - * m68k.c (switch_table_difference_label_flag): New variable. +Thu Apr 13 19:57:44 1995 Doug Evans - * i860.md (QI and HI bte/btne patterns): Deleted. + * emit-rtl.c (gen_sequence): If the insn has a non-null + CALL_INSN_FUNCTION_USAGE field, output it as a sequence so the + latter isn't discarded. -Thu Jul 9 06:09:20 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * c-parse.in: Update expected conflict count. - * c-typeck.c (default_conversion): Don't use STRIP_NOPS. +Thu Apr 13 08:10:20 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * print-rtl.c: Missing merge from 64-bit changes. - (print_rtx): Add new case 'w'. + * configure.bat: Arg 2 is which machine (i386 or alpha). + * configure (alpha-*-winnt3*): New configuration. + * alpha.c: Don't #include stamp.h for WINNT. + (input_operand, case CONST): Allow ptr_mode and DImode. + * alpha.h (WINDOWS_NT): Provide default definition. + (ASM_OUTPUT_INT): Use output_addr_const. + (ASM_OUTPUT_ADDR_DIFF_ELT): Use .long for NT. + * alpha.md (calll, tablejump, movsi): New variants for NT. + * alpha/winnt.h, alpha/xm-winnt.h, alpha/x-winnt: New files. + * alpha/config-nt.bat, alpha/config-nt.sed: New files. + * i386/config-nt.bat: Add Ada fragments to Makefile. + * i386/config-nt.sed: Adjust for deletion of config.run in Makefile.in + Change version to 2.6.3. + Add some missing tabs. + * winnt/winnt.h (TARGET_MEM_FUNCTIONS): Define. + (LINK_SPEC): Delete "align:0x1000". + * winnt/xm-winnt.h (OBJECT_SUFFIX): Define. + * ginclude/stdarg.h, ginclude/varargs.h: Clean up code that + defines *DEFINED* symbols. -Wed Jul 8 14:35:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * configure (a29k-*-sym1*): Same as a29k-*-bsd*. + * a29k.h (ASM_OUTPUT_SECTION_NAME): New macro. - * fixincludes, fixinc.svr4: Error if no argument. +Wed Apr 12 14:36:03 1995 Jim Wilson - * tree.c (integer_zerop, integer_onep, integer_all_onesp): - (integer_pow2p, real_zerop, real_onep, real_twop): Use STRIP_NOPS. - * expr.c (do_store_flag): Likewise. - * varasm.c (output_constructor): Likewise. - * c-decl.c (finish_struct, build_enumerator): Likewise. - * c-typeck.c (default_conversion, build_binary_op): Likewise. - (build_function_call): Likewise. + * dbxout.c (dbxout_type_fields): Correct arguments to CHARS macro + in flag_minimal_debug case. + (dbxout_symbol_name): Use DECL_ASSEMBLER_NAME unconditionally. + * sdbout.c (sdbout_record_type_name): Correct indentation. + (sdbout_symbol): Use DECL_ASSEMBLER_NAME unconditionally. + (sdbout_one_type): Likewise. - * integrate.c (integrate_decl_tree): Get rid of arg functionbody; - it was always 0. +Tue Apr 11 13:24:13 1995 Per Bothner - * mot3300.h: Fix typo. + * fix-header.c (main): Fix loop over required_functions_list. + (fatal): Also print inc_filename. - * final.c (leaf_renumber_regs_insn): Handle new 'w' format. + * cpplib.c (cpp_push_buffer): Added missing initializatuon of buf. + (cpp_file_buffer): Compare against CPP_NULL_BUFFER, not NULL. + (finclude): No longer call cpp_push_buffer - let callers do it. + (do_include): Add call to cpp_push_buffer. + (push_parse_file): Call cpp_push_buffer early, so initial + defines can use file and line from a valid cpp_buffer. + (nreverse_pending): New function. + (push_parse_file): Use nreverse_pending. + (push_parse_file): For -include files, just push them in reverse + order - we don't need to scan them now. + (cpp_error_from_errno, cpp_perror_with_name): Don't emit extra '\n'. -Wed Jul 8 15:18:33 PDT 1992 Ron Guilmette (rfg at ncd.com) +Tue Apr 11 13:36:44 1995 Jim Wilson - * tree.h (DECL_ABSTRACT_ORIGIN, DECL_ABSTRACT): Definitions added. - (struct tree_decl): New fields `abstract_origin' & `abstract_flag'. - (struct tree_decl): Field `from_inline_flag' deleted. - (DECL_FROM_INLINE): Definition revised to check DECL_ABSTRACT_ORIGIN. - * integrate.c (copy_decl_list): New function added. - (save_for_inline_copying): Call `copy_decl_list' for formal parameters. - Set DECL_ABSTRACT_ORIGIN for fndecl to point to itself. - (copy_decl_tree): Use `copy_decl_list' rather than just `copy_list'. - (integrate_parm_decls, integrate_decl_tree): Set DECL_ABSTRACT_ORIGIN - to point to the progenitor. - * print-tree.c (print_node): Print the value of DECL_ABSTRACT_ORIGIN - rather than the value of DECL_FROM_INLINE. + * configure (mips-dec-mach3): Add. - * dwarfout.c (output_inlined_enumeration_type_die): New function. - (output_inlined_structure_type_die, output_inlined_union_type_die): - New functions added. - (output_entry_point_die, output_formal_parameter_die, - output_global_subroutine_die, output_global_variable_die, - output_label_die, output_lexical_block_die, - output_inlined_subroutine_die, output_local_variable_die, - output_local_subroutine_die): - Fixed to handle inline abstract & concrete (i.e. inlined) instances. - (output_inlined_subroutine_die): Deleted. - (output_label_die): Don't permit the rtx associated with a named - user-declared label to be marked as INSN_DELETED_P. - (output_tagged_type_instantiation): New function added. - (output_decl): Call `output_tagged_type_instantiation'. - Don't generate a pubnames label for anything marked as DECL_ABSTRACT. - (output_die): Generate the proper kind fo DIE for each of the four - possible combination of {normal, inlined} {variable, parameter}. - (dwarfout_file_scope_decl): Don't generate pubnames entries if - strictly abstract. + * sh.c (shiftby_operand): Delete. + * sh.h (TARGET_SWITCHES): -m3 and -m3l also set SH2_BIT. + (OVERRIDE_OPTIONS): Don't add CPU_SH2 to CPU_SH3 when TARGET_SH3. + * sh.md (ashlsi3): Use nonmemory_operand as a predicate instead of + shiftby_operand. Don't use shiftby_operand in the output statement. + (lshrsi3): Likewise. - * dwarfout.c (ordering_attribute): Only def if USE_ORDERING_ATTRIBUTE - is defined. - (output_array_type_die): Only call ordering_attribute if it is defined. - (name_and_src_coords_attributes): Don't make it inline. - Do make it static linkage. - (const_value_attribute): Catch invalid kinds of rtx nodes - by aborting for the default case in switch. + * c-decl.c (poplevel): Do output inline function if + DECL_ABSTRACT_ORIGIN points to itself. - * dwarfout.c (output_ptr_to_mbr_type_die): Make it static linkage. - (output_formal_types): Make sure that `formal_type' is initialized. - (output_type): Add a default case for switch. - (output_decl): Don't suppress DIEs for the initial (artificial) - arguments for C++ static member functions. + * varasm.c (output_constant): Cast assemble_string argument to char *. - * dwarfout.c (ceiling, field_type, simple_type_align_in_bits, - simple_type_size_in_bits, field_byte_offset): New functions added. - (data_member_location_attribute): Use new routine `field_byte_offset' - to calculate the offset value for the AT_location attribute. - (byte_size_attribute): Use new routine `field_type' to get the - actual type for any FIELD_DECL. Also, use `simple_type_size_in_bits' - to avoid potential problems with ERROR_MARKs when computing the size - of a FIELD_DECL. - (bit_offset_attribute): Rewritten to use `field_byte_offset' when - determining the start of the "containing object". +Mon Apr 10 14:29:28 1995 Torbjorn Granlund - * integrate.c (expand_inline_function): Integrate parameters before - locals to get debugging information in the proper order. - (integrate_decl_tree): Don't do a redundant pushlevel/poplevel for - the outermost scope (i.e. when level==0)... just use the one created - by `expand_inline_function'. + * recog.c (constrain_operands, case 'E'): Make this work like + constraint character `F' when REAL_ARITHMETIC is defined. + * regclass.c (record_reg_classes, case 'E'): Likewise. + * reload.c (find_reloads, case 'E'): Likewise. - * calls.c (calls_alloca): For BLOCK, walk subblocks and vars by hand. +Mon Apr 10 14:30:31 1995 Michael Meissner -Wed Jul 8 13:31:19 1992 Michael Meissner (meissner@osf.org) + * rs6000/aix3newas.h, rs6000/aix41.h: Eliminate March 11th changes + to undefine ASM_OUTPUT_EXTERNAL{,_LIBCALL}, since this causes the + compiler not to bootstrap. - * cp-decl.c (print_binding_level): Fix typo, where 'lbl' was used - instead of 'lvl'. +Mon Apr 10 07:17:39 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * objc-actions.c (build_shared_structure_initializer): Correct call - to build_int_2 which had only one argument, instead of two. + * cppalloc.c: #include config.h. + * cppexp.c: Add declarations of xmalloc and xrealloc. + (cpp_parse_expr): Cast args to bcopy to char *. + * cpphash.c: Add declaration of xmalloc. + * cpplib.c (init_parse_options, cpp_reader): Cast args to bcopy, + bcmp, and bzero to char *. + (add_import, push_parse_file, init_parse_file): Likewise. -Wed Jul 8 06:37:40 1992 Torbjorn Granlund (tege@sics.se) + * c-common.c (enum attrs): New attribute, A_NOCOMMON. + (init_attribute): Initialize it. + (decl_attributes): Implement it. + * varasm.c (make_decl_rtl): Allow section attribute if -fno-common + or variable is not to be placed in common for some other reason. - * gstdarg.h, gvarargs.h: Test `__hppa__' instead of `__hp9000s800__'. + * combine.c (simplify_set): Don't move a SUBREG to dest if it + is changing the size of a hard reg in CLASS_CANNOT_CHANGE_SIZE. - * romp.md (zero_extendhisi2): Remove unneeded constraint. + * reload.c (find_equiv_reg): If goal is a pseudo that got memory, + a store into memory makes it invalid. + * reload1.c (reload_as_needed): Call forget_old_reloads_1 on + pattern before reg elimination. - * rs6000.md (zero_extendhisi2): Remove unneeded constraint. - (lu/stu): Use %0 instead of %1 in assembler insns. - (call_value): Add missing "=" in constraint. +Mon Apr 10 00:26:14 1995 Jeffrey A. Law -Wed Jul 8 06:30:20 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * pa.c (pa_reorg): Bump label use count for each entry in an + exploded ADDR_VEC. - * rs6000.md (floatsidf): Correctly handle case when SImode operand - overlaps the first DFmode register. +Sun Apr 9 09:22:51 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * fold-const.c (distribute_bit_expr, range_test, fold_truthop): - Use TRUTH_AND_EXPR instead of BIT_AND_EXPR so invert_truthvalue works. + * i386.md (adddi3, subdi3): Need scratch reg whenever operand 0 in + mem and operands 1 not '0'. + (subdi3): Don't treat two non-equal MEMs as non-aliasing. - * c-decl.c (grokdeclarator): Strip all NOP_EXPRs from SIZE. +Sat Apr 8 22:53:38 1995 Jeffrey A. Law - * integrate.c: Do 64-bit changes (this file omitted the last time). - Replace use of NULL and 0 in functions args with NULL_RTX. - (copy_rtx_and_substitute, subst_constants): Handle "w" rtl - operand class. + * pa.c (pa_reorg): Fix typo. - * rs6000.h (LINK_SPEC): Support -static. +Sat Apr 8 19:36:36 1995 Michael Meissner - * tree.c (make_node, copy_node, make_tree_vec, tree_cons, build1): - Clear or copy tree nodes in a consistent manner, referencing - every byte of the node. + * rs6000/rs6000.h (SELECT_SECTION): TREE_CODE_CLASS must be called + with a tree code, not a tree value. - * regclass.c: Initialize REG_CLASS_CONTENTS into an array of - ints, then copy into a HARD_REG_SET to avoid conditionalization - of REG_CLASS_CONTENTS on 64-bit machines. +Sat Apr 8 12:41:01 1995 Mike Stump - * c-common.c (check_case_value): Strip the NOP_EXPR added by - the grammar. - * stmt.c (pushcase, pushcase_range): Don't do it here. + * cpphash.c: Don't use const on compilers that don't support it. - * c-lex.c (yylex): Ensure TOTAL_PARTS is wide enough to store a - constant as wide as we can store in an INTEGER_CST. - (LONG_LONG_TYPE_SIZE): Deleted; no longer needed. +Sat Apr 8 16:32:22 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Jul 7 15:50:38 1992 Chip Salzenberg (chip@tct.com) + * expr.c (expand_increment): Handle case where INCREMENTED + has a non-trivial conversion. - * x-i386sco (XCFLAGS): Omit flags specific to "rcc". - (CC, OLDCC): Put them here instead. +Fri Apr 7 19:33:21 1995 Phil Nelson (phil@cs.wwu.edu) -Tue Jul 7 18:57:10 1992 Mike Stump (mrs@wombat.gnu.ai.mit.edu) + * ns32k.h (TRAMPOLINE_TEMPLATE, TRANSFER_FROM_TRAMPOLINE): + Fix assembler syntax errors. - The below entries should make DWARF debugging a little bit easier. +Fri Apr 7 19:27:23 1995 Pat Rankin (rankin@eql.caltech.edu) - * cp-decl.c (pushdecl): IDENTIFIER_GLOBAL_VALUE should not be _DECL - nodes but rather TYPE_DECLs. + * cccp.c (VMS_fstat, VMS_stat): New functions. - * cp-decl.c (pushtag): Mark binding layer markers as internal. +Fri Apr 7 19:25:21 1995 Paul Eggert - * cp-class.c (finish_struct): Propagate internal mark on binding - layer markers. + * cccp.c (collect_expansion): If traditional, set stringify + member to SHARP_TOKEN regardless of the value of + stringify_sharp_token_type. - * cp-decl2.c (finish_file): Don't name things that should not be - named. +Fri Apr 7 07:48:35 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-method.c (decl_as_string): New back-end routine for - substitute_nice_name. + * cse.c (simplify_unary_operation): #ifdef POINTERS_EXTEND_UNSIGNED, + handle sign- or zero-extending addresses. - * cp-decl2.c (substitute_nice_name): New function used to create - reasonable DECL_NAMEs from cyrptic ones. + * optabs.c (init{,_integral,_floating,_complex}_libfuncs): + Change SUFFIX to "char" to avoid confusion with prototype. - * cp-decl2.c (grokclassfn): Use substitute_nice_name. + * explow.c (convert_memory_address): No longer static. + New arg, TO_MODE. + Do something special for SYMBOL_REF, LABEL_REF, and CONST. + (memory_address): Add extra arg to call to convert_memory_address. + * rtl.h (convert_memory_address): Add extra arg. + * expr.c (expand_expr, case ADDR_EXPR): Always call + convert_memory_address when converting; add extra arg. + * stmt.c (expand_computed_goto): Convert from ptr_mode to Pmode. -Tue Jul 7 14:04:01 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * gcc.c (OBJECT_SUFFIX): Default now ".o", not "o". + (all specs): Remove "." before %O; use %O in a few missing cases. + * i386/os2.h (OBJECT_SUFFIX): Delete from here. + * i386/xm-os2.h (OBJECT_SUFFIX): Move to here; now has period. - * expr.c (emit_move_insn): Don't try subwords for a single word. + * Makefile.in (STAGESTUFF): Use $(exeext) for executables. - * gcc.c (find_a_file, putenv_from_prefix): - Handle value of 2 in require_machine_suffix. - (process_command): Supply 2 for standard_exec_prefix{,_1}. +Fri Apr 7 03:32:29 1995 Richard Stallman - * gstdarg.h: Undefine _BSD_VA_LIST if we define va_list. + * config.sub: Accept -lites* as op sys. - * cccp.c (append_include_chain): Fix setting of first_bracket_include. +Thu Apr 6 23:08:50 1995 Per Bothner - * loop.c (init_loop): Use word_mode, not SImode. + * cpplib.c (bcopy, bzero, bcmp): Remove #undefs. + * cppalloc.c (xcalloc): Re-implement using calloc, + rather than malloc+bzero. + * cpplib.c (SELF_DIR_DUMMY): New macro. + (do_include): Don't pass searchptr to finclude if it is dsp, + since that is on the stack, and would cause a dangling pointer. + If handling #include_next, recognize SELF_DIR_DUMMY. - * x-dpx2: New file. - * x-dpx2200, x-dpx2300: Files deleted. - * configure (m68k-bull-sysv*): Fatal error unless --with-gas. - Always use x-dpx2. +Fri Apr 7 00:54:24 1995 Jeffrey A. Law - * libgcc2.c (XFtype): Turn off definition; not used. - (TFtype): Define only if needed. + * pa.h (MACHINE_DEPENDENT_REORG): Define. + * pa.md (switch_jump): New pattern for jumps which implement + a switch table. + * pa.c (pa_reorg): New function to explode jump tables. + (pa_adjust_insn_length): Account for jumps in switch tables with + unfilled delay slots. -Tue Jul 7 11:57:44 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) +Thu Apr 6 14:31:10 1995 Jason Merrill - * tahoe.md (call_value): Add `=' to output operand constraint. - * arm.md (call_value): Likewise. - * gmicro.md (negsf2, negdf2, abssf2, absdf2): Likewise. - (peephole for moving returned value to fp reg): Likewise. + * c-typeck.c (build_binary_op): Don't call common_type for + uncommon pointer types. - * longlong.h (SI_TYPE_SIZE): Renamed from LONG_TYPE_SIZE. +Wed Apr 5 13:53:17 1995 Per Bothner - * longlong.h (machine independent code): #define udiv_qrnnd to call - __udiv_using_sdiv if we have sdiv_qrnnd but not udiv_qrnnd. - * libgcc2.c (__udiv_using_sdiv): New function. - * Makefile.in (LIB2FUNCS): Add __udiv_using_sdiv. + Re-write fixproto/fix-header/etc to use cpplib: + * fix-header.c: Comment out support for adding missing extern "C" + using #ifdef ADD_MISSING_EXTERN_C instead of #if 0. + * fixproto: Removed case of required functions. Instead use ... + * fix-header.c (std_include_table): ... new required-functions table. + (cpp_file_line_for_message, cpp_print_containing_files, cpp_message): + New stub functions, to intercept cpplib error message. + * fixproto: Don't call $CPP, since fix-header now incorporates cpplib. + * gen-protos.c (fatal, hashf): New functions. + (main): Use hashf, instead of hash. + * scan-decls.c (scan_decls, skip_to_closing_brace): Re-write to + take a cpp_reader* as argument, not a FILE*. + * scan.h (hash): Make parameter const. + * scan.c (hash): Removed. + * scan.c (memory_full, xmalloc, xrealloc): Removed. + Use functions from cppalloc.c instead. + * Makefile.in (gen-prtos, fix-header, stmp-fixproto): Update. -Mon Jul 6 23:28:29 1992 Mike Stump (mrs@wombat.gnu.ai.mit.edu) +Wed Apr 5 13:24:14 1995 Per Bothner - * cp-dem.c, cp-lex.c, cp-method.c, cp-xref.c: Do not include - string.h or strings.h. + * cpplib.c (cpp_get_token): If traditional, return after comment, + instead of reading more, so end-of-line can be peeked at. + * cpperror.c (cpp_file_line_for_message, cpp_message): New + functions, that do the actual printing of error messages. + (cpp_print_file_and_line, cpp_error, cpp_warning, cpp_pedwarn, + cpp_error_with_line, cpp_warning_with_line, cpp_pedwarn_with_line, + cpp_pedwarn_with_file_and_line, cpp_error_from_errno, my_strerror, + cpp_perror_with_name): Re-write to use cpp_file_line_for_message + and cpp_message, and move to cpplib.c. -Mon Jul 6 18:32:31 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Tue Apr 4 23:35:49 1995 Roland McGrath - * emit-rtl.c (operand_subword): Avoid conditionals in macro arg. + * config/gnu.h (GNU_CPP_PREDEFINES): Remove -D__HURD__. - * Changes to support execution on 64-bit machines. - * machmode.h (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT, HOST_PTR_PRINTF): - Provide default definitions. - (MAX_SHORT): New macro. - (GET_MODE_BITSIZE): Cast result and shift constant to HOST_WIDE_INT. - * rtl.h (union rtunion_def): Add field rtwint. - (XWINT): New accessor macro. - (INTVAL): Use XWINT, not XINT. - (exact_log2, floor_log2, plus_constant, plus_constant_for_output): - Now macros that cast arg to HOST_WIDE_INT. - (NULL, NULL_PTR): Provide default definitions. - (GEN_INT): New macro. - (get_integer_term): Now returns HOST_WIDE_INT. - * tree.h (NULL, NULL_PTR): Provide default definitions. - (INT_CST_LT, INT_CST_LT_UNSIGNED): Cast to HOST_WIDE_INT. - (struct tree_int_cst): Pieces of constant are HOST_WIDE_INT, not - long. - (exact_log2, floor_log2, build_int_2): Now macros, like rtl.h. - * real.h (REAL_VALUE_TYPE, union real_extract): Use HOST_WIDE_INT, - not long. - (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH): Use XWINT instead of XINT. - * rtl.def (CONST_INT): Operand type now "w". - (CONST_DOUBLE): Change operands from type "i" to "w". - * basic-block.h (REGSET_ELT_BITS): Always use HOST_BITS_PER_WIDE_INT. - (REGSET_ELT_TYPE): New macro; same as HOST_WIDE_INT. - * expr.h (ARGS_SIZE_RTX): Use NULL_RTX in expand_expr call. - (plus_constant): Remove duplicate declaration. - * hard-reg-set.h (HARD_REG_SET): Only scalar type we use - is HOST_WIDE_INT; array is array of HOST_WIDE_INT. - * loop.h (struct induction): Field CONST_ADJUST is now HOST_WIDE_INT. - (loop_n_iterations): Now unsigned HOST_WIDE_INT. - (loop_iterations): Returns HOST_WIDE_INT. - * c-parse.y, cexp.y, c-decl.c, c-lex.c, c-typeck.c, caller-save.c: - Change 0 or NULL when passed as a parameter that should be a pointer - to NULL_TREE, NULL_RTX, or NULL_PTR, as appropriate. - * calls.c, cccp.c, combine.c, cp-lex.c, cse.c, dbxout.c: Likewise. - * dwarfout.c, emit-rtl.c, explow.c, expmed.c, expr.c: Likewise. - * final.c, flow.c, fold-const.c, function.c, gcc.c: Likewise. - * genattrtab.c, genpeep.c, genrecog.c, global-alloc.c: Likewise. - * jump.c, local-alloc.c, optabs.c, recog.c, reg-stack.c: Likewise. - * regclass.c, reload.c, reload1.c, reorg.c, rtl.c: Likewise. - * rtlanal.c, sched.c, sdbout.c, stmt.c, stor-layout.c: Likewise. - * toplev.c, unroll.c, varasm.c, loop.c, xcoffout.c: Likewise. - * caller-save.c, combine.c, cp-class.c, cp-decl.c, cp-method.c: - Cast and declare objects used to refer to wide values as HOST_WIDE_INT. - Use HOST_BITS_PER_WIDE_INT instead of HOST_BITS_PER_INT. - * cp-pt.c, cp-type2.c, cp-typeck.c, cse.c, dbxout.c: Likewise. - * dwarfout.c, emit-rtl.c, explow.c, expmed.c, expr.c: Likewise. - * final.c, fold-const.c, genattrtab.c, recog.c, reg-stack.c: Likewise. - * regclass.c, reload.c, sched.c, stmt.c, stor-layout.c: Likewise. - * loop.c, toplev.c, unroll.c, varasm.c: Likewise. - * caller-save.c, combine.c, flow.c, global-alloc.c, reorg.c, sched.c: - When refering to regsets, use type REGSET_ELT_TYPE. - * calls.c, combine.c, emit-rtl.c, explow.c, expmed.c, expr.c, final.c: - Use GEN_INT macro when making CONST_INTs. - * function.c, jump.c, loop.c, optabs.c, recog.c, reload1.c: Likewise. - * unroll.c: Likewise. - * cp-decl.c, cp-ptree.c, print-tree.c: Use HOST_PTR_PRINTF when - printing pointer values. - * cccp.c, cexp.y, gcc.c (NULL, NULL_PTR): Provide default definition. - * c-common.c (NULL): Remove definition from here. - * c-decl.c (NULL): Likewise. - (finish_struct): Ensure high-order part of width is zero. - * cp-decl.c (finish_enum): Likewise. - * c-lex.c (yylex): Call build_int_2 in more portable way. - (yyprint): Print constant different ways, depending on host parameters. - * final.c (output_asm_insn, output_addr_cont): Likewise. - * genattrtab.c (write_test_expr): Likewise. - * print-tree.c (print_node_brief, print_node): Likewise. - * cp-decl.c (xref_tag): Remove explicit reference to modes. - * cp-method.c (build_overload_value): Likewise. - * cp-lex.c (real_yylex): Make accumulating bits for constant - more portable. - * cse.c (uid_cuid): Now pointer to int instead of to short. - (exp_equiv_p): Change ifs on GET_RTX_FORMAT to a switch. - Add format code of "w". - * emit-rtl.c (gen_rtx): Add format code of "w". - * jump.c (rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise. - * loop.c (rtx_equal_for_loop_p): Likewise. - * reload.c (operands_match_p): Likewise. - * rtl.c (copy_rtx, copy_most_rtx): Likewise. - * rtlanal.c (rtx_equal_p): Likewise. - * sched.c (rtx_equal_for_memref_p): Likewise. - * explow.c (plus_constant_wide): Formerly plus_constant; argument - is HOST_WIDE_INT. - (plus_constant_for_output_wide): Similarly. - * fold-const.c: Use MAX_SHORTS for dimension of array of shorts. - * genattrtab.c (NULL_ATTR): New macro. - (attr_rtx): Use XWINT, not XINT, for CONST_INT. - Add case "w". - (check_attr_test, write_test_expr, main): Use XWINT, not XINT, - for CONST_INT. - * genemit.c (gen_exp): Use "NULL_RTX" instead of "0" when - emitting null. - Use GEN_INT and proper width when emitting a CONST_INT. - Abort if trying to write a CONST_DOUBLE. - * genrecog.c (struct decision): Add new fields TEST_ELT_ZERO_WIDE - and ELT_ZERO_WIDE. - (add_to_sequence, not_both_true, merge_trees, write_tree_1): - Use new fields. - * global-alloc.c (INT_BITS, INT_TYPE): Use HOST_WIDE_INT for type - of conflict matrix. - * loop. (loop_n_iterations): Now HOST_WIDE_INT. - * recog.c: Remove redundant declarations of plus_constant_for_output - and copy_rtx. - * rtl.c: Declare atol if needed. - (rtx_format): Add code for "w". - (read_rtx): Read code "w" field with atol if required. - (init_rtl): Fields of CONST_DOUBLE are now type "w". - * rtlanal.c (get_integer_term): Returns HOST_WIDE_INT. - * cccp.c, toplev.c: Error function args are HOST_WIDE_INT (kludge). - * toplev.c (exact_log2_wide): Renamed from exact_log2 and now has - arg of type HOST_WIDE_INT. - (floor_log2_wide): Similarly. - * tree.c (permalloc): Type of SIZE arg is int, not long. - (build_int_2_wide): Renamed from build_int_2 and has args of - type HOST_WIDE_INT. - * unroll.c (loop_iterations): Now returns HOST_WIDE_INT. - * varasm.c (immed_double_const): Arguments are now HOST_WIDE_INT. +Tue Apr 4 17:15:54 1995 Jeffrey A. Law -Mon Jul 6 14:56:26 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * pa.h (DO_GLOBAL_DTORS_BODY): Fix pointer -> integer assignment + problem. - * c-common.c (decl_attributes): Don't set DECL_PACKED on VAR_DECL. + * reorg.c (fill_simple_delay_slots): Don't use a JUMP_INSN + a the target of another JUMP_INSN to fill a delay slot. - * Makefile.in (GCC_CFLAGS): - Use CROSS_GCC_CFLAGS instead of -B for tooldir. - * cross-make (CROSS_GCC_CFLAGS): Define as -B for tooldir. +Mon Apr 3 19:03:48 1995 Torbjorn Granlund - * c-decl.c (finish_function): If return type of `main' is not `int', - warn instead of doing DEFAULT_MAIN_RETURN. + * cse.c (simplify_unary_operation): Sign-extend constants when + they have the most significant bit set for the target. - * collect2.c, dwarfout.c, halfpic.c: Don't incude string.h. + * m68k.md (umulsi3_highpart): Test for CONST_INT and CONST_DOUBLE, + not CONSTANT_P. + (smulsi3_highpart): Likewise. + * m68k.c (const_uint32_operand): New function. + (const_sint32_operand): New function. + * m68k.md (const_umulsi3_highpart): Use const_uint32_operand instead + of immediate_operand for op3. Delete mode. + (const_smulsi3_highpart): Analogous change. - * c-decl.c (duplicate_decls): Let char *foo () match void *foo () - only if one of them came from a system header file. +Mon Apr 3 19:03:48 1995 Jim Wilson - * stmt.c (pushcase): Fix typo. + * cse.c (simplify_binary_operation): Sign-extend constants when + they have the most significant bit set for the target. - * Makefile.in (ALLOCA_FINISH): Make default `true'. + * combine.c (force_to_mode, case PLUS): Sign extend masks that are + negative in OP_MODE. + (simplify_and_const_int): Sign-extend constants when they have the + most significant bit set for the target. + (merge_outer_ops): Likewise. + (simplify_shift_const): Likewise. - * cccp.c (main): Clear first_bracket_include for -I-. - Set first_system_include for first system header directory. - (is_system_include): Start search at first_system_include. +Mon Apr 3 18:23:48 1995 Jason Merrill -Mon Jul 6 12:58:27 1992 Chip Salzenberg (chip@tct.com) + * toplev.c (lang_options): Add -f{no-,}repo. - * cccp.c (INCLUDE_LEN_FUDGE): Defined. - (append_include_chain): New function. Adds directory(ies) - to include chain and updates value of max_include_len. - (main, path_include): Use append_include_chain. - (do_include): Use INCLUDE_LEN_FUDGE. +Mon Apr 3 18:13:15 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * tree.h (DECL_IN_SYSTEM_HEADER): Defined. - (struct tree_decl): Add in_system_header_flag. - * c-common.c (declare_function_name): For __FUNCTION__ - and __PRETTY_FUNCTION__, set DECL_IN_SYSTEM_HEADER instead - of TREE_USED to supress `unused' warnings. - * c-decl.c (duplicate_decls): Merge DECL_IN_SYSTEM_HEADER flag. - * print-tree.c (print_node): Display TREE_RAISES and - DECL_IN_SYSTEM_HEADER flags. - * toplev.c (compile_file): Do not warn if an unused DECL - has DECL_IN_SYSTEM_HEADER set. - (rest_of_compilation): Do not set TREE_USED on static - functions defined in system headers; this will be taken - care of with DECL_IN_SYSTEM_HEADER. - * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER on permanent - decls defined in system headers. - * objc-actions.c (build_module_descriptor,add_objc_decls): - Set DECL_IN_SYSTEM_HEADER instead of TREE_USED on compiler- - created decls. + * combine.c (nonzero_bits, case REG): Check POINTERS_EXTEND_UNSIGNED. + (num_sign_bit_copies, case REG): Likewise. + * explow.c (convert_memory_address): New function. + (memory_address): Call if it needed. + (promote_mode, case POINTER_TYPE): Use Pmode and pointer extension. + (allocate_dynamic_stack_space): Convert size from ptr_mode. + * expr.c (clear_storage, expand_assignment, store_{expr,constructor}): + Use ptr_mode instead of Pmode in some places. + (expand_expr, expand_builtin): Likewise. + (push_block, store_expr): Convert size to Pmode. + (expand_expr, case ADDR_EXPR): Convert from Pmode to ptr_mode. -Mon Jul 6 10:17:30 1992 Michael Collison (collison at osf.org) +Mon Apr 3 18:00:52 1995 Jim Wilson - * i386.h (SUBTARGET_SWITCHES): - Incoporate SUBTARGET_SWITCHES into TARGET_SWITCHES. - (HALF_PIC_P, HALF_PIC_NUMBER_PTRS, HALF_PIC_NUMBER_REFS, - HALF_PIC_ENCODE, HALF_PIC_DECLARE, HALF_PIC_INIT, - HALF_PIC_ADDRESS_P, HALF_PIC_PTR, HALF_PIC_FINISH): - Define these as stubs if not OSF/1 platform. - * i386.md (movsi): Recognize half-pic moves. + * explow.c (allocate_dynamic_stack_space): Correct typo in last + change. -Mon Jul 6 11:16:47 1992 Tim Moore (moore@defmacro.cs.utah.edu) + * sh.c (gen_shifty_op, case ASHIFTRT): Return 0 if shift count is not + a constant. - * pa.h (ASM_DECLARE_FUNCTION_NAME): Fix typo +Mon Apr 3 12:17:10 1995 Michael Meissner (meissner@cygnus.com) -Mon Jul 6 08:48:51 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * expmed.c (extract_bit_field): When converting a SUBREG into a + REG, if the system is big endian, adjust the bit offset + appropriately. - * m68k.md (swapsi): Add `+' operand constraints. - (insert to memory recognizer): Add `+'. - (peephole for moving returned value to fp reg): Add `='. +Mon Apr 3 00:08:45 1995 Roland McGrath -Sun Jul 5 16:34:24 1992 John F Carr (jfc at Achates.mit.edu) + * config/i386/linux.h: Include "config/linux.h" instead of + "linux.h", to avoid recursion. - * vax.md (addsi3): Code generation improvements (whether to use movab). +Sun Apr 2 23:50:27 1995 Roland McGrath - * vax.md (andsi3, andhi3, andqi3): If one of the source operands - is a constant, complement that operand instead of a register or - memory operand. + * config/i386/gnuelf.h: Include i386/linux.h instead of + i386/linuxelf.h. -Sun Jul 5 13:16:15 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Sun Apr 2 17:35:10 1995 Jim Wilson - * combine.c (try_combine): When splitting using a DEFINE_SPLIT, - update the number of sets of the destination if it is being set - twice. Also update reg_significant. + * cse.c (simplify_relational_operation): Don't simplify A-B for + compare of A and B when the compare is unsigned. -Sun Jul 5 13:14:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sun Apr 2 08:23:38 1995 Paul Eggert - * c++: Fix typo testing $quote for nullness. + * fixincludes (stdio.h): BSDI 2.0 changed the spelling of _VA_LIST_ + to _BSD_VA_LIST_. - * cse.c (simplify_binary_operation): Don't put sum of two symbolic - addresses into a CONST. +Sun Apr 2 07:57:28 1995 Richard Kenner - * m68kv4.h (ASM_OUTPUT_ALIGNED_COMMON): #undef this. - (ASM_OUTPUT_ALIGNED_LOCAL): #undef this. - (ASM_OUTPUT_ASCII): New overriding definition. - (ASM_OUTPUT_CASE_END): New overriding definition. + * i386/xm-bsd386.h: New file. + * configure (i[345]86-*-bsd*): Add xm_file. - * c-typeck.c (convert_arguments): No -Wconversion warning - if the function wants an enumeral type. + * gcc.c (default_compilers): Pass -W and -w to gnat1. - * tek6000.h, tek6100.h, tek6200.h: New files. - * configure (ns32k-tek6100-bsd, ns32k-tek6200-bsd): New alternatives. - * config.sub: utek is synonym for bsd. + * winnt/winnt.h (STDC_VALUE): Add #undef. + * i386/winnt.h (LIB_SPEC): Likewise. - * Makefile.in (alloca.o): Add -c. +Sun Apr 2 07:55:25 1995 Douglas Rupp (drupp@cs.washington.edu) - * Makefile.in (start.encap): Use LIBGCC1, not LIBGCC1_TARGET. - (GCC_CFLAGS): Find executables in $(tooldir)/bin, not $(tooldir). - (libgcc1.cross): New target. - (all.cross, cross-test): Depend on libgcc.a. - * cross-make (LIBGCC1): Use libgcc1.cross. + * i386/winnt.h (RETURN_POPS_ARGS, ENCODE_SECTION_INFO): Call + chain_member_purpose, not chain_member_value. + (ASM_FILE_START, LIB_SPEC): Move to here. + * winnt/winnt.h (ASM_FILE_START, LIB_SPEC): Delete from here. + * tree.c (chain_member_purpose): New function. - * Makefile.in (USER_H): va-hp800.h changed to va-pa.h. - (install-common): Fix typo. +Sat Apr 1 12:19:14 1995 Jason Merrill - * stmt.c (pushcase, pushcase_range): Use STRIP_NOPS on the values. + * c-typeck.c (build_binary_op): New variable build_type controls + type given to expression when created. Set to integer_type_node for + comparison ops instead of result_type so result_type still holds type + in which comparison is done. When checking for comparison between + signed and unsigned, use result_type rather than (possibly shortened) + type of op0. Don't warn about equality comparison of signed operand + to unsigned constant that fits in signed type. - * x-amix, x-i860v4, x-ncr3000, x-sparcv4: Undo last change. - * x-i386v4, x-m68kv4: Files deleted. - * configure (i386-*-sysv4, i486-*-sysv4, m68k-*-sysv4): - Corresponding changes. +Sat Apr 1 09:47:02 1995 Douglas Rupp (drupp@cs.washington.edu) - * c-decl.c (duplicate_decls): Don't warn about disagreement in `inline' - except when non-inline fn is made inline after a call or definition. + * i386/winnt.h (CPP_PREDEFINES): Add definitions for __stdcall + and __cdecl. + * winnt/winnt.h (LIB_SPEC): Add OLDNAMES.LIB. + * winnt/xm-winnt.h: Remove unneeded #define's for non-ANSI functions. + * fixinc.winnt: Remove unneeded fixes relating to __stdcall. -Sun Jul 5 10:25:22 PDT 1992 Ron Guilmette (rfg at ncd.com) + * objc/Makefile (SHELL): New definition. - * c-decl.c (grokdeclarator): Make `long long long' an error, not a - warning. Make duplicate qualifiers do pedwarn, not warning. +Sat Apr 1 08:25:26 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * c-decl.c (pushdecl): Always create a new (variant) ..._TYPE node - for each new TYPE_DECL node created. + * cse.c (cse_insn): When emitting a BARRIER, don't put it after + a deleted insn. - * libgcc2.c (UQItype, SItype, USItype, DItype, UDItype, SFtype, DFtype, - XFtype, TFtype): Typedefs added. - (SI_TYPE_SIZE): Renamed globally from LONG_TYPE_SIZE. - Define names for ANSI C types to `bogus_type' over the range of lines - where we must always use the new mode-related types. Undef them again - at the end of that range (so we can used the ANSI types again), and - then define the mode-related type names to `bogus_type' to insure - those are not used from then on. + * reload.c (push_reload): Initialize secondary_{in,out}_icode. - * libgcc2.c, longlong.h (DIstruct): Renamed globally from `longlong'. - (DIunion): Renamed globally from `long_long'. - Universally use the new mode-related type names for all functions - and macros which expect, yield, or otherwise rely on operands to be - of certain GCC-defined machine modes. + * gcc.c (print_multilib_info): Don't use LAST_PATH if not set. -Sun Jul 5 11:11:00 1992 Torbjorn Granlund (tege@wombat.gnu.ai.mit.edu) +Sat Apr 1 08:15:59 1995 Pat Rankin (rankin@eql.caltech.edu) - * pa.h: (TARGET_VERSION): Print " (hppa)". - * pa.md (zdepi recognizer): Add attribute. - (recognizers for SImode load and store with fpregs): Add `=' to - operand 0. + * vax.md (extv, extzv): Don't use immediate value for operand 1. -Sat Jul 4 15:02:19 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Apr 1 07:48:29 1995 Yury Shevchuk (sizif@botik.yaroslavl.su) - * configure (mips-*-sysv4): Don't set use_collect2. + * stmt.c (expand_asm_operands): Properly ignore invalid reg in clobber. - * c-parse.y (primary): Wrap a NOP_EXPR around an enum value. +Sat Apr 1 07:02:24 1995 Paul Eggert - * libgcc2.c (__builtin_saveregs for i860): Test __svr4__, not SVR4. - * va-i860.h: Test __svr4__. + * cccp.c: General code cleanup. + Add prototypes for static functions. + Remove unnecessary casts to (char *); add casts to (U_CHAR *). + Add parentheses suggested by `gcc -Wparentheses'. + Rename local variables as suggested by `gcc -Wshadow'. + , , , : New includes. + , : Include only if defined(RLIMIT_STACK). + : Include, unless already does. + (HAVE_FCNTL_H, HAVE_STDLIB_H, HAVE_SYS_TIME_H): New symbols. + (HAVE_UNISTD_H, STDC_HEADERS, TIME_WITH_SYS_TIME): Likewise. + (__attribute__, PROTO, VA_START, PRINTF_ALIST, PRINTF_DCL): New macros. + (PRINTF_PROTO{,_1,_2,_3}, DO_PROTO): Likewise. + (bcopy, bzero, bcmp): If #defined by configuration file, use that. + If STDC_HEADERS is defined, use standard C functions. + If BSTRING is defined, or USG and VMS are not defined, use + the C library. Otherwise, use my_bcopy, my_bzero, my_bcmp. + (localtime): Remove no-longer-necessary explicit declaration. + (getenv, index, rindex): Don't declare explicitly if the + appropriate system header should declare it. + (fdopen): Remove no-longer-used declaration. + (vprintf): Define a subsitute macro if !defined(HAVE_VPRINTF). + (main): Replace `fdopen (dup (fileno (stdout)), "w"))' + with `stdout'. + (get_lintcmd, rescan, create_definition): Use bcmp instead of strncmp + when both operands are known to be free of null bytes. + (check_macro_name, compare_defs, collect_expansion): Likewise. + (do_assert, compare_token_lists, assertion_lookup, do_line): Likewise. + (skip_if_group, lookup): Likewise. + (rescan): Remove unused label `startagain'. + Abort instead of printing nonsense if the stack is corrupted + when there was an unterminated successful conditional. + (pcfinclude): Include explicit double-cast through GENERICPTR + to identify particularly egregious type puns. + (create_definition, do_define, check_macro_name): Use %.*s + printf format to avoid painful copying-and-casting. + (do_once): Return void, not (unused) int. + (do_ident, do_pragma, do_sccs): Accept extra arguments so that + all directive-handler's types match. + (do_sccs): Define only if SCCS_DIRECTIVE is defined. + (skip_if_group, dump_single_macro): Add `default: break;' to + keep -Wswitch happy. + (error, warning, error_with_line, vwarning_with_line, pedwarn): Use + stdarg/vararg/vfprintf instead of passing bogus char * args around. + (pedwarn_with_line, pedwarn_with_file_and_line, fatal): Likewise. + (verror, vwarning, verror_with_line, vwarning_with_line): New fcns. + (dump_single_macro): Abort if ap points to garbage. + (make_definition, make_undef, make_assertion): Parameter now char *. + (xmalloc, xrealloc, xcalloc, savestring, index0): Make sizes size_t + instead of unsigned; make pointer parameters GENERICPTR, not char *. + (xcalloc): Use bzero to clear memory instead of using own loop. - * c-decl.c (finish_function): Set BLOCK_SUPERCONTEXT of outer block. +Fri Mar 31 08:33:07 1995 Ken Raeburn (raeburn@wombat.gnu.ai.mit.edu) - * x-m88kv3: File deleted. + * longlong.h (umul_ppmm mc68000): Use %# instead of #. - * x-sparcv4 (X_CFLAGS): Add -dn. +Fri Mar 31 06:37:54 1995 Michael Meissner (meissner@cygnus.com) - * reorg.c: Move the #ifdef DELAY_SLOTS after the #includes. + * stor-layout.c (layout_decl): Implment -fpack-struct. + (layout_record): Ditto. -Sat Jul 4 14:16:33 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * flags.h (flag_pack_struct): New flag variable. - * combine.c (SUBST): Ensure we don't call something that can make - a new undo entry in the middle of our making one. + * toplev.c (flag_pack_struct): New flag variable. + (f_options): Add -fpack-struct support. -Sat Jul 4 12:17:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Makefile.in (stor-layout.o): Add flags.h dependency. - * Makefile.in (cp-parse.c): Append YYEMPTY to cp-parse.h, not ...y. +Fri Mar 31 08:40:16 1995 Douglas Rupp (drupp@cs.washington.edu) - * cse.c (simplify_unary_operation): Add aborts in zero_extend - and sign_extend cases, explaining how they might need to be changed. + * configure (i[345]86-*-winnt3*): Add tmake_file. + * i386/x-winnt (winnt.o): Deleted. + * i386/t-winnt: New file. - * i960.h (WORD_SWITCH_TAKES_ARG): Fix typo. +Fri Mar 31 07:26:37 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * x-amix, x-sparcv4, x-i860v4, x-i386v4, x-ncr3000: - Add -static to X_CFLAGS. - * x-m68kv4: New file. - * isc.h (HANDLE_SYSV_PRAGMA): Defined. + * m68k/netbsd.h, m68k/hp3bsd44.h: Remove #include of machine/ansi.h. -Sat Jul 4 15:18:33 PDT 1992 Ron Guilmette (rfg at ncd.com) + * configure (a29k-*-bsd): Set tmake_file to t-libc-ok. - * xm-spc-sol2.h: New file. + * stmt.c (expand_asm_operands): Properly handle output that can't + be directly written into. - * tree.h (DECL_UID): Definition added. - (struct tree_decl): `uid' field added. - * tree.c (DECL_UID): Initialize this uniquely for each new ..._DECL. + * c-parse.in (structsp): Correct error in last change. + * c-common.c (init_attributes): A_FORMAT is only for decls. - * rtl.h (NOTE_INSN_DELETED_LABEL): Definition added. - * rtl.c (note_insn_name): Add entry for NOTE_INSN_DELETED_LABEL. - * final.c (final_scan_insn): Call `dwarfout_label' for each - `NOTE_INSN_DELETED_LABEL'. - * jump.c (delete_insn): Don't really delete CODE_LABELs corresponding - to user-declared lables... Turn them into NOTE_INSN_DELETED_LABELs - instead. +Thu Mar 30 18:27:34 1995 Jason Merrill - * dwarf.h (AT_abstract_origin): Renamed from AT_specification. - * dwarfout.c (dwarf_attr_name): Likewise. - (dwarf_tag_name, dwarf_attr_name, dwarf_stack_op_name, - dwarf_typemod_name, dwarf_fmt_byte_name): Use normal DWARF prefixes - for string names of unrecognized values. - (is_block_body): New function added. - (DECL_NAME_FMT): Definition added. - (equate_decl_number_to_die_number, abstract_origin_attribute, - pure_or_virtual_attribute): New functions added. - (src_coords_attribute): Only define this is DWARF_DECL_COORDINATES - is defined. + * libgcc2.c: Remove explicit 0-initializations of static variables. - * populate: New file. +Thu Mar 30 18:22:39 1995 Fergus Henderson - * function.c (instantiate_decls): Delete #if 1. + * c-typeck.c (internal_build_compound_expr): Warn if LHS of comma + expression has no side effects, or computes value which is not used. + * stmt.c (make warn_if_unused_value): No longer static. + * tree.h (warn_if_unused_value): Add declaration. - * flags.h, toplev.c, dbxout.c (use_gnu_debug_info_extensions): - Renamed from `use_gdb_dbx_extensions'. +Thu Mar 30 18:15:11 1995 Jim Wilson - * toplev.c (main): Added support for -gdwarf+ and for -gxcoff+. + * combine.c (get_last_value): Revert back to use prev_nonnote_insn + instead of prev_real_insn. Modify test that ignores USE insns. -Sat Jul 4 08:39:47 1992 Tom Wood (wood@dg-rtp.dg.com) + * rs6000.h (SELECT_SECTION): Apply constant DECL_INITIAL test + only to DECLs. - * m88k.c (m88k_end_prologue): Reset frame_laid_out here. - (m88k_expand_prologue): Not here. + * explow.c (allocate_dynamic_stack_space): Test STACK_BOUNDARY against + BIGGEST_ALIGNMENT at run time instead of at compile time. + Give MUST_ALIGN macro a value, and test this value in if statements. - * m88k.h (IDENT_ASM_OPT, ALIGN_ASM_OPT, ASM_OUTPUT_CASE_LABEL): - Override svr4.h. +Thu Mar 30 08:59:56 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Fri Jul 3 12:40:27 1992 Paul Eggert (eggert@twinsun.com) + * c-parse.in: Now have 27 shift/reduce conflicts. + (attribute_list): Just make chain of all attributes. + (attrib): Consistently put name as PURPOSE, args, if any, as VALUE. + (structsp): Allow attributes on any struct or union. + * c-common.c (enum attrs): New enum class. + (attrtab, attrtab_idx): New variables. + (add_attribute, init_attributes): New functions. + (decl_attributes): Major rewrite. + * tree.c (valid_machine_attribute): Now receive name and args. - * fold-const.c (fold_convert): When converting a floating point - constant to integer, warn about out-of-range values after truncating - to integer, not before. +Thu Mar 30 07:20:14 1995 Paul Eggert -Fri Jul 3 19:34:07 1992 Mike Stump (mrs@hal) + * protoize.c: Use the phrase `preprocessing directive' consistently. + * cccp.c (handle_directive, do_line, skip_if_group): Likewise. + (output_line_directive): Renamed from output_line_command. + (no_line_directives): Renamed from no_line_commands. - * Makefile.in ($(srcdir)/cp-parse.c): extract YYEMPTY out of the - parser generated .c file and put in the parser .h so that cp-lex.c - does not have to define it. + * cccp.c (rescan): Don't recognize preprocessing directives + within macro args. Warn if one is found. - * cp-tree.c (__eprintf): Third argument line is now unsigned, - completes Ron's Jul 2 change. +Thu Mar 30 06:20:36 1995 H.J. Lu (hjl@nynexst.com) -Fri Jul 3 15:03:30 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * configure (i[345]86-*-linux*): Set xmake_file=x-linux, + tm_file=i386/linux.h, and don't set extra_parts. + (i[345]86-*-linux*aout*): New configuration. + (i[345]86-*-linuxelf): Deleted. + * config/linux{,-aout}.h, config/x-linux, config/xm-linux.h: New files. + * config/i386/linux-aout.h: New file. + * config/i386/linux.h: Extensive modifications to use ELF format + as default. + (LIB_SPEC): Don't use libc_p.a for -p. don't use libg.a + unless for -ggdb. + (LINUX_DEFAULT_ELF): Defined. + * config/i386/linuxelf.h,config/i386/x-linux: Files deleted. + * config/i386/xm-linux.h: Just include xm-i386.h and xm-linux.h. - * configure: Set FIXINCLUDES in Makefile based on sysv4 or not. - * x-amix (ENQUIRE_CFLAGS, FIXINCLUDES): Deleted. +Wed Mar 29 19:09:36 1995 Mike Stump - * config.sub: Recognize i486 like i386. + * libgcc2.c (__throw_type_match): Update to use new calling convention. - * defaults.h (ASM_FORMAT_PRIVATE_NAME, ASM_OUTPUT_ADDR_VEC_ELT): - (ASM_OUTPUT_ADDR_DIFF_ELT, ASM_STABD_OP): New default definitions. - * final.c: Include defaults.h. - (ASM_STABD_OP): Deleted. - * Makefile.in (final.o) Depend on defaults.h. +Wed Mar 29 14:53:23 1995 Jim Wilson - * Makefile.in (toplev.o): Use MAYBE_TARGET_DEFAULT. - * configure: Set MAYBE_TARGET_DEFAULT for some targets. - Use 3, if target is i486... - Recognize i486 as well as i386 for most targets. + * gcc.c (process_command): Delete code modifying gcc_exec_prefix. + (main): Put it here after last use of gcc_exec_prefix. For cross + compiler, set startfile_prefixes if gcc_exec_prefix is set and + standard_startfile_prefix is a relative path. - * x-hp320g (LIBGCC1, AR, RANLIB, RANLIB_TEST, LIBCONVERT): Deleted. - * t-hp320g (LIBGCC1, AR, RANLIB, RANLIB_TEST, LIBCONVERT): Defined. - * t-svr4 (FIXINCLUDES): Deleted. + * combine.c (make_compound_operation, AND case): Undo July 7, 1994 + change. - * Makefile.in (ENQUIRE_CFLAGS): Add -DNO_LONG_DOUBLE_IO. + * mips/mips.md (call_internal1, call_value_internal1): Move %* from + start of assembler output to immediately before the jal. - * fold-const.c (BRANCH_COST): Add default definition. + * mips/mips.c (function_prologue): Put SDB_DEBUGGING_INFO ifdef around + code for SDB_DEBUG support. + (mips_select_rtx_section, mips_select_section): Change rdata_section + to READONLY_DATA_SECTION and sdata_section to SMALL_DATA_SECTION. + * mips/mips.h (SMALL_DATA_SECTION): Define. - * cp-tree.h: Declare intQI_type_node, etc. - * cp-decl.c: Declare intQI_type_node, etc. - (init_decl_processing): Initialize those nodes. + * reorg.c (mark_referenced_resources): Make setjmp use all registers. -Thu Jul 2 15:18:33 PDT 1992 Ron Guilmette (rfg at ncd.com) + * flow.c (mark_used_regs, case SUBREG): Only fall through to REG case + if operand is a REG. - * amix.h (ASM_OUTPUT_CASE_END, ASM_OUTPUT_ALIGNED_LOCAL): Output - tabs before SET_ASM_OP. + * i960/i960.h (TARGET_SWITCHES): Make -mold-align set + TARGET_FLAG_STRICT_ALIGN. + (STRICT_ALIGNMENT): Test TARGET_STRICT_ALIGN. - * Makefile.in (dwarfout.o): Dependency on defaults.h added. + * sh/sh.c (andcosts): Modify costs to match the hardware, and add + explanatory comments. - * sparcv4.h: Include real.h. - (SET_ASM_OP): Undef it. + * sparc/sol2.h (CPP_PREDEFINES): Add -D__SVR4. - * svr4.h (IDENT_ASM_OP): Added generic svr4 definition. - (ASM_FILE_END, ASM_OUTPUT_IDENT): Use IDENT_ASM_OP. - (ALIGN_ASM_OP): Added generic svr4 definition. - (ASM_OUTPUT_CASE_LABEL): Added generic svr4 definition. +Wed Mar 29 14:30:30 1995 Michael Meissner - * i860.c (strict_single_insn_op_p, relop): Deleted. - * i860.h (ASM_OUTPUT_CASE_LABEL): Fixed definition to use - ASM_OUTPUT_ALIGN and ASM_OUTPUT_INTERNAL_LABEL. - * i860b.h, i860v3.h (TARGET_VERSION): Definitions added. - * i860v3.h (CPP_PREDEFINES): Predefine __svr3__ rather than SVR3. + * rs6000/rs6000.md (movsf): When moving to/from integer registers, + don't move floating point to memory if it is being simulated with + -msoft-float. - * c-decl.c (named_labels): Change linkage to static. +Wed Mar 29 06:47:36 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * assert.h (__eprintf): Declare 3rd arg as unsigned. + * c-parse.in (initdcl): Only call decl_attributes once. + * c-common.c (decl_attributes): Clean up test for __mode__. - * cccp.c (do_include): Don't do fprintf's if inhibit_warnings. - Renamed system_header_p to angle_brackets. Use is_system_include. - (is_system_include): New function. - (redundant_include_p) : Renamed from lookup_include. +Tue Mar 28 08:34:37 1995 John Hassey (hassey@dg-rtp.dg.com) - * c-common.c (type_for_size): If no ANSI type matches, check for - matches with built-in mode-releated types. - (type_for_mode): Likewise. - * c-decl.c: Added declarations for mode-related internal type nodes. - (init_decl_processing): Initialize the new type nodes. - * c-tree.h: Added declarations for mode-related internal type nodes. - intQI_type_node, etc. + * i386.md (adddi3): Don't treat two non-equal MEMs as non-aliasing. - * c-lex.c (yylex): For integers, rename shorts to parts. - Let the number of them be variable. Simplify overflow testing. - Don't use long long types unless ll was specified. - Don't warn twice. +Tue Mar 28 08:20:49 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Jul 2 20:30:20 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * a29k.h (CONSTANT_ADDRESS_P): Provide consistent definition. - * gstdarg.h: #ifdef _STDARG_H, not __STDARG_H. +Tue Mar 28 07:26:41 1995 Paul Eggert -Thu Jul 2 18:18:07 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cccp.c (do_xifdef, do_endif): Remove unnecessary pointer comparisons. - * global.c: Renamed from global-alloc.c. +Mon Mar 27 20:45:15 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Jul 2 15:36:25 1992 Torbjorn Granlund (tege@wombat.gnu.ai.mit.edu) + * calls.c (expand_call, store_one_arg): Don't set KEEP in calls + to assign_stack_temp. + * function.c (preserve_temp_slots): Clear ADDR_TAKEN on item + that we are preserving. - * pa.c (zdepi_operand): New function. - (emit_move_sequence): Use it. - * pa.md: New pattern to recognize cases where zdepi can be used to - load immediate constant. - (insv): Allow obvious immediate values. - (insv + 1): New recognizer for non-obvious immediate values. +Mon Mar 27 14:39:35 1995 Ian Lance Taylor -Thu Jul 2 15:13:15 1992 Michael Meissner (meissner@osf.org) + * mips/mips.h (FIRST_PSEUDO_REGISTER): Increment. + (FIXED_REGISTERS, CALL_USED_REGISTERS): Add new register. + (MD_REG_LAST): Increment. + (ST_REG_FIRST, ST_REG_LAST): Increment. + (HILO_REGNUM): Define. + (enum reg_class): Add HILO_REG. + (REG_CLASS_NAMES): Add "HILO_REG". + (REG_CLASS_CONTENTS): Add HILO_REG initializer, and adjust ST_REGS + and ALL_REGS initializers. + (SECONDARY_RELOAD_CLASS): Remove. + (SECONDARY_INPUT_RELOAD_CLASS): Define. + (SECONDARY_OUTPUT_RELOAD_CLASS): Define. + (REGISTER_MOVE_COST): Treat HILO_REG as MD_REGS. + (REGISTER_NAMES): Add initialization line. + (DEBUG_REGISTER_NAMES): Add "accum". + * mips/mips.md: For each instruction which sets HI or LO, clobber + HILO_REGNUM with (clobber (match_scratch:MODE N "=a")). Change + each explicit reference to register 66 to register 67. + (mulsidi3): Change to define_expand. + (mulsidi3_internal): New name of old mulsidi3. + (mulsidi3_64bit): New insn. + (umulsidi3): Change to define_expand. + (umulsidi3_internal): New name of old umulsidi3. + (umulsidi3_64bit): New insn. + (madddi_64bit, umaddi_64bit): New insns. + (movdi_internal2): Add case for setting HILO_REG to zero. + (reload_indi, reload_outdi): New define_expands. + (movsi_internal1, movsi_internal2): Add cases for setting MD_REGS + to zero, and for setting a general reg to HILO_REG. + (reload_outsi): New define_expand. + * mips/mips.c (mips_reg_names): Add "accum". + (mips_sw_reg_names): Likewise. + (mips_regno_to_class): Map HILO_REGNUM to HILO_REG. + (mips_move_1word): Handle moving HILO_REGNUM to a general + register. Make sure that the normal MD_REG cases aren't used for + HILO_REGNUM. Handle moving zero to a MD_REG. + (mips_move_2words): Make sure that the normal MD_REG cases aren't + used for HILO_REGNUM. Handle moving zero to a MD_REG. + (override_options): Set mips_char_to_class for 'a' and 'b'. + (mips_secondary_reload_class): Add in_p argument. Handle + HILO_REGNUM. - * halfpic.c (half_pic_encode): Consider variables which are 'common' - variables to need pic fixup. Move the debug code, so that it prints - for all calls, and calls debug_tree also. - (half_pic_address): When doing eliminate_constant_term on a CONST, - do a XEXP (addr, 0) to get to the real address. +Mon Mar 27 07:16:05 1995 Warner Losh - * decrose.h (CPP_SPEC, CC1_SPEC): If neither -fbuiltin nor - -fno-builtin are passed, pass -fno-builtin, and renable the string - and memory builtins via macros. This is to support compiling the - OSF/1 kernel which has a prototyped exit function which takes three - arguments. With no -pic switches, default to using shared libs. + * gcc.c: Removed __NetBSD__ from conditional. + Declare strerror if HAVE_STRERROR is defined; otherwise + declare sys_errlist and sys_nerr. + (my_strerror): New function. - * i386rose.h (CPP_SPEC, CC1_SPEC): If neither -fbuiltin nor - -fno-builtin are passed, pass -fno-builtin, and renable the string - and memory builtins via macros. This is to support compiling the - OSF/1 kernel which has a prototyped exit function which takes three - arguments. Turn off pic support until the 386 backend supports it. +Fri Mar 24 18:08:14 1995 Jason Merrill - * x-i386rose (SHLIB): Use -pic-none instead of -L${BUILD}/usr/ccs/lib. + * i386/linux.h (LIB_SPEC): Don't try to link with libraries we + know only exist in archive form unless -static. - * x-decrose (SHLIB): Use -pic-none instead of -L${BUILD}/usr/ccs/lib. +Fri Mar 24 16:12:16 1995 Doug Evans - * mips.md (movsi): Rewrite handling of half-pic code so that load - address of symbol + value is handled. - (branch_zero): Don't allow branch comparing constant to 0. + * Makefile.in (multilib.h): Depend on Makefile, not config.status. -Thu Jul 2 06:26:38 1992 Tom Wood (wood@dg-rtp.dg.com) +Fri Mar 24 15:01:17 1995 Michael Meissner - * m88k.md (blockage insn): Renamed from profiler. - (epilogue insn): Don't provide this if a return insn will suffice. - (m88k_end_epilogue): If the last insn isn't a barrier, print a return. - * m88k.c (null_prologue): Renamed from null_epilogue. + * rs6000/rs6000.h (TARGET_MULTIPLE_SET): New target_flags bit that + indicates -mmultiple or -mno-multiple was explicitly passed by the + user, and not set as part of the cpu defaults. + (TARGET_SWITCHES): Set TARGET_MULTIPLE_SET bit for both -mmultiple + and -mno-multiple. - * m88k.c (condition_value): New function. - * m88k.md (compare word insns): New insns and define_split - patterns to take advantage of recent fold_truthop change. + * rs6000/rs6000.c (rs6000_override_options): If -mmultiple or + -mno-multiple was explicitly used, don't override the setting with + the processor default. - * m88k.h (ADDITIONAL_REGISTER_NAMES): Represent the condition code - register as (reg:CC 0). Give it the names "cc" and "psr". - * m88k.md (superoptimizer sequences): New define_split patterns. - (add/sub with carry): New insns. - (add/sub DImode, ffssi2): Clobber the condition code register. +Wed Mar 22 21:42:13 1995 Doug Evans -Wed Jul 1 13:37:37 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * i960/i960.c (i960_function_arg_advance): Ensure all regs marked + as used if stack is also used (for va_start). + (i960_setup_incoming_varargs): Rewrite to be similar to Intel's + version, but don't allocate reg block unless necessary. + * ginclude/va-i960.h (varargs va_start): Save g14 explicitly. + Account for arguments preceding va_alist. - * gstddef.h Don't define macros associated with size_t unless we - actually want to declare size_t. Likewise for ptrdiff_t and wchar_t. +Wed Mar 22 13:24:55 1995 Torbjorn Granlund - * Makefile.in (install-common): Depend on xgcc, g++, c++, EXTRA_PARTS. - Don't delete specs from libsubdir unless it exists in build dir. + * pa.c (singlemove_string): Handle SFmode constants again. Simplify. + (zdepi_cint_p): Make some variables HOST_WIDE_INT. + (lhs_lshift_cint_operand): Likewise. + (output_and): Likewise. + (output_ior): Likewise. - * va-pa.h: Renamed from va-hp800.h. - * gstdarg.h, gvarargs.h: Use new name. +Wed Mar 22 12:40:09 1995 Jim Wilson - * news3.h, news3gas.h: New files. - * configure (m68k-sony-newsos3*): New alternative. + * sh.md (udivsi3): Don't clobber register 6. + (udivsi3, divsi3, mulsi3_call): Use a pseudo-reg with regclass 'z' + for output rather than hard register 0. + (block_move_real): Don't clobber registers 4 and 5. - * romp.h (SIZE_TYPE): Defined. + * mips.c (mips_select_section): Apply constant DEC_INITIAL tests + only to VAR_DECLs. - * configure: Support --exec-prefix. Simplify handling - detached arguments of options. +Wed Mar 22 03:53:17 1995 Richard Stallman - * isc.h, and other related files: - waiting for entries from karl@cs.umb.edu. + * config.sub (rm400, rm600): New machine names. + (sinix5.*, sinix): New os aliases. + (mips-siemens): Default os to sysv4. -Wed Jul 1 12:04:53 1992 Ron Guilmette (rfg at ncd.com) +Mon Mar 20 21:56:47 1995 Per Bothner - * c-decl.c (grokdeclarator): Don't mark file-scope register variables - as TREE_PUBLIC. - -Wed Jul 1 12:04:53 1992 Karl Berry (karl@cs.umb.edu) - - * i386iscgas.h (SIZE_TYPE, PTRDIFF_TYPE): Define these, since we - need to override GCC's defaults. - - * configure (i386-*-isc): Use different files if we have gas. - * t-i386iscgas, i386iscgas.h, isc.h: New files - * i386isc.h: Include isc.h. Most of contents moved to isc.h. - * bsd386.h (ASM_OUTPUT_LABELREF) [NO_UNDERSCORES]: do not prepend an - underscore in this case. - * i386gas.h (CPP_SPEC): if -posix, do -D_POSIX_SOURCE. - -Wed Jul 1 09:13:44 1992 Tom Wood (wood@dg-rtp.dg.com) - - * fold-const.c (fold_truthop): Renamed from merge_component_references. - (simple_operand_p): New function. - (range_test): Change JCODE parameter to the unconditional operation. - (fold_truthop): When branches are expensive, try to evaluate the - RHS unconditionally. Compute local variables as late as possible. - - * m88k.h (HANDLE_SYSV_PRAGMA): Replaces HANDLE_PRAGMA. - * m88k.c (m88k_handle_pragma_token): Deleted. - -Tue Jun 30 15:32:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c-decl.c (duplicate_decls): If newdecl for builtin function - has same return mode as the builtin, keep the builtin - but use newdecl's return type. - - * i386.md (lshrdi3_const_int): Fix typo in shr insn. - - * Makefile.in (GCC_CFLAGS): Add `-B$(tooldir)/'. - - * i386sun.h, rs6000-mach.h, sparc.h, sun2o4.h, sun3.h (LINK_SPEC): - Inhibit the default -e if -r or -nostdlib. - - * c-decl.c (lookup_label): Call label_rtx. - - * c-parse.y (primary): Rearrange and clean up. In C_DECL_ANTICIPATED - case, always call assemble_external and set TREE_USED. - -Mon Jun 29 22:27:49 1992 Mike Stump (mrs@wombat.gnu.ai.mit.edu) - - * cccp.c, cp-dem.c, dbxout.c, cp-lex.c, cp-xref.c, cp-method.c, - dwarfout.c, c-typeck.c, mips-tfile.c, protoize.c, collect2.c: Make - the compiler more consistent by using index and rindex everywhere - instead of sometimes using strchr and strrchr. - -Mon Jun 29 22:20:13 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * regclass.c (regclass): Restore some accidentally-deleted code. - -Mon Jun 29 12:48:05 1992 Nobuyuki Hikichi (hikichi@sra.co.jp) - - * collect2.c (MY_ISCOFF): New macro. - (scan_prog_file): Use that instead of ISCOFF. - - * mips.c (override_options) [MIPS_NEWS]: Call setlinebuf. - -Mon Jun 29 12:48:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * gcc.c (do_spec_1): For %I, pass -iprefix, not -imacros. - - * c-common.c (decl_attributes): For `packed' on VAR_DECL, - set DECL_PACKED and DECL_ALIGN. - - * configure: Update usage message. - (m68k-sony-newsos*, mips-sony-newsos*): New synonyms. - - * fold-const.c (merge_component_references): - Make sure the four fields correspond in the proper order. - - * c-lex.c (check_newline): Support HANDLE_SYSV_PRAGMA. - (handle_sysv_pragma): New function. - * c-pragma.c: New file. - * stor-layout.c (maximum_field_alignment): New variable. - (layout_decl): Use it. - * Makefile.in (C_OBJS, OBJC_OBJS): Add c-pragma.o - (c-pragma.o): New rule. - - * i386.c (handle_pragma_token): Function deleted. - * i386v4.h (HANDLE_PRAGMA): Deleted. - - * g++: Reestablish symlink to c++. - Delete the testing of $TRACE--this could confuse people. - Delete spurious assignment of $version. - - * tree.h (DECL_PACKED): Store this in regdecl_flag. - - * Makefile.in (LIB2FUNCS): Change _builtin_New to _caps_New. - * libgcc2.c: Change L_builtin_New to L_caps_New. - - * dbxout.c (dbxout_symbol): Pass 3 args to eliminate_regs. - Call alter_subreg for subregs. Delete subreg case later on. - Don't bother with reg_renumber--any pseudo reg is clearly - a variable that was not allocated. - * sdbout.c (sdbout_symbol): Call alter_subreg for subregs. - Don't bother with reg_renumber--any pseudo reg is clearly - a variable that was not allocated. - - * sequent.h (SIZE_TYPE): Defined. - (LINK_LIBGCC_SPECIAL): Fix typo. - -Mon Jun 29 12:04:57 1992 Tom Wood (wood@dg-rtp.dg.com) - - * toplev.c (rest_of_compilation): Thread the prologue and epilogue - code immediately after reloading is done. - * sched.c (schedule_insns): Reposition the prologue and epilogue - notes as needed. - * reorg.c (dbr_schedule): Ditto. - * rtl.h (NOTE_INSN_PROLOGUE_END, NOTE_INSN_EPILOGE_BEGIN): New notes. - * rtl.c (note_insn_name): Record them. - * function.c (record_insns, contains, thead_prologue_and_epilogue_insns, - reposition_prologue_and_epilogue_notes): New functions. - * final.c: Include insn-flags.h. - (profile_after_prologue): New function. - (final_start_function): Use profile_after_prologue here when we - don't HAVE_prologue. - (final_scan_insn): Use profile_after_prologue when we scan - NOTE_INSN_PROLOGUE_END. (This happens when we do HAVE_prologue.) - Perform machine specific actions when the prologue-end and - epilogue-begin notes are scanned. - (final_scan_insn, BARRIER): Align only when something follows. - * Makefile.in (final.o): Depends on insn-flags.h. - - * m88k.h (FUNCTION_END_PROLOGUE, FUNCTION_BEGIN_EPILOGUE): Define. - (DELAY_SLOTS_FOR_EPILOGUE, ELIGIBLE_FOR_EPILOGUE_DELAY): Delete. - * m88k.md (prologue, epilogue, profiler, locate1, locate2): New - patterns for representing prologues and epilogues. - * m88k.c (delay_slots_for_epilogue, eligible_for_epilogue_delay, - ok_for_epilogue_p): Delete epilogue delay slot functions. - (m88k_begin_prologue m88k_end_prologue m88k_expand_prologue): New - functions replacing m88k_output_prologue. - (m88k_begin_epilogue m88k_end_epilogue m88k_expand_epilogue): Ditto. - (preserve_registers): Delete epilogue delay slot mechanism and - change to output insns. - (emit_add, emit_ldst): New functions. - -Sun Jun 28 23:06:04 1992 Brendan Kehoe (brendan@cs.widener.edu) - - * Makefile.in (bootstrap, bootstrap2, bootstrap3): In each - passage of CC, use xgcc, not gcc. - * dostage2, dostage3: Likewise. - -Sun Jun 28 09:48:18 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c-decl.c (duplicate_decls): If have char *foo () and - void *foo (...), make just a pedwarn. Add locals oldtype, newtype. - * c-typeck.c (self_promoting_args_p): No longer static. - - * flow.c (regno_uninitialized): Return 0 for global reg var. - - * c-typeck.c (initializer_constant_valid_p): - Allow CONVERT_EXPR if its operand is allowable. - (build_c_cast): For cast to union, make a CONSTRUCTOR. - - * sparc.c (SPARC_STACK_ALIGN): Add default definition. - - * c++: Use `set "$@"' to modify arguments. - Use a case to decide how to set $gcc. - $quote is now empty for false and the option name for true. - Error at end if $quote is nonempty. - $speclang is now the -x option itself. - Move the -v case above the -* case. - - * limitx.h: Add #ifndef. - * limity.h: New file. - * Makefile.in (install-limits-h): Append limity.h to the end. - - * c-typeck.c (digest_init): Don't push spellings here (for union case). - (process_init_constructor): Fix errors for field not found. - (build_c_cast): Fold casts to union type. - - * xm-vms.h (XREF_FILE_NAME): Fix typo. - - * i386sun.h (SIZE_TYPE): Defined. - - * Makefile.in (alloca.o): Delete the rm command. - Use -Demacs explicitly in compilation command. - (ALLOCA_FLAGS, ALLOCA_FINISH): Empty by default. - * x-pa-hpux, x-rs6000, x-rs6k-mach, x-dpx2200, x-dpx2300: - (ALLOCA_FLAGS, ALLOCA_FINISH): Deleted. - * x-dpx2200, x-dpx2300 (AS): Deleted. - - * configure: Set broken_install for V.4. - (i386-*-aix, ns32k-*-genix, i386-*-isc, i386-*-sco): - (i386-*-sco3.2v4, m88k-dg-dgux): Set broken_install. - (m88k-*-sysv): Don't use x-m88kv3. - * x-m88kv3: File deleted. - * x-aix386, x-dpx2200, x-dpx2300, x-genix, x-i386isc, x-i386sco: - * x-i386v, x-i386v4, x-i860v3, x-i860v4, x-m88kdgux, x-m88kdolph: - * x-m88kv4, x-ncr3000, x-sparcv4, x-xenix (INSTALL): Deleted. - -Sun Jun 28 08:44:32 1992 Michael Meissner (meissner@osf.org) - - * regclass.c (record_address_regs): Make the function static to - agree with the forward declaration. - - * mips.h (LINK_LIBGCC_SPECIAL): Define. - -Sun Jun 28 06:14:56 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * expr.c (direct_load, direct_store): New variables. - (init_expr_once): New function. - (convert_move, convert_to_mode): Don't let gen_lowpart make a MEM in - a mode that can't be directly copied to or from memory. - (store_field): Don't directly store into memory in a mode that - can't be used in a single insn. - (expand_expr, case COMPONENT_REF): Likewise, for load. - * toplev.c (compile_file): Call init_expr_once. - - * cse.c (fold_rtx, case SUBREG): If we can find nested SUBREGs - with an inner register in the mode we want, get rid of all the - SUBREGs provided they are all within a word. - - * cp-call.c, cp-class.c, cp-decl.c, cp-edsel.c, cp-lex.c: Don't - declare xmalloc and free here. - * cp-methods.c, cp-pt.c, cp-search.c, flow.c, integrate.c: Likewise. - * loop.c, opjc-actions.c, reload1.c, reorg.c, rtl.c: Likewise. - * stmt.c, tree.c, varasm.c: Likewise. - * toplev.c (xmalloc, xrealloc): Declare return types correctly. - * rtl.h, tree.h: Declare xmalloc and free here. + Merged Paul Eggert's patch to cccp.c of Wed Mar 8 18:21:51 1995: + * cpplib.c (do_include): Fix type typo: pcfbuflimit is char *, not int. - * expmed.c (emit_store_flag): Keep the last target around if we - should preserve subexpressions. - -Sat Jun 27 07:11:28 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * cse.c (cse_insn): See if we have a CONST_INT that is already in - a register in a wider mode. - - * regclass.c: Major rework of regclass pass to do a better job of - setting up register preferences and replace the "preferred or - nothing" method with a class that should be used if the preferred - class cannot be allocated. - (MEMORY_MOVE_COST): Default value is 4, not 2. - (move_cost, may_move_cost): New arrays. - (init_reg_sets): Initialize them. - (struct costs): Replaces struct savings. - (costs): Replaces savings. - (op_costs): New array. - (altclass): Replaces preferred_or_nothing. - (reg_alternate_class): New function; replaced reg_preferred_or_nothing. - (regclass): Major rework. Use new recording methods; make two - passes if -fexpensive-optimizations; and refine REGNO_POINTER_FLAG - and loop_depth setting. - (record_reg_class): New function; replaces reg_class_record. - (copy_cost): New function. - (record_address_regs): Major changes. New parameters and simplified - and more efficient algorithm for chosing base vs. index regs. - * rtl.h (reg_alternate_class): Declare it. - * Makefile.in (regclass.o): Now includes reload.h and real.h. - * flow.c (dump_flow_info): Call reg_alternate_class instead of - reg_preferred_or_nothing. - * reload.c (find_reloads): Likewise. - (n_occurrences): No longer static. - * local-alloc.c: Use register alternate class instead of - preferred_or_nothing uniformly; change qty_preferred_or_nothing - to qty_alternate_class. - * global-alloc.c (global_alloc, retry_global_alloc): Call - reg_alternate_class instead of reg_preferred_or_nothing. - (find_reg): Change ALL_REGS_P argument to ALT_REGS_P. - Use alternate register class instead of ALL_REGS if can't allocate - in preferred class. - - * cccp.c (install): Accept separate arguments for integer and - pointer hash values; don't assume the sizes are the same. - All callers changed. - - * rtl.c (copy_rtx, copy_most_rtx): Add new case for 'u'. - - * tree.c (make_node): Clear all of common area, in particular, flags. - - * c-tree.h, cp-tree.h: Add declaration of truthvalue_conversion. - -Sat Jun 27 06:21:18 1992 Tom Wood (wood@dg-rtp.dg.com) - - * m88k.md (type attributes): Delete unused mbit and mfp types. - (ffsi2 insn): Define. - (negdf2 and absdf2 insns): Improve. - - * fold-const.c (range_test): Fix the misordered test. Fail if VAR - isn't an integer. - -Sat Jun 27 00:54:44 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * gcc.c (link_command_spec): No %D if LINK_LIBGCC_SPECIAL. - * sequent.h (LINK_LIBGCC_SPECIAL): Defined. - - * vax.h (PRINT_OPERAND): For SFmode, use 0f, not 0d or 0g. - - * ns32k.h (NS32K_DISPLACEMENT_P): Correct the range limits. - * ns32k.c (print_operand_address): REG_OK_FOR_INDEX_P wants an rtx. - -Fri Jun 26 08:55:03 1992 Tom Wood (wood@dg-rtp.dg.com) - - * fold-const.c (range_test): New function. - (merge_component_references): Look for range tests as well. - - * va-m88k.h: Same changes as other va-*.h files below. Make this - work when and others are included on DG/UX. + Merged Doug Evans' patch to cccp.c of Mon Feb 27 17:06:47 1995: + * cpplib.c (do_include): Check for redundant file before opening in + relative path case. Don't call fstat unnecessarily. -Fri Jun 26 08:17:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Merged J.T. Conklin's patch to cccp.c of Wed Feb 22 20:29:31 1995: + * cpperror.c: Removed __NetBSD__ from conditional. - * expr.c (safe_from_p): Handle 0 in TREE_VALUE of a TREE_LIST. - (store_constructor: Ignore empty links in element chain. + Merged Kenner's patch to cccp.c & cexp.y of Tue Sep 20 17:49:47 1994: + * cppexp.c (struct operation): Make value by HOST_WIDE_INT. + (cpp_parse_expr): Change return type to HOST_WIDE_INT. + * cpplib (eval_if_expr): Likewise. + (do_if, do_elif): Update appropriately. + * cpplib.h (cpp_parse_expr): Removed, to avoid defining HOST_WIDE_INT. -Fri Jun 26 07:06:19 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + Merged Paul Eggert's patch to cccp.c of Mon Aug 8 19:42:09 1994: + * cpplib.c (create_definition): Warn about `#define a@', since a + diagnostic is now required (see ISO TC1's addition to subclause 6.8). + Also warn about `#define is-empty(x) (!x)'. - * c-convert.c (convert_to_integer): Don't add a NOP_EXPR in cases - where we can simply change the type of the entire tree. +Tue Mar 21 00:10:50 1995 Jeffrey A. Law - * cse.c (find_best_addr): Look for equivalents of a REG that is - the first operand of an address that is a binary operator whose - second operand is a CONST_INT. + * x-pa (CC): Add "-Dbsd4_4". - * stmt.c (expand_end_bindings): Don't save argument pointer if it - will be eliminated in favor of the frame pointer. +Mon Mar 20 18:40:31 1995 Per Bothner - * combine.c (try_combine): When using define_split to split an - insn, first try to put the pseudo-register into the mode of - the destination since it is the most likely to be the correct mode. + * toplev.c (print_error_function): New function hook. + (default_print_error_function): New function. Default value + of print_error_function. Code moved here from report_error_function. + (report_error_function): Use print_error_function hook. - * combine.c (make_compound_operation): Treat PLUS and MINUS - the same when passing down the code to the next level; for - consistency, an ASHIFT inside either gets turned into a MULT. +Mon Mar 20 20:27:43 1995 Doug Evans - * fold-const.c (optimize_bit_field_compare): Delete dead - assignment which can sometimes reference an undefined variable. + * cccp.c (do_xifdef): Handle c++ comments. + (do_endif): Likewise. - * genoutput.c (gen_split): Initialize n_alternatives. +Mon Mar 20 15:31:45 1995 Jason Merrill - * romp.md (movdf): Fix typo in operand_subword call in define_split. + * configure (i386 configurations): Prepend i386/ to t-crt*. -Fri Jun 26 04:38:37 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Mar 20 07:58:04 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Make stdarg mechanism work with libc. - * va-hp800.h, va-i860.h, va-i960.h, va-mips.h, va-pyr.h, va-sparc.h): - Don't define or declare va_list; declare __gnuc_va_list. - But only declare it once. - Define other things only if _STDARG_H or _VARARGS_H. - Declare va_end as well as defining it. - * gstdarg.h: Likewise. - If __need___va_list was defined, then undef it - and don't define _STDARG_H. - For all machines, declare va_list from __gnuc_va_list - but only if _STDARG_H is defined. + * stmt.c (fixup_gotos): Add missing call from last change. - * gvarargs.h: Test _ANSI_H_, not _ANSI_H. + * objc/misc.c: Put Alpha-specific decls before #include of runtime.h. -Thu Jun 25 23:24:02 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * alpha.h (EXTRA_SECTIONS): Write zeros first time in .rdata. - * ns32k.c (print_operand): - Change NO_IMMEDIATE_PREFIX_IF_SYMBOLIC conditional to #ifdef. +Sat Mar 18 16:37:24 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * genoutput.c (gen_split): Set d->n_alternatives. + * flow.c (mark_used_regs, case SUBREG): Set reg_changes_size even + for integer modes. + (mark_used_regs): Set reg_changes_size for RHS, if necessary. + * combine.c (gen_lowpart_for_combine): Set reg_changes_size, if needed. + * reload.c (push_reload): Reload a SUBREG if paradoxical and + class is CLASS_CANNOT_CHANGE_SIZE. + * reload1.c (gen_reload): Handle paradoxical SUBREGs. + * alpha.h (SECONDARY_{INPUT,OUTPUT}_RELOAD_CLASS): Need GENERAL_REGS + for paradoxical SUBREG and FLOAT_REGS. + (SECONDARY_NEEDED_MODE): Use actual mode for 4 bytes or wider. + * alpha.md (movsi): Allow FP regs and add case for store of FP reg. + Remove cvtlq from MEM to FP reg case. - * Makefile.in (test-protoize-simple): Expect just 400 lines. - (install-common-headers): When comparing srcdir with ., use pwd. + * rtl.h (emit_insns_after): Add declaration. + * stmt.c (fixup_gotos): Do a cleanup for a block when it is exited + even if label if not defined yet. -Tue Jun 16 22:11:12 1992 Jim Wilson (wilson@sphagnum.cygnus.com) + * function.c (pop_function_context): Fix error in last change; + reference old value of current_function_decl before we modify it. - * Makefile.in (enquire.o): Don't delete/copy enquire.c, just use - the copy in the source directory. +Fri Mar 17 21:57:44 1995 Jason Merrill -Tue Jun 25 23:52:27 1992 Howard Chu (hyc@hanauma.jpl.nasa.gov) + * toplev.c (rest_of_compilation): Handle -Wreturn-type properly + for inlines we aren't compiling yet. - * libgcc2.c (__builtin_saveregs): Use SVR4 code on Alliant FX2800, - but with BSD function-naming convention. +Fri Mar 17 21:26:48 1995 Mike Stump - * va-i860.h: Use SVR4 definitions of __va_saved_regs and va_list - on Alliant FX2800. + * libgcc2.c (__register_exceptions): Handle empty tables. - * fx2800.h (I860_REG_PREFIX, ASM_COMMENT_START): Deleted. - (DBX_NO_EXTRA_TAGS, BSS_ASM_OP): Deleted. - (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Deleted. - (ASM_FILE_START): Just call output_file_directive. +Fri Mar 17 11:48:31 1995 Douglas Rupp (drupp@cs.washington.edu) -Thu Jun 25 06:49:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * i386/winnt.c (winnt_function_prologue): Deleted. + (gen_stdcall_suffix): New function. - * c-typeck.c (process_init_constructor): Strip NON_LVALUE_EXPR - from specified array index. +Thu Mar 16 17:36:52 1995 Jason Merrill - * configure (i386-*-bsd*, i386-*-mach*): Don't set tmake_file. - They used to use t-libc-ok. + * svr4.h (LINK_SPEC): If the user did not specify -h name, use the + output file name, if any. + * sparc/sol2.h (LINK_SPEC): Ditto. Also, if the user did not + specify -R path, add an -R for each -L. - * input.h (struct file_stack): Revert prev. change. + Move SunOS 4-specific assembler switches into the appropriate place. + * m68k/sun[23].h (ASM_SPEC): Add %{R} %{j} %{J} %{h} %{d2} + %{keep-local-as-symbols:-L}. + * i386/sun.h (ASM_SPEC): Add %{R} %{keep-local-as-symbols:-L}. + * sparc/sparc.h (ASM_SPEC): Ditto. + * gcc.c (default_compilers): Remove %{R} %{j} %{J} %{h} %{d2} + %{keep-local-as-symbols:-L} from assembler rules. -Thu Jun 25 06:33:52 1992 Tom Wood (wood@dg-rtp.dg.com) +Thu Mar 16 16:58:09 1995 Michael Meissner - * stmt.c (expand_end_case): Add CASE_VALUES_THRESHOLD. - * m88k.h (CASE_VALUES_THRESHOLD): Define. + * rs6000/eabi-ctors.c: New file, handle C++ static constructors + and destructors without requiring anything else from a libc. -Thu Jun 25 06:13:39 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * rs6000/t-eabi (LIB2FUNCS_EXTRA): Build eabi-ctors.c. - * explow.c (plus_constant, case PLUS): Remove obsolete code; - use recursive call in case remaining operand is one we handle. + * rs6000/eabi.asm: Do not load up register 2 if there is no .got + section. Jump to the __do_global_ctors function at the end of + processing to call C++ static constructors, and it will return to + __eabi's caller. Use normal volatile registers, instead of saving + and restoring registers 30 and 31. -Wed Jun 24 19:15:14 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * rs6000/eabi.h (STARTFILE_SPEC): Define as null. + (LIB_SPEC): Ditto. + (ENDFILE_SPEC): Ditto. + (LIBGCC_SPEC): Always look for libgcc.a. - * combine.c (subst, case PLUS): If adding two things with no bits - in common, convert to IOR. +Thu Mar 16 17:05:14 1995 Richard Kenner - * expr.c (do_jump, case BIT_AND_EXPR, COMPONENT_REF): Don't narrow - comparison unless byte accesses are not slow and we have a - comparison in the new mode. + * stmt.c (warn_if_unused_value, case SAVE_EXPR): New case. + (warn_if_unused_value, case NOP_EXPR): OK if CALL_EXPR inside. -Wed Jun 24 14:29:09 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-common.c (decl_attributes): Allow alignment for TYPE_DECLs. - * c-parse.y (primary): If built-in decl has not had - an official declaration, print warning. - * c-decl.c (builtin_function): Set C_DECL_ANTICIPATED for - user-visible names. - * c-tree.h (C_DECL_ANTICIPATED): New macro. + * Makefile.in (xsys-protos.h): Fix typo in -U operand. - * fixincludes: Make some symlinks in the `multimedia' subdir. +Thu Mar 16 13:49:10 1995 Per Bothner - * i386.c: Change #error to just error. + * cpplib.c, cpplib.h: New files - a C PreProcessor library. + * cpphash.c, cpphash.h, cppalloc.c, cpperror.c, cppexp.c: + New files - utility features used by cpplib. + * cppmain.c: New file - cpp replacement main program for cpplib. + * Makefile.in: New rules to build cppmain. - * protoize.c: Normalize error message syntax. - (process_aux_info_file): Don't delete .X file if it existed before. - (explicity compare modtime with .c file. +Thu Mar 16 16:11:05 1995 Douglas Rupp (drupp@cs.washington.edu) -Wed Jun 24 14:10:35 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * i386/winnt.h (FUNCTION_PROLOGUE, HAVE_probe, gen_probe): Deleted. + (ENCODE_SECTION_INFO, VALID_MACHINE_DECL_ATTRIBUTE): New macro. - * sparc.c (sparc_frw_compute_frame_size): New function, for flat - register window model support. - (sparc_frw_save_restore): Likewise. - (sparc_frw_output_function_prologue): Likewise. - (sparc_frw_output_function_epilogue): Likewise. - (sparc_frw_epilogue_delay_slots): Likewise. - (sparc_frw_eligible_for_epilogue_delay): Likewise. +Thu Mar 16 15:58:24 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Jun 23 22:36:12 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * combine.c (apply_distributive_law, case SUBREG): Fix typo when + checking for paradoxical SUBREG. - * cccp.c (rescan): Recognize # only when reading directly from a file. +Wed Mar 15 18:45:08 1995 Doug Evans - * input.h (struct file_stack): Add member `fd'. + * libgcc1-test.c: Renamed from cross-test.c. + * Makefile.in (LIBGCC1_TEST): Renamed from CROSS_TEST. + (all.cross): Delete $(ENQUIRE) dependency. + (libgcc1-test): Renamed from cross-test. + Delete unnecessary gcc-cross and $(LIBGCC) dependencies. + Link with -nostartfiles -nostdlib + `$(GCC_FOR_TARGET) --print-libgcc-file-name`. + (libgcc1-test.o): Renamed from cross-test.o. + Change gcc-cross dependency to xgcc since the latter is used. - * regclass.c (regno_first_uid, regno_last_uid): Make elements ints. - (reg_scan): Allocate and clear them as ints. - * regs.h: Fix the declarations. +Wed Mar 15 13:49:21 1995 Jason Merrill - * Create driver executable with name xgcc; rename to gcc in installing. - (xgcc): Target renamed. - (GCC_FOR_TARGET, GCC_PASSES, start.encap, specs, gcc-cross): - (install-common, install-collect2): Rename in deps, commands or value. - (install-collect2): Always get driver from xgcc whether cross or not. + * tree.c (save_tree_status): Now takes a tree 'context' instead of + a boolean 'toplevel' as an argument. If 'context' is not + current_function_decl, create a new obstack for the new function. + Also save inline_obstacks. + (restore_tree_status): No longer takes a second argument. Also + restore inline_obstacks. + (temporary_allocation): Clear inline_obstacks. + (permanent_allocation): Free up the obstacks in inline_obstacks. -Tue Jun 23 00:00:35 1992 Brendan Kehoe (brendan@cs.widener.edu) + * function.h (struct function): New fields contains_functions and + inline_obstacks. - * toplev.c (strip_off_ending): Also strip off .C and .cxx. + * function.c (push_function_context_to): Now takes a tree + 'context' instead of a boolean 'toplevel' as an argument. + Also save current_function_contains_functions. + (push_function_context): Pass current_function_decl to it. + (pop_function_context_from): Takes 'context' instead of 'toplevel'. + Set current_function_contains_functions properly. + (pop_function_context): Pass current_function_decl to it. -Tue Jun 23 18:58:43 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Wed Mar 15 14:53:09 1995 Michael Meissner - * genrecog.c (add_to_sequence): Don't ignore mode of first operand - of a MATCH_OPERAND or MATCH_DUP_OP rtl. - * sparc.md (scc): Use noov_compare_op instead of normal_compare_op. + * rs6000/rs6000.md (abssi2): Turn into a define_expand. If + TARGET_POWER, do old code that uses the abs instruction. If not, + do abs in three instructions, using a temporary register, which + enables generating more reasonable code for sne. Add a recognizer + for negative of the absolute value. Add define_splits for the + PowerPC. + (sne insn): Add a recognizer for sne on the PowerPc to use two + instructions, compared to the four generated using the absolute + value insn. - * function.c (expand_function_start): When not optimizing, don't - put static chain pointer in a pseudo register. +Tue Mar 14 18:38:40 1995 J.T. Conklin - * sparc.c (print_operand): For '*', only annul branch if - optimizing, to avoid dbx bug. Add '(' to handle unoptimized case. - * sparc.h (PRINT_OPERAND_PUNCT_VALID_P): Add '('. - * sparc.md (jump): Add '%(' to pattern. + * m68k.md ({add,sub,mul,div}[sdx]f3): Add new patterns for recognizing + SImode, HImode, and QImode operands. - * c-decl.c (store_parm_decls): Change type of void parameter to - error_mark_node. +Mon Mar 13 18:59:36 EST 1995 David Edelsohn - * configure (m68k-*-sysv4*): Use xm-m68kv.h not xm-m68kv4.h. + * rs6000.h (CPP_SPEC): Add PPC403. + (processor_type): Add PPC403. + (RTX_COSTS): Add PPC403. + * powerpc.h (CPP_SPEC): Add PPC403. + * sysv4.h (CPP_SPEC): Add PPC403. + * rs6000.c (processor_target_table): Add PPC403. + * rs6000.md (define_attr cpu and function units): Add PPC403. - * configure: Add -prefix option. +Mon Mar 13 14:40:23 1995 Michael Meissner - * vax.c (split_quadword_operands): Declare paramater n. + * rs6000/rs6000.md (call, call_value insns): Do not put a nop + after a bl instruction on System V.4 and eABI. - * i960.h (WORD_SWITCH_TAKES_ARG): Add -aux-info. + * rs6000/sysv.4 (SUBTARGET_SWITCHES): Add support for + -mno-traceback to suppress the V.4 traceback word. + (ASM_DECLARE_FUNCTION_NAME): Don't put out a traceback work if + -mno-traceback. - * xcoffout.c (xcoffout_declare_function): Cast alloca result to char *. +Mon Mar 13 13:36:37 1995 Jason Merrill - * c-convert.c (convert_to_integer): Don't pass truncation past - shift that is larger than the size being truncated to. + * t-svr4, i386/t-{crtpic,sol2}, m88k/t-svr4, sparc/t-sol2: + Use -fPIC, rather than -fpic, for building crtstuff. -Tue Jun 23 06:15:47 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Sat Mar 11 17:27:08 1995 Jason Merrill - * optabs.c (expand_binop, expand_unop): Try widening before trying - to make a library call. + * configure: Use aix3newas.h for AIX 3.2.4 and 5. + * rs6000/aix41.h: Undefine ASM_OUTPUT_EXTERNAL{,_LIBCALL}. + * rs6000/aix3newas.h: New file. Define ASM_SPEC to -u, and + undefine ASM_OUTPUT_EXTERNAL{,_LIBCALL}. - * stmt.c (expand_return): Add missing emit_queue call in tail - recursion case. +Sat Mar 11 06:42:50 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cse.c (simplify_unary_operation): Add SIGN_EXTEND and - ZERO_EXTEND to the operations we handle for wide results. + * dbxout.c (dbxout_symbol): Properly handle decl whose DECL_NAME + points to a TYPE_DECL with a zero TYPE_NAME. - * expr.c (emit_block_move): Convert size operand to mode that will - be passed to emit_library_call. +Fri Mar 10 18:18:33 1995 Torbjorn Granlund -Tue Jun 23 00:41:03 1992 Paul Eggert (eggert@shadow) + * pa.h (PROMOTE_MODE): Define. - * objc-parse.y (stmt): Fix mispelling for "label" in message. +Fri Mar 10 14:37:58 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cccp.c: (deps_file, pipe_closed): Deleted. - (main): Do not open deps_file until needed. - Check error status of dep_stream and stdout more carefully. + * sdbout.c (sdbout_record_type_name): If TYPE_NAME is + a TYPE_DECL, get name from DECL_NAME. -Tue Jun 23 00:21:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Mar 10 14:09:26 1995 Doug Evans - * Makefile.in (protoize.1, unprotoize.1): Rules deleted. - (install-man, proto, realclean): Don't operate on them. - * proto-man: File deleted. + * arm/riscix.h (SUBTARGET_SWITCHES): Renamed from + ARM_EXTRA_TARGET_SWITCHES. + * arm/riscix1-1.h (SUBTARGET_SWITCHES): Likewise. + * arm.h (SUBTARGET_SWITCHES): Likewise. + (TARGET_HARD_FLOAT, TARGET_SOFT_FLOAT): Define. + (TARGET_SWITCHES): Add -msoft-float, -mhard-float. + (BYTES_BIG_ENDIAN): Delete #ifndef/#endif. + (CONDITIONAL_REGISTER_USAGE): If -msoft-float, disable fp regs. + (FUNCTION_VALUE): R16 is return reg only if !-msoft-float. + (LIBCALL_VALUE): Likewise. + * arm.md (all fp patterns): Conditionalize on TARGET_HARD_FLOAT. + (*movsf_soft_insn, *movdf_soft_insn): New patterns. - * protoize.c (main): Support -v as alias for -V. +Fri Mar 10 13:53:46 1995 Jim Wilson -Mon Jun 22 21:50:01 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * reorg.c (steal_delay_list_from_target): Exit at the top if the + branch in SEQ is not a single set. - * Makefile.in (compare, compare3): Discard error output from second - tail. If it fails, don't compare that file. + * sh.md (movdi define_split, movdf define_split): Correct indentation + and formatting. Make the condition fail if an operand is a MEM + with an auto-inc address. - * Makefile.in (stamp-proto): Move the touch command last. - - * cccp.c (finclude): Use xmalloc, not alloca, for file contents. - - * stmt.c (check_for_full_enumeration_handling): For a case range, - consider all values in the range as handled. Also, check both ends - for being in the enumeration. - - * ns32k.h (NS32K_DISPLACEMENT_P): Wide displacement range applies to - all models. - -Mon Jun 22 20:29:47 1992 Ron Guilmette (rfg at ncd.com) - - * expr.h (*_libfunc): Added missing extern declarations of libfuncs - to handle operations on/for TFmode and XFmode operands. - * expr.c (convert_move): Added missing code to handle moves (with - conversion) from/to TFmode and XFmode operands. - * optabs.c (*_libfuncs): Added missing definitions of libfuncs - to handle operations on/for TFmode and XFmode operands. - (emit_float_lib_cmp): Added missing code to handle XFmode and TFmode - comparisons. - (init_fixtab): Added missing code to handle fixing (and trunc'ing) - of XFmode and TFmode operands to various sizes of ints. - (init_floattab): Likewise, but for "float" operations from ints to - either XFmode or TFmode. - (expand_float): Likewise. - (expand_fix): Likewise. - (init_libfuncs, init_integral_libfuncs, init_floating_libfuncs): New - functions added to initialize whole hunks of various optabs with - appropriate `libfunc' field values. - (init_optabs): Use `init_integral_libfuncs' or `init_floating_libfuncs' - wherever a group of consecutive optab entries need to all have their - `libfunc' fields initialized. - (init_optabs): added missing code to handle all operations on/of - XFmode and TFmode operands. - -Mon Jun 22 06:40:32 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * rs6000.h (MEMORY_MOVE_COST): Increase to 6, from 4. - (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add new reg - classes SPEC_OR_GEN_REGS and NON_FLOAT_REGS. - - * rs6000.h (EXTRA_CONSTRAINT): Don't use indirect_operand; instead - check explicitly. - - * rs6000.md (divmod): Use "2" constraint instead of using "q" - twice. - (tablejump): Constraint of "r" should be "l". - - * emit-rtl.c (init_emit): Show that all pointers into the frame are - pointer registers. - -Mon Jun 22 04:20:26 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * va-sparc.h (va_arg): Rename local identifiers to start with __. - -Sun Jun 21 14:51:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * fold-const.c (real_value_truncate): New function. - All calls to REAL_VALUE_TRUNCATE changed to use this function. - - * reload1.c (reload): Record which insn attains each maximum need. - If can't find a spill, call spill_failure and return 1. - (spill_failure): New subroutine. - * global-alloc.c (global_alloc): Return 1 if reload returned 1. - * toplev.c (rest_of_compilation): If they return nonzero, give up - compiling this function. - - * c-decl.c (duplicate_decls): Never warn if redeclaring - a predeclared function. Use the new declaration's types - but keep any predeclared volatile flag. - If redeclaring builtin function, use new declaration's type. - If an old decl becomes volatile, fix the DECL_RTL. - * varasm.c (make_var_volatile): New function. - - * configure (mips-sony-bsd): Use xm-mips.h. - * xm-mipsbsdn.h: File deleted. - - * protoize.c (process_aux_info_file): Simplify logic for calling - gen_aux_info_file. Get rid of the label `retry'. - - * m68ksgs.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): - Override for sgs syntax. - -Sun Jun 21 14:06:41 1992 Brendan Kehoe (brendan@cs.widener.edu) - - * va-sparc.h (va_arg): Use a character array of size TYPE for - `d' in the union, and return its dereference as TYPE. - -Sun Jun 21 14:04:36 1992 Wilson Tien (wtien at urbana.mcd.mot.com) - - * m68k.c (print_operand_address) [MOTOROLA]: Use .w and .l, not :w, :l. - -Sat Jun 20 06:32:11 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * stor-layout.c (get_best_mode): If SLOW_BYTE_ACCESS is true, return - widest mode (but no wider than UNITS_PER_WORD) that meets all - the conditions. - - * combine.c (make_extraction): Always ensure we have a SUBREG when - we make a STRICT_LOW_PART. - - * varasm.c (const_hash, compare_constant_1, record_constant_1): - Handle case when TREE_VALUE of a constructor is zero. - (output_constant): Use CONSTRUCTOR_ELTS. - - * cse.c (cse_insn): Memory is not invalidated by a constant - subroutine call. - (delete_dead_from_cse): Correctly check for being within a - libcall block. - - * cse.c (canon_reg): Call validate_change with IN_GROUP equal to 1. - (cse_insn): Call apply_change_group after canon_reg. - When canonicalizing, call validate_change with IN_GROUP equal to - one and also call when canon_reg would. - - * combine.c (subst, shift cases): Use force_to_mode in - SHIFT_COUNT_TRUNCATED case. - - * rs6000.md: Add new pattern to split move of large constant. - - * cse.c (delete_dead_from_cse): Really delete insn instead of - turning it into a NOTE. - - * romp.md (shift patterns): Use QImode for count operand. - -Sat Jun 20 06:31:21 1992 Tom Wood (wood@dg-rtp.dg.com) - - * a29k.md (storehinhww): Use inhw not inbyte. - -Thu Jun 18 16:01:56 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * protoize.c (WIFEXITED, WEXITSTATUS): Delete unused macros. - - * combine.c (subst): If comparison operator has floating-point - result, adjust the value returned by simplify_relational_operation - accordingly. - * integrate.c (subst_constants): Likewise. - * loop.c (get_condition): Likewise. - * cse.c (fold_rtx): Likewise. - When returning TRUE or FALSE, handle comparisons returning - floating-point. - (find_comparison_args): Handle comparisons returning FP values; - only look at STORE_FLAG_VALUE for comparisons returning integers. - - * combine.c (try_combine, subst): Pass both comparison arguments - to SELECT_CC_MODE. - * i386.h, i960.h, i960.c, mips.h, pa.h, pa.c, rs6000.h: - Add second argument to SELECT_CC_MODE. - * sparc.h, sparc.c: Likewise. - - * cse.c (insert_regs): Make a quantity for the register in a - SUBREG if it doesn't have one. - (fold_rtx, case SUBREG): Always try to find a constant equivalent - for a SUBREG; try for CONST_DOUBLE as well. - (cse_insn): Call insert_regs on DEST if it is a SUBREG. - -Thu Jun 18 15:01:29 1992 Mike Stump (mrs@albert.gnu.ai.mit.edu) - - * c++: Allow for better quoting and -v handling. - -Thu Jun 18 14:49:20 1992 Tom Wood (wood@dg-rtp.dg.com) - - For RMS: - * varasm.c: Declare text_section and readonly_data_section. - - * dpx2.h (CPP_SPEC): Define __HAVE_68881__ unless -msoft-float. - DPX/2 machines all have a 68882. - - * x-i386sco (RCCFLAGS): Use -DNULL=0 to avoid suurious warnings - from rcc. - - * seq386.h (SIZE_TYPE): The Sequent running Dynix uses int for size_t. - -Thu Jun 18 14:36:41 1992 Mike Stump (mrs@albert.gnu.ai.mit.edu) - - Merge in Cygnus sources... - - Fri Jun 5 15:00:55 1992 Mike Stump (mrs at cygnus.com) - - * cp-typeck.c (build_c_cast): When casting, propagate const'ness - from cast type. When casting to a reference to T, really just - cast to T. - - * cp-cvt.c (build_up_reference): Make a copy of a node before - changing it. Only propagate the const bit if we are not - subverting it. - - Fri Jun 5 14:36:19 1992 Mike Stump (mrs at cygnus.com) - - * cp-cvt.c (build_up_reference): When casting away const on - references, do not report an error. - - Fri Jun 5 13:26:11 1992 Mike Stump (mrs at cygnus.com) - - * cp-init.c (build_new): Handle new placement with arrays. - - Thu Jun 4 08:26:44 1992 Mike Stump (mrs at cygnus.com) - - * cp-search.c (compute_visibility): DERIVED_FROM_P had its - arguments reversed, switched them to be in the right order. - Fixes visibility on protected members. - - Wed Jun 3 14:45:40 1992 Mike Stump (mrs at cygnus.com) - - * cp-parse.y (unary_expr): Make it illegal to use delete on - a pointer to a const object. With help from Brendan Kehoe. - - Wed Jun 3 13:25:26 1992 Ken Raeburn (Raeburn@Cygnus.COM) - - * cp-parse.y (template_instantiate_once): Set - CLASSTYPE_GOT_SEMICOLON to eliminate messages about missing - semicolons. - - * cp-decl.c (start_function): Don't emit error message for missing - semicolon after class decl; that syntax (declaring both class and - function returning that type) should be legal. Do emit a warning if - it's not an anonymous name. - - Mon Jun 1 18:08:09 1992 Mike Stump (mrs at cygnus.com) - - Sat May 30 15:38:54 1992 Brendan Kehoe (brendan@cs.widener.edu) - - * cp-decl.c (grokdeclarator): Don't allow main to be static. - - Mon Jun 1 17:52:24 1992 Mike Stump (mrs at cygnus.com) - - Sat May 30 15:38:54 1992 Brendan Kehoe (brendan@cs.widener.edu) - - * cp-decl.c (poplevel): Use DECL_INITIAL to detect undef label - instead of DECL_SOURCE_LINE. - - Mon Jun 1 17:22:54 1992 Mike Stump (mrs at cygnus.com) + * varasm.c (copy_constant): Copy operand of ADDR_EXPR if it is a + constant. - * cp-parse.y (unary_expr): Don't allow old placement syntax(with {}) - nor dynamic with new (with ()) new placement syntax. Completes May 27 - fix. + * mips/abi64.h (SETUP_INCOMING_VARARGS): Correct arguments to + move_block_from_reg call. - Mon Jun 1 13:57:28 1992 Mike Stump (mrs at cygnus.com) + * expr.c (expand_assignment): When offset is zero, make new MEM + before setting MEM_VOLATILE_P. - * cp-type2.c (digest_init): Trailing '\0' is never ignored in - initializations using strings in ANSI draft C++ unlike ANSI C. + * reload.c (find_reloads, case 'o'): Accept a fully reloaded + auto-increment address. - Mon Jun 1 07:18:13 1992 Michael Tiemann (tiemann at rtl.cygnus.com) + * combine.c (max_uid_cuid): New static variable. + (INSN_CUID): Call abort if INSN is out of range. + (combine_instructions): Set max_uid_cuid. Set uid_cuid directly + instead of through INSN_CUID. + (get_last_value): Use prev_real_insn instead of prev_nonnote_insn. + Ignore USE insns generated by combine. - * cp-decl.c (pushdecl): Re-fix May 12 change regarding DECL_CONTEXT. - * cp-call.c (build_method_call): Go back to using DECL_CONTEXT - instead of DECL_CLASS_CONTEXT. DECL_CONTEXT says when a function - was first declared virtual in a class, which is needed information - in case the virtual function comes from a virtual baseclass (because - the derived class won't have a vtable entry for that function (if it - has a vtable at all!)). +Fri Mar 10 13:47:08 1995 Rod Barman - Wed May 27 17:05:50 1992 Mike Stump (mrs at cygnus.com) + * m68k/fpgnulib.c (__fixdfsi): Catch values < 0.5 in magnitude. - * cp-parse.y (unary_expr): Handle new placement syntax, desupport - the old placement syntax with a pedwarn. +Fri Mar 10 12:02:33 1995 Ian Lance Taylor - Tue May 26 17:30:28 1992 Mike Stump (mrs at cygnus.com) + * fixincludes: Fix `typedef struct term;' on hppa1.1-hp-hpux9. - Thu May 21 17:13:38 1992 Michael Tiemann (tiemann at cygnus.com) +Fri Mar 10 05:50:11 1995 Oliver Kellogg (Oliver.Kellogg@RST13.DASA.DBMAIL.d400.de) - * cp-decl.c (grok_enum_decls): Allow reference to nested enums from - other classes for NICHL. + * 1750a.c (sectname): Reverse Init and Normal. + (print_operand_address, case PLUS): Add case for LABEL_REF. + (print_operand_address, case LABEL_REF): Split fom SYMBOL_REF. + (print_operand_address, case CODE_LABEL): New case. + (ASM_FILE_END): Delete. + * 1750a.h (FUNCTION_EPILOGUE): Restore stack before freeing local vars. + (DEFAULT_SIGNED_CHAR): Now 1. + (DATA_SECTION_ASM_OP): Use pseudo-op for read-only data (later copied). + (JUMP_TABLES_IN_TEXT_SECTION): Define. + (ASM_OUTPUT_ASCII): Split into multiple lines if long. + (ASM_OUTPUT_{CHAR,SHORT,INT,LONG_INT}): Split up. + (ASM_OUTPUT_COMMON): Call check_section. - Tue May 26 15:31:30 1992 Mike Stump (mrs at cygnus.com) +Thu Mar 9 12:46:53 1995 Michael Meissner - * cp-*.[chy]: Always include "assert.h" and not to - be consistent. + * rs6000.md (movsf): Do not call truncdfsf2 for non PowerPC + when expanding a store to memory and -msoft-float was used. - Tue May 26 10:07:02 1992 Mike Stump (mrs at cygnus.com) +Thu Mar 9 08:51:35 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-parse.y (return_init): Fix simple typo that caused '=' - initialized named return values to fail. + * c-decl.c (start_function): Handle new parameter ATTRIBUTES. + * c-tree.h (start_function): Add new parameter. + * c-lang.c (finish_file): Pass new parm to start_function. + * objc-act.c (build_module_descriptor, really_start_method): Likewise. + * c-parse.in (fndef, nested_function): Pass prefix_attributes + to start_function. + (setspecs): Save prefix_attributes in declspec_stack. + (decl rules): Restore prefix_attributes along with current_declspecs. + (setattrs): Concatenate prefix_attributes to previous value. + * c-common.c (decl_attributes): Handle prefix and suffix attributes + the same way. - Mon May 25 11:42:18 1992 Mike Stump (mrs at cygnus.com) + * print-tree.c (print_node): Fix typo in printing large INTEGER_CST. - * cp-parse.y (component_decl): Handle anonymous unions as before, - except check to make sure it is really an anonymous union. + * varasm.c (assemble_variable): Consistently use DECL_SIZE for + everything. - Sat May 23 23:37:38 1992 Mike Stump (mrs at cygnus.com) + * c-typeck.c (convert_for_assignment): Fix typo in testing for + pointer to function type. - * cp-tree.c (layout_basetypes): Don't core dump on erroneous input. + * varasm.c (record_constant_1): Handle NON_LVALUE_EXPR. + Rewrite to use switch instead of if/then/elseif/else. - Sat May 23 22:04:31 1992 Mike Stump (mrs at cygnus.com) +Wed Mar 8 18:21:51 1995 Paul Eggert - * cp-typeck.c (c_expand_start_case): build_type_conversion can - return a NULL_TREE, so don't try and find a code or type of it. + * cccp.c (do_include): Fix type typo: pcfbuflimit is char *, not int. - Wed May 20 09:09:08 1992 Michael Tiemann (tiemann@rtl.cygnus.com) +Wed Mar 8 17:30:29 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-call.c (build_method_call): Use DECL_CLASS_CONTEXT, not - DECL_CONTEXT to find the class in which FUNCTION was declared (for - non-virtual calls). + * fold-const.c (force_fit_type): Always propagate OVERFLOW. - Tue May 19 02:08:39 1992 Mike Stump (mrs at cygnus.com) + * rtl.def (INLINE_HEADER): Add new "e" field. + * rtl.h (FORCED_LABELS): New field; other fields adjusted. + (gen_inline_header_rtx): New parm FORCED_LABELS. + * emit-rtl.c (gen_inline_header): Add new parm FORCED_LABELS. + * integrate.c (initialize_for_inline, output_inline_function): + Handle FORCED_LABELS. - * cp-parse.y (component_decl): Remove some bogus code that - prevents empty nested union definitions from compiling. +Wed Mar 8 13:47:20 1995 Jason Merrill (jason@cygnus.com) - Tue May 19 01:08:23 1992 Mike Stump (mrs at cygnus.com) + * alpha.h (WORD_SWITCH_TAKES_ARG): Add -rpath. + (LINK_SPEC): Pass through -taso and -rpath. + * alpha/osf12.h (LINK_SPEC): Ditto. - * cp-decl.c (grokfndecl): Propagate volatile from type of - function out to the decl for the function. +Wed Mar 8 09:59:56 1995 Michael Meissner - Mon May 18 17:19:39 1992 Mike Stump (mrs at rtl.cygnus.com) + * rs6000/eabi.asm: Rewrite so that the initialized pointers go + into the .got2 section, which allows eabi.asm to be assembled with + the -mrelocatable option. Move the data picked up from the bl + instruction to before the traceback tag. - * cp-search.c (get_binfo): Since unions cannot participate in - inheritance relationships, return 0 instead of aborting. + * rs6000/sysv4.h (CPP_SPEC): Define _RELOCATABLE if -mrelocatable + switch is used. - Fri May 15 13:37:40 1992 Mike Stump (mrs at cygnus.com) + * libgcc2.c (__new_handler): Don't initialize the pointer variable + with the address of __default_new_handler, which may not work in + some shared library mechanisms. + (__builtin_new): If __new_handler is NULL, call the function + __default_new_handler. - * cp-parse.y (template_type_name): Handle - template class task { friend task* preempt(task*); }; - syntax. +Tue Mar 7 17:34:59 1995 Ian Lance Taylor - * cp-pt.c (lookup_template_class): Ditto. + * i960.h (PROCESS_PRAGMA): Define. + (ROUND_TYPE_ALIGN): Pass maximum of COMPUTED and SPECIFIED to + i960_round_align. + (ROUND_TYPE_SIZE): Delete. + * i960.c (process_pragma): Uncomment, and rewrite for gcc 2. + (i960_round_size): Delete. + (i960_round_align): Don't adjust suggested alignment downward. + Restrict alignment to value set by #pragma align. - Thu May 14 22:54:17 1992 Mike Stump (mrs at cygnus.com) +Tue Mar 7 12:14:46 1995 Doug Evans - * cp-tree.c (layout_basetypes): Don't warn about non-virtual - destructors unless the user asks with -Wall. + * configure (sparc64-*-elf): Add crtbegin.o, crtend.o to extra_parts. + * sparc/sp64-elf.h (TARGET_VERSION): Define. + (CPP_PREDEFINES): Delete sun, sparc, unix. Delete OS assertions. + (ASM_SPEC): Define. + (LINK_SPEC): Delete solaris stuff, this is an embedded target. + (STARTFILE_SPEC, ENDFILE_SPEC): Define. - Thu May 14 22:38:54 1992 Mike Stump (mrs at cygnus.com) +Mon Mar 6 17:54:01 1995 Doug Evans - * cp-type2.c (build_functional_cast): exp may be an error_mark_node, - don't crash when it is. + * Makefile.in (install-common): Fix typo in installation of cpp. + Likewise with gcc-cross. - Thu May 14 18:56:26 1992 Mike Stump (mrs at cygnus.com) +Mon Mar 6 02:29:05 1995 Jeffrey A. Law - * cp-decl.c (hack_incomplete_structures): Test for underflow - before decreamenting n_incomplete in current_binding_level, since - it is unsigned. + * pa.md (movsicc): New expander. - Tue May 12 15:52:49 1992 Mike Stump (mrs at cygnus.com) +Fri Mar 3 13:34:20 1995 Michael Meissner (meissner@cygnus.com) - Mon May 11 14:10:50 1992 Ron Guilmette (rfg at ncd.com) + * rs6000/sysv4.h (ASM_SPEC): If -mrelocatable was passed to + compiler, pass it on to the assembler. - * cp-decl.c (poplevel): Reconciled with recent changes made to the - `poplevel' routine in c-decl.c. The changes here cause LABEL_DECL - nodes to be attached (as the BLOCK_VARS chain) to the BLOCK node - which represent the outermost scope of the function. +Fri Mar 3 12:11:28 1995 Ian Lance Taylor - Mon May 11 12:35:44 1992 Ron Guilmette (rfg at ncd.com) + * fixincludes: Add fixes for VxWorks header files. + * ginclude/stddef.h: If VxWorks typedef macros are defined, invoke + them as appropriate. - * cp-class.c (finish_struct): Check DECL_CONTEXT to see if it is - any sort of a type (e.g. struct *or* union) rather than just - checking it to see if it's a RECORD_TYPE. - * cp-decl.c (pushdecl): Set DECL_CONTEXT of pushed ..._DECL node, - just as is done in c-decl.c. - (pushdecl): Delete useless variable `cntxt'. - (finish_decl): Set TREE_USED rather than DECL_FROM_INLINE in order - to prevent "unused" warnings. - (finish_function): Check DECL_CONTEXT to see if it is a type. - (finish_function): Fixed indentation problem. - * cp-gc.c (build_m_desc): Check DECL_CONTEXT to see if it is a type. - * cp-init.c (build_virtual_init): Fix indentation. - * cp-lex.c (store_pending_inline): Check DECL_CONTEXT to see if it - is a type. - * cp-pt.c (tsubst, do_pending_expansions): Check DECL_CONTEXT to see - if it is a type. - * cp-typeck.c (mark_addressable): Check DECL_CONTEXT to see if it is - any sort of a type (e.g. struct *or* union) rather than just - checking it to see if it's a RECORD_TYPE. +Fri Mar 3 05:48:54 1995 Paul Eggert - Tue May 12 08:52:06 1992 Michael Tiemann (tiemann@rtl.cygnus.com) + * cccp.c (dump_single_macro): Fix typo: % wasn't properly + doubled in printf formats. - * cp-typeck.c (build_component_ref): Call `break_out_cleanups'. - Also clean up indentiation. +Thu Mar 2 19:44:02 1995 Jason Merrill - Mon May 11 23:14:04 1992 Mike Stump (mrs at cygnus.com) + * expr.c (expand_expr, CLEANUP_POINT_EXPR): Force the operand out + of memory before running cleanups. - * cp-decl.c (pushtag): Handle structure tags in the same way as the - C front-end. This completes a change that rms put in on 3/12/92 and - I put in the Cygnus tree on 3/13/92 and Mark Eichin took back out on - 3/18/92. +Thu Mar 2 19:15:24 1995 Paul Eggert - Sun May 3 00:29:59 1992 Mike Stump (mrs at cygnus.com) + * cccp.c (rescan): Prevent accidental token-pasting to + get !=, *=, /=, ==, or ^=. - * cp-lex.c (copy_lang_decl, store_pending_inline): Cast - arguments to bcopy to be char *. +Thu Mar 2 15:37:13 1995 Jason Merrill - Fri May 1 12:22:31 1992 Michael Tiemann (tiemann@cygnus.com) + * c-typeck.c (build_binary_op): Avoid spurious warning + comparing enumerator to unsigned variable. - * cp-init.c (expand_aggr_init, expand_vec_init): When comparing - array types, use `comptypes' instead of ==, since two array types - may be structurally identical but not == if one was defaulted from - an initializer. +Thu Mar 2 18:18:38 1995 J.T. Conklin - Wed Apr 29 01:25:25 1992 Mike Stump (mrs at cygnus.com) + * m68k.md (sqrtsf2,sqrtdf2): Use fp precision specifiers. - * cp-init.c (do_friend): Check that PREVIOUS_DECL is non-NULL. +Thu Mar 2 18:09:01 1995 Stephen L Moshier (moshier@world.std.com) -Thu Jun 18 14:15:07 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * c-lex.c (yylex, case !NOT_FLOAT): Remove previous change. - * pa.md (insv): Use `+' for operand 0 constraint. +Thu Mar 2 15:26:50 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Jun 18 13:39:22 1992 Michael Meissner (meissner@osf.org) + * Makefile.in (bootstrap*): Pass new STAGE_PREFIX to recursive makes. - * mips.h (MIPS_VERSION): Bump Meissner version # to 20. - (final_prescan_insn): Add declaration. - (FINAL_PRESCAN_INSN): Just call final_prescan_insn. - (CONST_OK_FOR_LETTER_P): Rewrite some tests, so that they will - work on host systems with 64 bit integers. +Wed Mar 1 14:52:16 1995 Ian Lance Taylor - * mips.c (large_int): Rework, so that we don't get funny boundary - conditions on systems with 64 bit integers. - (mips_move_1word): Just use li to load constants that can be done - with lui, instead of issuing the lui, since the GAS bug that - generated two instructions has been fixed. - (final_prescan_insn): Move the checking for filling the delay - slots here from the FINAL_PRESCAN_INSN macro. + * i960/i960-coff.h (ASM_FILE_START): Define. + (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Define. + (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Define. + (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Define. + (INT_ASM_OP): Define. + (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Define. + * i960/vx960-coff.h (CPP_PREDEFINES): Define. + (CPP_SPEC): Define. + (CC1_SPEC): Default to -mca. - * mips.md (andsi3, iorsi3, xorsi3): Make the constraints match - the real machine (the predicate still is more general in order - to optimize bitfields at the expense of not CSE'ing large - constants used in logical ops, and making reload load it into - a scratch register). Don't use $1 as a temporary register any - more. +Wed Mar 1 11:10:54 1995 Michael Meissner (meissner@cygnus.com) - * varasm.c (decode_reg_name): If `memory' return -4. + * rs6000/rs6000.c (output_prologue): Do not emit the word that + gives the PC relative location to the local GOT table for the + -mrelocatable option here. + * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Emit it here. - * stmt.c (expand_asm_operands): If `memory' is used as a clobbered - register, emit a (clobber (const_int 0)) to force the compiler not - to cache memory values in registers across the assembly - instruction(s). + * t-eabi (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Build -msoft-float + and -mrelocatable versions of the library. - * mips-tfile.c (read_line): Semicolons within strings are not - counted as statement separators. + * rs6000/powerpc.h (CPP_PREDEFINES): Define the cpu and machine as + powerpc, not rs6000. - * collect2.c (scan_prog_file, OSF/rose case): Cast pointer arguments - to bcopy to generic * to avoid warnings. + * libgcc2.c (_unwind_function): Clone for powerpc, using the + PowerPC mnemonics. -Thu Jun 18 12:04:53 1992 David J. MacKenzie (djm@wookumz.gnu.ai.mit.edu) + * rs6000/rs6000.md (uminsi3, umaxsi3): Silence warnings that + -2147483648 is too large to fit in a signed integer on 32-bit + hosts. - * c++: If given -v with no file args, don't pass the libraries to - gcc. +Wed Mar 1 06:48:31 1995 Richard Kenner -Thu Jun 18 10:34:22 1992 Tom Wood (wood@dg-rtp.dg.com) + * fold-const.c (decode_field_reference): Don't check TREE_CODE + of EXP; let get_inner_reference decide if have reference. + Allow no bit reference if have AND_MASK. + (all_ones_mask_p): Use tree_int_cst_equal, not operand_equal_p. + (unextend): New function. + (fold_truthop): For constant cases, use new function, rework + conversion, and warn if comparison can never be true. - * expr.c (expand_builtin, BUILT_IN_FSQRT): Emit queue of increment - instructions before starting a sequence that may get thrown away. + * expr.c (store_expr): Do conversion in two steps for promoted lhs. -See ChangeLog.5 for earlier changes. +See ChangeLog.9 for earlier changes.