--- gcc/ChangeLog 2018/04/24 18:00:26 1.1.1.4 +++ gcc/ChangeLog 2018/04/24 18:06:27 1.1.1.5 @@ -1,9828 +1,10374 @@ -Sat Dec 26 05:12:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sun Jun 20 18:09:50 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Version 2.3.3 released. + * calls.c (expand_call): In last change, preserve the temp slot. -Fri Dec 25 06:53:49 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Sun Jun 20 13:37:00 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * expmed.c (store_bit_field): If VALUE needs to be narrowed, do - it with gen_lowpart, not an explicit SUBREG. + * c-common.c (decl_attributes): If first_arg_num is 0, no error for it. - * a29k.md (divsf3): Fix typo in mode of DIV. + * Makefile.in (extraclean): Delete *.gz, and other diff and tar files. -Fri Dec 25 00:03:26 1992 James Van Artsdalen (james at bigtex.cactus.org) +Sat Jun 19 19:55:43 PDT 1993 Ron Guilmette (rfg@netcom.com) - * Makefile.in (install-dir): Add missing semicolon. + * dwarfout.c (type_main_variant): New function. + Use it in place of TYPE_MAIN_VARIANT everywhere in dwarfout.c. - * i386sco4.h (_KR, _SVID, _NO_PROTOTYPE): Define if -traditional. + * c-decl.c (grokdeclarator): Avoid the use of macros for ..._TYPE + nodes in cases where a parameter's type is error_mark_node. -Thu Dec 24 15:02:29 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Jun 19 03:57:57 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * fixinc.svr4: Don't change bitfield types to int. + * Version 2.4.4 released. - * seq386.h (TARGET_DEFAULT): Override. + * toplev.c (compile_file): For static decl never defined, + use just warning, not pedwarn. -Wed Dec 23 20:19:17 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * dbxout.c (dbxout_type): Reinstall #if 0 around code for + outputting structure types, that confused GDB. - * i386sco4.h (CPP_SPEC): Avoid repeated def of _M_SYSV. +Fri Jun 18 20:06:35 1993 Pat Rankin (rankin@eql.caltech.edu) -Tue Dec 22 15:40:08 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): adjust stack pointer by 4 prior + to calling C$MAIN_ARGS, otherwise POSIX edition of that routine dies. - * c-decl.c (store_parm_decls): Use TYPE_MAIN_VARIANT to compare types - when merging info from previous prototype. +Fri Jun 18 14:21:14 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * fixinc.svr4: Add special fixes for netinet/in.h and sys/endian.h. + * Makefile.in (clean): Delete objc-headers subdir. -Mon Dec 21 02:58:27 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/m68k/m68k.h (TARGET_SWITCHES): For -m68020, -m68000 and + -msoft-float, turn off 01400 bits. - * m68kv4.h (ASM_OUTPUT_CASE_END): - Use switch_table_difference_label_flag. + * Makefile.in (gcc.xtar.gz): Renamed from gcc.tar.z. + (dist): Change the dependency. + (mostlyclean): Delete tmp-gcc.xtar.gz. - * configure (m68k-motorola-sysv*): Set use_collect2. + * c-iterate.c (save_exprs): New variable. + (collect_iterators): Don't process a SAVE_EXPR twice. + (iterator_expand): Clear save_exprs. -Sat Dec 19 20:19:44 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * Makefile.in (gcc.info, cpp.info): Actually cd to srcdir. - * a29k.c (secondary_reload_class): Return CR_REGS for larger than - word memory, and BP_REGS for part-word mem with no DW. + * configure (clipper-intergraph-clix*): Use install-headers-cpio. - * 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'. +Fri Jun 18 13:37:16 1993 Michael Meissner (meissner@osf.org) -Sat Dec 19 01:32:13 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * mips.c (output_block_move): Don't abort if one of the input + registers is allocated as a scratch register, just use fewer + scratch registers. - * Makefile.in (all.cross): Add `specs' as dep. +Fri Jun 18 00:25:16 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * build-make (CC): Delete the -V option. + * config/i386/i386.c (call_insn_operand): Require constant address + be a general_operand. + (expander_call_insn_operand): New fn (what call_insn_operand was). + * config/i386/i386.md (call_pop, call, call_value_pop, call_value) + (untyped_call): Use expander_call_insn_operand. - * getpwd.c (getpwd): Don't get upset if ERANGE is not defined. +Thu Jun 17 17:58:11 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Dec 18 20:56:59 1992 John Hassey (hassey@dg-rtp.dg.com) + * config/pa/pa.md (decrement_and_branch_until_zero): + Pattern disabled. - * 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. +Thu Jun 17 13:34:20 1993 Jim Wilson (wilson@sphagnum.cygnus.com) -Fri Dec 18 17:17:39 1992 Michael Meissner (meissner@osf.org) + * unroll.c (calculate_giv_inc): Add new variables increment_total + and tries, and new label retry, to handle case where increment is + two add instructions. - * 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. +Thu Jun 17 12:13:53 1993 Minh Tran-Le (mtranle@paris) - * 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. + * config/i386/aix386ng.h: Changes for non-GAS gcc. + (ASM_FILE_START_1): Always output .noopt because /bin/as is buggy. + Added #undef to {INIT,FINI,CTORS,DTORS}_SECTION_ASM_OP, ... when + not using GAS. + (CONST_SECTION_FUNCTION): Override svr3 default. + (EXTRA_SECTION_FUNCTIONS): Override svr3 default. + (OBJECT_FORMAT_COFF): Added define for collect2. + (MY_ISCOFF): For collect2 to handle aix and svr3 object file. + + * config/i386/aix386.h (USE_GAS): New define. - * 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. +Thu Jun 17 00:26:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Dec 18 05:14:14 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * reg-stack.c (stack_result_p): New function. + (stack_reg_life_analysis): Use that. - 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.) + * final.c (output_addr_const): Don't insert a leading space + in the CONST_DOUBLE_HIGH != 0 case. - * cp-decl2.c (grokclassfn): Try using the local value for a nested - type if the IDENTIFIER_TYPE_VALUE isn't there. +Thu Jun 17 00:09:19 1993 Jeff Law (law@snake.cs.utah.edu) - * 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'. + * pa.h (LEGITIMATE_CONSTANT_P): Reject function addresses for now. -Thu Dec 17 17:51:16 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) +Wed Jun 16 20:14:10 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * Makefile.in (install-dir): Added missing then and semicolon. + * cp-typeck.c (build_unary_op): Make sure it's the global fn `main' + before complaining about taking the address of it. -Thu Dec 17 15:19:36 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Jun 16 16:24:31 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * x-i386s4 (CC): New assignment. + * config/i386/xm-sysv4.h (SMALL_ARG_MAX): Defined. -Wed Dec 16 15:49:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-typeck.c (check_format): Don't crash if cur_type is an error_mark. + Handle identifier_node as the TYPE_NAME. - * objc-actions.c (finish_objc) [OBJC_SELECTORS_WITHOUT_LABELS]: - Always call build_selector_translation_table. +Mon Jun 14 16:09:24 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in (install-dir): - If cross-compiler, create $(tooldir) and $(assertdir). + * calls.c (expand_call): If PCC_STATIC_STRUCT_RETURN and TARGET + is zero, copy result from static location. -Wed Dec 16 14:19:08 1992 Richard Kenner (kenner at vlsi1.ultra.nyu) + * cse.c (invalidate_skipped_set): Promote "nonscalar" to "all". - * rs6000.h (INITIALIZE_TRAMPOLINE): Get function address and toc - pointer from correct place relative to FNADDR. +Mon Jun 14 16:01:34 1993 Karl Berry (karl@cs.umb.edu) - * varasm.c (assemble_trampoline_template): If TRAMPOLINE_SECTION - is defined, put the trampoline template into that section. + * fixincludes (stdio.h math.h ctype.h sys/{limits.h,fcntl.h,dirent.h}): + Fix STDC/POSIX and other things for Interactive Unix 2.2 or later. - * alpha.h (TRAMPOLINE_SECTION): New macro. +Mon Jun 14 04:41:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Dec 16 14:19:41 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * reload.c (make_memloc): Don't reuse a memloc. - * reload.c (get_secondary_mem): Don't save address if it isn't valid. +Sun Jun 13 16:01:37 1993 Jeff Law (law@snake.cs.utah.edu) -Wed Dec 16 13:59:17 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * pa.md (iorsi3): Explicitly set length to 1. + (andsi3, lshrsi3, rotrsi3, rotlsi3): Likewise. + (ashift and ashiftrt by const_int_operand): Likewise. + ((and (ashift)) optimizer): Likewise. - * varasm.c (assemble_trampoline_template): - Use readonly_data_section, not text_section. +Sun Jun 13 20:23:04 1993 Stephen Moshier (moshier@world.std.com) -Wed Dec 16 11:32:11 1992 Michael Meissner (meissner@osf.org) + * real.c (ltoe, ultoe, eifrac, euifrac): Handle 64-bit longs. + (SFMODE_NAN, DFMODE_NAN, XFMODE_NAN, TFMODE_NAN): New macros + permit definitions of NaN patterns to be overridden in tm.h. - * 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. +Sun Jun 13 12:55:22 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * 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. + * cp-decl.c (start_function): Avoid a null-reference on CTYPE. -Wed Dec 16 07:33:08 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Sun Jun 13 08:22:30 1993 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. + * expr.c (expand_expr, case COND_EXPR): Fix typo; const1_rtx should + be const0_rtx when ignoring expression. - * varasm.c (assemble_trampoline_template): Always put template in - text section. +Sun Jun 13 00:15:00 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Dec 16 05:04:06 1992 Tom Wood (wood@dg-rtp.dg.com) + * genopinit.c (optabs): For strlen_optab, don't look for `2' in name. - * combine.c (try_combine): Allow for the case where I3 becomes an - unconditional jump when it is the last nonnote insn. +Sat Jun 12 20:23:04 1993 Stephen Moshier (moshier@world.std.com) -Tue Dec 15 20:30:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * real.c (ereal_from_float, ereal_from_double): New functions. + * real.h (REAL_VALUE_FROM_TARGET_SINGLE): New macro. + (REAL_VALUE_FROM_TARGET_DOUBLE): Likewise. + * emit-rtl.c (gen_lowpart_common): Use those macros if REAL_ARITHMETIC. - * cccp.c (do_pragma): Use index, not strchr. +Sat Jun 12 13:44:00 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * seq386.h (FUNCTION_PROFILER): Add missing . to label name. + * sched.c (add_dependence): Reject CODE_LABELs when searching for + last insn of a sched group. - * reload1.c (eliminate_regs_in_insn): Test old_body, not new_body, - since people have tested it that way. +Sat Jun 12 08:06:25 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * reload1.c (eliminate_regs_in_insn): Don't recopy new_body - if it is an asm_operands insn. + * m68k.md (movqi): Handle copying an address register to or + from memory when the address uses the address register. -Tue Dec 15 19:42:58 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Sat Jun 12 00:17:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * sparc.md (return peepholes): Add QImode and HImode move/return - patterns. + * cse.c (record_jump_cond): Look up op1 again after inserting op0. -Tue Dec 15 17:42:07 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Fri Jun 11 21:50:16 1993 John F Carr (jfc@Athena.mit.edu) - * alpha.h (ASM_SPEC): New macro. + * rs6000.md (movsf, movdf): Handle a move from an integer register + before reload. This can happen if the user uses asm to put a floating + point variable in an integer register. - * 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. +Fri Jun 11 20:04:43 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Mon Dec 14 13:16:14 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * rs6000.c (rs6000_gen_section_name): Only replace last period + in filename with section name and correct calculation of + string length. - * rs6000.c (output_epilog): Support LANGUAGE_STRING values for F77, - Ada, and Pascal. + * recog.c (constrain_operands): Correctly ignore MATCH_OPERATOR + operands. -Sun Dec 13 16:42:26 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * reload1.c (eliminate_regs_in_insn): Don't use a later elimination + than eliminate_regs would use. - * fixinc.sco: Complete rewrite by ian@cygnus.com. + * c-decl.c (finish_decl): Don't modify DECL_INITIAL of a PARM_DECL. -Sat Dec 12 17:51:43 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Thu Jun 10 23:48:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * va-alpha.h: Correctly form multi-word object. + * genextract.c (main): Use __volatile__, not volatile. - * alpha.c (alpha_builtin_savregs): Correctly compute ARGSIZE and NREGS. +Thu Jun 10 16:21:08 1993 Michael Meissner (meissner@osf.org) - * alpha.h (FUNCTION_ARG_PASS_BY_REFERENCE): Deleted. + * i386/osfrose.h (SUBTARGET_SWITCHES): Add -m{,no-}ident. + (ASM_SPEC): Pass -v to assembler if used. + (OVERRIDE_OPTIONS): Don't allow -fpic if using the OSF/rose object + format. + (ASM_DECLARE_OBJECT_NAME, ASM_DECLARE_FUNCTION_NAME): If using ELF, + emit a .type pseudo op that says the label is either an object or + a function. + (ASM_DECLARE_FUNCTION_SIZE): Copy from svr4.h. + (SCCS_DIRECTIVE): Define. + (ASM_FILE_END): Unless -mno-ident, emit a .ident directive that + identifies GCC and whether several switches are used. -Sat Dec 12 08:42:43 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) + * i386/osfelf.h (ASM_SPEC): Pass -v to assembler if used. + (OBJECT_FORMAT_ROSE): Undefine. - * 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. +Thu Jun 10 16:20:24 1993 Doug Evans (dje@canuck.cygnus.com) - * pa.md (floatsisf, floatsidf): Do not accept general registers. + * expmed.c (MAX_BITS_PER_WORD): Define earlier. + (shift_cost, shiftadd_cost, shiftsub_cost): Use MAX_BITS_PER_WORD. -Fri Dec 11 00:13:52 1992 Ian Lance Taylor (ian@cygnus.com) +Thu Jun 10 12:56:18 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * 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. + * sched.c (sched_analyze_2): Don't ignore USE insns when creating + dependencies. + (sched_analyze): Likewise. -Fri Dec 11 17:56:53 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) +Wed Jun 9 12:58:51 1993 Michael Meissner (meissner@osf.org) - * 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). + * configure (i386-*-osfelf): Add new configuration for OSF/1 using + the ELF object file format. - * 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. + * i386/osfelf.h (new file): New config file for OSF/1 with ELF. + Include osfrose.h and redefine things as needed. -Fri Dec 11 08:15:53 1992 James Van Artsdalen (james@bigtex.cactus.org) + * i386/osfrose.h (SUBTARGET_SWITCHES): Add -melf, -mrose, and + -mno-rose switches. + (HANDLE_SYSV_PRAGMA): Define. + (IDENTIFIER_PREFIX, IDENTIFIER_SUFFIX): Remove unused macros. + (CPP_PREDEFINES): Add -Acpu(i386) -Amachine(i386) -Asystem(unix). + (CPP_SPEC): Define __ROSE__ if compiling for OSF/rose and __ELF__ + if compiling for the ELF object format. + (CC1_SPEC): Pass -mrose if no object format switch. + (DWARF_DBX_REGISTER_NUMBER): Map registers according to the + debugging format. - * reload1.c (choose_reload_regs): Don't inherit a reload if the - previous reload wasn't at least as wide as the current reload. +Wed Jun 9 13:21:03 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Fri Dec 11 07:19:11 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + Mon Jun 7 18:01:31 1993 Mike Stump (mrs@cygnus.com) - * alpha.c (output_epilog): Remove garbage from one decl of EXTRA. - Subtract, not add, size from frame pointer. + * cp-search.c (is_subobject_of_p, lookup_field, lookup_fnfields): + Because virtual bases don't necessarily share the same binfo, use + the binfo hierarchy of TYPE_BINFO of any virtual bases, when + performing hiding checks. Fixes problem introduced on Thu Mar 25 + 23:09:27 1993. The symptom is the compiler reports non ambiguous + members as being ambiguous. - * a29kunix.h (LINK_SPEC): Use -T, not -c, for new gld and change file - name to default.gld from default.ld. + Wed Jun 2 11:53:24 1993 Mike Stump (mrs@cygnus.com) - * function.c (assign_outer_stack_local): Align proper frame offset. + * cp-search.c (lookup_fnfields_here): Use TYPE_MAIN_VARIANT on + context types before comparing. Fixes const member functions not + being found in templates. - * loop.c (get_condition): Check for overflow when canonicalizing - comparison. +Tue Jun 8 19:44:23 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -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. + * cp-decl.c (finish_function): Move setting of the DECL_RESULT's + context and calling setjmp_protect after poplevel, so we have a + valid DECL_INITIAL for the fndecl (not an error_mark_node). - * 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) +Tue Jun 8 13:14:27 1993 John Hassey (hassey@dg-rtp.dg.com) - * combine.c (get_last_value): Never use value from later insn, even - if reg is only set once. + * configure: Added gas support for m88k-* targets. - * c-tree.h (IDENTIFIER_LIMBO_VALUE): Delete duplicate definition. + * t-luna-gas t-dgux-gas t-m88k-gas: New files in config/m88k. -Thu Dec 10 08:54:03 1992 Tom Wood (wood@dg-rtp.dg.com) +Tue Jun 8 14:51:44 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * i386sco4.h (CPP_PREDEFINES): Define i386 and unix here. - (CPP_SPEC): Not here. + * loop.c (move_movables): Delete REG_EQUAL notes that describe a + non loop invariant value. -Wed Dec 9 19:03:55 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) + * sparc.c (call_operand, call_operand_address): Accept any address + not just REG rtx. - * pa.h (ASM_DECLARE_FUNCTION_NAME): Correctly get the return type - of DECL. +Tue Jun 8 18:47:39 1993 Torbjorn Granlund (tege@nada.kth.se) - * x-pa (CC): Set to "/usr/local/bin/gcc" instead of - "/usr/local/gcc". + * sparc.h: (RTX_COSTS): Make cost of MULT depend on TARGET_V8. -Tue Dec 8 17:50:26 1992 Michael Meissner (meissner@osf.org) + * pa.h (CPP_SPEC): Fix typo: define __hp9000s700. - * 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 Jun 8 06:16:30 1993 John Hassey (hassey@dg-rtp.dg.com) -Tue Dec 8 11:55:52 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) + * m88k.h (HARD_REGNO_REGS, HARD_RENO_MODE_OK, MODES_TIEABLE_P): + Restrict use of 88110 extended registers to floating point. - * pa.md (sh[123]add): Use "shadd_operand" as the predicate for - operand one. - * pa.c (shadd_operand): New function. +Mon Jun 7 15:42:10 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Dec 8 08:30:13 1992 Tom Wood (wood@dg-rtp.dg.com) + * math-68881.h (atan2): For x <= 0, lump y == 0 with y > 0 + to get the right result in 0, -1 case. - * 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. +Mon Jun 7 17:50:25 1993 Jeff Law (law@snake.cs.utah.edu) - * 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. + * pa.h (RTX_COSTS): Cost of MULT also depends on + TARGET_DISABLE_FPREGS. -Tue Dec 8 08:30:13 1992 Niklas Hallqvist (niklas@della.appli.se) + * pa.h (ASM_OUTPUT_INT): Always emit special "plabel" relocation for + function labels. - * integrate.c (expand_inline_function): Don't output line notes - for implicit formals. +Sun Jun 6 16:31:59 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Dec 8 06:21:44 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * gcc.c (translate_options): Don't assume option_map[j].arg_info != 0. - * cse.c (max_uid): New variable. - (cse_end_of_basic_block): Use it to ignore insns made by CSE. - (cse_main): Set it. + * config/vax/vax.h (PRINT_OPERAND): Prefix constant by `$'. -Mon Dec 7 21:22:29 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) +Sun Jun 6 00:44:48 1993 Torbjorn Granlund (tege@nada.kth.se) - * cp-init.c (do_friend): Revert change of Sept 1; it seems to have - broken properly emitting friends. + * m88k.md (fix_truncdfsi2): Destination is general register, source + general or extended register. + (fix_truncsfsi2): Likewise. -Mon Dec 7 19:09:25 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Sun Jun 6 00:20:25 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - * reload1.c (eliminate_regs_in_insn): Make another copy of all the - RTL if we changed something and we aren't permanently replacing. + * objc-act.c (encode_type): Add cases for DImode, encoded + as 'q' and 'Q' respectively. - * romp.md (reload_out{q,h}i): Write as proper PARALLEL. +Sat Jun 5 14:02:36 1993 James Van Artsdalen (james@bigtex.cactus.org) -Sun Dec 6 16:27:14 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * c-decl.c (pushdecl): Copy DECL_FRAME_SIZE for inline function decls. - * alpha.md (add-mult): Add missing `&' in constraints of kludge - plus/plus/mult pattern. + * stmt.c (check_for_full_enumeration_handling): Don't create a + default label if all enumeration literals are covered by cases. -Sun Dec 6 16:26:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Jun 5 04:49:19 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * optabs.c (expand_binop): Correct sign of complex quotient imagpart. + * function.c (uninitialized_vars_warning): Change warning text. + (setjmp_args_warning): Likewise. -Sun Dec 6 07:59:16 1992 Michael Meissner (meissner@osf.org) + * c-typeck.c (convert_for_assignment): Allow conversion to union type + for pointer if the pointer could convert to the union member. - * mips.h (MIPS_VERSION): Set Meissner version # to 30. - (LEGITIMIZE_ADDRESS): For + addresses, rewrite so - that + ( & ~0x7fff) is put into a pseudo reg. - This is to allow CSE to generate better code for repeated - references in the same general vicinity, such as when large stack - frames are used. +Fri Jun 4 18:09:47 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * 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. + * integrate.c (expand_inline_function): Always copy a SUBREG as an + argument into a REG. -Fri Dec 4 19:50:29 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) +Fri Jun 4 05:52:28 1993 Torbjorn Granlund (tege@nada.kth.se) - * fixincludes: fix _cplusplus typo in SCO's tinfo.h + * pa.h (RTX_COSTS): Make cost of MULT depend on TARGET_SNAKE. -Fri Dec 4 19:22:35 1992 Randy S. Welch (randy@kcin.alphacdc.com) + * expmed.c (synth_mult): Move code to add or subtract at + leftmost 1-bit to before factoring code to decrease the allowed cost + quickly. Restrict it to handle only odd numbers. + (init_expmed): Limit mult_cost to make synth_mult run faster. - * xm-plexus.h: New file. - * configure (m68k-plexus-sysv*): Use it. +Fri Jun 4 23:18:35 1993 Kresten Krab Thorup (krab@iesd.auc.dk) -Fri Dec 4 19:21:44 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * objc/sendmsg.c (objc_msg_sendv): Pass a dummy va_list, not 0, + to objc_error. - * c-decl.c (start_function): Use TYPE_MAIN_VARIANT when comparing - return type with previous prototype declaration. +Fri Jun 4 16:12:43 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * cccp.c (output_line_command): Use alloca for line_cmd_buf. + * byteorder.h: Use new-style function definitions, so that this + file is both valid C and C++. -Fri Dec 4 19:20:34 1992 Richard Kenner (kenner@mole.gnu.ai.mit.edu) +Fri Jun 4 00:59:31 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cse.c (cse_insn): Always pass result of canon_reg through - validate_change before using it in insn. + * config/mips/svr4-5.h (CPP_PREDEFINES): + Add _MIPS_SZINT _MIPS_SZLONG _MIPS_SZPTR. - * 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. +Thu Jun 3 23:48:39 1993 Jeff Law (law@snake.cs.utah.edu) -Fri Dec 4 19:13:35 1992 Jonas Olsson (ljo@po.cwru.edu) + * pa.c (output_function_epilogue): If the last insn in the + current function is a (volatile) call, then emit an extra + nop after the call so that RP will point to a valid instruction. - * i386bsd.h (ASM_OUTPUT_ADDR_DIFF_ELT, JUMP_TABLES_IN_TEXT_SECTION): - Copy definitions from i386v4.h to get PIC code correct. +Thu Jun 3 18:52:24 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Dec 3 19:20:14 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * config/nextstep.h (INCLUDE_DEFAULTS): Use same order as cccp.c. + Add CCC_INCLUDE_DIR with /ansi and /bsd concatenated. - * cp-decl.c: Include sys/types.h for systems that need things for - signal.h. + * varasm.c (immed_real_const_1): Check explicitly for NaNs. -Thu Dec 3 01:40:42 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Thu Jun 3 14:37:25 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * 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. + * combine.c (num_sign_bit_copies): At end, return 1 is nonzero has + the high bit set. - * fixincludes (sys/types.h): Check for [ \t]size_t not size_t. +Wed Jun 2 17:27:31 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Dec 2 15:40:36 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * loop.c (record_initial): Reject insns that store into subregs. - * configure (rs6000-ibm-aix32): New target. - * rs6000-aix32.h: New file. +Tue Jun 1 12:46:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Dec 1 18:05:20 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * Version 2.4.3 released. - * cp-type2.c (build_functional_cast): Revert change of Nov 2, - concerning clearing the TREE_VALUE of a default parameter. + * just-fixinc: New file. -Tue Dec 1 13:33:25 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * config/convex/convex.h [_IEEE_FLOAT_] (LINK_SPEC): + Use ___gcc_cleanup, not __gcc_cleanup. - * local-alloc.c (optimize_reg_copy_2): Correct reg_n_refs updates. +Tue Jun 1 07:41:26 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in (INSTALLED_H): Add syslimits.h. + * rs6000.md (ffs): Delete pattern containing nonexistant instruction. -Tue Dec 1 11:09:50 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * alpha.md (extendsidi2): Correctly do operation when in FP + registers and, since expensive, don't have FP regs as a preference. - * 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 Jun 1 00:09:46 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Dec 1 10:43:13 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * fixincludes (signal.h): Fix typo in last change. - * combine.c (num_sign_bit_copies): Return 1 on failure, not 0. - Fix typo in last change; return 1 on failure, not BITWIDTH. + * configure: Add missing dash in patterns for mips-*-riscos... + In riscos 5 patterns, use fixinc.mips. -Tue Dec 1 09:39:47 1992 Michael Meissner (meissner@osf.org) + * fixinc.mips: New file. - * mips.c (function_prologue): Do not emit a .loc before the - function if debug level is 1. This confuses gdb. + * config.sub: Handle 386bsd. -Tue Dec 1 02:48:29 1992 James Van Artsdalen (james at bigtex.cactus.org) +Mon May 31 23:47:00 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * isc.h (TARGET_DEFAULT): New macro - don't make TARGET_IEEE_FP - default for ISC. + * config/vax/vax.md (untyped_call, blockage): New patterns, + basically copied from m68k.md. -Fri Nov 27 01:30:41 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon May 31 21:46:08 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Version 2.3.2 released. + * romp.c (output_epilog): Don't crash if TYPE_SIZE of an arg is + not set. - * objc/core.c (searchForMethodInHierarchy): - If SEL or NAME is 0, return 0. +Mon May 31 00:15:20 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * gcc.c (LINK_LIBGCC_SPECIAL_1): New parameter. - * rs6000.h (LINK_LIBGCC_SPECIAL_1): Defined. + * config/mips/x-sony (OLDCC): Fix typo. - * t-hp320g (RANLIB, RANLIB_TEST, AR, AR_FLAGS): - Just copy value of ..._FOR_TARGET. - (LIBCONVERT): Use TARGET_TOOLPREFIX. + * config/mips/bsd-4.h, bsd-5.h, svr3-4.h, svr3-5.h, svr4-4.h, svr4-5.h: + (STANDARD_INCLUDE_DIR): Renamed from SYSTEM_INCLUDE_DIR. + * config/mips/bsd-5.h, svr3-5.h, svr4-5.h (LINK_SPEC): + Delete excess close brace. - * reload.c (find_reloads) [SMALL_REGISTER_CLASSES]: - Don't use preferred_class for a multiword register. + * pa.md (decrement_and_branch_until_zero): + Reverse all conditions in reload cases. - * cccp.c (do_include): Initialize searchptr to 0. + * Version 2.4.2 released. -Fri Nov 27 07:40:54 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Sun May 30 21:14:42 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * 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. + * integrate.c (expand_inline_function): Increment map->const_age + before copying REG_NOTES. -Thu Nov 26 10:31:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * sparc.c (sparc_builtin_saveregs): Don't set first_reg to zero + for varargs. - * gstdarg.h (va_end): #undef before the declaration. +Sun May 30 23:58:52 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * gstdarg.h (va_arg): Alternative definition for big-endian machines. - * gvarargs.h (va_arg): Copy both definitions from gstdarg.h. + * objc/Makefile (copy-headers): chmod the headers, not the dir. - * limitx.h, limit.y: Test and define _GCC_LIMITS_H_, not _LIMITS_H_. + * Makefile.in (objc-headers): Don't dep on force. + Touch objc-headers so copy is not repeated at install time. - * mips.c (mips_debugger_offset): Don't crash for unknown cases. + * final.c (shorten_branches): Conditionalize last change + on SHORTEN_WITH_ADJUST_INSN_LENGTH. - * c-typeck.c (build_unary_op): Call pedantic_lvalue_warning - for *all* cases of incrementing a cast. + * pa.h (SHORTEN_WITH_ADJUST_INSN_LENGTH): Defined. - * libgcc2.c (__udiv_w_sdiv): Cast 1 before shifting by 31. +Sun May 30 13:53:30 1993 Jeff Law (law@snake.cs.utah.edu) - * fixincludes (PWDCMD): New variable, set specially for Apollos. - Use it to get the working dir. + * final.c (shorten_branches): Call ADJUST_INSN_LENGTH during the + shortening phase. - * combine.c (num_sign_bit_copies): Fix 1-off error in PLUS case. + * pa.c (output_cbranch): In forward/long branch case, only + nullify if the delay slot was empty or if the delay slot + was explicitly nullified. + (output_bb): Likewise. + + * pa.h (ADJUST_INSN_LENGTH): Call pa_insn_adjust_length. - * c++: Put newline into `for arg do'. + * pa.h (INSN_SETS_ARE_DELAYED): Do not call get_attr_type with a + CLOBBER insn. + (INSN_REFERENCES_ARE_DELAYED): Likewise. -Thu Nov 26 08:32:20 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * pa.md (call insns and expanders): Do not explicitly clobber %r31. - * expmed.c (struct algorithm): Make coeff a HOST_WIDE_INT. + * pa.c (pa_insn_adjust_length): Rework. Add code to handle + millicode calls with unfilled delay slots and inline block moves. + (compute_movstrsi_length): New function to compute the length of + a movstrsi pattern. + (output_cbranch): Long branches with unfilled delay slots can + always nullify the following instruction if their delay slot + was not filled. - * romp.c (output_epilog): Always call output_fpops. +Sun May 30 18:58:22 1993 Jim Wilson (wilson@sphagnum.cygnus.com) -Wed Nov 25 16:24:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * mips.c (function_arg_partial_nregs): For BLKmode values, fits in + remaining register if total size <= MAX_ARGS_IN_REGISTERS, not <. - * Makefile.in (install-fixincludes): Use SYSTEM_HEADER_DIR. +Sun May 30 17:45:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * m68ksgs.h (ASM_OUTPUT_DOUBLE_OPERAND): Really use the operand VALUE. + * emit-rtl.c (operand_subword): Shift by (HOST_BITS_PER_WIDE_INT / 2), + not by 32. - * tree.h (CONSTRUCTOR_NAME_FORMAT): Let config.h override this. - * tower-as.h (CONSTRUCTOR_NAME_FORMAT): Defined. + * reload1.c (reload): If only non-group need is unfilled, see if + regs spilled for earlier classes can satisfy it. - * c++: Replace `for arg do' which ash can't handle. + * config/mips/iris4loser.h (ASM_SPEC): Add unconditional -O0. - * t-next (OTHER_FIXINCLUDES_DIRS): Delete /NextDeveloper/Headers. +Sat May 29 15:19:57 1993 Jeff Law (law@snake.cs.utah.edu) - * apollo68.h (HAVE_ATEXIT): Commented out. + * pa.md (movdf for const_double): Handle loading + a CONST_DOUBLE into general registers. + (movsf for const_double): Likewise. - * regclass.c: Fix typo in use of SECONDARY_INPUT_RELOAD_CLASS. - (copy_cost): Fix typo in use of SECONDARY_OUTPUT_RELOAD_CLASS. + * pa.c (singlemove_string): Handle SFmode CONST_DOUBLE + as a source operand. -Wed Nov 25 14:15:50 1992 Jim Wilson (wilson@sphagnum.cygnus.com) +Sat May 29 14:14:30 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * fixinc.svr4 (regexp.h): Don't add a getrnge declaration if a - conflicting declaration is already present. + * emit-rtl.c (operand_subword): Correctly handle case when + REAL_VALUE_TO_TARGET_DOUBLE is used on a 64-bit machine. -Wed Nov 25 06:47:18 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Sat May 29 12:15:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * rs6000.h (LINK_LIBGCC_SPECIAL): No longer define. + * fixincludes (signal.h): Don't mung #endif if nonwhite stuff precedes. - * stmt.c (expand_value_return): Don't emit move between differing - modes when PROMOTE_FUNCTION_RETURN is defined; convert instead. + * rtl.h: Undef PC. - * integrate.c (expand_inline_function): Ensure a REG used as - COPY has REG_USERVAR_P set if LOC does. +Fri May 28 19:01:39 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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). + * configure (i[34]86-*-isc*): If gas and not stabs, use isccoff.h. -Tue Nov 24 00:23:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * final.c (shorten_branches): Do not call insn_current_length + with an insn which has a non-varying length. Use insn_lengths + instead. - * i386bsd.h (FUNCTION_PROFILER): Use mcount, not _mcount. + * c-typeck.c (process_init_constructor): Never set current_index + itself--always store into current_index_node. - * t-next (OTHER_FIXINCLUDES_DIRS): Leave just /LocalDeveloper/Headers - and /NextDeveloper/Headers. + * dbxout.c (dbxout_type): Add missing `;' for array with no domain. -Mon Nov 23 22:06:31 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri May 28 16:47:54 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * ns32k.md (movsi): Split alt 1 to deprecate xy classes in operand 1. + * cse.c (fold_rtx): Correct check for associating shifts and + ending up with a shift count too large; convert to the + largest valid for ASHIFTRT and don't fold all others. - * combine.c (make_extraction): When making a low part subreg of a reg, - use inner_mode, not is_mode. + * combine.c (make_compound_operation, case ASHIFTRT): Fix typo. + Was using C1 where C2 is needed. -Mon Nov 23 21:11:13 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Fri May 28 17:50:38 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * romp.h (ASM_FILE_START): Stop at first blank in VERSION_STRING. + * integrate.c (expand_inline_function): When copy REG_NOTES, must + also call subst_constants. -Mon Nov 23 21:09:20 1992 Tom Wood (wood@dg-rtp.dg.com) + * gcc.c (process_command): When GCC_EXEC_PREFIX is defined and + tooldir is relative, add it to search path in addition to standard + directory rather than instead of. - * fold-const.c (range_test): Convert the constants to the unsigned - type before expanding the range test. +Fri May 28 00:50:53 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Nov 23 20:54:45 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * config/arm/arm.h (GO_IF_LEGITIMATE_INDEX): Check explicitly for + upper and lower bounds of valid INDEX. - Mon Nov 23 13:21:43 1992 Brendan Kehoe (brendan@cygnus.com) + * genopinit.c (insn_name_ptr): Declare as variable. + (optabs): Fix typo in floatuns case. - * 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). +Thu May 27 12:13:55 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-decl.c (start_decl): If grokdeclarator returns a - void_type_node, return a NULL_TREE. + * combine.c (simplify_and_const_int, case IOR, XOR, NOT): Don't + create constant wider than mode of VAROP. - * 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. +Thu May 27 20:41:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Sat Nov 21 02:33:28 1992 Brendan Kehoe (brendan@cygnus.com) + * configure (i[34]86-ibm-aix*): Set fixincludes. + (i[34]86-*-sco*): Don't test --with-gas, just --with-stabs. - * 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'. +Wed May 26 16:05:05 1993 Michael Collison (collison@osf.org) - * 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. + * jump.c (jump_optimize): Insert missing GET_MODE call. - Thu Nov 19 01:41:58 1992 Brendan Kehoe (brendan@lisa.cygnus.com) +Wed May 26 18:40:09 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * 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. + * i960.md (ashlsi3): Use shlo instead of shli. - Wed Nov 18 21:29:14 1992 Brendan Kehoe (brendan@cygnus.com) +Wed May 26 00:34:33 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-class.c (finish_struct): Re-enable code to cut down on the size - of symbol output, the positives outweigh the negatives. + * config/nextstep.h (INCLUDE_DEFAULTS): Undo previous change. - Wed Nov 18 19:51:59 1992 Mike Stump (mrs@cygnus.com) + * Makefile.in (gcc.xtar.z): Renamed from gcc.xtar.Z. Use gzip. + (dist): Depend on gcc.xtar.z. + (mostlyclean): Delete temp-gcc.xtar.z. - * cp-search.c (dfs_walk): Move setting of - vbase_decl_ptr_intermediate out of #ifdef code. + * Version 2.4.1 released. - Wed Nov 18 18:49:13 1992 Mike Stump (mrs@cygnus.com) + * c-lex.c (readescape): Don't complain for \% unless pedantic. - * cp-decl.c (grokdeclarator): Make wording on error message - stronger. + * config/mips/mips.h (ASM_SPEC): If -noasmopt, pass -O0. + * config/mips/iris3.h: Likewise. - Tue Nov 17 17:46:11 1992 Brendan Kehoe (brendan@cygnus.com) + * config/mips/iris4loser.h: New file. + * config/mips/iris4gl.h: New file. + * configure (mips-sgi-iris4loser): New alternative. - * cp-search.c (CHECK_convert_pointer_to_single_level): Don't define. +Tue May 25 18:05:50 1993 Jim Wilson (wilson@sphagnum.cygnus.com) -Mon Nov 23 19:44:38 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * dbxout.c (dbxout_block) [DBX_BLOCKS_FUNCTION_RELATIVE]: + Get function name from DECL_RTL not from DECL_ASSEMBLER_NAME. + * config/sparc/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise. - * mot3300.h (switch_table_difference_label_flag): Define it. + * m68k/sun3.h (FUNCTION_VALUE, FUNCTION_VALUEX): Ifdef out. - * ns32k.md (addsi3): Add & for alternative 1 in operand 0. + * c-typeck.c (convert_for_assignment): When allowing mixing of + signed and unsigned pointers, compare unsigned types not type sizes. -Mon Nov 23 18:29:27 1992 Jim Wilson (wilson@sphagnum.cygnus.com) +Tue May 25 00:08:42 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * genattrtab.c (obstack.h): Include after sys/time.h. + * nextstep.h (INCLUDE_DEFAULTS): Delete /NextDeveloper/Headers/ansi + and /NextDeveloper/Headers/bsd. - * c-decl.c (duplicate_decls): For builtins, create new function - type instead of trying to modify old one. + * regclass.c (regclass): Fix paren error. -Mon Nov 23 16:28:36 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-decl.c (finish_decl): If type is laid out, but decl is not, + call layout_decl. - * i386bsd.h (COMMENT_BEGIN): Redefine as #. - (ASM_APP_ON, ASM_APP_OFF): Redefine to use #. + * protoize.c (include_defaults): Update to match cccp.c. + * Makefile.in (stamp-proto): + Pass LOCAL_INCLUDE_DIR based on local_prefix. - * combine.c (num_sign_bit_copies): Inhibit x-1 special case - when x is a paradoxical subreg. + * stmt.c (expand_asm_operands): Detect constants as outputs. - * xm-linux.h (malloc, calloc): Definitions deleted. +Mon May 24 18:25:23 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Nov 23 11:52:41 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) + * collect2.c (main): Use TARGET-gcc, not gcc-TARGET. - * pa.md (sh[123]add): Use "nonmemory_operand" instead of - "register_operand" as the predicate for the first operand. + * reload1.c (delete_output_reload): Don't delete output reload + if cannot_omit_stores is set for that pseudo. + (reload): Init and clear cannot_omit_stores. + (eliminate_regs): Set cannot_omit_stores. -Mon Nov 23 00:29:27 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * configure (i[34]86-*-sco3.2v4*): Test --with-stabs, not --with-gas. - * gcc.c (default_compilers): Pass -i* after -U*. +Mon May 24 14:10:59 1993 Jim Wilson (wilson@sphagnum.cygnus.com) -Sun Nov 22 17:03:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * integrate.c (expand_inline_function): Set MEM_IN_STRUCT_P for + return value if needed. - * hp320.h (FUNCTION_PROFILER): Complete replacement. +Mon May 24 13:10:07 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * xm-hp320.h (index, rindex): Defined. + * cp-call.c (convert_harshness): Don't dereference a null parm. - * gstddef.h: Fix prev change; test of _STDDEF_H was backwards. + * cp-method.c (dump_init): Don't try to print out the first operand + of a TARGET_EXPR if it's not there. -Sun Nov 22 16:12:38 1992 Tom Wood (wood@dg-rtp.dg.com) +Mon May 24 10:13:26 1993 Mike Stump (mrs@poseidon.cygnus.com) - * toplev.c (W_options): Delete -Wreturn-type, as it is in lang_options. - * c-decl.c (c_decode_option): Decode -Wreturn-type. + * expr.c (expand_expr): Finish Tue Aug 18 23:07:33 1992 change. It + didn't handle the target != 0 case, now it does. - * c-decl.c, cp-decl.c (pushdecl): Don't inherit DECL_INITIAL when - redeclaring the current function. +Mon May 24 00:30:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * expr.c (expand_expr, TARGET_EXPR case): + Handle case where DECL_RTL is nonzero. -Sat Nov 21 19:54:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * configure (i[34]86-*-isc*): Use install-headers-cpio. - * cccp.c (main): Do -D's and -A's and -U's in order specified. + * genopinit.c (optabs): Add backslashes to prevent SCCS confusion. + * config/m68k/tower-as.h (CONSTRUCTOR_NAME_FORMAT): Likewise. - * gcc.c (default_compilers): When running cpp, - move %{D*} and %{U*} (in that order) just before %i. + * combine.c (subst): For subreg-of-constant, don't gen_lowpart + if it's a big-endian machine and constant is multi-word. -Sat Nov 21 18:24:55 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * gstddef.h (size_t) [__GNUG__]: Don't typedef it if it's + already defined as a macro. - * 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. + * config/i386/x-aix (CLIB): Defined. + * config/i386/aix386.h (STARTFILE_SPEC, LINK_SPEC): New overrides. + * config/i386/xm-aix.h: Undef TRUE and FALSE before #include. + * config/i386/aix386ng.h (STARTFILE_SPEC, LINK_SPEC): Don't use + crtbegin.o, crtend.o, crtn.o, libp.a. Use gcrt0.0, not gcrt1.o. + (ENDFILE_SPEC): Use crtn.o. + (CPP_PREDEFINES): Delete _AIX, AIX, and _I386. Add ps2, unix. + (CPP_SPEC): Add _AIX, _I386, _MBCS. Handle -posix. + (ASM_SPEC): Turned off. + * config/i386/t-aix: New file. + * configure (i[34]86-ibm-aix*): Use t-aix if using gas. - * configure (hppa1.0-*-hpux*, hppa1.0-*-hpux*): Use xm-pahpux.h. - (hppa1.0-*-hpux7*): New alternative. + * config/i386/sco4.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): + New override definitions. -Sat Nov 21 14:10:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * toplev.c (compile_file): Undo previous changes (that were to call + assemble_zeros whenever DBX_DEBUGGING_INFO is defined). - * spc-sol2.h (SWITCH_TAKES_ARG, LINK_SPEC): New override definitions. +Sun May 23 16:31:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * xm-mot3300.h (index, rindex): Defined. + * config/nextstep.h (INCLUDE_DEFAULTS): Fix missing comma. -Sat Nov 21 07:54:53 1992 Michael Meissner (meissner@osf.org) + * config/i386/x-aix (FIXINCLUDES): Defined. + * fixinc.ps2: New file. - * mips.h (MIPS_VERSION): Set Meissner version number to 29. +Sun May 23 14:51:06 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - * mips.c (mips_expand_prologue): If profiling, emit an insn to - block other insns from being scheduled before the end of the - prologue. + * objc/objc.h (objc_protocol): New field `class_pointer'. - * mips.md (blockage): New unspec_volatile insn to prevent other - insns from being scheduled before it. + * objc/init.c (__objc_init_protocols): Call recursively + on super protocols. Make local var `proto_class' static. -Sat Nov 21 06:03:38 1992 Brendan Kehoe (brendan@cygnus.com) +Sun May 23 00:49:17 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * Makefile.in (BISONFLAGS): Remove -v since output file names are long. -Fri Nov 20 15:31:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * reload1.c (choose_reload_regs): If inheriting a spill reg, + and reload_out has a wider mode, just copy from that spill reg, + don't use it for the reload. - * dbxout.c (dbxout_type): Handle need for name of a RECORD_TYPE - when it has none. + * reload.c (push_reload): Fix NULL arg in last change. - * configure (sparc-*-solaris2): Set broken_install. + * config/m88k/x-tekXD88 (AR_FLAGS): Defined. - * integrate.c (subst_constants): Inhibit special treatment of subreg - when the stuff inside is not a reg. +Sat May 22 14:49:59 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * config/plexus.h (SIZE_TYPE): Fix syntax. + * config/mips/mips.h (ASM_SPEC): If -noasmopt, don't pass -O2. + * config/mips/iris3.h: Likewise. - * gcc.c (do_spec_1): Handle MKTEMP_EACH_FILE. + * config/nextstep.h (INCLUDE_DEFAULTS): Put /usr/include/bsd last. -Fri Nov 20 15:10:20 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + * config/alpha/alpha.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): + Use hex if infinite, nan, or minus zero. - * fixincludes (math.h): Get rid of inconsistent inline definitions - for abs that are present in HP-UX 8.0. + * real.c (target_isnan): Use GET_REAL macro to get argument. + (ereal_to_int): Fix potentially wrong-endian argument passed to eisnan. -Fri Nov 20 10:07:48 1992 Michael Meissner (meissner@osf.org) +Fri May 21 14:24:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * collect2.c (FREAD, FWRITE): Undef these macros if they were - defined before including ldfcn.h. + * config/nextstep.h (INCLUDE_DEFAULTS): Add /usr/include/bsd. -Fri Nov 20 15:38:47 1992 Tom Wood (wood@dg-rtp.dg.com) + * cccp.c (default_include): Put TOOL_INCLUDE_DIR after + LOCAL_INCLUDE_DIR in non-cross case. - * integrate.c (expand_inline_function): Mark all notes as integrated. + * real.c (emdnorm): Fix typo affecting roundoff behavior in XFmode. - * 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. + * config/m68k/amix.h (CPP_PREDEFINES): Add -D__svr4__. + (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): + New override definitions. -Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu) + * collect2.c (main) [CROSS_COMPILE]: Use TARGET-TOOL for full_... - * 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. + * collect2.c (main): For -debug, if ..._file_name is a null pointer, + say so instead of crashing. -Wed Nov 18 17:58:18 1992 Karl Berry (karl@cs.umb.edu) + * m68k.md (cmpxf2 recognizer): Test SGS_CMP_ORDER, not HPUX_ASM. - * i386iscgas.h (SDB_DEBUGGING_INFO): #undef. - (DBX_DEBUGGING_INFO): #define. - (DBX_OUTPUT_MAIN_SOURCE_{DIRECTORY,FILENAME}): Override dbxout.c. + * c-common.c (constant_expression_warning) + (overflow_warning, convert_and_check): Change pedwarn to warning. - * bsd386.h (LPREFIX) [NO_UNDERSCORES]: Define as `.L'. + * reload.c (push_reload): When IN is a subreg of a multiword reg + that uses a funny number of registers, and SUBREG_WORD is nonzero, + and IN must match an output, reload both the reg and the subreg. -Wed Nov 18 13:50:43 1992 Michael Meissner (meissner@osf.org) + * protoize.c (add_symbol, unexpand_if_needed, abspath): + Supply missing arg to savestring. - * mips.c (compute_frame_size): Make sure the {gp,fp}+offset fields - are always initialized, even if there were no gp/fp registers - saved. + * Makefile.in (info, dvi): New targets. -Wed Nov 18 09:58:50 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Fri May 21 10:28:41 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * a29k.md (insv): Remove constraints from operand matching - const_0_operand. + * cp-pt.c (subst): Don't use a method's arguments unless it has some. - * regclass.c (regclass): Add missing cast from enum to int. +Fri May 21 11:51:20 1993 Kresten Krab Thorup (krab@iesd.auc.dk) -Wed Nov 18 09:40:01 1992 John Hassey (hassey@dg-rtp.dg.com) + * objc/sarray.h (sarray_get): Add #ifdef case for + !defined(PRECOMPUTE_SELECTORS) and OBJC_SPARSE2. + * objc/sarray.c (sarray_at_put): Likewise. + +Fri May 21 00:51:10 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * core.c (initialize_class): The class may not have an initialize - method. + * configure (mips-*-ultrix*): Renamed from mips-dec-ultrix*. -Wed Nov 18 09:40:01 1992 Wilson Tien (wtien@urbana.mcd.mot.com) +Thu May 20 23:16:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * xm-m68kv.h (rindex, index): use strrchr and strchr instead. + * reload1.c (choose_reload_regs): Handle earlyclobbers + when inheriting from reg_last_reload_reg. -Wed Nov 18 01:27:37 1992 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) +Thu May 20 13:59:16 1993 Doug Evans (dje@canuck.cygnus.com) - * config.sub: Added Xenix operating system. + * Makefile.in (install-dir): Fix syntax, make tooldir before assertdir. -Tue Nov 17 18:32:01 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Thu May 20 08:52:30 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * reload.c (combine_reloads): Don't combine with a reload needed - for multiple things. + * gstddef.h [_ANSI_H_]: Handle __need_size_t and __need_wchar_t. -Mon Nov 16 08:52:52 1992 Jeffrey A. Law (law@mole.gnu.ai.mit.edu) + * fixincludes (Fixing CTRL): Reject CTRL or _CTRL following digit. - * 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. + * enquire.c (F_check): Check NO_LONG_DOUBLE_IO. -Thu Nov 12 21:02:59 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) +Wed May 19 23:18:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Cygnus<-->FSF merge. + * config/i386/x-isc3 (X_CFLAGS): Delete -DPOSIX_JC. - Thu Nov 12 15:02:53 1992 Brendan Kehoe (brendan@cygnus.com) + * real.c (e24toe, e53toe, e64toe): Fix sign in conversions + of -infinity. Do eclear before einfin. - * cp-decl.c (finish_decl): Don't try to use TYPE if it's an - error_mark_node. +Wed May 19 15:37:20 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * 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. + * va-sparc.h (va_dcl): Restore accidentally deleted __builtin_va_alist + declaration. - * 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. + * objc-act.c (handle_class_ref): Call assemble_constant_align + before output_constant. + * varasm.c (assemble_constant_align): New function. - Wed Nov 11 22:14:51 1992 Brendan Kehoe (brendan@lisa.cygnus.com) +Wed May 19 13:40:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * config/i860/x-sysv4 (X_CFLAGS): Deleted. - Wed Nov 11 14:34:25 1992 Mike Stump (mrs@rtl.cygnus.com) + * configure (i[34]86-*-isc*): If version is 3, use x-isc3. + * config/i386/x-isc3: New file. - Thu Nov 5 15:58:38 1992 Tim Moore (moore at defmacro.cs.utah.edu) +Mon May 19 21:47:49 1993 Jeff Law (law@snake.cs.utah.edu) - * cp-decl.c (duplicate_decls): Round to obstack alignment when - testing if newdecl is at the top of the permanent obstack. + * Fix calling convention for indirect calls on the PA. + * calls.c (expand_call): Declare and set current_call_is_indirect. + (emit_library_call, emit_library_call_value): Likewise. + * function.c (assign_parms): Likewise. + * pa.h (TARGET_SHARED_LIBS): Define as 1. + (FUNCTION_ARG): If this is a call through a function pointer, then + the caller passes all arguments in general registers. - Wed Nov 11 13:56:18 1992 Mike Stump (mrs@rtl.cygnus.com) + * pa.h (FUNCTION_ARG_REGNO_P): Account for registers which may + be unavailable on particular cpu models. Fix indentation. - * 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 May 19 13:13:42 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Wed Nov 11 12:51:44 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * loop.c (scan_loop): Treat pseudo duplicated for exit tests just + like we treat user vars in seeing if we can move a SET. - * 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. + * combine.c (set_nonzero_bits_and_sign_copies, nonzero_bits): + If we have a positive constant that is negative in the mode + it is being used in, treat it as negative. + * rs6000.h, alpha.h (SHORT_IMMEDIATES_SIGN_EXTEND): Define. - 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. + * emit-rtl.c (operand_subword): Reject cases when BITS_PER_WORD + is greater than HOST_BITS_PER_INT unless OP is const0_rtx. - Tue Nov 10 13:23:30 1992 Brendan Kehoe (brendan@lisa.cygnus.com) +Tue May 18 16:31:06 1993 Torbjorn Granlund (tege@nada.kth.se) - * cp-typeck.c (build_x_function_call): If the type of FUNCTION is an - error_mark, don't bother checking its lang-specific info. + * pa.h (INITIALIZE_TRAMPOLINE): Make 2:nd flush, end_addr, + at the last real insn in the trampoline. - Tue Nov 10 12:38:36 1992 Mike Stump (mrs@rtl.cygnus.com) +Tue May 18 13:35:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-decl.c (decls_match): Avoid core dumping when TREE_TYPE is - NULL_TREE, as is the case when olddecl is a TEMPLATE_DECL. + * Makefile.in (assertdir): use $(tooldir)/include for this. + (install-dir): Always create assertdir and tooldir. - 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) + * config/arm/arm.md (add/asl recognizer): Use space, not #, after asl. + Shuffle operands differently. - * cp-parse.y (try_for_typename): Deleted rule. - (scoped_id): Don't use it. + * objc-act.c (synth_module_prologue): Set TREE_PUBLIC in umsg_decl. - Fri Nov 6 18:07:37 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * Makefile.in (infodir): New variable. + (install-dir): Create that dir. + (install-info): New rule. + (install-normal): Depend on install-info. - * cp-init.c (expand_aggr_init): If INIT is 0, don't bother trying to - play with its type. + * fixincludes: Use $file. rather than $file.sed + when $file is or might be more than 10 characters long. - Thu Nov 5 16:52:37 1992 Chip Salzenberg (chip@tct.com) + * config/i386/isc.h (LIB_SPEC): Handle -posix before -shlib. - * cp-decl.c (finish_decl): Set TREE_STATIC, TREE_PUBLIC and - DECL_EXTERNAL correctly for use with #pragma interface. + * config/mips/x-sony: New file. + * configure (mips-sony-bsd*): Use x-sony. - Fri Nov 6 10:07:01 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * Makefile.in (local_prefix): Do not default from $(prefix). - * cp-class.c (finish_struct): Don't try to work with a field that - got a bogus type. +Tue May 18 09:28:02 1993 Chris Smith (csmith@convex.com) - * cp-method.c (build_overload_value): Don't call debug_tree! + * convex.c (replace_pushes, emit_ap_optimizations): Delete. - * 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. +Mon May 17 18:07:53 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-decl.c (grokdeclarator): If initializing a const member and - acting pedantic, then do make it an error. + * fixinc.svr4 (ieeefp.h): Delete definitions of __mips and __m68k. - * 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. +Mon May 17 17:00:00 1993 DJ Delorie (dj@ctron.com) - * 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. + * configure.bat: Fix sed for version.c to handle both with + and without spaces correctly (MS-DOS). - Thu Nov 5 17:53:32 1992 Brendan Kehoe (brendan@cygnus.com) +Mon May 17 12:26:55 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * cp-decl.c (grokdeclarator): Constant class members can be - initialized. + * rtl.c (init_rtl): Correct number of 'w's in CONST_DOUBLE format. - Thu Nov 5 17:11:30 1992 Mike Stump (mrs@cygnus.com) +Mon May 17 00:07:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Thu Nov 5 19:48:17 1992 Niklas Hallqvist (niklas@appli.se) + * Version 2.4.0 released. - * cp-pt.c (instantiate_class_template): Types are used in later - processing, so they must go into the permanent obstack. + * Makefile.in (extraclean): Remove junk from objc subdir. - Thu Nov 5 13:02:56 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * fixinc.svr4 (ieeefp.h): Delete definitions of __i860 and __m88k. - * cp-decl.c (grokdeclarator): Don't allow members to be initialized - in the class declaration. + * mips/iris4.h (ASM_OUTPUT_ASCII): New overriding definition. - * 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. + * pa.h (INITIALIZE_TRAMPOLINE): Pass both the starting and ending + addresses of the trampoline to the cacheflush pattern. + * pa.md (cacheflush): Flush the cache entries associated with + both the starting and ending addresses of the trampoline. - * cp-call.c (find_scoped_type): New function. - (resolve_scope_to_name): Use it to check for names that might be in - base classes. + * gvarargs.h, gstdarg.h [__svr4__ __i860__]: + Define _VA_LIST only if not defined already. - Wed Nov 4 00:43:15 1992 Brendan Kehoe (brendan@lisa.cygnus.com) +Mon May 17 00:40:36 1993 James Van Artsdalen (james at bigtex.cactus.org) - * 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. + * i386/sysv4.h (BIGGEST_FIELD_ALIGNMENT, PCC_BITFIELD_TYPE_MATTERS): + Deleted. Now handled by HANDLE_SYSV_PRAGMA. + (HANDLE_SYSV_PRAGMA): Deleted: already defined by svr4.h. - * cp-typeck.c (build_c_cast): Warn if casting between a pointer and - an integer whose sizes differ. +Sun May 16 19:25:38 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * cp-parse.y (unary_expr): Finish making new with placement work; - use the rule `new' instead of the token `NEW' when parsing it. + * unroll.c (initial_reg_note_copy, final_reg_note_copy): New functions. + (copy_loop_body): Use new function to copy REG_NOTES. - Tue Nov 3 02:16:47 1992 Brendan Kehoe (brendan@lisa.cygnus.com) +Sun May 16 13:03:58 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * Makefile.in (extraclean): Delete junk in subdirs of config. + (distclean): Delete {c,cplus,objc}-parse.output. - * cp-search.c (dfs_pushdecls): Don't try to use the context of a - field which has none at the time. + * reorg.c (find_end_label): Update insn after calling emit_jump_insn. - * 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. + * fixinc.svr4 (ieeefp.h): Delete `#define __sparc' also. - Tue Nov 3 00:15:44 1992 Brendan Kehoe (brendan@cygnus.com) +Sun May 15 01:37:19 PDT 1993 Ron Guilmette (rfg@netcom.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. + * fixinc.svr4 (ieeefp.h): Delete `#define __i386' line. - * cp-lex.c (readescape): New arg ignore_ptr. - (real_yylex): Pass new arg, handle result that comes back. +Sat May 15 10:11:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-decl.c (WCHAR_TYPE_SIZE): Deleted; never used. + * math-68881.h: Add conditional against multiple inclusion. - Mon Nov 2 10:23:52 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * gvarargs.h [__svr4__ __i860__] (_VA_LIST): Do define. + * gstdarg.h: Likewise. - * cp-lex.c (real_yylex): Let skip_white_space handle \r. + * toplev.c (compile_file): If support dbx output, + always output 0 at start of text section. - * cp-parse.y (parmlist): Warn on a decl `foo (...)', without a first - argument. + * cp-tree.h (error_not_base_type): Fix typo in decl. - * cp-type2.c (build_functional_cast): If expr_as_ctor's argument is - a SAVE_EXPR, don't wipe out the argument. +Sat May 15 09:08:23 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-call.c (build_method_call): Only complain about not having an - object for a called method if the method is non-static. + * expr.c (expand_assignment): Fix error in last change. - Sun Nov 1 16:50:14 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * rs6000.md (movqi, movhi, movsi): Make sure that address returned + from force_const_mem is valid. - * 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. + * i860.h (INITIALIZE_TRAMPOLINE): Don't make improper SUBREGs + and ensure that CXT and FNADDR are in registers. - * cp-typeck.c (common_type): If either type is nonsense (an - error_mark), use the other type. + * convex.c (insert_ap_loads): Initialize AP_IS_LIVE to 0 at + start of both loops, not just first one. - Thu Oct 29 18:39:50 1992 Mike Stump (mrs@cygnus.com) + * convex.h (REGNO_REG_CLASS): Don't call abort; it will cause + a compilation error as written and isn't done elsewhere. - * 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. + * combine.c (set_nonzero_bits_and_sign_copies): Don't record + data for a a pseudo that is undefined on entry to a function. + When a pseudo is clobbered, show we don't know anything about it. - Thu Oct 29 17:30:12 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * expr.c (expand_assignment): Always return a result that has + the mode of TO. - * 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. + * rs6000.c (rs6000_makes_calls): If profiling, say we make calls. - * Makefile.in (stamp-cp-parse): There are now only 29 shift/reduce - conflicts, because of the removed wrapper stuff. +Sat May 15 00:38:22 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * va-mips.h (va_arg) [__MIPSEB__]: + After incrementing, subtract the rounded size, not the size proper. - * 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. + * config/i860/x-sysv4 (X_CFLAGS): Defined. + (GCC_CFLAGS): Definition deleted. - 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. + * final.c (output_addr_const): Don't printing leading zeros. - Wed Oct 28 15:38:44 1992 Brendan Kehoe (brendan@lisa.cygnus.com) +Sat May 15 06:18:43 1993 James Van Artsdalen (james at bigtex.cactus.org) - * 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. + * reload1.c (reload): Don't start 2-group unless it could be finished. - Tue Oct 27 17:38:18 1992 Mike Stump (mrs@cygnus.com) +Sat May 15 12:23:58 1993 Torbjorn Granlund (tege@nada.kth.se) - * 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. + * alpha.c (output_prolog): Change (sp) to ($30). - Tue Oct 27 16:21:41 1992 Mike Stump (mrs@cygnus.com) + * pa.h (TRAMPOLINE_TEMPLATE): Change .long to .word; split into + two lines. - * cp-tree.h (THIS_NAME_P): Fix to reflect September 1 change in - THIS_NAME. +Fri May 14 18:09:31 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Tue Oct 27 12:35:59 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * gcc.c (option_map): Renamed --version to --use-version. - * 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. +Fri May 14 17:20:21 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * cp-decl.c (grokdeclarator): Only call do_friend on a friend if - decl's non-zero. + * xcoffout.c (N_DSLINE, N_BSLINE): Delete definitions. + (stab_to_sclass): Use ifdefs to test for presence of N_MAIN, + N_BSLINE, N_DSLINE, N_BINCL, N_EINCL, N_EXCL, N_M2C, N_SCOPE. - Tue Oct 27 09:31:08 1992 Mike Stump (mrs@cygnus.com) + * sched.c (split_hard_reg_notes): Handle 0th sub register, and + multiple register kills. + (update_flow_info): For multi-word hard regs, use + split_hard_reg_notes to add all REG_DEAD notes, instead of just + the additional ones due to splitting. - * cp-lex.c (do_identifier): Add missing fourth argument to - lookup_field. +Fri May 14 16:12:28 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Mon Oct 26 15:15:39 1992 Mike Stump (mrs@cygnus.com) + * configure (hppa1.1-*-hpux*): Use CPIO for headers, just like + other HPUX configs. + (hppa1.1-*-hpux8.02*): Likewise. - * cp-cvt.c (convert_to_reference): Check for ambiguities - between constructor and conversion operators a bit harder. +Fri May 14 16:35:22 1993 Ian Lance Taylor (ian@cygnus.com) - Sat Oct 24 19:34:39 1992 Brendan Kehoe (brendan@cygnus.com) + * reorg.c (fill_slots_from_thread): If try_split split new_thread, + update it to the new value. - Mon Sep 14 14:36:53 1992 Chip Salzenberg (chip@tct.com) +Fri May 14 13:42:39 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - 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. + * configure (hp700-hpux8.02): New target. + * pa1-oldas.h: New target for 1.1 machines running HPUX 8.02. - Fri Oct 23 18:52:19 1992 Brendan Kehoe (brendan@lisa.cygnus.com) +Fri May 14 13:23:51 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * cp-decl.c (poplevel): Use error_with_decl on an unused label, so - its line number comes out correct. + * integrate.c (expand_inline_function): Set map->integrating. + (copy_rtx_and_substitute, case MEM): Don't copy RTX_UNCHANGING_P + when doing function inlining. + * integrate.h (struct inline_remap): Add integrating field. + * unroll.c (unroll_loop): Clear map->integrating. + * stmt.c (expand_decl): Don't set RTX_UNCHANGING_P. - Thu Oct 22 18:31:50 1992 Brendan Kehoe (brendan@lisa.cygnus.com) +Fri May 14 12:28:51 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-parse.y (operator_name): If a type conversion operator is - defined at the top level, don't crash, complain. + * c-typeck.c (default_conversion): + Don't replace iterator with its initial value. - Thu Oct 22 17:41:13 1992 Mike Stump (mrs@cygnus.com) + * config/i386/svr3gas.h: Added two pages at end, with macros + copied from config/svr3.h and i386/sysv3.h. - * 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. + * config/m68k/tower-as.h (PRINT_OPERAND): Handle CODE == '/'. + * hp320.h, mot3300.h, news.h, crds.h: Likewise. - Thu Oct 22 13:15:57 1992 Mike Stump (mrs@cygnus.com) +Fri May 14 15:44:45 1993 Kresten Krab Thorup (krab@xiv.iesd.auc.dk) - * cp-tree.h (ANON_AGGRNAME_P): Check the second charater as well, as - it could be $vtbl_ptr_type, and not an ANON_AGGRNAME. + * objc/init.c (__objc_init_protocols): Don't complain if a + protocol object is attempted resolved twice. - Wed Oct 21 19:31:36 1992 Brendan Kehoe (brendan@lisa.cygnus.com) +Fri May 14 00:51:38 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * cp-call.c (build_method_call): Initialize b_or_d to 0. + * pa.h (CPP_SPEC): Correct specs so that _PA_RISC1_1 is only + defined when generating code for 1.1 machines regardless of the + default target. - * cp-typeck.c (compparms): Delete dead code for returning if either - TREE_PURPOSE is true when t1 and t2 are both 0. +Thu May 13 21:47:55 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-parse.y (object): Only pass one argument into build_x_arrow. + * rs6000.md (fix_truncdfsi2, fixuns_truncdfsi2, trunc_call): Fix + typo in mode of FIX and UNSIGNED_FIX rtl. - * cp-parse.y (unary_expr): Add code to parse `&&label'. - (stmt): Expand computed gotos. + * reorg.c (reorg_redirect_jump): New function. + Call it in most places instead of redirect_jump. - * cp-method.c (fndecl_as_string): Say it's static before giving its - type, it looks better (and matches how you'd declare it). +Thu May 13 17:01:05 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - Wed Oct 21 16:22:43 1992 Mike Stump (mrs@cygnus.com) + * caller-save.c (restore_referenced_regs): New variable saveregs + which is number of regs to save at a time, instead of numregs, + which is total number of registers to save. - * 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. +Thu May 13 08:28:22 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Wed Oct 21 11:40:35 1992 Mike Stump (mrs@cygnus.com) + * Makefile.in (OBJC, OBJECTIVE-C): Don't depend on objc-runtime. - * cp-call.c (build_method_call): Avoid an abort on parse errors by - changing an assert into a conditional my_friendly_abort. + * dbxout.c (dbxout_parms): Don't output a parm if it's a mem + that has a constant address. - Tue Oct 20 16:52:32 1992 Mike Stump (mrs@cygnus.com) + * config/pa/x-pa (TAROUTOPTS): Overridden. + * config/m68k/x-hp320,x-hp320g (TAROUTOPTS): Overridden. - * 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. + * Makefile.in (TAROUTOPTS): New variable. + (install-headers-tar): Use TAROUTOPTS. - Tue Oct 20 11:29:50 1992 Mike Stump (mrs@cygnus.com) + * 3b1.h, 3b1g.h, altos3068.h, crds.h, hp2bsd.h, hp310.h: + * isi-nfp.h, pbb.h, plexus.h, sun2.h, sun3n.h, tower.h: + (LONG_DOUBLE_TYPE_SIZE): Redefine as 64. - Wed Oct 7 16:01:55 1992 Chip Salzenberg (chip@tct.com) + * objc/runtime.h: Include gstdarg.h before stdio.h. - [ changes propagated from 921005 snapshot ] - * cp-lex.c (readescape): No warning if digits in \x are all 0's. + * Makefile.in (libobjc.a): Depend on EXTRA_PARTS. - Fri Oct 9 15:18:19 1992 Brendan Kehoe (brendan@cygnus.com) +Wed May 13 18:33:26 1993 Torbjorn Granlund (tege@nada.kth.se) - * cp-decl.c (duplicate_decls): Only find out if olddecl is a - friend after we know it's not a TREE_LIST. + * arm.h: Declare output_arithmetic_with_immediate_multiply. - Wed Oct 7 16:04:34 1992 Mike Stump (mrs@cygnus.com) + * arm.md (combined mult/arithmetic recognizers): Switch on. + Add special pattern for reload. - Wed Oct 7 12:26:07 PDT 1992 Ron Guilmette (rfg at netcom.com) + * arm.md (restorehi): Use SImode for address. + (storehi): Use SImode for address and address computation. + (storeinthi): Likewise. - * cp-lex.c (readescape): Permit \? as an escape sequence. +Wed May 12 22:47:35 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Tue Oct 6 17:54:09 1992 Mike Stump (mrs@cygnus.com) + * config/m68k/sun3.h, sun2os4.h (ASM_OUTPUT_FLOAT_OPERAND): + Output as hex, unless CODE is 'f'. + * altos3068.h, next.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise. - Major MI revamp. +Wed May 12 14:18:36 1993 John Hassey (hassey@dg-rtp.dg.com) - * 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. + * m88k.h (REG_OK_FOR_BASE_P REG_OK_FOR_INDEX_P): Don't + use extended registers for base or index. - * cp-search.c (convert_pointer_to_single_level): Added so that one - can convert pointer unambiguously to an immediate base class - pointer. +Wed May 12 14:48:00 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * 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. + * unroll.c (copy_loop_body): Delete May 10 change. - * 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 May 11 20:20:41 1993 James Van Artsdalen (james at bigtex.cactus.org) - Tue Oct 6 14:51:13 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * tree.c (real_value_from_int_cst): Use temporary variable `e' to + work around bugs in 386 PCC. - * 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. +Tue May 11 16:50:54 1993 Michael Meissner (meissner@osf.org) - Mon Oct 5 15:47:35 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * mips/iris3.h, mips/mips.h, mips/news4.h, mips/nws3250v4.h, + mips/ultrix.h (ASM_SPEC): Pass appropriate -g switch to the + assembler for -gstabs, -gstabs+, -ggdb, and -gcoff + switches. - 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. + * local-alloc.c (block_alloc): Don't dereference a NULL pointer. - Mon Oct 5 13:27:44 1992 Mike Stump (mrs@cygnus.com) +Tue May 11 12:09:37 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-init.c (maybe_adjust_addr_for_delete): Make sure we don't - evaluate the addr twice if it has side effects. + * tree.c (build_array_type): Delete the code to set TYPE_MAIN_VARIANT. + * c-decl.c (complete_array_type): Likewise. - Mon Oct 5 13:05:37 1992 Mike Stump (mrs@cygnus.com) +Tue May 11 11:40:14 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * cp-init.c (build_vec_delete): Make sure we don't evaluate the base - expression twice if it has side effects. + * pa.c (emit_move_sequence): Handle secondary reloads for loads of + FP registers from constant expressions. - Mon Oct 5 12:38:35 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * pa.h (CONSTANT_ADDRESS_P): Accept symbolic addresses during + and after reload. - * 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. +Tue May 11 07:26:06 1993 Richard Kenner (kenner@mole.gnu.ai.mit.edu) - Mon Oct 5 12:34:32 1992 Mike Stump (mrs@cygnus.com) + * reorg.c (mostly_true_jump): Jump is forward if TARGET_LABEL is + zero; don't try to get INSN_CODE of zero. - * 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++. +Tue May 11 00:44:09 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Mon Oct 5 11:43:09 1992 Mike Stump (mrs@cygnus.com) + * tree.c (build_array_type): + Don't change TYPE_MAIN_VARIANT if incomplete (domain not known). - Mon Sep 14 16:39:10 1992 Chip Salzenberg (chip@tct.com) + * real.c (enan): Add forward decl. - * cp-cvt.c (convert_to_integer): Don't pass truncation thru lshift - if shift count >= width of narrower type. Instead, just use 0. +Mon May 10 20:32:12 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - Fri Oct 2 13:21:40 1992 Ken Raeburn (raeburn@kyriath.cygnus.com) + * unroll.c (copy_loop_body): Copy REG_NOTES during main loop + instead of afterwards. - * cp-decl.c (start_function): Reinstate error check for missing - semicolon erroneously removed. +Mon May 10 17:36:31 1993 Richard Kenner (kenner@vlxisi1.ultra.nyu.edu) -Thu Nov 12 17:37:23 1992 Michael Meissner (meissner@osf.org) + * alpha.c (output_epilog): Fix minor error in instructions used + to restore stack pointer. - * 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. +Mon May 10 15:59:41 1993 Michael Meissner (meissner@osf.org) -Thu Nov 12 07:30:17 1992 James Van Artsdalen (james at bigtex.cactus.org) + * mips-tfile.c (parse_def): Do not execute a division by 0 when + processing a doubly dimensioned array whose outer bound was 0 or + not specified. - * i386.h (HARD_REGNO_MODE_OK): Restrict MODE_INT from FP regs only. +Mon May 10 12:14:07 1993 John Hassey (hassey@dg-rtp.dg.com) - * 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. + * m88k.h (TRAMPOLINE_TEMPLATE): Fixed invalid bsr insn. - * i386.c (float_op): Delete - no longer used. +Mon May 10 11:55:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -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. + * protoize.c: Don't include string.h. + (strcat, strcpy, strcmp, strncpy, strncmp): Decls deleted. + (dupnstr): Don't use return value of strncpy. + (dupstr): Function deleted; callers changed to use savestring. - * romp.md (reload_outdi): Write as proper PARALLEL. + * tree.c (change_main_variant): New function. + (build_array_type): Use that to set the TYPE_MAIN_VARIANT. + * c-decl.c (complete_array_type): Call change_main_variant. -Wed Nov 11 01:06:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon May 10 11:53:02 1993 Steve Chamberlain (sac@wookumz.gnu.ai.mit.edu) - * toplev.c (lang_options): Change +e... to -+e... + * sh.md (movstrsi): Take alignment into account. + * sh.c (shift_value_ok): Can't shift by negative values. - * xm-tower.h: Include xm-svr3.h. - (bcopy, bzero, bcmp, USG): Macros deleted. +Mon May 10 11:49:48 1993 Michael Meissner (meissner@osf.org) -Tue Nov 10 12:26:23 1992 Steve Chamberlain (sac@cygnus.com) + * va-mips.h (va_arg): Use __alignof__ instead of __alignof. - * sdbout.c (plain_type_1): Handle LONG_TYPE_SIZE like INT_TYPE_SIZE. + * cp-decl.c (finish function): Add missing ';'. -Tue Nov 10 14:20:27 1992 Michael Meissner (meissner@osf.org) +Mon May 10 00:54:16 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * mips.md (ffssi2): Add =& constraints to the two match_scratch - clobbered registers. Fix from John F Carr. + * objc/runtime.h: Include gstdarg.h, not stdarg.h. - * mips-tdump.c (toplevel): Move #undef index and rindex before - including sym.h. + * libgcc2.c (__floatdisf): Use DFtype for intermediate values. -Tue Nov 10 10:37:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * tree.c (real_value_from_int_cst): + If I is unsigned, use REAL_VALUE_FROM_UNSIGNED_INT. - * Makefile.in (install-common): Delete deps $(srcdir)/g++ $(srcdir)/c++ + * config/m68k/m68k.c (output_move_double): Use operand 0 to get SIZE. - * expr.c (init_expr_once): Try indexing mem by fp as well as sp. + * reload.c (find_equiv_reg): Set goal_mem_addr_varies + for all but true constant addresses. -Tue Nov 10 10:28:59 1992 Chris Smith (csmith@convex.com) +Sun May 9 17:53:52 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * genattrtab.c (main): Unlimit stack size. + * config/sparc/sparc.h (SIZE_TYPE): Deleted. -Tue Nov 10 10:17:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fixincludes: When finding SIZE_TYPE, cd to ${LIB} to run cc. + (memory.h): Don't try to read it if it doesn't exist. - * print-rtl.c (print_rtx): Use sizeof spaces - 1 to get the length - of the spaces string. + * real.c (NAN): Define for support of Not-a-Number bit patterns. + (make_nan): New function outputs a NaN in requested machine mode. + (eisnan, eiisnan, enan, einan, eiisinf, eiinfin): New functions. + (earith, etrunci, etruncui, ereal_negate, ereal_ldexp, + real_value_truncate, esub, eadd, emul, ediv, eremain): + Return NaN arg back to caller. + (eroundi, eroundui, ereal_to_int): NaN to integer returns -1 + and a warning. + (target_isnan): Check for NaN. + (eneg): No-op if NaN. + (eisneg, eisinf): False if NaN. + (emovi, emovo): Handle NaN conversions. + (esub, eadd): Infinity minus infinity = NaN and INVALID warning. + (ediv): 0/0, inf/inf = NaN and INVALID warning. + (emul): 0 * inf = NaN and INVALID warning. + (e24toe, e53toe, e64toe): Generate e-type NaN for NaN input. + (etoe24, etoe53, etoe64): Output NaN in appropriate machine mode. + (ecmp): Unordered compare returns -2. + (etoasc): NaN produces ASCII string "NaN". + (asctoe): Unrecognizable input produces e-type NaN. + (eremain): x REM y = NaN if y = 0 or x = infinity. -Tue Nov 10 09:56:32 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) + * real.c (mtherr): Don't put newlines in error message string. - * pa-hpux.h (LINK_SPEC): Disable linking against shared libraries. - * pa-ghpux.h (LINK_SPEC): Likewise. + * real.h (REAL_VALUES_LESS): True if return value of ereal_cmp is -1. -Tue Nov 10 08:39:01 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Sun May 9 17:34:06 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * elxsi.h (GO_IF_LEGITIMATE_ADDRESS): Verify that register is valid - for use as base register (un-allocated pseudos aren't when strict). + * cp-decl.c (finish_function): Don't do anything if we haven't got a + current_function_decl. -Mon Nov 9 22:17:23 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-pt.c (tsubst): Don't assert if IN_DECL is null. + (coerce_template_parms): Likewise. - * xm-3b1.h (index, rindex): Define as macros. + * cp-type2.c (process_init_constructor): Fix argument passing to + initializer_constant_valid_p. - * i386bsd.h: Complete rewrite. +Sun May 9 10:47:05 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Nov 9 14:22:38 1992 Michael Meissner (meissner@osf.org) + * c-decl.c (complete_array_type): + Make maxindex -1 for empty constructor. - * mips.h, decrose.h: Move LINK_LIBGCC_SPECIAL to decrose.h. + * i860.c (call_insn_operand): New funcion. + * i860.md (call, call_value): Copy fn address to safe reg if necessary. + (call, call_value matchers): Use call_insn_operand as predicate. -Mon Nov 9 12:39:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/mips/mips.c (call_insn_operand): New function. + * config/mips/mips.md (call_internal1, call_value_internal1): + Use call_insn_operand as predicate. + (call, call_value): Copy fn address to safe reg if necessary. - * unroll.c (final_biv_value): Make a note after loop_end - if we need to use NEXT_INSN (loop_end). + * config/m68k/m68k.md (mulhisi3, umulhisi3 matchers): + Restrict range of constants allowed. - * objc-actions.c (build_message_expr): Don't crash if super_type is 0. +Sun May 9 13:31:35 1993 CET Kresten Krab Thorup (krab@iesd.auc.dk) -Mon Nov 9 07:42:30 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * objc/hash.h, objc/objc.h, objc/sarray.h (gstddef.h): + Conditionally include gstddef.h or stddef.h by IN_GCC. - * 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. +Sun May 9 00:51:33 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Nov 9 12:35:57 1992 Torbjorn Granlund (tege@jupiter.sics.se) + * reload.h: Fix unterminated comment. - * 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. + * objc-act.c (string_section): Delete comma before close-brace. -Sun Nov 8 20:38:19 1992 James Van Artsdalen (james at bigtex.cactus.org) +Sat May 8 23:49:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * i386.md (movstrsi): mask move count after signed shift. + * config/i386/i386.c (call_insn_operand): New function. + * i386.md (call matchers): Use call_insn_operand. + (call expanders): If address uses a virtual reg or arg pointer reg, + copy it. -Sun Nov 8 00:24:30 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat May 8 23:19:11 1993 Kaveh R. Ghazi (ghazi@caip.rutgers.edu) - * fixinc.svr4: Avoid use of | in sed regexp; use multiple s commands. + * configure (m88k-tektronix-sysv3): New target. + * config/m88k/tekXD88.h: New file. + * config/m88k/tekXD88.ld: New file. + * config/m88k/x-tekXD88: New file. - * i386mach.h: Include i386gstabs.h, not i386gas.h. +Sat May 8 10:40:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * config/i386/i386.md (call insn matchers): + Use %a to print a mem's non-constant address; + don't try to print the address by itself. - * cccp.c (rescan): Accept # as command inside macro args, etc. - If an actual newline at the same level precedes. + * config/i386/next.h (ASM_GENERATE_INTERNAL_LABEL) + (ASM_OUTPUT_INTERNAL_LABEL): Don't include a `.' in the label name. + (LPREFIX): Likewise. - * fixincludes (EXINIT): Set it to `set', not null. + * m68k.c (print_operand): For CONST_DOUBLE, treat VOIDmode like DImode. - * toplev.c (main): Use strncmp when testing for gstabs+ vs gstabs. + * expmed.c (init_expmed): Supply missing arg to rtx_cost. -Sat Nov 7 17:46:35 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/convex/convex.h (LINK_LIBGCC_SPECIAL_1): + Define this instead of LINK_LIBGCC_SPECIAL. - * optabs.c (expand_unop): - For complex negation, do get_insns, not gen_sequence. +Sat May 8 14:43:27 1993 Torbjorn Granlund (tege@nada.kth.se) - * c-decl.c (finish_decl): Don't clear DECL_INITIAL in inline fn decls. + * m68k.md (umulsidi3 expand + two matchers): Rewrite. + Old patterns misused subreg and matched wrong immediate values. + Use const_int_operand and constraint `n' for the immediate arg. + (mulsidi3 patterns): Likewise. - * c-typeck.c (process_init_constructor): Strip NOP_EXPR from indices. - Clear end_index if there's an error in a range. +Sat May 8 07:06:14 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * mips-5sysv.h, mips-5svr4.h, mips-5bsd.h (CPP_PREDEFINES): - Add single-underscore variants of all the predefined symbols. + * i386/sco.h (VALUE_REGNO, HARD_REGNO_MODE_OK): Add missing #undef. + * i386/sco.h, i386/sequent.h (HARD_REGNO_MODE_OK): Properly check + for floating-point registers. Register 16 is AP and not floating. - * gstddef.h [_ANSI_H_]: When undefing at the end, test _STDDEF_H, - not __need_ptrdiff_t. +Fri May 7 19:43:49 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * mips.c (gen_int_relational): Handle overflow when incrementing cmp1. + * cp-typeck.c (default_conversion): Disable change of Apr 13th for + now, since it seems to behave incorrectly in some cases. -Fri Nov 6 23:03:14 1992 Brendan Kehoe (brendan@lisa.cygnus.com) +Fri May 7 17:38:22 1993 Michael Meissner (meissner@osf.org) - * elxsi.c: Include config.h. + * configure (all MIPS options): If --with-gnu-as is used, don't + build mips-tfile or mips-tdump. If --with-gnu-ld is used, don't + say we need collect2. + (config.sub run): Explicitly invoke /bin/sh to run script, in case + config.sub had it's execute bits turned off. -Fri Nov 6 18:53:21 1992 Chip Salzenberg (chip@tct.com) + * mips/t-mips-gas: New target file, used when the GNU assembler is + used instead of the MIPS assembler. - * i386sco.h (STARTFILE_SPEC): Fix line wrap. - (SIGNED_CHAR_SPEC): Defined to set _CHAR_UNSIGNED. +Fri May 7 17:41:00 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Nov 6 19:06:56 1992 Jim Wilson (wilson@sphagnum.cygnus.com) + * Makefile.in (float.h-nat): Use tmp-float.h as intermediate file. - * dbxout.c (dbxout_symbol): Give name ` ' to unnamed enums. +Fri May 7 13:42:06 1993 Mike Stump (mrs@poseidon.cygnus.com) -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) + * cp-search.c (mi_ventry): Change into a struct to make code more + readable and to shut up compilers about valid ANSI C code. - * toplev.c (main): Really accept -gstabs+. +Fri May 7 13:15:40 1993 Jeffrey A. Law (law@snake.cs.utah.edu) -Fri Nov 6 06:46:22 1992 Tom Wood (wood@dg-rtp.dg.com) + * pa.h (reg_class): Add new NON_SHIFT_REGS class. + (REG_CLASS_NAMES): Name new class "NON_SHIFT_REGS". + (REG_CLASS_CONTENTS): Initialize NON_SHIFT_REGS. - * m88k.md (tcnd_divide_by_zero, divsi3, udivsi3): Allow the - explicit trap for divide by zero to resume execution along the - expected path. + * loop.c (strength_reduce): Handle case where loop_end is the + end of the current function. - * t-m88kv4 (FIXINCLUDES): Delete. +Fri May 7 05:50:39 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Fri Nov 6 03:08:13 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * reload.c (push_reload): Don't use IN as the reload reg in in-out + reload if it is set elsewhere in the insn. - * i386.md (andsi3): Mask immed op to 0xff in QI-reg ff00-byte case. +Fri May 7 04:48:25 1993 Chris Smith (csmith@convex.com) - * 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. + * x-convex (CCLIBFLAGS): Build libgcc1 with -tm c1 so it can't + cause executables to become c2-only. - * c-lex.c (readescape): Support \e like \E. Warn only if -pedantic. + * xm-convex.h: Remove workarounds for OS 8.0 no longer needed. + (bcopy, bzero): Define to use memcpy and memset, to get them inlined. -Fri Nov 6 08:34:17 1992 Tim Moore (moore at defmacro.cs.utah.edu) + * convex[123*].h (CC1_SPEC, CPP_SPEC, LIB_SPEC): Move to convex.h. - * 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. + * convex.h (TARGET_FLAGS): Add -mvolatile-[no]cache. + (TARGET_FLAGS, LONG_TYPE_SIZE): add -mlong{32,64}. + (target_cpu): Define, enumeration for targets to use instead of flags. + (TARGET_C34, TARGET_C38): Add. These don't schedule the same as C2. + (OVERRIDE_OPTIONS): Call init routine in convex.c. + (CPP_SPEC, ASM_SPEC, LINK_SPEC): If originally bootstrapped with + an ieee compiler, produce an ieee gcc. + (LINK_LIBGCC_SPECIAL): Define, to avoid searching old libgcc.a + versions during bootstrap. + (STACK_BOUNDARY): Change from 32 to 64 -- odd-word aligned + longwords are slow on c34. + (FUNCTION_PROLOGUE): Make frame size a multiple of 8, not 4. + (FUNCTION_EPILOGUE): Output a 0 to terminate c34 icache prefetch. + (INITIAL_FRAME_POINTER_OFFSET): Make a multiple of 8. + (REG_ALLOC_ORDER): Define. Put S0 (the return register) last. + (HARD_REGNO_MODE_OK): Rewrite to make clearer. + (MODES_TIEABLE_P): Rewrite to make clearer. + (PREFERRED_RELOAD_CLASS): Rewrite to make clearer. + (S0_REGNUM, A0_REGNUM): Define. + (*_REGNUM): Write in terms of [AS]0_REGNUM instead of absolute numbers. + (enum reg_class, etc): Add SI_REGS == S_REGS + INDEX_REGS. + (REGNO_REG_CLASS, REG_CLASS_FROM_LETTER, REGNO_OK_FOR_*_P): Use tables. + (CONST_OK_FOR_LETTER_P): Change. New def passes any const_int, + rejects any const_double. + (CONST_DOUBLE_OK_FOR_LETTER_P): Change. New defs are 'G' == low + word all zeros, 'H' == high word all signs. + (EXTRA_CONSTRAINT): New. 'Q' == volatile memref. Used to generate + cache-bypass instructions when -mvolatile-nocache is set. + (RETURN_POPS_ARGS): Change, always true. + (FUNCTION_ARG_ADVANCE): Count args, not # words of args. + (FUNCTION_ARG): Return arg count to the final VOIDmode FUNCTION_ARG + hack that supplies "next arg register" to be stored in call insn. + (TRAMPOLINE_TEMPLATE): Use instruction notation rather than constants. + (INITIALIZE_TRAMPOLINE): Use gen_call_pop. + (LEGITIMATE_CONSTANT_P): Rewrite to make clearer. + (GO_IF_LEGITIMATE_ADDRESS): Do not use indirect addressing -- with + insn scheduling, two loads can be faster and can't be slower. + (SLOW_BYTE_ACCESS): Define unless C2. Memory access to bytes is + not actually slow, but faster processors don't forward partial + word writes to word reads, and setting SLOW_BYTE_ACCESS + makes the code consistently use word ops where possible. + (CONST_COSTS): Const_DOUBLE cost is zero -- if it appears, it is + immediate and therefore free. + (RTX_COSTS): areg+const is free (via indexing). + (RTX_COSTS): Provide target-dependent values for *,<<,>> + (ADDRESS_COST): Zero. Indirect addresses are no longer used. + (ADJUST_COST): Define. + (TARGET_FLOAT_FORMAT): Define as VAX_FLOAT_FORMAT. Also + accurately describes the semantics (not the bit pattern) + of convex ieee mode. + (REAL_VALUE_ATOF): Define, to prevent real.c from constructing + vax dfloats. Apparently it doesn't do gfloat. + (CHECK_FLOAT_VALUE): Call convex.c. + (ASM_FILE_START): Output appropriate .fpmode pseudo op. + (ASM_IDENTIFY_GCC): Ouput a zero after gcc2_compiled to keep it + from hiding the real name from profilers and adb. + (ASM_OUTPUT_DOUBLE, _FLOAT): Use hex to avoid /bin/as conversion + errors. + (ASM_DECLARE_FUNCTION_NAME): Define; call convex.c. + (PRINT_OPERAND, _ADDRESS): Call convex.c. + (EXIT_BODY): Define for libgcc2. Call atexit handler if present. + + convex.md: Add scheduling info. + (movxx): One of the operands must be a register. + (movdf, movdi): Add anonymous patterns that can load an arbitrary + const_double by doing two immediate loads. This is not superior + to loading it from memory, and can be worse, so LEGITIMATE_CONSTANT_P + still rejects these constants, but the patterns are still useful + so rtx folding can produce arbitrary results. + (floatunsdidf, floatunsdisf): Add patterns that avoid double rounding. + (floatunssidf, floatunssisf): Add patterns that mimic gcc's default + method, to keep SI cvts from promoting to the above DI cvts. + (fix_truncdfsi2): Use cvtd.l even if cvtd.w is available -- on c34 + cvtd.w is microcoded and slower. + (addqi3, subqi3, mulqi3): can do immediate with word insn. + (subsi3): use sub/neg to get reverse subtract (reduces reg shuffling). + (udivsi3): give up on having sign_expand_binop do this; people keep + breaking it. Manually extend unsigned SI to signed DI, then divide. + (xshfxx3): The options rank differently on different machines, so + spell them all out and enable the appropriate ones under TARGET_Cxx. + (sqrtxx2): Put under flag_fast_math. + (sinxx2, cosxx2): I don't know why these exist, but they do, so supply + them. The other microcoded intrinsics are in convex math.h. + (txtxx): Remove, no longer necessary. + (cmpdi): Add alternative to fake "eq.l #0,sk" with "neg.l sk,scratch". + (cmpqi): Omit, seems to produce marginally better cse than the old way. + (cmpsf): Avoid compare against 0.0 in ieee mode, since -0.0 is + possible and would confuse old ucode. + (movstrsi): Add. + (anon): Add patterns to pick up on dbra optimizations and implement the + sub/test part. (This optimizes out the compare against 0.) + (call, call_value): Use _pop form instead, and let convex.c replace + the pushes with fp stores. + (end): Put local variable list back. + + convex.c (init_convex): New. Fill in tables used by convex.h. + (psw_disable_float): New. Turn off float exception enables to + make the environment more ieee-like. + (set_cmp): Change name to output_cmp. + (gen_cmp): Change name to output_condjmp. Add handling for + `neg.x' as a fake `eq.x #0' and for optimized-out compares + that read the carry of a preceding decrement. + (simplify_for_convex): New. Replace addr-(-const) with + addr+const so /bin/as will like the notation. + (expand_movstr): New. Generate pipelined load/store sequence. + (asm_declare_function_name): New. Output arg count for debuggers. + (print_operand): Moved from convex.h. Add %u and %v to fetch + subwords of a CONST_DOUBLE, %z to use in replacing shift by mul. + (print_operand_address): Moved from convex.h. + (outfloat): New, call REAL_VALUE_TO_DECIMAL. + (replace_arg_pushes): New. Replace sp by fp if possible; this does + not allow us to get rid of sp but stores are faster than pushes on + new machines. + (emit_ap_optimizations): New. Do simple live analysis of arg pointer + register and eliminate dead reloads. + + math-convex.h: removed. + fixinc.convex: new file. -Fri Nov 6 00:41:53 1992 Paul Eggert (eggert@twinsun.com) +Thu May 6 22:54:43 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - * sparc.h (TARGET_EDOM, GEN_ERRNO_RTX): Deleted. + * config/we32k/we32k.h (ASM_OUTPUT_ASCII): + Cast PTR to unsigned char *. + * config/clipper/clix.h (ASM_OUTPUT_ASCII): Likewise. -Thu Nov 5 18:55:44 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Thu May 6 20:20:41 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * alpha.c (output_prologue): Fix typo: `add' should be `addq'. + * cp-decl.c (build_enumerator): Strip any no-op casts off the + value before we try to do anything with it. -Thu Nov 5 18:35:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-call.c (convert_harshness): Take volatility, in addition to + constness, into account when figuring out the penalty for the + type under question. - * Makefile.in (install-fixincludes): Add semicolon in new for-loop. + * cp-decl.c (grokdeclarator): Undo unneeded change of Apr 6 when we + returned the type of the local typedef, instead of the typedef itself. -Thu Nov 5 15:24:14 1992 Michael Meissner (meissner@osf.org) +Thu May 6 19:21:34 1993 Doug Evans (dje@canuck.cygnus.com) - * 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. + * reload1.c (eliminate_regs, case {PRE,POST}_{INC,DEC}): Account + for PUSH_ROUNDING. -Wed Nov 4 13:36:10 1992 Jim Wilson (wilson@sphagnum.cygnus.com) +Thu May 6 18:17:19 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * config/i386/sequent.h (DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC): + Override the usual definitions. -Wed Nov 4 16:45:53 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * objc/hash.h, objc/objc.h, objc/runtime.h, objc/sarray.h: + Use gstddef.h, with doublequotes. - * config.sub: Don't discard SCO version number if it's 3.2v4. +Thu May 6 15:58:18 1993 Ian Lance Taylor (ian@cygnus.com) - * xm-vax-vms.h (HOST_FLOAT_FORMAT): Defined. + * fixincludes: More fixes for IRIX 4.0.1. Rather than replacing + [^A-Z]CTRL, replace [^A-Z_]CTRL and [^A-Z]_CTRL. Also patch + "//" in elf_abi.h which the sed script breaks. - * varasm.c: Fix typos in last change. +Thu May 6 13:58:39 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) -Wed Nov 4 10:11:28 1992 Torbjorn Granlund (tege@jupiter.sics.se) + * clix.h: Include "clipper/clipper.h" instead of "clipper.h". + * config.sub (os): Add -clix*. + * configure (clipper-intergraph-clix): Add clipper/ filename prefixes. - * va-pa.h (va_end): Do it like in other va-*.h files. + * c-typeck.c (pointer_diff): Error if op1 is pointer to incomplete + type. -Wed Nov 4 07:23:46 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * fixinc.svr4 (sys/varargs.h): Replace. - * 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. +Thu May 6 11:58:28 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Nov 4 00:13:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * reload1.c (forget_old_reloads_1): Accept and ignore 2nd arg. + (reload_as_needed): Pass that second arg. - * x-next (libgcc2.a, stdarg.h): New rules. + * c-parse.in: For Objc, expect just 20 conflicts. - * varasm.c (immed_real_const_1, immed_double_const): - Don't push on const_double_chain in nested function. + * objc-act.c (OBJC_GEN_METHOD_LABEL): Do use CAT_NAME. - * expr.c (emit_move_insn): Do return a value, in complex case. + * config/i386/i386.md (extendsidi2): Use cdq or cltd, not cwtl. -Tue Nov 3 10:45:09 1992 H.J. Lu (hlu@yardbird.eecs.wsu.edu) + * configure (i[34]86-*-bsd): Don't use collect2. - * i386linux.h (STARTFILE_SPEC): -static is added to ld if - -pg, -g or -p is passed down by gcc. + * c-typeck.c (convert_for_assignment): Don't use convert_and_check + when handling arithmetic types here. -Tue Nov 3 15:14:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-common.c (truthvalue_conversion): Turn off Apr 29 change. - * pa.c (output_ior): Handle "ior" against zero. +Thu May 6 05:44:23 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * i386mach.h (YES_UNDERSCORES): Define it. + * reload.c (find_equiv_reg): Don't look inside a CONST_DOUBLE; + use operand_subword instead. - * sun3.h (ASM_OUTPUT_FLOAT_OPERAND): Use REAL_VALUE_MINUS_ZERO. - (ASM_OUTPUT_DOUBLE_OPERAND): Likewise. + * varasm.c (record_constant): Properly make the header of + a struct constant_descriptor. -Tue Nov 3 08:25:35 1992 Chris Smith (csmith@convex.com) + * function.c (walk_fixup_memory_subreg): Add new arg UNCRITICAL. + (fixup_var_refs_insn): Call with UNCRITICAL of 1 when processing + REG_NOTES. - * 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. + * integrate.c (expand_inline_function): Don't call convert_to_mode + unless we need to; some converstions of VOIDmode objects can + mess them up. -Tue Nov 3 08:05:10 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * expmed.c (store_split_bit_field): Properly handle VALUE when + it is a CONST_DOUBLE. - * jump.c (jump_optimize): Ensure operand of REG_NOTES is an INSN; - otherwise, we might try to read outside allocated memory. + * fold-const.c (decode_field_reference): Don't do anything for + non-integral fields. - * va-alpha.h (va_end): Don't define enum if va_end already defined. + * cse.c (simplify_binary_operation, simplify_relational_operation): + Check for MODE_CC modes, not just CCmode. -Tue Nov 3 02:56:22 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu May 6 00:54:40 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - * objc/Makefile: Use $(srcdir), not `..'. + * objc/class.c, objc/hash.c: Change calloc to __objc_xcalloc. + * objc/objects.c (class_create_instance): bzero new instances - * objc-actions.c (build_message_expr): Use save_expr for receiver. + * objc/sendmsg.c (__objc_send_initialize, class_add_method_list): + Allow multiple +initialize methods per class. - * 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. +Wed May 5 21:40:04 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Nov 2 21:17:40 1992 Paul Eggert (eggert@twinsun.com) + * config/i386/sequent.h (LINK_LIBGCC_SPECIAL): #if 0. - * va-sparc.h (va_end): If already def as macro, don't declare. + * toplev.c (main): Improve error message in previous change. -Mon Nov 2 16:04:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed May 5 19:36:15 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * i386linux.h: Include i386gstabs.h, not i386gas.h. + * combine.c (combinable_i3pat): Do not make REG_DEAD notes for + the stack pointer, frame pointer, or arg pointer. -Mon Nov 2 14:46:31 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Wed May 5 17:57:30 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Makefile.in (install-cross-tools): Delete old symlink before - making new one; else symlink will fail and we will use - backed strategy. + * config/i386/sequent.h (LINK_LIBGCC_SPECIAL): Defined. -Sun Nov 1 17:55:56 1992 Jim Wilson (wilson@sphagnum.cygnus.com) +Wed May 5 00:01:57 PDT 1993 Ron Guilmette (segfault!rfg@netcom.com) - * varasm.c (decode_rtx_const): Handle PC same as LABEL_REF. + * expr.h: Fix comment typos. emit_block_move decl was hidden. -Sun Nov 1 03:19:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * toplev.c (main): If C++ for Dwarf requested, warn and turn it off. - * Version 2.3.1 released. +Wed May 5 21:48:24 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - * x-i386s4: Renamed from x-i386sco4. - * configure (i[34]86-*-sco*): Use new name. + * objc-act.c (check_methods_accessible): Handle interface types. - * sol2-c1.asm, sol2-ci.asm, sol2-cn.asm: Renamed from sol2-crt... - * t-sol2: User new names. +Wed May 5 14:37:42 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sat Oct 31 15:19:54 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fold-const.c: (optimize_bit_field_compare): Add missing arg + to const_binop. - * Version 2.3 released. + * reg-stack.c (record_asm_reg_life): Don't abort for asm that + doesn't match its constraints. - * Makefile.in (install-libobjc): New target. - ($(srcdir)/gcc.dvi, $(srcdir)/cpp.dvi): New targets. - (extraclean): rm *diff, *lose, config/*lose. - (mostlyclean): rm config/core. + * combine.c (num_sign_bit_copies, case SUBREG): Properly compute + the number of sign bit copies of SUBREGs of promoted objects. - * objc-actions.c (OBJC_SELECTORS_WITHOUT_LABELS): Define by default. + * optabs.c (add_equal_note, expand_binop, expand_unop): Make + copy of operands for REG_EQUAL note to avoid sharing RTL if + called later than RTL generation. + (emit_libcall_block, expand_fix): Likewise. + * expr.c (convert_move): Likewise, though probably not + called after RTL generation. -Fri Oct 30 20:11:52 1992 James Van Artsdalen (james at bigtex.cactus.org) +Wed May 5 14:11:12 1993 Ian Lance Taylor (ian@cygnus.com) - * 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. + * fixincludes: Only quote argument to _IO[A-Z]*, not first item in + parentheses. Added patches for IRIX 4.0.1 header files to undo + some inappropriate changes. -Fri Oct 30 18:52:57 1992 Michael Meissner (meissner@osf.org) +Wed May 5 11:34:59 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * mips.h (MIPS_VERSION): Bump meissner version number to 28. + * toplev.c (flag_defer_pop): Initialize to 0. + (main): Set it to 1 if optimizing. - * mips.md (addsi3, subsi3): Don't allow -32768 as the second - operand, the assembler complains if the instruction fills a delay - slot. +Wed May 5 06:38:47 1993 Tom Wood (wood@hal.gnu.ai.mit.edu) -Fri Oct 30 16:11:37 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * configure (i[34]86-next-*, m68k-next-*): collect2 isn't needed. - * combine.c (simplify_shift_const): - For a subreg, require subreg_lowpart_p and not paradoxical. +Tue May 4 14:21:11 1993 Kresten Krab Thorup (krab@xiv.iesd.auc.dk) - * Makefile.in (install-fixincludes): Ignore dirs that don't exist. + * objc/objc.h, objc/runtime.h: Remove inclusion of memory.h + * objc/objc.h, objc/hash.h, objc/runtime.h: Remove inclusion of + gstddef.h -Thu Oct 29 20:15:44 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * objc/Makefile (OBJC_H): Add typedstream.h - * gvarargs.h, gstdarg.h [4.3 net 2]: If _VA_LIST_, is undefined - then va_list is already declared. + * objc/Object.h: Add includes objc/objc.h and objc/typedstreams.h + objc/Object.h: Removed `minimal' definitions. Includes objc.h + instead. + * objc/archive.c: Add include "typedstream.h" - * i386gas.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): - Override, if NO_UNDERSCORES. + * objc/typedstream.h: New file. Contents moved from + objc/objc-api.h. -Thu Oct 29 17:30:52 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * objc/objc.h (IvarList, Ivar, SymTab, Module, Method, + Category, Super, objc_method_description, objc_protocol_list): + Data definitions moved to objc/objc-api.h - * 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. + * objc/archive.c: Change malloc into __objc_xmalloc - * varasm.c (output_constant_pool): Labels can be deleted by being - turned into NOTEs, not just have INSN_DELETED_P. + * objc/objc.h, objc/sendmsg.c: Remove any code for hash lookup + * objc/cache.h: File removed -Thu Oct 29 16:15:47 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * objc/objc-api.h (class_create_instance, object_copy, + object_dispose): Definitions moved to objc/objects.c - * gstdarg.h: Use _ANSI_STDARG_H_, not _ANSI_STDARG_H. + * objc/objc.h: Remove declarations for library functions. + * objc/Object.m (-conformsTo:): Bugfix: Also ask superclasses. - * gstddef.h [4.3 net 2]: If _SIZE_T_, etc. are undefined - then type is already declared. +Tue May 4 23:46:37 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * m68k.c (print_operand_address) [MOTOROLA !SGS]: - Don't subtract 2 in the address displacement. + * cp-decl.c (start_decl): Give an error, not a sorry, when they try + to declare a template on a VAR_DECL or a TYPE_DECL. -Thu Oct 29 14:36:23 1992 Michael Meissner (meissner@osf.org) + * cp-type2.c (process_init_constructor): If we have a VAR_DECL + that's static in the class, don't try to use it when we're working + on an initializer-list; it has no business being there. - * libgcc2.c (__builtin_vec_new): #undef NULL before including - stdio.h to prevent redeclaration message. - (pyramid __enable_execute_stack): Ditto. + * cp-cvt.c (convert_pointer_to): Only call get_base_distance et al. + on RECORD_TYPEs, not on UNION_TYPEs. - * i386rose.h (YES_UNDERSCORES): Define. - (ASM_OUTPUT_LABELREF): Don't redefine. + * cp-decl.c (grokdeclarator): Don't try to divine the name of the + incomplete type for a field decl. - * mips.h (ASM_FINAL_SPEC): If cross compiling, don't invoke - mips-tfile by default. +Tue May 4 19:55:29 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * decrose.h (ASM_FINAL_SPEC): If cross compiling, don't invoke - mips-tfile by default. + * combine.c (distribute_notes, REG_DEAD case): Handle hard + registers which partially overlap the destination of the insn. - * mips-tdump.c, mips-tfile.c: Handle the case where CROSS_COMPILE - is defined more gracefully. +Tue May 4 17:59:10 1993 Jeffrey A. Law (law@snake.cs.utah.edu) -Thu Oct 29 12:10:16 1992 Tim Moore (moore at defmacro.cs.utah.edu) + * pa.md (casesi0): Remove incorrect fix from April 23. + * pa.h (CASE_DROPS_THROUGH): Define. - * combine.c (make_extraction): Fix paren error in if for INNER is reg. +Tue May 4 13:22:21 1993 John Hassey (hassey@dg-rtp.dg.com) -Thu Oct 29 13:49:03 1992 Jim Wilson (wilson@sphagnum.cygnus.com) + * t-dgux: Fixed name of link script. - * xm-mipsbsd.h: Really delete file. +Tue May 4 11:15:40 1993 Steve Chamberlain (sac@wookumz.gnu.ai.mit.edu) -Thu Oct 29 02:48:28 1992 Tom Wood (wood@dg-rtp.dg.com) + * sh.md (arith patterns): Rework constraints. + * sh.h (ASM_OUTPUT_CASE_LABEL): Ensure jump table is aligned. + * sh.c (arith_reg_operand): New constraint. (dump_constants): + Force out a constant table if necessary. - * dwarfout.c, arm.c, m88k.c: Include "assert.h" instead of . +Mon May 3 20:41:00 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Oct 29 00:43:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * tree.c (build_array_type): The main variant of an array type + should always be an array whose element type is the main variant. - * gstddef.h [4.3 net 2]: Force inclusion of ansi.h. - Undef _SIZE_T_, _PTRDIFF_T_, _WCHAR_T_ at end. +Mon May 3 19:27:04 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * 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. + * lite.h (CPP_PREDEFINES): Delete -Dsun and -Dunix. - * i386gas.h (NO_UNDERSCORES): Test was backwards. - (SDB_DEBUGGING_OUTPUT): Defined. + * combine.c (make_extraction): Move BYTES_BIG_ENDIAN != + BITS_BIG_ENDIAN offset correction after the offset calculation. + * elxsi.h, mips.h (BITS_BIG_ENDIAN): Define to zero. -Wed Oct 28 16:33:34 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-decl.c (grokdeclarator, ARRAY_REF case): Build array type, and + then build the variant array type. - * 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. + * sparc.md (floatsitf2): Output fitoq not fitox. - * i386bsd.h (CPP_PREDEFINES): Add ____386BSD____. + * i960.md (scc pattterns): Add missing mode to conditional operators. + * i960.c (output_function_profiler): Add missing newlines in strings. - * c-decl.c (pushdecl): Allow redeclaring builtin as any sort of static. + * c-common.c (truthvalue_conversion): Don't optimize subtract of + reals when target uses IEEE arithmetic. - * Makefile.in (install-cross-tools): Fix typo. - (all.build): Dep on xgcc instead of $(GCC_PASSES). + * c-parse.in: Delete cond.awk reference. + * cond.awk: Delete file. -Wed Oct 28 15:25:42 1992 Tom Wood (wood@dg-rtp.dg.com) +Mon May 3 16:58:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * c-typeck.c (digest_init): Check size properly for wide-string. - * m88kv3.h (CPP_PREDEFINES): Add -Dunix. + * Makefile.in (TEXI2DVI): New variable. + (cpp.dvi, gcc.dvi): Use it. - * m88kdolph.h (SDB_ALLOW_FORWARD_REFERENCES): Don't override. +Mon May 3 16:29:38 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Wed Oct 28 05:34:11 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cp-search.c (lookup_nested_field): Pass complain down as the value + for lookup_field's `protect' argument. This will help avoid + incorrect visibility errors when we're parsing things. - * reload1.c (gen_input_reload): In PLUS, if OP0 and OP1 are the - same, use RELOADREG when generating the addition. +Mon May 3 21:02:22 1993 H.J. Lu (hlu@yardbird.eecs.wsu.edu) - * reload.c (find_reloads_address): When copying memref after we've - made recursive calls on it, copy any replacements we made. + * config/i386/linux.h (FUNCTION_PROFILER, ASM_OUTPUT_ADDR_DIFF_ELT): + Remove PIC stuff. We wait for the ELF support in gas and binutils. + (LINK_SPEC): Defined for -v. - * combine.c (can_combine_p): Don't substitute an expression - containing a register that will be clobbered in I3. +Mon May 3 06:41:56 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * objc/Makefile (copy-headers): Put `-' on mkdir command. -Wed Oct 28 10:54:50 1992 Michael Meissner (meissner@osf.org) +Sun May 2 09:28:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * libgcc2.c (L_caps_new): Properly close comment. + * cccp.c (macroexpand): Treat `foo ( )' as 0 args if foo wants 0 args. -Wed Oct 28 05:50:10 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) +Sun May 2 07:37:45 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.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. + * reload1.c (eliminate_regs, case SUBREG): Leave the SUBREG when + the inner object is a pseudo on machines that extend byte + loads (to be consistent with reload.c). + * reload.c (push_reload): Allow non-paradoxical SUBREGs of MEM + on machines that extend byte loads. - * longlong.h (file header): Add comment describing sdiv_qrnnd. - (__hppa sub_ddmmss): Swap input operands. +Sun May 2 08:57:33 1993 Michael Meissner (meissner@osf.org) - * gcc.c (process_command): Check that we have enough arguments. + * real.c (EDOM, ERANGE): Do not define since errno.h was + previously included. -Wed Oct 28 00:40:18 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sun May 2 08:28:15 1993 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. + * cse.c (record_jump_cond): Use mode of op0 or op1, not MODE, + when testing for narrowing or widening subregs. - * Makefile.in (mostlyclean): Don't delete tmp-limits.h. +Sat May 1 10:10:44 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * i386vgas.h: File deleted. + * config/nextstep.h (WORD_SWITCH_TAKES_ARG): Fix typo. -Tue Oct 27 15:35:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cse.c (simplify_binary_operation): Reject CCmode in A & (~A) -> 0. - * libgcc2.c: Include stdio.h. - [__GNU_LIBRARY__] (write): Defined. + * cccp.c (macroexpand): If just whitespace between parens, + treat it as one argument. - * Makefile.in (install-cross-tools): When handling $(tooldir)/include, - do all cd's starting from build directory. +Sat May 1 11:02:22 1993 H.J. Lu (hlu@yardbird.eecs.wsu.edu) - * i386gas.h (NO_UNDERSCORES): Don't define, if YES_UNDERSCORES. - * i386linux.h (YES_UNDERSCORES): Defined. + * Makefile.in (libobjc.a): Depend on $(USE_COLLECT2) -Tue Oct 27 14:17:43 1992 Jim Wilson (wilson@sphagnum.cygnus.com) + * objc/Makefile (xforward): Add `else true;' for Ultrix 4.2 make. - * configure (i[34]86-*-linux): Set broken_install. - * x-linux (INSTALL): Delete. - * x-iris (INSTALL): Delete. +Sat May 1 06:49:51 1993 Tom Wood (wood@next.com) -Tue Oct 27 13:39:22 1992 Tim Moore (moore@hal.gnu.ai.mit.edu) + * objc-act.c (build_ivar_reference): Warn when a class method + refers to an instance variable. - * pa.h (ASM_GLOBALIZE_LABEL): Give function symbols CODE type, - others DATA type. +Fri Apr 30 22:37:56 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Oct 26 16:40:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-lex.c (yylex): Avoid invalid shift for erroneous empty char const. - * c-typeck.c (build_c_cast): Don't warn about size change between - pointer and integer if the value is constant. + * combine.c (subst, case COMPARE): Use SELECT_CC_MODE even if HAVE_CC0. - * Makefile.in (libobjc.a): If ln fails, copy libobjc.a. +Fri Apr 30 12:40:23 1993 John Hassey (hassey@dg-rtp.dg.com) -Mon Oct 26 16:21:11 1992 Tim Moore (moore@defmacro.cs.utah.edu) + * configure, install.texi: Updated -local configuration option. - * 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. +Fri Apr 30 15:20:10 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) -Mon Oct 26 14:39:46 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * sparc.h (LONG_DOUBLE_TYPE_SIZE): Ifdef out. - 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. +Fri Apr 30 14:53:43 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) -Mon Oct 26 11:21:36 1992 Chris Smith (csmith@convex.com) + * config.sub: Fix syntax error. - * convex.h (SHIFT_COUNT_TRUNCATED): Undefine. +Fri Apr 30 12:00:24 1993 Ian Lance Taylor (ian@cygnus.com) -Mon Oct 26 07:48:35 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * fixincludes: Fix #endif comments for Ultrix 4.2. - * 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. +Fri Apr 30 10:45:53 1993 Steve Chamberlain (sac@wookumz.gnu.ai.mit.edu) - * configure (alpha): Set use_collect2. + * sh.c, sh.h, sh.md, t-sh, xm-sh.h: New files for Hitachi SH. + * configure (sh-hitachi-hms): New configuration. + * config.sub: Accept sh, hms. -Mon Oct 26 04:19:24 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Apr 29 22:20:20 1993 Jeff Law (law@kahlua.cs.utah.edu) - * xm-alpha.h: Declare calloc. + * cse.c (cse_insn): Reset the INSN_CODE for conditional + or computed jumps which have been converted into simplejumps. -Sun Oct 25 17:19:52 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Apr 29 14:30:25 PDT 1993 Ron Guilmette (rfg@netcom.com) - * function.c (fixup_var_refs_insns): Don't call delete_insn if not -O. - Make a NOTE_INSN_DELETED instead. + * c-common.c (truthvalue_conversion): Specific error message when the + "truthvalue" of a struct, union, or array type operand is needed. -Sun Oct 25 11:57:04 1992 Chris Smith (csmith@convex.com) +Thu Apr 29 21:42:26 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * convex.h (target_flags): prevent -mnoc2 from clearing - TARGET_INDIRECTS. - (TARGET_INDIRECTS): Always on. + Thu Apr 29 12:27:59 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Sun Oct 25 16:56:18 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cp-decl.c (grokdeclarator): When complaining about a field having + an incomplete type, tell them what type it was, and what template + instantiation was involved, if we can. - * calls.c (expand_call): Don't call convert_to_mode if we obtained - VALUE in the proper mode; VALUE might be a CONST_INT. + Wed Apr 28 11:50:28 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Sun Oct 25 03:18:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-decl.c (grokfndecl): New argument `publicp', to say if we + should set TREE_PUBLIC on the node for the caller. + (grokfndecl): Pass the new arg down appropriately. - * expr.c (gen_push_operand): No longer static. + * cp-pt.c (instantiate_template): If it's a static member fn, revert + it into a FUNCTION_TYPE and chop off the this pointer. + * cp-decl.c (revert_static_member_fn): Make non-static. + * cp-tree.h (revert_static_member_fn): Add prototype. - * 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. + * cp-lex.c (reinit_parse_for_block): Bump the size of BUF for the + pre-parsed line directive to 16, so we can hold the max # of digits + in a signed int (10). -Sat Oct 24 21:41:00 1992 Chris Smith (csmith@convex.com) +Thu Apr 29 19:26:21 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * convex.md (movstrictsi): Correct output constraint is + not =. + * config/mips/mips.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): + Definitions put into #if 0. -Sat Oct 24 14:10:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-typeck.c (build_conditional_expr): Do default_conversion + before testing for ERROR_MARK. - * news.h (FUNCTION_EPILOGUE): Fix typos. + * cse.c (simplify_binary_operation): Don't return const0_rtx + or constm1_rtx for IOR, AND, XOR in CCmode. + (simplify_relational_operation): Don't do anything if op0 has CCmode. - * cccp.c (get_lintcmd): Length of `LINTLIBRARY' is 11. + * Makefile.in (install-normal): Move install-libgcc + after $(INSTALL_HEADERS). -Sat Oct 24 13:22:09 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) +Thu Apr 29 17:09:59 1993 Ian Lance Taylor (ian@cygnus.com) - * arm.md (DImode patterns): Add `&' to target operand constraints. + * gcc.c (is_directory): Renamed from is_linker_dir and added + linker argument. If not checking linker directory, check whether + directory exists only if SMALL_ARG_MAX not defined. + (putenv_from_prefixes): Don't add directories for which + is_directory returns 0. + * config/i386/xm-sco.h (SMALL_ARG_MAX): Define. - * Makefile.in (setting version variable): Prepend $(srcdir) to - version.c. +Thu Apr 29 15:30:09 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - From Wilson: - * longlong.h (sparclite): Use machine independent USItype instead - of explicit types. + * pa.md (shadd for reload): Fix constraint to match the output + pattern. -Sat Oct 24 10:35:18 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Thu Apr 29 15:05:05 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - * rs6000.md (movdi): Tests were in wrong order. + * we32k.md (float_extend:DF recognizer): Add missing arg to + output_asm_insn. + (float_truncate:SF recognizer): Likewise. - * rs6000.h (LEGITIMIZE_ADDRESS): Indexed addresses are not valid - for DImode and TImode; GO_IF_LEGITIMATE_ADDRESS knows this. +Thu Apr 29 10:18:36 1993 Kresten Krab Thorup (krab@wombat.gnu.ai.mit.edu) - * Makefile.in (mostlyclean): Add missing semicolon. + * objc/xforward.c: File renamed from objc/_forward.c. + * objc/Makefile: Updated accordingly. - * a29k.c (a29k_set_memflags, a29k_set_memflags_1): New functions. - * a29k.md (movqi, movhi, reload_{in,out}{qi,hi}): Use them. +Thu Apr 29 12:10:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * real.c: Deleted casts to void. - * alpha.h (ASM_FILE_START): Stop at blank in version string. + * real.c (emdnorm, eifrac, euifrac, mtherr): Replace + unconditional `pedwarn' by `warning' conditional on `extra_warnings'. + (toe24, todec): Use ERANGE to flag overflow on (non-IEEE) + machines that do not have infinity. + (etoasc): Check explicitly for overflow of leading decimal digit. + (asctoeg): Test for, and immediately reject, out-of-bounds + decimal exponent inputs. + (at top level): Include errno.h; reference errno, + warning, extra_warnings. -Sat Oct 24 04:35:16 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Makefile.in (tooldir): Use exec_prefix, not prefix. + (gcc.o): Likewise for TOOLDIR_BASE_PREFIX. - * reload1.c (emit_reload_insns): If not -O, Don't try find_equiv_reg. - (choose_reload_regs): If not -O, don't inherit reloads. + * config/convex/convex.c (output_call): + Add missing arg to output_asm_insn. -Fri Oct 23 18:07:10 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * gcc.c (default_compilers): Inhibit -D__OPTIMIZE__ if -O0. - * news.h (FUNCTION_EPILOGUE): - If no frame ptr, increment stack ptr to free up the local space. + * config/m68k/m68k.md (movxf): Add pattern for soft-float moves. - * gcc.c (process_command): Discard after first space in spec_version. + * config/m68k/m68k.c (output_move_double): Support XFmode moves. - * print-tree.c (print_node): Always output `>' to match `<'. +Thu Apr 29 00:09:34 1993 Kresten Krab Thorup (krab@wombat.gnu.ai.mit.edu) - * Makefile.in (version): Use sed to extract. - Ignore excess after space. - (install-fixincludes): Fix typo in last change. + * objc/init.c (__objc_exec_class): Added check for selectors = 0 - * configure (i386-ibm-aix*): Use aix386ng.h if not --with-gas. - * aix386ng.h: New file. + Undid the following changes: -Fri Oct 23 15:14:49 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * objc/_forward.c: File removed + * objc/argframe.h, objc/af-sparc.h: New files + * objc/Makefile (ARGFRAME_H): New macro + * objc/Makefile (_forward, fflags): Targets removed + * objc/msgsend.c (objc_msg_sendv): Changed to use argframe macros + * objc/Object.[hm], objc/runtime.h, objc/objc-api.h, + objc/msgsend.c: Changed type name arglist_t to af_frame. - * 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. +Thu Apr 29 00:04:11 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * convex.h (P_tmpdir): Remove definition. - * xm-convex.h: Put it here. + * pa.h (CONDITIONAL_REGISTER_USAGE): %r19 is fixed + if flag_pic is true. + * pa.c (emit_move_sequence): After legitimizing a PIC + address make sure to copy it from the temporary register + into the final destination. -Fri Oct 23 10:27:34 1992 Michael Meissner (meissner@osf.org) +Wed Apr 28 18:15:57 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * i386rose.h (ASM_OUTPUT_LABELREF): Define so that external - identifiers have leading underscores in front of them. + * pa.h (HARD_REGNO_MODE_OK): Allow 1.0 FP registers to hold modes + which are smaller than 4 bytes. - * mips-tfile.c (parse_stabs_common): Allow stabs with line numbers - of 0. These come from g++ for compiler generated functions that - take arguments. +Wed Apr 28 16:40:38 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Fri Oct 23 07:49:12 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * Makefile.in (distdir): Copy subdirectories of config/ too, except RCS - * romp.c (output_fpops): Add SYMBOL_REF and LABEL_REF cases to - constants handled. +Wed Apr 28 16:19:18 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Fri Oct 23 01:58:12 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Makefile.in (extraclean): Delete *.z as well. - * 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. +Wed Apr 28 15:10:33 1993 Michael Meissner (meissner@osf.org) - * toplev.c (push_float_handler): Declare arg old_handler. + * mips/mips.h (MIPS_VERSION): Set Meissner version # to 40. + (OPTIMIZATION_OPTIONS): Set -mgpopt if -O other than -O0. + (CC1_SPEC): Don't pass -mgpopt here. - * t-next (OTHER_FIXINCLUDES_DIRS): Defined. + * mips/osfrose.h (CC1_SPEC): Don't pass -mgpopt here. - * Makefile.in (OTHER_FIXINCLUDES_DIRS): New variable, normally empty. - (install-fixincludes): Run fixincludes on those dirs. - * fixincludes: Convert //-style comments to /*...*/ style. + * mips/osfrose.h, i386/osfrose.h (ASM_IDENTIFY_LANGUAGE): If the + language is C, do not put anything out, to not confuse kernel + debuggers and the like. - * 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. +Wed Apr 28 07:31:20 1993 Kresten Krab Thorup (krab@wombat.gnu.ai.mit.edu) -Thu Oct 22 21:17:53 1992 Tim Moore (moore at defmacro.cs.utah.edu) + * objc/argframe.h (__AF_ARG_ADDR): Removed .curr_off from + definition. (__AF_ARG_ADVANCE): Removed __AF_CUM_OFF around CUM. - * 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. + * objc/runtime.h (_objc_error): Declaration added. -Thu Oct 22 17:53:37 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Apr 28 06:17:02 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in (mostlyclean): Clean objc subdir only if it exists. + * c-lex.c, cp-lex.c (yylex): Don't use unsigned comparison + to also check for < 0; do it explicitly. + * combine.c (force_to_mode, simplify_comparison): Cast to + unsiged HOST_WIDE_INT instead of unsigned int. + * cse.c (simplify_binary_operation, case SMAX): Likewise. + * expr.c (emit_block_move): Likewise. - * news.h (FUNCTION_PROLOGUE): Do allocate local stack space - when no frame pointer. + * convert.c (convert_to_integer): When we want to return zero, + be sure we honor any side-effects in our operand. -Thu Oct 22 15:21:27 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Tue Apr 27 22:25:29 1993 Kresten Krab Thorup (krab@xiv.iesd.auc.dk) - * i960.h (FUNCTION_VALUE): Simplify, just return reg 0. - * i960.c (i960_function_value): Delete. + * objc/_forward.c: File removed + * objc/argframe.h, objc/af-sparc.h: New files + * objc/Makefile (ARGFRAME_H): New macro + * objc/Makefile (_forward, fflags): Targets removed + * objc/msgsend.c (objc_msg_sendv): Changed to use argframe macros + * objc/Object.[hm], objc/runtime.h, objc/objc-api.h, + * objc/msgsend.c: Changed type name arglist_t to af_frame. -Thu Oct 22 09:42:50 1992 Michael Meissner (meissner@osf.org) +Tue Apr 27 16:29:45 1993 Tom Wood (wood@next.com) - * 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. + * nextstep.h (NeXT_OBJC, STANDARD_EXEC_PREFIX): Delete. + * i386/next.h: Use gas.h instead of bsd.h. + (ASM_GENERATE_INTERNAL_LABEL): Define. - * mips.c (function_arg): Align passed structures to double word - boundary if structure has double word alignment. +Tue Apr 27 12:20:08 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * mips.h (STACK_DYNAMIC_OFFSET): Do not define this macro in order - to work around a bug. + * reorg.c (dbr_schedule): Do not run the delay slot scheduling + pass if the current function has no insns other than the prologue + and epilogue. + + * pa.c (hppa_expand_epilogue): Emit a "blockage" insn + to keep the stack and frame pointer adjustments at the + end of the epilogue. + * pa.md (blockage): New pattern. -Thu Oct 22 08:00:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Apr 27 10:59:33 1993 Ian Lance Taylor (ian@cygnus.com) - * gstdarg.h, gvarargs.h: Treat _AIX and _M_UNIX like __svr4__. + * gcc.c (DEFAULT_WORD_SWITCH_TAKES_ARG): New macro. Like old + WORD_SWITCH_TAKES_ARG, but added idirafter, iprefix, iwithprefix. + (WORD_SWITCH_TAKES_ARG): Use DEFAULT_WORD_SWITCH_TAKES_ARG. + * config/i386/osfrose.h, config/m68k/sun2.h, config/m68k/sun3.h, + config/mips/osfrose.h, config/sparc/sparc.h, config/svr4.h, + config/nextstep.h (WORD_SWITCH_TAKES_ARG): Rewrote to use + DEFAULT_WORD_SWITCH_TAKES_ARG. - * i386gas.h (NO_UNDERSCORES): Defined. +Tue Apr 27 07:38:47 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu - * 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. + * Makefile.in (stmp-int-hdrs): No longer depends on gsyslimits.h. + Don't make include/syslimits.h here since we want to test the + limits.h made by fixincludes, not by the later part of this rule. + (stmp-fixinc): Depends on gsyslimits.h. + Make include/syslimits.h here. - * tree.c (copy_node): Copy the excess bytes--don't clear them. + * alpha.c (alpha_emit_set_const, output_{pro,epi}log): Generate + insns to load constants into a register using a method that works + on a 32-bit machine as well. -Thu Oct 22 06:40:55 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Tue Apr 27 09:26:04 1993 CET Kresten Krab Thorup (krab@xiv.iesd.auc.dk) - * a29k.h (TARGET_SWITCHES): Add missing complementary switches: - -mno-stack-check and -mstorem-bug. + * objc/Makefile (fflags): -x test changed to -s test - * a29k.md (long constant split): Use gen_lowpart instead of making - a SUBREG directly. + * objc/Makefile: CFLAGS changed to GCC_CFLAGS - * arm.h (STORE_FLAG_VALUE): Remove bogus definition. + * objc/Object.h: No longer includes objc.h Instead, a minimal set + of definitions is provided here. -Thu Oct 22 03:04:28 1992 Tom Wood (wood@dg-rtp.dg.com) + * objc/Object.h, Object.m, cache.h, class.c, init.c, misc.c, + objc-api.h, objc.h, objects.c, sendmasg.c: Usage of Class_t and + MetaClass_t eliminated. Now using Class* and MetaClass* only. - * 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. + * objc/objc.h: Does no longer include stdio.h and stdarg.h. Minimal + set of definition, which is provided by Object.h is placed in + preprocessor conditionals __object_INCLUDE_GNU. Definitions of + MetaClass_t and Class_t removed. Class and MetaClass are no + longer defines, but typedefs. -Thu Oct 22 03:20:40 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Apr 27 01:40:50 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * function.c (put_var_into_stack): When we operate on a pseudo - that holds the address, use proper modes. + Mon Apr 26 20:45:07 1993 Mike Stump (mrs@poseidon.cygnus.com) - * 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. + * cp-init.c (expand_recursive_init_1): Make sure we use the binfo's + version of a binfo, rather than someone elses, as the second + parameter to build_virtual_init must be the exact binfo we want so + that it may get the right vtable. - * m68k.h (GO_IF_INDEXABLE_BASE): Allow LABEL_REF only if jump table. + Mon Apr 26 12:58:23 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Wed Oct 21 18:55:24 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-type2.c (my_friendly_abort): Rephrase to try to help encourage + people to send bug reports in, and not just say, "Hey, the compiler + told me to report an internal error. Bye!". - * gstdarg.h: Check and define _ANSI_STDARG_H along with _STDARG_H. + * cp-decl.c (grokdeclarator): Forbid declaring an array of references. -Wed Oct 21 11:41:39 1992 Tom Wood (wood at gen-rtx) + * cp-parse.y (unary_expr): Forbid doing sizeof on a function. - * 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. + * cp-typeck.c (build_unary_op): Pedwarn if they try to do pre/post + increment/decrement on an enum. -Wed Oct 21 22:08:31 1992 H.J. Lu (hlu@yardbird.eecs.wsu.edu) + * cp-method.c (build_opfncall): Reorganize things to properly look + for a postfix operator ++/--, without taking the fastest way out of + the search, which could lose. - * 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. + * cp-search.c (compute_visibility): Check for a member fn + manipulating its own members before checking the basetype_path. -Wed Oct 21 12:34:39 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * cp-pt.c (lookup_template_class): Instead of dying in the case + where D1 has a local value but no global or class value, return an + error_mark_node. - From Wilson: - * longlong.h (sparclite udiv_qrnnd): Remove comma before - __AND_CLOBBER_CC. + * cp-pt.c (lookup_template_class): Don't assert if IN_DECL is null, + since we pass it down that way from the parser. + (coerce_template_parms): Likewise. + * cp-parse.y (template_type): Let template_type_seen_before_scope be + an error_mark if necessary, so we can intelligently handle things + later rather than give useless syntax errors. -Wed Oct 21 12:24:24 1992 Michael Meissner (meissner@osf.org) + Sat Apr 24 17:12:17 1993 Mike Stump (mrs@poseidon.cygnus.com) - * decrose.h (WORD_SWITCH_TAKES_ARG): Add -pic-names. - (CC1_SPEC): If -pic-names, pass -mhalf-pic to cc1. + * cp-pt.c (tsubst): When we go back for a second pass, make sure we + start over with the list of methods. Fixes problem introduce on + Sat Mar 20 12:29:37 1993. - * i386rose.h (WORD_SWITCH_TAKES_ARG): Add -pic-names. - (CC1_SPEC): If -pic-names, pass -mhalf-pic to cc1. +Mon Apr 26 18:48:18 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Wed Oct 21 07:34:16 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * fold-const.c (fold): Signedness matters for comparisons and + right shifts. - * configure (alpha): Only accept OSF/1. + * xm-alpha.h (ONLY_INT_FIELD): Define again; this time say why. - * alpha.h (ASM_FILE_START): Change .verstamp ident for BL9. - * alpha.md (div/mod): Change calling sequence to agree with BL9. + * tree.h (INTEGRAL_TYPE_P, FLOAT_TYPE_P): New macros. + * fold-const.c: Use INTEGRAL_TYPE_P and FLOAT_TYPE_P. - * expr.c (do_store_flag): Ensure we don't get confused when - emit_store_flag fails and an operand has a QUEUED. + * protoize.c (other_variable_style_function): Properly test for + the presence of the string "...". -Wed Oct 21 02:53:58 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-decl.c (pushdecl): Don't make a copy of type of error_mark_node. - * cexp.y (integer_overflow): Do nothing unless pedantic. +Mon Apr 26 18:15:03 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) -Tue Oct 20 17:02:15 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * pa-hpux.h (LINK_LIBGCC_SPECIAL): Delete. + (RELATIVE_PREFIX_NOT_LINKDIR): Delete. + * pa-ghpux.h, pa-hpux7.h, pa-gux7.h: Likewise. - * README, sparc.h, flow.c, regs.h: Change global-alloc.c to global.c. +Mon Apr 26 16:57:03 1993 Michael Meissner (meissner@osf.org) - * i960.md (call, call_value): Use 'd' not 'r' constraint for scratch. + * mips-tdump.c (CODE_MASK): Define if running on an alpha instead + of a MIPS. + (MIPS_IS_STAB): Ditto. + (MIPS_MARK_STAB): Ditto. + (MIPS_UNMARK_STAB): Ditto. + (tfile): New global, holds result of -t option, to skip global + header. + (malloc, calloc, realloc, free): Don't declare on alpha. + (print_sym_hdr): Make sure all arguments are properly cast to int + or long, depending on whether the format is %ld or %d. + (read_tfile): Don't look at magic number, instead use -t option to + determine whether to skip the global header or not. + (main): Process -t option. - * 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. +Mon Apr 26 17:47:10 1993 Kresten Krab Thorup (krab@iesd.auc.dk) -Tue Oct 20 16:49:57 1992 Ron Guilmette (rfg at netcom.com) + * Objective C portability cleanup + * objc/Object.c (-hash, -error): Cast changed to size_t + * objc/archive.c, objc/misc.c, objc/sendmsg: Argument to strlen + casted to char* everywhere. + * objc/class.c (__objc_resolve_class_links): Unused variable + class1 removed. + * objc/class.c (class_pose_as): Unused variable node removed. + * objc/hash.c, objc/init.c: extra parenthesis around assignment + conditionals. + * objc/Makefile, objc/hash.h, objc/runtime, objc/sarray.h: IN_OBJC + changed to IN_GCC. + * objc/init.c: Unused local variable object_class removed. Cast of + pointer to int changed to size_t. + * objc/list.h (list_free): No longer declared inline. + * objc/objc-api.h, objc-runtime.h: Now includes memory.h. + * objc/objc.h: Added declarations for malloc and friends, IN_OBJC + changed to IN_GCC. Type of info member of objc_class changed to + unsigned long. + * objc/objects.c, objc/api.h, objc/sarray.h: Changed usage of + bcopy to memcpy. + * objc/sendmsg (__objc_print_dtable_stats): Returntype changed to + void. - * dwarfout.c (dwarfout_file_scope_decl): Generate DIEs for - built-in non-fundamental types. +Mon Apr 26 07:55:03 1993 Doug Evans (dje@canuck.cygnus.com) -Tue Oct 20 14:58:18 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * sparc.h (ASM_OUTPUT_LONG_DOUBLE): New macro. + * sysv4.h (ASM_OUTPUT_LONG_DOUBLE): Likewise. - * objc-actions.c (handle_impent, handle_class_ref): Use __ - to start the generated names, not period. +Mon Apr 26 08:45:18 1993 Kresten Krab Thorup (krab at xiv.iesd.auc.dk) -Tue Oct 20 14:38:30 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) + * objc/hash.h, objc/init.c, objc/objc.h, objc/sarray.c, + objc/sarray.h, objc/selector.c, objc/sendmsg.c: Change unsigned + int to size_t when casting pointer type to integer. + * objc/sarray.h (struct soffset): Changed to add up to sizeof + (size_t) in stead of sizeof (unsigned int). + * objc/hash.h: Include stddef.h + * objc/_forward.h: int changed to size_t. - * cp-method.c (fndecl_as_string): Undo change of Sep 14th for - emitting a space after the return type of a fn. + * objc/Object.m, objc/archive.c, objc-api.h: Take out archiving + support for alpha. - Wed Oct 7 16:01:55 1992 Chip Salzenberg (chip@tct.com) + * objc/Makefile: (IN_OBJC): new #define used to control inclusion + of gstdarg or stdarg for the runtime. objc/objc.h, + objc/runtime.h, objc/sarray.h: Updated to use the above. - * cp-lex.c (readescape): No warning if digits in \x are all 0's. +Sun Apr 25 21:50:16 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Tue Oct 20 06:50:28 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * cp-lex.c (yylex): Re-incorporate changes to redo converting + float values to desired type. - * 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. +Sun Apr 25 18:11:24 1993 Ron Guilmette (rfg@netcom.com) -Tue Oct 20 04:54:01 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rtl.h (NOTE_INSN_FUNCTION_BEG): Make non-zero. + * rtl.c (note_insn_name): Re-order for above. - * tree.c (make_node, copy_node): - Don't assume node length is multiple of int. + * dwarfout.c (output_decl): Check for DECL_INITIAL == NULL_TREE + rather than DECL_EXTERNAL != 0 when trying to see if we have a + mere function declaration rather than a function definition. + (dwarfout_file_scope_decl): Likewise. Also, don't bother checking + TREE_USED for file-scope functions, since it isn't 100% accurate + until the end of compilation anyway. -Mon Oct 19 18:14:56 1992 Jim Wilson (wilson@sphagnum.cygnus.com) +Sun Apr 25 17:07:44 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * genrecog.c (write_tree): For type SPLIT, check subroutine return - values for non-zero value not positive value. + * sparc.c (mem_aligned_8): Delete ifdefed out code. Add support + for TARGET_UNALIGNED_DOUBLES. + * sparc.h (TARGET_HOPE_ALIGN, TARGET_FORCE_ALIGN): Delete. + (TARGET_UNALIGNED_DOUBLES): Define. + (TARGET_SWITCHES): Delete hope-align, force-align. Add + unaligned-doubles and no-unaligned-doubles. + (ROUND_REG): Delete. + (FIRST_PARM_OFFSET, FUNCTION_ARG_ADVANCE, FUNCTION_ARG, + FUNCTION_INCOMING_ARG, FUNCTION_ARG_PARTIAL_NREGS, + FUNCTION_ARG_BOUNDARY): Delete force-align support. + (LONG_DOUBLE_TYPE_SIZE): Define to 128. -Mon Oct 19 16:11:04 1992 Michael Meissner (meissner@osf.org) + * sched.c (create_reg_dead_note): Rewrite so as to conserve + registers killed not number of REG_DEAD notes. + (schedule_block): Change comments about dead_notes variable. - * 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. + * sparc.h (REG_ALLOC_ORDER, REG_LEAF_ALLOC_ORDER): Make %f0/%f1 + the last float registers allocated. -Mon Oct 19 17:58:18 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * sparc.c (output_load_address, output_size_for_block_move, + output_block_move): Ifdef out. + * sparc.md (movstrsi): Comment out. - * arm.c (output_epilogue): Restore sp's value if no frame pointer. + * sparc.c (output_function_epilogue): Emit 'nop' instead of + 'sub %sp,-0,%sp' when the frame is empty. + * sparc.md (movdf): Add a define split. - From Wilson: - * pa.h (WORD_SWITCH_TAKES_ARG): Delete sparc related cruft. + * expmed.c (extract_fixed_bit_field): Adjust BITPOS so that it + fits inside MODE before adjusting OFFSET to get an aligned address. -Mon Oct 19 14:49:03 1992 Brendan Kehoe (brendan@rtl.cygnus.com) +Sun Apr 25 06:28:56 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-parse.y (primary): Don't try building a CALL_EXPR or - converting types if $$ is an error_mark. + * varasm.c (make_decl_rtl): If a variable has an asm operand that + refers to, e.g., fp, make a distinct RTL for it. -Mon Oct 19 14:01:02 1992 Tom Wood (wood@dg-rtp.dg.com) + * c-decl.c (init_decl_processing): Last arg to __builtin_apply + is size_t, not int. - * 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. + * c-lex.c (yylex): Don't warn about floating point out of + range if target floating-point format is IEEE. - * 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. + * romp.h (SIZE_TYPE): Deleted. -Mon Oct 19 16:46:52 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Apr 24 16:46:41 1993 Stephen L. Moshier (moshier@world.std.com) - * Makefile.in (libobjc.a): Don't mkdir objc if dir exists. + * c-lex.c (forget_protocol_qualifiers): Cast enums to ints before + comparing. - * expr.c (store_field): If trying to sign-extend a constant, - use value_mode as the mode. +Sat Apr 24 13:08:56 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) -Mon Oct 19 10:59:20 1992 Michael Meissner (meissner@osf.org) + * pa.h (INITIALIZE_TRAMPOLINE): Pass a register operand, not + a memory operand to "cacheflush". + * pa.md (cacheflush): Rework pattern and output template to avoid + using REG+D addressing. - * xm-umips.h (index): Define to be strchr. - (rindex): Define to be strrchr. +Sat Apr 24 11:15:02 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * mips-tdump.c (index, rindex): Undefine these, since the MIPS - include files have a field spelled index. + * flow.c (mark_used_regs): Use proper type for {all,some}_needed. + * cse.c (invalidate): Likewise for in_table. -Mon Oct 19 03:34:04 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * tree.h (build_binary_op, build_indirect_ref, build_unary_op): + Delete declarations; these are part of the front ends. - * Makefile.in (mostlyclean): Delete libobjc.a. - (libobjc.a): Create the objc subdir. + * objc-act.c (HASHFUNCTION): Cast pointers to widest int type. -Sun Oct 18 17:52:05 1992 Arne H. Juul (arnej@lise.unit.no) +Sat Apr 24 02:48:37 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * objc/Makefile: Add .SUFFIXES .m and .m.o rule to keep non-GNU - make happy. + Cygnus<->FSF merge. - * 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. + Fri Apr 23 11:08:25 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Sun Oct 18 06:00:27 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cp-call.c, cp-class.c, cp-decl.c, cp-except.c, cp-init.c, + cp-parse.y, cp-pt.c, cp-search.c, cp-type2.c, cp-typeck.c, + cp-xref.c: Fix many bugs in types of fn args & such. - * cse.c (canon_reg): Don't call validate_change if INSN is zero. + * cp-decl.c (grokdeclarator): When dealing with a class-local + typedef, only call poplevel when the current_binding_level isn't + what we marked as being the local_binding_level. -Sun Oct 18 01:09:02 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-decl.c (grokdeclarator): Call pushdecl_class_level, not + pushtag, to put a class-local typedef into its proper scope. + Also disable the warning about a typedef hiding the previous + one, since the cp-class.c change now diagnoses that problem. + * cp-class.c (delete_duplicate_fields_1): Also check for duplicated + type names. - * i860.h (PRINT_OPERAND): For `h', always use OPERAND_HIGH_ADJ_PART - even for integer constant addresses. + * cp-lex.c (yyerror): Delete extern decl of input_redirected. - * final.c (output_addr_const): Always use FILE, not asm_out_file. + * cp-parse.y (primary): If the global value for a scoped identifier + ends up being an ADDR_EXPR, call assemble_extern on its argument, + not on the ADDR_EXPR itself. Fixes the IMPORT problem on the PA. - * 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. + * cp-typeck.c (build_modify_expr_1): Put in missing `else'. - * expr.c (store_field): If signed bitfield and want value, sign extend. + Wed Oct 7 16:00:29 1992 Chip Salzenberg (chip@tct.com) -Sat Oct 17 21:11:09 1992 H.J. Lu (hlu@yardbird.eecs.wsu.edu) + Change propagated from the C front-end. + * cp-decl.c (shadow_tag): Use pedwarn for useless keyword. - * 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. + Wed Oct 7 17:51:36 PDT 1992 Ron Guilmette (rfg at netcom.com) - * 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. + * cp-type2.c (digest_init): Handle union initializers which are + "raw" constructors. + (process_init_constructor): Renamed `erred' to `erroneous' (as in + the C front end). + (process_init_constructor): Added code to handle union initializers. -Sat Oct 17 19:24:31 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Fri Oct 23 16:29:45 1992 Chip Salzenberg (chip@tct.com) + Change propagated from the C front-end. * c-typeck.c (process_init_constructor): When initializing a union, handle the case of an empty init list. - * reload.c (find_reloads_address): Redo last change: copy the mem - in the same way it's usually done. + Tue Dec 1 21:35:36 1992 Niklas Hallqvist (niklas at della.appli.se) - * Makefile.in (gcc.xtar): Fix typo in last change. - (mostlyclean): Don't use $(MAKEFLAGS) for objc subdir stuff. + * cp-call.c (convert_harshness): Add support for ellipsis matching + when dealing with function pointers (or references) in argument + lists. + (rank_for_overload): Ditto. + (compute_conversion_costs): Ditto. + (*_HARSHNESS): Ditto + * cp-class.h (struct candidate): Ditto. -Sat Oct 17 19:15:16 1992 John Wroclawski (jtw@pmws.lcs.mit.edu) + Mon Jan 4 11:46:19 1993 Chip Salzenberg (chip@tct.com) - * decstatn.h (SIZE_TYPE): Fix typo. + Changes propagated from the C front-end. + * cp-typeck.c (c_sizeof, c_sizeof_nowarn, c_size_in_bytes): + Call force_fit_type with end result. -Sat Oct 17 17:46:08 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) + Sat Jan 30 01:23:22 1993 Niklas Hallqvist (niklas at della.appli.se) - * cp-method.c: Don't try to include string.h or strings.h. - * cp-decl.c: Ditto. + * cp-class.c (finish_struct): See to that static members whose + type is the class they're declared in gets a correct mode. This + is a completion of the Jan 23rd change. -Sat Oct 17 13:50:49 1992 Fred Fish (fnf@fishpond.cygnus.com) + Mon Feb 1 09:40:11 1993 Niklas Hallqvist (niklas at della.appli.se) - * fixinc.svr4 (string.h): - Remove #defines for other compiler's builtin functions. + * cp-search.c (compute_visibility): Add support for anonymous + unions nested in classes. -Sat Oct 17 00:39:30 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Tue Feb 2 16:06:10 1993 Chip Salzenberg (chip@tct.com) - * protoize.c: Add #undef getopt after getopt.h. + Eliminate signed integer overflow in specbits: + * cp-lex.h (RID_BIT_TYPE): New typedef for RID_... bits. + (RIDBIT): New convenience macro for RID_... bits. + * cp-decl.c (grokvardecl, grokdeclarator): Declare specbits + to be RID_BIT_TYPE. Use RIDBIT instead of "1<> extends - the sign even if the host bootstrap compiler doesn't. + * reload1.c (last_spill_reg): Add missing "int". - * final.c (output_asm_insn): Advance over the = when processing %=. +Fri Apr 16 16:55:16 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) - * fixincludes (stdio.h): Fix va_list when preceeded by a *. + * Makefile.in (objc-headers): Ensure objc dir exists. -Tue Oct 13 14:52:57 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) +Fri Apr 16 16:40:49 1993 Michael Meissner (meissner@osf.org) - * 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. + * mips/mips.h (MIPS_VERSION): Set Meissner revision number to 39. + (SELECT_SECTION): Do not put items with relocation into .rdata. + (INITIALIZE_TRAMPOLINE, TRANSFER_FROM_TRAMPOLINE): Allow these + macros to be overidden. -Tue Oct 13 20:15:45 1992 Eric Youngdale (youngdale@v6550d.nrl.navy.mil) + * mips/iris3.h (INITIALIZE_TRAMPOLINE, TRANSFER_FROM_TRAMPOLINE): + Provide versions of these that does not rely on using mprotect. - * 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/t-mips, mips/t-osfrose, mips/t-ultrix, i386/t-osfrose: + Delete extra dependencies. -Tue Oct 13 14:06:45 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * i386/osfrose.h (SELECT_SECTION): Do not put items with + relocation into .text if -pic-lib. - * sparc.md (in_branch_delay): Allow fpload and fpstore. +Fri Apr 16 01:09:53 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * collect2.c (main): Only install a signal handler for signals - that already have handlers. - (fork_execute): Don't ignore signals before calling do_wait. + * config/i386/xm-isc.h (REAL_VALUE_ATOF): Define only if + not REAL_ARITHMETIC. - * 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. +Thu Apr 15 07:25:00 1993 Tom Wood (wood@next.com) - * 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. + * objc-act.c (IS_ID, IS_PROTOCOL_QUALIFIED_ID, IS_SUPER): New type + checking macros. + (objc_comptypes, build_message_expr, gen_declspecs): Use them. - * sparc.md (movstrsi+1): Add `+' to constraints for clobbered inputs. + * objc-act.c (gen_declarator): Don't use strcpy's return value. - * i960.c (i960_output_call_insn): Emit bx instead of b, callx - instead of callj. + * objc-act.c (build_message_expr): Allow any type that matches + objc_class_type. - * sparc.c (sparc_frw_output_function_prologue): Frame pointer base - must be same as for regular sparc code. + * objc-act.c (get_class_reference): We already have a name. -Tue Oct 13 06:02:03 1992 Tom Wood (wood@dg-rtp.dg.com) + * objc-act.c (receiver_is_class_object): Use STRIP_NOPS. Search + cls_ref_chain. - * 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. +Thu Apr 15 07:25:00 1993 Michael Meissner (meissner@osf.org) - * combine.c (subst): Don't change a conditional branch into a - conditional move. + * objc-act.c (build_objc_string): Use TREE_SET_CODE instead of + assigning to TREE_CODE. + (build_objc_string_object): Ditto. - * m88k.md (ext shift patterns): No longer needed. +Wed Apr 14 17:51:50 1993 Holger Teutsch (holger@hotbso.rhein-main.de) - * m88k.c (mostly_false_jump): Recognize a sequence properly. - -Mon Oct 12 22:31:37 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) + * clipper.h (FRAME_POINTER_REQUIRED, FRAME_POINTER_OFFSET): + Frame pointer is no longer required for leaf functions. + (OPTIMIZATION_OPTIONS): Define. - * pa.h (LEGITIMIZE_ADDRESS): Fix typo. + * clipper.c (clipper_frame_size): New function. + (output_function_pro/epilogue): Support omitting frame pointer. -Tue Oct 13 00:14:09 1992 H Lu (hlu@eecs.wsu.edu) + * clipper.md (cmpsi): Use `cmpq' for small immediate values. + (addsi3): Use `loada' for `reg1 = reg2 + immed'. - * 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. +Wed Apr 14 15:23:24 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * x-linux (cpp.a, linux.a, cc1.a, cc1plus.a, gcc.a): Targets deleted. - (LD, ALIBS, STANDARD_STARTFILE_PREFIX, GPLUSPLUS_INCLUDE_DIR): - Vars deleted. + * print-tree.c (print_node): Use (struct rtx_def *), not (rtx). - * i386linux.h: Delete NO_JUMPTABLE conditional and contents. - (GPLUSPLUS_INCLUDE_DIR): Defined. - (STARTFILE_SPEC): Changed. +Wed Apr 14 13:46:36 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * gen*.c: Include hconfig.h, not config.h. + * config/i860/i860.md (floatsidf2): Add missing arg to REAL_VALUE_ATOF. -Mon Oct 12 16:25:22 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-parse.in: Improve error message for sym undeclared at top level. - * configure.bat, vmsconfig.com: Make hconfig.h. +Wed Apr 14 12:06:08 1993 Tom Wood (wood@next.com) - * vax.h (PRINT_OPERAND): Detect `double' constants by DFmode, - since VOIDmode means an integer. + * c-lang.c, objc-act.c (maybe_objc_comptypes): Return 0 + (incompatible) rather than 2 (similar enough) as the default. + This was an inadvertent change in the Objective-C merge. - * 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. + * objc-act.c (get_class_reference): Call add_class_reference for + the GNU runtimes. - * fixinc.svr4: Delete excess fi in fixing stat.h. +Wed Apr 14 03:49:21 CDT 1993 Paul Burchard (burchard@geom.umn.edu) -Mon Oct 12 08:10:37 1992 James Van Artsdalen (jrv@goldman.gnu.ai.mit.edu) + * objc/Object.h, objc/Object.m, (-awake); + objc/archive.c (__objc_finish_read_root_object): + Corrected name of method -awake: to -awake for compatibility. - * Makefile.in (install-fixincludes): Only delete an existing - syslimits.h if we install limits.h over it. +Wed Apr 14 10:58:29 1993 Kresten Krab Thorup (krab@xiv) - * i386.h (PRINT_REG): Undo Oct 11 change. - (DEBUG_PRINT_REG): New macro, used from print-rtl.c. + * objc/Object.m, objc/Object.h (+streamVersion:): New method. + * objc/archive.c (objc_get_stream_class_version): New function. - * conditions.h (CC_NOT_SIGNED): New macro. - * final.c (alter_cond): If CC_NOT_SIGNED, convert signed - conditions to unsigned. +Tue Apr 13 17:23:22 1993 Ron Guilmette (rfg at netcom.com) - * i386.md (cmpstrM patterns): Compare strings of unsigned chars, - not strings of signed chars. + * c-decl.c (pop_label_level, combine_parm_decls): Correct args + in error calls. + * c-typeck.c (error_init, pedwarn_init): Cast alloca result to char *. + * calls.c (expand_call): Last arg of emit_stack_save is NULL_RTX. + (store_one_arg): Fourth arg to emit_push_insn is NULL_RTX. + * collect2.c (main, scan_prog_file): Don't call signal on signal + names that aren't defined. + * dbxout.c (dbxout_symbol): Last arg to eliminate_regs is NULL_RTX. + * fold-const.c (size_int): NUMBER is unsigned so don't test + for negative. + (optimize_bit_field_compare, all_ones_mask_p): Add missing + last arg to force_fit_type call. + * gcc.c (putenv): Make result type void. + (main): Don't call signal for undefined signal names. + * genextract.c (main): Remove extra arg to printf call. + * print-tree.c (print_node_brief, print_node): Properly cast + arg when printing ints or rtx. + * rtl.h, tree.h (xmalloc): Don't use prototype for now. + * sched.c (sched_analyze_1): Extra arg in anti_dependence call. + * toplev.c (main): Don't call signal for undefined signal names. + * varasm.c (make_var_volatile): Return type is void. + (assemble_string): First arg is not pointer to unsigned. + * sparc.h (LEGITIMIZE_ADDRESS): Last arg to force_operand is NULL_RTX. + * sparc.md (movXX): Third arg to emit_move_sequence is NULL_RTX. + (movsi): Add missing return after abort. -Mon Oct 12 06:31:13 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Tue Apr 13 14:09:00 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * combine.c (try_combine): Save DEST of NI2PAT before calling - recog_for_combine, which might make it a PARALLEL. + * c-typeck.c (digest_init): Don't call default_conversion before + convert_for_assignment. + (parser_build_binary_op): Make NOP_EXPR, not NON_LVALUE_EXPR. - * emit-rtl.c (gen_lowpart_common): Allow MODE_PARTIAL_INT where - MODE_INT is allowed. + * dbxout.c (dbxout_type): Re-enable debugging output for anonymous + structures in C++. - * combine.c (try_combine): Properly call single_set when validating - the result of a define_split. +Tue Apr 13 08:44:55 1993 Kresten Krab Thorup (krab@iesd.auc.dk) -Mon Oct 12 00:24:29 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * objc-act.c, toplev.c (-Wprotocol): added + * objc-act.c (flag_warn_protocol): New variable + (check_methods_accessible): New function + (check_protocol): Use check_methods or check_methods_accessible + depending on flag_warn_protocol to check protocol conformance. - * calls.c (calls_alloca): Don't look within DECL_INITIAL if it's 0. + * objc-act.c (start_class): For class implementations Assign + SUPER_CLASS_NAME from interface specification if not present. - * varasm.c (simplify_subtraction): New function. - * rtl.h (simplify_subtraction): Declared. - * final.c (output_addr_const): Call it. +Tue Apr 13 06:48:20 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * print-rtl.c (DEBUG_PRINT_REG): Renamed from PRINT_REG. - (print_rtx): Use DEBUG_PRINT_REG. + * alpha.md (sminsf, smindf, smaxsf, smaxdf): Should be minsf, etc. -Sun Oct 11 16:27:53 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu.edu) + * genattrtab.c (clear_struct_flag): Add void return type defn. + (count_subs_rtx): Add int return type and add definition. + (simplify_test_exp): Delete debugging junk. + (do_nothing): Delete. - * genrecog.c (merge_trees): When splitting, remember to clear DUPNO - in addition to the other things we can test. + * tree.def (QUAL_UNION_TYPE): New tree code. + * tree.h (DECL_QUALIFIER): New access macro for decl.initial. + * calls.c, dbxout.c, dwarfout.c, expr.c, function.c, print-tree.c: + Treat QUAL_UNION_TYPE like UNION_TYPE when seeing if aggregate. + * sdbout.c, stmt.c, varasm.c: Likewise. + * expr.c (get_inner_reference): Don't blow up if a FIELD_DECL + hasn't been filled in. + (expand_expr, case COMPONENT_REF): Likewise. + * stor-layout.c (layout_union): Handle QUAL_UNION_TYPE. + (layout_type): Call layout_union for QUAL_UNION_TYPE and + treat it like UNION_TYPE elsewhere. - * recog.c (general_operand, immediate_operand, const_double_operand): - Allow CONST_INT with MODE_PARTIAL_INT. - (nonmemory_operand): Likewise. +Tue Apr 13 06:08:16 1993 Paul Eggert (eggert@twinsun.com) -Sun Oct 11 07:53:39 1992 James Van Artsdalen (james at bigtex.cactus.org) + * fold-const.c (div_and_round_double): Don't mix HOST_WIDE_INT * and + unsigned HOST_WIDE_INT * parameters; some compilers complain. - * xm-i38v4.h,xm-aix386.h (USE_C_ALLOCA): New macro. Define if not - using GNU C's builtin alloca. +Mon Apr 12 22:14:03 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - * i386.c (notice_update_cc): Only set CC_IN_80387 for float compares. + * objc/list.h, objc/runtime.h: Removed declarations of library + functions. objc/list.h, objc/objc.h, objc/objc-api.h, + objc/runtime.h, Object.m, Protocol.m: Changed to double quote + includes. Removed includes of stddef.h, objc-archive.h and + stdlib.h. - * i386.h (PRINT_REG): Make register name arrays static within this - macro. + * objc/objc-archive.h: File deleted. Contents embedded in objc-api.h + * objc/objc-archive.c: File renamed to archive.c + * objc/objc-class.c: File renamed to class.c + * objc/objc-init.c: File renamed to init.c + * objc/objc-misc.c: File renamed to misc.c + * objc/objc-msg.c: File renamed to sendmsg.c + * objc/objc-object.c: File renamed to objects.c + * objc/objc-sel.c: File renamed to selector.c + * objc/Makefile (OBJC_H, OBJC_O): Updated accordingly -Sun Oct 11 01:41:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Apr 12 22:05:58 1993 Tom Wood (wood@next.com) - * jump.c (jump_optimize): Don't optimize jumps to store-flag insns - when BLKmode values are being compared. + * Makefile.in (objc-act.o): Add dependencies. -Sat Oct 10 16:51:08 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Apr 12 20:52:00 1993 Kresten Krab Thorup (krab@spiff.gnu.ai.mit.edu) - * 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. + * objc-act.c (_OBJC_SELECTOR_REFERENCES_decl): Variable renamed to + _OBJC_SELECTOR_TABLE_decl. Name of selector table renamed from + "_OBJC_SELECTOR_REFERENCES" to "_OBJC_SELECTOR_TABLE" to avoid + conflict with NeXTSTEP linker. -Sat Oct 10 02:27:14 1992 James Van Artsdalen (james at bigtex.cactus.org) + * Makefile.in (stmp-int-hdrs): Added dependency objc-headers. + (objc-headers): New target. - * i386sco.h (TARGET_DEFAULT): New macro - don't make TARGET_IEEE_FP - default for SCO. + * objc/Makefile (_forward, fflags): Made targets error prone. + (objc-msg.o, _forward): Use explicit path instead of $<. -Sat Oct 10 04:52:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Apr 12 19:49:55 1993 Tom Wood (wood@next.com) - * 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. + * objc-act.h (CLASS_PROTOCOL_LIST, PROTOCOL_LIST, + PROTOCOL_FORWARD_DECL, TYPE_PROTOCOL_LIST): Rearrange use of type + members to avoid use of noncopied_parts. + * objc-act.c (get_static_reference, get_objcect_reference, + start_protocol): Make a tree vector for new protocol types. + (start_class): The tree vector for class types is longer. -Fri Oct 9 18:16:18 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) + * m68k/next.h (ASM_OUTPUT_FLOAT_OPERAND): Use CODE. - * cp-decl.c (duplicate_decls): Only find out if olddecl is a - friend after we know it's not a TREE_LIST. -Fri Oct 9 18:10:19 1992 Jim Wilson (wilson@geech.gnu.ai.mit.edu) +Mon Apr 12 15:46:21 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * sparc.c (sparc_type_code): Return reasonable result for COMPLEX_TYPE. + * Makefile.in (install-common): Delete $(bindir)/$(target)-gcc + before trying to install it. -Fri Oct 9 14:33:26 1992 Tom Wood (wood@dg-rtp.dg.com) + * i960.h (CONSTANT_ALIGNMENT): Only increase alignment of string + constants. - * 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. + * gcc.c (library_prefix): Delete variable. + (process_command): Delete uses of library_prefix. + (do_spec_1, D case): Delete use of library_prefix. - * m88k.md (return): Always available once reload has completed. - (epilogue): Use a return insn rather than an indirect jump. + * explow.c (emit_stack_save): At end, call validize_mem when + inside sequence. -Fri Oct 9 12:36:54 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-typeck.c (internal_build_compound_expr): When pedantic, don't + simplify a COMPOUND_EXPR, so that it won't be mistaken for an + lvalue or an integer constant expression. + * fold-const.c (fold, COMPOUND_EXPR case): Likewise. - * spc-sol2.h (DBX_DEBUGGING_INFO): Defined. +Mon Apr 12 15:24:05 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * function.c (aggregate_value_p): Return 1 if regs we would use - are not all call-clobbered. + * rs6000.c (print_operand): Sort all cases in alphabetical order. + (print_operand, case 'G'): New case. + (output_epilog): Know that "GNU Obj-C" is the language string + for Objective-C. + * rs6000.md (adddi3/subdi3): Allow immediate constants. - * stmt.c (POPSTACK): Pop discarded elts off all the stacks as we go. + * configure (rs6000-ibm-aix*): Make AIX 3.2 the default. -Fri Oct 9 07:30:14 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * README.RS6000: Replaced file to discuss assembler for AIX 3.2 and + problems with NLS support. - * reorg.c (mark_target_live_regs): Fix bug in last change. + * combine.c (record_value_for_reg): Properly set SUBST_LOW_CUID + for last change; otherwise won't get best value. - * 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. +Mon Apr 12 13:23:59 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * 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. + * jump.c (jump_optimize, clause for `x=a; if (...) x=b;'): + Do this regardless of BRANCH_COST if HAVE_conditional_move + defined. - * jump.c (jump_optimize): Only use a REG as a target. +Mon Apr 12 17:15:43 1993 Kresten Krab Thorup (krab at xiv) - * alpha.c (alpha_builtin_saveregs): Don't use value of NREGS greater - than 6 when computing ARGSIZE. + * objc/hash.h: Deleted #include "mutext.h" + * objc/Object.m, objc/Object.h (-read:, -write:): added. + * objc/Object.m, objc-api.h: Stripped anything added by + kane@cc.purdue.edu which is not considered "minor changes". + * objc/objc.h: now "#include"s objc-archive.h + * objc/objc-msg.c (__objc_init_install_dtable, + __objc_install_dtable_for_class): Call to + __objc_resolve_class_links moved to the latter. + * objc/objc-msg.c (__objc_responds_to): Function added + * objc/objc-archive.c (objc_write_reference): added + +Sat Apr 10 18:07:46 1993 Kresten Krab Thorup (krab@iesd.auc.dk) + + * objc/Makefile: Cleaned up for inclusion in gcc distribution. + Target copy-headers added. + +Sun Apr 11 06:40:16 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * toplev.c (strip_off_ending): Add .atr for Ada. + + * reorg.c (add_to_delay_list): Clear any cached block information + for INSN. + + * stor-layout.c (layout_record): After copying the offsets of a + field that is an anonymous union to the offsets of the fields + of that union, zero the offset of the anonymous field in case + it is used to access the inner fields. + + * combine.c (make_compound_operation, case xSHIFTRT): + Clean up code so more readable and don't restrict to case + where C2 >= C1. + Pass correct (inner) code to recursive call. + (make_compound_operation, case SUBREG): Pass the code of our + operand to recursive call, not SUBREG, and make another recursive + call after calling force_to_mode. + +Sun Apr 11 11:16:48 1993 John F Carr (jfc@Athena.mit.edu) + + * combine.c (can_combine_p): Don't move an UNSPEC_VOLATILE. + +Sun Apr 11 01:32:39 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * expmed.c (expand_divmod): When adjusting op0 for trunc_div or + trunc_mod, using shifts (not branches), make a new pseudo for the + result. Don't use target for adjusted_op0. + +Sat Apr 10 10:57:09 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * xm-alpha.h (ONLY_INT_FIELDS): No longer needed. + + * alpha.c (alpha_sa_size): Need to save $26 if it is used or + if any other register is saved, but not just because a stack + space is needed. + (output_prolog): Add code to probe the stack if we allocate more + than 4096 bytes; required by chapter 7 (for threads). + Know when to save $26. + (output_epilog): Know when to restore $26. + * alpha.md (add/sub): Correct predicates and constraints for + sNaddX and addX insns; we can use sNsubX and subX to add small + negative constants. + Don't split addition to SP since we want to update it just once. + (beq, bne): Use subtract, not compare for ints; it's more efficient. + (define_split for comparisons): Always prefer add/sub if it will work. + (probe_stack, allocate_stack): New patterns. + +Fri Apr 9 20:03:38 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + + * c-typeck.c (free_tree_list): New variable. + (digest_init): Set free_tree_list. + (process_init_constructor): Use add_double to do arithmetic with + double integers instead of using fold/build to to arithmetic in + type of array index. Use free_tree_list when available instead of + generating a new tree_list. + +Fri Apr 9 19:05:31 1993 Tom Wood (wood@next.com) + + * c-lex.h (RID_IN, RID_OUT, RID_INOUT, RID_BYCOPY, RID_ONEWAY, + RID_ID): New Objective-C keywords. + * c-parse.gperf: Incorporate the Objective-C keywords from + objc-parse.gperf and add the new keywords. + * objc.gperf: Deleted. + * c-lex.c: Use -N when running gperf so the keyword table can be + accessed. Ran gperf and replaced that section. + (forget_protocol_qualifiers, remember_protocol_qualifiers): New + functions to modify the keyword table so that `in', `out', `inout', + `bycopy', and `oneway' are keywords only in protocol declarations. + (init_lex): Initialize the new keywords. Forget the protocol + qualifiers, and only make `id' a keyword when compiling an + Objective-C module. + (yylex): Treat @ as the start of an identifier (keyword), but + recognize Objective-C string constants (@"..."). + * c-parse.in: Add support for Objective-C protocols, classes, and + strings. + (initlist): Don't include labeled array elements in the + Objective-C grammer. These look like messages and preclude the + use of messages in initializers. + (recognize_objc_keyword): Deleted. The keywords are now in + c-parse.gperf. + * c-tree.h: Add declarations for functions in objc-act.c. + (doing_objc_thang): Declare here. + * c-decl.c (grokfield): Check for statically allocated objects. + * c-lang.c (is_class_name, maybe_objc_method_name, + build_objc_string): New functions. + (maybe_objc_comptypes): Add REFLEXIVE parameter. + * c-typeck.c (comptypes, convert_for_assignment): Check for + Objective-C protocols (non-reflexive use of maybe_objc_comptypes). + (comp_target_types): Rewrite so that maybe_objc_comptypes checks + protocols when processing an Objective-C module. For C modules, + the code path is unchanged. + (convert_for_assignment): Improve the error message for + incompatible message arguments. + * objc-act.h, objc-act.c: Add support for protocols, classes, and + strings. Update the runtime targets for the new GNU runtimes as + well as existing NeXT runtimes. + * toplev.c (lang_options): Add -fgnu-runtime and -fnext-runtime. + + * configure (i[34]86-next-*): New configuration. + * config.sub: Default to bsd if vendor is next. + * i386/next.h, i386/next.c, i386/x-next, i386/t-next, + i386/xm-next: New files. + * m68k/next.h, m68k/next.c: Move machine independent portions to + nextstep.h and nextstep.c. Update to NeXTSTEP 3.0 and 3.1. + * nextstep.h, nextstep.c: New files. + + Dumped Kresten's latest objc-runtime into the objc directory. + This needs work. + + * objc/core.c, objc/objc-proto.h, objc/object.h, objc/object.m, + objc/record.h: Deleted. + + Thu Apr 1 11:02:49 1993 Kresten Krab Thorup (krab at xiv) + + * objc/list.h (list_remove_head): added case for one element list. + * objc-init.c (__objc_exec_class): changed objc_get_class to + objc_lookup_class. (thanks to mccallum@cs.rochester.edu) + + Thu Mar 30 11:04:11 1993 Kresten Krab Thorup (krab at xiv) + + * Protocol.m, objc/Protocol.h: added + * objc.h (struct objc_protocol): added + * objc-init.c (__objc_init_protocols): added + (__objc_exec_class): added code for initializing protocols + * objc-class.c (__objc_class_add_protocols): added + + Thu Mar 25 17:09:40 1993 Kresten Krab Thorup (krab at xiv) + + * configure, Makefile.in: added + * Makefile.in (install): added + + Wed Mar 24 14:32:14 1993 Kresten Krab Thorup (krab at xiv) + + * objc/objc.h: Define objc_msg_lookup inline if optimization is + turned on. objc-actions.c changed accordingly. + + Tue Mar 23 18:02:04 1993 Kresten Krab Thorup (krab at eos) + + * sarray.c, objc/sarray.h: Structure of `sarray' changed + eliminating one indirection. This affects most functions. + + Mon Mar 29 1993 Christopher J. Kane (kane@rock-opera) + + * objc-object.c (_objc_object_alloc, _objc_object_dispose, + _objc_object_copy): moved to objc-misc.c, init to 0. + : deleted file. + + * Object.m (-perform:, -perform:with:, -perform:with:with:): check + return value of objc_msg_looup before using it. + (-name, -doesNotRecognize:, -error:): changed class_get_class_name + to object_get_class_name. + (+readFrom:): added check for class name length. + + * objc-api.m (class_create_instance, object_copy, object_dispose): + moved from objc-object.c, inline'd + + Sun Mar 28 1993 Christopher J. Kane (kane@prelude) + + * objc-api.h (several inline functions): rewritten to + use new CLS_ISCLASS and CLS_ISMETA macros. + (object_is_metaclass): added. + + * objc.h (_objc_alloc, _objc_dealloc, _objc_realloc, + _objc_copy, objc_trace): removed (not used). + (class_get_class_number, class_set_class_number): removed. + (CLS_ISCLASS, CLS_ISMETA): check for nil parameter. + + Sat Mar 27 1993 Christopher J. Kane (kane@toccata) + + * Object.m: method comments added. + (-transmuteClassTo:): removed error message. + (+error:): removed. + (-error:): added +error: functionality. + (+readFrom:): changed objc_get_class to objc_lookup_class. + (+readFrom:): added class_set_version. + + * objc-api.h (object_get_class, object_get_super_class, + object_get_meta_class, object_is_class, + object_is_instance, _objc_error): added. + + * objc.h (_objc_error): moved to objc-api.h. + + Fri Mar 26 1993 Christopher J. Kane (kane@toccata) + + * objc-api.h: function comments added. + (class_set_class_number, class_get_class_number, METHOD_NULL, + class_add_method_list, objc_msg_lookup_super): moved to + objc.h. + (objc_msg_sendv): removed. + + * Object.h, Object.m (-isMetaClass): added. + (+free, +name, +respondsTo:, +respondsTo:): removed. + (+class, +superClass, +metaClass): removed. + + * Object.m (-storeOn:): added variable class_encoding. + (+readFrom:): replaced constant '#' with _C_CLASS. + (-descriptionForMethod): changed descriptionForInstanceMethod: message + to class_get_instance_method. + (-class): now calls object_get_class. + (-superClass): now calls object_get_super_class. + (-metaClass): now calls object_get_meta_class. + + Wed Mar 24 1993 Christopher J. Kane (kane@rock-opera) + + * objc-api.h (METHOD_NULL): new define. + (method_get_argsize, method_get_imp, class_get_super_class, + class_get_meta_class, class_get_instance_size): new + functions. - * va-alpha.h (va_arg): Put parens around all uses of __VA arg. + * Object.m (-isStructuredLike:, CLASS, IMP2): removed. + (#include ): removed. + (includes , , ): replaced w/ extern decls. + (+poseAs:): implemented. + (-transmuteClassTo:): now returns previous class. + (-performv::): changed constant 96 to method_get_argsize. + (-perform:, -perform:with:, -perform:with:with:): removed casts. + (-storeOn:, +readFrom:): replaced "strlen("#")" with "1". + (-isKindOfClassNamed:, -isMemberOfClassNamed:, -error:, + +error:): check for NULL. + (many methods): changed pointer indirections to function calls. + (+instancesRespondTo:, -respondsTo:, -methodFor: + +instanceMethodFor:): simplified. -Thu Oct 8 18:45:00 1992 Arne H. Juul (arnej@lise.unit.no) + * Object.h, Object.m (-changeClass:): renamed to -transmuteClassTo:. + (+initialize, -isClass, -isInstance): added. - * Makefile.in (install-common-headers): added missing 'then' + * Object.h: redundant #defines, typedefs removed; comments modified. + (+readFrom:, -readFrom:, -storeOn:) added. + (-perform:with:): duplicate declaration removed. -Thu Oct 8 15:52:22 1992 Michael Meissner (meissner@osf.org) +Fri Apr 9 17:42:11 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * mips.h (SELECT_RTX_SECTION): Rename macro from obsolete name - SELECT_SECTION_MODE. + * config.sub: Accept i370, mvs. + For i370-ibm*, assume mvs by default. + Later, likewise, for i370-*. + For -mvs*, assume ibm as default vendor. - * 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. + * c-lex.c (yylex): Use MAP_CHARACTER if it's defined. - * i386.md (movsi): Remove obsolete half-pic code. - (call insns): For half-pic insns, force address into register. + * cccp.c (no_precomp): Make it 1 by default. -Thu Oct 8 14:22:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Apr 9 17:15:00 DJ Delorie (dj@ctron.com) - * Makefile.in (install-common-headers): Fix dir in chmods for assert.h. + * configure.bat: Updated to handle current Makefile + and new config/i386/go32.h. - * va-i860.h (__savereg, va_arg): Put uses of __va in parens. + * config/i386/go32.h: New file. - * vax.h (PRINT_OPERAND): Define new code, D. - * vax.md (movdi): Use D code for operand 1. + * config/i386/xm-dos.h: Define MKTEMP_EACH_FILE and + NO_PRECOMPILES. -Thu Oct 8 13:23:25 1992 Jeffrey A. Law (law@mole.gnu.ai.mit.edu) +Fri Apr 9 15:11:25 1993 Ian Lance Taylor (ian@cygnus.com) - * 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. + * Makefile.in: Install as $(target)-gcc, not gcc-$(target). -Thu Oct 8 06:41:15 1992 Tom Wood (wood@dg-rtp.dg.com) + * fixincludes: Avoid inserting #ifndefs in limits.h if they are + already there (solves HP/UX problem). - * function.c (assign_parms): Provide a safe value for - DECL_INCOMING_RTL in case of syntax errors. +Thu Apr 8 21:36:11 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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: Include hard-reg-set.h. + (reg_nonzero_bits): Should be unsigned. + (reg_last_set_{mode,nonzero_bits,sign_bit_copies}): New variables. + (combine_instructions): Allocate and initialized them. + (nonzero_bits, num_sign_bit_copies, case REG): Use new variables + to get information on regs we've seen before. + (record_value_for_reg): Set new variables for register being modified. + (record_dead_and_set_regs): Invalidate regs clobbered by CALL_INSN. + * Makefile.in (combine.o): Includes hard-reg-set.h. -Thu Oct 8 04:44:17 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * expr.c (do_store_flag, case GT_EXPR, LE_EXPR): Don't + confuse highest unsigned value with -1. - * 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. + * combine.c (force_to_mode, case xSHIFT): Don't narrow the + mode unless we can be sure that the shift count is smaller + than the size of the mode. - * cse.c (PATHLENGH): Change from 20 to 10 to speed up compilations. + * ns32k.h (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): + Add new register class GEN_AND_FLOAT_REGS. -Thu Oct 8 03:07:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Apr 8 18:42:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * fold-const.c (invert_truthvalue): Never alter ARG. + * Makefile.in (c-parse.y, objc-parse.y): Use sed, not awk. - * Makefile.in (TAGS): Exclude =*.[chy] from tags table. + * c-decl.c (finish_enum): Store layout results into variant types. - * c-lex.c (yylex): For floats, use REAL_VALUES_LESS to distinguish - underflow from overflow. Delete special case for 0.0. + * flow.c (mark_set_1): Clear reg_next_use at the proper place. -Wed Oct 7 16:25:19 1992 Tom Wood (wood@dg-rtp.dg.com) +Thu Apr 8 10:50:00 1993 Ian Lance Taylor (ian@cygnus.com) - * 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. + * Makefile.in (LIBGCC2_INCLUDES, LIBGCC2_DEPS): New variables, + with empty values, to be overriden by t-* files. + (LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES. + (libgcc2.ready): Depend on LIBGCC2_DEPS. + (stmp-int-hdrs): New target, all of old stmp-headers except + float.h. + (stmp-headers): Depend on stmp-int-hdrs, and just install float.h. - * 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 Apr 8 06:58:27 1993 Michael Meissner (meissner@osf.org) - * m88k.c (output_call): Use different syntax for GAS. + * c-tree.h (require_complete_type, lookup_name_current_level): Add + prototypes. - * m88k.h (READONLY_DATA_SECTION): Don't override svr4.h - (ASM_OUTPUT_CASE_LABEL): For svr4, use .rodata. + * tree.h (require_complete_type, lookup_name_current_level): Remove + prototypes, these are defined in c-typeck.c and c-decl.c, and + lookup_name_current_level is declared static in cp-decl.c. -Wed Oct 7 15:47:19 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Apr 7 14:37:41 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * flow.c (mark_set_1): Clear reg_next_use for all kinds of regs. -Wed Oct 7 12:40:00 PDT 1992 Ron Guilmette (rfg at netcom.com) +Wed Apr 7 09:18:20 1993 Michael Meissner (meissner@osf.org) - * 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. + * i386/osfrose.h (GO_IF_LEGITIMATE_ADDRESS): Allow -fpic again to + mean System V.4 semantics. + (CC1_SPEC): -fpic and -fPIC turn off OSF/rose shared library + support. - * 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. +Tue Apr 6 18:07:20 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-parse.in (component_decl_list): Do pedwarn for missing semicolon - after last field decl. + * c-decl.c (start_function): + Inhibit missing prototype warning for `main'. -Wed Oct 7 09:49:34 1992 Michael Meissner (meissner@osf.org) +Tue Apr 6 17:23:34 1993 Bill Cox (bill@cygnus.com) - * decstatn.h (LINK_SPEC): Don't define if it is already defined, - ie dec-osf1.h has included decstatn.h. + * tree.h (require_complete_type, lookup_name_current_level): Add + prototypes. - * dec-osf1.h (MACHINE_TYPE): Redefine to say DEC OSF/1 instead of - ultrix. +Tue Apr 6 15:09:42 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) -Wed Oct 7 03:50:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * va-sparc.h (va_arg): Cast argument pointer to (char *). - * configure (target_cpu_default): Var renamed from target_default. - Set it to 2, for a 486. Define TARGET_CPU_DEFAULT macro. + * unroll.c (loop_iterations): When computing comparison_value, use + reg_set_p to identify instructions that modify it. - * i386.h (TARGET_CPU_DEFAULT): Add default definition. - (TARGET_SWITCHES): Include that in the default. + * sparc.md (lshldi3, lshrdi3): Define. - * toplev.c (main): Recover correctly from invalid -Wid-clash option. + * Makefile.in (STAGESTUFF): Add insn-opinit.c, stamp-opinit, and + genopinit. - * cccp.c (finclude): Set fp->buf earlier, so it's freed on error. + * cccp.c (do_include): For missing header file, if -M, don't + output dependencies, and warning not error if no dependency is + needed. - * Makefile.in (install-common-headers): Avoid ! operator, for assert.h. + * c-common.c (decl_attributes, format case): Error if num_arg does + not point to a string type argument, or if first_arg_num not the + anonymous argument. -Tue Oct 6 20:21:21 1992 Jim Wilson (wilson@geech.gnu.ai.mit.edu) + * function.c (init_function_start): Always set + current_funtion_returns_pcc_struct if PCC_STATIC_STRUCT_RETURN defined. - * unroll.c (copy_loop_body, JUMP_INSN case): Delete abort in the - code for setting the JUMP_LABEL field. + * sparc.md (movdi): End by returning the last template; otherwise + we return junk for a template. -Tue Oct 6 19:29:19 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) + * README.ALTOS: Comment as possibly obsolete. + * README.ENCAP: Delete. + * install.texi: Delete references to COFF encapsulation. - * 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. + * tree.h: Add more prototypes. -Tue Oct 6 14:15:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Apr 6 12:01:17 1993 Michael Meissner (meissner@osf.org) - * configure: Correct conditional in setting build_xm_file. + * mips.h (MIPS_VERSION): Bump Meissner version number to 38. + (PUT_SDB_*): If -mgas, don't put # in front of directives. + (MIPS_DEFAULT_GVALUE): If not define, define as 8, which is the + default -G xx value to use. - * function.c (get_first_block_beg): New function. + * mips.c (override_options): Set mips_section_threshold to + MIPS_DEFAULT_GVLAUE if -G xx not used. - * 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. + * mips/osfrose.h (DWARF_DEBUGGING_INFO): Define. + (MIPS_DEFAULT_GVALUE): If mips assembler, the value is 8, + otherwise it is 0. -Tue Oct 6 12:05:35 1992 Jeffrey A. Law (law@mole.gnu.ai.mit.edu) + * i386/osfrose.h (DWARF_DEBUGGING_INFO): Define. + (PREFERRED_DEBUGGING_TYPE): Define as DBX_DEBUG. - * pa.md (memory function unit, load case): Loads take two cycles, - not one. +Mon Apr 5 20:47:44 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) -Tue Oct 6 07:56:05 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * Represent prologue and epilogue as RTL on the PA + * pa.md (prologue, epilogue): New define_expands. + (return_internal, call_profiler): New define_insns. + * pa.h (FIXED_REGISTERS): %r4 is no longer fixed. + (CALL_USED_REGISTERS): %r4 is no longer CALL_USED either. + (REG_ALLOC_ORDER): Move %r4 up in the allocation order. + (DELAY_SLOTS_FOR_EPILOGUE): Delete. + (ELIGIBLE_FOR_EPILOGUE_DELAY): Delete. + * pa.c (print_stw, print_ldw): Delete. + (eligible_for_epilogue_delay): Delete. + (hppa_epilogue_delay_slots): Delete. + (store_reg, load_reg, set_reg_plus_d): New helper functions. + (output_function_prologue): Only emit assembler pseudo-ops + to denote the start of a function. Place the correct + value into hp_profile_label_name if profiling. + (output_function_epilogue): Only emit assembler pseudo-ops + to deonte the end of a function. + (hppa_expand_prologue): New function to emit all prologue + code as RTL. + (hppa_expand_epilogue): Likewise for the epilogue. + (compute_frame_size): Update to account for using %r4 as an + allocatable register if the frame pointer was eliminated. - * pa.md (adddi3): Fix typo. +Mon Apr 5 06:57:35 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Oct 6 04:03:40 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * expr.c (expand_expr, case SAVE_EXPR): Pass promoted type to + store_expr. - * m68k.c (floating_exact_log2, standard_68881_constant_p): - (standard_sun_fpa_constant_p): Use REAL_VALUE_FROM_CONST_DOUBLE. - (print_operand): Likewise. +Mon Apr 5 03:26:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Oct 5 18:39:29 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) + * reload1.c (emit_reload_insns): Cast enum array index to int. - * tree.h (TREE_VIA_PROTECTED): Set protected_flag, not static_flag. + * expr.c (store_constructor): Properly compute size of array + when clearing the whole array. -Mon Oct 5 18:27:08 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Apr 5 02:54:54 1993 Per Bothner (bothner@hal.gnu.ai.mit.edu) - * Makefile.in ($(srcdir)/INSTALL): Add -D INSTALLONLY. + * c-decl.c (lookup_name_current_level): Make non-static. -Mon Oct 5 14:46:08 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) +Sun Apr 4 20:09:19 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * cp-parse.y (unary_expr): Use the `new' rule when looking for - something like `new(foo) char[10]'. + * pa.h (HARD_REGNO_MODE_OK): Do not accept integer modes + greater than 32 bits in 1.0 FP registers. + * pa.md (movdi patterns): Do not accept 1.0 FP registers. + (floatunsdisf, floatunsdidf expanders): Disable unless TARGET_SNAKE. + (floatdisf2, floatdidf2 patterns): Likewise. + (fix_truncdisf2, fix_truncdidf2): Likewise. - * cp-decl.c (grokparms): Don't call digest_init on default args. + * pa.md (dbra pattern): Extend to allow any 5 bit increment, + any comparison operator for the compare against zero, and + no longer require the REG_NONNEG note. -Mon Oct 5 02:21:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * pa.h (EXTRA_CONSTRAINT): Refine 'T' constraint to not accept + pseudos which did not get hard registers and to not use + short_memory_operand. + * pa.c (short_memory_operand): Delete. + (emit_move_sequence): Do not use short_memory_operand when testing + for secondary reloads for FP loads/stores. + * pa.md (movsi for FP regs): Delete special case patterns. + (movdi for FP regs): Likewise. + (movsi main recognizer): Allow fp<->memory copies. + (movdi main recognizer): Likewise. - * reload1.c (allocate_reload_reg): Always check for asm - on failure instead of simply aborting. +Sun Apr 4 18:56:25 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - * optabs.c (init_optabs): Use cabs as the only libcall for abs. + * pa.h (FUNCTION_OUTGOING_VALUE): Remove. + (FUNCTION_VALUE_REGNO_P): Return regs depend on TARGET_SNAKE. -Mon Oct 5 03:10:14 1992 Mark Eichin (eichin at tweedledumber.cygnus.com) +Sun Apr 4 17:47:43 1993 John F Carr (jfc@Athena.mit.edu) - * c++ (numargs): $# was used after set was called; instead, save - $# in $numargs and use that value instead. + * reorg.c (get_jump_flags): Check for LABEL == 0 before using + LABEL. -Sun Oct 4 12:34:00 PDT 1992 Ron Guilmette (rfg at netcom.com) +Sun Apr 4 16:38:04 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * mips-tfile.c: Change "illegal" to "invalid" in error messages. + (parse_stabs_common): Allow nonzero ignored fields in .stabs/.stabn. -Sun Oct 4 00:53:37 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * calls.c (expand_call) [PCC_STATIC_STRUCT_RETURN]: + Always set pcc_struct_value if aggregate_value_p returns 1. - * c-decl.c (shadow_tag_warned): Use pedwarn for useless keyword. + * Makefile.in (alloca.o): Delete -Demacs from command. - * c-lex.c (readescape): No warning if digits in \x are all 0's. +Sun Apr 4 11:19:07 PDT 1993 Ron Guilmette (rfg at netcom.com) -Sat Oct 3 14:37:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * dwarfout.c (type_attribute): Use the TYPE_MAIN_VARIANT of the + given type when calling `user_def_type_attribute'. - * optabs.c (expand_complex_abs): New function. - * expr.h (expand_complex_abs): Add declaration. +Sun Apr 4 07:57:18 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sat Oct 3 07:29:09 1992 Michael Meissner (meissner@osf.org) + * optabs.c: Include reload.h. + * Makefile.in (optabs.o): Show includes reload.h. - * configure (mips-dec-osf1): Use x-dec-osf1 instead of x-decstatn. + * alpha.c (output_prolog): Need LDGP even for static procedure. - * x-dec-osf1 (new file): Like x-decstatn, except that INSTALL is - installbsd -c. + * alpha.c (alpha_builtin_saveregs): Adjust for fact that + virtual_incoming_args_rtx includes pretend size. + * alpha.h (SETUP_INCOMING_VARARGS): Likewise. -Sat Oct 3 05:04:43 1992 Tom Wood (wood@dg-rtp.dg.com) + * alpha.h (LINK_SPEC): Don't pass -O2 to ld; it seems to be broken. - * toplev.c (rest_of_decl_compilation): Don't call - dwarfout_file_scope_decl as this causes duplicates. + * reorg.c (rare_destination): New function. + (mostly_true_jump): Refine to use more info about destination + and fallthrough; now returns -1 for very unlikely branches. + (fill_eager_delay_slots, relax_delay_slots): Allow -1 return + from mostly_true_jump. -Sat Oct 3 01:35:23 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sun Apr 4 03:09:23 1993 Richard Stallman (rms@churchy.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. + * gstdarg.h [__svr4__]: Test only _VA_LIST_ to avoid dup typedef. + (This used to be if __SVR4_2__.) - * rtl.h (gen_realpart, gen_imagpart): Declared. + * config/m68k/m68k.c (floating_exact_log2): Initialize r1. -Fri Oct 2 20:03:53 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Apr 3 20:01:05 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * emit-rtl.c (gen_realpart, gen_imagpart): New functions. - * optabs.c (expand_unop, expand_binop): Use them. - * expr.c (expand_expr): Use them. + * pa.c (hppa_legitimize_address): Use Pmode consistently. - * cccp.c (main): Handle -U before -D (and -A). +Sat Apr 3 17:35:11 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * reload1.c (emit_reload_insns): Don't update the status of a + register from an input reload if it also has an output reload. - * 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. + * expr.c (store_expr): Call size_binop instead of doing the + same thing with fold and build. - * expr.c (expand_expr): - For ABS_EXPR, give expand_unop the operand's mode. + * combine.c (simplify_comparison, case PLUS): Generalize + simplification of (eq (plus A B) C). + (simplify_comparison, case MINUS): Add corresponding cases. -Fri Oct 2 14:58:06 PDT 1992 Ron Guilmette (rfg at netcom.com) +Fri Apr 2 19:11:46 1993 Richard Stallman (rms@geech.gnu.ai.mit.edu) - * 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. + * c-parse.in (expr_no_commas, from ASSIGN op): + Store ERROR_MARK as the original code. + +Fri Apr 2 07:49:03 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * reload1.c (reload_reg_used_for_inherit): New variable. + (clear_reload_reg_in_use): New function. + (allocate_reload_reg): Don't consider an inherited register as + one that we should share in the first pass. + Don't mark a register in use until we are sure it will fit. + (choose_reload_regs): Mark spill regs used for inheriting. + When we decide we can no longer use a register, show it isn't + being used. + + * genopinit (optabs): Fix typo in name for "fix" pattern. + +Thu Apr 1 21:24:04 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + Cygnus<->FSF merge. -Thu Oct 1 17:23:08 1992 Michael Meissner (meissner@osf.org) + Thu Apr 1 17:20:05 1993 Mike Stump (mrs@sphagnum.cygnus.com) - * 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. + * cp-decl.c (start_method): Never allow circularities in + TREE_CHAINs, as otherwise the compiler will core dump. This happens + when a method is redeclared improperly at leat. - * mips-bsd.h (CPP_PREDEFINES): Add single underscore in front of - each of the defines, for RISC-OS 5.0 compatibility. + Thu Apr 1 12:06:03 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * mips-sysv.h (CPP_PREDEFINES): Add single underscore in front of - each of the defines, for RISC-OS 5.0 compatibility. + * cp-typeck.c (convert_for_assignment): Check if `rhs' is an + error_mark_node before looking to see if it's of OFFSET_TYPE. - * mips-svr4.h (CPP_PREDEFINES): Add single underscore in front of - each of the defines, for RISC-OS 5.0 compatibility. + * cp-decl.c (grokvardecl): Don't use declarator unless it's non-null + when looking for a redefinition. - * mips.h (CPP_PREDEFINES): Add single underscore in front of each - of the defines, for RISC-OS 5.0 compatibility. + * cp-typeck.c (convert_for_initialization): Check if `rhs' is a + TREE_LIST before looking for its value. - * mips.c (override_options): Only call setvbuf to make stderr line - buffered for -mstats on Ultrix, and OSF/1. + * cp-init.c (expand_default_init): Don't clear DECL_REGISTER. -Thu Oct 1 15:18:55 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + Wed Mar 31 17:57:50 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * 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. + * cp-spew.c (yylex, case IDENTIFIER): If identifier_typedecl_value + returns a NULL_TREE, then set `lastiddecl' to be `trrr'. + * cp-lex.c (identifier_typedecl_value): Instead of internal error 62 + when we don't have a match for `type', return a NULL_TREE since our + callers will know what to do in that case. -Thu Oct 1 13:36:52 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-tree.h (IDENTIFIER_TYPEDECL_VALUE): Deleted. + (identifier_typedecl_value): Deleted first prototype, kept second. + * cp-tree.c (list_hash_lookup_or_cons): Call the function for + identifier_typedecl_value, don't use the macro. + * cp-spew.c (yylex): Likewise. - * cccp.c (rescan): If traditional, recognize # only at bol. + Wed Mar 31 14:43:50 1993 Mike Stump (mrs@cygnus.com) - * expr.c (expand_expr): Just return the lowpart or highpart. + * cp-cvt.c (convert_from_reference): Make sure we set + TREE_SIDE_EFFECTS if we need to. Cures duplicate evaluations in + things like: foo.mem(g++) = class_c; where foo.mem returns a + reference to a class object. - * configure (i386-*-linux, i486-*-linux): New alternatives. - * i386linux.h, i486linux.h, xm-linux.h: New files. + Wed Mar 31 13:32:38 1993 Mike Stump (mrs@cygnus.com) - * optabs.c (expand_unop): Handle complex negate and abs val. - (init_optabs): Set up libcalls for complex abs. - (init_complex_libcalls): New function. + * cp-method.c (report_type_mismatch): Arguments are numbered + starting from 1 now. -Thu Oct 1 22:58:45 1992 Eric Youngdale (youngdale@v6550d.nrl.navy.mil) + Tue Mar 30 17:21:18 1993 Mike Stump (mrs@cygnus.com) - * make-cc1.com: Extract line containing "#define YYEMPTY" from - cp-parse.c, and append to cp-parse.h (a la Makefile.in). + * cp-decl.c (grokfndecl): When re-using an old decl in place of a + new decl, make sure to wipe out the DECL_CHAIN slot, as otherwise + this creates a circularity, causing an infinite loop in the compiler + later. - * cccp.c (main) [VMS]: Use .obj, not .o, in dependencies output. + Tue Mar 30 14:14:53 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Thu Oct 1 17:15:49 1992 Chip Salzenberg (chip@tct.com) + * cp-decl2.c (check_classfn): Say which class when giving an error + about arglist mismatches or missing members. - * 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. + * cp-decl.c (grokdeclarator): For class-local typedefs, call pushtag + to make sure the identifier is in scope properly. -Thu Oct 1 13:07:21 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) + Mon Mar 29 18:05:22 1993 Mike Stump (mrs@cygnus.com) - * 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. + lookup_fnfields hacking... Corrects some problems found with Thu + Mar 25 23:09:27 1993 vtable fixes. - * 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. + * cp-init.c (build_offset_ref): When looking for the component, + have lookup_fnfields do the ambiguity checking, as we know it works + much better than anything here. + * cp-method.c (hack_identifier): If a name is ambiguous, go ahead + and report the error. + * cp-search.c (lookup_fnfields): Refine semantics and document + semantics with respect to ambiguities and returning error_mark_node. + Also, extend to be able to find all virtual functions. + * cp-search.c (get_virtuals_named_this): Remove unused second + argument. Arrange for call to lookup_fnfields to find all virtual + functions, even if they are hidden. + * cp-search.c (get_first_matching_virtual): Removed unused second + argument to get_virtuals_named_this. - * pa.h (LEGITIMIZE_ADDRESS, SYMBOL_REF case): Emit a sequence - which will cause "addil" instructions to be emitted instead of - "ldil; add" sequences. + Mon Mar 29 16:42:58 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Thu Oct 1 01:09:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-method.c (dump_init): If the init value is an enum, then use + its tag in the error message, instead of its value. - * 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. + * cp-typeck.c (build_binary_op_nodefault): Delete spurious warning + about comparision between signed/unsigned (matches C front-end). - * explow.c (allocate_dynamic_stack_space): If STACK_DYNAMIC_OFFSET - or STACK_POINTER_OFFSET, always round address up to BIGGEST_ALIGNMENT. + Fri Mar 26 16:30:57 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * gstddef.h: If _ANSI_H_, undef _PTRDIFF_T_, _SIZE_T_, _WCHAR_T. + * cp-parse.y (GCC_ASM_KEYWORD): New token. + (asm_keyword): New rule. + (extdef, maybeasm, simple_stmt): Use the rule instead of ASM_KEYWORD. + (maybe_type_qual): Don't warn about use of asm. + * gplus.gperf (__asm, __asm__): Token is GCC_ASM_KEYWORD. + * cp-spew.c (init_spew): Add GCC_ASM_KEYWORD. - * 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. + * cp-typeck.c (build_unary_op): Fix a bug so errors about ++/-- on + invalid pointer types actually get emitted. Don't restrict it to + when PEDANTIC is set, and use type_as_string to say what type is + being operated on. - * cccp.c (do_include): Delete unreachable goto after '"' case. + Fri Mar 26 01:21:43 1993 Mike Stump (mrs@cygnus.com) -Thu Oct 1 16:57:22 1992 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + * cp-decl.c (grokdeclarator): Don't set TREE_PUBLIC for friends. - * 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. + Fri Mar 26 01:09:34 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * dpx2.ifile: New ld command file to support not using collect2. + * cp-decl.c (pushdecl): Give a pedwarn, not a regular warning, when + we shadow a formal parameter. -Wed Sep 30 17:08:32 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-init.c (expand_default_init): Get rid of spurious abort call. - * libgcc2.c (__eprintf): Do nothing if inhibit_eprintf is defined. + Thu Mar 25 23:09:27 1993 Mike Stump (mrs@cygnus.com) - * pbd.h, spc-sol2.h, tower.h (NO_UNDERSCORES): Deleted. + Major vtable re-vamp. - * Makefile.in (install-fixincludes): rm syslimits.h before installing. - Install it with cp. Add an else-part to the if that installs it. + * cp-call.c (build_method_call): Reword and improve error messages. + * cp-class.c (modify_vtable_entries), cp-class.c (finish_struct), + cp-init.c (init_vfields), cp-tree.c (virtual_member, virtual_offset), + cp-tree.h: Remove third argument to binfo_value, as it is unneeded. + * cp-class.c (finish_base_struct): Unshare base class binfos. + * cp-decl.c (finish_function): Fixup second argument to + build_virtual_init, so as to make it unambiguous. + * cp-init.c (build_virtual_init): Use second argument to get the + vtable, not the first, as the second is more specific. + * cp-search.c (is_subobject_of_p, hides, lookup_fnfields_here): New + routines. + * cp-seach.c (lookup_field, lookup_fnfields_1): Re-implement. The + new implementation allows for better ambiguity checking (10.1.1), + and implements most hiding (10p4). + * cp-tree.c (binfo_value): Re-implement. + * cp-typeck.c (build_component_ref): Propagate error_mark_nodes up. - * c-decl.c (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. +Thu Apr 1 19:38:53 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * c-decl.c (grokdeclarator): Don't warn of const or volatile function - in a system header file. + * reorg.c (redundant_insn_p): Stop searching for a redundant + insn if an INSN or JUMP_INSN with delayed effects is + encountered. - * sdbout.c: Don't use system syms.h on hpux. +Thu Apr 1 12:00:01 1993 Michael Meissner (meissner@osf.org) - * cccp.c (do_xifdef): Skip all kinds of whitespace, in bof test. + * real.c (toplevel): Add 'extern' keyword in forward declaration + of arrays without bounds to silence warnings from the MIPS + compiler. -Wed Sep 30 15:09:10 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * i386/osfrose.h (LONG_DOUBLE_TYPE_SIZE): Undef this to protect + against long double going to 80 bits until the OSF libraries are + ready to handle it. - * sparc.md (orcc peephole): Don't accept FP reg for operand 0. + * mips/mips.md (untyped_call): Rewrite code so that the MIPS + compiler will not issue statement not reached warning messages. -Wed Sep 30 00:47:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Apr 1 07:28:11 1993 James Van Artsdalen (james@bigtex.cactus.org) - * gstdarg.h, gvarargs.h: Use <...> to include va-*.h. + * expr.c (emit_push_insn, expand_assignment): Fix typo in last change. - * c-decl.c (start_struct): Push the obstacks. - Switch to permanent if at top level. - (finish_struct): Pop them. +Thu Apr 1 02:31:16 1993 Per Bothner (bothner@hal.gnu.ai.mit.edu) - * c-decl.c (store_parm_decls): If we have (erroneously) a prototype - and old-style parm decls, throw away the old-style parm decls. + * emit-rtl.c (init_emit): Clear sequence_stack. Otherwise, + if we're in a sequence when starting a nested function + expand_function_end () will end all the sequences. - * 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. +Thu Apr 1 02:11:10 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Sep 29 18:41:54 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * Makefile.in (LIB2FUNCS): Add _fixunsxfdi, _fixxfdi, _floatdixf, + _fixunsxfsi. - * unroll.c (find_splittable_givs): recog_memoized failure return - is -1 not 0. + * libgcc2.c (XFtype): Do define it, if LONG_DOUBLE_TYPE_SIZE == 96. + (__fixunsxfdi): New function, if LONG_DOUBLE_TYPE_SIZE == 96. + (__fixxfdi, __floatdixf, __fixunsxfsi): Likewise. -Tue Sep 29 22:19:48 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) +Wed Mar 31 20:05:19 1993 Michael Meissner (meissner@osf.org) - * config.sub (os handling): Recognize `linux' as a valid os. + * mips.h (CLASS_UNITS): Fix typo in previous change, patch from + ian@cygnus.com. -Tue Sep 29 16:05:47 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Mar 31 17:18:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * limitx.h: Use <...> in #include. + * toplev.c (compile_file): Call incomplete_decl_finalize_hook + only if nonzero. - * Makefile.in (ENQUIRE_CFLAGS): Remove -DNO_SC. +Wed Mar 31 00:59:50 1993 Gerald Baumgarnter (gb@cs.purdue.edu) -Tue Sep 29 10:14:27 1992 Richard Kenner (kenner@.vlsi1.ultra.nyu.edu) + * toplev.c (compile_file): Only call `*incomplete_decl_finalize_hook' + if the `decl' in question is a VAR_DECL. - * optabs.c (expand_binop): Convert X - C to X + (-C). +Wed Mar 31 15:27:41 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) -Mon Sep 28 22:44:17 1992 Jim Wilson (wilson@cygnus.com) + * pa.h (CONSTANT_ADDRESS_P): Fix typo in last change. - * reload.c (find_reloads_address): If tem != ad, then create a new - mem to hold it and store it back into memrefloc. +Wed Mar 31 15:11:12 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Mon Sep 28 10:44:55 1992 Chip Salzenberg (chip@tct.com) + * clipper/clipper.h, convex/convex.h, elxsi/elxsi.h, fx80/fx80.h, + gmicro/gmicro.h, h8300/h8300.h, i386/i386.h, i386/osfrose.h, + i860/i860.h, i960/i960.h, m68k/m68k.h, m88k/m88k.h, mips/mips.h, + pa/pa.h, pyr/pyr.h, romp/romp.h, rs6000/rs6000.h, sparc/sparc.h, + spur/spur.h, tahoe/tahoe.h, vax/vax.h, we32k/we32k.h + (CONSTANT_ADDRESS_P): Define with body of `CONSTANT_P', but leave + out CONST_DOUBLE. - * regclass.c: Fix comment syntax after #endif. +Wed Mar 31 11:28:21 1993 James Van Artsdalen (james@bigtex.cactus.org) -Mon Sep 28 17:15:22 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * reg-stack.c (emit_swap_insn): Don't link cc0 insns: emit swap + after cc0 user. - * gstdarg.h (va_arg, va_start): Explicitly cast to __gnuc_va_alist. +Wed Mar 31 07:00:45 1993 Richard Kenner (kenner@apple-gunkies.gnu.ai.mit.edu) -Mon Sep 28 17:12:04 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * expr.c (expand_expr, case ADDR_EXPR): Allow taking the + address of any object; used in call-by-reference situations. - * 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. + * tree.c (next_type_uid): Move definition to reasonable place. + (copy_node): Make new DECL_UID and TYPE_UID as comments say. - * unroll.c (find_splittable_givs): Pass mem_mode not mode to - memory_address_p. + * expr.c (emit_block_move, emit_push_insn, expand_assignment): + Size passed to memcpy/bcopy is SIZETYPE, not Pmode. - * 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. + * cse.c (simplify_binary_operation, case MULT): When testing for + floating-point equality, make sure we do so inside a region + protected from traps. + * i386.c (standard_80387_constant_p): Likewise. - * sparc.md (orcc peephole): Don't allow FP regs to match pattern. + * alpha.h (INITIAL_ELIMINATION_OFFSET): Subtract + current_function_pretend_args_size from OFFSET for AP. - * i960.md (indirect_jump): Use bx instead of b*, and accept any - address_operand instead of just a register operand. + * alpha.h (LINK_SPEC): New definition. - * i960.c (i960_round_tree): Correct conversion of bits to bytes to - round up to nearest byte. - (i960_round_align): Likewise. + * cse.c (insert_regs): If a REG already is in a class but not + in the mode we want, don't do anything to the classes. -Mon Sep 28 15:54:18 1992 Michael Meissner (meissner@osf.org) +Wed Mar 31 02:02:29 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * dec-osf1.h (LINK_SPEC): Fix typo. + * gvarargs.h [__svr4__]: Test only _VA_LIST_ to avoid dup typedef. + (This used to be if __SVR4_2__.) -Mon Sep 28 08:15:02 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * local-alloc.c (optimize_reg_copy_1): Don't increment n_calls + specially if P is a call_insn. - * rs6000.md (subsi3): Remove last change. - (allocate_stack): Go back to calling subsi3. + * convert.c (convert_to_real): Pass mode arg to REAL_VALUE_ATOF. -Mon Sep 28 02:41:32 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Mar 30 17:07:33 1993 Stephen L. Moshier (moshier@world.std.com) + + * real.c: This is a new C file to implement floating point + REAL_ARITHMETIC, target machine bit patterns for cross-compilation, + and REAL_VALUE_ATOF for decimal input constants in long double + XFmode as well as lower precisions. + + * real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE, REAL_VALUE_TO_TARGET_DOUBLE) + (REAL_VALUE_TO_TARGET_SINGLE): New macros. - * optabs.c (expand_binop): Use get_insns, not gen_sequence. + * real.h: If REAL_ARITHMETIC is defined or if LONG_DOUBLE_TYPE_SIZE + is 96, then define REAL_VALUE_ macros to invoke functions in real.c. - * c-typeck.c (build_unary_op): Address of nested fcn isn't constant. + * real.h (REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT): + New macros truncate toward zero to integer value but + return REAL_VALUE_TYPE. + + * real.h (REAL_VALUE_TO_DECIMAL): New macro defaults to + fprintf if no REAL_ARITHMETIC, otherwise uses real.c for + binary to decimal conversion. Use in ASM_OUTPUT_ macros. + + * Makefile.in (real.o): New target. + (OBJS): Add real.o. + + * c-lex.c (yylex): Convert real decimal constants directly + to the precision specified by the letter at the end of the number. + Pass mode arg to REAL_VALUE_ATOF to specify precision. + Move the "out of range of double" error check. - * libgcc2.c (__builtin_new): Avoid passing 0 to malloc. + * cp-lex.c (yylex): Redo converting float values to desired type. - * m68k.md (indirect_jump): Use address_operand as predicate. + * final.c (split_double) : Use REAL_VALUE macros to extract ints + from float mode CONST_DOUBLEs. + + * emit-rtl.c (operand_subword): Use REAL_VALUE_TO_TARGET_SINGLE + to convert to target float. + If REAL_ARITHMETIC is defined, let real.c handle incompatible host + and target floating point bit patterns. + (init_emit_once): Add machine_mode argument to REAL_VALUE_ATOF. + + * fold-const.c (real_value_truncate): If REAL_ARITHMETIC, replace + by routine of same name in real.c. + target_isinf, target_isnan, target_negative): Likewise. + (const_binop): Delete `register' from decls using REAL_VALUE_TYPE. + (fold_convert): Use REAL_VALUE_TO_INT. + + * rtl.c: Include real.h to get the definition of REAL_VALUE_TYPE. + + * varasm.c (assemble_real): Case TFmode and XFmode invoke + ASM_OUTPUT_LONG_DOUBLE. + + * optabs.c (expand_fix): Initialized REAL_VALUE_TYPE + confuses some compilers. - * 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. + * cse.c (simplify_binary_operation): real_value_truncate + returns REAL_VALUE_TYPE. + Convert rtx_code into tree_code for argument to REAL_ARITHMETIC. + + * cse.c (simplify_unary_operation): Use new ..._RNDZINT macros + instead of casting value of REAL_VALUE_FIX_TRUNCATE + and REAL_VALUE_UNSIGNED_FIX_TRUNCATE. + + * explow.c (rtx_to_tree_code): New function. + + * rtl.h (rtx_to_tree_code): Declare. + + * m68k/m68k.c (standard_68881_constant_p): Initialize REAL_VALUE_TYPE + binary constants from decimal values. Use REAL_VALUE_... macros. + (standard_sun_fpa_constant_p): Likewise. + (print_operand, floating_exact_log2): Use REAL_VALUE_... macros. + (init_68881_table): New function. + + * m68k/m68k.h (LONG_DOUBLE_TYPE_SIZE): Set to 96, for XFmode support. + (ASM_OUTPUT_LONG_DOUBLE_OPERAND) New macro. + (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): Use REAL_VALUE_... macros. + (ASM_OUTPUT_DOUBLE_OPERAND): Likewise. + (ASM_OUTPUT_FLOAT_OPERAND): Likewise. Also, new argument CODE. + (ASM_OUTPUT_FLOAT): Delete special def for CROSS_COMPILE. + (ASM_OUTPUT_LONG_DOUBLE): New macro. + (PRINT_OPERAND_EXTRACT_FLOAT): Definitions deleted. + (PRINT_OPERAND_PRINT_FLOAT): Definitions deleted. + + * m68k/m68k.md (movxf, tstxf, extendsfxf2, extenddfxf2): New patterns. + (truncxfdf2, truncxfsf2, floatsixf2, floathixf2, floatqixf2): Likewise. + (ftruncxf2, fixxfqi2, fixxfhi2, fixxfsi2): Likewise. + (addxf3, subxf3, mulxf3, divxf3, negxf2, absxf2, sqrtxf2): Likewise. + + * m68k/sun3.h (FUNCTION_VALUE): Use FUNCTION_VALUEX. + (FUNCTION_VALUEX): New macro. + * m68k/mot3300.h, m68k/news.h (LIBCALL_VALUE): Handle XFmode. + + * m68k/mot3300.h, m68k/tower-as.h: + (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): Use REAL_VALUE... macros. + (PRINT_OPERAND): Likewise. + (ASM_OUTPUT_LONG_DOUBLE): New definition. + * m68k/news.h (PRINT_OPERAND, ASM_OUTPUT_DOUBLE): + Use REAL_VALUE... macros. + * m68k/next.h, m68k/sun2o4.h, m68k/sun3.h, m68k/altos3068.h: + (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE) + (ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND): + Use REAL_VALUE... macros. + * m68k/sgs.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE) + (ASM_OUTPUT_DOUBLE_OPERAND): Use REAL_VALUE... macros. + (ASM_OUTPUT_LONG_DOUBLE): New definition. + (ASM_OUTPUT_FLOAT_OPERAND): New macro. + (PRINT_OPERAND_PRINT_FLOAT): Deleted. + + * m68k/3b1.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): + Use new REAL_VALUE... macros. + (ASM_OUTPUT_LONG_DOUBLE): New definition. + + * m68k/hp320.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT) + (PRINT_OPERAND_FLOAT, PRINT_OPERAND): Use new REAL_VALUE... macros. + (ASM_OUTPUT_LONG_DOUBLE): New macro. + + * m68k/crds.h (ASM_OUTPUT_DOUBLE, PRINT_OPERAND): + Use new REAL_VALUE... macros. + + * vax.h (PRINT_OPERAND, ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): + Use new REAL_VALUE... macros. + (CHECK_FLOAT_VALUE): Call check_float_value. + * vax.c (check_float_value): New function. + + * vaxv.h (ASM_OUTPUT_DOUBLE): Use new REAL_VALUE... macros. + + * alpha.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): + Use new REAL_VALUE... macros. + (REAL_ARITHMETIC): Defined. + +Tue Mar 30 17:07:33 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + + For Tege: + * pa.md (sminsi3, smaxsi3): Fix bugs in last addition. + +Tue Mar 30 16:52:15 1993 Michael Meissner (meissner@osf.org) + + * mips.h (MIPS_VERSION): Bump Meissner version to 37. + (CLASS_MAX_NREGS): Make floats in gp registers only use one + register, and only allocate one float register instead of a + register pair if -mfloat64 is used. + +Tue Mar 30 05:40:26 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * combine.c (record_dead_and_set_regs): Record death of all + hard regs when a multi-reg object in hard regs dies. + (move_deaths): Handle the case when we only have to move + part of a multi-register death note. + * rtlanal.c (find_regno_note): Find note that overlaps REGNO, + not just one that mentions REGNO explicitly. + + * reload.c (form_sum): Use mode of inputs when making new PLUS. + + * genopinit.c: New file. + * expr.h (extendtab, fixtab, fixtrunctab, floattab, movstr_optab): + New definitions. + * expr.c (movstr_optab): No longer static. + (init_expr_once): Don't initialize movstr_optab. + * optabs.c (extendtab, fixtab, fixtrunctab, floattab): Not static. + (init_extends, init_fixtab, init_floattab): Deleted. + (init_optabs): Move active stuff from above functions in. + Delete filling of optabs. + Call init_all_optabs. + * reload1.c (init_reload): Don't initialize optabs here. + * Makefile.in (OBJS): Add insn-opinit.o. + (insn-opinit.o, insn-opinit.c, stamp-opinit): New rules. + (genopinit, genopinit.o): Likewise. + + * reload1.c (emit_reload_insns): Properly track what was reloaded + into what register when what we reloaded was a hard register group. + +Mon Mar 29 17:35:04 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + + * sparc.md (movsi+2): Add f/f constraint case. + + * sched.c (schedule_block): Reset n_ready if schedule_select + removes all insns from ready list. + + * i960.h (FUNCTION_PROFILER): Call output_function_profiler. + (CALL_USED_REGISTERS): Add more comments about register usage. + * i960.c (i960_function_prologue): When profiling, don't use those + registers clobbered around an mcount call. + (output_function_profiler): New function. + +Mon Mar 29 13:57:28 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * c-iterate.c (collect_iterators): Cast tree code to int for indexing. + +Mon Mar 29 06:28:57 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * combine.c (num_sign_bit_copies, case PLUS, case MULT): + Replace occurrences of HOST_BITS_PER_INT with HOST_BITS_PER_WIDE_INT. + + * reload.c (secondary_memlocs_elim): Now one per mode per operand. + (get_secondary_mem, combine_reloads): Reflect changed var above. + (clear_secondary_mem): Use bzero. + + * genrecog.c: Add prototypes for all functions defined in file. + Change a few occurrences of RTX_CODE to enum rtx_code for consistency. + (merge_trees): Add casts of args to mybcopy. + (write_tree_1): Now static. + (fatal): Always called with one arg, so define that way. + + * reload.h: Add missing declarations for external functions + in reload.c, reload1.c, and caller-save.c. + (reload_strict_low, reload_needed_for_multiple, reload_needed_for): + Deleted. + (reload_opnum): New array. + (enum reload_type): Renamed from reload_when_needed and expanded + to include more reload types. + (reload_n_operands): New variable. + * reload.c: Add prototypes for all static functions and clean up + some definitions. + (struct decompose): Move to before function declarations. + (secondary_memlocs_elim): One per operand, not per mode. + (get_secondary_mem): Accept and use reload description (opnum + and type). + (push_reload): Accept and use new reload description instead of + old NEEDED_FOR. + Define two new macros: MERGEABLE_RELOADS and MERGE_TO_OTHER. + Use these macros to see if reloads can be merged and how to do it. + (transfer_replacements): New function. + (combine_reloads): Refine when we can combine reloads. + (find_reloads): Use new method of tracking what a reload is for. + When we make a CLOBBER insn, do so with DImode. + Merge cases of making optional reloads, avoid making output-only + optional reloads, refine when we may not make in-out optional reloads, + and make an optional reload for a pair of matching operands. + (find_reloads_toplev, find_reloads_address{,_1, part}): Accept and + use reload description. + (forget_volatility): Delete long-obsolete function. + * reload1.c: Add prototypes for static functions. + (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Include default definitions. + (reload): Count number of registers needed for insn using new + reload type information. + If mode of insn is DImode, don't change it. + Refine the way we handle conflict with the return value register. + Don't try to account for needs already covered by previously + spilled registers; instead, put them back in the front of + potential_reload_regs and let them be allocated again. + (order_regs_for_reload): Don't restrict regs explicitly used if + we have SMALL_REGISTER_CLASSES defined. + (reload_as_needed): Don't need to deactivate optional reloads + ever; if they inherit, it must have been safe. + Call merge_assigned_reloads if SMALL_REGISTER_CLASSES. + (reload_reg_used_*): Refine our tracking of reload reg usage + by defining more of these HARD_REG_SETs. + (mark_reload_reg_in_use, reload_reg_free_p): Rework to use new + method of describing where a reload register is used. + (reload_reg_free_before_p, reload_reg_reaches_end_p): Likewise. + (allocate_reload_reg): Pass new reload descriptions. + (choose_reload_regs): Likewise. + Save and restore the new HARD_REG_SETs. + Remove now-redundant code to prevent conflicts. + (merge_assigned_reloads): New function. + (emit_reload_insns): Output each reload type into its own + sequence, then output the sequences in the proper order. + Put our output reloads after a CLOBBER made by find_reloads. + Pass ALL_REGS to find_equiv_regs; nothing special about + GENERAL_REGS. + Don't use an old equivalence if doing so would be more expensive. + Clean up tracking of values still in reload regs using reload + description info to see if the reload reaches the end of the insn. + (gen_input_reload): Pass reload description and emit insns to end of + current sequence. + (inc_for_reload): Return void; no longer need INSN as operand. + Emit insns to end of current sequence. + +Mon Mar 29 02:59:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * expr.c (expand_expr, case MAX_EXPR/MIN_EXPR): If mode is + multiword int, use do_jump_by_parts_greater_rtx to compare efficiently. + (do_jump_by_parts_greater_rtx): New function. + +Sun Mar 28 20:26:11 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * calls.c (expand_call): Always allocate TARGET in mode of + result expression; VALREG might have been promoted. + Ensure TARGET is a REG when checking for promotion and verify + that we get back the mode we expect. + +Sun Mar 28 18:49:12 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * c-decl.c (store_parm_decls): Use pedwarn for "promoted arg doesn't + match prototype" warning. + + * expr.c (expand_expr): For COMPONENT_REF, don't force_reg op0 + if it is BLKmode. + +Sun Mar 28 16:25:59 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + + * pa.md (smin, umin, smax, umax): New patterns. + + * Support nullification of conditional branch delay slots on + the PA. + + * pa.md (cbranch define_delay): Enable nullification of + conditional branch delay slots (based upon branch direction). + (conditional branch patterns): Call output_cbranch to get the + correct output template. Long conditional branches with an + annulled delay slot have a length of 3. + (branch on bit patterns): Call output_bb to get the correct + output template. Long branches with an annulled delay slot have + a length of 3. + (decrement and branch pattern): Handle nullification of long + backward branches. Such branches have lengths of either 3 or 6. + + * pa.c (output_cbranch): New function. Given the operands of the + branch, possible nullification, length of the branch, possible branch + negation, and the branch insn itself, return the output template for + the desired conditional branch. + (output_bb): Likewise, but for branch on bit. + + * pa.h (toplevel): Declare output_bb. + + * genattr.c (main): Output ATTR_FLAG masks. + + * rtl.def (ATTR_FLAG): New RTL code. + + * genattrtab.c (write_eligible_delay): Add new variable + "flags" to the generated functions. All callers changed. + (check_attr_test): Handle ATTR_FLAG. + (clear_struct_flag): Likewise. + (count_sub_rtxs): Likewise. + (write_test_expr): Likewise. + + * reorg.c (ANNUL_IFTRUE_SLOTS, ANNUL_IFFALSE_SLOTS): Add new + flags variable to these dummy macros. + (get_jump_flags): New function. + (optimize_skip): Get jump flags information from the delay insn. + (steal_delay_list_from_target): Get jump flags information from the + delay insn and the label of the trial jump. + (steal_delay_list_from_fallthrough): Get jump flags information + from the delay insn. + (try_merge_delay_insns): Likewise. + (fill_simple_delay_slots): Likewise. + (fill_slots_from_thread): Likewise. + (make_return_insn): Likewise. -Sun Sep 27 13:06:19 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Sun Mar 28 00:36:04 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) - * 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. + * fixincludes: Move comments about big sed command outside the + command itself. - * alpha.h (FUNCTION_VALUE): Promote mode for return value. + * toplev.c (lang_options): Add -W{no-,}missing-braces. - * alpha.h (BYTE_LOADS_SIGN_EXTEND): Define. + * c-typeck.c (process_init_constructor, digest_init): + Check and set new static var partial_bracket_mentioned. - * 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. + * c-lex.c: Updated for recent change in c-parse.gperf. - * romp.h (EXTRA_CONSTRAINT, case 'Q'): Check for MEM instead of - calling memory_operand. - (SHIFT_COUNT_TRUNCATED): No longer define this. +Sat Mar 27 13:43:27 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) -Sat Sep 26 18:14:15 1992 Michael Meissner (meissner@osf.org) + * Trampoline support from Jukka Virtanen. + * pa.md (cacheflush): New pattern. + * pa.h (TRAMPOLINE_TEMPLATE): Define for the PA. + (TRAMPOLINE_SIZE): Define for the PA. + (INITIALIZE_TRAMPOLINE): Define for the PA. - * config.sub (os handling): Recognize riscos as an operating - system. +Sat Mar 27 08:22:25 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.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. + * function.c (expand_function_start): When evaluating sizes of + variable types, do so just for side-effects (the SAVE_EXPRs). + * stor-layout.c (variable_size): Likewise. - * 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. + * va-alpha.h: Major rework to agree with new calling sequence. + Should have been installed with Feb 10th changes. - * 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. + * rs6000.md (mov[qhs]i): Allow moving a special reg to itself. - * decrose.h (MACHINE_TYPE): Shorten verbage. +Sat Mar 27 03:13:46 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) - * i386rose.h (TARGET_VERSION): Print appropriate information. + * config/sparc/sparc.c (S_MODES, D_MODES, T_MODES): + Accept only those complex modes that are small enough. + Rewrite to make the expressions simpler. - * xm-mips.h (HAVE_VFPRINTF, HAVE_PUTENV): Define on DEC OSF/1. +Fri Mar 26 17:07:31 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * mips.c (siginfo): Print just current filename, and function - being compiled. + * c-tree.h, output.h: Use STDIO_PROTO for prototypes with FILE. - * mips-tfile.c (Size_t): Use long unsigned on OSF/1. - (toplevel): Don't define rindex and index on OSF/1. + * input.h: Add standard copyright notice. -Sat Sep 26 17:46:57 1992 Torbjorn Granlund (tege@jupiter.sics.se) + * caller-save.c: Add prototypes for static functions. + (choose_hard_reg_mode): Add missing parameters declaration. - * 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. + * a29k.md (multiply/multiplu/mulm/mulmu insns): These clobber Q. - * 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. +Fri Mar 26 06:23:31 1993 Tom Wood (wood@next.com) - * m68k.md (indirect_jump): Use %a0 for output, and p for constraint. + * i960.h (FUNCTION_VALUE_REGNO_P): Change to agree with + FUNCTION_VALUE. + * pyr.h, spur.h (INCOMING_REGNO, OUTGOING_REGNO): Define. + * arm.md (untyped_call, blockage): New patterns. -Sat Sep 26 02:42:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Mar 26 02:09:02 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) - * reload1.c (eliminate_regs_in_insn): Rerecognize if move insn - becomes a non-move. + * configure (sparc-tti-*, m68k-tti-*): Don't set use_collect2. - * Makefile.in (install-fixincludes): - Use - when making syslimits.h; fix if-statement syntax. +Fri Mar 26 01:05:43 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * jump.c (jump_optimize): When handling dispatch table that always - goes to the same place, verify previous insn exists. + Cygnus<->FSF merge. - * c-typeck.c (common_type): Renable code to merge qualifiers - given two pointers to compatible types. + Thu Mar 25 18:19:19 1993 Mike Stump (mrs@cygnus.com) -Sat Sep 26 12:02:38 PDT 1992 Ron Guilmette (rfg at netocm.com) + * cp-cvt.c (convert_to_reference), cp-init.c (expand_aggr_init_1): + Don't try to do more than one level of user defined conversions, + avoids an infinite loop. Uses LOOKUP_NO_CONVERSION. - * dwarfout.c (location_attribute): If DECL_RTL looks like (MEM pseudo), - treat that variable as optimized away. + Wed Mar 24 16:28:17 1993 Per Bothner (bothner@rtl.cygnus.com) -Fri Sep 25 19:48:46 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-call.c (build_method_call): Fix handling of foo->~Class(). - * 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. + Sat Mar 20 12:29:37 1993 Michael Tiemann (tiemann@rtl.cygnus.com) - * 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. + * cp-pt.c (tsubst): Don't get faked out by the fact that ctors and + dtors have the same method name and can have the same signature. -Fri Sep 25 19:56:35 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) + Fri Mar 19 15:58:34 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-search.c (compute_visibility): Don't mess with the context. + * cp-pt.c (tsubst): Call build_decl_overload for the new + instantiation. - * cp-decl.c (grokdeclarator): Return value from do_friend - properly; this shouldn't have gone in yet. + Thu Mar 18 19:09:39 1993 Ken Raeburn (raeburn@cygnus.com) -Fri Sep 25 02:23:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-decl2.c (flag_implement_inlines): New variable. + (lang_f_options): Recognize "implement-inlines". + * toplev.c (lang_options): Recognize -f[no-]implement-inlines. + * cp-decl.c (flag_implement_inlines): Declare it. + (start_function): If it's clear, functions declared inline are + external under `#pragma implementation'. - * c-typeck.c (initializer_constant_valid_p): Really use endtype. + Tue Mar 2 16:24:39 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cccp.c (do_include): "Concatenate" multiple "strings" in #include. + * cp-typeck.c (c_expand_return): If operand 0 is a TREE_LIST, then + make sure to use its value. - * vmsconfig.com: Renamed from configure.com. + Mon Mar 1 14:22:12 1993 Bill Cox (bill@rtl.cygnus.com) - * next.h (CPP_PREDEFINES): Define __ARCHITECTURE__. + * cp-decl.c (push_level_decl): Add cast to correct push_stack_level + parameter. - * dbxout.c (dbxout_symbol): For anonymous enum, output type anyway. + Mon Mar 1 10:19:38 1993 Mike Stump (mrs@cygnus.com) -Fri Sep 25 01:33:36 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * cp-lex.c (do_identifier): Improve wording on error message. - * 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. + Wed Feb 24 19:54:46 1993 Mike Stump (mrs@rtl.cygnus.com) - * sparc.md (nonlocal_goto): Force operands[0] to be a register. + * cp-typeck.c (commonparms, convert_for_assignment): Number + arguments starting at 1 in error messages to match the C front-end. - * va-sparc.h (va_arg): Add 3 more (void *) casts to avoid warnings - with -Wcast-align. + Wed Feb 24 14:55:54 1993 Mike Stump (mrs@cygnus.com) - * sparc.c (SF_MODES): Accept all single word or smaller integer - modes not just SImode. These are needed for fix/float conversions. + * cp-search.c (saw_first_vbase): Deleted. + cp-search.c (dfs_walk): When walking the class lattice, use the last + virtual base class seen, not the first. Fixes major problem + introduced on Tue Oct 6 17:54:09 1992 that prevents multi-level + virtual base classes from working. - * sched.c (sched_analyze_2, PRE_DEC case): Call sched_analyze_2 in - addition to sched_analyze_1. + Mon Feb 22 18:07:23 1993 Mike Stump (mrs@cygnus.com) - * va-i960.h (va_start): Must access anonymous arg as offset from - start of argument block. + * cp-search.c (get_base_distance_recursive): When searching, if the + object refers to the same object as before, but just found along a + different path, the object is not ambiguous. Fixes problem + introduced on Feb 16 22:47:29 1993. - * 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. + Wed Feb 17 15:12:12 1993 Mike Stump (mrs@cygnus.com) - * i960.c (i960_output_ldconst): Pass missing xoperands argument to - output_asm_insn call. + * cp-decl2.c (grok_function_init): Pure virtual descructor must be + defined, and calls to them generated. Now conforms with ANSI C++ + working paper dated September 17, 1992 12.4.5. - * a29k.md (movti): Split CONST_INTs into 4 moves, and force all - other constants to memory. + Tue Feb 16 22:47:29 1993 Mike Stump (mrs@cygnus.com) -Thu Sep 24 21:51:46 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) + Implement a new searching scheme for base classes and use it to + ensure only related virtual function slots are filled in by + modify_vtable_entries. Affects get_base_distance and get_binfo + answers. Cures InterViews doc problem. Solves the problem of + calling the wrong virtual function in the presence of multiple + inheritance. - Complete Cygnus<-->FSF merge. + * cp-search.c (get_binfo_recursive, get_base_distance_recursive): + New routines that use a depth first search strategy instead of + breadth first. + * cp-search.c (get_binfo): Re-implement, and use + get_binfo_recursive. + * cp-search.c (get_base_distance): Re-implement, and use + get_base_distance_recursive. - Thu Sep 24 17:05:27 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * cp-class.c (related_vslot): New routine to ensure that only + vfields that are related to the given base_fndecl are modified. + Relies upon new searching scheme for base classes. + * cp-class.c (modify_vtable_entries): Use related_vslot to ensure + that only slots related to the base virtual function are filled in. - * cp-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. + * cp-class.c (build_vtable, prepare_fresh_vtable, finish_struct), + cp-tree.h: Remove DECL_VPARENT. - Wed Sep 23 22:09:44 1992 Mike Stump (mrs@cygnus.com) + * cp-class.c (get_vtable_entry): Use unsigned when dealing with + DECL_VINDEXes. + * cp-class.c (finish_struct): Use get_vtable_entry instead of open + coding that routine here. - * 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. + Fri Feb 12 10:24:52 1993 Brendan Kehoe (brendan@cygnus.com) - Wed Sep 23 15:42:33 1992 Mike Stump (mrs@cygnus.com) + * cp-decl.c (sigsegv): Check if SIGIOT is defined first. Also check + for SIGILL and SIGABRT. + (init_decl_processing): Likewise; set up handlers for SIGILL and + SIGABRT. - Wed Sep 23 16:31:27 1992 Michael Meissner (meissner@osf.org) + Thu Feb 11 10:30:59 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-decl.c (duplicate_decls): Cast bcopy arguments to char * to - avoid warning on OSF/1. + * cp-type2.c (readonly_error): New arg `SOFT', to pedwarn instead of + error. + * cp-typeck.c, cp-cvt.c, cp-tree.h: Modify callers appropriately. - Wed Sep 23 11:36:44 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + Tue Feb 9 10:02:58 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * 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. + * cp-lex.c (real_yylex): When parsing an exponent, check for 'e' and + 'E' explicitly. - Tue Sep 1 22:55:59 1992 Paul Eggert (eggert@twinsun.com) + * cp-typeck.c (build_unary_op): Disallow taking the address of + the `main' fn. + * cp-decl.c (grokdeclarator): Check for the length of ORIGINAL_NAME + being 4, and that it starts with 'm', before calling strcmp. - * 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. + * cp-type2.c (readonly_warning_or_error): Rename to readonly_error, + make it now ARM compliant by emitting a hard error, instead of a + pedwarn. + * cp-cvt.c, cp-typeck.c: Change all callers. + * cp-tree.h (readonly_error): Rename prototype. - Tue Sep 15 20:26:18 1992 John F Carr (jfc at Athena.MIT.EDU) + Sun Jan 31 09:58:16 1993 Niklas Hallqvist (niklas at della.appli.se) + + * cp-typeck.c (build_modify_expr): Accept taking the address of a + temporary generated by an explicit constructor call, but generate + a warning. - * 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. + Mon Feb 8 10:45:56 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - Mon Sep 21 15:59:22 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * cp-decl.c (grokdeclarator): Demangle DECLARATOR if it's an operator. - * 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. +Thu Mar 25 11:38:02 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) - * 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. + * cccp.c (do_include): + For "..." case, leave fend pointing at terminating 0. + Distinct error msgs for empty file name and for bad syntax. - * cp-decl.c (grokdeclarator): Don't allow a member to be declared - extern. + * Makefile.in (USER_H): Add va-clipper.h. - * 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. +Thu Mar 25 07:01:14 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * calls.c (store_one_arg): Fix typo in previous change. - * cp-tree.c (layout_basetypes): Make record_align and const_size - unsigned. +Thu Mar 25 03:37:51 1993 Mike Stump (mrs@hal.gnu.ai.mit.edu) - Mon Sep 21 14:53:43 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * c-lang.c (lang_identify), cp-lex.c (lang_identify), objc-act.c + (lang_identify), tree.h (lang_identify): New routine. + * defaults.h (ASM_IDENTIFY_LANGUAGE) New macro used to identify + which front-end produced the object file. Ports that do not + define ASM_IDENTIFY_GCC will automatically get a reasonable + definition for ASM_IDENTIFY_LANGUAGE, ports that do define + ASM_IDENTIFY_GCC for any reason may want to define + ASM_IDENTIFY_LANGUAGE as done here. + * toplev.c (output_lang_identify): New routine to identify which + front-end produced the object file. + * toplev.c (compile_file): Use ASM_IDENTIFY_LANGUAGE if it exists. - * cp-tree.h (flag_no_ident): Add extern decl for cp-lex.c. +Wed Mar 24 17:53:11 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) - * 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. + * c-parse.gperf: Change __cimag__ to __imag__, __creal__ to __real__, + to void rejection by gperf. - * 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. +Tue Mar 23 18:43:14 1993 Holger Teutsch (holger@hotbso.rhein-main.de) - Sat Sep 19 14:53:31 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * clipper.md: Assign "fp" attribute to fp insns. Add DImode + insns for widening mul, shift and rotate. Remove 'decrement, test + and branch' combination patterns. They are not reloadable. - Sat Sep 19 11:37:11 1992 John F Carr (jfc at Athena.MIT.EDU) + * clipper.h (HARD_REGNO_MODE_OK): DImode regs must start on even + registers. - * cp-decl.c (finish_decl): Don't call - CLASSTYPE_DECLARED_EXCEPTION if TYPE is error_mark_node, to avoid - referencing a nonexistent field. + * gstdarg.h, gvarargs.h: Use va-clipper.h. - Fri Sep 18 14:06:06 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * config.sub: Default to clipper-intergraph if system is clix. + * configure (clipper-intergraph-clix*): New configuration. + * clipper.h, clipper.c, clipper.md: New files. + * x-clix, t-clix, xm-clix.h, clix.h: New files. - * 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. +Wed Mar 24 1993 18:54:51 Paul Eggert (eggert@twinsun.com) - * cp-decl.c (start_method): Make the error message about a - duplicated member a little more informative. + * fixincludes (memory.h): + Use proper ANSI syntax in `#endif __memory_h__'. - Fri Sep 18 12:28:13 1992 Brendan Kehoe (brendan at rtl.cygnus.com) +Wed Mar 24 12:52:40 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * cp-parse.y: Define YYDEBUG if SPEW_DEBUG is defined. - (debug_yytranslate): YYDEBUG will always be defined, no need to test. + * pa.md (sh[123]add): Collapse into a single pattern. + (sh[123]add for reload): Likewise. + * pa.c (shadd_operand): New function. + (print_operand): Handle '%O' for shadd patterns. - Fri Sep 18 10:46:19 1992 Brendan Kehoe (brendan@rtl.cygnus.com) +Wed Mar 24 08:03:31 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.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. + * rs6000.h (EXTRA_SECTION_FUNCTIONS, ASM_DECLARE_FUNCTION_NAME): + Don't output tab before .csect pseudo-op. -Thu Sep 24 18:03:07 1992 Michael Meissner (meissner@osf.org) +Wed Mar 24 02:01:14 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) - * 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. + * config/pyr/pyr.h (NO_DOT_IN_LABEL): Defined. - * mips.c (init_cumulative_args): Don't advance arg pointer if - function returns a structure. + * tree.c (stabilize_reference_1): For division and remainder, + make a save_expr. -Thu Sep 24 12:38:31 1992 Torbjorn Granlund (tege@wombat.gnu.ai.mit.edu) +Tue Mar 23 14:51:07 1993 Jim Wilson (wilson@geech.gnu.ai.mit.edu) - * 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. + * alpha.h, i386/sysv4.h, mips.h, rs6000.h (RETURN_IN_MEMORY): + Delete struct and union references. + * sparc.h (RETURN_IN_MEMORY): Update comment. + * h8300.h, 386bsd.h, linux.h, i386/mach.h, i386/osfrose.h, + i860/mach.h, i960.h, hp2bsd.h, hp3bsd.h, hp3bsd44.h, next.h, + sun3mach.h, m88k.h, ns32k/pc532-mach.h, pa-utahmach.h, pa1-utahmach.h, + rs6000/mach.h (DEFAULT_PCC_STRUCT_RETURN): Define to 0. + * toplev.c (DEFAULT_PCC_STRUCT_RETURN): Add default definition of 1. + (flag_pcc_struct_return): Default to DEFAULT_PCC_STRUCT_RETURN. + (f_options): Add -freg-struct-return flag. -Thu Sep 24 15:17:38 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Mar 23 07:43:18 1993 Tom Wood (wood@next.com) - * toplev.c (lang_options): Add Objc options. + * emit-rtl.c (push_topmost_sequence, pop_topmost_sequence): New + functions. + * expr.c (expand_builtin, BUILT_IN_SAVEREGS): Use these to put the + code at the start of the function, even when inside a sequence. - * configure.bat: Use xgcc, not gcc. + * tree.h (enum built_in_function): Add BUILT_IN_APPLY_ARGS, + BUILT_IN_APPLY, and BUILT_IN_RETURN. + * c-decl.c (init_decl_processing): Declare __builtin_apply_args, + __builtin_apply, and __builtin_return. + * function.h (struct function): Add apply_args_value field. + * expr.c (apply_args_value): New variable. + (init_expr, save_expr_status, restore_expr_status): Initialize, + save, and restore apply_args_value. + (expand_builtin): Implement new built-in functions. + (apply_args_mode, apply_result_mode): New variables. + (apply_args_size, apply_result_size, result_vector, + expand_builtin_apply_args, expand_builtin_apply, + expand_builtin_return): New functions. + (INCOMING_REGNO, OUTGOING_REGNO): Supply default definitions. + * sparc.h (INCOMING_REGNO, OUTGOING_REGNO): Define. + * sparc.md (untyped_call, untyped_return): New patterns. + * i386.h (APPLY_RESULT_SIZE): Define. + * i386.md (untyped_call, untyped_return): New patterns. + * m68k/isi.h, m68k/m68k.h, m68k/m68kv4.h, m68k/mot3300.h + (NEEDS_UNTYPED_CALL): Define. + * m68k.md, fx80.md, gmicro.md, i860,md, ns32k.md + (untyped_call, blockage): New patterns. + * mips.md (untyped_call): New pattern. + +Tue Mar 23 06:38:36 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * calls.c (store_one_arg): Use int_size_in_bytes and + expr_size when appropriate instead of size_in_bytes. + + * regclass.c (record_reg_classes): When an alternative requires + a match, but we do it with a copy into a register, that alternative + wins. + + * cse.c (CHEAP_REG): Add missing parens. + + * expr.h: Don't declare fns that use "tree" if tree.h not included. + (emit_call_1): Remove decl. + (promoted_input_arg): Add prototype. + (fix_lexical_addr): Remove duplicate decl. + (copy_function_value, expand_stmt_expr): Delete; no such functions. + * calls.c: Include gvarargs.h. + Add prototypes to forward declarations and declare static functions. + (emit_call_1): Now static. + (emit_library_call, emit_library_call_value): Move to here. + * expr.c: Don't include gvarargs.h. + (emit_library_call, emit_library_call_value): Delete from here. + * Makefile.in (expr.o): Doesn't include gvarargs.h. + (calls.o): Now includes gvarargs.h. + + * dbxout.c (dbxout_type): Use int_size_in_bytes instead of + size_in_bytes for consistency with other code. + + * calls.c (expand_call): Use expr_size instead of doing it ourself. + +Mon Mar 22 19:15:17 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) + + * function.c (fixup_var_refs_insns): Don't delete an insn copying + var to itself, if it's the end of a libcall group. + +Mon Mar 22 15:28:48 1993 Paul Eggert (eggert@twinsun.com) + + * fixincludes: Use `set x $y; shift', not `set - $y', to avoid + altering sh options. Fix `#endif foo' constructions. Clean up + all DONE files. + +Mon Mar 22 17:02:58 1993 Doug Evans (dje@canuck.cygnus.com) + + * expr.h (MUST_PASS_IN_STACK): Make machine parameter. -Thu Sep 24 06:30:47 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Mon Mar 22 01:38:41 1993 James Van Artsdalen (james at bigtex.cactus.org) - * c-lex.c (yylex, case '"'): Initialize arg pased to readescape. + * reload1.c (eliminate_regs): Eliminate regs within a CLOBBER. - * 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. + * emit-rtl.c (init_emit): Use INIT_EXPANDERS. - * reorg.c (mark_set_resources, case CC0): Set RES->CC if IN_SEST. + * i386.c (output_fix_trunc): Use MEMs in insn as stack temps. + No need to allocate & deallocate stack space on the fly. + + (clear_386_stack_locals): New function. + (assign_386_stack_local): New function. - * 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. + * i386.h (PREFERRED_RELOAD_CLASS): Only narrow MODE_FLOAT reloads + from ALL_REGS to GENERAL_REGS. + (PREFERRED_OUTPUT_RELOAD_CLASS): Deleted. -Thu Sep 24 02:36:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + (INIT_EXPANDERS): New macro. - * 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 + * i386.md (movsf,movdf): Use an input reload for MEM-MEM moves. + (extendsfdf2): Don't allow GENERAL_REGS in any operand. - * c-lex.c (readescape): New arg ignore_ptr. - (yylex): Pass new arg, handle result that comes back. + (truncdfsf2): Allocate a stack temp in expander. + Use that in the output function. + (fix_truncMN2,fixuns_truncMN2): Likewise. + Allocate scratch reg from Q_REGS. -Wed Sep 23 19:26:42 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Sun Mar 21 17:24:09 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * reload.c (find_reloads_address): Properly check for constant address. + * toplev.c (compile_file): If warning about a function + declared static but not defined, make the function extern. - * cse.c (simplify_unary_operation, case SIGN_EXTEND): Use - HOST_BITS_PER_WIDE_INT, not HOST_BITS_PER_INT. + * cccp.c (collect_expansion): Don't make # special in argless macro. - * fold-const.c (fold_convert): Add missing cast to HOST_WIDE_INT. + * toplev.c (incomplete_decl_finalize_hook): New variable. + (compile_file): Call incomplete_decl_finalize_hook. + * c-decl.c (init_decl_processing): Set that var. + (finish_incomplete_decl): New function. + (complete_array_type): Use 0 as default maxindex. + * tree.h (incomplete_decl_finalize_hook): Declared. - * 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. +Sun Mar 21 16:30:22 1993 Michael Meissner (meissner@osf.org) - * final.c (shorten_branches): Correctly access insn needing delay slot. + * t-osfrose (CONFIG2_H): Change include file name to osfrose.h. - * combine.c (significant_bits, num_sign_bit_copies): Handle SUBREGs - made for promoted variables. + * halfpic.h (prototype support): Fix recent changes for + prototypes, so it compiles again. - * reorg.c (fill_simple_delay_slots): Don't make copy of insn that - references CC0. + * configure (ns32k-encore-osf): Delete, last ns32k OSF/rose + machine turned off. - * 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". + * encrose.h, x-encrose, t-encrose: Delete, no longer used. - * alpha.c (alpha_gp_dead_after): Return 0 if not optimizing. +Sun Mar 21 16:20:04 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Sep 23 00:11:35 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * integrate.c (copy_rtx_and_substitute, case USE): + Don't remove a subreg if ORIG had one. - * gvarargs.h: Finish changing _ANSI_H to _ANSI_H_. +Sun Mar 21 01:50:07 1993 Pat Rankin (rankin@eql.caltech.edu) -Tue Sep 22 23:39:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-common.c: #include "obstack.h". + * config/vax/xm-vms.h [VAXC]: Work around stdio.h's FILE_TYPE. + * vmsconfig.com: When making tm.h from config/vax/vms.h, change + any #include "vax/*.h" directives to use native VMS file syntax. - * i386mach.h (perform_fixdfsi): Copy arg to memory variable. +Sat Mar 20 22:46:31 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) -Tue Sep 22 14:54:38 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * pa.h (INSN_SETS_ARE_DELAYED): Define for the PA. Sets and + clobbers that occur in millicode insns are delayed effects. + (INSN_REFERENCES_ARE_DELAYED): Likewise, but for operand references + occuring in millicode insns. + * reorg.c (mark_referenced_resources): Parameter + include_called_routine changed to include_delayed_effects. All + references changed. + (mark_set_resources): Likewise. + (insn_references_resource_p): Likewise. + (insn_sets_resource_p): Likewise. + (mark_referenced_resources, case INSN): Do not mark any resources + as referenced if we are not including delayed effects, and the + given insn has delayed effects. + (mark_set_resources): Likewise for resources which are set/clobbered. + (fill_simple_delay_slots): Include delayed effects for the delay insn + if we are searching after the delay insn for candiates. + (dbr_schedule): When initializing `end_of_function_needs' include + delayed effects. - * loop.c (basic_induction_var): Inside PLUS, when looking for promoted - var, make sure it's a REG. +Sat Mar 20 18:54:46 1993 Michael Meissner (meissner@osf.org) -Tue Sep 22 12:21:11 1992 Michael Meissner (meissner@osf.org) + * mips.h (TARGET_SWITCHES): Or in TARGET_CPU_DEFAULT for default + case. + (TARGET_CPU_DEFAULT): Default to 0. - * 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. +Sat Mar 20 14:52:26 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * mips.c (init_cumulative_args): Print types of fntype and the - return type if -mdebuge. + * pa.h (singlemove_string): Declare. - * 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. + * configure: Add support for 4.4BSD on hp300s. + * hp3bsd44.h, x-hp3bsd44.h: New files for 4.4BSD on hp300s - * 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. + * pa.md (conditional branch patterns): Clean up constraints. - * t-i386rose (EXTRA_OBJS): Define as halfpic.o. - (CONFIG2_H): Add $(srcdir)/halfpic.h. - (halfpic.o): Add dependencies. + * pa.md (shadd reload patterns): Clean up output templates. -Tue Sep 22 03:12:01 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Mar 20 11:23:15 1993 Torbjorn Granlund (tege@gnu.ai.mit.edu) - * 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. + * expmed.c (init_expmed): Fix typo in last change. -Mon Sep 21 12:22:24 1992 Jeffrey A. Law (law@mole.gnu.ai.mit.edu) +Sat Mar 20 07:11:54 1993 Richard Kenner (kenner@apple-gunkies.gnu.ai.mit.edu) - * reorg.c (mark_set_resources, case REG): A register is set iff - "in_dest" is nonzero. + * expr.c (get_inner_reference): Simplify code by initializing OFFSET + to integer_zero_node. + Do general index computation for ARRAY_REF and include lower bound + of domain in calculation. + (expand_expr, case ARRAY_REF): Include lower-bound in index + computation. -Mon Sep 21 14:16:10 1992 Torbjorn Granlund (tege@jupiter.sics.se) + * fold-const.c (fold, case PLUS_EXPR): Don't associate apart + a constant operand. - * combine.c (make_extraction): Make test whether to use AND or - {SIGN,ZERO}_EXTRACT depend on UNSIGNEDP. + * combine.c (make_compound_operation): Call recursively in the + cases where we find a simplification. + (make_compound_operation, case SUBREG): If the recursive call + changes the rtx code and this is an appropriate SUBREG, use + force_to_mode. -Mon Sep 21 08:26:55 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Sat Mar 20 03:16:52 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) - * 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. + * print-tree.c (print_node): Print the chain of a STRING_CST. - * reload1.c (reload): Print the needs to the dump file. + * c-lex.c (yylex): Copy the string value we get from __FUNCTION__. -Mon Sep 21 02:45:19 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Mar 19 21:06:41 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * function.c (put_var_into_stack): Check REG != 0 before dereference. + * expr.h: Correct partly nested comment. -Sun Sep 20 16:58:05 1992 Fred Fish (fnf at fishpond.cygnus.com) + From Bill Cox (bill@cygnus.com): + * cp-decl.c (push_level_decl): Add cast to correct push_stack_level + parameter. + * cse.c (cse_process_notes): Replace NULL_RTX with just zero. + * function.h, halfpic.h, integrate.h, loop.h, machmode.h, output.h, + recog.h, reload.h, stack.h: Add prototypes. + * genattr.c (gen_attr): Generate prototypes in header file. - * 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. + * xcoffout.h (DEBUG_SYMS_TEXT): Define. + * xcoffout.c (xcoffout_declare_function): Call dbxout_source_file + before emitting .function psuedo-op. -Sun Sep 20 21:18:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Mar 19 17:45:13 1993 Michael Meissner (meissner@osf.org) - * combine.c (subst): Set and compare extend_op with 0, not NULL. + * mips.h (MIPS_VERSION): Bump Meissner version to 36. + (TARGET macros): Move this section to be earlier than + ASM_FINAL_SPEC. + (ASM_FINAL_SPEC): If configured with --with-gnu-as or as a cross + compiler, do not run mips-tfile unless -mmips-as is used. - * 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. + * configure (target_cpu_default): Set to 16 when configuring a + MIPS using the GNU assembler. - * seq386.h (LPREFIX): Overridden as `.L'. - (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Likewise. +Fri Mar 19 06:27:34 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sun Sep 20 05:53:20 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * expmed.c (synth_mult): Don't try to make recursive call if + we would be shifting by a negative number. + (expand_mult): Don't negate VAL if it is negative. - * combine.c (try_combine): Always call set_significant on new - patterns, so don't call just in split case. + * cse.c (simplify_plus_minus): Count CONSTs coming in and going + out; we have simplified things if we have more CONSTs going out + even if we have the same number of total terms. - * combine.c (subst): Move sign extension inside arithmetic - when we have a constant computation inside another computation. + * expmed.c (zero_cost): New variable. + (init_expmed): Always pass some insn to recog. + Set shift_cost[0], shiftadd_cost[0] and shiftsub_cost[0] to + something reasonable. + Compute zero_cost. + (enum alg_code): Remove alg_none; add alg_zero and alg_m. + (struct algorithm): Rename field COEFF to LOG. + (synth_mult): Use new ops alg_zero and alg_m for multiplication by + zero and one, respectively. + Use MIN when helpful. + Be consistent and don't test cost before recursive call. + Don't special-case shift counts of zero; already handled elsewhere. + (expand_mult): First operation is always alg_zero or alg_m; + remaining operations can't be one of those. + Use proper subtargets for computations. + Remove special-cases for shift counts of zero. + Track value computed so far and make REG_EQUAL notes. - * 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. +Fri Mar 19 01:37:54 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) - * 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. + * c-typeck.c (digest_init): Typo in last change. + (initializer_constant_valid_p): Handle COMPLEX_CST. -Sat Sep 19 15:55:31 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * expr.c (expand_assignment): Pass to_rtx's mode to expand_expr + when assigning a result_decl. + (expand_expr): For ERROR_MARK, give back 0 in TMODE if possible. - * 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. + * calls.c (emit_call_1): Don't defer pops in const call. - * 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. +Thu Mar 18 17:02:24 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * combine.c (simplify_comparison, case ASHIFT): Fix typo. + * c-decl.c (current_function_prototype_file, + current_function_prototype_line): New variables. + (start_function): Set them. + (store_parm_decls): Use them for error and warning messages. - * 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. +Thu Mar 18 21:28:43 1993 Paul Eggert (eggert@twinsun.com) - * 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. + * optabs.c (expand_float): When converting an unsigned type U + to a smaller or equal-sized floating type F where there's no + hardware support for unsigned-to-float conversion, use a temporary + floating type larger than F if possible, since this avoids + rounding problems that are worst when U is just greater than + the maximum signed integer of the same size. - * rtlanal.c (reg_set_last): Allow old value to be a SUBREG. +Thu Mar 18 16:16:21 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) - * 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. + * c-typeck.c (digest_init): Handle COMPLEX_TYPE like other scalars. - * 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. + * c-parse.in (REALPART, IMAGPART): New token types. + (unary_expr): Handle REALPART, IMAGPART. - * rtl.c (note_insn_name): Fix typo: had NOT_INSN_DELETED_LABEL. + * expr.c (expand_expr): Don't ensure ref to a volatile value + if it is a function. - * jump.c (delete_insn): Don't change labels to NOTEs if we would - not really have deleted them. + * c-parse.gperf: Add __cimag, __cimag__, __creal, __creal__. - * genconfig.c (walk_insn_part, case IF_THEN_ELSE): Refine when - HAVE_CMOVE_FLAG gets set. + * collect2.c (output_file): New static var. + (main): Set output_file. + (my_exit): Delete output_file on failure. -Sat Sep 19 14:52:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Mar 18 12:39:06 1993 Doug Evans (dje@canuck.cygnus.com) - * reload.c (find_reloads): Always use >= with FIRST_PSEUDO_REGISTER. + * function.c (assign_parms): Minor cleanup. + * calls.c (expand_call): Fix bug (don't clobber bitpos). - * i386mach.h (SIZE_TYPE): Defined. +Thu Mar 18 00:08:40 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sat Sep 19 04:57:06 1992 James Van Artsdalen (james at bigtex.cactus.org) + * config/vax/vms.h (PCC_STATIC_STRUCT_RETURN): Add #undef. - * 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. +Wed Mar 17 17:28:17 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * fold-const.c (fold_convert): Avoid using conversion of unsigned - to floating; offset value by hand to fit in signed type. + * pa.md (pre_ldwm, pre_stwm): Name these patterns to make + generating them easier. + (post_ldwm, post_stwm): New patterns. + (add_high_const): New pattern. + (return): New pattern. + * pa.c (post_cint_operand): New function. + (hppa_can_use_return_insn_p): New function. -Sat Sep 19 00:50:32 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Mar 17 17:24:29 1993 Michael Meissner (meissner@osf.org) - * integrate.c (subst_constants): Do substitute in address of MEM dest. + * mips.h (MIPS_VERSION): Bump Meissner version to 35. + (TARGET_SWITCHES): Add -mlong-calls, delete -mwc* switches. - * reload1.c (init_reload): Fix typo. + * mips.md (call insns & expanders): If -mlong-calls, require + function address to be in a register. -Fri Sep 18 21:09:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * x-iris (OLDCC): Iris now needs -Wf,-XNh1500 as well. - * libgcc2.c: Declare _exit as volatile. +Wed Mar 17 16:00:29 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * function.c (assign_parms): Set MEM_IN_STRUCT_P right in stack slots. + * pa.h (IS_RELOADING_PSEUDO_P): New subroutine for + EXTRA_CONSTRAINT. + (EXTRA_CONSTRAINT): Use IS_RELOADING_PSEUDO_P. Accept any MEM for + `Q' constraint during the reload pass. -Fri Sep 18 15:58:15 1992 James Van Artsdalen (james at bigtex.cactus.org) + * pa.h (SECONDARY_MEMORY_NEEDED): Define. + (SECONDARY_MEMORY_NEEDED_RTX): Define. + * pa.c (output_fp_move_double): Remove code to support GR<->FP + copies. + * pa.md (movqi, movhi, movsi, movdi, movsf, movdf): Remove support + for GR<->FP copies. + (fix_truncsfsi2, fix_truncdfsi2): Likewise. - * fixincludes: Don't look for *.h symlinks if the host doesn't - have symlinks. +Wed Mar 17 14:58:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Sep 18 17:34:27 1992 Michael Meissner (meissner@osf.org) + * config/vax/vms.h (STRUCT_VALUE): Defined. + (STRUCT_VALUE_REGNUM): Add #undef. - * 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. +Wed Mar 17 14:23:25 1993 Torbjorn Granlund (tege@gnu.ai.mit.edu) + + * pa.md (branch-on-bit): New patterns. + * pa.c (pc_or_label_operand): New predicate. + +Wed Mar 17 02:46:58 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * config/m68k/m68k.md (movqi): In address reg case, if d0 + appears in the address, use d1 instead as intermediate reg. + +Tue Mar 16 17:42:14 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * cse.c (FIXED_REGNO_P): Remove previous change; all callers but + one already check. + (CHEAP_REG): Only call FIXED_REGNO_P for hard regs. + (fold_rtx): Clarify comments. + +Tue Mar 16 14:55:40 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + + * x-apollo68 (CFLAGS, LIBGCC2_CFLAGS): Delete overrides and + comment why they were wrong. + + * c-decl.c (grokdeclarator, ARRARY_REF): If exern, then end + temporary allocation before building type. + + * sparc.h (SECONDARY_MEMORY_NEEDED_RTX): Define. + * reload.c (get_secondary_mem): Use macro SECONDARY_MEMORY_NEEDED_RTX. -Fri Sep 18 03:48:17 1992 Tom Wood (wood@dg-rtp.dg.com) +Tue Mar 16 03:49:13 1993 James Van Artsdalen (james at bigtex.cactus.org) - * 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'. + * cse.c (FIXED_REGNO_P): Pseudos can't be fixed regs. + +Tue Mar 16 04:33:41 1993 Paul Eggert (eggert@twinsun.com) - Wed Sep 16 12:51:10 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * cccp.c (main): Report errors in output to pcp_outfile. - * cp-decl.c (init_decl_processing): Enable code to add sin and cos - as built-in functions. +Mon Mar 15 21:30:32 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-decl.c (duplicate_decls): Enable code to preserve the DECL_UID - of olddecl. + * cccp.c (write_output): Test value of `write'; report errors. + (write_output): Use pfatal_with_name for errors. + (out_fname): Var now file-scope. - * cp-search.c (lookup_nested_fields): Make sure we're climbing along - a chain of nested types, and nothing else. +Mon Mar 15 20:52:17 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - Tue Sep 15 17:38:34 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * pa.h (EXTRA_CONSTRAINT, case 'S'): Do not accept CONSTANT_P if + TARGET_LONG_CALLS. - * 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. + * pa.h (EXTRA_CONSTRAINT): Merge strict and non-strict variants. + Delete 'R' constraint. - Tue Sep 15 12:37:16 1992 Brendan Kehoe (brendan@rtl.cygnus.com) +Mon Mar 15 18:38:22 1993 Torbjorn Granlund (tege@sics.se) - Mon Aug 24 14:58:02 1992 Chip Salzenberg (chip at animal) + * expmed.c (lea_max_mul): Delete. + (init_expmed): Delete unused variable I. + (enum alg_code): New tag alg_shift. Document it. + (synth_mult): Delete unused variable N. Handle new trivial case + first, for T <= 1. Generalize shifting code to shift whenever a + number is even; use alg_shift for this. Set best_alg->ops only in + trivial case. Clean up cost calculation code for the `simple + case' at the end; use shiftadd_cost when appropriate. Combine + declarations of Q and move to top of function. Eliminate use of Q + in factoring cases. If we are getting too long a sequence for + `struct algorithm' to record, fail. + (expand_mult): Handle alg_shift instead of alg_add_t_m2 as first + operation. In RLT emit loop, handle alg_shift; special case + LOG == 0 for alg_add_t_m2 and alg_sub_t_m2. - * cp-typeck.c (build_conditional_expr): Determine constness - and volatility with TREE_... tests instead of TYPE_... tests. +Mon Mar 15 16:44:08 1993 Doug Evans (dje@canuck.cygnus.com) - Mon Sep 14 18:00:35 1992 Chip Salzenberg (chip@tct.com) + * function.c (assign_parms): Remove unnecessary #ifdef. - * cp-decl.c (grokdeclarator): Remove redundant (and broken) - test for multiple destructors in a class. +Mon Mar 15 14:33:52 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - Fri Jul 31 19:09:10 1992 Chip Salzenberg (chip@tct.com) + * sched.c (reg_known_equiv_p): New variable. + (init_alias_analysis): Allocate and compute reg_known_equiv_p. + (sched_analyze_1): Reenable code for REG_EQUIV notes, using + reg_known_equiv_p so that it is only used on REG_EQUIV notes. + (sched_analyze_2): Likewise. Only pass memory addresses to the + sched_analyze_2 call. - * cp-cvt.c (convert_to_integer): Push truncation inside COND_EXPR. + * xm-sol2.h (NO_SYS_SIGLIST): Define. - Mon Sep 14 17:52:45 1992 Chip Salzenberg (chip@tct.com) + * i960.c (print_operand_address): For MULT, set ireg not breg. - * 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. + * sparc.md (zero_extendqisi2+4,+5): Add new patterns for combining + a SI->QI mode truncate with an insn that sets the condition codes. - Mon Sep 14 17:39:32 1992 Chip Salzenberg (chip@tct.com) + * config.sub (sparclite, sparclite-*): New configuration. + * configure (sparclite-*-*): Likewise. + * sparc/lite.h: New file. - * cp-class.c (finish_struct): ``Actually, I don't understand - this code. What is it supposed to do?'' --Niklas Hallqvist + * sched.c (adjust_priority): Comment unreachable code. + (memrefs_conflict_p): Add comment about Fortran aliasing. - Mon Sep 14 17:27:23 1992 Chip Salzenberg (chip@tct.com) +Mon Mar 15 13:54:06 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * cse.c (simplify_plus_minus): Remove last change. Instead, + count initial operands and test against that count to see if we + did anything. - Tue Sep 15 12:15:26 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * alpha.h (ASM_OUTPUT_{INT,SHORT,CHAR,BYTE}): Truncate constant + to maximum range permitted in order to avoid assembler error. - * cp-typeck.c (c_expand_return): Emit a warning when they try to - return the address of a local variable. +Mon Mar 15 13:37:35 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * cp-decl.c (finish_method): Make sure it's indeed nested before - checking for the qualified name. + * pa.md (sh[123]add patterns): Use register_operand, not + shadd_operand. + (sh[123]add patterns for reload): Special patterns to avoid + lossage due to reload problems. + * pa.c (shadd_operand): Delete. + +Mon Mar 15 00:31:20 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Mon Sep 14 18:59:25 1992 Mike Stump (mrs@cygnus.com) + * configure (rs6000-ibm-aix3.2): Renamed from rs6000-ibm-aix32. - Wed Sep 2 11:04:24 1992 Chip Salzenberg (chip@tct.com) +Sun Mar 14 22:54:10 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * cp-decl.c (init_decl_processing): Add sin and cos as built-in - functions. Fix type of __builtin_constant_p. + * reorg.c (find_end_label): Update unfilled_slots if the return + insn we make has a delay slot. - * cp-lex.c (readescape): For \x, don't include leading 0's in count. +Sun Mar 14 21:27:48 1993 Torbjorn Granlund (tege@sics.se) - * cp-typeck.c (build_unary_op): For ADDR_EXPR, just set - TREE_CONSTANT if staticp, but don't clear TREE_CONSTANT. + * expmed.c (shift_cost): Now a vector. + (shiftadd_cost): New vector for cost of (N * a + b) instructions. + (shiftsub_cost): New vector for cost of (N * a - b) instructions. + (lea_cost): Removed. + (init_expmed): Initialize new vectors. Use ASHIFT, not LSHIFT. + Remove code initializing lea_cost. + (enum alg_code): New definition. + (synth_mult): Rewrite for better algorithms and faster operation. + (expand_mult): Rewrite code for constant multiplication. - Mon Sep 14 18:54:41 1992 Mike Stump (mrs@cygnus.com) +Sun Mar 14 06:34:28 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-parse.y (permanent_obstack): Move to top of file. + * objc-act.c (build_objc_symtab_template): Correctly build index + type for 0-length array. + (build_objc_method_call, get_class_reference, get_super_receiver): + Call assemble_external on anything we are about to generate a call to. + (handle_class_ref): Put constant in readonly-data section, not text. - Mon Sep 14 18:50:19 1992 Mike Stump (mrs@cygnus.com) + * cse.c (simplify_plus_minus): Reject "simplifications" that are + too complex in form. + Correct sign error in expanding NOT. - Mon Sep 14 16:39:10 1992 Chip Salzenberg (chip@tct.com) +Sun Mar 14 00:02:12 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - [ Changes propagated from diffs to c-* in 920911 snapshot. ] + * reload1.c (choose_reload_regs): Verify reload_out[j] != 0 + before comparing with reload_earlyclobber elements. - * 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. +Sat Mar 13 21:05:12 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-typeck.c (build_binary_op_nodefault): Don't assume that a - target integer fits in a HOST_WIDE_INT when checking shift widths. + * calls.c (emit_call_1): Restore inhibit_defer_pop before popping args + so that pops really do get deferred if appropriate. - Mon Sep 14 18:15:42 1992 Mike Stump (mrs@cygnus.com) +Sat Mar 13 18:13:30 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Mon Aug 24 14:32:03 1992 Chip Salzenberg (chip@tct.com) + * cse.c (simplify_plus_minus): When seeing if we have reduced the + number of operands, ensure we count a CONST result as two operands. - * cp-parse.y (reserved_declspecs): Warn if storage class occurs here. - (declmods): Warn if storage class is not first. + * calls.c, expr.c: Correctly define PUSH_ARGS_REVERSED. - Mon Sep 14 16:59:53 1992 Brendan Kehoe (brendan@rtl.cygnus.com) +Sat Mar 13 16:49:10 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * cp-method.c (fndecl_as_string): Don't output an extra space when - printing the return type of a function. + * pa.c (eligible_for_epilogue_delay): Insns which access %r2 can + not be used to fill the epilogue's delay slot. - Mon Sep 14 16:01:53 1992 Mike Stump (mrs@cygnus.com) +Sat Mar 13 15:31:02 1993 James Van Artsdalen (james at bigtex.cactus.org) - Fri Jun 12 18:07:00 1992 Niklas Hallqvist (niklas@appli.se) + * reg-stack.c (emit_swap_insn): If emitting after a cc0 setter, + link the cc0 insns. - * cp-parse.y (structsp, named_class_head_sans_basetype): Call - overload_template_name in the case of template specializations so - that something like: +Fri Mar 12 17:45:36 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - template struct C { C(); }; - struct C { C(); }; + * config/m68k/xm-mot3300.h (USE_C_ALLOCA): Define if not __GNUC__. + * config/m68k/x-alloca-c: New file. + * configure (m68k-motorola-sysv*): Use it. - works. + * expr.c (emit_push_insn): Handle failure of gen_movstr... - Mon Sep 14 15:51:22 1992 Mike Stump (mrs@cygnus.com) + * stor-layout.c (variable_size): Better error for div by 0 in size. + * c-decl.c (grokdeclarator): Error for div by 0 in array size. - Fri Apr 10 13:20:56 1992 Niklas Hallqvist (niklas@appli.se) +Fri Mar 12 17:25:35 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * expr.c: Add prototypes for static functions. + (struct move_by_pieces): Move definition before function + forward decls. - * 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. + * rs6000.h, a29k.h (PROMOTE_MODE): Fix typo. - * cp-decl.c (xref_defn_tag): Conditionalized debug printout on - spew_debug (defined in cp-spew.c). - (binding_levels_sane): void function returned value. + * cse.c (refers_to_mem_p): Use rtx_equal_p to see if bases + are equal. - Mon Sep 14 15:41:28 1992 Mike Stump (mrs@cygnus.com) + * cse.c (set_nonvarying_address_components): Fix type mismatch with + caller. + (refers_to_mem_p): Call properly in second call. - Mon Sep 14 17:26:18 1992 Chip Salzenberg (chip@tct.com) + * jump.c (jump_optimize): Fix bug in last change. - * cp-parse.y (unary_expr), cp-call.c (build_scoped_method_call): - NEVER use `maybe_adjust' feature in destructors. It's unsafe. +Fri Mar 12 07:25:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Mon Sep 14 15:12:34 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * optabs.c (expand_binop): For doubleword int addition, + clobber the whole register at the start. - * cp-decl.c (finish_method): Complain when a qualifier is used as - part of a member declaration. +Fri Mar 12 03:19:26 1993 James Van Artsdalen (james at bigtex.cactus.org) - Mon Sep 14 11:47:30 1992 Mike Stump (mrs@cygnus.com) + * reg-stack.c (get_true_reg): Don't ignore FLOAT_TRUNCATE. + (subst_stack_regs_pat): Substitute in FLOAT_TRUNCATE insns. - * 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. + (compare_for_stack_reg): Reset insn code after swapping operands. - Fri Sep 11 14:09:01 1992 Mike Stump (mrs@cygnus.com) + * i386.h (FLOAT_CLASS_P): New macro. + (REGISTER_MOVE_COST): Use it instead of comparing to FLOAT_REGS. + (PREFERRED_RELOAD_CLASS): Likewise. + (SECONDARY_MEMORY_NEEDED): Likewise. + (CLASS_MAX_NREGS): Likewise. - Fri Sep 11 10:34:45 PDT 1992 Ron Guilmette (rfg at netcom.com) + (SELECT_CC_MODE): Use VOIDmode for non-FP-equality comparisons. - * cp-decl.c (duplicate_decls): For file-scope redefinitions, note - that the variable was previously *defined* at some specific (earlier) - point. + * i386.md (truncdfsf2): Rewrite to allow FLOAT_REGS in constraints + for better register preferences. - Fri Sep 11 13:49:55 1992 Mike Stump (mrs@cygnus.com) + (movM): If REG_WAS_0, make sure the reg hasn't changed since then. - Tue Sep 8 21:39:35 PDT 1992 Ron Guilmette (rfg at netcom.com) + (cmpM expanders): Don't allow both operands to be MEM. + Use VOIDmode for the COMPARE rtx instead of CCmode. + (cmpM recognizers): Likewise. + Remove constraints for constants from operand 0. - * 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. + (cmpdf,cmpsf recognizers): When using VOIDmode as mode of the + COMPARE rtx, require that the mode be exactly VOIDmode. - Fri Sep 11 13:28:02 1992 Mike Stump (mrs@cygnus.com) + * i386.c (VOIDmode_compare_op): New operand predicate function. - * cp-decl.c (grokdeclarator): Upgrade local externs with - initializations to be errors, instead of warnings. + * vax.md (movM): If REG_WAS_0, make sure the reg hasn't changed + since then. + * tahoe.md (movM): Likewise. - Fri Sep 11 13:03:52 1992 Mike Stump (mrs@cygnus.com) +Thu Mar 11 19:23:51 1993 Doug Evans (dje@canuck.cygnus.com) - Thu Sep 10 09:40:56 PDT 1992 Ron Guilmette (rfg at netcom.com) + * function.c (aggregate_value_p): RETURN_IN_MEMORY now handles + BLKmode values. + * expr.h (RETURN_IN_MEMORY): Handle BLKmode values. + * i386/sysv4.h (RETURN_IN_MEMORY): Ditto. + * m88k/m88k.h (RETURN_IN_MEMORY): Ditto. + * i960/i960.h (RETURN_IN_MEMORY): Ditto. + * m68k/apollo68.h (RETURN_IN_MEMORY): Ditto. + * mips/mips.h (RETURN_IN_MEMORY): Ditto. + * sparc/sparc.h (RETURN_IN_MEMORY): Ditto. + * alpha/alpha.h (RETURN_IN_MEMORY): Ditto. + * romp/romp.h (RETURN_IN_MEMORY): Ditto. + * rs6000/rs6000.h (RETURN_IN_MEMORY): Ditto. + * h8300/h8300.h (RETURN_IN_MEMORY): Ditto. - * cp-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. +Thu Mar 11 19:02:55 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Wed Sep 9 19:46:43 1992 Mike Stump (mrs@cygnus.com) + * alpha.h (RTX_COST, case MULT): Handle s8addx and s4addx. + (RTX_COST, case MULT): Correctly assign cost to multiplies by a + power of two. + (RTX_COST, case ASHIFT, ASHIFTRT, LSHIFTRT, IF_THEN_ELSE): New cases. - * c++: Makes sure echo -nostdinc does not eat the -nostdinc. + * cse.c (CHEAP_REG): New macro; makes virtual regs cheap too. + (COST): Use CHEAP_REG. + (rtx_cost, case REG): Use CHEAP_REG to return zero for some REGs. - Tue Sep 8 13:42:35 1992 Brendan Kehoe (brendan@rtl.cygnus.com) +Thu Mar 11 07:47:09 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * 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. + * pa.md (FP sCC insn): Delete. + (sCC define_expands): FAIL instead of generating FP sCC insns. + * pa.c (gen_scond_fp): Delete. + * pa.h (toplevel): Delete declaration of gen_scond_fp. - Tue Sep 8 02:31:05 1992 Mike Stump (mrs@cygnus.com) + * cse.c (set_nonvarying_address_components): New function. + (invalidate): Use set_nonvarying_address_components instead of + computing them. + (refers_to_mem_p): Likewise. Simplify checks for conflicting + memory accesses. Make static. + * loop.c (addr_overlap_p): Delete. - * cp-tree.c (layout_basetypes, make_binfo): Added support for - debugging information about virtual base class pointers. +Wed Mar 10 23:52:40 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Mon Sep 7 15:34:58 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * fixincludes: Delete ${LIB}/DONE just before exit. - * cp-decl2.c (temp_name_p): Deleted function, never used anywhere. +Wed Mar 10 12:27:51 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - Sun Sep 6 23:09:29 1992 John F Carr (jfc at Athena.MIT.EDU) + * pa.c (reg_or_cint_move_operand): Use cint_ok_for_move. - * cp-typeck.c (convert_arguments): Ignore arguments which are - ERROR_MARK_NODE to avoid crashes trying to reference fields which - are not present. + * pa.md (add reg and large int): New define splits for the combiner. + * pa.c (cint_ok_for_move): New function. Returns 1 iff the given + CONST_INT can be loaded into a register in a single instruction. + (move_operand): Use cint_ok_for_move. - Mon Sep 7 12:34:09 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * jump.c (jump_optimize, clause for `if (foo) b++'): + Do this regardless of BRANCH_COST if HAVE_incscc or + HAVE_decscc is defined. - * 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. +Wed Mar 10 11:50:06 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - Sun Sep 6 17:51:47 1992 Mike Stump (mrs@cygnus.com) + * pa.md (conditional move): Use %B for output when appropriate. + (conditional move with second operand == 0): New pattern. + * pa.c (reg_or_cint_move_operand): New function. + (move_operand): Add header comment. - Sun Sep 6 13:12:16 1992 John Carr (jfc@Athena.MIT.EDU) +Wed Mar 10 01:43:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * objc-act.c (OBJC_GEN_METHOD_LABEL): Convert colons to _'s. + Don't use the category name or the number. - * cp-decl2.c (grokbitfield): Use NULL_TREE instead of NULL. + * gcc.c (link_command_spec): New option -nostartfiles. - * cp-decl2.c (finish_file): Don't try and not use stdio.h. +Tue Mar 9 18:55:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-except.c (cplus_expand_reraise): emit_move_insn takes 2 - arguments, not three. + * convert.c (convert_to_complex): Avoid using comptypes. - Sat Sep 5 12:04:06 1992 Brendan Kehoe (brendan@rtl.cygnus.com) +Tue Mar 9 11:33:32 1993 Michael Meissner (meissner@osf.org) - * cp-decl.c (finish_function): Undo change of Mon Aug 17 16:28:48 - 1992; it resulted in lots of unnecessary and incorrect warnings. + * objc-act.c (#ifdef NEXT_OBJC_RUNTIME): Close #ifdef properly. - * 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. +Tue Mar 9 00:03:03 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-decl.c (grok_enum_decls): Tighten up some code that was pretty - twisty. + * flags.h (flag_volatile_global): Declared. - * 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. + * c-decl.c (define_label): Use current line number in error msg. - * cp-class.c (minus_one_node): Delete, it's not used. - (init_class_processing): Delete init of minus_one_node. +Mon Mar 8 16:11:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-spew.c (yylex): Check return of resolve_scope_to_name to - be NULL_TREE. - (frob_identifier): Likewise. - (hack_more_ids): Likewise. + * config/i386/i386.h (HARD_REGNO_MODE_OK): Add some casts. - * cp-cvt.c (convert_to_real): Use REAL_VALUE_ATOF to make 0. + * reg-stack.c (record_asm_reg_life): Cast class to int for indexing. - Fri Sep 4 19:23:17 1992 Mike Stump (mrs@cygnus.com) + * sdbout.c (PUSH_DERIVED_LEVEL): Cast enumm constants to int. - * 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. + * toplev.c (flag_volatile_global): New variable. + (f_options): Add option for it. + * varasm.c (make_decl_rtl): Handle that option. - Fri Sep 4 14:35:31 1992 Mike Stump (mrs@cygnus.com) + * objc-act.c (really_start_method): Always use OBJC_GEN_METHOD_LABEL. + Pass method_slot as additional arg. + (OBJC_GEN_METHOD_LABEL): Add default definition. + * config/m68k/next.h (OBJC_GEN_METHOD_LABEL): Accept additional arg. - * cp-cvt.c (build_up_reference): Prevent the compiler from dumping - core on semantic errors. +Mon Mar 8 12:01:49 1993 Paul Eggert (eggert@twinsun.com) -Thu Sep 17 17:28:13 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fold-const.c (const_binop): When evaluating a shift, ignore + overflows generated by force_fit_type. - * c-typeck.c (initializer_constant_valid_p): Warn about address - arithmetic destined for a type that's too narrow. - New argument ENDTYPE. +Mon Mar 8 07:24:30 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * limitx.h: Don't include-next if _LIBC_LIMITS_H_ defined. + * cse.c (cse_gen_binary, simplify_plus_minus): New functions. + (find_best_addr): Use cse_gen_binary. + (simplify_binary_operation, fold_rtx): Likewise. + Remove most special-cases for PLUS and MINUS and call + simplify_plus_minus instead. + Clean up some tests for FP. -Thu Sep 17 20:45:16 1992 Paul Eggert (eggert@twinsun.com) + * cse.c: Add prototypes for static functions. + (struct cse_basic_block_data): Move to front of file since it + constains struct used in a prototype. + (refers_to_p, find_best_addr): Now static. - * cexp.y (parse_escape): Diagnose '\x' with no digits. - Diagnose integer overflow when parsing \x escapes. + * expr.h: Clean up prototypes for functions in expr.c and + optabs.c and add some missing ones. -Thu Sep 17 11:52:53 1992 Michael Meissner (meissner@osf.org) + * optabs.c: Add prototypes for static functions. + (init_libfuncs): Put args in proper order. - * gcc.c (SIGNED_CHAR_SPEC): Use #if rather than ?: in default defn. +Sun Mar 7 07:59:34 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Sep 17 14:53:51 1992 Tim Moore (moore@defmacro.cs.utah.edu) + * reorg.c: Add prototypes for static functions. + (fill_simple_delay_slots): Add missing declaration of arg. - * 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. +Sat Mar 6 15:08:59 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Sep 16 22:22:15 1992 James Van Artsdalen (james at bigtex.cactus.org) + * gcc.c: Handle long options by translation to old-style ones. + (translate_options): New function. + (option_map): New table. - * i386.c (print_operand): Don't abort if error: might have been a - user asm. + * config/i386/t-iscscodbx: New file. + * configure (i[34]86-*-isc*, i[34]86-*-sco...): Use that if stabs. - * i386.md (addsi3,ashlsi3): Handle the case where the stack - pointer appears as an index reg. + * reload1.c (choose_reload_regs): Handle SUBREG in reload_earlyclobber + when matching output reloads for setting reload_when_needed. -Wed Sep 16 21:22:23 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Mar 6 08:43:09 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * genattrtab.c (write_test_expr): Use INSN_CODE == -2, not 0, for + constant attributes. - * libgcc2.c (__CTOR_LIST__, __DTOR_LIST__): Moved to separate member. - * Makefile.in (LIB2FUNCS): Added _ctors. + * genattrtab.c: Add prototypes in forward declarations. + Add some missing parameters to a few calls. -Wed Sep 16 23:28:41 1992 Paul Eggert (eggert@twinsun.com) +Sat Mar 6 07:41:36 1993 Doug Evans (dje@cygnus.com) - * cexp.y (parse_number): Warn about '9' in octal constants. - Commonize overflow detection for various radices. + * calls.c (expand_call): Fix typo in unaligned code. -Wed Sep 16 19:33:37 1992 Torbjorn Granlund (tege@mole.gnu.ai.mit.edu) +Fri Mar 5 20:32:28 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) - * 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. + * i386/svr3gas.h, i386/svr3dbx.h, i386/iscdbx.h, i386/scodbx.h, + i386/sco4dbx.h, svr3.ifile, svr3z.ifile: New files. + * configure (i[34]86-...): Use them if configured --with-stabs. + * i386/isccoff.h: Renamed from i386/i386isc.h. + * i386/iscgas.h: Renamed from i386/i386iscgas.h. -Wed Sep 16 14:53:51 1992 Michael Meissner (meissner@osf.org) +Fri Mar 5 19:41:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * mips.h (MIPS_VERSION): Set Meissner version # to 25. + * expr.c (expand_assignment): Special handling for storing in + RESULT_DECL. - * 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. +Fri Mar 5 17:48:41 1993 Chris Smith (csmith@mozart.convex.com) -Tue Sep 15 16:10:47 PDT 1992 Ron Guilmette (rfg at netcom.com) + * cse.c (simplify_binary_operation): Move integer CONST_DOUBLE + folding out of REAL_IS_NOT_DOUBLE conditional. + (simplify_relational_operation): Put float CONST_DOUBLE folding + under a REAL_IS_NOT_DOUBLE conditional. + Add folding for integer CONST_DOUBLE comparisons. - * toplev.c (rest_of_decl_compilation): Call `dwarfout_file_scope_decl' - immediately for actual *definitions* of file-scope variables (and - file-scope typedefs too). +Fri Mar 5 17:37:20 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Sep 15 20:56:31 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * alpha.md: Add new define_split for doing sign-extended adds + of some large constants using sNaddl. - * fixincludes (EXINIT): Clear it to avoid problems with bad values. - * fixinc.svr4 (EXINIT): Likewise. + * function.c (fixup_var_refs_insns): If SMALL_REGISTER_CLASSES, + ensure we don't put any insns between the setting of the function + return register and it's use. - * print-tree.c (print_node): Don't print blank line for null - fields in a TREE_VEC. +Fri Mar 5 15:11:41 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * cccp.c (macroexpand): Don't output another error message if have - already output error message returned from macarg. + * pa.h (FIXED_REGISTERS): %r2 is no longer fixed. + (REG_ALLOC_ORDER): Treat %r2 as a caller-saved allocatable + register. %r30 is fixed and therefore a "special" register. + %fr22-%fr31 are caller-saved, so allocate them before the + callee-saved 1.1 fp registers. Allocate fp registers before + general registers. Fix typo for register 79. - * c-decl.c (grokparms): Copy parm list if it isn't permanent, - instead of copying it if temporary allocation has been turned off. + * pa.c (output_function_epilogue): Perform an early %r2 restore + even if actual_fsize is zero. This can happen if %r2 is used + as a temporary in a leaf function. - * final.c (only_leaf_regs_used): Check for global_regs. + * pa.h (FIRST_PSEUDO_REGISTER): Update to take into account + registers which are no longer known to the compiler. + (FIXED_REGISTERS): Likewise. + (CALL_USED_REGISTERS): Likewise. + (HARD_REGNO_NREGS): Likewise. + (HARD_REGNO_MODE_OK): Likewise. + (REGNO_REG_CLASS): Likewise. + (FUNCTION_VALUE): Likewise. + (LIBCALL_VALUE): Likewise. + (FUNCTION_VALUE_REGNO_P): Likewise. + (FUNCTION_ARG_REGNO_P): Likewise. + (FUNCTION_ARG): Likewise. + (REGNO_OK_FOR_FP_P): Likewise. + (REGISTER_NAMES): Likewise. + (REG_CLASS_CONTENTS): Likewise. Add %r1 to GENERAL_OR_FP_REGS + and GENERAL_OR_SNAKE_FP_REGS. + (REG_ALLOC_ORDER): Likewise. Document and make allocation order + "regular" across 1.0 and 1.1 cpus. - * c-parse.y (typespec): Don't warn if pedantic when typeof used. + * pa.c (compute_frame_size): Update to take into account + register which are no longer known to the compiler. + (output_function_prologue): Likewise. + (output_function_epilogue): Likewise. + (output_arg_descriptor): Likewise. - * 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 Sep 15 15:42:24 1992 Paul Eggert (eggert@twinsun.com) +Fri Mar 5 12:45:51 1993 Jim Wilson (wilson@geech.gnu.ai.mit.edu) - * 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. + * sparc.c (output_function_prologue, output_function_epilogue): + Add comments for frame_base_name usage in leaf_functions. -Tue Sep 15 14:44:51 1992 Michael Meissner (meissner@osf.org) + * gcc.c (main): Put argv[0] in collect_obstack instead of programname. - * 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. + * cse.c (note_mem_written): QImode varying structure memory + accesses can alias scalars. -Tue Sep 15 00:09:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Mar 4 10:05:52 1993 Juergen Keil (jk@leo.tools.de) - * 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. + * c-decl.c (store_parm_decls,combine_parm_decls): Call layout_decl + for a parm declared float when it is changed to double under a + traditional compilation. - * rtl.c (ftell): Declaration deleted. +Thu Mar 4 17:52:52 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) -Mon Sep 14 15:17:09 1992 Michael Meissner (meissner@osf.org) + * pa.h (ASM_OUTPUT_INT): If TARGET_SHARED_LIBS, then references to + functions which do not occur in the text space must have a PLABEL + ("P%") prefix to make the assembler and linker happy. - * 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. +Thu Mar 4 17:18:57 1993 Steve Chamberlain (sac@geech.gnu.ai.mit.edu) -Mon Sep 14 13:28:29 1992 Torbjorn Granlund (tege@jupiter.sics.se) + * emit-rtl.c (init_emit_once): Initialize const_tiny_rtx for + partial ints too. - * 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'. + * convert.c (convert_to_pointer): Fix typo comparing size of + integer and pointers. + * varasm.c (immed_double_const): Cope with MODE_PARTIAL_INT. + (output_constant_pool): Likewise. -Mon Sep 14 23:46:19 1992 Paul Eggert (eggert@twinsun.com) +Thu Mar 4 15:18:15 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-lex.c (yylex): Warn about integers so large that they are unsigned. + * c-common.c (truthvalue_conversion): Fix handling of COMPLEX_EXPR. + Handle all complex values specially. - * 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. +Thu Mar 4 13:48:38 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) -Mon Sep 14 10:26:34 1992 Charles Hannum (mycroft@hal.gnu.ai.mit.edu) + * pa.md (recognizer for general uaddcm): New pattern. - * reload1.c (init_reload): Fix typo in last change. + * pa.md (iorsi3): New DEFINE_EXPAND. + (iorsi3 recognizer for [reg reg]): Now unnamed. + Put output template here, don't call output_ior. + * pa.c (output_ior): Don't handle reg operands. -Mon Sep 14 01:17:58 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Mar 4 13:14:13 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * reload1.c (init_reload): For reg+reg+const, try various regs. + * fold-const.c (fold): Handle complex constants as "winning". + Handle REALPART_EXPR and IMAGPART_EXPR. -Sun Sep 13 01:08:06 1992 Paul Eggert (eggert@twinsun.com) +Thu Mar 4 13:08:53 1993 Steve Chamberlain (sac@geech.gnu.ai.mit.edu) - * 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. + * config.sub (h8300hds): Change hds to hms. + * configure (h8300-*-*): Added. + * h8300.c, h8300.h, h8300.md, t-h8300, xm-h8300.h: New files. -Sun Sep 13 02:00:52 1992 Torbjorn Granlund (tege@jupiter.sics.se) +Thu Mar 4 10:31:17 1993 Michael Meissner (meissner@osf.org) - * arm.md: Clean up indentation. + * gcc.c (link_command_spec): Add missing \ before newline inside + character string. - * 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. + * c-parse.in (all_iter_stmt_simple): Add missing comma so that + Objective C compiles. -Sat Sep 12 15:06:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Mar 4 02:43:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.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. + * optabs.c (emit_no_conflict_block): Don't move target to itself + if that takes multiple insns. + (expand_binop): For complex mult and div, avoid fetching operand + components more than once from memory. - * c-lex.c (yylex): If integer value overflows so highword is negative, - it needs unsigned long long. + * dbxout.c (dbxout_type): Handle complex integer types. -Fri Sep 11 21:09:53 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Mar 3 16:01:11 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * sys-types.h (va_alist): Supply `int' as the type to define it as. + * c-typeck.c (common_type): Handle complex types. -Fri Sep 11 12:39:39 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) + * machmode.def: Add complex integer modes. - * 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. + * c-common.c (truthvalue_conversion): Handle COMPLEX_EXPR. -Fri Sep 11 10:34:45 PDT 1992 Ron Guilmette (rfg at netcom.com) + * c-typeck.c (lvalue_p): Handle REALPART_EXPR, IMAGPART_EXPR. + (build_binary_op, build_unary_op): Handle complex types. - * c-decl.c (duplicate_decls): For file-scope redefinitions, - error message distinguishes previous definitions from mere decls. + * c-parse.gperf: Add `__complex', `__complex__'. + Add `__iterator'. Delete `iterator'. -Fri Sep 11 01:07:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * tree.c (build_complex): Set the TREE_TYPE based on real part. - * c-convert.c (convert_to_integer): Don't pass truncation thru lshift - if shift count >= width of narrower type. Instead, just use 0. + * c-lex.h (RID_COMPLEX): New constant. + * c-lex.c (init_lex): Initialize rid pointers for complex. + (yylex): Handle i or j in numeric constant. - * we32k.h (SIZE_TYPE): Defined. + * c-decl.c (init_decl_processing): Create complex types. + (grokdeclarator): Handle complex keyword. + Distinguish int-by-default from int keyword. + * c-tree.h: Declare vars to hold complex types. -Fri Sep 11 00:03:45 1992 Paul Eggert (eggert@twinsun.com) + * c-convert.c (convert): Handle conversion to complex type. + * convert.c (convert_to_real): Convert complex to real. + (convert_to_integer): Likewise. + (convert_to_complex): New function. + * convert.h (convert_to_complex): Declared. - * 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. +Wed Mar 3 15:34:36 1993 Per Bothner (bothner@hal.gnu.ai.mit.edu) -Thu Sep 10 22:23:10 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * tree.c (build_range_type): New function. + * tree.c (build_index_2_type): Re-implement using build_range_type. - * optabs.c (expand_binop): - Convert op1 of shift libcall to word_mode. +Wed Mar 3 08:34:43 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) -Thu Sep 10 18:14:36 1992 Tim Moore (moore@defmacro.cs.utah.edu) + * pa.c (lhs_lshift_operand): New function. + (lhs_lshift_cint_operand): New function. + * pa.md (ashlsi3): Use lhs_lshift_operand for operand 1. + Call gen_zvdep_imm when operand 1 is a CONST_INT. + (zvdep_imm): New pattern. - * 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 (). + * pa.c (print_operand): Handle L and P for bit field instructions. + * pa.md (ashift recognizer for [reg const_int]): Use %P and %L + output modifiers. + (ashiftrt recognizer for [reg const_int]): Likewise. + (lshrsi3): Likewise. + (rotrsi3): Reduce integer argument to 5 bits. -Thu Sep 10 17:33:42 1992 Michael Meissner (meissner@osf.org) + * pa.md: Remove some empty lines. - * 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. + * pa.c (pa_adjust_cost): Replace, the function of Mar 2 was an old + version. + (output_fp_move_double): Use %r syntax for registers. - * dec-gosf1.h, iris4g.h: New files. +Wed Mar 3 01:42:42 1993 Per Bothner (bothner@hal.gnu.ai.mit.edu) -Thu Sep 10 12:46:17 1992 Torbjorn Granlund (tege@jupiter.sics.se) + * tree.def (INTEGER_TYPE): Clarify comment to make clear that + INTEGER_TYPEs are used for arbitrary range types (i.e. + sub-ranges of enums) in languages that need them. + * dbxout.c (dbxout_type_range): New function: Common code + needed for both range types and array index types. + Fixes some problems common in both places: Now handles + non-zero lower bound, variable bounds (sort of), and ranges + of non-integer (e.g. enum) types. + * dbxout.c (dbxout_type): Use dbxout_type_range. - * pa.md (casesi): Add `&' to constraint for clobber operand. +Tue Mar 2 23:34:45 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * optabs.c (expand_binop): Fix typo, `mode' => `methods'. + * collect2.c (main): Use strlen, not sizeof, for our_file_name. -Thu Sep 10 00:21:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-common.c (convert_and_check): No warning for converting + signed integer to unsigned of same width. - * optabs.c (expand_binop): Delete #ifdef GPC; complex code now uncond. +Tue Mar 2 18:59:39 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu.edu) - * optabs.c (init_fixtab): Fix typo for fix_truncdfqi2. + * c-iterate.c (collect_iterators): Handle simple expressions quickly. + Don't try to interpret operands that are RTL as if they were trees. -Wed Sep 9 13:25:53 PDT 1992 Ron Guilmette (rfg at netcom.com) + * regclass.c (regclass): Don't set REGNO_POINTER_FLAG here. + (reg_scan_mark_refs): Set it here. + Accept INSN, not UID as arg. + (reg_scan): Call reg_scan_mark_refs with INSN, not UID. - * c-common.c (declare_function_name): Allow for anonymous function. +Tue Mar 2 18:03:25 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Sep 9 15:56:09 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * objc-act.c (handle_class_ref): Call assemble_external. - * Makefile.in (mostlyclean): Delete xlimits.h. +Tue Mar 2 15:56:17 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * final.c (output_addr_const): - If 2nd arg of MINUS is negative integer, put it in parens. + * genattrtab.c (write_const_num_delay_slots): Output 'rtx insn' not + 'rtx *insn' for const_num_delay_slot argument. -Wed Sep 9 10:10:30 1992 Michael Meissner (meissner@osf.org) + * gcc.c (main): Truncate programname to what is after last slash. - * va-mips.h (va_arg): Handle structures larger than 8 bytes. - (all macros): Put __ in front of all macro arguments. + * cccp.c (do_include): Warn if find unreadable header file. + (errno.h): Move outside VMS specific section. -Wed Sep 9 00:45:02 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * sparc.c (print_operand): Use output_operand_lossage, not abort. - * sol2-crt1.asm (.nope): Really store into environ. + * sparc.h (SETUP_FRAME_ADDRESS, DYNAMIC_CHAIN_ADDRESS, + RETURN_ADDR_IN_PREVIOUS_FRAME, RETURN_ADDR_RTX): Define. + * sparc.md (flush_register_windows, goto_handler_and_restore): + Give names to these patterns so they are easier to use. + * expr.c (expand_builtin, BUILT_IN_FRAME_ADDRESS case): Use new + macros SETUP_FRAME_ADDRESSES and RETURN_ADDR_IN_PREVIOUS_FRAME. - * libgcc2.c (__gcc_bcmp): New function, in cond on L__gcc_bcmp. - * Makefile.in (LIB2FUNCS): Add L__gcc_bcmp. + * reorg.c (relax_delay_slots): Delete jump around insn identical + to the insn in its delay slot. - * expr.c (expand_expr): Support IN_EXPR. + * i960.c (i960_output_call_insn): Delete scratch_reg arg. Use r3 + instead. + * i960.md (call_internal*): Use hard register 19 (r3) in clobber + instead of match_scratch. -Tue Sep 8 20:04:43 1992 Paul Eggert (eggert@twinsun.com) + * i960.md (mov*): Only accept store zero to memory insn if + rtx_equal_function_value_matters is zero. + * i960.h (rtx_equal_function_value_matters): Declare. - * c-convert.c (convert_to_integer): When optimizing LSHIFT_EXPR and - RSHIFT_EXPR, do compares at tree level. + * emit-rtl.c (gen_sequence): Add push_obstacks_nochange and + pop_obstacks calls around rtl_in_saveable_obstack call. + * varasm.c (immed_double_const, immed_real_const_1): Likewise. + * tree.c (rtl_in_saveable_obstack): Always switch to saveable_obstack. + Return type now void instead of int. - * 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. +Tue Mar 2 14:57:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Sep 8 17:35:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * gcc.c (link_command_spec): Do nothing if -fsyntax-only. - * dbxout.c (dbxout_type_fields): Handle nameless subrecords for Pascal. - (dbxout_type): Handle CHAR_TYPE, BOOLEAN_TYPE. FILE_TYPE, SET_TYPE. +Tue Mar 2 14:17:47 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - * news.h (ASM_OUTPUT_OPCODE): Deleted. + * pa.h (ADJUST_COST): Add new definition. + * pa.c (pa_adjust_cost): New procudure. - * c-parse.y (stmt): In for stmt, put proper lineno before increment. - Don't call position_after_white_space. +Tue Mar 2 02:12:13 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Sep 8 06:31:17 1992 Michael Meissner (meissner@osf.org) + * optabs.c (gen_move_insn): Big `if' applies only for MODE_CC class. - * cp-typeck.c (constant_print_warning): Deleted. + * config/m68k/next.c (handle_pragma): New arg get_line_function. + * config/m68k/next.h (HANDLE_PRAGMA): Pass suitable arg. + * c-lex.h (get_directive_line): Declared. -Tue Sep 8 05:26:19 1992 Mike Stump (mrs@hal) +Tue Mar 2 10:48:46 1993 Wilson Tien (wtien at urbana.mcd.mot.com) - Tue Aug 18 23:56:16 1992 Ron Guilmette (rfg at netcom.com) + * m68k.md (truncdfsf2+2): Use f%$move instead of fsmove. - * tree.h (BINFO_VPTR_FIELD): Added to support debugging - information about virtual base class pointers. + * m68k.md (fix_truncdfsi2, fix_truncdfhi2, fix_truncdfqi2): + Use %# instead of #. -Mon Sep 7 19:39:45 1992 Brendan Kehoe (brendan@cygnus.com) + * m68k.md (call, call_value): Set SYMBOL_REF_FLAG for the called + function symbol_ref rtx. In PIC mode, output `bsr FUNC@PLTPC' + when the operand is symbol_ref. - * c-typeck.c (constant_print_warning): Deleted. - * c-common.c: Moved here. + * m68kv4.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Use SIZE instead + of ROUNDED. -Mon Sep 7 17:03:07 1992 Paul Eggert (eggert@twinsun.com) + * m68kv4.h (ASM_OUTPUT_CASE_LABEL): Always use `swbeg' syntax to + output switch table (m68k.md depends on this to happen). - * fold-const.c (fold): Check abs for constant integer overflow. + * m68kv4.h (LEGITIMATE_PIC_OPERAND_P): Treat a symbol_ref rtx with + SYMBOL_REF_FLAG set a valid PIC operand. -Mon Sep 7 01:31:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * m68kv4.h (OVERRIDE_OPTIONS): Turn off function cse when doing pic. - * c-common.c (check_case_value): Call constant_expression_warning. + * m68k.c (output_function_prologue): Use m68k svr4 PIC format to + load the address of _GLOBAL_OFFSET_TABLE_ into PIC_OFFSET_TABLE_REG + in function prologue when doing PIC. - * cse.c (simplify_binary_operation): For DIV by 0, do nothing. + * m68k.c (print_operand_address): Always add "@GOT" suffix for the + global object operand when doing PIC. - * c-decl.c (duplicate_decls): Set DECL_INLINE in newdecl - so it is copied into olddecl. +Mon Mar 1 19:00:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sun Sep 6 08:53:46 1992 Fred Fish (fnf at fishpond) + * c-lex.h (RID_ITERATOR): New alternative. + * c-tree.h (ITERATOR_P, ITERATOR_BOUND_P): New macros. - * m68k.md (fsglmul pattern): If FSGLMUL_USE_S, opcode has .s, not .x. - * amix.h (FSGLMUL_USE_S): Defined. + * c-typeck.c (build_unary_op): Warn if increment `struct unknown *'. -Sun Sep 6 17:42:33 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) + * c-lex.c (init_lex): Set up ridpointers for `iterator'. + But maybe turn it off again. + + * c-parse.gperf: Add `iterator' and `__iterator__'. - * pa.md (indirect_jump): Annul the next instruction if the delay - slot could not be filled instead of emitting a nop. + * c-decl.c (grokdeclarator): Handle iterator storage class. + (finish_decl): For iterator, require initial value, make a save_expr. + (init_decl_processing): Call init_iterators. - * 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. + * c-parse.in (stmt): Allow all_iter_stmt. + (primary -> statement expression): Push and pop iterator stack. + (stmt -> expr): Use iterator_expand. + (all_iter_stmt): New rule. - * pa.md (use_milli_regs attribute): Deleted, not necessary anymore. - All references deleted. - * pa.c (use_milli_regs): Deleted. + * c-typeck.c (readonly_warning): Warn about assignment to iterator. -Sun Sep 6 17:11:00 1992 Torbjorn Granlund (tege@jupiter.sics.se) + * c-iterate.c: New file. + * Makefile.in (c-iterate.o): New target. + (C_OBJS, OBJC_OBJS): Add c-iterate.o. - * arm.h (MOVE_MAX): Define as 4. + * Makefile.in (gcc.o): Delete dep obstack.h. - * ns32k.c (hard_regno_mode_ok): Don't abort if unknown mode, - return 0 instead. Declare argument MODE as `enum machine_mode'. +Mon Mar 1 07:29:51 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * i860.h (HARD_REGNO_MODE_OK): Allow BLKmode. + * integrate.c (subst_constants): Use proper mode when getting + equivalent constant for paradoxical SUBREG in SET_DEST. + (mark_stores): Clean up and tighten to properly handle hard regs. -Sun Sep 6 16:57:12 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * combine.c (subst, case NOT): If STORE_FLAG_VALUE==-1, treat + an ASHIFTRT of just the sign bit as if it were an LT. + (subst, case XOR): Likewise for STORE_FLAG_VALUE==1 and an LSHIFTRT. + (simplify_and_const_int, case LSHIFTRT): If shifting a sign bit + copy, start shift at the sign bit. + (simplify_shift_const): Likewise for ASHIFTRT. - * expr.c (init_expr_once): Don't try HARD_REGNO_MODE_OK on VOIDmode - or BLKmode. + * combine.c (BYTE_LOADS_EXTEND): Fix typo when defining. + (setup_incoming_promotions): Set modes properly. -Sun Sep 6 14:27:57 1992 Michael Meissner (meissner@osf.org) + * alpha.md: Add three special-cases of CMP insns against zero. - * cp-typeck.c (constant_expression_warning): New fn from c-typeck.c. +Mon Mar 1 06:17:02 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) -Sun Sep 6 09:11:46 PDT 1992 Ron Guilmette (rfg at netcom.com) + * pa.h (CONSTANT_ADDRESS_P): Do not accept symbolic + addresses. + (LEGITIMIZE_ADDRESS): Just a stub now. Call + hppa_legitimize_address to do the real work. - * c-decl.c (duplicate_decls): Don't set DECL_EXTERNAL in olddecl. - Preserve DECL_UID of olddecl. + * pa.c (symbolic_expression_p): New function. + (hppa_legitimize_address): Old LEGITIMIZE_ADDRESS moved + here. Handle symbol_ref + displacement addresses. + Use rounding instead of masking off lower bits. + Avoid creating useless pseudos and strip off CONST in + (const (...)) expressions to make processing easier. -Sun Sep 6 03:37:21 1992 James Van Artsdalen (james at bigtex.cactus.org) + * pa.md (define_split for symbol_ref+int): New define_split for + the combiner. - * i386.md (cmpstrsi): Rewrite expander to handle operands correctly. +Sat Feb 27 01:57:34 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sat Sep 5 22:55:53 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * c-typeck.c (convert_for_assignment): New arg FUNDECL. Calls changed. + (convert_arguments): New arg FUNDECL. + (build_function_call): Pass function to convert_arguments, if a decl. - * combine.c (try_combine): Make change missing from last modification - to splitting code. + * config.sub: Error if company name is more than one word. + If $os is `sunos...', don't change it to manufacturer's name. -Sat Sep 5 19:21:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * enquire.c (fake_f_rep): Clear all of u, initially. + Make the ints in u unsigned. + (f_define): Use ordinary constants for long double + if it's same width as double. + Make __convert_long_double_i unsigned. - * stor-layout.c (layout_type): Caller must give size of FILE_TYPE. + * va-i860.h (struct __gnuc_va_list): Test __svr4__ like __SVR4__. -Sat Sep 5 16:34:50 1992 Torbjorn Granlund (tege@jupiter.sics.se) + * config/ns32k/ns32k.h (TARGET_SWITCHES): Reverse defn of 32332. - * arm.c (before functions): Remove xmalloc decl. - (arm_asm_output_label): Cast value from xmalloc. + * expr.c (convert_move): Truncate via word_mode + only if to_mode fits in one word. + Truncate by referring in TO_MODE for any FROM, + but force_reg if nec. - * 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. + * c-decl.c (pushdecl): Nested fn decl gets DECL_CONTEXT iff not extern. -Sat Sep 5 02:39:37 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-lex.c (check_newline): #line updates input_file_stack->name. - * news.h (ASM_OUTPUT_OPCODE): Defined. + * c-typeck.c (convert_for_assignment): Automatically convert + to a union from its members' types. -Sat Sep 5 18:52:21 1992 Jukka Virtanen (jtv@kampi.hut.fi) + * config/ns32k/ns32k.h (ASM_OUTPUT_ALIGN_CODE): + Pad with no-op insns. - * stor-layout.c (layout_type): Handle BOOLEAN_TYPE, CHAR_TYPE, - and FILE_TYPE for Pascal. - (fixup_signed_type): New function. + * c-decl.c (grokdeclarator): Make `long long' work even with + -pedantic, despite the warning. - * 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. +Fri Feb 26 22:01:32 1993 Ian Lance Taylor (ian@cygnus.com) - * 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. + * cccp.c (USER_LABEL_PREFIX, REGISTER_PREFIX): If not defined by + tm.h, set to empty strings. + (enum node_type, special_symbol): Added T_USER_LABEL_PREFIX_TYPE + and T_REGISTER_PREFIX_TYPE, which expand to USER_LABEL_PREFIX and + REGISTER_PREFIX. + (initialize_builtins): New builtin definitions + __USER_LABEL_PREFIX__ and __REGISTER_PREFIX__. - * print-tree.c (print_node): Handle BOOLEAN_TYPE and CHAR_TYPE. - * emit-rtl.c (gen_highpart): New function. +Fri Feb 26 18:08:58 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Sep 4 23:20:59 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Makefile.in (distdir): Depend on cp-parse.y, + and the .c files for the .y files. - * 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. + * c-decl.c (declare_parm_level): Unconditionally store 1. + (pushdecl): Criterion for no warning is, next level up + is a parm level. - * 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. + * Makefile.in (all.cross): Depend on enquire. -Fri Sep 4 17:24:11 1992 Torbjorn Granlund (tege@jupiter.sics.se) + * libgcc2.c (inhibit_libc): Renamed from inhibit_eprintf. + (L_new_handler): Don't include stdio.h if inhibit_libc. - * pa.c (output_move_double): Use %R to store at auto-incr/decr - addr. Split incr and decr cases for store. + * c-typeck.c (process_init_constructor): Error msg change. -Fri Sep 4 03:49:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * gstdarg.h (_VA_LIST_T_H): Test and define this. + * gvarargs.h (_VA_LIST_T_H): Test and define this. - * 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. + * gstddef.h (_SYS_SIZE_T_H): Test this and define this. - * move-if-change: Undo previous change. + * xm-pbd.h (USE_C_ALLOCA): Define here. + * pbd.h (USE_C_ALLOCA): Not here. - * c-decl.c (grokparms): Copy arg type list to savable obstack if nec. + * tree.c (simple_cst_equal): New default case handles most + tree codes based on TREE_CODE_CLASS. Delete newly redundant cases + for specific tree codes. -Fri Sep 4 19:40:32 1992 Paul Eggert (eggert@twinsun.com) + * dbxout.c (dbxout_type): Enable output of subrange types + if use_gnu_debug_info_extensions. + (dbxout_finish_symbol): Enable output of symbols line number. - * c-typeck.c (constant_expression_warning): Now works; - it reports signed integer overflow in constant expressions, + * c-typeck.c (initializer_constant_valid_p): + Allow cast of ptr to wider integer. - * 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. +Fri Feb 26 19:04:36 1992 Karl Berry (karl@cs.umb.edu) -Thu Sep 3 22:28:41 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) + * optabs.c (init_libfuncs): Use int instead of enum for + first_mode, last_mode, and mode. - Complete 12th Cygnus<-->FSF merge. +Fri Feb 26 14:29:22 PST 1992 Ron Guilmette (rfg@netcom.com) - Thu Sep 3 12:29:24 1992 Brendan Kehoe (brendan@cygnus.com) + * c-parse.in (ivar_decls): Give a pedwarn (instead of a warning) for + excess semicolons. - These changes are propagated from changes to c-*.c. + * cccp.c (do_include): Correctly report the directive name + when any kind of include directive has no argument or null argument. - Mon Aug 17 16:28:48 1992 Chip Salzenberg (chip@tct.com) +Fri Feb 26 11:27:35 1992 Tom Wood (wood@NeXT.com) - * 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. + * toplev.c (compile_file): Use pedwarn_with_decl to warn about + functions declared static but not defined. + * c-decl.c (store_parm_decls): Use pedwarn. - * cp-parse.y (datadef): For empty declaration, use pedwarn. +Fri Feb 26 10:34:33 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - Mon Aug 17 17:08:11 1992 Chip Salzenberg (chip@tct.com) + * Makefile.in (uninstall): Also remove the g++ manual page. - * cp-cvt.c (convert): When converting to variant of same type, fold. +Fri Feb 26 01:29:53 1992 Paul Eggert (eggert@twinsun.com) - Wed Aug 19 16:58:41 1992 Chip Salzenberg (chip@tct.com) + * cexp.y (parse_escape): Don't treat ^ as special after \. - * cp-typeck.c (default_conversion): Convert enumeral types to - appropriate _signed_ type unless -traditional. +Fri Feb 26 21:37:29 1993 John F Carr (jfc at Athena.MIT.EDU) - Tue Aug 4 13:11:36 1992 Chip Salzenberg (chip@tct.com) + * varasm.c (make_decl_rtl): Print an error for explicit register + variable whose type cannot be stored in that register. - * cp-cvt.c (convert): If main variants match, - but the type is not identical, make a NOP_EXPR. +Fri Feb 26 17:07:25 1993 Doug Evans (dje@canuck.cygnus.com) - * 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. + * machmode.def: Added 32-byte int OImode. - * cp-decl2.c (warn_redundant_decls): Defined. - (lang_decode_option): Decode -Wredundant-decls. +Fri Feb 26 13:59:23 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * cp-typeck.c (build_conditional_expr): Don't use type1 as - temporary variable; set result_type directly. + * explow.c (memory_address): Use CONSTANT_ADDRESS_P instead of + LEGITIMATE_CONSTANT_P. + (break_out_memrefs): Likewise. - Tue Aug 4 12:04:17 1992 Chip Salzenberg (chip@tct.com) +Fri Feb 26 06:18:40 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * expr.c (expand_expr, case IN_EXPR): Fix numerous small bugs and + make some cleanups. - Tue Aug 4 09:17:32 1992 Chip Salzenberg (chip@tct.com) + * recog.c (constrain_operands, case 'r'): If STRICT, a REG isn't + valid if it is a pseudo even if GENERAL_REGS == ALL_REGS. - * 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. + * alpha.h (LEGITIMIZE_ADDRESS): Add missing args to calls to + expand_binop. - * 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. +Thu Feb 25 17:24:45 1993 Bill Cox (bill@rtl.cygnus.com) - * cp-parse.y (primary): Wrap a NOP_EXPR around an enum value. + * expr.h: Add prototypes for most expr-related functions. + * jump.c (jump_optimize): Add missing parameter in expand_binop call. - Wed Sep 2 18:06:47 1992 Mike Stump (mrs@cygnus.com) +Thu Feb 25 17:50:55 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Wed Sep 2 17:33:59 1992 Chip Salzenberg (chip@tct.com) + * toplev.c: No need to #undef ABS; done in rtl.h. - * cp-decl.c (grokdeclarator): Default friends to being PUBLIC. + * reorg.c (redundant_insn_p): Fix typo in testing for types of + insns by using GET_RTX_CLASS. - Tue Sep 1 12:33:01 PDT 1992 Ron Guilmette (rfg at netcom.com) + * expmed.c (emit_store_flag): Fix typo in testing BRANCH_COST. - * cp-init.c (do_friends): Always return `void_type_node'. +Thu Feb 25 14:32:31 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * cp-decl.c (grokparms): Call digest_init on default arguments for - formal parameters. + * combine.c (set_nonzero_bits_and_sign_copies): Fix typo in + paradoxical set dest handling. - * cp-decl.c (xref_tag): The BINFO records describing individual - inheritances aren't shared in the lattice. + * convert.c (convert_to_integer): Delete Feb 19 change. - Tue Sep 1 12:27:17 1992 Mike Stump (mrs@cygnus.com) + * fold-const.c (decode_field_reference): Fix force_fit_type call. - * 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 Feb 25 07:38:36 1993 Ian Lance Taylor (ian@cygnus.com) - * 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. + * fixinc.sco: Use pwd if PWDCMD is not defined. - Tue Sep 1 11:58:52 1992 Mike Stump (mrs@cygnus.com) +Wed Feb 24 18:28:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-tree.h (THIS_NAME): Use the name ``this'' instead of the more - cryptic name ``$t''. + * config/vax/vms.h (ASM_OUTPUT_EXTERNAL): Use vms_check_external. + (ASM_GLOBALIZE_LABEL): New definition; use vms_check_external. + * config/vax/vax.c (vms_check_external): New function. - Mon Aug 31 22:32:34 1992 Mike Stump (mrs@rtl.cygnus.com) + * config/m68k/xm-mot3300.h (NO_SYS_SIGLIST): Defined. - * 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 *). +Wed Feb 24 16:01:42 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * 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. + * loop.c (consec_sets_invariant_p): Correct REG_EQUAL note checks + to distinguish libcall case from ordinary insn case. - Mon Aug 31 18:34:33 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * loop.c (add_label_notes): Don't add notes for references to + dispatch tables because jump doesn't. + (find_and_verify_loops): Invalidate loops that contain labels + whose address has been taken. - * cp-decl.c (start_function): When a friend function is being - defined, put it in (lexical) scope of the class in which it appears. + * fixinc.svr4 (string.h): Delete 'g' from sed command. - Mon Aug 31 09:57:27 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * sparc.md (zero_extendqi*i2): Delete never matched constraints. - * 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. + * i960.c (umulsidi3+1): Delete extra parenthesis. - * cp-class.c (finish_struct_methods): Give the name of the class - in question when reporting that all its member functions are - private. +Tue Feb 23 15:09:50 1993 Ian Lance Taylor (ian@cygnus.com) - Sun Aug 30 08:34:03 1992 Mike Stump (mrs@rtl.cygnus.com) + * Makefile.in (install-headers): Create relative paths for + symbolic links within installed include directory. - * cp-decl2.c (setup_vtbl_ptr): Disable the code, until problems can - be worked around. +Tue Feb 23 14:43:46 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Sat Aug 29 10:34:10 1992 Mike Stump (mrs@rtl.cygnus.com) + * stmt.c (check_for_full_enumeration_handling): Handle nameless type. - * 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. + * tree.h (CONSTRUCTOR_NAME_FORMAT): Handle NO_DOT_IN_LABEL. - Sat Aug 29 10:03:07 1992 Mike Stump (mrs@rtl.cygnus.com) + * config/m68k/mot3300.h (NO_DOLLAR_IN_LABEL, NO_DOT_IN_LABEL): Defined. - * cp-class.c (finish_struct): Allow extern "C" functions to be - friends. + * collect2.c (is_ctor_dtor): Handle NO_DOT_IN_LABEL. - Sat Aug 29 04:43:22 1992 Mike Stump (mrs@rtl.cygnus.com) +Mon Feb 22 18:06:06 1993 John Hassey (hassey@dg-rtp.dg.com) - * 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. + * m88k.c (output_call): Don't use the delay slot of a bsr.n + to modify the return address, unless -O2 specified. - Thu Aug 27 09:33:13 1992 Brendan Kehoe (brendan@cygnus.com) +Mon Feb 22 17:36:52 1993 Kresten Krab Thorup (krab at xiv) - * cp-decl.c (grokdeclarator): Name operators properly when - complaining about trying to declare it as a method when not in a - class. + * objc/core.c (initialize_class): Take Class_t instead of + char* as argument. Callers changed to pass the class. - * 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/core.c (initialize_class): Mark the class + initialized *before* the actual call of "+initialize". This is + needed in case of certain circular dependances between classes. - * cp-decl.c (shadow_tag): Don't allow a function to be a member of - an anonymous union. + * objc/object.m (doesNotRecognize): Call sel_getName to get + the name of the selector, and print that. + (subclassResponsibility, notImplemented): Likewise. - * 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. +Mon Feb 22 00:23:47 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) - Wed Aug 26 20:24:07 1992 Brendan Kehoe (brendan@cygnus.com) + * expr.c (emit_library_call_value): Fix bug in prev change. - * 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. + * Makefile.in (install-include-dir): Depend on install-dir. - * cp-call.c (build_method_call): Put out proper line number for - error with the use of a private constructor. + * convert.c (convert_to_integer): #if 0 the truncated integer warning. - * 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'). +Mon Feb 22 15:15:40 1993 James Van Artsdalen (james@bigtex.cactus.org) - * cp-decl.c (grokdeclarator): Allow neither constructors nor - destructors to be declared const or volatile. + * fold-const.c (all_ones_mask_p): Really use tmask. - * 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 Feb 22 11:59:09 1993 Michael Meissner (meissner@osf.org) - * cp-tree.c (lvalue_p, ADDR_EXPR case): Casts to references are - lvalues. + * fold-const.c (all_ones_mask_p): Declare tmask to be `tree'. + (optimize_bit_field_compare) Add missing semicolon. -Thu Sep 3 02:46:44 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sun Feb 21 20:20:13 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) - * caller-save.c (setup_save_areas): Don't look at WORDS_BIG_ENDIAN. + * expr.c (emit_library_call_value): Really pass mem value address + to the library function. - * 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. +Sun Feb 21 15:15:40 1993 James Van Artsdalen (james@bigtex.cactus.org) - * cexp.y: Comment syntax fix. + * fold-const.c (decode_field_reference): Use force_fit_type + instead of convert to avoid truncated integer warning. + (all_ones_mask_p): Likewise. -Thu Sep 3 01:48:16 1992 Torbjorn Granlund (tege@jupiter.sics.se) +Sun Feb 21 13:06:00 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * we32k.md (casesi): Use match_dup for second mention of operand 4. + * pa.md (load high pattern): Rework constraints to reduce %r1 + spillage. -Wed Sep 2 06:58:32 1992 Michael Meissner (meissner@osf.org) + * pa.md (const_double -> FP pattern): Remove cases which can never + happen anymore. - * 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. + * pa.c (print_operand, case 'Y'): Output comparison operators + which will give the right results when one or more operands is a NaN. - * gcc.c (main): Use new loop var J to avoid conflict with I. +Sun Feb 21 01:38:19 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) -Wed Sep 2 19:09:02 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) + * expr.c (emit_move_insn_1): New subroutine cut from emit_move_insn. + (emit_move_insn): Use that. + * optabs.c (gen_move_insn): Use emit_move_insn_1. + * expr.h (emit_move_insn_1): Declared. - * 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. +Sat Feb 20 20:33:51 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) -Wed Sep 2 12:34:39 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * cccp.c: Add declaration for pedwarn_with_line. - * caller-save.c (insert_save_restore): Correct test for - determining whether multiple registers can be saved. +Sat Feb 20 14:46:25 1993 James Van Artsdalen (james@bigtex.cactus.org) - * sparc.md (SImode ldd peepholes): Add `f' to constraints. + * fixincludes (SRCDIR): Make absolute from ORIGDIR. + (sys/types.h): Quote variables that might expand with spaces. + Strip quotes from expansion of SIZE_TYPE. + (stdio.h): Fix typo deleting line. - * sparcv4.h (HANDLE_PRAGMA): Delete. - * sparc.c (handle_pragma_token): Delete. +Sat Feb 20 18:41:05 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * config/spc-sol2.h: Change the location of the Sun bundled C - compiler in MD_STARTFILE_PREFIX (for backup defaults). + * cccp.c (warning_with_line, pedwarn_with_line): New functions. + (rescan): For pedantic, no error if string constant has newline, + just a pedwarn. And don't end the string constant there. -Wed Sep 2 09:11:16 1992 Tom Wood (wood@dg-rtp.dg.com) +Sat Feb 20 17:25:16 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) - * m88k.h (MOVE_MAX): Express in bytes not bits. + * fold-const.c (decode_field_reference): Use force_fit_type + instead of convert to avoid truncated integer warning. - * m88k.c (output_ascii): Output known escape characters and don't - terminate the constant if an octal escape is used. +Sat Feb 20 07:31:32 1993 John Hassey (hassey@dg-rtp.dg.com) -Wed Sep 2 06:38:37 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * fixincludes: Change "va_list)" to "__gnuc_va_list)". - * 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 Feb 20 03:19:44 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) -Wed Sep 2 00:15:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fixincludes: Save temp file in ${LIB}. + Use -I${ORIGDIR} when compiling types.c. - * Makefile.in (install): Add semicolon to make an empty command. +Fri Feb 19 00:45:41 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * reload.c (find_reloads): If have any earlyclobbers, don't let any - reloads overlap with them. Make everything RELOAD_OTHER. + * convert.c (convert_to_integer): Warn if integer is truncated + and that changes the value. - * move-if-change: Give status 1 if file is unchanged. +Thu Feb 18 20:15:20 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * 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. + * aix386.h: Include aix386ng.h instead of duplicating it. + * 3b1.h (ASM_OUTPUT_CASE_END): Add missing semicolon. - * x-i386sco (X_CFLAGS): Deleted. - * x-i386sco4: New file, like old x-i386sco. - * configure (i386-*-sco3.2v4*): Use x-i386sco4. + * sparc.c (output_function_prologue): Don't save %f31 to stack. + * sparc.h (STARTING_FRAME_OFFSET): Set to -8. - * t-sol2 (gmon.o): Find gmon-sol2.c in config. + * pbd.h, sol2.h, sparc.h, sysv4.h (CPP_PREDEFINES): Add + -D__GCC_NEW_VARARGS__. + * va-sparc.h (va_start): If __GCC_NEW_VARARGS__ not defined, use + old definition. - * c-typeck.c (process_init_constructor): Fix bugs in previous change. + * final.c (end_final): Don't call assemble_zeros with an size + argument of zero. -Tue Sep 1 23:51:19 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * move-if-change: Use cmp -s instead of redirecting output to + /dev/null. - * 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'. + * calls.c (expand_call): When MAYBE_REG_PARM_STACK_SPACE defined, + if reg_parm_stack_space is zero, set args_size.constant to zero. -Tue Sep 1 20:09:29 1992 Paul Eggert (eggert@twinsun.com) +Thu Feb 18 17:43:30 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * print-tree.c (print_node): Avoid 1 << (HOST_BITS_PER_INT - 1), - which overflows. Use unsigned % to compute HASH. + * objc/core.c (__objc_execClass): + Don't assign superclass pointer more than once. -Tue Sep 1 17:23:28 1992 Tim Moore (moore@hal) + * objc/record.h (record_store_at, record_get): + Test record_capacity, not record_entries, in assertion. - * 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. + * flow.c (regno_uninitialized): Test global_regs only for hard regs. -Tue Sep 1 11:27:08 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * c-lex.c (yylex): Undo Feb 7 change. + * c-parse.in (program): After extdefs, pop any unpopped binding lvls. - * 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.) + * Makefile.in (BISONFLAGS): Add -v. -Sat Aug 29 13:44:21 PDT 1992 Ron Guilmette (rfg at netcom.com) +Wed Feb 17 18:51:51 1993 Karl Berry (karl@owl.hq.ileaf.com) - * 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. + * toplev.c (ABS): #undef after including sys/resource.h. -Tue Sep 1 10:53:58 1992 Torbjorn Granlund (tege@jupiter.sics.se) +Wed Feb 17 22:02:09 1993 John Hassey (hassey@dg-rtp.dg.com) - * pa.c (output_move_double): Use `ldo' for immediate adds (instead - of `addi' with bad syntax). - (output_load_address): Likewise. + * m88k.c (emit_ldst): For large offsets use register index + instead of immediate. -Tue Sep 1 02:41:13 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Feb 17 18:02:26 EST 1993 John Wehle (john@feith.com) - * tree.h (struct tree_type): Make `align' field an int. + * we32k.h (CONST_COSTS): Updated to better reflect + the actual constant costs on a we32k. - * c-tree.h (IDENTIFIER_LIMBO_VALUE): New macro. - (struct lang_identifier): New field limbo_value. + * we32k.md (truncdfsf2, extendsfdf2): Changed from + define_insn to expand_insn so the optimizer can do + a better job. -Mon Aug 31 12:59:22 PDT 1992 Ron Guilmette (rfg at netcom.com) + * we32k.h (GO_IF_LEGITIMATE_ADDRESS): Added support for + deferred addressing. - * tree.c (make_node): Fix typo in July 6 change: - assignment of DECL_IN_SYSTEM_HEADER was inserted in bad place. + * we32k.md: Eliminated a jmp pattern and the peephole + patterns which are no longer needed now that deferred + addressing is supported. -Mon Aug 31 21:28:08 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Wed Feb 17 17:55:34 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * fixincludes (sys/types.h): Replace definition of size_t + based on SIZE_TYPE. -Mon Aug 31 15:32:13 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Feb 17 06:54:42 1993 John Hassey (hassey@dg-rtp.dg.com) - * 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. + * config/m88k/m88k.h (CONST_OK_FOR_LETTER_P): Added 'K'. + * config/m88k/m88k.md: Use 'K' constraint with arith5_operand + predicate. -Mon Aug 31 10:06:16 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) +Wed Feb 17 03:04:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * Makefile.in (stmp-fixinc): Renamed from stmp-fixincludes. -Mon Aug 31 04:02:21 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Feb 16 14:34:19 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * fold-const.c (const_binop): Delete special case for mult by 3. + * config/sparc/sparc.h (ASM_OUTPUT_IDENT, IDENT_ASM_OP): Defined. - * toplev.c (lang_options): Add terminating zero. +Tue Feb 16 02:48:58 EST 1992 John Wehle (john@feith.com) - * configure.bat: Remove version number from initial message. + * reload.c (find_reloads_address): Use strict_memory_address_p + to check for valid indirect address. -Sun Aug 30 17:22:11 1992 James Van Artsdalen (james at bigtex.cactus.org) + * xm-we32k.h: Include xm-svr3.h. Move tm.h include earlier. + (HOST_BITS_PER_LONGLONG, HOST_WORDS_BIG_ENDIAN): Defined. + (USG, bcopy, bzero, bcmp): Deleted. + (alloca): Definition moved before tm.h. - * cccp.c (do_pragma): In prev. change, really use U_CHAR *, not char *. +Tue Feb 16 01:28:52 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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-typeck.c (build_indirect_ref): Avoid *& short-cut if -fvolatile. - * 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. +Mon Feb 15 22:22:08 1993 Michael Meissner (meissner@osf.org) - * x-i386v4: New file. - (CLIB): Get alloca from libucb.a. - * configure (i386-*-sysv4*): Use x-i386v4. + * mips/osfrose.h (CPP_SPEC): When preprocessing .S files, pass + -traditional if neither -ansi nor -traditional was passed, to + allow the macros which form labels to not give gas heartburn. -Sun Aug 30 15:32:54 1992 Dennis Glatting (dglattin at trirex.com) + * i386/osfrose (CPP_SPEC): Ditto. - * objc-actions.c (create_builtin_decl): Set TREE_STATIC. - Don't set DECL_EXTERNAL or TREE_PUBLIC. +Mon Feb 15 02:17:47 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sun Aug 30 03:08:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * objc-act.c (HASHFUNCTION): insure nonnegative hash even if + addresses are negative. - * c-parse.y (initlist): Handle ranges of array elements. - * c-typeck.c (process_init_constructor): Handle ranges. +Sat Feb 13 04:16:29 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * c-decl.c (c_decode_option): Handle -Wmissing-braces. + * c-typeck.c (process_init_constructor): Test warn_missing_braces. + * c-tree.h (warn_missing_braces): Declared. -Sat Aug 29 22:41:49 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Fri Feb 12 19:40:38 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) - * alpha.h (ASM_FILE_START): Object file version number now 8.0. + * combine.c (setup_incoming_promotions): Make static. - * 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. - - * 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. +Fri Feb 12 16:02:52 1993 Per Bothner (bothner@hal.gnu.ai.mit.edu) - * alpha.h (INITIALIZE_TRAMPOLINE): Use Pmode when appropriate. - (FUNCTION_MODE): Use Pmode. + * tree.def: Fix typo in comment (TREE_VALUES -> TYPE_VALUES). - * alpha.md (div/mod): Indicate that reg 27 is clobbered too. +Fri Feb 12 11:26:28 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - * alpha.md (cmov): Add define_split for if_then_else/plus case. + * pa.md (rotlsi3): Fix typo, rotate was rotatert in rtl template. - * expr.c (emit_library_call): Pass correct number of args to - convert_to_mode. +Fri Feb 12 07:47:11 1993 John Hassey (hassey@dg-rtp.dg.com) - * expr.c (emit_block_move): Eliminate unnecessary test against - HOST_BITS_PER_WIDE_INT. + * function.c (reposition_prologue_and_epilogue_notes): Allow + for zero length prologue and epilogue list. - * optabs.c (expand_{binop,unop}): Don't make invalid - paradoxical SUBREGs. +Thu Feb 11 05:55:33 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * genattrtab.c (RTL_HASH, attr_rtx): Avoid warnings by casting - pointers to HOST_WIDE_INT instead of int. + * collect2.c (find_a_file): Always reject "./ld". + (main): Pass short name of program as first arg to fork_execute; + ensure argv[0] always gets filename. + (fork_execute): Print name for diagnostic from PROG; filename + comes from argv[0]. + * fixincludes: Don't assume that macros defining IO and CTRL + ioctl codes always use `x'; some use `c' or `g'. -Sat Aug 29 15:35:58 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * collect2.c (putenv): New function, copied from gcc.c. + (last_file_name): New variable. + (find_a_file): Ignore name in last_file_name too. + (main): Look at name in COLLECT_NAME and set it to the name we were + called with. + Pass filename used for ld to ld as argv[0]. - * toplev.c (lang_options): New table. - (main): Recognize all language-dependent options of any language - and always treat them as language-specific and valid. +Thu Feb 11 03:55:39 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-decl.c (c_decode_option): -fnotraditional really undoes - -ftraditional. Handle -fno-traditional also. + * expr.c (expand_builtin): Move memory_address calls + out of arglist of emit_block_move. -Sat Aug 29 00:34:01 1992 James Van Artsdalen (james at bigtex.cactus.org) +Wed Feb 10 16:14:09 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * reg-stack.c (record_reg_life): Mark an unused reg as such, even - if it appears in SET_SRC. + * Update Alpha support to latest calling sequence. + * alpha.c (version_string): Declare. + (current_file_function_operand): New function, replaces + current_function_operand. + (print_operand, case 'F'): Case deleted. + (alpha_builtin_saveregs): Reworked to use homed arglists, as + recommended in the calling standard. + (alpha_need_gp): Deleted, code moved into output_prolog. + (alpha_gp_dead_after): Deleted; optimization is not safe. + (alpha_write_verstamp): New function. + (output_prolog, output_epilog): Major rework to update to + current calling standard. + * alpha.h (ASM_OUTPUT_LOOP_ALIGN): Enable, now that assembler fixed. + (SLOW_UNALIGNED_ACCESS): Define as 1. + (ARG_POINTER_REGNUM): Use register number 31 as an arg pointer. + (FRAME_GROWS_DOWNWARD): Do not define. + (STARTING_FRAME_OFFSET): Now is outgoing args size. + (FIRST_PARM_OFFSET): Now 0. + (ELIMINABLE_REGS, etc.): Cannot eliminate gp, but do + eliminate AP in favor of either SP or FP. + (RETURN_IN_MEMORY): All structs or integers larger than 64 + bits get returned via memory. + (SETUP_INCOMING_VARARGS): Use homed arglist mechanism. + (ASM_DECLARE_FUNCTION_NAME): Use proper second arg to .ent. + (ASM_FILE_START): Call alpha_write_verstamp. + (ENCODE_SECTION_INFO): Record when a decl is for a function + in the current file. + * alpha.md (call insns): Always reload gp after a full call. + Use current_file_function_operand to see when we can use BSR. -Fri Aug 28 17:40:49 1992 John F Carr (jfc at Athena.MIT.EDU) +Wed Feb 10 09:53:00 1993 John Hassey (hassey@wombat.gnu.ai.mit.edu) - * tree.c (chainon): Check for op2 being the last elt of the chain. + * config.sub: removed m88kbcs, changed delta88 and harris to + use sysv3. -Fri Aug 28 13:26:56 PDT 1992 Ron Guilmette (rfg at ncd.com) +Wed Feb 10 03:29:11 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cccp.c (do_pragma): Use rindex, not strrchr. + * c-decl.c (duplicate_decls): Silently accept harmless mismatch + in type of 1st arg of builtin function. - * 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. + * c-typeck.c (build_indirect_ref): If arg is void *, just warn. -Fri Aug 28 13:25:59 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Feb 9 22:15:08 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cccp.c (do_pragma): In prev. change, use U_CHAR *, not char *. + * alpha.md (fix_truncdfdi2, fix_truncsfdi2): Use `cvttqc', not + `cvttq', to avoid rounding up. -Fri Aug 28 09:11:56 1992 Tom Wood (wood@dg-rtp.dg.com) +Tue Feb 9 18:45:57 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * m88k.h (ADJUST_COST): Add definition. + * function.c (promoted_input_arg): New function. + * expr.h: Declare it. + * combine.c (setup_incoming_promotions): New function. + (combine_instructions): Add calls to setup_incoming_promotions. -Thu Aug 27 18:27:02 1992 James Van Artsdalen (james at bigtex.cactus.org) +Tue Feb 9 14:04:22 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * c-decl.c (init_decl_processing): Add sin and cos as built-in - functions. - * expr.c (expand_builtin): Likewise. + * fixincludes: Fix logic about when to duplicate entries under the + `FILE' link. - * expr.h (sin_optab,cos_optab): Declare optabs for sin and cos. - * optabs.c (sin_optab,cos_optab): Define them. - (init_optabs): Initialize them. +Tue Feb 9 13:22:28 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * tree.h (BUILT_IN_SIN,BUILT_IN_COS): New builtin codes. + * cccp.c (main): Fix lineno of "does not end in newline" message. + (finclude): Likewise. - * 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. +Tue Feb 9 12:03:37 1993 Michael Meissner (meissner@osf.org) - (stack_reg_life_analysis): Don't assume that MODE_FLOAT values are - always returned in a float reg. + * mips/mips.c (function_epilogue): Avoid integer overflows in + checking whether $31 is the only register saved. + (mips_epilogue_delay_slots): Ditto. - (subst_stack_regs_pat): Add support for sin and cos insns. +Tue Feb 9 05:46:17 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * rtl.h: Undefine ABS; some POSIX systems define it as 1. - * 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. + * combine.c (combine_instructions): When calling + set_nonzero_bits_and_sign_copies, set things up so that we + can call get_last value; call record_dead_and_set_regs in loop. + (set_nonzero_bits_and_sign_copies): Handle paradoxical SET. - (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. +Tue Feb 9 01:13:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Aug 27 16:58:09 1992 Michael Meissner (meissner@osf.org) + * c-lex.c (yylex): For wide char constant, use wchar_type_node. + Swallow any preprocessing number as a (possibly erroneous) number. - * 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. + * tree.c (size_in_bytes): Add 2nd arg to force_fit_type. -Thu Aug 27 14:47:16 1992 Mike Stump (mrs@mole.gnu.ai.mit.edu) +Mon Feb 8 07:52:23 1993 Ian Lance Taylor (ian@cygnus.com) - * 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. + * configure (*-*-hpux*): Use install-headers-cpio. -Thu Aug 27 01:32:11 1992 Paul Eggert (eggert@twinsun.com) +Mon Feb 8 07:13:49 1993 John Hassey (hassey@dg-rtp.dg.com) - * c-lex.c, cp-lex.c (readescape): DEL isn't printable. - * c-typeck.c (check_format): Likewise. + * toplev.c (compile_file): Don't flag global register variables + as unused. -Wed Aug 26 20:42:36 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Feb 8 06:06:58 1993 James Van Artsdalen (james at bigtex.cactus.org) - * c-lex.c (readescape): For \x, don't include leading 0's in count. + * i386.md (extendsidi2): Use correct mnemonic for cwtl opcode. - * c-decl.c (init_decl_processing): Fix type of __builtin_constant_p. +Mon Feb 8 05:52:08 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * expr.c (emit_block_move): When trying movstrMM, cvt size to mode MM. + * expr.c (emit_push_insn): If REG is zero, don't set regs here. + * expr.h (MUST_PASS_IN_STACK_BAD_ALIGN): Deleted. + (MUST_PASS_IN_STACK): No problem anymore with nonaligned structs. + * calls.c: Allow passing nonaligned BLKmode structs in regs. + (struct arg_data): New fields aligned_regs and n_aligned_regs. + (expand_call): Set and use these fields when required. + (store_one_arg): Don't pass reg to emit_push_insn if we have + previously formed aligned registers. - * c-parse.y (stmt): For computed goto, convert arg to void *. +Sun Feb 7 23:34:16 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * fold-const.c (fold): Do A op C1 ? A : C2 opt only for INTEGER_TYPEs. + * expmed.c (emit_store_flag): Add missing arg to convert_move. -Wed Aug 26 20:19:56 1992 Mike Stump (mrs@wombat.gnu.ai.mit.edu) +Sun Feb 7 16:13:05 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu.edu) - * cp-decl.c (insert_block, delete_block): New functions. - * cp-parse.y (primary, using compstmt): Call delete_block instead - of clearing TREE_USED. + * calls.c (struct arg_data): New field MODE. + (expand_call, store_one_arg): Use it to ensure that all args get + promoted if requested, not just those passed in registers. - 11th Cygnus<-->FSF merge. +Sun Feb 7 13:12:23 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Wed Aug 26 12:02:41 1992 Mike Stump (mrs@rtl.cygnus.com) + * c-lex.c (yylex): At eof, if binding levels not popped, + imagine some close-braces to pop them. - * cp-decl.c (finish_function): Don't core dump when a conversion is - ambiguous. +Sun Feb 7 10:54:42 1993 Chip Salzenberg (chip@tct.com) - Tue Aug 25 16:32:42 1992 Mike Stump (mrs@rtl.cygnus.com) + * fold-const.c (fold): Call force_fit_type with two parameters. - * cp-init.c (build_new), cp-typeck.c (build_c_cast): Handle ``new - type ( ... )'' better. Default constructors and better error - checking. + * fold-const.c (force_fit_type): Don't examine the tree until + it is known to an INTEGER_CST. If it isn't, just return. - Tue Aug 25 01:21:48 1992 Mike Stump (mrs@cygnus.com) +Sat Feb 6 20:26:09 1993 James Van Artsdalen (james at bigtex.cactus.org) - * cp-decl2.c (finish_file): Mark " @%$#@!" as being internal. + * byteorder.h (386 htonl,htons): Avoid hard-coded register usage. - Mon Aug 24 16:40:15 1992 Brendan Kehoe (brendan@cygnus.com) +Sat Feb 6 20:23:02 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * config/m68k/m68k.md (movqi): For special case of moving byte + to stack, push into low byte and then copy to high byte. + For case of moving to/from address reg, exchange it with d0. - Mon Aug 24 20:48:16 1992 Mike Stump (mrs@cygnus.com) +Fri Feb 5 19:58:26 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Fri Aug 21 14:19:27 1992 Ron Guilmette (rfg at ncd.com) + * stmt.c (expand_expr_stmt): Bypass fetching a volatile value + if it is VOIDmode. - * cp-decl2.c (grokclassfn): Mark the artificial `this' parameter as - "artificial". +Fri Feb 5 18:27:27 1993 Jim Wilson (wilson@geech.gnu.ai.mit.edu) - Thu Aug 20 22:59:16 1992 Mike Stump (mrs@cygnus.com) + From Fred Fish (fnf@fishpond.cygnus.com) + * config.sub (i[34]86sol2): New abbrev for i[34]86-unknown-solaris2. + * configure (i[34]86-*-solaris2): New config for Solaris 2, x86. + * crtstuff.c (__do_global_ctors_aux): Use FORCE_INIT_SECTION_ALIGN + to avoid Solaris 2, x86 linker bug. + * config/i386/{sol2-c1.asm, sol2-ci.asm, sol2-cn.asm}: New runtime + support files for Solaris 2, x86. + * config/i386/{sol2.h, t-sol2}: New config files for Solaris 2, x86. - * 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. + * sparc.h (EXTRA_CONSTAINTS): Delete 'R' support. + (CONST_OK_FOR_LETTER_P): Correct 'K' comment. - Thu Aug 20 21:58:30 1992 Mike Stump (mrs@cygnus.com) + * caller-save.c (CEIL): Delete. + (restore_referenced_regs): New var NUMREGS. Pass NUMREGS to + insert_save_restore instead of using using CEIL. - * cp-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. + * sched.c (true_dependence, anti_dependence, output_dependence): + Assume that MEM_IN_STRUCT_P QImode varying addresses can overlap a + non-MEM_IN_STRUCT_P fixed address. - Thu Aug 20 21:20:31 1992 Mike Stump (mrs@cygnus.com) + * i960.c (legitimate_address_p): Accept either REG or SUBREG where + a register is valid in an address. - * cp-decl.c (finish_function): Don't core dump on parse errors. + * configure (*-*-sco*): Set install_headers_dir to cpio instead of tar. - Thu Aug 20 20:52:43 1992 Mike Stump (mrs@cygnus.com) + * cccp.c (finclude): Error if try to include a directory. + (S_ISDIR): Add a default definition. - * cp-method.c (build_component_type_expr): Don't core dump on parse - errors. +Fri Feb 5 10:24:35 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - Thu Aug 20 18:31:58 1992 Mike Stump (mrs@cygnus.com) + * toplev.c (lang_options): Remove `-fSOS' and `-fno-SOS'. - Mon Aug 17 17:08:11 1992 Chip Salzenberg (chip@tct.com) + Wed Feb 3 16:34:58 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - Copy some changes from the C front-end: + * cp-decl.c (init_decl_processing): Add __builtin_args_info. - * 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. + Wed Feb 3 12:47:02 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - Thu Aug 20 16:11:58 1992 Mike Stump (mrs@cygnus.com) + * cp-class.c (finish_struct_methods): Avoid creating a circularity + when putting ctors and dtors at the front of the list. - * 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. + * cp-init.c (build_new): Call c_sizeof_nowarn, not c_sizeof. + (build_delete): Likewise. - Thu Aug 20 14:46:39 1992 Mike Stump (mrs@cygnus.com) + Tue Feb 2 09:57:29 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - Thu Aug 20 02:36:39 1992 Ron Guilmette (rfg at ncd.com) + * cp-lex.c (yyprint): Make non-static. - * cp-lex.c (cons_up_default_function): Use DECL_SOURCE_LINE = 0 for - compiler generated things, not DECL_IGNORED_P. + Mon Feb 1 17:09:19 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - Thu Aug 20 13:13:45 1992 Mike Stump (mrs@cygnus.com) + * cp-lex.c (real_yylex): Use pedwarn for exceeding the range of a + double. - Wed Aug 19 13:09:45 1992 Ron Guilmette (rfg at ncd.com) + Sat Jan 30 13:09:35 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-decl.c (grokdeclarator): Propagate some changes from the C - front-end to deal with variable sized arrays. + * cp-method.c (hack_identifier): Also check for VALUE being a + RESULT_DECL before looking for the DECL_REFERENCE_SLOT. - Wed Aug 19 16:55:43 1992 Mike Stump (mrs@cygnus.com) + * cp-decl2.c (bad_specifiers): Pass OBJECT into error. - * 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. + Fri Jan 29 11:46:46 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - Wed Aug 19 15:29:02 1992 Mike Stump (mrs@cygnus.com) + * cp-class.c (alter_visibility): Forbid reducing the visibility of a + public member of the derived class. - Wed Aug 19 13:09:45 1992 Ron Guilmette (rfg at ncd.com) + * cp-typeck.c (comp_target_parms): Give a contravariance warning + with P2, not P1, since P1 is the established value, not the argument + that's coming in for a match. - * cp-decl.c (kept_level_p): Update from C frontend. + * cp-decl.c (start_method): When printing out the class name for a + duplicate definition, be sure to avoid a null context with the + second definition. - Wed Aug 19 14:47:08 1992 Mike Stump (mrs@cygnus.com) + Tue Jan 26 15:39:54 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-decl2.c (groktypefield): Old style conversion operators - are being desupported. Conversion operators much have an - `operator' in front of them. + * cp-pt.c (lookup_template_class): Try to use the class value if + there's no global value. - Wed Aug 19 01:57:04 1992 Mike Stump (mrs@cygnus.com) + Mon Jan 25 15:59:21 1993 Mike Stump (mrs@cygnus.com) - * cp-call.c (ideal_candidate): Fix bug introduced on Jan 21 - 7:24:21. Warn about ambiguous function calls with multiple - same cost conversions. + * cp-call.c (build_method_call): Remove TYPE_NEEDS_WRAPPER cruft. - Wed Aug 19 00:08:18 1992 Mike Stump (mrs@cygnus.com) + Sat Jan 23 12:13:24 1993 Niklas Hallqvist (niklas at della.appli.se) - * cp-decl.c (grok_enum_decls): Remove invalid error message. + * cp-class.c (finish_struct): See to that static members whose type + is the class they're declared in gets a correct mode. - Mon Aug 17 18:59:18 1992 Mike Stump (mrs@cygnus.com) + Mon Jan 25 11:04:23 1993 Niklas Hallqvist (niklas at della.appli.se) - * 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. + * cp-decl.c (define_label): Don't report crossings of any internal + entity initializations. Don't dereference NULL. - Mon Aug 17 15:10:21 1992 Mike Stump (mrs@cygnus.com) + Wed May 13 21:44:05 1992 Niklas Hallqvist (niklas@appli.se) - * cp-init.c (expand_aggr_init_1): Check for ambiguous - conversion. One through constructor and the other through a - user defined conversion operator. + * cp-decl2.c: Support for NO_DOT_IN_LABEL. + * cp-tree.h: Likewise. + * cp-method.c: Likewise. - Mon Aug 17 11:51:27 1992 Mike Stump (mrs@cygnus.com) + * cp-except.c: Support for no JOINER setups (i.e. NO_DOT_IN_LABEL) + * cp-lex.c: Likewise. + * cp-search.c: Likewise. - * cp-call.c (convert_harshness): When an argument is T, a T& - should be choosen over a const T& when selecting overloaded - functions. + Fri Jan 22 08:52:58 1993 Niklas Hallqvist (niklas at della.appli.se) + + * cp-call.c (resolve_scope_to_name): Try to find nested types not + just in the current class and at global scope but at all + intermediate classes as well. + + Mon Jan 25 11:04:23 1993 Niklas Hallqvist (niklas at della.appli.se) + + * cp-decl.c (xref_tag): Enable test of incomplete basetypes. + * cp-tree.c (layout_basetypes): Disabled it here. + + Mon Jan 25 11:04:23 1993 Niklas Hallqvist (niklas at della.appli.se) + + * cp-init.c (build_new): Move error check of array size before use. + + Sun Jan 24 21:41:09 1993 John Carr (jfc@Athena.MIT.EDU) + + * cp-typeck.c (build_binary_op_nodefault): Add support for + FLOOR_MOD_EXPR, merged in from the c front-end. + +Wed Feb 3 18:23:07 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * objc-act.c (init_objc): Use xrealloc, not realloc. + + * expr.c (emit_library_call, emit_library_call_value): + Handle STACK_BOUNDARY when using push insns. + +Tue Feb 2 16:37:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * varasm.c (assemble_zeros): Output nothing rather than empty skip. + + * c-typeck.c (build_conditional_expr): Always convert and check + both result operands even if condition is constant. + (build_c_cast): Bypass default_conversion when casting to void. + + * c-decl.c: Add some braces for clarity. + + * configure (i[34]86-*-linux*): Set fixincludes to Makefile.in + Don't set tmake_file. + * Makefile.in (stmp-fixincludes): Don't run FIXINCLUDES + if it is Makefile.in. + * t-linux: File deleted. + + * Makefile.in (install-headers-cpio): Delete spurious parens + from around the whole command. + (install-headers-tar): Delete parens around the "source" tar cmd. + +Tue Feb 2 15:20:52 1993 Chip Salzenberg (chip@tct.com) + + * c-decl.c (pushdecl): DECL_EXTERNAL implies TREE_PUBLIC, + so don't bother to check for both. + + * regclass.c (int_reg_class_contents): Make unsigned to avoid + signed integer overflow. + (init_reg_sets): Avoid signed integer overflow. + + * cexp.y (parse_escape): Support \E and \e like cc1: + they mean \033, and they generate a warning if pedantic. + +Tue Feb 2 15:17:38 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + + * t-sol2 (INSTALL_TARGET): Delete. + +Tue Feb 2 14:18:59 1993 Brendan Kehoe (brendan@cygnus.com) + + * Makefile.in (gcc.o): Depend upon config.status, so any changes + in prefix will be communicated to the build process. + (cccp.o): Likewise. + +Tue Feb 2 07:09:36 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + + * pa.md (cmov): Use @ for output. + +Mon Feb 1 01:50:54 1993 Paul Eggert (eggert@twinsun.com) + + * c-decl.c (finish_decl, grokdeclarator, finish_struct): Report + overflows in storage sizes. + (build_enumerator): Report overflows in enumerators. + * fold-const.c (same_sign): Remove. + (lshift_double): Don't report arithmetic overflow, since the + C standard doesn't seem to require it here. + (force_fit_type): Accept new parameter specifying whether a signed + overflow has already occurred. Yield overflow indication. + All callers changed. + (neg_double): Don't report overflow when -0 yields 0. + (const_binop): Propagate operand overflow for warnings. + Don't report overflow when -1 + 1 yields 0. + + * c-parse.in (unary_expr): Warn about overflows in parser-built + unary expressions. + * c-typeck.c (parser_build_binary_op): Warn about overflows and + conversions of out-of-range constants in parser-built binary + expressions. + (build_conditional_expr): Check conversions in if-then-else + expressions. + (build_c_cast): Ignore any integer overflow caused by a cast. + (convert_for_assignment): Warn if source had overflow in folding. + (process_init_constructor): Report overflows in array initializer + indexes. + * c-common.c (constant_expression_warning): Suppress duplicate + warnings. + (convert_and_check, overflow_warning, unsigned_conversion_warning): + New functions. Prototypes added to c-tree.h. + + * expr.c (expand_builtin): Report overflow if __builtin_args_info + arg exceeds one word. + Fix punctuation of error messages. + +Sun Jan 31 17:45:11 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * combine.c (simplify_and_const_int): Never consider bits outside + of MODE. + +Sun Jan 31 15:24:46 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) + + * objc-act.c (build_module_descriptor): Fix call to start_function. + +Sun Jan 31 13:08:05 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + + * pa.md (zvdep32): Handle 5 bit immediates for operand 1. + (ashlsi3): Likewise. + (and + ashift): New combine pattern. + +Sun Jan 31 12:40:00 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * protoize.c: Include gvarargs.h before system headers. + +Sat Jan 30 18:51:46 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) + + * c-typeck.c (build_compound_expr): insert missing return + +Sat Jan 30 16:10:56 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + + * pa.c (reg_or_0_operand): Use CONST0_RTX instead of + const0_rtx. + (reg_or_0_or_nonsymb_mem_operand): New function. + (emit_move_sequence): Copying CONST0_RTX into any + register can be done directly. Use CONST0_RTX instead + of const0_rtx. + (output_fp_move_double): Handle copying a CONST0_RTX + into FP or integer registers. + (print_operand): Handle "%r0" for DFmode and SFmode + values too. + + * pa.h (CONST_DOUBLE_OK_FOR_LETTER_P): Generalize. + (LEGITIMATE_CONSTANT_P): Allow 0.0. + (CONST_COSTS, case CONST_DOUBLE): fp0.0 is free when + not used in a SET expression. + + * pa.md (cmpXf expands): Allow 0.0 for either operand + of the comparison. + (cmpXf insns): Allow 0.0 for either operand of the + comparison. Update output template to handle 0.0 as one + of the operands. + (movsi insn, fp->fp case): Update constraints and template to + allow store of zero into an FP register. + (movhi insn, fp->fp case): Likewise. + (movqi insn, fp->fp case): Likewise. + (movdi insn, fp->fp case): Likewise. + (movDF const_double pattern): Do not apply this pattern + if the const_double is zero. + (movdf insn, fp->fp and gr->gr cases): Update constraints + and output template to allow store of zero into a FP or GR. + Update condition string to allow zero as operand 1. + (movsf insn, fp->fp and gr->gr cases): Likewise. Also allow + store of zero into a memory location. + +Sat Jan 30 14:57:44 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * c-tree.h: Add many prototypes from bill@cygnus.com + +Sat Jan 30 01:06:52 1993 Niklas Hallqvist (niklas@spiff.gnu.ai.mit.edu) + + * c-common.c (c_build_type_variant): Moved here from c-decl.c. + Redirected the TYPE_MAIN_VARIANT to the "real" main variant. + Build the possibly new array type on the permanent obstack if + the original type was permanent. + (permanent_obstack): Added extern declaration. + * c-decl.c (c_build_type_variant): Moved to c-common.c. + +Fri Jan 29 18:16:47 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * config/m68k/m68k.md (iorsi3): Add CC_STATUS_INIT if use bset. + + * fold-const.c (force_fit_type): Abort if T not INTEGER_CST. + * tree.c (size_in_bytes): Only call force_fit_type for an INTEGER_CST. + + * config/i386/t-linux (FIXINCLUDES): New file. + * configure (i[34]86-*-linux*): Use t-linux. + +Fri Jan 29 12:08:04 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + + * reload.c (find_reloads_toplev): When handling a (subreg (reg)) + where (reg) will be replaced by a memory reference, if the memory + address is invalid for the mode of the subreg, then search the + memory address for reloads. + + * pa.h (FIXED_REGISTERS): %r31 is not fixed. + +Thu Jan 28 23:49:25 1993 James Van Artsdalen (james at bigtex.cactus.org) + + * reg-stack.c (compare_for_stack_reg): Properly swap operands of a + COMPARE. + +Thu Jan 28 13:47:53 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + + * pa.md (iorsi3): Split into two patterns, a named "iorsi3" which + only accepts registers, and a combiner pattern which accepts a + restricted set of constant integers for one term. + * pa.c (ior_operand): Do not accept registers. + + * pa.h (LEGITIMIZE_ADDRESS): Delete cases which can never happen. + + * pa.h (CPP_SPEC for OLD_CC): Delete. + (CC1_SPEC for OLD_CC): Likewise. + (MODES_TIEABLE_P): Simplify. + (ASM_OUTPUT_ADDR_VEC_ELT): Fix comment. + (leaf_function): Delete unused variable. + (HARD_REGNO_MODE_OK): Delete old useless version. + (FIRST_PARM_OFFSET): Likewise. + (FIRST_PARM_CALLER_OFFSET): Likewise. + (EXPAND_BUILTIN_SAVEREGS): Likewise. + (ASM_OUTPUT_REG_PUSH): Likewise. + (ASM_OUTPUT_REG_POP): Likewise + +Thu Jan 28 07:51:47 1993 Ian Lance Taylor (ian@cygnus.com) + + * config/m68k/m68k.h (PRINT_OPERAND_PUNCT_VALID_P): Accept '/'. + * config/m68k/m68k.c (print_operand): Print %/ as REGISTER_PREFIX. + * longlong.h (umul_ppmm for 68000): Use %/ before all register + names. + + * configure (install_headers_dir): New variable for each + configuration, used to set INSTALL_HEADERS_DIR in Makefile. + (*-*-sysv4*, *-*-sysv*): Set install_headers_dir to + install-headers-cpio. + +Thu Jan 28 07:30:25 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * a29k.md: Remove 29050-specific variants of patterns generating + loadm that have earlyclobber. This was put in for some very old + version of the '050, which isn't used anymore, that had a bug. + +Thu Jan 28 06:56:04 1993 Pat Rankin (rankin@eql.caltech.edu) + + * vmsconfig.com: change instances of [.config] to [.config.vax]. + * make-cc1.com, make-cccp.com, make-l2.com: change /include and -I + values from [.config] to [.config.] (this trailing period works with + GNU C's preprocessor but not with VAX C's). + +Thu Jan 28 06:48:57 1993 Michael Collison (collison@osf.org) + + * optabs.c (init_fixtab, init_optabs): Fix typos in QFmode and HFmode + initialization. + +Wed Jan 27 13:11:26 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in (includedir): Use local_prefix. + +Wed Jan 27 12:08:05 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + + * pa.c (check_fp_mov): Delete unused function + (register_or_short_operand): Likewise. + (eq_or_neq): Likewise. + (gen_compare_reg): Likewise. + (reverse_relop): Likewise. + (frame_base)name): Delete unused variable. + + * pa-ghpux.h (HAVE_ATEXIT): Delete. This is defined in pa.h + * pa-gux7.h (HAVE_ATEXIT): Likewise. + * pa-hpux.h (HAVE_ATEXIT): Likewise. + * pa-hpux7.h (HAVE_ATEXIT): Likewise. - Mon Aug 17 01:37:06 1992 Mike Stump (mrs@cygnus.com) +Wed Jan 27 06:46:50 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * cse.c (simplify_relation_operation): We can compute the result + of a comparison of CONST_INTs no matter what mode the computation + is to be done in. - Wed Aug 5 18:54:19 1992 Mike Stump (mrs@cygnus.com) + * expmed.c (emit_store_flag): Swap operands if first is a + constant and second is not. + Abort if compare_from_rtx didn't return an rtx with the code we + expect. + * expr.c (compare_from_rtx): Only swap operand if first is a + constant and second is not. - * 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. + * c-common (declare_function_name): If char_array_type_node isn't + large enough for the name, make a larger type. + * c-decl.c (init_decl_processing): Make the arrays 200 long instead + of 10 to leave more room for most names. - Wed Aug 5 12:35:07 1992 Mike Stump (mrs@cygnus.com) + * function.c (put_var_into_stack, fixup_var_refs_insns): Minor + cleanups. + (fixup_var_refs_1, case SET): Correctly check for simple insns + that don't need fixups. - Wed Aug 5 08:10:34 1992 Tom Wood (wood@dg-rtp.dg.com) + * collect2.c: Delete ISCOFF macro which was in #ifdef _AIX. + * rs6000.h, a29k/unix.h (MY_ISCOFF): New macro. - * 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. +Tue Jan 26 19:31:31 1993 Tom Wood (Tom_Wood@NeXT.com) - Wed Aug 5 03:20:07 1992 Mike Stump (mrs@cygnus.com) + * combine.c (combine_instructions): Initialize undobuf in the + event `gen_rtx_combine' is called before `try_combine'. - * 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. +Tue Jan 26 18:20:04 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - Tue Aug 4 16:52:28 1992 Mike Stump (mrs@cygnus.com) + * i960.md (umulsidi3+1): Add variant which accepts constants. - Mon Aug 3 22:55:04 1992 Michael Meissner (meissner@osf.org) + * fixinc.svr4: Change all uses of EX to SED. + * fixincludes (sys/types.h): Don't match on ssize_t. + (stdio.h): Change _VA_LIST_ to __gnuc_va_list for 386BSD. - * 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 Jan 26 13:46:04 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + * xm-alpha.h (ONLY_INT_FIELDS): Define if not __GNUC__. + + * collect2.c (write_list_with_asm): Use `__asm__' instead of + `asm', to avoid problems with `-fno-asm'. + + * Makefile.in (insn-*.[ch], protoize.o, unprotoize.o, install): When + using a trailing semicolon to force a rule to not do anything, + explicitly run the command `true', to avoid warnings or other + problems with versions of make which don't like null commands. + +Tue Jan 26 07:14:29 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * cse.c (simplify_binary_operation, case SMAX): Correctly + compute largest possible signed integer. + + * Makefile.in: (rest.cross, gfloat.h, stmp-headers, mostlyclean): + Build and install gfloat.h instead of float.h. + + * a29k/x-unix (CLIB): Add -lld. + + * integrate.c (copy_rtx_and_substitute, case REG): Call + gen_lowpart instead of making an explicit SUBREG. - Tue Aug 4 16:07:57 1992 Mike Stump (mrs@cygnus.com) + * stmt.c (expand_value_return): Call convert_move instead of the + erroneous convert_to_mode. - Sat Aug 1 16:52:20 1992 John Carr (jfc@Athena.MIT.EDU) +Tue Jan 26 00:58:53 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-decl.c (): Make sure the base type of an ARRAY_TYPE is - layedout before using it. + * collect2.c (find_a_file): First `access' test was backwards. + (main): Set full_real_ld_suffix right. -Wed Aug 26 17:04:45 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-decl.c (init_decl_processing): Use 10 as size + of ..._array_type_node. - * 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. + * cccp.c (handle_directive): Init already_output + after old_linenum label. + (finclude): Remove final backslash-newline *before* trigraph_pcp. + (write_output): Free line_command at end. - * 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 +Mon Jan 25 19:31:32 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) + + * print-rtl.c (debug_rtx_list, debug_rtx_find): New functions. + * .gdbinit (prl): New command. + +Mon Jan 25 14:49:45 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + + * sparc.c (init_arg_profiler, output_arc_profiler): Delete unused 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. - - * 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. + * sparc.h (ARC_PROFILER): Delete unused macro. - * decrose.h (ASM_FINAL_SPEC): Use %U to get the last file name - created with %u, rather than %u. + * sparc.c (sparc_builtin_saveregs): New function. + * sparc.h (CPP_SPEC): Delete __sparc_frw__ define. + (TARGET_FRW_COMPAT): New macro. + (TARGET_DEFAULTS): Comment out -mfrw option. Add new commented + out option -mfrw-compat. + (EXPAND_BUILTIN_SAVEREGS): Call sparc_builtin_saveregs to emit rtl + inline instead of calling builtin_saveregs in libgcc.a. + * va-sparc.h (va_start): Rewrite to account for above changes. - * 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. + * sparc.h (PRINT_OPERAND_PUNCT_VALID_P): Delete '@' case. + * sparc.c (print_operand): Likewise. + (output_fp_move_double): Delete FP_REG to GENERAL_REG and vice + versa copy support. + (output_fp_move_quad): Likewise. + * sparc.md (movsi, movtf, movdf, movdi, movsf): Delete f/r and r/f + constraint pairs. + * i960.c (secondary_reload_class): Correct test against + FIRST_PSEUDO_REGISTER. -Mon Aug 24 18:09:34 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * sparc.c (registers_ok_for_ldd_peep): Delete test for pseudos. - * c-typeck.c (build_unary_op): For ADDR_EXPR, just set TREE_CONSTANT - if staticp, but don't clear TREE_CONSTANT. + * optabs.c (emit_indirect_jump): Use Pmode instead of VOIDmode and + insn_operand_mode. -Mon Aug 24 13:52:13 1992 Brendan Kehoe (brendan@cygnus.com) + * calls.c (calls_alloca): Change name to calls_function. Add new + parameter WHICH to control old or new behaviour. + (expand_call): When stack space is preallocated and parameters + must be passed on the stack, precompute parameters that involve + function calls. - * gcc.c (process_command): Don't set verbose_flag if they make a - typo (e.g., `-v-E'); only when it's exactly "-v". + * c-decl.c (language_string): Delete from here. + * c-parse.in (language_string): Define here for C and Obj-C. -Mon Aug 24 06:49:16 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Mon Jan 25 13:54:16 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * combine.c (subst): When moving operation inside IF_THEN_ELSE, - make a new rtx instead of using SUBST due to sharing. + * c-decl.c (finish_struct): Disable "structure/union defined + inside parms" if compiling with -traditional. - * combine.c (simplify_comparison): Correct test for sign extension - when trying to widen comparison. +Mon Jan 25 05:24:12 1993 Niklas Hallqvist (niklas at della.appli.se) -Sun Aug 23 18:58:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * i386.md (extendsidi2): Fix typo in regno. - * fold-const.c (fold): Avoid the normal STRIP_NOPS on arg of NOP_EXPR. +Mon Jan 25 00:07:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sun Aug 23 15:32:03 PDT 1992 Ron Guilmette (rfg at netcom.com) + * c-decl.c (lookup_label): Return 0 if not within a function. - * stmt.c (expand_end_bindings): Generation of NOTE_INSN_BLOCK_END - moved down so that it occurs after call to `expand_cleanups'. + * c-parse.in (unary_expr => ANDAND identifier): + Handle lookup_label returning 0. -Sun Aug 23 16:24:32 1992 Michael Meissner (meissner@osf.org) + * Makefile.in (install-float-h-cross): + Don't ignore error when running enquire. - * 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. +Sun Jan 24 22:41:00 1993 Michael Meissner (meissner@osf.org) -Sun Aug 23 02:03:41 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-typeck.c (build_compound_expr): Move the code into + internal_build_compound_expr, and pass second argument TRUE + indicating that this is the first call. For recursive calls, pass + FALSE. Do not make 0 a non_lvalue constant if this is the first + call, to allow return 0; from a pointer returning function to not + get a warning. - * libgcc2.c (__builtin_new): Cast the result of malloc. +Sun Jan 24 18:40:44 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * toplev.c: Fix typo in prev change. + * config/vax/vax.md (move/push address patterns): + Don't use alternative number to distinguish pushes from moves. + Use just one alternative `g' in output constraint. - * 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) +Sun Jan 24 07:19:03 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * configure: Use absolute pathname in value of INSTALL. + * final.c (final_scan_insn): Call alter_subreg on duplicate + operands (in case we need to split the insn). -Sat Aug 22 06:42:39 1992 Tom Wood (wood@dg-rtp.dg.com) + * local-alloc.c (CLASS_LIKELY_SPILLED_P): Add default definition. + (alloc_qty_for_scratch, local_alloc): Use CLASS_LIKELY_SPILLED_P. - * emit-rtl.c (insn_emit_once): Provide a zero constant for CC modes. +Sat Jan 23 19:41:21 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Aug 21 18:33:30 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) + * combine.c (apply_distributive_law): Don't mess with float arith. - * 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. + * c-parse.in: Use new name objc-act.h. -Fri Aug 21 16:47:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Jan 21 13:12:49 1993 Serge Adda (adda@soft01) - * sparc.c (print_operand): Use output_operand_error for unknown code. + * expmed.c (emit_store_flag): Reset ICODE using returned COMPARISON. - * c-typeck.c (build_conditional_expr): Use TREE_READONLY and - TREE_THIS_VOLATILE, not TYPE_... +Sat Jan 23 18:27:35 1993 Niklas Hallqvist (niklas@spiff.gnu.ai.mit.edu) -Fri Aug 21 14:02:20 1992 James Van Artsdalen (james at bigtex.cactus.org) + * config/m68k/tower.h (LIB_SPEC): Use %s instead of absolute path. + (STARTFILE_SPEC): Moved here from tower-as.h. Use %s instead of + absolute path. + * config/m68k/tower-as.h (STARTFILE_SPEC): Moved to tower.h. - * reload.c (find_dummy_reload): Restore original RTX instead of - passed IN rtx. +Sat Jan 23 16:28:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Aug 21 07:53:12 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * cccp.c (change_newlines): Renamed from delete_newlines. + Insert a space in place of a newline. Caller changed. - * optabs.c (expand_binop): If, e.g., mulqi3 doesn't exist, try - mulqihi3. + * config/m68k/hp320.h (ASM_OUTPUT_DOUBLE_OPERAND): Delete space + before arglist. - * rs6000.h (FUNCTION_ARG): Don't make an EXPR_LIST if making a libcall. +Sat Jan 23 09:20:41 1993 Niklas Hallqvist (niklas at della.appli.se) - * combine.c (subst): Move up test for too many restarts. - If we restart, clear OP0_MODE since we don't know it. + * Makefile.in (cross-test): Depend on GCC_PARTS. -Fri Aug 21 02:11:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Jan 23 07:15:10 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * emit-rtl.c (emit_insns_after): New function. + * reload1.c (reload): After calling count_possible_groups, see + if we have to proceed with allocating a group. + (count_possible_groups): Use HARD_REG_SET, not a char array, for + consistency. -Fri Aug 21 01:53:04 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) + * rs6000.h (ADJUST_COST): Add new definition. - * 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. +Fri Jan 22 18:55:00 1993 Niklas Hallqvist (niklas at della.appli.se) - * 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. + * fixinc.svr4: Use pwd if PWDCMD is undefined. Add missing echo + command. - * pa.c (output_mul_insn): Delete nop after branch in template, - conditionally emit a nop if the delay slot was not filled. (via %#) +Fri Jan 22 18:08:47 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * pa.c (output_function_prologue): Handle profiling in a function - without a frame pointer. + Cygnus<-->FSF merge. -Thu Aug 20 16:16:40 1992 Tom Wood (wood@dg-rtp.dg.com) + Thu Jan 21 15:26:59 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * va-m88k.h (__INT_VARARGS_H): Define this to avoid trouble on DG/UX. + * Makefile.in (convert.o): Add dependencies. -Thu Aug 20 11:07:26 1992 Michael Meissner (meissner@osf.org) + * cp-gc.c (NULL): Undef before defining. + * cp-init.c (NULL): Likewise. + * cp-expr.c (NULL): Likewise. - * final.c: Move include of stdio.h before output.h. + * cp-decl.c (grokdeclarator): Relegate error about operator= to a + warning for now, an error later. -Thu Aug 20 01:08:55 1992 Pat Rankin (rankin at eql.caltech.edu) + Tue Jan 19 16:40:19 1993 Mike Stump (mrs@cygnus.com) - Support for bootstrapping cpp & cc1 with VAX C under VMS. + * cp-type2.c (my_friendly_assert): Don't set errorcount or + sorrycount to zero, as we no longer say "please fix above errors". - * 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. + Mon Jan 18 19:44:53 1993 Mike Stump (mrs@cygnus.com) - Not yet installed: + * cp-type2.c (my_friendly_abort): Exit quietly in cases of random + seg faults in the front-end in the presences of other errors. This + makes the handling of these things more uniform. - * 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. + Mon Jan 18 16:23:11 1993 Mike Stump (mrs@cygnus.com) -Thu Aug 20 11:32:18 1992 Michael Tiemann (tiemann@mole.gnu.ai.mit.edu) + * cp-typeck.c (build_unary_op): Improve error message for + {pre,post}-{increment,decrement}. - * cp-tree.h: Fix incorrect comment about "$this" needing to - be lexicographically less than any other identifier. + Mon Jan 18 13:58:14 1993 Mike Stump (mrs@cygnus.com) -Thu Aug 20 05:37:00 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * cp-typeck.c (build_binary_op): Improve error message. - * a29k.md (load_multiple): Operand 2 should be a MATCH_OPERAND. - (store_multiple_{,no_}bug): Likewise. + Fri Jan 15 17:53:33 1993 Mike Stump (mrs@cygnus.com) - * reorg.c (mark_set_resources): Fix two bugs in last change. + Fri Jan 15 00:35:22 1993 Niklas Hallqvist (niklas at della.appli.se) - * 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. + * cp-decl.c (start_function): Removed the comp_target_parms test + when checking for implementations of "C" linkage functions, allows + for more overloading of extern "C" functions. -Thu Aug 20 01:40:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Fri Jan 15 17:32:56 1993 Mike Stump (mrs@cygnus.com) - * 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. + Fri Jan 15 00:35:22 1993 Niklas Hallqvist (niklas at della.appli.se) - * fixincludes (stdio.h): Rename va_list to __va_list__ to coexist - with gvarargs.h. + * cp-decl.c (grokvardecl): Implement the "one definition rule". -Wed Aug 19 21:06:49 1992 Jim Wilson (wilson@cygnus.com) + Fri Jan 15 17:17:05 1993 Mike Stump (mrs@cygnus.com) - * cccp.c (finclude): Increment indepth before calling - trigraph_pcp, so that warning uses the correct file name. + * cp-search.c (get_base_distance): Compute results from calls to + recursive_bounded_basetype_p into a temp variable, as otherwise we + can clobber rval with a zero. -Wed Aug 19 07:07:41 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + Fri Jan 15 17:10:59 1993 Mike Stump (mrs@cygnus.com) - * combine.c (force_to_mode): Add missing test of and_optab. + Thu Jan 14 16:02:27 1993 Niklas Hallqvist (niklas at della.appli.se) - * 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. + * cp-decl.c (start_function): Don't try to match static member + functions with "C"-linkage declared global functions. - * 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. + Thu Jan 14 17:58:15 1993 Mike Stump (mrs@cygnus.com) - * 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. + * cp-method.c, cp-type2.c, cp-typeck.c: Make sure the fourth + argument to build_overload_call is (struct candidate *)0 not just + a plain 0. - * 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. + Thu Jan 14 17:15:40 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * unroll.c (copy_loop_body): Add missing declaration of EXIT_LABEL - parameter. + * cp-decl.c (grokdeclarator): Don't warn on an initialized var + that's extern if it's a const. - * function.c (instantiate_decl): New function. - (instantiate_decls{,_1}): Call it. + Thu Jan 14 17:03:40 1993 Michael Tiemann (tiemann@rtl.cygnus.com) - * combine.c (simplify_comparison): Add a few more cases where we can - do the comparison in a wider mode. + * cp-pt.c (coerce_template_parms): Add new parameter IN_DECL. + Update error messages to give location information of the _DECL + when an instantiation fails. + (lookup_template_class): Ditto. + (tsubst): Ditto. + All callers changed. + * cp-tree.h (lookup_template_class): Update prototype. + * cp-parse.y (template_type_name): Update calls to + lookup_template_class. - * combine.c (distribute_notes, REG_EQUAL): Don't put back a note - with a non-constant expression since it may no longer be valid. + Thu Jan 14 02:09:17 1993 Mike Stump (mrs@cygnus.com) -Tue Aug 18 23:07:33 1992 Mike Stump (mrs@cygnus.com) + * cp-decl2.c (grokfield): Arrange for the type to be set on class + typedefs, cures one type of internal compiler error 62. Now calls + set_identifier_type_value just before pushdecl_class_level. - * 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. + Wed Jan 13 22:43:58 1993 Mike Stump (mrs@cygnus.com) -Tue Aug 18 00:07:23 1992 Dennis P. Glatting (dglattin@trirex.com) + * cp-search.c (get_base_distance): Allow checking of UNION_TYPEs, + as some of the init code calls us. - * objc-actions.c - (build_selector_translation_table): NULL-terminate the - selector list. Mark _OBJC_SELECTOR_REFERENCES_decl as static, - not extern. + Wed Jan 13 21:12:22 1993 Mike Stump (mrs@cygnus.com) -Tue Aug 18 21:38:46 1992 Mike Stump (mrs@hal) + Mon Jan 11 20:11:17 1993 Niklas Hallqvist (niklas at della.appli.se) - * xcoffout.c (assign_type_number): Skip decls with no name. + * cp-parse.y (implicitly_scoped_stmt, simple_stmt): New rules to + handle the changed semantics of selection & iteration statements + in ANSI C++ (check out 6.4-5 in the draft as opposed to the ARM). + (simple_if, stmt, compstmt): Changed to use the new rules. + (stmt_decl_msg): Removed this static (together with all its uses) + because it's now unnecessary. + (cond_stmt_keyword): New static string to use in the error message + of paren_expr_or_null. + (paren_expr_or_null): Use cond_stmt_keyword instead of stmt_decl_msg. - * 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. + Tue Jan 12 18:53:44 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Tue Aug 18 12:58:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-decl.c (lookup_name): If PREFER_TYPE is -2, don't call + lookup_nested_field. + * cp-spew.c (yylex) [IDENTIFIER case]: Call lookup_name with -2 + instead of -1. - * x-i386sco (X_CFLAGS): Defined. + * cp-decl2.c (grokclassfn): If there's no IDENTIFIER_TYPE_VALUE (it + could have gotten blown away by poplevel_class), use ctype to build + the overload name. - * stmt.c (expand_return): Call emit_queue in ignore-the-value case. - (expand_end_bindings): Check DECL_IN_SYSTEM_HEADER for unused warnings. + * cp-call.c (convert_harshness): Avoid dereferencing a null PARM, + which can be passed in by convert_harshness itself. - * combine.c (simplify_comparison): - Rearrange conditional in SUBREG case. + Mon Jan 11 12:25:51 1993 Brendan Kehoe (brendan@cygnus.com) -Tue Aug 18 06:49:43 1992 Tom Wood (wood@dg-rtp.dg.com) + * cp-tree.h (VTABLE_NAME_P, VBASE_NAME_P): Reverse order, so they'll + go for [1..3], to avoid referencing beyond the bounds of a name. - * cccp.c (HOST_WIDE_INT): Copy definition from machmode.h. - - * c-typeck.c (parser_build_binary_op): Replace the assignment of CLASS. + * cp-xref.c (fctname): Delete extern decl of `declname'. - * configure (Makefile edits): Make the edits independent. - * Makefile.in (sed marker): Use the order {target, host, cross-make}. + * cp-type2.c (build_scoped_ref): Pass the nodes themselves down into + error_not_base_type, not the strings, since it'll peel off the decl + name and type name of them itself. -Tue Aug 18 00:15:12 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-class.c (build_vbase_path): flag_assume_nonnull_objects is an + int, not a tree. - * c-typeck.c (parser_build_binary_op): - For ZFIRST as an int. + (get_base_distance): Likewise. + (breadth_first_search): Likewise. - * i860.md (mulsi3): Use emit_insn on results of gen fcns. - Return with DONE. +Fri Jan 22 15:09:42 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) -Mon Aug 17 11:50:23 1992 Mark Eichin (eichin@cygnus.com) + * pyr.h (SIZE_TYPE): Define. + (NO_DOLLAR_IN_LABEL): Define. - * cccp.c (do_include): If search_start is NULL, complain that - we had nowhere to look. +Fri Jan 22 12:19:47 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) -Mon Aug 17 14:53:46 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * pa.c (secondary_reload_class): Simplify. - * function.c (assign_parms): When copy arg passed by invisible - reference to pseudo reg, don't use nominal_mode. +Fri Jan 22 07:57:57 1993 Richard Kenner (kenner@vlsi1.ultra.nyu) - * i960.c (i960_address_cost): Don't abort for invalid addresses. + * collect2.c (our_file_name): New variable. + (find_a_file): Ignore filename equal to that in our_file_name. + (main): Initialize our_file_name. -Mon Aug 17 14:29:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * expr.c (emit_library_call): Correct mis-applied patch. - * c-typeck.c (digest_init): - Use TYPE_MAIN_VARIANT comparing type of inside_init. +Thu Jan 21 11:36:04 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) -Mon Aug 17 10:32:08 1992 Michael Meissner (meissner@osf.org) + * pa.h (REG_CLASSES): Delete GENERAL_OR_FP_OR_SNAKE_FP register + class, it's not needed anymore. Delete all references. 'Z' + register class is now "ALL_REGS". + * pa.c (emit_move_sequence): Handle secondary reloads for SAR. - * 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. +Tue Jan 19 20:08:01 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) -Mon Aug 17 07:37:41 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + From Torbjorn Granlund (tege@sics.se): + * i960.c (cmplpower2_operand): New function. + * i960.md (addsi3): Clean up condition for when to use subo. + (umulsidi3): New pattern. + (non-canonical nand, nor): Remove paterns. + (clrbit, notbit static bit): New patterns. + (setbit, clrbit, notbit dynamic bit): New patterns. + (setbit static bit non-canonical): Remove pattern. + (muldf3, mulsf3, multf3): Add % to operand1. + (test recognizers): Use TAB efter mnemonic. + + * reorg.c (update_reg_dead_notes): New function. + (fill_simple_delay_slots): Call new function when moving + instruction forward into a delay slot. + + * sched.c (sched_analyze_1, sched_analyze_2): Ifdef out code added + for handling psuedo register equivalents that was added Dec 31 1992. + + From Steve Chamberlain (sac@cygnus.com): + * libgcc1.c (__eqdf2, __nedf2, __gtdf2, __gedf2, __ltdf2, __ledf2, + __eqsf2, __nesf2, __gtsf2, __gesf2, __ltsf2, __lesf2): comparison + result type is now word_mode. + * libgcc2.c (cmpdi2, ucmpdi2): comparison result type is now + word_mode. + * optabs.c (emit_cmp_insn, emit_float_lib_cmp): libcall comparisons + return word_mode. - * 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. +Tue Jan 19 15:28:59 1993 James Van Artsdalen (james at bigtex.cactus.org) - * 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__. + * function.c (fixup_var_refs_1): Set INSN_CODE to -1 before seeing + if new insn form is recognized. - * libgcc2.c (builtin_new): Remove declaration of malloc. + * reg-stack.c (all functions): Use NULL_RTX instead of 0 for rtx + comparisons. - * expmed.c (expand_mult): Bound second synth_mult cost by cost of - algorithm from first call. + (emit_pop_insn): Emit insn with mode QImode: insn contains + stack-regs. - * expmed.c (expand_divmod): When doing logical operations, the size - of COMPUTE_MODE should be used, not MODE. + (emit_hard_swap_insn): Delete. + (emit_swap_insn): Merge with emit_hard_swap_insn. + Delete WHEN arg and change all callers. + If previous insn was a push from REG, omit swap. + If previous insn wrote reg-stack top to REG, omit swap. + Emit swap insn with mode QImode: insn contains stack-regs. + Emit swap insn after previous float insn, instead of before this + one. - * 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. + (swap_rtx_condition): New function. + (compare_for_stack_reg): If op 0 of COMPARE is not a stack reg, + exchange ops 0 and 1 and swap cc0 user condition. - * fold-const.c (fold): Move conversion back outside of COND_EXPR - if moving it inside didn't help anything. + * i386.h (PREFERRED_RELOAD_CLASS): Narrow ALL_REGS to + GENERAL_REGS. + (PREFERRED_OUTPUT_RELOAD_CLASS): New macro. Narrow ALL_REGS to + GENERAL_REGS. + (SECONDARY_MEMORY_NEEDED): New macro. - * fold-const.c (div_and_round_double): Change some more ints - to HOST_WIDE_INTs. + * i386.md (cmpdf_cc,cmpsf_cc): Allow first operand to be a MEM. + Don't allow both operands to be MEM. + (float addM3,subM3,divM3,mulM3 recognizers): Don't allow either + operand to be a constant. - * jump.c (jump_optimize): Allow SUBREG in many places where REG - is allowed. + (all float patterns, FLOAT_EXTEND operands): Don't allow + GENERAL_REGS for float_extended operand. + (all float patterns, FLOAT operands): Change constraints to get + better register classification. + (fix_truncMN2 patterns): Likewise. + (floatMN2 patterns): Likewise. - * expr.c (expand_expr, case COMPONENT_REF): Don't actually do - extraction from memory if we want address. +Tue Jan 19 15:51:16 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - * expr.c (emit_block_move): Fix problems in last change. + * pa.md (define_function_unit for memory): Memory is pipelined. -Mon Aug 17 03:37:10 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * pa.md (sCC patterns): Use %char notation instead of nested + if stmts. + (branch matchers): Likewise. + (incscc, negscc): Likewise. Add ? constraint for 3-insn + alternative. + (incscc): Split into `incscc' and `decscc' to make this really + match. + (incscc/decscc special cases): New patterns using carry bit. + * pa.c (print_operand): Handle 'S' and 'B' for conditions. + Handle 'I' for printing 'i' when CONST_INT. + Handle 'k' for ones-complement of CONST_INT. + (incscc_operator): Remove. - * collect2.c (is_ctor_dtor): Don't collect cfront init fcns. + * pa.md (many patterns): Use canonical address format. Use %r + register notation. Use GEN_INT. - * Makefile.in (GCC_FOR_TARGET): Put -B./ here. - (GCC_CFLAGS): Not here. + * pa.md (main move SF recognizer): Allow 0 for copying to + general register. -Sun Aug 16 10:38:10 1992 Torbjorn Granlund (tege@jupiter.sics.se) + * pa.md (zero_extendhisi2): Remove DEFINE_EXPAND. + (zero_extendqihi2): Likewise. + (zero_extendqisi2): Likewise. + (comment before sign extension): Remove the lie. - * ns32k.c (print_operand_address): Fix typo. + * pa.h (REG_CLASS_FROM_LETTER): Remove partly incorrect PA + documentation. -Sat Aug 15 20:23:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Jan 19 09:22:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cccp.c (PTR_INT_TYPE): Don't define this. - (pcfinclude): Use int, not PTR_INT_TYPE. + * fold-const.c (non_lvalue): Result must not be null ptr constant. + (omit_one_operand): Use non_lvalue. + (fold, case COMPOUND_EXPR): Use non_lvalue if value is 0. + * c-typeck.c (build_compound_expr): Use non_lvalue if value is 0. -Sat Aug 15 11:10:07 1992 Michael Meissner (meissner@osf.org) +Tue Jan 19 08:29:16 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * rs6000.c (print_operand, case 'k'): New case. + * rs6000.md (plus of gtu patterns): Add case to handle immediates. - * 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. + * rs6000.c (output_epilog): Only restore the cr's that we actually + used; previously, we saved and restored all of them. -Sat Aug 15 06:36:15 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * combine.c (combine_instructions): Clear reg_last_set_label. - * cccp.c: Remove declaration of malloc and realloc. +Tue Jan 19 01:16:45 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * combine.c (get_last_value): Don't go past a CODE_LABEL when - searching for a value. + * flow.c (find_basic_blocks): Don't mark labels in nonlocal_label_list + that were deleted due to having no references. - * expr.c (convert_move): Copy SUBREG to REG in one more case. +Mon Jan 18 21:02:22 1993 H.J. Lu (hlu@yardbird.eecs.wsu.edu) - * expr.c (do_jump*): Always do comparison in object's signedness - now that combine can remove extraneous sign extends. + * configure (--local-prefix=DIR): new flag sets $local_prefix. + The default is /usr/local. Put it into Makefile. -Sat Aug 15 00:52:08 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Makefile.in (local_prefix): new prefix, the default is /usr/local. + (cccp.o): change LOCAL_INCLUDE_DIR to $(local_prefix)/include. - * fixincludes (ansi_compat.h): Replace this with an empty file. +Mon Jan 18 15:29:46 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * gcc.c (process_command): In second loop over all switches, - don't increment I for switches that don't have separate arguments. + * objc-act.c, objc-act.h: Renamed from objc-actions.*. + * objc-act.c: Include objc-act.h. + * Makefile.in: Targets and deps changed. - * cccp.c: Don't ever include stddef.h. - (append_include_chain): Avoid using size_t. - (initialize_builtins): Output defn of __WCHAR_TYPE__ just once. + * objc-actions.c (encode_method_def): Null-terminate encoding. + (build_ivar_list_initializer): Null-terminate type encoding. - * ns32k.md (movstrsi1): Renamed from movstrsi. - (movstrsi): New define_expand. + * cccp.c (include_defaults): Do use GCC_INCLUDE_DIR for cross compiler. + Move TOOL_INCLUDE_DIR later if cross. -Fri Aug 14 18:51:57 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Mon Jan 18 13:39:32 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * sched.c (attach_deaths_insn): Don't call attach_deaths for CLOBBERs. + * expr.c (emit_library_call): Handle OUTGOING_REG_PARM_STACK_SPACE. + Use NULL_TREE instead of (tree) 0. -Fri Aug 14 18:47:22 1992 Tom Wood (wood@dg-rtp.dg.com) + * expr.c (emit_move_insn, expand_expr): Fix typos in comments. - * 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. + * cccp.c (initialize_builtins): Add uses of new macros + NO_BUILTIN_SIZE_TYPE and NO_BUILTIN_PTRDIFF_TYPE. - * 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. + * i960.h (ROUND): Change macro name to ROUND_PARM. + * i960.c (i960_function_arg_advance, i960_function_arg): Likewise. - * 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. + * stor-layout.c (make_signed_type): Consistently use + HOST_BITS_PER_WIDE_INT. Correct minor formatting problems. + (fixup_signed_type): Use HOST_BITS_PER_WIDE_INT and HOST_WIDE_INT + like make_signed_type does. + (fixup_unsigned_type): Correct minor formatting problem. - * 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. + * x-linus (LANGUAGES): Delete. - * cexp.y, cccp.c, gcc.c (NULL_PTR): Use the same definition as - rtl.h and tree.h. +Mon Jan 18 08:13:34 1993 James Van Artsdalen (james at bigtex.cactus.org) -Fri Aug 14 20:53:00 1992 Paul Eggert (eggert@twinsun.com) + * Makefile.in (stmp-headers): Delete target files before copying + to them. - * c-decl.c (grokdeclarator): Remove duplicate diagnostic for - initialized parameters; start_decl already does this. +Mon Jan 18 06:23:35 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * collect2.c (choose_temp_base, main): Fix "off by one" errors in + sizes of allocated strings. -Fri Aug 14 14:45:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Jan 18 00:32:20 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * vax.md (casesi1): Renamed from casesi. - (casesi): New trivial define_expand invokes casesi1. - (movstrhi, movstrhi1): Analogous change. + * gcc.c (process_command): Fix typo in last change. -Fri Aug 14 14:36:52 1992 Tom Wood (wood@dg-rtp.dg.com) +Sun Jan 17 13:09:03 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * reload.c (find_reloads): Ignore `%' in the last operand after - warning. + * pa.h (FP_REG_CLASS_P): New macro. + (REGISTER_MOVE_COST): Use FP_REG_CLASS_P to simplify. Make moves + from SAR to expensive that they should never happen. -Fri Aug 14 07:41:34 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Sun Jan 17 10:38:38 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - * genflags.c (num_operands): MATCH_PARALLEL also represents an operand. + * pa.c (emit_move_sequence): Fix spacing. + (compute_zdepi_operands): Fix header comment. + (many functions): Use %%r register syntax. Use canonical (0,%rN) + address format. + (output_function_prologue): No need to test frame_pointer_needed + in else clause of `if (frame_pointer_needed)'. + (output_function_prologue): Test boolean merge_sp_adjust_with_store + for zeroness, not for equality with 1. + (fmpyaddoperands): Use new variable mode for mode of operands[0]. + (fmpysuboperands): Likewise. - * 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. +Fri Jan 15 16:42:30 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * 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. + * pa.h (LEGITIMIZE_ADDRESS): Handle (plus (mult (X) (Y)) (Z)) + when Y is 2, 4, or 8 specially. + * pa.c (shadd_constant_p): New function. - * 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. + * integrate.c (FIXED_BASE_PLUS_P): Fix typo. - * cse.c (fold_rtx): Fix typo in two FLOAT_STORE_FLAG_VALUE tests. + * loop.c (move_movables): Clear INSN_CODE for each insn as + we perform register replacements. + (strength_reduce): Likewise. - * flow.c (life_analysis, propagate_block, dump_flow_info): Add more - missing casts to REGSET_ELT_TYPE. +Fri Jan 15 16:02:07 1993 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) - * 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. + * final.c (alter_cond): Undo previous change. - * cse.c (simplify_unary_operation): Remove "else". +Thu Jan 14 22:09:40 1993 Ian Lance Taylor (ian@cygnus.com) -Fri Aug 14 07:41:05 1992 Torbjorn Granlund (tege@jupiter.sics.se) + * Makefile.in (stmp-headers): Avoid problems with relative + $(srcdir) when installing syslimits.h. - * 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. +Thu Jan 14 19:20:01 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Fri Aug 14 03:21:17 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-decl.c (c_decode_option): Set WARN_UNINITIALIZED to 2 with + -Wall, being careful to preserve it if it's already set. + * cp-decl2.c (lang_decode_option): Likewise. + * toplev.c (main): Warn about using -Wuninitialized without -O. - * c-convert.c (convert): When converting to variant of same type, fold. + * cccp.c (main): Trim down to the basename of what's to go in + PROGNAME. - * varasm.c (assemble_variable): Change error message for unknown size. + * gcc.c (process_command): Only accept input files which exist and + can be read; prevent link phase if an input file was rejected. Be + careful not to check for `-l' directives. + (error_count): Make into a static global variable. - * c-parse.y (declmods): Don't warn for multiple storage classes - all at the beginning. This is either good practice or an error. +Thu Jan 14 18:19:35 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Aug 13 19:43:13 1992 Paul Eggert (eggert@twinsun.com) + * t-mips, t-ultrix, t-osfrose: Change `config/' to `config/mips/'. - * c-decl.c (finish_decl): Avoid cascading messages for tentative - definitions with incomplete types. +Thu Jan 14 16:55:11 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * c-typeck.c (process_init_constructor): Warn about partly - bracketed initializers. + * pa.h (CONDITIONAL_REGISTER_USAGE): Do not make %r27 a global_reg. -Thu Aug 13 17:18:49 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * pa.c (output_function_prologue): Combine stack adjustment and + first GR save when reasonable to do so. + (output_function_epilogue): Combine stack adjustment and first + GR restore when reasonable to do so. Avoid load/use stall for + RP restore in common cases. - * cccp.c (handle_directive): Output macro name if dump_names. + * pa.h (LEGITIMIZE_ADDRESS): Rework to create REG and REG+D + addresses instead of REG+REG addresses. - * m68k.h: Delete junk line inserted by mistake in last patch. +Thu Jan 14 15:45:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Aug 13 16:46:58 1992 Tom Wood (wood@dg-rtp.dg.com) + * objc/core.c (initialize_dispatch_tables): Create an entry in RECORD + for each class used in a given file, not just one. - * 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. +Thu Jan 14 12:00:35 1993 Ian Lance Taylor (ian@cygnus.com) - * function.c (contains): Return the number of insns. - (reposition_prologue_and_epilogue_notes): Count all the prologue and - epilogue insns. + * Makefile.in (INSTALL_HEADERS_DIR, FLOAT_H, CROSS_FLOAT_H): New + variables. + (INSTALLED_H): Removed. + (float.h): Copy from $(FLOAT_H). + (float.h-nat, float.h-cross): New targets. + (stmp-headers, stmp-fixincludes): New targets to build fixed + include files in build directory. + (all.cross, rest.encap): Depend on stmp-headers. + (clean): Remove the include directory and stmp-*. + (install-normal): Renamed from install-native. + (install-cross): Removed. + (INSTALL_TARGET): Changed to install-normal from install-native. + (install-headers): Install from build directory. + (install-include-dir, install-headers-tar,install-headers-cpio, + install-assert-h): New targets. + (install-float-h, install-limits-h, install-common-headers, + install-fixincludes): Removed. + * cross-make (INSTALL_TARGET): Don't override. + (FLOAT_H): New override, set to $(CROSS_FLOAT_H). -Thu Aug 13 15:20:24 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Thu Jan 14 14:17:05 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * m68k.h (TARGET_SWITCHES): Make -m68040 set 01007 not 01000. + * libgcc2.c: Correct typo in comment. - * 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__. + * fixinc.sco, fixinc.svr4 (egrep and sed loop): Don't print + messages about files that need no change. - * c-typeck.c (build_component_ref): Don't warn for compound and - conditional expressions when pedantic. These are valid in ANSI C. + * sparc.md (muldf+1, muldf+2): Add patterns for fsmuld and fdmulq. -Thu Aug 13 11:37:57 1992 Jeffrey A. Law (law@mole.gnu.ai.mit.edu) + * sparc.c: Clarify numerous *_operand comments. + (SPARC_STACK_ALIGN): Delete. + (sparc_frw_output_function_epilogue): Delete unused variable + load_only_r15. + (sparc_frw_epilogue_delay_slots): Delete r15/fmask test. + * sparc.md: Document sparclite integer multiply cycle times. + (movdf, !TARGET_FPU): Remove tests for floating point registers. + (divsi3, udivsi3): Correct length attribute. + (ffssi2): Define for sparclite. + * sparc.h (CPP_SPEC): Add -mfrw support. + (OVERRIDE_OPTIONS): Define. Can't omit frame pointer or do pic + when profiling. + (REG_USED_SO_FAR): Delete. + (CONST_COSTS): Give SMALL_INT constants cost of 0. Make UDIV, + DIV, MOD, UMOD more expensive. Make FIX same cost as FLOAT. + (TARGET_FRW): Define. + (TARGET_DEFAULTS): Add -mfrw flag. + (INITIAL_FRAME_POINTER_OFFSET): Add -mfrw support. + (BASE_OUTGOING_VALUE_REG, BASE_INCOMING_ARG_REG): Likewise. + (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise. + (DELAY_SLOTS_FOR_EPILOGUE, ELIGIBLE_FOR_EPILOGUE_DELAY): Likewise. + (EXPAND_BUILTIN_SAVEREGS): Likewise. - * pa.c (output_function_prologue): Restore "rp" after the call to - mcount. + * expr.c (do_tablejump): Pass 1 for unsigned flag to emit_cmp_insn. -Thu Aug 13 06:54:50 1992 Torbjorn Granlund (tege@jupiter.sics.se) +Thu Jan 14 14:43:15 1993 Torbjorn Granlund (tege@sics.se) - * 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. + * pa.c (move_operand): Allow all CONST_INTs that can be moved to + general registers with one insn. + * pa.c (pre_cint_operand): New predicate for predecrementing + ldwm/stwm insns. + * pa.c (zdepi_cint_p): New function. + * pa.c (depi_cint_operand): Remove. + * pa.c (and_mask_p): New name for consec_zeros_p. All callers + changed. + * pa.c (srcsi_operand): Removed. + * pa.c: Use INT_14_BITS instead of synonym SMALL_INT. + * pa.c (emit_move_sequence): Clean up CONST_INT case. + * pa.c (compute_zdepi_operands): New name for + compute_xdepi_operands_from_integer. Change second parm to return + plain integers, was RTXes. + * pa.c (print_operand): Handle 'Z' for 'zdepi' source used to move + CONST_INT. -Wed Aug 12 11:45:15 1992 Michael Meissner (meissner@osf.org) + * pa.h (CONST_OK_FOR_LETTER_P): Change meaning of 'K'. Add new + alternative 'N'. Use VAL_*_BITS_P macros when possible. + * pa.h (LEGITIMATE_CONSTANT_P) Fix comment. + * pa.h (FITS_14_BITS): Remove. + * pa.h (SMALL_INT): Remove. - * 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. + * pa.md (move patterns): Reorganize pattern order. Cleanup. Merge + CONST_INT patterns into main patterns for SImode, HImode, QImode. + Add patterns to recognize predecrement cases in SImode, HImode, + QImode. Remove 'y' constraint from SImode recognizer. + (main HImode, QImode recognizers): Handle SAR move from greg. + Change constraints to match the SImode pattern. + * pa.md (cmov): Move near other conditional patterns. + * pa.md: Replace all occurences of srcsi_operand with move_operand. + Replace `ldo X(0),d' with `ldi X,d'. + * pa.md (rotlsi3): Remove SET_ATTRs. + * pa.md (rotrsi3): Likewise. - * decrose.h (ASM_FINAL_SPEC): Ditto. +Thu Jan 14 13:33:55 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) -Wed Aug 12 03:23:30 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rtl.c (copy_rtx): A MEM with constant address is not sharable. + Undo Dec 27 change. - * fixincludes (finding all .h files): Look for links as well as - ordinary files. +Thu Jan 14 06:45:51 1993 James Van Artsdalen (jrv@goldman.gnu.ai.mit.edu) - * m68k.h (TARGET_68040): Test for 01000 or 0400. - (TARGET_SWITCHES): Rename -m68040 to -m68020-40. - Rename -m68040-only to -m68040. + * i386.md (cmpstr patterns): Fix mode mismatch in SET. - * hp2bsd.h (TARGET_DEFAULT): Make value 0. +Wed Jan 13 16:05:07 1993 Ian Lance Taylor (ian@cygnus.com) -Tue Aug 11 04:23:35 1992 Paul Eggert (eggert@twinsun.com) + * configure: Precompute version in generated Makefile. - * 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. + * Makefile.in: (CROSS_GCC_CFLAGS, CROSS_TOOLS, REAL_LD_NAME, + install-cross-tools): Removed. + * cross-make (CROSS_GCC_CFLAGS, CROSS_TOOLS): Removed. + (SYSTEM_HEADER_DIR): Set to $(tooldir)/include. + * gcc.c: Use TOOLDIR_BASE_PREFIX, not TOOLDIR_PREFIX. -Tue Aug 11 13:10:47 1992 Fred Fish (fnf at fishpond) +Wed Jan 13 12:04:21 1993 Michael Meissner (meissner@osf.org) - * config.sub (amigaunix/amix): Use sysv4 as os. - * configure (m68k-*-amix*): Change to m68k-cbm-sysv4* and - eliminate fixincludes and broken_install. + * libgcc2.c (_ffsdi2): Use the correct names for structure + elements of type DIunion. Return the correctly typed value. -Tue Aug 11 15:42:58 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * mips-tdump.c (print_file_desc): Correctly scale the rfd pointer. + Patch from ian@cygnus.com. - * 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. +Wed Jan 13 10:04:26 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * unroll.c (copy_loop_body): Only copy VTOP note if it will end up - before a loop exit test. + * pa.h (ASM_OUTPUT_INTERNAL_LABEL): Fix typo. -Tue Aug 11 09:21:47 1992 Michael Meissner (meissner@osf.org) +Wed Jan 13 03:05:08 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * fixinc.svr4 (rpc/types.h): Change const extern to extern const. - * mips.c (toplevel): Remove declarations for all of the gen_xxx - functions used, since insn-flags.h contains them. + * expr.c (expand_increment): Handle all preincrements by building + arithmetic and calling expand_assignment. - * mip.md (fixuns_truncdfsi2): Remove extern declarations. - (fixuns_truncsfsi2): Ditto. - (movsi_unaligned, movsi_ulw, movsi_usw): Ditto. - (seq, sne, sgt, sle, sgtu, sleu): Ditto. + * stmt.c (expand_asm_operands): For clobbering memory, + generate (MEM (SCRATCH)) inside the CLOBBER. -Tue Aug 11 02:51:25 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cccp.c (include_defaults): + Put GCC_INCLUDE_DIR just before the system dirs whose files are fixed. - * fixincludes (memory.h): Fix versions 1.2 and 1.3 as well as 1.4. + * Makefile.in (risky-stage1, etc): Use $(GCC_PARTS) as what to mv. - * configure: Improve err msg for unknown config. +Tue Jan 12 23:24:30 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Aug 11 04:02:51 1992 Paul Eggert (eggert@twinsun.com) + * stor-layout.c (variable_size): Change back to NULL_PTR. - * 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. +Tue Jan 12 18:59:01 1993 James Van Artsdalen (james at bigtex.cactus.org) - * c-typeck.c (parser_build_binary_op): Warn about expressions like - `1<=i<=N'. + * reload1.c (reload): Clear reload_in_progress even if reloading + fails. -Mon Aug 10 22:11:50 1992 Michael Meissner (meissner@osf.org) +Tue Jan 12 18:32:01 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * reload1.c (emit_reload_insns): Use gen_rtx to create a secondary - reload insn, not gen_reg_rtx. + * calls.c (emit_call_1): Pass a NULL_RTX into emit_call_insn for + missing last arg. -Mon Aug 10 06:23:23 1992 Torbjorn Granlund (tege@jupiter.sics.se) + * stor-layout.c (variable_size): Call expand_expr with a NULL_RTX, + not a NULL_PTR. - * 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. + * integrate.c (const_equiv): Delete decl, since it's never defined. + (fold_out_const_cc0): Likewise. + * loop.c (delete_insn_forces): Likewise. + * final.c (alter_cond): Delete decl, since it's never defined. -Sun Aug 9 17:10:24 1992 Pat Rankin (rankin@eql.caltech.edu) + * fold-const.c (fold): Only call force_fit_type with one arg. - * configure.com: Rename vms to vax-vms; split long lines. - * make-l2.com: Assemble libgcc2 routines twice, preserving - lowercase function names the second time. + * expr.c (group_insns): Make void, since it never returns an rtx. -Sun Aug 9 00:50:46 PDT 1992 Ron Guilmette (rfg at netcom.com) + * emit-rtl.c (emit_jump_insn_before): Call make_jump_insn_raw with + only one argument. + (emit_jump_insn_after): Likewise. + (emit_jump_insn): Likewise. - * final.c (final_scan_insn): Call dwarfout_begin_block and - dwarfout_end_block even for -g1. + * dbxout.c (dbxout_type) [case FILE_TYPE, SET_TYPE]: Call with + missing third arg as 0. -Sun Aug 9 18:10:33 1992 Michael Meissner (meissner@osf.org) + * cse.c (fold_rtx): Call itself with missing arg INSN as NULL_RTX. - * genflags.c (gen_insn): Treat 'call_pop' and 'call_value_pop' like - 'call' and 'call_insn'. +Tue Jan 12 17:53:13 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * i386.h (LEGITIMIZE_ADDRESS): Emit_move_insn only takes two - arguments, not three. + From Fred Fish: + * fixinc.svr4 (stat.h): Don't depend upon specific formal + parameter names when locating static functions to convert + to prototype form. Also be more selective about what + strings to prepend underbars to during renaming of formal + parameters and local variables in static functions. -Sat Aug 8 10:26:02 1992 Michael Meissner (meissner@osf.org) + * cccp.c (main): Set signal handler for SIGPIPE. + (pipe_closed): New function, to handle SIGPIPE. - * cp-tree.h (hash_chainon): Provide declaration. - (build_virtual_init): Ditto. - (build_vbase_delete): Ditto. - (build_vbase_vtables_init): Ditto. +Tue Jan 12 17:48:13 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. - - * 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. - - * 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. - -Sat Aug 8 07:36:19 1992 Tom Wood (wood@dg-rtp.dg.com) - - * 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. - -Fri Aug 7 00:16:28 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * gcc.c (read_specs): Cast args of xmalloc and read to unsigned. - - * final.c (final_scan_insn): Use ASM_OUTPUT_ADDR_DIFF_ELT - and ASM_OUTPUT_ADDR_VEC_ELT only if defined. - -Thu Aug 6 22:00:13 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - - * 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. - - * sparc.md: Correct DEFINE_SPLITs added Jul 27. They would - overwrite the input register if it was the same as the result reg. - -Thu Aug 6 16:25:48 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) - - * pa.h (ASM_FILE_START): If profiling IMPORT "_mcount" instead of - "__gcc_mcount". - - * 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. + * expr.c (compare_from_rtx): Allow simplify_relational_operation to + fail. -Thu Aug 6 13:04:16 1992 Tim Moore (moore@defmacro.cs.utah.edu) +Tue Jan 12 02:52:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * optabs.c (init_optabs): Use plain `ffs' for SImode ffs_optab libcall. -Wed Aug 5 11:23:05 1992 Tom Wood (wood@dg-rtp.dg.com) + * Makefile.in (LIB2FUNCS): Add _ffsdi2. + * libgcc2.c (__ffsdi2): New function. - * m88k.h (EXTRA_SECTIONS, svr3): Delete empty definitions for - CTORS_SECTION_FUNCTION and DTORS_SECTION_FUNCTION. Add in_ctors - and in_dtors. + * c-decl.c (init_decl_processing): Declare ffs as builtin. -Tue Aug 4 23:54:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fixincludes (egrep and sed loop): Don't print messages about + files that need no change. - * 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. +Mon Jan 11 17:22:16 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) -Tue Aug 4 20:30:12 1992 Michael Meissner (meissner@osf.org) + * sparc.c (eligible_for_epilogue_delay): Delete unused variable + `this_function_name'. + (output_fp_move_double): Delete unused var `addr'. + (output_fp_move_quad): Likewise. + (fregs_ever_live): Delete unused static var. + (output_function_epilogue): Delete `n_fregs' and `i'. + (sparc_frw_output_function_prologue): Delete `regno'. + (sparc_frw_output_function_epilogue): Delete `load_nop'. - * cp-decl.c (grokdeclarator): Call build_type_variant to set const - and volatile flags, since build_reference_type does not take those - arguments. + * reload1.c (reload): Delete unused variable inc_groups. - * cp-parse.y (attribute processing): Correctly call tree_cons with - three arguments, passing NULL_TREE for the chain argument. + * sparc.h (TARGET_SWITCHES): Add no-fpu and hard-float. + (CONDITIONAL_REGISTER_USAGE): Define for ! TARGET_FPU. + (BASE_RETURN_VALUE_REG): Use reg 8 when ! TARGET_FPU. + (BASE_OUTGOING_VALUE_REG): Use reg 24 when ! TARGET_FPU. + * sparc.md (*): Make all fp patterns conditional on TARGET_FPU. + (movtf, movdf, movsf): Add !TARGET_FPU versions. + (sfmode return): Add pattern for when !TARGET_FPU. + (movsi+2, movsf+1): Use %@ instead of %%fp. + (mulsidi3, umulsidi3): Rewrite, to avoid extending constants. - * cp-tree.h (hash_chainon): Add declaration for this function. - (build_virtual_init): Ditto. - (build_vbase_delete): Ditto. - (build_vbase_vtables_init): Ditto. + * fixincludes: Do not consider //* to be a C++ comment which needs + to be fixed. - * cp-typeck.c (build_modify_expr_1): Pass 0 as third argument to - build_unary_op. - (build_modify_expr): Ditto. +Mon Jan 11 15:03:41 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) -Tue Aug 4 18:10:46 1992 Mike Stump (mrs@wombat.gnu.ai.mit.edu) + * pa.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P): Fix typos. - * cp-tree.h, tree.h: Moved definitions of TREE_VIA_* into tree.h for - consistency. +Mon Jan 11 12:41:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Aug 4 17:35:32 1992 Mike Stump (mrs@albert.gnu.ai.mit.edu) + * config/xm-svr4.h (sys_siglist): New macro. - Complete 10th FSF <---> Cygnus merge. +Sun Jan 10 18:16:49 1993 James Van Artsdalen (james at bigtex.cactus.org) - Tue Aug 4 12:58:59 1992 Mike Stump (mrs@cygnus.com) + * i386.md (extendsidi2,zero_extendsidi2): New patterns. + (adddi3,subdi3): Don't emit code for low part if known to be zero. - * 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. + * i386/xm-sysv4.h (alloca): Delete - already defined in xm-i386.h. - Tue Aug 4 11:59:36 1992 Mike Stump (mrs@cygnus.com) + * i386/xm-aix.h,i386/xm-sun.h: Include i386/xm-i386.h. + Remove redundant defines. - Tue Aug 4 13:43:55 1992 Chip Salzenberg (chip@tct.com) +Sun Jan 10 18:00:17 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * cp-method.c (hack_identifier): Remove redundant call of - assemble_external. + * pa.h (GENERAL_OR_FP_OR_SNAKE_FP_REGS): New register class. + (LEGITIMIZE_ADDRESS): No longer show DP relocation. Simplify. + * pa.md (reload_insi, reload_outsi): Use new "Z" constraint instead + of "z" constraint. + (load HIGH patterns): Rewrite to not show DP relocation. + * pa.c (output_global_address): Handle (high (const (plus ...))). + (secondary_reload_class): If TARGET_KERNEL, then loading a + symbolic address, or the high part of a symbolic address requires + %r1 as a secondary reload register. + (emit_move_sequence, SYMBOL_REF case): If TARGET_KERNEL, then handle + secondary reload created for a symbolic (high (const (plus ...))). + No longer show DP relocation; read_only and normal operands emit the + same RTL now. + Emit the same RTL before and after reload, only change how the + scratch/temporary register is chosen. + +Sun Jan 10 11:42:12 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Tue Aug 4 10:23:02 1992 Chip Salzenberg (chip@tct.com) + * combine.c (make_extraction): Don't use POS < 0 as a flag + that POS_RTX is to be used; instead use POS_RTX unless it is + nonzero. If POS_RTX is a constant, set POS and clear POS_RTX. + (make_compound_operation, make_field_assignment): Pass 0 for POS + instead of -1 when POS_RTX is nonzero. - * cp-decl.c (pushdecl): Any kind of DECL should be good enough - at global scope, not just a TEMPLATE_DECL. +Sat Jan 9 01:34:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Sun Aug 2 21:12:55 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + * reload1.c (reload_as_needed): Test for whether to call + forget_old_reloads_1 for a REG_INC note was backwards. - * cp-tree.c: change definition of __eprintf to match libgcc2.c and - assert.h + * config/i386/xm-i386.h (alloca): Undef before defining. - Fri Jul 31 16:53:26 1992 Mike Stump (mrs@cygnus.com) + * config/i860/sysv3.h (ASM_OUTPUT_LOCAL): New override. - * 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). + * gcc.c (lookup_compiler): Fix special code for `-' suffix. - Thu Jul 30 11:46:14 1992 Michael Tiemann (tiemann@rtl.cygnus.com) + * c-lex.c (yylex): Change warning msg when decimal const is unsigned. - * 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. + * Makefile.in (bootstrap*): Pass BOOT_LDFLAGS down as LDFLAGS. - Wed Jul 29 03:25:51 1992 Michael Tiemann (tiemann@rtl.cygnus.com) + * Makefile.in (install-dir): Don't create gcc-lib/include. - * 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. + * objc-actions.c (init_module_descriptor): + Use size_in_bytes to get size of `struct objc_module'. - * cp-init.c (build_offset_ref): Use IDENTIFIER_TYPE_VALUE of CNAME - when CURRENT_CLASS_DECL is 0. + * c-decl.c (init_decl_processing): Use unsigned_intQI_type_node, + not unsigned_char_..., as index type for ..._array_type_node. - * cp-class.c (finish_struct): Don't give errors for TYPE_DECLs in a - struct that are really only meant for FIELD_DECLs. + * toplev.c (really_sorry): Use progname in error message, not c++. - Tue Jul 28 23:36:58 1992 Mike Stump (mrs@cygnus.com) + * optabs.c (expand_binop): For complex mult, compute res + in each alternative, not before. - * cp-decl.c (grok_op_properties): Do not core dump on parse errors. + * Makefile.in (bootstrap): Pass along CC and libdir in first compile. - Tue Jul 28 22:43:12 1992 Mark Eichin (eichin@cygnus.com) + * c-decl.c (pushdecl): Avoid multiple extern decl mismatch warnings + when previous decl is built-in. - * 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. + * cccp.c (macroexpand): Before concatenated empty rest arg, + do copy constant chars, but delete last run of nonwhitespace chars. + (rescan): Handle Newline-Hyphen in expand_to_temp_buffer + as well as when scanning a macro body. - Tue Jul 28 22:33:46 1992 Mike Stump (mrs@cygnus.com) +Sat Jan 9 09:11:25 1993 Michael Tiemann (tiemann@rtl.cygnus.com) - * cp-typeck.c (build_c_cast): Allow cast to array type in - some situations to be more compatible with Cfront. + * varasm.c (output_constant): Handle CHAR_TYPE and BOOLEAN_TYPE like + INTEGER_TYPE. - Tue Jul 28 22:05:14 1992 Mark Eichin (eichin@cygnus.com) +Sat Jan 9 08:06:42 1993 Michael Meissner (meissner@osf.org) - * 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.) + * cccp.c (main): If we are creating a new dependency file with -MD + or -MMD, use "w" fopen mode instead of "a". - Tue Jul 28 19:18:30 1992 Mike Stump (mrs@cygnus.com) +Fri Jan 8 20:58:12 1993 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) - * 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. + Cygnus<->FSF merge. + Thu Jan 7 18:16:05 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - Mon Jul 27 16:55:52 1992 Mike Stump (mrs@cygnus.com) + * cp-parse.y (template_type): Avoid dereferencing an error_mark. - * 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... + Wed Jan 6 17:43:23 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - Mon Jul 27 15:03:23 1992 Ken Raeburn (raeburn@cygnus.com) + * cp-decl.c (init_decl_processing): Make flag_no_builtin avoid + definitions of builtin fns memcpy, memcmp, strcmp, strcpy, strlen, + sin, and cos. (Add sin and cos.) + (flag_no_builtin): Add extern decl. - * cp-init.c (build_vec_delete): Extract size of type even for - destructorless types, so value can be computed to pass to delete + * cp-decl.c (current_local_enum): New variable. + (start_enum): Set TREE_ADDRESSABLE on the tag here, and clear + current_local_enum. + (build_enumerator): Build the field decl here, rather than in + grok_enum_decls; set its TREE_CHAIN to the current_local_enum. + (grok_enum_decls): Chain down, setting the type. + + Tue Jan 5 22:09:18 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-pt.c (tsubst): Properly demangle a method's name if it's for an operator. - * 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. + Tue Jan 5 15:29:40 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-pt.c (instantiate_member_templates): Deleted some unused code. + * cp-method.c (build_opfncall): Make postfix/prefix ++/-- work by + setting the second arg to 0 when using postfix ++/--. - * cp-decl.c (grokfndecl): Make class methods public if - `implementation' pragma is set. + * cp-decl.c (grokdeclarator): Forbid declaring operator= from being + declared as a non-member (or friend) function. - * 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. + Tue Jan 5 14:26:38 1993 Mike Stump (mrs@cygnus.com) - Fri Jul 24 14:22:39 1992 Mike Stump (mrs@cygnus.com) + Jan 5 14:09:08 1993 Paul Eggert (eggert@twinsun.com) - * 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. + * cp-lex.c (): Propagate a change from c-lex.c. - Thu Jul 23 08:12:16 1992 Mike Stump (mrs@cygnus.com) + Tue Jan 5 13:27:05 1993 Mike Stump (mrs@cygnus.com) - * cp-lex.c: Update wide character handling from c-lex.c and make - the type of multicharacter constants be int per ANSI C++ WP. + Sep 14 17:48:27 1992 Paul Eggert (eggert@twinsun.com) - * 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. + * cp-lex.c (real_yylex): For floats, use REAL_VALUES_LESS to + distinguish underflow from overflow. Delete special case for 0.0. - Wed Jul 22 17:41:08 1992 Mark Eichin (eichin@cygnus.com) + Mon Jan 4 15:26:47 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * 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. + * cp-typeck.c (build_array_ref): Convert the index from a reference + before doing any appropriate type conversions. + + Wed Dec 30 15:36:18 1992 Per Bothner (bothner@cygnus.com) - Tue Jul 21 22:59:32 1992 Michael Tiemann (tiemann@rtl.cygnus.com) + * convert.c: New file. Contains the common utility routines + from c-convert.c and cp-cvt.c (such as convert_to_integer). + * convert.h: New file: declarations exported from convert.c. + * c-convert.c, cp-cvt.c: Correspondingly reduced. + * cp-cvt.c (cp_convert_to_pointer): New function, with the + extra hair beyond that provided by the C convert_to_pointer. + * Makefile.in (OBJS): Add convert.o. + * cp-typeck.c (build_binary_op), cp-tree.h: Add extra convert_p + parameter, for consistency with the C version (so we can make + convert_to_integer independent of C or C++). + * cp-cvt.c, cp-decl.c, cp-decl2.c, cp-except.c, cp-init.c, + cp-typeck.c, cp-parse.y: Fix calls to build_binary_op to pass + the new convert_p parameter (i.e. 1). - * 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. + Fri Dec 18 19:19:28 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - Tue Jul 21 05:31:10 1992 Ken Raeburn (raeburn@cygnus.com) + * 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'. - * cp-tree.h (start_type_method): Deleted unused declaration. + * cp-decl2.c (grokclassfn): Try using the local value for a nested + type if the IDENTIFIER_TYPE_VALUE isn't there. - * cp-pt.c (tsubst): Fix propagation of qualifiers in several cases. + Wed Dec 16 18:18:43 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-pt.c (tsubst, case FUNCTION_DECL): Look for matches that differ - only in return type. + * cp-typeck.c (build_unary_op): Set TREE_CONSTANT on the address of + a function if it's static or external (i.e., staticp likes it). + + Wed Dec 16 16:09:37 1992 Mike Stump (mrs@cygnus.com) - * cp-pt.c (tsubst, case FUNCTION_DECL): Rewrite name of - type-conversion operators, in case the target type involves a - template parameter. + * cp-decl.c (sigsegv, init_decl_processing): Give users the line + number and source filename on code that makes the back-end call + abort. - Mon Jul 20 03:35:44 1992 Michael Tiemann (tiemann@rtl.cygnus.com) + Tue Dec 15 16:50:45 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-class.c (add_virtual_function): Don't crash if - CURRENT_CLASS_TYPE is NULL_TREE. - * cp-decl2.c (grokfield): Ditto. + * cp-tree.h (CLASSTYPE_NAMES): Deleted. -Tue Aug 4 15:36:07 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-init.c (build_offset_ref): When getting ready to give an error + about something not being a member or operator, only call + operator_name_string when it is indeed an operator. - * c-decl.c (finish_decl): Don't do expand_decl_init for FUNCTION_DECL. + * cp-decl2.c (bad_specifiers): New function. + * cp-tree.h (bad_specifiers): Add prototype. + * cp-decl.c (grokdeclarator): Use it in places where we had + replicated code. - * c-typeck.c (build_conditional_expr): Merged const and volatile flags - of incoming types. + Tue Dec 15 04:05:54 1992 Mike Stump (mrs@cygnus.com) -Tue Aug 4 11:15:47 1992 Chip Salzenberg (chip@tct.com) + * cp-lex.c (UNSET_RESERVED_WORD): Update from c-lex.c. - * 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). + Tue Dec 15 01:21:44 1992 Brendan Kehoe (brendan@lisa.cygnus.com) -Tue Aug 4 15:12:51 1992 Tom Wood (wood@dg-rtp.dg.com) + * cp-lex.c (real_yylex): Convert invisible initialized char array + vars to string constants. - * 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. + Mon Dec 14 11:38:10 1992 Brendan Kehoe (brendan@lisa.cygnus.com) -Tue Aug 4 14:22:44 1992 Jim Wilson (wilson@sphagnum.cygnus.com) + * Makefile.in: Fix a lot of dependencies on cp-lex.h and other + headers for cp-*.o targets. - * dbxout.c: Include output.h. + * cp-search.c (get_first_matching_virtual): Use warning_with_decl, + not error_with_decl, inside code that's only ever reached with + -Woverloaded-virtual. -Tue Aug 4 00:21:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-typeck.c (c_expand_return): When building the INIT_EXPR, clear + out the context if it's an ERROR_MARK so the back-end won't die later. - * Makefile.in (install-common): Install protoize and related files - if they were compiled. - (install-proto): Target deleted. - (dbxout.o): Depend on output.h. + * cp-type2.c (my_friendly_abort): Don't say anything like "please + fix above errors", just exit quietly. -Mon Aug 3 02:04:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-lex.h (enum rid): Reordered for improved speed in grokdeclarator + when it does its linear search. RID_WCHAR is no longer in the + search path, since it's found by hand (as are RID_INT and RID_CHAR). + (RID_FIRST_MODIFIER): Start at RID_EXTERN now. - * 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. + * cp-parse.y (overloaddef): Warn that using `overload' is an + anachronism. - * c-parse.y (datadef): For empty declaration, use pedwarn. - * objc-parse.y (datadef, mydecl): Likewise. + Wed Dec 9 08:27:13 1992 Niklas Hallqvist (niklas at della.appli.se) - * Makefile.in (install-cross-tools): Install nm from tooldir. + * cp-decl.c (init_decl_processing): Make sure the "unknown type" + typedecl gets ignored by the debuginfo generators. - * varasm.c: Include real.h. - * sparcv4.h: Don't include real.h. + Sun Dec 13 02:38:43 1992 Brendan Kehoe (brendan@cygnus.com) - * flow.c (mark_used_regs): Do recurse in setting of global hard reg. - Do set reg_next_use for global hard reg. + * 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). - * objc-parse.y (reserved_declspecs, declmods): Change as in c-parse.y. + * cp-pt.c (type_unification): Only check that ARGS is a TREE_LIST if + it's non-null. -Mon Aug 3 03:24:17 1992 Paul Eggert (eggert@twinsun.com) + These four are from Niklas Hallqvist: - * c-parse.y (reserved_declspecs): Warn if storage class occurs here. - (declmods): Warn if storage class is not first. + * cp-search.c (compute_visibility): Use the main variant when + testing if a member function belongs in the current class. -Sun Aug 2 21:44:34 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * cp-call.c (build_method_call): Don't look for constructors + called by initialization inside class methods in the classes' + bases (as opposed to inherited methods). - * emit-rtl.c (gen_rtx, case REG): Don't use frame_pointer_rtx or - arg_pointer_rtx if reload is in progress. + * cp-typeck.c (convert_for_initialization): In the case of + templates, make sure build_method_call knows which instantiation + of the class template we're initializing an object of. - * jump.c (jump_optimize): When replacing jumps with logical - expressions, use preserve_subexpressions_p. + * cp-decl.c (grokdeclarator): Instead of an assert, return a + NULL_TREE if the return_type's not return_ctor. - * 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. + Sat Dec 12 23:52:25 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * 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. + * cp-dem.c (cplus_demangle): Recognize 'S' for signed char. + (do_cuv_prefix): Print out "signed" for it. - * toplev.c: (main): Don't cast pointers to int unnecessarily. + Fri Dec 11 19:36:36 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * tree.c: Include function.h after tree.h. + * cp-cvt.c (convert_to_reference): Fix a typo about when to return + the result of a type conversion. - * 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. + Tue Dec 8 20:05:25 1992 Mike Stump (mrs@cygnus.com) - * varasm.c (struct addr_const): Use HOST_WIDE_INT for OFFSET. + * cp-cvt.c (convert_to_reference): If a conversion can be found via + a constructor, then use it. - * 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. + Fri Dec 4 13:53:01 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * expr.c (expand_builtin, case BUILT_IN_CONSTANT_P): Add missing - call to TREE_CODE. + * cp-lex.c (init_lex): Delete inits for CARD_EXPR and SET_LE_EXPR, + since we never actually use them. - * reload1.c (reload): Set reload_in_progress earlier. + Thu Dec 3 19:20:14 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * 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. + * cp-decl.c: Include sys/types.h for systems that need things for + signal.h. -Sun Aug 2 01:30:22 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Wed Dec 2 15:51:34 1992 Mike Stump (mrs@cygnus.com) - * objc-parse.y (attrib): Copied from c-parse.y. + * cp-call.c (build_method_call): Don't call abort for pure virtual + methods, instead, call the user-defined method. Addresses of pure + virtual methods are probably still wrong. + + Wed Dec 2 14:44:41 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-call.c (convert_harshness): If parm's null for a reference (as + can be passed in), return 0. + + Tue Dec 1 18:05:20 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-decl.c (grokdeclarator): Make member initialization be a + warning, not an error. Only issue it if not -pedantic, since + grokfield will issue an error when pedantic. Only warn about + constant members being initialized if `-ansi' is being used. + (finish_decl): Only complain about uninitialized const's that aren't + members when acting -pedantic, since we'll have already issued the + error about initializing a field. -Sat Aug 1 13:34:49 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-type2.c (build_functional_cast): Revert change of Nov 2, + concerning clearing the TREE_VALUE of a default parameter. - * c-pragma.c (HANDLE_PRAGMA_WEAK): Define only if SET_ASM_OP defined. + Tue Dec 1 11:09:50 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * vax-vms.h: Renamed from vms.h. - * xm-vax-vms.h: Renamed from xm-vms.h. - * configure (vax-*-vms): Change file names. + * 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. -Sat Aug 1 16:13:09 1992 Mark Eichin (eichin@cygnus.com) + * cp-method.c (icat): Handle an argument of `1' first, since it's + the most common case. - * 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. + Tue Dec 1 02:36:28 1992 Mike Stump (mrs@cygnus.com) -Fri Jul 31 08:19:41 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu + * cp-search.c (get_first_matching_virtual): Only set the + DECL_CONTEXT if the new context is a an unambiguous parent of the + previous context. - * combine.c (try_combine): Correctly handle implicit deaths of - I2DEST and I1DEST. + Tue Dec 1 02:20:32 1992 Mike Stump (mrs@cygnus.com) - * cexp.y: Add declaration for xmalloc. + Wed Nov 25 18:25:06 1992 Jim Wilson (wilson@sphagnum.cygnus.com) - * cccp.c: Add declarations for malloc and realloc. - Include stddef.h when __STDC__ is defined. - (PTR_INT_TYPE): New macro. - (pcfinclude): Use it. + * cp-decl.c (pushdecl): Clear DECL_CONTEXT for local declarations. - * c-decl.c (init_decl_processing): __builtin_return_address, - __builtin_frame_address, and __builtin_saveregs all return void *. + Mon Nov 30 15:36:43 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * reload.c (find_reloads_address_1): Convert another push_reload - call into a call to find_reloads_address_part. + * cp-decl.c (finish_decl): Only complain about uninitialized consts + in the case where we haven't seen a previous decl/init of it. - * reload1.c (gen_input_reload): Correct order of insns emitted - when using secondary memory. + Thu Nov 26 11:22:12 1992 Mike Stump (mrs@cygnus.com) - * reload1.c (reload_as_needed): Add missing semicolon after macro. + * c++: Put a newline after for arg and before do, as ``for arg do'' + is not accepted by all shells. - * 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. + Mon Nov 23 13:21:43 1992 Brendan Kehoe (brendan@cygnus.com) - * final.c (output_operand): Abort if X is a pseudo. + * c++ (-lm): Also recognize -lmath as a math library. - * cse.c (exp_equiv_p, case CONST_INT): Use INTVAL instead of XINT. + * 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). - * expr.c (convert_move): Put FROM into a register if it is a SUBREG. - (For extension case.) + * cp-parse.y (paren_expr_or_null): New rule to emit an error when an + empty condition is used when it shouldn't. + (simple_if, stmt): Use it for `if', `while', and `do'. -Fri Jul 31 08:19:05 1992 Tom Wood (wood@dg-rtp.dg.com) + * cp-decl.c (start_decl): If grokdeclarator returns a + void_type_node, return a NULL_TREE. - * function.c (reposition_prologue_and_epilogue_notes): Search for - the notes without using basic_block_end[0] or basic_block_head[N-1]. + * cp-typeck.c (build_modify_expr_1): When calling build_opfncall for + `operator=', use make_node to create a plain NOP_EXPR for it to use, + rather than trying to pass NOP_EXPR down hoping it gets there intact. + (build_modify_expr): Ditto. + * cp-method.c (build_opfncall): Use TREE_CODE on ARG3 for a + MODIFY_EXPR, since it'll be coming in properly as a tree now. -Fri Jul 31 08:18:18 1992 Michael Meissner (meissner@osf.org) + Sat Nov 21 02:33:28 1992 Brendan Kehoe (brendan@cygnus.com) - * reorg.c (get_branch_condition): Return 0 if all tests fall through. + * 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'. -Fri Jul 31 02:28:02 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * 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. + Sat Nov 21 01:49:34 1992 Brendan Kehoe (brendan@cygnus.com) -Thu Jul 30 09:54:07 1992 Tom Wood (wood@dg-rtp.dg.com) + Work towards 64-bit support, and still more housecleaning. - * m88k.h (FUNCTION_BOUNDARY, ASM_OUTPUT_ALIGN_CODE): Pack code - more tightly for the m88110. + * cp-*.[cy]: For all functions and variables, pass/initialize/compare + NULL_TREE, not 0, where appropriate. Cast comparisons against 0 + with the proper pointer types, where appropriate. Fix all passing + of NULLs where there should be NULL_TREEs. Don't include + cp-class.h anywhere. In many places, pass the missing fifth arg + to build_opfncall as NULL_TREE. + * cp-tree.h: Add decls with prototypes for prettymuch every function + in the C++ front-end. Include cp-class.h here. + * cp-call.c: (build_function_call_maybe, unary_complex_lvalue, + convert_harshness): Don't declare. + (explained): Initialize to 0. + (build_field_call): Give build_opfncall its fifth arg (NULL_TREE). + (build_method_call, build_overload_call_real): Don't declare + rank_for_overload. + * cp-class.c (lookup_tag_current_binding_level, + do_inline_function_hair): Don't declare. + (get_vfield_name): Add prototype for static fn. + (leftmost_baseclasses): Disable, never used. + (constructor_name): Don't declare. + (finish_struct): Delete arg EMPTY, never used. Change all callers. + Disable set of leftmost_baseclasses, since it's never used anywhere. + (pushclass): Don't declare declare_uninstantiated_type_level. + * cp-cvt.c (NULL): Undef first. + (build_up_references): Cast return of error_not_base_type to `tree'. + (convert_to_reference): Delete useless variable rval1. + (convert_to_integer): Don't declare build_binary_op_nodefault or + build_unary_op. + (build_type_conversion): Don't declare default_conversion. + * cp-decl.c (many extern funs): Don't declare. + (grokparms, lookup_name_current_level, lookup_nested_type, + redeclaration_error_message, parmlist_is_random, + grok_op_properties, expand_static_int, deactivate_exception_cleanups, + revert_static_member_fn): Declare static fns w/ prototypes. + (pushlevel): Cast passing of NEWLEVEL to an int. + (poplevel, poplevel_class, finish_method): Cast first two args of + GNU_xref_end_scope to HOST_WIDE_INT. + (duplicate_decls): Pass third arg to compexcepttypes (0). + (grokvardecl): Delete arg CTYPE, never used. Change all callers. + Delete unused local var block_previously_created. + * cp-decl2.c (substitute_nice_name): Don't declare decl_as_string. + (grokclassfn): Delete unused local var name. + (check_classfn): Delete unused arg FLAGS. Change all callers. + (grokfield): Pass digest_init only 3 args, not 6 (that's in the C + front end, dammit). + (coerce_new_type, coerce_delete_type): Delete first arg CTYPE, it's + never used. Change all callers. + * cp-dem.c (cplus_demangle): Delete unused var non_empty. + (NULL): Undef first. + * cp-except.c: (call_to_unhandled_exception): Add decl of + combine_strings. + (init_exception_processing): Add decls of build_function_type and + define_function. + * cp-gc.c (define_function): Add extern decl. + * cp-init.c (is_aggr_typedef): Delete extern decl. Add type for + argument OR_ELSE. + (build_new): Don't declare require_complete_type. + (build_vec_delete): Only pass 6 args, not 7. + * cp-lex.c (init_lex): Don't declare init_parse or + lang_printable_name. + (cons_up_default_function): Don't declare constructor_name. + (compiler_error): Declare args V and V2 to be HOST_WIDE_INT. + * cp-method.c (index, rindex): Don't declare. + * cp-parse.y (unary_expr): Cast first arg to build_x_unary_op to + be of enum tree_code type. For every call to build_new, pass its + fourth arg as a comparison of $$ against NULL_TREE, instead of + just passing it in. + (combine_strings, truthvalue_conversion): Add extern decls. + (structsp): Pass lookup_name its missing second arg (0). + (component_decl): Pass 5, not 6, args to grokfield. + (ansi_except_stmts): Delete decls of ansi_expand_start_match and + cplus_exception_name. + * cp-pt.c (mangle_class_name_for_template): Delete decl of + type_as_string. + * cp-search.c (get_binfo): Declare third arg PROTECT as int. + (get_binfo2, get_binfo2_recursive): Make static. + (get_base_distance): Cast DEPTH and IS_PRIVATE to ints, not + HOST_WIDE_INTs. + (get_baselinks): Delete decl of hash_tree_cons. + * cp-spew.c (probe_obstack): Make static. Compare NLEVELS != 0, + not > 0, since it's unsigned. + * cp-tree.c (list_hash_lookup_or_cons): Don't declare constructor_name. + * cp-type2.c (digest_init, incomplete_type_error, + readonly_warning_or_error, convert_for_initialization): Don't delete. + (error_with_aggr_type): Declare third arg ARG to be HOST_WIDE_INT. + (build_scoped_ref): Delete unused var orig_ref. + (build_x_arrow): Even worse, give build_opfncall its missing last + two arguments (as NULL_TREEs). + * cp-typeck.c (build_component_ref): Call build_indirect_ref with + its missing second arg (as a NULL). + (build_x_indirect_ref): Again, build_opfncall with its missing + last two args. + (build_x_function_call): Delete decl of build_overload_call_maybe. + (convert_for_assignment): Cast return of error_not_base_type to tree. + * cp-xref.c (getpwd): Declare as extern. + (Integer, String): Delete typedefs, rename all uses to their real + meanings (`int' and `char *'). - * m88k.md (cpu attribute): List m88100 first for more efficient - code in insn-attrtab.c. + Thu Nov 19 01:41:58 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * m88k.md (rotate/and split pattern): Fix typo. + * 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. -Thu Jul 30 00:02:45 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-lex.c (init_lex): Delete duplicate setting of `__pl'. - * i860mach.h: New file. - * configure (i860-*-mach*): New alternative. + Wed Nov 18 21:29:14 1992 Brendan Kehoe (brendan@cygnus.com) - * 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. + * cp-class.c (finish_struct): Re-enable code to cut down on the size + of symbol output, the positives outweigh the negatives. - * i860v3.h (USE_CONST_SECTION): #undef before defining. + Wed Nov 18 19:51:59 1992 Mike Stump (mrs@cygnus.com) -Wed Jul 29 20:04:55 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * cp-search.c (dfs_walk): Move setting of + vbase_decl_ptr_intermediate out of #ifdef code. - * sparc.md (cmpsi): Delete 'J' constraint. + Wed Nov 18 18:49:13 1992 Mike Stump (mrs@cygnus.com) -Wed Jul 29 00:38:45 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-decl.c (grokdeclarator): Make wording on error message + stronger. - * c-lex.c (yylex): When traditional, convert 0x80000000 to -0x80000000. + Tue Nov 17 17:46:11 1992 Brendan Kehoe (brendan@cygnus.com) - * gcc.c (link_command_spec): Accept -static but do nothing with it. + * cp-search.c (CHECK_convert_pointer_to_single_level): Don't define. - * 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. + Mon Oct 5 03:10:14 1992 Mark Eichin (eichin at tweedledumber.cygnus.com) - * stor-layout.c (layout_record): Take account of - maximum_field_alignment when using the field's alignment. + * c++ (numargs): $# was used after set was called; instead, save + $# in $numargs and use that value instead. - * c-parse.y (attrib): Fix previous change--the missing arg - was the last arg. +Fri Jan 8 18:11:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * cccp.c (rescan): Prevent token pasting before macro call. + (macroexpand): Prevent token pasting around an arg unless it's raw. -Tue Jul 28 12:46:31 1992 Michael Meissner (meissner@osf.org) + * c-lex.c (yylex): Don't allow @ in identifier outside of Objective C. - * c-common.c (decl_attributes): Call layout_decl with two arguments. +Fri Jan 8 15:03:52 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - * c-parse.y (attribute processing): Correctly call tree_cons with - three arguments, passing NULL_TREE for the purpose argument. + * pa.c (plus_xor_ior_operator): New predicate. - * emit-rtl.c (make_insn_raw): Eliminate unused argument pat_formals, - and modify all callers. - (make_jump_insn_raw): Ditto. +Fri Jan 8 13:09:47 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * reorg.c (fill_slots_from_thread): Function follow_jumps only takes - one argument. - (relax_delay_slots): Ditto. + * combine.c (BYTE_LOADS_EXTEND, LOAD_EXTEND): New macros. + (subst, simplify_and_const_int, nonzero_bits, num_sign_bit_copies): + Use them. + (subst, case SET): Make a SIGN_EXTEND instead of paradoxical SUBREG + if BYTE_LOADS_SIGN_EXTEND; previously only made ZERO_EXTEND. -Tue Jul 28 16:04:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * function.c (assign_parm): Fix typo introduced by previous change. - * dpx2g.h (ASM_OUTPUT_IDENT): #undef it. + * configure (486 targets): Set cpu_type to i386. - * 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. +Fri Jan 8 03:48:27 1993 James Van Artsdalen (james at bigtex.cactus.org) - * c-convert.c (convert): If main variants match, - but the type is not identical, make a NOP_EXPR. + * i386/perform.h: New file. perform_* macros for i386. + * i386/386bsd.h,i386/osfrose.h,i386/mach.h (perform_*): Move + perform_* macros to new file. -Tue Jul 28 10:06:18 1992 Jim Wilson (wilson@sphagnum.cygnus.com) +Thu Jan 7 19:03:56 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * mips.md: Correct use of `*' in constraints. Put it before each - letter to ignore, not each group to ignore. + * pa.h (target_switches): Add "-mtrailing-colon" + (ASM_OUTPUT_LABEL): If TARGET_TRAILING_COLON then emit + a colon after the label. + (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + (ASM_OUTPUT_COMMON): Likewise. + (ASM_OUTPUT_LOCAL): Likewise. -Tue Jul 28 01:23:35 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Jan 7 18:21:52 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * dbxout.c (dbxout_parms): Do something for structures - passed by invisible reference, and living in memory. + * configure: Now that all files moved, always include CPU_TYPE in + default file names; do not check both config and config/$cpu_type. + Fix a few missing directory names and remove a few redundant specs. - * gstddef.h (wchar_t): Alternate typedef for C++. + * config/vax, config/convex: New directories; all files moved. + * configure (vax-*, convex-*): Files now in subdirectories. - * Makefile.in (extraclean): Delete config/ChangeLog. +Thu Jan 7 17:31:36 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * m68k.md (probe): Use %a0 to output the address. + * Makefile.in (specs): Use GCC_FOR_TARGET. -Mon Jul 27 20:08:21 1992 Mike Stump (mrs@hal) + * Makefile.in (install-common): Install c++ and g++ only if cc1plus + built. - * 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... + * fixincludes: fix the rename prototype on the rs6000 , + which conflicted with c++ use of new -Mon Jul 27 17:38:52 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * c-decl.c (start_decl): Correct order of parameter declarations. - * sparc.md: Add DEFINE_SPLITs to optimize logic operation with - certain immediate values. +Thu Jan 7 16:52:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * sparc.md: Correct inconsistent operand constraints in peepholes. + * config/romp/x-romp (CC): Add -U__STDC__. - * 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. +Thu Jan 7 05:30:10 1993 Torbjorn Granlund (tege@sics.se) -Mon Jul 27 17:10:19 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * libgcc2.c (__udiv_w_sdiv): Replace hard-coded constants 31 with + (SI_TYPE_SIZE - 1). - * gstdarg.h (va_arg): Don't use +=; no need to set AP twice. + * pa.md: Add floating point ld/st indexed patterns. -Sun Jul 26 14:21:13 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * pa.md (reg 112:SI recognizers): Remove. + (main move:SI recognizer): Add alternative for greg -> reg 112. - * final.c (final_scan_insn): Align jump table only if - READONLY_DATA_SECTION. Otherwise, the table is in the text section. + * pa.md (floatsisf2 patterns): Put output template here, don't + call output_floatsiXf2. + (floatsidf2 patterns): Likewise. + * pa.c (output_floatsisf2, output_floatsidf2): Remove. - * collect2.c (dup2): Defined, if NO_DUP2. + * pa.md (floatunssidf2, floatunssisf2): New patterns. + (floatdisf2, floatdidf2): New patterns. + (fix_truncsfdi2, fix_truncdfdi2): New patterns. + (rotrsi3, rotlsi3): New patterns. + (shd optimizers): 2 new patterns. - * plexus.h: New file. - * m68k.c (output_function_prologue): Make a probe instruction - if NEED_PROBE if nonzero. - * configure (m68k-plexus-sysv*): New alternative. + * pa.md (ashlsi3, ashrsi3, lshrsi3): Rewrite not to mention SAR. + (zvdep32, vextrs32): New named recognizers. + * pa.h (FIXED_REGISTERS): Make register 112 (SAR) not fixed. - * 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. +Thu Jan 7 00:38:02 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-decl.c (duplicate_decls): Copy old RTL *before* make_var_volatile. + * objc/object.m (+ error:, - error:): Use _objc_error. -Sat Jul 25 21:45:44 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * reload1.c (reload) [SMALL_REGISTER_CLASSES]: When adding an extra + need if the insn uses the function value return register, + likewise add an extra single-reg need for each class in which + the insn needs a group. - * c-decl.c (pushdecl): Never reuse global fcn decl in place of - local extern; just copy some info from it. +Wed Jan 6 20:38:20 1993 Brendan Kehoe (brendan@cygnus.com) -Sat Jul 25 06:14:58 1992 Tom Wood (wood@dg-rtp.dg.com) + * alpha.h (ASM_FILE_START): Change .verstamp ident for BL10. + * alpha.md (div/mod): Change calling sequence to agree with BL10. - * expmed.c (expand_divmod): Eliminate the generation of branches - when possible. +Wed Jan 6 19:54:05 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) -Sat Jul 25 04:34:09 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/arm: New directory. + * configure (arm-*-*): Update location of tm_file. + * config/pyr: New directory. + * configure (pyramid-*-*): Set xmake_file. + Update location of tm_file. - * fixincludes (X11/Xmu/Xmu.h): Fix this or X11/Xmu.h, - whichever exists. +Wed Jan 6 19:03:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sat Jul 25 00:41:12 1992 Paul Eggert (eggert@twinsun.com) + * config/sparc/sol2.h (CPP_SPEC, LIB_SPEC, LINK_SPEC): + Add -compat-bsd conditionals. - * c-parse.y (datadecl): Diagnose empty declarations in old-style - function headers. - * c-decl.c (shadow_tag_warned): New function. + * cccp.c (main): Implement -iwithprefix. - * c-lex.c (yylex): Diagnose `1.0fl'. Issue just one - diagnostic for `1e1000000f'. +Wed Jan 6 18:13:13 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) -Fri Jul 24 19:25:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * pa.c (print_operand): Always use "<>" instead of "!=". - * dbxout.c (dbxout_symbol): Distinguish implicit C++ typedefs - from explicit C typedefs for structs, using DECL_SOURCE_LINE. + * pa.h (target_switches): Add "-mdisable-fpregs" and + "-mdisable-indexing. + (CONDITIONAL_REGISTER_USAGE): If TARGET_DISABLE_FPREGS, then mark + all FP registers as fixed. + * pa.md (indexed loads): Disable if TARGET_DISABLE_INDEXING. + (mulsi3, xmpyu): Disable xmpyu if TARGET_DISABLE_FPREGS. + * configure: Add hppa1.X-hp-utahmach target. + * pa-utahmach.h, pa1-utahmach.h: New files. - * c-decl.c (duplicate_decls): Use TYPE_MAIN_VARIANT even for compares - with void_type_node. - (grokdeclarator, get_parm_info, store_parm_decls): Likewise. +Wed Jan 6 11:20:59 1993 Michael Collison (collison at osf.org) -Fri Jul 24 10:07:13 PDT 1992 Ron Guilmette (rfg at ncd.com) + * expr.c (convert_move): Support new modes QFmode and HFmode. - * 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++). + * optabs.c (init_optabs): Add optab entries for QFmode and HFmode. -Fri Jul 24 13:36:46 1992 Michael Meissner (meissner@osf.org) + * reload1.c (init_reload): Add entries in 'reload_in_optab' + for QFmode and HFmode. - * dbxout.c (toplevel): Include defaults.h to get the definition of - ASM_STABD_OP. + * varasm.c (assemble_real): Use `ASM_OUTPUT_BYTE_FLOAT' and + `ASM_OUTPUT_SHORT_FLOAT' for QFmode and HFmode respectively. - * Makefile.in (dbxout.o): Add defaults.h dependent. + * machmode.def: Added new modes QFmode and HFmode. - * i386rose.h (CC1_SPEC): Remove MIPS switches accidently left in. +Wed Jan 6 11:29:46 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) -Thu Jul 23 09:49:43 PDT 1992 Ron Guilmette (rfg at ncd.com) + * pa.c (fmpyaddoperands, fmpysuboperands): Cleanups suggested by + Tege. + * pa.md (fmpyadd peepholes): Cleanups suggested by Tege. - * dwarfout.c (is_body_block): Rewritten for greater saftey. - (output_block): Fixed to deal correctly with non-inlined blocks. + * pa.md (movqi, movhi, movsi, movdi, movsf, movdf): Discourage + regclass from preferring anything which involves a FP<->GR copy. -Thu Jul 23 15:37:23 1992 Jeffrey A Law (law at schirf.cs.utah.edu) + * pa.md (millicode expands): Change operand 3 in the expand + pattern from a clobber of a match_scratch to a clobber of a + match_operand with a register predicate. Make appropriate + change in the generated RTL. + (millicode insns): Clobber a match_operand with a register + predicate instead of a match_scratch expression. + * pa.c (emit_hpdiv_const): Likewise. - * flow.c (propagate_block): Change "struct foo" to "struct sometimes". + * pa.md (movsi, movhi, movqi, movdi): Use reg_or_0_operand + consistently. -Thu Jul 23 15:10:51 1992 Tom Wood (wood@dg-rtp.dg.com) +Wed Jan 6 02:23:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * m88k.h (ASM_OUTPUT_CASE_LABEL): Change to readonly section if the - table contains addresses. - (JUMP_TABLES_IN_TEXT_SECTION): True by default. + * cexp.y (yylex): Make tokstart an unsigned char *. -Thu Jul 23 13:54:27 1992 Michael Meissner (meissner@osf.org) +Wed Jan 6 10:46:19 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) - * 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. + * fixincludes (limits.h): Add #ifndef/#endif around macros that + are supposed to be defined in float.h. - * 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. + * fixincludes, fixinc.svr4, fixinc.sco: Don't "make LIB absolute" + if already absolute, to avoid problems with the automounter. - * 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. +Wed Jan 6 02:35:23 1993 Paul Eggert (eggert@twinsun.com) - * 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. + * cccp.c (check_preconditions, do_error, do_warning, do_xifdef): + Don't use signed chars to index into arrays; they might be negative. -Wed Jul 22 13:08:33 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) +Tue Jan 5 21:20:29 1993 James Van Artsdalen (james at bigtex.cactus.org) + + * i386/386.h (DEBUG_PRINT_REG): Print regno along with printable + name. + (CONST_COSTS): Handle integer CONST_DOUBLE correctly. + (PREFERRED_RELOAD_CLASS): Allow integer CONST_DOUBLE into int + regs. + + * config/fx80: New directory. + * configure (fx80): fx80 configuration files moved there. + + * config/i960: New directory. + * configure (i960): i960 configuration files moved there. + + * config/sparc: New directory. + * configure (sparc): sparc configuration files moved there. + * sparc/sol2.h: Renamed from spc-sol2.h. + * sparc/xm-sol2.h: Renamed from xm-spc-sol2.h. + * sparc/xm-sysv4.h: Renamed from xm-spcv4.h. + * sparc/sysv4.h: Renamed from sparcv4.h. + * sparc/x-sysv4: Renamed from x-sparcv4. + * sparc/*.h: Use new file names for included sparc files. + + * config/i860: New directory. + * configure (i860): i860 configuration files moved there. + * i860/bsd.h: Renamed from i860b.h. + * i860/bsd-gas.h: Renamed from i860bg.h. + * i860/mach.h: Renamed from i860mach.h. + * i860/sysv3.h: Renamed from i860v3.h. + * i860/sysv4.h: Renamed from i860v4.h. + * i860/xm-sysv3.h: Renamed from xm-i86v3.h. + * i860/xm-sysv4.h: Renamed from xm-i86v4.h. + * i860/x-sysv3: Renamed from x-i860v3. + * i860/x-sysv4: Renamed from x-i860v4. + * i860/*.h: Use new file names for included i860 files. + + * m68k/tti68k.h: Deleted. + * i386/x-xenix: Deleted. + * i860/i860g3.h: Deleted. + +Tue Jan 5 23:54:36 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + + * config/pa: New directory. + * config/pa/*.h: Handle PA configuration files in new + subdirectory. + * configure (pa): Likewise. + +Tue Jan 5 23:31:34 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * elxsi, gmicro, tahoe, we32k, spur: New subdirs; files moved. + + * config/harris.h: Include tahoe.h from tahoe/ subdir. + +Tue Jan 5 21:45:56 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + + * fixincludes (Xmu.h): Add missing ${LIB}/. + + * calls.c (expand_call): Pass NULL_RTX to INIT_CUMULATIVE_ARGS. + * function.c (assign_parms): Pass NULL_RTX to INIT_CUMULATIVE_*. + * expr.c (emit_library_call): Pass NULL_TREE to INIT_CUMULATIVE_ARGS. + + * Makefile.in (install-dir): Only make includedir once. + + * cccp.c (do_line): Add pedantic warnings for out of range line + numbers, and non-space characters after the filename. + +Tue Jan 5 15:09:29 1993 Michael Meissner (meissner@osf.org) + + * mips/bsd-4-gdb.h: Renamed from mips-gbsd.h. + * mips/bsd-4.h: Renamed from mips-bsd.h. + * mips/bsd-5-gdb.h: Renamed from mips-5gbsd.h. + * mips/bsd-5.h: Renamed from mips-5bsd.h. + * mips/dec-gosf1.h: Renamed from dec-gosf1.h. + * mips/dec-osf1.h: Renamed from dec-osf1.h. + * mips/iris3-gdb.h: Renamed from irisgdb.h. + * mips/iris3.h: Renamed from iris.h. + * mips/iris4-gdb.h: Renamed from iris4g.h. + * mips/iris4.h: Renamed from iris4.h. + * mips/mips-4-gdb.h: Renamed from mips-gdb.h. + * mips/mips-5-gdb.h: Renamed from mips-5gdb.h. + * mips/mips-5-gdb.h: Renamed from mips-g5.h. + * mips/mips-5.h: Renamed from mips-5.h. + * mips/mips.c: Renamed from mips.c. + * mips/mips.h: Renamed from mips.h. + * mips/mips.md: Renamed from mips.md. + * mips/news4-gdb.h: Renamed from mips-gnews.h. + * mips/news4.h: Renamed from mips-news.h. + * mips/news5-gdb.h: Renamed from mips-gn5.h. + * mips/news5.h: Renamed from mips-n5.h. + * mips/nws3250v4.h: Renamed from nws3250v4.h. + * mips/osfrose.h: Renamed from decrose.h. + * mips/svr3-4-gdb.h: Renamed from mips-gsysv.h. + * mips/svr3-4.h: Renamed from mips-sysv.h. + * mips/svr3-5-gdb.h: Renamed from mips-5gsysv.h. + * mips/svr3-5.h: Renamed from mips-5sysv.h. + * mips/svr4-4-gdb.h: Renamed from mips-gsvr4.h. + * mips/svr4-4.h: Renamed from mips-svr4.h. + * mips/svr4-5-gdb.h: Renamed from mips-5g4.h. + * mips/svr4-5.h: Renamed from mips-5svr4.h. + * mips/t-mips: Renamed from t-mips. + * mips/t-osfrose: Renamed from t-decrose. + * mips/t-ultrix: Renamed from t-decstatn. + * mips/ultrix-gdb.h: Renamed from decstabs.h. + * mips/ultrix.h: Renamed from decstatn.h. + * mips/x-dec-osf1: Renamed from x-dec-osf1. + * mips/x-mips: Renamed from x-mips. + * mips/x-nws3250v4: Renamed from x-nws3250v4. + * mips/x-osfrose: Renamed from x-decrose. + * mips/x-sysv: Renamed from x-mipsv. + * mips/x-ultrix: Renamed from x-decstatn. + * mips/xm-iris3.h: Renamed from xm-iris.h. + * mips/xm-iris4.h: Renamed from xm-irix4.h. + * mips/xm-mips.h: Renamed from xm-mips.h. + * mips/xm-news.h: Renamed from xm-mipsnews.h. + * mips/xm-sysv.h: Renamed from xm-umips.h. + + * mips/* Modify include files as needed for the MIPS files being + in the config/mips subdirectory. + + * halfpic.h, halfpic.c: Eliminate unknown symbol errors when + linking the gen* programs for {i386,dec} OSF/rose, by using BSS + variables instead of extern. + +Tue Jan 5 00:29:45 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * c-typeck.c (c_sizeof): Call force_fit_type only for INTEGER_CST. + + * objc/core.c (_objc_alloc): Renamed from _alloc. + (_objc_dealloc, _objc_realloc, _objc_copy, _objc_error): Likewise. + * objc/objc.h: Decls renamed also. + * objc/objc-proto.h: Uses renamed also. + + * config.sub ($os alternatives for sco and isc): + Preserve the specified os version if any. + Each alternative handles both 386 and 486, preserving distinction. + ($basic_machine alternatives for sco and isc): Deleted. + (i[34]86v32, i[34]86v, i[34]86v4): + Handle both cpus together, preserving distinction. + +Mon Jan 4 20:59:37 1993 James Van Artsdalen (james at bigtex.cactus.org) + + * config/ns32k: New directory. + * configure (ns32k): ns32k configuration files moved there. + + * ns32k/*.h: Use new file names for included ns32k files. + + * config/m68k: New directory. + * configure (m68k): m68k configuration files moved there. + + * m68k/sgs.h: Renamed from m68ksgs.h. + + * m68k/*.h: Use new file names for included m68k files. + +Mon Jan 4 18:06:31 1993 Michael Meissner (meissner@osf.org) + + * configure (i386-osfrose): Rename i386 OSF/rose files to + osfrose.h, t-osfrose.h, and x-osfrose.h. + + * i386/osfrose.h: Renamed from i386/rose.h. + * i386/t-osfrose: Renamed from i386/t-rose. + * i386/x-osfrose: Renamed from i386/x-rose. + +Mon Jan 4 11:03:11 1993 Torbjorn Granlund (tege@gnu.ai.mit.edu) + + * Makefile.in (install-common-headers): Pipe grep output to /dev/null. + +Mon Jan 4 01:12:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * i386/bsd.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): + Alternate definitions if NO_UNDERSCORES. + + * c-parse.in (component_declarator): + Allow attribute after nameless field. + + * fixincludes (making dirs and links): If we already made subdirs + for a dir foo and foo turns out to be a symlink outside /usr/include, + after we have made a dir for it in ./root/, make similar subdirs there. + +Sun Jan 3 07:28:32 1992 Karl Berry (karl@red.cs.umb.edu) + + * x-romp (CC): Add -w. + +Sun Jan 3 21:19:50 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + + * pa.h (JUMP_TABLES_IN_TEXT_SECTION): Define. + + * jump.c (jump_optimize, clause for `if (foo) b++'): + Do this regardless of BRANCH_COST if HAVE_incscc is defined. + * pa.md (scc insn): Name this pattern "scc". + (negscc, incscc, cmov): New patterns. + * pa.c (incscc_operator): New function. + + * pa.h (actual_fsize, apparent_fsize): Delete unused variables. + +Sun Jan 3 20:37:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * cccp.c (main): Recognize and remove .cxx as filename suffix. + +Sun Jan 3 19:39:18 1993 Michael Meissner (meissner@osf.org) + + * mips.h (MIPS_VERSION): Bump Meissner version number to 34. + + * mips.c (save_restore_insns): Don't give an error if saving an FP + register at stack offset 0, which occurs when the function is a + leaf function that uses lots of FP registers, and saves no GP + registers. + +Sun Jan 3 19:00:29 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * local-alloc.c (block_alloc): Generalize tying so we can tie + any operand with the output unless some operand must be in the + same register as the output, in which case only try tying that + operand. - * 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. - - * sparc.h (EXTRA_CONSTRAINT) Add new 'T' and 'U' constraints - which check for aligned accesses to memory and register pairs. + * rtl.c (rtx_alloc): Clear common area of rtx in a portable manner. -Wed Jul 22 11:22:37 1992 Michael Meissner (meissner@osf.org) +Sun Jan 3 13:57:33 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * 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. + * pa.h (CONST_COSTS): Make CONST_DOUBLES very expensive. + Give HIGH expressions a small cost with CONST, SYMBOL_REF, + and LABEL_REF being twice as expensive as HIGH. - Wed Jul 8 01:59:03 1992 Mike Stump (mrs@cygnus.com) + * pa.md (fmpyadd peepholes): New peepholes to issue independent + floating point multiply and add instructions at the same time. + (fmpysub peepholes): Likewise for multiply and subtract instructions. + * pa.c (fmpyaddoperands): Verifys given registers are suitable for + use in fmpyadd instructions. + (fmpysuboperands): Likewise, but for fmpysub instructions. - * 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 Oct 28 12:07:54 1992 Tim Moore (moore at defmacro.cs.utah.edu) + * pa.md (call, call_value): If flag_pic, emit restore of PIC table + register. + (call_interal, call_value_internal): Name matching insns. + (movsi, movhi, movqi, movdi, movsf, movdf patterns): Don't + match memory to memory moves. - Wed Jul 8 01:14:43 1992 Mike Stump (mrs@cygnus.com) + * pa.h (FIXED_REGISTERS, CALL_USED_REGISTERS): r3 isn't fixed! + (REG_ALLOC_ORDER): Move r3 up in the allocation order. + (HAVE_ATEXIT): Define. + (INITIAL_FRAME_POINTER_OFFSET): compute_frame_size () + now does the whole calculation, including rounding. + (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Don't pass leaf_function + to output_function_{prologue,epilogue}. + (DELAY_SLOTS_FOR_EPILOGUE): Call hppa_epilogue_delay_slots (). - * cp-parse.y (primary): Call to lookup_name needs 2 arguments. + * pa.c (hppa_save_pic_table_rtx): New variable. + (finalize_pic): Setup hppa_save_pic_table_rtx.. + (apparent_fsize): Delete variable. + (compute_frame_size): Many changes. Return the total frame size, + including space for "magic" stuff at the top of the stack and any + rounding for the Snake. + (output_function_prologue): Don't take a leaf_function argument; + Decide that based on frame size and frame_pointer_needed. + Don't emit any frame diddling code if actual_fsize is 0. + (output_function_epilogue): Don't take leaf_function argument. + Don't do anything if no frame. + Keep stack pointer aligned to 64 bytes before loading from old + frame pointer. + (hppa_epilogue_delay_slots): Only if there is no frame will we + have an empty delay slot to fill. + (eligible_for_epilogue_delay): Don't check "leaf_function" anymore. - Tue Jul 7 21:14:05 1992 Mike Stump (mrs@cygnus.com) +Sun Jan 3 07:28:29 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-method.c (build_overload_name): Handle INTEGER_TYPEs - cleanly and uniformly. + * gcc.c (putenv_from_prefixes): Use PATH_SEPARATOR. + Properly use JUST_MACHINE_SUFFIX when desired; always make path + the same as find_a_file will use. - Tue Jul 7 09:19:52 1992 Michael Tiemann (tiemann@rtl.cygnus.com) +Sat Jan 2 16:35:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-call.c (build_method_call): If `convert_to_pointer' returns - error_mark_node, return that without doing any more work. + * config.sub: Translate sunos5 to solaris2, and solaris1 to sunos4. - Thu Jul 2 15:42:28 1992 Mike Stump (mrs@cygnus.com) + * tree.c, tree.h (int_size_in_bytes): Change ret type back to int. - Thu Jul 2 18:08:42 1992 Chip Salzenberg (chip at tct.com) + * calls.c (expand_call): Don't use int_size_in_bytes + for a variable-size object. - * cp-typeck.c (convert_arguments): Don't assume that error - message will be short enough for fixed-length buffer. +Sat Jan 2 15:16:24 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - Wed Jul 1 19:52:59 1992 Mike Stump (mrs at cygnus.com) + * c-parse.in (label): Use expr_no_commas instead of expr for case + labels. - Wed Jun 3 12:57:57 1992 Brendan Kehoe (brendan@cs.widener.edu) +Sat Jan 2 03:30:10 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-decl2.c (grokbitfield): Only do width checking on properly - parsed bitfields. + * Makefile.in (gcc.o): Define TOOLDIR_BASE_PREFIX. - Wed Jul 1 18:58:17 1992 Mike Stump (mrs at cygnus.com) + * gcc.c (TOOLDIR_PREFIX): Define if not defined. + (tooldir_prefix, tooldir_base_prefix): New variables. + (main): Set tooldir_prefix. + Add it (plus `bin' or `lib') to search paths. - Wed May 27 01:33:24 1992 Ron Guilmette (rfg at ncd.com) + * cccp.c (default_include): Look directly in TOOL_INCLUDE_DIR. + * protoize.c (default_include): Likewise. - * 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. + * collect2.c (main): Look for `real-ld' after `gld', before `ld'. + In debug printout, fix typo in prev change. - Wed Jul 1 13:56:30 1992 Mike Stump (mrs at cygnus.com) +Fri Jan 1 13:32:36 1992 Ian Lance Taylor (ian@cygnus.com) - Wed Apr 29 23:37:00 1992 Niklas Hallqvist (niklas at appli.se) + * Makefile.in (cccp.o, protoize.o, unprotoize.o): + Define TOOL_INCLUDE_DIR as $(tooldir)/include. + (test-protoize-simple): Define TOOL_INCLUDE_DIR as 0. - * cp-decl.c (finish_decl): make sure destructors are called for - objects in a file. + * config/i386/linux.h (STARTFILE_SPEC): Removed -L"TOOLDIR"/lib. - Wed Jul 1 11:12:05 1992 Mike Stump (mrs at cygnus.com) +Fri Jan 1 06:26:11 1993 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * 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. + * collect2.c: Look for tools using paths rather than a single prefix. + (struct prefix_list, struct path_prefix): New structures. + (cpath, path): New variables. + (find_a_file, add_prefix): New functions; simplified versions of + functions from gcc.c. + (prefix_from_env): New function. + (main): Get path to search for binaries from COMPILER_PATH + environment variable always set by gcc.c and from PATH. + Qualify names with target machine in cross-environment unless + using compiler directories. + Use find_a_file to find our binaries. + Remove use of single prefix. + If -debug, print strip_file_name. + (fork_execute): Print program we are trying to execute if -debug and + we can't find the file. + (scan_prog_file): Complain if can't find NM. + * Makefile.in (REAL_LD_NAME): New variable. + (collect2.o): Don't need STANDARD_STARTFILE_PREFIX, etc. + (install-cross-tools): Use REAL_LD_NAME instead of `ld' when linking + files from tooldir to libsubdir. - Mon Jun 29 12:58:59 1992 Mike Stump (mrs at cygnus.com) +Fri Jan 1 17:51:05 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - Mon Jun 29 15:20:48 1992 Chip Salzenberg (chip at tct.com) + * dbxout.c (dbxout_symbol, TYPE_DECL case): Don't output tag which + references incomplete type. - * 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. + * fixincludes (sunwindow/{win_cursor.h,win_lock.h}): Change invalid + #ifdef identifier `ecd.cursor' to `ecd_cursor'. - Mon Jun 29 10:56:56 1992 Mike Stump (mrs at cygnus.com) + * c-typeck.c (build_binary_op): Add 'right' and 'left' to shift + count warnings to distinguish them from each other. - * c++: Makes sure -lg++ comes before -lm since libg++ uses - things from libm. + * function.c (fixup_var_refs_insn): Update last_parm_insn when + insns are output after it to fix it up. - Mon Jun 22 13:47:42 1992 Mike Stump (mrs at cygnus.com) + * sdbout.c (plain_type_1): Distinguish some C integer types by name. - Sun Jun 21 14:06:41 1992 Brendan Kehoe (brendan at cs.widener.edu) + * Makefile.in (MAKEINFO): New variable, defined to `makeinfo'. - * cp-typeck.c (convert_for_initialization): Only try to convert a - rhs that was parsed properly. + * rs6000.h (ASM_FILE_START): Switch to text section at end. + Output declaration for .mcount when profiling. - Mon Jun 22 13:31:40 1992 Jim Wilson (wilson at sphagnum.cygnus.com) +Fri Jan 1 12:15:42 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * cp-parse.y (primary): Clear the TREE_USED flag of a block tree - put in a BIND_EXPR. + * pa.md (movqi, movhi, movsi, movdi, movsf, movdf): Fix attributes + which involve fp<->gr copies to match current reality. + (indexed loads): These should have "load" attributes, not "move". - Sun Jun 21 09:59:58 1992 Michael Tiemann (tiemann at rtl.cygnus.com) + * pa.c (output_floatsisf, output_floatsidf): Abort if presented + with a general register. + * pa.md (movdf const_couble): Fix lengths. + (floatsisf patterns): Likewise. + (floatsidf patterns): Likewise. - * cp-type2.c (build_scoped_ref): Use SCRATCH for head of typelist, - rather than calling alloca. + * pa.h (REGISTER_MOVE_COST): Make moving between FP and non-FP + registers more expensive. - Fri Jun 19 16:23:02 1992 Mike Stump (mrs at cygnus.com) + * pa.h (TARGET_NO_BSS): Delete target switch. Delete all references. - * cp-pt.c (unify): Type unification of things that do not have a - valid IDENTIFIER_TEMPLATE fail instead of core dumping. +Fri Jan 1 07:40:58 1993 Tom Wood (wood@dg-rtp.dg.com) - Wed Jun 17 13:36:04 1992 Michael Tiemann (tiemann at rtl.cygnus.com) + * config/m88k: New directory. + * configure (m88k*): Files are now in config/m88k. + * m88k/dgux.h, m88k/dolph.h, m88k/luna.h, m88k/sysv3.h, + m88k/sysv4.h, m88k/xm-sysv3.h: Include files in m88k. + * m88k/t-dgux, m88k/t-m88k, m88k/t-m88k, m88k/t-sysv4: Use + m88k/m88k-move.sh. - * cp-pt.c (tsubst): Don't try to substitute into error_mark_node. +Thu Dec 31 17:38:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-decl.c (grokparms): Convert initializers that have - TREE_READONLY_DECL_P set into their constant equivalents. + * gcc.c (do_spec_1): Propagate failure from recursive calls. - Tue Jun 16 19:09:23 1992 Mike Stump (mrs at cygnus.com) + * i386/386bsd.h (perform_*): Rename macro args to arg0, arg1. - Wed Jun 3 12:57:57 1992 Brendan Kehoe (brendan at cs.widener.edu) +Thu Dec 31 15:42:35 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * cp-decl.c (grokdeclarator): Disallow virtual functions in unions. + * sched.c (sched_analyze_1, sched_analyze_2): If before reloading, + record dependences that may be introduced by reload substituting + equivalents for pseudo registers. - Tue Jun 16 18:11:45 1992 Mike Stump (mrs at cygnus.com) + * sched.c (sched_analyze_2): Use REG_NOTE_KIND not GET_MODE in + add_dependence call. + (sched_analyze_insn): Likewise. - Wed Jun 3 12:57:57 1992 Brendan Kehoe (brendan at cs.widener.edu) + * sparc.h (LIB_SPEC): When -a, include bb_link.o. - * cp-class.c (finish_struct): Forbid local classes to have static - members. + * t-sol2 (gmon.o, crt*.o): Change config to $(srcdir)/config. - Mon Jun 15 21:44:08 1992 Mike Stump (mrs at cygnus.com) + * reload.c (operands_match_p): For WORDS_BIG_ENDIAN machines, + make multiple register operands equivalent if the last register of + the groups are the same. + (subst_reloads): Use gen_lowpart_common to change mode of + reloadreg. + * reload1.c (emit_reload_insns): Likewise. - Tue Jun 2 09:26:34 1992 Brendan Kehoe (brendan at cs.widener.edu) + * reload1.c (gen_input_reload): Also handle PLUS of a MEM and + CONSTANT specially. - * cp-init.c (build_new): Don't allow the use of new on a reference. + * i960.h (CPP_SPEC, CC1_SPEC, ASM_SPEC, LINK_SPEC, + TARGET_SWITCHES): Delete support for non-existent CPU variations. + (ASM_SPEC, LINK_SPEC, TARGET_SWITCHES): Add support for -mlink-relax. + (SELECT_CC_MODE): Correct typo. - Mon Jun 15 20:52:08 1992 Mike Stump (mrs at cygnus.com) + * sparc.c (print_operand): For invalid operands, call + output_operand_lossage instead of aborting. - Tue Jun 2 09:26:34 1992 Brendan Kehoe (brendan at cs.widener.edu) + * i960.md (call_internal, call_value_internal): Use 'l' for + match_scratch constraint not 'd'. - * cp-decl.c (grokparms): Don't allow a local variable to be used - in a default argument expression. + * function.c (assign_parms): Emit conversions into a sequence, and + then output the sequence after all parameters have been moved. - Mon Jun 15 18:54:28 1992 Mike Stump (mrs at cygnus.com) + * optabs.c (expand_binop): Correct indentation of doubleword + multiply picture. - * cp-decl.c (finish_decl): Add an error message for uninitialized - const objects like const int a;. + * sparc.h (TARGET_SWITCHES): Have -msparclite also clear TARGET_FPU. - Mon Jun 15 16:05:22 1992 Mike Stump (mrs at cygnus.com) + * va-i960.h: Define away __extension__ if compiled by GCC v1. - Not sure if it is strictly necessary for the C++ front end, but... + * libgcc2.c (L_builtin_new): Change to L_op_new. Use new style + definition for __builtin_new. + (L_caps_New): Change to L_new_handler. Delete unused function + builtin_vec_new. + (L_builtin_del): Change to L_op_delete. Delete vfp declaration. + Use new style definition for __builtin_delete. Delete unused + function __builtin_vec_delete. + * Makefile.in (LIB2FUNCS): Change _builtin_new to _op_new. Change + _caps_New to _new_handler. Change _buildin_del to _op_delete. - Sun May 31 15:31:46 1992 Brendan Kehoe (brendan at cs.widener.edu) + * m68k.h (TARGET_SWITCHES): -m68030 does not imply -m68881. - * cp-typeck.c (self_promoting_args_p): Allow the arg type to be - null (copied from Oct 16, 1991 change by Wood). + * gcc.c (input_from_pipe): New variable. + (do_spec): Set/clear input_from_pipe as appropriate. Translate %| + to "-" if input_from_pipe is true. + * sparc.h (ASM_SPEC): Use %|. - Fri Jun 12 16:42:05 1992 Mike Stump (mrs at cygnus.com) + * m68k.c (strict_low_part_peephole_ok): New function. + * m68k.md: Add peephole to eliminate unecessary clear instructions + in strict_low_part insn sequences. - * cp-typeck.c (build_binary_op_nodefault): Conditionalize code that - deals with the comparison of non-distinct object types, thus avoiding - a core dump. + * configure (elxsi): Move it out of the middle of the sparc section. - Fri Jun 12 10:23:17 1992 Mike Stump (mrs at cygnus.com) + * unroll.c (copy_loop_body, JUMP_INSN case): Do map the body of + the loop branch back, then rewrite it to jump past the end of the + unrolled loop. - Wed Jun 10 19:20:29 1992 Brendan Kehoe (brendan at cs.widener.edu) + * c-decl.c (pushdecl): Check TREE_PUBLIC in addition to + DECL_EXTERNAL decls when looking for duplicate external declarations. - * 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. + * cccp.c (multiline_string_line): New file scope static variable. + (rescan): Delete multiline_string_line variable definition. + (skip_quoted_string): Print start line number of unterminated + string and character constants. When see a newline: warn if + pedantic; delete unreachable duplicate code for traditional case; + set multiline_string_line. - Thu Jun 11 17:43:55 1992 Mike Stump (mrs at cygnus.com) +Thu Dec 31 11:11:30 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) - * cp-init.c (expand_default_init): New function to handle the - details of default copy constructors and other magic in one place. + * pa-hpux.h (LIB_SPEC): Fix so that one can link in profiled + libraries under HPUX. + * pa-ghpux.h, pa-hpux7.h, pa-gux7.h (LIB_SPEC): Likewise. - * cp-init.c (expand_aggr_init_1): Implement default constructors - more fully. +Thu Dec 31 08:50:42 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Thu Jun 11 17:16:54 1992 Mike Stump (mrs at cygnus.com) + * a29k.h (OBJECT_FORMAT_COFF): Add definition. - * cp-call.c (build_method_call): Don't produce an error message if - we are looking up things speculatively. + * rs6000/xm-rs6000.h (REAL_NM_FILE_NAME): Delete from here. + * rs6000/rs6000.h (REAL_NM_FILE_NAME): Put it here. - Thu Jun 11 10:58:47 1992 Mike Stump (mrs at cygnus.com) +Thu Dec 31 01:53:13 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-call.c (convert_harshness): Penalize const arguments passed - into non-const parameters. + * tree.c (build_index_type): Leave TYPE_MAX_VALUE as -1 if it was; + don't truncate the high bits. - Thu Jun 11 10:02:52 1992 Mike Stump (mrs at cygnus.com) + * Makefile.in (distdir): New target broken out from gcc.xtar. + Depend on $(srcdir)/INSTALL. + (gcc.xtar): Depend on distdir. + (doc): Delete dep $(srcdir)/INSTALL. - * cp-typeck.c (build_c_cast): Implement more reference casts so - that one can cast a base reference to a derived reference. +Wed Dec 30 12:54:53 1992 James Van Artsdalen (james at bigtex.cactus.org) -Tue Jul 21 15:28:36 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * i386/i386.c (output_fp_cc0_set): Abort if cc0 user not found. - * sparc.h (SECONDARY_MEMORY_NEEDED): Define to force reload to - handle any copy between GENERAL_REGS and FP_REGS. + * i386/i386.md (movsf,movdf): Change constraints to use integer regs + for mem-mem copies. - * 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. + * i386/i386.h (PREFERRED_RELOAD_CLASS): Don't reload CONST_DOUBLE into + integer regs. - * i960.c (i960_output_ldconst): Use REAL_VALUE_FROM_CONST_DOUBLE - instead of pointer indirection to extract double from CONST_DOUBLE. + * jump.c (delete_computation): reg_referenced_p wants body, not insn. -Tue Jul 21 14:05:34 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Dec 30 07:03:49 1992 John F Carr (jfc at Athena.MIT.EDU) - * svr4.h (HANDLE_SYSV_PRAGMA): Defined. + * caller-save.c (setup_save_areas): Don't assign save area for a + group if some register in the group has already been assigned an + area. - * sol-crt*.asm: Renamed from sol-crt*.s, and put in config. - * t-sol2 (crt*.o): Changed accordingly. Also use $(AS). +Wed Dec 30 06:05:07 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * gbl-ctors.h (ON_EXIT): Test HAVE_ATEXIT before sun. + * tree.def (TRUTH_XOR_EXPR): New tree code. + * expr.c (expand_expr, case TRUTH_XOR_EXPR): New case. + * fold-const.c (invert_truthvalue, case TRUTH_XOR_EXPR): New case. + (fold, case TRUTH_XOR_EXPR): New case. + (fold, case TRUTH_OR_EXPR, TRUTH_AND_EXPR): Check for second + operand of appropriate value to determine result whether or + not first operand is a constant. + * c-common.c (truthvalue_conversion): Handle TRUTH_XOR_EXPR. + * c-convert.c, cp-cvt.c (convert_to_integer): Likewise. + * c-typeck.c (build_binary_op): Likewise. + * cp-typeck.c (build_binary_op_nodefault): Likewise. + * cp-class.c (instantiate_type): Likewise. + * stmt.c (expand_return): Likewise. -Mon Jul 20 18:56:02 1992 Fred Fish (fnf at fishpond) +Wed Dec 30 01:48:38 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * fixincludes: Chmod each copied file a+r. + * fixinc.svr4, fixinc.sco: Likewise. - * configure (m68k-*-amix*): Use fixinc.svr4 and install.sh. + * Makefile.in (extraclean): Quote the sharps. - * x-amix (ENQUIRE_CFLAGS): Remove; obsolete. + * expr.c (expand_expr): In NOP_EXPR case, truncate and + reextend integer constants. - * amix.h (TRANSFER_FROM_TRAMPOLINE): Remove #undef. +Tue Dec 29 18:21:06 1992 James Van Artsdalen (james at bigtex.cactus.org) -Mon Jul 20 17:45:46 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * i386/i386.md (bit complement): Constrain inputs and outputs to + match, instead of using match_dup. + (zero_extract test): Reenable with separate patterns to match + QImode and SImode zero_extract. - * dbxout.c (dbxout_source_line): New function. - * final.c (output_source_line): Use that. + * i386/sysv3.h: Renamed from i386/svr3.h. + * i386/sysv4.h: Renamed from i386/svr4.h. + * i386/x-sysv3: Renamed from i386/x-svr3. + * i386/xm-sysv3.h: Renamed from i386/xm-svr3.h. + * i386/xm-sysv4.h: Renamed from i386/xm-svr4.h. - * configure (sparc-*-sunos5*): New alias. - (sparc-*-solaris2*): Use t-sol2. + * configure (i386): Use new file names for 386 files. + * i386/*.h: Likewise for included files. - * i860.md (mulsi3_little, mulsi3_big): New define_expand patterns. - (mulsi3): Just use one of them. +Tue Dec 29 18:04:13 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Makefile.in (install-fixincludes): Pass second and third args. + * Avoid truncation of object sizes when bit size won't fit in a word. + * fold-const.c (const_binop): New arg NOTRUNC. All calls changed. + (size_binop): Pass 1 for NOTRUNC. + (force_fit_type): No longer static. + * tree.c (size_in_bytes): Call force_fit_type with end result. + (int_size_in_bytes): Avoid overflow as long as result fits. + Return type is now unsigned int. + * c-typeck.c (c_sizeof, c_sizeof_nowarn, c_size_in_bytes): + Call force_fit_type with end result. -Mon Jul 20 16:07:12 1992 Pat Rankin (rankin@eql.caltech.edu) + * stor-layout.c (layout_record): Avoid overflow in const_size + by adding into var_size instead. - * vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): change _c$main_args to - uppercase instead of relying on gas to make the case translation +Tue Dec 29 09:01:33 1992 Tom Wood (wood@dg-rtp.dg.com) -Sun Jul 19 00:04:16 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * configure (m88k-dgux): Use t-m88kdgux. - * 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. +Tue Dec 29 06:56:41 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * c-aux-info.c (gen_type): For array type, state the size. + * genemit.c (gen_split): Initialize _val in generated function. - * 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. +Tue Dec 29 02:27:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * function.c (assign_parms): Use const0_rtx as DECL_RTL and as - DECL_INCOMING_RTL if tmode of parm is void. + * cccp.c (make_definition): Pass NULL as 3rd arg to do_define. - * 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. +Mon Dec 28 14:56:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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.in (stmt, FOR case): Do call position_after_white_space + after recording the current lineno for the increment. - * c-parse.y (primary): Set TREE_CONSTANT in the NOP_EXPR for an enum. + * config.sub: Default to bsd for *-sequent. - * Solaris changes from Cygnus: +Mon Dec 28 06:05:12 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * combine.c: Add a few missing HOST_WIDE_INT casts. + Rename references to `significant' bits to be `nonzero' bits; + specifically the following, but also local vars and comments: + (reg_nonzero_bits): Renamed from reg_significant. + (nonzero_bits): Renamed from significant_bits. + (nonzero_sign_valid): Renamed from significant_valid. + (set_nonzero_bits_and_sign_copies): Renamed from set_significant. - * gmon-sol2.c: New file. - * t-sol2: New file. - * sol2-crt1.s, sol2-crti.s, sol2-crtn.s: New files. + * fold-const.c (fold, case BIT_IOR_EXPR): Convert the IOR of a pair + of shifts into a rotate when it is equivalent. - * xm-spcv4.h (ONLY_INT_FIELDS): Define, if __GNUC__. + * expmed.c (expand_shift): If rotating by a constant, try both + directions of rotate. + If can't open-code a rotate, do it as a pair of shifts followed by + an IOR. - * 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. + * combine.c (simplify_comparison, case NEG): Replace large block of + code with equivalent call to num_sign_bit_copies. - * sparc.h (CONSTANT_ALIGNMENT): Add parens for Sun compiler. + * expr.c (get_inner_reference): Don't look at flag_volatile. + (expand_expr, case INDIRECT_REF, OFFSET_REF): Likewise. + * c-typeck.c, cp-typeck.c (build_indirect_ref): Set volatility from + flag_volatile. -Sun Jul 19 11:03:56 1992 Fred Fish (fnf at fishpond) + * i386/rose.h (OPTIMIZATION_OPTIONS): Delete; we don't want to set + -finline-functions for -O3 and this does nothing else useful. + * mips.h (OPTIMIZATION_OPTIONS): Likewise. + * i960.h (OPTIMIZATION_OPTIONS): Don't set -finline-functions for -O3. - * i386v4.h (real.h): Remove apparently unnecessary inclusion. - * i386v4.h (HANDLE_SYSV_PRAGMA): Replaces HANDLE_PRAGMA. +Sun Dec 27 18:33:38 1992 James Van Artsdalen (james at bigtex.cactus.org) -Sat Jul 18 20:37:37 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/i386: New directory. + * configure.bat: 386 configuration files moved to new directory. + * configure (i386): Likewise. + Delete lines that duplicate default actions of configure. - * c-typeck.c (build_binary_op): Don't set shorten for signed division. + * i386/386bsd.h: Renamed from i386bsd.h. + * i386/att.h: Renamed from att386.h. + * i386/bsd.h: Renamed from bsd386.h. + * i386/gas.h: Renamed from i386gas.h. + * i386/gstabs.h: Renamed from i386gstabs.h. + * i386/linux.h: Renamed from i386linux.h. + * i386/mach.h: Renamed from i386mach.h. + * i386/rose.h: Renamed from i386rose.h. + * i386/sco.h: Renamed from i386sco.h. + * i386/sco4.h: Renamed from i386sco4.h. + * i386/seq-gas.h: Renamed from seq386gas.h. + * i386/sequent.h: Renamed from seq386.h. + * i386/sun.h: Renamed from i386sun.h. + * i386/svr3.h: Renamed from i386v.h. + * i386/svr4.h: Renamed from i386v4.h. + * i386/t-isc: Renamed from t-i386isc. + * i386/t-rose: Renamed from t-i386rose. + * i386/t-sco: Renamed from t-i386sco. + * i386/unix.h: Renamed from unx386.h. + * i386/x-aix: Renamed from x-aix386. + * i386/x-isc: Renamed from x-i386isc. + * i386/x-rose: Renamed from x-i386rose. + * i386/x-sco: Renamed from x-i386sco. + * i386/x-sco4: Renamed from x-i386s4. + * i386/x-svr3: Renamed from x-i386v. + * i386/xm-aix.h: Renamed from xm-aix386.h. + * i386/xm-dos.h: Renamed from xm-i386dos.h. + * i386/xm-isc.h: Renamed from xm-i386isc.h. + * i386/xm-sco.h: Renamed from xm-i386sco.h. + * i386/xm-sun.h: Renamed from xm-i386sun.h. + * i386/xm-svr3.h: Renamed from xm-i386v.h. + * i386/xm-svr4.h: Renamed from xm-i38v4.h. - * final.c (end_final): Align the table of addresses. + * i386/*.h: Use new file names for included 386 files. -Fri Jul 17 23:49:28 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sun Dec 27 22:02:09 1992 H.J. Lu (hlu@yardbird.eecs.wsu.edu) - * cexp.y: Include stdio.h. + * i386linux.h (CPP_SPEC): Define -D__i486__ if compile for i486. + (ASM_OUTPUT_ADDR_DIFF_ELT, JUMP_TABLES_IN_TEXT_SECTION): + Copy definitions from i386v4.h to get PIC code correct. + (FUNCTION_PROFILER): Copy definition from i386bsd.h. + (COMMENT_BEGIN, ASM_APP_ON, ASM_APP_OFF): Copy from i386bsd.h + to prepare for new GAS. -Fri Jul 17 06:17:34 1992 Tom Wood (wood@dg-rtp.dg.com) + * Makefile.in: (gcc.o): Add $(MAYBE_TARGET_DEFAULT). - * 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. +Sun Dec 27 16:33:13 1992 Tom Wood (wood@dg-rtp.dg.com) -Fri Jul 17 05:59:26 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * m88k.c (block_move_loop, block_move_no_loop, block_move_sequence): + Always set MEM_IN_STRUCT_P. If it wasn't previously set, use BLKmode. + * m88k.md (BLKmode load/store patterns): New. + (call_block_move, call_movstrsi_loop): Allow any mode for the preload. - * function.c (instantiate_decls{,_1}): Don't do instantiation - here if the address is mode-dependent. + * m88k.c (output_file_start): Emit `requires_88110' when -m88110 + is used with -mversion-04.00. + * m88k.h (OVERRIDE_OPTIONS): Allow version 04.00 default. + (VERSION_0400_SYNTAX, REQUIRES_88110_ASM_OP): New definitions. + * m88kdgux.h (ASM_FIRST_LINE): Print the version string. - * 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. + * m88k.md (length attribute): Branches may be expanded to two + instructions by the assembler. + (DFmode bcnd pattern): Don't try to fill the delay slot. + (CCmode bbx patterns): Reverse the 1/0, not the condition. - * cse.c (cse_insn): Allow paradoxical SUBREGs in the table. + * m88kdgux.h (ASM_SPEC): Pass -KVstring given -mversion-string. - * 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. + * m88kdgux.ld, t-m88kdgux: New file. + * m88kdgux.h (LIB_SPEC): Add crtend.o. + (STARTFILE_SPEC): Add crtbegin.o, and m88kdgux.ld for COFF. + (CTOR_LIST_END, DTOR_LIST_END): Define as -1. + (DO_GLOBAL_{C,D}ORS_BODY): Ignore null entries and look for -1 + bounds. - * cccp.c (NULL_PTR): Define as void * if STDC. +Sun Dec 27 16:08:04 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * rs6000.md (negdi2): Corrected name; used to be negdi3. + * hp320.h (ASM_OUTPUT_DOUBLE_OPERAND): Delete spurious space after \. - * 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. + * gstddef.h [__sequent__]: #undef _PTRDIFF_T_ at beginning, if defined. - * reload.c (push_reload): If a SUBREG requires a secondary reload - but the inner expression doesn't, reload the inner expression - instead. + * reload1.c (emit_reload_insns): Error instead of abort + if an asm has a VOIDmode output operand. -Fri Jul 17 02:20:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * reload.c (push_reload): Move the NO_REGS abort after the + error check for asms, to avoid crashing for asms. + Fix inmode and outmode too, if they are VOID for an asm. - * gcc.c (process_command): Handle `-Wl,' and `-Wa,'. - (do_spec_1): Handle %Y. - (default_compilers): Use %Y in assembler commands. +Sun Dec 27 10:48:10 1992 Jeffrey A Law (law@schirf.cs.utah.edu) - * function.c (assign_parms): In last change, test mode in parm type. + * reorg.c (mostly_true_jump): When trying to determine + if the current insn is essentially a conditional return, + look inside of SEQUENCE insns for jumps. + Predict jumps to the exit test for loops as likely to be taken. -Thu Jul 16 15:03:25 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sun Dec 27 06:53:39 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * loop.c (find_and_verify_loops): Ignore jumps to missing labels, - when using P. + * reorg.c (relax_delay_slots): Only look at JUMP_LABEL for a + condjump_p. - * c-typeck.c (build_binary_op): Improve shift warning messages. + * jump.c (delete_jump): Use single_set to see if INSN just sets PC. + Remove code to delete previous cc0-setting insn. + (delete_compution): No longer conditional on #ifndef HAVE_cc0. + If insn uses CC0, delete previous insn that just sets CC0 for us; + do deletion via recursive call. - * x-dpx2 (AS): Use $(GAS). - (GAS): New variable. + * combine.c (subst, case SET): Call recog_for_combine with OTHER_INSN, + not UNDOBUF.OTHER_INSN. - * mot3300.h (ASM_OUTPUT_CASE_END): Deleted. + * genoutput.c (have_error): New variable. + (error): Set it. + (main): Test it and return FATAL_EXIT_CODE if it is set. - * function.c (assign_parms): If arg was passed by invisible - reference, copy it to a pseudo if appropriate. + * emit-rtl.c (copy_rtx_if_shared): A CONST can be shared if it + contains a SYMBOL_REF. + * rtl.c (copy_rtx): Likewise. + A SCRATCH must be shared. + A MEM may be shared if it is at a constant address. - * dwarfout.c (pure_or_virtual_attribute): - Add #if 0 around use of DECL_ABSTRACT_VIRTUAL_P. +Sun Dec 27 02:48:27 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Jul 15 16:29:05 PDT 1992 Ron Guilmette (rfg at ncd.com) + * cccp.c (macroexpand): Expand each macroarg first time we find a need + to substitute its expansion. + (macarg): Don't expand them here. - * 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. + * expr.c (expand_expr, constructor case): If we made a stack slot, + set MEM_IN_STRUCT_P if the type warrants it. - * toplev.c (rest_of_compilation): Call `dwarfout_file_scope_decl' for - both types of "abstract" instances of inline functions. + * configure: When testing existence of a config file, specify $srcdir. - * 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. +Sat Dec 26 18:12:08 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Wed Jul 15 15:08:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * tree.c (make_node, case 'c'): For INTEGER_CST, use size of + struct containing constant, just like for reals. Also, clean + up code to avoid confusing fallthrough. - * c-convert.c (convert_to_integer): Push truncation inside COND_EXPR. + * a29k/unix.h, rs6000/aix32.h, rs6000/mach.h, rs6000/xm-mach.h: + Include main file from subdirectory. - * 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. + * config/a29k, config/alpha, config/romp, config/rs6000: New + directories. + * configure: If a file isn't in config, try in config/$cpu_type. + (a29k, alpha, romp, rs6000): Files moved to new machine subdirectories. + Delete lines that duplicate default actions of configure. - * explow.c (allocate_dynamic_stack_space) [SETJMP_VIA_SAVE_AREA]: - Always call round_push; we can't rely on alignment of size. + * combine.c (gen_lowpart_for_combine): Allow MODE to be wider + than a word in restricted circumstances. -Wed Jul 15 06:47:11 1992 Richard Kenner (kenner@vlsi1.ultra.nyu) + * c-typeck.c (check_format): Using both a precision and the `0' flag + is only a problem on `d', `i', `o', `u', `x', and `X' conversions. - * combine.c (try_combine): Verify that I2DEST is a register before - trying to change its mode. +Sat Dec 26 17:05:24 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Jul 14 15:13:28 1992 Jim Wilson (wilson@sphagnum.cygnus.com) + * object.h: Don't include objc.h or stdio.h. + Change Class_t to Class everywhere. + (id, nil, Nil, Class, STR, SEL, IMP, BOOL, YES, NO): Define, + but not if objc.h was already included. + [__objc_INCLUDE_GNU] (Class): Alias this to Class_t. - * c-decl.c (finish_struct): Handle nested struct redefinitions. - * stor-layout.c (layout_record): Handle NULL dsize. + * object.m: Include objc.h and stdio.h before object.h. -Tue Jul 14 21:31:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Dec 26 05:12:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * Version 2.3.3 released. -Mon Jul 13 14:57:34 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Dec 25 06:53:49 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * c-decl.c (finish_function): Fix braino validating ret type of main. + * expmed.c (store_bit_field): If VALUE needs to be narrowed, do + it with gen_lowpart, not an explicit SUBREG. - * expr.c (expand_builtin): Refer to errno at rtl level only. - * sparc.h (TARGET_EDOM, GEN_ERRNO_RTX): New macros. + * a29k.md (divsf3): Fix typo in mode of DIV. -Mon Jul 13 06:35:53 1992 Paul Eggert (eggert@twinsun.com) +Fri Dec 25 00:03:26 1992 James Van Artsdalen (james at bigtex.cactus.org) - * expr.c (expand_builtin): - For fsqrt, always use the special insn, then test for nan. + * Makefile.in (install-dir): Add missing semicolon. -Mon Jul 13 08:45:34 1992 Tom Wood (wood@dg-rtp.dg.com) + * i386sco4.h (_KR, _SVID, _NO_PROTOTYPE): Define if -traditional. - * m88k.md: Constraint fixes from Torbjorn. +Thu Dec 24 15:02:29 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * fixinc.svr4: Don't change bitfield types to int. -Sun Jul 12 17:43:03 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * seq386.h (TARGET_DEFAULT): Override. - * genpeep.c (match_rtx): Sometimes use %ld when printing an XWINT. +Wed Dec 23 20:19:17 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * regclass.c (record_reg_classes): If OP is a REG, use it's mode - in case the mode in MATCH_OPERAND is VOIDmode. + * i386sco4.h (CPP_SPEC): Avoid repeated def of _M_SYSV. -Sun Jul 12 13:03:54 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Dec 22 15:40:08 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * fixincludes: Replace the code that finds all directories - so that it looks for subdirs of dir reached via symlinks. + * c-decl.c (store_parm_decls): Use TYPE_MAIN_VARIANT to compare types + when merging info from previous prototype. - * cp-tree.h (IDENTIFIER_VIRTUAL_P): Macro moved here. - * tree.h (IDENTIFIER_VIRTUAL_P): Deleted from here. + * fixinc.svr4: Add special fixes for netinet/in.h and sys/endian.h. - * 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. +Mon Dec 21 02:58:27 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * isi.h: Deleted the #error; file should work now. - (LIB_SPEC): Use -lg only once. - (STRUCTURE_SIZE_BOUNDARY): Defined. + * m68kv4.h (ASM_OUTPUT_CASE_END): + Use switch_table_difference_label_flag. - * 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. + * configure (m68k-motorola-sysv*): Set use_collect2. - * machmode.h (GET_MODE_NUNITS): Avoid division by zero. +Sat Dec 19 20:19:44 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sat Jul 11 22:21:47 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * a29k.c (secondary_reload_class): Return CR_REGS for larger than + word memory, and BP_REGS for part-word mem with no DW. - * objc-parse.y (primary): Don't test TREE_EXTERNAL; - call assemble_external regardless. + * 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'. - * tree.h (DECL_INLINE, DECL_NONLOCAL, DECL_REGISTER, DECL_EXTERNAL): - Renamed from TREE_INLINE, TREE_NONLOCAL, TREE_REGDECL, TREE_EXTERNAL. - All uses changed. +Sat Dec 19 01:32:13 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * xm-hp320.h (USG): Define it. + * Makefile.in (all.cross): Add `specs' as dep. -Sat Jul 11 21:43:56 1992 Michael Meissner (meissner@osf.org) + * build-make (CC): Delete the -V option. - * mips.h (MIPS_VERSION): Bump meissner version number to 21. + * getpwd.c (getpwd): Don't get upset if ERANGE is not defined. - * 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. +Fri Dec 18 20:56:59 1992 John Hassey (hassey@dg-rtp.dg.com) - * objc-actions.c (xmalloc, free): Don't provide extern decls for - these, since tree.h and rtl.h both now provide them. + * 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. - * 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. +Fri Dec 18 17:17:39 1992 Michael Meissner (meissner@osf.org) -Sat Jul 11 13:13:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * varasm.c: Get rid of default definitions of ASM_OUTPUT_CONSTRUCTOR - and ASM_OUTPUT_DESTRUCTOR. + * 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. - * c-aux-info (affix_data_type): Don't be fooled by names starting - with `const' or `volatile'. + * 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. - * c-typeck.c (digest_init): Deal with nested {...} for scalar. +Fri Dec 18 05:14:14 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * loop.c, reload1.c: Include stdio.h before config.h. + 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.) - * toplev.c (rest_of_compilation): Save and restore DECL_ARGUMENTS. + * cp-decl2.c (grokclassfn): Try using the local value for a nested + type if the IDENTIFIER_TYPE_VALUE isn't there. -Fri Jul 10 22:42:34 1992 Paul Eggert (eggert@twinsun.com) + * 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'. - * 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. +Thu Dec 17 17:51:16 1992 Roland McGrath (roland@churchy.gnu.ai.mit.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. + * Makefile.in (install-dir): Added missing then and semicolon. -Fri Jul 10 15:37:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Dec 17 15:19:36 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * genpeep.c (match_rtx): Handle `w' elts of rtx. + * x-i386s4 (CC): New assignment. - * Makefile.in (INTERNAL_CFLAGS): Add -DIN_GCC. +Wed Dec 16 15:49:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Jul 10 18:56:22 1992 Eric Youngdale (youngdale@v6550d.nrl.navy.mil) + * objc-actions.c (finish_objc) [OBJC_SELECTORS_WITHOUT_LABELS]: + Always call build_selector_translation_table. - * cccp.c (finclude): Clean error msf if file_size_and_mode fails. + * Makefile.in (install-dir): + If cross-compiler, create $(tooldir) and $(assertdir). -Fri Jul 10 13:44:46 1992 Howard Chu (hyc@hanauma.jpl.nasa.gov) +Wed Dec 16 14:19:08 1992 Richard Kenner (kenner at vlsi1.ultra.nyu) - * fx2800.h (LINK_LIBGCC_SPECIAL): Defined. - (DBX_OUTPUT_STANDARD_TYPES): Check that DECL_NAME(decl) exists - before trying to get its IDENTIFIER_POINTER. + * rs6000.h (INITIALIZE_TRAMPOLINE): Get function address and toc + pointer from correct place relative to FNADDR. -Thu Jul 9 20:56:01 1992 Per Bothner (bothner@rtl.cygnus.com) + * varasm.c (assemble_trampoline_template): If TRAMPOLINE_SECTION + is defined, put the trampoline template into that section. - * 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. + * alpha.h (TRAMPOLINE_SECTION): New macro. -Thu Jul 9 18:23:12 1992 Torbjorn Granlund (tege@wombat.gnu.ai.mit.edu) +Wed Dec 16 14:19:41 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * Makefile.in, libgcc2.c, longlong.h: Rename udiv_using_sdiv to - udiv_w_sdiv. + * reload.c (get_secondary_mem): Don't save address if it isn't valid. -Thu Jul 9 18:10:40 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Dec 16 13:59:17 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * varasm.c (assemble_trampoline_template): + Use readonly_data_section, not text_section. - * mot3300.h (ASM_OUTPUT_CASE_END): New macro. - * m68k.c (switch_table_difference_label_flag): New variable. +Wed Dec 16 11:32:11 1992 Michael Meissner (meissner@osf.org) - * i860.md (QI and HI bte/btne patterns): Deleted. + * 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. -Thu Jul 9 06:09:20 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * 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. - * c-typeck.c (default_conversion): Don't use STRIP_NOPS. +Wed Dec 16 07:33:08 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * print-rtl.c: Missing merge from 64-bit changes. - (print_rtx): Add new case 'w'. + * stmt.c (expand_goto): Set LABEL_REF_NONLOCAL_P in the LABEL_REF + we make in the non-local case. -Wed Jul 8 14:35:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * varasm.c (assemble_trampoline_template): Always put template in + text section. - * fixincludes, fixinc.svr4: Error if no argument. +Wed Dec 16 05:04:06 1992 Tom Wood (wood@dg-rtp.dg.com) - * 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. + * combine.c (try_combine): Allow for the case where I3 becomes an + unconditional jump when it is the last nonnote insn. - * integrate.c (integrate_decl_tree): Get rid of arg functionbody; - it was always 0. +Tue Dec 15 20:30:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * mot3300.h: Fix typo. + * cccp.c (do_pragma): Use index, not strchr. - * final.c (leaf_renumber_regs_insn): Handle new 'w' format. + * seq386.h (FUNCTION_PROFILER): Add missing . to label name. -Wed Jul 8 15:18:33 PDT 1992 Ron Guilmette (rfg at ncd.com) + * reload1.c (eliminate_regs_in_insn): Test old_body, not new_body, + since people have tested it that way. - * 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. + * reload1.c (eliminate_regs_in_insn): Don't recopy new_body + if it is an asm_operands insn. - * 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. +Tue Dec 15 19:42:58 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * 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. + * sparc.md (return peepholes): Add QImode and HImode move/return + patterns. - * 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. +Tue Dec 15 17:42:07 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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". + * alpha.h (ASM_SPEC): New macro. - * 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'. + * 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. - * calls.c (calls_alloca): For BLOCK, walk subblocks and vars by hand. +Mon Dec 14 13:16:14 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Wed Jul 8 13:31:19 1992 Michael Meissner (meissner@osf.org) + * rs6000.c (output_epilog): Support LANGUAGE_STRING values for F77, + Ada, and Pascal. - * cp-decl.c (print_binding_level): Fix typo, where 'lbl' was used - instead of 'lvl'. +Sun Dec 13 16:42:26 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * objc-actions.c (build_shared_structure_initializer): Correct call - to build_int_2 which had only one argument, instead of two. + * fixinc.sco: Complete rewrite by ian@cygnus.com. -Wed Jul 8 06:37:40 1992 Torbjorn Granlund (tege@sics.se) +Sat Dec 12 17:51:43 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * gstdarg.h, gvarargs.h: Test `__hppa__' instead of `__hp9000s800__'. + * va-alpha.h: Correctly form multi-word object. - * romp.md (zero_extendhisi2): Remove unneeded constraint. + * alpha.c (alpha_builtin_savregs): Correctly compute ARGSIZE and NREGS. - * rs6000.md (zero_extendhisi2): Remove unneeded constraint. - (lu/stu): Use %0 instead of %1 in assembler insns. - (call_value): Add missing "=" in constraint. + * alpha.h (FUNCTION_ARG_PASS_BY_REFERENCE): Deleted. -Wed Jul 8 06:30:20 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Sat Dec 12 08:42:43 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) - * rs6000.md (floatsidf): Correctly handle case when SImode operand - overlaps the first DFmode register. + * 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. - * fold-const.c (distribute_bit_expr, range_test, fold_truthop): - Use TRUTH_AND_EXPR instead of BIT_AND_EXPR so invert_truthvalue works. + * pa.md (floatsisf, floatsidf): Do not accept general registers. - * c-decl.c (grokdeclarator): Strip all NOP_EXPRs from SIZE. +Fri Dec 11 00:13:52 1992 Ian Lance Taylor (ian@cygnus.com) - * 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. + * 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. - * rs6000.h (LINK_SPEC): Support -static. +Fri Dec 11 17:56:53 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) - * 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. + * 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). - * 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. + * 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. - * c-common.c (check_case_value): Strip the NOP_EXPR added by - the grammar. - * stmt.c (pushcase, pushcase_range): Don't do it here. +Fri Dec 11 08:15:53 1992 James Van Artsdalen (james@bigtex.cactus.org) - * 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. + * reload1.c (choose_reload_regs): Don't inherit a reload if the + previous reload wasn't at least as wide as the current reload. -Tue Jul 7 15:50:38 1992 Chip Salzenberg (chip@tct.com) +Fri Dec 11 07:19:11 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * x-i386sco (XCFLAGS): Omit flags specific to "rcc". - (CC, OLDCC): Put them here instead. + * alpha.c (output_epilog): Remove garbage from one decl of EXTRA. + Subtract, not add, size from frame pointer. -Tue Jul 7 18:57:10 1992 Mike Stump (mrs@wombat.gnu.ai.mit.edu) + * a29kunix.h (LINK_SPEC): Use -T, not -c, for new gld and change file + name to default.gld from default.ld. - The below entries should make DWARF debugging a little bit easier. + * function.c (assign_outer_stack_local): Align proper frame offset. - * cp-decl.c (pushdecl): IDENTIFIER_GLOBAL_VALUE should not be _DECL - nodes but rather TYPE_DECLs. + * loop.c (get_condition): Check for overflow when canonicalizing + comparison. - * cp-decl.c (pushtag): Mark binding layer markers as internal. +Thu Dec 10 15:53:41 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * cp-class.c (finish_struct): Propagate internal mark on binding - layer markers. + * 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. - * cp-decl2.c (finish_file): Don't name things that should not be - named. + * combine.c (try_combine): Only use I2DEST as a scratch reg for + a split if it does not overlap any inputs of NEWPAT. - * cp-method.c (decl_as_string): New back-end routine for - substitute_nice_name. +Thu Dec 10 10:23:28 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-decl2.c (substitute_nice_name): New function used to create - reasonable DECL_NAMEs from cyrptic ones. + * combine.c (get_last_value): Never use value from later insn, even + if reg is only set once. - * cp-decl2.c (grokclassfn): Use substitute_nice_name. + * c-tree.h (IDENTIFIER_LIMBO_VALUE): Delete duplicate definition. -Tue Jul 7 14:04:01 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Dec 10 08:54:03 1992 Tom Wood (wood@dg-rtp.dg.com) - * expr.c (emit_move_insn): Don't try subwords for a single word. + * i386sco4.h (CPP_PREDEFINES): Define i386 and unix here. + (CPP_SPEC): Not here. - * 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}. +Wed Dec 9 19:03:55 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) - * gstdarg.h: Undefine _BSD_VA_LIST if we define va_list. + * pa.h (ASM_DECLARE_FUNCTION_NAME): Correctly get the return type + of DECL. - * cccp.c (append_include_chain): Fix setting of first_bracket_include. + * x-pa (CC): Set to "/usr/local/bin/gcc" instead of + "/usr/local/gcc". - * loop.c (init_loop): Use word_mode, not SImode. +Tue Dec 8 17:50:26 1992 Michael Meissner (meissner@osf.org) - * x-dpx2: New file. - * x-dpx2200, x-dpx2300: Files deleted. - * configure (m68k-bull-sysv*): Fatal error unless --with-gas. - Always use x-dpx2. + * 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. - * libgcc2.c (XFtype): Turn off definition; not used. - (TFtype): Define only if needed. +Tue Dec 8 11:55:52 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) -Tue Jul 7 11:57:44 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * pa.md (sh[123]add): Use "shadd_operand" as the predicate for + operand one. + * pa.c (shadd_operand): New function. - * 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. +Tue Dec 8 08:30:13 1992 Tom Wood (wood@dg-rtp.dg.com) - * longlong.h (SI_TYPE_SIZE): Renamed from LONG_TYPE_SIZE. + * 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. - * 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. + * 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. -Mon Jul 6 23:28:29 1992 Mike Stump (mrs@wombat.gnu.ai.mit.edu) +Tue Dec 8 08:30:13 1992 Niklas Hallqvist (niklas@della.appli.se) - * cp-dem.c, cp-lex.c, cp-method.c, cp-xref.c: Do not include - string.h or strings.h. + * integrate.c (expand_inline_function): Don't output line notes + for implicit formals. -Mon Jul 6 18:32:31 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Tue Dec 8 06:21:44 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * emit-rtl.c (operand_subword): Avoid conditionals in macro arg. + * cse.c (max_uid): New variable. + (cse_end_of_basic_block): Use it to ignore insns made by CSE. + (cse_main): Set it. - * 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. +Mon Dec 7 21:22:29 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) -Mon Jul 6 14:56:26 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-init.c (do_friend): Revert change of Sept 1; it seems to have + broken properly emitting friends. - * c-common.c (decl_attributes): Don't set DECL_PACKED on VAR_DECL. +Mon Dec 7 19:09:25 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in (GCC_CFLAGS): - Use CROSS_GCC_CFLAGS instead of -B for tooldir. - * cross-make (CROSS_GCC_CFLAGS): Define as -B for tooldir. + * reload1.c (eliminate_regs_in_insn): Make another copy of all the + RTL if we changed something and we aren't permanently replacing. - * c-decl.c (finish_function): If return type of `main' is not `int', - warn instead of doing DEFAULT_MAIN_RETURN. + * romp.md (reload_out{q,h}i): Write as proper PARALLEL. - * collect2.c, dwarfout.c, halfpic.c: Don't incude string.h. +Sun Dec 6 16:27:14 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * c-decl.c (duplicate_decls): Let char *foo () match void *foo () - only if one of them came from a system header file. + * alpha.md (add-mult): Add missing `&' in constraints of kludge + plus/plus/mult pattern. - * stmt.c (pushcase): Fix typo. +Sun Dec 6 16:26:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Makefile.in (ALLOCA_FINISH): Make default `true'. + * optabs.c (expand_binop): Correct sign of complex quotient imagpart. - * 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. +Sun Dec 6 07:59:16 1992 Michael Meissner (meissner@osf.org) -Mon Jul 6 12:58:27 1992 Chip Salzenberg (chip@tct.com) + * 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. - * 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. + * 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. - * 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. +Fri Dec 4 19:50:29 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) -Mon Jul 6 10:17:30 1992 Michael Collison (collison at osf.org) + * fixincludes: fix _cplusplus typo in SCO's tinfo.h - * 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. +Fri Dec 4 19:22:35 1992 Randy S. Welch (randy@kcin.alphacdc.com) -Mon Jul 6 11:16:47 1992 Tim Moore (moore@defmacro.cs.utah.edu) + * xm-plexus.h: New file. + * configure (m68k-plexus-sysv*): Use it. - * pa.h (ASM_DECLARE_FUNCTION_NAME): Fix typo +Fri Dec 4 19:21:44 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Jul 6 08:48:51 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * c-decl.c (start_function): Use TYPE_MAIN_VARIANT when comparing + return type with previous prototype declaration. - * m68k.md (swapsi): Add `+' operand constraints. - (insert to memory recognizer): Add `+'. - (peephole for moving returned value to fp reg): Add `='. + * cccp.c (output_line_command): Use alloca for line_cmd_buf. -Sun Jul 5 16:34:24 1992 John F Carr (jfc at Achates.mit.edu) +Fri Dec 4 19:20:34 1992 Richard Kenner (kenner@mole.gnu.ai.mit.edu) - * vax.md (addsi3): Code generation improvements (whether to use movab). + * cse.c (cse_insn): Always pass result of canon_reg through + validate_change before using it in insn. - * vax.md (andsi3, andhi3, andqi3): If one of the source operands - is a constant, complement that operand instead of a register or - memory operand. + * 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. -Sun Jul 5 13:16:15 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Fri Dec 4 19:13:35 1992 Jonas Olsson (ljo@po.cwru.edu) - * 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. + * i386bsd.h (ASM_OUTPUT_ADDR_DIFF_ELT, JUMP_TABLES_IN_TEXT_SECTION): + Copy definitions from i386v4.h to get PIC code correct. -Sun Jul 5 13:14:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Dec 3 19:20:14 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * c++: Fix typo testing $quote for nullness. + * cp-decl.c: Include sys/types.h for systems that need things for + signal.h. - * cse.c (simplify_binary_operation): Don't put sum of two symbolic - addresses into a CONST. +Thu Dec 3 01:40:42 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * 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. + * 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. - * c-typeck.c (convert_arguments): No -Wconversion warning - if the function wants an enumeral type. + * fixincludes (sys/types.h): Check for [ \t]size_t not size_t. - * tek6000.h, tek6100.h, tek6200.h: New files. - * configure (ns32k-tek6100-bsd, ns32k-tek6200-bsd): New alternatives. - * config.sub: utek is synonym for bsd. +Wed Dec 2 15:40:36 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in (alloca.o): Add -c. + * configure (rs6000-ibm-aix32): New target. + * rs6000-aix32.h: New file. - * 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. +Tue Dec 1 18:05:20 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * Makefile.in (USER_H): va-hp800.h changed to va-pa.h. - (install-common): Fix typo. + * cp-type2.c (build_functional_cast): Revert change of Nov 2, + concerning clearing the TREE_VALUE of a default parameter. - * stmt.c (pushcase, pushcase_range): Use STRIP_NOPS on the values. +Tue Dec 1 13:33:25 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * 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. + * local-alloc.c (optimize_reg_copy_2): Correct reg_n_refs updates. - * 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. + * Makefile.in (INSTALLED_H): Add syslimits.h. -Sun Jul 5 10:25:22 PDT 1992 Ron Guilmette (rfg at ncd.com) +Tue Dec 1 11:09:50 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * c-decl.c (grokdeclarator): Make `long long long' an error, not a - warning. Make duplicate qualifiers do pedwarn, not warning. + * 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. - * c-decl.c (pushdecl): Always create a new (variant) ..._TYPE node - for each new TYPE_DECL node created. +Tue Dec 1 10:43:13 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * combine.c (num_sign_bit_copies): Return 1 on failure, not 0. + Fix typo in last change; return 1 on failure, not BITWIDTH. - * 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. +Tue Dec 1 09:39:47 1992 Michael Meissner (meissner@osf.org) -Sun Jul 5 11:11:00 1992 Torbjorn Granlund (tege@wombat.gnu.ai.mit.edu) + * mips.c (function_prologue): Do not emit a .loc before the + function if debug level is 1. This confuses gdb. - * pa.h: (TARGET_VERSION): Print " (hppa)". - * pa.md (zdepi recognizer): Add attribute. - (recognizers for SImode load and store with fpregs): Add `=' to - operand 0. +Tue Dec 1 02:48:29 1992 James Van Artsdalen (james at bigtex.cactus.org) -Sat Jul 4 15:02:19 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * isc.h (TARGET_DEFAULT): New macro - don't make TARGET_IEEE_FP + default for ISC. - * configure (mips-*-sysv4): Don't set use_collect2. +Fri Nov 27 01:30:41 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-parse.y (primary): Wrap a NOP_EXPR around an enum value. + * Version 2.3.2 released. - * libgcc2.c (__builtin_saveregs for i860): Test __svr4__, not SVR4. - * va-i860.h: Test __svr4__. + * objc/core.c (searchForMethodInHierarchy): + If SEL or NAME is 0, return 0. - * c-decl.c (finish_function): Set BLOCK_SUPERCONTEXT of outer block. + * gcc.c (LINK_LIBGCC_SPECIAL_1): New parameter. + * rs6000.h (LINK_LIBGCC_SPECIAL_1): Defined. - * x-m88kv3: File deleted. + * t-hp320g (RANLIB, RANLIB_TEST, AR, AR_FLAGS): + Just copy value of ..._FOR_TARGET. + (LIBCONVERT): Use TARGET_TOOLPREFIX. - * x-sparcv4 (X_CFLAGS): Add -dn. + * reload.c (find_reloads) [SMALL_REGISTER_CLASSES]: + Don't use preferred_class for a multiword register. - * reorg.c: Move the #ifdef DELAY_SLOTS after the #includes. + * cccp.c (do_include): Initialize searchptr to 0. -Sat Jul 4 14:16:33 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Fri Nov 27 07:40:54 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * combine.c (SUBST): Ensure we don't call something that can make - a new undo entry in the middle of our making one. + * 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. -Sat Jul 4 12:17:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Nov 26 10:31:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Makefile.in (cp-parse.c): Append YYEMPTY to cp-parse.h, not ...y. + * gstdarg.h (va_end): #undef before the declaration. - * cse.c (simplify_unary_operation): Add aborts in zero_extend - and sign_extend cases, explaining how they might need to be changed. + * gstdarg.h (va_arg): Alternative definition for big-endian machines. + * gvarargs.h (va_arg): Copy both definitions from gstdarg.h. - * i960.h (WORD_SWITCH_TAKES_ARG): Fix typo. + * limitx.h, limit.y: Test and define _GCC_LIMITS_H_, not _LIMITS_H_. - * 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. + * mips.c (mips_debugger_offset): Don't crash for unknown cases. -Sat Jul 4 15:18:33 PDT 1992 Ron Guilmette (rfg at ncd.com) + * c-typeck.c (build_unary_op): Call pedantic_lvalue_warning + for *all* cases of incrementing a cast. - * xm-spc-sol2.h: New file. + * libgcc2.c (__udiv_w_sdiv): Cast 1 before shifting by 31. - * tree.h (DECL_UID): Definition added. - (struct tree_decl): `uid' field added. - * tree.c (DECL_UID): Initialize this uniquely for each new ..._DECL. + * fixincludes (PWDCMD): New variable, set specially for Apollos. + Use it to get the working dir. - * 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. + * combine.c (num_sign_bit_copies): Fix 1-off error in PLUS case. - * 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. + * c++: Put newline into `for arg do'. - * populate: New file. +Thu Nov 26 08:32:20 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * function.c (instantiate_decls): Delete #if 1. + * expmed.c (struct algorithm): Make coeff a HOST_WIDE_INT. - * flags.h, toplev.c, dbxout.c (use_gnu_debug_info_extensions): - Renamed from `use_gdb_dbx_extensions'. + * romp.c (output_epilog): Always call output_fpops. - * toplev.c (main): Added support for -gdwarf+ and for -gxcoff+. +Wed Nov 25 16:24:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sat Jul 4 08:39:47 1992 Tom Wood (wood@dg-rtp.dg.com) + * Makefile.in (install-fixincludes): Use SYSTEM_HEADER_DIR. - * m88k.c (m88k_end_prologue): Reset frame_laid_out here. - (m88k_expand_prologue): Not here. + * m68ksgs.h (ASM_OUTPUT_DOUBLE_OPERAND): Really use the operand VALUE. - * m88k.h (IDENT_ASM_OPT, ALIGN_ASM_OPT, ASM_OUTPUT_CASE_LABEL): - Override svr4.h. + * tree.h (CONSTRUCTOR_NAME_FORMAT): Let config.h override this. + * tower-as.h (CONSTRUCTOR_NAME_FORMAT): Defined. -Fri Jul 3 12:40:27 1992 Paul Eggert (eggert@twinsun.com) + * c++: Replace `for arg do' which ash can't handle. - * 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. + * t-next (OTHER_FIXINCLUDES_DIRS): Delete /NextDeveloper/Headers. -Fri Jul 3 19:34:07 1992 Mike Stump (mrs@hal) + * apollo68.h (HAVE_ATEXIT): Commented out. - * 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. + * regclass.c: Fix typo in use of SECONDARY_INPUT_RELOAD_CLASS. + (copy_cost): Fix typo in use of SECONDARY_OUTPUT_RELOAD_CLASS. - * cp-tree.c (__eprintf): Third argument line is now unsigned, - completes Ron's Jul 2 change. +Wed Nov 25 14:15:50 1992 Jim Wilson (wilson@sphagnum.cygnus.com) -Fri Jul 3 15:03:30 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fixinc.svr4 (regexp.h): Don't add a getrnge declaration if a + conflicting declaration is already present. - * configure: Set FIXINCLUDES in Makefile based on sysv4 or not. - * x-amix (ENQUIRE_CFLAGS, FIXINCLUDES): Deleted. +Wed Nov 25 06:47:18 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * config.sub: Recognize i486 like i386. + * rs6000.h (LINK_LIBGCC_SPECIAL): No longer define. - * 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. + * stmt.c (expand_value_return): Don't emit move between differing + modes when PROMOTE_FUNCTION_RETURN is defined; convert instead. - * 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. + * integrate.c (expand_inline_function): Ensure a REG used as + COPY has REG_USERVAR_P set if LOC does. - * x-hp320g (LIBGCC1, AR, RANLIB, RANLIB_TEST, LIBCONVERT): Deleted. - * t-hp320g (LIBGCC1, AR, RANLIB, RANLIB_TEST, LIBCONVERT): Defined. - * t-svr4 (FIXINCLUDES): Deleted. + * 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). - * Makefile.in (ENQUIRE_CFLAGS): Add -DNO_LONG_DOUBLE_IO. +Tue Nov 24 00:23:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * fold-const.c (BRANCH_COST): Add default definition. + * i386bsd.h (FUNCTION_PROFILER): Use mcount, not _mcount. - * cp-tree.h: Declare intQI_type_node, etc. - * cp-decl.c: Declare intQI_type_node, etc. - (init_decl_processing): Initialize those nodes. + * t-next (OTHER_FIXINCLUDES_DIRS): Leave just /LocalDeveloper/Headers + and /NextDeveloper/Headers. -Thu Jul 2 15:18:33 PDT 1992 Ron Guilmette (rfg at ncd.com) +Mon Nov 23 22:06:31 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * amix.h (ASM_OUTPUT_CASE_END, ASM_OUTPUT_ALIGNED_LOCAL): Output - tabs before SET_ASM_OP. + * ns32k.md (movsi): Split alt 1 to deprecate xy classes in operand 1. - * Makefile.in (dwarfout.o): Dependency on defaults.h added. + * combine.c (make_extraction): When making a low part subreg of a reg, + use inner_mode, not is_mode. - * sparcv4.h: Include real.h. - (SET_ASM_OP): Undef it. +Mon Nov 23 21:11:13 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * romp.h (ASM_FILE_START): Stop at first blank in VERSION_STRING. - * 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. +Mon Nov 23 21:09:20 1992 Tom Wood (wood@dg-rtp.dg.com) - * c-decl.c (named_labels): Change linkage to static. + * fold-const.c (range_test): Convert the constants to the unsigned + type before expanding the range test. - * assert.h (__eprintf): Declare 3rd arg as unsigned. +Mon Nov 23 20:54:45 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * 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. + Mon Nov 23 13:21:43 1992 Brendan Kehoe (brendan@cygnus.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. + * 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). - * 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. + * cp-decl.c (start_decl): If grokdeclarator returns a + void_type_node, return a NULL_TREE. -Thu Jul 2 20:30:20 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * 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. - * gstdarg.h: #ifdef _STDARG_H, not __STDARG_H. + Sat Nov 21 02:33:28 1992 Brendan Kehoe (brendan@cygnus.com) -Thu Jul 2 18:18:07 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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'. - * global.c: Renamed from global-alloc.c. + * 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 Jul 2 15:36:25 1992 Torbjorn Granlund (tege@wombat.gnu.ai.mit.edu) + Thu Nov 19 01:41:58 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * 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. + * 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. -Thu Jul 2 15:13:15 1992 Michael Meissner (meissner@osf.org) + Wed Nov 18 21:29:14 1992 Brendan Kehoe (brendan@cygnus.com) - * 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. + * cp-class.c (finish_struct): Re-enable code to cut down on the size + of symbol output, the positives outweigh the negatives. - * 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. + Wed Nov 18 19:51:59 1992 Mike Stump (mrs@cygnus.com) - * 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. + * cp-search.c (dfs_walk): Move setting of + vbase_decl_ptr_intermediate out of #ifdef code. - * x-i386rose (SHLIB): Use -pic-none instead of -L${BUILD}/usr/ccs/lib. + Wed Nov 18 18:49:13 1992 Mike Stump (mrs@cygnus.com) - * x-decrose (SHLIB): Use -pic-none instead of -L${BUILD}/usr/ccs/lib. + * cp-decl.c (grokdeclarator): Make wording on error message + stronger. - * 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. + Tue Nov 17 17:46:11 1992 Brendan Kehoe (brendan@cygnus.com) -Thu Jul 2 06:26:38 1992 Tom Wood (wood@dg-rtp.dg.com) + * cp-search.c (CHECK_convert_pointer_to_single_level): Don't define. - * 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. +Mon Nov 23 19:44:38 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * mot3300.h (switch_table_difference_label_flag): Define it. - * 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. + * ns32k.md (addsi3): Add & for alternative 1 in operand 0. -Wed Jul 1 13:37:37 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Nov 23 18:29:27 1992 Jim Wilson (wilson@sphagnum.cygnus.com) - * 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. + * genattrtab.c (obstack.h): Include after sys/time.h. - * Makefile.in (install-common): Depend on xgcc, g++, c++, EXTRA_PARTS. - Don't delete specs from libsubdir unless it exists in build dir. + * c-decl.c (duplicate_decls): For builtins, create new function + type instead of trying to modify old one. - * va-pa.h: Renamed from va-hp800.h. - * gstdarg.h, gvarargs.h: Use new name. +Mon Nov 23 16:28:36 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * news3.h, news3gas.h: New files. - * configure (m68k-sony-newsos3*): New alternative. + * i386bsd.h (COMMENT_BEGIN): Redefine as #. + (ASM_APP_ON, ASM_APP_OFF): Redefine to use #. - * romp.h (SIZE_TYPE): Defined. + * combine.c (num_sign_bit_copies): Inhibit x-1 special case + when x is a paradoxical subreg. - * configure: Support --exec-prefix. Simplify handling - detached arguments of options. + * xm-linux.h (malloc, calloc): Definitions deleted. - * isc.h, and other related files: - waiting for entries from karl@cs.umb.edu. +Mon Nov 23 11:52:41 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) -Wed Jul 1 12:04:53 1992 Ron Guilmette (rfg at ncd.com) + * pa.md (sh[123]add): Use "nonmemory_operand" instead of + "register_operand" as the predicate for the first operand. - * c-decl.c (grokdeclarator): Don't mark file-scope register variables - as TREE_PUBLIC. +Mon Nov 23 00:29:27 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Jul 1 12:04:53 1992 Karl Berry (karl@cs.umb.edu) + * gcc.c (default_compilers): Pass -i* after -U*. - * i386iscgas.h (SIZE_TYPE, PTRDIFF_TYPE): Define these, since we - need to override GCC's defaults. +Sun Nov 22 17:03:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * hp320.h (FUNCTION_PROFILER): Complete replacement. -Wed Jul 1 09:13:44 1992 Tom Wood (wood@dg-rtp.dg.com) + * xm-hp320.h (index, rindex): Defined. - * 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. + * gstddef.h: Fix prev change; test of _STDDEF_H was backwards. - * m88k.h (HANDLE_SYSV_PRAGMA): Replaces HANDLE_PRAGMA. - * m88k.c (m88k_handle_pragma_token): Deleted. +Sun Nov 22 16:12:38 1992 Tom Wood (wood@dg-rtp.dg.com) -Tue Jun 30 15:32:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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 (duplicate_decls): If newdecl for builtin function - has same return mode as the builtin, keep the builtin - but use newdecl's return type. + * c-decl.c, cp-decl.c (pushdecl): Don't inherit DECL_INITIAL when + redeclaring the current function. - * i386.md (lshrdi3_const_int): Fix typo in shr insn. + * 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. - * Makefile.in (GCC_CFLAGS): Add `-B$(tooldir)/'. +Sat Nov 21 19:54:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * i386sun.h, rs6000-mach.h, sparc.h, sun2o4.h, sun3.h (LINK_SPEC): - Inhibit the default -e if -r or -nostdlib. + * cccp.c (main): Do -D's and -A's and -U's in order specified. - * c-decl.c (lookup_label): Call label_rtx. + * gcc.c (default_compilers): When running cpp, + move %{D*} and %{U*} (in that order) just before %i. - * c-parse.y (primary): Rearrange and clean up. In C_DECL_ANTICIPATED - case, always call assemble_external and set TREE_USED. +Sat Nov 21 18:24:55 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) -Mon Jun 29 22:27:49 1992 Mike Stump (mrs@wombat.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. - * 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. + * configure (hppa1.0-*-hpux*, hppa1.0-*-hpux*): Use xm-pahpux.h. + (hppa1.0-*-hpux7*): New alternative. -Mon Jun 29 22:20:13 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Sat Nov 21 14:10:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * regclass.c (regclass): Restore some accidentally-deleted code. + * spc-sol2.h (SWITCH_TAKES_ARG, LINK_SPEC): New override definitions. -Mon Jun 29 12:48:05 1992 Nobuyuki Hikichi (hikichi@sra.co.jp) + * xm-mot3300.h (index, rindex): Defined. - * collect2.c (MY_ISCOFF): New macro. - (scan_prog_file): Use that instead of ISCOFF. +Sat Nov 21 07:54:53 1992 Michael Meissner (meissner@osf.org) - * mips.c (override_options) [MIPS_NEWS]: Call setlinebuf. + * mips.h (MIPS_VERSION): Set Meissner version number to 29. -Mon Jun 29 12:48:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * mips.c (mips_expand_prologue): If profiling, emit an insn to + block other insns from being scheduled before the end of the + prologue. - * gcc.c (do_spec_1): For %I, pass -iprefix, not -imacros. + * mips.md (blockage): New unspec_volatile insn to prevent other + insns from being scheduled before it. - * c-common.c (decl_attributes): For `packed' on VAR_DECL, - set DECL_PACKED and DECL_ALIGN. +Sat Nov 21 06:03:38 1992 Brendan Kehoe (brendan@cygnus.com) - * configure: Update usage message. - (m68k-sony-newsos*, mips-sony-newsos*): New synonyms. + * 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. - * fold-const.c (merge_component_references): - Make sure the four fields correspond in the proper order. +Fri Nov 20 15:31:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * dbxout.c (dbxout_type): Handle need for name of a RECORD_TYPE + when it has none. - * i386.c (handle_pragma_token): Function deleted. - * i386v4.h (HANDLE_PRAGMA): Deleted. + * configure (sparc-*-solaris2): Set broken_install. - * g++: Reestablish symlink to c++. - Delete the testing of $TRACE--this could confuse people. - Delete spurious assignment of $version. + * integrate.c (subst_constants): Inhibit special treatment of subreg + when the stuff inside is not a reg. - * tree.h (DECL_PACKED): Store this in regdecl_flag. + * config/plexus.h (SIZE_TYPE): Fix syntax. - * Makefile.in (LIB2FUNCS): Change _builtin_New to _caps_New. - * libgcc2.c: Change L_builtin_New to L_caps_New. + * gcc.c (do_spec_1): Handle MKTEMP_EACH_FILE. - * 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. +Fri Nov 20 15:10:20 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - * sequent.h (SIZE_TYPE): Defined. - (LINK_LIBGCC_SPECIAL): Fix typo. + * fixincludes (math.h): Get rid of inconsistent inline definitions + for abs that are present in HP-UX 8.0. -Mon Jun 29 12:04:57 1992 Tom Wood (wood@dg-rtp.dg.com) +Fri Nov 20 10:07:48 1992 Michael Meissner (meissner@osf.org) - * 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. + * collect2.c (FREAD, FWRITE): Undef these macros if they were + defined before including ldfcn.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. +Fri Nov 20 15:38:47 1992 Tom Wood (wood@dg-rtp.dg.com) -Sun Jun 28 23:06:04 1992 Brendan Kehoe (brendan@cs.widener.edu) + * integrate.c (expand_inline_function): Mark all notes as integrated. - * Makefile.in (bootstrap, bootstrap2, bootstrap3): In each - passage of CC, use xgcc, not gcc. - * dostage2, dostage3: Likewise. + * 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. -Sun Jun 28 09:48:18 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.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. + * 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. - * flow.c (regno_uninitialized): Return 0 for global reg var. +Wed Nov 18 17:58:18 1992 Karl Berry (karl@cs.umb.edu) - * 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. + * i386iscgas.h (SDB_DEBUGGING_INFO): #undef. + (DBX_DEBUGGING_INFO): #define. + (DBX_OUTPUT_MAIN_SOURCE_{DIRECTORY,FILENAME}): Override dbxout.c. - * sparc.c (SPARC_STACK_ALIGN): Add default definition. + * bsd386.h (LPREFIX) [NO_UNDERSCORES]: Define as `.L'. - * 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. - - * expmed.c (emit_store_flag): Keep the last target around if we - should preserve subexpressions. +Wed Nov 18 13:50:43 1992 Michael Meissner (meissner@osf.org) -Sat Jun 27 07:11:28 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * mips.c (compute_frame_size): Make sure the {gp,fp}+offset fields + are always initialized, even if there were no gp/fp registers + saved. - * cse.c (cse_insn): See if we have a CONST_INT that is already in - a register in a wider mode. +Wed Nov 18 09:58:50 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * a29k.md (insv): Remove constraints from operand matching + const_0_operand. - * cccp.c (install): Accept separate arguments for integer and - pointer hash values; don't assume the sizes are the same. - All callers changed. + * regclass.c (regclass): Add missing cast from enum to int. - * rtl.c (copy_rtx, copy_most_rtx): Add new case for 'u'. +Wed Nov 18 09:40:01 1992 John Hassey (hassey@dg-rtp.dg.com) - * tree.c (make_node): Clear all of common area, in particular, flags. + * core.c (initialize_class): The class may not have an initialize + method. - * c-tree.h, cp-tree.h: Add declaration of truthvalue_conversion. +Wed Nov 18 09:40:01 1992 Wilson Tien (wtien@urbana.mcd.mot.com) -Sat Jun 27 06:21:18 1992 Tom Wood (wood@dg-rtp.dg.com) + * xm-m68kv.h (rindex, index): use strrchr and strchr instead. - * m88k.md (type attributes): Delete unused mbit and mfp types. - (ffsi2 insn): Define. - (negdf2 and absdf2 insns): Improve. +Wed Nov 18 01:27:37 1992 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) - * fold-const.c (range_test): Fix the misordered test. Fail if VAR - isn't an integer. + * config.sub: Added Xenix operating system. -Sat Jun 27 00:54:44 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Nov 17 18:32:01 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * gcc.c (link_command_spec): No %D if LINK_LIBGCC_SPECIAL. - * sequent.h (LINK_LIBGCC_SPECIAL): Defined. + * reload.c (combine_reloads): Don't combine with a reload needed + for multiple things. - * vax.h (PRINT_OPERAND): For SFmode, use 0f, not 0d or 0g. +Mon Nov 16 08:52:52 1992 Jeffrey A. Law (law@mole.gnu.ai.mit.edu) - * ns32k.h (NS32K_DISPLACEMENT_P): Correct the range limits. - * ns32k.c (print_operand_address): REG_OK_FOR_INDEX_P wants an rtx. + * 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. -Fri Jun 26 08:55:03 1992 Tom Wood (wood@dg-rtp.dg.com) +Thu Nov 12 21:02:59 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) - * fold-const.c (range_test): New function. - (merge_component_references): Look for range tests as well. + Cygnus<-->FSF merge. - * va-m88k.h: Same changes as other va-*.h files below. Make this - work when and others are included on DG/UX. + Thu Nov 12 15:02:53 1992 Brendan Kehoe (brendan@cygnus.com) -Fri Jun 26 08:17:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * tree.h (value_member, purpose_member, binfo_member, + tree_int_cst_equal, tree_int_cst_lt, index_type_equal, + expand_decl_init): Add decls with prototypes. - * expr.c (safe_from_p): Handle 0 in TREE_VALUE of a TREE_LIST. - (store_constructor: Ignore empty links in element chain. + * cp-decl.c (finish_decl): Don't try to use TYPE if it's an + error_mark_node. -Fri Jun 26 07:06:19 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * 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. - * 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. + * 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. - * 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. + Wed Nov 11 22:14:51 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * stmt.c (expand_end_bindings): Don't save argument pointer if it - will be eliminated in favor of the frame pointer. + * 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. - * 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. + Wed Nov 11 14:34:25 1992 Mike Stump (mrs@rtl.cygnus.com) - * 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. + Thu Nov 5 15:58:38 1992 Tim Moore (moore at defmacro.cs.utah.edu) - * fold-const.c (optimize_bit_field_compare): Delete dead - assignment which can sometimes reference an undefined variable. + * cp-decl.c (duplicate_decls): Round to obstack alignment when + testing if newdecl is at the top of the permanent obstack. - * genoutput.c (gen_split): Initialize n_alternatives. + Wed Nov 11 13:56:18 1992 Mike Stump (mrs@rtl.cygnus.com) - * romp.md (movdf): Fix typo in operand_subword call in define_split. + * cp-search.c (build_vbase_vtables_init): Make sure external virtual + tables are declared on machines that need the declaration by calling + assemble_external. -Fri Jun 26 04:38:37 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Wed Nov 11 12:51:44 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * 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. + * 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. - * gvarargs.h: Test _ANSI_H_, not _ANSI_H. + 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. -Thu Jun 25 23:24:02 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Tue Nov 10 13:23:30 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * ns32k.c (print_operand): - Change NO_IMMEDIATE_PREFIX_IF_SYMBOLIC conditional to #ifdef. + * cp-typeck.c (build_x_function_call): If the type of FUNCTION is an + error_mark, don't bother checking its lang-specific info. - * genoutput.c (gen_split): Set d->n_alternatives. + Tue Nov 10 12:38:36 1992 Mike Stump (mrs@rtl.cygnus.com) - * Makefile.in (test-protoize-simple): Expect just 400 lines. - (install-common-headers): When comparing srcdir with ., use pwd. + * 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 Jun 16 22:11:12 1992 Jim Wilson (wilson@sphagnum.cygnus.com) + Tue Nov 10 11:03:36 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-decl.c (pushdecl_top_level): Disable assert for now; it's + always acted correctly. + + Mon Nov 9 12:04:27 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * Makefile.in (enquire.o): Don't delete/copy enquire.c, just use - the copy in the source directory. + * cp-parse.y (try_for_typename): Deleted rule. + (scoped_id): Don't use it. -Tue Jun 25 23:52:27 1992 Howard Chu (hyc@hanauma.jpl.nasa.gov) + Fri Nov 6 18:07:37 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * libgcc2.c (__builtin_saveregs): Use SVR4 code on Alliant FX2800, - but with BSD function-naming convention. + * cp-init.c (expand_aggr_init): If INIT is 0, don't bother trying to + play with its type. - * va-i860.h: Use SVR4 definitions of __va_saved_regs and va_list - on Alliant FX2800. + Thu Nov 5 16:52:37 1992 Chip Salzenberg (chip@tct.com) - * 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. + * cp-decl.c (finish_decl): Set TREE_STATIC, TREE_PUBLIC and + DECL_EXTERNAL correctly for use with #pragma interface. -Thu Jun 25 06:49:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Fri Nov 6 10:07:01 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * c-typeck.c (process_init_constructor): Strip NON_LVALUE_EXPR - from specified array index. + * cp-class.c (finish_struct): Don't try to work with a field that + got a bogus type. - * configure (i386-*-bsd*, i386-*-mach*): Don't set tmake_file. - They used to use t-libc-ok. + * cp-method.c (build_overload_value): Don't call debug_tree! - * input.h (struct file_stack): Revert prev. change. + * 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. -Thu Jun 25 06:33:52 1992 Tom Wood (wood@dg-rtp.dg.com) + * cp-decl.c (grokdeclarator): If initializing a const member and + acting pedantic, then do make it an error. - * stmt.c (expand_end_case): Add CASE_VALUES_THRESHOLD. - * m88k.h (CASE_VALUES_THRESHOLD): Define. + * 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. -Thu Jun 25 06:13:39 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * 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. - * explow.c (plus_constant, case PLUS): Remove obsolete code; - use recursive call in case remaining operand is one we handle. + Thu Nov 5 17:53:32 1992 Brendan Kehoe (brendan@cygnus.com) -Wed Jun 24 19:15:14 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * cp-decl.c (grokdeclarator): Constant class members can be + initialized. - * combine.c (subst, case PLUS): If adding two things with no bits - in common, convert to IOR. + Thu Nov 5 17:11:30 1992 Mike Stump (mrs@cygnus.com) - * 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. + Thu Nov 5 19:48:17 1992 Niklas Hallqvist (niklas@appli.se) -Wed Jun 24 14:29:09 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-pt.c (instantiate_class_template): Types are used in later + processing, so they must go into the permanent obstack. - * 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. + Thu Nov 5 13:02:56 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * fixincludes: Make some symlinks in the `multimedia' subdir. + * cp-decl.c (grokdeclarator): Don't allow members to be initialized + in the class declaration. - * i386.c: Change #error to just error. + * 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. - * 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. + * 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 Jun 24 14:10:35 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + Wed Nov 4 00:43:15 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * 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. + * cp-parse.y (db_yyerror): Deleted fn. + (yyprint, yyerror, init_parse, yyhook, reduce_cmp, token_cmp, + print_parse_statistics,set_yydebug, debug_yytranslate): Moved to + cp-lex.c. + (reduce_count, token_count): Ditto. + (current_declspecs): Made static. -Tue Jun 23 22:36:12 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-typeck.c (build_c_cast): Warn if casting between a pointer and + an integer whose sizes differ. - * cccp.c (rescan): Recognize # only when reading directly from a file. + * cp-parse.y (unary_expr): Finish making new with placement work; + use the rule `new' instead of the token `NEW' when parsing it. - * input.h (struct file_stack): Add member `fd'. + Tue Nov 3 02:16:47 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * regclass.c (regno_first_uid, regno_last_uid): Make elements ints. - (reg_scan): Allocate and clear them as ints. - * regs.h: Fix the declarations. + * 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. - * 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. + * cp-search.c (dfs_pushdecls): Don't try to use the context of a + field which has none at the time. -Tue Jun 23 00:00:35 1992 Brendan Kehoe (brendan@cs.widener.edu) + * 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. - * toplev.c (strip_off_ending): Also strip off .C and .cxx. + Tue Nov 3 00:15:44 1992 Brendan Kehoe (brendan@cygnus.com) -Tue Jun 23 18:58:43 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * cp-decl.c (grokdeclarator): For `inline', `unsigned', and `signed', + see them as types, not as storage class specs, when looking for more + than one storage class. - * 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. + * cp-lex.c (readescape): New arg ignore_ptr. + (real_yylex): Pass new arg, handle result that comes back. - * function.c (expand_function_start): When not optimizing, don't - put static chain pointer in a pseudo register. + * cp-decl.c (WCHAR_TYPE_SIZE): Deleted; never used. - * 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. + Mon Nov 2 10:23:52 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * c-decl.c (store_parm_decls): Change type of void parameter to - error_mark_node. + * cp-lex.c (real_yylex): Let skip_white_space handle \r. - * configure (m68k-*-sysv4*): Use xm-m68kv.h not xm-m68kv4.h. + * 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) - * configure: Add -prefix option. + * 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. - * vax.c (split_quadword_operands): Declare paramater n. + * cp-decl.c (grokdeclarator): Only call do_friend on a friend if + decl's non-zero. - * i960.h (WORD_SWITCH_TAKES_ARG): Add -aux-info. + Tue Oct 27 09:31:08 1992 Mike Stump (mrs@cygnus.com) - * xcoffout.c (xcoffout_declare_function): Cast alloca result to char *. + * cp-lex.c (do_identifier): Add missing fourth argument to + lookup_field. - * c-convert.c (convert_to_integer): Don't pass truncation past - shift that is larger than the size being truncated to. + Mon Oct 26 15:15:39 1992 Mike Stump (mrs@cygnus.com) -Tue Jun 23 06:15:47 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cp-cvt.c (convert_to_reference): Check for ambiguities + between constructor and conversion operators a bit harder. - * optabs.c (expand_binop, expand_unop): Try widening before trying - to make a library call. + Sat Oct 24 19:34:39 1992 Brendan Kehoe (brendan@cygnus.com) - * stmt.c (expand_return): Add missing emit_queue call in tail - recursion case. + Mon Sep 14 14:36:53 1992 Chip Salzenberg (chip@tct.com) - * cse.c (simplify_unary_operation): Add SIGN_EXTEND and - ZERO_EXTEND to the operations we handle for wide results. + 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. - * expr.c (emit_block_move): Convert size operand to mode that will - be passed to emit_library_call. + Fri Oct 23 18:52:19 1992 Brendan Kehoe (brendan@lisa.cygnus.com) -Tue Jun 23 00:41:03 1992 Paul Eggert (eggert@shadow) + * cp-decl.c (poplevel): Use error_with_decl on an unused label, so + its line number comes out correct. - * objc-parse.y (stmt): Fix mispelling for "label" in message. + Thu Oct 22 18:31:50 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * 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. + * cp-parse.y (operator_name): If a type conversion operator is + defined at the top level, don't crash, complain. -Tue Jun 23 00:21:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Thu Oct 22 17:41:13 1992 Mike Stump (mrs@cygnus.com) - * Makefile.in (protoize.1, unprotoize.1): Rules deleted. - (install-man, proto, realclean): Don't operate on them. - * proto-man: File deleted. + * 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. - * protoize.c (main): Support -v as alias for -V. + Thu Oct 22 13:15:57 1992 Mike Stump (mrs@cygnus.com) -Mon Jun 22 21:50:01 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-tree.h (ANON_AGGRNAME_P): Check the second charater as well, as + it could be $vtbl_ptr_type, and not an ANON_AGGRNAME. - * Makefile.in (compare, compare3): Discard error output from second - tail. If it fails, don't compare that file. + Wed Oct 21 19:31:36 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * Makefile.in (stamp-proto): Move the touch command last. + * cp-call.c (build_method_call): Initialize b_or_d to 0. - * cccp.c (finclude): Use xmalloc, not alloca, for file contents. + * cp-typeck.c (compparms): Delete dead code for returning if either + TREE_PURPOSE is true when t1 and t2 are both 0. - * 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. + * cp-parse.y (object): Only pass one argument into build_x_arrow. - * ns32k.h (NS32K_DISPLACEMENT_P): Wide displacement range applies to - all models. + * cp-parse.y (unary_expr): Add code to parse `&&label'. + (stmt): Expand computed gotos. -Mon Jun 22 20:29:47 1992 Ron Guilmette (rfg at ncd.com) + * cp-method.c (fndecl_as_string): Say it's static before giving its + type, it looks better (and matches how you'd declare it). - * 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. + Wed Oct 21 16:22:43 1992 Mike Stump (mrs@cygnus.com) -Mon Jun 22 06:40:32 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * 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. - * 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. + Wed Oct 21 11:40:35 1992 Mike Stump (mrs@cygnus.com) - * rs6000.h (EXTRA_CONSTRAINT): Don't use indirect_operand; instead - check explicitly. + * cp-call.c (build_method_call): Avoid an abort on parse errors by + changing an assert into a conditional my_friendly_abort. - * rs6000.md (divmod): Use "2" constraint instead of using "q" - twice. - (tablejump): Constraint of "r" should be "l". + Tue Oct 20 16:52:32 1992 Mike Stump (mrs@cygnus.com) - * emit-rtl.c (init_emit): Show that all pointers into the frame are - pointer registers. + * 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. -Mon Jun 22 04:20:26 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Tue Oct 20 11:29:50 1992 Mike Stump (mrs@cygnus.com) - * va-sparc.h (va_arg): Rename local identifiers to start with __. + Wed Oct 7 16:01:55 1992 Chip Salzenberg (chip@tct.com) -Sun Jun 21 14:51:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + [ changes propagated from 921005 snapshot ] + * cp-lex.c (readescape): No warning if digits in \x are all 0's. - * fold-const.c (real_value_truncate): New function. - All calls to REAL_VALUE_TRUNCATE changed to use this function. + Fri Oct 9 15:18:19 1992 Brendan Kehoe (brendan@cygnus.com) - * 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. + * cp-decl.c (duplicate_decls): Only find out if olddecl is a + friend after we know it's not a TREE_LIST. - * 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. + Wed Oct 7 16:04:34 1992 Mike Stump (mrs@cygnus.com) - * configure (mips-sony-bsd): Use xm-mips.h. - * xm-mipsbsdn.h: File deleted. + Wed Oct 7 12:26:07 PDT 1992 Ron Guilmette (rfg at netcom.com) - * protoize.c (process_aux_info_file): Simplify logic for calling - gen_aux_info_file. Get rid of the label `retry'. + * cp-lex.c (readescape): Permit \? as an escape sequence. - * m68ksgs.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): - Override for sgs syntax. + Tue Oct 6 17:54:09 1992 Mike Stump (mrs@cygnus.com) -Sun Jun 21 14:06:41 1992 Brendan Kehoe (brendan@cs.widener.edu) + Major MI revamp. - * va-sparc.h (va_arg): Use a character array of size TYPE for - `d' in the union, and return its dereference as TYPE. + * 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. -Sun Jun 21 14:04:36 1992 Wilson Tien (wtien at urbana.mcd.mot.com) + * cp-search.c (convert_pointer_to_single_level): Added so that one + can convert pointer unambiguously to an immediate base class + pointer. - * m68k.c (print_operand_address) [MOTOROLA]: Use .w and .l, not :w, :l. + * 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. -Sat Jun 20 06:32:11 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * 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. - * 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. + Tue Oct 6 14:51:13 1992 Brendan Kehoe (brendan@rtl.cygnus.com) - * combine.c (make_extraction): Always ensure we have a SUBREG when - we make a STRICT_LOW_PART. + * 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. - * 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. + Mon Oct 5 15:47:35 1992 Brendan Kehoe (brendan@rtl.cygnus.com) - * 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. + 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. - * 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. + Mon Oct 5 13:27:44 1992 Mike Stump (mrs@cygnus.com) - * combine.c (subst, shift cases): Use force_to_mode in - SHIFT_COUNT_TRUNCATED case. + * cp-init.c (maybe_adjust_addr_for_delete): Make sure we don't + evaluate the addr twice if it has side effects. - * rs6000.md: Add new pattern to split move of large constant. + Mon Oct 5 13:05:37 1992 Mike Stump (mrs@cygnus.com) - * cse.c (delete_dead_from_cse): Really delete insn instead of - turning it into a NOTE. + * cp-init.c (build_vec_delete): Make sure we don't evaluate the base + expression twice if it has side effects. - * romp.md (shift patterns): Use QImode for count operand. + Mon Oct 5 12:38:35 1992 Brendan Kehoe (brendan@rtl.cygnus.com) -Sat Jun 20 06:31:21 1992 Tom Wood (wood@dg-rtp.dg.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. - * a29k.md (storehinhww): Use inhw not inbyte. + Mon Oct 5 12:34:32 1992 Mike Stump (mrs@cygnus.com) -Thu Jun 18 16:01:56 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * 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++. - * protoize.c (WIFEXITED, WEXITSTATUS): Delete unused macros. + Mon Oct 5 11:43:09 1992 Mike Stump (mrs@cygnus.com) - * 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. + Mon Sep 14 16:39:10 1992 Chip Salzenberg (chip@tct.com) - * 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. + * cp-cvt.c (convert_to_integer): Don't pass truncation thru lshift + if shift count >= width of narrower type. Instead, just use 0. - * 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. + Fri Oct 2 13:21:40 1992 Ken Raeburn (raeburn@kyriath.cygnus.com) -Thu Jun 18 15:01:29 1992 Mike Stump (mrs@albert.gnu.ai.mit.edu) + * cp-decl.c (start_function): Reinstate error check for missing + semicolon erroneously removed. - * c++: Allow for better quoting and -v handling. +Thu Nov 12 17:37:23 1992 Michael Meissner (meissner@osf.org) -Thu Jun 18 14:49:20 1992 Tom Wood (wood@dg-rtp.dg.com) + * 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. - For RMS: - * varasm.c: Declare text_section and readonly_data_section. +Thu Nov 12 07:30:17 1992 James Van Artsdalen (james at bigtex.cactus.org) - * dpx2.h (CPP_SPEC): Define __HAVE_68881__ unless -msoft-float. - DPX/2 machines all have a 68882. + * i386.h (HARD_REGNO_MODE_OK): Restrict MODE_INT from FP regs only. - * x-i386sco (RCCFLAGS): Use -DNULL=0 to avoid suurious warnings - from rcc. + * 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. - * seq386.h (SIZE_TYPE): The Sequent running Dynix uses int for size_t. + * i386.c (float_op): Delete - no longer used. -Thu Jun 18 14:36:41 1992 Mike Stump (mrs@albert.gnu.ai.mit.edu) +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. - Merge in Cygnus sources... + * romp.md (reload_outdi): Write as proper PARALLEL. - Fri Jun 5 15:00:55 1992 Mike Stump (mrs at cygnus.com) +Wed Nov 11 01:06:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * toplev.c (lang_options): Change +e... to -+e... - * 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. + * xm-tower.h: Include xm-svr3.h. + (bcopy, bzero, bcmp, USG): Macros deleted. - Fri Jun 5 14:36:19 1992 Mike Stump (mrs at cygnus.com) +Tue Nov 10 12:26:23 1992 Steve Chamberlain (sac@cygnus.com) - * cp-cvt.c (build_up_reference): When casting away const on - references, do not report an error. + * sdbout.c (plain_type_1): Handle LONG_TYPE_SIZE like INT_TYPE_SIZE. - Fri Jun 5 13:26:11 1992 Mike Stump (mrs at cygnus.com) +Tue Nov 10 14:20:27 1992 Michael Meissner (meissner@osf.org) - * cp-init.c (build_new): Handle new placement with arrays. + * mips.md (ffssi2): Add =& constraints to the two match_scratch + clobbered registers. Fix from John F Carr. - Thu Jun 4 08:26:44 1992 Mike Stump (mrs at cygnus.com) + * mips-tdump.c (toplevel): Move #undef index and rindex before + including sym.h. - * 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. +Tue Nov 10 10:37:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Wed Jun 3 14:45:40 1992 Mike Stump (mrs at cygnus.com) + * Makefile.in (install-common): Delete deps $(srcdir)/g++ $(srcdir)/c++ - * cp-parse.y (unary_expr): Make it illegal to use delete on - a pointer to a const object. With help from Brendan Kehoe. + * expr.c (init_expr_once): Try indexing mem by fp as well as sp. - Wed Jun 3 13:25:26 1992 Ken Raeburn (Raeburn@Cygnus.COM) +Tue Nov 10 10:28:59 1992 Chris Smith (csmith@convex.com) - * cp-parse.y (template_instantiate_once): Set - CLASSTYPE_GOT_SEMICOLON to eliminate messages about missing - semicolons. + * genattrtab.c (main): Unlimit stack size. - * 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. +Tue Nov 10 10:17:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Mon Jun 1 18:08:09 1992 Mike Stump (mrs at cygnus.com) + * print-rtl.c (print_rtx): Use sizeof spaces - 1 to get the length + of the spaces string. - Sat May 30 15:38:54 1992 Brendan Kehoe (brendan@cs.widener.edu) +Tue Nov 10 09:56:32 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) - * cp-decl.c (grokdeclarator): Don't allow main to be static. + * pa-hpux.h (LINK_SPEC): Disable linking against shared libraries. + * pa-ghpux.h (LINK_SPEC): Likewise. - Mon Jun 1 17:52:24 1992 Mike Stump (mrs at cygnus.com) +Tue Nov 10 08:39:01 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - Sat May 30 15:38:54 1992 Brendan Kehoe (brendan@cs.widener.edu) + * elxsi.h (GO_IF_LEGITIMATE_ADDRESS): Verify that register is valid + for use as base register (un-allocated pseudos aren't when strict). - * cp-decl.c (poplevel): Use DECL_INITIAL to detect undef label - instead of DECL_SOURCE_LINE. +Mon Nov 9 22:17:23 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Mon Jun 1 17:22:54 1992 Mike Stump (mrs at cygnus.com) + * xm-3b1.h (index, rindex): Define as macros. - * cp-parse.y (unary_expr): Don't allow old placement syntax(with {}) - nor dynamic with new (with ()) new placement syntax. Completes May 27 - fix. + * i386bsd.h: Complete rewrite. - Mon Jun 1 13:57:28 1992 Mike Stump (mrs at cygnus.com) +Mon Nov 9 14:22:38 1992 Michael Meissner (meissner@osf.org) - * cp-type2.c (digest_init): Trailing '\0' is never ignored in - initializations using strings in ANSI draft C++ unlike ANSI C. + * mips.h, decrose.h: Move LINK_LIBGCC_SPECIAL to decrose.h. - Mon Jun 1 07:18:13 1992 Michael Tiemann (tiemann at rtl.cygnus.com) +Mon Nov 9 12:39:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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!)). + * unroll.c (final_biv_value): Make a note after loop_end + if we need to use NEXT_INSN (loop_end). - Wed May 27 17:05:50 1992 Mike Stump (mrs at cygnus.com) + * objc-actions.c (build_message_expr): Don't crash if super_type is 0. - * cp-parse.y (unary_expr): Handle new placement syntax, desupport - the old placement syntax with a pedwarn. +Mon Nov 9 07:42:30 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - Tue May 26 17:30:28 1992 Mike Stump (mrs at cygnus.com) + * 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. - Thu May 21 17:13:38 1992 Michael Tiemann (tiemann at cygnus.com) +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) - * cp-decl.c (grok_enum_decls): Allow reference to nested enums from - other classes for NICHL. + * elxsi.c: Include config.h. - Tue May 26 15:31:30 1992 Mike Stump (mrs at cygnus.com) +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. - * cp-*.[chy]: Always include "assert.h" and not to - be consistent. +Fri Nov 6 19:06:56 1992 Jim Wilson (wilson@sphagnum.cygnus.com) - Tue May 26 10:07:02 1992 Mike Stump (mrs at cygnus.com) + * dbxout.c (dbxout_symbol): Give name ` ' to unnamed enums. - * cp-parse.y (return_init): Fix simple typo that caused '=' - initialized named return values to fail. +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. - Mon May 25 11:42:18 1992 Mike Stump (mrs at cygnus.com) + * c-lex.c (readescape): Support \e like \E. Warn only if -pedantic. - * cp-parse.y (component_decl): Handle anonymous unions as before, - except check to make sure it is really an anonymous union. +Fri Nov 6 08:34:17 1992 Tim Moore (moore at defmacro.cs.utah.edu) - Sat May 23 23:37:38 1992 Mike Stump (mrs at cygnus.com) + * 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. - * cp-tree.c (layout_basetypes): Don't core dump on erroneous input. +Fri Nov 6 00:41:53 1992 Paul Eggert (eggert@twinsun.com) - Sat May 23 22:04:31 1992 Mike Stump (mrs at cygnus.com) + * sparc.h (TARGET_EDOM, GEN_ERRNO_RTX): Deleted. - * 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. +Thu Nov 5 18:55:44 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Wed May 20 09:09:08 1992 Michael Tiemann (tiemann@rtl.cygnus.com) + * alpha.c (output_prologue): Fix typo: `add' should be `addq'. - * 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). +Thu Nov 5 18:35:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Tue May 19 02:08:39 1992 Mike Stump (mrs at cygnus.com) + * Makefile.in (install-fixincludes): Add semicolon in new for-loop. - * cp-parse.y (component_decl): Remove some bogus code that - prevents empty nested union definitions from compiling. +Thu Nov 5 15:24:14 1992 Michael Meissner (meissner@osf.org) - Tue May 19 01:08:23 1992 Mike Stump (mrs at cygnus.com) + * 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. - * cp-decl.c (grokfndecl): Propagate volatile from type of - function out to the decl for the function. +Wed Nov 4 13:36:10 1992 Jim Wilson (wilson@sphagnum.cygnus.com) - Mon May 18 17:19:39 1992 Mike Stump (mrs at rtl.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. - * cp-search.c (get_binfo): Since unions cannot participate in - inheritance relationships, return 0 instead of aborting. +Wed Nov 4 16:45:53 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Fri May 15 13:37:40 1992 Mike Stump (mrs at cygnus.com) + * config.sub: Don't discard SCO version number if it's 3.2v4. - * cp-parse.y (template_type_name): Handle - template class task { friend task* preempt(task*); }; - syntax. + * xm-vax-vms.h (HOST_FLOAT_FORMAT): Defined. - * cp-pt.c (lookup_template_class): Ditto. + * varasm.c: Fix typos in last change. - Thu May 14 22:54:17 1992 Mike Stump (mrs at cygnus.com) +Wed Nov 4 10:11:28 1992 Torbjorn Granlund (tege@jupiter.sics.se) - * cp-tree.c (layout_basetypes): Don't warn about non-virtual - destructors unless the user asks with -Wall. + * va-pa.h (va_end): Do it like in other va-*.h files. - Thu May 14 22:38:54 1992 Mike Stump (mrs at cygnus.com) +Wed Nov 4 07:23:46 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-type2.c (build_functional_cast): exp may be an error_mark_node, - don't crash when it is. + * 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. - Thu May 14 18:56:26 1992 Mike Stump (mrs at cygnus.com) +Wed Nov 4 00:13:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-decl.c (hack_incomplete_structures): Test for underflow - before decreamenting n_incomplete in current_binding_level, since - it is unsigned. + * x-next (libgcc2.a, stdarg.h): New rules. - Tue May 12 15:52:49 1992 Mike Stump (mrs at cygnus.com) + * varasm.c (immed_real_const_1, immed_double_const): + Don't push on const_double_chain in nested function. - Mon May 11 14:10:50 1992 Ron Guilmette (rfg at ncd.com) + * expr.c (emit_move_insn): Do return a value, in complex case. - * 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. +Tue Nov 3 10:45:09 1992 H.J. Lu (hlu@yardbird.eecs.wsu.edu) - Mon May 11 12:35:44 1992 Ron Guilmette (rfg at ncd.com) + * i386linux.h (STARTFILE_SPEC): -static is added to ld if + -pg, -g or -p is passed down by gcc. - * 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. +Tue Nov 3 15:14:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Tue May 12 08:52:06 1992 Michael Tiemann (tiemann@rtl.cygnus.com) + * pa.c (output_ior): Handle "ior" against zero. - * cp-typeck.c (build_component_ref): Call `break_out_cleanups'. - Also clean up indentiation. + * i386mach.h (YES_UNDERSCORES): Define it. - Mon May 11 23:14:04 1992 Mike Stump (mrs at cygnus.com) + * sun3.h (ASM_OUTPUT_FLOAT_OPERAND): Use REAL_VALUE_MINUS_ZERO. + (ASM_OUTPUT_DOUBLE_OPERAND): Likewise. - * 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. +Tue Nov 3 08:25:35 1992 Chris Smith (csmith@convex.com) - Sun May 3 00:29:59 1992 Mike Stump (mrs at cygnus.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. - * cp-lex.c (copy_lang_decl, store_pending_inline): Cast - arguments to bcopy to be char *. +Tue Nov 3 08:05:10 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Fri May 1 12:22:31 1992 Michael Tiemann (tiemann@cygnus.com) + * jump.c (jump_optimize): Ensure operand of REG_NOTES is an INSN; + otherwise, we might try to read outside allocated memory. - * 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. + * va-alpha.h (va_end): Don't define enum if va_end already defined. - Wed Apr 29 01:25:25 1992 Mike Stump (mrs at cygnus.com) +Tue Nov 3 02:56:22 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-init.c (do_friend): Check that PREVIOUS_DECL is non-NULL. + * objc/Makefile: Use $(srcdir), not `..'. -Thu Jun 18 14:15:07 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * objc-actions.c (build_message_expr): Use save_expr for receiver. - * pa.md (insv): Use `+' for operand 0 constraint. + * 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. -Thu Jun 18 13:39:22 1992 Michael Meissner (meissner@osf.org) +Mon Nov 2 21:17:40 1992 Paul Eggert (eggert@twinsun.com) - * 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. + * va-sparc.h (va_end): If already def as macro, don't declare. - * 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. +Mon Nov 2 16:04:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * i386linux.h: Include i386gstabs.h, not i386gas.h. - * varasm.c (decode_reg_name): If `memory' return -4. +Mon Nov 2 14:46:31 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * 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). + * Makefile.in (install-cross-tools): Delete old symlink before + making new one; else symlink will fail and we will use + backed strategy. - * mips-tfile.c (read_line): Semicolons within strings are not - counted as statement separators. +Sun Nov 1 17:55:56 1992 Jim Wilson (wilson@sphagnum.cygnus.com) - * collect2.c (scan_prog_file, OSF/rose case): Cast pointer arguments - to bcopy to generic * to avoid warnings. + * varasm.c (decode_rtx_const): Handle PC same as LABEL_REF. -Thu Jun 18 12:04:53 1992 David J. MacKenzie (djm@wookumz.gnu.ai.mit.edu) +Sun Nov 1 03:19:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c++: If given -v with no file args, don't pass the libraries to - gcc. + * Version 2.3.1 released. -Thu Jun 18 10:34:22 1992 Tom Wood (wood@dg-rtp.dg.com) + * x-i386s4: Renamed from x-i386sco4. + * configure (i[34]86-*-sco*): Use new name. - * expr.c (expand_builtin, BUILT_IN_FSQRT): Emit queue of increment - instructions before starting a sequence that may get thrown away. + * sol2-c1.asm, sol2-ci.asm, sol2-cn.asm: Renamed from sol2-crt... + * t-sol2: User new names. -See ChangeLog.5 for earlier changes. +See ChangeLog.6 for earlier changes.