--- gcc/ChangeLog 2018/04/24 18:06:27 1.1.1.5 +++ gcc/ChangeLog 2018/04/24 18:10:27 1.1.1.6 @@ -1,10374 +1,9217 @@ -Sun Jun 20 18:09:50 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Sun Jan 23 18:41:37 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * calls.c (expand_call): In last change, preserve the temp slot. + * Version 2.5.8 released. -Sun Jun 20 13:37:00 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * reload.c (find_reloads): Properly test for output operand + when changing RELOAD_FOR_OUTPUT_ADDRESS to RELOAD_FOR_INPUT_ADDRESS. - * c-common.c (decl_attributes): If first_arg_num is 0, no error for it. + * alpha.c (output_{pro,epi}log): Use assemble_name to output + alpha_function_name. - * Makefile.in (extraclean): Delete *.gz, and other diff and tar files. +Sun Jan 23 18:40:23 1994 Samuel A. Figueroa (figueroa@cs.nyu.edu) -Sat Jun 19 19:55:43 PDT 1993 Ron Guilmette (rfg@netcom.com) + * i386/os2.h (PATH_SEPARATOR): New macro. + * i386/gas.h (ASM_FILE_START): Delete; identical to one in bsd.h, + which is included. - * dwarfout.c (type_main_variant): New function. - Use it in place of TYPE_MAIN_VARIANT everywhere in dwarfout.c. +Sun Jan 23 05:59:31 1994 Per Bothner (bothner@cygnus.com) - * c-decl.c (grokdeclarator): Avoid the use of macros for ..._TYPE - nodes in cases where a parameter's type is error_mark_node. + * c-typeck.c (really_start_incremental_init): Save current elements + instead of clearing them. -Sat Jun 19 03:57:57 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Jan 22 17:23:42 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - * Version 2.4.4 released. + * pa.h (ASM_FILE_START): Emit a .file directive at the beginning + of the output file if debug symbols are being generated. - * toplev.c (compile_file): For static decl never defined, - use just warning, not pedwarn. +Thu Jan 13 05:42:30 1994 Torbjorn Granlund (tege@adder.cygnus.com) - * dbxout.c (dbxout_type): Reinstall #if 0 around code for - outputting structure types, that confused GDB. + * config.sub: Fix typo in -hiux* case. -Fri Jun 18 20:06:35 1993 Pat Rankin (rankin@eql.caltech.edu) +Tue Jan 11 19:14:31 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): adjust stack pointer by 4 prior - to calling C$MAIN_ARGS, otherwise POSIX edition of that routine dies. + * a29k.c (output_prolog): Update debug reg map when + we have -mkernel-registers. -Fri Jun 18 14:21:14 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Jan 10 19:06:57 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in (clean): Delete objc-headers subdir. + * expr.c (protect_from_queue): If (MEM (QUEUED ...)), modify a + new MEM instead of the one we were passed. - * config/m68k/m68k.h (TARGET_SWITCHES): For -m68020, -m68000 and - -msoft-float, turn off 01400 bits. + * regclass.c (globalize_reg): New function. + (init_reg_sets_1): Don't handle global regs here. + * varasm.c (make_decl_rtl): Call globalize_reg, not init_reg_sets_1. - * Makefile.in (gcc.xtar.gz): Renamed from gcc.tar.z. - (dist): Change the dependency. - (mostlyclean): Delete tmp-gcc.xtar.gz. + * a29k.c (print_operand, case 'F'): If we have to do the last + prolog insn, give that priority for an unfilled delay slot. - * c-iterate.c (save_exprs): New variable. - (collect_iterators): Don't process a SAVE_EXPR twice. - (iterator_expand): Clear save_exprs. + * function.c (preserve_rtl_expr_result): New function. + * expr.c (exand_expr, case RTL_EXPR): Call it. - * Makefile.in (gcc.info, cpp.info): Actually cd to srcdir. +Sun Jan 9 04:40:27 1994 James Van Artsdalen (james at bigtex.cactus.org) - * configure (clipper-intergraph-clix*): Use install-headers-cpio. + * jump.c (follow_jumps): Don't follow tablejumps. -Fri Jun 18 13:37:16 1993 Michael Meissner (meissner@osf.org) +Tue Jan 4 07:35:05 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.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. + * tree.c (substitute_expr): Don't abort for RTL_EXPR and + SAVE_EXPR; just do nothing. -Fri Jun 18 00:25:16 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Dec 31 06:27:57 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * combine.c (force_to_mode): Add new parm JUST_SELECT; all + callers changed. -Thu Jun 17 17:58:11 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Dec 24 05:34:38 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * config/pa/pa.md (decrement_and_branch_until_zero): - Pattern disabled. - -Thu Jun 17 13:34:20 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - - * 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. - -Thu Jun 17 12:13:53 1993 Minh Tran-Le (mtranle@paris) - - * 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. - -Thu Jun 17 00:26:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * reg-stack.c (stack_result_p): New function. - (stack_reg_life_analysis): Use that. - - * final.c (output_addr_const): Don't insert a leading space - in the CONST_DOUBLE_HIGH != 0 case. - -Thu Jun 17 00:09:19 1993 Jeff Law (law@snake.cs.utah.edu) - - * pa.h (LEGITIMATE_CONSTANT_P): Reject function addresses for now. - -Wed Jun 16 20:14:10 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-typeck.c (build_unary_op): Make sure it's the global fn `main' - before complaining about taking the address of it. - -Wed Jun 16 16:24:31 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * config/i386/xm-sysv4.h (SMALL_ARG_MAX): Defined. - - * c-typeck.c (check_format): Don't crash if cur_type is an error_mark. - Handle identifier_node as the TYPE_NAME. - -Mon Jun 14 16:09:24 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * calls.c (expand_call): If PCC_STATIC_STRUCT_RETURN and TARGET - is zero, copy result from static location. - - * cse.c (invalidate_skipped_set): Promote "nonscalar" to "all". - -Mon Jun 14 16:01:34 1993 Karl Berry (karl@cs.umb.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. - -Mon Jun 14 04:41:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * reload.c (make_memloc): Don't reuse a memloc. - -Sun Jun 13 16:01:37 1993 Jeff Law (law@snake.cs.utah.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. - -Sun Jun 13 20:23:04 1993 Stephen Moshier (moshier@world.std.com) - - * 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. - -Sun Jun 13 12:55:22 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-decl.c (start_function): Avoid a null-reference on CTYPE. - -Sun Jun 13 08:22:30 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * expr.c (expand_expr, case COND_EXPR): Fix typo; const1_rtx should - be const0_rtx when ignoring expression. - -Sun Jun 13 00:15:00 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * genopinit.c (optabs): For strlen_optab, don't look for `2' in name. - -Sat Jun 12 20:23:04 1993 Stephen Moshier (moshier@world.std.com) - - * 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. - -Sat Jun 12 13:44:00 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - - * sched.c (add_dependence): Reject CODE_LABELs when searching for - last insn of a sched group. - -Sat Jun 12 08:06:25 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * m68k.md (movqi): Handle copying an address register to or - from memory when the address uses the address register. - -Sat Jun 12 00:17:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * cse.c (record_jump_cond): Look up op1 again after inserting op0. - -Fri Jun 11 21:50:16 1993 John F Carr (jfc@Athena.mit.edu) - - * rs6000.md (movsf, movdf): Handle a move from an integer register - before reload. This can happen if the user uses asm to put a floating - point variable in an integer register. - -Fri Jun 11 20:04:43 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * rs6000.c (rs6000_gen_section_name): Only replace last period - in filename with section name and correct calculation of - string length. - - * recog.c (constrain_operands): Correctly ignore MATCH_OPERATOR - operands. - - * reload1.c (eliminate_regs_in_insn): Don't use a later elimination - than eliminate_regs would use. - - * c-decl.c (finish_decl): Don't modify DECL_INITIAL of a PARM_DECL. - -Thu Jun 10 23:48:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * genextract.c (main): Use __volatile__, not volatile. - -Thu Jun 10 16:21:08 1993 Michael Meissner (meissner@osf.org) - - * 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. - - * i386/osfelf.h (ASM_SPEC): Pass -v to assembler if used. - (OBJECT_FORMAT_ROSE): Undefine. - -Thu Jun 10 16:20:24 1993 Doug Evans (dje@canuck.cygnus.com) - - * expmed.c (MAX_BITS_PER_WORD): Define earlier. - (shift_cost, shiftadd_cost, shiftsub_cost): Use MAX_BITS_PER_WORD. - -Thu Jun 10 12:56:18 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - - * sched.c (sched_analyze_2): Don't ignore USE insns when creating - dependencies. - (sched_analyze): Likewise. - -Wed Jun 9 12:58:51 1993 Michael Meissner (meissner@osf.org) - - * configure (i386-*-osfelf): Add new configuration for OSF/1 using - the ELF object file format. - - * i386/osfelf.h (new file): New config file for OSF/1 with ELF. - Include osfrose.h and redefine things as needed. - - * i386/osfrose.h (SUBTARGET_SWITCHES): Add -melf, -mrose, and - -mno-rose switches. - (HANDLE_SYSV_PRAGMA): Define. - (IDENTIFIER_PREFIX, IDENTIFIER_SUFFIX): Remove unused macros. - (CPP_PREDEFINES): Add -Acpu(i386) -Amachine(i386) -Asystem(unix). - (CPP_SPEC): Define __ROSE__ if compiling for OSF/rose and __ELF__ - if compiling for the ELF object format. - (CC1_SPEC): Pass -mrose if no object format switch. - (DWARF_DBX_REGISTER_NUMBER): Map registers according to the - debugging format. - -Wed Jun 9 13:21:03 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - Mon Jun 7 18:01:31 1993 Mike Stump (mrs@cygnus.com) - - * 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. - - Wed Jun 2 11:53:24 1993 Mike Stump (mrs@cygnus.com) - - * cp-search.c (lookup_fnfields_here): Use TYPE_MAIN_VARIANT on - context types before comparing. Fixes const member functions not - being found in templates. - -Tue Jun 8 19:44:23 1993 Brendan Kehoe (brendan@lisa.cygnus.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). - -Tue Jun 8 13:14:27 1993 John Hassey (hassey@dg-rtp.dg.com) + * alpha.md (define_attr type): Add new type ISUBR. + (divmod): Set to type ISUBR. + * alpha.c (output_prolog): Need GP if type ISUBR. - * configure: Added gas support for m88k-* targets. + * reload.c (push_reload, find_reloads): Reload inside a paradoxical + SUBREG of MEM except don't force a reload unless the inner mode + is narrower than BIGGEST_ALIGNMENT. - * t-luna-gas t-dgux-gas t-m88k-gas: New files in config/m88k. + * c-typeck.c (check_init_type_bitfields): Check recursively inside + arrays and records. -Tue Jun 8 14:51:44 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * cse.c (simplify_binary_operation): Can fold multi-word + operations when first is CONST_INT. + (simplify_binary_operation, case PLUS, MINUS): Don't call + plus_constant when OP0 is VOIDmode. - * loop.c (move_movables): Delete REG_EQUAL notes that describe a - non loop invariant value. + * c-typeck.c (pop_init_level): Don't abort if have incomplete array + type inside some other type. - * sparc.c (call_operand, call_operand_address): Accept any address - not just REG rtx. +Thu Dec 23 07:30:24 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Jun 8 18:47:39 1993 Torbjorn Granlund (tege@nada.kth.se) + * Makefile.in (libgcc.a): Allow chmod of tmpcopy directory to + fail since it can be empty. - * sparc.h: (RTX_COSTS): Make cost of MULT depend on TARGET_V8. + * gcc.c (default_compilers, gnat1): Don't write -gnatb. - * pa.h (CPP_SPEC): Fix typo: define __hp9000s700. + * expr.c (expand_expr, case MINUS_EXPR): When expanding an + initializer, use plus_constant as appropriate. -Tue Jun 8 06:16:30 1993 John Hassey (hassey@dg-rtp.dg.com) +Thu Dec 23 09:03:30 1993 Phil Nelson (phil@cs.wwu.edu) - * m88k.h (HARD_REGNO_REGS, HARD_RENO_MODE_OK, MODES_TIEABLE_P): - Restrict use of 88110 extended registers to floating point. + * ns32k.h (ASM_OUTPUT_ADDR_DIFF_ELT): Use .long, not .double. -Mon Jun 7 15:42:10 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Dec 21 17:37:20 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * math-68881.h (atan2): For x <= 0, lump y == 0 with y > 0 - to get the right result in 0, -1 case. + * cp-tree.h (VTABLE_NAME): No def with NO_{DOLLAR,DOT} defined. + (VTABLE_NAME_P): Use it instead of VTABLE_NAME_FORMAT. -Mon Jun 7 17:50:25 1993 Jeff Law (law@snake.cs.utah.edu) +Tue Dec 21 13:25:39 1993 Jim Wilson (wilson@cygnus.com) - * pa.h (RTX_COSTS): Cost of MULT also depends on - TARGET_DISABLE_FPREGS. + * rtlanal.c (replace_regs, case REG): Return copies of SUBREGs, to + avoid invalid sharing. - * pa.h (ASM_OUTPUT_INT): Always emit special "plabel" relocation for - function labels. +Mon Dec 20 19:10:16 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sun Jun 6 16:31:59 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-typeck.c (struct initializer_stack): New field ELEMENTS. + (start_init, finish_init): Save and restore constructor_elements. - * gcc.c (translate_options): Don't assume option_map[j].arg_info != 0. + * emit-rtl.c (gen_lowpart_common): Return a new hard reg even + if not valid in MODE if the input REG is not valid in its mode. - * config/vax/vax.h (PRINT_OPERAND): Prefix constant by `$'. + * rs6000.md (divsi3): Correct logic for when we call force_reg. + (modsi3): Ensure operands[2] is a CONST_INT; include REG in + predicate. -Sun Jun 6 00:44:48 1993 Torbjorn Granlund (tege@nada.kth.se) +Thu Dec 16 11:34:48 1993 Ian Lance Taylor (ian@cygnus.com) - * m88k.md (fix_truncdfsi2): Destination is general register, source - general or extended register. - (fix_truncsfsi2): Likewise. + * fixincludes: Do not preserve _HIDDEN_VA_LIST in stdio.h. -Sun Jun 6 00:20:25 1993 Kresten Krab Thorup (krab@iesd.auc.dk) +Sun Dec 12 06:47:14 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * objc-act.c (encode_type): Add cases for DImode, encoded - as 'q' and 'Q' respectively. + * Version 2.5.7 released. -Sat Jun 5 14:02:36 1993 James Van Artsdalen (james@bigtex.cactus.org) +Sun Dec 12 06:18:33 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * c-decl.c (pushdecl): Copy DECL_FRAME_SIZE for inline function decls. + * function.c (thread_prologue_and_epilogue_insns): When constructing + USE chain, set both NEXT_INSN and PREV_INSN links. Also, preserve + order of USE insns in chain. - * stmt.c (check_for_full_enumeration_handling): Don't create a - default label if all enumeration literals are covered by cases. +Sun Dec 12 06:13:51 1993 DJ Delorie (dj@ctron.com) -Sat Jun 5 04:49:19 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * configure.bat: Update to relect recent changes elsewhere. + * objc/makefile.dos: Likewise. - * function.c (uninitialized_vars_warning): Change warning text. - (setjmp_args_warning): Likewise. +Sat Dec 11 18:09:50 1993 Per Bothner (bothner@cygnus.com) - * c-typeck.c (convert_for_assignment): Allow conversion to union type - for pointer if the pointer could convert to the union member. + * dbxout.c (dbxout_type): The "base type" of a SET_TYPE is its + DOMAIN_TYPE, not its TREE_TYPE. + * dwarfout.c (output_type): Likewise. -Fri Jun 4 18:09:47 1993 Jim Wilson (wilson@sphagnum.cygnus.com) +Sat Dec 11 07:36:57 1993 David Rifkind (dave@yarc.com) - * integrate.c (expand_inline_function): Always copy a SUBREG as an - argument into a REG. + * rs6000.md: Add a few missing new nmemonics. -Fri Jun 4 05:52:28 1993 Torbjorn Granlund (tege@nada.kth.se) +Sat Dec 11 06:57:55 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * pa.h (RTX_COSTS): Make cost of MULT depend on TARGET_SNAKE. + * cccp.c (INPUT_STACK_MAX): Double size. - * 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. + * integrate.c (initialize_for_inline): Handle CONCAT when setting up + parmdecl_map. -Fri Jun 4 23:18:35 1993 Kresten Krab Thorup (krab@iesd.auc.dk) + * rs6000.md (modsi3): Reject REG in predicate to avoid undefined + reference and extra pseudo creation if will fail. - * objc/sendmsg.c (objc_msg_sendv): Pass a dummy va_list, not 0, - to objc_error. +Fri Dec 10 10:03:36 1993 Mike Stump (mrs@cygnus.com) -Fri Jun 4 16:12:43 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * toplev.c (lang_options): Change -fnodollars-in-identifiers to + -fno-dollars-in-identifiers to match docs. - * byteorder.h: Use new-style function definitions, so that this - file is both valid C and C++. +Fri Dec 10 15:42:02 1993 Jim Wilson (wilson@mole.gnu.ai.mit.edu) -Fri Jun 4 00:59:31 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-lex.c (yylex): When reading malformed floating point constant, + avoid printing error more than once, and avoid passing malformed + number to subsequent atof call. - * config/mips/svr4-5.h (CPP_PREDEFINES): - Add _MIPS_SZINT _MIPS_SZLONG _MIPS_SZPTR. +Fri Dec 10 06:03:35 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Jun 3 23:48:39 1993 Jeff Law (law@snake.cs.utah.edu) + * rs6000.c (easy_fp_constant): Use input_operand to see if + each word can be loaded in one insn. - * 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. + * rs6000.md: Change numerous occurrences of TARGET_POWERPC + to ! TARGET_POWER and make related changes. -Thu Jun 3 18:52:24 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rs6000.md (modsi3): Rework to operate correctly for both POWER + and PowerPC. - * config/nextstep.h (INCLUDE_DEFAULTS): Use same order as cccp.c. - Add CCC_INCLUDE_DIR with /ansi and /bsd concatenated. +Thu Dec 9 16:19:05 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * varasm.c (immed_real_const_1): Check explicitly for NaNs. + * cp-tree.h (OPERATOR_TYPENAME_P): Define outside of + NO_{DOLLAR,DOT} macro checks, so it always gets defined. + (VTABLE_NAME_P): Define for NO_DOT && NO_DOLLAR_IN_LABEL. -Thu Jun 3 14:37:25 1993 Jim Wilson (wilson@sphagnum.cygnus.com) +Wed Dec 8 05:46:26 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * combine.c (num_sign_bit_copies): At end, return 1 is nonzero has - the high bit set. + * flow.c (mark_used_regs, case CLOBBER): Refine previous change + to just look at the address of a MEM inside a CLOBBER. -Wed Jun 2 17:27:31 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fold-const.c (fold, case *_{DIV,MOD}_EXPR): When using + distributive law, take care when C2 is negative. - * loop.c (record_initial): Reject insns that store into subregs. +Tue Dec 7 08:45:59 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Jun 1 12:46:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * flow.c (mark_used_regs): Look inside a CLOBBER; it may be the only + place regs are used if it has a stack slot that is from an inlined + function. - * Version 2.4.3 released. +Mon Dec 6 20:56:11 1993 David Rifkind (dave@yarc.com) - * just-fixinc: New file. + * expr.c (move_block_{to,from}_reg): Check HAVE_{load,store}_multiple + value; don't just #idef the symbol. - * config/convex/convex.h [_IEEE_FLOAT_] (LINK_SPEC): - Use ___gcc_cleanup, not __gcc_cleanup. +Mon Dec 6 08:01:59 1993 Torbjorn Granlund (tege@cygnus.com) -Tue Jun 1 07:41:26 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * pa.c (hppa_legitimize_address): If we can't legitimize, + do nothing; don't call abort. - * rs6000.md (ffs): Delete pattern containing nonexistant instruction. +Mon Dec 6 07:38:30 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) - * alpha.md (extendsidi2): Correctly do operation when in FP - registers and, since expensive, don't have FP regs as a preference. + * arm.c (output_ascii_pseudo_op): 8-bit chars should be zero-extended. + * arm.h (ASM_OUTPUT_ASCII): Likewise. -Tue Jun 1 00:09:46 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Dec 6 07:32:59 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * fixincludes (signal.h): Fix typo in last change. + * objc/encoding.h: Include ctype.h. - * configure: Add missing dash in patterns for mips-*-riscos... - In riscos 5 patterns, use fixinc.mips. + * expr.c (expand_expr, case PLACEHOLDER_EXPR): Remove top entry + from PLACEHOLDER_LIST when expanding the value in it. - * fixinc.mips: New file. +Mon Dec 6 05:40:38 1993 Doug Evans (dje@cygnus.com) - * config.sub: Handle 386bsd. + * emit-rtl.c (start_sequence): Save current sequence_rtl_expr. -Mon May 31 23:47:00 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Dec 3 07:07:01 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * config/vax/vax.md (untyped_call, blockage): New patterns, - basically copied from m68k.md. + * Version 2.5.6 released. -Mon May 31 21:46:08 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * c-typeck.c (c_expand_return): Return if convert_for_assignment + returns error_mark_node. - * romp.c (output_epilog): Don't crash if TYPE_SIZE of an arg is - not set. +Fri Dec 3 06:42:05 1993 Arne Henrik Juul (arnej@fm.unit.no) -Mon May 31 00:15:20 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fixincludes (stdio.h): Fix typos (missing quote) in previous change. - * config/mips/x-sony (OLDCC): Fix typo. +Fri Dec 3 06:35:57 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * 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. + * gstddef.h: Define and protect against __STDDEF_H__ for Irix 5.1. - * pa.md (decrement_and_branch_until_zero): - Reverse all conditions in reload cases. + * sparc.c (shift_operand): Delete function. + * sparc.md (ashlsi3, ashrsi3, lshrsi3): Use arith_operand instead + of shift_operand. Truncate shift counts to 5 bits. - * Version 2.4.2 released. +Thu Dec 2 08:11:00 1993 Stefan Rapp (sr@irb.informatik.uni-dortmund.de) -Sun May 30 21:14:42 1993 Jim Wilson (wilson@sphagnum.cygnus.com) + * loop.c (scan_loop): Correct arguments for register check. - * integrate.c (expand_inline_function): Increment map->const_age - before copying REG_NOTES. +Thu Dec 2 07:07:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - * sparc.c (sparc_builtin_saveregs): Don't set first_reg to zero - for varargs. + * fixincludes: Preserve _HIDDEN_VA_LIST when changing VA_LIST to + DUMMY_VA_LIST. Change __va_list to __gnuc_va_list. For AIX + 3.2.5. -Sun May 30 23:58:52 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Dec 2 07:00:24 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * objc/Makefile (copy-headers): chmod the headers, not the dir. + * emit-rtl.c (push_topmost_sequence, end_sequence): Update + sequence_rtl_expr from sequence_stack entry. - * Makefile.in (objc-headers): Don't dep on force. - Touch objc-headers so copy is not repeated at install time. + * calls.c (emit_library_call): Use Pmode, not OUTMODE, when passing + in structure address. - * final.c (shorten_branches): Conditionalize last change - on SHORTEN_WITH_ADJUST_INSN_LENGTH. + * a29k.c (secondary_reload_class): Kernel regs are in same class + as user regs. - * pa.h (SHORTEN_WITH_ADJUST_INSN_LENGTH): Defined. + * a29k.md (movti split): Set CR to 3, not 1 like DImode. -Sun May 30 13:53:30 1993 Jeff Law (law@snake.cs.utah.edu) +Thu Dec 2 06:46:07 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * final.c (shorten_branches): Call ADJUST_INSN_LENGTH during the - shortening phase. + * reload.c (find_reloads_toplev): Replace obsolete reference to + BYTE_LOADS_*_EXTEND with LOAD_EXTEND_OP. - * 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. - - * pa.h (INSN_SETS_ARE_DELAYED): Do not call get_attr_type with a - CLOBBER insn. - (INSN_REFERENCES_ARE_DELAYED): Likewise. - - * pa.md (call insns and expanders): Do not explicitly clobber %r31. - - * 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. - -Sun May 30 18:58:22 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - - * mips.c (function_arg_partial_nregs): For BLKmode values, fits in - remaining register if total size <= MAX_ARGS_IN_REGISTERS, not <. - -Sun May 30 17:45:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * emit-rtl.c (operand_subword): Shift by (HOST_BITS_PER_WIDE_INT / 2), - not by 32. - - * reload1.c (reload): If only non-group need is unfilled, see if - regs spilled for earlier classes can satisfy it. - - * config/mips/iris4loser.h (ASM_SPEC): Add unconditional -O0. - -Sat May 29 15:19:57 1993 Jeff Law (law@snake.cs.utah.edu) - - * pa.md (movdf for const_double): Handle loading - a CONST_DOUBLE into general registers. - (movsf for const_double): Likewise. - - * pa.c (singlemove_string): Handle SFmode CONST_DOUBLE - as a source operand. - -Sat May 29 14:14:30 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * emit-rtl.c (operand_subword): Correctly handle case when - REAL_VALUE_TO_TARGET_DOUBLE is used on a 64-bit machine. - -Sat May 29 12:15:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * fixincludes (signal.h): Don't mung #endif if nonwhite stuff precedes. - - * rtl.h: Undef PC. - -Fri May 28 19:01:39 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * configure (i[34]86-*-isc*): If gas and not stabs, use isccoff.h. +Thu Dec 2 06:39:16 1993 Jeffrey A Law (law@snake.cs.utah.edu) - * final.c (shorten_branches): Do not call insn_current_length - with an insn which has a non-varying length. Use insn_lengths - instead. - - * c-typeck.c (process_init_constructor): Never set current_index - itself--always store into current_index_node. + * pa.h (ASM_STABS_OP, ASM_STABN_OP): Define. + (ASM_FILE_END): Put a TAB before the .stabs directive. - * dbxout.c (dbxout_type): Add missing `;' for array with no domain. +Thu Dec 2 06:30:17 1993 David Edelsohn (edelsohn@npac.syr.edu) -Fri May 28 16:47:54 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * rs6000.md (define_function_unit): Restore ppc601 load and fpload + timings. - * 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. +Wed Dec 1 17:24:17 1993 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) - * combine.c (make_compound_operation, case ASHIFTRT): Fix typo. - Was using C1 where C2 is needed. + Wed Nov 24 06:36:10 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Fri May 28 17:50:38 1993 Jim Wilson (wilson@sphagnum.cygnus.com) + * cp-tree.c (get_decl_list): Use the DECL_NESTED_TYPENAME for the + value we're going to paste onto CLASSTYPE_ID_AS_LIST. This will get + the right name for nested classes, and for templates. - * integrate.c (expand_inline_function): When copy REG_NOTES, must - also call subst_constants. + Mon Nov 29 13:09:31 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * gcc.c (process_command): When GCC_EXEC_PREFIX is defined and - tooldir is relative, add it to search path in addition to standard - directory rather than instead of. + * cp-decl.c (grokdeclarator): Properly evaluate TREE_PUBLIC for + friends. (Fixes spurious warnings about friends being declared + static but not used.) -Fri May 28 00:50:53 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-type2.c (build_functional_cast): If we got an error_mark_node + from build_method_call, make sure EXPR_AS_METHOD is cleared out + again, so the later checks will work properly. - * config/arm/arm.h (GO_IF_LEGITIMATE_INDEX): Check explicitly for - upper and lower bounds of valid INDEX. + * cp-decl.c (build_enumerator): Fix logic so an enum inside a class + that's local to a function has its enumerators end up in that + class's list of members, not in the list for the function. - * genopinit.c (insn_name_ptr): Declare as variable. - (optabs): Fix typo in floatuns case. +Tue Nov 30 19:26:05 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu May 27 12:13:55 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * sparc.h (STATIC_CHAIN_REGNUM): Use %g2; %g1 is reserved + for prologue. + (TRAMPOLINE_TEMPLATE, INITIALIZE_TRAMPOLINE): Swap useage of %g1 + and %g2. - * combine.c (simplify_and_const_int, case IOR, XOR, NOT): Don't - create constant wider than mode of VAROP. + * m68k.md (movdf): Don't need earlyclobber when a register + is copied to itself. -Thu May 27 20:41:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Nov 27 06:19:22 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * configure (i[34]86-ibm-aix*): Set fixincludes. - (i[34]86-*-sco*): Don't test --with-gas, just --with-stabs. + * Version 2.5.5 released. -Wed May 26 16:05:05 1993 Michael Collison (collison@osf.org) + * c-typeck.c (pop_init_level): Ensure never on momentary_obstack + when calling complete_array_type. - * jump.c (jump_optimize): Insert missing GET_MODE call. +Sat Nov 27 03:52:26 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed May 26 18:40:09 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * fixproto (scanning files_to_check): Create subdirs files are in. - * i960.md (ashlsi3): Use shlo instead of shli. + * config/m68k/m68k.md (cmpsi, cmphi, cmpqi): Handle SGS_CMP_ORDER + when outputting cmpm insn. -Wed May 26 00:34:33 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Nov 26 15:57:24 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * config/nextstep.h (INCLUDE_DEFAULTS): Undo previous change. + * gcc.c (default_compilers): Do define __GNUC_MINOR__ if input is `-'. - * Makefile.in (gcc.xtar.z): Renamed from gcc.xtar.Z. Use gzip. - (dist): Depend on gcc.xtar.z. - (mostlyclean): Delete temp-gcc.xtar.z. +Thu Nov 25 18:16:25 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Version 2.4.1 released. + * function.h (struct sequence_stack): New field sequence_rtl_expr. + (struct function): Likewise. + * emit-rtl.c: Include tree.h. + (sequence_rtl_expr): New variable. + (save_emit_status, restore_emit_status): Save and restore it. + (init_emit): Initialize it. + (start_sequence_for_rtl_expr): New function. + * function.c: Declare sequence_rtl_expr. + (struct temp_slot): New field rtl_expr. + (assign_stack_temp): Set it from sequence_rtl_expr. + ({free,pop}_temp_slots): Don't free any slot with nonzero rtl_expr. + (free_temps_for_rtl_expr): New function. + * expr.c (expand_expr, case RTL_EXPR): Call free_temps_for_rtl_expr. + * stmt.c (expand_start_stmt_expr): Call start_sequence_for_rtl_expr + instead of start_sequence. + * cp-parse.y (except_stmts): Likewise. + * cp-init.c (build_new): Likewise. + * cp-typeck.c (build_modify_expr): Likewise. + * Makefile.in (emit-rtl.o): Includes tree.h. - * c-lex.c (readescape): Don't complain for \% unless pedantic. +Thu Nov 25 17:24:02 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * config/mips/mips.h (ASM_SPEC): If -noasmopt, pass -O0. - * config/mips/iris3.h: Likewise. + * Makefile.in (stmp-fixproto): Create include subdir if doesn't exist. - * config/mips/iris4loser.h: New file. - * config/mips/iris4gl.h: New file. - * configure (mips-sgi-iris4loser): New alternative. +Wed Nov 24 14:32:47 1993 Jim Wilson (wilson@sphagnum.cygnus.com) -Tue May 25 18:05:50 1993 Jim Wilson (wilson@sphagnum.cygnus.com) + * c-common.c (shorten_compare): Correct typo from last change. - * 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. +Wed Nov 24 13:25:09 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) - * m68k/sun3.h (FUNCTION_VALUE, FUNCTION_VALUEX): Ifdef out. + * protoize.c (save_def_or_dec): Correct typo in change of Nov 23. Make + sure pointers within def_dec_p are valid before it is freed. - * c-typeck.c (convert_for_assignment): When allowing mixing of - signed and unsigned pointers, compare unsigned types not type sizes. +Wed Nov 24 07:02:50 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Tue May 25 00:08:42 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * expr.c (expand_expr, case ADDR_EXPR): Also pass const0_rtx if + necessary, to avoid multiple cleanup runs. + (expand_expr, case WITH_CLEANUP_EXPR): Pass const0_rtx if + necessary, to keep the recursive call from running the same + cleanups twice. + (expand_expr, case TARGET_EXPR): Don't try to add the cleanup if + ignore's non-zero, since we would have already done it. - * nextstep.h (INCLUDE_DEFAULTS): Delete /NextDeveloper/Headers/ansi - and /NextDeveloper/Headers/bsd. +Tue Nov 23 21:10:22 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * regclass.c (regclass): Fix paren error. + Cygnus<->FSF C++ front-end merge. + Tue Nov 23 11:05:28 1993 Jason Merrill (jason@deneb.cygnus.com) - * c-decl.c (finish_decl): If type is laid out, but decl is not, - call layout_decl. + * cp-errfn.c (STRDUP): Cast return value of alloca to (char *). - * protoize.c (include_defaults): Update to match cccp.c. - * Makefile.in (stamp-proto): - Pass LOCAL_INCLUDE_DIR based on local_prefix. + Mon Nov 22 00:07:17 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * stmt.c (expand_asm_operands): Detect constants as outputs. + * cp-lex.c (real_yylex): Move declaration of tmp inside the block + that uses it, so compilers don't try to mis-optimize it away. -Mon May 24 18:25:23 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-search.c (dfs_pushdecls): Make sure there's a lang_specific + node on the decl before trying to print the warning out. - * collect2.c (main): Use TARGET-gcc, not gcc-TARGET. + * cp-decl.c (grokdeclarator): Say the member was redeclared as + static, not just that it can't be declared static. - * 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. + * cp-search.c (get_first_matching_virtual): Don't do + SET_IDENTIFIER_ERROR_LOCUS as an attempt to avoid multiple warnings + with -Woverloaded-virtual. It changes the compiler's behavior + (elicits unwanted errors). - * configure (i[34]86-*-sco3.2v4*): Test --with-stabs, not --with-gas. + Sat Nov 20 19:31:01 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Mon May 24 14:10:59 1993 Jim Wilson (wilson@sphagnum.cygnus.com) + * cp-tree.h (lang_type): Add field `has_nonpublic_ctor', and delete + dummy since we used the two bits it was holding out for the MIPS + compiler. + (TYPE_HAS_NONPUBLIC_CTOR): Defined. + * cp-class.c (finish_struct_methods): Set TYPE_HAS_NONPUBLIC_CTOR + as appropriate for a copy ctor with non-public visibility. + (finish_struct): Don't generate a copy ctor if the type if one of + its fields has a private copy ctor, or a protected one for which we + aren't allowed access. + (base_info): Add member `saw_nonpublic_ctor'. + (finish_base_struct): Set b->saw_nonpublic_ctor if necessary. - * integrate.c (expand_inline_function): Set MEM_IN_STRUCT_P for - return value if needed. + * cp-method.c (hack_identifier): Make sure there's a + DECL_LANG_SPECIFIC before getting ready to grope around a class. -Mon May 24 13:10:07 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * cp-typeck.c (build_indirect_ref): Complain if we encounter a + pointer to member. - * cp-call.c (convert_harshness): Don't dereference a null parm. + Fri Nov 19 16:37:28 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-method.c (dump_init): Don't try to print out the first operand - of a TARGET_EXPR if it's not there. + * cp-decl.c (start_decl): Complain when a function is declared as + part of a template definition, but the class it's supposed to be + part of wasn't a template. -Mon May 24 10:13:26 1993 Mike Stump (mrs@poseidon.cygnus.com) + * cp-decl.c (pushdecl): Don't warn about shadowing a member of + `this' if that member is static. - * expr.c (expand_expr): Finish Tue Aug 18 23:07:33 1992 change. It - didn't handle the target != 0 case, now it does. + * cp-call.c (convert_harshness_old): Don't die if one of the types + isn't an aggregate with a binfo. + (convert_harshness_ansi): Likewise. -Mon May 24 00:30:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Fri Nov 19 12:18:31 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * expr.c (expand_expr, TARGET_EXPR case): - Handle case where DECL_RTL is nonzero. + * cp-typeck.c (convert_for_assignment): Fix typo so initialization + of a pointer from an integer actually work, rather than emit bogus + code. - * configure (i[34]86-*-isc*): Use install-headers-cpio. + * cp-pt.c (overload_template_name): Accept unions for templates. + (instantiate_class_template): Likewise. + * cp-parse.y (template_instantiate_once): Likewise. - * genopinit.c (optabs): Add backslashes to prevent SCCS confusion. - * config/m68k/tower-as.h (CONSTRUCTOR_NAME_FORMAT): Likewise. + * cp-lex.c (real_yylex): Instead of using the "shorts" method to + check for overflow, use the C front-end's "parts" method (to handle + any size, and not rely on long long being 32 bits wide). - * combine.c (subst): For subreg-of-constant, don't gen_lowpart - if it's a big-endian machine and constant is multi-word. + Thu Nov 18 11:51:34 1993 Jason Merrill (jason@deneb.cygnus.com) - * gstddef.h (size_t) [__GNUG__]: Don't typedef it if it's - already defined as a macro. + * cp-lex.c (cons_up_default_function): Disable earlier change; it + screws up stabs somehow. Very strange. - * 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. + Thu Nov 18 00:16:29 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * config/i386/sco4.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): - New override definitions. + * cp-decl.c (grokdeclarator): Say what class is involved when saying + we can't declare a member inside it. - * toplev.c (compile_file): Undo previous changes (that were to call - assemble_zeros whenever DBX_DEBUGGING_INFO is defined). + * cp-lex.c (real_yylex): Recognize operator->() as POINTSAT, not + POINTSAT_LEFT_RIGHT. By swallowing the parens, we ended up never + building the call properly for them. + * cp-parse.y (POINTSAT_LEFT_RIGHT): Remove token. + (operator_name): Remove POINTSAT_LEFT_RIGHT rule. + * cp-spew.c (init_spew): Remove POINTSAT_LEFT_RIGHT from + toks_follow_ids. -Sun May 23 16:31:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-parse.y (primary): Only try to print out the operator's name if + it's valid. - * config/nextstep.h (INCLUDE_DEFAULTS): Fix missing comma. + * cp-decl.c (grok_op_properties): Fix missing parens to keep the + logic from accidentally giving an error when it shouldn't. - * config/i386/x-aix (FIXINCLUDES): Defined. - * fixinc.ps2: New file. + Wed Nov 17 20:04:00 1993 Jason Merrill (jason@deneb.cygnus.com) -Sun May 23 14:51:06 1993 Kresten Krab Thorup (krab@iesd.auc.dk) + * cp-search.c (dfs_pushdecls): TREE_PURPOSE doesn't have to be + a _DECL for class_value to be an envelope, it just can't be an + IDENTIFIER_NODE. - * objc/objc.h (objc_protocol): New field `class_pointer'. + Wed Nov 17 15:54:02 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * objc/init.c (__objc_init_protocols): Call recursively - on super protocols. Make local var `proto_class' static. + * cp-type2.c (process_init_constructor): Deal with pointers to + members as initializers for initializer lists. -Sun May 23 00:49:17 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Wed Nov 17 11:48:38 1993 Jason Merrill (jason@deneb.cygnus.com) - * Makefile.in (BISONFLAGS): Remove -v since output file names are long. + * cp-decl.c (ambi_op_p): Add ++ and --. - * 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-error.c: Lose the anon_parm_name stuff. - * reload.c (push_reload): Fix NULL arg in last change. + * cp-lex.c (cons_up_default_function): Change input_filename for + synthetic code. - * config/m88k/x-tekXD88 (AR_FLAGS): Defined. + * cp-error.c (dump_aggr_type): Always print const or volatile. + (dump_function_decl): Only print static if verbose. -Sat May 22 14:49:59 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-errfn.c (cp_sprintf): New function. - * config/mips/mips.h (ASM_SPEC): If -noasmopt, don't pass -O2. - * config/mips/iris3.h: Likewise. + * cp-decl.c (grokfndecl): Be more verbose in complaint about applying + method qualifiers to non-methods. - * config/nextstep.h (INCLUDE_DEFAULTS): Put /usr/include/bsd last. + Wed Nov 17 09:51:04 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * config/alpha/alpha.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): - Use hex if infinite, nan, or minus zero. + * cp-parse.y (attrib): Accept "noreturn" attribute. - * real.c (target_isnan): Use GET_REAL macro to get argument. - (ereal_to_int): Fix potentially wrong-endian argument passed to eisnan. + Tue Nov 16 12:28:49 1993 Jason Merrill (jason@deneb.cygnus.com) -Fri May 21 14:24:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-decl2.c (grokoptypename): Fix handling of udc's. - * config/nextstep.h (INCLUDE_DEFAULTS): Add /usr/include/bsd. + * cp-method.c (build_component_type_expr): Ditto. - * cccp.c (default_include): Put TOOL_INCLUDE_DIR after - LOCAL_INCLUDE_DIR in non-cross case. + * cp-class.c (finish_struct_methods): Be more verbose in complaint + about overloaded operator delete. - * real.c (emdnorm): Fix typo affecting roundoff behavior in XFmode. + * cp-decl.c (grok_op_properties): Do more checking on operators. + (grokdeclarator): Remove check for ops being members, fix handling + of user-defined conversions. + (grokfndecl): Remove checks for ops, move call to grok_op_properties + up. + (finish_decl): Remove check for ops with default arguments. + (ambi_op_p): New fn, name for either unary or binary op + (unary_op_p): New fn, checks name for unary op - * config/m68k/amix.h (CPP_PREDEFINES): Add -D__svr4__. - (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): - New override definitions. + Mon Nov 15 12:38:54 1993 Brendan Kehoe (brendan@rtl.cygnus.com) - * collect2.c (main) [CROSS_COMPILE]: Use TARGET-TOOL for full_... + * g++.c (main): If they gave us -v, also show the invocation of the + gcc driver. - * collect2.c (main): For -debug, if ..._file_name is a null pointer, - say so instead of crashing. + Mon Nov 15 12:04:47 1993 Jason Merrill (jason@deneb.cygnus.com) - * m68k.md (cmpxf2 recognizer): Test SGS_CMP_ORDER, not HPUX_ASM. + * cp-decl.c (grokdeclarator): Lose "operator ". - * c-common.c (constant_expression_warning) - (overflow_warning, convert_and_check): Change pedwarn to warning. + * cp-method.c (build_component_type_expr): Ditto. - * 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. + * cp-decl2.c (grokoptypename): Ditto. - * protoize.c (add_symbol, unexpand_if_needed, abspath): - Supply missing arg to savestring. + Make C++ accept template parameters as type names; for example, + doing `template A {...}'. - * Makefile.in (info, dvi): New targets. + * cp-pt.c (end_template_parm_list): Fix a bug in gs4t's patch. + (grok_template_type): Simplify. -Fri May 21 10:28:41 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * cp-typeck.c (build_modify_expr_1): Give error if trying to + get default operator= for class where you can't. - * cp-pt.c (subst): Don't use a method's arguments unless it has some. + * cp-decl.c (duplicate_decls): Uniformify, fix redeclaration of + builtins. -Fri May 21 11:51:20 1993 Kresten Krab Thorup (krab@iesd.auc.dk) + Sat Nov 6 19:06:25 EST 1993 Gnanasekaran Swaminathan (gs4t@virginia.edu) - * objc/sarray.h (sarray_get): Add #ifdef case for - !defined(PRECOMPUTE_SELECTORS) and OBJC_SPARSE2. - * objc/sarray.c (sarray_at_put): Likewise. + * cp-pt.c (begin_template_parm_list): pushdecl here so that we + can push TEMPLATE PARAMETERS as type names. + (process_template_parm): build_lang_decl for TEMPLATE + PARAMETERS here. + (grok_template_type): New function. get the actual type of a + TEMPLATE PARAMETER. + (coerce_template_parms): delete pushdecl as it is moved (see + above). Don't build type decls for TEMPLATE PARAMETERS as it is + built above. -Fri May 21 00:51:10 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * configure (mips-*-ultrix*): Renamed from mips-dec-ultrix*. - -Thu May 20 23:16:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * reload1.c (choose_reload_regs): Handle earlyclobbers - when inheriting from reg_last_reload_reg. - -Thu May 20 13:59:16 1993 Doug Evans (dje@canuck.cygnus.com) - - * Makefile.in (install-dir): Fix syntax, make tooldir before assertdir. - -Thu May 20 08:52:30 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * gstddef.h [_ANSI_H_]: Handle __need_size_t and __need_wchar_t. - - * fixincludes (Fixing CTRL): Reject CTRL or _CTRL following digit. - - * enquire.c (F_check): Check NO_LONG_DOUBLE_IO. - -Wed May 19 23:18:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * config/i386/x-isc3 (X_CFLAGS): Delete -DPOSIX_JC. - - * real.c (e24toe, e53toe, e64toe): Fix sign in conversions - of -infinity. Do eclear before einfin. - -Wed May 19 15:37:20 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - - * va-sparc.h (va_dcl): Restore accidentally deleted __builtin_va_alist - declaration. - - * objc-act.c (handle_class_ref): Call assemble_constant_align - before output_constant. - * varasm.c (assemble_constant_align): New function. - -Wed May 19 13:40:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * config/i860/x-sysv4 (X_CFLAGS): Deleted. - - * configure (i[34]86-*-isc*): If version is 3, use x-isc3. - * config/i386/x-isc3: New file. - -Mon May 19 21:47:49 1993 Jeff Law (law@snake.cs.utah.edu) - - * 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. - - * pa.h (FUNCTION_ARG_REGNO_P): Account for registers which may - be unavailable on particular cpu models. Fix indentation. - -Wed May 19 13:13:42 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * loop.c (scan_loop): Treat pseudo duplicated for exit tests just - like we treat user vars in seeing if we can move a SET. - - * 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. - - * 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 18 16:31:06 1993 Torbjorn Granlund (tege@nada.kth.se) - - * pa.h (INITIALIZE_TRAMPOLINE): Make 2:nd flush, end_addr, - at the last real insn in the trampoline. - -Tue May 18 13:35:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Makefile.in (assertdir): use $(tooldir)/include for this. - (install-dir): Always create assertdir and tooldir. - - * config/arm/arm.md (add/asl recognizer): Use space, not #, after asl. - Shuffle operands differently. - - * objc-act.c (synth_module_prologue): Set TREE_PUBLIC in umsg_decl. - - * Makefile.in (infodir): New variable. - (install-dir): Create that dir. - (install-info): New rule. - (install-normal): Depend on install-info. - - * fixincludes: Use $file. rather than $file.sed - when $file is or might be more than 10 characters long. - - * config/i386/isc.h (LIB_SPEC): Handle -posix before -shlib. - - * config/mips/x-sony: New file. - * configure (mips-sony-bsd*): Use x-sony. - - * Makefile.in (local_prefix): Do not default from $(prefix). - -Tue May 18 09:28:02 1993 Chris Smith (csmith@convex.com) - - * convex.c (replace_pushes, emit_ap_optimizations): Delete. - -Mon May 17 18:07:53 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * fixinc.svr4 (ieeefp.h): Delete definitions of __mips and __m68k. - -Mon May 17 17:00:00 1993 DJ Delorie (dj@ctron.com) - - * configure.bat: Fix sed for version.c to handle both with - and without spaces correctly (MS-DOS). - -Mon May 17 12:26:55 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - - * rtl.c (init_rtl): Correct number of 'w's in CONST_DOUBLE format. - -Mon May 17 00:07:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Version 2.4.0 released. - - * Makefile.in (extraclean): Remove junk from objc subdir. - - * fixinc.svr4 (ieeefp.h): Delete definitions of __i860 and __m88k. - - * mips/iris4.h (ASM_OUTPUT_ASCII): New overriding definition. - - * 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. - - * gvarargs.h, gstdarg.h [__svr4__ __i860__]: - Define _VA_LIST only if not defined already. - -Mon May 17 00:40:36 1993 James Van Artsdalen (james at bigtex.cactus.org) - - * 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. - -Sun May 16 19:25:38 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - - * unroll.c (initial_reg_note_copy, final_reg_note_copy): New functions. - (copy_loop_body): Use new function to copy REG_NOTES. - -Sun May 16 13:03:58 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Makefile.in (extraclean): Delete junk in subdirs of config. - (distclean): Delete {c,cplus,objc}-parse.output. - - * reorg.c (find_end_label): Update insn after calling emit_jump_insn. + Mon Nov 15 12:04:47 1993 Jason Merrill (jason@deneb.cygnus.com) - * fixinc.svr4 (ieeefp.h): Delete `#define __sparc' also. + * cp-decl.c (duplicate_decls): If a function has been declared with + explicit language linkage, redeclaring (or defining) it without + is OK. -Sun May 15 01:37:19 PDT 1993 Ron Guilmette (rfg@netcom.com) + Fri Nov 12 15:30:27 1993 Jason Merrill (jason@deneb.cygnus.com) - * fixinc.svr4 (ieeefp.h): Delete `#define __i386' line. + * cp-lex.c (operator_name_string): Fix handling of __ad__foo. -Sat May 15 10:11:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-error.c (dump_decl): Handle demangling of vtable names. - * math-68881.h: Add conditional against multiple inclusion. + * cp-tree.c (lang_printable_name): Pass everything to decl_as_string, + not just functions. - * gvarargs.h [__svr4__ __i860__] (_VA_LIST): Do define. - * gstdarg.h: Likewise. + * cp-decl2.c (check_classfn): Use cp_error. - * toplev.c (compile_file): If support dbx output, - always output 0 at start of text section. + * cp-error.c (dump_decl): Fix IDENTIFIER_TYPENAME_P case. - * cp-tree.h (error_not_base_type): Fix typo in decl. + * cp-method.c (build_decl_overload): Propagate IDENTIFIER_OPNAME_P + to mangled identifier. -Sat May 15 09:08:23 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * cp-type2.c (my_friendly_abort): Add "confusion" message for + abort after earlier errors. - * expr.c (expand_assignment): Fix error in last change. + Wed Nov 10 18:39:17 1993 Jason Merrill (jason@deneb.cygnus.com) - * rs6000.md (movqi, movhi, movsi): Make sure that address returned - from force_const_mem is valid. + * cp-decl2.c (lang_decode_option): Include warn_enum_clash among + -Wall. - * i860.h (INITIALIZE_TRAMPOLINE): Don't make improper SUBREGs - and ensure that CXT and FNADDR are in registers. + Wed Nov 10 16:18:19 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * convex.c (insert_ap_loads): Initialize AP_IS_LIVE to 0 at - start of both loops, not just first one. + * Makefile.in (stamp-cp-parse): Update counts. - * convex.h (REGNO_REG_CLASS): Don't call abort; it will cause - a compilation error as written and isn't done elsewhere. + Wed Nov 10 15:27:12 1993 Jason Merrill (jason@deneb.cygnus.com) - * 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. + * cp-errfn.c (cp_thing): Allow cp_*_at to use an arbitrary argument, + not just the first, by using, for instance, `%+D'. - * expr.c (expand_assignment): Always return a result that has - the mode of TO. + Mon Nov 8 13:50:49 1993 Jason Merrill (jason@deneb.cygnus.com) - * rs6000.c (rs6000_makes_calls): If profiling, say we make calls. + * cp-error.c (language_as_string): New function for printing language + context. Corresponds to %L. -Sat May 15 00:38:22 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Mon Nov 8 10:39:28 1993 Jason Merrill (jason@deneb.cygnus.com) - * va-mips.h (va_arg) [__MIPSEB__]: - After incrementing, subtract the rounded size, not the size proper. + * cp-pt.c (reinit_parse_for_template): Use inline_text_obstack + instead of permanent_obstack so that yylex() doesn't clobber the + growing object. - * config/i860/x-sysv4 (X_CFLAGS): Defined. - (GCC_CFLAGS): Definition deleted. + * cp-lex.c (reinit_parse_for_block): Overhaul to reduce code size by + half and make #line directives in template definitions work. - * final.c (output_addr_const): Don't printing leading zeros. + Sun Nov 7 15:19:28 1993 Jason Merrill (jason@deneb.cygnus.com) -Sat May 15 06:18:43 1993 James Van Artsdalen (james at bigtex.cactus.org) + * cp-pt.c (instantiate_class_template): if (!setup_parse), don't + mess with lineno and input_filename. - * reload1.c (reload): Don't start 2-group unless it could be finished. + Mon Nov 1 18:15:59 1993 Kung Hsu (kung@cirdan.cygnus.com) -Sat May 15 12:23:58 1993 Torbjorn Granlund (tege@nada.kth.se) + * cp-cvt.c(convert_to_reference): Fix when pass ref to array as + initializer, the argument type is convert to pointer and the type + in the field of the class should also convert to pointer. - * alpha.c (output_prolog): Change (sp) to ($30). + Fri Nov 5 11:57:41 1993 Jason Merrill (jason@deneb.cygnus.com) - * pa.h (TRAMPOLINE_TEMPLATE): Change .long to .word; split into - two lines. + * cp-pt.c (instantiate_template): Work properly with + -fexternal-templates. -Fri May 14 18:09:31 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-lex.c (extract_interface_info): #if 0 out earlier + tinst_level work pending further work. - * gcc.c (option_map): Renamed --version to --use-version. + Fri Nov 5 07:39:00 1993 Michael Tiemann (tiemann@blues.cygnus.com) -Fri May 14 17:20:21 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * cp-search.c (compute_visibility): Don't lose access to public + members from base classes of base classes. - * 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. + * cp-typeck.c (convert_for_assignment): Allocate enough space in + LHSBUF for the null terminiator. - * 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. + Tue Nov 2 07:20:03 1993 Michael Tiemann (tiemann@blues.cygnus.com) -Fri May 14 16:12:28 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * cp-decl2.c (build_push_scope): Don't push the scope for + ptr-to-method declarations. Also, clarify some comments. - * configure (hppa1.1-*-hpux*): Use CPIO for headers, just like - other HPUX configs. - (hppa1.1-*-hpux8.02*): Likewise. + * cp-parse.y (abs_member_declarator): Add `see_typename' epsilon + rule so that parser can recognize ptr-to-member functions. -Fri May 14 16:35:22 1993 Ian Lance Taylor (ian@cygnus.com) + Mon Nov 1 18:15:59 1993 Kung Hsu (kung@cirdan.cygnus.com) - * reorg.c (fill_slots_from_thread): If try_split split new_thread, - update it to the new value. + * cp-cvt.c(convert_to_reference): Fix when pass ref to array as + initializer, the argument type is convert to pointer and the type + in the field of the class should also convert to pointer. -Fri May 14 13:42:39 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + Mon Nov 1 11:06:39 1993 Jason Merrill (jason@deneb.cygnus.com) - * configure (hp700-hpux8.02): New target. - * pa1-oldas.h: New target for 1.1 machines running HPUX 8.02. + * cp-errfn.c: Don't include . + Don't use the return value of strcpy. -Fri May 14 13:23:51 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + Sun Oct 31 22:32:05 1993 Jason Merrill (jason@deneb.cygnus.com) - * 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. + * cp-call.c (build_scoped_method_call): Return (void)0 if trying to + call a nonexistent destructor. -Fri May 14 12:28:51 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-parse.y (object): Support p.~int(). - * c-typeck.c (default_conversion): - Don't replace iterator with its initial value. + * cp-error.c (dump_expr): Handle error_mark_node better. - * config/i386/svr3gas.h: Added two pages at end, with macros - copied from config/svr3.h and i386/sysv3.h. + Sat Oct 30 21:49:00 1993 Jason Merrill (jason@deneb.cygnus.com) - * config/m68k/tower-as.h (PRINT_OPERAND): Handle CODE == '/'. - * hp320.h, mot3300.h, news.h, crds.h: Likewise. + * cp-parse.y (primary): Support p->~int(). -Fri May 14 15:44:45 1993 Kresten Krab Thorup (krab@xiv.iesd.auc.dk) + Fri Oct 29 18:09:12 1993 Mike Stump (mrs@cygnus.com) - * objc/init.c (__objc_init_protocols): Don't complain if a - protocol object is attempted resolved twice. + * cp-type2.c (build_functional_cast): Don't delete things twice. -Fri May 14 00:51:38 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + Thu Oct 28 15:35:55 1993 Jason Merrill (jason@deneb.cygnus.com) - * pa.h (CPP_SPEC): Correct specs so that _PA_RISC1_1 is only - defined when generating code for 1.1 machines regardless of the - default target. + * cp-tree.h (struct tinst_level): The template instantiation level + structure. Used by the code described below. -Thu May 13 21:47:55 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * cp-pt.c (push_tinst_level): New function for remembering file + context when instantiating templates. Stores the identifier as well, + for error reporting. + (pop_tinst_level): Da opposite. + (tinst_for_decl): Returns a pointer to the tinst_level structure to + use for determining which file to associate the current DECL with, or + NULL to use the current file and line. To restore the old behavior, + just change this function to "return 0;". + (instantiate_class_template): push_tinst_level. - * rs6000.md (fix_truncdfsi2, fixuns_truncdfsi2, trunc_call): Fix - typo in mode of FIX and UNSIGNED_FIX rtl. + * cp-parse.y (tmplate_instantiate_once): pop_tinst_level() after + instantiating member templates. - * reorg.c (reorg_redirect_jump): New function. - Call it in most places instead of redirect_jump. + * cp-lex.c (extract_interface_info): If instantiating a template, + set up interface/implementation according to the spot in the user's + code that triggered the instantiation. -Thu May 13 17:01:05 1993 Jim Wilson (wilson@sphagnum.cygnus.com) + * cp-pt.c (tsubst): Associate the FUNCTION_DECL with the spot in the + user's code that triggered the instantiation. *Currently disabled* - * caller-save.c (restore_referenced_regs): New variable saveregs - which is number of regs to save at a time, instead of numregs, - which is total number of registers to save. + * cp-class.c (finish_struct): If we're instantiating a template, + associate the TYPE_DECL with the spot in the user's code that + triggered the instantiation. *Currently disabled* -Thu May 13 08:28:22 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-pt.c (coerce_template_parms): Do extra checking on the template + parms, since templates are more picky than initializers. - * Makefile.in (OBJC, OBJECTIVE-C): Don't depend on objc-runtime. + Wed Oct 27 17:06:54 1993 Jason Merrill (jason@deneb.cygnus.com) - * dbxout.c (dbxout_parms): Don't output a parm if it's a mem - that has a constant address. + * cp-parse.y (datadef): Don't override a template with a forward + declaration of a template class. - * config/pa/x-pa (TAROUTOPTS): Overridden. - * config/m68k/x-hp320,x-hp320g (TAROUTOPTS): Overridden. + Tue Oct 26 17:54:12 1993 Kung Hsu (kung@cirdan.cygnus.com) - * Makefile.in (TAROUTOPTS): New variable. - (install-headers-tar): Use TAROUTOPTS. + * cp-parse.y (component-declarator0): fix bit field name same as type + name syntax error. - * 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. + Tue Oct 26 16:07:29 1993 Mike Stump (mrs@cygnus.com) - * objc/runtime.h: Include gstdarg.h before stdio.h. + * cp-cvt.c (build_up_reference): Fix typo, fixes core dump on bad + code. - * Makefile.in (libobjc.a): Depend on EXTRA_PARTS. + Tue Oct 26 11:52:09 1993 Jason Merrill (jason@deneb.cygnus.com) -Wed May 13 18:33:26 1993 Torbjorn Granlund (tege@nada.kth.se) + * cp-error.c (dump_function_decl): Only print default arguments + if verbose. + (dump_type): Ditto. - * arm.h: Declare output_arithmetic_with_immediate_multiply. + Mon Oct 25 22:18:05 1993 Per Bothner (bothner@kalessin.cygnus.com) - * arm.md (combined mult/arithmetic recognizers): Switch on. - Add special pattern for reload. + * cp-typeck.c (c_sizeof, build_c_cast): Re-enable Salzenberg's + July 10 change (set TREE_OVERFLOW as well as TREE_CONSTANT_OVERFLOW). - * arm.md (restorehi): Use SImode for address. - (storehi): Use SImode for address and address computation. - (storeinthi): Likewise. + Mon Oct 25 18:53:08 1993 Jason Merrill (jason@deneb.cygnus.com) -Wed May 12 22:47:35 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-pt.c (instantiate_class_template): Don't do the + push_template_decls thang if !setup_parse; the binding level + never gets popped. - * 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. + Mon Oct 25 11:54:34 1993 Kung Hsu (kung@cirdan.cygnus.com) -Wed May 12 14:18:36 1993 John Hassey (hassey@dg-rtp.dg.com) + * cp-method.c (hack_identifier): fix seg fault when an + external variable does not have class context. - * m88k.h (REG_OK_FOR_BASE_P REG_OK_FOR_INDEX_P): Don't - use extended registers for base or index. + Sun Oct 24 19:01:15 1993 Michael Tiemann (tiemann@blues.cygnus.com) -Wed May 12 14:48:00 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * cp-spew.c (scan_tokens): Test for ';' in first pre-scan of the + tokens. - * unroll.c (copy_loop_body): Delete May 10 change. + Fri Oct 22 23:46:17 1993 Jason Merrill (jason@deneb.cygnus.com) -Tue May 11 20:20:41 1993 James Van Artsdalen (james at bigtex.cactus.org) + * cp-tree.c (get_decl_list): When consing up CLASSTYPE_ID_AS_LIST, + don't assume that `value' is a reasonable identifier to use. + (list_hash_lookup_or_cons): Ditto. - * tree.c (real_value_from_int_cst): Use temporary variable `e' to - work around bugs in 386 PCC. + * cp-error.c (dump_decl, CONST_DECL): Pass off non-enum cases to + dump_expr. + (dump_expr): Pass off DECLs to dump_decl. -Tue May 11 16:50:54 1993 Michael Meissner (meissner@osf.org) + Fri Oct 22 20:57:46 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) - * mips/iris3.h, mips/mips.h, mips/news4.h, mips/nws3250v4.h, - mips/ultrix.h (ASM_SPEC): Pass appropriate -g switch to the - assembler for -gstabs, -gstabs+, -ggdb, and -gcoff - switches. + * cp-errfn.c (STRDUP): Change to comma expr for bdmaged cc's. + (cp_thing): Add decl for ap, initialize fmt later. - * local-alloc.c (block_alloc): Don't dereference a NULL pointer. + Fri Oct 22 17:15:01 1993 Jason Merrill (jason@deneb.cygnus.com) -Tue May 11 12:09:37 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-error.c (dump_decl): Handle CONST_DECLs for enum tags. - * tree.c (build_array_type): Delete the code to set TYPE_MAIN_VARIANT. - * c-decl.c (complete_array_type): Likewise. + * cp-type2.c (my_friendly_abort): Move abortcount to global level. -Tue May 11 11:40:14 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * cp-search.c (dfs_pushdecls): Be more helpful in shadowing warning. - * pa.c (emit_move_sequence): Handle secondary reloads for loads of - FP registers from constant expressions. + * cp-pt.c (mangle_class_name_for_template): If the last template + parameter was also a template class, insert a space so that + the mangled name can be used as input for the compiler (i.e. + with default_copy_constructor_body). - * pa.h (CONSTANT_ADDRESS_P): Accept symbolic addresses during - and after reload. + Fri Oct 22 16:40:27 1993 Mike Stump (mrs@cygnus.com) -Tue May 11 07:26:06 1993 Richard Kenner (kenner@mole.gnu.ai.mit.edu) + Handle constructors in templates better. - * reorg.c (mostly_true_jump): Jump is forward if TARGET_LABEL is - zero; don't try to get INSN_CODE of zero. + * cp-call.c (build_method_call): Use constructor_name_full instead + of constructor_name. + * cp-cvt.c (convert_to_reference, convert, build_type_conversion_1, + build_type_conversion): Ditto. + * cp-decl.c (make_temporary_for_reference, grok_reference_init): + Ditto. + * cp-init.c (expand_default_init, expand_aggr_init_1, build_new): + Ditto. + * cp-typeck.c (build_modify_expr_1, convert_for_initialization): + Ditto. + * cp-search.c (lookup_field, lookup_fnfields): Check for short + constructor name, as that is how we store it. + * cp-decl2.c (constructor_name_full): New routine. + * cp-tree.h (constructor_name_full): Declare it. + * cp-call.c (build_method_call): Check for either short or the full + constructor name. -Tue May 11 00:44:09 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Wed Oct 20 17:17:37 1993 Jason Merrill (jason@deneb.cygnus.com) - * tree.c (build_array_type): - Don't change TYPE_MAIN_VARIANT if incomplete (domain not known). + * cp-tree.h: Declare code_as_string. - * real.c (enan): Add forward decl. + * cp-error.c (code_as_string): New function, translates + enum tree_code into a string. Very incomplete at the moment. -Mon May 10 20:32:12 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * cp-decl.c (lookup_tag): Use cp_error more. - * unroll.c (copy_loop_body): Copy REG_NOTES during main loop - instead of afterwards. + Tue Oct 19 16:39:20 1993 Jason Merrill (jason@deneb.cygnus.com) -Mon May 10 17:36:31 1993 Richard Kenner (kenner@vlxisi1.ultra.nyu.edu) + * cp-error.c (dump_type_prefix): Do the prefix/suffix thang for + ARRAY_TYPE nodes. - * alpha.c (output_epilog): Fix minor error in instructions used - to restore stack pointer. + Thu Oct 14 23:56:34 1993 Jason Merrill (jason@deneb.cygnus.com) -Mon May 10 15:59:41 1993 Michael Meissner (meissner@osf.org) + * cp-gc.c (build_dynamic_cast): Avoid doing runtime work if possible. + (build_typeid): Add logic. - * 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. + Thu Oct 14 10:56:43 1993 Jason Merrill (jason@deneb.cygnus.com) -Mon May 10 12:14:07 1993 John Hassey (hassey@dg-rtp.dg.com) + * cp-gc.c (build_typeid): New function, allegedly returns the + Type_info object for the type of an expression, currently does + nothing. + (get_typeid): New function, allegedly returns the Type_info object + for a _TYPE node, currently does nothing. + (build_dynamic_cast): New function, supposedly implements + run-time checked casting, currently only does what can be done + at compile time. - * m88k.h (TRAMPOLINE_TEMPLATE): Fixed invalid bsr insn. + * cp-parse.y (.kindof_pushlevel): Only push first decl (the variable). + (primary): Add dynamic_cast and typeid expressions. + (simple_if): Use partially_scoped_stmt again. + Makes 'if' condition work. -Mon May 10 11:55:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-error.c (expr_as_string): Suppress parens on initial call + to dump_expr. - * 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. + * cp-tree.h: Add decls for Type_info_type_node, build_typeid, + get_typeid and build_dynamic_cast. - * 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. + * gplus.gperf: Add typeid and dynamic_cast. -Mon May 10 11:53:02 1993 Steve Chamberlain (sac@wookumz.gnu.ai.mit.edu) + * cp-spew.c (init_spew): Ditto. - * sh.md (movstrsi): Take alignment into account. - * sh.c (shift_value_ok): Can't shift by negative values. + Wed Oct 13 19:15:21 1993 Jason Merrill (jason@deneb.cygnus.com) -Mon May 10 11:49:48 1993 Michael Meissner (meissner@osf.org) + Partial implementation of Stroustrup's proposal for declarations in + conditions from X3J16/92-0121. - * va-mips.h (va_arg): Use __alignof__ instead of __alignof. + * cp-parse.y (paren_cond_or_null): New rule, use condition instead + of expr. + (xcond): Ditto. + (condition): New rule, used in the condition parts of if, while, for + and switch statements. Allows a restricted set of declarations of + the form "type_specifier declarator = expression". + (.kindof_pushlevel): Like pushlevel, but pushes all of the decls + from the previous binding level into the new one too. + (partially_scoped_stmt): Like implicitly_scoped_stmt, but uses + .kindof_pushlevel instead of .pushlevel. + (simple_if): .pushlevel before condition. + (simple_stmt, simple_if ELSE): Ditto, pop binding level. + (simple_stmt, simple_if): Ditto. + (simple_stmt, WHILE): Ditto. + (simple_stmt, forhead.1): .pushlevel before condition, use xcond + instead of xexpr, pop binding level. + (simple_stmt, forhead.2): Use xcond instead of xexpr, always pop + binding level. + (simple_stmt, SWITCH): .pushlevel before condition, etc, etc. + (forhead.2): always .pushlevel. + (datadef): Use cp_error more. + (simple_stmt, CASE): Ditto. - * cp-decl.c (finish function): Add missing ';'. + * cp-decl2.c (pushdecls): New function, push all decls in the chain + into the current scope. -Mon May 10 00:54:16 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Wed Oct 13 12:31:58 1993 Mike Stump (mrs@cygnus.com) - * objc/runtime.h: Include gstdarg.h, not stdarg.h. + * cp-decl.c: Remove redefinition of NULL, as some machines don't + like it. Clean up all NULL uses. - * libgcc2.c (__floatdisf): Use DFtype for intermediate values. + Mon Oct 11 17:21:08 1993 Kung Hsu (kung@cirdan.cygnus.com) - * tree.c (real_value_from_int_cst): - If I is unsigned, use REAL_VALUE_FROM_UNSIGNED_INT. + * cp-decl2.c (finish_file): Fix libg++ build problem of mismatch + blocks. - * config/m68k/m68k.c (output_move_double): Use operand 0 to get SIZE. + Mon Oct 11 13:51:05 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * reload.c (find_equiv_reg): Set goal_mem_addr_varies - for all but true constant addresses. + Mon Oct 4 11:49:48 1993 Chip Salzenberg (chip@fin.uucp) -Sun May 9 17:53:52 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-typeck.c (build_modify_expr): Check whether recursive calls + return error_mark_node. - * config/sparc/sparc.h (SIZE_TYPE): Deleted. + Mon Oct 4 12:41:16 1993 Chip Salzenberg (chip@fin.uucp) - * fixincludes: When finding SIZE_TYPE, cd to ${LIB} to run cc. - (memory.h): Don't try to read it if it doesn't exist. + * cp-class.c (finish_struct): Too-long bitfield is an error. + * cp-decl.c (grokdeclarator): "inline main()" is an error. + (grok_op_properties): Overloaded ?: is an error. + (start_enum): Duplicate enum definition is an error. - * 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. + Mon Oct 4 12:45:11 1993 Chip Salzenberg (chip@fin.uucp) - * real.c (mtherr): Don't put newlines in error message string. + * cp-typeck.c (common_type): Use TYPE_MAIN_VARIANT when preferring + long int to int (when width is the same). - * real.h (REAL_VALUES_LESS): True if return value of ereal_cmp is -1. + Mon Oct 4 12:46:54 1993 Chip Salzenberg (chip@fin.uucp) -Sun May 9 17:34:06 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * cp-typeck.c (convert_for_assignment): Mismatch in signedness + of pointer targets should not inhibit warnings for const mismatch. - * cp-decl.c (finish_function): Don't do anything if we haven't got a - current_function_decl. + Mon Oct 4 12:53:04 1993 Chip Salzenberg (chip@fin.uucp) - * cp-pt.c (tsubst): Don't assert if IN_DECL is null. - (coerce_template_parms): Likewise. + * cp-typeck.c (default_conversion): Convert to unsigned int + if original type is unsigned and of greater or equal size. - * cp-type2.c (process_init_constructor): Fix argument passing to - initializer_constant_valid_p. + Mon Oct 11 13:19:42 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Sun May 9 10:47:05 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-decl.c (build_enumerator): Call default_conversion on the VALUE + before calling constant_expression_warning. - * c-decl.c (complete_array_type): - Make maxindex -1 for empty constructor. + Mon Oct 11 10:21:37 1993 Kung Hsu (kung@cirdan.cygnus.com) - * 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. + * cp-decl.c (finish_function): fix the mismatch LBB LBE block + problem, specifically when compiler generated + destructor/constructor (pr2972) + * cp-decl2.c (finish_file): same as above + * cp-parse.y (compstmt): same as above - * 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. + Mon Oct 11 01:08:09 1993 Jason Merrill (jason@deneb.cygnus.com) - * config/m68k/m68k.md (mulhisi3, umulhisi3 matchers): - Restrict range of constants allowed. - -Sun May 9 13:31:35 1993 CET Kresten Krab Thorup (krab@iesd.auc.dk) - - * objc/hash.h, objc/objc.h, objc/sarray.h (gstddef.h): - Conditionally include gstddef.h or stddef.h by IN_GCC. - -Sun May 9 00:51:33 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * reload.h: Fix unterminated comment. - - * objc-act.c (string_section): Delete comma before close-brace. - -Sat May 8 23:49:50 1993 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. - -Sat May 8 23:19:11 1993 Kaveh R. Ghazi (ghazi@caip.rutgers.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. - -Sat May 8 10:40:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * 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. - - * config/i386/next.h (ASM_GENERATE_INTERNAL_LABEL) - (ASM_OUTPUT_INTERNAL_LABEL): Don't include a `.' in the label name. - (LPREFIX): Likewise. - - * 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) - - * reload1.c (forget_old_reloads_1): Accept and ignore 2nd arg. - (reload_as_needed): Pass that second arg. - - * c-parse.in: For Objc, expect just 20 conflicts. - - * objc-act.c (OBJC_GEN_METHOD_LABEL): Do use CAT_NAME. - - * config/i386/i386.md (extendsidi2): Use cdq or cltd, not cwtl. - - * configure (i[34]86-*-bsd): Don't use collect2. - - * c-typeck.c (convert_for_assignment): Don't use convert_and_check - when handling arithmetic types here. - - * c-common.c (truthvalue_conversion): Turn off Apr 29 change. - -Thu May 6 05:44:23 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * reload.c (find_equiv_reg): Don't look inside a CONST_DOUBLE; - use operand_subword instead. - - * varasm.c (record_constant): Properly make the header of - a struct constant_descriptor. - - * function.c (walk_fixup_memory_subreg): Add new arg UNCRITICAL. - (fixup_var_refs_insn): Call with UNCRITICAL of 1 when processing - REG_NOTES. - - * integrate.c (expand_inline_function): Don't call convert_to_mode - unless we need to; some converstions of VOIDmode objects can - mess them up. - - * expmed.c (store_split_bit_field): Properly handle VALUE when - it is a CONST_DOUBLE. - - * fold-const.c (decode_field_reference): Don't do anything for - non-integral fields. - - * cse.c (simplify_binary_operation, simplify_relational_operation): - Check for MODE_CC modes, not just CCmode. - -Thu May 6 00:54:40 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - - * objc/class.c, objc/hash.c: Change calloc to __objc_xcalloc. - * objc/objects.c (class_create_instance): bzero new instances - - * objc/sendmsg.c (__objc_send_initialize, class_add_method_list): - Allow multiple +initialize methods per class. - -Wed May 5 21:40:04 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * config/i386/sequent.h (LINK_LIBGCC_SPECIAL): #if 0. - - * toplev.c (main): Improve error message in previous change. - -Wed May 5 19:36:15 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * combine.c (combinable_i3pat): Do not make REG_DEAD notes for - the stack pointer, frame pointer, or arg pointer. - -Wed May 5 17:57:30 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * config/i386/sequent.h (LINK_LIBGCC_SPECIAL): Defined. - -Wed May 5 00:01:57 PDT 1993 Ron Guilmette (segfault!rfg@netcom.com) - - * expr.h: Fix comment typos. emit_block_move decl was hidden. - - * toplev.c (main): If C++ for Dwarf requested, warn and turn it off. - -Wed May 5 21:48:24 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - - * objc-act.c (check_methods_accessible): Handle interface types. - -Wed May 5 14:37:42 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * fold-const.c: (optimize_bit_field_compare): Add missing arg - to const_binop. - - * reg-stack.c (record_asm_reg_life): Don't abort for asm that - doesn't match its constraints. - - * combine.c (num_sign_bit_copies, case SUBREG): Properly compute - the number of sign bit copies of SUBREGs of promoted objects. + * cp-error.c (dump_type_suffix): Cope with arrays with unspecified + bounds. - * 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. + Thu Oct 7 19:35:26 1993 Jason Merrill (jason@deneb.cygnus.com) -Wed May 5 14:11:12 1993 Ian Lance Taylor (ian@cygnus.com) + * cp-error.c: Deal with printing out array DECLs properly. + Use dump_char for printing out string literals, too. - * 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. +Tue Nov 23 18:08:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed May 5 11:34:59 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * dwarfout.c (function_start_label): New function. + (output_entry_point_die): Use it. + (output_global_subroutine_die, output_local_subroutine_die): Use it. - * toplev.c (flag_defer_pop): Initialize to 0. - (main): Set it to 1 if optimizing. + * c-common.c (check_format_info): Always use TYPE_MAIN_VARIANT + when comparing cur_type against wanted_type. -Wed May 5 06:38:47 1993 Tom Wood (wood@hal.gnu.ai.mit.edu) + * protoize.c (save_def_or_dec): If function's aux info doesn't end + with a closeparen, ignore it. + (xmalloc, xrealloc): Cast result of malloc. - * configure (i[34]86-next-*, m68k-next-*): collect2 isn't needed. + * c-typeck.c (build_binary_op): Don't accept complex types + for max, min, lt, etc. -Tue May 4 14:21:11 1993 Kresten Krab Thorup (krab@xiv.iesd.auc.dk) +Tue Nov 23 18:05:14 1993 Lisa Repka (lisa@MicroUnity.com) - * 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 + * reorg.c (rare_destination): Ensure we always correctly handle + a null JUMP_LABEL. - * objc/Makefile (OBJC_H): Add typedstream.h +Tue Nov 23 17:48:39 1993 Doug Evans (dje@canuck.cygnus.com) - * 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" + * i960/i960.h (ASM_SPEC): Pass -linkrelax, not -link-relax. - * objc/typedstream.h: New file. Contents moved from - objc/objc-api.h. +Tue Nov 23 17:35:25 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) - * objc/objc.h (IvarList, Ivar, SymTab, Module, Method, - Category, Super, objc_method_description, objc_protocol_list): - Data definitions moved to objc/objc-api.h + * arm.c (arm_backwards_branch): Branching to the current insn is a + backwards branch. - * objc/archive.c: Change malloc into __objc_xmalloc +Tue Nov 23 13:59:24 1993 Hallvard B Furuseth (hbf@durin.uio.no) - * objc/objc.h, objc/sendmsg.c: Remove any code for hash lookup - * objc/cache.h: File removed + * libgcc2.a (__bb_exit_func): Fix format %*d -> %*ld. - * objc/objc-api.h (class_create_instance, object_copy, - object_dispose): Definitions moved to objc/objects.c + * c-parse.in, cp-parse.y (maybe_type_qual): Don't fail to set $$. - * objc/objc.h: Remove declarations for library functions. - * objc/Object.m (-conformsTo:): Bugfix: Also ask superclasses. +Tue Nov 23 15:26:28 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue May 4 23:46:37 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * combine.c (try_combine, simplify_shift_const): Add initializations + for some uninitialized variables. - * 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. + * c-common.c (check_format_info): When we have INTEGER_TYPEs, + save result of signed_type or unsigned_type for later + comparison with the various forms of char types. - * 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. + * expr.c (expand_expr, case SAVE_EXPR): Properly recompute the + value of UNSIGNEDP when SAVE_EXPR_RTL is nonzero and we have promoted. - * cp-cvt.c (convert_pointer_to): Only call get_base_distance et al. - on RECORD_TYPEs, not on UNION_TYPEs. +Tue Nov 23 04:14:04 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-decl.c (grokdeclarator): Don't try to divine the name of the - incomplete type for a field decl. + * dwarfout.c (output_local_subroutine_die): Use the function name + from its symbol_ref, not DECL_ASSEMBLER_NAME. -Tue May 4 19:55:29 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Mon Nov 22 13:59:41 1993 Steve Chamberlain (sac@mole.gnu.ai.mit.edu) - * combine.c (distribute_notes, REG_DEAD case): Handle hard - registers which partially overlap the destination of the insn. + * final.c (get_attr_length): asm_insn_count takes a body, not an + insn. -Tue May 4 17:59:10 1993 Jeffrey A. Law (law@snake.cs.utah.edu) +Sun Nov 21 22:37:12 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * pa.md (casesi0): Remove incorrect fix from April 23. - * pa.h (CASE_DROPS_THROUGH): Define. + * config/m68k/mot3300.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): + Use SIZE, not ROUNDED. + (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Definitions turned off. + (REGISTER_PREFIX, IMMEDIATE_PREFIX): New definitions. + (PARM_BOUNDARY): New definition. -Tue May 4 13:22:21 1993 John Hassey (hassey@dg-rtp.dg.com) +Sun Nov 21 15:39:04 1993 Tor Egge (tegge@pvv.unit.no) - * t-dgux: Fixed name of link script. + * m88k/dolph.h (SDB_ALLOW_FORWARD_REFERENCES): Define. + (SDB_ALLOW_UNKNOWN_REFERENCES): Define. + (CPP_PREDEFINES): Redefine. + (CPP_DEFAULT): Redefine. + (INITIALIZE_TRAMPOLINE): Redefine. + * m88k/dolphin.ld: New file. + * m88k/t-m88k (realclean): Remove some generated .asm files. + * m88k/x-dolph (EXTRA_PARTS): Redefined to also contain gcc.ld. + (gcc.ld): Copied from dolphin.ld. + (X_CFLAGS): Define __m88k__. + * libgcc2.c (__enable_execute_stack): Add DolphinOS version. -Tue May 4 11:15:40 1993 Steve Chamberlain (sac@wookumz.gnu.ai.mit.edu) +Sun Nov 21 01:00:40 1993 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. + * config/m68k/isi.h (LIB_SPEC): Use -lm in addition to -lc-- + not instead of -lc. -Mon May 3 20:41:00 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fix-header.c (write_rbrac): Make added declarations conditional + on __cplusplus and nothing else. + * fixproto (stdio.h): Reenable adding protos for v*printf. - * tree.c (build_array_type): The main variant of an array type - should always be an array whose element type is the main variant. + * sys-protos.h (authdes_create): Delete arg info. + We can't count on having struct sockaddr defined. -Mon May 3 19:27:04 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * fixincludes (math.h): When deleting inline sqrt and abs, + be flexible about arg name and function body. - * lite.h (CPP_PREDEFINES): Delete -Dsun and -Dunix. + * Makefile.in (stmp-fixproto): Never run fixproto twice. - * 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. +Sat Nov 20 16:52:15 1993 Jim Wilson (wilson@cygnus.com) - * c-decl.c (grokdeclarator, ARRAY_REF case): Build array type, and - then build the variant array type. + * stmt.c (warn_if_unused_value): Handle arbitrary number of casts + before a modify. - * sparc.md (floatsitf2): Output fitoq not fitox. +Sat Nov 20 16:38:25 1993 Eric Baur (eric@synnet.com) - * i960.md (scc pattterns): Add missing mode to conditional operators. - * i960.c (output_function_profiler): Add missing newlines in strings. + * i386/perform.h (perform_divsi3, perform_modsi3): Add '&' in + constraint for DX; explicitly copy arg arg1 to cx. - * c-common.c (truthvalue_conversion): Don't optimize subtract of - reals when target uses IEEE arithmetic. +Sat Nov 20 02:26:28 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-parse.in: Delete cond.awk reference. - * cond.awk: Delete file. + * expr.c (expand_builtin): For sin, cos, fsqrt, alloca, ffs, strlen, + strcpy, memcpy, strcmp, memcmp, if args are bad, use expand_call. -Mon May 3 16:58:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fix-header.c (write_rbrac): Treat rewinddir like memmove. - * c-typeck.c (digest_init): Check size properly for wide-string. +Fri Nov 19 18:24:43 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in (TEXI2DVI): New variable. - (cpp.dvi, gcc.dvi): Use it. + * protoize.c: Remove declarations for malloc and realloc. -Mon May 3 16:29:38 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * expr.c (store_field): Convert EXP to MODE before calling + store_bit_field. - * 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. + * optabs.c (expand_complex_abs): Replace some erroneous + uses of MODE with SUBMODE. -Mon May 3 21:02:22 1993 H.J. Lu (hlu@yardbird.eecs.wsu.edu) + * combine.c (force_to_mode): Don't allow sign-extension of + constants when we are narrowing things in an IOR or XOR. - * config/i386/linux.h (FUNCTION_PROFILER, ASM_OUTPUT_ADDR_DIFF_ELT): - Remove PIC stuff. We wait for the ELF support in gas and binutils. - (LINK_SPEC): Defined for -v. +Fri Nov 19 16:42:43 1993 Jim Wilson (wilson@cygnus.com) -Mon May 3 06:41:56 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rs6000.c (output_function_profiler): When TARGET_MINIMAL_TOC, + emit .long instead of .tc. - * objc/Makefile (copy-headers): Put `-' on mkdir command. +Fri Nov 19 13:22:37 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) -Sun May 2 09:28:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * configure: Let a host set truncate_target to specify that the + installation directory names must be truncated to 14 characters. + If set, truncate the target argument. - * cccp.c (macroexpand): Treat `foo ( )' as 0 args if foo wants 0 args. +Fri Nov 19 17:27:58 1993 Holger Teutsch (holger@hotbso.rhein-main.de) -Sun May 2 07:37:45 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * clipper.h (HARD_REGNO_MODE_OK): Allow any mode in general regs. + Float regs may only hold SFmode and DFmode. + (FUNCTION_ARG): Only MODE_INT and MODE_FLOAT with size <= 8 are + passed in registers. + (FUNCTION_ARG_ADVANCE): Update accordingly. + (FUNCTION_ARG_PARTIAL_NREG): Undefine. - * 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. + * clipper.md (movsf+1,2,movdf+1,2): Make 'f' preferred register class. -Sun May 2 08:57:33 1993 Michael Meissner (meissner@osf.org) +Thu Nov 18 20:09:56 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * real.c (EDOM, ERANGE): Do not define since errno.h was - previously included. + * fixincludes: When compute DOTS, convert /./ to / to avoid + accidentally converting it to /../. + * fixinc.dgux, fixinc.svr4: Likewise. -Sun May 2 08:28:15 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Nov 18 06:14:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cse.c (record_jump_cond): Use mode of op0 or op1, not MODE, - when testing for narrowing or widening subregs. + * function.c (expand_function_end): New arg END_BINDINGS. + * c-decl.c (finish_function): Pass new arg to expand_function_end. + * cp-decl.c (finish_function): Pass new arg to expand_function_end. + Don't call expand_end_bindings here. + * integrate.c (output_inline_function): + Pass new arg to expand_function_end. -Sat May 1 10:10:44 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Nov 17 18:54:21 1993 Chip Salzenberg (chip@fin.uucp) - * config/nextstep.h (WORD_SWITCH_TAKES_ARG): Fix typo. + * objc/objects.c: Include "tconfig.h" before "runtime.h". - * cse.c (simplify_binary_operation): Reject CCmode in A & (~A) -> 0. +Wed Nov 17 19:15:31 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cccp.c (macroexpand): If just whitespace between parens, - treat it as one argument. + * fixincludes (math.h): Add missing quoting of `*' when fixing + prototype of `sqr'. -Sat May 1 11:02:22 1993 H.J. Lu (hlu@yardbird.eecs.wsu.edu) +Tue Nov 16 07:15:52 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in (libobjc.a): Depend on $(USE_COLLECT2) + * alpha.h (EXTRA_CONSTRAINT): New macro. + (SECONDARY_{INPUT,OUTPUT}_RELOAD_CLASS): Disallow unaligned into float + regs. + * alpha.md (movdi): Use 'Q' instead of 'm' for FP. - * objc/Makefile (xforward): Add `else true;' for Ultrix 4.2 make. +Tue Nov 16 02:06:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sat May 1 06:49:51 1993 Tom Wood (wood@next.com) + * Version 2.5.4 released. - * objc-act.c (build_ivar_reference): Warn when a class method - refers to an instance variable. + * c-typeck.c (push_init_level): When aligning next struct field, + make sure there's another field left. -Fri Apr 30 22:37:56 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-errfn.c: Don't include string.h. + (STRDUP): Macro deleted. + (cp_thing): Copy strings "by hand". - * c-lex.c (yylex): Avoid invalid shift for erroneous empty char const. + * combine.c (force_to_mode): Don't do right-shift in a narrower mode. - * combine.c (subst, case COMPARE): Use SELECT_CC_MODE even if HAVE_CC0. +Mon Nov 15 01:54:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Apr 30 12:40:23 1993 John Hassey (hassey@dg-rtp.dg.com) + * sdbout.c (sdbout_symbol): If non-static var has static-style RTL, + don't output anything for it. - * configure, install.texi: Updated -local configuration option. + * Makefile.in (stmp-fixproto): Don't depend on xsys-protos.h. + (diff): Don't compare bi-parser.c -Fri Apr 30 15:20:10 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * news.h (NO_DOT_IN_LABEL, NO_DOLLAR_IN_LABEL): Defined. - * sparc.h (LONG_DOUBLE_TYPE_SIZE): Ifdef out. + * c-typeck.c (push_init_level, really_start_incremental_init): + Skip any nameless bitfields at start of record. + (process_init_element): Skip any nameless bitfields after the field + just processed. -Fri Apr 30 14:53:43 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) +Mon Nov 15 02:09:54 1993 Torbjorn Granlund (tege@blues.cygnus.com) - * config.sub: Fix syntax error. + * pa.h (RETURN_IN_MEMORY): Define. -Fri Apr 30 12:00:24 1993 Ian Lance Taylor (ian@cygnus.com) +Sun Nov 14 17:25:29 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * fixincludes: Fix #endif comments for Ultrix 4.2. + * expr.c (expand_expr): For TRUTH_AND_EXPR, TRUTH_OR_EXPR + and TRUTH_XOR_EXPR, if result mode doesn't match operands, + don't use subtarget. -Fri Apr 30 10:45:53 1993 Steve Chamberlain (sac@wookumz.gnu.ai.mit.edu) + * c-typeck.c (convert_for_assignment): Fix typo (codel => coder). - * 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. +Sun Nov 14 12:45:37 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Apr 29 22:20:20 1993 Jeff Law (law@kahlua.cs.utah.edu) + * function.c (assign_parms): Clear STACK_PARM when we have a + pass-by-pointer parm that we load into a pseudo. - * cse.c (cse_insn): Reset the INSN_CODE for conditional - or computed jumps which have been converted into simplejumps. + * flow.c (flow_analysis): Fix bug in previous change. -Thu Apr 29 14:30:25 PDT 1993 Ron Guilmette (rfg@netcom.com) + * fold-const.c (twoval_comparison_p): Do nothing for SAVE_EXPR, at + least for now. - * c-common.c (truthvalue_conversion): Specific error message when the - "truthvalue" of a struct, union, or array type operand is needed. + * reload.c (push_reload): Allow RELOAD_FOR_INPUT with a secondary + reload the same class as the input if the modes differ. -Thu Apr 29 21:42:26 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * expr.c (store_expr): Convert constants to proper mode in two places. - Thu Apr 29 12:27:59 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * sh.h (HAVE_VPRINTF): Delete from here. + * xm-sh.h (HAVE_VPRINTF): New macro. - * 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. +Sun Nov 14 04:28:56 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Wed Apr 28 11:50:28 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * config/i860/i860.h (SECONDARY_INPUT_RELOAD_CLASS): + Moving any kind of integer cst to float reg needs intermediate. - * 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. + * sys-protos.h (getmntent): Delete the arg decls + because BSD 4.4 and Sunos disagree on them. - * 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. +Sat Nov 13 23:06:42 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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). + * config/mips/mips.c (function_arg, function_arg_advance): + In default case, handle complex modes much like BLKmode. + (function_arg_partial_nregs): Likewise. -Thu Apr 29 19:26:21 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Nov 13 22:31:48 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * config/mips/mips.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): - Definitions put into #if 0. + * alpha.h (CPP_SPEC): Always define __LANGUAGE_C__ unless assembler. + Define __cplusplus for C++. - * c-typeck.c (build_conditional_expr): Do default_conversion - before testing for ERROR_MARK. + * alpha.md (movsf, movdf): Add 'G' to constraint for operand 1 + when operand 0 is a register and support it in alternative 0. - * 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. + * stmt.c (expand_end_bindings): Use emit_move_insn instead of + gen_move_insn in case nonlocal_goto_handler_slot is not a valid memref. - * Makefile.in (install-normal): Move install-libgcc - after $(INSTALL_HEADERS). + * flow.c (find_basic_blocks): When starting new basic block + for a CALL_INSN in the presence of nonlocal labels, don't + get confused with following CLOBBER. + (flow_analysis): Use same logic as find_basic_block to see when + the insn after a CALL_INSN starts a new basic block. -Thu Apr 29 17:09:59 1993 Ian Lance Taylor (ian@cygnus.com) + * expmed.c (store_split_bit_field): Properly load a constant VALUE + into a WORD_MODE pseudo. - * 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. +Sat Nov 13 18:27:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Apr 29 15:30:09 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * config/ns32k/ns32k.md (movsi): Handle moves to fp reg. + Handle const_double as operand 1. - * pa.md (shadd for reload): Fix constraint to match the output - pattern. + * Makefile.in (diff): Fix typo in name gcc.??s. -Thu Apr 29 15:05:05 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) +Fri Nov 12 08:34:58 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * we32k.md (float_extend:DF recognizer): Add missing arg to - output_asm_insn. - (float_truncate:SF recognizer): Likewise. + * dbxout.c (dbxout_type_field): Skip fields with variable + position and/or size instead of crashing on them. -Thu Apr 29 10:18:36 1993 Kresten Krab Thorup (krab@wombat.gnu.ai.mit.edu) +Fri Nov 12 22:49:50 1993 Pat Rankin (rankin@eql.caltech.edu) - * objc/xforward.c: File renamed from objc/_forward.c. - * objc/Makefile: Updated accordingly. + * bi-arity.c, bi-opcode.c, bi-opname.c (main): Flush stdout and + and check for errors prior to termination; end with call to exit + rather than return from main, as with gen*.c. + * bi-arity.c, bi-lexer.c, bi-opcode.c, bi-opname.c, bi-parser.y: + Use FATAL_EXIT_CODE rather than hardcoded 1 for fatal exit code. -Thu Apr 29 12:10:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Nov 12 18:41:51 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * real.c: Deleted casts to void. + * gstdarg.h, gvarargs.h: Test __bsdi__ like __BSD_NET2__. - * 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. + * pa.h (FUNCTION_ARG_BOUNDARY): Fix return value for 64bit + pass by value structures. - * Makefile.in (tooldir): Use exec_prefix, not prefix. - (gcc.o): Likewise for TOOLDIR_BASE_PREFIX. + * fix-header.c (write_rbrac): Handle v*printf like memmove. - * config/convex/convex.c (output_call): - Add missing arg to output_asm_insn. +Fri Nov 12 08:53:47 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) - * gcc.c (default_compilers): Inhibit -D__OPTIMIZE__ if -O0. + * arm.md (comparison): Don't emit invalid optimization + for (set (reg) (comparison)) and (set (reg) (neg (comparison))) + when comparison is LT. - * config/m68k/m68k.md (movxf): Add pattern for soft-float moves. + * arm.c (pattern_really_clobbers_lr): Setting a subreg of a mem is + valid and safe. - * config/m68k/m68k.c (output_move_double): Support XFmode moves. +Fri Nov 12 08:38:22 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Apr 29 00:09:34 1993 Kresten Krab Thorup (krab@wombat.gnu.ai.mit.edu) + * m68k/hpux7.h: Add directory name to #include of hp320.h. - * objc/init.c (__objc_exec_class): Added check for selectors = 0 +Thu Nov 11 00:00:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Undid the following changes: + * Version 2.5.3 released. - * 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. + * fix-header.c, gen-protos.c (fancy_abort): New function. -Thu Apr 29 00:04:11 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * c-typeck.c (mark_addressable): Handle REALPART_EXPR and + IMAGPART_EXPR. - * 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. + * integrate.h (global_const_equiv_map_size): Declared. -Wed Apr 28 18:15:57 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * dbxout.c (dbxout_symbol): If it's C++, don't check the + DECL_SOURCE_LINE of a typedef. + (dbxout_parms): Fix previous change. - * pa.h (HARD_REGNO_MODE_OK): Allow 1.0 FP registers to hold modes - which are smaller than 4 bytes. +Wed Nov 10 10:33:28 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) -Wed Apr 28 16:40:38 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * fixproto (rel_source_subdir): Prune out redundant /subdir/../ to + prevent recursion. - * Makefile.in (distdir): Copy subdirectories of config/ too, except RCS +Wed Nov 10 22:30:16 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Apr 28 16:19:18 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * config/ns32k/encore.h (ASM_OUTPUT_ASCII): Declare i. - * Makefile.in (extraclean): Delete *.z as well. +Wed Nov 10 16:18:19 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Wed Apr 28 15:10:33 1993 Michael Meissner (meissner@osf.org) + * cp-decl.c (grokvardecl): Undo change of Jan 15 1993 which + tried to implement the "one definition rule". The duplicate_decls + call in pushdecl does implement this; grokvardecl got some bad hits. - * 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. +Wed Nov 10 08:44:17 1993 Niklas Hallqvist (niklas@appli.se) - * mips/osfrose.h (CC1_SPEC): Don't pass -mgpopt here. + * cp-search.c (compute_visibility): Revert Tiemann's patch of + Nov 5. Instead check that privately inherited entities don't + get restricted visibility if the private derivation is a + shallow derivation (i.e. one leading to the most derived + class) and we're actually in the most derived class' scope. - * 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. + * cp-search.c (dfs_pushdecls): Don't be confused by the fact that + overloaded methods from an outer scope almost looks like an + envelope. -Wed Apr 28 07:31:20 1993 Kresten Krab Thorup (krab@wombat.gnu.ai.mit.edu) +Wed Nov 10 18:55:22 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) - * objc/argframe.h (__AF_ARG_ADDR): Removed .curr_off from - definition. (__AF_ARG_ADVANCE): Removed __AF_CUM_OFF around CUM. + * fixincludes: Copy files needed for other files at the very end. - * objc/runtime.h (_objc_error): Declaration added. + * arm.md (reload patterns for mla instruction): New. -Wed Apr 28 06:17:02 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Wed Nov 10 18:17:40 1993 Jim Wilson (wilson@cygnus.com) - * 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. + * dbxout.c (dbxout_parms): For parms passed via invisible + reference, accept any reg except FP, SP, and AP. - * convert.c (convert_to_integer): When we want to return zero, - be sure we honor any side-effects in our operand. + * unroll.c (unroll_loop): Set global_const_equiv_map_size. -Tue Apr 27 22:25:29 1993 Kresten Krab Thorup (krab@xiv.iesd.auc.dk) +Wed Nov 10 17:52:33 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * combine.c (subst_prev_insn): New variable. + (try_combine): Set it. + (get_last_value): Use subst_prev_insn if set instead of + looking for the first insn before SUBST_LOW_CUID. -Tue Apr 27 16:29:45 1993 Tom Wood (wood@next.com) + * integrate.c (global_const_equiv_map_size): New variable. + (expand_inline_function): Set it. + (expand_inline_function, copy_rtx_and_substitute, try_constants): + Never access const_equiv_map without checking for out-of-range. + (mark_stores): Likewise. - * nextstep.h (NeXT_OBJC, STANDARD_EXEC_PREFIX): Delete. - * i386/next.h: Use gas.h instead of bsd.h. - (ASM_GENERATE_INTERNAL_LABEL): Define. + * alpha.md (smaxdi3): Was incorrectly called maxdi3. -Tue Apr 27 12:20:08 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + * rs6000.h (LINK_SPEC): Don't pass -btextro if -r. - * 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. + * alpha/osf12.h: New file. + * configure (alpha-dec-osf1.2): New case, to use new file. -Tue Apr 27 10:59:33 1993 Ian Lance Taylor (ian@cygnus.com) + * rs6000.md (sqrtdf2): Fix typo in extra condition. + (plus/eq pattern): Fix typo: "addze" was "adddze". - * 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. +Wed Nov 10 12:32:56 1993 Jim Wilson (wilson@sphagnum.cygnus.com) -Tue Apr 27 07:38:47 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu + * expmed.c (expand_divmod): If rem_flag, always force op0 to a + register. - * 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. + * expr.c (expand_expr): Use a smaller alignment when reading from + a field with a variable offset. - * 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. +Wed Nov 10 01:28:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Apr 27 09:26:04 1993 CET Kresten Krab Thorup (krab@xiv.iesd.auc.dk) + * expr.c (expand_assignment): Use a smaller alignment when storing + into a field with a variable offset. - * objc/Makefile (fflags): -x test changed to -s test + * fixincludes (math.h): Delete inline definitions for sqr. - * objc/Makefile: CFLAGS changed to GCC_CFLAGS +Tue Nov 9 15:33:45 1993 Jason Merrill (jason@deneb.cygnus.com) - * objc/Object.h: No longer includes objc.h Instead, a minimal set - of definitions is provided here. + * cp-method.c (hack_identifier): Undo rfg's earlier patch. - * 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. +Tue Nov 9 19:30:02 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * reload1.c (reload) [SMALL_REGISTER_CLASSES]: Try, at least, + to avoid 2-groups whose second register is explicitly used. -Tue Apr 27 01:40:50 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Tue Nov 9 19:08:47 1993 Jim Wilson (wilson@cygnus.com) - Mon Apr 26 20:45:07 1993 Mike Stump (mrs@poseidon.cygnus.com) + * mips.md (adddi3): Use DImode not SImode in force_reg call. - * 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. + * mips.c (PIC_OFFSET_TABLE_MASK): New macro. + (function_epilogue): When -mabicalls, ignore + PIC_OFFSET_TABLE_REGNUM when calculating load_only_r31. - Mon Apr 26 12:58:23 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * loop.c (strength_reduce): Accept VOIDmode initial values. - * 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!". +Tue Nov 9 09:23:31 1993 Torbjorn Granlund (tege@mole.gnu.ai.mit.edu) - * cp-decl.c (grokdeclarator): Forbid declaring an array of references. + * pa.md (negscc): Add mode for NEG. - * cp-parse.y (unary_expr): Forbid doing sizeof on a function. +Tue Nov 9 12:51:54 1993 John Hassey (hassey@dg-rtp.dg.com) - * cp-typeck.c (build_unary_op): Pedwarn if they try to do pre/post - increment/decrement on an enum. + * m88k.md ("cmpsf" & "cmpdf"): Undo inadvertent change included + with CCEVENmode change. - * 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. +Tue Nov 9 01:31:58 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-search.c (compute_visibility): Check for a member fn - manipulating its own members before checking the basetype_path. + * fixincludes (loop on $required): When a file is copied + because another file needs it, scan it for what files it needs. - * 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. + * fix-header.c (write_rbrac): When adding proto for memmove, + put it inside #ifndef memmove. - * cp-pt.c (lookup_template_class): Don't assert if IN_DECL is null, - since we pass it down that way from the parser. - (coerce_template_parms): Likewise. - * cp-parse.y (template_type): Let template_type_seen_before_scope be - an error_mark if necessary, so we can intelligently handle things - later rather than give useless syntax errors. - - Sat Apr 24 17:12:17 1993 Mike Stump (mrs@poseidon.cygnus.com) - - * 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. - -Mon Apr 26 18:48:18 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * fold-const.c (fold): Signedness matters for comparisons and - right shifts. - - * xm-alpha.h (ONLY_INT_FIELD): Define again; this time say why. - - * tree.h (INTEGRAL_TYPE_P, FLOAT_TYPE_P): New macros. - * fold-const.c: Use INTEGRAL_TYPE_P and FLOAT_TYPE_P. - - * protoize.c (other_variable_style_function): Properly test for - the presence of the string "...". - - * c-decl.c (pushdecl): Don't make a copy of type of error_mark_node. - -Mon Apr 26 18:15:03 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - - * pa-hpux.h (LINK_LIBGCC_SPECIAL): Delete. - (RELATIVE_PREFIX_NOT_LINKDIR): Delete. - * pa-ghpux.h, pa-hpux7.h, pa-gux7.h: Likewise. - -Mon Apr 26 16:57:03 1993 Michael Meissner (meissner@osf.org) - - * 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. - -Mon Apr 26 17:47:10 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - - * 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. - -Mon Apr 26 07:55:03 1993 Doug Evans (dje@canuck.cygnus.com) - - * sparc.h (ASM_OUTPUT_LONG_DOUBLE): New macro. - * sysv4.h (ASM_OUTPUT_LONG_DOUBLE): Likewise. - -Mon Apr 26 08:45:18 1993 Kresten Krab Thorup (krab at xiv.iesd.auc.dk) - - * 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. - - * objc/Object.m, objc/archive.c, objc-api.h: Take out archiving - support for alpha. - - * 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. - -Sun Apr 25 21:50:16 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-lex.c (yylex): Re-incorporate changes to redo converting - float values to desired type. - -Sun Apr 25 18:11:24 1993 Ron Guilmette (rfg@netcom.com) - - * rtl.h (NOTE_INSN_FUNCTION_BEG): Make non-zero. - * rtl.c (note_insn_name): Re-order for above. - - * 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. - -Sun Apr 25 17:07:44 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - - * 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. - - * 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. - - * sparc.h (REG_ALLOC_ORDER, REG_LEAF_ALLOC_ORDER): Make %f0/%f1 - the last float registers allocated. - - * sparc.c (output_load_address, output_size_for_block_move, - output_block_move): Ifdef out. - * sparc.md (movstrsi): Comment out. - - * 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. - - * expmed.c (extract_fixed_bit_field): Adjust BITPOS so that it - fits inside MODE before adjusting OFFSET to get an aligned address. - -Sun Apr 25 06:28:56 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Mon Nov 8 16:50:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * varasm.c (make_decl_rtl): If a variable has an asm operand that - refers to, e.g., fp, make a distinct RTL for it. + * sdbout.c (sdbout_init) [RMS_QUICK_HACK_1]: Call sdbout_symbol + for __vtbl_ptr_type. - * c-decl.c (init_decl_processing): Last arg to __builtin_apply - is size_t, not int. + * cp-decl.c (init_decl_processing): Undo previous change. - * c-lex.c (yylex): Don't warn about floating point out of - range if target floating-point format is IEEE. + * c-typeck.c (build_binary_op): Warn for ordered compare of ptr with 0 + only if pedantic in both cases. - * romp.h (SIZE_TYPE): Deleted. +Mon Nov 8 18:25:06 1993 David Edelsohn (edelsohn@npac.syr.edu) -Sat Apr 24 16:46:41 1993 Stephen L. Moshier (moshier@world.std.com) + * rs6000.h (ASM_FILE_START): Emit filename directive. - * c-lex.c (forget_protocol_qualifiers): Cast enums to ints before - comparing. +Sun Nov 7 00:24:04 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sat Apr 24 13:08:56 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + * Makefile.in (mostlyclean): Delete fixhdr.ready here. + (clean): Not here. - * 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. + * scan-decls.c (scan_decls): After seeing an extern variable + declaration, goto new_statement to read a new token, rather + than going to handle_statement (which uses the current token). -Sat Apr 24 11:15:02 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Sat Nov 6 19:40:22 1993 Pat Rankin (rankin@eql.caltech.edu) - * flow.c (mark_used_regs): Use proper type for {all,some}_needed. - * cse.c (invalidate): Likewise for in_table. + * config/vax/vms.h (__MAIN_NAME): Define as " main(" rather + rather than " main (" to reflect current cc1plus. - * tree.h (build_binary_op, build_indirect_ref, build_unary_op): - Delete declarations; these are part of the front ends. + * config/vax/vms.h: Add __GNUC_MINOR__=5 to CPP_PREDEFINES. - * objc-act.c (HASHFUNCTION): Cast pointers to widest int type. +Sat Nov 6 22:54:25 1993 Tor Egge (tegge@pvv.unit.no) -Sat Apr 24 02:48:37 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * m88k.c (partial_ccmode_register_operand, even_relop) + (odd_relop): New functions, for support of CCEVENmode. + (print_operand, new case '!'): Revert following condition. + * m88k.h (EXTRA_CC_MODES, EXTRA_CC_NAMES, SELECT_CC_MODE): + New macros to define CCEVENmode. + * m88k.md: Handle CCEVENmode as a new mode. Logical operations + on CCmode registers now results in CCEVENmode. + Add patterns for jumps and ext's for CCEVENmode. + (cmpsf, cmpdf): Use reg 65 and clobber reg 64. - Cygnus<->FSF merge. +Sat Nov 6 17:07:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Fri Apr 23 11:08:25 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * cp-decl.c (init_decl_processing) [RMS_QUICK_HACK_1]: + If sdb output, call sdbout_symbol for vtable_entry_type. + * config/m88k/dgux.h (RMS_QUICK_HACK_1): Defined. - * 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. +Sat Nov 6 12:32:31 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * 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. + * unroll.c (unroll_loop): Don't unroll loop if jump has combined + the original loop start label with another label. - * 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. +Sat Nov 6 05:01:31 1993 Chris Smith (csmith@convex.com) - * cp-lex.c (yyerror): Delete extern decl of input_redirected. + * convex.md (untyped_call, blockage): Add new patterns. - * 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. +Sat Nov 6 03:11:46 1993 Noah Friedman (friedman@gnu.ai.mit.edu) - * cp-typeck.c (build_modify_expr_1): Put in missing `else'. + * just-fixinc: Rename fixed native limits.h to syslimits.h (or + install gsyslimits.h) before renaming gcc's limits.h from tmpfoo + directory. - Wed Oct 7 16:00:29 1992 Chip Salzenberg (chip@tct.com) +Sat Nov 6 00:07:41 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Change propagated from the C front-end. - * cp-decl.c (shadow_tag): Use pedwarn for useless keyword. + * expr.c (emit_move_insn_1): Push the components of a complex + in proper order: imag part has higher address. - Wed Oct 7 17:51:36 PDT 1992 Ron Guilmette (rfg at netcom.com) +Fri Nov 5 16:23:51 1993 Jim Wilson (wilson@sphagnum.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. + * mips.c (mips_abicalls): Change type to enum mips_abicalls_type. + (override_options): Use MIPS_ABICALLS_{NO,YES} instead of + ABICALLS_{NO,YES}. + * mips.h (enum mips_abicalls_type): New type. + (mips_abicalls_attr): New define. + (mips_abicalls): Change type to enum mips_abicalls_type. + * mips.md (abicalls): Use mips_abicalls_attr not mips_abicalls. - Fri Oct 23 16:29:45 1992 Chip Salzenberg (chip@tct.com) +Fri Nov 5 20:34:19 1993 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. + * fixproto (stdio.h): Don't add protos for vprintf, vfprintf, vsprintf. - Tue Dec 1 21:35:36 1992 Niklas Hallqvist (niklas at della.appli.se) +Fri Nov 5 20:32:53 1993 Torbjorn Granlund (tege@adder.cygnus.com) - * 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. + * config/pa/pa.md (decrement_and_branch_until_zero): + Add missing `return'. - Mon Jan 4 11:46:19 1993 Chip Salzenberg (chip@tct.com) +Fri Nov 5 16:08:34 1993 Richard Stallman (rms@mole.gnu.ai.mit.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. + * listing: Handle i386-linux like m68020. + Pass compilation options thru an awk variable, not as ordinary args. - Sat Jan 30 01:23:22 1993 Niklas Hallqvist (niklas at della.appli.se) + * cccp.c (safe_read, safe_write): Handle EINTR. + (output_line_command): Handle NO_IMPLICIT_EXTERN_C here. + (main): Not here. - * 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. + * protoize.c (safe_read, safe_write): Handle EINTR. + (safe_write): Return right away after safe_write. - Mon Feb 1 09:40:11 1993 Niklas Hallqvist (niklas at della.appli.se) +Fri Nov 5 11:40:59 1993 Jeff Law (law@snake.cs.utah.edu) - * cp-search.c (compute_visibility): Add support for anonymous - unions nested in classes. + * pa-ghpux.h (NO_IMPLICIT_EXTERN_C): Define. + * pa-hpux.h (NO_IMPLICIT_EXTERN_C): Define. - Tue Feb 2 16:06:10 1993 Chip Salzenberg (chip@tct.com) +Fri Nov 5 09:45:20 1993 Kresten Krab Thorup (krab@viking) - 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< like . -Fri Apr 16 17:53:21 1993 Ron Guilmette (rfg at netcom.com) + * fixincludes: Unquote 'f' in #define _IO. Fix elf.h like + elf_abi.h. For Irix 5. - * reload1.c (last_spill_reg): Add missing "int". +Mon Nov 1 15:15:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Apr 16 16:55:16 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) + * configure (mips-sgi-irix5*): Add fixincludes=Makefile.in. - * Makefile.in (objc-headers): Ensure objc dir exists. + * fixproto (setjmp.h): Don't require siglongjmp and sigsetjmp. + They need sigjmp_buf, and are missing on many systems. -Fri Apr 16 16:40:49 1993 Michael Meissner (meissner@osf.org) + * Makefile.in (stmp-fixproto): Print a notice that warnings and errors + from fixproto are normal. + (distdir): Avoid spurious output from gcc.texi version number check. + (diff): New target. - * mips/mips.h (MIPS_VERSION): Set Meissner revision number to 39. - (SELECT_SECTION): Do not put items with relocation into .rdata. - (INITIALIZE_TRAMPOLINE, TRANSFER_FROM_TRAMPOLINE): Allow these - macros to be overidden. +Mon Nov 1 15:19:09 1993 Ian Lance Taylor (ian@cygnus.com) - * mips/iris3.h (INITIALIZE_TRAMPOLINE, TRANSFER_FROM_TRAMPOLINE): - Provide versions of these that does not rely on using mprotect. + * fixincludes: Don't remove /**/ from X11/xmd.h; breaks gcc + -traditional on some systems. - * mips/t-mips, mips/t-osfrose, mips/t-ultrix, i386/t-osfrose: - Delete extra dependencies. +Mon Nov 1 07:38:58 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu - * i386/osfrose.h (SELECT_SECTION): Do not put items with - relocation into .text if -pic-lib. + * rs6000.md: Add set_attr for "length" when we are going to split + an insn at output time. -Fri Apr 16 01:09:53 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rs6000.md (bdn/bdz): Fix typo in checking for when we + need to split. - * config/i386/xm-isc.h (REAL_VALUE_ATOF): Define only if - not REAL_ARITHMETIC. + * rs6000.md (mulsi3): Make alternatives be "mq" and "no_mq" + instead of "power" and "powerpc". Only allow one pattern (either + with or without the clobber of MQ) to match. -Thu Apr 15 07:25:00 1993 Tom Wood (wood@next.com) + * stmt.c (expand_decl_init): If CONST_DECL, don't generate any + code, but call expand_expr if DECL_INITIAL is a constant. - * objc-act.c (IS_ID, IS_PROTOCOL_QUALIFIED_ID, IS_SUPER): New type - checking macros. - (objc_comptypes, build_message_expr, gen_declspecs): Use them. +Mon Nov 1 06:17:16 1993 Torbjorn Granlund (tege@adder.cygnus.com) - * objc-act.c (gen_declarator): Don't use strcpy's return value. + * m68k.md (divhisi3, udivhisi3, modhisi3, umodhi3): Comment out. + (divhisi3, udivhisi3, modhisi3, umodhi3 recognizers): Comment out. - * objc-act.c (build_message_expr): Allow any type that matches - objc_class_type. + * expmed.c (synth_mult): When factoring T, break from loop after + first factor. + (expand_mult): Increase max cost to 12 again. - * objc-act.c (get_class_reference): We already have a name. +Mon Nov 1 01:06:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * objc-act.c (receiver_is_class_object): Use STRIP_NOPS. Search - cls_ref_chain. + * cccp.c (safe_write): New function. + (write_output): Use safe_write. -Thu Apr 15 07:25:00 1993 Michael Meissner (meissner@osf.org) +Mon Nov 1 01:06:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * objc-act.c (build_objc_string): Use TREE_SET_CODE instead of - assigning to TREE_CODE. - (build_objc_string_object): Ditto. + * Version 2.5.2 released. -Wed Apr 14 17:51:50 1993 Holger Teutsch (holger@hotbso.rhein-main.de) + * cccp.c (do_ident): Fix previous change. - * clipper.h (FRAME_POINTER_REQUIRED, FRAME_POINTER_OFFSET): - Frame pointer is no longer required for leaf functions. - (OPTIMIZATION_OPTIONS): Define. +Sun Oct 31 14:41:40 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * clipper.c (clipper_frame_size): New function. - (output_function_pro/epilogue): Support omitting frame pointer. + * Version 2.5.1 released. - * clipper.md (cmpsi): Use `cmpq' for small immediate values. - (addsi3): Use `loada' for `reg1 = reg2 + immed'. + * cccp.c (do_ident): Substitute macros and output here. + (directive_table): Turn off the pass_thru field for #ident. -Wed Apr 14 15:23:24 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * c-common.c (shorten_compare): Undo previous change. + Instead, just suppress warnings if both args are constant. - * print-tree.c (print_node): Use (struct rtx_def *), not (rtx). + * config/m68k/m68k.md (extzv, and its recognizer): + If width is 32, don't set CC_NOT_NEGATIVE. + If width is variable, clear the CC status. -Wed Apr 14 13:46:36 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/m68k/m68k.c (output_move_double): Extend the special case + for *--sp = sp[N] to handle 12 bytes as well as 8 bytes. - * config/i860/i860.md (floatsidf2): Add missing arg to REAL_VALUE_ATOF. +Sun Oct 31 17:02:13 1993 Jason Merrill (jason@deneb.cygnus.com) - * c-parse.in: Improve error message for sym undeclared at top level. + * cp-init.c (expand_aggr_init_1): When unswitching a COND_EXPR + initializer (i.e. int a = b ? 1 : 0 => int a; b ? a=1 : a=0), + set TREE_SIDE_EFFECTS on the result. -Wed Apr 14 12:06:08 1993 Tom Wood (wood@next.com) +Sun Oct 31 13:33:46 1993 Jim Wilson (wilson@cygnus.com) - * c-lang.c, objc-act.c (maybe_objc_comptypes): Return 0 - (incompatible) rather than 2 (similar enough) as the default. - This was an inadvertent change in the Objective-C merge. + * expr.c (do_store_flag): For equality test of a single bit, use + subtarget instead of target in calls. - * objc-act.c (get_class_reference): Call add_class_reference for - the GNU runtimes. +Sat Oct 30 17:58:37 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Apr 14 03:49:21 CDT 1993 Paul Burchard (burchard@geom.umn.edu) + * config/m68k/hpux7.h: New file. + * configure (m68k-hp-hpux7*): New alternative. - * objc/Object.h, objc/Object.m, (-awake); - objc/archive.c (__objc_finish_read_root_object): - Corrected name of method -awake: to -awake for compatibility. + * c-common.c (shorten_compare): Do nothing if both args constant. -Wed Apr 14 10:58:29 1993 Kresten Krab Thorup (krab@xiv) + * config.sub: Re-add hitachi to list of companies not to treat + as OS names. - * objc/Object.m, objc/Object.h (+streamVersion:): New method. - * objc/archive.c (objc_get_stream_class_version): New function. + * expr.c (convert_move): When extending to multi-word register + via its low word, clobber the whole thing. -Tue Apr 13 17:23:22 1993 Ron Guilmette (rfg at netcom.com) + * config/i386/i386.c (output_move_double): Extend the special case + for *--sp = sp[N] to handle 12 bytes as well as 8 bytes. - * c-decl.c (pop_label_level, combine_parm_decls): Correct args - in error calls. - * c-typeck.c (error_init, pedwarn_init): Cast alloca result to char *. - * calls.c (expand_call): Last arg of emit_stack_save is NULL_RTX. - (store_one_arg): Fourth arg to emit_push_insn is NULL_RTX. - * collect2.c (main, scan_prog_file): Don't call signal on signal - names that aren't defined. - * dbxout.c (dbxout_symbol): Last arg to eliminate_regs is NULL_RTX. - * fold-const.c (size_int): NUMBER is unsigned so don't test - for negative. - (optimize_bit_field_compare, all_ones_mask_p): Add missing - last arg to force_fit_type call. - * gcc.c (putenv): Make result type void. - (main): Don't call signal for undefined signal names. - * genextract.c (main): Remove extra arg to printf call. - * print-tree.c (print_node_brief, print_node): Properly cast - arg when printing ints or rtx. - * rtl.h, tree.h (xmalloc): Don't use prototype for now. - * sched.c (sched_analyze_1): Extra arg in anti_dependence call. - * toplev.c (main): Don't call signal for undefined signal names. - * varasm.c (make_var_volatile): Return type is void. - (assemble_string): First arg is not pointer to unsigned. - * sparc.h (LEGITIMIZE_ADDRESS): Last arg to force_operand is NULL_RTX. - * sparc.md (movXX): Third arg to emit_move_sequence is NULL_RTX. - (movsi): Add missing return after abort. +Sat Oct 30 17:21:33 1993 Atsushi Furuta (furuta@sra.co.jp) -Tue Apr 13 14:09:00 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * pa-ghiux.h, pa-hiux.h, pa1-ghiux.h: New files, for Hitachi H3050/RX. + * pa1-hiux.h, x-pa-hiux, xm-pahiux.h: Likewise. + * config.sub, configure: Add H3050/RX support. - * c-typeck.c (digest_init): Don't call default_conversion before - convert_for_assignment. - (parser_build_binary_op): Make NOP_EXPR, not NON_LVALUE_EXPR. +Sat Oct 30 03:40:08 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * dbxout.c (dbxout_type): Re-enable debugging output for anonymous - structures in C++. + * config/pa/pa.c (output_dbra): Fix argument number in addi at end. -Tue Apr 13 08:44:55 1993 Kresten Krab Thorup (krab@iesd.auc.dk) + * tree.h (enum built_in_function): Added END_BUILTINS to delimit + standard from language-specific builtins. - * objc-act.c, toplev.c (-Wprotocol): added - * objc-act.c (flag_warn_protocol): New variable - (check_methods_accessible): New function - (check_protocol): Use check_methods or check_methods_accessible - depending on flag_warn_protocol to check protocol conformance. + * toplev.c (rest_of_compilation): When an `extern inline' is not + really inline, clear DECL_INITIAL so we don't complain about + a subsequent non-extern definition. + * c-decl.c (finish_function): If rest_of_compilation set DECL_INITIAL + to null, leave it null. - * objc-act.c (start_class): For class implementations Assign - SUPER_CLASS_NAME from interface specification if not present. + * c-common.c (convert_and_check): Don't warn converting 0xff + to a signed char, etc., unless pedantic. -Tue Apr 13 06:48:20 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * Makefile.in (mainversion): New variable. + (distdir): Use mainversion when verifying gcc.texi has been updated. - * alpha.md (sminsf, smindf, smaxsf, smaxdf): Should be minsf, etc. +Sat Oct 30 03:12:54 1993 Torbjorn Granlund (tege@cygnus.com) - * genattrtab.c (clear_struct_flag): Add void return type defn. - (count_subs_rtx): Add int return type and add definition. - (simplify_test_exp): Delete debugging junk. - (do_nothing): Delete. + * m68k.md (mulsidi3 patterns): Fix typo, LSHIFTRT was ASHIFT. - * tree.def (QUAL_UNION_TYPE): New tree code. - * tree.h (DECL_QUALIFIER): New access macro for decl.initial. - * calls.c, dbxout.c, dwarfout.c, expr.c, function.c, print-tree.c: - Treat QUAL_UNION_TYPE like UNION_TYPE when seeing if aggregate. - * sdbout.c, stmt.c, varasm.c: Likewise. - * expr.c (get_inner_reference): Don't blow up if a FIELD_DECL - hasn't been filled in. - (expand_expr, case COMPONENT_REF): Likewise. - * stor-layout.c (layout_union): Handle QUAL_UNION_TYPE. - (layout_type): Call layout_union for QUAL_UNION_TYPE and - treat it like UNION_TYPE elsewhere. +Fri Oct 29 12:06:09 1993 Ian Lance Taylor (ian@cygnus.com) -Tue Apr 13 06:08:16 1993 Paul Eggert (eggert@twinsun.com) + * fixinc.svr4 (sys/stat.h): Don't change definitions into + prototypes if they may already be in prototype form. - * fold-const.c (div_and_round_double): Don't mix HOST_WIDE_INT * and - unsigned HOST_WIDE_INT * parameters; some compilers complain. +Fri Oct 29 16:50:33 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Apr 12 22:14:03 1993 Kresten Krab Thorup (krab@iesd.auc.dk) + * config/i386/linux.h (LIB_SPEC): Use -lieee if -mieee-fp. - * objc/list.h, objc/runtime.h: Removed declarations of library - functions. objc/list.h, objc/objc.h, objc/objc-api.h, - objc/runtime.h, Object.m, Protocol.m: Changed to double quote - includes. Removed includes of stddef.h, objc-archive.h and - stdlib.h. +Fri Oct 29 13:04:16 1993 Arne H. Juul (arnej@fm.unit.no) - * objc/objc-archive.h: File deleted. Contents embedded in objc-api.h - * objc/objc-archive.c: File renamed to archive.c - * objc/objc-class.c: File renamed to class.c - * objc/objc-init.c: File renamed to init.c - * objc/objc-misc.c: File renamed to misc.c - * objc/objc-msg.c: File renamed to sendmsg.c - * objc/objc-object.c: File renamed to objects.c - * objc/objc-sel.c: File renamed to selector.c - * objc/Makefile (OBJC_H, OBJC_O): Updated accordingly + * mips/iris5.h (LINK_SPEC): Pass -no_unresolved if -call_shared. -Mon Apr 12 22:05:58 1993 Tom Wood (wood@next.com) +Fri Oct 29 12:52:54 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in (objc-act.o): Add dependencies. + * rs6000.md (addsf3, subsf3, mulsf3, divsf3): Put POWERPC first, + then POWER. -Mon Apr 12 20:52:00 1993 Kresten Krab Thorup (krab@spiff.gnu.ai.mit.edu) + * mips/iris5.h ({DBX,SDB,MIPS}_DEBUGGING_INFO): Turn off until working. - * objc-act.c (_OBJC_SELECTOR_REFERENCES_decl): Variable renamed to - _OBJC_SELECTOR_TABLE_decl. Name of selector table renamed from - "_OBJC_SELECTOR_REFERENCES" to "_OBJC_SELECTOR_TABLE" to avoid - conflict with NeXTSTEP linker. +Fri Oct 29 12:15:12 1993 Minh Tran-Le (tranle@intellicorp.com) - * Makefile.in (stmp-int-hdrs): Added dependency objc-headers. - (objc-headers): New target. + * i386/xm-aix.h: Define HAVE_PUTENV for AIX PS/2. - * objc/Makefile (_forward, fflags): Made targets error prone. - (objc-msg.o, _forward): Use explicit path instead of $<. +Fri Oct 29 11:49:46 1993 DJ Delorie (dj@ctron.com) -Mon Apr 12 19:49:55 1993 Tom Wood (wood@next.com) + * i386/go32.h: Add support for coff-based ctor/dtor handling. - * objc-act.h (CLASS_PROTOCOL_LIST, PROTOCOL_LIST, - PROTOCOL_FORWARD_DECL, TYPE_PROTOCOL_LIST): Rearrange use of type - members to avoid use of noncopied_parts. - * objc-act.c (get_static_reference, get_objcect_reference, - start_protocol): Make a tree vector for new protocol types. - (start_class): The tree vector for class types is longer. +Thu Oct 28 21:33:22 1993 Kresten Krab Thorup (krab@next.com) - * m68k/next.h (ASM_OUTPUT_FLOAT_OPERAND): Use CODE. + * objc-act.c (check_methods_accessible): Fix bug in + -Wno-protocol. Reset chain to bottom class for each search. +Thu Oct 28 21:30:38 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Mon Apr 12 15:46:21 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * c-parse.in (init): Remove extraneous pop_momentary in error case. - * Makefile.in (install-common): Delete $(bindir)/$(target)-gcc - before trying to install it. +Thu Oct 28 19:01:33 1993 Ron Guilmette (rfg@netcom.com) - * i960.h (CONSTANT_ALIGNMENT): Only increase alignment of string - constants. + * cp-method.c (hack_identifier): If an overloaded identifier + can only mean one thing, it can only mean one thing. - * gcc.c (library_prefix): Delete variable. - (process_command): Delete uses of library_prefix. - (do_spec_1, D case): Delete use of library_prefix. +Thu Oct 28 18:52:15 1993 John F Carr (jfc@mit.edu) - * explow.c (emit_stack_save): At end, call validize_mem when - inside sequence. + * cp-typeck.c (get_member_function_from_ptrfunc): Convert delta + to size_t before adding to pointer. - * c-typeck.c (internal_build_compound_expr): When pedantic, don't - simplify a COMPOUND_EXPR, so that it won't be mistaken for an - lvalue or an integer constant expression. - * fold-const.c (fold, COMPOUND_EXPR case): Likewise. +Thu Oct 28 18:43:41 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) -Mon Apr 12 15:24:05 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * arm.h (ENCODE_SECTION_INFO): Use DECL_RTL for DECLs. - * rs6000.c (print_operand): Sort all cases in alphabetical order. - (print_operand, case 'G'): New case. - (output_epilog): Know that "GNU Obj-C" is the language string - for Objective-C. - * rs6000.md (adddi3/subdi3): Allow immediate constants. - - * configure (rs6000-ibm-aix*): Make AIX 3.2 the default. - - * README.RS6000: Replaced file to discuss assembler for AIX 3.2 and - problems with NLS support. - - * combine.c (record_value_for_reg): Properly set SUBST_LOW_CUID - for last change; otherwise won't get best value. - -Mon Apr 12 13:23:59 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - - * jump.c (jump_optimize, clause for `x=a; if (...) x=b;'): - Do this regardless of BRANCH_COST if HAVE_conditional_move - defined. - -Mon Apr 12 17:15:43 1993 Kresten Krab Thorup (krab at xiv) - - * objc/hash.h: Deleted #include "mutext.h" - * objc/Object.m, objc/Object.h (-read:, -write:): added. - * objc/Object.m, objc-api.h: Stripped anything added by - kane@cc.purdue.edu which is not considered "minor changes". - * objc/objc.h: now "#include"s objc-archive.h - * objc/objc-msg.c (__objc_init_install_dtable, - __objc_install_dtable_for_class): Call to - __objc_resolve_class_links moved to the latter. - * objc/objc-msg.c (__objc_responds_to): Function added - * objc/objc-archive.c (objc_write_reference): added - -Sat Apr 10 18:07:46 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - - * objc/Makefile: Cleaned up for inclusion in gcc distribution. - Target copy-headers added. - -Sun Apr 11 06:40:16 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * toplev.c (strip_off_ending): Add .atr for Ada. - - * reorg.c (add_to_delay_list): Clear any cached block information - for INSN. - - * stor-layout.c (layout_record): After copying the offsets of a - field that is an anonymous union to the offsets of the fields - of that union, zero the offset of the anonymous field in case - it is used to access the inner fields. - - * combine.c (make_compound_operation, case xSHIFTRT): - Clean up code so more readable and don't restrict to case - where C2 >= C1. - Pass correct (inner) code to recursive call. - (make_compound_operation, case SUBREG): Pass the code of our - operand to recursive call, not SUBREG, and make another recursive - call after calling force_to_mode. - -Sun Apr 11 11:16:48 1993 John F Carr (jfc@Athena.mit.edu) - - * combine.c (can_combine_p): Don't move an UNSPEC_VOLATILE. - -Sun Apr 11 01:32:39 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * expmed.c (expand_divmod): When adjusting op0 for trunc_div or - trunc_mod, using shifts (not branches), make a new pseudo for the - result. Don't use target for adjusted_op0. - -Sat Apr 10 10:57:09 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * xm-alpha.h (ONLY_INT_FIELDS): No longer needed. - - * alpha.c (alpha_sa_size): Need to save $26 if it is used or - if any other register is saved, but not just because a stack - space is needed. - (output_prolog): Add code to probe the stack if we allocate more - than 4096 bytes; required by chapter 7 (for threads). - Know when to save $26. - (output_epilog): Know when to restore $26. - * alpha.md (add/sub): Correct predicates and constraints for - sNaddX and addX insns; we can use sNsubX and subX to add small - negative constants. - Don't split addition to SP since we want to update it just once. - (beq, bne): Use subtract, not compare for ints; it's more efficient. - (define_split for comparisons): Always prefer add/sub if it will work. - (probe_stack, allocate_stack): New patterns. - -Fri Apr 9 20:03:38 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - - * c-typeck.c (free_tree_list): New variable. - (digest_init): Set free_tree_list. - (process_init_constructor): Use add_double to do arithmetic with - double integers instead of using fold/build to to arithmetic in - type of array index. Use free_tree_list when available instead of - generating a new tree_list. - -Fri Apr 9 19:05:31 1993 Tom Wood (wood@next.com) - - * c-lex.h (RID_IN, RID_OUT, RID_INOUT, RID_BYCOPY, RID_ONEWAY, - RID_ID): New Objective-C keywords. - * c-parse.gperf: Incorporate the Objective-C keywords from - objc-parse.gperf and add the new keywords. - * objc.gperf: Deleted. - * c-lex.c: Use -N when running gperf so the keyword table can be - accessed. Ran gperf and replaced that section. - (forget_protocol_qualifiers, remember_protocol_qualifiers): New - functions to modify the keyword table so that `in', `out', `inout', - `bycopy', and `oneway' are keywords only in protocol declarations. - (init_lex): Initialize the new keywords. Forget the protocol - qualifiers, and only make `id' a keyword when compiling an - Objective-C module. - (yylex): Treat @ as the start of an identifier (keyword), but - recognize Objective-C string constants (@"..."). - * c-parse.in: Add support for Objective-C protocols, classes, and - strings. - (initlist): Don't include labeled array elements in the - Objective-C grammer. These look like messages and preclude the - use of messages in initializers. - (recognize_objc_keyword): Deleted. The keywords are now in - c-parse.gperf. - * c-tree.h: Add declarations for functions in objc-act.c. - (doing_objc_thang): Declare here. - * c-decl.c (grokfield): Check for statically allocated objects. - * c-lang.c (is_class_name, maybe_objc_method_name, - build_objc_string): New functions. - (maybe_objc_comptypes): Add REFLEXIVE parameter. - * c-typeck.c (comptypes, convert_for_assignment): Check for - Objective-C protocols (non-reflexive use of maybe_objc_comptypes). - (comp_target_types): Rewrite so that maybe_objc_comptypes checks - protocols when processing an Objective-C module. For C modules, - the code path is unchanged. - (convert_for_assignment): Improve the error message for - incompatible message arguments. - * objc-act.h, objc-act.c: Add support for protocols, classes, and - strings. Update the runtime targets for the new GNU runtimes as - well as existing NeXT runtimes. - * toplev.c (lang_options): Add -fgnu-runtime and -fnext-runtime. - - * configure (i[34]86-next-*): New configuration. - * config.sub: Default to bsd if vendor is next. - * i386/next.h, i386/next.c, i386/x-next, i386/t-next, - i386/xm-next: New files. - * m68k/next.h, m68k/next.c: Move machine independent portions to - nextstep.h and nextstep.c. Update to NeXTSTEP 3.0 and 3.1. - * nextstep.h, nextstep.c: New files. - - Dumped Kresten's latest objc-runtime into the objc directory. - This needs work. - - * objc/core.c, objc/objc-proto.h, objc/object.h, objc/object.m, - objc/record.h: Deleted. - - Thu Apr 1 11:02:49 1993 Kresten Krab Thorup (krab at xiv) - - * objc/list.h (list_remove_head): added case for one element list. - * objc-init.c (__objc_exec_class): changed objc_get_class to - objc_lookup_class. (thanks to mccallum@cs.rochester.edu) - - Thu Mar 30 11:04:11 1993 Kresten Krab Thorup (krab at xiv) - - * Protocol.m, objc/Protocol.h: added - * objc.h (struct objc_protocol): added - * objc-init.c (__objc_init_protocols): added - (__objc_exec_class): added code for initializing protocols - * objc-class.c (__objc_class_add_protocols): added - - Thu Mar 25 17:09:40 1993 Kresten Krab Thorup (krab at xiv) - - * configure, Makefile.in: added - * Makefile.in (install): added - - Wed Mar 24 14:32:14 1993 Kresten Krab Thorup (krab at xiv) - - * objc/objc.h: Define objc_msg_lookup inline if optimization is - turned on. objc-actions.c changed accordingly. - - Tue Mar 23 18:02:04 1993 Kresten Krab Thorup (krab at eos) - - * sarray.c, objc/sarray.h: Structure of `sarray' changed - eliminating one indirection. This affects most functions. - - Mon Mar 29 1993 Christopher J. Kane (kane@rock-opera) - - * objc-object.c (_objc_object_alloc, _objc_object_dispose, - _objc_object_copy): moved to objc-misc.c, init to 0. - : deleted file. - - * Object.m (-perform:, -perform:with:, -perform:with:with:): check - return value of objc_msg_looup before using it. - (-name, -doesNotRecognize:, -error:): changed class_get_class_name - to object_get_class_name. - (+readFrom:): added check for class name length. - - * objc-api.m (class_create_instance, object_copy, object_dispose): - moved from objc-object.c, inline'd - - Sun Mar 28 1993 Christopher J. Kane (kane@prelude) - - * objc-api.h (several inline functions): rewritten to - use new CLS_ISCLASS and CLS_ISMETA macros. - (object_is_metaclass): added. - - * objc.h (_objc_alloc, _objc_dealloc, _objc_realloc, - _objc_copy, objc_trace): removed (not used). - (class_get_class_number, class_set_class_number): removed. - (CLS_ISCLASS, CLS_ISMETA): check for nil parameter. - - Sat Mar 27 1993 Christopher J. Kane (kane@toccata) - - * Object.m: method comments added. - (-transmuteClassTo:): removed error message. - (+error:): removed. - (-error:): added +error: functionality. - (+readFrom:): changed objc_get_class to objc_lookup_class. - (+readFrom:): added class_set_version. - - * objc-api.h (object_get_class, object_get_super_class, - object_get_meta_class, object_is_class, - object_is_instance, _objc_error): added. - - * objc.h (_objc_error): moved to objc-api.h. - - Fri Mar 26 1993 Christopher J. Kane (kane@toccata) - - * objc-api.h: function comments added. - (class_set_class_number, class_get_class_number, METHOD_NULL, - class_add_method_list, objc_msg_lookup_super): moved to - objc.h. - (objc_msg_sendv): removed. - - * Object.h, Object.m (-isMetaClass): added. - (+free, +name, +respondsTo:, +respondsTo:): removed. - (+class, +superClass, +metaClass): removed. - - * Object.m (-storeOn:): added variable class_encoding. - (+readFrom:): replaced constant '#' with _C_CLASS. - (-descriptionForMethod): changed descriptionForInstanceMethod: message - to class_get_instance_method. - (-class): now calls object_get_class. - (-superClass): now calls object_get_super_class. - (-metaClass): now calls object_get_meta_class. - - Wed Mar 24 1993 Christopher J. Kane (kane@rock-opera) - - * objc-api.h (METHOD_NULL): new define. - (method_get_argsize, method_get_imp, class_get_super_class, - class_get_meta_class, class_get_instance_size): new - functions. +Wed Oct 27 20:58:31 1993 Torbjorn Granlund (tege@adder.cygnus.com) - * Object.m (-isStructuredLike:, CLASS, IMP2): removed. - (#include ): removed. - (includes , , ): replaced w/ extern decls. - (+poseAs:): implemented. - (-transmuteClassTo:): now returns previous class. - (-performv::): changed constant 96 to method_get_argsize. - (-perform:, -perform:with:, -perform:with:with:): removed casts. - (-storeOn:, +readFrom:): replaced "strlen("#")" with "1". - (-isKindOfClassNamed:, -isMemberOfClassNamed:, -error:, - +error:): check for NULL. - (many methods): changed pointer indirections to function calls. - (+instancesRespondTo:, -respondsTo:, -methodFor: - +instanceMethodFor:): simplified. + * pa.c (emit_move_sequence): Fix typo, `Pmode' was `mode'. - * Object.h, Object.m (-changeClass:): renamed to -transmuteClassTo:. - (+initialize, -isClass, -isInstance): added. +Wed Oct 27 00:01:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Object.h: redundant #defines, typedefs removed; comments modified. - (+readFrom:, -readFrom:, -storeOn:) added. - (-perform:with:): duplicate declaration removed. + * cse.c (cse_insn): When using src_related, copy the rtx. + Likewise for src_eqv_here. -Fri Apr 9 17:42:11 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-typeck.c (output_pending_init_elements): Don't crash if + constructor_unfilled_fields is 0. - * config.sub: Accept i370, mvs. - For i370-ibm*, assume mvs by default. - Later, likewise, for i370-*. - For -mvs*, assume ibm as default vendor. + * fixincludes (bsd/sys/wait.h): Undo previous change. - * c-lex.c (yylex): Use MAP_CHARACTER if it's defined. + * config/m68k/xm-amix.h (abort): Don't use fancy_abort. + (alloca): In GCC 1, define as __builtin_alloca. - * cccp.c (no_precomp): Make it 1 by default. + * config/m68k/amix.h (ASM_GENERATE_INTERNAL_LABEL) + (ASM_OUTPUT_INTERNAL_LABEL): #if 0 deleted, to reenable these. + (NO_DOT_IN_LABEL): Defined. + (NO_DOLLAR_IN_LABEL): Undefined. -Fri Apr 9 17:15:00 DJ Delorie (dj@ctron.com) + * function.c (assign_parms): If parmreg is a CONCAT, handle the + case where stack_parm is 0. - * configure.bat: Updated to handle current Makefile - and new config/i386/go32.h. + * expr.c (do_jump): Use do_jump_by_parts_equality for complex compares. - * config/i386/go32.h: New file. + * c-typeck.c (build_c_cast): When making union constructor, + copy TREE_CONSTANT from the given value. + (initializer_constant_valid_p): Special handling for "constant" + union constructor. - * config/i386/xm-dos.h: Define MKTEMP_EACH_FILE and - NO_PRECOMPILES. + * bytecode.def: Rename dup to duplicate. + * expr.c (expand_assignment): Use duplicate. + (bc_expand_expr): Likewise. + (bc_expand_constructor): Likewise. -Fri Apr 9 15:11:25 1993 Ian Lance Taylor (ian@cygnus.com) + * print-tree.c (print_node_brief): Use unsigned char to print + the bytes of a real constant. - * Makefile.in: Install as $(target)-gcc, not gcc-$(target). + * expmed.c (store_bit_field): When calling operand_subword_force, + if VALUE has a non-void mode, pass that mode. - * fixincludes: Avoid inserting #ifndefs in limits.h if they are - already there (solves HP/UX problem). + * config/m68k/amix.h (NO_DOLLAR_IN_LABEL): Defined. -Thu Apr 8 21:36:11 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Tue Oct 26 19:05:36 1993 John F Carr (jfc@mit.edu) - * 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. + * rs6000.c (rs6000_override_options): Support -mcpu=rsc1. - * expr.c (do_store_flag, case GT_EXPR, LE_EXPR): Don't - confuse highest unsigned value with -1. +Tue Oct 26 19:01:08 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * combine.c (force_to_mode, case xSHIFT): Don't narrow the - mode unless we can be sure that the shift count is smaller - than the size of the mode. + * Makefile.in (deduced.h): Add -I. and -I$(srcdir). - * ns32k.h (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): - Add new register class GEN_AND_FLOAT_REGS. + * scan-types.sh (CC): Move a " to avoid shell error. -Thu Apr 8 18:42:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config.sub (paragon): New alias. + * configure (i860-*-osf*): New alternative. + * gstdarg.h, gvarargs.h [__i860__]: Add to little-endian list. + * libgcc2.c (___builtin_saveregs): New alternative for __PARAGON__. + * va-i860.h: Treat __PARAGON__ like __SVR4__. + (va_dcl) [__PARAGON__]: Declare va_alist. + * paragon.h, xm-paragon.h: New files. - * Makefile.in (c-parse.y, objc-parse.y): Use sed, not awk. +Tue Oct 26 18:58:49 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * c-decl.c (finish_enum): Store layout results into variant types. + * fix-header.c: Delete duplicate definition of "buf". + * fix-header.c, gen-protos.c, scan-decls.c, scan.c: Include hconfig.h. + * scan-decls.c: Remove unused #ifdef OLD. - * flow.c (mark_set_1): Clear reg_next_use at the proper place. + * Makefile.in (gen-protos.o, scan.o, fix-header.o, scan-decls.o): + Add rule to compile using $(HOST_CC). + Show using hconfig.h. -Thu Apr 8 10:50:00 1993 Ian Lance Taylor (ian@cygnus.com) + * rs6000.md (movsi): Can copy a TOC address into a register. - * 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. +Tue Oct 26 15:03:07 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Apr 8 06:58:27 1993 Michael Meissner (meissner@osf.org) + * gcc.c (default_compilers): Define __GNUC_MINOR__, using %v. + (do_spec_1): Implement %v. - * c-tree.h (require_complete_type, lookup_name_current_level): Add - prototypes. +Tue Oct 26 11:06:59 1993 Mike Stump (mrs@cygnus.com) - * tree.h (require_complete_type, lookup_name_current_level): Remove - prototypes, these are defined in c-typeck.c and c-decl.c, and - lookup_name_current_level is declared static in cp-decl.c. + * cp-lex.c (consume_string): Handle "\"" and '\''. -Wed Apr 7 14:37:41 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Oct 26 13:44:17 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * flow.c (mark_set_1): Clear reg_next_use for all kinds of regs. + * Makefile.in (fix-header.o): Depend on fix-header.c. + (scan-decls.o): New target. + (gen-protos.o, scan.o): New targets. -Wed Apr 7 09:18:20 1993 Michael Meissner (meissner@osf.org) + * Makefile.in (gen-protos, fix_header): Add $(HOST_CFLAGS) and + $(HOST_LDFLAGS). - * 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. + * x-sysv (OLDCC): Add -XNh1500. + * x-mips: Likewise. -Tue Apr 6 18:07:20 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Oct 26 12:21:06 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - * c-decl.c (start_function): - Inhibit missing prototype warning for `main'. + * fixincludes: Fix NeXT problem in + as well, since that is where the file is in NeXTStep 3.0. -Tue Apr 6 17:23:34 1993 Bill Cox (bill@cygnus.com) +Tue Oct 26 07:23:08 1993 Torbjorn Granlund (tege@adder.cygnus.com) - * tree.h (require_complete_type, lookup_name_current_level): Add - prototypes. + * expmed.c (init_expmed): Use register 10000, not FIRST_PSEUDO_REGISTER + that gets special treatment in rtx_cost. + (expand_mult): Decrease max cost to 8. -Tue Apr 6 15:09:42 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * c-typeck.c (build_binary_op): For TRUNC_MOD_EXPR and FLOOR_MOD_EXPR, + set common. - * va-sparc.h (va_arg): Cast argument pointer to (char *). +Tue Oct 26 01:59:17 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * unroll.c (loop_iterations): When computing comparison_value, use - reg_set_p to identify instructions that modify it. + * protoize.c [__NeXT__]: Don't declare setjmp or longjmp. - * sparc.md (lshldi3, lshrdi3): Define. + * configure: Ignore --verbose option if specified. - * Makefile.in (STAGESTUFF): Add insn-opinit.c, stamp-opinit, and - genopinit. + * expr.c (emit_move_insn_1): Don't call group_insns + when X is a CONCAT. + (emit_move_insn_1, case CONJ_EXPR and COMPLEX_EXPR): Likewise. - * cccp.c (do_include): For missing header file, if -M, don't - output dependencies, and warning not error if no dependency is - needed. + * fixproto (signal.h): Add prototypes only for kill and raise. + Not for the POSIX signal functions. + (sys/resource.h): Delete special handling for this file. - * 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. + * c-typeck.c (push_init_level): Align here for element of record. + (process_init_element): Not here (was before call to push_init_level). - * function.c (init_function_start): Always set - current_funtion_returns_pcc_struct if PCC_STATIC_STRUCT_RETURN defined. + * scan-types.sh: Expect GCC source dir as argument. + In dummy.c, use gstddef.h and gstdarg.h, not stddef.h and stdarg.h. + * Makefile.in (deduced.h): Pass GCC source dir to scan-types.sh. - * sparc.md (movdi): End by returning the last template; otherwise - we return junk for a template. +Mon Oct 25 23:23:26 1993 Torbjorn Granlund (tege@blues.cygnus.com) - * README.ALTOS: Comment as possibly obsolete. - * README.ENCAP: Delete. - * install.texi: Delete references to COFF encapsulation. + * c-typeck.c (build_binary_op): For TRUNC_MOD_EXPR and FLOOR_MOD_EXPR, + don't shorten when divisor might be -1. - * tree.h: Add more prototypes. +Mon Oct 25 23:45:20 1993 Minh Tran-Le (tranle@intellicorp.com) -Tue Apr 6 12:01:17 1993 Michael Meissner (meissner@osf.org) + * seq-sysv3.h (CPP_SPEC): Define _SEQUENT_ to be compatible with cc. + (INVOKE__main): Defined. + (HAVE_ATEXIT): Defined. - * 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. + * configure (i[34]86-sequent-sysv): Use fixinc.srv4 and define + broken_install. - * mips.c (override_options): Set mips_section_threshold to - MIPS_DEFAULT_GVLAUE if -G xx not used. +Mon Oct 25 18:53:51 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * mips/osfrose.h (DWARF_DEBUGGING_INFO): Define. - (MIPS_DEFAULT_GVALUE): If mips assembler, the value is 8, - otherwise it is 0. + * expr.c (expand_expr, case PLACEHOLDER_EXPR): Fix typos. - * i386/osfrose.h (DWARF_DEBUGGING_INFO): Define. - (PREFERRED_DEBUGGING_TYPE): Define as DBX_DEBUG. +Mon Oct 25 16:25:58 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Apr 5 20:47:44 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + * scan.c (scan_string, skip_spaces): Add newline before fn name. - * 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. + * scan-decls.c (scan_decls): When reading parameter list, + handle whitespace differently, and keep track of line number. -Mon Apr 5 06:57:35 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * config/i386/x-linux (STMP_FIXPROTO): Define as empty. - * expr.c (expand_expr, case SAVE_EXPR): Pass promoted type to - store_expr. +Mon Oct 25 13:22:37 1993 Kaveh R. Ghazi (ghazi@caip.rutgers.edu) -Mon Apr 5 03:26:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fixincludes: Fix bad S_IS* macros in on m88k-sysv3. - * reload1.c (emit_reload_insns): Cast enum array index to int. +Mon Oct 25 22:34:12 BST 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) - * expr.c (store_constructor): Properly compute size of array - when clearing the whole array. + * fixincludes: Remove nested brackets in change of Oct 21. + Fix token pasting operator in ARM/RISCiX include files. -Mon Apr 5 02:54:54 1993 Per Bothner (bothner@hal.gnu.ai.mit.edu) +Mon Oct 25 13:01:52 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * c-decl.c (lookup_name_current_level): Make non-static. + * sparc.h (LONG_DOUBLE_TYPE_SIZE): Don't define here. + * sol2.h (LONG_DOUBLE_TYPE_SIZE): Do define here. -Sun Apr 4 20:09:19 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + * configure (mips-sgi-irix5): Don't use collect. - * 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. +Sun Oct 24 14:15:12 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * 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. + * libgcc2.c (L_bb): Undef NULL before including . - * 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. +Sun Oct 24 03:04:53 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sun Apr 4 18:56:25 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * Makefile.in (g++.o): New target. - * pa.h (FUNCTION_OUTGOING_VALUE): Remove. - (FUNCTION_VALUE_REGNO_P): Return regs depend on TARGET_SNAKE. + * varasm.c (assemble_variable): Set last_assemble_variable_decl. + (last_assemble_variable_decl): New variable. + * toplev.c (rest_of_decl_compilation): Test that var. -Sun Apr 4 17:47:43 1993 John F Carr (jfc@Athena.mit.edu) +Sat Oct 23 20:28:13 1993 Jim Wilson (wilson@mole.gnu.ai.mit.edu) - * reorg.c (get_jump_flags): Check for LABEL == 0 before using - LABEL. + * configure (mips-sgi-irix5): Uncomment. + * iris5.h: Replace with working version. + * xm-iris5.h: New file. -Sun Apr 4 16:38:04 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * mips.c (mips_abicalls): New variable. + (override_options): Set mips_abicalls. Allow '^' as print operand + punctuation character. + (print_operand): Add support for '^'. + (mips_asm_file_start): Use ABICALLS_ASM_OP instead of ".abicalls". + (compute_frame_size): Handle TARGET_ABICALLS case. + (mips_expand_prologue): Likewise. + * mips.h (mips_abicalls): Declare new variable. + (PIC_FUNCTION_ADDR_REGNUM): New macro. + (STARTING_FRAME_OFFSET): Handle TARGET_ABICALLS case. + * mips.md (abicalls): New attribute. + (define_delay): Don't fill call delay slots when TARGET_ABICALLS. + (call_internal3, call_value_internal3): Renamed from + call_internal2 and call_value_internal2. + (call_internal2, call_value_internal2): New call patterns for + TARGET_ABICALL case. + (call_internal4, call_value_internal4): Likewise. - * mips-tfile.c: Change "illegal" to "invalid" in error messages. - (parse_stabs_common): Allow nonzero ignored fields in .stabs/.stabn. +Sat Oct 23 00:06:14 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * calls.c (expand_call) [PCC_STATIC_STRUCT_RETURN]: - Always set pcc_struct_value if aggregate_value_p returns 1. + * Makefile.in (deduced.h): Depend on GCC_PASSES and stmp-int-hdrs. + (xsys-protos.h): Depend on GCC_PASSES. + (fixhdr.ready): New target. + (stmp-fixproto): Depend on fixhdr.ready, not fix-header itself. + (clean): Delete fixhdr.ready. - * Makefile.in (alloca.o): Delete -Demacs from command. +Fri Oct 22 01:20:29 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sun Apr 4 11:19:07 PDT 1993 Ron Guilmette (rfg at netcom.com) + * fix-header.c: Renamed from patch-header.c. + (progname): Change name. + * fixproto: Use fix-header. + * Makefile.in (fix-header, fix-header.o): Renamed from patch-header*. + (stmp-fixproto, mostlyclean): Rename references to them. - * dwarfout.c (type_attribute): Use the TYPE_MAIN_VARIANT of the - given type when calling `user_def_type_attribute'. + * expr.c (store_field): In BLKmode case, return blk_object. -Sun Apr 4 07:57:18 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * config/m88k/m88k.h (ASM_FINISH_DECLARE_OBJECT): Undef, then define. - * optabs.c: Include reload.h. - * Makefile.in (optabs.o): Show includes reload.h. + * Version 2.5.0 released. - * alpha.c (output_prolog): Need LDGP even for static procedure. +Thu Oct 21 13:02:48 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * alpha.c (alpha_builtin_saveregs): Adjust for fact that - virtual_incoming_args_rtx includes pretend size. - * alpha.h (SETUP_INCOMING_VARARGS): Likewise. + * mips.h (CUMULATIVE_ARGS): Double size of adjust array. + * mips.c (function_arg): Add comment about too many adjust entries. - * alpha.h (LINK_SPEC): Don't pass -O2 to ld; it seems to be broken. +Thu Oct 21 13:48:14 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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.h (HARD_REGNO_MODE_OK): Multi-word objects cannot + go into MQ, LR, or CTR. -Sun Apr 4 03:09:23 1993 Richard Stallman (rms@churchy.gnu.ai.mit.edu) + * configure (mips-sgi-iris5*): Disable; not working yet. + * mips/iris5.h (ASM_SPEC, LINK_SPEC, CPP_PREDEFINES): Extend a bit. - * gstdarg.h [__svr4__]: Test only _VA_LIST_ to avoid dup typedef. - (This used to be if __SVR4_2__.) + * expmed.c (expand_divmod): Create RESULT in proper mode when trying + quotient-and-remainder insn. - * config/m68k/m68k.c (floating_exact_log2): Initialize r1. +Thu Oct 21 13:14:40 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sat Apr 3 20:01:05 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + * Makefile.in (STMP_FIXPROTO): Uncomment the definition. - * pa.c (hppa_legitimize_address): Use Pmode consistently. + * varasm.c (output_constructor): Fix previous change: + if no TYPE_DOMAIN, don't set min_index. -Sat Apr 3 17:35:11 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Thu Oct 21 11:13:21 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) - * reload1.c (emit_reload_insns): Don't update the status of a - register from an input reload if it also has an output reload. + * fixincludes: Avoid conflicting uses of __wchar_t in cc1plus and + stdlib.h for ARM/RISCiX. - * expr.c (store_expr): Call size_binop instead of doing the - same thing with fold and build. +Thu Oct 21 08:16:13 1993 Doug Evans (dje@canuck.cygnus.com) - * combine.c (simplify_comparison, case PLUS): Generalize - simplification of (eq (plus A B) C). - (simplify_comparison, case MINUS): Add corresponding cases. + * Makefile.in (install-common): Remove g++ dependency. + Not built for cross compilers. -Fri Apr 2 19:11:46 1993 Richard Stallman (rms@geech.gnu.ai.mit.edu) +Thu Oct 21 00:04:40 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-parse.in (expr_no_commas, from ASSIGN op): - Store ERROR_MARK as the original code. + * fixincludes (required): Accept a space instead of a tab + between #define and CTRL (or _CTRL). -Fri Apr 2 07:49:03 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * config/m68k/m68k.c (output_move_double): Use reg_overlap_mentioned_p + when checking for overlap between source and dest. + Fix syntax for the lea insn for double overlap case. + * m68k.md (movdi, movdf, movxf): Delete the & from load case. - * 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. + * config/m88k/m88k.h (ASM_FINISH_DECLARE_OBJECT): Emit .size + only if DECLARE_ASM_NAME. - * genopinit (optabs): Fix typo in name for "fix" pattern. +Wed Oct 20 21:32:11 1993 Jeff Law (law@snake.cs.utah.edu) -Thu Apr 1 21:24:04 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * pa.c (output_arg_descriptor): Do not stop searching if a USE + for the static link or struct value register is found. - Cygnus<->FSF merge. +Wed Oct 20 22:43:22 1993 Michael Meissner (meissner@osf.org) - Thu Apr 1 17:20:05 1993 Mike Stump (mrs@sphagnum.cygnus.com) + * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Don't emit .size + directive if using the OSF/rose object format. - * 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. + * i386/osfrose.h, i386/osfelf.h (SWITCH_TAKES_ARG): Allow use of + System V.4 -h * and -z * switches. + (LINK_SPEC): Pass -G, -h*, -z* switches through to the ELF linker. + Map -static, -symbolic, and -shared into the appropriate -B, -d, + and -G options when invoking the ELF linker. - Thu Apr 1 12:06:03 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Wed Oct 20 20:32:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-typeck.c (convert_for_assignment): Check if `rhs' is an - error_mark_node before looking to see if it's of OFFSET_TYPE. + * cse.c (fold_rtx): Alter previous change: don't fold the shift + if the count exceeds the width of the value inside the subreg. - * cp-decl.c (grokvardecl): Don't use declarator unless it's non-null - when looking for a redefinition. + * varasm.c (copy_constant): New function. + (output_constant_def): Use it. - * cp-typeck.c (convert_for_initialization): Check if `rhs' is a - TREE_LIST before looking for its value. + * Makefile.in ($(srcdir)/INSTALL): Add --no-split. - * cp-init.c (expand_default_init): Don't clear DECL_REGISTER. +Wed Oct 20 19:35:35 1993 John F Carr (jfc@mit.edu) - Wed Mar 31 17:57:50 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * alpha.h (LIB_SPEC): Link -lprof1 when profiling. - * 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. +Wed Oct 20 19:21:18 1993 Jim Wilson (wilson@cygnus.com) - * cp-tree.h (IDENTIFIER_TYPEDECL_VALUE): Deleted. - (identifier_typedecl_value): Deleted first prototype, kept second. - * cp-tree.c (list_hash_lookup_or_cons): Call the function for - identifier_typedecl_value, don't use the macro. - * cp-spew.c (yylex): Likewise. + * cccp.c (sys_errlist): Conditionalize declaration for BSD 4.4. + * collect2.c, g++.c, gcc.c, protoize.c: Likewise. + * collect2.c (my_strerror): Move block local extern declarations + for sys_errlist and sys_nerr to file level. - Wed Mar 31 14:43:50 1993 Mike Stump (mrs@cygnus.com) +Wed Oct 20 18:27:28 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * c-typeck.c (output_init_element): When initializing a union, + do it right away: never put the field on the pending list. - Wed Mar 31 13:32:38 1993 Mike Stump (mrs@cygnus.com) + * patch-header.c (main): Delete output file before opening it. + Discard directory names from progname. + * patch-header.c: Simplify and fix handling of errno.h. + (It no longer thinks errno.h always needs fixing.) + * patch-header.c (write_lbrac, write_rbrac): Only write + extern "C" if that specifically is needed. - * cp-method.c (report_type_mismatch): Arguments are numbered - starting from 1 now. +Wed Oct 20 18:12:21 1993 Torbjorn Granlund (tege@adder.cygnus.com) - Tue Mar 30 17:21:18 1993 Mike Stump (mrs@cygnus.com) + * pa.md (cacheflush): Split into dcacheflush and icacheflush. + Rewrite to use space regs correctly. + * pa.h (TRAMPOLINE_TEMPLATE): Rewrite. + (TRAMPOLINE_SIZE): Update with new size. + (INITIALIZE_TRAMPOLINE): Rewrite. - * 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. +Wed Oct 20 17:58:32 1993 Per Bothner (bothner@kalessin.cygnus.com) - Tue Mar 30 14:14:53 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * varasm.c (output_constructor): Add support for non-zero + lower array bound. + * expr.c (store_constructor): Likewise. - * cp-decl2.c (check_classfn): Say which class when giving an error - about arglist mismatches or missing members. +Wed Oct 20 15:16:34 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-decl.c (grokdeclarator): For class-local typedefs, call pushtag - to make sure the identifier is in scope properly. + * toplev.c (rest_of_decl_compilation): Use ASM_FINISH_DECLARE_OBJECT + unconditionally, but define it as no-op by default. - Mon Mar 29 18:05:22 1993 Mike Stump (mrs@cygnus.com) + * config/convex/convex.h (MAX_LONG_TYPE_SIZE): Defined. - lookup_fnfields hacking... Corrects some problems found with Thu - Mar 25 23:09:27 1993 vtable fixes. + * varasm.c (size_directive_output): New variable. + * toplev.c (rest_of_decl_compilation): Use ASM_FINISH_DECLARE_OBJECT. + * config/svr4.h (ASM_DECLARE_OBJECT_NAME): Set size_directive_output. + (ASM_FINISH_DECLARE_OBJECT): Defined. + * config/i386/osfrose.h, config/m88k/m88k.h: Likewise. - * 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. + * patch-header.c (inf_size): Move decl inside main. + (strdup): Use xmalloc rathern than malloc. + Don't use the return value of strcpy. + (INF_UNGET): Take parameter; do nothing if EOF. + (strcpy): Declaration deleted. - Mon Mar 29 16:42:58 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Wed Oct 20 11:39:56 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * cp-method.c (dump_init): If the init value is an enum, then use - its tag in the error message, instead of its value. + * xm-mips.h (HAVE_VPRINTF): Define for BSD 4.4. - * cp-typeck.c (build_binary_op_nodefault): Delete spurious warning - about comparision between signed/unsigned (matches C front-end). + * mips.c (mips_output_filename): When emitting stabs, don't + disable them if using gas. + (mips_output_lineno): Likewise. - Fri Mar 26 16:30:57 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * sparc.h (INITIALIZE_TRAMPOLINE): Emit 3 flush instrutions. + * sparc.md (flush): Add pattern. - * 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. +Wed Oct 20 10:47:54 1993 Michael Meissner (meissner@osf.org) - * 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. + * configure (mips-dec-bsd, mips-dec-osf): Fix a typo in the last + change. - Fri Mar 26 01:21:43 1993 Mike Stump (mrs@cygnus.com) +Wed Oct 20 07:57:06 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-decl.c (grokdeclarator): Don't set TREE_PUBLIC for friends. + * rs6000.h, aix31.h (RS6000_CROR_BIT_NUMBER): Deleted. + (RS6000_CALL_GLUE): New macro. + * rs6000.c (print_operand, case '.'): Use RS6000_CALL_GLUE + instead of RS6000_CROR_BIT_NUMBER. + (print_operand, case 'E', case 0): Use "return", not "break". + * rs6000.md (call): Don't use CROR or NOP; just use "%.". - Fri Mar 26 01:09:34 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * c-common.c (check_format_info): Consider "char", "signed char", + and "unsigned char" types as equivalent. - * cp-decl.c (pushdecl): Give a pedwarn, not a regular warning, when - we shadow a formal parameter. + * loop.c (find_and_verify_loops): Properly continue loop after + moving a block of code near a loop exit. - * cp-init.c (expand_default_init): Get rid of spurious abort call. +Wed Oct 20 02:01:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Thu Mar 25 23:09:27 1993 Mike Stump (mrs@cygnus.com) + * Makefile.in (extraclean): Delete file djefoo. + (stmp-fixproto): Depend on stmp-headers, not LIBGCC2_DEPS. - Major vtable re-vamp. +Tue Oct 19 23:11:16 1993 James Van Artsdalen (james@bigtex.cactus.org) - * 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. + * config/i386/isc.h (LONG_DOUBLE_TYPE_SIZE): Define as 64 bits + due to FP emulator bugs in the target kernel. + * config/i386/sco.h: Likewise (kernel bugs are only suspected). -Thu Apr 1 19:38:53 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) +Tue Oct 19 21:21:34 PDT 1993 Ralph Campbell (ralphc@pyramid.com) - * reorg.c (redundant_insn_p): Stop searching for a redundant - insn if an INSN or JUMP_INSN with delayed effects is - encountered. + * configure (mips-dec-bsd): New alternative. + * config/mips/dec-bsd.h: New file. -Thu Apr 1 12:00:01 1993 Michael Meissner (meissner@osf.org) +Tue Oct 19 18:49:40 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * real.c (toplevel): Add 'extern' keyword in forward declaration - of arrays without bounds to silence warnings from the MIPS - compiler. + * c-typeck.c (digest_init): For arrays, use comptypes to compare + types instead of comparing pointers. - * 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. +Tue Oct 19 11:24:16 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) - * mips/mips.md (untyped_call): Rewrite code so that the MIPS - compiler will not issue statement not reached warning messages. + * reload1.c (reload): Cope when inherited register is larger than + one word. + (choose_reload_regs): Ditto. -Thu Apr 1 07:28:11 1993 James Van Artsdalen (james@bigtex.cactus.org) +Tue Oct 19 18:09:18 1993 David Edelsohn (edelsohn@npac.syr.edu) - * expr.c (emit_push_insn, expand_assignment): Fix typo in last change. + * rs6000.md (define_function_unit): Add support for RIOS2 + asymmetric integer units. -Thu Apr 1 02:31:16 1993 Per Bothner (bothner@hal.gnu.ai.mit.edu) +Tue Oct 19 17:48:37 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.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. + * function.c (assign_parms): Properly set parm_reg_stack_loc for + args that are a CONCAT. -Thu Apr 1 02:11:10 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * clipper.md (movdi): Force use of "o" alternative if + operand 1 is a MEM. - * Makefile.in (LIB2FUNCS): Add _fixunsxfdi, _fixxfdi, _floatdixf, - _fixunsxfsi. + * alpha.h (HAVE_ATEXIT): New macro. - * 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. + * reload.c (push_reload, find_reloads): If an operand is + a SUBREG of a PLUS, force a reload and reload what is inside. -Wed Mar 31 20:05:19 1993 Michael Meissner (meissner@osf.org) + * dbxout.c (print_int_cst_octal): Fix bug in last change. - * mips.h (CLASS_UNITS): Fix typo in previous change, patch from - ian@cygnus.com. +Tue Oct 19 17:42:23 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) -Wed Mar 31 17:18:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * arm.c: Include reload.h + (arm_reload_out_hi): New function. + (output_call): Don't look inside operands[0]. + * arm.h: Add function definitions for shift_instr, + output_mov_long_double_fpu_from_arm, + output_mov_long_double_arm_from_fpu, + and output_mov_long_double_arm_from_arm. + (FLOAT_WORDS_BIG_ENDIAN): Define to 1. + (SECONDARY_OUTPUT_RELOAD_CLASS): return GENERAL_REGS for HImode + outputs. + (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): + output floating point constants as hex, make order correct given + definition of FLOAT_WORDS_BIG_ENDIAN. + (PRINT_OPERAND): Delete redundant code when handling CONST_DOUBLE. + * arm.md: (reload_outhi): New pattern. + (movhi): Handle reloads better. + (restorehi): Delete. Also tidy up commented out code. + (call): Make this a define_expand. + (matcher for above): only accept MEM(reg) + (call_value): Handle as for (call). + * xm-arm.h (HOST_FLOAT_WORDS_BIG_ENDIAN): Define to 1. - * toplev.c (compile_file): Call incomplete_decl_finalize_hook - only if nonzero. +Tue Oct 19 13:25:03 1993 Mike Stump (mrs@rtl.cygnus.com) -Wed Mar 31 00:59:50 1993 Gerald Baumgarnter (gb@cs.purdue.edu) + * cp-type2.c (build_m_component_ref): Fix typo, type must be set, + after changing component. Fixes problem introduced on Thu Sep 9 + 21:22:40 1993. - * toplev.c (compile_file): Only call `*incomplete_decl_finalize_hook' - if the `decl' in question is a VAR_DECL. +Tue Oct 19 01:09:56 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Mar 31 15:27:41 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + * configure (m68000-convergent-sysv*): Untangle from m68k-*-lynxos. - * pa.h (CONSTANT_ADDRESS_P): Fix typo in last change. + * Makefile.in (stmp-fixproto): Depend on LIBGCC2_DEPS. + (crtbegin.o, crtend.o): Specify -fno-inline-functions. -Wed Mar 31 15:11:12 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * config/mips/iris5.h: New file. + * config/mips/mips.c (mips_asm_file_start): Handle ABICALLS_ASM_OP. + * configure (mips-sgi-iris5*): New configuration. - * 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 Oct 18 16:16:26 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Mar 31 11:28:21 1993 James Van Artsdalen (james@bigtex.cactus.org) + * cse.c (note_mem_written): (mem (scratch)) means clobber everything. - * reg-stack.c (emit_swap_insn): Don't link cc0 insns: emit swap - after cc0 user. + * gen-protos.c: Include ctype.h. -Wed Mar 31 07:00:45 1993 Richard Kenner (kenner@apple-gunkies.gnu.ai.mit.edu) + * expmed.c (extract_split_bit_field): Change shift count calculation + in little-endian case. - * expr.c (expand_expr, case ADDR_EXPR): Allow taking the - address of any object; used in call-by-reference situations. + * Makefile.in (stmp-fixproto): Added dependency on fixproto script. - * tree.c (next_type_uid): Move definition to reasonable place. - (copy_node): Make new DECL_UID and TYPE_UID as comments say. +Mon Oct 18 11:26:08 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * expr.c (emit_block_move, emit_push_insn, expand_assignment): - Size passed to memcpy/bcopy is SIZETYPE, not Pmode. + * c-typeck.c (process_init_element): Align structure elements + that are subaggregates. - * 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. + * c-decl.c (finish_decl): After preserve_initializer call, set + TREE_PERMANENT bit in initializer. - * alpha.h (INITIAL_ELIMINATION_OFFSET): Subtract - current_function_pretend_args_size from OFFSET for AP. + * combine.c (can_combine_p): Don't combine instructions across a + volatile insn. + * rtlanal.c (volatile_insn_p): New function. - * alpha.h (LINK_SPEC): New definition. +Sun Oct 17 03:04:49 1993 Torbjorn Granlund (tege@adder.cygnus.com) - * 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. + * configure (powerpc-ibm-aix*): Set cpu_type. + * config.sub: Recognize powerpc. -Wed Mar 31 02:02:29 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sun Oct 17 21:37:57 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * gvarargs.h [__svr4__]: Test only _VA_LIST_ to avoid dup typedef. - (This used to be if __SVR4_2__.) + * reload1.c (eliminate_regs_in_insn): Rerecognize some loads and + stores. + * pa.md (indexing loads and stores): Provide variants which avoid + reload problems with shift-add operations. - * local-alloc.c (optimize_reg_copy_1): Don't increment n_calls - specially if P is a call_insn. + * pa.h (READONLY_DATA_SECTION): Disable. - * convert.c (convert_to_real): Pass mode arg to REAL_VALUE_ATOF. +Thu Oct 14 12:38:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Mar 30 17:07:33 1993 Stephen L. Moshier (moshier@world.std.com) - - * real.c: This is a new C file to implement floating point - REAL_ARITHMETIC, target machine bit patterns for cross-compilation, - and REAL_VALUE_ATOF for decimal input constants in long double - XFmode as well as lower precisions. - - * real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE, REAL_VALUE_TO_TARGET_DOUBLE) - (REAL_VALUE_TO_TARGET_SINGLE): New macros. + * cse.c (fold_rtx): Special case handling for folding + a subreg of the result of a left shift. - * 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. +Thu Oct 14 00:05:42 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * real.h (REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT): - New macros truncate toward zero to integer value but - return REAL_VALUE_TYPE. - - * real.h (REAL_VALUE_TO_DECIMAL): New macro defaults to - fprintf if no REAL_ARITHMETIC, otherwise uses real.c for - binary to decimal conversion. Use in ASM_OUTPUT_ macros. - - * Makefile.in (real.o): New target. - (OBJS): Add real.o. - - * c-lex.c (yylex): Convert real decimal constants directly - to the precision specified by the letter at the end of the number. - Pass mode arg to REAL_VALUE_ATOF to specify precision. - Move the "out of range of double" error check. + * alpha.h (DBX_CONTIN_LENGTH): Set to 4000. - * cp-lex.c (yylex): Redo converting float values to desired type. + * expr.c (do_jump_for_compare): Don't blow up if aren't any insns + in this sequence yet. - * 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. + * alpha.h (LINK_SPEC): Now OK to pass -O3 to linker. + (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Work around + bug in DEC assembler. - * 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. +Wed Oct 13 21:47:58 1993 Ian Lance Taylor (ian@cygnus.com) - * 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. + * fixincludes: Remove erroneous parens from Alpha OSF/1 . - * 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. +Wed Oct 13 16:08:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * m68k/crds.h (ASM_OUTPUT_DOUBLE, PRINT_OPERAND): - Use new REAL_VALUE... macros. + * config/m68k/sun3.h (CPP_PREDEFINES): Don't define _CROSS_TARGET_ARCH. - * 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. + * fold-const.c (invert_truthvalue): Handle SAVE_EXPR. - * vaxv.h (ASM_OUTPUT_DOUBLE): Use new REAL_VALUE... macros. + * Makefile.in (install-collect2): Depend on install-dir. + (install-info, install-float-h-cross): Likewise. - * alpha.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): - Use new REAL_VALUE... macros. - (REAL_ARITHMETIC): Defined. +Wed Oct 13 15:51:02 1993 Stephen L. Moshier (moshier@world.std.com)\ -Tue Mar 30 17:07:33 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + * real.h (FLOAT_WORDS_BIG_ENDIAN): New macro. + (HOST_FLOAT_WORDS_BIG_ENDIAN): Likewise, for host. + (REAL_VALUE_TO_TARGET_DOUBLE (default version)): Use them. + (efixi, efixui): Return HOST_WIDE_INT. + (REAL_VALUE_FROM_INT): Cast inputs to HOST_WIDE_INT. + * real.c (FLOAT_WORDS_BIG_ENDIAN, HOST_FLOAT_WORDS_BIG_ENDIAN): + Use everywhere in place of WORDS_BIG_ENDIAN, HOST_WORDS_BIG_ENDIAN, + except in reference to endian-ness of integers. + (etrunci, etruncui, efixi, efixui, ereal_from_int, ereal_to_int, + ltoe, ultoe, eifrac, euifrac): Change `long' to `HOST_WIDE_INT'. - For Tege: - * pa.md (sminsi3, smaxsi3): Fix bugs in last addition. +Wed Oct 13 15:47:37 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Mar 30 16:52:15 1993 Michael Meissner (meissner@osf.org) + * c-parse.in (initdcl, notype_initdcl): Call decl_attributes + before init as well as after. - * 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. + * config/ns32k/pc532.h (FRAME_POINTER_REQUIRED): + Require a frame pointer if fn calls setjmp. -Tue Mar 30 05:40:26 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Wed Oct 13 15:27:01 1993 Jim Wilson (wilson@cygnus.com) - * 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. + * jump.c (jump_optimize): When moving a range of instructions, + include all NOTEs before the range, not just line number notes. - * reload.c (form_sum): Use mode of inputs when making new PLUS. +Wed Oct 13 11:01:51 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) - * 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. + * patch-header.c: #include before . -Sun Mar 28 00:36:04 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) +Wed Oct 13 11:57:33 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * fixincludes: Move comments about big sed command outside the - command itself. + * rs6000.md (seq): Fix typo: had "xubfic" instead of "subfic". - * toplev.c (lang_options): Add -W{no-,}missing-braces. + * va-m88k.h (_VA_LIST_): Define. - * c-typeck.c (process_init_constructor, digest_init): - Check and set new static var partial_bracket_mentioned. + * alpha.c (ignore_line_number): No longer used. - * c-lex.c: Updated for recent change in c-parse.gperf. + * mips-tdump.c (print_global_hdr): Fix typo in cast in ctime call. -Sat Mar 27 13:43:27 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + * cccp.c (main): Don't catch SIGPIPE if no such signal. - * 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. + * x-alpha: File deleted, all shipped OSF systems have `ranlib'. -Sat Mar 27 08:22:25 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * fold-const.c (optimize_bit_field_compare, decode_field_reference): + Don't do anything if get_inner_reference returned its argument. - * 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. + * bi-reverse.c: Avoid defining NULL; can cause duplicate definition + errors. - * va-alpha.h: Major rework to agree with new calling sequence. - Should have been installed with Feb 10th changes. +Wed Oct 13 07:58:28 1993 Michael Meissner (meissner@osf.org) - * rs6000.md (mov[qhs]i): Allow moving a special reg to itself. + * i386/osfrose.h (ASM_OUTPUT_ADDR_DIFF_ELT): Define like in V.4. + (FUNCTION_PROFILER, FUNCTION_PROLOGUE): Don't load up %eax with + the pointer value before calling indirect, just call indirect the + memory address to save some cycles in profiling. + +Tue Oct 12 12:41:12 1993 Jim Wilson (wilson@sphagnum.cygnus.com) + + * cse.c (record_jump_cond): At end, make missing equivalences + first, and then merge them. + +Tue Oct 12 21:30:29 1993 Doug Evans (dje@cygnus.com) + + * va-h8300.h (__va_rounded_size): Fix typo in #ifdef. + +Tue Oct 12 20:19:22 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * bc-emit.c: Include stdio.h last. + * combine.c: Include stdio.h after gvarargs.h. + +Tue Oct 12 13:28:18 1993 Per Bothner (bothner@kalessin.cygnus.com) + + * fixproto: Re-write. We now assume that there are two + source directories (source_dir_all and source_dir_std). These + are handled differently. All files in source_dir_all (normally + ./include) are processed, but in source_dir_std (normally + /usr/include) we only process the standard ANSI/Posix ones where + we might be able to add missing prototypes. + * scan-decls.c (scan_decls): Rewrote from being a program whose + output is piped to patch-header, to a subroutine called by + patch-header. This should be somewhat more efficient. + * Makefile.in (scan-decls): Removed rule to make program. + * patch-header.c (recognized_macro, recognized_extern, + recognized_function): New functins, with logic moved out from + read_scan_file, so they can be called by scan_decls. + * patch-header (main): Read the original header file into a + buffer (rather than reading it with stdio). This should be more + efficient, partly because we can re-write it in place. + (inf_skip_spaces, inf_read_upto, inf_scan_ident): New functions, + based on skip_spaces, read_upto, and scan_ident in scan.c, but + these read from the in-memory buffer mentioned above. + * scan-types.sh: Don't check for sigset_t, since it can be a + struct, whose name cannot be simplify replaced by its definition. + * Makefile.in (deduced.h): Don't pass -nostdinc. + +Tue Oct 12 18:36:32 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + Changes to support native ecoff and embedded stabs debugging + for the Alpha. + + * alpha.c (output_prolog): Put out file and line number if sdb + debugging format, put out .ent directive, signal start of function for + alpha_output_filename and set up debugging auto/arg offsets. + (output_epilog): Signal end of function for alpha_output_filename. + (alpha_output_filename, alpha_output_lineno): New functions. + * alpha.h (TARGET_SWITCHES): Add gas option. + (ASM_DECLARE_FUNCTION_NAME): Moved output of .ent directive to + output_prolog. + (DBX_NO_XREFS): Removed, gdb understands cross references and the + native debugger can't handle embedded stabs. + (ASM_FILE_START): Replace output of .file directive + by ASM_OUTPUT_SOURCE_FILENAME call. + (TARGET_GAS, MASK_GAS, SDB_DEBUGGING_INFO, DBX_DEBUGGING_INFO, + MIPS_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE, DEBUGGER_AUTO_OFFSET, + DEBUGGER_ARG_OFFSET, ASM_OUTPUT_SOURCE_LINE, + ASM_OUTPUT_SOURCE_FILENAME, DEFAULT_GDB_EXTENSIONS, ASM_STABS_OP, + ASM_STABN_OP, ASM_STABD_OP, SDB_ALLOW_FORWARD_REFERENCES, + SDB_ALLOW_UNKNOWN_REFERENCES, PUT_SDB_DEF, PUT_SDB_PLAIN_DEF, + PUT_SDB_TYPE, PUT_SDB_BLOCK_START, PUT_SDB_BLOCK_END, + PUT_SDB_FUNCTION_START, PUT_SDB_FUNCTION_END, PUT_SDB_EPILOGUE_END, + ASM_FINAL_SPEC, CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB, + MIPS_UNMARK_STAB, SHASH_SIZE, THASH_SIZE): New macros. + * alpha-gdb.h: New file. + * configure (alpha-*-osf*): Handle --with-stabs and --with-gnu-as. + * mips-tfile.c (add_local_symbol): Index in the external symbol + must point to local symbol table entry for procedures. + +Mon Oct 11 16:14:53 1993 Ian Lance Taylor (ian@cygnus.com) + + * fixincludes: If a file is referenced with double quotes from + a fixed file, make sure it is copied into the fixed include + directory. + Remove DPS/XDPSlib.h special-case code. + +Tue Oct 12 08:05:28 1993 David Edelsohn (edelsohn@npac.syr.edu) + + * rs6000/powerpc.h: New file. + * configure (powerpc-ibm-aix*): New target. + * rs6000.h (MASK and TARGET): Add new flags for POWER2 and PowerPC + with square root. + (ASSEMBLER_DIALECT): New macro. + (CONDITIONAL_REGISTER_USAGE): Set MQ register fixed if not POWER. + (SHIFT_COUNT_TRUNCATED): Conditional on POWER. + (ASM_OUTPUT_REG_{PUSH,POP}): Mnemonics dependencies. + * rs6000.c (rs6000_override_options): Use new TARGET flags and + add some more cpu choices. + (output_prolog, output_epilog): Support new mnemonics and avoid + using lm/stm when not POWER. + * rs6000.md: Update define_function_units. + Put both old and new mnemonics in all templates. + Add target tests to pattern conditional field throughout. + (one_cmplsi2): Make POWER and PowerPC variants. + (mulsi3): Convert to define_expand which calls appropriate POWER + or PowerPC pattern. + (divsi3, udivsi3): Add patterns for PowerPC case. Update divsi3 + define_expand for PowerPC case. + (ashlsi3, lshrsi3, ashrsi3, extendqisi2, extendqihi2): Convert to + define_expand which calls appropriate POWER or PowerPC pattern. + (floating-point): Add PowerPC single-precision FP, and SF/DF sqrt + insns for 603, 604, 620. + (call insns): Use "nop" for magic TOC restore. + (move data, nop): Use PowerPC extended mnemonics. + +Tue Oct 12 07:58:36 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * alpha.h (SETUP_INCOMING_VARARGS): If not TARGET_FPREGS, + save another copy of the integer regs where the FP regs would + have gone. + + * tree.h (struct tree_type): symtab_address is now a union of + pointer and integer. + (TYPE_SYMTAB_ADDRESS): Refer to the integer. + (TYPE_SYMTAB_POINTER): New macro to refer to pointer. + * sdbout.c (KNOWN_TYPE_TAG, SET_KNOWN_TYPE_TAG): Refer to + TYPE_SYMTAB_POINTER and remove casts. + (tag_of_ru_type): Likewise. + + * reload1.c (reload): Fix typo in RELOAD_FOR_INSN case when + accounting for reloads. + + * expr.c (convert_modes): Reset OLDMODE from X after we strip + a SUBREG due to a promoted variable. + + * dbxout.c (dbxout_type, case INTEGER_TYPE): Output bounds in + octal if type wider than HOST_WIDE_INT. + (print_int_cst_octal): Trim bound by precision of its type. + Avoid warning on what may be shift into sign bit. + + * bi-reverse.c: Add missing #include for hconfig.h. + + * fixincludes: Quote braces when looking for DONE files. + + * final.c (dialect_number): New variable. + (init_final): Initialize it. + (output_asm_insn, asm_fprintf): Support ASSEMBLER_DIALECT. + +Tue Oct 12 01:34:16 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * c-typeck.c (digest_init): If traditional, allow unbraced scalar + to initialize the first element of an aggregate. + + * cccp.c (output_line_command): Output the `4' flag only if cplusplus. + (do_line): Handle the `4' flag. + + * final.c (final_scan_insn): Call walk_alter_subreg for operands + that are PLUS or MULT, before constrain_operands. + +Mon Oct 11 15:18:45 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * real.c (debug_real): New function. + + * regclass.c (reg_scan_mark_refs): XEXP (x, 0) in EXPR_LIST may be 0. + + * config/m68k/m68k.md (cmphi): Turn on constraints to support cmpm.w. + +Mon Oct 11 13:20:54 1993 Jim Wilson (wilson@sphagnum.cygnus.com) + + * unroll.c (unroll_loop): Set map->const_equiv_map_size to + new_maxregnum. + (copy_loop_body): When set const_age_map entry for split dest reg, + verify that it is within the bounds of the map. + (find_splittable_regs): Count number of biv sets, not number of + bivs. Don't pass result to find_splittable_givs. + (find_splittable_givs): Delete parameter result. Add local + variable result. + +Mon Oct 11 07:43:31 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * expr.c (expand_assignment): When assigning an INDIRECT_REF to + a RESULT_DECL, the size and source rtx were swapped. + + * function.c (trampoline_address): Don't allocate anything + from parent function's current obstack. + + * regclass.c (reg_scan): Don't call reg_scan_mark_refs on notes + if there aren't any. + (reg_scan_mark_refs, case INSN_LIST, EXPR_LIST): New cases. + + * cse.c (simplify_binary_operation): Test value of + SHIFT_COUNT_TRUNCATED if it is defined. + * combine.c (subst, shift and rotate cases): Likewise. + * a29k.h, alpha.h, fx80.h, i960.h, mips.h, pa.h, pyr.h, rs6000.h: + Define SHIFT_COUNT_TRUNCATED to have a value of 1. + * sparc.h, tahoe.h, we32k.h: Likewise. + +Mon Oct 11 02:40:22 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * regclass.c (regno_last_note_uid): New vector. + (reg_scan): Initialize regno_last_note_uid. + Call reg_scan_mark_refs for the notes. Pass its new arg. + (reg_scan_mark_refs): New arg NOTE_FLAG. Pass it recursively. + Set regno_last_note_uid. + * regs.h (regno_last_note_uid): Declared. + * jump.c (jump_optimize): Use regno_last_note_uid when deciding + whether a register is set and never used. + +Sun Oct 10 22:51:01 1993 Stephen Moshier (moshier@world.std.com) + + * real.c (asctoeg): Fix backward condition in last change. + +Sun Oct 10 22:33:17 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * configure (hppa1.0-*-mach*): Use collect2. + (hppa1.1-*-mach*): Likewise. + + * pa.c (legitimize_pic_address): Delete unused variables. + (output_block_move, output_ior): Likewise. + (hppa_builtin_saveregs): Likewise. + (emit_move_sequence): Add parens as suggested by -Wall. + (compute_frame_size): Likewise. + (output_ascii): Return type is "void". + (hppa_expand_prologue, import_milli): Likewise. + + * pa.c (output_function_prologue): Pass the highest register + number saved for ENTRY_GR and ENTRY_FR directives rather + than the number of registers saved. + (hppa_expand_prologue): Account for %r4 when it's being + used as a frame pointer. -Sat Mar 27 03:13:46 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) +Sun Oct 10 18:42:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.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. + * c-typeck.c (start_init): Don't set require_constant_elements + for scalar types. -Fri Mar 26 17:07:31 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * c-parse.in (stmt): Don't call default_conversion on top-level + expressions. - * c-tree.h, output.h: Use STDIO_PROTO for prototypes with FILE. + * c-typeck.c (convert_for_assignment): Allow silent conversion to + a pointer from an integer 0 that resulted from arithmetic. - * input.h: Add standard copyright notice. + * varasm.c, c-pragma.c (enum pragma_state): Defined. - * caller-save.c: Add prototypes for static functions. - (choose_hard_reg_mode): Add missing parameters declaration. + * config/i386/i386.c (restore_386_machine_status) + (save_386_machine_status): New functions. + (clear_386_stack_locals): Store those functions in + save_machine_status, restore_machine_status. + (struct machine_function): New structure definition. - * a29k.md (multiply/multiplu/mulm/mulmu insns): These clobber Q. + * function.h (struct function): New field `machine'. + * function.c (save_machine_status, restore_machine_status): New vars. + (push_function_context, pop_function_context): Use them. -Fri Mar 26 06:23:31 1993 Tom Wood (wood@next.com) + * explow.c (emit_stack_save): Cast enum array index to int. - * 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. +Sun Oct 10 12:49:39 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) -Fri Mar 26 02:09:02 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) + * arm.c (const_ok_for_arm): Cast constants to unsigned HOST_WIDE_INT. + (output_prologue): Sanity check the finite state machine. + (output_epilogue): Delete unused variable. + (final_prescan_insn): Always clear arm_target_insn when FSM goes to + state 0. + * arm.h (OPTIMIZATION_OPTIONS): Don't set flag_omit_frame_pointer, + since this inhibits debugging. + (ASM_OUTPUT_INTERNAL_LABEL): Always clear arm_target_insn when FSM + goes to state 0. - * configure (sparc-tti-*, m68k-tti-*): Don't set use_collect2. +Sun Oct 10 08:56:58 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Fri Mar 26 01:05:43 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * alpha.h (ALPHA_COSTS): Add missing arg to call to rtx_cost. - Cygnus<->FSF merge. + * combine.c (force_to_mode, case ASHIFTRT): Verify that result of + making a LSHIFTRT remains a shift. - Thu Mar 25 18:19:19 1993 Mike Stump (mrs@cygnus.com) + * tree.c (save_tree_status): Function_maybepermanent_obstack is the + function_obstack of parent function. + (restore_tree_status): Only free objects later than + maybepermanent_firstobj in function_maybepermanent_obstack. + (make_node): Fix logic error in PARM_DECL code. + Put PARM_DECL in parent function's saveable obstack. + * function.c (put_reg_into_stack): Allocate fixup structure in + saveable obstack. - * 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. + * expr.c (expand_assignment): Don't short circuit store_expr + when TO is a VAR_DECL since it needs special handling if promoted. - Wed Mar 24 16:28:17 1993 Per Bothner (bothner@rtl.cygnus.com) + * combine.c (subst, case SUREG): Only call force_to_mode if both + inner and outer modes are MODE_INT. - * cp-call.c (build_method_call): Fix handling of foo->~Class(). + * mips-tfile.c (WORD_ALIGN): Fix typo in last change. - Sat Mar 20 12:29:37 1993 Michael Tiemann (tiemann@rtl.cygnus.com) + * c-common.c (check_format_info): Support X/Open formats like "%1$d". - * 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. +Sat Oct 9 22:29:17 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) - Fri Mar 19 15:58:34 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * configure: If no target is specified, try getting one + with config.guess. + * config.guess: New file. - * cp-pt.c (tsubst): Call build_decl_overload for the new - instantiation. +Sat Oct 9 19:50:24 1993 Pat Rankin (rankin@eql.caltech.edu) - Thu Mar 18 19:09:39 1993 Ken Raeburn (raeburn@cygnus.com) + * c-common.c (check_format_info): Avoid ?: conditional for function + to be called. - * 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'. + * config/vax/xm-vms.h [VAXC] (bc_check_for_full_enumeration_handling) + (current_function_has_nonlocal_goto) + (output_deferred_addressed_constants): New macros to shorten + external names exceeding 31 characters. - Tue Mar 2 16:24:39 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * make-cc1.com: Move alloca handling before bytecode construction + so that VAX C won't need two different values for LIBS. Eliminate a + comment about make-like functionality that referred to a capability + which has not been implemented. - * cp-typeck.c (c_expand_return): If operand 0 is a TREE_LIST, then - make sure to use its value. +Sat Oct 9 21:53:53 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - Mon Mar 1 14:22:12 1993 Bill Cox (bill@rtl.cygnus.com) + * fixincludes: Unquote a quoted `t' in a #define _IO line, for AIX + 3.2 sys/stropts.h #define _IO(t,v). + (sys/spinlock.h): Don't copy it if it doesn't exist. + (DPS/XDPSlib.h): Change "XDPS.h" to , for AIX. - * cp-decl.c (push_level_decl): Add cast to correct push_stack_level - parameter. +Sat Oct 9 15:00:00 1993 DJ Delorie (dj@ctron.com) - Mon Mar 1 10:19:38 1993 Mike Stump (mrs@cygnus.com) + * configure.bat: Change $(srcdir)/ to $(srcdir)\ in commands. - * cp-lex.c (do_identifier): Improve wording on error message. +Sat Oct 9 15:17:22 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Wed Feb 24 19:54:46 1993 Mike Stump (mrs@rtl.cygnus.com) + * expr.c (expand_expr, case ABS_EXPR): Don't copy twice into + volatile MEM. - * cp-typeck.c (commonparms, convert_for_assignment): Number - arguments starting at 1 in error messages to match the C front-end. + * expr.c (expand_expr): Never reset ORIGINAL_TARGET. + Pass ORIGINAL_TARGET to lang_expand_expr, not TARGET. - Wed Feb 24 14:55:54 1993 Mike Stump (mrs@cygnus.com) +Sat Oct 9 13:27:10 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * tree.c (pop_momentary_nofree): New function. + * c-parse.in (initdcl, notype_initdcl, init): Undo previous change. + (init): Use pop_momentary_nofree if the initializer has real data. - Mon Feb 22 18:07:23 1993 Mike Stump (mrs@cygnus.com) +Sat Oct 9 12:55:26 1993 Stephen Moshier (moshier@world.std.com) - * 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. + * real.c (asctoeg): Allocate local buffer dynamically. Count + any lost significant digits before the decimal point. - Wed Feb 17 15:12:12 1993 Mike Stump (mrs@cygnus.com) +Fri Oct 8 16:33:42 1993 Mike Stump (mrs@rtl.cygnus.com) - * 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. + * cp-tree.h (OFFSET_REF): Override OFFSET_REFs from the back-end, as + we need to do something more complex with them. + * cp-tree.def (CP_OFFSET_REF): Very similar to OFFSET_REFs, but + allow the front-end to handle them. - Tue Feb 16 22:47:29 1993 Mike Stump (mrs@cygnus.com) +Fri Oct 8 14:40:29 1993 Jason Merrill (jason@deneb.cygnus.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. + * cp-error.c (dump_expr, REAL_CST): Support printing of real values + when REAL_IS_NOT_DOUBLE (prints out rep in hex). - * 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. +Fri Oct 8 13:54:03 1993 Mike Stump (mrs@cygnus.com) - * cp-class.c (related_vslot): New routine to ensure that only - vfields that are related to the given base_fndecl are modified. - Relies upon new searching scheme for base classes. - * cp-class.c (modify_vtable_entries): Use related_vslot to ensure - that only slots related to the base virtual function are filled in. + * cp-type2.c (store_init_value): Move pointer to member function + initilization code to... + * cp-type2.c (digest_init): here. Allows nested pointer to member + functions to work. + * cp-decl.c (build_ptrmemfunc_type): Use a real union instead of a + magic union, as the initialization code doesn't like them. + * cp-tree.h (TYPE_PTRMEMFUNC_FN_TYPE): Changed to go though the + union. + * cp-tree.h (DELTA2_FROM_PTRMEMFUNC, PFN_FROM_PTRMEMFUNC): Accessor + macros to go thought union. Allows us to change pointer to member + functions a little easier. + * cp-typeck.c (get_member_function_from_ptrfunc, + build_binary_op_nodefault): Changed to use new accessor macros. + * cp-typeck.c (build_ptrmemfunc): Use new union instead. Also, make + sure TREE_CONSTANT is set for CONSTANT things. + * cp-decl.c (pfn_or_delta2_identifier): Added to cache + get_identifier calls. + * cp-tree.h (pfn_or_delta2_identifier): Declare it. + * cp-decl.c (init_decl_processing): Setup pfn_or_delta2_identifier. - * cp-class.c (build_vtable, prepare_fresh_vtable, finish_struct), - cp-tree.h: Remove DECL_VPARENT. +Fri Oct 8 19:03:09 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * cp-class.c (get_vtable_entry): Use unsigned when dealing with - DECL_VINDEXes. - * cp-class.c (finish_struct): Use get_vtable_entry instead of open - coding that routine here. + * xcoffout.h (DBX_STATIC_BLOCK_START): For N_LCSYM, force change + to text section to avoid assembler bug. - Fri Feb 12 10:24:52 1993 Brendan Kehoe (brendan@cygnus.com) + * mips.md (movsi_unaligned): Change in comment "loads" to "stores". - * 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. + * calls.c (emit_library_call_value): Compute struct_value_size, + and pass it to emit_call_1. - Thu Feb 11 10:30:59 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Fri Oct 8 16:13:17 1993 H.J. Lu (hlu@nynexst.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. + * config/i386/linux.h (STARTFILE_SPEC): Handle -p and -pg + outermost. Also add support for cross-linking. - Tue Feb 9 10:02:58 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Fri Oct 8 15:20:58 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-lex.c (real_yylex): When parsing an exponent, check for 'e' and - 'E' explicitly. + * Makefile.in (cp-error.o, cp-errfn.o): Add dependency rules. - * 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. +Fri Oct 8 08:00:51 1993 Eric Youngdale (eric@kafka) - * 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. + * linux.h: Only include i386/gstabs.h if LINUX_ELF is not defined. - 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. + * linuxelf.h: Copy a lot of stuff from the SVr4 configuration: + include "i386/i386.h", "i386/att.h" and "svr4.h". + (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Undefine. + (ASM_FILE_START, RETURN_IN_MEMORY, ASM_OUTPUT_ADDR_DIFF_ELT) + (JUMP_TABLES_IN_TEXT_SECTION, DBX_REGISTER_NUMBER): Copy from sysv4.h. + (TARGET_VERSION): Define to print "i386 Linux/ELF". + (LINUX_ELF): Define, before we include "i386/linux.h" + (YES_UNDERSCORE): Undefine. - Mon Feb 8 10:45:56 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Fri Oct 8 13:40:44 1993 Michael Meissner (meissner@osf.org) - * cp-decl.c (grokdeclarator): Demangle DECLARATOR if it's an operator. + * i386/osfrose.h, i386/osfelf.h (CPP_SPEC): If buliding for shared + libraries, define __SHARED__. -Thu Mar 25 11:38:02 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) + * i386/osfrose.h (FUNCTION_PROFILER): If half-pic, call mcount in a + half-pic fashion. + (FUNCTION_PROLOGUE): If half-pic call through _mcount_ptr in a + half-pic fashion. - * cccp.c (do_include): - For "..." case, leave fend pointing at terminating 0. - Distinct error msgs for empty file name and for bad syntax. + * halfpic.c (half_pic_external): New function to declare a halfpic + identifier as always external. - * Makefile.in (USER_H): Add va-clipper.h. + * halfpic.h (half_pic_external): declare function. + (HALF_PIC_EXTERNAL): Declare accessor macro. -Thu Mar 25 07:01:14 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Fri Oct 8 15:03:56 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * calls.c (store_one_arg): Fix typo in previous change. + Cygnus<->FSF C++ front-end merge. + Thu Oct 7 11:45:32 1993 Jason Merrill (jason@deneb.cygnus.com) -Thu Mar 25 03:37:51 1993 Mike Stump (mrs@hal.gnu.ai.mit.edu) + * Makefile.in (CPLUS_OBJS): Change error.o to cp-errfn.o - * c-lang.c (lang_identify), cp-lex.c (lang_identify), objc-act.c - (lang_identify), tree.h (lang_identify): New routine. - * defaults.h (ASM_IDENTIFY_LANGUAGE) New macro used to identify - which front-end produced the object file. Ports that do not - define ASM_IDENTIFY_GCC will automatically get a reasonable - definition for ASM_IDENTIFY_LANGUAGE, ports that do define - ASM_IDENTIFY_GCC for any reason may want to define - ASM_IDENTIFY_LANGUAGE as done here. - * toplev.c (output_lang_identify): New routine to identify which - front-end produced the object file. - * toplev.c (compile_file): Use ASM_IDENTIFY_LANGUAGE if it exists. + * cp-*.c, cp-parse.y: Rename lang_error and its kin to cp_error + and the like to accomodate rms's belief structure. -Wed Mar 24 17:53:11 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) + * error.c: Moved to cp-errfn.c to accomodate rms's belief structure - * c-parse.gperf: Change __cimag__ to __imag__, __creal__ to __real__, - to void rejection by gperf. + Wed Oct 6 15:05:49 1993 Jason Merrill (jason@deneb.cygnus.com) -Tue Mar 23 18:43:14 1993 Holger Teutsch (holger@hotbso.rhein-main.de) + * cp-pt.c (mangle_class_name_for_template): Always use type_as_string + for printing out type parameters. Nuke id and type variables. - * 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. + * cp-error.c (dump_expr, INTEGER_CST): Support printing of character + literals and large integers + (dump_char): New function + (dump_type): Deal with ** and *& more prettily - * clipper.h (HARD_REGNO_MODE_OK): DImode regs must start on even - registers. + * cp-pt.c (mangle_class_name_for_template): Strip out code for + printing template parameters, replace with call to expr_as_string. - * gstdarg.h, gvarargs.h: Use va-clipper.h. + * cp-method.c (build_overload_value): descend through + TREE_OPERAND on NOP_EXPRs as well as NON_LVALUE_EXPRs. - * config.sub: Default to clipper-intergraph if system is clix. - * configure (clipper-intergraph-clix*): New configuration. - * clipper.h, clipper.c, clipper.md: New files. - * x-clix, t-clix, xm-clix.h, clix.h: New files. + * cp-decl.c (poplevel_class): Add assertion that + class_binding_level is not NULL. -Wed Mar 24 1993 18:54:51 Paul Eggert (eggert@twinsun.com) + Tue Oct 5 11:11:25 1993 Jason Merrill (jason@deneb.cygnus.com) - * fixincludes (memory.h): - Use proper ANSI syntax in `#endif __memory_h__'. + Patches to support proper handling of system includes without munging: -Wed Mar 24 12:52:40 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + * cp-lex.h: Declare in_c_header, a flag meaning 'implicitly wrap this + file in extern "C" { }'. - * 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. + * cp-lex.c: Define in_c_header. + (check_newline): If in_c_header when changing files, + pop_lang_context(). + (check_newline): If "4" seen on #line line, push_lang_context(C). -Wed Mar 24 08:03:31 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * cccp.c: Add a new field c_system_include_path to struct + file_name_list which indicates that the directory contains C-language + system includes. + (*various*): Set this flag correctly + (is_system_include): Return 2 if C-language system include. + (output_line_command): Output " 4" after " 3" for C-language system + include. - * rs6000.h (EXTRA_SECTION_FUNCTIONS, ASM_DECLARE_FUNCTION_NAME): - Don't output tab before .csect pseudo-op. + * cp-tree.h (SET_CLASSTYPE_INTERFACE_UNKNOWN_X): Coerce X to boolean + value -Wed Mar 24 02:01:14 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) + Mon Oct 4 17:03:48 1993 Jason Merrill (jason@deneb.cygnus.com) - * config/pyr/pyr.h (NO_DOT_IN_LABEL): Defined. + * cp-tree.h: Add declaration for flag_external_templates - * tree.c (stabilize_reference_1): For division and remainder, - make a save_expr. + * cp-decl.c (start_decl): Don't declare flag_external_templates -Tue Mar 23 14:51:07 1993 Jim Wilson (wilson@geech.gnu.ai.mit.edu) + * cp-pt.c: Ditto - * alpha.h, i386/sysv4.h, mips.h, rs6000.h (RETURN_IN_MEMORY): - Delete struct and union references. - * sparc.h (RETURN_IN_MEMORY): Update comment. - * h8300.h, 386bsd.h, linux.h, i386/mach.h, i386/osfrose.h, - i860/mach.h, i960.h, hp2bsd.h, hp3bsd.h, hp3bsd44.h, next.h, - sun3mach.h, m88k.h, ns32k/pc532-mach.h, pa-utahmach.h, pa1-utahmach.h, - rs6000/mach.h (DEFAULT_PCC_STRUCT_RETURN): Define to 0. - * toplev.c (DEFAULT_PCC_STRUCT_RETURN): Add default definition of 1. - (flag_pcc_struct_return): Default to DEFAULT_PCC_STRUCT_RETURN. - (f_options): Add -freg-struct-return flag. + * cp-parse.y (template_instantiate_once): Ditto -Tue Mar 23 07:43:18 1993 Tom Wood (wood@next.com) + * cp-lex.c (reinit_parse_for_method): Ditto + (cons_up_default_function): Ditto + (extract_interface_info): Don't set interface_unknown + if (processing_template_defn && !flag_external_templates) - * emit-rtl.c (push_topmost_sequence, pop_topmost_sequence): New + * cp-error.c (dump_type): Deal properly with pointers to member 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. + * cp-pt.c (instantiate_class_template): If !flag_external_templates, + increment interface_unknown so that nested classes will be dealt with + properly. + (end_template_instantiation): If !flag_external_templates, + decrement interface_unknown. -Mon Mar 22 01:38:41 1993 James Van Artsdalen (james at bigtex.cactus.org) + * cp-lex.c (cons_up_default_function): Remove redundant check + for processing_template_defn && !flag_external_templates + (reinit_parse_for_method): Ditto - * reload1.c (eliminate_regs): Eliminate regs within a CLOBBER. + * cp-parse.y (template_instantiate_once): Don't mess with + interface_unknown - * emit-rtl.c (init_emit): Use INIT_EXPANDERS. + Mon Oct 4 15:47:34 1993 Mike Stump (mrs@cygnus.com) - * i386.c (output_fix_trunc): Use MEMs in insn as stack temps. - No need to allocate & deallocate stack space on the fly. - - (clear_386_stack_locals): New function. - (assign_386_stack_local): New function. - - * 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. - - * i386.md (movsf,movdf): Use an input reload for MEM-MEM moves. - (extendsfdf2): Don't allow GENERAL_REGS in any operand. - - (truncdfsf2): Allocate a stack temp in expander. - Use that in the output function. - (fix_truncMN2,fixuns_truncMN2): Likewise. - Allocate scratch reg from Q_REGS. - -Sun Mar 21 17:24:09 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * toplev.c (compile_file): If warning about a function - declared static but not defined, make the function extern. - - * cccp.c (collect_expansion): Don't make # special in argless macro. - - * 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. - -Sun Mar 21 16:30:22 1993 Michael Meissner (meissner@osf.org) - - * t-osfrose (CONFIG2_H): Change include file name to osfrose.h. - - * halfpic.h (prototype support): Fix recent changes for - prototypes, so it compiles again. - - * configure (ns32k-encore-osf): Delete, last ns32k OSF/rose - machine turned off. - - * encrose.h, x-encrose, t-encrose: Delete, no longer used. - -Sun Mar 21 16:20:04 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * integrate.c (copy_rtx_and_substitute, case USE): - Don't remove a subreg if ORIG had one. - -Sun Mar 21 01:50:07 1993 Pat Rankin (rankin@eql.caltech.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. - -Sat Mar 20 22:46:31 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - - * pa.h (INSN_SETS_ARE_DELAYED): Define for the PA. Sets and - clobbers that occur in millicode insns are delayed effects. - (INSN_REFERENCES_ARE_DELAYED): Likewise, but for operand references - occuring in millicode insns. - * reorg.c (mark_referenced_resources): Parameter - include_called_routine changed to include_delayed_effects. All - references changed. - (mark_set_resources): Likewise. - (insn_references_resource_p): Likewise. - (insn_sets_resource_p): Likewise. - (mark_referenced_resources, case INSN): Do not mark any resources - as referenced if we are not including delayed effects, and the - given insn has delayed effects. - (mark_set_resources): Likewise for resources which are set/clobbered. - (fill_simple_delay_slots): Include delayed effects for the delay insn - if we are searching after the delay insn for candiates. - (dbr_schedule): When initializing `end_of_function_needs' include - delayed effects. + * cp-decl.c (duplicate_decls): Move setting of TREE_CHAIN after + all possible return 0;s as we only want to do this when we know + that we are dealing with a duplicate. -Sat Mar 20 18:54:46 1993 Michael Meissner (meissner@osf.org) + * cp-decl.c (start_function): Remove my_friendly_abort 19. Allows + one to declare a built-in as extern inline. - * mips.h (TARGET_SWITCHES): Or in TARGET_CPU_DEFAULT for default - case. - (TARGET_CPU_DEFAULT): Default to 0. + Mon Oct 4 12:47:33 1993 John F Carr (jfc@mit.edu) -Sat Mar 20 14:52:26 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + * cp-lex.c (consume_string): Change variable `c' to int so return + value of getch can be assigned to it safely. Compare return value + of getch to EOF, not -1. - * pa.h (singlemove_string): Declare. + Mon Oct 4 11:42:46 1993 Jason Merrill (jason@deneb.cygnus.com) - * configure: Add support for 4.4BSD on hp300s. - * hp3bsd44.h, x-hp3bsd44.h: New files for 4.4BSD on hp300s + * toplev.c (error and its kin): Use #defines for the argument + lists for ease of adding arguments, and of moving to vfprintf when + dje adds it. - * pa.md (conditional branch patterns): Clean up constraints. + * error.c (lang_thing and its children): Do the same thing. - * pa.md (shadd reload patterns): Clean up output templates. + * cp-typeck.c (build_binary_op): Do away with the kludge, now that + error accepts more arguments. -Sat Mar 20 11:23:15 1993 Torbjorn Granlund (tege@gnu.ai.mit.edu) + Sun Oct 3 16:34:39 1993 Jason Merrill (jason@deneb.cygnus.com) - * expmed.c (init_expmed): Fix typo in last change. + * cp-error.c: Remove all traces of in_parmlist -Sat Mar 20 07:11:54 1993 Richard Kenner (kenner@apple-gunkies.gnu.ai.mit.edu) + Sun Oct 3 13:54:57 1993 Mike Stump (mrs@cygnus.com) - * 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-call.c (convert_harshness_ansi, convert_harshness_old): Handle + pointer to function members properly. - * fold-const.c (fold, case PLUS_EXPR): Don't associate apart - a constant operand. + Fri Oct 1 16:42:30 1993 Mike Stump (mrs@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-error.c (dump_function_decl, dump_function_name): Make static + to match prototype. -Sat Mar 20 03:16:52 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) + Fri Oct 1 15:23:31 1993 Mike Stump (mrs@cygnus.com) - * print-tree.c (print_node): Print the chain of a STRING_CST. + * cp-typeck.c (build_ptrmemfunc): Move some code into the virtual + conditional part. Fixes problem with core core dumping when the + class that we want to build a pointer to member function for doesn't + have any virtual functions. - * c-lex.c (yylex): Copy the string value we get from __FUNCTION__. + Thu Sep 30 18:15:29 1993 Jason Merrill (jason@deneb.cygnus.com) -Fri Mar 19 21:06:41 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * cp-parse.y (id_scope): Print the name of the invalid scope. + (unary_expr): Add .scope new typespec '(' typespec ')' expansion + which just gives an error. - * expr.h: Correct partly nested comment. + * cp-typeck.c (build_binary_op): Print more helpful message for + a missing member operator (print the desired type involved). + Very kludgey due to error()'s two-arg limit. - 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. + * error.c (lang_thing): Abort if more than NARGS (currently 2) are + passed, since this is likely to cause a seg fault elsewhere anyway. - * xcoffout.h (DEBUG_SYMS_TEXT): Define. - * xcoffout.c (xcoffout_declare_function): Call dbxout_source_file - before emitting .function psuedo-op. + Thu Sep 30 14:19:28 1993 Jason Merrill (jason@deneb.cygnus.com) -Fri Mar 19 17:45:13 1993 Michael Meissner (meissner@osf.org) + * g++int.texi: Add error reporting section, make `makeinfo'able - * mips.h (MIPS_VERSION): Bump Meissner version to 36. - (TARGET macros): Move this section to be earlier than - ASM_FINAL_SPEC. - (ASM_FINAL_SPEC): If configured with --with-gnu-as or as a cross - compiler, do not run mips-tfile unless -mmips-as is used. + * cp-type2.c (my_friendly_abort): Deal with recursive calls - * configure (target_cpu_default): Set to 16 when configuring a - MIPS using the GNU assembler. + Thu Sep 30 12:24:33 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Fri Mar 19 06:27:34 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * cp-decl2.c (grok_array_decl): Don't pedwarn on reversing the array + and its index in `a[b]'. - * 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. + * cp-typeck.c (build_conditional_expr): Make pointer type mismatch + in a conditional expression get a pedwarn. + (build_binary_op_nodefault): Make comparison between different + pointer types lacking a cast get a pedwarn. + (build_modify_expr): Don't strip the NOP_EXPRs, since we're using + the rhs in a non-lvalue context. + (convert_for_assignment): Allow conversion of 0 to a pointer, but + not a 0 that results from casting or folding. - * 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. + Thu Sep 30 11:24:59 1993 Jason Merrill (jason@deneb.cygnus.com) - * 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. + * cp-typeck.c (build_modify_expr): For memberwise assignment, + put nop_expr (reference_type (lhstype)) at the end of of the list so + that the expression has the correct type. -Fri Mar 19 01:37:54 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) + * error.c (lang_thing): Don't rely on STDC array initialization - * c-typeck.c (digest_init): Typo in last change. - (initializer_constant_valid_p): Handle COMPLEX_CST. + Tue Sep 28 18:20:05 1993 Mike Stump (mrs@cygnus.com) - * 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. + * cp-init.c (build_virtual_init): Use get_binfo and + convert_pointer_to_real, to find the right basetype to convert to, + instead of trying to use convert_pointer_to, as convert_pointer_to + doesn't handle complex MI situations. Cures a bogus "cannot + convert a pointer of type `B' to a pointer of type `A'" when the + compiler is initializing virtual table pointers. - * calls.c (emit_call_1): Don't defer pops in const call. + Mon Sep 27 14:54:42 1993 Mike Stump (mrs@cygnus.com) -Thu Mar 18 17:02:24 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * cp-call.c (build_method_call): Use get_binfo and + convert_pointer_to_real, to find the right basetype to convert to, + instead of trying to use convert_pointer_to, as convert_pointer_to + doesn't handle complex MI situations. Cures a bogus "cannot + convert a pointer of type `B' to a pointer of type `A'" when the + compiler is setting up the `this' pointer. + * cp-cvt.c (convert_pointer_to): Just call convert_pointer_to_real + to implement functionality. + * cp-cvt.c (convert_pointer_to_real): New routine. Uses new + functionality in get_base_distance to figure out which exact + parent we want to convert to. + * cp-search.c (get_base_distance_recursive, get_base_distance): + Modify to support searching for a specific PARENT given as a binfo + from our hierarchy. + * cp-typee.h (convert_pointer_to_real): Declare new routine. - * 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. + Mon Sep 27 13:02:51 1993 Jason Merrill (jason@deneb.cygnus.com) -Thu Mar 18 21:28:43 1993 Paul Eggert (eggert@twinsun.com) + * cp-type2.c (my_friendly_abort): Undo previous change - * 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. + * cp-*.c: Use lang_error instead of error_with_decl, + error_with_aggr_type, etc. Not complete; I only changed the easy + cases and a few of the more obscure ones. Please convert calls + over when you're working on an appropriate section. -Thu Mar 18 16:16:21 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) + * cp-method.c: Strip out error reporting code - * c-typeck.c (digest_init): Handle COMPLEX_TYPE like other scalars. + * Makefile.in (CPLUS_OBJS): Add error.o and cp-error.o - * c-parse.in (REALPART, IMAGPART): New token types. - (unary_expr): Handle REALPART, IMAGPART. + * cp-error.c: New file, contains call-back functions for C++. + The actual output code is an extensively overhauled version of the + code from cp-method.c. + Don't call my_friendly_* to avoid undesirable recursion. - * expr.c (expand_expr): Don't ensure ref to a volatile value - if it is a function. + * error.c: New file, provides call-back mechanism for language- + dependent error reporting. - * c-parse.gperf: Add __cimag, __cimag__, __creal, __creal__. + Fri Sep 24 13:52:27 1993 Jason Merrill (jason@deneb.cygnus.com) - * collect2.c (output_file): New static var. - (main): Set output_file. - (my_exit): Delete output_file on failure. + * cp-type2.c (my_friendly_abort): Don't die quietly if + errorcount or sorrycount are positive, die loudly. -Thu Mar 18 12:39:06 1993 Doug Evans (dje@canuck.cygnus.com) +Fri Oct 8 13:58:13 1993 Doug Evans (dje@cygnus.com) - * function.c (assign_parms): Minor cleanup. - * calls.c (expand_call): Fix bug (don't clobber bitpos). + * loop.c (scan_loop): When skipping consecutive insns, + don't count notes. -Thu Mar 18 00:08:40 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Oct 8 10:41:07 1993 Chip Salzenberg (chip@fin.uucp) - * config/vax/vms.h (PCC_STATIC_STRUCT_RETURN): Add #undef. + * c-common.c (check_function_format): Correct error in last + change. -Wed Mar 17 17:28:17 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) +Fri Oct 8 08:10:03 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. - -Wed Mar 17 17:24:29 1993 Michael Meissner (meissner@osf.org) - - * mips.h (MIPS_VERSION): Bump Meissner version to 35. - (TARGET_SWITCHES): Add -mlong-calls, delete -mwc* switches. + * c-parse.in (initdcl, notype_initdcl): Call push_momentary and + pop_momentary here. + (init): Not here. - * mips.md (call insns & expanders): If -mlong-calls, require - function address to be in a register. +Fri Oct 8 06:35:07 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * x-iris (OLDCC): Iris now needs -Wf,-XNh1500 as well. + * dbxout.c (dbxout_type, case INTEGER_TYPE): Correctly check + for type smaller than `integer'. -Wed Mar 17 16:00:29 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + * expr.c (expand_expr, case MAX_EXPR): Don't use TARGET directly + if it is a volatile MEM. - * 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. + * i386/t-aix, i386/t-isc, i386/t-osfrose, i386/t-sco, mips/t-osfrose: + Remove LIMITS_H; hasn't been used for a while. - * 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. + * configure: Add EXTRA_PASSES like we add EXTRA_HEADERS. + Correct EXTRA_HEADERS handling to accept multiple names. + (mips-*-*): Set extra_passes to mips-tfile and mips-tdump when + we use t-mips, t-bsd, t-svr[34], and t-ultrix. + * Makefile.in (mips-tfile, mips-tfile.o, mips-tdump, mips-tdump.o): + New rules. + * mips-tfile.c: Don't define memory functions on Alpha. + (Ptrdiff_t): Always `long'. + (WORD_ALIGN): Make portable. + * mips/t-bsd, t-mips, t-svr3, t-svr4, t-ultrix: Remove + definition of EXTRA_PASSES and remove rules for mips-* files. -Wed Mar 17 14:58:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * dbxout.c (dbxout_parms): Don't confuse a parameter at an + offset of zero from AP or FP with one that has variable size. - * config/vax/vms.h (STRUCT_VALUE): Defined. - (STRUCT_VALUE_REGNUM): Add #undef. + * calls.c (emit_library_call): Fix typo in last change; should + use Pmode instead of SImode. -Wed Mar 17 14:23:25 1993 Torbjorn Granlund (tege@gnu.ai.mit.edu) +Fri Oct 8 00:34:39 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * pa.md (branch-on-bit): New patterns. - * pa.c (pc_or_label_operand): New predicate. + * c-decl.c (finish_decl): Error if block-scope static var + has incomplete type. -Wed Mar 17 02:46:58 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * expr.c (expand_expr, case VAR_DECL): If decl wasn't laid out, + lay it out now, and fix the rtl's mode. - * config/m68k/m68k.md (movqi): In address reg case, if d0 - appears in the address, use d1 instead as intermediate reg. +Thu Oct 7 12:30:10 1993 Chip Salzenberg (chip@fin.uucp) -Tue Mar 16 17:42:14 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * c-decl.c (complete_array_type): Correctly set MAXINDEX to + one less than array size. - * 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. +Thu Oct 7 20:44:41 1993 Torbjorn Granlund (tege@adder.cygnus.com) -Tue Mar 16 14:55:40 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * c-typeck.c (build_binary_op): For *_DIV_EXPR, set shorten based + on orig_op0. - * x-apollo68 (CFLAGS, LIBGCC2_CFLAGS): Delete overrides and - comment why they were wrong. +Thu Oct 7 18:19:17 1993 Jim Wilson (wilson@cygnus.com) - * c-decl.c (grokdeclarator, ARRARY_REF): If exern, then end - temporary allocation before building type. + * xm-mips.h (HAVE_VPRINTF): Correct typo, is VPRINTF not VFPRINTF. - * sparc.h (SECONDARY_MEMORY_NEEDED_RTX): Define. - * reload.c (get_secondary_mem): Use macro SECONDARY_MEMORY_NEEDED_RTX. + * Makefile.in (LIB2FUNCS): Add _fixtfdi, _fixunstfdi, _floatditf. -Tue Mar 16 03:49:13 1993 James Van Artsdalen (james at bigtex.cactus.org) - - * cse.c (FIXED_REGNO_P): Pseudos can't be fixed regs. - -Tue Mar 16 04:33:41 1993 Paul Eggert (eggert@twinsun.com) - - * cccp.c (main): Report errors in output to pcp_outfile. - -Mon Mar 15 21:30:32 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * cccp.c (write_output): Test value of `write'; report errors. - (write_output): Use pfatal_with_name for errors. - (out_fname): Var now file-scope. - -Mon Mar 15 20:52:17 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - - * pa.h (EXTRA_CONSTRAINT, case 'S'): Do not accept CONSTANT_P if - TARGET_LONG_CALLS. +Thu Oct 7 14:58:02 1993 Michael Meissner (meissner@osf.org) - * pa.h (EXTRA_CONSTRAINT): Merge strict and non-strict variants. - Delete 'R' constraint. + * configure (i386-osf): ELF on OSF/1 does not need collect2. -Mon Mar 15 18:38:22 1993 Torbjorn Granlund (tege@sics.se) +Thu Oct 7 17:38:25 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * cccp.c (main): New option -lang-c-c++-comments. -Mon Mar 15 16:44:08 1993 Doug Evans (dje@canuck.cygnus.com) +Thu Oct 7 16:40:38 1993 Michael Meissner (meissner@osf.org) - * function.c (assign_parms): Remove unnecessary #ifdef. + * config/i386/osfrose.h (OSF_PROFILE_BEFORE_PROLOGUE): New macro + to determine whether profiling goes before the function prologue + or after. New style profiling goes before in order to save + getting and saving the function's callers address or have mcount + 'know' there is a frame pointer. Old style profiling using mcount + and some ELF PIC profiling goes after the prologue. + (FUNCTION_PROLOGUE): Redefine in order to get new style profiling + before the function prologue if desired. + (FUNCTION_PROFILER): Do not put a profile call if it already has + been put out in the prologue. Change new style profiling to call + through _mcount_ptr instead of _real_mcount. Propigate ROSE brain + damage regarding mcount being in the users name space to ELF. + (SUBTARGET_SWITCHES): Make -mmcount default again instead of + -mno-mmcount. -Mon Mar 15 14:33:52 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * i386.h (FINALIZE_PIC): Add macro to set the variable + current_function_uses_pic_offset_table if either -p or -a switches + are used. - * 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. +Thu Oct 7 17:07:57 1993 Ian Lance Taylor (ian@cygnus.com) - * xm-sol2.h (NO_SYS_SIGLIST): Define. - - * i960.c (print_operand_address): For MULT, set ireg not breg. - - * sparc.md (zero_extendqisi2+4,+5): Add new patterns for combining - a SI->QI mode truncate with an insn that sets the condition codes. - - * config.sub (sparclite, sparclite-*): New configuration. - * configure (sparclite-*-*): Likewise. - * sparc/lite.h: New file. - - * sched.c (adjust_priority): Comment unreachable code. - (memrefs_conflict_p): Add comment about Fortran aliasing. - -Mon Mar 15 13:54:06 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * cse.c (simplify_plus_minus): Remove last change. Instead, - count initial operands and test against that count to see if we - did anything. - - * alpha.h (ASM_OUTPUT_{INT,SHORT,CHAR,BYTE}): Truncate constant - to maximum range permitted in order to avoid assembler error. - -Mon Mar 15 13:37:35 1993 Jeffrey A. Law (law@schirf.cs.utah.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) + * rtl.c (byte_mode, word_mode): Move to emit-rtl.c. + (init_rtl): Move initialization of byte_mode and word_mode to + init_emit_once. + * emit_rtl.c (byte_mode, word_mode): Moved from rtl.c. + (init_emit_once): Moved in initialization of bytes_mode and + word_mode from init_rtl. - * configure (rs6000-ibm-aix3.2): Renamed from rs6000-ibm-aix32. +Thu Oct 7 11:11:25 1993 Jason Merrill (jason@deneb.cygnus.com) -Sun Mar 14 22:54:10 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + * cccp.c (struct file_name_list): Add new field c_system_include_path. + (*various*): Set this flag correctly + (is_system_include): Return 2 if C-language system include. + (output_line_command): Output " 4" after " 3" for C-language system + include. - * reorg.c (find_end_label): Update unfilled_slots if the return - insn we make has a delay slot. +Thu Oct 7 14:45:20 1993 Doug Evans (dje@canuck.cygnus.com) -Sun Mar 14 21:27:48 1993 Torbjorn Granlund (tege@sics.se) + * Makefile.in (install-dir): Fix typo. + (install-common): Remove obsolete comment. + (install-common): Install native g++ only if not cross. - * 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. +Thu Oct 7 11:27:45 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sun Mar 14 06:34:28 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * calls.c (emit_library_call, emit_library_call_value): + Allocate a temp slot if arg must be passed by reference. - * 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. + * gcc.c (read_specs): Fix call to bzero. - * cse.c (simplify_plus_minus): Reject "simplifications" that are - too complex in form. - Correct sign error in expanding NOT. +Thu Oct 7 08:53:57 1993 Torbjorn Granlund (tege@adder.cygnus.com) -Sun Mar 14 00:02:12 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * alpha.md: Clean up usage of commutative declarator `%'. - * reload1.c (choose_reload_regs): Verify reload_out[j] != 0 - before comparing with reload_earlyclobber elements. +Thu Oct 7 08:14:46 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sat Mar 13 21:05:12 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * i860/xm-fx2800.h (HAVE_VPRINTF): Fix typo; was HAVE_VFPRINTF. - * calls.c (emit_call_1): Restore inhibit_defer_pop before popping args - so that pops really do get deferred if appropriate. + * xm-alpha.h: Always declare malloc, realloc, etc, to be void *. -Sat Mar 13 18:13:30 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * combine.c (force_to_mode): Sign-extend constant being truncated. - * cse.c (simplify_plus_minus): When seeing if we have reduced the - number of operands, ensure we count a CONST result as two operands. +Wed Oct 6 18:53:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * calls.c, expr.c: Correctly define PUSH_ARGS_REVERSED. + * bi-lexer.c (xmalloc, xrealloc): Cast the result of malloc, realloc. -Sat Mar 13 16:49:10 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) +Wed Oct 6 15:30:39 1993 Michael Meissner (meissner@osf.org) - * pa.c (eligible_for_epilogue_delay): Insns which access %r2 can - not be used to fill the epilogue's delay slot. + * i386/osfrose.h (FUNCTION_PROFILER): Define to pass the function + address, its caller, and the unique label address through the + _real_mcount pointer, unless -mmcount is used, in which case use + the old calling sequence. + (SUBTARGET_SWITCHES): Add -mmcount, -mno-mcount support. -Sat Mar 13 15:31:02 1993 James Van Artsdalen (james at bigtex.cactus.org) +Wed Oct 6 15:29:40 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * reg-stack.c (emit_swap_insn): If emitting after a cc0 setter, - link the cc0 insns. + * pa.c (output_function_prologue): Pass on information about the + number of callee saved general and floating point registers which + are saved by the current function's prologue. + (hppa_expand_prologue): Keep track of the number of callee + register saves done for general and floating point registers. -Fri Mar 12 17:45:36 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Oct 6 13:50:03 1993 Ian Lance Taylor (ian@cygnus.com) - * 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. + * cexp.y (MAX_CHAR_TYPE_SIZE, MAX_INT_TYPE_SIZE, + MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define. + (yylex): Use them instead of the non-MAX versions, to avoid + dependencies on target_flags. - * expr.c (emit_push_insn): Handle failure of gen_movstr... +Wed Oct 6 13:47:13 1993 Jim Wilson (wilson@mole.gnu.ai.mit.edu) - * 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. + * combine.c (try_combine): New variable i3_subst_into_i2. + Set it for special case of substituting i3 into i2. Use it near + end to detect when special case succeeded. Move i2notes to + i3notes for this special case. + (distribute_notes, REG_UNUSED case): Ignore all REG_UNUSED notes + except those from I3. -Fri Mar 12 17:25:35 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Wed Oct 6 13:14:13 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * expr.c: Add prototypes for static functions. - (struct move_by_pieces): Move definition before function - forward decls. + * c-typeck.c (build_c_cast): When making a CONSTRUCTOR, provide + the dummy first operand. - * rs6000.h, a29k.h (PROMOTE_MODE): Fix typo. + * real.c (real_value_truncate): Correct etrunci argument + in case SImode. - * cse.c (refers_to_mem_p): Use rtx_equal_p to see if bases - are equal. +Wed Oct 6 06:55:05 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cse.c (set_nonvarying_address_components): Fix type mismatch with - caller. - (refers_to_mem_p): Call properly in second call. + * final.c (asm_fprintf): Add cases for 'w' and 'l'. - * jump.c (jump_optimize): Fix bug in last change. + * Makefile.in (bi-opcode.o): Includes hconfig.h. + * bi-lexer.c: Remove declarations of malloc and realloc. + * bi-opcode.c: Include hconfig.h. + * bi-parser.y: Remove declaration of malloc. -Fri Mar 12 07:25:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * regclass.c (record_reg_classes): Check if operands are the same + by seeing if they are the same register. - * optabs.c (expand_binop): For doubleword int addition, - clobber the whole register at the start. + * cse.c (record_jump_cond): Rehash OP1 if OP0's insert_regs returns + nonzero. -Fri Mar 12 03:19:26 1993 James Van Artsdalen (james at bigtex.cactus.org) + * calls.c (expand_call): Add yet another assignment to MEM_IN_STRUCT_P. - * reg-stack.c (get_true_reg): Don't ignore FLOAT_TRUNCATE. - (subst_stack_regs_pat): Substitute in FLOAT_TRUNCATE insns. +Wed Oct 6 00:08:28 1993 Jim Wilson (wilson@mole.gnu.ai.mit.edu) - (compare_for_stack_reg): Reset insn code after swapping operands. + * sparc.c (uns_small_int, uns_arith_operand): New functions. + * sparc.md (umulsidi3): Use uns_arith_operand not arith_operand. + (const_umulsidi3): Use uns_small_int not small_int. - * 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. + * sparc.h (SELECT_CC_MODE): Add support for ASHIFT. + * sparc.md (ashlsi3+1, ashlsi3+2): New patterns to replace shift + and compare with addcc. - (SELECT_CC_MODE): Use VOIDmode for non-FP-equality comparisons. +Tue Oct 5 16:25:32 1993 Jim Wilson (wilson@cygnus.com) - * i386.md (truncdfsf2): Rewrite to allow FLOAT_REGS in constraints - for better register preferences. + * sched.c (sched_analyze_2): Make volatile asms depend on all + pseudo registers. - (movM): If REG_WAS_0, make sure the reg hasn't changed since then. + * mips.c (mips_expand_prologue): Handle structure return values as + the first argument if necessary. - (cmpM expanders): Don't allow both operands to be MEM. - Use VOIDmode for the COMPARE rtx instead of CCmode. - (cmpM recognizers): Likewise. - Remove constraints for constants from operand 0. + * mips.h (CLASS_MAX_NREGS): For DFmode and !TARGET_FLOAT64 case, + return 2 not 4. + (CLASS_UNITS): Take size parameter instead of num (words). - (cmpdf,cmpsf recognizers): When using VOIDmode as mode of the - COMPARE rtx, require that the mode be exactly VOIDmode. + * c-typeck.c (output_init_element): When try to copy FIELD if it + is an interger constant, first check to make sure it is nonzero. - * i386.c (VOIDmode_compare_op): New operand predicate function. + * reorg.c (fill_simple_delay_slots): When take insn from a + following unconditional branch target, if new_label is zero, must + set it to the result of find_end_label (). - * vax.md (movM): If REG_WAS_0, make sure the reg hasn't changed - since then. - * tahoe.md (movM): Likewise. + * iris3.h (INITIALIZE_TRAMPOLINE, TRANSFER_FROM_TRAMPOLINE): + Delete. + * mips.h (INITIALIZE_TRAMPOLINE): Delete #ifndef/#endif. Change + function name from __enable_execute_stack to __gcc_flush_cache. + (TRANSFER_FROM_TRAMPOLINE): Likewise. Delete code calling + mprotect. Uncomment code calling cacheflush. -Thu Mar 11 19:23:51 1993 Doug Evans (dje@canuck.cygnus.com) +Tue Oct 5 16:11:53 1993 Jason Merrill (jason@deneb.cygnus.com) - * function.c (aggregate_value_p): RETURN_IN_MEMORY now handles - BLKmode values. - * expr.h (RETURN_IN_MEMORY): Handle BLKmode values. - * i386/sysv4.h (RETURN_IN_MEMORY): Ditto. - * m88k/m88k.h (RETURN_IN_MEMORY): Ditto. - * i960/i960.h (RETURN_IN_MEMORY): Ditto. - * m68k/apollo68.h (RETURN_IN_MEMORY): Ditto. - * mips/mips.h (RETURN_IN_MEMORY): Ditto. - * sparc/sparc.h (RETURN_IN_MEMORY): Ditto. - * alpha/alpha.h (RETURN_IN_MEMORY): Ditto. - * romp/romp.h (RETURN_IN_MEMORY): Ditto. - * rs6000/rs6000.h (RETURN_IN_MEMORY): Ditto. - * h8300/h8300.h (RETURN_IN_MEMORY): Ditto. + * toplev.c (error and its kin): Use #defines for the argument + lists for ease of adding arguments and add one arg. -Thu Mar 11 19:02:55 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Tue Oct 5 16:05:11 1993 Tor Egge (tegge@pvv.unit.no) - * 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. + * cccp.c (rescan): Don't expand an identifier after a '#'. - * cse.c (CHEAP_REG): New macro; makes virtual regs cheap too. - (COST): Use CHEAP_REG. - (rtx_cost, case REG): Use CHEAP_REG to return zero for some REGs. +Tue Oct 5 15:15:52 1993 Chip Salzenberg (chip@fin.uucp) -Thu Mar 11 07:47:09 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + Move format warning code to c-common.c for use with C++. + * c-tree.h (init_function_format_info, record_function_format, + check_function_format): Declare. + * c-common.c: Include ; avoid home-grown ISDIGIT. + (decl_attributes): Call record_function_format with DECL_NAME + and also DECL_ASSEMBLER_NAME. + (struct format_char_info): Moved here from c-typeck.c. + (print_char_table): Likewise; renamed from print_table. + (scan_char_table): Likewise; renamed from scan_table. + (struct function_format_info): Likewise; add assembler_name. + (function_format_list): Make list, not array. + (init_function_format_info): Likewise; renamed from + init_format_info_table. + (record_function_format): Likewise; renamed from + record_format_info; record assembler_name. + (check_format_info): Likewise; renamed from check_format. + (check_function_format): New interface that does not require + knowledge of struct function_format_info. + * c-decl.c (init_decl_processing): Call init_function_format_info. + * c-typeck.c (struct format_char_info, print_table, scan_table, + struct function_info, function_info_entries, function_info_table, + record_format_info, init_format_info_table, check_format): Moved + to c-common.c. + (build_function_call): Call check_function_format. - * 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 Oct 5 14:08:18 1993 Wolfgang Stukenbrock (wgstuken@informatik.uni-erlangen.de) - * 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. + * gcc.c (choose_temp_base): Correct size allocated for temp_filename. -Wed Mar 10 23:52:40 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Oct 5 06:34:34 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * fixincludes: Delete ${LIB}/DONE just before exit. + * tree.c (contains_placeholder_p): Return 0 for CONSTRUCTOR. + (substitute_in_expr): Don't allow CONSTRUCTOR. -Wed Mar 10 12:27:51 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + * tree.c (make_node, case 'd'): Refine in which obstack + PARM_DECLs are allocated. - * pa.c (reg_or_cint_move_operand): Use cint_ok_for_move. + * calls.c (expand_call): Properly test if we need to promote + operand; use convert_modes instead of convert_to_mode. + * expr.c (convert_modes): Properly handle extending constants + since we might be changing signedness. - * 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. + * gcc.c (read_specs): Make a null entry at end of `compilers' + when reading new entry from file. - * jump.c (jump_optimize, clause for `if (foo) b++'): - Do this regardless of BRANCH_COST if HAVE_incscc or - HAVE_decscc is defined. + * tree.c (contains_placeholder): Return 0 for WITH_RECORD_EXPR. -Wed Mar 10 11:50:06 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * bi-arity.c, bi-lexer.c, bi-opname.c, bi-parser.y: Include hconfig.h. + * Makefile.in (bi-arity.o, bi-lexer.o, bi-opname.o, bi-parser.o): + Likewise. - * 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. + * bc-emit.c (dconst[012], dconstm1): Remove redundant definition. -Wed Mar 10 01:43:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Oct 5 06:24:43 1993 Lisa Repka (lisa@MicroUnity.com) - * objc-act.c (OBJC_GEN_METHOD_LABEL): Convert colons to _'s. - Don't use the category name or the number. + * varasm.c (decode_rtx_const, case CONST_DOUBLE): Only use mode + of X if it is not VOIDmode. - * gcc.c (link_command_spec): New option -nostartfiles. +Tue Oct 5 00:45:30 1993 James Van Artsdalen (james@bigtex.cactus.org) -Tue Mar 9 18:55:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * i386/i386.c (output_to_reg): Handle XFmode write to MEM by + reading back value after write if source doesn't die. + * i386/i386.md (pushxf,movxf,extenddfxf2,extendsfxf2): Likewise. - * convert.c (convert_to_complex): Avoid using comptypes. + * i386/i386.md (movxf,extenddfxf2,extendsfxf2): Don't emit fld + before calling output_to_reg: output_to_reg does that now. -Tue Mar 9 11:33:32 1993 Michael Meissner (meissner@osf.org) + * i386/i386.h (FIXED_REGISTERS): Don't fix hard reg st7 if XFmode + is enabled. - * objc-act.c (#ifdef NEXT_OBJC_RUNTIME): Close #ifdef properly. + * reg-stack.c (move_for_stack_reg): If the 387 regstack is not + full when doing an XFmode write from 387 to MEM, copy the source + reg and write the copy. -Tue Mar 9 00:03:03 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Oct 4 18:40:51 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * flags.h (flag_volatile_global): Declared. + * regclass.c (record_reg_classes): There is no alt_cost + for a pair of matching args if they are the same pseudo reg. - * c-decl.c (define_label): Use current line number in error msg. + * varasm.c (bc_output_ascii): New function. + (assemble_string): Use it. + (assemble_static_space, assemble_variable): Put braces around uses + of BC_OUTPUT_COMMON and BC_OUTPUT_LOCAL. -Mon Mar 8 16:11:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Oct 4 18:03:04 1993 Stephen L Moshier (moshier@world.std.com) - * config/i386/i386.h (HARD_REGNO_MODE_OK): Add some casts. + * expr.c (bc_init_mode_to_opcode_maps, bc_expand_expr): Cast enum + array indices to int. + (bc_load_memory, bc_store_memory): Likewise. + (bc_runtime_type_code): Cast enum logical operand to int. + * bc-emit.c (bc_emit_bytecode): Cast enum array indices to int. + * bc-optab.c (deduce_conversion, emit_typecode_conversion): Likewise. + (bc_init_mode_to_code_map, preferred_typecode): Likewise. + (bc_expand_binary_operation, bc_expand_unary_operation): Likewise. + (bc_expand_increment): Likewise. + * bc-typecd.h: Cast enum arithmetic and logical operands to int. - * reg-stack.c (record_asm_reg_life): Cast class to int for indexing. +Mon Oct 4 05:52:21 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * sdbout.c (PUSH_DERIVED_LEVEL): Cast enumm constants to int. + * a29k.c (incoming_regs): Only use 16 registers for parameter + passing. - * toplev.c (flag_volatile_global): New variable. - (f_options): Add option for it. - * varasm.c (make_decl_rtl): Handle that option. + * tree.c (build_string): Remove previous change and comment why + string text has to be in saveable_obstack. + * varasm.c (output_constant_def): Remove last change; no longer needed. - * 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 Oct 3 18:51:19 1993 James Van Artsdalen (james@bigtex.cactus.org) -Mon Mar 8 12:01:49 1993 Paul Eggert (eggert@twinsun.com) + * i386/i386.c (output_op_from_reg): Handle 3-word XFmode values. + (output_to_reg): Likewise. + (output_move_double): Handle XFmode operands. + (output_move_const_single): Use REAL_VALUE_TO_TARGET_SINGLE. + (print_operand): Add letter `T', size `12'. Use REAL_VALUE + macros to convert floating point operands. + (convert_387_op): Add XFmode to case FLOAT_EXTEND. - * fold-const.c (const_binop): When evaluating a shift, ignore - overflows generated by force_fit_type. - -Mon Mar 8 07:24:30 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * 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/i386.h (LONG_DOUBLE_TYPE_SIZE): Define as 96. + (FIXED_REGISTERS): If XFmode enabled, hard reg st7 is fixed. + (ASM_OUTPUT_DOUBLE): Use REAL_VALUE_... macros. + (ASM_OUTPUT_FLOAT): Likewise. + (ASM_OUTPUT_LONG_DOUBLE): New macro. + (PRINT_REG): Add size case 12. + (DEBUG_PRINT_REG): Likewise. - * 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. + * i386/i386.md: (tstxf_cc, tstxf, cmpxf, cmpxf_cc, cmpxf_ccfpeq, + swapxf, movxf, extenddfxf2, extendsfxf2, truncxfsf2, truncxfdf2, + fixuns_truncxfsi2, fix_truncxfdi2, fix_truncxfsi2, floatsixf2, + floatdixf2, addxf3, subxf3, mulxf3, divxf3, negxf2, absxf2, + sqrtxf2): New patterns. -Fri Mar 5 19:41:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * i386/next.h,i386/osfrose.h,i386/sysv4.h + (ASM_OUTPUT_DOUBLE,ASM_OUTPUT_FLOAT): Use REAL_VALUE_ macros. + (ASM_OUTPUT_LONG_DOUBLE): New macro. - * expr.c (expand_assignment): Special handling for storing in - RESULT_DECL. + * i386/bsd.h,i386/sco4.h (ASM_OUTPUT_DOUBLE): Deleted, + use default version. -Fri Mar 5 17:48:41 1993 Chris Smith (csmith@mozart.convex.com) + * i386/next.h,i386/sco.h (VALUE_REGNO): Add case XFmode. - * 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. +Sun Oct 3 16:35:05 1993 Michael Meissner (meissner@wombat.gnu.ai.mit.edu) -Fri Mar 5 17:37:20 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * collect2.c (read_file): Fix typo in prototype. - * alpha.md: Add new define_split for doing sign-extended adds - of some large constants using sNaddl. +Sun Oct 3 18:32:46 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * Makefile.in (bytecode.realclean): Don't delete bi-lexer.c. -Fri Mar 5 15:11:41 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) +Sun Oct 3 19:45:02 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.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. + * gcc.c (default_compilers): Add rules for Ada. + * toplev.c (lang_options): Add temporary parameter "gnat". - * 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. + * tree.c (staticp): DECL_EXTERNAL is not defined for CONSTRUCTOR. - * pa.h (FIRST_PSEUDO_REGISTER): Update to take into account - registers which are no longer known to the compiler. - (FIXED_REGISTERS): Likewise. + * tree.def (PLACEHOLDER_EXPR, WITH_RECORD_EXPR): New tree codes. + * tree.c (save_expr): Don't evaluate something containing a + PLACEHOLDER_EXPR. + (contains_placeholder_p, substitute_in_{expr,type}): New functions. + * tree.h: Add declarations for new functions. + * calls.c (expand_call): Pass objects who size depends on the + contents of the object by invisible reference. + * function.c (assign_parms): Likewise. + * explow.c (expr_size): If the size contains a PLACEHOLDER_EXPR, + surround it with a WITH_RECORD_EXPR. + * expr.c (store_expr): Use expr_size value, not size_int. + (store_constructor): Handle case of variable position and allow + it to contain a PLACEHOLDER_EXPR. + (get_inner_reference): Make a WITH_RECORD_EXPR if required. + (expand_expr, case PLACEHOLDER_EXPR, WITH_RECORD_EXPR): New cases. + (expand_expr, case ARRAY_REF): Make WITH_RECORD_EXPR expressions + when needed. + + * calls.c (expand_call): Set MEM_IN_STRUCT_P in stack slot if + appropriate. + + * varasm.c (output_constant_def): Copy string as well as string + node when deferring output of constants. + + * configure (i370-*): Renamed tm-mvs.h to mvs.h. + * config/i370/mvs.h: Renamed from tm-mvs.h. + +Sun Oct 3 12:50:57 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) + + * arm.h (function definitions): Add new functions definitions. + (arm_condition_codes): make this externally visible. + (STARTFILE_SPEC): Move to riscix.h and riscix1-1.h. + (CPP_PREDEFINES): Move old defn to riscix.h and riscix1-1.h, add + generaic default definition. + (CPP_SPEC): Define for generic implementation, pass cpu variant + defn to pre-processor. + (TARGET_VERSION): Indicate this is generic variant. + (TARGET_6): New macro, set when compiling for arm6 in 32bit mode. + (ARM_EXTRA_TARGET_SWITCHES): New macro, hook for os dependent files + to make additions to TARGET_SWITCHES. Default to null. + (processor_type): new enum type defining processor variant for + attributes. + (arm_cpu_attr): Macro to get at cpu type from attributes. + (TARGET_WHEN_DEBUGGING): remove non-generic definitions + (OVERRIDE_OPTIONS): Set processor type for attributes. + (OPTIMIZE_OPTIONS): Set flag_force_mem. + (PROMOTE_MODE): Promote byte constants unsigned. + (ENABLE_XF_PATTERNS): Define, do not enable XFmode insns by default + -- it tends to crash riscix. + (REAL_ARITHMETIC): Define. + (CONSTANT_ALIGNMENT): Align string constants so that we can access + them faster. + (TARGET_FLOAT_FORMAT): Is IEEE_FLOAT_FORMAT. + (FIRST_PSEUDO_REGISTER): Increase to support fake registers. + (FIXED_REGISTERS): Describe behaviours of fake regs. (CALL_USED_REGISTERS): Likewise. - (HARD_REGNO_NREGS): Likewise. + (HARD_REGNO_NREGS): Deal with fake frame and argument registers. (HARD_REGNO_MODE_OK): Likewise. + (FRAME_POINTER_REGNUM): Make this a fake register) + (HARD_FRAME_POINTER_REGNUM): Define. set to reg 11 (fp). + (FRAME_POINTER_REQUIRED): It is if TARGET_APCS. + (ARG_POINTER_REGNUM): Set to new fake register. + (CC_REGNUM): Define, set to fake register. + (REG_ALLOC_ORDER): Adjust to get better allocation in small functions. + Add fake registers. + (REG_CLASS_CONTENTS): Add new fakes. (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. - -Tue Mar 2 02:12:13 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * optabs.c (gen_move_insn): Big `if' applies only for MODE_CC class. - - * config/m68k/next.c (handle_pragma): New arg get_line_function. - * config/m68k/next.h (HANDLE_PRAGMA): Pass suitable arg. - * c-lex.h (get_directive_line): Declared. - -Tue Mar 2 10:48:46 1993 Wilson Tien (wtien at urbana.mcd.mot.com) - - * m68k.md (truncdfsf2+2): Use f%$move instead of fsmove. - - * m68k.md (fix_truncdfsi2, fix_truncdfhi2, fix_truncdfqi2): - Use %# instead of #. - - * 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. - - * m68kv4.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Use SIZE instead - of ROUNDED. - - * m68kv4.h (ASM_OUTPUT_CASE_LABEL): Always use `swbeg' syntax to - output switch table (m68k.md depends on this to happen). - - * m68kv4.h (LEGITIMATE_PIC_OPERAND_P): Treat a symbol_ref rtx with - SYMBOL_REF_FLAG set a valid PIC operand. - - * m68kv4.h (OVERRIDE_OPTIONS): Turn off function cse when doing pic. - - * 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. - - * m68k.c (print_operand_address): Always add "@GOT" suffix for the - global object operand when doing PIC. + (CONST_OK_FOR_LETTER_P): Add recognition for negated and inverted + constant integers. + (EXTRA_CONSTRAINT): Add 'Q' to recognize MEM (REG). Add 'S' for + symbols in the text segment. + (CONST_DOUBLE_OK_FOR_LETTER_P): Add 'H' for negated fp constants. + (SECONDARY_OUTPUT_RELOAD_CLASS): Define. Needed to store DFmode held + in SImode regs. + (REGISTER_MOVE_COST): Make this more expensive than memory for + float<->int moves. + (USE_RETURN_INSN): Define, call function. + (ELIMINABLE_REGS): Define to eliminate fake regs. + (CAN_ELIMINATE): Likewise. + (INITIAL_ELIMINATION_OFFSET): Likewise. + (INITIAL_FRAME_POINTER_OFFSET): Delete. + (REGNO_OK_FOR_BASE_P): Add fake regs. + (MAX_REGS_PER_ADDRESS): Is only 2; shifting by reg not allowed in addr. + (CONSTANT_ADDRESS_P): Accept addresses with the symbol_ref flag set. + (LEGITIMATE_CONSTANT): Accept negated floats; also constant addresses. + (ENCODE_SECTION_INFO): Mark strings that will go in the text segment + with the symbol_ref flag. + (REG_OK_FOR_BASE_P [!REG_OK_STRICT]): Add new fakes. + (REG_OK_FOR_PRE_POST_P [!REG_OK_STRICT]): Likewise. + (REG_OK_FOR_PRE_POST_P [REG_OK_STRICT]): Likewise. + (GO_IF_LEGITIMATE_INDEX): constant FLOAT indicees must be word + aligned; be more restrictive about multi-reg ints; allow all legal + shift operations; check boundary conditions more carefully. + (DEFAULT_SIGNED_CHAR): Remove os dependent alternatives. + (LOADS_ZERO_EXTEND): Define; only QImode loads do. + (HAVE_VPRINTF): Move to xm-arm.h + (SHIFT_COUNT_TRUNCATED): Not true -- Delete. + (CONST_COSTS): Define; give the cost of constants. + (RTX_COSTS): Define; give the cost of rtl. + (MEMORY_MOVE_COST): Is expensive. + (BRANCH_COST): Set high to get conditional instructions. + (ADDRESS_COST): Are all the same. + (NOTICE_UPDATE_CC): Delete. + (EXTRA_CC_MODES): Add a no overflow mode and floating point modes. + (EXTRA_CC_NAMES): Likewise. + (SELECT_CC_MODE): Return the appropriate mode. + (STORE_FLAG_VALUE): Define. + (PREDICATE_CODES): Define, show what they are. + (ARM_OS_NAME): Supply generic version. + (ASM_FILE_START): Print appropriate OS name. + (REGISTER_NAMES): Add fakes. + (DBX_OUTPUT_MAIN_SOURCE_FILENAME): set desc field to compiler version + number expected by dbx (RISCIX hack). + (ASM_OUTPUT_INTERNAL_LABEL): Don't reset arm_ccfsm_state if label isn't + a code ('L') label. + (ASM_OUTPUT_LONG_DOUBLE): Define for XFmode. + (ASM_OUTPUT_DOUBLE): Use REAL_ARITMETIC routines. + (ASM_OUTPUT_FLOAT): Likewise. + (ASM_OUTPUT_OPCODE): Change of arm_ccfsm_state is now handled by insns + that need to change it. + (PRINT_OPERAND): %d is replaced by appropriate condition characters, + %D by the inverse of those given. CONST_DOUBLEs use REAL_ARITHMETIC + functions. + (PRINT_OPERAND_ADDRESS): Support all the shift types. + (INIT_CUMULATIVE_ARGS): Add missing bracket. -Mon Mar 1 19:00:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * riscix.h: New file -- OS dependent defintitions for riscix 1.2 and + above. - * c-lex.h (RID_ITERATOR): New alternative. - * c-tree.h (ITERATOR_P, ITERATOR_BOUND_P): New macros. + * riscix1-1.h: New file -- OS dependent definitions for riscix before + version 1.2 - * c-typeck.c (build_unary_op): Warn if increment `struct unknown *'. + * rix-gas.h: New file -- riscix 1.2 and above, but with an assembler + which supports stabs. - * c-lex.c (init_lex): Set up ridpointers for `iterator'. - But maybe turn it off again. + * arm.c (arm_compare_op0, arm_compare_op1, arm_compare_fp): New + variables. + (arm_cpu): New variable. + (lr_save_eliminated): New variable. + (arm_condition_codes): delete definition. + (return_used_this_function): New variable. + (use_return_insn): New function. + (const_ok_for_arm): Use HOST_WIDE_INT; rewrite to work if + HOST_WIDE_INT > 32 bits. + (fpa_consts_inited, strings_fpa): New variables. + (init_fpa_table): New function, initialize above. + (const_double_rtx_ok_for_fpu): Rewrite using fpa_consts_inited and + REAL_ARITHMETIC functions. + (neg_const_double_rtx_ok_for_fpu): New function. + (s_register_operand): New function, as register_operand, but don't + accept SUBREG (MEM). + (reload_memory_operand): New function. + (arm_rhs_operand): Use s_register_operand. + (arm_rhsm_operand): New function. + (arm_add_operand): New function. + (arm_not_operand): New function. + (fpu_rhs_operand): Use s_register_operand. + (fpu_add_operand): New function. + (di_operand): Use s_register_operand. + (di_operand, case MEM): address must be offsettable. + (index_operand): Use s_register_operand. + (const_shift_operand): New function. + (shift_operator): Also accept MULT by power of two. + (equality_operator): New function. + (minmax_operator): New function. + (cc_register): New function. + (minmax_code): New function. + (adjacent_mem_locations): New function. + (load_multiple_operation): New function. + (store_multiple_operation): New function. + (arm_gen_load_multiple): New function. + (arm_gen_store_multiple): New function. + (gen_compare_reg): New function. + (arm_backwards_branch): New function. + (short_branch): New function. + (arm_insn_not_targeted): New function. + (fp_immediate_constant): New function. + (eliminate_lr2ip): New function. + (output_call_mem): New function. + (output_mov_long_double_fpu_from_arm): New function. + (output_mov_long_double_arm_from_fpu): New function. + (output_mov_long_double_arm_from_arm): New function. + (output_move_double): output constants using output_move_immediate; + sign_extend CONST_INTs; handle PRE/POST INCs. + (shift_instr): Handle MULT. + (output_shift_compare): New function. + (pattern_really_clobbers_lr): New function. + (function_really_clobbers_lr): New function. + (output_return_instruction): New function. + (output_prologue): Determine whether tail calling is possible, + compensate for this when saving registers. Re-initialize + return_used_this_function; use HARD_FRAME_POINTER_REGNUM, when + saving floating point regs. + (output_epilogue): Epilogue isn't needed if return_used_this_function; + use HARD_FRAME_POINTER_REGNUM when restoring floating point regs + and there is a stack frame; Arm 6 requires different return + instruction. + (output_load_symbol): New function. + (final_prescan_insn): Add support for RETURN patterns; can also + conditionalize and target a RETURN; use attributes to determine + whether condition codes are set or clobbered; add new case CALL_INSN + to switch, fail if Arm 6; support a jump inside a parallel; call + recog () before returning to recover from using attributes on other + insns. - * c-parse.gperf: Add `iterator' and `__iterator__'. - - * 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. - - * 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. - - * c-typeck.c (readonly_warning): Warn about assignment to iterator. - - * c-iterate.c: New file. - * Makefile.in (c-iterate.o): New target. - (C_OBJS, OBJC_OBJS): Add c-iterate.o. - - * Makefile.in (gcc.o): Delete dep obstack.h. - -Mon Mar 1 07:29:51 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * 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. - - * 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. - - * combine.c (BYTE_LOADS_EXTEND): Fix typo when defining. - (setup_incoming_promotions): Set modes properly. - - * alpha.md: Add three special-cases of CMP insns against zero. - -Mon Mar 1 06:17:02 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - - * 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. - - * 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. - - * pa.md (define_split for symbol_ref+int): New define_split for - the combiner. - -Sat Feb 27 01:57:34 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c-typeck.c (convert_for_assignment): New arg FUNDECL. Calls changed. - (convert_arguments): New arg FUNDECL. - (build_function_call): Pass function to convert_arguments, if a decl. - - * config.sub: Error if company name is more than one word. - If $os is `sunos...', don't change it to manufacturer's name. - - * 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. - - * va-i860.h (struct __gnuc_va_list): Test __svr4__ like __SVR4__. - - * config/ns32k/ns32k.h (TARGET_SWITCHES): Reverse defn of 32332. - - * 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. - - * c-decl.c (pushdecl): Nested fn decl gets DECL_CONTEXT iff not extern. - - * c-lex.c (check_newline): #line updates input_file_stack->name. - - * c-typeck.c (convert_for_assignment): Automatically convert - to a union from its members' types. - - * config/ns32k/ns32k.h (ASM_OUTPUT_ALIGN_CODE): - Pad with no-op insns. - - * c-decl.c (grokdeclarator): Make `long long' work even with - -pedantic, despite the warning. - -Fri Feb 26 22:01:32 1993 Ian Lance Taylor (ian@cygnus.com) - - * 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__. - -Fri Feb 26 18:08:58 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Makefile.in (distdir): Depend on cp-parse.y, - and the .c files for the .y files. - - * c-decl.c (declare_parm_level): Unconditionally store 1. - (pushdecl): Criterion for no warning is, next level up - is a parm level. - - * Makefile.in (all.cross): Depend on enquire. - - * libgcc2.c (inhibit_libc): Renamed from inhibit_eprintf. - (L_new_handler): Don't include stdio.h if inhibit_libc. - - * c-typeck.c (process_init_constructor): Error msg change. - - * gstdarg.h (_VA_LIST_T_H): Test and define this. - * gvarargs.h (_VA_LIST_T_H): Test and define this. - - * gstddef.h (_SYS_SIZE_T_H): Test this and define this. - - * xm-pbd.h (USE_C_ALLOCA): Define here. - * pbd.h (USE_C_ALLOCA): Not here. - - * 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. - - * dbxout.c (dbxout_type): Enable output of subrange types - if use_gnu_debug_info_extensions. - (dbxout_finish_symbol): Enable output of symbols line number. - - * c-typeck.c (initializer_constant_valid_p): - Allow cast of ptr to wider integer. - -Fri Feb 26 19:04:36 1992 Karl Berry (karl@cs.umb.edu) - - * optabs.c (init_libfuncs): Use int instead of enum for - first_mode, last_mode, and mode. - -Fri Feb 26 14:29:22 PST 1992 Ron Guilmette (rfg@netcom.com) - - * c-parse.in (ivar_decls): Give a pedwarn (instead of a warning) for - excess semicolons. - - * cccp.c (do_include): Correctly report the directive name - when any kind of include directive has no argument or null argument. - -Fri Feb 26 11:27:35 1992 Tom Wood (wood@NeXT.com) - - * 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. - -Fri Feb 26 10:34:33 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - - * Makefile.in (uninstall): Also remove the g++ manual page. - -Fri Feb 26 01:29:53 1992 Paul Eggert (eggert@twinsun.com) - - * cexp.y (parse_escape): Don't treat ^ as special after \. - -Fri Feb 26 21:37:29 1993 John F Carr (jfc at Athena.MIT.EDU) - - * varasm.c (make_decl_rtl): Print an error for explicit register - variable whose type cannot be stored in that register. - -Fri Feb 26 17:07:25 1993 Doug Evans (dje@canuck.cygnus.com) - - * machmode.def: Added 32-byte int OImode. - -Fri Feb 26 13:59:23 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - - * explow.c (memory_address): Use CONSTANT_ADDRESS_P instead of - LEGITIMATE_CONSTANT_P. - (break_out_memrefs): Likewise. - -Fri Feb 26 06:18:40 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * expr.c (expand_expr, case IN_EXPR): Fix numerous small bugs and - make some cleanups. - - * recog.c (constrain_operands, case 'r'): If STRICT, a REG isn't - valid if it is a pseudo even if GENERAL_REGS == ALL_REGS. - - * alpha.h (LEGITIMIZE_ADDRESS): Add missing args to calls to - expand_binop. - -Thu Feb 25 17:24:45 1993 Bill Cox (bill@rtl.cygnus.com) - - * expr.h: Add prototypes for most expr-related functions. - * jump.c (jump_optimize): Add missing parameter in expand_binop call. - -Thu Feb 25 17:50:55 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * toplev.c: No need to #undef ABS; done in rtl.h. - - * reorg.c (redundant_insn_p): Fix typo in testing for types of - insns by using GET_RTX_CLASS. - - * expmed.c (emit_store_flag): Fix typo in testing BRANCH_COST. - -Thu Feb 25 14:32:31 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - - * combine.c (set_nonzero_bits_and_sign_copies): Fix typo in - paradoxical set dest handling. - - * convert.c (convert_to_integer): Delete Feb 19 change. - - * fold-const.c (decode_field_reference): Fix force_fit_type call. - -Thu Feb 25 07:38:36 1993 Ian Lance Taylor (ian@cygnus.com) - - * fixinc.sco: Use pwd if PWDCMD is not defined. - -Wed Feb 24 18:28:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * 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. - - * config/m68k/xm-mot3300.h (NO_SYS_SIGLIST): Defined. - -Wed Feb 24 16:01:42 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - - * loop.c (consec_sets_invariant_p): Correct REG_EQUAL note checks - to distinguish libcall case from ordinary insn case. - - * 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. - - * fixinc.svr4 (string.h): Delete 'g' from sed command. - - * sparc.md (zero_extendqi*i2): Delete never matched constraints. - - * i960.c (umulsidi3+1): Delete extra parenthesis. - -Tue Feb 23 15:09:50 1993 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in (install-headers): Create relative paths for - symbolic links within installed include directory. - -Tue Feb 23 14:43:46 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * stmt.c (check_for_full_enumeration_handling): Handle nameless type. - - * tree.h (CONSTRUCTOR_NAME_FORMAT): Handle NO_DOT_IN_LABEL. - - * config/m68k/mot3300.h (NO_DOLLAR_IN_LABEL, NO_DOT_IN_LABEL): Defined. - - * collect2.c (is_ctor_dtor): Handle NO_DOT_IN_LABEL. - -Mon Feb 22 18:06:06 1993 John Hassey (hassey@dg-rtp.dg.com) - - * m88k.c (output_call): Don't use the delay slot of a bsr.n - to modify the return address, unless -O2 specified. - -Mon Feb 22 17:36:52 1993 Kresten Krab Thorup (krab at xiv) - - * objc/core.c (initialize_class): Take Class_t instead of - char* as argument. Callers changed to pass the class. - - * 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. - - * objc/object.m (doesNotRecognize): Call sel_getName to get - the name of the selector, and print that. - (subclassResponsibility, notImplemented): Likewise. - -Mon Feb 22 00:23:47 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) - - * expr.c (emit_library_call_value): Fix bug in prev change. - - * Makefile.in (install-include-dir): Depend on install-dir. - - * convert.c (convert_to_integer): #if 0 the truncated integer warning. - -Mon Feb 22 15:15:40 1993 James Van Artsdalen (james@bigtex.cactus.org) - - * fold-const.c (all_ones_mask_p): Really use tmask. - -Mon Feb 22 11:59:09 1993 Michael Meissner (meissner@osf.org) - - * fold-const.c (all_ones_mask_p): Declare tmask to be `tree'. - (optimize_bit_field_compare) Add missing semicolon. - -Sun Feb 21 20:20:13 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) - - * expr.c (emit_library_call_value): Really pass mem value address - to the library function. + * arm.md (type): New attribute for scheduling. + (cpu): New attribute for cpu type for use in conds attribute. + (conds): New attribute to describe actions on condition codes, set in + insns. + (length): New attribute, set in insns. + (write_conflict): New attribute describing conflicts with the write + buffer. + (fpa): New function unit for floating point co-processor. + (write_buf): New function unit for Arm 6 write buffer. + Most patterns: use s_register_operand instead of register_operand. + Most patterns: Don't use general operand and then expect reload to + do the work. + (adddi3): op0 can be the same as ops1 or 2; clobbers condition codes. + New unnamed patterns to add an SImode operand to a DImode op. + (addsi3): accept constants that can be catered for using sub. + New unnamed patterns that set conditions on add. + (incscc): new pattern, conditional increment. + New split to add some numbers in two insns. + (addsf3): Use REAL_ARITHMETIC; support -ve immediates. + (adddf3): Likewise. + (FLOAT_EXTEND and ADD): New unnamed patterns. + (addxf3): New pattern. + (subdi3): Allow input and output operands to overlap exactly. + (SUB DImode and SImode): New unnamed patterns. + (subsi3): Don't accept a constant as last operand, it will never be + matched. + (SUB and set CC) New unnamed patterns. + (decscc): new pattern, conditional decrment. + (subdf3): Fix bad case alternative. + (FLOAT_EXTEND and SUB): New unnamed patterns. + (subxf3): New pattern. + (mulsi3): Allow op2 to be the same as op0 + (MULT and set CC): New unnamed patterns. + (MULT and ADD): Ops 2 and 3 can match op 0. + (MULT, ADD and set CC): New unnamed patterns. + (mulsf3): use fmls for faster multiply. + (FLOAT_EXTEND and MULT): New unnamed patterns. + (mulxf3): New pattern. + (divsf3): use dvfs and rdfs for faster divide. + (FLOAT_EXTEND and DIV): New unnamed patterns. + (divxf3): New pattern. + (FLOAT_EXTEND and MOD): New unnamed patterns. + (modxf3): New pattern. + (anddi3): op 0 can be the same as ops1 or 2. + (*_EXTEND and AND): New unnamed patterns + (andsi3): Also accept constants that can be handled with bic + instruction. + (AND and set CC): New unnamed patterns. + (andcbsi3): Delete, this can't be generated any more. + (NOT then AND): New unnamed patterns. + (NOT then AND and set CC): Likewise. + (iordi3): Ops 1 and 2 can match op 0. + (*_EXTEND and IOR): New unnamed patterns. + (iorsi3): Only accept a valid rhs operand for op 2. + (IOR and set CC): New unnamed patterns. + (xordi3): New pattern. + (*_EXTEND and XOR): New unnamed patterns. + (xorsi3): Only accept a valid rhs operand for op 2. + (XOR and set CC): New unnamed patterns. + (split pattern): Complex pattern with NOT, AND, and IOR, can + sometimes produce better code if reordered. + (AND (IOR () NOT ())): Special pattern to recognize spilt above. + ([su]{min,max}si3): New patterns. + (set memory from MIN/MAX operation): New pattern. + (Arithmetic on MIN/MAX operation): New pattern. + (ashlsi3, ashrsi3, lshrsi3, rotrsi3): Only accept a valid rsh for op2. + (unnamed LSHIFT pattern): likewise. + (SHIFT and set CC): New unnamed patterns. + (SHIFT and NOT): New unnamed pattern. + (SHIFT, NOT and set CC): New unnamed patterns. + (negdi2): operand1 can be the same as op 0. + (FLOAT_EXTEND and NEG): New unsigned pattern. + (negxf2): New pattern. + (abssi2): New pattern. + (ABS and NEG): New unnamed pattern. + (FLOAT_EXTEND and ABS): New unnamed pattern. + (absxf2): New pattern. + (FLOAT_EXTEND and SQRT): New unnamed pattern. + (sqrtxf2): New pattern. + ({sin,cos}{sf,df,xf}2): New patterns. + (FLOAT_EXTEND and SIN/COS): New unnamed patterns. + (one_cmpldi2): New pattern. + (NOT and set CC): New unnamed patterns. + (floatsixf2, fix_truncsfsi2, fix_truncdfsi2, fix_truncxfsi2): New + patterns. + (truncxfsf2, truncxfdf2): New patterns. + (zero_extendsidi2, zero_extendqidi2, extendsidi2): New patterns. + (ZERO_EXTEND and set CC): New patterns. + (extend{sf,df}xf2): New patterns. + (movdi): Constrains must accept PRE/POST INC/DEC. + (movsi): make an expand that splits up integers and unsupported + moves. + (unnamed pattern to match movsi): New, don't allow things to + be moved back together again. + (REG-REG copy and set CC): New unnamed pattern. + (restorehi): use plus_constant in expansion code, not PLUS in RTL part. + (storehi, storeinthi): likewise. + (movhi): Break up impossible moves. + (pattern to match movhi): Don't allow impossible moves to be put + back together. + (movqi): Break up impossible moves. + (pattern to match movqi): Don't allow impossible moves to be put + back together; convert negative constants into mvn instruction. + (movsf): Use REAL_ARITHMETIC for constants; add alternatives for + moving GENERAL_REGS to and from memory. + (movdf): Make this an expand; split out impossible moves. + (reload_outdf): New pattern. + (pattern to match movdf): Don't allow impossible moves to be put back + together; add alternatives for moving GENERAL_REGS to and from memory; + rearrange and weight to get optimal register allocation. + (movxf): New pattern. + (load_multiple): New expand pattern. + (pattern to load multiple, pattern to load multiple with write-back): + New unnamed patterns. + (store_multiple): New expand pattern. + (pattern to store multiple, pattern to store multiple with write-back): + New unnamed patterns. + (movstrsi): Expand short moves as a series of load/store multiples with + write-back. + (cmp*): Make these expands; just set some state variables. + (CC = COMPARE op, op): New unnamed patterns. + (CC = COMPARE op, NEG op): New unnamed pattern. + (CC = COMPARE op, SHIFT op): New unnamed pattern. + (FLOAT_EXTEND then COMPARE): New unnamed patterns. + (CC = CC): New unnamed (dummy) pattern to allow cse to combine repeated + compares. + (b{eq,ne,le,lt,ge,gt,geu,gtu,leu,ltu}): Make these expand patterns, + use gen_compare_reg(). + (pattern to match branches, pattern to match inverted brances): New + unnamed patterns. + (s{eq,ne,le,lt,ge,gt,geu,gtu,leu,ltu}): New expands. + (pattern to match store_flag operations): New unnamed pattern. + (pattern to match NOT store_flag, pattern to match NEG store_flag): + New unnamed patterns. + (jump): handle arm_ccfsm_state explicitly. + (CALL (MEM)): New unnamed patterns. + (return): New pattern. + (conditional RETURN): New unnamed patterns; + (table_jump (MEM)): New unnamed pattern. + (indirect_jump (MEM)): New unnamed pattern. + Replace shift-arithmetic patterns with new versions that catche all + cases. + (Old peephole patterns (commented out)): remove. + (shift-arithmetic and set CC): New unnamed patterns. + (reload patterns for all shift-arithmetic patterns): New patterns. + Add many new patterns to merge store_flag patterns, arithmetic and + shifting. + New patterns to match conditional comparisons. + (movcond): New pattern. + (arith (MEM, MEM+4)): New unnamed pattern to spot load multiple + possibility. + (patterns to match extended pre-increment): New unnamed patterns. + (peepholes to match extended post-increment): New. + (peephole to match move and set conds): Needed because combine misses + this one. + (peepholes to match load/store multiples): New. + (CALL, RETURN): New peephole. + (CALL, JUMP): New peephole. + (save_stack_nonlocal, restore_stack_nonlocal): New expands for + non-local gotos. + special split to break up some conditional arithmetic sequences + before scheduling. -Sun Feb 21 15:15:40 1993 James Van Artsdalen (james@bigtex.cactus.org) + *configure (arm-*-riscix1.[01]*, arm-*-riscix*): New configurations. + *config.sub: Recognize operating system "riscix*"; recognize acorn as + vendor. - * fold-const.c (decode_field_reference): Use force_fit_type - instead of convert to avoid truncated integer warning. - (all_ones_mask_p): Likewise. +Sat Oct 2 17:24:44 1993 James Van Artsdalen (james@bigtex.cactus.org) -Sun Feb 21 13:06:00 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + * i386.md (addhi3): Use byte opcodes when the low byte of a word + is known to be zero. - * pa.md (load high pattern): Rework constraints to reduce %r1 - spillage. +Sat Oct 2 14:11:06 1993 John F Carr (jfc@Athena.mit.edu) - * pa.md (const_double -> FP pattern): Remove cases which can never - happen anymore. + * combine.c (can_combine_p): Allow an insn with a REG_EQUIV note + that reads memory to be moved past an insn that writes memory. - * pa.c (print_operand, case 'Y'): Output comparison operators - which will give the right results when one or more operands is a NaN. +Sat Oct 2 14:04:03 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sun Feb 21 01:38:19 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) + * regclass.c (record_reg_classes): Skip to next alternative + when we skip normal cost computation. - * 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. + * collect2.c: Add prototypes to static declarations. + (PROTO): New macro. + (dup2, putenv): Functions return integers; add type and returns. -Sat Feb 20 20:33:51 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) + * varasm.c (make_decl_rtl): Set TREE_SIDE_EFFECTS on global if + -fvolatile-global. - * cccp.c: Add declaration for pedwarn_with_line. + * tree.c (build_string): Make lifetime of string the same as + tree node. -Sat Feb 20 14:46:25 1993 James Van Artsdalen (james@bigtex.cactus.org) +Sat Oct 2 04:55:44 1993 Doug Evans (dje@canuck.cygnus.com) - * 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. + * a29k/a29k.h, a29k/unix.h, alpha/alpha.h, arm/arm.h, clipper/clix.h, + convex/convex.h, elxsi/elxsi.h, fx80/fx80.h, gmicro/gmicro.h, + h8300/h8300.h, i370/tm-mvs.h, i386/386bsd.h, i386/aix386ng.h, + i386/gas.h, i386/go32.h, i386/linux.h, i386/lynx.h, i386/mach.h, + i386/next.h, i386/osfelf.h, i386/osfrose.h, i386/sco.h, i386/sco4.h, + i386/sco4dbx.h, i386/scodbx.h, i386/sequent.h, i386/sun.h, + i386/sysv3.h, i386/sysv4.h, i860/fx2800.h, i860/i860.h, i860/mach.h, + i860/sysv3.h, i860/sysv4.h, i960/i960.h, m68k/3b1.h, m68k/3b1g.h, + m68k/altos3068.h, m68k/apollo68.h, m68k/crds.h, m68k/ctix.h, + m68k/dpx2.h, m68k/hp2bsd.h, m68k/hp320.h, m68k/hp3bsd.h, + m68k/hp3bsd44.h, m68k/isi.h, m68k/lynx.h, m68k/m68kv4.h, + m68k/mot3300.h, m68k/news.h, m68k/next.h, m68k/pbb.h, m68k/plexus.h, + m68k/sun2.h, m68k/sun3.h, m68k/sun3mach.h, m68k/tower-as.h, + m68k/tower.h, m88k/dgux.h, m88k/luna.h, m88k/m88k.h, m88k/sysv3.h, + m88k/sysv4.h, mips/bsd-4.h, mips/bsd-5.h, mips/dec-osf1.h, + mips/iris3.h, mips/mips.h, mips/news4.h, mips/news5.h, + mips/nws3250v4.h, mips/osfrose.h, mips/svr3-4.h, mips/svr3-5.h, + mips/svr4-4.h, mips/svr4-5.h, mips/ultrix.h, ns32k/encore.h, + ns32k/merlin.h, ns32k/ns32k.h, ns32k/pc532-mach.h, ns32k/pc532.h, + ns32k/sequent.h, ns32k/tek6000.h, ns32k/tek6100.h, ns32k/tek6200.h, + pa/pa-ghpux.h, pa/pa-gux7.h, pa/pa-hpux.h, pa/pa-hpux7.h, + pa/pa-utahmach.h, pa/pa.h, pa/pa1-utahmach.h, pyr/pyr.h, romp/romp.h, + rs6000/aix31.h, rs6000/mach.h, rs6000/rs6000.h, sh/sh.h, sparc/lite.h, + sparc/lynx.h, sparc/pbd.h, sparc/sol2.h, sparc/sparc.h, sparc/sysv4.h, + spur/spur.h, tahoe/harris.h, tahoe/tahoe.h, vax/ultrix.h, vax/vax.h, + vax/vaxv.h, vax/vms.h, we32k/we32k.h + (CPP_PREDEFINES): Add system/cpu/machine assertions where missing. -Sat Feb 20 18:41:05 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Oct 1 22:11:17 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * gvarargs.h: Test __sequent__ like __BSD_NET2__. -Sat Feb 20 17:25:16 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) +Fri Oct 1 17:19:54 1993 Torbjorn Granlund (tege@adder.cygnus.com) - * fold-const.c (decode_field_reference): Use force_fit_type - instead of convert to avoid truncated integer warning. + * cse.c (insert_regs): Always return something. + (simplify_unary_operation): Remove unused variable. + (cse_process_notes): Likewise. + (invalidate_skipped_block): Likewise. + (cse_set_around_loop): Likewise. -Sat Feb 20 07:31:32 1993 John Hassey (hassey@dg-rtp.dg.com) + * pa-ghpux.h (LINK_SPEC): Pass "-a -archive" when + debugging. + * pa-hpux.h (LINK_SPEC): Likewise. + * pa-ghpux.h (LIB_SPEC): Make sure to add space between flags. + * pa-gux7.h (LIB_SPEC): Likewise. + * pa-hpux.h (LIB_SPEC): Likewise. + * pa-hpux7.h (LIB_SPEC): Likewise. - * fixincludes: Change "va_list)" to "__gnuc_va_list)". +Fri Oct 1 22:17:12 1993 Eric Youngdale (eric@kafka) -Sat Feb 20 03:19:44 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) + * vmsconfig.com: Write out the definitions from Makefile.in for + the symbols BC_ALL and BI_OBJ into files BC_ALL.OPT and + BI_ALL.opt. Remove "bytecode " from compiler options files so + compiler will link correctly. - * fixincludes: Save temp file in ${LIB}. - Use -I${ORIGDIR} when compiling types.c. + * make-cc1.com (bc_generate): New VMS DCL function. Takes a BC + header file that needs to be generated, and builds it. -Fri Feb 19 00:45:41 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * make-cc1.com: Compile entries listed in BI_ALL.OPT, and then call + bc_generate for every header file listed in BC_ALL.OPT - * convert.c (convert_to_integer): Warn if integer is truncated - and that changes the value. +Fri Oct 1 21:13:17 1993 H.J. Lu (hlu@nynexst.com) -Thu Feb 18 20:15:20 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * config/i386/linux.h (LIB_SPEC): Handle -p anmd -pg outermost. - * aix386.h: Include aix386ng.h instead of duplicating it. - * 3b1.h (ASM_OUTPUT_CASE_END): Add missing semicolon. +Fri Oct 1 18:23:57 1993 Jim Wilson (wilson@cygnus.com) - * sparc.c (output_function_prologue): Don't save %f31 to stack. - * sparc.h (STARTING_FRAME_OFFSET): Set to -8. + * reload1.c (gen_input_reload): Handle PLUS with MEM operand + exactly the same as a PLUS with a REG operand. + * reload.c (form_sum): Undo Sep 28 change. - * 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. + * Makefile.in (cc1, cc1plus, cc1obj): Delete superfluous + dependencies on bytecode. + (stamp-bcarity, stamp-bcopcode, stamp-bcopname): Create stamp files. - * final.c (end_final): Don't call assemble_zeros with an size - argument of zero. +Fri Oct 1 18:17:56 1993 Doug Evans (dje@canuck.cygnus.com) - * move-if-change: Use cmp -s instead of redirecting output to - /dev/null. + * configure (cpp_md_flags): New variable. + (links): Build link from md.pre-cpp if cpp_md_flags defined. + (CPP_MD, CPP_MD_FLAGS, MD_FILE): New macros for Makefile. + * Makefile.in (md): New dependency. + (MD_FILE): New macro. + (clean): Remove file md if md.pre-cpp exists. + (distclean): Remove md.pre-cpp. - * calls.c (expand_call): When MAYBE_REG_PARM_STACK_SPACE defined, - if reg_parm_stack_space is zero, set args_size.constant to zero. +Fri Oct 1 15:44:48 1993 Michael Meissner (meissner@osf.org) -Thu Feb 18 17:43:30 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * halfpic.h (toplevel): Enclose the whole file inside a #ifndef + NO_HALF_PIC conditional. - * objc/core.c (__objc_execClass): - Don't assign superclass pointer more than once. + * i386/x-osfrose (CCLIBFLAGS, GCC_CFLAGS): Define NO_HALF_PIC so + that the two common variables in halfpic.h don't get created. - * objc/record.h (record_store_at, record_get): - Test record_capacity, not record_entries, in assertion. + * mips/x-osfrose (CCLIBFLAGS, GCC_CFLAGS): Ditto. - * flow.c (regno_uninitialized): Test global_regs only for hard regs. +Fri Oct 1 10:46:15 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * c-lex.c (yylex): Undo Feb 7 change. - * c-parse.in (program): After extdefs, pop any unpopped binding lvls. + * a29k.h (R_KR): New macro. + (FIRST_PSEUDO_REGISTER, FIXED_REGISTERS, CALL_USED_REGISTERS): + Adjust for more registers present. + (REG_ALLOC_ORDER, REG_CLASS_CONTENTS, REGISTER_NAMES): Likewise. + (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK, REGNO_REG_CLASS): Likewise. + (CONDITIONAL_REGISTER_USAGE): Swap names rather than replacing them. + * a29k.c (gpc_reg_operand): Include kernel registers. - * Makefile.in (BISONFLAGS): Add -v. + * a29k.h (TARGET_LARGE_MEMORY): New flag; change value for + all others. + (ENCODE_SECTION_INFO): New macro. + (TARGET_SWITCHES): Add "normal" and change values. -Wed Feb 17 18:51:51 1993 Karl Berry (karl@owl.hq.ileaf.com) + * a29k.c (call_operand, case SYMBOL_REF): Handle TARGET_LARGE_MEMORY + and SYMBOL_REF_FLAG. - * toplev.c (ABS): #undef after including sys/resource.h. +Thu Sep 30 23:25:13 1993 Jeffrey A. Law (law@snake.cs.utah.edu) -Wed Feb 17 22:02:09 1993 John Hassey (hassey@dg-rtp.dg.com) + * reorg.c (optimize_skip): Do not thread a jump to a new target if + doing so would invalidate the insn in the jump's delay slot. - * m88k.c (emit_ldst): For large offsets use register index - instead of immediate. +Thu Sep 30 14:21:03 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Wed Feb 17 18:02:26 EST 1993 John Wehle (john@feith.com) + * bi-lexer.c (scan_string): Do xmalloc if buffer is null and + xrealloc if it's not, not the other way around. - * we32k.h (CONST_COSTS): Updated to better reflect - the actual constant costs on a we32k. +Thu Sep 30 10:57:30 1993 Jan Brittenson (bson@nutrimat.gnu.ai.mit.edu) - * we32k.md (truncdfsf2, extendsfdf2): Changed from - define_insn to expand_insn so the optimizer can do - a better job. + * bc-emit.c (bc_end_function, seg_data): Use bcopy instead of memcpy. - * we32k.h (GO_IF_LEGITIMATE_ADDRESS): Added support for - deferred addressing. +Thu Sep 30 05:53:58 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * we32k.md: Eliminated a jmp pattern and the peephole - patterns which are no longer needed now that deferred - addressing is supported. + * fold-const.c (fold, case PLUS_EXPR, MINUS_EXPR): Properly handle + case when ARG1 splits and VARSIGN is -1. -Wed Feb 17 17:55:34 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Sep 29 19:41:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * fixincludes (sys/types.h): Replace definition of size_t - based on SIZE_TYPE. + * c-typeck.c (build_modify_expr): Check whether recursive calls + return error_mark_node. -Wed Feb 17 06:54:42 1993 John Hassey (hassey@dg-rtp.dg.com) +Wed Sep 29 18:35:30 1993 Leonid Baraz (lbaraz@iil.intel.com) - * config/m88k/m88k.h (CONST_OK_FOR_LETTER_P): Added 'K'. - * config/m88k/m88k.md: Use 'K' constraint with arith5_operand - predicate. + * rtl.h (GEN_INT): Add missing cast to HOST_WIDE_INT. + * jump.c (rtx_renumbered_equal_p, case CONST_INT): Use INTVAL, + not XINT. -Wed Feb 17 03:04:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Sep 29 17:32:03 1993 Doug Evans (dje@canuck.cygnus.com) - * Makefile.in (stmp-fixinc): Renamed from stmp-fixincludes. + * glimits.h (UINT_MAX, ULONG_MAX, ULONG_LONG_MAX): + redefine in a simpler way. -Tue Feb 16 14:34:19 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Sep 29 17:25:17 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) - * config/sparc/sparc.h (ASM_OUTPUT_IDENT, IDENT_ASM_OP): Defined. + * fixincludes (sys/spinlock.h): change references of + "../machine/*.h" to -Tue Feb 16 02:48:58 EST 1992 John Wehle (john@feith.com) +Wed Sep 29 07:09:50 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * reload.c (find_reloads_address): Use strict_memory_address_p - to check for valid indirect address. + * rs6000.c (reg_or_short_operand): Remove redundant test. - * 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. + * sched.c: Add prototypes for static function. + (add_dependence, remove_dependence, regno_use_in): Now static. + (schedule_insns): Have dummy version also take FILE * parameter. -Tue Feb 16 01:28:52 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Sep 29 01:29:31 1993 Paul Eggert (eggert@twinsun.com) - * c-typeck.c (build_indirect_ref): Avoid *& short-cut if -fvolatile. + * cccp.c (quote_string): New function. + (special_symbol, write_output, output_line_command): Use it to escape + special characters in file names when outputting #line directives. + (do_line): Parse escape sequences in #line directives' file names. + * c-lex.c, cp-lex.c (check_newline, yylex, real_yylex): Likewise. + (ignore_escape_flag): Remove var. -Mon Feb 15 22:22:08 1993 Michael Meissner (meissner@osf.org) +Tue Sep 28 21:27:26 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu - * 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. + * function.c (push_temp_slots, pop_temp_slots): Always change level. + * cp-expr.c (cplus_expand_expr): Push and pop temp slots around + making new temp slots and freeing them. + * expr.c (expand_assignment, expand_expr, do_jumps): Likewise. + * integrate.c (expand_inline_function): Likewise. - * i386/osfrose (CPP_SPEC): Ditto. +Tue Sep 28 18:50:57 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Feb 15 02:17:47 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * reload.c (find_reloads): Don't call find_reloads_toplev + (or anything like that) for match_operator operands. - * objc-act.c (HASHFUNCTION): insure nonnegative hash even if - addresses are negative. + * config/ns32k/ns32k.c (output_move_double): Special code for + pushing from an address that uses the sp. Use PUSHOP for pushes, + not POPOP. -Sat Feb 13 04:16:29 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/ns32k/ns32k.h (FUNCTION_EPILOGUE, FUNCTION_PROLOGUE): + Add %$ in adjspb/adjspd insns. + * config/ns32k/ns32k.md (recognizer for subtracting const from reg 17): + Add %$ in adjspb/adjspd insns. - * 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. + * bytetypes.h (QItype, HItype, SItype, DItype): Use __signed__. -Fri Feb 12 19:40:38 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) + * Makefile.in (stamp-bcopname, stamp-bcopcode): + Use shorter names for temporary files. + (bc-emit.o): Depend on bc-arity.h. - * combine.c (setup_incoming_promotions): Make static. + * bi-opname.c, bi-arity.c, bi-opcode.c (xmalloc): New function. + * bi-opname.c, bi-arity.c: Include stdio.h. -Fri Feb 12 16:02:52 1993 Per Bothner (bothner@hal.gnu.ai.mit.edu) + * function.c (expand_main_function): Put back accidentally + deleted previous change to use NAME__MAIN. - * tree.def: Fix typo in comment (TREE_VALUES -> TYPE_VALUES). + * glimits.h (INT_MAX, LONG_MAX, LONG_LONG_MAX): Delete parens. + (__glimits__evconcat__, __glimits__concat__): New macros. + (UINT_MAX, ULONG_MAX, ULONG_LONG_MAX): Use them. -Fri Feb 12 11:26:28 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * cccp.c (output_dots): New function. + (do_include): Call it (to indent output for print_include_names). - * pa.md (rotlsi3): Fix typo, rotate was rotatert in rtl template. +Tue Sep 28 18:22:31 1993 Jim Wilson (wilson@cygnus.com) -Fri Feb 12 07:47:11 1993 John Hassey (hassey@dg-rtp.dg.com) + * reload1.c (eliminate_regs): All recursive calls now pass INSN + instead of NULL_RTX. Second assignment to ref_outside_mem changed + to be same as first assignment. - * function.c (reposition_prologue_and_epilogue_notes): Allow - for zero length prologue and epilogue list. + * combine.c (force_to_mode, LSHIFTRT case): Avoid shifts larger + than HOST_BITS_PER_WIDE_INT. -Thu Feb 11 05:55:33 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * sched.c (schedule_insns): Don't zero reg_n_calls_crossed for + pseudos live across multiple blocks. - * collect2.c (find_a_file): Always reject "./ld". - (main): Pass short name of program as first arg to fork_execute; - ensure argv[0] always gets filename. - (fork_execute): Print name for diagnostic from PROG; filename - comes from argv[0]. + * fixincludes ({sparc,sun3,sun3x,sun4,sun4c,sun4m}/asm_linkage.h, + {sun4c,sun4m}/debug/asm_linkage.h: Replace /**/ with ##. - * fixincludes: Don't assume that macros defining IO and CTRL - ioctl codes always use `x'; some use `c' or `g'. + * reorg.c (mark_target_live_regs): When scanning insns, ignore + CLOBBERs in addition to USEs. - * 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]. + * life.h: Comment that this is for sparclite w/o FPU. + * sparc.h (CPP_SPEC): Handle -mf930 and -mf934. + (TARGET_SWITCHES): Add -mf930 and -mf934 options. -msparclite no + longer does -mno-fpu. -Thu Feb 11 03:55:39 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fixinc.svr4, fixincludes (math.h): Put #ifndef around HUGE_VAL + define. + * math-68881.h, math-3300.h (HUGE_VAL): Add #undef before HUGE_VAL + define, instead of surrounding it with #ifndef/#endif. - * expr.c (expand_builtin): Move memory_address calls - out of arglist of emit_block_move. + * sparc/bsd.h: New file. + * configure (sparc-*-bsd*): New configuration. -Wed Feb 10 16:14:09 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * reload.c (form_sum): Change the way that form_sum canonicalizes + addresses, so that it never creates (PLUS (PLUS MEM CONST_INT) REG) + but instead canonicallizes this to (PLUS (PLUS REG CONST_INT) MEM). - * 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. +Tue Sep 28 16:00:25 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Feb 10 09:53:00 1993 John Hassey (hassey@wombat.gnu.ai.mit.edu) + * bc-emit.c: Include gvarargs.h, not varargs.h. + Don't include string.h. + (seg_align): Use bzero, not memset. - * config.sub: removed m88kbcs, changed delta88 and harris to - use sysv3. +Mon Sep 27 20:53:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Feb 10 03:29:11 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-typeck.c (pop_init_level): Add special case for nonincremental + scalar initializers. - * c-decl.c (duplicate_decls): Silently accept harmless mismatch - in type of 1st arg of builtin function. + * protoize.c: Declare rindex unconditionally. - * c-typeck.c (build_indirect_ref): If arg is void *, just warn. + * c-decl.c (init_decl_processing): Use signed_type and unsigned_type + to set signed_wchar_type_node and unsigned_wchar_type_node. -Tue Feb 9 22:15:08 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Mon Sep 27 20:31:01 1993 Paul Eggert (eggert@twinsun.com) - * alpha.md (fix_truncdfdi2, fix_truncsfdi2): Use `cvttqc', not - `cvttq', to avoid rounding up. + * dbxout.c (dbxout_init, dbxout_source_file): Quote special + characters when outputting source file names. + * config/a29k/a29k.h, config/a29k/unix.h, config/alpha/alpha.h, + config/i386/aix386ng.h, config/i386/bsd.h, config/i386/gas.h, + config/i386/sun386.h (ASM_FILE_START): Likewise. + * config/elxsi/elxsi.h, config/m68k/3b1.h, config/m68k/crds.h, + config/m68k/mot3300.h, config/m68k/tower-as.h, config/m88k/m88k.h, + dwarfout.c (ASM_OUTPUT_SOURCE_FILENAME): Likewise. + * xcoffout.h, config/i386/i386iscgas.h, config/i860/fx2800.h + (DBX_OUTPUT_MAIN_SOURCE_DIRECTORY, DBX_OUTPUT_MAIN_SOURCE_FILENAME): + Likewise. + * xcoffout.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise. + * config/mips/mips.c (mips_output_filename): Likewise. + * toplev.c (output_file_directive): Likewise. + (output_quoted_string): New function. -Tue Feb 9 18:45:57 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Mon Sep 27 19:31:57 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * bi-lexer.c (xrealloc): Handle 0 passed as BLOCK. -Tue Feb 9 14:04:22 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * Makefile.in (stamp-bcopname, stamp-bcopcode, stamp-bcarity): + Renamed from stamp-bc-... to fit in 14 chars. + Don't rm the .h files. + (STAGESTUFF): Add some bc and bi files. - * fixincludes: Fix logic about when to duplicate entries under the - `FILE' link. + * c-lex.c (yylex): Handle i together with f or l in float constant. -Tue Feb 9 13:22:28 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Sep 27 19:00:18 1993 Ian Lance Taylor (ian@cygnus.com) - * cccp.c (main): Fix lineno of "does not end in newline" message. - (finclude): Likewise. + * cccp.c (special_symbol, initialize_builtins): If + NO_BUILTIN_SIZE_TYPE is defined, never refer to SIZE_TYPE. + Likewise for NO_BUILTIN_PTRDIFF_TYPE and PTRDIFF_TYPE. -Tue Feb 9 12:03:37 1993 Michael Meissner (meissner@osf.org) +Mon Sep 27 18:59:09 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * mips/mips.c (function_epilogue): Avoid integer overflows in - checking whether $31 is the only register saved. - (mips_epilogue_delay_slots): Ditto. + * reload1.c (eliminate_regs, SET case): Check for INSN_LIST + along with EXPR_LIST. -Tue Feb 9 05:46:17 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Mon Sep 27 14:29:17 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - * rtl.h: Undefine ABS; some POSIX systems define it as 1. + * objc/typedstream.h (objc_read_object): Add declaration. - * 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. +Mon Sep 27 17:00:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Feb 9 01:13:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * configure: Handle option --with-elf. + (i[34]86-*-linux*): Use linuxelf.h if --with-elf. + (i[34]86-*-osfelf): Config deleted. + (i[34]86-*-osfrose): Handle --with-elf. + * config/i386/linuxelf.h: New file. - * c-lex.c (yylex): For wide char constant, use wchar_type_node. - Swallow any preprocessing number as a (possibly erroneous) number. +Mon Sep 27 14:19:33 1993 Jan Brittenson (bson@nutrimat.gnu.ai.mit.edu) - * tree.c (size_in_bytes): Add 2nd arg to force_fit_type. + * expr.c (bc_expand_constructor): Delete cast of argument to + bc_emit_instruction to HOST_WIDE_INT. Move assignment of ptroffs + to separate line. -Mon Feb 8 07:52:23 1993 Ian Lance Taylor (ian@cygnus.com) +Mon Sep 27 10:32:28 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * configure (*-*-hpux*): Use install-headers-cpio. + * Makefile.in (stmt.o, expr.o, emit-rtl.o): Add missing dependency + on bc-typecd.def. + (bi-run.o): Fix formatting. -Mon Feb 8 07:13:49 1993 John Hassey (hassey@dg-rtp.dg.com) +Mon Sep 27 10:26:43 1993 Jan Brittenson (bson@nutrimat.gnu.ai.mit.edu) - * toplev.c (compile_file): Don't flag global register variables - as unused. + * Makefile.in (bi-arity.h, bc-opcode.h, bc-opname.h): Use + move-if-changed. + (stamp-bc-arity, stamp-bc-opcode, stamp-bc-opname): New targets. -Mon Feb 8 06:06:58 1993 James Van Artsdalen (james at bigtex.cactus.org) +Sun Sep 26 23:11:34 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * i386.md (extendsidi2): Use correct mnemonic for cwtl opcode. + * pa.h (ASM_FILE_START): Remove last change for $LIT$ subspace, + not all HPUX linkers handle it correctly. -Mon Feb 8 05:52:08 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Sun Sep 26 20:51:36 1993 Richard Stallman (rms@mole.gnu.ai.mit.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. + * stmt.c (expand_exit_loop_if_false, bc_expand_start_cond): + Use xjumpifnot, not jumpifnot. -Sun Feb 7 23:34:16 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Makefile.in (bi-arity, bi-opcode, bi-opname): Delete $(LEXLIB). - * expmed.c (emit_store_flag): Add missing arg to convert_move. + * varasm.c (assemble_string): Put braces around ASM_OUTPUT_ASCII. -Sun Feb 7 16:13:05 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu.edu) +Sat Sep 25 08:30:16 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.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. + * expr.c (expand_expr, case COND_EXPR): Set MEM_IN_STRUCT_P + properly for TEMP. -Sun Feb 7 13:12:23 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * combine.c (BYTE_LOADS_EXTEND, LOAD_EXTEND): Deleted. + (subst, force_to_mode, nonzero_bits, num_sign_bit_copies): + Use new macros LOAD_EXTEND_OP and WORD_REGISTER_OPERATION instead + of BYTE_LOADS_*_EXTEND and LOAD_EXTEND. + * expr.c (do_store_flag): Likewise. + * reload.c (push_reload, find_reloads): Likewise. + * reload1.c (eliminate_regs): Likewise. + * a29k.h, alpha.h, clipper.h, arm.h, i960.h, m88k.h, mips.h: + Use WORD_REGISTER_OPERATION and LOAD_EXTEND_OP and delete + BYTE_LOADS_{SIGN,ZERO}_EXTEND. + * pa.h, romp.h, rs6000.h, sh.h, sparc.h: Likewise. - * c-lex.c (yylex): At eof, if binding levels not popped, - imagine some close-braces to pop them. +Sat Sep 25 06:19:20 1993 Jan Brittenson (bson@nutrimat.gnu.ai.mit.edu) -Sun Feb 7 10:54:42 1993 Chip Salzenberg (chip@tct.com) + * bi-lexer.l: Deleted. - * fold-const.c (fold): Call force_fit_type with two parameters. + * bi-lexer.c: New file. - * 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. + * Makefile.in (bi-lexer): Deleted. + (bi-lexer.l): Deleted. -Sat Feb 6 20:26:09 1993 James Van Artsdalen (james at bigtex.cactus.org) +Fri Sep 24 16:59:03 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * byteorder.h (386 htonl,htons): Avoid hard-coded register usage. + Cygnus<->FSF C++ front-end merge. -Sat Feb 6 20:23:02 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Tue Sep 21 19:17:29 1993 Mike Stump (mrs@cygnus.com) - * config/m68k/m68k.md (movqi): For special case of moving byte - to stack, push into low byte and then copy to high byte. - For case of moving to/from address reg, exchange it with d0. + * cp-decl.c (build_ptrmemfunc_type): Set CLASSTYPE_GOT_SEMICOLON + just in case. + * cp-decl.c (start_function): Exclude pointer to member functions in + IS_AGGR_TYPE test. + * cp-method.c (dump_type_prefix, dump_type_suffix, dump_type): + Handle pointer to member functions. -Fri Feb 5 19:58:26 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Tue Sep 21 10:47:10 1993 Mike Stump (mrs@cygnus.com) - * stmt.c (expand_expr_stmt): Bypass fetching a volatile value - if it is VOIDmode. + * cp-tree.c (finish_struct): Since we know which base class we want + the binfo for, get it directly, instead of searching for it. Cures + a compiler_error in binfo_value. -Fri Feb 5 18:27:27 1993 Jim Wilson (wilson@geech.gnu.ai.mit.edu) + Thu Sep 16 20:33:25 1993 Mike Stump (mrs@cygnus.com) - From Fred Fish (fnf@fishpond.cygnus.com) - * config.sub (i[34]86sol2): New abbrev for i[34]86-unknown-solaris2. - * configure (i[34]86-*-solaris2): New config for Solaris 2, x86. - * crtstuff.c (__do_global_ctors_aux): Use FORCE_INIT_SECTION_ALIGN - to avoid Solaris 2, x86 linker bug. - * config/i386/{sol2-c1.asm, sol2-ci.asm, sol2-cn.asm}: New runtime - support files for Solaris 2, x86. - * config/i386/{sol2.h, t-sol2}: New config files for Solaris 2, x86. + * cp-cvt.c (convert_pointer_to): Make error more specific and more + readable. - * sparc.h (EXTRA_CONSTAINTS): Delete 'R' support. - (CONST_OK_FOR_LETTER_P): Correct 'K' comment. + Thu Sep 16 20:14:18 1993 Mike Stump (mrs@cygnus.com) - * caller-save.c (CEIL): Delete. - (restore_referenced_regs): New var NUMREGS. Pass NUMREGS to - insert_save_restore instead of using using CEIL. + * cp-lex.c (consume_string): Add second argument so that we can use + this routine for character constants too. Also, handle eof inside + the string or character constant better. Make static, as it isn't + used anyplace else. - * 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. + * cp-lex.c (reinit_parse_for_block): Add second argument to + consume_string. Add support for character constants. - * i960.c (legitimate_address_p): Accept either REG or SUBREG where - a register is valid in an address. + * cp-tree.h (consume_string): Remove declaration, not used any place + else. - * configure (*-*-sco*): Set install_headers_dir to cpio instead of tar. + Wed Sep 15 12:44:13 1993 Per Bothner (bothner@kalessin.cygnus.com) - * cccp.c (finclude): Error if try to include a directory. - (S_ISDIR): Add a default definition. + * cp-gc.c (build_t_desc): Make sure finish_table is called + for the methods and ivars tables. -Fri Feb 5 10:24:35 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + Mon Sep 13 14:40:23 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * toplev.c (lang_options): Remove `-fSOS' and `-fno-SOS'. + * cp-pt.c (unify): Use the referent type if necessary. - Wed Feb 3 16:34:58 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + Fri Sep 10 16:34:37 1993 Mike Stump (mrs@cygnus.com) - * cp-decl.c (init_decl_processing): Add __builtin_args_info. + * cp-typeck.c (build_binary_op_nodefault): Add missing fourth + argument to build_binary_op calls, and eliminate bogus delta2 + check. - Wed Feb 3 12:47:02 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + Fri Sep 10 14:52:59 1993 Mike Stump (mrs@cygnus.com) - * cp-class.c (finish_struct_methods): Avoid creating a circularity - when putting ctors and dtors at the front of the list. + * cp-typeck.c (build_binary_op_nodefault): Make sure delta2's match + when comparing pointers to _virtual_ member functions. - * cp-init.c (build_new): Call c_sizeof_nowarn, not c_sizeof. - (build_delete): Likewise. + Fri Sep 10 14:27:45 1993 Mike Stump (mrs@cygnus.com) - Tue Feb 2 09:57:29 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * cp-typeck.c (convert_for_assignment): Revert a cast. + * cp-typeck.c (build_binary_op_nodefault): Add missing fourth + argument to build_binary_op calls. - * cp-lex.c (yyprint): Make non-static. + Thu Sep 9 21:22:40 1993 Mike Stump (mrs@cygnus.com) - Mon Feb 1 17:09:19 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + Complete re-vamp of pointer to member functions. Implements + complete semantics. Cures problems on CONVEX, i960 and alpha. - * cp-lex.c (real_yylex): Use pedwarn for exceeding the range of a - double. + * cp-tree.h (get_member_function_from_ptrfunc, build_ptrmemfunc): + New routines. + * cp-decl.c (build_ptrmemfunc_type): New routine, builds canonical + pointer to member function types. + * cp-decl.c (grokdeclarator): Use new type for POINTER_TYPE to + METHOD_TYPEs. + * cp-method.c (build_overload_name): Make the old mangling to show + through when mangling the new pointer to member function type. - Sat Jan 30 13:09:35 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * cp-tree.h (TYPE_PTRMEMFUNC_P, TYPE_PTRMEMFUNC_FN_TYPE, + TYPE_GET_PTRMEMFUNC_TYPE, TYPE_SET_PTRMEMFUNC_TYPE): New macros + for pointer to member function code. + * cp-init.c (resolve_offset_ref): Handle pointer to member functions + specially. + * cp-type2.c (store_init_value): Make new pointer to member + functions initializable. + * cp-typeck.c (convert_for_assignment): Make new pointer to member + functions assignable. + * cp-type2.c (build_m_component_ref): Make new pointer to member + functions work. + * cp-typeck.c (build_x_function_call, build_function_call_real, + build_binary_op): Ditto. + * cp-class.c (add_virtual_function): Don't set the high bit on + DECL_VINDEXs. - * cp-method.c (hack_identifier): Also check for VALUE being a - RESULT_DECL before looking for the DECL_REFERENCE_SLOT. + * cp-typeck.c (get_member_function_from_ptrfunc): New routine to + resolve a pointer to member function. + * cp-typeck.c (build_ptrmemfunc): New routine to build CONSTRUCTORs + for new pointer to member functions. Used by to generate + initialization and assignment expressions. + * cp-typeck.c (build_binary_op_nodefault): Implement == and != for + new pointer to member functions. + * cp-typeck.c (unary_complex_lvalue): Handle & in more reasonable + ways to make new pointer to member functions work. - * cp-decl2.c (bad_specifiers): Pass OBJECT into error. + * cp-parse.y (expr_no_commas): Don't dereference the second + argument, this is now done in build_m_component_ref as needed. + * cp-typeck.c (build_x_binary_op): Ditto. - Fri Jan 29 11:46:46 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + Other misc work. - * cp-class.c (alter_visibility): Forbid reducing the visibility of a - public member of the derived class. + * cp-call.c (build_field_call, build_scoped_method_call, + build_method_call): Second arg to build_indirect_ref should be + NULL_PTR, not NULL or 0. + * cp-class.c (build_vbase_path, build_vfn_ref, popclass): Ditto. + * cp-cvt.c (convert_from_reference): Ditto. + * cp-decl2.c (setup_vtbl_ptr, finish_file): Ditto. + * cp-init.c (emit_base_init, build_virtual_init, + expand_aggr_vbase_init_1, expand_recursive_init_1, + get_member_function, resolve_offset_ref, build_new, build_delete, + build_vec_delete): Ditto. + * cp-search.c (dfs_init_vbase_pointers, init_vbase_pointers, + build_vbase_vtables_init): Ditto. + * cp-type2.c (build_x_arrow, build_functional_cast): Ditto. + * cp-typeck.c (build_modify_expr): Ditto. - * 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. + Instead of calling get_identifier with the same value all the time, + call it once, and re-use the cached value. - * 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. + * cp-decl.c (pfn_identifier, index_identifier, delta_identifier, + delta2_identifier): New cached calls to get_identifier. + * cp-tree.h (this_identifier, pfn_identifier, index_identifier, + delta_identifier, delta2_identifier): Allow them to be accessed + everywhere. + * cp-decl.c (init_decl_processing): Initialize pfn_identifier, + index_identifier, delta_identifier and delta2_identifier and + use a cached get_identifier call. + * cp-class.c (delta_name, pfn_name): Removed, use delta_identifier + and pfn_identifier instead. + * cp-class.c (popclass): Use a cached get_identifier call for `this'. - Tue Jan 26 15:39:54 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + Tue Sep 7 16:01:14 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. + * cp-search.c (immediately_derived): New function. + (get_binfo): Use it. + (compute_visibility): Rewrite how private inheritance is handled, so + it actually works. Use the new immediately_derived fn. - Mon Jan 25 15:59:21 1993 Mike Stump (mrs@cygnus.com) + Mon Sep 6 14:44:46 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * cp-call.c (build_method_call): Remove TYPE_NEEDS_WRAPPER cruft. + * cp-decl.c (grokfndecl): Add empty statement after foundaggr label. - Sat Jan 23 12:13:24 1993 Niklas Hallqvist (niklas at della.appli.se) + Sat Sep 4 16:12:27 1993 Jason Merrill (jason@deneb.cygnus.com) - * cp-class.c (finish_struct): See to that static members whose type - is the class they're declared in gets a correct mode. + * cp-decl.c (grokfndecl): Require class or enum argument to + operators. - Mon Jan 25 11:04:23 1993 Niklas Hallqvist (niklas at della.appli.se) + * cp-init.c (build_member_call): Make destructor without object + error more useful, don't complain of missing destructor. - * cp-decl.c (define_label): Don't report crossings of any internal - entity initializations. Don't dereference NULL. + Thu Sep 2 15:51:54 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - Wed May 13 21:44:05 1992 Niklas Hallqvist (niklas@appli.se) + * cp-decl.c (globalize_nested_type): Make sure the type in question + has a lang_specific area before trying to clear DECL_CLASS_CONTEXT. - * cp-decl2.c: Support for NO_DOT_IN_LABEL. - * cp-tree.h: Likewise. - * cp-method.c: Likewise. + Wed Sep 1 13:40:30 1993 Chip Salzenberg (chip@fin) - * cp-except.c: Support for no JOINER setups (i.e. NO_DOT_IN_LABEL) - * cp-lex.c: Likewise. - * cp-search.c: Likewise. + * cp-decl.c (start_function): Call duplicate_decls when user + redefines a builtin function. - Fri Jan 22 08:52:58 1993 Niklas Hallqvist (niklas at della.appli.se) + Thu Sep 2 15:38:43 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * 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. + * cp-pt.c (instantiate_class_template): Only kick back the local + value if we're setting things up for the parser. - Mon Jan 25 11:04:23 1993 Niklas Hallqvist (niklas at della.appli.se) + Wed Sep 1 12:54:38 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-decl.c (xref_tag): Enable test of incomplete basetypes. - * cp-tree.c (layout_basetypes): Disabled it here. + * cp-init.c (emit_base_init): Don't complain if the base has no + constructor; we should try to use the default constructor instead. - Mon Jan 25 11:04:23 1993 Niklas Hallqvist (niklas at della.appli.se) + Wed Sep 1 11:57:00 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-init.c (build_new): Move error check of array size before use. + * cp-call.c (find_scoped_type): Undo the sorry for now, it's hitting + a lot of code that it shouldn't be. - Sun Jan 24 21:41:09 1993 John Carr (jfc@Athena.MIT.EDU) + Mon Aug 30 13:08:48 1993 Mike Stump (mrs@cygnus.com) - * cp-typeck.c (build_binary_op_nodefault): Add support for - FLOOR_MOD_EXPR, merged in from the c front-end. + * cp-typeck.c (build_x_unary_op): unary & on an expression of + RECORD_TYPE that has an incomplete type gives the simple address of + the object, and should not give an error about method not found. -Wed Feb 3 18:23:07 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Mon Aug 30 11:06:26 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * objc-act.c (init_objc): Use xrealloc, not realloc. + * cp-pt.c (instantiate_class_template): Don't try to instantiate a + template that's already being worked on. - * expr.c (emit_library_call, emit_library_call_value): - Handle STACK_BOUNDARY when using push insns. + * cp-init.c (perform_member_init): Make an uninitialized reference + be a pedwarn, not a warning. -Tue Feb 2 16:37:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-class.c (finish_struct): Make declaration of a negative width + for a bit-field be an error, not a warning. - * varasm.c (assemble_zeros): Output nothing rather than empty skip. + Sat Aug 28 09:40:47 1993 Michael Tiemann (tiemann@blues.cygnus.com) - * c-typeck.c (build_conditional_expr): Always convert and check - both result operands even if condition is constant. - (build_c_cast): Bypass default_conversion when casting to void. + * cp-call.c (find_scoped_type): Add a `sorry' call if we hit an + uninstantiated type. - * c-decl.c: Add some braces for clarity. + Thu Aug 26 13:53:23 1993 Jason Merrill (jason@deneb.cygnus.com) - * 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. + * cp-call.c (build_scoped_method_call): Don't produce an error + if the type has no destructor. - * Makefile.in (install-headers-cpio): Delete spurious parens - from around the whole command. - (install-headers-tar): Delete parens around the "source" tar cmd. + * cp-decl.c (record_builtin_type): Don't set TYPE_HAS_DESTRUCTOR + after all. -Tue Feb 2 15:20:52 1993 Chip Salzenberg (chip@tct.com) + Wed Aug 25 19:10:24 1993 Jason Merrill (jason@deneb.cygnus.com) - * c-decl.c (pushdecl): DECL_EXTERNAL implies TREE_PUBLIC, - so don't bother to check for both. + * cp-call.c (build_method_call): Check for class type value as + well - * regclass.c (int_reg_class_contents): Make unsigned to avoid - signed integer overflow. - (init_reg_sets): Avoid signed integer overflow. + * cp-tree.h (IDENTIFIER_CLASS_TYPE_VALUE): Create macro + (IDENTIFIER_HAS_CLASS_TYPE_VALUE): Ditto - * cexp.y (parse_escape): Support \E and \e like cc1: - they mean \033, and they generate a warning if pedantic. + * cp-init.c (is_aggr_typedef): Check for class type value as well + (for template destructors) + (build_delete): Don't assert aggregate type, don't check + TREE_GETS_DELETE if built-in type. -Tue Feb 2 15:17:38 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Fri Sep 24 15:57:14 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) - * t-sol2 (INSTALL_TARGET): Delete. + * rtl.h: (HARD_FRAME_POINTER_REGNUM): New macro. + (hard_frame_pointer_rtx): New variable + * combine.c: (combinable_i3_pat): Don't add REG_DEAD notes for + HARD_FRAME_POINTER_REGNUM. + (subst, case SUBREG): Don't change register number or mode if it + is HARD_FRAME_POINTER_REGNUM. + * cse.c: (FIXED_REGNO_P): HARD_FRAME_POINTER_REGNUM is fixed. + (CHEAP_REG): HARD_FRAME_POINTER_REGNUM is cheap. + (FIXED_BASE_PLUS): Allow hard frame pointer as base. + (NONZERO_BASE_PLUS_P): Likewise. + (cannon_hash, case REG): Add HARD_FRAME_POINTER_REGNUM to list of + special registers for SMALL_REGISTER_CLASSES. + (find_best_addr): Addresses containing HARD_FRAME_POINTER_REGNUM + cannot be replaced. + (cse_main): value in HARD_FRAME_POINTER_REGNUM is preserved across + calls. + * dbxout.c: (dbxout_symbol): FRAME_POINTER_REGNUM has been eliminated + by now, use HARD_FRAME_POINTER_REGNUM. + * emit-rtl.c: (hard_frame_pointer_rtx): New variable. + (gen_rtx): return hard_frame_pointer_rtx if generating rtl + for HARD_FRAME_POINTER_REGNUM. + (enit_emit_once): Generate initial rtl for hard_frame_pointer_rtx. + * explow.c: (copy_all_regs): Don't copy HARD_FRAME_POINTER_REGNUM. + * flow.c: (life_analysis): Mark HARD_FRAME_POINTER_REGNUM as live at + the end of the function. + (insn_dead_p): Don't delete insns that set the hard frame pointer. + (mark_set_1): Don't add death information about + HARD_FRAME_POINTER_REGNUM. + (mark_used_regs, case REG): Don't put HARD_FRAME_POINTER_REGNUM in + regs_ever_live. Don't mark it as needed either. + * function.c: (instantiate_virtual_regs_1, case MEM): references to + MEM via the hard frame pointer shouldn't be copied. + * genattrtab.c: (hard_frame_pointer_rtx): New Dummy definition. + * global.c: (global_alloc): Make sure that it is always possible to + eliminate FRAME_POINTER_REGNUM into HARD_FRAME_POINTER_REGNUM. + * jump.c: (thread_jumps): Value in HARD_FRAME_POINTER_REGNUM is never + modified by a call. + * local-alloc.c: (find_free_reg): Make sure we will always be able + to eliminate FRAME_POINTER_REGNUM into HARD_FRAME_POINTER_REGNUM. + * loop.c: (invariant_p, case REG): hard_frame_pointer_rtx is + invariant. + * reload.c: (immune_p): Constants never overlap hard frame pointer + references. + (find_reloads_address): Compute invalid references to the hard + frame pointer in a register; also (reg + const) + and (reg + reg + const). -Tue Feb 2 14:18:59 1993 Brendan Kehoe (brendan@cygnus.com) + * reload1.c: (init_reload): use HARD_FRAME_POINTER_REGNUM instead of + FRAME_POINTER_REGNUM. + (reload): Only prohibit elimination of HARD_FRAME_POINTER_REGNUM, not + FRAME_POINTER_REGNUM if frame_pointer_needed. Never prohibit + elimination of FRAME_POINTER_REGNUM into HARD_FRAME_POINTER_REGNUM. + Mark HARD_FRAME_POINTER_REGNUM as live at the start of a block if + it is still needed after elimination. + (eliminate_regs): For non-local goto's, don't delete stores into the + hard frame pointer. + (eliminate_regs_in_insn): adjust comment. + (mark_not_eliminable): if frame_pointer_rtx and hard_frame_pointer_rtx + are not the same, then frame_pointer_rtx is eliminable; + hard_frame_pointer_rtx never is if it is set.. + (order_regs_for_reload): HARD_FRAME_POINTER_REGNUM is a bad spill reg. + (choose_reload_regs): HARD_FRAME_POINTER_REGNUM is a bad choice. + * reorg.c: (mark_referenced_resource): if frame_pointer_needed, + HARD_FRAME_POINTER_REGNUM is also a referenced resource. + (mark_target_live_regs): value in HARD_FRAME_POINTER_REGNUM is not + call-clobbered. + (dbr_schedule): HARD_FRAME_POINTER_REGNUM should be valid at the + end of a function. + * rtlanal.c: (rtx_unstable_p): HARD_FRAME_POINTER_REGNUM is not + an unstable register. + (rtx_varies_p, case REG): hard_frame_pointer_rtx is invariant. + (rtx_addr_can_trap_p, case REG): hard_frame_pointer_rtx won't trap. + * sched.c: (memrefs_conflict_p): We can work out whether references + via hard_frame_pointer_rtx are likely to conflict. + (attach_deaths, case REG): Don't add death notes for + HARD_FRAME_POINTER_REGNUM. + * sdbout.c: (sdbout_symbol): Use HARD_FRAME_POINTER_REGNUM instead of + FRAME_POINTER_REGNUM. + * stmt.c: (expand_goto): Set hard_frame_pointer_rtx when restoring + the frame. Use it when restoring other registers. + (expand_end_bindings): ARG_POINTER_REGNUM will be eliminated into + HARD_FRAME_POINTER_REGNUM, not FRAME_POINTER_REGNUM; adjust code + accordingly. + * stupid.c: (stupid_find_reg): never use HARD_FRAME_POINTER_REGNUM. - * Makefile.in (gcc.o): Depend upon config.status, so any changes - in prefix will be communicated to the build process. - (cccp.o): Likewise. +Fri Sep 24 15:05:14 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Feb 2 07:09:36 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * reload1.c (eliminate_regs): Specially handle the case where INSN + is a note (an EXPR_LIST or INSN_LIST). + (eliminate_regs_in_insn): Pass the notes as INSN, + when calling eliminate_insn to process the notes. - * pa.md (cmov): Use @ for output. +Fri Sep 24 11:29:26 1993 Michael Meissner (meissner@osf.org) -Mon Feb 1 01:50:54 1993 Paul Eggert (eggert@twinsun.com) + * i386/osfrose.h (SET_ASM_OP): Define. - * 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. +Fri Sep 24 04:47:33 1993 Jan Brittenson (bson@nutrimat.gnu.ai.mit.edu) - * 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) + * Makefile.in (toplev.o): Add bytecode.h and bc-emit.h to list + of dependencies. + (stmt.o): Add bytecode.h, bc-typecd.h, bc-opcode.h, bc-optab.h, + and bc-emit.h to list of dependencies. + (expr.o): Add bytecode.h, bc-opcode.h, bc-typecd.h, bc-optab.h, + bc-emit.h, and modemap.def to list of dependencies. + (emit-rtl.o): Add bytecode.h, bc-opcode.h, bc-typecd.h, + bc-optab.h, bc-emit.h, bc-opname.h to list of dependencies. + (integrate.o, regclass.o, varasm.o, function.o): Add bytecode.h to + list of dependencies. - * objc-act.c (build_module_descriptor): Fix call to start_function. +Thu Sep 23 23:58:58 1993 James Van Artsdalen (james@bigtex.cactus.org) -Sun Jan 31 13:08:05 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * att.h (ASM_OUTPUT_ASCII): Enclose macro in "do { .. } while (0)". + * sun386.h (ASM_OUTPUT_ASCII): Likewise. - * pa.md (zvdep32): Handle 5 bit immediates for operand 1. - (ashlsi3): Likewise. - (and + ashift): New combine pattern. +Thu Sep 23 11:55:47 1993 Ted Lemon (mellon@ncd.com) -Sun Jan 31 12:40:00 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * toplev.c (lang_options): Add -fallow-single-precision. - * protoize.c: Include gvarargs.h before system headers. +Thu Sep 23 00:40:28 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sat Jan 30 18:51:46 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) + * Makefile.in (bi-parser.c): Supply explicit rule. + Add bi-parser.h as target. + Put these files in srcdir. - * c-typeck.c (build_compound_expr): insert missing return + * bc-emit.c (bc_gen_rtx): Call gen_rtx. + (bc_print_rtl): #if 0 the contents. -Sat Jan 30 16:10:56 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + * Makefile.in (bc-optab.o, bc-emit.o): Add missing deps. + (bi-parser.c, bi-lexer.c): Don't depend on .h files here. - * 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. + * varasm.c (handle_pragma_weak): Test HANDLE_PRAGMA_WEAK + and WEAK_ASM_OP and SET_ASM_OP. - * 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. + * Makefile.in (stmt.o): Fix typo. - * 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. + * emit-rtl.c (gen_label_rtx): If output_bytecode, make a CODE_LABEL + but with different contents. -Sat Jan 30 14:57:44 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rtl.h (BYTECODE_LABEL, BYTECODE_OFFSET, BYTECODE_BC_LABEL): + (BYTECODE_UID): New macros. + (struct rtx_def): Delete elements label, offset, bc_label, uid. - * c-tree.h: Add many prototypes from bill@cygnus.com + * Makefile.in (bc-arity.h, bc-opcode.h, bc-opname.h): Use `./'. + (bi-arity, bi-opcode, bi-opname, bi-lexer): Use host compiler. + Link with HOST_LIBS and depend on HOST_LIBDEPS. + (bi-unparse): Deleted. + (bytecode.distclean): Don't do anything with bi-unparse + (bi-arity.o, bi-opcode.o, bi-opname.o, bi-parser.o, bi-reverse.o) + (bi-lexer.o): Use host compiler. -Sat Jan 30 01:06:52 1993 Niklas Hallqvist (niklas@spiff.gnu.ai.mit.edu) + * expr.c (expand_increment): Don't store directly ito a subreg + that is narrower than a word. - * 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. +Wed Sep 22 22:18:35 1993 Chip Salzenberg (chip@fin.uucp) -Fri Jan 29 18:16:47 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * combine.c (init_reg_last_arrays): New function. + (combine_instructions): Use it. + (force_to_mode): Narrow mask to fit mode (except VOIDmode). + (record_value_for_reg): When zeroing reg_last_set_value, also + zero reg_last_set_{mode,nonzero_bits,sign_bit_copies}. + (record_dead_and_set_regs): Likewise. - * config/m68k/m68k.md (iorsi3): Add CC_STATUS_INIT if use bset. +Wed Sep 22 22:13:07 1993 James Van Artsdalen (james@bigtex.cactus.org) - * 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. + * bc-emit.c (bc_initialize): Add MODE arg to REAL_VALUE_ATOF calls. - * config/i386/t-linux (FIXINCLUDES): New file. - * configure (i[34]86-*-linux*): Use t-linux. + * Makefile.in (bi-lexer.c): File is in $(srcdir). -Fri Jan 29 12:08:04 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + * reg-stack.c (record_label_references): Don't follow a null label + reference chain. - * 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. +Wed Sep 22 15:56:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * pa.h (FIXED_REGISTERS): %r31 is not fixed. + * Makefile.in (bi-arity, bi-opcode, bi-opname, bi-unparse, bi-lexer): + Make the rules explicit. Don't use $^. + (bi-run.o, bi-parser.o, bi-lexer.o): Eliminate $<. + (bc-arity.h, bc-opcode.h, bc-opname.h): Eliminate $< and $@. -Thu Jan 28 23:49:25 1993 James Van Artsdalen (james at bigtex.cactus.org) + * c-typeck.c (set_init_index): Handle and allow CONST_DECL. + (build_c_cast): When making a CONSTRUCTOR for a union cast, + specify its type. - * reg-stack.c (compare_for_stack_reg): Properly swap operands of a - COMPARE. + * Makefile.in (bi-lexer.o, bi-parser.o): Use ALL_CFLAGS. -Thu Jan 28 13:47:53 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + * bi-arity.c (main): Make sure there's some value within + each pair of braces. - * 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. + * expr.c (bc_adjust_stack): Use VALIDATE_STACK_FOR_BC, + not VALIDATE_STACK. + * bc-emit.c (bc_emit_bytecode): Likewise. + (bc_emit_instruction) [! __GNUC__]: Don't really use bc-typecd.def. - * pa.h (LEGITIMIZE_ADDRESS): Delete cases which can never happen. + * varasm.c (bc_assemble_integer): Make definition static. - * 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 + * expr.c (bc_strdup): Don't use strcpy's value. -Thu Jan 28 07:51:47 1993 Ian Lance Taylor (ian@cygnus.com) + * bytetypes.h: New file. Typedefs moved from bytecode.h. + (union stacktype): Moved here. + * bytecode.h: Typedefs deleted. + * bi-run.h: (union stacktype): Deleted. + (BI_PARAMS): Don't continue the parmlist. + * bc-emit.c: Include bytetypes.h, if __GNUC__. - * 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 Sep 22 15:49:47 1993 Ted Lemon (mellon@ncd.com) - * 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 (flag_allow_single_precision): New variable. + (c_decode_option): Handle -fallow-single-precision. + * c-tree.h (flag_allow_single_precision): Declared. + * c-typeck.c (default_conversion): Implement -fallow-single-precision. -Thu Jan 28 07:30:25 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Wed Sep 22 11:18:24 1993 Mike Stump (mrs@cygnus.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. - -Thu Jan 28 06:56:04 1993 Pat Rankin (rankin@eql.caltech.edu) - - * vmsconfig.com: change instances of [.config] to [.config.vax]. - * make-cc1.com, make-cccp.com, make-l2.com: change /include and -I - values from [.config] to [.config.] (this trailing period works with - GNU C's preprocessor but not with VAX C's). - -Thu Jan 28 06:48:57 1993 Michael Collison (collison@osf.org) - - * optabs.c (init_fixtab, init_optabs): Fix typos in QFmode and HFmode - initialization. + * cp-class.c (finish_struct): Move special C++ only code that + handles anonymous unions inside structures here. + * stor-layout.c (layout_record): From here. -Wed Jan 27 13:11:26 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Sep 22 14:14:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Makefile.in (includedir): Use local_prefix. + * enquire.c (FPROP): Recognize 80387 or 68881 XFmode format. -Wed Jan 27 12:08:05 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + * c-typeck.c (build_component_ref): For a field in an anonymous union, + make two nested COMPONENT_REFs. + (lookup_field): Additional arg INDIRECT. - * 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. +Wed Sep 22 14:45:42 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - * pa-ghpux.h (HAVE_ATEXIT): Delete. This is defined in pa.h - * pa-gux7.h (HAVE_ATEXIT): Likewise. - * pa-hpux.h (HAVE_ATEXIT): Likewise. - * pa-hpux7.h (HAVE_ATEXIT): Likewise. + * tm.texi (CLEAR_INSN_CACHE): New macro. + * libgcc2.c (__clear_cache): add case for new CLEAR_INSN_CACHE. -Wed Jan 27 06:46:50 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * libgcc2.c (__enable_execute_stack): Add case for NeXT/__MACH__. + * config/m68k/next.h (INITIALIZE_TRAMPOLINE): Append call to + __enable_execute_stack. + (CLEAR_INSN_CACHE): New macro. - * 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. + * varasm.c (output_constructor): Use the type given + by the constructor expression only if available. Otherwise + use the type of the declared type. - * 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. +Tue Sep 21 19:51:26 1993 Andrew McCallum (mccallum@vein.cs.rochester.edu) - * 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. + * objc/Object.[hm] (-compare:, -shouldNotImplement:): Added. - * 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. + * objc/archive.c (objc_write_type, objc_write_types): Take + take char** args for writing strings in stead of char* to + match NeXT. Also correct some typos in error messages. - * collect2.c: Delete ISCOFF macro which was in #ifdef _AIX. - * rs6000.h, a29k/unix.h (MY_ISCOFF): New macro. +Tue Sep 21 18:35:04 1993 Per Bothner (bothner@kalessin.cygnus.com) -Tue Jan 26 19:31:31 1993 Tom Wood (Tom_Wood@NeXT.com) + * c-typeck.c (push_member_name): Take a decl instead of a string. + Allow DECL_NAME to be NULL (anonymous fields). + * c-typeck.c (push_init_level, process_init_element): Change + callers appropriately. - * combine.c (combine_instructions): Initialize undobuf in the - event `gen_rtx_combine' is called before `try_combine'. +Tue Sep 21 16:44:17 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Jan 26 18:20:04 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * libgcc2.c (L_bb): Test inhibit_libc. - * i960.md (umulsidi3+1): Add variant which accepts constants. + * Makefile.in (ENQUIRE, CROSS_TEST): New variables. + (all.cross): Use them. - * 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. + * mips-tfile.c, mips-tdump.c [CROSS_COMPILE]: Include mips/a.out.h. -Tue Jan 26 13:46:04 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * arm.h, clipper.h, i386.h, i860.h, pyr.h, spur.h: + (INIT_CUMULATIVE_ARGS): Pass just the return value type + to aggregate_value_p. - * xm-alpha.h (ONLY_INT_FIELDS): Define if not __GNUC__. +Tue Sep 21 10:50:19 1993 Jan Brittenson (bson@nutrimat.gnu.ai.mit.edu) - * collect2.c (write_list_with_asm): Use `__asm__' instead of - `asm', to avoid problems with `-fno-asm'. + * emit-rtl.c (gen_label_rtx, emit_line_note): add conditional for + bytecode. - * 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. + * expr.c (mode_to_const_map, mode_to_load_map, mode_to_store_map): + new variable. + (bc_init_mode_to_opcode_maps): new function; initialize maps. + (expand_assignment, expand_expr, expand_increment): add + conditional for bytecode. + (bc_expand_expr, bc_load_memory, bc_store_memory, + bc_allocate_local, bc_allocate_variable_array, bc_load_externaddr, + bc_strdup, bc_load_externaddr_id, bc_load_localaddr, + bc_load_parmaddr, bc_canonicalize_array_ref, + bc_expand_component_address, bc_push_offset_and_size, + bc_expand_address, bc_runtime_type_code, bc_gen_constr_label, + bc_expand_constructor, bc_store_field, bc_store_bit_field, + bc_load_bit_field, bc_adjust_stack): new function. -Tue Jan 26 07:14:29 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * function.c (put_var_into_stack, expand_main_function): do + nothing for bytecode. + (bc_build_calldesc): new function. + (init_function_start): use it if outputting bytecode. + (expand_function_start, expand_function_end): add conditional for + bytecode. + (bc_expand_function_start, bc_expand_function_end): new function. - * cse.c (simplify_binary_operation, case SMAX): Correctly - compute largest possible signed integer. + * integrate.c (output_inline_function): signal error for bytecode. - * Makefile.in: (rest.cross, gfloat.h, stmp-headers, mostlyclean): - Build and install gfloat.h instead of float.h. + * regclass.c (fix_register): signal error for bytecode. - * a29k/x-unix (CLIB): Add -lld. + * stmt.c (struct nesting): new members bc_stack_level, skip_label). + (struct goto_fixup): new members bc_target, label, bc_handled, + bc_stack_level. + (emit_nop, expand_computed_goto, expand_label, expand_goto, + expand_goto_internal, fixup_gotos, expand_asm, + expand_asm_operands, expand_expr_stmt, expand_start_expr_stmt, + expand_end_expr_stmt, expand_start_cond, expand_start_else, + expand_end_cond, expand_start_loop, expand_loop_continue_here, + expand_end_loop, expand_exit_loop_if_false, expand_null_return, + expand_return, expand_start_bindings, expand_end_bindings, + expand_decl, expand_start_case, pushcase, + check_for_full_enumeration, expand_end_case): add conditional for + bytecode. + (bc_expand_goto_internal, bc_expand_fixup, bc_fixup_gotos, + bc_expand_start_cond, bc_expand_end_cond, bc_expand_start_else, + bc_expand_end_bindings, bc_expand_decl, + bc_expand_variable_local_init, bc_expand_decl_init, + bc_expand_start_case, bc_pushcase, + bc_check_for_full_enumeration_handling, bc_expand_end_case, + bc_new_uid): new function. - * integrate.c (copy_rtx_and_substitute, case REG): Call - gen_lowpart instead of making an explicit SUBREG. + * toplev.c (output_bytecode): new variable. + (f_options): add entry for -fbytecode. + (fatal_insn_not_found, compile_file, rest_of_decl_compilation, + rest_of_compilation, main): add conditional for bytecode. - * stmt.c (expand_value_return): Call convert_move instead of the - erroneous convert_to_mode. + * config/m68k/m68k.c config/m68k/m68k.h: add bytecode specific + definitions. -Tue Jan 26 00:58:53 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * varasm.c (text_section, data_section, make_function_rtl, + make_decl_rtl, assemble_asm, assemble_start_function, + assemble_zeros, assemble_string, assemble_variable, + assemble_external, assemble_external_libcall, assemble_label, + assemble_name, assemble_static_space, + assemble_trampoline_template, assemble_integer, assemble_real, + decode_addr_const, output_constant_def, output_constant_pool, + output_constant, output_constructor): add conditional for + bytecode. + (bc_output_constructor, output_byte_asm, bc_make_rtl, + bc_output_data_constructor, bc_assemble_integer): + new function. + (handle_pragma_weak): break out asm writing code from + handle_pragma_token, move to varasm.c, so bytecode-specific + macros can access static varasm data and functions. - * collect2.c (find_a_file): First `access' test was backwards. - (main): Set full_real_ld_suffix right. + * c-pragma.c (handle_pragma_token): use handle_pragma_weak. - * c-decl.c (init_decl_processing): Use 10 as size - of ..._array_type_node. + * function.h (enum pragma_state): moved from c-pragma.c - * 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. + * bc-config.h, bc-emit.c, bc-optab.c, bc-optab.h, bc-trans.h, + bc-typecd.def, modemap.def, bytecode.def, bc-emit.h, bc-typecd.h, + bi-arity.c, bi-defs.h, bi-lexer.c, bi-opcode.c, bi-opname.c, + bi-parser.c, bi-parser.h, bi-reverse.c, bi-run.c, bi-run.h, + bi-unparse.c: new file. bc-* are exclusively compiler files, bi-* + are interpreter files. -Mon Jan 25 19:31:32 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) + * Makefile.in: add rules and/or dependencies for bc-emit.o, + bc-optab.o, bytecode, bi-arity, bi-opcode, bi-opname, bi-lexer, + bi-run.o, bi-parser.c, bi-parser.o, bi-lexer.o bi-arity.o, + bi-opcode.o, bi-opname.o, bi-reverse.o, bc-arity.h, bc-opcode.h, + bc-opname.h, bytecode.mostlyclean, bytecode.distclean, + bytecode.realclean - * print-rtl.c (debug_rtx_list, debug_rtx_find): New functions. - * .gdbinit (prl): New command. -Mon Jan 25 14:49:45 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Tue Sep 21 10:20:55 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * sparc.c (init_arg_profiler, output_arc_profiler): Delete unused - functions. - * sparc.h (ARC_PROFILER): Delete unused macro. - - * 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. - - * sparc.h (PRINT_OPERAND_PUNCT_VALID_P): Delete '@' case. - * sparc.c (print_operand): Likewise. - (output_fp_move_double): Delete FP_REG to GENERAL_REG and vice - versa copy support. - (output_fp_move_quad): Likewise. - * sparc.md (movsi, movtf, movdf, movdi, movsf): Delete f/r and r/f - constraint pairs. - - * i960.c (secondary_reload_class): Correct test against - FIRST_PSEUDO_REGISTER. - - * sparc.c (registers_ok_for_ldd_peep): Delete test for pseudos. - - * optabs.c (emit_indirect_jump): Use Pmode instead of VOIDmode and - insn_operand_mode. + * jump.c (jump_optimize): Try putting RETURN at end of function + both at start and at end of our optimization. - * 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. +Mon Sep 20 17:22:13 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-decl.c (language_string): Delete from here. - * c-parse.in (language_string): Define here for C and Obj-C. + * expr.c (expand_expr): Handle flag_volatile here. + * c-typeck.c (build_indirect_ref): TREE_THIS_VOLATILE no longer + depends on flag_volatile. -Mon Jan 25 13:54:16 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) +Mon Sep 20 15:21:31 1993 Doug Evans (dje@cygnus.com) - * c-decl.c (finish_struct): Disable "structure/union defined - inside parms" if compiling with -traditional. + * gstddef.h: Back out change of Sep 15 (handles Sun lossage). + Prevented bootstrapping. -Mon Jan 25 05:24:12 1993 Niklas Hallqvist (niklas at della.appli.se) +Mon Sep 20 12:21:56 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - * i386.md (extendsidi2): Fix typo in regno. + * objc/archive.c (objc_read_string): Allocate n+1 chars instead of + just n. -Mon Jan 25 00:07:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sun Sep 19 13:06:37 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-decl.c (lookup_label): Return 0 if not within a function. + * function.c (combine_temp_slots): Handle deletion properly. + Free the RTL that is allocated. + * rtl.c (rtx_free): New function. - * c-parse.in (unary_expr => ANDAND identifier): - Handle lookup_label returning 0. + * config/m68k/m68k.c (output_move_double): Handle register overlap + case that occur in soft-float XFmode. Code basically copied from + i386.c. - * Makefile.in (install-float-h-cross): - Don't ignore error when running enquire. +Sun Sep 19 14:40:08 JDT 1993 Michael Ben-Gershon (mybg@cs.huji.ac.il) -Sun Jan 24 22:41:00 1993 Michael Meissner (meissner@osf.org) + * cse.c (simplify_unary_operation): If REAL_ARITHMETIC is defined, + and a FIX operation is applied to convert a CONST_DOUBLE to an INT, + the CONST_DOUBLE must first be rounded to zero. - * 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. +Sun Sep 19 12:49:05 1993 James Van Artsdalen (james@bigtex.cactus.org) -Sun Jan 24 18:40:44 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Makefile.in (objc-headers): Depend on stmp-fixinc to build the + include/ subdirectory first. - * 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. +Sun Sep 19 09:45:16 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) -Sun Jan 24 07:19:03 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * gstddef.h (size_t): Acorn RISCiX requires __size_t defined. - * final.c (final_scan_insn): Call alter_subreg on duplicate - operands (in case we need to split the insn). +Sun Sep 19 09:08:09 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * local-alloc.c (CLASS_LIKELY_SPILLED_P): Add default definition. - (alloc_qty_for_scratch, local_alloc): Use CLASS_LIKELY_SPILLED_P. + * genrecog.c (preds): Correct typo in name of `comparison_operator'. + (add_to_sequence): If PREDICATE_CODES specified, warn if we find a + predicate not in that list. -Sat Jan 23 19:41:21 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * reload.c (find_reloads): Reject an alternative if two operands + match the same output and we have to do a reload. - * combine.c (apply_distributive_law): Don't mess with float arith. + * rs6000.c (rs6000_override_options): Change processor type to + "rios1"; allow "rios" as synonym. + Add synonyms for "mpc6xx". + * rs6000.h (enum processor_type): Change from RIOS to RIOS1. + (PROCESSOR_DEFAULT): Likewise. + * rs6000.md (attribute "cpu"): Change from "rios" to "rios1"; all + uses changed. - * c-parse.in: Use new name objc-act.h. + * xm-alpha.h: Add extern declaration for alloca. -Sat Jan 21 13:12:49 1993 Serge Adda (adda@soft01) + * a29k.h (PREDICATE_CODES): Fix typos and add missing entries. + * alpha.h, i860.h i960.h, m88k.h, mips.h, rs6000.h: Likewise. - * expmed.c (emit_store_flag): Reset ICODE using returned COMPARISON. +Sat Sep 18 09:27:03 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sat Jan 23 18:27:35 1993 Niklas Hallqvist (niklas@spiff.gnu.ai.mit.edu) + * expr.c (convert_move): Use emit_library_call_value. - * 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. +Sat Sep 18 08:01:44 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sat Jan 23 16:28:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * alpha.h (REG_ALLOC_ORDER): Add missing entries. - * cccp.c (change_newlines): Renamed from delete_newlines. - Insert a space in place of a newline. Caller changed. + * combine.c (recog_for_combine): Fix typos in previous change. - * config/m68k/hp320.h (ASM_OUTPUT_DOUBLE_OPERAND): Delete space - before arglist. + * reload.c (earlyclobber_operand_p): New function. + (combine_reloads): Use it. + (find_reloads): Set reload_earlyclobbers earlier. + (refers_to_regno_for_reload_p): Count something being stored into + if it is an earlyclobber operand. -Sat Jan 23 09:20:41 1993 Niklas Hallqvist (niklas at della.appli.se) +Fri Sep 17 21:40:02 1993 Per Bothner (bothner@cygnus.com) - * Makefile.in (cross-test): Depend on GCC_PARTS. + * fold-const.c (invert_truthvalue): Instead of aborting, + build a TRUTH_NOT_EXPR when unable to optimize. + (The aborts were not a problem for C, which always first + calls truthvalue_conversion, but that should not be + necessary for a language with real Booleans.) -Sat Jan 23 07:15:10 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Fri Sep 17 20:38:53 1993 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-typeck.c (output_init_element): Update constructor_bit_index + for union types. - * rs6000.h (ADJUST_COST): Add new definition. + * libgcc2.c: Declare __fixunsxfdi only if really have XFmode. + Likewise for __fixunstfdi. -Fri Jan 22 18:55:00 1993 Niklas Hallqvist (niklas at della.appli.se) +Fri Sep 17 18:08:37 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * fixinc.svr4: Use pwd if PWDCMD is undefined. Add missing echo - command. + * combine.c (recog_for_combine): Always reject a PARALLEL containing + our special CLOBBER. -Fri Jan 22 18:08:47 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * cse.c (fold_rtx, case MINUS): Copy result obtained from + hash table. - Cygnus<-->FSF merge. + * cse.c (fold_rtx, case SUBREG): If paradoxical SUBREG of a + constant, return the constant. - Thu Jan 21 15:26:59 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * c-typeck.c (lookup_field): Use HOST_WIDE_INT instead of long or + int when we want integer wide enough to hold a pointer difference. - * Makefile.in (convert.o): Add dependencies. +Fri Sep 17 16:03:22 1993 Per Bothner (bothner@cygnus.com) - * cp-gc.c (NULL): Undef before defining. - * cp-init.c (NULL): Likewise. - * cp-expr.c (NULL): Likewise. + * dbxout.c (dbxout_type): For CHAR_TYPE and BOOLEAN_TYPE (in + languages that have them - not C), adopt an AIX convention + to distinguish these from other types. - * cp-decl.c (grokdeclarator): Relegate error about operator= to a - warning for now, an error later. +Fri Sep 17 09:02:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Tue Jan 19 16:40:19 1993 Mike Stump (mrs@cygnus.com) + * expr.h (emit_library_call_value): Fix declaration. - * cp-type2.c (my_friendly_assert): Don't set errorcount or - sorrycount to zero, as we no longer say "please fix above errors". +Thu Sep 16 12:05:44 1993 Ian Lance Taylor (ian@cygnus.com) - Mon Jan 18 19:44:53 1993 Mike Stump (mrs@cygnus.com) + * Makefile.in (fixinc.ready): New target, like libgcc2.ready, + depending on xgcc and cpp. + (stmp-fixinc): Depend on fixinc.ready instead of xgcc and cpp. + (clean): Remove fixinc.ready. - * 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. +Thu Sep 16 10:22:17 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Mon Jan 18 16:23:11 1993 Mike Stump (mrs@cygnus.com) + * reload.c (find_reloads): For PLUS operand, call find_reloads_toplev. - * cp-typeck.c (build_unary_op): Improve error message for - {pre,post}-{increment,decrement}. + * optabs.c (expand_complex_abs): Fix typo in prev change. - Mon Jan 18 13:58:14 1993 Mike Stump (mrs@cygnus.com) +Thu Sep 16 02:06:11 1993 Jim Wilson (wilson@cygnus.com) - * cp-typeck.c (build_binary_op): Improve error message. + * flags.h (current_function_has_nonlocal_goto): Declare. + * function.h (struct function): New field has_nonlocal_goto. + * function.c (current_function_has_nonlocal_goto): New var. + (push_function_context): Save it. + (pop_function_context): Restore it. + (init_function_start): Init it. + * integrate.c (function_cannot_inline_p): Don't inline if it's set. + * stmt.c (expand_goto): Set it. - Fri Jan 15 17:53:33 1993 Mike Stump (mrs@cygnus.com) + * reorg.c (mark_set_resources): For CALL_INSN, if followed by a + NOTE_INSN_SETJMP note, then assume that all registers are clobbered. + Handle case where CALL_INSN is in a sequence. - Fri Jan 15 00:35:22 1993 Niklas Hallqvist (niklas at della.appli.se) +Wed Sep 15 17:38:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * gstddef.h: Delete the conditional that used to semi-avoid + interference with sys/stdtypes.h on Sun. (fixincludes makes + it ok.) - Fri Jan 15 17:32:56 1993 Mike Stump (mrs@cygnus.com) +Wed Sep 15 16:17:09 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - Fri Jan 15 00:35:22 1993 Niklas Hallqvist (niklas at della.appli.se) + * pa.h (ASM_FILE_START): Fix access information for $LIT$ + subspace. - * cp-decl.c (grokvardecl): Implement the "one definition rule". +Wed Sep 15 14:53:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Fri Jan 15 17:17:05 1993 Mike Stump (mrs@cygnus.com) + * config/ns32k/ns32k.md: Add peepholes for stack adjust plus pushes. - * cp-search.c (get_base_distance): Compute results from calls to - recursive_bounded_basetype_p into a temp variable, as otherwise we - can clobber rval with a zero. +Wed Sep 15 13:38:24 1993 Doug Evans (dje@canuck.cygnus.com) - Fri Jan 15 17:10:59 1993 Mike Stump (mrs@cygnus.com) + * c-typeck.c (lookup_field): New function (for chill). + (build_component_ref): Call it. - Thu Jan 14 16:02:27 1993 Niklas Hallqvist (niklas at della.appli.se) +Wed Sep 15 08:12:32 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-decl.c (start_function): Don't try to match static member - functions with "C"-linkage declared global functions. + * libgcc2.c: Declare __fixunsxfdi and __fixunstfdi. - Thu Jan 14 17:58:15 1993 Mike Stump (mrs@cygnus.com) + * integrate.c (copy_for_inline, copy_rtx_and_substitute): + Always preserve the volatil flag when copying ASM_OPERANDS. - * 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. +Tue Sep 14 21:56:20 1993 Jim Wilson (wilson@cygnus.com) - Thu Jan 14 17:15:40 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * c-typeck.c (valid_compound_expr_initializer): New function. + (digest_init): Handle compound expressions as initializers when + pedantic. - * cp-decl.c (grokdeclarator): Don't warn on an initialized var - that's extern if it's a const. + * varasm.c (immed_double_const, immed_real_const_1): Don't touch + const_double_chain if not inside a function. - Thu Jan 14 17:03:40 1993 Michael Tiemann (tiemann@rtl.cygnus.com) +Tue Sep 14 16:22:03 1993 Per Bothner (bothner@wombat.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. + * c-typeck.c (digest_init): Compare types using comptypes + instead of comparing pointers. (Helps Chill front end.) - Thu Jan 14 02:09:17 1993 Mike Stump (mrs@cygnus.com) +Tue Sep 14 12:16:52 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-decl2.c (grokfield): Arrange for the type to be set on class - typedefs, cures one type of internal compiler error 62. Now calls - set_identifier_type_value just before pushdecl_class_level. + * calls.c (emit_library_call_value): Finish making it work. + * optabs.c (expand_float): Use emit_library_call_value. + (expand_unop, expand_binop): Likewise. + (expand_complex_abs): Likewise. + Also pass SUBMODE as output mode to emit_library_call_value. + * function.c (aggregate_value_p): Allow type node as argument. - Wed Jan 13 22:43:58 1993 Mike Stump (mrs@cygnus.com) + * config/ns32k/ns32k.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): + If omitting frame pointer, output an adjspd if necessary. + Use movd to save registers if four or less need saving. + Set DEPTH properly. - * cp-search.c (get_base_distance): Allow checking of UNION_TYPEs, - as some of the init code calls us. + * reload.c (find_dummy_reload): New args inmode, outmode. + (find_reloads): Pass new args. + (push_reload): Likewise. - Wed Jan 13 21:12:22 1993 Mike Stump (mrs@cygnus.com) +Mon Sep 13 12:52:03 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Mon Jan 11 20:11:17 1993 Niklas Hallqvist (niklas at della.appli.se) + * c-typeck.c (set_init_index): Don't allow variable indices. - * cp-parse.y (implicitly_scoped_stmt, simple_stmt): New rules to - handle the changed semantics of selection & iteration statements - in ANSI C++ (check out 6.4-5 in the draft as opposed to the ARM). - (simple_if, stmt, compstmt): Changed to use the new rules. - (stmt_decl_msg): Removed this static (together with all its uses) - because it's now unnecessary. - (cond_stmt_keyword): New static string to use in the error message - of paren_expr_or_null. - (paren_expr_or_null): Use cond_stmt_keyword instead of stmt_decl_msg. + * c-decl.c (complete_array_type): Handle TREE_PURPOSE + of array constructor elements. - Tue Jan 12 18:53:44 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * expr.c (store_constructor): Handle TREE_PURPOSE of array constructor. + (expand_expr, ARRAY_REF case): Likewise. - * 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. + * varasm.c (output_constructor): Handle index value in + the TREE_PURPOSE, for array constructors. - * 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. + * c-typeck.c (output_init_element): When putting an elt into a + CONSTRUCTOR, always set the TREE_PURPOSE (even for arrays). + Copy the node if it's an INTEGER_CST. + (output_pending_init_elements): If have gap and not incremental, + advance constructor_unfilled_fields or constructor_unfilled_index. - * cp-call.c (convert_harshness): Avoid dereferencing a null PARM, - which can be passed in by convert_harshness itself. +Sun Sep 12 23:00:25 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) - Mon Jan 11 12:25:51 1993 Brendan Kehoe (brendan@cygnus.com) + * expr.c (expand_expr, case ARRAY_REF): Coerce lower bound (if + non-zero) to sizetype before subtraction. - * 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. +Sun Sep 12 16:18:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-xref.c (fctname): Delete extern decl of `declname'. + * c-typeck.c (push_init_level): Pop any implicit levels + that have been filled up. + Don't die if constructor_type is 0. + (process_init_element): If VALUE is 0 for union type, + update constructor_bit_index. - * 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 Sep 12 10:59:08 1993 Bill Cox (bill@cygnus.com) - * cp-class.c (build_vbase_path): flag_assume_nonnull_objects is an - int, not a tree. + * c-typeck.c (digest_init): Remove obsolete comments on args + TAIL, OF_WHAT. - * 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. +Sun Sep 12 08:45:36 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * loop.c (basic_induction_var): New arg MODE. + Use it to call convert_modes. + (strength_reduce): Supply the new arg to basic_induction_var. - Fri Jan 8 19:43:52 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * expmed.c (expand_shift): Use convert_modes. + (emit_store_flag): Likewise. - * 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. +Sat Sep 11 16:44:15 1993 Doug Evans (dje@canuck.cygnus.com) -Fri Jan 22 15:09:42 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * collect2.c (main): Provide upward compatibility with old version + of collect (avoids infinite mutual recursion between the two). - * pyr.h (SIZE_TYPE): Define. - (NO_DOLLAR_IN_LABEL): Define. +Sat Sep 11 13:05:07 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) -Fri Jan 22 12:19:47 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + * c-typeck.c (constructor_no_implicit): New variable. + If set, dis-allows eliding of braces in initializers. + (Set by Chill front-end.) + * c-typeck.c (process_init_element): Use it. - * pa.c (secondary_reload_class): Simplify. +Sat Sep 11 15:55:25 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Jan 22 07:57:57 1993 Richard Kenner (kenner@vlsi1.ultra.nyu) + * stor-layout.c (layout_record): Turn off PCC_BITFIELD_TYPE_MATTERS + rounding of field bitpos, if maximum_field_alignment is nonzero. - * collect2.c (our_file_name): New variable. - (find_a_file): Ignore filename equal to that in our_file_name. - (main): Initialize our_file_name. +Fri Sep 10 08:52:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * expr.c (emit_library_call): Correct mis-applied patch. + * c-typeck.c (check_init_type_bitfields): Check for mismatch + between field's mode and its type's mode. -Thu Jan 21 11:36:04 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + * expr.c (protect_from_queue): Don't alter an existing MEM. + (convert_modes): Use X's mode (not OLDMODE) unless it is VOIDmode. - * 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. +Fri Sep 10 01:01:32 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Tue Jan 19 20:08:01 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * config.sub: Recognize operating system `netbsd*'. - 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. +Thu Sep 9 18:09:14 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) - * reorg.c (update_reg_dead_notes): New function. - (fill_simple_delay_slots): Call new function when moving - instruction forward into a delay slot. + * c-typeck.c (really_start_incremental_init, push_init_level): + Add support for arrays with non-zero lower bounds. (Used by Chill.) - * sched.c (sched_analyze_1, sched_analyze_2): Ifdef out code added - for handling psuedo register equivalents that was added Dec 31 1992. +Thu Sep 9 19:20:59 1993 Jim Wilson (wilson@cygnus.com) - From Steve Chamberlain (sac@cygnus.com): - * libgcc1.c (__eqdf2, __nedf2, __gtdf2, __gedf2, __ltdf2, __ledf2, - __eqsf2, __nesf2, __gtsf2, __gesf2, __ltsf2, __lesf2): comparison - result type is now word_mode. - * libgcc2.c (cmpdi2, ucmpdi2): comparison result type is now - word_mode. - * optabs.c (emit_cmp_insn, emit_float_lib_cmp): libcall comparisons - return word_mode. + * tree.c (make_node): Put PARM_DECLs of nested functions onto + parent's saveable obstack. -Tue Jan 19 15:28:59 1993 James Van Artsdalen (james at bigtex.cactus.org) +Thu Sep 9 14:17:00 1993 Ian Lance Taylor (ian@cygnus.com) - * function.c (fixup_var_refs_1): Set INSN_CODE to -1 before seeing - if new insn form is recognized. + * Makefile.in (CROSS_LIBGCC1): New variable. Rule to use when + building libgcc1.a for a cross compiler. Defaults to + libgcc1.cross. + * cross-make (LIBGCC1): Default to $(CROSS_LIBGCC1) rather than + libgcc1.cross. + * config/i386/t-next, config/i386/t-sol2, config/m88k/t-dgux, + config/m88k/t-luna, config/m88k/t-dgux-gas, + config/m88k/t-luna-gas, config/m88k/t-m88k, + config/m88k/t-m88k-gas, config/m88k/t-sysv4, + config/m68k/t-next, config/mips/t-bsd, config/mips/t-bsd-gas, + config/mips/t-mips, config/mips/t-mips-gas, + config/mips/t-osfrose, config/mips/t-svr3, + config/mips/t-svr3-gas, config/mips/t-svr4, + config/mips/t-svr4-gas, config/mips/t-ultrix, config/pa/t-pa, + config/sparc/t-sol2, config/h8300/t-h8300, config/sh/t-sh, + config/t-libc-ok (CROSS_LIBGCC1): Defined to be libgcc1.null. - * reg-stack.c (all functions): Use NULL_RTX instead of 0 for rtx - comparisons. +Thu Sep 9 09:48:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - (emit_pop_insn): Emit insn with mode QImode: insn contains - stack-regs. + * expr.c (expand_expr): Set ignore for COND_EXPR with VOID_TYPE. - (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. + * expr.c (convert_modes): New function. + (convert_to_mode): Use that. + * expr.h (convert_modes): Declared. + * optabs.c (expand_twoval_binop): Use convert_modes. + (expand_complex_abs): Likewise. + (emit_cmp_insn): Likewise. + (expand_inline_function): Likewise. + * expmed.c (expand_divmod): Likewise. + (emit_store_flag): Likewise. + * loop.c (basic_induction_var): Likewise. + * integrate.c (expand_inline_function): Likewise. - (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. + * optabs.c (widen_operand): New arg OLDMODE. + (expand_binop, expand_unop): Fix calls to widen_operand. - * 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. +Wed Sep 8 18:25:50 1993 Doug Evans (dje@cygnus.com) - * 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. + * sparc.c, sparc.h, sparc.md: Cosmetic changes only. Just + reordered code a little. - (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. +Wed Sep 8 14:49:59 1993 Jim Wilson (wilson@cygnus.com) -Tue Jan 19 15:51:16 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * dbxout.c (dbxout_parms): For parameters in registers, if use + DECL_RTL, then must use TREE_TYPE instead of DECL_ARG_TYPE. - * pa.md (define_function_unit for memory): Memory is pipelined. + * mips.md (fix_truncdfsi2, fixtruncsfsi2): Mark SImode scratch + register as early clobbered when dest is in memory. - * 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. + * fixincludes (sbusdev/audiovar.h): Fix wrongly edited // comments + nested within /* */ comments. - * pa.md (many patterns): Use canonical address format. Use %r - register notation. Use GEN_INT. + * gcc.c (process_command): Don't warn for -x after last input file + if spec_lang is zero. - * pa.md (main move SF recognizer): Allow 0 for copying to - general register. + * fixinc.mips (bsd43/bsd43.h): Change /**/ to ##. - * pa.md (zero_extendhisi2): Remove DEFINE_EXPAND. - (zero_extendqihi2): Likewise. - (zero_extendqisi2): Likewise. - (comment before sign extension): Remove the lie. + * expr.c (convert_move): When truncating, call force_reg first if + it is something that gen_lowpart won't understand. - * pa.h (REG_CLASS_FROM_LETTER): Remove partly incorrect PA - documentation. + * sys-protos.h (getrlimit, getrusage, setrlimit): Return int not void. -Tue Jan 19 09:22:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Sep 8 11:28:41 1993 John Hassey (hassey@dg-rtp.dg.com) - * fold-const.c (non_lvalue): Result must not be null ptr constant. - (omit_one_operand): Use non_lvalue. - (fold, case COMPOUND_EXPR): Use non_lvalue if value is 0. - * c-typeck.c (build_compound_expr): Use non_lvalue if value is 0. + * m88k.c (output_call): Avoid use of jsr.n r1, this loses on + the 88110. -Tue Jan 19 08:29:16 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Wed Sep 8 10:51:07 1993 David Edelsohn (edelsohn@npac.syr.edu) - * rs6000.c (print_operand, case 'k'): New case. - * rs6000.md (plus of gtu patterns): Add case to handle immediates. + * rs6000.h: (MASK_*, TARGET_*): Add target masks and tests. + (TARGET_SWITCHES): Add target switches for various architectures + and mnemonics options. + (TARGET_OPTIONS): Add cpu type as special target option. + (OVERRIDE_OPTIONS): Call rs6000_override_options to decipher. - * rs6000.c (output_epilog): Only restore the cr's that we actually - used; previously, we saved and restored all of them. + * rs6000.c (rs6000_cpu, rs6000_cpu_string): New variables. + (rs6000_override_options): New function. - * combine.c (combine_instructions): Clear reg_last_set_label. + * rs6000.md (define_attr): Expand list of instruction attributes. + (define_function_unit): Compute delay information based + upon processor type and expand functional unit types. + (mulsi3, divsi3, divmodsi4, divsf3, divdf3, muldf3, movsf): + Use expanded attributes. + (load with update): Likewise. -Tue Jan 19 01:16:45 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Sep 8 06:34:32 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * flow.c (find_basic_blocks): Don't mark labels in nonlocal_label_list - that were deleted due to having no references. + * c-typeck.c (output_init_element): When adding to + constructor_pending_elts, copy field. -Mon Jan 18 21:02:22 1993 H.J. Lu (hlu@yardbird.eecs.wsu.edu) +Wed Sep 8 06:15:58 1993 David Gershovich (dgirsh@iil.intel.com) - * configure (--local-prefix=DIR): new flag sets $local_prefix. - The default is /usr/local. Put it into Makefile. + * expmed.c (make_tree, case CONST_INT): Properly set high part if + unsigned. - * Makefile.in (local_prefix): new prefix, the default is /usr/local. - (cccp.o): change LOCAL_INCLUDE_DIR to $(local_prefix)/include. + * optabs.c (expand_binop): Must always widen second operand + of shift. -Mon Jan 18 15:29:46 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Sep 8 05:16:59 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * objc-act.c, objc-act.h: Renamed from objc-actions.*. - * objc-act.c: Include objc-act.h. - * Makefile.in: Targets and deps changed. + * c-typeck.c (push_init_level): Diagnose extra brace group at end + of record. Set constructor_type to 0. + (pop_init_level): Don't output anything if constructor_type is 0. + (process_init_element): Do nothing if constructor_type is 0. - * objc-actions.c (encode_method_def): Null-terminate encoding. - (build_ivar_list_initializer): Null-terminate type encoding. +Tue Sep 7 19:11:20 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cccp.c (include_defaults): Do use GCC_INCLUDE_DIR for cross compiler. - Move TOOL_INCLUDE_DIR later if cross. + * c-common.c (c_build_type_variant): Allocate new type in same + obstack as old one. -Mon Jan 18 13:39:32 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Tue Sep 7 17:45:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * expr.c (emit_library_call): Handle OUTGOING_REG_PARM_STACK_SPACE. - Use NULL_TREE instead of (tree) 0. + * c-typeck.c (digest_init): Fix error message text. - * expr.c (emit_move_insn, expand_expr): Fix typos in comments. +Tue Sep 7 14:32:51 1993 Leonid Baraz (lbaraz@iil.intel.com) - * cccp.c (initialize_builtins): Add uses of new macros - NO_BUILTIN_SIZE_TYPE and NO_BUILTIN_PTRDIFF_TYPE. + * sched.c (schedule_block): Correct type of BIT. - * i960.h (ROUND): Change macro name to ROUND_PARM. - * i960.c (i960_function_arg_advance, i960_function_arg): Likewise. + * fold-const.c (fold): Don't try to process an RTL_EXPR. - * 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. +Tue Sep 7 06:18:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * x-linus (LANGUAGES): Delete. + * dbxout.c (dbxout_type): Handle enum constants bigger than one word. + Don't print big unsigned values as negative. + * c-decl.c (build_enumerator): Choose type properly for wide constants. + (finish_enum): Always set type of the enumerators to the enum type. + * c-typeck.c (default_conversion): For enum that's unsigned, + if it's at least as wide as int, convert to an unsigned type. -Mon Jan 18 08:13:34 1993 James Van Artsdalen (james at bigtex.cactus.org) + * config/i386/sol2.h (LIB_SPEC, LINK_SPEC, SWITCH_TAKES_ARG): + Definitions copied from sparc/sol2.h. + (CPP_SPEC): Copied from sparc/sol2.h, but deleted -msparclite. - * Makefile.in (stmp-headers): Delete target files before copying - to them. +Mon Sep 6 14:43:20 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) -Mon Jan 18 06:23:35 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * genextract.c (insn_name_ptr): Define for debugging. + (walk_rtx, case MATCH_OP_DUP): Expand recog_dup_loc using XEXP not + XVECEXP. - * collect2.c (choose_temp_base, main): Fix "off by one" errors in - sizes of allocated strings. +Mon Sep 6 13:28:03 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Mon Jan 18 00:32:20 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rtlanal.c (modified_between_p): Handle vectors. + (modified_in_p): New function. + (refers_to_regno_p): If setting AP, FP, or SP, we clobber the + virtual registers. + * optabs.c (emit_libcall_block): Don't move insns that reference + things set in previous insns. - * gcc.c (process_command): Fix typo in last change. +Mon Sep 6 08:35:34 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sun Jan 17 13:09:03 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + * config/mips/mips.h: Don't declare abort. - * 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. +Mon Sep 6 01:03:58 1993 Jim Wilson (wilson@cygnus.com) -Sun Jan 17 10:38:38 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * protoize (abort): Correct volatile function declaration. - * 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. +Sun Sep 5 18:23:09 1993 Doug Evans (dje@canuck.cygnus.com) -Fri Jan 15 16:42:30 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + * Makefile.in (USER_H): Add va-h8300.h. - * 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. + * collect2.c (our_file_name, last_file_name): deleted. + (our_file_names): New variable. + (is_in_prefix_list): New function. + (find_a_file): Call is_in_prefix_list. + (main): Make COLLECT_NAMES a list of our invocations. + If we've invoked ourselves, try again with ld_file_name. - * integrate.c (FIXED_BASE_PLUS_P): Fix typo. +Sun Sep 5 16:00:47 1993 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. + * function.c (assign_parms): When parm needs conversion on entry, + don't store it back in the slot where it was passed. -Fri Jan 15 16:02:07 1993 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) +Sun Sep 5 14:51:14 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * final.c (alter_cond): Undo previous change. + * c-decl.c (grokdeclarator): For PARM_DECLs, only call + c_build_type_variant is constp or volatilep is true. -Thu Jan 14 22:09:40 1993 Ian Lance Taylor (ian@cygnus.com) +Sun Sep 5 06:44:09 1993 David Edelsohn (edelsohn@npac.syr.edu) - * Makefile.in (stmp-headers): Avoid problems with relative - $(srcdir) when installing syslimits.h. + * rs6000.c: (print_operand): Convert fprintf of single letters + to putc and convert fprintf of constant strings to fputs. + Output '%u' operand as hexadecimal. -Thu Jan 14 19:20:01 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Sat Sep 4 11:16:18 1993 Craig Burley (burley@gnu.ai.mit.edu) - * c-decl.c (c_decode_option): Set WARN_UNINITIALIZED to 2 with - -Wall, being careful to preserve it if it's already set. - * cp-decl2.c (lang_decode_option): Likewise. - * toplev.c (main): Warn about using -Wuninitialized without -O. + * c-common.c (truthvalue_conversion): A complex value is nonzero + if either part is nonzero, not if both parts are nonzero. - * cccp.c (main): Trim down to the basename of what's to go in - PROGNAME. +Fri Sep 3 19:02:41 1993 Paul Eggert (eggert@twinsun.com) - * 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-decl.c (build_enumerator): Apply default conversion to + constant-expression. -Thu Jan 14 18:19:35 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Fri Sep 3 18:03:47 1993 Chris Lang (chrisl@mirc00.ncms.org) - * t-mips, t-ultrix, t-osfrose: Change `config/' to `config/mips/'. + * cccp.c (skip_if_group): Check for traditional mode when + skipping ahead to next #, ignore unless at beginning of line. -Thu Jan 14 16:55:11 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) +Fri Sep 3 18:00:15 1993 Michael Meissner (meissner@osf.org) - * pa.h (CONDITIONAL_REGISTER_USAGE): Do not make %r27 a global_reg. + * i386/osfrose.h, i386/osfelf.h (LINK_SPEC): Pass -v and -dn on to + the ELF linker, which now accepts these switches. - * 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 Sep 3 13:34:22 1993 Doug Evans (dje@cygnus.com) - * pa.h (LEGITIMIZE_ADDRESS): Rework to create REG and REG+D - addresses instead of REG+REG addresses. + * i386/x-linux: Add -Iinclude to BOOT_CFLAGS. -Thu Jan 14 15:45:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Sep 3 01:54:19 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * objc/core.c (initialize_dispatch_tables): Create an entry in RECORD - for each class used in a given file, not just one. + * pa.h (READONLY_DATA_ASM_OP): Define. + (READONLY_DATA_SECTION): Define. + (EXTRA_SECTIONS): Add in_readonly_data. + (EXTRA_SECTION_FUNCTIONS): Add readonly_data. -Thu Jan 14 12:00:35 1993 Ian Lance Taylor (ian@cygnus.com) +Thu Sep 2 19:19:14 1993 Holger Teutsch (holger@hotbso.rhein-main.de) - * 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). + * clipper.h : Improve generated code for C400 Clipper. + (TARGET_SWITCHES): New options `c300' `c400'. + (TARGET_C300, TARGET_C400): New defines. + (TARGET_DEFAULT): Define as TARGET_C300. + (CONDITIONAL_REGISTER_USAGE): New define. -Thu Jan 14 14:17:05 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Thu Sep 2 17:47:57 1993 Doug Evans (dje@canuck.cygnus.com) - * libgcc2.c: Correct typo in comment. + * glimits.h (__INT_MAX__, __LONG_MAX__, __LONG_LONG_MAX__): New macros. + (INT_MAX, LONG_MAX, LONG_LONG_MAX): Use them. + (UINT_MAX, ULONG_MAX, ULONG_LONG_MAX): Ditto. - * fixinc.sco, fixinc.svr4 (egrep and sed loop): Don't print - messages about files that need no change. +Thu Sep 2 14:26:28 1993 Michael Meissner (meissner@osf.org) - * sparc.md (muldf+1, muldf+2): Add patterns for fsmuld and fdmulq. + * i386/osfrose.h (YES_UNDERSCORES): Delete macro, since we have + redefined all of the macros that are based on using it. + (CPP_SPEC, CC1_SPEC): Remove #ifndef NO_UNDERSCORE version. + OSF/ELF will now omit the leading underscore by default. + (LINK_SPEC): Pass -dy through to ELF linker. Do not pass -v to + ELF linker. - * 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. + * i386/osfelf.h (CPP_SPEC, CC1_SPEC): Remove #ifndef NO_UNDERSCORE + version. OSF/ELF will now omit the leading underscore by default. + (LINK_SPEC): Pass -dy through to ELF linker. Do not pass -v to + ELF linker. - * expr.c (do_tablejump): Pass 1 for unsigned flag to emit_cmp_insn. -Thu Jan 14 14:43:15 1993 Torbjorn Granlund (tege@sics.se) + * final.c (tree.h): Include tree.h to get the declaration for + decl_printable_name. + (last_filename): Global to hold last filename encountered in a + NOTE. + (add_bb): New function to do common code for emitting a basic + block profiling increment. Remember the current function, and if + debugging, line number and filename for each basic block. + (add_bb_string): New function to remember strings for profiling + basic blocks. + (end_final): Bump name array size to 20. Use BSS to store profile + block count array unless -fno-common. Eliminate redefining name + within for loop block. Add a length field and three new parallel + arrays for basic blocks to hold function name, and if debugging, + line number and file name for basic block profiling. + (final_start_function): Save a printable version of the current + function name away if profiling basic blocks. + (final_end_function): Forget the current printable version of the + current function name if profiling basic blocks. + (final): Move basic block profiling support to just call add_bb. + (final_scan_insn): Ditto. + (output_source_line): Save filename in last_filename. If the file + name was changed and profiling basic blocks, remember the new file + name for the next call to add_bb. - * 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. + * libgcc2.c (L_bb): If BLOCK_PROFILER_CODE is defined, expand it + here directly. If BLOCK_PROFILER_CODE is not defined, add code + that appends basic block profile information into a text file + bb.out. Move sun3 specific block profiling code to m68k/sun3.h. - * 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. + * Makefile.in (final.o): Final.c now includes tree.h. - * 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. + * m68k/sun3.h (BLOCK_PROFILER_CODE): Move the sun3 specific basic + block profiling code here from libgcc2.c. -Thu Jan 14 13:33:55 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Wed Sep 1 19:00:06 1993 Jim Wilson (wilson@mole.gnu.ai.mit.edu) - * rtl.c (copy_rtx): A MEM with constant address is not sharable. - Undo Dec 27 change. + * rs6000.md (truncdfsf2): Round to single instead of doing nothing. -Thu Jan 14 06:45:51 1993 James Van Artsdalen (jrv@goldman.gnu.ai.mit.edu) + * jump.c (jump_optimize): When optimize conditional jump around + unconditional jump, handle case where prev_label can be zero. - * i386.md (cmpstr patterns): Fix mode mismatch in SET. + * c-decl.c (finish_decl): For static const variables, preserve + initializers instead of discarding them. -Wed Jan 13 16:05:07 1993 Ian Lance Taylor (ian@cygnus.com) +Wed Sep 1 18:43:01 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * configure: Precompute version in generated Makefile. + * reload.c (find_reloads): Bump REJECT for a hard register; just + not for a pseudo. - * 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. + * rs6000.md: Clean up hex constants a bit in emitted insns. -Wed Jan 13 12:04:21 1993 Michael Meissner (meissner@osf.org) + * rs6000.c (input_operand): Allow "easy" FP constants. + * rs6000.h (SECONDARY_MEMORY_NEEDED): New macro. + * rs6000.md (movdf): Simplify by taking advantage of + having SECONDARY_MEMORY_NEEDED. + Fix bugs relating to order in which moves are done. - * libgcc2.c (_ffsdi2): Use the correct names for structure - elements of type DIunion. Return the correctly typed value. +Wed Sep 1 18:08:36 1993 Jim Wilson (wilson@cygnus.com) - * mips-tdump.c (print_file_desc): Correctly scale the rfd pointer. - Patch from ian@cygnus.com. + * reload.c (find_reloads_address_1): Handle SUBREGs same as REGs. -Wed Jan 13 10:04:26 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) +Wed Sep 1 18:03:45 1993 Mike Stump (mrs@mole.gnu.ai.mit.edu) - * pa.h (ASM_OUTPUT_INTERNAL_LABEL): Fix typo. + * collect2.c (is_ctor_dtor): Make sizeof argument match the + string. -Wed Jan 13 03:05:08 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Sep 1 15:01:48 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * fixinc.svr4 (rpc/types.h): Change const extern to extern const. + * Makefile.in (start.encap): Build g++ here also. - * expr.c (expand_increment): Handle all preincrements by building - arithmetic and calling expand_assignment. +Tue Aug 31 16:30:53 1993 Jim Wilson (wilson@cygnus.com) - * stmt.c (expand_asm_operands): For clobbering memory, - generate (MEM (SCRATCH)) inside the CLOBBER. + * combine.c (make_compound_operation): Handle the case + (and (xor/ior (lshift...) (lshift...)) ...). + (make_field_assignment): In get_pos_from_mask call, only invert + bits in mode mask. - * cccp.c (include_defaults): - Put GCC_INCLUDE_DIR just before the system dirs whose files are fixed. + * reload.c (push_reload): Abort is secondary_reload wants same + class as an input reload. - * Makefile.in (risky-stage1, etc): Use $(GCC_PARTS) as what to mv. + * Makefile.in (libgcc1.a, libgcc2.a): Don't use set -e. + * configure (i[34]86-*-lynxos, m68k-*-lynxos, sparc-*-lynxos): Use + xm-lynx.h, x-lynx. Don't run fixincludes. + * x-lynx, xm-lynx.h: New files. -Tue Jan 12 23:24:30 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Makefile.in (xsys-protos.h): Use fixtmp.c not tmp.c, and delete + it afterwards. - * stor-layout.c (variable_size): Change back to NULL_PTR. + * function.c (assign_stack_temp): When allocate a slot too large, + split extra off into a slot of its own. + (combine_temp_slots): New function. + (free_temp_slots, pop_temp_slots): Call combine_temp_slots. -Tue Jan 12 18:59:01 1993 James Van Artsdalen (james at bigtex.cactus.org) +Tue Aug 31 06:35:37 1993 David Edelsohn (edelsohn@npac.syr.edu) - * reload1.c (reload): Clear reload_in_progress even if reloading - fails. + * rs6000.md: (zero_extendqisi2, zero_extendqihi2): Change anonymous + patterns to use 16-bit and 32-bit hexadecimal values and masks + instead of bit ranges if constant. + (rotlsi3, lshrsi3, move condition codes, scc insns): Likewise. -Tue Jan 12 18:32:01 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Tue Aug 31 06:25:52 1993 Paul Eggert (eggert@twinsun.com) - * calls.c (emit_call_1): Pass a NULL_RTX into emit_call_insn for - missing last arg. + * c-decl.c (struct c_function): Remove unneeded enum_next_value. + (push_c_function_context, pop_c_function_context): Don't save it. - * stor-layout.c (variable_size): Call expand_expr with a NULL_RTX, - not a NULL_PTR. +Mon Aug 30 16:16:56 1993 Paul Eggert (eggert@twinsun.com) - * 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. + * c-decl.c (get_parm_info, store_parm_decls): If PROMOTE_PROTOTYPE, + promote all integral types shorter than int, including short enums. + * c-typeck.c (convert_arguments): Likewise. + * cp-decl.c (grokparms): Likewise. + * cp-except.c (finish_exception_decl): Likewise. + * cp-typeck.c (convert_arguments): Likewise. - * fold-const.c (fold): Only call force_fit_type with one arg. +Sun Aug 29 18:34:25 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * expr.c (group_insns): Make void, since it never returns an rtx. + * rs6000.h (TARGET_NO_FP_IN_TOC): New; deleted TARGET_FP_IN_TOC. + (TARGET_SWITCHES): Rearrange to have three TOC choices. + (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Use TARGET_NO_FP_IN_TOC. + * rs6000.c (output_toc): Likewise. - * 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. +Sat Aug 28 15:04:35 1993 Jim Wilson (wilson@cygnus.com) - * dbxout.c (dbxout_type) [case FILE_TYPE, SET_TYPE]: Call with - missing third arg as 0. + * mips.h (SELECT_SECTION): Simplify sdata_section test. - * cse.c (fold_rtx): Call itself with missing arg INSN as NULL_RTX. + * lynx.h (CPP_SPEC): Use include_v not include-v. + (LINK_SPEC): Add missing `-' before `k' option. + (PREFERRED_DEBUGGING_TYPE): Define to DBX_DEBUG. + (SDB_DEBUGGING_INFO): Define. + (MD_EXEC_PREFIX): Define to /usr/local/lib/gcc-. + (LINK_LIBGCC_SPECIAL_1): Define. + (NAME__MAIN, SYMBOL__MAIN): Define. -Tue Jan 12 17:53:13 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * sparc.h (EXTRA_CONSTRAINT): Delete 'S'. + * sparc.md (call+1, call+2, call_value+1, untyped_call+1): Split + into two patterns, one using address_operand and 'p', the other + immediate_operand and 'i'. - From Fred Fish: - * fixinc.svr4 (stat.h): Don't depend upon specific formal - parameter names when locating static functions to convert - to prototype form. Also be more selective about what - strings to prepend underbars to during renaming of formal - parameters and local variables in static functions. +Fri Aug 27 15:43:19 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cccp.c (main): Set signal handler for SIGPIPE. - (pipe_closed): New function, to handle SIGPIPE. + * combine.c (nonzero_bits): Fix reversed test for when we + need to insert extra bits when sizes differ. + (nonzero_bits, case EQ): Always return STORE_FLAG_VALUE when returning + integer mode; remove now-redundant test. -Tue Jan 12 17:48:13 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * rs6000.h (LINK_SPEC): Add -bexport:/usr/lib/libg.exp when -g. - * expr.c (compare_from_rtx): Allow simplify_relational_operation to - fail. +Fri Aug 27 13:17:28 1993 Jim Wilson (wilson@cygnus.com) -Tue Jan 12 02:52:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rs6000.c (print_operand_address): When TARGET_MINIMAL_TOC, use + r30 instead of r2 for TOC references. + (output_prologue): If TARGET_MINIMAL_TOC, and the constant pool + is needed, then setup r30. + (output_toc): When TARGET_MINIMAL_TOC, use .long instead of .tc. + * rs6000.h (TARGET_MINIMAL_TOC): New macro. + (TARGET_SWITCHES): Add -mminimal-toc and -mno-minimal-toc. + (ELIMINABLE_REGS): Add elimination for r30. + (CAN_ELIMINATE): Add case for r30. + (INITIAL_ELIMINATION_OFFSET): Add case for r30. + (toc_section): When TARET_MINIMAL_TOC, initialize toc_table. - * optabs.c (init_optabs): Use plain `ffs' for SImode ffs_optab libcall. +Thu Aug 26 17:59:38 1993 Doug Evans (dje@cygnus.com) - * Makefile.in (LIB2FUNCS): Add _ffsdi2. - * libgcc2.c (__ffsdi2): New function. + * gstdarg.h, gvarargs.h: Add support for H8/300H. + * va-h8300.h: New file. - * c-decl.c (init_decl_processing): Declare ffs as builtin. +Thu Aug 26 15:15:27 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * fixincludes (egrep and sed loop): Don't print messages about - files that need no change. + Cygnus<->FSF C++ front-end merge. + Wed Aug 25 17:55:58 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Mon Jan 11 17:22:16 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * cp-class.c (alter_visibility): Properly grok protected visibility. - * 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'. + Wed Aug 25 12:55:17 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * reload1.c (reload): Delete unused variable inc_groups. + * cp-typeck.c (c_sizeof): If we're given an OFFSET_TYPE, work with + the type it refers to. - * sparc.h (TARGET_SWITCHES): Add no-fpu and hard-float. - (CONDITIONAL_REGISTER_USAGE): Define for ! TARGET_FPU. - (BASE_RETURN_VALUE_REG): Use reg 8 when ! TARGET_FPU. - (BASE_OUTGOING_VALUE_REG): Use reg 24 when ! TARGET_FPU. - * sparc.md (*): Make all fp patterns conditional on TARGET_FPU. - (movtf, movdf, movsf): Add !TARGET_FPU versions. - (sfmode return): Add pattern for when !TARGET_FPU. - (movsi+2, movsf+1): Use %@ instead of %%fp. - (mulsidi3, umulsidi3): Rewrite, to avoid extending constants. + * cp-decl.c (finish_function): Properly handle inline functions, + don't just call rest_of_compilation. - * fixincludes: Do not consider //* to be a C++ comment which needs - to be fixed. + * cp-decl2.c (flag_inline_debug): Deleted, never used. + (lang_f_options): Deleted -finline-debug. + * toplev.c (lang_options): Likewise. -Mon Jan 11 15:03:41 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + Tue Aug 24 16:06:23 1993 Mike Stump (mrs@poseidon.cygnus.com) - * pa.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P): Fix typos. + * cp-dem.c: Deleted. See demangler in the binutils distribution. -Mon Jan 11 12:41:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Tue Aug 24 14:24:34 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * config/xm-svr4.h (sys_siglist): New macro. + * cp-decl.c (start_function): Don't get ready to complain about a + built-in C-linkage function against a C++-linkage function. -Sun Jan 10 18:16:49 1993 James Van Artsdalen (james at bigtex.cactus.org) + Tue Aug 24 13:54:43 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) - * i386.md (extendsidi2,zero_extendsidi2): New patterns. - (adddi3,subdi3): Don't emit code for low part if known to be zero. + * g++.c: also include - * i386/xm-sysv4.h (alloca): Delete - already defined in xm-i386.h. + Tue Aug 24 05:39:57 1993 Michael Tiemann (tiemann@blues.cygnus.com) - * i386/xm-aix.h,i386/xm-sun.h: Include i386/xm-i386.h. - Remove redundant defines. + * cp-parse.y (id_scope): Renamed from scoped_id. Also added handler + for case when rule appears after `dont_see_typename' action. Now + handles pointer-to-member syntax. -Sun Jan 10 18:00:17 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + Mon Aug 23 14:04:34 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * pa.h (GENERAL_OR_FP_OR_SNAKE_FP_REGS): New register class. - (LEGITIMIZE_ADDRESS): No longer show DP relocation. Simplify. - * pa.md (reload_insi, reload_outsi): Use new "Z" constraint instead - of "z" constraint. - (load HIGH patterns): Rewrite to not show DP relocation. - * pa.c (output_global_address): Handle (high (const (plus ...))). - (secondary_reload_class): If TARGET_KERNEL, then loading a - symbolic address, or the high part of a symbolic address requires - %r1 as a secondary reload register. - (emit_move_sequence, SYMBOL_REF case): If TARGET_KERNEL, then handle - secondary reload created for a symbolic (high (const (plus ...))). - No longer show DP relocation; read_only and normal operands emit the - same RTL now. - Emit the same RTL before and after reload, only change how the - scratch/temporary register is chosen. + * cp-parse.y (datadef): Disallow forward declaration of an enum. -Sun Jan 10 11:42:12 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * cp-class.c (finish_struct): Set LAST_X to X, so we keep the chain + in some semblance of sanity. Makes more than one nested typedef + work properly. + * cp-decl.c (grokdeclarator): Rewrite how class-local typedefs are + handled to generate a TYPE_DECL that's useful. - * combine.c (make_extraction): Don't use POS < 0 as a flag - that POS_RTX is to be used; instead use POS_RTX unless it is - nonzero. If POS_RTX is a constant, set POS and clear POS_RTX. - (make_compound_operation, make_field_assignment): Pass 0 for POS - instead of -1 when POS_RTX is nonzero. + * cp-decl.c (start_function): Don't error out if it's a static + function; don't return 0, which can cause other problems. -Sat Jan 9 01:34:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Sun Aug 22 18:00:57 1993 Michael Tiemann (tiemann@blues.cygnus.com) - * reload1.c (reload_as_needed): Test for whether to call - forget_old_reloads_1 for a REG_INC note was backwards. + * cp-decl.c (duplicate_decls): Set DECL_OVERLOADED flag on "C" + functions so that they are treated properly when "C++" functions of + the same name are declared before they are. - * config/i386/xm-i386.h (alloca): Undef before defining. + Sun Aug 22 13:31:44 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * config/i860/sysv3.h (ASM_OUTPUT_LOCAL): New override. + Fix how we handle binding levels, and tweak Niklas's new scoping + code to work 100%. This work should significantly improve how + g++ handles the use of nested classes. + * cp-tree.h (NEW_CLASS_SCOPING): Default to 1 now! + * cp-decl.c (pop_binding_level): Set current_binding_level to be + class_binding_level if it's non-NULL. Change code that looks for + our method of climbing back up the binding levels when we're + dealing with a parm. + (pushlevel_class): Call push_binding_level, not pushlevel. + (poplevel_class): Don't weird out if level is 0. DO NOT set + class_binding_level to the level_chain, this was the biggest bug + that made the pushes and pops to end up being unbalanced. + Call pop_binding_level instead of manually putting the level on + the free_binding_level chain. + (pop_from_top_level): Don't call poplevel if previous_class is + non-NULL. + (finish_function): Call expand_start_bindings and + expand_end_bindings in a balanced way. + (finish_function): Don't flail around screwing with the RTL for + the function in a very special case, just always call + rest_of_compilation as we normally would. + (finish_method): Call poplevel, not pop_binding_level. + * cp-class.c (pushclass): Don't call unuse_fields. + * cp-tree.c (break_out_calls): Always call copy_node, not just + when changed++ == 0. + * cp-search.c (bridge_obstack): Deleted. + (push_class_decls): Use search_obstack, not bridge_obstack. + (init_search_processing): Don't init bridge_obstack anymore. - * gcc.c (lookup_compiler): Fix special code for `-' suffix. + * cp-init.c (build_new): Don't clear LOOKUP_COMPLAIN on flags, since + we need to honor the visibility of what we find. - * c-lex.c (yylex): Change warning msg when decimal const is unsigned. + Sat Aug 21 12:07:26 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * Makefile.in (bootstrap*): Pass BOOT_LDFLAGS down as LDFLAGS. + * cp-decl.c (grokdeclarator): Give an error about an array of + offset types and method types, in addition to reference types. + Also make sure to set `type' to be error_mark_node for each. - * Makefile.in (install-dir): Don't create gcc-lib/include. + * cp-parse.y (primary, PLUSPLUS/MINUSMINUS): Resolve the OFFSET_REF + here. + * cp-typeck.c (build_x_unary_op): Not here. - * objc-actions.c (init_module_descriptor): - Use size_in_bytes to get size of `struct objc_module'. + * cp-class.c (finish_struct): Set DECL_CLASS_CONTEXT only if it's + a virtual function. + * cp-decl.c (grokfndecl): Communicate the virtual bit to function + decls that overload a virtual function from a base class. + * cp-search.c (dfs_pushdecls): Look at DECL_CLASS_CONTEXT if it's + a virtual function. - * c-decl.c (init_decl_processing): Use unsigned_intQI_type_node, - not unsigned_char_..., as index type for ..._array_type_node. + Fri Aug 20 13:35:54 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * toplev.c (really_sorry): Use progname in error message, not c++. + Make the g++ driver work with MS-DOS. + * g++.c (P_tmpdir, {R,W,X}_OK) [__MSDOS__]: Defined. + (choose_temp_base_try, choose_temp_base, perror_exec, + run_dos) [__MSDOS__]: New functions for the g++ program to operate + correctly under MS-DOS. + (temp_filename, temp_filename_length) [__MSDOS__]: New variables. + (main): Fix off-by-one error in allocation of arglist. When + running the main GCC program, handle running it under OS/2, MS-DOS, + as well as on a system that has execvp(2). Only find the location + of the GCC executable if we're not using DOS. - * optabs.c (expand_binop): For complex mult, compute res - in each alternative, not before. + * cp-decl.c (poplevel): Only call remember_end_note if we haven't + already created the block. Set TREE_USED on the block. + (duplicate_decls): If the type of either the old or new decl is an + error_mark_node, we've already issued an error so set types_match + to be 1 now. + (xref_defn_tag): Mark the TYPE_DECL as ignored if doing dwarf + debugging. - * Makefile.in (bootstrap): Pass along CC and libdir in first compile. + * cp-parse.y (base_init, nodecls): Call keep_next_level to make + sure the BLOCK node is kept with the outermost curly braces of a + function. + (compstmt): For `{ }', insert a .pushlevel and do all of the other + stuff we need in every other compstmt situation, to generate proper + debugging for such things and handle the binding levels properly for + them. - * c-decl.c (pushdecl): Avoid multiple extern decl mismatch warnings - when previous decl is built-in. + Thu Aug 19 18:24:25 1993 Mike Stump (mrs@cygnus.com) - * 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): Wrap void COND_EXPR in NOP_EXPR, so + that the backend does not abort when trying to use the void mode + expression. Fixes make check (tString.o) in libg++. -Sat Jan 9 09:11:25 1993 Michael Tiemann (tiemann@rtl.cygnus.com) + Thu Aug 19 12:21:12 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * varasm.c (output_constant): Handle CHAR_TYPE and BOOLEAN_TYPE like - INTEGER_TYPE. + * cp-typeck.c (build_x_unary_op): When we receive an OFFSET_REF, + resolve it before looking for a way to handle the operation. -Sat Jan 9 08:06:42 1993 Michael Meissner (meissner@osf.org) + * cp-method.c: Include ctype.h. - * cccp.c (main): If we are creating a new dependency file with -MD - or -MMD, use "w" fopen mode instead of "a". + Thu Aug 19 12:00:08 1993 Mike Stump (mrs@cygnus.com) -Fri Jan 8 20:58:12 1993 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) + * cp-class.c, cp-search.c (NEW_SEARCH, NEW_CONVERT, + CHECK_convert_pointer_to_single_level): Remove ability to revert to + old code, and remove checks. Cleans-up the code a little. - Cygnus<->FSF merge. - Thu Jan 7 18:16:05 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + Thu Aug 19 00:41:55 1993 Mike Stump (mrs@cygnus.com) - * cp-parse.y (template_type): Avoid dereferencing an error_mark. + * cp-init.c (expand_aggr_init): Avoid faulting, give error instead. - Wed Jan 6 17:43:23 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + Wed Aug 18 22:43:25 1993 Mike Stump (mrs@cygnus.com) - * cp-decl.c (init_decl_processing): Make flag_no_builtin avoid - definitions of builtin fns memcpy, memcmp, strcmp, strcpy, strlen, - sin, and cos. (Add sin and cos.) - (flag_no_builtin): Add extern decl. + * cp-lex.h (RID_BIT_TYPE, RIDBIT_SETP, RIDBIT_NOTSETP, RIDBIT_SET, + RIDBIT_RESET, RIDBIT_RESET_ALL, RIDBIT_ANY_SET): New RID macros, + replaces RIDBIT macro. The new macros allow us to easily expand + past 32 RIDs. + * cp-decl.c (grokvardecl, grokdeclarator): Use them. - * 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. + * cp-decl.c (grokdeclarator): Implement `mutable' keyword. + * cp-lex.c (init_lex, ): Ditto. + * cp-lex.h (enum rid): Ditto. + * cp-ptree.c (print_lang_decl): Ditto. + * cp-tree.h (struct lang_decl_flags, DECL_MUTABLE_P): Ditto. + * cp-typeck.c (build_component_ref_1, build_component_ref): Ditto. + * gplus.gperf (mutable): Ditto. + * cp-hash.h: Regenerate. - Tue Jan 5 22:09:18 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * cp-tree.h (struct lang_type): Fill out type_flags to multiple of 4 + bytes for MIPS. - * cp-pt.c (tsubst): Properly demangle a method's name if it's for an - operator. + Fri Aug 13 16:07:46 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - Tue Jan 5 15:29:40 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * cp-lex.c (DEBUG_DEFAULT_FUNCTIONS): Take out the #undef, so we can + use the command line to turn this on. - * cp-method.c (build_opfncall): Make postfix/prefix ++/-- work by - setting the second arg to 0 when using postfix ++/--. + * cp-decl.c (grokdeclarator): Look for IDENTIFIER_TEMPLATE in the + name of current_class_type, not in current_class_type itself. - * cp-decl.c (grokdeclarator): Forbid declaring operator= from being - declared as a non-member (or friend) function. + * cp-decl.c (pushdecl): Change to also check TREE_PUBLIC on the decl + in question, and do a pedwarn_with_decl instead of + warning_with_decl for conflicting extern declarations. - Tue Jan 5 14:26:38 1993 Mike Stump (mrs@cygnus.com) + Fri Aug 13 12:26:41 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - Jan 5 14:09:08 1993 Paul Eggert (eggert@twinsun.com) + * cp-tree.h: Delete all the old PARANOID stuff, it's suffered + serious bit rot. + (PRINT_LANG_DECL, PRINT_LANG_TYPE): Deleted, not used anymore. + (LANG_ID_FIELD, SET_LANG_ID): New macros. + ({,SET_}IDENTIFIER_{LABEL_VALUE, IMPLICIT_DECL, AS_DESC, AS_LIST, + ERROR_LOCUS}): Redefine these macros to use the new LANG_ID_FIELD + and SET_LANG_ID ones, so everything is much cleaner and readable. - * cp-lex.c (): Propagate a change from c-lex.c. + * cp-decl.c (pushtag) [NEW_CLASS_SCOPING]: Push into the template's + class scope before trying to push the decl, and then pop back out. + (globalize_nested_type) [NEW_CLASS_SCOPING]: Asserts 348 and 349 + aren't correct, shadow can come out to be null in some situations. - Tue Jan 5 13:27:05 1993 Mike Stump (mrs@cygnus.com) + Thu Aug 12 10:56:50 1993 Mike Stump (mrs@cygnus.com) - Sep 14 17:48:27 1992 Paul Eggert (eggert@twinsun.com) + * cp-method.c (build_overload_name): Allow the debugger to + deterministically demangle names with more than 9 nested class + levels. - * cp-lex.c (real_yylex): For floats, use REAL_VALUES_LESS to - distinguish underflow from overflow. Delete special case for 0.0. + Thu Aug 12 00:46:54 1993 Mike Stump (mrs@cygnus.com) - Mon Jan 4 15:26:47 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * cp-search.c (pushd_stack_level): Fix memory corruption problem. + Don't assume that the obstack won't move, because they will. Among + other things, the fix allows one to nest classes upto 240 levels + deep, instead of 60 or so. - * 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) + Thu Aug 12 00:38:05 1993 Per Bothner (bothner@kalessin.cygnus.com) - * convert.c: New file. Contains the common utility routines - from c-convert.c and cp-cvt.c (such as convert_to_integer). - * convert.h: New file: declarations exported from convert.c. - * c-convert.c, cp-cvt.c: Correspondingly reduced. - * cp-cvt.c (cp_convert_to_pointer): New function, with the - extra hair beyond that provided by the C convert_to_pointer. - * Makefile.in (OBJS): Add convert.o. - * cp-typeck.c (build_binary_op), cp-tree.h: Add extra convert_p - parameter, for consistency with the C version (so we can make - convert_to_integer independent of C or C++). - * cp-cvt.c, cp-decl.c, cp-decl2.c, cp-except.c, cp-init.c, - cp-typeck.c, cp-parse.y: Fix calls to build_binary_op to pass - the new convert_p parameter (i.e. 1). + * cp-decl2.c (finish_file): Use new get_file_function_name(). + * cp-tree.h (FILE_FUNCTION_FORMAT): No longer needed. - Fri Dec 18 19:19:28 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + Fri Aug 6 11:37:08 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-method.c (build_overload_nested_name): Use DECL_NAME instead of - DECL_ASSEMBLER_NAME, since pushtag now mangles together - DECL_ASSEMBLER_NAME. This will make us emit `Q21D1B', not `Q221D1B'. + * cp-decl.c (pop_binding_level) [DEBUG_CP_BINDING_LEVELS]: Don't + call abort, since we need to see where things end up. - * cp-decl2.c (grokclassfn): Try using the local value for a nested - type if the IDENTIFIER_TYPE_VALUE isn't there. + Fri Aug 6 11:13:57 1993 Mike Stump (mrs@cygnus.com) - Wed Dec 16 18:18:43 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * cp-class.c (finish_struct): Blast away old DECL_SIZE on + base_layout_decl so that the old value is not reused, but rather the + new value in the TREE_TYPE (TYPE_SIZE ()) will be. - * 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) + Thu Aug 5 18:45:26 1993 Mike Stump (mrs@cygnus.com) - * cp-decl.c (sigsegv, init_decl_processing): Give users the line - number and source filename on code that makes the back-end call - abort. + * cp-init.c (emit_base_init): Move vbase vtable pointer init to very + end of base initialization code. Completes July 30 change. The + dynamic type of a virtual base should not be the type of the current + constructor, until after all bases are initialized. - Tue Dec 15 16:50:45 1992 Brendan Kehoe (brendan@lisa.cygnus.com) +Thu Aug 26 06:00:09 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-tree.h (CLASSTYPE_NAMES): Deleted. + * expr.c: (apply_args_register_offset): Don't use ANSI-style + definition. - * 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. +Wed Aug 25 19:37:26 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * 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. + * expmed.c (store_bit_field): Do not use bitfield instructions for + STRICT_ALIGNMENT machines if the MEM's alignment isn't as big as + the MEM's mode. - Tue Dec 15 04:05:54 1992 Mike Stump (mrs@cygnus.com) +Wed Aug 25 19:17:13 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-lex.c (UNSET_RESERVED_WORD): Update from c-lex.c. + * c-typeck.c (format_char_info_print_table, "p"): Allow width. - Tue Dec 15 01:21:44 1992 Brendan Kehoe (brendan@lisa.cygnus.com) +Tue Aug 24 18:36:31 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-lex.c (real_yylex): Convert invisible initialized char array - vars to string constants. + * rs6000.c (output_{pro,epi}log): Don't need no-ops after calls + to functions to save and restore FP regs. - Mon Dec 14 11:38:10 1992 Brendan Kehoe (brendan@lisa.cygnus.com) +Tue Aug 24 15:43:43 1993 Michael Meissner (meissner@osf.org) - * Makefile.in: Fix a lot of dependencies on cp-lex.h and other - headers for cp-*.o targets. + * osfrose.h (SUBTARGET_SWITCHES): Add -mlarge-align and + -mword-align to control whether alignments of > 4 are honored. + (ASM_OUTPUT_ALIGN_CODE): If -mlarge-align allow alignments > 4. + (ASM_OUTPUT_ALIGN): Ditto. + (ASM_OUTPUT_LOOP_ALIGN): Always do a .align 2. + (FUNCTION_BLOCK_PROFILER): Define. + (BLOCK_PROFILER): Define. - * cp-search.c (get_first_matching_virtual): Use warning_with_decl, - not error_with_decl, inside code that's only ever reached with - -Woverloaded-virtual. +Tue Aug 24 14:04:11 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * cp-typeck.c (c_expand_return): When building the INIT_EXPR, clear - out the context if it's an ERROR_MARK so the back-end won't die later. + * pa.c (compute_frame_size): Always align stack to 64 byte + boundary. - * cp-type2.c (my_friendly_abort): Don't say anything like "please - fix above errors", just exit quietly. + * pa.h (STACK_BOUNDARY): Stack pointer is 512 bit (64 byte) + aligned. - * 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. + * pa.c (output_call): Use ASM_OUTPUT_INTERNAL_LABEL instead of + output_asm_label. - * cp-parse.y (overloaddef): Warn that using `overload' is an - anachronism. +Tue Aug 24 11:24:27 1993 Kresten Krab Thorup (krab@iesd.auc.dk) + + * Merge of Objective C related changes since June 1. + + * objc/xforward.c, objc/mutex.h: Files removed. + * objc/encoding.[ch]: New files. + * objc/todo: File removed. + + Tue Jun 1 00:05:12 1993 Kresten Krab Thorup (krab@iesd.auc.dk) + + * expr.c (apply_args_register_offset): New function + (apply_args_reg_offset): New variable + (apply_args_size): Added initialization of apply_args_reg_offset. + + * objc-act.c (offset_is_register): New variable + (forwarding_offset): Use apply_args_register_offset to get + register offset. + (encode_method_def, encode_method_prototype): Prepend argument + offset by '+' if passed in register. + (apply_args_register_offset): Added declaration. + + Sun Jun 6 20:57:03 1993 Kresten Krab Thorup (krab@iesd.auc.dk) + + * objc/encoding.h, objc/encoding.c: New files. + * objc/Object.m (-performv): Use new objc_msg_sendv. + * objc/sendmsg.c (objc_msg_sendv): Use new encoding facilities. + * objc/objc.h (arglist_t): Data-definition changed. + * objc/xforward.c: File removed. + * objc/Makefile (sendmsg.c, fflags, xforward): Targets removed; + (OBJC_O): Added encoding.o; + (OBJC_H): Added encoding.h, removed mutex.h. + + * objc/objc.h (nil_method): Don't define it, import it from sendmsg.c. + + Wed Jun 16 17:39:56 1993 Kresten Krab Thorup (krab@iesd.auc.dk) + + * objc/objc-api.h: (CLS_SETNUMBER): Clear old number + * objc/sendmsg.c (__objc_update_dispatch_table_for_class): + Don't free dtable... (memory leak to make posing work) + * objc/class.c (class_pose_as): lazy copy dtables. + #include sarray.h + + Tue Jun 22 21:39:11 1993 Kresten Krab Thorup (krab@xiv) + + * objc/class.c (class_pose_as): Rewritten + * objc/sendmsg.c (__objc_update_dispatch_table_for_class): + Free old dispatch table and install a new. + + Tue Aug 24 00:41:35 1993 Kresten Krab Thorup (krab@iesd.auc.dk) + + * objc-act.c (generate_method_descriptors, generate_ivar_lists, + generate_dispatch_tables): Reorganized use of constructors. + (build_descriptor_table_initializer, build_ivar_list_initializer, + build_dispatch_table_initializer): Removed argument `int *size'. + + Tue Aug 24 00:52:04 1993 Kresten Krab Thorup (krab@iesd.auc.dk) + + * objc/sendmsg.c (__objc_install_dispatch_table_for_class): + Dynamically expand dispatch table when full. - Wed Dec 9 08:27:13 1992 Niklas Hallqvist (niklas at della.appli.se) +Mon Aug 23 19:37:33 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * cp-decl.c (init_decl_processing): Make sure the "unknown type" - typedecl gets ignored by the debuginfo generators. + * pa.h (TARGET_TRAILING_COLON): Delete switch. TARGET_GAS now + controls the use of trailing colons. - Sun Dec 13 02:38:43 1992 Brendan Kehoe (brendan@cygnus.com) +Mon Aug 23 18:46:14 1993 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) + + * config/m68k/dpx2g.h (ASM_LONG): Move from dpx2.h. + + * configure (m68k-bull-sysv): Add support for working with native + assembler. + * config/m68k/dpx2.h (MOTOROLA): Define this. + (VERSADOS): This the name of the DPX2 assembler. Define this in case. + (USG): Define this. + (SGS_NO_LI): define this to suppress jump table usage. + (TARGET_DEFAULT): Define this to 3 inside the conditional USE_GAS + since bitfields do not work a clean way on DPX2. + (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS, SELECT_SECTION, + SELECT_RTX_SECTION): #undef these. + (READONLY_DATA_SECTION): Define to data_section. + (*_ASM_OP, ASM_OUTPUT_*): Define these accordingly to the native + assembler syntax. + (LONG_DOUBLE_TYPE_SIZE): Set to 64 to not use XFmode. + (REAL_ARITHMETIC): Define this to use the software floating point + emulator. + (JUMP_TABLES_IN_TEXT_SECTION): Define this to 1. + (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Override m68k.h default. + (ASM_OUTPUT_ASCII): add a new variable to take care of the lentgh of + the operand field which must be < 80 chars. + (PRINT_OPERAND_ADDRESS): Override m68k.h default. + (PUT_SDB_TYPE): Output type in decimal. + (PUT_SDB_FUNCTION_[START|END]): Override sdbout.c default. + (PUT_SDB_BLOCK_[START|END]): Override sdbout.c default. + +Mon Aug 23 18:33:26 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * fold-const.c (twoval_comparison_p): Add new arg, SAVE_P; all + callers changed. + (fold, case EQ_EXPR): If SAVE_P is true after call to + twoval_comparison_p, call save_expr on the expression we make. + +Mon Aug 23 07:57:41 1993 Michael Meissner (meissner@osf.org) + + * i386/osfrose.h (CC1_SPEC, CPP_SPEC): If NO_UNDERSCORE is + defined, the ELF compiler defaults to -mno-underscores to remove + leading underscores. Clean up ROSE -pic options so that they are + never passed when building ELF objects. + * i386/osfelf.h: Likewise. + +Sun Aug 22 23:36:24 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * expr.c (expand_builtin_apply): Fix typo. + + * pa.md (untyped_call): New define_expand. + +Fri Aug 20 12:24:50 1993 Ian Lance Taylor (ian@spiff.gnu.ai.mit.edu) + + * gcc.c (main): Correct August 6 change. + +Thu Aug 19 19:19:19 1993 Jim Wilson (wilson@cygnus.com) + + * combine.c (simplify_shift_const, XOR case): When applying + distributive law, use shift_mode and GET_MODE (varop) instead of + result_mode. + +Thu Aug 19 08:28:50 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * rs6000.md (scc): Fix typo in scc with compare and set. + + * combine.c (can_combine_p): Don't reject SUBREG assignments here. + (subst): Instead, do it here, but also allow it in as a + nested SUBREG since the inner one will be eliminated. + (simplify_and_const_int): Convert (and (neg X) (const_int 1)) + to a shift when X is known to be either 0 or 1. + + * fold-const.c (fold): Handle EQ_EXPR and NE_EXPR where both + args are comparisons or BIT_AND_EXPR with constant 1. + +Wed Aug 18 23:37:05 1993 Jim Wilson (wilson@cygnus.com) + + * mips.h (SELECT_SECTION): Put object in sdata only if size is + known, i.e. greater than 0. + +Wed Aug 18 17:48:51 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * combine.c (try_combine): Don't split a PARALLEL of a SIGN_EXTEND + and the object being sign extended if we have made assumptions + about the form the I2DEST. + + * combine.c (nonzero_bits): Handle case when BYTE_LOADS_EXTEND is + not on and we are asked for something in a mode wider than it. + +Wed Aug 18 02:21:35 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * pa.md (movdf insn): Distinguish between offsettable and + nonoffsettable memory locations when loading/storing a GR. + (movdi insn): Likewise. Loading a DImode constant can take as + many as 4 insns (length of 16 bytes). + + * pa.md (zero_extendqihi2): No need to explicitly set a length; + the defaults are correct. + (zero_extendqisi2, floatsisf2, floatsidf2): Likewise. + (fix_truncdfsi2, fix_truncsfdi2, fix_truncdfdi2): Likewise. + + * pa.c (emit_move_sequence): Check both reload_in_progress and + reload_completed when choosing a scratch/temporary register. + + * pa.h (TARGET_KERNEL): Delete switch and all references to it. + * pa.c (emit_move_sequence): Always handle secondary reloads for + symbolic addresses. + (secondary_reload_class): Symbolic operands always need a secondary + reload from R1_REGS if their target class is not R1_REGS. + * pa.md (HIGH for symbolic operands): TARGET_KERNEL version is now + the only choice. Delete ! TARGET_KERNEL version. + + * pa.h (DEFAULT_GDB_EXTENSIONS): GDB extensiosn are on by default. + * pa-hpux.h (DEFAULT_GDB_EXTENSIONS): Turn GDB extensions off. + * pa-hpux7.h (DEFAULT_GDB_EXTENSIONS): Likewise. + + * pa.h (TARGET_GAS): New target flag to control use of GAS + specific assembler directives. + (TARGET_SWITCHES): Support -mgas and -mno-gas. + (ASM_DECLARE_FUNCTION_NAME): If TARGET_GAS then emit .PARAM + directives for static functions so argument relocations work. + * pa-ghpux.h (TARGET_DEFAULT): Enable TARGET_GAS. + * pa-gux7.h, pa-utahmach.h, pa.h (TARGET_DEFAULT): Likewise. + * pa1-ghpux.h, pa1-utahmach.h, pa1.h (TARGET_DEFAULT): Likewise. + + * pa.c (hppa_legitimize_address): Rework address computation for + x[n - m] so that problems with implicit space register selection + are avoided. - * 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). + * pa.h (EXTRA_CONSTRAINT): Delete unused 'S' constraint. + * pa.md (call_internal_symref): Make pattern unavailable if + TARGET_LONG_CALLS. + (call_value_internal_symref): Likewise. - * cp-pt.c (type_unification): Only check that ARGS is a TREE_LIST if - it's non-null. +Mon Aug 16 18:47:56 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - These four are from Niklas Hallqvist: + From parkes@uiuc.edu: + * encore.h, ns32k.h (ASM_OUTPUT_ADDR_DIFF_ELT): Use .double instead + of .word. + * ns32k.h (CASE_VECTOR_MODE): Now SImode; was HImode. + * ns32k.md (tablejump): Now SImode and uses cased. - * cp-search.c (compute_visibility): Use the main variant when - testing if a member function belongs in the current class. + * fold-const.c (fold, case EQ_EXPR): Re-enable converting + signed MOD operations to unsigned when inside comparisons + against zero, but only when the second operand of the MOD + is an integral power of two. - * 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). +Mon Aug 16 12:38:28 1993 John Hassey (hassey@dg-rtp.dg.com) - * 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. + * fixinc.dgux: Fixed va_list problem in _int_varargs.h - * cp-decl.c (grokdeclarator): Instead of an assert, return a - NULL_TREE if the return_type's not return_ctor. +Mon Aug 16 11:26:57 1993 Kevin Buettner (kev@spuds.geg.mot.com) - Sat Dec 12 23:52:25 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * configure (m88k-mot-sysv4*): Added new configuration for m88k + delta machines running svr4. - * cp-dem.c (cplus_demangle): Recognize 'S' for signed char. - (do_cuv_prefix): Print out "signed" for it. + * config/m88k/mot-sysv4.h: New file. - Fri Dec 11 19:36:36 1992 Brendan Kehoe (brendan@lisa.cygnus.com) +Mon Aug 16 11:16:32 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) - * cp-cvt.c (convert_to_reference): Fix a typo about when to return - the result of a type conversion. + * combine.c: (use_crosses_set_p): Check for partially overlapping + hard regs. - Tue Dec 8 20:05:25 1992 Mike Stump (mrs@cygnus.com) +Sun Aug 15 20:17:20 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * cp-cvt.c (convert_to_reference): If a conversion can be found via - a constructor, then use it. + * reorg.c (find_end_label): If a suitable RETURN insn exists at + the end of the current function, place a label in front of it for + the end_of_function_label. - Fri Dec 4 13:53:01 1992 Brendan Kehoe (brendan@lisa.cygnus.com) +Fri Aug 13 16:40:03 1993 Pat Rankin (rankin@eql.caltech.edu) - * cp-lex.c (init_lex): Delete inits for CARD_EXPR and SET_LE_EXPR, - since we never actually use them. + * c-typeck.c (check_format): For scan of "%[", skip over scan set + til closing ']' to avoid processing it as ordinary format characters. - Thu Dec 3 19:20:14 1992 Brendan Kehoe (brendan@lisa.cygnus.com) +Fri Aug 13 16:02:23 1993 Chip Salzenberg (chip@fin.uucp) - * cp-decl.c: Include sys/types.h for systems that need things for - signal.h. + * c-common.c (declare_hidden_char_array): New function to + factor out duplicate code in declare_function_name. + Don't set DECL_EXTERNAL (which is illegal without TREE_PUBLIC) + to prevent output; instead, set TREE_ASM_WRITTEN. + (declare_function_name): Use declare_hidden_char_array. - Wed Dec 2 15:51:34 1992 Mike Stump (mrs@cygnus.com) +Fri Aug 13 14:58:52 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * config/ns32k/encore.h (ASM_OUTPUT_ALIGN_CODE): Override as no-op. - Wed Dec 2 14:44:41 1992 Brendan Kehoe (brendan@lisa.cygnus.com) +Fri Aug 13 14:29:17 1993 Stephen Moshier (moshier@world.std.com) - * cp-call.c (convert_harshness): If parm's null for a reference (as - can be passed in), return 0. + * sparc.h (LONG_DOUBLE_TYPE_SIZE): Define to 128. - Tue Dec 1 18:05:20 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * real.c (GET_REAL, PUT_REAL): Add TFmode versions. + (MAXDECEXP, MINDECEXP): New decimal exponent limits + that vary with definition of LONG_DOUBLE_TYPE_SIZE. + (endian, ereal_atof, real_value_truncate, einfin, emdnorm, asctoeg): + Add cases for TFmode. + (etartdouble): New function converts REAL_VALUE_TYPE to TFmode + for use by ASM_OUTPUT_LONG_DOUBLE. + (edivm, emulm): Ifdef out, replace by faster multiply and divide. + (etoe113, toe113, e113toe): New type conversions for TFmode. + (asctoe113, e113toasc): New TFmode binary <-> decimal conversions. + (at top level): Define constants ezero, eone, emtens, etens, ... + in a new 20-byte format when LONG_DOUBLE_TYPE_SIZE = 128 and + set NE to 10. Otherwise, the internal format remains 12 bytes wide. + (etoudi, etodi, ditoe, uditoe): New functions, signed and unsigned + DImode float and fix, for real.c used in a libgcc-of-last-resort. + (esqrt): New function, correctly rounded square root for libgcc. + (etodec): Delete ifdef'd version. + (eroundi, eroundui): Rename to efixi, efixui and always + round towards zero. - * 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. + From frank@atom.ansto.gov.au (Frank Crawford): + (etoibm, toibm, ibmtoe): New conversions for IBM 370 float format. + (e53toe, e64toe, toe64, etoe53, toe53, etoe24, toe24, asctoe53, + asctoeg, make_nan): Ifdef for IBM. - * cp-type2.c (build_functional_cast): Revert change of Nov 2, - concerning clearing the TREE_VALUE of a default parameter. + * real.h (REAL_VALUE_TYPE): Define array at least 20 bytes wide + if LONG_DOUBLE_TYPE_SIZE is 128 bits. + (etartdouble): Declare and use for REAL_VALUE_TO_TARGET_LONG_DOUBLE + when long double is TFmode. + (REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX): Must always round + towards zero. - Tue Dec 1 11:09:50 1992 Brendan Kehoe (brendan@lisa.cygnus.com) +Fri Aug 13 07:50:42 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * expr.c (expand_expr, case SAVE_EXPR): Set MEM_IN_STRUCT_P + appropriately when the result is a MEM. - * cp-method.c (icat): Handle an argument of `1' first, since it's - the most common case. + * integrate.c (expand_inline_function): Copy args that are in + hard regs instead of substituting them directly into insns. - Tue Dec 1 02:36:28 1992 Mike Stump (mrs@cygnus.com) + * rs6000.md (subsi3): Merge alternatives. + (comparison patterns): Eliminate generation of "sfi."; no such + instruction exists. - * 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. +Thu Aug 12 21:24:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Tue Dec 1 02:20:32 1992 Mike Stump (mrs@cygnus.com) + * config/m68k/sun3.h (CPP_PREDEFINES): Define _CROSS_TARGET_ARCH. - Wed Nov 25 18:25:06 1992 Jim Wilson (wilson@sphagnum.cygnus.com) +Thu Aug 12 19:02:47 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-decl.c (pushdecl): Clear DECL_CONTEXT for local declarations. + * rs6000.md (attribute "type"): Add new type, "branch". + (attribute "length"): New attribute; put on all insns that don't + have default length. + (branch patterns): If conditional branch won't reach, take + conditional branch around an unconditional branch. - Mon Nov 30 15:36:43 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * rs6000.md (plus): Split (plus (COMPARISON FOO ...) ...) at FOO. - * cp-decl.c (finish_decl): Only complain about uninitialized consts - in the case where we haven't seen a previous decl/init of it. +Thu Aug 12 14:04:40 1993 Michael Meissner (meissner@osf.org) - Thu Nov 26 11:22:12 1992 Mike Stump (mrs@cygnus.com) + * i386/osfrose.h (SUBTARGET_SWITCHES): Add -munderscores and + -mno-underscores. + (CPP_SPEC): If -mno-underscores, define __NO_UNDERSCORES__. + (LPREFIX): Redefine, to take -m{,no-}underscores into account. + (ASM_GENERATE_INTERNAL_LABEL): Ditto. + (ASM_OUTPUT_INTERNAL_LABEL): Ditto. + (ASM_OUTPUT_LABELREF): Ditto. - * c++: Put a newline after for arg and before do, as ``for arg do'' - is not accepted by all shells. + * i386/osfelf.h (CPP_SPEC): If -mno-underscores, define + __NO_UNDERSCORES__. - Mon Nov 23 13:21:43 1992 Brendan Kehoe (brendan@cygnus.com) + * c-decl.c (pushdecl): Don't give nested warning messages if + DECL_IN_SYSTEM_HEADER is set in order not to give warnings when + defining new instances of __FUNCTION__ and __PRETTY_FUNCTION__. - * c++ (-lm): Also recognize -lmath as a math library. +Thu Aug 12 13:42:04 1993 Jim Wilson (wilson@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). + * sparc.c (legitimize_pic_address): Delete 4th arg SCRATCH. + Fix all callers. + (emit_move_sequence): Delete 3rd arg SCRATCH_REG. Fix all + callers. If operand1 is an invalid PIC address, then legitimize + it before doing anything else. + * sparc.h (SECONDARY_INPUT_RELOAD_CLASS): Delete case for invalid + PIC addresses. + (CONSTANT_ADDRESS_P): Reject invalid PIC addresses. + (LEGITIMATE_PIC_OPERAND_P): New macro. + (GO_IF_LEGITIMATE_ADDRESS): Reject invalid PIC addresses. + (LEGITIMIZE_ADDRESS): Fix call to legitimize_pic_address. + * sparc.md (reload_insi): Delete. + (*): Fix all callers of legitimize_pic_address and emit_move_sequence. - * 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'. + * sched.c (sched_analyze_insn): Handle USE before a JUMP_INSN just + like a USE before a CALL_INSN. + * function.c (thread_prologue_and_epilogue_insns): For the + epilogue, put USE insns immediately before the return insn. - * cp-decl.c (start_decl): If grokdeclarator returns a - void_type_node, return a NULL_TREE. + * sparc.h (ASM_OUTPUT_DOUBLE): Always use REAL_VALUE_TO_TARGET_DOUBLE. + (ASM_OUTPUT_FLOAT): Always use REAL_VALUE_TO_TARGET_SINGLE. - * 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. +Wed Aug 11 19:48:24 1993 Per Bothner (bothner@kalessin.cygnus.com) - Sat Nov 21 02:33:28 1992 Brendan Kehoe (brendan@cygnus.com) + * tree.c (get_file_function_name): New function + for language-independent constructor name generation. + * objc-act.c (build_module_descriptor): Use it. + * tree.h (CONSTRUCTOR_NAME_FORMAT): Removed. - * cp-init.c (expand_default_init): Clear DECL_REGISTER if we're - going to call a ctor, otherwise we may end up generating bogus and - confusing error messages about taking the addr of something declared - to be `register'. +Wed Aug 11 19:50:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * cp-typeck.c (build_x_function_call): Recognize a ptr-to-method - that is being passed in as a function argument or as part of - a COMPONENT_REF. - (build_indirect_ref): If ERRORSTRING is NULL (it's passed in that - way in many places), then don't try to use it. + * reorg.c (try_merge_delay_insns): Fix typo. + (fill_simple_delay_slots): Only access the JUMP_LABEL field + if the INSN needing delay slots is a JUMP_INSN. - Sat Nov 21 01:49:34 1992 Brendan Kehoe (brendan@cygnus.com) +Wed Aug 11 15:09:52 1993 Michael Meissner (meissner@osf.org) - Work towards 64-bit support, and still more housecleaning. + * c-typeck.c (output_init_element): Don't call default_conversion + for a STRING_CST if type is directly suitable for it. + (digest_init): Eliminate a lot of code that checks the variable + 'element', since element is always 0 in these code paths. - * 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 *'). +Wed Aug 11 17:59:28 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Thu Nov 19 01:41:58 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * combine.c (combine_instructions): Fix typo on test of basic block + number. - * cp-dem.c (do_builtin_type): Recognize `w', a wide character, since - it's now a type according to the ANSI X3J16 working paper; output - "wchar_t" for it. - (cplus_demangle): Accept `w' as an integral type. +Wed Aug 11 17:44:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-lex.c (init_lex): Delete duplicate setting of `__pl'. + * configure (m68k-hp-bsd4.4*): Add missing *; + move before m68k-hp-bsd*. - Wed Nov 18 21:29:14 1992 Brendan Kehoe (brendan@cygnus.com) +Wed Aug 11 09:21:56 1993 Ian Lance Taylor (ian@cygnus.com) - * cp-class.c (finish_struct): Re-enable code to cut down on the size - of symbol output, the positives outweigh the negatives. + * fixincludes: Get SIZE_TYPE by invoking gcc rather than cc; gcc + location is passed in as fourth argument. + * Makefile.in (stmp-fixinc): Depend upon xgcc and cpp; pass + objdir/xgcc -Bobjdir/ as fourth argument to $(FIXINCLUDES). - Wed Nov 18 19:51:59 1992 Mike Stump (mrs@cygnus.com) +Tue Aug 10 15:12:11 1993 Jim Wilson (wilson@cygnus.com) - * cp-search.c (dfs_walk): Move setting of - vbase_decl_ptr_intermediate out of #ifdef code. + * cse.c (cse_insn): After inserting src_eqv, check to see if it is + identical to any uninserted SET_SRCs, and if so, set their src_elt + to src_eqv_elt. - Wed Nov 18 18:49:13 1992 Mike Stump (mrs@cygnus.com) +Tue Aug 10 12:56:46 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * cp-decl.c (grokdeclarator): Make wording on error message - stronger. + * pa.h (DOLLARS_IN_IDENTIFIERS): Define as 2. - Tue Nov 17 17:46:11 1992 Brendan Kehoe (brendan@cygnus.com) +Mon Aug 9 19:02:49 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) - * cp-search.c (CHECK_convert_pointer_to_single_level): Don't define. + Merged fixproto stuff from Cygnus. - Mon Oct 5 03:10:14 1992 Mark Eichin (eichin at tweedledumber.cygnus.com) + Fri Aug 6 12:23:04 1993 Per Bothner (bothner@kalessin.cygnus.com) - * c++ (numargs): $# was used after set was called; instead, save - $# in $numargs and use that value instead. + * fixproto, Makefile.in: Rename tmp.[ci] -> fixtmp.[ci]. -Fri Jan 8 18:11:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Tue Aug 3 22:24:58 1993 Per Bothner (bothner@kalessin.cygnus.com) - * cccp.c (rescan): Prevent token pasting before macro call. - (macroexpand): Prevent token pasting around an arg unless it's raw. + * fixproto: Find not only nested directories, but also + links to directories. - * c-lex.c (yylex): Don't allow @ in identifier outside of Objective C. + Mon Aug 2 18:58:35 1993 Per Bothner (bothner@kalessin.cygnus.com) -Fri Jan 8 15:03:52 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * fixproto: Add kludge to getting hit by double globbing. + * scan-types.sh: Fix to emit #define, not a typedef. + * patch-header.c (main): Make sure to print a space after + a function name when we didn't see a '('. + * Makefile.in (stmp-fixproto): Fix so (/*...*/) becomes (). - * pa.c (plus_xor_ior_operator): New predicate. + Fri Jul 30 17:18:22 1993 Per Bothner (bothner@kalessin.cygnus.com) -Fri Jan 8 13:09:47 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * fixproto: Append seen files to fixproto.list file, + instead of done_files variable (which could become too long). + * fixproto: Don't generate a huge rel_souce_files variable + (which might become too long); instead loop over directories. + * fixproto: Remove signal() from list of required functions + for signal.h, because we can't grok its complicted prototype. + * Makefile.in (mostlyclean): Also delete fixproto.list. - * 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. + Thu Jul 29 12:43:53 1993 Per Bothner (bothner@kalessin.cygnus.com) - * function.c (assign_parm): Fix typo introduced by previous change. + * scan-decls.c (skip_to_enclosing_brace): New function. + * scan-decls.c (main): After a parameter list, skip + any following function body (usually for inline functions). - * configure (486 targets): Set cpu_type to i386. + * fixproto: Fix to make sure stdlib.h and unistd.h get + the proper required_list, even when they need to be created. + * fixproto: Direct cpp error messages to /dev/null. + * patch-header.c: Make less verbose. -Fri Jan 8 03:48:27 1993 James Van Artsdalen (james at bigtex.cactus.org) + Wed Jul 28 16:12:39 1993 Per Bothner (bothner@kalessin.cygnus.com) - * i386/perform.h: New file. perform_* macros for i386. - * i386/386bsd.h,i386/osfrose.h,i386/mach.h (perform_*): Move - perform_* macros to new file. + * fixproto: Rewrite to use a case statement instead of eval to + set required_list and extra_check_list. + * fixproto: Simplify remaining call to tr improving portability. -Thu Jan 7 19:03:56 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + * scan-decl: Recognize inline functions, emitting typecode 'I'. + * patch-header (read_scan_file): Handle inline functions. + * patch-header (read_scan_file): Fix thinko. Rename variable. - * 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. +Mon Aug 9 17:47:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Jan 7 18:21:52 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * c-typeck.c (build_c_cast): For (void *) (FOO *) 0, return a nop_expr + so it doesn't count as a null pointer constant. + (convert_for_assignment, build_binary_op): Pedantically warn about + that case if looking for a null_pointer_constant. + (build_conditional_expr): Likewise. - * 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. + * ns32k.c (output_move_double): Fix typos in last change. - * config/vax, config/convex: New directories; all files moved. - * configure (vax-*, convex-*): Files now in subdirectories. + * expr.c (store_expr): Don't return TEMP if it's a MEM. -Thu Jan 7 17:31:36 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Mon Aug 9 15:26:27 1993 Jim Wilson (wilson@cygnus.com) - * Makefile.in (specs): Use GCC_FOR_TARGET. + * varasm.c (assembler_variable): For XCOFF_DEBUG, restore section + if dbxout_symbol call changes it. - * Makefile.in (install-common): Install c++ and g++ only if cc1plus - built. + * sched.c (schedule_insns): Don't emit a NOTE at the end of the last + basic block if that would put it between a JUMP_INSN and a BARRIER. - * fixincludes: fix the rename prototype on the rs6000 , - which conflicted with c++ use of new + * mips.h (OPTIMIZATION_OPTIONS): Use |=, not &= to set -mpgopt. + * mips.c (function_arg, DFmode case): Set regbase to GP_ARG_FIRST + if cum->arg_number greater than or equal to 2. - * c-decl.c (start_decl): Correct order of parameter declarations. +Mon Aug 9 07:31:07 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Jan 7 16:52:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * optabs.c (widen_operand): New function. + (expand_binop, expand_unop): Call it. - * config/romp/x-romp (CC): Add -U__STDC__. +Sun Aug 8 17:32:04 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Jan 7 05:30:10 1993 Torbjorn Granlund (tege@sics.se) + * combine.c (num_sign_bit_copies): Properly handle case when MODE is + narrower than that of X. + (simplify_shift_const): Remove change of July 26. - * libgcc2.c (__udiv_w_sdiv): Replace hard-coded constants 31 with - (SI_TYPE_SIZE - 1). +Sun Aug 8 17:26:57 1993 Jim Wilson (wilson@cygnus.com) - * pa.md: Add floating point ld/st indexed patterns. + * sparc.c (sparc_type_code): Support range types. - * pa.md (reg 112:SI recognizers): Remove. - (main move:SI recognizer): Add alternative for greg -> reg 112. + * expr.c (expand_increment): Call save_expr on inner expression if + it is itself an increment expression. - * pa.md (floatsisf2 patterns): Put output template here, don't - call output_floatsiXf2. - (floatsidf2 patterns): Likewise. - * pa.c (output_floatsisf2, output_floatsidf2): Remove. + * configure (*-*-riscos*): Set broken_install. + (mips-*-riscos[56789]sysv4): Use xm-sysv4.h. + * mips/xm-sysv4.h: New file. + * mips/svr3-5.h, mips/svr4-5.h (_SC_PAGE_SIZE): Define to + _SC_PAGESIZE if that exists. - * 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. + * sparc.h (CONST_DOUBLE_OK_FOR_LETTER_P): Use fp_zero_operand. + * sparc.c (reg_or_0_operand): Use fp_zero_operand. + (fp_zero_operand): New function. - * pa.md (ashlsi3, ashrsi3, lshrsi3): Rewrite not to mention SAR. - (zvdep32, vextrs32): New named recognizers. - * pa.h (FIXED_REGISTERS): Make register 112 (SAR) not fixed. + * c-typeck.c (build_array_ref): Force array to be allocated on the + stack if it is accessed by out-of-bound constant integer subscript. -Thu Jan 7 00:38:02 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * configure (mips-*): Standardize indentation. + (mips-*-*bsd*): Use t-bsd and t-bsd-gas. + (mips-*-*sysv4*): Use t-svr4 and t-svr4-gas. + (mips-*-*sysv*): Use t-svr3 and t-svr3-gas. + * mips/t-bsd, mips/t-bsd-gas, mips/t-svr3, mips/t-svr3-gas, + mips/t-svr4, mips/t-svr4-gas: New files. - * objc/object.m (+ error:, - error:): Use _objc_error. +Sun Aug 8 11:33:51 1993 John F Carr (jfc@Athena.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. + * expmed.c (SLOW_UNALIGNED_ACCESS): Define, but allow override. + (store_bit_field): Test that instead of STRICT_ALIGNMENT. + Also, allow fetching as non-bitfield if memory is aligned enough. + (extract_bit_field): Install code here like that in store_bit_field. -Wed Jan 6 20:38:20 1993 Brendan Kehoe (brendan@cygnus.com) +Sun Aug 8 04:26:21 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * alpha.h (ASM_FILE_START): Change .verstamp ident for BL10. - * alpha.md (div/mod): Change calling sequence to agree with BL10. + * expr.c (expand_assignment): If WANT_VALUE is 0, return NULL. + (store_expr): Likewise. + Rename arg SUGGEST_REG to WANT_VALUE. + Never return TARGET if WANT_VALUE unless BLKmode. + Instead, return TEMP or a value copied from TARGET. + Pass 0 for WANT_VALUE in recursive calls that ignore value. -Wed Jan 6 19:54:05 1993 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * varasm.c (contains_pointers_p): New function. + (assemble_variable): Use that. - * 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. + * toplev.c (rest_of_decl_compilation): Don't look at DECL_IGNORED_P. + Don't output a read-only initialized extern variable. -Wed Jan 6 19:03:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-common.c (declare_function_name): Set DECL_EXTERNAL in the decls. - * config/sparc/sol2.h (CPP_SPEC, LIB_SPEC, LINK_SPEC): - Add -compat-bsd conditionals. +Sat Aug 7 22:25:42 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cccp.c (main): Implement -iwithprefix. + * c-typeck.c (process_init_element): Don't call clear_momentary + if value is 0. -Wed Jan 6 18:13:13 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) +Sat Aug 7 15:53:06 1993 Doug Evans (dje@canuck.cygnus.com) - * pa.c (print_operand): Always use "<>" instead of "!=". + * caller-save.c (MAX_MOVE_MAX, MAX_UNITS_PER_WORD): New macros. + (regno_save_mode, regno_save_mem): Use them. + * tm.texi (MAX_MOVE_MAX, MAX_UNITS_PER_WORD): Document them. - * pa.h (target_switches): Add "-mdisable-fpregs" and - "-mdisable-indexing. - (CONDITIONAL_REGISTER_USAGE): If TARGET_DISABLE_FPREGS, then mark - all FP registers as fixed. - * pa.md (indexed loads): Disable if TARGET_DISABLE_INDEXING. - (mulsi3, xmpyu): Disable xmpyu if TARGET_DISABLE_FPREGS. - * configure: Add hppa1.X-hp-utahmach target. - * pa-utahmach.h, pa1-utahmach.h: New files. + * c-decl.c (init_decl_processing): Make long long available to + use for SIZE_TYPE and PTRDIFF_TYPE. -Wed Jan 6 11:20:59 1993 Michael Collison (collison at osf.org) +Sat Aug 7 14:47:12 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * expr.c (convert_move): Support new modes QFmode and HFmode. + * config/ns32k/ns32k.md (strict_low_part add/subtract recognizers): + Use %2, not %1, in template. - * optabs.c (init_optabs): Add optab entries for QFmode and HFmode. +Sat Aug 7 07:40:28 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * reload1.c (init_reload): Add entries in 'reload_in_optab' - for QFmode and HFmode. + * reload.c (find_reloads): Don't combine two reloads if their + reload_reg_rtx values differ. - * varasm.c (assemble_real): Use `ASM_OUTPUT_BYTE_FLOAT' and - `ASM_OUTPUT_SHORT_FLOAT' for QFmode and HFmode respectively. + * alpha.c (add_long_const): New function. + (output_{pro,epi}log): Use it. + If register save area is more than 32768 from SP, compute its + address into a register. - * machmode.def: Added new modes QFmode and HFmode. + * expmed.c (expand_divmod): Clean up code and documentation, + especially in areas related to when copies are made. -Wed Jan 6 11:29:46 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + * reload.c (push_reload, find_reloads): Treat (subreg (pseudo)) + and (subreg (mem)) the same. + If we have (subreg:M1 (mem:M2 ...) ...), never do anything + special if M1 and M2 are the same size. - * pa.c (fmpyaddoperands, fmpysuboperands): Cleanups suggested by - Tege. - * pa.md (fmpyadd peepholes): Cleanups suggested by Tege. + * tree.c (print_obstack_name): New function; derived from + original debug_obstack. + (debug_obstack): Call print_obstack_name. + * print-tree.c (print_node): Print obstack node is contained in. - * pa.md (movqi, movhi, movsi, movdi, movsf, movdf): Discourage - regclass from preferring anything which involves a FP<->GR copy. +Sat Aug 7 04:47:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * pa.md (millicode expands): Change operand 3 in the expand - pattern from a clobber of a match_scratch to a clobber of a - match_operand with a register predicate. Make appropriate - change in the generated RTL. - (millicode insns): Clobber a match_operand with a register - predicate instead of a match_scratch expression. - * pa.c (emit_hpdiv_const): Likewise. + * c-decl.c (finish_decl): Allow file-scope static incomplete array. - * pa.md (movsi, movhi, movqi, movdi): Use reg_or_0_operand - consistently. +Fri Aug 6 13:03:27 1993 Jim Wilson (wilson@sphagnum.cygnus.com) -Wed Jan 6 02:23:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * expr.c (expand_expr, case PLUS_EXPR): Goto binop2 not + both_summands if we should not be returning a plus. - * cexp.y (yylex): Make tokstart an unsigned char *. +Fri Aug 6 16:35:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Jan 6 10:46:19 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + * config/m68k/m68k.md (call and call_value pic recognizers) [HPUX_ASM]: + Output plain bsr, without `@PLTPC'. - * fixincludes (limits.h): Add #ifndef/#endif around macros that - are supposed to be defined in float.h. +Fri Aug 6 16:12:08 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * fixincludes, fixinc.svr4, fixinc.sco: Don't "make LIB absolute" - if already absolute, to avoid problems with the automounter. + * alpha.c (reg_or_6bit_operand): New function. + * alpha.h (PREDICATE_CODES): Add reg_or_6bit_operand to list. + * alpha.md (shifts): Use reg_or_6bit_operand for shift counts. -Wed Jan 6 02:35:23 1993 Paul Eggert (eggert@twinsun.com) +Fri Aug 6 15:57:58 1993 Ian Lance Taylor (ian@cygnus.com) - * cccp.c (check_preconditions, do_error, do_warning, do_xifdef): - Don't use signed chars to index into arrays; they might be negative. + * gcc.c (main): If standard_startfile_prefix is a relative path, + prepend standard_exec_prefix/MACHINE/VERSION and, if + GCC_EXEC_PREFIX is defined, GCC_EXEC_PREFIX/MACHINE/VERSION. -Tue Jan 5 21:20:29 1993 James Van Artsdalen (james at bigtex.cactus.org) + * configure: If config.status did not change, don't update its + modification time. - * 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. +Fri Aug 6 15:23:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * config/fx80: New directory. - * configure (fx80): fx80 configuration files moved there. + * c-typeck.c (output_init_element): Fix backward test in last change. + Use TYPE_MAIN_VARIANT. - * config/i960: New directory. - * configure (i960): i960 configuration files moved there. +Fri Aug 6 06:43:09 1993 Michael Meissner (meissner@osf.org) - * config/sparc: New directory. - * configure (sparc): sparc configuration files moved there. - * sparc/sol2.h: Renamed from spc-sol2.h. - * sparc/xm-sol2.h: Renamed from xm-spc-sol2.h. - * sparc/xm-sysv4.h: Renamed from xm-spcv4.h. - * sparc/sysv4.h: Renamed from sparcv4.h. - * sparc/x-sysv4: Renamed from x-sparcv4. - * sparc/*.h: Use new file names for included sparc files. - - * config/i860: New directory. - * configure (i860): i860 configuration files moved there. - * i860/bsd.h: Renamed from i860b.h. - * i860/bsd-gas.h: Renamed from i860bg.h. - * i860/mach.h: Renamed from i860mach.h. - * i860/sysv3.h: Renamed from i860v3.h. - * i860/sysv4.h: Renamed from i860v4.h. - * i860/xm-sysv3.h: Renamed from xm-i86v3.h. - * i860/xm-sysv4.h: Renamed from xm-i86v4.h. - * i860/x-sysv3: Renamed from x-i860v3. - * i860/x-sysv4: Renamed from x-i860v4. - * i860/*.h: Use new file names for included i860 files. - - * m68k/tti68k.h: Deleted. - * i386/x-xenix: Deleted. - * i860/i860g3.h: Deleted. - -Tue Jan 5 23:54:36 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) - - * config/pa: New directory. - * config/pa/*.h: Handle PA configuration files in new - subdirectory. - * configure (pa): Likewise. - -Tue Jan 5 23:31:34 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * elxsi, gmicro, tahoe, we32k, spur: New subdirs; files moved. - - * config/harris.h: Include tahoe.h from tahoe/ subdir. - -Tue Jan 5 21:45:56 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - - * fixincludes (Xmu.h): Add missing ${LIB}/. - - * calls.c (expand_call): Pass NULL_RTX to INIT_CUMULATIVE_ARGS. - * function.c (assign_parms): Pass NULL_RTX to INIT_CUMULATIVE_*. - * expr.c (emit_library_call): Pass NULL_TREE to INIT_CUMULATIVE_ARGS. - - * Makefile.in (install-dir): Only make includedir once. - - * cccp.c (do_line): Add pedantic warnings for out of range line - numbers, and non-space characters after the filename. - -Tue Jan 5 15:09:29 1993 Michael Meissner (meissner@osf.org) - - * mips/bsd-4-gdb.h: Renamed from mips-gbsd.h. - * mips/bsd-4.h: Renamed from mips-bsd.h. - * mips/bsd-5-gdb.h: Renamed from mips-5gbsd.h. - * mips/bsd-5.h: Renamed from mips-5bsd.h. - * mips/dec-gosf1.h: Renamed from dec-gosf1.h. - * mips/dec-osf1.h: Renamed from dec-osf1.h. - * mips/iris3-gdb.h: Renamed from irisgdb.h. - * mips/iris3.h: Renamed from iris.h. - * mips/iris4-gdb.h: Renamed from iris4g.h. - * mips/iris4.h: Renamed from iris4.h. - * mips/mips-4-gdb.h: Renamed from mips-gdb.h. - * mips/mips-5-gdb.h: Renamed from mips-5gdb.h. - * mips/mips-5-gdb.h: Renamed from mips-g5.h. - * mips/mips-5.h: Renamed from mips-5.h. - * mips/mips.c: Renamed from mips.c. - * mips/mips.h: Renamed from mips.h. - * mips/mips.md: Renamed from mips.md. - * mips/news4-gdb.h: Renamed from mips-gnews.h. - * mips/news4.h: Renamed from mips-news.h. - * mips/news5-gdb.h: Renamed from mips-gn5.h. - * mips/news5.h: Renamed from mips-n5.h. - * mips/nws3250v4.h: Renamed from nws3250v4.h. - * mips/osfrose.h: Renamed from decrose.h. - * mips/svr3-4-gdb.h: Renamed from mips-gsysv.h. - * mips/svr3-4.h: Renamed from mips-sysv.h. - * mips/svr3-5-gdb.h: Renamed from mips-5gsysv.h. - * mips/svr3-5.h: Renamed from mips-5sysv.h. - * mips/svr4-4-gdb.h: Renamed from mips-gsvr4.h. - * mips/svr4-4.h: Renamed from mips-svr4.h. - * mips/svr4-5-gdb.h: Renamed from mips-5g4.h. - * mips/svr4-5.h: Renamed from mips-5svr4.h. - * mips/t-mips: Renamed from t-mips. - * mips/t-osfrose: Renamed from t-decrose. - * mips/t-ultrix: Renamed from t-decstatn. - * mips/ultrix-gdb.h: Renamed from decstabs.h. - * mips/ultrix.h: Renamed from decstatn.h. - * mips/x-dec-osf1: Renamed from x-dec-osf1. - * mips/x-mips: Renamed from x-mips. - * mips/x-nws3250v4: Renamed from x-nws3250v4. - * mips/x-osfrose: Renamed from x-decrose. - * mips/x-sysv: Renamed from x-mipsv. - * mips/x-ultrix: Renamed from x-decstatn. - * mips/xm-iris3.h: Renamed from xm-iris.h. - * mips/xm-iris4.h: Renamed from xm-irix4.h. - * mips/xm-mips.h: Renamed from xm-mips.h. - * mips/xm-news.h: Renamed from xm-mipsnews.h. - * mips/xm-sysv.h: Renamed from xm-umips.h. - - * mips/* Modify include files as needed for the MIPS files being - in the config/mips subdirectory. - - * halfpic.h, halfpic.c: Eliminate unknown symbol errors when - linking the gen* programs for {i386,dec} OSF/rose, by using BSS - variables instead of extern. - -Tue Jan 5 00:29:45 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c-typeck.c (c_sizeof): Call force_fit_type only for INTEGER_CST. - - * objc/core.c (_objc_alloc): Renamed from _alloc. - (_objc_dealloc, _objc_realloc, _objc_copy, _objc_error): Likewise. - * objc/objc.h: Decls renamed also. - * objc/objc-proto.h: Uses renamed also. - - * config.sub ($os alternatives for sco and isc): - Preserve the specified os version if any. - Each alternative handles both 386 and 486, preserving distinction. - ($basic_machine alternatives for sco and isc): Deleted. - (i[34]86v32, i[34]86v, i[34]86v4): - Handle both cpus together, preserving distinction. - -Mon Jan 4 20:59:37 1993 James Van Artsdalen (james at bigtex.cactus.org) - - * config/ns32k: New directory. - * configure (ns32k): ns32k configuration files moved there. - - * ns32k/*.h: Use new file names for included ns32k files. - - * config/m68k: New directory. - * configure (m68k): m68k configuration files moved there. - - * m68k/sgs.h: Renamed from m68ksgs.h. - - * m68k/*.h: Use new file names for included m68k files. - -Mon Jan 4 18:06:31 1993 Michael Meissner (meissner@osf.org) - - * configure (i386-osfrose): Rename i386 OSF/rose files to - osfrose.h, t-osfrose.h, and x-osfrose.h. - - * i386/osfrose.h: Renamed from i386/rose.h. - * i386/t-osfrose: Renamed from i386/t-rose. - * i386/x-osfrose: Renamed from i386/x-rose. - -Mon Jan 4 11:03:11 1993 Torbjorn Granlund (tege@gnu.ai.mit.edu) + * g++.c (fancy_abort): Provide function in case user does + #define abort fancy_abort when building GCC. - * Makefile.in (install-common-headers): Pipe grep output to /dev/null. +Fri Aug 6 00:15:21 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Jan 4 01:12:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cccp.c (main): If -v, print header search dir list. - * i386/bsd.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): - Alternate definitions if NO_UNDERSCORES. + * c-typeck.c (output_init_element): Call default_conversion here. + Set constructor_erroneous, etc., here. + (process_init_element): Not here. - * c-parse.in (component_declarator): - Allow attribute after nameless field. +Thu Aug 5 20:55:47 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * fixincludes (making dirs and links): If we already made subdirs - for a dir foo and foo turns out to be a symlink outside /usr/include, - after we have made a dir for it in ./root/, make similar subdirs there. + Cygnus<->FSF merge. -Sun Jan 3 07:28:32 1992 Karl Berry (karl@red.cs.umb.edu) + Thu Aug 5 17:07:20 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * x-romp (CC): Add -w. + * cp-class.c (build_vtable, prepare_fresh_vtable): Turn on + WRITABLE_VTABLES stuff that I disabled July 30th. + * cp-pt.c: Include flags.h to get write_symbols. -Sun Jan 3 21:19:50 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + Thu Aug 5 15:50:25 1993 Mike Stump (mrs@cygnus.com) - * pa.h (JUMP_TABLES_IN_TEXT_SECTION): Define. + * cp-class.c (finish_struct): Make DWARF conditional code, really + DWARF conditional (write_symbols == DWARF_DEBUG). + * cp-decl.c (pushtag): Ditto. + * cp-decl2.c (finish_vtable_vardecl): Ditto. + * cp-pt.c (end_template_instantiation): Ditto. + * cp-search.c (dfs_debug_mark): Ditto. - * 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. + Wed Aug 4 15:42:19 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * pa.h (actual_fsize, apparent_fsize): Delete unused variables. + * cp-typeck.c (build_object_ref): Pass the original basetype, not + the type value of it, into build_scoped_ref (completes change of + Jul 1). -Sun Jan 3 20:37:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Wed Aug 4 14:40:35 1993 Mike Stump (mrs@cygnus.com) - * cccp.c (main): Recognize and remove .cxx as filename suffix. + * cp-class.c (related_vslot): Additional check to make sure vslots + are related. + * cp-class.c (modify_vtable_entries): Use DECL_CONTEXT, not + DECL_CLASS_CONTEXT when finding the vtable to put the virtual + function in, as otherwise we might not be able to find secondary + vtables. Ensures that the virtual function pointer will be put in + the correct vtable, instead of the wrong one. + * cp-class.c (modify_vtable_entry): Delete unused argument context. + * cp-class.c (modify_vtable_entries): Ditto. -Sun Jan 3 19:39:18 1993 Michael Meissner (meissner@osf.org) + Tue Aug 3 08:24:50 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * mips.h (MIPS_VERSION): Bump Meissner version number to 34. + * cp-init.c (nc_nelts_field_id): New variable to cache the value of + the "nelts" identifier, to avoid unnecessary calls to get_identifier. + (init_init_processing): Use it. + (build_new): Likewise. + (build_vec_delete): Likewise. - * 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. + * cp-decl2.c (walk_vtables): Make sure the type of VARS isn't an + error_mark_node when we're running down the list. -Sun Jan 3 19:00:29 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * cp-decl.c (grokdeclarator): Give an error and return an + error_mark_node, instead of saying sorry, when we're dealing with a + structure that's not yet been defined. Make sure type isn't an + error_mark_node when looking for an anonymous type. - * 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. + * cp-pt.c (end_template_instantiation): If we're supplying dwarf + debug info, set up the TYPE_STUB_DECL and output the rest of the + debug output for the decl. - * rtl.c (rtx_alloc): Clear common area of rtx in a portable manner. + * cp-search.c (pop_search_level): Change from a macro into a + function, so we can more easily debug it. -Sun Jan 3 13:57:33 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + * cp-search.c (dfs_debug_mark): Only mark the type name as ignored + if we aren't doing dwarf debugging. - * 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. + * cp-typeck.c (build_unary_op): Only allow the prefix operators to + be lvalues, not the postfix ones. - * pa.md (fmpyadd peepholes): New peepholes to issue independent - floating point multiply and add instructions at the same time. - (fmpysub peepholes): Likewise for multiply and subtract instructions. - * pa.c (fmpyaddoperands): Verifys given registers are suitable for - use in fmpyadd instructions. - (fmpysuboperands): Likewise, but for fmpysub instructions. + * cp-decl.c (duplicate_decls): Delete the code that saved and + restored the UID of a decl, it's no longer necessary. - 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. + * cp-call.c (compute_conversion_costs_ansi): Avoid generating + warnings when we call build_type_conversion. - * 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 (). + Mon Aug 2 17:56:36 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * 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. + * cp-decl.c (start_function): Complain about redeclaration of a + template function, being careful to only deal with pre-parsed + declarations that *are* in fact from templates. -Sun Jan 3 07:28:29 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + Fri Jul 30 18:03:10 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * 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. + * cp-class.c, cp-decl.c, cp-pt.c, cp-tree.h: Delete all of the old + code for DEBUG_CP_BINDING_LEVELS, and replace it with a new, cleaner, + and more usable format. -Sat Jan 2 16:35:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Fri Jul 30 17:06:24 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * config.sub: Translate sunos5 to solaris2, and solaris1 to sunos4. + * cp-class.c (build_vtable, prepare_fresh_vtable): Temporarily + disable the change of June 20th making vtables readonly by default. - * tree.c, tree.h (int_size_in_bytes): Change ret type back to int. + Fri Jul 30 14:47:09 1993 Mike Stump (mrs@cygnus.com) - * calls.c (expand_call): Don't use int_size_in_bytes - for a variable-size object. + * cp-init.c (emit_base_init): Make sure we initialize the pointer to + vtables even when we are not in charge. Fixes virtual calls to derived + objects that have a static base type, so that they call derived + functions, not base functions. + * cp-search.c (build_vbase_vtables_init): Change comments to reflect + uses of last argument more accurately. Also rename last argument to + a better name. -Sat Jan 2 15:16:24 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + Wed Jul 28 16:23:52 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * c-parse.in (label): Use expr_no_commas instead of expr for case - labels. + * cp-search.c (build_type_pathname): Deleted fn. + * cp-class.c (build_type_pathname): Moved to here and made static, + since prepare_fresh_vtable is the only fn that ever uses it. + * cp-tree.h (build_type_pathname): Deleted prototype. -Sat Jan 2 03:30:10 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * g++.c (error) [!HAVE_VFPRINTF]: Move before fatal to avoid an + implicit declaration. - * Makefile.in (gcc.o): Define TOOLDIR_BASE_PREFIX. + Wed Jul 28 13:49:58 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) - * gcc.c (TOOLDIR_PREFIX): Define if not defined. - (tooldir_prefix, tooldir_base_prefix): New variables. - (main): Set tooldir_prefix. - Add it (plus `bin' or `lib') to search paths. + * Makefile.in (g++-cross): Add an explicit $(srcdir) for g++.c, pass + the quotes as part of GCC_NAME - * cccp.c (default_include): Look directly in TOOL_INCLUDE_DIR. - * protoize.c (default_include): Likewise. + * g++.c: only define GCC_NAME if it's already undefined - * collect2.c (main): Look for `real-ld' after `gld', before `ld'. - In debug printout, fix typo in prev change. + Tue Jul 27 10:48:30 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Fri Jan 1 13:32:36 1992 Ian Lance Taylor (ian@cygnus.com) + * cp-decl.c (finish_decl): Don't error on uninitialized const + arrays. Use error, not error_with_decl, so we know what really + brought about the problems. - * Makefile.in (cccp.o, protoize.o, unprotoize.o): - Define TOOL_INCLUDE_DIR as $(tooldir)/include. - (test-protoize-simple): Define TOOL_INCLUDE_DIR as 0. + * g++.c: New file, written in C so we don't do so many exec's, as we + did with the shell script. + * g++, c++: Deleted. + * Makefile.in (STAGESTUFF): Added g++ and g++-cross. + (all.cross): Added g++-cross. + (all.build): Depend upon g++. + (g++, g++-cross): New rules. + (install-common): Depend upon g++. Changed installation of g++/c++ + to install the g++ program, and link c++ to it. Likewise for + g++-cross and c++-cross. - * config/i386/linux.h (STARTFILE_SPEC): Removed -L"TOOLDIR"/lib. + Mon Jul 26 09:40:37 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Fri Jan 1 06:26:11 1993 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cp-typeck.c (build_unary_op) [case ADDR_EXPR]: When taking the + address of an increment/decrement operation, act on the thing + being incremented, not the ..._EXPR itself. - * 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. + Fri Jul 23 08:33:32 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Fri Jan 1 17:51:05 1993 Jim Wilson (wilson@sphagnum.cygnus.com) + * cp-call.c (build_method_call): Check DECL_STATIC_FUNCTION_P, not + TREE_STATIC, when validating a method call in a static call context. - * dbxout.c (dbxout_symbol, TYPE_DECL case): Don't output tag which - references incomplete type. +Thu Aug 5 19:18:00 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * fixincludes (sunwindow/{win_cursor.h,win_lock.h}): Change invalid - #ifdef identifier `ecd.cursor' to `ecd_cursor'. + * tree.h (TYPE_OBSTACK): New macro. + (struct tree_type): Add new field obstack. + * tree.c (make_node, copy_node): Set TYPE_OBSTACK. + (build_type_variant, build_type_copy, build_pointer_type): Put + new node in same obstack as old node; use push/pop obstacks. + * stor-layout.c (layout_type): Put size-related nodes in same + obstack as type. + + * reload.c (push_reload, find_reloads): Refine when we reload + inside a SUBREG by respecting BYTE_LOADS_*_EXTEND; see comments + in push_reload. - * c-typeck.c (build_binary_op): Add 'right' and 'left' to shift - count warnings to distinguish them from each other. +Thu Aug 5 14:17:59 1993 Michael Meissner (meissner@osf.org) - * function.c (fixup_var_refs_insn): Update last_parm_insn when - insns are output after it to fix it up. + * i386/osfrose.h (ASM_DECLARE_FUNCTION_SIZE): Enable setting the + size for elf functions. - * sdbout.c (plain_type_1): Distinguish some C integer types by name. +Thu Aug 5 01:44:37 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * Makefile.in (MAKEINFO): New variable, defined to `makeinfo'. + * toplev.c (rest_of_compilation): If not optimizing, turn off + DECL_INLINE for functions declared as inline. Avoid turning on + DECL_INLINE when -finline-functions is used without -O. - * rs6000.h (ASM_FILE_START): Switch to text section at end. - Output declaration for .mcount when profiling. +Thu Aug 5 00:06:45 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Jan 1 12:15:42 1993 Jeffrey A. Law (law@schirf.cs.utah.edu) + * collect2.c (handler): Check whether c_file and o_file are 0. - * 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". +Wed Aug 4 18:06:26 1993 Samuel A. Figueroa (figueroa@cs.nyu.edu) - * 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. + * i386/gas.h (ASM_FILE_START): Write out two backslashes for each + backslash in the filename. - * pa.h (REGISTER_MOVE_COST): Make moving between FP and non-FP - registers more expensive. +Wed Aug 4 18:00:43 1993 Holger Teutsch (holger@hotbso.rhein-main.de) - * pa.h (TARGET_NO_BSS): Delete target switch. Delete all references. + * clipper.md (movdf+2): Allow `f' register as source operand in + first alternative. -Fri Jan 1 07:40:58 1993 Tom Wood (wood@dg-rtp.dg.com) +Wed Aug 4 07:35:03 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * config/m88k: New directory. - * configure (m88k*): Files are now in config/m88k. - * m88k/dgux.h, m88k/dolph.h, m88k/luna.h, m88k/sysv3.h, - m88k/sysv4.h, m88k/xm-sysv3.h: Include files in m88k. - * m88k/t-dgux, m88k/t-m88k, m88k/t-m88k, m88k/t-sysv4: Use - m88k/m88k-move.sh. + * reload1.c (eliminate_regs_in_insn): Always do elimination in + REG_NOTES if we changed anything in the insn. -Thu Dec 31 17:38:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * genattrtab.c: Include gvarargs.h after hconfig.h, like elsewhere. - * gcc.c (do_spec_1): Propagate failure from recursive calls. +Wed Aug 4 01:32:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * i386/386bsd.h (perform_*): Rename macro args to arg0, arg1. + * c-typeck.c (output_init_element): Call digest_init before + calling output_constant. Always pass 0, 0 for last 2 args + to digest_init. -Thu Dec 31 15:42:35 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * expr.c (do_tablejump) [PIC_CASE_VECTOR_ADDRESS]: If pic, + copy INDEX to a register early, to avoid invalid address later. - * sched.c (sched_analyze_1, sched_analyze_2): If before reloading, - record dependences that may be introduced by reload substituting - equivalents for pseudo registers. +Tue Aug 3 23:56:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * sched.c (sched_analyze_2): Use REG_NOTE_KIND not GET_MODE in - add_dependence call. - (sched_analyze_insn): Likewise. + * gcc.c (process_command): Don't check whether file `-' exists. - * sparc.h (LIB_SPEC): When -a, include bb_link.o. +Tue Aug 3 18:52:13 1993 John Hassey (hassey@dg-rtp.dg.com) - * t-sol2 (gmon.o, crt*.o): Change config to $(srcdir)/config. + * configure (m88k-dg-dgux*): Use fixinc.dgux. + * x-dgux (INSTALL_HEADERS): Definition deleted. + * fixinc.dgux: New file. - * reload.c (operands_match_p): For WORDS_BIG_ENDIAN machines, - make multiple register operands equivalent if the last register of - the groups are the same. - (subst_reloads): Use gen_lowpart_common to change mode of - reloadreg. - * reload1.c (emit_reload_insns): Likewise. +Tue Aug 3 17:34:53 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * reload1.c (gen_input_reload): Also handle PLUS of a MEM and - CONSTANT specially. + * calls.c (store_one_arg): Don't pass ARG->STACK as TARGET if it + is a different mode than the expression (i.e., a promoted mode). - * 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. + * combine.c (force_to_mode): Now pass actual AND mask instead + of number of bits; generalize appropriately. + Move most cases from simplify_and_const_int in. + (simplify_and_const_int): Remove most code from here; call + force_to_mode instead. + (subst, make_extraction, make_compound_operation): Change calls + to force_to_mode. + (make_field_assignment): Likewise. + (simplify_comparison): Add call to force_to_mode when + doing a sign bit comparison. + * optabs.c (code_to_optab): New variable. + (init_optab): Initialize it. + * expr.h: Declare code_to_optab. - * sparc.c (print_operand): For invalid operands, call - output_operand_lossage instead of aborting. +Tue Aug 3 15:40:16 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * i960.md (call_internal, call_value_internal): Use 'l' for - match_scratch constraint not 'd'. + * gstddef.h: Test and define __INT_WCHAR_T_H. - * function.c (assign_parms): Emit conversions into a sequence, and - then output the sequence after all parameters have been moved. +Mon Aug 2 22:42:10 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * optabs.c (expand_binop): Correct indentation of doubleword - multiply picture. + * configure (i[34]86-sequent-sysv*): New alternative. + * config/i386/seq-sysv3.h: New file. - * sparc.h (TARGET_SWITCHES): Have -msparclite also clear TARGET_FPU. + * combine.c (struct undo): Rename `rtx' fields to `r'. + (undo_all, SUBST, gen_rtx_combine): Corresponding changes. - * va-i960.h: Define away __extension__ if compiled by GCC v1. +Mon Aug 2 18:53:23 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * combine.c (subst): Move simple operations inside IF_THEN_ELSE + if the IF_THEN_ELSE is in the second operand as well as the first. + (subst, case NEG): Use plus_constant to make a PLUS. + (subst, case MINUS): Simplify (minus 1 (comparison foo bar)). + (subst, case EQ): Add a number of missing cases where + comparisons may be replaced with arithmetic or logical ops. + (subst, case IF_THEN_ELSE): Handle (if_then_else COND (OP Z C1) Z) + in a more general manner. + (simplify_and_const_int): Make AND with gen_binary in case we + can simplify it. - * m68k.h (TARGET_SWITCHES): -m68030 does not imply -m68881. +Mon Aug 2 14:45:43 1993 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) - * 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 %|. + * genattrtab.c (substitute_address): In prototype, don't specify + the arg types of the arg functions. - * m68k.c (strict_low_part_peephole_ok): New function. - * m68k.md: Add peephole to eliminate unecessary clear instructions - in strict_low_part insn sequences. + * config/m68k/x-dpx2 (CLIB): Fix typo. - * configure (elxsi): Move it out of the middle of the sparc section. +Mon Aug 2 06:36:53 1993 John F Carr (jfc@Athena.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. + * local-alloc.c (block_alloc): Don't attempt to allocate a + SCRATCH if it will not fit in scratch_list. - * c-decl.c (pushdecl): Check TREE_PUBLIC in addition to - DECL_EXTERNAL decls when looking for duplicate external declarations. +Mon Aug 2 00:02:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * calls.c (expand_call): Check properly for volatile function. -Thu Dec 31 11:11:30 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) +Sun Aug 1 04:18:23 1993 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. + * c-common.c (decl_attributes): Support attributes `volatile' + with alias `noreturn', and `const'. + * c-parse.in (attrib): Accept those attributes. -Thu Dec 31 08:50:42 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * c-typeck.c (build_binary_op): Warn about ordered comparison + between pointers to complete and incomplete types. - * a29k.h (OBJECT_FORMAT_COFF): Add definition. + * c-parse.in (stmt): In an expr stmt, call default_conversion + for arrays and for functions. - * rs6000/xm-rs6000.h (REAL_NM_FILE_NAME): Delete from here. - * rs6000/rs6000.h (REAL_NM_FILE_NAME): Put it here. + * c-decl.c (finish_struct): No pedwarn for field with enum type + if size matches int. + (grokdeclarator): No error for void type for extern or global var. -Thu Dec 31 01:53:13 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-typeck.c (digest_init): No error for a STRING_CST that already + went through digest_init. + (parser_build_binary_op): Generate a NON_LVALUE_EXPR, not NOP_EXPR, + around a constant value. - * tree.c (build_index_type): Leave TYPE_MAX_VALUE as -1 if it was; - don't truncate the high bits. + * config/m68k/amix.h (ASM_OUTPUT_INTERNAL_LABEL) + (ASM_GENERATE_INTERNAL_LABEL): Definitions deleted. - * Makefile.in (distdir): New target broken out from gcc.xtar. - Depend on $(srcdir)/INSTALL. - (gcc.xtar): Depend on distdir. - (doc): Delete dep $(srcdir)/INSTALL. + * expr.c (do_tablejump): Use PIC_CASE_VECTOR_ADDRESS if defined. + * config/m68k/m68k.h (PIC_CASE_VECTOR_ADDRESS): Defined. + (GO_IF_LEGITIMATE_ADDRESS): If pic, accept LABEL+INDEX. -Wed Dec 30 12:54:53 1992 James Van Artsdalen (james at bigtex.cactus.org) + * c-decl.c (grokdeclarator): Warn here for volatile fn returning + non-void type. + (start_function): Not here. - * i386/i386.c (output_fp_cc0_set): Abort if cc0 user not found. + * c-decl.c (grokdeclarator): Don't pass on const and volatile + fron function value type to function type. - * i386/i386.md (movsf,movdf): Change constraints to use integer regs - for mem-mem copies. +Sat Jul 31 01:48:08 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * i386/i386.h (PREFERRED_RELOAD_CLASS): Don't reload CONST_DOUBLE into - integer regs. + * c-typeck.c (digest_init): Finish getting rid of tail. + Also get rid of old_tail_contents. Don't set free_tree_list. + (free_tree_list): Var deleted. - * jump.c (delete_computation): reg_referenced_p wants body, not insn. + * c-typeck.c (process_init_element): Treat string constants specially + only for arrays of integers. -Wed Dec 30 07:03:49 1992 John F Carr (jfc at Athena.MIT.EDU) +Fri Jul 30 06:49:58 1993 Torbjorn Granlund (tege@sics.se) - * 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. + * expmed.c (mult_is_very_cheap): Delete. + (mult_cost): Delete. + (init_expmed): Delete computation of mult_cost and mult_is_very_cheap. + (expand_mult): Compute mult_cost here for every constant multiplier. + (synth_mult): Return found algorithms through a struct pointer. + +Fri Jul 30 06:45:35 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Wed Dec 30 06:05:07 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * fold-const.c (fold, case NOP_EXPR): Delete a pair of conversions + back to the original type when intermediate type is at least as wide. - * 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. + * combine.c: Remove change of July 21. + (this_basic_block): New variable. + (combine_instructions): Set it. + (try_combine, distribute_links): Use it and basic_block_head + to see if we've gone to a new basic block instead of trying + to reproduce calculation done in flow. + + * stmt.c (expand_return): Don't use jumps for "return x == y" if + they are expensive. + +Fri Jul 30 02:03:12 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * config/i386/i386.md (ffssi2 and ffshi2 recognizers): + Generate unique labels by hand. + +Thu Jul 29 01:47:21 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * c-typeck.c (push_init_level): For braces around scalar, just warn. + (process_init_element): Special handling for {"foo"}. + (struct constructor_stack): New field `replacement_value'. + (push_init_level, really_start_incremental_init): Clear new field. + (pop_init_level): Return the replacement_value if any. + At top level in initializer, output that value, + and set the array size from it. + + * c-typeck.c (digest_init): Delete arg TAIL. Fix all calls. + + * objc-act.c (build_shared_structure_initializer): + Call default_conversion for NAME. + (add_objc_string): Make an ADDR_EXPR to return. + (init_objc_symtab): Make ADDR_EXPR for UOBJC_SELECTOR_TABLE_decl. + + * objc-act.c: Build all CONSTRUCTORs with types. + (build_constructor): New function. All CONSTRUCTOR builds changed. + (init_def_list, init_objc_symtab): New arg TYPE. + (init_module_descriptor): Likewise. + (init_objc_symtab): Pass TYPE arg to init_def_list. + (generate_objc_symtab_decl): Pass TYPE arg to init_objc_symtab. + (build_module_descriptor): Pass TYPE arg to init_module_descriptor. + (build_descriptor_table_initializer): New arg TYPE. + (generate_method_descriptors): Pass TYPE arg to + build_descriptor_table_initializer. + (generate_protocols): Pass TYPE arg to build_protocol_initializer. + (uild_protocol_initializer): New arg TYPE. + (build_ivar_list_initializer): New arg TYPE. + (generate_ivar_lists): Pass TYPE arg to build_ivar_list_initializer. + (build_dispatch_table_initializer): New arg TYPE. + (generate_dispatch_tables): Pass TYPE arg to + build_dispatch_table_initializer. + (build_category_initializer): New arg TYPE. + (build_shared_structure_initializer): New arg TYPE. + (generate_category): Pass TYPE arg to build_category_initializer. + (generate_shared_structures): Pass TYPE arg to + build_shared_structure_initializer. + + * config/i386/x-ncr3000 (CC, OLDCC): Deleted. + * config/i386/xm-sysv4.h [__HIGHC__]: Include alloca.h. + + * convert.c (convert_to_integer): Don't pass truncate into ABS_EXPR. + + * configure: Ignore -enable... and --enable... options. + +Wed Jul 28 20:15:05 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in (compare): Add ./ in tail command. + +Wed Jul 28 15:36:11 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * integrate.c (copy_rtx_and_substitute, case LABEL_REF): If + we turn off LABEL_REF_NONLOCAL_P, increment function_call_count. + + * integrate.c (copy_for_inline, case LABEL_REF): Properly copy + LABEL_REF with LABEL_REF_NONLOCAL_P set. + Copy LABEL_OUTSIDE_LOOP_P flag. + (copy_rtx_and_substitute, case LABEL_REF): Likewise. + (copy_rtx_and_substitute, case CONST): Make recursive call for + a LABEL_REF in the constant pool. + + * c-iterate.c (iterator_loop_{pro,epi}logue): Set TREE_SIDE_EFFECTS + on the MODIFY_EXPRs we make. + Pass const0_rtx as TARGET to expand_expr. + * cp-cvt.c (build_up_reference): Set TREE_SIDE_EFFECTS on MODIFY_EXPR. * stmt.c (expand_return): Likewise. -Wed Dec 30 01:48:38 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * fixincludes: Chmod each copied file a+r. - * fixinc.svr4, fixinc.sco: Likewise. - - * Makefile.in (extraclean): Quote the sharps. - - * expr.c (expand_expr): In NOP_EXPR case, truncate and - reextend integer constants. - -Tue Dec 29 18:21:06 1992 James Van Artsdalen (james at bigtex.cactus.org) - - * 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. - - * i386/sysv3.h: Renamed from i386/svr3.h. - * i386/sysv4.h: Renamed from i386/svr4.h. - * i386/x-sysv3: Renamed from i386/x-svr3. - * i386/xm-sysv3.h: Renamed from i386/xm-svr3.h. - * i386/xm-sysv4.h: Renamed from i386/xm-svr4.h. - - * configure (i386): Use new file names for 386 files. - * i386/*.h: Likewise for included files. - -Tue Dec 29 18:04:13 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * 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. - - * stor-layout.c (layout_record): Avoid overflow in const_size - by adding into var_size instead. - -Tue Dec 29 09:01:33 1992 Tom Wood (wood@dg-rtp.dg.com) - - * configure (m88k-dgux): Use t-m88kdgux. - -Tue Dec 29 06:56:41 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * genemit.c (gen_split): Initialize _val in generated function. - -Tue Dec 29 02:27:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * cccp.c (make_definition): Pass NULL as 3rd arg to do_define. - -Mon Dec 28 14:56:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c-parse.in (stmt, FOR case): Do call position_after_white_space - after recording the current lineno for the increment. - - * config.sub: Default to bsd for *-sequent. - -Mon Dec 28 06:05:12 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * 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. - - * fold-const.c (fold, case BIT_IOR_EXPR): Convert the IOR of a pair - of shifts into a rotate when it is equivalent. - - * 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. - - * combine.c (simplify_comparison, case NEG): Replace large block of - code with equivalent call to num_sign_bit_copies. - - * 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. - - * 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. - -Sun Dec 27 18:33:38 1992 James Van Artsdalen (james at bigtex.cactus.org) - - * config/i386: New directory. - * configure.bat: 386 configuration files moved to new directory. - * configure (i386): Likewise. - Delete lines that duplicate default actions of configure. - - * 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. - - * i386/*.h: Use new file names for included 386 files. - -Sun Dec 27 22:02:09 1992 H.J. Lu (hlu@yardbird.eecs.wsu.edu) - - * 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. - - * Makefile.in: (gcc.o): Add $(MAYBE_TARGET_DEFAULT). - -Sun Dec 27 16:33:13 1992 Tom Wood (wood@dg-rtp.dg.com) - - * m88k.c (block_move_loop, block_move_no_loop, block_move_sequence): - Always set MEM_IN_STRUCT_P. If it wasn't previously set, use BLKmode. - * m88k.md (BLKmode load/store patterns): New. - (call_block_move, call_movstrsi_loop): Allow any mode for the preload. - - * 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. - - * 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. - - * m88kdgux.h (ASM_SPEC): Pass -KVstring given -mversion-string. - - * 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. - -Sun Dec 27 16:08:04 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * hp320.h (ASM_OUTPUT_DOUBLE_OPERAND): Delete spurious space after \. - - * gstddef.h [__sequent__]: #undef _PTRDIFF_T_ at beginning, if defined. - - * reload1.c (emit_reload_insns): Error instead of abort - if an asm has a VOIDmode output operand. - - * 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. +Wed Jul 28 12:17:39 1993 Michael Meissner (meissner@osf.org) -Sun Dec 27 10:48:10 1992 Jeffrey A Law (law@schirf.cs.utah.edu) + * i386/osfrose.h (SUBTARGET_OVERRIDE_OPTIONS): Use this instead of + OVERRIDE_OPTIONS. - * 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. +Wed Jul 28 13:45:13 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sun Dec 27 06:53:39 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * expr.c (expand_expr, case ADDR_EXPR): Treat CONCAT like REG. - * reorg.c (relax_delay_slots): Only look at JUMP_LABEL for a - condjump_p. + * c-decl.c (start_function): Warn if volatile fn returns non-void. - * 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. +Wed Jul 28 13:22:15 1993 Jim Wilson (wilson@cygnus.com) - * combine.c (subst, case SET): Call recog_for_combine with OTHER_INSN, - not UNDOBUF.OTHER_INSN. + * c-parse.in (simple_if, if_prefix, stmt): Undo Jul 7 change. + (if_prefix): Store stmt_count in $$ not $1. + (stmt): Add comment explaining why empty-if warning is here. - * genoutput.c (have_error): New variable. - (error): Set it. - (main): Test it and return FATAL_EXIT_CODE if it is set. + * sparc.c (shift_operand): New function. + * sparc.md (ashlsi3, ashrsi3, lshrsi3): Use shift_operand. - * 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. + * loop.c (strength_reduce): Don't ignore a giv that depends on a + reversed biv. -Sun Dec 27 02:48:27 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * mips/x-sysv (ALLOCA): Define. + * mips-5.h (STARTFILE_SPEC): Define. + * x-iris3: New file. + * configure (mips-sgi-*): Use x-iris3 instead of x-iris. + * Makefile.in (libgcc.a): Do `chmod +w *' between two ar commands. - * cccp.c (macroexpand): Expand each macroarg first time we find a need - to substitute its expansion. - (macarg): Don't expand them here. + * i960.h (INITIAL_FRAME_POINTER_OFFSET): Negate, and subtract 64 + bytes. - * expr.c (expand_expr, constructor case): If we made a stack slot, - set MEM_IN_STRUCT_P if the type warrants it. + * sched.c (schedule_block): Do not emit line number notes before + other notes. - * configure: When testing existence of a config file, specify $srcdir. + * varasm.c (assemble_variable): flag_no_common applies only if + external linkage. -Sat Dec 26 18:12:08 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * calls.c (expand_call): For unaligned arguments on + BYTES_BIG_ENDIAN machines, correct bitfield offset calculations. + * expr.c (move_block_from_reg): New argument SIZE. If SIZE less + than word and BYTES_BIG_ENDIAN, shift block left to align it + before storing it to memory. + * expr.h (move_block_from_reg): Add new argument to prototype. + * function.c (assign_parms): Pass extra argument SIZE to + move_block_from_reg calls. + (locate_and_pad_parm): For !ARGS_GROW_DOWNWARD case, move downward + padding pad_below call after round_up call. + * mips.c (function_arg): Shift all structures less than 4 bytes, + not just those which are QImode or HImode. + * a29k.h, alpha.h, i960.c, m88k.c, pa.c, romp.h, rs6000.h: + Add new parameter to move_block_from_reg calls. - * 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. +Wed Jul 28 12:40:06 1993 Doug Evans (dje@canuck.cygnus.com) - * a29k/unix.h, rs6000/aix32.h, rs6000/mach.h, rs6000/xm-mach.h: - Include main file from subdirectory. + * expmed.c (store_split_bitfield): Fix handling of bitfields that + cross word boundaries, can only handle a word at a time. + (extract_split_bitfield): Likewise. - * 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. +Wed Jul 28 06:44:50 1993 John Hassey (hassey@dg-rtp.dg.com) - * combine.c (gen_lowpart_for_combine): Allow MODE to be wider - than a word in restricted circumstances. + * configure: Use m88k/x-sysv3 for m88k-*-sysv3. + * m88k/x-sysv3: New file, use gnu alloca. - * 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. +Tue Jul 27 13:53:06 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) -Sat Dec 26 17:05:24 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fixproto: Pass '-' to tr as the 1-character range '---'. + * cross-make: Define STMP_FIXPROTO to empty for cross. + * patch-header.c (read_scan_file): Minor re-write to avoid + obstack_copy0, since that uses the non-portable bcopy(). + * Makefile.in (patch-header): Use $(HOST_OBSTACK). + * gen-protos.c (main): Disable obnoxious warning message. - * 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. +Tue Jul 27 16:42:44 1993 John F Carr (jfc@Athena.mit.edu) - * object.m: Include objc.h and stdio.h before object.h. + * fold-const.c (optimize_bit_field_compare): Preserve volatility + of bitfield. -Sat Dec 26 05:12:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Jul 27 01:33:25 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Version 2.3.3 released. + * c-typeck.c (convert_for_assignment): Mismatch in signedness + of pointer targets should not inhibit warnings for const mismatch. -Fri Dec 25 06:53:49 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * function.c (assign_parms): Don't copy too much when extending + parm_reg_stack_loc. - * expmed.c (store_bit_field): If VALUE needs to be narrowed, do - it with gen_lowpart, not an explicit SUBREG. + * config/m88k/m88k.h (ASM_DECLARE_OBJECT_NAME): Don't make a .size + if the size is not known. Use DECL, not decl. + * config/svr4.h, config/i386/osfrose.h: Likewise. - * a29k.md (divsf3): Fix typo in mode of DIV. + * c-typeck.c (set_init_index): Add pedantic warning. + (set_init_label): Likewise. -Fri Dec 25 00:03:26 1992 James Van Artsdalen (james at bigtex.cactus.org) +Tue Jul 27 14:22:48 1993 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) - * Makefile.in (install-dir): Add missing semicolon. + * gstddef.h (_WCHAR_T_H): Test this and define this. - * i386sco4.h (_KR, _SVID, _NO_PROTOTYPE): Define if -traditional. + * configure (m68k-bull-sysv): Test for --stabs; + generate either native coff or dbx-in-coff debugging information. -Thu Dec 24 15:02:29 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/m68k/dpx2.h (CPP_PREDEFINES): added -D_POSIX_SOURCE + -D_XOPEN_SOURCE -D_BULL_SOURCE to the list. + (CPP_SPEC): removed ansi definition. + * config/m68k/dpx2g.h (DBX_DEBUGGING_INFO): Remove this to let gcc + deals with gas and coff. + * config/m68k/dpx2cdbx.h: New file for gas and dbx-in-coff. + * config/x-dpx2 (CLIB): removed -lc_s and added -lmalloc. + (X_CFLAGS): removed -D_SYSV and added -D_POSIX_SOURCE -D_XOPEN_SOURCE + -D_BULL_SOURCE to deal with the posix stuff. - * fixinc.svr4: Don't change bitfield types to int. +Mon Jul 26 17:42:22 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * seq386.h (TARGET_DEFAULT): Override. + * c-typeck.c (digest_init): Add `static' to definition. -Wed Dec 23 20:19:17 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * combine.c (simplify_shift_const): Inhibit hacks based on + num_sign_bit_copies if shift_mode differs from the mode of varop. - * i386sco4.h (CPP_SPEC): Avoid repeated def of _M_SYSV. + * toplev.c (main): When -W sets warn_uninitialized, avoid later warning + if warn_uninitialized is not supported. -Tue Dec 22 15:40:08 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Jul 26 14:14:02 BST 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) - * c-decl.c (store_parm_decls): Use TYPE_MAIN_VARIANT to compare types - when merging info from previous prototype. + * collect2.c (NAME__MAIN, SYMBOL__MAIN): Add default definitions. + (write_c_file, scan_prog_file [OBJECT_FORMAT_ROSE]): + Use macros instead of explicitly __main. - * fixinc.svr4: Add special fixes for netinet/in.h and sys/endian.h. + * function.c (expand_main_function): Likewise. -Mon Dec 21 02:58:27 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * libgcc2.c (__main): Use macro SYMBOL__MAIN instead of invoking + directly. - * m68kv4.h (ASM_OUTPUT_CASE_END): - Use switch_table_difference_label_flag. +Mon Jul 26 16:03:33 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * configure (m68k-motorola-sysv*): Set use_collect2. + * fold-const.c (fold, case EQ_EXPR): Remove code that converts + mod to unsigned mod; it isn't correct for negative operands. -Sat Dec 19 20:19:44 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * toplev.c (strip_off_ending): Allow .ad* for Ada. - * a29k.c (secondary_reload_class): Return CR_REGS for larger than - word memory, and BP_REGS for part-word mem with no DW. +Mon Jul 26 14:06:04 1993 Bill Cox (bill@majipoor.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'. + * c-decl.c (print_lang_decl, print_lang_type): Correct function + headers to match prototype, and calls. -Sat Dec 19 01:32:13 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sun Jul 25 17:01:34 1993 Per Bothner (bothner@kalessin.cygnus.com) - * Makefile.in (all.cross): Add `specs' as dep. + * fixproto: New script to add prototypes and otherwise clean up + system include files (especially for C++ and also gcc -Wimplicit). + * scan-decl.c: New program used by fixproto to analyze header + files (it extracts declarations from cpp output). + * patch-header.c: New program used by fixproto to analyze and + patch header files. + * scan.c: New file. Routines used by scan-decls and + patch-header. + * scan.h: New file. Common declarations. + * gen-protos.c: New file. Massages a list of prototypes. + * Makefile.in: Add fixproto support. + * populate: Deleted. Superseded by fixproto. - * build-make (CC): Delete the -V option. +Sun Jul 25 03:56:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * getpwd.c (getpwd): Don't get upset if ERANGE is not defined. + * c-typeck.c (start_init): Fill in p->next. -Fri Dec 18 20:56:59 1992 John Hassey (hassey@dg-rtp.dg.com) + * config/i386/i386.md (movstrictqi): Change q<-g alternative to q<-m. - * 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. +Sat Jul 24 18:17:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Dec 18 17:17:39 1992 Michael Meissner (meissner@osf.org) + * expr.c (emit_move_insn_1): For complex stack push, + don't use change_address. - * 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. +Sat Jul 24 15:05:50 1993 Per Bothner (bothner@kalessin.cygnus.com) - * 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. + * fixincludes (unistd.h): Generalize AIX fix (for using + C++ keyword new) to unistd.h as well as stdio.h. + * fixincludes (sys/wait.h): Fix NeXT problem with + a 'wait(union wait*)' prototype that breaks Posix.1. + * fixincludes (math.h): For C++, patch AIX's use of + 'class' as function name. - * 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. +Sat Jul 24 02:48:31 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Dec 18 05:14:14 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * function.c (put_reg_into_stack): New subroutine. + (put_var_into_stack): Use that; handle CONCAT. - 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.) + * varasm.c (assemble_variable): For array whose size comes from + the initializer, determine proper alignment here. + (assemble_align): New function. - * cp-decl2.c (grokclassfn): Try using the local value for a nested - type if the IDENTIFIER_TYPE_VALUE isn't there. + * c-typeck.c: Handle gaps in record initializers. + (constructor_bit_index): New variable. + (constructor_stack): New field bit_index. + (really_start_incremental_init, push_init_level): Save and init it. + (pop_init_level): Restore it. + (output_init_element): Update constructor_bit_index. + Use it to output gaps. + (pop_init_level): Speed up by using constructor_bit_index. - * 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'. + * c-typeck.c (process_init_element): Accept STRING_CST for subarray. -Thu Dec 17 17:51:16 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * loop.c (mark_loop_jump): Handle weird cases like jumping to + a symbol_ref. - * Makefile.in (install-dir): Added missing then and semicolon. +Fri Jul 23 15:55:14 1993 Doug Evans (dje@canuck.cygnus.com) -Thu Dec 17 15:19:36 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-tree.h: Fix prototypes for print_lang_decl, print_lang_type. - * x-i386s4 (CC): New assignment. +Fri Jul 23 15:06:05 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Dec 16 15:49:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-typeck.c (start_init): Second arg is now a tree. - * objc-actions.c (finish_objc) [OBJC_SELECTORS_WITHOUT_LABELS]: - Always call build_selector_translation_table. +Fri Jul 23 08:26:43 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * Makefile.in (install-dir): - If cross-compiler, create $(tooldir) and $(assertdir). - -Wed Dec 16 14:19:08 1992 Richard Kenner (kenner at vlsi1.ultra.nyu) - - * rs6000.h (INITIALIZE_TRAMPOLINE): Get function address and toc - pointer from correct place relative to FNADDR. - - * varasm.c (assemble_trampoline_template): If TRAMPOLINE_SECTION - is defined, put the trampoline template into that section. + Cygnus<->FSF merge. + Thu Jul 22 09:54:05 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * alpha.h (TRAMPOLINE_SECTION): New macro. + * cp-decl.c (push_overloaded_decl): Fix typo in warning msg. -Wed Dec 16 14:19:41 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + Tue Jul 20 13:13:18 1993 Mike Stump (mrs@cygnus.com) - * reload.c (get_secondary_mem): Don't save address if it isn't valid. + * cp-class.c (build_vtable, prepare_fresh_vtable): Make the vtables + readonly by default. -Wed Dec 16 13:59:17 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Mon Jul 19 13:16:58 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * varasm.c (assemble_trampoline_template): - Use readonly_data_section, not text_section. + * cp-tree.h (NEW_CLASS_SCOPING): Turn this off for now. -Wed Dec 16 11:32:11 1992 Michael Meissner (meissner@osf.org) + Mon Jul 19 11:04:51 1993 Jason Merrill (jason@rtl.cygnus.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. + * cp-class.c (build_vfn_ref): Rename `index' to `idx'. - * 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. + Fri Jul 16 07:44:49 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Wed Dec 16 07:33:08 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * cp-class.c (finish_struct): Check both if the type has a default + constructor, and if it has a non-const copy constructor, so we'll know + not to generate a const copy constructor for the type we're working on. + * cp-lex.c (cons_up_default_function): Add other front-end debugging + info. + (default_copy_constructor_body): And take it out of here. - * stmt.c (expand_goto): Set LABEL_REF_NONLOCAL_P in the LABEL_REF - we make in the non-local case. + * cp-expr.c (cplus_expand_expr): Add missing arguments to expand_expr. - * varasm.c (assemble_trampoline_template): Always put template in - text section. + Thu Jul 15 16:54:33 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Wed Dec 16 05:04:06 1992 Tom Wood (wood@dg-rtp.dg.com) + * cp-lex.c (default_copy_constructor_body): Also check to copy + anonymous unions, since they don't show up as FIELD_DECLs. + (largest_union_member): New function. - * combine.c (try_combine): Allow for the case where I3 becomes an - unconditional jump when it is the last nonnote insn. + Thu Jul 15 16:23:18 1993 Mike Stump (mrs@cygnus.com) -Tue Dec 15 20:30:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-expr.c (cplus_expand_expr): Use resolve_offset_ref to handle + OFFSET_REFs, as anything else would be wrong. + + Thu Jul 15 13:23:40 1993 Mike Stump (mrs@cygnus.com) - * cccp.c (do_pragma): Use index, not strchr. + * cp-tree.h (CLASSTYPE_INTERFACE_KNOWN, + SET_CLASSTYPE_INTERFACE_UNKNOWN_X, SET_CLASSTYPE_INTERFACE_UNKNOWN, + SET_CLASSTYPE_INTERFACE_KNOWN): New access methods. + * cp-class.c (import_export_vtable, duplicate_tag_error, + finish_struct): Use new access method. + * cp-decl.c: (grokfndecl, grokdeclarator, xref_tag): Ditto. + * cp-gc.c (build_t_desc): Ditto. + * cp-lex.c (set_vardecl_interface_info, make_lang_type): Ditto. + * cp-pt.c (end_template_instantiation, do_pending_expansions): + Ditto. + * cp-search.c (dfs_debug_mark): Ditto. - * seq386.h (FUNCTION_PROFILER): Add missing . to label name. + * cp-decl.c (grok_reference_init): Reword error message. - * reload1.c (eliminate_regs_in_insn): Test old_body, not new_body, - since people have tested it that way. + Wed Jul 14 09:17:18 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * reload1.c (eliminate_regs_in_insn): Don't recopy new_body - if it is an asm_operands insn. + * cp-cvt.c (convert_to_reference): Adjust change of May 30th to + accept more things (and still handle ARM p308 properly). Disable + the old way, but leave it to be properly fixed later. -Tue Dec 15 19:42:58 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + Tue Jul 13 22:43:38 1993 Mike Stump (mrs@cygnus.com) - * sparc.md (return peepholes): Add QImode and HImode move/return - patterns. + * cp-decl.c (get_binfo_from_vfield): New function. + * cp-decl.c (finish_function): Use get_binfo_from_vfield to get the + binfo used to find the vtable for this vfields. Corrects problem + with vtable pointers being wrong during called member functions, + called from destructors. -Tue Dec 15 17:42:07 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + Tue Jul 13 11:52:37 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * alpha.h (ASM_SPEC): New macro. + * cp-decl.c (grokdeclarator): Don't pedwarn about a duplicate long + for `long long', until we figure out how we really want to handle it. - * 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. + Sat Jul 10 14:54:36 1993 Chip Salzenberg (chip@fin.uucp) -Mon Dec 14 13:16:14 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * cp-tree.h (warn_redundant_decls, warn_missing_braces): Declared. + * cp-decl.c (warn_redundant_decls): Not declared here. + * cp-decl2.c (warn_missing_braces): Defined. + (lang_decode_option): Handle -Wmissing-braces. + * cp-type2.c (process_init_constructor): Test warn_missing_braces. - * rs6000.c (output_epilog): Support LANGUAGE_STRING values for F77, - Ada, and Pascal. + * cp-typeck.c (build_binary_op_nodefault): Make warning + message distinguish between right/left and shift/rotate. -Sun Dec 13 16:42:26 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-decl.c (init_decl_processing): When making SIZETYPE, + start with name in SIZE_TYPE. If -traditional, use a signed + version of that type, if it is unsigned. - * fixinc.sco: Complete rewrite by ian@cygnus.com. + * cp-typeck.c (c_sizeof, build_c_cast): Set TREE_OVERFLOW in + addition to TREE_CONSTANT_OVERFLOW. -Sat Dec 12 17:51:43 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * cp-decl.c (finish_enum): Store layout results into variant types. - * va-alpha.h: Correctly form multi-word object. + * cp-typeck.c (internal_build_compound_expr): When pedantic, don't + simplify a COMPOUND_EXPR, so that it won't be mistaken for an + lvalue or an integer constant expression. - * alpha.c (alpha_builtin_savregs): Correctly compute ARGSIZE and NREGS. + * cp-parse.y (program): After extdefs, pop any unpopped binding lvls. - * alpha.h (FUNCTION_ARG_PASS_BY_REFERENCE): Deleted. + * cp-decl.c (grokdeclarator, ARRAY_REF case): Build array type, + and then build the variant array type. -Sat Dec 12 08:42:43 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) + * cp-lex.c (real_yylex): Avoid invalid shift for erroneous empty + char const. - * 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. + * cp-decl.c (complete_array_type): Make maxindex -1 for empty + constructor. - * pa.md (floatsisf, floatsidf): Do not accept general registers. + * cp-type2.c (initializer_constant_valid_p): Allow cast of ptr to + wider integer. -Fri Dec 11 00:13:52 1992 Ian Lance Taylor (ian@cygnus.com) + * cp-decl.c (pushdecl): Copy DECL_FRAME_SIZE for inline function decls. - * 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. + * cp-decl.c (finish_decl): Do not allocate static var of + unknown size. + (complete_array_type): Use 0 as default maxindex. -Fri Dec 11 17:56:53 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) +Fri Jul 23 07:18:20 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-search.c (lookup_nested_field): Check for assignment to members - of an enclosing class only when looking at a member, not at other - things (like nested types). + * function.c (aggregate_value_p): An ARRAY_TYPE is also an aggregate. - * cp-cvt.c (convert_to_reference): If a conversion can be found via - a constructor, then use it. Also fix a typo about when to - return the result of a type conversion. +Fri Jul 23 01:54:28 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Dec 11 08:15:53 1992 James Van Artsdalen (james@bigtex.cactus.org) + * gcc.c (main): Improve "No input files" error message. - * reload1.c (choose_reload_regs): Don't inherit a reload if the - previous reload wasn't at least as wide as the current reload. +Thu Jul 22 23:00:11 1993 Jeffrey A. Law (law@snake.cs.utah.edu) -Fri Dec 11 07:19:11 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * reorg.c (relax_delay_slots): Do not redirect a jump if doing so + invalidates insns in the jump's delay slots. + (redirect_with_delay_slots_safe_p): New function. - * alpha.c (output_epilog): Remove garbage from one decl of EXTRA. - Subtract, not add, size from frame pointer. +Thu Jul 22 18:01:29 1993 John Hassey (hassey@dg-rtp.dg.com) - * a29kunix.h (LINK_SPEC): Use -T, not -c, for new gld and change file - name to default.gld from default.ld. + * invoke.texi, m88k.h, m88k.c: Changed serialize-volatile + to use tb1 instead of fldcr, fldcr has problems on 88110. + Made serialize-volatile the default behavior for all models. - * function.c (assign_outer_stack_local): Align proper frame offset. +Thu Jul 22 11:19:28 PDT 1993 Ron Guilmette (rfg@netcom.com) - * loop.c (get_condition): Check for overflow when canonicalizing - comparison. + * fixinc.svr4 (making LIB absolute): Just concat with $ORIG_DIR. -Thu Dec 10 15:53:41 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * configure: Use `sed' rather than `cat' to put `MAYBE_TARGET_DEFAULT' + definition in. (This is a work-around for an NFS bug.) - * 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. +Thu Jul 22 14:59:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * combine.c (try_combine): Only use I2DEST as a scratch reg for - a split if it does not overlap any inputs of NEWPAT. + * c-typeck.c: Output most constructors an element at a time. + (digest_init): Deleted code for raw constructors. + (process_init_constructor): Function deleted. + (start_init, finish_init): New functions. + (really_start_incremental_init) + (push_init_level, check_init_type_bitfields, pop_init_level) + (set_init_index, set_init_label, process_init_element) + (output_init_element, output_pending_init_elements): New functions. + * c-tree.h: Declare most of those functions. -Thu Dec 10 10:23:28 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * c-parse.in (cast_expr): Use new initializer parsing functions. + (initdcl, notype_initdcl): Likewise. + (init): Likewise. + (initlist_maybe_comma, initlist1): These replace initlist. + (initelt): New nonterminal. + Change specified index syntax to `[INDEX]='. + Change specified field syntax to `.NAME='. - * combine.c (get_last_value): Never use value from later insn, even - if reg is only set once. + * varasm.c (output_constant_def_contents): New function. + (output_constant_def): Use it. + (deferred_constants): New list of constants not yet output. + (defer_addressed_constants): New function. + (output_deferred_addressed_constants): New function. + (make_decl_rtl): Don't ever replace old rtl; + instead, change its mode if necessary. - * c-tree.h (IDENTIFIER_LIMBO_VALUE): Delete duplicate definition. +Wed Jul 21 15:50:19 1993 Jim Wilson (wilson@cygnus.com) -Thu Dec 10 08:54:03 1992 Tom Wood (wood@dg-rtp.dg.com) + * expr.c (expand_expr, COMPONENT_REF case): For unaligned object + in an aligned union, set MEM_IN_STRUCT_P if create a MEM rtx. - * i386sco4.h (CPP_PREDEFINES): Define i386 and unix here. - (CPP_SPEC): Not here. + * sparc.c (output_move_double): Only set highest_first if first reg + of dest overlaps memory src address. Otherwise, if addreg1 set and + is same as second reg of dest, suppress trailing decrement. + + * sparc.md (movdi+1): Delete & from r/i constraint. -Wed Dec 9 19:03:55 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) + From rfg@netcom.com: + * fixinc.svr4 (): Don't apply specialized fixes to + if we are on Solaris. They are not needed in that case. - * pa.h (ASM_DECLARE_FUNCTION_NAME): Correctly get the return type - of DECL. + * combine.c (nonlocal_label_list): New variable. + (combine_instructions): Set it. + (try_combine, distribute_links): CALL_INSN terminates a basic + block if nonlocal_label_list is set. - * x-pa (CC): Set to "/usr/local/bin/gcc" instead of - "/usr/local/gcc". + * config/mips/{bsd-4.h, bsd-5.h, iris3.h, mips.h, news4.h, + news5.h, nws3250v4.h, osfrose.h, svr3-4.h, svr3-5.h, svr4-4.h, + svr4-5.h, ultrix.h} (CPP_SPEC): Define LANGUAGE_ASSEMBLY, not + LANGUAGE_C, when compiling a .s file. -Tue Dec 8 17:50:26 1992 Michael Meissner (meissner@osf.org) + * m68k.h (TARGET_SWITCHES): Recognize -m68851, -mno-68851, + -m68302, -mno-68302, -m68332, -mno-68332. - * 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. + * lynx.h, i386/lynx.h, m68k/lynx.h, sparc/lynx.h: New files. + * i386.h (OVERRIDE_OPTIONS, SUBTARGET_OVERRIDE_OPTIONS): Define. + * m68k.h (TARGET_SWITCHES): Add SUBTARGET_SWITCHES. + (OVERRIDE_OPTIONS): Add SUBTARGET_OVERRIDE_OPTIONS. + (SUBTARGET_SWITCHES, SUBTARGET_OVERRIDE_OPTIONS): Define. + * sparc.h (TARGET_SWITCHES): Add SUBTARGET_SWITCHES. + (OVERRIDE_OPTIONS): Add SUBTARGET_OVERRIDE_OPTIONS. + (SUBTARGET_SWITCHES, SUBTARGET_OVERRIDE_OPTIONS): Define. -Tue Dec 8 11:55:52 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) + * fixincludes (sys/types.h sys/stdtypes.h): Delete newline before + do. + (machine/cpu.h): Delete space in `2>& 1'. - * pa.md (sh[123]add): Use "shadd_operand" as the predicate for - operand one. - * pa.c (shadd_operand): New function. + * config.sub (lynx): Recognize as vendor. + (lynxos): Recognize as OS. + * configure (i386-*-lynxos, sparc-*-lynxos, m68k-*-lynxos): + Recognize as new configurations. -Tue Dec 8 08:30:13 1992 Tom Wood (wood@dg-rtp.dg.com) + * gcc.c (link_command_spec): Move %{T*} after %{L*} and %D. - * 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. + * optabs.c (expand_binop): Synthesize double word shifts and + rotates from single word shifts. + * sparc.md (ashldi3, lshrdi3): Obsolete, deleted. - * 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. +Wed Jul 21 15:55:18 1993 Ian Lance Taylor (ian@cygnus.com) -Tue Dec 8 08:30:13 1992 Niklas Hallqvist (niklas@della.appli.se) + * fixinc.svr4: When fixing ftw.h, preserve remainder of + ftw and nftw declaration; don't just rewrite it. - * integrate.c (expand_inline_function): Don't output line notes - for implicit formals. +Tue Jul 20 23:35:36 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Dec 8 06:21:44 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * collect2.c (is_ctor_dtor): Delete leading _'s from sym names + in `special' table, in neither-dots-nor-dollars case. - * cse.c (max_uid): New variable. - (cse_end_of_basic_block): Use it to ignore insns made by CSE. - (cse_main): Set it. +Tue Jul 20 18:49:09 1993 Michael Meissner (meissner@osf.org) -Mon Dec 7 21:22:29 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) + * i386/osfrose.h, i386/osfelf.h (CC1_SPEC): Don't turn on + -mhalf-pic if ELF. - * cp-init.c (do_friend): Revert change of Sept 1; it seems to have - broken properly emitting friends. + * i386/osfrose.h (ASM_FILE_END): Put filename, sans directory into + the .ident string. -Mon Dec 7 19:09:25 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Tue Jul 20 15:07:06 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * reload1.c (eliminate_regs_in_insn): Make another copy of all the - RTL if we changed something and we aren't permanently replacing. + * combine.c: Add prototypes for static functions. + (subst, case IF_THEN_ELSE): Add missing arg to make_compound_operation. + (make_compound_operation, case ASHIFTRT): Delete extra gen_unary arg. - * romp.md (reload_out{q,h}i): Write as proper PARALLEL. +Mon Jul 19 18:15:48 1993 John F Carr (jfc@Athena.mit.edu) -Sun Dec 6 16:27:14 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * rs6000.c (current_file_function_operand): New function. + * rs6000.h (ENCODE_SECTION_INFO): New macro. + (PREDICATE_CODES): Add current_file_function_operand. + * rs6000.md: Add variants of call and call_value patterns for + calls to functions defined in the same file. Omit the TOC pointer + reload after such calls. - * alpha.md (add-mult): Add missing `&' in constraints of kludge - plus/plus/mult pattern. +Mon Jul 19 13:17:52 1993 Jeffrey A. Law (law@snake.cs.utah.edu) -Sun Dec 6 16:26:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * reorg.c (fill_simple_delay_slots): Try filling any insn needing + delay slots with a JUMP_INSN. - * optabs.c (expand_binop): Correct sign of complex quotient imagpart. +Mon Jul 19 00:33:24 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sun Dec 6 07:59:16 1992 Michael Meissner (meissner@osf.org) + * varasm.c (assemble_variable): New arg DONT_OUTPUT_DATA. + * toplev.c (rest_of_decl_compilation): Pass 0 as DONT_OUTPUT_DATA. - * 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. +Sun Jul 18 15:38:04 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * config/dec-osf1.h (LINK_SPEC): Pass -call_shared, -no_archive, - and -exact_version to the linker. If -call_shared, do not pass - -non_shared to the linker. - * mips-5.h (LINK_SPEC): Ditto. - * mips-5bsd.h (LINK_SPEC): Ditto. - * mips-svr4.h (LINK_SPEC): Ditto. - * mips-sysv.h (LINK_SPEC): Ditto. + * c-typeck.c (c_expand_return): Set TREE_SIDE_EFFECTS + for the MODIFY_EXPR that we make. -Fri Dec 4 19:50:29 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + * stmt.c (expand_return): When expanding assignment into DECL_RESULT, + ignore the "value"--do it for effect. - * fixincludes: fix _cplusplus typo in SCO's tinfo.h + * fold-const.c (fold): Handle CONJ_EXPR. + * c-typeck.c (build_unary_op): Support CONJ_EXPR. + Change BIT_NOT_EXPR to CONJ_EXPR if arg is complex. -Fri Dec 4 19:22:35 1992 Randy S. Welch (randy@kcin.alphacdc.com) +Sun Jul 18 14:22:05 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * xm-plexus.h: New file. - * configure (m68k-plexus-sysv*): Use it. + * function.c (init_function_start): Initialize trampoline_list here. + (expand_function_end): Not here. -Fri Dec 4 19:21:44 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sun Jul 18 01:24:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-decl.c (start_function): Use TYPE_MAIN_VARIANT when comparing - return type with previous prototype declaration. + * c-typeck.c (common_type): Use TYPE_MAIN_VARIANT when preferring + long int to int (when width is the same). - * cccp.c (output_line_command): Use alloca for line_cmd_buf. + * varasm.c (assemble_variable): Move debugging output calls + to after section has been selected. Select the section again + if the debugging output call changes the section. + * dbxout.c (dbxout_symbol_location): Call in_text_section + to decide whether to use DBX_STATIC_CONST_VAR_CODE. -Fri Dec 4 19:20:34 1992 Richard Kenner (kenner@mole.gnu.ai.mit.edu) + * objc-act.c (synth_module_prologue): Call layout_type for the array + type used for _OBJC_SELECTOR_TABLE. - * cse.c (cse_insn): Always pass result of canon_reg through - validate_change before using it in insn. +Sat Jul 17 00:41:52 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-decl.c, cp-decl.c (init_decl_processing): Don't use hardwired - sizes for the modes when making int{Q,H,S,D}I_type_mode and the - unsigned versions of them; the actual size depends on BITS_PER_UNIT. + * expr.c (expand_increment): Convert constant subtract to add + before setting single_insn. Compensate for this when choosing + the tree code to pass to `build'. -Fri Dec 4 19:13:35 1992 Jonas Olsson (ljo@po.cwru.edu) + * toplev.c (rest_of_compilation): If function is extern inline, + even if we can't inline it, don't compile it. - * i386bsd.h (ASM_OUTPUT_ADDR_DIFF_ELT, JUMP_TABLES_IN_TEXT_SECTION): - Copy definitions from i386v4.h to get PIC code correct. +Fri Jul 16 21:33:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Dec 3 19:20:14 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * dwarfout.c (dwarfout_init): Report failure of getpwd. - * cp-decl.c: Include sys/types.h for systems that need things for - signal.h. +Fri Jul 16 15:59:07 1993 Ian Lance Taylor (ian@cygnus.com) -Thu Dec 3 01:40:42 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * config/m68k/hp320.h (LINK_LIBGCC_SPECIAL, SPACE_AFTER_L_OPTION) + (LIB_SPEC): Move outside of USE_GAS conditional. - * 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. +Fri Jul 16 14:26:25 1993 David d `zoo' Zuhn (zoo@cygnus.com) - * fixincludes (sys/types.h): Check for [ \t]size_t not size_t. + * config.sub: if [ "$os" ] --> if [ x"$os" != x"" ] -Wed Dec 2 15:40:36 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Fri Jul 16 05:50:35 1993 Paul Eggert (eggert@twinsun.com) - * configure (rs6000-ibm-aix32): New target. - * rs6000-aix32.h: New file. + * c-typeck.c (check_format): With -Wformat, warn about + printf("%ld", 1) even if sizeof (int) == sizeof (long), + since the code isn't portable. Similarly for "%d" vs 1L. -Tue Dec 1 18:05:20 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * c-typeck.c (convert_arguments) [PROMOTE_PROTOTYPES]: + With -Wconversion, use unpromoted type to check for signedness changes. - * cp-type2.c (build_functional_cast): Revert change of Nov 2, - concerning clearing the TREE_VALUE of a default parameter. +Thu Jul 15 13:04:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Dec 1 13:33:25 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * fixincludes (stdlib.h): Check carefully for definition of size_t. - * local-alloc.c (optimize_reg_copy_2): Correct reg_n_refs updates. +Wed Jul 14 19:05:51 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Makefile.in (INSTALLED_H): Add syslimits.h. + * fixincludes: Fix size_t definition in stdlib.h as in types.h. + Also a conditional to prevent repeated definition. -Tue Dec 1 11:09:50 1992 Brendan Kehoe (brendan@lisa.cygnus.com) +Wed Jul 14 14:53:26 1993 Ian Lance Taylor (ian@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. + * fixincludes: Don't discard comment end characters on lines that + look like "#endif */". Fixes Esix 4.0.4 problem. -Tue Dec 1 10:43:13 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Wed Jul 14 12:20:13 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * combine.c (num_sign_bit_copies): Return 1 on failure, not 0. - Fix typo in last change; return 1 on failure, not BITWIDTH. + * pa.c (emit_move_sequence): Use cint_ok_for_move instead of + checking each condition ourselves. -Tue Dec 1 09:39:47 1992 Michael Meissner (meissner@osf.org) + * pa-utahmach.h (CPP_PREDEFINES): Do not define HPUX_SOURCE, hp700 + or HP700. + * pa1-utahmach.h (CPP_PREDEFINES): Do not define hp9000s800, + hp9k8, HPUX_SOURCE, or hp800. - * mips.c (function_prologue): Do not emit a .loc before the - function if debug level is 1. This confuses gdb. + * Allow unconditional jumps in delay slots of call and millicode + call instructions. + * pa.h (TARGET_JUMP_IN_DELAY): New target flag to allow/disallow + jump instructions in call delay slots. + (TARGET_SWITCHES): Add -mjump-in-delay and -mno-jump-in-delay. + Provide -mno alternatives for most options. + (output_call): Declare. + * pa.c (output_call): New function to output a function call or + millicode call, possibly with a jump in the delay slot. + (output_mul_insn): Accept additional argument, use output_call. + (output_div_insn): Likewise. + (output_mod_insn): Likewise. + (jump_in_call_delay): New function to determine if the given + JUMP_INSN is in the delay slot of a call or millicode call. + * pa.md (uncond_branch): New type attribute. Explicitly disallow + uncond_branch in most delay slots. + (in_call_delay attribute): New test for delay slot of call insns. + Allow uncond_branches in the delay slot if TARGET_JUMP_IN_DELAY. + (define_delay for calls, millicode calls, branches, returns, etc): + Broken up into two define delays. One for calls and millicode + calls, a second for branches, returns, etc. + (millicode insns): Pass the current insn down to + output_{mul,div,mod}_insn. + (jump insn): Use "uncond_branch" type attribute. Length of this + insn varies if it is in the delay slot of a call. + (call_internal_symref): Use output_call. + (call_value_internal_symref): Likewise. + (call_internal_reg): Use %r syntax instead of just register numbers. + (call_value_internal_reg): Likewise. -Tue Dec 1 02:48:29 1992 James Van Artsdalen (james at bigtex.cactus.org) +Wed Jul 14 02:19:11 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * isc.h (TARGET_DEFAULT): New macro - don't make TARGET_IEEE_FP - default for ISC. + * rtl.def (CONCAT): New rtx code. + * emit-rtl.c (gen_lowpart_common, gen_highpart): Handle CONCAT. + (operand_subword): Likewise. + (gen_reg_rtx): For complex mode, return a CONCAT of two pseudos. + * stmt.c (expand_decl): Make a CONCAT, for decls of complex type. + * dbxout.c (dbxout_symbol_location): Subroutine broken out from + dbxout_symbol. Handle CONCAT here. + (dbxout_symbol_name): New subroutine. Handle anonymous decls too. + (dbxout_reg_parms): Simplify using dbxout_symbol_location. + Handle CONCAT. -Fri Nov 27 01:30:41 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-typeck.c (build_c_cast): When casting to union, if value is array + or function, do default_conversion. - * Version 2.3.2 released. +Wed Jul 14 00:52:23 1993 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) - * objc/core.c (searchForMethodInHierarchy): - If SEL or NAME is 0, return 0. + * config.sub: Add case for Bull dpx/2. - * gcc.c (LINK_LIBGCC_SPECIAL_1): New parameter. - * rs6000.h (LINK_LIBGCC_SPECIAL_1): Defined. +Mon Jul 12 17:26:53 1993 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. + * fixincludes: When looking for #define CTRL, + accept multiple spaces between the two words. - * reload.c (find_reloads) [SMALL_REGISTER_CLASSES]: - Don't use preferred_class for a multiword register. + * reload1.c (reload): Don't free scratch_list or scratch_block if 0. - * cccp.c (do_include): Initialize searchptr to 0. +Mon Jul 12 17:12:31 1993 Paul Eggert (eggert@twinsun.com) -Fri Nov 27 07:40:54 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * c-common.c (unsigned_conversion_warning): Just use `warning', + not `pedwarn'; these diagnostics are not required by Standard C. + * c-typeck.c (convert_for_assignment): Use `convert_and_check', + not `convert', for converting arithmetic types, since + `convert_and_check' no longer reports an error + where it should just warn. - * 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. +Mon Jul 12 16:44:37 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Nov 26 10:31:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/i386/i386.md (ffssi2, ffshi2): Assume bsf produces + garbage if input is 0. Use jumps to load output in that case. - * gstdarg.h (va_end): #undef before the declaration. + * config/vax/vax.h (INITIALIZE_TRAMPOLINE): Add code to + do an rei to clear the insn cache. - * gstdarg.h (va_arg): Alternative definition for big-endian machines. - * gvarargs.h (va_arg): Copy both definitions from gstdarg.h. +Sun Jul 11 18:13:47 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * limitx.h, limit.y: Test and define _GCC_LIMITS_H_, not _LIMITS_H_. + * config/ns32k/ns32k.c (output_move_double): Do the low reg first, + when only the high reg has an overlap. - * mips.c (mips_debugger_offset): Don't crash for unknown cases. + * c-typeck.c (convert_arguments): Don't warn about sign change + for an INTEGER_CST inside NOP_EXPR, if value not fits new type. + Delete the code to check for VAL having enumeration type. - * c-typeck.c (build_unary_op): Call pedantic_lvalue_warning - for *all* cases of incrementing a cast. + * i860.c (output_move_double): Fix typos in Jun 28 change. - * libgcc2.c (__udiv_w_sdiv): Cast 1 before shifting by 31. +Sat Jul 10 16:05:26 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * fixincludes (PWDCMD): New variable, set specially for Apollos. - Use it to get the working dir. - - * combine.c (num_sign_bit_copies): Fix 1-off error in PLUS case. + * i860.c (output_move_double): Only set highest_first if first reg + of dest overlaps memory src address. Otherwise, if addreg1 set and + is same as second reg of dest, suppress trailing decrement. + +Sat Jul 10 19:49:31 1993 Jeffrey A. Law (law@mole.gnu.ai.mit.edu) - * c++: Put newline into `for arg do'. + * jump.c (jump_optimize): Correctly identify branches to the end + of a function so that they may be turned into RETURN insns. -Thu Nov 26 08:32:20 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Sat Jul 10 17:37:12 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * expmed.c (struct algorithm): Make coeff a HOST_WIDE_INT. + * collect2.c (main): Allocate COLLECT_NAME string with xmalloc. - * romp.c (output_epilog): Always call output_fpops. +Sat Jul 10 14:44:29 1992 Chip Salzenberg (chip@fin.uucp) -Wed Nov 25 16:24:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * basic-block.h (REGSET_ELT_TYPE): Make unsigned to avoid + signed arithmetic overflow. + * hard-reg-set.h (HARD_REG_ELT_TYPE): New unsigned type to + avoid signed arithmetic overflow. + (HARD_REG_SET): Define as HARD_REG_ELT_TYPE, or array thereof. + (HARD_CONST): Always cast to HARD_REG_ELT_TYPE. + (*_HARD_REG_*): Use unsigned HARD_CONST and HARD_REG_ELT_TYPE + types instead of assuming HOST_WIDE_INT. - * Makefile.in (install-fixincludes): Use SYSTEM_HEADER_DIR. +Sat Jul 10 10:25:16 1993 Karl Berry (karl@cs.umb.edu) - * m68ksgs.h (ASM_OUTPUT_DOUBLE_OPERAND): Really use the operand VALUE. + * fixincludes: Check for symlinks being available in /tmp. - * tree.h (CONSTRUCTOR_NAME_FORMAT): Let config.h override this. - * tower-as.h (CONSTRUCTOR_NAME_FORMAT): Defined. +Sat Jul 10 02:01:08 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c++: Replace `for arg do' which ash can't handle. + * config/m68k/3b1.h (MY_ISCOFF, OBJECT_FORMAT_COFF, NO_SYS_SIGLIST): + New definitions. - * t-next (OTHER_FIXINCLUDES_DIRS): Delete /NextDeveloper/Headers. +Fri Jul 9 20:40:29 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * apollo68.h (HAVE_ATEXIT): Commented out. + * pa.md (dbra and movb patterns): Fix constraints so that FP + registers are never preferred. - * regclass.c: Fix typo in use of SECONDARY_INPUT_RELOAD_CLASS. - (copy_cost): Fix typo in use of SECONDARY_OUTPUT_RELOAD_CLASS. +Fri Jul 9 17:36:35 1993 Holger Teutsch (holger@hotbso.rhein-main.de) -Wed Nov 25 14:15:50 1992 Jim Wilson (wilson@sphagnum.cygnus.com) + * va-clipper.h: Make var/stdargs compatible with apogee's acc. + (__gnuc_va_list): Replace __va_f and __va_r with __va_reg. + (__va_list, _SYS_INT_STDARG_H): New defines. + (va_arg): Corresponding changes. - * fixinc.svr4 (regexp.h): Don't add a getrnge declaration if a - conflicting declaration is already present. + * config/clipper/clipper.c (clipper_builtin_saveregs) : Dito. -Wed Nov 25 06:47:18 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Fri Jul 9 13:39:08 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * rs6000.h (LINK_LIBGCC_SPECIAL): No longer define. + Cygnus<->FSF merge. + Fri Jul 9 12:17:20 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * stmt.c (expand_value_return): Don't emit move between differing - modes when PROMOTE_FUNCTION_RETURN is defined; convert instead. + * cp-typeck.c (build_array_ref): Force the array to be allocated on + the stack if it is accessed by a out-of-bound constant integer + subscript. + + * cp-decl.c (pushdecl): Undo change to generate a new _TYPE node for + a typedef. + + Thu Jul 8 16:25:52 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-decl.c (pushtag): Don't mark the binding layer marker; for + dwarf debugging, do mark the TYPE_DECL we created as ignored. + + * cp-tree.h (IN_CHARGE_NAME): Define to not need DOLLAR_IN_LABEL. + (VTBL_PTR_TYPE): Likewise. + (VTABLE_DELTA_NAME, VTABLE_INDEX_NAME, VTABLE_PFN_NAME, + VTABLE_DELTA2_NAME): Use two leading underscores. + + Thu Jul 8 14:31:40 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-tree.h (TREE_ANON_UNION_ELEM): Deleted, it's never set. + * cp-decl.c (build_default_constructor): Delete checking + TREE_ANON_UNION_ELEM. + * cp-init.c (emit_base_init): Likewise. + * cp-type2.c (my_friendly_abort): Update count. + + * cp-type2.c (build_functional_cast): Disable assert 323 (see + comments for explanation). + + * cp-typeck.c (comp_target_parms): Return 0 if strict is != 0, not + just > 0. + + * cp-decl.c (init_decl_processing): Don't set WARN_RETURN_TYPE. + + Wed Jul 7 18:36:59 1993 Niklas Hallqvist (niklas@della.appli.se) + + Add the changes to redo how we handle scoping. [Merged by bpk.] + + * cp-class.c ({pop,push}_nested_class): New functions to use + instead of plain {push,pop}class. These functions will see to + that static entities of enclosing classes will be visible. + * cp-tree.h ({pop,push}_nested_class): Declare them. + * cp-decl.h ({finish,start}_function): Use these new functions + instead of plain {push,pop}class calls. + (grokdeclarator): Ditto. + * cp-decl2.c (build_push_scope): Ditto. + * cp-class.c (popclass): Only call pop_class_decls if MODIFY is + set. + + * cp-decl.c (start_decl): Maybe call pushdecl_class_level instead of + pushdecl. This is used for nested types. + (grokdeclarator): Remove the {push,pop}level calls around the + indirect recursion occuring when groking class-local typedefs. + Remove the error check of such typedefs hiding other fields in the + same scope. Remove the pushdecl_class_level call since start_decl + does the work now. + + Class scoping (and type value caching) redone. The new behaviour + is triggered by NEW_CLASS_SCOPING being defined to 1. The old + behavior is accomplished by defining it to the value 0. The entries + below describes the effective changes when NEW_CLASS_SCOPING is set + to non-zero. + + * cp-class.c (set_class_shadows): Add prototype. + (previous_class_values): New variable. + (pushclass): Adapted to not use previous_class_type & unuse_fields. + Removed setting of IDENTIFIER_CLASS_VALUE. + (popclass): Adapted to not use previous_class_type. Don't reset + IDENTIFIER_CLASS_VALUE. Moved call of pop_class_decls. + (maybe_push_cache_obstack): New function. + * cp-decl.c (current_class_depth): Add extern decl. + (previous_class_values): Add extern decl. + (pop_decl_level): Don't reset IDENTIFIER_CLASS_VALUE. + (set_class_shadows): New function. + (poplevel_class): Adjust setting of IDENTIFIER_CLASS_VALUE to only + happen if we're not leaving a toplevel class. + (push_to_top_level): Don't use adjust_type_value. + (set_identifier_type_value): Reverse the choice between class and + local scope when installing the type value. + (set_identifier_local_value): Set the type value if we're seeing a + TYPE_DECL. + (set_nested_typename): Added comment. + (pushtag): Don't call set_identifier_type_value. Leave out + setting of IDENTIFIER_CLASS_VALUE. + (adjust_type_value): Removed. + (pushdecl): Don't call adjust_type_value. + (pushdecl_class_level): Call push_class_level_binding. Set the + type value if we're seeing a TYPE_DECL. + (push_class_level_binding): New function whose guts came from + pushdecl_class_level. + (globalize_nested_type): See to that both the class_shadowed and + type_shadowed lists in the binding stack gets updated correctly. + Don't call set_identifier_type_value on the DECL_NESTED_TYPENAME. + Clear DECL_CLASS_CONTEXT as well as DECL_CONTEXT. Install a + correct IDENTIFIER_{CLASS,TYPE}_VALUE if needed. + (grokdeclarator): Prefer pushdecl_class_level over pushtag when + recording a nested typedef. + (build_enumerator): Don't install a method-local enumerator into + class scope. + * cp-decl2.c (grokfield): Don't call set_identifier_type_value. + * cp-search.c (closed_envelopes): New list containing information + of what decls should be pushed when entering a class scope. + (dfs_pushdecls): Build and maintain the closed_envelopes list + instead of managing the IDENTIFIER_CLASS_VALUEs directly. + (dfs_compress_decls): Adapted to recognize the envelopes + dfs_pushdecls has installed in the IDENTIFIER_CLASS_VALUE slots. + (push_class_decls): Tell overload_template_name to push the + template decls into class scope instead of building a new level. + Added code to open up the envelopes in closed_envelopes and + install the class/type values in the class binding contour with + proper shadowing. + (dfs_popdecls): Removed. + (pop_class_decls): Removed the actual decl-popping code, leaving + just the obstack freeing pop_search_level call. The popping is + automatically handled by poplevel now. + * cp-tree.h (NEW_CLASS_SCOPING): A new macro constant defaulted to + the value 1. + (adjust_type_value): Prototype removed. + (push_class_level_binding): Added prototype. + + Wed Jul 7 11:04:09 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-decl.c (pushdecl): When processing a typedef statement, + generate a whole new ..._TYPE node. Be careful that the type we're + looking at isn't an error_mark_node. + + * cp-class.c (finish_struct): Set the DECL_CONTEXT on the type we've + found. + * cp-decl.c (pushtag): Mark the TYPE_DECL as ignored when using + dwarf debugging; don't ignore it if it's anonymous for dwarf + debugging. Put the DECL_CONTEXT in the TYPE_CONTEXT of TYPE. + (globalize_nested_type): Remember to set TYPE_CONTEXT. + * cp-pt.c (overload_template_name): Set DECL_CONTEXT. + * cp-search.c (compute_visibility): Set DECL_CONTEXT if the context + is NULL. + + * cp-class.c (finish_struct): Mark the tag as ignored for dwarf + debugging. + + * cp-except.c (EHS_type): Don't make it static. + * cp-class.c (finish_struct): Don't create a default copy + constructor for the EHS_type. + + * cp-class.c (get_vtable_name): Leave the numbers in the name for + the vtable, so we're uniform with what prepare_fresh_vtable is + doing. Introduces a binary incompatability. + + * cp-tree.c (build_cplus_method_type): Mark the first argtype (the + this pointer) as artificial. + + * cp-init.c (do_friend): Don't allow a friend of a class that's not + yet been defined; instead, complain. Make sure we mark every decl + that comes in as being a friend of something. + + * cp-decl2.c (grokclassfn): Mark the __in_chrg parameter as + artificial. Don't mark it as readonly, and for destructors make + sure the first arg in the arg_types chain has TREE_SIDE_EFFECTS set, + so it's seen as artificial. + (finish_vtable_vardecl): For dwarf debugging, make the vtable's + VAR_DECL node be ignored. + + * cp-decl.c (redeclaration_error_message): Use comptypes to see if + OLDDECL and NEWDECL have the same type. + * cp-typeck.c (comptypes): Compare the main variants of the types, + after we've checked the qualifiers that could have been used on them. + + * cp-call.c (EVIL_RETURN, QUAL_RETURN, TRIVIAL_RETURN, ZERO_RETURN): + Rewrite definitions to not use do/while(0), to avoid bogus warnings + on compilers that can't deal with a return inside it. Change all + uses of them to do `return FOO_RETURN'. + + Tue Jul 6 13:00:44 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-decl.c (duplicate_decls): Set GIVE_ERROR so we know where the + previous declaration was for empty parameter name list declarations. + + * cp-class.c (finish_struct): Clean up error message about anonymous + classes. + + * cp-class.c (finish_struct): Don't play with TAIL when we're + dealing with a TYPE_DECL of a RECORD_TYPE; the list continues on + just fine, and TAIL is only used for managing FN_FIELDS. + + * cp-decl.c (pushlevel): Change cast to HOST_WIDE_INT. + * cp-search.c (breadth_first_search): Likewise. + + Fri Jul 2 19:24:55 1993 Steve Chamberlain (sac@rtl.cygnus.com) + + * cp-method.c: Include "cp-class.h" + + Fri Jul 2 18:16:10 1993 Michael Tiemann (tiemann@blues.cygnus.com) + + * cp-call.c (build_overload_call_real): Don't look at a required + template instantiation and a speculative template instantiation as + two different functions if they are really the same function. + + Thu Jul 1 22:28:46 1993 Michael Tiemann (tiemann@blues.cygnus.com) + + * cp-tree.h: Don't include "cp-class.h" here. + * cp-call.c, cp-cvt.c: Include it here instead. + + Thu Jul 1 18:42:03 1993 Mike Stump (mrs@cygnus.com) + + * cp-decl.c (duplicate_decls): Fix typo. (olddecl->olddecls) + + Thu Jul 1 18:34:12 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + New implementation of argument matching. This is now much cleaner + to read, and is designed such that it should be easy to tweak + things when incorrect decisions are made based on the candidates + being examined. + + * cp-decl2.c (flag_ansi_overloading): New variable. + (lang_f_options): Add -fansi-overloading. + * toplev.c (lang_options): Add -fansi-overloading and + -fno-ansi-overloading. + + * cp-class.h (harshness_code): New struct. + (candidate): New members `h' and `h_len' used by new method. New + anonymous union `v', with ansi_harshness and old_harshness. + Deleted member `harshness' (used by old method, now in `v'). + Change every file that uses harshness to refer to it in the union + as appropriate. + (EVIL_CODE, CONST_CODE, ELLIPSIS_CODE, USER_CODE, STD_CODE, + PROMO_CODE, QUAL_CODE, TRIVIAL_CODE): New macros. + + * cp-call.c (EVIL_RETURN, QUAL_RETURN, TRIVIAL_RETURN, + ZERO_RETURN): New macros. + (rank_for_overload): Renamed to rank_for_overload_old. + (rank_for_overload_ansi): New function for new method. + (rank_for_overload): Call the appropriate fn based on the new flag. + (rank_for_ideal): New function for new method. + (compute_harshness): Renamed to compute_harshness_old. + (compute_harshness_ansi): New function for new method. + (compute_conversion_costs): Renamed to compute_conversion_costs_old. + (compute_conversion_costs_ansi): New function for new method. + (compute_conversion_costs): Call the appropriate fn based on the + new flag. + (ideal_candidate): Renamed to ideal_candidate_old. + (ideal_candidate_ansi): New function for new method. + (ideal_candidate): Call the appropriate fn based on the new flag. + (strictly_better): New function for new method. + (build_method_call): Change things to use the new method if + -fansi-overloading is set. + (build_overload_call_real): Likewise. + * cp-cvt.c (convert_to_aggr): Likewise. + + * cp-call.c (build_overload_call_real): Only use the speed hack + to trigger immediately if the OVERLOAD_NAME has a global value if we + aren't using the new overloading scheme. + + * cp-cvt.c (build_type_conversion): Only accept using an `operator + double' if there isn't a conflicting `operator int', if + -fansi-overloading is on. + + Thu Jul 1 17:54:44 1993 Mike Stump (mrs@cygnus.com) + + * cp-decl.c (duplicate_decls): Propagate some changes from C + front-end. Conflicts with built-in functions are now only warnings. + + Thu Jul 1 15:43:48 1993 Mike Stump (mrs@cygnus.com) + + * cp-call.c (build_field_call): Use real type if type is a + REFERENCE_TYPE. + * cp-parse.y (primary): Cleanup and move some code out into new + function build_object_ref. + * cp-tree.h (build_object_ref): New function. + * cp-typeck.c (build_object_ref): Define new function. + * cp-typeck.c (build_x_function_call): Return error_mark_node if + first argument is, and handle when TREE_PURPOSE is a binfo and comes + from lookup_fnfields. + + Thu Jul 1 13:48:46 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-lex.c (readescape): Don't complain for \% unless pedantic. + + Wed Jun 30 10:35:50 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-decl2.c (bad_specifiers): Moved to cp-decl.c. New args + `inlinep' and `object' (old object renamed to type), so we can see + where the thing was declared. Use error_with_decl instead of error. + * cp-decl.c (grokdeclarator): Pass INLINEP and DECL down; move calls + so we'll have a valid DECL to give it. + * cp-tree.h (bad_specifiers): Deleted prototype. + + * cp-call.c (build_scoped_method_call): If it's a reference, work + with the actual type. + * cp-type2.c (build_scoped_ref): Likewise. + + Tue Jun 29 19:49:57 1993 Mike Stump (mrs@poseidon.cygnus.com) + + * cp-lex.c (default_copy_constructor_body): Hack broken code to work + marginally better than how it worked before, so that PlotFile3D's + make check of libg++ works. + + Tue Jun 29 12:44:48 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-typeck.c (mark_addressable): Don't complain about taking the + address of an object with register storage class; it's legal in C++. + + * cp-typeck.c (convert_arguments): Only warn about passing an object + through an ellipsis. + + * cp-parse.y (typed_declspecs): Make sure the TYPESPEC we hit + upon is non-null. + + Tue Jun 29 11:58:03 1993 Tony Deigh (tonyd@bostech.com) + + * cp-decl.c (grokdeclarator): Look at the decl as a FUNCTION_TYPE + before seeing if its TYPE_MAIN_VARIANT matches or it's a friend; + this way, we can properly detect declaration of another class's + methods inside another class. Solves chainon aborts. + + Tue Jun 29 09:47:36 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-class.c (finish_struct): Use pedwarn_with_decl for warnings + about non-static const/ref in class without a ctor, so the line + number is helpful. + + Tue Jun 29 02:46:39 1993 Mike Stump (mrs@cygnus.com) + + * cp-cvt.c (build_up_reference): Delete unneed cast. + * cp-typeck.c (convert_for_assignment): Likewise. + + Mon Jun 28 19:19:34 1993 Mike Stump (mrs@rtl.cygnus.com) + + * cp-lex.c (real_yylex): Use pedwarn to warn about using catch, try + and throw as identifiers. + + Mon Jun 28 11:13:17 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-method.c (hack_identifier): Only look for visibility if we have + a basetype path. + + * cp-decl.c (grokdeclarator): Also forbid the subscripting operator, + and class member access operator being declared as a non-member + function. + + * cp-init.c (add_friend): Pedwarn on duplicate friend decls. + + * cp-init.c (is_friend_type): New function. + (is_friend): Call it; rewrite in minor ways, to clean the code up. + * cp-tree.h (is_friend_type): Add prototype. + * cp-search.c (compute_visibility): Also check if the + CURRENT_CLASS_TYPE is a friend of CONTEXT, which can buy us access + to the field in question. + + * cp-init.c (sort_member_init): Disable assert that was wrong. + + * cp-class.c (finish_struct): Make declaration of a non-static const + or reference member get a pedwarn if the class it's in has no + constructor. - * integrate.c (expand_inline_function): Ensure a REG used as - COPY has REG_USERVAR_P set if LOC does. + * cp-decl2.c (grokfield): Fix up the error message about member + initialization. - * 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). + * cp-typeck.c (c_expand_return): Make sure we don't set + CURRENT_FUNCTION_RETURNS_VALUE if we set CURRENT_FUNCTION_RETURNS_NULL. -Tue Nov 24 00:23:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-method.c (dump_init): Don't emit digit_buffer if we're giving + an enum's tag. - * i386bsd.h (FUNCTION_PROFILER): Use mcount, not _mcount. +Fri Jul 9 16:45:25 1993 David d `zoo' Zuhn (zoo@cygnus.com) - * t-next (OTHER_FIXINCLUDES_DIRS): Leave just /LocalDeveloper/Headers - and /NextDeveloper/Headers. + * config.sub: Make -solaris reflect the most recent major release. + +Fri Jul 9 16:18:20 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * Change length attributes to use bytes instead of instruction + counts. + * pa.h (CASE_VECTOR_MODE): Change to DImode. + * pa.c (compute_movstrsi_length): Return length in bytes. + (pa_adjust_insn_length): Return adjustment in bytes. + (output_cbranch): Handle lengths as bytes. + (output_bb, output_dbra, output_movb): Likewise. + * pa.md (default length define_attr): Lengths are in bytes now. + (asm_attributes): Likewise. + (delay slot attributes): Deal with lengths in bytes. + (explicit length computations): Compute length in bytes. + + * Make more dbra insns and support movb insns. + * pa.h (output_dbra, output_movb): Declare. + * pa.md (dbra pattern): Use output_dbra. + (dbra pattern #2): New pattern. Also use output_dbra. + (movb, inverted movb): New patterns. + * pa.c (pa_adjust_insn_length): dbra and movb insns which have + their output in a FP register do not need adjustment. + (output_cbranch, output_bb): Handle conditional jump to the + following instruction. + (output_dbra): New function extracted from dbra pattern. + (output_movb): New function. + (eq_neq_comparison_operator): New function. + (movb_comparison_operator): New function. + +Fri Jul 9 01:07:52 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * config/m68k/mot3300.h (ASM_OUTPUT_OPCODE): Don't add .w suffix + to jump insns. + + * combine.c, cse.c: Include stdio.h before rtl.h. + +Wed Jul 7 18:06:45 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + + From moshier@world.std.com: + * sparc.c (singlemove_string): Convert SFmode by REAL_VALUE... macros. + * sparc.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): + Use REAL_VALUE_TO_DECIMAL to generate decimal string. + (REAL_ARITHMETIC): Define. + + * sparc.h (SECONDARY_MEMORY_NEEDED_RTX): Use + STARTING_FRAME_OFFSET. + (STARTING_FRAME_OFFSET): Set to -16. + + * c-parse.in (simple_if): Save stmt_count, and print empty body + warning here. + (if_prefix): Don't save stmt_count here. + (stmt): Don't print empty body warning here. + + * combine.c (simplify_comparison): Add parentheses to satify gcc. + * sparc.c (sparc_frw_save_restore): Likewise. + * expr.c (convert_to_mode): Move misplaced parentheses. + +Wed Jul 7 16:37:26 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * Improve code for conditional branches and dbra insns on the PA. + * pa.c (pa_adjust_insn_length): Rewrite so that it only adjusts + insns which really need adjustment. + (output_cbranch): Rework so that output templates are simpler. + Use shorter sequence for long backwards conditional branches with + a filled delay slot that is nullified. More agressively use "skip" + instructions. More agressively nullify the delay slot if nothing + useful could be placed there. + (output_bb): Likewise. + (forward_branch_p): New function. + * pa.md (conditional branches): Use the full displacement range + for the branch target. Update length computations to match current + reality. + (branch on bit patterns): Likewise. + (decrement_and_branch_until_zero): Re-enable pattern. Rewrite to + be simpler and more efficient. Also handle case where loop counter + is in a FP register. -Mon Nov 23 22:06:31 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Jul 7 11:19:03 1993 Ian Lance Taylor (ian@cygnus.com) - * ns32k.md (movsi): Split alt 1 to deprecate xy classes in operand 1. + * glimits.h (MB_LEN_MAX): Don't override the value from the system + . Just define it if it is not already defined. - * combine.c (make_extraction): When making a low part subreg of a reg, - use inner_mode, not is_mode. + * collect2.c (main): Search for ld in the compiler directories. -Mon Nov 23 21:11:13 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Wed Jul 7 13:40:55 1993 Jim Wilson (wilson@kropotkin.gnu.ai.mit.edu) - * romp.h (ASM_FILE_START): Stop at first blank in VERSION_STRING. + * collect2.c (fork_execute, scan_prog_file): Use "fork" in error + messages instead of "vfork" when vfork is defined to fork. -Mon Nov 23 21:09:20 1992 Tom Wood (wood@dg-rtp.dg.com) +Tue Jul 6 16:38:36 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * fold-const.c (range_test): Convert the constants to the unsigned - type before expanding the range test. + * sparc.c (sparc_type_code): Recognize SET_TYPE. For special + Fortran/Pascal types, just return qualifiers instead of aborting. -Mon Nov 23 20:54:45 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * c-decl.c (insert_block): Correct typo in comment. - Mon Nov 23 13:21:43 1992 Brendan Kehoe (brendan@cygnus.com) + * combine.c (simplify_and_const_int, LSHIFTRT case): Must be at + least as many sign bit copies as bits in mask. - * c++ (first): Only shift if $first is no, on the chance we got no - arguments at all. If we didn't get anything, say so (since -lg++ - will fake out the gcc driver into thinking we want to do something). + * c-typeck.c (build_conditional_expr): All simplified results + must go through pedantic_non_lvalue. + * cp-typeck.c (build_conditional_expr): Likewise. + * fold-const.c (fold, COND_EXPR case): Likewise. + (pedantic_non_lvalue): New function. + * tree.h (pedantic_non_lvalue): Add declaration. - * cp-decl.c (start_decl): If grokdeclarator returns a - void_type_node, return a NULL_TREE. + * fold-const.c (invert_truthvalue): Check for ERROR_MARK input. - * 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. + * m68k.h (LEGITIMATE_BASE_REG_P): New macro. + (INDIRECTABLE_1_ADDRESS_P, GO_IF_INDEXABLE_BASE, + LEGITIMATE_INDEX_REG_P): Accept SUBREG everywhere REG is accepted. - Sat Nov 21 02:33:28 1992 Brendan Kehoe (brendan@cygnus.com) + * sparc.h (EXTRA_CONSTRAINT): For 'T', pass address not mem to + strict_memory_address_p call. For 'U', don't accept unallocated + pseudo-reg when strict. - * 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 (output_move_quad): Implement CNSTOP case. - * 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. + * i960.h (ASM_OUTPUT_COMMON): Use SIZE not ROUNDED. - Thu Nov 19 01:41:58 1992 Brendan Kehoe (brendan@lisa.cygnus.com) +Tue Jul 6 02:12:15 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-dem.c (do_builtin_type): Recognize `w', a wide character, since - it's now a type according to the ANSI X3J16 working paper; output - "wchar_t" for it. - (cplus_demangle): Accept `w' as an integral type. + * cse.c (simplify_binary_operation, case MINUS): Fix backwards + test added in last change. - Wed Nov 18 21:29:14 1992 Brendan Kehoe (brendan@cygnus.com) + * config/i386/sun.h (SIZE_TYPE): Deleted. - * cp-class.c (finish_struct): Re-enable code to cut down on the size - of symbol output, the positives outweigh the negatives. + * c-typeck.c (convert_arguments): Don't warn for -Wconversion + about signedness of an arg that's extended from narrower unsigned type. - Wed Nov 18 19:51:59 1992 Mike Stump (mrs@cygnus.com) + * c-decl.c (duplicate_decls): Don't warn for non-extern var decl + following an extern one (for -Wredundant-decls). - * cp-search.c (dfs_walk): Move setting of - vbase_decl_ptr_intermediate out of #ifdef code. +Mon Jul 5 17:50:27 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Wed Nov 18 18:49:13 1992 Mike Stump (mrs@cygnus.com) + * reload1.c (emit_reload_insns): Don't use gen_lowpart_common to + get reload register into proper mode. + * reload.c (subst_reloads): Likewise. - * cp-decl.c (grokdeclarator): Make wording on error message - stronger. + * combine.c (subst, case PLUS): Simplify (plus (comp A B) -1), etc. - Tue Nov 17 17:46:11 1992 Brendan Kehoe (brendan@cygnus.com) + * fold-const.c (fold, case EQ_EXPR, LE_EXPR): If comparing results + of signed MOD with zero, use an unsigned MOD. - * cp-search.c (CHECK_convert_pointer_to_single_level): Don't define. + * calls.c: Fix typo: had ARGS_GROW_DOWNARD. -Mon Nov 23 19:44:38 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * configure (rs6000-ibm-aix): Use default files for aix3.2 and + aix31.h for aix3.[01]. Add new file x-aix31. + * rs6000.c (input_operand): Fix missing operand on a return. + (print_operand): Add new code '.'. + (rs6000_sa_size): Delete unused variable `i'. + (output_prolog, output_epilog): Use new RS6000_CROR_BIT_NUMBER. + * rs6000.h (CPP_PREDEFINES): Define _AIX32. + (ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP): Use ".text[PR]" as + csect name. + (RS6000_CROR_BIT_NUMBER): New macro. + (PRINT_OPERAND_PUNCT_VALID_P): Allow `.' as valid. + * rs6000.md (call patterns): Use %. in cror. + * x-rs6000 (CLIB): No longer need -lm. + * aix31.h, x-aix31.h: New files. + * aix32.h: Deleted. - * mot3300.h (switch_table_difference_label_flag): Define it. +Mon Jul 5 17:44:09 1993 John F Carr (jfc@Athena.mit.edu) - * ns32k.md (addsi3): Add & for alternative 1 in operand 0. + * romp.md (movhi): When storing a constant in an HImode register, use + cal16 instead of cal so that the high bits are clear (combine + requires this). -Mon Nov 23 18:29:27 1992 Jim Wilson (wilson@sphagnum.cygnus.com) +Mon Jul 5 17:15:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * genattrtab.c (obstack.h): Include after sys/time.h. + * objc-act.c (encode_type_qualifiers): Add casts to enums in indices. - * c-decl.c (duplicate_decls): For builtins, create new function - type instead of trying to modify old one. +Mon Jul 5 02:25:54 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) -Mon Nov 23 16:28:36 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Makefile.in: Parameterize libgcc.a and install-libgcc + (LIBGCC and INSTALL_LIBGCC). - * i386bsd.h (COMMENT_BEGIN): Redefine as #. - (ASM_APP_ON, ASM_APP_OFF): Redefine to use #. + * tree.c (get_narrower): Preserve unsignedness when bitschange == 0. - * combine.c (num_sign_bit_copies): Inhibit x-1 special case - when x is a paradoxical subreg. +Sun Jul 4 02:55:46 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * xm-linux.h (malloc, calloc): Definitions deleted. + * expmed.c (store_split_bit_field, extract_split_bit_field): + Handle fields split across more than 2 aligned units. -Mon Nov 23 11:52:41 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) + * expr.c (store_field): Test STRICT_ALIGNMENT at run time. + (expand_expr, COMPONENT_REF case): Fetch unaligned field as bitfield. - * pa.md (sh[123]add): Use "nonmemory_operand" instead of - "register_operand" as the predicate for the first operand. + * collect2.c (error, fatal, fatal_perror): Say collect2, not collect. -Mon Nov 23 00:29:27 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-parse.in (primary): In statement expression case, + if compstmt returns something other than a BLOCK, + return it unchanged. - * gcc.c (default_compilers): Pass -i* after -U*. +Sat Jul 3 20:32:43 1993 Minh Tran-Le (tranle@intellicorp.com) -Sun Nov 22 17:03:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fixinc.svr4: Added fixup for __STDC__ == 0 and __STDC__ == 1 + cases found in sequent PTX-2.0.x headers. - * hp320.h (FUNCTION_PROFILER): Complete replacement. +Sat Jul 3 18:54:07 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * xm-hp320.h (index, rindex): Defined. + * pa.c (call_operand_address): Do not accept registers anymore. + * pa.md (call expanders): Emit different patterns for named calls + and indirect calls. + (call_internal_symref, call_internal_reg): New patterns. + (call_internal): Deleted. Now handled by call_interal_{symref,reg}. + (call_value_internal_symref, call_value_internal_reg): New patterns. + (call_value_internal): Deleted. Now handled by + call_value_internal_{symref,reg). - * gstddef.h: Fix prev change; test of _STDDEF_H was backwards. +Sat Jul 3 16:40:52 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) -Sun Nov 22 16:12:38 1992 Tom Wood (wood@dg-rtp.dg.com) + * collect2.c (main): Give ld_file_name an initial value. - * toplev.c (W_options): Delete -Wreturn-type, as it is in lang_options. - * c-decl.c (c_decode_option): Decode -Wreturn-type. +Fri Jul 2 16:36:56 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * c-decl.c, cp-decl.c (pushdecl): Don't inherit DECL_INITIAL when - redeclaring the current function. + * sparc.md (ashldi3+2): Change lshift to ashift. - * 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. + * sparc.md (zero_extendhisi2, extendhisi2, extendqihi2, + extendqisi2): Preserve the SUBREG_WORD value of subreg operands. + (ashldi3): Delete, obsoleted by lshldi3 pattern. + (lshldi3): Rename to ashldi3 for consistency with SImode shifts. -Sat Nov 21 19:54:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Jul 2 01:10:56 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cccp.c (main): Do -D's and -A's and -U's in order specified. + * Makefile.in (install-headers-tar): Ignore exit status of the + first tar command. - * gcc.c (default_compilers): When running cpp, - move %{D*} and %{U*} (in that order) just before %i. +Thu Jul 1 14:31:45 1993 Doug Evans (dje@canuck.cygnus.com) -Sat Nov 21 18:24:55 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * flow.c (find_auto_inc): In *p=expr;q=p+size case, avoid clobbering q + if referenced in expr. - * 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. +Fri Jul 2 01:26:01 1993 Paul Eggert (eggert@twinsun.com) - * configure (hppa1.0-*-hpux*, hppa1.0-*-hpux*): Use xm-pahpux.h. - (hppa1.0-*-hpux7*): New alternative. + * tree.h (pushcase, pushcase_range): Add a new converter + function argument that specifies how to convert case labels to the + nominal type. + * stmt.c (pushcase, pushcase_range): Likewise. + * c-parse.in (label): Use `convert_and_check' when checking for + overflow in case labels. + * cp-parse.y (simple-stmt): Similar change, but use `convert' instead; + this leaves the behavior unchanged for C++. A C++ expert should look + into this. -Sat Nov 21 14:10:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * tree.h (TREE_OVERFLOW): New macro. + * c-common.c (constant_expression_warning, overflow_warning, + convert_and_check): Distinguish between TREE_OVERFLOW, which is just + for warnings, and TREE_CONSTANT_OVERFLOW, which is for required + pedantic diagnostics. + * c-typeck.c (c_sizeof, build_c_cast): Set TREE_OVERFLOW in addition + to TREE_CONSTANT_OVERFLOW. + (store_init_value): STRIP_TYPE_NOPS is required before + constant_expression_warning. + * fold-const.c: (const_binop, fold_convert, fold): + Set TREE_OVERFLOW in addition to TREE_CONSTANT_OVERFLOW. - * spc-sol2.h (SWITCH_TAKES_ARG, LINK_SPEC): New override definitions. +Thu Jul 1 20:55:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * xm-mot3300.h (index, rindex): Defined. + * reload1.c (eliminate_regs): Fix typo in BYTE_LOADS_ZERO_EXTEND. -Sat Nov 21 07:54:53 1992 Michael Meissner (meissner@osf.org) +Thu Jul 1 20:00:00 1993 DJ Delorie (dj@ctron.com) - * mips.h (MIPS_VERSION): Set Meissner version number to 29. + * gcc.c (choose_temp_base): Try multiple variables. Don't + assume that the variable points to a valid directory. - * mips.c (mips_expand_prologue): If profiling, emit an insn to - block other insns from being scheduled before the end of the - prologue. + * gcc.c (pexecute): Handle the MS-DOS return codes correctly. + Add .exe to file name when appropriate. - * mips.md (blockage): New unspec_volatile insn to prevent other - insns from being scheduled before it. + * configure.bat: Make gcc use its own obstack.o. -Sat Nov 21 06:03:38 1992 Brendan Kehoe (brendan@cygnus.com) + * objc/makefile.dos: New file for building with djgpp. - * 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. +Thu Jul 1 18:15:17 1993 Paul Eggert (eggert@twinsun.com) -Fri Nov 20 15:31:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fixincludes, fixinc.svr4: Don't create absolute symbolic links; + make them relative instead. + * fixincludes: Remove special case for IRIX 4.0.1 that was + superseded by a more general fix to fixincludes. - * dbxout.c (dbxout_type): Handle need for name of a RECORD_TYPE - when it has none. + * fixinc.svr4: Remove everything after #endif, instead of trying + to turn it into comments, which loses inside comments. + * fixincludes: Likewise. Remove #endif workarounds for Ultrix 4.[12] + and SunOS 4.1, which are no longer needed because of this bug fix. - * configure (sparc-*-solaris2): Set broken_install. +Thu Jul 1 14:56:56 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * integrate.c (subst_constants): Inhibit special treatment of subreg - when the stuff inside is not a reg. + * pa.h (OVERRIDE_OPTIONS): Define. Give a warning if -fpic or + -fPIC was specified on the command line. - * config/plexus.h (SIZE_TYPE): Fix syntax. + * configure (hppa1.0-hp-hpux8.02): New target. + (hppa1.1-hp-hpux8.02): Accept "--gas" in this configuration. + * pa-oldas.h: New target for 1.0 machines running HPUX 8.02. + * pa.c (output_arg_descriptor): Reverse polarity of test for + HP_FP_ARG_DESCRIPTOR_REVERSED. + * pa.h (ASM_DOUBLE_ARG_DESCRIPTORS): Likewise. + * pa-hpux7.h (HP_FP_ARG_DESCRIPTOR_REVERSED): Define. + * pa1-oldas.h (HP_FP_ARG_DESCRIPTOR_REVERSED): Define. + (TARGET_DEFAULT): Clear useless bits in TARGET_DEFAULT. + * pa-utahmach.h (HP_FP_ARG_DESCRIPTOR_REVERSED): Do not define here. + * pa1-utahmach.h (HP_FP_ARG_DESCRIPTOR_REVERSED): Likewise. + * pa1-ghpux.h (HP_FP_ARG_DESCRIPTOR_REVERSED): Likewise. + * pa1-hpux.h (HP_FP_ARG_DESCRIPTOR_REVERSED): Likewise. - * gcc.c (do_spec_1): Handle MKTEMP_EACH_FILE. +Thu Jul 1 09:48:23 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Fri Nov 20 15:10:20 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + * fold-const.c (fold, case GE_EXPR, LT_EXPR): Don't assume + result of comparison is integer_type_node. - * fixincludes (math.h): Get rid of inconsistent inline definitions - for abs that are present in HP-UX 8.0. +Thu Jul 1 00:23:16 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) -Fri Nov 20 10:07:48 1992 Michael Meissner (meissner@osf.org) + * config/i386/mach.h (SIZE_TYPE): Definition deleted. - * collect2.c (FREAD, FWRITE): Undef these macros if they were - defined before including ldfcn.h. +Wed Jun 30 16:16:20 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Nov 20 15:38:47 1992 Tom Wood (wood@dg-rtp.dg.com) + * config/m68k/sun3.h (SIZE_TYPE): Definition deleted. - * integrate.c (expand_inline_function): Mark all notes as integrated. +Wed Jun 30 16:55:25 1993 John F Carr (jfc@Athena.mit.edu) - * final.c (final): When producing SDB debugging info, delete line - number notes from inlined functions in other files as well as - duplicate line number notes. + * mips.c (gen_int_relational): For test with constant result, + copy const0_rtx or const_true_rtx to result register instead + of allocating a new pseudo-register. -Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu) +Wed Jun 30 15:19:42 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * config.sub: Added machines and operating systems for Emacs - ports, since Emacs now uses config.sub for its configuration. - New manufacturers recognized not to be operating systems: High - Level Hardware (highlevel, defaults to using BSD), Gould - (gould, defaults to System V), Commodore (cbm, defaults to - amigados), National Semiconductor (ns, defaults to Genix), and - Masscomp (masscomp, defaults to RTU). - Recognize the NS1600 (ns16k) and the Clipper (clipper) as - processors. - Recognize these processors with default manufacturers: the - Cydra (cydra) from Cydrome (cydrome), the XPS100 (xps100) from - Honeywell (honeywell), and the Orion (orion) and Orion 1/05 - (orion105) from High Level Hardware (highlevel). - If the ISC operating system is given with a version number, - don't kill it and set it to 2.2; just have it default to 2.2 - if omitted. - Make Irix SGI's default operating system, not SYSV. - Make BSD Encore's default, so it applies for all Encore - machines, not just the umax and mmax abbreviations. - All of Encore's machines use BSD, not just the ns32k-based - ones. Make it the manufacturer's default. - Make it possible to specify an operating system for a Gould - machine. Make sysv the manufacturer's default, so it applies - when we specify the manufacturer as well as when we omit it. - Add Uniplus (uniplus), Iris (iris), Xenix (xenix), and RTU - (rtu) as recognized operating system names. + * config.sub: Recognize `gnu' as a valid operating system. Sheesh. -Wed Nov 18 17:58:18 1992 Karl Berry (karl@cs.umb.edu) +Wed Jun 30 13:43:45 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * i386iscgas.h (SDB_DEBUGGING_INFO): #undef. - (DBX_DEBUGGING_INFO): #define. - (DBX_OUTPUT_MAIN_SOURCE_{DIRECTORY,FILENAME}): Override dbxout.c. + * pa.c (output_function_prologue): Emit SAVE_SP flag if a frame + pointer is needed. - * bsd386.h (LPREFIX) [NO_UNDERSCORES]: Define as `.L'. +Wed Jun 30 00:52:25 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Nov 18 13:50:43 1992 Michael Meissner (meissner@osf.org) + * collect2.c (main): Don't look for `gld' or `TARGET-gld'. - * mips.c (compute_frame_size): Make sure the {gp,fp}+offset fields - are always initialized, even if there were no gp/fp registers - saved. + * fixincludes (stdtypes.h): Verify that size_t etc. follow whitespace. -Wed Nov 18 09:58:50 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * expr.c (expand_expr, case PLUS_EXPR): In the special case + to return sym+integer as an expression, limit it to when + the non-CONST_INT arg is at least a constant. + (expand_increment): Do preinc with single insn if there's such an insn. - * a29k.md (insv): Remove constraints from operand matching - const_0_operand. + * stmt.c (expand_end_case): Pass 1 as UNSIGNEDP to emit_cmp_insn + when handling wide values. + Save original minval in orig_minval and use for making the table. - * regclass.c (regclass): Add missing cast from enum to int. +Tue Jun 29 22:28:06 1993 Jeffrey A. Law (law@snake.cs.utah.edu) -Wed Nov 18 09:40:01 1992 John Hassey (hassey@dg-rtp.dg.com) + * pa.c (singlemove_string): Use zdepi and ldil to load constants + into registers when appropriate. - * core.c (initialize_class): The class may not have an initialize - method. +Tue Jun 29 11:26:35 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Nov 18 09:40:01 1992 Wilson Tien (wtien@urbana.mcd.mot.com) + * config.sub: Recognize -sysv* after -sysvr4. - * xm-m68kv.h (rindex, index): use strrchr and strchr instead. + * config/vax/vax.h (GO_IF_NONINDEXED_ADDRESS): Declare reg_equiv_mem. -Wed Nov 18 01:27:37 1992 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) +Mon Jun 28 20:12:04 1993 Steve Chamberlain (sac@apple-gunkies.gnu.ai.mit.edu) - * config.sub: Added Xenix operating system. + * config/sh/*: Major rework. -Tue Nov 17 18:32:01 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Mon Jun 28 02:46:47 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * reload.c (combine_reloads): Don't combine with a reload needed - for multiple things. + * fixincludes (file): When changing VA_LIST to DUMMY_VA_LIST, + preserve _NEED___VA_LIST. -Mon Nov 16 08:52:52 1992 Jeffrey A. Law (law@mole.gnu.ai.mit.edu) + * config/ns32k/ns32k.c (output_move_double): + Handle reg[n,n+1] = mem[reg[n] + reg[n+1]]. + * config/ns32k/ns32k.md (movdf, movdi): Delete `&' from constraint. - * 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. + * config/sparc/sparc.c (output_move_double): Use new local var + highest_first to make sure addreg1 gets handled in the overlap case. + In 2-reg-overlap case, really use proper reg in new address. -Thu Nov 12 21:02:59 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) + * config/i860/i860.c (output_move_double): + Handle reg[n,n+1] = mem[reg[n] + reg[n+1]]. Use new local var + highest_first to make sure addreg1 gets handled in the overlap case. + * config/i860/i860.md (movdf, movdi): Delete `&' from load constraint. - Cygnus<-->FSF merge. + * config/sparc/sol2.h (CPP_SPEC): For -compat-bsd, put the ucbinclude + dirs before, not after. - Thu Nov 12 15:02:53 1992 Brendan Kehoe (brendan@cygnus.com) + * expr.c (store_field): Store unaligned field with bit field methods. - * 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. + * config/vax/vax.h (GO_IF_NONINDEXED_ADDRESS): If reload_in_progress, + check a REG's reg_equiv_mem the way we would check a MEM. - * cp-decl.c (finish_decl): Don't try to use TYPE if it's an - error_mark_node. + * reload.c (find_reloads_address): Be selective about what inner + addresses to allow in an indirect mem ref. - * cp-decl.c (sigsegv): Set to the default handler before calling - anything, so we can avoid possible infinite loops. Call - my_friendly_abort instead of just error(). - * cp-type2.c (my_friendly_abort): If I is 0, it's coming from sigsegv. - - * cp-type2.c (my_friendly_assert): New function. - * cp-call.c, cp-class.c, cp-class.h, cp-cvt.c, cp-decl.c, cp-decl.h, - cp-decl2.c, cp-dem.c, cp-edsel.c, cp-except.c, cp-expr.c, cp-gc.c, - cp-hash.h, cp-init.c, cp-input.c, cp-lex.c, cp-lex.h, cp-method.c, - cp-pt.c, cp-search.c, cp-spew.c, cp-tree.c, cp-tree.h, cp-type2.c, - cp-typeck.c, cp-xref.c, cp-parse.y: Don't include assert.h, and use - the new function `my_friendly_assert' instead of the `assert' macro. - - Wed Nov 11 22:14:51 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - - * tree.h (perm_calloc): Add decl. - * cp-parse.y (except_stmts): Declare return type of get_insns, - since we don't (can't) include rtl.h. - * cp-tree.c (TYPE_HASH): Use HOST_WIDE_INT instead of int when - casting pointers to integers. - (ld_cmp): Likewise. - * cp-call.c (build_method_call): Likewise. - * cp-class.c (finish_struct_methods): Likewise. - * cp-method.c (build_overload_value): Add decl of index. - (build_opfncall): Cast to HOST_WIDE_INT, not int. - * cp-search.c (get_binfo): Likewise. - (get_base_distance): Likewise. - (breadth_first_search): Likewise. Also declare to return - HOST_WIDE_INT, not int. - - Wed Nov 11 14:34:25 1992 Mike Stump (mrs@rtl.cygnus.com) - - Thu Nov 5 15:58:38 1992 Tim Moore (moore at defmacro.cs.utah.edu) - - * cp-decl.c (duplicate_decls): Round to obstack alignment when - testing if newdecl is at the top of the permanent obstack. - - Wed Nov 11 13:56:18 1992 Mike Stump (mrs@rtl.cygnus.com) - - * cp-search.c (build_vbase_vtables_init): Make sure external virtual - tables are declared on machines that need the declaration by calling - assemble_external. - - Wed Nov 11 12:51:44 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-decl2.c (grokfield): If the init field is really a list with - just an error_mark_node, then it wasn't a real initialization, so - don't treat it like one. +Sun Jun 27 16:40:59 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Tue Nov 10 16:21:20 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-init.c (build_new): If arg 1 of an array reference is an - error_mark, then just pretend that there were 0 elements. + * emit-rtl.c (copy_rtx_if_shared): Don't try to copy a 0-length vector. - Tue Nov 10 13:23:30 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * config/m68k/x-apollo68 (TAROUTOPTS): New definition. - * cp-typeck.c (build_x_function_call): If the type of FUNCTION is an - error_mark, don't bother checking its lang-specific info. + * config.sub: Canonicalize -sco4 and -sco3.2.4 to -sco3.2v4. - Tue Nov 10 12:38:36 1992 Mike Stump (mrs@rtl.cygnus.com) + * gcc.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Check for -iwithprefixbefore. + (option_map): Add --include-with-prefix-before and + --include-with-prefix-after. - * cp-decl.c (decls_match): Avoid core dumping when TREE_TYPE is - NULL_TREE, as is the case when olddecl is a TEMPLATE_DECL. +Sun Jun 27 16:04:52 1993 Holger Teutsch (holger@hotbso.rhein-main.de) - 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. + * va-clipper.h: Use and define Macro __GNUC_VA_LIST. Define struct + __gnuc_va_list. - Mon Nov 9 12:04:27 1992 Brendan Kehoe (brendan@lisa.cygnus.com) +Sun Jun 27 08:32:19 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-parse.y (try_for_typename): Deleted rule. - (scoped_id): Don't use it. - - Fri Nov 6 18:07:37 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-init.c (expand_aggr_init): If INIT is 0, don't bother trying to - play with its type. - - Thu Nov 5 16:52:37 1992 Chip Salzenberg (chip@tct.com) - - * cp-decl.c (finish_decl): Set TREE_STATIC, TREE_PUBLIC and - DECL_EXTERNAL correctly for use with #pragma interface. - - Fri Nov 6 10:07:01 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-class.c (finish_struct): Don't try to work with a field that - got a bogus type. + * machmode.h (INTEGRAL_MODE_P, FLOAT_MODE_P): New macros. + * cse.c (simplify_*_operation, fold_rtx, record_jump_cond, cse_insn): + Use them. + * combine.c (subst, apply_distributive_law): Likewise. + (reversible_comparison_p): Likewise. + Can reverse if MODE_COMPLEX_INT or MODE_PARTIAL_INT. + + * function.c (fixup_stack_1): Handle + current_function_internal_arg_pointer. + + * stor-layout.c: Add prototypes for layout_record and layout_union. + (smallest_mode_for_size): New function. + (variable_size): Allow variable sizes if global_bindings_p returns a + negative value. + (mode_for_size): Fix incorrect comment. + (layout_decl): If DECL has a size already, don't copy from type. + (layout_type, case INTEGER_TYPE, ENUMERAL_TYPE): Use smallest + integer mode that fits, whether or not it fits exactly. + + * emit-rtl.c (restore_emit_status): Clear LAST_LABEL_NUM. - * cp-method.c (build_overload_value): Don't call debug_tree! + * calls.c (expand_call): If function hasn't been used before, + call assemble_external. - * 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. + * expr.c (store_constructor): Treat QUAL_UNION_TYPE just + like UNION_TYPE. + (safe_from_p, case ADDR_EXPR): EXP is safe from X it is is static or + if the object whose address is being taken is safe from X. + (expand_expr): Fix misplaced comment from last change. + (expand_expr, case *_DECL): If not already used, assemble external. + (expand_expr, case EXIT_EXPR): Simplify. + (expand_expr, TRUTH_{AND,OR}IF_EXPR): Properly handle IGNORE case. - * cp-decl.c (grokdeclarator): If initializing a const member and - acting pedantic, then do make it an error. + * tree.c (array_type_nelts): Tighten up code and make more general. + (build_function_type): Allow function to return array. + (decl_function_context): Treat QUAL_UNION_TYPE like UNION_TYPE. - * 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. + * fold-const.c (fold, case TRUTH_XOR_EXPR): End with `return', + not `break'. - * 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. + * dwarfout.c (output_compile_unit_die): Add support for Ada. - Thu Nov 5 17:53:32 1992 Brendan Kehoe (brendan@cygnus.com) + * c-iterate.c (collect_iterators, case SAVE_EXPR): Simplify code + added in previous change. - * cp-decl.c (grokdeclarator): Constant class members can be - initialized. + * expr.c: Fix typo: was ARGS_GROW_DOWNARD. - Thu Nov 5 17:11:30 1992 Mike Stump (mrs@cygnus.com) + * combine.c (subst, case IF_THEN_ELSE): Install correct version of + last change. - Thu Nov 5 19:48:17 1992 Niklas Hallqvist (niklas@appli.se) +Sat Jun 26 15:38:33 1993 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. + * cccp.c (main): For -iwithprefix, if no include_prefix, + make a default from GCC_INCLUDE_DIR. + Support -iwithprefixbefore. - Thu Nov 5 13:02:56 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * reload.c (find_reloads): When merging reloads again after they have + been changed, do check reload_reg_class and reload_nocombine. - * cp-decl.c (grokdeclarator): Don't allow members to be initialized - in the class declaration. + * config/sparc/sparc.md (movdf recognizer): Remove & from + constraint for loading mem to cpu reg. - * 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. + * expr.c (expand_assignment): If FROM is scalar function call, + expand_expr FROM before TO. - * cp-call.c (find_scoped_type): New function. - (resolve_scope_to_name): Use it to check for names that might be in - base classes. + * gcc.c (translate_options): `*' inhibits warning of extraneous arg. - Wed Nov 4 00:43:15 1992 Brendan Kehoe (brendan@lisa.cygnus.com) +Sat Jun 26 11:07:23 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * reload1.c (reload): Use reg_equiv_address for invalid addresses + of the form (mem (reg)). - * cp-typeck.c (build_c_cast): Warn if casting between a pointer and - an integer whose sizes differ. + * config/*/xm-*.h: Remove line that #define's alloca + to __builtin_alloca. - * cp-parse.y (unary_expr): Finish making new with placement work; - use the rule `new' instead of the token `NEW' when parsing it. + * fold-const.c (fold, case PLUS_EXPR, MINUS_EXPR): Apply + distributive law to multiplication. + (fold, case *_DIV_EXPR): Replace code to handle (A*C1)/C2 with + more general code to handle addition as well. + (fold, case *_MOD_EXPR): Add simplified version of above code. - Tue Nov 3 02:16:47 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * integrate.c (function_cannot_inline_p): Can now inline nested + functions. + (expand_inline_function): Set up static chain if needed. + (output_inline_function): Don't switch to temporary allocation + here. + * toplev.c (compile_file): Switch to temporary allocation when + writing out inline function. + * cp-decl2.c (write_vtable_entries, finish_file): Likewise. + * c-decl.c, cp-decl.c (poplevel): Start new function context + when writing inline function. + + * c-decl.c (init_decl_processing): When making SIZETYPE, + start with name in SIZE_TYPE. If -traditional, use a + signed version of that type, if it is unsigned. + + * fold-const.c: Add prototypes for static functions. + ({l,r}{shift,rotate}_double): COUNT arg is HOST_WIDE_INT, PREC is int. + (all_ones_mask): Remove __inline__. + (range_test): Make static; not used elsewhere. + * tree.h: Add more decls for functions in fold-const.c. + + * calls.c (expand_calls): Fix typo: ALLOCATE_OUTGOING_ARGS + should be ACCUMULATE_OUTGOING_ARGS. + + * tree.def (TRUTH_{AND,OR,XOR}_EXPR): Make code class be 'e' like + the rest of the truth operations. + * fold-const.c (fold_truthop): Treat a BIT_AND_EXPR with a constant of + one as if it were surrounded with an NE_EXPR. + (fold): Don't move operation into conditional if it + is BIT_{AND,OR}_EXPR with the constant 1; change it to TRUTH_*_EXPR + instead. + When moving things inside conditions, move comparisons as well as + binary operations. + Don't make a SAVE_EXPR when moving things inside conditionals unless + the value would really have been used twice. - * 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. + * expr.c (do_store_flag): When computing via a shift, allow for + an inner RSHIFT_EXPR in BITNUM. + Sometimes do the operations as signed. - * cp-search.c (dfs_pushdecls): Don't try to use the context of a - field which has none at the time. + * combine.c (subst): apply_distributive_law can also handle AND. + (subst, case IF_THEN_ELSE): Make a shift when appropriate. + (simplify_shift_const): If we have an outer operation and made + a shift, see if it can be simplified. - * 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. +Sat Jun 26 03:25:35 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Tue Nov 3 00:15:44 1992 Brendan Kehoe (brendan@cygnus.com) + * configure (i370-*-mvs*): New configuration. + * config/i370/i370.md, mvs370.c, tm-mvs.h, xm-mvs.h - * 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. + * final.c, varasm.c: Include ctype.h. + * c-lex.c: Include ctype.h. + (isalnum, isdigit): Macros deleted. - * cp-lex.c (readescape): New arg ignore_ptr. - (real_yylex): Pass new arg, handle result that comes back. + * config/sparc/sparc.c (output_move_double): Handle + reg[n,n+1] = mem[reg[n] + reg[n+1]]. + * config/sparc/sparc.md (movdi): Delete the earlyclobber in load case. - * cp-decl.c (WCHAR_TYPE_SIZE): Deleted; never used. +Sat Jun 26 03:15:38 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) - Mon Nov 2 10:23:52 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * gcc.c (option_map): Add missing comma. - * cp-lex.c (real_yylex): Let skip_white_space handle \r. +Sat Jun 26 02:17:28 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-parse.y (parmlist): Warn on a decl `foo (...)', without a first - argument. + * config/we32k/we32k.c: Clean up formatting. - * cp-type2.c (build_functional_cast): If expr_as_ctor's argument is - a SAVE_EXPR, don't wipe out the argument. + * calls.c (calls_function_1): Add declaration. - * cp-call.c (build_method_call): Only complain about not having an - object for a called method if the method is non-static. + * config/m68k/m68k.md (fix_truncdfsi2, fix_truncdfhi2, fix_truncdfqi2): + Require TARGET_68881 as well as TARGET_68040. - Sun Nov 1 16:50:14 1992 Brendan Kehoe (brendan@lisa.cygnus.com) +Fri Jun 25 20:13:51 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * 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. + * calls.c (calls_function): Don't scan a single save_expr twice. + (calls_function_1): New subroutine for the actual recursion. - * cp-typeck.c (common_type): If either type is nonsense (an - error_mark), use the other type. + * c-parse.in (all_iter_stmt_simple): Add missing `else'. - Thu Oct 29 18:39:50 1992 Mike Stump (mrs@cygnus.com) +Fri Jun 25 15:53:59 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-decl.c (grokdeclarator): Fix problem introduce by me on Oct 22 - 17:41:13. Put back call to build_offset_type that I took out, as it - is not wrong, as the comment for build_offset_type had led me to - believe. + Cygnus<->FSF merge. + Fri Jun 25 10:00:34 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - Thu Oct 29 17:30:12 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * cp-decl.c: Delete some #if 0'd code that has been there forever. - * 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. + * cp-type2.c (my_friendly_abort): Update count of aborts (added by + emit_base_init rewrite). - * Makefile.in (stamp-cp-parse): There are now only 29 shift/reduce - conflicts, because of the removed wrapper stuff. + Make default copy constructors work properly. + * cp-lex.c (cons_up_default_function): Mark the generated ctor with + RID_INLINE, so it won't get emitted unless it's needed. + * cp-decl.c (grok_ctor_properties): If CTYPE has virtual base + classes, make sure we don't pay attention to the int that we + magically added to the ctor decl. + * cp-ptree.c (print_lang_type): Note a const copy ctor vs a normal + copy ctor. Say if TYPE_HAS_DEFAULT_CONSTRUCTOR. + * cp-tree.h (cons_up_default_function): Modify prototype. + * cp-class.c (finish_struct): Also check TYPE_HAS_CONSTRUCTOR, so + we don't generate a default ctor if they already declared one + (taking whatever arg types). - * 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. + Wed Feb 3 17:41:02 1993 Chip Salzenberg (chip@tct.com) - * 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. + * cp-class.c (needs_const_ctor): Eliminate as meaningless. + (finish_struct) Always generate default functions. + Generate exactly one copy constructor: either "X(X&)" or + "X(const X&)", but not both. + * cp-lex.c (cons_up_default_function): Take list of fields + as a new parameter. Use default_copy_constructor_body. + Set TREE_PUBLIC and DECL_EXTERNAL correctly for usage with + #pragma interface. + (default_copy_constructor_body): New function (uses obstacks). - 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. + Thu Jun 24 12:41:16 1993 Mike Stump (mrs@rtl.cygnus.com) - Wed Oct 28 15:38:44 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * cp-call.c (build_scoped_method_call, build_method_call): Remove + maybe_adjust argument to build_delete as it is unneeded and remove all + support for the magic cookie key in the area just before the data + allocated by new []. + * cp-decl.c (finish_function, maybe_build_cleanup, + push_exception_cleanup): Likewise. + * cp-decl2.c (delete_sanity, finish_file): Likewise. + * cp-init.c (init_init_processing, build_new, + maybe_adjust_addr_for_delete, build_delete, build_vbase_delete, + build_vec_delete): Likewise. + * cp-tree.c (build_cplus_new): Likewise. + * cp-tree.h (build_delete): Likewise. - * 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. + Wed Jun 23 17:18:41 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - Tue Oct 27 17:38:18 1992 Mike Stump (mrs@cygnus.com) + * cp-decl.c (init_decl_processing): Also catch SIGBUS. + (sigsegv): Rename to signal_catch; also reset SIGBUS. - * 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. + * cp-typeck.c (pointer_diff): Error if op1 is a pointer to an + incomplete type. - Tue Oct 27 16:21:41 1992 Mike Stump (mrs@cygnus.com) + Wed Jun 23 16:17:43 1993 Mike Stump (mrs@rtl.cygnus.com) - * cp-tree.h (THIS_NAME_P): Fix to reflect September 1 change in - THIS_NAME. + * cp-search.c (dfs_get_vbase_types, get_vbase_types): Conform to ARM + 12.6.2 with respect to virtual bases. Virtual bases are now + initialized in dfs order. - Tue Oct 27 12:35:59 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + Wed Jun 23 16:04:17 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-parse.y (operator_name): Remove check for top-level operator - decl. - * cp-decl.c (grokdeclarator): Complain here about type conversion - operators that aren't declared as members of classes. + * cp-tree.c (layout_basetypes): Disable the warning relating to a + non-virtual dtor. - * cp-decl.c (grokdeclarator): Only call do_friend on a friend if - decl's non-zero. + Tue Jun 22 20:03:59 1993 Mike Stump (mrs@cygnus.com) - Tue Oct 27 09:31:08 1992 Mike Stump (mrs@cygnus.com) + * cp-lex.c (reinit_parse_for_block): Detect EOFs inside templates. - * cp-lex.c (do_identifier): Add missing fourth argument to - lookup_field. + Tue Jun 22 16:10:46 1993 Mike Stump (mrs@cygnus.com) - Mon Oct 26 15:15:39 1992 Mike Stump (mrs@cygnus.com) + * cp-class.c (finish_struct): Set TYPE_NONCOPIED_PARTS now that the + right vtable can be found, so that the vtable pointers are set + correctly when implementing default copy constructors. + * cp-typeck.c (build_modify_expr): Use TYPE_NONCOPIED_PARTS in the + same way the backend uses it when implementing default copy + constructors. - * cp-cvt.c (convert_to_reference): Check for ambiguities - between constructor and conversion operators a bit harder. + Tue Jun 22 10:50:56 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - Sat Oct 24 19:34:39 1992 Brendan Kehoe (brendan@cygnus.com) + * cp-decl.c (grokdeclarator): Don't try to mangle the name of a fn + that has C linkage. - Mon Sep 14 14:36:53 1992 Chip Salzenberg (chip@tct.com) + * cp-init.c (xref_friends): Deleted fn, since it's the same as + xref_friend. + (xref_friend): Make it static. + (do_friend): Change call to xref_friend. + * cp-tree.h (xref_friend, xref_friends): Delete extern decls. - 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. + * cp-tree.h (lang_type): Delete `dynamic' bit. + * gplus.gperf (dynamic): Delete reserved word. + * cp-hash.h: Generated a new version. + * cp-lex.c (init_lex): Delete doing an unset of `dynamic'. + * cp-parse.y (DYNAMIC): Delete token and setting it to %right. + (new, aggr): Delete DYNAMIC rules. + * cp-spew.c (init_spew, struct toks_follow_types): Delete DYNAMIC. - Fri Oct 23 18:52:19 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * cp-typeck.c (convert_for_assignment): There's no standard + conversion from a pointer to member to a `void *'. - * cp-decl.c (poplevel): Use error_with_decl on an unused label, so - its line number comes out correct. + * cp-decl.c (init_decl_processing): Add builtins for + __builtin_apply_args, __builtin_apply, and __builtin_return. - Thu Oct 22 18:31:50 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + Mon Jun 21 12:05:28 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-parse.y (operator_name): If a type conversion operator is - defined at the top level, don't crash, complain. + * cp-decl2.c (grok_x_components): New function. Adjust the code that + handles ENUMERAL_TYPEs and UNION_TYPEs to make more sense. + * cp-parse.y (component_decl): Move a lot of code into that fn. + * cp-tree.h (grok_x_components): Add extern decl. - Thu Oct 22 17:41:13 1992 Mike Stump (mrs@cygnus.com) + * cp-parse.y (component_decl_list): Don't warn about a semicolon + after a component_decl_list. - * 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. + * cp-search.c (lookup_field): Be careful to handle operators + properly when complaining about ambiguities &c. - Thu Oct 22 13:15:57 1992 Mike Stump (mrs@cygnus.com) + * cp-search.c (dfs_pushdecls): Make sure we have a context before + seeing if it derives from TYPE. - * cp-tree.h (ANON_AGGRNAME_P): Check the second charater as well, as - it could be $vtbl_ptr_type, and not an ANON_AGGRNAME. + Fri Jun 18 08:14:11 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - Wed Oct 21 19:31:36 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * cp-decl2.c (finish_anon_union): Use simple_cst_equal to find the + member that can hold all the values, instead of just doing a compare + between the DECL_SIZEs. - * cp-call.c (build_method_call): Initialize b_or_d to 0. + Wed Jun 16 10:57:37 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-typeck.c (compparms): Delete dead code for returning if either - TREE_PURPOSE is true when t1 and t2 are both 0. + * cp-typeck.c (build_unary_op): Make sure it's the global fn `main' + before complaining about taking the address of it. - * cp-parse.y (object): Only pass one argument into build_x_arrow. + * cp-decl.c (grokdeclarator): Also forbid `operator ()' as a + non-member fn. - * cp-parse.y (unary_expr): Add code to parse `&&label'. - (stmt): Expand computed gotos. + * cp-decl.c (grok_reference_init): Don't allow an initializer list + as the initializer for a reference. - * cp-method.c (fndecl_as_string): Say it's static before giving its - type, it looks better (and matches how you'd declare it). + * cp-method.c (dump_init): Handle a NON_LVALUE_EXPR. - Wed Oct 21 16:22:43 1992 Mike Stump (mrs@cygnus.com) + Sun Jun 13 12:55:22 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-decl.c (start_decl): return NULL_TREE, not error_mark_node to - signify error. - * cp-decl2.c (cplus_decl_attributes): New function. Don't call - decl_attributes if the first argument is NULL_TREE. - * cp-tree.h (cplus_decl_attributes): Declare new function. - * cp-parse.y: Changed all calls to decl_attributes into calls to - cplus_decl_attributes, as all calls may pass NULL_TREE in the first - argument. + * cp-decl.c (grokvardecl): Don't complain about duplicate + definitions of `extern "C"' declarations (parallelize it with how + regular `extern' decls are handled). - Wed Oct 21 11:40:35 1992 Mike Stump (mrs@cygnus.com) + * cp-decl.c (start_function): Avoid a null-reference on CTYPE. - * cp-call.c (build_method_call): Avoid an abort on parse errors by - changing an assert into a conditional my_friendly_abort. + * cp-cvt.c (build_default_binary_type_conversion): Look deeper into + what ARG1 and ARG2 are if they're POINTER_TYPEs. - Tue Oct 20 16:52:32 1992 Mike Stump (mrs@cygnus.com) + Thu Jun 10 12:09:17 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-tree.h (TYPE_ASSEMBLER_NAME_STRING, - TYPE_ASSEMBLER_NAME_LENGTH): New macros. - * cp-search.c (build_type_pathname): Use new macros. - * cp-decl.c (pushtag): Set DECL_ASSEMBLER_NAME for TYPE_DECLs with - build_overload_name so that assembler names for template type things - are like __vt$t1X1Zi$1T.4 and not __vt$X$T.4. - * cp-decl.c (pushdecl): Since the rest of the compiler wants to use - DECL_NAME for TYPE_DECLs, use that instead of DECL_ASSEMBLER_NAME. + * cp-decl.c (grokdeclarator): Make the warning about opr-eq being a + member function be a pedwarn. - Tue Oct 20 11:29:50 1992 Mike Stump (mrs@cygnus.com) + Thu Jun 10 00:30:08 1993 Mike Stump (mrs@cygnus.com) - Wed Oct 7 16:01:55 1992 Chip Salzenberg (chip@tct.com) + * cp-tree.h: (previous_class_type): Add external declaration. + * cp-class.c (prev_class_type): Rename to previous_class_type. + * cp-decl.c (struct saved_scope): Add previous_class_type slot. + * cp-decl.c (push_to_top_level, pop_from_top_level): Track + previous_class_type value. The only trick is that we have to call + popclass(-1) when we have a previous_class_type that we are about to + destroy, to keep things in sync. - [ changes propagated from 921005 snapshot ] - * cp-lex.c (readescape): No warning if digits in \x are all 0's. + Tue Jun 8 16:48:49 1993 Mike Stump (mrs@cygnus.com) - Fri Oct 9 15:18:19 1992 Brendan Kehoe (brendan@cygnus.com) + * cp-cvt.c (build_thunk, convert_fn_ptr): New routines to handle + thunks. + * cp-cvt.c (cp_convert_to_pointer): Use convert_fn_ptr when + converting non-static pointer to members. - * cp-decl.c (duplicate_decls): Only find out if olddecl is a - friend after we know it's not a TREE_LIST. + Tue Jun 8 16:41:59 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - Wed Oct 7 16:04:34 1992 Mike Stump (mrs@cygnus.com) + * cp-lex.c (reinit_parse_for_block): Make sure not to try to use + consume_string on an escaped double-quote. - Wed Oct 7 12:26:07 PDT 1992 Ron Guilmette (rfg at netcom.com) + Tue Jun 8 16:25:43 1993 Mike Stump (mrs@cygnus.com) - * cp-lex.c (readescape): Permit \? as an escape sequence. + * cp-call.c (build_method_call): Don't search hidden functions from + base classes, as this violates chapter 10. - Tue Oct 6 17:54:09 1992 Mike Stump (mrs@cygnus.com) + Mon Jun 7 18:46:01 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - Major MI revamp. + * cp-init.c (emit_base_init): Rewrite, merging the two paths into + one for member initialization. Now members will be initialized in + order of declaration, not in the order of the mem-initializer list. + (perform_member_init, sort_member_init): New functions. - * 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. + Mon Jun 7 18:01:31 1993 Mike Stump (mrs@cygnus.com) - * cp-search.c (convert_pointer_to_single_level): Added so that one - can convert pointer unambiguously to an immediate base class - pointer. + * cp-search.c (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. - * 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. + Sun Jun 6 11:45:44 1993 Michael Tiemann (tiemann@rtl.cygnus.com) - * 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. + * cp-call.c (EVIL,TRIVIAL): New macros. + (convert_harshness): Use these macros. - Tue Oct 6 14:51:13 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + Sat Jun 5 19:06:13 1993 Michael Tiemann (tiemann@rtl.cygnus.com) - * cp-spew.c (yylex_ctr): Make unsigned. - * cp-decl2.c (spew_debug): Add extern reference. - (lang_decode_option): New option `-spew-debug', so masochists can - use it when they need to. + * cp-init.c (emit_base_init): Make clearing BINFO_BASEINIT_MARKED + symmetric with its setting. Fixes p2825. - Mon Oct 5 15:47:35 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + Thu Jun 3 16:24:30 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - Implement protected baseclasses. - * cp-class.c (finish_base_struct): Set TREE_VIA_PROTECTED. - (finish_struct_methods): Check for either public or protected - members to kick out of the "all members are private" test. - * cp-decl.c (xref_tag): Set TREE_VIA_PROTECTED appropriately. - * cp-parse.y (base_class_visibility_list): Remove code about - `protected' visibility not being implemented. - * cp-pt.c (tsubst): Set via_protected and call hash_tree_cons - with it as necessary. - * cp-search.c (compute_visibility): Set visibility if protected. - Return the appropriate visibility when resolving a field. - (lookup_field): Set TREE_VIA_PROTECTED for btypes from its child. - When complaining about a member being protected, differentiate when - it's from a protected base class (could be a public member in the - base). - (lookup_fnfields): Set TREE_VIA_PROTECTED. - (get_baselinks): Pass TREE_VIA_PROTECTED into hash_tree_cons. - Also pass a 0 when necessary. - * cp-tree.c (propagate_binfo_offsets): Set TREE_VIA_PROTECTED. - (layout_vbasetypes): Ditto. - (layout_basetypes): Ditto. - (list_hash_lookup): Check TREE_VIA_PROTECTED when looking at an - incomplete basetype. - (hash_tree_cons): New argument `via_protected'. Set TREE_VIA_PROTECTED - when necessary. - (list_hash_lookup_or_cons): Check TREE_VIA_PROTECTED when making - sure a hash list is sane. - (make_binfo): Set TREE_VIA_PROTECTED for the new child. + * cp-parse.y (component_declarator, component_declarator0): + Allow attribute after nameless field. - Mon Oct 5 13:27:44 1992 Mike Stump (mrs@cygnus.com) + * cp-lex.c (real_yylex): Take care to expand token_buffer before + storing each character. - * cp-init.c (maybe_adjust_addr_for_delete): Make sure we don't - evaluate the addr twice if it has side effects. + * cp-lex.c (real_yylex): If an integer value overflows so the high + word is negative, it's of unsigned long long type. Integer constant + is unsigned for purposes of int_fits_type_p so that it compares huge + constants properly. Warn about integers so large that they are + unsigned. - Mon Oct 5 13:05:37 1992 Mike Stump (mrs@cygnus.com) + * cp-cvt.c (convert_from_reference): Do an or-equals on setting + TREE_SIDE_EFFECTS for NVAL. + * cp-tree.c (lvalue_p): For a SAVE_EXPR, check its first argument. - * cp-init.c (build_vec_delete): Make sure we don't evaluate the base - expression twice if it has side effects. + Thu Jun 3 11:34:35 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - Mon Oct 5 12:38:35 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * cp-decl2.c (grok_alignof): New function. + * cp-parse.y (unary_expr, ALIGNOF unary_expr rule): Move the code + into the new function, to reduce the size of the parser. + * cp-tree.h (grok_alignof): Add prototype. - * 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. + * cp-decl.c (grokdeclarator): Allow function-call notation for + initialization of scalars as well as aggregates. - Mon Oct 5 12:34:32 1992 Mike Stump (mrs@cygnus.com) + * cp-decl.c (pushdecl): Don't pay attention to friends when noting a + missing `static' decl. Disable this code for now. - * 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++. + Wed Jun 2 12:23:05 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - Mon Oct 5 11:43:09 1992 Mike Stump (mrs@cygnus.com) + * cp-decl.c (duplicate_decls): Do a regular error if the line number + on NEWDECL hasn't been set yet (e.g., before finish_struct). - Mon Sep 14 16:39:10 1992 Chip Salzenberg (chip@tct.com) + * cp-class.c (finish_struct): Remove warning about a bit-field + having a bad type in ANSI C++, it's not appropriate given the + warning immediately above. - * cp-cvt.c (convert_to_integer): Don't pass truncation thru lshift - if shift count >= width of narrower type. Instead, just use 0. + * cp-typeck.c (require_instantiated_type): Don't allow an + initializer list in an argument list. - Fri Oct 2 13:21:40 1992 Ken Raeburn (raeburn@kyriath.cygnus.com) + * cp-decl.c (pushdecl): Change shadowing of a param in outermost + block of the fn from a pedwarn to an error, since it's a + redeclaration. - * cp-decl.c (start_function): Reinstate error check for missing - semicolon erroneously removed. + * cp-class.c (finish_struct): Say anonymous classes and structs are + useless, not just classes. -Thu Nov 12 17:37:23 1992 Michael Meissner (meissner@osf.org) + * cp-lex.c (real_yylex): Warn if catch, throw, or try are used as + identifier names. - * 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. + * cp-decl.c (pushdecl): Make sure we have a CURRENT_FUNCTION_DECL + before setting its public flag. -Thu Nov 12 07:30:17 1992 James Van Artsdalen (james at bigtex.cactus.org) + * cp-decl.c (expand_static_init): Only complain about multiple + initializations of a static variable if we actually have an + initializer. + (finish_decl): Likewise for const. - * i386.h (HARD_REGNO_MODE_OK): Restrict MODE_INT from FP regs only. + * cp-search.c (build_mi_matrix): Fix off-by-one error in + clearing of MI_MATRIX. + (get_base_distance): Init NEW_BINFO to 0. - * 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. + * cp-pt.c (instantiate_member_templates): Initialize XXX to 0. - * i386.c (float_op): Delete - no longer used. + * cp-call.c (build_method_call): Zero out candidates. + (build_overload_call_real): Likewise. -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 Jun 2 11:53:24 1993 Mike Stump (mrs@cygnus.com) - * romp.md (reload_outdi): Write as proper PARALLEL. + * cp-search.c (lookup_fnfields_here): Use TYPE_MAIN_VARIANT on + context types before comparing. Fixes const member functions not + being found in templates. -Wed Nov 11 01:06:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Tue Jun 1 18:26:18 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * toplev.c (lang_options): Change +e... to -+e... + * cp-parse.y (structsp): Avoid a null-ref on ID. + (left_curly): Likewise. - * xm-tower.h: Include xm-svr3.h. - (bcopy, bzero, bcmp, USG): Macros deleted. + Tue Jun 1 13:49:20 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Tue Nov 10 12:26:23 1992 Steve Chamberlain (sac@cygnus.com) + * cp-decl.c (pushdecl): Communicate a `static' decl of a prototype + into its definition, if they forget to take care of it. - * sdbout.c (plain_type_1): Handle LONG_TYPE_SIZE like INT_TYPE_SIZE. + * cp-init.c (emit_base_init): Make error message more useful about + insufficient initializers for a member of a class w/o a ctor. -Tue Nov 10 14:20:27 1992 Michael Meissner (meissner@osf.org) + Sun May 30 09:45:06 1993 Michael Tiemann (tiemann@rtl.cygnus.com) - * mips.md (ffssi2): Add =& constraints to the two match_scratch - clobbered registers. Fix from John F Carr. + * cp-call.c (compute_conversion_costs): Penalise each argument that + matches an ellipsis, not just the ellipsis itself. + (build_method_call): Don't consider a candidate an easy match if + cp->ellipsis is non-zero (fixes p2778). - * mips-tdump.c (toplevel): Move #undef index and rindex before - including sym.h. + Sat May 29 09:34:57 1993 Michael Tiemann (tiemann@rtl.cygnus.com) -Tue Nov 10 10:37:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-cvt.c (convert_to_reference): Match ARM rules more closely by: + (1) not converting between types of different signedness, and + (2) converting between types of different varieties if a const& + suggests we can use a temporary (fixes p2780). - * Makefile.in (install-common): Delete deps $(srcdir)/g++ $(srcdir)/c++ + * cp-decl.c (decls_match): Handle pseudo-match of parameter lists + according to p308 of the ARM. + (push_overloaded_decl): Ditto. + * cp-typeck.c (comptypes): Rest of change (closes p2779). - * expr.c (init_expr_once): Try indexing mem by fp as well as sp. + * cp-call.c (compute_conversion_costs): Count ellipses when we see + them. + (ideal_candidate): Gracefully handle arg lists that have ellipses + (Fixes p2777). -Tue Nov 10 10:28:59 1992 Chris Smith (csmith@convex.com) + * cp-call.c (build_method_call): Delete some #ifdefs that are + obsoleted by ANSI. - * genattrtab.c (main): Unlimit stack size. + Fri May 28 12:15:21 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Tue Nov 10 10:17:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-decl.c (finish_decl): Don't allow overloaded operators to have + default arguments. - * print-rtl.c (print_rtx): Use sizeof spaces - 1 to get the length - of the spaces string. + * cp-cvt.c (convert): If it's an anonymous enum, say so instead of + giving the cryptic `._123' as the enum type. -Tue Nov 10 09:56:32 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) + Thu May 27 10:52:49 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * pa-hpux.h (LINK_SPEC): Disable linking against shared libraries. - * pa-ghpux.h (LINK_SPEC): Likewise. + * cp-decl.c (grokdeclarator): Return 0 instead of doing a 155 abort, + so we'll get the right error message later. -Tue Nov 10 08:39:01 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cp-type2.c (readonly_error): Give a more useful error when the arg + is a RESULT_DECL. - * elxsi.h (GO_IF_LEGITIMATE_ADDRESS): Verify that register is valid - for use as base register (un-allocated pseudos aren't when strict). + * cp-init.c (build_new): Set LOOKUP_COMPLAIN on the flags, so we'll + pay attention to the visibility of the constructor we're trying to + call. -Mon Nov 9 22:17:23 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * toplev.c (lang_options): Add warning about ctor/dtor privacy. + * cp-decl2.c (lang_decode_option): Grok it. Make -Wall effect it. + (warn_ctor_dtor_privacy): New variable, default being on. + * cp-tree.h (warn_ctor_dtor_privacy): Add extern decl. + * cp-class.c (finish_struct_methods): Make the ctor warning + conditionalized on the flag. + (finish_struct): Likewise for ctors. + * invoke.texi (Option Summary, Warning Options): Add it. + (Options to Request or Suppress Warnings): Explain it. - * xm-3b1.h (index, rindex): Define as macros. + * cp-decl.c (grokdeclarator): Use a pedwarn on extern inline. - * i386bsd.h: Complete rewrite. + Tue May 25 13:55:48 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Mon Nov 9 14:22:38 1992 Michael Meissner (meissner@osf.org) + * cp-init.c (build_delete): Don't pass the size as an argument to + builtin delete for a non-aggregate type. Only pass it for a class + when we'll be using its own operator delete(). (complies w/ $12.5) + (build_x_delete): Don't pass the size down to builtin delete. - * mips.h, decrose.h: Move LINK_LIBGCC_SPECIAL to decrose.h. + * cp-decl2.c (delete_sanity): If it's a pointer to a type that has + no destructor, then build a regular delete expression, instead of a + vector one (since we didn't push any info into the BI_header_type + area). -Mon Nov 9 12:39:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-decl2.c (grok_array_decl): Add a pedwarn if they do `5[a]'. - * unroll.c (final_biv_value): Make a note after loop_end - if we need to use NEXT_INSN (loop_end). + * cp-typeck.c (comptypes): Don't warn about t2 being an + error_mark_node. - * objc-actions.c (build_message_expr): Don't crash if super_type is 0. + * cp-decl.c (finish_decl): If type is laid out, but decl is not, + call layout_decl. -Mon Nov 9 07:42:30 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + Mon May 17 10:35:55 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * caller-save.c (save_call_clobbered_regs): Ensure any insns we add - are in the same basic block as the insn we added them for. + * cp-tree.h (error_not_base_type): Add prototype. -Mon Nov 9 12:35:57 1992 Torbjorn Granlund (tege@jupiter.sics.se) + Fri May 14 17:16:55 1993 Mike Stump (mrs@poseidon.cygnus.com) - * 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. + * cp-class.c (finish_struct): Use get_binfo instead of binfo_value + to find vfields. Cures compiler_error. -Sun Nov 8 20:38:19 1992 James Van Artsdalen (james at bigtex.cactus.org) + Thu May 13 14:57:51 1993 Mike Stump (mrs@cygnus.com) - * i386.md (movstrsi): mask move count after signed shift. + * cp-tree.c (binfo_value): If type is the main binfo for elem, + return it. -Sun Nov 8 00:24:30 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Wed May 12 13:10:07 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * fixinc.svr4: Avoid use of | in sed regexp; use multiple s commands. + * cp-typeck.c (c_expand_return): Pedwarn on using return without a + value in a function that requires one. Clear + CURRENT_FUNCTION_RETURNS_NULL, so we don't get a bogus warning about + reaching the end of a non-void function. - * i386mach.h: Include i386gstabs.h, not i386gas.h. + Tue May 11 17:51:16 1993 Mike Stump (mrs@poseidon.cygnus.com) - * 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. + * cp-decl.c (start_decl): Allow -fexternal-templates compiled code to + fall back to old strategy of generating static copies for templates + that are not under the control of #pragma interface/implementation, + but warn if this happens. + * cp-decl2.c (warn_if_unknown_interface): Likewise. + * cp-lex.c (reinit_parse_for_method, cons_up_default_function): + Likewise. + * cp-pt.c (end_template_decl, instantiate_member_templates, + instantiate_template): Likewise. + * cp-tree.h (warn_if_unknown_interface): Likewise. - * cccp.c (rescan): Accept # as command inside macro args, etc. - If an actual newline at the same level precedes. + Sat May 8 05:53:17 1993 Michael Tiemann (tiemann@cygnus.com) - * fixincludes (EXINIT): Set it to `set', not null. + * cp-decl.c (finish_decl): TOPLEV should be set non-zero also if we + are at the pseudo-global level. Use TOPLEV instead of testing + CURRENT_BINDING_LEVEL. - * toplev.c (main): Use strncmp when testing for gstabs+ vs gstabs. + Fri May 7 12:42:46 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Sat Nov 7 17:46:35 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-decl2.c (grok_array_decl): New function. + * cp-parse.y (primary): Use it instead of lots of code in the + parser. + * cp-tree.h (grok_array_decl): Add prototype. - * optabs.c (expand_unop): - For complex negation, do get_insns, not gen_sequence. + * cp-parse.y (component_decl): Disable change about TYPE_DECLs going + into the TYPE_FIELDS list for now. + * cp-type2.c (store_init_value): Disable checks for now. - * c-decl.c (finish_decl): Don't clear DECL_INITIAL in inline fn decls. + Thu May 6 16:59:19 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * c-typeck.c (process_init_constructor): Strip NOP_EXPR from indices. - Clear end_index if there's an error in a range. + * cp-lex.c (check_newline): Use a while instead of a do-while to + avoid reading the line after the #pragma if we're at a newline. - * mips-5sysv.h, mips-5svr4.h, mips-5bsd.h (CPP_PREDEFINES): - Add single-underscore variants of all the predefined symbols. + Wed May 5 16:38:06 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * gstddef.h [_ANSI_H_]: When undefing at the end, test _STDDEF_H, - not __need_ptrdiff_t. + * Makefile.in (stamp-cp-parse): Update reduce/reduce count to 13. - * mips.c (gen_int_relational): Handle overflow when incrementing cmp1. + * cp-decl2.c (delete_sanity): New function. + * cp-parse.y (unary_expr): Call it, getting rid of a lot of + repeated code in the parser. + * cp-tree.h (delete_sanity): Add prototype. -Fri Nov 6 23:03:14 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * cp-init.c (emit_base_init): Don't try to do anything with a member + that lacks a DECL_NAME (e.g., types we added in component_decl from + the parser). - * elxsi.c: Include config.h. + Wed May 5 12:57:33 1993 Jim Wilson (wilson@sphagnum.cygnus.com) -Fri Nov 6 18:53:21 1992 Chip Salzenberg (chip@tct.com) + * cp-parse.y (get_current_declspecs): Obsolete, deleted. - * i386sco.h (STARTFILE_SPEC): Fix line wrap. - (SIGNED_CHAR_SPEC): Defined to set _CHAR_UNSIGNED. + Tue May 4 13:46:09 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Fri Nov 6 19:06:56 1992 Jim Wilson (wilson@sphagnum.cygnus.com) + * cp-type2.c (process_init_constructor): Don't check for private or + protected members; we do that in store_init_value now. - * dbxout.c (dbxout_symbol): Give name ` ' to unnamed enums. + * cp-parse.y (simple_stmt): Use expr_no_commas instead of expr for + case labels. -Fri Nov 6 15:26:30 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * optabs.c (init_libfuncs): Add casts when comparing/incrementing enum. - -Fri Nov 6 15:41:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-typeck.c (build_binary_op_nodefault): Add 'right' and 'left' to + shift count warnings to distinguish them from each other. - * toplev.c (main): Really accept -gstabs+. + * cp-decl.c (finish_decl, grokdeclarator): Report overflows in + storage sizes. + (build_enumerator): Report overflows on enumerators. + * cp-decl2.c (grokbitfield): Likewise. + * cp-parse.y (unary_expr): Warn about overflows in parser-built + unary expressions. + * cp-typeck.c (c_sizeof): Call force_fit_type only for INTEGER_CST. + (build_c_cast): Ignore any integer overflow caused by a cast. + (convert_for_assignment): Warn if source had overflow in folding. + (build_conditional_expr): Check conversions in if-then-else + expressions. + * cp-tree.h (convert_and_check, overflow_warning, + unsigned_conversion_warning): Add prototypes for fns in c-common.c. -Fri Nov 6 06:46:22 1992 Tom Wood (wood@dg-rtp.dg.com) + * cp-decl.c (init_decl_processing): Make the arrays 200 long to + leave enough room for most names. - * m88k.md (tcnd_divide_by_zero, divsi3, udivsi3): Allow the - explicit trap for divide by zero to resume execution along the - expected path. + * cp-decl.c (lookup_label): Return a NULL_TREE if not within a + function. + * cp-parse.y (unary_expr, ANDAND identifier): Handle lookup_label + returning a NULL_TREE. - * t-m88kv4 (FIXINCLUDES): Delete. + * cp-method.c (dump_init): Grok a FIELD_DECL as well. -Fri Nov 6 03:08:13 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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). - * i386.md (andsi3): Mask immed op to 0xff in QI-reg ff00-byte case. + Mon Jan 25 11:04:23 1993 Niklas Hallqvist (niklas at della.appli.se) - * 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. + * cp-parse.y (component_decl): Handle anonymous unions as static + class members. + * cp-decl.c (grokdeclarator): Ditto. - * c-lex.c (readescape): Support \e like \E. Warn only if -pedantic. + * cp-decl.c (shadow_tag): Emit error message if static or extern + is specified as per ARM 7.1.1. + + * cp-decl2.c (finish_anon_union): Issue error if a global + anonymous union is not declared static, remove old funny error + about some optimizer failing. -Fri Nov 6 08:34:17 1992 Tim Moore (moore at defmacro.cs.utah.edu) + * cp-class.c (finish_struct): Corrected error message concerning + anonymous classes. - * integrate.c (copy_rtx_and_substitute)[ARGS_GROW_DOWNWARD]: Map - virtual args pointer to the top of the argument block. - * calls.c (expand_call)[ARGS_GROW_DOWNWARD] Fix fencepost error in - calculating high_to_save and low_to_save. Use - high_to_save to - address stack_area. + * cp-lex.c (check_for_missing_semicolon): Allow trailing storage + specifiers. -Fri Nov 6 00:41:53 1992 Paul Eggert (eggert@twinsun.com) + Fri Jan 29 09:39:17 1993 Niklas Hallqvist (niklas at della) - * sparc.h (TARGET_EDOM, GEN_ERRNO_RTX): Deleted. + * cp-parse.y (component_decl): Nested unions, enums and structs + should have their TYPE_DECLs in the TYPE_FIELDS slot of the + containing type so the access flags eventually will get correctly + set. -Thu Nov 5 18:55:44 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * cp-type2.c (store_init_value): Check for the aggregate conditions + described in ARM 8.4.1. - * alpha.c (output_prologue): Fix typo: `add' should be `addq'. + Mon May 3 19:10:28 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Thu Nov 5 18:35:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-lex.c (real_yylex): Don't warn about floating point out of + range if target floating-point format is IEEE. - * Makefile.in (install-fixincludes): Add semicolon in new for-loop. + * cp-class.c (finish_struct): Promote unsigned bitfields to signed + int if the field isn't as wide as an int. -Thu Nov 5 15:24:14 1992 Michael Meissner (meissner@osf.org) + * cp-search.c (dfs_pushdecls): Use warning_with_decl, so we give the + line number of the offending method declaration, rather than the + line number of the curly-brace that ends the class definition. - * i386rose.h, decrose.h (REAL_LD_FILE_NAME): Define to be the - correct location on OSF/1 -- /usr/bin/ld points to - /usr/ccs/gcc/ld, which is collect. - (REAL_NM_FILE_NAME): Ditto for nm. - (REAL_STRIP_FILE_NAME): Ditto for strip. + Mon May 3 18:04:15 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Wed Nov 4 13:36:10 1992 Jim Wilson (wilson@sphagnum.cygnus.com) + * cp-cvt.c (convert): When doing int->enum conversions, always call + pedwarn, even if we didn't give `-pedantic'. - * optabs.c (expand_binop): When trying to expand a multiple word - add into multiple single word adds, don't overwrite OP0 and OP1 in - case we must backtrack. We use instead new variables XOP0 and XOP1. + * cp-decl.c (start_function): Add extern decl of + `flag_external_templates'. -Wed Nov 4 16:45:53 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-lex.c (check_newline): Warn if there's anything after a + `#pragma interface'. - * config.sub: Don't discard SCO version number if it's 3.2v4. + Mon May 3 12:39:49 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * xm-vax-vms.h (HOST_FLOAT_FORMAT): Defined. + * cp-class.c (finish_struct_methods): Use `warning' on a class w/ a + private dtor and no friends, so the line number comes out right. Also + only emit this warning when `extra_warnings' is true. - * varasm.c: Fix typos in last change. + * cp-type2.c (process_init_constructor): Don't allow use of an + initializer list for a class with private or protected members. -Wed Nov 4 10:11:28 1992 Torbjorn Granlund (tege@jupiter.sics.se) + Sat May 1 15:07:24 1993 Mike Stump (mrs@poseidon.cygnus.com) - * va-pa.h (va_end): Do it like in other va-*.h files. + * cp-decl.c (start_decl, start_function): Add a new flag + -fexternal-templates. Use flag_external_templates to determine when + template definitions should be made externally visible and + accessible. This permits non-exponential growth in object files + that use templates. + * cp-decl2.c (lang_f_options): Likewise. + * cp-lex.c (reinit_parse_for_method, cons_up_default_function): + Likewise. + * cp-parse.y (template_instantiate_once): Likewise. + * cp-pt.c (end_template_decl, instantiate_member_templates, + instantiate_template, end_template_instantiation): Likewise. + * toplev.c (lang_options): Likewise. -Wed Nov 4 07:23:46 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + Fri Apr 30 18:50:00 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * 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. + * cp-spew.c (arbitrate_lookup): If the next character is a '[', then + have the compiler assume it's an expression instead of a type. -Wed Nov 4 00:13:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Fri Apr 30 14:39:28 1993 Mike Stump (mrs@poseidon.cygnus.com) - * x-next (libgcc2.a, stdarg.h): New rules. + * cp-class.c (maybe_fixup_vptrs): Use the VF_NORMAL_VALUE of the + vfields to get the binfo to get the vtable, so that we may pick up + the most derived version of the vtable. - * varasm.c (immed_real_const_1, immed_double_const): - Don't push on const_double_chain in nested function. + * cp-class.c (finish_base_struct): Always set the VF_NORMAL_VALUE so + that maybe_fixup_vptrs can get the most derived vtable. - * expr.c (emit_move_insn): Do return a value, in complex case. +Fri Jun 25 14:00:17 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Nov 3 10:45:09 1992 H.J. Lu (hlu@yardbird.eecs.wsu.edu) + * config.sub: Convert ...-sysvr4 into ...-sysv4. - * i386linux.h (STARTFILE_SPEC): -static is added to ld if - -pg, -g or -p is passed down by gcc. + * config/m68k/news.h (CPP_PREDEFINES): Have two alternatives, + one for motorola and one for not motorola. -Tue Nov 3 15:14:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/m68k/tower-as.h, mot3300.h, m68kv4.h, hp320.h, amix.h: + * config/m68k/3b1.h, crds.h (CPP_PREDEFINES): Add __motorola__. - * pa.c (output_ior): Handle "ior" against zero. + * expr.c (store_expr): If TARGET is volatile mem ref, return it. - * i386mach.h (YES_UNDERSCORES): Define it. + * toplev.c (lang_options): Add -fdollars-in-identifiers. + * c-decl.c (c_decode_option): Handle -fdollars-in-identifiers. - * sun3.h (ASM_OUTPUT_FLOAT_OPERAND): Use REAL_VALUE_MINUS_ZERO. - (ASM_OUTPUT_DOUBLE_OPERAND): Likewise. +Fri Jun 25 13:33:39 1993 Jeffrey A. Law (law@snake.cs.utah.edu) -Tue Nov 3 08:25:35 1992 Chris Smith (csmith@convex.com) + * pa-hpux.h (LINK_SPEC): Search shared libraries by default; turn + off shared library searching of -static is specified. + * pa-ghpux.h (LINK_SPEC): Likewise. - * 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. + * pa.h (TARGET_SHARED_LIBS): Delete switch and all references to + the switch. + * pa.c: References to TARGET_SHARED_LIBS deleted. + * pa.md: Likewise. -Tue Nov 3 08:05:10 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * pa-utahmach.h (TARGET_DEFAULT): Allow indexing on Mach ports. + * pa1-utahmach.h (TARGET_DEFAULT): Likewise. + * pa.h (TARGET_DISABLE_INDEXING): Clean up comments. - * jump.c (jump_optimize): Ensure operand of REG_NOTES is an INSN; - otherwise, we might try to read outside allocated memory. +Fri Jun 25 00:50:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * va-alpha.h (va_end): Don't define enum if va_end already defined. + * expr.c (store_expr): Ignore SUGGEST_REG if target is volatile. -Tue Nov 3 02:56:22 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/mips/mips.md (negdi2, negdi2_internal): Renamed from negdi3... - * objc/Makefile: Use $(srcdir), not `..'. +Thu Jun 24 00:31:27 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) - * objc-actions.c (build_message_expr): Use save_expr for receiver. + * gcc.c (option_map): Make --version alias for -dumpversion. - * va-i860.h (va_end, anonymous enum): Don't declare if - va_end already defined as macro. - * va-mips.h, va-i960.h (va_end): If already a macro, don't declare. +Wed Jun 23 07:50:21 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Mon Nov 2 21:17:40 1992 Paul Eggert (eggert@twinsun.com) + * romp.c (output_prologue): Delete unused var, INSN. + (output_encoded_offset): New function. + (output_epilogue): Minor changes to traceback table; call + new output_encoded_offset. + (romp_debugger_{auto,arg}_correction): New functions. + * romp.h (DBX_REGPARM_STABS_LETTER, DEBUGGER_{AUTO,ARG}_OFFSET): + New macros. - * va-sparc.h (va_end): If already def as macro, don't declare. + * reorg.c (fill_slots_from_thread): When replacing a use of a + register with what it was set to, don't do it when either the + destination or source of the copy is set in the insn. -Mon Nov 2 16:04:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * jump.c (jump_optimize): Properly make jump into store-flag + sequence when the jump can't be reversed but the TRUE branch + is const0_rtx. - * i386linux.h: Include i386gstabs.h, not i386gas.h. + * expr.c (expand_expr): Set IGNORE if target is const0_rtx or + result type is VOID. + Move most IGNORE processing to one place to avoid expanding things + that don't need to be expanded. + (expand_expr, case CONSTRUCTOR, case COND_EXPR): If IGNORE, don't + expand anything we don't have to. + (expand_expr, case CONVERT_EXPR): Don't deal with IGNORE here. -Mon Nov 2 14:46:31 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Wed Jun 23 07:47:32 1993 John F Carr (jfc@Athena.mit.edu) - * Makefile.in (install-cross-tools): Delete old symlink before - making new one; else symlink will fail and we will use - backed strategy. + * regs.h (scratch_list, scratch_block, scratch_list_length): New vars. + * reload1.c (mark_scratch_live): New function. + (reload): Call it on each SCRATCH. + Free scratch list and block. + (spill_hard_reg): Reallocate any SCRATCH whose register we want to + spill. + * local-alloc.c (scratch_block, scratch_list{,_length}, scratch_index): + New variables. + (local_alloc): Allocate and initialize them. + (alloc_qty_for_scratch): Can allocate likely-spilled register + classes for SCRATCH. + (block_alloc): Likewise for regs in small register classes. + Only allocate a SCRATCH if it can fit in the block we make. + Don't mark regs used in SCRATCH live here; instead, make entry in + new tables. -Sun Nov 1 17:55:56 1992 Jim Wilson (wilson@sphagnum.cygnus.com) +Tue Jun 22 19:52:08 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) - * varasm.c (decode_rtx_const): Handle PC same as LABEL_REF. + * emit-rtl.c (copy_rtx_if_shared): In `E' case, get the length + before copying, and don't get it again after. -Sun Nov 1 03:19:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Jun 22 10:50:56 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * Version 2.3.1 released. + * toplev.c (report_error_function): Change format of the + included-file stack to be more readable. + * cccp.c (print_containing_files): Likewise. - * x-i386s4: Renamed from x-i386sco4. - * configure (i[34]86-*-sco*): Use new name. +Mon Jun 21 19:21:18 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * sol2-c1.asm, sol2-ci.asm, sol2-cn.asm: Renamed from sol2-crt... - * t-sol2: User new names. + * rs6000.c (print_operand, case 'J'): Write out shift count + of 0, not 32 for bit 31 of CCR. -See ChangeLog.6 for earlier changes. +See ChangeLog.7 for earlier changes.