--- gcc/ChangeLog 2018/04/24 18:00:26 1.1.1.4 +++ gcc/ChangeLog 2018/04/24 18:10:27 1.1.1.6 @@ -1,9828 +1,9217 @@ -Sat Dec 26 05:12:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sun Jan 23 18:41:37 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Version 2.3.3 released. + * Version 2.5.8 released. -Fri Dec 25 06:53:49 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * reload.c (find_reloads): Properly test for output operand + when changing RELOAD_FOR_OUTPUT_ADDRESS to RELOAD_FOR_INPUT_ADDRESS. - * expmed.c (store_bit_field): If VALUE needs to be narrowed, do - it with gen_lowpart, not an explicit SUBREG. + * alpha.c (output_{pro,epi}log): Use assemble_name to output + alpha_function_name. - * a29k.md (divsf3): Fix typo in mode of DIV. +Sun Jan 23 18:40:23 1994 Samuel A. Figueroa (figueroa@cs.nyu.edu) -Fri Dec 25 00:03:26 1992 James Van Artsdalen (james at bigtex.cactus.org) + * i386/os2.h (PATH_SEPARATOR): New macro. + * i386/gas.h (ASM_FILE_START): Delete; identical to one in bsd.h, + which is included. - * Makefile.in (install-dir): Add missing semicolon. +Sun Jan 23 05:59:31 1994 Per Bothner (bothner@cygnus.com) - * i386sco4.h (_KR, _SVID, _NO_PROTOTYPE): Define if -traditional. + * c-typeck.c (really_start_incremental_init): Save current elements + instead of clearing them. -Thu Dec 24 15:02:29 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Jan 22 17:23:42 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - * fixinc.svr4: Don't change bitfield types to int. + * pa.h (ASM_FILE_START): Emit a .file directive at the beginning + of the output file if debug symbols are being generated. - * seq386.h (TARGET_DEFAULT): Override. +Thu Jan 13 05:42:30 1994 Torbjorn Granlund (tege@adder.cygnus.com) -Wed Dec 23 20:19:17 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config.sub: Fix typo in -hiux* case. - * i386sco4.h (CPP_SPEC): Avoid repeated def of _M_SYSV. +Tue Jan 11 19:14:31 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Dec 22 15:40:08 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * a29k.c (output_prolog): Update debug reg map when + we have -mkernel-registers. - * c-decl.c (store_parm_decls): Use TYPE_MAIN_VARIANT to compare types - when merging info from previous prototype. +Mon Jan 10 19:06:57 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * fixinc.svr4: Add special fixes for netinet/in.h and sys/endian.h. + * expr.c (protect_from_queue): If (MEM (QUEUED ...)), modify a + new MEM instead of the one we were passed. -Mon Dec 21 02:58:27 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * m68kv4.h (ASM_OUTPUT_CASE_END): - Use switch_table_difference_label_flag. + * a29k.c (print_operand, case 'F'): If we have to do the last + prolog insn, give that priority for an unfilled delay slot. - * configure (m68k-motorola-sysv*): Set use_collect2. + * function.c (preserve_rtl_expr_result): New function. + * expr.c (exand_expr, case RTL_EXPR): Call it. -Sat Dec 19 20:19:44 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Sun Jan 9 04:40:27 1994 James Van Artsdalen (james at bigtex.cactus.org) - * a29k.c (secondary_reload_class): Return CR_REGS for larger than - word memory, and BP_REGS for part-word mem with no DW. + * jump.c (follow_jumps): Don't follow tablejumps. - * 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'. +Tue Jan 4 07:35:05 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sat Dec 19 01:32:13 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * tree.c (substitute_expr): Don't abort for RTL_EXPR and + SAVE_EXPR; just do nothing. - * Makefile.in (all.cross): Add `specs' as dep. +Fri Dec 31 06:27:57 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * build-make (CC): Delete the -V option. + * combine.c (force_to_mode): Add new parm JUST_SELECT; all + callers changed. - * getpwd.c (getpwd): Don't get upset if ERANGE is not defined. +Fri Dec 24 05:34:38 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Fri Dec 18 20:56:59 1992 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. - * 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. + * 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. -Fri Dec 18 17:17:39 1992 Michael Meissner (meissner@osf.org) + * c-typeck.c (check_init_type_bitfields): Check recursively inside + arrays and records. - * 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. + * 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. - * mips.c (init_cumulative_args): Use a static structure to - initialize the CUMULATIVE_ARGS structure. - (function_arg_advance): Add a newline at the end of debug output. - (function_arg): If a structure is passed as a QImode or HImode - value in a register, record the fact for the call define_expands - and prologue expander to move the structure into the high part of - the register, and back again. If debugging, print if the argument - is a structure. - (mips_expand_prologue): Shift any QI/HI structures passed back, so - they can be used as normal QI/HI values. + * c-typeck.c (pop_init_level): Don't abort if have incomplete array + type inside some other type. - * mips.md (call): If there were any tiny structures passes as - QI/HI modes in registers, shift the register, so that the - structure value is in the high part of the register. - (call_value): Ditto. - (call_internal): Delete creating $31 rtx, since we can get it from - the normal insn patterns. - (call_value_internal): Ditto. +Thu Dec 23 07:30:24 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Fri Dec 18 05:14:14 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * Makefile.in (libgcc.a): Allow chmod of tmpcopy directory to + fail since it can be empty. - 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.) + * gcc.c (default_compilers, gnat1): Don't write -gnatb. - * cp-decl2.c (grokclassfn): Try using the local value for a nested - type if the IDENTIFIER_TYPE_VALUE isn't there. + * expr.c (expand_expr, case MINUS_EXPR): When expanding an + initializer, use plus_constant as appropriate. - * cp-method.c (build_overload_nested_name): Use DECL_NAME instead of - DECL_ASSEMBLER_NAME, since pushtag now mangles together - DECL_ASSEMBLER_NAME. This will make us emit `Q21D1B', not `Q221D1B'. +Thu Dec 23 09:03:30 1993 Phil Nelson (phil@cs.wwu.edu) -Thu Dec 17 17:51:16 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * ns32k.h (ASM_OUTPUT_ADDR_DIFF_ELT): Use .long, not .double. - * Makefile.in (install-dir): Added missing then and semicolon. +Tue Dec 21 17:37:20 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Thu Dec 17 15:19:36 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-tree.h (VTABLE_NAME): No def with NO_{DOLLAR,DOT} defined. + (VTABLE_NAME_P): Use it instead of VTABLE_NAME_FORMAT. - * x-i386s4 (CC): New assignment. +Tue Dec 21 13:25:39 1993 Jim Wilson (wilson@cygnus.com) -Wed Dec 16 15:49:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rtlanal.c (replace_regs, case REG): Return copies of SUBREGs, to + avoid invalid sharing. - * objc-actions.c (finish_objc) [OBJC_SELECTORS_WITHOUT_LABELS]: - Always call build_selector_translation_table. +Mon Dec 20 19:10:16 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in (install-dir): - If cross-compiler, create $(tooldir) and $(assertdir). + * c-typeck.c (struct initializer_stack): New field ELEMENTS. + (start_init, finish_init): Save and restore constructor_elements. -Wed Dec 16 14:19:08 1992 Richard Kenner (kenner at vlsi1.ultra.nyu) + * 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. - * rs6000.h (INITIALIZE_TRAMPOLINE): Get function address and toc - pointer from correct place relative to FNADDR. + * rs6000.md (divsi3): Correct logic for when we call force_reg. + (modsi3): Ensure operands[2] is a CONST_INT; include REG in + predicate. - * varasm.c (assemble_trampoline_template): If TRAMPOLINE_SECTION - is defined, put the trampoline template into that section. +Thu Dec 16 11:34:48 1993 Ian Lance Taylor (ian@cygnus.com) - * alpha.h (TRAMPOLINE_SECTION): New macro. + * fixincludes: Do not preserve _HIDDEN_VA_LIST in stdio.h. -Wed Dec 16 14:19:41 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Sun Dec 12 06:47:14 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * reload.c (get_secondary_mem): Don't save address if it isn't valid. + * Version 2.5.7 released. -Wed Dec 16 13:59:17 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sun Dec 12 06:18:33 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * varasm.c (assemble_trampoline_template): - Use readonly_data_section, not text_section. + * 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. -Wed Dec 16 11:32:11 1992 Michael Meissner (meissner@osf.org) +Sun Dec 12 06:13:51 1993 DJ Delorie (dj@ctron.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. + * configure.bat: Update to relect recent changes elsewhere. + * objc/makefile.dos: Likewise. - * 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. +Sat Dec 11 18:09:50 1993 Per Bothner (bothner@cygnus.com) -Wed Dec 16 07:33:08 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * dbxout.c (dbxout_type): The "base type" of a SET_TYPE is its + DOMAIN_TYPE, not its TREE_TYPE. + * dwarfout.c (output_type): Likewise. - * stmt.c (expand_goto): Set LABEL_REF_NONLOCAL_P in the LABEL_REF - we make in the non-local case. +Sat Dec 11 07:36:57 1993 David Rifkind (dave@yarc.com) - * varasm.c (assemble_trampoline_template): Always put template in - text section. + * rs6000.md: Add a few missing new nmemonics. -Wed Dec 16 05:04:06 1992 Tom Wood (wood@dg-rtp.dg.com) +Sat Dec 11 06:57:55 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * combine.c (try_combine): Allow for the case where I3 becomes an - unconditional jump when it is the last nonnote insn. + * cccp.c (INPUT_STACK_MAX): Double size. -Tue Dec 15 20:30:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * integrate.c (initialize_for_inline): Handle CONCAT when setting up + parmdecl_map. - * cccp.c (do_pragma): Use index, not strchr. + * rs6000.md (modsi3): Reject REG in predicate to avoid undefined + reference and extra pseudo creation if will fail. - * seq386.h (FUNCTION_PROFILER): Add missing . to label name. +Fri Dec 10 10:03:36 1993 Mike Stump (mrs@cygnus.com) - * reload1.c (eliminate_regs_in_insn): Test old_body, not new_body, - since people have tested it that way. + * toplev.c (lang_options): Change -fnodollars-in-identifiers to + -fno-dollars-in-identifiers to match docs. - * reload1.c (eliminate_regs_in_insn): Don't recopy new_body - if it is an asm_operands insn. +Fri Dec 10 15:42:02 1993 Jim Wilson (wilson@mole.gnu.ai.mit.edu) -Tue Dec 15 19:42:58 1992 Jim Wilson (wilson@wookumz.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. - * sparc.md (return peepholes): Add QImode and HImode move/return - patterns. - -Tue Dec 15 17:42:07 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * alpha.h (ASM_SPEC): New macro. - - * alpha.h (TRAMPOLINE_{TEMPLATE,SIZE}, INITIALIZE_TRAMPOLINE): - Make major changes to fix numerous bugs. - (TRANSFER_FROM_TRAMPOLINE): New macro. - * alpha.md: Add new UNSPEC_VOLATILE 0 to flush instruction cache. - -Mon Dec 14 13:16:14 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * rs6000.c (output_epilog): Support LANGUAGE_STRING values for F77, - Ada, and Pascal. - -Sun Dec 13 16:42:26 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * fixinc.sco: Complete rewrite by ian@cygnus.com. - -Sat Dec 12 17:51:43 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * va-alpha.h: Correctly form multi-word object. - - * alpha.c (alpha_builtin_savregs): Correctly compute ARGSIZE and NREGS. - - * alpha.h (FUNCTION_ARG_PASS_BY_REFERENCE): Deleted. - -Sat Dec 12 08:42:43 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) - - * pa-hpux.h (TARGET_DEFAULT): Do not enable TARGET_SHARED_LIBS - by default in 2.3.3 since it doesn't really work. - * pa-ghpux.h, pa1-hpux.h, pa1-ghpux.h: Likewise. - - * pa.md (floatsisf, floatsidf): Do not accept general registers. - -Fri Dec 11 00:13:52 1992 Ian Lance Taylor (ian@cygnus.com) - - * configure (i[34]86-*-sco3.2v4*): Use fixinc.sco. - * fixinc.sco: New file. - Like fixinc.svr4 but turn !__STDC__ into !__STRICT_ANSI__. Don't - require space after getcwd argument in stdlib.h. - * x-i386s4: Don't use rcc: - (CC, OLDCC, RCCFLAGS, CCLIBFLAGS): Vars deleted. - * xm-i386sco.h (ONLY_INT_FIELDS): Define if not __GNUC__. - (CODE_FIELD_BUG): Likewise. - * rtl.h (struct rtx_def) [ONLY_INT_FIELDS]: Handle CODE_FIELD_BUG. - -Fri Dec 11 17:56:53 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) - - * cp-search.c (lookup_nested_field): Check for assignment to members - of an enclosing class only when looking at a member, not at other - things (like nested types). - - * cp-cvt.c (convert_to_reference): If a conversion can be found via - a constructor, then use it. Also fix a typo about when to - return the result of a type conversion. - -Fri Dec 11 08:15:53 1992 James Van Artsdalen (james@bigtex.cactus.org) - - * reload1.c (choose_reload_regs): Don't inherit a reload if the - previous reload wasn't at least as wide as the current reload. +Fri Dec 10 06:03:35 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Fri Dec 11 07:19:11 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * rs6000.c (easy_fp_constant): Use input_operand to see if + each word can be loaded in one insn. - * alpha.c (output_epilog): Remove garbage from one decl of EXTRA. - Subtract, not add, size from frame pointer. + * rs6000.md: Change numerous occurrences of TARGET_POWERPC + to ! TARGET_POWER and make related changes. - * a29kunix.h (LINK_SPEC): Use -T, not -c, for new gld and change file - name to default.gld from default.ld. + * rs6000.md (modsi3): Rework to operate correctly for both POWER + and PowerPC. - * function.c (assign_outer_stack_local): Align proper frame offset. +Thu Dec 9 16:19:05 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * loop.c (get_condition): Check for overflow when canonicalizing - comparison. + * 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 Dec 10 15:53:41 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Wed Dec 8 05:46:26 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * enquire.c (i_define, u_define, f_define): Add #undef before #define. - * fixinc.svr4 (limits.h): Add #ifndef/#endif around macros that - are supposed to be defined in float.h. + * flow.c (mark_used_regs, case CLOBBER): Refine previous change + to just look at the address of a MEM inside a CLOBBER. - * combine.c (try_combine): Only use I2DEST as a scratch reg for - a split if it does not overlap any inputs of NEWPAT. + * fold-const.c (fold, case *_{DIV,MOD}_EXPR): When using + distributive law, take care when C2 is negative. -Thu Dec 10 10:23:28 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Tue Dec 7 08:45:59 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * combine.c (get_last_value): Never use value from later insn, even - if reg is only set once. + * 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. - * c-tree.h (IDENTIFIER_LIMBO_VALUE): Delete duplicate definition. +Mon Dec 6 20:56:11 1993 David Rifkind (dave@yarc.com) -Thu Dec 10 08:54:03 1992 Tom Wood (wood@dg-rtp.dg.com) + * expr.c (move_block_{to,from}_reg): Check HAVE_{load,store}_multiple + value; don't just #idef the symbol. - * i386sco4.h (CPP_PREDEFINES): Define i386 and unix here. - (CPP_SPEC): Not here. +Mon Dec 6 08:01:59 1993 Torbjorn Granlund (tege@cygnus.com) -Wed Dec 9 19:03:55 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) + * pa.c (hppa_legitimize_address): If we can't legitimize, + do nothing; don't call abort. - * pa.h (ASM_DECLARE_FUNCTION_NAME): Correctly get the return type - of DECL. +Mon Dec 6 07:38:30 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) - * x-pa (CC): Set to "/usr/local/bin/gcc" instead of - "/usr/local/gcc". + * arm.c (output_ascii_pseudo_op): 8-bit chars should be zero-extended. + * arm.h (ASM_OUTPUT_ASCII): Likewise. -Tue Dec 8 17:50:26 1992 Michael Meissner (meissner@osf.org) +Mon Dec 6 07:32:59 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * objc/encoding.h: Include ctype.h. -Tue Dec 8 11:55:52 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) + * expr.c (expand_expr, case PLACEHOLDER_EXPR): Remove top entry + from PLACEHOLDER_LIST when expanding the value in it. - * pa.md (sh[123]add): Use "shadd_operand" as the predicate for - operand one. - * pa.c (shadd_operand): New function. +Mon Dec 6 05:40:38 1993 Doug Evans (dje@cygnus.com) -Tue Dec 8 08:30:13 1992 Tom Wood (wood@dg-rtp.dg.com) + * emit-rtl.c (start_sequence): Save current sequence_rtl_expr. - * 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. +Fri Dec 3 07:07:01 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * gcc.c (temp_names): New variable. - (do_spec_1): Rewrite MKTEMP_EACH_FILE for %g/%u/%U. - (choose_temp_base): Abort if mktemp yields a null string. + * Version 2.5.6 released. -Tue Dec 8 08:30:13 1992 Niklas Hallqvist (niklas@della.appli.se) + * c-typeck.c (c_expand_return): Return if convert_for_assignment + returns error_mark_node. - * integrate.c (expand_inline_function): Don't output line notes - for implicit formals. +Fri Dec 3 06:42:05 1993 Arne Henrik Juul (arnej@fm.unit.no) -Tue Dec 8 06:21:44 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * fixincludes (stdio.h): Fix typos (missing quote) in previous change. - * cse.c (max_uid): New variable. - (cse_end_of_basic_block): Use it to ignore insns made by CSE. - (cse_main): Set it. +Fri Dec 3 06:35:57 1993 Jim Wilson (wilson@sphagnum.cygnus.com) -Mon Dec 7 21:22:29 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) + * gstddef.h: Define and protect against __STDDEF_H__ for Irix 5.1. - * cp-init.c (do_friend): Revert change of Sept 1; it seems to have - broken properly emitting friends. + * sparc.c (shift_operand): Delete function. + * sparc.md (ashlsi3, ashrsi3, lshrsi3): Use arith_operand instead + of shift_operand. Truncate shift counts to 5 bits. -Mon Dec 7 19:09:25 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Thu Dec 2 08:11:00 1993 Stefan Rapp (sr@irb.informatik.uni-dortmund.de) - * reload1.c (eliminate_regs_in_insn): Make another copy of all the - RTL if we changed something and we aren't permanently replacing. + * loop.c (scan_loop): Correct arguments for register check. - * romp.md (reload_out{q,h}i): Write as proper PARALLEL. +Thu Dec 2 07:07:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) -Sun Dec 6 16:27:14 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * 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. - * alpha.md (add-mult): Add missing `&' in constraints of kludge - plus/plus/mult pattern. +Thu Dec 2 07:00:24 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sun Dec 6 16:26:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * emit-rtl.c (push_topmost_sequence, end_sequence): Update + sequence_rtl_expr from sequence_stack entry. - * optabs.c (expand_binop): Correct sign of complex quotient imagpart. + * calls.c (emit_library_call): Use Pmode, not OUTMODE, when passing + in structure address. -Sun Dec 6 07:59:16 1992 Michael Meissner (meissner@osf.org) + * a29k.c (secondary_reload_class): Kernel regs are in same class + as user regs. - * 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. + * a29k.md (movti split): Set CR to 3, not 1 like DImode. - * 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. +Thu Dec 2 06:46:07 1993 Jim Wilson (wilson@sphagnum.cygnus.com) -Fri Dec 4 19:50:29 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + * reload.c (find_reloads_toplev): Replace obsolete reference to + BYTE_LOADS_*_EXTEND with LOAD_EXTEND_OP. - * fixincludes: fix _cplusplus typo in SCO's tinfo.h +Thu Dec 2 06:39:16 1993 Jeffrey A Law (law@snake.cs.utah.edu) -Fri Dec 4 19:22:35 1992 Randy S. Welch (randy@kcin.alphacdc.com) + * pa.h (ASM_STABS_OP, ASM_STABN_OP): Define. + (ASM_FILE_END): Put a TAB before the .stabs directive. - * xm-plexus.h: New file. - * configure (m68k-plexus-sysv*): Use it. +Thu Dec 2 06:30:17 1993 David Edelsohn (edelsohn@npac.syr.edu) -Fri Dec 4 19:21:44 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rs6000.md (define_function_unit): Restore ppc601 load and fpload + timings. - * c-decl.c (start_function): Use TYPE_MAIN_VARIANT when comparing - return type with previous prototype declaration. +Wed Dec 1 17:24:17 1993 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) - * cccp.c (output_line_command): Use alloca for line_cmd_buf. + Wed Nov 24 06:36:10 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Fri Dec 4 19:20:34 1992 Richard Kenner (kenner@mole.gnu.ai.mit.edu) + * 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. - * cse.c (cse_insn): Always pass result of canon_reg through - validate_change before using it in insn. + Mon Nov 29 13:09:31 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * 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. + * cp-decl.c (grokdeclarator): Properly evaluate TREE_PUBLIC for + friends. (Fixes spurious warnings about friends being declared + static but not used.) -Fri Dec 4 19:13:35 1992 Jonas Olsson (ljo@po.cwru.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. - * i386bsd.h (ASM_OUTPUT_ADDR_DIFF_ELT, JUMP_TABLES_IN_TEXT_SECTION): - Copy definitions from i386v4.h to get PIC code correct. + * 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. -Thu Dec 3 19:20:14 1992 Brendan Kehoe (brendan@lisa.cygnus.com) +Tue Nov 30 19:26:05 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-decl.c: Include sys/types.h for systems that need things for - signal.h. + * sparc.h (STATIC_CHAIN_REGNUM): Use %g2; %g1 is reserved + for prologue. + (TRAMPOLINE_TEMPLATE, INITIALIZE_TRAMPOLINE): Swap useage of %g1 + and %g2. -Thu Dec 3 01:40:42 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * m68k.md (movdf): Don't need earlyclobber when a register + is copied to itself. - * 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. +Sat Nov 27 06:19:22 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * fixincludes (sys/types.h): Check for [ \t]size_t not size_t. + * Version 2.5.5 released. -Wed Dec 2 15:40:36 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * c-typeck.c (pop_init_level): Ensure never on momentary_obstack + when calling complete_array_type. - * configure (rs6000-ibm-aix32): New target. - * rs6000-aix32.h: New file. +Sat Nov 27 03:52:26 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Dec 1 18:05:20 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * fixproto (scanning files_to_check): Create subdirs files are in. - * cp-type2.c (build_functional_cast): Revert change of Nov 2, - concerning clearing the TREE_VALUE of a default parameter. + * config/m68k/m68k.md (cmpsi, cmphi, cmpqi): Handle SGS_CMP_ORDER + when outputting cmpm insn. -Tue Dec 1 13:33:25 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Fri Nov 26 15:57:24 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * local-alloc.c (optimize_reg_copy_2): Correct reg_n_refs updates. + * gcc.c (default_compilers): Do define __GNUC_MINOR__ if input is `-'. - * Makefile.in (INSTALLED_H): Add syslimits.h. +Thu Nov 25 18:16:25 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Dec 1 11:09:50 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * 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. - * 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. +Thu Nov 25 17:24:02 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Dec 1 10:43:13 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * Makefile.in (stmp-fixproto): Create include subdir if doesn't exist. - * combine.c (num_sign_bit_copies): Return 1 on failure, not 0. - Fix typo in last change; return 1 on failure, not BITWIDTH. +Wed Nov 24 14:32:47 1993 Jim Wilson (wilson@sphagnum.cygnus.com) -Tue Dec 1 09:39:47 1992 Michael Meissner (meissner@osf.org) + * c-common.c (shorten_compare): Correct typo from last change. - * mips.c (function_prologue): Do not emit a .loc before the - function if debug level is 1. This confuses gdb. +Wed Nov 24 13:25:09 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) -Tue Dec 1 02:48:29 1992 James Van Artsdalen (james at bigtex.cactus.org) + * 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. - * isc.h (TARGET_DEFAULT): New macro - don't make TARGET_IEEE_FP - default for ISC. +Wed Nov 24 07:02:50 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Fri Nov 27 01:30:41 1992 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. - * Version 2.3.2 released. +Tue Nov 23 21:10:22 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * objc/core.c (searchForMethodInHierarchy): - If SEL or NAME is 0, return 0. + Cygnus<->FSF C++ front-end merge. + Tue Nov 23 11:05:28 1993 Jason Merrill (jason@deneb.cygnus.com) - * gcc.c (LINK_LIBGCC_SPECIAL_1): New parameter. - * rs6000.h (LINK_LIBGCC_SPECIAL_1): Defined. + * cp-errfn.c (STRDUP): Cast return value of alloca to (char *). - * t-hp320g (RANLIB, RANLIB_TEST, AR, AR_FLAGS): - Just copy value of ..._FOR_TARGET. - (LIBCONVERT): Use TARGET_TOOLPREFIX. + Mon Nov 22 00:07:17 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * reload.c (find_reloads) [SMALL_REGISTER_CLASSES]: - Don't use preferred_class for a multiword register. + * 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. - * cccp.c (do_include): Initialize searchptr to 0. + * cp-search.c (dfs_pushdecls): Make sure there's a lang_specific + node on the decl before trying to print the warning out. -Fri Nov 27 07:40:54 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cp-decl.c (grokdeclarator): Say the member was redeclared as + static, not just that it can't be declared static. - * combine.c (subst, make_field_assignment, num_sign_bit_copies): - Protect calls to significant_bits; unless we only care if the - result is a power of two, don't call if mode size is wider - than HOST_BITS_PER_WIDE_INT. - (extended_count, simplify_shift_const, simplify_comparison): Likewise. - -Thu Nov 26 10:31:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * gstdarg.h (va_end): #undef before the declaration. - - * gstdarg.h (va_arg): Alternative definition for big-endian machines. - * gvarargs.h (va_arg): Copy both definitions from gstdarg.h. - - * limitx.h, limit.y: Test and define _GCC_LIMITS_H_, not _LIMITS_H_. - - * mips.c (mips_debugger_offset): Don't crash for unknown cases. - - * c-typeck.c (build_unary_op): Call pedantic_lvalue_warning - for *all* cases of incrementing a cast. - - * libgcc2.c (__udiv_w_sdiv): Cast 1 before shifting by 31. - - * fixincludes (PWDCMD): New variable, set specially for Apollos. - Use it to get the working dir. - - * combine.c (num_sign_bit_copies): Fix 1-off error in PLUS case. - - * c++: Put newline into `for arg do'. + * 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). -Thu Nov 26 08:32:20 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + Sat Nov 20 19:31:01 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * expmed.c (struct algorithm): Make coeff a HOST_WIDE_INT. + * 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. - * romp.c (output_epilog): Always call output_fpops. + * cp-method.c (hack_identifier): Make sure there's a + DECL_LANG_SPECIFIC before getting ready to grope around a class. -Wed Nov 25 16:24:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-typeck.c (build_indirect_ref): Complain if we encounter a + pointer to member. - * Makefile.in (install-fixincludes): Use SYSTEM_HEADER_DIR. + Fri Nov 19 16:37:28 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * m68ksgs.h (ASM_OUTPUT_DOUBLE_OPERAND): Really use the operand VALUE. + * 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. - * tree.h (CONSTRUCTOR_NAME_FORMAT): Let config.h override this. - * tower-as.h (CONSTRUCTOR_NAME_FORMAT): Defined. + * cp-decl.c (pushdecl): Don't warn about shadowing a member of + `this' if that member is static. - * c++: Replace `for arg do' which ash can't handle. - - * t-next (OTHER_FIXINCLUDES_DIRS): Delete /NextDeveloper/Headers. - - * apollo68.h (HAVE_ATEXIT): Commented out. - - * regclass.c: Fix typo in use of SECONDARY_INPUT_RELOAD_CLASS. - (copy_cost): Fix typo in use of SECONDARY_OUTPUT_RELOAD_CLASS. - -Wed Nov 25 14:15:50 1992 Jim Wilson (wilson@sphagnum.cygnus.com) - - * fixinc.svr4 (regexp.h): Don't add a getrnge declaration if a - conflicting declaration is already present. - -Wed Nov 25 06:47:18 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * rs6000.h (LINK_LIBGCC_SPECIAL): No longer define. - - * stmt.c (expand_value_return): Don't emit move between differing - modes when PROMOTE_FUNCTION_RETURN is defined; convert instead. - - * integrate.c (expand_inline_function): Ensure a REG used as - COPY has REG_USERVAR_P set if LOC does. - - * optabs.c (expand_binop, expand_twoval_binop): If we are going - to fail, remove any load from MEM we did due to -fforce-mem; - if the MEM was volatile, this will cause an extra load. - (expand_complex_abs): Likewise. - Correct use of variable LAST so it doesn't include the load - from MEM (to fix unrelated bug). + * 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. -Tue Nov 24 00:23:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Fri Nov 19 12:18:31 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * i386bsd.h (FUNCTION_PROFILER): Use mcount, not _mcount. + * cp-typeck.c (convert_for_assignment): Fix typo so initialization + of a pointer from an integer actually work, rather than emit bogus + code. - * t-next (OTHER_FIXINCLUDES_DIRS): Leave just /LocalDeveloper/Headers - and /NextDeveloper/Headers. + * cp-pt.c (overload_template_name): Accept unions for templates. + (instantiate_class_template): Likewise. + * cp-parse.y (template_instantiate_once): Likewise. -Mon Nov 23 22:06:31 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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). - * ns32k.md (movsi): Split alt 1 to deprecate xy classes in operand 1. + Thu Nov 18 11:51:34 1993 Jason Merrill (jason@deneb.cygnus.com) - * combine.c (make_extraction): When making a low part subreg of a reg, - use inner_mode, not is_mode. + * cp-lex.c (cons_up_default_function): Disable earlier change; it + screws up stabs somehow. Very strange. -Mon Nov 23 21:11:13 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + Thu Nov 18 00:16:29 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * romp.h (ASM_FILE_START): Stop at first blank in VERSION_STRING. + * cp-decl.c (grokdeclarator): Say what class is involved when saying + we can't declare a member inside it. -Mon Nov 23 21:09:20 1992 Tom Wood (wood@dg-rtp.dg.com) + * 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. - * fold-const.c (range_test): Convert the constants to the unsigned - type before expanding the range test. + * cp-parse.y (primary): Only try to print out the operator's name if + it's valid. -Mon Nov 23 20:54:45 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * cp-decl.c (grok_op_properties): Fix missing parens to keep the + logic from accidentally giving an error when it shouldn't. - Mon Nov 23 13:21:43 1992 Brendan Kehoe (brendan@cygnus.com) + Wed Nov 17 20:04:00 1993 Jason Merrill (jason@deneb.cygnus.com) - * c++ (first): Only shift if $first is no, on the chance we got no - arguments at all. If we didn't get anything, say so (since -lg++ - will fake out the gcc driver into thinking we want to do something). + * cp-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. - * cp-decl.c (start_decl): If grokdeclarator returns a - void_type_node, return a NULL_TREE. + Wed Nov 17 15:54:02 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * 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. + * cp-type2.c (process_init_constructor): Deal with pointers to + members as initializers for initializer lists. - Sat Nov 21 02:33:28 1992 Brendan Kehoe (brendan@cygnus.com) + Wed Nov 17 11:48:38 1993 Jason Merrill (jason@deneb.cygnus.com) - * cp-init.c (expand_default_init): Clear DECL_REGISTER if we're - going to call a ctor, otherwise we may end up generating bogus and - confusing error messages about taking the addr of something declared - to be `register'. + * cp-decl.c (ambi_op_p): Add ++ and --. - * 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. + * cp-error.c: Lose the anon_parm_name stuff. - Thu Nov 19 01:41:58 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * cp-lex.c (cons_up_default_function): Change input_filename for + synthetic code. - * 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. + * cp-error.c (dump_aggr_type): Always print const or volatile. + (dump_function_decl): Only print static if verbose. - Wed Nov 18 21:29:14 1992 Brendan Kehoe (brendan@cygnus.com) + * cp-errfn.c (cp_sprintf): New function. - * cp-class.c (finish_struct): Re-enable code to cut down on the size - of symbol output, the positives outweigh the negatives. + * cp-decl.c (grokfndecl): Be more verbose in complaint about applying + method qualifiers to non-methods. - Wed Nov 18 19:51:59 1992 Mike Stump (mrs@cygnus.com) + Wed Nov 17 09:51:04 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * cp-search.c (dfs_walk): Move setting of - vbase_decl_ptr_intermediate out of #ifdef code. + * cp-parse.y (attrib): Accept "noreturn" attribute. - Wed Nov 18 18:49:13 1992 Mike Stump (mrs@cygnus.com) + Tue Nov 16 12:28:49 1993 Jason Merrill (jason@deneb.cygnus.com) - * cp-decl.c (grokdeclarator): Make wording on error message - stronger. + * cp-decl2.c (grokoptypename): Fix handling of udc's. - Tue Nov 17 17:46:11 1992 Brendan Kehoe (brendan@cygnus.com) + * cp-method.c (build_component_type_expr): Ditto. - * cp-search.c (CHECK_convert_pointer_to_single_level): Don't define. + * cp-class.c (finish_struct_methods): Be more verbose in complaint + about overloaded operator delete. -Mon Nov 23 19:44:38 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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 - * mot3300.h (switch_table_difference_label_flag): Define it. + Mon Nov 15 12:38:54 1993 Brendan Kehoe (brendan@rtl.cygnus.com) - * ns32k.md (addsi3): Add & for alternative 1 in operand 0. + * g++.c (main): If they gave us -v, also show the invocation of the + gcc driver. -Mon Nov 23 18:29:27 1992 Jim Wilson (wilson@sphagnum.cygnus.com) + Mon Nov 15 12:04:47 1993 Jason Merrill (jason@deneb.cygnus.com) - * genattrtab.c (obstack.h): Include after sys/time.h. + * cp-decl.c (grokdeclarator): Lose "operator ". - * c-decl.c (duplicate_decls): For builtins, create new function - type instead of trying to modify old one. + * cp-method.c (build_component_type_expr): Ditto. -Mon Nov 23 16:28:36 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-decl2.c (grokoptypename): Ditto. - * i386bsd.h (COMMENT_BEGIN): Redefine as #. - (ASM_APP_ON, ASM_APP_OFF): Redefine to use #. + Make C++ accept template parameters as type names; for example, + doing `template A {...}'. - * combine.c (num_sign_bit_copies): Inhibit x-1 special case - when x is a paradoxical subreg. + * cp-pt.c (end_template_parm_list): Fix a bug in gs4t's patch. + (grok_template_type): Simplify. - * xm-linux.h (malloc, calloc): Definitions deleted. + * cp-typeck.c (build_modify_expr_1): Give error if trying to + get default operator= for class where you can't. -Mon Nov 23 11:52:41 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) + * cp-decl.c (duplicate_decls): Uniformify, fix redeclaration of + builtins. - * pa.md (sh[123]add): Use "nonmemory_operand" instead of - "register_operand" as the predicate for the first operand. + Sat Nov 6 19:06:25 EST 1993 Gnanasekaran Swaminathan (gs4t@virginia.edu) -Mon Nov 23 00:29:27 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * gcc.c (default_compilers): Pass -i* after -U*. - -Sun Nov 22 17:03:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * hp320.h (FUNCTION_PROFILER): Complete replacement. - - * xm-hp320.h (index, rindex): Defined. - - * gstddef.h: Fix prev change; test of _STDDEF_H was backwards. - -Sun Nov 22 16:12:38 1992 Tom Wood (wood@dg-rtp.dg.com) - - * toplev.c (W_options): Delete -Wreturn-type, as it is in lang_options. - * c-decl.c (c_decode_option): Decode -Wreturn-type. - - * c-decl.c, cp-decl.c (pushdecl): Don't inherit DECL_INITIAL when - redeclaring the current function. - - * integrate.c (expand_inline_function): Use the original - declaration of the inlined function rather than a redeclaration as - the BLOCK_ABSTRACT_ORIGIN of the body. - -Sat Nov 21 19:54:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * cccp.c (main): Do -D's and -A's and -U's in order specified. - - * gcc.c (default_compilers): When running cpp, - move %{D*} and %{U*} (in that order) just before %i. - -Sat Nov 21 18:24:55 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - - * xm-pa.h: Remove #ifdef hpux stuff. - (S_ISDIR): Remove. - * xm-pahpux.h: New file, developed from old xm-pa.h. Define - rindex/index. - * pa-hpux7.h, pa-gux7.h: New files. - - * configure (hppa1.0-*-hpux*, hppa1.0-*-hpux*): Use xm-pahpux.h. - (hppa1.0-*-hpux7*): New alternative. - -Sat Nov 21 14:10:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * spc-sol2.h (SWITCH_TAKES_ARG, LINK_SPEC): New override definitions. - - * xm-mot3300.h (index, rindex): Defined. - -Sat Nov 21 07:54:53 1992 Michael Meissner (meissner@osf.org) - - * mips.h (MIPS_VERSION): Set Meissner version number to 29. - - * mips.c (mips_expand_prologue): If profiling, emit an insn to - block other insns from being scheduled before the end of the - prologue. - - * mips.md (blockage): New unspec_volatile insn to prevent other - insns from being scheduled before it. + * 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. + + Mon Nov 15 12:04:47 1993 Jason Merrill (jason@deneb.cygnus.com) -Sat Nov 21 06:03:38 1992 Brendan Kehoe (brendan@cygnus.com) + * cp-decl.c (duplicate_decls): If a function has been declared with + explicit language linkage, redeclaring (or defining) it without + is OK. - * sdbout.c (template_name_p): New function. - (sdbout_record_type_name): Use it to possibly use the - DECL_ASSEMBLER_NAME instead of DECL_NAME if looking at a template. - (sdbout_symbol): Ditto. + Fri Nov 12 15:30:27 1993 Jason Merrill (jason@deneb.cygnus.com) -Fri Nov 20 15:31:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-lex.c (operator_name_string): Fix handling of __ad__foo. - * dbxout.c (dbxout_type): Handle need for name of a RECORD_TYPE - when it has none. + * cp-error.c (dump_decl): Handle demangling of vtable names. - * configure (sparc-*-solaris2): Set broken_install. + * cp-tree.c (lang_printable_name): Pass everything to decl_as_string, + not just functions. - * integrate.c (subst_constants): Inhibit special treatment of subreg - when the stuff inside is not a reg. + * cp-decl2.c (check_classfn): Use cp_error. - * config/plexus.h (SIZE_TYPE): Fix syntax. + * cp-error.c (dump_decl): Fix IDENTIFIER_TYPENAME_P case. - * gcc.c (do_spec_1): Handle MKTEMP_EACH_FILE. + * cp-method.c (build_decl_overload): Propagate IDENTIFIER_OPNAME_P + to mangled identifier. -Fri Nov 20 15:10:20 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + * cp-type2.c (my_friendly_abort): Add "confusion" message for + abort after earlier errors. - * fixincludes (math.h): Get rid of inconsistent inline definitions - for abs that are present in HP-UX 8.0. + Wed Nov 10 18:39:17 1993 Jason Merrill (jason@deneb.cygnus.com) -Fri Nov 20 10:07:48 1992 Michael Meissner (meissner@osf.org) + * cp-decl2.c (lang_decode_option): Include warn_enum_clash among + -Wall. - * collect2.c (FREAD, FWRITE): Undef these macros if they were - defined before including ldfcn.h. + Wed Nov 10 16:18:19 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Fri Nov 20 15:38:47 1992 Tom Wood (wood@dg-rtp.dg.com) + * Makefile.in (stamp-cp-parse): Update counts. - * integrate.c (expand_inline_function): Mark all notes as integrated. + Wed Nov 10 15:27:12 1993 Jason Merrill (jason@deneb.cygnus.com) - * 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. + * cp-errfn.c (cp_thing): Allow cp_*_at to use an arbitrary argument, + not just the first, by using, for instance, `%+D'. -Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu) + Mon Nov 8 13:50:49 1993 Jason Merrill (jason@deneb.cygnus.com) - * 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. + * cp-error.c (language_as_string): New function for printing language + context. Corresponds to %L. -Wed Nov 18 17:58:18 1992 Karl Berry (karl@cs.umb.edu) + Mon Nov 8 10:39:28 1993 Jason Merrill (jason@deneb.cygnus.com) - * i386iscgas.h (SDB_DEBUGGING_INFO): #undef. - (DBX_DEBUGGING_INFO): #define. - (DBX_OUTPUT_MAIN_SOURCE_{DIRECTORY,FILENAME}): Override dbxout.c. + * cp-pt.c (reinit_parse_for_template): Use inline_text_obstack + instead of permanent_obstack so that yylex() doesn't clobber the + growing object. - * bsd386.h (LPREFIX) [NO_UNDERSCORES]: Define as `.L'. + * cp-lex.c (reinit_parse_for_block): Overhaul to reduce code size by + half and make #line directives in template definitions work. -Wed Nov 18 13:50:43 1992 Michael Meissner (meissner@osf.org) + Sun Nov 7 15:19:28 1993 Jason Merrill (jason@deneb.cygnus.com) - * mips.c (compute_frame_size): Make sure the {gp,fp}+offset fields - are always initialized, even if there were no gp/fp registers - saved. + * cp-pt.c (instantiate_class_template): if (!setup_parse), don't + mess with lineno and input_filename. -Wed Nov 18 09:58:50 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + Mon Nov 1 18:15:59 1993 Kung Hsu (kung@cirdan.cygnus.com) - * a29k.md (insv): Remove constraints from operand matching - const_0_operand. + * 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. - * regclass.c (regclass): Add missing cast from enum to int. + Fri Nov 5 11:57:41 1993 Jason Merrill (jason@deneb.cygnus.com) -Wed Nov 18 09:40:01 1992 John Hassey (hassey@dg-rtp.dg.com) + * cp-pt.c (instantiate_template): Work properly with + -fexternal-templates. - * core.c (initialize_class): The class may not have an initialize - method. + * cp-lex.c (extract_interface_info): #if 0 out earlier + tinst_level work pending further work. -Wed Nov 18 09:40:01 1992 Wilson Tien (wtien@urbana.mcd.mot.com) + Fri Nov 5 07:39:00 1993 Michael Tiemann (tiemann@blues.cygnus.com) - * xm-m68kv.h (rindex, index): use strrchr and strchr instead. + * cp-search.c (compute_visibility): Don't lose access to public + members from base classes of base classes. -Wed Nov 18 01:27:37 1992 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + * cp-typeck.c (convert_for_assignment): Allocate enough space in + LHSBUF for the null terminiator. - * config.sub: Added Xenix operating system. + Tue Nov 2 07:20:03 1993 Michael Tiemann (tiemann@blues.cygnus.com) -Tue Nov 17 18:32:01 1992 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. - * reload.c (combine_reloads): Don't combine with a reload needed - for multiple things. + * cp-parse.y (abs_member_declarator): Add `see_typename' epsilon + rule so that parser can recognize ptr-to-member functions. -Mon Nov 16 08:52:52 1992 Jeffrey A. Law (law@mole.gnu.ai.mit.edu) + Mon Nov 1 18:15:59 1993 Kung Hsu (kung@cirdan.cygnus.com) - * 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. + * 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. -Thu Nov 12 21:02:59 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) + Mon Nov 1 11:06:39 1993 Jason Merrill (jason@deneb.cygnus.com) - Cygnus<-->FSF merge. + * cp-errfn.c: Don't include . + Don't use the return value of strcpy. - Thu Nov 12 15:02:53 1992 Brendan Kehoe (brendan@cygnus.com) + Sun Oct 31 22:32:05 1993 Jason Merrill (jason@deneb.cygnus.com) - * cp-decl.c (finish_decl): Don't try to use TYPE if it's an - error_mark_node. + * cp-call.c (build_scoped_method_call): Return (void)0 if trying to + call a nonexistent destructor. - * 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. + * cp-parse.y (object): Support p.~int(). - 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. + * cp-error.c (dump_expr): Handle error_mark_node better. - Tue Nov 10 13:23:30 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + Sat Oct 30 21:49:00 1993 Jason Merrill (jason@deneb.cygnus.com) - * cp-typeck.c (build_x_function_call): If the type of FUNCTION is an - error_mark, don't bother checking its lang-specific info. + * cp-parse.y (primary): Support p->~int(). - Tue Nov 10 12:38:36 1992 Mike Stump (mrs@rtl.cygnus.com) + Fri Oct 29 18:09:12 1993 Mike Stump (mrs@cygnus.com) - * cp-decl.c (decls_match): Avoid core dumping when TREE_TYPE is - NULL_TREE, as is the case when olddecl is a TEMPLATE_DECL. + * cp-type2.c (build_functional_cast): Don't delete things twice. - Tue Nov 10 11:03:36 1992 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-decl.c (pushdecl_top_level): Disable assert for now; it's - always acted correctly. - - Mon Nov 9 12:04:27 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + Thu Oct 28 15:35:55 1993 Jason Merrill (jason@deneb.cygnus.com) - * cp-parse.y (try_for_typename): Deleted rule. - (scoped_id): Don't use it. + * cp-tree.h (struct tinst_level): The template instantiation level + structure. Used by the code described below. - Fri Nov 6 18:07:37 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * 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. - * cp-init.c (expand_aggr_init): If INIT is 0, don't bother trying to - play with its type. + * cp-parse.y (tmplate_instantiate_once): pop_tinst_level() after + instantiating member templates. - Thu Nov 5 16:52:37 1992 Chip Salzenberg (chip@tct.com) + * 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. - * cp-decl.c (finish_decl): Set TREE_STATIC, TREE_PUBLIC and - DECL_EXTERNAL correctly for use with #pragma interface. + * cp-pt.c (tsubst): Associate the FUNCTION_DECL with the spot in the + user's code that triggered the instantiation. *Currently disabled* - Fri Nov 6 10:07:01 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * 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* - * cp-class.c (finish_struct): Don't try to work with a field that - got a bogus type. + * cp-pt.c (coerce_template_parms): Do extra checking on the template + parms, since templates are more picky than initializers. - * cp-method.c (build_overload_value): Don't call debug_tree! + Wed Oct 27 17:06:54 1993 Jason Merrill (jason@deneb.cygnus.com) - * cp-call.c (build_method_call): If processing a default argument - that calls a ctor for its default value, use INSTANCE_PTR for the - parm list, discarding what we knew before. + * cp-parse.y (datadef): Don't override a template with a forward + declaration of a template class. - * cp-decl.c (grokdeclarator): If initializing a const member and - acting pedantic, then do make it an error. + Tue Oct 26 17:54:12 1993 Kung Hsu (kung@cirdan.cygnus.com) - * cp-decl2.c (warn_traditional): New variable. - (lang_decode_option): Use it for -Wtraditional and -Wno-traditional. - * cp-tree.h (warn_traditional): Add decl. - * cp-lex.c (readescape): For x, avoid overflow when shifting in if. - Warn for \a and \x if warn_traditional; pass through - the escaped x and a if -traditional. Support \e like \E; for both, - pedwarn about ANSI C. + * cp-parse.y (component-declarator0): fix bit field name same as type + name syntax error. - * 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. + Tue Oct 26 16:07:29 1993 Mike Stump (mrs@cygnus.com) - Thu Nov 5 17:53:32 1992 Brendan Kehoe (brendan@cygnus.com) + * cp-cvt.c (build_up_reference): Fix typo, fixes core dump on bad + code. - * cp-decl.c (grokdeclarator): Constant class members can be - initialized. + Tue Oct 26 11:52:09 1993 Jason Merrill (jason@deneb.cygnus.com) - Thu Nov 5 17:11:30 1992 Mike Stump (mrs@cygnus.com) + * cp-error.c (dump_function_decl): Only print default arguments + if verbose. + (dump_type): Ditto. - Thu Nov 5 19:48:17 1992 Niklas Hallqvist (niklas@appli.se) + Mon Oct 25 22:18:05 1993 Per Bothner (bothner@kalessin.cygnus.com) - * cp-pt.c (instantiate_class_template): Types are used in later - processing, so they must go into the permanent obstack. + * cp-typeck.c (c_sizeof, build_c_cast): Re-enable Salzenberg's + July 10 change (set TREE_OVERFLOW as well as TREE_CONSTANT_OVERFLOW). - Thu Nov 5 13:02:56 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + Mon Oct 25 18:53:08 1993 Jason Merrill (jason@deneb.cygnus.com) - * cp-decl.c (grokdeclarator): Don't allow members to be initialized - in the class declaration. + * cp-pt.c (instantiate_class_template): Don't do the + push_template_decls thang if !setup_parse; the binding level + never gets popped. - * 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. + Mon Oct 25 11:54:34 1993 Kung Hsu (kung@cirdan.cygnus.com) - * cp-call.c (find_scoped_type): New function. - (resolve_scope_to_name): Use it to check for names that might be in - base classes. + * cp-method.c (hack_identifier): fix seg fault when an + external variable does not have class context. - Wed Nov 4 00:43:15 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + Sun Oct 24 19:01:15 1993 Michael Tiemann (tiemann@blues.cygnus.com) - * cp-parse.y (db_yyerror): Deleted fn. - (yyprint, yyerror, init_parse, yyhook, reduce_cmp, token_cmp, - print_parse_statistics,set_yydebug, debug_yytranslate): Moved to - cp-lex.c. - (reduce_count, token_count): Ditto. - (current_declspecs): Made static. + * cp-spew.c (scan_tokens): Test for ';' in first pre-scan of the + tokens. - * cp-typeck.c (build_c_cast): Warn if casting between a pointer and - an integer whose sizes differ. + Fri Oct 22 23:46:17 1993 Jason Merrill (jason@deneb.cygnus.com) - * cp-parse.y (unary_expr): Finish making new with placement work; - use the rule `new' instead of the token `NEW' when parsing it. + * cp-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. - Tue Nov 3 02:16:47 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * cp-error.c (dump_decl, CONST_DECL): Pass off non-enum cases to + dump_expr. + (dump_expr): Pass off DECLs to dump_decl. - * 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. + Fri Oct 22 20:57:46 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) - * cp-search.c (dfs_pushdecls): Don't try to use the context of a - field which has none at the time. + * cp-errfn.c (STRDUP): Change to comma expr for bdmaged cc's. + (cp_thing): Add decl for ap, initialize fmt later. - * 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. + Fri Oct 22 17:15:01 1993 Jason Merrill (jason@deneb.cygnus.com) - Tue Nov 3 00:15:44 1992 Brendan Kehoe (brendan@cygnus.com) + * cp-error.c (dump_decl): Handle CONST_DECLs for enum tags. - * cp-decl.c (grokdeclarator): For `inline', `unsigned', and `signed', - see them as types, not as storage class specs, when looking for more - than one storage class. + * cp-type2.c (my_friendly_abort): Move abortcount to global level. - * cp-lex.c (readescape): New arg ignore_ptr. - (real_yylex): Pass new arg, handle result that comes back. + * cp-search.c (dfs_pushdecls): Be more helpful in shadowing warning. - * cp-decl.c (WCHAR_TYPE_SIZE): Deleted; never used. + * 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). - Mon Nov 2 10:23:52 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + Fri Oct 22 16:40:27 1993 Mike Stump (mrs@cygnus.com) - * cp-lex.c (real_yylex): Let skip_white_space handle \r. + Handle constructors in templates better. - * cp-parse.y (parmlist): Warn on a decl `foo (...)', without a first - argument. + * 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. - * cp-type2.c (build_functional_cast): If expr_as_ctor's argument is - a SAVE_EXPR, don't wipe out the argument. + Wed Oct 20 17:17:37 1993 Jason Merrill (jason@deneb.cygnus.com) - * cp-call.c (build_method_call): Only complain about not having an - object for a called method if the method is non-static. + * cp-tree.h: Declare code_as_string. - Sun Nov 1 16:50:14 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * cp-error.c (code_as_string): New function, translates + enum tree_code into a string. Very incomplete at the moment. - * cp-decl2.c (warn_char_subscripts): Declare. - (lang_decode_option): Handle -Wchar-subscripts. - * cp-typeck.c (build_array_ref): If the type of either the array or - its index is an error_mark_node, then return one. Add code to see - if the index is a character (add warning), then do the default - promotions. Don't warn if it's a register array. Make a ref - volatile if the array is volatile. - * cp-tree.h (warn_char_subscripts): Add decl. + * cp-decl.c (lookup_tag): Use cp_error more. - * cp-typeck.c (common_type): If either type is nonsense (an - error_mark), use the other type. + Tue Oct 19 16:39:20 1993 Jason Merrill (jason@deneb.cygnus.com) - Thu Oct 29 18:39:50 1992 Mike Stump (mrs@cygnus.com) + * cp-error.c (dump_type_prefix): Do the prefix/suffix thang for + ARRAY_TYPE nodes. - * cp-decl.c (grokdeclarator): Fix problem introduce by me on Oct 22 - 17:41:13. Put back call to build_offset_type that I took out, as it - is not wrong, as the comment for build_offset_type had led me to - believe. + Thu Oct 14 23:56:34 1993 Jason Merrill (jason@deneb.cygnus.com) - Thu Oct 29 17:30:12 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * cp-gc.c (build_dynamic_cast): Avoid doing runtime work if possible. + (build_typeid): Add logic. - * 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. + Thu Oct 14 10:56:43 1993 Jason Merrill (jason@deneb.cygnus.com) - * Makefile.in (stamp-cp-parse): There are now only 29 shift/reduce - conflicts, because of the removed wrapper stuff. + * 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. - * cp-lex.c (lastiddecl, ridpointers): Define here. - (NORID): Don't define here. - * cp-lex.h (NORID): Define here instead. - (ridpointers, lastiddecl, token_buffer, looking_for_typename): Ditto. - (make_pointer_declarator, make_reference_declarator, - reinit_parse_for_function, reinit_parse_for_method, yylex): Likewise. - * cp-parse.y: Don't define any of them in here. + * cp-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. - * 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-error.c (expr_as_string): Suppress parens on initial call + to dump_expr. - 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. + * cp-tree.h: Add decls for Type_info_type_node, build_typeid, + get_typeid and build_dynamic_cast. - Wed Oct 28 15:38:44 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * gplus.gperf: Add typeid and dynamic_cast. - * 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. + * cp-spew.c (init_spew): Ditto. - Tue Oct 27 17:38:18 1992 Mike Stump (mrs@cygnus.com) + Wed Oct 13 19:15:21 1993 Jason Merrill (jason@deneb.cygnus.com) - * cp-decl.c (grokdeclarator): Fix problem introduce by me on Oct 22 - 17:41:13. Only output error or warning message about extra - qualifiers when we are inside a class declaration. + Partial implementation of Stroustrup's proposal for declarations in + conditions from X3J16/92-0121. - Tue Oct 27 16:21:41 1992 Mike Stump (mrs@cygnus.com) + * 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-tree.h (THIS_NAME_P): Fix to reflect September 1 change in - THIS_NAME. + * cp-decl2.c (pushdecls): New function, push all decls in the chain + into the current scope. - Tue Oct 27 12:35:59 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + Wed Oct 13 12:31:58 1993 Mike Stump (mrs@cygnus.com) - * cp-parse.y (operator_name): Remove check for top-level operator - decl. - * cp-decl.c (grokdeclarator): Complain here about type conversion - operators that aren't declared as members of classes. + * cp-decl.c: Remove redefinition of NULL, as some machines don't + like it. Clean up all NULL uses. - * cp-decl.c (grokdeclarator): Only call do_friend on a friend if - decl's non-zero. + Mon Oct 11 17:21:08 1993 Kung Hsu (kung@cirdan.cygnus.com) - Tue Oct 27 09:31:08 1992 Mike Stump (mrs@cygnus.com) + * cp-decl2.c (finish_file): Fix libg++ build problem of mismatch + blocks. - * cp-lex.c (do_identifier): Add missing fourth argument to - lookup_field. + Mon Oct 11 13:51:05 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - Mon Oct 26 15:15:39 1992 Mike Stump (mrs@cygnus.com) + Mon Oct 4 11:49:48 1993 Chip Salzenberg (chip@fin.uucp) - * cp-cvt.c (convert_to_reference): Check for ambiguities - between constructor and conversion operators a bit harder. + * cp-typeck.c (build_modify_expr): Check whether recursive calls + return error_mark_node. - Sat Oct 24 19:34:39 1992 Brendan Kehoe (brendan@cygnus.com) + Mon Oct 4 12:41:16 1993 Chip Salzenberg (chip@fin.uucp) - Mon Sep 14 14:36:53 1992 Chip Salzenberg (chip@tct.com) + * 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. - 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. + Mon Oct 4 12:45:11 1993 Chip Salzenberg (chip@fin.uucp) - Fri Oct 23 18:52:19 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * cp-typeck.c (common_type): Use TYPE_MAIN_VARIANT when preferring + long int to int (when width is the same). - * cp-decl.c (poplevel): Use error_with_decl on an unused label, so - its line number comes out correct. + Mon Oct 4 12:46:54 1993 Chip Salzenberg (chip@fin.uucp) - Thu Oct 22 18:31:50 1992 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-parse.y (operator_name): If a type conversion operator is - defined at the top level, don't crash, complain. + Mon Oct 4 12:53:04 1993 Chip Salzenberg (chip@fin.uucp) - Thu Oct 22 17:41:13 1992 Mike Stump (mrs@cygnus.com) + * cp-typeck.c (default_conversion): Convert to unsigned int + if original type is unsigned and of greater or equal size. - * 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. + Mon Oct 11 13:19:42 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - Thu Oct 22 13:15:57 1992 Mike Stump (mrs@cygnus.com) + * cp-decl.c (build_enumerator): Call default_conversion on the VALUE + before calling constant_expression_warning. - * cp-tree.h (ANON_AGGRNAME_P): Check the second charater as well, as - it could be $vtbl_ptr_type, and not an ANON_AGGRNAME. + Mon Oct 11 10:21:37 1993 Kung Hsu (kung@cirdan.cygnus.com) - Wed Oct 21 19:31:36 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * 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 - * cp-call.c (build_method_call): Initialize b_or_d to 0. + Mon Oct 11 01:08:09 1993 Jason Merrill (jason@deneb.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-error.c (dump_type_suffix): Cope with arrays with unspecified + bounds. - * cp-parse.y (object): Only pass one argument into build_x_arrow. + Thu Oct 7 19:35:26 1993 Jason Merrill (jason@deneb.cygnus.com) - * cp-parse.y (unary_expr): Add code to parse `&&label'. - (stmt): Expand computed gotos. + * cp-error.c: Deal with printing out array DECLs properly. + Use dump_char for printing out string literals, too. - * cp-method.c (fndecl_as_string): Say it's static before giving its - type, it looks better (and matches how you'd declare it). +Tue Nov 23 18:08:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Wed Oct 21 16:22:43 1992 Mike Stump (mrs@cygnus.com) + * dwarfout.c (function_start_label): New function. + (output_entry_point_die): Use it. + (output_global_subroutine_die, output_local_subroutine_die): Use it. - * 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. + * c-common.c (check_format_info): Always use TYPE_MAIN_VARIANT + when comparing cur_type against wanted_type. - Wed Oct 21 11:40:35 1992 Mike Stump (mrs@cygnus.com) + * 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. - * cp-call.c (build_method_call): Avoid an abort on parse errors by - changing an assert into a conditional my_friendly_abort. + * c-typeck.c (build_binary_op): Don't accept complex types + for max, min, lt, etc. - Tue Oct 20 16:52:32 1992 Mike Stump (mrs@cygnus.com) +Tue Nov 23 18:05:14 1993 Lisa Repka (lisa@MicroUnity.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. + * reorg.c (rare_destination): Ensure we always correctly handle + a null JUMP_LABEL. - Tue Oct 20 11:29:50 1992 Mike Stump (mrs@cygnus.com) +Tue Nov 23 17:48:39 1993 Doug Evans (dje@canuck.cygnus.com) - Wed Oct 7 16:01:55 1992 Chip Salzenberg (chip@tct.com) + * i960/i960.h (ASM_SPEC): Pass -linkrelax, not -link-relax. - [ changes propagated from 921005 snapshot ] - * cp-lex.c (readescape): No warning if digits in \x are all 0's. +Tue Nov 23 17:35:25 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) - Fri Oct 9 15:18:19 1992 Brendan Kehoe (brendan@cygnus.com) + * arm.c (arm_backwards_branch): Branching to the current insn is a + backwards branch. - * cp-decl.c (duplicate_decls): Only find out if olddecl is a - friend after we know it's not a TREE_LIST. +Tue Nov 23 13:59:24 1993 Hallvard B Furuseth (hbf@durin.uio.no) - Wed Oct 7 16:04:34 1992 Mike Stump (mrs@cygnus.com) + * libgcc2.a (__bb_exit_func): Fix format %*d -> %*ld. - Wed Oct 7 12:26:07 PDT 1992 Ron Guilmette (rfg at netcom.com) + * c-parse.in, cp-parse.y (maybe_type_qual): Don't fail to set $$. - * cp-lex.c (readescape): Permit \? as an escape sequence. +Tue Nov 23 15:26:28 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Tue Oct 6 17:54:09 1992 Mike Stump (mrs@cygnus.com) + * combine.c (try_combine, simplify_shift_const): Add initializations + for some uninitialized variables. - Major MI revamp. + * 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-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. + * expr.c (expand_expr, case SAVE_EXPR): Properly recompute the + value of UNSIGNEDP when SAVE_EXPR_RTL is nonzero and we have promoted. - * cp-search.c (convert_pointer_to_single_level): Added so that one - can convert pointer unambiguously to an immediate base class - pointer. +Tue Nov 23 04:14:04 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-search.c (dfs_walk): Added comments. Fixed to keep track of - how it walks the inheritance hierarchy so that when we get down to - the bottom, we have a pointer to what we want. - * cp-search.c (dfs_find_vbases): Changed to use new intermediate - pointer instead of incorrectly trying to convert at the bottom. - * cp-search.c (init_vbase_pointers): Changed to set up new - intermediate pointer. + * dwarfout.c (output_local_subroutine_die): Use the function name + from its symbol_ref, not DECL_ASSEMBLER_NAME. - * 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. +Mon Nov 22 13:59:41 1993 Steve Chamberlain (sac@mole.gnu.ai.mit.edu) - Tue Oct 6 14:51:13 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * final.c (get_attr_length): asm_insn_count takes a body, not an + insn. - * 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. +Sun Nov 21 22:37:12 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Mon Oct 5 15:47:35 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * 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. - 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. +Sun Nov 21 15:39:04 1993 Tor Egge (tegge@pvv.unit.no) - Mon Oct 5 13:27:44 1992 Mike Stump (mrs@cygnus.com) + * 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. - * cp-init.c (maybe_adjust_addr_for_delete): Make sure we don't - evaluate the addr twice if it has side effects. +Sun Nov 21 01:00:40 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Mon Oct 5 13:05:37 1992 Mike Stump (mrs@cygnus.com) + * config/m68k/isi.h (LIB_SPEC): Use -lm in addition to -lc-- + not instead of -lc. - * cp-init.c (build_vec_delete): Make sure we don't evaluate the base - expression twice if it has side effects. + * fix-header.c (write_rbrac): Make added declarations conditional + on __cplusplus and nothing else. + * fixproto (stdio.h): Reenable adding protos for v*printf. - Mon Oct 5 12:38:35 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * sys-protos.h (authdes_create): Delete arg info. + We can't count on having struct sockaddr defined. - * 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. + * fixincludes (math.h): When deleting inline sqrt and abs, + be flexible about arg name and function body. - Mon Oct 5 12:34:32 1992 Mike Stump (mrs@cygnus.com) + * Makefile.in (stmp-fixproto): Never run fixproto twice. - * 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++. +Sat Nov 20 16:52:15 1993 Jim Wilson (wilson@cygnus.com) - Mon Oct 5 11:43:09 1992 Mike Stump (mrs@cygnus.com) + * stmt.c (warn_if_unused_value): Handle arbitrary number of casts + before a modify. - Mon Sep 14 16:39:10 1992 Chip Salzenberg (chip@tct.com) +Sat Nov 20 16:38:25 1993 Eric Baur (eric@synnet.com) - * cp-cvt.c (convert_to_integer): Don't pass truncation thru lshift - if shift count >= width of narrower type. Instead, just use 0. + * i386/perform.h (perform_divsi3, perform_modsi3): Add '&' in + constraint for DX; explicitly copy arg arg1 to cx. - Fri Oct 2 13:21:40 1992 Ken Raeburn (raeburn@kyriath.cygnus.com) +Sat Nov 20 02:26:28 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-decl.c (start_function): Reinstate error check for missing - semicolon erroneously removed. + * expr.c (expand_builtin): For sin, cos, fsqrt, alloca, ffs, strlen, + strcpy, memcpy, strcmp, memcmp, if args are bad, use expand_call. -Thu Nov 12 17:37:23 1992 Michael Meissner (meissner@osf.org) + * fix-header.c (write_rbrac): Treat rewinddir like memmove. - * 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. +Fri Nov 19 18:24:43 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Nov 12 07:30:17 1992 James Van Artsdalen (james at bigtex.cactus.org) + * protoize.c: Remove declarations for malloc and realloc. - * i386.h (HARD_REGNO_MODE_OK): Restrict MODE_INT from FP regs only. + * expr.c (store_field): Convert EXP to MODE before calling + store_bit_field. - * 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. + * optabs.c (expand_complex_abs): Replace some erroneous + uses of MODE with SUBMODE. - * i386.c (float_op): Delete - no longer used. + * combine.c (force_to_mode): Don't allow sign-extension of + constants when we are narrowing things in an IOR or XOR. -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. +Fri Nov 19 16:42:43 1993 Jim Wilson (wilson@cygnus.com) - * romp.md (reload_outdi): Write as proper PARALLEL. + * rs6000.c (output_function_profiler): When TARGET_MINIMAL_TOC, + emit .long instead of .tc. -Wed Nov 11 01:06:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Nov 19 13:22:37 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - * toplev.c (lang_options): Change +e... to -+e... + * 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. - * xm-tower.h: Include xm-svr3.h. - (bcopy, bzero, bcmp, USG): Macros deleted. +Fri Nov 19 17:27:58 1993 Holger Teutsch (holger@hotbso.rhein-main.de) -Tue Nov 10 12:26:23 1992 Steve Chamberlain (sac@cygnus.com) + * 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. - * sdbout.c (plain_type_1): Handle LONG_TYPE_SIZE like INT_TYPE_SIZE. + * clipper.md (movsf+1,2,movdf+1,2): Make 'f' preferred register class. -Tue Nov 10 14:20:27 1992 Michael Meissner (meissner@osf.org) +Thu Nov 18 20:09:56 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * mips.md (ffssi2): Add =& constraints to the two match_scratch - clobbered registers. Fix from John F Carr. + * fixincludes: When compute DOTS, convert /./ to / to avoid + accidentally converting it to /../. + * fixinc.dgux, fixinc.svr4: Likewise. - * mips-tdump.c (toplevel): Move #undef index and rindex before - including sym.h. +Thu Nov 18 06:14:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Nov 10 10:37:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * Makefile.in (install-common): Delete deps $(srcdir)/g++ $(srcdir)/c++ +Wed Nov 17 18:54:21 1993 Chip Salzenberg (chip@fin.uucp) - * expr.c (init_expr_once): Try indexing mem by fp as well as sp. + * objc/objects.c: Include "tconfig.h" before "runtime.h". -Tue Nov 10 10:28:59 1992 Chris Smith (csmith@convex.com) +Wed Nov 17 19:15:31 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * genattrtab.c (main): Unlimit stack size. + * fixincludes (math.h): Add missing quoting of `*' when fixing + prototype of `sqr'. -Tue Nov 10 10:17:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Nov 16 07:15:52 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * print-rtl.c (print_rtx): Use sizeof spaces - 1 to get the length - of the spaces string. + * 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. -Tue Nov 10 09:56:32 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) +Tue Nov 16 02:06:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * pa-hpux.h (LINK_SPEC): Disable linking against shared libraries. - * pa-ghpux.h (LINK_SPEC): Likewise. + * Version 2.5.4 released. -Tue Nov 10 08:39:01 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * c-typeck.c (push_init_level): When aligning next struct field, + make sure there's another field left. - * elxsi.h (GO_IF_LEGITIMATE_ADDRESS): Verify that register is valid - for use as base register (un-allocated pseudos aren't when strict). + * cp-errfn.c: Don't include string.h. + (STRDUP): Macro deleted. + (cp_thing): Copy strings "by hand". -Mon Nov 9 22:17:23 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * combine.c (force_to_mode): Don't do right-shift in a narrower mode. - * xm-3b1.h (index, rindex): Define as macros. +Mon Nov 15 01:54:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * i386bsd.h: Complete rewrite. + * sdbout.c (sdbout_symbol): If non-static var has static-style RTL, + don't output anything for it. -Mon Nov 9 14:22:38 1992 Michael Meissner (meissner@osf.org) + * Makefile.in (stmp-fixproto): Don't depend on xsys-protos.h. + (diff): Don't compare bi-parser.c - * mips.h, decrose.h: Move LINK_LIBGCC_SPECIAL to decrose.h. + * news.h (NO_DOT_IN_LABEL, NO_DOLLAR_IN_LABEL): Defined. -Mon Nov 9 12:39:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * unroll.c (final_biv_value): Make a note after loop_end - if we need to use NEXT_INSN (loop_end). +Mon Nov 15 02:09:54 1993 Torbjorn Granlund (tege@blues.cygnus.com) - * objc-actions.c (build_message_expr): Don't crash if super_type is 0. + * pa.h (RETURN_IN_MEMORY): Define. -Mon Nov 9 07:42:30 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Sun Nov 14 17:25:29 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * caller-save.c (save_call_clobbered_regs): Ensure any insns we add - are in the same basic block as the insn we added them for. + * 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. -Mon Nov 9 12:35:57 1992 Torbjorn Granlund (tege@jupiter.sics.se) + * c-typeck.c (convert_for_assignment): Fix typo (codel => coder). - * pa.h (TARGET_*): Move it to the beginning of the file. - (CPP_SPEC): Handle -mnosnake. - * pa-ghpux.h pa-hpux.h pa1-ghpux.h pa1-hpux.h pa1.h pa.h: Move - definition of TARGET_DEFAULT to before inclusion of other pa*h files. - Only define TARGET_DEFAULT if not already defined. - Get rid of hpux8 conditionals. +Sun Nov 14 12:45:37 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sun Nov 8 20:38:19 1992 James Van Artsdalen (james at bigtex.cactus.org) + * function.c (assign_parms): Clear STACK_PARM when we have a + pass-by-pointer parm that we load into a pseudo. - * i386.md (movstrsi): mask move count after signed shift. + * flow.c (flow_analysis): Fix bug in previous change. -Sun Nov 8 00:24:30 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fold-const.c (twoval_comparison_p): Do nothing for SAVE_EXPR, at + least for now. - * fixinc.svr4: Avoid use of | in sed regexp; use multiple s commands. + * reload.c (push_reload): Allow RELOAD_FOR_INPUT with a secondary + reload the same class as the input if the modes differ. - * i386mach.h: Include i386gstabs.h, not i386gas.h. + * expr.c (store_expr): Convert constants to proper mode in two places. - * 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. + * sh.h (HAVE_VPRINTF): Delete from here. + * xm-sh.h (HAVE_VPRINTF): New macro. - * cccp.c (rescan): Accept # as command inside macro args, etc. - If an actual newline at the same level precedes. +Sun Nov 14 04:28:56 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * fixincludes (EXINIT): Set it to `set', not null. + * config/i860/i860.h (SECONDARY_INPUT_RELOAD_CLASS): + Moving any kind of integer cst to float reg needs intermediate. - * toplev.c (main): Use strncmp when testing for gstabs+ vs gstabs. + * sys-protos.h (getmntent): Delete the arg decls + because BSD 4.4 and Sunos disagree on them. -Sat Nov 7 17:46:35 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Nov 13 23:06:42 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * optabs.c (expand_unop): - For complex negation, do get_insns, not gen_sequence. + * config/mips/mips.c (function_arg, function_arg_advance): + In default case, handle complex modes much like BLKmode. + (function_arg_partial_nregs): Likewise. - * c-decl.c (finish_decl): Don't clear DECL_INITIAL in inline fn decls. +Sat Nov 13 22:31:48 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * c-typeck.c (process_init_constructor): Strip NOP_EXPR from indices. - Clear end_index if there's an error in a range. + * alpha.h (CPP_SPEC): Always define __LANGUAGE_C__ unless assembler. + Define __cplusplus for C++. - * mips-5sysv.h, mips-5svr4.h, mips-5bsd.h (CPP_PREDEFINES): - Add single-underscore variants of all the predefined symbols. + * alpha.md (movsf, movdf): Add 'G' to constraint for operand 1 + when operand 0 is a register and support it in alternative 0. - * gstddef.h [_ANSI_H_]: When undefing at the end, test _STDDEF_H, - not __need_ptrdiff_t. + * 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. - * mips.c (gen_int_relational): Handle overflow when incrementing cmp1. + * 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. -Fri Nov 6 23:03:14 1992 Brendan Kehoe (brendan@lisa.cygnus.com) + * expmed.c (store_split_bit_field): Properly load a constant VALUE + into a WORD_MODE pseudo. - * elxsi.c: Include config.h. +Sat Nov 13 18:27:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Nov 6 18:53:21 1992 Chip Salzenberg (chip@tct.com) + * config/ns32k/ns32k.md (movsi): Handle moves to fp reg. + Handle const_double as operand 1. - * i386sco.h (STARTFILE_SPEC): Fix line wrap. - (SIGNED_CHAR_SPEC): Defined to set _CHAR_UNSIGNED. + * Makefile.in (diff): Fix typo in name gcc.??s. -Fri Nov 6 19:06:56 1992 Jim Wilson (wilson@sphagnum.cygnus.com) +Fri Nov 12 08:34:58 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * dbxout.c (dbxout_symbol): Give name ` ' to unnamed enums. + * dbxout.c (dbxout_type_field): Skip fields with variable + position and/or size instead of crashing on them. -Fri Nov 6 15:26:30 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) - - * optabs.c (init_libfuncs): Add casts when comparing/incrementing enum. - -Fri Nov 6 15:41:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * toplev.c (main): Really accept -gstabs+. +Fri Nov 12 22:49:50 1993 Pat Rankin (rankin@eql.caltech.edu) -Fri Nov 6 06:46:22 1992 Tom Wood (wood@dg-rtp.dg.com) + * 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. - * m88k.md (tcnd_divide_by_zero, divsi3, udivsi3): Allow the - explicit trap for divide by zero to resume execution along the - expected path. +Fri Nov 12 18:41:51 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * t-m88kv4 (FIXINCLUDES): Delete. + * gstdarg.h, gvarargs.h: Test __bsdi__ like __BSD_NET2__. -Fri Nov 6 03:08:13 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * pa.h (FUNCTION_ARG_BOUNDARY): Fix return value for 64bit + pass by value structures. - * i386.md (andsi3): Mask immed op to 0xff in QI-reg ff00-byte case. + * fix-header.c (write_rbrac): Handle v*printf like memmove. - * 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. +Fri Nov 12 08:53:47 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) - * c-lex.c (readescape): Support \e like \E. Warn only if -pedantic. + * arm.md (comparison): Don't emit invalid optimization + for (set (reg) (comparison)) and (set (reg) (neg (comparison))) + when comparison is LT. -Fri Nov 6 08:34:17 1992 Tim Moore (moore at defmacro.cs.utah.edu) + * arm.c (pattern_really_clobbers_lr): Setting a subreg of a mem is + valid and safe. - * integrate.c (copy_rtx_and_substitute)[ARGS_GROW_DOWNWARD]: Map - virtual args pointer to the top of the argument block. - * calls.c (expand_call)[ARGS_GROW_DOWNWARD] Fix fencepost error in - calculating high_to_save and low_to_save. Use - high_to_save to - address stack_area. +Fri Nov 12 08:38:22 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Fri Nov 6 00:41:53 1992 Paul Eggert (eggert@twinsun.com) + * m68k/hpux7.h: Add directory name to #include of hp320.h. - * sparc.h (TARGET_EDOM, GEN_ERRNO_RTX): Deleted. +Thu Nov 11 00:00:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Nov 5 18:55:44 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * Version 2.5.3 released. - * alpha.c (output_prologue): Fix typo: `add' should be `addq'. + * fix-header.c, gen-protos.c (fancy_abort): New function. -Thu Nov 5 18:35:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-typeck.c (mark_addressable): Handle REALPART_EXPR and + IMAGPART_EXPR. - * Makefile.in (install-fixincludes): Add semicolon in new for-loop. + * integrate.h (global_const_equiv_map_size): Declared. -Thu Nov 5 15:24:14 1992 Michael Meissner (meissner@osf.org) + * dbxout.c (dbxout_symbol): If it's C++, don't check the + DECL_SOURCE_LINE of a typedef. + (dbxout_parms): Fix previous change. - * i386rose.h, decrose.h (REAL_LD_FILE_NAME): Define to be the - correct location on OSF/1 -- /usr/bin/ld points to - /usr/ccs/gcc/ld, which is collect. - (REAL_NM_FILE_NAME): Ditto for nm. - (REAL_STRIP_FILE_NAME): Ditto for strip. +Wed Nov 10 10:33:28 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) -Wed Nov 4 13:36:10 1992 Jim Wilson (wilson@sphagnum.cygnus.com) + * fixproto (rel_source_subdir): Prune out redundant /subdir/../ to + prevent recursion. - * optabs.c (expand_binop): When trying to expand a multiple word - add into multiple single word adds, don't overwrite OP0 and OP1 in - case we must backtrack. We use instead new variables XOP0 and XOP1. +Wed Nov 10 22:30:16 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Nov 4 16:45:53 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/ns32k/encore.h (ASM_OUTPUT_ASCII): Declare i. - * config.sub: Don't discard SCO version number if it's 3.2v4. +Wed Nov 10 16:18:19 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * xm-vax-vms.h (HOST_FLOAT_FORMAT): Defined. + * 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. - * varasm.c: Fix typos in last change. +Wed Nov 10 08:44:17 1993 Niklas Hallqvist (niklas@appli.se) -Wed Nov 4 10:11:28 1992 Torbjorn Granlund (tege@jupiter.sics.se) + * 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. - * va-pa.h (va_end): Do it like in other va-*.h files. + * 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 Nov 4 07:23:46 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Wed Nov 10 18:55:22 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) - * 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. + * fixincludes: Copy files needed for other files at the very end. -Wed Nov 4 00:13:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * arm.md (reload patterns for mla instruction): New. - * x-next (libgcc2.a, stdarg.h): New rules. +Wed Nov 10 18:17:40 1993 Jim Wilson (wilson@cygnus.com) - * varasm.c (immed_real_const_1, immed_double_const): - Don't push on const_double_chain in nested function. + * dbxout.c (dbxout_parms): For parms passed via invisible + reference, accept any reg except FP, SP, and AP. - * expr.c (emit_move_insn): Do return a value, in complex case. + * unroll.c (unroll_loop): Set global_const_equiv_map_size. -Tue Nov 3 10:45:09 1992 H.J. Lu (hlu@yardbird.eecs.wsu.edu) +Wed Nov 10 17:52:33 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * i386linux.h (STARTFILE_SPEC): -static is added to ld if - -pg, -g or -p is passed down by gcc. + * 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 Nov 3 15:14:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * pa.c (output_ior): Handle "ior" against zero. + * alpha.md (smaxdi3): Was incorrectly called maxdi3. - * i386mach.h (YES_UNDERSCORES): Define it. + * rs6000.h (LINK_SPEC): Don't pass -btextro if -r. - * sun3.h (ASM_OUTPUT_FLOAT_OPERAND): Use REAL_VALUE_MINUS_ZERO. - (ASM_OUTPUT_DOUBLE_OPERAND): Likewise. + * alpha/osf12.h: New file. + * configure (alpha-dec-osf1.2): New case, to use new file. -Tue Nov 3 08:25:35 1992 Chris Smith (csmith@convex.com) + * rs6000.md (sqrtdf2): Fix typo in extra condition. + (plus/eq pattern): Fix typo: "addze" was "adddze". - * 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. +Wed Nov 10 12:32:56 1993 Jim Wilson (wilson@sphagnum.cygnus.com) -Tue Nov 3 08:05:10 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * expmed.c (expand_divmod): If rem_flag, always force op0 to a + register. - * jump.c (jump_optimize): Ensure operand of REG_NOTES is an INSN; - otherwise, we might try to read outside allocated memory. + * expr.c (expand_expr): Use a smaller alignment when reading from + a field with a variable offset. - * va-alpha.h (va_end): Don't define enum if va_end already defined. +Wed Nov 10 01:28:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Nov 3 02:56:22 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * expr.c (expand_assignment): Use a smaller alignment when storing + into a field with a variable offset. - * objc/Makefile: Use $(srcdir), not `..'. + * fixincludes (math.h): Delete inline definitions for sqr. - * objc-actions.c (build_message_expr): Use save_expr for receiver. +Tue Nov 9 15:33:45 1993 Jason Merrill (jason@deneb.cygnus.com) - * 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. + * cp-method.c (hack_identifier): Undo rfg's earlier patch. -Mon Nov 2 21:17:40 1992 Paul Eggert (eggert@twinsun.com) +Tue Nov 9 19:30:02 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * va-sparc.h (va_end): If already def as macro, don't declare. + * reload1.c (reload) [SMALL_REGISTER_CLASSES]: Try, at least, + to avoid 2-groups whose second register is explicitly used. -Mon Nov 2 16:04:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Nov 9 19:08:47 1993 Jim Wilson (wilson@cygnus.com) - * i386linux.h: Include i386gstabs.h, not i386gas.h. + * mips.md (adddi3): Use DImode not SImode in force_reg call. -Mon Nov 2 14:46:31 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * mips.c (PIC_OFFSET_TABLE_MASK): New macro. + (function_epilogue): When -mabicalls, ignore + PIC_OFFSET_TABLE_REGNUM when calculating load_only_r31. - * Makefile.in (install-cross-tools): Delete old symlink before - making new one; else symlink will fail and we will use - backed strategy. + * loop.c (strength_reduce): Accept VOIDmode initial values. -Sun Nov 1 17:55:56 1992 Jim Wilson (wilson@sphagnum.cygnus.com) +Tue Nov 9 09:23:31 1993 Torbjorn Granlund (tege@mole.gnu.ai.mit.edu) - * varasm.c (decode_rtx_const): Handle PC same as LABEL_REF. + * pa.md (negscc): Add mode for NEG. -Sun Nov 1 03:19:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Nov 9 12:51:54 1993 John Hassey (hassey@dg-rtp.dg.com) - * Version 2.3.1 released. + * m88k.md ("cmpsf" & "cmpdf"): Undo inadvertent change included + with CCEVENmode change. - * x-i386s4: Renamed from x-i386sco4. - * configure (i[34]86-*-sco*): Use new name. +Tue Nov 9 01:31:58 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * sol2-c1.asm, sol2-ci.asm, sol2-cn.asm: Renamed from sol2-crt... - * t-sol2: User new names. + * fixincludes (loop on $required): When a file is copied + because another file needs it, scan it for what files it needs. -Sat Oct 31 15:19:54 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fix-header.c (write_rbrac): When adding proto for memmove, + put it inside #ifndef memmove. - * Version 2.3 released. +Mon Nov 8 16:50:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Makefile.in (install-libobjc): New target. - ($(srcdir)/gcc.dvi, $(srcdir)/cpp.dvi): New targets. - (extraclean): rm *diff, *lose, config/*lose. - (mostlyclean): rm config/core. + * sdbout.c (sdbout_init) [RMS_QUICK_HACK_1]: Call sdbout_symbol + for __vtbl_ptr_type. - * objc-actions.c (OBJC_SELECTORS_WITHOUT_LABELS): Define by default. + * cp-decl.c (init_decl_processing): Undo previous change. -Fri Oct 30 20:11:52 1992 James Van Artsdalen (james at bigtex.cactus.org) + * c-typeck.c (build_binary_op): Warn for ordered compare of ptr with 0 + only if pedantic in both cases. - * i386.c (output_move_double): Undo 10/25 change. Handle case - where part of a dest reg is used in a src mem rtx, without using - stack. +Mon Nov 8 18:25:06 1993 David Edelsohn (edelsohn@npac.syr.edu) -Fri Oct 30 18:52:57 1992 Michael Meissner (meissner@osf.org) + * rs6000.h (ASM_FILE_START): Emit filename directive. - * mips.h (MIPS_VERSION): Bump meissner version number to 28. +Sun Nov 7 00:24:04 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * mips.md (addsi3, subsi3): Don't allow -32768 as the second - operand, the assembler complains if the instruction fills a delay - slot. + * Makefile.in (mostlyclean): Delete fixhdr.ready here. + (clean): Not here. -Fri Oct 30 16:11:37 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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). - * combine.c (simplify_shift_const): - For a subreg, require subreg_lowpart_p and not paradoxical. +Sat Nov 6 19:40:22 1993 Pat Rankin (rankin@eql.caltech.edu) - * Makefile.in (install-fixincludes): Ignore dirs that don't exist. + * config/vax/vms.h (__MAIN_NAME): Define as " main(" rather + rather than " main (" to reflect current cc1plus. -Thu Oct 29 20:15:44 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/vax/vms.h: Add __GNUC_MINOR__=5 to CPP_PREDEFINES. - * gvarargs.h, gstdarg.h [4.3 net 2]: If _VA_LIST_, is undefined - then va_list is already declared. +Sat Nov 6 22:54:25 1993 Tor Egge (tegge@pvv.unit.no) - * i386gas.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): - Override, if NO_UNDERSCORES. + * 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. -Thu Oct 29 17:30:52 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Sat Nov 6 17:07:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * flow.c (life_analysis): Mark FP live at end of function. - * reload1.c (reload): If FP was eliminated, remove it from - being live in any basic block. + * 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. - * varasm.c (output_constant_pool): Labels can be deleted by being - turned into NOTEs, not just have INSN_DELETED_P. +Sat Nov 6 12:32:31 1993 Jim Wilson (wilson@sphagnum.cygnus.com) -Thu Oct 29 16:15:47 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * unroll.c (unroll_loop): Don't unroll loop if jump has combined + the original loop start label with another label. - * gstdarg.h: Use _ANSI_STDARG_H_, not _ANSI_STDARG_H. +Sat Nov 6 05:01:31 1993 Chris Smith (csmith@convex.com) - * gstddef.h [4.3 net 2]: If _SIZE_T_, etc. are undefined - then type is already declared. + * convex.md (untyped_call, blockage): Add new patterns. - * m68k.c (print_operand_address) [MOTOROLA !SGS]: - Don't subtract 2 in the address displacement. +Sat Nov 6 03:11:46 1993 Noah Friedman (friedman@gnu.ai.mit.edu) -Thu Oct 29 14:36:23 1992 Michael Meissner (meissner@osf.org) + * just-fixinc: Rename fixed native limits.h to syslimits.h (or + install gsyslimits.h) before renaming gcc's limits.h from tmpfoo + directory. - * libgcc2.c (__builtin_vec_new): #undef NULL before including - stdio.h to prevent redeclaration message. - (pyramid __enable_execute_stack): Ditto. +Sat Nov 6 00:07:41 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * i386rose.h (YES_UNDERSCORES): Define. - (ASM_OUTPUT_LABELREF): Don't redefine. + * expr.c (emit_move_insn_1): Push the components of a complex + in proper order: imag part has higher address. - * mips.h (ASM_FINAL_SPEC): If cross compiling, don't invoke - mips-tfile by default. +Fri Nov 5 16:23:51 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * decrose.h (ASM_FINAL_SPEC): If cross compiling, don't invoke - mips-tfile by default. + * 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. - * mips-tdump.c, mips-tfile.c: Handle the case where CROSS_COMPILE - is defined more gracefully. +Fri Nov 5 20:34:19 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Oct 29 12:10:16 1992 Tim Moore (moore at defmacro.cs.utah.edu) + * fixproto (stdio.h): Don't add protos for vprintf, vfprintf, vsprintf. - * combine.c (make_extraction): Fix paren error in if for INNER is reg. +Fri Nov 5 20:32:53 1993 Torbjorn Granlund (tege@adder.cygnus.com) -Thu Oct 29 13:49:03 1992 Jim Wilson (wilson@sphagnum.cygnus.com) + * config/pa/pa.md (decrement_and_branch_until_zero): + Add missing `return'. - * xm-mipsbsd.h: Really delete file. +Fri Nov 5 16:08:34 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Oct 29 02:48:28 1992 Tom Wood (wood@dg-rtp.dg.com) + * listing: Handle i386-linux like m68020. + Pass compilation options thru an awk variable, not as ordinary args. - * dwarfout.c, arm.c, m88k.c: Include "assert.h" instead of . + * cccp.c (safe_read, safe_write): Handle EINTR. + (output_line_command): Handle NO_IMPLICIT_EXTERN_C here. + (main): Not here. -Thu Oct 29 00:43:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * protoize.c (safe_read, safe_write): Handle EINTR. + (safe_write): Return right away after safe_write. - * gstddef.h [4.3 net 2]: Force inclusion of ansi.h. - Undef _SIZE_T_, _PTRDIFF_T_, _WCHAR_T_ at end. +Fri Nov 5 11:40:59 1993 Jeff Law (law@snake.cs.utah.edu) - * Makefile.in (libgcc2.a, libgcc1.a): Use || to exit if cp fails. - (install-float-h-cross): Use fi, not done. - Write float.h in $(tmpdir), not in `.'. - (tmpdir): New variable. + * pa-ghpux.h (NO_IMPLICIT_EXTERN_C): Define. + * pa-hpux.h (NO_IMPLICIT_EXTERN_C): Define. - * i386gas.h (NO_UNDERSCORES): Test was backwards. - (SDB_DEBUGGING_OUTPUT): Defined. +Fri Nov 5 09:45:20 1993 Kresten Krab Thorup (krab@viking) -Wed Oct 28 16:33:34 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * objc/archive.c (objc_read_string): Allocate string properly. + * objc/hash.h (compare_strings): Check for null pointers. - * gstdarg.h, gvarargs.h: - On Net 2 system, don't test, define or undef _VA_LIST_. - Use _ANSI_H_, __BSD_NET2__ and ____386BSD____ to test for this. +Fri Nov 5 11:29:26 1993 David Edelsohn (edelsohn@npac.syr.edu) - * i386bsd.h (CPP_PREDEFINES): Add ____386BSD____. + * rs6000.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Use + REAL_ARITHMETIC macros including hex for special values. - * c-decl.c (pushdecl): Allow redeclaring builtin as any sort of static. +Fri Nov 5 10:26:34 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * Makefile.in (install-cross-tools): Fix typo. - (all.build): Dep on xgcc instead of $(GCC_PASSES). + * cp-call.c (build_method_call): For unions, don't use get_binfo and + convert_pointer_to_real, since unions can't be involved in complex MI + situations. (Fixes union ctor crash, and completes Sep 27 fix.) -Wed Oct 28 15:25:42 1992 Tom Wood (wood@dg-rtp.dg.com) +Fri Nov 5 07:39:00 1993 Michael Tiemann (tiemann@blues.cygnus.com) - * m88k.c (print_operand): When AS_BUG_FLDCR is defined, use alternate - fldcr form. - * m88kdgux.h (AS_BUG_FLDCR): Define to accomodate 4.30 assembler bug. + * cp-search.c (compute_visibility): Don't lose access to public + members from base classes of base classes. - * m88kv3.h (CPP_PREDEFINES): Add -Dunix. + * cp-search.c (get_base_distance): Initialize BASETYPE_PATH before + using. Also, initialize RVAL from get_base_distance_recursive. - * m88kdolph.h (SDB_ALLOW_FORWARD_REFERENCES): Don't override. +Fri Nov 5 05:48:04 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Oct 28 05:34:11 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * config/i860/paragon.h (SIZE_TYPE): #undef it. - * reload1.c (gen_input_reload): In PLUS, if OP0 and OP1 are the - same, use RELOADREG when generating the addition. + * config/m88k/dgux.h (LIB_SPEC): Handle -msvr4. + (GPLUSPLUS_INCLUDE_DIR): Definition and #undef deleted. - * reload.c (find_reloads_address): When copying memref after we've - made recursive calls on it, copy any replacements we made. + * cccp.c (main): Handle NO_IMPLICIT_EXTERN_C. - * combine.c (can_combine_p): Don't substitute an expression - containing a register that will be clobbered in I3. +Fri Nov 5 03:11:05 1993 Torbjorn Granlund (tege@adder.cygnus.com) - * objc/core.c, objc/hash.c: Include tconfig.h, not config.h. - Include gstdarg.h. - * objc/object.m: Include tconfig.h, not config.h. - Include gstdarg.h before stdio.h. - * objc/objc.h: Don't include gstdarg.h here. - * objc/objc-proto.h (CLASS_LOCATION_SHIFT): Use HOST_BITS_PER_LONG, - not BITS_PER_WORD. - (setClassNumber, getClassNumber): `info' field is long, not int. + * config/m68k/m68k.h (RTX_COST): Return actual costs for + multiplication, not costs for theoretical special cases that are + not handled in the md. -Wed Oct 28 10:54:50 1992 Michael Meissner (meissner@osf.org) +Fri Nov 5 00:42:09 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * libgcc2.c (L_caps_new): Properly close comment. + * emit-rtl.c (gen_highpart): If arg is function value hard reg, + return a subreg of it (as in gen_lowpart_common). -Wed Oct 28 05:50:10 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * integrate.c (expand_inline_function): Handle CONCAT as rtl for parm. + (copy_rtx_and_substitute): For subreg, handle case where the reg + inside turns into a CONCAT. - * pa.md (mulsi): Input predicates back to srcsi_operands. - Don't handle constants specifically for TARGET_SNAKE, but call - force_reg to put them in registers. - (indexed addressing mode patterns): Remove the patterns with - unscaled index. Switch off patterns that never match. + * configure: Treat hppa1.[01]-hpux8.0[01] like hppa1.[01]-hpux8.02. - * longlong.h (file header): Add comment describing sdiv_qrnnd. - (__hppa sub_ddmmss): Swap input operands. + * fixproto: Don't scan sub-directories whose names end in CC + or contain ++ - these are probably C++ directories. - * gcc.c (process_command): Check that we have enough arguments. +Thu Nov 4 12:02:04 1993 Jim Wilson (wilson@sphagnum.cygnus.com) -Wed Oct 28 00:40:18 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * integrate.c (expand_inline_function): Don't call + push_temp_slots, free_temp_slots, and pop_temp_slots when handling + parameters, because they might end up in a temp slot. - * configure (i[34]86-*-sysv*): Take note of $stabs. - * i386gas.h (SDB_DEBUGGING_INFO): #undef deleted. - (DBX_DEBUGGING_INFO): Definition deleted. - * i386gstabs.h: New file. +Thu Nov 4 15:00:38 1993 Samuel Figueroa (figueroa@cs.nyu.edu) - * Makefile.in (mostlyclean): Don't delete tmp-limits.h. + * i386/os2.h, i386/xm-os2.h: New files. - * i386vgas.h: File deleted. +Thu Nov 4 14:36:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Oct 27 15:35:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-decl.c (finish_enum): Undo previous change. - * libgcc2.c: Include stdio.h. - [__GNU_LIBRARY__] (write): Defined. +Thu Nov 4 13:30:16 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in (install-cross-tools): When handling $(tooldir)/include, - do all cd's starting from build directory. + * loop.c (strength_reduce): Ignore initial value if it is the + wrong mode. + (record_initial): Don't ignore any set of the register. - * i386gas.h (NO_UNDERSCORES): Don't define, if YES_UNDERSCORES. - * i386linux.h (YES_UNDERSCORES): Defined. + * rs6000.md (movdf): Don't have reload choose alternative of + loading a constant into a GPR. -Tue Oct 27 14:17:43 1992 Jim Wilson (wilson@sphagnum.cygnus.com) + * reload.c (find_reloads, case 'o'): A pseudo is not always + an offsettable memref. + (find_reloads): If we reload a constant into a register via + memory, count it as two reloads. - * configure (i[34]86-*-linux): Set broken_install. - * x-linux (INSTALL): Delete. - * x-iris (INSTALL): Delete. + * function.c (expand_function_start): If not optimizing, ensure + we mark context display regs as live for the entire function. -Tue Oct 27 13:39:22 1992 Tim Moore (moore@hal.gnu.ai.mit.edu) +Thu Nov 4 02:24:22 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * pa.h (ASM_GLOBALIZE_LABEL): Give function symbols CODE type, - others DATA type. + * tree.h (DECL_IN_TEXT_SECTION): New macro. + * varasm.c (assemble_variable): Set DECL_IN_TEXT_SECTION. + * dbxout.c (dbxout_symbol_location): Test DECL_IN_TEXT_SECTION. -Mon Oct 26 16:40:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Nov 3 23:59:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-typeck.c (build_c_cast): Don't warn about size change between - pointer and integer if the value is constant. + * c-typeck.c (build_function_call): Initialize fundecl to 0. - * Makefile.in (libobjc.a): If ln fails, copy libobjc.a. +Wed Nov 3 16:34:01 1993 Torbjorn Granlund (tege@adder.cygnus.com) -Mon Oct 26 16:21:11 1992 Tim Moore (moore@defmacro.cs.utah.edu) + * pa.h (REGISTER_MOVE_COST): Decrease cost for move from + SHIFT_REGS to avoid regclass overflow. - * pa.h (EXPORT_PARMS, ASM_DECLARE_FUNCTION): Blow away usage of - EXPORT_PARMS. BUGGY_GAS isn't a problem any more. - (TEXT_SPACE_P, FUNCTION_NAME_P): New macros. - (ENCODE_SECTION_INFO): Use TEXT_SPACE_P. - (STRIP_NAME_ENCODING): Strip a '*' which might preceed a '@'. - (ASM_OUTPUT_EXTERNAL): Give only function labels a CODE type. - (ASM_OUTPUT_LABELREF): Use FUNCTION_NAME_P. - * pa.c (hppa_encode_label): Change function name encoding to - preserve leading '*' if there is one. - (function_label_operand): Use FUNCTION_NAME_P macro. +Wed Nov 3 15:35:44 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Oct 26 14:39:46 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * config/m68k/m68k.c (output_move_double): Fix up the test for overlap + of source address with operands[0]. - From Tim Moore: - * function.c (locate_and_pad_parm): In ARGS_GROW_DOWNWARD case, - don't pad to argument alignment if where_pad is downward. + * regclass.c (regclass): Consider commutativity even when + one arg is a constant. -Mon Oct 26 11:21:36 1992 Chris Smith (csmith@convex.com) +Wed Nov 3 12:06:23 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * convex.h (SHIFT_COUNT_TRUNCATED): Undefine. + * expmed.c (expand_divmod): Use target as copy_to_suggested_reg + argument only if it has the same mode as op0. -Mon Oct 26 07:48:35 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Wed Nov 3 04:58:26 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * alpha.c (print_operand, new 'L'): New case. - * alpha.md (movhi/movqi patterns): For long constants, use 'i' - constraint instead of 'K'; use "%L1" in template. + * protoize.c (safe_write, safe_read): Really use arg DESC. - * configure (alpha): Set use_collect2. + * libgcc2.c (exit): Fix declaration of _exit. -Mon Oct 26 04:19:24 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-common.c (check_format_info): Make warning nicer for mismatch + of int vs long, etc. + Don't warn if field width is an unsigned int. - * xm-alpha.h: Declare calloc. + * c-decl.c (finish_enum): Always make an enum signed if it will fit. -Sun Oct 25 17:19:52 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Nov 3 14:23:52 1993 Torbjorn Granlund (tege@adder.cygnus.com) - * function.c (fixup_var_refs_insns): Don't call delete_insn if not -O. - Make a NOTE_INSN_DELETED instead. + * cse.c (cse_insn): Call `invalidate' also for STRICT_LOW_PART and + ZERO_EXTRACT (three places). + (invalidate_from_clobbers): Likewise (two places). + (cse_around_loop): Likewise. + (invalidate_skipped_set): Likewise. + (cse_set_around_loop): Likewise. -Sun Oct 25 11:57:04 1992 Chris Smith (csmith@convex.com) +Wed Nov 3 03:56:55 1993 Paul Eggert (eggert@twinsun.com) - * convex.h (target_flags): prevent -mnoc2 from clearing - TARGET_INDIRECTS. - (TARGET_INDIRECTS): Always on. + * dbxout.c (dbxout_type): Print `-2' instead of `0037777777776' + for an enumeration constant whose value is -2; + otherwise, GDB 4.11 rejects the type. -Sun Oct 25 16:56:18 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) +Wed Nov 3 04:35:13 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * calls.c (expand_call): Don't call convert_to_mode if we obtained - VALUE in the proper mode; VALUE might be a CONST_INT. + * Makefile.in (fix-header, gen-protos): Link with HOST_LIBS. + Depend on HOST_LIBDEPS. -Sun Oct 25 03:18:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Nov 3 00:07:18 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) - * expr.c (gen_push_operand): No longer static. + * fixproto: When checking for uses of _flsbuf, make sure to + not match (say) __flsbuf or other non-word _flsbuf strings. + * fixproto: Be more robust when checking for files indirectly + needed (via #include directives). E.g. handle "../foo/bar.h" + properly, and silently ignore missing include files. - * i386.c (output_move_double): Divert first word via the stack - if it's a register used in the input operand. - * i386.md (movdi): Delete the `&' from constraint. +Tue Nov 2 17:37:39 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sat Oct 24 21:41:00 1992 Chris Smith (csmith@convex.com) + * gcc.c (do_spec_1): Use spec_version for %v, not version_string. + Distinguish %v1 and %v2. + (default_compilers): For __GNUC_MINOR__, use %v2. + For __GNUC__ and __GNUG__, use %v1. - * convex.md (movstrictsi): Correct output constraint is + not =. + * protoize.c (safe_read): New function. + (process_aux_info_file, edit_file): Use safe_read. -Sat Oct 24 14:10:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cccp.c (safe_read): New function. + (main, finclude, check_precompiled): Use safe_read. - * news.h (FUNCTION_EPILOGUE): Fix typos. +Tue Nov 2 14:31:42 1993 Ian Lance Taylor (ian@cygnus.com) - * cccp.c (get_lintcmd): Length of `LINTLIBRARY' is 11. + * fixincludes: Don't remove /**/ from X11/Xlibint.h or + X11/extensions/multibufst.h; unnecessary. -Sat Oct 24 13:22:09 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) +Tue Nov 2 07:20:12 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * arm.md (DImode patterns): Add `&' to target operand constraints. + * optabs.c (init_optabs): Function `ffs' takes `int', not mode that + is BITS_PER_WORD wide. - * Makefile.in (setting version variable): Prepend $(srcdir) to - version.c. +Tue Nov 2 02:53:26 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - From Wilson: - * longlong.h (sparclite): Use machine independent USItype instead - of explicit types. + * cp-typeck.c (comptypes): Fix typo in changing STRICT from 2 to 1. -Sat Oct 24 10:35:18 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * protoize.c (edit_file): Use safe_write. + (safe_write): New subroutine. - * rs6000.md (movdi): Tests were in wrong order. + * calls.c (expand_call): Discard __ prefix like _ or __x. - * rs6000.h (LEGITIMIZE_ADDRESS): Indexed addresses are not valid - for DImode and TImode; GO_IF_LEGITIMATE_ADDRESS knows this. + * objc/objects.c: Include tconfig.h. - * Makefile.in (mostlyclean): Add missing semicolon. +Mon Nov 1 23:34:46 1993 Rainer Orth (ro@anemone.techfak.uni-bielefeld.de) - * a29k.c (a29k_set_memflags, a29k_set_memflags_1): New functions. - * a29k.md (movqi, movhi, reload_{in,out}{qi,hi}): Use them. - - * alpha.c (get_aligned_mem): Copy memory flags to new MEM. - (alpha_set_memflags, alpha_set_memflags_1): New functions. - * alpha.md (movqi, movhi, reload_{in,out}{qi,hi}): Use new - functions. + * fixincludes (sys/stat.h) fix fchmod prototype, first arg is + int, not char * [AIX 3.2.4] + (rpc/svc.h): avoid nested comments [Ultrix 4.3] + (stdio.h, stdlib.h): fixed getopt prototypes to match POSIX.2 + [DEC Alpha OSF/1 1.3] - * alpha.h (ASM_FILE_START): Stop at blank in version string. +Mon Nov 1 11:42:29 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) -Sat Oct 24 04:35:16 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fixincludes: Fix like . - * reload1.c (emit_reload_insns): If not -O, Don't try find_equiv_reg. - (choose_reload_regs): If not -O, don't inherit reloads. + * fixincludes: Unquote 'f' in #define _IO. Fix elf.h like + elf_abi.h. For Irix 5. -Fri Oct 23 18:07:10 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Nov 1 15:15:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * news.h (FUNCTION_EPILOGUE): - If no frame ptr, increment stack ptr to free up the local space. + * configure (mips-sgi-irix5*): Add fixincludes=Makefile.in. - * gcc.c (process_command): Discard after first space in spec_version. + * fixproto (setjmp.h): Don't require siglongjmp and sigsetjmp. + They need sigjmp_buf, and are missing on many systems. - * print-tree.c (print_node): Always output `>' to match `<'. + * 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. - * Makefile.in (version): Use sed to extract. - Ignore excess after space. - (install-fixincludes): Fix typo in last change. +Mon Nov 1 15:19:09 1993 Ian Lance Taylor (ian@cygnus.com) - * configure (i386-ibm-aix*): Use aix386ng.h if not --with-gas. - * aix386ng.h: New file. + * fixincludes: Don't remove /**/ from X11/xmd.h; breaks gcc + -traditional on some systems. -Fri Oct 23 15:14:49 1992 Brendan Kehoe (brendan@lisa.cygnus.com) +Mon Nov 1 07:38:58 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu - * sdbout.c (sdbout_symbol): Return if a symbol's DECL_NAME is - empty, since we won't be able to make a symtab of it. + * rs6000.md: Add set_attr for "length" when we are going to split + an insn at output time. - * convex.h (P_tmpdir): Remove definition. - * xm-convex.h: Put it here. + * rs6000.md (bdn/bdz): Fix typo in checking for when we + need to split. -Fri Oct 23 10:27:34 1992 Michael Meissner (meissner@osf.org) + * 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. - * i386rose.h (ASM_OUTPUT_LABELREF): Define so that external - identifiers have leading underscores in front of them. + * stmt.c (expand_decl_init): If CONST_DECL, don't generate any + code, but call expand_expr if DECL_INITIAL is a constant. - * mips-tfile.c (parse_stabs_common): Allow stabs with line numbers - of 0. These come from g++ for compiler generated functions that - take arguments. +Mon Nov 1 06:17:16 1993 Torbjorn Granlund (tege@adder.cygnus.com) -Fri Oct 23 07:49:12 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * m68k.md (divhisi3, udivhisi3, modhisi3, umodhi3): Comment out. + (divhisi3, udivhisi3, modhisi3, umodhi3 recognizers): Comment out. - * romp.c (output_fpops): Add SYMBOL_REF and LABEL_REF cases to - constants handled. + * expmed.c (synth_mult): When factoring T, break from loop after + first factor. + (expand_mult): Increase max cost to 12 again. -Fri Oct 23 01:58:12 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Nov 1 01:06:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * flow.c (find_basic_blocks): Check for LABEL_REF_NONLOCAL_P - in label_value_list. - * jump.c (mark_jump_label): Copy LABEL_REF_NONLOCAL_P from - LABEL_REF into REG_LABEL note. + * cccp.c (safe_write): New function. + (write_output): Use safe_write. - * toplev.c (push_float_handler): Declare arg old_handler. +Mon Nov 1 01:06:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * t-next (OTHER_FIXINCLUDES_DIRS): Defined. + * Version 2.5.2 released. - * Makefile.in (OTHER_FIXINCLUDES_DIRS): New variable, normally empty. - (install-fixincludes): Run fixincludes on those dirs. - * fixincludes: Convert //-style comments to /*...*/ style. + * cccp.c (do_ident): Fix previous change. - * loop.c (record_biv): Clear total_benefit field of new iv_class. - (get_condition): - Verify op 2 of source is label_ref before looking within. +Sun Oct 31 14:41:40 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Oct 22 21:17:53 1992 Tim Moore (moore at defmacro.cs.utah.edu) + * Version 2.5.1 released. - * varasm.c (STRIP_NAME_ENCODING): New macro to decode a symbol name - munged by ENCODE_SECTION_INFO. - (assemble_start_function, assemble_variable): Use STRIP_NAME_ENCODING. - * pa.h (STRIP_NAME_ENCODING): New definition. + * cccp.c (do_ident): Substitute macros and output here. + (directive_table): Turn off the pass_thru field for #ident. -Thu Oct 22 17:53:37 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-common.c (shorten_compare): Undo previous change. + Instead, just suppress warnings if both args are constant. - * Makefile.in (mostlyclean): Clean objc subdir only if it exists. + * 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. - * news.h (FUNCTION_PROLOGUE): Do allocate local stack space - when no frame pointer. + * config/m68k/m68k.c (output_move_double): Extend the special case + for *--sp = sp[N] to handle 12 bytes as well as 8 bytes. -Thu Oct 22 15:21:27 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Sun Oct 31 17:02:13 1993 Jason Merrill (jason@deneb.cygnus.com) - * i960.h (FUNCTION_VALUE): Simplify, just return reg 0. - * i960.c (i960_function_value): Delete. + * 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. -Thu Oct 22 09:42:50 1992 Michael Meissner (meissner@osf.org) +Sun Oct 31 13:33:46 1993 Jim Wilson (wilson@cygnus.com) - * mips-tfile.c (parse_stabs_common): Ignore stab line numbers - of 0, since the G++ front end generates them. Check whether - line numbers can fit within the index field, and if not report - an error. + * expr.c (do_store_flag): For equality test of a single bit, use + subtarget instead of target in calls. - * mips.c (function_arg): Align passed structures to double word - boundary if structure has double word alignment. +Sat Oct 30 17:58:37 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * mips.h (STACK_DYNAMIC_OFFSET): Do not define this macro in order - to work around a bug. + * config/m68k/hpux7.h: New file. + * configure (m68k-hp-hpux7*): New alternative. -Thu Oct 22 08:00:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-common.c (shorten_compare): Do nothing if both args constant. - * gstdarg.h, gvarargs.h: Treat _AIX and _M_UNIX like __svr4__. + * config.sub: Re-add hitachi to list of companies not to treat + as OS names. - * i386gas.h (NO_UNDERSCORES): Defined. + * expr.c (convert_move): When extending to multi-word register + via its low word, clobber the whole thing. - * next.h (INCLUDE_DEFAULTS): Put in GPLUSPLUS_INCLUDE_DIR, - GCC_INCLUDE_DIR, LOCAL_INCLUDE_DIR, STANDARD_INCLUDE_DIR. - Don't define at all if cross-compiling. + * config/i386/i386.c (output_move_double): Extend the special case + for *--sp = sp[N] to handle 12 bytes as well as 8 bytes. - * tree.c (copy_node): Copy the excess bytes--don't clear them. +Sat Oct 30 17:21:33 1993 Atsushi Furuta (furuta@sra.co.jp) -Thu Oct 22 06:40:55 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.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. - * a29k.h (TARGET_SWITCHES): Add missing complementary switches: - -mno-stack-check and -mstorem-bug. +Sat Oct 30 03:40:08 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * a29k.md (long constant split): Use gen_lowpart instead of making - a SUBREG directly. + * config/pa/pa.c (output_dbra): Fix argument number in addi at end. - * arm.h (STORE_FLAG_VALUE): Remove bogus definition. + * tree.h (enum built_in_function): Added END_BUILTINS to delimit + standard from language-specific builtins. -Thu Oct 22 03:04:28 1992 Tom Wood (wood@dg-rtp.dg.com) + * 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. - * m88k.c (prologue_marked): New variable. - (m88k_end_prologue): Output the epilogue mark here if the start of - the epilogue passed the end of the prologue. - (m88k_begin_epilogue): Don't output the epilogue mark if the end - of the prologue hasn't been processed yet. + * c-common.c (convert_and_check): Don't warn converting 0xff + to a signed char, etc., unless pedantic. -Thu Oct 22 03:20:40 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Makefile.in (mainversion): New variable. + (distdir): Use mainversion when verifying gcc.texi has been updated. - * function.c (put_var_into_stack): When we operate on a pseudo - that holds the address, use proper modes. +Sat Oct 30 03:12:54 1993 Torbjorn Granlund (tege@cygnus.com) - * combine.c (make_extraction): Use is_mode, not inner_mode, - for BYTES_BIG_ENDIAN adjustment to offset for non-bitfield case. - Update is_mode when stripping subreg from around a mem. + * m68k.md (mulsidi3 patterns): Fix typo, LSHIFTRT was ASHIFT. - * m68k.h (GO_IF_INDEXABLE_BASE): Allow LABEL_REF only if jump table. +Fri Oct 29 12:06:09 1993 Ian Lance Taylor (ian@cygnus.com) -Wed Oct 21 18:55:24 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fixinc.svr4 (sys/stat.h): Don't change definitions into + prototypes if they may already be in prototype form. - * gstdarg.h: Check and define _ANSI_STDARG_H along with _STDARG_H. +Fri Oct 29 16:50:33 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Oct 21 11:41:39 1992 Tom Wood (wood at gen-rtx) + * config/i386/linux.h (LIB_SPEC): Use -lieee if -mieee-fp. - * toplev.c (push_float_handler, pop_float_handler): New functions. - * fold-const.c (real_value_truncate): - Use them, in case another handler is already in effect. +Fri Oct 29 13:04:16 1993 Arne H. Juul (arnej@fm.unit.no) -Wed Oct 21 22:08:31 1992 H.J. Lu (hlu@yardbird.eecs.wsu.edu) + * mips/iris5.h (LINK_SPEC): Pass -no_unresolved if -call_shared. - * Makefile (all.build): Add target $(GCC_PASSES) for xgcc. - * build-make (CC): Defined. - (CROSS_GCC_FLAGS): Deleted. - (HOST_CC): Delete -V option; CC supplies that. +Fri Oct 29 12:52:54 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Wed Oct 21 12:34:39 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) + * rs6000.md (addsf3, subsf3, mulsf3, divsf3): Put POWERPC first, + then POWER. - From Wilson: - * longlong.h (sparclite udiv_qrnnd): Remove comma before - __AND_CLOBBER_CC. + * mips/iris5.h ({DBX,SDB,MIPS}_DEBUGGING_INFO): Turn off until working. -Wed Oct 21 12:24:24 1992 Michael Meissner (meissner@osf.org) +Fri Oct 29 12:15:12 1993 Minh Tran-Le (tranle@intellicorp.com) - * decrose.h (WORD_SWITCH_TAKES_ARG): Add -pic-names. - (CC1_SPEC): If -pic-names, pass -mhalf-pic to cc1. + * i386/xm-aix.h: Define HAVE_PUTENV for AIX PS/2. - * i386rose.h (WORD_SWITCH_TAKES_ARG): Add -pic-names. - (CC1_SPEC): If -pic-names, pass -mhalf-pic to cc1. +Fri Oct 29 11:49:46 1993 DJ Delorie (dj@ctron.com) -Wed Oct 21 07:34:16 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * i386/go32.h: Add support for coff-based ctor/dtor handling. - * configure (alpha): Only accept OSF/1. +Thu Oct 28 21:33:22 1993 Kresten Krab Thorup (krab@next.com) - * alpha.h (ASM_FILE_START): Change .verstamp ident for BL9. - * alpha.md (div/mod): Change calling sequence to agree with BL9. + * objc-act.c (check_methods_accessible): Fix bug in + -Wno-protocol. Reset chain to bottom class for each search. - * expr.c (do_store_flag): Ensure we don't get confused when - emit_store_flag fails and an operand has a QUEUED. +Thu Oct 28 21:30:38 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Wed Oct 21 02:53:58 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-parse.in (init): Remove extraneous pop_momentary in error case. - * cexp.y (integer_overflow): Do nothing unless pedantic. +Thu Oct 28 19:01:33 1993 Ron Guilmette (rfg@netcom.com) -Tue Oct 20 17:02:15 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * cp-method.c (hack_identifier): If an overloaded identifier + can only mean one thing, it can only mean one thing. - * README, sparc.h, flow.c, regs.h: Change global-alloc.c to global.c. +Thu Oct 28 18:52:15 1993 John F Carr (jfc@mit.edu) - * i960.md (call, call_value): Use 'd' not 'r' constraint for scratch. + * cp-typeck.c (get_member_function_from_ptrfunc): Convert delta + to size_t before adding to pointer. - * gcc.c (WORD_SWITCH_TAKES_ARG): Handle -Ttext and -Tbss in - addition to -Tdata. - * i960.h (WORD_SWITCH_TAKES_ARG): Delete, now unnecessary. - * next.h (WORD_SWITCH_TAKES_ARG): Add -Tbss. - * sparc.h, sun2.h, sun3.h (WORD_SWITCH_TAKES_ARG): Add -Ttext and - -Tbss. +Thu Oct 28 18:43:41 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) -Tue Oct 20 16:49:57 1992 Ron Guilmette (rfg at netcom.com) + * arm.h (ENCODE_SECTION_INFO): Use DECL_RTL for DECLs. - * dwarfout.c (dwarfout_file_scope_decl): Generate DIEs for - built-in non-fundamental types. +Wed Oct 27 20:58:31 1993 Torbjorn Granlund (tege@adder.cygnus.com) -Tue Oct 20 14:58:18 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * pa.c (emit_move_sequence): Fix typo, `Pmode' was `mode'. - * objc-actions.c (handle_impent, handle_class_ref): Use __ - to start the generated names, not period. +Wed Oct 27 00:01:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Oct 20 14:38:30 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) + * cse.c (cse_insn): When using src_related, copy the rtx. + Likewise for src_eqv_here. - * cp-method.c (fndecl_as_string): Undo change of Sep 14th for - emitting a space after the return type of a fn. + * c-typeck.c (output_pending_init_elements): Don't crash if + constructor_unfilled_fields is 0. - Wed Oct 7 16:01:55 1992 Chip Salzenberg (chip@tct.com) + * fixincludes (bsd/sys/wait.h): Undo previous change. - * cp-lex.c (readescape): No warning if digits in \x are all 0's. + * config/m68k/xm-amix.h (abort): Don't use fancy_abort. + (alloca): In GCC 1, define as __builtin_alloca. -Tue Oct 20 06:50:28 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * 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. - * expr.c (force_operand): Clarify comment to say what it can return. - * integrate.c (copy_rtx_and_substitute): Don't assume force_operand - on an address returns a REG; it might be a SUBREG. Use force_reg. + * function.c (assign_parms): If parmreg is a CONCAT, handle the + case where stack_parm is 0. -Tue Oct 20 04:54:01 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * expr.c (do_jump): Use do_jump_by_parts_equality for complex compares. - * tree.c (make_node, copy_node): - Don't assume node length is multiple of int. + * 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. -Mon Oct 19 18:14:56 1992 Jim Wilson (wilson@sphagnum.cygnus.com) + * bytecode.def: Rename dup to duplicate. + * expr.c (expand_assignment): Use duplicate. + (bc_expand_expr): Likewise. + (bc_expand_constructor): Likewise. - * genrecog.c (write_tree): For type SPLIT, check subroutine return - values for non-zero value not positive value. + * print-tree.c (print_node_brief): Use unsigned char to print + the bytes of a real constant. -Mon Oct 19 16:11:04 1992 Michael Meissner (meissner@osf.org) + * expmed.c (store_bit_field): When calling operand_subword_force, + if VALUE has a non-void mode, pass that mode. - * c-typeck.c (print_table, scan_table): Add support for XPG4's %S - and %C formats for printing/reading wide characters. %lc and %ls too. + * config/m68k/amix.h (NO_DOLLAR_IN_LABEL): Defined. -Mon Oct 19 17:58:18 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) +Tue Oct 26 19:05:36 1993 John F Carr (jfc@mit.edu) - * arm.c (output_epilogue): Restore sp's value if no frame pointer. + * rs6000.c (rs6000_override_options): Support -mcpu=rsc1. - From Wilson: - * pa.h (WORD_SWITCH_TAKES_ARG): Delete sparc related cruft. +Tue Oct 26 19:01:08 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Oct 19 14:49:03 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * Makefile.in (deduced.h): Add -I. and -I$(srcdir). - * cp-parse.y (primary): Don't try building a CALL_EXPR or - converting types if $$ is an error_mark. + * scan-types.sh (CC): Move a " to avoid shell error. -Mon Oct 19 14:01:02 1992 Tom Wood (wood@dg-rtp.dg.com) + * 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. - * m88k.h (SECONDARY_INPUT_RELOAD_CLASS): Require a temporary for a - pic address with a large constant term. - * m88k.md (reload_insi): New pattern. - (addsi3 pattern for large constants): Delete. Causes reload trouble. - * m88k.c (emit_move_sequence): Add scratch register. All callers - changed. - (legitimize_address): Add scratch register. All callers changed - to pass zero instead of gen_reg_rtx result. Allocate another temp - register for -fPIC case. Use scratch register for pic cases with - a large constant term. +Tue Oct 26 18:58:49 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * m88k.h (FUNCTION_PROFILER_LENGTH, FUNCTION_BLOCK_PROFILER_LENGTH, - BLOCK_PROFILER_LENGTH, REG_PUSH_LENGTH, REG_POP_LENGTH): Added. - (ADJUST_INSN_LENGTH): Account for profiling code. + * 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. -Mon Oct 19 16:46:52 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Makefile.in (gen-protos.o, scan.o, fix-header.o, scan-decls.o): + Add rule to compile using $(HOST_CC). + Show using hconfig.h. - * Makefile.in (libobjc.a): Don't mkdir objc if dir exists. + * rs6000.md (movsi): Can copy a TOC address into a register. - * expr.c (store_field): If trying to sign-extend a constant, - use value_mode as the mode. +Tue Oct 26 15:03:07 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Oct 19 10:59:20 1992 Michael Meissner (meissner@osf.org) + * gcc.c (default_compilers): Define __GNUC_MINOR__, using %v. + (do_spec_1): Implement %v. - * xm-umips.h (index): Define to be strchr. - (rindex): Define to be strrchr. +Tue Oct 26 11:06:59 1993 Mike Stump (mrs@cygnus.com) - * mips-tdump.c (index, rindex): Undefine these, since the MIPS - include files have a field spelled index. + * cp-lex.c (consume_string): Handle "\"" and '\''. -Mon Oct 19 03:34:04 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Oct 26 13:44:17 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * Makefile.in (mostlyclean): Delete libobjc.a. - (libobjc.a): Create the objc subdir. + * Makefile.in (fix-header.o): Depend on fix-header.c. + (scan-decls.o): New target. + (gen-protos.o, scan.o): New targets. -Sun Oct 18 17:52:05 1992 Arne H. Juul (arnej@lise.unit.no) + * Makefile.in (gen-protos, fix_header): Add $(HOST_CFLAGS) and + $(HOST_LDFLAGS). - * objc/Makefile: Add .SUFFIXES .m and .m.o rule to keep non-GNU - make happy. + * x-sysv (OLDCC): Add -XNh1500. + * x-mips: Likewise. - * Makefile.in (libobjc.a): Remove libobjc.a in current directory - before attempting to hardlink it or make will fail in later stages. - (sublibobcj.a): Don't use $(MAKEFLAGS) for objc subdir stuff. +Tue Oct 26 12:21:06 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) -Sun Oct 18 06:00:27 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * fixincludes: Fix NeXT problem in + as well, since that is where the file is in NeXTStep 3.0. - * cse.c (canon_reg): Don't call validate_change if INSN is zero. +Tue Oct 26 07:23:08 1993 Torbjorn Granlund (tege@adder.cygnus.com) -Sun Oct 18 01:09:02 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * i860.h (PRINT_OPERAND): For `h', always use OPERAND_HIGH_ADJ_PART - even for integer constant addresses. + * c-typeck.c (build_binary_op): For TRUNC_MOD_EXPR and FLOOR_MOD_EXPR, + set common. - * final.c (output_addr_const): Always use FILE, not asm_out_file. +Tue Oct 26 01:59:17 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cccp.c (collect_expansion): Don't add whitespace at end - if inside a string and not traditional. - (rescan): At end of string, if inside macro, always keep scanning. + * protoize.c [__NeXT__]: Don't declare setjmp or longjmp. - * expr.c (store_field): If signed bitfield and want value, sign extend. + * configure: Ignore --verbose option if specified. -Sat Oct 17 21:11:09 1992 H.J. Lu (hlu@yardbird.eecs.wsu.edu) + * 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. - * Makefile.in (all.build): New rule for making gcc with a - cross-compiler. - (install.build): New target. - (line 271): Add `####build overrides'. - (gen*.o): Depend on hconfig.h, not config.h. - ($(HOST_PREFIX_1)rtl.o, $(HOST_PREFIX_1)print-rtl.o, - $(HOST_PREFIX_1)rtlanal.o, $(HOST_PREFIX_1)obstack.o, - $(HOST_PREFIX_1)malloc.o): Add final `h' to the regexp to replace. + * 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. - * configure: If $host == $taget, but $host != $build, merge - `build-make' and emit `build = $build'. - * build-make: New file for making gcc with a cross-compiler. + * c-typeck.c (push_init_level): Align here for element of record. + (process_init_element): Not here (was before call to push_init_level). -Sat Oct 17 19:24:31 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * c-typeck.c (process_init_constructor): When initializing a union, - handle the case of an empty init list. +Mon Oct 25 23:23:26 1993 Torbjorn Granlund (tege@blues.cygnus.com) - * reload.c (find_reloads_address): Redo last change: copy the mem - in the same way it's usually done. + * c-typeck.c (build_binary_op): For TRUNC_MOD_EXPR and FLOOR_MOD_EXPR, + don't shorten when divisor might be -1. - * Makefile.in (gcc.xtar): Fix typo in last change. - (mostlyclean): Don't use $(MAKEFLAGS) for objc subdir stuff. +Mon Oct 25 23:45:20 1993 Minh Tran-Le (tranle@intellicorp.com) -Sat Oct 17 19:15:16 1992 John Wroclawski (jtw@pmws.lcs.mit.edu) + * seq-sysv3.h (CPP_SPEC): Define _SEQUENT_ to be compatible with cc. + (INVOKE__main): Defined. + (HAVE_ATEXIT): Defined. - * decstatn.h (SIZE_TYPE): Fix typo. + * configure (i[34]86-sequent-sysv): Use fixinc.srv4 and define + broken_install. -Sat Oct 17 17:46:08 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) +Mon Oct 25 18:53:51 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-method.c: Don't try to include string.h or strings.h. - * cp-decl.c: Ditto. + * expr.c (expand_expr, case PLACEHOLDER_EXPR): Fix typos. -Sat Oct 17 13:50:49 1992 Fred Fish (fnf@fishpond.cygnus.com) +Mon Oct 25 16:25:58 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * fixinc.svr4 (string.h): - Remove #defines for other compiler's builtin functions. + * scan.c (scan_string, skip_spaces): Add newline before fn name. -Sat Oct 17 00:39:30 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * scan-decls.c (scan_decls): When reading parameter list, + handle whitespace differently, and keep track of line number. - * protoize.c: Add #undef getopt after getopt.h. + * config/i386/x-linux (STMP_FIXPROTO): Define as empty. - * gstdarg.h, gvarargs.h (va_list) [__SVR4_2__]: - Don't set or test _VA_LIST. +Mon Oct 25 13:22:37 1993 Kaveh R. Ghazi (ghazi@caip.rutgers.edu) - * gstddef.h: Do nothing if _ANSI_STDDEF_H already defined. + * fixincludes: Fix bad S_IS* macros in on m88k-sysv3. -Fri Oct 16 11:39:06 1992 H.J. Lu (hlu@yardbird.eecs.wsu.edu) +Mon Oct 25 22:34:12 BST 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) - * emit-rtl.c (gen_lowpart_common): Fix typo in last change. + * fixincludes: Remove nested brackets in change of Oct 21. + Fix token pasting operator in ARM/RISCiX include files. -Fri Oct 16 22:35:15 1992 Eric Youngdale (youngdale@v6550d.nrl.navy.mil) +Mon Oct 25 13:01:52 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * make-cc1.com: Correct previous patch. + * sparc.h (LONG_DOUBLE_TYPE_SIZE): Don't define here. + * sol2.h (LONG_DOUBLE_TYPE_SIZE): Do define here. -Fri Oct 16 20:07:12 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * configure (mips-sgi-irix5): Don't use collect. - * objc-actions.c (start_class): - For an INTERFACE_TYPE, push to permanent obstack. - (build_message_expr): Use TYPE_MAIN_VARIANT when comparing types. +Sun Oct 24 14:15:12 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * Makefile.in (libobjc.a): Don't use $(MAKEFLAGS). - Add braces around shell variable references. - (collect2): Delete file before linking it. - * objc/Makefile (all): Don't use $(MAKEFLAGS). - (VPATH): Get rid of ../ since srcdir now absolute. + * libgcc2.c (L_bb): Undef NULL before including . -Fri Oct 16 14:23:25 1992 Michael Meissner (meissner@osf.org) +Sun Oct 24 03:04:53 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * decstatn.h (all defines): Protect all defines with an #ifndef, - to allow dec-osf1.h to selectively override macros. + * Makefile.in (g++.o): New target. -Fri Oct 16 10:44:47 1992 Tom Wood (wood@dg-rtp.dg.com) + * varasm.c (assemble_variable): Set last_assemble_variable_decl. + (last_assemble_variable_decl): New variable. + * toplev.c (rest_of_decl_compilation): Test that var. - * Makefile.in (libobjc.a): Compute srcdir1 without changing - directories. Use srcdir1 to locate objc/Makefile. Put quotes - around all potential multi-word values. Recompute GCC_FOR_TARGET. - (sublibobjc.a): Use same text as libobjc.a. - (mostlyclean): Use $(MAKE) and srcdir1 for objc action. - * objc/Makefile (SUBDIR_INCLUDES): Don't use ../$(srcdir). - (all): Use $(MAKE). +Sat Oct 23 20:28:13 1993 Jim Wilson (wilson@mole.gnu.ai.mit.edu) -Fri Oct 16 04:16:36 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * function.c (find_fixup_replacement): Renamed from find_replacement. - - * varasm.c (output_addressed_constants): Handle NON_LVALUE_EXPR. - -Fri Oct 16 02:25:17 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) - - * pa.md (call define_expands): If TARGET_LONG_CALLS, then force - the address of the function into a register. - * pa.h (TARGET_SWITCHES): New switch "-mlong-calls". - * pa.c (call_operand_address): Only allow registers if - TARGET_LONG_CALLS. - -Fri Oct 16 00:21:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Makefile.in (libobjc.a): Get directories right, using shell vars - thisdir1, srcdir1. Put quotes around $(GCC_CFLAGS). Use $(MAKE). - -Thu Oct 15 17:07:18 1992 Mike Stump (mrs@hal.gnu.ai.mit.edu) - - * configure, config.sub, config/elxsi.{c,h,md}, config/xm-elxsi.h, - config/x-elxsi: Add support for new 64 bit CPU, called Elxsi. - -Thu Oct 15 16:55:22 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * alpha.c (alpha_builtin_saveregs): Fix bug in last change. - - * fold-const.c (distribute_bit_expr): Test for BIT_{AND,IOR}_EXPR. - - * cse.c (cse_insn): Add missing call to apply_change_group. - -Thu Oct 15 15:09:45 1992 Michael Meissner (meissner@osf.org) - - * t-mips (CCLIBFLAGS, LIBGCC2_CFLAGS): Delete, so that libgcc.a is - built with the -G 8 option, instead of -G 0, so that the linker - doesn't complain when linking in libg++.a. - * t-decstatn (CCLIBFLAGS, LIBGCC2_CFLAGS): Ditto. - -Thu Oct 15 14:30:25 1992 Jim Wilson (wilson@sphagnum.cygnus.com) - - * mips-tfile.c (parse_def): Allow spaces in arguments for C++. - Correct test for null when searching for end of name. - -Thu Oct 15 11:55:51 1992 Tim Moore (moore@defmacro.cs.utah.edu) - - * pa.c (compute_frame_size): Take an fregs_live parameter instead - of setting the static variable save_fregs. - (output_function_prologue): Initialize save_fregs to 0 and pass to - compute_frame_size. - * pa.h (INITIAL_FRAME_POINTER_OFFSET): Pass extra null parameter - to compute_frame_size. - -Thu Oct 15 08:40:07 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * alpha.h (TARGET_FPREGS): New flag. - (TARGET_SWITCHES): Remove temporary -mfp and add -msoft-float and - -mfp-regs. - (TARGET_DEFAULT): Set to -mfp-regs -mno-soft-float. - (CONDITIONAL_REGISTER_USAGE): Use TARGET_FPREGS. - (FUNCTION_VALUE, FUNCTION_ARG, LIBCALL_VALUE): Use integer registers - for FP items if -mno-fp-regs. - * alpha.c (alpha_builtin_saveregs): Store integer regs twice instead - of storing the FP regs if -mno-fp-regs. - - * fold-const.c (fold): Add missing test in case when we - distribute a NOP_EXPR into a COND_EXPR and try to pull it back - out again. - -Thu Oct 15 08:11:00 1992 Tom Wood (wood@dg-rtp.dg.com) - - * fold-const.c (simple_operand_p): Don't regard global or static - variables as simple. - (fold_truthop): Only require the RHS to be simple. - - * m88k.h (CPP_SPEC): Add -D__m88110__ when -m88110 is in effect, - similarly for -m88100. - * m88kdgux.h (CPP_SPEC): Ditto. - * m88kluna.h (CPP_PREDEFINES): Drop -Dmc88100. - (CPP_SPEC): Reproduce the predefine -Dmc88100 when -m88100 is in - effect. Otherwise, supply -D__mc881x0__ when -m881x0 is in effect. - -Thu Oct 15 02:09:49 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * expr.c (get_inner_reference): - If flag_volatile, treat every INDIRECT_REF as volatile. - - * collect2.c (main): If COLLECT_GCC is a relative name, use it anyway. - - * x-next: New file. - * configure (m68k-next-*): Use that. - - * Changes from NeXT: - - * libgcc2.c [L_ctors] (__CTOR_LIST__, __DTOR_LIST__): - Initialize these default definitions if __NeXT__. - - * gvarargs.h [__NeXT__]: Define _VA_LIST_ if _ANSI_STDARG_H_ was - defined; then define _ANSI_STDARG_H_. - - * gstddef.h (_ANSI_STDDEF_H): Define, along with _STDDEF_H. - - * next.h (INCLUDE_DEFAULTS): New macro. - - * cp-method.c (index, rindex): Delete declarations. - (build_overload_value): Cast result of index. - - * cccp.c (cplusplus_comments): New var. - (main): Set it according to options. - (rescan, handle_directive, skip_if_group, validate_else): - (skip_to_end_of_comment, macarg1, discard_comments): - Use cplusplus_comments to enable C++ comment syntax. - -Wed Oct 14 11:34:58 1992 Chip Salzenberg (chip@tct.com) - - * libgcc2.c (__gcc_bcmp): Don't depend on signedness of `char'. - -Wed Oct 14 18:52:28 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - - * sched.c (sched_note_set): Set subreg_p for anything except a - paradoxical subreg. - - * configure (sparc-*-solaris2): Use xm-spc-sol2.h not xm-spcv4.h. - - * reload.c (find_reloads): Don't let an operand have a numbered - constraint that makes it match itself. - -Wed Oct 14 10:38:31 1992 Tim Moore (moore@defmacro.cs.utah.edu) - - * pa.md (sCC patterns): Comparison operator should have SImode, - not CCmode. - (indexed addressing mode patterns): New patterns to use indexed - addressing if possible. - * pa.c (output_and): Do handle (const_int 0) as an operand; it - seems to occur in unoptimized compilation. - * pa.h (REGNO_OK_FOR_FP_P): Logic bug. - * va-pa.h : When __GNUC__ == 1, don't include the gcc 1 varargs - file (va-hp9k8.h). Instead, the definitions are explicitly defined - here. This avoids multiple typedefs of va_list. - * xm-pa.h (HAVE_VPRINTF) Define in HPUX 8.0. - - * pa.md (mulsi): Use the hardware multiply instruction, xmpyu, if - TARGET_SNAKE. - (umulsidi3): New pattern. - (reload_insi, reload_outsi, reload_indi, reload_outdi): New - patterns. These are needed because SImode and DImode pseudoregs - may be allocated (or reloaded) in floating point registers for - multiplication. That means that their addresses, which were - legitimate for SImode and DImode, aren't valid any more. - (movsi, movhi, movqi, movdf, movdi, movsf): Pass null scratch - operand to emit_move_sequence. - (fp SImode load and store patterns): Move before main movsi - pattern. - (fp DImode load and store patterns) New patterns. - (movhi, movqi patterns): Support moves to/from fp registers. - (movdf pattern): Ensure at least one operand is a register. - * pa.c (emit_move_sequence): Take reload scratch register - argument, deal with reloads of SImode and DImode mems into - floating point registers, handle function_label_operand moves. - (secondary_reload_class): A scratch register is needed if - reloading a function_label_operand address (probably doesn't - happen) or an SImode or DImode value into/out of a floating - point register. - * pa.h (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, - REG_CLASS_FROM_LETTER): Define a new register class - FP_OR_SNAKE_FP_REGS, used only be reload_{in,out}{si,di}. - (HARD_REGNO_MODE_OK): Allow all integer modes in Snake floating - point registers. QImode and HImode pseudoregs may end up there - when using xmpyu. - - * pa.md (pic symbolic address pattern): New pattern. - (movsi, movdi patterns): Remove some * constraints from fp registers. - (pic label address pattern): Fix typo. - (function_label_operand patterns): New patterns for loading a - label address in HPUX 8.0. - * pa.c (finalize_pic): No real initialization is necessary for pic. - (output_function_prologue): Save r19, the pic offset table - register. If profiling, save and restore the structure value - return register (r28) around the call to mcount. - (hppa_encode_label, function_label_operand): New functions. - Record if a label is a code label so it can be treated specially - in HPUX 8.0. - * pa.h (TARGET_SHARED_LIBS): New flag. Generate code that can be - linked with HPUX 8.0 shared libraries. - (TARGET_SWITCHES): New flags: -mshared-libs and -mno-shared-libs. - (PIC_OFFSET_TABLE_REGNUM): This is really r19. The preliminary - docs from HP were wrong. - (ASM_DECLARE_FUNCTION_NAME): Specify "ENTRY" param in .EXPORT - directive. - (ENCODE_SECTION_INFO): Encode function labels. - (ASM_OUTPUT_LABELREF): Deal with function labels. - (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Don't do anything for - now; their only use (saving stuff during profiling) interacts in a - wierd way with required assembler directives at the start of a - function. Instead, do the save and restore in the function - prologue. - (hppa_encode_label): Declare. - * pa-hpux.h, pa-ghpux.h (TARGET_DEFAULT): Link against shared - libraries. - (LINK_SPEC): Don't link against shared libraries if debugging or - profiling. - * pa1-hpux.h, pa1-ghpux,h (TARGET_DEFAULT): Link against shared - libraries. - -Wed Oct 14 10:17:49 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Makefile.in (gcc.xtar): Copy the objc subdir. - (mostlyclean): Run the mostlyclean target in the objc subdir. - (objc-runtime, libobjc.a, sublibobjc.a): New targets. - (objc, objective-c): Dep on objc-runtime. - - * objc/*: New files. - -Wed Oct 14 07:17:19 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * alpha.md (smax, smin): Fix typo in output strings. - - * a29k.c (const_16_operand, const_24_operand): Fix typo in declaration - of MODE. - (gpc_reg_or_immediate_operand, and_operand, add_operand): Likwise. - -Wed Oct 14 00:12:16 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) - - * pa.h (RTX_COST): Fix spacing typo. - -Tue Oct 13 21:51:05 1992 Jim Wilson (wilson@sphagnum.cygnus.com) - - * a29k.md (call, call_value): Don't use call_operand, since - checking for recursive calls at this point is not safe. - -Tue Oct 13 18:52:17 1992 Brendan Kehoe (brendan@rtl.cygnus.com) - - * cp-type2.c (my_friendly_abort): Tell them to write to bug-g++. - -Tue Oct 13 18:16:12 1992 Chris Smith (csmith@convex.com) - - * convex.h (P_tmpdir): define to use /tmp. - (RETURN_POPS_ARGS): correct definition to return size. - (ASM_IDENTIFY_GCC): output something between gcc2_compiled and - first function to keep gcc2_compiled out of assembler stabs. - - * convex.md (adddi3, ordi3, xordi3): check sign of CONST_INT - operands before using as immediates; these insns are word only. - (ashrdi3): don't use negative shift counts. - - * convex*.h (CPP_SPEC): define __NO_INLINE_STDLIB - - * xm-convex.h: remove temporary workaround from OS 8.0. - -Tue Oct 13 14:10:15 1992 Jim Wilson (wilson@sphagnum.cygnus.com) - - * cp-lex.c (check_newline): Verify that main_input_filename is - valid before using it. - -Tue Oct 13 19:08:54 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * a29k.c: Now includes reload.h. - (spec_reg_operand): Validate mode and know that some regs support - MODE_PARTIAL_INT and some MODE_INT. - (call_operand, reload_memory_operand, a29k_get_reloaded_address) - New functions. - (in_operand): Allow constants with MODE_PARTIAL_INT. - (out_operand): Allow special registers with any mode. - Any MEM a word or wider is valid. - (extend_operator): Deleted. - (secondary_reload_class): A pseudo is the same as memory; we need - BP_REGS for multi-word memory or for bytes and halfword if -mndw. - (print_operand): Delete %X; add %m. - (print_operand, case 'F'): Check for SYMBOL_REF. - * a29k.h (PROMOTE_MODE, ADJUST_COST): New macros. - (CALL_USED_REGISTERS): LR0 is call-used. - (HARD_REGNO_MODE_OK): Handle MODE_PARTIAL_INT and the special - registers that can only hold those modes. - (MODES_TIEABLE_P): Clean up and handle MODE_PARTIAL_INT modes. - (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add new - classes LR0_REGS, FC_REGS, and CR_REGS. - (REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise. - (PREDICATE_CODES): Update for new and deleted predicates. - * a29k.md: Use GEN_INT when appropriate. - (define_attr type): New types for SQRT. - (call patterns): Use SCRATCH for LR0. - Use new predicate call_operand so that some integers can be - used as addresses; fix CALLI so it doesn't accept constant. - (EXBYTE, EXTHW, INBYTE, INHW): Use ZERO_EXTEND instead of AND - when combine will make it. - Use PSImode for BP value and don't reference BP explicitly. - Clean up define_expands for these operations. - (rotlsi3): Use PSImode pseudo for FC. - (sign_extend): Sign extension insns clobber BP. - ({load,store}_multiple): Use PSImode pseudo for CR. - (MTSR): Add pattern for TRUNCATE from SImode to PSImode. - (sqrtsf2, sqrtdf2, movpsi): New patterns. - (load/store bytes/halfword): Clean up to accept temporaries as - input and use PSImode when required. - (movhi, movqi): Allocate temporaries here. - (reload_inqi, reload_outqi, reload_inhi, reload_outhi): New - patterns. - (movdf, movdi, movti): Use SCRATCH for BP register. - (reload_{in,out}{df,di,ti}): New patterns. + * configure (mips-sgi-irix5): Uncomment. + * iris5.h: Replace with working version. + * xm-iris5.h: New file. -Tue Oct 13 16:52:33 1992 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. - * fixinc.svr4 (sys/stream.h, sys/strsubr.h): Delete spurious `extern' - in various structure definitions. +Sat Oct 23 00:06:14 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * rtlanal.c (single_set): Fix typo in REG_UNUSED check. + * 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. - * cse.c (simplify_binary_operation): Insure that folded >> extends - the sign even if the host bootstrap compiler doesn't. +Fri Oct 22 01:20:29 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * final.c (output_asm_insn): Advance over the = when processing %=. + * 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. - * fixincludes (stdio.h): Fix va_list when preceeded by a *. + * expr.c (store_field): In BLKmode case, return blk_object. -Tue Oct 13 14:52:57 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) + * config/m88k/m88k.h (ASM_FINISH_DECLARE_OBJECT): Undef, then define. - * spc-sol2.h (STARTFILE_SPEC): Add crtbegin.o. - (LIB_SPEC): Add crtend.o for running ctors/dtors. - * t-sol2 (EXTRA_PARTS): Add crtbegin.o and crtend.o for C++. - (FIXINCLUDES): Deleted. - * configure (sparc-*-solaris2*): Set fixincludes here. + * Version 2.5.0 released. -Tue Oct 13 20:15:45 1992 Eric Youngdale (youngdale@v6550d.nrl.navy.mil) +Thu Oct 21 13:02:48 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * make-cc1.com: Simplify extraction of YYEMPTY from cp-parse.c. - Generate c-parse.y, objc-parse.y from c-parse.in if required. - Pat Rankin did some of this. + * mips.h (CUMULATIVE_ARGS): Double size of adjust array. + * mips.c (function_arg): Add comment about too many adjust entries. -Tue Oct 13 14:06:45 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Thu Oct 21 13:48:14 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * sparc.md (in_branch_delay): Allow fpload and fpstore. + * rs6000.h (HARD_REGNO_MODE_OK): Multi-word objects cannot + go into MQ, LR, or CTR. - * collect2.c (main): Only install a signal handler for signals - that already have handlers. - (fork_execute): Don't ignore signals before calling do_wait. + * configure (mips-sgi-iris5*): Disable; not working yet. + * mips/iris5.h (ASM_SPEC, LINK_SPEC, CPP_PREDEFINES): Extend a bit. - * i960.md: Change 'f' constraint for dest to '*f' if it is not the - only alternative. Add '*f' dest constraints to all patterns where - it is valid but was previously missing. + * expmed.c (expand_divmod): Create RESULT in proper mode when trying + quotient-and-remainder insn. - * i960.h (OVERRIDE_OPTIONS): Enable function inlining. - * i960.c (g14_save_reg): Delete variable. - (i960_output_call_insn): Add two new parameters arg_pointer and - scratch_reg. Save/set/restore g14 if necessary. - (i960_expand_call): Delete function. - * i960.md (call, call_value): No longer call i960_expand_call, - instead call call_internal/call_value_internal pattern. - (call_internal, call_value_internal): Rewrite patterns to pass new - args to i960_output_call_insn. +Thu Oct 21 13:14:40 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * sparc.md (movstrsi+1): Add `+' to constraints for clobbered inputs. + * Makefile.in (STMP_FIXPROTO): Uncomment the definition. - * i960.c (i960_output_call_insn): Emit bx instead of b, callx - instead of callj. + * varasm.c (output_constructor): Fix previous change: + if no TYPE_DOMAIN, don't set min_index. - * sparc.c (sparc_frw_output_function_prologue): Frame pointer base - must be same as for regular sparc code. +Thu Oct 21 11:13:21 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) -Tue Oct 13 06:02:03 1992 Tom Wood (wood@dg-rtp.dg.com) + * fixincludes: Avoid conflicting uses of __wchar_t in cc1plus and + stdlib.h for ARM/RISCiX. - * loop.c (loop_optimize): Verify that max_uid_for_loop is still - larger than the uid of any insn. Increase the number of exit - blocks from 4 to 32 per loop. - (find_and_verify_loops): Stop trying to relocate exit blocks when - allocating a new label would exceed max_uid_for_loop. +Thu Oct 21 08:16:13 1993 Doug Evans (dje@canuck.cygnus.com) - * combine.c (subst): Don't change a conditional branch into a - conditional move. + * Makefile.in (install-common): Remove g++ dependency. + Not built for cross compilers. - * m88k.md (ext shift patterns): No longer needed. +Thu Oct 21 00:04:40 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * m88k.c (mostly_false_jump): Recognize a sequence properly. - -Mon Oct 12 22:31:37 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) + * fixincludes (required): Accept a space instead of a tab + between #define and CTRL (or _CTRL). - * pa.h (LEGITIMIZE_ADDRESS): Fix typo. + * 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. -Tue Oct 13 00:14:09 1992 H Lu (hlu@eecs.wsu.edu) + * config/m88k/m88k.h (ASM_FINISH_DECLARE_OBJECT): Emit .size + only if DECLARE_ASM_NAME. - * Makefile.in (install-common): Put - on cmd that handles protoize. - (gcc.o, cccp.o): Define TOOLDIR for the compilation. - (all HOST_PREFIX_1 targets): Fix typos. +Wed Oct 20 21:32:11 1993 Jeff Law (law@snake.cs.utah.edu) - * x-linux (cpp.a, linux.a, cc1.a, cc1plus.a, gcc.a): Targets deleted. - (LD, ALIBS, STANDARD_STARTFILE_PREFIX, GPLUSPLUS_INCLUDE_DIR): - Vars deleted. + * pa.c (output_arg_descriptor): Do not stop searching if a USE + for the static link or struct value register is found. - * i386linux.h: Delete NO_JUMPTABLE conditional and contents. - (GPLUSPLUS_INCLUDE_DIR): Defined. - (STARTFILE_SPEC): Changed. +Wed Oct 20 22:43:22 1993 Michael Meissner (meissner@osf.org) - * gen*.c: Include hconfig.h, not config.h. + * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Don't emit .size + directive if using the OSF/rose object format. -Mon Oct 12 16:25:22 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * configure.bat, vmsconfig.com: Make hconfig.h. +Wed Oct 20 20:32:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * vax.h (PRINT_OPERAND): Detect `double' constants by DFmode, - since VOIDmode means an integer. + * cse.c (fold_rtx): Alter previous change: don't fold the shift + if the count exceeds the width of the value inside the subreg. - * mips.h (DEBUG_REGISTER_NAMES): New macro definition. - * print-rtl.c (reg_names): - Make it static. Use DEBUG_REGISTER_NAMES if that's defined. - * regclass.c (reg_names): Reinstate the definition here. + * varasm.c (copy_constant): New function. + (output_constant_def): Use it. - * fixinc.svr4: Delete excess fi in fixing stat.h. + * Makefile.in ($(srcdir)/INSTALL): Add --no-split. -Mon Oct 12 08:10:37 1992 James Van Artsdalen (jrv@goldman.gnu.ai.mit.edu) +Wed Oct 20 19:35:35 1993 John F Carr (jfc@mit.edu) - * Makefile.in (install-fixincludes): Only delete an existing - syslimits.h if we install limits.h over it. + * alpha.h (LIB_SPEC): Link -lprof1 when profiling. - * i386.h (PRINT_REG): Undo Oct 11 change. - (DEBUG_PRINT_REG): New macro, used from print-rtl.c. +Wed Oct 20 19:21:18 1993 Jim Wilson (wilson@cygnus.com) - * conditions.h (CC_NOT_SIGNED): New macro. - * final.c (alter_cond): If CC_NOT_SIGNED, convert signed - conditions to unsigned. + * 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. - * i386.md (cmpstrM patterns): Compare strings of unsigned chars, - not strings of signed chars. +Wed Oct 20 18:27:28 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Oct 12 06:31:13 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * c-typeck.c (output_init_element): When initializing a union, + do it right away: never put the field on the pending list. - * combine.c (try_combine): Save DEST of NI2PAT before calling - recog_for_combine, which might make it a PARALLEL. + * 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. - * emit-rtl.c (gen_lowpart_common): Allow MODE_PARTIAL_INT where - MODE_INT is allowed. +Wed Oct 20 18:12:21 1993 Torbjorn Granlund (tege@adder.cygnus.com) - * combine.c (try_combine): Properly call single_set when validating - the result of a define_split. + * 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. -Mon Oct 12 00:24:29 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Oct 20 17:58:32 1993 Per Bothner (bothner@kalessin.cygnus.com) - * calls.c (calls_alloca): Don't look within DECL_INITIAL if it's 0. + * varasm.c (output_constructor): Add support for non-zero + lower array bound. + * expr.c (store_constructor): Likewise. - * varasm.c (simplify_subtraction): New function. - * rtl.h (simplify_subtraction): Declared. - * final.c (output_addr_const): Call it. +Wed Oct 20 15:16:34 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * print-rtl.c (DEBUG_PRINT_REG): Renamed from PRINT_REG. - (print_rtx): Use DEBUG_PRINT_REG. + * toplev.c (rest_of_decl_compilation): Use ASM_FINISH_DECLARE_OBJECT + unconditionally, but define it as no-op by default. -Sun Oct 11 16:27:53 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu.edu) + * config/convex/convex.h (MAX_LONG_TYPE_SIZE): Defined. - * genrecog.c (merge_trees): When splitting, remember to clear DUPNO - in addition to the other things we can test. + * 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. - * recog.c (general_operand, immediate_operand, const_double_operand): - Allow CONST_INT with MODE_PARTIAL_INT. - (nonmemory_operand): Likewise. + * 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. -Sun Oct 11 07:53:39 1992 James Van Artsdalen (james at bigtex.cactus.org) +Wed Oct 20 11:39:56 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * xm-i38v4.h,xm-aix386.h (USE_C_ALLOCA): New macro. Define if not - using GNU C's builtin alloca. + * xm-mips.h (HAVE_VPRINTF): Define for BSD 4.4. - * i386.c (notice_update_cc): Only set CC_IN_80387 for float compares. + * mips.c (mips_output_filename): When emitting stabs, don't + disable them if using gas. + (mips_output_lineno): Likewise. - * i386.h (PRINT_REG): Make register name arrays static within this - macro. + * sparc.h (INITIALIZE_TRAMPOLINE): Emit 3 flush instrutions. + * sparc.md (flush): Add pattern. -Sun Oct 11 01:41:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Oct 20 10:47:54 1993 Michael Meissner (meissner@osf.org) - * jump.c (jump_optimize): Don't optimize jumps to store-flag insns - when BLKmode values are being compared. + * configure (mips-dec-bsd, mips-dec-osf): Fix a typo in the last + change. -Sat Oct 10 16:51:08 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Oct 20 07:57:06 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * print-rtl.c (print_rtx): Print hard reg name as well as number. - (PRINT_REG): New macro with default definition. - (reg_name): Moved here. - * regclass.c (reg_name): Deleted. + * 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 "%.". -Sat Oct 10 02:27:14 1992 James Van Artsdalen (james at bigtex.cactus.org) + * c-common.c (check_format_info): Consider "char", "signed char", + and "unsigned char" types as equivalent. - * i386sco.h (TARGET_DEFAULT): New macro - don't make TARGET_IEEE_FP - default for SCO. + * loop.c (find_and_verify_loops): Properly continue loop after + moving a block of code near a loop exit. -Sat Oct 10 04:52:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Oct 20 02:01:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * function.h (struct function): New fields const_rtx_hash_table, - const_rtx_sym_hash_table, first_pool, last_pool, pool_offset. - * function.c (pop_function_context, push_function_context): - Call {save,restore}_varasm_status. - * varasm.c: Include function.h. - (restore_varasm_status, save_varasm_status): New fns. - (init_const_rtx_hash_table): Allocate the hash tables in obstack. - (force_const_mem): Don't use CONST_DOUBLE_MEM for nested fns. - (clear_const_double_mem): Do nothing for nested fns. - * Makefile.in (varasm.o): Dep on function.h. + * Makefile.in (extraclean): Delete file djefoo. + (stmp-fixproto): Depend on stmp-headers, not LIBGCC2_DEPS. -Fri Oct 9 18:16:18 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) +Tue Oct 19 23:11:16 1993 James Van Artsdalen (james@bigtex.cactus.org) - * cp-decl.c (duplicate_decls): Only find out if olddecl is a - friend after we know it's not a TREE_LIST. + * 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). -Fri Oct 9 18:10:19 1992 Jim Wilson (wilson@geech.gnu.ai.mit.edu) +Tue Oct 19 21:21:34 PDT 1993 Ralph Campbell (ralphc@pyramid.com) - * sparc.c (sparc_type_code): Return reasonable result for COMPLEX_TYPE. + * configure (mips-dec-bsd): New alternative. + * config/mips/dec-bsd.h: New file. -Fri Oct 9 14:33:26 1992 Tom Wood (wood@dg-rtp.dg.com) +Tue Oct 19 18:49:40 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * reorg.c (start_of_epilogue_needs): New variable. - (mark_target_live_regs): Add in start_of_epilogue_needs when - NOTE_INSN_EPILOGUE_BEG is scanned. - (dbr_schedule): Compute start_of_epilogue_needs and update - end_of_function_needs to include sets by all instructions - following NOTE_INSN_EPILOGUE_BEG. + * c-typeck.c (digest_init): For arrays, use comptypes to compare + types instead of comparing pointers. - * m88k.md (return): Always available once reload has completed. - (epilogue): Use a return insn rather than an indirect jump. +Tue Oct 19 11:24:16 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) -Fri Oct 9 12:36:54 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * reload1.c (reload): Cope when inherited register is larger than + one word. + (choose_reload_regs): Ditto. - * spc-sol2.h (DBX_DEBUGGING_INFO): Defined. +Tue Oct 19 18:09:18 1993 David Edelsohn (edelsohn@npac.syr.edu) - * function.c (aggregate_value_p): Return 1 if regs we would use - are not all call-clobbered. + * rs6000.md (define_function_unit): Add support for RIOS2 + asymmetric integer units. - * stmt.c (POPSTACK): Pop discarded elts off all the stacks as we go. +Tue Oct 19 17:48:37 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Fri Oct 9 07:30:14 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * function.c (assign_parms): Properly set parm_reg_stack_loc for + args that are a CONCAT. - * reorg.c (mark_target_live_regs): Fix bug in last change. + * clipper.md (movdi): Force use of "o" alternative if + operand 1 is a MEM. - * combine.c (subst, case SUBREG): Don't make a new REG for - stack, frame, or arg pointer. - * emit-rtl.c (gen_lowpart_common, gen_highpart, operand_subword): - Likewise. + * alpha.h (HAVE_ATEXIT): New macro. - * local-alloc.c (optimize_reg_copy_1): Tighten up code to properly - handle the case when SRC or DEST is a multi-word hard register - and only some parts of the register are set or used. Also, avoid - updating register status for DEST if we can't do the optimization. + * reload.c (push_reload, find_reloads): If an operand is + a SUBREG of a PLUS, force a reload and reload what is inside. - * jump.c (jump_optimize): Only use a REG as a target. + * dbxout.c (print_int_cst_octal): Fix bug in last change. - * alpha.c (alpha_builtin_saveregs): Don't use value of NREGS greater - than 6 when computing ARGSIZE. +Tue Oct 19 17:42:23 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) - * va-alpha.h (va_arg): Put parens around all uses of __VA arg. + * 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. -Thu Oct 8 18:45:00 1992 Arne H. Juul (arnej@lise.unit.no) +Tue Oct 19 13:25:03 1993 Mike Stump (mrs@rtl.cygnus.com) - * Makefile.in (install-common-headers): added missing 'then' + * 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. -Thu Oct 8 15:52:22 1992 Michael Meissner (meissner@osf.org) +Tue Oct 19 01:09:56 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * mips.h (SELECT_RTX_SECTION): Rename macro from obsolete name - SELECT_SECTION_MODE. + * configure (m68000-convergent-sysv*): Untangle from m68k-*-lynxos. - * i386rose.h (whole file): Remove #ifdef before #undef of macros. - (LEGITIMATE_CONSTANT_P): Define, so that when half-pic is on, - half-pic addresses are not considered legitimate. - (SELECT_RTX_SECTION): If putting a half-pic pointer that is - loaded, put the pointer into the data section, rather than the - readonly_data_section. - (SELECT_SECTION): Define. - (ASM_OUTPUT_DOUBLE): If not cross compiling, emit double as two - longs, otherwise emit .double directive. - (ASM_OUTPUT_FLOAT): If not cross compiling, emit float as long, - otherwise emit .float directive. - (perform_fixdfsi): Copy arg to memory variable. - (SIZE_TYPE): Define to be long unsigned int. - (PTRDIFF_TYPE): Define to be int. - (WCHAR_TYPE)L: Define to be unsigned int. + * Makefile.in (stmp-fixproto): Depend on LIBGCC2_DEPS. + (crtbegin.o, crtend.o): Specify -fno-inline-functions. - * i386.md (movsi): Remove obsolete half-pic code. - (call insns): For half-pic insns, force address into register. + * config/mips/iris5.h: New file. + * config/mips/mips.c (mips_asm_file_start): Handle ABICALLS_ASM_OP. + * configure (mips-sgi-iris5*): New configuration. -Thu Oct 8 14:22:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Oct 18 16:16:26 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Makefile.in (install-common-headers): Fix dir in chmods for assert.h. + * cse.c (note_mem_written): (mem (scratch)) means clobber everything. - * va-i860.h (__savereg, va_arg): Put uses of __va in parens. + * gen-protos.c: Include ctype.h. - * vax.h (PRINT_OPERAND): Define new code, D. - * vax.md (movdi): Use D code for operand 1. + * expmed.c (extract_split_bit_field): Change shift count calculation + in little-endian case. -Thu Oct 8 13:23:25 1992 Jeffrey A. Law (law@mole.gnu.ai.mit.edu) + * Makefile.in (stmp-fixproto): Added dependency on fixproto script. - * pa.md (fp_alu function unit, case fpcc): Fpcc instructions use - the fpalu unit. In the most common case their result will be used - in a ftest instruction. Minimum distance between the fcmp and - ftest instruction is 4. +Mon Oct 18 11:26:08 1993 Jim Wilson (wilson@sphagnum.cygnus.com) -Thu Oct 8 06:41:15 1992 Tom Wood (wood@dg-rtp.dg.com) + * c-typeck.c (process_init_element): Align structure elements + that are subaggregates. - * function.c (assign_parms): Provide a safe value for - DECL_INCOMING_RTL in case of syntax errors. + * c-decl.c (finish_decl): After preserve_initializer call, set + TREE_PERMANENT bit in initializer. - * dwarfout.c (dwarfout_init, dwarfout_finish): Don't output labels - or .debug_aranges entries for .data1 and .rodata1 as these - sections aren't currently used. + * combine.c (can_combine_p): Don't combine instructions across a + volatile insn. + * rtlanal.c (volatile_insn_p): New function. -Thu Oct 8 04:44:17 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Sun Oct 17 03:04:49 1993 Torbjorn Granlund (tege@adder.cygnus.com) - * reorg.c (mark_target_live_regs): Look at USE insns made by - update_block when scanning forward past target. - (mark_target_live_regs, dbr_schedule): Use GET_RTX_CLASS. + * configure (powerpc-ibm-aix*): Set cpu_type. + * config.sub: Recognize powerpc. - * cse.c (PATHLENGH): Change from 20 to 10 to speed up compilations. +Sun Oct 17 21:37:57 1993 Jeffrey A. Law (law@snake.cs.utah.edu) -Thu Oct 8 03:07:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * fold-const.c (invert_truthvalue): Never alter ARG. + * pa.h (READONLY_DATA_SECTION): Disable. - * Makefile.in (TAGS): Exclude =*.[chy] from tags table. +Thu Oct 14 12:38:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-lex.c (yylex): For floats, use REAL_VALUES_LESS to distinguish - underflow from overflow. Delete special case for 0.0. + * cse.c (fold_rtx): Special case handling for folding + a subreg of the result of a left shift. -Wed Oct 7 16:25:19 1992 Tom Wood (wood@dg-rtp.dg.com) +Thu Oct 14 00:05:42 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * dwarfout.c (dwarfout_{begin,end}_function): New functions. - (body_{begin,end}_attribute): New functions. - (dwarf_attr_name): Print AT_body_begin and AT_body_end. - (output_{local,global}_subroutine_die): Output the new attributes. - * dwarf.h (enum dwarf_attribute): Add At_body_begin and AT_body_end. - * final.c (final_scan_insn): Call dwarfout_begin_function. - (final_end_function): Call dwarfout_end_function. + * alpha.h (DBX_CONTIN_LENGTH): Set to 4000. - * m88k.h (FASTEST_ALIGNMENT): Define as 8 for -m88110 otherwise 4. - (CONSTANT_ALIGNMENT, DATA_ALIGNMENT): Base on FASTEST_ALIGNMENT. - * m88k.md (movstrsi): No predicate is needed for the source or - destination. - * m88k.c (best_from_align): Add a target processor dimension for - -m88000, -m88110, and -m88100. - (expand_block_move): Choose method and limits based on -m88xxx option. - (block_move_no_loop): Extend to allow DImode. - * m88k-move.sh: Add the modules moveDI96x and moveDI41x through - moveDI47x. - * t-m88k, t-m88kluna, t-m88ksvr4: New modules added to MOVE_ASM. + * expr.c (do_jump_for_compare): Don't blow up if aren't any insns + in this sequence yet. - * m88k.c (output_call): Use different syntax for GAS. + * 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. - * m88k.h (READONLY_DATA_SECTION): Don't override svr4.h - (ASM_OUTPUT_CASE_LABEL): For svr4, use .rodata. +Wed Oct 13 21:47:58 1993 Ian Lance Taylor (ian@cygnus.com) -Wed Oct 7 15:47:19 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fixincludes: Remove erroneous parens from Alpha OSF/1 . - * configure (i486-ncr-sysv4): Use i386v4.h. - (i386-*-sysv4, i386-*-linux, i386-*-sysv): Handle 486 too. - (i486-*-sysv4, i486-*-linux): Deleted. - * i486v4.h, i486linux.h: Files deleted. +Wed Oct 13 16:08:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Oct 7 12:40:00 PDT 1992 Ron Guilmette (rfg at netcom.com) + * config/m68k/sun3.h (CPP_PREDEFINES): Don't define _CROSS_TARGET_ARCH. - * populate (progname): Just the basename of $0 please. - (target_dir): Use abs_target_dir and rel_target_dir for clarity. - (source_dir): Use abs_source_dir and rel_source_dir for clarity. - (*): List input and output dirs on startup. - (*): Don't be so verbose; Don't echo names of output dirs/files as - they are created. + * fold-const.c (invert_truthvalue): Handle SAVE_EXPR. - * fixinc.svr4 (): Fix types of SIG_DFL, SIG_ERR, - SIG_IGN, and SIG_HOLD. - (): Turn definitions of stat, lstat, fstat, and mknod - into ANSI syntax and add __ to variables used. + * Makefile.in (install-collect2): Depend on install-dir. + (install-info, install-float-h-cross): Likewise. - * c-parse.in (component_decl_list): Do pedwarn for missing semicolon - after last field decl. +Wed Oct 13 15:51:02 1993 Stephen L. Moshier (moshier@world.std.com)\ -Wed Oct 7 09:49:34 1992 Michael Meissner (meissner@osf.org) + * 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'. - * decstatn.h (LINK_SPEC): Don't define if it is already defined, - ie dec-osf1.h has included decstatn.h. +Wed Oct 13 15:47:37 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * dec-osf1.h (MACHINE_TYPE): Redefine to say DEC OSF/1 instead of - ultrix. + * c-parse.in (initdcl, notype_initdcl): Call decl_attributes + before init as well as after. -Wed Oct 7 03:50:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/ns32k/pc532.h (FRAME_POINTER_REQUIRED): + Require a frame pointer if fn calls setjmp. - * configure (target_cpu_default): Var renamed from target_default. - Set it to 2, for a 486. Define TARGET_CPU_DEFAULT macro. +Wed Oct 13 15:27:01 1993 Jim Wilson (wilson@cygnus.com) - * i386.h (TARGET_CPU_DEFAULT): Add default definition. - (TARGET_SWITCHES): Include that in the default. + * jump.c (jump_optimize): When moving a range of instructions, + include all NOTEs before the range, not just line number notes. - * toplev.c (main): Recover correctly from invalid -Wid-clash option. +Wed Oct 13 11:01:51 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) - * cccp.c (finclude): Set fp->buf earlier, so it's freed on error. + * patch-header.c: #include before . - * Makefile.in (install-common-headers): Avoid ! operator, for assert.h. +Wed Oct 13 11:57:33 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Oct 6 20:21:21 1992 Jim Wilson (wilson@geech.gnu.ai.mit.edu) + * rs6000.md (seq): Fix typo: had "xubfic" instead of "subfic". - * unroll.c (copy_loop_body, JUMP_INSN case): Delete abort in the - code for setting the JUMP_LABEL field. + * va-m88k.h (_VA_LIST_): Define. -Tue Oct 6 19:29:19 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) + * alpha.c (ignore_line_number): No longer used. - * cp-call.c (build_overload_call_real): If `functions' is an - ADDR_EXPR (as with operator new and delete), give the name of its - argument as the error fn. + * mips-tdump.c (print_global_hdr): Fix typo in cast in ctime call. -Tue Oct 6 14:15:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cccp.c (main): Don't catch SIGPIPE if no such signal. - * configure: Correct conditional in setting build_xm_file. + * x-alpha: File deleted, all shipped OSF systems have `ranlib'. - * function.c (get_first_block_beg): New function. + * fold-const.c (optimize_bit_field_compare, decode_field_reference): + Don't do anything if get_inner_reference returned its argument. - * cross-make (assertdir): Override usual definition. - * Makefile.in (install-common-headers): chmod assert.h in proper dir. - Use $(assertdir). - (assertdir): New variable. - (install-dir): Create dir $(includedir). - (includedir): Make this /usr/local/include. + * bi-reverse.c: Avoid defining NULL; can cause duplicate definition + errors. -Tue Oct 6 12:05:35 1992 Jeffrey A. Law (law@mole.gnu.ai.mit.edu) +Wed Oct 13 07:58:28 1993 Michael Meissner (meissner@osf.org) - * pa.md (memory function unit, load case): Loads take two cycles, - not one. + * 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 6 07:56:05 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) +Tue Oct 12 12:41:12 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * pa.md (adddi3): Fix typo. + * cse.c (record_jump_cond): At end, make missing equivalences + first, and then merge them. -Tue Oct 6 04:03:40 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Oct 12 21:30:29 1993 Doug Evans (dje@cygnus.com) - * m68k.c (floating_exact_log2, standard_68881_constant_p): - (standard_sun_fpa_constant_p): Use REAL_VALUE_FROM_CONST_DOUBLE. - (print_operand): Likewise. + * va-h8300.h (__va_rounded_size): Fix typo in #ifdef. -Mon Oct 5 18:39:29 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) +Tue Oct 12 20:19:22 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * tree.h (TREE_VIA_PROTECTED): Set protected_flag, not static_flag. + * bc-emit.c: Include stdio.h last. + * combine.c: Include stdio.h after gvarargs.h. -Mon Oct 5 18:27:08 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Oct 12 13:28:18 1993 Per Bothner (bothner@kalessin.cygnus.com) - * Makefile.in ($(srcdir)/INSTALL): Add -D INSTALLONLY. + * 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. -Mon Oct 5 14:46:08 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) +Tue Oct 12 18:36:32 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) - * cp-parse.y (unary_expr): Use the `new' rule when looking for - something like `new(foo) char[10]'. + Changes to support native ecoff and embedded stabs debugging + for the Alpha. - * cp-decl.c (grokparms): Don't call digest_init on default args. + * 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 5 02:21:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Oct 11 16:14:53 1993 Ian Lance Taylor (ian@cygnus.com) - * reload1.c (allocate_reload_reg): Always check for asm - on failure instead of simply aborting. + * 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. - * optabs.c (init_optabs): Use cabs as the only libcall for abs. +Tue Oct 12 08:05:28 1993 David Edelsohn (edelsohn@npac.syr.edu) -Mon Oct 5 03:10:14 1992 Mark Eichin (eichin at tweedledumber.cygnus.com) + * 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. - * c++ (numargs): $# was used after set was called; instead, save - $# in $numargs and use that value instead. +Tue Oct 12 07:58:36 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sun Oct 4 12:34:00 PDT 1992 Ron Guilmette (rfg at netcom.com) + * alpha.h (SETUP_INCOMING_VARARGS): If not TARGET_FPREGS, + save another copy of the integer regs where the FP regs would + have gone. - * dwarfout.c (hard-reg-set.h): Included to get decl of `reg_names'. - (PRINT_REG): Default definition added. - (dwarf_last_decl): Variable declaration added. - (output_reg_number): New function; handle -fverbose-asm reg printing. - (output_mem_loc_descriptor, output_loc_descriptor): Call it. - (output_decl): Set `dwarf_last_decl' each time this fn is called. - * i386.h (hi_reg_name, qi_reg_name, qi_high_reg_name): Declared. - (PRINT_REG): Definition moved from i386.c. - * i386.c (hi_reg_name, qi_reg_name, qi_high_reg_name): Not static. - (PRINT_REG): Definition moved to i386.h. + * 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. -Sun Oct 4 00:53:37 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * reload1.c (reload): Fix typo in RELOAD_FOR_INSN case when + accounting for reloads. - * c-decl.c (shadow_tag_warned): Use pedwarn for useless keyword. + * expr.c (convert_modes): Reset OLDMODE from X after we strip + a SUBREG due to a promoted variable. - * c-lex.c (readescape): No warning if digits in \x are all 0's. + * 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. -Sat Oct 3 14:37:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * bi-reverse.c: Add missing #include for hconfig.h. - * optabs.c (expand_complex_abs): New function. - * expr.h (expand_complex_abs): Add declaration. + * fixincludes: Quote braces when looking for DONE files. -Sat Oct 3 07:29:09 1992 Michael Meissner (meissner@osf.org) + * final.c (dialect_number): New variable. + (init_final): Initialize it. + (output_asm_insn, asm_fprintf): Support ASSEMBLER_DIALECT. - * configure (mips-dec-osf1): Use x-dec-osf1 instead of x-decstatn. +Tue Oct 12 01:34:16 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * x-dec-osf1 (new file): Like x-decstatn, except that INSTALL is - installbsd -c. + * c-typeck.c (digest_init): If traditional, allow unbraced scalar + to initialize the first element of an aggregate. -Sat Oct 3 05:04:43 1992 Tom Wood (wood@dg-rtp.dg.com) + * cccp.c (output_line_command): Output the `4' flag only if cplusplus. + (do_line): Handle the `4' flag. - * toplev.c (rest_of_decl_compilation): Don't call - dwarfout_file_scope_decl as this causes duplicates. + * final.c (final_scan_insn): Call walk_alter_subreg for operands + that are PLUS or MULT, before constrain_operands. -Sat Oct 3 01:35:23 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Oct 11 15:18:45 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * explow.c (allocate_dynamic_stack_space) [MUST_ALIGN]: - Always add to size, always round up to STACK_BOUNDARY, - always round the address. + * real.c (debug_real): New function. - * rtl.h (gen_realpart, gen_imagpart): Declared. + * regclass.c (reg_scan_mark_refs): XEXP (x, 0) in EXPR_LIST may be 0. -Fri Oct 2 20:03:53 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/m68k/m68k.md (cmphi): Turn on constraints to support cmpm.w. - * emit-rtl.c (gen_realpart, gen_imagpart): New functions. - * optabs.c (expand_unop, expand_binop): Use them. - * expr.c (expand_expr): Use them. +Mon Oct 11 13:20:54 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * cccp.c (main): Handle -U before -D (and -A). + * 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. - * assert.h: Add magic comment at beginning. - * Makefile.in (includedir): New variable. - (USER_H): assert.h removed from value. - (install-common-headers): Install assert.h separately, in includedir, - but not if file exists and lacks the magic comment. +Mon Oct 11 07:43:31 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * reload1.c (reload): Move test for failure to find any group - to after the loop over i. Also check that all the regnos fit - below FIRST_PSEUDO_REGISTER. + * expr.c (expand_assignment): When assigning an INDIRECT_REF to + a RESULT_DECL, the size and source rtx were swapped. - * expr.c (expand_expr): - For ABS_EXPR, give expand_unop the operand's mode. + * function.c (trampoline_address): Don't allocate anything + from parent function's current obstack. -Fri Oct 2 14:58:06 PDT 1992 Ron Guilmette (rfg at netcom.com) + * 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. - * i386v4.h (DBX_REGISTER_NUMBER): Don't abort here on pseudo-regs. - * dwarfout.c (output_mem_loc_descriptor, output_loc_descriptor): - Catch cases of bogus DECL_RTL values involving pseudo-regs (for all - target systems) and print an annoying message if we ever see such a - case. + * 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. -Thu Oct 1 17:23:08 1992 Michael Meissner (meissner@osf.org) +Mon Oct 11 02:40:22 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * mips-tfile.c (various): Rename some of the index variables and - fields to indx, so that it doesn't conflict with the BSD - index function, which may be #define'd to strchr. However, the - MIPS symbol table has a field called index, so #undef index and - rindex, and write our own functions local_index and local_rindex. + * 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. - * mips-bsd.h (CPP_PREDEFINES): Add single underscore in front of - each of the defines, for RISC-OS 5.0 compatibility. +Sun Oct 10 22:51:01 1993 Stephen Moshier (moshier@world.std.com) - * mips-sysv.h (CPP_PREDEFINES): Add single underscore in front of - each of the defines, for RISC-OS 5.0 compatibility. + * real.c (asctoeg): Fix backward condition in last change. - * mips-svr4.h (CPP_PREDEFINES): Add single underscore in front of - each of the defines, for RISC-OS 5.0 compatibility. +Sun Oct 10 22:33:17 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * mips.h (CPP_PREDEFINES): Add single underscore in front of each - of the defines, for RISC-OS 5.0 compatibility. + * configure (hppa1.0-*-mach*): Use collect2. + (hppa1.1-*-mach*): Likewise. - * mips.c (override_options): Only call setvbuf to make stderr line - buffered for -mstats on Ultrix, and OSF/1. + * 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. -Thu Oct 1 15:18:55 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * 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. - * reload1.c (emit_reload_insns): Add a case to handle - SECONDARY_MEMORY_NEEDED in the SECONDARY_OUTPUT_RELOAD_CLASS code. - * sparc.h (SECONDARY_INPUT_RELOAD_CLASS): Also need a temp reg - when loading HImode and QImode values from memory to FP_REGS. - (SECONDARY_OUTPUT_RELOAD_CLASS): New macro. Define this to handle - HImode and QImode stores from FP_REGS to memory similar to above. +Sun Oct 10 18:42:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Oct 1 13:36:52 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-typeck.c (start_init): Don't set require_constant_elements + for scalar types. - * cccp.c (rescan): If traditional, recognize # only at bol. + * c-parse.in (stmt): Don't call default_conversion on top-level + expressions. - * expr.c (expand_expr): Just return the lowpart or highpart. + * c-typeck.c (convert_for_assignment): Allow silent conversion to + a pointer from an integer 0 that resulted from arithmetic. - * configure (i386-*-linux, i486-*-linux): New alternatives. - * i386linux.h, i486linux.h, xm-linux.h: New files. + * varasm.c, c-pragma.c (enum pragma_state): Defined. - * optabs.c (expand_unop): Handle complex negate and abs val. - (init_optabs): Set up libcalls for complex abs. - (init_complex_libcalls): New function. + * 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. -Thu Oct 1 22:58:45 1992 Eric Youngdale (youngdale@v6550d.nrl.navy.mil) + * 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. - * make-cc1.com: Extract line containing "#define YYEMPTY" from - cp-parse.c, and append to cp-parse.h (a la Makefile.in). + * explow.c (emit_stack_save): Cast enum array index to int. - * cccp.c (main) [VMS]: Use .obj, not .o, in dependencies output. +Sun Oct 10 12:49:39 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) -Thu Oct 1 17:15:49 1992 Chip Salzenberg (chip@tct.com) + * 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. - * c-common.c (declare_function_name): __FUNC__ variables - are compiler-created, so set DECL_SOURCE_LINE to zero. - * c-decl.c (pushdecl): Internally generated vars can be - detected with DECL_SOURCE_LINE of zero, not DECL_IGNORED_P. +Sun Oct 10 08:56:58 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Oct 1 13:07:21 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) + * alpha.h (ALPHA_COSTS): Add missing arg to call to rtx_cost. - * pa.c (emit_move_sequence): When making a reference to the data - space before reload, emit an insn sequence which is much more - likely to create "addil" instructions rather than "ldil; add" - sequences. Doing so greatly reduces the chance of running into a - HPUX linker bug when compiling kernels. + * combine.c (force_to_mode, case ASHIFTRT): Verify that result of + making a LSHIFTRT remains a shift. - * pa.h (TARGET_KERNEL): New switch "-mkernel" which forces gcc to - avoid "ldil; add" sequences when %r29 and instead generate "addil" - sequences. This avoids a HPUX linker bug when compiling kernels. - * pa.md (add high part and dp register): Split into two patterns, - one for normal code, one for kernels. Kernel version only allows - "r1" as the destination register. + * 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. - * pa.h (LEGITIMIZE_ADDRESS, SYMBOL_REF case): Emit a sequence - which will cause "addil" instructions to be emitted instead of - "ldil; add" sequences. + * expr.c (expand_assignment): Don't short circuit store_expr + when TO is a VAR_DECL since it needs special handling if promoted. -Thu Oct 1 01:09:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * combine.c (subst, case SUREG): Only call force_to_mode if both + inner and outer modes are MODE_INT. - * c-parse.in, cond.awk: New files. - * Makefile.in (c-parse.y, objc-parse.y): Construct from c-parse.in. - (gcc.xtar): Depend on c-parse.y, objc-parse.y. - (realclean): Delete c-parse.y, objc-parse.y. + * mips-tfile.c (WORD_ALIGN): Fix typo in last change. - * explow.c (allocate_dynamic_stack_space): If STACK_DYNAMIC_OFFSET - or STACK_POINTER_OFFSET, always round address up to BIGGEST_ALIGNMENT. + * c-common.c (check_format_info): Support X/Open formats like "%1$d". - * gstddef.h: If _ANSI_H_, undef _PTRDIFF_T_, _SIZE_T_, _WCHAR_T. +Sat Oct 9 22:29:17 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) - * gvarargs.h: In the first part (instead of va-*.h), define - __gnuc_va_list, as in gstdarg.h. Always use __gunc_va_list - as basis for defining va_list. - Move interaction with BSD-NET2 down to where va_list itself is defined. + * configure: If no target is specified, try getting one + with config.guess. + * config.guess: New file. - * cccp.c (do_include): Delete unreachable goto after '"' case. +Sat Oct 9 19:50:24 1993 Pat Rankin (rankin@eql.caltech.edu) -Thu Oct 1 16:57:22 1992 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + * c-common.c (check_format_info): Avoid ?: conditional for function + to be called. - * dpx2g.h (NO_DOLLAR_IN_LABEL): Undef because gas understands dollars - in labels and gdb expects them if configured for gas. - (STARTFILE_SPEC): Include huge.o to be compatible with native cc. - (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): - (CTOR_LISTS_DEFINED_EXTERNALLY, DO_GLOBAL_DTORS_BODY): - (STARTFILE_SPEC): Conditionally redefine for a collectless version - of gcc if USE_COLLECT2 is not defined. + * 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. - * dpx2.ifile: New ld command file to support not using collect2. + * 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. -Wed Sep 30 17:08:32 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Oct 9 21:53:53 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - * libgcc2.c (__eprintf): Do nothing if inhibit_eprintf is defined. + * 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. - * pbd.h, spc-sol2.h, tower.h (NO_UNDERSCORES): Deleted. +Sat Oct 9 15:00:00 1993 DJ Delorie (dj@ctron.com) - * Makefile.in (install-fixincludes): rm syslimits.h before installing. - Install it with cp. Add an else-part to the if that installs it. + * configure.bat: Change $(srcdir)/ to $(srcdir)\ in commands. - * c-decl.c (start_enum): Push obstacks, switch to permanent if global. - (finish_enum): Pop obstacks. - (store_parm_decls): When clearing ->names, clear out the values - from the identifiers, restore shadowed values, and clear ->shadowed. +Sat Oct 9 15:17:22 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * c-decl.c (grokdeclarator): Don't warn of const or volatile function - in a system header file. + * expr.c (expand_expr, case ABS_EXPR): Don't copy twice into + volatile MEM. - * sdbout.c: Don't use system syms.h on hpux. + * expr.c (expand_expr): Never reset ORIGINAL_TARGET. + Pass ORIGINAL_TARGET to lang_expand_expr, not TARGET. - * cccp.c (do_xifdef): Skip all kinds of whitespace, in bof test. +Sat Oct 9 13:27:10 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Sep 30 15:09:10 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * 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. - * sparc.md (orcc peephole): Don't accept FP reg for operand 0. +Sat Oct 9 12:55:26 1993 Stephen Moshier (moshier@world.std.com) -Wed Sep 30 00:47:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * real.c (asctoeg): Allocate local buffer dynamically. Count + any lost significant digits before the decimal point. - * gstdarg.h, gvarargs.h: Use <...> to include va-*.h. +Fri Oct 8 16:33:42 1993 Mike Stump (mrs@rtl.cygnus.com) - * c-decl.c (start_struct): Push the obstacks. - Switch to permanent if at top level. - (finish_struct): Pop them. + * 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. - * c-decl.c (store_parm_decls): If we have (erroneously) a prototype - and old-style parm decls, throw away the old-style parm decls. +Fri Oct 8 14:40:29 1993 Jason Merrill (jason@deneb.cygnus.com) - * configure: Default $build after $host. Canonicalize all three - config names before the main dispatch and save in $canon_host, etc. - Write these into config.status and on terminal at the end. + * cp-error.c (dump_expr, REAL_CST): Support printing of real values + when REAL_IS_NOT_DOUBLE (prints out rep in hex). -Tue Sep 29 18:41:54 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Fri Oct 8 13:54:03 1993 Mike Stump (mrs@cygnus.com) - * unroll.c (find_splittable_givs): recog_memoized failure return - is -1 not 0. + * 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. -Tue Sep 29 22:19:48 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu) +Fri Oct 8 19:03:09 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * config.sub (os handling): Recognize `linux' as a valid os. + * xcoffout.h (DBX_STATIC_BLOCK_START): For N_LCSYM, force change + to text section to avoid assembler bug. -Tue Sep 29 16:05:47 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * mips.md (movsi_unaligned): Change in comment "loads" to "stores". - * limitx.h: Use <...> in #include. + * calls.c (emit_library_call_value): Compute struct_value_size, + and pass it to emit_call_1. - * Makefile.in (ENQUIRE_CFLAGS): Remove -DNO_SC. +Fri Oct 8 16:13:17 1993 H.J. Lu (hlu@nynexst.com) -Tue Sep 29 10:14:27 1992 Richard Kenner (kenner@.vlsi1.ultra.nyu.edu) + * config/i386/linux.h (STARTFILE_SPEC): Handle -p and -pg + outermost. Also add support for cross-linking. - * optabs.c (expand_binop): Convert X - C to X + (-C). +Fri Oct 8 15:20:58 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Mon Sep 28 22:44:17 1992 Jim Wilson (wilson@cygnus.com) + * Makefile.in (cp-error.o, cp-errfn.o): Add dependency rules. - * reload.c (find_reloads_address): If tem != ad, then create a new - mem to hold it and store it back into memrefloc. +Fri Oct 8 08:00:51 1993 Eric Youngdale (eric@kafka) -Mon Sep 28 10:44:55 1992 Chip Salzenberg (chip@tct.com) + * linux.h: Only include i386/gstabs.h if LINUX_ELF is not defined. - * regclass.c: Fix comment syntax after #endif. + * 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 Sep 28 17:15:22 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Oct 8 13:40:44 1993 Michael Meissner (meissner@osf.org) - * gstdarg.h (va_arg, va_start): Explicitly cast to __gnuc_va_alist. + * i386/osfrose.h, i386/osfelf.h (CPP_SPEC): If buliding for shared + libraries, define __SHARED__. -Mon Sep 28 17:12:04 1992 Jim Wilson (wilson@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. - * unroll.c (copy_loop_body, JUMP_INSN case): When invert jump - insn, must first construct new insn before trying to invert it, - so that validate_change will work properly. + * halfpic.c (half_pic_external): New function to declare a halfpic + identifier as always external. - * unroll.c (find_splittable_givs): Pass mem_mode not mode to - memory_address_p. + * halfpic.h (half_pic_external): declare function. + (HALF_PIC_EXTERNAL): Declare accessor macro. - * unroll.c (copy_loop_body, JUMP_INSN case): When setting - JUMP_LABEL field, verify that what we think is a label actually - is. If it isn't then map the old JUMP_LABEL to find the new one. +Fri Oct 8 15:03:56 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * sparc.md (orcc peephole): Don't allow FP regs to match pattern. + Cygnus<->FSF C++ front-end merge. + Thu Oct 7 11:45:32 1993 Jason Merrill (jason@deneb.cygnus.com) - * i960.md (indirect_jump): Use bx instead of b*, and accept any - address_operand instead of just a register operand. + * Makefile.in (CPLUS_OBJS): Change error.o to cp-errfn.o - * i960.c (i960_round_tree): Correct conversion of bits to bytes to - round up to nearest byte. - (i960_round_align): Likewise. + * cp-*.c, cp-parse.y: Rename lang_error and its kin to cp_error + and the like to accomodate rms's belief structure. -Mon Sep 28 15:54:18 1992 Michael Meissner (meissner@osf.org) + * error.c: Moved to cp-errfn.c to accomodate rms's belief structure - * dec-osf1.h (LINK_SPEC): Fix typo. + Wed Oct 6 15:05:49 1993 Jason Merrill (jason@deneb.cygnus.com) -Mon Sep 28 08:15:02 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cp-pt.c (mangle_class_name_for_template): Always use type_as_string + for printing out type parameters. Nuke id and type variables. - * rs6000.md (subsi3): Remove last change. - (allocate_stack): Go back to calling subsi3. + * 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 -Mon Sep 28 02:41:32 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-pt.c (mangle_class_name_for_template): Strip out code for + printing template parameters, replace with call to expr_as_string. - * optabs.c (expand_binop): Use get_insns, not gen_sequence. + * cp-method.c (build_overload_value): descend through + TREE_OPERAND on NOP_EXPRs as well as NON_LVALUE_EXPRs. - * c-typeck.c (build_unary_op): Address of nested fcn isn't constant. + * cp-decl.c (poplevel_class): Add assertion that + class_binding_level is not NULL. - * libgcc2.c (__builtin_new): Avoid passing 0 to malloc. + Tue Oct 5 11:11:25 1993 Jason Merrill (jason@deneb.cygnus.com) - * m68k.md (indirect_jump): Use address_operand as predicate. + Patches to support proper handling of system includes without munging: - * c-decl.c (finish_decl): Do the pop_obstacks sooner, when it's - time to start allocating in the ambient context's obstack. - Don't call permanent_allocation unless got back to permanent obstack. + * cp-lex.h: Declare in_c_header, a flag meaning 'implicitly wrap this + file in extern "C" { }'. -Sun Sep 27 13:06:19 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * 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). - * function.c (assign_parms): If PROMOTE_FUNCTION_ARGS is defined, - see if the incoming register should be used in a wider mode. - (expand_function_start): Likewise for return value if - PROMOTE_FUNCTION_RETURN is defined. - * calls.c (struct arg_data): New field unsignedp. - (expand_call): Handle PROMOTE_FUNCTION_ARGS and - PROMOTE_FUNCTION_RETURN. + * 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. - * alpha.h (FUNCTION_VALUE): Promote mode for return value. + * cp-tree.h (SET_CLASSTYPE_INTERFACE_UNKNOWN_X): Coerce X to boolean + value - * alpha.h (BYTE_LOADS_SIGN_EXTEND): Define. + Mon Oct 4 17:03:48 1993 Jason Merrill (jason@deneb.cygnus.com) - * rs6000.md (subsi3): Don't bother calling negate_rtx for constant; - we shouldn't be called with a constant. - (maskir patterns): Don't mention an operand before it is used; - use operand number 1 for operand with '0' constraint. - (allocate_stack): Use reg_or_short_operand for predicate of - allocation amount; use negate_rtx and always make a PLUS. + * cp-tree.h: Add declaration for flag_external_templates - * romp.h (EXTRA_CONSTRAINT, case 'Q'): Check for MEM instead of - calling memory_operand. - (SHIFT_COUNT_TRUNCATED): No longer define this. + * cp-decl.c (start_decl): Don't declare flag_external_templates -Sat Sep 26 18:14:15 1992 Michael Meissner (meissner@osf.org) + * cp-pt.c: Ditto - * config.sub (os handling): Recognize riscos as an operating - system. + * cp-parse.y (template_instantiate_once): Ditto - * configure (dec-osf1): Use x-decstatn for xmake_file. - (mips computers): Handle RISC-OS 5 vs. RISC-OS 4 configuration - changes -- RISC-OS 5. passes -non_shared by default. + * 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) - * mips-5.h (new file): RISC-OS rev 5 config file. - * mips-5bsd.h (new file): RISC-OS rev 5, bsd 4.3 config file. - * mips-5g4.h (new file): RISC-OS rev 5, svr4 + stabs config file. - * mips-5gbsd.h (new file): RISC-OS rev 5, bsd 4.3 + stabs config file. - * mips-5gdb.h (new file): RISC-OS rev 5 + stabs config file. - * mips-5gsysv.h (new file): RISC-OS rev 5 svr3 + stabs config file. - * mips-5svr4.h (new file): RISC-OS rev 5 svr4 + stabs config file. - * mips-5sysv.h (new file): RISC-OS rev 5 svr3 config file. + * cp-error.c (dump_type): Deal properly with pointers to member + functions. - * dec-osf1.h (LINK_SPEC): Pass -non_shared to linker unless - -shared was passed. - (SIZE_TYPE): Define as long unsigned int. - (PTRDIFF_TYPE): Define as int. - (WCHAR_TYPE_SIZE): Define as SHORT_TYPE_SIZE. + * 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. - * decrose.h (MACHINE_TYPE): Shorten verbage. + * cp-lex.c (cons_up_default_function): Remove redundant check + for processing_template_defn && !flag_external_templates + (reinit_parse_for_method): Ditto - * i386rose.h (TARGET_VERSION): Print appropriate information. + * cp-parse.y (template_instantiate_once): Don't mess with + interface_unknown - * xm-mips.h (HAVE_VFPRINTF, HAVE_PUTENV): Define on DEC OSF/1. + Mon Oct 4 15:47:34 1993 Mike Stump (mrs@cygnus.com) - * mips.c (siginfo): Print just current filename, and function - being compiled. + * 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. - * mips-tfile.c (Size_t): Use long unsigned on OSF/1. - (toplevel): Don't define rindex and index on OSF/1. + * cp-decl.c (start_function): Remove my_friendly_abort 19. Allows + one to declare a built-in as extern inline. -Sat Sep 26 17:46:57 1992 Torbjorn Granlund (tege@jupiter.sics.se) + Mon Oct 4 12:47:33 1993 John F Carr (jfc@mit.edu) - * arm.md (comment before extendhisi2): Remove the lie. - (zero_extendhisi2): Rewrite to work if op0 == op1. Use - gen_lowpart in preparation code. - (extendqisi2, extendhisi2): Likewise. - (extendqihi2): Expand. + * 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. - * arm.md (restorehi): Rewrite for correctness, efficiency, and - clarity. Avoid generating insns involving truncate. Generate - needed pseudos in preparation statements. - (storehi): Likewise. - (storeinthi): Likewise. - (movhi): Call gen_storehi, gen_restorehi, gen_storeinthi according - their new definitions. Use force_reg to put address in register. + Mon Oct 4 11:42:46 1993 Jason Merrill (jason@deneb.cygnus.com) - * m68k.md (indirect_jump): Use %a0 for output, and p for constraint. + * 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. -Sat Sep 26 02:42:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * error.c (lang_thing and its children): Do the same thing. - * reload1.c (eliminate_regs_in_insn): Rerecognize if move insn - becomes a non-move. + * cp-typeck.c (build_binary_op): Do away with the kludge, now that + error accepts more arguments. - * Makefile.in (install-fixincludes): - Use - when making syslimits.h; fix if-statement syntax. + Sun Oct 3 16:34:39 1993 Jason Merrill (jason@deneb.cygnus.com) - * jump.c (jump_optimize): When handling dispatch table that always - goes to the same place, verify previous insn exists. + * cp-error.c: Remove all traces of in_parmlist - * c-typeck.c (common_type): Renable code to merge qualifiers - given two pointers to compatible types. + Sun Oct 3 13:54:57 1993 Mike Stump (mrs@cygnus.com) -Sat Sep 26 12:02:38 PDT 1992 Ron Guilmette (rfg at netocm.com) + * cp-call.c (convert_harshness_ansi, convert_harshness_old): Handle + pointer to function members properly. - * dwarfout.c (location_attribute): If DECL_RTL looks like (MEM pseudo), - treat that variable as optimized away. + Fri Oct 1 16:42:30 1993 Mike Stump (mrs@cygnus.com) -Fri Sep 25 19:48:46 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-error.c (dump_function_decl, dump_function_name): Make static + to match prototype. - * c-decl.c (explicit_flag_signed_bitfields): New variable. - (c_decode_option): Set that for -f[un]signed-bitfields. - (grokdeclarator): If that's set, and -fsigned-bitfields, - disregard -traditional when handling bitfield signedness. + Fri Oct 1 15:23:31 1993 Mike Stump (mrs@cygnus.com) - * configure: Handle --build option. Make link hconfig.h. - * Makefile.in: In the targets such as $(HOST_PREFIX_1)rtl.o, - use sed to make them include hconfig.h instead of config.h. - (distclean): Add command to delete hconfig.h. + * cp-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. -Fri Sep 25 19:56:35 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) + Thu Sep 30 18:15:29 1993 Jason Merrill (jason@deneb.cygnus.com) - * cp-search.c (compute_visibility): Don't mess with the context. + * 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. - * cp-decl.c (grokdeclarator): Return value from do_friend - properly; this shouldn't have gone in yet. + * 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. -Fri Sep 25 02:23:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * error.c (lang_thing): Abort if more than NARGS (currently 2) are + passed, since this is likely to cause a seg fault elsewhere anyway. - * c-typeck.c (initializer_constant_valid_p): Really use endtype. + Thu Sep 30 14:19:28 1993 Jason Merrill (jason@deneb.cygnus.com) - * cccp.c (do_include): "Concatenate" multiple "strings" in #include. + * g++int.texi: Add error reporting section, make `makeinfo'able - * vmsconfig.com: Renamed from configure.com. + * cp-type2.c (my_friendly_abort): Deal with recursive calls - * next.h (CPP_PREDEFINES): Define __ARCHITECTURE__. + Thu Sep 30 12:24:33 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * dbxout.c (dbxout_symbol): For anonymous enum, output type anyway. + * cp-decl2.c (grok_array_decl): Don't pedwarn on reversing the array + and its index in `a[b]'. -Fri Sep 25 01:33:36 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * 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. - * function.h (struct function): Add epilogue_delay_list field. - * function.c (push_function_context): Save epilogue_delay_list. - (pop_function_context): Restore epilogue_delay_list. + Thu Sep 30 11:24:59 1993 Jason Merrill (jason@deneb.cygnus.com) - * sparc.md (nonlocal_goto): Force operands[0] to be a register. + * 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. - * va-sparc.h (va_arg): Add 3 more (void *) casts to avoid warnings - with -Wcast-align. + * error.c (lang_thing): Don't rely on STDC array initialization - * sparc.c (SF_MODES): Accept all single word or smaller integer - modes not just SImode. These are needed for fix/float conversions. + Tue Sep 28 18:20:05 1993 Mike Stump (mrs@cygnus.com) - * sched.c (sched_analyze_2, PRE_DEC case): Call sched_analyze_2 in - addition to sched_analyze_1. + * 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. - * va-i960.h (va_start): Must access anonymous arg as offset from - start of argument block. + Mon Sep 27 14:54:42 1993 Mike Stump (mrs@cygnus.com) - * i960.md (movdi, movti, movdf, movtf): Make store zero to memory - a separate case, only accept offsettable memory addresses, and call - adj_offsettable_operand to calculate subword addresses. + * 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. - * i960.c (i960_output_ldconst): Pass missing xoperands argument to - output_asm_insn call. + Mon Sep 27 13:02:51 1993 Jason Merrill (jason@deneb.cygnus.com) - * a29k.md (movti): Split CONST_INTs into 4 moves, and force all - other constants to memory. + * cp-type2.c (my_friendly_abort): Undo previous change -Thu Sep 24 21:51:46 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) + * 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. - Complete Cygnus<-->FSF merge. + * cp-method.c: Strip out error reporting code - Thu Sep 24 17:05:27 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * Makefile.in (CPLUS_OBJS): Add error.o and cp-error.o - * cp-decl.c (pushdecl): Use a friendly abort rather than an assert. - (grokparms): Pass whether init is set or not for the initialized - parameter to grokdeclarator. + * cp-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. - Wed Sep 23 22:09:44 1992 Mike Stump (mrs@cygnus.com) + * error.c: New file, provides call-back mechanism for language- + dependent error reporting. - * cp-class.c (finish_struct), cp-decl2.c (warn_nonvdtor), - cp-tree.c (layout_basetypes), cp-tree.h (warn_nonvdtor): Re-enable - warnings for non-virtual destructors in some situations. + Fri Sep 24 13:52:27 1993 Jason Merrill (jason@deneb.cygnus.com) - Wed Sep 23 15:42:33 1992 Mike Stump (mrs@cygnus.com) + * cp-type2.c (my_friendly_abort): Don't die quietly if + errorcount or sorrycount are positive, die loudly. - Wed Sep 23 16:31:27 1992 Michael Meissner (meissner@osf.org) +Fri Oct 8 13:58:13 1993 Doug Evans (dje@cygnus.com) - * cp-decl.c (duplicate_decls): Cast bcopy arguments to char * to - avoid warning on OSF/1. + * loop.c (scan_loop): When skipping consecutive insns, + don't count notes. - Wed Sep 23 11:36:44 1992 Brendan Kehoe (brendan@rtl.cygnus.com) +Fri Oct 8 10:41:07 1993 Chip Salzenberg (chip@fin.uucp) - * cp-decl.c (start_method): Give the name of the class if a method's - being defined again, rather than say "aggregate scope". - * cp-decl2.c (grokfield, grokbitfield, groktypefield): Ditto. + * c-common.c (check_function_format): Correct error in last + change. - Tue Sep 1 22:55:59 1992 Paul Eggert (eggert@twinsun.com) +Fri Oct 8 08:10:03 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-cvt.c (convert_to_integer): Prefer unsigned - arithmetic if the output type is unsigned and is no more precise than - the computation type. This avoids unnecessary sign extension. + * c-parse.in (initdcl, notype_initdcl): Call push_momentary and + pop_momentary here. + (init): Not here. - Tue Sep 15 20:26:18 1992 John F Carr (jfc at Athena.MIT.EDU) +Fri Oct 8 06:35:07 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-pt.c (tsubst): Don't call layout_type near start of function - with T. const and volatile attributes don't affect the memory - structure of the type, and T may not yet be a valid argument for - layout_type (for example, if it is an uninstantiated template). - Individual switch cases will call layout_type if necessary. + * dbxout.c (dbxout_type, case INTEGER_TYPE): Correctly check + for type smaller than `integer'. - Mon Sep 21 15:59:22 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * expr.c (expand_expr, case MAX_EXPR): Don't use TARGET directly + if it is a volatile MEM. - * cp-decl.c (pushdecl): Check if DECL_SOURCE_LINE is non-zero, not - if DECL_IGNORED_P is set, when checking for shadowing. We no longer - need DECL_IGNORED_P on builtin types. - (record_builtin_type): Don't set DECL_IGNORED_P for a builtin type. + * 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. - * cp-decl.c (start_decl): When working with virtual functions, - always use the node's DECL_CLASS_CONTEXT. - * cp-method.c (hack_identifier): Ditto. - * cp-search.c (compute_visibility): Ditto. + * 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. - * cp-decl.c (grokdeclarator): Don't allow a member to be declared - extern. + * dbxout.c (dbxout_parms): Don't confuse a parameter at an + offset of zero from AP or FP with one that has variable size. - * cp-decl.c (grokdeclarator): Return a void_type_node if we're - looking at a friend (even after calling do_friend). - (pushdecl): Disable some code that's untested and - doesn't necessarily help DWARF right now. - (finish_function): Always emit debugging info for the - return type of a function. - (pushdecl): Don't change the DECL_CONTEXT of virtual - methods. - (finish_enum): Always output debugging info for enums. - (grokdeclarator): It's an error if we're doing an init of an extern - at the top level. If we are at the top level, just warn. + * calls.c (emit_library_call): Fix typo in last change; should + use Pmode instead of SImode. - * cp-typeck.c (comp_target_parms): Check if strict is non-zero, not - just > 0. - (build_function_call_real): Don't return an error-mark node when - they call "main" from within the fn, it's only a pedantic warning. - (pointer_int_sum): Reword warning when using a ptr-to-mem in arith. +Fri Oct 8 00:34:39 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-tree.c (layout_basetypes): Make record_align and const_size - unsigned. + * c-decl.c (finish_decl): Error if block-scope static var + has incomplete type. - Mon Sep 21 14:53:43 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * expr.c (expand_expr, case VAR_DECL): If decl wasn't laid out, + lay it out now, and fix the rtl's mode. - * cp-tree.h (flag_no_ident): Add extern decl for cp-lex.c. +Thu Oct 7 12:30:10 1993 Chip Salzenberg (chip@fin.uucp) - * cp-decl.c (duplicate_decls): Save the DECL_UID and DECL_FRIEND_P - info from olddecl. Otherwise, they'd get clobbered when newdecl's - contents get copied into olddecl. + * c-decl.c (complete_array_type): Correctly set MAXINDEX to + one less than array size. - * cp-lex.c (check_newline): Delete pedantic error about using #ident, - since cccp.c already gives a warning. In the case that - ASM_OUTPUT_IDENT is defined, only actually spit it out if flag_no_ident - is not set. +Thu Oct 7 20:44:41 1993 Torbjorn Granlund (tege@adder.cygnus.com) - Sat Sep 19 14:53:31 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * c-typeck.c (build_binary_op): For *_DIV_EXPR, set shorten based + on orig_op0. - Sat Sep 19 11:37:11 1992 John F Carr (jfc at Athena.MIT.EDU) +Thu Oct 7 18:19:17 1993 Jim Wilson (wilson@cygnus.com) - * cp-decl.c (finish_decl): Don't call - CLASSTYPE_DECLARED_EXCEPTION if TYPE is error_mark_node, to avoid - referencing a nonexistent field. + * xm-mips.h (HAVE_VPRINTF): Correct typo, is VPRINTF not VFPRINTF. - Fri Sep 18 14:06:06 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * Makefile.in (LIB2FUNCS): Add _fixtfdi, _fixunstfdi, _floatditf. - * cp-parse.y (component_decl): Remove sorry about not implementing - methods in anonymous unions---they're illegal, and we generate an - error elsewhere to that effect. +Thu Oct 7 14:58:02 1993 Michael Meissner (meissner@osf.org) - * cp-decl.c (start_method): Make the error message about a - duplicated member a little more informative. + * configure (i386-osf): ELF on OSF/1 does not need collect2. - Fri Sep 18 12:28:13 1992 Brendan Kehoe (brendan at rtl.cygnus.com) +Thu Oct 7 17:38:25 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-parse.y: Define YYDEBUG if SPEW_DEBUG is defined. - (debug_yytranslate): YYDEBUG will always be defined, no need to test. + * cccp.c (main): New option -lang-c-c++-comments. - Fri Sep 18 10:46:19 1992 Brendan Kehoe (brendan@rtl.cygnus.com) +Thu Oct 7 16:40:38 1993 Michael Meissner (meissner@osf.org) - * cp-parse.y (unary_expr): When parsing delete, first complain if - it's a non-pointer, then check if it's a pointer with the value zero. - Also be sure not to call build_delete if that's the case. + * 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. -Thu Sep 24 18:03:07 1992 Michael Meissner (meissner@osf.org) + * i386.h (FINALIZE_PIC): Add macro to set the variable + current_function_uses_pic_offset_table if either -p or -a switches + are used. - * mips.h (MIPS_VERSION): Set Meissner version # to 27. - (STRUCT_VALUE_REGNUM): Delete macro. - (STRUCT_VALUE): Define as 0, so that structure return addresses - are passed as the first argument. This fixes various codegen - problems with functions returning structures. +Thu Oct 7 17:07:57 1993 Ian Lance Taylor (ian@cygnus.com) - * mips.c (init_cumulative_args): Don't advance arg pointer if - function returns a structure. + * 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. -Thu Sep 24 12:38:31 1992 Torbjorn Granlund (tege@wombat.gnu.ai.mit.edu) +Thu Oct 7 11:11:25 1993 Jason Merrill (jason@deneb.cygnus.com) - * pa.h (REGISTER_MOVE_COST): Fix typo. Use `||' instead of `|'. - (REG_CLASS_FROM_LETTER): Don't handle 'r' constraints here. - * pa.c (clobbered_register): Delete. - (srcsi_operand): Return 1 also for things matching - depi_cint_operand. - (secondary_reload_class): Replace. - * pa.md (ldo/ldil SImode and HImode recognizers): Use - "const_int_operand" for operand 1 and simplify final condition. - Remove `n' constraint. - (depi SImode and HImode recognizers): Remove `n' constraint. - (plus:SI ... high ... splitter): Don't overwrite input, go via - clobber operand instead. - (many patterns): Replace `in' constraint with just `i'. - (movstrsi): Don't do (clobber (match_scratch)), use explicit - pseudos instead, generated in preparation C code. Don't call - force_not_mem for operand 2. - (movstrsi recognizer): Add `&' to operand 3. - (andsi3): Fix typo. - (iorsi3): Fix typo. - (load-shift-16): New optimizer. - (load-shift optimizers): Set "type" attr. + * 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. -Thu Sep 24 15:17:38 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Oct 7 14:45:20 1993 Doug Evans (dje@canuck.cygnus.com) - * toplev.c (lang_options): Add Objc options. + * Makefile.in (install-dir): Fix typo. + (install-common): Remove obsolete comment. + (install-common): Install native g++ only if not cross. - * configure.bat: Use xgcc, not gcc. +Thu Oct 7 11:27:45 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Sep 24 06:30:47 1992 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. - * c-lex.c (yylex, case '"'): Initialize arg pased to readescape. + * gcc.c (read_specs): Fix call to bzero. - * genattrtab.c (length_used): New variable. - (walk_attr_value): Set it when we have (eq_attr "length" ...). - (write_const_num_delay_slots): Value is 1 unless LENGTH_USED is set. +Thu Oct 7 08:53:57 1993 Torbjorn Granlund (tege@adder.cygnus.com) - * reorg.c (mark_set_resources, case CC0): Set RES->CC if IN_SEST. + * alpha.md: Clean up usage of commutative declarator `%'. - * regclass.c (forbidden_inc_dec_class, in_inc_dec): New variables. - (regclass): Don't alloca the costs twice. - Initialize forbidden_inc_dec_class. - For regs that have inc-dec, ignore forbidden classes. - (record_address_regs): Update in_inc_dec. +Thu Oct 7 08:14:46 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Sep 24 02:36:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * i860/xm-fx2800.h (HAVE_VPRINTF): Fix typo; was HAVE_VFPRINTF. - * syslimits.h: New file, includes system's limits.h. - * limitx.h: Include syslimits.h instead of system's limits.h. - * Makefile.in (USER_H): Add syslimits.h. - (install-fixincludes): If we fix system's limits.h, install that - as syslimits.h + * xm-alpha.h: Always declare malloc, realloc, etc, to be void *. - * c-lex.c (readescape): New arg ignore_ptr. - (yylex): Pass new arg, handle result that comes back. + * combine.c (force_to_mode): Sign-extend constant being truncated. -Wed Sep 23 19:26:42 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Wed Oct 6 18:53:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * reload.c (find_reloads_address): Properly check for constant address. + * bi-lexer.c (xmalloc, xrealloc): Cast the result of malloc, realloc. - * cse.c (simplify_unary_operation, case SIGN_EXTEND): Use - HOST_BITS_PER_WIDE_INT, not HOST_BITS_PER_INT. +Wed Oct 6 15:30:39 1993 Michael Meissner (meissner@osf.org) - * fold-const.c (fold_convert): Add missing cast to HOST_WIDE_INT. + * 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. - * jump.c (jump_optimize): Tighten up test for when we can't - delete a set of CC0. - Don't insert insns between set and use of CC0. +Wed Oct 6 15:29:40 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * final.c (shorten_branches): Correctly access insn needing delay slot. + * 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. - * combine.c (significant_bits, num_sign_bit_copies): Handle SUBREGs - made for promoted variables. +Wed Oct 6 13:50:03 1993 Ian Lance Taylor (ian@cygnus.com) - * reorg.c (fill_simple_delay_slots): Don't make copy of insn that - references CC0. + * 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. - * romp.md (define_attr "type"): New type "ibranch". - (define_attr "length"): Set length for "ibranch" type. - (define_attr "in_delay_slot"): Add new type "ibranch"; - for "branch", only has delay slot if length is 4. - (define_attr "cc_type"): Add new type "ibranch". - (indirect branches): Now type "ibranch". +Wed Oct 6 13:47:13 1993 Jim Wilson (wilson@mole.gnu.ai.mit.edu) - * alpha.c (alpha_gp_dead_after): Return 0 if not optimizing. + * 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. -Wed Sep 23 00:11:35 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Oct 6 13:14:13 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * gvarargs.h: Finish changing _ANSI_H to _ANSI_H_. + * c-typeck.c (build_c_cast): When making a CONSTRUCTOR, provide + the dummy first operand. -Tue Sep 22 23:39:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * real.c (real_value_truncate): Correct etrunci argument + in case SImode. - * i386mach.h (perform_fixdfsi): Copy arg to memory variable. +Wed Oct 6 06:55:05 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Sep 22 14:54:38 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * final.c (asm_fprintf): Add cases for 'w' and 'l'. - * loop.c (basic_induction_var): Inside PLUS, when looking for promoted - var, make sure it's a REG. + * 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. -Tue Sep 22 12:21:11 1992 Michael Meissner (meissner@osf.org) + * regclass.c (record_reg_classes): Check if operands are the same + by seeing if they are the same register. - * mips.h (MIPS_VERSION): Bump Meissner version # to 26. - (REG_PARM_STACK_SPACE): Use UNITS_PER_WORD instead of 4, and - substract FIRST_PARM_OFFSET. - (FIRST_PARM_CALLER_OFFSET): Delete unused macro. + * cse.c (record_jump_cond): Rehash OP1 if OP0's insert_regs returns + nonzero. - * mips.c (init_cumulative_args): Print types of fntype and the - return type if -mdebuge. + * calls.c (expand_call): Add yet another assignment to MEM_IN_STRUCT_P. - * decrose.h (CPP_SPEC): Eliminate defining various builtin - functions with -D=__builtin_, if neither -fbuiltin nor - -fno-builtin were passed. - (CC1_SPEC): Eliminate passing -fno-builtin to the compiler if - neither -fbuiltin nor -fno-builtin were passed. Eliminate - %{save-temps: } since gcc no longer gives an unknown switch - message if it is used. +Wed Oct 6 00:08:28 1993 Jim Wilson (wilson@mole.gnu.ai.mit.edu) - * i386rose.h (CPP_SPEC): Eliminate defining various builtin - functions with -D=__builtin_, if neither -fbuiltin nor - -fno-builtin were passed. - (CC1_SPEC): Eliminate passing -fno-builtin to the compiler if - neither -fbuiltin nor -fno-builtin were passed. Eliminate - %{save-temps: } since gcc no longer gives an unknown switch - message if it is used. - (MASK_HALF_PIC): Move bit mask to 0x40000000, to allow for i386.h - to define more switches without overlapping our private switch. - (TARGET switches): Add -mdebugb to debug half-pic code. - (OPTIMIZATION_OPTIONS): Only set flag_gnu_linker FALSE always, and - flag_inline_functions if -O3. In particular never set - -fomit-frame-pointer which currently messes up debugging. - (GO_IF_LEGITIMATE_ADDRESS): Define i386-osfrose version that deals - with half-pic. - (OVERRIDE_OPTIONS): Define to initialize half-pic. - (ASM_FILE_END): Define to dump out half-pic variables if needed. + * 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. - * t-i386rose (EXTRA_OBJS): Define as halfpic.o. - (CONFIG2_H): Add $(srcdir)/halfpic.h. - (halfpic.o): Add dependencies. + * sparc.h (SELECT_CC_MODE): Add support for ASHIFT. + * sparc.md (ashlsi3+1, ashlsi3+2): New patterns to replace shift + and compare with addcc. -Tue Sep 22 03:12:01 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Oct 5 16:25:32 1993 Jim Wilson (wilson@cygnus.com) - * reload1.c (choose_reload_regs): When setting reg_has_output_reload, - loop over multiple regs only for hard reg. Set reg_is_output_reload - in separate loop. + * sched.c (sched_analyze_2): Make volatile asms depend on all + pseudo registers. -Mon Sep 21 12:22:24 1992 Jeffrey A. Law (law@mole.gnu.ai.mit.edu) + * mips.c (mips_expand_prologue): Handle structure return values as + the first argument if necessary. - * reorg.c (mark_set_resources, case REG): A register is set iff - "in_dest" is nonzero. + * mips.h (CLASS_MAX_NREGS): For DFmode and !TARGET_FLOAT64 case, + return 2 not 4. + (CLASS_UNITS): Take size parameter instead of num (words). -Mon Sep 21 14:16:10 1992 Torbjorn Granlund (tege@jupiter.sics.se) + * 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. - * combine.c (make_extraction): Make test whether to use AND or - {SIGN,ZERO}_EXTRACT depend on UNSIGNEDP. + * 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 (). -Mon Sep 21 08:26:55 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * 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. - * reload1.c (reload): If we can't get a register that we know won't - interfere with groups, get one that might instead of giving up. +Tue Oct 5 16:11:53 1993 Jason Merrill (jason@deneb.cygnus.com) - * reload1.c (reload): Print the needs to the dump file. + * toplev.c (error and its kin): Use #defines for the argument + lists for ease of adding arguments and add one arg. -Mon Sep 21 02:45:19 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Oct 5 16:05:11 1993 Tor Egge (tegge@pvv.unit.no) - * function.c (put_var_into_stack): Check REG != 0 before dereference. + * cccp.c (rescan): Don't expand an identifier after a '#'. -Sun Sep 20 16:58:05 1992 Fred Fish (fnf at fishpond.cygnus.com) +Tue Oct 5 15:15:52 1993 Chip Salzenberg (chip@fin.uucp) - * x-svr4: New generic SVR4 host makefile fragment. - * x-i386v4: File deleted. - * x-ncr3000: Get alloca using ALLOCA, not libucb.a. - * configure (i386-*-sysv4*): Use x-svr4, not x-i386v4. - * configure (i486-*-sysv4*): Use x-svr4. + 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. -Sun Sep 20 21:18:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Oct 5 14:08:18 1993 Wolfgang Stukenbrock (wgstuken@informatik.uni-erlangen.de) - * combine.c (subst): Set and compare extend_op with 0, not NULL. + * gcc.c (choose_temp_base): Correct size allocated for temp_filename. - * cse.c (find_comparison_args): New args PMODE1, PMODE2. - (fold_rtx, record_jump_equiv): Use them to get modes of comparison. - (fold_rtx): Associate MINUS with nested PLUS. +Tue Oct 5 06:34:34 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * seq386.h (LPREFIX): Overridden as `.L'. - (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * tree.c (contains_placeholder_p): Return 0 for CONSTRUCTOR. + (substitute_in_expr): Don't allow CONSTRUCTOR. -Sun Sep 20 05:53:20 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * tree.c (make_node, case 'd'): Refine in which obstack + PARM_DECLs are allocated. - * combine.c (try_combine): Always call set_significant on new - patterns, so don't call just in split case. + * 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. - * combine.c (subst): Move sign extension inside arithmetic - when we have a constant computation inside another computation. + * gcc.c (read_specs): Make a null entry at end of `compilers' + when reading new entry from file. - * emit-rtl.c (emit_insn_after_with_line_notes): New function. - * jump.c (jump_optimize): Delete insns that set registers that - are not used elsewhere. - Fix some bugs in "if (...) x = a; else x = b;" code. - Remove uses of reorder_insns. - Add code to make scc insns for "if (...) x = exp;" if EXP is simple - enough. - Optimize "if (...) x = b;" if jumps very expensive; don't use a REG - as the older value of X since it doesn't help and can hurt. - Correctly place generated insns in above case. + * tree.c (contains_placeholder): Return 0 for WITH_RECORD_EXPR. - * reload.c (find_reloads, find_reloads_toplev): Treat - BYTE_LOADS_SIGN_EXTEND just like BYTE_LOADS_ZERO_EXTEND. - * combine.c (subst, simplify_and_const_int, significant_bits): + * 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. - (num_sign_bit_copies, case MEM): New case for BYTE_LOADS_SIGN_EXTEND. - (num_sign_bit_copies, case SUBREG): Handle just like significant_bits. - -Sat Sep 19 15:55:31 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * combine.c (combine_instructions): Clear significant_valid - at end of combine pass for a function. - (find_split_point, case MEM): See if first operand of the PLUS - that makes up an address is complex. - (subst): Add missing arg to recursive calls when IF_THEN_ELSE - is an arg of an operator. - (subst, case IF_THEN_ELSE): Generalize code to propagate comparison - result into arms by using known_cond. - If an arm is the first operand of the comparison, make it the - true arm. - Remove unneeded comparison when arms are identical. - Try to convert IF_THEN_ELSE to ABS, (neg (abs X)), [US]MIN, [US]MAX. - Convert (if_then_else (ne A 0) (OP X C) X) to (OP X (mult A C)). - (subst, case SET): If we don't have conditional moves, - convert IF_THEN_ELSE into logical operations. - (subst, case AND): Always make conditional moves, even if we - don't support them on the machine. - (known_cond, extended_count): New functions. - (gen_binary): For commutative operations, put constant last. - - * combine.c (try_combine): The insns made by a DEFINE_SPLIT might - contain a PARALLEL and the call to recog_for_combine might add it. - - * combine.c (simplify_comparison, case ASHIFT): Fix typo. - - * combine.c (try_combine): When removing REG_UNUSED note, - update reg_n_deaths. - Likewise, when making new REG_DEAD notes for distribute_notes. - (remove_death, move_deaths): Update reg_n_deaths. - (distribute_notes): When placing second REG_DEAD or REG_UNUSED note or - ignoring such a note, update reg_n_deaths. - - * rtl.h (SUBREG_PROMOTED_{VAR,UNSIGNED}_P): New macros. - * tree.h (DECL_MODE, DECL_RTL): Update comments. - * expr.h (PROMOTE_MODE): Provide default definition. - * expr.c (convert_move, convert_to_mode): Strip off a SUBREG made - for variables with promoted modes. - (store_expr): Store into variables with promoted modes by - doing the appropriate extension operation. - (expand_expr, case VAR_DECL): Generate SUBREGs for promoted objects. - (expand_expr, case SAVE_EXPR): Likewise for SAVE_EXPRs. - (expand_increment): Handle increment of promoted objects. - * function.c (fixup_var_refs{,_insns}): Add new parms for promoted - mode and signedness; all callers changed. - Insert mode conversions when required. - (fixup_var_refs_1): Add new parms for mode and signedness; - handle SUBREGs for promoted values. - (assign_parms): Promote the mode of parameters when useful for - the target machine. - * function.h (struct var_refs_queue): Remove unused field ORIGINAL. - Add new fields PROMOTED_MODE and UNSIGNEDP. - * integrate.c (expand_inline_function): Convert actual to formal's - mode (in case formal was promoted). - * loop.c (basic_induction_var): Add new parameter P. - Check for bivs that are set over multiple insns and also - allow a SIGN_EXTEND to be used; remove check for MINUS since - we don't make MINUS with a constant 2nd operand any more. - * optabs.c (expand_binop, expand_unop): Don't make SUBREG for promoted - variables as operands. - * stmt.c (tail_recursion_args): Use mode of DECL_RTL, not - DECL_MODE. - (expand_decl): Promote modes of scalar variables when useful on - target. - * unroll.c (find_splittable_regs): If any BIV update isn't - simple, don't split it. - (final_giv_value): Look for biv updates by matching insns; don't - try to reparse the insn. - * rs6000.h (PROMOTE_MODE): New macro. - - * rtlanal.c (reg_set_last): Allow old value to be a SUBREG. - - * rs6000.c (print_operand, case 'h', 'H', 'w'): Minor cleanups. - * rs6000.h (BRANCH_COST): Increase from 2 to 3. - * rs6000.md (smax, smin, umax, umin): Add define_splits. - - * alpha.h (PROMOTE_MODE): New macro. - (REG_ALLOC_ORDER): Put $0 in front of $21-$16. - (CONST_OK_FOR_LETTER): Change meanings of N, O, and P. - (BRANCH_COST): Increase from 3 to 4. - (PREDICATE_CODES): Add new predicates reg_or_cint_operand and - sext_add_operand. - * alpha.md (addsi3): subl can be used to sign-extend addition of - small negative constants. - (negsi2): Add pattern for (sign_extend (neg ..)). - (and pattern): Fix typo in constraint. - (ashldi3): Use new definition of constant letters. - (smax, smin, umax, umin): Add define_splits. - (compares): Can compare constant with zero by adding negative of - constant. - (store insns): Can store 0 into memory in both integer and FP. - * alpha.c (sext_add_operand, reg_or_cint_operand): New function.s - (print_operand, case 'r', case 'R'): Clean up code; use CONST0_RTX. - - * rtl.c (note_insn_name): Fix typo: had NOT_INSN_DELETED_LABEL. - - * jump.c (delete_insn): Don't change labels to NOTEs if we would - not really have deleted them. - - * genconfig.c (walk_insn_part, case IF_THEN_ELSE): Refine when - HAVE_CMOVE_FLAG gets set. - -Sat Sep 19 14:52:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * reload.c (find_reloads): Always use >= with FIRST_PSEUDO_REGISTER. - - * i386mach.h (SIZE_TYPE): Defined. - -Sat Sep 19 04:57:06 1992 James Van Artsdalen (james at bigtex.cactus.org) - - * i386.md (sCOND patterns): Don't allow a MEM in the SET_DEST, - because these insns can't have input reloads, and a MEM might need - an input address reload. - - * fold-const.c (fold_convert): Avoid using conversion of unsigned - to floating; offset value by hand to fit in signed type. - -Sat Sep 19 00:50:32 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * integrate.c (subst_constants): Do substitute in address of MEM dest. - - * reload1.c (init_reload): Fix typo. - -Fri Sep 18 21:09:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * libgcc2.c: Declare _exit as volatile. - - * function.c (assign_parms): Set MEM_IN_STRUCT_P right in stack slots. - -Fri Sep 18 15:58:15 1992 James Van Artsdalen (james at bigtex.cactus.org) - - * fixincludes: Don't look for *.h symlinks if the host doesn't - have symlinks. - -Fri Sep 18 17:34:27 1992 Michael Meissner (meissner@osf.org) - - * mips.md (call_internal): If the memory address to call is really - a constant integer, load it up into $at and do the call from - there. - (call_value_internal): Ditto. - -Fri Sep 18 03:48:17 1992 Tom Wood (wood@dg-rtp.dg.com) - - * m88k.c (m88k_volatile_code): New variable. - (print_operand): Track volatile memory references and output a - serializing instruction before a load when necessary. - * m88k.h (TARGET_SWITCHES): Add -m{no,}serialize-volatile. - (OVERRIDE_OPTIONS): -m88110 and -m88000 imply -mserilize-volatile. - (ADJUST_INSN_LENGTH): Volatile memory operantions may be longer. - (CC_STATUS_INIT): Reset m88k_volatile_code to the unknown state. - * m88k.md (load store patterns): Prepend loads and stores with %V - and %v to track the type and address of the access. - - * m88k.c (m88k_version, m88k_version_0300): New variables. - * m88k.h (TARGET_OPTIONS): Generalize to -mversion-STRING. - (OVERRIDE_OPTIONS): Compute m88k_version_0300. - * m88k.md (call_movstrsi_loop): Renamed from call_block_move_loop. - Use call-value for the block move patterns. - - * m88kdgux.h (PERFERRED_DEBUGGING_TYPE): Compute based on - m88k_version. - (CPU_DEFAULT): Make it -m88000. - - * m88k.h: Don't use #elif - -Fri Sep 18 01:08:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Makefile.in (install-common-headers): Don't copy byteorder.h. - -Thu Sep 17 20:06:22 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) - - Complete 13th Cygnus<-->FSF merge. - - Thu Sep 17 13:15:15 1992 Brendan Kehoe (brendan@rtl.cygnus.com) - - Do some much-needed housecleaning of the C++ front-end. - * cp-call.c (ideal_candidate): Move `p2' down inside #if 0'd (only) - section that actually uses it. Delete unused variable `buf'. - (build_method_call): Delete unused variable `dtor_specd'. - * cp-class.c (finish_struct): Delete unused variable `basetype'. - * cp-cvt.c (convert_to_aggr): Add missing argument decl for `protect'. - (convert_pointer_to): Delete unused variable `form'. - * cp-decl.c: Include string.h/strings.h for strncpy() decl. - Add decls for init_* fns. Delete unused decl `push_overload_decl_1'. - Don't use `c_function_varargs', C++ doesn't need it. - (push_binding_level): Add missing argument decls for - `tag_transparent' and `keep'. - (lookup_tag): Add missing argument decl for `tags_transparent'. - (lookup_name): Add missing argument decl for `prefer_type'. - (start_decl): Delete unused variables `classname' and `tmpl'. - (grokvardecl): Add missing argument decl for `initialized'. - (grokdeclarator): Delete unused variable `t'. - * cp-decl2.c (get_temp_name): Delete unused variable `temp'. - (finish_table): Delete unused variable `publicp'. - (finish_builtin_type): Add missing argument decl for `len'. - (finish_file): Delete unused variables `asm_out_file' and - `init_function_name'. - * cp-except.c (ansi_exception_object_lookup): Add missing - argument decl for `type'. - (cplus_expand_throw): Delete unused variables `cname', `name', - and `raise_id'. - * cp-init.c: Delete unneeded forward decl of `init_init_processing'. - (build_new): Delete unused variable `alignment'. - (expand_vec_init): Add missing argument decl for `from_array'. - (build_vec_delete): Delete unused variable `rval'. - * cp-input.c (feed_input): Add missing argument decl for `len'. - * cp-lex.c: Delete unused variable `nextlastiddecl'. - (check_newline): Delete unused variable `tmp'. Place `asm_out_file' - inside a conditional for ASM_OUTPUT_IDENT. - (real_yylex): Delete unused variable `typename_scope_in_progress' - and unused labels `relex' and `reswitch'. - * cp-method.c: Include string.h/strings.h for strncpy() decl. - (new_text_len): Deleted. - (dump_type_prefix): Delete unused variables `print_struct' and `name'. - (dump_tyupe): Delete unused variable `print_struct'. - (type_as_string): Delete unused variable `spaces'. - (do_inline_function_hair): Delete unused variable `cname'. - (flush_repeats): Delete unused variable `rval'. - (build_t_desc_overload): Delete unused variable `i'. - (build_opfncall): Add missing argument decl for `flags'. - (hack_identifier): Add missing argument decl for `yychar'. - * cp-parse.y (template_instantiate_once): Delete unused - variables `id' and `members'. - * cp-search.c (lookup_field): Add missing argument decl for `want_type'. - (tree_needs_constructor_p): Add missing argument decl for `i'. - (dfs_debug_mark): Delete unused variable `pending_vtables'. - (dfs_get_vbase_types): Delete unused variable `basetype'. - * cp-spew.c (init_spew): Delete unused variables `pc' and - `chars_following_typename'. - (yylex): Delete unused variables `dk' and `tmp'. Move decl of `t2' down - to the block that actually uses it. - * cp-tree.c (build_cplus_staticfn_type): Delete unused variable `ptype'. - (propagate_binfo_offsets): Delete unused variables `t' and `basetype'. - (layout_basetypes): Delete unused variable `binfo'. - (array_type_nelts_total): Delete unused variable `index_type'. - * cp-tree.h: Add many decls. - * cp-typeck.c (comp_array_types): Add missing argument decl - for `strict'. - (build_compound_expr): Delete unused variable `tmp'. - (convert_for_initialization): Delete unused label `converted'. - - Wed Sep 16 12:51:10 1992 Brendan Kehoe (brendan@rtl.cygnus.com) - - * cp-decl.c (init_decl_processing): Enable code to add sin and cos - as built-in functions. - - * cp-decl.c (duplicate_decls): Enable code to preserve the DECL_UID - of olddecl. - - * cp-search.c (lookup_nested_fields): Make sure we're climbing along - a chain of nested types, and nothing else. - - Tue Sep 15 17:38:34 1992 Brendan Kehoe (brendan@rtl.cygnus.com) - - * cp-search.c (lookup_nested_fields): New function. - * cp-tree.h: Declare it. - * cp-decl.c (lookup_name): Call it if there's no class-local - definition. (It could be nested.) - * cp-lex.c (do_identifier): Call lookup_nested_field() if necessary. - - Tue Sep 15 12:37:16 1992 Brendan Kehoe (brendan@rtl.cygnus.com) - - Mon Aug 24 14:58:02 1992 Chip Salzenberg (chip at animal) - - * cp-typeck.c (build_conditional_expr): Determine constness - and volatility with TREE_... tests instead of TYPE_... tests. - - Mon Sep 14 18:00:35 1992 Chip Salzenberg (chip@tct.com) - - * cp-decl.c (grokdeclarator): Remove redundant (and broken) - test for multiple destructors in a class. - - Fri Jul 31 19:09:10 1992 Chip Salzenberg (chip@tct.com) - - * cp-cvt.c (convert_to_integer): Push truncation inside COND_EXPR. - - Mon Sep 14 17:52:45 1992 Chip Salzenberg (chip@tct.com) - - * cp-class.c (finish_struct): Always write all structure types, - even if they're defined in a "#pragma interface" header file. - Otherwise, XCOFF debugging info is messed up. - - Mon Sep 14 17:39:32 1992 Chip Salzenberg (chip@tct.com) - - * cp-class.c (finish_struct): ``Actually, I don't understand - this code. What is it supposed to do?'' --Niklas Hallqvist - - Mon Sep 14 17:27:23 1992 Chip Salzenberg (chip@tct.com) - - * cp-decl.c (finish_decl): Don't dump core if a decl is anonymous. - A decl is at the global binding level if DECL_CONTEXT is null. - (grokdeclarator): Don't globalize a type if its first mention - is in a parameter. It's okay to initialize a function in a - non-global scope. - - Tue Sep 15 12:15:26 1992 Brendan Kehoe (brendan@rtl.cygnus.com) - - * cp-typeck.c (c_expand_return): Emit a warning when they try to - return the address of a local variable. - - * cp-decl.c (finish_method): Make sure it's indeed nested before - checking for the qualified name. - - Mon Sep 14 18:59:25 1992 Mike Stump (mrs@cygnus.com) - - Wed Sep 2 11:04:24 1992 Chip Salzenberg (chip@tct.com) - - * cp-decl.c (init_decl_processing): Add sin and cos as built-in - functions. Fix type of __builtin_constant_p. - - * cp-lex.c (readescape): For \x, don't include leading 0's in count. - - * cp-typeck.c (build_unary_op): For ADDR_EXPR, just set - TREE_CONSTANT if staticp, but don't clear TREE_CONSTANT. - - Mon Sep 14 18:54:41 1992 Mike Stump (mrs@cygnus.com) - - * cp-parse.y (permanent_obstack): Move to top of file. - - Mon Sep 14 18:50:19 1992 Mike Stump (mrs@cygnus.com) - - Mon Sep 14 16:39:10 1992 Chip Salzenberg (chip@tct.com) - - [ Changes propagated from diffs to c-* in 920911 snapshot. ] - - * cp-decl.c (duplicate_decls): Set DECL_INLINE in newdecl so it - is copied into olddecl. Don't set DECL_EXTERNAL in olddecl. - Preserve DECL_UID and DECL_FRIEND_P of olddecl. - - * cp-typeck.c (build_binary_op_nodefault): Don't assume that a - target integer fits in a HOST_WIDE_INT when checking shift widths. - - Mon Sep 14 18:15:42 1992 Mike Stump (mrs@cygnus.com) - - Mon Aug 24 14:32:03 1992 Chip Salzenberg (chip@tct.com) - - * cp-parse.y (reserved_declspecs): Warn if storage class occurs here. - (declmods): Warn if storage class is not first. - - Mon Sep 14 16:59:53 1992 Brendan Kehoe (brendan@rtl.cygnus.com) - - * cp-method.c (fndecl_as_string): Don't output an extra space when - printing the return type of a function. - - Mon Sep 14 16:01:53 1992 Mike Stump (mrs@cygnus.com) - - Fri Jun 12 18:07:00 1992 Niklas Hallqvist (niklas@appli.se) - - * cp-parse.y (structsp, named_class_head_sans_basetype): Call - overload_template_name in the case of template specializations so - that something like: - - template struct C { C(); }; - struct C { C(); }; - - works. - - Mon Sep 14 15:51:22 1992 Mike Stump (mrs@cygnus.com) - - Fri Apr 10 13:20:56 1992 Niklas Hallqvist (niklas@appli.se) - - * cp-spew.c (spew_debug): exported this flag for use in cp-decl.c - (template_type_seen_before_scope): new global containing contextual - information for the parser, making the compiler grok nested types in - template classes. - (shift_tokens): Guard bcopy calls against moves of zero size. - (yylex): Handle nested types in template classes. - - * cp-parse.y (scoped_typename): Handle nested types in template - classes. - (template_type): Likewise. - (base_class.1): Likewise. - (member_init): Likewise. - (scoped_baseclass): New rule for handling of nested types in - template classes. - - * cp-decl.c (xref_defn_tag): Conditionalized debug printout on - spew_debug (defined in cp-spew.c). - (binding_levels_sane): void function returned value. - - Mon Sep 14 15:41:28 1992 Mike Stump (mrs@cygnus.com) - - Mon Sep 14 17:26:18 1992 Chip Salzenberg (chip@tct.com) - - * cp-parse.y (unary_expr), cp-call.c (build_scoped_method_call): - NEVER use `maybe_adjust' feature in destructors. It's unsafe. - - Mon Sep 14 15:12:34 1992 Brendan Kehoe (brendan@rtl.cygnus.com) - - * cp-decl.c (finish_method): Complain when a qualifier is used as - part of a member declaration. - - Mon Sep 14 11:47:30 1992 Mike Stump (mrs@cygnus.com) - - * cp-decl2.c (groktypefield): Revert Wed Aug 19 14:47:08 1992 - change as it breaks template constructor declarations. Gez, this - code is horribly complex, and the comments are wrong. Note, - template constructor definitions are broken in the same way, as - declarations were with this patch in. - - Fri Sep 11 14:09:01 1992 Mike Stump (mrs@cygnus.com) - - Fri Sep 11 10:34:45 PDT 1992 Ron Guilmette (rfg at netcom.com) - - * cp-decl.c (duplicate_decls): For file-scope redefinitions, note - that the variable was previously *defined* at some specific (earlier) - point. - - Fri Sep 11 13:49:55 1992 Mike Stump (mrs@cygnus.com) - - Tue Sep 8 21:39:35 PDT 1992 Ron Guilmette (rfg at netcom.com) - - * cp-decl2.c (finish_file): Don't pass `1's as the `functionbody' - flag to `poplevel' when getting ready to finishing up the per- - compilation-unit constructors and destructors. - - Fri Sep 11 13:28:02 1992 Mike Stump (mrs@cygnus.com) - - * cp-decl.c (grokdeclarator): Upgrade local externs with - initializations to be errors, instead of warnings. - - Fri Sep 11 13:03:52 1992 Mike Stump (mrs@cygnus.com) - - Thu Sep 10 09:40:56 PDT 1992 Ron Guilmette (rfg at netcom.com) - - * cp-decl.c (grokdeclarator): Given an error if *either* a `static' - or an `extern' specifier is attached to a defining declaration of a - static data member. - - Wed Sep 9 19:46:43 1992 Mike Stump (mrs@cygnus.com) - - * c++: Makes sure echo -nostdinc does not eat the -nostdinc. - - Tue Sep 8 13:42:35 1992 Brendan Kehoe (brendan@rtl.cygnus.com) - - * cp-typeck.c (common_type, case FUNCTION_TYPE): An empty argument - list is represented as a void_type_node; make sure we check for - that, and not just an empty TYPE_ARG_TYPES list on either side. - - Tue Sep 8 02:31:05 1992 Mike Stump (mrs@cygnus.com) - - * cp-tree.c (layout_basetypes, make_binfo): Added support for - debugging information about virtual base class pointers. - - Mon Sep 7 15:34:58 1992 Brendan Kehoe (brendan@rtl.cygnus.com) - - * cp-decl2.c (temp_name_p): Deleted function, never used anywhere. - - Sun Sep 6 23:09:29 1992 John F Carr (jfc at Athena.MIT.EDU) - - * cp-typeck.c (convert_arguments): Ignore arguments which are - ERROR_MARK_NODE to avoid crashes trying to reference fields which - are not present. - - Mon Sep 7 12:34:09 1992 Brendan Kehoe (brendan@rtl.cygnus.com) - * cp-decl.c (clear_anon_tags): Do assignment of B after we've seen - if we're to work on an anonymous aggregate. No need to make the - assignment for nearly every aggr we ever declare. + * bc-emit.c (dconst[012], dconstm1): Remove redundant definition. - Sun Sep 6 17:51:47 1992 Mike Stump (mrs@cygnus.com) +Tue Oct 5 06:24:43 1993 Lisa Repka (lisa@MicroUnity.com) - Sun Sep 6 13:12:16 1992 John Carr (jfc@Athena.MIT.EDU) + * varasm.c (decode_rtx_const, case CONST_DOUBLE): Only use mode + of X if it is not VOIDmode. - * cp-decl.c (pushdecl, finish_decl, store_return_init, - finish_function), cp-decl2.c (constructor_name, finish_file), - cp-except.c (cplus_expand_reraise), cp-init.c (emit_base_init, - expand_aggr_init_1), cp-typeck.c (build_modify_expr, - c_expand_asm_operands, c_expand_return): Include rtl.h and eliminate - unneeded casts. +Tue Oct 5 00:45:30 1993 James Van Artsdalen (james@bigtex.cactus.org) - * cp-decl2.c (grokbitfield): Use NULL_TREE instead of NULL. - - * cp-decl2.c (finish_file): Don't try and not use stdio.h. - - * cp-except.c (cplus_expand_reraise): emit_move_insn takes 2 - arguments, not three. - - Sat Sep 5 12:04:06 1992 Brendan Kehoe (brendan@rtl.cygnus.com) - - * cp-decl.c (finish_function): Undo change of Mon Aug 17 16:28:48 - 1992; it resulted in lots of unnecessary and incorrect warnings. - - * cp-lex.c (do_identifier): For nested classes, check if a variable - being sought is actually in the scope of an enclosing class. If it - is, and the variable's non-static, bail. - - * cp-decl.c (grok_enum_decls): Tighten up some code that was pretty - twisty. - - * cp-class.c (start_struct): Delete; it was #if 0'd out anyway (C++ - doesn't need it), and is an old hold-over from c-decl.c. - - * cp-class.c (minus_one_node): Delete, it's not used. - (init_class_processing): Delete init of minus_one_node. - - * cp-spew.c (yylex): Check return of resolve_scope_to_name to - be NULL_TREE. - (frob_identifier): Likewise. - (hack_more_ids): Likewise. - - * cp-cvt.c (convert_to_real): Use REAL_VALUE_ATOF to make 0. - - Fri Sep 4 19:23:17 1992 Mike Stump (mrs@cygnus.com) - - * cp-decl.c (grok_ctor_properties): When looking for copy - constructors, ignore the first argument since it is the in$chrg - parameter for the object to copy from. - - Fri Sep 4 14:35:31 1992 Mike Stump (mrs@cygnus.com) - - * cp-cvt.c (build_up_reference): Prevent the compiler from dumping - core on semantic errors. - -Thu Sep 17 17:28:13 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c-typeck.c (initializer_constant_valid_p): Warn about address - arithmetic destined for a type that's too narrow. - New argument ENDTYPE. - - * limitx.h: Don't include-next if _LIBC_LIMITS_H_ defined. - -Thu Sep 17 20:45:16 1992 Paul Eggert (eggert@twinsun.com) - - * cexp.y (parse_escape): Diagnose '\x' with no digits. - Diagnose integer overflow when parsing \x escapes. - -Thu Sep 17 11:52:53 1992 Michael Meissner (meissner@osf.org) - - * gcc.c (SIGNED_CHAR_SPEC): Use #if rather than ?: in default defn. - -Thu Sep 17 14:53:51 1992 Tim Moore (moore@defmacro.cs.utah.edu) - - * pa.h (FUNCTION_ARG_ADVANCE, FUNCTION_ARG): Fix double integer - argument alignment. - (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_SIZE): Define. - * pa-hpux.h, pa-ghpux.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, - WCHAR_SIZE): Define for hpux. - * x-pa, t-pa : New files. - * configure (hppa cases): add definitions for xmake_file and - tmake_file. - -Wed Sep 16 22:22:15 1992 James Van Artsdalen (james at bigtex.cactus.org) - - * i386.c (print_operand): Don't abort if error: might have been a - user asm. - - * i386.md (addsi3,ashlsi3): Handle the case where the stack - pointer appears as an index reg. - -Wed Sep 16 21:22:23 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * cse.c (fold_rtx): For SUBREG, actually test subreg_lowpart_p in the - code to handle narrowing subregs. And exclude binary ops like DIV - where truncating the args is not valid. - - * libgcc2.c (__CTOR_LIST__, __DTOR_LIST__): Moved to separate member. - * Makefile.in (LIB2FUNCS): Added _ctors. - -Wed Sep 16 23:28:41 1992 Paul Eggert (eggert@twinsun.com) - - * cexp.y (parse_number): Warn about '9' in octal constants. - Commonize overflow detection for various radices. - -Wed Sep 16 19:33:37 1992 Torbjorn Granlund (tege@mole.gnu.ai.mit.edu) - - * pa.md (casesi): Use emit_jump_insn to emit casesi0 pattern. - (xorsi3): Remove `r' from output template. - (movstrsi recognizer): Add `+' to operand 0 & 1 constraints. + * i386/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. + + * i386/i386.md (movxf,extenddfxf2,extendsfxf2): Don't emit fld + before calling output_to_reg: output_to_reg does that now. + + * i386/i386.h (FIXED_REGISTERS): Don't fix hard reg st7 if XFmode + is enabled. + + * 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. + +Mon Oct 4 18:40:51 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * regclass.c (record_reg_classes): There is no alt_cost + for a pair of matching args if they are the same pseudo reg. + + * 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 Oct 4 18:03:04 1993 Stephen L Moshier (moshier@world.std.com) + + * 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. + +Mon Oct 4 05:52:21 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * a29k.c (incoming_regs): Only use 16 registers for parameter + passing. + + * 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. + +Sun Oct 3 18:51:19 1993 James Van Artsdalen (james@bigtex.cactus.org) + + * 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. + + * 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/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. + + * 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. + + * i386/bsd.h,i386/sco4.h (ASM_OUTPUT_DOUBLE): Deleted, + use default version. + + * i386/next.h,i386/sco.h (VALUE_REGNO): Add case XFmode. + +Sun Oct 3 16:35:05 1993 Michael Meissner (meissner@wombat.gnu.ai.mit.edu) + + * collect2.c (read_file): Fix typo in prototype. + +Sun Oct 3 18:32:46 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in (bytecode.realclean): Don't delete bi-lexer.c. + +Sun Oct 3 19:45:02 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * gcc.c (default_compilers): Add rules for Ada. + * toplev.c (lang_options): Add temporary parameter "gnat". + + * tree.c (staticp): DECL_EXTERNAL is not defined for CONSTRUCTOR. + + * 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): 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. + (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. -Wed Sep 16 14:53:51 1992 Michael Meissner (meissner@osf.org) + * riscix.h: New file -- OS dependent defintitions for riscix 1.2 and + above. - * mips.h (MIPS_VERSION): Set Meissner version # to 25. + * riscix1-1.h: New file -- OS dependent definitions for riscix before + version 1.2 - * mips.c (gen_int_relational): Eliminate all vestiages of - figuring out whether the comparison will always be true or false. - Let the optimizer figure it out. - (gen_conditional_branch): Ditto. - (function_epilogue): Print correct number of half-pic pointers - and references. - (prev_half_pic_refs): New static variable. - (prev_half_pic_ptrs): New static variable. + * rix-gas.h: New file -- riscix 1.2 and above, but with an assembler + which supports stabs. + + * 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. + + * 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. + + *configure (arm-*-riscix1.[01]*, arm-*-riscix*): New configurations. + *config.sub: Recognize operating system "riscix*"; recognize acorn as + vendor. + +Sat Oct 2 17:24:44 1993 James Van Artsdalen (james@bigtex.cactus.org) + + * i386.md (addhi3): Use byte opcodes when the low byte of a word + is known to be zero. + +Sat Oct 2 14:11:06 1993 John F Carr (jfc@Athena.mit.edu) + + * 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. + +Sat Oct 2 14:04:03 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * regclass.c (record_reg_classes): Skip to next alternative + when we skip normal cost computation. + + * collect2.c: Add prototypes to static declarations. + (PROTO): New macro. + (dup2, putenv): Functions return integers; add type and returns. + + * varasm.c (make_decl_rtl): Set TREE_SIDE_EFFECTS on global if + -fvolatile-global. + + * tree.c (build_string): Make lifetime of string the same as + tree node. + +Sat Oct 2 04:55:44 1993 Doug Evans (dje@canuck.cygnus.com) + + * 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. + +Fri Oct 1 22:11:17 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * gvarargs.h: Test __sequent__ like __BSD_NET2__. + +Fri Oct 1 17:19:54 1993 Torbjorn Granlund (tege@adder.cygnus.com) + + * 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. + + * 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. + +Fri Oct 1 22:17:12 1993 Eric Youngdale (eric@kafka) + + * 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. + + * make-cc1.com (bc_generate): New VMS DCL function. Takes a BC + header file that needs to be generated, and builds it. + + * make-cc1.com: Compile entries listed in BI_ALL.OPT, and then call + bc_generate for every header file listed in BC_ALL.OPT + +Fri Oct 1 21:13:17 1993 H.J. Lu (hlu@nynexst.com) + + * config/i386/linux.h (LIB_SPEC): Handle -p anmd -pg outermost. + +Fri Oct 1 18:23:57 1993 Jim Wilson (wilson@cygnus.com) + + * 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. + + * Makefile.in (cc1, cc1plus, cc1obj): Delete superfluous + dependencies on bytecode. + (stamp-bcarity, stamp-bcopcode, stamp-bcopname): Create stamp files. + +Fri Oct 1 18:17:56 1993 Doug Evans (dje@canuck.cygnus.com) + + * 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. + +Fri Oct 1 15:44:48 1993 Michael Meissner (meissner@osf.org) + + * halfpic.h (toplevel): Enclose the whole file inside a #ifndef + NO_HALF_PIC conditional. + + * i386/x-osfrose (CCLIBFLAGS, GCC_CFLAGS): Define NO_HALF_PIC so + that the two common variables in halfpic.h don't get created. + + * mips/x-osfrose (CCLIBFLAGS, GCC_CFLAGS): Ditto. + +Fri Oct 1 10:46:15 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * 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. + + * a29k.h (TARGET_LARGE_MEMORY): New flag; change value for + all others. + (ENCODE_SECTION_INFO): New macro. + (TARGET_SWITCHES): Add "normal" and change values. + + * a29k.c (call_operand, case SYMBOL_REF): Handle TARGET_LARGE_MEMORY + and SYMBOL_REF_FLAG. + +Thu Sep 30 23:25:13 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * 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. + +Thu Sep 30 14:21:03 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + * bi-lexer.c (scan_string): Do xmalloc if buffer is null and + xrealloc if it's not, not the other way around. + +Thu Sep 30 10:57:30 1993 Jan Brittenson (bson@nutrimat.gnu.ai.mit.edu) + + * bc-emit.c (bc_end_function, seg_data): Use bcopy instead of memcpy. + +Thu Sep 30 05:53:58 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * fold-const.c (fold, case PLUS_EXPR, MINUS_EXPR): Properly handle + case when ARG1 splits and VARSIGN is -1. + +Wed Sep 29 19:41:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * c-typeck.c (build_modify_expr): Check whether recursive calls + return error_mark_node. + +Wed Sep 29 18:35:30 1993 Leonid Baraz (lbaraz@iil.intel.com) + + * 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 Sep 29 17:32:03 1993 Doug Evans (dje@canuck.cygnus.com) + + * glimits.h (UINT_MAX, ULONG_MAX, ULONG_LONG_MAX): + redefine in a simpler way. + +Wed Sep 29 17:25:17 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) + + * fixincludes (sys/spinlock.h): change references of + "../machine/*.h" to + +Wed Sep 29 07:09:50 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * rs6000.c (reg_or_short_operand): Remove redundant test. + + * 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. + +Wed Sep 29 01:29:31 1993 Paul Eggert (eggert@twinsun.com) + + * 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. + +Tue Sep 28 21:27:26 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu + + * 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. + +Tue Sep 28 18:50:57 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. + + * config/ns32k/ns32k.c (output_move_double): Special code for + pushing from an address that uses the sp. Use PUSHOP for pushes, + not POPOP. + + * 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. + + * bytetypes.h (QItype, HItype, SItype, DItype): Use __signed__. + + * Makefile.in (stamp-bcopname, stamp-bcopcode): + Use shorter names for temporary files. + (bc-emit.o): Depend on bc-arity.h. + + * bi-opname.c, bi-arity.c, bi-opcode.c (xmalloc): New function. + * bi-opname.c, bi-arity.c: Include stdio.h. + + * function.c (expand_main_function): Put back accidentally + deleted previous change to use NAME__MAIN. + + * 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. + + * cccp.c (output_dots): New function. + (do_include): Call it (to indent output for print_include_names). + +Tue Sep 28 18:22:31 1993 Jim Wilson (wilson@cygnus.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. -Tue Sep 15 16:10:47 PDT 1992 Ron Guilmette (rfg at netcom.com) + * combine.c (force_to_mode, LSHIFTRT case): Avoid shifts larger + than HOST_BITS_PER_WIDE_INT. - * toplev.c (rest_of_decl_compilation): Call `dwarfout_file_scope_decl' - immediately for actual *definitions* of file-scope variables (and - file-scope typedefs too). + * sched.c (schedule_insns): Don't zero reg_n_calls_crossed for + pseudos live across multiple blocks. -Tue Sep 15 20:56:31 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * fixincludes ({sparc,sun3,sun3x,sun4,sun4c,sun4m}/asm_linkage.h, + {sun4c,sun4m}/debug/asm_linkage.h: Replace /**/ with ##. - * fixincludes (EXINIT): Clear it to avoid problems with bad values. - * fixinc.svr4 (EXINIT): Likewise. + * reorg.c (mark_target_live_regs): When scanning insns, ignore + CLOBBERs in addition to USEs. - * print-tree.c (print_node): Don't print blank line for null - fields in a TREE_VEC. + * 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. - * cccp.c (macroexpand): Don't output another error message if have - already output error message returned from macarg. + * 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. - * c-decl.c (grokparms): Copy parm list if it isn't permanent, - instead of copying it if temporary allocation has been turned off. + * sparc/bsd.h: New file. + * configure (sparc-*-bsd*): New configuration. - * final.c (only_leaf_regs_used): Check for global_regs. + * 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). - * c-parse.y (typespec): Don't warn if pedantic when typeof used. +Tue Sep 28 16:00:25 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-tree.h (lang_identifier): Add limbo_value field for out of - scope block level extern declarations. - (IDENTIFIER_LIMBO_VALUE): New define, to access that field. - * c-decl.c (print_lang_identifier): Print value of limbo field. - (pushdecl): Check an extern decl against both previous global and - previous limbo declarations. For global declarations, clear limbo - value field. For block level extern declarations, set limbo field - if zero. - (grokdeclarator): If this is a block level extern, then allocate - it on the permanent obstack, not the temporary obstack. + * bc-emit.c: Include gvarargs.h, not varargs.h. + Don't include string.h. + (seg_align): Use bzero, not memset. -Tue Sep 15 15:42:24 1992 Paul Eggert (eggert@twinsun.com) +Mon Sep 27 20:53:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * tree.c (int_fits_type_p): Negative ints never fit unsigned - types, and unsigned ints with top-bit-set never fit signed types. - * c-lex.c (yylex): Integer constant is unsigned for purposes of - int_fits_type_p so that it compares huge constants properly. + * c-typeck.c (pop_init_level): Add special case for nonincremental + scalar initializers. -Tue Sep 15 14:44:51 1992 Michael Meissner (meissner@osf.org) + * protoize.c: Declare rindex unconditionally. - * i386.md (string move, string compare): Always issue cld - instruction before doing a rep string move, so that we are - guaranteed that the bytes are moved/compared correctly. + * c-decl.c (init_decl_processing): Use signed_type and unsigned_type + to set signed_wchar_type_node and unsigned_wchar_type_node. -Tue Sep 15 00:09:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Sep 27 20:31:01 1993 Paul Eggert (eggert@twinsun.com) - * gstdarg.h: (va_arg): Cast ptr to void *, then to TYPE *. - * va-i960.h, va-m88k.h, va-mips.h, va-pa.h, va-pyr.h, va-sparc.h: + * 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. - * rtl.c (ftell): Declaration deleted. - -Mon Sep 14 15:17:09 1992 Michael Meissner (meissner@osf.org) - - * configure (arg processing): Add --with-stabs switch. - (all mips configurations, except decrose): If --with-stabs, use - the configuration file that emits stabs as the debug debug - configuration, rather than the native MIPS ECOFF format. - -Mon Sep 14 13:28:29 1992 Torbjorn Granlund (tege@jupiter.sics.se) - - * configure (option case statement): Index with `$next_arg' instead - of `next_arg'. Clean up order and indentation for switches. - (several places): Remove space around assignment `='. - (usage printing): Don't use `-n' for echo (SysV lossage). - Print config.status with `tail +2'. - -Mon Sep 14 23:46:19 1992 Paul Eggert (eggert@twinsun.com) - - * c-lex.c (yylex): Warn about integers so large that they are unsigned. - - * cexp.y (parse_number): Diagnose integer constants that are too large. - Diagnose duplicate `l' and `u' suffixes. Diagnose ` 0x ' and ` 0a '. - Warn about integer constants that are so large that they are unsigned. - -Mon Sep 14 10:26:34 1992 Charles Hannum (mycroft@hal.gnu.ai.mit.edu) - - * reload1.c (init_reload): Fix typo in last change. - -Mon Sep 14 01:17:58 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * reload1.c (init_reload): For reg+reg+const, try various regs. - -Sun Sep 13 01:08:06 1992 Paul Eggert (eggert@twinsun.com) - - * cexp.y (exp): Detect signed integer overflow. - Replace `(unsigned)' with `(unsigned long)'. When - evaluating << and >>, compute the correct answer without shifting - by more than HOST_BITS_PER_LONG, or by a negative quantity. - (integer_overflow, left_shift, right_shift): New functions. - -Sun Sep 13 02:00:52 1992 Torbjorn Granlund (tege@jupiter.sics.se) - - * arm.md: Clean up indentation. - - * pa.c (output_load_address): Removed. Nothing uses it. - * pa.md (high:DI recognizer): Add return \"\". - * pa.md (sCC, bCC expanders): Remove constraints. - * pa.md (and-with-immediate optimizer): New pattern. - * pa.md (ior-with-immediate optimizer): New pattern. - * pa.c (consec_zeros_p, and_operand, ior_mask_p, ior_operand, - output_and, output_ior): New functions. - * pa.h (output_and, output_ior): Declare. - * pa.h (CONST_OK_FOR_LETTER_P): Add 'O' and 'P'. - * pa.c (compute_xdepi_operands_from_integer): New function. - Some code come from output_zdepi. - (output_zdepi): Removed. - (depi_cint_operand): New name for zdepi_operand. - * pa.md (adddi3): Extend to handle CONST_INT. - * pa.md (movstrsi): Change `!= 4' => `< 4' in test for alignment. - * pa.md (negsi2): Don't use @ for just one output template. - * pa.md (and-not patterns): Make them canonical. Put operands in - the right order. - * pa.md (casesi): Rewrite. Used to be buggy and slow. - * pa.md (several patterns): Make sure # of attribute alternatives - match # of constraint alternatives. - Return assembler output template instead of calling output_asm_insn. - Don't write to operands[n] for n >= max operand number in the - pattern, use xoperands instead. - -Sat Sep 12 15:06:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * regclass.c (record_reg_classes): - Ignore leading % when examining constraint. - Don't bypass usual cost computation when a pseudo "matches" - a non-pseudo in matching operands. - - * c-lex.c (yylex): If integer value overflows so highword is negative, - it needs unsigned long long. - -Fri Sep 11 21:09:53 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * sys-types.h (va_alist): Supply `int' as the type to define it as. - -Fri Sep 11 12:39:39 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) - - * pa.md (non-[cf]branch define_delay): Use a single delay description - for the delay slots in "branch", "call", and "milli" insns. - (fbranch define_delay): fbranches have a single delay slot which - may be nullified when the branch is taken (regardless of direction - or distance to the target.) - (in_branch_delay attribute): Disallow fbranch insns explicitly. - (floating point branches): Use "fbranch" attribute for these insns. - Update output template to properly handle nullification. - -Fri Sep 11 10:34:45 PDT 1992 Ron Guilmette (rfg at netcom.com) - - * c-decl.c (duplicate_decls): For file-scope redefinitions, - error message distinguishes previous definitions from mere decls. - -Fri Sep 11 01:07:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c-convert.c (convert_to_integer): Don't pass truncation thru lshift - if shift count >= width of narrower type. Instead, just use 0. - - * we32k.h (SIZE_TYPE): Defined. - -Fri Sep 11 00:03:45 1992 Paul Eggert (eggert@twinsun.com) - - * c-decl.c (finish_struct): Don't assume that a target integer - fits in a HOST_WIDE_INT when checking bit-field widths. - * c-typeck.c (build_binary_op): Likewise, when checking shift widths. - -Thu Sep 10 22:23:10 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * optabs.c (expand_binop): - Convert op1 of shift libcall to word_mode. - -Thu Sep 10 18:14:36 1992 Tim Moore (moore@defmacro.cs.utah.edu) - - * final.c (shorten_branches): Do shorten branches with delay slots - if the number of delay slots is constant. - * genattrtab.c (write_const_num_delay_slots): New function; - creates const_num_delay_slots (). - (main): Call it. - * genattr.c (main): Write declaration for const_num_delay_slots (). - -Thu Sep 10 17:33:42 1992 Michael Meissner (meissner@osf.org) - - * mips.md (all move patterns): Do not allow memory to memory or - non-zero constant to memory moves to be generated, which causes - reload to generate the load/store using spilled registers, and - does not allow for efficient CSE or scheduling to be done. - - * dec-gosf1.h, iris4g.h: New files. - -Thu Sep 10 12:46:17 1992 Torbjorn Granlund (tege@jupiter.sics.se) - - * pa.md (casesi): Add `&' to constraint for clobber operand. - - * optabs.c (expand_binop): Fix typo, `mode' => `methods'. - -Thu Sep 10 00:21:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * optabs.c (expand_binop): Delete #ifdef GPC; complex code now uncond. - - * optabs.c (init_fixtab): Fix typo for fix_truncdfqi2. - -Wed Sep 9 13:25:53 PDT 1992 Ron Guilmette (rfg at netcom.com) - - * c-common.c (declare_function_name): Allow for anonymous function. - -Wed Sep 9 15:56:09 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Makefile.in (mostlyclean): Delete xlimits.h. - - * final.c (output_addr_const): - If 2nd arg of MINUS is negative integer, put it in parens. - -Wed Sep 9 10:10:30 1992 Michael Meissner (meissner@osf.org) - - * va-mips.h (va_arg): Handle structures larger than 8 bytes. - (all macros): Put __ in front of all macro arguments. +Mon Sep 27 19:31:57 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Sep 9 00:45:02 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * bi-lexer.c (xrealloc): Handle 0 passed as BLOCK. - * sol2-crt1.asm (.nope): Really store into environ. + * 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. - * libgcc2.c (__gcc_bcmp): New function, in cond on L__gcc_bcmp. - * Makefile.in (LIB2FUNCS): Add L__gcc_bcmp. + * c-lex.c (yylex): Handle i together with f or l in float constant. - * expr.c (expand_expr): Support IN_EXPR. +Mon Sep 27 19:00:18 1993 Ian Lance Taylor (ian@cygnus.com) -Tue Sep 8 20:04:43 1992 Paul Eggert (eggert@twinsun.com) + * 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. - * c-convert.c (convert_to_integer): When optimizing LSHIFT_EXPR and - RSHIFT_EXPR, do compares at tree level. +Mon Sep 27 18:59:09 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * tree.c (build_index_type, build_index_2_type): Don't pass - HOST_WIDE_INT to routine expecting an int. Don't pass negative - value even if hash code is INT_MIN. + * reload1.c (eliminate_regs, SET case): Check for INSN_LIST + along with EXPR_LIST. -Tue Sep 8 17:35:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Sep 27 14:29:17 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - * dbxout.c (dbxout_type_fields): Handle nameless subrecords for Pascal. - (dbxout_type): Handle CHAR_TYPE, BOOLEAN_TYPE. FILE_TYPE, SET_TYPE. + * objc/typedstream.h (objc_read_object): Add declaration. - * news.h (ASM_OUTPUT_OPCODE): Deleted. +Mon Sep 27 17:00:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-parse.y (stmt): In for stmt, put proper lineno before increment. - Don't call position_after_white_space. + * 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. -Tue Sep 8 06:31:17 1992 Michael Meissner (meissner@osf.org) +Mon Sep 27 14:19:33 1993 Jan Brittenson (bson@nutrimat.gnu.ai.mit.edu) - * cp-typeck.c (constant_print_warning): Deleted. + * expr.c (bc_expand_constructor): Delete cast of argument to + bc_emit_instruction to HOST_WIDE_INT. Move assignment of ptroffs + to separate line. -Tue Sep 8 05:26:19 1992 Mike Stump (mrs@hal) +Mon Sep 27 10:32:28 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Tue Aug 18 23:56:16 1992 Ron Guilmette (rfg at netcom.com) + * Makefile.in (stmt.o, expr.o, emit-rtl.o): Add missing dependency + on bc-typecd.def. + (bi-run.o): Fix formatting. - * tree.h (BINFO_VPTR_FIELD): Added to support debugging - information about virtual base class pointers. +Mon Sep 27 10:26:43 1993 Jan Brittenson (bson@nutrimat.gnu.ai.mit.edu) -Mon Sep 7 19:39:45 1992 Brendan Kehoe (brendan@cygnus.com) + * 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. - * c-typeck.c (constant_print_warning): Deleted. - * c-common.c: Moved here. +Sun Sep 26 23:11:34 1993 Jeffrey A. Law (law@snake.cs.utah.edu) -Mon Sep 7 17:03:07 1992 Paul Eggert (eggert@twinsun.com) + * pa.h (ASM_FILE_START): Remove last change for $LIT$ subspace, + not all HPUX linkers handle it correctly. - * fold-const.c (fold): Check abs for constant integer overflow. +Sun Sep 26 20:51:36 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Sep 7 01:31:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * stmt.c (expand_exit_loop_if_false, bc_expand_start_cond): + Use xjumpifnot, not jumpifnot. - * c-common.c (check_case_value): Call constant_expression_warning. + * Makefile.in (bi-arity, bi-opcode, bi-opname): Delete $(LEXLIB). - * cse.c (simplify_binary_operation): For DIV by 0, do nothing. + * varasm.c (assemble_string): Put braces around ASM_OUTPUT_ASCII. - * c-decl.c (duplicate_decls): Set DECL_INLINE in newdecl - so it is copied into olddecl. +Sat Sep 25 08:30:16 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sun Sep 6 08:53:46 1992 Fred Fish (fnf at fishpond) + * expr.c (expand_expr, case COND_EXPR): Set MEM_IN_STRUCT_P + properly for TEMP. - * m68k.md (fsglmul pattern): If FSGLMUL_USE_S, opcode has .s, not .x. - * amix.h (FSGLMUL_USE_S): Defined. + * 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. + +Sat Sep 25 06:19:20 1993 Jan Brittenson (bson@nutrimat.gnu.ai.mit.edu) + + * bi-lexer.l: Deleted. + + * bi-lexer.c: New file. + + * Makefile.in (bi-lexer): Deleted. + (bi-lexer.l): Deleted. + +Fri Sep 24 16:59:03 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + Cygnus<->FSF C++ front-end merge. + + Tue Sep 21 19:17:29 1993 Mike Stump (mrs@cygnus.com) + + * 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. + + Tue Sep 21 10:47:10 1993 Mike Stump (mrs@cygnus.com) + + * 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. + + Thu Sep 16 20:33:25 1993 Mike Stump (mrs@cygnus.com) + + * cp-cvt.c (convert_pointer_to): Make error more specific and more + readable. + + Thu Sep 16 20:14:18 1993 Mike Stump (mrs@cygnus.com) + + * 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. + + * cp-lex.c (reinit_parse_for_block): Add second argument to + consume_string. Add support for character constants. + + * cp-tree.h (consume_string): Remove declaration, not used any place + else. + + Wed Sep 15 12:44:13 1993 Per Bothner (bothner@kalessin.cygnus.com) + + * cp-gc.c (build_t_desc): Make sure finish_table is called + for the methods and ivars tables. + + Mon Sep 13 14:40:23 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-pt.c (unify): Use the referent type if necessary. + + Fri Sep 10 16:34:37 1993 Mike Stump (mrs@cygnus.com) + + * cp-typeck.c (build_binary_op_nodefault): Add missing fourth + argument to build_binary_op calls, and eliminate bogus delta2 + check. + + Fri Sep 10 14:52:59 1993 Mike Stump (mrs@cygnus.com) + + * cp-typeck.c (build_binary_op_nodefault): Make sure delta2's match + when comparing pointers to _virtual_ member functions. + + Fri Sep 10 14:27:45 1993 Mike Stump (mrs@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. + + Thu Sep 9 21:22:40 1993 Mike Stump (mrs@cygnus.com) + + Complete re-vamp of pointer to member functions. Implements + complete semantics. Cures problems on CONVEX, i960 and alpha. + + * 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. + + * 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-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-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. + + Other misc work. + + * 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. + + Instead of calling get_identifier with the same value all the time, + call it once, and re-use the cached value. + + * 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 Sep 7 16:01:14 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + * 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 Sep 6 14:44:46 1993 Jim Wilson (wilson@sphagnum.cygnus.com) + + * cp-decl.c (grokfndecl): Add empty statement after foundaggr label. + + Sat Sep 4 16:12:27 1993 Jason Merrill (jason@deneb.cygnus.com) + + * cp-decl.c (grokfndecl): Require class or enum argument to + operators. + + * cp-init.c (build_member_call): Make destructor without object + error more useful, don't complain of missing destructor. + + Thu Sep 2 15:51:54 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-decl.c (globalize_nested_type): Make sure the type in question + has a lang_specific area before trying to clear DECL_CLASS_CONTEXT. + + Wed Sep 1 13:40:30 1993 Chip Salzenberg (chip@fin) + + * cp-decl.c (start_function): Call duplicate_decls when user + redefines a builtin function. + + Thu Sep 2 15:38:43 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-pt.c (instantiate_class_template): Only kick back the local + value if we're setting things up for the parser. + + Wed Sep 1 12:54:38 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-init.c (emit_base_init): Don't complain if the base has no + constructor; we should try to use the default constructor instead. + + Wed Sep 1 11:57:00 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-call.c (find_scoped_type): Undo the sorry for now, it's hitting + a lot of code that it shouldn't be. + + Mon Aug 30 13:08:48 1993 Mike Stump (mrs@cygnus.com) + + * 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. + + Mon Aug 30 11:06:26 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + * cp-pt.c (instantiate_class_template): Don't try to instantiate a + template that's already being worked on. + + * cp-init.c (perform_member_init): Make an uninitialized reference + be a pedwarn, not a warning. + + * cp-class.c (finish_struct): Make declaration of a negative width + for a bit-field be an error, not a warning. + + Sat Aug 28 09:40:47 1993 Michael Tiemann (tiemann@blues.cygnus.com) + + * cp-call.c (find_scoped_type): Add a `sorry' call if we hit an + uninstantiated type. + + Thu Aug 26 13:53:23 1993 Jason Merrill (jason@deneb.cygnus.com) + + * cp-call.c (build_scoped_method_call): Don't produce an error + if the type has no destructor. + + * cp-decl.c (record_builtin_type): Don't set TYPE_HAS_DESTRUCTOR + after all. + + Wed Aug 25 19:10:24 1993 Jason Merrill (jason@deneb.cygnus.com) + + * cp-call.c (build_method_call): Check for class type value as + well + + * cp-tree.h (IDENTIFIER_CLASS_TYPE_VALUE): Create macro + (IDENTIFIER_HAS_CLASS_TYPE_VALUE): Ditto + + * 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. + +Fri Sep 24 15:57:14 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) + + * 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). + + * 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. -Sun Sep 6 17:42:33 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) +Fri Sep 24 15:05:14 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * pa.md (indirect_jump): Annul the next instruction if the delay - slot could not be filled instead of emitting a nop. + * 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.c (output_function_prologue): Undo Aug. 13 change. - If profiling, then this function makes calls. Reflect this in - CALLINFO. - (output_function_epilogue): If profiling, then be restore "rp" here. +Fri Sep 24 11:29:26 1993 Michael Meissner (meissner@osf.org) - * pa.md (use_milli_regs attribute): Deleted, not necessary anymore. - All references deleted. - * pa.c (use_milli_regs): Deleted. + * i386/osfrose.h (SET_ASM_OP): Define. -Sun Sep 6 17:11:00 1992 Torbjorn Granlund (tege@jupiter.sics.se) +Fri Sep 24 04:47:33 1993 Jan Brittenson (bson@nutrimat.gnu.ai.mit.edu) - * arm.h (MOVE_MAX): Define as 4. + * 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. - * ns32k.c (hard_regno_mode_ok): Don't abort if unknown mode, - return 0 instead. Declare argument MODE as `enum machine_mode'. +Thu Sep 23 23:58:58 1993 James Van Artsdalen (james@bigtex.cactus.org) - * i860.h (HARD_REGNO_MODE_OK): Allow BLKmode. + * att.h (ASM_OUTPUT_ASCII): Enclose macro in "do { .. } while (0)". + * sun386.h (ASM_OUTPUT_ASCII): Likewise. -Sun Sep 6 16:57:12 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Sep 23 11:55:47 1993 Ted Lemon (mellon@ncd.com) - * expr.c (init_expr_once): Don't try HARD_REGNO_MODE_OK on VOIDmode - or BLKmode. + * toplev.c (lang_options): Add -fallow-single-precision. -Sun Sep 6 14:27:57 1992 Michael Meissner (meissner@osf.org) +Thu Sep 23 00:40:28 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-typeck.c (constant_expression_warning): New fn from c-typeck.c. + * Makefile.in (bi-parser.c): Supply explicit rule. + Add bi-parser.h as target. + Put these files in srcdir. -Sun Sep 6 09:11:46 PDT 1992 Ron Guilmette (rfg at netcom.com) + * bc-emit.c (bc_gen_rtx): Call gen_rtx. + (bc_print_rtl): #if 0 the contents. - * c-decl.c (duplicate_decls): Don't set DECL_EXTERNAL in olddecl. - Preserve DECL_UID of olddecl. + * Makefile.in (bc-optab.o, bc-emit.o): Add missing deps. + (bi-parser.c, bi-lexer.c): Don't depend on .h files here. -Sun Sep 6 03:37:21 1992 James Van Artsdalen (james at bigtex.cactus.org) + * varasm.c (handle_pragma_weak): Test HANDLE_PRAGMA_WEAK + and WEAK_ASM_OP and SET_ASM_OP. - * i386.md (cmpstrsi): Rewrite expander to handle operands correctly. + * Makefile.in (stmt.o): Fix typo. -Sat Sep 5 22:55:53 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * emit-rtl.c (gen_label_rtx): If output_bytecode, make a CODE_LABEL + but with different contents. - * combine.c (try_combine): Make change missing from last modification - to splitting code. + * rtl.h (BYTECODE_LABEL, BYTECODE_OFFSET, BYTECODE_BC_LABEL): + (BYTECODE_UID): New macros. + (struct rtx_def): Delete elements label, offset, bc_label, uid. -Sat Sep 5 19:21:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * stor-layout.c (layout_type): Caller must give size of FILE_TYPE. + * expr.c (expand_increment): Don't store directly ito a subreg + that is narrower than a word. -Sat Sep 5 16:34:50 1992 Torbjorn Granlund (tege@jupiter.sics.se) +Wed Sep 22 22:18:35 1993 Chip Salzenberg (chip@fin.uucp) - * arm.c (before functions): Remove xmalloc decl. - (arm_asm_output_label): Cast value from xmalloc. + * 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. - * arm.md (storehi): Use match_operand for operand 0. - Use gen_lowpart to change mode of operand 0. - (storeinthi): Use match_operand for operand 0. - Change output code to reassign operand 0. - (truncsihi2, truncsiqi2, trunchiqi2): Remove these patterns. +Wed Sep 22 22:13:07 1993 James Van Artsdalen (james@bigtex.cactus.org) -Sat Sep 5 02:39:37 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * bc-emit.c (bc_initialize): Add MODE arg to REAL_VALUE_ATOF calls. - * news.h (ASM_OUTPUT_OPCODE): Defined. + * Makefile.in (bi-lexer.c): File is in $(srcdir). -Sat Sep 5 18:52:21 1992 Jukka Virtanen (jtv@kampi.hut.fi) + * reg-stack.c (record_label_references): Don't follow a null label + reference chain. - * stor-layout.c (layout_type): Handle BOOLEAN_TYPE, CHAR_TYPE, - and FILE_TYPE for Pascal. - (fixup_signed_type): New function. +Wed Sep 22 15:56:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * optabs.c (init_optabs): Use __gcc_bcmp, not real bcmp. - (expand_unop): Handle NEG for complex modes. - (expand_binop): Likewise. - (expand_complex_binop): New function. + * 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 $@. - * expr.c (emit_move_insn): When moving word by word, - mark the whole thing as a libcall block. - (group_insns): New function. - (expand_expr): - Implement COMPLEX_EXPR, REALPART_EXPR, IMAGPART_EXPR, CONJ_EXPR. + * 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. - * print-tree.c (print_node): Handle BOOLEAN_TYPE and CHAR_TYPE. - * emit-rtl.c (gen_highpart): New function. + * Makefile.in (bi-lexer.o, bi-parser.o): Use ALL_CFLAGS. -Fri Sep 4 23:20:59 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * bi-arity.c (main): Make sure there's some value within + each pair of braces. - * i860.md (mulsi3_big): Use low half of result. - Use offset 1 in subregs in actual fmlow insn. - (fmlow pattern): Split this into alternatives for big and little end. + * expr.c (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. - * regclass.c (record_reg_class): For matching operands, handle - case where the earlier one is not a pseudo like the case - where the later one is not a pseudo. + * varasm.c (bc_assemble_integer): Make definition static. -Fri Sep 4 17:24:11 1992 Torbjorn Granlund (tege@jupiter.sics.se) + * expr.c (bc_strdup): Don't use strcpy's value. - * pa.c (output_move_double): Use %R to store at auto-incr/decr - addr. Split incr and decr cases for store. + * 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__. -Fri Sep 4 03:49:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Sep 22 15:49:47 1993 Ted Lemon (mellon@ncd.com) - * gcc.c (main): No program should return the error_count! - Return 2 if failure due to signal, 1 if just errors. - (execute): Increment signal_count. + * 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. - * move-if-change: Undo previous change. +Wed Sep 22 11:18:24 1993 Mike Stump (mrs@cygnus.com) - * c-decl.c (grokparms): Copy arg type list to savable obstack if nec. + * cp-class.c (finish_struct): Move special C++ only code that + handles anonymous unions inside structures here. + * stor-layout.c (layout_record): From here. -Fri Sep 4 19:40:32 1992 Paul Eggert (eggert@twinsun.com) +Wed Sep 22 14:14:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-typeck.c (constant_expression_warning): Now works; - it reports signed integer overflow in constant expressions, + * enquire.c (FPROP): Recognize 80387 or 68881 XFmode format. - * fold-const.c (left_shift_overflows, same_sign, overflow_sum_sign): - New macros. - (add_double, div_and_round_double, lshift_double, mul_double, - neg_double, const_binop, fold): Check for signed integer overflow. - Propagate overflow flags from operands to result. - (const_binop, fold_convert): Use pedwarn for overflow warnings. - Say `constant expression', not `constant folding', for user's sake. + * c-typeck.c (build_component_ref): For a field in an anonymous union, + make two nested COMPONENT_REFs. + (lookup_field): Additional arg INDIRECT. -Thu Sep 3 22:28:41 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) +Wed Sep 22 14:45:42 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - Complete 12th Cygnus<-->FSF merge. + * tm.texi (CLEAR_INSN_CACHE): New macro. + * libgcc2.c (__clear_cache): add case for new CLEAR_INSN_CACHE. - Thu Sep 3 12:29:24 1992 Brendan Kehoe (brendan@cygnus.com) + * 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. - These changes are propagated from changes to c-*.c. + * varasm.c (output_constructor): Use the type given + by the constructor expression only if available. Otherwise + use the type of the declared type. - Mon Aug 17 16:28:48 1992 Chip Salzenberg (chip@tct.com) +Tue Sep 21 19:51:26 1993 Andrew McCallum (mccallum@vein.cs.rochester.edu) - * cp-decl.c (finish_function): Test only can_reach_end for the - warning about reaching the end of a non-void function. - (grokdeclarator): When promoting an argument, retain unsignedness - if traditional or if promoted type is not really getting wider. + * objc/Object.[hm] (-compare:, -shouldNotImplement:): Added. - * cp-parse.y (datadef): For empty declaration, use pedwarn. + * 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. - Mon Aug 17 17:08:11 1992 Chip Salzenberg (chip@tct.com) +Tue Sep 21 18:35:04 1993 Per Bothner (bothner@kalessin.cygnus.com) - * cp-cvt.c (convert): When converting to variant of same type, fold. + * 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. - Wed Aug 19 16:58:41 1992 Chip Salzenberg (chip@tct.com) +Tue Sep 21 16:44:17 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-typeck.c (default_conversion): Convert enumeral types to - appropriate _signed_ type unless -traditional. + * libgcc2.c (L_bb): Test inhibit_libc. - Tue Aug 4 13:11:36 1992 Chip Salzenberg (chip@tct.com) + * Makefile.in (ENQUIRE, CROSS_TEST): New variables. + (all.cross): Use them. - * cp-cvt.c (convert): If main variants match, - but the type is not identical, make a NOP_EXPR. + * mips-tfile.c, mips-tdump.c [CROSS_COMPILE]: Include mips/a.out.h. - * cp-decl.c (warn_redundant_decls): Declared. - (duplicate_decls): Optionally warn about redundant declations. - (pushdecl): Never reuse global fcn decl in place of local extern; - just copy some info from it. - (init_decl_processing): __builtin_saveregs returns void *. - (store_parm_decls, finish_function, start_method, finish_method): - Compare TYPE_MAIN_VARIANT against void_type_node. + * 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. - * cp-decl2.c (warn_redundant_decls): Defined. - (lang_decode_option): Decode -Wredundant-decls. +Tue Sep 21 10:50:19 1993 Jan Brittenson (bson@nutrimat.gnu.ai.mit.edu) - * cp-typeck.c (build_conditional_expr): Don't use type1 as - temporary variable; set result_type directly. + * emit-rtl.c (gen_label_rtx, emit_line_note): add conditional for + bytecode. - Tue Aug 4 12:04:17 1992 Chip Salzenberg (chip@tct.com) + * 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. - * cp-tree.h (C_PROMOTING_INTEGER_TYPE_P): Defined. - * cp-class.c (finish_struct): Use it. - * cp-decl.c (duplicate_decls, grokdeclarator): Ditto. - (grokparms, start_function): Ditto. - * cp-typeck.c (self_promoting_args_p, default_conversion): Ditto. - * cp-parse.y (primary): Set TREE_CONSTANT in the NOP_EXPR for an enum. + * 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. - Tue Aug 4 09:17:32 1992 Chip Salzenberg (chip@tct.com) + * integrate.c (output_inline_function): signal error for bytecode. - * cp-decl.c (duplicate_decls, grokdeclarator, grokparms): - Use TYPE_MAIN_VARIANT when comparing against specific types. - (build_enumerator): Use STRIP_TYPE_NOPS. - (start_function): Force main() to return "int", not just any - integral type. + * regclass.c (fix_register): signal error for bytecode. - * cp-typeck.c (self_promoting_args_p, default_conversion): - Use TYPE_MAIN_VARIANT when comparing against specific types. - (unsigned_type, signed_type): If type is not known, return it - unchanged instead of returning its TYPE_MAIN_VARIANT. - (build_binary_op_nodefault): Use TYPE_MAIN_VARIANT when - comparing against specific types. Also use STRIP_TYPE_NOPS. - Also copy error messages from equivalent code in c-typeck.c. + * 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. - * cp-parse.y (primary): Wrap a NOP_EXPR around an enum value. + * 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. + + * config/m68k/m68k.c config/m68k/m68k.h: add bytecode specific + definitions. - Wed Sep 2 18:06:47 1992 Mike Stump (mrs@cygnus.com) + * 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. - Wed Sep 2 17:33:59 1992 Chip Salzenberg (chip@tct.com) + * c-pragma.c (handle_pragma_token): use handle_pragma_weak. - * cp-decl.c (grokdeclarator): Default friends to being PUBLIC. + * function.h (enum pragma_state): moved from c-pragma.c - Tue Sep 1 12:33:01 PDT 1992 Ron Guilmette (rfg at netcom.com) + * 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. - * cp-init.c (do_friends): Always return `void_type_node'. + * 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 - * cp-decl.c (grokparms): Call digest_init on default arguments for - formal parameters. - * cp-decl.c (xref_tag): The BINFO records describing individual - inheritances aren't shared in the lattice. +Tue Sep 21 10:20:55 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Tue Sep 1 12:27:17 1992 Mike Stump (mrs@cygnus.com) + * jump.c (jump_optimize): Try putting RETURN at end of function + both at start and at end of our optimization. - * cp-call.c (convert_harshness, compute_conversion_costs): The - READONLY flag for a const object could be down in the type of the - reference. +Mon Sep 20 17:22:13 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-call.c (compute_conversion_costs): Don't ignore the cost of - converting the first argument, if it is not a method. Fixes Mon Aug - 31 22:32:34 change. + * expr.c (expand_expr): Handle flag_volatile here. + * c-typeck.c (build_indirect_ref): TREE_THIS_VOLATILE no longer + depends on flag_volatile. - Tue Sep 1 11:58:52 1992 Mike Stump (mrs@cygnus.com) +Mon Sep 20 15:21:31 1993 Doug Evans (dje@cygnus.com) - * cp-tree.h (THIS_NAME): Use the name ``this'' instead of the more - cryptic name ``$t''. + * gstddef.h: Back out change of Sep 15 (handles Sun lossage). + Prevented bootstrapping. - Mon Aug 31 22:32:34 1992 Mike Stump (mrs@rtl.cygnus.com) +Mon Sep 20 12:21:56 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - * cp-init.c (build_member_call): When forming method calls that use - a qualified name, convert the instance pointer to the type implied - by the qualification. Base::member_func(); converts this to be a - (Base *). + * objc/archive.c (objc_read_string): Allocate n+1 chars instead of + just n. - * cp-call.c (compute_conversion_costs): Don't penalize conversion - of the instance pointer on method calls, as they could be pointers - to base classes. +Sun Sep 19 13:06:37 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Mon Aug 31 18:34:33 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * function.c (combine_temp_slots): Handle deletion properly. + Free the RTL that is allocated. + * rtl.c (rtx_free): New function. - * cp-decl.c (start_function): When a friend function is being - defined, put it in (lexical) scope of the class in which it appears. + * config/m68k/m68k.c (output_move_double): Handle register overlap + case that occur in soft-float XFmode. Code basically copied from + i386.c. - Mon Aug 31 09:57:27 1992 Brendan Kehoe (brendan@rtl.cygnus.com) +Sun Sep 19 14:40:08 JDT 1993 Michael Ben-Gershon (mybg@cs.huji.ac.il) - * cp-typeck.c (build_modify_expr): For assignments to member - variables like "X::i", call resolve_offset_ref to get the lhs; all - the code and checking was in there, it just wasn't being used. + * 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. - * cp-class.c (finish_struct_methods): Give the name of the class - in question when reporting that all its member functions are - private. +Sun Sep 19 12:49:05 1993 James Van Artsdalen (james@bigtex.cactus.org) - Sun Aug 30 08:34:03 1992 Mike Stump (mrs@rtl.cygnus.com) + * Makefile.in (objc-headers): Depend on stmp-fixinc to build the + include/ subdirectory first. - * cp-decl2.c (setup_vtbl_ptr): Disable the code, until problems can - be worked around. +Sun Sep 19 09:45:16 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) - Sat Aug 29 10:34:10 1992 Mike Stump (mrs@rtl.cygnus.com) + * gstddef.h (size_t): Acorn RISCiX requires __size_t defined. - * cp-init.c (emit_base_init): Undo Sat Jan 18 12:06:58 change by - tiemann that incorrectly makes -pedantic initialization of virtual - base classes 1 or more levels deep impossible. +Sun Sep 19 09:08:09 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Sat Aug 29 10:03:07 1992 Mike Stump (mrs@rtl.cygnus.com) + * 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. - * cp-class.c (finish_struct): Allow extern "C" functions to be - friends. + * reload.c (find_reloads): Reject an alternative if two operands + match the same output and we have to do a reload. - Sat Aug 29 04:43:22 1992 Mike Stump (mrs@rtl.cygnus.com) + * 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. - * cp-parse.y (used_extern_spec), cp-decl.c (start_decl, - start_function): Make sure extern in extern "C" (fndef | datadef) - applies to only one decl. Fixes problem introduced on Thu Aug 20 - 16:11:58. + * xm-alpha.h: Add extern declaration for alloca. - Thu Aug 27 09:33:13 1992 Brendan Kehoe (brendan@cygnus.com) + * a29k.h (PREDICATE_CODES): Fix typos and add missing entries. + * alpha.h, i860.h i960.h, m88k.h, mips.h, rs6000.h: Likewise. - * cp-decl.c (grokdeclarator): Name operators properly when - complaining about trying to declare it as a method when not in a - class. +Sat Sep 18 09:27:03 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-decl.c (grok_reference_init): Forbid volatile->const refs, - and vice-versa. Also make the tests apply to all types, not just - aggregates. (Now fully compliant with ANSI C++ June 5 1996 WP - section 8.4.3.5.) + * expr.c (convert_move): Use emit_library_call_value. - * cp-decl.c (shadow_tag): Don't allow a function to be a member of - an anonymous union. +Sat Sep 18 08:01:44 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-class.c (finish_struct): For a type that's nested within a - class, use the class value itself when checking a typedef that uses - that new nested type. + * alpha.h (REG_ALLOC_ORDER): Add missing entries. - Wed Aug 26 20:24:07 1992 Brendan Kehoe (brendan@cygnus.com) + * combine.c (recog_for_combine): Fix typos in previous change. - * cp-decl.c (decls_match): When converting from a - pseudo-METHOD_TYPE for a static member fn, handle the static - function being both in the new and old declarations. - (revert_static_member_fn): New function. + * 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. - * cp-call.c (build_method_call): Put out proper line number for - error with the use of a private constructor. +Fri Sep 17 21:40:02 1993 Per Bothner (bothner@cygnus.com) - * cp-decl.c (grokdeclarator): If a storage class is erroneously - specified for an operator, print the operator's name out properly in - the error message (e.g., print `+' instead of `__pl'). + * 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.) - * cp-decl.c (grokdeclarator): Allow neither constructors nor - destructors to be declared const or volatile. +Fri Sep 17 20:38:53 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-decl.c (grok_op_properties): New argument VIRTUALP. - Use it to disallow declaring new or delete as virtual. Also - use coerce_new_type() and coerce_delete_type() to - sanity-check overloading of new and delete. - (grokfndecl): Give grok_op_properties if the decl is virtual. - (start_method): Likewise. + * c-typeck.c (output_init_element): Update constructor_bit_index + for union types. - * cp-tree.c (lvalue_p, ADDR_EXPR case): Casts to references are - lvalues. + * libgcc2.c: Declare __fixunsxfdi only if really have XFmode. + Likewise for __fixunstfdi. -Thu Sep 3 02:46:44 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Sep 17 18:08:37 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * caller-save.c (setup_save_areas): Don't look at WORDS_BIG_ENDIAN. + * combine.c (recog_for_combine): Always reject a PARALLEL containing + our special CLOBBER. - * fixincludes: If we find a link pointing to ., make a similar - link to ., not a link to an absolute name. - (stdio.h): Change stdio.h to use stdarg.h to get va_list. + * cse.c (fold_rtx, case MINUS): Copy result obtained from + hash table. - * cexp.y: Comment syntax fix. + * cse.c (fold_rtx, case SUBREG): If paradoxical SUBREG of a + constant, return the constant. -Thu Sep 3 01:48:16 1992 Torbjorn Granlund (tege@jupiter.sics.se) + * 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. - * we32k.md (casesi): Use match_dup for second mention of operand 4. +Fri Sep 17 16:03:22 1993 Per Bothner (bothner@cygnus.com) -Wed Sep 2 06:58:32 1992 Michael Meissner (meissner@osf.org) + * 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. - * gcc.c (default_compilers): Add missing comma between strings, so - that traditional compilers can compile gcc.c. - (main): Don't pass strcpy or strlen a NULL pointer if some of the - spec strings in default_compilers are NULL. - (validate_all_switches): Don't dereference a NULL pointer if some of - the spec strings in defalut_compilers are NULL. +Fri Sep 17 09:02:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * gcc.c (main): Use new loop var J to avoid conflict with I. + * expr.h (emit_library_call_value): Fix declaration. -Wed Sep 2 19:09:02 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) +Thu Sep 16 12:05:44 1993 Ian Lance Taylor (ian@cygnus.com) - * caller-save.c (init_caller_save): If we were unable to - find a simple insn which meets all its constraints to save - and restore with a single insn in a mode, then set - regno_save_mode to VOIDmode to insure that this mode is never - used to caller-save the current register. + * 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. -Wed Sep 2 12:34:39 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Thu Sep 16 10:22:17 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * caller-save.c (insert_save_restore): Correct test for - determining whether multiple registers can be saved. + * reload.c (find_reloads): For PLUS operand, call find_reloads_toplev. - * sparc.md (SImode ldd peepholes): Add `f' to constraints. + * optabs.c (expand_complex_abs): Fix typo in prev change. - * sparcv4.h (HANDLE_PRAGMA): Delete. - * sparc.c (handle_pragma_token): Delete. +Thu Sep 16 02:06:11 1993 Jim Wilson (wilson@cygnus.com) - * config/spc-sol2.h: Change the location of the Sun bundled C - compiler in MD_STARTFILE_PREFIX (for backup defaults). + * 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. -Wed Sep 2 09:11:16 1992 Tom Wood (wood@dg-rtp.dg.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. - * m88k.h (MOVE_MAX): Express in bytes not bits. +Wed Sep 15 17:38:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * m88k.c (output_ascii): Output known escape characters and don't - terminate the constant if an octal escape is used. + * gstddef.h: Delete the conditional that used to semi-avoid + interference with sys/stdtypes.h on Sun. (fixincludes makes + it ok.) -Wed Sep 2 06:38:37 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Wed Sep 15 16:17:09 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * combine.c (make_compound_operation, case ASHIFTRT): Add new - code to handle (ashiftrt (neg (ashift FOO C1) C2)) just like we - currently handle (ashiftrt (OP (ashiftrt FOO C1) C2) C2). + * pa.h (ASM_FILE_START): Fix access information for $LIT$ + subspace. -Wed Sep 2 00:15:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Sep 15 14:53:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Makefile.in (install): Add semicolon to make an empty command. + * config/ns32k/ns32k.md: Add peepholes for stack adjust plus pushes. - * reload.c (find_reloads): If have any earlyclobbers, don't let any - reloads overlap with them. Make everything RELOAD_OTHER. +Wed Sep 15 13:38:24 1993 Doug Evans (dje@canuck.cygnus.com) - * move-if-change: Give status 1 if file is unchanged. + * c-typeck.c (lookup_field): New function (for chill). + (build_component_ref): Call it. - * Makefile.in (SYSTEM_HEADER_DIR): New variable. - (xlimits.h): New target, broken out from install-limits-h. - Look in SYSTEM_HEADER_DIR for system's limits.h. - (start.encap): Dep on xlimits.h. - (install-limits-h): Install xlimits.h already made. - * cross-make (SYSTEM_HEADER_DIR): Overridden. +Wed Sep 15 08:12:32 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * x-i386sco (X_CFLAGS): Deleted. - * x-i386sco4: New file, like old x-i386sco. - * configure (i386-*-sco3.2v4*): Use x-i386sco4. + * libgcc2.c: Declare __fixunsxfdi and __fixunstfdi. - * t-sol2 (gmon.o): Find gmon-sol2.c in config. + * integrate.c (copy_for_inline, copy_rtx_and_substitute): + Always preserve the volatil flag when copying ASM_OPERANDS. - * c-typeck.c (process_init_constructor): Fix bugs in previous change. +Tue Sep 14 21:56:20 1993 Jim Wilson (wilson@cygnus.com) -Tue Sep 1 23:51:19 1992 Brendan Kehoe (brendan@rtl.cygnus.com) + * c-typeck.c (valid_compound_expr_initializer): New function. + (digest_init): Handle compound expressions as initializers when + pedantic. - * gcc.c (default_compilers, ".C" and ".ii"): Pass `+e*' into cc1plus. - (process_command): Allow +e[012] to be passed down into cc1plus. - * cp-decl.c (lang_decode_option): The options `+e0' thru `+e2' will - be coming in prefixed as `-+e'. + * varasm.c (immed_double_const, immed_real_const_1): Don't touch + const_double_chain if not inside a function. -Tue Sep 1 20:09:29 1992 Paul Eggert (eggert@twinsun.com) +Tue Sep 14 16:22:03 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) - * print-tree.c (print_node): Avoid 1 << (HOST_BITS_PER_INT - 1), - which overflows. Use unsigned % to compute HASH. + * c-typeck.c (digest_init): Compare types using comptypes + instead of comparing pointers. (Helps Chill front end.) -Tue Sep 1 17:23:28 1992 Tim Moore (moore@hal) +Tue Sep 14 12:16:52 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * pa.h (CPP_SPEC, TARGET_SWITCHES): new flags: -mnosnake, - -mpa-risc-1-0, -mpa-risc-1-1. - (ASM_DECLARE_FUNCTION_NAME): Emit argument descriptors for all - general registers if current_function_varargs. + * 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. -Tue Sep 1 11:27:08 1992 Brendan Kehoe (brendan@rtl.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. - * sparc.c (handle_pragma_token): Only use if HANDLE_SYSV_PRAGMA - isn't defined. (We'll be getting the fn from c-pragma.c, then.) + * reload.c (find_dummy_reload): New args inmode, outmode. + (find_reloads): Pass new args. + (push_reload): Likewise. -Sat Aug 29 13:44:21 PDT 1992 Ron Guilmette (rfg at netcom.com) +Mon Sep 13 12:52:03 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * tree.h (current_block): Decl deleted. - (set_block): Declared. - * stmt.c (expand_fixup): Create a BLOCK node (via pushlevel/poplevel) - to represent an artificial scope containing all of the fixup code. - Also emit NOTE_INSN_BLOCK_BEG/NOTE_INSN_BLOCK_END for that block. - (fixup_gotos): Declaration of NEWBLOCK deleted. - Call `set_block' to use the BLOCK made in expand_fixup. - Deleted code to insert NEWBLOCK into block hierarchy. - * c-decl.c, cp-decl.c (current_block): Function deleted. - (set_block): New function. - (poplevel): If using a previously created block, - don't insert it into the parent level. - * emit-rtl.c (emit_insns_after): Update last_insn if nec. + * c-typeck.c (set_init_index): Don't allow variable indices. -Tue Sep 1 10:53:58 1992 Torbjorn Granlund (tege@jupiter.sics.se) + * c-decl.c (complete_array_type): Handle TREE_PURPOSE + of array constructor elements. - * pa.c (output_move_double): Use `ldo' for immediate adds (instead - of `addi' with bad syntax). - (output_load_address): Likewise. + * expr.c (store_constructor): Handle TREE_PURPOSE of array constructor. + (expand_expr, ARRAY_REF case): Likewise. -Tue Sep 1 02:41:13 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * varasm.c (output_constructor): Handle index value in + the TREE_PURPOSE, for array constructors. - * tree.h (struct tree_type): Make `align' field an int. + * 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. - * c-tree.h (IDENTIFIER_LIMBO_VALUE): New macro. - (struct lang_identifier): New field limbo_value. +Sun Sep 12 23:00:25 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) -Mon Aug 31 12:59:22 PDT 1992 Ron Guilmette (rfg at netcom.com) + * expr.c (expand_expr, case ARRAY_REF): Coerce lower bound (if + non-zero) to sizetype before subtraction. - * tree.c (make_node): Fix typo in July 6 change: - assignment of DECL_IN_SYSTEM_HEADER was inserted in bad place. +Sun Sep 12 16:18:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Aug 31 21:28:08 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * 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. - * sched.c (sched_analyze_2): Remove an explicit dependence between - an insn that uses CC0 and the immediately previous insn - (SCHED_GROUP_P represents the dependence). - (schedule_block): Only check sets_cc0_p on an insn. +Sun Sep 12 10:59:08 1993 Bill Cox (bill@cygnus.com) -Mon Aug 31 15:32:13 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-typeck.c (digest_init): Remove obsolete comments on args + TAIL, OF_WHAT. - * gcc.c (struct compiler): spec field is now array of 4 elements. - (read_specs): Clear the entire new element of compilers. - (lookup_compiler): Copy all of spec array. Check element 0 for @. - (main): Concatenate all elements of compiler spec. - (validate_all_switches): Validate from all elements of compiler spec. - (default_compilers): Split CPP commands into separate strings. +Sun Sep 12 08:45:36 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Aug 31 10:06:16 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) + * loop.c (basic_induction_var): New arg MODE. + Use it to call convert_modes. + (strength_reduce): Supply the new arg to basic_induction_var. - * caller-save.c (restore_referenced_regs): When restoring a - referenced hard register, use CEIL instead of a truncating divide - to determine the maximum number of registers to restore. - (insert_save_restore): Document maxrestore parameter. - (CEIL): Define. + * expmed.c (expand_shift): Use convert_modes. + (emit_store_flag): Likewise. -Mon Aug 31 04:02:21 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Sep 11 16:44:15 1993 Doug Evans (dje@canuck.cygnus.com) - * fold-const.c (const_binop): Delete special case for mult by 3. + * collect2.c (main): Provide upward compatibility with old version + of collect (avoids infinite mutual recursion between the two). - * toplev.c (lang_options): Add terminating zero. +Sat Sep 11 13:05:07 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) - * configure.bat: Remove version number from initial message. + * 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. -Sun Aug 30 17:22:11 1992 James Van Artsdalen (james at bigtex.cactus.org) +Sat Sep 11 15:55:25 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cccp.c (do_pragma): In prev. change, really use U_CHAR *, not char *. + * stor-layout.c (layout_record): Turn off PCC_BITFIELD_TYPE_MATTERS + rounding of field bitpos, if maximum_field_alignment is nonzero. - * aix386.h, i386gas.h, i386sun.h, i386v.h, i386v4.h, i386vgas.h, - seq386.h (TARGET_DEFAULT,VALUE_REGNO,FUNCTION_VALUE_REGNO): - Move from here, - * unx386.h (TARGET_DEFAULT,VALUE_REGNO,FUNCTION_VALUE_REGNO): - To here. - (TARGET_DEFAULT): Make TARGET_IEEE_FP default on. - (VALUE_REGNO): Test for MODE_FLOAT instead of specific modes. - (VALUE_REGNO,FUNCTION_VALUE_REGNO): MODE_FLOAT return reg depends on - TARGET_FLOAT_RETURNS_IN_80387. +Fri Sep 10 08:52:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * i386.h (TARGET_FLOAT_RETURNS_IN_80387): New macro. - (TARGET_SWITCHES): Add "no-80387", "no-soft-float", - "fp-ret-in-387", and "no-fp-ret-in-387". - Change no* switches to no-*. - (CONDITIONAL_REGISTER_USAGE): Make 387 regs fixed if the 387 is not - used at all. - (REG_CLASS_FROM_LETTER): Constraint letters 'f', 't' and 'u' are - NO_REGS if the 387 is not used. - (TRAMPOLINE_TEMPLATE): Use GEN_INT to generate const_int rtx. + * c-typeck.c (check_init_type_bitfields): Check for mismatch + between field's mode and its type's mode. - * x-i386v4: New file. - (CLIB): Get alloca from libucb.a. - * configure (i386-*-sysv4*): Use x-i386v4. + * expr.c (protect_from_queue): Don't alter an existing MEM. + (convert_modes): Use X's mode (not OLDMODE) unless it is VOIDmode. -Sun Aug 30 15:32:54 1992 Dennis Glatting (dglattin at trirex.com) +Fri Sep 10 01:01:32 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * objc-actions.c (create_builtin_decl): Set TREE_STATIC. - Don't set DECL_EXTERNAL or TREE_PUBLIC. + * config.sub: Recognize operating system `netbsd*'. -Sun Aug 30 03:08:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Sep 9 18:09:14 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) - * c-parse.y (initlist): Handle ranges of array elements. - * c-typeck.c (process_init_constructor): Handle ranges. + * c-typeck.c (really_start_incremental_init, push_init_level): + Add support for arrays with non-zero lower bounds. (Used by Chill.) - * fixincludes: When link points to a dir $dirname outside $INPUT, - copy that dir into $LIB/root$dirname. Translate the link itself - into a link to that new dir. Make a file DONE in each treetop dir - so no treetop is scanned twice. Improve progress messages. +Thu Sep 9 19:20:59 1993 Jim Wilson (wilson@cygnus.com) -Sat Aug 29 22:41:49 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * tree.c (make_node): Put PARM_DECLs of nested functions onto + parent's saveable obstack. - * alpha.h (ASM_FILE_START): Object file version number now 8.0. +Thu Sep 9 14:17:00 1993 Ian Lance Taylor (ian@cygnus.com) - * alpha.h (ADJUST_COST): New macro. - * alpha.c (alpha_adjust_cost): New function. - * alpha.md: Adjust function unit delays and more precisely - describe function units. - - * alpha.h (CONST_OK_FOR_LETTER_P): Add new letters `O' and `P'. - * alpha.c (print_operand, case 'P'): New case. - * alpha.md (ashldi3): Special-case shifts by 1, 2, and 3 bits to - use arithmetic instructions. - Add pattern for sign-extending shifts by 1, 2, and 3 bits. + * 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. - * alpha.h (INITIALIZE_TRAMPOLINE): Use Pmode when appropriate. - (FUNCTION_MODE): Use Pmode. +Thu Sep 9 09:48:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * alpha.md (div/mod): Indicate that reg 27 is clobbered too. + * expr.c (expand_expr): Set ignore for COND_EXPR with VOID_TYPE. - * alpha.md (cmov): Add define_split for if_then_else/plus case. - - * expr.c (emit_library_call): Pass correct number of args to - convert_to_mode. + * expr.c (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. - * expr.c (emit_block_move): Eliminate unnecessary test against - HOST_BITS_PER_WIDE_INT. + * optabs.c (widen_operand): New arg OLDMODE. + (expand_binop, expand_unop): Fix calls to widen_operand. - * optabs.c (expand_{binop,unop}): Don't make invalid - paradoxical SUBREGs. +Wed Sep 8 18:25:50 1993 Doug Evans (dje@cygnus.com) - * genattrtab.c (RTL_HASH, attr_rtx): Avoid warnings by casting - pointers to HOST_WIDE_INT instead of int. + * sparc.c, sparc.h, sparc.md: Cosmetic changes only. Just + reordered code a little. +Wed Sep 8 14:49:59 1993 Jim Wilson (wilson@cygnus.com) -Sat Aug 29 15:35:58 1992 Richard Stallman (rms@mole.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. - * toplev.c (lang_options): New table. - (main): Recognize all language-dependent options of any language - and always treat them as language-specific and valid. + * mips.md (fix_truncdfsi2, fixtruncsfsi2): Mark SImode scratch + register as early clobbered when dest is in memory. - * c-decl.c (c_decode_option): -fnotraditional really undoes - -ftraditional. Handle -fno-traditional also. + * fixincludes (sbusdev/audiovar.h): Fix wrongly edited // comments + nested within /* */ comments. -Sat Aug 29 00:34:01 1992 James Van Artsdalen (james at bigtex.cactus.org) + * gcc.c (process_command): Don't warn for -x after last input file + if spec_lang is zero. - * reg-stack.c (record_reg_life): Mark an unused reg as such, even - if it appears in SET_SRC. + * fixinc.mips (bsd43/bsd43.h): Change /**/ to ##. -Fri Aug 28 17:40:49 1992 John F Carr (jfc at Athena.MIT.EDU) + * expr.c (convert_move): When truncating, call force_reg first if + it is something that gen_lowpart won't understand. - * tree.c (chainon): Check for op2 being the last elt of the chain. + * sys-protos.h (getrlimit, getrusage, setrlimit): Return int not void. -Fri Aug 28 13:26:56 PDT 1992 Ron Guilmette (rfg at ncd.com) +Wed Sep 8 11:28:41 1993 John Hassey (hassey@dg-rtp.dg.com) - * cccp.c (do_pragma): Use rindex, not strrchr. + * m88k.c (output_call): Avoid use of jsr.n r1, this loses on + the 88110. - * tree.h (BLOCK_END_NOTE): Macro definition added. - (struct tree_block): `end_note' field added. - * stmt.c (last_block_end_note): New variable. - (remember_end_note): New function. - (expand_end_bindings): Save NOTE_INSN_BLOCK_END in last_block_end_note. - * c-decl.c, cp-decl.c (poplevel): Call `remember_end_note' for each - newly created BLOCK node. - * integrate.c (adjust_copied_decl_tree): New function. - (save_for_inline_copying): When making copies of NOTE_INSN_BLOCK_END - notes, stash a "forwarding" pointer in the original to point to the - copy. Also, when all BLOCKs & insns for a function have been copied, - call `adjust_copied_decl_tree' to fixup the end_note pointers in the - copied BLOCKs. +Wed Sep 8 10:51:07 1993 David Edelsohn (edelsohn@npac.syr.edu) -Fri Aug 28 13:25:59 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * cccp.c (do_pragma): In prev. change, use U_CHAR *, not char *. + * rs6000.c (rs6000_cpu, rs6000_cpu_string): New variables. + (rs6000_override_options): New function. -Fri Aug 28 09:11:56 1992 Tom Wood (wood@dg-rtp.dg.com) + * 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. - * m88k.h (ADJUST_COST): Add definition. +Wed Sep 8 06:34:32 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Aug 27 18:27:02 1992 James Van Artsdalen (james at bigtex.cactus.org) + * c-typeck.c (output_init_element): When adding to + constructor_pending_elts, copy field. - * c-decl.c (init_decl_processing): Add sin and cos as built-in - functions. - * expr.c (expand_builtin): Likewise. +Wed Sep 8 06:15:58 1993 David Gershovich (dgirsh@iil.intel.com) - * expr.h (sin_optab,cos_optab): Declare optabs for sin and cos. - * optabs.c (sin_optab,cos_optab): Define them. - (init_optabs): Initialize them. + * expmed.c (make_tree, case CONST_INT): Properly set high part if + unsigned. - * tree.h (BUILT_IN_SIN,BUILT_IN_COS): New builtin codes. + * optabs.c (expand_binop): Must always widen second operand + of shift. - * reg-stack.c (record_note_if_dead): Delete function. - (record_reg_life_pat): Rewrite to handle any sort of pattern. - (record_reg_life): Change interface to record_reg_life_pat. +Wed Sep 8 05:16:59 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - (stack_reg_life_analysis): Don't assume that MODE_FLOAT values are - always returned in a float reg. + * 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. - (subst_stack_regs_pat): Add support for sin and cos insns. +Tue Sep 7 19:11:20 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * i386.c (all gen_rtx (CONST_INT) references): Use GEN_INT to - generate const_int rtx. - (legitimize_pic_address): Pass NULL_RTX instead of "0" as pointer. + * c-common.c (c_build_type_variant): Allocate new type in same + obstack as old one. - * i386.md (all patterns): Use GEN_INT instead of gen_rtx to get - const_ints. - Avoid double-negative "! NON_*" constructs for clarity. - Pass NULL_PTR as null parameter instead of 0. +Tue Sep 7 17:45:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - (sqrtM2): Patterns are only valid if IEEE FP or -ffast-math. - (sinM2,cosM2): New patterns. - (zero_extract test): New pattern. - (movstrsi): Rewrite expander to handle operands correctly. + * c-typeck.c (digest_init): Fix error message text. -Thu Aug 27 16:58:09 1992 Michael Meissner (meissner@osf.org) +Tue Sep 7 14:32:51 1993 Leonid Baraz (lbaraz@iil.intel.com) - * genattrtab.c (MAX_DIGITS): New macro to gauge how much space we - need to reserve when printing integers. - (expand_delays): Use sizeof and MAX_DIGITS to properly size the - strings when calling attr_printf. - (expand_units): Ditto. - (encode_units_mask): Ditto. - (make_numeric_value): Ditto. - (oballoc): New macro, to allocate from the hash_obstack. - (convert_const_symbol_ref): Call oballoc instead of xmalloc. - (get_attr_value): Ditto. - (fill_attr): Ditto. - (make_length_attrs): Ditto. - (gen_attr): Ditto. - (gen_insn): Ditto. - (gen_delay): Ditto. - (gen_unit): Ditto. - (find_attr): Ditto. - (main): Ditto. + * sched.c (schedule_block): Correct type of BIT. -Thu Aug 27 14:47:16 1992 Mike Stump (mrs@mole.gnu.ai.mit.edu) + * fold-const.c (fold): Don't try to process an RTL_EXPR. - * cp-decl.c (curent_block, struct binding_level, poplevel): Copy - Tue Aug 25 16:29:47 and Wed Aug 26 01:56:30 changes in c-decl.c by - rms. +Tue Sep 7 06:18:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Aug 27 01:32:11 1992 Paul Eggert (eggert@twinsun.com) + * 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. - * c-lex.c, cp-lex.c (readescape): DEL isn't printable. - * c-typeck.c (check_format): Likewise. + * 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. -Wed Aug 26 20:42:36 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Sep 6 14:43:20 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) - * c-lex.c (readescape): For \x, don't include leading 0's in count. + * genextract.c (insn_name_ptr): Define for debugging. + (walk_rtx, case MATCH_OP_DUP): Expand recog_dup_loc using XEXP not + XVECEXP. - * c-decl.c (init_decl_processing): Fix type of __builtin_constant_p. +Mon Sep 6 13:28:03 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * expr.c (emit_block_move): When trying movstrMM, cvt size to mode MM. + * 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. - * c-parse.y (stmt): For computed goto, convert arg to void *. +Mon Sep 6 08:35:34 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * fold-const.c (fold): Do A op C1 ? A : C2 opt only for INTEGER_TYPEs. + * config/mips/mips.h: Don't declare abort. -Wed Aug 26 20:19:56 1992 Mike Stump (mrs@wombat.gnu.ai.mit.edu) +Mon Sep 6 01:03:58 1993 Jim Wilson (wilson@cygnus.com) - * cp-decl.c (insert_block, delete_block): New functions. - * cp-parse.y (primary, using compstmt): Call delete_block instead - of clearing TREE_USED. + * protoize (abort): Correct volatile function declaration. - 11th Cygnus<-->FSF merge. +Sun Sep 5 18:23:09 1993 Doug Evans (dje@canuck.cygnus.com) - Wed Aug 26 12:02:41 1992 Mike Stump (mrs@rtl.cygnus.com) + * Makefile.in (USER_H): Add va-h8300.h. - * cp-decl.c (finish_function): Don't core dump when a conversion is - ambiguous. + * 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. - Tue Aug 25 16:32:42 1992 Mike Stump (mrs@rtl.cygnus.com) +Sun Sep 5 16:00:47 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-init.c (build_new), cp-typeck.c (build_c_cast): Handle ``new - type ( ... )'' better. Default constructors and better error - checking. + * function.c (assign_parms): When parm needs conversion on entry, + don't store it back in the slot where it was passed. - Tue Aug 25 01:21:48 1992 Mike Stump (mrs@cygnus.com) +Sun Sep 5 14:51:14 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * cp-decl2.c (finish_file): Mark " @%$#@!" as being internal. + * c-decl.c (grokdeclarator): For PARM_DECLs, only call + c_build_type_variant is constp or volatilep is true. - Mon Aug 24 16:40:15 1992 Brendan Kehoe (brendan@cygnus.com) +Sun Sep 5 06:44:09 1993 David Edelsohn (edelsohn@npac.syr.edu) - * cp-lex.c (check_newline): For `#pragma implementation', use - strcmp to check if it was done at the top level, rather than relying - on the pointers being the same. + * rs6000.c: (print_operand): Convert fprintf of single letters + to putc and convert fprintf of constant strings to fputs. + Output '%u' operand as hexadecimal. - Mon Aug 24 20:48:16 1992 Mike Stump (mrs@cygnus.com) +Sat Sep 4 11:16:18 1993 Craig Burley (burley@gnu.ai.mit.edu) - Fri Aug 21 14:19:27 1992 Ron Guilmette (rfg at ncd.com) + * c-common.c (truthvalue_conversion): A complex value is nonzero + if either part is nonzero, not if both parts are nonzero. - * cp-decl2.c (grokclassfn): Mark the artificial `this' parameter as - "artificial". +Fri Sep 3 19:02:41 1993 Paul Eggert (eggert@twinsun.com) - Thu Aug 20 22:59:16 1992 Mike Stump (mrs@cygnus.com) + * c-decl.c (build_enumerator): Apply default conversion to + constant-expression. - * cp-spew.c (arbitrate_lookup): Make sure the type name in an - argument list followed by &, or &) is seen as a type name, even when - there is an enumeration constant with the exact same name. +Fri Sep 3 18:03:47 1993 Chris Lang (chrisl@mirc00.ncms.org) - Thu Aug 20 21:58:30 1992 Mike Stump (mrs@cygnus.com) + * cccp.c (skip_if_group): Check for traditional mode when + skipping ahead to next #, ignore unless at beginning of line. - * cp-search.c (get_first_matching_virtual): Don't core dump when a - declaration of a static member is seen with the same name as a base - class virtual function. +Fri Sep 3 18:00:15 1993 Michael Meissner (meissner@osf.org) - Thu Aug 20 21:20:31 1992 Mike Stump (mrs@cygnus.com) + * i386/osfrose.h, i386/osfelf.h (LINK_SPEC): Pass -v and -dn on to + the ELF linker, which now accepts these switches. - * cp-decl.c (finish_function): Don't core dump on parse errors. +Fri Sep 3 13:34:22 1993 Doug Evans (dje@cygnus.com) - Thu Aug 20 20:52:43 1992 Mike Stump (mrs@cygnus.com) + * i386/x-linux: Add -Iinclude to BOOT_CFLAGS. - * cp-method.c (build_component_type_expr): Don't core dump on parse - errors. +Fri Sep 3 01:54:19 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - Thu Aug 20 18:31:58 1992 Mike Stump (mrs@cygnus.com) + * pa.h (READONLY_DATA_ASM_OP): Define. + (READONLY_DATA_SECTION): Define. + (EXTRA_SECTIONS): Add in_readonly_data. + (EXTRA_SECTION_FUNCTIONS): Add readonly_data. - Mon Aug 17 17:08:11 1992 Chip Salzenberg (chip@tct.com) +Thu Sep 2 19:19:14 1993 Holger Teutsch (holger@hotbso.rhein-main.de) - Copy some changes from the C front-end: + * 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. - * cp-type2.c (process_init_constructor): Warn about partly bracketed - initializers. - * cp-typeck.c (build_component_ref): Don't warn for compound and - conditional expressions when pedantic. These are valid in ANSI C. +Thu Sep 2 17:47:57 1993 Doug Evans (dje@canuck.cygnus.com) - Thu Aug 20 16:11:58 1992 Mike Stump (mrs@cygnus.com) + * 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. - * cp-decl.c (start_decl), cp-parse.y (have_extern_spec): extern "C" - int i; is only a declaration, but a definition, make it so. +Thu Sep 2 14:26:28 1993 Michael Meissner (meissner@osf.org) - Thu Aug 20 14:46:39 1992 Mike Stump (mrs@cygnus.com) + * 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. - Thu Aug 20 02:36:39 1992 Ron Guilmette (rfg at ncd.com) + * 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. - * cp-lex.c (cons_up_default_function): Use DECL_SOURCE_LINE = 0 for - compiler generated things, not DECL_IGNORED_P. - Thu Aug 20 13:13:45 1992 Mike Stump (mrs@cygnus.com) + * 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. - Wed Aug 19 13:09:45 1992 Ron Guilmette (rfg at ncd.com) + * 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. - * cp-decl.c (grokdeclarator): Propagate some changes from the C - front-end to deal with variable sized arrays. + * Makefile.in (final.o): Final.c now includes tree.h. - Wed Aug 19 16:55:43 1992 Mike Stump (mrs@cygnus.com) + * m68k/sun3.h (BLOCK_PROFILER_CODE): Move the sun3 specific basic + block profiling code here from libgcc2.c. - * cp-cvt.c (convert_to_reference): Improve wording on error message. - * cp-method.c (type_as_string), cp-pt.c - (mangle_class_name_for_template), cp-xref.c (GNU_xref_decl): Delete - first argument to type_as_string as it is not needed anymore. +Wed Sep 1 19:00:06 1993 Jim Wilson (wilson@mole.gnu.ai.mit.edu) - Wed Aug 19 15:29:02 1992 Mike Stump (mrs@cygnus.com) + * rs6000.md (truncdfsf2): Round to single instead of doing nothing. - Wed Aug 19 13:09:45 1992 Ron Guilmette (rfg at ncd.com) + * jump.c (jump_optimize): When optimize conditional jump around + unconditional jump, handle case where prev_label can be zero. - * cp-decl.c (kept_level_p): Update from C frontend. + * c-decl.c (finish_decl): For static const variables, preserve + initializers instead of discarding them. - Wed Aug 19 14:47:08 1992 Mike Stump (mrs@cygnus.com) +Wed Sep 1 18:43:01 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-decl2.c (groktypefield): Old style conversion operators - are being desupported. Conversion operators much have an - `operator' in front of them. + * reload.c (find_reloads): Bump REJECT for a hard register; just + not for a pseudo. - Wed Aug 19 01:57:04 1992 Mike Stump (mrs@cygnus.com) + * rs6000.md: Clean up hex constants a bit in emitted insns. - * cp-call.c (ideal_candidate): Fix bug introduced on Jan 21 - 7:24:21. Warn about ambiguous function calls with multiple - same cost conversions. + * 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. - Wed Aug 19 00:08:18 1992 Mike Stump (mrs@cygnus.com) +Wed Sep 1 18:08:36 1993 Jim Wilson (wilson@cygnus.com) - * cp-decl.c (grok_enum_decls): Remove invalid error message. + * reload.c (find_reloads_address_1): Handle SUBREGs same as REGs. - Mon Aug 17 18:59:18 1992 Mike Stump (mrs@cygnus.com) +Wed Sep 1 18:03:45 1993 Mike Stump (mrs@mole.gnu.ai.mit.edu) - * cp-cvt.c (convert_to_reference, convert, - build_type_conversion_1, build_type_conversion), cp-init.c - (build_dynamic_new), cp-typeck.c (build_modify_expr_1, - convert_for_initialization): Always use constructor_name, and - never TYPE_IDENTIFIER (type) and similar things. - * cp-init.c (expand_aggr_init_1): Try TYPE_HAS_CONSTRUCTOR - before wasting time trying build_method_call. - * cp-xref.c: Don't include memory.h. + * collect2.c (is_ctor_dtor): Make sizeof argument match the + string. - Mon Aug 17 15:10:21 1992 Mike Stump (mrs@cygnus.com) +Wed Sep 1 15:01:48 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-init.c (expand_aggr_init_1): Check for ambiguous - conversion. One through constructor and the other through a - user defined conversion operator. + * Makefile.in (start.encap): Build g++ here also. - Mon Aug 17 11:51:27 1992 Mike Stump (mrs@cygnus.com) +Tue Aug 31 16:30:53 1993 Jim Wilson (wilson@cygnus.com) - * cp-call.c (convert_harshness): When an argument is T, a T& - should be choosen over a const T& when selecting overloaded - functions. + * 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. - Mon Aug 17 01:37:06 1992 Mike Stump (mrs@cygnus.com) + * reload.c (push_reload): Abort is secondary_reload wants same + class as an input reload. - * cp-call.c (build_method_call): The second argument to - operator delete is sometimes magically deleted. - * cp-decl.c (init_decl_processing, grokfndecl): Global - operator delete never has two arguments. + * 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. - Wed Aug 5 18:54:19 1992 Mike Stump (mrs@cygnus.com) + * Makefile.in (xsys-protos.h): Use fixtmp.c not tmp.c, and delete + it afterwards. - * cp-class.c (finish_struct), cp-tree.c (layout_basetypes): - Make sure VFIELD_BASEs are aligned. This fixes a really - annoying problem that causes code that uses complex - inheritance hierarchies that have virtual bases to get a - segmentation fault. + * 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. - Wed Aug 5 12:35:07 1992 Mike Stump (mrs@cygnus.com) +Tue Aug 31 06:35:37 1993 David Edelsohn (edelsohn@npac.syr.edu) - Wed Aug 5 08:10:34 1992 Tom Wood (wood@dg-rtp.dg.com) + * 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. - * cp-tree.c (__eprintf): `line' is unsigned. - * cp-lex.c: Include stdlib.h and locale.h if needed. - * cp-typeck.c (mark_addressable): Use DECL_EXTERNAL not - TREE_EXTERNAL. +Tue Aug 31 06:25:52 1993 Paul Eggert (eggert@twinsun.com) - Wed Aug 5 03:20:07 1992 Mike Stump (mrs@cygnus.com) + * c-decl.c (struct c_function): Remove unneeded enum_next_value. + (push_c_function_context, pop_c_function_context): Don't save it. - * cp-class.c (finish_struct_methods): Check to make sure - operator delete is not overloaded. - * cp-decl.c (grokfndecl): Check to make sure operator delete - is declared properly. +Mon Aug 30 16:16:56 1993 Paul Eggert (eggert@twinsun.com) - Tue Aug 4 16:52:28 1992 Mike Stump (mrs@cygnus.com) + * 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. - Mon Aug 3 22:55:04 1992 Michael Meissner (meissner@osf.org) +Sun Aug 29 18:34:25 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-decl.c (grokdeclarator): Make sure const and volatile get - put on the type built when building reference types. - * cp-parse.y (attrib): tree_cons takes three arguments, not - two. - * cp-tree.h: Add hash_chainon, build_virtual_init, - build_vbase_delete, build_vbase_vtables_init. - * cp-typeck.c (build_modify_expr_1. build_modify_expr): - build_unary_op takes three arguments, not two. - - Tue Aug 4 16:07:57 1992 Mike Stump (mrs@cygnus.com) + * 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. - Sat Aug 1 16:52:20 1992 John Carr (jfc@Athena.MIT.EDU) +Sat Aug 28 15:04:35 1993 Jim Wilson (wilson@cygnus.com) - * cp-decl.c (): Make sure the base type of an ARRAY_TYPE is - layedout before using it. + * mips.h (SELECT_SECTION): Simplify sdata_section test. -Wed Aug 26 17:04:45 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * tree.h (current_block): Declared. - -Wed Aug 26 15:42:11 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) - - Major rework to have caller-saves emit load/store double insns when - possible and to avoid useless resaving of registers restored for - source accesses only. - * caller-save.c (toplevel): All arrays are multi-dimensional to - hold information for multiple save/restore insns. New variable - hard_regs_need_restore. - (choose_hard_reg_mode): New argument `nregs' indicating how many - hard registers are desired. All callers changed. - (init_caller_save): Change initialization to handle multiple - register saves. A call-used register can not be live across - if we can not find a single register mode to save it in. - (multiple register saves are optional) - (init_save_areas): Change initialization of regno_save_mem to - handle multiple register saves. - (setup_save_areas): Allocate space for consecutive hard registers - in aligned consecutive memory locations. When allocating space - for consecutive hard registers, also initialize regno_save_mem - for each hard register stored as a single word. - (save_call_clobbered_regs): Initialize hard_regs_need_restore. - Set hard_regs_need_restore to hard_regs_saved after crossing - a call. Also recompute n_regs_saved. At the end of a basic block - we need only restore registers in hard_regs_need_restore. - (set_reg_live, clear_reg_live): Do the right thing for - hard_regs_need_restore and hard_regs_saved. - (restore_referenced_regs): Just return if X is a clobber. - Test hard_regs_need_restore to determine when to restore a hard - register from the save area. - (insert_save_restore): Now returns the number of extra registers - saved/restored. New argument `maxrestore' which constrains how - many hard registers should be restored. All callers changed. - Do stores of consecutive registers with double store insns if - possible. Else do them with single word insns. Likewise for - loads, except constrained by maxrestore. Set hard_regs_saved - and hard_regs_need_restore appropriately to minimize useless - saves into the save area. Test against hard_regs_need_restore - when trying to restore multiple regs and similarly test against - hard_regs_saved when storing multiple regs. - - -Wed Aug 26 14:24:28 1992 Michael Meissner (meissner@osf.org) - - * mips.h (LINK_SPEC): Pass -shared, -non_shared on to linker. - * mips-bsd.h (LINK_SPEC): Ditto. - * mips-n5.h (LINK_SPEC): Ditto. - * mips-svr4.h (LINK_SPEC): Ditto. - * mips-sysv.h (LINK_SPEC): Ditto. - * iris.h (LINK_SPEC): Ditto. - * dec-osf1.h (LINK_SPEC): Ditto. - - * dec-osf1.h (DECSTATION): Don't define, since decstatn.h which is - included defines it. - (OBJECT_FILE_COFF): Undefine, since the DEC OSF/1 ldfcn doesn't - look like the coff version. - - * decstatn.h (LINK_SPEC): Don't define if already defined. - -Wed Aug 26 13:56:08 1992 Tom Wood (wood@dg-rtp.dg.com) - - * reorg.c: Enhance to fill the last delay slot of a call with an - unconditional jump. - (fill_simple_delay_slots): Look for the case of a call/branch - first. If this applies, record the jump as `last_delay_insn'. - Later, don't look for additional delay insns if the last one has - alreay been filled. - (mark_target_live_regs): A sequence may end in an unconditional - branch. - - * m88k.md (define_function_unit): Correct and simplify memory unit - specification. - -Wed Aug 26 01:56:30 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c-decl.c (poplevel): Store into BLOCK iff it is non-null. - -Tue Aug 25 23:24:45 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - - * sched.c: Add #ifdef INSN_SCHEDULING around variables only used - by schedule_insns. - (INSN_QUEUE_SIZE): Delete default definition. - - * optabs.c, expr.c: Partially undo Mar 7 change. Only call - emit_library_call with no_queue == 1 for const functions. - - * sparc.c (SF_MODES): Allow SImode in fp registers. - (output_floatsisf2, output_floatsidf2, output_floatsitf2): Delete. - * sparc.h: Delete declarations of the above 3 functions. - * sparc.md (float*, fix*): Rewrite to match hardware; take/put - integer input/output from/to fp register instead of memory or - general register. Delete 6 now obsolete combiner patterns. - -Tue Aug 25 16:40:15 1992 Brendan Kehoe (brendan@cygnus.com) - - * cccp.c (do_pragma): Warn if `#pragma implementation "foo.h"' is - invoked after "foo.h" has been included. - -Tue Aug 25 16:29:47 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * stmt.c (struct goto_fixup): New field context. - (fixup_cleanups): Function deleted. - (fixup_gotos): Put the fixup in a block, and put that block - into its proper place. Use sequences, not reorder_insns. - - * c-decl.c (current_block): New function. - (struct binding_level): New field this_block. - (poplevel): Use this_block if nonzero, rather than making new BLOCK. - - * sched.c (INSN_QUEUE_SIZE): Add default definition. - -Tue Aug 25 15:19:26 1992 Tom Wood (wood@dg-rtp.dg.com) - - * sched.c (schedule_block): Add a virtual cycle counter CLOCK. - Pass CLOCK to schedule_insn. - Compute the tail in the scheduling loop, not before it. - Enable the stall code that advances the insn queue. - Select the insn to schedule and block others with schedule_select. - (adjust_priority): Renamed from launch_link. - (schedule_insn): Renamed from launch_links. - - * genattrtab.c (struct attr_desc): Add unsigned_p field. - (struct function_unit_op): Add issue_delay, conflict_exp, and - issue_exp fields. Drop busyexp field. - (struct function_unit): Add needs_blockage_function, - needs_range_function, issue_delay, and max_blockage fields. Drop - costexp, and busy delay fields. - (enum operator): Add POS_MINUS_OP, EQ_OP, MIN_OP, RANGE_OP. - (operate_exp): Implement new ops. - (make_internal_attr): Set unsigned_p based on the value of SPECIAL. - (write_attr_get): Function is unsigned when unsigned_p is true. - (write_attr_valueq): Write hex value of large constants in a comment. - (simplify_by_exploding): Check for EXP having no EQ_ATTR expressions - and for all values as the default. - (find_and_mark_used_attributes): Add TERMS and NTERMS parameters. - (max_attr_value): Allow IF_THEN_ELSE. - (simplify_knowing, write_complex_function, extend_range): New - functions. - (gen_unit): Use local variables to name the fields. Change the - meaning of busy-delay to issue-delay. - (expand_units): Compute issue_exp. Write attributes for computing - `_unit_blockage' and `_unit_blockage_range' functions. - Compute max_blockage, and the needs_*_function values. - (write_function_unit_info): Write blockage function and conflict cost - functions using write_complex_function. Write new function_unit_desc - fields. - * genattr.c (extend_range, init_range): New functions. - (write_units): Add blockage_function, blockage_range_function, - max_blockage and max_issue_delay fields to struct function_unit_desc. - Drop max_busy_cost field. Write #defines for min/max blockage, - issue delay, multiplicity, and simultaneity and for BLOCKAGE_BITS - and INSN_QUEUE_SIZE. - (main): Compute the new values. - * sched.c (insn_queue): Use INSN_QUEUE_SIZE. - * rtl.def (define_function_unit): Update documentation. - - * sched.c (insn_units, insn_blockage, insn_tick, unit_last_insn, - unit_tick, unit_n_insns): New variables. - (schedule_insns): Allocate and initialize insn_tick, insn_units, and - insn_blockage. - (insn_unit, blockage_range, clear_units, prepare_unit, schedule_unit, - actual_hazard_this_instance, actual_hazard, potential_hazard, - schedule_select): New functions. - (schedule_block): Add dependencies to force insns to remain in order - at the end of a block rather than relying on having the scheduler - issue them in priority order. - - * sched.c (insn_cost): Add LINK and USED parameters. All callers - changed. Supply an ADJUST_COST interface. - (insn_cost): Make a dependence from a USE insn free. - (priority): Clear the link cost adjustment bits. - * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): New macros. - - * genattrtab.c (expand_units): Use the normalized values of the - unit's CONDEXP and BUSYEXP. - - * a29k.md (define_function_unit): Change meaning to ISSUE-DELAY. - * i960.md (define_function_unit): Change meaning to ISSUE-DELAY. - * m88k.md (type attribute, movdi movdf insns): Add loadd. - (unit attribute): Delete. - (function units): Correct simultaneity values. Break out - independent units. Add conflict matrix for the 88100 load double. - * mips.md (define_function_unit): Change meaning to ISSUE-DELAY. - * pa.md (define_function_unit): Change meaning to ISSUE-DELAY. - * sparc.md (define_function_unit): Change meaning to ISSUE-DELAY. - Merge FP_MUL, FP_DIV, and FP_SQRT into one function unit. - - * jump.c (delete_computation): Derived from delete_jump. - (delete_jump): Use delete_computation. - -Tue Aug 25 13:42:19 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * final.c (final_scan_insn): If 2 consec line notes have same line num, - can omit one. - -Tue Aug 25 13:38:19 1992 Michael Meissner (meissner@osf.org) - - * mips.h (MIPS_VERSION): Set Meissner version # to 24. - (ASM_FINAL_SPEC): Use %U to get the last file name created with - %u, rather than %u. - (ARG_POINTER_REGNUM): Use the hardwired register $0 as the - argument pointer, instead of the frame pointer, to allow the frame - pointer to be the same as the stack pointer after the initial - stack allocations. This is to allow GCC generated code to be - linked against MIPS shared libraries. The linker rearranges the - code, and needs to have a frame pointer, if used, to be the same - as the stack. The argument pointer is always eliminated in favor - of the stack pointer or frame pointer. - (FRAME_GROWS_DOWNWARD): Don't define this any more. - (STARTING_FRAME_OFFSET): Locals start after the stack area to pass - arguments to called functions. - (STACK_DYNAMIC_OFFSET): If function is a leaf function, but calls - __builtin_alloca, assume a default argument area, so the MIPS - linker doesn't think a second frame pointer is created. - (INITIAL_FRAME_POINTER_OFFSET): Don't define, since we use - elimination instead. - (ELIMINABLE_REGS): Define to eliminate both the stack pointer and - frame pointer, since they are now separate. - (CAN_ELIMINATE): Ditto. - (INITIAL_ELIMINATION_OFFSET): Ditto. - (ELIGIBLE_FOR_EPILOGUE_DELAY): Don't allow variables based off of - the argument pointer, in addition to frame and stack pointers. - (MUST_SAVE_REGISTER): Add in GP_REG_FIRST to 31, in case we ever - change the base of the gp registers. - (MIPS_STACK_ALIGN): Use ~7, instead of 0xfffffff8. - - * mips.c (number_functions_processed): Delete variable, nobody - uses it anymore. - (mips_debugger_offset): Add support for the frame pointer being - the same as the stack pointer, instead of being the same as the - argument pointer. Abort if the address is not based on any of the - stack, frame, or argument pointers. - (print_operand_address): Add checks for the arg pointer not being - eliminated. - (function_prologue): Ditto. - (mips_expand_prologue): Ditto. - (function_epilogue): Ditto. - (mips_expand_epilogue): Ditto. - (function_epilogue): Strip leading '*' if it exists from - current_function_name when printing statistics. Delete increment - of number_functions_processed. - (compute_frame_size): Don't base extra_size on the macro - STARTING_FRAME_OFFSET. If function is a leaf function, but calls - __builtin_alloca, allocate an arg area, so that the MIPS linker - will not complain about creating a second frame pointer. Move the - argument save area beneath local variables. - - * decrose.h (ASM_FINAL_SPEC): Use %U to get the last file name - created with %u, rather than %u. - - * gcc.c (do_spec_1): Add %U to return the last name generated with - %u. This is for use with mips-tfile, to find the generated object - file. - - -Mon Aug 24 18:09:34 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c-typeck.c (build_unary_op): For ADDR_EXPR, just set TREE_CONSTANT - if staticp, but don't clear TREE_CONSTANT. - -Mon Aug 24 13:52:13 1992 Brendan Kehoe (brendan@cygnus.com) - - * gcc.c (process_command): Don't set verbose_flag if they make a - typo (e.g., `-v-E'); only when it's exactly "-v". - -Mon Aug 24 06:49:16 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * combine.c (subst): When moving operation inside IF_THEN_ELSE, - make a new rtx instead of using SUBST due to sharing. - - * combine.c (simplify_comparison): Correct test for sign extension - when trying to widen comparison. - -Sun Aug 23 18:58:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * fold-const.c (fold): Avoid the normal STRIP_NOPS on arg of NOP_EXPR. - -Sun Aug 23 15:32:03 PDT 1992 Ron Guilmette (rfg at netcom.com) - - * stmt.c (expand_end_bindings): Generation of NOTE_INSN_BLOCK_END - moved down so that it occurs after call to `expand_cleanups'. - -Sun Aug 23 16:24:32 1992 Michael Meissner (meissner@osf.org) - - * decrose.h (CPP_SPEC): Don't define strcmp as __builtin_strcmp in - the case neither -fbuiltin nor -fno-builtin were defined. - * i386rose.h (CPP_SPEC): Ditto. - -Sun Aug 23 02:03:41 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * libgcc2.c (__builtin_new): Cast the result of malloc. - - * toplev.c: Fix typo in prev change. - - * c-decl.c (insert_block, delete_block): New functions. - * c-parse.y (primary, using compstmt): Call delete_block - instead of clearing TREE_USED. - * expr.c (expand_expr): For BIND_EXPR, call insert_block on the block. - -Sat Aug 22 14:12:02 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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'. - * configure: Use absolute pathname in value of INSTALL. +Fri Aug 27 15:43:19 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sat Aug 22 06:42:39 1992 Tom Wood (wood@dg-rtp.dg.com) + * 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. - * emit-rtl.c (insn_emit_once): Provide a zero constant for CC modes. + * rs6000.h (LINK_SPEC): Add -bexport:/usr/lib/libg.exp when -g. -Fri Aug 21 18:33:30 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) +Fri Aug 27 13:17:28 1993 Jim Wilson (wilson@cygnus.com) - * reorg.c (fill_simple_delay_slots): Always try to fill empty - delay slots with insns from beyond the delay insn, even if - optimize_skip was attempted. - (fill_simple_delay_slots): When filling with insns from after the - delay insn, make sure to always account for the sets and - references in the delay insn. + * 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. -Fri Aug 21 16:47:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Aug 26 17:59:38 1993 Doug Evans (dje@cygnus.com) - * sparc.c (print_operand): Use output_operand_error for unknown code. + * gstdarg.h, gvarargs.h: Add support for H8/300H. + * va-h8300.h: New file. - * c-typeck.c (build_conditional_expr): Use TREE_READONLY and - TREE_THIS_VOLATILE, not TYPE_... +Thu Aug 26 15:15:27 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Fri Aug 21 14:02:20 1992 James Van Artsdalen (james at bigtex.cactus.org) + Cygnus<->FSF C++ front-end merge. + Wed Aug 25 17:55:58 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * reload.c (find_dummy_reload): Restore original RTX instead of - passed IN rtx. + * cp-class.c (alter_visibility): Properly grok protected visibility. -Fri Aug 21 07:53:12 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + Wed Aug 25 12:55:17 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * optabs.c (expand_binop): If, e.g., mulqi3 doesn't exist, try - mulqihi3. + * cp-typeck.c (c_sizeof): If we're given an OFFSET_TYPE, work with + the type it refers to. - * rs6000.h (FUNCTION_ARG): Don't make an EXPR_LIST if making a libcall. + * cp-decl.c (finish_function): Properly handle inline functions, + don't just call rest_of_compilation. - * combine.c (subst): Move up test for too many restarts. - If we restart, clear OP0_MODE since we don't know it. + * cp-decl2.c (flag_inline_debug): Deleted, never used. + (lang_f_options): Deleted -finline-debug. + * toplev.c (lang_options): Likewise. -Fri Aug 21 02:11:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Tue Aug 24 16:06:23 1993 Mike Stump (mrs@poseidon.cygnus.com) - * emit-rtl.c (emit_insns_after): New function. + * cp-dem.c: Deleted. See demangler in the binutils distribution. -Fri Aug 21 01:53:04 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) + Tue Aug 24 14:24:34 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * pa.md (call_value+1): For non-dynamic calls, use the "call" - attribute, set length to 1, and fix output template to work - properly with delay slots. + * cp-decl.c (start_function): Don't get ready to complain about a + built-in C-linkage function against a C++-linkage function. - * pa.md (address and use_call_clobbered attributes): Deleted, - these attributes are useless. All references deleted. - (call define delay): Use "in_branch_delay" as the condition since - "call" delay slots and unconditional "branch" delay slots allow the - same type of insns. - (in_call_delay conditional): Deleted. - (branch define delay): Do not define an annul-if-true delay slot. - It is useless for an unconditional branch. - (all delay branch conditionals): Make sure "call", "dyncall", "multi", - and "milli" insns are explicitly disallowed in delay slots. + Tue Aug 24 13:54:43 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) - * pa.c (output_mul_insn): Delete nop after branch in template, - conditionally emit a nop if the delay slot was not filled. (via %#) + * g++.c: also include - * pa.c (output_function_prologue): Handle profiling in a function - without a frame pointer. + Tue Aug 24 05:39:57 1993 Michael Tiemann (tiemann@blues.cygnus.com) -Thu Aug 20 16:16:40 1992 Tom Wood (wood@dg-rtp.dg.com) + * 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. - * va-m88k.h (__INT_VARARGS_H): Define this to avoid trouble on DG/UX. + Mon Aug 23 14:04:34 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Thu Aug 20 11:07:26 1992 Michael Meissner (meissner@osf.org) + * cp-parse.y (datadef): Disallow forward declaration of an enum. - * final.c: Move include of stdio.h before output.h. + * 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. -Thu Aug 20 01:08:55 1992 Pat Rankin (rankin at eql.caltech.edu) + * cp-decl.c (start_function): Don't error out if it's a static + function; don't return 0, which can cause other problems. - Support for bootstrapping cpp & cc1 with VAX C under VMS. + Sun Aug 22 18:00:57 1993 Michael Tiemann (tiemann@blues.cygnus.com) - * xm-vax-vms.h (USE_C_ALLOCA,NO_STAB_H): Define for VAXC. - (bcopy,bzero,bcmp,index,rindex): Define as ANSI/SYSV counterparts. - (QSORT_WORKAROUND, qsort): New macros, for avoiding buggy - qsort in VAXCRTL library. - (check_for_full_enumeration_handling,...): Use macros to shorten - several external names which are longer than 31 characters to - avoid warnings about truncation. - (unlink): Remove redundant definition. - * vax.c (not_qsort): New function. - * cccp.c (toplevel: create_definition): Move forward declaration - past the definition of struct macrodef. - (strncat): New function. - (bcopy, bzero, bcmp): Remove #if VMS code--always use inline C loops. - * genrecog.c, reload1.c: Compare enums (preds. codes, mem_mode) - explicitly to 0 in conditionals to work-around a VAXC bug that - disallows enum as arguments to && and || operators. - * getpwd.c (getpwd): Add alternative defn for VMS. - * toplev.c (environ): Make declaration conditional. - (main: -g debugging setup): Get rid of \ in #if condition. - * make-cccp.com,make-cc1.com (CC,CFLAGS,LIBS): Add commented command - variants for bootstrapping gcc-cpp and gcc-cc1 with VAXC. - * make-cccp.com (alloca): Build alloca.obj from alloca.c if LIBS needs it. + * 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. - Not yet installed: + Sun Aug 22 13:31:44 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * machmode.h (FILE_TYPE): For VMS, make sure FILE_TYPE is not - defined as a macro, so that VAXC's won't break tree.h. - * genemit.c (gen_exp): #if VAXC, output a newline in front of - gen_rtx calls, to prevent excessively long lines in insn-emit.c. + 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. -Thu Aug 20 11:32:18 1992 Michael Tiemann (tiemann@mole.gnu.ai.mit.edu) + * cp-init.c (build_new): Don't clear LOOKUP_COMPLAIN on flags, since + we need to honor the visibility of what we find. - * cp-tree.h: Fix incorrect comment about "$this" needing to - be lexicographically less than any other identifier. + Sat Aug 21 12:07:26 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Thu Aug 20 05:37:00 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * 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. - * a29k.md (load_multiple): Operand 2 should be a MATCH_OPERAND. - (store_multiple_{,no_}bug): Likewise. + * cp-parse.y (primary, PLUSPLUS/MINUSMINUS): Resolve the OFFSET_REF + here. + * cp-typeck.c (build_x_unary_op): Not here. - * reorg.c (mark_set_resources): Fix two bugs in last change. + * 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. - * expr.c (init_expr_once): Set direct_load and direct_store if SOME - hard register can be loaded or stored; not just if the first one - we pick can be. + Fri Aug 20 13:35:54 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Thu Aug 20 01:40:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + 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. - * combine.c, emit-rtl.c, final.c, gcc.c, genattrtab.c, mips-tfile.c: - Put include of stdio.h after GCC header files - (for i860-stardent-sysv4). - * tree.c: Likewise. + * 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. - * fixincludes (stdio.h): Rename va_list to __va_list__ to coexist - with gvarargs.h. + * 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. -Wed Aug 19 21:06:49 1992 Jim Wilson (wilson@cygnus.com) + Thu Aug 19 18:24:25 1993 Mike Stump (mrs@cygnus.com) - * cccp.c (finclude): Increment indepth before calling - trigraph_pcp, so that warning uses the correct file name. + * 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++. -Wed Aug 19 07:07:41 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + Thu Aug 19 12:21:12 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * combine.c (force_to_mode): Add missing test of and_optab. + * cp-typeck.c (build_x_unary_op): When we receive an OFFSET_REF, + resolve it before looking for a way to handle the operation. - * genconfig.c (have_cmove_flag): New variable. - (walk_insn_part): Add new parm NON_PC_SET_SRC; all callers change. - Look for IF_THEN_ELSE in a SET_SRC that isn't setting PC and - set have_cmove_flag if so. - (main): Define HAVE_conditional_move if have_cmove_flag is non-zero. - * combine.c (subst, case AND): Only make IF_THEN_ELSE if conditional - moves exist. + * cp-method.c: Include ctype.h. - * cse.c (find_comparison_args): Look for comparison operations - if the second arg is 0 in any mode. - (record_jump_cond): Don't make classes equivalent for floating-point - equality comparison. + Thu Aug 19 12:00:08 1993 Mike Stump (mrs@cygnus.com) - * local-alloc.c (alloc_qty_for_scratch, block_alloc): Provide - alternate code in some cases when REGISTER_CONSTRAINTS is not - defined. - (requires_inout_p): Only used when REGISTER_CONSTRAINTS is defined. + * cp-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. - * reorg.c (mark_set_resources): Add new parm IN_DEST; add callers - changed. - Rework to scan an entire insn to look for auto-inc operations. + Thu Aug 19 00:41:55 1993 Mike Stump (mrs@cygnus.com) - * unroll.c (copy_loop_body): Add missing declaration of EXIT_LABEL - parameter. + * cp-init.c (expand_aggr_init): Avoid faulting, give error instead. - * function.c (instantiate_decl): New function. - (instantiate_decls{,_1}): Call it. + Wed Aug 18 22:43:25 1993 Mike Stump (mrs@cygnus.com) - * combine.c (simplify_comparison): Add a few more cases where we can - do the comparison in a wider mode. + * 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. - * combine.c (distribute_notes, REG_EQUAL): Don't put back a note - with a non-constant expression since it may no longer be valid. + * 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 Aug 18 23:07:33 1992 Mike Stump (mrs@cygnus.com) + * cp-tree.h (struct lang_type): Fill out type_flags to multiple of 4 + bytes for MIPS. - * expr.c (expand_expr): The first expansion of a TARGET_EXPR - is marked by DECL_RTL (slot) being filled in AND TREE_OPERAND - (exp, 1) being wiped-out with a NULL_TREE, not just the - DECL_RTL (slot) being filled in. + Fri Aug 13 16:07:46 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Tue Aug 18 00:07:23 1992 Dennis P. Glatting (dglattin@trirex.com) + * cp-lex.c (DEBUG_DEFAULT_FUNCTIONS): Take out the #undef, so we can + use the command line to turn this on. - * objc-actions.c - (build_selector_translation_table): NULL-terminate the - selector list. Mark _OBJC_SELECTOR_REFERENCES_decl as static, - not extern. + * cp-decl.c (grokdeclarator): Look for IDENTIFIER_TEMPLATE in the + name of current_class_type, not in current_class_type itself. -Tue Aug 18 21:38:46 1992 Mike Stump (mrs@hal) + * 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. - * xcoffout.c (assign_type_number): Skip decls with no name. + Fri Aug 13 12:26:41 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * expr.c (expand_expr): When expanding TARGET_EXPRs, make sure - that they are only expanded once, after the first expansion, - the rtl can be used without further expansions. + * 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. -Tue Aug 18 12:58:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * x-i386sco (X_CFLAGS): Defined. + Thu Aug 12 10:56:50 1993 Mike Stump (mrs@cygnus.com) - * stmt.c (expand_return): Call emit_queue in ignore-the-value case. - (expand_end_bindings): Check DECL_IN_SYSTEM_HEADER for unused warnings. + * cp-method.c (build_overload_name): Allow the debugger to + deterministically demangle names with more than 9 nested class + levels. - * combine.c (simplify_comparison): - Rearrange conditional in SUBREG case. + Thu Aug 12 00:46:54 1993 Mike Stump (mrs@cygnus.com) -Tue Aug 18 06:49:43 1992 Tom Wood (wood@dg-rtp.dg.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. - * cccp.c (HOST_WIDE_INT): Copy definition from machmode.h. - - * c-typeck.c (parser_build_binary_op): Replace the assignment of CLASS. + Thu Aug 12 00:38:05 1993 Per Bothner (bothner@kalessin.cygnus.com) - * configure (Makefile edits): Make the edits independent. - * Makefile.in (sed marker): Use the order {target, host, cross-make}. + * cp-decl2.c (finish_file): Use new get_file_function_name(). + * cp-tree.h (FILE_FUNCTION_FORMAT): No longer needed. -Tue Aug 18 00:15:12 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Fri Aug 6 11:37:08 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * c-typeck.c (parser_build_binary_op): - For Z 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. - * a29kunix.h (LINK_SPEC): Add %s for default.ld. - (LINK_LIBGCC_SPECIAL): No longer needed. - (ASM_FILE_STARY): Add shared data section. - (SHARED_SECTION_ASM_OP): New macro. - (OVERRIDE_OPTIONS): If -fshared-data, add -fno-common. +Tue Aug 24 14:04:11 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * alpha.c (alpha_function_needs_gp): New variable. - (output_prolog): Set it. - Write label after LDGP if function has recursive call and needs GP. - (current_function_operand, divmod_operator, alpha_gp_dead_after): - New functions. - (print_operand, case 'E', 'F'): New cases. - (alpha_need_gp): Just test for type of LDSYM, not CALL_INSN. - * alpha.h (GO_IF_LEGITIMATE_ADDRESS): Allow a SYMBOL_REF for - the current function as a valid address. - * alpha.md (divXi3, udivXi3, modXi3, umodXi3): New patterns. - (cmov): Add pattern for addq/cmov for signed divide by power of 2. - (call): Omit GP restore if it is dead. - Add patterns for recursive calls. - (branch): Change type of everything but calls to IBR. - (unaligned_storehi): Fix numbering of operands. - * xm-alpha.h (malloc, realloc, sbrk): Declare as void * if __STDC__. + * pa.c (compute_frame_size): Always align stack to 64 byte + boundary. - * libgcc2.c (builtin_new): Remove declaration of malloc. + * pa.h (STACK_BOUNDARY): Stack pointer is 512 bit (64 byte) + aligned. - * expmed.c (expand_mult): Bound second synth_mult cost by cost of - algorithm from first call. + * pa.c (output_call): Use ASM_OUTPUT_INTERNAL_LABEL instead of + output_asm_label. - * expmed.c (expand_divmod): When doing logical operations, the size - of COMPUTE_MODE should be used, not MODE. +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. - * combine.c (struct undo, struct undo_int): Replace non-portable - usage with some unions. - (SUBST, SUBST_INT, undo_all, gen_rtx_combine): Make consistent - with new definitions. +Mon Aug 23 19:37:33 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * fold-const.c (fold): Move conversion back outside of COND_EXPR - if moving it inside didn't help anything. + * pa.h (TARGET_TRAILING_COLON): Delete switch. TARGET_GAS now + controls the use of trailing colons. - * fold-const.c (div_and_round_double): Change some more ints - to HOST_WIDE_INTs. +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. - * jump.c (jump_optimize): Allow SUBREG in many places where REG - is allowed. + * 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. - * expr.c (expand_expr, case COMPONENT_REF): Don't actually do - extraction from memory if we want address. +Mon Aug 16 18:47:56 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * expr.c (emit_block_move): Fix problems in last change. + 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. -Mon Aug 17 03:37:10 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * collect2.c (is_ctor_dtor): Don't collect cfront init fcns. +Mon Aug 16 12:38:28 1993 John Hassey (hassey@dg-rtp.dg.com) - * Makefile.in (GCC_FOR_TARGET): Put -B./ here. - (GCC_CFLAGS): Not here. + * fixinc.dgux: Fixed va_list problem in _int_varargs.h -Sun Aug 16 10:38:10 1992 Torbjorn Granlund (tege@jupiter.sics.se) +Mon Aug 16 11:26:57 1993 Kevin Buettner (kev@spuds.geg.mot.com) - * ns32k.c (print_operand_address): Fix typo. + * configure (m88k-mot-sysv4*): Added new configuration for m88k + delta machines running svr4. -Sat Aug 15 20:23:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/m88k/mot-sysv4.h: New file. - * cccp.c (PTR_INT_TYPE): Don't define this. - (pcfinclude): Use int, not PTR_INT_TYPE. +Mon Aug 16 11:16:32 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) -Sat Aug 15 11:10:07 1992 Michael Meissner (meissner@osf.org) + * combine.c: (use_crosses_set_p): Check for partially overlapping + hard regs. - * mips.h (ASM_FINAL_SPEC): For output of as when -c is not used, use - %u rather than %g so each object filename will be unique. - * decrose.h (ASM_FINAL_SPEC): Ditto. +Sun Aug 15 20:17:20 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * x-decrose (CLIB, X_CFLAGS): Don't link in libbsd.a, instead use - -Dvfork=fork on the command line. - * x-encrose (CLIB, X_CFLAGS): Ditto. - * x-i386rose (CLIB, X_CFLAGS): Ditto. + * 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. -Sat Aug 15 06:36:15 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Fri Aug 13 16:40:03 1993 Pat Rankin (rankin@eql.caltech.edu) - * cccp.c: Remove declaration of malloc and realloc. + * c-typeck.c (check_format): For scan of "%[", skip over scan set + til closing ']' to avoid processing it as ordinary format characters. - * combine.c (get_last_value): Don't go past a CODE_LABEL when - searching for a value. +Fri Aug 13 16:02:23 1993 Chip Salzenberg (chip@fin.uucp) - * expr.c (convert_move): Copy SUBREG to REG in one more case. + * 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. - * expr.c (do_jump*): Always do comparison in object's signedness - now that combine can remove extraneous sign extends. +Fri Aug 13 14:58:52 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sat Aug 15 00:52:08 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/ns32k/encore.h (ASM_OUTPUT_ALIGN_CODE): Override as no-op. - * fixincludes (ansi_compat.h): Replace this with an empty file. +Fri Aug 13 14:29:17 1993 Stephen Moshier (moshier@world.std.com) - * gcc.c (process_command): In second loop over all switches, - don't increment I for switches that don't have separate arguments. + * sparc.h (LONG_DOUBLE_TYPE_SIZE): Define to 128. - * cccp.c: Don't ever include stddef.h. - (append_include_chain): Avoid using size_t. - (initialize_builtins): Output defn of __WCHAR_TYPE__ just once. + * 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. - * ns32k.md (movstrsi1): Renamed from movstrsi. - (movstrsi): New define_expand. + 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. -Fri Aug 14 18:51:57 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * 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. - * sched.c (attach_deaths_insn): Don't call attach_deaths for CLOBBERs. +Fri Aug 13 07:50:42 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Fri Aug 14 18:47:22 1992 Tom Wood (wood@dg-rtp.dg.com) + * expr.c (expand_expr, case SAVE_EXPR): Set MEM_IN_STRUCT_P + appropriately when the result is a MEM. - * genattr.c (write_units): Write #defines for the number of - function units, the min/max ready cost and min/max busy delay. - Add max_busy_cost field to struct function_unit_desc. + * integrate.c (expand_inline_function): Copy args that are in + hard regs instead of substituting them directly into insns. - * genattrtab.c (simplify_by_exploding, find_and_mark_used_attributes, - unmark_used_attributes, add_values_to_cover, increment_current_value, - test_for_current_value, simplify_with_current_value, - simplify_with_current_value_aux): New functions. - (struct function_unit): Add max_busy_cost, {min,max}_busy_delay. - (expand_units): Use simplify_by_exploding to simplify the - function_units_used attribute. Compute the ready cost attributes - as a COND in numeric order. - (gen_unit): Compute {min,max}_ready_cost and {min,max}_busy_delay. - (write_function_unit_info): Determine if there is only one busy - delay value by comparing the minimum and maximum busy delay. - Write the initializer for function_units in numeric order. - Write out the maximum busy delay field. + * rs6000.md (subsi3): Merge alternatives. + (comparison patterns): Eliminate generation of "sfi."; no such + instruction exists. - * genattrtab.c (attr_desc): Add negative_ok field. - (find_attr, make_internal_attr): Initialize negative_ok. - (check_attr_value): Allow negative values for CONST_STRING for - numeric attributes with negative_ok. - (encode_units_mask): Change the encoding of the function_units_used - result. +Thu Aug 12 21:24:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * gcc.c (do_spec_1): Add %u. - (default_compilers): For output of as when -c is not used, use %u - rather than %g so each object filename will be unique. + * config/m68k/sun3.h (CPP_PREDEFINES): Define _CROSS_TARGET_ARCH. - * cexp.y, cccp.c, gcc.c (NULL_PTR): Use the same definition as - rtl.h and tree.h. +Thu Aug 12 19:02:47 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Fri Aug 14 20:53:00 1992 Paul Eggert (eggert@twinsun.com) + * 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. - * c-decl.c (grokdeclarator): Remove duplicate diagnostic for - initialized parameters; start_decl already does this. + * rs6000.md (plus): Split (plus (COMPARISON FOO ...) ...) at FOO. - * c-common.c (truthvalue_conversion): Optionally warn if an - unparenthesized assignment is used as a truth value. - * c-parse.y, objc-parse.y (expr_no_commas): - Mark assignments for warning. +Thu Aug 12 14:04:40 1993 Michael Meissner (meissner@osf.org) -Fri Aug 14 14:45:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * vax.md (casesi1): Renamed from casesi. - (casesi): New trivial define_expand invokes casesi1. - (movstrhi, movstrhi1): Analogous change. + * i386/osfelf.h (CPP_SPEC): If -mno-underscores, define + __NO_UNDERSCORES__. -Fri Aug 14 14:36:52 1992 Tom Wood (wood@dg-rtp.dg.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__. - * reload.c (find_reloads): Ignore `%' in the last operand after - warning. +Thu Aug 12 13:42:04 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) -Fri Aug 14 07:41:34 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * 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. - * genflags.c (num_operands): MATCH_PARALLEL also represents an operand. + * 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. - * jump.c (invert_exp, redirect_exp): No longer static. - Clean up order of declarations at start of file and remove - extraneous decls. - * unroll.c (copy_loop_body): Don't assume (pc) can be on either - leg of jump; use invert_exp and redirect_exp instead. + * sparc.h (ASM_OUTPUT_DOUBLE): Always use REAL_VALUE_TO_TARGET_DOUBLE. + (ASM_OUTPUT_FLOAT): Always use REAL_VALUE_TO_TARGET_SINGLE. - * alpha.c, alpha.h, alpha.md, xm-alpha.h, x-alpha, va-alpha.h: - New files. - * config.sub: Add "alpha". - * configure: Likewise. - * Makefile.in (USER_H): Add va-alpha.h and sort names. - * gstdarg.h, gvarargs.h: Call va-alpha.h for Alpha. +Wed Aug 11 19:48:24 1993 Per Bothner (bothner@kalessin.cygnus.com) - * rtl.def (MATCH_PAR_DUP): New RTL code. - * genconfig.c (walk_insn_part): Treat it just like MATCH_OP_DUP. - * genemit.c (max_operand_1): Likewise. - (gen_exp): Treat it like MATCH_PARALLEL here. - * genextract.c (walk_rtx): Treat it like MATCH_DUP. - * genoutput (scan_operands): Likewise. - * genpeep.c (match_rtx): Likewise. - * genrecog.c (add_to_sequence): Likewise. - * a29k.md, rs6000.md ({load,store}_multiple): Use MATCH_PAR_DUP. + * 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. - * cse.c (fold_rtx): Fix typo in two FLOAT_STORE_FLAG_VALUE tests. +Wed Aug 11 19:50:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * flow.c (life_analysis, propagate_block, dump_flow_info): Add more - missing casts to REGSET_ELT_TYPE. + * 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. - * expr.c (movstr_optab): New variable. - (init_expr_once): Initialize it. - (emit_block_move): Rework code that generates movstrxx insns to - check predicates and use an optab. +Wed Aug 11 15:09:52 1993 Michael Meissner (meissner@osf.org) - * cse.c (simplify_unary_operation): Remove "else". + * 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. -Fri Aug 14 07:41:05 1992 Torbjorn Granlund (tege@jupiter.sics.se) +Wed Aug 11 17:59:28 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * c-decl.c, cse.c, fold-const.c, integrate.c, obstack.h, protoize.c, - reload1.c, stmt.c, tree.c, tree.h: Phicks speling erours. + * combine.c (combine_instructions): Fix typo on test of basic block + number. -Fri Aug 14 03:21:17 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Aug 11 17:44:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-convert.c (convert): When converting to variant of same type, fold. + * configure (m68k-hp-bsd4.4*): Add missing *; + move before m68k-hp-bsd*. - * varasm.c (assemble_variable): Change error message for unknown size. +Wed Aug 11 09:21:56 1993 Ian Lance Taylor (ian@cygnus.com) - * c-parse.y (declmods): Don't warn for multiple storage classes - all at the beginning. This is either good practice or an error. + * 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). -Thu Aug 13 19:43:13 1992 Paul Eggert (eggert@twinsun.com) +Tue Aug 10 15:12:11 1993 Jim Wilson (wilson@cygnus.com) - * c-decl.c (finish_decl): Avoid cascading messages for tentative - definitions with incomplete types. + * 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. - * c-typeck.c (process_init_constructor): Warn about partly - bracketed initializers. +Tue Aug 10 12:56:46 1993 Jeffrey A. Law (law@snake.cs.utah.edu) -Thu Aug 13 17:18:49 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * pa.h (DOLLARS_IN_IDENTIFIERS): Define as 2. - * cccp.c (handle_directive): Output macro name if dump_names. +Mon Aug 9 19:02:49 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) - * m68k.h: Delete junk line inserted by mistake in last patch. + Merged fixproto stuff from Cygnus. -Thu Aug 13 16:46:58 1992 Tom Wood (wood@dg-rtp.dg.com) + Fri Aug 6 12:23:04 1993 Per Bothner (bothner@kalessin.cygnus.com) - * regclass.c (regclass): Don't scan the constraints if there aren't - any operands. Don't look for a commutative constraint in the last - operand. + * fixproto, Makefile.in: Rename tmp.[ci] -> fixtmp.[ci]. - * function.c (contains): Return the number of insns. - (reposition_prologue_and_epilogue_notes): Count all the prologue and - epilogue insns. + Tue Aug 3 22:24:58 1993 Per Bothner (bothner@kalessin.cygnus.com) -Thu Aug 13 15:20:24 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * fixproto: Find not only nested directories, but also + links to directories. - * m68k.h (TARGET_SWITCHES): Make -m68040 set 01007 not 01000. + Mon Aug 2 18:58:35 1993 Per Bothner (bothner@kalessin.cygnus.com) - * sparc.h (CPP_SPEC): For -mv8, define __sparc_v8__ not __sparcv8__. - * longlong.h (__sparclite__): Define umul_ppmm, udiv_qrnnd, and - count_leading_zeros for this sparc architecture variant. - (__sparc_v8__): Changed from __sparc8__. + * 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 (). - * c-typeck.c (build_component_ref): Don't warn for compound and - conditional expressions when pedantic. These are valid in ANSI C. + Fri Jul 30 17:18:22 1993 Per Bothner (bothner@kalessin.cygnus.com) -Thu Aug 13 11:37:57 1992 Jeffrey A. Law (law@mole.gnu.ai.mit.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. - * pa.c (output_function_prologue): Restore "rp" after the call to - mcount. + Thu Jul 29 12:43:53 1993 Per Bothner (bothner@kalessin.cygnus.com) -Thu Aug 13 06:54:50 1992 Torbjorn Granlund (tege@jupiter.sics.se) + * 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). - * pa.md (movsf recognizer): Output `fcpy,sgl', not `fcpy'. - From Jeff Law: - * pa.md (zdepi in HImode): Move this pattern after the standard - movhi patterns. + * 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. -Wed Aug 12 11:45:15 1992 Michael Meissner (meissner@osf.org) + Wed Jul 28 16:12:39 1993 Per Bothner (bothner@kalessin.cygnus.com) - * mips.h (ASM_FINAL_SPEC): For output of as when -c is not used, - use %g, rather than %b, because the file is going to be deleted - anyway (sync up with gcc.c Aug 4 changes). Patch from Jim Meyering. + * 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. - * decrose.h (ASM_FINAL_SPEC): Ditto. + * 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. -Wed Aug 12 03:23:30 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Aug 9 17:47:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * fixincludes (finding all .h files): Look for links as well as - ordinary files. + * 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. - * m68k.h (TARGET_68040): Test for 01000 or 0400. - (TARGET_SWITCHES): Rename -m68040 to -m68020-40. - Rename -m68040-only to -m68040. + * ns32k.c (output_move_double): Fix typos in last change. - * hp2bsd.h (TARGET_DEFAULT): Make value 0. + * expr.c (store_expr): Don't return TEMP if it's a MEM. -Tue Aug 11 04:23:35 1992 Paul Eggert (eggert@twinsun.com) +Mon Aug 9 15:26:27 1993 Jim Wilson (wilson@cygnus.com) - * fold-const.c (operand_equal_p): Make it clear that this function - tests for indistinguishable values, not for equality as computed by - `=='; the distinction is important for IEEE NaNs and -0.0. + * varasm.c (assembler_variable): For XCOFF_DEBUG, restore section + if dbxout_symbol call changes it. -Tue Aug 11 13:10:47 1992 Fred Fish (fnf at fishpond) + * 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. - * config.sub (amigaunix/amix): Use sysv4 as os. - * configure (m68k-*-amix*): Change to m68k-cbm-sysv4* and - eliminate fixincludes and broken_install. + * 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. -Tue Aug 11 15:42:58 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Mon Aug 9 07:31:07 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * function.c (identify_blocks): Handle case where no block nodes - exist. Use xmalloc not alloca for block_vector. - (reorder_blocks): New argument top_block. Handle case where no - block nodes exist. Always clear BLOCK_SUBBLOCKS (block) when - adding it to the block tree. - (all_blocks): Handle case where vector is zero. Store current - block at offset 0 in vector, not n_blocks. Don't count current - block twice in n_blocks. - * function.h (identify_blocks): Declare. - (rtx, tree): Move undefs to the very end. - * loop.c (loop_optimize): Delete uses of loop_number_first_block, - loop_number_last_block, loop_number_block_level. Correct call of - find_loop_tree_blocks. Add call to unroll_block_trees. - * loop.h (loop_number_first_block, loop_number_last_block, - loop_number_block_level): Delete declarations. - * stmt.c: Likewise. - (find_loop_tree_blocks): Completely rewritten to use - identify_blocks. - (unroll_block_trees): Completely rewritten to use reorder blocks. - * unroll.c (unroll_loop): Delete call to unroll_block_trees. + * optabs.c (widen_operand): New function. + (expand_binop, expand_unop): Call it. - * unroll.c (copy_loop_body): Only copy VTOP note if it will end up - before a loop exit test. +Sun Aug 8 17:32:04 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Aug 11 09:21:47 1992 Michael Meissner (meissner@osf.org) + * 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. - * mips.h (MIPS_VERSION): Bump meissner version # to 23. - (CONST_CODES): Remove declaration for eliminate_constant_term - from inside of local {}'s. - (SELECT_SECTION_MODE): Remove declaration of variable - mips_section_threshold from inside of local {}'s. - (SELECT_SECTION): Ditto. +Sun Aug 8 17:26:57 1993 Jim Wilson (wilson@cygnus.com) - * mips.c (toplevel): Remove declarations for all of the gen_xxx - functions used, since insn-flags.h contains them. + * sparc.c (sparc_type_code): Support range types. - * mip.md (fixuns_truncdfsi2): Remove extern declarations. - (fixuns_truncsfsi2): Ditto. - (movsi_unaligned, movsi_ulw, movsi_usw): Ditto. - (seq, sne, sgt, sle, sgtu, sleu): Ditto. + * expr.c (expand_increment): Call save_expr on inner expression if + it is itself an increment expression. -Tue Aug 11 02:51:25 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * fixincludes (memory.h): Fix versions 1.2 and 1.3 as well as 1.4. + * 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. - * configure: Improve err msg for unknown config. + * 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. -Tue Aug 11 04:02:51 1992 Paul Eggert (eggert@twinsun.com) + * 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. - * fold-const.c (fold): Don't fold (A op B ? A : C) if A is IEEE - floating point, because A might be -0.0 or NaN. +Sun Aug 8 11:33:51 1993 John F Carr (jfc@Athena.mit.edu) - * c-typeck.c (parser_build_binary_op): Warn about expressions like - `1<=i<=N'. + * 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. -Mon Aug 10 22:11:50 1992 Michael Meissner (meissner@osf.org) +Sun Aug 8 04:26:21 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * reload1.c (emit_reload_insns): Use gen_rtx to create a secondary - reload insn, not gen_reg_rtx. + * 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. -Mon Aug 10 06:23:23 1992 Torbjorn Granlund (tege@jupiter.sics.se) + * varasm.c (contains_pointers_p): New function. + (assemble_variable): Use that. - * pa.md (Recognizer for zdepi_operand in HImode): New pattern. - (Recognizer for zdepi_operand in SImode): Call output_zdepi for - output. - (shift patterns and recognizers): Handle 32 bit ints and truncate - them for output. - * pa.c (output_zdepi): New function (contents from pa.md). - * pa.h (output_zdepi): Declare. + * toplev.c (rest_of_decl_compilation): Don't look at DECL_IGNORED_P. + Don't output a read-only initialized extern variable. -Sun Aug 9 17:10:24 1992 Pat Rankin (rankin@eql.caltech.edu) + * c-common.c (declare_function_name): Set DECL_EXTERNAL in the decls. - * configure.com: Rename vms to vax-vms; split long lines. - * make-l2.com: Assemble libgcc2 routines twice, preserving - lowercase function names the second time. +Sat Aug 7 22:25:42 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sun Aug 9 00:50:46 PDT 1992 Ron Guilmette (rfg at netcom.com) + * c-typeck.c (process_init_element): Don't call clear_momentary + if value is 0. - * final.c (final_scan_insn): Call dwarfout_begin_block and - dwarfout_end_block even for -g1. +Sat Aug 7 15:53:06 1993 Doug Evans (dje@canuck.cygnus.com) -Sun Aug 9 18:10:33 1992 Michael Meissner (meissner@osf.org) + * 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. - * genflags.c (gen_insn): Treat 'call_pop' and 'call_value_pop' like - 'call' and 'call_insn'. + * c-decl.c (init_decl_processing): Make long long available to + use for SIZE_TYPE and PTRDIFF_TYPE. - * i386.h (LEGITIMIZE_ADDRESS): Emit_move_insn only takes two - arguments, not three. +Sat Aug 7 14:47:12 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sat Aug 8 10:26:02 1992 Michael Meissner (meissner@osf.org) + * config/ns32k/ns32k.md (strict_low_part add/subtract recognizers): + Use %2, not %1, in template. - * cp-tree.h (hash_chainon): Provide declaration. - (build_virtual_init): Ditto. - (build_vbase_delete): Ditto. - (build_vbase_vtables_init): Ditto. +Sat Aug 7 07:40:28 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * genflags.c (insn_name_ptr): Define, so that we can link in - print-rtl.c for debugging. - (call_obstack, normal_obstack): New obstacks to remember call - insns, and normal insns, so that we can emit the prototypes later. - (max_id_len): New variable to record the maximum identifier - length. - (num_operands): New function to return the number MATCH_OPERAND's - and MATCH_OPERATOR's in an insn tree. - (gen_proto): New function to print out a prototype for an insn. - (gen_nonproto): New function to print out a declaration without a - prototype. - (gen_insn): Don't emit function declarations here, just save the - insn on either the call_obstack if it is call or call_value, or - normal_obstack otherwise. - (main): Initialize call_obstack, normal_obstack. After all insns - are processed, emit function declarations with and without - prototypes, depending on whether NO_MD_PROTOTYPES, and - CALL_MD_PROTOTYPES are defined. + * reload.c (find_reloads): Don't combine two reloads if their + reload_reg_rtx values differ. - * rtl.h (PROTO): If not defined, define to either expand - prototypes or just expand to (), depending on whether or not, the - host compiler supports ANSI C. - (NULL_PTR): Define as void * if we have prototypes. - (all function declarations): Add prototypes for all functions - where it is feasible to do so, using the PROTO macro. - (force_reg): Add declaration. - (eliminate_constant_term): Ditto. - (output_constant_def): If tree.h has been included, add prototype. - (immed_real_const): Ditto. - (immed_real_const_1): Ditto. - (make_tree): Ditto. + * 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. - * tree.h (PROTO): If not defined, define to either expand - prototypes or just expand to (), depending on whether or not, the - host compiler supports ANSI C. - (NULL_PTR): Define as void * if we have prototypes. - (all function declarations): Add prototypes for all functions - where it is feasible to do so, using the PROTO macro. Do not - define prototypes for build_binary_op, or build_indirect_ref, - since GNU C and GNU G++ have different numbers of arguments. Do - not define prototypes for make_tree, since it takes a rtx as the - argument, and rtl.h is included after tree.h. + * expmed.c (expand_divmod): Clean up code and documentation, + especially in areas related to when copies are made. -Sat Aug 8 07:36:19 1992 Tom Wood (wood@dg-rtp.dg.com) + * 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. - * cp-lex.c: Include stdlib.h and locale.h if needed. - (errno): Declare only if it isn't a macro. - * cp-tree.c (__eprintf): `line' is unsigned. - * cp-typeck.c (mark_addressable): Use DECL_EXTERNAL not TREE_EXTERNAL. + * 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. -Fri Aug 7 00:16:28 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Aug 7 04:47:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * gcc.c (read_specs): Cast args of xmalloc and read to unsigned. + * c-decl.c (finish_decl): Allow file-scope static incomplete array. - * final.c (final_scan_insn): Use ASM_OUTPUT_ADDR_DIFF_ELT - and ASM_OUTPUT_ADDR_VEC_ELT only if defined. +Fri Aug 6 13:03:27 1993 Jim Wilson (wilson@sphagnum.cygnus.com) -Thu Aug 6 22:00:13 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * expr.c (expand_expr, case PLUS_EXPR): Goto binop2 not + both_summands if we should not be returning a plus. - * sched.c (true_dependence): An unchanging read is guaranteed - independent of a store only if the store is not unchanging. - (anti_dependence): Added comment about unchanging reads. - (sched_analyze_2): Don't ignore unchanging reads, they may be - dependent on unchanging writes. +Fri Aug 6 16:35:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * sparc.md: Correct DEFINE_SPLITs added Jul 27. They would - overwrite the input register if it was the same as the result reg. + * config/m68k/m68k.md (call and call_value pic recognizers) [HPUX_ASM]: + Output plain bsr, without `@PLTPC'. -Thu Aug 6 16:25:48 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) +Fri Aug 6 16:12:08 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * pa.h (ASM_FILE_START): If profiling IMPORT "_mcount" instead of - "__gcc_mcount". + * 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. - * These changes allow the PA to make use of the BSS subspace. They - require you to use the HPUX assembler or a fixed version of pa-gas - (available soon on jaguar.cs.utah.edu). - * pa.h (TARGET_SWITCHES): New switch "no-bss" which forces gcc not - to make use of the bss subspace. (For compatability with old buggy - versions of pa-gas.) - (ASM_FILE_START): Add $BSS$ subspace. - (BSS_SECTION_ASM_OP): New macro which tells the assembler to switch - to the bss subspace. - (EXTRA_SECTIONS): Define in_bss as an extra section. - (EXTRA_SECTION_FUNCTIONS): Define "bss_section" function to switch - into the bss subspace. - (ASM_OUTPUT_COMMON): If !TARGET_NO_BSS, then place commons into the - bss subspace. - (ASM_OUTPUT_LOCAL): Likewise. +Fri Aug 6 15:57:58 1993 Ian Lance Taylor (ian@cygnus.com) -Thu Aug 6 13:04:16 1992 Tim Moore (moore@defmacro.cs.utah.edu) + * 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. - * gvarargs.h : Check hp800 symbol too for the hppa case. - * va-pa.h : Rewrite to be compatible with hpux. - * pa.c (hppa_builtin_saveregs): Rewrite. - (secondary_reload_class): Bug fix. - (arith32_operand): New function. + * configure: If config.status did not change, don't update its + modification time. -Wed Aug 5 11:23:05 1992 Tom Wood (wood@dg-rtp.dg.com) +Fri Aug 6 15:23:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * m88k.h (EXTRA_SECTIONS, svr3): Delete empty definitions for - CTORS_SECTION_FUNCTION and DTORS_SECTION_FUNCTION. Add in_ctors - and in_dtors. + * c-typeck.c (output_init_element): Fix backward test in last change. + Use TYPE_MAIN_VARIANT. -Tue Aug 4 23:54:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Aug 6 06:43:09 1993 Michael Meissner (meissner@osf.org) - * gcc.c (default_compilers): For output of as when -c is not used, - use %g, rather than %b, because the file is going to be deleted - anyway. + * g++.c (fancy_abort): Provide function in case user does + #define abort fancy_abort when building GCC. -Tue Aug 4 20:30:12 1992 Michael Meissner (meissner@osf.org) +Fri Aug 6 00:15:21 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-decl.c (grokdeclarator): Call build_type_variant to set const - and volatile flags, since build_reference_type does not take those - arguments. + * cccp.c (main): If -v, print header search dir list. - * cp-parse.y (attribute processing): Correctly call tree_cons with - three arguments, passing NULL_TREE for the chain argument. + * c-typeck.c (output_init_element): Call default_conversion here. + Set constructor_erroneous, etc., here. + (process_init_element): Not here. - * cp-tree.h (hash_chainon): Add declaration for this function. - (build_virtual_init): Ditto. - (build_vbase_delete): Ditto. - (build_vbase_vtables_init): Ditto. +Thu Aug 5 20:55:47 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-typeck.c (build_modify_expr_1): Pass 0 as third argument to - build_unary_op. - (build_modify_expr): Ditto. + Cygnus<->FSF merge. -Tue Aug 4 18:10:46 1992 Mike Stump (mrs@wombat.gnu.ai.mit.edu) + Thu Aug 5 17:07:20 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-tree.h, tree.h: Moved definitions of TREE_VIA_* into tree.h for - consistency. + * 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. -Tue Aug 4 17:35:32 1992 Mike Stump (mrs@albert.gnu.ai.mit.edu) + Thu Aug 5 15:50:25 1993 Mike Stump (mrs@cygnus.com) - Complete 10th FSF <---> Cygnus merge. + * 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. - Tue Aug 4 12:58:59 1992 Mike Stump (mrs@cygnus.com) + Wed Aug 4 15:42:19 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-decl.c (pushtag): Don't set DECL_IGNORED_P for binding - layer markers, use only DECL_SOURCE_LINE == 0, as otherwise, - it messes up dbxout.c. + * 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). - Tue Aug 4 11:59:36 1992 Mike Stump (mrs@cygnus.com) + Wed Aug 4 14:40:35 1993 Mike Stump (mrs@cygnus.com) - Tue Aug 4 13:43:55 1992 Chip Salzenberg (chip@tct.com) + * 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. - * cp-method.c (hack_identifier): Remove redundant call of - assemble_external. + Tue Aug 3 08:24:50 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - Tue Aug 4 10:23:02 1992 Chip Salzenberg (chip@tct.com) + * 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. - * cp-decl.c (pushdecl): Any kind of DECL should be good enough - at global scope, not just a TEMPLATE_DECL. + * 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 Aug 2 21:12:55 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + * 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. - * cp-tree.c: change definition of __eprintf to match libgcc2.c and - assert.h + * 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. - Fri Jul 31 16:53:26 1992 Mike Stump (mrs@cygnus.com) + * cp-search.c (pop_search_level): Change from a macro into a + function, so we can more easily debug it. - * cp-tree (break_out_calls): Only make ony copy of a node on - 's' and 'e' nodes. Handle 'r' just like 's' and 'e' because - nodes of type 'r' can be of different sizes (the old code - would do the wrong thing for a COMPONENT_REF). + * cp-search.c (dfs_debug_mark): Only mark the type name as ignored + if we aren't doing dwarf debugging. - Thu Jul 30 11:46:14 1992 Michael Tiemann (tiemann@rtl.cygnus.com) + * cp-typeck.c (build_unary_op): Only allow the prefix operators to + be lvalues, not the postfix ones. - * cp-init.c (emit_base_init): Set transparent basetypes (those w/o - ctors) as marked if we need to walk up the tree to find a ctor. + * cp-decl.c (duplicate_decls): Delete the code that saved and + restored the UID of a decl, it's no longer necessary. - Wed Jul 29 03:25:51 1992 Michael Tiemann (tiemann@rtl.cygnus.com) + * cp-call.c (compute_conversion_costs_ansi): Avoid generating + warnings when we call build_type_conversion. - * cp-decl.c (grokdeclarator): In SCOPE_REF case, sort out visibility - declarations from other declarations, since the compiler will - ultimately handle them differently. This is a part of the solution - to p525. - (finish_method): Tentative (and probably wrong) fix for carrying - along inline methods delcared within a class that really belong to - nested classes of the class. This may be more of the solution to - p525. + Mon Aug 2 17:56:36 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-init.c (build_offset_ref): Use IDENTIFIER_TYPE_VALUE of CNAME - when CURRENT_CLASS_DECL is 0. + * 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. - * cp-class.c (finish_struct): Don't give errors for TYPE_DECLs in a - struct that are really only meant for FIELD_DECLs. + Fri Jul 30 18:03:10 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - Tue Jul 28 23:36:58 1992 Mike Stump (mrs@cygnus.com) + * 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. - * cp-decl.c (grok_op_properties): Do not core dump on parse errors. + Fri Jul 30 17:06:24 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - Tue Jul 28 22:43:12 1992 Mark Eichin (eichin@cygnus.com) + * cp-class.c (build_vtable, prepare_fresh_vtable): Temporarily + disable the change of June 20th making vtables readonly by default. - * cp-pt.c (end_template_instantiation) YYDEBUG is now defined in - cp-parse.h -- so don't assume that it's -2 (since under byacc it is - -1 anyway.) iomanip.C compiles again. + Fri Jul 30 14:47:09 1993 Mike Stump (mrs@cygnus.com) - Tue Jul 28 22:33:46 1992 Mike Stump (mrs@cygnus.com) + * 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. - * cp-typeck.c (build_c_cast): Allow cast to array type in - some situations to be more compatible with Cfront. + Wed Jul 28 16:23:52 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - Tue Jul 28 22:05:14 1992 Mark Eichin (eichin@cygnus.com) + * 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. - * cp-parse.y (print_parse_statistics): don't reference TOKEN_LENGTH - or REDUCE_LENGTH unless GATHER_STATISTICS is set. (YYDEBUG alone is - not a sufficient condition.) + * g++.c (error) [!HAVE_VFPRINTF]: Move before fatal to avoid an + implicit declaration. - Tue Jul 28 19:18:30 1992 Mike Stump (mrs@cygnus.com) + Wed Jul 28 13:49:58 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) - * cp-tree.c (break_out_calls): Don't do anything special to - SAVE_EXPRs, as they cannot contain calls that would need - breaking out. This fixes a problem introduced on Jul 15, by - Ron Guilmette. + * Makefile.in (g++-cross): Add an explicit $(srcdir) for g++.c, pass + the quotes as part of GCC_NAME - Mon Jul 27 16:55:52 1992 Mike Stump (mrs@cygnus.com) + * g++.c: only define GCC_NAME if it's already undefined - * c++: Fix errors introduced by rms. Bullet-proof handling - of arguments with funny things in them such as newlines, - spaces, tabs, single quotes, double quotes, etc... + Tue Jul 27 10:48:30 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - Mon Jul 27 15:03:23 1992 Ken Raeburn (raeburn@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. - * cp-init.c (build_vec_delete): Extract size of type even for - destructorless types, so value can be computed to pass to delete - operator. + * 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. - * Bludgeon interface/implementation code into leaving templates - alone, until we've figured out how to handle their interaction - properly: - * cp-parse.y (template_instantiate_once): Temporarily set interface - flags to `unknown' while processing member templates. - * cp-decl.c (grokfndecl): Even if class vtable is getting written - out, regardless of interface setting of class and write_virtuals - flag, don't force virtual destructor of template class to be public. - * cp-tree.h (struct pending_inline): New field `interface'. - * cp-lex.c (do_pending_inlines): Restore interface flags from stored - values, rather than calling extract_interface_info. - (process_next_inline): Likewise, if more pending inlines exist; else - do call extract_interface_info. - (reinit_parse_for_method): Save away interface flags. - (cons_up_default_function): Ditto. - * cp-pt.c (instantiate_template): Set saved interface flag to - `unknown'. - (end_template_instantiation): Set CLASSTYPE_INTERFACE_UNKNOWN. + Mon Jul 26 09:40:37 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-pt.c (instantiate_member_templates): Deleted some unused code. + * 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. - * cp-decl.c (grokfndecl): Make class methods public if - `implementation' pragma is set. + Fri Jul 23 08:33:32 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-pt.c (pending_templates): No longer exported. - (add_pending_template): Ditto. - * cp-parse.y (primary): Don't check it; always call - do_pending_templates. + * cp-call.c (build_method_call): Check DECL_STATIC_FUNCTION_P, not + TREE_STATIC, when validating a method call in a static call context. - Fri Jul 24 14:22:39 1992 Mike Stump (mrs@cygnus.com) +Thu Aug 5 19:18:00 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-decl.c (init_decl_processing, finish_function), - cp-method.c (build_decl_overload, build_opfncall), cp-init.c - (build_x_delete, build_delete, build_vec_delete): Add support - for two argument delete to support ARM 12.5. In some cases, - the argument is smaller than it should be. + * 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. - Thu Jul 23 08:12:16 1992 Mike Stump (mrs@cygnus.com) +Thu Aug 5 14:17:59 1993 Michael Meissner (meissner@osf.org) - * cp-lex.c: Update wide character handling from c-lex.c and make - the type of multicharacter constants be int per ANSI C++ WP. + * i386/osfrose.h (ASM_DECLARE_FUNCTION_SIZE): Enable setting the + size for elf functions. - * cp-decl.c (init_decl_processing, grokdeclarator), cp-lex.h, - gplus.gperf, cp-lex.c (init_lex), cp-decl2.c (groktypefield), - cp-method.c (build_overload_name): Add support for wchar_t as a - distinct type to conform to x3j16 working paper. - * cp-hash.h: Regenerated. +Thu Aug 5 01:44:37 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - Wed Jul 22 17:41:08 1992 Mark Eichin (eichin@cygnus.com) + * 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. - * cp-parse.y (structsp): note_got_semicolon was called before - finish_struct (which always clears the got_semicolon bit.) However, - note_got_semicolon was only called if yychar==';', without checking - for YYEMPTY. +Thu Aug 5 00:06:45 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Tue Jul 21 22:59:32 1992 Michael Tiemann (tiemann@rtl.cygnus.com) + * collect2.c (handler): Check whether c_file and o_file are 0. - * cp-typeck.c (mark_addressable): If we have a recursive call to an - otherwise inline function, clear TREE_EXTERNAL so the whole function - is written to the asm file. +Wed Aug 4 18:06:26 1993 Samuel A. Figueroa (figueroa@cs.nyu.edu) - Tue Jul 21 05:31:10 1992 Ken Raeburn (raeburn@cygnus.com) + * i386/gas.h (ASM_FILE_START): Write out two backslashes for each + backslash in the filename. - * cp-tree.h (start_type_method): Deleted unused declaration. +Wed Aug 4 18:00:43 1993 Holger Teutsch (holger@hotbso.rhein-main.de) - * cp-pt.c (tsubst): Fix propagation of qualifiers in several cases. + * clipper.md (movdf+2): Allow `f' register as source operand in + first alternative. - * cp-pt.c (tsubst, case FUNCTION_DECL): Look for matches that differ - only in return type. +Wed Aug 4 07:35:03 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-pt.c (tsubst, case FUNCTION_DECL): Rewrite name of - type-conversion operators, in case the target type involves a - template parameter. + * reload1.c (eliminate_regs_in_insn): Always do elimination in + REG_NOTES if we changed anything in the insn. - Mon Jul 20 03:35:44 1992 Michael Tiemann (tiemann@rtl.cygnus.com) + * genattrtab.c: Include gvarargs.h after hconfig.h, like elsewhere. - * cp-class.c (add_virtual_function): Don't crash if - CURRENT_CLASS_TYPE is NULL_TREE. - * cp-decl2.c (grokfield): Ditto. +Wed Aug 4 01:32:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Aug 4 15:36:07 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-typeck.c (output_init_element): Call digest_init before + calling output_constant. Always pass 0, 0 for last 2 args + to digest_init. - * c-decl.c (finish_decl): Don't do expand_decl_init for FUNCTION_DECL. + * expr.c (do_tablejump) [PIC_CASE_VECTOR_ADDRESS]: If pic, + copy INDEX to a register early, to avoid invalid address later. - * c-typeck.c (build_conditional_expr): Merged const and volatile flags - of incoming types. +Tue Aug 3 23:56:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Aug 4 11:15:47 1992 Chip Salzenberg (chip@tct.com) + * gcc.c (process_command): Don't check whether file `-' exists. - * c-decl.c (finish_struct): If bit field is of an unsigned - type that promotes to int, promote it unsigned if traditional - or if it is the same size as int. - (start_function): Ditto for function return value. - * c-typeck.c (default_conversion): Ditto -- fix bug that - promotes short to unsigned if sizeof(short) == sizeof(int). +Tue Aug 3 18:52:13 1993 John Hassey (hassey@dg-rtp.dg.com) -Tue Aug 4 15:12:51 1992 Tom Wood (wood@dg-rtp.dg.com) + * configure (m88k-dg-dgux*): Use fixinc.dgux. + * x-dgux (INSTALL_HEADERS): Definition deleted. + * fixinc.dgux: New file. - * svr3.h (USING_SVR3_H): Define. - * svr4.h (USING_SVR4_H): Define. - * aoutos.h (USING_AOUTOS_H): Define. - * m88k.h (EXTRA_SECTIONS): Base on the above defines. +Tue Aug 3 17:34:53 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Aug 4 14:22:44 1992 Jim Wilson (wilson@sphagnum.cygnus.com) + * 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). - * dbxout.c: Include output.h. + * 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. -Tue Aug 4 00:21:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Aug 3 15:40:16 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Makefile.in (install-common): Install protoize and related files - if they were compiled. - (install-proto): Target deleted. - (dbxout.o): Depend on output.h. + * gstddef.h: Test and define __INT_WCHAR_T_H. -Mon Aug 3 02:04:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Aug 2 22:42:10 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-decl.c (finish_function): Test only can_reach_end for the warning - about reaching the end of a non-void function. - (poplevel): If apparently nested inline function has - DECL_ABSTRACT_ORIGIN, don't output it; propagate TREE_ADDRESSABLE. - (pushdecl): When copying inline details into an extern decl, - copy DECL_RESULT, TREE_ASM_WRITTEN. Set DECL_ABSTRACT_ORIGIN. + * configure (i[34]86-sequent-sysv*): New alternative. + * config/i386/seq-sysv3.h: New file. - * c-parse.y (datadef): For empty declaration, use pedwarn. - * objc-parse.y (datadef, mydecl): Likewise. + * combine.c (struct undo): Rename `rtx' fields to `r'. + (undo_all, SUBST, gen_rtx_combine): Corresponding changes. - * Makefile.in (install-cross-tools): Install nm from tooldir. +Mon Aug 2 18:53:23 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * varasm.c: Include real.h. - * sparcv4.h: Don't include real.h. + * 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. - * flow.c (mark_used_regs): Do recurse in setting of global hard reg. - Do set reg_next_use for global hard reg. +Mon Aug 2 14:45:43 1993 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) - * objc-parse.y (reserved_declspecs, declmods): Change as in c-parse.y. + * genattrtab.c (substitute_address): In prototype, don't specify + the arg types of the arg functions. -Mon Aug 3 03:24:17 1992 Paul Eggert (eggert@twinsun.com) + * config/m68k/x-dpx2 (CLIB): Fix typo. - * c-parse.y (reserved_declspecs): Warn if storage class occurs here. - (declmods): Warn if storage class is not first. +Mon Aug 2 06:36:53 1993 John F Carr (jfc@Athena.mit.edu) -Sun Aug 2 21:44:34 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * local-alloc.c (block_alloc): Don't attempt to allocate a + SCRATCH if it will not fit in scratch_list. - * emit-rtl.c (gen_rtx, case REG): Don't use frame_pointer_rtx or - arg_pointer_rtx if reload is in progress. +Mon Aug 2 00:02:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * jump.c (jump_optimize): When replacing jumps with logical - expressions, use preserve_subexpressions_p. + * calls.c (expand_call): Check properly for volatile function. - * calls.c (expand_call): Use HOST_WIDE_INT instead of int when - comparing a pointer to an integer constant. - * flow.c (find_use_as_address): Likewise; also when returning int. - * integrate.c (expand_inline_function): Cast -1 to (HOST_WIDE_INT) - first. +Sun Aug 1 04:18:23 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cse.c (canon_hash): Use HOST_WIDE_INT instead of int when casting - pointers to integers. - * print-tree.c (print_node): Likewise. - * tree.c (TYPE_HASH): Likewise. - * varasm.c (const_hash, SYMHASH): Likewise. + * c-common.c (decl_attributes): Support attributes `volatile' + with alias `noreturn', and `const'. + * c-parse.in (attrib): Accept those attributes. - * toplev.c: (main): Don't cast pointers to int unnecessarily. + * c-typeck.c (build_binary_op): Warn about ordered comparison + between pointers to complete and incomplete types. - * tree.c: Include function.h after tree.h. + * c-parse.in (stmt): In an expr stmt, call default_conversion + for arrays and for functions. - * rtl.h (NOTE_BLOCK_NUMBER): Change definition to simpler form. - (SET_NOTE_BLOCK_NUMBER): Deleted. - (xrealloc, oballoc, permalloc): Declare here as well as in tree.h. - * function.c (identify_blocks, reorder_blocks): Don't use - SET_NOTE_BLOCK_NUMBER. + * 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. - * varasm.c (struct addr_const): Use HOST_WIDE_INT for OFFSET. + * 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. - * combine.c (reg_sign_bit_copies): New variable. - (combine_instructions): Initialize it. - (set_significant): Set it. - (try_combine): Set subst_low_cuid immediately before calling `subst' - to the INSN_CUID of the lowest insn involved in the call. - Change XOR with out-of-range constant to (not (xor ...)). - Call both split_insns and find_split_point; pass extra parm to - find_split_point. - Record I2DEST's value if I2 now sets it; similarly for I1DEST. - (find_split_point): Add new arg INSN. - If AND'ing with a large single-bit constant and we only care about - equality with zero, replace with bit extraction. - Make two shifts for ZERO_EXTRACTs unless very narrow. - (subst): Move RESTART label earlier. - If we have a simple operation applied to IF_THEN_ELSE, move - the operation inside the two arms. - (subst, case SUBREG): Use force_to_mode. - (subst, case NOT): Change (not (xor X C)) to (xor X ~C). - (subst, case NEG): Remove optimization of (neg (abs X)); redundant. - Convert (neg (xor A 1)) to (plus A -1) if A is known to be 0 or 1. - (subst, case IF_THEN_ELSE): Simplify if an arm contains a register - being tested by substiting the known value. - Put constant integer in last arm is can reverse comparison. - (subst, case SET): Use gen_lowpart_for_combine. - (subst, case AND): Make IF_THEN_ELSE when appropriate. - (subst, case IOR): (ior A C) can sometimes be just C. - (subst, case XOR): Go back and restart when canonicalizing. - (subst, case ABS): Use num_sign_bit_copies. - (make_extraction): Call force_to_mode. - (make_compound_operation): Look at optabs rather that explicitly - checking for operations and assuming we have SImode. - Handle (ashiftrt (OP (ashift foo C1) C3) C2). - (force_to_mode): Only change mode of arithmetic if optab says we - have operation in that mode. - Remove unneeded ASHIFTRT; add handling for IF_THEN_ELSE. - (significant_bits, case NEG): Call num_sign_bit_copies. - (significant_bits, case ABS, case [US]{MIN,MAX}, IF_THEN_ELSE): New. - (num_sign_bit_copies): New function. - (simplify_shift_const): Remove ASHIFTRT if value is known -1 or 0. - Use num_sign_bit_copies to simplify (ashiftrt (ashift ...) ...) - and (ashiftrt (neg ...) ...). - Remove now redundant case when VAROP is a PLUS. - (simplify_comparison): If A is known to be -1 or 0, A != -1 is A == 0. - Simplify unsigned tests that really check the sign bit. - (simplify_comparison, case ASHIFTRT): Convert to LSHIFTRT if - equality comparison with zero. - (get_last_value): Check if the desired register is set in the - insn before the one whose INSN_CUID is subst_low_cuid. + * config/m68k/amix.h (ASM_OUTPUT_INTERNAL_LABEL) + (ASM_GENERATE_INTERNAL_LABEL): Definitions deleted. - * expr.c (expand_builtin, case BUILT_IN_CONSTANT_P): Add missing - call to TREE_CODE. + * 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. - * reload1.c (reload): Set reload_in_progress earlier. + * c-decl.c (grokdeclarator): Warn here for volatile fn returning + non-void type. + (start_function): Not here. - * fold-const.c (optimize_bit_field_compare): Correct bogus use of - types in expressions; always do computation in a type wide enough - for the result. + * c-decl.c (grokdeclarator): Don't pass on const and volatile + fron function value type to function type. -Sun Aug 2 01:30:22 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Jul 31 01:48:08 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * objc-parse.y (attrib): Copied from c-parse.y. + * 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. -Sat Aug 1 13:34:49 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-typeck.c (process_init_element): Treat string constants specially + only for arrays of integers. - * c-pragma.c (HANDLE_PRAGMA_WEAK): Define only if SET_ASM_OP defined. +Fri Jul 30 06:49:58 1993 Torbjorn Granlund (tege@sics.se) - * vax-vms.h: Renamed from vms.h. - * xm-vax-vms.h: Renamed from xm-vms.h. - * configure (vax-*-vms): Change file names. + * 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) -Sat Aug 1 16:13:09 1992 Mark Eichin (eichin@cygnus.com) + * 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. - * config/spc-sol2.h (ASM_OUTPUT_DWARF_STRING): redefinition was - incorrect, and uneeded; while Solaris as doesn't support .string, it - does support .asciz, and sparcv4.h takes care of including that - definition. + * 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. -Fri Jul 31 08:19:41 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu + * stmt.c (expand_return): Don't use jumps for "return x == y" if + they are expensive. - * combine.c (try_combine): Correctly handle implicit deaths of - I2DEST and I1DEST. +Fri Jul 30 02:03:12 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cexp.y: Add declaration for xmalloc. + * config/i386/i386.md (ffssi2 and ffshi2 recognizers): + Generate unique labels by hand. - * cccp.c: Add declarations for malloc and realloc. - Include stddef.h when __STDC__ is defined. - (PTR_INT_TYPE): New macro. - (pcfinclude): Use it. +Thu Jul 29 01:47:21 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-decl.c (init_decl_processing): __builtin_return_address, - __builtin_frame_address, and __builtin_saveregs all return void *. + * 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. - * reload.c (find_reloads_address_1): Convert another push_reload - call into a call to find_reloads_address_part. + * c-typeck.c (digest_init): Delete arg TAIL. Fix all calls. - * reload1.c (gen_input_reload): Correct order of insns emitted - when using secondary memory. + * 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. - * reload1.c (reload_as_needed): Add missing semicolon after macro. + * 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. - * combine.c (distribute_notes, case REG_DEAD): If a register used - exactly twice is referenced in both I2 and I3, show it is used 3 times. + * config/i386/x-ncr3000 (CC, OLDCC): Deleted. + * config/i386/xm-sysv4.h [__HIGHC__]: Include alloca.h. - * final.c (output_operand): Abort if X is a pseudo. + * convert.c (convert_to_integer): Don't pass truncate into ABS_EXPR. - * cse.c (exp_equiv_p, case CONST_INT): Use INTVAL instead of XINT. + * configure: Ignore -enable... and --enable... options. - * expr.c (convert_move): Put FROM into a register if it is a SUBREG. - (For extension case.) +Wed Jul 28 20:15:05 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Jul 31 08:19:05 1992 Tom Wood (wood@dg-rtp.dg.com) + * Makefile.in (compare): Add ./ in tail command. - * function.c (reposition_prologue_and_epilogue_notes): Search for - the notes without using basic_block_end[0] or basic_block_head[N-1]. +Wed Jul 28 15:36:11 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Fri Jul 31 08:18:18 1992 Michael Meissner (meissner@osf.org) + * integrate.c (copy_rtx_and_substitute, case LABEL_REF): If + we turn off LABEL_REF_NONLOCAL_P, increment function_call_count. - * reorg.c (get_branch_condition): Return 0 if all tests fall through. + * 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. -Fri Jul 31 02:28:02 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * glimits.h: Renamed from limits.h. - * Makefile.in (LIMITS_H): Deleted. - (install-limits-h): Use glimits.h, not limits.h. - * libgcc2.c: Include glimits.h. +Wed Jul 28 12:17:39 1993 Michael Meissner (meissner@osf.org) -Thu Jul 30 09:54:07 1992 Tom Wood (wood@dg-rtp.dg.com) + * i386/osfrose.h (SUBTARGET_OVERRIDE_OPTIONS): Use this instead of + OVERRIDE_OPTIONS. - * m88k.h (FUNCTION_BOUNDARY, ASM_OUTPUT_ALIGN_CODE): Pack code - more tightly for the m88110. +Wed Jul 28 13:45:13 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * m88k.md (cpu attribute): List m88100 first for more efficient - code in insn-attrtab.c. + * expr.c (expand_expr, case ADDR_EXPR): Treat CONCAT like REG. - * m88k.md (rotate/and split pattern): Fix typo. + * c-decl.c (start_function): Warn if volatile fn returns non-void. -Thu Jul 30 00:02:45 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Jul 28 13:22:15 1993 Jim Wilson (wilson@cygnus.com) - * i860mach.h: New file. - * configure (i860-*-mach*): New alternative. + * 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. - * svr3.h (BSS_SECTION_FUNCTION): New macro. - (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Enable these. - * tower-as.h (BSS_SECTION_FUNCTION): Deleted. - * dpx2.h (EXTRA_SECTION_FUNCTIONS): Deleted. - * att386.h (BSS_SECTION_FUNCTION): #undef before defining. + * sparc.c (shift_operand): New function. + * sparc.md (ashlsi3, ashrsi3, lshrsi3): Use shift_operand. - * i860v3.h (USE_CONST_SECTION): #undef before defining. + * loop.c (strength_reduce): Don't ignore a giv that depends on a + reversed biv. -Wed Jul 29 20:04:55 1992 Jim Wilson (wilson@wookumz.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. - * sparc.md (cmpsi): Delete 'J' constraint. + * i960.h (INITIAL_FRAME_POINTER_OFFSET): Negate, and subtract 64 + bytes. -Wed Jul 29 00:38:45 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * sched.c (schedule_block): Do not emit line number notes before + other notes. - * c-lex.c (yylex): When traditional, convert 0x80000000 to -0x80000000. + * varasm.c (assemble_variable): flag_no_common applies only if + external linkage. - * gcc.c (link_command_spec): Accept -static but do nothing with it. + * 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. - * loop.c (move_movables): When testing whether a reg contains - the function address of a call_insn in a libcall block, - use reg_referenced_p, to ignore destinations. +Wed Jul 28 12:40:06 1993 Doug Evans (dje@canuck.cygnus.com) - * stor-layout.c (layout_record): Take account of - maximum_field_alignment when using the field's alignment. + * 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. - * c-parse.y (attrib): Fix previous change--the missing arg - was the last arg. +Wed Jul 28 06:44:50 1993 John Hassey (hassey@dg-rtp.dg.com) - * fixincludes: Don't repeat the directory-link-chasing loop - more than twice. Combine $prevdirs with $dirs--they had same value. - Properly discard $d itself from the output of find. - Find the links to directories by finding each link - and testing it with test. Add $newdirs into $files. + * configure: Use m88k/x-sysv3 for m88k-*-sysv3. + * m88k/x-sysv3: New file, use gnu alloca. -Tue Jul 28 12:46:31 1992 Michael Meissner (meissner@osf.org) +Tue Jul 27 13:53:06 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) - * c-common.c (decl_attributes): Call layout_decl with two arguments. + * 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. - * c-parse.y (attribute processing): Correctly call tree_cons with - three arguments, passing NULL_TREE for the purpose argument. +Tue Jul 27 16:42:44 1993 John F Carr (jfc@Athena.mit.edu) - * emit-rtl.c (make_insn_raw): Eliminate unused argument pat_formals, - and modify all callers. - (make_jump_insn_raw): Ditto. + * fold-const.c (optimize_bit_field_compare): Preserve volatility + of bitfield. - * reorg.c (fill_slots_from_thread): Function follow_jumps only takes - one argument. - (relax_delay_slots): Ditto. +Tue Jul 27 01:33:25 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Jul 28 16:04:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-typeck.c (convert_for_assignment): Mismatch in signedness + of pointer targets should not inhibit warnings for const mismatch. - * dpx2g.h (ASM_OUTPUT_IDENT): #undef it. + * function.c (assign_parms): Don't copy too much when extending + parm_reg_stack_loc. - * c-decl.c (duplicate_decls): Handle warn_redundant_decls here. - But don't warn if function definition follows a declaration. - (pushdecl): Don't handle it here. - (grokparms): Don't warn about non-prototype decl in system header. + * 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. - * c-convert.c (convert): If main variants match, - but the type is not identical, make a NOP_EXPR. + * c-typeck.c (set_init_index): Add pedantic warning. + (set_init_label): Likewise. -Tue Jul 28 10:06:18 1992 Jim Wilson (wilson@sphagnum.cygnus.com) +Tue Jul 27 14:22:48 1993 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) - * mips.md: Correct use of `*' in constraints. Put it before each - letter to ignore, not each group to ignore. + * gstddef.h (_WCHAR_T_H): Test this and define this. -Tue Jul 28 01:23:35 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * configure (m68k-bull-sysv): Test for --stabs; + generate either native coff or dbx-in-coff debugging information. - * dbxout.c (dbxout_parms): Do something for structures - passed by invisible reference, and living in memory. + * 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. - * gstddef.h (wchar_t): Alternate typedef for C++. +Mon Jul 26 17:42:22 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Makefile.in (extraclean): Delete config/ChangeLog. + * c-typeck.c (digest_init): Add `static' to definition. - * m68k.md (probe): Use %a0 to output the address. + * combine.c (simplify_shift_const): Inhibit hacks based on + num_sign_bit_copies if shift_mode differs from the mode of varop. -Mon Jul 27 20:08:21 1992 Mike Stump (mrs@hal) + * toplev.c (main): When -W sets warn_uninitialized, avoid later warning + if warn_uninitialized is not supported. - * c++: Fix errors introduced by rms. Bullet-proof handling of - arguments with funny things in them such as newlines, spaces, tabs, - single quotes, double quotes, etc... +Mon Jul 26 14:14:02 BST 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) -Mon Jul 27 17:38:52 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * collect2.c (NAME__MAIN, SYMBOL__MAIN): Add default definitions. + (write_c_file, scan_prog_file [OBJECT_FORMAT_ROSE]): + Use macros instead of explicitly __main. - * sparc.md: Add DEFINE_SPLITs to optimize logic operation with - certain immediate values. + * function.c (expand_main_function): Likewise. - * sparc.md: Correct inconsistent operand constraints in peepholes. + * libgcc2.c (__main): Use macro SYMBOL__MAIN instead of invoking + directly. - * sparc.h (ASM_LONG, ASM_SHORT, ASM_BYTE_OP): Definitions added. - (ASM_OUTPUT_DOUBLE): Use REAL_VALUE_TO_TARGET_DOUBLE to convert. - (ASM_OUTPUT_FLOAT): Use REAL_VALUE_TO_TARGET_SINGLE to convert. - (ASM_OUTPUT_INT): Use ASM_LONG pseudo-op. - (ASM_OUTPUT_SHORT): Use ASM_SHORT pseudo-op. - (ASM_OUTPUT_CHAR): Use ASM_BYTE_OP pseudo-op. - (ASM_OUTPUT_BYTE): Use ASM_BYTE_OP pseudo-op. +Mon Jul 26 16:03:33 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Mon Jul 27 17:10:19 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * fold-const.c (fold, case EQ_EXPR): Remove code that converts + mod to unsigned mod; it isn't correct for negative operands. - * gstdarg.h (va_arg): Don't use +=; no need to set AP twice. + * toplev.c (strip_off_ending): Allow .ad* for Ada. -Sun Jul 26 14:21:13 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Jul 26 14:06:04 1993 Bill Cox (bill@majipoor.cygnus.com) - * final.c (final_scan_insn): Align jump table only if - READONLY_DATA_SECTION. Otherwise, the table is in the text section. + * c-decl.c (print_lang_decl, print_lang_type): Correct function + headers to match prototype, and calls. - * collect2.c (dup2): Defined, if NO_DUP2. +Sun Jul 25 17:01:34 1993 Per Bothner (bothner@kalessin.cygnus.com) - * plexus.h: New file. - * m68k.c (output_function_prologue): Make a probe instruction - if NEED_PROBE if nonzero. - * configure (m68k-plexus-sysv*): New alternative. + * 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. - * c-convert.c (convert): Succeed if TYPE is the main variant - of the given type. - * c-typeck.c (build_conditional_expr): Compare using TYPE_MAIN_VARIANT. +Sun Jul 25 03:56:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-decl.c (duplicate_decls): Copy old RTL *before* make_var_volatile. + * c-typeck.c (start_init): Fill in p->next. -Sat Jul 25 21:45:44 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/i386/i386.md (movstrictqi): Change q<-g alternative to q<-m. - * c-decl.c (pushdecl): Never reuse global fcn decl in place of - local extern; just copy some info from it. +Sat Jul 24 18:17:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sat Jul 25 06:14:58 1992 Tom Wood (wood@dg-rtp.dg.com) + * expr.c (emit_move_insn_1): For complex stack push, + don't use change_address. - * expmed.c (expand_divmod): Eliminate the generation of branches - when possible. +Sat Jul 24 15:05:50 1993 Per Bothner (bothner@kalessin.cygnus.com) -Sat Jul 25 04:34:09 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * fixincludes (X11/Xmu/Xmu.h): Fix this or X11/Xmu.h, - whichever exists. +Sat Jul 24 02:48:31 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sat Jul 25 00:41:12 1992 Paul Eggert (eggert@twinsun.com) + * function.c (put_reg_into_stack): New subroutine. + (put_var_into_stack): Use that; handle CONCAT. - * c-parse.y (datadecl): Diagnose empty declarations in old-style - function headers. - * c-decl.c (shadow_tag_warned): New function. + * varasm.c (assemble_variable): For array whose size comes from + the initializer, determine proper alignment here. + (assemble_align): New function. - * c-lex.c (yylex): Diagnose `1.0fl'. Issue just one - diagnostic for `1e1000000f'. + * 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. -Fri Jul 24 19:25:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-typeck.c (process_init_element): Accept STRING_CST for subarray. - * dbxout.c (dbxout_symbol): Distinguish implicit C++ typedefs - from explicit C typedefs for structs, using DECL_SOURCE_LINE. + * loop.c (mark_loop_jump): Handle weird cases like jumping to + a symbol_ref. - * c-decl.c (duplicate_decls): Use TYPE_MAIN_VARIANT even for compares - with void_type_node. - (grokdeclarator, get_parm_info, store_parm_decls): Likewise. +Fri Jul 23 15:55:14 1993 Doug Evans (dje@canuck.cygnus.com) -Fri Jul 24 10:07:13 PDT 1992 Ron Guilmette (rfg at ncd.com) + * c-tree.h: Fix prototypes for print_lang_decl, print_lang_type. - * dwarfout.c (is_tagged_type): New function added. - (member_attribute): Use it. - (type_ok_for_scope): Rewritten to eliminate serious bugs. - (output_type): Call `output_pending_types_for_scope' at the end of - struct/union types (which are themselves scopes in C++). +Fri Jul 23 15:06:05 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Jul 24 13:36:46 1992 Michael Meissner (meissner@osf.org) + * c-typeck.c (start_init): Second arg is now a tree. - * dbxout.c (toplevel): Include defaults.h to get the definition of - ASM_STABD_OP. +Fri Jul 23 08:26:43 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * Makefile.in (dbxout.o): Add defaults.h dependent. + Cygnus<->FSF merge. + Thu Jul 22 09:54:05 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * i386rose.h (CC1_SPEC): Remove MIPS switches accidently left in. + * cp-decl.c (push_overloaded_decl): Fix typo in warning msg. -Thu Jul 23 09:49:43 PDT 1992 Ron Guilmette (rfg at ncd.com) + Tue Jul 20 13:13:18 1993 Mike Stump (mrs@cygnus.com) - * dwarfout.c (is_body_block): Rewritten for greater saftey. - (output_block): Fixed to deal correctly with non-inlined blocks. + * cp-class.c (build_vtable, prepare_fresh_vtable): Make the vtables + readonly by default. -Thu Jul 23 15:37:23 1992 Jeffrey A Law (law at schirf.cs.utah.edu) + Mon Jul 19 13:16:58 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * flow.c (propagate_block): Change "struct foo" to "struct sometimes". + * cp-tree.h (NEW_CLASS_SCOPING): Turn this off for now. -Thu Jul 23 15:10:51 1992 Tom Wood (wood@dg-rtp.dg.com) + Mon Jul 19 11:04:51 1993 Jason Merrill (jason@rtl.cygnus.com) - * m88k.h (ASM_OUTPUT_CASE_LABEL): Change to readonly section if the - table contains addresses. - (JUMP_TABLES_IN_TEXT_SECTION): True by default. + * cp-class.c (build_vfn_ref): Rename `index' to `idx'. -Thu Jul 23 13:54:27 1992 Michael Meissner (meissner@osf.org) + Fri Jul 16 07:44:49 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * mips.c (large_int): Use HOST_WIDE_INT type to hold INTVAL. - (gen_int_relational): Ditto. - (gen_conditonal_branch): Don't emit any insns if the result is - always false, and emit a normal jump if the result is always true. + * 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. - * mips.c (mips_move_1word): Count LABEL_REF's as a memory - reference. Rework half-pic load of symbols, to not expect movsi - to have converted the load address into a load, and for CONST's, - do the addition after the pointer is loaded. + * cp-expr.c (cplus_expand_expr): Add missing arguments to expand_expr. - * mips.md (type attribute, movsi3): Eliminate 'pic' attribute, - just use 'load' instead. - (fix_truncdfsi2): Make this a define_insn, instead of a - define_exapnd and an insn, and use match_scratch to allocate the - two scratch registers. Adjust length costs, so that they match - the current code the assembler produces. - (fix_truncsfsi2): Ditto. - (movsi): Don't convert load of half-pic addresses and CONST's into - the real load. It causes more problems than it solves. Adjust - cost of half-pic addresses to be 2, not 4. + Thu Jul 15 16:54:33 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * mips-tfile.c (parse_def): Allow spaces in names, since C++ - templates produce things like: #.def SMANIP; ... - (parse_stabs_common): Code from Lisa Repka, to handle symbol +/- - offset, and to look up things in the external string table, if the - name is not found in the local string table. + * 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. -Wed Jul 22 13:08:33 1992 Jeffrey A. Law (law@schirf.cs.utah.edu) + Thu Jul 15 16:23:18 1993 Mike Stump (mrs@cygnus.com) - * sparc.md (movdf+1): Use new 'T' and 'U' constraints to - determine when an ldd or std will have a length of 1, and - therefore is eligible for use in some delay slots. - (uncond_branch): New attribute used for unconditional branches. - All unconditional branch patterns changed. - (define_delays and delay slot attributes): Do not allow - uncond_branch instructions in delay slots. Do not allow fpload or - fpstore operations in a conditional branch delay slot. Allow - fpload and fpstore in call, unconditional branch, and annuled - conditional branch delay slots. + * cp-expr.c (cplus_expand_expr): Use resolve_offset_ref to handle + OFFSET_REFs, as anything else would be wrong. - * sparc.c (registers_ok_for_ldd_peep, addrs_ok_for_ldd_peep): - Functions renamed from registers_ok_for_ldd and - memory_ok_for_ldd respectively. All callers changed. - (register_ok_for_ldd): New function to determine if a register is - a pseudo or the first register in a hard register pair. - (mem_aligned_8): No longer static. Return 0 instead of aborting - when presented an rtx which is not a MEM. - (eligible_for_epilogue_delay): Use in_uncond_branch_delay since - this in an unconditional branch. - - * sparc.h (EXTRA_CONSTRAINT) Add new 'T' and 'U' constraints - which check for aligned accesses to memory and register pairs. - -Wed Jul 22 11:22:37 1992 Michael Meissner (meissner@osf.org) - - * mips.h (MIPS_VERSION): Bump meissner version number to 22. - (extern declarations): Add declarations for asm_file_name, - call_used_regs, langguage_string, save_argv, version_string, - mips_{begin,end,expand}_{pro,epi}logue, simple_epilogue_p, - {address,const_{double,int},general,{,non}immediate}_operand, - memory_address_p, {{,non}memory,register,scratch}_operand, - abort_with_insn, debug_rtx, fatal_io_error, get_frame_size, - offsettable_address_p, output_address, permalloc, - reg_mentioned_p, abort, atoi, getenv, mktemp, and - mips_expand_{epi,pro}logue. - (*_REGNUM): Add in GP_REG_FIRST in case registers are ever - renumbered. - (struct mips_frame_info): Add num_gp, num_fp fields. - (SECONDARY_MEMORY_NEEDED): Define, return 1 unless -mdebugh if - moving between FP <-> GP registers. - - * mips.c (extern declarations): Move most of the declarations to - mips.h, except for those of type 'rtx' or 'tree', since not all - files include rtl.h and tree.h. Add more declarations for gen_xxx - functions that are now used. - (reg_or_0_operand): Add default case for switch on enumeration, to - allow compiling with -Wall. - (simple_memory_operand): Ditto. - (mips_count_memory_refs): Ditto. - (mips_move_1word): Ditto. - (mips_move_2words): Ditto. - (mips_address_cost): Ditto. - (map_test_to_internal_test): Ditto. - (mips_move_1word): Align asm comments in loading negative ints. - (mips_move_1word): Use GEN_INT macro to generate CONST_INT's. - (mips_move_2words): Ditto. - (gen_int_relational): Ditto. - (block_move_load_store): Ditto. - (block_move_loop): Ditto. - (expand_block_move): Ditto. - (block_move_load_store): #if 0, not currently used. - (block_move_sequence): Ditto. - (compute_frame_size): Fill in num_gp and num_fp fields. - (simple_prologue_p): Rename from null_prologue. - (save_restore_insns): New function to emit appropriate save and - restore operations for prologue/epilogue -- only prologue used at - present. - (function_prologue): Move generation of instructions to - mips_expand_prologue. - (mips_expand_prologue): Generate appropriate insns for the - prologue of the function. - (mips_expand_epilogue): Generate appropriate insns for the - epilogue of the function -- not called at present. - - * mips.md (ashldi3_internal): Add `&' constraint to operand 0. - (ashrdi3_internal): Add `&' constraint to operand 0. - (return): Turn this into a define expand that wraps a return and a - USE reg:31 inside of a parallel. - (return_internal): Insn form of return instruction. - (prologue): New define expand to generate the necessary - instructions for the function prologue. - (mov{si,hi,qi}): Split the integer move INSNs into two groups, - those that support -mdebugh and allow ints to be in floating - point registers, and those that don't allow it. - -Tue Jul 21 21:27:43 1992 Mike Stump (mrs@albert.gnu.ai.mit.edu) - - * Complete 9th Cygnus <---> FSF merge. + Thu Jul 15 13:23:40 1993 Mike Stump (mrs@cygnus.com) - Tue Jul 21 03:17:05 1992 Mark Eichin (eichin@cygnus.com) + * 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. - * cp-lex.c (process_next_inline): when bailing out on a parse error, - throw away nextchar as well in case it got set. + * cp-decl.c (grok_reference_init): Reword error message. - Tue Jul 21 05:31:10 1992 Ken Raeburn (raeburn@cygnus.com) + Wed Jul 14 09:17:18 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-pt.c (tsubst, case FUNCTION_DECL): If the context class has a - null method vector, don't look inside it for its size. + * 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. - Thu Jul 16 16:02:55 1992 Per Bothner (bothner@rtl.cygnus.com) + Tue Jul 13 22:43:38 1993 Mike Stump (mrs@cygnus.com) - * cp-typeck.c (convert_for_assignment): If assigning (void*) - to a normal pointer, emit a warning, not an error. There is - a lot of existing code (including libg++ and converted C - code) that expects to be able to assign from (void*). + * 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 Jul 14 06:59:38 1992 Michael Tiemann (tiemann@rtl.cygnus.com) + Tue Jul 13 11:52:37 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-decl.c (finish_function): Call destructors correctly when - baseclasses are replicated in the inheritance hierarchy. + * 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. - Mon Jul 13 05:16:10 1992 Michael Tiemann (tiemann@rtl.cygnus.com) + Sat Jul 10 14:54:36 1993 Chip Salzenberg (chip@fin.uucp) - * cp-typeck.c (build_modify_expr): If we split a COND_EXPR in order - to perform the assignment in each arm, convert the rhs of each - branch according to RESULT_TYPE. + * cp-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. - * cp-typeck.c (convert_for_assignment): Treat null_pointer_node - specially when converting to non-void pointers. + * cp-typeck.c (build_binary_op_nodefault): Make warning + message distinguish between right/left and shift/rotate. - * cp-class.c (modify_vtable_entries): In the loop that modifies - vtable entries for each non-virtual baseclass, correctly handle - cases where BASE is an ambiguous baseclass for BASE_CONTEXT. + * 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. - Sun Jul 12 01:32:31 1992 Mike Stump (mrs@cygnus.com) + * cp-typeck.c (c_sizeof, build_c_cast): Set TREE_OVERFLOW in + addition to TREE_CONSTANT_OVERFLOW. - Wed May 27 01:33:24 1992 Ron Guilmette (rfg at ncd.com) + * cp-decl.c (finish_enum): Store layout results into variant types. - * cp-type2.c (store_init_value), cp-typeck.c - (build_modify_expr, convert_arguments, - build_binary_op_nodefault, convert_for_assignment), cp-parse.y - (member_init, template_def, datadef, stmt): changed some - pedantics into !traditionals and reworded error messages. + * 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. - Sun Jul 12 01:11:53 1992 Mike Stump (mrs@cygnus.com) + * cp-parse.y (program): After extdefs, pop any unpopped binding lvls. - Jul 1992 Ron Guilmette (rfg at ncd.com) + * cp-decl.c (grokdeclarator, ARRAY_REF case): Build array type, + and then build the variant array type. - * cp-decl.c (finish_function): Set BLOCK_SUPERCONTEXT for the - outermost scopes of functions to point to the associated - FUNCTION_DECL nodes. + * cp-lex.c (real_yylex): Avoid invalid shift for erroneous empty + char const. - Fri Jul 10 17:52:36 1992 Ken Raeburn (raeburn@cygnus.com) + * cp-decl.c (complete_array_type): Make maxindex -1 for empty + constructor. - * cp-decl.c (struct binding_level): New field pseudo_global - indicates that this binding level should be treated like the global - binding level in some respects. - (declare_pseudo_global_level, pseudo_global_level_p): Set and test - routines. - (push_overloaded_decl): Don't forget overloads in pseudo-global - binding levels. - * cp-pt.c (tsubst, case FUNCTION_DECL): Search for an existing decl - before creating a new one. - (overload_template_name): Make new level pseudo-global. - (type_unification): Indicate failure for unknown_type_node. - (unify): Likewise. + * cp-type2.c (initializer_constant_valid_p): Allow cast of ptr to + wider integer. - Wed Jul 8 01:59:03 1992 Mike Stump (mrs@cygnus.com) + * cp-decl.c (pushdecl): Copy DECL_FRAME_SIZE for inline function decls. - * cp-decl.c (lookup_name, grokvardecl, grokdeclarator), - cp-call.c (build_field_call), cp-seach.c (lookup_field), - cp-typeck.c (build_component_ref), cp-lex.c (do_identifier), - cp-init.c (expand_member_init, build_member_call, - build_offset_ref): lookup_field now has 4 arguments. + * cp-decl.c (finish_decl): Do not allocate static var of + unknown size. + (complete_array_type): Use 0 as default maxindex. - Wed Jul 8 01:14:43 1992 Mike Stump (mrs@cygnus.com) +Fri Jul 23 07:18:20 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-parse.y (primary): Call to lookup_name needs 2 arguments. + * function.c (aggregate_value_p): An ARRAY_TYPE is also an aggregate. - Tue Jul 7 21:14:05 1992 Mike Stump (mrs@cygnus.com) +Fri Jul 23 01:54:28 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-method.c (build_overload_name): Handle INTEGER_TYPEs - cleanly and uniformly. + * gcc.c (main): Improve "No input files" error message. - Tue Jul 7 09:19:52 1992 Michael Tiemann (tiemann@rtl.cygnus.com) +Thu Jul 22 23:00:11 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * cp-call.c (build_method_call): If `convert_to_pointer' returns - error_mark_node, return that without doing any more work. + * 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. - Thu Jul 2 15:42:28 1992 Mike Stump (mrs@cygnus.com) +Thu Jul 22 18:01:29 1993 John Hassey (hassey@dg-rtp.dg.com) - Thu Jul 2 18:08:42 1992 Chip Salzenberg (chip at tct.com) + * 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. - * cp-typeck.c (convert_arguments): Don't assume that error - message will be short enough for fixed-length buffer. +Thu Jul 22 11:19:28 PDT 1993 Ron Guilmette (rfg@netcom.com) - Wed Jul 1 19:52:59 1992 Mike Stump (mrs at cygnus.com) + * fixinc.svr4 (making LIB absolute): Just concat with $ORIG_DIR. - Wed Jun 3 12:57:57 1992 Brendan Kehoe (brendan@cs.widener.edu) + * configure: Use `sed' rather than `cat' to put `MAYBE_TARGET_DEFAULT' + definition in. (This is a work-around for an NFS bug.) - * cp-decl2.c (grokbitfield): Only do width checking on properly - parsed bitfields. +Thu Jul 22 14:59:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Wed Jul 1 18:58:17 1992 Mike Stump (mrs at cygnus.com) + * 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. - Wed May 27 01:33:24 1992 Ron Guilmette (rfg at ncd.com) + * 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='. - * cp-lex.c (readescape), cp-parse.y (unary_expr, maybecomma_warn, - component_decl_list, stmt), cp-type2.c (digest_init), cp-typeck.c - (c_sizeof, build_function_call_real, convert_arguments, - build_binary_op_nodefault, pointer_int_sum, pointer_diff, - build_unary_op, c_expand_return): change some warnings to - pedwarns. Put in new pedwarns, change wording of messages so that - they are more readable. Don't issue some warnings when - traditional is given. + * 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. - Wed Jul 1 13:56:30 1992 Mike Stump (mrs at cygnus.com) +Wed Jul 21 15:50:19 1993 Jim Wilson (wilson@cygnus.com) - Wed Apr 29 23:37:00 1992 Niklas Hallqvist (niklas at appli.se) + * expr.c (expand_expr, COMPONENT_REF case): For unaligned object + in an aligned union, set MEM_IN_STRUCT_P if create a MEM rtx. - * cp-decl.c (finish_decl): make sure destructors are called for - objects in a file. - - Wed Jul 1 11:12:05 1992 Mike Stump (mrs at cygnus.com) - - * cp-lex.c: extract YYEMPTY out of the parser generated .c - file and put in the parser .h so that cp-lex.c does not have - to define it. - - Mon Jun 29 12:58:59 1992 Mike Stump (mrs at cygnus.com) - - Mon Jun 29 15:20:48 1992 Chip Salzenberg (chip at tct.com) - - * cp-cvt.c (convert_to_integer): Don't add a NOP_EXPR in cases - where we can simply change the type of the entire tree. - - Mon Jun 29 10:56:56 1992 Mike Stump (mrs at cygnus.com) - - * c++: Makes sure -lg++ comes before -lm since libg++ uses - things from libm. - - Mon Jun 22 13:47:42 1992 Mike Stump (mrs at cygnus.com) - - Sun Jun 21 14:06:41 1992 Brendan Kehoe (brendan at cs.widener.edu) - - * cp-typeck.c (convert_for_initialization): Only try to convert a - rhs that was parsed properly. - - Mon Jun 22 13:31:40 1992 Jim Wilson (wilson at sphagnum.cygnus.com) - - * cp-parse.y (primary): Clear the TREE_USED flag of a block tree - put in a BIND_EXPR. - - Sun Jun 21 09:59:58 1992 Michael Tiemann (tiemann at rtl.cygnus.com) - - * cp-type2.c (build_scoped_ref): Use SCRATCH for head of typelist, - rather than calling alloca. - - Fri Jun 19 16:23:02 1992 Mike Stump (mrs at cygnus.com) - - * cp-pt.c (unify): Type unification of things that do not have a - valid IDENTIFIER_TEMPLATE fail instead of core dumping. - - Wed Jun 17 13:36:04 1992 Michael Tiemann (tiemann at rtl.cygnus.com) - - * cp-pt.c (tsubst): Don't try to substitute into error_mark_node. - - * cp-decl.c (grokparms): Convert initializers that have - TREE_READONLY_DECL_P set into their constant equivalents. + * 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. - Tue Jun 16 19:09:23 1992 Mike Stump (mrs at cygnus.com) + From rfg@netcom.com: + * fixinc.svr4 (): Don't apply specialized fixes to + if we are on Solaris. They are not needed in that case. - Wed Jun 3 12:57:57 1992 Brendan Kehoe (brendan at cs.widener.edu) + * 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. - * cp-decl.c (grokdeclarator): Disallow virtual functions in unions. + * 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 Jun 16 18:11:45 1992 Mike Stump (mrs at cygnus.com) + * m68k.h (TARGET_SWITCHES): Recognize -m68851, -mno-68851, + -m68302, -mno-68302, -m68332, -mno-68332. - Wed Jun 3 12:57:57 1992 Brendan Kehoe (brendan at cs.widener.edu) + * 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. - * cp-class.c (finish_struct): Forbid local classes to have static - members. + * fixincludes (sys/types.h sys/stdtypes.h): Delete newline before + do. + (machine/cpu.h): Delete space in `2>& 1'. - Mon Jun 15 21:44:08 1992 Mike Stump (mrs at cygnus.com) + * config.sub (lynx): Recognize as vendor. + (lynxos): Recognize as OS. + * configure (i386-*-lynxos, sparc-*-lynxos, m68k-*-lynxos): + Recognize as new configurations. - Tue Jun 2 09:26:34 1992 Brendan Kehoe (brendan at cs.widener.edu) + * gcc.c (link_command_spec): Move %{T*} after %{L*} and %D. - * cp-init.c (build_new): Don't allow the use of new on a reference. + * optabs.c (expand_binop): Synthesize double word shifts and + rotates from single word shifts. + * sparc.md (ashldi3, lshrdi3): Obsolete, deleted. - Mon Jun 15 20:52:08 1992 Mike Stump (mrs at cygnus.com) +Wed Jul 21 15:55:18 1993 Ian Lance Taylor (ian@cygnus.com) - Tue Jun 2 09:26:34 1992 Brendan Kehoe (brendan at cs.widener.edu) + * fixinc.svr4: When fixing ftw.h, preserve remainder of + ftw and nftw declaration; don't just rewrite it. - * cp-decl.c (grokparms): Don't allow a local variable to be used - in a default argument expression. +Tue Jul 20 23:35:36 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Mon Jun 15 18:54:28 1992 Mike Stump (mrs at cygnus.com) + * collect2.c (is_ctor_dtor): Delete leading _'s from sym names + in `special' table, in neither-dots-nor-dollars case. - * cp-decl.c (finish_decl): Add an error message for uninitialized - const objects like const int a;. +Tue Jul 20 18:49:09 1993 Michael Meissner (meissner@osf.org) - Mon Jun 15 16:05:22 1992 Mike Stump (mrs at cygnus.com) + * i386/osfrose.h, i386/osfelf.h (CC1_SPEC): Don't turn on + -mhalf-pic if ELF. - Not sure if it is strictly necessary for the C++ front end, but... + * i386/osfrose.h (ASM_FILE_END): Put filename, sans directory into + the .ident string. - Sun May 31 15:31:46 1992 Brendan Kehoe (brendan at cs.widener.edu) +Tue Jul 20 15:07:06 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-typeck.c (self_promoting_args_p): Allow the arg type to be - null (copied from Oct 16, 1991 change by Wood). + * 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. - Fri Jun 12 16:42:05 1992 Mike Stump (mrs at cygnus.com) +Mon Jul 19 18:15:48 1993 John F Carr (jfc@Athena.mit.edu) - * cp-typeck.c (build_binary_op_nodefault): Conditionalize code that - deals with the comparison of non-distinct object types, thus avoiding - a core dump. + * 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. - Fri Jun 12 10:23:17 1992 Mike Stump (mrs at cygnus.com) +Mon Jul 19 13:17:52 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - Wed Jun 10 19:20:29 1992 Brendan Kehoe (brendan at cs.widener.edu) + * reorg.c (fill_simple_delay_slots): Try filling any insn needing + delay slots with a JUMP_INSN. - * cp-tree.c (break_out_calls): Begin at 1 less than the length of - the length of the tree code, not the length itself, for generic - expressions and those with side-effects. +Mon Jul 19 00:33:24 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Thu Jun 11 17:43:55 1992 Mike Stump (mrs at cygnus.com) + * varasm.c (assemble_variable): New arg DONT_OUTPUT_DATA. + * toplev.c (rest_of_decl_compilation): Pass 0 as DONT_OUTPUT_DATA. - * cp-init.c (expand_default_init): New function to handle the - details of default copy constructors and other magic in one place. +Sun Jul 18 15:38:04 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-init.c (expand_aggr_init_1): Implement default constructors - more fully. + * c-typeck.c (c_expand_return): Set TREE_SIDE_EFFECTS + for the MODIFY_EXPR that we make. - Thu Jun 11 17:16:54 1992 Mike Stump (mrs at cygnus.com) + * stmt.c (expand_return): When expanding assignment into DECL_RESULT, + ignore the "value"--do it for effect. - * cp-call.c (build_method_call): Don't produce an error message if - we are looking up things speculatively. + * 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. - Thu Jun 11 10:58:47 1992 Mike Stump (mrs at cygnus.com) +Sun Jul 18 14:22:05 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-call.c (convert_harshness): Penalize const arguments passed - into non-const parameters. + * function.c (init_function_start): Initialize trampoline_list here. + (expand_function_end): Not here. - Thu Jun 11 10:02:52 1992 Mike Stump (mrs at cygnus.com) +Sun Jul 18 01:24:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-typeck.c (build_c_cast): Implement more reference casts so - that one can cast a base reference to a derived reference. + * c-typeck.c (common_type): Use TYPE_MAIN_VARIANT when preferring + long int to int (when width is the same). -Tue Jul 21 15:28:36 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * 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. - * sparc.h (SECONDARY_MEMORY_NEEDED): Define to force reload to - handle any copy between GENERAL_REGS and FP_REGS. + * objc-act.c (synth_module_prologue): Call layout_type for the array + type used for _OBJC_SELECTOR_TABLE. - * sched.c (schedule_block): Give some insns high priorities, - instead of excluding them from scheduling, to ensure that they end - up at the end of the block after scheduling. +Sat Jul 17 00:41:52 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * i960.c (i960_output_ldconst): Use REAL_VALUE_FROM_CONST_DOUBLE - instead of pointer indirection to extract double from CONST_DOUBLE. + * 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'. -Tue Jul 21 14:05:34 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * toplev.c (rest_of_compilation): If function is extern inline, + even if we can't inline it, don't compile it. - * svr4.h (HANDLE_SYSV_PRAGMA): Defined. +Fri Jul 16 21:33:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * sol-crt*.asm: Renamed from sol-crt*.s, and put in config. - * t-sol2 (crt*.o): Changed accordingly. Also use $(AS). + * dwarfout.c (dwarfout_init): Report failure of getpwd. - * gbl-ctors.h (ON_EXIT): Test HAVE_ATEXIT before sun. +Fri Jul 16 15:59:07 1993 Ian Lance Taylor (ian@cygnus.com) -Mon Jul 20 18:56:02 1992 Fred Fish (fnf at fishpond) + * config/m68k/hp320.h (LINK_LIBGCC_SPECIAL, SPACE_AFTER_L_OPTION) + (LIB_SPEC): Move outside of USE_GAS conditional. - * svr4.h (ASM_OUTPUT_BEFORE_CASE_LABEL): New macro--default definition. - (ASM_OUTPUT_CASE_LABEL): Use that. - * m68ksgs.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Do the swbeg here. - (ASM_OUTPUT_CASE_LABEL): Use that. +Fri Jul 16 14:26:25 1993 David d `zoo' Zuhn (zoo@cygnus.com) - * configure (m68k-*-amix*): Use fixinc.svr4 and install.sh. + * config.sub: if [ "$os" ] --> if [ x"$os" != x"" ] - * x-amix (ENQUIRE_CFLAGS): Remove; obsolete. +Fri Jul 16 05:50:35 1993 Paul Eggert (eggert@twinsun.com) - * amix.h (TRANSFER_FROM_TRAMPOLINE): Remove #undef. + * 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. -Mon Jul 20 17:45:46 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-typeck.c (convert_arguments) [PROMOTE_PROTOTYPES]: + With -Wconversion, use unpromoted type to check for signedness changes. - * dbxout.c (dbxout_source_line): New function. - * final.c (output_source_line): Use that. +Thu Jul 15 13:04:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * configure (sparc-*-sunos5*): New alias. - (sparc-*-solaris2*): Use t-sol2. + * fixincludes (stdlib.h): Check carefully for definition of size_t. - * i860.md (mulsi3_little, mulsi3_big): New define_expand patterns. - (mulsi3): Just use one of them. +Wed Jul 14 19:05:51 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Makefile.in (install-fixincludes): Pass second and third args. + * fixincludes: Fix size_t definition in stdlib.h as in types.h. + Also a conditional to prevent repeated definition. -Mon Jul 20 16:07:12 1992 Pat Rankin (rankin@eql.caltech.edu) +Wed Jul 14 14:53:26 1993 Ian Lance Taylor (ian@cygnus.com) - * vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): change _c$main_args to - uppercase instead of relying on gas to make the case translation + * fixincludes: Don't discard comment end characters on lines that + look like "#endif */". Fixes Esix 4.0.4 problem. -Sun Jul 19 00:04:16 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Jul 14 12:20:13 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): New macro. - * c-decl.c (duplicate_decls, grokdeclarator, finish_struct): - Use C_PROMOTING_INTEGER_TYPE_P to decide whether a type promotes. - (start_function): Likewise. - * c-typeck.c (default_conversion): Use C_PROMOTING_INTEGER_TYPE_P - to decide whether a type should promote. - (self_promoting_args_p, self_promoting_type_p): Likewise. + * pa.c (emit_move_sequence): Use cint_ok_for_move instead of + checking each condition ourselves. - * c-aux-info.c (gen_type): For array type, state the size. + * 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. - * final.c (output_addr_const): Handle ZERO_EXTEND and SIGN_EXTEND. - * expr.c (expand_expr, NOP_EXPR case): If EXPAND_INITIALIZER, - generate ZERO_EXTEND or SIGN_EXTEND; don't emit insns. + * 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. - * function.c (assign_parms): Use const0_rtx as DECL_RTL and as - DECL_INCOMING_RTL if tmode of parm is void. +Wed Jul 14 02:19:11 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * jump.c (mark_jump_label): Don't make REG_LABEL for nonlocal label. - * loop.c (add_label_notes): Don't make REG_LABEL for nonlocal label. - (rtx_renumbered_equal_p): Use == to compare nonlocal labels. + * rtl.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. - * rtl.h (LABEL_REF_NONLOCAL_P): New macro. - * expr.c (expand_expr): Set LABEL_REF_NONLOCAL_P for nonlocal labels. - * reload1.c (set_label_offsets): Ignore nonlocal labels. + * c-typeck.c (build_c_cast): When casting to union, if value is array + or function, do default_conversion. - * c-parse.y (primary): Set TREE_CONSTANT in the NOP_EXPR for an enum. +Wed Jul 14 00:52:23 1993 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) - * Solaris changes from Cygnus: + * config.sub: Add case for Bull dpx/2. - * fixinc.svr4: take a third argument indicating where files to be - copied in should come from (useful when not building in source - directory). - Set TERM to dumb so ex won't hang (by zoo). - * fixincludes: Take the same new argument. +Mon Jul 12 17:26:53 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * gmon-sol2.c: New file. - * t-sol2: New file. - * sol2-crt1.s, sol2-crti.s, sol2-crtn.s: New files. + * fixincludes: When looking for #define CTRL, + accept multiple spaces between the two words. - * xm-spcv4.h (ONLY_INT_FIELDS): Define, if __GNUC__. + * reload1.c (reload): Don't free scratch_list or scratch_block if 0. - * sparc.h (FUNCTION_PROFILER): Use ASM_OUTPUT_INTERNAL_LABELREF. - (FUNCTION_BLOCK_PROFILER): Mark with FIXME that it needs work. - (ASM_OUTPUT_INTERNAL_LABELREF): Define. - * spc-sol2.h: Entire file is new except for - defining MD_STARTFILE_PREFIX. - * dbxout.c (dbxout_block): obey DBX_BLOCKS_FUNCTION_RELATIVE - (dbxout_init): Use ASM_IDENTIFY_GCC_AFTER_SOURCE if defined. +Mon Jul 12 17:12:31 1993 Paul Eggert (eggert@twinsun.com) - * sparc.h (CONSTANT_ALIGNMENT): Add parens for Sun compiler. + * 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. -Sun Jul 19 11:03:56 1992 Fred Fish (fnf at fishpond) +Mon Jul 12 16:44:37 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * i386v4.h (real.h): Remove apparently unnecessary inclusion. - * i386v4.h (HANDLE_SYSV_PRAGMA): Replaces HANDLE_PRAGMA. + * config/i386/i386.md (ffssi2, ffshi2): Assume bsf produces + garbage if input is 0. Use jumps to load output in that case. -Sat Jul 18 20:37:37 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/vax/vax.h (INITIALIZE_TRAMPOLINE): Add code to + do an rei to clear the insn cache. - * c-typeck.c (build_binary_op): Don't set shorten for signed division. +Sun Jul 11 18:13:47 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * final.c (end_final): Align the table of addresses. + * config/ns32k/ns32k.c (output_move_double): Do the low reg first, + when only the high reg has an overlap. -Fri Jul 17 23:49:28 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * cexp.y: Include stdio.h. + * i860.c (output_move_double): Fix typos in Jun 28 change. -Fri Jul 17 06:17:34 1992 Tom Wood (wood@dg-rtp.dg.com) +Sat Jul 10 16:05:26 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - * cp-tree.h (DECL_THIS_EXTERN): Renamed from DECL_EXTERNAL. - * cp-pt.c, cp-decl.c: Rename DECL_EXTERNAL -> DECL_THIS_EXTERN and - then rename TREE_EXTERNAL -> DECL_EXTERNAL. + * 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) -Fri Jul 17 05:59:26 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * jump.c (jump_optimize): Correctly identify branches to the end + of a function so that they may be turned into RETURN insns. - * function.c (instantiate_decls{,_1}): Don't do instantiation - here if the address is mode-dependent. +Sat Jul 10 17:37:12 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * libgcc2.c: Include tconfig.h instead of tm.h. - Include machmode.h. - (__do_global_dtors): Cast to widest integer type, then narrow, to - avoid warning if int is narrower than pointer. - * Makefile.in (libgcc2.a): Includes machmode.h. + * collect2.c (main): Allocate COLLECT_NAME string with xmalloc. - * cse.c (cse_insn): Allow paradoxical SUBREGs in the table. +Sat Jul 10 14:44:29 1992 Chip Salzenberg (chip@fin.uucp) - * reload.c (secondary_memlocs{,_elim}): New variables. - (get_secondary_mem, clear_secondary_mem): New function. - (push_reload): Convert SUBREG of hard reg to new hard reg. - Call get_secondary_mem when needed. - (find_reloads): Clear secondary_memloc_elim for each insn. - * reload1.c (reload): If SECONDARY_MEMORY_NEEDED, check for frame - size changed. - Call clear_secondary_mem. - (emit_reload_insns, gen_input_reload): Use memory when required to - do reload. - * reload.h (get_secondary_mem): Declare. + * 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. - * cccp.c (NULL_PTR): Define as void * if STDC. +Sat Jul 10 10:25:16 1993 Karl Berry (karl@cs.umb.edu) - * rs6000.md (negdi2): Corrected name; used to be negdi3. + * fixincludes: Check for symlinks being available in /tmp. - * combine.c (subst, case SET): Put code to move SUBREG after - code that calls make_compound_operation. - (make_extraction): Don't check for INNER a REG except for in dest. - Fix typo checking for REG. - (make_compound_operation): Get the result in the same mode it - used to be. +Sat Jul 10 02:01:08 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * reload.c (push_reload): If a SUBREG requires a secondary reload - but the inner expression doesn't, reload the inner expression - instead. + * config/m68k/3b1.h (MY_ISCOFF, OBJECT_FORMAT_COFF, NO_SYS_SIGLIST): + New definitions. -Fri Jul 17 02:20:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Jul 9 20:40:29 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * gcc.c (process_command): Handle `-Wl,' and `-Wa,'. - (do_spec_1): Handle %Y. - (default_compilers): Use %Y in assembler commands. + * pa.md (dbra and movb patterns): Fix constraints so that FP + registers are never preferred. - * function.c (assign_parms): In last change, test mode in parm type. +Fri Jul 9 17:36:35 1993 Holger Teutsch (holger@hotbso.rhein-main.de) -Thu Jul 16 15:03:25 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * loop.c (find_and_verify_loops): Ignore jumps to missing labels, - when using P. + * config/clipper/clipper.c (clipper_builtin_saveregs) : Dito. - * c-typeck.c (build_binary_op): Improve shift warning messages. +Fri Jul 9 13:39:08 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * x-dpx2 (AS): Use $(GAS). - (GAS): New variable. + Cygnus<->FSF merge. + Fri Jul 9 12:17:20 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * mot3300.h (ASM_OUTPUT_CASE_END): Deleted. + * 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. - * function.c (assign_parms): If arg was passed by invisible - reference, copy it to a pseudo if appropriate. + * cp-decl.c (pushdecl): Undo change to generate a new _TYPE node for + a typedef. - * dwarfout.c (pure_or_virtual_attribute): - Add #if 0 around use of DECL_ABSTRACT_VIRTUAL_P. + Thu Jul 8 16:25:52 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Wed Jul 15 16:29:05 PDT 1992 Ron Guilmette (rfg at ncd.com) + * cp-decl.c (pushtag): Don't mark the binding layer marker; for + dwarf debugging, do mark the TYPE_DECL we created as ignored. - * dwarfout.c (BLOCK_INLINE_FUNCTION): Obsolete definition deleted. - (block_ultimate_origin): New function. - (output_block): - Local var `have_significant_locals' renamed to `must_output_die'. - (output_block): Rewritten to handle abstract & concrete instances of - blocks of inline functions. - (output_decls_for_scope): - Don't bump `next_block_number' for abstract blocks. + * 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. - * toplev.c (rest_of_compilation): Call `dwarfout_file_scope_decl' for - both types of "abstract" instances of inline functions. + Thu Jul 8 14:31:40 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * tree.def (BLOCK): Use new tree code category letter 'b' for BLOCKs. - * tree.h (struct tree_block): New struct type definition added. - (BLOCK_VARS, BLOCK_TYPE_TAGS, BLOCK_SUBBLOCKS, BLOCK_HANDLER_BLOCK): - Changed to reference fields of the new `struct tree_block' type. - (BLOCK_ABSTRACT_ORIGIN, BLOCK_ABSTRACT): Definitions added. - (union tree_node): Added `struct tree_block' as a new variant. - * tree.c (typedef tree_node_kind): Added new kind, i.e. `b_kind'. - (tree_node_kind_names): Added string name for new kind `b_kind'. - (make_node, copy_node, stabilize_reference_1): - Handle case 'b' (for BLOCK nodes). - (make_node): Don't try to deal with BLOCKs when doing a type 'e' node. - * print-tree.c (print_node): - Handle type 'b'; delete code for BLOCK from 'e' case. - Handle fields BLOCK_ABSTRACT_ORIGIN and BLOCK_ABSTRACT. - * calls.c (calls_alloca): Don't return 0 automatically if the expr - given is headed by a type 'b' node. - * cp-tree.c (break_out_calls): Add case for decl nodes. - Added case to catch BLOCK nodes (and to abort). - * integrate.c (copy_decl_tree): Set BLOCK_ABSTRACT_ORIGIN in new - instance block if not already set. - (expand_inline_function): Set BLOCK_ABSTRACT_ORIGIN for outermost - scope to point to progenitor (abstract inline) FUNCTION_DECL node. - (integrate_decl_tree): Set BLOCK_ABSTRACT_ORIGIN for inlined instance - BLOCKs. - (set_block_origin_self, set_decl_origin_self, set_block_abstract_flags, - set_decl_abstract_flags): New functions. - (output_inline_function): Call `set_decl_origin_self' for each fndecl - which is about to have an out-of-line instance generated for it. + * 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. -Wed Jul 15 15:08:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-type2.c (build_functional_cast): Disable assert 323 (see + comments for explanation). - * c-convert.c (convert_to_integer): Push truncation inside COND_EXPR. - - * optabs.c (emit_cmp_insn): Always do protect_from_queue on x, y, size. - (expand_float, expand_fix): Likewise. - * expmed.c (expand_shift, expand_set_flag): - Call protect_from_queue before convert_to_mode. - * expr.c (convert_move): Don't call protect_from_queue. - (emit_block_move): Protect SIZE. + * cp-typeck.c (comp_target_parms): Return 0 if strict is != 0, not + just > 0. - * explow.c (allocate_dynamic_stack_space) [SETJMP_VIA_SAVE_AREA]: - Always call round_push; we can't rely on alignment of size. + * cp-decl.c (init_decl_processing): Don't set WARN_RETURN_TYPE. -Wed Jul 15 06:47:11 1992 Richard Kenner (kenner@vlsi1.ultra.nyu) + Wed Jul 7 18:36:59 1993 Niklas Hallqvist (niklas@della.appli.se) - * combine.c (try_combine): Verify that I2DEST is a register before - trying to change its mode. + Add the changes to redo how we handle scoping. [Merged by bpk.] -Tue Jul 14 15:13:28 1992 Jim Wilson (wilson@sphagnum.cygnus.com) + * 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'. - * c-decl.c (finish_struct): Handle nested struct redefinitions. - * stor-layout.c (layout_record): Handle NULL dsize. + Tue Jul 6 13:00:44 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Tue Jul 14 21:31:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-decl.c (duplicate_decls): Set GIVE_ERROR so we know where the + previous declaration was for empty parameter name list declarations. - * c-decl.c (duplicate_decls, pushdecl, grokdeclarator): - (store_parm_decls, combine_parm_decls, finish_function): - Use TYPE_MAIN_VARIANT when comparing against specific non-void types. - * c-typeck.c (self_promoting_args_p, self_promoting_type_p): - (signed_type, unsigned_type, default_conversion, check_format): - (build_binary_op, c_expand_start_case): Likewise. + * cp-class.c (finish_struct): Clean up error message about anonymous + classes. -Mon Jul 13 14:57:34 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * c-decl.c (finish_function): Fix braino validating ret type of main. + * cp-decl.c (pushlevel): Change cast to HOST_WIDE_INT. + * cp-search.c (breadth_first_search): Likewise. - * expr.c (expand_builtin): Refer to errno at rtl level only. - * sparc.h (TARGET_EDOM, GEN_ERRNO_RTX): New macros. + Fri Jul 2 19:24:55 1993 Steve Chamberlain (sac@rtl.cygnus.com) -Mon Jul 13 06:35:53 1992 Paul Eggert (eggert@twinsun.com) + * cp-method.c: Include "cp-class.h" - * expr.c (expand_builtin): - For fsqrt, always use the special insn, then test for nan. + Fri Jul 2 18:16:10 1993 Michael Tiemann (tiemann@blues.cygnus.com) -Mon Jul 13 08:45:34 1992 Tom Wood (wood@dg-rtp.dg.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. - * m88k.md: Constraint fixes from Torbjorn. + Thu Jul 1 22:28:46 1993 Michael Tiemann (tiemann@blues.cygnus.com) - * jump.c (jump_optimize): In `x = a; if (...) x = b;' allow both a - and b to be non-zero if jumps are very expensive. Also allow a - and b to be constants where all the set bits in a are also set in - b when jumps are merely expensive. + * cp-tree.h: Don't include "cp-class.h" here. + * cp-call.c, cp-cvt.c: Include it here instead. -Sun Jul 12 17:43:03 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + Thu Jul 1 18:42:03 1993 Mike Stump (mrs@cygnus.com) - * genpeep.c (match_rtx): Sometimes use %ld when printing an XWINT. + * cp-decl.c (duplicate_decls): Fix typo. (olddecl->olddecls) - * regclass.c (record_reg_classes): If OP is a REG, use it's mode - in case the mode in MATCH_OPERAND is VOIDmode. + Thu Jul 1 18:34:12 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Sun Jul 12 13:03:54 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + 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. - * fixincludes: Replace the code that finds all directories - so that it looks for subdirs of dir reached via symlinks. + * 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-tree.h (IDENTIFIER_VIRTUAL_P): Macro moved here. - * tree.h (IDENTIFIER_VIRTUAL_P): Deleted from here. + * 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. - * rtl.h (NOTE_BLOCK_NUMBER, SET_NOTE_BLOCK_NUMBER): New macros. - (NOTE_DECL_NAME, NOTE_DECL_CODE, ...): #if 0'd. - * function.c (identify_blocks, reorder_blocks): New functions. - (all_blocks, blocks_nreverse): New functions. + * 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. - * isi.h: Deleted the #error; file should work now. - (LIB_SPEC): Use -lg only once. - (STRUCTURE_SIZE_BOUNDARY): Defined. + * 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. - * protoize.c (process_aux_info_file): Set must_create before jumping to - start_over. Don't clear must_create at start_over. Don't test - source file mod time for SYSCALLS. + * 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. - * machmode.h (GET_MODE_NUNITS): Avoid division by zero. + Thu Jul 1 17:54:44 1993 Mike Stump (mrs@cygnus.com) -Sat Jul 11 22:21:47 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-decl.c (duplicate_decls): Propagate some changes from C + front-end. Conflicts with built-in functions are now only warnings. - * objc-parse.y (primary): Don't test TREE_EXTERNAL; - call assemble_external regardless. + Thu Jul 1 15:43:48 1993 Mike Stump (mrs@cygnus.com) - * tree.h (DECL_INLINE, DECL_NONLOCAL, DECL_REGISTER, DECL_EXTERNAL): - Renamed from TREE_INLINE, TREE_NONLOCAL, TREE_REGDECL, TREE_EXTERNAL. - All uses changed. + * 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. - * xm-hp320.h (USG): Define it. + Thu Jul 1 13:48:46 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Sat Jul 11 21:43:56 1992 Michael Meissner (meissner@osf.org) + * cp-lex.c (readescape): Don't complain for \% unless pedantic. - * mips.h (MIPS_VERSION): Bump meissner version number to 21. + Wed Jun 30 10:35:50 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * mips.md (andsi3, iorsi3, xorsi3): Make predicates match the - actual machine, since combine can now recreate the bitfields, and - doesn't do multiple logical operations when setting more than one - bitfield in a word. + * 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. - * objc-actions.c (xmalloc, free): Don't provide extern decls for - these, since tree.h and rtl.h both now provide them. + * cp-call.c (build_scoped_method_call): If it's a reference, work + with the actual type. + * cp-type2.c (build_scoped_ref): Likewise. - * cp-lex.c (real_yylex): Declare a variable i, since a for loop - uses it as an index. Remove an extra '(' from a build_int_2 call. + Tue Jun 29 19:49:57 1993 Mike Stump (mrs@poseidon.cygnus.com) -Sat Jul 11 13:13:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * varasm.c: Get rid of default definitions of ASM_OUTPUT_CONSTRUCTOR - and ASM_OUTPUT_DESTRUCTOR. + Tue Jun 29 12:44:48 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * c-aux-info (affix_data_type): Don't be fooled by names starting - with `const' or `volatile'. + * cp-typeck.c (mark_addressable): Don't complain about taking the + address of an object with register storage class; it's legal in C++. - * c-typeck.c (digest_init): Deal with nested {...} for scalar. + * cp-typeck.c (convert_arguments): Only warn about passing an object + through an ellipsis. - * loop.c, reload1.c: Include stdio.h before config.h. + * cp-parse.y (typed_declspecs): Make sure the TYPESPEC we hit + upon is non-null. - * toplev.c (rest_of_compilation): Save and restore DECL_ARGUMENTS. + Tue Jun 29 11:58:03 1993 Tony Deigh (tonyd@bostech.com) -Fri Jul 10 22:42:34 1992 Paul Eggert (eggert@twinsun.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. - * tree.c (build_real_from_int_cst): Truncate when folding to float. - (real_value_from_int_cst): Do not treat the topmost bit - of an unsigned long long value as a sign bit. + Tue Jun 29 09:47:36 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cse.c (simplify_binary_operation): Don't optimize 0.0/x to 0.0 - if IEEE floating point is used, because x might be negative or NaN. + * 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. -Fri Jul 10 15:37:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Tue Jun 29 02:46:39 1993 Mike Stump (mrs@cygnus.com) - * genpeep.c (match_rtx): Handle `w' elts of rtx. + * cp-cvt.c (build_up_reference): Delete unneed cast. + * cp-typeck.c (convert_for_assignment): Likewise. - * Makefile.in (INTERNAL_CFLAGS): Add -DIN_GCC. + Mon Jun 28 19:19:34 1993 Mike Stump (mrs@rtl.cygnus.com) -Fri Jul 10 18:56:22 1992 Eric Youngdale (youngdale@v6550d.nrl.navy.mil) + * cp-lex.c (real_yylex): Use pedwarn to warn about using catch, try + and throw as identifiers. - * cccp.c (finclude): Clean error msf if file_size_and_mode fails. + Mon Jun 28 11:13:17 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Fri Jul 10 13:44:46 1992 Howard Chu (hyc@hanauma.jpl.nasa.gov) + * cp-method.c (hack_identifier): Only look for visibility if we have + a basetype path. - * fx2800.h (LINK_LIBGCC_SPECIAL): Defined. - (DBX_OUTPUT_STANDARD_TYPES): Check that DECL_NAME(decl) exists - before trying to get its IDENTIFIER_POINTER. + * cp-decl.c (grokdeclarator): Also forbid the subscripting operator, + and class member access operator being declared as a non-member + function. -Thu Jul 9 20:56:01 1992 Per Bothner (bothner@rtl.cygnus.com) + * cp-init.c (add_friend): Pedwarn on duplicate friend decls. - * dbxout.c (dbxout_type_methods): Fix minimal_debug so - that it skips a redundant class name prefix, as intended. - It now expects the length digits that precede the class name. + * 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. -Thu Jul 9 18:23:12 1992 Torbjorn Granlund (tege@wombat.gnu.ai.mit.edu) + * cp-init.c (sort_member_init): Disable assert that was wrong. - * Makefile.in, libgcc2.c, longlong.h: Rename udiv_using_sdiv to - udiv_w_sdiv. + * 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. -Thu Jul 9 18:10:40 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-decl2.c (grokfield): Fix up the error message about member + initialization. - * tree.h (STRIP_TYPE_NOPS): New macro. - * c-decl.c (build_enumerator): Use STRIP_TYPE_NOPS. - * c-typeck.c (default_conversion): Use STRIP_TYPE_NOPS. - (build_binary_op, build_function_call): Likewise. - * c-common.c (check_case_value): Use STRIP_TYPE_NOPS. + * cp-typeck.c (c_expand_return): Make sure we don't set + CURRENT_FUNCTION_RETURNS_VALUE if we set CURRENT_FUNCTION_RETURNS_NULL. - * mot3300.h (ASM_OUTPUT_CASE_END): New macro. - * m68k.c (switch_table_difference_label_flag): New variable. + * cp-method.c (dump_init): Don't emit digit_buffer if we're giving + an enum's tag. - * i860.md (QI and HI bte/btne patterns): Deleted. +Fri Jul 9 16:45:25 1993 David d `zoo' Zuhn (zoo@cygnus.com) -Thu Jul 9 06:09:20 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * config.sub: Make -solaris reflect the most recent major release. - * c-typeck.c (default_conversion): Don't use STRIP_NOPS. +Fri Jul 9 16:18:20 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * print-rtl.c: Missing merge from 64-bit changes. - (print_rtx): Add new case 'w'. + * 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. -Wed Jul 8 14:35:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * fixincludes, fixinc.svr4: Error if no argument. +Fri Jul 9 01:07:52 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * tree.c (integer_zerop, integer_onep, integer_all_onesp): - (integer_pow2p, real_zerop, real_onep, real_twop): Use STRIP_NOPS. - * expr.c (do_store_flag): Likewise. - * varasm.c (output_constructor): Likewise. - * c-decl.c (finish_struct, build_enumerator): Likewise. - * c-typeck.c (default_conversion, build_binary_op): Likewise. - (build_function_call): Likewise. - - * integrate.c (integrate_decl_tree): Get rid of arg functionbody; - it was always 0. - - * mot3300.h: Fix typo. - - * final.c (leaf_renumber_regs_insn): Handle new 'w' format. - -Wed Jul 8 15:18:33 PDT 1992 Ron Guilmette (rfg at ncd.com) - - * tree.h (DECL_ABSTRACT_ORIGIN, DECL_ABSTRACT): Definitions added. - (struct tree_decl): New fields `abstract_origin' & `abstract_flag'. - (struct tree_decl): Field `from_inline_flag' deleted. - (DECL_FROM_INLINE): Definition revised to check DECL_ABSTRACT_ORIGIN. - * integrate.c (copy_decl_list): New function added. - (save_for_inline_copying): Call `copy_decl_list' for formal parameters. - Set DECL_ABSTRACT_ORIGIN for fndecl to point to itself. - (copy_decl_tree): Use `copy_decl_list' rather than just `copy_list'. - (integrate_parm_decls, integrate_decl_tree): Set DECL_ABSTRACT_ORIGIN - to point to the progenitor. - * print-tree.c (print_node): Print the value of DECL_ABSTRACT_ORIGIN - rather than the value of DECL_FROM_INLINE. - - * dwarfout.c (output_inlined_enumeration_type_die): New function. - (output_inlined_structure_type_die, output_inlined_union_type_die): - New functions added. - (output_entry_point_die, output_formal_parameter_die, - output_global_subroutine_die, output_global_variable_die, - output_label_die, output_lexical_block_die, - output_inlined_subroutine_die, output_local_variable_die, - output_local_subroutine_die): - Fixed to handle inline abstract & concrete (i.e. inlined) instances. - (output_inlined_subroutine_die): Deleted. - (output_label_die): Don't permit the rtx associated with a named - user-declared label to be marked as INSN_DELETED_P. - (output_tagged_type_instantiation): New function added. - (output_decl): Call `output_tagged_type_instantiation'. - Don't generate a pubnames label for anything marked as DECL_ABSTRACT. - (output_die): Generate the proper kind fo DIE for each of the four - possible combination of {normal, inlined} {variable, parameter}. - (dwarfout_file_scope_decl): Don't generate pubnames entries if - strictly abstract. - - * dwarfout.c (ordering_attribute): Only def if USE_ORDERING_ATTRIBUTE - is defined. - (output_array_type_die): Only call ordering_attribute if it is defined. - (name_and_src_coords_attributes): Don't make it inline. - Do make it static linkage. - (const_value_attribute): Catch invalid kinds of rtx nodes - by aborting for the default case in switch. - - * dwarfout.c (output_ptr_to_mbr_type_die): Make it static linkage. - (output_formal_types): Make sure that `formal_type' is initialized. - (output_type): Add a default case for switch. - (output_decl): Don't suppress DIEs for the initial (artificial) - arguments for C++ static member functions. - - * dwarfout.c (ceiling, field_type, simple_type_align_in_bits, - simple_type_size_in_bits, field_byte_offset): New functions added. - (data_member_location_attribute): Use new routine `field_byte_offset' - to calculate the offset value for the AT_location attribute. - (byte_size_attribute): Use new routine `field_type' to get the - actual type for any FIELD_DECL. Also, use `simple_type_size_in_bits' - to avoid potential problems with ERROR_MARKs when computing the size - of a FIELD_DECL. - (bit_offset_attribute): Rewritten to use `field_byte_offset' when - determining the start of the "containing object". - - * integrate.c (expand_inline_function): Integrate parameters before - locals to get debugging information in the proper order. - (integrate_decl_tree): Don't do a redundant pushlevel/poplevel for - the outermost scope (i.e. when level==0)... just use the one created - by `expand_inline_function'. - - * calls.c (calls_alloca): For BLOCK, walk subblocks and vars by hand. - -Wed Jul 8 13:31:19 1992 Michael Meissner (meissner@osf.org) - - * cp-decl.c (print_binding_level): Fix typo, where 'lbl' was used - instead of 'lvl'. - - * objc-actions.c (build_shared_structure_initializer): Correct call - to build_int_2 which had only one argument, instead of two. - -Wed Jul 8 06:37:40 1992 Torbjorn Granlund (tege@sics.se) - - * gstdarg.h, gvarargs.h: Test `__hppa__' instead of `__hp9000s800__'. - - * romp.md (zero_extendhisi2): Remove unneeded constraint. - - * rs6000.md (zero_extendhisi2): Remove unneeded constraint. - (lu/stu): Use %0 instead of %1 in assembler insns. - (call_value): Add missing "=" in constraint. - -Wed Jul 8 06:30:20 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * rs6000.md (floatsidf): Correctly handle case when SImode operand - overlaps the first DFmode register. - - * fold-const.c (distribute_bit_expr, range_test, fold_truthop): - Use TRUTH_AND_EXPR instead of BIT_AND_EXPR so invert_truthvalue works. - - * c-decl.c (grokdeclarator): Strip all NOP_EXPRs from SIZE. - - * integrate.c: Do 64-bit changes (this file omitted the last time). - Replace use of NULL and 0 in functions args with NULL_RTX. - (copy_rtx_and_substitute, subst_constants): Handle "w" rtl - operand class. - - * rs6000.h (LINK_SPEC): Support -static. - - * tree.c (make_node, copy_node, make_tree_vec, tree_cons, build1): - Clear or copy tree nodes in a consistent manner, referencing - every byte of the node. - - * regclass.c: Initialize REG_CLASS_CONTENTS into an array of - ints, then copy into a HARD_REG_SET to avoid conditionalization - of REG_CLASS_CONTENTS on 64-bit machines. - - * c-common.c (check_case_value): Strip the NOP_EXPR added by - the grammar. - * stmt.c (pushcase, pushcase_range): Don't do it here. - - * c-lex.c (yylex): Ensure TOTAL_PARTS is wide enough to store a - constant as wide as we can store in an INTEGER_CST. - (LONG_LONG_TYPE_SIZE): Deleted; no longer needed. - -Tue Jul 7 15:50:38 1992 Chip Salzenberg (chip@tct.com) - - * x-i386sco (XCFLAGS): Omit flags specific to "rcc". - (CC, OLDCC): Put them here instead. - -Tue Jul 7 18:57:10 1992 Mike Stump (mrs@wombat.gnu.ai.mit.edu) - - The below entries should make DWARF debugging a little bit easier. - - * cp-decl.c (pushdecl): IDENTIFIER_GLOBAL_VALUE should not be _DECL - nodes but rather TYPE_DECLs. - - * cp-decl.c (pushtag): Mark binding layer markers as internal. - - * cp-class.c (finish_struct): Propagate internal mark on binding - layer markers. - - * cp-decl2.c (finish_file): Don't name things that should not be - named. - - * cp-method.c (decl_as_string): New back-end routine for - substitute_nice_name. - - * cp-decl2.c (substitute_nice_name): New function used to create - reasonable DECL_NAMEs from cyrptic ones. - - * cp-decl2.c (grokclassfn): Use substitute_nice_name. - -Tue Jul 7 14:04:01 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * expr.c (emit_move_insn): Don't try subwords for a single word. - - * gcc.c (find_a_file, putenv_from_prefix): - Handle value of 2 in require_machine_suffix. - (process_command): Supply 2 for standard_exec_prefix{,_1}. - - * gstdarg.h: Undefine _BSD_VA_LIST if we define va_list. - - * cccp.c (append_include_chain): Fix setting of first_bracket_include. - - * loop.c (init_loop): Use word_mode, not SImode. - - * x-dpx2: New file. - * x-dpx2200, x-dpx2300: Files deleted. - * configure (m68k-bull-sysv*): Fatal error unless --with-gas. - Always use x-dpx2. - - * libgcc2.c (XFtype): Turn off definition; not used. - (TFtype): Define only if needed. - -Tue Jul 7 11:57:44 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - - * tahoe.md (call_value): Add `=' to output operand constraint. - * arm.md (call_value): Likewise. - * gmicro.md (negsf2, negdf2, abssf2, absdf2): Likewise. - (peephole for moving returned value to fp reg): Likewise. - - * longlong.h (SI_TYPE_SIZE): Renamed from LONG_TYPE_SIZE. - - * longlong.h (machine independent code): #define udiv_qrnnd to call - __udiv_using_sdiv if we have sdiv_qrnnd but not udiv_qrnnd. - * libgcc2.c (__udiv_using_sdiv): New function. - * Makefile.in (LIB2FUNCS): Add __udiv_using_sdiv. - -Mon Jul 6 23:28:29 1992 Mike Stump (mrs@wombat.gnu.ai.mit.edu) - - * cp-dem.c, cp-lex.c, cp-method.c, cp-xref.c: Do not include - string.h or strings.h. - -Mon Jul 6 18:32:31 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * emit-rtl.c (operand_subword): Avoid conditionals in macro arg. - - * Changes to support execution on 64-bit machines. - * machmode.h (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT, HOST_PTR_PRINTF): - Provide default definitions. - (MAX_SHORT): New macro. - (GET_MODE_BITSIZE): Cast result and shift constant to HOST_WIDE_INT. - * rtl.h (union rtunion_def): Add field rtwint. - (XWINT): New accessor macro. - (INTVAL): Use XWINT, not XINT. - (exact_log2, floor_log2, plus_constant, plus_constant_for_output): - Now macros that cast arg to HOST_WIDE_INT. - (NULL, NULL_PTR): Provide default definitions. - (GEN_INT): New macro. - (get_integer_term): Now returns HOST_WIDE_INT. - * tree.h (NULL, NULL_PTR): Provide default definitions. - (INT_CST_LT, INT_CST_LT_UNSIGNED): Cast to HOST_WIDE_INT. - (struct tree_int_cst): Pieces of constant are HOST_WIDE_INT, not - long. - (exact_log2, floor_log2, build_int_2): Now macros, like rtl.h. - * real.h (REAL_VALUE_TYPE, union real_extract): Use HOST_WIDE_INT, - not long. - (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH): Use XWINT instead of XINT. - * rtl.def (CONST_INT): Operand type now "w". - (CONST_DOUBLE): Change operands from type "i" to "w". - * basic-block.h (REGSET_ELT_BITS): Always use HOST_BITS_PER_WIDE_INT. - (REGSET_ELT_TYPE): New macro; same as HOST_WIDE_INT. - * expr.h (ARGS_SIZE_RTX): Use NULL_RTX in expand_expr call. - (plus_constant): Remove duplicate declaration. - * hard-reg-set.h (HARD_REG_SET): Only scalar type we use - is HOST_WIDE_INT; array is array of HOST_WIDE_INT. - * loop.h (struct induction): Field CONST_ADJUST is now HOST_WIDE_INT. - (loop_n_iterations): Now unsigned HOST_WIDE_INT. - (loop_iterations): Returns HOST_WIDE_INT. - * c-parse.y, cexp.y, c-decl.c, c-lex.c, c-typeck.c, caller-save.c: - Change 0 or NULL when passed as a parameter that should be a pointer - to NULL_TREE, NULL_RTX, or NULL_PTR, as appropriate. - * calls.c, cccp.c, combine.c, cp-lex.c, cse.c, dbxout.c: Likewise. - * dwarfout.c, emit-rtl.c, explow.c, expmed.c, expr.c: Likewise. - * final.c, flow.c, fold-const.c, function.c, gcc.c: Likewise. - * genattrtab.c, genpeep.c, genrecog.c, global-alloc.c: Likewise. - * jump.c, local-alloc.c, optabs.c, recog.c, reg-stack.c: Likewise. - * regclass.c, reload.c, reload1.c, reorg.c, rtl.c: Likewise. - * rtlanal.c, sched.c, sdbout.c, stmt.c, stor-layout.c: Likewise. - * toplev.c, unroll.c, varasm.c, loop.c, xcoffout.c: Likewise. - * caller-save.c, combine.c, cp-class.c, cp-decl.c, cp-method.c: - Cast and declare objects used to refer to wide values as HOST_WIDE_INT. - Use HOST_BITS_PER_WIDE_INT instead of HOST_BITS_PER_INT. - * cp-pt.c, cp-type2.c, cp-typeck.c, cse.c, dbxout.c: Likewise. - * dwarfout.c, emit-rtl.c, explow.c, expmed.c, expr.c: Likewise. - * final.c, fold-const.c, genattrtab.c, recog.c, reg-stack.c: Likewise. - * regclass.c, reload.c, sched.c, stmt.c, stor-layout.c: Likewise. - * loop.c, toplev.c, unroll.c, varasm.c: Likewise. - * caller-save.c, combine.c, flow.c, global-alloc.c, reorg.c, sched.c: - When refering to regsets, use type REGSET_ELT_TYPE. - * calls.c, combine.c, emit-rtl.c, explow.c, expmed.c, expr.c, final.c: - Use GEN_INT macro when making CONST_INTs. - * function.c, jump.c, loop.c, optabs.c, recog.c, reload1.c: Likewise. - * unroll.c: Likewise. - * cp-decl.c, cp-ptree.c, print-tree.c: Use HOST_PTR_PRINTF when - printing pointer values. - * cccp.c, cexp.y, gcc.c (NULL, NULL_PTR): Provide default definition. - * c-common.c (NULL): Remove definition from here. - * c-decl.c (NULL): Likewise. - (finish_struct): Ensure high-order part of width is zero. - * cp-decl.c (finish_enum): Likewise. - * c-lex.c (yylex): Call build_int_2 in more portable way. - (yyprint): Print constant different ways, depending on host parameters. - * final.c (output_asm_insn, output_addr_cont): Likewise. - * genattrtab.c (write_test_expr): Likewise. - * print-tree.c (print_node_brief, print_node): Likewise. - * cp-decl.c (xref_tag): Remove explicit reference to modes. - * cp-method.c (build_overload_value): Likewise. - * cp-lex.c (real_yylex): Make accumulating bits for constant - more portable. - * cse.c (uid_cuid): Now pointer to int instead of to short. - (exp_equiv_p): Change ifs on GET_RTX_FORMAT to a switch. - Add format code of "w". - * emit-rtl.c (gen_rtx): Add format code of "w". - * jump.c (rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise. - * loop.c (rtx_equal_for_loop_p): Likewise. - * reload.c (operands_match_p): Likewise. - * rtl.c (copy_rtx, copy_most_rtx): Likewise. - * rtlanal.c (rtx_equal_p): Likewise. - * sched.c (rtx_equal_for_memref_p): Likewise. - * explow.c (plus_constant_wide): Formerly plus_constant; argument - is HOST_WIDE_INT. - (plus_constant_for_output_wide): Similarly. - * fold-const.c: Use MAX_SHORTS for dimension of array of shorts. - * genattrtab.c (NULL_ATTR): New macro. - (attr_rtx): Use XWINT, not XINT, for CONST_INT. - Add case "w". - (check_attr_test, write_test_expr, main): Use XWINT, not XINT, - for CONST_INT. - * genemit.c (gen_exp): Use "NULL_RTX" instead of "0" when - emitting null. - Use GEN_INT and proper width when emitting a CONST_INT. - Abort if trying to write a CONST_DOUBLE. - * genrecog.c (struct decision): Add new fields TEST_ELT_ZERO_WIDE - and ELT_ZERO_WIDE. - (add_to_sequence, not_both_true, merge_trees, write_tree_1): - Use new fields. - * global-alloc.c (INT_BITS, INT_TYPE): Use HOST_WIDE_INT for type - of conflict matrix. - * loop. (loop_n_iterations): Now HOST_WIDE_INT. - * recog.c: Remove redundant declarations of plus_constant_for_output - and copy_rtx. - * rtl.c: Declare atol if needed. - (rtx_format): Add code for "w". - (read_rtx): Read code "w" field with atol if required. - (init_rtl): Fields of CONST_DOUBLE are now type "w". - * rtlanal.c (get_integer_term): Returns HOST_WIDE_INT. - * cccp.c, toplev.c: Error function args are HOST_WIDE_INT (kludge). - * toplev.c (exact_log2_wide): Renamed from exact_log2 and now has - arg of type HOST_WIDE_INT. - (floor_log2_wide): Similarly. - * tree.c (permalloc): Type of SIZE arg is int, not long. - (build_int_2_wide): Renamed from build_int_2 and has args of - type HOST_WIDE_INT. - * unroll.c (loop_iterations): Now returns HOST_WIDE_INT. - * varasm.c (immed_double_const): Arguments are now HOST_WIDE_INT. - -Mon Jul 6 14:56:26 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c-common.c (decl_attributes): Don't set DECL_PACKED on VAR_DECL. - - * Makefile.in (GCC_CFLAGS): - Use CROSS_GCC_CFLAGS instead of -B for tooldir. - * cross-make (CROSS_GCC_CFLAGS): Define as -B for tooldir. - - * c-decl.c (finish_function): If return type of `main' is not `int', - warn instead of doing DEFAULT_MAIN_RETURN. - - * collect2.c, dwarfout.c, halfpic.c: Don't incude string.h. - - * c-decl.c (duplicate_decls): Let char *foo () match void *foo () - only if one of them came from a system header file. - - * stmt.c (pushcase): Fix typo. - - * Makefile.in (ALLOCA_FINISH): Make default `true'. - - * cccp.c (main): Clear first_bracket_include for -I-. - Set first_system_include for first system header directory. - (is_system_include): Start search at first_system_include. - -Mon Jul 6 12:58:27 1992 Chip Salzenberg (chip@tct.com) - - * cccp.c (INCLUDE_LEN_FUDGE): Defined. - (append_include_chain): New function. Adds directory(ies) - to include chain and updates value of max_include_len. - (main, path_include): Use append_include_chain. - (do_include): Use INCLUDE_LEN_FUDGE. - - * tree.h (DECL_IN_SYSTEM_HEADER): Defined. - (struct tree_decl): Add in_system_header_flag. - * c-common.c (declare_function_name): For __FUNCTION__ - and __PRETTY_FUNCTION__, set DECL_IN_SYSTEM_HEADER instead - of TREE_USED to supress `unused' warnings. - * c-decl.c (duplicate_decls): Merge DECL_IN_SYSTEM_HEADER flag. - * print-tree.c (print_node): Display TREE_RAISES and - DECL_IN_SYSTEM_HEADER flags. - * toplev.c (compile_file): Do not warn if an unused DECL - has DECL_IN_SYSTEM_HEADER set. - (rest_of_compilation): Do not set TREE_USED on static - functions defined in system headers; this will be taken - care of with DECL_IN_SYSTEM_HEADER. - * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER on permanent - decls defined in system headers. - * objc-actions.c (build_module_descriptor,add_objc_decls): - Set DECL_IN_SYSTEM_HEADER instead of TREE_USED on compiler- - created decls. - -Mon Jul 6 10:17:30 1992 Michael Collison (collison at osf.org) - - * i386.h (SUBTARGET_SWITCHES): - Incoporate SUBTARGET_SWITCHES into TARGET_SWITCHES. - (HALF_PIC_P, HALF_PIC_NUMBER_PTRS, HALF_PIC_NUMBER_REFS, - HALF_PIC_ENCODE, HALF_PIC_DECLARE, HALF_PIC_INIT, - HALF_PIC_ADDRESS_P, HALF_PIC_PTR, HALF_PIC_FINISH): - Define these as stubs if not OSF/1 platform. - * i386.md (movsi): Recognize half-pic moves. - -Mon Jul 6 11:16:47 1992 Tim Moore (moore@defmacro.cs.utah.edu) - - * pa.h (ASM_DECLARE_FUNCTION_NAME): Fix typo - -Mon Jul 6 08:48:51 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) - - * m68k.md (swapsi): Add `+' operand constraints. - (insert to memory recognizer): Add `+'. - (peephole for moving returned value to fp reg): Add `='. - -Sun Jul 5 16:34:24 1992 John F Carr (jfc at Achates.mit.edu) - - * vax.md (addsi3): Code generation improvements (whether to use movab). - - * vax.md (andsi3, andhi3, andqi3): If one of the source operands - is a constant, complement that operand instead of a register or - memory operand. - -Sun Jul 5 13:16:15 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * combine.c (try_combine): When splitting using a DEFINE_SPLIT, - update the number of sets of the destination if it is being set - twice. Also update reg_significant. - -Sun Jul 5 13:14:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c++: Fix typo testing $quote for nullness. - - * cse.c (simplify_binary_operation): Don't put sum of two symbolic - addresses into a CONST. - - * m68kv4.h (ASM_OUTPUT_ALIGNED_COMMON): #undef this. - (ASM_OUTPUT_ALIGNED_LOCAL): #undef this. - (ASM_OUTPUT_ASCII): New overriding definition. - (ASM_OUTPUT_CASE_END): New overriding definition. - - * c-typeck.c (convert_arguments): No -Wconversion warning - if the function wants an enumeral type. - - * tek6000.h, tek6100.h, tek6200.h: New files. - * configure (ns32k-tek6100-bsd, ns32k-tek6200-bsd): New alternatives. - * config.sub: utek is synonym for bsd. - - * Makefile.in (alloca.o): Add -c. - - * Makefile.in (start.encap): Use LIBGCC1, not LIBGCC1_TARGET. - (GCC_CFLAGS): Find executables in $(tooldir)/bin, not $(tooldir). - (libgcc1.cross): New target. - (all.cross, cross-test): Depend on libgcc.a. - * cross-make (LIBGCC1): Use libgcc1.cross. - - * Makefile.in (USER_H): va-hp800.h changed to va-pa.h. - (install-common): Fix typo. - - * stmt.c (pushcase, pushcase_range): Use STRIP_NOPS on the values. - - * x-amix, x-i860v4, x-ncr3000, x-sparcv4: Undo last change. - * x-i386v4, x-m68kv4: Files deleted. - * configure (i386-*-sysv4, i486-*-sysv4, m68k-*-sysv4): - Corresponding changes. - - * c-decl.c (duplicate_decls): Don't warn about disagreement in `inline' - except when non-inline fn is made inline after a call or definition. - -Sun Jul 5 10:25:22 PDT 1992 Ron Guilmette (rfg at ncd.com) - - * c-decl.c (grokdeclarator): Make `long long long' an error, not a - warning. Make duplicate qualifiers do pedwarn, not warning. - - * c-decl.c (pushdecl): Always create a new (variant) ..._TYPE node - for each new TYPE_DECL node created. - - * libgcc2.c (UQItype, SItype, USItype, DItype, UDItype, SFtype, DFtype, - XFtype, TFtype): Typedefs added. - (SI_TYPE_SIZE): Renamed globally from LONG_TYPE_SIZE. - Define names for ANSI C types to `bogus_type' over the range of lines - where we must always use the new mode-related types. Undef them again - at the end of that range (so we can used the ANSI types again), and - then define the mode-related type names to `bogus_type' to insure - those are not used from then on. - - * libgcc2.c, longlong.h (DIstruct): Renamed globally from `longlong'. - (DIunion): Renamed globally from `long_long'. - Universally use the new mode-related type names for all functions - and macros which expect, yield, or otherwise rely on operands to be - of certain GCC-defined machine modes. - -Sun Jul 5 11:11:00 1992 Torbjorn Granlund (tege@wombat.gnu.ai.mit.edu) - - * pa.h: (TARGET_VERSION): Print " (hppa)". - * pa.md (zdepi recognizer): Add attribute. - (recognizers for SImode load and store with fpregs): Add `=' to - operand 0. - -Sat Jul 4 15:02:19 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * configure (mips-*-sysv4): Don't set use_collect2. - - * c-parse.y (primary): Wrap a NOP_EXPR around an enum value. - - * libgcc2.c (__builtin_saveregs for i860): Test __svr4__, not SVR4. - * va-i860.h: Test __svr4__. - - * c-decl.c (finish_function): Set BLOCK_SUPERCONTEXT of outer block. - - * x-m88kv3: File deleted. - - * x-sparcv4 (X_CFLAGS): Add -dn. - - * reorg.c: Move the #ifdef DELAY_SLOTS after the #includes. - -Sat Jul 4 14:16:33 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * combine.c (SUBST): Ensure we don't call something that can make - a new undo entry in the middle of our making one. - -Sat Jul 4 12:17:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Makefile.in (cp-parse.c): Append YYEMPTY to cp-parse.h, not ...y. - - * cse.c (simplify_unary_operation): Add aborts in zero_extend - and sign_extend cases, explaining how they might need to be changed. - - * i960.h (WORD_SWITCH_TAKES_ARG): Fix typo. - - * x-amix, x-sparcv4, x-i860v4, x-i386v4, x-ncr3000: - Add -static to X_CFLAGS. - * x-m68kv4: New file. - * isc.h (HANDLE_SYSV_PRAGMA): Defined. - -Sat Jul 4 15:18:33 PDT 1992 Ron Guilmette (rfg at ncd.com) - - * xm-spc-sol2.h: New file. - - * tree.h (DECL_UID): Definition added. - (struct tree_decl): `uid' field added. - * tree.c (DECL_UID): Initialize this uniquely for each new ..._DECL. - - * rtl.h (NOTE_INSN_DELETED_LABEL): Definition added. - * rtl.c (note_insn_name): Add entry for NOTE_INSN_DELETED_LABEL. - * final.c (final_scan_insn): Call `dwarfout_label' for each - `NOTE_INSN_DELETED_LABEL'. - * jump.c (delete_insn): Don't really delete CODE_LABELs corresponding - to user-declared lables... Turn them into NOTE_INSN_DELETED_LABELs - instead. + * config/m68k/mot3300.h (ASM_OUTPUT_OPCODE): Don't add .w suffix + to jump insns. - * dwarf.h (AT_abstract_origin): Renamed from AT_specification. - * dwarfout.c (dwarf_attr_name): Likewise. - (dwarf_tag_name, dwarf_attr_name, dwarf_stack_op_name, - dwarf_typemod_name, dwarf_fmt_byte_name): Use normal DWARF prefixes - for string names of unrecognized values. - (is_block_body): New function added. - (DECL_NAME_FMT): Definition added. - (equate_decl_number_to_die_number, abstract_origin_attribute, - pure_or_virtual_attribute): New functions added. - (src_coords_attribute): Only define this is DWARF_DECL_COORDINATES - is defined. + * combine.c, cse.c: Include stdio.h before rtl.h. - * populate: New file. +Wed Jul 7 18:06:45 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * function.c (instantiate_decls): Delete #if 1. + 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. - * flags.h, toplev.c, dbxout.c (use_gnu_debug_info_extensions): - Renamed from `use_gdb_dbx_extensions'. + * sparc.h (SECONDARY_MEMORY_NEEDED_RTX): Use + STARTING_FRAME_OFFSET. + (STARTING_FRAME_OFFSET): Set to -16. - * toplev.c (main): Added support for -gdwarf+ and for -gxcoff+. + * 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. -Sat Jul 4 08:39:47 1992 Tom Wood (wood@dg-rtp.dg.com) + * combine.c (simplify_comparison): Add parentheses to satify gcc. + * sparc.c (sparc_frw_save_restore): Likewise. + * expr.c (convert_to_mode): Move misplaced parentheses. - * m88k.c (m88k_end_prologue): Reset frame_laid_out here. - (m88k_expand_prologue): Not here. +Wed Jul 7 16:37:26 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * m88k.h (IDENT_ASM_OPT, ALIGN_ASM_OPT, ASM_OUTPUT_CASE_LABEL): - Override svr4.h. + * 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. -Fri Jul 3 12:40:27 1992 Paul Eggert (eggert@twinsun.com) +Wed Jul 7 11:19:03 1993 Ian Lance Taylor (ian@cygnus.com) - * fold-const.c (fold_convert): When converting a floating point - constant to integer, warn about out-of-range values after truncating - to integer, not before. + * glimits.h (MB_LEN_MAX): Don't override the value from the system + . Just define it if it is not already defined. -Fri Jul 3 19:34:07 1992 Mike Stump (mrs@hal) + * collect2.c (main): Search for ld in the compiler directories. - * Makefile.in ($(srcdir)/cp-parse.c): extract YYEMPTY out of the - parser generated .c file and put in the parser .h so that cp-lex.c - does not have to define it. +Wed Jul 7 13:40:55 1993 Jim Wilson (wilson@kropotkin.gnu.ai.mit.edu) - * cp-tree.c (__eprintf): Third argument line is now unsigned, - completes Ron's Jul 2 change. + * collect2.c (fork_execute, scan_prog_file): Use "fork" in error + messages instead of "vfork" when vfork is defined to fork. -Fri Jul 3 15:03:30 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Jul 6 16:38:36 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * configure: Set FIXINCLUDES in Makefile based on sysv4 or not. - * x-amix (ENQUIRE_CFLAGS, FIXINCLUDES): Deleted. + * sparc.c (sparc_type_code): Recognize SET_TYPE. For special + Fortran/Pascal types, just return qualifiers instead of aborting. - * config.sub: Recognize i486 like i386. + * c-decl.c (insert_block): Correct typo in comment. - * defaults.h (ASM_FORMAT_PRIVATE_NAME, ASM_OUTPUT_ADDR_VEC_ELT): - (ASM_OUTPUT_ADDR_DIFF_ELT, ASM_STABD_OP): New default definitions. - * final.c: Include defaults.h. - (ASM_STABD_OP): Deleted. - * Makefile.in (final.o) Depend on defaults.h. + * combine.c (simplify_and_const_int, LSHIFTRT case): Must be at + least as many sign bit copies as bits in mask. - * Makefile.in (toplev.o): Use MAYBE_TARGET_DEFAULT. - * configure: Set MAYBE_TARGET_DEFAULT for some targets. - Use 3, if target is i486... - Recognize i486 as well as i386 for most targets. + * 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. - * x-hp320g (LIBGCC1, AR, RANLIB, RANLIB_TEST, LIBCONVERT): Deleted. - * t-hp320g (LIBGCC1, AR, RANLIB, RANLIB_TEST, LIBCONVERT): Defined. - * t-svr4 (FIXINCLUDES): Deleted. + * fold-const.c (invert_truthvalue): Check for ERROR_MARK input. - * Makefile.in (ENQUIRE_CFLAGS): Add -DNO_LONG_DOUBLE_IO. + * 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. - * fold-const.c (BRANCH_COST): Add default definition. + * 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-tree.h: Declare intQI_type_node, etc. - * cp-decl.c: Declare intQI_type_node, etc. - (init_decl_processing): Initialize those nodes. + * sparc.c (output_move_quad): Implement CNSTOP case. -Thu Jul 2 15:18:33 PDT 1992 Ron Guilmette (rfg at ncd.com) + * i960.h (ASM_OUTPUT_COMMON): Use SIZE not ROUNDED. - * amix.h (ASM_OUTPUT_CASE_END, ASM_OUTPUT_ALIGNED_LOCAL): Output - tabs before SET_ASM_OP. +Tue Jul 6 02:12:15 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * Makefile.in (dwarfout.o): Dependency on defaults.h added. + * cse.c (simplify_binary_operation, case MINUS): Fix backwards + test added in last change. - * sparcv4.h: Include real.h. - (SET_ASM_OP): Undef it. + * config/i386/sun.h (SIZE_TYPE): Deleted. - * svr4.h (IDENT_ASM_OP): Added generic svr4 definition. - (ASM_FILE_END, ASM_OUTPUT_IDENT): Use IDENT_ASM_OP. - (ALIGN_ASM_OP): Added generic svr4 definition. - (ASM_OUTPUT_CASE_LABEL): Added generic svr4 definition. + * c-typeck.c (convert_arguments): Don't warn for -Wconversion + about signedness of an arg that's extended from narrower unsigned type. - * i860.c (strict_single_insn_op_p, relop): Deleted. - * i860.h (ASM_OUTPUT_CASE_LABEL): Fixed definition to use - ASM_OUTPUT_ALIGN and ASM_OUTPUT_INTERNAL_LABEL. - * i860b.h, i860v3.h (TARGET_VERSION): Definitions added. - * i860v3.h (CPP_PREDEFINES): Predefine __svr3__ rather than SVR3. + * c-decl.c (duplicate_decls): Don't warn for non-extern var decl + following an extern one (for -Wredundant-decls). - * c-decl.c (named_labels): Change linkage to static. +Mon Jul 5 17:50:27 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * assert.h (__eprintf): Declare 3rd arg as unsigned. + * reload1.c (emit_reload_insns): Don't use gen_lowpart_common to + get reload register into proper mode. + * reload.c (subst_reloads): Likewise. - * cccp.c (do_include): Don't do fprintf's if inhibit_warnings. - Renamed system_header_p to angle_brackets. Use is_system_include. - (is_system_include): New function. - (redundant_include_p) : Renamed from lookup_include. + * combine.c (subst, case PLUS): Simplify (plus (comp A B) -1), etc. - * c-common.c (type_for_size): If no ANSI type matches, check for - matches with built-in mode-releated types. - (type_for_mode): Likewise. - * c-decl.c: Added declarations for mode-related internal type nodes. - (init_decl_processing): Initialize the new type nodes. - * c-tree.h: Added declarations for mode-related internal type nodes. - intQI_type_node, etc. + * fold-const.c (fold, case EQ_EXPR, LE_EXPR): If comparing results + of signed MOD with zero, use an unsigned MOD. - * c-lex.c (yylex): For integers, rename shorts to parts. - Let the number of them be variable. Simplify overflow testing. - Don't use long long types unless ll was specified. - Don't warn twice. + * calls.c: Fix typo: had ARGS_GROW_DOWNARD. -Thu Jul 2 20:30:20 1992 Roland McGrath (roland@churchy.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. - * gstdarg.h: #ifdef _STDARG_H, not __STDARG_H. +Mon Jul 5 17:44:09 1993 John F Carr (jfc@Athena.mit.edu) -Thu Jul 2 18:18:07 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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). - * global.c: Renamed from global-alloc.c. +Mon Jul 5 17:15:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Jul 2 15:36:25 1992 Torbjorn Granlund (tege@wombat.gnu.ai.mit.edu) + * objc-act.c (encode_type_qualifiers): Add casts to enums in indices. - * pa.c (zdepi_operand): New function. - (emit_move_sequence): Use it. - * pa.md: New pattern to recognize cases where zdepi can be used to - load immediate constant. - (insv): Allow obvious immediate values. - (insv + 1): New recognizer for non-obvious immediate values. +Mon Jul 5 02:25:54 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) -Thu Jul 2 15:13:15 1992 Michael Meissner (meissner@osf.org) + * Makefile.in: Parameterize libgcc.a and install-libgcc + (LIBGCC and INSTALL_LIBGCC). - * halfpic.c (half_pic_encode): Consider variables which are 'common' - variables to need pic fixup. Move the debug code, so that it prints - for all calls, and calls debug_tree also. - (half_pic_address): When doing eliminate_constant_term on a CONST, - do a XEXP (addr, 0) to get to the real address. + * tree.c (get_narrower): Preserve unsignedness when bitschange == 0. - * decrose.h (CPP_SPEC, CC1_SPEC): If neither -fbuiltin nor - -fno-builtin are passed, pass -fno-builtin, and renable the string - and memory builtins via macros. This is to support compiling the - OSF/1 kernel which has a prototyped exit function which takes three - arguments. With no -pic switches, default to using shared libs. +Sun Jul 4 02:55:46 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * i386rose.h (CPP_SPEC, CC1_SPEC): If neither -fbuiltin nor - -fno-builtin are passed, pass -fno-builtin, and renable the string - and memory builtins via macros. This is to support compiling the - OSF/1 kernel which has a prototyped exit function which takes three - arguments. Turn off pic support until the 386 backend supports it. + * expmed.c (store_split_bit_field, extract_split_bit_field): + Handle fields split across more than 2 aligned units. - * x-i386rose (SHLIB): Use -pic-none instead of -L${BUILD}/usr/ccs/lib. + * expr.c (store_field): Test STRICT_ALIGNMENT at run time. + (expand_expr, COMPONENT_REF case): Fetch unaligned field as bitfield. - * x-decrose (SHLIB): Use -pic-none instead of -L${BUILD}/usr/ccs/lib. + * collect2.c (error, fatal, fatal_perror): Say collect2, not collect. - * mips.md (movsi): Rewrite handling of half-pic code so that load - address of symbol + value is handled. - (branch_zero): Don't allow branch comparing constant to 0. + * c-parse.in (primary): In statement expression case, + if compstmt returns something other than a BLOCK, + return it unchanged. -Thu Jul 2 06:26:38 1992 Tom Wood (wood@dg-rtp.dg.com) +Sat Jul 3 20:32:43 1993 Minh Tran-Le (tranle@intellicorp.com) - * m88k.md (blockage insn): Renamed from profiler. - (epilogue insn): Don't provide this if a return insn will suffice. - (m88k_end_epilogue): If the last insn isn't a barrier, print a return. - * m88k.c (null_prologue): Renamed from null_epilogue. + * fixinc.svr4: Added fixup for __STDC__ == 0 and __STDC__ == 1 + cases found in sequent PTX-2.0.x headers. - * m88k.c (condition_value): New function. - * m88k.md (compare word insns): New insns and define_split - patterns to take advantage of recent fold_truthop change. +Sat Jul 3 18:54:07 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * m88k.h (ADDITIONAL_REGISTER_NAMES): Represent the condition code - register as (reg:CC 0). Give it the names "cc" and "psr". - * m88k.md (superoptimizer sequences): New define_split patterns. - (add/sub with carry): New insns. - (add/sub DImode, ffssi2): Clobber the condition code register. + * 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). -Wed Jul 1 13:37:37 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Jul 3 16:40:52 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) - * gstddef.h Don't define macros associated with size_t unless we - actually want to declare size_t. Likewise for ptrdiff_t and wchar_t. + * collect2.c (main): Give ld_file_name an initial value. - * Makefile.in (install-common): Depend on xgcc, g++, c++, EXTRA_PARTS. - Don't delete specs from libsubdir unless it exists in build dir. +Fri Jul 2 16:36:56 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) - * va-pa.h: Renamed from va-hp800.h. - * gstdarg.h, gvarargs.h: Use new name. + * sparc.md (ashldi3+2): Change lshift to ashift. - * news3.h, news3gas.h: New files. - * configure (m68k-sony-newsos3*): New alternative. + * 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. - * romp.h (SIZE_TYPE): Defined. +Fri Jul 2 01:10:56 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * configure: Support --exec-prefix. Simplify handling - detached arguments of options. + * Makefile.in (install-headers-tar): Ignore exit status of the + first tar command. - * isc.h, and other related files: - waiting for entries from karl@cs.umb.edu. +Thu Jul 1 14:31:45 1993 Doug Evans (dje@canuck.cygnus.com) -Wed Jul 1 12:04:53 1992 Ron Guilmette (rfg at ncd.com) + * flow.c (find_auto_inc): In *p=expr;q=p+size case, avoid clobbering q + if referenced in expr. - * c-decl.c (grokdeclarator): Don't mark file-scope register variables - as TREE_PUBLIC. +Fri Jul 2 01:26:01 1993 Paul Eggert (eggert@twinsun.com) -Wed Jul 1 12:04:53 1992 Karl Berry (karl@cs.umb.edu) + * 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. - * i386iscgas.h (SIZE_TYPE, PTRDIFF_TYPE): Define these, since we - need to override GCC's defaults. + * 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. - * configure (i386-*-isc): Use different files if we have gas. - * t-i386iscgas, i386iscgas.h, isc.h: New files - * i386isc.h: Include isc.h. Most of contents moved to isc.h. - * bsd386.h (ASM_OUTPUT_LABELREF) [NO_UNDERSCORES]: do not prepend an - underscore in this case. - * i386gas.h (CPP_SPEC): if -posix, do -D_POSIX_SOURCE. +Thu Jul 1 20:55:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Wed Jul 1 09:13:44 1992 Tom Wood (wood@dg-rtp.dg.com) + * reload1.c (eliminate_regs): Fix typo in BYTE_LOADS_ZERO_EXTEND. - * fold-const.c (fold_truthop): Renamed from merge_component_references. - (simple_operand_p): New function. - (range_test): Change JCODE parameter to the unconditional operation. - (fold_truthop): When branches are expensive, try to evaluate the - RHS unconditionally. Compute local variables as late as possible. +Thu Jul 1 20:00:00 1993 DJ Delorie (dj@ctron.com) - * m88k.h (HANDLE_SYSV_PRAGMA): Replaces HANDLE_PRAGMA. - * m88k.c (m88k_handle_pragma_token): Deleted. + * gcc.c (choose_temp_base): Try multiple variables. Don't + assume that the variable points to a valid directory. -Tue Jun 30 15:32:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * gcc.c (pexecute): Handle the MS-DOS return codes correctly. + Add .exe to file name when appropriate. - * c-decl.c (duplicate_decls): If newdecl for builtin function - has same return mode as the builtin, keep the builtin - but use newdecl's return type. + * configure.bat: Make gcc use its own obstack.o. - * i386.md (lshrdi3_const_int): Fix typo in shr insn. + * objc/makefile.dos: New file for building with djgpp. - * Makefile.in (GCC_CFLAGS): Add `-B$(tooldir)/'. +Thu Jul 1 18:15:17 1993 Paul Eggert (eggert@twinsun.com) - * i386sun.h, rs6000-mach.h, sparc.h, sun2o4.h, sun3.h (LINK_SPEC): - Inhibit the default -e if -r or -nostdlib. + * 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. - * c-decl.c (lookup_label): Call label_rtx. + * 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. - * c-parse.y (primary): Rearrange and clean up. In C_DECL_ANTICIPATED - case, always call assemble_external and set TREE_USED. +Thu Jul 1 14:56:56 1993 Jeffrey A. Law (law@snake.cs.utah.edu) -Mon Jun 29 22:27:49 1992 Mike Stump (mrs@wombat.gnu.ai.mit.edu) + * pa.h (OVERRIDE_OPTIONS): Define. Give a warning if -fpic or + -fPIC was specified on the command line. - * cccp.c, cp-dem.c, dbxout.c, cp-lex.c, cp-xref.c, cp-method.c, - dwarfout.c, c-typeck.c, mips-tfile.c, protoize.c, collect2.c: Make - the compiler more consistent by using index and rindex everywhere - instead of sometimes using strchr and strrchr. + * configure (hppa1.0-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. -Mon Jun 29 22:20:13 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Thu Jul 1 09:48:23 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * regclass.c (regclass): Restore some accidentally-deleted code. + * fold-const.c (fold, case GE_EXPR, LT_EXPR): Don't assume + result of comparison is integer_type_node. -Mon Jun 29 12:48:05 1992 Nobuyuki Hikichi (hikichi@sra.co.jp) +Thu Jul 1 00:23:16 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * collect2.c (MY_ISCOFF): New macro. - (scan_prog_file): Use that instead of ISCOFF. + * config/i386/mach.h (SIZE_TYPE): Definition deleted. - * mips.c (override_options) [MIPS_NEWS]: Call setlinebuf. +Wed Jun 30 16:16:20 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Mon Jun 29 12:48:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/m68k/sun3.h (SIZE_TYPE): Definition deleted. - * gcc.c (do_spec_1): For %I, pass -iprefix, not -imacros. +Wed Jun 30 16:55:25 1993 John F Carr (jfc@Athena.mit.edu) - * c-common.c (decl_attributes): For `packed' on VAR_DECL, - set DECL_PACKED and DECL_ALIGN. + * 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. - * configure: Update usage message. - (m68k-sony-newsos*, mips-sony-newsos*): New synonyms. +Wed Jun 30 15:19:42 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - * fold-const.c (merge_component_references): - Make sure the four fields correspond in the proper order. + * config.sub: Recognize `gnu' as a valid operating system. Sheesh. - * c-lex.c (check_newline): Support HANDLE_SYSV_PRAGMA. - (handle_sysv_pragma): New function. - * c-pragma.c: New file. - * stor-layout.c (maximum_field_alignment): New variable. - (layout_decl): Use it. - * Makefile.in (C_OBJS, OBJC_OBJS): Add c-pragma.o - (c-pragma.o): New rule. +Wed Jun 30 13:43:45 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * i386.c (handle_pragma_token): Function deleted. - * i386v4.h (HANDLE_PRAGMA): Deleted. + * pa.c (output_function_prologue): Emit SAVE_SP flag if a frame + pointer is needed. - * g++: Reestablish symlink to c++. - Delete the testing of $TRACE--this could confuse people. - Delete spurious assignment of $version. +Wed Jun 30 00:52:25 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * tree.h (DECL_PACKED): Store this in regdecl_flag. + * collect2.c (main): Don't look for `gld' or `TARGET-gld'. - * Makefile.in (LIB2FUNCS): Change _builtin_New to _caps_New. - * libgcc2.c: Change L_builtin_New to L_caps_New. + * fixincludes (stdtypes.h): Verify that size_t etc. follow whitespace. - * dbxout.c (dbxout_symbol): Pass 3 args to eliminate_regs. - Call alter_subreg for subregs. Delete subreg case later on. - Don't bother with reg_renumber--any pseudo reg is clearly - a variable that was not allocated. - * sdbout.c (sdbout_symbol): Call alter_subreg for subregs. - Don't bother with reg_renumber--any pseudo reg is clearly - a variable that was not allocated. + * 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. - * sequent.h (SIZE_TYPE): Defined. - (LINK_LIBGCC_SPECIAL): Fix typo. + * 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. -Mon Jun 29 12:04:57 1992 Tom Wood (wood@dg-rtp.dg.com) +Tue Jun 29 22:28:06 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * toplev.c (rest_of_compilation): Thread the prologue and epilogue - code immediately after reloading is done. - * sched.c (schedule_insns): Reposition the prologue and epilogue - notes as needed. - * reorg.c (dbr_schedule): Ditto. - * rtl.h (NOTE_INSN_PROLOGUE_END, NOTE_INSN_EPILOGE_BEGIN): New notes. - * rtl.c (note_insn_name): Record them. - * function.c (record_insns, contains, thead_prologue_and_epilogue_insns, - reposition_prologue_and_epilogue_notes): New functions. - * final.c: Include insn-flags.h. - (profile_after_prologue): New function. - (final_start_function): Use profile_after_prologue here when we - don't HAVE_prologue. - (final_scan_insn): Use profile_after_prologue when we scan - NOTE_INSN_PROLOGUE_END. (This happens when we do HAVE_prologue.) - Perform machine specific actions when the prologue-end and - epilogue-begin notes are scanned. - (final_scan_insn, BARRIER): Align only when something follows. - * Makefile.in (final.o): Depends on insn-flags.h. + * pa.c (singlemove_string): Use zdepi and ldil to load constants + into registers when appropriate. - * m88k.h (FUNCTION_END_PROLOGUE, FUNCTION_BEGIN_EPILOGUE): Define. - (DELAY_SLOTS_FOR_EPILOGUE, ELIGIBLE_FOR_EPILOGUE_DELAY): Delete. - * m88k.md (prologue, epilogue, profiler, locate1, locate2): New - patterns for representing prologues and epilogues. - * m88k.c (delay_slots_for_epilogue, eligible_for_epilogue_delay, - ok_for_epilogue_p): Delete epilogue delay slot functions. - (m88k_begin_prologue m88k_end_prologue m88k_expand_prologue): New - functions replacing m88k_output_prologue. - (m88k_begin_epilogue m88k_end_epilogue m88k_expand_epilogue): Ditto. - (preserve_registers): Delete epilogue delay slot mechanism and - change to output insns. - (emit_add, emit_ldst): New functions. +Tue Jun 29 11:26:35 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sun Jun 28 23:06:04 1992 Brendan Kehoe (brendan@cs.widener.edu) + * config.sub: Recognize -sysv* after -sysvr4. - * Makefile.in (bootstrap, bootstrap2, bootstrap3): In each - passage of CC, use xgcc, not gcc. - * dostage2, dostage3: Likewise. + * config/vax/vax.h (GO_IF_NONINDEXED_ADDRESS): Declare reg_equiv_mem. -Sun Jun 28 09:48:18 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Jun 28 20:12:04 1993 Steve Chamberlain (sac@apple-gunkies.gnu.ai.mit.edu) - * c-decl.c (duplicate_decls): If have char *foo () and - void *foo (...), make just a pedwarn. Add locals oldtype, newtype. - * c-typeck.c (self_promoting_args_p): No longer static. + * config/sh/*: Major rework. - * flow.c (regno_uninitialized): Return 0 for global reg var. +Mon Jun 28 02:46:47 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * c-typeck.c (initializer_constant_valid_p): - Allow CONVERT_EXPR if its operand is allowable. - (build_c_cast): For cast to union, make a CONSTRUCTOR. + * fixincludes (file): When changing VA_LIST to DUMMY_VA_LIST, + preserve _NEED___VA_LIST. - * sparc.c (SPARC_STACK_ALIGN): Add default definition. + * 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. - * c++: Use `set "$@"' to modify arguments. - Use a case to decide how to set $gcc. - $quote is now empty for false and the option name for true. - Error at end if $quote is nonempty. - $speclang is now the -x option itself. - Move the -v case above the -* case. + * 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. - * limitx.h: Add #ifndef. - * limity.h: New file. - * Makefile.in (install-limits-h): Append limity.h to the end. + * 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. - * c-typeck.c (digest_init): Don't push spellings here (for union case). - (process_init_constructor): Fix errors for field not found. - (build_c_cast): Fold casts to union type. + * config/sparc/sol2.h (CPP_SPEC): For -compat-bsd, put the ucbinclude + dirs before, not after. - * xm-vms.h (XREF_FILE_NAME): Fix typo. + * expr.c (store_field): Store unaligned field with bit field methods. - * i386sun.h (SIZE_TYPE): Defined. + * 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. - * Makefile.in (alloca.o): Delete the rm command. - Use -Demacs explicitly in compilation command. - (ALLOCA_FLAGS, ALLOCA_FINISH): Empty by default. - * x-pa-hpux, x-rs6000, x-rs6k-mach, x-dpx2200, x-dpx2300: - (ALLOCA_FLAGS, ALLOCA_FINISH): Deleted. - * x-dpx2200, x-dpx2300 (AS): Deleted. + * reload.c (find_reloads_address): Be selective about what inner + addresses to allow in an indirect mem ref. - * configure: Set broken_install for V.4. - (i386-*-aix, ns32k-*-genix, i386-*-isc, i386-*-sco): - (i386-*-sco3.2v4, m88k-dg-dgux): Set broken_install. - (m88k-*-sysv): Don't use x-m88kv3. - * x-m88kv3: File deleted. - * x-aix386, x-dpx2200, x-dpx2300, x-genix, x-i386isc, x-i386sco: - * x-i386v, x-i386v4, x-i860v3, x-i860v4, x-m88kdgux, x-m88kdolph: - * x-m88kv4, x-ncr3000, x-sparcv4, x-xenix (INSTALL): Deleted. +Sun Jun 27 16:40:59 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Sun Jun 28 08:44:32 1992 Michael Meissner (meissner@osf.org) + * emit-rtl.c (copy_rtx_if_shared): Don't try to copy a 0-length vector. - * regclass.c (record_address_regs): Make the function static to - agree with the forward declaration. + * config/m68k/x-apollo68 (TAROUTOPTS): New definition. - * mips.h (LINK_LIBGCC_SPECIAL): Define. + * config.sub: Canonicalize -sco4 and -sco3.2.4 to -sco3.2v4. -Sun Jun 28 06:14:56 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * gcc.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Check for -iwithprefixbefore. + (option_map): Add --include-with-prefix-before and + --include-with-prefix-after. - * expr.c (direct_load, direct_store): New variables. - (init_expr_once): New function. - (convert_move, convert_to_mode): Don't let gen_lowpart make a MEM in - a mode that can't be directly copied to or from memory. - (store_field): Don't directly store into memory in a mode that - can't be used in a single insn. - (expand_expr, case COMPONENT_REF): Likewise, for load. - * toplev.c (compile_file): Call init_expr_once. +Sun Jun 27 16:04:52 1993 Holger Teutsch (holger@hotbso.rhein-main.de) - * cse.c (fold_rtx, case SUBREG): If we can find nested SUBREGs - with an inner register in the mode we want, get rid of all the - SUBREGs provided they are all within a word. + * va-clipper.h: Use and define Macro __GNUC_VA_LIST. Define struct + __gnuc_va_list. + +Sun Jun 27 08:32:19 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-call.c, cp-class.c, cp-decl.c, cp-edsel.c, cp-lex.c: Don't - declare xmalloc and free here. - * cp-methods.c, cp-pt.c, cp-search.c, flow.c, integrate.c: Likewise. - * loop.c, opjc-actions.c, reload1.c, reorg.c, rtl.c: Likewise. - * stmt.c, tree.c, varasm.c: Likewise. - * toplev.c (xmalloc, xrealloc): Declare return types correctly. - * rtl.h, tree.h: Declare xmalloc and free here. + * 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. - * expmed.c (emit_store_flag): Keep the last target around if we - should preserve subexpressions. - -Sat Jun 27 07:11:28 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * cse.c (cse_insn): See if we have a CONST_INT that is already in - a register in a wider mode. - - * regclass.c: Major rework of regclass pass to do a better job of - setting up register preferences and replace the "preferred or - nothing" method with a class that should be used if the preferred - class cannot be allocated. - (MEMORY_MOVE_COST): Default value is 4, not 2. - (move_cost, may_move_cost): New arrays. - (init_reg_sets): Initialize them. - (struct costs): Replaces struct savings. - (costs): Replaces savings. - (op_costs): New array. - (altclass): Replaces preferred_or_nothing. - (reg_alternate_class): New function; replaced reg_preferred_or_nothing. - (regclass): Major rework. Use new recording methods; make two - passes if -fexpensive-optimizations; and refine REGNO_POINTER_FLAG - and loop_depth setting. - (record_reg_class): New function; replaces reg_class_record. - (copy_cost): New function. - (record_address_regs): Major changes. New parameters and simplified - and more efficient algorithm for chosing base vs. index regs. - * rtl.h (reg_alternate_class): Declare it. - * Makefile.in (regclass.o): Now includes reload.h and real.h. - * flow.c (dump_flow_info): Call reg_alternate_class instead of - reg_preferred_or_nothing. - * reload.c (find_reloads): Likewise. - (n_occurrences): No longer static. - * local-alloc.c: Use register alternate class instead of - preferred_or_nothing uniformly; change qty_preferred_or_nothing - to qty_alternate_class. - * global-alloc.c (global_alloc, retry_global_alloc): Call - reg_alternate_class instead of reg_preferred_or_nothing. - (find_reg): Change ALL_REGS_P argument to ALT_REGS_P. - Use alternate register class instead of ALL_REGS if can't allocate - in preferred class. - - * cccp.c (install): Accept separate arguments for integer and - pointer hash values; don't assume the sizes are the same. - All callers changed. - - * rtl.c (copy_rtx, copy_most_rtx): Add new case for 'u'. + * emit-rtl.c (restore_emit_status): Clear LAST_LABEL_NUM. - * tree.c (make_node): Clear all of common area, in particular, flags. + * calls.c (expand_call): If function hasn't been used before, + call assemble_external. - * c-tree.h, cp-tree.h: Add declaration of truthvalue_conversion. + * 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. -Sat Jun 27 06:21:18 1992 Tom Wood (wood@dg-rtp.dg.com) + * 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. - * m88k.md (type attributes): Delete unused mbit and mfp types. - (ffsi2 insn): Define. - (negdf2 and absdf2 insns): Improve. + * fold-const.c (fold, case TRUTH_XOR_EXPR): End with `return', + not `break'. - * fold-const.c (range_test): Fix the misordered test. Fail if VAR - isn't an integer. + * dwarfout.c (output_compile_unit_die): Add support for Ada. -Sat Jun 27 00:54:44 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-iterate.c (collect_iterators, case SAVE_EXPR): Simplify code + added in previous change. - * gcc.c (link_command_spec): No %D if LINK_LIBGCC_SPECIAL. - * sequent.h (LINK_LIBGCC_SPECIAL): Defined. + * expr.c: Fix typo: was ARGS_GROW_DOWNARD. - * vax.h (PRINT_OPERAND): For SFmode, use 0f, not 0d or 0g. + * combine.c (subst, case IF_THEN_ELSE): Install correct version of + last change. - * ns32k.h (NS32K_DISPLACEMENT_P): Correct the range limits. - * ns32k.c (print_operand_address): REG_OK_FOR_INDEX_P wants an rtx. +Sat Jun 26 15:38:33 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Fri Jun 26 08:55:03 1992 Tom Wood (wood@dg-rtp.dg.com) + * cccp.c (main): For -iwithprefix, if no include_prefix, + make a default from GCC_INCLUDE_DIR. + Support -iwithprefixbefore. - * fold-const.c (range_test): New function. - (merge_component_references): Look for range tests as well. + * reload.c (find_reloads): When merging reloads again after they have + been changed, do check reload_reg_class and reload_nocombine. - * va-m88k.h: Same changes as other va-*.h files below. Make this - work when and others are included on DG/UX. + * config/sparc/sparc.md (movdf recognizer): Remove & from + constraint for loading mem to cpu reg. -Fri Jun 26 08:17:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * expr.c (expand_assignment): If FROM is scalar function call, + expand_expr FROM before TO. - * expr.c (safe_from_p): Handle 0 in TREE_VALUE of a TREE_LIST. - (store_constructor: Ignore empty links in element chain. + * gcc.c (translate_options): `*' inhibits warning of extraneous arg. -Fri Jun 26 07:06:19 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Sat Jun 26 11:07:23 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * c-convert.c (convert_to_integer): Don't add a NOP_EXPR in cases - where we can simply change the type of the entire tree. + * reload1.c (reload): Use reg_equiv_address for invalid addresses + of the form (mem (reg)). - * cse.c (find_best_addr): Look for equivalents of a REG that is - the first operand of an address that is a binary operator whose - second operand is a CONST_INT. + * config/*/xm-*.h: Remove line that #define's alloca + to __builtin_alloca. - * stmt.c (expand_end_bindings): Don't save argument pointer if it - will be eliminated in favor of the frame pointer. + * 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. - * combine.c (try_combine): When using define_split to split an - insn, first try to put the pseudo-register into the mode of - the destination since it is the most likely to be the correct mode. + * 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. - * combine.c (make_compound_operation): Treat PLUS and MINUS - the same when passing down the code to the next level; for - consistency, an ASHIFT inside either gets turned into a MULT. + * expr.c (do_store_flag): When computing via a shift, allow for + an inner RSHIFT_EXPR in BITNUM. + Sometimes do the operations as signed. - * fold-const.c (optimize_bit_field_compare): Delete dead - assignment which can sometimes reference an undefined variable. + * 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. - * genoutput.c (gen_split): Initialize n_alternatives. +Sat Jun 26 03:25:35 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * romp.md (movdf): Fix typo in operand_subword call in define_split. + * configure (i370-*-mvs*): New configuration. + * config/i370/i370.md, mvs370.c, tm-mvs.h, xm-mvs.h -Fri Jun 26 04:38:37 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * final.c, varasm.c: Include ctype.h. + * c-lex.c: Include ctype.h. + (isalnum, isdigit): Macros deleted. - * Make stdarg mechanism work with libc. - * va-hp800.h, va-i860.h, va-i960.h, va-mips.h, va-pyr.h, va-sparc.h): - Don't define or declare va_list; declare __gnuc_va_list. - But only declare it once. - Define other things only if _STDARG_H or _VARARGS_H. - Declare va_end as well as defining it. - * gstdarg.h: Likewise. - If __need___va_list was defined, then undef it - and don't define _STDARG_H. - For all machines, declare va_list from __gnuc_va_list - but only if _STDARG_H is defined. + * 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. - * gvarargs.h: Test _ANSI_H_, not _ANSI_H. +Sat Jun 26 03:15:38 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) -Thu Jun 25 23:24:02 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * gcc.c (option_map): Add missing comma. - * ns32k.c (print_operand): - Change NO_IMMEDIATE_PREFIX_IF_SYMBOLIC conditional to #ifdef. +Sat Jun 26 02:17:28 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * genoutput.c (gen_split): Set d->n_alternatives. + * config/we32k/we32k.c: Clean up formatting. - * Makefile.in (test-protoize-simple): Expect just 400 lines. - (install-common-headers): When comparing srcdir with ., use pwd. + * calls.c (calls_function_1): Add declaration. -Tue Jun 16 22:11:12 1992 Jim Wilson (wilson@sphagnum.cygnus.com) + * config/m68k/m68k.md (fix_truncdfsi2, fix_truncdfhi2, fix_truncdfqi2): + Require TARGET_68881 as well as TARGET_68040. - * Makefile.in (enquire.o): Don't delete/copy enquire.c, just use - the copy in the source directory. +Fri Jun 25 20:13:51 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Tue Jun 25 23:52:27 1992 Howard Chu (hyc@hanauma.jpl.nasa.gov) + * calls.c (calls_function): Don't scan a single save_expr twice. + (calls_function_1): New subroutine for the actual recursion. - * libgcc2.c (__builtin_saveregs): Use SVR4 code on Alliant FX2800, - but with BSD function-naming convention. + * c-parse.in (all_iter_stmt_simple): Add missing `else'. - * va-i860.h: Use SVR4 definitions of __va_saved_regs and va_list - on Alliant FX2800. +Fri Jun 25 15:53:59 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * fx2800.h (I860_REG_PREFIX, ASM_COMMENT_START): Deleted. - (DBX_NO_EXTRA_TAGS, BSS_ASM_OP): Deleted. - (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Deleted. - (ASM_FILE_START): Just call output_file_directive. + Cygnus<->FSF merge. + Fri Jun 25 10:00:34 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Thu Jun 25 06:49:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-decl.c: Delete some #if 0'd code that has been there forever. - * c-typeck.c (process_init_constructor): Strip NON_LVALUE_EXPR - from specified array index. + * cp-type2.c (my_friendly_abort): Update count of aborts (added by + emit_base_init rewrite). - * configure (i386-*-bsd*, i386-*-mach*): Don't set tmake_file. - They used to use t-libc-ok. + 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). - * input.h (struct file_stack): Revert prev. change. + Wed Feb 3 17:41:02 1993 Chip Salzenberg (chip@tct.com) -Thu Jun 25 06:33:52 1992 Tom Wood (wood@dg-rtp.dg.com) + * 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). - * stmt.c (expand_end_case): Add CASE_VALUES_THRESHOLD. - * m88k.h (CASE_VALUES_THRESHOLD): Define. + Thu Jun 24 12:41:16 1993 Mike Stump (mrs@rtl.cygnus.com) -Thu Jun 25 06:13:39 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * 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. - * explow.c (plus_constant, case PLUS): Remove obsolete code; - use recursive call in case remaining operand is one we handle. + Wed Jun 23 17:18:41 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Wed Jun 24 19:15:14 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * cp-decl.c (init_decl_processing): Also catch SIGBUS. + (sigsegv): Rename to signal_catch; also reset SIGBUS. - * combine.c (subst, case PLUS): If adding two things with no bits - in common, convert to IOR. + * cp-typeck.c (pointer_diff): Error if op1 is a pointer to an + incomplete type. - * expr.c (do_jump, case BIT_AND_EXPR, COMPONENT_REF): Don't narrow - comparison unless byte accesses are not slow and we have a - comparison in the new mode. + Wed Jun 23 16:17:43 1993 Mike Stump (mrs@rtl.cygnus.com) -Wed Jun 24 14:29:09 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * c-parse.y (primary): If built-in decl has not had - an official declaration, print warning. - * c-decl.c (builtin_function): Set C_DECL_ANTICIPATED for - user-visible names. - * c-tree.h (C_DECL_ANTICIPATED): New macro. + Wed Jun 23 16:04:17 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * fixincludes: Make some symlinks in the `multimedia' subdir. + * cp-tree.c (layout_basetypes): Disable the warning relating to a + non-virtual dtor. - * i386.c: Change #error to just error. + Tue Jun 22 20:03:59 1993 Mike Stump (mrs@cygnus.com) - * protoize.c: Normalize error message syntax. - (process_aux_info_file): Don't delete .X file if it existed before. - (explicity compare modtime with .c file. + * cp-lex.c (reinit_parse_for_block): Detect EOFs inside templates. -Wed Jun 24 14:10:35 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + Tue Jun 22 16:10:46 1993 Mike Stump (mrs@cygnus.com) - * sparc.c (sparc_frw_compute_frame_size): New function, for flat - register window model support. - (sparc_frw_save_restore): Likewise. - (sparc_frw_output_function_prologue): Likewise. - (sparc_frw_output_function_epilogue): Likewise. - (sparc_frw_epilogue_delay_slots): Likewise. - (sparc_frw_eligible_for_epilogue_delay): Likewise. + * cp-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. -Tue Jun 23 22:36:12 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Tue Jun 22 10:50:56 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cccp.c (rescan): Recognize # only when reading directly from a file. + * cp-decl.c (grokdeclarator): Don't try to mangle the name of a fn + that has C linkage. - * input.h (struct file_stack): Add member `fd'. + * 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. - * regclass.c (regno_first_uid, regno_last_uid): Make elements ints. - (reg_scan): Allocate and clear them as ints. - * regs.h: Fix the declarations. + * cp-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. - * Create driver executable with name xgcc; rename to gcc in installing. - (xgcc): Target renamed. - (GCC_FOR_TARGET, GCC_PASSES, start.encap, specs, gcc-cross): - (install-common, install-collect2): Rename in deps, commands or value. - (install-collect2): Always get driver from xgcc whether cross or not. + * cp-typeck.c (convert_for_assignment): There's no standard + conversion from a pointer to member to a `void *'. -Tue Jun 23 00:00:35 1992 Brendan Kehoe (brendan@cs.widener.edu) + * cp-decl.c (init_decl_processing): Add builtins for + __builtin_apply_args, __builtin_apply, and __builtin_return. - * toplev.c (strip_off_ending): Also strip off .C and .cxx. + Mon Jun 21 12:05:28 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Tue Jun 23 18:58:43 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * 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. - * genrecog.c (add_to_sequence): Don't ignore mode of first operand - of a MATCH_OPERAND or MATCH_DUP_OP rtl. - * sparc.md (scc): Use noov_compare_op instead of normal_compare_op. + * cp-parse.y (component_decl_list): Don't warn about a semicolon + after a component_decl_list. - * function.c (expand_function_start): When not optimizing, don't - put static chain pointer in a pseudo register. + * cp-search.c (lookup_field): Be careful to handle operators + properly when complaining about ambiguities &c. - * sparc.c (print_operand): For '*', only annul branch if - optimizing, to avoid dbx bug. Add '(' to handle unoptimized case. - * sparc.h (PRINT_OPERAND_PUNCT_VALID_P): Add '('. - * sparc.md (jump): Add '%(' to pattern. + * cp-search.c (dfs_pushdecls): Make sure we have a context before + seeing if it derives from TYPE. - * c-decl.c (store_parm_decls): Change type of void parameter to - error_mark_node. + Fri Jun 18 08:14:11 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * configure (m68k-*-sysv4*): Use xm-m68kv.h not xm-m68kv4.h. + * 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. - * configure: Add -prefix option. + Wed Jun 16 10:57:37 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * vax.c (split_quadword_operands): Declare paramater n. + * cp-typeck.c (build_unary_op): Make sure it's the global fn `main' + before complaining about taking the address of it. - * i960.h (WORD_SWITCH_TAKES_ARG): Add -aux-info. + * cp-decl.c (grokdeclarator): Also forbid `operator ()' as a + non-member fn. - * xcoffout.c (xcoffout_declare_function): Cast alloca result to char *. + * cp-decl.c (grok_reference_init): Don't allow an initializer list + as the initializer for a reference. - * c-convert.c (convert_to_integer): Don't pass truncation past - shift that is larger than the size being truncated to. + * cp-method.c (dump_init): Handle a NON_LVALUE_EXPR. -Tue Jun 23 06:15:47 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + Sun Jun 13 12:55:22 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * optabs.c (expand_binop, expand_unop): Try widening before trying - to make a library call. + * cp-decl.c (grokvardecl): Don't complain about duplicate + definitions of `extern "C"' declarations (parallelize it with how + regular `extern' decls are handled). - * stmt.c (expand_return): Add missing emit_queue call in tail - recursion case. + * cp-decl.c (start_function): Avoid a null-reference on CTYPE. - * cse.c (simplify_unary_operation): Add SIGN_EXTEND and - ZERO_EXTEND to the operations we handle for wide results. + * cp-cvt.c (build_default_binary_type_conversion): Look deeper into + what ARG1 and ARG2 are if they're POINTER_TYPEs. - * expr.c (emit_block_move): Convert size operand to mode that will - be passed to emit_library_call. + Thu Jun 10 12:09:17 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Tue Jun 23 00:41:03 1992 Paul Eggert (eggert@shadow) + * cp-decl.c (grokdeclarator): Make the warning about opr-eq being a + member function be a pedwarn. - * objc-parse.y (stmt): Fix mispelling for "label" in message. + Thu Jun 10 00:30:08 1993 Mike Stump (mrs@cygnus.com) - * cccp.c: (deps_file, pipe_closed): Deleted. - (main): Do not open deps_file until needed. - Check error status of dep_stream and stdout more carefully. + * cp-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. -Tue Jun 23 00:21:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Tue Jun 8 16:48:49 1993 Mike Stump (mrs@cygnus.com) - * Makefile.in (protoize.1, unprotoize.1): Rules deleted. - (install-man, proto, realclean): Don't operate on them. - * proto-man: File deleted. + * cp-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. - * protoize.c (main): Support -v as alias for -V. + Tue Jun 8 16:41:59 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Mon Jun 22 21:50:01 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-lex.c (reinit_parse_for_block): Make sure not to try to use + consume_string on an escaped double-quote. - * Makefile.in (compare, compare3): Discard error output from second - tail. If it fails, don't compare that file. + Tue Jun 8 16:25:43 1993 Mike Stump (mrs@cygnus.com) - * Makefile.in (stamp-proto): Move the touch command last. + * cp-call.c (build_method_call): Don't search hidden functions from + base classes, as this violates chapter 10. - * cccp.c (finclude): Use xmalloc, not alloca, for file contents. + Mon Jun 7 18:46:01 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * stmt.c (check_for_full_enumeration_handling): For a case range, - consider all values in the range as handled. Also, check both ends - for being in the enumeration. + * cp-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. - * ns32k.h (NS32K_DISPLACEMENT_P): Wide displacement range applies to - all models. + Mon Jun 7 18:01:31 1993 Mike Stump (mrs@cygnus.com) -Mon Jun 22 20:29:47 1992 Ron Guilmette (rfg at ncd.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. - * expr.h (*_libfunc): Added missing extern declarations of libfuncs - to handle operations on/for TFmode and XFmode operands. - * expr.c (convert_move): Added missing code to handle moves (with - conversion) from/to TFmode and XFmode operands. - * optabs.c (*_libfuncs): Added missing definitions of libfuncs - to handle operations on/for TFmode and XFmode operands. - (emit_float_lib_cmp): Added missing code to handle XFmode and TFmode - comparisons. - (init_fixtab): Added missing code to handle fixing (and trunc'ing) - of XFmode and TFmode operands to various sizes of ints. - (init_floattab): Likewise, but for "float" operations from ints to - either XFmode or TFmode. - (expand_float): Likewise. - (expand_fix): Likewise. - (init_libfuncs, init_integral_libfuncs, init_floating_libfuncs): New - functions added to initialize whole hunks of various optabs with - appropriate `libfunc' field values. - (init_optabs): Use `init_integral_libfuncs' or `init_floating_libfuncs' - wherever a group of consecutive optab entries need to all have their - `libfunc' fields initialized. - (init_optabs): added missing code to handle all operations on/of - XFmode and TFmode operands. + Sun Jun 6 11:45:44 1993 Michael Tiemann (tiemann@rtl.cygnus.com) -Mon Jun 22 06:40:32 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cp-call.c (EVIL,TRIVIAL): New macros. + (convert_harshness): Use these macros. - * rs6000.h (MEMORY_MOVE_COST): Increase to 6, from 4. - (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add new reg - classes SPEC_OR_GEN_REGS and NON_FLOAT_REGS. + Sat Jun 5 19:06:13 1993 Michael Tiemann (tiemann@rtl.cygnus.com) - * rs6000.h (EXTRA_CONSTRAINT): Don't use indirect_operand; instead - check explicitly. + * cp-init.c (emit_base_init): Make clearing BINFO_BASEINIT_MARKED + symmetric with its setting. Fixes p2825. - * rs6000.md (divmod): Use "2" constraint instead of using "q" - twice. - (tablejump): Constraint of "r" should be "l". + Thu Jun 3 16:24:30 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * emit-rtl.c (init_emit): Show that all pointers into the frame are - pointer registers. + * cp-parse.y (component_declarator, component_declarator0): + Allow attribute after nameless field. -Mon Jun 22 04:20:26 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp-lex.c (real_yylex): Take care to expand token_buffer before + storing each character. - * va-sparc.h (va_arg): Rename local identifiers to start with __. + * 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. -Sun Jun 21 14:51:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * 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. - * fold-const.c (real_value_truncate): New function. - All calls to REAL_VALUE_TRUNCATE changed to use this function. + Thu Jun 3 11:34:35 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * reload1.c (reload): Record which insn attains each maximum need. - If can't find a spill, call spill_failure and return 1. - (spill_failure): New subroutine. - * global-alloc.c (global_alloc): Return 1 if reload returned 1. - * toplev.c (rest_of_compilation): If they return nonzero, give up - compiling this function. + * cp-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. - * c-decl.c (duplicate_decls): Never warn if redeclaring - a predeclared function. Use the new declaration's types - but keep any predeclared volatile flag. - If redeclaring builtin function, use new declaration's type. - If an old decl becomes volatile, fix the DECL_RTL. - * varasm.c (make_var_volatile): New function. + * cp-decl.c (grokdeclarator): Allow function-call notation for + initialization of scalars as well as aggregates. - * configure (mips-sony-bsd): Use xm-mips.h. - * xm-mipsbsdn.h: File deleted. + * cp-decl.c (pushdecl): Don't pay attention to friends when noting a + missing `static' decl. Disable this code for now. - * protoize.c (process_aux_info_file): Simplify logic for calling - gen_aux_info_file. Get rid of the label `retry'. + Wed Jun 2 12:23:05 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * m68ksgs.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): - Override for sgs syntax. + * 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). -Sun Jun 21 14:06:41 1992 Brendan Kehoe (brendan@cs.widener.edu) + * 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. - * va-sparc.h (va_arg): Use a character array of size TYPE for - `d' in the union, and return its dereference as TYPE. + * cp-typeck.c (require_instantiated_type): Don't allow an + initializer list in an argument list. -Sun Jun 21 14:04:36 1992 Wilson Tien (wtien at urbana.mcd.mot.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. - * m68k.c (print_operand_address) [MOTOROLA]: Use .w and .l, not :w, :l. + * cp-class.c (finish_struct): Say anonymous classes and structs are + useless, not just classes. -Sat Jun 20 06:32:11 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) + * cp-lex.c (real_yylex): Warn if catch, throw, or try are used as + identifier names. - * stor-layout.c (get_best_mode): If SLOW_BYTE_ACCESS is true, return - widest mode (but no wider than UNITS_PER_WORD) that meets all - the conditions. + * cp-decl.c (pushdecl): Make sure we have a CURRENT_FUNCTION_DECL + before setting its public flag. - * combine.c (make_extraction): Always ensure we have a SUBREG when - we make a STRICT_LOW_PART. + * 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. - * varasm.c (const_hash, compare_constant_1, record_constant_1): - Handle case when TREE_VALUE of a constructor is zero. - (output_constant): Use CONSTRUCTOR_ELTS. + * cp-search.c (build_mi_matrix): Fix off-by-one error in + clearing of MI_MATRIX. + (get_base_distance): Init NEW_BINFO to 0. - * cse.c (cse_insn): Memory is not invalidated by a constant - subroutine call. - (delete_dead_from_cse): Correctly check for being within a - libcall block. + * cp-pt.c (instantiate_member_templates): Initialize XXX to 0. - * cse.c (canon_reg): Call validate_change with IN_GROUP equal to 1. - (cse_insn): Call apply_change_group after canon_reg. - When canonicalizing, call validate_change with IN_GROUP equal to - one and also call when canon_reg would. + * cp-call.c (build_method_call): Zero out candidates. + (build_overload_call_real): Likewise. - * combine.c (subst, shift cases): Use force_to_mode in - SHIFT_COUNT_TRUNCATED case. + Wed Jun 2 11:53:24 1993 Mike Stump (mrs@cygnus.com) - * rs6000.md: Add new pattern to split move of large constant. + * cp-search.c (lookup_fnfields_here): Use TYPE_MAIN_VARIANT on + context types before comparing. Fixes const member functions not + being found in templates. - * cse.c (delete_dead_from_cse): Really delete insn instead of - turning it into a NOTE. + Tue Jun 1 18:26:18 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * romp.md (shift patterns): Use QImode for count operand. + * cp-parse.y (structsp): Avoid a null-ref on ID. + (left_curly): Likewise. -Sat Jun 20 06:31:21 1992 Tom Wood (wood@dg-rtp.dg.com) + Tue Jun 1 13:49:20 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * a29k.md (storehinhww): Use inhw not inbyte. + * cp-decl.c (pushdecl): Communicate a `static' decl of a prototype + into its definition, if they forget to take care of it. -Thu Jun 18 16:01:56 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * cp-init.c (emit_base_init): Make error message more useful about + insufficient initializers for a member of a class w/o a ctor. - * protoize.c (WIFEXITED, WEXITSTATUS): Delete unused macros. + Sun May 30 09:45:06 1993 Michael Tiemann (tiemann@rtl.cygnus.com) - * combine.c (subst): If comparison operator has floating-point - result, adjust the value returned by simplify_relational_operation - accordingly. - * integrate.c (subst_constants): Likewise. - * loop.c (get_condition): Likewise. - * cse.c (fold_rtx): Likewise. - When returning TRUE or FALSE, handle comparisons returning - floating-point. - (find_comparison_args): Handle comparisons returning FP values; - only look at STORE_FLAG_VALUE for comparisons returning integers. + * 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). - * combine.c (try_combine, subst): Pass both comparison arguments - to SELECT_CC_MODE. - * i386.h, i960.h, i960.c, mips.h, pa.h, pa.c, rs6000.h: - Add second argument to SELECT_CC_MODE. - * sparc.h, sparc.c: Likewise. + Sat May 29 09:34:57 1993 Michael Tiemann (tiemann@rtl.cygnus.com) - * cse.c (insert_regs): Make a quantity for the register in a - SUBREG if it doesn't have one. - (fold_rtx, case SUBREG): Always try to find a constant equivalent - for a SUBREG; try for CONST_DOUBLE as well. - (cse_insn): Call insert_regs on DEST if it is a SUBREG. + * 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). -Thu Jun 18 15:01:29 1992 Mike Stump (mrs@albert.gnu.ai.mit.edu) + * 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). - * c++: Allow for better quoting and -v handling. + * cp-call.c (compute_conversion_costs): Count ellipses when we see + them. + (ideal_candidate): Gracefully handle arg lists that have ellipses + (Fixes p2777). -Thu Jun 18 14:49:20 1992 Tom Wood (wood@dg-rtp.dg.com) + * cp-call.c (build_method_call): Delete some #ifdefs that are + obsoleted by ANSI. - For RMS: - * varasm.c: Declare text_section and readonly_data_section. + Fri May 28 12:15:21 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * dpx2.h (CPP_SPEC): Define __HAVE_68881__ unless -msoft-float. - DPX/2 machines all have a 68882. + * cp-decl.c (finish_decl): Don't allow overloaded operators to have + default arguments. - * x-i386sco (RCCFLAGS): Use -DNULL=0 to avoid suurious warnings - from rcc. + * cp-cvt.c (convert): If it's an anonymous enum, say so instead of + giving the cryptic `._123' as the enum type. - * seq386.h (SIZE_TYPE): The Sequent running Dynix uses int for size_t. + Thu May 27 10:52:49 1993 Brendan Kehoe (brendan@lisa.cygnus.com) -Thu Jun 18 14:36:41 1992 Mike Stump (mrs@albert.gnu.ai.mit.edu) + * cp-decl.c (grokdeclarator): Return 0 instead of doing a 155 abort, + so we'll get the right error message later. - Merge in Cygnus sources... + * cp-type2.c (readonly_error): Give a more useful error when the arg + is a RESULT_DECL. - Fri Jun 5 15:00:55 1992 Mike Stump (mrs at cygnus.com) + * 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. - * cp-typeck.c (build_c_cast): When casting, propagate const'ness - from cast type. When casting to a reference to T, really just - cast to T. + * toplev.c (lang_options): 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. - * cp-cvt.c (build_up_reference): Make a copy of a node before - changing it. Only propagate the const bit if we are not - subverting it. + * cp-decl.c (grokdeclarator): Use a pedwarn on extern inline. - Fri Jun 5 14:36:19 1992 Mike Stump (mrs at cygnus.com) + Tue May 25 13:55:48 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-cvt.c (build_up_reference): When casting away const on - references, do not report an error. + * 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. - Fri Jun 5 13:26:11 1992 Mike Stump (mrs at cygnus.com) + * 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). - * cp-init.c (build_new): Handle new placement with arrays. + * cp-decl2.c (grok_array_decl): Add a pedwarn if they do `5[a]'. - Thu Jun 4 08:26:44 1992 Mike Stump (mrs at cygnus.com) + * cp-typeck.c (comptypes): Don't warn about t2 being an + error_mark_node. - * cp-search.c (compute_visibility): DERIVED_FROM_P had its - arguments reversed, switched them to be in the right order. - Fixes visibility on protected members. + * cp-decl.c (finish_decl): If type is laid out, but decl is not, + call layout_decl. - Wed Jun 3 14:45:40 1992 Mike Stump (mrs at cygnus.com) + Mon May 17 10:35:55 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-parse.y (unary_expr): Make it illegal to use delete on - a pointer to a const object. With help from Brendan Kehoe. + * cp-tree.h (error_not_base_type): Add prototype. - Wed Jun 3 13:25:26 1992 Ken Raeburn (Raeburn@Cygnus.COM) + Fri May 14 17:16:55 1993 Mike Stump (mrs@poseidon.cygnus.com) - * cp-parse.y (template_instantiate_once): Set - CLASSTYPE_GOT_SEMICOLON to eliminate messages about missing - semicolons. + * cp-class.c (finish_struct): Use get_binfo instead of binfo_value + to find vfields. Cures compiler_error. - * cp-decl.c (start_function): Don't emit error message for missing - semicolon after class decl; that syntax (declaring both class and - function returning that type) should be legal. Do emit a warning if - it's not an anonymous name. + Thu May 13 14:57:51 1993 Mike Stump (mrs@cygnus.com) - Mon Jun 1 18:08:09 1992 Mike Stump (mrs at cygnus.com) + * cp-tree.c (binfo_value): If type is the main binfo for elem, + return it. - Sat May 30 15:38:54 1992 Brendan Kehoe (brendan@cs.widener.edu) + Wed May 12 13:10:07 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-decl.c (grokdeclarator): Don't allow main to be static. + * 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. - Mon Jun 1 17:52:24 1992 Mike Stump (mrs at cygnus.com) + Tue May 11 17:51:16 1993 Mike Stump (mrs@poseidon.cygnus.com) - Sat May 30 15:38:54 1992 Brendan Kehoe (brendan@cs.widener.edu) + * 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. - * cp-decl.c (poplevel): Use DECL_INITIAL to detect undef label - instead of DECL_SOURCE_LINE. + Sat May 8 05:53:17 1993 Michael Tiemann (tiemann@cygnus.com) - Mon Jun 1 17:22:54 1992 Mike Stump (mrs at cygnus.com) + * 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. - * cp-parse.y (unary_expr): Don't allow old placement syntax(with {}) - nor dynamic with new (with ()) new placement syntax. Completes May 27 - fix. + Fri May 7 12:42:46 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - Mon Jun 1 13:57:28 1992 Mike Stump (mrs at cygnus.com) + * 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. - * cp-type2.c (digest_init): Trailing '\0' is never ignored in - initializations using strings in ANSI draft C++ unlike ANSI C. + * 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. - Mon Jun 1 07:18:13 1992 Michael Tiemann (tiemann at rtl.cygnus.com) + Thu May 6 16:59:19 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-decl.c (pushdecl): Re-fix May 12 change regarding DECL_CONTEXT. - * cp-call.c (build_method_call): Go back to using DECL_CONTEXT - instead of DECL_CLASS_CONTEXT. DECL_CONTEXT says when a function - was first declared virtual in a class, which is needed information - in case the virtual function comes from a virtual baseclass (because - the derived class won't have a vtable entry for that function (if it - has a vtable at all!)). + * 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. - Wed May 27 17:05:50 1992 Mike Stump (mrs at cygnus.com) + Wed May 5 16:38:06 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-parse.y (unary_expr): Handle new placement syntax, desupport - the old placement syntax with a pedwarn. + * Makefile.in (stamp-cp-parse): Update reduce/reduce count to 13. - Tue May 26 17:30:28 1992 Mike Stump (mrs at cygnus.com) + * 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. - Thu May 21 17:13:38 1992 Michael Tiemann (tiemann at 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). - * cp-decl.c (grok_enum_decls): Allow reference to nested enums from - other classes for NICHL. + Wed May 5 12:57:33 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - Tue May 26 15:31:30 1992 Mike Stump (mrs at cygnus.com) + * cp-parse.y (get_current_declspecs): Obsolete, deleted. - * cp-*.[chy]: Always include "assert.h" and not to - be consistent. + Tue May 4 13:46:09 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - Tue May 26 10:07:02 1992 Mike Stump (mrs at cygnus.com) + * cp-type2.c (process_init_constructor): Don't check for private or + protected members; we do that in store_init_value now. - * cp-parse.y (return_init): Fix simple typo that caused '=' - initialized named return values to fail. + * cp-parse.y (simple_stmt): Use expr_no_commas instead of expr for + case labels. - Mon May 25 11:42:18 1992 Mike Stump (mrs at cygnus.com) + * cp-typeck.c (build_binary_op_nodefault): Add 'right' and 'left' to + shift count warnings to distinguish them from each other. - * cp-parse.y (component_decl): Handle anonymous unions as before, - except check to make sure it is really an anonymous union. + * 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. - Sat May 23 23:37:38 1992 Mike Stump (mrs at cygnus.com) + * cp-decl.c (init_decl_processing): Make the arrays 200 long to + leave enough room for most names. - * cp-tree.c (layout_basetypes): Don't core dump on erroneous input. + * 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. - Sat May 23 22:04:31 1992 Mike Stump (mrs at cygnus.com) + * cp-method.c (dump_init): Grok a FIELD_DECL as well. - * cp-typeck.c (c_expand_start_case): build_type_conversion can - return a NULL_TREE, so don't try and find a code or type of it. + * 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). - Wed May 20 09:09:08 1992 Michael Tiemann (tiemann@rtl.cygnus.com) + Mon Jan 25 11:04:23 1993 Niklas Hallqvist (niklas at della.appli.se) - * cp-call.c (build_method_call): Use DECL_CLASS_CONTEXT, not - DECL_CONTEXT to find the class in which FUNCTION was declared (for - non-virtual calls). + * cp-parse.y (component_decl): Handle anonymous unions as static + class members. + * cp-decl.c (grokdeclarator): Ditto. - Tue May 19 02:08:39 1992 Mike Stump (mrs at cygnus.com) + * 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. - * cp-parse.y (component_decl): Remove some bogus code that - prevents empty nested union definitions from compiling. + * cp-class.c (finish_struct): Corrected error message concerning + anonymous classes. - Tue May 19 01:08:23 1992 Mike Stump (mrs at cygnus.com) + * cp-lex.c (check_for_missing_semicolon): Allow trailing storage + specifiers. - * cp-decl.c (grokfndecl): Propagate volatile from type of - function out to the decl for the function. + Fri Jan 29 09:39:17 1993 Niklas Hallqvist (niklas at della) - Mon May 18 17:19:39 1992 Mike Stump (mrs at rtl.cygnus.com) + * 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. - * cp-search.c (get_binfo): Since unions cannot participate in - inheritance relationships, return 0 instead of aborting. + * cp-type2.c (store_init_value): Check for the aggregate conditions + described in ARM 8.4.1. - Fri May 15 13:37:40 1992 Mike Stump (mrs at cygnus.com) + Mon May 3 19:10:28 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-parse.y (template_type_name): Handle - template class task { friend task* preempt(task*); }; - syntax. + * cp-lex.c (real_yylex): Don't warn about floating point out of + range if target floating-point format is IEEE. - * cp-pt.c (lookup_template_class): Ditto. + * cp-class.c (finish_struct): Promote unsigned bitfields to signed + int if the field isn't as wide as an int. - Thu May 14 22:54:17 1992 Mike Stump (mrs at cygnus.com) + * 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. - * cp-tree.c (layout_basetypes): Don't warn about non-virtual - destructors unless the user asks with -Wall. + Mon May 3 18:04:15 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - Thu May 14 22:38:54 1992 Mike Stump (mrs at cygnus.com) + * cp-cvt.c (convert): When doing int->enum conversions, always call + pedwarn, even if we didn't give `-pedantic'. - * cp-type2.c (build_functional_cast): exp may be an error_mark_node, - don't crash when it is. + * cp-decl.c (start_function): Add extern decl of + `flag_external_templates'. - Thu May 14 18:56:26 1992 Mike Stump (mrs at cygnus.com) + * cp-lex.c (check_newline): Warn if there's anything after a + `#pragma interface'. - * cp-decl.c (hack_incomplete_structures): Test for underflow - before decreamenting n_incomplete in current_binding_level, since - it is unsigned. + Mon May 3 12:39:49 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - Tue May 12 15:52:49 1992 Mike Stump (mrs at cygnus.com) + * 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. - Mon May 11 14:10:50 1992 Ron Guilmette (rfg at ncd.com) + * cp-type2.c (process_init_constructor): Don't allow use of an + initializer list for a class with private or protected members. - * cp-decl.c (poplevel): Reconciled with recent changes made to the - `poplevel' routine in c-decl.c. The changes here cause LABEL_DECL - nodes to be attached (as the BLOCK_VARS chain) to the BLOCK node - which represent the outermost scope of the function. + Sat May 1 15:07:24 1993 Mike Stump (mrs@poseidon.cygnus.com) - Mon May 11 12:35:44 1992 Ron Guilmette (rfg at ncd.com) + * 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. - * cp-class.c (finish_struct): Check DECL_CONTEXT to see if it is - any sort of a type (e.g. struct *or* union) rather than just - checking it to see if it's a RECORD_TYPE. - * cp-decl.c (pushdecl): Set DECL_CONTEXT of pushed ..._DECL node, - just as is done in c-decl.c. - (pushdecl): Delete useless variable `cntxt'. - (finish_decl): Set TREE_USED rather than DECL_FROM_INLINE in order - to prevent "unused" warnings. - (finish_function): Check DECL_CONTEXT to see if it is a type. - (finish_function): Fixed indentation problem. - * cp-gc.c (build_m_desc): Check DECL_CONTEXT to see if it is a type. - * cp-init.c (build_virtual_init): Fix indentation. - * cp-lex.c (store_pending_inline): Check DECL_CONTEXT to see if it - is a type. - * cp-pt.c (tsubst, do_pending_expansions): Check DECL_CONTEXT to see - if it is a type. - * cp-typeck.c (mark_addressable): Check DECL_CONTEXT to see if it is - any sort of a type (e.g. struct *or* union) rather than just - checking it to see if it's a RECORD_TYPE. + Fri Apr 30 18:50:00 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - Tue May 12 08:52:06 1992 Michael Tiemann (tiemann@rtl.cygnus.com) + * cp-spew.c (arbitrate_lookup): If the next character is a '[', then + have the compiler assume it's an expression instead of a type. - * cp-typeck.c (build_component_ref): Call `break_out_cleanups'. - Also clean up indentiation. + Fri Apr 30 14:39:28 1993 Mike Stump (mrs@poseidon.cygnus.com) - Mon May 11 23:14:04 1992 Mike Stump (mrs at cygnus.com) + * 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. - * cp-decl.c (pushtag): Handle structure tags in the same way as the - C front-end. This completes a change that rms put in on 3/12/92 and - I put in the Cygnus tree on 3/13/92 and Mark Eichin took back out on - 3/18/92. + * cp-class.c (finish_base_struct): Always set the VF_NORMAL_VALUE so + that maybe_fixup_vptrs can get the most derived vtable. - Sun May 3 00:29:59 1992 Mike Stump (mrs at cygnus.com) +Fri Jun 25 14:00:17 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * cp-lex.c (copy_lang_decl, store_pending_inline): Cast - arguments to bcopy to be char *. + * config.sub: Convert ...-sysvr4 into ...-sysv4. - Fri May 1 12:22:31 1992 Michael Tiemann (tiemann@cygnus.com) + * config/m68k/news.h (CPP_PREDEFINES): Have two alternatives, + one for motorola and one for not motorola. - * cp-init.c (expand_aggr_init, expand_vec_init): When comparing - array types, use `comptypes' instead of ==, since two array types - may be structurally identical but not == if one was defaulted from - an initializer. + * config/m68k/tower-as.h, mot3300.h, m68kv4.h, hp320.h, amix.h: + * config/m68k/3b1.h, crds.h (CPP_PREDEFINES): Add __motorola__. - Wed Apr 29 01:25:25 1992 Mike Stump (mrs at cygnus.com) + * expr.c (store_expr): If TARGET is volatile mem ref, return it. - * cp-init.c (do_friend): Check that PREVIOUS_DECL is non-NULL. + * toplev.c (lang_options): Add -fdollars-in-identifiers. + * c-decl.c (c_decode_option): Handle -fdollars-in-identifiers. -Thu Jun 18 14:15:07 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu) +Fri Jun 25 13:33:39 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - * pa.md (insv): Use `+' for operand 0 constraint. + * 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. -Thu Jun 18 13:39:22 1992 Michael Meissner (meissner@osf.org) + * pa.h (TARGET_SHARED_LIBS): Delete switch and all references to + the switch. + * pa.c: References to TARGET_SHARED_LIBS deleted. + * pa.md: Likewise. - * mips.h (MIPS_VERSION): Bump Meissner version # to 20. - (final_prescan_insn): Add declaration. - (FINAL_PRESCAN_INSN): Just call final_prescan_insn. - (CONST_OK_FOR_LETTER_P): Rewrite some tests, so that they will - work on host systems with 64 bit integers. + * pa-utahmach.h (TARGET_DEFAULT): Allow indexing on Mach ports. + * pa1-utahmach.h (TARGET_DEFAULT): Likewise. + * pa.h (TARGET_DISABLE_INDEXING): Clean up comments. - * mips.c (large_int): Rework, so that we don't get funny boundary - conditions on systems with 64 bit integers. - (mips_move_1word): Just use li to load constants that can be done - with lui, instead of issuing the lui, since the GAS bug that - generated two instructions has been fixed. - (final_prescan_insn): Move the checking for filling the delay - slots here from the FINAL_PRESCAN_INSN macro. +Fri Jun 25 00:50:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * mips.md (andsi3, iorsi3, xorsi3): Make the constraints match - the real machine (the predicate still is more general in order - to optimize bitfields at the expense of not CSE'ing large - constants used in logical ops, and making reload load it into - a scratch register). Don't use $1 as a temporary register any - more. + * expr.c (store_expr): Ignore SUGGEST_REG if target is volatile. - * varasm.c (decode_reg_name): If `memory' return -4. + * config/mips/mips.md (negdi2, negdi2_internal): Renamed from negdi3... - * stmt.c (expand_asm_operands): If `memory' is used as a clobbered - register, emit a (clobber (const_int 0)) to force the compiler not - to cache memory values in registers across the assembly - instruction(s). +Thu Jun 24 00:31:27 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) - * mips-tfile.c (read_line): Semicolons within strings are not - counted as statement separators. + * gcc.c (option_map): Make --version alias for -dumpversion. - * collect2.c (scan_prog_file, OSF/rose case): Cast pointer arguments - to bcopy to generic * to avoid warnings. +Wed Jun 23 07:50:21 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Jun 18 12:04:53 1992 David J. MacKenzie (djm@wookumz.gnu.ai.mit.edu) + * 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. - * c++: If given -v with no file args, don't pass the libraries to - gcc. + * 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. + + * 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. + + * 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. + +Wed Jun 23 07:47:32 1993 John F Carr (jfc@Athena.mit.edu) + + * 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. + +Tue Jun 22 19:52:08 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) + + * emit-rtl.c (copy_rtx_if_shared): In `E' case, get the length + before copying, and don't get it again after. + +Tue Jun 22 10:50:56 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + + * toplev.c (report_error_function): Change format of the + included-file stack to be more readable. + * cccp.c (print_containing_files): Likewise. -Thu Jun 18 10:34:22 1992 Tom Wood (wood@dg-rtp.dg.com) +Mon Jun 21 19:21:18 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * expr.c (expand_builtin, BUILT_IN_FSQRT): Emit queue of increment - instructions before starting a sequence that may get thrown away. + * rs6000.c (print_operand, case 'J'): Write out shift count + of 0, not 32 for bit 31 of CCR. -See ChangeLog.5 for earlier changes. +See ChangeLog.7 for earlier changes.