--- gcc/ChangeLog 2018/04/24 17:55:27 1.1.1.3 +++ gcc/ChangeLog 2018/04/24 18:06:27 1.1.1.5 @@ -1,8961 +1,10374 @@ -Sun Jun 14 16:30:07 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.2.2 released. + * calls.c (expand_call): In last change, preserve the temp slot. - * Makefile.in (gcc.xtar.Z): Don't give up if texinfo files not updated. - Just sleep to emphasize the message. +Sun Jun 20 13:37:00 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * i860.h (PREFERRED_RELOAD_CLASS): Avoid f regs for HI and QI if poss. + * c-common.c (decl_attributes): If first_arg_num is 0, no error for it. - * protoize.c: Don't include wait.h. - (gen_aux_info_file): Test wait_status as in gcc.c. - Report fatal signals explicitly. Report exit status. - * xm-next.h (wait): Definition deleted. + * Makefile.in (extraclean): Delete *.gz, and other diff and tar files. - * sparc.c (print_operand): In `r' case, recognize any kind of zero. +Sat Jun 19 19:55:43 PDT 1993 Ron Guilmette (rfg@netcom.com) -Sat Jun 13 02:51:10 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * dwarfout.c (type_main_variant): New function. + Use it in place of TYPE_MAIN_VARIANT everywhere in dwarfout.c. - * va-sparc.h (va_arg): Handle all 8-byte types, not just double. + * c-decl.c (grokdeclarator): Avoid the use of macros for ..._TYPE + nodes in cases where a parameter's type is error_mark_node. -Fri Jun 12 23:40:41 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Jun 19 03:57:57 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * i860v4.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): - Use `e' format, not `g' format. + * Version 2.4.4 released. -Fri Jun 12 12:52:48 1992 Tim Moore (moore at fast.cs.utah.edu) + * toplev.c (compile_file): For static decl never defined, + use just warning, not pedwarn. - * pa.md (absdf2): Fix bug in output template. + * dbxout.c (dbxout_type): Reinstall #if 0 around code for + outputting structure types, that confused GDB. -Fri Jun 12 10:25:25 1992 Jim Wilson (wilson@sphagnum.cygnus.com) +Fri Jun 18 20:06:35 1993 Pat Rankin (rankin@eql.caltech.edu) - * ultrix.h (WCHAR_*): Set to correct values. + * vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): adjust stack pointer by 4 prior + to calling C$MAIN_ARGS, otherwise POSIX edition of that routine dies. -Fri Jun 12 10:07:43 1992 Michael Meissner (meissner@osf.org) +Fri Jun 18 14:21:14 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * x-mips, x-mipsv, x-decstatn, x-iris (OLDCC): Add -Olimit 3000 to - bump the number of basic blocks that the MIPS compiler handles, so - that it doesn't issue warning messages saying to bump the limit. - Move the -O1 option here from X_CFLAGS, so that it doesn't - get passed when bootstraping. - (X_CFLAGS): Delete. + * Makefile.in (clean): Delete objc-headers subdir. -Thu Jun 11 15:08:01 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. - * sparc.h (RETURN_IN_MEMORY): Do nothing for structs and unions. - (EXTRA_CONSTRAINT): During reload, accept pseudo reg for Q. + * Makefile.in (gcc.xtar.gz): Renamed from gcc.tar.z. + (dist): Change the dependency. + (mostlyclean): Delete tmp-gcc.xtar.gz. - * va-sparc.h (va_arg): Handle unaligned doubles. + * c-iterate.c (save_exprs): New variable. + (collect_iterators): Don't process a SAVE_EXPR twice. + (iterator_expand): Clear save_exprs. - * fixincludes: Fix return type of `free' in malloc.h. - Recognize #define.NULL only at start of line. - In sys/types.h, find size_t only in a typedef. - In netdnet/dnetdb.h, don't add semicolon in wrong place. + * Makefile.in (gcc.info, cpp.info): Actually cd to srcdir. - * configure: Set use_collect2 to empty rather than unsetting. + * configure (clipper-intergraph-clix*): Use install-headers-cpio. - * gstddef.h (__need_wchar_t): Fix typo in #undef. +Fri Jun 18 13:37:16 1993 Michael Meissner (meissner@osf.org) -Wed Jun 10 04:30:01 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. - * gcc.c (process_command): In gcc_exec_prefix, machine precedes vers. +Fri Jun 18 00:25:16 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * i386sco4.h (CPP_SPEC): Don't redefine __STDC__. - fixincludes knows how to fix the conditionals in system headers. + * 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. - * collect2.c (scan_prog_file): Initialize ldptr. +Thu Jun 17 17:58:11 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * dbxout.c (dbxout_symbol): Make tag precede typedef. + * config/pa/pa.md (decrement_and_branch_until_zero): + Pattern disabled. - * configure: Initialize host, host_xm_file, host_xmake_file, - host_broken_install, and broken_install. +Thu Jun 17 13:34:20 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * Makefile.in (enquire.o): Add `./' when removing enquire.c. + * 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. -Tue Jun 9 20:52:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Jun 17 12:13:53 1993 Minh Tran-Le (mtranle@paris) - * Version 2.2.1 released. + * 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. - * Makefile.in (clean): Don't delete unprotoize.c. +Thu Jun 17 00:26:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * configure: Fix typo in modifying INSTALL variable in Makefile. + * reg-stack.c (stack_result_p): New function. + (stack_reg_life_analysis): Use that. -Mon Jun 8 15:14:09 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * final.c (output_addr_const): Don't insert a leading space + in the CONST_DOUBLE_HIGH != 0 case. - * Version 2.2 released. +Thu Jun 17 00:09:19 1993 Jeff Law (law@snake.cs.utah.edu) - * Makefile.in (extraclean): Delete *.rej and *.orig under config. - Delete *.xtar. - (dist): Update README *before* making tar file. - Fix quoting of error message about gcc.texi; exit if that test fails. - Don't print error messages from ln. + * pa.h (LEGITIMATE_CONSTANT_P): Reject function addresses for now. - * assert.h [__cplusplus]: Use `extern "C"' around __eprintf decl. +Wed Jun 16 20:14:10 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * configure (rs6000-*-mach*, pyramid-*-*, mips-sgi-*): - Patterns made canonical. - (rs6000-*-mach*): Fix typo in `xmake_file'. + * cp-typeck.c (build_unary_op): Make sure it's the global fn `main' + before complaining about taking the address of it. - * configure (i386-*-osfrose*): Renamed from i386-osfrose*. +Wed Jun 16 16:24:31 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Makefile.in (.NOEXPORT): Moved after `all'. - Comments put on separate lines. + * config/i386/xm-sysv4.h (SMALL_ARG_MAX): Defined. -Mon Jun 8 18:33:01 1992 Michael Meissner (meissner@osf.org) + * c-typeck.c (check_format): Don't crash if cur_type is an error_mark. + Handle identifier_node as the TYPE_NAME. - * configure (mips-dec-osf*): Set xmake_file to x-mips. +Mon Jun 14 16:09:24 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sun Jun 7 15:55:34 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * calls.c (expand_call): If PCC_STATIC_STRUCT_RETURN and TARGET + is zero, copy result from static location. - * gcc.c (set_spec): Fix braino in "appending" spec values. + * cse.c (invalidate_skipped_set): Promote "nonscalar" to "all". - * integrate.c (expand_inline_function): Fix dumb bug in last change. +Mon Jun 14 16:01:34 1993 Karl Berry (karl@cs.umb.edu) -Sun Jun 7 07:16:25 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * fixincludes (stdio.h math.h ctype.h sys/{limits.h,fcntl.h,dirent.h}): + Fix STDC/POSIX and other things for Interactive Unix 2.2 or later. - * romp.md: Disable two more define_splits during the first sched - pass until long-standing sched.c bug is fixed. +Mon Jun 14 04:41:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Jun 4 16:49:56 1992 Jim Wilson (wilson@sphagnum.cygnus.com) + * reload.c (make_memloc): Don't reuse a memloc. - * reorg.c (dbr_schedule): Global registers are needed at function end. +Sun Jun 13 16:01:37 1993 Jeff Law (law@snake.cs.utah.edu) -Sat Jun 6 17:07:16 1992 Torbjorn Granlund (tege at david.ultra.nyu.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. - * pyr.md (shift patterns): Declare output_shift. - (movdi, movdf): Declare output_move_double. +Sun Jun 13 20:23:04 1993 Stephen Moshier (moshier@world.std.com) -Sat Jun 6 15:07:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * Makefile.in (c-parse.o): Depend on c-parse.h. +Sun Jun 13 12:55:22 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * reload.c (find_reloads): Fix typo in format string. + * cp-decl.c (start_function): Avoid a null-reference on CTYPE. - * mips.c (override_options): BSD 4.3 does line buffering differently. +Sun Jun 13 08:22:30 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in (SYSCALLS.c.X): Put GCC output in file, not /dev/null. - (mostlyclean): Delete temp file. + * expr.c (expand_expr, case COND_EXPR): Fix typo; const1_rtx should + be const0_rtx when ignoring expression. - * configure (handling broken_install): Add -c option. +Sun Jun 13 00:15:00 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sat Jun 6 11:34:00 1992 James Van Artsdalen (james at bigtex.cactus.org) + * genopinit.c (optabs): For strlen_optab, don't look for `2' in name. - * gstdarg.h (va_arg): Fix typo incrementing AP. +Sat Jun 12 20:23:04 1993 Stephen Moshier (moshier@world.std.com) -Sat Jun 6 16:27:18 1992 Michael Meissner (meissner@osf.org) + * 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. - * mips-n5.h, mips-sysv.h: Include sys/param.h, not types.h. +Sat Jun 12 13:44:00 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) -Fri Jun 5 19:00:36 1992 Howard Chu (hyc@hanauma.jpl.nasa.gov) + * sched.c (add_dependence): Reject CODE_LABELs when searching for + last insn of a sched group. - * fx2800.h (ASM_OUTPUT_FUNCTION_PREFIX): Output a nop before - every function, to accomodate tdescs. Also, save function - name in current_function_original_name for use in i860.c. - Also define OUTPUT_TDESC to get ABI-compliant tdesc info - generated for each function. +Sat Jun 12 08:06:25 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * i860.c (function_epilogue): Add code to output tdesc info - after each function. Tdesc structure versions 1-4 are - supported. + * m68k.md (movqi): Handle copying an address register to or + from memory when the address uses the address register. - * i860v4.h (ASM_FILE_END) [OUTPUT_TDESC]: Output a null tdesc entry - after the last function in a file. +Sat Jun 12 00:17:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Jun 5 19:03:22 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cse.c (record_jump_cond): Look up op1 again after inserting op0. - * collect2.c (main, scan_prog_file): Use bcopy, not memcpy. +Fri Jun 11 21:50:16 1993 John F Carr (jfc@Athena.mit.edu) -Fri Jun 5 16:27:18 1992 Michael Meissner (meissner@osf.org) + * 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. - * mips.h, mips.c, mips.md: Undo June 3 changes. +Fri Jun 11 20:04:43 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * mips-n5.h, mips-sysv.h (getpagesize): If _SC_PAGE_SIZE is undefined, - use NBPC defined in sys/types.h. + * rs6000.c (rs6000_gen_section_name): Only replace last period + in filename with section name and correct calculation of + string length. -Thu Jun 4 14:36:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * recog.c (constrain_operands): Correctly ignore MATCH_OPERATOR + operands. - * cse.c (delete_dead_from_cse): Don't delete anything inside a libcall. + * reload1.c (eliminate_regs_in_insn): Don't use a later elimination + than eliminate_regs would use. - * Makefile.in (install-libgcc): Depend on install-dir. + * c-decl.c (finish_decl): Don't modify DECL_INITIAL of a PARM_DECL. - * c-lex.c (yylex): Suppress int out of range warning if -traditional. +Thu Jun 10 23:48:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Jun 4 23:34:05 1992 Howard Chu (hyc@hanauma.jpl.nasa.gov) + * genextract.c (main): Use __volatile__, not volatile. - * fx2800.h (DBX_OUTPUT_ENUM): Add missing argument, add a - missing semi-colon. - (ASM_OUTPUT_DOUBLE): undef definition from i860v4.h, replace - with definition used in i860.h. - (ASM_OUTPUT_FLOAT): same as above - Also undef MD_EXEC_PREFIX which is defined in i860v4.h. - Also define I860_STRICT_ABI_PROLOGUES for ABI-compliant function - prologues. +Thu Jun 10 16:21:08 1993 Michael Meissner (meissner@osf.org) -Thu Jun 4 13:15:30 1992 Jim Wilson (wilson@sphagnum.cygnus.com) + * 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. - * enquire.c (fake_f_rep): Use __extension__ to avoid pedantic warnings. + * i386/osfelf.h (ASM_SPEC): Pass -v to assembler if used. + (OBJECT_FORMAT_ROSE): Undefine. - * cse.c (cse_process_notes): Don't stick VOIDmode into *_extract. +Thu Jun 10 16:20:24 1993 Doug Evans (dje@canuck.cygnus.com) - * c-decl.c (get_parm_info): For forward parm decls, check for - non-parm before checking TREE_ASM_WRITTEN. + * expmed.c (MAX_BITS_PER_WORD): Define earlier. + (shift_cost, shiftadd_cost, shiftsub_cost): Use MAX_BITS_PER_WORD. -Thu Jun 4 13:57:47 1992 Tim Moore (moore at defmacro.cs.utah.edu) +Thu Jun 10 12:56:18 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * pa.h (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Delete - FP_OR_SNAKE_FP_REGS (useless), add GENERAL_OR_FP_REGS, - GENERAL_OR_SNAKE_FP_REGS. - (ASM_DECLARE_FUNCTION_NAME): Handle DImode arguments correctly. - (PROFILE_BEFORE_PROLOGUE, FUNCTION_PROFILER): Do the same thing - for BSD and HPUX. - - * pa.c (output_function_prologue): Do profiling right (compatible - with HPUX). - (output_arg_descriptor): Handle DImode argument registers. + * sched.c (sched_analyze_2): Don't ignore USE insns when creating + dependencies. + (sched_analyze): Likewise. -Thu Jun 4 13:48:24 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Wed Jun 9 12:58:51 1993 Michael Meissner (meissner@osf.org) - * reload1.c (reload): Count reload register used by caller-save - handling in any basic block that contains a CALL_INSN. + * configure (i386-*-osfelf): Add new configuration for OSF/1 using + the ELF object file format. -Thu Jun 4 09:23:19 1992 Ron Guilmette (rfg at ncd.com) + * i386/osfelf.h (new file): New config file for OSF/1 with ELF. + Include osfrose.h and redefine things as needed. - * i860v4.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Remove leading 0r. - (ASM_OUTPUT_FLOAT): Use .float (not .single). + * 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. -Fri Jun 5 14:58:43 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Wed Jun 9 13:21:03 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * pyr.h (REGNO_OK_FOR_{INDEX,BASE}): Correctly test reg_renumber. - * configure (pyramid): Turn it back on. + Mon Jun 7 18:01:31 1993 Mike Stump (mrs@cygnus.com) -Thu Jun 4 11:26:55 1992 Torbjorn Granlund (tege@mole.gnu.ai.mit.edu) + * 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. - * pa.c (output_move_double): Handle overlapping moves between - registers. + Wed Jun 2 11:53:24 1993 Mike Stump (mrs@cygnus.com) -Wed Jun 3 22:08:18 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-search.c (lookup_fnfields_here): Use TYPE_MAIN_VARIANT on + context types before comparing. Fixes const member functions not + being found in templates. - * fold-const.c (fold, NOP_EXPR case): Don't drop intermediate in - (unsigned int) (unsigned short) char-variable. +Tue Jun 8 19:44:23 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Wed Jun 3 11:18:43 1992 Ron Guilmette (rfg at ncd.com) + * 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). - * stdarg.h (va_arg): Use casts to avoid doing (pedantically invalid) - arithmetic on `void *' values when __svr4__ is defined. +Tue Jun 8 13:14:27 1993 John Hassey (hassey@dg-rtp.dg.com) -Wed Jun 3 17:51:21 1992 Torbjorn Granlund (tege@zevs.sics.se) + * configure: Added gas support for m88k-* targets. - * longlong.h (sparc): Test symbol __sparcv8__ for sparc.h conformance. + * t-luna-gas t-dgux-gas t-m88k-gas: New files in config/m88k. -Wed Jun 3 16:22:38 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Tue Jun 8 14:51:44 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * sparc.c (print_operand): Correct typo. - (sparc_type_code): Correctly handle C int and float types. + * loop.c (move_movables): Delete REG_EQUAL notes that describe a + non loop invariant value. - * sparc.h (CONSTANT_ALIGNMENT): Align strings to 8 byte boundary. - (DATA_ALIGNMENT): Likewise for character arrays. + * sparc.c (call_operand, call_operand_address): Accept any address + not just REG rtx. - * i960.c (function_prologue): Fixed calculation of offsets for - compiler's register save area. +Tue Jun 8 18:47:39 1993 Torbjorn Granlund (tege@nada.kth.se) - * sparc.md (mulsi3,mulsidi3,umulsidi3,divsi3,udivsi3): Patterns - added to support V8 sparc architectures. - * sparc.h (TARGET_DEFAULTS): Add -mv8 and -msparclite options. + * sparc.h: (RTX_COSTS): Make cost of MULT depend on TARGET_V8. - * reload1.c (reload): If can't satisfy reload for a group of more - than two registers, then abort to avoid an infinite loop. - (count_possible_groups): Skip to last reg of group, not first reg - of next group. + * pa.h (CPP_SPEC): Fix typo: define __hp9000s700. -Wed Jun 3 14:35:00 1992 Tom Wood (wood at gen-rtx) +Tue Jun 8 06:16:30 1993 John Hassey (hassey@dg-rtp.dg.com) - * c-lex.c (yylex): Let skip_white_space handle \r. + * m88k.h (HARD_REGNO_REGS, HARD_RENO_MODE_OK, MODES_TIEABLE_P): + Restrict use of 88110 extended registers to floating point. - * expr.c (expand_builtin, fsqrt case): Stabilize the argument in - case a library call is done. +Mon Jun 7 15:42:10 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * final.c (final_scan_insn): Function begin, and block begin/end - notes are "real" in that they depend on the current line number. + * math-68881.h (atan2): For x <= 0, lump y == 0 with y > 0 + to get the right result in 0, -1 case. -Wed Jun 3 14:34:28 1992 Michael Meissner (meissner@osf.org) +Mon Jun 7 17:50:25 1993 Jeff Law (law@snake.cs.utah.edu) - * mips.md (andsi3_internal2): Fix typo in previous change, to - use %3, the clobbered register, instead of %@, the assembler - temporary. - (iorsi3_internal2): Ditto. - (xorsi3_internal2): Ditto. + * pa.h (RTX_COSTS): Cost of MULT also depends on + TARGET_DISABLE_FPREGS. - * mips.h (MIPS_VERSION): Bump Meissner version # to 20. - (final_prescan_insn): Add declaration. - (lui_int): Add declaration. - (FINAL_PRESCAN_INSN): Just call final_prescan_insn. + * pa.h (ASM_OUTPUT_INT): Always emit special "plabel" relocation for + function labels. - * mips.c (lui_int): New function, return true if value fits in a - LUI instruction. - (final_prescan_insn): Move the checking for filling the delay - slots here from the FINAL_PRESCAN_INSN macro. If the safe - attribute is set, we do not need a NOP to fill a load delay slot. +Sun Jun 6 16:31:59 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * mips.md (safe attribute): New attribute to indicate that the - current insn is safe to fill a delay slot even if the register - operand(s) are set in the load instruction which has the delay - slot. This is for and/ior/xor expansions that have a large - constant integer as operand[2]. The load of the constant can - overlap the load. - (andsi3, iorsi3, xorsi3): Replace logical define_insn's with - define_expand's that either map directly to the hardware - instruction, or have a clobbered register to load the large - constant into. This is instead of using $1 to hold the - intermeidate value. Set the safe attribute to yes for the cases - where we need to load the integer. Add define_split's to break - the large logical operations into the separate pieces. + * gcc.c (translate_options): Don't assume option_map[j].arg_info != 0. -Wed Jun 3 00:00:36 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/vax/vax.h (PRINT_OPERAND): Prefix constant by `$'. - * cccp.c (do_warning): Do just a warning, not an error. +Sun Jun 6 00:44:48 1993 Torbjorn Granlund (tege@nada.kth.se) -Tue Jun 2 17:30:09 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * m88k.md (fix_truncdfsi2): Destination is general register, source + general or extended register. + (fix_truncsfsi2): Likewise. - * cse.c (cse_basic_block): When a jump becomes unconditional, - check whether this caused TO to be deleted. +Sun Jun 6 00:20:25 1993 Kresten Krab Thorup (krab@iesd.auc.dk) -Tue Jun 2 16:11:42 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * objc-act.c (encode_type): Add cases for DImode, encoded + as 'q' and 'Q' respectively. - * combine.c (subst, case IF_THEN_ELSE): Don't try reversing - something that isn't a comparison. +Sat Jun 5 14:02:36 1993 James Van Artsdalen (james@bigtex.cactus.org) -Tue Jun 2 16:50:47 1992 Jim Wilson (wilson@sphagnum.cygnus.com) + * c-decl.c (pushdecl): Copy DECL_FRAME_SIZE for inline function decls. - * cccp.c (do_pragma): Don't warn about #pragma once if used in a - system header file. + * stmt.c (check_for_full_enumeration_handling): Don't create a + default label if all enumeration literals are covered by cases. -Tue Jun 2 15:21:07 1992 Michael Meissner (meissner@osf.org) +Sat Jun 5 04:49:19 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * mips.h (MIPS_VERSION): Bump Meissner version # to 19. - (ASM_OUTPUT_DOUBLE): Call mips_output_double. - (ASM_OUTPUT_FLOAT): Call mips_output_float. + * function.c (uninitialized_vars_warning): Change warning text. + (setjmp_args_warning): Likewise. - * mips.c (mips_output_double): If REAL_VALUE_TO_TARGET_DOUBLE is - defined, use it to split the floating point value into 2 long - integers, and print them out in hex. Otherwise use .double. - (mips_output_float): If REAL_VALUE_TO_TARGET_FLOAT is defined, use - it to split the floating point value into a long integer, and - print in out in hex. Otherwise use .float. + * c-typeck.c (convert_for_assignment): Allow conversion to union type + for pointer if the pointer could convert to the union member. - * dec-osf1.h (new file): Config file for DEC's offical OSF/1 - product (as opposed to the OSF/1 reference port from OSF). +Fri Jun 4 18:09:47 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * configure: Support mips-dec-osf1 target. - * config.sub: Support mips-dec-osf1 target. + * integrate.c (expand_inline_function): Always copy a SUBREG as an + argument into a REG. - * decstatn.h (CPP_PREDEFINES): If CPP_PREDEFINES is defined, don't - supply another definition. Also, define _SYSTYPE_BSD. +Fri Jun 4 05:52:28 1993 Torbjorn Granlund (tege@nada.kth.se) -Mon Jun 1 00:04:01 1992 Ron Guilmette (rfg at ncd.com) + * pa.h (RTX_COSTS): Make cost of MULT depend on TARGET_SNAKE. - * gstdarg.h (va_list) [__svr4__]: Typedef it to `void *'. - * va-sparc.h (__va___list) [__svr4__]: Typedef this as `void *'. + * 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. -Sun May 31 15:26:32 1992 John F Carr (jfc at Achates.mit.edu) +Fri Jun 4 23:18:35 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - * calls.c (stack_arg_under_construction): New variable. - (store_one_arg): Set stack_arg_under_construction before calling - expand_expr if expand_expr might call a constructor to initialize - a stack argument. - (expand_call): Push the stack around function calls if - stack_arg_under_construction is nonzero. - Also copy structure_value_addr in that case. - Push the stack around an inline function if it makes calls - and there are outgoing arguments on the stack which must be preserved. - Move the call to expand_cleanups_to before that. - Do this stack adjustment before computing argument locations. + * objc/sendmsg.c (objc_msg_sendv): Pass a dummy va_list, not 0, + to objc_error. -Sun May 31 01:03:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Jun 4 16:12:43 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * sdbout.c (sdbout_symbol): Test DECL_IGNORED_P only for - variables and types. - * dwarfout.c (output_decl): Never ignore a FUNCTION_DECL - even if DECL_IGNORED_P is set. + * byteorder.h: Use new-style function definitions, so that this + file is both valid C and C++. -Sat May 30 07:07:55 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Fri Jun 4 00:59:31 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * rs6000.h, romp.h (FUNCTION_ARG): Fix typo in last change. + * config/mips/svr4-5.h (CPP_PREDEFINES): + Add _MIPS_SZINT _MIPS_SZLONG _MIPS_SZPTR. - * combine.c (subst, significant_bits, simplify_comparison): - Only look at STORE_FLAG_VALUE if comparison result is integer. +Thu Jun 3 23:48:39 1993 Jeff Law (law@snake.cs.utah.edu) -Fri May 29 18:04:45 1992 Ron Guilmette (rfg at ncd.com) + * 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. - * dwarfout.c (output_decl): Moved test for ERROR_MARK node out of - switch statement and added a test for DECL_IGNORED_P after that. - (dwarfout_file_scope_decl): Check input node to see if it is an - ERROR_MARK before checking for DECL_IGNORED_P. Also makes sure that - any node marked as DECL_IGNORED_P isn't also a function definition. +Thu Jun 3 18:52:24 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri May 29 14:46:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/nextstep.h (INCLUDE_DEFAULTS): Use same order as cccp.c. + Add CCC_INCLUDE_DIR with /ansi and /bsd concatenated. - * integrate.c (expand_inline_function): - Don't discard setting return value from a volatile source. + * varasm.c (immed_real_const_1): Check explicitly for NaNs. - * c-decl.c (init_decl_processing): If traditional, strlen returns int. - (sizet_ftype_string): Deleted. +Thu Jun 3 14:37:25 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * expr.c (expand_builtin, fsqrt case): Return proper mode if arg error. + * combine.c (num_sign_bit_copies): At end, return 1 is nonzero has + the high bit set. -Fri May 29 13:36:32 1992 Tom Wood (wood@dg-rtp.dg.com) +Wed Jun 2 17:27:31 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * m88k.c (m88k_builtin_saveregs): Don't copy result to a register. + * loop.c (record_initial): Reject insns that store into subregs. - * m88k.h (FIXED_REGISTERS): Allow use of r1. - (REG_LEAF_ALLOC_ORDER): Choose r1 last. - (REG_ALLOC_ORDER): Choose r1 before any preserve register. - (ORDER_REGS_FOR_LOCAL_ALLOC): Switch between orderings. - * m88k.c (m88k_layout_frame): Save r30 when used as an ordinary - register. +Tue Jun 1 12:46:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * m88k.h (CHECK_FLOAT_VALUE): Delete, not needed. - * m88k.c (check_float_value): Delete, not needed. + * Version 2.4.3 released. - * m88k.c (mostly_false_jump): Fix return check. + * just-fixinc: New file. - * m88k.md (mstore type): Delete. - (return, indirect_jump): These are jumps, not branches. - * m88k.c (eligible_for_epilogue_delay): No TYPE_MSTORE insns. + * config/convex/convex.h [_IEEE_FLOAT_] (LINK_SPEC): + Use ___gcc_cleanup, not __gcc_cleanup. -Fri May 29 12:33:21 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Jun 1 07:41:26 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * reload1.c (emit_reload_insns): Add missing arg to gen_input_reload. + * rs6000.md (ffs): Delete pattern containing nonexistant instruction. -Fri May 29 06:43:15 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * alpha.md (extendsidi2): Correctly do operation when in FP + registers and, since expensive, don't have FP regs as a preference. - * rs6000.h, romp.h (FUNCTION_ARG): Don't put variable-sized - operands in registers. +Tue Jun 1 00:09:46 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * explow.c (emit_stack_{save,restore}): Don't call validize_mem - on a null rtx. + * fixincludes (signal.h): Fix typo in last change. - * cse.c (cse_insn): Don't call canon_reg on entry from - hash table; instead, call it after we did the substitution. + * configure: Add missing dash in patterns for mips-*-riscos... + In riscos 5 patterns, use fixinc.mips. -Thu May 28 18:47:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fixinc.mips: New file. - * fixincludes (malloc.h): Allow space or tab btwn typedef and char. + * config.sub: Handle 386bsd. -Thu May 28 17:35:37 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Mon May 31 23:47:00 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * reload1.c (reload_as_needed): Properly disable optional reload - that we can't do. - Don't abort if disabled reload uses a register we don't have. + * config/vax/vax.md (untyped_call, blockage): New patterns, + basically copied from m68k.md. -Thu May 28 14:43:01 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon May 31 21:46:08 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * next.c (get_directive_line): Declare it. + * romp.c (output_epilog): Don't crash if TYPE_SIZE of an arg is + not set. - * defaults.h (ASM_OUTPUT_ASCII): Use unsigned chars. +Mon May 31 00:15:20 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * i860v4.h, i386v4.h, sparcv4.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): - Use the override definitions only if word order matches host. + * config/mips/x-sony (OLDCC): Fix typo. -Wed May 27 17:32:36 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * 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. - * unroll.c (find_splittable_givs): When completely unrolling loop, - precompute giv value into a reg before loop if it is complex. + * pa.md (decrement_and_branch_until_zero): + Reverse all conditions in reload cases. - * sparc.c (singlemove_string): Handle SFmode CONST_DOUBLE. - * sparc.h (PREFERRED_RELOAD_CLASS): Don't allow reloads of - constants to FP registers, nor reloads of FP constants that won't - match the 'E' constraint. - * sparc.md (movsf-1): Add pattern to efficiently handle SFmode - constants. + * Version 2.4.2 released. - * sparc.md (lo_sum:DI pattern): Use constraint "0" for operand 1. +Sun May 30 21:14:42 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * i960.h (OVERRIDE_OPTIONS): Disable function inlining. + * integrate.c (expand_inline_function): Increment map->const_age + before copying REG_NOTES. - * function.c (assign_parms): When MAYBE_REG_PARM_STACK_SPACE, - don't assume that register parameters already have a stack slot. - * i960 (*): Change all tests of current_functions_args_size from - 48 to 0 due to above change. - * i960.md (*): Likewise. - - * sparc.h (LONG_DOUBLE_TYPE_SIZE): Add ifdefed out definition. - (FIXED_REGISTERS): g4 is not a fixed register. - (RETURN_IN_MEMORY): Define. - (FUNCTION_ARG_PASS_BY_REFERENCE): Also pass TFmode by reference. - - * fixincludes: Fix stdio.h and math.h for Ultrix 4.0. - -Tue May 26 15:29:21 1992 Brendan Kehoe (brendan@cs.widener.edu) - - * x-we32k: new file, need alloca.o - * xm-we32k.h [NO_SYS_SIGLIST]: define this - * we32k.h [STRICT_ALIGNMENT] define as `1' - [NO_WAIT_H]: also define this - * collect2.c [NO_WAIT_H]: don't include sys/wait.h if this is - defined. + * sparc.c (sparc_builtin_saveregs): Don't set first_reg to zero + for varargs. + +Sun May 30 23:58:52 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * objc/Makefile (copy-headers): chmod the headers, not the dir. - * Makefile.in (clean): rm libgcc1.null. + * Makefile.in (objc-headers): Don't dep on force. + Touch objc-headers so copy is not repeated at install time. -Wed May 27 15:36:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * final.c (shorten_branches): Conditionalize last change + on SHORTEN_WITH_ADJUST_INSN_LENGTH. - * real.h (REAL_VALUE_TO_TARGET_SINGLE): Test HOST_BITS_PER_WORD right. + * pa.h (SHORTEN_WITH_ADJUST_INSN_LENGTH): Defined. - * i386sco.h (SIZE_TYPE): New definition. +Sun May 30 13:53:30 1993 Jeff Law (law@snake.cs.utah.edu) - * c-typeck.c (build_binary_op): When shortening, handle case - where op0 and arg0 are different but have same width. op1/arg1 too. + * final.c (shorten_branches): Call ADJUST_INSN_LENGTH during the + shortening phase. - * toplev.c (compile_file): Cast xmalloc when arg to setvbuf. + * 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. - * expmed.c (expand_divmod): Clear can_clobber_op0 if doing mod. + * pa.h (INSN_SETS_ARE_DELAYED): Do not call get_attr_type with a + CLOBBER insn. + (INSN_REFERENCES_ARE_DELAYED): Likewise. - * Makefile.in (protoize.1, unprotoize.1): Delete target before mv'ing. - (mostlyclean): Delete tmp-unproto.1. + * pa.md (call insns and expanders): Do not explicitly clobber %r31. - * sdbout.c (sdbout_symbol, sdbout_toplevel_data): Test DECL_IGNORED_P. - * dwarfout.c (dwarfout_file_scope_decl): Likewise. + * 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. -Wed May 27 13:48:36 1992 James Van Artsdalen (james at bigtex.cactus.org) +Sun May 30 18:58:22 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * i386.md (ashldi3,ashrdi3,lshrdi3): Fix typo in comparison. + * mips.c (function_arg_partial_nregs): For BLKmode values, fits in + remaining register if total size <= MAX_ARGS_IN_REGISTERS, not <. -Wed May 27 02:11:22 1992 Ron Guilmette (rfg at ncd.com) +Sun May 30 17:45:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * i386v4.h, i860v4.h, sparcv4.h: Include real.h. - (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): - New definitions, if host and target formats match. + * emit-rtl.c (operand_subword): Shift by (HOST_BITS_PER_WIDE_INT / 2), + not by 32. - * real.h (REAL_VALUE_TO_TARGET_SINGLE, REAL_VALUE_TO_TARGET_DOUBLE): - Defined, but only if host and target formats match. + * reload1.c (reload): If only non-group need is unfilled, see if + regs spilled for earlier classes can satisfy it. -Wed May 27 06:20:26 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * config/mips/iris4loser.h (ASM_SPEC): Add unconditional -O0. - * reload1.c (reload_as_needed): For asm insn, check all reload - insns for validity. - (emit_reload_insns, gen_input_reload): Remove previous change that - checked them here. - * recog.c (constrain_operands, case 'm', 'o', 'g'): Accept pseudo if - reload is in progress. +Sat May 29 15:19:57 1993 Jeff Law (law@snake.cs.utah.edu) -Tue May 26 19:24:21 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * pa.md (movdf for const_double): Handle loading + a CONST_DOUBLE into general registers. + (movsf for const_double): Likewise. - * combine.c (combinable_i3pat): Allow a hard register as the - destination even if SMALL_REGISTER_CLASSES if source is a CALL. + * pa.c (singlemove_string): Handle SFmode CONST_DOUBLE + as a source operand. - * emit-rtl.c (gen_lowpart_common): Fix handling of int->float - union conversions. +Sat May 29 14:14:30 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue May 26 19:23:43 1992 Jim Wilson (wilson@sphagnum.cygnus.com) + * emit-rtl.c (operand_subword): Correctly handle case when + REAL_VALUE_TO_TARGET_DOUBLE is used on a 64-bit machine. - * a29k.h (HARD_REGNO_MODE_OK): Don't let anything larger than - UNITS_PER_WORD be allocated to an odd numbered register. +Sat May 29 12:15:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue May 26 15:22:27 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fixincludes (signal.h): Don't mung #endif if nonwhite stuff precedes. - * config.sub (defaulting the OS): Separate subversions with periods. + * rtl.h: Undef PC. - * limits.h: Fix condition for defining long-long macros, to suit libc. +Fri May 28 19:01:39 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Makefile.in (specs): New target. - (gcc): Don't write `specs' here. - (start.encap): Depend on `specs'. - (all.cross): Depend on EXTRA_PARTS. - (rest.cross): New target. + * configure (i[34]86-*-isc*): If gas and not stabs, use isccoff.h. - * c-common.c (declare_function_name): - Set TREE_USED, not TREE_NO_UNUSED_WARNING. + * final.c (shorten_branches): Do not call insn_current_length + with an insn which has a non-varying length. Use insn_lengths + instead. -Tue May 26 04:52:53 1992 Michael Meissner (meissner@osf.org) + * c-typeck.c (process_init_constructor): Never set current_index + itself--always store into current_index_node. - * loop.c (loop_has_volatile): New static variable to record - whether the loop has any volatile references in it. - (prescan_loop): Set loop_has_volatile. - (check_dbra_loop): Don't reverse loop if there are any volatile - references in it. + * dbxout.c (dbxout_type): Add missing `;' for array with no domain. -Mon May 25 16:04:08 1992 James Van Artsdalen (james at bigtex.cactus.org) +Fri May 28 16:47:54 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * i386gas.h (ASM_OUTPUT_OPCODE): Translate "repnz" to "repne". - * seq386gas.h (ASM_OUTPUT_OPCODE): Likewise. + * 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. -Mon May 25 15:53:31 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * combine.c (make_compound_operation, case ASHIFTRT): Fix typo. + Was using C1 where C2 is needed. - * optabs.c (emit_indirect_jump): Emit barrier here. - * stmt.c (expand_computed_goto): Not here. +Fri May 28 17:50:38 1993 Jim Wilson (wilson@sphagnum.cygnus.com) -Mon May 25 06:22:59 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * integrate.c (expand_inline_function): When copy REG_NOTES, must + also call subst_constants. - * cse.c (canon_reg): Must call validate_change if insn has any - MATCH_DUPs even if replacing a pseudo with another pseudo. + * 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. - * explow.c (emit_stack_{save,restore)}: Call validize_mem on save area. +Fri May 28 00:50:53 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * combine.c (simplify_shift_const, case PLUS): Simplify cases where - the PLUS is just turning on bits that will be shifted out. + * config/arm/arm.h (GO_IF_LEGITIMATE_INDEX): Check explicitly for + upper and lower bounds of valid INDEX. - * emit-rtl.c (gen_lowpart_common): Add new case for single-word - float->integer conversion; all others already present. - Check for -fpretend-float in this and the other cases. + * genopinit.c (insn_name_ptr): Declare as variable. + (optabs): Fix typo in floatuns case. - * stmt.c (expand_goto): Fix typo in previous change. +Thu May 27 12:13:55 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * reload1.c (gen_input_reload): When checking for validity of - reloads made for asms, also check the constraints. + * combine.c (simplify_and_const_int, case IOR, XOR, NOT): Don't + create constant wider than mode of VAROP. - * explow.c (allocate_dynamic_stack_space): Don't add to size - if we aren't going to need to align the size. +Thu May 27 20:41:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * fold-const.c (fold, case *_DIV_EXPR): Fold (a * C1) / C2 for - some C1 and C2. + * configure (i[34]86-ibm-aix*): Set fixincludes. + (i[34]86-*-sco*): Don't test --with-gas, just --with-stabs. -Sun May 24 14:07:53 1992 Ron Guilmette (rfg at ncd.com) +Wed May 26 16:05:05 1993 Michael Collison (collison@osf.org) - * toplev.c (main): - Fix typo setting use_gdb_dbx_extensions in xcoff case. + * jump.c (jump_optimize): Insert missing GET_MODE call. - * c-decl.c (pushdecl): Call `build_type_copy' rather than calling - `c_build_type_variant' to duplicate a type. +Wed May 26 18:40:09 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) -Sun May 24 16:56:09 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * i960.md (ashlsi3): Use shlo instead of shli. - * reload1.c (reload): Refine setting of basic_block_needs. +Wed May 26 00:34:33 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sun May 24 15:43:08 1992 John F Carr (jfc at Achates.mit.edu) + * config/nextstep.h (INCLUDE_DEFAULTS): Undo previous change. - * combine.c (try_combine): Don't split an insn if that would move - a use of a register across a set of the same register. + * Makefile.in (gcc.xtar.z): Renamed from gcc.xtar.Z. Use gzip. + (dist): Depend on gcc.xtar.z. + (mostlyclean): Delete temp-gcc.xtar.z. -Sun May 24 14:50:38 1992 James Van Artsdalen (james at bigtex.cactus.org) + * Version 2.4.1 released. - * reg-stack.c (constrain_asm_operands): Ignore constraint letters - following '#' in each alternative. + * c-lex.c (readescape): Don't complain for \% unless pedantic. -Sun May 24 02:28:45 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/mips/mips.h (ASM_SPEC): If -noasmopt, pass -O0. + * config/mips/iris3.h: Likewise. - * gcc.c (pexecute): New alternative definition for OS2. - Take SEARCH_FLAG as arg instead of FUNC. - (execute): Change call to pexecute. + * config/mips/iris4loser.h: New file. + * config/mips/iris4gl.h: New file. + * configure (mips-sgi-iris4loser): New alternative. - * toplev.c (main): Don't run ps for -dm if on OS2. +Tue May 25 18:05:50 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * cccp.c (main): Use PATH_SEPARATOR computing num_dirs. - (path_include): Likewise, setting q. + * 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. - * gcc.c: Include sys/file.h. + * m68k/sun3.h (FUNCTION_VALUE, FUNCTION_VALUEX): Ifdef out. - * Makefile.in (extraclean): Delete install1.texi. + * c-typeck.c (convert_for_assignment): When allowing mixing of + signed and unsigned pointers, compare unsigned types not type sizes. -Sat May 23 14:14:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue May 25 00:08:42 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * crtstuff.c (__do_global_ctors) [not INVOKE__main]: Make body empty. + * nextstep.h (INCLUDE_DEFAULTS): Delete /NextDeveloper/Headers/ansi + and /NextDeveloper/Headers/bsd. - * fold-const.c (float_error): Renamed from const_binop_error. - (const_binop, fold_convert): - Call set_float_handler around REAL_VALUE_TRUNCATE. + * regclass.c (regclass): Fix paren error. - * Makefile.in ($(srcdir)/INSTALL): New target. - (doc): Depend on that. - ($(srcdir)/gcc.info, $(srcdir)/cpp.info): Delete $(srcdir) from deps. - ($(srcdir)/gcc.info): List all subfiles as deps. + * c-decl.c (finish_decl): If type is laid out, but decl is not, + call layout_decl. - * math-68881.h: Use %! instead of fpcr. + * protoize.c (include_defaults): Update to match cccp.c. + * Makefile.in (stamp-proto): + Pass LOCAL_INCLUDE_DIR based on local_prefix. - * install.sh: New file. - * configure: Changed install_with_cp to broken_install. - Test that flag for the host, not for the target. - If set, use install.sh. + * stmt.c (expand_asm_operands): Detect constants as outputs. - * Makefile.in (EXTRA_HEADERS): New variable. - (USER_H): Use that. - * configure: Let alternatives set EXTRA_HEADERS via var header_files. - (m68k-...): Set header_files to install math-68881.h. +Mon May 24 18:25:23 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Makefile.in (install-dir): Create (libsubdir)/include. - (install-limits-h, install-float-h): Depend on install-dir. + * collect2.c (main): Use TARGET-gcc, not gcc-TARGET. - * Makefile.in (gcc.xtar): Warn if version in gcc.texi is old. + * 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. - * genconfig.c (main): Add 1 when outputting MAX_RECOG_OPERANDS. - Initialize to just 9. + * configure (i[34]86-*-sco3.2v4*): Test --with-stabs, not --with-gas. - * gcc.c (MD_STARTFILE_PREFIX_1): New config macro. - (main): Use that like MD_STARTFILE_PREFIX. +Mon May 24 14:10:59 1993 Jim Wilson (wilson@sphagnum.cygnus.com) -Sat May 23 08:13:38 1992 John F Carr (jfc at Achates.mit.edu) + * integrate.c (expand_inline_function): Set MEM_IN_STRUCT_P for + return value if needed. - * reload1.c (reload): Copy MEM_IN_STRUCT_P flag when converting - pseudo register to equivalent memory location. +Mon May 24 13:10:07 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Sat May 23 07:12:15 1992 Michael Meissner (meissner@osf.org) + * cp-call.c (convert_harshness): Don't dereference a null parm. - * x-iris (OLDCC): Add -cckr to turn off strict ANSI checking. + * cp-method.c (dump_init): Don't try to print out the first operand + of a TARGET_EXPR if it's not there. - * mips.c (current_function_name): Delete definition, function.c - defines this and mips.h has a declaration. +Mon May 24 10:13:26 1993 Mike Stump (mrs@poseidon.cygnus.com) - * longlong.h (mips umul_ppmm): Use "d" constraint instead of "r", so - that we know the value is an integer register. + * expr.c (expand_expr): Finish Tue Aug 18 23:07:33 1992 change. It + didn't handle the target != 0 case, now it does. -Sat May 23 01:14:49 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon May 24 00:30:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * vax.h (PRINT_OPERAND): Undo last change. - Fix the comment instead. + * expr.c (expand_expr, TARGET_EXPR case): + Handle case where DECL_RTL is nonzero. - * x-dpx2200, x-dpx2300 (ALLOCA_FINISH, AS): New variables. + * configure (i[34]86-*-isc*): Use install-headers-cpio. -Fri May 22 01:52:22 1992 Ron Guilmette (rfg at ncd.com) + * genopinit.c (optabs): Add backslashes to prevent SCCS confusion. + * config/m68k/tower-as.h (CONSTRUCTOR_NAME_FORMAT): Likewise. - * svr4.h (MD_EXEC_PREFIX): Added definition. + * combine.c (subst): For subreg-of-constant, don't gen_lowpart + if it's a big-endian machine and constant is multi-word. - * protoize.c [POSIX]: Include dirent.h rather than sys/dir.h. - (_POSIX_SOURCE): Undef before defining. - (getpwd): Change declaration to an `extern'. - (open): Add declaration in the #if 0 section along with fprintf. - (link, unlink, access, execvp): Add `extern' declarations. - (strlen): Don't mention arg type in declaration. - (main): Declare `params' as `const char *' to avoid botch when doing - test-protoize-simple. + * gstddef.h (size_t) [__GNUG__]: Don't typedef it if it's + already defined as a macro. -Fri May 22 17:15:36 1992 John F Carr (jfc at Achates.mit.edu) + * 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. - * calls.c (expand_call): Allocate stack space for arguments passed - in registers when OUTGOING_REG_PARM_STACK_SPACE is defined and - stack space has not been preallocated. + * config/i386/sco4.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): + New override definitions. -Fri May 22 17:16:55 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * toplev.c (compile_file): Undo previous changes (that were to call + assemble_zeros whenever DBX_DEBUGGING_INFO is defined). - * combine.c (simplify_comparison): Try to reduce size of a - constant by changing comparison code; don't only do for 1 and -1. +Sun May 23 16:31:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * reload.h (reg_equiv_memory_loc): Declare. - * reload.c (refers_to_regno_for_reload_p): Use reg_equiv_memory_loc - instead of reg_equiv_mem and reg_equiv_address; look for constant. - (reg_overlap_mentioned_for_reload_p): LIkewise. - Use new function to check for MEM. - (refers_to_mem_for_reload_p): New function. - * reload1.c (reg_equiv_memory_loc): No longer static. + * config/nextstep.h (INCLUDE_DEFAULTS): Fix missing comma. -Fri May 22 17:15:12 1992 Ron Guilmette (rfg at ncd.com) + * config/i386/x-aix (FIXINCLUDES): Defined. + * fixinc.ps2: New file. - * Makefile.in (test-protoize-simple): Only delete files made by this - target (not the man pages!) - (test-protoize-simple): Use -x option to avoid munging getopt.h. - (test-protoize-simple): Fixed number of differences message. - (mostly-clean): Properly remove all temp files relating to protoize/ - unprotoize. - (install-common): Force removal of previously installed g++ and c++ - command files before trying to install new ones. +Sun May 23 14:51:06 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - * spc-sol2.h: New file. + * objc/objc.h (objc_protocol): New field `class_pointer'. - * configure (sparc-*-solaris2*): New configuration added. + * objc/init.c (__objc_init_protocols): Call recursively + on super protocols. Make local var `proto_class' static. - * x-sparcv4 (X_CFLAGS): Removed -Bstatic and -dn options. +Sun May 23 00:49:17 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri May 22 15:30:05 1992 Chip Salzenberg (chip@tct.com) + * Makefile.in (BISONFLAGS): Remove -v since output file names are long. - * c-common.c (declare_function_name): Move from c-decl.c. - Construct function names instead of expecting them as parameters. - Set TREE_READONLY and other attributes before calling pushdecl. - * c-decl.c (init_decl_processing, store_parm_decls): Calls changed. - (declare_function_name): Remove to c-common.c. + * 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. - * cp-decl.c (init_decl_processing, store_parm_decls): - Call declare_function_name. + * reload.c (push_reload): Fix NULL arg in last change. -Fri May 22 12:15:16 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * config/m88k/x-tekXD88 (AR_FLAGS): Defined. - * sparcv4.h (ASM_OUTPUT_CASE_LABEL): Define. +Sat May 22 14:49:59 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri May 22 11:40:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/mips/mips.h (ASM_SPEC): If -noasmopt, don't pass -O2. + * config/mips/iris3.h: Likewise. - * x-dpx2200, x-dpx2300 (CFLAGS): Definition deleted. + * config/nextstep.h (INCLUDE_DEFAULTS): Put /usr/include/bsd last. - * c-decl.c, cp-decl.c (pushdecl): No shadow warnings if DECL_IGNORED_P. + * config/alpha/alpha.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): + Use hex if infinite, nan, or minus zero. - * c-decl.c (declare_function_name): - Change names to __FUNCTION__ and __PRETTY_FUNCTION__ + * real.c (target_isnan): Use GET_REAL macro to get argument. + (ereal_to_int): Fix potentially wrong-endian argument passed to eisnan. - * vax.h (PRINT_OPERAND): In M case, don't complement after subtract 1. +Fri May 21 14:24:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-lex.c (yylex): Use pedwarn for overflow warnings. - Pedwarn if constant doesn't fit its type. + * config/nextstep.h (INCLUDE_DEFAULTS): Add /usr/include/bsd. -Fri May 22 13:32:39 1992 Chip Salzenberg (chip@tct.com) + * cccp.c (default_include): Put TOOL_INCLUDE_DIR after + LOCAL_INCLUDE_DIR in non-cross case. - * xcoffout.h (DBX_TYPE_DECL_STABS_CODE): Was DBX_DECL_STABS_CODE. + * real.c (emdnorm): Fix typo affecting roundoff behavior in XFmode. -Fri May 22 08:31:16 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * config/m68k/amix.h (CPP_PREDEFINES): Add -D__svr4__. + (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): + New override definitions. - * longlong.h (all machines): Define UMUL_TIME and UDIV_TIME. - Auxiliary formatting changes. - (header): Define __CLOBBER_CC and __AND_CLOBBER_CC. - (__sparc__ macros): Use them. - (__hppa__ add_ssaaaa,sub_ddmmss): Accept zero using `M' constraint. - (__hppa__ umul_ppmm): Define if _PA_RISC1_1. - (__mc88110__ umul_ppmm,udiv_qrnnd): New. - (__pyr__ umul_ppmm): Rewrite. - (default count_leading_zeros): Make it work for 64 bit longs. + * collect2.c (main) [CROSS_COMPILE]: Use TARGET-TOOL for full_... -Fri May 22 06:27:31 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * collect2.c (main): For -debug, if ..._file_name is a null pointer, + say so instead of crashing. - * cse.c (cse_insn): Invalidate a volatile destination. + * m68k.md (cmpxf2 recognizer): Test SGS_CMP_ORDER, not HPUX_ASM. - * expmed.c (expand_divmod): Correctly handle volatile operands. + * c-common.c (constant_expression_warning) + (overflow_warning, convert_and_check): Change pedwarn to warning. -Fri May 22 06:26:50 1992 Chip Salzenberg (chip@tct.com) + * 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. - * rs6000.h (ASM_DECLARE_FUNCTION_NAME): Use new function - xcoffout_declare_function(). - * rs6000.c (output_epilog): Shorten internal label. - (output_toc, output_function_profiler): Likewise. - * xcoffout.c (xcoffout_declare_function): New function, created - to localize knowledge of end-of-function internal label. - (xcoffout_end_epilogue): Shorten internal label. + * protoize.c (add_symbol, unexpand_if_needed, abspath): + Supply missing arg to savestring. -Thu May 21 15:31:42 1992 Jim Wilson (wilson@sphagnum.cygnus.com) + * Makefile.in (info, dvi): New targets. - * reorg.c (relax_delay_slots): Clear INSN_FROM_TARGET_P when - remove insns from a delay slot. +Fri May 21 10:28:41 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Thu May 21 13:54:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-pt.c (subst): Don't use a method's arguments unless it has some. - * reload.c (find_reloads): - Don't abort for % in last operand in asm_operands. +Fri May 21 11:51:20 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - * alloca.c: Make symlink to master copy. + * 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) - * stmt.c (expand_asm_operands): Count nclobbers properly. + * configure (mips-*-ultrix*): Renamed from mips-dec-ultrix*. - * explow.c (allocate_dynamic_stack_space): Call mark_reg_pointer. +Thu May 20 23:16:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-parse.y (stmt, WHILE case): Start loop *after* parsing end test. - (do_stmt_start): Broken out from DO rule. - (stmt, DO case): Use that. - Add error-handler rule for parse error in end test. + * reload1.c (choose_reload_regs): Handle earlyclobbers + when inheriting from reg_last_reload_reg. - * sparc.h (ADDITIONAL_REGISTER_NAMES): Support `cc'. +Thu May 20 13:59:16 1993 Doug Evans (dje@canuck.cygnus.com) - * c-lex.c (yylex): Pedwarn if `f' constant exceeds range of `float'. - Just once even if `f' appears twice. - This and the like warning for `double' are only if -pedantic. + * Makefile.in (install-dir): Fix syntax, make tooldir before assertdir. -Thu May 21 08:46:30 1992 Jim Wilson (wilson@sphagnum.cygnus.com) +Thu May 20 08:52:30 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Makefile.in (STAGESTUFF): Add stamp-proto. + * gstddef.h [_ANSI_H_]: Handle __need_size_t and __need_wchar_t. -Thu May 21 04:04:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fixincludes (Fixing CTRL): Reject CTRL or _CTRL following digit. - * svr3.h (LOCAL_LABEL_PREFIX): Override as a period. - (ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL): - Use LOCAL_LABEL_PREFIX. - * dpx2.h (LOCAL_LABEL_PREFIX): Definition deleted. - * tower-as.h (LOCAL_LABEL_PREFIX): Override as empty. + * enquire.c (F_check): Check NO_LONG_DOUBLE_IO. -Wed May 20 23:29:15 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) +Wed May 19 23:18:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * config-gcc.com: Take care of situation if sources are NFS mounted. + * config/i386/x-isc3 (X_CFLAGS): Delete -DPOSIX_JC. -Wed May 20 14:35:10 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * real.c (e24toe, e53toe, e64toe): Fix sign in conversions + of -infinity. Do eclear before einfin. - * jump.c (jump_optimize): Add additional validation check to - case that detects "if (foo) bar++;". +Wed May 19 15:37:20 1993 Jim Wilson (wilson@sphagnum.cygnus.com) -Wed May 20 13:18:09 1992 Tim Moore (moore@defmacro.cs.utah.edu) + * va-sparc.h (va_dcl): Restore accidentally deleted __builtin_va_alist + declaration. - * pa.md : Changed "xy" constraints to "x" constraints. - (movsi+6): Let "r" registers match too. Add define_split to change - into 2 insns if needed. - (decrement_and_branch_until_zero): New pattern. - * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Fix for TYPE == 0. - (REGISTER_MOVE_COST): Do stuff for SNAKE_FP_REGS. - (PRINT_OPERAND_ADDRESS): Write CONST_INT case. + * objc-act.c (handle_class_ref): Call assemble_constant_align + before output_constant. + * varasm.c (assemble_constant_align): New function. -Wed May 20 00:04:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed May 19 13:40:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * ns32k.h (NS32K_DISPLACEMENT_P): Fix typo. - * ns32k.md (extzv-1): New pattern for extracting from SImode. + * config/i860/x-sysv4 (X_CFLAGS): Deleted. - * g++: -M suppresses -lg++. + * configure (i[34]86-*-isc*): If version is 3, use x-isc3. + * config/i386/x-isc3: New file. - * svr3.h (DO_GLOBAL_CTORS_BODY): Flush spurious #endif. +Mon May 19 21:47:49 1993 Jeff Law (law@snake.cs.utah.edu) - * reload1.c (gen_input_reload): New arg IS_ASM. Can now return 0. - (emit_reload_insns): Pass new arg. Error if it returns 0. + * 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. - * configure: Use $cpu_type to default $tm_file. + * pa.h (FUNCTION_ARG_REGNO_P): Account for registers which may + be unavailable on particular cpu models. Fix indentation. - * configure, config.sub: Correct we32 to we32k. - * configure (decstation-dec): Deleted--doesn't fit as machine alias. - (we32k): Add company default. - (fx2800): This is a machine alias, not a company default. +Wed May 19 13:13:42 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * configure (i386-*-bsd*, we32-att-sysv*, m68k-crds-unos*): - Missing *'s added at ends of config names. + * loop.c (scan_loop): Treat pseudo duplicated for exit tests just + like we treat user vars in seeing if we can move a SET. - * c-typeck.c (convert_arguments): Use warn_for_assignment to handle - -Wconversion. Fix typo in width-mismatch test. + * 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. - * svr3.h (ASM_GENERATE_INTERNAL_LABEL): Put a * at the front. + * emit-rtl.c (operand_subword): Reject cases when BITS_PER_WORD + is greater than HOST_BITS_PER_INT unless OP is const0_rtx. -Tue May 19 21:53:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue May 18 16:31:06 1993 Torbjorn Granlund (tege@nada.kth.se) - * Makefile.in (clean): Add -f in rm *.dvi. + * pa.h (INITIALIZE_TRAMPOLINE): Make 2:nd flush, end_addr, + at the last real insn in the trampoline. - * x-dpx2200, x-dpx2300 (CFLAGS): Make value conditional on CC. +Tue May 18 13:35:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * genattrtab.c (simplify_test_exp, evaluate_eq_attr): - Delete tests of current_alternative_string; they caused bugs. + * Makefile.in (assertdir): use $(tooldir)/include for this. + (install-dir): Always create assertdir and tooldir. - * cross-test.c: New file. - * Makefile.in (cross-test, cross-test.o): New targets. - (all.cross): Depend on cross-test. + * config/arm/arm.md (add/asl recognizer): Use space, not #, after asl. + Shuffle operands differently. - * c-decl.c (declare_function_name): Fix bug in previous change. + * objc-act.c (synth_module_prologue): Set TREE_PUBLIC in umsg_decl. -Tue May 19 19:57:39 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * Makefile.in (infodir): New variable. + (install-dir): Create that dir. + (install-info): New rule. + (install-normal): Depend on install-info. - * i960.h (FUNCTION_ARG_BOUNDARY): Return mode's alignment if type 0. + * fixincludes: Use $file. rather than $file.sed + when $file is or might be more than 10 characters long. - * calls.c (expand_call): Set MEM_IN_STRUCT_P for aggregate return - values in memory. + * config/i386/isc.h (LIB_SPEC): Handle -posix before -shlib. - * function.c (locate_and_pad_parm): Use MAYBE_REG_PARM_STACK_SPACE - if defined. - * i960.c (i960_function_arg_advance): Put MUST_PASS_IN_STACK - parameters on the stack. - (i960_function_arg): Likewise. + * config/mips/x-sony: New file. + * configure (mips-sony-bsd*): Use x-sony. - * m68k.md (zero_extendqisi2+1): Add condition to exclude MEM/MEM - case which would require reloading. + * Makefile.in (local_prefix): Do not default from $(prefix). - * unroll.c: Delete incorrect Feb 26 1992 change. - (copy_loop_body): For combined address givs, scale giv_inc by the - two giv's multiplicative factors if they are different. +Tue May 18 09:28:02 1993 Chris Smith (csmith@convex.com) - * i960.md (zero_extendqisi2): Add comment. + * convex.c (replace_pushes, emit_ap_optimizations): Delete. - * combine.c (apply_distributive_law): Don't distribute subregs - which change the mode class. +Mon May 17 18:07:53 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * fixincludes: Fix memory.h for SunOS. + * fixinc.svr4 (ieeefp.h): Delete definitions of __mips and __m68k. - * sparc.h (EXTRA_CC_MODES, EXTRA_CC_NAMES): Add CCFPEmode, for - compares which should generate exceptions for qNaNs. - (SELECT_CC_MODE): Use CCFPEmode for non EQ/NE FP compares. - * sparc.c (normal_comp_operator): Handle CCFPEmode. - (C_MODES, output_cbranch): Likewise. - * sparc.md (cmpdf, cmpsf): Modify patterns to use fcmpe for CCFPE - mode, and fcmp for CCFP mode. +Mon May 17 17:00:00 1993 DJ Delorie (dj@ctron.com) - From rfg: - * sparc.h: Declare output_move_quad, output_fp_move_quad and - output_floatsitf2. - * sparc.c (mem_aligned_8): New function. - (output_move_double): Clean up a little. Call mem_aligned_8. - Load operands[] into register variables for efficiency. - (output_move_quad, output_fp_move_quad): New functions. - (output_floatsitf2): New function. - (print_operand): Support 'S' and 'T'. - * sparc.md (cmptf, movtf, extendsftf2, extenddftf2, trunctfsf2, - trunctfdf2, floatsitf2, fix_trunctfsi2, addtf3, subtf3, multf3, - divtf3, negtf2, abstf2, sqrttf2): New patterns added for TFmode - support. + * configure.bat: Fix sed for version.c to handle both with + and without spaces correctly (MS-DOS). -Tue May 19 19:34:10 1992 Ron Guilmette (rfg at ncd.com) +Mon May 17 12:26:55 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * i386v4.h (DBX_REGISTER_NUMBER): Fixed DWARF numbers for - x86 floating-point registers. + * rtl.c (init_rtl): Correct number of 'w's in CONST_DOUBLE format. -Tue May 19 15:30:32 1992 Mats Lofkvist (d87-mal@nada.kth.se) +Mon May 17 00:07:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * fixincludes: Fix return type of malloc and friends. + * Version 2.4.0 released. -Tue May 19 13:30:16 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Makefile.in (extraclean): Remove junk from objc subdir. - * config.sub (iris4d): If $os is some kind of Irix, don't clobber it. - Make the default -irix4. + * fixinc.svr4 (ieeefp.h): Delete definitions of __i860 and __m88k. - * c-decl.c (declare_function_name): New arg printable_name. - Declare __PRINTABLE_NAME__. - (init_decl_processing, store_parm_decls): Pass the new arg. + * mips/iris4.h (ASM_OUTPUT_ASCII): New overriding definition. -Tue May 19 09:50:01 1992 Tom Wood (wood@dg-rtp.dg.com) + * 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. - * m88k.c (output_options): Check profile_block_flag. - (m88k_layout_frame): Ditto. - (output_function_block_profiler): Save and restore the parameter - registers when calling __bb_init_func. - (output_block_profiler): Use @LPBX2. - - * m88k.h (CASE_VECTOR_INSNS): Choose a table of branch - instructions or addresses. The latter is a win for the m88110. - (ASM_OUTPUT_CASE_END): Nothing needed for table of addresses. - (ASM_OUTPUT_ADDR_VEC_ELT): Use "br" or "word". - * m88k.md (casesi, casesi_jump): Updated. + * gvarargs.h, gstdarg.h [__svr4__ __i860__]: + Define _VA_LIST only if not defined already. - * m88k.md (m88110 function units): Count in half cycles. +Mon May 17 00:40:36 1993 James Van Artsdalen (james at bigtex.cactus.org) - * m88k.md (call insns): Clobber rather than use r1. + * 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. - * m88k.c (m88k_layout_frame): Fix m88k_fp_offset for zero case. +Sun May 16 19:25:38 1993 Jim Wilson (wilson@sphagnum.cygnus.com) -Mon May 18 10:38:20 1992 Michael Meissner (meissner@osf.org) + * unroll.c (initial_reg_note_copy, final_reg_note_copy): New functions. + (copy_loop_body): Use new function to copy REG_NOTES. - * iris.h (DEFAULT_SIGNED_CHAR): Define as 0 for compatibility with - IRIS defaults. Patch from kevin@tamri.com (Kevin Dalley). +Sun May 16 13:03:58 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * xm-irix4.h (HAVE_VPRINTF): Define. + * Makefile.in (extraclean): Delete junk in subdirs of config. + (distclean): Delete {c,cplus,objc}-parse.output. - * x-iris (CLIB): Add -lmalloc. + * reorg.c (find_end_label): Update insn after calling emit_jump_insn. - * mips.md (fp_comp functional unit): Use adder functional unit - instead to more closely model MIPS behavior and make genattrtab - faster. - (transfer functional unit): Use memory functional unit instead. - (sqrt functional unit): Use divide functional unit instead. - (branch_zero): If CSE has folded a value which is constant, and - the jump would be omitted, do not eliminate putting a jump there. - This causes bad code to be generated when using gas, since the - previous instruction may be a load which had it's delay slot - filled by the 'branch', and the next instruction depends on the - value loaded. + * fixinc.svr4 (ieeefp.h): Delete `#define __sparc' also. - * mips-at.c (whole file): Delete, no longer needed. +Sun May 15 01:37:19 PDT 1993 Ron Guilmette (rfg@netcom.com) - * mips-at.md (whole file): Delete, no longer needed. + * fixinc.svr4 (ieeefp.h): Delete `#define __i386' line. - * Makefile.in (stamp-attrtab): Remove $(srcdir) in front of - $(PREMADE_ATTRTAB) so that MIPS builds can be done in - subdirectories. +Sat May 15 10:11:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * t-decrose (PREMADE_ATTRTAB*): Don't define, genattrtab is now fast - enough that we don't have to save a pre-made genattrtab.c. - (LIBGCC1): Use libgcc1.null rule to turn off building libgcc1.a. + * math-68881.h: Add conditional against multiple inclusion. - * t-decstatn (PREMADE_ATTRTAB*): Don't define, genattrtab is now fast - enough that we don't have to save a pre-made genattrtab.c. - (LIBGCC1): Use libgcc1.null rule to turn off building libgcc1.a. + * gvarargs.h [__svr4__ __i860__] (_VA_LIST): Do define. + * gstdarg.h: Likewise. - * t-mips (PREMADE_ATTRTAB*): Don't define, genattrtab is now fast - enough that we don't have to save a pre-made genattrtab.c. - (LIBGCC1): Use libgcc1.null rule to turn off building libgcc1.a. + * toplev.c (compile_file): If support dbx output, + always output 0 at start of text section. - * mips.h (ASM_OUTPUT_CONSTRUCTOR,ASM_OUTPUT_DESTRUCTOR): Define. - Patch from wilson@cygnus.com. - (DEFAULT_SIGNED_CHAR): Don't define if already defined. + * cp-tree.h (error_not_base_type): Fix typo in decl. -Mon May 18 01:34:38 1992 Kayvan Sylvan (kayvan@satyr.Sylvan.COM) +Sat May 15 09:08:23 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * svr3.h (DO_GLOBAL_CTORS_BODY): Start at end, if STACK_GROWS_DOWNWARD. + * expr.c (expand_assignment): Fix error in last change. -Mon May 18 01:34:38 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rs6000.md (movqi, movhi, movsi): Make sure that address returned + from force_const_mem is valid. - * Makefile.in (protoize.o, unprotoize.o): - Do nothing, but depend on stamp-proto. - (stamp-proto): New target. Compile both protoize.o and unprotoize.o. + * i860.h (INITIALIZE_TRAMPOLINE): Don't make improper SUBREGs + and ensure that CXT and FNADDR are in registers. - * configure (ns32k-ns-genix): Commented out. + * convex.c (insert_ap_loads): Initialize AP_IS_LIVE to 0 at + start of both loops, not just first one. - * expmed.c (expand_mult): Use synth_mult even if not -O. + * convex.h (REGNO_REG_CLASS): Don't call abort; it will cause + a compilation error as written and isn't done elsewhere. -Sun May 17 02:54:21 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * c-decl.c (push_parm_decl): Pedantic warning if shadowing typedef. + * expr.c (expand_assignment): Always return a result that has + the mode of TO. - * c-typeck.c (constant_expression_warning): New function. - (store_init_value): Call that. - * tree.h (TREE_CONSTANT_OVERFLOW): New flag. + * rs6000.c (rs6000_makes_calls): If profiling, say we make calls. - * c-lex.c (yylex): "exceeds range" warning changed to pedwarn. - * c-decl.c (grokdeclarator): Likewise for duplicate keywords. +Sat May 15 00:38:22 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-typeck.c (build_unary_op): For increment operators, - test TREE_READONLY in operand, not the data type. + * va-mips.h (va_arg) [__MIPSEB__]: + After incrementing, subtract the rounded size, not the size proper. - * unprotoize.c: New file. - * Makefile.in (unprotoize.o): Use that. + * config/i860/x-sysv4 (X_CFLAGS): Defined. + (GCC_CFLAGS): Definition deleted. - * c-decl.c (init_decl_processing): Make global decl for __NAME__. - (store_parm_decls): Make local decl for __NAME__. - (declare_function_name): Subroutine for that. - * toplev.c (rest_of_decl_compilation): - Ignore initialized statics if DECL_IGNORED_P is set. - * c-lex.c (yylex): Convert invisible initialized char array vars - to string constants. + * final.c (output_addr_const): Don't printing leading zeros. - * c-decl.c (get_parm_info): Change error message. +Sat May 15 06:18:43 1993 James Van Artsdalen (james at bigtex.cactus.org) -Sat May 16 21:25:21 1992 Paul Eggert (eggert@twinsun.com) + * reload1.c (reload): Don't start 2-group unless it could be finished. - * fold-const.c (fold): Do not fold X-X to 0 if X is floating point. +Sat May 15 12:23:58 1993 Torbjorn Granlund (tege@nada.kth.se) - * cse.c (simplify_unary_operation): - -X simplifies to X even - with IEEE floating point. + * alpha.c (output_prolog): Change (sp) to ($30). -Sat May 16 14:14:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * pa.h (TRAMPOLINE_TEMPLATE): Change .long to .word; split into + two lines. - * Makefile.in (clean): Delete *.dvi. - (distclean): Not here. +Fri May 14 18:09:31 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Makefile.in (install-man): Ignore errors in all commands. + * gcc.c (option_map): Renamed --version to --use-version. - * combine.c (expand_compound_operation): - Don't simplify extending a const_int. +Fri May 14 17:20:21 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * ns32k.h (NS32K_DISPLACEMENT_P): New macro. - (INDIRECTABLE_1_ADDRESS_P): Use that. - * ns32k.md (addsi3): Likewise. + * 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. -Sat May 16 07:47:11 1992 Tom Wood (wood@dg-rtp.dg.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. - * m88k.h: Override SET_ASM_OP in svr4.h. +Fri May 14 16:12:28 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sat May 16 00:10:09 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * configure (hppa1.1-*-hpux*): Use CPIO for headers, just like + other HPUX configs. + (hppa1.1-*-hpux8.02*): Likewise. - * c-parse.y (parmlist_1): Add pedantic warning. +Fri May 14 16:35:22 1993 Ian Lance Taylor (ian@cygnus.com) -Fri May 15 13:10:07 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * reorg.c (fill_slots_from_thread): If try_split split new_thread, + update it to the new value. - * configure (i386-*-sco3.2v4*): New file. - * config.sub: For SCO, produce -sco3.2v2. For ISC, make just -isc. +Fri May 14 13:42:39 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * dbxout.c (DBX_TYPE_DECL_STABS_CODE): Was DBX_DECL_STABS_CODE. - (DBX_OUTPUT_ENUM): Pass type as arg; make it do the whole job. + * configure (hp700-hpux8.02): New target. + * pa1-oldas.h: New target for 1.1 machines running HPUX 8.02. - * svr4.h (ASM_BYTE_OP): Delete the tab. - (SET_ASM_OP): New definition. +Fri May 14 13:23:51 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * Makefile.in (gcc.xtar): Depend on doc. - (gcc.info, cpp.info): Duplicate rules deleted. + * 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. - * i386.c (handle_pragma): Use SET_ASM_OP, not DEF_ASM_OP. +Fri May 14 12:28:51 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri May 15 12:38:18 1992 Jim Wilson (wilson@sphagnum.cygnus.com) + * c-typeck.c (default_conversion): + Don't replace iterator with its initial value. - * final.c (final_scan_insn): Don't set new_block when within a - sequence. Set it after the last insn of the sequence. + * config/i386/svr3gas.h: Added two pages at end, with macros + copied from config/svr3.h and i386/sysv3.h. -Fri May 15 07:23:09 1992 Tom Wood (wood@dg-rtp.dg.com) + * config/m68k/tower-as.h (PRINT_OPERAND): Handle CODE == '/'. + * hp320.h, mot3300.h, news.h, crds.h: Likewise. - * m88k.c (m88k_handle_pragma_token, output_short_branch_defs): - Use SET_ASM_OP. +Fri May 14 15:44:45 1993 Kresten Krab Thorup (krab@xiv.iesd.auc.dk) -Fri May 15 14:54:54 1992 Howard Chu (hyc@hanauma.jpl.nasa.gov) + * objc/init.c (__objc_init_protocols): Don't complain if a + protocol object is attempted resolved twice. - * fx2800.h: Replace Ron Guilmette's version with working version. - Tested on Concentrix 2.1 and 2.2. +Fri May 14 00:51:38 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * i860.c (singlemove_string): Comparison of const0_rtx was in the - wrong place and would never be reached. Added check for negative - short int constants. - (output_size_for_block_move): call singlemove_string instead of - just emitting a mov. - (sfmode_constant_to_ulong): eliminate bogus "# error" directive. + * 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. - * t-fx2800, x-fx2800, xm-fx2800.h: New files. - * configure: Corresponding changes. +Thu May 13 21:47:55 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * dbxout.c (DBX_MEMPARM_STABS_LETTER): New macro. - (dbxout_type): Check for DBX_OUTPUT_ENUM. - (dbxout_parms): Use DBX_MEMPARM_STABS_LETTER. - (dbxout_block): Check for DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC. + * rs6000.md (fix_truncdfsi2, fixuns_truncdfsi2, trunc_call): Fix + typo in mode of FIX and UNSIGNED_FIX rtl. -Thu May 14 18:26:13 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * reorg.c (reorg_redirect_jump): New function. + Call it in most places instead of redirect_jump. - * sparcv4.h (ASM_OUTPUT_ALIGN_JUMP_TABLE, ASM_OUTPUT_INTERNAL_LABEL, - ASM_GENERATE_INTERNAL_LABEL): Delete. +Thu May 13 17:01:05 1993 Jim Wilson (wilson@sphagnum.cygnus.com) -Thu May 14 13:51:01 1992 Chip Salzenberg (chip@tct.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. - * toplev.c (compile_file): Use IO_BUFFER_SIZE for finput. - * xm-i386sco.h, xm-rs6000.h (IO_BUFFER_SIZE): Defined. +Thu May 13 08:28:22 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu May 14 15:21:24 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu) + * Makefile.in (OBJC, OBJECTIVE-C): Don't depend on objc-runtime. - * config.sub: Recognize "none" as a valid os. + * dbxout.c (dbxout_parms): Don't output a parm if it's a mem + that has a constant address. -Thu May 14 13:37:52 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/pa/x-pa (TAROUTOPTS): Overridden. + * config/m68k/x-hp320,x-hp320g (TAROUTOPTS): Overridden. - * function.c (assign_parms): Make new stack slot if entry stack - slot isn't aligned as much as the mode wants. - And don't make an eqv for entry_parm in that case. - * sparc.c (output_move_double): Assume memory always ok for ldd, std - except when explicit offset from stack. + * Makefile.in (TAROUTOPTS): New variable. + (install-headers-tar): Use TAROUTOPTS. - * c-decl.c (duplicate_decls): - Don't warn about qualifier mismatch for a function. + * 3b1.h, 3b1g.h, altos3068.h, crds.h, hp2bsd.h, hp310.h: + * isi-nfp.h, pbb.h, plexus.h, sun2.h, sun3n.h, tower.h: + (LONG_DOUBLE_TYPE_SIZE): Redefine as 64. - * c-decl.c (grokdeclarator): Give explicit list of types to promote - to int (and sometimes to unsigned int) for parms. + * objc/runtime.h: Include gstdarg.h before stdio.h. - * Makefile.in (gcc.info, cpp.info): New targets. - (gcc.xtar): Depend on those. + * Makefile.in (libobjc.a): Depend on EXTRA_PARTS. - * expmed.c (extract_bit_field): Don't fail to compute - all of a DImode value. +Wed May 13 18:33:26 1993 Torbjorn Granlund (tege@nada.kth.se) - * dwarfout.c (SET_ASM_OP): Renamed from DEF_ASM_OP. - (ASM_OUTPUT_DEF): Use SET_ASM_OP. - * m88k.h (SET_ASM_OP): Renamed from DEF_ASM_OP. - * sparcv4.h (DEF_ASM_OP): No need for #undef. + * arm.h: Declare output_arithmetic_with_immediate_multiply. - * cccp.c (main): Handle -iprefix option instead of GCC_EXEC_PREFIX. - * gcc.c (process_command): Set gcc_exec_prefix. - (do_spec_1): Handle %I. - (default_compilers): Use %I when running cpp. + * arm.md (combined mult/arithmetic recognizers): Switch on. + Add special pattern for reload. - * protoize.c (savestring, savestring2): Change parm decls. + * arm.md (restorehi): Use SImode for address. + (storehi): Use SImode for address and address computation. + (storeinthi): Likewise. - * i860.h, we32k.h (CONST_COSTS): Add missing parm OUTER_CODE. +Wed May 12 22:47:35 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * i386v4.h (DEF_ASM_OP, WEAK_ASM_OP): Deleted. + * 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. -Wed May 13 17:23:45 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed May 12 14:18:36 1993 John Hassey (hassey@dg-rtp.dg.com) - * rtl.c (init_rtl): For byte_mode and word_mode, use first fit. + * m88k.h (REG_OK_FOR_BASE_P REG_OK_FOR_INDEX_P): Don't + use extended registers for base or index. - * protoize.c (munge_compile_params): Increase size of temp_params. +Wed May 12 14:48:00 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) -Wed May 13 13:30:40 1992 Chip Salzenberg (chip@tct.com) + * unroll.c (copy_loop_body): Delete May 10 change. - * i386sco4.h: New file. +Tue May 11 20:20:41 1993 James Van Artsdalen (james at bigtex.cactus.org) -Tue May 12 23:23:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * tree.c (real_value_from_int_cst): Use temporary variable `e' to + work around bugs in 386 PCC. - * expr.c (expand_increment): A subreg as op0 is not necessarily a copy. - Treat subregs like regs. +Tue May 11 16:50:54 1993 Michael Meissner (meissner@osf.org) - * c-typeck.c (mark_addressable): Different messages for reg var - if reason is a use in a nested function. + * 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. -Tue May 12 14:28:22 1992 Tom Wood (wood at gen-rtx) + * local-alloc.c (block_alloc): Don't dereference a NULL pointer. - * gcc.c (process_command): -save-temps uses a switches entry. +Tue May 11 12:09:37 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue May 12 21:24:46 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * tree.c (build_array_type): Delete the code to set TYPE_MAIN_VARIANT. + * c-decl.c (complete_array_type): Likewise. - * collect2.c (vfork): Declaration deleted. +Tue May 11 11:40:14 1993 Jeffrey A. Law (law@snake.cs.utah.edu) -Tue May 12 06:16:49 1992 Niklas Hallqvist (niklas@appli.se) + * pa.c (emit_move_sequence): Handle secondary reloads for loads of + FP registers from constant expressions. - * tower-as.h: Added support for basic block profiling. + * pa.h (CONSTANT_ADDRESS_P): Accept symbolic addresses during + and after reload. -Tue May 12 02:34:45 1992 James Van Artsdalen (james at bigtex.cactus.org) +Tue May 11 07:26:06 1993 Richard Kenner (kenner@mole.gnu.ai.mit.edu) - * unx386.h (AS3_SHIFT_DOUBLE): New macro to print shift-double - opcodes. + * reorg.c (mostly_true_jump): Jump is forward if TARGET_LABEL is + zero; don't try to get INSN_CODE of zero. - * i386gas.h (AS3_SHIFT_DOUBLE): Redefine for GAS shift-double rules. - (GAS_MNEMONICS): New macro to force use of opcodes for GAS. - * seq386gas.h (AS3_SHIFT_DOUBLE,GAS_MNEMONICS): Likewise. +Tue May 11 00:44:09 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * i386.c (print_operand): Use GAS_MNEMONICS to choose long-long - opcode suffix. + * tree.c (build_array_type): + Don't change TYPE_MAIN_VARIANT if incomplete (domain not known). - * i386.md (ashldi3,ashrdi3,lshrdi3): Split into separate - recognizers for constant and variable shifts. - Use AS3_SHIFT_DOUBLE for variable shifts. - (all shifts and rotates): Don't allow memory operands for shift - count. - (bit set/clear): Don't allow non-CONST_INT constants as SET_SRC. - (movstrsi,cmpstrsi,strlensi): Allow any address_operand within - a MEM:BLK, not just register_operand. - (movstrsi): Rewrite to avoid match_dup on the address_operand - above. + * real.c (enan): Add forward decl. -Mon May 11 23:31:47 1992 Mike Stump (mrs@albert.gnu.ai.mit.edu) +Mon May 10 20:32:12 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - Sun May 10 18:44:58 Per Bothner (bothner@cygnus.com) + * unroll.c (copy_loop_body): Copy REG_NOTES during main loop + instead of afterwards. - * dbxout.c (dbxout_type_methods): Only emit final semi-colon - of method list of we have emitted any methods. (The converse - of only emitting the operation name initially if needed.) +Mon May 10 17:36:31 1993 Richard Kenner (kenner@vlxisi1.ultra.nyu.edu) -Mon May 11 22:45:18 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * alpha.c (output_epilog): Fix minor error in instructions used + to restore stack pointer. - * reload.c, reload1.c: Use reg_overlap_mentioned_for_reload_p and - refers_to_regno_for_reload_p instead of the normal versions. - * reload.c (reg_overlap_mentioned_for_reload_p): New function. +Mon May 10 15:59:41 1993 Michael Meissner (meissner@osf.org) -Mon May 11 22:44:50 1992 Ron Guilmette (rfg at ncd.com) + * mips-tfile.c (parse_def): Do not execute a division by 0 when + processing a doubly dimensioned array whose outer bound was 0 or + not specified. - * integrate.c (expand_inline_function): Copy LABEL_NAMEs to new - copies of CODE_LABELs. - * tree.c (decl_function_context, decl_type_context): Renamed `fndecl' - formal parameter to `decl' throughout these functions. +Mon May 10 12:14:07 1993 John Hassey (hassey@dg-rtp.dg.com) -Mon May 11 18:43:45 1992 Paul Eggert (eggert@twinsun.com) + * m88k.h (TRAMPOLINE_TEMPLATE): Fixed invalid bsr insn. - * cccp.c: (deps_file): Deleted. - (main): Do not open deps_file until needed. - Check error status of dep_stream and stdout more carefully. - (timestamp): New function; avoids calling localtime unless needed. - (special_symbol, initialize_builtins): Use new timestamp function. +Mon May 10 11:55:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon May 11 20:48:26 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * genix.h: Added #error, since this hasn't been updated. + * 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. -Mon May 11 14:33:32 1992 Ron Guilmette (rfg at ncd.com) +Mon May 10 11:53:02 1993 Steve Chamberlain (sac@wookumz.gnu.ai.mit.edu) - * dwarfout.c (is_pseudo_reg): New function. - (location_attribute): Use `is_pseudo_reg'. - (location_or_const_value_attribute): Use DECL_INCOMING_RTL as the - basis for forming the location decsriptor for any register parameter - which was optimized into non-exitance. + * sh.md (movstrsi): Take alignment into account. + * sh.c (shift_value_ok): Can't shift by negative values. - * dwarfout.c (DWARF_VERSION): New (default) definition. - (ASM_OUTPUT_DWARF_STACK_OP, ASM_OUTPUT_DWARF_FMT_BYTE, - ASM_OUTPUT_DWARF_TYPE_MODIFIER, ASM_OUTPUT_DWARF_DATA1): Output tab - before ASM_BYTE_OP. - (ASM_OUTPUT_DWARF_ADDR_CONST): Encapsulate all statements in a - `do { ... } while (0)' - (data_member_location_attribute, bit_offset_attribute): Both fixed - to use alignment of declared type of field as the "containing object" - size. - (location_or_const_value_attribute): Fixed to use DECL_INCOMING_RTL - only for parms passed in memory. - (output_decl): Don't output DIEs for externals if DWARF_VERSION == 1. +Mon May 10 11:49:48 1993 Michael Meissner (meissner@osf.org) -Sun May 10 17:18:33 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * va-mips.h (va_arg): Use __alignof__ instead of __alignof. - * pa.h (CPP_PREDEFINES): Define for BSD here. - Remove conditional #ifdef hpux. - * pa-hpux.h, pa-ghpux.h (CPP_PREDEFINES): Define for hpux here. - * pa.h (CPP_SPEC): Define. + * cp-decl.c (finish function): Add missing ';'. -Sun May 10 12:12:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon May 10 00:54:16 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Makefile.in (clean): Delete unprotoize.c. + * objc/runtime.h: Include gstdarg.h, not stdarg.h. - * stmt.c (expand_decl): Set MEM_IN_STRUCT_P right in dynamic case. + * libgcc2.c (__floatdisf): Use DFtype for intermediate values. - * expr.c (get_inner_ref): Handle ARRAY_REF only if constant offset. - Handle non-PLUS_EXPR variable offset by assuming multiple of byte. - (expand_assignment, expand_expr): Fix gen_rtx added in last change. + * tree.c (real_value_from_int_cst): + If I is unsigned, use REAL_VALUE_FROM_UNSIGNED_INT. -Sat May 9 02:39:58 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/m68k/m68k.c (output_move_double): Use operand 0 to get SIZE. - * expr.c (get_inner_reference): New output arg poffset. - (expand_assignment, expand_expr): Pass new arg. Handle nonzero offset. - (do_jump): Pass new arg but ignore result. - * fold-const.c (optimize_bit_field_compare, decode_field_reference): - Pass the new arg. Just return 0 if offset comes back nonzero. + * reload.c (find_equiv_reg): Set goal_mem_addr_varies + for all but true constant addresses. - * reload.c (find_equiv_reg): Always test valueno >= 0. +Sun May 9 17:53:52 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-aux-info.c: Don't include param.h or errno.h; don't declare errno. + * config/sparc/sparc.h (SIZE_TYPE): Deleted. - * rtl.c (read_rtx): Fix error in prev change. + * fixincludes: When finding SIZE_TYPE, cd to ${LIB} to run cc. + (memory.h): Don't try to read it if it doesn't exist. - * gcc.c (process_command): Handle -print-libgcc-file-name. - (main): Handle print_libgcc_file_name by printing the name. + * 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. - * c-decl.c (finish_struct): Use TYPE_PRECISION to see whether - bitfield's type is narrower than int, for promoting to int. + * real.c (mtherr): Don't put newlines in error message string. - * cccp.c (struct definition, struct reflist): New field `rest_args'. - (struct arglist): Likewise. - (rest_extension, REST_EXTENSION_LENGTH): New var and macro. - (create_defnition): Recognize `...' and set flag in arglist. - (collect_expansion): Propagate flag to definition. - (macroexpand): Check flag when parsing arglist. - Special handling for ## next to a rest arg. - (macarg, macarg1): New arg rest_arg affects parsing in macarg1. + * real.h (REAL_VALUES_LESS): True if return value of ereal_cmp is -1. - * genattrtab.c: Misc speedups and size reductions. - (check_attr_test): Set RTX_UNCHANGING_P for tests of const attributes. - Also for symbol_ref and comparison ops. - (make_canonical): Likewise. Also check for degenerate cond values. - (operate_exp, simplify_cond, insert_right_side, evaluate_eq_attr): - Avoid copying in some cases. Detect opportunities to simplify. - (compute_alternative_mask): Avoid atoi in most cases. - (copy_rtx_unchanging): New function. - (evaluate_eq_attr, simplify_test_exp): Use that. +Sun May 9 17:34:06 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * genattrtab.c (optimize_attrs): Work pattern by pattern, - doing all the work for each pattern before moving on. - Use temp_obstack during simplification, then copy the end result. - (temp_obstack): New obstack. - (clear_struct_flag): New subroutine. - (SIMPLIFY_TEST_EXP): Test MEM_IN_STRUCT_P. - (simplify_test_exp): Add code for debugging stop. - Avoid consing when possible; sometimes free storage. - Check MEM_IN_STRUCT_P. Add shortcuts. + * cp-decl.c (finish_function): Don't do anything if we haven't got a + current_function_decl. - * genattrtab.c: Add simplification per alternative (not in use now). - (insn_n_alternatives): New array filled in by gen_insn. - (current_alternative_string): Nonzero means we are simplifying - for a particular alternative. Value is string for that numeral. - (SIMPLIFY_ALTERNATIVE): New macro simplifies eq_attr for alternative. - (evaluate_eq_attr, simplify_test_exp): Call SIMPLIFY_ALTERNATIVE. - (simplify_by_alternatives, count_sub_rtxs): New functions. + * cp-pt.c (tsubst): Don't assert if IN_DECL is null. + (coerce_template_parms): Likewise. - * genattrtab.c (attrs): Now an array indexed by first char. - (MAX_ATTRS_INDEX): Length of above. - (find_attr, main): Use that new data structure. + * cp-type2.c (process_init_constructor): Fix argument passing to + initializer_constant_valid_p. - * genattrtab.c: Clarify use of hash-consing: - (hash_obstack): New obstack. - (attr_hash_add_rtx, attr_hash_add_string): Use hash_obstack. - (attr_rtx): Use hash_obstack if object is hashed. - Set RTX_INTEGRATED_P if object is hashed. - Don't hash object if subexpressions aren't hashed. - If making symbol_ref, hash the symbol name. - Uniquize const_int with value 0 or 1. - (attr_equal_p): New compare function; uses RTX_INTEGRATED_P. - (simplify_and_tree, simplify_or_tree, simplify_test_exp): Use that. - (attr_copy_rtx): New; copy all but hashed subexpressions. - (attr_eq): New function. - (attr_numeral): New function. - (check_attr_test): Use attr_eq. Hash symbol_ref and comparison ops. - (check_attr_value): Return modified value. Callers changed. - Hash symbol_ref. - (convert_set_attr_alternative): Use attr_eq and attr_numeral. - (convert_const_symbol_ref): Hash symbol_ref and eq. - (make_alternative_compare): Use attr_numeral. - (alternative_name): Fill in using hasher. - (copy_boolean): Hash a boolean expression if possible. +Sun May 9 10:47:05 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri May 8 23:10:18 1992 James Van Artsdalen (james at bigtex.cactus.org) + * c-decl.c (complete_array_type): + Make maxindex -1 for empty constructor. - * i386.md (ashldi3,ashrdi3,lshrdi3): Fix typo in output template. + * 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. - * cse.c (cse_insn): Handle SUBREGs in CLOBBERs. + * 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. -Fri May 8 14:55:17 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/m68k/m68k.md (mulhisi3, umulhisi3 matchers): + Restrict range of constants allowed. - * Makefile.in (PREMADE_ATTRTAB, PREMADE_ATTRTAB_MD): New vars. - (stamp-attrtab): Use them, to use presupplied file if suitable. - * t-mips, t-decstatn, t-decrose (PREMADE_ATTRTAB, PREMADE_ATTRTAB_MD): - Defined. - * mips-at.md, mips-at.c: New files. +Sun May 9 13:31:35 1993 CET Kresten Krab Thorup (krab@iesd.auc.dk) - * c-common.c (shorten_compare): Extend "always 0" warning - to fencepost case with le or ge. + * objc/hash.h, objc/objc.h, objc/sarray.h (gstddef.h): + Conditionally include gstddef.h or stddef.h by IN_GCC. - * cccp.c (pass_thru_directive): Don't output a newline. - (initialize_builtins): Add explicit newlines in sprintfs. +Sun May 9 00:51:33 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri May 8 14:49:12 1992 Michael Meissner (meissner@osf.org) + * reload.h: Fix unterminated comment. - * mips.md (adddi3): Force -32768 into a register, since the - define_insn's won't accept that one value. - (all attributes): Where an attribute is set to the same value in all - alternatives, don't use the alternative notation, since it will make - genattrtab somewhat faster. + * objc-act.c (string_section): Delete comma before close-brace. - * rtl.c (read_rtx): Use the current obstack to read in strings, - rather than repeated malloc/realloc's. +Sat May 8 23:49:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu May 7 18:41:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * calls.c (expand_call): Never set must_preallocate if no stack args. +Sat May 8 23:19:11 1993 Kaveh R. Ghazi (ghazi@caip.rutgers.edu) -Thu May 7 16:52:56 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * configure (m88k-tektronix-sysv3): New target. + * config/m88k/tekXD88.h: New file. + * config/m88k/tekXD88.ld: New file. + * config/m88k/x-tekXD88: New file. - * pa1*: New names for pa1.1*. - * configure: Corresponding changes. +Sat May 8 10:40:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * m68k.md (u?mulsidi3): Don't permit immediates for operand 2. - (u?mulsidi3 recognizers): Split into immediate/nonimmediate cases. - * m68k.md ({zero,sign}_extend recognizers): Remove `n' from constraint - if predicate doesn't permit constants. + * 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. -Thu May 7 15:42:32 1992 Michael Collison (collison at osf.org) + * config/i386/next.h (ASM_GENERATE_INTERNAL_LABEL) + (ASM_OUTPUT_INTERNAL_LABEL): Don't include a `.' in the label name. + (LPREFIX): Likewise. - * i386rose.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): Fix these to - avoid printing NaNs, and infinity. - (SUBTARGET_SWITCHES): Add OSF dependent switches for half-pic - support. - (MASK_HALF_PIC, TARGET_HALF_PIC): Likewise. - (CC1_SPEC): Map pic-none, pic-lib, pic-extern and pic-calls - to appropriate half-pic compiler switches. - (LINK_SPEC): If not -noshrlib or -pic-none, pass -warn_nopic. - Allow user to pass -noshrlib directly. - (OPTIMIZATION_OPTIONS): Customize levels for OSF. - (CONSTANT_ADDRESS_P: Add check to determine if we have a - half-pic constant. - (ENCODE_SECTION_INFO): Check to see if we have a half-pic - declaration. - (ASM_DECLARE_OBJECT_NAME): Output the label (definition) for a - object and check to see if it is half-pic. - (ASM_DECLARE_FUNCTION_NAME): Likewise but for functions. + * m68k.c (print_operand): For CONST_DOUBLE, treat VOIDmode like DImode. + + * expmed.c (init_expmed): Supply missing arg to rtx_cost. + + * config/convex/convex.h (LINK_LIBGCC_SPECIAL_1): + Define this instead of LINK_LIBGCC_SPECIAL. + +Sat May 8 14:43:27 1993 Torbjorn Granlund (tege@nada.kth.se) + + * 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. + +Sat May 8 07:06:14 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * 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. + +Fri May 7 19:43:49 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-typeck.c (default_conversion): Disable change of Apr 13th for + now, since it seems to behave incorrectly in some cases. + +Fri May 7 17:38:22 1993 Michael Meissner (meissner@osf.org) + + * configure (all MIPS options): If --with-gnu-as is used, don't + build mips-tfile or mips-tdump. If --with-gnu-ld is used, don't + say we need collect2. + (config.sub run): Explicitly invoke /bin/sh to run script, in case + config.sub had it's execute bits turned off. + + * mips/t-mips-gas: New target file, used when the GNU assembler is + used instead of the MIPS assembler. + +Fri May 7 17:41:00 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in (float.h-nat): Use tmp-float.h as intermediate file. + +Fri May 7 13:42:06 1993 Mike Stump (mrs@poseidon.cygnus.com) + + * cp-search.c (mi_ventry): Change into a struct to make code more + readable and to shut up compilers about valid ANSI C code. + +Fri May 7 13:15:40 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * 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. + + * loop.c (strength_reduce): Handle case where loop_end is the + end of the current function. + +Fri May 7 05:50:39 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.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. + +Fri May 7 04:48:25 1993 Chris Smith (csmith@convex.com) + + * x-convex (CCLIBFLAGS): Build libgcc1 with -tm c1 so it can't + cause executables to become c2-only. + + * xm-convex.h: Remove workarounds for OS 8.0 no longer needed. + (bcopy, bzero): Define to use memcpy and memset, to get them inlined. + + * convex[123*].h (CC1_SPEC, CPP_SPEC, LIB_SPEC): Move to convex.h. + + * 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. + +Thu May 6 22:54:43 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + + * config/we32k/we32k.h (ASM_OUTPUT_ASCII): + Cast PTR to unsigned char *. + * config/clipper/clix.h (ASM_OUTPUT_ASCII): Likewise. + +Thu May 6 20:20:41 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-decl.c (build_enumerator): Strip any no-op casts off the + value before we try to do anything with it. + + * cp-call.c (convert_harshness): Take volatility, in addition to + constness, into account when figuring out the penalty for the + type under question. + + * 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 May 6 19:21:34 1993 Doug Evans (dje@canuck.cygnus.com) + + * reload1.c (eliminate_regs, case {PRE,POST}_{INC,DEC}): Account + for PUSH_ROUNDING. + +Thu May 6 18:17:19 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * config/i386/sequent.h (DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC): + Override the usual definitions. + + * objc/hash.h, objc/objc.h, objc/runtime.h, objc/sarray.h: + Use gstddef.h, with doublequotes. + +Thu May 6 15:58:18 1993 Ian Lance Taylor (ian@cygnus.com) + + * fixincludes: More fixes for IRIX 4.0.1. Rather than replacing + [^A-Z]CTRL, replace [^A-Z_]CTRL and [^A-Z]_CTRL. Also patch + "//" in elf_abi.h which the sed script breaks. + +Thu May 6 13:58:39 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + + * clix.h: Include "clipper/clipper.h" instead of "clipper.h". + * config.sub (os): Add -clix*. + * configure (clipper-intergraph-clix): Add clipper/ filename prefixes. + + * c-typeck.c (pointer_diff): Error if op1 is pointer to incomplete + type. + + * fixinc.svr4 (sys/varargs.h): Replace. + +Thu May 6 11:58:28 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu May 7 15:56: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. - * reload.c (find_reloads): Remover unterm comment from recent changes. + * c-parse.in: For Objc, expect just 20 conflicts. - * genattrtab.c (compute_alternative_mask): Usually bypass atoi. + * objc-act.c (OBJC_GEN_METHOD_LABEL): Do use CAT_NAME. -Thu May 7 15:56:51 1992 Tom Wood (wood@dg-rtp.dg.com) + * config/i386/i386.md (extendsidi2): Use cdq or cltd, not cwtl. - * genattrtab.c (fill_attr): Do nothing for constant attribute. - (check_attr_test): Set unchanging flag for constant attribute. - (write_test_expr): Expand constant attributes here. + * configure (i[34]86-*-bsd): Don't use collect2. -Thu May 7 06:01:46 1992 Michael Meissner (meissner@osf.org) + * c-typeck.c (convert_for_assignment): Don't use convert_and_check + when handling arithmetic types here. - * decrose.h (CPP_SPEC): Fix typo in last change. + * c-common.c (truthvalue_conversion): Turn off Apr 29 change. -Wed May 6 17:39:31 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu May 6 05:44:23 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * convex.h (HAVE_STRERROR, vfprintf, WTERMSIG, WEXITSTATUS): Deleted. + * reload.c (find_equiv_reg): Don't look inside a CONST_DOUBLE; + use operand_subword instead. - * dbxout.c (dbxout_type): Don't repeat a cross-reference - merely because full is nonzero. + * varasm.c (record_constant): Properly make the header of + a struct constant_descriptor. - * calls.c (expand_call): - Avoid rounding error testing copy_to_evaluate_size. + * function.c (walk_fixup_memory_subreg): Add new arg UNCRITICAL. + (fixup_var_refs_insn): Call with UNCRITICAL of 1 when processing + REG_NOTES. - * xm-mipsbsdn.h: Renamed from xm-mipsbsdnews.h. - * xm-sun386.h: Renamed from xm-xm-i386sun.h. - * configure: Corresponding changes. + * integrate.c (expand_inline_function): Don't call convert_to_mode + unless we need to; some converstions of VOIDmode objects can + mess them up. -Wed May 6 23:11:55 1992 John F Carr (jfc at Achates.mit.edu) + * expmed.c (store_split_bit_field): Properly handle VALUE when + it is a CONST_DOUBLE. - * cse.c (simplify_binary_operation): Support MIN and MAX for - SImode and narrower integers. + * fold-const.c (decode_field_reference): Don't do anything for + non-integral fields. -Wed May 6 17:25:37 1992 Michael Meissner (meissner@osf.org) + * cse.c (simplify_binary_operation, simplify_relational_operation): + Check for MODE_CC modes, not just CCmode. - * mips.h (MIPS_VERSION): Bump Meissner version # to 18. - (mips_cpu_attr): New define, which is the mips_cpu variable recast - to the attr_cpu enumeration for mips.md. - (HALF_PIC_NUMBER_PTRS, HALF_PIC_NUMBER_REFS): Add dummy - definitions if halfpic.h is not included. +Thu May 6 00:54:40 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - * mips.c (function_epilogue): Print half-pic stats if -mstats and - the stats are non-zero. + * objc/class.c, objc/hash.c: Change calloc to __objc_xcalloc. + * objc/objects.c (class_create_instance): bzero new instances - * mips.md (cpu attribute): Just use symbol_ref "mips_cpu_attr" - instead of a four way if statement. - (movsi_internal, movhi, movqi): Use 'z' constraint for fpsw, not 's'. + * objc/sendmsg.c (__objc_send_initialize, class_add_method_list): + Allow multiple +initialize methods per class. - * halfpic.h (half_pic_number_ptrs): Add counter for the number of - pointers generated. - (half_pic_number_refs): Add counter for the number of references. +Wed May 5 21:40:04 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * halfpic.c (half_pic_number_ptrs): Add counter for the number of - pointers generated. - (half_pic_number_refs): Add counter for the number of references. - (half_pic_ptrs): Update new counters. + * config/i386/sequent.h (LINK_LIBGCC_SPECIAL): #if 0. - * decstatn.h (CPP_SPEC): Define __LANGUAGE_x__ and __LANGUAGE_x - where x is C_PLUS_PLUS, OBJECTIVE_C, C, or ASSEMBLY. Fix - undef'ing LANGUAGE_C for .S files. - (HALF_PIC_PREFIX): Define as '$Lp.'. + * toplev.c (main): Improve error message in previous change. - * decstatn.h (CPP_SPEC): Define __LANGUAGE_x__ and __LANGUAGE_x - where x is C_PLUS_PLUS, OBJECTIVE_C, C, or ASSEMBLY. +Wed May 5 19:36:15 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * mips-tfile.c (toplevel): Don't define anything in the standard - headers, such as open, etc. - (add_procedure): Delete unused variable orig_fdb. + * combine.c (combinable_i3pat): Do not make REG_DEAD notes for + the stack pointer, frame pointer, or arg pointer. - * mips-tdump.c (toplevel): Don't define anything in the standard - headers, such as open, etc. +Wed May 5 17:57:30 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * collect2.c (main): Don't pass -f switches to GCC when - building the constructor table. - (write_c_file): Put extern in front of all external declarations. - (scan_prog_file, COFF varient): On ECOFF systems, check whether - the header pointer is non-NULL before using it. + * config/i386/sequent.h (LINK_LIBGCC_SPECIAL): Defined. - * cp-lex.c (store_pending_inline): Cast obstack_copy arg to char *. - (copy_lang_decl): Cast bcopy args to char *. +Wed May 5 00:01:57 PDT 1993 Ron Guilmette (segfault!rfg@netcom.com) -Wed May 6 13:28:58 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * expr.h: Fix comment typos. emit_block_move decl was hidden. - * i960.h, i960.c (hard_regno_mode_ok): Use unsigned int not short. + * toplev.c (main): If C++ for Dwarf requested, warn and turn it off. - * Makefile.in (USER_H): Add va-i960.h. +Wed May 5 21:48:24 1993 Kresten Krab Thorup (krab@iesd.auc.dk) -Wed May 6 07:31:54 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * objc-act.c (check_methods_accessible): Handle interface types. - * explow.c (emit_stack_{save,restore}): New functions. - * expr.h: Declare them and enum save_level. - * calls.c (expand_call): Call emit_stack_save. - * expr.c (expand_builtin, case BUILT_IN_ALLOCA): Likewise. - * function.c (delete_handlers): Make test for insn that sets - a slot more general. - (expand_function_end): Call emit_stack_{save,restore}. - * stmt.c (declare_nonlocal_label): Call emit_stack_save. - (expand_goto_internal): Likewise. - (expand_goto): Likewise. - Copy slots so they don't get instantiated incorrectly; also - update use of virtual regs and frame pointer. - (expand_end_bindings): Call emit_stack_restore. - (expand_decl): Call emit_stack_save. - Set current_function_calls_alloca when allocating variable-sized - objects. - * rs6000.md ({save,restore}_stack_{block,function,nonlocal}): New. +Wed May 5 14:37:42 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue May 5 13:17:29 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * fold-const.c: (optimize_bit_field_compare): Add missing arg + to const_binop. - * configure (a29k-*-*, i960-*-*): New default configurations. + * reg-stack.c (record_asm_reg_life): Don't abort for asm that + doesn't match its constraints. - * i960.c, i960.h, i960.md, xm-i960.h, va-i960.h: New files. + * combine.c (num_sign_bit_copies, case SUBREG): Properly compute + the number of sign bit copies of SUBREGs of promoted objects. - * gstdarg.h, gvarargs.h: Include va-i960.h for i960. + * 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. - * calls.c (expand_call): Call REG_PARM_STACK_SPACE once and save - result. Add code to Use new macros MAYBE_REG_PARM_STACK_SPACE and - FINAL_REG_PARM_STACK_SPACE. - (store_one_arg): New parameter reg_parm_stack_space. - * function.c (assign_parms): Use MAYBE_REG_PARM_STACK_SPACE. +Wed May 5 14:11:12 1993 Ian Lance Taylor (ian@cygnus.com) - * cse.c (NONZERO_BASE_PLUS_P): Don't consider arg pointer by itself - to be non-zero, because it isn't on the i960. + * 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. - * dbxout.c (dbxout_symbol): Use decl_function_context not - TREE_PERMANENT to identify function local statics. +Wed May 5 11:34:59 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * integrate.c (copy_rtx_and_substitute): Also remap SYMBOL_REFs - that point to LABEL_REFs in the constant pool. + * toplev.c (flag_defer_pop): Initialize to 0. + (main): Set it to 1 if optimizing. - * expr.c (expand_expr, PLUS case): Canonicalize MULT - when associating a constant. +Wed May 5 06:38:47 1993 Tom Wood (wood@hal.gnu.ai.mit.edu) -Tue May 5 12:56:29 1992 Torbjorn Granlund (tege@mole.gnu.ai.mit.edu) + * configure (i[34]86-next-*, m68k-next-*): collect2 isn't needed. - * pa.c (singlemove_string): Make it global. - * pa.md: Add high:DI and lo_sum:DI patterns. +Tue May 4 14:21:11 1993 Kresten Krab Thorup (krab@xiv.iesd.auc.dk) -Tue May 5 12:04:56 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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 - * c-typeck.c (build_array_ref): Require int index *after* promotion. + * objc/Makefile (OBJC_H): Add typedstream.h - * convex.h (REG_OK_FOR_{BASE,INDEX}_P): Virtual regs that will - turn into stack_pointer_rtx are not valid for indexing. + * 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" - * config.sub: NeXT is BSD, not SysV. + * objc/typedstream.h: New file. Contents moved from + objc/objc-api.h. - * att386.h (ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL): - Undef before defining. + * objc/objc.h (IvarList, Ivar, SymTab, Module, Method, + Category, Super, objc_method_description, objc_protocol_list): + Data definitions moved to objc/objc-api.h - * dbxout.c (dbxout_parms): Handle invisible reference parms. + * objc/archive.c: Change malloc into __objc_xmalloc -Tue May 5 22:48:54 1992 Niklas Hallqvist (niklas@appli.se) + * objc/objc.h, objc/sendmsg.c: Remove any code for hash lookup + * objc/cache.h: File removed - * Makefile.in (test-protoize-simple): - Change tmp-protoize* to tmp-proto*. - (mostlyclean): Remove that temporary file. + * objc/objc-api.h (class_create_instance, object_copy, + object_dispose): Definitions moved to objc/objects.c -Tue May 5 09:35:30 1992 James Van Artsdalen (james at bigtex.cactus.org) + * objc/objc.h: Remove declarations for library functions. + * objc/Object.m (-conformsTo:): Bugfix: Also ask superclasses. - * i386.c (print_operand): Handle VOIDmode CONST_DOUBLE correctly. +Tue May 4 23:46:37 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * reload.c (find_reloads): Recompute `code' before preferred_class. + * 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. -Mon May 4 00:23:29 1992 Ron Guilmette (rfg at ncd.com) + * 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. - * svr3.h (ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL): - Added definitions appropriate for most svr3 systems. + * cp-cvt.c (convert_pointer_to): Only call get_base_distance et al. + on RECORD_TYPEs, not on UNION_TYPEs. - * protoize.c (volatile): Define to nothing if !defined(__STDC__). - (setjmp, longjmp): Declared external if not defined as pp-macro. - (include_defaults): Fix type of `fname' field. - (compiler_file_name): Fixed type. - (savestring): Fixed type of `size' parameter. - (savestring2): New function. - (string_list_cons): Removed trailing blanks from parm declaration. - (find_file): Moved comments out of formal parm declarations area. - (munge_compile_params): Fixed type of `temp_parms'. - (gen_aux_info_file): Construct new filename using `savestring2'. - (find_extern_def): Suppress annoying warnings about missing - definitions for extern functions. - (edit_fn_declaration): Declare `clean_text_p' as `volatile' not as - `VOLATILE'. - (scan_for_missed_items): Make text of warning more obvious. - (edit_file): Make text of warning shorter. + * cp-decl.c (grokdeclarator): Don't try to divine the name of the + incomplete type for a field decl. - * libgcc2.c (__builtin_new): Changed arg type to `size_t'. Moved - nested declaration of malloc out to file-scope. - (__builtin_vec_new): Prototype preceeding function declarations. - (__builtin_vec_new, __builtin_vec_delete): Changed types of non-pointer - arguments and local variables to `size_t'. - (__clear_cache): Use type `void *' variables to store addresses. - (__do_global_dtors): Use unsigned type for counters. - (__main): Add explicit type to declaration of `initialized'. +Tue May 4 19:55:29 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) -Mon May 4 16:16:56 1992 Tom Wood (wood at dg-rtp.dg.com) + * combine.c (distribute_notes, REG_DEAD case): Handle hard + registers which partially overlap the destination of the insn. - * dwarfout.c (dwarfout_file_scope_decl): Ignore a global register - variable. +Tue May 4 17:59:10 1993 Jeffrey A. Law (law@snake.cs.utah.edu) -Mon May 4 08:28:18 1992 Torbjorn Granlund (tege@mole.gnu.ai.mit.edu) + * pa.md (casesi0): Remove incorrect fix from April 23. + * pa.h (CASE_DROPS_THROUGH): Define. - * pa-ghpux.h, pa-hpux.h: #define HAVE_ATEXIT. +Tue May 4 13:22:21 1993 John Hassey (hassey@dg-rtp.dg.com) - * genextract.c (print_path, main): Make the generated code use - `pat', not `insn', except for fatal_insn_not_found. Remove - insn_code variable from generated code, and switch directly on - INSN_CODE (insn). + * t-dgux: Fixed name of link script. - * hppa*: Rename to be unique in first 8 characters. - * configure: Corresponding changes. +Tue May 4 11:15:40 1993 Steve Chamberlain (sac@wookumz.gnu.ai.mit.edu) -Mon May 4 00:20:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * reload.c (find_reloads): Compute preferred_class after - calling find_reloads_toplev or equivalent. +Mon May 3 20:41:00 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * vax.h (PRINT_OPERAND): Add codes M, h, b. + * tree.c (build_array_type): The main variant of an array type + should always be an array whose element type is the main variant. - * ns32k.h (PREFERRED_RELOAD_CLASS): Change GEN_AND_MEM_REGS - to GENERAL_REGS. +Mon May 3 19:27:04 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * config.sub: Recognize we32 and 3b*. + * lite.h (CPP_PREDEFINES): Delete -Dsun and -Dunix. - * varasm.c (readonly_data_section): Move after data_section. + * 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. - * Makefile.in (print-rtl.o): Compile also for host machine. - (genattrtab): Link in host's print-rtl.o. + * c-decl.c (grokdeclarator, ARRAY_REF case): Build array type, and + then build the variant array type. - * i386v4.h (ASM_OUTPUT_ALIGNED_LOCAL): Deleted. Dfn in svr4.h is good. + * sparc.md (floatsitf2): Output fitoq not fitox. -Sun May 3 21:39:22 1992 James Van Artsdalen (james at bigtex.cactus.org) + * i960.md (scc pattterns): Add missing mode to conditional operators. + * i960.c (output_function_profiler): Add missing newlines in strings. - * i386.h (RTX_COSTS): Add missing break. + * c-common.c (truthvalue_conversion): Don't optimize subtract of + reals when target uses IEEE arithmetic. -Sun May 3 19:40:50 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * c-parse.in: Delete cond.awk reference. + * cond.awk: Delete file. - From law: - * sparc.md (fp unit attributes): Change result ready delays to - match how the FP unit really works. +Mon May 3 16:58:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * sched.c (schedule_block): Don't move USE at the end of any block. + * c-typeck.c (digest_init): Check size properly for wide-string. - From rfg: - * sparc.c (handle_pragma_token): Added new function (based on original - `handle_pragma_token' in i386.c). - * sparcv4.h (INIT_SECTION_PREAMBLE): Definition added. - (PUSHSECTION_FORMAT): Added leading tab. - (HANDLE_PRAGMA): Added definition to handle #pragma weak (based on - original definition in i386v4.h). + * Makefile.in (TEXI2DVI): New variable. + (cpp.dvi, gcc.dvi): Use it. - From jfc: - * sched.c (insn_costs): New variable. - (insn_cost): Save cost of insn in insn_costs to avoid recomputation. - (sched_analyze_2): Handle UNSPEC_VOLATILE. - (schedule_insns): Init insn_costs. +Mon May 3 16:29:38 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * sparc.c (output_move_double): Correctly check for constant - DFmode addresses. Assume that DFmode addresses with MEM_IN_STRUCT_P - set are always aligned. + * 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. -Sun May 3 16:52:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon May 3 21:02:22 1993 H.J. Lu (hlu@yardbird.eecs.wsu.edu) - * gcc.c (PATH_SEPARATOR): New macro. From Alex Zatsman. - (process_command): Use it when scanning a path. + * 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. - * expr.c (expand_builtin): Cast icode to int for indexing. +Mon May 3 06:41:56 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * xm-i386dos.h: New file. - * configure.bat: Use that file. - * gcc.c (EXECUTABLE_SUFFIX): Remove special default for MSDOS. - (putenv): Remove conditionals for MSDOS, since HAVE_PUTENV now defined. + * objc/Makefile (copy-headers): Put `-' on mkdir command. - * c-typeck.c (build_array_ref): Promote after -Wchar-subscripts test. +Sun May 2 09:28:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-decl.c (builtin_function): If traditional and name is user-visible, - set DECL_BUILT_IN_NONANSI. + * cccp.c (macroexpand): Treat `foo ( )' as 0 args if foo wants 0 args. - * cccp.c (PATH_SEPARATOR): Add default definition. - (main): Use that. +Sun May 2 07:37:45 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sun May 3 08:17:02 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * 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. - * pyr.h (FRAME_POINTER_REGNUM): Work around pyr cpp bug. +Sun May 2 08:57:33 1993 Michael Meissner (meissner@osf.org) - * xm-hppa.h (NO_SYS_SIGLIST): Define. + * real.c (EDOM, ERANGE): Do not define since errno.h was + previously included. -Sat May 2 15:03:08 1992 James Van Artsdalen (james at bigtex.cactus.org) +Sun May 2 08:28:15 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * callc.c (emit_call_1): Restore inhibit_defer_pop after popping args. + * cse.c (record_jump_cond): Use mode of op0 or op1, not MODE, + when testing for narrowing or widening subregs. -Thu Apr 30 20:00:00 1992 DJ Delorie (dj@ctron.com) +Sat May 1 10:10:44 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * configure.bat: Complete rewrite to use Makefile.in. - * Makefile.dos: File deleted. + * config/nextstep.h (WORD_SWITCH_TAKES_ARG): Fix typo. -Thu Apr 30 23:38:00 1992 Per Bothner (bothner@rtl.cygnus.com) + * cse.c (simplify_binary_operation): Reject CCmode in A & (~A) -> 0. - * xcoffout.h (DBX_FINISH_SYMBOL): Use DECL_ASSEMBLER_NAME - instead of DECL_NAME when writing out a global symbol. - (Makes a big difference for C++ static class members.) + * cccp.c (macroexpand): If just whitespace between parens, + treat it as one argument. -Thu Apr 30 23:13:01 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Sat May 1 11:02:22 1993 H.J. Lu (hlu@yardbird.eecs.wsu.edu) - * fold-const.c (fold, comparisons): Don't call omit_one_operand in - a case where the operand isn't really being omitted. + * Makefile.in (libobjc.a): Depend on $(USE_COLLECT2) - * combine.c (distribute_notes, case REG_DEAD): Don't write a USE for - a partially-dead register if we already wrote one. + * objc/Makefile (xforward): Add `else true;' for Ultrix 4.2 make. -Thu Apr 30 21:51:29 1992 Tom Wood (wood at dg-rtp.dg.com) +Sat May 1 06:49:51 1993 Tom Wood (wood@next.com) - * Makefile.in (enquire.o, install-common-headers): Make these work - when $(srcdir) is . + * objc-act.c (build_ivar_reference): Warn when a class method + refers to an instance variable. - * c-decl.c (init_decl_processing): Use void_ftype_any as the type - for _exit, exit and abort. +Fri Apr 30 22:37:56 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Apr 29 21:42:30 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * c-lex.c (yylex): Avoid invalid shift for erroneous empty char const. - * genattrtab.c (insn_name_ptr): Define so we could link with - debug_rtx. + * combine.c (subst, case COMPARE): Use SELECT_CC_MODE even if HAVE_CC0. - * genattrtab.c (check_attr_test, simplify_test_exp): Copy expression - before setting as unchanging. - (make_canonical): Set result as unchanging after calling - convert_const_symbol_ref. - (evaluate_eq_attr): When returning original expression, set it - as unchanging. +Fri Apr 30 12:40:23 1993 John Hassey (hassey@dg-rtp.dg.com) -Wed Apr 29 13:30:33 1992 Michael Meissner (meissner@osf.org) + * configure, install.texi: Updated -local configuration option. - * halfpic.c (half_pic_ptr): Allocate space for the NULL byte. +Fri Apr 30 15:20:10 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) -Wed Apr 29 06:28:35 1992 Ron Guilmette (rfg at ncd.com) + * sparc.h (LONG_DOUBLE_TYPE_SIZE): Ifdef out. - * dwarfout.c (src_coords_attribute): Don't #ifdef code based on - DWARF_DECL_COORDINATES. - (name_and_src_coords_attributes): Do #ifdef calls to `lookup_filename' - and `src_coords_attribute' based on DWARF_DECL_COORDINATES. Also, - pop out of .debug section temporarily while calling `lookup_filename'. +Fri Apr 30 14:53:43 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) -Wed Apr 29 02:01:03 1992 Mike Stump (mrs@albert.gnu.ai.mit.edu) + * config.sub: Fix syntax error. - * Complete another Cygnus <--> FSF merge. +Fri Apr 30 12:00:24 1993 Ian Lance Taylor (ian@cygnus.com) - Tue Apr 28 19:24:52 1992 Mike Stump (mrs at rtl.cygnus.com) + * fixincludes: Fix #endif comments for Ultrix 4.2. - * cp-init.c (do_friend): Handle overloaded and extern "C" - friends correctly. +Fri Apr 30 10:45:53 1993 Steve Chamberlain (sac@wookumz.gnu.ai.mit.edu) - Mon Apr 27 21:04:40 1992 Mike Stump (mrs at rtl.cygnus.com) + * 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. - * cp-search.c (build_vbase_vtables_init): Don't set - flag_this_is_variable to -2 when not doing a ctor. +Thu Apr 29 22:20:20 1993 Jeff Law (law@kahlua.cs.utah.edu) - * cp-class.c (build_vbase_path): Don't unconditionally set - code to be a PLUS_EXPR. + * cse.c (cse_insn): Reset the INSN_CODE for conditional + or computed jumps which have been converted into simplejumps. - Mon Apr 27 14:14:08 1992 Mike Stump (mrs at rtl.cygnus.com) +Thu Apr 29 14:30:25 PDT 1993 Ron Guilmette (rfg@netcom.com) - * cp-decl.c (grokdeclarator): Allow contructors to be friends. - Cannot find anything prohibiting it. + * c-common.c (truthvalue_conversion): Specific error message when the + "truthvalue" of a struct, union, or array type operand is needed. - Mon Apr 27 13:26:20 1992 Mike Stump (mrs at rtl.cygnus.com) +Thu Apr 29 21:42:26 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-init.c (do_friend): bullet proof handling of friends, - fixes problem introduced on Apr 26 18:24:35. + Thu Apr 29 12:27:59 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - Sun Apr 26 23:18:24 1992 Mike Stump (mrs at rtl.cygnus.com) + * 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. - * cp-call.c (ideal_candidate): Allow one to overload static - member functions without dumping core. + Wed Apr 28 11:50:28 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - Sun Apr 26 18:44:57 1992 Jim Wilson (wilson@sphagnum.cygnus.com) + * 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. - * cp-tree.c (break_out_calls): Call build1 instead of build for - trees with only one operand to avoid abort in build. + * 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. - Sun Apr 26 18:24:35 1992 Mike Stump (mrs at rtl.cygnus.com) + * 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). - * cp-init.c (do_friend): Allow extern "C" functions to be - friends. +Thu Apr 29 19:26:21 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Sat Apr 25 02:57:07 1992 Mike Stump (mrs at rtl.cygnus.com) + * config/mips/mips.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): + Definitions put into #if 0. - * cp-*.[chy]: Fix all pedantic warnings to be pedwarn. + * c-typeck.c (build_conditional_expr): Do default_conversion + before testing for ERROR_MARK. - Sat Apr 25 01:46:50 1992 Mike Stump (mrs at rtl.cygnus.com) + * 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. - * cp-tree.c (break_out_calls): Handle NULL_TREE properly. + * Makefile.in (install-normal): Move install-libgcc + after $(INSTALL_HEADERS). - Fri Apr 24 23:49:39 1992 Mike Stump (mrs at rtl.cygnus.com) +Thu Apr 29 17:09:59 1993 Ian Lance Taylor (ian@cygnus.com) - * cp-type2.c (store_init_value): Provide an error message - about bad syntax instead of core dumping. + * 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. - Fri Apr 24 16:46:03 1992 Mike Stump (mrs at rtl.cygnus.com) +Thu Apr 29 15:30:09 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - Fri Apr 24 18:55:45 1992 Chip Salzenberg (chip@tct.com) + * pa.md (shadd for reload): Fix constraint to match the output + pattern. - * cp-parse.y (component_decl): Fix small problem to take us - back down to 14 reduce/reduce errors. +Thu Apr 29 15:05:05 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - Thu Apr 23 19:48:54 1992 Mike Stump (mrs at rtl.cygnus.com) + * we32k.md (float_extend:DF recognizer): Add missing arg to + output_asm_insn. + (float_truncate:SF recognizer): Likewise. - Wed Apr 22 22:47:15 1992 Chip Salzenberg (chip@tct.com) +Thu Apr 29 10:18:36 1993 Kresten Krab Thorup (krab@wombat.gnu.ai.mit.edu) - * cp-type2.c (readonly_warning_or_error): Eliminate arbitrary - limit of 80 characters per warning message. + * objc/xforward.c: File renamed from objc/_forward.c. + * objc/Makefile: Updated accordingly. - Thu Apr 23 04:14:59 1992 Mike Stump (mrs at rtl.cygnus.com) +Thu Apr 29 12:10:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-decl.c (grokdeclarator): Handle const and volatile - member functions properly. + * real.c: Deleted casts to void. -Tue Apr 28 22:05:05 1992 Niklas Hallqvist (niklas@appli.se) + * 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. - * tower-as.h (svr3 support): Generic svr3.h included. - (SELECT_RTX_SECTION): m68k.h's version #undef'd in favour of svr3.h's. - (CPP_PREDEFINES): Overriding svr3.h version. - (STARTFILE_SPEC): Added crtbegin.o. - (ASM_OUTPUT_SOURCE_FILENAME): Added ugly section directives to get - rid of NCR assembler bug. - (ASM_OUTPUT_IDENT): #undef'd svr3.h version. - (NO_{DOLLAR,DOT}_IN_LABEL): Defined. - (ASM_LONG): Defined. - ({INIT,FINI,CONST}_SECTION_ASM_OP): Overrides svr3.h versions. - (CTOR_LIST_{BEGIN,END}): New macros. - (BSS_SECTION_ASM_OP): New macro. - (ASM_OUTPUT_CONSTRUCTOR): New macro. - (ASM_OUTPUT_LABELREF): Redefined svr3.h version. + * Makefile.in (tooldir): Use exec_prefix, not prefix. + (gcc.o): Likewise for TOOLDIR_BASE_PREFIX. - * tower.h (LIB_SPEC): Added -shlib support plus crtend.o. + * config/convex/convex.c (output_call): + Add missing arg to output_asm_insn. - * configure (m68k-ncr-sysv): Defined xmake_file and tmake_file. + * gcc.c (default_compilers): Inhibit -D__OPTIMIZE__ if -O0. -Tue Apr 28 21:27:10 1992 Michael Meissner (meissner@osf.org) + * config/m68k/m68k.md (movxf): Add pattern for soft-float moves. - * mips.md (floatsidf2, floatsisf2): Fix typo in last change. + * config/m68k/m68k.c (output_move_double): Support XFmode moves. -Tue Apr 28 18:21:02 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Apr 29 00:09:34 1993 Kresten Krab Thorup (krab@wombat.gnu.ai.mit.edu) - * objc-actions.c: Include obstack.h, etc. - (util_obstack, util_firstobj): New obstack, and 1st object in it. - (init_objc): Init those two. - (encode_*): Rewrite to use util_obstack, Callers changed. - (handle_class_ref, handle_impent): New subroutines, broken out - from finish_objc so each can use alloca (instead of utlbuf). - (utlbuf): Variable deleted. + * objc/init.c (__objc_exec_class): Added check for selectors = 0 - * c-decl.c (init_decl_processing): Treat abort and exit as ANSI. - -traditional no longer affects ANSI builtins; use -fno-builtin. + Undid the following changes: - * configure: Insert assignment of INSTALL where old one was. + * 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. -Tue Apr 28 17:14:57 1992 John F Carr (jfc at Achates.mit.edu) +Thu Apr 29 00:04:11 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * vax.md (cmpdf, cmpsf): Use tstf/tstd if second argument is zero. - (movsi, movhi, movqi): Patterns changed to reflect different - space/time tradeoffs for modern VAXes. - (movstricthi, movstrictqi): New patterns. - (extv, extzv): Use rotl/bicl sequence when possible. + * 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. -Tue Apr 28 10:00:25 1992 Michael Meissner (meissner@osf.org) +Wed Apr 28 18:15:57 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * mips-tfile.c (read_line): Make read_line act like the assembler, - and use ';' to separate multiple logical lines. + * pa.h (HARD_REGNO_MODE_OK): Allow 1.0 FP registers to hold modes + which are smaller than 4 bytes. - * mips.h (MIPS_VERSION): Set Meissner version # to 17. - (MASK_DEBUG_C): Swap meaning of -mdebugc. - (ADDITIONAL_REGISTER_NAMES): Use 'cc' for the floating point status - register, so user asm's can clobber it. Allow $fp for the frame - pointer in addition to fp and $30, and also $sp for the stack - pointer in addition to sp and $29. +Wed Apr 28 16:40:38 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * mips.c (gen_int_relational): Emit faster sequence for NE. - (mips_asm_file_start): Don't call data_section for gcc2_compiled. + * Makefile.in (distdir): Copy subdirectories of config/ too, except RCS - * mips.md (branch define_delay): Specify all of the preconditions - correctly for branch likely (mips2) support. - (floatsidf2): Update dslots_load_total. Support getting the - integer value from memory as well as from an integer register. - Fix the length attribute. - (floatsisf2): Ditto. - (All set from condition code patterns): Swap meaning of -mdebugc, - so that if used, it means support all of the set condition code - patterns as if the machine can do them equally well. If not - -mdebugc, call gen_int_relational to generate an appropriate set - of INSNs. +Wed Apr 28 16:19:18 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * decrose.h (ASM_IDENTIFY_GCC): Define as null on OSF/1. - * encrose.h (ASM_IDENTIFY_GCC): Define as null on OSF/1. - * i386rose.h (ASM_IDENTIFY_GCC): Define as null on OSF/1. + * Makefile.in (extraclean): Delete *.z as well. - * decrose.h (CPP_SPEC): If .S files, add an explicit - -ULANGUAGE_C to mimic the OSF GCC 1.39 behavior. +Wed Apr 28 15:10:33 1993 Michael Meissner (meissner@osf.org) -Mon Apr 27 16:44:30 1992 Tom Wood (wood at dg-rtp.dg.com) + * 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. - * dwarf.h (AT_... values): Correct typos present in version 1.0.1 - of the DWARF spec. The values should be unchanged. + * mips/osfrose.h (CC1_SPEC): Don't pass -mgpopt here. - * dwarfout.c (data_member_location_attribute): Use INTEGER_CST. + * 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. - * dwarfout.c (data_member_location_attribute): Use TYPE_MODE. - (bit_offset_attribute): Ditto. +Wed Apr 28 07:31:20 1993 Kresten Krab Thorup (krab@wombat.gnu.ai.mit.edu) - * dwarfout.c (name_attribute): Add the tests back. + * objc/argframe.h (__AF_ARG_ADDR): Removed .curr_off from + definition. (__AF_ARG_ADVANCE): Removed __AF_CUM_OFF around CUM. - * m88k.h (WEAK_ASM_OP): Override svr4.h. + * objc/runtime.h (_objc_error): Declaration added. -Mon Apr 27 15:48:36 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Apr 28 06:17:02 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * limits.h: Use _LIMITS_H___, not _LIMITS_H_, to protect contents. + * 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. -Mon Apr 27 15:15:25 1992 Michael Meissner (meissner@osf.org) + * convert.c (convert_to_integer): When we want to return zero, + be sure we honor any side-effects in our operand. - * mips.h (MIPS_VERSION): Set Meissner version # to 16. - (delay_type enum): Add DELAY_FCMP for specifing the - c.{eq,lt,le}.{d,s} delay. - (fpsw_register_operand): New declaration. - (gen_int_relational): New declaration. - (pc_or_label_operand): New declaration. - (MASK_DEBUG_C): Use -mdebugc for new relational code. - (REG_CLASS_FROM_LETTER): Use 'z' for fpsw register, not 's' which - is already used. - (EXTRA_CC_MODES): Add CC_REV_FPmode to handle fp comparisons, - which need to be reversed (!=). - (EXTRA_CC_NAMES): Add CC_REV_FP. - (SELECT_CC_MODE): Use SImode for all integer comparisons, - CC_REV_FP for floating point != comparisons. +Tue Apr 27 22:25:29 1993 Kresten Krab Thorup (krab@xiv.iesd.auc.dk) - * mips.c (internal_test enum): Move and rename the enumeration - used in gen_conditional to make the comparison RTL codes to - something that can be indexed out to top level. - (fpsw_register_operand): New function to return true if the - operand is the FP status register. - (pc_or_label_operand): New function to return true if the operand - is either a label_ref or the pc for if_then_else tests. - (mips_fill_delay_slot): Add support for DELAY_FCMP, the delay - after a floating point comparison is done and it can be tested. - (map_test_to_internal_test): New function to take a RTL code of a - comparison operator, and return the internal_test enumeration. - (gen_int_relational): New function to generate the appropriate - INSNS for comparing two integers for either branches, or the set - from condition code insns. - (gen_conditional_branch): Rewrite to not use the CISC condition - code register CC0, but instead generate the appropriate INSNs so - that the test can be scheduled independely of the branch. - (override_options): Use 'z' for the fpsw register, not 's'. Only - allow the fp comparison condition codes in the fpsw register. Do - not allow non float or int things in FP registers, even if - -mdebugh. Don't allow ints in the fpsw. + * 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. - * mips.md (various): Rewrite comparisons and branches so that we - do not use CC0, but instead put the comparison in a pseudo and - generate the appropriate branch instructions directly. This - eliminates calls to the various b macros provided by the - assembler. Change the type of integer comparisons from the - various CCxx modes used to SImode. Make fp != use CC_REV_FPmode. - (mode attribute): Add FPSW mode for floating compare. - (fp_comp): New functional unit for comparing fp values. - (divmodsi4): No longer use -mdebugc to turn off divmodsi4. - (divsi3): Ditto. - (modsi3): Ditto. - (udivmodsi4): No longer use -mdebugc to turn off udivmodsi4. - (udivsi3): Ditto. - (umodsi3): Ditto. +Tue Apr 27 16:29:45 1993 Tom Wood (wood@next.com) - * mips-gn5.h: Rename from mips-gnews5.h for MSDOS. - * mips-n5.h: Rename from mips-news5.h. - * xm-mipsbsdnews.h: Rename from xm-mipsnbsd.h. + * nextstep.h (NeXT_OBJC, STANDARD_EXEC_PREFIX): Delete. + * i386/next.h: Use gas.h instead of bsd.h. + (ASM_GENERATE_INTERNAL_LABEL): Define. - * configure (mips-sony*): Handle the above changes. +Tue Apr 27 12:20:08 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * README-mips (whole file): Remove bogus patches, and update with - some common warnings about the MIPS. + * 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. -Mon Apr 27 12:41:21 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Tue Apr 27 10:59:33 1993 Ian Lance Taylor (ian@cygnus.com) - * unroll.c (find_splittable_givs): Don't split a giv combined with - a giv that was not reduced. + * 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. - * c-parse.y (primary): Clear the TREE_USED flag of a block tree - put in a BIND_EXPR. - * print-tree.c (print_node): Print the block operand of a BIND_EXPR. +Tue Apr 27 07:38:47 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu - * flow.c (find_basic_blocks): Assume MEM source in jump insn makes - it an indirect jump. + * 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. - * collect2.c (strip_flag, strip_file_name): New variables. - (main): Don't pass -s to the first ld call. Pass it to the second - ld call, or else run strip. + * 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. - * Makefile.in (bootstrap): Only build C compiler for stage1. +Tue Apr 27 09:26:04 1993 CET Kresten Krab Thorup (krab@xiv.iesd.auc.dk) - * sparc.h (GO_IF_LEGITIMATE_ADDRESS): Rewrite to accept SUBREGs. + * objc/Makefile (fflags): -x test changed to -s test - * combine.c (force_to_mode): Correctly form mask from BITS. + * objc/Makefile: CFLAGS changed to GCC_CFLAGS - * Makefile.in (bootstrap): Fix a typo (\n between b and ootstrap). + * objc/Object.h: No longer includes objc.h Instead, a minimal set + of definitions is provided here. -Sun Apr 26 14:14:23 1992 Ron Guilmette (rfg at ncd.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. - * getattr.c, genattrtab.c, gencodes.c, genconfig.c, genemit.c, - genextract.c, genflags.c, genoutput.c, genpeep.c, genrecog.c (main): - Move nested extern declaration of `read_rtx' out to file-scope. + * 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. -Sun Apr 26 21:41:33 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Tue Apr 27 01:40:50 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * Makefile.in (varasm.o): Includes defaults.h. + Mon Apr 26 20:45:07 1993 Mike Stump (mrs@poseidon.cygnus.com) -Sun Apr 26 21:15:30 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * enquire.c (f_rep, f_define): Handle NO_LONG_DOUBLE_IO. - (f_define): Print defn of union __convert_long_double, just once, - with #ifndef to protect it. - (fake_f_define): New function. + Mon Apr 26 12:58:23 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Sat Apr 25 15:04:49 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!". - * stmt.c (expand_end_case): Test DI index against range before casesi. - Don't truncate before calling do_tablejump. - Use expand_expr to turn RANGE into rtl. - * expr.c (do_tablejump): Convert to Pmode after testing vs range. + * cp-decl.c (grokdeclarator): Forbid declaring an array of references. - * stmt.c (expand_end_case): Delete test default_label != 0; always is. + * cp-parse.y (unary_expr): Forbid doing sizeof on a function. - * configure (i386-ibm-aix): Set install_with_cp. + * cp-typeck.c (build_unary_op): Pedwarn if they try to do pre/post + increment/decrement on an enum. -Fri Apr 24 21:32:38 1992 Richard Stallman (rms@mole.gnu.ai.mit.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. - * xm-spcv4.h: Renamrd from xm-sparcv4.h. - * configure: Changed accordingly. + * cp-search.c (compute_visibility): Check for a member fn + manipulating its own members before checking the basetype_path. - * Makefile.in (unprotoize.o): Leave unprotoize.c around. + * 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. - * c-common.c (decl_attributes): Change warnings to errors. + * 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. -Fri Apr 24 11:17:53 1992 Ron Guilmette (rfg at ncd.com) + Sat Apr 24 17:12:17 1993 Mike Stump (mrs@poseidon.cygnus.com) - * dwarf.h: Added copyleft. - Revised to use enumerators instead of #defines. - Updated to conform to version 1.0.1 of the DWARF spec. - Added implementation-defined fundamental type codes for GCC - mode-specific types. + * 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. - * dwarfout.c: Include defaults.h. - (getpwd): Declare as `extern'. - (BITFIELD_OFFSET_BITS, BITFIELD_OFFSET_UNITS, - BITFIELD_OFFSET_WORDS_IN_UNITS): Unnecessary definitions deleted. - (ASM_BYTE_OP, PUSHSECTION_ASM_OP, POPSECTION_ASM_OP): Delete - leading tabs from definitions. - (PUSHSECTION_FORMAT): Add leading tab to definition. - (*_LABEL): Changed to all start with `.L' to internalize these - symbols for *all* svr4 assmeblers (including sparc). - (ASM_OUTPUT_POP_SECTION): Add leading tab. - (ASM_OUTPUT_DWARF_TAG, ASM_OUTPUT_DWARF_ATTRIBUTE, - ASM_OUTPUT_DWARF_STACK_OP, ASM_OUTPUT_DWARF_FUND_TYPE, - ASM_OUTPUT_DWARF_FMT_BYTE, ASM_OUTPUT_DWARF_TYPE_MODIFIER): Print - DWARF comments only if flag_verbose_asm set. - (ASM_OUTPUT_ASCII): Moved to defaults.h - (tag_name): Renamed `dwarf_tag_name' to avoid possible conflicts. - (dwarf_tag_name): Updated for version 1.0.1 DWARF spec. - (attribute_name): Renamed `dwarf_attr_name' to avert conflicts. - (dwarf_attr_name): Updated for version 1.0.1 DWARF spec. - (stack_op_name): Renamed `dwarf_stack_op_name' to avert conflicts. - (format_byte_name): Renamed `dwarf_fmt_byte_name' to avert conflicts. - (fundamental_type_name): Renamed `dwarf_fund_type_name' to avoid - possible conflicts. - (dwarf_fund_type_name): Added support for implementation-defined - GCC mode specific fundamental types codes (to support new `mode' - attribute). - (data_member_location_attribute): Rewritten to avoid major lossage - primarily for little-endian targets. - (location_or_const_value_attribute): Fixed comments and removed - spurious code. - (name_attribute): Removed test for NULL name (now done in - `name_and_src_coords_attributes'). - (byte_size_attribute): Fixed to get size from DECL_BIT_FIELD_TYPE - for bit-fields. - (bit_offset_attribute): Rewritten to avoid major lossage primarily - for little-endian targets. - (src_coords_attribute): GNU-specific extension added. - (name_and_src_coords_attributes): New function. - (output_entry_point_die, output_formal_parameter_die, - output_global_subroutine_die, output_global_variable_die, - output_inline_subroutine_die, output_label_die, - output_local_variable_die, output_member_die, - output_local_subroutine_die, output_typedef_die): Call - `name_and_src_coords_attributes' rather than `name_attribute' for - all potentially-named declarations. - (output_global_subroutine_die, output_inline_subroutine_die, - output_local_subroutine_die, dwarfout_file_scope_decl): Use - DECL_ASSEMBLER_NAME rather than DECL_NAME when referencing - assembly level names (e.g. in AT_low_pc attributes). - (output_type): Revised to produce DWARF info for C++ member functions - even for classes with no constructors & destructors. +Mon Apr 26 18:48:18 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * flags.h (flag_verbose_asm): Option flag added. - * toplev.c (flag_verbose_asm): Option flag added. + * fold-const.c (fold): Signedness matters for comparisons and + right shifts. - * defaults.h: New file. - * varasm.c: Include defaults.h. - (ASM_OUTPUT_ASCII): Deleted. + * xm-alpha.h (ONLY_INT_FIELD): Define again; this time say why. - * c-common.c (decl_attributes): Call `type_for_mode' rather than - `type_for_size'. Also, `break' after a matching mode is found. + * tree.h (INTEGRAL_TYPE_P, FLOAT_TYPE_P): New macros. + * fold-const.c: Use INTEGRAL_TYPE_P and FLOAT_TYPE_P. - * 3b1.h (ASM_OUTPUT_ASCII): Tab before ASCII_DATA_ASM_OP. - * amix.h (ASM_OUTPUT_CASE_END): Tab before SET_ASM_OP. - (ASM_OUTPUT_ASCII) Tab before BYTE_ASM_OP. - * i860b.h (ASM_OUTPUT_ASCII): Tab before ASCII_DATA_ASM_OP. - * i860v3.h (ASM_OUTPUT_ASCII): Tab before BYTE_ASM_OP. - * sparcv4.h (*_ASM_OP): Delete the initial tabs. + * protoize.c (other_variable_style_function): Properly test for + the presence of the string "...". - * assert.h: Modified to treat source line numbers as `unsigned'. + * c-decl.c (pushdecl): Don't make a copy of type of error_mark_node. - * Makefile.in (test-protoize): New target. +Mon Apr 26 18:15:03 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * svr4.h (WEAK_ASM_OP): Default svr4 definition added. - (ASM_DECLARE_FUNCTION_SIZE): Use `assemble_name' to output - generated internal label. + * pa-hpux.h (LINK_LIBGCC_SPECIAL): Delete. + (RELATIVE_PREFIX_NOT_LINKDIR): Delete. + * pa-ghpux.h, pa-hpux7.h, pa-gux7.h: Likewise. -Thu Apr 23 11:31:58 1992 Jim Wilson (wilson@sphagnum.cygnus.com) +Mon Apr 26 16:57:03 1993 Michael Meissner (meissner@osf.org) - * optabs.c (emit_libcall_block): Correct code which determines - whether it is safe to emit an insn setting a pseudo before the block. + * 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. -Thu Apr 23 18:13:08 1992 James Van Artsdalen (james at bigtex.cactus.org) +Mon Apr 26 17:47:10 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - * i386.md (sleu): Finish Apr 21 change. + * 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. -Thu Apr 23 14:15:05 1992 Michael Meissner (meissner@osf.org) +Mon Apr 26 07:55:03 1993 Doug Evans (dje@canuck.cygnus.com) - * Makefile.in (enquire.o): Delete enquire.c from the current - directory before moving it in from the source directory, unless - the current directory is the same as the source directory. This - occurs if the user keeps GCC under source control, like RCS. - (install-common-headers): Ditto for byteorder.h. + * sparc.h (ASM_OUTPUT_LONG_DOUBLE): New macro. + * sysv4.h (ASM_OUTPUT_LONG_DOUBLE): Likewise. -Thu Apr 23 12:39:36 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Apr 26 08:45:18 1993 Kresten Krab Thorup (krab at xiv.iesd.auc.dk) - * amix.h (ASM_OUTPUT_CASE_END): Add missing \. + * 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. -Thu Apr 23 07:14:38 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * objc/Object.m, objc/archive.c, objc-api.h: Take out archiving + support for alpha. - * cse.c (simplify_binary_operation, case MINUS): Don't do any - of the simplifications for IEEE floating-point. + * 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. -Wed Apr 22 23:20:59 1992 Mike Stump (mrs@albert.gnu.ai.mit.edu) +Sun Apr 25 21:50:16 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - Tue Apr 21 02:21:42 1992 Mike Stump (mrs@rtl.cygnus.com) + * cp-lex.c (yylex): Re-incorporate changes to redo converting + float values to desired type. - * cp-method.c (build_overload_value): Handle function names as - constant expressions for template arguments. Also, make double - values work again as template arguments. +Sun Apr 25 18:11:24 1993 Ron Guilmette (rfg@netcom.com) - Mon Apr 20 17:08:17 1992 Mike Stump (mrs@rtl.cygnus.com) + * rtl.h (NOTE_INSN_FUNCTION_BEG): Make non-zero. + * rtl.c (note_insn_name): Re-order for above. - * cp-call.c (ideal_candidate): remove incorrect error message about - ``ambiguous request for function from distinct base classes of - type'' when base and parent are switched. + * 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 Apr 20 14:14:35 1992 Mike Stump (mrs@rtl.cygnus.com) +Sun Apr 25 17:07:44 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * Makefile.in: Now expect 15 reduce/reduce conflicts, instead of 14. + * 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 Mar 16 14:02:09 1992 Chip Salzenberg (chip at tct.com) + * 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. - * cp-parse.y (maybe_attributes, attribute_list): clone - from c-parse.y. - cp-parse.y: call decl_attributes between start_decl and - finish_decl, and after grokfield. + * sparc.h (REG_ALLOC_ORDER, REG_LEAF_ALLOC_ORDER): Make %f0/%f1 + the last float registers allocated. - Mon Apr 20 09:21:00 1992 Jim Wilson (wilson@sphagnum.cygnus.com) + * sparc.c (output_load_address, output_size_for_block_move, + output_block_move): Ifdef out. + * sparc.md (movstrsi): Comment out. - * cp-tree.h (break_out_calls): Declare. + * 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. - Mon Apr 20 08:29:16 1992 Michael Tiemann (tiemann@cygnus.com) + * expmed.c (extract_fixed_bit_field): Adjust BITPOS so that it + fits inside MODE before adjusting OFFSET to get an aligned address. - * cp-tree.c (break_out_calls): New function. - (break_out_cleanups): Added comment. +Sun Apr 25 06:28:56 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-typeck.c (build_modify_expr): Call `break_out_calls' instead of - `copy_to_permanent'. + * 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 Apr 20 06:29:16 1992 Mike Stump (mrs@rtl.cygnus.com) + * c-decl.c (init_decl_processing): Last arg to __builtin_apply + is size_t, not int. - * cp-type2.c (my_friendly_abort): New function, please see - Rational there. + * c-lex.c (yylex): Don't warn about floating point out of + range if target floating-point format is IEEE. - * cp-*.[chy]: Change all calls from abort to my_friendly_abort. + * romp.h (SIZE_TYPE): Deleted. - Mon Apr 20 05:45:08 1992 Mike Stump (mrs@rtl.cygnus.com) +Sat Apr 24 16:46:41 1993 Stephen L. Moshier (moshier@world.std.com) - * cp-cvt.c (build_up_reference): Fix a latent const problem. + * c-lex.c (forget_protocol_qualifiers): Cast enums to ints before + comparing. - Mon Apr 20 03:08:12 1992 Michael Tiemann (tiemann@cygnus.com) +Sat Apr 24 13:08:56 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * cp-decl.c (pop_from_top_level): Deleted duplicate code in C_C_D - restoration. + * 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. - * cp-call.c (build_method_call): Call `error_with_aggr_type' with - correct number of arguments. +Sat Apr 24 11:15:02 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Sun Apr 19 18:39:25 1992 Mike Stump (mrs@rtl.cygnus.com) + * flow.c (mark_used_regs): Use proper type for {all,some}_needed. + * cse.c (invalidate): Likewise for in_table. - * cp-class.c (finish_struct): Only provide a warning about - non-virtual destructors if the user asks for -Wall. + * tree.h (build_binary_op, build_indirect_ref, build_unary_op): + Delete declarations; these are part of the front ends. - Sun Apr 19 17:36:16 1992 Mike Stump (mrs@rtl.cygnus.com) + * objc-act.c (HASHFUNCTION): Cast pointers to widest int type. - * cp-typeck.c (build_modify_expr): Make a deep copy of lhs, as - expr.c expects to be able to preexpand_calls on the conditional - parts without insuring that it would even be legal to do so. +Sat Apr 24 02:48:37 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-tree.c (make_deep_copy): Fix comment. + Cygnus<->FSF merge. - Fri Apr 17 04:55:18 1992 Mike Stump (mrs@rtl.cygnus.com) + Fri Apr 23 11:08:25 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-cvt.c (convert_pointer_to): Provide the user with a meaningful - error message instead of a core dump when dealing with bad syntax. + * 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. - * cp-typeck.c (build_binary_op): Make error message on undefined - operator call more readable. + * 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. - * cp-decl.c (grok_reference_init): Handle T& = const T& - error messages. + * cp-decl.c (grokdeclarator): Call pushdecl_class_level, not + pushtag, to put a class-local typedef into its proper scope. + Also disable the warning about a typedef hiding the previous + one, since the cp-class.c change now diagnoses that problem. + * cp-class.c (delete_duplicate_fields_1): Also check for duplicated + type names. - Thu Apr 16 18:59:15 1992 Mike Stump (mrs@rtl.cygnus.com) + * cp-lex.c (yyerror): Delete extern decl of input_redirected. - * cp-typeck.c (convert_arguments): Disable code that auto converted - functions and methods to pointers and left them that way without error. + * 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. - Thu Apr 16 17:35:13 1992 Mike Stump (mrs@rtl.cygnus.com) + * cp-typeck.c (build_modify_expr_1): Put in missing `else'. - Sat Apr 4 22:28:23 1992 Gerald Baumgartner (gb at cs.purdue.edu) + Wed Oct 7 16:00:29 1992 Chip Salzenberg (chip@tct.com) - * cp-decl.c (finish_decl): Call `abstract_virtuals_error' - when the return type of a method is an abstract class. + Change propagated from the C front-end. + * cp-decl.c (shadow_tag): Use pedwarn for useless keyword. - * cp-type2.c (abstract_virtuals_error): Print error message - for an invalid method declaration. + Wed Oct 7 17:51:36 PDT 1992 Ron Guilmette (rfg at netcom.com) - Thu Apr 16 16:18:35 1992 Mike Stump (mrs@rtl.cygnus.com) + * 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. - * cp-decl2.c (lang_decode_option): Handle import by ignoring it. + Fri Oct 23 16:29:45 1992 Chip Salzenberg (chip@tct.com) -Wed Apr 22 19:46:44 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + 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. - * objc-actions.c (synth_id_with_class_suffix, finish_class): - Don't use utlbuf; alloca a buffer. - (forward_declare_categories): Use build_decl directly since - create_builtin_decl wants a string, not an id. + Tue Dec 1 21:35:36 1992 Niklas Hallqvist (niklas at della.appli.se) - * Makefile.in (STAGESTUFF): Add USE_COLLECT2. + * 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. - * dbxout.c (dbxout_symbol): Clean up last change. + Mon Jan 4 11:46:19 1993 Chip Salzenberg (chip@tct.com) -Wed Apr 22 17:06:16 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + 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. - * rs6000.c (gpc_reg_operand): Renamed from gen_reg_operand. - * rs6000.h (PREDICATE_CODES): Likewise. - * rs6000.md: Likewise. + Sat Jan 30 01:23:22 1993 Niklas Hallqvist (niklas at della.appli.se) - * a29k.c (gpc_reg*_operand): Renamed from gen_reg*_operand. - * a29k.h (PREDICATE_CODES): Likewise. - * a29k.md: Likewise. + * 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. - * romp.c (output_fpop): Extend workaround for RT FP codegen bug. + Mon Feb 1 09:40:11 1993 Niklas Hallqvist (niklas at della.appli.se) -Wed Apr 22 06:20:09 1992 Tom Wood (wood at dg-rtp.dg.com) + * cp-search.c (compute_visibility): Add support for anonymous + unions nested in classes. - * fold-const.c (fold, comparison cases): Use omit_one_operand to - yield a simplified result to avoid loosing a side-effect. + Tue Feb 2 16:06:10 1993 Chip Salzenberg (chip@tct.com) -Tue Apr 21 13:19:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + 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<= 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. - * cp-cvt.c (build_up_reference): Don't let people subvert const - when passing const argements to non-const functions. + * 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. - * cp-tree.c (build_cplus_method_type): Don't use - flag_this_is_variable to make what this points to const. + * 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. - From Wed Apr 1 12:00:59 1992 Chip Salzenberg (chip at tct.com) + * Object.h, Object.m (-changeClass:): renamed to -transmuteClassTo:. + (+initialize, -isClass, -isInstance): added. - * cp-class.c (import_export_vtable): New function to set - TREE_PUBLIC and/or TREE_EXTERNAL on vtables. - (build_vtable): Use it. - (prepare_fresh_vtable): Use it. + * Object.h: redundant #defines, typedefs removed; comments modified. + (+readFrom:, -readFrom:, -storeOn:) added. + (-perform:with:): duplicate declaration removed. - * cp-decl.c (finish_decl): Don't assume that TREE_PUBLIC means - "exported"; it can mean "imported". Decide with TREE_EXTERNAL. - (finish_function): Ditto. - * cp-decl2.c (write_vtable_entries): Ditto. - (finish_vtable_typedecl): Ditto. - (finish_vtable_vardecl): Ditto. - (finish_file): Ditto. +Fri Apr 9 17:42:11 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-lex.c (set_vardecl_interface_info): Public objects always - have TREE_PUBLIC, whether exported or imported. - * cp-pt.c (instantiate_member_templates): Ditto. + * config.sub: Accept i370, mvs. + For i370-ibm*, assume mvs by default. + Later, likewise, for i370-*. + For -mvs*, assume ibm as default vendor. + * c-lex.c (yylex): Use MAP_CHARACTER if it's defined. - Fri Apr 10 21:44:15 1992 Per Bothner (bothner@cygnus.com) + * cccp.c (no_precomp): Make it 1 by default. - * cp-method.c (build_overload_name): Mangle 'signed char' - as 'Sc' (i.e. differently from 'char'!). +Fri Apr 9 17:15:00 DJ Delorie (dj@ctron.com) - Fri Apr 10 17:38:04 1992 Mike Stump (mrs@cygnus.com) + * configure.bat: Updated to handle current Makefile + and new config/i386/go32.h. - * cp-typeck.c (convert_arguments): don't allow people to wipe const. + * config/i386/go32.h: New file. - Thu Apr 9 18:28:36 1992 Mike Stump (mrs@rtl.cygnus.com) + * config/i386/xm-dos.h: Define MKTEMP_EACH_FILE and + NO_PRECOMPILES. - * cp-tree.h: Add entry for $vb and $vf so that NO_DOLLAR_IN_LABEL - works. - * cp-class.c (finish_struct): Use the new macros from cp-tree.h. - * cp-tree.c (layout_basetypes): Use the new macros from cp-tree.h. +Fri Apr 9 15:11:25 1993 Ian Lance Taylor (ian@cygnus.com) - Thu Apr 9 02:11:01 1992 Mike Stump (mrs@rtl.cygnus.com) + * Makefile.in: Install as $(target)-gcc, not gcc-$(target). - * cp-typeck.c (build_function_call_real): Merge in a change made to - the C front end into the C++ front end to handle volatile functions. + * fixincludes: Avoid inserting #ifndefs in limits.h if they are + already there (solves HP/UX problem). - Thu Apr 9 03:45:03 1992 Mark Eichin (eichin at cygnus.com) +Thu Apr 8 21:36:11 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-class.c (finish_struct): sanity check before calling popclass. - If we're already hosed due to previous parse errors (specifically, - we're not inside a class anymore) just report an error rather than - crashing in popclass (if there wasn't a previous parse error, as the - message suggests, we should get reports; this closes gcc/p0000525.) + * 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. - Wed Apr 8 08:56:49 1992 Mike Stump (mrs@rtl.cygnus.com) + * expr.c (do_store_flag, case GT_EXPR, LE_EXPR): Don't + confuse highest unsigned value with -1. - * cp-decl.c (grokdeclarator): Fix an eichin bug introduced seconds - ago. Shame, he didn't put: + * 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. - Workaround for p869: - 1) grokdeclarator (around cp-decl.c:7462) is using popclass(1) - uses popclass(1) to close the pushclass(3) done by - build_push_scope; however, it's coming around another time and - popping all the way out, which leads to the core dump when - do_friend is called from global scope (do_friend uses - current_class_name to figure out whose friendship it is - bestowing.) Current workaround: if (friendp) don't allow - popping all the way out. We still need to figure out how to - make sure it only gets called the *right* time; we also need - to figure out if the correct scope is being used, but that's a - matter of regression testing. + * ns32k.h (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): + Add new register class GEN_AND_FLOAT_REGS. - into a ChangeLog entry. +Thu Apr 8 18:42:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Wed Apr 8 01:10:44 1992 Mike Stump (mrs@rtl.cygnus.com) + * Makefile.in (c-parse.y, objc-parse.y): Use sed, not awk. - * cp-decl.c: Cleanup binding_levels_sane related code. Deleted - argument, and changed to void type. Removed extraneous asserts. + * c-decl.c (finish_enum): Store layout results into variant types. - * cp-parse.y: Add fourth parameter to all finish_decl calls. - Defaulted the guess to 0. - * cp-decl.c: consistently use #if on all PARANOIDs. + * flow.c (mark_set_1): Clear reg_next_use at the proper place. -Wed Apr 15 14:00:14 1992 Michael Meissner (meissner@osf.org) +Thu Apr 8 10:50:00 1993 Ian Lance Taylor (ian@cygnus.com) - * mips.md (movstrsi_internal): Add '&' constraint on clobbers. + * 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. - * mips.c (output_movstrsi): If one of our temporary registers is - used as an address register, don't use it and emit a warning. This - is a temporary measure. +Thu Apr 8 06:58:27 1993 Michael Meissner (meissner@osf.org) -Wed Apr 15 09:04:22 1992 Richard M. Stallman (rms at lyssenko) + * c-tree.h (require_complete_type, lookup_name_current_level): Add + prototypes. - * xm-ns32k.h (memcpy, memcmp, memset): New macro definitions. - * rtl.c (gcc_memset): New function. + * 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 Apr 15 09:03:28 1992 Tom Wood (wood at dg-rtp.dg.com) +Wed Apr 7 14:37:41 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * m88k.md (umulsidi3): Define for m88110. - (unit attribute): Define. + * flow.c (mark_set_1): Clear reg_next_use for all kinds of regs. - * x-m88kdgux (INSTALL_HEADERS): Define as empty. +Wed Apr 7 09:18:20 1993 Michael Meissner (meissner@osf.org) -Tue Apr 14 13:28:11 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * 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. - * c-lex.c (yylex): When warn_traditional, don't abort for harmless - type differences. Instead warn of possible problems on other systems. +Tue Apr 6 18:07:20 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * rtl.c (add_dependence): Skip notes when HAVE_cc0. - * sched.c (sched_analyze_2): Likewise. + * c-decl.c (start_function): + Inhibit missing prototype warning for `main'. - * sparc.md (movdf-1): Delete special case for moving 0.0 to integer - registers; it resulted in poor code. - (fix_truncdfsi2+1): Add patterns to optimize float->fix and - float->fix->float conversions. - * sparc.c (output_move_double): Clean up ldd/std code. Don't emit - ldd/std for obviously unaligned address even when TARGET_HOPE_ALIGN. - (output_fp_move_double): Call output_move_double for MEM cases. - It is not safe to assume double reg addresses are always aligned. +Tue Apr 6 17:23:34 1993 Bill Cox (bill@cygnus.com) -Tue Apr 14 07:55:47 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * tree.h (require_complete_type, lookup_name_current_level): Add + prototypes. - * *hp800*, *hp700*: Rename to *hppa* and *hppa1.1*, respectively. - * config.sub: Recognize PA model numbers for PA 1.0 and 1.1. - Disable "hppa" with no model number. - * configure: Update for new PA file names and basic_machine names. - * README-PA-HPUX: New name for README-PA-RISC, with some corrections. +Tue Apr 6 15:09:42 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) -Tue Apr 14 05:46:37 1992 Tom Wood (wood at dg-rtp.dg.com) + * va-sparc.h (va_arg): Cast argument pointer to (char *). - * Makefile.in ("if" and "["): Romp, 4.3 BSD, and Ultirx systems - fail when the condition is false. Change troublesome instances to - either use "case" or use '-' as a prefix to the compilation rule. + * unroll.c (loop_iterations): When computing comparison_value, use + reg_set_p to identify instructions that modify it. -Mon Apr 13 18:20:56 1992 Mike Stump (mrs@cygnus.com) + * sparc.md (lshldi3, lshrdi3): Define. - * dwarfout.c: Add default definition for ASM_OUTPUT_ASCII - as that is what varasm.c does now. This really maybe should go - into a file like tree.h or some machine independant file, for - maintainability. + * Makefile.in (STAGESTUFF): Add insn-opinit.c, stamp-opinit, and + genopinit. -Mon Apr 13 18:16:32 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * cccp.c (do_include): For missing header file, if -M, don't + output dependencies, and warning not error if no dependency is + needed. - * sun3.h, sparc.h (LINK_SPEC): Change nostdlib to !nostdlib. + * 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. -Mon Apr 13 07:17:36 1992 John F Carr (jfc at Achates.mit.edu) + * function.c (init_function_start): Always set + current_funtion_returns_pcc_struct if PCC_STATIC_STRUCT_RETURN defined. - * rs6000.md (extzv): Generate andi[ul] when practical. + * sparc.md (movdi): End by returning the last template; otherwise + we return junk for a template. -Mon Apr 13 07:17:36 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * README.ALTOS: Comment as possibly obsolete. + * README.ENCAP: Delete. + * install.texi: Delete references to COFF encapsulation. - * cse.c (rtx_cost, case SUBREG): If modes can't be tied, make - expensive. - (cse_insn): Make extra entries when DEST is a multi-word SUBREG - as long as it is the same number of words as its inner REG. + * tree.h: Add more prototypes. - * emit-rtl.c (gen_lowpart_common): Handle casting integer to - float and vice versa. +Tue Apr 6 12:01:17 1993 Michael Meissner (meissner@osf.org) - * emit-rtl.c (gen_lowpart_common): Rework code to truncate a - constant so we don't convert negative values into positive values; - use same code as in simplify_binary_operation in cse. + * 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. -Mon Apr 13 07:16:56 1992 Richard M. Stallman (rms at mole.gnu.ai.mit.edu) + * mips.c (override_options): Set mips_section_threshold to + MIPS_DEFAULT_GVLAUE if -G xx not used. - * cccp.c (handle_directive): When find quote during copying, - give bp as limit arg in skip_quoted_string. - When find \ while copying, copy next char without special handling. + * mips/osfrose.h (DWARF_DEBUGGING_INFO): Define. + (MIPS_DEFAULT_GVALUE): If mips assembler, the value is 8, + otherwise it is 0. -Mon Apr 13 06:57:18 1992 Tom Wood (wood at dg-rtp.dg.com) + * i386/osfrose.h (DWARF_DEBUGGING_INFO): Define. + (PREFERRED_DEBUGGING_TYPE): Define as DBX_DEBUG. - * m88kv3.h (CTOR_LIST_BEGIN): Avoid complex #if. +Mon Apr 5 20:47:44 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * tree.h (saved_insns): Make this a union holding an rtx or an int. - (DECL_FIELD_SIZE): New macro for overloaded uses of DECL_FRAME_SIZE. - * c-decl.c (finish_struct): Use DECL_FIELD_SIZE for bitfields. - * cp-class.c (finish_struct): Ditto. - * objc-actions.c (objc_copy_list, encode_field_decl): Ditto. - * stor-layout.c (layout_decl): Ditto. + * 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. -Sun Apr 12 17:46:30 1992 James Van Artsdalen (james at bigtex.cactus.org) +Mon Apr 5 06:57:35 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * expr.c (expand_builtin, case SQRT): Don't defer popping args on - function calls, as the call might be deleted. + * expr.c (expand_expr, case SAVE_EXPR): Pass promoted type to + store_expr. - * i386.c (print_operand): Delete references to unused codes. - Abort if an unrecognized code is seen. +Mon Apr 5 03:26:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * i386.md (bit opcode recognizers): Accept starting bit numbers - that are constants but not CONST_INT. - (QI/HI register bit test): Delete. - (SImode bit test): Don't accept CONST_INT starting bit number. + * reload1.c (emit_reload_insns): Cast enum array index to int. -Sun Apr 12 17:05:25 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * expr.c (store_constructor): Properly compute size of array + when clearing the whole array. - * rs6000.h (ADDITIONAL_REGISTER_NAMES): Add "cc" as alias for cr0. +Mon Apr 5 02:54:54 1993 Per Bothner (bothner@hal.gnu.ai.mit.edu) - * cse.c (equiv_constant): See if a MEM is foldable or has a - constant equivalent. + * c-decl.c (lookup_name_current_level): Make non-static. - * expr.c (store_constructor): If building a static constructor - into a register, start out by zeroing the register so we can - constant-fold the constructor to a single constant. - (expand_expr, case CONSTRUCTOR): Don't write constant objects - into memory if the target is a register. - (expand_expr, case *_REF): Simplify getting field or array - entry from a CONSTRUCTOR. - Don't use value of const array unless -O. +Sun Apr 4 20:09:19 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) -Sun Apr 12 14:15:33 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * 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. - * Makefile.in (compare, compare3): New targets. - (mostlyclean): Delete temporary files made by those targets. + * 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. - * stmt.c (expand_asm_operands): Ignore `cc' as clobbered reg if name - not known. - * varasm.c (decode_reg_name): Ret -3 if `cc' not recognized. - (make_decl_rtl): Understand -3 as value. + * 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. - * configure (i386-sequent-bsd*): Use collect2. +Sun Apr 4 18:56:25 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) -Sun Apr 12 13:28:00 1992 Niklas Hallqvist (niklas@appli.se) + * pa.h (FUNCTION_OUTGOING_VALUE): Remove. + (FUNCTION_VALUE_REGNO_P): Return regs depend on TARGET_SNAKE. - * configure: Correctly interpret use_collect2. +Sun Apr 4 17:47:43 1993 John F Carr (jfc@Athena.mit.edu) -Sun Apr 12 10:34:58 1992 Tom Wood (wood at dg-rtp.dg.com) + * reorg.c (get_jump_flags): Check for LABEL == 0 before using + LABEL. - * c-typeck.c (digest_init): Use INIT to pass to convert_for_assignment - for a raw constructor. +Sun Apr 4 16:38:04 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * fold-const.c (fold, case COND_EXPR): Get the type right when - the test is folded away. + * mips-tfile.c: Change "illegal" to "invalid" in error messages. + (parse_stabs_common): Allow nonzero ignored fields in .stabs/.stabn. - * loop.c (strength_reduce): Correct off-by-one error in INSN_LUID - safety check. + * calls.c (expand_call) [PCC_STATIC_STRUCT_RETURN]: + Always set pcc_struct_value if aggregate_value_p returns 1. - * stor-layout (layout_record, layout_union): When limiting the - effect of PCC_BITFIELD_TYPE_MATTERS to bitfields, use - DECL_BIT_FIELD_TYPE to determine if it was a bitfield. + * Makefile.in (alloca.o): Delete -Demacs from command. -Sat Apr 11 19:54:00 1992 Per Bothner (bothner@wombat.gnu.ai.mit.edu) +Sun Apr 4 11:19:07 PDT 1993 Ron Guilmette (rfg at netcom.com) - * config.sub: Don't "standardize" an os of newsos* to bsd - (it breaks gdb/readline/configure.in, which checks for newsos*). + * dwarfout.c (type_attribute): Use the TYPE_MAIN_VARIANT of the + given type when calling `user_def_type_attribute'. -Sat Apr 11 16:32:21 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) +Sun Apr 4 07:57:18 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in: Remove spaces after reg-stack.o deps. + * optabs.c: Include reload.h. + * Makefile.in (optabs.o): Show includes reload.h. -Sat Apr 11 16:32:15 1992 Michael Meissner (meissner@osf.org) + * alpha.c (output_prolog): Need LDGP even for static procedure. - * c-decl.c (init_decl_processing): Make -fno-builtin supress all - builtin functions in the user's name space like memcpy, strlen, - etc. + * alpha.c (alpha_builtin_saveregs): Adjust for fact that + virtual_incoming_args_rtx includes pretend size. + * alpha.h (SETUP_INCOMING_VARARGS): Likewise. -Sat Apr 11 14:00:53 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * alpha.h (LINK_SPEC): Don't pass -O2 to ld; it seems to be broken. - * rs6000.h (LEGITIMIZE_ADDRESS): Add missing force_reg call. - Jump to WIN when we do something. + * 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. - * rs6000.c (non_{short,add,logical,and}_cint_operand): New functions. - * rs6000.h (PREDICATE_CODES): Add these predicates. - * rs6000.md (addsi3, andsi3, iorsi3, xorsi3, cmpsi3): Remove - define_expands; instead, add define_split for long constants. +Sun Apr 4 03:09:23 1993 Richard Stallman (rms@churchy.gnu.ai.mit.edu) - * combine.c (try_combine): Try to split the pattern using - split_insns before trying find_split_point. - (find_split_point, case MEM): Try to split an invalid address that - is a PLUS with a CONST_INT. + * gstdarg.h [__svr4__]: Test only _VA_LIST_ to avoid dup typedef. + (This used to be if __SVR4_2__.) - * combine.c (try_combine): Correctly check if an auto-inc - side-effect has been duplicated. + * config/m68k/m68k.c (floating_exact_log2): Initialize r1. - * expr.c (expand_expr, case PARM_DECL): Return zero of proper mode - if no DECL_RTL. - - * tree.c (save_expr): Must do something with read-only tree that - has side-effects. - (stabilize_reference_1): Don't ignore read-only trees. +Sat Apr 3 20:01:05 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * reload.c (find_replacement): New function. - * reload.h (find_replacement): Declare it. - * reload1.c (gen_input_reload): Use it to ensure substitutions - get done if we need to recreate a PLUS. + * pa.c (hppa_legitimize_address): Use Pmode consistently. -Sat Apr 11 14:00:02 1992 John F Carr (jfc at Achates.mit.edu) +Sat Apr 3 17:35:11 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cse.c (cse_end_of_basic_block): Don't stop scanning insns if a - jump is found that can't be followed. + * reload1.c (emit_reload_insns): Don't update the status of a + register from an input reload if it also has an output reload. - * genextract.c: Make insn_extract copy the address of - recog_operand and recog_operand_loc into register variables. + * expr.c (store_expr): Call size_binop instead of doing the + same thing with fold and build. -Sat Apr 11 13:59:17 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * combine.c (simplify_comparison, case PLUS): Generalize + simplification of (eq (plus A B) C). + (simplify_comparison, case MINUS): Add corresponding cases. - * c-parse.y (stmt): Parse entire parens of `for' - before actually starting the loop. +Fri Apr 2 19:11:46 1993 Richard Stallman (rms@geech.gnu.ai.mit.edu) -Sat Apr 11 10:35:06 1992 Jeffrey A. Law (law@mole.gnu.ai.mit.edu) + * c-parse.in (expr_no_commas, from ASSIGN op): + Store ERROR_MARK as the original code. - * caller-save.c (restore_referenced_regs): Do not call XEXP on - reg_equiv_address since reg_equiv_address is already an address. +Fri Apr 2 07:49:03 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * expr.c (expand_builtin, case SQRT): Note the dangers involved in - changing the argument test condition. + * 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. - * m68k.md (sqrtdf2): New pattern to take advantage of the 68881 - sqrt function. + * genopinit (optabs): Fix typo in name for "fix" pattern. -Fri Apr 10 18:37:08 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) +Thu Apr 1 21:24:04 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * hp800.c (output_function_epilogue): Output code to restore gr2 in - non-frame-pointer case correctly. + Cygnus<->FSF merge. -Fri Apr 10 15:24:57 1992 Michael Meissner (meissner@osf.org) + Thu Apr 1 17:20:05 1993 Mike Stump (mrs@sphagnum.cygnus.com) - * decrose.h (TARGET_MEM_FUNCTIONS): Define, memcpy/memset are - provided. + * 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. - * i386rose.h (TARGET_MEM_FUNCTIONS): Define, memcpy/memset are - provided. + Thu Apr 1 12:06:03 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * encrose.h (TARGET_MEM_FUNCTION): Define, memcpy/memset are - provided. + * 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-tfile.c (copy_object): Omit the test for zero flags, since - MIPS vendors are now putting bits in there. + * cp-decl.c (grokvardecl): Don't use declarator unless it's non-null + when looking for a redefinition. - * mips-svr4.h (HAVE_ATEXIT): Define, atexit is provided. - (TARGET_MEM_FUNCTIONS): Define, memcpy/memset are provided. + * cp-typeck.c (convert_for_initialization): Check if `rhs' is a + TREE_LIST before looking for its value. - * mips-sysv.h (TARGET_MEM_FUNCTIONS): Define, memcpy/memset are - provided. + * cp-init.c (expand_default_init): Don't clear DECL_REGISTER. - * mips-news5.h (TARGET_MEM_FUNCTIONS): Define, memcpy/memset are - provided. - (getpagesize): Define a getpagesize that uses sysconf, just like the - MIPS V.4 port. + Wed Mar 31 17:57:50 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * mips.c (output_block_move): Don't emit ulw/usw if GAS is the - assembler, use the lwl/lwr/swl/swr building blocks instead, since - GAS doesn't yet support the ulw/usw macro instructions. + * 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. - * configure (mips-sgi-irix4): Use config/iris4.h instead of - config/iris.h. + * 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. - * iris4.h (new file): Just like iris.h, atexit is provided (unlike - IRIX revision 3). + Wed Mar 31 14:43:50 1993 Mike Stump (mrs@cygnus.com) - * iris.h (TARGET_MEM_FUNCTIONS): Define, memcpy/memset are provided. + * 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. -Fri Apr 10 11:59:02 1992 James Van Artsdalen (james at bigtex.cactus.org) + Wed Mar 31 13:32:38 1993 Mike Stump (mrs@cygnus.com) - * i386.md (cmpstr patterns): Correctly handle zero length - compares. Rewrite to avoid needing scratch register. + * cp-method.c (report_type_mismatch): Arguments are numbered + starting from 1 now. -Thu Apr 9 14:05:04 1992 Michael Collison (collison at osf.org) + Tue Mar 30 17:21:18 1993 Mike Stump (mrs@cygnus.com) - * i386rose.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): Fix these to - avoid printing NaNs, and infinity. + * 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. -Thu Apr 9 11:34:31 1992 Tom Wood (wood at dg-rtp.dg.com) + Tue Mar 30 14:14:53 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * m88kluna.h (DEFAULT_GDB_EXTENSIONS): Define as 0. + * cp-decl2.c (check_classfn): Say which class when giving an error + about arglist mismatches or missing members. -Wed Apr 8 20:21:59 1992 Michael Meissner (meissner@osf.org) + * cp-decl.c (grokdeclarator): For class-local typedefs, call pushtag + to make sure the identifier is in scope properly. - * halfpic.c (all functions): Add a hash table for the lookup instead - of linear search. Don't use bits in the IDENTIFIER node, store the - information in the hash table. Always rebuild the SYMBOL_REF - returned by half_pic_ptr, instead of storing it away, since the RTL - gets reused at the end of the function. - (half_pic_declare): New function, called when a label is laid down - to say that it is no longer half-pic. + Mon Mar 29 18:05:22 1993 Mike Stump (mrs@cygnus.com) - * halfpic.h (half_pic_declare, HALF_PIC_DECLARE): Add function - defintion, and accessor macro. + lookup_fnfields hacking... Corrects some problems found with Thu + Mar 25 23:09:27 1993 vtable fixes. - * mips.h (HALF_PIC_DECLARE): Add dummy macro if not OSF/rose. - (ASM_DECLARE_OBJECT_NAME): Invoke HALF_PIC_DECLARE on name. - (ASM_DECLARE_FUNCTION_NAME): Ditto. - (*_SECTION_ASM_OP): Put the leading tab back in. + * 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. - * mips.md (dslot attribute): 'pic' type requires a delay slot, since - it is really a load. - (movsi): Make movsi a define_expand, and if it's moving the address - of a half-pic item into a register, convert it into a load. - (movsi_internal): The old movsi define_insn renamed. - (movstrsi_internal): Add '=' constraint on all stores and clobbers. + Mon Mar 29 16:42:58 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * decrose.h (LINK_SPEC): If not -noshrlib or -pic-none, pass - -warn_nopic. Allow user to pass -noshrlib directly. + * cp-method.c (dump_init): If the init value is an enum, then use + its tag in the error message, instead of its value. -Wed Apr 8 00:11:56 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * cp-typeck.c (build_binary_op_nodefault): Delete spurious warning + about comparision between signed/unsigned (matches C front-end). - * sparc.h (MOVE_MAX): Set to 8 instead of 4. + Fri Mar 26 16:30:57 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * sched.c (sched_analyze_2): Don't abort if find note before a CC0 - using insn. + * 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. - * sparc.h (ADDITIONAL_REGISTERS_NAMES): Add. Define fake reg name - ccr, for use in asm clobbers. + * 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. - * sparc.h (TARGET_FORCE_ALIGN): Add comment explaining that it - is for experimental purposes only. - (FIRST_PARM_OFFSET): Add 4 when TARGET_FORCE_ALIGN to ensure that - stack is double-word aligned. - (FIRST_PARM_CALLER_OFFSET): Delete obsolete macro. + Fri Mar 26 01:21:43 1993 Mike Stump (mrs@cygnus.com) - From Tom Wood: - * unroll.c (final_giv_value): Put the subtracts in the right place. + * cp-decl.c (grokdeclarator): Don't set TREE_PUBLIC for friends. - * sparc.c (compute_last_arg_offset): Delete, no longer needed. - (FRAME_POINTER_REQUIRED): Do not depend on frame size. + Fri Mar 26 01:09:34 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Tue Apr 7 22:36:33 1992 Michael Meissner (meissner@osf.org) + * cp-decl.c (pushdecl): Give a pedwarn, not a regular warning, when + we shadow a formal parameter. - * halfpic.c (whole file): Flesh out initial half-pic implementation - for the OSF/1 reference ports. This is still a work in progress. + * cp-init.c (expand_default_init): Get rid of spurious abort call. - * halfpic.h (toplevel): Add declarations for half_pic_finish and - half_pic_ptr. Add macros HALF_PIC_FINISH, HALF_PIC_PTR, and - HALF_PIC_PREFIX. + Thu Mar 25 23:09:27 1993 Mike Stump (mrs@cygnus.com) - * mips.h (call_memory_operand): Delete call_memory_operand - function declaration. - (PREDICATE_CODES): Ditto. - (CONSTANT_ADDRESS_P): Correctly reject half-pic addresses. + Major vtable re-vamp. - * mips.c (call_memory_operand): Delete function. + * 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. - * mips.md (call* patterns): Use memory_operand instead of - call_memory_operand for predicates. Use the test not register and - not CONSTANT_ADDRESS_P instead of call_memory_operand in the - define_expand body to test whether the function address needs to be - forced to a register. +Thu Apr 1 19:38:53 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * decrose.h (HALF_PIC_DEBUG): Define as true if -mdebugb, to debug - the half-pic code, just like debugging normal addressing. - (CPP_SPEC): Use the ____ form of the language macros instead - of __. - (LINK_SPEC): If -pic-lib and not -noshrlib, pass -warn_nopic. - (LIB_SPEC): Don't pass -L/usr/ccs/lib. + * reorg.c (redundant_insn_p): Stop searching for a redundant + insn if an INSN or JUMP_INSN with delayed effects is + encountered. - * x-decrose (CCLIBFLAGS): Pass -pic-extern when building libgcc1.a. - (LIBGCC2_CFLAGS): Pass -pic-extern when building libgcc2.a. +Thu Apr 1 12:00:01 1993 Michael Meissner (meissner@osf.org) -Tue Apr 7 19:00:56 1992 Tom Wood (wood at dg-rtp.dg.com) + * real.c (toplevel): Add 'extern' keyword in forward declaration + of arrays without bounds to silence warnings from the MIPS + compiler. - * xm-m88k.h (NO_SYS_SIGLIST): Not provided by the 88open standards. + * 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. - * m88k.c (output_ascii): Generalize to support ident - * m88k.h (ASM_OUTPUT_IDENT, ASM_OUTPUT_ASCII): Use output_ascii. + * mips/mips.md (untyped_call): Rewrite code so that the MIPS + compiler will not issue statement not reached warning messages. - * m88k.c, m88k.md, m88k.h: Integrate all changes to support the m88110. +Thu Apr 1 07:28:11 1993 James Van Artsdalen (james@bigtex.cactus.org) -Mon Apr 6 22:51:02 1992 John Wroclawski (jtw@lcs.mit.edu) + * expr.c (emit_push_insn, expand_assignment): Fix typo in last change. - * mips-tfile.c (read_seek): Fix argument order in calls to - fatal. +Thu Apr 1 02:31:16 1993 Per Bothner (bothner@hal.gnu.ai.mit.edu) -Mon Apr 6 21:17:38 1992 Mike Stump (mrs@albert.gnu.ai.mit.edu) + * 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. - * merged in Cygnus sources. +Thu Apr 1 02:11:10 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Mon Apr 6 15:26:09 1992 Mike Stump (mrs@cygnus.com) + * Makefile.in (LIB2FUNCS): Add _fixunsxfdi, _fixxfdi, _floatdixf, + _fixunsxfsi. - * cp-spew.c (hack_more_ids): Reimplement. Change from Niklas - Hallqvist. + * 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. - Thu Apr 2 02:36:36 1992 Mike Stump (mrs@rtl.cygnus.com) +Wed Mar 31 20:05:19 1993 Michael Meissner (meissner@osf.org) - * cp-*: Simplify DECL_NAME (TYPE_NAME into TYPE_IDENTIFIER. + * mips.h (CLASS_UNITS): Fix typo in previous change, patch from + ian@cygnus.com. - * cp-call.c (build_method_call): Fix an error message. +Wed Mar 31 17:18:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-parse.y (LC): Renamed to left_curly. - (TYPENAME_SCOPE): Renamed to typename_scope. + * toplev.c (compile_file): Call incomplete_decl_finalize_hook + only if nonzero. -Mon Apr 6 14:04:49 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Wed Mar 31 00:59:50 1993 Gerald Baumgarnter (gb@cs.purdue.edu) - * sparc.h (TARGET_HOPE_ALIGN): Fix typo, `-fast' -> `-dalign'. + * toplev.c (compile_file): Only call `*incomplete_decl_finalize_hook' + if the `decl' in question is a VAR_DECL. - * expr.c (expand_expr, INDIRECT_REF case): Set MEM_IN_STRUCT_P if - this is an indirect of the address of an array, struct, or union. +Wed Mar 31 15:27:41 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * jump.c: Delete declaration of squeeze_notes. - (jump_optimize): Use new return value from squeeze_notes. - (squeeze_notes): Handle the case where START may be a note that - must be moved outside the range. Now returns the new start value. - * loop.c (find_and_verify_loops): Use squeeze_notes return value. - * stmt.c (expand_end_case): Call squeeze_notes before reorder_insns. - * rtl.h: Declare squeeze_notes. + * pa.h (CONSTANT_ADDRESS_P): Fix typo in last change. - * rs6000.h (PTRDIFF_TYPE): Define to int. +Wed Mar 31 15:11:12 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - Mostly from tege@sics.se: - * sparc.c (eligible_for_epilogue_delay): Clarify comment. Delete - unreachable test of leaf_function. - (singlemove_string): Correct test for when can use sethi alone. - (output_function_prologue): Declare leaf_function. More - efficiently frame sizes greater than 4095. Correctly handle leaf - functions with frame greater than 4095. - (output_function_epilogue): Likewise. - (output_return): Likewise. + * 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. -Mon Apr 6 10:11:08 1992 Tim Moore (moore@defmacro.cs.utah.edu) +Wed Mar 31 11:28:21 1993 James Van Artsdalen (james@bigtex.cactus.org) - * config.sub : Add hp700 cpu type. - * configure : Make hp700-bsd and hp700-hpux cases, with use of gas - an option. - * hp700hpuxg.h, hp800hpuxg.h : New files for using gas under hpux. - * hp800.h (REGISTER_NAMES): Change to use %r style register names; - required to name PA-RISC 1.1 fp registers. - * x-hp800hpux : Don't invoke the assembler to compile alloca.c. - * README-PA-RISC: New file. + * reg-stack.c (emit_swap_insn): Don't link cc0 insns: emit swap + after cc0 user. -Mon Apr 6 08:00:06 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Wed Mar 31 07:00:45 1993 Richard Kenner (kenner@apple-gunkies.gnu.ai.mit.edu) - * reorg.c (relax_delay_slots): Don't get confused when a label - becomes zero (meaning end of function). + * expr.c (expand_expr, case ADDR_EXPR): Allow taking the + address of any object; used in call-by-reference situations. -Sun Apr 5 13:45:37 1992 Ron Guilmette (rfg at ncd.com) + * tree.c (next_type_uid): Move definition to reasonable place. + (copy_node): Make new DECL_UID and TYPE_UID as comments say. - * i860.md (floatsidf3): Fixed to expand to a correct insn sequence. + * expr.c (emit_block_move, emit_push_insn, expand_assignment): + Size passed to memcpy/bcopy is SIZETYPE, not Pmode. -Sun Apr 5 12:33:02 1992 John F Carr (jfc at Achates.mit.edu) + * 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. - * rs6000.h (EXTRA_CC_MODES, EXTRA_CC_NAMES): Add CCEQmode. - (SELECT_CC_MODE): Select it for equality comparison of comparison. - * rs6000.c (scc_comparison_operator): Reject improper use of - CCEQmode. - (ccr_bit): Handle CCEQmode, where bit is always third in field. - (print_operand, case 'E'): New case. - * rs6000.md: New pattern to compare two comparisons with - creqv/crxor. - Add peephole for two consecutive scc insns. + * alpha.h (INITIAL_ELIMINATION_OFFSET): Subtract + current_function_pretend_args_size from OFFSET for AP. - * combine.c (subst, case FFS): (ffs (*_extend X)) -> (ffs X) - (make_compound_operation): Handle (and (rotate X C) M). + * alpha.h (LINK_SPEC): New definition. - * flags.h (flag_cse_skip_blocks): New variable. - * toplev.c (flag_cse_skip_blocks): Define it here. - (f_options): Add it to table. - (main): -O2 turns it on. - * cse.c (invalidated_skipped_{set,block}): New functions. - (enum taken): New value, AROUND. - (cse_end_of_basic_block): New argument SKIP_BLOCKS. If it is - nonzero, follow a branch around a block of code which contains - no labels and set status = AROUND for the jump. - (cse_main): Pass FLAG_CSE_SKIP_BLOCKS argument to - cse_end_of_basic_block. - (cse_basic_block): If jump status is AROUND, call scan_skipped_block - before following jump. + * 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. -Sun Apr 5 04:16:46 1992 James Van Artsdalen (james at bigtex.cactus.org) +Wed Mar 31 02:02:29 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * optabs.c (emit_cmp_insn): Add missing parameter type declaration. + * gvarargs.h [__svr4__]: Test only _VA_LIST_ to avoid dup typedef. + (This used to be if __SVR4_2__.) - * expr.c (expand_builtin, case SQRT): Fix typo emitting insns. - Reformat to look like the rest of gcc. Use accessor macros to - access fields of an RTX. Make comments match code. + * local-alloc.c (optimize_reg_copy_1): Don't increment n_calls + specially if P is a call_insn. - * i386.md (cmpstr patterns): Handle zero length compares. + * convert.c (convert_to_real): Pass mode arg to REAL_VALUE_ATOF. -Sat Apr 4 04:40:58 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.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. - * reload.c (find_equiv_reg): Avoid passing zero to true_regnum. + * 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. - * expr.c (expand_expr, case COMPONENT_REF): Handle case where we - are extracting a field of a 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. - * a29k.h ({TEXT,READONLY_DATA,DATA}_SECTION_ASM_OP): Put tab back. + * cp-lex.c (yylex): Redo converting float values to desired type. - * rs6000.c (output_epilog): Reduce number of lines generated to - write traceback table. + * 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. - * combine.c (move_deaths): A destination is used in this insn - unless is it completely overwritten. + * 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. -Sat Apr 4 04:39:16 1992 John Carr (jfc at ATHENA.MIT.EDU) +Sun Mar 28 00:36:04 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) - * expmed.c (store_bit_field, extract_bit_field): Remove redundant - tests for MEM. + * fixincludes: Move comments about big sed command outside the + command itself. - * c-common.c (binary_op_error): Handle FLOOR_DIV_EXPR, FLOOR_MOD_EXPR, - *ROTATE_EXPR. - * c-typeck.c (build_binary_op): Handle FLOOR_MOD_EXPR. + * toplev.c (lang_options): Add -W{no-,}missing-braces. -Sat Apr 4 00:29:40 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-typeck.c (process_init_constructor, digest_init): + Check and set new static var partial_bracket_mentioned. - * c-decl.c (c_decode_option): `-' was missing in -Wno-redundant-decs. + * c-lex.c: Updated for recent change in c-parse.gperf. - * Makefile.in (USE_COLLECT2, MAYBE_USE_COLLECT2): New variables. - (GCC_PARTS, native, install-common): Use USE_COLLECT2. - (toplev.o): Use MAYBE_USE_COLLECT2. - * configure: Let particular cases set use_collect2 - and have that control use of collect2 through editing Makefile. - Handle --with-gnu-as and --with-gnu-ld options. Ignore --with-*. - --with-gnu-ld turns off use_collect2. - * i386rose.h (CC1PLUS_SPEC): Deleted. +Sat Mar 27 13:43:27 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * gcc.c (do_spec_1): In case 'D', strip final / from prefixes. + * 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. - * c-decl.c (push_c_function_context): Add pedantic warning. +Sat Mar 27 08:22:25 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * collect2.c (main): Figure STANDARD_EXEC_PREFIX into clen. + * 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. - * c-typeck.c (get_spelling): Move alloca outside fn call. + * va-alpha.h: Major rework to agree with new calling sequence. + Should have been installed with Feb 10th changes. -Fri Apr 3 16:36:54 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rs6000.md (mov[qhs]i): Allow moving a special reg to itself. - * varasm.c (output_constant_def): Set MEM_IN_STRUCT_P if nec. +Sat Mar 27 03:13:46 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) -Fri Apr 3 05:32:39 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * 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. - * m88k.md (call_block_move{,_loop}): Don't write USE for regs - we don't set; remove unneeded CLOBBERs for call-used registers. +Fri Mar 26 17:07:31 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * caller-save.c (insert_save_restore): Abort rather than writing - out an insn having a null source or destination. + * c-tree.h, output.h: Use STDIO_PROTO for prototypes with FILE. - * explow.c (allocate_dynamic_stack_space): Don't reference - STACK_BOUNDARY if it isn't defined. + * input.h: Add standard copyright notice. - * explow.c (allocate_dynamic_stack_space): Don't use TARGET if it - isn't a pseudo reg. + * caller-save.c: Add prototypes for static functions. + (choose_hard_reg_mode): Add missing parameters declaration. -Fri Apr 3 01:50:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * a29k.md (multiply/multiplu/mulm/mulmu insns): These clobber Q. - * fixinc.svr4: Don't reconvert __i386 if have _ after. +Fri Mar 26 06:23:31 1993 Tom Wood (wood@next.com) - * c-decl.c (grokdeclarator): Use size_binop to get array hbound - 1. + * 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. - * enquire.c: Include sys/types.h. +Fri Mar 26 02:09:02 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) - * c-typeck.c (check_format): Don't use type name for integer types - or pointers to them. + * configure (sparc-tti-*, m68k-tti-*): Don't set use_collect2. - * explow.c (allocate_dynamic_stack_space): New arg KNOWN_ALIGN. - All callers changed. +Fri Mar 26 01:05:43 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + Cygnus<->FSF merge. + + Thu Mar 25 18:19:19 1993 Mike Stump (mrs@cygnus.com) -Thu Apr 2 15:24:38 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * dbxout.c (dbxout_type): Output just xref for var-size struct/union. + Wed Mar 24 16:28:17 1993 Per Bothner (bothner@rtl.cygnus.com) - * reload.c (find_equiv_reg): In previous change, verify valtry != 0. + * cp-call.c (build_method_call): Fix handling of foo->~Class(). -Thu Apr 2 08:34:38 1992 Michael Meissner (meissner@osf.org) + Sat Mar 20 12:29:37 1993 Michael Tiemann (tiemann@rtl.cygnus.com) - * iris.h (SIZE_TYPE): Make type unsigned int, not unsigned long. - (PTRDIFF_TYPE): Define to be 'int', not 'long int'. - (WCHAR_TYPE): Define to be 'unsigned char', not 'int'. - (WCHAR_TYPE_SIZE): Define to be 8, not 32. + * 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. -Thu Apr 2 06:01:07 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + Fri Mar 19 15:58:34 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * fold-const.c (fold, case COND_EXPR): Add missing test for zero. + * cp-pt.c (tsubst): Call build_decl_overload for the new + instantiation. - * expr.c (expand_expr, case ARRAY_REF): Handle case of constant - array whose initializer is a string. + Thu Mar 18 19:09:39 1993 Ken Raeburn (raeburn@cygnus.com) - * optabs.c (emit_libcall_block): Don't move up insns that set - pseudos whose old values are used in previous insns. + * 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'. - * genattrtab.c (attr_rtx): Add some casts to int from enum rtx_code. + Tue Mar 2 16:24:39 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Thu Apr 2 04:20:30 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-typeck.c (c_expand_return): If operand 0 is a TREE_LIST, then + make sure to use its value. - * xm-mipsnbsd.h: New file. - * configure (mips-sony-bsd*): Use that. + Mon Mar 1 14:22:12 1993 Bill Cox (bill@rtl.cygnus.com) - * stmt.c (expand_end_case): Move the convert_to_mode after emit_queue. + * cp-decl.c (push_level_decl): Add cast to correct push_stack_level + parameter. -Thu Apr 2 00:49:18 1992 James Van Artsdalen (james at bigtex.cactus.org) + Mon Mar 1 10:19:38 1993 Mike Stump (mrs@cygnus.com) - * stmt.c (expand_end_case): Fix typo. + * cp-lex.c (do_identifier): Improve wording on error message. -Wed Apr 1 19:01:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Wed Feb 24 19:54:46 1993 Mike Stump (mrs@rtl.cygnus.com) - * fold-const.c (size_int): Always switch to permanent_obstack - to make a node that will be saved + * cp-typeck.c (commonparms, convert_for_assignment): Number + arguments starting at 1 in error messages to match the C front-end. -Wed Apr 1 15:36:19 1992 Michael Meissner (meissner@osf.org) + Wed Feb 24 14:55:54 1993 Mike Stump (mrs@cygnus.com) - * xm-irix4.h (alloca.h): Don't include if not using the - GNU compiler, since the Silicon Graphics compiler's alloca complains - if the result of alloca is stored in something that is not a simple - variable. Just use the C version of alloca.c. + * 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. -Wed Apr 1 14:42:24 1992 Torbjorn Granlund (tege@mole.gnu.ai.mit.edu) + Mon Feb 22 18:07:23 1993 Mike Stump (mrs@cygnus.com) - * pyr.md (HImode compare recognizers): Don't match if subsequent - branch has unsigned predicate. + * 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. -Wed Apr 1 14:20:13 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + Wed Feb 17 15:12:12 1993 Mike Stump (mrs@cygnus.com) - * sparc.c (output_function_epilogue): Drop unused true_epilogue - parameter. Delete obsolete tail-call support code, which worked - by passing -1 for leaf_function. - (tail_call_valid_p): Delete obsolete function. - (output_tail_call): Likewise. - * sparc.h (TARGET_TAIL_CALL): Delete obsolete option. - (FUNCTION_EPILOGUE): Fix call to output_function_epilogue. - * sparc.md (tail_call): Delete obsolete pattern. + * 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. - * rs6000.c (output_epilogue): Output a traceback table. + Tue Feb 16 22:47:29 1993 Mike Stump (mrs@cygnus.com) -Wed Apr 1 06:42:54 1992 Tom Wood (wood at dg-rtp.dg.com) + 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. - * m88k.h: Override ASM_OPs added to svr4.h. + * cp-search.c (get_binfo_recursive, get_base_distance_recursive): + New routines that use a depth first search strategy instead of + breadth first. + * cp-search.c (get_binfo): Re-implement, and use + get_binfo_recursive. + * cp-search.c (get_base_distance): Re-implement, and use + get_base_distance_recursive. + + * cp-class.c (related_vslot): New routine to ensure that only + vfields that are related to the given base_fndecl are modified. + Relies upon new searching scheme for base classes. + * cp-class.c (modify_vtable_entries): Use related_vslot to ensure + that only slots related to the base virtual function are filled in. + + * cp-class.c (build_vtable, prepare_fresh_vtable, finish_struct), + cp-tree.h: Remove DECL_VPARENT. + + * cp-class.c (get_vtable_entry): Use unsigned when dealing with + DECL_VINDEXes. + * cp-class.c (finish_struct): Use get_vtable_entry instead of open + coding that routine here. + + Fri Feb 12 10:24:52 1993 Brendan Kehoe (brendan@cygnus.com) + + * cp-decl.c (sigsegv): Check if SIGIOT is defined first. Also check + for SIGILL and SIGABRT. + (init_decl_processing): Likewise; set up handlers for SIGILL and + SIGABRT. + + Thu Feb 11 10:30:59 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + * 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. + + Tue Feb 9 10:02:58 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-lex.c (real_yylex): When parsing an exponent, check for 'e' and + 'E' explicitly. + + * 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-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. -Wed Apr 1 03:12:44 1992 Richard Stallman (rms@mole.gnu.ai.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. - * emit-rtl.c (operand_subword): Swap words from const_double if nec + Mon Feb 8 10:45:56 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * ns32k.h (GO_IF_INDEXING): New arg MODE; caller changed. - Pass to INDEX_TERM_P. + * cp-decl.c (grokdeclarator): Demangle DECLARATOR if it's an operator. -Tue Mar 31 18:10:10 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Thu Mar 25 11:38:02 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) - * genattrtab.c (check_attr_value): Fix some backwards tests. + * cccp.c (do_include): + For "..." case, leave fend pointing at terminating 0. + Distinct error msgs for empty file name and for bad syntax. - * expr.c (move_by_pieces{,_ninsns}): Only look at MODE_INT modes. + * Makefile.in (USER_H): Add va-clipper.h. - * fold-const.c (fold, case COND_EXPR): Fix typo in last change. +Thu Mar 25 07:01:14 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * stor-layout.c (layout_record): Add missing call to size_int. + * calls.c (store_one_arg): Fix typo in previous change. - * expr.c (do_store_flag): Handle case where EXP is a TRUTH_NOT_EXPR. +Thu Mar 25 03:37:51 1993 Mike Stump (mrs@hal.gnu.ai.mit.edu) -Tue Mar 31 17:18:20 1992 Jeffrey A. Law (law@mole.gnu.ai.mit.edu) + * 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. - * c-decl.c (init_decl_processing): Enable `sqrt'. - * expr.c (expand_builtin, case SQRT): By default check that the - argument to sqrt is in sqrt's domain. If the argument is not in the - domain, then call the library function. Skip argument checking if - -ffast-math is in use. +Wed Mar 24 17:53:11 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) - * flags.h (flag_fast_math): Declare new variable. - * toplev.c (f_options): Add flag_fast_math to table. + * c-parse.gperf: Change __cimag__ to __imag__, __creal__ to __real__, + to void rejection by gperf. -Tue Mar 31 17:11:09 1992 Per Bothner (bothner@wombat.gnu.ai.mit.edu) +Tue Mar 23 18:43:14 1993 Holger Teutsch (holger@hotbso.rhein-main.de) - * cccp.c: Add new flag -nostdinc++ to disable searching - standard C++-specific include directories. This is useful - for building libg++. - * gcc.c: Pass -nostdinc* to cpp, not just -nostdinc. - * cpp.texi: Document -nostdinc++. + * 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. -Tue Mar 31 15:32:34 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * clipper.h (HARD_REGNO_MODE_OK): DImode regs must start on even + registers. - * gcc.c (link_command_spec): Use %l before %X. + * gstdarg.h, gvarargs.h: Use va-clipper.h. - * svr4.h (MULTIBYTE_CHARS): Turned off. + * 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. - * sun3.h, sparc.h (LINK_SPEC): Inhibit -e if -nostdlib. +Wed Mar 24 1993 18:54:51 Paul Eggert (eggert@twinsun.com) - * collect2.c (my_strerror): Renamed from strerror. + * fixincludes (memory.h): + Use proper ANSI syntax in `#endif __memory_h__'. - * reload.c (find_equiv_reg): Find constants in REG_EQUIV notes. +Wed Mar 24 12:52:40 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * m68k.h (PRINT_OPERAND_PRINT_FLOAT): Fix typo in #ifdef. + * 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. - * Makefile.in (install-dir): Create include subdir. +Wed Mar 24 08:03:31 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Mar 31 18:03:21 1992 Thorsten Ohl (ohl@apollo.desy.de) + * rs6000.h (EXTRA_SECTION_FUNCTIONS, ASM_DECLARE_FUNCTION_NAME): + Don't output tab before .csect pseudo-op. - * x-apollo68 (CFLAGS, LIBGCC2_CFLAGS): Defined. - * t-apollo68: new file, use collect2. - * configure: use `t-apollo68'. +Wed Mar 24 02:01:14 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) - * apollo68.h (ASM_SPEC): Delete -C. - (STRUCT_VALUE_INCOMING): Now 0. - (HAVE_ATEXIT): Defined. - (PROMOTE_PROTOTYPES): Delete #undef. - (USER_LABEL_PREFIX): Undef. - (LOCAL_LABEL_PREFIX, REGISTER_PREFIX, REGISTER_PREFIX_MD): Override. - (ASM_RETURN_CASE_JUMP): Defined. - (REGISTER_NAMES): Override. + * config/pyr/pyr.h (NO_DOT_IN_LABEL): Defined. -Tue Mar 31 14:59:53 1992 Tim Moore (moore@defmacro.cs.utah.edu) + * tree.c (stabilize_reference_1): For division and remainder, + make a save_expr. - * hp800.md (movsi+4, call_value+1): Add x,y constraints for Snake - fp registers. - * hp800.h (INITIAL_FRAME_POINTER_OFFSET): Fix for Snake stack - alignment. - (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Fix for Snake fp - registers. - * hp800.c (output_function_prologue): Align stack for Snakes. - (output_arg_descriptor): Fix Snake typos. +Tue Mar 23 14:51:07 1993 Jim Wilson (wilson@geech.gnu.ai.mit.edu) + + * 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. + +Tue Mar 23 07:43:18 1993 Tom Wood (wood@next.com) + + * 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. + + * tree.h (enum built_in_function): Add BUILT_IN_APPLY_ARGS, + BUILT_IN_APPLY, and BUILT_IN_RETURN. + * c-decl.c (init_decl_processing): Declare __builtin_apply_args, + __builtin_apply, and __builtin_return. + * function.h (struct function): Add apply_args_value field. + * expr.c (apply_args_value): New variable. + (init_expr, save_expr_status, restore_expr_status): Initialize, + save, and restore apply_args_value. + (expand_builtin): Implement new built-in functions. + (apply_args_mode, apply_result_mode): New variables. + (apply_args_size, apply_result_size, result_vector, + expand_builtin_apply_args, expand_builtin_apply, + expand_builtin_return): New functions. + (INCOMING_REGNO, OUTGOING_REGNO): Supply default definitions. + * sparc.h (INCOMING_REGNO, OUTGOING_REGNO): Define. + * sparc.md (untyped_call, untyped_return): New patterns. + * i386.h (APPLY_RESULT_SIZE): Define. + * i386.md (untyped_call, untyped_return): New patterns. + * m68k/isi.h, m68k/m68k.h, m68k/m68kv4.h, m68k/mot3300.h + (NEEDS_UNTYPED_CALL): Define. + * m68k.md, fx80.md, gmicro.md, i860,md, ns32k.md + (untyped_call, blockage): New patterns. + * mips.md (untyped_call): New pattern. + +Tue Mar 23 06:38:36 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * calls.c (store_one_arg): Use int_size_in_bytes and + expr_size when appropriate instead of size_in_bytes. + + * regclass.c (record_reg_classes): When an alternative requires + a match, but we do it with a copy into a register, that alternative + wins. + + * cse.c (CHEAP_REG): Add missing parens. + + * expr.h: Don't declare fns that use "tree" if tree.h not included. + (emit_call_1): Remove decl. + (promoted_input_arg): Add prototype. + (fix_lexical_addr): Remove duplicate decl. + (copy_function_value, expand_stmt_expr): Delete; no such functions. + * calls.c: Include gvarargs.h. + Add prototypes to forward declarations and declare static functions. + (emit_call_1): Now static. + (emit_library_call, emit_library_call_value): Move to here. + * expr.c: Don't include gvarargs.h. + (emit_library_call, emit_library_call_value): Delete from here. + * Makefile.in (expr.o): Doesn't include gvarargs.h. + (calls.o): Now includes gvarargs.h. + + * dbxout.c (dbxout_type): Use int_size_in_bytes instead of + size_in_bytes for consistency with other code. + + * calls.c (expand_call): Use expr_size instead of doing it ourself. + +Mon Mar 22 19:15:17 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) + + * function.c (fixup_var_refs_insns): Don't delete an insn copying + var to itself, if it's the end of a libcall group. + +Mon Mar 22 15:28:48 1993 Paul Eggert (eggert@twinsun.com) + + * fixincludes: Use `set x $y; shift', not `set - $y', to avoid + altering sh options. Fix `#endif foo' constructions. Clean up + all DONE files. + +Mon Mar 22 17:02:58 1993 Doug Evans (dje@canuck.cygnus.com) + + * expr.h (MUST_PASS_IN_STACK): Make machine parameter. + +Mon Mar 22 01:38:41 1993 James Van Artsdalen (james at bigtex.cactus.org) + + * reload1.c (eliminate_regs): Eliminate regs within a CLOBBER. + + * emit-rtl.c (init_emit): Use INIT_EXPANDERS. + + * i386.c (output_fix_trunc): Use MEMs in insn as stack temps. + No need to allocate & deallocate stack space on the fly. - * hp700.h, hp700hpux.h : New files - (TARGET_DEFAULT): Emit Snake code by default. - * hp700hpux.h (HP_FP_ARG_DESCRIPTOR_REVERSED): Define to work - around assembler syntax difference between 700 and 800 series HPUX. - * hp800.h (ASM_DOUBLE_ARG_DESCRIPTORS): Conditionalize on the - above symbol. + (clear_386_stack_locals): New function. + (assign_386_stack_local): New function. + + * i386.h (PREFERRED_RELOAD_CLASS): Only narrow MODE_FLOAT reloads + from ALL_REGS to GENERAL_REGS. + (PREFERRED_OUTPUT_RELOAD_CLASS): Deleted. + + (INIT_EXPANDERS): New macro. -Tue Mar 31 09:58:52 1992 Michael Meissner (meissner@osf.org) + * i386.md (movsf,movdf): Use an input reload for MEM-MEM moves. + (extendsfdf2): Don't allow GENERAL_REGS in any operand. - * mips-sysv.h (getpagesize): When compiling the trampoline code, - define a macro getpagesize which uses the POSIX sysconf function. + (truncdfsf2): Allocate a stack temp in expander. + Use that in the output function. + (fix_truncMN2,fixuns_truncMN2): Likewise. + Allocate scratch reg from Q_REGS. - * mips-svr4.h (getpagesize): When compiling the trampoline code, - define a macro getpagesize which uses the POSIX sysconf function. +Sun Mar 21 17:24:09 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Mar 30 19:25:48 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * toplev.c (compile_file): If warning about a function + declared static but not defined, make the function extern. - * loop.c (strength_reduce): In recent maybe_multiple code, only - apply INSN_LUID to insn when safe. + * cccp.c (collect_expansion): Don't make # special in argless macro. -Mon Mar 30 17:24:33 1992 Michael Meissner (meissner@osf.org) + * 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. - * mips.c (output_block_move): Fix typos that would generate - incorrect code if either the source or destination is a global or - static memory address. Increment appropriate -mstats counters. +Sun Mar 21 16:30:22 1993 Michael Meissner (meissner@osf.org) - * x-iris (INSTALL): Use cp to install stuff, not install -c. + * t-osfrose (CONFIG2_H): Change include file name to osfrose.h. -Mon Mar 30 16:39:28 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * halfpic.h (prototype support): Fix recent changes for + prototypes, so it compiles again. - * m68k.md: Use `\;', not `;', to separate insns. + * configure (ns32k-encore-osf): Delete, last ns32k OSF/rose + machine turned off. - * toplev.c (main): Add cast when setting debug_info_level. + * encrose.h, x-encrose, t-encrose: Delete, no longer used. - * m68k.h (GLOBAL_ASM_OP): New macro. - (ASM_GLOBALIZE_LABEL): Use that. - * hp320.h, m68ksgs.h, mot3300.h (GLOBAL_ASM_OP): Override this. - (ASM_GLOBALIZE_LABEL): Not this. +Sun Mar 21 16:20:04 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * libgcc2.c (__builtin_saveregs) [sparc]: Define both assembler labels - __builtin_saveregs and ___builtin_saveregs, to handle all systems. + * integrate.c (copy_rtx_and_substitute, case USE): + Don't remove a subreg if ORIG had one. - * m68k.h (TRANSFER_FROM_TRAMPOLINE): Add a globalize command. - (TRAMPOLINE_TEMPLATE): Make the JSRs really JSRs. - Always use precisely ___trampoline. +Sun Mar 21 01:50:07 1993 Pat Rankin (rankin@eql.caltech.edu) -Mon Mar 30 07:17:50 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.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. - * reload1.c (inc_for_reload): Declare CODE consistently. - (constraint_accepts_reg_p): Add missing cast. +Sat Mar 20 22:46:31 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * fold-const.c (fold, case TRUTH_ANDIF_EXPR): Fix typo in last change. + * 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. -Mon Mar 30 01:07:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Mar 20 18:54:46 1993 Michael Meissner (meissner@osf.org) - * rtl.h: Don't continue #if lines. + * mips.h (TARGET_SWITCHES): Or in TARGET_CPU_DEFAULT for default + case. + (TARGET_CPU_DEFAULT): Default to 0. -Mon Mar 30 03:30:54 1992 Mike Stump (mrs@cygnus.com) +Sat Mar 20 14:52:26 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * Merge in Cygnus cp-* sources, below are the ChangeLog entries from - the Cygnus ChangeLog file. Note, I am experimenting with a slightly - different format, as Tiemann would like the dates to remain intact, - but Stallman does not want the dates out of order and would rather - have the entries altogether anyway. + * pa.h (singlemove_string): Declare. - Sun Mar 29 16:57:31 1992 Mike Stump (mrs@rtl.cygnus.com) + * configure: Add support for 4.4BSD on hp300s. + * hp3bsd44.h, x-hp3bsd44.h: New files for 4.4BSD on hp300s - * cp-decl.c (grokdeclarator): Handle typedef before other - specifiers, as typedef is now more complex in c++ than in c. + * pa.md (conditional branch patterns): Clean up constraints. - Sun Mar 29 12:00:03 1992 Michael Tiemann (tiemann@cygnus.com) + * pa.md (shadd reload patterns): Clean up output templates. - * cp-decl.c (start_function): Always set TREE_PUBLIC if DECL1 is - part of any interface. +Sat Mar 20 11:23:15 1993 Torbjorn Granlund (tege@gnu.ai.mit.edu) - * cp-cvt.c (convert_to_reference): Don't type to convert a type to - itself. - (build_type_conversion): Don't look for alternatives to default - type conversion except to integral and real types. Fixes bug - exposed in 19 March change. + * expmed.c (init_expmed): Fix typo in last change. - Tue Mar 24 07:53:46 1992 Michael Tiemann (tiemann@cygnus.com) +Sat Mar 20 07:11:54 1993 Richard Kenner (kenner@apple-gunkies.gnu.ai.mit.edu) - * cp-tree.c (lvalue_p): POST{INC,DEC}REMENT_EXPR is not an lvalue. - * cp-typeck.c (build_modify_expr): Ditto. + * 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. - * cp-init.c (emit_base_init): If debugging, force out a line note so - we can step into ctors for base initializers. - (build_virtual_init): Note that we need to do some more work to - handle replicated base classes in multiple inheritance lattices. + * fold-const.c (fold, case PLUS_EXPR): Don't associate apart + a constant operand. - Mon Mar 23 00:33:35 1992 Michael Tiemann (tiemann@cygnus.com) + * 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. - * cp-init.c (expand_aggr_init_1): Finish Mar 15 change concerning - INDIRECT_REFs that have TREE_HAS_CONSTRUCTOR set. +Sat Mar 20 03:16:52 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) - * cp-call.c (build_overload_call_real): Ensure FINAL_CP->EVIL is set - when FINAL_CP is non-NULL and we encounter an ERROR_MARK_NODE in the - operands we are processing. + * print-tree.c (print_node): Print the chain of a STRING_CST. - * cp-cvt.c (convert_to_reference): Propagate ERROR_MARK_NODE from - failed type conversions. + * c-lex.c (yylex): Copy the string value we get from __FUNCTION__. - Sun Mar 22 20:01:51 1992 Michael Tiemann (tiemann@cygnus.com) +Fri Mar 19 21:06:41 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * cp-init.c (is_aggr_typedef): Don't give an error message if NAME - is ERROR_MARK_NODE. + * expr.h: Correct partly nested comment. -Sun Mar 29 09:29:10 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + 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. - * make-gcc.com: Remove patch from March 7. + * xcoffout.h (DEBUG_SYMS_TEXT): Define. + * xcoffout.c (xcoffout_declare_function): Call dbxout_source_file + before emitting .function psuedo-op. - * make-l2.com: Use compiler that was just built, if available, - otherwise use system compiler if it is version 2. +Fri Mar 19 17:45:13 1993 Michael Meissner (meissner@osf.org) -Sun Mar 29 19:53:33 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * 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. - * fold-const.c ({invert,swap}_tree_comparison): New functions. - (comparison_equiv_p): Deleted. - (operand_equal_for_comparison_p): New function. - (invert_truthvalue): Use invert_tree_comparison. - (fold): Use variables T1 and TEM consistently. - Don't mix arg[01] and TREE_OPERAND (t, [01]); they aren't - identical. - (fold, comparison cases): Use new functions to adjust comparison - codes; add var INVERT. - Convert f >= f to f == f for FP and similar. - Correctly compute FP <= and >= when one arg is a NaN. - Clean up handling of constant results. - (fold, case COND_EXPR): Rework considerably to catch more forms - of abs, min, max, and -abs and also clean up; use new function - operand_equal_for_comparison_p. + * configure (target_cpu_default): Set to 16 when configuring a + MIPS using the GNU assembler. -Sun Mar 29 00:00:35 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Mar 19 06:27:34 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cse.c (simplify_relational_operation): Arg ptr reg may be 0. + * 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. - * gcc.c: Always define R_OK, etc. if system headers don't. + * 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. - * c-parse.y (maybe_attribute): Accept `mode (m)' attribute. - * c-common.c (decl_attributes): Handle that attribute. + * 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. - * tower.h (REGISTER_NAMES): Discard the fpa regs. - * tower-as.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): - Don't handle fpa regs. - (PUT_SDB_START_DIM, PUT_SDB_NEXT_DIM, PUT_SDB_LAST_DIM): - New macros. - (PUT_SDB_DIM): Deleted. +Fri Mar 19 01:37:54 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) - * m68k.h (RTX_COSTS): Smaller multiply costs on 68040. + * c-typeck.c (digest_init): Typo in last change. + (initializer_constant_valid_p): Handle COMPLEX_CST. - * stmt.c (expand_end_case): Reduce amount of specific modes - used in handling casesi. + * 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. - * collect2.c (savestring): Copy only SIZE bytes of string. + * calls.c (emit_call_1): Don't defer pops in const call. - * gstddef.h: Handle __need_size_t, __need_wchar_t, __need_ptrdiff_t, - and _need_null. +Thu Mar 18 17:02:24 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * c-typeck.c (digest_init): Save INIT with nops not stripped - to pass to convert_for_assignment. + * 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. -Sun Mar 29 12:27:01 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) +Thu Mar 18 21:28:43 1993 Paul Eggert (eggert@twinsun.com) - * vms.h (FUNCTION_PROLOGUE): Redefine to add 4 bytes to local - storage on the stack. - (STARTING_FRAME_OFFSET): Redefine as -4. + * 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. -Sun Mar 29 19:58:57 1992 Paul Eggert (eggert@twinsun.com) +Thu Mar 18 16:16:21 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) - * c-decl.c (store_parm_decls): Function prototypes now override - old-style definitions if argument types disagree only because of - promotions. + * c-typeck.c (digest_init): Handle COMPLEX_TYPE like other scalars. -Sun Mar 29 17:40:56 1992 Fred Fish (fnf at fishpond) + * c-parse.in (REALPART, IMAGPART): New token types. + (unary_expr): Handle REALPART, IMAGPART. - * fixincludes (stdlib.h): Fix free/calloc/malloc/realloc return types. + * expr.c (expand_expr): Don't ensure ref to a volatile value + if it is a function. -Sun Mar 29 15:12:39 1992 Ron Guilmette (rfg at ncd.com) + * c-parse.gperf: Add __cimag, __cimag__, __creal, __creal__. - * sparc.c (sparc_type_code): Added this new routine. - (tree.h): Included to support `sparc_type_code'. - (output_block_move): Cleaned up code to handle assembler-specific - aspects of internal labels. + * collect2.c (output_file): New static var. + (main): Set output_file. + (my_exit): Delete output_file on failure. - * sparc.h: (REG_ALLOC_ORDER, REG_LEAF_ALLOC_ORDER, LEAF_REGISTERS): - Deleted spurious semicolons. - (ASM_DECLARE_RESULT): New macro to generate the .proc directive. - (ASM_DECLARE_FUNCTION_NAME): Changed to use ASM_DECLARE_RESULT. - (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Changed to use - ASM_GENERATE_INTERNAL_LABEL when generating jump table elements. +Thu Mar 18 12:39:06 1993 Doug Evans (dje@canuck.cygnus.com) - * svr4.h (SVR4): Don't define this symbol here. (It was never - needed, and it will be used to indicate an SVR4 *host* from now on.) - (SKIP_ASM_OP): Define this new macro. - (ASM_OUTPUT_SKIP): Use SKIP_ASM_OP. - (ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL): Added - new definitions appropriate for most SVR4 assemblers. - (COMMON_ASM_OP, LOCAL_ASM_OP): Define these new macros. - (ASM_OUTPUT_ALIGNED_COMMON, ASM_OUTPUT_ALIGNED_LOCAL): Use them. - (ASM_OUTPUT_ALIGNED_LOCAL): Allocate things in common rather than - trying for the .bss section (which may not work). - (ASM_DECLARE_RESULT): Define this to do nothing (if not already - defained for target machine). - (ASM_DECLARE_FUNCTION_NAME): Add invocation of ASM_DECLARE_RESULT. + * function.c (assign_parms): Minor cleanup. + * calls.c (expand_call): Fix bug (don't clobber bitpos). - * dwarfout.c (ASM_DWARF_POP_SECTION): Renamed ASM_OUTPUT_POP_SECTION. - (PUSHSECTION_ASM_OP, POPSECTION_ASM_OP): New macro definitions. - (SECTION_ASM_OP): Deleted. Replaced by PUSHSECTION_ASM_OP. - (ASM_OUTPUT_PUSH_SECTION, PUSHSECTION_FORMAT): New macro definitions. - (*_SECTION): New macro definitions for important section name strings. - (ASM_DWARF_*_SECTION): Deleted all macros to change to specific - sections and replaced them globally with calls to the new parameterized - ASM_OUTPUT_PUSH_SECTION macro. +Thu Mar 18 00:08:40 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sat Mar 28 17:28:17 1992 Michael Meissner (meissner@osf.org) + * config/vax/vms.h (PCC_STATIC_STRUCT_RETURN): Add #undef. - * mips.h (MIPS_VERSION): Bump Meissner version # to 15. - (output_block_move): Add function defintion. - (HALF_PIC_PTR, HALF_PIC_FINISH): Provide dummy definitions. - (OPTIMIZATION_OPTIONS): Set flag_gnu_linker to FALSE, and - flag_no_cse_function to TRUE. - (CC1PLUS_SPEC): Delete -- it just passed -fno-gnu-binutils to - cc1plus. +Wed Mar 17 17:28:17 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * mips.c (block_move function): Use movstri_internal, instead of - emitting the moves directly. - (output_block_move): New function to emit the correct code for block - moving a constant amount of data. - (siginfo): Change options to ps. + * 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. - * mips.md (movstrsi_internal): New block move pattern. - (movsi_ulw): Add an appropriate REG_EQUIV regnote. - (movsi_usw): Type attribute is store, not load. +Wed Mar 17 17:24:29 1993 Michael Meissner (meissner@osf.org) - * mips-gbsd.h (toplevel): Include mips-bsd.h, not mips-gbsd.h. + * mips.h (MIPS_VERSION): Bump Meissner version to 35. + (TARGET_SWITCHES): Add -mlong-calls, delete -mwc* switches. - * mips-bsd.h (MD_STARTFILE_PREFIX, MD_EXEC_PREFIX): Use explicit - BSD43 prefixes. + * mips.md (call insns & expanders): If -mlong-calls, require + function address to be in a register. - * mips-sysv.h (MD_STARTFILE_PREFIX, MD_EXEC_PREFIX): Use explicit - System V prefixes. + * x-iris (OLDCC): Iris now needs -Wf,-XNh1500 as well. - * mips-svr4.h (MD_STARTFILE_PREFIX, MD_EXEC_PREFIX): Use explicit - System V.4 prefixes. +Wed Mar 17 16:00:29 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * decstatn.h (TARGET_MEM_FUNCTIONS): Define. + * 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. -Sat Mar 28 15:12:39 1992 Ron Guilmette (rfg at ncd.com) + * 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. - * libgcc2.c (eprintf): Make argument types comsistant with assert.h. - (__builtin_new, __builtin_vec_new): Declare all external functions. - (default_new_handler): Use a macro for the "memory exausted" message. +Wed Mar 17 14:58:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * sparcv4.h: File completely replaced (with one that works). + * config/vax/vms.h (STRUCT_VALUE): Defined. + (STRUCT_VALUE_REGNUM): Add #undef. -Sat Mar 28 15:09:46 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Mar 17 14:23:25 1993 Torbjorn Granlund (tege@gnu.ai.mit.edu) - * toplev.c (flag_gnu_linker): Default to 0 if USE_COLLECT2. + * pa.md (branch-on-bit): New patterns. + * pa.c (pc_or_label_operand): New predicate. - * i386.h (TARGET_SWITCHES): Add svr3-shlib. - (TARGET_SVR3_SHLIB): New macro. - * i386v.h (ASM_OUTPUT_LOCAL): Override definition here. +Wed Mar 17 02:46:58 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Makefile.in (gcc.xtar): Update version in README. + * config/m68k/m68k.md (movqi): In address reg case, if d0 + appears in the address, use d1 instead as intermediate reg. - * libgcc2.c [sparc] (__builtin_saveregs): Add optional .proc, - .type and .size assembler commands. +Tue Mar 16 17:42:14 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * dbxout.c (dbxout_type): New arg SHOW_ARG_TYPES. All calls changed. - (dbxout_type_methods): Mostly rewritten, with Tiemann's help. + * 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. - * Eliminate limit on alignment value of a variable or field. - * tree.h (DECL_ALIGN): Use frame_size slot. - (struct tree_decl): `align' slot deleted. - * print-tree.c (print_node): Print `align' or `frame_size', not both. - * expr.c (get_pointer_alignment): Don't use DECL_ALIGN of function. - * c-decl.c (duplicate_decls, finish_enum): Likewise. - * tree.c (make_node): Likewise. - * c-common.c (decl_attributes): Eliminate limit of 255 on alignment. +Tue Mar 16 14:55:40 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * collect2.c: Don't include gstdarg.h or gvarargs.h. - Make error messages follow standards. - (error, fatal, fatal_perror): Don't use varargs. - Accept as many args as anyone tries to use. + * x-apollo68 (CFLAGS, LIBGCC2_CFLAGS): Delete overrides and + comment why they were wrong. - * cp-decl2.c: Get rid of -fgnu-binutils. + * c-decl.c (grokdeclarator, ARRARY_REF): If exern, then end + temporary allocation before building type. - * ns32k.h (INDIRECTABLE_ADDRESS_P): Deleted. - (GO_IF_NONINDEXED_ADDRESS): Delete dupllicate test for reg+offset. - (MEM_REG): Don't accept constant here. - (INDIRECTABLE_2_ADDRESS_P): Adapt usage of MEM_REG. - (GO_IF_INDEXING, GO_IF_INDEXABLE_ADDRESS): New macros. - (GO_IF_LEGITIMATE_ADDRESS): Use them. + * sparc.h (SECONDARY_MEMORY_NEEDED_RTX): Define. + * reload.c (get_secondary_mem): Use macro SECONDARY_MEMORY_NEEDED_RTX. -Sat Mar 28 20:48:20 1992 Chip Salzenberg (chip at tct.com) +Tue Mar 16 03:49:13 1993 James Van Artsdalen (james at bigtex.cactus.org) - * stor-layout.c (layout_record, layout_union): - Limit effect of PCC_BITFIELD_TYPE_MATTERS to actual bitfields. - (layout_decl): Do not override a packed decl's alignment. + * cse.c (FIXED_REGNO_P): Pseudos can't be fixed regs. - * c-common.c (decl_attributes): Don't expect a simple - attribute like "packed" to be in a LIST_NODE. +Tue Mar 16 04:33:41 1993 Paul Eggert (eggert@twinsun.com) + + * cccp.c (main): Report errors in output to pcp_outfile. - * c-decl.c (finish_struct): If a field has the "packed" - attribute, don't override it with type's normal alignment. +Mon Mar 15 21:30:32 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sat Mar 28 06:51:12 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cccp.c (write_output): Test value of `write'; report errors. + (write_output): Use pfatal_with_name for errors. + (out_fname): Var now file-scope. - * integrate.c (initialize_for_inline): Replace DECL_INCOMING_RTL - if it has an address shared with DECL_RTL, not just when the entire - value is shared. +Mon Mar 15 20:52:17 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * rs6000.c (input_operand): Clean up and make comments agree with - code; no changes to what is matched. + * pa.h (EXTRA_CONSTRAINT, case 'S'): Do not accept CONSTANT_P if + TARGET_LONG_CALLS. - * loop.c (add_label_notes): Handle operands of type 'E'. + * pa.h (EXTRA_CONSTRAINT): Merge strict and non-strict variants. + Delete 'R' constraint. - * rs6000.c (print_operand, case 'A'): Fix typo. +Mon Mar 15 18:38:22 1993 Torbjorn Granlund (tege@sics.se) -Sat Mar 28 01:29:06 1992 James Van Artsdalen (james at bigtex.cactus.org) + * 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. - * output.h (current_function_uses_const_pool): New declaration. +Mon Mar 15 16:44:08 1993 Doug Evans (dje@canuck.cygnus.com) - * i386.c (function_{prologue,epilogue}, simple_386_epilogue): - If the constant pool is used, the PIC reg will be used. + * function.c (assign_parms): Remove unnecessary #ifdef. - * expr.c (expand_builtin): Add support for named pattern strlenM. - * expr.h (strlen_optab): New declaration. - * optabs.c (init_optabs): Initialize strlen_optabs. - * i386.md (strlensi): New pattern. +Mon Mar 15 14:33:52 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) -Fri Mar 27 12:11:03 1992 Fred Fish (fnf at fishpond) + * 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. - * fixinc.svr4 (dbm.h): Fix unconditional redefinition of NULL + * xm-sol2.h (NO_SYS_SIGLIST): Define. - * config.sub: Add i486 as a distinct CPU type. Recognize i486v4 - as distinct from i386v4. Change ncr3000 to i486. - * configure: Add i486-ncr-sysv4. - * config/x-ncr3000: New file. + * i960.c (print_operand_address): For MULT, set ireg not breg. -Fri Mar 27 18:44:45 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * sparc.md (zero_extendqisi2+4,+5): Add new patterns for combining + a SI->QI mode truncate with an insn that sets the condition codes. - * fold-const.c (twoval_comparison_p, eval_subst): New functions. - (fold): If an operand of a comparison is a COMPOUND_EXPR, move - it outside the comparison. - (case GT_EXPR, ...): Replace old code to fold comparisons - of comparisons with new code using new functions above. - When changing code of unsigned comparisons, set variable CODE. + * config.sub (sparclite, sparclite-*): New configuration. + * configure (sparclite-*-*): Likewise. + * sparc/lite.h: New file. - * expr.c (get_inner_reference): Return BLKmode and -1 size for a - variable-sized object instead of aborting. - (do_jump, case COMPONENT_REF): If get_inner_reference returns a - size of -1, don't do anything special. - * fold-const.c (optimize_bit_field_compare, decode_field_reference): - Likewise. + * sched.c (adjust_priority): Comment unreachable code. + (memrefs_conflict_p): Add comment about Fortran aliasing. - * combine.c (reg_bitfield_target_p): Replace test with one that - compares the register number of X with that of a register which - is the target of the assignment. +Mon Mar 15 13:54:06 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * loop.h (struct_induction): New field maybe_multiple. - * loop.c (strength_reduce): Track when code may be executed more - than once per iteration; pass to record_biv. - Call update_giv_derive on every JUMP_INSN. - (record_biv): Copy new maybe_multiple arg to struct induction. - (record_giv): Clear maybe_multiple. - (update_giv_derive): If passing JUMP_INSN, look at maybe_multiple - in biv update. + * cse.c (simplify_plus_minus): Remove last change. Instead, + count initial operands and test against that count to see if we + did anything. - * expr.c (expand_expr, case MODIFY_EXPR): Add missing call to - do_pending_stack_adjust. + * alpha.h (ASM_OUTPUT_{INT,SHORT,CHAR,BYTE}): Truncate constant + to maximum range permitted in order to avoid assembler error. - * rs6000.h (OBJECT_FORMAT_COFF): Add definition. +Mon Mar 15 13:37:35 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) -Fri Mar 27 15:58:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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) - * c-typeck.c (check_format): If arg wants void *, accept any ptr. + * configure (rs6000-ibm-aix3.2): Renamed from rs6000-ibm-aix32. - * ns32k.md (CALL_MEMREF_IMPLICIT, MOVD_FLOAT_OK): - New parameters replace GAS_SYNTAX. - * pc532.h (CALL_MEMREF_IMPLICIT, MOVD_FLOAT_OK): Define both. - * sequent.h (CALL_MEMREF_IMPLICIT): Defined. +Sun Mar 14 22:54:10 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * sequent.h (INDEX_RATHER_THAN_BASE): Defined. - * ns32k.c (print_operand_address): Check it here. + * reorg.c (find_end_label): Update unfilled_slots if the return + insn we make has a delay slot. - * ns32k.c (print_operand_address): Treat all non-ints as symbolic. - (print_operand): Likewise. Also fix typo, use PUT_ABSOLUTE_PREFIX, - and test NO_ABSOLUTE_PREFIX_IF_SYMBOLIC. +Sun Mar 14 21:27:48 1993 Torbjorn Granlund (tege@sics.se) - * svr4.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): - Output newline after section op. - * i860v3.h (DTORS_SECTION_ASM_OP, CTORS_SECTION_ASM_OP): - Delete newlines. + * 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. - * Makefile.in (clean): Don't delete stage*. - (distclean): Do it here. - (extraclean): Delete config/patch*. +Sun Mar 14 06:34:28 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in (SYSCALLS.c): Target deleted. - (SYSCALLS.c.X): Create SYSCALLS.c and use it in one rule. Delete also. + * 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. - * Makefile.in (ld): New target. - * t-* (ld, collect2*): Targets deleted. - (EXTRA_PROGRAMS): Moved ld here if it was in EXTRA_PASSES. - (EXTRA_PASSES): Delete ld. + * cse.c (simplify_plus_minus): Reject "simplifications" that are + too complex in form. + Correct sign error in expanding NOT. - * gcc.c, cccp.c: Don't include sys/file.h. +Sun Mar 14 00:02:12 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * fold-const.c (operand_equal_p): Floats must match bit for bit. + * reload1.c (choose_reload_regs): Verify reload_out[j] != 0 + before comparing with reload_earlyclobber elements. - * gcc.c (link_command_spec): Put back -u*. +Sat Mar 13 21:05:12 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Mar 27 11:33:46 1992 Simon J. Gerraty (sjg@melb.bull.oz.au) + * calls.c (emit_call_1): Restore inhibit_defer_pop before popping args + so that pops really do get deferred if appropriate. - * configure (m68k-bull-sysv*): Added config for Bull DPX/2 - * dpx2.h, dpx2g.h: New files. - * x-dpx2200, x-dpx2300, t-dpx2: New files. - * gstddef.h: Added _SIZET_ to the list of protection for size_t +Sat Mar 13 18:13:30 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Fri Mar 27 14:47:47 1992 Paul Eggert (eggert@twinsun.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. - * c-typeck.c (convert_arguments): -Wconversion wrongly warned when - passing enums, and didn't warn about int precision mismatches. + * calls.c, expr.c: Correctly define PUSH_ARGS_REVERSED. - * fold-const.c (fold): If IEEE, 0-x is not x. +Sat Mar 13 16:49:10 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * cse.c (simplify_unary_operation): fabs(-0.0) is 0.0, not -0.0. - * fold-const.c: Replace target_minus_zero with target_negative. - (fold_convert): Warn when converting NaN constants to integer. - (fold): fabs(-0.0) is 0.0, not -0.0. 0-x may not equal -x. - Do not optimize X++ == C to ++X == C+1 if C is floating point, - because it runs afoul of rounding error. - * real.h (REAL_VALUE_NEGATIVE): Add. + * pa.c (eligible_for_epilogue_delay): Insns which access %r2 can + not be used to fill the epilogue's delay slot. -Fri Mar 27 09:19:11 1992 Tom Wood (wood@dg-rtp.dg.com) +Sat Mar 13 15:31:02 1993 James Van Artsdalen (james at bigtex.cactus.org) - * m88k.c (emit_move_sequence): Check the size required for a zero - constant. + * reg-stack.c (emit_swap_insn): If emitting after a cc0 setter, + link the cc0 insns. - * varasm.c (const_hash, compare_constant_1, record_constant_1): - For constructor of an array, include the size of the array in bytes. +Fri Mar 12 17:45:36 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Mar 27 09:09:53 1992 Michael Meissner (meissner@osf.org) + * 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. - * t-decstatn (ALL): Remove variable. - * t-decrose (ALL): Ditto. - * t-i386rose (ALL): Ditto. - * t-encrose (ALL): Ditto. + * expr.c (emit_push_insn): Handle failure of gen_movstr... -Fri Mar 27 17:51:32 1992 Jim Wilson (wilson@sphagnum.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. - * rs6000.c (first_reg_to_save): When profiling, save space for the - argument registers, which need to be saved around the mcount call. - (output_prolog): Mark the link register as live when profiling. - (output_function_profiler): New function. Output code to call - mcount. - * rs6000.h (LIB_SPEC): Replace incorrect definition. Add - -L/lib/profiled and -L/usr/lib/profiled when profiling, -lg when - debugging, and -lc always. - (OVERRIDE_OPTIONS): No longer zero profile_flag. - (FUNCTION_PROFILER): Call output_function_profiler. +Fri Mar 12 17:25:35 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * .gdbinit (complaints): Set to 20. - (pbs): New command to call the cc1plus print_binding_stack function. + * expr.c: Add prototypes for static functions. + (struct move_by_pieces): Move definition before function + forward decls. - * calls.c (expand_call): Delete obsolete references to is_builtin_new. + * rs6000.h, a29k.h (PROMOTE_MODE): Fix typo. - * Makefile.in (Makefile): Add dependence on version.c. + * cse.c (refers_to_mem_p): Use rtx_equal_p to see if bases + are equal. -Thu Mar 26 19:21:00 1992 James Van Artsdalen (james at bigtex.cactus.org) + * cse.c (set_nonvarying_address_components): Fix type mismatch with + caller. + (refers_to_mem_p): Call properly in second call. - * i386.md (fixuns_truncMN2,fix_truncMdf2): Make a copy of the input - operand and clobber that, rather than clobbering the operand itself. + * jump.c (jump_optimize): Fix bug in last change. -Thu Mar 26 18:06:32 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Mar 12 07:25:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * protoize.c (shortpath): Add early check of size of shortname. + * optabs.c (expand_binop): For doubleword int addition, + clobber the whole register at the start. - * expr.c (do_jump): Adjust stack after any code that might be skipped. +Fri Mar 12 03:19:26 1993 James Van Artsdalen (james at bigtex.cactus.org) -Thu Mar 26 06:37:35 1992 Michael Meissner (meissner@osf.org) + * reg-stack.c (get_true_reg): Don't ignore FLOAT_TRUNCATE. + (subst_stack_regs_pat): Substitute in FLOAT_TRUNCATE insns. - * mips.c (toplevel): If NO_STAB_H is defined, include gstab.h - instead of stab.h. + (compare_for_stack_reg): Reset insn code after swapping operands. -Thu Mar 26 02:21:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * Makefile.in (STAGESTUFF): Add EXTRA_PROGRAMS. + (SELECT_CC_MODE): Use VOIDmode for non-FP-equality comparisons. - * configure: Reorder mips alternatives; put mips-mips-* at end. + * i386.md (truncdfsf2): Rewrite to allow FLOAT_REGS in constraints + for better register preferences. - * sparc.h (FRAME_POINTER_REQUIRED): 0 if frame is too big. - * sparc.c (compute_last_frame_offset): New function. + (movM): If REG_WAS_0, make sure the reg hasn't changed since then. -Wed Mar 25 21:17:36 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + (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. - * genattrtab.c (check_attr_test): Use XSTR instead of XEXP in one - place. + (cmpdf,cmpsf recognizers): When using VOIDmode as mode of the + COMPARE rtx, require that the mode be exactly VOIDmode. - * genextract.c (mark_operand_seen): Call xrealloc properly. + * i386.c (VOIDmode_compare_op): New operand predicate function. -Wed Mar 25 17:05:56 1992 Torbjorn Granlund (tege at zevs.sics.se) + * vax.md (movM): If REG_WAS_0, make sure the reg hasn't changed + since then. + * tahoe.md (movM): Likewise. - * hp800.c (srcsi_operand): New function. - * hp800.md (mulsi, divsi, udivsi, modsi, umodsi): Use srcsi_operand - for inputs. - (mulsi): Use general_operand for output. - (one_cmplsi2): Use register_operand for output. +Thu Mar 11 19:23:51 1993 Doug Evans (dje@canuck.cygnus.com) -Wed Mar 25 15:50:12 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * m68k.md (fsgldiv pattern): If FSGLDIV_USE_S, opcode has .s, not .x. - * amix.h (FSGLDIV_USE_S): Defined. +Thu Mar 11 19:02:55 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * xm-rs6000.h (REAL_NM_FILE_NAME): Defined. + * 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. - * x-i386sco (CCLIBFLAGS): Define as empty. + * 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. -Wed Mar 25 16:52:53 1992 Michael Meissner (meissner at osf.org) +Thu Mar 11 07:47:09 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * collect2.c (OSF/rose scan_prog_file): If we are building a - program instead of a shared library, don't create an initializer - function entry. + * 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 Mar 24 04:00:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * Version 2.1 released. +Wed Mar 10 23:52:40 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * xcoffout.h: Renamed from xcoff.h. - * dbxout.c, final.c, toplev.c, varasm.c, xcoffout.c: Use new name. - * Makefile.in: Corresponding changes. + * fixincludes: Delete ${LIB}/DONE just before exit. - * dbxout.c (dbxout_type): Don't check DECL_IGNORED_P. +Wed Mar 10 12:27:51 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * t-rs6000: Complete replacement, to build collect2 properly. + * pa.c (reg_or_cint_move_operand): Use cint_ok_for_move. - * Makefile.in (mostlyclean): Delete sorted indices that aren't used. - (extraclean): Delete patch outputs, *.d, *.Z, *.tar. + * 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. - * Makefile.dos (getpwd.o): New target. - (OBJS, protoize, unprotoize): Add getpwd.o. - (SYSCALLS.c, SYSCALLS.c.X): Copy from Makefile.in. + * jump.c (jump_optimize, clause for `if (foo) b++'): + Do this regardless of BRANCH_COST if HAVE_incscc or + HAVE_decscc is defined. -Tue Mar 24 06:26:26 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Wed Mar 10 11:50:06 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - * cse.c (cse_insn): When deleting dead code after - making unconditional branch, check for end of chain. + * 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. - * sched.c (update_flow_info): Add code for REG_LABEL case. +Wed Mar 10 01:43:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * function.c (instantiate_virtual_regs_1): Don't modify a MEM - without copying it unless the modified MEM is valid. + * objc-act.c (OBJC_GEN_METHOD_LABEL): Convert colons to _'s. + Don't use the category name or the number. - * cse.c (rtx_cost): Assign ASM_OPERANDS a high cost. + * gcc.c (link_command_spec): New option -nostartfiles. -Tue Mar 24 05:48:25 1992 Ken Raeburn (raeburn@wombat.gnu.ai.mit.edu) +Tue Mar 9 18:55:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-*: Disabled 22 March changes relating to dbxout.c; the problem - will be fixed properly, with more extensive reworking of the C++ - front end, later. This fix was buggy. - * dbxout.c (dbxout_type_methods): Reverted 22 March changes; if a - template class is passed, print a warning message and emit no info - about methods. + * convert.c (convert_to_complex): Avoid using comptypes. -Mon Mar 23 14:18:30 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) +Tue Mar 9 11:33:32 1993 Michael Meissner (meissner@osf.org) - * make-cc1.com: Add getpwd.c. + * objc-act.c (#ifdef NEXT_OBJC_RUNTIME): Close #ifdef properly. -Mon Mar 23 12:53:02 1992 Jyrki Kuoppala (jkp@batman.cs.hut.fi) +Tue Mar 9 00:03:03 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * pc532-min.h (HAVE_ATEXIT): Defined. + * flags.h (flag_volatile_global): Declared. - * ns32k.c (print_operand) [PC_RELATIVE]: - Always use output_address for MEM. + * c-decl.c (define_label): Use current line number in error msg. - * pc532.h (BASE_REG_NEEDED): Defined. +Mon Mar 8 16:11:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Mar 23 07:28:14 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * config/i386/i386.h (HARD_REGNO_MODE_OK): Add some casts. - * combine.c (try_combine): Correct error in last change; don't - pass STRICT_LOW_PART or ZERO_EXTRACT to reg_overlap_mentioned_p. + * reg-stack.c (record_asm_reg_life): Cast class to int for indexing. - * sun3.h (CPP_SPEC): Delete extra brace. + * sdbout.c (PUSH_DERIVED_LEVEL): Cast enumm constants to int. -Mon Mar 23 02:43:56 1992 Michael Tiemann (tiemann@mole.gnu.ai.mit.edu) + * toplev.c (flag_volatile_global): New variable. + (f_options): Add option for it. + * varasm.c (make_decl_rtl): Handle that option. - * cp-decl.c (pop_from_top_level): Take care of C_C_D. + * 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. -Sun Mar 22 17:24:09 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) +Mon Mar 8 12:01:49 1993 Paul Eggert (eggert@twinsun.com) - * pyr.h: Remove TARGET_INDEX. Update other TARGET switches. - Fix several comments. - (REGNO_OK_FOR_BASE_P): Allow reg 0. - (REGNO_OK_FOR_INDEX_P): Reformulate. - (REG_OK_FOR_INDEX_P): Disallow reg 0. + * fold-const.c (const_binop): When evaluating a shift, ignore + overflows generated by force_fit_type. -Sun Mar 22 15:10:49 1992 Michael Meissner (meissner@osf.org) +Mon Mar 8 07:24:30 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * mips-tfile.c (mark_stabs): Make function defintion agree with - prototype. + * 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. + + * 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. + + * expr.h: Clean up prototypes for functions in expr.c and + optabs.c and add some missing ones. + + * optabs.c: Add prototypes for static functions. + (init_libfuncs): Put args in proper order. + +Sun Mar 7 07:59:34 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * reorg.c: Add prototypes for static functions. + (fill_simple_delay_slots): Add missing declaration of arg. + +Sat Mar 6 15:08:59 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * gcc.c: Handle long options by translation to old-style ones. + (translate_options): New function. + (option_map): New table. + + * config/i386/t-iscscodbx: New file. + * configure (i[34]86-*-isc*, i[34]86-*-sco...): Use that if stabs. + + * reload1.c (choose_reload_regs): Handle SUBREG in reload_earlyclobber + when matching output reloads for setting reload_when_needed. + +Sat Mar 6 08:43:09 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * genattrtab.c (write_test_expr): Use INSN_CODE == -2, not 0, for + constant attributes. + + * genattrtab.c: Add prototypes in forward declarations. + Add some missing parameters to a few calls. + +Sat Mar 6 07:41:36 1993 Doug Evans (dje@cygnus.com) + + * calls.c (expand_call): Fix typo in unaligned code. + +Fri Mar 5 20:32:28 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * 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. + +Fri Mar 5 19:41:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * expr.c (expand_assignment): Special handling for storing in + RESULT_DECL. + +Fri Mar 5 17:48:41 1993 Chris Smith (csmith@mozart.convex.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. + +Fri Mar 5 17:37:20 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * alpha.md: Add new define_split for doing sign-extended adds + of some large constants using sNaddl. + + * 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. + +Fri Mar 5 15:11:41 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + + * 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. + + * 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. + + * 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. + + * 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. + + +Fri Mar 5 12:45:51 1993 Jim Wilson (wilson@geech.gnu.ai.mit.edu) + + * sparc.c (output_function_prologue, output_function_epilogue): + Add comments for frame_base_name usage in leaf_functions. + + * gcc.c (main): Put argv[0] in collect_obstack instead of programname. + + * cse.c (note_mem_written): QImode varying structure memory + accesses can alias scalars. + +Thu Mar 4 10:05:52 1993 Juergen Keil (jk@leo.tools.de) + + * 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. + +Thu Mar 4 17:52:52 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + + * 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. + +Thu Mar 4 17:18:57 1993 Steve Chamberlain (sac@geech.gnu.ai.mit.edu) + + * emit-rtl.c (init_emit_once): Initialize const_tiny_rtx for + partial ints too. + + * 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. + +Thu Mar 4 15:18:15 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * c-common.c (truthvalue_conversion): Fix handling of COMPLEX_EXPR. + Handle all complex values specially. + +Thu Mar 4 13:48:38 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + + * pa.md (recognizer for general uaddcm): New pattern. + + * 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. + +Thu Mar 4 13:14:13 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fold-const.c (fold): Handle complex constants as "winning". + Handle REALPART_EXPR and IMAGPART_EXPR. + +Thu Mar 4 13:08:53 1993 Steve Chamberlain (sac@geech.gnu.ai.mit.edu) + + * config.sub (h8300hds): Change hds to hms. + * configure (h8300-*-*): Added. + * h8300.c, h8300.h, h8300.md, t-h8300, xm-h8300.h: New files. + +Thu Mar 4 10:31:17 1993 Michael Meissner (meissner@osf.org) + + * gcc.c (link_command_spec): Add missing \ before newline inside + character string. + + * c-parse.in (all_iter_stmt_simple): Add missing comma so that + Objective C compiles. + +Thu Mar 4 02:43:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * 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. + + * dbxout.c (dbxout_type): Handle complex integer types. + +Wed Mar 3 16:01:11 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * c-typeck.c (common_type): Handle complex types. + + * machmode.def: Add complex integer modes. + + * c-common.c (truthvalue_conversion): Handle COMPLEX_EXPR. + + * c-typeck.c (lvalue_p): Handle REALPART_EXPR, IMAGPART_EXPR. + (build_binary_op, build_unary_op): Handle complex types. + + * c-parse.gperf: Add `__complex', `__complex__'. + Add `__iterator'. Delete `iterator'. + + * tree.c (build_complex): Set the TREE_TYPE based on real part. + + * 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. + + * 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. + + * 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. + +Wed Mar 3 15:34:36 1993 Per Bothner (bothner@hal.gnu.ai.mit.edu) + + * tree.c (build_range_type): New function. + * tree.c (build_index_2_type): Re-implement using build_range_type. + +Wed Mar 3 08:34:43 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.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. + + * 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. + + * pa.md: Remove some empty lines. + + * pa.c (pa_adjust_cost): Replace, the function of Mar 2 was an old + version. + (output_fp_move_double): Use %r syntax for registers. + +Wed Mar 3 01:42:42 1993 Per Bothner (bothner@hal.gnu.ai.mit.edu) + + * 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. + +Tue Mar 2 23:34:45 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * collect2.c (main): Use strlen, not sizeof, for our_file_name. + + * c-common.c (convert_and_check): No warning for converting + signed integer to unsigned of same width. + +Tue Mar 2 18:59:39 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu.edu) + + * c-iterate.c (collect_iterators): Handle simple expressions quickly. + Don't try to interpret operands that are RTL as if they were trees. + + * 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. + +Tue Mar 2 18:03:25 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * objc-act.c (handle_class_ref): Call assemble_external. + +Tue Mar 2 15:56:17 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + + * genattrtab.c (write_const_num_delay_slots): Output 'rtx insn' not + 'rtx *insn' for const_num_delay_slot argument. + + * gcc.c (main): Truncate programname to what is after last slash. + + * cccp.c (do_include): Warn if find unreadable header file. + (errno.h): Move outside VMS specific section. + + * sparc.c (print_operand): Use output_operand_lossage, not abort. + + * 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. + + * reorg.c (relax_delay_slots): Delete jump around insn identical + to the insn in its delay slot. + + * 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. + + * 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. + + * 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. + +Tue Mar 2 14:57:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * gcc.c (link_command_spec): Do nothing if -fsyntax-only. + +Tue Mar 2 14:17:47 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + + * pa.h (ADJUST_COST): Add new definition. + * pa.c (pa_adjust_cost): New procudure. - * mips.md (cpu, branch_likely attributes): Make these attributes - const. - (all functional units): Restore functional units that look at the - -mcpu= switch for scheduling now that genattrtab uses less memory. +Tue Mar 2 02:12:13 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sun Mar 22 13:57:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * optabs.c (gen_move_insn): Big `if' applies only for MODE_CC class. - * c-typeck.c (convert_for_assignment): - Only explicit 0 converts to pointer. + * 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. - * Makefile.in (doc): Don't depend on gplus.info. - (gplus.info): Target deleted. +Tue Mar 2 10:48:46 1993 Wilson Tien (wtien at urbana.mcd.mot.com) - * c-decl.c (store_parm_decls): Call build_type_copy with just one arg. + * m68k.md (truncdfsf2+2): Use f%$move instead of fsmove. - * cccp.c (do_include): Use entire filename when checking for repeat. - Use lookup_include. - (lookup_include): New function. + * m68k.md (fix_truncdfsi2, fix_truncdfhi2, fix_truncdfqi2): + Use %# instead of #. - * protoize.c (find_extern_def): Store ??? one char at a time. + * 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. - * sparc.h (ASM_OUTPUT_FLOAT): Fix typo. + * m68kv4.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Use SIZE instead + of ROUNDED. - * fold-const.c (operand_equal_p): Reject NaNs and infinities. + * m68kv4.h (ASM_OUTPUT_CASE_LABEL): Always use `swbeg' syntax to + output switch table (m68k.md depends on this to happen). - * varasm.c (immed_real_const): Distinguish minus zero from zero. + * m68kv4.h (LEGITIMATE_PIC_OPERAND_P): Treat a symbol_ref rtx with + SYMBOL_REF_FLAG set a valid PIC operand. - * sparc.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): - Use `inf' for infinities. Use hex for minus-zero. + * m68kv4.h (OVERRIDE_OPTIONS): Turn off function cse when doing pic. - * objc-actions.c (build_selector_translation_table): - Don't make a duplicate decl here for _OBJC_SELECTOR_REFERENCES. - Just call finish_decl to store the initial value. - Call push_obstack_nochange to balance with finish_decl. - Use selector_type for declaring individual selector names. + * 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. -Sun Mar 22 13:11:32 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * m68k.c (print_operand_address): Always add "@GOT" suffix for the + global object operand when doing PIC. - * loop.c (update_giv_derive): Correctly handle the case where - more than one biv update occurs after a giv is defined. +Mon Mar 1 19:00:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cse.c (rehash_using_reg): Add missing arg to call to exp_equiv_p. + * c-lex.h (RID_ITERATOR): New alternative. + * c-tree.h (ITERATOR_P, ITERATOR_BOUND_P): New macros. - * expmed.c (expand_mult_add): Add missing arg to call to type_for_mode. + * c-typeck.c (build_unary_op): Warn if increment `struct unknown *'. - * reorg.c (fill_slots_from_thread): In the case where have a reg-reg - copy and will substitute our destination for our source in the - following insn, correctly check for it modifying our destination. + * c-lex.c (init_lex): Set up ridpointers for `iterator'. + But maybe turn it off again. -Sun Mar 22 09:20:16 1992 Michael Tiemann (tiemann@cygnus.com) + * c-parse.gperf: Add `iterator' and `__iterator__'. - * cp-typeck.c (unary_complex_lvalue): Don't complain about taking - the ``address'' of a bound static method or member. + * 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. - * cp-init.c (resolve_offset_ref): Fix bug in handling of static - members and member functions. + * c-parse.in (stmt): Allow all_iter_stmt. + (primary -> statement expression): Push and pop iterator stack. + (stmt -> expr): Use iterator_expand. + (all_iter_stmt): New rule. - * cp-decl2.c (finish_file): If CURRENT_CLASS_TYPE is non-NULL on - entry to this function, punt. - - * cp-parse.y (template_parm): Use CLASS_TYPE_NODE instead of - CLASS_TYPE value. - - * cp-cvt.c (build_type_conversion): Add another add-hoc rule to find - unsigned->int conversion (if conversion to long does not exist). - - * cp-method.c (build_overload_name): Don't call `array_type_nelts' - if the TYPE_DOMAIN of an array type is NULL_TREE. - - * cp-init.c (build_offset_ref): Set up and use DECL even in case - where NAME resolves to a method. - - * cp-call.c (ideal_candidate): Half of Jan 28 change was missing. - Now PARMS are not converted in place if BASETYPE is NULL. - - * cp-typeck.c (build_component_ref): Don't return a TYPE_DECL. - - * cp-type2.c (build_functional_cast): If CURRENT_FUNCTION_DECL is - NULL, don't wrap EXPR_AS_CTOR in a NEW_EXPR. This make it possible - to parse default initializers that involve constructor calls. - * cp-typeck.c (convert_for_initialization): Handle this change. - * cp-method.c (dump_init): Grok INDIRECT_REFs that have - TREE_HAS_CONSTRUCTOR set. - - * cp-decl.c (push_overloaded_decl): Don't use the - DECL_ASSEMBLER_NAME for GLOB as the TREE_PURPOSE of the new GLOB. - Use ORIG_NAME instead. - - * cp-decl.c (grokvardecl): If FIELD has incomplete type, complete it - with TYPE. - - * cp-decl2.c (flag_this_is_variable): Define the value -2 to mean an - object of known type is being constructed. - * cp-decl.c (resolves_to_fixed_type_p): Test FLAG_THIS_IS_VARIABLE - for the value -2 instead of testing DECL_CONSTRUCTOR_P in case we - are looking at `current_class_decl'. - * cp-search.c (init_vbase_pointers): Set FLAG_THIS_IS_VARIABLE to -2 - instead of 0. - (build_vbase_vtables_init): Ditto. - * cp-*.c: All tests of FLAG_THIS_IS_VARIABLE changed to reflect the - new semantics. - - * cp-typeck.c (comptypes): Don't use IS_AGGR_TYPE_2; test explicitly - that both are RECORD_TYPE. - (build_binary_op_nodefault): Ditto. - (convert_for_assignment): Ditto. - * cp-cvt.c (convert_to_pointer): Ditto. - (convert_to_pointer_force): Ditto. - * cp-call.c (convert_harshness): Ditto. - - * cp-search.c (get_first_matching_virtual): Fix typo. - - * cp-tree.c (layout_basetypes): When warning about certain - inheritance relationships, only print "virtual" when the - inheritance is virtual. - -Sun Mar 22 01:28:41 1992 Ken Raeburn (Raeburn@Cygnus.COM) - - Fix dbx info for methods of template classes: - * cp-decl.c (make_type_decl): New function. Creates a TYPE_DECL - node and assigns as its DECL_ASSEMBLER_NAME the encoded form of the - type name as it will be used in assembler output. All calls to - build_decl(TYPE_DECL,...) changed to call this. - * dbxout.c (dbxout_type_methods): Instead of skipping digits and - assuming the human-readable type name follows in the assembler names - for methods, use DECL_ASSEMBLER_NAME of the type. - Handle the special DECL_NAME that is made for templates. - * cp-lex.c (build_lang_field_decl): Set DECL_ASSEMBLER_NAME - correctly if new decl is a TYPE_DECL. - (build_lang_decl): Ditto. - * cp-decl.c (pushdecl): Use DECL_ASSEMBLER_NAME only for - FUNCTION_DECL and VAR_DECL nodes; all others use DECL_NAME. - * cp-tree.h (make_type_decl): Declare it. - - * cp-pt.c (overload_template_name, undo_template_name_overload): - Revert 4 March change. - - * cp-decl2.c: No longer define NEW_OVERLOAD_SCHEME. - (grokfield): Use new encoding scheme always. - - * cp-pt.c (overload_template_name): Deleted extra assignment to - IDENTIFIER_LOCAL_VALUE slot. - - * cp-method.c (dump_aggr_type): Use DECL_CONTEXT rather than - DECL_CLASS_CONTEXT. - - * cp-pt.c (instantiate_class_template): Move some common code from - two branches to before branch point. - - * cp-method.c (dump_aggr_type): Don't discard last character of - context string; it's not whitespace. - -Sun Mar 22 15:58:48 1992 Per Bothner (bothner@rtl.cygnus.com) - - * cp-tree.h: Add more enum->int casts needed by some compilers. - -Sun Mar 22 20:40:25 1992 Mike Stump (mrs@cygnus.com) - - * cp-typeck.c (build_modify_expr): Handle preincrement and - predecrement as valid lvals. - - * gplus.gperf: Finish off changing ASM to ASM_KEYWORD. - * cp-hash.h: Rebuilt. - -Sat Mar 21 15:43:04 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c-typeck.c (build_c_cast): Don't warn if convert explicit 0 to ptr. - - * local-alloc.c (wipe_dead_reg): If insn has multiple sets and - the reg appears in a destination, extend life to end of insn. - * global-alloc.c (global_conflicts): Analogous change. - (mark_reg_conflicts): New function. - * combine.c (try_combine): If I2 has multiple dests, make sure - we don't change one of them to overlap anything used within another. - - * configure (pyramid): Commented out. - - * toplev.c (main): Handle -gen-aux-info, with argument. - (compile_file): Assume aux_info_file_name already computed. - Don't make it local here. - * protoize.c (munge_compile_params): Produce -aux-info. - Set aux_info_file_name_index. - (gen_aux_info_file): Produce and store the aux-info file name. - (input_file_name_index): Renamed from filename_index. - (aux_info_file_name_index): New var. - * Makefile.in (SYSCALLS.c.X): Use -aux-info. - * gcc.c, hp800.h, next.h, sparc.h, sun2.h, sun3.h, svr4.h: - (WORD_SWITCH_TAKES_ARG): Handle -aux-info. - * gcc.c (default_compilers): Pass -aux-info to cc1*. - - * configure (mips-*-sysv*): Renamed from mips-*-sysv and moved down. - - * gcc.c (execute): Undo Mar 12 change. - - * configure (i386-*-bsd*): New alternative. - * i386bsd.h: New file. - -Sat Mar 21 15:14:08 1992 Ron Guilmette (rfg at ncd.com) - - * sparc.c (output_move_double): Check for XEXP (op2, 0) being a - LOW_SUM, rather than checking op2. Handle both ldd and std there. - -Sat Mar 21 14:14:10 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) - - * vms.h (CPP_PREDEFINES): Do not define __GNU__. - -Sat Mar 21 21:35:37 1992 Jyrki Kuoppala (jkp@batman.cs.hut.fi) - - * ns32k.md (call_value): Added a missing "{". - - * ns32k.c (print_operand): Fixed typo X -> x, FILE -> file. - -Sat Mar 21 11:11:04 1992 Michael Meissner (meissner@osf.org) - - * mips.h (MIPS_VERSION): Bump Meissner version # to 14. - (CPP_PREDEFINES): Always define SYSTYPE_BSD43. - (CPP_SPEC): Don't define it here. - (ASM_SPEC): Pass -cpp/-nocpp/-mips1/-mips2/-mips3 to MIPS assembler, - and only pass -nocpp by default unless .s files are assembled for - MIPS compatibility. - (LINK_SPEC): Pass -mips1/-mips2/-mips3 to MIPS linker. - (MD_STARTFILE_PREFIX): Define to be /usr/lib/cmplrs/cc/ if not - already defined. - (NM_FLAGS): Define as appropriate for most MIPS systems. - (PREFERRED_DEBUGGING_TYPE): If -ggdb prefer stabs over the normal - ECOFF debug format, but -g selects ECOFF. - (DEFAULT_GDB_EXTENSIONS): Define as 1. - (DOLLARS_IN_IDENTIFIERS): Don't define if already defined. - - * mips.c (mips_output_filename): If emitting encapsulated stabs, - emit #@stabs immediately after the first .file, so that the @stabs - is the second symbol. GDB 4.4 only checks symbol #2 to see whether - it is encapsulated stabs, or ECOFF. - - * mips.md (subdi define_splits): Use ltu instead of lt. - (branch_zero_true): Generate correct code when not optimizing, and - an always true/false branch is generated. - (branch_zero_false): Ditto. - - * mips-bsd.h (CPP_PREDEFINES): Always define SYSTYPE_BSD43. - (CPP_SPEC): Don't define it here. Remove -Z{BSD43,SYSV} support. - Don't pass -I in here. - (SYSTEM_INCLUDE_DIR): Define to be /bsd43/usr/include. - (LINK_SPEC): Pass -mips1/-mips2/-mips3 to the linker. Remove - -Z{BSD43,SYSV} support. Always pass -systype /bsd43/ to the linker. - - * mips-sysv.h (CPP_PREDEFINES): Always define SYSTYPE_SYSV. - (CPP_SPEC): Don't define it here. Remove -Z{BSD43,SYSV} support. - Don't pass -I in here. - (SYSTEM_INCLUDE_DIR): Define to be /sysv/usr/include. - (LINK_SPEC): Pass -mips1/-mips2/-mips3 to the linker. Remove - -Z{BSD43,SYSV} support. Always pass -systype /sysv/ to the linker. - (MD_STARTFILE_PREFIX): Remove, this is now defined in mips.h. - - * mips-news.h (CPP_SPEC): Don't pass -I in here. - (SYSTEM_INCLUDE_DIR): Define to be /usr/include2.0. - (ASM_SPEC): Pass -cpp/-nocpp/-mips1/-mips2/-mips3 to MIPS assembler, - and only pass -nocpp by default unless .s files are assembled for - MIPS compatibility. - (LINK_SPEC): Pass -mips1/-mips2/-mips3 to the linker. - - * mips-news5.h (CPP_PREDEFINES): Define SYSTYPE_SYSV. - (CPP_SPEC): Don't define it here. Remove -Z{BSD43,SYSV} support. - Don't pass -I here. - (LINK_SPEC): Pass -mips1/-mips2/-mips3 to the linker. - - * iris.h (ASM_SPEC): Pass -cpp/-nocpp/-mips1/-mips2/-mips3 to MIPS - assembler, and only pass -nocpp by default unless .s files are - assembled for MIPS compatibility. - (LINK_SPEC): Pass -mips1/-mips2/-mips3 to the linker. - - * iris.h (DOLLARS_IN_IDENTIFIERS): Define as 0, for iris assembler. - (NO_DOLLAR_IN_LABEL): Define, to force static constructors to use a - period instead of a dollar sign. - - * decstatn.h (ASM_SPEC): Pass -cpp/-nocpp/-mips1/-mips2/-mips3 to - MIPS assembler, and only pass -nocpp by default unless .s files are - assembled for MIPS compatibility. - (LINK_SPEC): Pass -mips1/-mips2/-mips3 to the MIPS linker. - - * decsrose.h (ASM_SPEC): Pass -cpp/-nocpp/-mips1/-mips2/-mips3 to - MIPS assembler, and only pass -nocpp by default unless .s files are - assembled for MIPS compatibility. - (LINK_SPEC): Pass -mips1/-mips2/-mips3 to the MIPS linker. - - * Makefile.in (collect2.o): Define macros where the standard places - binaries are installed, so that if it is invoked outside of gcc, it - has a better chance of finding the correct version of the tools to - invoke. - - * mips-tdump.c (toplevel): Declare things void * on Silicon Graphics. - - * mips-tfile.c (toplevel): Declare things void * on Silicon - Graphics. - (stabs_seen): Move static variable to file scope. - (mark_stabs): New function to put out the @stabs symbol for GDB to - switch to encapsulated stabs. - (pseudo_ops): Call mark_stabs if #@stabs found. - (parse_stabs_common): Call mark_stabs if needed to add @stabs. - - * sdbout.c (sdbout_dequeue_anonymous_types): Don't core dump if - TREE_VALUE is null. - - * decstabs.h (new file): DECstation w/encapsulated stabs. - * irisgdb.h (new file): SGI iris w/encapsulated stabs. - * mips-gbsd.h (new file): Mips BSD43 w/encapsulated stabs. - * mips-gdb.h (new file): Mips w/encapsulated stabs. - * mips-gnews.h (new file): Sony NEWS w/encapsulated stabs. - * mips-gnews5.h (new file): Sony NEWS 5.0 w/encapsulated stabs. - * mips-gsvr4.h (new file): Mips SV.4 w/encapsulated stabs. - * mips-gsysv.h (new file): Mips SV.3 w/encapsulated stabs. - * mips-svr4.h (new file): Mips System V.4. - * x-iris (new file): Specify that iris needs alloca.o since it's - alloca is buggy. - - * dbxout.c (toplevel): If NO_STAB_H is defined, include gstab.h just - like if USG is defined. - * final.c (toplevel): Ditto. - * mips-tfile.c (toplevel): Ditto. - * xcoffout.c (toplevel): Ditto. - - * xm-mips.h (NO_STAB_H): Define, except on OSF/1. - -Fri Mar 20 23:51:54 1992 James Van Artsdalen (james at bigtex.cactus.org) - - * reg-stack.c (subst_asm_stack_regs): A REG_UNUSED note never - applies to an input reg, even if that reg is tied to an output. - - * reg-stack.c (record_asm_reg_life): Use XVECLEN only on a PARALLEL. - (subst_asm_stack_regs): Likewise. - -Fri Mar 20 18:57:43 1992 Michael Meissner (meissner@osf.org) - - * mips.h (MIPS_VERSION): Bump Meissner version # to 13. - (mips_declare_object): Declare new function. - (ASM_OUTPUT_LABEL): Remove cruft from when collect spit out assembly - language instead of C code. - (ASM_GLOBALIZE_LABEL): Ditto. - (ASM_OUTPUT_INT): Ditto. - (ASM_OUTPUT_INT_CONST): Remove, no longer used. - (ASM_OUTPUT_PTR_INT_SUM): Ditto. - (ASM_OUTPUT_LABEL): Don't set that we've seen an identifier here. - (ASM_DECLARE_OBJECT_NAME): New macro, call mips_declare_object to - emit the label, and mark that no .extern is needed for the name. - (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Call mips_declare_object. + * c-typeck.c (readonly_warning): Warn about assignment to iterator. - * mips.c (mips_declare_object): New function to output the stuff - needed for global variables, bss variables, and static bss - variables. + * c-iterate.c: New file. + * Makefile.in (c-iterate.o): New target. + (C_OBJS, OBJC_OBJS): Add c-iterate.o. -Fri Mar 20 14:13:32 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Makefile.in (gcc.o): Delete dep obstack.h. - * cp-xref.c (GNU_xref_file): Get rid of arbitrary limit--malloc nmbuf. +Mon Mar 1 07:29:51 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-parse.y (scoped_id): Error if spec'd type is undefined. + * 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. - * m68k.c (output_function_epilogue): Output at least a nop. + * 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. - * xm-hp320.h (USG): Defined. + * combine.c (BYTE_LOADS_EXTEND): Fix typo when defining. + (setup_incoming_promotions): Set modes properly. - * m68k.c (output_function_prologue, output_function_epilogue): - Change %I to %0I. - (print_operand): Likewise. + * alpha.md: Add three special-cases of CMP insns against zero. - * varasm.c (data_section): Add forward decl. +Mon Mar 1 06:17:02 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * m68k.c (print_operand): Make %! print fpcr. - * crds.h, hp320.h, mot3300.h, news.h, tower-as.h (PRINT_OPERAND): - Likewise. - * m68k.md (fix_trunc*): Use %!. + * 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. - * toplev.c (compile_file): Optionally call setvbuf for output file. + * 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. - * loop.c (move_movables): Fix typo. + * pa.md (define_split for symbol_ref+int): New define_split for + the combiner. -Fri Mar 20 17:42:12 1992 Paul Eggert (eggert@twinsun.com) +Sat Feb 27 01:57:34 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Makefile.in (SYSCALLS.c): Use `cat' to create this file, instead - of having it consist of `#include' directives. - (mostlyclean): Delete SYSCALLS.c. - * SYSCALLS.c: File deleted. + * 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. - * getpwd.c (new file): Get and cache working directory, using PWD - if it works and getcwd otherwise. - * Makefile.in (OBJS, protoize): add getpwd.o - * cp-xref.c (GNU_xref_file): Likewise. - * dbxout.c (dbxout_init): Likewise. - * dwarfout.c (output_compile_unit_die): Likewise. - * protoize.c (main): Likewise. + * config.sub: Error if company name is more than one word. + If $os is `sunos...', don't change it to manufacturer's name. -Fri Mar 20 12:58:57 1992 Ron Guilmette (rfg at ncd.com) + * enquire.c (fake_f_rep): Clear all of u, initially. + Make the ints in u unsigned. + (f_define): Use ordinary constants for long double + if it's same width as double. + Make __convert_long_double_i unsigned. - * dwarfout.c (location_or_const_value_attribute): Fixed to use - DECL_INCOMING_RTL as the "location" for formal parameter variables. + * va-i860.h (struct __gnuc_va_list): Test __svr4__ like __SVR4__. -Fri Mar 20 13:26:16 1992 Michael Collison (collison@osf.org) + * config/ns32k/ns32k.h (TARGET_SWITCHES): Reverse defn of 32332. - * i386rose.h (INIT_SECTION_ASM_OP): OSF doesn't support a true - initialization section. + * 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. -Fri Mar 20 07:23:15 1992 Tom Wood (wood at dg-rtp.dg.com) + * c-decl.c (pushdecl): Nested fn decl gets DECL_CONTEXT iff not extern. - * m88k.md (set zero_extract patterns): Use the + constraint. + * c-lex.c (check_newline): #line updates input_file_stack->name. - * crtstuff.c (__do_global_ctors_aux): Declare it. + * c-typeck.c (convert_for_assignment): Automatically convert + to a union from its members' types. - * m88k.h (CONDITIONAL_REGISTER_USAGE): Mark the PIC register fixed, - but not call used. - - * m88k.c (m88k_builtin_saveregs): Get a properly aligned block. + * config/ns32k/ns32k.h (ASM_OUTPUT_ALIGN_CODE): + Pad with no-op insns. - * m88k.md (cpu attribute): Use const form. + * c-decl.c (grokdeclarator): Make `long long' work even with + -pedantic, despite the warning. - * m88k.h, m88k.c, m88kdgux.h (uses of *_ASM_OP): Add tabs. +Fri Feb 26 22:01:32 1993 Ian Lance Taylor (ian@cygnus.com) -Fri Mar 20 05:46:26 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cccp.c (USER_LABEL_PREFIX, REGISTER_PREFIX): If not defined by + tm.h, set to empty strings. + (enum node_type, special_symbol): Added T_USER_LABEL_PREFIX_TYPE + and T_REGISTER_PREFIX_TYPE, which expand to USER_LABEL_PREFIX and + REGISTER_PREFIX. + (initialize_builtins): New builtin definitions + __USER_LABEL_PREFIX__ and __REGISTER_PREFIX__. - * expmed.c (emit_store_flag): Need to prevent SUBTARGET from being - OP0 in one more case. +Fri Feb 26 18:08:58 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * loop.c (add_label_notes): New function. - (move_movables): Use it when hoisting a `move_insn' movable - to ensure we create any required REG_LABEL notes. + * Makefile.in (distdir): Depend on cp-parse.y, + and the .c files for the .y files. - * hp800.h (CONDITIONAL_REGISTER_USAGE): Make reg 27 a global_reg - for now. + * c-decl.c (declare_parm_level): Unconditionally store 1. + (pushdecl): Criterion for no warning is, next level up + is a parm level. - * combine.c (make_field_assignment): Use correct mode when shifting - the source of the assignment. + * Makefile.in (all.cross): Depend on enquire. - * fold-const.c (invert_truthvalue): Correct error in last change. + * libgcc2.c (inhibit_libc): Renamed from inhibit_eprintf. + (L_new_handler): Don't include stdio.h if inhibit_libc. -Thu Mar 19 18:59:24 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-typeck.c (process_init_constructor): Error msg change. - * stmt.c (expand_end_case): Convert do_tablejump arg to Pmode. + * gstdarg.h (_VA_LIST_T_H): Test and define this. + * gvarargs.h (_VA_LIST_T_H): Test and define this. -Thu Mar 19 16:54:15 1992 Michael Meissner (meissner@osf.org) + * gstddef.h (_SYS_SIZE_T_H): Test this and define this. - * collect2.c (main): Only pass -fxxx and -mxxx options to gcc when - building constructors. + * xm-pbd.h (USE_C_ALLOCA): Define here. + * pbd.h (USE_C_ALLOCA): Not here. -Thu Mar 19 16:44:21 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * 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. - * fold-const.c (invert_truthvalue): Correctly check for floating - comparison. + * dbxout.c (dbxout_type): Enable output of subrange types + if use_gnu_debug_info_extensions. + (dbxout_finish_symbol): Enable output of symbols line number. -Thu Mar 19 14:42:49 1992 Tom Wood (wood at dg-rtp.dg.com) + * c-typeck.c (initializer_constant_valid_p): + Allow cast of ptr to wider integer. - * function.c (expand_main_function): Do so if INVOKE__main is defined. - * libgcc2.c (__main): Provide if INVOKE__main is defined. - * crtstuff.c (__do_global_ctors_aux): Renamed from __do_global_ctors. - (__do_global_ctors): Simple non-static function that invokes - __do_global_ctors_aux. +Fri Feb 26 19:04:36 1992 Karl Berry (karl@cs.umb.edu) - * crtstuff.c ({CTOR,DTOR}_LIST_{BEGIN,END}): Allow alternate way - to represent and define __{CTOR,DTOR}_LIST__. - * i386v.h, aix386.h (CTOR_LIST_{BEGIN,END}): Use these to push - instead of the funny definition of CTORS_SECTION_ASM_OP. - * svr3.h (CTORS_SECTION_ASM_OP): Use the .init section. + * optabs.c (init_libfuncs): Use int instead of enum for + first_mode, last_mode, and mode. - * m88kv3.h (CTOR_LIST_BEGIN): Emit code to .init to push a zero. - (CTOR_LIST_END): Do nothing. - (ASM_OUTPUT_CONSTRUCTOR): Emit code to .init to push the address. - (DTOR_LIST_{BEGIN,END}): Output a block of four words. - (ASM_OUTPUT_DESTRUCTOR): Output the address and three words of -1. - (DO_GLOBAL_DTORS_BODY): Ignore all values of -1. +Fri Feb 26 14:29:22 PST 1992 Ron Guilmette (rfg@netcom.com) - * real.h (REAL_VALUE_ISNAN): Define. - * fold-const.c (target_isnan): New function. - * sun3.h, sparc.h (ASM_OUTPUT_{FLOAT,DOUBLE}): Use REAL_VALUE_ISNAN. + * c-parse.in (ivar_decls): Give a pedwarn (instead of a warning) for + excess semicolons. - * sun3.h: Delete extra #endif. + * cccp.c (do_include): Correctly report the directive name + when any kind of include directive has no argument or null argument. -Thu Mar 19 14:25:50 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) +Fri Feb 26 11:27:35 1992 Tom Wood (wood@NeXT.com) - * hp800.c (output_move_double): Don't check for CONST_DOUBLE - when classifying operand types, CONSTANT_P now includes it. - Use split_double to assign operand vectors for CNSTOP. + * 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. -Thu Mar 19 13:59:16 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Feb 26 10:34:33 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * hp320.h (SPACE_AFTER_L_OPTION): Defined. - (LIB_SPEC): Defined. + * Makefile.in (uninstall): Also remove the g++ manual page. - * toplev.c (compile_file): Output aux_info_file in source file's dir. +Fri Feb 26 01:29:53 1992 Paul Eggert (eggert@twinsun.com) -Wed Mar 18 17:42:12 1992 Paul Eggert (eggert@twinsun.com) + * cexp.y (parse_escape): Don't treat ^ as special after \. - * c-aux-info.c (gen_aux_info_record): Don't put the absolute path - name into the output file: it's useless, expensive, and often wrong. - Use "." instead. - * protoize.c (is_syscalls_file): Look for SYSCALLS.c only at the - end of the file name. - (abspath): Remove useless test of '\0' versus '/'. Add apollo fix. - (shortpath): Stop when replacement filename is longer than the - original; this avoids buffer overrun. Do not pretend that - `a/b/c' is a path prefix of `a/b/cd'. - (gen_aux_info_file): Report errors when compilation fails. - Do not use stdio in child process. - Don't say `exit(errno)'; errno might be too large. - (process_aux_info_file): Increment error count if aux info file cannot - be generated. Allow the invocation filename to be relative; - for now, it will always be ".". - (do_processing): Replace strlen (x) with sizeof (x) - 1. +Fri Feb 26 21:37:29 1993 John F Carr (jfc at Athena.MIT.EDU) -Thu Mar 19 13:31:24 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * varasm.c (make_decl_rtl): Print an error for explicit register + variable whose type cannot be stored in that register. - * cse.c (simplify_binary_operation, PLUS and MINUS cases): Use - arg0s and arg1s instead of arg0 and arg1, so that resulting values - will be sign extended. +Fri Feb 26 17:07:25 1993 Doug Evans (dje@canuck.cygnus.com) - * sched.c (sched_analyze_1): Don't call sched_analyze_2 at the end. - This code was never executed, and is wrong. - (sched_analyze_2): Convert from if statements to a switch. - Add support for PRE_DEC/PRE_INC/POST_DEC/POST_INC; pass them to - sched_analyze_1 because they are writes. - (sched_analyze_insn): Delete special case code to handle REG_INC - notes, obsoleted by change above. + * machmode.def: Added 32-byte int OImode. - * sparc.c (output_block_move): Rewrite to more efficiently handle - constant length strings whose length is not a multiple of their - alignment. Also, the length of strings handled without a loop now - is a multiple of their alignment, instead of fixed size. +Fri Feb 26 13:59:23 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * objc-actions.c (build_selector_translation_table): Add cast for - array index from enum to int to satisfy old compiler. + * explow.c (memory_address): Use CONSTANT_ADDRESS_P instead of + LEGITIMATE_CONSTANT_P. + (break_out_memrefs): Likewise. - * c-parse.gperf: Change ASM to ASM_KEYWORD. - * gplus.gperf: Likewise. +Fri Feb 26 06:18:40 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in (install-man): Delete duplicate lines. + * expr.c (expand_expr, case IN_EXPR): Fix numerous small bugs and + make some cleanups. -Thu Mar 19 02:32:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * recog.c (constrain_operands, case 'r'): If STRICT, a REG isn't + valid if it is a pseudo even if GENERAL_REGS == ALL_REGS. - * c-decl.c (init_decl_processing): Disable `sqrt'. + * alpha.h (LEGITIMIZE_ADDRESS): Add missing args to calls to + expand_binop. -Thu Mar 19 01:09:16 1992 James Van Artsdalen (james at bigtex.cactus.org) +Thu Feb 25 17:24:45 1993 Bill Cox (bill@rtl.cygnus.com) - * i386.c (output_move_double): Properly check for signedness in a - const_double. + * expr.h: Add prototypes for most expr-related functions. + * jump.c (jump_optimize): Add missing parameter in expand_binop call. -Wed Mar 18 18:51:37 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Feb 25 17:50:55 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * gcc.c (link_command_spec) [not LINK_LIBGCC_SPECIAL]: Put back -s. + * toplev.c: No need to #undef ABS; done in rtl.h. - * config.sub (i486): Accept as CPU type. + * reorg.c (redundant_insn_p): Fix typo in testing for types of + insns by using GET_RTX_CLASS. - * collect2.c (do_wait): Handle NO_SYS_SIGLIST. - * xm-hp320.h (NO_SYS_SIGLIST): Defined. + * expmed.c (emit_store_flag): Fix typo in testing BRANCH_COST. -Wed Mar 18 15:58:31 1992 Tom Wood (wood at dg-rtp.dg.com) +Thu Feb 25 14:32:31 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * crtstuff.c, dwarfout.c, svr3.h, svr4.h (*_ASM_OP): Remove tabs - and newlines. - * dwarfout.c, svr3.h, svr4.h - (ASM_OUTPUT_*, ASM_DECLARE_*, ASM_DWARF_*): Put tabs here when needed. + * combine.c (set_nonzero_bits_and_sign_copies): Fix typo in + paradoxical set dest handling. -Wed Mar 18 17:26:44 1992 Ron Guilmette (rfg at ncd.com) + * convert.c (convert_to_integer): Delete Feb 19 change. - * svr4.h (MULTIBYTE_CHARS): Added definition. + * fold-const.c (decode_field_reference): Fix force_fit_type call. -Wed Mar 18 17:36:30 1992 Michael Meissner (meissner@osf.org) +Thu Feb 25 07:38:36 1993 Ian Lance Taylor (ian@cygnus.com) - * gcc.c (collect_obstack): New static obstack to build the - environment variables to pass to collect, so that it can reliably - find the compiler passes. - (putenv): New function to add a variable to the environment. - Stubbed out for MSDOS and VMS at present, or if HAVE_PUTENV is - defined. - (putenv_from_paths): New function to take a path list, and build - the corresponding environment variable for it. - (main): Pass argv[0] to collect through the environment variable - COLLECT_GCC. Rebuild the COMPILER_PATH and LIBRARY_PATH - environment variables to include all prefixes specified with -B, - -b, and -V. Construct COLLECT_GCC_OPTIONS environment variable to - consist of all of the options passed to gcc, except for the -B, - -b, and -V options. + * fixinc.sco: Use pwd if PWDCMD is not defined. - * collect2.c (main): Correctly size the number of arguments passed - to the compiler when building the constructor lists to account for - any options passed through the environment variable - COLLECT_GCC_OPTIONS. If the environment variable COLLECT_GCC - specifies a full pathname, use that for the pathname to invoke gcc - with. Print the name "collect2" in lowercase if -v. +Wed Feb 24 18:28:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * xm-mips.h (HAVE_PUTENV): Define if OSF/1. + * 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. -Wed Mar 18 07:27:50 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * config/m68k/xm-mot3300.h (NO_SYS_SIGLIST): Defined. - * hp800.c (actual_fsize): Remove duplicate declaration. - (profile_flag): Remove definition; defined in flags.h. - (hp_profile_labelno, local_fsize, save_fregs): Move declarations to - top of file. +Wed Feb 24 16:01:42 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * hp800.h (OPTIMIZATION_OPTIONS): Do same thing as Sparc. + * loop.c (consec_sets_invariant_p): Correct REG_EQUAL note checks + to distinguish libcall case from ordinary insn case. - * combine.c (reg_bitfield_target_p): Use rtx_equal_p instead of - assuming the actual rtx is used. + * 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. -Wed Mar 18 00:20:38 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fixinc.svr4 (string.h): Delete 'g' from sed command. - * gstddef.h: Handle _GCC_PTRDIFF_T, _GCC_SIZE_T, _GCC_WCHAR_T. - * fixincludes: Use those macros in inserted conditionals. + * sparc.md (zero_extendqi*i2): Delete never matched constraints. - * gstddef.h: Handle _T_SIZE_ and _T_PTRDIFF_, like _T_WCHAR_. + * i960.c (umulsidi3+1): Delete extra parenthesis. - * sun3.h (CPP_SPEC): Delete the alternative for fpa as default. - Define symbols with __ as well as without. +Tue Feb 23 15:09:50 1993 Ian Lance Taylor (ian@cygnus.com) - * hp320.h (LINK_LIBGCC_SPECIAL, RELATIVE_PREFIX_NOT_LINKDIR): - Define unless USE_GAS. + * Makefile.in (install-headers): Create relative paths for + symbolic links within installed include directory. -Tue Mar 17 17:19:07 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Feb 23 14:43:46 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * fixincludes (making directories): Always use find. + * stmt.c (check_for_full_enumeration_handling): Handle nameless type. - * c-decl.c (pushdecl): Don't warn if define nonansi builtin as static, - or if define ANSI builtin as inline static. + * tree.h (CONSTRUCTOR_NAME_FORMAT): Handle NO_DOT_IN_LABEL. - * hp800hpux.h (LINK_LIBGCC_SPECIAL, RELATIVE_PREFIX_NOT_LINKDIR): New. + * config/m68k/mot3300.h (NO_DOLLAR_IN_LABEL, NO_DOT_IN_LABEL): Defined. - * fixinc.svr4: Special changes for Sony MIPS-NEWS. + * collect2.c (is_ctor_dtor): Handle NO_DOT_IN_LABEL. -Tue Mar 17 15:12:57 1992 Tim Moore (moore@defmacro.cs.utah.edu) +Mon Feb 22 18:06:06 1993 John Hassey (hassey@dg-rtp.dg.com) - * hp800.h (INITIAL_FRAME_POINTER_OFFSET): Get sign right, include - fixed area. + * m88k.c (output_call): Don't use the delay slot of a bsr.n + to modify the return address, unless -O2 specified. -Tue Mar 17 14:06:01 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Feb 22 17:36:52 1993 Kresten Krab Thorup (krab at xiv) - * Makefile.in (all.indirect): Renamed from all-internal. + * objc/core.c (initialize_class): Take Class_t instead of + char* as argument. Callers changed to pass the class. - * t-mips (ALL): Deleted. + * 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. -Tue Mar 17 10:35:18 1992 Michael Meissner (meissner@osf.org) + * objc/object.m (doesNotRecognize): Call sel_getName to get + the name of the selector, and print that. + (subclassResponsibility, notImplemented): Likewise. - * halfpic.c (half_pic_address_p): Fix typo in last change. +Mon Feb 22 00:23:47 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) - * x-decrose (CLIB): Add -lbsd, since vfork moved to libbsd.a. - * x-encrose (CLIB): Ditto. - * x-i386rose (CLIB): Ditto. + * expr.c (emit_library_call_value): Fix bug in prev change. -Tue Mar 17 07:02:29 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * Makefile.in (install-include-dir): Depend on install-dir. - * mips.md (movdi): FP_REGS don't allow DImode, so remove them - from the constraints. + * convert.c (convert_to_integer): #if 0 the truncated integer warning. - * mips.md (unaligned moves): Use UNSPEC to distinguish SETs that are - unaligned from those that aren't. +Mon Feb 22 15:15:40 1993 James Van Artsdalen (james@bigtex.cactus.org) - * combine.c (try_combine): Update LOG_LINKS correctly when we split a - PARALLEL that loads from memory both as a full-word and sign-extended. + * fold-const.c (all_ones_mask_p): Really use tmask. -Tue Mar 17 21:23:10 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) +Mon Feb 22 11:59:09 1993 Michael Meissner (meissner@osf.org) - * vax.c (split_quadword_operands): Fix typo. + * fold-const.c (all_ones_mask_p): Declare tmask to be `tree'. + (optimize_bit_field_compare) Add missing semicolon. - * make-cc1.com: Add xcoffout.c. +Sun Feb 21 20:20:13 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) -Mon Mar 16 17:12:26 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * expr.c (emit_library_call_value): Really pass mem value address + to the library function. - * configure (mips-dec-ultrix*): Use x-decstatn. - * x-decstatn (CLIB): Delete. +Sun Feb 21 15:15:40 1993 James Van Artsdalen (james@bigtex.cactus.org) - * expr.c (move_by_pieces_1): Add negative ints--don't subtract ints. + * fold-const.c (decode_field_reference): Use force_fit_type + instead of convert to avoid truncated integer warning. + (all_ones_mask_p): Likewise. - * next.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Turned off. - * t-next (EXTRA_PROGRAMS, ld): Use collect2. - * configure (m68k-next-*): Use t-next. +Sun Feb 21 13:06:00 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * mips-bsd.h (TARGET_MEM_FUNCTIONS): Defined. + * pa.md (load high pattern): Rework constraints to reduce %r1 + spillage. -Mon Mar 16 14:04:08 1992 Tim Moore (moore@defmacro.cs.utah.edu) + * pa.md (const_double -> FP pattern): Remove cases which can never + happen anymore. - * hp800.md (movsi + 10, movsi + 11): Add '*' to constraints. - (fix_truncsfsi2, fix_truncdfsi2): Add an alternative to put result - directly in a general register. - * hp800.h (ASM_DECLARE_FUNCTION_NAME): If function is not - TREE_PUBLIC, don't do the argument descriptor magic. - (EXPAND_BUILTIN_SAVEREGS): call hppa_builtin_saveregs. - (LEGITIMIZE_ADDRESS): Don't legitimize CONST addresses. - (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Put tabs back in. - * xm-hp800.h (S_ISDIR): Define for BSD. + * pa.c (print_operand, case 'Y'): Output comparison operators + which will give the right results when one or more operands is a NaN. - * hp800.c (hppa_builtin_saveregs): New function. - * va-hp800.h : Rewrite. +Sun Feb 21 01:38:19 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.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. -Sun Mar 15 23:38:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Feb 20 20:33:51 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) - * objc-actions.c (really_start_method): Dynamically allocate `buf'. + * cccp.c: Add declaration for pedwarn_with_line. - * sparc.h (TARGET_HOPE_ALIGN): Renamed from TARGET_ALIGN. - * sparc.c (output_move_double, output_fp_move_double): Use new name. - * sparc.h (TARGET_FORCE_ALIGN): New flag. - (FUNCTION_ARG_BOUNDARY): Defined. - (FUNCTION_ARG, FUNCTION_INCOMING_ARG, FUNCTION_ARG_ADVANCE): - (FUNCTION_ARG_PARTIAL_NREGS): Handle TARGET_FORCE_ALIGN. - (ROUND_REG): New subroutine macro. +Sat Feb 20 14:46:25 1993 James Van Artsdalen (james@bigtex.cactus.org) - * sparc.h (CC1_SPEC): Don't try to recognize -dalign. + * 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. - * hp320.h (ASM_OUTPUT_ASCII): Put tab here. - (ASCII_DATA_ASM_OP): Not here. - * mot3300.h: Likewise. +Sat Feb 20 18:41:05 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Makefile.in (mostlyclean): Don't delete .s or .i files. - (extraclean): Do that here. + * 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. - * a29k.h, fx80.h, gmicro.h, i860v3.h, i860v4.h (*_ASM_OP): Remove tabs. - * m88kv4.h, m88kdgux.h, mips.h, romp.h, rs6000.h: Likewise. - * sun386.h, tower-as: Likewise. - * arm.h, hp800.h (*_ASM_OP): Remove extra tabs and newlines. - * m68ksgs.h (*_ASM_OP): Remove tabs. - (ASM_OUTPUT_*): Put the tabs here when appropriate. - * m68kv4.h, m88k.h, next.h: Likewise. +Sat Feb 20 17:25:16 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) -Sun Mar 15 18:37:49 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * fold-const.c (decode_field_reference): Use force_fit_type + instead of convert to avoid truncated integer warning. - * reload1.c (inc_for_reload): Rework to try to do addition in - INCLOC rather than assuming when it can be done; this fixes a bug - on hp800 and generates better code on some CISC machines. +Sat Feb 20 07:31:32 1993 John Hassey (hassey@dg-rtp.dg.com) -Sun Mar 15 15:12:39 1992 Ron Guilmette (rfg at ncd.com) + * fixincludes: Change "va_list)" to "__gnuc_va_list)". - * crtstuff.c: If defined, invoke INIT_SECTION_PREAMBLE. +Sat Feb 20 03:19:44 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) - * xm-sparcv4.h, x-sparcv4: New files. - * configure (sparc-*-sysv4*): Use them. + * fixincludes: Save temp file in ${LIB}. + Use -I${ORIGDIR} when compiling types.c. -Sun Mar 15 16:41:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Feb 19 00:45:41 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * sparc.md (subdi3): Fix unterminated comment. + * convert.c (convert_to_integer): Warn if integer is truncated + and that changes the value. -Sun Mar 15 04:08:59 1992 Torbjorn Granlund (tege at zevs.sics.se) +Thu Feb 18 20:15:20 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * hp800.c (output_block_move): Major rewrite. - * hp800.md (movstrsi): Rewrite to match new output_block_move. FAIL - if the actual operands are better handled by a library call. - (movstrsi recognizer): Rewrite. + * aix386.h: Include aix386ng.h instead of duplicating it. + * 3b1.h (ASM_OUTPUT_CASE_END): Add missing semicolon. - * sparc.md (movstrsi): FAIL for all blocks with unknown size. + * sparc.c (output_function_prologue): Don't save %f31 to stack. + * sparc.h (STARTING_FRAME_OFFSET): Set to -8. -Sat Mar 14 19:06:02 1992 James Van Artsdalen (james at bigtex.cactus.org) + * 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-decl.c (builtin_function): Don't declare static. + * final.c (end_final): Don't call assemble_zeros with an size + argument of zero. -Sat Mar 14 15:57:53 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * move-if-change: Use cmp -s instead of redirecting output to + /dev/null. - * expr.c (get_pointer_alignment): Convert bytes to bits - when handling PLUS_EXPR. + * calls.c (expand_call): When MAYBE_REG_PARM_STACK_SPACE defined, + if reg_parm_stack_space is zero, set args_size.constant to zero. - * cp-search.c (push_stack_level): Declare tp as char *. +Thu Feb 18 17:43:30 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * mips.c (mips_asm_file_end): Use TREE_ASM_WRITTEN to avoid - duplicate .extern commands. + * objc/core.c (__objc_execClass): + Don't assign superclass pointer more than once. - * mips-tdump.c: Include fcntl.h. - * mips-tfile.c (open, fstat): Declarations deleted. + * objc/record.h (record_store_at, record_get): + Test record_capacity, not record_entries, in assertion. - * xm-mipsnews.h: New file. - * mips-news5.h: New file. Needs papers from Ron Cole. - * configure (mips-sony-sysv*): New alternative. + * flow.c (regno_uninitialized): Test global_regs only for hard regs. -Sat Mar 14 07:11:14 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * c-lex.c (yylex): Undo Feb 7 change. + * c-parse.in (program): After extdefs, pop any unpopped binding lvls. - * integrate.c (initialize_for_inline): If DECL_INCOMING_RTL is - the same object as DECL_RTL, store copy in both places. + * Makefile.in (BISONFLAGS): Add -v. -Sat Mar 14 10:12:39 1992 Michael Tiemann (tiemann@cygnus.com) +Wed Feb 17 18:51:51 1993 Karl Berry (karl@owl.hq.ileaf.com) - * cp-spew.c (yylex): Fix some fencepost errors found by Chip - Salzenberg. + * toplev.c (ABS): #undef after including sys/resource.h. - * cp-init.c (is_aggr_typedef): Now calls `error' instead of `fatal' - if NAME is non-AGGR type. +Wed Feb 17 22:02:09 1993 John Hassey (hassey@dg-rtp.dg.com) - * cp-class.c (duplicate_tag_error): Set CLASSTYPE_VBASE_SIZE. + * m88k.c (emit_ldst): For large offsets use register index + instead of immediate. -Sat Mar 14 00:28:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Feb 17 18:02:26 EST 1993 John Wehle (john@feith.com) - * gcc.c (do_spec_1): Don't copy closing delim in %(...) or %[...]. - (read_specs): Don't ignore newline that ends a comment. - (handle_braces): Properly terminate scan for %*. - (validate_all_switches): Scan any extra specs from specs file. + * we32k.h (CONST_COSTS): Updated to better reflect + the actual constant costs on a we32k. - * x-iris: File deleted. + * we32k.md (truncdfsf2, extendsfdf2): Changed from + define_insn to expand_insn so the optimizer can do + a better job. - * cccp.c (output_line_command): Avoid outputting line number 0. + * we32k.h (GO_IF_LEGITIMATE_ADDRESS): Added support for + deferred addressing. - * final.c (asm_fprintf): Handle %O. - * m68k.c: Insert %O before `move' in MOTOROLA calls to asm_fprintf. + * we32k.md: Eliminated a jmp pattern and the peephole + patterns which are no longer needed now that deferred + addressing is supported. -Fri Mar 13 20:17:40 1992 Mike Stump (mrs@cygnus.com) +Wed Feb 17 17:55:34 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-typeck.c, cp-type2.c, cp-tree.c, cp-spew.c, cp-search.c, - cp-parse.y, cp-init.c, cp-decl.c, cp-cvt.c, cp-class.c, cp-call.c: - Merged in updated cp-* files for gcc-2.1. + * fixincludes (sys/types.h): Replace definition of size_t + based on SIZE_TYPE. - Thu Mar 12 02:29:26 1992 Mike Stump (mrs@cygnus.com) +Wed Feb 17 06:54:42 1993 John Hassey (hassey@dg-rtp.dg.com) - * cp-type2.c (build_functional_cast): remove incorrect error message. + * config/m88k/m88k.h (CONST_OK_FOR_LETTER_P): Added 'K'. + * config/m88k/m88k.md: Use 'K' constraint with arith5_operand + predicate. -Fri Mar 13 14:54:23 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Feb 17 03:04:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * objc-actions.c (get_arg_type_list) [not NEXT_OBJC_RUNTIME]: - 1st arg always an object. - (synth_module_prologue): Don't use parser interface, just build nodes. - Use `void *' to avoid problems with TAG_SUPER vs _TAG_SUPER. - (TAG_SUPER, _msg_id, _msgSuper_id): Deleted. - (objc_getClass_id, objc_getMetaClass_id): Deleted. - (selector_type): Renamed from _selector_type. - (forward_declare_categories, build_objc_symtab_template): - Don't use parser interface, just build nodes. - (create_builtin_decl): New function. + * Makefile.in (stmp-fixinc): Renamed from stmp-fixincludes. - * hp800hpux.h (LIB_SPEC): New definition. +Tue Feb 16 14:34:19 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * arm.h (TARGET_WHEN_DEBUGGING): Name corrected. + * config/sparc/sparc.h (ASM_OUTPUT_IDENT, IDENT_ASM_OP): Defined. - * protoize.c (abspath): Make abs_buffer a little longer. +Tue Feb 16 02:48:58 EST 1992 John Wehle (john@feith.com) - * encore.h (NO_ABSOLUTE_PREFIX_IF_SYMBOLIC): Defined. - (EXTERNAL_PREFIX, IMMEDIATE_PREFIX): Defined. - (TARGET_DEFAULT): Changed to 9. - (ENCORE_ASM): Defined. + * reload.c (find_reloads_address): Use strict_memory_address_p + to check for valid indirect address. - * sequent.h (PRINT_OPERAND, PRINT_OPERAND_ADDRESS): Deleted. - (IMMEDIATE_PREFIX): Define as 0. - (SEQUENT_ASM): Defined. - * ns32k.c (print_operand): Output f.p. as ints if SEQUENT_ASM. - Output doubles using 0f, not 0d, if ENCORE_ASM. + * 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. - * configure: If no configuration matches, print error and exit. - (m68k-sun-sunos*): Renamed from m68k-sun-sunos4*. +Tue Feb 16 01:28:52 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * configure (copy): New variable. - If hard link fails, make a copy. + * c-typeck.c (build_indirect_ref): Avoid *& short-cut if -fvolatile. - * mips.c (mips_asm_file_end): Don't set flags in identifiers. - Just output every identifier found in extern_head. +Mon Feb 15 22:22:08 1993 Michael Meissner (meissner@osf.org) - * configure (sparc-tti-*): Renamed from sparc-unicom-*. - (m68k-tti-*): Replaced. - (m68k-tti2-*): Deleted + * 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. - * config.sub (pbd): Alias for sparc-tti, not sparc-unicom. - (pbb): New machine alias. - (*-tti): Implies os=-sysv3. - (-oss*): Alias for -sysv3. + * i386/osfrose (CPP_SPEC): Ditto. -Fri Mar 13 17:20:52 1992 david d [zoo] zuhn (zoo at lynx.spa.umn.edu) +Mon Feb 15 02:17:47 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * x-mips: add -mld. + * objc-act.c (HASHFUNCTION): insure nonnegative hash even if + addresses are negative. -Fri Mar 13 14:48:05 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) +Sat Feb 13 04:16:29 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * hp800.h (REGISTER_NAMES): Name register 112, the shift amount - register, as "SAR". It was left out. + * 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. -Fri Mar 13 04:08:53 1992 James Van Artsdalen (james at bigtex.cactus.org) +Fri Feb 12 19:40:38 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) - * i386isc.h (STARTFILE_SPEC): Use crt1, not crt0. + * combine.c (setup_incoming_promotions): Make static. - * x-i386sco (CC,OLDCC): Don't define `i386' here. - (RCCFLAGS): Define it here, along with other SCO symbols. - (XCFLAGS): Use that. New variable. - (CLIB): Use -lPW to get alloca(). +Fri Feb 12 16:02:52 1993 Per Bothner (bothner@hal.gnu.ai.mit.edu) -Fri Mar 13 14:11:41 1992 Jeffrey A. Law (law@wombat.gnu.ai.mit.edu) + * tree.def: Fix typo in comment (TREE_VALUES -> TYPE_VALUES). - * Changes to enable use of sqrt builtin functions. - * c-decl.c (init_decl_processing): Enable BUILT_IN_FSQRT for - __builtin_sqrt. Also enable for sqrt if not traditional. - * cp-decl.c (init_decl_processing): Enable BUILT_IN_FSQRT for - __builtin_sqrt. - * expr.c (expand_builtin, case BUILT_IN_FSQRT): New case. Call - expand_unop to expand the operation. If that fails break and - emit a call to the library sqrt function. - * optabs.c (init_optabs): Initialize new optabs for sqrt functions. - * expr.h (sqrt_optab): Declare here so that expr.c can see it. +Fri Feb 12 11:26:28 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) -Fri Mar 13 08:56:50 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * pa.md (rotlsi3): Fix typo, rotate was rotatert in rtl template. - * cse.c (delete_dead_from_cse): Fix error in last change. +Fri Feb 12 07:47:11 1993 John Hassey (hassey@dg-rtp.dg.com) - * a29k.h (PCC_BITFIELD_TYPE_MATTERS): Define as 1. + * function.c (reposition_prologue_and_epilogue_notes): Allow + for zero length prologue and epilogue list. - * reorg.c (fill_slots_from_thread): Add missing arg in call to - try_split call that was recently added. +Thu Feb 11 05:55:33 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * fold-const.c (invert_truthvalue, case COMPOUND_EXPR): New case. + * 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]. -Fri Mar 13 01:02:56 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fixincludes: Don't assume that macros defining IO and CTRL + ioctl codes always use `x'; some use `c' or `g'. - * collect2.c (ordinary scan_prog_file): Don't count | in sym name. + * 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]. - * ns32k.md (movsf): Remove #if 0 around #ifndef GAS_SYNTAX. +Thu Feb 11 03:55:39 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * pc532.h (GAS_SYNTAX): Defined. + * expr.c (expand_builtin): Move memory_address calls + out of arglist of emit_block_move. -Thu Mar 12 00:10:23 1992 Stefan Petri (petri@jupiter.ibr.cs.tu-bs.de) +Wed Feb 10 16:14:09 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * configure (pyramid): Re-enable. + * 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. - * pyr.h (STRUCTURE_SIZE_BOUNDARY): Restore definition from gcc-1.40. - (PCC_BITFIELD_TYPE_MATTERS): Define as 1 instead of empty. +Wed Feb 10 09:53:00 1993 John Hassey (hassey@wombat.gnu.ai.mit.edu) - * pyr.h (STATIC_CHAIN_INCOMING_REGNUM): Added. + * config.sub: removed m88kbcs, changed delta88 and harris to + use sysv3. - * pyr.h (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE, TRAMPOLINE_ALIGNMENT, - INITIALIZE_TRAMPOLINE): Added, inspired by convex.h +Wed Feb 10 03:29:11 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * pyr.h (INITIAL_FRAME_POINTER_OFFSET): New definition. + * c-decl.c (duplicate_decls): Silently accept harmless mismatch + in type of 1st arg of builtin function. - * pyr.md (indirect_jump): New pattern. + * c-typeck.c (build_indirect_ref): If arg is void *, just warn. - * libgcc2.c [L_trampoline]: Don't include gstddef.h in this case. - (__enable_execute_stack): Cloned definition for pyramid - from that for convex. +Tue Feb 9 22:15:08 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Thu Mar 12 13:23:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * alpha.md (fix_truncdfdi2, fix_truncsfdi2): Use `cvttqc', not + `cvttq', to avoid rounding up. - * collect2.c (FREAD, FWRITE): #undef if USG. +Tue Feb 9 18:45:57 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * x-mipsv: New file. - * configure (mips-*-sysv): Use it. + * 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. - * cccp.c (skip_to_end_of_comment): New arg NOWARN. Callers changed. - (do_xifdef, do_endif): Pass 1 for NOWARN. +Tue Feb 9 14:04:22 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * i386.h, hp800.h (ENCODE_SECTION_INFO): Handle CONSTRUCTOR node. - * i386.h (ENCODE_SECTION_INFO): Only decls can be global. + * fixincludes: Fix logic about when to duplicate entries under the + `FILE' link. - * cccp.c (warn_import): New variable. - (do_include): Test that. - (main): Handle -Wimport. +Tue Feb 9 13:22:28 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * hp800hpux.h (DBX_DEBUGGING_INFO): #undef it. - * x-hp800hpux: New file. - * configure (hp800-hp-hpux*): Use it. + * cccp.c (main): Fix lineno of "does not end in newline" message. + (finclude): Likewise. - * config.sub: Make triton alias for sysv3. +Tue Feb 9 12:03:37 1993 Michael Meissner (meissner@osf.org) - * collect2.c: If CROSS_COMPILE, #undef the special OBJECT_FORMAT_*. + * mips/mips.c (function_epilogue): Avoid integer overflows in + checking whether $31 is the only register saved. + (mips_epilogue_delay_slots): Ditto. -Thu Mar 12 10:35:50 1992 Ron Guilmette (rfg at ncd.com) +Tue Feb 9 05:46:17 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * gcc.c (default_compilers): Use .i suffix (instead of .cpp) for all - preprocessor output files. - (execute): Print commands used to invoke passes if -save-temps. + * rtl.h: Undefine ABS; some POSIX systems define it as 1. - * Makefile.in (mostlyclean): Delete *.i, not *.cpp. - Don't delete *.co. + * 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. -Thu Mar 12 07:13:33 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Tue Feb 9 01:13:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * xcoff.h (DBX_FINISH_SYMBOL): When writing function name, strip off - any storage class at the end. + * c-lex.c (yylex): For wide char constant, use wchar_type_node. + Swallow any preprocessing number as a (possibly erroneous) number. -Thu Mar 12 05:16:49 1992 Tom Wood (wood@dg-rtp.dg.com) + * tree.c (size_in_bytes): Add 2nd arg to force_fit_type. - * config.sub (-triton*): Delete this OS (it's sysv3). - * configure (m88k-dolphin-sysv3): Rename alternative. - * xm-m88kdolph.h: Delete. Use xm-m88kv3.h instead. - * x-m88kdolph: New file. - -Thu Mar 12 00:19:14 1992 James Van Artsdalen (james at bigtex.cactus.org) +Mon Feb 8 07:52:23 1993 Ian Lance Taylor (ian@cygnus.com) + + * configure (*-*-hpux*): Use install-headers-cpio. + +Mon Feb 8 07:13:49 1993 John Hassey (hassey@dg-rtp.dg.com) + + * toplev.c (compile_file): Don't flag global register variables + as unused. + +Mon Feb 8 06:06:58 1993 James Van Artsdalen (james at bigtex.cactus.org) + + * i386.md (extendsidi2): Use correct mnemonic for cwtl opcode. + +Mon Feb 8 05:52:08 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * 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. + +Sun Feb 7 23:34:16 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * expmed.c (emit_store_flag): Add missing arg to convert_move. + +Sun Feb 7 16:13:05 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu.edu) + + * 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. + +Sun Feb 7 13:12:23 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * c-lex.c (yylex): At eof, if binding levels not popped, + imagine some close-braces to pop them. + +Sun Feb 7 10:54:42 1993 Chip Salzenberg (chip@tct.com) + + * fold-const.c (fold): Call force_fit_type with two parameters. + + * 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. + +Sat Feb 6 20:26:09 1993 James Van Artsdalen (james at bigtex.cactus.org) + + * byteorder.h (386 htonl,htons): Avoid hard-coded register usage. + +Sat Feb 6 20:23:02 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * 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. + +Fri Feb 5 19:58:26 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * stmt.c (expand_expr_stmt): Bypass fetching a volatile value + if it is VOIDmode. + +Fri Feb 5 18:27:27 1993 Jim Wilson (wilson@geech.gnu.ai.mit.edu) + + 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. + + * sparc.h (EXTRA_CONSTAINTS): Delete 'R' support. + (CONST_OK_FOR_LETTER_P): Correct 'K' comment. + + * caller-save.c (CEIL): Delete. + (restore_referenced_regs): New var NUMREGS. Pass NUMREGS to + insert_save_restore instead of using using CEIL. + + * 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. + + * i960.c (legitimate_address_p): Accept either REG or SUBREG where + a register is valid in an address. + + * configure (*-*-sco*): Set install_headers_dir to cpio instead of tar. + + * cccp.c (finclude): Error if try to include a directory. + (S_ISDIR): Add a default definition. + +Fri Feb 5 10:24:35 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + * toplev.c (lang_options): Remove `-fSOS' and `-fno-SOS'. + + Wed Feb 3 16:34:58 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-decl.c (init_decl_processing): Add __builtin_args_info. + + Wed Feb 3 12:47:02 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-class.c (finish_struct_methods): Avoid creating a circularity + when putting ctors and dtors at the front of the list. + + * cp-init.c (build_new): Call c_sizeof_nowarn, not c_sizeof. + (build_delete): Likewise. + + Tue Feb 2 09:57:29 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-lex.c (yyprint): Make non-static. + + Mon Feb 1 17:09:19 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-lex.c (real_yylex): Use pedwarn for exceeding the range of a + double. + + Sat Jan 30 13:09:35 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-method.c (hack_identifier): Also check for VALUE being a + RESULT_DECL before looking for the DECL_REFERENCE_SLOT. + + * cp-decl2.c (bad_specifiers): Pass OBJECT into error. + + Fri Jan 29 11:46:46 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-class.c (alter_visibility): Forbid reducing the visibility of a + public member of the derived class. + + * 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 (start_method): When printing out the class name for a + duplicate definition, be sure to avoid a null context with the + second definition. + + Tue Jan 26 15:39:54 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-pt.c (lookup_template_class): Try to use the class value if + there's no global value. + + Mon Jan 25 15:59:21 1993 Mike Stump (mrs@cygnus.com) + + * cp-call.c (build_method_call): Remove TYPE_NEEDS_WRAPPER cruft. + + Sat Jan 23 12:13:24 1993 Niklas Hallqvist (niklas at della.appli.se) + + * cp-class.c (finish_struct): See to that static members whose type + is the class they're declared in gets a correct mode. + + Mon Jan 25 11:04:23 1993 Niklas Hallqvist (niklas at della.appli.se) + + * cp-decl.c (define_label): Don't report crossings of any internal + entity initializations. Don't dereference NULL. + + Wed May 13 21:44:05 1992 Niklas Hallqvist (niklas@appli.se) + + * cp-decl2.c: Support for NO_DOT_IN_LABEL. + * cp-tree.h: Likewise. + * cp-method.c: Likewise. + + * cp-except.c: Support for no JOINER setups (i.e. NO_DOT_IN_LABEL) + * cp-lex.c: Likewise. + * cp-search.c: Likewise. + + 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. - * i386.md (movstrsi recognizers): Fix reversed operands. + * pa.h (FIXED_REGISTERS): %r31 is not fixed. -Thu Mar 12 00:01:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Jan 28 23:49:25 1993 James Van Artsdalen (james at bigtex.cactus.org) - * gcc.c (main): - Don't require machine_suffix for md_startfile_prefix or md_exec_prefix. + * reg-stack.c (compare_for_stack_reg): Properly swap operands of a + COMPARE. - * toplev.c (main): Force flag_no_inline if not optimizing. +Thu Jan 28 13:47:53 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * dbxout.c (dbxout_type): Ignored names don't count in case UNION_TYPE. + * pa.md (iorsi3): Split into two patterns, a named "iorsi3" which + only accepts registers, and a combiner pattern which accepts a + restricted set of constant integers for one term. + * pa.c (ior_operand): Do not accept registers. - * cp-decl.c (pushtag): Push on ->tags and make TYPE_STUB_DECL - even if type has no tag name. - * cp-class.c (finish_struct): Always call rest_of_type_compilation. + * pa.h (LEGITIMIZE_ADDRESS): Delete cases which can never happen. - * cse.c (simplify_unary_operation): For SQRT, do nothing. + * 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 - * byteorder.h: Test __i860_big_endian__. +Thu Jan 28 07:51:47 1993 Ian Lance Taylor (ian@cygnus.com) - * ns32k.c (print_operand_address): Test NO_ABSOLUTE_PREFIX_IF_SYMBOLIC. - Test BASE_REG_NEEDED inside indirect address too. - * sequent.h (NO_ABSOLUTE_PREFIX_IF_SYMBOLIC): Defined. - (SEQUENT_ADDRESS_BUG, SEQUENT_BASE_REGS): #if 0. + * 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. -Wed Mar 11 22:55:38 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * c-decl.c (push_parm_decl): Clear immediate_size_expand temporarily. - * stor-layout.c (get_pending_sizes): Fix up SAVE_EXPR_CONTEXT. - (variable_size): No longer static. - * c-decl.c (grokdeclarator): Call variable_size, not save_expr. - Rename local `variable_size' to `size_varies'. +Thu Jan 28 07:30:25 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Wed Mar 11 18:53:23 1992 Chip Salzenberg (chip@tct.com) + * 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. - * collect2.c (OBJECT_FORMAT_COFF, OBJECT_FORMAT_ROSE): - (OBJECT_FORMAT_NONE): Three alternative strategies for finding inits. - OBJECT_FORMAT_COFF is completely new. - (is_ctor_dtor): New function. - [OBJECT_FORMAT_NONE, OBJECT_FORMAT_ROSE] (scan_prog_file): - Use is_ctor_dtor. +Thu Jan 28 06:56:04 1993 Pat Rankin (rankin@eql.caltech.edu) - * x-rs6000 (CLIB): Add -lld. - * t-rs6000: New file. - * configure (rs6000...): Use that file. + * 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). -Wed Mar 11 17:31:13 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) +Thu Jan 28 06:48:57 1993 Michael Collison (collison@osf.org) - * reload1.c (inc_for_reload): Call gen_add2_insn with negated - constant instead of gen_sub2_insn. + * optabs.c (init_fixtab, init_optabs): Fix typos in QFmode and HFmode + initialization. -Wed Mar 11 17:30:35 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Jan 27 13:11:26 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-typeck.c (build_binary_op): For shifts, always use op0 type. + * Makefile.in (includedir): Use local_prefix. - * stmt.c (expand_end_bindings): - Load virtual_incoming_args_rtx via a pseudo reg. +Wed Jan 27 12:08:05 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * math-68881 (pow): Add missing parens; typo in fp constant. + * 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. - * i386isc.h (LIB_SPEC): Add -lg. + * 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. - * libgcc2.c (__CTOR_LIST__, __DTOR_LIST__): - Don't define if CTOR_LISTS_DEFINED_EXTERNALLY. - (__builtin_saveregs): Handle NO_UNDERSCORES for sparc. +Wed Jan 27 06:46:50 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * pbb.h, pbd.h: New files from Mike Bloom. - * configure (m68k-tti2-*): Turned back on. + * 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. - * c++: Add a colon command in case system doesn't handle #!/bin/sh. + * 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. -Mon Mar 11 19:54:43 1992 James Van Artsdalen (james at bigtex.cactus.org) + * 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. - * i386.md (integer truncMN2): Delete patterns. Not needed on i386. + * 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 Mar 11 16:58:56 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. - * m88kv3.h (STARTFILE_SPEC, LIB_SPEC): Search for crt{begin,end}.o - (DO_GLOBAL_CTORS_BODY, CTORS_SECTION_ASM_OP, ASM_OUTPUT_CONSTRUCTOR, - DTORS_SECTION_ASM_OP): Implement new svr3 scheme. +Tue Jan 26 19:31:31 1993 Tom Wood (Tom_Wood@NeXT.com) -Wed Mar 11 16:24:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * combine.c (combine_instructions): Initialize undobuf in the + event `gen_rtx_combine' is called before `try_combine'. - * fold-const.c (fold): When correcting constant result of GE, LE, NE, - make sure we really have a constant result. +Tue Jan 26 18:20:04 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * ns32k.md (call, call_value): Support GAS_SYNTAX and GNX_V3 like 1.40. + * i960.md (umulsidi3+1): Add variant which accepts constants. - * c-decl.c (pushdecl): Properly use prev implicit decl in warning. + * 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. -Wed Mar 11 16:05:20 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Tue Jan 26 13:46:04 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * Makefile.in (OBJS): Add xcoffout.o. - (dbxout.o, final.o, toplev.o, varasm.o): Add xcoff.h dependency. - (xcoffout.o): Add rule to build. + * xm-alpha.h (ONLY_INT_FIELDS): Define if not __GNUC__. - * xcoffout.c: Change names of rs6000_*_section_name variables to - xcoff_*_section_name, and move definitions of them here from - rs6000.c. - * xcoff.h: Likewise, move declarations here from rs6000.h. - * rs6000.c: Delete definitions of rs6000_*_section_name variables. - * rs6000.h: Delete declarations of rs6000_*_section_name variables. + * collect2.c (write_list_with_asm): Use `__asm__' instead of + `asm', to avoid problems with `-fno-asm'. - * rs6000.c (output_epilog): Add comment to note lack of traceback - table support. - * rs6000.h: Refine comment explaining ASM_SPEC definition. - (XCOFF_DEBUGGING_INFO): Define. - (DBX_CONTIN_LENGTH, DBX_NO_XREFS): Move to xcoff.h. - (ASM_FILE_START): When -g, emit private_data_section. - (ASM_DECLARE_FUNCTION_NAME): When -g, output .lglobl for static - functions. Also, output .function debug info. - (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Add bss_section call. + * 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. - * dbxout.c: Include xcoff.h when XCOFF_DEBUGGING_INFO is defined. - Define default values for DBX_DECL_STABS_CODE, - DBX_STATIC_CONST_VAR_CODE, DBX_REGPARM_STABS_CODE, and - DBX_REGPARM_STABS_LETTER. These exist to be overriden for xcoff. - Include entire file if either DBX_DEBUGGING_INFO or - XCOFF_DEBUGGING_INFO is defined. - (dbxout_type): Add early exit if DBX_TYPE_DEFINED, used for xcoff. - (dbxout_symbol): Use DBX_DECL_STABS_CODE instead of N_LSYM for - tags and typedefs. Use DBX_STATIC_CONST_VAR_CODE instead of N_FUN - for static const variables. Add DBX_STATIC_BLOCK_START and - DBX_STATIC_BLOCK_END around output of stab info, for xcoff use. - (dbxout_finish_symbol): Use DBX_FINISH_SYMBOL instead if defined. - (dbxout_syms, dbxout_parms): No longer static, referenced from - xcoffout.c. - (dbxout_parms): Use DBX_REGPARM_STABS_CODE instead of N_RSYM. Use - DBX_REGPARM_STABS_LETTER instead of 'P'. - (dbxout_reg_parms): No longer static. - * final.c: Also include gstab.h if XCOFF_DEBUGGING_INFO defined. - Include xcoff.h if XCOFF_DEBUGGING_INFO defined. - (final_start_function): Call xcoffout_output_first_source_line - when XCOFF_DEBUG. Set next_block_index if XCOFF_DEBUG. - (final_end_function): Call xcoffout_end_function if XCOFF_DEBUG. - Call xcoff_end_epilogue if XCOFF_DEBUG. - (final_scan_insn): Call xcoffout_begin_function, - xcoffout_begin_block, and xcoffout_end_block if XCOFF_DEBUG. - (output_source_line): Also call dbxout_source_file if XCOFF_DEBUG. - * flags.h: Define XCOFF_DEBUG. Also declare - use_gdb_dbx_extensions if XCOFF_DEBUGGING_INFO. - * toplev.c: Also declare use_gdb_dbx_extensions if - XCOFF_DEBUGGING_INFO. Include xcoff.h in XCOFF_DEBUGGING_INFO. - (compile_file): Also call dbxout_init, and dbxout_finish if - XCOFF_DEBUG. - (rest_of_decl_compilation): Also call dbxout_symbol if - XCOFF_DEBUG. - (rest_of_type_compilation): Also call dbxout_symbol if - XCOFF_DEBUG. - (main): Add support for recognizing -g when XCOFF_DEBUGGING_INFO. - * varasm.c: Include xcoff.h if XCOFF_DEBUGGING_INFO. - (assemble_variable): Also call dbxout_symbol when XCOFF_DEBUG. - Change all returns to goto finish. At finish label, - call dbxout_symbol if XCOFF_DEBUG. + * stmt.c (expand_value_return): Call convert_move instead of the + erroneous convert_to_mode. - * dbxstclass.h: New file. Define XCOFF specific storage classes. - * xcoff.h: New file, for XCOFF support. Included by xcoffout.c, - dbxout.c, final.c, toplev.c, and varasm.c. - * xcoffout.c: New file for XCOFF support. Most of the support is - implemented by dbxout.c, this just includes stuff that can not be - easily performed within dbxout.c. +Tue Jan 26 00:58:53 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * toplev.c (struct W_options): Add entry for warn_inline, so user - can turn this warning on. + * collect2.c (find_a_file): First `access' test was backwards. + (main): Set full_real_ld_suffix right. -Wed Mar 11 15:11:42 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * c-decl.c (init_decl_processing): Use 10 as size + of ..._array_type_node. - * optabs.c (init_optabs): Fix typo (Imode instead of TImode) in - HAVE_subti3 case. + * 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. -Wed Mar 11 13:10:20 1992 Jeffrey A. Law (law@wombat.gnu.ai.mit.edu) +Mon Jan 25 19:31:32 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) - * sparc.h (REG_ALLOC_ORDER): Make %g3 more desirable. + * print-rtl.c (debug_rtx_list, debug_rtx_find): New functions. + * .gdbinit (prl): New command. -Wed Mar 11 12:35:12 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Jan 25 14:49:45 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * fixincludes (egrep cmd): Delete misplaced `#e[nl]'. + * sparc.c (init_arg_profiler, output_arc_profiler): Delete unused + functions. + * sparc.h (ARC_PROFILER): Delete unused macro. - * jump.c (jump_optimize): Try to fix last change. + * 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. - * expmed.c (init_expmed): Use big, ugly factor in mult_is_very_cheap. + * 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. -Wed Mar 11 08:00:18 1992 Tom Wood (wood@dg-rtp.dg.com) + * i960.c (secondary_reload_class): Correct test against + FIRST_PSEUDO_REGISTER. - * toplev.c (rest_of_compilation): Use sdbout_types to clear the - anonymous types queue if any. - * sdbout.c: Correct spelling of sdbout_dequeue_anonymous_types. + * sparc.c (registers_ok_for_ldd_peep): Delete test for pseudos. - * genattrtab.c (attr_string): Don't assume a terminating null. + * optabs.c (emit_indirect_jump): Use Pmode instead of VOIDmode and + insn_operand_mode. -Wed Mar 11 07:05:38 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * 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. - * reload1.c (reload_as_needed): Delete erroneous test of - basic_block_needs. + * c-decl.c (language_string): Delete from here. + * c-parse.in (language_string): Define here for C and Obj-C. - * stmt.c (expand_end_case): Know that we will obtain a constant - if we were passed a COMPOUND_EXPR whose second operand is constant. - Fold the MINUS_EXPR we make for casesi. +Mon Jan 25 13:54:16 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * reorg.c (update_block_from_store): Deleted. - (update_block): Always leave USE; don't try to update live regs. + * c-decl.c (finish_struct): Disable "structure/union defined + inside parms" if compiling with -traditional. - * explow.c (copy_to_suggested_reg): Add new arg for mode to use. - * expmed.c (expand_divmod): Pass new arg to copy_to_suggested_reg. +Mon Jan 25 05:24:12 1993 Niklas Hallqvist (niklas at della.appli.se) - * reload1.c (set_label_offsets, reload_as_needed): Consistently - ignore non-eliminables when computing num_not_at_initial_offset. + * i386.md (extendsidi2): Fix typo in regno. - * rs6000.md (subsi3): Remove unnecessary call to force_reg. +Mon Jan 25 00:07:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * rs6000.c (output_epilog): Separate setting LR from loading - it from memory in some cases. - Branch to FP restore routine instead of calling it. + * c-decl.c (lookup_label): Return 0 if not within a function. - * flow.c (propagate_block): CC0 is not live when we delete a dead - insn. - * cse.c (delete_dead_from_cse): An insn setting CC0 is not live - if the next insn doesn't reference CC0. + * c-parse.in (unary_expr => ANDAND identifier): + Handle lookup_label returning 0. - * cse.c (cse_insn): If we see a narrow AND with a constant, check if - we have seen a wider AND. + * Makefile.in (install-float-h-cross): + Don't ignore error when running enquire. - * combine.c (can_combine_p): Allow SUBREG of non-tiable regs if we - are going to do is copy it to CC0. +Sun Jan 24 22:41:00 1993 Michael Meissner (meissner@osf.org) - * reload.c (find_secondary_reload): If X is a pseudo with an - equivalent MEM, use the MEM to see if a secondary reload is needed. - Don't call REG_CLASS_FROM_LETTER for 'r'. - * reload1.c (emit_reload_insns): Handle reloading pseudos - with equivalent MEM when we have secondary reloads; use the MEM - when required. + * 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. - * romp.md (reload_outsi): Pattern should be a single PARALLEL - whose second component is a CLOBBER. +Sun Jan 24 18:40:44 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Mar 11 03:11:26 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * gcc.c (find_a_file, do_spec_1): Always obey require_machine_suffix. - (machine_explicit): Var deleted. +Sun Jan 24 07:19:03 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Mar 10 23:12:24 1992 Jeffrey A. Law (law@wombat.gnu.ai.mit.edu) + * final.c (final_scan_insn): Call alter_subreg on duplicate + operands (in case we need to split the insn). - * m68k.md (68000 special shifts): No longer accept a shift count - of 16. Delete support for shifts by 16 places. - (shift by 16 bits): New patterns which apply to all 68k models. - * m68k.h (RTX_COSTS): Shifts by 16 are cheap. + * local-alloc.c (CLASS_LIKELY_SPILLED_P): Add default definition. + (alloc_qty_for_scratch, local_alloc): Use CLASS_LIKELY_SPILLED_P. -Tue Mar 10 20:37:31 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Jan 23 19:41:21 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * dwarfout.c (location_or_const_value_attribute): - Reenable changes disabled on Feb 21. - * function.c (instantiate_decls): Likewise. + * combine.c (apply_distributive_law): Don't mess with float arith. - * sdbout.c (sdbout_symbol): Handle (mem (const...)). - * dbxout.c (dbxout_symbol): Likewise. + * c-parse.in: Use new name objc-act.h. - * xm-i386isc.h: New file. - * configure (i386-*-isc*): Use it. +Sat Jan 21 13:12:49 1993 Serge Adda (adda@soft01) - * hp320.h (MD_STARTFILE_PREFIX): Deleted. + * expmed.c (emit_store_flag): Reset ICODE using returned COMPARISON. - * m68k.h (RTX_COSTS): If MULT is a shift, jump to shift case. +Sat Jan 23 18:27:35 1993 Niklas Hallqvist (niklas@spiff.gnu.ai.mit.edu) - * sun3.h (TARGET_MEM_FUNCTIONS): Defined. + * 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. - * toplev.c (rest_of_compilation): Call sdbout_dequeue_anonymous_types - even if we don't output assembler code. +Sat Jan 23 16:28:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * jump.c (jump_optimize): In `if (foo) bar; else break;' optimization, - include in range1 and range2 any line numbers at the beginning. + * cccp.c (change_newlines): Renamed from delete_newlines. + Insert a space in place of a newline. Caller changed. - * c-typeck.c (spelling_length): Initialize `size'. - (PUSH_SPELLING): `spelling_size' is measured in elements. - (get_spelling): Use xmalloc if there is no buffer yet. + * config/m68k/hp320.h (ASM_OUTPUT_DOUBLE_OPERAND): Delete space + before arglist. -Tue Mar 10 20:25:56 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Sat Jan 23 09:20:41 1993 Niklas Hallqvist (niklas at della.appli.se) - * integrate.c (save_for_inline_copying): - Set up LABEL_NAME of label copies. + * Makefile.in (cross-test): Depend on GCC_PARTS. - * sparc.md: Clean up attribute settings. Add default length of 2 - for insns of type multi. Make sure all insns have correct type and - length attribute values. +Sat Jan 23 07:15:10 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Mar 10 19:13:19 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * c-decl.c (warn_parentheses): Default is 0. - (c_decode_option): -Wall implies -Wparentheses. + * rs6000.h (ADJUST_COST): Add new definition. -Tue Mar 10 17:49:51 1992 Torbjorn Granlund (tege at mole.gnu.ai.mit.edu) +Fri Jan 22 18:55:00 1993 Niklas Hallqvist (niklas at della.appli.se) - * hp800.md (shNadd recognizers): Put the MULT first, to obey insn - canonicalization rules. + * fixinc.svr4: Use pwd if PWDCMD is undefined. Add missing echo + command. - * hp800.md (subsi3): Don't handle constants for operand 2, but - do handle them for operand 1, for the subi insn. +Fri Jan 22 18:08:47 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * hp800.md (compare into ordinary reg): Use "arith11_operand", not - "arith_operand" for operand 2. Use `I', not `J' as constraint. - Don't change the constant in the output code (i.e. undo Mar 10 - change). - * hp800.c (arith11_operand): New predicate function. Fix comment. + Cygnus<-->FSF merge. - hp800.md (mulsi3): Don't handle CONST_INT specifically, rely on - machine independent code. - * hp800.h (RTX_COST): Define. - * hp800.c (ABS, mul_operands, emit_mul_by_constant) Remove. - (mul_by_constant_aux, test_factor_and_output): Remove. + Thu Jan 21 15:26:59 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * hp800.md (addsi3): Use "register_operand" for operand 1, not - "arith_operand". + * Makefile.in (convert.o): Add dependencies. - * hp800.md: Clean up spacing and comments in a few places. + * cp-gc.c (NULL): Undef before defining. + * cp-init.c (NULL): Likewise. + * cp-expr.c (NULL): Likewise. - * hp800.c (output_move_double): Handle auto increment and auto - decrement. Remove unused enums. Test for either operand being a - REGOP instead if RNDOP, since we require at least one operand to - be a register. Pass the MEM address to find_addr_reg, not the - entire MEM rtx (in two places). + * cp-decl.c (grokdeclarator): Relegate error about operator= to a + warning for now, an error later. - * hp800.h (WORDS_BIG_ENDIAN): Fix typo in comment. - (RTX_COST): Return cost of a PLUS, to indirectly give the right - cost for the shNadd insns. Adjust the cost for division. + Tue Jan 19 16:40:19 1993 Mike Stump (mrs@cygnus.com) -Tue Mar 10 15:57:24 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * cp-type2.c (my_friendly_assert): Don't set errorcount or + sorrycount to zero, as we no longer say "please fix above errors". - * sparc.md: Add pattern for optimizing bitfield compares. This - pattern was accidently lost when other (now-obsolete) bitfield - patterns were removed. + Mon Jan 18 19:44:53 1993 Mike Stump (mrs@cygnus.com) - * sparc.c (arith32_operand): Deleted. - * sparc.md (movstrsi): Now uses nonmemory_operand for length. + * 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. - * sparc.c (output_arc_profiler): Emit insns from first to last - instead of last to first, since it is much clearer. Eliminate - profiler_target, since it resulted in illegal rtx sharing. + Mon Jan 18 16:23:11 1993 Mike Stump (mrs@cygnus.com) - * sparc.c (legitimize_pic_address): Make -fPIC work again, re the - Feb 27 cse.c LO_SUM fix. Put addresses inside UNSPEC when loading - them to ensure that cse won't mistakenly optimize them. - * sparc.md: Two new patterns, to match (HIGH (UNSPEC (..))) and - (LO_SUM (reg) (UNSPEC (..))) as generated above. + * cp-typeck.c (build_unary_op): Improve error message for + {pre,post}-{increment,decrement}. -Tue Mar 10 14:58:19 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Mon Jan 18 13:58:14 1993 Mike Stump (mrs@cygnus.com) - * mips-news.h (ASM_SPEC): Move %{G*} outside of -mgas conditional. - * nws3250v4.h, xm-nws3250v4.h, x-nws3250v4: New files. From cph. + * cp-typeck.c (build_binary_op): Improve error message. - * i860.c (sfmode_constant_to_ulong): Fix typo in last change. + Fri Jan 15 17:53:33 1993 Mike Stump (mrs@cygnus.com) - * expr.c (store_expr): Initialize `label'. + Fri Jan 15 00:35:22 1993 Niklas Hallqvist (niklas at della.appli.se) - * 3b1.h (HAVE_ATEXIT): #undef this. + * 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. - * hp800.md (compare into ordinary reg): Make large ints "negative". + Fri Jan 15 17:32:56 1993 Mike Stump (mrs@cygnus.com) - * hp800hpux.h: New file. - * configure (hp800-*-bsd*): Renamed from hp800-*-*. - (hp800-*-hpux*): New configuration. + Fri Jan 15 00:35:22 1993 Niklas Hallqvist (niklas at della.appli.se) -Tue Mar 10 11:03:47 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * cp-decl.c (grokvardecl): Implement the "one definition rule". - * expmed.c (init_expmed): Make the lea pattern in the canonical way. + Fri Jan 15 17:17:05 1993 Mike Stump (mrs@cygnus.com) -Tue Mar 10 10:32:30 1992 Tom Wood (wood@hal) + * 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. - * m88k.h (ASM_OUTPUT_{COMMON,LOCAL}): Compute size consistently. + Fri Jan 15 17:10:59 1993 Mike Stump (mrs@cygnus.com) -Tue Mar 10 07:41:09 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + Thu Jan 14 16:02:27 1993 Niklas Hallqvist (niklas at della.appli.se) - * recog.c (constrain_operands, case 'E'): Fix typo. + * cp-decl.c (start_function): Don't try to match static member + functions with "C"-linkage declared global functions. - * function.c (setjmp_protect): Don't put vars from inline functions - on the stack. + Thu Jan 14 17:58:15 1993 Mike Stump (mrs@cygnus.com) - * c-typeck.c (process_init_constructor): Don't use host integers for - bounds and index computation; use trees instead. - If specifying index in array with unset bounds, assume lower bound - of zero and check specified index against zero. + * 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. - * tree.h (mode_for_size): Don't declare here. - * machmode.h (mode_for_size): Declare here instead. + Thu Jan 14 17:15:40 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * reorg.c (fill_slots_from_thread): Try to split THREAD immediately - so we don't get confused if it gets split later. + * cp-decl.c (grokdeclarator): Don't warn on an initialized var + that's extern if it's a const. - * reorg.c (fill_slots_from_thread): Don't take add from loop - head if the increment amount depends on the target register, since - we can't undo the operation. + Thu Jan 14 17:03:40 1993 Michael Tiemann (tiemann@rtl.cygnus.com) -Mon Mar 9 12:18:04 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * 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. - * unroll.c (final_biv_value): Fail if the biv is not MODE_INT. + Thu Jan 14 02:09:17 1993 Mike Stump (mrs@cygnus.com) - * combine.c (distribute_notes, case REG_DEAD): Call rtx_equal_p - to verify that it was the set that modified the register, and - not a clobber. + * 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. -Sun Mar 8 22:20:24 1992 James Van Artsdalen (james at bigtex.cactus.org) + Wed Jan 13 22:43:58 1993 Mike Stump (mrs@cygnus.com) - * c-parse.y,c-lex.c,cp-hash.h,cp-parse.y,cp-spew.c,objc-parse.y: - Rename `ASM' to `ASM_KEYWORD' to avoid trouble with SCO - . + * cp-search.c (get_base_distance): Allow checking of UNION_TYPEs, + as some of the init code calls us. -Sun Mar 8 23:16:37 1992 Jeffrey A. Law (law@wombat.gnu.ai.mit.edu) + Wed Jan 13 21:12:22 1993 Mike Stump (mrs@cygnus.com) - * expr.c (move_by_pieces, move_by_pieces_ninsns): Remove March 4 and - March 5 changes. Set max_size to MOVE_MAX + 1 instead. + Mon Jan 11 20:11:17 1993 Niklas Hallqvist (niklas at della.appli.se) -Sun Mar 8 17:08:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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 (do_tablejump): New arg MODE. - * stmt.c (expand_end_case): Pass that arg. + Tue Jan 12 18:53:44 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * c-decl.c (pushtag): Push even anonymous types on tags list. - (parmlist_tags_warning): Handle anonymous types in the list. + * 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. -Sun Mar 8 15:08:58 1992 James Van Artsdalen (james at bigtex.cactus.org) + * 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. - * i386mach.h (perform_fixdfsi): Rename from *_fix_trundfsi2. - Restore float control word correctly. - * i386rose.h (perform_fixdfsi): Likewise. + * cp-call.c (convert_harshness): Avoid dereferencing a null PARM, + which can be passed in by convert_harshness itself. - * i386.h (CONST_DOUBLE_OK_FOR_LETTER_P): Allow float constants, - even if -msoft-float is used: reg-stack.c may emit an insn to load - the function value register with 0.0. + Mon Jan 11 12:25:51 1993 Brendan Kehoe (brendan@cygnus.com) - * i386.md (bit test insns): Don't allow memory operands as the - first argument of the zero_extract. + * 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. - * i386isc.h (RETURN_POPS_ARGS): Comment this out: ISC uses the - standard definition. + * cp-xref.c (fctname): Delete extern decl of `declname'. - * i386sco.h (STARTFILE_SPEC): Use crtbegin.o. - (ENDFILE_SPEC): Use crtend.o. - (CPP_SPEC): #undef before defining. - (RETURN_POPS_ARGS): Caller pops args on SCO. + * cp-type2.c (build_scoped_ref): Pass the nodes themselves down into + error_not_base_type, not the strings, since it'll peel off the decl + name and type name of them itself. -Sun Mar 8 14:25:16 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. - * configure: Fatal error if srcdir has already been configured. - Remove periods from error messages. + * dbxout.c (dbxout_type_methods): Only emit warning about dbx info + for templates when WARN_TEMPLATE_DEBUGGING is set. Only reference + the var WARN_TEMPLATE_DEBUGGING if we've got HAVE_TEMPLATES defined. + * cp-tree.h (HAVE_TEMPLATES): Define. + * cp-decl2.c (lang_decode_option): Set WARN_TEMPLATE_DEBUGGING when + given -Wall. + * flags.h (warn_template_debugging): Add extern decl. + * toplev.c (lang_options): Add -Wtemplate-debugging. - * 3b1.h, mot3300.h (ASM_OUTPUT_OPCODE): Change swap to swap.w. - (SGS_SWAP_W): Deleted. - * m68ksgs.h (ASM_OUTPUT_OPCODE): If SGS_SWAP_W, change swap to swap.w. - * m68k.md: Delete all SGS_SWAP_W conditionals. + * cp-decl.c (make_temporary_for_reference): Call make_decl_rtl with + a NULL_PTR, not 0. + (finish_decl): Likewise. + (grokfndecl): With a NULL_PTR, not a NULL_TREE. - * m68k.md (shift using swap, dbra patterns): Change clrw to clr%.w. + Fri Jan 8 19:43:52 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * hp800.h (output_global_address): Use `-' for PLUS of neg integer. - Clean up spacing and braces in several places in file. + * cp-search.c (get_binfo): Use obstack_ptr_grow instead of + obstack_int_grow, casting the int to a void*. When retrieving it, + cast the result of dereferencing SEARCH_STACK->FIRST as an int. + (get_base_distance): Likewise. + (breadth_first_search): Likewise. - * byteorder.h (htons): Use unsigned int for arg type. +Fri Jan 22 15:09:42 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) -Sun Mar 8 07:36:44 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * pyr.h (SIZE_TYPE): Define. + (NO_DOLLAR_IN_LABEL): Define. - * rs6000.c (print_operand, case 'A'): New case. - * rs6000.md (sri): New %A to use "sli" for count of zero to work - around bug in RS/6000 assembler. +Fri Jan 22 12:19:47 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * config.sub (os): Add "aos" to basic list, no longer the same - as "bsd"; "acis" is an alternate for "aos". - (romp): No longer has a default system. - * configure (romp-*-aos*): Renamed from romp-*-bsd*; BSD means - real BSD (4.3 Tahoe+), AOS means IBM system. + * pa.c (secondary_reload_class): Simplify. - * Makefile.in (crtbegin.o, crtend.o): Use -o for output instead of - putting in crtstuff.o and renaming to desired name. +Fri Jan 22 07:57:57 1993 Richard Kenner (kenner@vlsi1.ultra.nyu) - * reload1.c (reload): Re-check eliminability of registers on each - reload pass. + * collect2.c (our_file_name): New variable. + (find_a_file): Ignore filename equal to that in our_file_name. + (main): Initialize our_file_name. - * jump.c (mark_jump_label): Make multiple REG_LABEL notes if - more than one label is mentioned in an insn. + * expr.c (emit_library_call): Correct mis-applied patch. - * integrate.c (copy_rtx_and_substitute): Properly initialize - const_equiv_map for the equivalents of AP and FP. +Thu Jan 21 11:36:04 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * rs6000.h (TARGET_MEM_FUNCTION): Define. + * 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. -Sun Mar 8 00:05:47 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Jan 19 20:08:01 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * c-decl.c (store_parm_decls): Copy function type before changing it. - * tree.c (build_type_copy): New subroutine. + 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. - * t-next (LIBGCC1): Assigned, instead of LIBGCC. + * reorg.c (update_reg_dead_notes): New function. + (fill_simple_delay_slots): Call new function when moving + instruction forward into a delay slot. - * m68k.h (SHIFT_COUNT_TRUNCATED): Deleted. + * sched.c (sched_analyze_1, sched_analyze_2): Ifdef out code added + for handling psuedo register equivalents that was added Dec 31 1992. -Sat Mar 7 23:47:57 1992 James Van Artsdalen (james at bigtex.cactus.org) + 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. - * i386.md (xorsi3,xorhi3): Don't emit a byte opcode with an SImode - operand. +Tue Jan 19 15:28:59 1993 James Van Artsdalen (james at bigtex.cactus.org) -Sat Mar 7 22:49:21 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * function.c (fixup_var_refs_1): Set INSN_CODE to -1 before seeing + if new insn form is recognized. - * c-typeck.c (convert_arguments): -Wconversion warning - if argument is passed as float. - For fixed arguments, warn if type passed doesn't match - what default_conversion produces. + * reg-stack.c (all functions): Use NULL_RTX instead of 0 for rtx + comparisons. - * gcc.c (cross_compile): New variable, 1 if cross-compiling. - (read_specs): Read it from specs. - (process_command): Dump it to specs. + (emit_pop_insn): Emit insn with mode QImode: insn contains + stack-regs. - * gcc.c (process_command): Don't use MD prefixes and - standard_startfile_prefix* here. - (main): Use them here, if not cross-compiling. + (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. -Sat Mar 7 18:13:45 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + (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. - * reload1.c (reload_as_needed): Eliminate regs in (use (mem ..)) - and (clobber (mem ...)) insns. + * 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. - * combine.c (distribute_notes): Fix minor bug in handling of - multi-register values when only one part is used. + * 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. - * optabs.c, expr.c: Always call emit_library_call with no_queue == 1. + (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. - * function.c (fix_lexical_addr): Correctly set BASE in non-separate - AP case. +Tue Jan 19 15:51:16 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) -Sat Mar 7 15:39:57 1992 Jyrki Kuoppala (jkp@batman.cs.hut.fi) + * pa.md (define_function_unit for memory): Memory is pipelined. - * ns32k.h (TRANSFER_FROM_TRAMPOLINE): changed "ret" to "ret 0" + * 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. -Sat Mar 7 15:41:46 1992 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu) + * pa.md (many patterns): Use canonical address format. Use %r + register notation. Use GEN_INT. - * fixincludes: Don't do special fixes on signal.h, which were only - needed because of #endif comment fixes. + * pa.md (main move SF recognizer): Allow 0 for copying to + general register. -Sat Mar 7 15:11:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * pa.md (zero_extendhisi2): Remove DEFINE_EXPAND. + (zero_extendqihi2): Likewise. + (zero_extendqisi2): Likewise. + (comment before sign extension): Remove the lie. - * m68k.h (ASM_OUTPUT_ALIGN): Don't crash if LOG is more than 1. + * pa.h (REG_CLASS_FROM_LETTER): Remove partly incorrect PA + documentation. - * varasm.c (decode_reg_name): Make various prefixes optional - whether or not they are in REGISTER_NAMES. - (strip_reg_name): New subroutine. +Tue Jan 19 09:22:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * i386.c: Fatal error if EXTRA_CONSTRAINT is defined. + * 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. - * collect2.c [USG] (R_OK, W_OK, X_OK): Define them if missing. +Tue Jan 19 08:29:16 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * x-hp320g (RANLIB, RANLIB_TEST): Defined. + * rs6000.c (print_operand, case 'k'): New case. + * rs6000.md (plus of gtu patterns): Add case to handle immediates. - * Makefile.in (EXTRA_PROGRAMS): New variable is list of programs. - (native): Build them. Don't build EXTRA_PARTS. - (rest.encap): Build EXTRA_PARTS. - (GCC_PARTS): Include EXTRA_PROGRAMS. - (install-common): Build EXTRA_PROGRAMS. - * t-convex (EXTRA_PROGRAMS): Define instead of EXTRA_PARTS. + * rs6000.c (output_epilog): Only restore the cr's that we actually + used; previously, we saved and restored all of them. - * Makefile.in (distclean): Don't delete backups, etc. - (extraclean): New target--delete those things here. - (gcc.xtar): Use extraclean. - (cleanconfig): Deleted. - (realclean): Depend on distclean. + * combine.c (combine_instructions): Clear reg_last_set_label. -Sat Mar 7 14:54:29 1992 Tom Wood (wood@dg-rtp.dg.com) +Tue Jan 19 01:16:45 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * genattrtab (attr_printf): Provide alternate based on HAVE_VPRINTF. + * flow.c (find_basic_blocks): Don't mark labels in nonlocal_label_list + that were deleted due to having no references. -Sat Mar 7 14:25:58 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) +Mon Jan 18 21:02:22 1993 H.J. Lu (hlu@yardbird.eecs.wsu.edu) - * hp800.c (secondary_reload_class): Change `=' to `==' in `if'. + * configure (--local-prefix=DIR): new flag sets $local_prefix. + The default is /usr/local. Put it into Makefile. -Sat Mar 7 13:25:17 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. - * cccp.c (do_line): Fix typo. +Mon Jan 18 15:29:46 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * configure (decoding args): Delete excess fi. + * objc-act.c, objc-act.h: Renamed from objc-actions.*. + * objc-act.c: Include objc-act.h. + * Makefile.in: Targets and deps changed. -Sat Mar 7 09:29:41 1992 Michael Meissner (meissner@osf.org) + * objc-actions.c (encode_method_def): Null-terminate encoding. + (build_ivar_list_initializer): Null-terminate type encoding. - * mips.h (CONST_COSTS): Complete last change. + * cccp.c (include_defaults): Do use GCC_INCLUDE_DIR for cross compiler. + Move TOOL_INCLUDE_DIR later if cross. - * mips.md (movsi_ulw, movsi_usw): Complete last change. +Mon Jan 18 13:39:32 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) -Sat Mar 7 07:28:03 1992 Tom Wood (wood at dg-rtp.dg.com) + * expr.c (emit_library_call): Handle OUTGOING_REG_PARM_STACK_SPACE. + Use NULL_TREE instead of (tree) 0. - * config.sub (*-dolphin, -triton*): New vendor/OS. - * configure (m88k-dolphin-trition): New alternative. - * m88kdolph.h: New file. - * xm-m88kdolph.h: New file. + * expr.c (emit_move_insn, expand_expr): Fix typos in comments. -Sat Mar 7 10:07:44 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + * cccp.c (initialize_builtins): Add uses of new macros + NO_BUILTIN_SIZE_TYPE and NO_BUILTIN_PTRDIFF_TYPE. - * make-l2.com: Do not allow the user to run this with gcc 1.nn. + * i960.h (ROUND): Change macro name to ROUND_PARM. + * i960.c (i960_function_arg_advance, i960_function_arg): Likewise. - * make-gcc.com: Use the new compiler to build libgcc2.c (through - make-l2.com). + * 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. -Sat Mar 7 05:36:16 1992 K. Richard Pixley (pixley@nutrimat.gnu.ai.mit.edu) + * x-linus (LANGUAGES): Delete. - * Makefile.in: added the exec_prefix variable for installing host - dependent programs and libraries. +Mon Jan 18 08:13:34 1993 James Van Artsdalen (james at bigtex.cactus.org) -Sat Mar 7 00:09:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Makefile.in (stmp-headers): Delete target files before copying + to them. - * genextract.c (mybzero): New fn. Used instead of bzero. +Mon Jan 18 06:23:35 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in (all): Indirect to all-internal. - (all-internal): New rule, following where cross-make gets inserted. + * collect2.c (choose_temp_base, main): Fix "off by one" errors in + sizes of allocated strings. - * vms.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE): Defined. +Mon Jan 18 00:32:20 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * protoize.c: Don't declare fork or vfork. + * gcc.c (process_command): Fix typo in last change. - * i860.c (sfmode_constant_to_ulong): Use REAL_VALUE_FROM_CONST_DOUBLE. +Sun Jan 17 13:09:03 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * gcc.c (handle_braces): Verify actual suffix length matches - desired. + * 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. - * hp800.h (GO_IF_LEGITIMATE_ADDRESS): Add parens for clarity. +Sun Jan 17 10:38:38 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - * c-typeck.c (pointer_int_sum): Handle intop which is sum or diff - of arguments with different types. + * 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. - * c-typeck.c (PUSH_SPELLING): If no buffer yet, use xmalloc. +Fri Jan 15 16:42:30 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * m68k.c (output_dbcc_and_branch): Use \n\t between pair of insns. + * 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. - * sparc.h (TARGET_MEM_FUNCTIONS): Defined. + * integrate.c (FIXED_BASE_PLUS_P): Fix typo. -Fri Mar 6 18:48:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * loop.c (move_movables): Clear INSN_CODE for each insn as + we perform register replacements. + (strength_reduce): Likewise. - * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Don't call ON_EXIT here. - * crtstuff.c, libgcc2.c (__do_global_ctors): Call it here. +Fri Jan 15 16:02:07 1993 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) - * i386sco.h (HAVE_ATEXIT): Defined. + * final.c (alter_cond): Undo previous change. - * collect2.c (my_exit, main): Avoid dereferencing 0. +Thu Jan 14 22:09:40 1993 Ian Lance Taylor (ian@cygnus.com) - * stmt.c (expand_decl_init): Don't alter TREE_USED of the variable. + * Makefile.in (stmp-headers): Avoid problems with relative + $(srcdir) when installing syslimits.h. -Fri Mar 6 18:24:39 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Thu Jan 14 19:20:01 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * mot3300.h (SIZE_TYPE): Define as "unsigned int". + * 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. - * combine.c (make_extraction): STRICT_ALIGNMENT is now non-zero if - true, instead of relying on whether it is defined or not. - * c-typeck.c, cp-typeck.c (build_c_cast): Likewise. - * stor-layout.c (layout_type) Likewise. - * expr.h (MUST_PASS_INSTACK_BAD_ALIGN): Likewise. - * expr.c: Set default value of SLOW_UNALIGNED_ACCESS to zero. - (move_by_pieces, move_by_pieces_ninsns, emit_push_insn): - SLOW_UNALIGNED_ACCESS and STRICT_ALIGNMENT now true if non-zero. - * function.c (assign_stack_local, assign_outer_stack_local): - Remove turned-off code using STRICT_ALIGNMENT. - * config/*.h: Change representation of STRICT_ALIGNMENT and - SLOW_UNALIGNED_ACCESS. - * gmicro.h (SLOW_UNALIGNED_ACCESS): Set to 1. + * cccp.c (main): Trim down to the basename of what's to go in + PROGNAME. - * Makefile.in (cleanconfig): Remove obsolete reference to - file aux-output2.c. + * 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-lex.c (yylex): Don't make out-of-range shift for very wide chars. +Thu Jan 14 18:19:35 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Fri Mar 6 18:07:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * t-mips, t-ultrix, t-osfrose: Change `config/' to `config/mips/'. - * toplev.c (compile_file): No -Wunused warnings for static vars. +Thu Jan 14 16:55:11 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * collect2.c (main): Don't handle -B, -b, -V, -m or -f. - collect2 gets only the options that ld would get. - Process COLLECT_GCC_OPTIONS envvar. - (savestring): New function. + * pa.h (CONDITIONAL_REGISTER_USAGE): Do not make %r27 a global_reg. - * genattrtab.c: Revert to previous version - because the new one uses vsprintf and it isn't trivial - to avoid it. + * 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. -Fri Mar 6 17:26:09 1992 Tom Wood (wood at dg-rtp.dg.com) + * pa.h (LEGITIMIZE_ADDRESS): Rework to create REG and REG+D + addresses instead of REG+REG addresses. - * m88k.md ( expressions): Don't rely on the assembler being able - to handle constant expressions (Dolphin Triton88 can't). +Thu Jan 14 15:45:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * genattrtab.c: Add a hash table mechanism to share RTL and strings. - (attr_hash_add_rtx, attr_hash_add_string): New functions. - (attr_rtx): New function to generate a shared RTL. - (attr_printf, attr_printf): New functions to generate a shared string. - - * genattrtab.c: Extend the treatment of DEFINE_ATTR to allow a CONST - expression as the default value, indicating a constant attribute. - (struct attr_desc): Add `is_const' field. - (check_attr_test): Add `is_const' parameter. Disallow use of insn - attributes and MATCH_OPERAND in a constant expression; allow - SYMBOL_REF in a constant expression. All callers updated. - (chech_attr_value): Allow a SYMBOL_REF as a constant expression. - (convert_const_symbol_ref): New function that converts a constant - SYMBOL_REF to a COND that explictly tests each value. - (make_canonical): Use `convert_const_symbol_ref' for constant - SYMBOL_REF expressions. - (make_length_attrs, find_attr, make_internal_attr): Mark `is_const' - as false. - (gen_attr): Get rid of a top-level CONST node and mark `is_const' true. - (walk_attr_value): Use of a constant SYMBOL_REF does not set - `must_extract' or `must_constrain'. - (write_attr_get): Deal with constant attributes. + * objc/core.c (initialize_dispatch_tables): Create an entry in RECORD + for each class used in a given file, not just one. -Fri Mar 6 16:14:27 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Jan 14 12:00:35 1993 Ian Lance Taylor (ian@cygnus.com) - * cccp.c (main, path_include) [__MSDOS__]: Handle MSDOS syntax in path. + * 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). - * expr.c (store_expr): Fix bugs in last change. +Thu Jan 14 14:17:05 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * objc-actions.c (receiver_is_class_object): Fix typos. + * libgcc2.c: Correct typo in comment. - * ecoff-cmp: File deleted. + * fixinc.sco, fixinc.svr4 (egrep and sed loop): Don't print + messages about files that need no change. - * config.sub (3b1): Convert to m68000, not m68k. + * sparc.md (muldf+1, muldf+2): Add patterns for fsmuld and fdmulq. - * cccp.c (do_line): Handle "syetem header" indicator flag `3'. + * 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. - * t-i386isc: New file. - * configure (i386-*-isc*): Use the new file. - * i386isc.h (LIB_SPEC, ENDFILE_SPEC): Use crtbegin.o/crtend.o. + * expr.c (do_tablejump): Pass 1 for unsigned flag to emit_cmp_insn. -Fri Mar 6 14:37:25 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) +Thu Jan 14 14:43:15 1993 Torbjorn Granlund (tege@sics.se) - * expmed.c (expand_dec): Fix comment. + * 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. -Fri Mar 6 09:49:54 1992 Tom Wood (wood at dg-rtp.dg.com) + * pa.h (CONST_OK_FOR_LETTER_P): Change meaning of 'K'. Add new + alternative 'N'. Use VAL_*_BITS_P macros when possible. + * pa.h (LEGITIMATE_CONSTANT_P) Fix comment. + * pa.h (FITS_14_BITS): Remove. + * pa.h (SMALL_INT): Remove. - * m88k.c (emit_move_sequence): Check reload_in_progress in - addition to reload_completed. + * 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. - * m88k.md (cpu attribute): Fix. +Thu Jan 14 13:33:55 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) -Fri Mar 6 06:24:08 1992 Michael Meissner (meissner@osf.org) + * rtl.c (copy_rtx): A MEM with constant address is not sharable. + Undo Dec 27 change. - * mips.h (CONST_COSTS): Fix eliminate_constant_term calling - sequence. +Thu Jan 14 06:45:51 1993 James Van Artsdalen (jrv@goldman.gnu.ai.mit.edu) - * mips.c (simple_memory_operand): Move offset variable for calling - eliminate_constant_term into a local block by the call. - (mips_address_cost): Ditto. + * i386.md (cmpstr patterns): Fix mode mismatch in SET. - * mips.md (movsi_ulw, movsi_usw): Fix eliminate_constant_term - calling sequence. +Wed Jan 13 16:05:07 1993 Ian Lance Taylor (ian@cygnus.com) -Fri Mar 6 00:30:10 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * configure: Precompute version in generated Makefile. - * fixincludes: Don't fix comments on #endif, #else. - It made the egrep string too long. + * 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. - * expr.c (store_expr): Handle size mismatch copying from string cst. +Wed Jan 13 12:04:21 1993 Michael Meissner (meissner@osf.org) -Thu Mar 5 22:11:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * libgcc2.c (_ffsdi2): Use the correct names for structure + elements of type DIunion. Return the correctly typed value. - * objc-actions.c (receiver_is_class_object): Clean up syntax. + * mips-tdump.c (print_file_desc): Correctly scale the rfd pointer. + Patch from ian@cygnus.com. - * sun386.h (ASM_GENERATE_INTERNAL_LABEL): Start with a star. +Wed Jan 13 10:04:26 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * reload1.c (reload): Change `=' to `==' in `if' - inside REGISTER_CONSTRAINTS conditional. + * pa.h (ASM_OUTPUT_INTERNAL_LABEL): Fix typo. -Thu Mar 5 21:29:33 1992 Michael Tiemann (tiemann@mole.gnu.ai.mit.edu) +Wed Jan 13 03:05:08 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-parse.y (yyprint): Make declarations declare __inline - consistently. + * fixinc.svr4 (rpc/types.h): Change const extern to extern const. -Thu Mar 5 18:34:32 1992 Jeffrey A. Law (law@mole.gnu.ai.mit.edu) + * expr.c (expand_increment): Handle all preincrements by building + arithmetic and calling expand_assignment. - * m68k.md (dbra patterns): Fix NO_ADDSUB_Q ifdef conditionals. - Fix location of comment regarding use of REG_NOTES in dbra insns. + * stmt.c (expand_asm_operands): For clobbering memory, + generate (MEM (SCRATCH)) inside the CLOBBER. -Thu Mar 5 18:30:55 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. - * Makefile.in (libgcc.a): If $(LIBGCC1) is empty, ignore it. - * cross-make (LIBGCC1): Make definition empty. + * Makefile.in (risky-stage1, etc): Use $(GCC_PARTS) as what to mv. -Thu Mar 5 17:48:38 1992 Torbjorn Granlund (tege@wombat.gnu.ai.mit.edu) +Tue Jan 12 23:24:30 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * reload.c (find_reloads): Correctly detect different operand - constraint alternatives (by changing subscription from 0 to loop - variable i). + * stor-layout.c (variable_size): Change back to NULL_PTR. -Thu Mar 5 16:58:38 1992 Tom Wood (wood at dg-rtp.dg.com) +Tue Jan 12 18:59:01 1993 James Van Artsdalen (james at bigtex.cactus.org) - * Makefile.in (libsubdir): Rename $(libdir)/gcc gcc-lib. - * gcc.c (STANDARD_EXEC_PREFIX): Ditto. + * reload1.c (reload): Clear reload_in_progress even if reloading + fails. - * c-typeck.c: Implement a spelling stack to store and print - compoment names for error messages. +Tue Jan 12 18:32:01 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - (push_{string,member_name,array_bounds}): New functions. - (SPELLING_DEPTH, RESTORE_SPELLING_DEPTH, SAVE_SPELLING_DEPTH): New - macros to save and restore the spelling stack. - (digest_init, process_init_constructor): Use these. + * calls.c (emit_call_1): Pass a NULL_RTX into emit_call_insn for + missing last arg. - (spelling_length, print_spelling): New functions. - (error_init, pedwarn_init): Use them. + * stor-layout.c (variable_size): Call expand_expr with a NULL_RTX, + not a NULL_PTR. - (get_spelling): New function. - (convert_for_assignment): Use `get_spelling' to interpret messages - that are based on the spelling stack. - (process_init_constructor): Pass `&initialization_message'. + * 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. -Thu Mar 5 15:22:22 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * fold-const.c (fold): Only call force_fit_type with one arg. - * expr.c (init_expr): Initialize forced_labels to zero. - (save_expr_status): Saved forced_labels away and initilize to - zero. - (restore_expr_status): Restore value of forced_labels. - * function.h (struct function): Add forced_labels field. - * integrate.c (function_cannot_inline_p): Reject function with - nonzero forced_labels. + * expr.c (group_insns): Make void, since it never returns an rtx. -Thu Mar 5 15:08:47 1992 Tom Wood (wood at dg-rtp.dg.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. - * regclass.c (fix_register): Use decode_reg_name. - * stmt.c (expand_asm_operands): Ditto. - * varasm.c (decode_reg_name): Ignore a leading '#'. + * dbxout.c (dbxout_type) [case FILE_TYPE, SET_TYPE]: Call with + missing third arg as 0. - For RMS: - * cp-call.c (build_method_call): Delete now redundant tests of - TREE_EXTERNAL before calls to assemble_external. - * cp-init.c (build_virtual_init, build_builtin_call): Ditto. - * cp-method.c (hack_identifier): Ditto. - * cp-typeck.c (build_component_ref, build_function_call_real): Ditto. - * c-parse.y (primary): Ditto. + * cse.c (fold_rtx): Call itself with missing arg INSN as NULL_RTX. -Thu Mar 5 13:49:29 1992 Jeffrey A. Law (law@wombat.gnu.ai.mit.edu) +Tue Jan 12 17:53:13 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * expr.c (move_by_pieces_ninsns): Finish Mar. 4 change. Do not - choose a mode which has a size greater than MOVE_MAX. + 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. - * m68k.c: Change all occurances of "mov." to "move%.l" so that - ASM_OUTPUT_OPCODE can choose the right syntax. - * m68k.md: Change "mov." to "move." in comments for consistency. + * cccp.c (main): Set signal handler for SIGPIPE. + (pipe_closed): New function, to handle SIGPIPE. -Thu Mar 5 10:04:52 1992 Tom Wood (wood at dg-rtp.dg.com) +Tue Jan 12 17:48:13 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * stmt.c (warn_if_unused_value): Handle NON_LVALUE_EXPR. + * expr.c (compare_from_rtx): Allow simplify_relational_operation to + fail. - * limits.h (_LIMITS_H_): Correct misspellings. +Tue Jan 12 02:52:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Makefile.in ("if" and "["): Romp, 4.3 BSD, and Ultirx systems - fail when the condition is false. Change troublesome instances to - either use "case" or use '-' as a prefix to the compilation rule. + * optabs.c (init_optabs): Use plain `ffs' for SImode ffs_optab libcall. -Thu Mar 5 09:08:11 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * Makefile.in (LIB2FUNCS): Add _ffsdi2. + * libgcc2.c (__ffsdi2): New function. - * rs6000.md (lshrdi3): Add earlyclobber to first alternative. + * c-decl.c (init_decl_processing): Declare ffs as builtin. - * explow.c (stabilize): Copy RTX_UNCHANGING_P and MEM_VOLATILE_P. + * fixincludes (egrep and sed loop): Don't print messages about + files that need no change. -Thu Mar 5 06:05:31 1992 Michael Tiemann (tiemann@cygnus.com) +Mon Jan 11 17:22:16 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * cp-parse.y (.pushlevel): Stack and unstack STMT_DECL_MSG. + * 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-parse.y (unary_expr): Add EXTENSION support. - ({maybe_label,label}_decls, label_decl): Define these rules as from - c-parse.y. - * cp-decl.c ({lookup,shadow,define}_label): Update from c-decl.c. - * gplus.gperf: Add EXTENSION and LABEL. - * cp-hash.h: Remade using gperf. + * reload1.c (reload): Delete unused variable inc_groups. -Wed Mar 4 21:38:41 1992 Jeffrey A. Law (law@wombat.gnu.ai.mit.edu) + * 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. - * expr.c (move_by_pieces): Do not choose a mode which has a size - greater than MOVE_MAX. + * fixincludes: Do not consider //* to be a C++ comment which needs + to be fixed. -Wed Mar 4 23:24:25 1992 Per Bothner (bothner@cygnus.com) +Mon Jan 11 15:03:41 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * cp-class.c, cp-decl.c, cp-decl2.c, cp-init.c, cp-lex.c, - cp-method.c, cp-typeck.c: Casts from enum to int that - are necessary (not alas not quite sufficient) to get - cc1plus to compile using system cc on Sony NewsOS 3.2 - (presumably Portable C Compiler). + * pa.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P): Fix typos. -Wed Mar 4 22:05:39 1992 Michael Tiemann (tiemann@cygnus.com) +Mon Jan 11 12:41:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-type2.c (build_functional_cast): Fix typo in code searching - down type lattice looking for constructor. + * config/xm-svr4.h (sys_siglist): New macro. -Wed Mar 4 16:52:21 1992 Jim Wilson (wilson@cygnus.com) +Sun Jan 10 18:16:49 1993 James Van Artsdalen (james at bigtex.cactus.org) - * gstdarg.h: Include va-sparc.h on sparc systems. Delete now - obsolete `#ifndef __sparc__'. - * va-sparc.h (va_start): Provide alternate definition when - included via stdarg.h. Delete obsolete comment. - (va_arg): Add missing set of parentheses. + * i386.md (extendsidi2,zero_extendsidi2): New patterns. + (adddi3,subdi3): Don't emit code for low part if known to be zero. -Wed Mar 4 15:21:20 1992 David J. MacKenzie (djm@wookumz.gnu.ai.mit.edu) + * i386/xm-sysv4.h (alloca): Delete - already defined in xm-i386.h. - * fixincludes: Make egrep pattern more general. Check for - additional special case problems in Ultrix, News-OS, and IRIX. + * i386/xm-aix.h,i386/xm-sun.h: Include i386/xm-i386.h. + Remove redundant defines. -Wed Mar 4 15:15:45 1992 James Van Artsdalen (james at bigtex.cactus.org) +Sun Jan 10 18:00:17 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * i386.c (function_epilogue): Don't make a special case for - current_function_returns_struct: this is done via - current_function_pops_args. + * 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. - * sun386.h (DATA_SECTION_ASSM_OP): Fix typo in undef. +Sun Jan 10 11:42:12 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Wed Mar 4 14:21:37 1992 David J. MacKenzie (djm@wookumz.gnu.ai.mit.edu) + * 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. - * fixincludes, fixinc.svr4: Only change #else and #endif at the - beginnings of lines, aside from whitespace, so it doesn't change - them within comments. +Sat Jan 9 01:34:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Mar 4 09:48:21 1992 Michael Tiemann (tiemann@mole.gnu.ai.mit.edu) + * reload1.c (reload_as_needed): Test for whether to call + forget_old_reloads_1 for a REG_INC note was backwards. - * cp-method.c (build_decl_overload): Braino in handling of DELETE - (NEW was handled correctly). + * config/i386/xm-i386.h (alloca): Undef before defining. -Wed Mar 4 09:14:57 1992 Jeffrey A. Law (law@wombat.gnu.ai.mit.edu) + * config/i860/sysv3.h (ASM_OUTPUT_LOCAL): New override. - * Makefile.in (install-man): Install the g++ manual page. + * gcc.c (lookup_compiler): Fix special code for `-' suffix. - * m68k.md (dbCC peepholes): Two new peepholes to recognize cases - where a compare/branch can be done (for free) as part of a dbCC - insn. This turns jCC;dbf into dbCC;jCC (the jCC is now outside the - inner part of the loop). + * c-lex.c (yylex): Change warning msg when decimal const is unsigned. - * m68k.c (valid_dbcc_comparison_p): New function which returns TRUE - if the given comparison is a valid comparison operator for the dbCC - instruction. - (output_dbcc_and_branch): New function to output a dbCC;jCC - instruction sequence (including possible counter adjustments in - SImode) + * Makefile.in (bootstrap*): Pass BOOT_LDFLAGS down as LDFLAGS. -Wed Mar 4 04:32:11 1992 Michael Tiemann (tiemann@cygnus.com) + * Makefile.in (install-dir): Don't create gcc-lib/include. - * cp-dem.c (optable): Add entry for `operator='. + * objc-actions.c (init_module_descriptor): + Use size_in_bytes to get size of `struct objc_module'. - * cp-decl.c (finish_function): Emit a jump to RETURN_LABEL if - CLEANUP_LABEL is non-zero. (Suggested by niklas@appli.se) + * c-decl.c (init_decl_processing): Use unsigned_intQI_type_node, + not unsigned_char_..., as index type for ..._array_type_node. -Wed Mar 4 04:28:10 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * toplev.c (really_sorry): Use progname in error message, not c++. - * libgcc1.c (perform_lesf2): Condition tested was backwards. + * optabs.c (expand_binop): For complex mult, compute res + in each alternative, not before. -Wed Mar 4 03:11:48 1992 Ken Raeburn (Raeburn@Cygnus.COM) + * Makefile.in (bootstrap): Pass along CC and libdir in first compile. - * cp-pt.c (overload_template_name): Extra pushlevel isn't needed; - omit it. - (undo_template_name_overload): Don't pop the level that isn't pushed - any more. + * c-decl.c (pushdecl): Avoid multiple extern decl mismatch warnings + when previous decl is built-in. - * cp-class.c (pushclass): Don't bother processing unnamed tags. - (popclass): Likewise. + * 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. - * cp-init.c (build_vec_delete): If pointer is null, don't do - anything. +Sat Jan 9 09:11:25 1993 Michael Tiemann (tiemann@rtl.cygnus.com) - * cp-parse.y (member_init): Accept base class names that are - template type names. + * varasm.c (output_constant): Handle CHAR_TYPE and BOOLEAN_TYPE like + INTEGER_TYPE. - * cp-decl.c (start_decl): Don't prepend decl of `this' to arg lists - of methods of uninstantiated types. +Sat Jan 9 08:06:42 1993 Michael Meissner (meissner@osf.org) - * cp-pt.c (instantiate_template): If no text has been saved away, - don't try to parse it; an external reference will result. + * cccp.c (main): If we are creating a new dependency file with -MD + or -MMD, use "w" fopen mode instead of "a". - * cp-parse.y (yyprint): Declare this at head of file. +Fri Jan 8 20:58:12 1993 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) - * cp-pt.c (instantiate_class_template): If the template specified - hasn't been defined, don't reject the instantiation; make it a - normal undefined type. + Cygnus<->FSF merge. + Thu Jan 7 18:16:05 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-parse.y (template_def): Try to recover from errors more - gracefully. + * cp-parse.y (template_type): Avoid dereferencing an error_mark. -Tue Mar 3 15:37:35 1992 Tom Wood (wood at dg-rtp.dg.com) + Wed Jan 6 17:43:23 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * protoize.c (munge_compile_params): Compute the maximum number of - params (`temp_parms' length) safely. + * 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. - * dwarfout.c (const_value_attribute): Punt quasi-constant values. - (location_or_const_value_attribute): Ditto. + * 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. - * Makefile.in (install-common): Install the cross compilation - driver program even when $(tooldir)/bin doesn't exist. + Tue Jan 5 22:09:18 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Tue Mar 3 14:39:55 1992 James Van Artsdalen (james at bigtex.cactus.org) + * cp-pt.c (tsubst): Properly demangle a method's name if it's for an + operator. - * i386.h (enum reg_class): Undo Jan 17 change that deleted class BREG. - (REG_CLASS_NAMES,REG_CLASS_CONTENTS,REGNO_REG_CLASS): Likewise. - (REG_CLASS_FROM_LETTER): Likewise. - * i386.c (regclass_map): Likewise. + Tue Jan 5 15:29:40 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * svr4.h (LINK_SPEC): Don't do -z or -t here: it's already in - link_command_spec. But do handle -G. + * cp-method.c (build_opfncall): Make postfix/prefix ++/-- work by + setting the second arg to 0 when using postfix ++/--. - * i386.md (casesi): Rewrite pattern to reflect the way to emitted - code actually works. + * cp-decl.c (grokdeclarator): Forbid declaring operator= from being + declared as a non-member (or friend) function. -Tue Mar 3 09:59:15 1992 Jeffrey A. Law (law@super.super.org) + Tue Jan 5 14:26:38 1993 Mike Stump (mrs@cygnus.com) - * m68k.md (dbra pattern in HImode): New pattern to match - decrement_and_branch insns when the loop counter is decremented in - HImode. + Jan 5 14:09:08 1993 Paul Eggert (eggert@twinsun.com) -Tue Mar 3 07:57:18 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cp-lex.c (): Propagate a change from c-lex.c. - * rs6000.md (doz patterns): Add missing `I' constraint. + Tue Jan 5 13:27:05 1993 Mike Stump (mrs@cygnus.com) - * reorg.c (mark_target_live_regs): A CALL_INSN livens all global regs. + Sep 14 17:48:27 1992 Paul Eggert (eggert@twinsun.com) - * vax.h (EXTRA_CONSTRAINT): New macro to select non-mode-dependent - MEM operands. - * vax.md (jlbc/jlbs): Use jbc/jbs if mode-dependent memory. - * vax.c (reg_or_nxmem_operand): Function deleted. + * cp-lex.c (real_yylex): For floats, use REAL_VALUES_LESS to + distinguish underflow from overflow. Delete special case for 0.0. - * expr.c (do_store_flag): Swap comparison code when putting - constant arg second. + Mon Jan 4 15:26:47 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * m68k.md (addhi3): Convert, e.g., 65535 to -1 before seeing if - we can use subqw. - (addqi3): Similarly for QImode constants + * 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) - * local-alloc (optimize_reg_copy_1): Renamed from optimize_reg_copy. - (optimize_reg_copy_2): New function. - (update_equiv_regs): Call optimize_reg_copy_[12]. + * 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). - * combine.c (make_compound_operation, case AND): Turn SUBREG case - back on now that bug in i386.md has been fixed. - (simplify_comparison, case ASHIFT): If shifting low-order bit to - sign bit and doing equality comparison, convert to AND with low-order - bit (inequality case was already handled). - Also remove redundant test of CONST_OP in an earlier case. + Fri Dec 18 19:19:28 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * sun2o4.h (LINK_SPEC): No longer need -Bstatic with -g. + * 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'. - * m68k.c, m68k.h: Avoid %X% for most upper-case X since it means - something special to SCCS. + * cp-decl2.c (grokclassfn): Try using the local value for a nested + type if the IDENTIFIER_TYPE_VALUE isn't there. - * rs6000.md (type): Add new type, mtlr. - (function_unit branch): Add delay from mtlr to br. - (movsi): When moving to lr, type is "mtlr". + Wed Dec 16 18:18:43 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * unroll.c (reg_dead_after_loop): Check for infinite loop by - counting JUMP_INSNs we follow. - Use GET_RTX_CLASS, reg_referenced_p, and single_set. + * 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) - * expr.c (expand_increment): Set op0_is_copy when we are referencing - the low-order part of some value in a register. + * cp-decl.c (sigsegv, init_decl_processing): Give users the line + number and source filename on code that makes the back-end call + abort. - * combine.c (force_to_mode): New arg REG; pass in recursive call. - If X has the same value as REG, use REG. - (make_field_assignment): Handle case when DEST and part of source - aren't the same, but are equal; pass destination to force_to_mode. + Tue Dec 15 16:50:45 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * m68k.md (addhi3): Generate addqw, subqw, or addw for - STRICT_LOW_PART versions the same way we handle the normal case. - (addqi3): Similarly for addqb, subqb, and addb. + * cp-tree.h (CLASSTYPE_NAMES): Deleted. - * genattrtab.c (write_test_expr, case MOD): Double `%' in printf call. - (write_eligible_delay): Internal attribute "*delay_type" is always - used literally; it has no suffix or prefix. - - * m68k.md, vax.md (sob): Rewrite inequality versions so that they - have a PLUS inside the comparison; combine cannot remove the PLUS - due to overflow considerations. + * 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. -Tue Mar 3 07:56:30 1992 Eric Youngdale (youngdale at v6550c.nrl.navy.mil) + * 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. - * vms.h (L__main): Remove #include + Tue Dec 15 04:05:54 1992 Mike Stump (mrs@cygnus.com) - * make-gcc.com: Call make-l2.com. + * cp-lex.c (UNSET_RESERVED_WORD): Update from c-lex.c. -Tue Mar 3 05:37:08 1992 Michael Tiemann (tiemann@cygnus.com) + Tue Dec 15 01:21:44 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * stor-layout.c (layout_type): Handle OFFSET_TYPE. - * cp-tree.c (build_member_type): Deleted. - * cp-typeck.c, cp-decl.c, cp-init.c: All callers of - `build_member_type' now call `build_offset_type'. - * cp-typeck.c (convert_arguments): An argument that's an OFFSET_REF - must be resolved by `resolve_offset_ref'. The OFFSET_REF case in - expand_expr does not do the right thing for G++ yet. + * cp-lex.c (real_yylex): Convert invisible initialized char array + vars to string constants. - * cp-decl.c (grokdeclarator): Take CONSTP and VOLATILEP into account - when building METHOD_TYPEs. - (start_function): Ditto. + Mon Dec 14 11:38:10 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-method.c (build_decl_overload): Change interface to take DNAME - instead of NAME. Also, special-case handling of the default - operator new and operator delete for the std. signatures. - * cp-*.c: All callers changed. + * Makefile.in: Fix a lot of dependencies on cp-lex.h and other + headers for cp-*.o targets. - * cp-class.c (build_vtable_entry): Rewrite built-in limit check to - work on platforms where SIZETYPE is unsigned. + * 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. -Mon Mar 2 08:49:16 1992 Tom Wood (wood at dg-rtp.dg.com) + * 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. - * m88k.c (m88k_debugger_offset): Delete warning. + * cp-type2.c (my_friendly_abort): Don't say anything like "please + fix above errors", just exit quietly. - * m88k.h (OVERRIDE_OPTIONS): Set `m88k_cpu' based on `target_flags'. + * 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. - * m88k.md (cmpsi insn): Delete alternative that complements the - compare string for a swapped compare (it's wrong and unnecessary). - (cpu attribute): Define. + * cp-parse.y (overloaddef): Warn that using `overload' is an + anachronism. - From Jyrki Kuoppala: - * pc532.h, pc532-mach.h, pc532-min.h, xm-ps532-min.h: New files. - * configure (ns32k-pc532-mach*, ns32k-pc532-minix*): New alternatives. + Wed Dec 9 08:27:13 1992 Niklas Hallqvist (niklas at della.appli.se) - * dbxout.c (dbxout_type): Don't invoke dbxout_type_methods if - there are none. + * cp-decl.c (init_decl_processing): Make sure the "unknown type" + typedecl gets ignored by the debuginfo generators. - * vax.c (print_operand_address): Allow REG+TERM. + Sun Dec 13 02:38:43 1992 Brendan Kehoe (brendan@cygnus.com) - * c-typeck.c (process_init_constructor): Reuse space for error - message strings. + * 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). -Mon Mar 2 02:54:48 1992 James Van Artsdalen (james at bigtex.cactus.org) + * cp-pt.c (type_unification): Only check that ARGS is a TREE_LIST if + it's non-null. - * seq386gas.h: New file, for Sequent using 386 & GAS. + These four are from Niklas Hallqvist: - * xm-i386sco.h: New file. + * cp-search.c (compute_visibility): Use the main variant when + testing if a member function belongs in the current class. - * optabs.c (ldexp): New function. Used if host ldexp() is broken. + * 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). - * configure (i386-sequent-bsd*): Use seq386gas.h if --gas. - (i386-*-sco*): The host file is now xm-i386sco.h. + * 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. - * i386.md (SImode and HImode logical compare): If we are only - testing one byte of a mem, use a byte test opcode. - (bit test patterns): Likewise when emitting test opcodes. + * cp-decl.c (grokdeclarator): Instead of an assert, return a + NULL_TREE if the return_type's not return_ctor. -Sun Mar 1 14:47:31 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + Sat Dec 12 23:52:25 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * longlong.h (_IBMR2 udiv_qrnnd): Switch off due to overflow problems. + * cp-dem.c (cplus_demangle): Recognize 'S' for signed char. + (do_cuv_prefix): Print out "signed" for it. -Sun Mar 1 11:19:55 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + Fri Dec 11 19:36:36 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * combine.c (force_to_mode): New function. - (make_field_assignment): Rework code that handles fixed-position - fields to make it both much more general and much simpler. + * cp-cvt.c (convert_to_reference): Fix a typo about when to return + the result of a type conversion. - * m68k.md: Add missing insns for using byte operations with - STRICT_LOW_PART; add was missing commutative equivalent and - most operations other than add and subtract were missing. + Tue Dec 8 20:05:25 1992 Mike Stump (mrs@cygnus.com) - * varasm.c (assemble_start_function): Add missing arg to call to - dbxout_begin_function. + * cp-cvt.c (convert_to_reference): If a conversion can be found via + a constructor, then use it. - * fold-const.c (const_binop): Make minor source change to work - around bug in IBM RT PC compiler. + Fri Dec 4 13:53:01 1992 Brendan Kehoe (brendan@lisa.cygnus.com) -Sun Mar 1 05:01:34 1992 Michael Tiemann (tiemann@rtl.cygnus.com) + * cp-lex.c (init_lex): Delete inits for CARD_EXPR and SET_LE_EXPR, + since we never actually use them. - * cp-typeck.c (build_modify_expr): When wrapping NEWRHS in a - SAVE_EXPR, call `break_out_cleanups' first. + Thu Dec 3 19:20:14 1992 Brendan Kehoe (brendan@lisa.cygnus.com) -Sat Feb 29 23:19:20 1992 Jim Wilson (wilson@cygnus.com) + * cp-decl.c: Include sys/types.h for systems that need things for + signal.h. - * reload.c (find_reloads): Reset preferred_class to NO_REGS after - substituting a reg_equiv_address for a pseudo reg. + Wed Dec 2 15:51:34 1992 Mike Stump (mrs@cygnus.com) - * unroll.c (precondition_loop_p): Fix misplaced paren when checking - for MODE_FLOAT rtx. + * 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. -Sat Feb 29 13:59:54 1992 Michael Tiemann (tiemann@cygnus.com) + Wed Dec 2 14:44:41 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-typeck.c (build_modify_expr): To complete 24 Feb change, - COND_EXPRs must evaluate LHS in conditional slot if LHS has side - effects. Otherwise the SAVE_EXPRs in lhs will only be evaluated - once, even though they are referenced on both branches of the - conditional. + * cp-call.c (convert_harshness): If parm's null for a reference (as + can be passed in), return 0. -Sat Feb 29 13:32:35 1992 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu) + Tue Dec 1 18:05:20 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * README.X11: Add warning to not use gas when compiling PIC code. + * 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. - * fixincludes: Allow TAB as well as SPC before symbols to change. - Don't change "sun" if it's part of a multiword name that contains - underscores. - Make intermediate dir, if needed, when doing special-case fixes. - Use previously fixed file, if it exists, as source for all special - fixes. Do less copying when making special fixes. - Ignore errors when chmod'ing a file that might not exist. - * fixinc.svr4: Preserve whitespace around "#" when fixing #else and - #endif. - Allow TAB as well as SPC before symbols to change. - Combine "sun" cases as in fixincludes. + * cp-type2.c (build_functional_cast): Revert change of Nov 2, + concerning clearing the TREE_VALUE of a default parameter. -Sat Feb 29 11:10:55 1992 James Van Artsdalen (james at bigtex.cactus.org) + Tue Dec 1 11:09:50 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * i386.md (movstrsi): Print opcode as "movsl" so that seq386.h can - change it into smovl. + * 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 Feb 29 09:15:51 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cp-method.c (icat): Handle an argument of `1' first, since it's + the most common case. - * function.c (expand_function_end): Allocate rtl that points to - trampoline permanently. + Tue Dec 1 02:36:28 1992 Mike Stump (mrs@cygnus.com) - * reload1.c (gen_input_reload): If one operand of a PLUS is a MEM, - move it into a reg and add the other (makes code agree with comments). + * 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. - * explow.c (eliminate_constant_term): Rework so it does not directly - add integer values; call simplify_binary_operation instead. - Second arg is now pointer to rtx, not int. - Assume constant is always second operand of PLUS. - (memory_address): Pass rtx pointer to eliminate_constant_term. - * halfpic.c (half_pic_address_p): Likewise. - * mips.c (simple_memory_operand, mips_address_cost): Likewise. - (mips_debugger_offset): Likewise. - * expr.c (expand_expr, case PLUS_EXPR): Likewise. - Don't add INTVALs; use simplify_binary_operation instead. - Remove obsolete OLD_INDEXING code. - Put a MULT in the first operand of the PLUS. + Tue Dec 1 02:20:32 1992 Mike Stump (mrs@cygnus.com) - * combine.c (combinable_i3pat): Don't combine if I3DEST is a hard - reg in a non-valid mode. + Wed Nov 25 18:25:06 1992 Jim Wilson (wilson@sphagnum.cygnus.com) -Sat Feb 29 09:14:19 1992 Eric Youngdale (youngdale@v6550c.nrl.navy.mil) + * cp-decl.c (pushdecl): Clear DECL_CONTEXT for local declarations. - * vms.h (ASM_OUTPUT_COMMON): Use SIZE instead of ROUNDED bytes. - (DO_GLOBAL_CTORS_BODY): Do not call fflush(stdout). + Mon Nov 30 15:36:43 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * gcc.texi: Update GLOBAL[DEF,REF,VALUE] documentation. + * cp-decl.c (finish_decl): Only complain about uninitialized consts + in the case where we haven't seen a previous decl/init of it. - * make-l2.com: Remove call to test_gcc2. + Thu Nov 26 11:22:12 1992 Mike Stump (mrs@cygnus.com) -Sat Feb 29 02:52:59 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c++: Put a newline after for arg and before do, as ``for arg do'' + is not accepted by all shells. - * cccp.c (main): Rename envvars to CPLUS_INCLUDE_PATH and - OBJCPLUS_INCLUDE_PATH. + Mon Nov 23 13:21:43 1992 Brendan Kehoe (brendan@cygnus.com) - * m68k.h (TRANSFER_FROM_TRAMPOLINE): Use `move', not `mov'. + * c++ (-lm): Also recognize -lmath as a math library. -Fri Feb 28 19:39:09 1992 David J. MacKenzie (djm@wookumz.gnu.ai.mit.edu) + * 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). - * fixincludes: Don't change symbols that already start with `_' - into `__symbol__'. Merge all of the sun* substitutions so they - don't fight each other. - Comment out junk after #elses and #endifs, to prevent warnings - when -pedantic is given. + * 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 Feb 28 13:42:05 1992 Jim Wilson (wilson@cygnus.com) + * cp-decl.c (start_decl): If grokdeclarator returns a + void_type_node, return a NULL_TREE. - * sched.c (schedule_insns): Don't update value of reg_live_length - when it is negative, because negative values are special. Earlier - fix Dec 17 disabled the fprintf call, but not the assignment. + * 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. - * unroll.c (copy_loop_body): After incrementing the base reg for a - split DEST_ADDR giv, must subtract the const_adjust from the base - reg to get its true current value. + Sat Nov 21 02:33:28 1992 Brendan Kehoe (brendan@cygnus.com) - * loop.c (maybe_eliminate_biv_1): When handling COMPARE, verify - that mult_val is positive, which makes the code match the comment, - and surrounding code. + * 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'. - * sparc.c (legitimize_pic_address): Always test reload_completed - in addition to reload_in_progress. + * 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. - * sched.c (schedule_block): Don't reorder any USE insns at the end - of a function. Exclude them all from scheduling. + Sat Nov 21 01:49:34 1992 Brendan Kehoe (brendan@cygnus.com) - * c-typeck.c (build_array_ref): Check for when `ar' is an - error_mark_node and don't emit a second error message for that node. + Work towards 64-bit support, and still more housecleaning. - * Makefile.in: Correct misc typos in comments or spacing. - (mostlyclean): Update names of files to delete. + * 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 *'). - * Makefile.in (install-man): Also install cccp man page. - (uninstall): Also delete cccp man page. Don't delete protoize and - unprotoize man pages twice. + Thu Nov 19 01:41:58 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * Makefile.in (libgcc2.a): Delete unnecessary -fstrength-reduce -O - flags on gcc command lines, superseded by LIBGCC2_CFLAGS. + * 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. - * Makefile.in (config.status): Verify that file does not exist - before printing an error and failing. Prevents problem with Sun's - KEEP_STATE feature. + * cp-lex.c (init_lex): Delete duplicate setting of `__pl'. -Fri Feb 28 05:15:58 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + Wed Nov 18 21:29:14 1992 Brendan Kehoe (brendan@cygnus.com) - * stmt.c (expand_computed_goto): Call emit_queue. + * cp-class.c (finish_struct): Re-enable code to cut down on the size + of symbol output, the positives outweigh the negatives. - * function.c (assign_parms): Don't generate convert whose operand - is register that is not valid in its mode. + Wed Nov 18 19:51:59 1992 Mike Stump (mrs@cygnus.com) - * reload.c (find_reloads_toplev): Don't do anything with paradoxical - SUBREGs if BYTE_LOADS_ZERO_EXTEND. + * cp-search.c (dfs_walk): Move setting of + vbase_decl_ptr_intermediate out of #ifdef code. -Thu Feb 27 09:59:09 1992 Jeffrey A Law (law at b115.super.org) + Wed Nov 18 18:49:13 1992 Mike Stump (mrs@cygnus.com) - * toplev.c (main): Enable caller-saves for all machines at - optimization levels of -O2 or higher. - * mips.h (OPTIMIZATION_OPTIONS): toplev.c will turn on - caller-saves at -O2 now. Do not do it here. - * sparc.h (OPTIMIZATION_OPTIONS): Likewise + * cp-decl.c (grokdeclarator): Make wording on error message + stronger. -Thu Feb 27 06:47:31 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + Tue Nov 17 17:46:11 1992 Brendan Kehoe (brendan@cygnus.com) - * cp-call.c: Move some extern declarations to file level. + * cp-search.c (CHECK_convert_pointer_to_single_level): Don't define. - * emit-rtl.c (init_emit_once): Cast VOIDmode to int in array index. + Mon Oct 5 03:10:14 1992 Mark Eichin (eichin at tweedledumber.cygnus.com) - * reorg.c (mark_target_live_regs): Don't make recursive call if - function being compiled has infinite loop. + * c++ (numargs): $# was used after set was called; instead, save + $# in $numargs and use that value instead. - * cse.c (fold_rtx, case 'o'): New case to support folding LO_SUM. +Fri Jan 8 18:11:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * global-alloc.c (global_alloc): When calling reload, pass the - result of get_insns instead of basic_block_head[0]. + * cccp.c (rescan): Prevent token pasting before macro call. + (macroexpand): Prevent token pasting around an arg unless it's raw. - * c-typeck.c (process_init_constructor): Don't check array index - against limits if array bounds weren't specified. + * c-lex.c (yylex): Don't allow @ in identifier outside of Objective C. - * gcc.c (link_command_spec): Put back -s. +Fri Jan 8 15:03:52 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - * gcc.c (find_a_file): Add missing paren in init of file_suffix. + * pa.c (plus_xor_ior_operator): New predicate. - * i386sun.h (LIB_SPEC): Insert missing blank. +Fri Jan 8 13:09:47 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * sun386.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Add #undef. + * 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. - * sparc.h (LINK_SPEC): Correct comment. + * function.c (assign_parm): Fix typo introduced by previous change. - * sun3.h, i386sun.h (LINK_SPEC): Don't force -Bstatic if -g. + * configure (486 targets): Set cpu_type to i386. - * mips-news.h (ASM_SPEC): Add missing "}". +Fri Jan 8 03:48:27 1993 James Van Artsdalen (james at bigtex.cactus.org) - * Makefile.in (install-native): Don't include install-proto. - (.y.c): Suppress default rule for using Yacc. + * 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. - * combine.c (apply_distributive_law, case SUBREG): Check that word - numbers are the same. - Don't change a single-word operation into a multi-word operation. - Put all checks on SUBREGs in one place. - (gen_lowpart_for_combine): Use correct word number when making - explicit SUBREG. +Thu Jan 7 19:03:56 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * README.SCO: Obsolete file deleted. + * 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. -Wed Feb 26 21:23:02 1992 Jim Wilson (wilson@cygnus.com) +Thu Jan 7 18:21:52 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * sparc.md (DImode sethi): Correctly handle CONST_DOUBLE, was - wrong endian. - (DImode lo_sum): Don't output CONST_DOUBLES as 64 bit constants, - just output the low 32 bits. + * 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. - * unroll.c (find_splittable_givs): For combined address givs, save - the increment amount in add_val. - (copy_loop_body): For combined address givs, increment by the - amount calculated by find_splittable_givs, not by the amount that - the giv it was combined with gets incremented by. + * config/vax, config/convex: New directories; all files moved. + * configure (vax-*, convex-*): Files now in subdirectories. - * expr.c (clear_pending_stack_adjust): Check flag_no_inline, not - optimize, to determine whether functions declared inline will be - inlined. +Thu Jan 7 17:31:36 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * dbxout.c: Delete all #ifndef DBX_DEBUGGING_INFO stubs. None of - them are needed. + * Makefile.in (specs): Use GCC_FOR_TARGET. - * hp800.c, hp800.h: Fix typos in comments. + * Makefile.in (install-common): Install c++ and g++ only if cc1plus + built. -Wed Feb 26 02:39:52 1992 Michael Tiemann (tiemann at rtl.cygnus.com) + * fixincludes: fix the rename prototype on the rs6000 , + which conflicted with c++ use of new - * cp-call.c (build_method_call): If conversion of INSTANCE_PTR - yields error_mark_node, return error_mark_node immediately. + * c-decl.c (start_decl): Correct order of parameter declarations. -Tue Feb 25 23:40:01 1992 Mike Stump (mrs at cygnus.com) +Thu Jan 7 16:52:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * tree.c (array_type_nelts): Fix documentation, really nelts-1 - * cp-tree.c cp-tree.h cp-init.c (expand_vec_init): Fixed - multi-dimensional array inits. + * config/romp/x-romp (CC): Add -U__STDC__. -Mon Feb 24 00:03:23 1992 Michael Tiemann (tiemann at cygnus.com) +Thu Jan 7 05:30:10 1993 Torbjorn Granlund (tege@sics.se) - * cp-tree.c (build_cplus_new): Set TREE_SIDE_EFFECTS bit on - NEW_EXPR. + * libgcc2.c (__udiv_w_sdiv): Replace hard-coded constants 31 with + (SI_TYPE_SIZE - 1). - * cp-typeck.c (build_modify_expr): Handle WITH_CLEANUP_EXPRs - specially when they appear in expressions (not initializations). - Also handle COND_EXPRs on the right-hand-side specially (in case one - of the COND_EXPR's branches is a WITH_CLEANUP_EXPR). + * pa.md: Add floating point ld/st indexed patterns. -Sun Feb 23 15:11:27 1992 Michael Tiemann (tiemann at cygnus.com) + * pa.md (reg 112:SI recognizers): Remove. + (main move:SI recognizer): Add alternative for greg -> reg 112. - * cp-decl2.c (finish_anon_union): Make RTL for ANON_UNION_DECL based - on MAIN_DECL. + * pa.md (floatsisf2 patterns): Put output template here, don't + call output_floatsiXf2. + (floatsidf2 patterns): Likewise. + * pa.c (output_floatsisf2, output_floatsidf2): Remove. - * cp-decl.c (lookup_tag): Deal with the fact that `clear_anon_tags' - may have been run. + * 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. - * cp-decl.c (cplus_expand_expr_stmt): Give line number for usage - whcih incurs warning message. + * 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. -Sat Feb 22 20:49:45 1992 Michael Tiemann (tiemann at cygnus.com) +Thu Jan 7 00:38:02 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-decl.c (init_decl_processing,auto_function): New approach to - defining the default functions `operator new' and `operator delete'. - * cp-init.c (init_init_processing): Rest of changes here. - * libgcc2.c (_builtin_{new,delete,New}): Gone. - * libgcc2.c (_new_handler): New name for section that defines the - default new handler. + * objc/object.m (+ error:, - error:): Use _objc_error. -Sat Feb 22 02:09:55 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. - * Version 2.0 released. +Wed Jan 6 20:38:20 1993 Brendan Kehoe (brendan@cygnus.com) - * gcc.c (do_spec_1): Handle SPACE_AFTER_L_OPTION. - * hp320.h (SPACE_AFTER_L_OPTION): Defined. - Note: for 2.1, try making a space there on all systems. + * alpha.h (ASM_FILE_START): Change .verstamp ident for BL10. + * alpha.md (div/mod): Change calling sequence to agree with BL10. - * i386mach.h (perform_*): New macros, copied from i386rose.h. +Wed Jan 6 19:54:05 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - * Makefile.in (distclean): New target. - (realclean): Avoid duplication with self or with distclean. - (gcc.xtar.Z): Depend on gcc.xtar. - (gcc.xtar): Fixes in copying files. + * 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. - * expr.c (do_store_flag): Don't correct CODE before where it is set. +Wed Jan 6 19:03:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-parse.y (stmt): Pass pushcase_range all the args it wants. + * config/sparc/sol2.h (CPP_SPEC, LIB_SPEC, LINK_SPEC): + Add -compat-bsd conditionals. -Fri Feb 21 18:14:52 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cccp.c (main): Implement -iwithprefix. - * combine.c (distribute_notes): Correctly handle the case of a - REG_DEAD note for a multi-word hard register when not all of - the words are used. +Wed Jan 6 18:13:13 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) -Fri Feb 21 16:47:32 1992 Michael Meissner (meissner@osf.org) + * pa.c (print_operand): Always use "<>" instead of "!=". - * mips.h (MIPS_VERSION): Change Meissner version # to 12. - (half_pic support): Move the halfpic support to halfpic.h which is - included in the decrose case, and nop the support in other MIPS - platforms. - (OPTIMIZATION_OPTIONS): Move setting caller-saves to -O2. - (OBJECT_FORMAT_COFF, EXTENDED_COFF): Define unless OSF/rose. - (INITIAL_FRAME_POINTER_OFFSET): Always recalculate the frame size, - don't rely on cached values. + * 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. - * mips.c (half_pic support): Move the halfpic support to halfpic.c, - which is only compiled for OSF/rose. - (expand_block_move): Use copy_addr_to_reg instead of copy_to_reg in - case either the source or destination is an integer constant - converted to an appropriate pointer type. - (mips_debugger_offset): Use a local variable to hold function - result. +Wed Jan 6 11:20:59 1993 Michael Collison (collison at osf.org) - * decrose.h (toplevel): Include halfpic.h for halfpic support. - (PTRDIFF_TYPE): Change to 'int' to match current include files. - (WCHAR_TYPE): Change to 'unsigned int' to match include files. - (INIT_SECTION_ASM_OP): Delete, since the OSF/rose assembler doesn't - support a true initialization section. + * expr.c (convert_move): Support new modes QFmode and HFmode. - * encrose.h (PTRDIFF_TYPE): Change to 'int' to match current include - files. - (WCHAR_TYPE): Change to 'unsigned int' to match include files. + * optabs.c (init_optabs): Add optab entries for QFmode and HFmode. - * t-decrose (EXTRA_OBJS): Define as halfpic.o to provide halfpic - support. - (CONFIG2_H): Treat halfpic.h as another config file. - (halfpic.o): Add dependencies. + * reload1.c (init_reload): Add entries in 'reload_in_optab' + for QFmode and HFmode. - * halfpic.h (new file): Common include file for systems needing the - OSF/rose half-pic shared library support. + * varasm.c (assemble_real): Use `ASM_OUTPUT_BYTE_FLOAT' and + `ASM_OUTPUT_SHORT_FLOAT' for QFmode and HFmode respectively. - * halfpic.c (new file): Common support file for systems needing the - OSF/rose half-pic shared library support. Currently these are stub - functions. + * machmode.def: Added new modes QFmode and HFmode. -Fri Feb 21 16:07:02 1992 Michael Tiemann (tiemann at cygnus.com) +Wed Jan 6 11:29:46 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * cp-parse.y (get_current_declspecs): New function - (needed for naming sections). + * pa.c (fmpyaddoperands, fmpysuboperands): Cleanups suggested by + Tege. + * pa.md (fmpyadd peepholes): Cleanups suggested by Tege. -Fri Feb 21 01:34:08 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * pa.md (movqi, movhi, movsi, movdi, movsf, movdf): Discourage + regclass from preferring anything which involves a FP<->GR copy. - * dwarfout.c (location_or_const_value_attribute): Use DECL_RTL again. - Seems to be safer for the moment. - * function.c (instantiate_decls): Don't instantiate DECL_INCOMING_RTL. + * 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. - * dwarfout.c (output_mem_loc_descriptor): Handle CONST like SYMBOL_REF. + * pa.md (movsi, movhi, movqi, movdi): Use reg_or_0_operand + consistently. - * collect2.c (errno): Declare if not macro. +Wed Jan 6 02:23:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * dbxout.c [MIPS]: Include gstab.h, not stab.h. + * cexp.y (yylex): Make tokstart an unsigned char *. - * dbxout.c (dbxout_symbol): No longer flush leading _ for C++ syms. +Wed Jan 6 10:46:19 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) - * cp-parse.y (.hush_warning): Set $$. + * fixincludes (limits.h): Add #ifndef/#endif around macros that + are supposed to be defined in float.h. - * gstdarg.h: Handle _HIDDEN_VA_LIST as in gvarargs.h. + * fixincludes, fixinc.svr4, fixinc.sco: Don't "make LIB absolute" + if already absolute, to avoid problems with the automounter. -Thu Feb 20 07:41:29 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Wed Jan 6 02:35:23 1993 Paul Eggert (eggert@twinsun.com) - * vax.c (reg_or_nxmem_operand): New function. - (split_quadword_operands): Add missing return type (void). - * vax.md (jlbc/jbc/jlbs/jbs): Handle QImode operands properly. + * cccp.c (check_preconditions, do_error, do_warning, do_xifdef): + Don't use signed chars to index into arrays; they might be negative. - * caller-save.c (set_reg_live): Use mode of SUBREG to see how many - hard regs are written. +Tue Jan 5 21:20:29 1993 James Van Artsdalen (james at bigtex.cactus.org) - * combine.c (simplify_shift_const, case IOR, AND, XOR): Perform - logic computation in RESULT_MODE, not mode of VAROP. + * 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. -Wed Feb 19 18:32:05 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * config/fx80: New directory. + * configure (fx80): fx80 configuration files moved there. - * hp320.h (PRINT_OPERAND): Support codes '$' and '&'. + * config/i960: New directory. + * configure (i960): i960 configuration files moved there. - * reload1.c (reload): Add cast of enum in index. + * 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. - * vms.h (CPP_PREDEFINES): Define __GNUC__ as 2. + * 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. -Wed Feb 19 21:43:36 1992 Ron Guilmette (rfg at ncd.com) + * m68k/tti68k.h: Deleted. + * i386/x-xenix: Deleted. + * i860/i860g3.h: Deleted. - * dwarfout.c (output_mem_loc_descriptor): Deleted useless blank line. - (output_mem_loc_descriptor) Added code to handle CONSTs in DECL_RTL - expressions. - (dwarfout_finish): Added code to put a null string at the end of - the terminating .debug_macinfo section. +Tue Jan 5 23:54:36 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) -Tue Feb 18 18:34:13 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * config/pa: New directory. + * config/pa/*.h: Handle PA configuration files in new + subdirectory. + * configure (pa): Likewise. - * cccp.c (main): Fix typo in comment or spacing. - * dbxout.c (dbxout_block): Likewise. - * expr.c (convert_move): Likewise. - * reload1.c (emit_reload_insn): Likewise. - * rtl.h (REG_NOTES): Likewise. - * sun4o3.h: Likewise. - * ultrix.h (CPP_PREDEFINES): Likewise. - * toplev.c (flag_no_common): Likewise. - * stmt.c (layout_type): Likewise. - * gcc.c (is_linker_dir, lookup_compiler): Likewise. +Tue Jan 5 23:31:34 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * sched.c (schedule_block): Comment code handling USE insns as - obsolete. + * elxsi, gmicro, tahoe, we32k, spur: New subdirs; files moved. -Tue Feb 18 14:44:49 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/harris.h: Include tahoe.h from tahoe/ subdir. - * c++: Run gcc in same dir as c++ was in, if exists there. - Use `exec' to run it. - New var `havefiles'; special message if no input files specified. - Pass through any unrecognized options. +Tue Jan 5 21:45:56 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * g++: Now a link to c++. + * fixincludes (Xmu.h): Add missing ${LIB}/. -Tue Feb 18 04:54:52 1992 david d [zoo] zuhn (zoo at lynx.spa.umn.edu) + * 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. - * protoize.c (main): added support for -p flag, to specify which - gcc is the one to call for -fgen-aux-info support. + * Makefile.in (install-dir): Only make includedir once. -Tue Feb 18 07:29:23 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cccp.c (do_line): Add pedantic warnings for out of range line + numbers, and non-space characters after the filename. - * combine.c (try_combine): Don't clobber OTHER_INSN's PATTERN if - we aren't able to change the insn. +Tue Jan 5 15:09:29 1993 Michael Meissner (meissner@osf.org) - * romp.md (bit_insv): Add missing CLOBBER when making pattern to - match mftb; likewise for the DEFINE_INSN. + * 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. -Tue Feb 18 01:03:41 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * mips/* Modify include files as needed for the MIPS files being + in the config/mips subdirectory. - * rs6000.h (bss_section): Set `in_section' correctly. + * 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. - * expmed.c (synth_mult): Count second shift for alg_compound. - Count extra shift for lea case. - * m68k.h (RTX_COSTS): Reduce cost of multiply. +Tue Jan 5 00:29:45 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * function.c (instantiate_decls): Instantiate DECL_INCOMING_RTL. + * c-typeck.c (c_sizeof): Call force_fit_type only for INTEGER_CST. -Mon Feb 17 19:17:50 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * 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. - * a29k.md (divmodsi4, udivmodsi4): Don't use reg 180 explicitly. - Instead use 'q' constraint letter. + * 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 Feb 17 16:15:02 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Jan 4 20:59:37 1993 James Van Artsdalen (james at bigtex.cactus.org) - * global-alloc.c (global_alloc): Always call `reload'. + * config/ns32k: New directory. + * configure (ns32k): ns32k configuration files moved there. -Mon Feb 17 10:38:38 1992 Jim Wilson (wilson at sphagnum.cygnus.com) + * ns32k/*.h: Use new file names for included ns32k files. - * a29k.md (movdi define_split): Use DImode in operand_subword - calls, not DFmode. + * config/m68k: New directory. + * configure (m68k): m68k configuration files moved there. -Mon Feb 17 08:20:33 1992 Michael Tiemann (tiemann at mole.gnu.ai.mit.edu) + * m68k/sgs.h: Renamed from m68ksgs.h. - * varasm.c (assemble_external): Check that DECL is some sort of - _DECL before referencing its DECL_RTL. + * m68k/*.h: Use new file names for included m68k files. -Sun Feb 16 13:05:36 1992 Michael Tiemann (tiemann at cygnus.com) +Mon Jan 4 18:06:31 1993 Michael Meissner (meissner@osf.org) - * cp-call.c (build_method_call): Add call to `assemble_external' in - case this is the first use of FUNCTION. - * cp-class.c (build_vfn_ref): Ditto for VTBL. - * cp-decl2.c (write_vtable_entries): Ditto for FN. - * cp-init.c (build_offset_ref): Ditto for T. - * cp-typeck.c (build_function_call_real): Ditto for FUNCTION. - * cp-method.c (hack_identifier): Ditto for VALUE. Also remove - action that made call to `assemble_external' when !TREE_USED (VALUE). + * configure (i386-osfrose): Rename i386 OSF/rose files to + osfrose.h, t-osfrose.h, and x-osfrose.h. - * cp-lex.c (do_identifier): Remove call to `assemble_external' when - implicitly declaring ID. + * i386/osfrose.h: Renamed from i386/rose.h. + * i386/t-osfrose: Renamed from i386/t-rose. + * i386/x-osfrose: Renamed from i386/x-rose. - * cp-parse.y (primary): Simplify the rules for calling - `assemble_external'. +Mon Jan 4 11:03:11 1993 Torbjorn Granlund (tege@gnu.ai.mit.edu) - * cp-decl.c (finish_function): For destructors, don't call - expand_expr_stmt if EXPRSTMT is VOID_ZERO_NODE. + * Makefile.in (install-common-headers): Pipe grep output to /dev/null. - * cp-typeck.c (default_conversion): Parallel Jan 21 change in - c-typeck.c. +Mon Jan 4 01:12:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sun Dec 16 23:31:54 1992 Ron Guilmette (rfg at ncd.com) + * i386/bsd.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): + Alternate definitions if NO_UNDERSCORES. - * dwarfout.c (fundamental_type_code): Deleted gunk for handling - OFFSET_TYPEs. (They are *not* fundamental types). - (fundamental_type_code): Fixed typo. - (location_attribute, const_value_attribute): Changed to take one - rtx parameter rather than one tree parameter. - (location_or_const_value_attribute): Changed to use DECL_INCOMING_RTL - rather than DECL_RTL for formal parameters. Also changed calls to - location_attribute and const_value_attribute to provide the rtl - parameter. - (fund_type_attribute): Changed to accept an actual fundamental type - code as a parameter directly. Also changed all calls correspondingly. - (type_attribute): Separated tests for ERROR_MARK and for VOID_TYPE - and added comments. - (output_unspecified_parameters_die): Changed to take one tree param - and to generate *both* an AT_name and an AT_type attribute when the - input parameter represents of function definition. Also adjusted - all calls correspondingly. + * c-parse.in (component_declarator): + Allow attribute after nameless field. -Sun Feb 16 00:54:10 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * fixincludes: Add #ifndef around size_t declaration in types.h. +Sun Jan 3 07:28:32 1992 Karl Berry (karl@red.cs.umb.edu) - * varasm.c (assemble_external): Do nothing if arg isn't a decl. + * x-romp (CC): Add -w. - * Makefile.in (cp-parse.c): Update "expect" msg. +Sun Jan 3 21:19:50 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * next.h (CPP_SPEC): Rename -bsd to -strict-bsd. + * pa.h (JUMP_TABLES_IN_TEXT_SECTION): Define. - * Makefile.in (mostlyclean): Add ld, mips-tfile, mips-tdump. + * 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. - * protoize.c (directory_specified_p): Don't match files in subdirs. + * pa.h (actual_fsize, apparent_fsize): Delete unused variables. - * xm-rs6k-m.h: Renamed from xm-rs6000-mach.h. - * configure (rs6000-*-mach*): Changed accordingly. +Sun Jan 3 20:37:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * collect2.c (handler): No error msg here. Just resend signal. - (write_c_file): Arg to write_list... is pointer. - (do_wait): Fix typo. - (scan_prog_file for non-OSF): Preserve all underscores. + * cccp.c (main): Recognize and remove .cxx as filename suffix. - * Makefile.in (install-collect2): Install gcc in libsubdir. +Sun Jan 3 19:39:18 1993 Michael Meissner (meissner@osf.org) -Sat Feb 15 15:26:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * mips.h (MIPS_VERSION): Bump Meissner version number to 34. - * varasm.c (decode_reg_name): Empty string is not a reg number. + * 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. - * fold-const.c (merge_component_references): NE tests against - mismatched constants forces 1, not 0, as value. +Sun Jan 3 19:00:29 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * i386gas.h (ASM_OUTPUT_OPCODE): Convert repz to repe. + * 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. - * collect2.c: Get rid of PROTO macro; use non-prototype decls. - Don't include gstddef.h (had conflicts). Use gstdarg.h, not stdarg.h. - (xcalloc, xmalloc): Add casts. - (do_wait): Avoid macros WTERMSIG, WEXITSTATUS missing on some machines. + * rtl.c (rtx_alloc): Clear common area of rtx in a portable manner. - * cp-typeck.c (default_conversion): Don't use initial value if BLKmode. +Sun Jan 3 13:57:33 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * objc-actions.c (finish_objc): Fix typos in last change. + * pa.h (CONST_COSTS): Make CONST_DOUBLES very expensive. + Give HIGH expressions a small cost with CONST, SYMBOL_REF, + and LABEL_REF being twice as expensive as HIGH. + + * pa.md (fmpyadd peepholes): New peepholes to issue independent + floating point multiply and add instructions at the same time. + (fmpysub peepholes): Likewise for multiply and subtract instructions. + * pa.c (fmpyaddoperands): Verifys given registers are suitable for + use in fmpyadd instructions. + (fmpysuboperands): Likewise, but for fmpysub instructions. - * c-aux-info.c, dbxout.c, cccp.c (errno): Declare, if not a macro. + Wed Oct 28 12:07:54 1992 Tim Moore (moore at defmacro.cs.utah.edu) + * pa.md (call, call_value): If flag_pic, emit restore of PIC table + register. + (call_interal, call_value_internal): Name matching insns. + (movsi, movhi, movqi, movdi, movsf, movdf patterns): Don't + match memory to memory moves. + + * pa.h (FIXED_REGISTERS, CALL_USED_REGISTERS): r3 isn't fixed! + (REG_ALLOC_ORDER): Move r3 up in the allocation order. + (HAVE_ATEXIT): Define. + (INITIAL_FRAME_POINTER_OFFSET): compute_frame_size () + now does the whole calculation, including rounding. + (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Don't pass leaf_function + to output_function_{prologue,epilogue}. + (DELAY_SLOTS_FOR_EPILOGUE): Call hppa_epilogue_delay_slots (). + + * pa.c (hppa_save_pic_table_rtx): New variable. + (finalize_pic): Setup hppa_save_pic_table_rtx.. + (apparent_fsize): Delete variable. + (compute_frame_size): Many changes. Return the total frame size, + including space for "magic" stuff at the top of the stack and any + rounding for the Snake. + (output_function_prologue): Don't take a leaf_function argument; + Decide that based on frame size and frame_pointer_needed. + Don't emit any frame diddling code if actual_fsize is 0. + (output_function_epilogue): Don't take leaf_function argument. + Don't do anything if no frame. + Keep stack pointer aligned to 64 bytes before loading from old + frame pointer. + (hppa_epilogue_delay_slots): Only if there is no frame will we + have an empty delay slot to fill. + (eligible_for_epilogue_delay): Don't check "leaf_function" anymore. + +Sun Jan 3 07:28:29 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * gcc.c (putenv_from_prefixes): Use PATH_SEPARATOR. + Properly use JUST_MACHINE_SUFFIX when desired; always make path + the same as find_a_file will use. + +Sat Jan 2 16:35:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * config.sub: Translate sunos5 to solaris2, and solaris1 to sunos4. + + * tree.c, tree.h (int_size_in_bytes): Change ret type back to int. + + * calls.c (expand_call): Don't use int_size_in_bytes + for a variable-size object. + +Sat Jan 2 15:16:24 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + + * c-parse.in (label): Use expr_no_commas instead of expr for case + labels. + +Sat Jan 2 03:30:10 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in (gcc.o): Define TOOLDIR_BASE_PREFIX. + + * gcc.c (TOOLDIR_PREFIX): Define if not defined. + (tooldir_prefix, tooldir_base_prefix): New variables. + (main): Set tooldir_prefix. + Add it (plus `bin' or `lib') to search paths. - * i386.md (QI bit test recognizer): Split into separate patterns - for memory and register args. Make a scratch reg for memory. + * cccp.c (default_include): Look directly in TOOL_INCLUDE_DIR. + * protoize.c (default_include): Likewise. -Fri Feb 14 23:39:58 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * collect2.c (main): Look for `real-ld' after `gld', before `ld'. + In debug printout, fix typo in prev change. - * tree.c (get_identifier): Improve -Wid-clash message. +Fri Jan 1 13:32:36 1992 Ian Lance Taylor (ian@cygnus.com) -Fri Feb 14 16:22:48 1992 Michael Collison (collison at osf.org) + * Makefile.in (cccp.o, protoize.o, unprotoize.o): + Define TOOL_INCLUDE_DIR as $(tooldir)/include. + (test-protoize-simple): Define TOOL_INCLUDE_DIR as 0. - * i386rose.h (CPP_SPEC): Define the macros LANGUAGE_OBJECTIVE_C and - LANGUAGE_C_PLUS_PLUS if we are compiling Objective C or C++. - (INIT_SECTION_ASM_OP): Define as .init. - (CC1PLUS_SPEC): Define it. - (LINK_LIBGCC_SPECIAL): Define this to work around linker bug. + * config/i386/linux.h (STARTFILE_SPEC): Removed -L"TOOLDIR"/lib. -Fri Feb 14 00:38:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Jan 1 06:26:11 1993 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * Makefile.in (protoize.o, unprotoize.o): g++-include is under libdir. + * 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. - * Makefile.in (enquire.o): Make the command one long line. +Fri Jan 1 17:51:05 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * gcc.c (do_spec_1): Omit relative prefixes from -L'ing - only if RELATIVE_PREFIX_NOT_LINKDIR is defined. - * rs6000.h (RELATIVE_PREFIX_NOT_LINKDIR): Defined. + * dbxout.c (dbxout_symbol, TYPE_DECL case): Don't output tag which + references incomplete type. - * varasm.c (assemble_external): Test TREE_EXTERNAL. + * fixincludes (sunwindow/{win_cursor.h,win_lock.h}): Change invalid + #ifdef identifier `ecd.cursor' to `ecd_cursor'. - * jump.c (follow_jumps): If can't find chain end, return orig label + * c-typeck.c (build_binary_op): Add 'right' and 'left' to shift + count warnings to distinguish them from each other. - * mot3300.h (PRINT_OPERAND): Always print 16 hex digits for a double. + * function.c (fixup_var_refs_insn): Update last_parm_insn when + insns are output after it to fix it up. - * objc-actions.c (build_module_descriptor) [NEXT_OBJC_RUNTIME]: Ret 0. - (finish_objc): Value 0 from build_module_descriptor means no ctor. - When referencing a class_name symbol, don't output a .globl for it. - (finish_objc): Put artificial refs in text section. + * sdbout.c (plain_type_1): Distinguish some C integer types by name. - * cccp.c (pedwarn_with_file_and_line): Handle -w, -W. + * Makefile.in (MAKEINFO): New variable, defined to `makeinfo'. -Fri Feb 14 07:44:08 1992 James Van Artsdalen (james at bigtex.cactus.org) + * rs6000.h (ASM_FILE_START): Switch to text section at end. + Output declaration for .mcount when profiling. - * i386.c (notice_update_cc): sCOND opcodes don't change the flags. - Don't record test or compares involving stack-like regs, since - final can't omits tests or compares involving such regs correctly. +Fri Jan 1 12:15:42 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - * i386.c (seq,sne,beq,bne): These opcodes use the state of - cc_status from before the curren insn. + * 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". - * reg-stack.c (stack_reg_mentioned_p): Don't make static. + * 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. -Fri Feb 14 06:27:48 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * pa.h (REGISTER_MOVE_COST): Make moving between FP and non-FP + registers more expensive. - * jump.c (jump_optimize): Disable "if (...) {... x = C;} if (x) ..." - optimization; there doesn't seem to be a way to fix it. + * pa.h (TARGET_NO_BSS): Delete target switch. Delete all references. -Thu Feb 13 18:06:06 1992 James Van Artsdalen (james at bigtex.cactus.org) +Fri Jan 1 07:40:58 1993 Tom Wood (wood@dg-rtp.dg.com) - * seq386.h (ASM_OUTPUT_OPCODE): New macro. Change "movs" into - "smov" at the start of a string move mnemonic - Sequent as(1) - doesn't handle the former. + * 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. -Thu Feb 13 17:21:26 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Dec 31 17:38:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-decl.c (finish_struct): Use pedwarn for pedantic warning. - (grokdeclarator): Likewise. - * c-parse.y (component_decl_list2): Likewise. + * gcc.c (do_spec_1): Propagate failure from recursive calls. -Thu Feb 13 22:11:36 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * i386/386bsd.h (perform_*): Rename macro args to arg0, arg1. - * combine.c (make_extraction): Default modes to byte and register - size, as appopriate, when the bitfield insn doesn't exist. +Thu Dec 31 15:42:35 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * a29kunix.h (LINK_SPEC): Pass default option file to gld. - (LINK_LIBGCC_SPECIAL): Define to work around gld bug. + * sched.c (sched_analyze_1, sched_analyze_2): If before reloading, + record dependences that may be introduced by reload substituting + equivalents for pseudo registers. - * explow.c (copy_to_suggested_reg): Try getting mode from TARGET. + * sched.c (sched_analyze_2): Use REG_NOTE_KIND not GET_MODE in + add_dependence call. + (sched_analyze_insn): Likewise. - * rs6000.h (ASM_FILE_END): New macro. - (EXTRA_SECTIONS): New section read_only_private_data. - (EXTRA_SECTION_FUNCTIONS): New function read_only_private_data_section. - (SELECT_RTX_SECTION): Always make non-toc data private, read-only. - (SELECT_SECTION): Put read-only data in appropriate sections. + * sparc.h (LIB_SPEC): When -a, include bb_link.o. - * jump.c (jump_optimize): Place branch in correct place when - optimizing "if (...) {... x = C;} if (x) ...". - (redirect_jump): Ensure jump's UID is within range of jump chain. + * t-sol2 (gmon.o, crt*.o): Change config to $(srcdir)/config. - * a29k.c (output_prologue): Correctly set LR1 when more than 64 - registers are needed. + * 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. -Wed Feb 12 22:22:46 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + * reload1.c (gen_input_reload): Also handle PLUS of a MEM and + CONSTANT specially. - * make-cccp.com: Define link as a local symbol to avoid - possible conflict with a user defined global symbol. + * 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. - * make-cc1.com: Likewise. + * sparc.c (print_operand): For invalid operands, call + output_operand_lossage instead of aborting. -Thu Feb 13 11:05:07 1992 Michael Meissner (meissner at osf.org) + * i960.md (call_internal, call_value_internal): Use 'l' for + match_scratch constraint not 'd'. - * mips.c (make_temp_file): Store created filename into a static - file-scope variable, not an auto. - (mips_asm_file_end): Use the appropriate filename in printing - errors. + * function.c (assign_parms): Emit conversions into a sequence, and + then output the sequence after all parameters have been moved. -Thu Feb 13 01:15:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * optabs.c (expand_binop): Correct indentation of doubleword + multiply picture. - * cccp.c (skip_if_group): Skip comments after the #. + * sparc.h (TARGET_SWITCHES): Have -msparclite also clear TARGET_FPU. - * cccp.c (macarg): Don't assume stringify will compress spaces. - (macroexpand): In stringify, compress space only outside tokens. + * va-i960.h: Define away __extension__ if compiled by GCC v1. - * cexp.y (exp1): Use pedwarn for comma in #if. + * 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. - * cp-decl.c (push_binding_level, pop_binding_level): - Change `inline' to `__inline'. + * m68k.h (TARGET_SWITCHES): -m68030 does not imply -m68881. - * combine.c (make_compound_operation): Undo previous change. + * 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 %|. -Wed Feb 12 18:47:47 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * m68k.c (strict_low_part_peephole_ok): New function. + * m68k.md: Add peephole to eliminate unecessary clear instructions + in strict_low_part insn sequences. - * function.c (instantiate_virtual_regs_1, case IF_THEN_ELSE): - Don't special case; allow all operands to be processed. The last - two operands are nontrivial on the Vax. + * configure (elxsi): Move it out of the middle of the sparc section. -Wed Feb 12 18:58:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * gcc.c (do_spec_1): Only absolute prefixes turn into -L's. - (link_command_spec): Handle LINK_LIBGCC_SPECIAL. + * c-decl.c (pushdecl): Check TREE_PUBLIC in addition to + DECL_EXTERNAL decls when looking for duplicate external declarations. -Wed Feb 12 18:38:29 1992 Chris Smith (csmith at convex.com) + * 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. - * convex.h (DEFAULT_CALLER_SAVES): define again, bug is fixed. - * convex.h (BRANCH_COST): Define as 0, so we won't use complex - alternatives to branches (whose expansions contain branches - on convex). +Thu Dec 31 11:11:30 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) -Wed Feb 12 17:23:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * config.sub: Accept just `hppa' for machine. +Thu Dec 31 08:50:42 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in (Install-collect2): New target. + * a29k.h (OBJECT_FORMAT_COFF): Add definition. -Wed Feb 12 13:55:24 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * rs6000/xm-rs6000.h (REAL_NM_FILE_NAME): Delete from here. + * rs6000/rs6000.h (REAL_NM_FILE_NAME): Put it here. - * reorg.c (relax_delay_slots): Don't convert jump to return here. +Thu Dec 31 01:53:13 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * configure (a29k-ultra-*): Deleted. - (a29k-*-bsd*): Merged with a29k-ultra-*. - (romp-*-mach*): Fixed typo in xmake_file name. - * xm-a29kunix.h: Renamed from xm-a29k-ult.h. - * x-a29kunix: New file. + * tree.c (build_index_type): Leave TYPE_MAX_VALUE as -1 if it was; + don't truncate the high bits. - * reload.c (find_reloads): Don't use class from preference if it - is a single-register class. + * Makefile.in (distdir): New target broken out from gcc.xtar. + Depend on $(srcdir)/INSTALL. + (gcc.xtar): Depend on distdir. + (doc): Delete dep $(srcdir)/INSTALL. -Wed Feb 12 13:03:16 1992 Tom Wood (wood at dg-rtp.dg.com) +Wed Dec 30 12:54:53 1992 James Van Artsdalen (james at bigtex.cactus.org) - * m88k.h (FUNCTION_BOUNDARY, ASM_OUTPUT_ALIGN): Pack code tightly - when compiling crtstuff.c (flag_inhibit_size_directive). + * i386/i386.c (output_fp_cc0_set): Abort if cc0 user not found. -Wed Feb 12 10:34:09 1992 Michael Meissner (meissner at osf.org) + * i386/i386.md (movsf,movdf): Change constraints to use integer regs + for mem-mem copies. - * decrose.h (*_SPEC): Compress some whitespace in the specs. Also, - simpify which LANGUAGE_xxx names are defined, to be the ones uses by - the system(s). - * decstatn.h (*_SPEC): Likewise. - * iris.h (*_SPEC): Likewise. - * mips.h (*_SPEC): Likewise. - * mips-bsd.h (*_SPEC): Likewise. - * mips-news.h (*_SPEC): Likewise. - * mips-sysv.h (*_SPEC): Likewise. + * i386/i386.h (PREFERRED_RELOAD_CLASS): Don't reload CONST_DOUBLE into + integer regs. -Wed Feb 12 10:34:09 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * jump.c (delete_computation): reg_referenced_p wants body, not insn. - * caller-save.c (insert_save_restore): Properly check for insns that - reference CC0. +Wed Dec 30 07:03:49 1992 John F Carr (jfc at Athena.MIT.EDU) -Wed Feb 12 03:17:00 1992 Chris Smith (csmith at convex.com) + * 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. - * convex.h (DEFAULT_CALLER_SAVES): don't define, to sidestep a bug. - * convex.md (ffssi2): Comment out. +Wed Dec 30 06:05:07 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Wed Feb 12 00:08:42 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + * 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. - * make-libgcc2.com: Do not save .s file. +Wed Dec 30 01:48:38 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * vms.h: Wrap #include in #ifdef L__main/endif + * fixincludes: Chmod each copied file a+r. + * fixinc.svr4, fixinc.sco: Likewise. -Tue Feb 11 21:58:42 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + * Makefile.in (extraclean): Quote the sharps. - * libgcc2.c (DO_GLOBAL_DTORS_BODY): New macro. + * expr.c (expand_expr): In NOP_EXPR case, truncate and + reextend integer constants. - * make-l2.com: New file to build libgcc2 on VMS. +Tue Dec 29 18:21:06 1992 James Van Artsdalen (james at bigtex.cactus.org) - * vms.h (DO_GLOBAL_CTORS_BODY): Replacement definition. + * 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. - * vms.h (DO_GLOBAL_DTORS_BODY): Likewise. + * 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. - * make-cccp.com: Define bison and rename as local symbols to avoid - possible conflict with user defined global symbols. + * configure (i386): Use new file names for 386 files. + * i386/*.h: Likewise for included files. -Tue Feb 11 22:17:32 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Tue Dec 29 18:04:13 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * sched.c (attach_deaths): Don't treat PIC offset table register - specially; flow.c doesn't. + * 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. - * combine.c (make_compound_operation, case AND): We can have - a (and (subreg (lshiftrt ..) ..) ..); handle same as without SUBREG. - - * Makefile.in (HOST_CLIB, HOST_ALLOCA, HOST_MALLOC, HOST_OBSTACK): New - variables to override. - (USE_HOST_*, HOST_LIBDEPS): Use HOST_PREFIX and new variables. - (HOST_LIBS): Use HOST_CLIB. + * stor-layout.c (layout_record): Avoid overflow in const_size + by adding into var_size instead. -Tue Feb 11 21:32:07 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Dec 29 09:01:33 1992 Tom Wood (wood@dg-rtp.dg.com) - * Makefile.in (install-common-headers): Copy byteorder.h to - compilation dir. + * configure (m88k-dgux): Use t-m88kdgux. - * config.sub: Allow unicos as operating system. +Tue Dec 29 06:56:41 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * m88kv4.h (INIT_SECTION_ASM_OP): Add #progbits. + * genemit.c (gen_split): Initialize _val in generated function. - * vax.h (DYNAMIC_CHAIN_ADDRESS): New macro. +Tue Dec 29 02:27:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c++: Propagate quoted args properly. + * cccp.c (make_definition): Pass NULL as 3rd arg to do_define. -Tue Feb 11 16:35:01 1992 Jim Wilson (wilson at cygnus.com) +Mon Dec 28 14:56:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * fixincludes: Define TERM to `unknown', to ensure that it is - valid. Otherwise, ex may fail. - * fixinc.svr4: Likewise. + * c-parse.in (stmt, FOR case): Do call position_after_white_space + after recording the current lineno for the increment. -Tue Feb 11 18:04:32 1992 Michael Meissner (meissner at osf.org) + * config.sub: Default to bsd for *-sequent. - * decrose.h (CPP_SPEC): Define the macros LANGUAGE_OBJECTIVE_C and - LANGUAGE_C_PLUS_PLUS if we are compiling Objective C or C++. - Silicon Graphics in particular uses LANGUAGE_C_PLUS_PLUS. - * decstatn.h (CPP_SPEC): Likewise. - * iris.h (CPP_SPEC): Likewise. - * mips-bsd.h (CPP_SPEC): Likewise. - * mips-news.h (CPP_SPEC): Likewise. - * mips-sysv.h (CPP_SPEC): Likewise. +Mon Dec 28 06:05:12 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * decstatn.h (CPP_PREDEFINES): Eliminate __ versions, since - gcc will do these automatically. Eliminate LANGUAGE_C, since it is - handled in CPP_SPEC. + * 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. -Tue Feb 11 15:38:27 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fold-const.c (fold, case BIT_IOR_EXPR): Convert the IOR of a pair + of shifts into a rotate when it is equivalent. - * flow.c (find_basic_blocks): Don't delete labels used in non-jumps. + * 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. - * vms.h (DO_GLOBAL_CTORS_BODY): Modify the return address - only the first time __main is called. + * combine.c (simplify_comparison, case NEG): Replace large block of + code with equivalent call to num_sign_bit_copies. - * fixinc.svr4: Change headers to test __STRICT_ANSI__ instead of - testing __STDC__ != 0. + * 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. - * fixinc.svr4 (mman.h): Fix backward __STDC__ conditional. - Don't add declarations of munmap and mprotect. + * 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. - * varasm.c (output_constant): Allow empty constructor for any type. +Sun Dec 27 18:33:38 1992 James Van Artsdalen (james at bigtex.cactus.org) - * dwarfout.c (ASM_OUTPUT_DWARF_DATA8): Just one definition; - test WORDS_BIG_ENDIAN "at run time". + * config/i386: New directory. + * configure.bat: 386 configuration files moved to new directory. + * configure (i386): Likewise. + Delete lines that duplicate default actions of configure. -Tue Feb 11 09:00:01 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * 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. - * reload.c (find_reloads): Don't substitute in MATCH_DUPs if we - are not generating replacements. + * i386/*.h: Use new file names for included 386 files. -Tue Feb 11 08:45:14 1992 Tom Wood (wood at dg-rtp.dg.com) +Sun Dec 27 22:02:09 1992 H.J. Lu (hlu@yardbird.eecs.wsu.edu) - * m88kv4.h ({CTORS,DTORS}_SECTION_ASM_OP): Fix typo. + * 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. -Mon Feb 10 22:34:47 1992 Chris Smith (csmith at convex.com) + * Makefile.in: (gcc.o): Add $(MAYBE_TARGET_DEFAULT). - * convex.h(HARD_REGNO_NREGS): define correctly for 64-bit regs +Sun Dec 27 16:33:13 1992 Tom Wood (wood@dg-rtp.dg.com) -Mon Feb 10 21:50:23 1992 Michael Meissner (meissner at osf.org) + * 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. - * mips.h (MIPS_VERSION): Change Meissner version # to 11. - (CPP_SPEC): Define the macros LANGUAGE_OBJECTIVE_C and - LANGUAGE_C_PLUS_PLUS if we are compiling Objective C or C++. - Silicon Graphics in particular uses LANGUAGE_C_PLUS_PLUS. - (FP_DBX_FIRST): Change the test so that stabs in ECOFF uses the - value 38, in addition to stabs in GAS. + * 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. - * mips.md (all function units): Make the function units simpler, and - not depend on the cpu type, to work around a memory hungry - genattrtab, which attempts to grow the data segment to than 32 - megabytes. + * 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. -Mon Feb 10 16:34:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * m88kdgux.h (ASM_SPEC): Pass -KVstring given -mversion-string. - * convex.h (REAL_VALUE_TRUNCATE): Obsolete definition deleted. + * 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. - * config.sub (convex-*): These are BSD, not sysv. +Sun Dec 27 16:08:04 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * dbxout.c (have_used_extensions): New var. - (dbxout_type, dbxout_type_fields, dbxout_symbol): - Set have_used_extensions when use an extension. - (dbxout_symbol): Don't use `Tt' extension unless extensions - have been used. + * hp320.h (ASM_OUTPUT_DOUBLE_OPERAND): Delete spurious space after \. -Mon Feb 10 12:28:59 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * gstddef.h [__sequent__]: #undef _PTRDIFF_T_ at beginning, if defined. - * xm-a29k-ult.h: Fix typo in placement of copyright notice. + * reload1.c (emit_reload_insns): Error instead of abort + if an asm has a VOIDmode output operand. -Mon Feb 10 05:36:45 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. - * dbxout.c (dbxout_type): Don't use GDB extensions if they are empty. +Sun Dec 27 10:48:10 1992 Jeffrey A Law (law@schirf.cs.utah.edu) -Mon Feb 10 00:10:20 1992 Michael Tiemann (tiemann at cygnus.com) + * 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. - * cp-class.c (finish_struct): Use DECL_CHAIN, not TREE_CHAIN to walk - through the list of methods identified by a visibility declaration. +Sun Dec 27 06:53:39 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-cvt.c (convert_pointer_to): No longer need to abort if BINFO is - not a TREE_VEC or AGGR_TYPE node. + * reorg.c (relax_delay_slots): Only look at JUMP_LABEL for a + condjump_p. - * cp-parse.y (stmt): Improve error handling for try/except. + * 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. - * cp-class.c (add_method): If we create RTL for a copy of METHOD, - copy the RTL to METHOD's DECL_RTL slot. + * combine.c (subst, case SET): Call recog_for_combine with OTHER_INSN, + not UNDOBUF.OTHER_INSN. - * cp-method.c (dump_type): Print `const' and/or `volatile' for - VOID_TYPE and REAL_TYPEs, too. + * genoutput.c (have_error): New variable. + (error): Set it. + (main): Test it and return FATAL_EXIT_CODE if it is set. -Sun Feb 9 21:07:45 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * varasm.c (assemble_integer): Pass third arg in recursive calls. - Act appropriately if word-by-word loop doesn't finish. +Sun Dec 27 02:48:27 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Makefile.in (bootstrap*): Don't override value of ALLOCA. + * cccp.c (macroexpand): Expand each macroarg first time we find a need + to substitute its expansion. + (macarg): Don't expand them here. - * dbxout.c (dbxout_symbol, dbxout_parms): Do leaf function remap - only if LEAF_REG_REMAP and only in leaf functions. + * expr.c (expand_expr, constructor case): If we made a stack slot, + set MEM_IN_STRUCT_P if the type warrants it. -Sun Feb 9 16:46:27 1992 Michael Tiemann (tiemann at cygnus.com) + * configure: When testing existence of a config file, specify $srcdir. - * cp-init.c (maybe_adjust_addr_for_delete): Build final COND_EXPR - with TREE_TYPE (addr). +Sat Dec 26 18:12:08 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sun Feb 9 14:20:49 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.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. - * rs6000.h (rs6000_{bss,private_data,read_only}_section_name): - Add declarations. - (rs6000_text_section_asm_op): Deleted. - (ASM_FILE_START): Initialize section names and enter bss section once. - (EXTRA_SECTIONS): Add `private_data' and `bss'; - delete `global_variable'.. - (read_only_data_section): Don't form name here. - (global_variable_section): Deleted. - (private_data_section, bss_section): New functions. - (ASM_DECLARE_FUNCTION_NAME): Don't write function name with [PR]. - (ASM_OUTPUT_POLL_PROLOGUE): No longer needed. - (SELECT_{RTX_,}SECTION): Just calls data_section or - private_data_section. - (ASM_OUTPUT_LOCAL): Put in bss section. - (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Now a constant. - * rs6000.c (rs6000_text_section_asm_op): Deleted. - (rs6000_{bss,private_data,read_only}_section_name): Add definitions. - (rs6000_gen_section_name): New function. + * a29k/unix.h, rs6000/aix32.h, rs6000/mach.h, rs6000/xm-mach.h: + Include main file from subdirectory. -Sun Feb 9 08:29:21 1992 James Van Artsdalen (james at bigtex.cactus.org) + * 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. - * i386.h (REGNO_REG_CLASS): Use a lookup table: AIX can't handle - complex tertiary expressions. - (GO_IF_LEGITIMATE_ADDRESS): Simplify slightly for the AIX - compiler. + * combine.c (gen_lowpart_for_combine): Allow MODE to be wider + than a word in restricted circumstances. - * i386.c (regclass_map): New variable. Lookup array for - REGNO_REG_CLASS. + * 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. -Sat Feb 8 01:20:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Dec 26 17:05:24 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-parse.y (yyprint): Test __GNUC__, not __GNU__. - Use __inline, like everywhere else. + * 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. - * a29k.h, romp.h (OVERRIDE_OPTIONS): Deleted. - (OPTIMIZATION_OPTIONS): Defined, instead. - * rs6000.h (OPTIMIZATION_OPTIONS): New macro. - (OVERRIDE_OPTIONS): Don't change optimization. + * object.m: Include objc.h and stdio.h before object.h. - * final.c (leaf_renumber_regs_insn): No longer static. - * dbxout.c (dbxout_symbol, dbxout_parms): Call that. +Sat Dec 26 05:12:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-decl.c (lookup_name): Do nothing special if type is error mark. - (grokdeclarator): Ignore putative type name whose type is error mark. - * c-parse.y (primary): If var type is error mark, return error mark. + * Version 2.3.3 released. - * c-typeck.c (build_array_ref): Return early if arg is error mark. +Fri Dec 25 06:53:49 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * Makefile.in (test-protoize): Rule deleted. + * expmed.c (store_bit_field): If VALUE needs to be narrowed, do + it with gen_lowpart, not an explicit SUBREG. - * stmt.c (emit_case_nodes): Handle just-left-subtree case - like just-right-subtree--delete mysterious code that tests cost_table. + * a29k.md (divsf3): Fix typo in mode of DIV. - * varasm.c (decode_reg_name): Accept decimal number as reg name. +Fri Dec 25 00:03:26 1992 James Van Artsdalen (james at bigtex.cactus.org) - * c-decl.c (finish_decl): If pop_obstacks goes to perm obstack, - call permanent_allocation. + * Makefile.in (install-dir): Add missing semicolon. - * gcc.c (link_command_spec): Use -lgcc, not libgcc.a. + * i386sco4.h (_KR, _SVID, _NO_PROTOTYPE): Define if -traditional. -Fri Feb 7 16:56:17 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) +Thu Dec 24 15:02:29 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * rs6000.h (DOLLARS_IN_IDENTIFIERS): Define to zero, because the - assembler does not accept dollar signs. + * fixinc.svr4: Don't change bitfield types to int. -Fri Feb 7 15:36:40 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * seq386.h (TARGET_DEFAULT): Override. - * Makefile.in (mostlyclean): Fix name of tmp-proto.1. +Wed Dec 23 20:19:17 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * configure: Delete excess space in assignment to srcdir. + * i386sco4.h (CPP_SPEC): Avoid repeated def of _M_SYSV. - * cp-decl2.c (DOLLARS_IN_IDENTIFIERS): Default now 1, as in C. +Tue Dec 22 15:40:08 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * i386gas.h (ASM_OUTPUT_LOOP_ALIGN): New macro. - (ASM_OUTPUT_ALIGN_CODE): Use 16-byte boundary on 486. + * c-decl.c (store_parm_decls): Use TYPE_MAIN_VARIANT to compare types + when merging info from previous prototype. - * m68k.h (TRANSFER_FROM_TRAMPOLINE): Use operands for the memrefs - to avoid dependence on assembler syntax. + * fixinc.svr4: Add special fixes for netinet/in.h and sys/endian.h. -Fri Feb 7 10:26:32 1992 Michael Meissner (meissner at osf.org) +Mon Dec 21 02:58:27 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Makefile.in (EXTRA_OBJS): New variable for extra object files - needed when linking cc1, cc1plus, and cc1objc. + * m68kv4.h (ASM_OUTPUT_CASE_END): + Use switch_table_difference_label_flag. -Fri Feb 7 07:34:03 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * configure (m68k-motorola-sysv*): Set use_collect2. - * reload1.c (set_label_offsets, reload_as_needed): Recompute - num_not_at_initial_offset when we pick up offsets from offsets_at. +Sat Dec 19 20:19:44 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * unroll.c (unroll_loop): Copy initial and final values to avoid - sharing. - - * cse.c (simplify_relational_operation): Complete last change by - correctly handling <= and >=. + * a29k.c (secondary_reload_class): Return CR_REGS for larger than + word memory, and BP_REGS for part-word mem with no DW. -Thu Feb 6 23:57:02 1992 Michael Tiemann (tiemann at cygnus.com) + * 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'. - * cp-decl.c (grokdeclarator): Invert sense of warning about - initialized extern vars, since in C++, const has funny semantics. +Sat Dec 19 01:32:13 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Feb 6 15:12:02 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Makefile.in (all.cross): Add `specs' as dep. - * cse.c (simplify_relational_operation): Test properly for floating - equality; don't deduce this from < and >. + * build-make (CC): Delete the -V option. - * xm-mips.h (alloca): Don't define or declare if MIPS_OVERRIDE_ALLOCA. - * xm-irix4.h (MIPS_OVERRIDE_ALLOCA): Defined. + * getpwd.c (getpwd): Don't get upset if ERANGE is not defined. - * m68k.h (TRANSFER_FROM_TRAMPOLINE): Use explicit reg var - to avoid dependence on register name syntax. +Fri Dec 18 20:56:59 1992 John Hassey (hassey@dg-rtp.dg.com) - * mot3300.h (PUT_SDB_START_DIM, PUT_SDB_NEXT_DIM, PUT_SDB_LAST_DIM): - New macros. - (PUT_SDB_DIM): Deleted. - (PRINT_OPERAND): Handle %$ and %&. - (ASM_OUTPUT_OPCODE): Handle f%$move and f%&move. + * 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. - * gstdarg.h: If not __GNUC__, use system's stdarg.h. +Fri Dec 18 17:17:39 1992 Michael Meissner (meissner@osf.org) -Thu Feb 6 22:36:36 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + * 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. - * vms.h (DEFAULT_GDB_EXTENSIONS): Define as 0. + * 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. -Thu Feb 6 13:32:37 1992 Michael Meissner (meissner at osf.org) + * 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. - * mips.h (MIPS_VERSION): Set Meissner version # to 10. - (flag_half_pic, mips_branch_likely): New global variables. - (call_memory_operand): New function declaration. - (half_pic_encode_section_info): Likewise. - (mips_constant_address_p): Likewise. - (mips_debugger_offset): Likewise. - (CC1_SPEC): Make OSF/1 -pic-xxx switches to -mhalf-pic, which is - currently undergoing development. - (DEBUGGER_AUTO_OFFSET): Emit correct information if frame pointer is - omitted. - (DEBUGGER_ARG_OFFSET): Likewise. - (TARGET_SWITCHES): Add -mabicalls and -mhalf-pic switches. - (PIC_OFFSET_TABLE_REGNUM): Define as the GP register ($28). - (EXTRA_CONSTRAINT): Add 'S' constraint for half-pic references. - (CONSTANT_ADDRESS_P): Call mips_constant_address_p. - (ENCODE_SECTION_INFO): Reorder test to test optimize first, and to - call half_pic_encode_section_info if half pic. - (PREDICATE_CODES): Add call_memory_operand. +Fri Dec 18 05:14:14 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * mips.c (flag_half_pic): New global variable to indicate to produce - half-pic output for OSF/rose. - (mips_branch_likely): New global variable to indicate the branch - should use the branch likely form of the instruction. - (mips_sw_reg_names): Use $fp instead of fp, since regdef.h no longer - defines fp. - (call_memory_operand): New function to return TRUE if the argument - is a valid MEM for a call instruction. - (mips_move_1word): Emit comment in la of half-pic addresses as a - temporary flag to put the right code down. - (mips_constant_address): New function to determine if something is a - constant address or not. Add stub code for -mhalf-pic. - (override_options): Set flag_half_pic if -mhalf-pic. - (override_options): Mark %? as valid for print_operand. - (mips_debugger_offset): New function to correct the offset for - variables and arguments if the frame pointer has been omitted. - (print_operand): %? now emits a 'l' if mips_branch_likeley is set. - (mips_asm_file_start, function_prologue): If -mabicalls, emit the - pseudo ops that the Pyramid System V.4 port seems to want. - (compute_frame_size): Reserve space for saving GP if -mabicalls. - (half_pic_encode_section_info): Stub function for encoding whether - or not to generate a half pic reference. + 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.) - * mips.md (type attribute): Add pic attribute. - (cpu attribute): New attribute to get the CPU type. - (branch_likely attribute): New attribute to say whether or not we - can use branch likely instructions. - (define_delay): Note that we can annull false branches if -mips2. - (memory function unit): Add pic in addition to load. - (various function units): Use the cpu attribute. - (branch patterns): Support branch likely instructions if -mips2. - (call, call_internal): Use call_memory_operand instead of - memory_operand. If -mhalf-pic put function address in a register. - (call_value, call_value_internal): Likewise. + * cp-decl2.c (grokclassfn): Try using the local value for a nested + type if the IDENTIFIER_TYPE_VALUE isn't there. - * decrose.h (INIT_SECTION_ASM_OP): Define as .init. + * cp-method.c (build_overload_nested_name): Use DECL_NAME instead of + DECL_ASSEMBLER_NAME, since pushtag now mangles together + DECL_ASSEMBLER_NAME. This will make us emit `Q21D1B', not `Q221D1B'. -Thu Feb 6 10:07:17 1992 Tom Wood (wood at dg-rtp.dg.com) +Thu Dec 17 17:51:16 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * m88k.c (preserve_registers): Change to walk the epilogue delay - insns in the forward rather than reverse order (for reorg.c change). + * Makefile.in (install-dir): Added missing then and semicolon. -Thu Feb 6 02:54:28 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Dec 17 15:19:36 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cse.c (simplify_binary_operation, case PLUS): Don't make - a (const (plus X Y)) with X a CONST_INT. + * x-i386s4 (CC): New assignment. - * fixincludes: Simplify egrep command. +Wed Dec 16 15:49:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Feb 6 01:11:28 1992 Mark Eichin (eichin at cygnus.com) + * objc-actions.c (finish_objc) [OBJC_SELECTORS_WITHOUT_LABELS]: + Always call build_selector_translation_table. - * cp-lex.c (process_next_inline): if we get a "parse error at end of - saved function text", set yychar to something that - restore_pending_input will digest (if it thinks input is still - pending, it will abort, but we've already reported the problem to - the user.) + * Makefile.in (install-dir): + If cross-compiler, create $(tooldir) and $(assertdir). -Wed Feb 5 18:42:56 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Wed Dec 16 14:19:08 1992 Richard Kenner (kenner at vlsi1.ultra.nyu) - * reorg.c (fill_simple_delay_slots): When filling delay slots by - searching backward, put each new insn we find at the head of the - delay list instead of at the tail. + * rs6000.h (INITIALIZE_TRAMPOLINE): Get function address and toc + pointer from correct place relative to FNADDR. - * cse.c (fold_rtx): When associating operations, avoid infinite - recursion if the new expression contains our operand. + * varasm.c (assemble_trampoline_template): If TRAMPOLINE_SECTION + is defined, put the trampoline template into that section. -Wed Feb 5 21:18:06 1992 Mark Eichin (eichin at cygnus.com) + * alpha.h (TRAMPOLINE_SECTION): New macro. - * cp-decl.c (globalize_nested_type): If the type isn't found at all, - this is an anonymous forward reference, so permit it. - Abort if type is already globally defined. +Wed Dec 16 14:19:41 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) -Wed Feb 5 18:01:12 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * reload.c (get_secondary_mem): Don't save address if it isn't valid. - * varasm.c, hp800.h, i386.h, m88k.h, mips.h, romp.h, vms.h: - (ENCODE_SECTION_INFO): Renamed from ENCODE_SEGMENT_INFO. +Wed Dec 16 13:59:17 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * sparc.md (nonlocal_goto): Copy static chain into - virtual_stack_vars_rtx, not frame pointer itself. - (nonlocal goto return recognizer): Jump to %o0+0. + * varasm.c (assemble_trampoline_template): + Use readonly_data_section, not text_section. - * toplev.c (main): Fix test for -Wid-clash. +Wed Dec 16 11:32:11 1992 Michael Meissner (meissner@osf.org) -Wed Feb 5 16:58:15 1992 Ron Guilmette (rfg at ncd.com) + * 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. - * dwarfout.c (dwarfout_init): Add two words containing the starting - and ending address of the .text section for this compilation unit to - the special initial entry in the .debug_srcinfo section. + * 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. -Tue Feb 4 14:51:16 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Dec 16 07:33:08 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * dbxout.c (dbxout_symbol): Handle DBX_OUTPUT_CONSTANT_SYMBOL. - (dbxout_block): Handle DBX_OUTPUT_CATCH. + * stmt.c (expand_goto): Set LABEL_REF_NONLOCAL_P in the LABEL_REF + we make in the non-local case. - * cccp.c (lookup_import, add_import, do_include): - Use bcmp and bcopy to access st_ino and ->inode fields. + * varasm.c (assemble_trampoline_template): Always put template in + text section. - * dbxout.c (dbxout_init): Pass syms to DBX_OUTPUT_STANDARD_TYPES. +Wed Dec 16 05:04:06 1992 Tom Wood (wood@dg-rtp.dg.com) - * fold-const.c (operand_equal_p): Check that modes match. - (comparison_equiv_p): New function. - (fold): Use that when converting ?: to min_expr or max_expr. + * combine.c (try_combine): Allow for the case where I3 becomes an + unconditional jump when it is the last nonnote insn. - * c-common.c (c_expand_expr_stmt): Test for ERROR_MARK as type. +Tue Dec 15 20:30:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Feb 4 12:03:26 1992 Michael Tiemann (tiemann at cygnus.com) + * cccp.c (do_pragma): Use index, not strchr. - * stmt.c (expand_end_case): Don't crash if function called - is not an ADDR_EXPR. + * seq386.h (FUNCTION_PROFILER): Add missing . to label name. -Tue Feb 4 14:17:22 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * reload1.c (eliminate_regs_in_insn): Test old_body, not new_body, + since people have tested it that way. - * expr.h ({float[sd]i[sd]f,fix[sd]f[sd]i,fixuns[sd]f[sd]i}_libfunc): - New declarations. - * optabs.c: Define them. - (expand_float, expand_fix): Use them instead of making a new - SYMBOL_REF each call. - (init_optabs): Initialize them. + * reload1.c (eliminate_regs_in_insn): Don't recopy new_body + if it is an asm_operands insn. -Tue Feb 4 00:27:35 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Dec 15 19:42:58 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * Makefile.in (protoize.1, unprotoize.1): Rename temp files < 14 chrs. + * sparc.md (return peepholes): Add QImode and HImode move/return + patterns. - * cccp.c (skip_if_group): Make unknown cmd name a pedantic warning. +Tue Dec 15 17:42:07 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Mon Feb 3 18:10:41 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * alpha.h (ASM_SPEC): New macro. - * romp.h (LEGITIMATE_CONSTANT_P, ENCODE_SEGMENT_INFO): Use - SYMBOL_REF_FLAG. + * 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. - * x-romp-mach: New file. - * configure (romp-*-mach*): New alternative. +Mon Dec 14 13:16:14 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Mon Feb 3 16:43:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rs6000.c (output_epilog): Support LANGUAGE_STRING values for F77, + Ada, and Pascal. - * cp-typeck.c (warn_for_assignment): Print arg num in origin 1. +Sun Dec 13 16:42:26 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * sparc.md (nonlocal_goto trap recognizer): Fix opcode spelling. + * fixinc.sco: Complete rewrite by ian@cygnus.com. - * function.c (fix_lexical_addr): Properly search for correct display. +Sat Dec 12 17:51:43 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * romp.h (OVERRIDE_OPTIONS): Don't set flag_omit_frame_pointer. + * va-alpha.h: Correctly form multi-word object. -Mon Feb 3 11:11:58 1992 Michael Tiemann (tiemann at cygnus.com) + * alpha.c (alpha_builtin_savregs): Correctly compute ARGSIZE and NREGS. - * gcc.c (@c++-cpp-output): Delete extraneous "}}}" at the end of the - rule. + * alpha.h (FUNCTION_ARG_PASS_BY_REFERENCE): Deleted. -Mon Feb 3 11:38:19 1992 Ron Guilmette (rfg at ncd.com) +Sat Dec 12 08:42:43 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) - * dwarfout.c (dwarfout_init): Generate an initial 2-word entry in the - .debug_srcinfo section containing the addresses of the starts of the - .line and .debug_sfnames sections. Generate it after the initial entry - for the .line section. + * 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. - * dwarfout.c [DWARF_TIMESTAMPS]: Ensure time_t and time declared. - (dwarfout_init): Make third word of initial .debug_srcinfo entry be - the compilation date/time if DWARF_TIMESTAMPS is defined, or else -1. + * pa.md (floatsisf, floatsidf): Do not accept general registers. - * dwarfout.c (dwarfout_init): Output compilation directory name as - the first thing in the .debug_sfnames section. +Fri Dec 11 00:13:52 1992 Ian Lance Taylor (ian@cygnus.com) -Mon Feb 3 04:12:51 1992 James Van Artsdalen (james at bigtex.cactus.org) + * 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. - * Makefile.in (install-dir): `parent' is a shell variable. +Fri Dec 11 17:56:53 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) -Mon Feb 3 09:43:51 1992 Tom Wood (wood at dg-rtp.dg.com) + * 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). - * m88k.h (EXTRA_SECTIONS): Use init and fini sections from svr3.h, - but only when using svr3.h. + * 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. -Sun Feb 2 19:50:29 1992 James Van Artsdalen (james at bigtex.cactus.org) +Fri Dec 11 08:15:53 1992 James Van Artsdalen (james@bigtex.cactus.org) - * i386.h (ADDRESS_COST): New macro. + * reload1.c (choose_reload_regs): Don't inherit a reload if the + previous reload wasn't at least as wide as the current reload. -Sun Feb 2 17:08:47 1992 Michael Meissner (meissner at osf.org) +Fri Dec 11 07:19:11 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * mips.c (simple_memory_operand): Don't recognize references to - variables in .sdata or .sbss, which has the effect of not putting - stores into delay slots. This fixes a bug and also doesn't temp the - MIPS linker from trying to put 4 instructions into the delay slot - when it rewrites the function as a PIC function. + * alpha.c (output_epilog): Remove garbage from one decl of EXTRA. + Subtract, not add, size from frame pointer. -Sun Feb 2 16:58:11 1992 Richard Stallman (rms@mole.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. - * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Do ON_EXIT last. + * function.c (assign_outer_stack_local): Align proper frame offset. - * Makefile.in (install-dir): Create the parent of mandir if nec. + * loop.c (get_condition): Check for overflow when canonicalizing + comparison. - * real.h (REAL_VALUE_TRUNCATE): sizeof says what cast to float does. +Thu Dec 10 15:53:41 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * dbxout.c (DBX_OUTPUT_MAIN_SOURCE_DIRECTORY): New parameter macro. - (DBX_OUTPUT_MAIN_SOURCE_FILENAME, DBX_OUTPUT_SOURCE_FILENAME): - (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise. - These are used in place of ASM_... - * newpbb.h (DBX_OUTPUT_MAIN_SOURCE_FILENAME): Macro renamed. - (DBX_OUTPUT_SOURCE_FILENAME): Likewise. - * next.h (DBX_OUTPUT_MAIN_SOURCE_DIRECTORY): Macro renamed. - (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise. + * 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. -Sun Feb 2 12:51:54 1992 Michael Tiemann (tiemann at cygnus.com) + * combine.c (try_combine): Only use I2DEST as a scratch reg for + a split if it does not overlap any inputs of NEWPAT. - * cp-typeck.c (build_component_ref_1): Call `compute_visibility' - with a BASETYPE_PATH, not a TREE_LIST. +Thu Dec 10 10:23:28 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-class.c (build_vtable_entry): Apologize if we cannot build a - proper vtable because of builtin liminations. + * combine.c (get_last_value): Never use value from later insn, even + if reg is only set once. -Sun Feb 2 07:30:08 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * c-tree.h (IDENTIFIER_LIMBO_VALUE): Delete duplicate definition. - * reload.c (combine_reloads): Don't combine two reloads with different - secondary reloads; copy secondary reload to combined reload. +Thu Dec 10 08:54:03 1992 Tom Wood (wood@dg-rtp.dg.com) - * cse.c (cse_main): PIC_OFFSET_TABLE_REGNUM is not clobbered by calls - if -fpic or -fPIC. - * reorg.c (mark_target_live_regs): Likewise. - * sched.c (attach_deaths): Likewise. + * i386sco4.h (CPP_PREDEFINES): Define i386 and unix here. + (CPP_SPEC): Not here. - * flow.c (find_basic_blocks): Don't separate a CALL_INSN from - following CLOBBER insns. +Wed Dec 9 19:03:55 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) - * function.c (use_variable, use_variable_after): Don't interpret - reference to internal arg pointer as variable-sized object. - (expand_function_start, expand_function_end): Add USE for virtual - arg pointer if stupid alloc and it is not the real arg pointer. + * pa.h (ASM_DECLARE_FUNCTION_NAME): Correctly get the return type + of DECL. - * flow.c (insn_dead_p, mark_set_1, mark_used_regs): Don't treat - ARG_POINTER_REGNUM specially if it isn't fixed. - * sched.c (attach_deaths): Likewise. - * reorg.c (mark_target_live_regs): Likewise; also make set of regs - clobbered on call agree with cse and flow. + * x-pa (CC): Set to "/usr/local/bin/gcc" instead of + "/usr/local/gcc". - * function.c (fix_lexical_addr): Rework to look for AP references - using internal_arg_pointer; make some related cleanups. - * expr.c (expand_expr, case VAR_DECL, SAVE_EXPR): Treat - inline_function_decl just like current_function_decl. - * stmt.c (expand_end_bindings): When restoring arg pointer, restore - into the virtual form so we will subtract the proper offset, since - the saved value includes the offset. +Tue Dec 8 17:50:26 1992 Michael Meissner (meissner@osf.org) -Sat Feb 1 14:41:34 1992 Ken Raeburn (Raeburn@Cygnus.COM) + * 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. - * cp-pt.c (end_template_decl): For method template, no longer call - popclass; it isn't needed any more. If after processing template - we're not at the global binding level, throw away any other binding - levels, rather than aborting. Also deleted some other unused code. +Tue Dec 8 11:55:52 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) -Sat Feb 1 09:13:47 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * pa.md (sh[123]add): Use "shadd_operand" as the predicate for + operand one. + * pa.c (shadd_operand): New function. - * xm-rs6000-mach.h, rs6000-mach.h: New files. - * configure (rs6000-*-mach): New option. +Tue Dec 8 08:30:13 1992 Tom Wood (wood@dg-rtp.dg.com) -Sat Feb 1 00:57:24 1992 James Van Artsdalen (james at bigtex.cactus.org) + * 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. - * i386.c: Include tree.h - (symbolic_operand): New predicate function. - (symbolic_reference_mentioned_p): New function. - (legitimize_pic_address,emit_pic_move): New functions. - (function_prologue): Delete unused variable nregs. - If the PIC reg is used, save the old contents and initialize with - a pointer to the GOT. - (simple_386_epilogue): Count the PIC reg if it is used. - (function_epilogue): Delete unused variable "insn". Restore the - original contents of the PIC reg if it was used. + * 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. - (output_pic_addr_const): New function to handle PIC symbol - reference suffixes. - (print_operand_address): Use that if flag_pic is true. - (print_operand): Likewise. Don't print a prefix in front of any - constant if the 'P' code is used. +Tue Dec 8 08:30:13 1992 Niklas Hallqvist (niklas@della.appli.se) - (output_387_binary_op): abort if the op is not one we handle. + * integrate.c (expand_inline_function): Don't output line notes + for implicit formals. - (maximum_field_alignment): New variable. - (handle_pragma_token): New function. Handle `weak' and `pack'. +Tue Dec 8 06:21:44 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * i386.h (CONDITION_REGISTER_USAGE): New macro. Mark PIC reg as - fixed and call used if flag_pic is true. - (PIC_OFFSET_TABLE_REGNUM): New macro. - (FUNCTION_PROFILER): Output PIC compatible code if flag_pic. - (INITIAL_ELIMINATION_OFFSET): Count the PIC reg if it is used. + * cse.c (max_uid): New variable. + (cse_end_of_basic_block): Use it to ignore insns made by CSE. + (cse_main): Set it. - (GO_IF_LEGITIMATE_ADDRESS): If flag_pic is true, reject bare - label or symbol references, but allow constant pool references. - In all cases, don't bother to check for a constant as the first - operand of a PLUS. - (LEGITIMIZE_ADDRESS): Call legitimize_pic_address for symbolic - references if flag_pic is true. In all cases, HImode regs are not - valid memory pointers. - (LEGITIMATE_PIC_OPERAND): New macro. - (SYMBOLIC_CONST): New macro. - (ENCODE_SEGMENT_INFO): New macro to notice static variables. - (CONST_COSTS): Symbolic constants cost more if flag_pic is true. +Mon Dec 7 21:22:29 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) - * i386.md (movsi): Use define_expand. Call emit_pic_move for - symbolic constants if flag_pic is true. - (divmodM4,udivmodM4): Change predicates so that only regs are - allowed in operands that can't be a mem. Avoids reload - congestion. - (indirect_jump): Allow any reg or mem as operand, not just reg 0. - (casesi): New insn, only used if flag_pic is true. - (call,call_pop,call_value,call_value_pop): Use define_expand to - record if this function ever emits a call, which will implicitly - use the PIC address register. + * cp-init.c (do_friend): Revert change of Sept 1; it seems to have + broken properly emitting friends. - * svr4.h (SELECT_SECTION): Any item whose initial value involves - linker relocation must go in the data section if flag_pic is true. +Mon Dec 7 19:09:25 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * i386v4.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output in PIC style. If - flag_pic is false, ADDR_DIFF_VECs are not output and this is not - used. - (JUMP_TABLES_IN_TEXT_SECTION): New macro. + * reload1.c (eliminate_regs_in_insn): Make another copy of all the + RTL if we changed something and we aren't permanently replacing. - (WEAK_ASM_OP,DEF_ASM_OP): New macros. - (maximum_field_alignment): New variable. Declare here. - (PCC_BITFIELD_TYPE_MATTERS): New macro. Value depends on - maximum_field_alignment. - (BIGGEST_FIELD_ALIGNMENT): New macro. Likewise. - (HANDLE_PRAGMA): New macro. - (ASM_OUTPUT_ALIGNED_LOCAL): New macro. + * romp.md (reload_out{q,h}i): Write as proper PARALLEL. -Sat Feb 1 00:15:41 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sun Dec 6 16:27:14 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * flow.c (flow_analysis, find_basic_blocks): - If have nonlocal labels, calls end basic blocks. - Each call can jump to each nonlocal label. - Pass extra arg to find_basic_blocks. - * function.c (nonlocal_label_rtx_list): New function. + * alpha.md (add-mult): Add missing `&' in constraints of kludge + plus/plus/mult pattern. - * dbxout.c (dbxout_init): Vars wd and wd_gotten moved to top level - and renamed to cwd and cwd_gotten. +Sun Dec 6 16:26:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-decl.c (start_function): -Wmissing-prototypes warns if static - function was previously used without a prototype. + * optabs.c (expand_binop): Correct sign of complex quotient imagpart. - * loop.c (find_and_verify_loop): Initialize uid_loop_num[0]. - (loop_optimize): Give up fast if no loops. +Sun Dec 6 07:59:16 1992 Michael Meissner (meissner@osf.org) - * stmt.c (expand_end_bindings): Don't adjust fp in nonlocal goto hndlr - if there is a nonlocal_goto insn. + * 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. - * Makefile.in (cccp.o): Use just libdir in GPLUSPLUS_INCLUDE_DIR. + * 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. - * gcc.c (do_spec_1): Supply missing arg in some recursive calls. +Fri Dec 4 19:50:29 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) -Fri Jan 31 21:50:03 1992 Jeffrey A. Law (law at wombat.gnu.ai.mit.edu) + * fixincludes: fix _cplusplus typo in SCO's tinfo.h - * m68k.h (OVERRIDE_OPTIONS): -fPIC is only supported on the 68020 - and later cpus. Give an error if -fPIC is tried on a 68000. +Fri Dec 4 19:22:35 1992 Randy S. Welch (randy@kcin.alphacdc.com) -Fri Jan 31 21:39:33 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * xm-plexus.h: New file. + * configure (m68k-plexus-sysv*): Use it. - * flow.c (find_auto_inc): If emitting a move insn in front of the - first insn in a block, update basic_block_head. +Fri Dec 4 19:21:44 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * caller-save.c (init_caller_save): Correctly check for case where the - save or restore insns aren't recognized. + * c-decl.c (start_function): Use TYPE_MAIN_VARIANT when comparing + return type with previous prototype declaration. -Fri Jan 31 21:02:35 1992 Mark Eichin (eichin at cygnus.com) + * cccp.c (output_line_command): Use alloca for line_cmd_buf. - * cp-decl.c (pushtag): when calling pushdecl, if we're in a - class_binding_level just do a pushdecl_class_level. Otherwise - pushdecl gets called multiple times on class-nested enums, which - short circuits the name list in the global_binding_level. +Fri Dec 4 19:20:34 1992 Richard Kenner (kenner@mole.gnu.ai.mit.edu) -Fri Jan 31 00:14:20 1992 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. - * stmt.c (expand_goto): Use nonlocal_goto pattern if it exists. - * sparc.md (nonlocal_goto): New pattern. - Also nameless pattern for the special trap insn. + * 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. - * gcc.c (S_ISDIR): Add default definition. +Fri Dec 4 19:13:35 1992 Jonas Olsson (ljo@po.cwru.edu) - * function.c (expand_function_end): - Set up arg_pointer_save_area at start of function. + * i386bsd.h (ASM_OUTPUT_ADDR_DIFF_ELT, JUMP_TABLES_IN_TEXT_SECTION): + Copy definitions from i386v4.h to get PIC code correct. - * c++: Accept -nostdlib, not -nostinc. +Thu Dec 3 19:20:14 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * va-sparc.h: If GCC v1, define __extension__ as nothing. - * va-i860.h, va-pyr.h, va-spur.h: Likewise. + * cp-decl.c: Include sys/types.h for systems that need things for + signal.h. - * cp-class.c (finish_struct): Fill in DECL_ALIGN of vtable field. +Thu Dec 3 01:40:42 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * regclass.c (reg_class_record): - Don't follow indirect loops in constraints. + * 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. - * function.c, expr.h (current_function_internal_arg_pointer): New var. - * function.c (assign_parms): Set it. - (push_function_context, pop_function_context): Save and restore it. - * expr.c (expand_builtin): Use it. - * function.h (struct function): New slot to save it in. + * fixincludes (sys/types.h): Check for [ \t]size_t not size_t. - * cse.c (cse_main): Calls do clobber arg pointer if not fixed. +Wed Dec 2 15:40:36 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * hp320.h (HAVE_ATEXIT): New definition. + * configure (rs6000-ibm-aix32): New target. + * rs6000-aix32.h: New file. - * Makefile.in (ALL_CPPFLAGS): New variable. - Use in all compile steps instead of CPPFLAGS. - (X_CPPFLAGS, T_CPPFLAGS): New vars, used in ALL_CPPFLAGS. - * x-vax (X_CPPFLAGS): Use this instead of X_CFLAGS. +Tue Dec 1 18:05:20 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * stmt.c (expand_end_bindings): Fix typo. + * cp-type2.c (build_functional_cast): Revert change of Nov 2, + concerning clearing the TREE_VALUE of a default parameter. -Fri Jan 31 12:15:09 1992 Ron Guilmette (rfg ay ncd.com) +Tue Dec 1 13:33:25 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * dwarfout.c (LINE_LAST_ENTRY_LABEL): Definition added. - (dwarfout_finish): Put a label on the last .line section entry. - (dwarfout_finish): Make first word of final .debug_srcinfo record - contain the offset of the final .line section entry. + * local-alloc.c (optimize_reg_copy_2): Correct reg_n_refs updates. -Fri Jan 31 10:31:44 1992 James Van Artsdalen (james at bigtex.cactus.org) + * Makefile.in (INSTALLED_H): Add syslimits.h. - * cp-tree.c (__eprintf): Make definition match assert.h - declaration. +Tue Dec 1 11:09:50 1992 Brendan Kehoe (brendan@lisa.cygnus.com) -Thu Jan 30 23:17:11 1992 Per Bothner (bothner at cygnus.com) + * cp-call.c (build_method_call): When looking for a default arg + initialized by a ctor, be careful of a null ref w/ operand 1. - * c++: The flags -c, -S, or -E suppress passing -lg++ - to gcc. (Otherwise, gcc prints a warning.) +Tue Dec 1 10:43:13 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Jan 30 21:10:02 1992 Ron Guilmette (rfg at ncd.com) + * combine.c (num_sign_bit_copies): Return 1 on failure, not 0. + Fix typo in last change; return 1 on failure, not BITWIDTH. - * dwarfout.c (dwarfout_init): Fix generation of initial .debug_aranges - entry to be Dwarf Version 1 compliant. +Tue Dec 1 09:39:47 1992 Michael Meissner (meissner@osf.org) -Thu Jan 30 15:51:27 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + * mips.c (function_prologue): Do not emit a .loc before the + function if debug level is 1. This confuses gdb. - * i386sun.h (LINK_SPEC): Delete useless %{-Bstatic} term. - * sun2o4.h (LINK_SPEC): Likewise. - * sun3.h (LINK_SPEC): Likewise. - * sparc.h (LINK_SPEC): Delete useless %{Bstatic} term. +Tue Dec 1 02:48:29 1992 James Van Artsdalen (james at bigtex.cactus.org) - * cccp.c (default_include): Delete use of obsolete - NO_STANDARD_INCLUDE_DIR macro. - * protoize.c (default_include): Likewise. + * isc.h (TARGET_DEFAULT): New macro - don't make TARGET_IEEE_FP + default for ISC. - * Makefile.in (libgcc1.null): Delete dummy.o and dummy.c. +Fri Nov 27 01:30:41 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Jan 30 15:34:06 1992 Michael Meissner (meissner at osf.org) + * Version 2.3.2 released. - * gstdarg.h: Include va-mips.h on MIPS systems. + * objc/core.c (searchForMethodInHierarchy): + If SEL or NAME is 0, return 0. - * va-mips.h (va_start): Provide alternate definition when included - via stdarg.h. - (va_arg): Use __alignof(...) instead of sizeof(...) to determine - whether or not to dword align the argument pointer. + * gcc.c (LINK_LIBGCC_SPECIAL_1): New parameter. + * rs6000.h (LINK_LIBGCC_SPECIAL_1): Defined. -Thu Jan 30 13:06:36 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * t-hp320g (RANLIB, RANLIB_TEST, AR, AR_FLAGS): + Just copy value of ..._FOR_TARGET. + (LIBCONVERT): Use TARGET_TOOLPREFIX. - * Makefile.in (install-common): Get c++ and g++ from srcdir. + * reload.c (find_reloads) [SMALL_REGISTER_CLASSES]: + Don't use preferred_class for a multiword register. - * i860.h (FIXED_REGISTERS): Arg pointer is no longer fixed. + * cccp.c (do_include): Initialize searchptr to 0. - * assert.h (__eprintf): Add const to string args in GCC ANSI case. +Fri Nov 27 07:40:54 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - * Makefile.in (cccp.o, protoize.o, unprotoize.o): - Define LOCAL_INCLUDE_DIR based on $(prefix). + * 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. - * stmt.c (expand_end_bindings): Arg pointer needs no special - treatment if not fixed. +Thu Nov 26 10:31:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-parse.y, c-lex.c (yyerror): - Avoid sign-extension of characters in error messages. + * gstdarg.h (va_end): #undef before the declaration. -Thu Jan 30 11:39:56 1992 Ron Guilmette (rfg at ncd.com) + * gstdarg.h (va_arg): Alternative definition for big-endian machines. + * gvarargs.h (va_arg): Copy both definitions from gstdarg.h. - * dwarfout.c (dwarfout_finish): Fix generation of .debug_pubnames - terminating entry to be 4-bytes of zero followed by a null string. + * limitx.h, limit.y: Test and define _GCC_LIMITS_H_, not _LIMITS_H_. -Thu Jan 30 09:30:19 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * mips.c (mips_debugger_offset): Don't crash for unknown cases. - * rs6000.c (ccr_bit): Fix typo causing reference to possibly - undefined operand. + * c-typeck.c (build_unary_op): Call pedantic_lvalue_warning + for *all* cases of incrementing a cast. - * rs6000.h (ASM_SPEC): Remove until new AIX assembler is available. - (ASM_OUTPUT_POOL_PROLOGUE): Add missing "." in csect name. - (ENCODE_SEGMENT_INFO): Deleted. - (ASM_OUTPUT_EXTERNAL): Move code from ENCODE_SEGMENT_INFO here, - using permalloc instead of putting name into saveable_obstack. - Re-enable macro. - (ASM_OUTPUT_EXTERNAL_LIBCALL): Re-enable. + * libgcc2.c (__udiv_w_sdiv): Cast 1 before shifting by 31. -Wed Jan 29 21:50:26 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * fixincludes (PWDCMD): New variable, set specially for Apollos. + Use it to get the working dir. - * rs6000.h (ASM_SPEC): Add -u, now require new /bin/as for AIX. - (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): No longer needed. + * combine.c (num_sign_bit_copies): Fix 1-off error in PLUS case. - * rs6000.h (ENCODE_SEGMENT_INFO): New macro; add [RW] or [DS] to name. - (RS6000_OUTPUT_BASENAME): New macro. - (ASM_OUTPUT_*): Use it instead of assemble_name when required. - (ASM_OUTPUT_POOL_PROLOGUE): Remove trailing [RW] or [DS]. - * rs6000.c (print_operand, case 'z'): New case, for name in CALL_INSN. - (output_toc): Use RS6000_OUTPUT_BASENAME instead of assemble_name - for toc entry name. - * rs60000.md (call): Use %z. + * c++: Put newline into `for arg do'. -Wed Jan 29 17:17:42 1992 Michael Tiemann (tiemann at cygnus.com) +Thu Nov 26 08:32:20 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-init.c (build_member_call): Fix bug involving static members - that are function pointers. + * expmed.c (struct algorithm): Make coeff a HOST_WIDE_INT. -Wed Jan 29 13:25:18 1992 Tom Wood (wood at dg-rtp.dg.com) + * romp.c (output_epilog): Always call output_fpops. - * gcc.c (do_spec_1): For %D, only add -L options that are relevant. - (is_linker_dir): Determine if a -L option is relevant. +Wed Nov 25 16:24:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Jan 29 00:57:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Makefile.in (install-fixincludes): Use SYSTEM_HEADER_DIR. - * configure: Turn ns32k alternatives back on. + * m68ksgs.h (ASM_OUTPUT_DOUBLE_OPERAND): Really use the operand VALUE. - * Makefile.in (getopt.o, getopt1.c): Join two lines into one. + * tree.h (CONSTRUCTOR_NAME_FORMAT): Let config.h override this. + * tower-as.h (CONSTRUCTOR_NAME_FORMAT): Defined. - * x-i386v4, x-i860v4 (GCC_CFLAGS): Add missing `-B./'. + * c++: Replace `for arg do' which ash can't handle. - * reload.c (find_dummy_reload, push_reload): Don't reuse dying input - reg as a reload if it is a fixed reg. + * t-next (OTHER_FIXINCLUDES_DIRS): Delete /NextDeveloper/Headers. - * c-tree.h (C_MISSING_PROTOTYPE_WARNED): Deleted since unused. + * apollo68.h (HAVE_ATEXIT): Commented out. -Wed Jan 29 00:42:34 1992 Tim Moore (moore at fast.cs.utah.edu) + * regclass.c: Fix typo in use of SECONDARY_INPUT_RELOAD_CLASS. + (copy_cost): Fix typo in use of SECONDARY_OUTPUT_RELOAD_CLASS. - * hp800.c (print_operand): Handle INSN_ANNULLED_BRANCH_P in '*' - operand type. - * hp800.h (DEFAULT_GDB_EXTENSIONS): Define as 0. - * hp800.md (cmpsi): Change arith_operand to arith5_operand. - (bCC patterns): Delete pattern that matches a compare with a - constant first operand. Change arith_operand to arith5_operand. - (fp branches): Change type to cbranch. +Wed Nov 25 14:15:50 1992 Jim Wilson (wilson@sphagnum.cygnus.com) - * function.c (assign_parms): Set current_function_arg_offset_rtx - correctly for ARGS_GROW_DOWNWARD. - * gstdarg.h: Include va-hp800.h. - * va-hp800.h: Complete rewrite. + * fixinc.svr4 (regexp.h): Don't add a getrnge declaration if a + conflicting declaration is already present. -Tue Jan 28 17:04:38 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) +Wed Nov 25 06:47:18 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * varasm.c (make_decl_rtl): Delete unused var `i'. + * rs6000.h (LINK_LIBGCC_SPECIAL): No longer define. - * c-convert.c (convert_to_pointer): - Abort if no integer type is as wide as a pointer. + * stmt.c (expand_value_return): Don't emit move between differing + modes when PROMOTE_FUNCTION_RETURN is defined; convert instead. - * gcc.c (default_compilers, .i case): Add error message for -pg - and -fomit-frame-pointer incompatibility. + * integrate.c (expand_inline_function): Ensure a REG used as + COPY has REG_USERVAR_P set if LOC does. - * Makefile.in (install-common): Install c++ and g++ shell scripts in - bindir. + * optabs.c (expand_binop, expand_twoval_binop): If we are going + to fail, remove any load from MEM we did due to -fforce-mem; + if the MEM was volatile, this will cause an extra load. + (expand_complex_abs): Likewise. + Correct use of variable LAST so it doesn't include the load + from MEM (to fix unrelated bug). -Tue Jan 28 15:44:10 1992 Michael Collison (collison at osf.org) +Tue Nov 24 00:23:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * x-encrose (OLDCC): changed to $(GNU_ROSE_BIN)/gcc + * i386bsd.h (FUNCTION_PROFILER): Use mcount, not _mcount. - * ns32k.h: Added trampoline code. + * t-next (OTHER_FIXINCLUDES_DIRS): Leave just /LocalDeveloper/Headers + and /NextDeveloper/Headers. -Tue Jan 28 14:19:52 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Mon Nov 23 22:06:31 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * rtl.def (UNSPEC, UNSPEC_VOLATILE): New RTL codes. - * cse.c (canon_hash): UNSPEC_VOLATILE operations are volatile. - * loop.c (invariant_p): Likewise. - * reorg.c (mark_referenced_resources): Likewise. - * sched.c (sched_analyze_2): Likewise. - * rtlanal.c (volatile_refs_p, side_effects_p, may_trap_p): Likewise. - (reg_referenced_p): Support UNPEC and UNSPEC_VOLATILE. + * ns32k.md (movsi): Split alt 1 to deprecate xy classes in operand 1. -Tue Jan 28 11:50:35 1992 Michael Meissner (meissner at osf.org) + * combine.c (make_extraction): When making a low part subreg of a reg, + use inner_mode, not is_mode. - * mips.c (toplevel): Add include of , since isdigit is - used. +Mon Nov 23 21:11:13 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Jan 28 05:47:08 1992 Michael Tiemann (tiemann at cygnus.com) + * romp.h (ASM_FILE_START): Stop at first blank in VERSION_STRING. - * cp-decl.c (xref_tag): Addition to eichin's Jan 25 change. If REF - is extant, and it's seen in the global scope outside of - CLASS_BINDING_LEVEL, set its IDENTIFIER_GLOBAL_VALUE if NULL. +Mon Nov 23 21:09:20 1992 Tom Wood (wood@dg-rtp.dg.com) - * cp-class.c (pushclass): Forcibly remove any remnants of incomplete - type that was previously pushed. + * fold-const.c (range_test): Convert the constants to the unsigned + type before expanding the range test. - * cp-decl.c (various places): Remove all error messages about C++ - constructs being invalid in C language context; extern "C" is a - linkage specifier--no more. +Mon Nov 23 20:54:45 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-method.c (dump_type_prefix,dump_type): Never need to output - `unsigned' since its always part of an unsigned integer type name. - (build_overload_name): Change test for unsigned to use - `unsigned_type' instead of examining TREE_UNSIGNED. + Mon Nov 23 13:21:43 1992 Brendan Kehoe (brendan@cygnus.com) - * cp-call.c (ideal_candidate): Don't convert PARMS in place if - BASETYPE is NULL_TREE. + * 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). -Tue Jan 28 02:21:31 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-decl.c (start_decl): If grokdeclarator returns a + void_type_node, return a NULL_TREE. - * c-decl.c (grokdeclarator): Use `auto' for nested fn fwd decls. + * 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. - * g++: New file. + Sat Nov 21 02:33:28 1992 Brendan Kehoe (brendan@cygnus.com) - * fixincludes: - Convert machine names in #if's to have underscores. - Fix specific files stdlib.h, locale.h, hsfs/... for Sunos 4.1. - * fixinc.svr4: Convert machine names in #if's to have underscores. + * 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'. - * gcc.c (do_spec_1): For %D, also make -L's for startfile_prefix. - Also append the machine + * 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. - * fold-const.c (fold_convert): Properly handle real-to-real case. + Thu Nov 19 01:41:58 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * configure (i486-*-sysv4*): New alternative. + * cp-dem.c (do_builtin_type): Recognize `w', a wide character, since + it's now a type according to the ANSI X3J16 working paper; output + "wchar_t" for it. + (cplus_demangle): Accept `w' as an integral type. -Tue Jan 28 00:37:24 1992 Ron Guilmette (rfg at ncd.com) + Wed Nov 18 21:29:14 1992 Brendan Kehoe (brendan@cygnus.com) - * dwarfout.c (location_attribute): Fix handling of objects which - were optimized out of existance for Dwarf Version 0 compliance. + * cp-class.c (finish_struct): Re-enable code to cut down on the size + of symbol output, the positives outweigh the negatives. -Tue Jan 28 00:42:57 1992 James Van Artsdalen (james at bigtex.cactus.org) + Wed Nov 18 19:51:59 1992 Mike Stump (mrs@cygnus.com) - * Makefile.in (mostlyclean): Delete stack dump files too. + * cp-search.c (dfs_walk): Move setting of + vbase_decl_ptr_intermediate out of #ifdef code. -Mon Jan 27 18:26:27 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + Wed Nov 18 18:49:13 1992 Mike Stump (mrs@cygnus.com) - * rs6000.h (HAVE_ATEXIT, NO_DOLLAR_IN_LABEL): Now defined. + * cp-decl.c (grokdeclarator): Make wording on error message + stronger. -Mon Jan 27 13:32:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Tue Nov 17 17:46:11 1992 Brendan Kehoe (brendan@cygnus.com) - * libgcc2.a (L_exit): Declare __CTOR_LIST__ and __DTOR_LIST__ - with length 2; get rid of __CTOR_END__ and __DTOR_END__. - (L_ctor_list, L_dtor_list): New library members. + * cp-search.c (CHECK_convert_pointer_to_single_level): Don't define. - * cccp.c (main): Add terminating null, then call trigraph_pcp. +Mon Nov 23 19:44:38 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * fixincludes, fixinc.svr4: Fail unless an arg was given. - * Makefile.in (install-fixincludes): Pass output dir as argument. + * mot3300.h (switch_table_difference_label_flag): Define it. - * Makefile.in: Renamed libgcc[12] to libgcc[12].a. - Likewise for tmplibgcc[12]. + * ns32k.md (addsi3): Add & for alternative 1 in operand 0. - * toplev.c (rest_of_decl_compilation): Treat all fcns as if external. +Mon Nov 23 18:29:27 1992 Jim Wilson (wilson@sphagnum.cygnus.com) - * Makefile.in (TAGS): Do the work in srcdir. - Include c-parse.h in files to move. + * genattrtab.c (obstack.h): Include after sys/time.h. -Mon Jan 27 10:54:24 1992 Jim Wilson (wilson at sphagnum.cygnus.com) + * c-decl.c (duplicate_decls): For builtins, create new function + type instead of trying to modify old one. - * cccp.c (get_filename): Don't pass -1 file descriptor to close. +Mon Nov 23 16:28:36 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Jan 27 00:26:33 1992 Michael Tiemann (tiemann at cygnus.com) + * i386bsd.h (COMMENT_BEGIN): Redefine as #. + (ASM_APP_ON, ASM_APP_OFF): Redefine to use #. - * cp-decl.c (start_function): Preserve TREE_TYPE of RESULT_DECL, in - case we have a named return value. - (finish_function): Restrict the cases under which we build - `no_return_label'. Use CURRENT_FUNCTION_RETURN_VALUE to eliminate - the generation of needless cleanups when functions end with a return - stmt. No longer zeros out CLEANUP_LABEL. Also, call `emit_jump' - instead of `expand_null_return' in case NO_RETURN_LABEL is - non-NULL. + * combine.c (num_sign_bit_copies): Inhibit x-1 special case + when x is a paradoxical subreg. - * cp-decl2.c (grokfield): Don't specially hack static member - function names. + * xm-linux.h (malloc, calloc): Definitions deleted. - * cp-except.c (cplus_expand_raise): Test correct predicate that we - have a non-null value return. - (cplus_expand_{throw,reraise}): Ditto. +Mon Nov 23 11:52:41 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) - * cp-typeck.c (c_expand_return): Handle case where named return - value has incomplete type. + * pa.md (sh[123]add): Use "nonmemory_operand" instead of + "register_operand" as the predicate for the first operand. -Sun Jan 26 20:50:55 1992 Michael Tiemann (tiemann at cygnus.com) +Mon Nov 23 00:29:27 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-parse.y (LC): Fix rule to use `push_obstacks_nochange'. - (structsp): Use `pop_obstacks'. + * gcc.c (default_compilers): Pass -i* after -U*. -Sun Jan 26 17:39:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sun Nov 22 17:03:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-parse.y (LC): Use push_obstacks_nochange and always call - end_temporary_allocation. - (structsp, template_instantiate_once): After LC, use pop_obstacks. + * hp320.h (FUNCTION_PROFILER): Complete replacement. - * c-decl.c (grokdeclarator): - Static function decl within a function is not external. + * xm-hp320.h (index, rindex): Defined. -Sun Jan 26 08:14:53 1992 Michael Meissner (meissner at osf.org) + * gstddef.h: Fix prev change; test of _STDDEF_H was backwards. - * mips.h (MIPS_VERSION): Bump meissner version # to 9. - (enum processor_type): Delete PROCESSOR_R2000, since a r2000 - schedules just like a r3000. - (mips_isa, mips_isa_string, mips_cpu_string): New global variables. - (MD_EXEC_PREFIX): If not defined, define as "/usr/lib/cmplrs/cc/". - (TARGET_SWTICHES macros): Move setting the processor from - TARGET_SWITCHES to TARGET_OPTIONS. Also, delete the -mfixed-ovrfl - switch, and move -mwc8/-mwc16 to not use any bits, since we can't - support these in GCC 2.00. Readjust the positions the bits are in. - (TARGET_OPTIONS): Define to add switches -mcpu=x to set which - processor type to schedule for, and -mipsx to specify the - instruction set architecture level. - (BRANCH_LIKELY_P): New macro, true if MIPS ISA >= 2. - (HAVE_64BIT_P): New macro, true if MIPS_ISA >= 3. - (HAVE_SQRT_P): New macro, true if MIPS_ISA >= 2. - (BRANCH_COST): Define as 2 if r4000/r6000, 1 otherwise. - (ASM_OUTPUT_SKIP): Eliminate OSF/1 gas work around. +Sun Nov 22 16:12:38 1992 Tom Wood (wood@dg-rtp.dg.com) - * mips.c (mips_isa, mips_isa_string, mips_cpu_string): New global - variables. - (print_options): Print CPU and ISA level. - (override_otpions): Handle TARGET_OPTIONS setting cpu and ISA. - (override_options, print_operand): %: is no longer supported, since - -mfixed-ovfl is eliminated. + * toplev.c (W_options): Delete -Wreturn-type, as it is in lang_options. + * c-decl.c (c_decode_option): Decode -Wreturn-type. - * mips.md (type attribute): Add fsqrt. - (all define_function_units): Redo, to add full r6000 and r4000 - support, and to use the default case in case another processor type - is added. Also, tests against PROCESSOR_R2000 eliminated. - (add, subtract patterns): Delete use of %:. - (sqrtdf2, sqrtsf2): Define if the MIPS ISA >= 2. + * c-decl.c, cp-decl.c (pushdecl): Don't inherit DECL_INITIAL when + redeclaring the current function. - * decrose.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define these to - use the defaults on the OSF/1 reference platform. - (i386rose.h): Likewise. + * integrate.c (expand_inline_function): Use the original + declaration of the inlined function rather than a redeclaration as + the BLOCK_ABSTRACT_ORIGIN of the body. -Sun Jan 26 07:58:00 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Sat Nov 21 19:54:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cse.c (cse_insn): Don't call insert_regs on a SUBREG. - When scanning table for SUBREG assignment, ignore invalid entries. + * cccp.c (main): Do -D's and -A's and -U's in order specified. - * cse.c (cse_insn): When looking for first non-deleted entry in - table, start by scanning backwards from the deleted entry. + * gcc.c (default_compilers): When running cpp, + move %{D*} and %{U*} (in that order) just before %i. - * function.c (assign_parms): Set current_function_return_rtx - unconditionally. - (expand_function_start): Don't set it here. +Sat Nov 21 18:24:55 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) -Sat Jan 25 06:44:16 1992 Mark Eichin (eichin at cygnus.com) + * 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. - * cp-decl.c (set_identifier_local_value): New function. Clone of - set_identifier_type_value, but uses level->shadowed instead. Only - used in pushdecl, where the non-global install was previously - setting the local value directly which "stuck" and didn't get - cleared the next time through. - (pushdecl): use set_identifier_type_value so that the local value - actually gets erased when we leave this level. Changed code that - checks for global_binding_level to recognize that if - class_binding_level is set, we're not in the global one. - (poplevel_class): restore shadowed list too, like poplevel does. - (print_binding_level): added no_print_functions and - no_print_builtins variables to eliminate clutter while trying to - debug binding level problems. + * configure (hppa1.0-*-hpux*, hppa1.0-*-hpux*): Use xm-pahpux.h. + (hppa1.0-*-hpux7*): New alternative. -Fri Jan 24 18:03:36 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Sat Nov 21 14:10:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * tree.c (pop_momentary): Don't reference freed stack entry. + * spc-sol2.h (SWITCH_TAKES_ARG, LINK_SPEC): New override definitions. -Fri Jan 24 14:20:05 1992 Michael Tiemann (tiemann at cygnus.com) + * xm-mot3300.h (index, rindex): Defined. - * cp-parse.y (stmt): Call `define_case_label' for default label. - * cp-decl.c (current_function_return_value): New variable. - (define_{case_}label): Clear CURRENT_FUNCTION_RETURN_VALUE. - * cp-typeck.c (c_expand_return): Set CURRENT_FUNCTION_RETURN_VALUE. +Sat Nov 21 07:54:53 1992 Michael Meissner (meissner@osf.org) - * cp-tree.c (lang_printable_name): Use DECL_RING, and don't free - the printable name for CURRENT_FUNCTION_DECL. + * mips.h (MIPS_VERSION): Set Meissner version number to 29. -Fri Jan 24 14:17:30 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. - * gvarargs.h: If _ANSI_H, undef _VA_LIST_. + * mips.md (blockage): New unspec_volatile insn to prevent other + insns from being scheduled before it. - * c-typeck.c (pointer_int_sum): Don't distribute * into pointer diff. +Sat Nov 21 06:03:38 1992 Brendan Kehoe (brendan@cygnus.com) - * hp320.h (MD_STARTFILE_PREFIX): Defined. - (STANDARD_STARTFILE_PREFIX): Deleted. + * sdbout.c (template_name_p): New function. + (sdbout_record_type_name): Use it to possibly use the + DECL_ASSEMBLER_NAME instead of DECL_NAME if looking at a template. + (sdbout_symbol): Ditto. -Fri Jan 24 09:30:41 1992 Fred Fish (fnf at fishpond) +Fri Nov 20 15:31:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * assert.h (__eprintf): Declare as prototype for __STDC__ + * dbxout.c (dbxout_type): Handle need for name of a RECORD_TYPE + when it has none. -Fri Jan 24 05:28:53 1992 James Van Artsdalen (james at bigtex.cactus.org) + * configure (sparc-*-solaris2): Set broken_install. - * i386.md (jump,indirect_jump,tablejump): Don't output an align - directive here: let the following BARRIER do it. + * integrate.c (subst_constants): Inhibit special treatment of subreg + when the stuff inside is not a reg. -Thu Jan 23 11:54:11 1992 Ron Guilmette (rfg at ncd.com) + * config/plexus.h (SIZE_TYPE): Fix syntax. - * i486v4.h: New file. + * gcc.c (do_spec_1): Handle MKTEMP_EACH_FILE. -Thu Jan 23 20:34:22 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) +Fri Nov 20 15:10:20 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - * fixinc.svr4: Surround uses of ${INPUT} with "" instead of '' - so that it will get expanded. + * fixincludes (math.h): Get rid of inconsistent inline definitions + for abs that are present in HP-UX 8.0. -Thu Jan 23 17:50:13 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Fri Nov 20 10:07:48 1992 Michael Meissner (meissner@osf.org) - * cse.c (qty_mode): New variable. - (reg_rtx): Deleted. - (hard_regs_in_table, regs_invalidate_by_call): New variables. - (new_basic_block): Clear hard_regs_in_table. - (delete_reg_equiv): New name for reg_invalidate; don't update reg_tick. - (mention_regs): Don't set reg_rtx. - Update reg_tick for all registers in a multi-register hard register - reference. - (insert_regs): Don't do anything special with SUBREG. - Only insert register in a class if it is the same mode. - Don't set reg_rtx; set qty_mode instead. - (insert): Update hard_regs_in_table. - Get constant equivalence in proper mode. - (merge_equiv_classes): Call delete_reg_equiv. - (invalidate): Call delete_reg_equiv and update reg_tick. - Invalidate all parts of multi-word hard regs and invalidate - any multi-word hard reg overlapping what we are to invalidate. - Only look at constant in proper mode. - (remove_invalid_refs): Use refers_to_regno_p. - (invalidate_for_call): New function. - (canon_hash, refers_to_mem_p, fold_rtx, equiv_constant): Look at - constant in proper mode. - (cse_rtx_addr_varies_p, cse_process_notes): Likewise. - (exp_equiv_p): Likewise. - Check reg_tick for all parts of multi-word hard register. - (canon_reg): Don't use reg_rtx; get register from regno_reg_rtx or - build hard reg in proper mode. - (record_jump_equiv): Split into two pieces. - (record_jump_cond): Second part of record_jump_equiv; make recursive - call to some equivalences if args are SUBREGs. - (cse_insn): Only replace register with equivalent if proper mode; - don't use reg_rtx. - Call invalidate_for_call. - Don't avoid call to gen_lowpart for hard register. - Make a SUBREG if gen_lowpart_if_possible fails for SUBREG - assignment. - (invalidate_from_clobbers): Update reg_tick of SP; invalidate - REG entry in table, if present; use stack_pointer_rtx. - (cse_main): Don't allocate reg_rtx. - Initialize regs_invalidated_by_calls. - (cse_basic_block): Allocate qty_mode. + * collect2.c (FREAD, FWRITE): Undef these macros if they were + defined before including ldfcn.h. - * rs6000.h (ADDITIONAL_REGISTER_NAMES): Add so we can disambiguate - fixed and floating registers. +Fri Nov 20 15:38:47 1992 Tom Wood (wood@dg-rtp.dg.com) - * rs6000.md (ashrdi3): Reject all but constant shift counts. + * integrate.c (expand_inline_function): Mark all notes as integrated. - * jump.c (simplejump_p): Don't access PATTERN unless we know it is - a JUMP_INSN. + * 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. - * combine.c (get_last_value): Don't do a recursive call for a - paradoxical SUBREG. +Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu) - * jump.c (jump_optimize): In "if (...) x = a; else x = b;", - don't move "x = b;" if it has non-trivial REG_NOTES. Also, allow - B to be any constant, not just a CONT_INT. + * 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. - * stor-layout.c (layout_type): Handle alignment for arrays the same - as we do for records and unions. +Wed Nov 18 17:58:18 1992 Karl Berry (karl@cs.umb.edu) - * calls.c (expand_call): Ignore `const' on void functions. + * i386iscgas.h (SDB_DEBUGGING_INFO): #undef. + (DBX_DEBUGGING_INFO): #define. + (DBX_OUTPUT_MAIN_SOURCE_{DIRECTORY,FILENAME}): Override dbxout.c. - * i860.c: Include recog.c. - Remove many explicit declaration of vars from include files. - (i860_compare_op[01]): Define these here. - * i860.h (i860_compare_op[01]): Add declarations. - * i860.md (compare, branch): Rework to use define_expand for cmpxx. - Compare just saves operands in i860_compare_op[01]. Branch emits - both insns using the saved operands. + * bsd386.h (LPREFIX) [NO_UNDERSCORES]: Define as `.L'. - * i860.h (PREFERRED_RELOAD_CLASS): Handle FP registers and constants. - (SECONDARY_INPUT_RELOAD_CLASS): We need a scratch register to copy - an integer constant to a floating-point register. - * i860.md (addsi3, subsi3): Allow use of floating registers. +Wed Nov 18 13:50:43 1992 Michael Meissner (meissner@osf.org) -Thu Jan 23 13:33:40 1992 Richard Stallman (rms@mole.gnu.ai.mit.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. - * i386v4.h (CPP_PREDEFINES): Don't define X86. +Wed Nov 18 09:58:50 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * c-lex.c (readescape): Warn for \a and \x if warn_traditional. - Handle \v as vertical tab regardless of -traditional. + * a29k.md (insv): Remove constraints from operand matching + const_0_operand. - * fixincludes, fixinc.svr4: Make LIB absolute, near the beginning. + * regclass.c (regclass): Add missing cast from enum to int. - * fixincludes: Simplify egrep command while matching the same lines - (plus occasional additional lines). +Wed Nov 18 09:40:01 1992 John Hassey (hassey@dg-rtp.dg.com) - * function.c (fixup_memory_subreg): New arg UNCRITICAL. Calls changed. + * core.c (initialize_class): The class may not have an initialize + method. - * gcc.c (process_command): Handle LPATH like LIBRARY_PATH. +Wed Nov 18 09:40:01 1992 Wilson Tien (wtien@urbana.mcd.mot.com) - * svr3.h (ASM_LONG): Deleted. + * xm-m68kv.h (rindex, index): use strrchr and strchr instead. - * gvarargs.h: Ignore _VA_LIST_ if _ANSI_H_; - don't define _VA_LIST_ if already defined. +Wed Nov 18 01:27:37 1992 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) -Thu Jan 23 09:10:52 1992 Tom Wood (wood at dg-rtp.dg.com) + * config.sub: Added Xenix operating system. - * m88kluna.h (includes): Include aoutos.h. +Tue Nov 17 18:32:01 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Jan 23 09:10:52 1992 Ron Guilmette (rfg at ncd.com) + * reload.c (combine_reloads): Don't combine with a reload needed + for multiple things. - * va-i860.h (__savereg): Fix typo. +Mon Nov 16 08:52:52 1992 Jeffrey A. Law (law@mole.gnu.ai.mit.edu) - * i860.h (PREDICATE_CODES): Added definition. + * 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. - * i386v4.h (ASM_FILE_START): Definition added which generates - .version directive. +Thu Nov 12 21:02:59 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) -Wed Jan 22 23:15:45 1992 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil) + Cygnus<-->FSF merge. - * make-cc1.com: Predefine symbols for "rename" and "bison"; always - generate c-parse.h when generating c-parse.c. + Thu Nov 12 15:02:53 1992 Brendan Kehoe (brendan@cygnus.com) -Wed Jan 22 20:01:11 1992 Per Bothner (bothner at cygnus.com) + * 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. - * sdbout.c (sdbout_record_type_name): Use typedef names - for C++. (A kludge.) - * sdbout.c (sdbout_one_type): Emit base classes as - dummy fields, just like dbxout.c when not using gdb extensions. + * cp-decl.c (finish_decl): Don't try to use TYPE if it's an + error_mark_node. -Wed Jan 22 20:01:11 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.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. - * fixincludes: Surround uses of ${INPUT} with "" instead of '' - so that it will get expanded. + * 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. - * gcc.c (default_compilers): For c++, define __GNUG__ to 2, and - pass -trigraphs. + Wed Nov 11 22:14:51 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * cccp.1, cpp.1, gcc.1, g++.1: Delete more RCS variables. + * tree.h (perm_calloc): Add decl. + * cp-parse.y (except_stmts): Declare return type of get_insns, + since we don't (can't) include rtl.h. + * cp-tree.c (TYPE_HASH): Use HOST_WIDE_INT instead of int when + casting pointers to integers. + (ld_cmp): Likewise. + * cp-call.c (build_method_call): Likewise. + * cp-class.c (finish_struct_methods): Likewise. + * cp-method.c (build_overload_value): Add decl of index. + (build_opfncall): Cast to HOST_WIDE_INT, not int. + * cp-search.c (get_binfo): Likewise. + (get_base_distance): Likewise. + (breadth_first_search): Likewise. Also declare to return + HOST_WIDE_INT, not int. -Wed Jan 22 19:02:06 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + Wed Nov 11 14:34:25 1992 Mike Stump (mrs@rtl.cygnus.com) - * combine.c (simplify_shift_const, case ASHIFT): If we will - be suppressing a sign extension because the upper bits are - already the same, verify that the operand is in the same - mode as we will be doing the shift; don't ignore a SUBREG - inside the inner SHIFT. + Thu Nov 5 15:58:38 1992 Tim Moore (moore at defmacro.cs.utah.edu) -Wed Jan 22 09:25:07 1992 Tom Wood (wood at dg-rtp.dg.com) + * cp-decl.c (duplicate_decls): Round to obstack alignment when + testing if newdecl is at the top of the permanent obstack. - * c-typeck.c (comp_target_types): Make decl static. - Don't forget to return the value. - (function_types_compatible_p, comptypes): Initialize `val'. + Wed Nov 11 13:56:18 1992 Mike Stump (mrs@rtl.cygnus.com) -Tue Jan 21 13:29:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-search.c (build_vbase_vtables_init): Make sure external virtual + tables are declared on machines that need the declaration by calling + assemble_external. - * cross-make (ALL): Override with definition it here. - * configure: Don't edit its value explicitly here. + Wed Nov 11 12:51:44 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * crtstuff.c (__do_global_ctors): Include DO_GLOBAL_CTORS_BODY - in crtend.o, not in crtbegin.o. + * 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. - * svr3.h: Prepare to use with i386. - (PCC_BITFIELD_TYPE_MATTERS): Definition deleted. - This pertains to the individual cpu types. - (ASM_SHORT, ASM_LONG, ASM_DOUBLE): Likewise. - (DBX_DEBUGGING_INFO): Undef this. - (DBX_REGISTER_NUMBER): Deleted the #undef. - (STARTFILE_SPEC, LINK_SPEC, LIB_SPEC): Deleted. - * i860v3.h (STARTFILE_SPEC, LINK_SPEC, LIB_SPEC): New definitions. + 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. - * att386.h: Coexist with svr3.h. - (ASM_FILE_START): Deleted. - (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise. - (ASM_BYTE_OP, NO_DOLLAR_IN_LABEL): Likewise. - (ASM_OUTPUT_LABELREF): Undef before defining. - (ASM_FILE_START_1): Undef before defining. - (EXTRA_SECTION_FUNCTIONS): Deleted. - (BSS_SECTION_FUNCTION): New macro; defines bss_section. + Tue Nov 10 13:23:30 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * i386v.h, aix386.h: Include svr3.h. - (SCCS_DIRECTIVE, ASM_OUTPUT_IDENT): Deleted. - (TARGET_MEM_FUNCTIONS): Deleted. - (SDB_DEBUGGING_INFO, DBX_DEBUGGING_INFO): Deleted. + * cp-typeck.c (build_x_function_call): If the type of FUNCTION is an + error_mark, don't bother checking its lang-specific info. - * Support constructors and destructors on svr3. From james@bigtex. - * i386v.h, aix386.h (STARTFILE_SPEC): Use crtbegin.o after crt1.o. - (LIB_SPEC): Use crtend.o before crtn.o. - (CTORS_SECTION_ASM_OP, ASM_OUTPUT_CONSTRUCTOR): New macros. - (INIT_SECTION_ASM_OP): Likewise. - * svr3.h (DTORS_SECTION_ASM_OP): New macros. - (DO_GLOBAL_CTORS_BODY): New macro. - (EXTRA_SECTIONS,EXTRA_SECTION_FUNCTIONS): Use .init and .fini - sections in addition to .bss. - ({INIT,FINI}_SECTION_FUNCTION): New macros for *_section functions. - ({CTORS,DTORS}_SECTION_FUNCTION): Macros deleted. - (ASM_OUTPUT_CONSTRUCTOR): Deleted. - (ASM_OUTPUT_DESTRUCTOR): Use ASM_LONG. - (INT_ASM_OP): Deleted. + Tue Nov 10 12:38:36 1992 Mike Stump (mrs@rtl.cygnus.com) - * c-typeck.c (default_conversion): Don't use initial value if BLKmode. - If do use the initial value, update `type'. + * cp-decl.c (decls_match): Avoid core dumping when TREE_TYPE is + NULL_TREE, as is the case when olddecl is a TEMPLATE_DECL. - * arm.h (STRUCTURE_SIZE_BOUNDARY): New definition. + 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) - * stor-layout.c (layout_type): Ignore MAX_FIXED_MODE_SIZE for integers. + * cp-parse.y (try_for_typename): Deleted rule. + (scoped_id): Don't use it. - * ultrix.h (SIZE_TYPE): Use `unsigned int'. - * Makefile.in (install-common): Add missing -f in rm. - (install-fixincludes): Install the README file. + Fri Nov 6 18:07:37 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * fixincludes: Don't match on size_t, etc., since we don't actually - change them. + * cp-init.c (expand_aggr_init): If INIT is 0, don't bother trying to + play with its type. -Mon Jan 20 23:22:45 1992 Michael Tiemann (tiemann at cygnus.com) + Thu Nov 5 16:52:37 1992 Chip Salzenberg (chip@tct.com) - * cp-call.c (ideal_candidate): Don't see two functions as ambiguous - if one is argument-by-argument equivalent or better than another. + * cp-decl.c (finish_decl): Set TREE_STATIC, TREE_PUBLIC and + DECL_EXTERNAL correctly for use with #pragma interface. -Mon Jan 20 14:08:06 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + Fri Nov 6 10:07:01 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * toplev.c (strip_off_ending): Add ".ada". + * cp-class.c (finish_struct): Don't try to work with a field that + got a bogus type. -Mon Jan 20 13:53:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-method.c (build_overload_value): Don't call debug_tree! - * protoize.c (xfree): No longer static. + * 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. - * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Allow tm.h to override. + * cp-decl.c (grokdeclarator): If initializing a const member and + acting pedantic, then do make it an error. - * final.c (leaf_renumber_regs_insn): Do just the pattern of an insn. + * 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. - * pyr.h (PCC_BITFIELD_TYPE_MATTERS): Defined. - (STRUCTURE_SIZE_BOUNDARY): Deleted. + * 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. - * mips.c: Clean up spacing around square brackets. + Thu Nov 5 17:53:32 1992 Brendan Kehoe (brendan@cygnus.com) - * c-typeck.c (convert_arguments): - Get rid of feature to convert to a tagless union type. - (common_type): Add pedantic warning. - (comptypes, function_types_compatible_p): Return 2 meaning warn. - (comp_target_types): Do the warning here. - (type_lists_compatible_p): New function. + * cp-decl.c (grokdeclarator): Constant class members can be + initialized. -Sun Jan 19 17:32:19 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + Thu Nov 5 17:11:30 1992 Mike Stump (mrs@cygnus.com) - * reload1.c (emit_reload_insns): Fix typos when checking for secondary - icode. + Thu Nov 5 19:48:17 1992 Niklas Hallqvist (niklas@appli.se) -Sun Jan 19 15:28:53 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. - * global-alloc.c (global_alloc): If LEAF_REGISTERS, those are the - regs that cost nothing to save, for setting regs_already_used. + Thu Nov 5 13:02:56 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * expr.c (expand_builtin): Preserve function value reg - around the call to __builtin_saveregs. + * cp-decl.c (grokdeclarator): Don't allow members to be initialized + in the class declaration. - * configure (mips-sgi-irix4*, mips-sgi-irix*): Set install_with_cp. + * 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. - * c-decl.c (start_function): - Check properly for `static' function in handling -Wmissing-prototypes. + * cp-call.c (find_scoped_type): New function. + (resolve_scope_to_name): Use it to check for names that might be in + base classes. - * libgcc2.c (__main): Omit this fn if INIT_SECTION_ASM_OP. + Wed Nov 4 00:43:15 1992 Brendan Kehoe (brendan@lisa.cygnus.com) -Sun Jan 19 13:23:13 1992 Fred Fish (fnf at sunfish) + * 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. - * amix.h (ASM_OUTPUT_ASCII): Override version in svr4.h. + * cp-typeck.c (build_c_cast): Warn if casting between a pointer and + an integer whose sizes differ. -Sun Jan 19 13:16:56 1992 Michael Tiemann (tiemann at 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. - * cp-search.c (lookup_field): Accept IS_AGGR_TYPE_CODE, not - just == RECORD_TYPE. + Tue Nov 3 02:16:47 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-class.c (finish_struct): Clear a tentative setting of - DECL_BIT_FIELD. + * cp-typeck.c (c_expand_return): Avoid referencing DECL_NAME if it's + null when checking for a ref to or the addr of a local variable. - * cp-decl.c (start_decl): Don't call `pushclass' for incomplete - CONTEXT. + * cp-search.c (dfs_pushdecls): Don't try to use the context of a + field which has none at the time. - * cp-typeck.c (comp_target_types): Call `comp_target_parms' with - STRICT == 0, not -1. - (build_conditional_expr): Check that the target types of TYPE1 and - TYPE2 are aggr type before calling `common_base_type'. + * 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. -Sun Jan 19 04:10:16 1992 James Van Artsdalen (james at bigtex.cactus.org) + Tue Nov 3 00:15:44 1992 Brendan Kehoe (brendan@cygnus.com) - * configure: Fix typo inserting INSTALL=cp into makefile. + * 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. -Sat Jan 18 12:06:58 1992 Michael Tiemann (tiemann at cygnus.com) + * cp-lex.c (readescape): New arg ignore_ptr. + (real_yylex): Pass new arg, handle result that comes back. - * cp-lex.c (build_with_cleanup): Delete obsolete function. - * cp-tree.c (break_out_cleanups): New function. - * cp-decl.c (cplus_expand_expr): Call `break_out_cleanups'. - * cp-typeck.c (build_compound_expr): Ditto. + * cp-decl.c (WCHAR_TYPE_SIZE): Deleted; never used. - * cp-call.c (convert_harshness): Make any inheritance relationship - preferable to a void* conversion. - * cp-tree.h (CLASSTYPE_MAX_DEPTH): New macro. - * cp-class.c (finish_struct_bits): Set CLASSTYPE_MAX_DEPTH. + Mon Nov 2 10:23:52 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-cvt.c (build_up_reference): Don't return in ARRAY_REF case, - since we may need to adjust the return value for complex - inheritance. + * cp-lex.c (real_yylex): Let skip_white_space handle \r. - * cp-decl2.c (lang_f_options): Add recognizers for -f{no-}builtin, - -f{no-}ident, and -ansi. Also, remove unnecessary "no-*" forms. + * cp-parse.y (parmlist): Warn on a decl `foo (...)', without a first + argument. - * cp-init.c (emit_base_init): If PEDANTIC, don't let base - initializers leak up the hierarchy. + * cp-type2.c (build_functional_cast): If expr_as_ctor's argument is + a SAVE_EXPR, don't wipe out the argument. - * cp-parse.y (structsp): Disable gratuitous error message. + * cp-call.c (build_method_call): Only complain about not having an + object for a called method if the method is non-static. - * cp-call.c (convert_harshness): Don't overlook PENALTY when - signed/unsigned differences are noted (in both POINTER_TYPE and - REFERENCE_TYPE cases). + Sun Nov 1 16:50:14 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * toplev.c (strip_off_ending): Grok ".ii" endings (C++ preprocessed - files). + * 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 (build_component_ref): Add special handler when - COMPONENT is the CLASSTYPE_VFIELD name for BASETYPE. + * cp-typeck.c (common_type): If either type is nonsense (an + error_mark), use the other type. -Sat Jan 18 08:29:58 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + Thu Oct 29 18:39:50 1992 Mike Stump (mrs@cygnus.com) - * cse.c (cse_insn): Don't make constant pool entries in MODE_CC modes. + * 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. -Sat Jan 18 00:28:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Thu Oct 29 17:30:12 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * Makefile.in (install-common): Fix typo installing gcc. - - * crds.h, isi.h, newpbb.h, tti68k.h: Add #error because -m68000 - will cause a crash (I think), to ask people what to do. + * 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. - * gmicro.h (ASM_FILE_START): Don't do anything. - (TARGET_DEFAULT): Turn on the bitfield flag. - (TARGET_SWITCHES): Get rid of the bitfield options. + * Makefile.in (stamp-cp-parse): There are now only 29 shift/reduce + conflicts, because of the removed wrapper stuff. - * c-lex.c (readescape): No warning for \?. + * 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. - * protoize.c (munge_compile_params): Fix cast that sets compile_params. - (xmalloc, xrealloc): No longer static. - * Makefile.in (protoize, unprotoize): Add LIBDEPS as deps. + * 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. - * va-i860.h (va_arg): Use __extension__ to suppress pedantic warning. - * va-sparc.h, va-spur.h, va-pyr.h: 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. - * x-irix4.h: New file. - * config.sub: Don't convert irix to sysv. - * configure (mips-sgi-irix4*): New configuration. - (mips-sgi-irix*): Renamed from mips-sgi-sysv*. + Wed Oct 28 15:38:44 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * gcc.c (process_command): - Handle the standard_exec_prefix* before the md_*_prefix. + * 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. - * i386.h, ns32k.h (PCC_BITFIELD_TYPE_MATTERS): Defined. + Tue Oct 27 17:38:18 1992 Mike Stump (mrs@cygnus.com) - * Makefile.in (libgcc1.null): Depend on GCC_PASSES. + * 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. - * cccp.c (lookup_import, add_import): VMS kludges so they compile. - (hack_vms_include_specification): Add forward declaration. + Tue Oct 27 16:21:41 1992 Mike Stump (mrs@cygnus.com) - * stor-layout.c (layout_record): Handle BITFIELD_NBYTES_LIMITED - just like one of the things done for PCC_BITFIELD_TYPE_MATTERS. + * cp-tree.h (THIS_NAME_P): Fix to reflect September 1 change in + THIS_NAME. - * x-next, x-i386mach: Deleted. - * t-libc-ok: New file. Define just LIBGCC1. - * configure (i386-*-mach, m68k-next-*): Use t-libc-ok. + Tue Oct 27 12:35:59 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * t-svr4 (FIXINCLUDES): Defined. - * t-m88kv4 (FIXINCLUDES): Defined. - * t-svr3 (EXTRA_PARTS): Defined. - * t-i386sco (EXTRA_PARTS): Defined. + * 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. - * configure (sparc-*-sysv4*): New alternative. + * cp-decl.c (grokdeclarator): Only call do_friend on a friend if + decl's non-zero. - * configure (install_with_cp): New flag an alternative can set. - If host sets it, add INSTALL=cp to Makefile. - Set this for any system V, and for m68k-crds-unos. + Tue Oct 27 09:31:08 1992 Mike Stump (mrs@cygnus.com) -Sat Jan 18 23:15:08 1992 Ron Guilmette (rfg at ncd.com) + * cp-lex.c (do_identifier): Add missing fourth argument to + lookup_field. - * va-i860.h (va_list): Made __reg_base field type long* to avoid - compilation errors. - (__savereg): Add explicit cast to (__va_saved_regs *). + Mon Oct 26 15:15:39 1992 Mike Stump (mrs@cygnus.com) -Fri Jan 17 15:09:34 1992 James Van Artsdalen (james at bigtex.cactus.org) + * cp-cvt.c (convert_to_reference): Check for ambiguities + between constructor and conversion operators a bit harder. - * i386.h (FUNCTION_BOUNDARY): Do larger alignments for i486. - (ASM_OUTPUT_ALIGN_CODE): Same here. - (ASM_OUTPUT_LOOP_ALIGN): But not here - do word aligns as before. + Sat Oct 24 19:34:39 1992 Brendan Kehoe (brendan@cygnus.com) - (enum reg_class): Delete classes ADREG and BREG - neither used nor - useful. Add classes FP_TOP_REG and FP_SECOND_REG. - (REG_CLASS_NAMES): Likewise. - (REG_CLASS_CONTENTS): Likewise. - (REGNO_REG_CLASS): Reflect that change. - (REG_CLASS_FROM_LETTER): Likewise. Add "t" and "u" constraints. - (CLASS_MAX_NREGS): New classes use only 1 hard reg for any mode. + Mon Sep 14 14:36:53 1992 Chip Salzenberg (chip@tct.com) - (CONST_OK_LETTER_P): Document uses of letters. + 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. - * reg-stack.c: Add comments describing rules for asm statements - involving stack-like regs. - (asm_regs): Delete unused variable. - (fatal_for_asm): Delete unused function. + Fri Oct 23 18:52:19 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - (get_asm_operand_lengths): New function. - (constrain_asm_operands): New function. Like constrain_operands, - but records some information about the matched alternative. + * cp-decl.c (poplevel): Use error_with_decl on an unused label, so + its line number comes out correct. - (record_asm_reg_life): New function. - (record_reg_life): If INSN is an asm statement, decode operands - and pass to record_asm_reg_life. - (record_reg_life_pat): Abort if any asm is seen here. + Thu Oct 22 18:31:50 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - (subst_asm_stack_regs): New function. - (subst_stack_regs): If INSN is an asm statement, decode operands - and pass to subst_asm_stack_regs. When handling REG_UNUSED notes, - emit the pops in the right order. + * cp-parse.y (operator_name): If a type conversion operator is + defined at the top level, don't crash, complain. - (change_stack): New argument to insert any new insns before INSN - instead of after. All callers changed. + Thu Oct 22 17:41:13 1992 Mike Stump (mrs@cygnus.com) - (emit_swap_insn): Abort if the reg is not found in REGSTACK. + * 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. - * Makefile.in (reg-stack.o): Depends on insn-config.h. + Thu Oct 22 13:15:57 1992 Mike Stump (mrs@cygnus.com) -Fri Jan 17 16:38:32 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. - * toplev.c, flags.h (in_system_header): Declare here. - * c-lex.c, cp-lex.c (in_system_header): Not here. - * toplev.c (rest_of_compilation): Don't warn of unused static function - if definition is in a system header. + Wed Oct 21 19:31:36 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - * gcc.c (do_spec_1): Add missing arg in recursive call. - (link_command_spec): Don't pass -s, -S, -u*, -X, -Y*. + * cp-call.c (build_method_call): Initialize b_or_d to 0. -Fri Jan 17 12:51:28 1992 Jim Wilson (wilson at cygnus.com) + * cp-typeck.c (compparms): Delete dead code for returning if either + TREE_PURPOSE is true when t1 and t2 are both 0. - From Tiemann: - * rtlanal.c (reg_set_between_p): Call `reg_set_p' with INSN, not the - body of INSN so that CALL_INSNs are properly handled. - * explow.c (find_next_ref): Ditto. + * cp-parse.y (object): Only pass one argument into build_x_arrow. - * hp800.h, hp800.md: Delete RCS Header variables. + * cp-parse.y (unary_expr): Add code to parse `&&label'. + (stmt): Expand computed gotos. - * reg-stack.c (replace_reg): Change `abort' to `abort ()'. + * cp-method.c (fndecl_as_string): Say it's static before giving its + type, it looks better (and matches how you'd declare it). -Fri Jan 17 14:30:14 1992 Michael Meissner (meissner at osf.org) + Wed Oct 21 16:22:43 1992 Mike Stump (mrs@cygnus.com) - * caller-save.c (insert_save_restore): Don't pass a CODE_LABEL to - reg_mentioned_p when the machine has a condition code, since - CODE_LABEL's don't have the same format as normal INSN's do. + * 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. -Fri Jan 17 13:24:33 1992 Tom Wood (wood at dg-rtp.dg.com) + Wed Oct 21 11:40:35 1992 Mike Stump (mrs@cygnus.com) - * Makefile.in (unprotoize.o): Use the rm -f option. + * cp-call.c (build_method_call): Avoid an abort on parse errors by + changing an assert into a conditional my_friendly_abort. - * cp-lex.c (check_newline): Define `used_up' as in c-lex.c. - (in_system_header): Define as in c-lex.c. + Tue Oct 20 16:52:32 1992 Mike Stump (mrs@cygnus.com) -Fri Jan 17 08:14:04 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * 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. - * reorg.c (delete_from_delay_slot): Pass correct length to - emit_delay_sequence. + Tue Oct 20 11:29:50 1992 Mike Stump (mrs@cygnus.com) - * genattrtab.c (substitute_address): Handle IF_THEN_ELSE in addition - to COND. + Wed Oct 7 16:01:55 1992 Chip Salzenberg (chip@tct.com) - * expr.c (expand_builtin, case BUILT_IN_STRLEN): Correct args in - expand_expr call. + [ changes propagated from 921005 snapshot ] + * cp-lex.c (readescape): No warning if digits in \x are all 0's. -Fri Jan 17 17:33:40 1992 James Van Artsdalen (james@raid) + Fri Oct 9 15:18:19 1992 Brendan Kehoe (brendan@cygnus.com) - * x-i386v4 (CCLIBFLAGS): Delete macro. - (GCC-CFLAGS): Delete macro. Prevented Makefile.in from working. + * cp-decl.c (duplicate_decls): Only find out if olddecl is a + friend after we know it's not a TREE_LIST. -Thu Jan 16 17:03:27 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + Wed Oct 7 16:04:34 1992 Mike Stump (mrs@cygnus.com) - * Makefile.in (cleanconfig): Also delete tconfig.h. + Wed Oct 7 12:26:07 PDT 1992 Ron Guilmette (rfg at netcom.com) - * varasm.c (assemble_external): Only call ASM_OUTPUT_EXTERNAL once - for each symbol. - (assemble_external_libcall): Fix minor typo in spacing. + * cp-lex.c (readescape): Permit \? as an escape sequence. - * toplev.c (main): Force error if invalid -W option is used. + Tue Oct 6 17:54:09 1992 Mike Stump (mrs@cygnus.com) -Thu Jan 16 13:35:13 1992 Tom Wood (wood at dg-rtp.dg.com) + Major MI revamp. - * m88kdgux.h (CPP_PREDEFINES): Added __CLASSIFY_TYPE__ back and - noted when it would be useful. + * 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 (ASM_FILE_END, ASM_OUTPUT_ASCII): Override svr4.h. + * cp-search.c (convert_pointer_to_single_level): Added so that one + can convert pointer unambiguously to an immediate base class + pointer. -Thu Jan 16 12:37:16 1992 Richard Stallman (rms at mole.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. - * svr4.h (SVR4): Add this back. + * 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. - * cccp.c (lookup_import): Use bcmp to compare inodes. + Tue Oct 6 14:51:13 1992 Brendan Kehoe (brendan@rtl.cygnus.com) - * cccp.c (main): Handle -idirafter option. + * 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. - * m68kv4.h, m88kv4.h, i386v4.h, sparcv4.h, i860v4.h (CPP_PREDEFINES): - Add __svr4__ in case user programs want to distinguish. + Mon Oct 5 15:47:35 1992 Brendan Kehoe (brendan@rtl.cygnus.com) - * cp-lex.c (check_newline): Changes like Jan 12 changes in c-lex.c. + Implement protected baseclasses. + * cp-class.c (finish_base_struct): Set TREE_VIA_PROTECTED. + (finish_struct_methods): Check for either public or protected + members to kick out of the "all members are private" test. + * cp-decl.c (xref_tag): Set TREE_VIA_PROTECTED appropriately. + * cp-parse.y (base_class_visibility_list): Remove code about + `protected' visibility not being implemented. + * cp-pt.c (tsubst): Set via_protected and call hash_tree_cons + with it as necessary. + * cp-search.c (compute_visibility): Set visibility if protected. + Return the appropriate visibility when resolving a field. + (lookup_field): Set TREE_VIA_PROTECTED for btypes from its child. + When complaining about a member being protected, differentiate when + it's from a protected base class (could be a public member in the + base). + (lookup_fnfields): Set TREE_VIA_PROTECTED. + (get_baselinks): Pass TREE_VIA_PROTECTED into hash_tree_cons. + Also pass a 0 when necessary. + * cp-tree.c (propagate_binfo_offsets): Set TREE_VIA_PROTECTED. + (layout_vbasetypes): Ditto. + (layout_basetypes): Ditto. + (list_hash_lookup): Check TREE_VIA_PROTECTED when looking at an + incomplete basetype. + (hash_tree_cons): New argument `via_protected'. Set TREE_VIA_PROTECTED + when necessary. + (list_hash_lookup_or_cons): Check TREE_VIA_PROTECTED when making + sure a hash list is sane. + (make_binfo): Set TREE_VIA_PROTECTED for the new child. - * Makefile.in (install-fixincludes): Renamed from `includes'. - Move comments so some shells are happier. Dep. on install-headers. + Mon Oct 5 13:27:44 1992 Mike Stump (mrs@cygnus.com) - * m88kdgux.h (CPP_PREDEFINES): Add __svr4__. Remove __CLASSIFY_TYPE__. - Add some assertions. + * cp-init.c (maybe_adjust_addr_for_delete): Make sure we don't + evaluate the addr twice if it has side effects. - * c-decl.c (init_decl_processing): Don't give arg type for abort, etc. - Always declare strlen, etc., so -O doesn't alter the warnings. - * expr.c (expand_builtin): Open-code str* or mem* or ffs if -O. + Mon Oct 5 13:05:37 1992 Mike Stump (mrs@cygnus.com) - * c-decl.c (start_function): Fix backwards test for -W* options. + * cp-init.c (build_vec_delete): Make sure we don't evaluate the base + expression twice if it has side effects. - * protoize.c (GUESSPATHLEN): Treat POSIX like USG--and use just 200. + Mon Oct 5 12:38:35 1992 Brendan Kehoe (brendan@rtl.cygnus.com) - * cccp.c (deps_output): Break line iff string is empty. - (do_include): Fix up the deps_output calls. + * 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. - * vax.c (print_operand_address): Handle form index + (reg+offset). + Mon Oct 5 12:34:32 1992 Mike Stump (mrs@cygnus.com) - * m88k.h (TARGET_VERSION): Don't use __DATE__. + * 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++. - * gcc.c (default_compilers): Typos in c++-cpp-output case. + Mon Oct 5 11:43:09 1992 Mike Stump (mrs@cygnus.com) -Thu Jan 16 12:25:51 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + Mon Sep 14 16:39:10 1992 Chip Salzenberg (chip@tct.com) - * loop.c (get_condition): In HAVE_cc0 code, generate a zero with - CONST0_RTX instead of just using const0_rtx. + * 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 (cse_isnsn): A CALL_INSN clobbers all fixed regs except - for ap, fp, and sp. + Fri Oct 2 13:21:40 1992 Ken Raeburn (raeburn@kyriath.cygnus.com) -Thu Jan 16 08:03:40 1992 Tom Wood (wood at dg-rtp.dg.com) - - * c-decl.c (finish_enum): Compute the precision properly if the - maximum value is negative. + * cp-decl.c (start_function): Reinstate error check for missing + semicolon erroneously removed. -Thu Jan 16 07:40:29 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Thu Nov 12 17:37:23 1992 Michael Meissner (meissner@osf.org) - * reorg.c (try_merge_delay_insns, fill_slots_from_thread): Have - update_block put the phantom insn before THREAD. - (update_block): Update block status if WHERE, not INSN, is block head. - -Thu Jan 16 00:28:14 1992 Ron Guilmette (rfg ay ncd.com) - - * i860.c (output_fp_move_double): Fixed typo. - - * protoize.c (GUESSPATHLEN, pointer_type, const_pointer_type): - moved definitions declarations out of conditional region. - (string_list_cons, shortpath, munge_compile_params): Added casts. - (find_extern_def): Fixed string literal to avoid trigraph. - (find_rightmost_formals_list): Fixed to avoid unreached code warnings. - - * svr4.h (ASM_OUTPUT_ASCII): Fixed typo. - -Wed Jan 15 21:58:01 1992 Jeffrey A Law (law at b117b.super.org) - - * sparc.h (SELECT_RTX_SECTION): When generating PIC, place symbolic - operands in the data section. - -Wed Jan 15 21:45:09 1992 Michael Meissner (meissner at osf.org) - - * collect2.c (main): Pass any -b, -B, -m, -f, and - -V options to gcc instead of the linker, in order to allow - target switches that affect the size of pointers and search paths to - be passed through. - (main, choose_temp_base): Use TMPDIR environment variable, and the - P_tmpdir macro if defined to locate directory to put temp files. - (whole file): Reorganize so that all of the OSF/rose stuff goes at - the end of the file, rather than being scattered throughout. - (main, scan_prog_file): Invoke scan_prog_file twice, once on each - output of ld. - (scan_prog_file, read_file, write_file): On the second invocation, - rewrite the object file in place, adding a load command to put - __main in the list of initializer functions. This allows users - to put constructors and destructors into shared libraries. - (scan_prog_file): Move debug stuff and error routines to separate - functions. + * 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. -Wed Jan 15 17:59:02 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Thu Nov 12 07:30:17 1992 James Van Artsdalen (james at bigtex.cactus.org) - * combine.c (can_combine_p): Don't combine if DEST is still a field - assignment after we've tried to expand it. + * i386.h (HARD_REGNO_MODE_OK): Restrict MODE_INT from FP regs only. -Wed Jan 15 16:01:13 1992 James Van Artsdalen (james at bigtex.cactus.org) + * 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. - * regclass.c (fix_register): Don't match a null register name. - * varasm.c (decode_reg_name): Likewise. + * i386.c (float_op): Delete - no longer used. - * i386.h (HI_REGISTER_NAMES): Give the eliminable arg pointer a - null name. +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. -Wed Jan 15 13:40:50 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) + * romp.md (reload_outdi): Write as proper PARALLEL. - * gcc.c (default_compilers): Pass -lang-asm, not -lang-asmc, to cpp. +Wed Nov 11 01:06:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * gcc.c (process_command): Don't dump md_exec_prefix in specs. - Use the md_... prefixes only if no -b. + * toplev.c (lang_options): Change +e... to -+e... -Wed Jan 15 13:35:09 1992 Ron Guilmette (rfg at ncd.com) + * xm-tower.h: Include xm-svr3.h. + (bcopy, bzero, bcmp, USG): Macros deleted. - * i386v4.h (RETURN_IN_MEMORY): Definition added. - (CPP_PREDEFINES): Added -DX86 (needed for some system headers). - (ASM_OUTPUT_DWARF_STRING): Deleted. - (ASM_OUTPUT_ASCII): Added specialized definition for i386/svr4. +Tue Nov 10 12:26:23 1992 Steve Chamberlain (sac@cygnus.com) - * svr4.h (SVR4): Deleted useless define. - (ASM_FILE_END): Added definition. - (ESCAPES, STRING_LIMIT, STRING_ASM_OP, ASM_OUTPUT_LIMITED_STRING): - (ASM_OUTPUT_ASCII): Generic svr4 definitions added. + * sdbout.c (plain_type_1): Handle LONG_TYPE_SIZE like INT_TYPE_SIZE. - * m68kv4.h (CPP_PREDEFINES): Don't define SVR4. - * sparcv4.h (CPP_PREDEFINES): Don't define SVR4. - (ASM_OUTPUT_ASCII): Deleted obsolete definition. +Tue Nov 10 14:20:27 1992 Michael Meissner (meissner@osf.org) - * xm-svr4.h (SVR4): Removed useless definition. - (POSIX): Added definition for protoize.c. + * mips.md (ffssi2): Add =& constraints to the two match_scratch + clobbered registers. Fix from John F Carr. - * i860b.h (ASCII_DATA_ASM_OP, ASM_OUTPUT_ASCII): Moved from i860.h. - * i860v3.h (ASCII_DATA_ASM_OP): Added OS-specific definition. - * i860v4.h (ASCII_DATA_ASM_OP, ASM_OUTPUT_ASCII): - Deleted (now in svr4.h). + * mips-tdump.c (toplevel): Move #undef index and rindex before + including sym.h. - * fixinc.svr4: Replaced all occurances of {1,\} in sed command - string with functional equivalents (to avoid bogus results). +Tue Nov 10 10:37:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-lex.c (readescape): Pass thru escaped x, a, and v if -traditional. - (readescape): Pedantic warning for \?, \(, \{, and \[. + * Makefile.in (install-common): Delete deps $(srcdir)/g++ $(srcdir)/c++ - * dwarfout.c: Updated copyright. - (fundamental_type_code): Abort for all non-fundamental types. - (type_is_fundamental): Return 0 for all non-fundamental types. - (containing_type_attribute, output_ptr_to_mbr_type_die): New functions. - (output_pointer_type_die, output_reference_type_die): Added calls to - equate_type_number_to_die_number. - (output_type): Handle OFFSET_TYPE correctly. - (output_type): Ignore LANG_TYPE (for now). + * expr.c (init_expr_once): Try indexing mem by fp as well as sp. -Wed Jan 15 09:30:08 1992 Michael Tiemann (tiemann at cygnus.com) +Tue Nov 10 10:28:59 1992 Chris Smith (csmith@convex.com) - * All cp-* files: Remove calls to `cleanup_after_call'. + * genattrtab.c (main): Unlimit stack size. - * cp-method.c (fndecl_as_string): Add a missing space when printing - the return type. +Tue Nov 10 10:17:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-typeck.c (build_modify_expr): Treat arrays specially in both - INIT_EXPR and NOP_EXPR cases. Also, if we take the address NEWRHS - when it's not a SAVE_EXPR, build a new NEWRHS using that address. - * cp-tree.c (lvalue_p): Handle WITH_CLEANUP_EXPR case. + * print-rtl.c (print_rtx): Use sizeof spaces - 1 to get the length + of the spaces string. - * cp-decl.c (grokvardecl): Don't get tripped up by static class - members of incomplete type. +Tue Nov 10 09:56:32 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) -Wed Jan 15 09:12:51 1992 Jeffrey A. Law (law at wombat.gnu.ai.mit.edu) + * pa-hpux.h (LINK_SPEC): Disable linking against shared libraries. + * pa-ghpux.h (LINK_SPEC): Likewise. - * m68k.c (legitimize_pic_address): Re-enable code which was - mistakenly #ifdef'd out. +Tue Nov 10 08:39:01 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) -Wed Jan 15 08:12:18 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * elxsi.h (GO_IF_LEGITIMATE_ADDRESS): Verify that register is valid + for use as base register (un-allocated pseudos aren't when strict). - * reload.c (find_reloads): Check for insn not recognized. +Mon Nov 9 22:17:23 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * caller-save.c (reg_{save,restore}_code): New variables. - (init_caller_save): Set them. - (insert_save_restore): Just make SET for pattern of insn and set - code from reg_{save,restore}_code. - (save_call_clobbered_regs): Put restore insns before JUMP_INSN that - ends basic block, but after any other insn that ends the block. + * xm-3b1.h (index, rindex): Define as macros. - * sdbout.c (sdbout_symbol): Treat (mem (reg SP)) the same - as (mem (reg FP)). + * i386bsd.h: Complete rewrite. - * reorg.c (mark_referenced_resources): Fix typo in last change. - (emit_delay_sequences): Update chain correctly when previous or - next insn is also a SEQUENCE. +Mon Nov 9 14:22:38 1992 Michael Meissner (meissner@osf.org) -Wed Jan 15 08:10:29 1992 Chris Smith (cks at bach.convex.com) + * mips.h, decrose.h: Move LINK_LIBGCC_SPECIAL to decrose.h. - * t-convex: Use collect2 to link. - * convex.h: remove assembly output defines for old collect2. - * convex.h: define vprintf and wait macros for pcc mode boot of - collect2. +Mon Nov 9 12:39:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * convex.h (ASM_OUTPUT_DOUBLE_INT): define. + * unroll.c (final_biv_value): Make a note after loop_end + if we need to use NEXT_INSN (loop_end). - * convex.h (DEFAULT_GDB_EXTENSIONS): define as 0 until GDB version 4 - port is available. + * objc-actions.c (build_message_expr): Don't crash if super_type is 0. - * convex.c (ap_reload_needed): Fix comment. +Mon Nov 9 07:42:30 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) -Wed Jan 15 07:08:25 1992 Tom Wood (wood at dg-rtp.dg.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. - * m88k.h (CONST_SECTION_FUNCTION): Trivial definition for targets - not based on svr[34].h (m88k-luna). +Mon Nov 9 12:35:57 1992 Torbjorn Granlund (tege@jupiter.sics.se) - * m88k.h (PREDICATE_CODES): Use it. + * 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. - * m88k.md (casesi_enter): Don't use bsr.n with -fno-delayed-branch. - * m88k.h (ASM_OUTPUT_CASE_END): The lda goes here when bsr is used. +Sun Nov 8 20:38:19 1992 James Van Artsdalen (james at bigtex.cactus.org) - * m88k.c (legitimize_address): When converting a symbol_ref for - PIC, add a REG_EQUAL note. + * i386.md (movstrsi): mask move count after signed shift. -Wed Jan 15 06:22:34 1992 Michael Meissner (meissner at osf.org) +Sun Nov 8 00:24:30 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * mips.h (MIPS_VERSION): Bump Meissner version # to 8. - (fcmp_op): Add function declaration. - (TARGET_FLOAT64): Support for -mfp64 switch to support the R4000 FR - psw bit, which doubles the number of floating point registers. - (TARGET_SWITCHES): Likewise. - (HARD_REGNO_NREGS): Likewise. - (CLASS_FCMP_OP): New bit for classifing floating point compares. - (PREDICATE_CODES): Add cmp2_op and fcmp_op support. + * fixinc.svr4: Avoid use of | in sed regexp; use multiple s commands. - * mips.c (various): Move extern declarations from inside of - functions to outside all functions. - (fcmp_op): Match comparison operators for floating point. - (mips_move_2words): Add -mfp64 support. - (override_options): Likewise. - (compute_frame_size): Likewise. - (override_options): Set up for fcmp_op. - (gen_conditional_branch): Redo floating point compares/branches, so - that it is like the rest of the compiler expects -- set cc0 to a - compare operator, instead of the exact test required, and put the - smarts in the branch operators to generate both the test and the - branch. - - * mips.md (cmpdf_eq, cmpdf_lt, cmpdf_le): Delete. - (cmpsf_eq, cmpsf_lt, cmpsf_le): Delete. - (cmpdf_internal): New define insn to match FP compares. - (cmpsf_internal): Likewise. - (branch_fp_true1, branch_fp_true2): Likewise. - (branch_fp_false1, branch_fp_false2): Likewise. - (branch_fp_true, branch_fp_false): New define_insns to match the - branch part of FP compares. - -Wed Jan 15 01:42:39 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) - - * unroll.c (copy_loop_body): New parameter copy_notes_from, to - correct problem with bad debug info generated for preconditioned - loops. - (unroll_loops): Fix calls of copy_loop_body to pass new parameter. - -Wed Jan 15 01:01:39 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) - - * gcc.c (main): Don't use TARGET_VERSION. - (endfile_spec, switches_need_spaces): New vars, initted from macros. - (set_spec, process_command): Read and write those vars. - (do_spec_1, process_command): Use the new vars, not the macros. - (SWITCHES_NEED_SPACES): New default macro definition. - - * Makefile.in (install-common): Install driver as gcc-$(target). - - * gstddef.h (wchar_t): Check for _T_WCHAR. - - * stmt.c (pushcase, pushcase_range): Return 5 if jump into stack level. - * c-parse.y, objc-parse.y (stmt): Print error msg for that. - * cp-parse.y: Likewise. - -Tue Jan 14 23:25:37 1992 Ron Guilmette (rfg at ncd.com) - - * dwarfout.c: Include if USG *or* POSIX. - (TREE_UID): Deleted. - (current_funcdef_number): Replacement for TREE_UID. - (dwarfout_file_scope_decl): Increment - current_funcdef_number after each funnction definition is processed. - (pending_sibling_stack_depth): Renamed globally to pending_siblings. - (pending_sibling_stack_size): Renamed to pending_siblings_allocated. - (PENDING_SIBLING_STACK_INCREMENT): Renamed PENDING_SIBLINGS_INCREMENT. - (pending_types_list, pending_types_allocated, pending_types, - PENDING_TYPES_INCREMENT, fake_containing_scope): New vars/macros. - - * dwarfout.c (total_ft_entries): Renamed to ft_entries_allocated. - (valid_ft_entries): Renamed to ft_entries. - (FT_ENTRIES_INCREMENT): Definition added. - (lookup_filename): Expand filename table (when needed) - by adding FT_ENTRIES_INCREMENT more table elements rather than - doubling current size. - (dwarfout_init): Allocate initial filename table. - - * dwarfout.c (INSN_LABEL_FMT, FUNC_END_LABEL_FMT): Use decimal format. - - * dwarfout.c (member_attribute): Rewritten for proper C++ support. - (output_array_type_die, output_set_type_die, output_entry_point_die, - output_enumeration_type_die, output_global_subroutine_die, - output_global_variable_die, output_inline_subroutine_die, - output_local_variable_die, output_member_die, output_pointer_type_die, - output_reference_type_die, output_string_type_die, - output_structure_type_die, output_local_subroutine_die, - output_subroutine_type_die, output_typedef_die, output_union_type_die): - Added calls to member_attribute (for C++). - - * dwarfout.c (inline_attribute): Test for TREE_INLINE in here. - (output_global_subroutine_die, output_local_subroutine_die): - Don't test for TREE_INLINE here. - - * dwarfout.c (output_formal_types): Fixed to handle METHOD_TYPE - nodes and to output all related type DIEs last (for SDB). - (type_ok_for_scope, output_pending_types_for_scope, pend_type): - Functions added to support C++. - (output_type, output_decl): Added `containing_scope' - parameter to handle C++ nested types. - (output_type): Don't output the type unless it's OK - for the current DIE chain (i.e. unless it's OK for the current scope). - (output_type): Output completed non-global tagged types - right away even if not finalizing. - (output_type): Use correct method to get head of chain - of C++ function members. - (output_decl): Skip first item on chain of DECL_ARGUMENTS - for a FUNCTION_DECL whose type is a METHOD_TYPE. - Suppress output of type DIEs for formal parms of a FUNCTION_DECL - until after all TAG_parameter DIEs have been output (for SDB - compatability). - Output DIEs for any LABEL_DECL nodes attached to outermost BLOCK of - a FUNCTION_DECL. - Handle LABEL_DECL nodes. - - * dwarfout.c (dwarfout_file_scope_decl): Un-pend all pending file- - scope types after each file-scope declaration is output. - (output_decls_for_scope): Un-pend all pending local types - at end of each local scope. - -Tue Jan 14 16:40:39 1992 Tim Moore (moore at fast.cs.utah.edu) - - * calls.c (expand_call): If ARGS_GROW_DOWNWARD, make slot_offset - negative and set highest_outgoing_arg_in_use to needed + 1. - (store_one_arg): If ARGS_GROW_DOWNWARD deal with negative slot_offset. - -Tue Jan 14 20:01:59 1992 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) - - * sparc.h (TARGET_SUN_ASM, TARGET_GNU): Delete support for - obsolete and undocumented flags -msun-asm and -mgnu. - * sparc.md: Likewise. - -Tue Jan 14 19:36:21 1992 Tim Moore (moore at fast.cs.utah.edu) - - * xm-hp800.h (hpux8): define. - * hp800.h (LINK_SPEC): Conditionalize on hpux8. - (STACK_BOUNDARY): Define for snake. - (CALL_USED_REGISTERS): Shift register is special. - (HARD_REGNO_MODE_OK): Don't allow modes smaller that SImode in fp - registers. - (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Eliminate - GENERAL_OR_FP_REGS, GENERAL_OR_SNAKE_FP_REGS classes. - (FUNCTION_ARG): Handle snake fp arguments. - (ASM_DOUBLE_ARG_DESCRIPTORS): define. - (ASM_DECLARE_FUNCTION_NAME): Use above macro to get around hpux - 8.0 change. - * hp800.md (movsi, movdi): Add ! and * to constraints of anonymous - define-insns to discourage SImode values in fp registers. Don't - modify the stack pointer when moving between general and fp registers. - (mulsi): Take out pattern that matches a degenerate multiplication - by 1; it doesn't seem to be needed and causes problems. - (sar_sub): Change so that const_int isn't the first argument of - the comparison. - * hp800.c (output_fp_move_double): As above, don't modify the - stack pointer when moving between general and fp registers. - (output_block_move): Don't make one CONST_INT rtx and store - different integer values in it; cons up a "new" one for each value. - (output_floatsisf2, output_floatsidf2): Fix typos. - (output_arg_descriptor): Conditionalize for HPUX 8.0. - -Tue Jan 14 14:38:09 1992 Michael Tiemann (tiemann at cygnus.com) - - * cp-typeck.c (build_unary_op): Call readonly_warning_or_error if - ARG is TREE_READONLY (in addition to the type being TYPE_READONLY). - - * cp-init.c (maybe_adjust_addr_for_delete): If the adjustment needs - to be done, zero out the storage that held part of the cookie. - -Tue Jan 14 13:12:48 1991 Ron Guilmette (rfg at ncd.com) - - * c-decl.c (poplevel): Set TYPE_CONTEXT for each tagged type - except inside function declaration parm list. - (grokdeclarator): Set TYPE_CONTEXT for tagged type in decl parm list. - (pushtag): Don't set TYPE_CONTEXT for tagged types here. - -Tue Jan 14 06:46:37 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * global-alloc.c (global_alloc): Count multi-word pseudos correctly - in local_reg_n_refs. - (find_reg): Evict pseudos that overlap the register we take, not just - that start with that register. - - * a29k.c (a29k_debug_reg_map): New variable. - (output_prologue): Initialize it. - * a29k.h (DBX_REGISTER_NUMBER): Use that map. - - * ultrix.h (WCHAR_TYPE): Make definition be a known type. - - * final.c (final_scan_insn): Call DBR_OUTPUT_SEQEND before we - clear `final_sequence', so it can call dbr_sequence_length. - - * reload1.c (reload): Clear insn_needs once we know we have - reloads, instead of always. - Don't skip processing of reloads for CALL_INSNs when caller-save - needs a spill register. + * i386mach.h: Include i386gstabs.h, not i386gas.h. - * flow.c (mark_used_regs, case RETURN): Insert missing test for global - registers. + * gsyslimits.h: Renamed from syslimits.h. + * Makefile.in (USER_H): syslimits.h deleted. + (install-common-headers): Install gsyslimits.h as syslimits.h. + Depend on gsyslimits.h and assert.h. + + * cccp.c (rescan): Accept # as command inside macro args, etc. + If an actual newline at the same level precedes. + + * fixincludes (EXINIT): Set it to `set', not null. + + * toplev.c (main): Use strncmp when testing for gstabs+ vs gstabs. + +Sat Nov 7 17:46:35 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * optabs.c (expand_unop): + For complex negation, do get_insns, not gen_sequence. + + * c-decl.c (finish_decl): Don't clear DECL_INITIAL in inline fn decls. + + * c-typeck.c (process_init_constructor): Strip NOP_EXPR from indices. + Clear end_index if there's an error in a range. + + * mips-5sysv.h, mips-5svr4.h, mips-5bsd.h (CPP_PREDEFINES): + Add single-underscore variants of all the predefined symbols. + + * gstddef.h [_ANSI_H_]: When undefing at the end, test _STDDEF_H, + not __need_ptrdiff_t. + + * mips.c (gen_int_relational): Handle overflow when incrementing cmp1. + +Fri Nov 6 23:03:14 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + + * elxsi.c: Include config.h. + +Fri Nov 6 18:53:21 1992 Chip Salzenberg (chip@tct.com) + + * i386sco.h (STARTFILE_SPEC): Fix line wrap. + (SIGNED_CHAR_SPEC): Defined to set _CHAR_UNSIGNED. + +Fri Nov 6 19:06:56 1992 Jim Wilson (wilson@sphagnum.cygnus.com) + + * dbxout.c (dbxout_symbol): Give name ` ' to unnamed enums. + +Fri Nov 6 15:26:30 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + + * optabs.c (init_libfuncs): Add casts when comparing/incrementing enum. + +Fri Nov 6 15:41:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * toplev.c (main): Really accept -gstabs+. + +Fri Nov 6 06:46:22 1992 Tom Wood (wood@dg-rtp.dg.com) + + * m88k.md (tcnd_divide_by_zero, divsi3, udivsi3): Allow the + explicit trap for divide by zero to resume execution along the + expected path. + + * t-m88kv4 (FIXINCLUDES): Delete. + +Fri Nov 6 03:08:13 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * i386.md (andsi3): Mask immed op to 0xff in QI-reg ff00-byte case. + + * gstddef.h: Find ansi.h in machine subdir. + [__need_ptrdiff_t]: Don't undef _SIZE_T_ or _WCHAR_T_. + * gvarargs.h, gstdarg.h: Don't test, define or undef _VA_LIST_ + on NET 2 systems. Don't include ansi.h. + + * c-lex.c (readescape): Support \e like \E. Warn only if -pedantic. + +Fri Nov 6 08:34:17 1992 Tim Moore (moore at defmacro.cs.utah.edu) + + * integrate.c (copy_rtx_and_substitute)[ARGS_GROW_DOWNWARD]: Map + virtual args pointer to the top of the argument block. + * calls.c (expand_call)[ARGS_GROW_DOWNWARD] Fix fencepost error in + calculating high_to_save and low_to_save. Use - high_to_save to + address stack_area. + +Fri Nov 6 00:41:53 1992 Paul Eggert (eggert@twinsun.com) + + * sparc.h (TARGET_EDOM, GEN_ERRNO_RTX): Deleted. + +Thu Nov 5 18:55:44 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * alpha.c (output_prologue): Fix typo: `add' should be `addq'. + +Thu Nov 5 18:35:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in (install-fixincludes): Add semicolon in new for-loop. + +Thu Nov 5 15:24:14 1992 Michael Meissner (meissner@osf.org) + + * i386rose.h, decrose.h (REAL_LD_FILE_NAME): Define to be the + correct location on OSF/1 -- /usr/bin/ld points to + /usr/ccs/gcc/ld, which is collect. + (REAL_NM_FILE_NAME): Ditto for nm. + (REAL_STRIP_FILE_NAME): Ditto for strip. + +Wed Nov 4 13:36:10 1992 Jim Wilson (wilson@sphagnum.cygnus.com) + + * optabs.c (expand_binop): When trying to expand a multiple word + add into multiple single word adds, don't overwrite OP0 and OP1 in + case we must backtrack. We use instead new variables XOP0 and XOP1. + +Wed Nov 4 16:45:53 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * config.sub: Don't discard SCO version number if it's 3.2v4. + + * xm-vax-vms.h (HOST_FLOAT_FORMAT): Defined. + + * varasm.c: Fix typos in last change. + +Wed Nov 4 10:11:28 1992 Torbjorn Granlund (tege@jupiter.sics.se) + + * va-pa.h (va_end): Do it like in other va-*.h files. + +Wed Nov 4 07:23:46 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * local-alloc.c (optimize_reg_copy_1): If P is a CALL_INSN, count + it as being crossed by SRC since SRC used to die there. + +Wed Nov 4 00:13:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * x-next (libgcc2.a, stdarg.h): New rules. + + * varasm.c (immed_real_const_1, immed_double_const): + Don't push on const_double_chain in nested function. + + * expr.c (emit_move_insn): Do return a value, in complex case. + +Tue Nov 3 10:45:09 1992 H.J. Lu (hlu@yardbird.eecs.wsu.edu) + + * i386linux.h (STARTFILE_SPEC): -static is added to ld if + -pg, -g or -p is passed down by gcc. + +Tue Nov 3 15:14:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * pa.c (output_ior): Handle "ior" against zero. + + * i386mach.h (YES_UNDERSCORES): Define it. + + * sun3.h (ASM_OUTPUT_FLOAT_OPERAND): Use REAL_VALUE_MINUS_ZERO. + (ASM_OUTPUT_DOUBLE_OPERAND): Likewise. + +Tue Nov 3 08:25:35 1992 Chris Smith (csmith@convex.com) + + * convex.h (REG_CLASS_FROM_LETTER): Add 'A', index regs. + (movsi alternative): Use it to make psh.w sp (push the + stack pointer) a noninstruction. + +Tue Nov 3 08:05:10 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * jump.c (jump_optimize): Ensure operand of REG_NOTES is an INSN; + otherwise, we might try to read outside allocated memory. + + * va-alpha.h (va_end): Don't define enum if va_end already defined. + +Tue Nov 3 02:56:22 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * objc/Makefile: Use $(srcdir), not `..'. + + * objc-actions.c (build_message_expr): Use save_expr for receiver. + + * va-i860.h (va_end, anonymous enum): Don't declare if + va_end already defined as macro. + * va-mips.h, va-i960.h (va_end): If already a macro, don't declare. + +Mon Nov 2 21:17:40 1992 Paul Eggert (eggert@twinsun.com) + + * va-sparc.h (va_end): If already def as macro, don't declare. + +Mon Nov 2 16:04:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * i386linux.h: Include i386gstabs.h, not i386gas.h. + +Mon Nov 2 14:46:31 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + + * Makefile.in (install-cross-tools): Delete old symlink before + making new one; else symlink will fail and we will use + backed strategy. + +Sun Nov 1 17:55:56 1992 Jim Wilson (wilson@sphagnum.cygnus.com) + + * varasm.c (decode_rtx_const): Handle PC same as LABEL_REF. + +Sun Nov 1 03:19:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 2.3.1 released. + + * x-i386s4: Renamed from x-i386sco4. + * configure (i[34]86-*-sco*): Use new name. - * reorg.c (mark_referenced_resources): Mark asm's as volatile - when appropriate. + * sol2-c1.asm, sol2-ci.asm, sol2-cn.asm: Renamed from sol2-crt... + * t-sol2: User new names. - * integrate.h (struct inline_remap): New field const_equiv_map_size. - * integrate.c (expand_inline_function): Set it; make larger map. - (subst_constants): Don't reference out-of-range entry in equiv map. - * unroll.c (unroll_loop): Set const_equiv_map_size. - -See ChangeLog.4 for earlier changes. - -Local Variables: -mode: indented-text -left-margin: 8 -fill-column: 76 -version-control: never -End: +See ChangeLog.6 for earlier changes.