--- gcc/ChangeLog 2018/04/24 18:10:27 1.1.1.6 +++ gcc/ChangeLog 2018/04/24 18:17:31 1.1.1.7 @@ -1,9217 +1,7197 @@ -Sun Jan 23 18:41:37 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Wed Nov 30 19:13:50 1994 Richard Kenner - * Version 2.5.8 released. + * Version 2.6.3 released. - * reload.c (find_reloads): Properly test for output operand - when changing RELOAD_FOR_OUTPUT_ADDRESS to RELOAD_FOR_INPUT_ADDRESS. +Wed Nov 30 19:02:49 1994 Jim Wilson - * alpha.c (output_{pro,epi}log): Use assemble_name to output - alpha_function_name. + * combine.c (record_dead_and_set_regs_1): Handle SUBREGs. -Sun Jan 23 18:40:23 1994 Samuel A. Figueroa (figueroa@cs.nyu.edu) + * expr.c (convert_move): When emit multiword conversion, force FROM + into a new pseudo-reg if it overlaps TO. - * i386/os2.h (PATH_SEPARATOR): New macro. - * i386/gas.h (ASM_FILE_START): Delete; identical to one in bsd.h, - which is included. + * fold-const.c (fold_truthop): Delete BIT_AND_EXPR of constants + with masks. -Sun Jan 23 05:59:31 1994 Per Bothner (bothner@cygnus.com) +Wed Nov 30 18:40:32 1994 Jason Merrill (jason@cygnus.com) - * c-typeck.c (really_start_incremental_init): Save current elements - instead of clearing them. + * alpha.h (ENCODE_SECTION_INFO): Don't do anything in g++. -Sat Jan 22 17:23:42 1994 Jeffrey A. Law (law@snake.cs.utah.edu) +Wed Nov 30 15:48:29 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * pa.h (ASM_FILE_START): Emit a .file directive at the beginning - of the output file if debug symbols are being generated. + * expr.c (emit_block_move): Only use movstr if size is + small enough constant or MODE is at least BITS_PER_WORD. -Thu Jan 13 05:42:30 1994 Torbjorn Granlund (tege@adder.cygnus.com) +Tue Nov 29 16:50:37 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * config.sub: Fix typo in -hiux* case. + * expmed.c (expand_shift): Open-code rotate even if by a variable. + * optabs.c (init_optabs): Don't set functions for rotl and rotr. -Tue Jan 11 19:14:31 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Mon Nov 28 18:53:06 1994 Dave Love (d.love@dl.ac.uk) - * a29k.c (output_prolog): Update debug reg map when - we have -mkernel-registers. + * Makefile.in (FLAGS_TO_PASS): Fix typo in GCC_FOR_TARGET. -Mon Jan 10 19:06:57 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Wed Nov 23 17:25:43 1994 Ian Dall (dall@hfrd.dsto.gov.au) - * expr.c (protect_from_queue): If (MEM (QUEUED ...)), modify a - new MEM instead of the one we were passed. + * config/ns32k/{ns32k.c,ns32k.h}: Add -mhimem to + support linking above 0x20000000 boundary. - * 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. + * config/ns32k/{netbsd.h,pc532.h, ns32k.c}: Fix meaning + of BASE_REG_NEEDED. - * a29k.c (print_operand, case 'F'): If we have to do the last - prolog insn, give that priority for an unfilled delay slot. +Wed Nov 23 17:24:24 1994 Matthias Pfaller (leo@marco.de) - * function.c (preserve_rtl_expr_result): New function. - * expr.c (exand_expr, case RTL_EXPR): Call it. + * configure (ns32k-pc532-netbsd): No need for fixincludes + and libgcc1. + * ns32k/ns32k.h (CONST_COSTS): Correct range is -0x1fff to 0x2000. + * ns32k/ns32k.md (everywhere): Correct range is -0x1fffffff + to 0x20000000, others have to be loaded with movd. + Shortcircuit with TARGET_32532 as early as possible. + (movsi): Use movd to load unknown symbol values. to allow + * ns32k/ns32k.c (print_operand): Removed dead code. + * ns32k/pc532.h (TARGET_DEFAULT): Forbid usage of bitfield + instructions. -Sun Jan 9 04:40:27 1994 James Van Artsdalen (james at bigtex.cactus.org) +Wed Nov 23 14:09:42 1994 Jim Wilson (wilson@cygnus.com) - * jump.c (follow_jumps): Don't follow tablejumps. + * mips.c (mips_output_external): Exclude __builtin_next_arg from list + of used external functions. -Tue Jan 4 07:35:05 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Wed Nov 23 13:30:52 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * tree.c (substitute_expr): Don't abort for RTL_EXPR and - SAVE_EXPR; just do nothing. + * expr.c (emit_move_insn): If splitting up into individual words + and X is a push_operand, do the push and reference top of stack. -Fri Dec 31 06:27:57 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Tue Nov 22 06:29:21 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * combine.c (force_to_mode): Add new parm JUST_SELECT; all - callers changed. + * fold-const.c (fold_convert): Don't fold conversion if it would + produce constant larger than we can support. + * emit-rtl.c (gen_lowpart_common): Do nothing if size is + greater than twice host wordsize, not just if equal. -Fri Dec 24 05:34:38 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * optabs.c (emit_no_conflict_block): Just emit the insns if + the block contains something not an INSN or has an embedded block. - * alpha.md (define_attr type): Add new type ISUBR. - (divmod): Set to type ISUBR. - * alpha.c (output_prolog): Need GP if type ISUBR. +Mon Nov 21 18:41:42 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * varasm.c (output_constant): When eliminating conversions, + treat ARRAY_TYPE like a record. - * c-typeck.c (check_init_type_bitfields): Check recursively inside - arrays and records. + * m68k.md (movqi): Fix typo in push/pop case. - * 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. +Mon Nov 21 17:59:07 1994 David Edelsohn - * c-typeck.c (pop_init_level): Don't abort if have incomplete array - type inside some other type. + * aix41.h (LINK_SPEC): New overriding defintion. -Thu Dec 23 07:30:24 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Fri Nov 18 19:10:24 1994 Kresten Krab Thorup (krab@next.com) - * Makefile.in (libgcc.a): Allow chmod of tmpcopy directory to - fail since it can be empty. + * objc/object.c (class_create_instance): Replace memchr + with memset. - * gcc.c (default_compilers, gnat1): Don't write -gnatb. +Fri Nov 18 18:53:57 1994 Philippe De Muyter (phdm@info.ucl.ac.be) - * expr.c (expand_expr, case MINUS_EXPR): When expanding an - initializer, use plus_constant as appropriate. + * cccp.c (create_definition): Allow carriage-return ('\r') + as white space in simple or empty expansion. -Thu Dec 23 09:03:30 1993 Phil Nelson (phil@cs.wwu.edu) +Fri Nov 18 18:30:40 1994 Douglas Rupp (drupp@cs.washington.edu) - * ns32k.h (ASM_OUTPUT_ADDR_DIFF_ELT): Use .long, not .double. + * winnt/ld.c (main): Fix off-by-one error allocating sdbuff. -Tue Dec 21 17:37:20 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Fri Nov 18 14:16:04 1994 Chris Huey (cah@tactix.rain.com) - * cp-tree.h (VTABLE_NAME): No def with NO_{DOLLAR,DOT} defined. - (VTABLE_NAME_P): Use it instead of VTABLE_NAME_FORMAT. + * Makefile.in (objc-parse.y, mostlyclean): Rename temp file + for objc-parse.y to be under 14 characters. -Tue Dec 21 13:25:39 1993 Jim Wilson (wilson@cygnus.com) +Thu Nov 17 17:26:02 1994 Mark P. Gooderum (mark@good.com) - * rtlanal.c (replace_regs, case REG): Return copies of SUBREGs, to - avoid invalid sharing. + * stddef.h: Include on NetBSD. + Check for _BSD_XXX_T_ as well as _XXX_T_. + Add _BSD_XXX_T_ to list of defines to check and define for a given + type for SIZE_T, PTRDIFF_T, and WCHAR_T. -Mon Dec 20 19:10:16 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Thu Nov 17 11:11:50 1994 Mike Collison (collison@sw.stratus.com) - * c-typeck.c (struct initializer_stack): New field ELEMENTS. - (start_init, finish_init): Save and restore constructor_elements. + * dsp16xx.c (notice_update_cc): Removed reference to obsolete LSHIFT. + * dsp16xx.h (RTX_COSTS): Likewise. - * 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. +Thu Nov 17 11:06:43 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * rs6000.md (divsi3): Correct logic for when we call force_reg. - (modsi3): Ensure operands[2] is a CONST_INT; include REG in - predicate. + * alpha.c (some_operand): New function. + * alpha.h (PREDICATE_CODES): Add `some_operand'. + * alpha.md (addsi3, adddi3): For patterns valid only + during reload, allow operand 1 to be `some_operand'. -Thu Dec 16 11:34:48 1993 Ian Lance Taylor (ian@cygnus.com) + * flow.c (find_auto_inc): Insert missing "return" statement. - * fixincludes: Do not preserve _HIDDEN_VA_LIST in stdio.h. + * c-common.c (print_char_table): Allow `L' for `u'. -Sun Dec 12 06:47:14 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Wed Nov 16 19:28:46 1994 Jim Wilson (wilson@chestnut.cygnus.com) - * Version 2.5.7 released. + * loop.c (move_movables): For move_insn case, skip notes when deleting + instructions. -Sun Dec 12 06:18:33 1993 Jim Wilson (wilson@sphagnum.cygnus.com) +Tue Nov 15 19:29:04 1994 Per Bothner - * 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. + * tree.c (staticp): A non-nested function is always static. -Sun Dec 12 06:13:51 1993 DJ Delorie (dj@ctron.com) +Tue Nov 15 19:07:00 1994 Warner Losh (imp@village.org) + + * i386/freebsd.h (NO_IMPLICIT_EXTERN_C): Define. - * configure.bat: Update to relect recent changes elsewhere. - * objc/makefile.dos: Likewise. +Tue Nov 15 18:57:46 1994 Jim Wilson (wilson@chestnut.cygnus.com) -Sat Dec 11 18:09:50 1993 Per Bothner (bothner@cygnus.com) + * reorg.c (relax_delay_slots): When invert a conditional jump over a + single unconditional jump, invert the INSN_FROM_TARGET_P bit of insns + in the delay slots. - * dbxout.c (dbxout_type): The "base type" of a SET_TYPE is its - DOMAIN_TYPE, not its TREE_TYPE. - * dwarfout.c (output_type): Likewise. + * reorg.c (redundant_insn_p): Change return type to rtx. Return the + redundant insn instead of true. + (update_reg_unused_notes): New function. + (fill_slots_from_thread): Call update_reg_unused_notes after one of + the redundant_insn_p calls. -Sat Dec 11 07:36:57 1993 David Rifkind (dave@yarc.com) +Tue Nov 15 18:39:33 1994 Torbjorn Granlund (tege@tiny.cygnus.com) - * rs6000.md: Add a few missing new nmemonics. + * expmed.c (expand_divmod, case ROUND_DIV_EXPR): Implement. + * expr.c (do_jump_by_parts_greater_rtx): No longer static. + (expand_expr): Delete code for plain `abs'. + * optabs.c (expand_abs): New function, code moved from expand_expr. + * expr.h: Declare expand_abs. -Sat Dec 11 06:57:55 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Mon Nov 14 19:16:00 1994 Dennis Glatting - * cccp.c (INPUT_STACK_MAX): Double size. + * fixincludes: Fixes for NextStep 3.2. Remove ``__const__'' from + sin and cos prototypes in ansi/math.h. Remove keyword ``template'' + from bfd/libc.h. Remove ``volatile'' from abort in bsd/libc.h + and abort and exit in ansi/stdlib.h. - * integrate.c (initialize_for_inline): Handle CONCAT when setting up - parmdecl_map. +Mon Nov 14 18:54:28 1994 Douglas Rupp (drupp@cs.washington.edu) - * rs6000.md (modsi3): Reject REG in predicate to avoid undefined - reference and extra pseudo creation if will fail. + * i386/x-winnt (EXTRA_PROGRAM): Match target name. -Fri Dec 10 10:03:36 1993 Mike Stump (mrs@cygnus.com) +Mon Nov 14 18:48:21 1994 Torbjorn Granlund (tege@tiny.cygnus.com) - * toplev.c (lang_options): Change -fnodollars-in-identifiers to - -fno-dollars-in-identifiers to match docs. + * freebsd.h (INCLUDE_DEFAULTS): Move definition beyond + FREEBSD_NATIVE conditional. + (FUNCTION_PROFILER): Move down to make file more similar to + netbsd-i386.h. + (DEFAULT_TARGET_MACHINE, etc): Comment our this braindamage! -Fri Dec 10 15:42:02 1993 Jim Wilson (wilson@mole.gnu.ai.mit.edu) +Mon Nov 14 18:46:18 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.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. + * calls.c (expand_call): If IS_CONST and VALREG == 0, end our + sequence and emit the insns. -Fri Dec 10 06:03:35 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Sat Nov 12 06:35:42 1994 Richard Kenner - * rs6000.c (easy_fp_constant): Use input_operand to see if - each word can be loaded in one insn. + * Version 2.6.2 released. - * rs6000.md: Change numerous occurrences of TARGET_POWERPC - to ! TARGET_POWER and make related changes. +Sat Nov 12 06:35:21 1994 Torbjorn Granlund (tege@cygnus.com) - * rs6000.md (modsi3): Rework to operate correctly for both POWER - and PowerPC. + * expmed.c (expand_divmod, case TRUNC_DIV_EXPR): Promote signed + division by 0x80000000 to unsigned. -Thu Dec 9 16:19:05 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Fri Nov 11 17:07:35 1994 Michael Meissner (meissner@osf.org) - * 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. + * c-common.c (decl_attributes): Add double-underscore version of + printf and scanf for format type. -Wed Dec 8 05:46:26 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Fri Nov 11 16:38:04 1994 Jim Wilson (wilson@chestnut.cygnus.com) - * flow.c (mark_used_regs, case CLOBBER): Refine previous change - to just look at the address of a MEM inside a CLOBBER. + * mips-tdump.c: Include . Delete ctime prototype. - * fold-const.c (fold, case *_{DIV,MOD}_EXPR): When using - distributive law, take care when C2 is negative. +Fri Nov 11 14:16:00 1994 Holger Teutsch -Tue Dec 7 08:45:59 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * clipper.md (movsi+1): Allow r->m move during reloading. - * 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. - -Mon Dec 6 20:56:11 1993 David Rifkind (dave@yarc.com) - - * expr.c (move_block_{to,from}_reg): Check HAVE_{load,store}_multiple - value; don't just #idef the symbol. - -Mon Dec 6 08:01:59 1993 Torbjorn Granlund (tege@cygnus.com) - - * pa.c (hppa_legitimize_address): If we can't legitimize, - do nothing; don't call abort. - -Mon Dec 6 07:38:30 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) - - * arm.c (output_ascii_pseudo_op): 8-bit chars should be zero-extended. - * arm.h (ASM_OUTPUT_ASCII): Likewise. - -Mon Dec 6 07:32:59 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * objc/encoding.h: Include ctype.h. - - * expr.c (expand_expr, case PLACEHOLDER_EXPR): Remove top entry - from PLACEHOLDER_LIST when expanding the value in it. - -Mon Dec 6 05:40:38 1993 Doug Evans (dje@cygnus.com) - - * emit-rtl.c (start_sequence): Save current sequence_rtl_expr. - -Fri Dec 3 07:07:01 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * Version 2.5.6 released. - - * c-typeck.c (c_expand_return): Return if convert_for_assignment - returns error_mark_node. - -Fri Dec 3 06:42:05 1993 Arne Henrik Juul (arnej@fm.unit.no) - - * fixincludes (stdio.h): Fix typos (missing quote) in previous change. - -Fri Dec 3 06:35:57 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - - * gstddef.h: Define and protect against __STDDEF_H__ for Irix 5.1. - - * sparc.c (shift_operand): Delete function. - * sparc.md (ashlsi3, ashrsi3, lshrsi3): Use arith_operand instead - of shift_operand. Truncate shift counts to 5 bits. - -Thu Dec 2 08:11:00 1993 Stefan Rapp (sr@irb.informatik.uni-dortmund.de) - - * loop.c (scan_loop): Correct arguments for register check. - -Thu Dec 2 07:07:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * 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. - -Thu Dec 2 07:00:24 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * emit-rtl.c (push_topmost_sequence, end_sequence): Update - sequence_rtl_expr from sequence_stack entry. - - * calls.c (emit_library_call): Use Pmode, not OUTMODE, when passing - in structure address. - - * a29k.c (secondary_reload_class): Kernel regs are in same class - as user regs. - - * a29k.md (movti split): Set CR to 3, not 1 like DImode. - -Thu Dec 2 06:46:07 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - - * reload.c (find_reloads_toplev): Replace obsolete reference to - BYTE_LOADS_*_EXTEND with LOAD_EXTEND_OP. - -Thu Dec 2 06:39:16 1993 Jeffrey A Law (law@snake.cs.utah.edu) - - * pa.h (ASM_STABS_OP, ASM_STABN_OP): Define. - (ASM_FILE_END): Put a TAB before the .stabs directive. - -Thu Dec 2 06:30:17 1993 David Edelsohn (edelsohn@npac.syr.edu) - - * rs6000.md (define_function_unit): Restore ppc601 load and fpload - timings. +Fri Nov 11 12:40:51 1994 Richard Kenner -Wed Dec 1 17:24:17 1993 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) + * c-decl.c (duplicate_decls): Properly merge decls with + differing DECL_CONTEXT. - Wed Nov 24 06:36:10 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * function.c (preserve_rtl_expr_result): find_temp_slot_from_address + now used. + Don't bring the temp slot to an inner level than it was. + (assign_stack_temp): Always initialize p->rtl_expr. - * 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. + * m68k/mot3300g.h (SPACE_AFTER_L_OPTION): Deleted. - Mon Nov 29 13:09:31 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Thu Nov 10 18:50:52 1994 Kresten Krab Thorup (krab@next.com) - * cp-decl.c (grokdeclarator): Properly evaluate TREE_PUBLIC for - friends. (Fixes spurious warnings about friends being declared - static but not used.) + * objc/list.h: Add ifndef/define for repeated inclusion. - * 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. +Thu Nov 10 18:02:58 1994 Michael Meissner - * 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. + * c-common.c (decl_attributes): Check for attributes with leading + and trailing double underscores. -Tue Nov 30 19:26:05 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Thu Nov 10 17:55:07 1994 Chris Metcalf (metcalf@catfish.lcs.mit.edu) - * sparc.h (STATIC_CHAIN_REGNUM): Use %g2; %g1 is reserved - for prologue. - (TRAMPOLINE_TEMPLATE, INITIALIZE_TRAMPOLINE): Swap useage of %g1 - and %g2. + * fixincludes: Make argument type const for popen and tempnam in + stdio.h and for strdup in string.h, for OSF/1 V3.0. - * m68k.md (movdf): Don't need earlyclobber when a register - is copied to itself. + * va-alpha.h (va_arg): Add cast to void * to suppress warning. -Sat Nov 27 06:19:22 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Thu Nov 10 17:48:21 1994 Walter Misar (hrz.th-darmstadt.de) - * Version 2.5.5 released. - - * c-typeck.c (pop_init_level): Ensure never on momentary_obstack - when calling complete_array_type. - -Sat Nov 27 03:52:26 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * fixproto (scanning files_to_check): Create subdirs files are in. - - * config/m68k/m68k.md (cmpsi, cmphi, cmpqi): Handle SGS_CMP_ORDER - when outputting cmpm insn. - -Fri Nov 26 15:57:24 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * gcc.c (default_compilers): Do define __GNUC_MINOR__ if input is `-'. - -Thu Nov 25 18:16:25 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * 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. - -Thu Nov 25 17:24:02 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Makefile.in (stmp-fixproto): Create include subdir if doesn't exist. - -Wed Nov 24 14:32:47 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - - * c-common.c (shorten_compare): Correct typo from last change. - -Wed Nov 24 13:25:09 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) - - * 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. - -Wed Nov 24 07:02:50 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * 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. - -Tue Nov 23 21:10:22 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - Cygnus<->FSF C++ front-end merge. - Tue Nov 23 11:05:28 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-errfn.c (STRDUP): Cast return value of alloca to (char *). - - Mon Nov 22 00:07:17 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * 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. - - * cp-search.c (dfs_pushdecls): Make sure there's a lang_specific - node on the decl before trying to print the warning out. - - * cp-decl.c (grokdeclarator): Say the member was redeclared as - static, not just that it can't be declared static. - - * 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). - - Sat Nov 20 19:31:01 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-tree.h (lang_type): Add field `has_nonpublic_ctor', and delete - dummy since we used the two bits it was holding out for the MIPS - compiler. - (TYPE_HAS_NONPUBLIC_CTOR): Defined. - * cp-class.c (finish_struct_methods): Set TYPE_HAS_NONPUBLIC_CTOR - as appropriate for a copy ctor with non-public visibility. - (finish_struct): Don't generate a copy ctor if the type if one of - its fields has a private copy ctor, or a protected one for which we - aren't allowed access. - (base_info): Add member `saw_nonpublic_ctor'. - (finish_base_struct): Set b->saw_nonpublic_ctor if necessary. - - * cp-method.c (hack_identifier): Make sure there's a - DECL_LANG_SPECIFIC before getting ready to grope around a class. - - * cp-typeck.c (build_indirect_ref): Complain if we encounter a - pointer to member. - - Fri Nov 19 16:37:28 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * 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. - - * cp-decl.c (pushdecl): Don't warn about shadowing a member of - `this' if that member is static. - - * 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. - - Fri Nov 19 12:18:31 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-typeck.c (convert_for_assignment): Fix typo so initialization - of a pointer from an integer actually work, rather than emit bogus - code. + * m68k/hp320.h (FUNCTION_{PRO,EPI}LOGUE): Don't define. + (IMMEDIATE_PREFIX, REGISTER_PREFIX): Define. - * cp-pt.c (overload_template_name): Accept unions for templates. - (instantiate_class_template): Likewise. - * cp-parse.y (template_instantiate_once): Likewise. +Thu Nov 10 15:04:57 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.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). + * m68k/crds.h (FUNCTION_{PRO,EPI}LOGUE): Add code to adjust stack + when no frame pointer. + * m68k.c (output_function_epilogue): Use a1 as scratch, not a0. + * m68k/tower-as.h (FUNCTION_{PRO,EPI}LOGUE): No longer defined. + (FUNCTION_EXTRA_EPILOGUE): Define. + * m68k/tower.h (REGISTER_PREFIX, IMMEDIATE_PREFIX): Define. - Thu Nov 18 11:51:34 1993 Jason Merrill (jason@deneb.cygnus.com) + * i386/x-sco, i386/x-sco4 (CLIB): Add -lPW. + (ALLOCA): Delete. - * cp-lex.c (cons_up_default_function): Disable earlier change; it - screws up stabs somehow. Very strange. + * c-common.c ({print,scan}_char_table): Allow `L' modifier + for integer output formats. + (check_format_info): Treat `ll' like `q'. - Thu Nov 18 00:16:29 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * rs6000.md (movsi): In TOC symbol case, use "la" for PowerPC. + (movdi): Handle TOC symbol just like movsi. - * cp-decl.c (grokdeclarator): Say what class is involved when saying - we can't declare a member inside it. + * objc-act.c (init_objc): Add missing casts to args of bcopy. + (lang_init): Ensure line number is 0, not -1. - * 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. +Tue Nov 8 07:51:53 1994 Paul Eggert - * cp-parse.y (primary): Only try to print out the operator's name if - it's valid. + * cccp.c (dump_single_macro, dump_defn_1): If -traditional, + dump macros in traditional style. This also avoids a bogus error + message if the macro uses traditional stringizing. - * cp-decl.c (grok_op_properties): Fix missing parens to keep the - logic from accidentally giving an error when it shouldn't. +Mon Nov 7 21:28:13 1994 Michael I Bushnell - Wed Nov 17 20:04:00 1993 Jason Merrill (jason@deneb.cygnus.com) + * protoize.c [!POSIX]: Only define O_RDONLY and O_WRONLY if not + already defined. - * 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. +Mon Nov 7 19:33:31 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu) - Wed Nov 17 15:54:02 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * combine.c (try_combine): Update split_code after converting MULT + to ASHIFT. - * cp-type2.c (process_init_constructor): Deal with pointers to - members as initializers for initializer lists. +Mon Nov 7 12:26:24 1994 Torbjorn Granlund - Wed Nov 17 11:48:38 1993 Jason Merrill (jason@deneb.cygnus.com) + * rs6000.md (DImode load-with-update matcher): Fix typo in MEM mode. + (compare patterns): Fix several typos, SImode => CCmode. + * sh.md (subdi3): Delete % from constraints. + * 1750a.md (subqi3): Likewise. + * clipper.md (subdi3): Likewise. + * i370.md (subqi3): Likewise. + (anonymous subqi3 matcher): Likewise. + * i860.md (subdi3): Likewise. + * dsp16xx.md (mulqi3): Fix typo in MULT mode. + * elxsi.md (one_cmplsi2): Fix typo in NOT mode. - * cp-decl.c (ambi_op_p): Add ++ and --. +Mon Nov 7 12:47:37 1994 Ian Lance Taylor - * cp-error.c: Lose the anon_parm_name stuff. + * m68kv4.h (ASM_IDENTIFY_GCC): Use proper definition for SGS assembler. - * cp-lex.c (cons_up_default_function): Change input_filename for - synthetic code. +Mon Nov 7 11:02:25 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-error.c (dump_aggr_type): Always print const or volatile. - (dump_function_decl): Only print static if verbose. + * gcc.c (process_command): Ignore LIBRARY_PATH and LPATH if + cross-compiler. - * cp-errfn.c (cp_sprintf): New function. +Sun Nov 6 07:23:37 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-decl.c (grokfndecl): Be more verbose in complaint about applying - method qualifiers to non-methods. + * cross-test.c (foo): Return value for BU in range for shifts. - Wed Nov 17 09:51:04 1993 Jim Wilson (wilson@sphagnum.cygnus.com) +Sat Nov 5 14:25:36 1994 Jim Wilson (wilson@chestnut.cygnus.com) - * cp-parse.y (attrib): Accept "noreturn" attribute. + * m68k.h (PREFERRED_RELOAD_CLASS): FP constants rejected by 'G' + are OK for class FP_REGS. - Tue Nov 16 12:28:49 1993 Jason Merrill (jason@deneb.cygnus.com) +Sat Nov 5 14:08:31 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-decl2.c (grokoptypename): Fix handling of udc's. + * calls.c (store_one_arg): Preserve any temp slots whose address + may have been taken. - * cp-method.c (build_component_type_expr): Ditto. + * real.c (GET_REAL, PUT_REAL): Cast args to bcopy to char *. + * reload1.c (reload): Likewise. + * i386.c ({save,restore}_386_machine_status): Likewise. + * reg-stack.c (subst_asm_stack_regs): Likewise. + (BLOCK_NUM): Rework to avoid cast of abort to int *. + (find_blocks): Don't use BLOCK_NUM on lhs. + (reg_to_stack, record_arg_reg_life): Cast arg to bzero to char *. - * cp-class.c (finish_struct_methods): Be more verbose in complaint - about overloaded operator delete. +Sat Nov 5 08:29:45 1994 Paul Eggert - * 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 + * cccp.c (rescan): Do not preserve newlines after macro name + if rescanning a macro expansion. Instead, preserve them if + not outputting marks. - Mon Nov 15 12:38:54 1993 Brendan Kehoe (brendan@rtl.cygnus.com) +Fri Nov 4 17:25:29 1994 John David Anglin (dave@hiauly1.hia.nrc.ca) - * g++.c (main): If they gave us -v, also show the invocation of the - gcc driver. + * vax.c: Include tree.h and VMS-specific functions #ifdef VMS_TARGET. + * vms.h (VMS_TARGET): Define. - Mon Nov 15 12:04:47 1993 Jason Merrill (jason@deneb.cygnus.com) +Fri Nov 4 17:19:30 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-decl.c (grokdeclarator): Lose "operator ". - - * cp-method.c (build_component_type_expr): Ditto. - - * cp-decl2.c (grokoptypename): Ditto. - - Make C++ accept template parameters as type names; for example, - doing `template A {...}'. - - * cp-pt.c (end_template_parm_list): Fix a bug in gs4t's patch. - (grok_template_type): Simplify. - - * cp-typeck.c (build_modify_expr_1): Give error if trying to - get default operator= for class where you can't. - - * cp-decl.c (duplicate_decls): Uniformify, fix redeclaration of - builtins. - - Sat Nov 6 19:06:25 EST 1993 Gnanasekaran Swaminathan (gs4t@virginia.edu) - - * 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) - - * cp-decl.c (duplicate_decls): If a function has been declared with - explicit language linkage, redeclaring (or defining) it without - is OK. - - Fri Nov 12 15:30:27 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-lex.c (operator_name_string): Fix handling of __ad__foo. - - * cp-error.c (dump_decl): Handle demangling of vtable names. - - * cp-tree.c (lang_printable_name): Pass everything to decl_as_string, - not just functions. - - * cp-decl2.c (check_classfn): Use cp_error. - - * cp-error.c (dump_decl): Fix IDENTIFIER_TYPENAME_P case. - - * cp-method.c (build_decl_overload): Propagate IDENTIFIER_OPNAME_P - to mangled identifier. - - * cp-type2.c (my_friendly_abort): Add "confusion" message for - abort after earlier errors. - - Wed Nov 10 18:39:17 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-decl2.c (lang_decode_option): Include warn_enum_clash among - -Wall. - - Wed Nov 10 16:18:19 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * Makefile.in (stamp-cp-parse): Update counts. - - Wed Nov 10 15:27:12 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-errfn.c (cp_thing): Allow cp_*_at to use an arbitrary argument, - not just the first, by using, for instance, `%+D'. - - Mon Nov 8 13:50:49 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-error.c (language_as_string): New function for printing language - context. Corresponds to %L. - - Mon Nov 8 10:39:28 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-pt.c (reinit_parse_for_template): Use inline_text_obstack - instead of permanent_obstack so that yylex() doesn't clobber the - growing object. - - * cp-lex.c (reinit_parse_for_block): Overhaul to reduce code size by - half and make #line directives in template definitions work. - - Sun Nov 7 15:19:28 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-pt.c (instantiate_class_template): if (!setup_parse), don't - mess with lineno and input_filename. - - Mon Nov 1 18:15:59 1993 Kung Hsu (kung@cirdan.cygnus.com) - - * cp-cvt.c(convert_to_reference): Fix when pass ref to array as - initializer, the argument type is convert to pointer and the type - in the field of the class should also convert to pointer. - - Fri Nov 5 11:57:41 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-pt.c (instantiate_template): Work properly with - -fexternal-templates. - - * cp-lex.c (extract_interface_info): #if 0 out earlier - tinst_level work pending further work. - - Fri Nov 5 07:39:00 1993 Michael Tiemann (tiemann@blues.cygnus.com) - - * cp-search.c (compute_visibility): Don't lose access to public - members from base classes of base classes. - - * cp-typeck.c (convert_for_assignment): Allocate enough space in - LHSBUF for the null terminiator. - - Tue Nov 2 07:20:03 1993 Michael Tiemann (tiemann@blues.cygnus.com) - - * cp-decl2.c (build_push_scope): Don't push the scope for - ptr-to-method declarations. Also, clarify some comments. - - * cp-parse.y (abs_member_declarator): Add `see_typename' epsilon - rule so that parser can recognize ptr-to-member functions. - - Mon Nov 1 18:15:59 1993 Kung Hsu (kung@cirdan.cygnus.com) - - * 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. - - Mon Nov 1 11:06:39 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-errfn.c: Don't include . - Don't use the return value of strcpy. - - Sun Oct 31 22:32:05 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-call.c (build_scoped_method_call): Return (void)0 if trying to - call a nonexistent destructor. - - * cp-parse.y (object): Support p.~int(). - - * cp-error.c (dump_expr): Handle error_mark_node better. - - Sat Oct 30 21:49:00 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-parse.y (primary): Support p->~int(). - - Fri Oct 29 18:09:12 1993 Mike Stump (mrs@cygnus.com) - - * cp-type2.c (build_functional_cast): Don't delete things twice. - - Thu Oct 28 15:35:55 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-tree.h (struct tinst_level): The template instantiation level - structure. Used by the code described below. - - * 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-parse.y (tmplate_instantiate_once): pop_tinst_level() after - instantiating member templates. - - * 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-pt.c (tsubst): Associate the FUNCTION_DECL with the spot in the - user's code that triggered the instantiation. *Currently disabled* - - * 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-pt.c (coerce_template_parms): Do extra checking on the template - parms, since templates are more picky than initializers. - - Wed Oct 27 17:06:54 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-parse.y (datadef): Don't override a template with a forward - declaration of a template class. - - Tue Oct 26 17:54:12 1993 Kung Hsu (kung@cirdan.cygnus.com) - - * cp-parse.y (component-declarator0): fix bit field name same as type - name syntax error. - - Tue Oct 26 16:07:29 1993 Mike Stump (mrs@cygnus.com) - - * cp-cvt.c (build_up_reference): Fix typo, fixes core dump on bad - code. + * bi-arity.c (main): Cast enum to char in output. + * bc-emit.c (bc_emit_bytecode): Add missing cast. - Tue Oct 26 11:52:09 1993 Jason Merrill (jason@deneb.cygnus.com) +Thu Nov 3 18:55:42 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-error.c (dump_function_decl): Only print default arguments - if verbose. - (dump_type): Ditto. + * Makefile.in (c-parse.o, c-lex.o): c-parse.h is in $(srcdir). - Mon Oct 25 22:18:05 1993 Per Bothner (bothner@kalessin.cygnus.com) +Thu Nov 3 18:11:56 1994 John F Carr (jfc@mit.edu) - * cp-typeck.c (c_sizeof, build_c_cast): Re-enable Salzenberg's - July 10 change (set TREE_OVERFLOW as well as TREE_CONSTANT_OVERFLOW). + * rs6000.md (movsi): New alternative for SYMBOL_REF source operand. + * rs6000.c (print_operand): New code '*' to print TOC register number. + (input_operand): Allow address of TOC entry. + * rs6000.h (EXTRA_CONSTRAINT): 'R' matches a SYMBOL_REF for TOC entry. + (PRINT_OPERAND_PUNCT_VALID_P): Recognize '*'. + (PREDICATE_CODES): input_operand can now match SYMBOL_REF. - Mon Oct 25 18:53:08 1993 Jason Merrill (jason@deneb.cygnus.com) +Thu Nov 3 18:03:24 1994 Jason Merrill (jason@phydeaux.cygnus.com) - * cp-pt.c (instantiate_class_template): Don't do the - push_template_decls thang if !setup_parse; the binding level - never gets popped. + * cccp.c: TOOL_INCLUDE_DIR is not C++-aware. - Mon Oct 25 11:54:34 1993 Kung Hsu (kung@cirdan.cygnus.com) +Thu Nov 3 17:23:30 1994 Jim Wilson (wilson@chestnut.cygnus.com) - * cp-method.c (hack_identifier): fix seg fault when an - external variable does not have class context. + * mips.c (mips_output_external): Exclude alloca from list of + used external functions. - Sun Oct 24 19:01:15 1993 Michael Tiemann (tiemann@blues.cygnus.com) +Tue Nov 1 19:19:41 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-spew.c (scan_tokens): Test for ';' in first pre-scan of the - tokens. + * Version 2.6.1 released. - Fri Oct 22 23:46:17 1993 Jason Merrill (jason@deneb.cygnus.com) +Tue Nov 1 18:51:00 1994 Torbjorn Granlund (tege@cygnus.com) - * 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. + * pa.md (add_high_const): Add missing mode for PLUS. - * cp-error.c (dump_decl, CONST_DECL): Pass off non-enum cases to - dump_expr. - (dump_expr): Pass off DECLs to dump_decl. +Tue Nov 1 18:39:53 1994 Stephen L Moshier (moshier@world.std.com) - Fri Oct 22 20:57:46 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) + * cse.c (simplify_unary_operation, case TRUNCATE): Set LV and HV. - * cp-errfn.c (STRDUP): Change to comma expr for bdmaged cc's. - (cp_thing): Add decl for ap, initialize fmt later. +Tue Nov 1 18:36:23 1994 Pat Rankin (rankin@eql.caltech.edu) - Fri Oct 22 17:15:01 1993 Jason Merrill (jason@deneb.cygnus.com) + * vax.c (struct extern_list): Put code back outside of #ifdef VMS. + (vms_check_external, vms_flush_pending_externals): Likewise. - * cp-error.c (dump_decl): Handle CONST_DECLs for enum tags. +Mon Oct 31 16:18:12 1994 Michael Meissner - * cp-type2.c (my_friendly_abort): Move abortcount to global level. + * i386/i386.md (movsf, movdf, movxf): If we are moving floating + point constants to a non-memory location that aren't 0 or 1, + assume we need the pic register if -fpic. - * cp-search.c (dfs_pushdecls): Be more helpful in shadowing warning. +Mon Oct 31 13:26:45 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu) - * 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). + * sparc.h (GO_IF_LEGITIMATE_ADDRESS): Don't allow TFmode LO_SUM. + * sparc.md (movtf+3): Disable pattern. - Fri Oct 22 16:40:27 1993 Mike Stump (mrs@cygnus.com) +Mon Oct 31 08:11:47 1994 Doug Evans - Handle constructors in templates better. + * expr.c (expand_expr, COND_EXPR case): Don't use original target as + a temp if it's a volatile mem ref. Finish previous patch (don't + expand "X ? A & 1 : A" as "A & (X != 0)"). - * 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. +Mon Oct 31 08:07:09 1994 Pat Rankin (rankin@eql.caltech.edu) - Wed Oct 20 17:17:37 1993 Jason Merrill (jason@deneb.cygnus.com) + * vax.c: Include tree.h #ifdef VMS. + (struct extern_list): Move inside #ifdef VMS; add SIZE and IN_CONST + fields; make `extern_head' static; add second list head. + (vms_check_external): Move inside #ifdef VMS; give new args; maintain + list of both pending external symbols and previously defined ones. + (vms_flush_pending_externals): New function. + * vax/vms.h (ASM_GLOBALIZE_LABEL): Pass new args to vms_check_external. + (ASM_OUTPUT_EXTERNAL): Just call vms_check_external. + (ASM_{,FINISH_}DECLARE_OBJECT_NAME, ASM_FILE_END): Define. - * cp-tree.h: Declare code_as_string. +Mon Oct 31 08:00:59 1994 Michael Gschwind (mike@vlsivie.tuwien.ac.at) - * cp-error.c (code_as_string): New function, translates - enum tree_code into a string. Very incomplete at the moment. + * pdp11.h (TARGET_SWITCHES): Add -split and -no-split. + (TARGET_SPLIT, TARGET_NOSPLIT): New macros. + (TRAMPOLINE_TEMPLATE, INITIALIZE_TRAMPOLINE): Abort if -split. - * cp-decl.c (lookup_tag): Use cp_error more. +Mon Oct 31 07:53:34 1994 Warner Losh - Tue Oct 19 16:39:20 1993 Jason Merrill (jason@deneb.cygnus.com) + * i386/x-freebsd (CLIB): Add definition. - * cp-error.c (dump_type_prefix): Do the prefix/suffix thang for - ARRAY_TYPE nodes. +Mon Oct 31 07:49:17 1994 Jeffrey A Law - Thu Oct 14 23:56:34 1993 Jason Merrill (jason@deneb.cygnus.com) + * reorg.c (mark_set_resources): Properly handle SUBREGs. - * cp-gc.c (build_dynamic_cast): Avoid doing runtime work if possible. - (build_typeid): Add logic. +Mon Oct 31 07:24:32 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Thu Oct 14 10:56:43 1993 Jason Merrill (jason@deneb.cygnus.com) + * expr.c (expand_expr, case COMPONENT_REF): Don't extract + field from a CONSTRUCTOR if it already has a TREE_CST_RTL. + (expand_expr, case ADDR_EXPR): Call mark_temp_addr_taken + on the temporary made when operand needs to be stored into memory. + * function.c (preserve_temp_slots): Preserve anything whose + address was taken when X is zero. - * 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. +Sun Oct 30 15:11:51 1994 Richard Kenner - * 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. + * msdos/top.sed, i386/config-nt.sed: Update version to 2.6.1. + * pa/t-pa-hpux: Add missing newline at end. - * cp-error.c (expr_as_string): Suppress parens on initial call - to dump_expr. +Sat Oct 29 21:16:29 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-tree.h: Add decls for Type_info_type_node, build_typeid, - get_typeid and build_dynamic_cast. + * emit-rtl.c (operand_subword): Fix typo: HOST_BITS_PER_INT + should be HOST_BITS_PER_WIDE_INT. - * gplus.gperf: Add typeid and dynamic_cast. +Fri Oct 28 19:13:13 1994 Andrew McCallum (mccallum@vein.cs.rochester.edu) - * cp-spew.c (init_spew): Ditto. + * objc/misc.c (__objc_xcalloc): Use calloc instead malloc/bzero. - Wed Oct 13 19:15:21 1993 Jason Merrill (jason@deneb.cygnus.com) +Fri Oct 28 19:07:53 1994 Michael Gschwind (mike@vlsivie.tuwien.ac.at) - Partial implementation of Stroustrup's proposal for declarations in - conditions from X3J16/92-0121. + * pdp11.h (TRAMPOLINE_SIZE): Install real implementation. + (INITIALIZE_TRAMPOLINE, TRAMPOLINE_TEMPLATE): Likewise. - * 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. +Fri Oct 28 19:01:27 1994 Craig Burley (burley@gnu.ai.mit.edu) - * cp-decl2.c (pushdecls): New function, push all decls in the chain - into the current scope. + * Makefile.in (stage?-start): Add semicolon between fi and done. + +Fri Oct 28 17:12:26 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Wed Oct 13 12:31:58 1993 Mike Stump (mrs@cygnus.com) + * cse.c (cse_insn): Don't record a DEST if paradoxical SUBREG + and SRC is a SIGN_EXTEND or ZERO_EXTEND. - * cp-decl.c: Remove redefinition of NULL, as some machines don't - like it. Clean up all NULL uses. + * alpha.md (reload_outqi): Correctly handle scratch assignments + for unaligned case when ADDR is a REG. - Mon Oct 11 17:21:08 1993 Kung Hsu (kung@cirdan.cygnus.com) +Fri Oct 28 07:55:40 1994 Michael Meissner (meissner@osf.org) - * cp-decl2.c (finish_file): Fix libg++ build problem of mismatch - blocks. + * i386/i386.md (adddi3): Fixup code in case operands[0] is equal + to operands[2]. - Mon Oct 11 13:51:05 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Thu Oct 27 18:58:39 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Mon Oct 4 11:49:48 1993 Chip Salzenberg (chip@fin.uucp) + * reload1.c (count_possible_groups): Fix typo in setting + counted_for_groups. - * cp-typeck.c (build_modify_expr): Check whether recursive calls - return error_mark_node. +Thu Oct 27 15:30:41 1994 Per Bothner - Mon Oct 4 12:41:16 1993 Chip Salzenberg (chip@fin.uucp) + * c-typeck.c (process_init_element): In the case of + [LO .. HI] = VALUE, use save_expr to only evaluate VALUE once. - * 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. +Thu Oct 27 15:15:25 1994 Torbjorn Granlund (tege@rtl.cygnus.com) - Mon Oct 4 12:45:11 1993 Chip Salzenberg (chip@fin.uucp) + * gcc.c (process_command): Don't forget to split -Wl arguments at + commas. - * cp-typeck.c (common_type): Use TYPE_MAIN_VARIANT when preferring - long int to int (when width is the same). + * gcc.c (process_command): Handle -Wl, and -Xlinker similar to -l, + i.e., preserve their order with respect to linker input files. - Mon Oct 4 12:46:54 1993 Chip Salzenberg (chip@fin.uucp) +Thu Oct 27 13:11:16 1994 Douglas Rupp (drupp@cs.washington.edu) - * cp-typeck.c (convert_for_assignment): Mismatch in signedness - of pointer targets should not inhibit warnings for const mismatch. + * configure (i[345]86-*-winnt3*): Allow any version 3.x. + Don't use a t-winnt file and move x-winnt to config/i386. + * i386/x-winnt: Build ld-winnt.exe only on host. + * winnt/t-winnt: Deleted. - Mon Oct 4 12:53:04 1993 Chip Salzenberg (chip@fin.uucp) +Thu Oct 27 13:05:16 1994 Mike Collison (collison@chianti.sw.stratus.com) - * cp-typeck.c (default_conversion): Convert to unsigned int - if original type is unsigned and of greater or equal size. + * reload.c (debug_reload): New function to print reload info + set up by find_reloads. - Mon Oct 11 13:19:42 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Wed Oct 26 18:27:03 1994 David Mosberger-Tang - * cp-decl.c (build_enumerator): Call default_conversion on the VALUE - before calling constant_expression_warning. + * alpha.h (FUNCTION_PROFILER): Use $28 instead of $27. + (LINK_SPEC): Pass -pg to linker. + (LIB_SPEC): Link in -lprof1 with -pg, not -lprof2. + (STARTFILE_SPEC): USe gcrt0.o if -pg, not mcrt0.o. - Mon Oct 11 10:21:37 1993 Kung Hsu (kung@cirdan.cygnus.com) +Wed Oct 26 18:22:34 1994 Doug Evans (dje@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 + * expr.c (expand_expr, COND_EXPR case): Don't expand + "X ? A & 1 : A" as "A & (X != 0)". - Mon Oct 11 01:08:09 1993 Jason Merrill (jason@deneb.cygnus.com) +Wed Oct 26 18:06:52 1994 Douglas Rupp (drupp@cs.washington.edu) - * cp-error.c (dump_type_suffix): Cope with arrays with unspecified - bounds. + * winnt/ld.c (expand_lib, main): Fix off-by-one bugs in several + calls to malloc. - Thu Oct 7 19:35:26 1993 Jason Merrill (jason@deneb.cygnus.com) +Wed Oct 26 22:00:09 1994 Richard Kenner - * cp-error.c: Deal with printing out array DECLs properly. - Use dump_char for printing out string literals, too. + * winnt/t-winnt: Remove some spurious blank lines. -Tue Nov 23 18:08:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Oct 26 14:14:39 1994 Michael Meissner (meissner@osf.org) - * dwarfout.c (function_start_label): New function. - (output_entry_point_die): Use it. - (output_global_subroutine_die, output_local_subroutine_die): Use it. + * i386/osfrose.h (REAL_NM_FILE_NAME): Use /usr/ccs/gcc/bfd-nm + instead of /usr/ccs/bin/nm, since the GNU nm does not output stab + symbols by default. - * c-common.c (check_format_info): Always use TYPE_MAIN_VARIANT - when comparing cur_type against wanted_type. +Wed Oct 26 13:47:06 1994 Michael Gschwind (mike@vlsivie.tuwien.ac.at) - * 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. + * config.sub (pdp11): New machine name. + * configure (pdp11-*-*): New configuration. + * pdp11.c, pdp11.h, pdp11.md, xm-pdp11.h: New files. - * c-typeck.c (build_binary_op): Don't accept complex types - for max, min, lt, etc. +Wed Oct 26 07:33:40 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Nov 23 18:05:14 1993 Lisa Repka (lisa@MicroUnity.com) + * flow.c (find_basic_blocks): Ensure each live basic block is + actually reachable. + (life_analysis): Clean up handling of basic_block_drops_in. - * reorg.c (rare_destination): Ensure we always correctly handle - a null JUMP_LABEL. +Tue Oct 25 18:40:12 1994 Paul Eggert -Tue Nov 23 17:48:39 1993 Doug Evans (dje@canuck.cygnus.com) + * cccp.c (rescan): ".." no longer terminates a preprocessing + number, since that's incompatible with the C standard. - * i960/i960.h (ASM_SPEC): Pass -linkrelax, not -link-relax. +Tue Oct 25 16:16:40 1994 Michael Dobson (dobson@info.usuhs.mil) -Tue Nov 23 17:35:25 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) + * we32k.h (CPP_PREDEFINES): Define u3b2, not u3b. - * arm.c (arm_backwards_branch): Branching to the current insn is a - backwards branch. +Tue Oct 25 16:15:27 1994 Jim Wilson (wilson@cygnus.com) -Tue Nov 23 13:59:24 1993 Hallvard B Furuseth (hbf@durin.uio.no) + * reorg.c (fill_slots_from_thread): Update THREAD if it is split. - * libgcc2.a (__bb_exit_func): Fix format %*d -> %*ld. +Mon Oct 24 00:12:46 1994 Jason Merrill (jason@phydeaux.cygnus.com) - * c-parse.in, cp-parse.y (maybe_type_qual): Don't fail to set $$. + * toplev.c (lang_options): Add -f{no-,}access-control. -Tue Nov 23 15:26:28 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Mon Oct 24 06:14:03 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) - * combine.c (try_combine, simplify_shift_const): Add initializations - for some uninitialized variables. + * arm/arm.md (peepholes for call followed by branch): Disable. - * 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. +Sun Oct 23 08:54:27 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) - * expr.c (expand_expr, case SAVE_EXPR): Properly recompute the - value of UNSIGNEDP when SAVE_EXPR_RTL is nonzero and we have promoted. + * arm/x-riscix (INSTALL): Invoke install.sh with -c flag. -Tue Nov 23 04:14:04 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Oct 21 00:42:08 1994 Jason Merrill (jason@phydeaux.cygnus.com) - * dwarfout.c (output_local_subroutine_die): Use the function name - from its symbol_ref, not DECL_ASSEMBLER_NAME. + * Makefile.in (LIB2FUNCS): Add _pure. -Mon Nov 22 13:59:41 1993 Steve Chamberlain (sac@mole.gnu.ai.mit.edu) + * libgcc2.c (__pure_virtual): New function to go into vtable + entries for pure virtual methods instead of abort. - * final.c (get_attr_length): asm_insn_count takes a body, not an - insn. +Thu Oct 20 18:40:36 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sun Nov 21 22:37:12 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * alpha.md (define_split comparison op with power of two minus 1): + Fix typo. - * 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. +Thu Oct 20 13:14:24 1994 Jason Merrill (jason@phydeaux.cygnus.com) -Sun Nov 21 15:39:04 1993 Tor Egge (tegge@pvv.unit.no) + * collect2.c (add_to_list): Check for duplicates. - * 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. + * alpha/alpha.h (LINK_SPEC): Pass -shared through; don't + pass -init __main if -shared. + (STARTFILE_SPEC): Wrap startfiles in %{!shared:}. + (INIT_NAME_FORMAT): Define. + (FINI_NAME_FORMAT): Define. + * alpha/osf12.h (LINK_SPEC): Ditto. + * alpha/gdb-osf12.h: #include osf12.h instead of alpha.h -Sun Nov 21 01:00:40 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * gcc.c (STARTFILE_SPEC): Wrap startfiles in %{!shared:}. - * config/m68k/isi.h (LIB_SPEC): Use -lm in addition to -lc-- - not instead of -lc. +Thu Oct 20 16:07:46 1994 Jim Wilson (wilson@cygnus.com) - * fix-header.c (write_rbrac): Make added declarations conditional - on __cplusplus and nothing else. - * fixproto (stdio.h): Reenable adding protos for v*printf. + * unroll.c (loop_iterations): Move all failure exits after the + computation of final_value. - * sys-protos.h (authdes_create): Delete arg info. - We can't count on having struct sockaddr defined. + * mips.md (movdf_internal2+1): Disable when TARGET_64BIT. - * fixincludes (math.h): When deleting inline sqrt and abs, - be flexible about arg name and function body. + * i960.c (VARARGS_STDARG_FUNCTION): New macro. + (i960_function_name_declare, output_function_profiler, + i960_function_epilogue, i960_output_call_insn, i960_output_ret_insn, + i960_reg_parm_stack_space): Use it. + (compute_frame_size): Don't use current_function_pretend_args_size. + (i960_function_arg_advance, i960_function_arg): Don't use parameter + named. + (i960_setup_incoming_varargs): No need to adjust first_reg_offset + after setting it. Don't save last named argument to stack. + Don't set pretend_size. + * i960.h (SIGNED_CHAR_SPEC): Use #if instead of ?:. + * va-i960.h (va_start): Use builtin_arts_info instead of + builtin_next_arg. - * Makefile.in (stmp-fixproto): Never run fixproto twice. - -Sat Nov 20 16:52:15 1993 Jim Wilson (wilson@cygnus.com) - - * stmt.c (warn_if_unused_value): Handle arbitrary number of casts - before a modify. - -Sat Nov 20 16:38:25 1993 Eric Baur (eric@synnet.com) - - * i386/perform.h (perform_divsi3, perform_modsi3): Add '&' in - constraint for DX; explicitly copy arg arg1 to cx. - -Sat Nov 20 02:26:28 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * expr.c (expand_builtin): For sin, cos, fsqrt, alloca, ffs, strlen, - strcpy, memcpy, strcmp, memcmp, if args are bad, use expand_call. - - * fix-header.c (write_rbrac): Treat rewinddir like memmove. - -Fri Nov 19 18:24:43 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * protoize.c: Remove declarations for malloc and realloc. - - * expr.c (store_field): Convert EXP to MODE before calling - store_bit_field. - - * optabs.c (expand_complex_abs): Replace some erroneous - uses of MODE with SUBMODE. - - * combine.c (force_to_mode): Don't allow sign-extension of - constants when we are narrowing things in an IOR or XOR. - -Fri Nov 19 16:42:43 1993 Jim Wilson (wilson@cygnus.com) - - * rs6000.c (output_function_profiler): When TARGET_MINIMAL_TOC, - emit .long instead of .tc. - -Fri Nov 19 13:22:37 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * 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. - -Fri Nov 19 17:27:58 1993 Holger Teutsch (holger@hotbso.rhein-main.de) - - * 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. - - * clipper.md (movsf+1,2,movdf+1,2): Make 'f' preferred register class. - -Thu Nov 18 20:09:56 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - - * fixincludes: When compute DOTS, convert /./ to / to avoid - accidentally converting it to /../. - * fixinc.dgux, fixinc.svr4: Likewise. - -Thu Nov 18 06:14:55 1993 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. - -Wed Nov 17 18:54:21 1993 Chip Salzenberg (chip@fin.uucp) - - * objc/objects.c: Include "tconfig.h" before "runtime.h". - -Wed Nov 17 19:15:31 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * fixincludes (math.h): Add missing quoting of `*' when fixing - prototype of `sqr'. - -Tue Nov 16 07:15:52 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * 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 16 02:06:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Version 2.5.4 released. - - * c-typeck.c (push_init_level): When aligning next struct field, - make sure there's another field left. - - * cp-errfn.c: Don't include string.h. - (STRDUP): Macro deleted. - (cp_thing): Copy strings "by hand". - - * combine.c (force_to_mode): Don't do right-shift in a narrower mode. - -Mon Nov 15 01:54:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * sdbout.c (sdbout_symbol): If non-static var has static-style RTL, - don't output anything for it. - - * Makefile.in (stmp-fixproto): Don't depend on xsys-protos.h. - (diff): Don't compare bi-parser.c - - * news.h (NO_DOT_IN_LABEL, NO_DOLLAR_IN_LABEL): Defined. - - * 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. - -Mon Nov 15 02:09:54 1993 Torbjorn Granlund (tege@blues.cygnus.com) - - * pa.h (RETURN_IN_MEMORY): Define. - -Sun Nov 14 17:25:29 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * 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. - - * c-typeck.c (convert_for_assignment): Fix typo (codel => coder). - -Sun Nov 14 12:45:37 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * function.c (assign_parms): Clear STACK_PARM when we have a - pass-by-pointer parm that we load into a pseudo. - - * flow.c (flow_analysis): Fix bug in previous change. - - * fold-const.c (twoval_comparison_p): Do nothing for SAVE_EXPR, at - least for now. - - * reload.c (push_reload): Allow RELOAD_FOR_INPUT with a secondary - reload the same class as the input if the modes differ. - - * expr.c (store_expr): Convert constants to proper mode in two places. - - * sh.h (HAVE_VPRINTF): Delete from here. - * xm-sh.h (HAVE_VPRINTF): New macro. - -Sun Nov 14 04:28:56 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * config/i860/i860.h (SECONDARY_INPUT_RELOAD_CLASS): - Moving any kind of integer cst to float reg needs intermediate. - - * sys-protos.h (getmntent): Delete the arg decls - because BSD 4.4 and Sunos disagree on them. - -Sat Nov 13 23:06:42 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * config/mips/mips.c (function_arg, function_arg_advance): - In default case, handle complex modes much like BLKmode. - (function_arg_partial_nregs): Likewise. - -Sat Nov 13 22:31:48 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * alpha.h (CPP_SPEC): Always define __LANGUAGE_C__ unless assembler. - Define __cplusplus for C++. - - * alpha.md (movsf, movdf): Add 'G' to constraint for operand 1 - when operand 0 is a register and support it in alternative 0. - - * 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. - - * 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. - - * expmed.c (store_split_bit_field): Properly load a constant VALUE - into a WORD_MODE pseudo. - -Sat Nov 13 18:27:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * config/ns32k/ns32k.md (movsi): Handle moves to fp reg. - Handle const_double as operand 1. - - * Makefile.in (diff): Fix typo in name gcc.??s. - -Fri Nov 12 08:34:58 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * dbxout.c (dbxout_type_field): Skip fields with variable - position and/or size instead of crashing on them. - -Fri Nov 12 22:49:50 1993 Pat Rankin (rankin@eql.caltech.edu) - - * 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. - -Fri Nov 12 18:41:51 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * gstdarg.h, gvarargs.h: Test __bsdi__ like __BSD_NET2__. - - * pa.h (FUNCTION_ARG_BOUNDARY): Fix return value for 64bit - pass by value structures. - - * fix-header.c (write_rbrac): Handle v*printf like memmove. - -Fri Nov 12 08:53:47 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) - - * arm.md (comparison): Don't emit invalid optimization - for (set (reg) (comparison)) and (set (reg) (neg (comparison))) - when comparison is LT. - - * arm.c (pattern_really_clobbers_lr): Setting a subreg of a mem is - valid and safe. - -Fri Nov 12 08:38:22 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * m68k/hpux7.h: Add directory name to #include of hp320.h. - -Thu Nov 11 00:00:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Version 2.5.3 released. - - * fix-header.c, gen-protos.c (fancy_abort): New function. - - * c-typeck.c (mark_addressable): Handle REALPART_EXPR and - IMAGPART_EXPR. - - * integrate.h (global_const_equiv_map_size): Declared. - - * dbxout.c (dbxout_symbol): If it's C++, don't check the - DECL_SOURCE_LINE of a typedef. - (dbxout_parms): Fix previous change. - -Wed Nov 10 10:33:28 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) - - * fixproto (rel_source_subdir): Prune out redundant /subdir/../ to - prevent recursion. - -Wed Nov 10 22:30:16 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * config/ns32k/encore.h (ASM_OUTPUT_ASCII): Declare i. - -Wed Nov 10 16:18:19 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * 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. - -Wed Nov 10 08:44:17 1993 Niklas Hallqvist (niklas@appli.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. - - * 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 10 18:55:22 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) - - * fixincludes: Copy files needed for other files at the very end. - - * arm.md (reload patterns for mla instruction): New. - -Wed Nov 10 18:17:40 1993 Jim Wilson (wilson@cygnus.com) - - * dbxout.c (dbxout_parms): For parms passed via invisible - reference, accept any reg except FP, SP, and AP. - - * unroll.c (unroll_loop): Set global_const_equiv_map_size. - -Wed Nov 10 17:52:33 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * 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. - - * 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. - - * alpha.md (smaxdi3): Was incorrectly called maxdi3. - - * rs6000.h (LINK_SPEC): Don't pass -btextro if -r. - - * alpha/osf12.h: New file. - * configure (alpha-dec-osf1.2): New case, to use new file. - - * rs6000.md (sqrtdf2): Fix typo in extra condition. - (plus/eq pattern): Fix typo: "addze" was "adddze". - -Wed Nov 10 12:32:56 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - - * expmed.c (expand_divmod): If rem_flag, always force op0 to a + * cse.c (merge_equiv_classes, cse_insn): Call rehash_using_reg + after insert_regs. + (canon_hash): Don't use qty_const to compute hash code for a register. - * expr.c (expand_expr): Use a smaller alignment when reading from - a field with a variable offset. - -Wed Nov 10 01:28:27 1993 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. - - * fixincludes (math.h): Delete inline definitions for sqr. - -Tue Nov 9 15:33:45 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-method.c (hack_identifier): Undo rfg's earlier patch. - -Tue Nov 9 19:30:02 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * reload1.c (reload) [SMALL_REGISTER_CLASSES]: Try, at least, - to avoid 2-groups whose second register is explicitly used. - -Tue Nov 9 19:08:47 1993 Jim Wilson (wilson@cygnus.com) - - * mips.md (adddi3): Use DImode not SImode in force_reg call. - - * mips.c (PIC_OFFSET_TABLE_MASK): New macro. - (function_epilogue): When -mabicalls, ignore - PIC_OFFSET_TABLE_REGNUM when calculating load_only_r31. - - * loop.c (strength_reduce): Accept VOIDmode initial values. - -Tue Nov 9 09:23:31 1993 Torbjorn Granlund (tege@mole.gnu.ai.mit.edu) - - * pa.md (negscc): Add mode for NEG. +Thu Oct 20 09:41:51 1994 Richard Kenner (kenner@vlsi1.ultra.nyu) -Tue Nov 9 12:51:54 1993 John Hassey (hassey@dg-rtp.dg.com) + * stor-layout.c (variable_size): Return SIZE if it contains + a PLACEHOLDER_EXPR. - * m88k.md ("cmpsf" & "cmpdf"): Undo inadvertent change included - with CCEVENmode change. +Tue Oct 18 19:51:24 1994 Jason Merrill (jason@phydeaux.cygnus.com) -Tue Nov 9 01:31:58 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * collect2.c (main): Check REAL_*_FILE_NAME first. - * fixincludes (loop on $required): When a file is copied - because another file needs it, scan it for what files it needs. +Wed Oct 19 15:55:15 1994 David J. MacKenzie - * fix-header.c (write_rbrac): When adding proto for memmove, - put it inside #ifndef memmove. + * config.sub: Add licensing exception for Autoconf. -Mon Nov 8 16:50:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Oct 19 06:43:46 1994 Michael Meissner (meissner@osf.org) - * sdbout.c (sdbout_init) [RMS_QUICK_HACK_1]: Call sdbout_symbol - for __vtbl_ptr_type. + * i386/i386.h (FUNCTION_BLOCK_PROFILER): Don't bother preserving + eax if -fpic, since it is a call clobbered register anyway. Fix -fpic + code so that it is correct. - * cp-decl.c (init_decl_processing): Undo previous change. +Tue Oct 18 18:00:23 1994 Michael Meissner (meissner@osf.org) - * c-typeck.c (build_binary_op): Warn for ordered compare of ptr with 0 - only if pedantic in both cases. + * i386/i386.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Move + macros here from osfrose, netbsd, and freebsd ports. Remove + assumptions that the assembler is gas. Rewrite and fix the + instructions produced with -fpic. -Mon Nov 8 18:25:06 1993 David Edelsohn (edelsohn@npac.syr.edu) - - * rs6000.h (ASM_FILE_START): Emit filename directive. - -Sun Nov 7 00:24:04 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Makefile.in (mostlyclean): Delete fixhdr.ready here. - (clean): Not here. - - * scan-decls.c (scan_decls): After seeing an extern variable - declaration, goto new_statement to read a new token, rather - than going to handle_statement (which uses the current token). - -Sat Nov 6 19:40:22 1993 Pat Rankin (rankin@eql.caltech.edu) - - * config/vax/vms.h (__MAIN_NAME): Define as " main(" rather - rather than " main (" to reflect current cc1plus. - - * config/vax/vms.h: Add __GNUC_MINOR__=5 to CPP_PREDEFINES. - -Sat Nov 6 22:54:25 1993 Tor Egge (tegge@pvv.unit.no) - - * 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. - -Sat Nov 6 17:07:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * 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. - -Sat Nov 6 12:32:31 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - - * unroll.c (unroll_loop): Don't unroll loop if jump has combined - the original loop start label with another label. - -Sat Nov 6 05:01:31 1993 Chris Smith (csmith@convex.com) - - * convex.md (untyped_call, blockage): Add new patterns. + * i386/osfrose.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete. + * i386/freebsd.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete. + * i386/netbsd-i386.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): + Delete. -Sat Nov 6 03:11:46 1993 Noah Friedman (friedman@gnu.ai.mit.edu) +Tue Oct 18 20:27:29 1994 Doug Evans (dje@cygnus.com) - * just-fixinc: Rename fixed native limits.h to syslimits.h (or - install gsyslimits.h) before renaming gcc's limits.h from tmpfoo - directory. + * sparc.h (FRAME_POINTER_REQUIRED): Require frame pointer if + non-leaf flat function. + * sparc.c (sparc_frame_info): Combine members gp_sp_offset and + fp_sp_offset into reg_offset. All uses changed. + (RETURN_ADDR_REGNUM): New macro. + (RETURN_ADDR_MASK, FRAME_POINTER_MASK): New macros. + (sparc_flat_compute_frame_info): Rename local mask to gmask. + Only ensure reg save area is 8 byte aligned if necessary. + (sparc_flat_save_restore): New arguments base_reg, offset, gmask, + and fmask. All callers changed. No longer use %g2 to save regs + in big stack frames. + (sparc_flat_output_function_prologue): Delete local tsize. + Reorder storing of previous frame pointer and return address reg to + make it easier for gdb to identify flat functions. Decrement %sp + twice when saving call-saved regs in big frames. + Count fp regs as 4 bytes in assembler comment. + (sparc_flat_output_function_epilogue): Likewise when restoring + call-saved regs. -Sat Nov 6 00:07:41 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Oct 18 19:33:55 1994 Mike Collison (collison@sw.stratus.com) - * expr.c (emit_move_insn_1): Push the components of a complex - in proper order: imag part has higher address. + * reload1.c (reload): Correctly compute group additional needs when + the return register cannot be used as a spill register. -Fri Nov 5 16:23:51 1993 Jim Wilson (wilson@sphagnum.cygnus.com) +Tue Oct 18 16:17:26 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu) - * 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.h (ASM_SPEC): Pass -mcpu= option to GNU as. -Fri Nov 5 20:34:19 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Oct 18 08:39:49 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * fixproto (stdio.h): Don't add protos for vprintf, vfprintf, vsprintf. + * flow.c (propagate_block): Call mark_used_regs to show global regs + used by call. + * combine.c (can_combine_p): Don't combine into CALL_INSN where + DEST is a global reg. -Fri Nov 5 20:32:53 1993 Torbjorn Granlund (tege@adder.cygnus.com) + * c-decl.c (start_function): Save immediate_size_expand + and initialize it to zero in case nested function. - * config/pa/pa.md (decrement_and_branch_until_zero): - Add missing `return'. + * pa.c (non_hard_reg_operand): New function. + * pa.md (reload_{in,out}*): Replace general_operand with + non_hard_reg_operand. -Fri Nov 5 16:08:34 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Oct 14 18:35:30 1994 Jason Merrill (jason@phydeaux.cygnus.com) - * listing: Handle i386-linux like m68020. - Pass compilation options thru an awk variable, not as ordinary args. + * gcc.c (default_compilers): Treat files with an extension of .c++ + as C++ code. - * cccp.c (safe_read, safe_write): Handle EINTR. - (output_line_command): Handle NO_IMPLICIT_EXTERN_C here. - (main): Not here. +Mon Oct 17 19:21:57 1994 David Edelsohn (edelsohn@npac.syr.edu) - * protoize.c (safe_read, safe_write): Handle EINTR. - (safe_write): Return right away after safe_write. + * configure (rs6000-ibm-aix4.1*): New configuration. + * rs6000/aix41.h: New file. -Fri Nov 5 11:40:59 1993 Jeff Law (law@snake.cs.utah.edu) +Mon Oct 17 19:15:14 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu) - * pa-ghpux.h (NO_IMPLICIT_EXTERN_C): Define. - * pa-hpux.h (NO_IMPLICIT_EXTERN_C): Define. + * va-mips.h (va_arg): Add little endian mips3 support. -Fri Nov 5 09:45:20 1993 Kresten Krab Thorup (krab@viking) + * sparc.h (RETURN_IN_MEMORY): Return true for TCmode values. - * objc/archive.c (objc_read_string): Allocate string properly. - * objc/hash.h (compare_strings): Check for null pointers. + * README.IRIX5: Delete. + * install.texi: Update Irix 5 debugging info. -Fri Nov 5 11:29:26 1993 David Edelsohn (edelsohn@npac.syr.edu) + * mips.c (function_prologue): Only emit line number when SDB_DEBUG. - * rs6000.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Use - REAL_ARITHMETIC macros including hex for special values. + * configure: Delete new argument, --noguess. Default build from + host if host specified, otherwise guess build. Fix typo in + setting build from host. -Fri Nov 5 10:26:34 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Mon Oct 17 15:54:56 1994 Per Bothner - * 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.) + * calls.c (expand_call, emit_library_call, emit_library_call_value): + Allways adjust current_function_outgoing_args_size, even #ifndef + ACCUMULATE_OUTGOING_ARGS. (Useful for stack overflow checking.) + * function.c (current_function_outgoing_args_size): Update comment. -Fri Nov 5 07:39:00 1993 Michael Tiemann (tiemann@blues.cygnus.com) +Mon Oct 17 18:49:01 1994 Paul Eggert - * cp-search.c (compute_visibility): Don't lose access to public - members from base classes of base classes. + * cccp.c (rescan): Preserve newlines after macro names at the top level + since this is more likely to do the right thing with line numbers. - * cp-search.c (get_base_distance): Initialize BASETYPE_PATH before - using. Also, initialize RVAL from get_base_distance_recursive. +Mon Oct 17 11:31:42 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Fri Nov 5 05:48:04 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * reload1.c (gen_reload): Renamed from gen_input_reload. + (emit_reload_insns): Delete SECONDARY_MEM_NEEDED case for input + reloads that can't happen and doesn't work. + Fix errors in use of reload_outxx insns. + Simplify output reload code by using gen_reload. + * reload.h (gen_reload): Renamed from gen_input_reload. - * config/i860/paragon.h (SIZE_TYPE): #undef it. +Mon Oct 17 09:26:57 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) - * config/m88k/dgux.h (LIB_SPEC): Handle -msvr4. - (GPLUSPLUS_INCLUDE_DIR): Definition and #undef deleted. + * unroll.c (copy_loop_body, case JUMP_INSN): Don't abort if invert_exp + fails. Instead, redirect the jump around an unconditional branch. - * cccp.c (main): Handle NO_IMPLICIT_EXTERN_C. +Sun Oct 16 05:02:23 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) -Fri Nov 5 03:11:05 1993 Torbjorn Granlund (tege@adder.cygnus.com) + * emit-rtl.c (add_insn_{before,after}): Don't abort because AFTER was + deleted when not optimizing. - * config/m68k/m68k.h (RTX_COST): Return actual costs for - multiplication, not costs for theoretical special cases that are - not handled in the md. +Fri Oct 14 19:26:28 1994 Jeffrey A. Law (law@snake.cs.utah.edu) -Fri Nov 5 00:42:09 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * pa.c (emit_move_sequence): Handle secondary reload when loading + a constant into SAR. - * emit-rtl.c (gen_highpart): If arg is function value hard reg, - return a subreg of it (as in gen_lowpart_common). +Fri Oct 14 10:29:31 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) - * 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. + * fixincludes: Fix X11/Intrinsic.h for RISCiX to remove ___type from + XtOffset. + Add all files that receive special attention to REQUIRED, so that + dependent copies are done if necessary. - * configure: Treat hppa1.[01]-hpux8.0[01] like hppa1.[01]-hpux8.02. + * getpwd.c: Always use getwd if HAVE_GETWD is defined. + * arm/xm-arm.h: Define HAVE_GETWD. - * fixproto: Don't scan sub-directories whose names end in CC - or contain ++ - these are probably C++ directories. + * arm/x-riscix, arm/t-riscix: New files + * configure (arm-*-riscix*): Use them. + +Thu Oct 13 17:12:27 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu) -Thu Nov 4 12:02:04 1993 Jim Wilson (wilson@sphagnum.cygnus.com) + * i960.md (call, call_internal, call_value, call_value_internal): + Use memory_operand not general_operand. - * 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. + * optabs.c (expand_fix): Correct typo with FIX/UNSIGNED_FIX + REG_NOTES. -Thu Nov 4 15:00:38 1993 Samuel Figueroa (figueroa@cs.nyu.edu) +Thu Oct 13 10:44:32 1994 Ian Lance Taylor (ian@cygnus.com) - * i386/os2.h, i386/xm-os2.h: New files. + * genattrtab.c (optimize_attrs): Don't do anything if + num_insn_ents is zero. -Thu Nov 4 14:36:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Oct 12 19:06:48 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu) - * c-decl.c (finish_enum): Undo previous change. + * mips/mips.c (mips_expand_prologue): Handle types that need + constructing. Rename TYPE to PASSED_TYPE and use consistently. -Thu Nov 4 13:30:16 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Wed Oct 12 11:32:05 1994 Ian Lance Taylor (ian@cygnus.com) - * loop.c (strength_reduce): Ignore initial value if it is the - wrong mode. - (record_initial): Don't ignore any set of the register. + * genattrtab.c (num_insn_ents): New static variable. + (remove_insn_ent): Decrement num_insn_ents. + (insert_insn_ent): Increment num_insn_ents. + (optimize_attrs): Use xmalloc to allocate all the attr_value_list + structures at once, rather than using alloca for each one. - * rs6000.md (movdf): Don't have reload choose alternative of - loading a constant into a GPR. +Wed Oct 12 09:17:34 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * optabs.c (??hf2_libfunc): Define like ??sf2_libfunc. + (emit_float_lib_cmp): Call HFmode library functions. + (init_optabs): Set names for HFmode comparison functions. + * expr.h (??hf2_libfunc): Add declarations, like ??sf2_libfunc. - * function.c (expand_function_start): If not optimizing, ensure - we mark context display regs as live for the entire function. +Tue Oct 11 19:20:48 1994 Douglas Rupp (drupp@cs.washington.edu) -Thu Nov 4 02:24:22 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * winnt/ld.c (main): Pass -debug:full -debugtype:coff. + * winnt/t-winnt: Rework rules for ld. + * i386/config-nt.bat: Renamed from config/i386/config-winnt.bat. + Make specific for x86, not all winnt; change filenames. + * i386/config-nt.sed: Remove -g from CFLAGS. + Reflect changes to t-winnt and other minor changes. + * i386/x-winnt: Renamed from winnt/x-winnt. + * i386/config-nt.sed: Renamed from config/winnt/top.sed. + +Tue Oct 11 18:40:41 1994 Peter Schauer (Peter.Schauer@regent.e-technik.tu-muenchen.de) - * 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. + * rs6000.h (ASM_DECLARE_FUNCTION_NAME): Always put out .lglobl + for static functions. -Wed Nov 3 23:59:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Oct 10 19:19:51 1994 Alex T. Ramos (ramos@engr.latech.edu) - * c-typeck.c (build_function_call): Initialize fundecl to 0. + * expr.c (convert_move): Add TImode conversions. -Wed Nov 3 16:34:01 1993 Torbjorn Granlund (tege@adder.cygnus.com) +Mon Oct 10 18:46:44 1994 Alex Dreyzen (alex@alex.jf.intel.com) - * pa.h (REGISTER_MOVE_COST): Decrease cost for move from - SHIFT_REGS to avoid regclass overflow. + * optabs.c (expand_float): Copy TEMP to TARGET when + making recursive call and adjusting. -Wed Nov 3 15:35:44 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Oct 10 07:10:25 1994 Michael Meissner (meissner@osf.org) - * config/m68k/m68k.c (output_move_double): Fix up the test for overlap - of source address with operands[0]. + * i386/linux.h (DEFAULT_PCC_STRUCT_RETURN): Do not define as 0 if + LINUX_ELF is defined. + (perform.h): Include perform.h to define asm statements to use for + libgcc1.a builds. - * regclass.c (regclass): Consider commutativity even when - one arg is a constant. + * i386/linuxelf.h (DEFAULT_PCC_STRUCT_RETURN): Define as 1. + (RETURN_IN_MEMORY): Don't define. -Wed Nov 3 12:06:23 1993 Jim Wilson (wilson@sphagnum.cygnus.com) +Sun Oct 9 11:49:20 1994 Michael Meissner (meissner@osf.org) - * expmed.c (expand_divmod): Use target as copy_to_suggested_reg - argument only if it has the same mode as op0. + * i386/i386.md (movsf_mem): Add & constraint, so that the scratch + register does not clobber the destination address. -Wed Nov 3 04:58:26 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sun Oct 9 12:40:43 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) - * protoize.c (safe_write, safe_read): Really use arg DESC. + * arm.md (reload_outdf): Don't call gen_addsi3 if the address is just + a register. - * libgcc2.c (exit): Fix declaration of _exit. +Sat Oct 8 11:16:50 1994 Doug Evans (dje@cygnus.com) - * 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. + * objc/archive.c (__objc_free): New function. + (__objc_finish_read_root_object): Use it. - * c-decl.c (finish_enum): Always make an enum signed if it will fit. +Fri Oct 7 19:23:03 1994 J.T. Conklin (jtc@cygnus.com) -Wed Nov 3 14:23:52 1993 Torbjorn Granlund (tege@adder.cygnus.com) + * ginclude/stddef.h: Netware uses _SIZE_T_DEFINED_, _WCHAR_T_DEFINED_. - * 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. +Fri Oct 7 12:45:43 1994 Michael Meissner (meissner@osf.org) -Wed Nov 3 03:56:55 1993 Paul Eggert (eggert@twinsun.com) + * i386/i386.c (legitimate_address_p): Disable SUBREGs as either + the index or base register. - * dbxout.c (dbxout_type): Print `-2' instead of `0037777777776' - for an enumeration constant whose value is -2; - otherwise, GDB 4.11 rejects the type. +Fri Oct 7 08:24:44 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Wed Nov 3 04:35:13 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * i386/gnu.h (CPP_PREDEFINES): Define __HURD__. - * Makefile.in (fix-header, gen-protos): Link with HOST_LIBS. - Depend on HOST_LIBDEPS. + * collect2.c (my_strerror): If HAVE_STRERROR defined, call strerror. + * xm-gnu.h (HAVE_STRERROR): Define. -Wed Nov 3 00:07:18 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) + * function.c (preserve_temp_slots): If X cannot be a temp + slot, preserve all things whose address was taken at the + present level. - * 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. + * function.c (assign_stack_temp): Abort if SIZE == -1. -Tue Nov 2 17:37:39 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * expr.c (safe_from_p): If EXP has a variable size, assume safe. + (preexpand_calls): Don't preexpand a call that returns a variable- + sized object. - * 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. + * emit-rtl.c (add_insn_{after,before}): Fix error in last change. - * protoize.c (safe_read): New function. - (process_aux_info_file, edit_file): Use safe_read. +Thu Oct 6 09:18:28 1994 Kresten Krab Thorup (krab@next.com) - * cccp.c (safe_read): New function. - (main, finclude, check_precompiled): Use safe_read. + Adam Fedor (fedor@hopper.colorado.edu) + * objc/archive.c (__objc_finish_read_root_object): Delay freeing + of back-patch list. -Tue Nov 2 14:31:42 1993 Ian Lance Taylor (ian@cygnus.com) + Andrew McCallum (mccallum@cs.rochester.edu) + * objc/objc.h (BOOL): Changed from char to unsigned char. - * fixincludes: Don't remove /**/ from X11/Xlibint.h or - X11/extensions/multibufst.h; unnecessary. +Thu Oct 6 08:17:04 1994 Stan Cox (coxs@dg-rtp.dg.com) -Tue Nov 2 07:20:12 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * m88k/m88k.c (emit_move_sequence): If operand1 is an invalid PIC + address, then legitimize it before doing anything else. - * optabs.c (init_optabs): Function `ffs' takes `int', not mode that - is BITS_PER_WORD wide. +Thu Oct 6 06:54:03 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Nov 2 02:53:26 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cse.c (cse_insn): Don't call force_const_mem on (const (truncate)). - * cp-typeck.c (comptypes): Fix typo in changing STRICT from 2 to 1. + * expr.c (store_expr): Don't clobber TEMP with address. - * protoize.c (edit_file): Use safe_write. - (safe_write): New subroutine. + * reorg.c (try_merge_delay_insns): Update THREAD if it is split. - * calls.c (expand_call): Discard __ prefix like _ or __x. + * function.c (struct temp_slot): New field addr_taken. + (assign_stack_temp): Initialize it. + (mark_temp_addr_taken): New function. + (preserve_temp_slots): Decrement level of things at same level + but whose address has been taken. + * expr.c (expand_expr, case ADDR_EXPR): Call mark_temp_addr_taken. - * objc/objects.c: Include tconfig.h. +Wed Oct 5 14:17:39 1994 Jason Merrill (jason@phydeaux.cygnus.com) -Mon Nov 1 23:34:46 1993 Rainer Orth (ro@anemone.techfak.uni-bielefeld.de) + * fold-const.c (fold, COMPONENT_REF): Don't die if the CONSTRUCTOR + doesn't initialize the field we want. - * 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] +Wed Oct 5 11:38:48 1994 Michael Meissner (meissner@osf.org) -Mon Nov 1 11:42:29 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + * i386/i386.c (legitimize_pic_address): Changes to support + LABEL_REF references when using -fpic. + (output_pic_addr_const): Ditto. + (print_operand_address): Ditto. - * fixincludes: Fix like . + * i386/i386.md (movsi insn): Changes to support LABEL_REF + references when using -fpic. + (movsi_lea): Name insn supporting lea instruction so it shows up + more clearly when doing -dp. - * fixincludes: Unquote 'f' in #define _IO. Fix elf.h like - elf_abi.h. For Irix 5. +Wed Oct 5 06:56:36 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Mon Nov 1 15:15:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * reorg.c (try_merge_delay_insns): Update THREAD if deleting first + insn in it. - * configure (mips-sgi-irix5*): Add fixincludes=Makefile.in. +Wed Oct 5 01:19:14 1994 Roland McGrath - * fixproto (setjmp.h): Don't require siglongjmp and sigsetjmp. - They need sigjmp_buf, and are missing on many systems. + * configure (i[345]86-*-gnu*): Set xm_file=i386/xm-gnu.h. + * config/i386/xm-gnu.h: New file. + * config/xm-gnu.h: New file. + * config/i386/gnu.h: Move #include out of here, into + config/xm-gnu.h. - * 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. +Tue Oct 4 23:19:28 1994 Michael Meissner -Mon Nov 1 15:19:09 1993 Ian Lance Taylor (ian@cygnus.com) + * protoize.c (POSIX includes): If POSIX is defined, include + sys/wait.h to get WIFSIGNALED, WTERMSIG, WIFEXITED, and + WEXITSTATUS. - * fixincludes: Don't remove /**/ from X11/xmd.h; breaks gcc - -traditional on some systems. +Tue Oct 4 21:48:02 1994 Michael I Bushnell -Mon Nov 1 07:38:58 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu + * config/i386/gnu.h: Include to get O_RDONLY definition. + * gcc.c (O_RDONLY): Define macro iff not already defined. + (read_specs): Second arg to open should be O_RDONLY, not constant 0. - * rs6000.md: Add set_attr for "length" when we are going to split - an insn at output time. +Tue Oct 4 19:06:38 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * rs6000.md (bdn/bdz): Fix typo in checking for when we - need to split. + * expr.c (do_jump_for_compare): Properly scan insns when + branch is at start of sequence. - * 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. +Tue Oct 4 16:53:54 1994 Ian Lance Taylor (ian@cygnus.com) - * stmt.c (expand_decl_init): If CONST_DECL, don't generate any - code, but call expand_expr if DECL_INITIAL is a constant. + * gcc.c, collect2.c, protoize.c (WIFSIGNALED): Define if not + already defined. + (WTERMSIG, WIFEXITED, WEXITSTATUS): Likewise. + * gcc.c (execute): Use them. + * collect2.c (do_wait): Likewise. + * protoize.c (gen_aux_info_file): Likewise. -Mon Nov 1 06:17:16 1993 Torbjorn Granlund (tege@adder.cygnus.com) +Tue Oct 4 16:38:06 1994 Michael Meissner - * m68k.md (divhisi3, udivhisi3, modhisi3, umodhi3): Comment out. - (divhisi3, udivhisi3, modhisi3, umodhi3 recognizers): Comment out. + * i386/i386.h (RETURN_IN_MEMORY): Define so that large types such + as complex double values get returned like structures do, and + don't overwrite %ebx. - * expmed.c (synth_mult): When factoring T, break from loop after - first factor. - (expand_mult): Increase max cost to 12 again. +Tue Oct 4 15:58:21 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu) -Mon Nov 1 01:06:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * lynx-ng.h, lynx.h (PREFERRED_DEBUGGING_INFO): Add undef before + define. - * cccp.c (safe_write): New function. - (write_output): Use safe_write. +Tue Oct 4 05:12:02 1994 Richard Stallman -Mon Nov 1 01:06:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config.sub: Translate -gnu/linux* to -linux*. - * Version 2.5.2 released. +Mon Oct 3 11:43:45 1994 Ian Lance Taylor (ian@cygnus.com) - * cccp.c (do_ident): Fix previous change. + * config.sub: Add support for MIPS variants: mips64, mipsel, + mips64el, mips64orion, mips64orionel, mips3*. -Sun Oct 31 14:41:40 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sun Oct 2 18:26:34 1994 Jason Merrill (jason@phydeaux.cygnus.com) - * Version 2.5.1 released. + * function.c (push_function_context_to): Renamed from + push_function_context, adds argument to indicate that the new + function is not a nested function. + (push_function_context): Call it. + (pop_function_context{,_from}): Similarly. - * cccp.c (do_ident): Substitute macros and output here. - (directive_table): Turn off the pass_thru field for #ident. + * tree.c (save_tree_status): Add argument to indicate that the new + function is not a nested function. + (restore_tree_status): Ditto. - * c-common.c (shorten_compare): Undo previous change. - Instead, just suppress warnings if both args are constant. +Sun Oct 2 18:05:37 1994 Doug Evans (dje@cygnus.com) - * 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. + * configure (i[34]86-*): Change to i[345]86-*. + (target_cpu_default): Treat i586 as an i486 (for now). - * config/m68k/m68k.c (output_move_double): Extend the special case - for *--sp = sp[N] to handle 12 bytes as well as 8 bytes. +Sun Oct 2 10:25:51 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) -Sun Oct 31 17:02:13 1993 Jason Merrill (jason@deneb.cygnus.com) + * arm.md (movsf): If reloading, create a scratch from the target for + loading a constant into integer regs. + (movdf): Likewise. - * 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. + Support for variants that fault on unaligned addrs: + * arm.h (TARGET_SHORT_BY_BYTES): New macro. + (TARGET_SWITCHES): Recognize switches -m[no-]short-load-bytes. + (TARGET_DEFAULT): Only define if not already done so. + (PROMOTE_MODE): Promote HImode unsigned if TARGET_SHORT_BY_BYTES. + (SECONDARY_INPUT_RELOAD_CLASS): Need a scratch for reloading HImode if + TARGET_SHORT_BY_BYTES. + * arm.c (arm_reload_in_hi): New function. + * arm.md (zero_extendhisi2, extendhisi2): Expand to suitable byte + sequence when TARGET_SHORT_BYTES and loading a mem. + (movhi_bytes, extendhisi2_mem): New expands. + (movhi): Call movhi_bytes to load a short from memory if + TARGET_SHORT_BY_BYTES. + (all matchers loading a short from memory): Don't match if + TARGET_SHORT_BY_BYTES. + (matcher for movhi when TARGET_SHORT_BY_BYTES): New pattern to cover + remaining valid cases. -Sun Oct 31 13:33:46 1993 Jim Wilson (wilson@cygnus.com) +Sun Oct 2 08:54:30 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * expr.c (do_store_flag): For equality test of a single bit, use - subtarget instead of target in calls. + * reg-stack.c (subst_stack_regs): Check for NOTE to see if insn was + deleted. -Sat Oct 30 17:58:37 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * reorg.c (fill_slots_from_thread): Update THREAD if deleting + its first insn. - * config/m68k/hpux7.h: New file. - * configure (m68k-hp-hpux7*): New alternative. + * reg-stack.c (delete_insn_for_stacker): Don't set INSN_DELETED_P + on NOTE_INSN_DELETED. - * c-common.c (shorten_compare): Do nothing if both args constant. +Sat Oct 1 20:42:33 1994 Chip Salzenberg - * config.sub: Re-add hitachi to list of companies not to treat - as OS names. + * sco4.h (CPP_PREDEFINES): Remove i386, unix. + (CPP_SPEC): Add them here, so that they're undefined if -ansi. + Also add _i386 and _unix, which are always defined. + * x-sco (CLIB): Add "-lmalloc". + (ALLOCA): Define as "-lPW". + * x-sco4 (CC, OLDCC, RCCFLAGS, CCLIBFLAGS, CLIB, ALLOCA): From x-sco. + (X_CFLAGS): Remove. - * expr.c (convert_move): When extending to multi-word register - via its low word, clobber the whole thing. +Sat Oct 1 14:27:45 1994 Michael Meissner (meissner@osf.org) - * config/i386/i386.c (output_move_double): Extend the special case - for *--sp = sp[N] to handle 12 bytes as well as 8 bytes. + * i386/i386.md (movsf_push386): Rename to movsf_push_nomove. + (movdf_normal): Prefer to use float registers rather than general + purpose registers. -Sat Oct 30 17:21:33 1993 Atsushi Furuta (furuta@sra.co.jp) +Sat Oct 1 07:01:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) - * pa-ghiux.h, pa-hiux.h, pa1-ghiux.h: New files, for Hitachi H3050/RX. - * pa1-hiux.h, x-pa-hiux, xm-pahiux.h: Likewise. - * config.sub, configure: Add H3050/RX support. + * c-decl.c (shadow_label): Emit an error if the label is already + declared at this label scope. -Sat Oct 30 03:40:08 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Oct 1 06:44:58 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * config/pa/pa.c (output_dbra): Fix argument number in addi at end. + * emit-rtl.c (add_insn_{before,after}): Abort if insertion point is + a deleted insn. + * jump.c (jump_optimize): When deleting a jump, properly set NEXT. + (duplicate_loop_exit_test): Don't insert NOTE_INSN_LOOP_VTOP + before deleted insn; insert first, then delete. - * tree.h (enum built_in_function): Added END_BUILTINS to delimit - standard from language-specific builtins. + * gcc.c: Install omitted hunk from last diff. - * 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. +Fri Sep 30 18:26:11 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * c-common.c (convert_and_check): Don't warn converting 0xff - to a signed char, etc., unless pedantic. + * emit-rtl.c (add_insn_after): Abort if can't find AFTER and it + has no NEXT_INSN. + (add_insn_before): New function. + (emit_{insn,insns,jump_insn,call_insn,barrier,note}_before): Call it. - * Makefile.in (mainversion): New variable. - (distdir): Use mainversion when verifying gcc.texi has been updated. +Fri Sep 30 17:33:41 1994 Douglas Rupp (drupp@cs.washington.edu) -Sat Oct 30 03:12:54 1993 Torbjorn Granlund (tege@cygnus.com) + * config.sub (windowsnt): Alias for winnt. + (winnt): New OS name. + * configure (extra_programs): New, like extra_parts. + (i[34]86-*-winnt3.1): New configuration. + * genattr.c (atoi): Remove declaration. + * getpwd.c: #ifdef WINNT, include direct.h. + * sdbout.c: Don't include syms.h for winnt. + * toplev.c: Don't include times.h for winnt. + (get_run_time): Just return zero for winnt. + (main): Don't print memory usage for OS/2 or winnt. + * cccp.c (main): Use DIR_SEPARATOR if defined. + Use "Include" environment variable instead of CPATH for winnt. + * gcc.c: Don't include sys/file.h for winnt; use process.h instead. + (concat): Now just concats two things; all callers changed. + (concat[346]): New functions. + (dir_separator_str): New variable. + (exec_prefixes, startfile_prefixes, include_prefixes): Renamed + from same names without plural; all users changed. + (find_a_file, process_command, do_spec_1): Use DIR_SEPARATOR. + (find_file, is_directory, main): Likewise. + (lookup_compiler): If OS/2, do case-independent search. + (fix_argv): New function on winnt. + (FIX_ARGV): New macro for some systems; use instead of argv. + * i386/unix.h: Treat ALMOST_STDC like __STDC__. + (AS2C): New macro. + * i386.c (output_387_binary_op): Use AS2C instead of AS2 with + null first arg. + * config/winnt/config-nt.bat, config/winnt/ld.c: New files. + * config/winnt/{[tx]-winnt, config/winnt/top.sed: New files. + * config/winnt/winnt.h, config/winnt/xm-winnt: New files. + * i386/winnt.h, i386/xm-winnt.h: New files. - * m68k.md (mulsidi3 patterns): Fix typo, LSHIFTRT was ASHIFT. +Thu Sep 29 19:53:14 1994 Jim Wilson (wilson@cygnus.com) -Fri Oct 29 12:06:09 1993 Ian Lance Taylor (ian@cygnus.com) + * sparc.md (movdf+3): Handle overlapping registers in define_split. - * fixinc.svr4 (sys/stat.h): Don't change definitions into - prototypes if they may already be in prototype form. + * gcc.c (default_compilers): Add %Z to all cpp specs. + (n_preprocessor_options, preprocessor_options): New variables. + (process_command): Handle -Wp option. + (do_spec_1): Handle %Z spec. -Fri Oct 29 16:50:33 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * i960/i960-coff.h: New file. + * t-960bare: New file. + * config.sub (os): Accept coff as an OS. + * configure (i960-*-coff): New configuration. - * config/i386/linux.h (LIB_SPEC): Use -lieee if -mieee-fp. + * expr.c (result_vector): Use INCOMING_REGNO when !savep instead + of when savep. + * sparc.md (call): Use struct value pattern is struct size is not + equal to zero instead of greater than zero. + (call+7, call+8): New patterns for untyped calls. + (untyped_call): Revise to emit explicit rtl for all operation. + Delete four old patterns that matched the unexpanded untyped_call + pattern. + (blockage): New pattern. + (flush_register_windows): Modify from 0 to 1. + (goto_handler_and_restore): Modify from 1 to 2. + (flush): Modify from 2 to 3. + * sparc.c (sparc_initialize_trampoline): FLUSH is now 3 not 2. -Fri Oct 29 13:04:16 1993 Arne H. Juul (arnej@fm.unit.no) + * calls.c (emit_library_call): For FUNCTION_ARG_PASS_BY_REFERENCE, + pass address through force_operand before using it. - * mips/iris5.h (LINK_SPEC): Pass -no_unresolved if -call_shared. + * i960.c (i960_setup_incoming_varargs): Store parameter registers + at proper offset in argument block. -Fri Oct 29 12:52:54 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Thu Sep 29 16:39:32 1994 Mike Stump - * rs6000.md (addsf3, subsf3, mulsf3, divsf3): Put POWERPC first, - then POWER. + * stmt.c (expand_return): We have to be careful of cleanups that can + be generated when expanding the return value, as they might otherwise + wipe out the return value. - * mips/iris5.h ({DBX,SDB,MIPS}_DEBUGGING_INFO): Turn off until working. +Thu Sep 29 13:35:24 1994 Mike Stump -Fri Oct 29 12:15:12 1993 Minh Tran-Le (tranle@intellicorp.com) + * expr.c (do_jump): Handle cleanups in TRUTH_ANDIF_EXPR and + TRUTH_ORIF_EXPR. - * i386/xm-aix.h: Define HAVE_PUTENV for AIX PS/2. +Thu Sep 29 13:23:56 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Fri Oct 29 11:49:46 1993 DJ Delorie (dj@ctron.com) + * gcc.c (struct option_map): Sort in alphabetical order. + (translate_options): Ignore option once an error occurs. + Fix error with reversed 'a' and 'o'. + Give error if specified abbreviation is unambiguous. - * i386/go32.h: Add support for coff-based ctor/dtor handling. + * c-typeck.c (convert_for_assignment): When converting object + to union, allow converting the constant zero into a pointer + member of the union. -Thu Oct 28 21:33:22 1993 Kresten Krab Thorup (krab@next.com) +Wed Sep 28 19:33:01 1994 Alex T Ramos (ramos@engr.latech.edu) - * objc-act.c (check_methods_accessible): Fix bug in - -Wno-protocol. Reset chain to bottom class for each search. + * machmode.def (PSImode): Widens to PDImode. + * expr.c (convert_move): Added handling of PDImode conversions. -Thu Oct 28 21:30:38 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Wed Sep 28 19:24:17 1994 H.J. Lu (hjl@nynexst.com) - * c-parse.in (init): Remove extraneous pop_momentary in error case. + * configure: Don't make objc-runtime if cross-compiling gcc. + * build-make (FIXINCLUDES): Set to Makefile.in. -Thu Oct 28 19:01:33 1993 Ron Guilmette (rfg@netcom.com) +Wed Sep 28 19:18:19 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-method.c (hack_identifier): If an overloaded identifier - can only mean one thing, it can only mean one thing. + * function.c (trampoline_address): Add missing call to + round_trampoline. -Thu Oct 28 18:52:15 1993 John F Carr (jfc@mit.edu) +Wed Sep 28 18:34:13 1994 Michael Meissner (meissner@osf.org) - * cp-typeck.c (get_member_function_from_ptrfunc): Convert delta - to size_t before adding to pointer. + * config/svr4.h (ESCAPES): Print \v in octal rather than as '\v', + since some older versions of gas didn't accept it. -Thu Oct 28 18:43:41 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) +Wed Sep 28 14:29:20 1994 Ian Lance Taylor (ian@cygnus.com) - * arm.h (ENCODE_SECTION_INFO): Use DECL_RTL for DECLs. + * fixincludes: Comment out loop which handles symbolic links to + files. It appears to not work, and to be unnecessary. -Wed Oct 27 20:58:31 1993 Torbjorn Granlund (tege@adder.cygnus.com) +Tue Sep 27 19:27:56 1994 Matthias Pfaller (leo@marco.de) - * pa.c (emit_move_sequence): Fix typo, `Pmode' was `mode'. + * ns32k.h (ENCODE_SECTION_INFO): Only calls may go through the + PLT. All address loads, even function address loads, have to + go through the GOT or function addresses will not be unique. -Wed Oct 27 00:01:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Sep 27 19:20:12 1994 Paul Eggert (eggert@twinsun.com) - * cse.c (cse_insn): When using src_related, copy the rtx. - Likewise for src_eqv_here. + * cccp.c (newline_fix, name_newline_fix): Don't treat \r + specially here; it only causes bugs. This undoes the + May 14 16:01:13 1990 change to newline_fix and name_newline_fix. - * c-typeck.c (output_pending_init_elements): Don't crash if - constructor_unfilled_fields is 0. +Tue Sep 27 19:02:55 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * fixincludes (bsd/sys/wait.h): Undo previous change. + * m88k.h (ASM_OUTPUT_SOURCE_LINE): Add missing #undef. - * config/m68k/xm-amix.h (abort): Don't use fancy_abort. - (alloca): In GCC 1, define as __builtin_alloca. +Tue Sep 27 18:32:17 1994 William J. Eaton (wje@hoffman.rstnu.bcm.tmc.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. + * function.c (optimize_bit_field): Put any insns made by + change_address in front of INSN. + (expand_function_end): Don't pass DECL_INITIAL to setjmp_protect + if it is error_mark_node. - * function.c (assign_parms): If parmreg is a CONCAT, handle the - case where stack_parm is 0. + * genoutput.c, reload.c (n_occurrences): Make arg int, not char. + * objc-act.c (warn_with_method): Likewise. - * expr.c (do_jump): Use do_jump_by_parts_equality for complex compares. + * optabs.c (expand_fix): Call emit_library_call_value. - * 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. +Tue Sep 27 12:39:10 1994 Mike Stump (mrs@cygnus.com) - * bytecode.def: Rename dup to duplicate. - * expr.c (expand_assignment): Use duplicate. - (bc_expand_expr): Likewise. - (bc_expand_constructor): Likewise. + * Makefile.in, libgcc2.c (L_eh): some support routines for C++. - * print-tree.c (print_node_brief): Use unsigned char to print - the bytes of a real constant. +Mon Sep 26 06:45:20 1994 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. + * 386/i386.md (adddi3, subdi3): Rewrite to add a clobber of a + scratch variable, so that memory/memoroy adds and subtracts can be + done using just one scratch register. Also, don't require op1 to + be the same as op0. - * config/m68k/amix.h (NO_DOLLAR_IN_LABEL): Defined. +Fri Sep 23 19:03:09 1994 Roland McGrath -Tue Oct 26 19:05:36 1993 John F Carr (jfc@mit.edu) + * config/i386/gnu.h (LIB_SPEC): Remove macro. - * rs6000.c (rs6000_override_options): Support -mcpu=rsc1. +Fri Sep 23 16:11:26 1994 Michael Meissner (meissner@osf.org) -Tue Oct 26 19:01:08 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * i386/lynx-ng.h (CALL_USED_REGISTERS): Copy definition from + i386/lynx.h that makes ebx be a call clobbered register, since + some system calls evidently trash it. - * Makefile.in (deduced.h): Add -I. and -I$(srcdir). +Fri Sep 23 15:54:53 1994 Jim Wilson (wilson@cygnus.com) - * scan-types.sh (CC): Move a " to avoid shell error. + * configure (mips-*riscos*): Changed to mips-*-riscos*. + (mips-*-riscos*-*): Deleted. - * 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. + * cse.c (invalidate): New parameter FULL_MODE. All callers + changed. + (set_nonvarying_address_components): Modify initial comment. + (cse_insn): When call invalidate for dest, use the actual dest not + inner_dest. -Tue Oct 26 18:58:49 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Thu Sep 22 18:56:19 1994 Torbjorn Granlund (tege@cygnus.com) - * 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. + * expmed.c (expand_divmod): Special case for signed CEIL_DIV_EXPR + when divisor is power of 2. - * Makefile.in (gen-protos.o, scan.o, fix-header.o, scan-decls.o): - Add rule to compile using $(HOST_CC). - Show using hconfig.h. +Thu Sep 22 12:28:53 1994 Jason Merrill (jason@deneb.cygnus.com) - * rs6000.md (movsi): Can copy a TOC address into a register. + * fixinc.svr4: Fix size_t, ptrdiff_t and wchar_t like fixincludes + does. Use extern inline rather than static inline in byteorder.h. -Tue Oct 26 15:03:07 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Sep 22 12:22:03 1994 Steve Dum (steve_dum@mentorg.com) - * gcc.c (default_compilers): Define __GNUC_MINOR__, using %v. - (do_spec_1): Implement %v. + * collect2.c (main): Discard the first executable once we've + exploited it. -Tue Oct 26 11:06:59 1993 Mike Stump (mrs@cygnus.com) +Thu Sep 22 11:38:34 1994 Ian Lance Taylor (ian@cygnus.com) - * cp-lex.c (consume_string): Handle "\"" and '\''. + * fixincludes: Tweaks for LynxOS 2.2.2: accept spaces after # when + removing #define void int in curses.h; change prototype of fnctl + in fcntl.h to match POSIX.1. -Tue Oct 26 13:44:17 1993 Jim Wilson (wilson@sphagnum.cygnus.com) +Thu Sep 22 07:18:37 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in (fix-header.o): Depend on fix-header.c. - (scan-decls.o): New target. - (gen-protos.o, scan.o): New targets. + * configure: Consistently put specified manufacturer names ahead + of entries with wildcard manufacturers. - * Makefile.in (gen-protos, fix_header): Add $(HOST_CFLAGS) and - $(HOST_LDFLAGS). + * calls.c (emit_call_1): Fix typo in last change. - * x-sysv (OLDCC): Add -XNh1500. - * x-mips: Likewise. +Wed Sep 21 21:32:56 1994 Chris Smith (csmith@convex.com) -Tue Oct 26 12:21:06 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + * config.guess: Add convex c3* and c4* guesses. + * configure: Don't run fixincludes on convex. - * fixincludes: Fix NeXT problem in - as well, since that is where the file is in NeXTStep 3.0. +Wed Sep 21 15:59:12 1994 Ashley Saulsbury (ans@sics.se) -Tue Oct 26 07:23:08 1993 Torbjorn Granlund (tege@adder.cygnus.com) + * alpha.h (ASM_FILE_START): Write .set volatile. - * 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. +Wed Sep 21 14:45:45 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * c-typeck.c (build_binary_op): For TRUNC_MOD_EXPR and FLOOR_MOD_EXPR, - set common. + * calls.c (emit_call_1): Properly add a CLOBBER for sp + to CALL_INSN_FUNCTION_USAGE. -Tue Oct 26 01:59:17 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-typeck.c (mark_addressable): Give different error if trying + to put object with volatile fields into register; don't use DECL_NAME. - * protoize.c [__NeXT__]: Don't declare setjmp or longjmp. +Wed Sep 21 14:02:10 1994 Jim Wilson (wilson@cygnus.com) - * configure: Ignore --verbose option if specified. + * reload1.c (eliminate_regs): Make test in LOAD_EXTEND_OP case + more precise. - * 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. +Wed Sep 21 11:34:12 1994 Ian Lance Taylor (ian@cygnus.com) - * 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. + * fixincludes: Don't try to remove empty directories until after + removing DONE files. - * c-typeck.c (push_init_level): Align here for element of record. - (process_init_element): Not here (was before call to push_init_level). +Wed Sep 21 05:52:49 1994 Uwe Seimet (seimet@chemie.uni-kl.de) - * 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. + * m68k/atari.h (NO_{DOLLAR,DOT}_IN_LABEL): Define. -Mon Oct 25 23:23:26 1993 Torbjorn Granlund (tege@blues.cygnus.com) +Tue Sep 20 20:06:08 1994 Doug Evans (dje@cygnus.com) - * c-typeck.c (build_binary_op): For TRUNC_MOD_EXPR and FLOOR_MOD_EXPR, - don't shorten when divisor might be -1. + * final.c (asm_insn_count): Handle ASM_INPUTs too. -Mon Oct 25 23:45:20 1993 Minh Tran-Le (tranle@intellicorp.com) +Tue Sep 20 19:32:10 1994 Oliver Kellogg (okellogg@salyko.cube.net) - * seq-sysv3.h (CPP_SPEC): Define _SEQUENT_ to be compatible with cc. - (INVOKE__main): Defined. - (HAVE_ATEXIT): Defined. + * 1750a.h, 1750a.c, 1750a.md: New files, to use as1750. + * 1750a/m1750.inc: File deleted. + * 1750a/ms1750.inc: New file. - * configure (i[34]86-sequent-sysv): Use fixinc.srv4 and define - broken_install. +Tue Sep 20 17:55:50 1994 Hallvard B Furuseth (hbf@durin.uio.no) + + * cccp.c (make_definition): Enable `-D' with macro arguments. -Mon Oct 25 18:53:51 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Tue Sep 20 17:49:47 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * expr.c (expand_expr, case PLACEHOLDER_EXPR): Fix typos. + * cexp.y (HOST_WIDE_INT, HOST_BITS_PER_WIDE_INT): New macros. + (expression_value): Now HOST_WIDE_INT. + (parse_c_expression): Now returns HOST_WIDE_INT. + * cccp.c (eval_if_expression): Likewise. + (do_if, do_elif): Reflect new return value of functions. -Mon Oct 25 16:25:58 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * alpha.c (mode_mask_operand): Always return a value. - * scan.c (scan_string, skip_spaces): Add newline before fn name. + * function.c (pop_function_context): Clear reg_renumber. - * scan-decls.c (scan_decls): When reading parameter list, - handle whitespace differently, and keep track of line number. + * gcc.c (process_command): Add new switch, -dumpmachine. - * config/i386/x-linux (STMP_FIXPROTO): Define as empty. +Tue Sep 20 15:57:40 1994 Jim Wilson (wilson@cygnus.com) -Mon Oct 25 13:22:37 1993 Kaveh R. Ghazi (ghazi@caip.rutgers.edu) + * sched.c (sched_analyze_insn): Parameter loop_note type changed + to rtx, and name changed to loop_notes. Code adding it to + REG_NOTES modified to account for type change. + (sched_analyze): Variable loop_note type changed to rtx, and name + changed to loop_notes. Store LOOP_* REG_DEAD notes in it instead + of LOOP_* NOTE_LINE_NUMBER. + (schedule_block): Pass last not insn to emit_note_before call. - * fixincludes: Fix bad S_IS* macros in on m88k-sysv3. + * iris5.h (ASM_OUTPUT_UNDEF_FUNCTION): Define. + (ASM_OUTPUT_EXTERNAL_LIBCALL): Define. + (ASM_DECLARE_FUNCTION_SIZE): Define. + * mips.c (mips_output_external): Use ASM_OUTPUT_UNDEF_FUNCTION. + (mips_output_external_libcall): New function. + (mips_asm_file_end): Handle ASM_OUTPUT_UNDEF_FUNCTION. + * README.IRIX5: Update. -Mon Oct 25 22:34:12 BST 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) +Tue Sep 20 14:39:37 1994 Michael Meissner (meissner@osf.org) - * fixincludes: Remove nested brackets in change of Oct 21. - Fix token pasting operator in ARM/RISCiX include files. + * i386/i386.h (output_move_memory): Add declaration. + (output_move_pushmem): Ditto. -Mon Oct 25 13:01:52 1993 Jim Wilson (wilson@sphagnum.cygnus.com) + * i386/i386.c (output_move_pushmem): New function to handle + pushing bytes from memory onto the stack, possibily using + temporary registers. + (output_move_memory): New function to handle moving bytes from + memory to memory via temporary registers. - * sparc.h (LONG_DOUBLE_TYPE_SIZE): Don't define here. - * sol2.h (LONG_DOUBLE_TYPE_SIZE): Do define here. + * i386/i386.md (movsi insn): If -fpic and the value we are moving + is a constant pool address, emit a leal instruction instead of + movl. + (movsf_push): Allow pushes from memory. + (SF, DF, XF, DI pushes): Move most of the code to the common + function output_move_pushmem. + (SF, DF, XF, DI memory->memory moves): Move most of the code to + the common function output_move_memory. + (DI move patterns): Combine DI patterns into two, one for pushes, + and one for everything else, so that the combiner will combine a + load with a store into a memory->memory move. + (untyped_call): Replace non-working code with m68k version that + emits a regular call, then breaks the parallel moves into separate + moves, and then issue a blockage instruction. + (blockage): New unspec_volatile insn to block insns from being + moved across this point. + (untyped_return): Delete. + (update_return): Delete. - * configure (mips-sgi-irix5): Don't use collect. + * objc/sendmsg.c (get_imp): Allow __inline__ on x86 platforms. -Sun Oct 24 14:15:12 1993 Jim Wilson (wilson@sphagnum.cygnus.com) +Tue Sep 20 12:21:12 1994 Ian Lance Taylor (ian@cygnus.com) - * libgcc2.c (L_bb): Undef NULL before including . + * fixincludes: Handle the case of a symlink to root/* from a + subdirectory of another symlink to root/*. -Sun Oct 24 03:04:53 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Sep 19 20:30:21 1994 Jason Merrill (jason@deneb.cygnus.com) - * Makefile.in (g++.o): New target. + * fold-const.c (fold): Handle COMPONENT_REFs involving CONSTRUCTORs. - * varasm.c (assemble_variable): Set last_assemble_variable_decl. - (last_assemble_variable_decl): New variable. - * toplev.c (rest_of_decl_compilation): Test that var. +Mon Sep 19 20:25:38 1994 Will Athanasiou (will@westford.ccur.com) -Sat Oct 23 20:28:13 1993 Jim Wilson (wilson@mole.gnu.ai.mit.edu) + * rs6000.md (load sf with update): Fix RTL typo. - * configure (mips-sgi-irix5): Uncomment. - * iris5.h: Replace with working version. - * xm-iris5.h: New file. +Mon Sep 19 08:46:46 1994 Charles M. Hannum (mycroft@duality.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. + * c-common.c (check_format_info): Enable checking of format + specifiers using the `q' (quad) length modifier. + (format_char_info): Add `qlen'. + (print_char_table, scan_char_table): Add appropriate entries for + qlen. -Sat Oct 23 00:06:14 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Sep 17 12:48:57 1994 Per Bothner (bothner@kalessin.cygnus.com) - * 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. + * stmt.c (mark_seen_cases): Don't call fatal (or do anything + else) if case index out of range. Warning is given later. -Fri Oct 22 01:20:29 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Sep 16 19:22:46 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * global.c (global_alloc): Mark regs assigned to SCRATCH as used by + more than just local alloc. - * expr.c (store_field): In BLKmode case, return blk_object. +Thu Sep 15 14:36:59 1994 Michael Meissner - * config/m88k/m88k.h (ASM_FINISH_DECLARE_OBJECT): Undef, then define. + * i386/i386.c (order_regs_for_local_alloc): Instead of using + flag_cse_follow_jumps and not leaf_function_p to determine whether + to allocate EDX, and ECX before EAX, use whether or not a DImode + variable was used in the compilation. DImode variables seem to + cause spill failures if EAX is allocated first, while smaller code + is generated if EAX is allocated first, assuming no spill failure. - * Version 2.5.0 released. + * i386/i386.md (SF, DF, XF, and DI moves and pushes): Eliminate + special patterns for TARGET_386 that allow direct pushes from + memory, and instead allow direct pushes from memory as the last + alternative in case no scratch registers could be allocated. + (movxf_mem): Remove inadvertent !TARGET_386 condition. + (addsi3): Allow generation of lea on 486, since the single + instruction lea is at least as fast as the mov and add it + replaces. + (zero extend patterns): Replace !TARGET_486 with TARGET_386. + (bit extracts): Ditto. -Thu Oct 21 13:02:48 1993 Jim Wilson (wilson@sphagnum.cygnus.com) + * i386/osfrose.h (LONG_DOUBLE_TYPE_SIZE): Don't redefine to be 64 + unless NO_LONG_DOUBLE is defined. - * mips.h (CUMULATIVE_ARGS): Double size of adjust array. - * mips.c (function_arg): Add comment about too many adjust entries. +Thu Sep 15 13:46:05 1994 Jim Wilson (wilson@cygnus.com) -Thu Oct 21 13:48:14 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * expmed.c (store_split_bit_field): Use number of bits in arg not + BITS_PER_WORD to adjust arg in BYTES_BIG_ENDIAN case. - * rs6000.h (HARD_REGNO_MODE_OK): Multi-word objects cannot - go into MQ, LR, or CTR. +Thu Sep 15 09:19:12 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) - * configure (mips-sgi-iris5*): Disable; not working yet. - * mips/iris5.h (ASM_SPEC, LINK_SPEC, CPP_PREDEFINES): Extend a bit. + * optabs.c (expand_binop, multi-word shifts): Generate rtl + free of conflicts for shifts less than one word. - * expmed.c (expand_divmod): Create RESULT in proper mode when trying - quotient-and-remainder insn. +Thu Sep 15 05:29:58 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Oct 21 13:14:40 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * gcc.c: Rework last change so it's done like collect2.c. - * Makefile.in (STMP_FIXPROTO): Uncomment the definition. + * cse.c (cse_around_loop): Don't invalidate SUBREG unless + it's a SUBREG of a REG. - * varasm.c (output_constructor): Fix previous change: - if no TYPE_DOMAIN, don't set min_index. + * sched.c (sched_analyze_insn): Don't set SCHED_GROUP_P for previous + INSN a USE unless it's a USE of a REG. -Thu Oct 21 11:13:21 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) +Wed Sep 14 10:08:58 1994 Michael I Bushnell - * fixincludes: Avoid conflicting uses of __wchar_t in cc1plus and - stdlib.h for ARM/RISCiX. + * gcc.c: Include in case `errno' is really a macro + as permitted by ANSI C. -Thu Oct 21 08:16:13 1993 Doug Evans (dje@canuck.cygnus.com) + * getpwd.c (GUESSPATHLEN): If there is no definition of + MAXPATHLEN, then set GUESSPATHLEN to be 100. (It's used + as a starting point, not a limit, so this is harmless.) - * Makefile.in (install-common): Remove g++ dependency. - Not built for cross compilers. +Tue Sep 13 15:02:19 1994 Michael Meissner -Thu Oct 21 00:04:40 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * i386/i386.md (movxf_mem): Fix typo with memory/memory moves + of XFmode variables, where the store actually did a load, ie, the + source and destination operands were fixed. + (fixuns_trunc patterns): Revert to the old code. + (movdf_push486, movxf_push486, movdi_push486): If an address is + based on the stack pointer, account for the stack pointer changing + due to the intermediate pushes generated. - * fixincludes (required): Accept a space instead of a tab - between #define and CTRL (or _CTRL). +Tue Sep 13 14:11:16 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * config/m68k/m68k.c (output_move_double): Use reg_overlap_mentioned_p - when checking for overlap between source and dest. - Fix syntax for the lea insn for double overlap case. - * m68k.md (movdi, movdf, movxf): Delete the & from load case. + * collect2.c (fatal_perror, fatal, error): Declare all args as char *. - * config/m88k/m88k.h (ASM_FINISH_DECLARE_OBJECT): Emit .size - only if DECLARE_ASM_NAME. +Tue Sep 13 12:40:39 1994 Jeffrey A. Law (snake.cs.utah.edu) -Wed Oct 20 21:32:11 1993 Jeff Law (law@snake.cs.utah.edu) + * pa.c (emit_move_sequence): Handle secondary FP load/store + reloads of the form (subreg (mem (plus (reg) (disp)))). + (secondary_reload_class): A secondary register is needed to handle + out-of-range FP loads and stores. + * pa.md (reload_indf, reload_outdf): New expanders. + (reload_insf, reload_outsf): Likewise. - * pa.c (output_arg_descriptor): Do not stop searching if a USE - for the static link or struct value register is found. +Mon Sep 12 18:15:48 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Wed Oct 20 22:43:22 1993 Michael Meissner (meissner@osf.org) + * t-pa (ADA_CFLAGS): New override. + * pa/t-pa-hpux: New file. + * configure (hppa*-*-hpux*): Use t-pa-hpux instead of t-libc-ok. - * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Don't emit .size - directive if using the OSF/rose object format. +Mon Sep 12 14:52:17 1994 Jim Wilson (wilson@cygnus.com) - * 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. + * function.c (assign_parms): Set RTX_UNCHANGING_P on stack_parm + for const parameter before calling move_block_from_reg. -Wed Oct 20 20:32:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Sep 12 14:27:58 1994 Doug Evans (dje@cygnus.com) - * cse.c (fold_rtx): Alter previous change: don't fold the shift - if the count exceeds the width of the value inside the subreg. + * config/fp-bit.c (FLO_union_type): Add packed attribute to `bits'. - * varasm.c (copy_constant): New function. - (output_constant_def): Use it. +Sat Sep 10 09:50:41 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Makefile.in ($(srcdir)/INSTALL): Add --no-split. + * cse.c (invalidate_for_call): Properly set IN_TABLE. -Wed Oct 20 19:35:35 1993 John F Carr (jfc@mit.edu) +Sat Sep 10 06:46:24 1994 Bill Burton (billb@progress.com) - * alpha.h (LIB_SPEC): Link -lprof1 when profiling. + * Added improved support for Sequent DYNIX/ptx 1.x and 2.x: + * fixinc.ptx: New file. + * i386/seq-sysv3.h (HAVE_ATEXIT): No longer defined. + * i386/seq2-sysv3.h: New file. + * configure (i[34]86-sequent-ptx[12]*): New configurations. + (i[34]86-sequent-sysv*, i[34]84-sequent-ptx): Deleted configurations. + * config.sub (ptx): New OS; use for Sequent. -Wed Oct 20 19:21:18 1993 Jim Wilson (wilson@cygnus.com) +Fri Sep 9 21:48:48 1994 Paul Eggert (eggert@twinsun.com) - * 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. + * cccp.c (rescan, handle_directive): Backslash no longer suppresses the + specialness of the following char unless -traditional. + (rescan): Remove backslash-newline only if at top level, since + backslash-newline-space can be encountered during macro processing. + (collect_expansion): Remove special hack for \# inside a #define; + it's not compatible with the C Standard. -Wed Oct 20 18:27:28 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Sep 9 17:36:03 1994 Jason Merrill (jason@deneb.cygnus.com) + + * Utilize OSF/1's limited .init support. + * alpha/alpha.h (HAS_INIT_SECTION): Define. + (LINK_SPEC): Add '-init __main'. + * alpha/osf12.h (LINK_SPEC): Ditto. + + * function.c (expand_main_function): Don't call __main if + HAS_INIT_SECTION is defined. - * c-typeck.c (output_init_element): When initializing a union, - do it right away: never put the field on the pending list. +Fri Sep 9 16:36:46 1994 Mike Stump (mrs@cygnus.com) - * patch-header.c (main): Delete output file before opening it. - Discard directory names from progname. - * patch-header.c: Simplify and fix handling of errno.h. - (It no longer thinks errno.h always needs fixing.) - * patch-header.c (write_lbrac, write_rbrac): Only write - extern "C" if that specifically is needed. + * tree.c (decl_function_context): Don't treat C++ member + functions of classes declared in a function, as nested functions. -Wed Oct 20 18:12:21 1993 Torbjorn Granlund (tege@adder.cygnus.com) +Fri Sep 9 16:10:25 1994 Steve Chamberlain (sac@jonny.cygnus.com) - * pa.md (cacheflush): Split into dcacheflush and icacheflush. - Rewrite to use space regs correctly. - * pa.h (TRAMPOLINE_TEMPLATE): Rewrite. - (TRAMPOLINE_SIZE): Update with new size. - (INITIALIZE_TRAMPOLINE): Rewrite. + * sh/sh.c (prepare_move_operands): Generate better DI constant + code. + (fake_shift): New function. + * sh/sh.md (ashlsi3_n, lshrsi3_n): Only recognise if fake_shift + enabled. + * sh/{lib1funcs.asm, ashlsi3.c, lshrsi3.c, ashrsi3.c} : New files. + * sh/t-sh : Build new files. -Wed Oct 20 17:58:32 1993 Per Bothner (bothner@kalessin.cygnus.com) +Fri Sep 9 15:52:54 1994 Hallvard B Furuseth (h.b.furuseth@usit.uio.no) - * varasm.c (output_constructor): Add support for non-zero - lower array bound. - * expr.c (store_constructor): Likewise. + * cccp.c: Correct unprototyped pointer args from `0' to `NULL_PTR' -Wed Oct 20 15:16:34 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Sep 9 15:17:52 1994 Matthew Green (mrg@splode.mame.mu.oz.au) - * toplev.c (rest_of_decl_compilation): Use ASM_FINISH_DECLARE_OBJECT - unconditionally, but define it as no-op by default. + * configure (sparc-*-netbsd): New configuration. + * sparc/netbsd.h: New file. - * config/convex/convex.h (MAX_LONG_TYPE_SIZE): Defined. +Fri Sep 9 15:15:48 1994 Jim Wilson (wilson@cygnus.com) - * 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. + * mips.md (truncdisi2): Change from define_expand to define_insn. + (truncdihi2, truncdiqi2): 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. + * sparc.h (SQRTTF2_LIBCALL): Delete. + (INIT_TARGET_OPTABS): Define. + (INIT_SUBTARGET_OPTABS): Define. -Wed Oct 20 11:39:56 1993 Jim Wilson (wilson@sphagnum.cygnus.com) + * stmt.c (check_for_full_enumeration_handling): Cast malloc result + to `unsigned char *' not `char *'. - * xm-mips.h (HAVE_VPRINTF): Define for BSD 4.4. + * dbxout.c (dbxout_symbol_location): Handle error_mark_node in + DECL_INITIAL for C++. - * mips.c (mips_output_filename): When emitting stabs, don't - disable them if using gas. - (mips_output_lineno): Likewise. + * mips.md (memory): Add missing !r4600 to first define_function_unit. - * sparc.h (INITIALIZE_TRAMPOLINE): Emit 3 flush instrutions. - * sparc.md (flush): Add pattern. + * sparc.md (negsi2): Use register_operand not general_operand for + output. -Wed Oct 20 10:47:54 1993 Michael Meissner (meissner@osf.org) +Fri Sep 9 14:52:58 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * configure (mips-dec-bsd, mips-dec-osf): Fix a typo in the last - change. + * config/netbsd.h: Add #undef for everything we define; a few were + missing. -Wed Oct 20 07:57:06 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * reload.c (find_reloads, case 'p'): Operand is BASE_REG_CLASS. - * rs6000.h, aix31.h (RS6000_CROR_BIT_NUMBER): Deleted. - (RS6000_CALL_GLUE): New macro. - * rs6000.c (print_operand, case '.'): Use RS6000_CALL_GLUE - instead of RS6000_CROR_BIT_NUMBER. - (print_operand, case 'E', case 0): Use "return", not "break". - * rs6000.md (call): Don't use CROR or NOP; just use "%.". +Fri Sep 9 14:00:28 1994 Mike Collison (collison@world.std.com) - * c-common.c (check_format_info): Consider "char", "signed char", - and "unsigned char" types as equivalent. + * configure (dsp16xx-*): New configuration. + * config.sub (dsp16xx): New basic machine. + * dsp16xx.c, dsp16xx.md, dsp16xx.h, xm-dsp16xx.h: New files. - * loop.c (find_and_verify_loops): Properly continue loop after - moving a block of code near a loop exit. +Fri Sep 9 12:47:00 1994 Michael Meissner (meissner@osf.org) -Wed Oct 20 02:01:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * i386/i386.md (All SF, DF, XF, DI 486 push patterns): Merge the + memory and nonmemory push patterns together. - * Makefile.in (extraclean): Delete file djefoo. - (stmp-fixproto): Depend on stmp-headers, not LIBGCC2_DEPS. +Fri Sep 9 00:53:36 1994 Richard Stallman -Tue Oct 19 23:11:16 1993 James Van Artsdalen (james@bigtex.cactus.org) + * config.sub: Accept i586 like i386. + Do not use SCO as a default for i386-*. - * config/i386/isc.h (LONG_DOUBLE_TYPE_SIZE): Define as 64 bits - due to FP emulator bugs in the target kernel. - * config/i386/sco.h: Likewise (kernel bugs are only suspected). +Thu Sep 8 18:49:35 1994 Steve Chamberlain (sac@cygnus.com) -Tue Oct 19 21:21:34 PDT 1993 Ralph Campbell (ralphc@pyramid.com) + * config/fp-bit.c (_fpmul_parts): Perform optimized + 64bit*64bit multiply correctly. + * sh/sh.c (synth_constant): Ensure DI mode constants get their + high part zeroed. + (add_constant): Entabled constants are only identical if their + sizes are the same. - * configure (mips-dec-bsd): New alternative. - * config/mips/dec-bsd.h: New file. +Thu Sep 8 14:40:31 1994 Jim Wilson (wilson@cygnus.com) -Tue Oct 19 18:49:40 1993 Jim Wilson (wilson@sphagnum.cygnus.com) + * flow.c (mark_used_regs, case REG): Correct typo, use GET_MODE + not GET_CODE. + * sched.c (attach_deaths): Likewise. - * c-typeck.c (digest_init): For arrays, use comptypes to compare - types instead of comparing pointers. +Tue Sep 6 23:33:41 1994 Per Bothner (bothner@kalessin.cygnus.com) -Tue Oct 19 11:24:16 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) + * tree.c (get_set_constructor_bits, get_set_constructor_words): + New functions. Extract bits or words from SET_TYPE CONSTRUCTOR. + * tree.h: Declare above new functions. - * reload1.c (reload): Cope when inherited register is larger than - one word. - (choose_reload_regs): Ditto. +Thu Sep 8 14:02:05 1994 Michael Meissner (meissner@osf.org) -Tue Oct 19 18:09:18 1993 David Edelsohn (edelsohn@npac.syr.edu) + * 386/i386.h (TARGET_OPTIONS): New macro to define -mreg-alloc= + switch to allow users to override the register allocation order. + (OVERRIDE_OPTIONS): Call the function override_options. + (REG_ALLOC_ORDER): Define to allocate in the natural order, this + is needed for ORDER_REGS_FOR_LOCAL_ALLOC to work. + (ORDER_REGS_FOR_LOCAL_ALLOC): Define to call the function + order_regs_for_local_alloc. + (regclass_map): Move declaration to end of file. + (i386_compare_op0, i386_compare_op1): Ditto. + (CLASS_LIKELY_SPILLED_P): Define, return 1 for AD_REGS in addition + to all of the single register classes, since AD_REGS is only used + to allocate EAX:EDX. + (override_options, order_regs_for_local_alloc): Add declarations. + (hi_reg_name): Add declaration. + (qi_reg_name): Ditto. + (qi_high_reg_name): Ditto. + (i386_reg_alloc_order): Add declaration for TARGET_OPTIONS to use. - * rs6000.md (define_function_unit): Add support for RIOS2 - asymmetric integer units. + * i386/i386.c (i386_compare_op0, i386_compare_op1): Initialize + with NULL_RTX. + (i386_reg_alloc_order): Provide global variable definition. + (regs_allocated): Static array to note whether a register is noted + via -mreg-alloc=. + (override_options): Provide checking for registers declared with + -mreg-alloc=. + (order_regs_for_local_alloc): If -mreg-alloc= was used, + allocate registers mentioned in order, and then allocate all other + registers in the normal register order. If -mreg-alloc= was + not used, allocate registers in natural order except for non-leaf + functions with CSE following jumps, allocate EAX after EDX and + ECX, to allow the function return to be CSE'd, and perl 4.036's + perly.y to be compiled without aborting due to not being able to + find a spill register. + (movsf, movdf, movdi): Rewrite all patterns to provide effecient + memory to memory moves, including pushes for i386 and i486. Fixes + problems in compiling motif+ without optimization. + (swapsf): Add, like swapdf and swapxf. + (fixuns_truncsfsi2, fixuns_truncdfsi2): Use general_operand + instead of register_operand for define_expand, since the operand + is copied to a new pseudo register as part of the expansion. + (fix_truncxfdi2, fix_truncdfdi2, fix_truncsfdi2): Rewrite to call + the more primitive generator functions instead of knowing how many + clobbers of match_scratchs they do. -Tue Oct 19 17:48:37 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * Makefile.in (aux_output.o): Define TARGET_CPU_DEFAULT if + specified when compiling aux_output.o to allow the machine C file + access to this if it wants it. - * function.c (assign_parms): Properly set parm_reg_stack_loc for - args that are a CONCAT. +Thu Sep 8 07:15:29 1994 David Edelsohn (edelsohn@npac.syr.edu) - * clipper.md (movdi): Force use of "o" alternative if - operand 1 is a MEM. + * rs6000.md (movsi matcher): Merge TARGET_POWER and !TARGET_POWER + cases. Rationalize mnemonics. + (movhi and movqi matchers): Likewise. + (movsf matcher): Correct length attribute for stfs which no longer + includes frsp. - * alpha.h (HAVE_ATEXIT): New macro. +Thu Sep 8 07:06:31 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * reload.c (push_reload, find_reloads): If an operand is - a SUBREG of a PLUS, force a reload and reload what is inside. + * rs6000.h (REGISTER_MOVE_COST): Fix typo in last change. - * dbxout.c (print_int_cst_octal): Fix bug in last change. +Wed Sep 7 19:31:52 1994 Paul Eggert (eggert@twinsun.com) -Tue Oct 19 17:42:23 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) + * cccp.c (handle_directive): In `#include ' directives, + remove backslash-newline properly. Don't allow any other newlines. - * 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. +Wed Sep 7 18:11:29 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Oct 19 13:25:03 1993 Mike Stump (mrs@rtl.cygnus.com) + * rs6000.h (REGISTER_MOVE_COST): Moving between special registers + is expensive. - * 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. + * combine.c (simplify_comparison): Convert comparison to unsigned + when stripping off a ZERO_EXTEND. -Tue Oct 19 01:09:56 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * combine.c (simplify_set): Only convert IF_THEN_ELSE to logical + expression if mode of object being compared is result mode. - * configure (m68000-convergent-sysv*): Untangle from m68k-*-lynxos. +Wed Sep 7 18:09:17 1994 David J. MacKenzie (djm@geech.gnu.ai.mit.edu) - * Makefile.in (stmp-fixproto): Depend on LIBGCC2_DEPS. - (crtbegin.o, crtend.o): Specify -fno-inline-functions. + * configure: Ignore --help, --version, --program-prefix, + --program-suffix, --cache-file, --quiet, --silent. - * config/mips/iris5.h: New file. - * config/mips/mips.c (mips_asm_file_start): Handle ABICALLS_ASM_OP. - * configure (mips-sgi-iris5*): New configuration. +Wed Sep 7 13:29:50 1994 Doug Evans (dje@cygnus.com) -Mon Oct 18 16:16:26 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * stmt.c (expand_asm_operands): Move test for misspelled registers + higher so all cases caught. - * cse.c (note_mem_written): (mem (scratch)) means clobber everything. +Wed Sep 7 09:54:14 1994 Per Bothner (bothner@kalessin.cygnus.com) - * gen-protos.c: Include ctype.h. + * configure: Touch Makefile.ll before appending subdir stuff. + (Needed if there are no subdirs.) - * expmed.c (extract_split_bit_field): Change shift count calculation - in little-endian case. +Wed Sep 7 11:19:18 1994 Kresten Krab Thorup (krab@akvavit.next.com) - * Makefile.in (stmp-fixproto): Added dependency on fixproto script. + * objc/init.c (__objc_init_protocols): Remove assertion. + * objc/Object.m (conformsTo:): Make lookup allways happen in + the class object. -Mon Oct 18 11:26:08 1993 Jim Wilson (wilson@sphagnum.cygnus.com) +Tue Sep 6 17:47:39 1994 Per Bothner (bothner@kalessin.cygnus.com) - * c-typeck.c (process_init_element): Align structure elements - that are subaggregates. + * configure: Rename *-next-ns[23] to *-next-nextstep[23]. + * config.sub: Cleanup NeXT support to emit nextstep*. - * c-decl.c (finish_decl): After preserve_initializer call, set - TREE_PERMANENT bit in initializer. +Tue Sep 6 18:38:02 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * combine.c (can_combine_p): Don't combine instructions across a - volatile insn. - * rtlanal.c (volatile_insn_p): New function. + * reload.c (find_reloads_address): Don't reorder the operands of a + PLUS when fixing up index. -Sun Oct 17 03:04:49 1993 Torbjorn Granlund (tege@adder.cygnus.com) +Tue Sep 6 18:24:50 1994 Matthias Pfaller (leo@marco.de) - * configure (powerpc-ibm-aix*): Set cpu_type. - * config.sub: Recognize powerpc. + * ns32k.md (stackadjust/push peepholes): For the adjust/push/push + pattern one offset was wrong. + Don't use addr for register and and MEM refs. -Sun Oct 17 21:37:57 1993 Jeffrey A. Law (law@snake.cs.utah.edu) +Tue Sep 6 11:24:06 1994 Steve Chamberlain (sac@jonny.cygnus.com) - * 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. + * sh/sh.c (push, pop): Generate REG_NOTES. + (synth_constant): Correct one of the patterns. + (output_file_start): Bump version number. + * sh/sh.h (EXIT_IGNORE_STACK): Now 1. + * sh/sh.md (adddi3, subdi3): Simplify. + (casesi_worker): Use TARGET_BIGTABLE. - * pa.h (READONLY_DATA_SECTION): Disable. +Mon Sep 5 12:29:15 1994 Ian Lance Taylor (ian@cygnus.com) -Thu Oct 14 12:38:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * ginclude/math-68881.h: Change inline functions from static to + extern. - * cse.c (fold_rtx): Special case handling for folding - a subreg of the result of a left shift. + * configure (i[34]86-*-sysv4*): If --with-stabs, set tm_file to + i386/sysv4gdb.h. + * config/i386/sysv4gdb.h: New file; sets PREFERRED_DEBUGGING_TYPE. -Thu Oct 14 00:05:42 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Sun Sep 4 08:40:02 1994 Chris Smith (csmith@convex.com) - * alpha.h (DBX_CONTIN_LENGTH): Set to 4000. + * convex.h (VTABLE_USES_MASK, VINDEX_MAX, SET_DECL_VINDEX): + delete, no longer used. + (target_flags): delete cexp.c hack, no longer needed. + * convex.md (decr-and-set-cc0): fix HImode to use halfword + insns. + (cmpqi patterns): fix constraints not to use A regs - * expr.c (do_jump_for_compare): Don't blow up if aren't any insns - in this sequence yet. +Sat Sep 3 14:12:11 1994 Michael Meissner (meissner@osf.org) - * 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. + * i386/i386.md (DImode move and push insns): Eliminate movdi + wrapper that made a DI temp register to do a memory to memory + move because it creates too much register pressure, especially + when not optimizing. On the 486, allocate and use 1-2 scratch + registers to push a DImode value. -Wed Oct 13 21:47:58 1993 Ian Lance Taylor (ian@cygnus.com) +Fri Sep 2 15:11:59 1994 Jason Merrill (jason@deneb.cygnus.com) + + * c-decl.c (min_precision): Move from here. + * c-common.c: To here. - * fixincludes: Remove erroneous parens from Alpha OSF/1 . +Fri Sep 2 13:16:38 1994 Per Bothner (bothner@kalessin.cygnus.com) -Wed Oct 13 16:08:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * tree.h (maximum_field_alignment, set_alignment): New declarations. - * config/m68k/sun3.h (CPP_PREDEFINES): Don't define _CROSS_TARGET_ARCH. +Fri Sep 2 14:25:36 1994 Ian Lance Taylor (ian@cygnus.com) - * fold-const.c (invert_truthvalue): Handle SAVE_EXPR. + * config/svr4.h (DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE, + DBX_BLOCKS_FUNCTION_RELATIVE, ASM_IDENTIFY_GCC, + ASM_IDENTIFY_GCC_AFTER_SOURCE, ASM_OUTPUT_SOURCE_LINE, + DBX_FUNCTION_FIRST): Define. This adds support for -gstabs for + SVR4 configurations. -gstabs requires gas and gdb. + * config/sparc/sol2.h (DBX_DEBUGGING_INFO, + DBX_BLOCKS_FUNCTION_RELATIVE, ASM_IDENTIFY_GCC, + ASM_IDENTIFY_GCC_AFTER_SOURCE, ASM_OUTPUT_SOURCE_LINE, + DBX_FUNCTION_FIRST): Don't define. Now defined by config/svr4.h. + (PREFERRED_DEBUGGING_TYPE): Undefine before defining. + * config/sparc/sysv4.h (DBX_DEBUGGING_INFO): Don't bother to + undefine before including svr4.h. + (ASM_OUTPUT_SOURCE_LINE): Undefine before including svr4.h. + +Thu Sep 1 22:02:02 1994 Michael Meissner (meissner@osf.org) + + * toplev.c (fatal_insn): Move most of the code from + fatal_insns_not_found here, and add an argument to give the error + message. + (fatal_insn_not_found): Call fatal_insn. + * rtl.h (fatal_insn, fatal_insn_not_found): Add prototypes. + * genextra.c (main): Don't declare fatal_insn_not_found in + insn-extract.c. + * reload1.c (reload): Call fatal_insn where appropriate to print + an error message instead of calling abort. + (spill_failure): Ditto. + (reload_as_needed): Ditto. + (allocate_reload_reg): Ditto. + (emit_reload_insns): Ditto. - * Makefile.in (install-collect2): Depend on install-dir. - (install-info, install-float-h-cross): Likewise. +Thu Sep 1 19:34:26 1994 Jason Merrill (jason@deneb.cygnus.com) + + * tree.c (type_list_equal): If the types of the default arguments + differ, the lists do not match. + +Thu Sep 1 19:29:58 1994 Matthias Pfaller (leo@marco.de) -Wed Oct 13 15:51:02 1993 Stephen L. Moshier (moshier@world.std.com)\ + * ns32k.md (stack-adjust/push peepholes): Addresses are + moved with "addr", not with "movd". - * 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'. +Thu Sep 1 19:17:55 1994 Paul Eggert (eggert@twinsun.com) -Wed Oct 13 15:47:37 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cccp.c (make_definition): Don't dump core when given an + unterminated string in a -D option. - * c-parse.in (initdcl, notype_initdcl): Call decl_attributes - before init as well as after. +Thu Sep 1 19:13:35 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * config/ns32k/pc532.h (FRAME_POINTER_REQUIRED): - Require a frame pointer if fn calls setjmp. + * c-typeck.c (convert_arguments): Give proper warnings when + converting COMPLEX_TYPE; widen check to include all integral types. -Wed Oct 13 15:27:01 1993 Jim Wilson (wilson@cygnus.com) +Wed Aug 31 20:38:53 1994 Per Bothner (bothner@spiff.gnu.ai.mit.edu) - * jump.c (jump_optimize): When moving a range of instructions, - include all NOTEs before the range, not just line number notes. + * fixproto: Define FIX_HEADER (needed by Aug 19 change). + Use FIX_HEADER instead of $original_dir/fix-header (twice). -Wed Oct 13 11:01:51 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) +Wed Aug 31 16:56:15 1994 Jason Merrill (jason@deneb.cygnus.com) + + * stmt.c (warn_if_unused_value): Extend special case for casted + MODIFY_EXPRs to apply to INIT_EXPRs as well. + +Wed Aug 31 16:30:09 1994 Per Bothner (bothner@kalessin.cygnus.com) - * patch-header.c: #include before . + * stor-layout.c (set_alignment): New global. + (layout-type): Add support for SET_TYPE. -Wed Oct 13 11:57:33 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * expmed.c (store_bit_field): Semi-revert Aug 25 change: + Make it apply only for BLKmode, not integral modes. - * rs6000.md (seq): Fix typo: had "xubfic" instead of "subfic". + * stmt.c (all_cases_count, mark_seen_cases): New functions. + (BITARRAY_TEST, BITARRAY_SET): New macros. Used (mainly by + Chill) to check all cases are covered (for enums and ranges). + (check_for_full_enumeration_handling): Re-write to use the + new functions, now that we have them. - * va-m88k.h (_VA_LIST_): Define. +Wed Aug 31 19:19:29 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) - * alpha.c (ignore_line_number): No longer used. + * combine.c (nonzero_bits, cases DIV, MOD, UDIV, UMOD): Declare + op0_maybe_minusp and op1_maybe_minusp as HOST_WIDE_INT. - * mips-tdump.c (print_global_hdr): Fix typo in cast in ctime call. +Wed Aug 31 18:54:54 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cccp.c (main): Don't catch SIGPIPE if no such signal. + * expmed.c (store_split_bit_field): Always adjust arg to + extract_fixed_bit_field in BYTES_BIG_ENDIAN case. - * x-alpha: File deleted, all shipped OSF systems have `ranlib'. +Wed Aug 31 02:49:34 1994 Roland McGrath - * fold-const.c (optimize_bit_field_compare, decode_field_reference): - Don't do anything if get_inner_reference returned its argument. + * config/i386/gnu.h (LIB_SPEC): New macro. - * bi-reverse.c: Avoid defining NULL; can cause duplicate definition - errors. +Tue Aug 30 16:35:23 1994 Jason Merrill (jason@deneb.cygnus.com) + + * toplev.c (lang_options): Add -W{no-,}reorder. + +Tue Aug 30 13:55:58 1994 Jeffrey A. Law (law@snake.cs.utah.edu) -Wed Oct 13 07:58:28 1993 Michael Meissner (meissner@osf.org) + * combine.c (simplify_comparison, case GEU): Add missing break. - * 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. +Mon Aug 29 17:50:55 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Oct 12 12:41:12 1993 Jim Wilson (wilson@sphagnum.cygnus.com) + * vax.md (extv, extzv): Don't use ROTL when field is outside + boundaries of a word. - * cse.c (record_jump_cond): At end, make missing equivalences - first, and then merge them. +Mon Aug 29 11:43:18 1994 Kresten Krab Thorup (krab@akvavit.next.com) -Tue Oct 12 21:30:29 1993 Doug Evans (dje@cygnus.com) + * objc/sendmsg.c (get_imp): Don't inline on 386. - * va-h8300.h (__va_rounded_size): Fix typo in #ifdef. +Sun Aug 28 18:56:03 1994 Andrew McCallum (mccallum@cs.rochester.edu) -Tue Oct 12 20:19:22 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * objc/class.c (objc_get_meta_class): New function. - * bc-emit.c: Include stdio.h last. - * combine.c: Include stdio.h after gvarargs.h. +Sat Aug 27 23:13:53 1994 Michael Meissner (meissner@osf.org) -Tue Oct 12 13:28:18 1993 Per Bothner (bothner@kalessin.cygnus.com) + * i386/i386.c (legitimate_address_p): If index register is either + the arg pointer or the stack pointer, and there is no scale + factor, swap with the base register. - * 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. + * i386/i386.h (REG_CLASS_CONTENTS): Don't allow the arg pointer + register as an index register, since the frame could be omitted, + and the stack pointer is not valid as an index. -Tue Oct 12 18:36:32 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + * i386/i386.md (mov*, movstrict*): Don't create pushes of memory + values when creating insns, let the combiner create a push of a + memory value if -m386. In particular, pushes of byte values was + broken because there is no pattern to recognize such a push. - Changes to support native ecoff and embedded stabs debugging - for the Alpha. +Fri Aug 26 16:03:09 1994 Michael Meissner (meissner@osf.org) - * 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. + * i386/i386.h (MASK_*): Add masks for all of the switches. + (TARGET_*): Use appropriate MASK_* instead of a number. Add + -mdebug-addr switch to debug GO_IF_LEGITIMATE_ADDRESS, + -mno-wide-multiply to turn off widening multiplies, and -mno-move + to allow integer move insns to generate direct memory to memory + copies, which reload will fix up. Add TARGET_386 which is not of + TARGET_486. + (REG_ALLOC_ORDER): Go to the order used in 2.5.8, eax, edx, ecx, ... + Add a comment describing the tradeoffs. + (REG_OK*): Add strict and non-strict versions of the macros that + are always present, and REG_OK_STRICT chooses between the two + inner macros. + (GO_IF_LEGIMATE_ADDRESS): Move processing to legitimate_address_p + function. + (LEGITIMIZE_ADDRESS): Move processing to legitimize_address + function. + (function declarations): Add function declarations for all extern + functions in i386.c. -Mon Oct 11 16:14:53 1993 Ian Lance Taylor (ian@cygnus.com) + * i386/i386.c (asm_add): Add support in case adding by 1 or -1 to + use inc/dec. + (various): Change TARGET_486 -> !TARGET_386. + (legitimate_address_p): Move GO_IF_LEGITIMATE_ADDRESS processing + here from i386.h. Combine OSF/rose support from osfrose.h through + the use of conditional macros. Only recognize addresses in + canonical formats, code adapted from the i960 port. Add tracing + if -mdebug-addr. + (legitimize_address): Move LEGITIMIZE_ADDRESS here from i386.h, + and add adaptations from the i960 port. + (convert_387_op): Remove unused function. + + * i386/i386.md (various): Remove cast to char * of output + functions, since i386.h now declares them all properly. Change + TARGET_486 tests to !TARGET_386 and !TARGET_486 to TARGET_386. + (movsi, movstricthi, movhi, movstrictqi, movqi, movdi): Add + define_expand wrappers to prevent memory<->memory moves from being + generated unless -mno-move is used. On 486's do not allow push of + memory insns to be generated unless -mno-move. + (movdi): For movdi patterns, add 2 (clobber (match_scratch...)) + declarations to allow memory<->memory moves with non-contigous + registers, so that reload don't abort if it can't make a DI + register. + (umulsidi3, mulsidi3): Don't allow pattern if -mno-wide-multiply. + (smultsi3_highpart, umultsi3_highpart): Add patterns to make + division by constants generate better code. - * 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. + * i386/osfrose.h (MASK_*): Use octal to define bitmasks, not hex, + for compatibility with i386.h. + (NO_IMPLICIT_EXTERN_C): Define. + (LONG_DOUBLE_TYPE_SIZE): Explicitly define to be 64 instead of + just #undef'ing it. + (GO_IF_LEGITIMATE_ADDRESS): Delete, merged with common i386 code. + (ASM_FILE_END): Print -fschedule-insns and -fschedule-insns2 in + ident string if those options are used. + (REAL_LD_FILE_NAME): Delete. + (ASM_OUTPUT_DOUBLE): Delete, use the common macros. + (ASM_OUTPUT_FLOAT): Ditto. + (ASM_OUTPUT_LONG_DOUBLE): Ditto. -Tue Oct 12 08:05:28 1993 David Edelsohn (edelsohn@npac.syr.edu) +Thu Aug 25 17:15:18 1994 Per Bothner (bothner@kalessin.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. + * expmed.c (store_bit_field): Always store into multi-word + bitfields starting with low addresses. (Old code was + incompatible with operand_subword_force on big-endian targets.) -Tue Oct 12 07:58:36 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Thu Aug 25 18:31:20 1994 Antti Miettinen (amiettin@ntc.nokia.com) - * alpha.h (SETUP_INCOMING_VARARGS): If not TARGET_FPREGS, - save another copy of the integer regs where the FP regs would - have gone. + * m68k/lynx.h (CALL_USED_REGS): Add d2 and d3 as call-used. - * 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. +Thu Aug 25 11:30:44 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * reload1.c (reload): Fix typo in RELOAD_FOR_INSN case when - accounting for reloads. + * cse.c (record_jump_cond): Don't do anything if OP0 and OP1 + are already equivalent. - * expr.c (convert_modes): Reset OLDMODE from X after we strip - a SUBREG due to a promoted variable. + * rtlanal.c (may_trap_p, case EXPR_LIST): New case. - * 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. + * c-common.c (shorten_compare): Don't issue warning if both + operands constants and the signedness doesn't affect the + comparison results. - * bi-reverse.c: Add missing #include for hconfig.h. + * configure: Refine handling and error-checking of positional args. - * fixincludes: Quote braces when looking for DONE files. + * print-tree.c (print_node): Print more flags for types and decls. - * final.c (dialect_number): New variable. - (init_final): Initialize it. - (output_asm_insn, asm_fprintf): Support ASSEMBLER_DIALECT. + * c-typeck.c (type_lists_compatible_p): Treat transparent unions + just like unnamed ones. -Tue Oct 12 01:34:16 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Aug 24 19:34:52 1994 Charles Hannum (mycroft@duality.gnu.ai.mit.edu) - * c-typeck.c (digest_init): If traditional, allow unbraced scalar - to initialize the first element of an aggregate. + * configure: Rearrange handling of NetBSD ports to use the standard + `cpu-vendor-os' format. + * config.sub: Recognize names of NetBSD ports that do not correspond + to a CPU name. - * cccp.c (output_line_command): Output the `4' flag only if cplusplus. - (do_line): Handle the `4' flag. +Wed Aug 24 18:43:30 1994 Philippe De Muyter (phdm@info.ucl.ac.be) - * final.c (final_scan_insn): Call walk_alter_subreg for operands - that are PLUS or MULT, before constrain_operands. + * print-tree.c (print_node_brief, print_node): Use assignment instead + of initialization for aggregate local variable REAL_VALUE_TYPE d. -Mon Oct 11 15:18:45 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Aug 24 18:28:52 1994 Ian Lance Taylor (ian@cygnus.com) - * real.c (debug_real): New function. + * config/svr4.h (ASM_OUTPUT_SECTION_NAME): Define. + * config/sparc/sysv4.h (ASM_OUTPUT_SECTION_NAME): Output #alloc to + set SHF_ALLOC in section flags. - * regclass.c (reg_scan_mark_refs): XEXP (x, 0) in EXPR_LIST may be 0. +Wed Aug 24 17:45:19 1994 Jim Wilson (wilson@sphagnum.cygnus.com) - * config/m68k/m68k.md (cmphi): Turn on constraints to support cmpm.w. + * c-parse.in (parmlist_2): Give error for function with only + ELLIPSIS as an argument. -Mon Oct 11 13:20:54 1993 Jim Wilson (wilson@sphagnum.cygnus.com) +Wed Aug 24 17:36:22 1994 H.J. Lu (hjl@nynexst.com) - * unroll.c (unroll_loop): Set map->const_equiv_map_size to - new_maxregnum. - (copy_loop_body): When set const_age_map entry for split dest reg, - verify that it is within the bounds of the map. - (find_splittable_regs): Count number of biv sets, not number of - bivs. Don't pass result to find_splittable_givs. - (find_splittable_givs): Delete parameter result. Add local - variable result. + * i386/linux.h (STARTFILE_SPEC): Add %{static:-static}. -Mon Oct 11 07:43:31 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Wed Aug 24 14:34:37 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * expr.c (expand_assignment): When assigning an INDIRECT_REF to - a RESULT_DECL, the size and source rtx were swapped. + * calls.c (expand_call): Check for variable-sized return value + in proper place. - * function.c (trampoline_address): Don't allocate anything - from parent function's current obstack. + * c-typeck.c (default_conversion): Don't substitute constant + value if array since will return address. - * 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. + * configure (LANG_MAKEFILE): Include lang/Makefile.in in list. - * 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. + * alpha.h (EXTRA_CONSTRAINT): Add new letter, `R'. + (ENCODE_SECTION_INFO): Don't check TREE_ASM_WRITTEN. + (PREDICATE_COSTS): Add call_operand. + * alpha.c (call_operand): New function. + (output_epilog): Don't set SYMBOL_REF_FLAG of current function. + * alpha.md (call): Rework to use macro version of jsr. + * osf2.h (LINK_SPEC): Don't define; should never have been. -Mon Oct 11 02:40:22 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-typeck.c (push_init_level): Don't blow up if construct_type + is null (can happen with missing brace). - * 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. +Wed Aug 24 10:49:35 1994 Michael Meissner (meissner@osf.org) -Sun Oct 10 22:51:01 1993 Stephen Moshier (moshier@world.std.com) + * i386/i386.h (REG_ALLOC_ORDER): Restore previous version which + allocates edx first, then ecx, eax, ... This is because perl + doesn't build when the order is eax, ecx, edx... - * real.c (asctoeg): Fix backward condition in last change. +Tue Aug 23 09:20:16 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sun Oct 10 22:33:17 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * configure: Restore old behavior of positional arguments. + Add new argument, --noguess. + config.guess now guesses BUILD, not HOST; HOST defaults from BUILD. + Always compare canonical names, not user-specified names. + Numerous minor changes in the messages output to make the + configuration chosen clearer. - * configure (hppa1.0-*-mach*): Use collect2. - (hppa1.1-*-mach*): Likewise. +Tue Aug 23 02:01:42 1994 Richard Stallman - * 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. + * config.sub: Move m68k-ccur handling to proper part of file. + Canonicalize cpu type pentium into i486. (Change it to i586 later.) - * 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. +Mon Aug 22 18:41:59 1994 Steve Chamberlain (sac@jonny.cygnus.com) -Sun Oct 10 18:42:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * sh/sh.c (find_barrier): Calculate the size of larger than + SI moves correctly. + (general_movsrc_operand): Allow label_refs plus const. + (sh_function_arg_partial_nregs, sh_function_arg): Pass BLKmode + objects in partial regs. + * sh.h (TARGET_DEFAULT): Turn off BIGTABLE_BIT. + (EXTRA_CONSTRAINT_Q): Allow label_refs plus const. + (READONLY_DATA_SECTION_ASM_OP, EXTRA_SECTIONS, rdata_section): + Delete rdata section and refs. + * sh.md (dimode split): Don't allow a Q constraint source. - * c-typeck.c (start_init): Don't set require_constant_elements - for scalar types. +Sun Aug 21 23:15:35 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - * c-parse.in (stmt): Don't call default_conversion on top-level - expressions. + * pa.h (FUNCTION_ARG): Use indirect calling conventions when + TARGET_LONG_CALLS is in effect. - * c-typeck.c (convert_for_assignment): Allow silent conversion to - a pointer from an integer 0 that resulted from arithmetic. +Sat Aug 20 13:31:34 1994 Jim Wilson (wilson@cygnus.com) - * varasm.c, c-pragma.c (enum pragma_state): Defined. + * sched.c (sched_analyze_insn): Add new parameter loop_note. + If loop_note set, then serialize on this insn. + (sched_analyze): New variable loop_note. Pass to + sched_analyze_insn. Set it if we pass a NOTE_INSN_LOOP_BEG or + NOTE_INSN_LOOP_END. + (unlink_notes): Don't save away NOTE_INSN_LOOP_BEG or + NOTE_INSN_LOOP_END notes. + (schedule_block): Generalize code that looks for magic REG_DEAD + notes and converts them to notes. - * 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. +Sat Aug 20 12:47:21 1994 Michael Meissner (meissner@osf.org) - * 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. + * i386.h (REG_ALLOC_ORDER): Allocate eax first, then ecx, edx, and + then do the nromal allocation order for the remaining registers. - * explow.c (emit_stack_save): Cast enum array index to int. +Fri Aug 19 20:14:35 1994 Jim Wilson (wilson@cygnus.com) -Sun Oct 10 12:49:39 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) + * tree.c (build_type_variant): Only return existing type if it + also has the same TYPE_NAME. - * 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. + * irix5.h (NO_IMPLICIT_EXTERN_C): Comment out. -Sun Oct 10 08:56:58 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Fri Aug 19 16:41:43 1994 Per Bothner (bothner@kalessin.cygnus.com) - * alpha.h (ALPHA_COSTS): Add missing arg to call to rtx_cost. + * fixproto: Use $FIX_HEADER macro instead of calling + fix-header directly in 2nd location. - * combine.c (force_to_mode, case ASHIFTRT): Verify that result of - making a LSHIFTRT remains a shift. +Fri Aug 19 17:34:19 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * expr.c (emit_move_insn_1): Never make a no-conflict block. - * expr.c (expand_assignment): Don't short circuit store_expr - when TO is a VAR_DECL since it needs special handling if promoted. + * tree.h (struct tree_type): New field transparent_union_flag. + (struct tree_decl): New field transparent_union. + ({DECL,TYPE}_TRANSPARENT_UNION): New macros. + * c-common.c (decl_attribute): Handle "transparent_union" attribute. + * function.c (assign_parms): If parm is transparent union, use + type of first field. + * calls.c (expand_call): Likewise. + * integrate.c (function_cannot_inline): Don't inline if any + parm is a transparent union. - * combine.c (subst, case SUREG): Only call force_to_mode if both - inner and outer modes are MODE_INT. +Fri Aug 19 12:01:11 1994 Ian Lance Taylor (ian@cygnus.com) - * mips-tfile.c (WORD_ALIGN): Fix typo in last change. + * fixincludes: Canonicalize ${INPUT} to avoid automounter + problems. - * c-common.c (check_format_info): Support X/Open formats like "%1$d". +Fri Aug 19 11:31:24 1994 Kresten Krab Thorup (krab@akvavit.next.com) -Sat Oct 9 22:29:17 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) + * objc-act.c (build_selector_translation_table): Reset + current_function_decl after hack_function_prototype build it. + (build_module_descriptor): Return constructor name from functions + decl_rtl. - * configure: If no target is specified, try getting one - with config.guess. - * config.guess: New file. +Thu Aug 18 17:23:18 1994 Per Bothner (bothner@spiff.gnu.ai.mit.edu) -Sat Oct 9 19:50:24 1993 Pat Rankin (rankin@eql.caltech.edu) + * README.FRESCO: New file. Notes about compiling the Fresco + toolkit with g++. - * c-common.c (check_format_info): Avoid ?: conditional for function - to be called. +Thu Aug 18 14:10:22 1994 Jim Wilson (wilson@cygnus.com) - * 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. + * combine.c (distribute_notes, case REG_UNUSED): Ignore notes when + from_insn != i3 only if the notes would remain as REG_UNUSED notes. - * 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 Aug 17 18:31:43 1994 Holger Teutsch (holger@hotbso.rhein-main.de) -Sat Oct 9 21:53:53 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + * clipper.h (CLIPPER_ARG_SIZE): Return size in bytes. + (FUNCTION_ARG_ADVANCE): Fix argument alignment processing. - * 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. +Wed Aug 17 18:03:54 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sat Oct 9 15:00:00 1993 DJ Delorie (dj@ctron.com) + * fx80.md (casesi_2): Operand 0 is HImode; add SIGN_EXTEND + when adding to pc. + (casesi): Operand 0 is HImode. + (unnamed PC addition pattern): Add SIGN_EXTEND to add HImode + offset to SImode PC. + * m68k.md (tablejump): Add SIGN_EXTEND to HImode offset + so can add to SImode PC. + Likewise for matching pattern. + * cse.c (fold_rtx): When folding tablejump, allow LABEL_REF + to be in arg0; also allow other arg to be MINUS, not just be + equivalent to it. - * configure.bat: Change $(srcdir)/ to $(srcdir)\ in commands. +Mon Aug 15 19:19:11 1994 Paul Eggert (eggert@twinsun.com) -Sat Oct 9 15:17:22 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * cccp.c (index0): New function. + (trigraph_pcp): Use index0 instead of index, so that a null + byte doesn't suppress further trigraph preprocessing. - * expr.c (expand_expr, case ABS_EXPR): Don't copy twice into - volatile MEM. + * cccp.c (rescan, do_ident): Pass more accurate size request + to check_expand. - * expr.c (expand_expr): Never reset ORIGINAL_TARGET. - Pass ORIGINAL_TARGET to lang_expand_expr, not TARGET. + * cccp.c (main): Don't dump core if given -pcp, -MD, or -MMD + without following arg. -Sat Oct 9 13:27:10 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Aug 15 17:56:38 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.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. + * stmt.c (expand_elseif): New function. -Sat Oct 9 12:55:26 1993 Stephen Moshier (moshier@world.std.com) +Mon Aug 15 14:16:18 1994 Ian Lance Taylor (ian@cygnus.com) - * real.c (asctoeg): Allocate local buffer dynamically. Count - any lost significant digits before the decimal point. + * configure: If the host is guessed, and the target name is a + prefix of the host name, then use the target name as the host + name. -Fri Oct 8 16:33:42 1993 Mike Stump (mrs@rtl.cygnus.com) +Mon Aug 15 13:35:24 1994 Stan Shebs (shebs@andros.cygnus.com) - * 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. + * m68k/m68k-coff.h: New file. -Fri Oct 8 14:40:29 1993 Jason Merrill (jason@deneb.cygnus.com) +Sun Aug 14 00:28:15 1994 Andrew McCallum (mccallum@vein.cs.rochester.edu) - * cp-error.c (dump_expr, REAL_CST): Support printing of real values - when REAL_IS_NOT_DOUBLE (prints out rep in hex). + * objc/encoding.c (objc_sizeof_type): Assign from ROUND, + don't increment. Remove ; after while to fix infinite loop. + Add float and double cases. + (objc_alignof_type): Add float and double cases. + * objc/selector.c (): Use __objc_selector_names, not + __objc_selector_array. + (sel_types_match): New function. + (sel_get_typed_uid): Use sel_types_match. Change strcmp to !strcmp. -Fri Oct 8 13:54:03 1993 Mike Stump (mrs@cygnus.com) +Sun Aug 14 21:54:29 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - * 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. + * pa.h (ASM_OUTPUT_ALIGNED_COMMON, ASM_OUTPUT_ALIGNED_LOCAL): + Define. + (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Delete. -Fri Oct 8 19:03:09 1993 Jim Wilson (wilson@sphagnum.cygnus.com) + * pa.c (hppa_expand_prologue): Avoid writing outside the current + stack boundary in code to handle large stack frames. - * xcoffout.h (DBX_STATIC_BLOCK_START): For N_LCSYM, force change - to text section to avoid assembler bug. +Sun Aug 14 18:55:51 1994 Jim Wilson (wilson@cygnus.com) - * mips.md (movsi_unaligned): Change in comment "loads" to "stores". + * unroll.c (loop_iterations): Use PREV_INSN not prev_nonnote_insn. - * calls.c (emit_library_call_value): Compute struct_value_size, - and pass it to emit_call_1. + * bsd-5.h (ASM_OUTPUT_NEWLINE): Delete. + (ASM_OUTPUT_ASCII): Define. + * mips-5.h, svr3-5.h, svr4-5.h: Likewise. + * mips.h (ASM_OUTPUT_NEWLINE): Delete. + (ASM_OUTPUT_ASCII): Don't use ASM_OUTPUT_NEWLINE. -Fri Oct 8 16:13:17 1993 H.J. Lu (hlu@nynexst.com) + * va-mips.h (va_start): Add cast to __gnuc_va_list type. - * config/i386/linux.h (STARTFILE_SPEC): Handle -p and -pg - outermost. Also add support for cross-linking. + * flow.c (mark_used_regs): When adding REG_DEAD notes, check for + the case where a multiple register hard reg overlaps a register + set by the insn. + * sched.c (attach_deaths): Likewise. + * combine.c (distribute_notes, case REG_DEAD): Add another + find_reg_fusage call. -Fri Oct 8 15:20:58 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * unroll.c (calculate_giv_inc): Handle constants loaded with IOR. - * Makefile.in (cp-error.o, cp-errfn.o): Add dependency rules. +Sun Aug 14 16:40:04 1994 Richard Stallman -Fri Oct 8 08:00:51 1993 Eric Youngdale (eric@kafka) + * cccp.c (skip_if_group): New arg op. All callers changed. + If output_conditionals is true, output text of failed conditionals. + (conditional_skip): New arg op. All callers changed. + (main): Handle -ifoutput option. - * linux.h: Only include i386/gstabs.h if LINUX_ELF is not defined. +Sun Aug 14 05:49:29 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * print-tree.c (print_node{,_brief}): Use REAL_VALUE_TO_DECIMAL + to print REAL_CST ifdef REAL_ARITHMETIC. -Fri Oct 8 13:40:44 1993 Michael Meissner (meissner@osf.org) + * reload1.c (count_possible_groups) Pass CLASS as arg and only + try to find groups of that class. - * i386/osfrose.h, i386/osfelf.h (CPP_SPEC): If buliding for shared - libraries, define __SHARED__. + * configure: If config.guess fails and target specified, use as host. + Print a message when making a cross-compiler. - * 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. +Sat Aug 13 17:12:30 1994 Jim Wilson (wilson@cygnus.com) - * halfpic.c (half_pic_external): New function to declare a halfpic - identifier as always external. + * configure (sparc-*-sunos4.0*): New configuration. + * t-sunos4: Rename file to t-sunos41. + * t-sunos40: New file. - * halfpic.h (half_pic_external): declare function. - (HALF_PIC_EXTERNAL): Declare accessor macro. +Sat Aug 13 13:50:22 1994 Jeffrey A. Law (law@snake.cs.utah.edu) -Fri Oct 8 15:03:56 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * reload1.c (emit_reload_insns): Handle a secondary input reload + which needs to use secondary memory too. - Cygnus<->FSF C++ front-end merge. - Thu Oct 7 11:45:32 1993 Jason Merrill (jason@deneb.cygnus.com) +Fri Aug 12 18:53:24 1994 Ian Lance Taylor (ian@cygnus.com) - * Makefile.in (CPLUS_OBJS): Change error.o to cp-errfn.o + * mips/mips.c (override_options): If neither -mcpu= nor -mipsN was + used, and MIPS_CPU_DEFAULT is defined, set mips_cpu to + MIPS_CPU_DEFAULT and set mips_cpu_string to + MIPS_CPU_STRING_DEFAULT. - * cp-*.c, cp-parse.y: Rename lang_error and its kin to cp_error - and the like to accomodate rms's belief structure. +Fri Aug 12 10:54:35 1994 Stan Cox (coxs@dg-rtp.dg.com) - * error.c: Moved to cp-errfn.c to accomodate rms's belief structure + * m88k/dgux.h, m88k/dguxbcs.h (ASM_SPEC,CPP_SPEC): + Made -pipe work for -msvr4. Added -D*_TARGET definitions. - Wed Oct 6 15:05:49 1993 Jason Merrill (jason@deneb.cygnus.com) + * m88k.c (emit_bcnd): Improved code generated by changing cmp/bbx + instruction pair to single bcnd instruction - * cp-pt.c (mangle_class_name_for_template): Always use type_as_string - for printing out type parameters. Nuke id and type variables. +Fri Aug 12 07:52:20 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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 + * cse.c (set_nonvarying_address_components): If BASE is CONST_INT, + add value to start and set BASE to const0_rtx. + (refers_to_mem_p): Don't do it here. - * cp-pt.c (mangle_class_name_for_template): Strip out code for - printing template parameters, replace with call to expr_as_string. + * function.c (expand_function_start): Add redundant copy to + static_chain_incoming_rtx if SMALL_REGISTER_CLASS so inlining + works properly. + * integrate.c (expand_inline_function): Use single_set when + appropriate. + Delete insn that sets static_chain_incoming_rtx before its use. + (subst_constants): Treat virtual reg as constant. - * cp-method.c (build_overload_value): descend through - TREE_OPERAND on NOP_EXPRs as well as NON_LVALUE_EXPRs. + * flow.c (mark_used_regs): Only show changes size if one mode is + integral. + * stupid.c (stupid_mark_refs): Likewise. + * combine.c (simplify_rtx, case FLOAT_TRUNCATE): Remove + redundant float_truncate. + * rs6000.md (movsf): Don't truncate if not register; clean up. - * cp-decl.c (poplevel_class): Add assertion that - class_binding_level is not NULL. + * c-decl.c (duplicate_decls): Suppress -Wredundant-decls warning + if we have already given an error. - Tue Oct 5 11:11:25 1993 Jason Merrill (jason@deneb.cygnus.com) +Thu Aug 11 18:44:25 1994 Jason Merrill (jason@deneb.cygnus.com) - Patches to support proper handling of system includes without munging: + * stmt.c (expand_anon_union_decl): Fix up the alignment and mode + of the member VAR_DECLs. - * cp-lex.h: Declare in_c_header, a flag meaning 'implicitly wrap this - file in extern "C" { }'. +Thu Aug 11 13:36:14 1994 Per Bothner (bothner@kalessin.cygnus.com) - * 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). + * tree.c (stabilize_reference): Handle COMPOUND_EXPR. - * 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. + * fix-header.c (write_rbrac): If NO_IMPLICIT_EXTERN_C is defined, + add extern "C" { ... } to added prototypes. (Needed for hpux.) - * cp-tree.h (SET_CLASSTYPE_INTERFACE_UNKNOWN_X): Coerce X to boolean - value +Thu Aug 11 14:23:59 1994 Paul Eggert (eggert@twinsun.com) - Mon Oct 4 17:03:48 1993 Jason Merrill (jason@deneb.cygnus.com) + * cccp.c (rescan): Fix botches with `-lint': the output buffer + pointer was not recached properly, leading to lost output. + Also, buffer overrun was possible. - * cp-tree.h: Add declaration for flag_external_templates + * cccp.c (dump_defn_1): Skip newlines and strings correctly. - * cp-decl.c (start_decl): Don't declare flag_external_templates +Thu Aug 11 14:13:17 1994 Niklas Hallqvist (niklas@appli.se) - * cp-pt.c: Ditto + * configure (m68k-*-netbsd*): New target, like others. - * cp-parse.y (template_instantiate_once): Ditto +Thu Aug 11 14:09:23 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu) - * 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) + * alpha.h (FUNCTION_PROFILER): Load global pointer from $27, not $26. e + +Thu Aug 11 13:52:15 1994 Walter Misar (misar@rbg.informatik.th-darmstadt.de) - * cp-error.c (dump_type): Deal properly with pointers to member - functions. + * m68k/hp320.h (NO_DOT_IN_LABEL): Define if HPUX_ASM. - * 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. +Thu Aug 11 13:12:12 1994 David Mosberger-Tang (davidm@cs.arizona.edu) - * cp-lex.c (cons_up_default_function): Remove redundant check - for processing_template_defn && !flag_external_templates - (reinit_parse_for_method): Ditto + * alpha.h (BLOCK_PROFILER): Use $26 and $27 instead of $0 and $1. - * cp-parse.y (template_instantiate_once): Don't mess with - interface_unknown +Thu Aug 11 13:09:36 1994 Antti Miettinen (amiettin@trshp.trs.ntc.nokia.com) - Mon Oct 4 15:47:34 1993 Mike Stump (mrs@cygnus.com) + * config/lynx.h (ASM_OUTPUT_SOURCE_LINE): Call assemble_name. - * 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. +Thu Aug 11 12:57:22 1994 Stephen L Moshier (moshier@world.std.com) - * cp-decl.c (start_function): Remove my_friendly_abort 19. Allows - one to declare a built-in as extern inline. + * expr.c (expand_builtin): Relegate sin and cos to ffast-math. - Mon Oct 4 12:47:33 1993 John F Carr (jfc@mit.edu) +Thu Aug 11 12:45:20 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-lex.c (consume_string): Change variable `c' to int so return - value of getch can be assigned to it safely. Compare return value - of getch to EOF, not -1. + * flow.c (find_auto_inc): Ensure that all proposed changes to + insns are valid before commiting to the auto-inc. - Mon Oct 4 11:42:46 1993 Jason Merrill (jason@deneb.cygnus.com) + * calls.c (expand_call): Ensure we call force_operand on + structure_value_addr. - * 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. + * configure: Use config.guess to get default value for host, + not target. - * error.c (lang_thing and its children): Do the same thing. +Thu Aug 11 12:43:24 1994 Robert Wilhelm (Robert.Wilhelm@physik.tu-muenchen.de) - * cp-typeck.c (build_binary_op): Do away with the kludge, now that - error accepts more arguments. + * Makefile.in (mostlyclean): Add missing -f. - Sun Oct 3 16:34:39 1993 Jason Merrill (jason@deneb.cygnus.com) +Tue Aug 9 02:02:07 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - * cp-error.c: Remove all traces of in_parmlist + * pa.md (default set high): Do not accept function label arithmetic + as a valid operand. + (default lo_sum): Likewise. + * pa.c (hppa_legitimize_address): Do nothing with function label + arithmetic. + (emit_move_sequence): Split up function label arithmetic so that + function's address is loaded first, then constant part is added to + the function's address. + (is_function_label_plus_const): New function. - Sun Oct 3 13:54:57 1993 Mike Stump (mrs@cygnus.com) +Mon Aug 8 19:57:05 1994 Matthias Pfaller (leo@marco.de) - * cp-call.c (convert_harshness_ansi, convert_harshness_old): Handle - pointer to function members properly. + * ns32k.md (all patterns that use ins/inss and ext/exts): + Disallow use of these instructions when -mnobitfield is + specified. + * ns32k.h (TARGET_BITFIELD): New macro. + (TARGET_SWITCHES): Support for TARGET_BITFIELD. + * ns32k/netbsd.h (TARGET_DEFAULT): Added -mnobitfield. + (CPP_PREDEFINES): Added -Dpc532. + (WCHAR_{TYPE, UNSIGNED, TYPE_SIZE}): Changed to match new definition + in NetBSD 1.0. + * ns32k.c (print_operand_address): A patch for 2.5.8 ended up at the + wrong place. Moved. - Fri Oct 1 16:42:30 1993 Mike Stump (mrs@cygnus.com) +Mon Aug 8 19:42:09 1994 Paul Eggert (eggert@twinsun.com) - * cp-error.c (dump_function_decl, dump_function_name): Make static - to match prototype. + * cccp.c (create_definition): Warn about `#define a@', since a + diagnostic is now required (see ISO TC1's addition to + subclause 6.8). Also warn about `#define is-empty(x) (!x)'. - Fri Oct 1 15:23:31 1993 Mike Stump (mrs@cygnus.com) +Mon Aug 8 16:32:37 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * fix-header.c (write_rbrac): Set up to use fixed headers + if __USE_FIXED_HEADERS__ is defined. - Thu Sep 30 18:15:29 1993 Jason Merrill (jason@deneb.cygnus.com) + * reload1.c (emit_reload_insns): Always clear new_spill_reg_store. - * 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. + * reload.c (find_reloads): Force reload for paradoxical SUBREG + of MEM if BYTES_BIG_ENDIAN. - * 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. + * m68k/hp320.h (READONLY_DATA_SECTION): Remove definition. - * error.c (lang_thing): Abort if more than NARGS (currently 2) are - passed, since this is likely to cause a seg fault elsewhere anyway. + * function.c (expand_function_start): Only use + static_chain_incoming_rtx once if it is a REG and we + have SMALL_REGISTER_CLASSES. - Thu Sep 30 14:19:28 1993 Jason Merrill (jason@deneb.cygnus.com) + * local-alloc.c (find_free_reg): Fix typo in last change. + * rs6000.h (CLASS_CANNOT_CHANGE_SIZE): New macro. - * g++int.texi: Add error reporting section, make `makeinfo'able +Sun Aug 7 08:54:42 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-type2.c (my_friendly_abort): Deal with recursive calls + * regs.h (reg_changes_size): Add declaration. + * flow.c (reg_changes_size): New variable. + (allocate_for_life_analysis): Allocate and initialize it. + (mark_used_regs, case SUBREG): Set it. + * local-alloc.c (qty_changes_size): New variable. + (alloc_qty{,_for_scratch}, update_qty_class): Set it. + (local_alloc): Allocate it. + (find_free_reg): If CLASS_CANNOT_CHANGE_SIZE, avoid its registers + if qty_changes_size. + * global.c (find_reg) If CLASS_CANNOT_CHANGE_SIZE, avoid its + registers if reg_changes_size. + * stupid.c (regs_change_size): New variable. + (stupid_life_analysis): Alloc, init and pass it to stupid_free_reg. + (stupid_mark_regs): Set it. + (stupid_find_reg): New arg, CHANGES_SIZE; avoid regs + in CLASS_CANNOT_CHANGE_SIZE if defined and CHANGES_SIZE nonzero. + * reload.c (push_reload): Make test in LOAD_EXTEND_OP case more + precise; handle CLASS_CANNOT_CHANGE_SIZE. + (find_relods): When setting force_reloads, make LOAD_EXTEND_OP + case more precise. + * alpha.h (CLASS_CANNOT_CHANGE_SIZE): New macro. - Thu Sep 30 12:24:33 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * reload1.c (eliminate_regs, case SUBREG): Add USE of pseudo + so we don't improperly delete an output reload. - * cp-decl2.c (grok_array_decl): Don't pedwarn on reversing the array - and its index in `a[b]'. +Fri Aug 5 15:08:39 1994 Jason Merrill (jason@deneb.cygnus.com) - * 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. + * expr.c (expand_expr, COND_EXPR case): Use truthvalue_conversion + to make the condition for running cleanups acceptable to + invert_truthvalue. - Thu Sep 30 11:24:59 1993 Jason Merrill (jason@deneb.cygnus.com) +Fri Aug 5 12:29:42 1994 Jim Wilson (wilson@cygnus.com) - * 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. + * expmed.c (expand_mult): Accept DImode for synth_mult only if + CONST_DOUBLE_HIGH is zero. Reject negative values for synth_mult + if the mode is larger than HOST_BITS_PER_INT. Don't do the + negate_variant if the mode is larger than HOST_BITS_PER_INT. - * error.c (lang_thing): Don't rely on STDC array initialization +Fri Aug 5 12:23:17 1994 Stephen L Moshier (moshier@world.std.com) - Tue Sep 28 18:20:05 1993 Mike Stump (mrs@cygnus.com) + * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Use long instead of + HOST_WIDE_INT. - * 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. +Fri Aug 5 12:18:18 1994 Kaveh R. Ghazi (ghazi@caip.rutgers.edu) - Mon Sep 27 14:54:42 1993 Mike Stump (mrs@cygnus.com) + * configure: In subdirectories, make link to include directory. + * Makefile.in (distclean): Delete it. - * 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. +Thu Aug 4 17:21:02 1994 Jason Merrill (jason@deneb.cygnus.com) - Mon Sep 27 13:02:51 1993 Jason Merrill (jason@deneb.cygnus.com) + * expr.c (defer_cleanups_to): Put back line which was mistakenly + removed. - * cp-type2.c (my_friendly_abort): Undo previous change +Wed Aug 3 21:37:31 1994 Doug Evans (dje@cygnus.com) - * 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. + * sparc.c (v9 sparc_builtin_saveregs): Save quadword fp regs on + 16 byte boundaries. Handle non-zero number of named fp args. + * va-sparc.h (v9 va_start): Pass an arg to __builtin_next_arg. + (v9 va_arg): Advance over float's. - * cp-method.c: Strip out error reporting code +Wed Aug 3 11:10:32 1994 Ian Lance Taylor (ian@mole.gnu.ai.mit.edu) - * Makefile.in (CPLUS_OBJS): Add error.o and cp-error.o + * fixincludes: Changes for glibc. In the main loop, don't fix + files which contain the string ``This file is part of the GNU C + Library''. Don't include in if + contains the string ``__need___va_list''. In , don't + change GNUC_VA_LIST to GNUC_DUMMY_VA_LIST. Don't add extern "C" + to if it contains the string ``__BEGIN_DECLS''. Don't + add multiple inclusion protection to or if + they contain the string ``#ifndef''. - * 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. +Tue Aug 2 18:38:46 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * error.c: New file, provides call-back mechanism for language- - dependent error reporting. + * cse.c (simplify_unary_operation): Clean up some mode and + size checks with CONST_DOUBLEs; TRUNCATE should do nothing. - Fri Sep 24 13:52:27 1993 Jason Merrill (jason@deneb.cygnus.com) + * combine.c (subst_prev_insn): Remove variable and all uses. - * cp-type2.c (my_friendly_abort): Don't die quietly if - errorcount or sorrycount are positive, die loudly. +Tue Aug 2 14:42:29 1994 Doug Evans (dje@canuck.cygnus.com) -Fri Oct 8 13:58:13 1993 Doug Evans (dje@cygnus.com) + * sparc.h (V9_SWITCHES): Add -mmedlow, -mmedany. + (TARGET_OPTIONS): Delete. + (CONDITIONAL_REGISTER_USAGE): Don't unfix %g4 if -mmedany. + * sparc.c (sparc_code_model): Delete. + (sparc_override_options): Code model flags only useable with v9. - * loop.c (scan_loop): When skipping consecutive insns, - don't count notes. + * sparc.h (enum reg_class): New values EXTRA_FP_REGS, + GENERAL_OR_EXTRA_FP_REGS for the v9 case. + (REG_CLASS_NAMES): Likewise. + (REG_CLASS_CONTENTS): Likewise. + (REGNO_REG_CLASS): Handle EXTRA_FP_REGS. + (REG_CLASS_FROM_LETTER): Likewise, as `e'. + Treat `e' like `f' in v8 case. + (FP_REG_CLASS_P): New macro. + (PREFERRED_RELOAD_CLASS): Use it. + (SECONDARY_INPUT_RELOAD_CLASS, SECONDARY_OUTPUT_RELOAD_CLASS, + SECONDARY_MEMORY_NEEDED, CLASS_MAX_NREGS, REGISTER_MOVE_COST): + Likewise. + * sparc.md (all DF/TFmode patterns): Use `e' in contraint field + instead of `f'. -Fri Oct 8 10:41:07 1993 Chip Salzenberg (chip@fin.uucp) +Mon Aug 1 20:05:51 1994 Roland McGrath - * c-common.c (check_function_format): Correct error in last - change. + * config/i386/gnu.h: New file. + * configure (i[34]86-*-gnu*): Deal with this on its own, not like + i[34]86-*-mach*. Use i386/gnu.h and t-libc-ok; set gnu_ld and + gas, and disable fixincludes. -Fri Oct 8 08:10:03 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Aug 1 19:27:44 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * c-parse.in (initdcl, notype_initdcl): Call push_momentary and - pop_momentary here. - (init): Not here. + * tree.c (permanent_allocation): When freeing to + momentary_function_firstobj, set momentary_firstobj to be + the next available location (i.e., momentary_function_firstobj). -Fri Oct 8 06:35:07 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Mon Aug 1 18:52:40 1994 Chris Arthur (csa@gnu.ai.mit.edu) - * dbxout.c (dbxout_type, case INTEGER_TYPE): Correctly check - for type smaller than `integer'. + * stddef.h: Handle _BSD_WCHAR_T_ like _WCHAR_T_, since + at least BSD/386 1.1 uses the former instead of the latter. + If _BSD_RUNE_T_ is defined, then define rune_t when we define + wchar_t. Test definedness of _GCC_SIZE_T as well as + _GCC_SIZE_T_; likewise for _GCC_PTRDIFF_T and _GCC_WCHAR_T. - * expr.c (expand_expr, case MAX_EXPR): Don't use TARGET directly - if it is a volatile MEM. +Mon Aug 1 05:20:44 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - * i386/t-aix, i386/t-isc, i386/t-osfrose, i386/t-sco, mips/t-osfrose: - Remove LIMITS_H; hasn't been used for a while. + * pa-ghpux.h, pa-hpux.h (LINK_SPEC): Any -g argument implies + static linking. - * 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. +Sun Jul 31 17:19:37 1994 Jason Merrill (jason@deneb.cygnus.com) - * dbxout.c (dbxout_parms): Don't confuse a parameter at an - offset of zero from AP or FP with one that has variable size. + * integrate.c (expand_inline_function): Don't fall down trying to + pass things by invisible reference. - * calls.c (emit_library_call): Fix typo in last change; should - use Pmode instead of SImode. +Sun Jul 31 06:56:46 1994 Pat Rankin (rankin@eql.caltech.edu) -Fri Oct 8 00:34:39 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cccp.c (my_strerror): New function. + (error_from_errno, perror_with_name): Use it. - * c-decl.c (finish_decl): Error if block-scope static var - has incomplete type. +Sat Jul 30 12:59:01 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * expr.c (expand_expr, case VAR_DECL): If decl wasn't laid out, - lay it out now, and fix the rtl's mode. + * fold-const.c (fold_truthop): Apply masks to constants. -Thu Oct 7 12:30:10 1993 Chip Salzenberg (chip@fin.uucp) + * print-tree.c (print_node{,_brief}): Use correct printf code to + print INTEGER_CST if HOST_WIDE_INT is wider than int. - * c-decl.c (complete_array_type): Correctly set MAXINDEX to - one less than array size. + * expmed.c ({store,extract}_bit_field): Don't use bitfield insn + if OP0 is register and bitfield spans it. -Thu Oct 7 20:44:41 1993 Torbjorn Granlund (tege@adder.cygnus.com) + * m88k.c (arith64_operand): Integer CONST_DOUBLE is not DImode. + * sparc.c (reg_or_0_operand): Likewise. + * ns32k.c, pa.c (print_operand): Likewise. + * fx80.h, gmicro.h, ns32/{genix,merlin}.h (PRINT_OPERAND): Likewise. + * m68k/crds.h, m68k/news.h, pyr.h (PRINT_OPERAND): Likewise. - * c-typeck.c (build_binary_op): For *_DIV_EXPR, set shorten based - on orig_op0. + * alpha.h (CASE_VECTOR_PC_RELATIVE): Define. + (ASM_OUTPUT_ADDR_VEC_ELT): Abort. + (ASM_OUTPUT_ADDR_DIFF_ELT): Now what used to be previous definition. + * alpha.md (tablejump): Rework to look like normal add but verify + that label is for next insn and is tablejump; look for ADDR_DIFF_ELT. + * cse.c (fold_rtx, case MEM): Surround TRUNCATE for jump table + entry with a CONST. + (fold_rtx, case '1'): Handle operand 0 of a CONST. + (fold_rtx, case PLUS): Handle (const (minus (label_ref) (label_ref))). -Thu Oct 7 18:19:17 1993 Jim Wilson (wilson@cygnus.com) +Fri Jul 29 19:27:17 1994 Lee Iverson (leei@ai.sri.com) - * xm-mips.h (HAVE_VPRINTF): Correct typo, is VPRINTF not VFPRINTF. + * c-decl.c (finish_decl): Preserve initialializer if iterator. - * Makefile.in (LIB2FUNCS): Add _fixtfdi, _fixunstfdi, _floatditf. +Fri Jul 29 19:07:23 1994 Hallvard B Furuseth (h.b.furuseth@usit.uio.no) -Thu Oct 7 14:58:02 1993 Michael Meissner (meissner@osf.org) + * libgcc2.c: Add declaration of ctime. + * bc-emit.c (bc_sym_write): Change %d to %lu in printf calls. + * fix-header.c (write_{l,r}brac): Specify return type of int. + * tree.c (change_main_variant): Return type now void. + * varasm.c (bc_output_constructor): Return type now rtx. - * configure (i386-osf): ELF on OSF/1 does not need collect2. +Fri Jul 29 18:33:48 1994 Ken Duda (kjd@cache.crc.ricoh.com) -Thu Oct 7 17:38:25 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-typeck.c (build_unary_op, case *INCREMENT_EXPR): + Add size in bytes, not value of sizeof. - * cccp.c (main): New option -lang-c-c++-comments. +Fri Jul 29 17:36:38 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Oct 7 16:40:38 1993 Michael Meissner (meissner@osf.org) + * function.c (expand_function_start): Initialize VALUE_ADDRESS. - * 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. + * romp.md (tst?f): Use CONST0_RTX instead of incorrect call + to immed_real_const_1. - * i386.h (FINALIZE_PIC): Add macro to set the variable - current_function_uses_pic_offset_table if either -p or -a switches - are used. + * expr.c (move_block_to_reg): Do nothing if NREGS == 0. -Thu Oct 7 17:07:57 1993 Ian Lance Taylor (ian@cygnus.com) +Fri Jul 29 17:17:18 1994 Tom Tromey (tromey@busco.lanl.gov) - * 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. + * cccp.c (special_symbol, do_xifdef): Don't access value.defn + of a T_CONST. -Thu Oct 7 11:11:25 1993 Jason Merrill (jason@deneb.cygnus.com) +Thu Jul 28 17:19:32 1994 Jason Merrill (jason@deneb.cygnus.com) - * 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. + * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Reverse order of execution + of constuctor lists. + * config/svr3.h (DO_GLOBAL_CTORS_BODY): Ditto. -Thu Oct 7 14:45:20 1993 Doug Evans (dje@canuck.cygnus.com) + * libgcc2.c (__do_global_dtors): Reverse order of execution of + destructor lists. - * Makefile.in (install-dir): Fix typo. - (install-common): Remove obsolete comment. - (install-common): Install native g++ only if not cross. +Thu Jul 28 19:56:30 1994 Jim Pendergraft (jimp@dg-rtp.dg.com) -Thu Oct 7 11:27:45 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * dwarfout.c (output_decl, case FUNCTION_DECL): Corrected + and simplified code that determined when to generate + varargs or ANSI stdargs variable length parameter list + DWARF information. - * calls.c (emit_library_call, emit_library_call_value): - Allocate a temp slot if arg must be passed by reference. +Thu Jul 28 19:38:57 1994 Andreas Schwab (schwab@issan.informatik.uni-dortmund.de) - * gcc.c (read_specs): Fix call to bzero. + * m68k.md (extv, extzv): In patterns that will use movb and + movw, ensure size is 8 or 16. -Thu Oct 7 08:53:57 1993 Torbjorn Granlund (tege@adder.cygnus.com) +Thu Jul 28 19:28:31 1994 David Robinson (drtr@mail.ast.cam.ac.uk) - * alpha.md: Clean up usage of commutative declarator `%'. + * expr.c (expand_expr, case CONJ_EXPR): Use correct mode for + parts of a complex expression. -Thu Oct 7 08:14:46 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * optabs.c (expand_binop, case MULT [complex]) Fix typo. - * i860/xm-fx2800.h (HAVE_VPRINTF): Fix typo; was HAVE_VFPRINTF. +Thu Jul 28 19:21:38 1994 Uwe Seimet (seimet@chemie.uni-kl.de) - * xm-alpha.h: Always declare malloc, realloc, etc, to be void *. + * am68k/atari.h (FUNCTION_VALUE): New override. - * combine.c (force_to_mode): Sign-extend constant being truncated. +Thu Jul 28 17:27:38 1994 Paul Eggert (eggert@twinsun.com) -Wed Oct 6 18:53:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Makefile.in (c-lex.o, distdir-start): + Depend on $(srcdir)/c-gperf.h, not c-gperf.h. - * bi-lexer.c (xmalloc, xrealloc): Cast the result of malloc, realloc. +Thu Jul 28 15:14:33 1994 Oliver Kellogg (okellogg@salyko.cube.net) -Wed Oct 6 15:30:39 1993 Michael Meissner (meissner@osf.org) + * m1750.inc (DNR.M): Add missing macro. - * 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. +Thu Jul 28 13:02:56 1994 Kresten Krab Thorup (krab@akvavit) -Wed Oct 6 15:29:40 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * objc/misc.c (__objc_xcalloc): Remove declaration of bzero. - * 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. +Thu Jul 28 07:29:52 1994 Markus Wild (mw@eunet.ch) -Wed Oct 6 13:50:03 1993 Ian Lance Taylor (ian@cygnus.com) + * c-common.c (decl_attributes): Correct string check for "format" + to include unsigned and signed char. - * 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. +Thu Jul 28 07:11:36 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Wed Oct 6 13:47:13 1993 Jim Wilson (wilson@mole.gnu.ai.mit.edu) + * reload1.c (compare_spill_regs): Simplify and return zero if + registers are the same. - * 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. + * c-decl.c (finish_struct): Don't look at alignment of error_mark_node. -Wed Oct 6 13:14:13 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * combine.c (try_combine): Don't make a MULT if none of the insns + in our input had one. - * c-typeck.c (build_c_cast): When making a CONSTRUCTOR, provide - the dummy first operand. +Wed Jul 27 19:06:53 1994 R Bowler (rbowler@cix.compulink.co.uk) - * real.c (real_value_truncate): Correct etrunci argument - in case SImode. + * i370/mvs.h (ASM_OUTPUT_ASCII): Fix bug when first character + of string constant is single quote. -Wed Oct 6 06:55:05 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Wed Jul 27 22:44:32 1994 Jason Merrill (jason@deneb.cygnus.com) + + * m68k/next.h: #undef PCC_STATIC_STRUCT_RETURN. - * final.c (asm_fprintf): Add cases for 'w' and 'l'. + * alpha/alpha.h: #define NO_IMPLICIT_EXTERN_C. - * 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. +Wed Jul 27 14:06:37 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * regclass.c (record_reg_classes): Check if operands are the same - by seeing if they are the same register. + * expmed.c (expand_mult): Properly set ADD_TARGET for add_variant. - * cse.c (record_jump_cond): Rehash OP1 if OP0's insert_regs returns - nonzero. + * alpha.h (INITIAL_ELIMINATION_OFFSET): Properly compute offset + between AP and SP when get_frame_size and + current_function_pretend_args_size are not a multiple of 16 bytes. - * calls.c (expand_call): Add yet another assignment to MEM_IN_STRUCT_P. + * expmed.c (expand_divmod): Don't make REG_NOTE if last insn's + destination isn't QUOTIENT. -Wed Oct 6 00:08:28 1993 Jim Wilson (wilson@mole.gnu.ai.mit.edu) +Tue Jul 26 19:45:54 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * expr.c (expand_expr, case ARRAY_REF): Don't fold L"foo"[2]. - * 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 Jul 26 14:10:52 1994 Per Bothner (bothner@kalessin.cygnus.com) -Tue Oct 5 16:25:32 1993 Jim Wilson (wilson@cygnus.com) + * config.sub: Refer to NeXT's operating system as nextstep. - * sched.c (sched_analyze_2): Make volatile asms depend on all - pseudo registers. +Tue Jul 26 13:50:37 1994 Jim Wilson (wilson@cygnus.com) - * mips.c (mips_expand_prologue): Handle structure return values as - the first argument if necessary. + * c-typeck.c (process_init_element): Do not call push_init_level + if the value is error_mark_node. - * mips.h (CLASS_MAX_NREGS): For DFmode and !TARGET_FLOAT64 case, - return 2 not 4. - (CLASS_UNITS): Take size parameter instead of num (words). + * iris5.h (NO_IMPLICIT_EXTERN_C): Define. - * 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. +Mon Jul 25 00:20:36 1994 Chris Arthur (csa@gnu.ai.mit.edu) - * 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 (). + * configure (canon_target): add cases to recognize BSD/386 + specifically, so we can use a tm_file that will cause __bsdi__ + to get defined (since emacs, among other things, needs it). - * 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. - -Tue Oct 5 16:11:53 1993 Jason Merrill (jason@deneb.cygnus.com) - - * toplev.c (error and its kin): Use #defines for the argument - lists for ease of adding arguments and add one arg. - -Tue Oct 5 16:05:11 1993 Tor Egge (tegge@pvv.unit.no) - - * cccp.c (rescan): Don't expand an identifier after a '#'. - -Tue Oct 5 15:15:52 1993 Chip Salzenberg (chip@fin.uucp) - - 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. - -Tue Oct 5 14:08:18 1993 Wolfgang Stukenbrock (wgstuken@informatik.uni-erlangen.de) - - * gcc.c (choose_temp_base): Correct size allocated for temp_filename. - -Tue Oct 5 06:34:34 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * tree.c (contains_placeholder_p): Return 0 for CONSTRUCTOR. - (substitute_in_expr): Don't allow CONSTRUCTOR. - - * tree.c (make_node, case 'd'): Refine in which obstack - PARM_DECLs are allocated. - - * 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. + * config/i386/bsd386.h: New. Use 386bsd.h, and just override + CPP_PREDEFINES (add -Dbsdi) and WCHAR stuff. - * gcc.c (read_specs): Make a null entry at end of `compilers' - when reading new entry from file. +Sat Jul 23 16:30:12 1994 Kaveh R. Ghazi (ghazi@caip.rutgers.edu) - * tree.c (contains_placeholder): Return 0 for WITH_RECORD_EXPR. + * fixinc.svr4: Change i860 in #if to __i860__, as with other CPUs. - * 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. +Fri Jul 22 14:33:59 1994 Doug Evans (dje@cygnus.com) - * bc-emit.c (dconst[012], dconstm1): Remove redundant definition. + * h8300.md (andhi3, iorhi3, xorhi3): Change constraint on + operand 2 from `i' to `n'. -Tue Oct 5 06:24:43 1993 Lisa Repka (lisa@MicroUnity.com) +Fri Jul 22 09:30:39 1994 DJ Delorie (dj@ctron.com) - * varasm.c (decode_rtx_const, case CONST_DOUBLE): Only use mode - of X if it is not VOIDmode. + * configure.bat: move code to config/msdos/* (simplification) -Tue Oct 5 00:45:30 1993 James Van Artsdalen (james@bigtex.cactus.org) + * config/msdos/configure.bat [new file]: moved most processing + here so that as things get more complicated with the language + breakouts, the top directory won't get too messy. Sed script + broken out to simplify processing and avoid quoting errors. + * config/msdos/top.sed [new file]: sed script to change Makefile.in + to Makefile in top directory (currently used for cp directory also) + sed commands changed to handle language breakout - * 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. + * gcc.c (pexecute): use spawn*() for djgpp to ensure that quotes + are properly preserved. Response file code left for 16-bit + compilers, which can't handle the long command lines that gcc + may generate. - * i386/i386.md (movxf,extenddfxf2,extendsfxf2): Don't emit fld - before calling output_to_reg: output_to_reg does that now. + * config/i386/go32.h: define NO_IMPLICIT_EXTERN_C. - * i386/i386.h (FIXED_REGISTERS): Don't fix hard reg st7 if XFmode - is enabled. +Thu Jul 21 23:19:03 1994 Steve Chamberlain (sac@wombat.gnu.ai.mit.edu) - * 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. + * sh/sh.h (TARGET_SWITCHES, PACKSTRUCT_BIT, STRUCTURE_SIZE_BOUNDARY): + parse and handle new option. + (LEGITIMATE_CONSTANT_P): LABEL_REFs are no longer illegal. + (WCHAR_TYPE, WCHAR_TYPE_SIZE): New definitions. + (HANDLE_PRAGMA): Has return. -Mon Oct 4 18:40:51 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * sh/sh.c (add_function, seen_function): Experimental code to + generate bsrs. + (handle_pragma): Return final char. + (expand_acall): Handle TARGET_BSR. + (general_movdst_operand, general_movsrc_operand): Allow ok + autoinc/dec. + (bsr_operand): New function. + (fixit): Need to fix LABEL_REFs. - * regclass.c (record_reg_classes): There is no alt_cost - for a pair of matching args if they are the same pseudo reg. + * sh/sh.md (addc): Simplify. + (adddi3, subdi3, negdi3): Use operand_subword. + (subc, negc): New pattern. + (shifts): Fix constraints. - * 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. +Thu Jul 21 17:59:43 1994 Jim Wilson (wilson@cygnus.com) -Mon Oct 4 18:03:04 1993 Stephen L Moshier (moshier@world.std.com) + * objc-act.c (build_module_descriptor): Don't set DECL_EXTERNAL on + current_function_decl. - * 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. + * combine.c (simplify_rtx): For (not (xor X C)) generate new rtx + instead of modifying old rtx. -Mon Oct 4 05:52:21 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * c-decl.c (start_function): If old_decl is NULL, then set it to + the implicit decl if any. Delete superfluous test from warn missing + prototypes code. For warn missing declarations code, only warn if + previous decl is implicit. - * a29k.c (incoming_regs): Only use 16 registers for parameter - passing. +Thu Jul 21 17:47:05 1994 Paul Eggert (eggert@twinsun.com) - * 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. + * fold-const.c (fold): Don't fold X-X to 0 if X is floating point + and !flag_fast_math. -Sun Oct 3 18:51:19 1993 James Van Artsdalen (james@bigtex.cactus.org) +Thu Jul 21 02:07:45 1994 Charles Levert (charles@comm.polymtl.ca) - * 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. + * Makefile.in (stmp-multilib): Rework to handle make -n. + (stmp-multilib-sub): New target. - * 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. +Tue Jul 19 23:14:42 1994 Larry Jones (larry.jones@sdrc.com) - * 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. + * configure (i[34]86-*-isc*): Treat isc4 like isc3. + Remove references to nonexistant files and add extra_parts + when needed. + (i[34]86-*-solaris2*): Remove reference to nonexistant + t-sco and use extra_parts instead. + (i[34]86-*-sysv*, i860-*-sysv3*, m68k-*-sysv3*, m68k-ncr-sysv*): + Replace t-svr3 with extra_parts. - * 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. +Tue Jul 19 20:31:34 1994 Doug Evans (dje@cygnus.com) - * i386/bsd.h,i386/sco4.h (ASM_OUTPUT_DOUBLE): Deleted, - use default version. + * configure (find lang subdirs loop): Try to work around an + apparent bug in bash 1.12 on linux. - * i386/next.h,i386/sco.h (VALUE_REGNO): Add case XFmode. + * Makefile.in (clean): Remove multilib build dirs. -Sun Oct 3 16:35:05 1993 Michael Meissner (meissner@wombat.gnu.ai.mit.edu) + * h8300.c (print_operand, default case): Handle SFmode regs. - * collect2.c (read_file): Fix typo in prototype. +Mon Jul 18 22:02:53 1994 Jim Wilson (wilson@cygnus.com) -Sun Oct 3 18:32:46 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * sparc.c (call_operand): Use symbolic_operand not CONSTANT_P. + (call_operand_address): Likewise. + * sparc.md (call*): Use symbolic_operand not immediate_operand. + Use 's' constraint not 'i' constraint. - * Makefile.in (bytecode.realclean): Don't delete bi-lexer.c. + * toplev.c (rest_of_compilation): Clear DECL_ABSTRACT_ORIGIN if + clear DECL_INLINE. -Sun Oct 3 19:45:02 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * global.c (find_reg): Store divide results in temporary variables. - * gcc.c (default_compilers): Add rules for Ada. - * toplev.c (lang_options): Add temporary parameter "gnat". + * gcc.c (process_command): When have -BstageN option, pass include + not stageN/../include to preprocessor. - * tree.c (staticp): DECL_EXTERNAL is not defined for CONSTRUCTOR. +Mon Jul 18 21:58:27 1994 Torbjorn Granlund (tege@tiny.cygnus.com) - * 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. + * loop.c (move_movables): Aviod lossage when CALL_INSN_FUNCTION_USAGE + is NULL. - * calls.c (expand_call): Set MEM_IN_STRUCT_P in stack slot if - appropriate. +Mon Jul 18 20:53:54 1994 Ian Lance Taylor (ian@cygnus.com) - * varasm.c (output_constant_def): Copy string as well as string - node when deferring output of constants. + * fixincludes: Rework required loop to avoid crash on decstation. - * configure (i370-*): Renamed tm-mvs.h to mvs.h. - * config/i370/mvs.h: Renamed from tm-mvs.h. +Thu Jul 14 09:42:23 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sun Oct 3 12:50:57 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) + * Version 2.6.0 released. - * 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. - - * riscix.h: New file -- OS dependent defintitions for riscix 1.2 and - above. - - * riscix1-1.h: New file -- OS dependent definitions for riscix before - version 1.2 - - * 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 + * explow.c (force_reg): Don't make a REG_EQUAL note for an insn + that doesn't set TEMP. + +Wed Jul 13 17:00:35 1994 Torbjorn Granlund (tege@rtl.cygnus.com) + + * expmed.c (expand_divmod, case CEIL_DIV_EXPR): + Handle emit_store_flag returning 0. + +Wed Jul 13 16:35:57 1994 Jim Wilson (wilson@cygnus.com) + + * expr.c (store_field): Set MEM_IN_STRUCT_P on object and + blk_object. + +Wed Jul 13 08:40:11 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * Makefile.in (distdir-start): Make tmp/ginclude and copy its files. + (distdir-finish): Don't use -f Makefile.in. + (gcc.xtar.gz): Add --best. + + * fold-const.c (decode_field_reference): Merge operand of + a BIT_AND_EXPR with the mask made from the description of the field. + + * fold-const.c (fold, case MULT_EXPR): Remove last change. + +Wed Jul 13 07:12:32 1994 Torbjorn Granlund (tege@adder.cygnus.com) + + * xm-pa.h, xm-pahpux.h, xm-pahiux.h (USE_C_ALLOCA): Define. + +Wed Jul 13 03:30:36 1994 Jason Merrill (jason@deneb.cygnus.com) + + * tree.h (TYPE_NEEDS_CONSTRUCTING): New macro. + (tree_type): Add needs_constructing_flag. + * function.c (assign_parms): If TYPE_NEEDS_CONSTRUCTING, pass by + invisible reference. + * calls.c (expand_call): Ditto. + +Wed Jul 13 06:49:05 1994 Simon Cooper (scooper@hardees.rutgers.edu) + + * objc/Object.m: Include stdarg.h before stdio.h. + +Tue Jul 12 21:31:59 1994 Jim Wilson (wilson@cygnus.com) + + * c-decl.c (pushdecl): Don't call lookup_name_current_level_global + when traditional. When doing checks against + IDENTIFIER_LIMBO_VALUE, also do check against + INDENTIFIER_GLOBAL_VALUE when traditional. + + * final.c (getpwd): Declare. + +Tue Jul 12 16:24:10 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * pa.h (GO_IF_LEGITIMATE_ADDRESS): Only allow immediate addressing + using 5 bits to avoid losing with FP loads and stores on page zero. + +Tue Jul 12 16:20:09 1994 David Edelsohn (edelsohn@npac.syr.edu) + + * rs6000.md (ashlsi3, lshrsi3, ashrsi3): Only output low-order five + bits for !TARGET_POWER case. + +Tue Jul 12 13:06:14 1994 Jim Wilson (wilson@cygnus.com) + + * combine.c (record_dead_and_set_regs_1): Can only handle SUBREG + if the register is smaller or equal to BITS_PER_WORD. + + * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Define. + + * final.c (end_final): Store full path name in .d file not just + the filename. + + * README.IRIX5: New file. + +Tue Jul 12 10:55:14 1994 Michael Meissner (meissner@osf.org) + + * i386/osfrose.h (CC1_SPEC): If both -pic-extern/-pic-lib and + -pic-none, use -pic-extern win, instead of -pic-none. + + * i386/osfelf.h (CC1_SPEC): Ditto. + +Tue Jul 12 09:08:06 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * reload.c (find_reloads): Don't try to call force_const_mem on + a HIGH. + + * fold-const.c (fold, case MULT_EXPR): If arg is an unsigned + CEIL_DIV_EXPR, convert to TRUNC_DIV_EXPR of a PLUS_EXPR in some cases. + + * alpha.md (ashldi3): Update pattern for (sign_extend (ashift ..)) + to match the current canonicalization. + + * explow.c (round_push, allocate_dynamic_stack_space): Avoid + using CEIL_DIV_EXPR; add adjustment and use TRUNC_DIV_EXPR instead. + +Tue Jul 12 08:12:04 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) + + * dbxout.c (dbxout_source_file): Increment source_label_number outside + of macro expansion. + + * arm.c (reversible_cc_register): New function. + (final_prescan_insn): Don't try to conditionalize jumps with JUMP_CLOB + attribute. + * arm.h (PREDICATE_CODES): Add reversible_cc_register. + * arm.md (matcher for SFmode inequality comparison): Use cmfe, not cfm. + (matchers for {store-flag, not-store-flag, neg-store-flag}): Output + if-false instruction first before if-true instruction. + (matcher for (AND store-flag x)): Only match if reversible_cc_register. + (matcher for (IF-THEN-ELSE reg (NOT reg))): Likewise. + + * arm.h (FRAME_POINTER_REQUIRED): Always true if the function has + nonlocal labels. + * arm.md ({save,restore}_stack_nonlocal): Delete. + +Mon Jul 11 19:29:15 1994 Oliver Kellogg (okellogg@salyko.cube.net) + + * machmode.def (TQFmode): New mode. + * expr.c (convert_move): Add some conversions for TQFmode. + * varasm.c (assemble_real): Handle TQFmode output. + * config.sub (basic_machine): Add 1750a. + * configure (1750a-*-*): New configuration. + * 1750a.c, 1750a.h, 1750a.md, m1750a.inc: New files. + +Mon Jul 11 18:38:42 1994 Doug Evans (dje@cygnus.com) + + Add support for the h8/300h cpu. + * config/h8300/lib1funcs.asm: New file. + * h8300/t-h8300 (CROSS_LIBGCC1): Use libgcc1-asm.a. + (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA, MULTILIB_OPTIONS, + MULTILIB_DIRNAMES, LIBGCC, INSTALL_LIBGCC): Define. + (fp-bit.c): Build it. + * h8300/h8300.h (CPP_PREDEFINES, CPP_SPEC, LIB_SPEC, TARGET_SWITCHES, + BITS_PER_WORD, MAX_BITS_PER_WORD, UNITS_PER_WORD, MAX_UNITS_PER_WORD, + POINTER_SIZE, PARM_BOUNDARY, BIGGEST_ALIGNMENT, + BIGGEST_FIELD_ALIGNMENT, STACK_BOUNDARY, HARD_REGNO_NREGS, + HARD_REGNO_MODE_OK, REG_CLASS_NAMES, REG_CLASS_CONTENTS, + REGNO_REG_CLASS, PUSH_ROUNDING, FUNCTION_ARG_ADVANCE, + TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE, + CONSTANT_ADDRESS, MOVE_MAX, Pmode, SIZE_TYPE, PTRDIFF_TYPE): + Add h8/300h support. + (LINK_SPEC, TARGET_RTL_DUMP, TARGET_H8300, TARGET_H8300H, + REAL_ARITHMETIC, SETUP_INCOMING_VARARGS, HAVE_POST_INCREMENT, + HAVE_PRE_DECREMENT, MAX_MOVE_MAX, NO_BUILTIN_SIZE_TYPE, + NO_BUILTIN_PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE, + MAX_WCHAR_TYPE_SIZE, ASM_WORD_OP, INIT_SECTION_ASM_OP, + CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, EXTRA_SECTIONS, + EXTRA_SECTION_FUNCTIONS, ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR, + DO_GLOBAL_CTORS_BODY, DO_GLOBAL_DTORS_BODY, INIT_TARGET_OPTABS): + Define. + (CAN_DEBUG_WITHOUT_FP, PCC_STATIC_STRUCT_RETURN, STRUCT_VALUE_REGNUM, + STRUCT_VALUE_INCOMING, STRUCTURE_SIZE_BOUNDARY): Undefine. + (enum reg_class): Add h8/300h support. + (emit_a_shift): Declare. + (TARGET_DEFAULT): Set default to -mquickcall. + (DOUBLE_TYPE_SIZE): Fix at 32. DFmode support doesn't exist. + (CALL_USED_REGISTERS, REG_ALLOC_ORDER): Swap registers 2,3 with 4,5. + Registers 0,1 contain function result, allocate after 2,3. + (STATIC_CHAIN_REGNUM): Use reg 4. + (CONST_OK_FOR_LETTER_P): 'O' is ok_for_bclr, 'P' is small_power_of_two. + (FUNCTION_PROFILER, FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): First + attempt at an implementation. + (CONST_COSTS): Move code into function const_costs. + (BRANCH_COST): Set to 0. + (NOTICE_UPDATE_CC): Move code into function notice_update_cc. + (ASM_FILE_START): Move code into function asm_file_start. + (ASM_FILE_END): Move code into function asm_file_end. + (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Use REAL_VALUE_TO_DECIMAL. + * h8300/h8300.c (cpu_type, names_extended, names_upper_extended, + h8_reg_names, h8_push_ops, h8_pop_ops, h8_mov_ops, h8_push_op, + h8_pop_op, h8_mov_op, current_function_anonymous_args, extra_pop, + hand_list): New variables. + (h8300_init_once, asm_file_start, asm_file_end, ok_for_bclr, o_operand, + p_operand, call_insn_operand, jump_address_operand, bit_operand, + eq_operator, const_costs, notice_update_cc, bit_operator, + nshift_operator, expand_a_shift, get_shift_alg, emit_a_shift, + fix_bit_operand): New functions. + (shift_alg, shift_type, shift_mode): New enums. + (shift_insn): New struct. + (shift_n_bits, can_shift): Deleted. + (shift_one, rotate_one): New variables. + (WORD_REG_USED): New macro (was function word_reg_used). + (dosize, function_prologue, function_epilogue, print_operand_address): + Add h8/300h support. + (small_power_of_two): Renamed from potl8. + (potg8): Deleted. + (general_operand_src): Fix POST_INC case. + (general_operand_dst): Fix PRE_DEC case. + (function_arg): 3 regs of args are passed if -mquickcall. + 4 regs of args are passed to handwritten assembler routines. + (print_operand): New cases 'A', 'P', 'S', 'U', 'W', 'b', 'c', 'd', 'g'. + Delete case 'O'. Sort cases. Add h8/300h support. + (do_movsi): Renamed from domovsi. + Handle reload_in_progress and reload_completed. + (initial_offset): Renamed from io. Add h8/300h support. + * h8300/h8300.md (cpu): New attribute. + (attribute length): Add h8/300h support. + (attribute cc): New value `cbit'. + (all anonymous insns): Give them names. + (move insns): Add h8/300h support. + (tstqi, tsthi): Use btst insn if able. + (arithmetic insns): Add h8/300h support. + (boolean insns): Likewise. + (negate insns): Likewise. + (branch insns): Likewise. + (call_value): Use call_insn_operand for operand 1. + (shift insns): Completely rewritten. Add h8/300h support. + (zero/sign extension insns): Add h8/300h support. + (extv): Deleted. + (insv, extzv): Only use for h8/300. + (bitfield insns): Completely rewritten. + (fancyb*): New insns for speeding up bit accesses. + + * optabs.c (init_optabs): Allow target specific libcalls + with INIT_TARGET_OPTABS. + +Mon Jul 11 18:32:42 1994 Steve Chamberlain (sac@cygnus.com) + + * config/fp-bit.c: New file. Provides simple fp emulation library. + +Mon Jul 11 18:27:42 1994 Ian Lance Taylor (ian@cygnus.com) + + * Makefile.in (libgcc1-asm.a): New target for building libgcc1.a + in cross compilers. + +Mon Jul 11 17:00:45 1994 David Edelsohn (edelsohn@npac.syr.edu) + + * rs6000.md (movsi matcher): Add nop for moving special register + to itself for !TARGET_POWER. + (movhi and movqi matcher): Likewise and add mtjmpr attribute. + Separate MQ from CTR and LR target registers for TARGET_POWER. + + * powerpc.h (CPP_SPEC): Fix typo. + +Mon Jul 11 16:50:29 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * c-parse.in (stmt): Don't give more than one error message if a + nested `if' has an empty body. + + * a29k.md (movqi): Call loadhi, not loadqi. + +Mon Jul 11 16:46:09 1994 Jeffrey A. Law (law@mole.gnu.ai.mit.edu) + + * pa.h (DEBUGGER_ARG_OFFSET): Define. If no frame pointer + is available, then adjust the offset by the size of the + current frame. + +Mon Jul 11 16:34:14 1994 Stan Shebs (shebs@andros.cygnus.com) + + * configure (*-*-lynxos*): Always run fixincludes, and if not using + gas, set tm_file to lynx-ng.h. + * config/x-lynx: Always run fixproto. + * config/lynx.h, i386/lynx.h, m68k/lynx.h, sparc/lynx.h: Rewrite + to work with gas producing coff files. + * config/lynx-ng.h, i386/lynx-ng.h, m68k/lynx-ng.h, + sparc/lynx-ng.h: New files. + +Mon Jul 11 15:16:28 1994 Pat Rankin (rankin@eql.caltech.edu) + + * make-cc1.com: Compile most of cc1plus in the `cp' subdirectory. + * vmsconfig.com: When setting up tm.h, convert "vax/vax.h" into + "config-vax.h" rather than "[.config.vax]vax.h" for #include so + it will work from [.cp] subdirectory; copy vax.h to config-vax.h + as part of configuration setup. Also, manually include cc1plus + in the list of buildable compilers (a temporary measure; it + should process cp/Makefile.in like it does for primary makefile). + + * make-cc1.com: Use `=' rather than `:=' when setting up CC, + so that `gcc' can be defined as a foreign command if necessary; + eliminate `set symbol/scope=noGlobal' for same reason; use `=' + with all other symbols, for consistency; add explicit .obj + extension to some lists of object files passed to the linker; + general cleanup of the command text echoed during execution. + * make-cccp.com: Revise to be more consistent with make-cc1.com + for symbol setup & usage and for echoing command execution. + +Mon Jul 11 15:03:23 1994 Charles Hannum (mycroft@duality.gnu.ai.mit.edu) + + * configure: Recognize m68k-*-netbsd* and i[345]86-*-netbsd*. + * cccp.c, collect2.c, gcc.c, protoize.c, cp/g++.c (sys_errlist) + [bsd4_4]: Do this for __NetBSD__ also. + +Mon Jul 11 14:16:28 1994 Kresten Krab Thorup (krab@spiff.gnu.ai.mit.edu) + + * mips/mips.h (STRUCT_VALUE): Change definition from `(rtx)0' to + just `0' so it is a valid expression for the pre-processor. + +Mon Jul 11 10:54:35 1994 Stan Cox (coxs@dg-rtp.dg.com) + + * configure (m88k-dg-dguxbcs): New configuration. m88k-dg-dgux + Now builds an elf compiler. Both targets will create bcs or elf. + + * m88k/dgux.h (ASM_SPEC,STARTFILE_SPEC,LIB_SPEC): svr4 default. + + * m88k/dguxbcs.h (ASM_SPEC,STARTFILE_SPEC,LIB_SPEC): + New target for svr3. + + * m88k/x-dgux, m88k/t-dgux, m88k/x-dguxbcs: + Changed for svr4/svr4/svr3 respectively. + + * m88k/m88k.h (TARGET_SVR3): New target switch. + +Wed Jun 29 19:23:27 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu) + + * alpha.h (LIB_SPEC): If -pg, add -lprof2. + +Mon Jul 11 13:17:38 1994 Ian Lance Taylor (ian@cygnus.com) + + * combine.c (simplify_set): Only turn IF_THEN_ELSE into AND if + MODE_INT. + +Sun Jul 10 06:03:12 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * reload1.c (eliminate_regs_in_insn): Handle special case of + assignment from hard frame pointer to frame pointer (for + nonlocal goto). + * function.c (instantiate_virtual_regs_1): Remove last change. + * stmt.c (expand_end_bindings): When adjusting FP, set it + from hard_frame_pointer_rtx. + + * expr.c (expand_builtin, case BUILT_IN_FSQRT): Don't use + asterisk in name of `errno'. + +Fri Jul 8 22:07:32 1994 Jim Wilson (wilson@cygnus.com) + + * stdarg.h: Delete include of when not gcc. + * varargs.h: Delete include of when not gcc. + +Fri Jul 8 18:45:56 1994 Philippe De Muyter (phdm@info.ucl.ac.be) + + * m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Copy a0 to d0, not + the other way. + +Fri Jul 8 17:41:39 1994 Jim Wilson (wilson@cygnus.com) + + * expr.c (get_inner_unaligned_p): New function. + (expand_assignment, expand_expr): Use it. + +Fri Jul 8 17:16:25 1994 Doug Evans (dje@cygnus.com) + + * expmed.c (extract_split_bit_field): Set UNIT to BITS_PER_WORD for + register values. + (store_split_bit_field): Likewise. Call operand_subword_force. + +Fri Jul 8 13:48:23 1994 Mike Stump (mrs@cygnus.com) + + * expr.c (target_temp_slot_level): New variable to keep track of + the current stack level for temporaries created by TARGET_EXPRs. + * expr.h (target_temp_slot_level): Declare it. + * expr.c (expand_expr): Add code to maintain the new temporary + stack for TARGET_EXPRs to the CLEANUP_POINT_EXPR code and change + the allocation of temporaries for TARGET_EXPRs to be from the new + stack, so that they may live longer, and only be reused after they + are no longer in use. + * function.c (assign_stack_temp): KEEP can now also be 2, to + indicate allocation from the longer term frontend controlled + temporary stack. + * function.c (init_function_start): Initialize + target_temp_slot_level to zero. + +Fri Jul 8 16:52:38 1994 Jim Wilson (wilson@cygnus.com) + + * combine.c (distribute_notes, REG_DEAD case): When check to see + if insn uses register, also call find_regno_fusage. + + * sparc.h (SECONDARY_MEMORY_NEEDED_RTX): Call assign_stack_local + if the frame has zero size. + +Fri Jul 8 11:46:50 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * varasm.c (record_constant_rtx, force_const_mem): Ensure everything + is in saveable_obstack, not current_obstack. + + * combine.c (force_to_mode): OP_MODE must be MODE if MODE and + mode of X are of different classes. + (nonzero_bits, num_sign_bit_copies): Say nothing known for + floating-point modes. + + * function.c (instantiate_virtual_regs_1, case SET): + If DEST is virtual_stack_vars_rtx, replace with hardware + frame pointer. + + * expr.c (expand_expr, case CONVERT_EXPR): If changing signedness + and we have a promoted SUBREG, clear the promotion flag. + + * c-decl.c (finish_decl): Put RTL and other stuff in + permanent_obstack if DECL is. + + * combine.c (gen_unary): Add new arg, OP0_MODE. + All callers changed. + +Thu Jul 7 19:58:35 1994 Jason Merrill (jason@deneb.cygnus.com) + + * varasm.c (assemble_variable): Do set TREE_ASM_WRITTEN on + erroneous incomplete decls. + +Thu Jul 7 17:59:46 1994 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * configure (m68k-motorola-sysv*): Use mot3300g.h for gas. + * m68k/mot3300g.h: New file. + +Thu Jul 7 17:42:21 1994 Philippe De Muyter (phdm@info.ucl.ac.be) + + * m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Fix typo in last change. + +Thu Jul 7 17:36:26 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * expmed.c (expand_mult_highpart): Build constant forms of CNST1 + in MODE or WIDE_MODE, as appropriate. + + * optabs.c (expand_binop, case DIV [complex]): Fix typo in last change. + + * alpha.md (reload_inqi): Make operand[2] be TImode and + pass register number that differs to unaligned_loadqi. + (reload_outqi): Change overlap in temps to unaligned_storeqi. + * alpha.c ({un,}aligned_memory_operand): Check against + hard_frame_pointer_rtx, not frame_pointer_rtx. + +Thu Jul 7 01:39:33 1994 Doug Evans (dje@cygnus.com) + + * combine.c (make_compound_operation, AND case): Do extraction in + desired result mode. + + * flow.c (mark_set_1): Record explicit hard registers in their + raw mode. + (mark_used_regs): Likewise. + * combine.c (distribute_notes): Likewise. + +Wed Jul 6 14:45:08 1994 Pat Rankin (rankin@eql.caltech.edu) + + * longlong.h (vax sdiv_qrnnd): Fix typo. + +Wed Jul 6 19:59:12 1994 Mike Stump (mrs@cygnus.com) + + * expr.c (expand_expr, defer_cleanups_to, expand_cleanups_to): All + cleanups have to be protected by interim exception handling code. + * stmt.c (expand_decl_cleanup, expand_cleanups): Ditto. + * toplev.c (interim_eh_hook): Hook for interim exception handling. + * toplev.c (interim_eh): Default implementation for exception + handling that does nothing. + * toplev.c (main): Set default for interim_eh_hook. + +Wed Jul 6 17:56:37 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * alpha.c (output_prolog): Start memory probing with $2. + +Wed Jul 6 14:21:14 1994 Jim Wilson (wilson@cygnus.com) + + * stmt.c (struct nesting): Add new field alt_end_label. + (expand_start_loop): Initialize it to zero. + (expand_end_loop): Reorder loop if find either a jump to end_label + or a jump to alt_end_label. + (expand_exit_loop_if_false): Set alt_end_label. + +Wed Jul 6 05:07:31 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) + + * c-common.c (decl_attributes): If TREE_TYPE for the DECL is updated, + then update TYPE as well. + + * longlong.h (arm umul_ppmm): Fix use of uninitialized register. + Eliminate clobbers of hard registers. + +Wed Jul 6 03:22:04 1994 Torbjorn Granlund (tege@rtl.cygnus.com) + + * expmed.c (expand_divmod): Clear out TARGET also if OP1 is a + constant, when TARGET == OP0. + +Tue Jul 5 18:58:28 1994 Torbjorn Granlund (tege@rtl.cygnus.com) + + * Makefile.in (c-parse.y): Redirect through tmp file. + (objc-parse.y): Likewise. + (c-gperf.h): Likewise. + (mostlyclean): Delete the new tmp files. + + * expmed.c (expand_divmod): Fix typo setting op1_is_pow2. + (expand_divmod): Handle powers-of-two specifically for unsigned + CEIL_*_EXPR. + + * longlong.h: Really fix the test for _IBMR2. Change test of + __powerpc__ to _ARCH_PPC. + +Tue Jul 5 17:00:19 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * combine.c (try_combine): Don't check for replacing + arg of function here. + (can_combine_p): Do it here. + + * expr.c (expand_increment): If pre-incrementing a promoted + variable, don't adjust OP0 since the result won't be used. + + * jump.c (duplicate_loop_exit_test): Handle SUBREG in SET_DEST + of loop exit test statements. + + * combine.c (try_combine): If I2DEST was used in I2SRC, it isn't + unused just because there is no SET for I2 anymore. + +Mon Jul 4 11:15:13 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * rs6000.h (RS6000_OUTPUT_BASENAME): Always call assembler_name + and pass the actual symbol name. + + * varasm.c (assemble_name): Call STRIP_NAME_ENCODING. + + * cse.c (canon_hash, exp_equiv_p): Refer to string in SYMBOL_REF + with XSTR, not XEXP. + +Sat Jul 2 18:53:19 1994 Jim Wilson (wilson@cygnus.com) + + * mips.md (smuldi3_highpart, smuldi3_highpart_internal, + umuldi3_highpart, umuldi3_highpart_internal): New patterns. + + * unroll.c (loop_iterations): Only use REG_EQUAL note value if it + is constant. + + * dbxout.c (dbxout_type_methods): Enable debugging info for + template classes. + + * c-lex.c (yylex): Reject imaginary numbers when pedantic. + + * c-decl.c (duplicate_decls): When make void* match char*, set + DECL_IN_SYSTEM_HEADER. + + * Makefile.in (clean): Delete LIB2FUNCS_EXTRA. + + * alpha.h (FUNCTION_PROFILER, FUNCTION_BLOCK_PROFILER, + BLOCK_PROFILER): Use multiple fputs/fprintf calls instead of ANSI + C concatenated strings. + (PREDICATE_CODES): Add cint8_operand. + + * gcc.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -isystem. + +Sat Jul 2 09:34:20 1994 Torbjorn Granlund (tege@rtl.cygnus.com) + + * expmed.c (expand_divmod): Always return gen_lowpart (mode, ...). + +Fri Jul 1 19:28:39 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * reorg.c (make_return_insns): Make sure redirecting a jump to + a RETURN insn does not invalidate the delay slots of the jump. + +Fri Jul 1 16:32:58 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) + + * longlong.h: (arm umul_ppmm): Fix typos in last change. Mark + hard-coded registers with "%|". + +Fri Jul 1 10:08:47 1994 Jason Merrill (jason@deneb.cygnus.com) + + * toplev.c (compile_file): Pass through static consts and inlines + multiple times in case they reference each other. + +Fri Jul 1 07:41:19 1994 Torbjorn Granlund (tege@tiny.cygnus.com) + + * longlong.h: Test for _AM29K and _IBMR2, not ___AM29K__ + and ___IBMR2__. + (arm umul_ppmm): New definition. + (clipper umul_ppmm, smul_ppmm, __umulsidi3): New definitions. + (hppa count_leading_zeros): New definition. + (i960 umul_ppmm, __umulsidi3): New definitions. + (mc68000 umul_ppmm): Use %. before size suffixes. + (mc88110 umul_ppmm, udiv_qrnnd): Rewrite, + (mc88000): Get UMUL_TIME and UDIV_TIME right. + (mips): Get UMUL_TIME right. + (ns32000 umul_ppmm): New definition. + (ns32000 udiv_qrnnd): Rename from bogus div_qrnnd, rewrite. + (powerpc umul_ppmm, smul_ppmm): New definitions. + (_IBMR2/powerpc add_ssaaaa, sub_ddmmss): Improve. + (pyr umul_ppmm): Fix typo. + (sparc add_ssaaaa, sub_ddmmss): Match constant 0 for all inputs. + (vax sdiv_qrnnd): New definition. + + * expmed.c (expand_divmod): Put OP0 in a register when computing + remainder, or when OP1 is constant. + +Fri Jul 1 06:46:09 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * jump.c (jump_optimize): Don't convert if (foo) x++ into an + add of an scc unless X has no side effects and can't trap. + + * c-parse.in (initelt): The equal sign is optional when + positioning to a single element of an array. + + * c-typeck.c (push_init_level): If not at "unfilled" position, + set constructor_incremental to 0; likewise for range. + + * xm-alpha.h: If GNUC, include alloca.h, else declare alloca. + + * m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): New macro. + + * expmed.c (expand_divmod): Don't set REG_NOTES unless we generated + a quotient. + +Thu Jun 30 18:25:52 1994 David Edelsohn (edelsohn@npac.syr.edu) + + * gcc.c (do_spec_1, case 'P'): Don't add underscores to macros + starting with '_[A-Z]'. + +Thu Jun 30 18:16:36 1994 Will Athanasiou (will@guardian.westford.ccur.com) + + * m68k.md (umulsi3_highpart, smulsi3_highpart): Fix constraint + for operand 0 in define_insn. + +Thu Jun 30 16:07:33 1994 Kaveh R. Ghazi (ghazi@noc.rutgers.edu) + + * fixincludes: Put wrappers around and to + avoid multiple inclusion errors on m88k-tektronix-sysv3. + +Thu Jun 30 12:08:48 1994 Kresten Krab Thorup (krab@spiff.gnu.ai.mit.edu) + + * objc-act.c, objc/init.c (OBJC_VERSION): Incremented to 6. + + * objc/sendmsg.c (INVISIBLE_STRUCT_RETURN): New macro. + (__objc_block_forward): Declare depending on the above. + + * objc/class.c (objc_next_class): New function. + * objc/objc-api.h (objc_next_class): New function. + + * objc-act.c (get_proto_encoding, build_typed_selector_reference): + New fucnctions. (UTAG_PROTOCOL): New define. + (objc_selector_template, flag_typed_selectors): New variables. + (objc_init): set flag_typed_selectors if -fgnu-runtime. + (synth_module_prologue): Change declaration of + _OBJC_SELECTOR_TABLE when flag_typed_selectors is non-null. + (build_module_descriptor): Make sure the generated constructor + function is declared public. + (build_selector): Only cast to SEL when not doing typed selectors. + (build_selector_translation_table): Rewrite initialization. + (build_tmp_function_decl): Make up new name when called, since it + may now be called multiple times. + (hack_method_prototype): Use init_function_start to reinit args + machinery. Also set current_function_decl before calling + assign_parms. + (generate_protocols): Don't generate encoding twice. + (build_selector_template): New function. + (build_method_list_template): Generate (void*)0 as first element, + not (int)0. + (build_message_expr): move the call to build_selector_reference + towards the end, where we have determined the function prototype. + + * objc/Object.h, objc/Object.m (read:, write:, streamVersion:): + Un-disable for alpha. (forward::, performv::): Declare and fix to + return retval_t. + * objc/archive.c: Completely rewritten to handle 64 bit longs and + pointers. + * objc/class.c (class_pose_as): Rewritten. + * objc/encoding.c: use new ROUND macro for alignment rounding. + * objc/init.c, objc/selector.c, objc/sendmsg.c: Rewritten to + handle new selectors. + +Thu Jun 30 07:49:50 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) + + * arm.h (INITIAL_ELIMINATION_OFFSET): Check frame_pointer_needed when + eliminating the arg pointer into the stack pointer. + +Thu Jun 30 06:25:50 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * c-common.c (c_build_type_variant): Remove last change; instead, + copy TYPE if not in old obstack. + +Wed Jun 29 21:51:52 1994 Jason Merrill (jason@deneb.cygnus.com) + + * toplev.c (lang_options): Add -W{no-,}non-virtual-dtor. + +Wed Jun 29 19:23:27 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu) + + * final.c (end_final,profile_function): Profiling variables are + size of pointer, not int. + * alpha.h (LIB_SPEC): If -pg, add -lprof2. + (STARTFILE_SPEC, {FUNCTION,BLOCK,FUNCTION_BLOCK}_PROFILER): New macros. + +Wed Jun 29 15:52:45 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * loop.c (basic_induction_var, case REG): Allow previous + insn to set a SUBREG of X. + + * alpha.c (alpha_sa_size): Round size to 16-byte boundary. + (add_long_const): Add new arg, TEMP_REG. + (output_{pro,epi}log): Rework to put save area between outgoing + args and local variables. + * alpha.h (FRAME_POINTER_REGNUM): Now register 63. + (HARD_FRAME_POINTER_REGNUM): New macro. + (CONDITIONAL_REGISTER_USAGE, REG_CLASS_CONTENTS, REGNO_REG_CLASS): + Show register 63 is not an FP register. + (REGHNO_OK_FOR_BASE_P, REG_OK_FOR_BASE_P, REGISTER_NAMES): Likewise. + (ALPHA_ROUND): New macro. + (STARTING_FRAME_OFFSET, ELIMINABLE_REGS, INITIAL_ELIMINATION_OFFSET): + Modify to reflect save area between outgoing args and local vars. + * alpha.md: Add new pattern for double-add when have + reg + frame pointer. + Slight changes to all such patterns and add define_splits for them. + + * global.c (global_alloc): Make a more accurate attempt to see + if the frame pointer will be used. + If it is, show HARD_FRAME_POINTER_REGNUM used if its not + the same as FRAME_POINTER_REGNUM. + * reload1.c (reload): Can't eliminate if frame pointer needed + and TO is stack pointer. + Spill HARD_FRAME_POINTER_REGNUM if not FRAME_POINTER_REGNUM + and frame pointer is needed. + (spill_hard_reg): If CANT_ELIMINATE, set regs_ever_live; + no longer done by callers. + + * a29k.md (movqi): Add missing `DONE'. + +Wed Jun 29 15:44:18 1994 Doug Evans (dje@canuck.cygnus.com) + + * sparc/sparc.h (CPP_SPEC): Split up v9/non-v9 stuff. + Move -Acpu and -Amachine from here. + (CPP_PREDEFINES): To here. + (NO_BUILTIN_PTRDIFF_TYPE): Undefine. + (NO_BUILTIN_SIZE_TYPE): Likewise. + (PTRDIFF_TYPE): Split up v9/non-v9 definitions. + (SIZE_TYPE): Likewise. + * sparc/sp64-elf: (PTRDIFF_TYPE): Remove dependence on POINTER_SIZE. + (SIZE_TYPE): Likewise. + +Wed Jun 29 15:28:17 1994 Michael Meissner (meissner@osf.org) + + * cccp.c (collect_expansion): Always put 1 space after the macro + expansion in ANSI mode to fix regression from June 24th. + +Tue Jun 28 22:41:52 1994 Doug Evans (dje@cygnus.com) + + * combine.c (simplify_set): Evaluate HAVE_conditional_move at runtime. + +Tue Jun 28 20:27:08 1994 Torbjorn Granlund (tege@adder.cygnus.com) + + * optab.c (expand_binop): Convert OP0 to mode for library calls. + + Changes to optimize division-by-constants, and make ceil and floor + rounding work correctly: + * expmed.c (expand_mult): Generalize to call synth_mult also + for OP1 - 1. + (ceil_log2): New function. + (choose_multiplier): New function. + (invert_mod2n): New function. + (expand_mult_highpart_adjust): New function. + (expand_mult_highpart): New function. + (EXACT_POWER_OF_2_OR_ZERO_P): New macro. + (expand_divmod): Almost completely rewritten. + (expand_shift): Don't truncate immediate shift count, it doesn't work + for types smaller than int. + * expr.h (smul_highpart_optab, umul_highpart_optab): New variables. + * genopinit.c (optabs): Add [us]mul_highpart_optab. + * optabs.c (smul_highpart_optab, umul_highpart_optab): New variables. + (expand_binop): Handle [us]mul_highpart_optab as commutative. + (init_optabs): Initialize [us]mul_highpart_optab. + * fold-const.c (div_and_round_double): Make it globally accessible. + * a29k.md (smulsi3_highpart, umulsi3_highpart): New patterns. + * alpha.md (umuldi3_highpart): New expander and matcher. + * alpha.c (cint8_operand): New predicate. + * m68k.md (umulsi3_highpart, const_umulsi3_highpart): + New expander and matcher. + (smulsi3_highpart, const_smulsi3_highpart): Likewise. + +Tue Jun 28 13:42:10 1994 Jim Wilson (wilson@cygnus.com) + + * sol2.h (CPP_SPEC): Handle -msupersparc. + * sparc.c (cpu_type, sparc_cpu_type): Rename to arch_type and + sparc_arch_type. Fix all users. + (supersparc_adjust_cost): New function. + * sparc.h (cpu_type, sparc_cpu_type): Rename to arch_type and + sparc_arch_type. + (CPP_SPEC): Handle -msupersparc. + (MASK_SUPERSPARC, TARGET_SUPERSPARC): New macros. + (TARGET_SWITCHES): Add -msupersparc and -mcypress. + (ADJUST_COST): New macro. + * sparc.md (cpu attribute): Rename to arch attribute. Add a new + cpu attribute. Fix all users. + (type attribute): Add ialu, shift, imul, fpdivs, and fpdivd. + Delete fpdiv. + (function units): Add Cypress and Supersparc versions of each. + (addsi3, subsi3, andsi3, iorsi3, xorsi3): Add ialu type attribute. + (mulsi3): Add imul type attribute. + (divtf3, divdf3): Use fpdivd not fpdiv type attribute. + (divsf3); Use fpdivs not fpdiv type attribute. + (ashlsi3, ashrsi3, lshrsi3): Add shift type attribute. + + * i960.md (andsi3+6): Replace bad clrbit pattern with two working + ones. + +Tue Jun 28 13:31:31 1994 Uwe Seimet (seimet@iris1.chemie.uni-kl.de) + + * configure (m68k-atari-sysv4*): New configuration. + * m68k/atari.h, m68k/xm-atari.h: New files. + +Tue Jun 28 12:41:32 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * pa.md (define_split for (plus (reg) (large_constant))): Treat + large_constant as signed. + +Tue Jun 28 05:46:55 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * reload1.c (eliminate_regs_in_insn): When checking for moves + and adds, use single_set. + + * reload1.c (reloads_conflict): Handle R1_TYPE of RELOAD_OTHER. + + * expr.c (do_jump, case BIT_AND_EXPR): Only narrow to a type + that corresponds to a mode. + +Tue Jun 28 05:41:29 1994 Will R. Athanasiou (will@westford.ccur.com) + + * rs6000.h (MEMORY_MOVE_COST): Make processor-dependent. + * rs6000.md (movsf): Emit frsp if storing to memory and not PowerPC. + (movsf matcher): Remove explicit frsp. + (store sf with update): Likewise. + * rs6000.c: Include ctype.h. + +Tue Jun 28 05:40:44 1994 Mike Collison (collison@chianti.sw.stratus.com) + + * real.c: Treat HFmode like SFmode, for now. + +Mon Jun 27 19:16:49 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * optabs.c (expand_binop, multi-words shifts and rotates): + Fix errors in last change. + +Mon Jun 27 11:29:18 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) + + * arm.c: Include "expr.h". + (arm_fpu): New variable. + (arm_gen_movstrqi): Fix typo. + * arm.h: (enum floating_point_type): New enumeration type. + (arm_fpu): New declaration. + * arm.md: (function_unit fpa): Add more accurate scheduling + information. + (all floating point patterns): Add more detailed instruction type + information to attributes. + * riscix.h: (STARTFILE_SPEC,SIZE_TYPE,PTRDIFF_TYPE): Fix typos. + (ASM_FINAL_SPEC): Only reject -mbsd and -mxopen when -pedantic. + +Sun Jun 26 05:37:26 1994 Pat Rankin (rankin@eql.caltech.edu) + + * toplev.c (v_message_with_decl): Avoid fwrite for stderr; mixing + it with fprintf and fputs can cause strange results under VMS. + +Sat Jun 25 06:07:56 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) + + * combine.c (distribute_notes, case REG_DEAD): If a call uses a + hard reg, then this is where it dies. + +Fri Jun 24 19:09:33 1994 Chip Salzenberg (chip@fin.uucp) + + * cccp.c (create_definition): Eliminate whitespace before and + after macro definitions. + +Fri Jun 24 16:19:27 1994 Philippe De Muyter (phdm@info.ucl.ac.be) + + * c-decl.c (lang_decode_option): Set warn_bad_function_cast + for -Wbad-function-cast. + * c-typeck.c (build_c_cast): Issue a warning for non-matching cast + from a function call (like malloc without proto). + * c-tree.h: Declare warn_bad_function_cast. + * toplev.c (lang_options): Add -W[no]-bad-function-cast. + +Fri Jun 24 16:09:12 1994 Pat Rankin (rankin@eql.caltech.edu) + + * vax.h (ASM_IDENTIFY_LANGUAGE): New macro. + +Fri Jun 24 15:36:37 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) + + * jump.c (jump_optimize): If we reverse "if (foo) bar else break;" + and there follows a NOTE_INSN_LOOP_END, move the note before "bar". + + * arm.md (movstrsi): Delete. + (movstrqi): New expand. + * arm.h (arm_gen_movstrqi): New function. + +Fri Jun 24 14:43:46 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * alpha.c (alpha_builtin_saveregs): Fix typo in computing value + for __base. + + * vax.md (zero_extract patterns): Don't allow constants in + the first operand of ZERO_EXTRACT since the recognizer + function forces them to match the mode of the match_operand. + + * c-typeck.c (decl_constant_value): Test for const and + not iterator. + (default_conversion, digest_init): Remove redundant checks + before calling decl_constant_value. + (convert_for_assignment): See if RHS has a constant value. + + * m68k.md (ashrsi3, lshrsh3): Remove patterns using bfext[su]. + + * reg-stack.c (goto_block_pat): Ignore undefined label. + +Thu Jun 23 22:07:42 1994 Doug Evans (dje@cygnus.com) + + * sparc/sp64-elf.h (LINK_SPEC): Fix typo. + (PTRDIFF_TYPE): Likewise. + +Thu Jun 23 19:15:36 1994 Jason Merrill (jason@deneb.cygnus.com) + + * tree.h (TREE_SYMBOL_REFERENCED): New macro. + * varasm.c (assemble_name): Set TREE_SYMBOL_REFERENCED on the + identifier for `name'. + * toplev.c (compile_file): Use TREE_SYMBOL_REFERENCED instead of + TREE_USED and TREE_ADDRESSABLE where appropriate. + +Thu Jun 23 19:06:05 1994 Randy Wright (rwright@dhostwo.convex.com) + + * cse.c (simplify_unary_operation, case UNSIGNED_FLOAT): Add + missing cast to unsigned. + +Thu Jun 23 19:00:18 1994 David Edelsohn (edelsohn@npac.syr.edu) + + * rs6000.md (fix_truncdfsi2, movsf, movdi): Use assign_stack_temp. + (mulsidi3): Add earlyclobber constraint modifier to PowerPC + version and !TARGET_POWERPC64 to final condition. + + * rs6000.h (CPP_PREDEFINES): Define _POWER (alias for _IBMR2). + (CPP_SPEC): New macro. + * powerpc.h (ASM_SPEC): Use PowerPC mode, not 601 mode. + (CPP_SPEC): New macro. + (TARGET_DEFAULT): Generate pure PowerPC code, not 601-specific. + +Thu Jun 23 18:09:23 1994 Pat Rankin (rankin@eql.caltech.edu) + + * vax.h (CPP_PREDEFINES): Add `__vax__'. + * vax/vms.h (CPP_PREDEFINES): Add `__vax__', `__vms__', and `__VMS__'; + update __GNUC_MINOR__ to 6. + +Thu Jun 23 17:59:41 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * toplev.c (compile_file): Don't try to write function if we + didn't save insns for it. + + * reload.c (find_reloads): Don't rejecting non-const due to value + of PREFERRED_RELOAD_CLASS if no regs were valid for alternative. + +Thu Jun 23 17:45:55 1994 Matthias Pfaller (leo@marco.de) + + * ns32k.c (output_move_double): If the dest is register pair and both + regs are used in src address, use ADDR to compute src address, not + ADDD, which throws away scaled index. + +Thu Jun 23 17:40:06 1994 Craig Burley (burley@gnu.ai.mit.edu) + + * c-decl.c (clear_binding_level): Add missing fields in initializer. + (c_decode_option): Correct misspelling of -fno-dollars-in-identifiers. + +Thu Jun 23 13:47:23 1994 Ian Lance Taylor (ian@cygnus.com) + + * fixincludes: Fix return type of sbrk in on Alpha + OSF/1 V2.0. Also, redirect grep errors to /dev/null in + fix. + +Thu Jun 23 12:08:23 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) + + * arm.c: Include tree.h. + (const_ok_for_arm): Add fast return for 0 or just one non-zero bit. + (const_ok_for_op, arm_split_constant): New functions. + (arm_rtx_costs, reg_or_int_operand): New functions. + (shift_operator): Accept ROTATERT. + (multi_register_push): New function. + (shift_op): Don't abort if a constant is outside the acceptable range, + but convert the whole shift expression into something legal. If the + shift is zero, then return NULL. + (output_return_instruction): Output a call to abort if the function is + volatile. + (arm_volatile_func): New function. + (get_prologue_size): Remove all adjustments for insns that are now + output as rtx. + (output_func_prologue): Remove all code that outputs instructions, + just print a few comments. + (output_func_epilogue): Output a call to abort if a volatile function + tries to return. + (emit_multi_reg_push): New function. + (arm_expand_prologue): New function. Don't bother to push call-saved + regs if we will never return. + (arm_print_operand, case 'S'): If shift_op returns NULL, then no shift + is required. + * arm.h (TARGET_WHEN_DEBUGGING): Delete. + (MODES_TIEABLE_P): All modes of the same class are tieable. + (CONST_OK_FOR_LETTER_P): Add 'M' for constants valid in a shift. + (FUNCTION_PROFILER): Don't call arm_increase_location. + (INITIAL_ELIMINATION_OFFSET): Call saved regs are no-longer pushed for + functions that don't return. + (LEGITIMIZE_ADDRESS): Push constants that will never be legitimate -- + symbols and labels -- into registers. Handle DImode better. + (DEFAULT_SIGNED_CHAR): Use unsigned unless already defined. + (RTX_COSTS): Call arm_rtx_costs. + (ADDRESS_COST): Since most operations have the same rtx cost, make the + more complex addresses cheaper. + (PREDICATE_CODES): Add ROTATERT to shift_operator; and new predicates + for reg_or_int_operand and multi_register_push. + (DBX_CONTIN_LENGTH): Only define if not already done. + (PRINT_OPERAND_ADDRESS): Let arm_print operand output the ", " for + shifts. + * arm.md (addsi3, subsi3, andsi3, iorsi3, ashlsi3, ashrsi3, lshrsi3, + rotrsi3): Rewrite as expand patterns. + (rotlsi3): New expand. + (matchers, and split patterns for above): New. + (all patterns with shifts): Let arm_print_operand output the ", " + before a shift if it is needed. + (zero_extendqihi2): Delete. + (zero_extendqisi2): Expand to (and ...) if not memory. + (movsi): Call arm_split_constant to generate a constant. + (movqi): Only force a MEM into a register if not reloading. + (movsf, movdf): If loading a non-immediate floating point value, or + loading and floating point immediate into integer regs, push the + constant straight into the pool. + (movdf): Get rid of the scratch register. + (reload_outdf): Rewrite to expand to the two required insns. + (matcher for movdf): Remove alternative that used scratch register for + storing. + (movxf): rewrite as expand. + (matcher for movxf): Recognize even when XFmode code is disabled, so + that prologue insns can be generated. + (Matcher for reversed conditional jump): Don't match if the mode of the + CC register is not reversible. + (prologue): New expand. + (matcher for multi_register_push insn): New. + * riscix.h: Delete some dead code. + (STARTFILE_SPEC): Look in the correct places for start files. + (LIB_SPEC): Define. + (LINK_SPEC): Define. + (TARGET_WHEN_DEBUGGING): Delete. + (DEFAULT_SIGNED_CHAR): Set to unsigned. + (SIZE_TYPE, PTRDIFF_TYPE, TARGET_EDOM): Define. + * rix-gas.h (DBX_CONTIN_LENGTH): Set to 80. + (DEFAULT_GDB_EXTENSIONS, DBX_NO_XREFS): Don't try to pander to dbx, it + is just to broken to use. + +Wed Jun 22 20:13:03 1994 Will Athanasiou (will@westford.ccur.com) + + * configure (m68k-ccur-rtu): New configuration. + * config.sub (m68k-ccur): New system. + * protoize.c: Include , not on Concurrent. + * ccur-GAS.h, x-ccur: New files. + +Wed Jun 22 18:49:17 1994 Walter Misar (misar@rbg.informatik.th-darmstadt.de) + + * m68k/hp320.h (LINK_SPEC): New macro. + +Wed Jun 22 18:43:51 1994 Ian Lance Taylor (ian@cygnus.com) + + * configure: For target alpha-*-*, if using gas, set + target_cpu_default to 4. + * config/alpha/alpha.h (TARGET_SWITCHES): Include + TARGET_CPU_DEFAULT in default value. + (TARGET_CPU_DEFAULT): Define as 0 if not already defined. + (ASM_FINAL_SPEC): Include TARGET_CPU_DEFAULT in test for which + version to define. + +Wed Jun 22 18:15:41 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * loop.c (strength_reduce): When replacing DEST_ADDR givs, make + sure resulting insn is valid. + + * optabs.c (expand_binop): New variable next_methods; pass to + most recursive calls when trying to avoid libcalls. + Always check for a return value of zero in recursive calls. + (expand_float): Ensure TARGET has proper mode. + Pass OPTAB_LIB_WIDEN to expand_binop calls. + +Tue Jun 21 14:35:38 1994 Doug Evans (dje@cygnus.com) + + * cccp.c (skip_to_end_of_comment): Catch unterminated comments. + +Sat Jun 18 17:49:41 1994 Jason Merrill (jason@deneb.cygnus.com) + + * fixproto: Move hacking of assert.h from here. + * fixincludes: To here. + +Sat Jun 18 16:42:31 1994 Jim Wilson (wilson@cygnus.com) + + * c-typeck.c (process_init_element): For fieldtype, don't access + TYPE_MAIN_VARIANT field if the type is error_mark_node. + + * jump.c (duplicate_loop_exit_test): Initialize copy to zero. + Emit jump to end lable if copy is still zero. + + * mips.md (truncdisi2): Change from define_insn to define_expand. + (truncdihi2, truncdiqi2, extendsidi2): Likewise. + (extendsidi2_internal): New pattern. + + * loop.c (move_movables): Copy CALL_INSN_FUNCTION_USAGE field. + + * sdbout.c (sdbout_one_type): Use DECL_ASSEMBLER_NAME if + DECL_LANG_SPECIFIC is set. Use DECL_ASSEMBLER_NAME not + DECL_NAME for child_type that is a template type. + (sdbout_symbol): Use DECL_ASSEMBLER_NAME if DECL_LANG_SPECIFIC + is set. + +Sat Jun 18 16:39:03 1994 Kung Hsu (kung@mexican.cygnus.com) + + * dbxout.c (dbxout_symbol): Replace DECL_IGNORED_P with + TYPE_DECL_SUPPRESS_DEBUG. + +Sat Jun 18 10:21:44 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * expmed.c (expand_shift): Don't try extzv for lshr. + + * vax.md (lshrsi3): New define_expand. + + * optabs.c: Pass NULL_RTX for TARGET in calls to expand_{un,bin}op. + (expand_float): Use expand_shift instead of expand_binop. + +Fri Jun 17 15:05:58 1994 Ian Lance Taylor (ian@cygnus.com) + + * fixincludes: Correct math.h on Lynx handling again. + +Fri Jun 17 10:52:41 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) + + * cse.c (simplify_binary_operation, case MINUS): Check mode of op0, + instead of op1, before calling plus_constant. + +Fri Jun 17 01:42:37 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * pa.h (DEBUGGER_AUTO_OFFSET): Define. If no frame pointer + is available, then adjust the offset by the size of the current + frame. + +Thu Jun 16 16:35:12 1994 Jason Merrill (jason@deneb.cygnus.com) + + * tree.h (DECL_DEFER_OUTPUT): New macro. + * toplev.c (compile_file): Unset DECL_DEFER_OUTPUT on decls + considered at end of file. + * integrate.c (output_inline_function): Unset DECL_DEFER_OUTPUT on + fndecl. + * toplev.c (rest_of_compilation): Also postpone compilation of + inlines with DECL_DEFER_OUTPUT set. + (compile_file): Always emit postponed inlines if + -fkeep-inline-functions. + +Thu Jun 16 11:00:14 1994 Ian Lance Taylor (ian@cygnus.com) + + * fixincludes: Fix argument type for ffs in on Alpha + OSF/1 V2.0. + +Thu Jun 16 06:49:03 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * reload1.c (reload_reg_free_p, case RELOAD_OTHER): Allowed + to conflict with RELOAD_FOR_OTHER_ADDRESS. + + * cse.c (set_nonvarying_address_components): Rework and also + handle an AND used for non-aligned accesses. + +Thu Jun 16 06:36:49 1994 Chip Salzenberg (chip@fin.uucp) + + * i386.h (REG_ALLOC_ORDER): Prefer registers listed in + CALL_USED_REGISTERS. + +Wed Jun 15 20:45:14 1994 Jason Merrill (jason@deneb.cygnus.com) + + * tree.h (TREE_NO_UNUSED_WARNING): Note that this can be applied + to COMPOUND_EXPRs, too. + + * stmt.c (warn_if_unused_value): Handle TREE_NO_UNUSED_WARNING for + COMPOUND_EXPRs, too. + +Wed Jun 15 20:35:21 1994 David Edelsohn (edelsohn@npac.syr.edu) + + * rs6000.md (divsi3): Fix divide by 2^N with compare RTL. + + * rs6000.md (maxsf3, minsf3, maxdf3, mindf3): Fix predicate of + define_split. + (muldi3): Fix predicate. + (movdf matcher): Allow update and indexed for lfd instruction. + +Wed Jun 15 19:24:23 1994 Doug Evans (dje@cygnus.com) + + * dbxout.c (dbxout_type): Fix call to bzero. + +Wed Jun 15 19:20:34 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * cse.c (simplify_unary_operation): Fix typo in last change. + +Wed Jun 15 15:20:54 1994 Per Bothner (bothner@cygnus.com) + + * dbxout.c (dbxout_range_type): Handle the case that an array + range is neither an integer nor a sub-range. (In Pascal or + Chill it could be a Boolean, character, or enumeral type.) + +Wed Jun 15 04:00:42 1994 Ian Lance Taylor (ian@cygnus.com) + + * genmultilib: New shell script to generate multiple library + information. + * Makefile.in (multilib.h, stmp-multilib, install-multilib): New + targets. + (gcc.o): Depend on multilib.h. + (clean): Remove multilib.h and tmpmultilib*. + * gcc.c: Include multilib.h. + (print_multi_lib, print_multi_directory, multilib_select, + multilib_dir): New static variables. + (option_map): Added --print-multi-lib and --print-multi-directory. + (set_spec): Get multilib_select from specs file. + (process_command): Dump multilib_select into specs file. Handle + -print-multi-lib and -print-multi-directory. + (do_spec_1): Try multilib_dir for %D case. + (find_file): Try multilib_dir. + (main): Call set_multilib_dir. Handle print_multi_lib and + print_multi_directory. + (used_arg, set_multilib_dir, print_multilib_info): New functions. + * configure (sparc-*-sunos4*): Use target fragment sparc/t-sunos4. + * sparc/t-sunos4: New file. + +Wed Jun 15 03:54:32 1994 Doug Evans (dje@cygnus.com) + + Add support for the SPARC V9 cpu. + * configure (sparc64-*-aout): New target. + (sparc64-*-elf): New target. + * config.sub (sparc64): New cpu. + (aout, elf): New os's. + * genconfig.c (main): Allow targets to override HAVE_conditional_move. + * jump.c (jump_optimize): Use it at run-time. + * sparc/t-sp64: New file. + * sparc/sp64-aout.h: New file. + * sparc/sp64-elf.h: New file. + * sparc/sysv4.h (ASM_OUTPUT_CASE_LABEL): Handle 64 bit pointers. + * sparc/sparc.h (cpu_type): New enum. + (CPP_PREDEFINES,CPP_SPEC): Add v9 support. + (NO_BUILTIN_PTRDIFF_TYPE, NO_BUILTIN_SIZE_TYPE, MAX_WCHAR_TYPE_SIZE, + SHORT_TYPE_SIZE, INT_TYPE_SIZE, LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, + FLOAT_TYPE_SIZE, DOUBLE_TYPE_SIZE, MAX_INT_TYPE_SIZE, + MAX_LONG_TYPE_SIZE): Define. + (PTRDIFF_TYPE, SIZE_TYPE, BITS_PER_WORD, MAX_BITS_PER_WORD, + UNITS_PER_WORD, MAX_UNITS_PER_WORD, LONG_DOUBLE_TYPE_SIZE, + POINTER_SIZE, PARM_BOUNDARY, STACK_BOUNDARY, SPARC_STACK_ALIGN, + EMPTY_FIELD_BOUNDARY, BIGGEST_ALIGNMENT, FIRST_PSEUDO_REGISTER, + FIXED_REGISTERS, CALL_USED_REGISTERS, CONDITIONAL_REGISTER_USAGE): + Add v9 support. + (sparc_override_options, sparc_code_model): Declare. + (OVERRIDE_OPTIONS): Call it. + (MASK_*): Define bits set by target flags. + (TARGET_*): Use them. + ({MASK,TARGET}_{V9,INT64,LONG64,PTR64,ENV32,STACK_BIAS, + MEDLOW,MEDANY,FULLANY}): Define. + (MEDANY_BASE_REG): Define. + (V9_SWITCHES, TARGET_OPTIONS): Define. + (TARGET_SWITCHES, TARGET_DEFAULT): Use MASK_*. + (SPARC_STACK_BIAS, SECONDARY_MEMORY_NEEDED_MODE): Define. + (SECONDARY_MEMORY_NEEDED): Simplify. + (hard_regno_mode_class, sparc_mode_class, sparc_cpu_type): Declare. + (REG_PARM_STACK_SPACE): Do not define if v9. + (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK, MODES_TIEABLE_P, + RETURN_IN_MEMORY, STRUCT_VALUE, STRUCT_VALUE_INCOMING, reg_class, + REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS, REG_ALLOC_ORDER, + REG_LEAF_ALLOC_ORDER, LEAF_REGISTERS, REG_CLASS_FROM_LETTER, + CLASS_MAX_NREGS, STARTING_FRAME_OFFSET, FIRST_PARM_OFFSET, + BASE_RETURN_VALUE_REG, BASE_OUTGOING_VALUE_REG, BASE_PASSING_ARG_REG, + BASE_INCOMING_ARG_REG, FUNCTION_ARG_REGNO_P): Add v9 support. + (sparc_arg_class): New enum (v9 only). + (sparc_args): New struct to record v9 arguments. + (CUMULATIVE_ARGS): Use it (v9 only). + (GET_SPARC_ARG_CLASS): Define. + (sparc_arg_count, sparc_n_named_args): Declare. + (PASS_IN_REG_P): Define. + (ROUND_REG, ROUND_ADVANCE, INIT_CUMULATIVE_ARGS, FUNCTION_ARG_ADVANCE, + FUNCTION_ARG, FUNCTION_INCOMING_ARG, FUNCTION_ARG_PARTIAL_NREGS, + FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): + Add v9 support. + (sparc64_init_expanders, sparc64_fpconv_stack_temp): Declare. + (INIT_EXPANDERS): Define (v9 only). + (gen_v9_scc, output_v9branch): Declare. + (HAVE_conditional_move): Define. + (FUNCTION_PROFILER, FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER, + DYNAMIC_CHAIN_ADDRESS, RETURN_ADDR_RTX, REGNO_OK_FOR_FP_P, + REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P, EXTRA_CONSTRAINT, + CASE_VECTOR_MODE, Pmode, EXTRA_CC_MODES, EXTRA_CC_NAMES, + SELECT_CC_MODE, REGISTER_NAMES): Add v9 support. + (REGNO_OK_FOR_CCFP_P): Define. + (sparc_initialize_trampoline, sparc64_initialize_trampoline): Declare. + (INITIALIZE_TRAMPOLINE): Call them. + (ENCODE_SECTION_INFO): Mark functions in v9. + (RTX_COSTS): Assume MULT costs the same for v9 as v8. + (ASM_LONGLONG, ASM_FLOAT): Define. + (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Add v9 support. + * sparc/sparc.c (SKIP_CALLERS_UNIMP_P): Define. + (sparc_cpu_type, sparc_arg_count, sparc_n_named_args, + frame_base_offset, fpconv_stack_temp): New globals. + (leaf_reg_remap): Add additional registers for v9. + (sparc_override_options, sparc64_init_expanders, + sparc64_fpconv_stack_temp, intreg_operand, ccfp_reg_operand, + data_segment_operand, text_segment_operand, v9_regcmp_op, + arith11_operand, arith10_operand, arith11_double_operand, + arith10_double_operand, gen_v9_scc, emit_v9_brxx_insn, + sparc_init_modes, build_big_number, output_v9branch, + sparc_initialize_trampoline, sparc64_initialize_trampoline): + New functions. + (arith_double_operand, gen_compare_reg, finalize_pic, + emit_move_sequence, mem_aligned_8, output_move_double, + output_move_quad, output_fp_move_double, output_fp_move_quad, + output_block_move, save_regs, restore_regs): Add v9 support. + (sparc_mode_class): New enum. + (*_MODES): Redefine to use it. + (hard_32bit_mode_classes): Renamed from hard_regno_mode_ok. + (hard_regno_mode_classes, hard_64bit_mode_classes, + sparc_mode_class): New globals. + (num_gfregs): Renamed from num_fregs. + (compute_frame_size): Add v9 support. Simplify calculations. + (output_function_prologue): Call build_big_number to compute stack + size in %g1, then adjust %sp. + Fix saving of call saved registers. Handle new v9 registers. + (output_function_epilogue): Fix restoration of call saved registers. + Handle new v9 registers. + Use SKIP_CALLERS_UNIMP_P to see if unimp insn is at return address. + (sparc_builtin_saveregs): Define v9 version. + (output_cbranch): New argument fp_cond_reg. All callers changed. + Add v9 support. + (output_return): Use SKIP_CALLERS_UNIMP_P. + (print_operand): New codes '_', '@', 'C', 'D'. + (output_double_int): Handle LABEL_REF and MINUS for v9. + Use ASM_LONGLONG if assembler can handle it. + * sparc/sparc.md (cpu): New attribute. + (type attribute): New value cmove (conditional moves). + (cmpdi): New pattern for v9. + (seq*, sne*): Add v9 support. + (sgt,slt,sge,sle): Explicitly restrict operand 0 to the integer + registers. Try emitting a conditional move for v9. + (sgtu,sltu,sgeu,sleu): Likewise. + (comparison insns): Add v9 versions. + (scc insns): Add DImode versions for v9. + (beq, bne, bgt, blt, bge, ble): If comparing DImode with 0 on v9, + use brxx insns. Use emit_jump_insn, not emit_insn, as the latter + mishandles brxx insns. + (branch insns): Update calls to output_cbranch. + Add v9 versions to support multiple floating point condition code regs. + Add v9 versions to support brxx insns. + (lo_sum, high, pic): Add v9 support. + (symbolic move patterns): Disable for v9. + (DImode, DFmode, TFmode moves): Add v9 support. + (conditional move insns): Define for v9. + (zero_extendqidi2, extendqidi2, zero_extendhidi2, extendhidi2, + zero_extendsidi2, extendsidi2, floatdisf2, floatdidf2, floatditf2, + fix_truncsfdi2, fix_truncdfdi2, fix_trunctfdi2, muldi3, divdi3, + udivdi3, ashldi3, ashrdi3, lshrdi3, ffsdi2): New patterns for v9. + (bitfield compare insn): Add DImode version for v9. + (adddi3, subdi3, negdi2, anddi3, iordi3, xordi3, one_cmpldi2, + mixed mode fp mult insns, negdf2, negtf2, absdf2, abstf2, tablejump, + call, call_value, untyped_call, untyped_return, indirect_jump, + flush_register_windows, flush): Add v9 support. + (ldd peep holes): Disable for v9. + (set/compare peep hole): Define DImode version for v9. + (sign extend/compare peep hole): Likewise. + (return peep holes): Add v9 support. + (call/jump peep holes): Add v9 support. + * ginclude/va-sparc.h: Add v9 support. + +Tue Jun 14 22:44:52 1994 Michael Meissner (meissner@osf.org) + + * config/i386/i386.h (reg_class): Add AD_REGS that match %eax and + %edx to allow %eax:%edx to be specified as one DI register. + (REG_CLASS_NAMES): Ditto. + (REG_CLASS_CONTENTS): Ditto. + (REG_CLASS_FROM_LETTER): 'A' specifies AD_REGS. + + * config/i386/i386.md (umulqihi3): Name the insn with the standard + name. + (mulqihi3, umulsidi3, mulsidi3): Add new widening multiply 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. - - * combine.c (force_to_mode, LSHIFTRT case): Avoid shifts larger - than HOST_BITS_PER_WIDE_INT. - - * sched.c (schedule_insns): Don't zero reg_n_calls_crossed for - pseudos live across multiple blocks. - - * fixincludes ({sparc,sun3,sun3x,sun4,sun4c,sun4m}/asm_linkage.h, - {sun4c,sun4m}/debug/asm_linkage.h: Replace /**/ with ##. - - * reorg.c (mark_target_live_regs): When scanning insns, ignore - CLOBBERs in addition to USEs. - - * 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. - - * 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. - - * sparc/bsd.h: New file. - * configure (sparc-*-bsd*): New configuration. - - * 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). - -Tue Sep 28 16:00:25 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * bc-emit.c: Include gvarargs.h, not varargs.h. - Don't include string.h. - (seg_align): Use bzero, not memset. +Tue Jun 14 22:25:16 1994 Torbjorn Granlund (tege@adder.cygnus.com) -Mon Sep 27 20:53:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c-typeck.c (pop_init_level): Add special case for nonincremental - scalar initializers. - - * protoize.c: Declare rindex unconditionally. - - * c-decl.c (init_decl_processing): Use signed_type and unsigned_type - to set signed_wchar_type_node and unsigned_wchar_type_node. - -Mon Sep 27 20:31:01 1993 Paul Eggert (eggert@twinsun.com) - - * 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): + * fold-const.c (encode, decode): Use 4 HOST_WIDE_INTs for encoded + value with HOST_BITS_PER_WIDE_INT/2 bits in each. + (LOWPART, HIGHPART): New macros. + (BASE): Move definition outside of div_and_round_double. + (add_double, mul_double, lshift_double, rshift_double): Rewrite. + (lrotate_double): Use LOWPART, HIGHPART, and BASE. + (rrotate_double): Likewise. + (div_and_round_double): Major changes to code for general case. + Now it actually produces non-garbage results for large operands. + (div_and_round_double): Simplify condition for special code used when + divisor < BASE. + (const_binop): Delete special cases for multiplying by 0, 1, 2, 4, 8. + (fold, case *_DIV_EXPR): Don't try to optimize for overflow. + * machmode.h (MAX_SHORTS): Deleted. + + * m68k.md: Trivial simplification of many patterns. + (subsi3): Don't handle CONST_INT for operand 2. + (ashiftrt, op2 > 8): New pattern. + (lshiftrt, op2 > 8): New pattern. + + * a29k.md (logical patterns): Tune to give better code for immediate + values. + * a29k.c (cmplsrcb_operand): New predicate. + * a29k.h (PREDICATE_CODES): Add cmplsrcb_operand. + +Tue Jun 14 17:52:10 1994 Tor Egge (tegge@flipper.pvv.unit.no) + + * m88k/sysv3.h (DO_GLOBAL_CTORS_BODY): Call __builtin_alloca + with a non-zero argument, forcing a frame pointer to be needed. + +Tue Jun 14 17:37:41 1994 Mike Collison (collison@sw.stratus.com) + + * reload.h (RELOAD_FOR_OPADDR_ADDR): New reload class. + * reload.c (find_reloads): Change secondary reloads of class + RELOAD_FOR_OPERAND_ADDRESS to RELOAD_FOR_OPADDR_ADDR. + * reload1.c (reload): Process and accumulate needs for + RELOAD_FOR_OPADDR_ADDR reloads. + When determining if needs are nongroup needs, ignore + inactive or optional reloads. + (reload_reg_used_in_op_addr_reload): New variable to indicate + when reloads of class RELOAD_FOR_OPADDR_ADDR are in use. + (mark_reload_reg_in_use, clear_reload_reg_in_use): + Process reloads of class RELOAD_FOR_OPADDR_ADDR. + (reload_reg_free_p, reload_reg_free_before_p, reloads_conflict): 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. - -Mon Sep 27 19:31:57 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * bi-lexer.c (xrealloc): Handle 0 passed as BLOCK. - - * 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. - - * c-lex.c (yylex): Handle i together with f or l in float constant. - -Mon Sep 27 19:00:18 1993 Ian Lance Taylor (ian@cygnus.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. - -Mon Sep 27 18:59:09 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * reload1.c (eliminate_regs, SET case): Check for INSN_LIST - along with EXPR_LIST. - -Mon Sep 27 14:29:17 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - - * objc/typedstream.h (objc_read_object): Add declaration. - -Mon Sep 27 17:00:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * configure: Handle option --with-elf. - (i[34]86-*-linux*): Use linuxelf.h if --with-elf. - (i[34]86-*-osfelf): Config deleted. - (i[34]86-*-osfrose): Handle --with-elf. - * config/i386/linuxelf.h: New file. - -Mon Sep 27 14:19:33 1993 Jan Brittenson (bson@nutrimat.gnu.ai.mit.edu) - - * expr.c (bc_expand_constructor): Delete cast of argument to - bc_emit_instruction to HOST_WIDE_INT. Move assignment of ptroffs - to separate line. - -Mon Sep 27 10:32:28 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * Makefile.in (stmt.o, expr.o, emit-rtl.o): Add missing dependency - on bc-typecd.def. - (bi-run.o): Fix formatting. - -Mon Sep 27 10:26:43 1993 Jan Brittenson (bson@nutrimat.gnu.ai.mit.edu) - - * 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. - -Sun Sep 26 23:11:34 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * pa.h (ASM_FILE_START): Remove last change for $LIT$ subspace, - not all HPUX linkers handle it correctly. - -Sun Sep 26 20:51:36 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * stmt.c (expand_exit_loop_if_false, bc_expand_start_cond): - Use xjumpifnot, not jumpifnot. - - * Makefile.in (bi-arity, bi-opcode, bi-opname): Delete $(LEXLIB). - - * varasm.c (assemble_string): Put braces around ASM_OUTPUT_ASCII. - -Sat Sep 25 08:30:16 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * expr.c (expand_expr, case COND_EXPR): Set MEM_IN_STRUCT_P - properly for TEMP. - - * 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. - -Fri Sep 24 15:05:14 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * reload1.c (eliminate_regs): Specially handle the case where INSN - is a note (an EXPR_LIST or INSN_LIST). - (eliminate_regs_in_insn): Pass the notes as INSN, - when calling eliminate_insn to process the notes. - -Fri Sep 24 11:29:26 1993 Michael Meissner (meissner@osf.org) - - * i386/osfrose.h (SET_ASM_OP): Define. - -Fri Sep 24 04:47:33 1993 Jan Brittenson (bson@nutrimat.gnu.ai.mit.edu) - - * Makefile.in (toplev.o): Add bytecode.h and bc-emit.h to list - of dependencies. - (stmt.o): Add bytecode.h, bc-typecd.h, bc-opcode.h, bc-optab.h, - and bc-emit.h to list of dependencies. - (expr.o): Add bytecode.h, bc-opcode.h, bc-typecd.h, bc-optab.h, - bc-emit.h, and modemap.def to list of dependencies. - (emit-rtl.o): Add bytecode.h, bc-opcode.h, bc-typecd.h, - bc-optab.h, bc-emit.h, bc-opname.h to list of dependencies. - (integrate.o, regclass.o, varasm.o, function.o): Add bytecode.h to - list of dependencies. - -Thu Sep 23 23:58:58 1993 James Van Artsdalen (james@bigtex.cactus.org) - - * att.h (ASM_OUTPUT_ASCII): Enclose macro in "do { .. } while (0)". - * sun386.h (ASM_OUTPUT_ASCII): Likewise. - -Thu Sep 23 11:55:47 1993 Ted Lemon (mellon@ncd.com) - - * toplev.c (lang_options): Add -fallow-single-precision. - -Thu Sep 23 00:40:28 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * Makefile.in (bi-parser.c): Supply explicit rule. - Add bi-parser.h as target. - Put these files in srcdir. - - * bc-emit.c (bc_gen_rtx): Call gen_rtx. - (bc_print_rtl): #if 0 the contents. - - * Makefile.in (bc-optab.o, bc-emit.o): Add missing deps. - (bi-parser.c, bi-lexer.c): Don't depend on .h files here. - - * varasm.c (handle_pragma_weak): Test HANDLE_PRAGMA_WEAK - and WEAK_ASM_OP and SET_ASM_OP. - - * Makefile.in (stmt.o): Fix typo. - - * emit-rtl.c (gen_label_rtx): If output_bytecode, make a CODE_LABEL - but with different contents. - - * rtl.h (BYTECODE_LABEL, BYTECODE_OFFSET, BYTECODE_BC_LABEL): - (BYTECODE_UID): New macros. - (struct rtx_def): Delete elements label, offset, bc_label, uid. - - * 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. - - * expr.c (expand_increment): Don't store directly ito a subreg - that is narrower than a word. - -Wed Sep 22 22:18:35 1993 Chip Salzenberg (chip@fin.uucp) - - * 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. - -Wed Sep 22 22:13:07 1993 James Van Artsdalen (james@bigtex.cactus.org) - - * bc-emit.c (bc_initialize): Add MODE arg to REAL_VALUE_ATOF calls. - - * Makefile.in (bi-lexer.c): File is in $(srcdir). - - * reg-stack.c (record_label_references): Don't follow a null label - reference chain. - -Wed Sep 22 15:56:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * 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 $@. - - * 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. - - * Makefile.in (bi-lexer.o, bi-parser.o): Use ALL_CFLAGS. - - * bi-arity.c (main): Make sure there's some value within - each pair of braces. - - * 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. - - * varasm.c (bc_assemble_integer): Make definition static. - - * expr.c (bc_strdup): Don't use strcpy's value. - - * 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__. - -Wed Sep 22 15:49:47 1993 Ted Lemon (mellon@ncd.com) - - * 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. - -Wed Sep 22 11:18:24 1993 Mike Stump (mrs@cygnus.com) - - * cp-class.c (finish_struct): Move special C++ only code that - handles anonymous unions inside structures here. - * stor-layout.c (layout_record): From here. - -Wed Sep 22 14:14:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * enquire.c (FPROP): Recognize 80387 or 68881 XFmode format. - - * c-typeck.c (build_component_ref): For a field in an anonymous union, - make two nested COMPONENT_REFs. - (lookup_field): Additional arg INDIRECT. - -Wed Sep 22 14:45:42 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - - * tm.texi (CLEAR_INSN_CACHE): New macro. - * libgcc2.c (__clear_cache): add case for new CLEAR_INSN_CACHE. - - * 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. - - * varasm.c (output_constructor): Use the type given - by the constructor expression only if available. Otherwise - use the type of the declared type. - -Tue Sep 21 19:51:26 1993 Andrew McCallum (mccallum@vein.cs.rochester.edu) - - * objc/Object.[hm] (-compare:, -shouldNotImplement:): Added. - - * 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. - -Tue Sep 21 18:35:04 1993 Per Bothner (bothner@kalessin.cygnus.com) - - * c-typeck.c (push_member_name): Take a decl instead of a string. - Allow DECL_NAME to be NULL (anonymous fields). - * c-typeck.c (push_init_level, process_init_element): Change - callers appropriately. - -Tue Sep 21 16:44:17 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * libgcc2.c (L_bb): Test inhibit_libc. - - * Makefile.in (ENQUIRE, CROSS_TEST): New variables. - (all.cross): Use them. - - * mips-tfile.c, mips-tdump.c [CROSS_COMPILE]: Include mips/a.out.h. - - * 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. - -Tue Sep 21 10:50:19 1993 Jan Brittenson (bson@nutrimat.gnu.ai.mit.edu) - - * emit-rtl.c (gen_label_rtx, emit_line_note): add conditional for - bytecode. - - * 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. - - * 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. - - * integrate.c (output_inline_function): signal error for bytecode. - - * regclass.c (fix_register): signal error for bytecode. - - * 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. - - * 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. - - * 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. - - * c-pragma.c (handle_pragma_token): use handle_pragma_weak. - - * function.h (enum pragma_state): moved from c-pragma.c - - * 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. - - * 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 - - -Tue Sep 21 10:20:55 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * jump.c (jump_optimize): Try putting RETURN at end of function - both at start and at end of our optimization. - -Mon Sep 20 17:22:13 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * expr.c (expand_expr): Handle flag_volatile here. - * c-typeck.c (build_indirect_ref): TREE_THIS_VOLATILE no longer - depends on flag_volatile. - -Mon Sep 20 15:21:31 1993 Doug Evans (dje@cygnus.com) - - * gstddef.h: Back out change of Sep 15 (handles Sun lossage). - Prevented bootstrapping. - -Mon Sep 20 12:21:56 1993 Kresten Krab Thorup (krab@iesd.auc.dk) - - * objc/archive.c (objc_read_string): Allocate n+1 chars instead of - just n. - -Sun Sep 19 13:06:37 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * function.c (combine_temp_slots): Handle deletion properly. - Free the RTL that is allocated. - * rtl.c (rtx_free): New function. - - * config/m68k/m68k.c (output_move_double): Handle register overlap - case that occur in soft-float XFmode. Code basically copied from - i386.c. - -Sun Sep 19 14:40:08 JDT 1993 Michael Ben-Gershon (mybg@cs.huji.ac.il) - - * 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. - -Sun Sep 19 12:49:05 1993 James Van Artsdalen (james@bigtex.cactus.org) - - * Makefile.in (objc-headers): Depend on stmp-fixinc to build the - include/ subdirectory first. - -Sun Sep 19 09:45:16 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) - - * gstddef.h (size_t): Acorn RISCiX requires __size_t defined. - -Sun Sep 19 09:08:09 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * 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. - - * reload.c (find_reloads): Reject an alternative if two operands - match the same output and we have to do a reload. - - * 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. - - * xm-alpha.h: Add extern declaration for alloca. - - * a29k.h (PREDICATE_CODES): Fix typos and add missing entries. - * alpha.h, i860.h i960.h, m88k.h, mips.h, rs6000.h: Likewise. - -Sat Sep 18 09:27:03 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * expr.c (convert_move): Use emit_library_call_value. - -Sat Sep 18 08:01:44 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * alpha.h (REG_ALLOC_ORDER): Add missing entries. - - * combine.c (recog_for_combine): Fix typos in previous change. - - * 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. - -Fri Sep 17 21:40:02 1993 Per Bothner (bothner@cygnus.com) - - * 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.) - -Fri Sep 17 20:38:53 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c-typeck.c (output_init_element): Update constructor_bit_index - for union types. - - * libgcc2.c: Declare __fixunsxfdi only if really have XFmode. - Likewise for __fixunstfdi. - -Fri Sep 17 18:08:37 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * combine.c (recog_for_combine): Always reject a PARALLEL containing - our special CLOBBER. - - * cse.c (fold_rtx, case MINUS): Copy result obtained from - hash table. - - * cse.c (fold_rtx, case SUBREG): If paradoxical SUBREG of a - constant, return the constant. - - * 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. - -Fri Sep 17 16:03:22 1993 Per Bothner (bothner@cygnus.com) - - * 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. - -Fri Sep 17 09:02:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * expr.h (emit_library_call_value): Fix declaration. - -Thu Sep 16 12:05:44 1993 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in (fixinc.ready): New target, like libgcc2.ready, - depending on xgcc and cpp. - (stmp-fixinc): Depend on fixinc.ready instead of xgcc and cpp. - (clean): Remove fixinc.ready. - -Thu Sep 16 10:22:17 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * reload.c (find_reloads): For PLUS operand, call find_reloads_toplev. - - * optabs.c (expand_complex_abs): Fix typo in prev change. - -Thu Sep 16 02:06:11 1993 Jim Wilson (wilson@cygnus.com) - - * 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. - - * 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. - -Wed Sep 15 17:38:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * gstddef.h: Delete the conditional that used to semi-avoid - interference with sys/stdtypes.h on Sun. (fixincludes makes - it ok.) - -Wed Sep 15 16:17:09 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * pa.h (ASM_FILE_START): Fix access information for $LIT$ - subspace. - -Wed Sep 15 14:53:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * config/ns32k/ns32k.md: Add peepholes for stack adjust plus pushes. - -Wed Sep 15 13:38:24 1993 Doug Evans (dje@canuck.cygnus.com) + (choose_reload_regs): Support RELOAD_FOR_OPADDR_ADDR reloads. + (emit_reload_insns): Output RELOAD_FOR_OPADDR_ADDR reloads. - * c-typeck.c (lookup_field): New function (for chill). - (build_component_ref): Call it. +Tue Jun 14 17:29:53 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Wed Sep 15 08:12:32 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cccp.c, toplev.c, tree.c, print-tree.c, fold-const.c: + Cast pointer operands to bzero, bcopy, and bcmp to (char *). + * function.c, stmt.c, expmed.c, varasm.c, emit-rtl.c: Likewise. + * dbxout.c, integrate.c, jump.c, real.h, calls.c, cse.c: Likewise. + * loop.c, unroll.c, flow.c, stupid.c, combine.c, regclass.c: Likewise. + * local-alloc.c, global.c, reload.c, reload1.c, sched.c: Likewise. + * genattrtab.c, bc-emit.c, gcc.c, collect2.c: Likewise. - * libgcc2.c: Declare __fixunsxfdi and __fixunstfdi. + * c-decl.c (min_precision): New function. + (finish_enum): Rewrite code to determine precision required + for enumeral type. - * integrate.c (copy_for_inline, copy_rtx_and_substitute): - Always preserve the volatil flag when copying ASM_OPERANDS. + * cse.c (simplify_unary_operation): Correctly and consistently + handle CONST_INT cases for FLOAT and UNSIGNED_FLOAT. -Tue Sep 14 21:56:20 1993 Jim Wilson (wilson@cygnus.com) + * xm-alpha.h (sbrk): Don't declare here. - * c-typeck.c (valid_compound_expr_initializer): New function. - (digest_init): Handle compound expressions as initializers when - pedantic. + * alpha.h (CONST_COSTS, case CONST_INT): Fix typo. - * varasm.c (immed_double_const, immed_real_const_1): Don't touch - const_double_chain if not inside a function. + * tree.c (staticp, case FUNCTION_DECL): A nested function isn't static. -Tue Sep 14 16:22:03 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) + * i386/linux.h (STARTFILE_SPEC): Don't force -static for -g. - * c-typeck.c (digest_init): Compare types using comptypes - instead of comparing pointers. (Helps Chill front end.) + * gcc.c (find_a_file): Try EXECUTABLE_SUFFIX first, then file + without the suffix. -Tue Sep 14 12:16:52 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * jump.c (jump_optimize): Don't delete dead insn if it has a + REG_RETVAL note. - * 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. + * fix-header.c (xstrdup): Renamed from strdup. + (check_protection): Call xstrdup, not strdup. - * 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. +Tue Jun 14 17:26:08 1994 David Edelsohn (edelsohn@npac.syr.edu) - * reload.c (find_dummy_reload): New args inmode, outmode. - (find_reloads): Pass new args. - (push_reload): Likewise. + * rs6000.h (TARGET_SWITCHES): Remove -mpowerpc64 and -mno-powerpc64. + * rs6000.c (rs6000_override_options): Remove MPC620 cpu variants. -Mon Sep 13 12:52:03 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rs6000.c (output_prolog): Fix error in loading size of large + stack frames. - * c-typeck.c (set_init_index): Don't allow variable indices. +Tue Jun 14 17:24:09 1994 Chip Salzenberg (chip@fin.uucp) - * c-decl.c (complete_array_type): Handle TREE_PURPOSE - of array constructor elements. + * reload1.c (reload_as_needed): Clear spill_reg_store at start. + (emit_reload_insns): Omit erroneous predicate of reload + deletion -- reload_spill_index is not indexed by regno. - * expr.c (store_constructor): Handle TREE_PURPOSE of array constructor. - (expand_expr, ARRAY_REF case): Likewise. +Tue Jun 14 15:59:55 1994 Ian Lance Taylor (ian@cygnus.com) - * varasm.c (output_constructor): Handle index value in - the TREE_PURPOSE, for array constructors. - - * 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. - -Sun Sep 12 23:00:25 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) - - * expr.c (expand_expr, case ARRAY_REF): Coerce lower bound (if - non-zero) to sizetype before subtraction. - -Sun Sep 12 16:18:18 1993 Richard Stallman (rms@mole.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. - -Sun Sep 12 10:59:08 1993 Bill Cox (bill@cygnus.com) - - * c-typeck.c (digest_init): Remove obsolete comments on args - TAIL, OF_WHAT. - -Sun Sep 12 08:45:36 1993 Richard Stallman (rms@mole.gnu.ai.mit.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. - - * expmed.c (expand_shift): Use convert_modes. - (emit_store_flag): Likewise. - -Sat Sep 11 16:44:15 1993 Doug Evans (dje@canuck.cygnus.com) - - * collect2.c (main): Provide upward compatibility with old version - of collect (avoids infinite mutual recursion between the two). - -Sat Sep 11 13:05:07 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) - - * c-typeck.c (constructor_no_implicit): New variable. - If set, dis-allows eliding of braces in initializers. - (Set by Chill front-end.) - * c-typeck.c (process_init_element): Use it. - -Sat Sep 11 15:55:25 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * stor-layout.c (layout_record): Turn off PCC_BITFIELD_TYPE_MATTERS - rounding of field bitpos, if maximum_field_alignment is nonzero. - -Fri Sep 10 08:52:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c-typeck.c (check_init_type_bitfields): Check for mismatch - between field's mode and its type's mode. - - * expr.c (protect_from_queue): Don't alter an existing MEM. - (convert_modes): Use X's mode (not OLDMODE) unless it is VOIDmode. - -Fri Sep 10 01:01:32 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) - - * config.sub: Recognize operating system `netbsd*'. - -Thu Sep 9 18:09:14 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) - - * c-typeck.c (really_start_incremental_init, push_init_level): - Add support for arrays with non-zero lower bounds. (Used by Chill.) - -Thu Sep 9 19:20:59 1993 Jim Wilson (wilson@cygnus.com) - - * tree.c (make_node): Put PARM_DECLs of nested functions onto - parent's saveable obstack. - -Thu Sep 9 14:17:00 1993 Ian Lance Taylor (ian@cygnus.com) - - * 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. - -Thu Sep 9 09:48:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * expr.c (expand_expr): Set ignore for COND_EXPR with VOID_TYPE. - - * 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. - - * optabs.c (widen_operand): New arg OLDMODE. - (expand_binop, expand_unop): Fix calls to widen_operand. - -Wed Sep 8 18:25:50 1993 Doug Evans (dje@cygnus.com) - - * 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) - - * dbxout.c (dbxout_parms): For parameters in registers, if use - DECL_RTL, then must use TREE_TYPE instead of DECL_ARG_TYPE. - - * mips.md (fix_truncdfsi2, fixtruncsfsi2): Mark SImode scratch - register as early clobbered when dest is in memory. - - * fixincludes (sbusdev/audiovar.h): Fix wrongly edited // comments - nested within /* */ comments. - - * gcc.c (process_command): Don't warn for -x after last input file - if spec_lang is zero. - - * fixinc.mips (bsd43/bsd43.h): Change /**/ to ##. - - * expr.c (convert_move): When truncating, call force_reg first if - it is something that gen_lowpart won't understand. - - * sys-protos.h (getrlimit, getrusage, setrlimit): Return int not void. - -Wed Sep 8 11:28:41 1993 John Hassey (hassey@dg-rtp.dg.com) - - * m88k.c (output_call): Avoid use of jsr.n r1, this loses on - the 88110. - -Wed Sep 8 10:51:07 1993 David Edelsohn (edelsohn@npac.syr.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. - - * rs6000.c (rs6000_cpu, rs6000_cpu_string): New variables. - (rs6000_override_options): New function. - - * 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. - -Wed Sep 8 06:34:32 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c-typeck.c (output_init_element): When adding to - constructor_pending_elts, copy field. - -Wed Sep 8 06:15:58 1993 David Gershovich (dgirsh@iil.intel.com) - - * expmed.c (make_tree, case CONST_INT): Properly set high part if - unsigned. - - * optabs.c (expand_binop): Must always widen second operand - of shift. - -Wed Sep 8 05:16:59 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * 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. - -Tue Sep 7 19:11:20 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * c-common.c (c_build_type_variant): Allocate new type in same - obstack as old one. - -Tue Sep 7 17:45:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c-typeck.c (digest_init): Fix error message text. - -Tue Sep 7 14:32:51 1993 Leonid Baraz (lbaraz@iil.intel.com) - - * sched.c (schedule_block): Correct type of BIT. - - * fold-const.c (fold): Don't try to process an RTL_EXPR. - -Tue Sep 7 06:18:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * 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. - - * 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. - -Mon Sep 6 14:43:20 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) - - * genextract.c (insn_name_ptr): Define for debugging. - (walk_rtx, case MATCH_OP_DUP): Expand recog_dup_loc using XEXP not - XVECEXP. - -Mon Sep 6 13:28:03 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * rtlanal.c (modified_between_p): Handle vectors. - (modified_in_p): New function. - (refers_to_regno_p): If setting AP, FP, or SP, we clobber the - virtual registers. - * optabs.c (emit_libcall_block): Don't move insns that reference - things set in previous insns. - -Mon Sep 6 08:35:34 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * config/mips/mips.h: Don't declare abort. - -Mon Sep 6 01:03:58 1993 Jim Wilson (wilson@cygnus.com) - - * protoize (abort): Correct volatile function declaration. - -Sun Sep 5 18:23:09 1993 Doug Evans (dje@canuck.cygnus.com) - - * Makefile.in (USER_H): Add va-h8300.h. - - * 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. - -Sun Sep 5 16:00:47 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * function.c (assign_parms): When parm needs conversion on entry, - don't store it back in the slot where it was passed. - -Sun Sep 5 14:51:14 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - - * c-decl.c (grokdeclarator): For PARM_DECLs, only call - c_build_type_variant is constp or volatilep is true. - -Sun Sep 5 06:44:09 1993 David Edelsohn (edelsohn@npac.syr.edu) - - * rs6000.c: (print_operand): Convert fprintf of single letters - to putc and convert fprintf of constant strings to fputs. - Output '%u' operand as hexadecimal. - -Sat Sep 4 11:16:18 1993 Craig Burley (burley@gnu.ai.mit.edu) - - * c-common.c (truthvalue_conversion): A complex value is nonzero - if either part is nonzero, not if both parts are nonzero. - -Fri Sep 3 19:02:41 1993 Paul Eggert (eggert@twinsun.com) - - * c-decl.c (build_enumerator): Apply default conversion to - constant-expression. - -Fri Sep 3 18:03:47 1993 Chris Lang (chrisl@mirc00.ncms.org) - - * cccp.c (skip_if_group): Check for traditional mode when - skipping ahead to next #, ignore unless at beginning of line. - -Fri Sep 3 18:00:15 1993 Michael Meissner (meissner@osf.org) - - * i386/osfrose.h, i386/osfelf.h (LINK_SPEC): Pass -v and -dn on to - the ELF linker, which now accepts these switches. - -Fri Sep 3 13:34:22 1993 Doug Evans (dje@cygnus.com) - - * i386/x-linux: Add -Iinclude to BOOT_CFLAGS. - -Fri Sep 3 01:54:19 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * pa.h (READONLY_DATA_ASM_OP): Define. - (READONLY_DATA_SECTION): Define. - (EXTRA_SECTIONS): Add in_readonly_data. - (EXTRA_SECTION_FUNCTIONS): Add readonly_data. - -Thu Sep 2 19:19:14 1993 Holger Teutsch (holger@hotbso.rhein-main.de) - - * clipper.h : Improve generated code for C400 Clipper. - (TARGET_SWITCHES): New options `c300' `c400'. - (TARGET_C300, TARGET_C400): New defines. - (TARGET_DEFAULT): Define as TARGET_C300. - (CONDITIONAL_REGISTER_USAGE): New define. - -Thu Sep 2 17:47:57 1993 Doug Evans (dje@canuck.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. - -Thu Sep 2 14:26:28 1993 Michael Meissner (meissner@osf.org) - - * 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. - - * 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. - - - * 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. - - * 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. - - * Makefile.in (final.o): Final.c now includes tree.h. - - * m68k/sun3.h (BLOCK_PROFILER_CODE): Move the sun3 specific basic - block profiling code here from libgcc2.c. - -Wed Sep 1 19:00:06 1993 Jim Wilson (wilson@mole.gnu.ai.mit.edu) - - * rs6000.md (truncdfsf2): Round to single instead of doing nothing. - - * jump.c (jump_optimize): When optimize conditional jump around - unconditional jump, handle case where prev_label can be zero. - - * c-decl.c (finish_decl): For static const variables, preserve - initializers instead of discarding them. - -Wed Sep 1 18:43:01 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * reload.c (find_reloads): Bump REJECT for a hard register; just - not for a pseudo. - - * rs6000.md: Clean up hex constants a bit in emitted insns. - - * 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 Sep 1 18:08:36 1993 Jim Wilson (wilson@cygnus.com) - - * reload.c (find_reloads_address_1): Handle SUBREGs same as REGs. - -Wed Sep 1 18:03:45 1993 Mike Stump (mrs@mole.gnu.ai.mit.edu) - - * collect2.c (is_ctor_dtor): Make sizeof argument match the - string. - -Wed Sep 1 15:01:48 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * Makefile.in (start.encap): Build g++ here also. - -Tue Aug 31 16:30:53 1993 Jim Wilson (wilson@cygnus.com) - - * 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. - - * reload.c (push_reload): Abort is secondary_reload wants same - class as an input reload. - - * 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. - - * Makefile.in (xsys-protos.h): Use fixtmp.c not tmp.c, and delete - it afterwards. - - * function.c (assign_stack_temp): When allocate a slot too large, - split extra off into a slot of its own. - (combine_temp_slots): New function. - (free_temp_slots, pop_temp_slots): Call combine_temp_slots. - -Tue Aug 31 06:35:37 1993 David Edelsohn (edelsohn@npac.syr.edu) - - * rs6000.md: (zero_extendqisi2, zero_extendqihi2): Change anonymous - patterns to use 16-bit and 32-bit hexadecimal values and masks - instead of bit ranges if constant. - (rotlsi3, lshrsi3, move condition codes, scc insns): Likewise. - -Tue Aug 31 06:25:52 1993 Paul Eggert (eggert@twinsun.com) - - * c-decl.c (struct c_function): Remove unneeded enum_next_value. - (push_c_function_context, pop_c_function_context): Don't save it. - -Mon Aug 30 16:16:56 1993 Paul Eggert (eggert@twinsun.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. - -Sun Aug 29 18:34:25 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * 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 28 15:04:35 1993 Jim Wilson (wilson@cygnus.com) - - * mips.h (SELECT_SECTION): Simplify sdata_section test. - - * 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. - - * 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'. - -Fri Aug 27 15:43:19 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * 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. - - * rs6000.h (LINK_SPEC): Add -bexport:/usr/lib/libg.exp when -g. - -Fri Aug 27 13:17:28 1993 Jim Wilson (wilson@cygnus.com) - - * 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. - -Thu Aug 26 17:59:38 1993 Doug Evans (dje@cygnus.com) - - * gstdarg.h, gvarargs.h: Add support for H8/300H. - * va-h8300.h: New file. - -Thu Aug 26 15:15:27 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - Cygnus<->FSF C++ front-end merge. - Wed Aug 25 17:55:58 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-class.c (alter_visibility): Properly grok protected visibility. - - Wed Aug 25 12:55:17 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-typeck.c (c_sizeof): If we're given an OFFSET_TYPE, work with - the type it refers to. - - * cp-decl.c (finish_function): Properly handle inline functions, - don't just call rest_of_compilation. - - * cp-decl2.c (flag_inline_debug): Deleted, never used. - (lang_f_options): Deleted -finline-debug. - * toplev.c (lang_options): Likewise. - - Tue Aug 24 16:06:23 1993 Mike Stump (mrs@poseidon.cygnus.com) - - * cp-dem.c: Deleted. See demangler in the binutils distribution. - - Tue Aug 24 14:24:34 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-decl.c (start_function): Don't get ready to complain about a - built-in C-linkage function against a C++-linkage function. - - Tue Aug 24 13:54:43 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) - - * g++.c: also include - - Tue Aug 24 05:39:57 1993 Michael Tiemann (tiemann@blues.cygnus.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. - - Mon Aug 23 14:04:34 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-parse.y (datadef): Disallow forward declaration of an enum. - - * 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. - - * cp-decl.c (start_function): Don't error out if it's a static - function; don't return 0, which can cause other problems. - - Sun Aug 22 18:00:57 1993 Michael Tiemann (tiemann@blues.cygnus.com) - - * 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. - - Sun Aug 22 13:31:44 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - 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. - - * cp-init.c (build_new): Don't clear LOOKUP_COMPLAIN on flags, since - we need to honor the visibility of what we find. - - Sat Aug 21 12:07:26 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * 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. - - * cp-parse.y (primary, PLUSPLUS/MINUSMINUS): Resolve the OFFSET_REF - here. - * cp-typeck.c (build_x_unary_op): Not here. - - * 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. - - Fri Aug 20 13:35:54 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - 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. - - * 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. - - * 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. - - Thu Aug 19 18:24:25 1993 Mike Stump (mrs@cygnus.com) - - * 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++. - - Thu Aug 19 12:21:12 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-typeck.c (build_x_unary_op): When we receive an OFFSET_REF, - resolve it before looking for a way to handle the operation. - - * cp-method.c: Include ctype.h. - - Thu Aug 19 12:00:08 1993 Mike Stump (mrs@cygnus.com) - - * 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. - - Thu Aug 19 00:41:55 1993 Mike Stump (mrs@cygnus.com) - - * cp-init.c (expand_aggr_init): Avoid faulting, give error instead. - - Wed Aug 18 22:43:25 1993 Mike Stump (mrs@cygnus.com) - - * cp-lex.h (RID_BIT_TYPE, RIDBIT_SETP, RIDBIT_NOTSETP, RIDBIT_SET, - RIDBIT_RESET, RIDBIT_RESET_ALL, RIDBIT_ANY_SET): New RID macros, - replaces RIDBIT macro. The new macros allow us to easily expand - past 32 RIDs. - * cp-decl.c (grokvardecl, grokdeclarator): Use them. - - * cp-decl.c (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. - - * cp-tree.h (struct lang_type): Fill out type_flags to multiple of 4 - bytes for MIPS. - - Fri Aug 13 16:07:46 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-lex.c (DEBUG_DEFAULT_FUNCTIONS): Take out the #undef, so we can - use the command line to turn this on. - - * cp-decl.c (grokdeclarator): Look for IDENTIFIER_TEMPLATE in the - name of current_class_type, not in current_class_type itself. - - * 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. - - Fri Aug 13 12:26:41 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-tree.h: Delete all the old PARANOID stuff, it's suffered - serious bit rot. - (PRINT_LANG_DECL, PRINT_LANG_TYPE): Deleted, not used anymore. - (LANG_ID_FIELD, SET_LANG_ID): New macros. - ({,SET_}IDENTIFIER_{LABEL_VALUE, IMPLICIT_DECL, AS_DESC, AS_LIST, - ERROR_LOCUS}): Redefine these macros to use the new LANG_ID_FIELD - and SET_LANG_ID ones, so everything is much cleaner and readable. - - * cp-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. - - Thu Aug 12 10:56:50 1993 Mike Stump (mrs@cygnus.com) - - * cp-method.c (build_overload_name): Allow the debugger to - deterministically demangle names with more than 9 nested class - levels. - - Thu Aug 12 00:46:54 1993 Mike Stump (mrs@cygnus.com) - - * cp-search.c (pushd_stack_level): Fix memory corruption problem. - Don't assume that the obstack won't move, because they will. Among - other things, the fix allows one to nest classes upto 240 levels - deep, instead of 60 or so. - - Thu Aug 12 00:38:05 1993 Per Bothner (bothner@kalessin.cygnus.com) - - * cp-decl2.c (finish_file): Use new get_file_function_name(). - * cp-tree.h (FILE_FUNCTION_FORMAT): No longer needed. - - Fri Aug 6 11:37:08 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-decl.c (pop_binding_level) [DEBUG_CP_BINDING_LEVELS]: Don't - call abort, since we need to see where things end up. - - Fri Aug 6 11:13:57 1993 Mike Stump (mrs@cygnus.com) - - * cp-class.c (finish_struct): Blast away old DECL_SIZE on - base_layout_decl so that the old value is not reused, but rather the - new value in the TREE_TYPE (TYPE_SIZE ()) will be. - - Thu Aug 5 18:45:26 1993 Mike Stump (mrs@cygnus.com) - - * cp-init.c (emit_base_init): Move vbase vtable pointer init to very - end of base initialization code. Completes July 30 change. The - dynamic type of a virtual base should not be the type of the current - constructor, until after all bases are initialized. - -Thu Aug 26 06:00:09 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * expr.c: (apply_args_register_offset): Don't use ANSI-style - definition. - -Wed Aug 25 19:37:26 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * expmed.c (store_bit_field): Do not use bitfield instructions for - STRICT_ALIGNMENT machines if the MEM's alignment isn't as big as - the MEM's mode. - -Wed Aug 25 19:17:13 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * c-typeck.c (format_char_info_print_table, "p"): Allow width. - -Tue Aug 24 18:36:31 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * rs6000.c (output_{pro,epi}log): Don't need no-ops after calls - to functions to save and restore FP regs. + * fixincludes: Wrap assert.h in extern "C" { } to avoid problem on + HP/UX, which uses NO_IMPLICIT_EXTERN_C. Also fix 12 May 94 + change. -Tue Aug 24 15:43:43 1993 Michael Meissner (meissner@osf.org) +Tue Jun 14 15:12:50 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - * osfrose.h (SUBTARGET_SWITCHES): Add -mlarge-align and - -mword-align to control whether alignments of > 4 are honored. - (ASM_OUTPUT_ALIGN_CODE): If -mlarge-align allow alignments > 4. - (ASM_OUTPUT_ALIGN): Ditto. - (ASM_OUTPUT_LOOP_ALIGN): Always do a .align 2. - (FUNCTION_BLOCK_PROFILER): Define. - (BLOCK_PROFILER): Define. + * jump.c (condjump_in_parallel_p): New function to detect + conditional jumps within PARALLEL insns. + (jump_optimize): Allow for some simple optimizations involving + conditional jumps within PARALLEL insns. + * reorg.c (get_jump_flags): Handle conditional jumps in PARALLEL + insns. + (get_branch_condition, fill_simple_delay_slots): Likewise. + (fill_eager_delay_slots, relax_delay_slots, dbr_schedule): Likewise. -Tue Aug 24 14:04:11 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * pa-osf.h (SIZE_TYPE): Define as "long unsigned int" to be + compatable with system include files. + * pa1-osf.h (SIZE_TYPE): Likewise. + + * pa1-osf.h (WCHAR_TYPE): Define as "short unsigned int". + (WCHAR_TYPE_SIZE): Define as 16 bits. + + * pa.c (output_arg_descriptor): Restore old behavior for SImode + USE insns of FP registers (used by untyped call support). + +Mon Jun 6 09:15:43 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) + + * arm.c (arm_reload_out_hi): Rewrite. Add support for processors + running in big-endian mode. + (fp_immediate_constant): Fix typo in argument declaration. + * arm.h (PROMOTE_MODE): Promote HImode integers as signed. + (BYTES_BIG_ENDIAN): Allow OS description to override default. + (LOAD_EXTEND_OP): When big-endian, HImode loads are sign extended. + * arm.md (storehi_bigend): New expansion pattern. + (storeinthi): Rework to generate better code, add big-endian support. + (movhi): Add support for processors running in big-endian mode. + (movhi_bigend): New expansion pattern. + (matcher for movhi): Remove incorrect alternative for storing HImode to + memory. Only match when little endian. + (matcher for big-endian movhi): New pattern. + (matchers/peepholes for extended pre/post increment HImode loads): Only + match when little-endian. + (matcher for operating on adjacent memory locations): Load operation + into arith operands. + (peepholes for extended pre-increment byte loads): New patterns. - * pa.c (compute_frame_size): Always align stack to 64 byte - boundary. +Sat Jun 4 21:06:29 1994 Kaveh R. Ghazi (ghazi@noc.rutgers.edu) - * pa.h (STACK_BOUNDARY): Stack pointer is 512 bit (64 byte) - aligned. + * sys-types.h (__gnuc_va_list): Use instead of va_list. + * sys-protos.h (*): Use __gnuc_va_list, not va_list. - * pa.c (output_call): Use ASM_OUTPUT_INTERNAL_LABEL instead of - output_asm_label. +Sat Jun 4 07:19:39 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) -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. - -Mon Aug 23 19:37:33 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * pa.h (TARGET_TRAILING_COLON): Delete switch. TARGET_GAS now - controls the use of trailing colons. - -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. - - * pa.h (EXTRA_CONSTRAINT): Delete unused 'S' constraint. - * pa.md (call_internal_symref): Make pattern unavailable if + * arm.c (print_multi_reg, output_call, output_call_mem, + output_mov_long_double_fpu_from_arm, + output_mov_long_double_arm_from_fpu, + output_mov_double_fpu_from_arm, output_mov_double_arm_from_fpu, + output_return_instruction, output_func_{prologue,epilogue}, + arm_print_operand, output_load_symbol): Print the register prefix + before each register name. + (output_func_prologue, output_lcomm_directive): Output the target + dependent comment char for asm comments. + * arm.h (FUNCTION_PROFILER): Delete duplicate definition. + (FUNCTION_PROFILER, TRAMPOLINE_TEMPLATE, ASM_FILE_START, + ASM_OUTPUT_REG_{PUSH,POP}, PRINT_OPERAND_ADDRESS): Output register + prefix before any explicit register name. + (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT, + ASM_OUTPUT_COMMON): Output the target dependent comment char. + (ASM_FILE_START): Output register alias for r10. + (REGISTER_NAMES): Output "r9" now for r9, not "rfp". + (ADDITIONAL_REGISTER_NAMES): New macro. + * arm.md (all patterns explicitly mentioning register names): Output + the target dependent prefix before the register name. + (all patterns with asm comments): Output the target dependent comment + character. + +Fri Jun 3 18:14:07 1994 Doug Evans (dje@cygnus.com) + + * c-common.c (decl_attributes): Fix section attributes. + * varasm.c (make_decl_rtl): If section attribute is being ignored, + really ignore it. + +Fri Jun 3 15:53:57 1994 Torbjorn Granlund (tege@adder.cygnus.com) + + * pa.h (FP_REGNO_P): New macro for intra file usage. + (REGNO_OK_FOR_FP_P): Use FP_REGNO_P. + (FUNCTION_VALUE_REGNO_P): Revert last change. + * pa.md (mulsi3): Use MATCH_DUP for op3, not MATCH_OPERAND. + + * pa.h (CONDITIONAL_REGISTER_USAGE): Partially revert last changes; + Make non-existing 1.0 fp regs fixed, including odd-numbered regs. + (enum reg_class): Get rid of SNAKE_FP_REGS, GENERAL_OR_SNAKE_FP_REGS, + and NON_SHIFT_REGS. + (REG_CLASS_NAMES): Likewise. + (REG_CLASS_CONTENTS): Likewise. + (REGNO_REG_CLASS): Likewise. + (HARD_REGNO_MODE_OK): Corresponding changes. Don't force 1.0 fpregs + to even regno here; fixed_regs does the job better. + (FP_REG_CLASS_P): Get rid of SNAKE_FP_REGS. + (REG_CLASS_FROM_LETTER, case 'z'): Deleted. + (HARD_REGNO_NREGS): Partially revert last change. + (CLASS_MAX_NREGS): Partially revert last change. + * pa.md (globally): Delete 'x' constraint or change it to 'f', + as apropriate. + +Fri Jun 3 09:18:55 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) + + * arm.h (CONST_OK_FOR_LETTER_P): Only allow constants that are valid + when inverted for 'K'. Only allow constants that are valid when + negated for 'L'. + * arm.md (all patterns): Update instruction generation to reflect new + meanings of constraints 'K' and 'L'. Use output type 'B' to + generate an inverted constant. Use output type 'N' to generate a + negated floating point constant. + +Thu Jun 2 22:43:58 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * pa.h (TARGET_SWITCHES): Enable TARGET_LONG_CALLS when + TARGET_PORTABLE_RUNTIME is enabled. + * pa.c (output_call): If TARGET_LONG_CALLS is enabled, then emit + an inline long-call sequence. + * pa.md (millicode define_delay): Disable delay slots if TARGET_LONG_CALLS. - (call_value_internal_symref): Likewise. - -Mon Aug 16 18:47:56 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - 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. - - * 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. - -Mon Aug 16 12:38:28 1993 John Hassey (hassey@dg-rtp.dg.com) - - * fixinc.dgux: Fixed va_list problem in _int_varargs.h - -Mon Aug 16 11:26:57 1993 Kevin Buettner (kev@spuds.geg.mot.com) - - * configure (m88k-mot-sysv4*): Added new configuration for m88k - delta machines running svr4. - - * config/m88k/mot-sysv4.h: New file. - -Mon Aug 16 11:16:32 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) - - * combine.c: (use_crosses_set_p): Check for partially overlapping - hard regs. - -Sun Aug 15 20:17:20 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * reorg.c (find_end_label): If a suitable RETURN insn exists at - the end of the current function, place a label in front of it for - the end_of_function_label. - -Fri Aug 13 16:40:03 1993 Pat Rankin (rankin@eql.caltech.edu) - - * c-typeck.c (check_format): For scan of "%[", skip over scan set - til closing ']' to avoid processing it as ordinary format characters. - -Fri Aug 13 16:02:23 1993 Chip Salzenberg (chip@fin.uucp) - - * 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. - -Fri Aug 13 14:58:52 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * config/ns32k/encore.h (ASM_OUTPUT_ALIGN_CODE): Override as no-op. - -Fri Aug 13 14:29:17 1993 Stephen Moshier (moshier@world.std.com) - - * sparc.h (LONG_DOUBLE_TYPE_SIZE): Define to 128. - - * 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. - - 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. - - * 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. - -Fri Aug 13 07:50:42 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * expr.c (expand_expr, case SAVE_EXPR): Set MEM_IN_STRUCT_P - appropriately when the result is a MEM. - - * integrate.c (expand_inline_function): Copy args that are in - hard regs instead of substituting them directly into insns. - - * rs6000.md (subsi3): Merge alternatives. - (comparison patterns): Eliminate generation of "sfi."; no such - instruction exists. - -Thu Aug 12 21:24:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * config/m68k/sun3.h (CPP_PREDEFINES): Define _CROSS_TARGET_ARCH. - -Thu Aug 12 19:02:47 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * 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. - - * rs6000.md (plus): Split (plus (COMPARISON FOO ...) ...) at FOO. - -Thu Aug 12 14:04:40 1993 Michael Meissner (meissner@osf.org) - - * 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. - - * i386/osfelf.h (CPP_SPEC): If -mno-underscores, define - __NO_UNDERSCORES__. - - * 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__. - -Thu Aug 12 13:42:04 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.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. - - * 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. - - * sparc.h (ASM_OUTPUT_DOUBLE): Always use REAL_VALUE_TO_TARGET_DOUBLE. - (ASM_OUTPUT_FLOAT): Always use REAL_VALUE_TO_TARGET_SINGLE. - -Wed Aug 11 19:48:24 1993 Per Bothner (bothner@kalessin.cygnus.com) - - * tree.c (get_file_function_name): New function - for language-independent constructor name generation. - * objc-act.c (build_module_descriptor): Use it. - * tree.h (CONSTRUCTOR_NAME_FORMAT): Removed. - -Wed Aug 11 19:50:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * 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. - -Wed Aug 11 15:09:52 1993 Michael Meissner (meissner@osf.org) - - * 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. - -Wed Aug 11 17:59:28 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * combine.c (combine_instructions): Fix typo on test of basic block - number. - -Wed Aug 11 17:44:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * configure (m68k-hp-bsd4.4*): Add missing *; - move before m68k-hp-bsd*. - -Wed Aug 11 09:21:56 1993 Ian Lance Taylor (ian@cygnus.com) - - * 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). - -Tue Aug 10 15:12:11 1993 Jim Wilson (wilson@cygnus.com) - - * 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. - -Tue Aug 10 12:56:46 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * pa.h (DOLLARS_IN_IDENTIFIERS): Define as 2. - -Mon Aug 9 19:02:49 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) - - Merged fixproto stuff from Cygnus. - - Fri Aug 6 12:23:04 1993 Per Bothner (bothner@kalessin.cygnus.com) - - * fixproto, Makefile.in: Rename tmp.[ci] -> fixtmp.[ci]. - - Tue Aug 3 22:24:58 1993 Per Bothner (bothner@kalessin.cygnus.com) - - * fixproto: Find not only nested directories, but also - links to directories. - - Mon Aug 2 18:58:35 1993 Per Bothner (bothner@kalessin.cygnus.com) - - * 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 (). - - Fri Jul 30 17:18:22 1993 Per Bothner (bothner@kalessin.cygnus.com) - - * 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. - - Thu Jul 29 12:43:53 1993 Per Bothner (bothner@kalessin.cygnus.com) - - * 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). - - * 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 Jul 28 16:12:39 1993 Per Bothner (bothner@kalessin.cygnus.com) - - * 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. - - * 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. - -Mon Aug 9 17:47:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c-typeck.c (build_c_cast): For (void *) (FOO *) 0, return a nop_expr - so it doesn't count as a null pointer constant. - (convert_for_assignment, build_binary_op): Pedantically warn about - that case if looking for a null_pointer_constant. - (build_conditional_expr): Likewise. - - * ns32k.c (output_move_double): Fix typos in last change. - - * expr.c (store_expr): Don't return TEMP if it's a MEM. - -Mon Aug 9 15:26:27 1993 Jim Wilson (wilson@cygnus.com) - - * varasm.c (assembler_variable): For XCOFF_DEBUG, restore section - if dbxout_symbol call changes it. - - * 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. - - * 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. - -Mon Aug 9 07:31:07 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * optabs.c (widen_operand): New function. - (expand_binop, expand_unop): Call it. - -Sun Aug 8 17:32:04 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * 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. - -Sun Aug 8 17:26:57 1993 Jim Wilson (wilson@cygnus.com) - - * sparc.c (sparc_type_code): Support range types. - - * expr.c (expand_increment): Call save_expr on inner expression if - it is itself an increment expression. + (call_internal_reg, call_value_internal_reg): If TARGET_LONG_CALLS + is enabled, then emit an inline long-call sequence. Fix length + computation for TARGET_LONG_CALLS. + (millicode calls): Fix length computation for TARGET_LONG_CALLS. + + * pa.h (ASM_DECLARE_FUNCTION_NAME): Fix typo. + +Thu Jun 2 18:28:07 1994 Jason Merrill (jason@deneb.cygnus.com) + + * stmt.c (expand_end_bindings): Don't bother emitting cleanups + after a barrier. + +Thu Jun 2 18:10:36 1994 Stephen L Moshier (moshier@world.std.com) + + * libgcc2.c (__floatdisf): Protect against double-rounding error. + +Thu Jun 2 17:47:54 1994 David Edelsohn (edelsohn@npac.syr.edu) + + * rs6000.h (MASK_PPCFPX): Delete. + (MASK_PPC_GPOPT, MASK_PPC_GFXOPT, TARGET_PPC_GPOPT, TARGET_PPC_GFXOPT): + New Macros. + (TARGET_SWITCHES): Remove -mpowerpc-fpx; add -mpowerpc-gpopt + and -mpowerpc-gfxopt. + * rs6000.c (processor_target_table): Use new macros. + * rs6000.md (define_function_unit): Remove ppc604 from sqrt list. + (divsi3, udivsi3): Remove spaces from PowerPC output templates. + (sqrtsf2, maxsf3, minsf3, sqrtdf2, maxdf3, mindf3): Use new macros. + (floatdidf2, fix_truncdfdi2, ffsdi2, muldi3): New patterns. + ({s,u}muldi3_highpart, divdi3, udivdi3, rotldi3): Likewise. + (movdi): Handle moves between FPRs and GPRs. + (scc insn): Correct swapped compare and delayed_compare attributes. + +Thu Jun 2 14:45:04 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) + + * arm.c (arm_condition_code): Move to start of file. + (const_pool_offset): Correct typo. + (fp_const_from_val): New function. + (all instruction generators): mark position where conditionalization + should be with '%?'. + (output_move_double): Use new '%m' output type to simplify load/store + multiple generation. + (shift_instr): Delete. + (shift_op): New function. + (output_arithmetic): Delete. + (output_arithmetic_with_shift): Delete. + (output_arithmetic_with_immediate_multiply): Delete. + (output_shifted_move): Delete. + (output_shift_compare): Delete. + (arm_print_operand): New function. + * arm.h (output_func_{prologue,epilogue}): Change declarations from + output_{prologue,epilogue}. + (arm_output_llc, arithmetic_instr, + output_arithmetic_with_immediate_mulitply, + output_arithmetic_with_shift, shift_instr): Delete function + definitions. + (ASM_OUTPUT_OPCODE): Delete. + (PRINT_OPERAND): Call arm_print_operand, instead of doing it directly. + (ARM_COMMENT_CHAR): New macro. + (ARM_REG_PREFIX): New macro. + (ARM_SIGN_EXTEND): New macro. + (PRINT_OPERAND_ADDRESS): Delete variable 'shift'. Change type of + variable 'offset' to HOST_WIDE_INT. Use arm_print_operand to handle + shifts in addresses. + * arm.md (all output patterns): Use new capabilities of + arm_print_operand to simplify output sequences. Mark position of + condition code with '%?'. + + * riscix.h (ASM_FINAL_SPEC [CROSS_COMPILE]): Correct typo. + +Thu Jun 2 08:14:00 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * c-common.c (c_build_type_variant): Don't change TYPE_MAIN_VARIANT + of new type. + + * expr.c (expand_expr, case ADDR_EXPR): If result is ignored, + just return const0_rtx. + +Wed Jun 1 13:52:01 1994 Jason Merrill (jason@deneb.cygnus.com) + + * i386/sco4.h: #define NO_IMPLICIT_EXTERN_C. + +Wed Jun 1 04:55:06 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) + + * arm.c: General tidy up. + #include . + Declare some prototypes. + (output_memory_reference_mode): Change type to enum machine_mode. + (arm_const_nmoves): Delete. + (adjacent_mem_locations, {load,store}_multiple_operation): Explicitly + declare to return int. + ({load,store}_multiple_operation): Change type of 'count', 'base' and + 'i' to HOST_WIDE_INT. + (output_add_immediate): Change type of 'n' to HOST_WIDE_INT. + (output_multi_immediate): Change type of Argument 'n' to + HOST_WIDE_INT, if wider than 32 bits, mask out the high bits. + (output_arithmetic_with_immediate_multiply): Change type of 'shift' + to HOST_WIDE_INT. + (output_func_{prologue,epilogue}): Renamed from + output_{prologue,epilogue}. Check all registers to see if they are + live, but only push/pop them if they are not in call_used_regs. + * arm.h: Delete some dead code. + (FUNCTION_{PROLOGUE,EPILOGUE}): Call output_func_{prologue,epilogue}. + (INITIAL_ELIMINATION_OFFSET): Inspect all registers, but only add + those that are not in call_used_regs. + (GO_IF_LEGITIMATE_INDEX): Change type of variable 'range' to + HOST_WIDE_INT; change type of variable 'code' to enum rtx_code. + (REVERSIBLE_CC_MODE): New macro. + + * arm.c (const_pool_offset): New function. + (get_prologue_size): New function. + (output_func_prologue): Eliminate variable code_size. + (output_func_epilogue): Only call arm_increase_location when + optimizing; also add the size of the function just compiled, and the + size of the prologue. + (arm_output_asm_insn): Delete. All callers changed to use + output_asm_insn. + (arm_output_llc): Delete. + (output_load_symbol): New first parameter 'insn'. Rewrite so that + assembler can detect whether we made a mistake. + * arm.h (arm_output_asm_insn): Delete declaration. + (EXTRA_CONSTAINT): New constraint 'R' to match a constant pool label. + Make constraint 'S' never match when not optimizing. + (CONSTANT_ADDRESS_P): Only accept symbols marked with SYMBOL_REF_FLAG + when optimizing. + (ENCODE_SECTION_INFO): Don't mark any symbols when not optimizing. + (ASM_OUTPUT_REG_{PUSH,POP}: Don't call arm_increase_location. + (ASM_OUTPUT_ADDR_VEC_ELT): Likewise. + * arm.md (all insn and peephole patterns): Rewrite without using + arm_output_asm_insn. + (matcher for movsi): New alternative to load symbol directly into a + register. Add new parameter in call to output_load_symbol. - * 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. + * arm.md (all patterns): Length attribute now describes length in + bytes. + * arm.c (short_branch): Convert length calculations to bytes. - * 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. +Tue May 31 20:35:39 1994 Torbjorn Granlund (tege@adder.cygnus.com) - * 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. + * pa.c (emit_move_sequence): Add missing argument to symbolic_operand. + (output_block_move): Prefer addl to add. + (print_operand): Print fp regs with L suffix when appropriate. + (output_arg_descriptor): Rewrite to accomodate new convention for + USE information. + + * pa.h (SECONDARY_MEMORY_NEEDED): Simplify. + (ADDITIONAL_REGISTER_NAMES): Define. + (CONDITIONAL_REGISTER_USAGE): Make PIC_OFFSET_TABLE_REGNUM fixed + again. + + Changes to combine fp registers for 1.0 and 1.1 architectures. + (Make explicit clobbers of fp registers work.) + * pa.h (FIRST_PSEUDO_REGISTER): Now 89. + (FIXED_REGISTERS): Delete 1.0 fp registers, + (CALL_USED_REGISTERS): Likewise. + (CONDITIONAL_REGISTER_USAGE): Almost deleted. + (REG_ALLOC_ORDER): Update register numbers. + (HARD_REGNO_NREGS): Delete special case for 1.0 fp registers. + (HARD_REGNO_MODE_OK): Rewrite. Don't allow use of odd fp registers + (enum reg_class): Delete HI_SNAKE_FP_REGS and FP_OR_SNAKE_FP_REGS. + (REG_CLASS_NAMES): Corresponding change. + (REG_CLASS_CONTENTS): Delete HI_SNAKE_FP_REGS and + FP_OR_SNAKE_FP_REGS. Make SNAKE_FP_REGS class contain all fp + registers. Update all values for changed register numbering. + (REGNO_REG_CLASS): Corresponding changes. + (REG_CLASS_FROM_LETTER): Delete 'y'. + (FP_REG_CLASS_P): No longer test HI_SNAKE_FP_REGS. + (CLASS_MAX_NREGS): Delete special case for 1.1 fp registers. + (FUNCTION_VALUE): Remove TARGET_SNAKE conditionals. + (LIBCALL_VALUE): Likewise. + (FUNCTION_ARG_REGNO_P): Likewise. + (FUNCTION_VALUE_REGNO_P): Likewise. Add registers 29 and 33. + (FUNCTION_ARG): Remove TARGET_SNAKE conditionals. Update register + numbers. + (REGNO_OK_FOR_FP_P): Update register number. + (REGISTER_NAMES): Delete special entries for 1.0 fp registers. + (DBX_REGISTER_NUMBER): Likewise. + * pa.c (compute_frame_size): Update for changed register numbers. + Simplify loops over general registers to stop at register 4. + (hppa_expand_prologue): Likewise. + (hppa_expand_epilogue): Likewise. + +Tue May 31 19:32:18 1994 Jim Wilson (wilson@cygnus.com) + + * mips.md (movesi_unaligned, movsi_ulw, movsi_usw): Delete. + (extv, extzv, insv, movsi_ulw, movsi_usw): New patterns. + + * dbxout.c (dbxout_type): Always emit cross-references if + use_gnu_debug_info_extensions set. + + * final.c (output_source_line): Call xcoffout_source_line. + * xcoffout.c (xcoff_lastfile): New variable. + (ABS_OR_RELATIVE_LINENO, ASM_OUTPUT_SOURCE_LINE): Define here. + (xcoffout_source_file, xcoffout_source_line): New functions. + (xcoffout_declare_function): Use xcoffout_source_file. + * xcoffout.h (xcoff_lastfile): Declare. + (DBX_OUTPUT_MAIN_SOURCE_FILENAME): Clean up. Set xcoff_lastfile. + (ABS_OR_RELATIVE_LINENO, ASM_OUTPUT_SOURCE_LINE): Delete here. + (DBX_OUTPUT_SOURCE_FILENAME): Delete. + + * unroll.c (copy_loop_body): Copy CALL_INSN_FUNCTION_USAGE field. + + * sparc.h (ASM_SPEC): Don't pass -k when -pg or -p given. + (OVERRIDE_OPTIONS): Warn when disabling -fpic. + + * mips-tdump.c (print_global_hdr): Remove "l" from printf format + for flags. + (print_sym_hdr): Add missing "l" to printf formats. + (print_symbol, print_file_desc): Likewise. + + * i960.h (PUT_SDB_TYPE): Adjust value for compatibility with GNU960 + toolchain. + + * sparc.h (LIB_SPEC): Don't link in /usr/lib/bb_link.o with -a. + (CONDITIONAL_REGISTER_USAGE): When -a, make %g1 and %g2 fixed. + + * mips/iris5gas.h, mips/iris5gdb.h: New files. + * configure (mips-sgi-irix5): Use iris5gas.h and iris5gdb.h. + +Tue May 31 19:21:44 1994 Torbjorn Granlund (tege@adder.cygnus.com) + + * pa.md (movsi matcher): Use ldi for moving of 0 to a reg. + (movhi matcher): Likewise. + (movqi matcher): Likewise. + (many patterns): Prefer addl to add, and shNaddl to shNadd. + (define_split for (plus (reg) (large_constant))): Cleanup. + (divsi3): Use match_dup for operand 3, not match_operand. + (udivsi3): Likewise. + (modsi3): Likewise. + (umodsi3): Likewise. + +Tue May 31 19:15:31 1994 Doug Evans (dje@cygnus.com) + + * toplev.c (v_pedwarn_with_decl): Don't even issue warnings from + pedantic errors in system header files. + +Tue May 31 17:16:41 1994 David Edelsohn (edelsohn@npac.syr.edu) + + * rs6000.md (extendqidi2, extendqisi2, extendqihi2): Remove + non-existent lba instruction. + (ashrdi3): Undo previous change. + +Tue May 31 12:30:00 1994 Jason Merrill (jason@deneb.cygnus.com) + + * toplev.c (lang_options): Add -f{no-,}implicit-templates. + (compile_file): Don't output SDB debugging info for + externals. + +Tue May 31 07:20:18 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * stmt.c (expand_asm_operands): Make MEM with BLKmode for clobber + of "memory". + * loop.c (note_addr_stored): A SET or CLOBBER of a BLKmode MEM means + that all memory is clobbered. + +Mon May 30 14:01:48 1994 Doug Evans (dje@cygnus.com) + + * gcc.c (default_compilers): Pass -MG to cpp if present. + (option_map): New option --print-missing-file-dependencies/-MG. + * cccp.c (print_deps_missing_files): New global. + (main): New argument -MG. Treat missing include files as + generated files and output dependencies for them. + +Mon May 30 10:42:14 1994 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) + + * m68k/dpx2cdbx.h (PREFERRED_DEBUGGING_TYPE): Define as SDB_DEBUG. + * m68k/dpx2g.h: Disable code that manages gcc.ifile. + +Mon May 30 10:35:49 1994 Stephen L Moshier (moshier@world.std.com) + + * optabs.c (expand_float): Avoid double-rounding when float is + is narrower than int. + * real.c (significand_size): New function. + * real.h (significand_size): Declare. + +Sun May 29 15:58:21 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * jump.c (jump_optimize): When deleting unneeded stack adjusts + or mem-mem copies, use delete_computation. + + * combine.c (force_to_mode): NEXT_SELECT is true for NEG. + Only exit quickly if X is narrower than MODE and MASK has all + bits in X's mode set. + (force_to_mode, case SUBREG): Don't check for WORD_REGISTER_OPERATIONS. + (force_to_mode, case NEG): Special-case test for low-order bit. + + * rtlanal.c (volatile_insn_p): Call ourselves in recursive scan. + +Sat May 28 19:03:23 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * c-parse.in (init, compstmt, stmt, all_iter_stmt_with_decl): + If the lookahead token is a constant and we need to pop the + momentary obstack, don't free it. + + * stmt.c (expand_end_case): Have INDEX_TYPE track conversions done + to INDEX_EXPR. + +Sat May 28 06:25:40 1994 Torbjorn Granlund (tege@adder.cygnus.com) + + * pa.md (call): Force address into register in non-symbol case. + (call_value): Likewise. + +Fri May 27 19:29:30 1994 Doug Evans (dje@cygnus.com) + + * toplev.c (compile_file): Call init_regs after `word_mode' is valid. + * regclass.c (init_reg_modes): If choose_hard_reg_mode can't find a + valid mode, fall back to word_mode. + + * expr.c (use_reg): Fix recording of USE information. + (use_regs): Likewise. + Delete argument `reg'. All callers changed. + * expr.h (use_regs): Update prototype. + * calls.c (expand_call): Update call to use_regs. Call use_reg + if parm is wholly in registers. - * 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. + * configure: If compiling in separate dir, add subdirs to .gdbinit. -Sun Aug 8 11:33:51 1993 John F Carr (jfc@Athena.mit.edu) +Fri May 27 18:18:23 1994 David Edelsohn (edelsohn@npac.syr.edu) - * 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. + * rs6000.md (zero_extendqidi2, zero_extendhidi2): Use rldicl + instruction. + * rs6000.h (RTX_COSTS): Update PPC603 and PPC604 values. -Sun Aug 8 04:26:21 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri May 27 17:56:07 1994 Douglas Rupp (drupp@cs.washington.edu) - * 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. + * i386/xm-dos.h (DIR_SEPARATOR): New macro. - * varasm.c (contains_pointers_p): New function. - (assemble_variable): Use that. +Fri May 27 17:45:08 1994 Holger Teutsch (teutsch@ffm-iw.Degussa.DE) - * toplev.c (rest_of_decl_compilation): Don't look at DECL_IGNORED_P. - Don't output a read-only initialized extern variable. + * clipper.h (PCC_STATIC_STRUCT_RETURN): No longer defined. - * c-common.c (declare_function_name): Set DECL_EXTERNAL in the decls. +Fri May 27 17:36:53 1994 Pat Rankin (rankin@eql.caltech.edu) -Sat Aug 7 22:25:42 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * make-l2.com: Update to handle `ginclude' subdirectory + when compiling libgcc2. - * c-typeck.c (process_init_element): Don't call clear_momentary - if value is 0. +Fri May 27 17:30:37 1994 Matthias Pfaller (leo@marco.de) + + * ns32k.c (print_operand_address): print_operand_address + creates PLUS-rtls for internal use, so it has to handle them. -Sat Aug 7 15:53:06 1993 Doug Evans (dje@canuck.cygnus.com) +Fri May 27 16:13:53 1994 Chris Torek (torek@elf.bsdi.com) - * 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. + * function.c (assign_parms): Set REG_USERVAR_P when parm + is passed by invisible reference but can live in register. - * c-decl.c (init_decl_processing): Make long long available to - use for SIZE_TYPE and PTRDIFF_TYPE. +Fri May 27 06:03:11 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sat Aug 7 14:47:12 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * reload.c (find_reloads): Revert to old code and change secondary + reloads to RELOAD_FOR_OPERAND_ADDRESS too. - * config/ns32k/ns32k.md (strict_low_part add/subtract recognizers): - Use %2, not %1, in template. + * combine.c (try_combine): Don't make complemented XOR for + constant out of range. -Sat Aug 7 07:40:28 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * alpha.c (or_operand): Renamed from ior_operand. + * alpha.h (PREDICATE_CODES): Likewise. + * alpha.md (iordi3): Likewise. + (xordi3): Use or_operand and add second alternative. + (eqv): Only accept registers. - * reload.c (find_reloads): Don't combine two reloads if their - reload_reg_rtx values differ. + * expr.c (expand_expr, case CONSTRUCTOR): If constant and large + enough for memcpy to be used, build constructor into static memory. - * 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. + * alpha.md: Add define_split for sign-extended PLUS of a MULT + of an SImode comparison. - * expmed.c (expand_divmod): Clean up code and documentation, - especially in areas related to when copies are made. + * combine.c (simplify_comparison): Narrow comparison for AND's + that are ZERO_EXTENDs. + Can widen for all comparisons if inputs are both sign extended. - * 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. + * reload1.c (reload_as_needed): Update spill_reg_order once we sort + spill_regs. - * 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. + * alpha.md: Add define_split for sign-extended PLUS of an SImode + comparison; change comparison to DImode. -Sat Aug 7 04:47:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * stmt.c (expand_end_case): Use old type of INDEX_EXPR when making + a constant. - * c-decl.c (finish_decl): Allow file-scope static incomplete array. + * local-alloc.c (requires_inout): Renamed from requires_inout_p and + returns number of alternatives that require a match. + (block_alloc): Use new function and handle case where all + alternatives have some operand that must match operand 0. -Fri Aug 6 13:03:27 1993 Jim Wilson (wilson@sphagnum.cygnus.com) + * local-alloc.c (qty_phys_num{,_copy}_sugg): New variables. + (qty_phys_has{,_copy}_sugg): Deleted. + (qty_sugg_compare{,_1}): New functions. + (local_alloc): Allocate and init new vars instead of deleted ones. + (block_alloc): Update and use new vars. + Order quantities using new functions when allocating quantities + with suggested registers. + (combine_regs, find_free_reg): Use new vars to count number + of suggestions. - * expr.c (expand_expr, case PLUS_EXPR): Goto binop2 not - both_summands if we should not be returning a plus. +Thu May 26 11:55:44 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Fri Aug 6 16:35:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * jump.c (jump_optimize): When looking for an `if' statement + that takes two insns to compute a result using a temporary, + allow the temporary to be a SUBREG. - * config/m68k/m68k.md (call and call_value pic recognizers) [HPUX_ASM]: - Output plain bsr, without `@PLTPC'. + * combine.c (simplify_comparison): Call CANONICALIZE_COMPARISON, + if defined. + * alpha.h (CANONICALIZE_COMPARISON): New macro. -Fri Aug 6 16:12:08 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * combine.c (simplify_if_then_else): Don't make (mult (cond)) + in simple case; leave as IF_THEN_ELSE instead. - * 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. + * expmed.c (expand_divmod): Correctly set CAN_CLOBBER_OP0 when we've + converted OP0 to COMPUTE_MODE. -Fri Aug 6 15:57:58 1993 Ian Lance Taylor (ian@cygnus.com) +Thu May 26 11:41:58 1994 Ian Lance Taylor (ian@cygnus.com) - * 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. + * fixincludes: Protect bool in curses.h with #ifndef __cplusplus, + since g++ now defines bool as a basic type. - * configure: If config.status did not change, don't update its - modification time. + * fixinc.svr4: Protect definition of __P used in Solaris math.h + and floatingpoint.h to avoid future fixproto conflicts. -Fri Aug 6 15:23:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Makefile.in (stmp-fixinc): Don't pass ${srcdir} argument to + $(FIXINCLUDES); no longer needed, and always problematical for + binary only installations. + * fixincludes: Remove initialization of ${SRCDIR}. Don't + explicitly copy over multimedia/audio_errno.h; should be handled + by Oct 11, 1993 change. + * fixinc.svr4: Remove initialization of ${SRCDIR}. + * fixinc.sco, fixinc.dgux: Likewise. - * c-typeck.c (output_init_element): Fix backward test in last change. - Use TYPE_MAIN_VARIANT. +Fri May 20 12:48:24 1994 Jim Wilson (wilson@cygnus.com) -Fri Aug 6 06:43:09 1993 Michael Meissner (meissner@osf.org) + * stmt.c (expand_exit_loop_if_false): Emit conditional jump around + unconditional loop exit instead of conditional loop exit. - * g++.c (fancy_abort): Provide function in case user does - #define abort fancy_abort when building GCC. + * rs6000.c (output_prolog): Use multiple fputs calls instead of + one call with multiple strings. -Fri Aug 6 00:15:21 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * iris4.h (STARTFILE_SPEC, LIB_SPEC): Define. - * cccp.c (main): If -v, print header search dir list. + * xcoffout.c (MAKE_LINE_SAFE): Delete. + (ASM_OUTPUT_LBB, ASM_OUTPUT_LBE): Don't use MAKE_LINE_SAFE. - * c-typeck.c (output_init_element): Call default_conversion here. - Set constructor_erroneous, etc., here. - (process_init_element): Not here. +Fri May 20 01:18:30 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu) -Thu Aug 5 20:55:47 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * config.sub (basic_machine): Accept cxux*. - Cygnus<->FSF merge. +Thu May 19 19:12:41 1994 Mike Stump (mrs@cygnus.com) - Thu Aug 5 17:07:20 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * calls.c (expand_call): Only destroy temps here, if -fshort-temps + is given. - * 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. +Thu May 19 19:07:59 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu) - Thu Aug 5 15:50:25 1993 Mike Stump (mrs@cygnus.com) + * config.sub: Fix unrecognized os error message. - * 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. +Thu May 19 17:46:55 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Wed Aug 4 15:42:19 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * reload1.c (emit_reload_insns): When seeing if an equivalent + register can have it's output reload deleted, check for REG_DEAD + notes for reload_in instead of calling dead_or_set_p. - * 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). +Thu May 19 16:38:32 1994 Stephen L Moshier (moshier@world.std.com) - Wed Aug 4 14:40:35 1993 Mike Stump (mrs@cygnus.com) + * emit-rtl.c (operand_subword): Fix arg of REAL_VALUE_TO_TARGET_SINGLE + and .._DOUBLE. Permit float subword extraction when host's word + width is wider than target's. - * 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. +Thu May 19 15:09:21 1994 Ian Lance Taylor (ian@cygnus.com) - Tue Aug 3 08:24:50 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * fixincludes: Make OSF/1 getopt.h fix work on AIX also. - * 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. +Wed May 18 15:34:10 1994 Jason Merrill (jason@deneb.cygnus.com) - * cp-decl2.c (walk_vtables): Make sure the type of VARS isn't an - error_mark_node when we're running down the list. + * fixincludes: Add forward declaration of struct exception to + SunOS 4 math.h. - * 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. +Wed May 18 12:46:46 1994 Per Bothner (bothner@kalessin.cygnus.com) - * 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. + * stor-layout.c (layout_decl): Allow any integral types + for bit fields. (Specifically, C++ now has a 'bool' type.) - * cp-search.c (pop_search_level): Change from a macro into a - function, so we can more easily debug it. +Wed May 18 16:32:40 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-search.c (dfs_debug_mark): Only mark the type name as ignored - if we aren't doing dwarf debugging. + * reload1.c (compare_spill_regs): Fix typo in declaration. - * cp-typeck.c (build_unary_op): Only allow the prefix operators to - be lvalues, not the postfix ones. +Wed May 18 10:39:00 1994 Brendan Kehoe (brendan@lisa.cygnus.com) - * cp-decl.c (duplicate_decls): Delete the code that saved and - restored the UID of a decl, it's no longer necessary. + * fixinc.svr4: Avoid the SVR4 typedef of bool in curses.h when + compiling for C++, since g++ now supports it as an official typename. - * cp-call.c (compute_conversion_costs_ansi): Avoid generating - warnings when we call build_type_conversion. +Tue May 17 18:06:32 1994 Matthias Pfaller (leo@marco.de) - Mon Aug 2 17:56:36 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * ns32k.md: Don't use the extsd/extd instructions on the ns32532. - * 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. +Tue May 17 17:44:38 1994 Pat Rankin (rankin@eql.caltech.edu) - Fri Jul 30 18:03:10 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * make-cc1.com (CFLAGS): Separate include file handling; for + stage 1, CFLAGS1 is appended to CFLAGS, otherwise CFLAGS2. - * 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. +Tue May 17 16:35:22 1994 Jason Merrill (jason@deneb.cygnus.com) - Fri Jul 30 17:06:24 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * convert.c (convert_to_real): Accept boolean values. - * cp-class.c (build_vtable, prepare_fresh_vtable): Temporarily - disable the change of June 20th making vtables readonly by default. + * config/m68k/hp320.h: #define NO_IMPLICIT_EXTERN_C - Fri Jul 30 14:47:09 1993 Mike Stump (mrs@cygnus.com) +Tue May 17 15:52:05 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * libgcc2.c (__umoddi3): Correct type of variable `w'. - Wed Jul 28 16:23:52 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * combine.c (simplify_set): Move call to make_field_assignment + to end; if SRC or DEST is a (clobber (const_int 0)), return it. + (force_to_mode): If X is a CALL, just return it. - * 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. + * reload.c (find_reloads): Properly account for cost when + constant is forced to memory to ensure same alternative chosen later. - * g++.c (error) [!HAVE_VFPRINTF]: Move before fatal to avoid an - implicit declaration. +Tue May 17 11:30:19 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) - Wed Jul 28 13:49:58 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) + * combine.c (simplify_set): Use rtx_equal_p to compare cc_use and its + setter. + (make_extraction): Don't put a subreg around a register if it is + already in the correct mode. - * Makefile.in (g++-cross): Add an explicit $(srcdir) for g++.c, pass - the quotes as part of GCC_NAME + * reload1.c (compare_spill_regs): New function. + (reload_as_needed): Sort the spilled regs. + (allocate_reload_reg): If we have group needs and failure would be + fatal, do not try to do round-robin allocation of the spill regs. - * g++.c: only define GCC_NAME if it's already undefined +Mon May 16 18:58:10 1994 David Edelsohn (edelsohn@npac.syr.edu) - Tue Jul 27 10:48:30 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * rs6000.md (zero_extendqidi2): Fix omission of TARGET_POWERPC64 + test in previous change. - * 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. +Mon May 16 14:59:25 1994 Per Bothner (bothner@cygnus.com) - * 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. + * dbxout.c (dbxout_type): When emitting an ENUMERAL_TYPE, if + the precision is different from the default precision (perhaps + because of -fshort-enums), write out the precision. - Mon Jul 26 09:40:37 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Mon May 16 17:44:49 1994 Stephen L Moshier (moshier@world.std.com) - * 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. + * real.c (ereal_from_int, ereal_to_int, etarsingle): Correct + signed/unsigned discrepancies. + (ereal_from_double): Avoid "right shift count too big" warning + in previous change. + * final.c (split_double): Fix arg of REAL_VALUE_TO_TARGET_DOUBLE. - Fri Jul 23 08:33:32 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * real.h (REAL_VALUE_FROM_TARGET_SINGLE, .._DOUBLE): Change + arg from long to HOST_WIDE_INT. + * real.c (ereal_from_float, .._double): Likewise, and unpack + the HOST_WIDE_INTs. - * cp-call.c (build_method_call): Check DECL_STATIC_FUNCTION_P, not - TREE_STATIC, when validating a method call in a static call context. +Mon May 16 16:16:32 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) -Thu Aug 5 19:18:00 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * flow.c (try_pre_increment_1): Don't try to create a pre-increment + expression if the register dies in the succeeding insn. - * 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. + * expr.c: Use #ifdef TARGET_EDOM, not #if. -Thu Aug 5 14:17:59 1993 Michael Meissner (meissner@osf.org) + * expr.c (convert_move): When {zero,sign}_extending, allow a wider + intermediate than to_mode if truncation is a no-op. - * i386/osfrose.h (ASM_DECLARE_FUNCTION_SIZE): Enable setting the - size for elf functions. +Mon May 16 11:49:28 1994 Doug Evans (dje@cygnus.com) -Thu Aug 5 01:44:37 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * m68k/apollo68.h (REGISTER_PREFIX_MD): Delete. - * 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. +Mon May 16 08:11:57 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Aug 5 00:06:45 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rs6000.c (rs6000_convert_preincs): Delete. + * rs6000.h (FINAL_PRESCAN_INSN): Delete. - * collect2.c (handler): Check whether c_file and o_file are 0. + * c-typeck.c (initializer_constant_valid_p): Rework to use + precision, not size. + Allow conversions from integer to pointer if int is wide enough. -Wed Aug 4 18:06:26 1993 Samuel A. Figueroa (figueroa@cs.nyu.edu) + * c-decl.c (finish_enum): Handle VALUES being an ERROR_MARK. - * i386/gas.h (ASM_FILE_START): Write out two backslashes for each - backslash in the filename. + * rs6000.md: Replace bogus "andil" opcode with rlinm. -Wed Aug 4 18:00:43 1993 Holger Teutsch (holger@hotbso.rhein-main.de) +Sat May 14 21:26:05 1994 Doug Evans (dje@cygnus.com) - * clipper.md (movdf+2): Allow `f' register as source operand in - first alternative. + * hard-reg-set.h (GO_IF_HARD_REG_EQUAL): Fix typo. -Wed Aug 4 07:35:03 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * jump.c (find_cross_jump): Two CALL_INSNs only compare equal if + their CALL_INSN_FUNCTION_USAGEs are the same as well. - * reload1.c (eliminate_regs_in_insn): Always do elimination in - REG_NOTES if we changed anything in the insn. + * stupid.c (stupid_life_analysis): Make sure a function result reg + is still live if it contains an argument. - * genattrtab.c: Include gvarargs.h after hconfig.h, like elsewhere. +Fri May 13 22:17:48 1994 Doug Evans (dje@cygnus.com) -Wed Aug 4 01:32:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * reorg.c (mark_referenced_resources): Fix typo. - * c-typeck.c (output_init_element): Call digest_init before - calling output_constant. Always pass 0, 0 for last 2 args - to digest_init. +Fri May 13 18:54:38 1994 Jason Merrill (jason@deneb.cygnus.com) - * expr.c (do_tablejump) [PIC_CASE_VECTOR_ADDRESS]: If pic, - copy INDEX to a register early, to avoid invalid address later. + * integrate.c (integrate_decl_tree): Use copy_node to make a copy + of the decl. Also call copy_lang_decl to copy the + language-specific bits. + * tree.h: Declare copy_lang_decl. + * c-decl.c (copy_lang_decl): No-op function that will never + actually be called. -Tue Aug 3 23:56:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri May 13 15:12:20 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * gcc.c (process_command): Don't check whether file `-' exists. + * cse.c (cse_insn): Correctly check for two modes being the + same number of words. -Tue Aug 3 18:52:13 1993 John Hassey (hassey@dg-rtp.dg.com) +Fri May 13 05:03:51 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * configure (m88k-dg-dgux*): Use fixinc.dgux. - * x-dgux (INSTALL_HEADERS): Definition deleted. - * fixinc.dgux: New file. + * c-parse.in (enumlist): Add error alternative. -Tue Aug 3 17:34:53 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Thu May 12 23:25:38 1994 Jason Merrill (jason@deneb.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). + * c-common.c (truthvalue_conversion): If expr is a BIT_AND_EXPR + where one of the operands is integer_onep, just return expr. - * 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. +Thu May 12 20:08:49 1994 Mike Stump (mrs@cygnus.com) -Tue Aug 3 15:40:16 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + Fixup lifetime of temporaries. - * gstddef.h: Test and define __INT_WCHAR_T_H. + * calls.c (expand_call): Only destroy temporaries at the end + of function calls, if flag_short_temps is set. + * expr.c (safe_from_p, expand_expr): Handle CLEANUP_POINT_EXPRs. + * expr.c (expand_expr): Improve handling of temporaries inside + COND_EXPRs, cures call to sorry. + * expr.c (defer_cleanups_to): New routine to handle the deferral + of cleanups. + * flags.h (flag_short_temps): New flag, to allow better control + over the lifetime of temporaries. + * toplev.c (flag_short_temps, lang_options): Ditto. + * tree.def (CLEANUP_POINT_EXPR): Add, to allow better control over + the lifetime of temporaries. -Mon Aug 2 22:42:10 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu May 12 19:33:54 1994 David Edelsohn (edelsohn@npac.syr.edu) - * configure (i[34]86-sequent-sysv*): New alternative. - * config/i386/seq-sysv3.h: New file. + * rs6000.md (function units): Numerous cycle count change. + (zero_extendqidi2, extendqidi2, zero_extendhidi2): New patterns. + (extendhidi2, zero_extendsidi2, extendsidi2): Likewise. + (zero_extendqisi2, zero_extendqihi2, zero_extendhisi2): Use + andil/andi instead of rlinm/rlwinm. + (zero_extendqihi2): Add condition register variants. + (extendqisi2, extendqihi2): Use extsb for PowerPC. + (adddi3, subdi3, negdi2, ashrdi3): Emulate only if !TARGET_POWERPC64. + (movdf, movdi, movti): New PowerPC64 versions. + (load/store with update): New PowerPC64 patterns. - * combine.c (struct undo): Rename `rtx' fields to `r'. - (undo_all, SUBST, gen_rtx_combine): Corresponding changes. +Thu May 12 18:50:55 1994 Stephen L Moshier (moshier@world.std.com) -Mon Aug 2 18:53:23 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * real.c (m16m): Change first arg to int; all callers changed. - * 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. +Thu May 12 18:46:26 1994 Bill Cox (bill@cygnus.com) -Mon Aug 2 14:45:43 1993 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) + * fixincludes: Add definition of DBL_MAX to math.h for Lynx math.h. + Correct return type of strlen in Lynx string.h. + Delete definition of 'void' as 'int' from Lynx curses.h. - * genattrtab.c (substitute_address): In prototype, don't specify - the arg types of the arg functions. +Thu May 12 18:11:33 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * config/m68k/x-dpx2 (CLIB): Fix typo. + * reload.c (find_reloads): Don't change a secondary reload + to RELOAD_FOR_OPERAND_ADDRESS. -Mon Aug 2 06:36:53 1993 John F Carr (jfc@Athena.mit.edu) + * function.c (assign_parms): Fix typo in previous change. - * local-alloc.c (block_alloc): Don't attempt to allocate a - SCRATCH if it will not fit in scratch_list. +Thu May 12 15:48:54 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de) -Mon Aug 2 00:02:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-common.c (decl_attributes): Revert to identifiers for + mode attributes. + * libgcc2.c: Likewise. - * calls.c (expand_call): Check properly for volatile function. +Thu May 12 15:41:38 1994 Pat Rankin (rankin@eql.caltech.edu) -Sun Aug 1 04:18:23 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * vax/xm-vms.h (lookup_name_current_level_global): New macro. - * c-common.c (decl_attributes): Support attributes `volatile' - with alias `noreturn', and `const'. - * c-parse.in (attrib): Accept those attributes. +Wed May 11 17:44:47 1994 Jim Wilson (wilson@cygnus.com) - * c-typeck.c (build_binary_op): Warn about ordered comparison - between pointers to complete and incomplete types. + * cse.c (cse_insn): Set src_eqv if the dest is a STRICT_LOW_PART. - * c-parse.in (stmt): In an expr stmt, call default_conversion - for arrays and for functions. + * expmed.c (store_fixed_bit_field): Delete code to handle + MODE_FLOAT values here. + (store_bit_field): Put it here instead. - * 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. +Wed May 11 16:18:21 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * c-typeck.c (digest_init): No error for a STRING_CST that already - went through digest_init. - (parser_build_binary_op): Generate a NON_LVALUE_EXPR, not NOP_EXPR, - around a constant value. + * a29k.c (a29k_clobbers_to): New function. + * a29k.md (clobbers_to): Deleted. + (call_internal, call_value_internal): New patterns. + (call, call_value): Just call new patterns and a29k_clobbers_to. - * config/m68k/amix.h (ASM_OUTPUT_INTERNAL_LABEL) - (ASM_GENERATE_INTERNAL_LABEL): Definitions deleted. + * stor-layout.c (layout_type): Use POINTER_SIZE, instead of width + of Pmode, when appropriate. - * 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. + * calls.c (emit_call_1): Put new function usage data at end of + any data already there. + * expr.c (expand_builtin_apply): Likewise. - * c-decl.c (grokdeclarator): Warn here for volatile fn returning - non-void type. - (start_function): Not here. + * sched.c (sched_analyze_insn): Fix typo in last change. - * c-decl.c (grokdeclarator): Don't pass on const and volatile - fron function value type to function type. +Wed May 11 14:45:12 1994 Doug Evans (dje@cygnus.com) -Sat Jul 31 01:48:08 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * configure: Fix handing case of no language subdirs. - * 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. +Wed May 11 12:11:40 1994 Ian Lance Taylor (ian@cygnus.com) - * c-typeck.c (process_init_element): Treat string constants specially - only for arrays of integers. + * fixincludes: Don't recursively search symlinks to `.'. -Fri Jul 30 06:49:58 1993 Torbjorn Granlund (tege@sics.se) +Tue May 10 17:49:57 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de) - * 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) + * configure: Include stage4 in the list. - * 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. + * gcc.c (process_command): Kludge in stageN/../include instead of + include. - * 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. +Mon May 9 21:04:19 1994 Jim Wilson (wilson@cygnus.com) - * stmt.c (expand_return): Don't use jumps for "return x == y" if - they are expensive. + * sparc.h (*TF*_LIBCALL): Delete `*' from libcall name. -Fri Jul 30 02:03:12 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon May 9 18:42:10 1994 Matthias Pfaller (leo@marco.de) - * config/i386/i386.md (ffssi2 and ffshi2 recognizers): - Generate unique labels by hand. + * ns32k.c (output_move_dconst): Fix errors on ranges. -Thu Jul 29 01:47:21 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon May 9 18:33:16 1994 Chris Torek (torek@bsdi.com) - * 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. + * gcc.c (delete_if_ordinary): New function. + (delete_temp_files, delete_failure_queue): Call it. - * c-typeck.c (digest_init): Delete arg TAIL. Fix all calls. +Sat May 7 12:12:58 1994 Andreas Neubacher (aneubach@risc.uni-linz.ac.at) - * 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. + * i386/seq-sysv3.h (LIB_SPEC): Support -fshared-data. + (CPP_SPEC): Set _SEQUENT_ to 1. + (SHARED_SECTION_ASM_OP, ASM_OUTPUT_SHARED_COMMON): Supply new macros. + (SHARED_BSS_SECTION_ASM_OP, BSS_SECTION_FUNCTION): Likewise. - * 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. +Sat May 7 10:09:49 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * config/i386/x-ncr3000 (CC, OLDCC): Deleted. - * config/i386/xm-sysv4.h [__HIGHC__]: Include alloca.h. + * reorg.c (mark_{referenced,set}_resources): Fix typos in last change. - * convert.c (convert_to_integer): Don't pass truncate into ABS_EXPR. + * reload1.c (emit_reload_insns): Don't try to delete output reload + if there isn't one. - * configure: Ignore -enable... and --enable... options. + * i386.h (REG_ALLOC_ORDER): New macro. -Wed Jul 28 20:15:05 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * sched.c (sched_analyze_insn, attach_deaths_insn): Look at + CALL_INSN_FUNCTION_USAGE. - * Makefile.in (compare): Add ./ in tail command. + * reload1.c (choose_reload_regs): Remove previous change. -Wed Jul 28 15:36:11 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Fri May 6 20:32:22 1994 Doug Evans (dje@canuck.cygnus.com) - * integrate.c (copy_rtx_and_substitute, case LABEL_REF): If - we turn off LABEL_REF_NONLOCAL_P, increment function_call_count. + * sparc.c (leaf_reg_backmap): Delete. + (sparc_flat_compute_frame_size): Renamed from + sparc_frw_compute_frame_size. All callers changed. + (sparc_flat_save_restore): Likewise. + (sparc_flat_output_function_prologue): Likewise. + Delete decl of call_used_regs. + Delete reference to frame_base_name, use frame pointer explicitly. + Print prologue end marker. + (sparc_flat_output_function_epilogue): Likewise (renaming). + Delete decls of asm_out_data_file, asm_out_file, call_used_regs. + Print epilogue start marker. + (sparc_flat_epilogue_delay_slots): Likewise (renaming). + (sparc_flat_eligible_for_epilogue_delay): Likewise. + * sparc.h (TARGET_FRW): Add note saying this option is deprecated. + (TARGET_FLAT): Renamed from TARGET_FRW_COMPAT. + (TARGET_SWITCHES): Delete references to -mfrw, -mfrw-compat. + Add -mflat. + (CONDITIONAL_REGISTER_USAGE): If -mflat, fix %i7, rename "%fp" + to "%i7", and make %g7 a global_reg. + (FRAME_POINTER_REQUIRED): Handle -mflat. + (INITIAL_FRAME_POINTER_OFFSET): Likewise. + (ARG_POINTER_REGNUM): Explicitly say it's the frame pointer. + (LEAF_REGISTERS): Make %g7 not a leaf register. + (leaf_reg_backmap): Delete. + (LEAF_REG_BACKMAP): Likewise. + (FUNCTION_PROLOGUE): Handle -mflat. + (FUNCTION_EPILOGUE): Likewise. + (DELAY_SLOTS_FOR_EPILOGUE): Likewise. + (ELIGIBLE_FOR_EPILOGUE_DELAY): Likewise. - * 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 May 6 14:05:00 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de) - * 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. + * tree.h (TYPE_ATTRIBUTES): New macro. + (struct tree_type): attributes, new field. + (precision): Move this field up for better alignment. + (attribute_list_{equal,contained}): Prototype for new functions. + (build_type_attribute_variant): Prototype for new function. + * c-parse.in: Rewrite attribute parsing; update the expected + conflicts and state numbers. + * tree.c (TYPE_HASH): Move definition to top of file. + (make_node): Add support for SET_DEFAULT_TYPE_ATTRIBUTES. + (build_type_attribute_variant): New function. + (type_hash_lookup): Check if the attributes match. + (attribute_list_{equal,contained}): New functions. + * c-typeck.c (common_type): Add attribute merging. + (comp_types): Use COMP_TYPE_ATTRIBUTES macro. + * print-tree.c (print_node): Print attributes. + * c-common.c (decl_attributes): Move the attribute + recognition and rejection here from c-parse.in. + (decl_attributes): Use VALID_MACHINE_ATTRIBUTE macro. -Wed Jul 28 12:17:39 1993 Michael Meissner (meissner@osf.org) + * regclass.c (init_reg_sets_1): Eliminate several permanent + call_fixed_regs. - * i386/osfrose.h (SUBTARGET_OVERRIDE_OPTIONS): Use this instead of - OVERRIDE_OPTIONS. + * rtl.def (CALL_INSN): Define new CALL_INSN_FUNCTION_USAGE field. + * rtl.h (CALL_INSN_FUNCTION_USAGE): New macro. + (find_reg{,no}_fusage): Prototype for new function. + * rtlanal.c (reg_used_between_p): Check usage exprs on CALL_INSNs. + (reg_referenced_between_p, reg_set_p, dead_or_set_regno_p): Likewise. + (find_reg{,no}_fusage): New functions. + * combine.c (try_combine): Restrict combining on CALL_INSNs. + (distribute_{notes,links}): Look at CALL_INSN_FUNCTION_USAGE. + * cse.c (cse_insn): Invalidate CLOBBERed registers. + (count_reg_usage): Count registers in USE rtls on CALL_INSNs. + * emit-rtl.c (make_call_insn_raw): New function. + (emit_call_insn{,_before}): Use make_call_insn_raw. + * calls.c (prepare_call_address, emit_call_1, expand_call): Change + from USE and CLOBBER insns to using CALL_INSN_FUNCTION_USAGE. + (emit_library_call{,_value}): Likewise. + * expr.c (use_regs, expand_builtin_apply): Likewise. + * expr.h (use_regs): Likewise. + * flow.c (flow_analysis, find_basic_blocks): Likewise. + * caller-save.c (insert_save_restore): Likewise. + * function.c (fixup_var_refs_insns): Likewise. + * jump.c (find_cross_jump, get_label_{before,after}): Likewise. + * reload1.c (emit_reload_insns): Likewise. + * reorg.c (mark_referenced_resources, mark_set_resources): Likewise. + * integrate.c (save_for_inline_copying, expand_inline_function): + Copy CALL_INSN_FUNCTION_USAGE field. + * reload1.c (choose_reload_regs): Ban filled argument registers. + * caller-save.c (save_call_clobbered_regs): CALL_INSN_FUNCTION_USAGE + requires a sharper liveliness check. + * flow.c (propagate_block): Mark all registers mentioned in USE + usage expressions on a CALL_INSN as used. + * jump.c (find_cross_jump): If STACK_REGS is defined two + CALL_INSNs only compare equal if their USE usage rtls are + the same as well. + * stupid.c (stupid_life_analysis): Check the usage information + on CALL_INSNs. -Wed Jul 28 13:45:13 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * function.c (assign_parms): Spread out the REG_EQUIV notes + on CONCATs. - * expr.c (expand_expr, case ADDR_EXPR): Treat CONCAT like REG. +Fri May 6 12:43:10 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * c-decl.c (start_function): Warn if volatile fn returns non-void. + * reload.c (find_reloads): Ignore alternatives that will + not be reloadable due to PREFERRED_RELOAD_CLASS. -Wed Jul 28 13:22:15 1993 Jim Wilson (wilson@cygnus.com) + * explow.c (allocate_dynamic_stack_space): Just return + virtual_stack_dynamic_rtx if asking for zero bytes. + Set current_function_calls_alloca here and also record new + stack level for nonlocal gotos. + * expr.c (expand_builtin, case BUILT_IN_ALLOCA): Don't + set current_function_calls_alloca here nor record new + stack level for nonlocal gotos. + * stmt.c (expand_decl): Likewise. - * 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. + * function.c (assign_parms): Use expr_size when appropriate. - * sparc.c (shift_operand): New function. - * sparc.md (ashlsi3, ashrsi3, lshrsi3): Use shift_operand. + * c-typeck.c (comptypes): An enum type is compatible with type of + same signedness as well as precision. - * loop.c (strength_reduce): Don't ignore a giv that depends on a - reversed biv. + * alpha.h (CONST_COSTS): Revise all costs. + * alpha.md (addsi3, subsi3): Add define_expand to make + adddi3/subdi3; old pattern is now anonymous. - * 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. + * combine.c (simplify_rtx, case MULT): Don't convert MULT to + shift here. + (simplify_logical, case IOR): Convert back to PLUS if valid and + it will combine with another PLUS. + (extract_left_shift): New function. + (make_compound_operation, case ASHIFTRT): Simplify by calling it. + (force_to_mode): Don't ignore if X is a SUBREG. + (force_to_mode, case AND): Try to turn unchecked bits on + instead of just off and see which is cheaper. - * i960.h (INITIAL_FRAME_POINTER_OFFSET): Negate, and subtract 64 - bytes. +Fri May 6 11:22:23 1994 Ian Lance Taylor (ian@cygnus.com) - * sched.c (schedule_block): Do not emit line number notes before - other notes. + * Makefile.in (libgcc1.a, libgcc2.a): Don't ignore errors in for + loops over $(LIB[12]FUNCS_EXTRA). - * varasm.c (assemble_variable): flag_no_common applies only if - external linkage. +Fri May 6 06:14:56 1994 Mike Stump (mrs@cygnus.com) - * 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. + * expr.c (expand_cleanups_to): Tell expand_expr that we are going + to ignore the result of the cleanup. -Wed Jul 28 12:40:06 1993 Doug Evans (dje@canuck.cygnus.com) +Thu May 5 17:45:02 1994 Stan Shebs (shebs@andros.cygnus.com) - * 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. + * gcc.c (do_spec_1): If -save-temps, always clear the deletion flag. -Wed Jul 28 06:44:50 1993 John Hassey (hassey@dg-rtp.dg.com) +Thu May 5 13:39:35 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * configure: Use m88k/x-sysv3 for m88k-*-sysv3. - * m88k/x-sysv3: New file, use gnu alloca. + * combine.c (simplify_rtx, case SUBREG): Don't call force_to_mode. + (simplify_set): Call force_to_mode here. -Tue Jul 27 13:53:06 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) + * m68k.md (movhi): Simplify code involving jump-table + reference. + (load_address): Handle case of jump-table reference; output + required label. - * 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. +Thu May 5 12:28:16 1994 Ian Lance Taylor (ian@cygnus.com) -Tue Jul 27 16:42:44 1993 John F Carr (jfc@Athena.mit.edu) + * cccp.c (main): Include source file name in dependency output. - * fold-const.c (optimize_bit_field_compare): Preserve volatility - of bitfield. +Wed May 4 18:45:07 1994 Doug Evans (dje@cygnus.com) -Tue Jul 27 01:33:25 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config.sub: Remove duplicate -freebsd* entry. - * c-typeck.c (convert_for_assignment): Mismatch in signedness - of pointer targets should not inhibit warnings for const mismatch. +Wed May 4 18:03:34 1994 Jason Merrill (jason@deneb.cygnus.com) - * function.c (assign_parms): Don't copy too much when extending - parm_reg_stack_loc. + * cccp.c (special_symbol): Don't copy simple strings, use wchar_type. + (main): Setup wchar_type for C++ if needed. + (initialize_builtins): Use wchar_type. - * 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. +Wed May 4 17:19:34 1994 Mike Collison (collison@sw.stratus.com) - * c-typeck.c (set_init_index): Add pedantic warning. - (set_init_label): Likewise. + * reload.c (push_secondary_reload): Use TYPE for secondary type + if it is RELOAD_FOR_{INPUT,OUTPUT}_ADDRESS. -Tue Jul 27 14:22:48 1993 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) +Wed May 4 16:35:49 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * gstddef.h (_WCHAR_T_H): Test this and define this. + * configure (i386-gnu): New, same as i386-mach. - * configure (m68k-bull-sysv): Test for --stabs; - generate either native coff or dbx-in-coff debugging information. + * global.c (find_reg): When looking for locally-allocated hard + regs to reclaim, use REG_ALLOC_ORDER to find least used. - * 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. + * reload1.c (emit_reload_insns): Add another way to delete an + output reload. -Mon Jul 26 17:42:22 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * reload1.c (reload, reload_as_needed): Check for use of return + register with reg_referenced_p, not reg_mentioned_p. - * c-typeck.c (digest_init): Add `static' to definition. +Wed May 4 14:23:51 1994 Jim Wilson (wilson@cygnus.com) - * combine.c (simplify_shift_const): Inhibit hacks based on - num_sign_bit_copies if shift_mode differs from the mode of varop. + * mips.c (override_options): Delete TARGET_LLONG128 references. + * mips.h (MASK_LLONG128, TARGET_LLONG128): Delete. + (TARGET_SWITCHES): Delete -mlonglong128 option. + (LONG_LONG_TYPE_SIZE): Delete TARGET_LLONG128 reference. - * toplev.c (main): When -W sets warn_uninitialized, avoid later warning - if warn_uninitialized is not supported. + * mips/bsd-4.h, mips/bsd-5.h, mips/news4.h, mips/news5.h, + mips/nws3250v4.h, mips/svr3-4.h, mips/svr3-5.h, mips/svr4-4.h, + mips/svr4-5.h (CPP_SPEC): Delete. + * mips/dec-bsd.h (CPP_SPEC): Define __SIZE_TYPE__, + __PTRDIFF_TYPE__, and __mips. + (SIZE_TYPE): Delete. + * mips/dec-osf1.h (PTRDIFF_TYPE): Delete. + (CPP_SPEC): Define, overriding ultrix.h version. + * mips/iris5.h (CPP_SPEC): Define __SIZE_TYPE__, __PTRDIFF_TYPE__, + and __mips. + * mips/osfrose.h (CPP_SPEC): Define __PTRDIFF_TYPE__ and __mips. + (PTRDIFF_TYPE): Delete. + (SIZE_TYPE): Define. + (SET_ASM_OP): Define. + * config/mips/ultrix.h (CPP_SPEC): Delete. + (SIZE_TYPE): Delete. -Mon Jul 26 14:14:02 BST 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) +Tue May 3 19:04:43 1994 Jason Merrill (jason@deneb.cygnus.com) - * collect2.c (NAME__MAIN, SYMBOL__MAIN): Add default definitions. - (write_c_file, scan_prog_file [OBJECT_FORMAT_ROSE]): - Use macros instead of explicitly __main. + * Makefile.in (stamp-objlist): Depend on OBJS and BC_OBJS so that + subdir makes will know to re-link. - * function.c (expand_main_function): Likewise. +Mon May 2 16:05:05 1994 Per Bothner (bothner@kalessin.cygnus.com) - * libgcc2.c (__main): Use macro SYMBOL__MAIN instead of invoking - directly. + * toplev.c (compile_file): If static consts haven't been written + out yet, don't do it just because TREE_USED is set (if we're + optimizing). (This wins for C++, which uses static consts a lot.) -Mon Jul 26 16:03:33 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Mon May 2 16:42:59 1994 Jim Wilson (wilson@cygnus.com) - * fold-const.c (fold, case EQ_EXPR): Remove code that converts - mod to unsigned mod; it isn't correct for negative operands. + * stmt.c (expand_end_case): Make sure gen_casesi operands are + valid by passing them through copy_to_mode_reg if necessary. + * mips.md (casesi): Delete force_reg calls. - * toplev.c (strip_off_ending): Allow .ad* for Ada. + * ns32k.c (output_move_double): Always use split_double for the + CNSTOP case. -Mon Jul 26 14:06:04 1993 Bill Cox (bill@majipoor.cygnus.com) + * gcc.c (translate_options): For options that take an argument, + don't skip the argument if it doesn't exist. - * c-decl.c (print_lang_decl, print_lang_type): Correct function - headers to match prototype, and calls. + * c-decl.c (pushdecl): Use lookup_name_current_level_global instead + of lookup_name for extern references. Don't return duplicate decl + if it came from the global binding level, and there exists a + conflicting decl in an intervening block. + (lookup_name_current_level_global); New function. + * c-tree.h (lookup_name_current_level_global): Declare. -Sun Jul 25 17:01:34 1993 Per Bothner (bothner@kalessin.cygnus.com) + * sys-protos.h (read, write): Last parm is size_t not unsigned int. - * 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. + * unroll.c (remap_split_bivs): New function. + (unroll_loop): When remapping split bivs in the last instruction, + handle JUMP_INSNs in addition to INSNs. -Sun Jul 25 03:56:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon May 2 12:53:57 1994 Jason Merrill (jason@deneb.cygnus.com) - * c-typeck.c (start_init): Fill in p->next. + * config/nextstep.h (INCLUDE_DEFAULTS): Add cxx_aware field. + * config/vax/xm-vms.h (INCLUDE_DEFAULTS): Ditto. - * config/i386/i386.md (movstrictqi): Change q<-g alternative to q<-m. +Fri Apr 29 18:30:38 1994 Kung Hsu (kung@cygnus.com) -Sat Jul 24 18:17:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * tree.h (TYPE_DECL_SUPPRESS_DEBUG): new macro to support + suppressing of detail type infos into stabs. + * dbxout.c (dbxout_type): check the above flag to generate cross + reference in stabs. - * expr.c (emit_move_insn_1): For complex stack push, - don't use change_address. +Fri Apr 29 01:01:45 1994 Doug Evans (dje@cygnus.com) -Sat Jul 24 15:05:50 1993 Per Bothner (bothner@kalessin.cygnus.com) + * Makefile.in (stamp-objlist): New target. - * 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. +Thu Apr 28 22:17:15 1994 Doug Evans (dje@cygnus.com) -Sat Jul 24 02:48:31 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * Makefile.in (USE_ALLOCA): Rearrange "'s. + (FLAGS_TO_PASS): Delete CLIB, MALLOC, OBSTACK. - * function.c (put_reg_into_stack): New subroutine. - (put_var_into_stack): Use that; handle CONCAT. +Thu Apr 28 19:04:17 1994 Jim Wilson (wilson@cygnus.com) - * varasm.c (assemble_variable): For array whose size comes from - the initializer, determine proper alignment here. - (assemble_align): New function. + * stmt.c (expand_end_case): Correct test for sign extending + unsigned constant index when creating index_expr. - * 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. + * cccp.c (macroexpand): Use start_line for line number of the new + instack level pushed at the end. - * c-typeck.c (process_init_element): Accept STRING_CST for subarray. +Thu Apr 28 18:59:17 1994 Mike Stump (mrs@cygnus.com) - * loop.c (mark_loop_jump): Handle weird cases like jumping to - a symbol_ref. + * stmt.c: Remove old exception handling support from the backend. -Fri Jul 23 15:55:14 1993 Doug Evans (dje@canuck.cygnus.com) +Thu Apr 28 18:59:53 1994 Torbjorn Granlund (tege@adder.cygnus.com) - * c-tree.h: Fix prototypes for print_lang_decl, print_lang_type. + * sparc.c (arith_double_operand): Modify to accept all possible constants. + * sparc.md (adddi3, subdi3, anddi3, iordi3, xordi3): Corresponding changes. + (one_cmpldi3): Don't allow constants for operand 1. -Fri Jul 23 15:06:05 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Apr 28 18:10:18 1994 David Edelsohn (edelsohn@npac.syr.edu) - * c-typeck.c (start_init): Second arg is now a tree. + * rs6000.md (addsi3): Prefer add without carry instructions and + flag input operands as commutative for condition register variant. + (subsi3): Define PowerPC patterns using subtract without carry. + (numerous): Flag input operands as commutative for condition + register variant. + (mov* matchers): Use mr instruction in ! TARGET_POWERPC case as + well and mr. in condition register variant. + * rs6000.c (output_prolog): Use mr, lis, and li instructions. + Use subf instruction if TARGET_POWERPC. + (output_epilog): Use cal/addi instruction. -Fri Jul 23 08:26:43 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Thu Apr 28 12:48:59 1994 Andreas Neubacher (aneubach@risc.uni-linz.ac.at) - Cygnus<->FSF merge. - Thu Jul 22 09:54:05 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * i386/seq-sysv3.h (SHARED_SECTION_ASM_OP): Defined. - * cp-decl.c (push_overloaded_decl): Fix typo in warning msg. +Thu Apr 28 12:40:28 1994 Doug Evans (dje@cygnus.com) - Tue Jul 20 13:13:18 1993 Mike Stump (mrs@cygnus.com) + * expr.c (expand_builtin): Fix typo in previous patch + (allow __builtin_next_arg in varargs functions). - * cp-class.c (build_vtable, prepare_fresh_vtable): Make the vtables - readonly by default. +Tue Apr 26 16:31:44 1994 Per Bothner (bothner@cygnus.com) - Mon Jul 19 13:16:58 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * tree.h (AGGREGATE_TYPE_P): New macro. + * calls.c, expr.c, function.c, stmt.c, varasm.c: Use + new macro AGGREGATE_TYPE_P. - * cp-tree.h (NEW_CLASS_SCOPING): Turn this off for now. +Mon Apr 25 18:45:28 1994 John Hassey (hassey@dg-rtp.dg.com) - Mon Jul 19 11:04:51 1993 Jason Merrill (jason@rtl.cygnus.com) + * varasm.c (copy_constant, case CONSTRUCTOR): Fix typo; copied list + was placed on old CONSTRUCTOR, not new one. - * cp-class.c (build_vfn_ref): Rename `index' to `idx'. +Mon Apr 25 15:04:53 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Fri Jul 16 07:44:49 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * c-decl.c (grokdeclarator): Never warn about `long long' in + system header. - * 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. + * c-decl.c (finish_decl): Redo last change. - * cp-expr.c (cplus_expand_expr): Add missing arguments to expand_expr. + * Makefile.in (*compare*): Add missing semicolons. - Thu Jul 15 16:54:33 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Mon Apr 25 15:02:31 1994 Doug Evans (dje@cygnus.com) - * cp-lex.c (default_copy_constructor_body): Also check to copy - anonymous unions, since they don't show up as FIELD_DECLs. - (largest_union_member): New function. + * configure (m68k-hp-hpux): t-hp320g no longer needed as of gas 2.1. + * m68k/t-hp320g: Deleted. - Thu Jul 15 16:23:18 1993 Mike Stump (mrs@cygnus.com) +Mon Apr 25 14:23:18 1994 Poul-Henning Kamp (phk@login.dkuug.dk) - * cp-expr.c (cplus_expand_expr): Use resolve_offset_ref to handle - OFFSET_REFs, as anything else would be wrong. + * config.sub, configure: Recognize FreeBSD. + * i386/freebsd.h, x-freebsd: New files. + * i386/x-freebsd: New file. + * i386.h (TARGET_NO_FANCY_MATH_387): New option. + * i386.md (TARGET_NO_FANCY_MATH_387): Implement new option. + * ginclude/stdarg.h, ginclude/stddef.h, ginclude/varargs.h: + Recognize __FreeBSD__. + * gcc.c (link_command_spec): Add -Z argument for ZMAGIC's on FreeBSD. - Thu Jul 15 13:23:40 1993 Mike Stump (mrs@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-decl.c (grok_reference_init): Reword error message. - - Wed Jul 14 09:17:18 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-cvt.c (convert_to_reference): Adjust change of May 30th to - accept more things (and still handle ARM p308 properly). Disable - the old way, but leave it to be properly fixed later. - - Tue Jul 13 22:43:38 1993 Mike Stump (mrs@cygnus.com) - - * 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 13 11:52:37 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * 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. - - Sat Jul 10 14:54:36 1993 Chip Salzenberg (chip@fin.uucp) - - * 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. +Mon Apr 25 14:08:26 1994 Doug Evans (dje@cygnus.com) - * cp-typeck.c (build_binary_op_nodefault): Make warning - message distinguish between right/left and shift/rotate. + * configure (language search loop): Correct test for no languages. + (CC): Use single quotes to avoid shell expansion of $(CC). - * 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. +Mon Apr 25 13:10:07 1994 Andreas Stolcke (stolcke@icsi.berkeley.edu) - * cp-typeck.c (c_sizeof, build_c_cast): Set TREE_OVERFLOW in - addition to TREE_CONSTANT_OVERFLOW. + * Makefile.in (install-common): Install EXTRA_PARTS with + INSTALL_DATA, not INSTALL_PROGRAM. - * cp-decl.c (finish_enum): Store layout results into variant types. +Mon Apr 25 06:34:00 1994 Stephen L Moshier (moshier@world.std.com) - * 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. + * fold-const.c (fold-convert): Use assignment, instead of + initializing, aggregate local variable REAL_VALUE_TYPE. - * cp-parse.y (program): After extdefs, pop any unpopped binding lvls. +Sun Apr 24 11:17:20 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-decl.c (grokdeclarator, ARRAY_REF case): Build array type, - and then build the variant array type. + * reorg.c (redirect_with_delay_list_safe_p): Fix off-by-one error. - * cp-lex.c (real_yylex): Avoid invalid shift for erroneous empty - char const. + * real.c (etoe53, etoe24): Make all occurrences static. - * cp-decl.c (complete_array_type): Make maxindex -1 for empty - constructor. + * emit-rtl.c (try_split): Don't try to recursively split deleted insn. - * cp-type2.c (initializer_constant_valid_p): Allow cast of ptr to - wider integer. + * rs6000.md (movti): Adjust constraints to avoid impossible reload. - * cp-decl.c (pushdecl): Copy DECL_FRAME_SIZE for inline function decls. + * expr.c (expand_expr, case SAVE_EXPR): Fix error in last change. - * cp-decl.c (finish_decl): Do not allocate static var of - unknown size. - (complete_array_type): Use 0 as default maxindex. +Sat Apr 23 06:45:50 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Fri Jul 23 07:18:20 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * reload1.c (reloads_conflict, case RELOAD_FOR_OUTPUT): Fix typo. - * function.c (aggregate_value_p): An ARRAY_TYPE is also an aggregate. +Fri Apr 22 18:43:08 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Fri Jul 23 01:54:28 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * configure (alpha-dec-osf): Fix typo. - * gcc.c (main): Improve "No input files" error message. +Fri Apr 22 15:02:22 1994 Hallvard B Furuseth (h.b.furuseth@usit.uio.no) -Thu Jul 22 23:00:11 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * gcc.c (handle_braces, check_live_switch): Refine previous change. - * 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. +Fri Apr 22 03:27:26 1994 Doug Evans (dje@cygnus.com) -Thu Jul 22 18:01:29 1993 John Hassey (hassey@dg-rtp.dg.com) + * configure: Sort machines. - * 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. - -Thu Jul 22 11:19:28 PDT 1993 Ron Guilmette (rfg@netcom.com) - - * fixinc.svr4 (making LIB absolute): Just concat with $ORIG_DIR. - - * configure: Use `sed' rather than `cat' to put `MAYBE_TARGET_DEFAULT' - definition in. (This is a work-around for an NFS bug.) - -Thu Jul 22 14:59:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * 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. - - * 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='. - - * 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 21 15:50:19 1993 Jim Wilson (wilson@cygnus.com) - - * expr.c (expand_expr, COMPONENT_REF case): For unaligned object - in an aligned union, set MEM_IN_STRUCT_P if create a MEM rtx. - - * 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. + * Language directory reorganization. + * configure: Auto-configure each language subdirectory by looking + for */config-lang.in. + Add language makefile fragments (Make-lang.in) to top level makefile, + and hook them in via lang.* targets. + Configure each language subdirectory. On hosts that support them, + create stage[123] symlinks in each subdirectory. + If there is a configure script in the subdirectory, run it. + * Makefile.in (LANGUAGES): Remove c++. + (SUBDIRS): New variable. + (LEX, LEXFLAGS): Ditto. + (MAKEOVERRIDES): Ditto. + (COMPILERS): Remove cc1plus. + (LANG_MAKEFILES, LANG_STAGESTUFF, LANG_DIFF_EXCLUDES, FLAGS_TO_PASS): + New variables. + (CPLUS_OBJS, CPLUS_TREE_H, C++, c++, g++, g++-cross, cc1plus, + cp-*.o, g++.o, gplus.info): Deleted. + (STAGESTUFF): Remove g++, g++-cross, cc1plus. Add $(LANG_STAGESTUFF). + (Makefile): Depend on $(LANG_MAKEFILES). + (####language hooks, ####language fragments): New spots for sed + to insert things. + (all.cross, all.build, start.encap, rest.encap, info, dvi, + install-normal, install-common, install-info, install-man, + uninstall, distdir, mostlyclean, clean, distclean, extraclean, + realclean, stage1, stage2, stage3, stage4): Depend on lang.foo. + (mostlyclean, clean, distclean, extraclean, realclean): Clean as + much of the language subdirectories as we can. + (install-common): Remove g++ installation. + (install-man): Remove g++.1 installation. + (uninstall): Remove g++ reference. + (TAGS): Remove cp-parse.? reference. + (distdir): Ditto. + (distdir-start, distdir-finish): New targets. + (diff): Remove cp-parse.? reference. Add $(LANG_DIFF_EXCLUDES). + (compare, compare3, gnucompare, gnucompare3): Compare language + subdirectories too. + (stage1-start, stage2-start, stage3-start, stage4-start): New targets. + Ensure stage subdirectory exists before processing language + dependent part. + * cp/Makefile.in: New file, makefile for c++ subdirectory. + * cp/Make-lang.in: New file, c++ language makefile fragment. + This file provides c++ specific support to the top level makefile via + several well defined targets: c++.all.build, c++.all.cross, + c++.start.encap, c++.rest.encap, c++.info, c++.dvi, + c++.install-normal, c++.install-common, c++.install-info, + c++.install-man, c++.uninstall, c++.distdir, c++.mostlyclean, + c++.clean, c++.distclean, c++.extraclean, c++.realclean, + c++.stage1, c++.stage2, c++.stage3, c++.stage4. + * cp/config-lang.in: New file, defines language name and other + configuration parameters for the c++ language: compilers, stagestuff, + and diff_excludes. + * g++.c: Move into cp subdirectory. + * g++.1: Ditto. + * g++int.texi: Ditto. + * cp-*: Ditto, remove "cp-" prefix except for cp-tree.h. + +Thu Apr 21 15:47:01 1994 Jim Wilson (wilson@cygnus.com) + + * sparc.c (mem_aligned_8): Don't assume addresses with + MEM_IN_STRUCT_P set are 8 byte aligned. + + * iris5.h (CPP_SPEC): Define _LANGUAGE_C for Objective C also. + + * unroll.c (find_splittable_givs): Share dest_reg for multiple + address givs within a single instruction. + (copy_loop_body): Only update psuedo-reg for shared giv once. + + * sparc.c (sparc_type_code): Don't put more than 30 bits of info + into the variable qualifiers. + + * expr.c (store_expr): Don't check the TYPE_MODE of an ERROR_MARK. + +Thu Apr 21 15:34:11 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * calls.c (calls_function_1): A language-specific code must + be assumed to call a function and also call alloca. + Check for inlined functions that call alloca. + + * reload1.c (reload): Clear forbidden_regs earlier. + (new_spill_reg): Mention in error message that asm clauses can also + cause the compiler to run out of spill regs. + (scan_paradoxical_regs): If SMALL_REGISTER_CLASSES, forbid + hard regs used in explicit user variables. + + * combine.c (can_combine_p, combinable_i3pat, try_combine): Allow + combination involving hard regs if the hard reg is a user variable. + + * gcc.c (default_compilers): If -E and the file is (e.g.) x.s, + don't run the assembler; similarly for .i, .ii, .adb, etc. + + * Cleanups related to adding prototypes to many declarations. + * rtl.h: If TREE_CODE undefined, make an incomplete union for tree. + (STDIO_PROTO): Define here if not already defined. + (read_rtx): Use STDIO_PROTO. + (output_constant_def, immed_real_const): Use "union tree_node *". + (immed_real_const_1): Move declaration to real.h. + (rtx_to_tree_code): Supply prototype. + * tree.h: If RTX_CODE undefined, make an incomplete struct for rtx. + Add some missing declarations of functions in stmt.c. + (STDIO_PROTO): Define here if not already defined. + * real.h: Add prototypes to declarations of functions in real.c. + (immed_real_const_1): Move declaration from rtl.h. + * output.h: Add missing declarations of functions in final.c. + (STDIO_PROTO): Don't define here. + * c-tree.h (STDIO_PROTO): Likewise. + * reload.h (PROTO, STDIO_PROTO): Likewise. + * bi-opcode.c (main): Don't write overly-long line. + * cse.c, emit-rtl.c: Use CONST_DOUBLE_FROM_REAL_VALUE macro for immed + real_const_1. + * expmed.c: Add prototypes for static functions. + * expr.c (bc_expand_expr): Call expand_decl and expand_decl_init, + not the bc_ versions. + * final.c: Include stdio.h and ctype.h early. + Add prototypes for static functions. + * function.c: Add prototypes for static functions. + (bc_expand_function_end, expand_function_end): Call new + expand_fixups instead of old fixup_gotos. + * global.c, local-alloc.c: Add prototypes for static functions. + * integrate.c: Likewise. + Use CONST_DOUBLE_FROM_REAL_VALUE macro for immed_real_const_1. + * optabs.c: Likewise. + * real.c: Make most functions static and add prototypes for + all static functions. + (GET_REAL, PUT_REAL): Cast parameter to proper pointer type in + some cases; use unsigned array. + * stmt.c: Add prototypes for static functions. + (expand_fixups): New function. + (fixup_gotos): Now static. + Don't call bc_fixup_gotos with wrong type (but now probably wrong + value). + (bc_*): Now static. + (expand_exit_loop_if_false): Call bc_expand_goto_internal with + proper null pointer. + (expand_decl_init): Call bc_expand_decl_init if writing bytecode. - * sparc.md (movdi+1): Delete & from r/i constraint. - - From rfg@netcom.com: - * fixinc.svr4 (): Don't apply specialized fixes to - if we are on Solaris. They are not needed in that case. - - * 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. - - * 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. - - * m68k.h (TARGET_SWITCHES): Recognize -m68851, -mno-68851, - -m68302, -mno-68302, -m68332, -mno-68332. - - * 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. - - * fixincludes (sys/types.h sys/stdtypes.h): Delete newline before - do. - (machine/cpu.h): Delete space in `2>& 1'. - - * config.sub (lynx): Recognize as vendor. - (lynxos): Recognize as OS. - * configure (i386-*-lynxos, sparc-*-lynxos, m68k-*-lynxos): - Recognize as new configurations. - - * gcc.c (link_command_spec): Move %{T*} after %{L*} and %D. - - * optabs.c (expand_binop): Synthesize double word shifts and - rotates from single word shifts. - * sparc.md (ashldi3, lshrdi3): Obsolete, deleted. - -Wed Jul 21 15:55:18 1993 Ian Lance Taylor (ian@cygnus.com) - - * fixinc.svr4: When fixing ftw.h, preserve remainder of - ftw and nftw declaration; don't just rewrite it. - -Tue Jul 20 23:35:36 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * collect2.c (is_ctor_dtor): Delete leading _'s from sym names - in `special' table, in neither-dots-nor-dollars case. - -Tue Jul 20 18:49:09 1993 Michael Meissner (meissner@osf.org) - - * i386/osfrose.h, i386/osfelf.h (CC1_SPEC): Don't turn on - -mhalf-pic if ELF. - - * i386/osfrose.h (ASM_FILE_END): Put filename, sans directory into - the .ident string. - -Tue Jul 20 15:07:06 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * 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. - -Mon Jul 19 18:15:48 1993 John F Carr (jfc@Athena.mit.edu) - - * rs6000.c (current_file_function_operand): New function. - * rs6000.h (ENCODE_SECTION_INFO): New macro. - (PREDICATE_CODES): Add current_file_function_operand. - * rs6000.md: Add variants of call and call_value patterns for - calls to functions defined in the same file. Omit the TOC pointer - reload after such calls. - -Mon Jul 19 13:17:52 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * reorg.c (fill_simple_delay_slots): Try filling any insn needing - delay slots with a JUMP_INSN. - -Mon Jul 19 00:33:24 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * varasm.c (assemble_variable): New arg DONT_OUTPUT_DATA. - * toplev.c (rest_of_decl_compilation): Pass 0 as DONT_OUTPUT_DATA. - -Sun Jul 18 15:38:04 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c-typeck.c (c_expand_return): Set TREE_SIDE_EFFECTS - for the MODIFY_EXPR that we make. - - * stmt.c (expand_return): When expanding assignment into DECL_RESULT, - ignore the "value"--do it for effect. - - * 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. - -Sun Jul 18 14:22:05 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * function.c (init_function_start): Initialize trampoline_list here. - (expand_function_end): Not here. - -Sun Jul 18 01:24:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c-typeck.c (common_type): Use TYPE_MAIN_VARIANT when preferring - long int to int (when width is the same). - - * 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. - - * objc-act.c (synth_module_prologue): Call layout_type for the array - type used for _OBJC_SELECTOR_TABLE. - -Sat Jul 17 00:41:52 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * 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'. - - * toplev.c (rest_of_compilation): If function is extern inline, - even if we can't inline it, don't compile it. - -Fri Jul 16 21:33:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * dwarfout.c (dwarfout_init): Report failure of getpwd. - -Fri Jul 16 15:59:07 1993 Ian Lance Taylor (ian@cygnus.com) - - * config/m68k/hp320.h (LINK_LIBGCC_SPECIAL, SPACE_AFTER_L_OPTION) - (LIB_SPEC): Move outside of USE_GAS conditional. - -Fri Jul 16 14:26:25 1993 David d `zoo' Zuhn (zoo@cygnus.com) - - * config.sub: if [ "$os" ] --> if [ x"$os" != x"" ] - -Fri Jul 16 05:50:35 1993 Paul Eggert (eggert@twinsun.com) - - * 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. - - * c-typeck.c (convert_arguments) [PROMOTE_PROTOTYPES]: - With -Wconversion, use unpromoted type to check for signedness changes. - -Thu Jul 15 13:04:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * fixincludes (stdlib.h): Check carefully for definition of size_t. - -Wed Jul 14 19:05:51 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * fixincludes: Fix size_t definition in stdlib.h as in types.h. - Also a conditional to prevent repeated definition. - -Wed Jul 14 14:53:26 1993 Ian Lance Taylor (ian@cygnus.com) - - * fixincludes: Don't discard comment end characters on lines that - look like "#endif */". Fixes Esix 4.0.4 problem. - -Wed Jul 14 12:20:13 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * pa.c (emit_move_sequence): Use cint_ok_for_move instead of - checking each condition ourselves. - - * 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. - - * 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. - -Wed Jul 14 02:19:11 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * 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. +Thu Apr 21 14:21:56 1994 Ian Lance Taylor (ian@cygnus.com) - * c-typeck.c (build_c_cast): When casting to union, if value is array - or function, do default_conversion. - -Wed Jul 14 00:52:23 1993 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) - - * config.sub: Add case for Bull dpx/2. - -Mon Jul 12 17:26:53 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * fixincludes: When looking for #define CTRL, - accept multiple spaces between the two words. - - * reload1.c (reload): Don't free scratch_list or scratch_block if 0. - -Mon Jul 12 17:12:31 1993 Paul Eggert (eggert@twinsun.com) - - * 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. - -Mon Jul 12 16:44:37 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * config/i386/i386.md (ffssi2, ffshi2): Assume bsf produces - garbage if input is 0. Use jumps to load output in that case. - - * config/vax/vax.h (INITIALIZE_TRAMPOLINE): Add code to - do an rei to clear the insn cache. - -Sun Jul 11 18:13:47 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * config/ns32k/ns32k.c (output_move_double): Do the low reg first, - when only the high reg has an overlap. - - * 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. - - * i860.c (output_move_double): Fix typos in Jun 28 change. - -Sat Jul 10 16:05:26 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - - * 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. + Support taking the address of a text segment symbol when using + MIPS -membedded-pic. + * mips.h (embedded_pic_fnaddr_rtx): Declare. + (embedded_pic_offset): Declare. + (mips_finalize_pic): Declare. + (FINALIZE_PIC): Define. + (GO_IF_LEGITIMATE_ADDRESS): When using -membedded-pic, reject + combining an embedded PIC text reference with a register. + (ENCODE_SECTION_INFO): Under -membedded-pic set SYMBOL_REF_FLAG to + 0 for text segment symbols, 1 for data segment symbols. + * mips.c (embedded_pic_fnaddr_rtx): New variable. + (embedded_pic_offset): New function. + (mips_finalize_pic): New function. + (mips_select_section): When using -membedded-pic and not using + -fwritable-strings, put strings in the text section, not the read + only data section. + * mips.md (movsi): When using -membedded-pic, add special code + when loading a symbol directly to use an offset from the start of + the current function. + (get_fnaddr): New insn to get address of current function. + +Wed Apr 20 19:38:38 1994 Doug Evans (dje@cygnus.com) + + * regclass.c (init_reg_sets_1): Make static. + (init_reg_modes): New function. + (init_regs): Likewise. + * toplev.c (compile_file): Call init_regs after init_rtl. + (main): Delete call to init_reg_sets_1. + +Wed Apr 20 15:06:35 1994 Steve Chamberlain (sac@cygnus.com) + + * sh.c (REG_ODD): Allow DIs and DFs into odd registers. + (print_operand): New command char '@', change nop insn. + (synth_constant): Don't allocate temp reg during reload. + (expand_block_move): Don't expand if TARGET_SMALLCODE. + (prepare_split_double_ops): Deleted. + (howshift, multcosts): Work out costs exactly. + (dump_table): Emit a label before the align. + (hi_const): TARGET_SHORTADDR makes more things HI consts. + (machine_dependent_reorg): Look through SUBREGS. + (from_compare): Get better code when relational args are loaded + into regs now. + (expand_acall): Cope with TARGET_BSR. + (general_movdst_operand): Don't allow illegal autoincs. + (mac_operand): New function. + (sh_function_arg, sh_function_partial_nregs): From sh.h + * sh.h (PARANOID_BIT, RETR2_BIT, CONSTLEN0_BIT, BSR_BIT, + SHORTADDR_BIT, TARGET_PARANOID, TARGET_RETR2, TARGET_CONSTLEN0, + TARGET_BSR, TARGET_SHORTADDR, TARGET_SWITCHES): New options. + (OVERRIDE_OPTIONS): No function_cse when TARGET_BSR. + (FIRST_RET_REG): Depends on TARGET_RETR2. + (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS): Moved to sh.c + (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Define. + (MODE_DISP_OK_8): Define. + (REG_OK_FOR_PRE_POST_P): Allow a pseudoreg. + (GO_IF_LEGITIMATE_ADDRESS): Allow DI addressing modes. + (MOVE_RATIO): Depends on TARGET_SMALLCODE. + * sh.md (interrupt_function): New attr. + (define_delay): Account for interrupt functions. + (addc): Describe pattern better. + (adddi3): Expanded better. + (peepholes): Deleted many obsolete patterns. -Sat Jul 10 19:49:31 1993 Jeffrey A. Law (law@mole.gnu.ai.mit.edu) - - * jump.c (jump_optimize): Correctly identify branches to the end - of a function so that they may be turned into RETURN insns. - -Sat Jul 10 17:37:12 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * collect2.c (main): Allocate COLLECT_NAME string with xmalloc. - -Sat Jul 10 14:44:29 1992 Chip Salzenberg (chip@fin.uucp) - - * 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. - -Sat Jul 10 10:25:16 1993 Karl Berry (karl@cs.umb.edu) - - * fixincludes: Check for symlinks being available in /tmp. - -Sat Jul 10 02:01:08 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * config/m68k/3b1.h (MY_ISCOFF, OBJECT_FORMAT_COFF, NO_SYS_SIGLIST): - New definitions. - -Fri Jul 9 20:40:29 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * pa.md (dbra and movb patterns): Fix constraints so that FP - registers are never preferred. - -Fri Jul 9 17:36:35 1993 Holger Teutsch (holger@hotbso.rhein-main.de) - - * 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. - - * config/clipper/clipper.c (clipper_builtin_saveregs) : Dito. - -Fri Jul 9 13:39:08 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - Cygnus<->FSF merge. - Fri Jul 9 12:17:20 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-typeck.c (build_array_ref): Force the array to be allocated on - the stack if it is accessed by a out-of-bound constant integer - subscript. - - * cp-decl.c (pushdecl): Undo change to generate a new _TYPE node for - a typedef. - - Thu Jul 8 16:25:52 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-decl.c (pushtag): Don't mark the binding layer marker; for - dwarf debugging, do mark the TYPE_DECL we created as ignored. - - * cp-tree.h (IN_CHARGE_NAME): Define to not need DOLLAR_IN_LABEL. - (VTBL_PTR_TYPE): Likewise. - (VTABLE_DELTA_NAME, VTABLE_INDEX_NAME, VTABLE_PFN_NAME, - VTABLE_DELTA2_NAME): Use two leading underscores. - - Thu Jul 8 14:31:40 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-tree.h (TREE_ANON_UNION_ELEM): Deleted, it's never set. - * cp-decl.c (build_default_constructor): Delete checking - TREE_ANON_UNION_ELEM. - * cp-init.c (emit_base_init): Likewise. - * cp-type2.c (my_friendly_abort): Update count. - - * cp-type2.c (build_functional_cast): Disable assert 323 (see - comments for explanation). - - * cp-typeck.c (comp_target_parms): Return 0 if strict is != 0, not - just > 0. - - * cp-decl.c (init_decl_processing): Don't set WARN_RETURN_TYPE. - - Wed Jul 7 18:36:59 1993 Niklas Hallqvist (niklas@della.appli.se) - - Add the changes to redo how we handle scoping. [Merged by bpk.] - - * cp-class.c ({pop,push}_nested_class): New functions to use - instead of plain {push,pop}class. These functions will see to - that static entities of enclosing classes will be visible. - * cp-tree.h ({pop,push}_nested_class): Declare them. - * cp-decl.h ({finish,start}_function): Use these new functions - instead of plain {push,pop}class calls. - (grokdeclarator): Ditto. - * cp-decl2.c (build_push_scope): Ditto. - * cp-class.c (popclass): Only call pop_class_decls if MODIFY is - set. - - * cp-decl.c (start_decl): Maybe call pushdecl_class_level instead of - pushdecl. This is used for nested types. - (grokdeclarator): Remove the {push,pop}level calls around the - indirect recursion occuring when groking class-local typedefs. - Remove the error check of such typedefs hiding other fields in the - same scope. Remove the pushdecl_class_level call since start_decl - does the work now. - - Class scoping (and type value caching) redone. The new behaviour - is triggered by NEW_CLASS_SCOPING being defined to 1. The old - behavior is accomplished by defining it to the value 0. The entries - below describes the effective changes when NEW_CLASS_SCOPING is set - to non-zero. - - * cp-class.c (set_class_shadows): Add prototype. - (previous_class_values): New variable. - (pushclass): Adapted to not use previous_class_type & unuse_fields. - Removed setting of IDENTIFIER_CLASS_VALUE. - (popclass): Adapted to not use previous_class_type. Don't reset - IDENTIFIER_CLASS_VALUE. Moved call of pop_class_decls. - (maybe_push_cache_obstack): New function. - * cp-decl.c (current_class_depth): Add extern decl. - (previous_class_values): Add extern decl. - (pop_decl_level): Don't reset IDENTIFIER_CLASS_VALUE. - (set_class_shadows): New function. - (poplevel_class): Adjust setting of IDENTIFIER_CLASS_VALUE to only - happen if we're not leaving a toplevel class. - (push_to_top_level): Don't use adjust_type_value. - (set_identifier_type_value): Reverse the choice between class and - local scope when installing the type value. - (set_identifier_local_value): Set the type value if we're seeing a - TYPE_DECL. - (set_nested_typename): Added comment. - (pushtag): Don't call set_identifier_type_value. Leave out - setting of IDENTIFIER_CLASS_VALUE. - (adjust_type_value): Removed. - (pushdecl): Don't call adjust_type_value. - (pushdecl_class_level): Call push_class_level_binding. Set the - type value if we're seeing a TYPE_DECL. - (push_class_level_binding): New function whose guts came from - pushdecl_class_level. - (globalize_nested_type): See to that both the class_shadowed and - type_shadowed lists in the binding stack gets updated correctly. - Don't call set_identifier_type_value on the DECL_NESTED_TYPENAME. - Clear DECL_CLASS_CONTEXT as well as DECL_CONTEXT. Install a - correct IDENTIFIER_{CLASS,TYPE}_VALUE if needed. - (grokdeclarator): Prefer pushdecl_class_level over pushtag when - recording a nested typedef. - (build_enumerator): Don't install a method-local enumerator into - class scope. - * cp-decl2.c (grokfield): Don't call set_identifier_type_value. - * cp-search.c (closed_envelopes): New list containing information - of what decls should be pushed when entering a class scope. - (dfs_pushdecls): Build and maintain the closed_envelopes list - instead of managing the IDENTIFIER_CLASS_VALUEs directly. - (dfs_compress_decls): Adapted to recognize the envelopes - dfs_pushdecls has installed in the IDENTIFIER_CLASS_VALUE slots. - (push_class_decls): Tell overload_template_name to push the - template decls into class scope instead of building a new level. - Added code to open up the envelopes in closed_envelopes and - install the class/type values in the class binding contour with - proper shadowing. - (dfs_popdecls): Removed. - (pop_class_decls): Removed the actual decl-popping code, leaving - just the obstack freeing pop_search_level call. The popping is - automatically handled by poplevel now. - * cp-tree.h (NEW_CLASS_SCOPING): A new macro constant defaulted to - the value 1. - (adjust_type_value): Prototype removed. - (push_class_level_binding): Added prototype. - - Wed Jul 7 11:04:09 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-decl.c (pushdecl): When processing a typedef statement, - generate a whole new ..._TYPE node. Be careful that the type we're - looking at isn't an error_mark_node. - - * cp-class.c (finish_struct): Set the DECL_CONTEXT on the type we've - found. - * cp-decl.c (pushtag): Mark the TYPE_DECL as ignored when using - dwarf debugging; don't ignore it if it's anonymous for dwarf - debugging. Put the DECL_CONTEXT in the TYPE_CONTEXT of TYPE. - (globalize_nested_type): Remember to set TYPE_CONTEXT. - * cp-pt.c (overload_template_name): Set DECL_CONTEXT. - * cp-search.c (compute_visibility): Set DECL_CONTEXT if the context - is NULL. - - * cp-class.c (finish_struct): Mark the tag as ignored for dwarf - debugging. - - * cp-except.c (EHS_type): Don't make it static. - * cp-class.c (finish_struct): Don't create a default copy - constructor for the EHS_type. - - * cp-class.c (get_vtable_name): Leave the numbers in the name for - the vtable, so we're uniform with what prepare_fresh_vtable is - doing. Introduces a binary incompatability. - - * cp-tree.c (build_cplus_method_type): Mark the first argtype (the - this pointer) as artificial. - - * cp-init.c (do_friend): Don't allow a friend of a class that's not - yet been defined; instead, complain. Make sure we mark every decl - that comes in as being a friend of something. - - * cp-decl2.c (grokclassfn): Mark the __in_chrg parameter as - artificial. Don't mark it as readonly, and for destructors make - sure the first arg in the arg_types chain has TREE_SIDE_EFFECTS set, - so it's seen as artificial. - (finish_vtable_vardecl): For dwarf debugging, make the vtable's - VAR_DECL node be ignored. - - * cp-decl.c (redeclaration_error_message): Use comptypes to see if - OLDDECL and NEWDECL have the same type. - * cp-typeck.c (comptypes): Compare the main variants of the types, - after we've checked the qualifiers that could have been used on them. - - * cp-call.c (EVIL_RETURN, QUAL_RETURN, TRIVIAL_RETURN, ZERO_RETURN): - Rewrite definitions to not use do/while(0), to avoid bogus warnings - on compilers that can't deal with a return inside it. Change all - uses of them to do `return FOO_RETURN'. - - Tue Jul 6 13:00:44 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-decl.c (duplicate_decls): Set GIVE_ERROR so we know where the - previous declaration was for empty parameter name list declarations. - - * cp-class.c (finish_struct): Clean up error message about anonymous - classes. - - * cp-class.c (finish_struct): Don't play with TAIL when we're - dealing with a TYPE_DECL of a RECORD_TYPE; the list continues on - just fine, and TAIL is only used for managing FN_FIELDS. - - * cp-decl.c (pushlevel): Change cast to HOST_WIDE_INT. - * cp-search.c (breadth_first_search): Likewise. - - Fri Jul 2 19:24:55 1993 Steve Chamberlain (sac@rtl.cygnus.com) +Wed Apr 20 13:37:58 1994 Jason Merrill (jason@deneb.cygnus.com) - * cp-method.c: Include "cp-class.h" + * expr.c (expand_expr): Don't force ignore when expanding the + subexpression of a WITH_CLEANUP_EXPR. Don't check ignore when + deciding whether or not to expand the cleanup for a TARGET_EXPR. - Fri Jul 2 18:16:10 1993 Michael Tiemann (tiemann@blues.cygnus.com) +Wed Apr 20 12:20:16 1994 Doug Evans (dje@cygnus.com) - * cp-call.c (build_overload_call_real): Don't look at a required - template instantiation and a speculative template instantiation as - two different functions if they are really the same function. + * h8300/h8300.h (RTX_COSTS): Remove LSHIFT. + * h8300/h8300.md (lshrhi3_eight): Fix name. + (lshrhi3): Use it. + * i860/i860.c (safe_insn_src_p): Remove LSHIFT. + (single_insn_src_p): Likewise. + * i960/i960.c (i960_expr_alignment): Remove LSHIFT. + * sh/sh.c (output_shift, ASHIFTRT case): Do opposite shift as ASHIFT. + Delete LSHIFT case. + * sh/sh.h (RTX_COSTS): Remove LSHIFT, add LSHIFTRT. + * spur/spur.md (lshlsi3): Delete. - Thu Jul 1 22:28:46 1993 Michael Tiemann (tiemann@blues.cygnus.com) +Wed Apr 20 06:40:15 1994 Philippe De Muyter (phdm@info.ucl.ac.be) - * cp-tree.h: Don't include "cp-class.h" here. - * cp-call.c, cp-cvt.c: Include it here instead. + * c-lex.c (check_newline): Avoid unreachable statement when + HANDLE_SYSV_PRAGMA defined. - Thu Jul 1 18:42:03 1993 Mike Stump (mrs@cygnus.com) +Wed Apr 20 01:52:24 1994 Steve Chamberlain (sac@mole.gnu.ai.mit.edu) - * cp-decl.c (duplicate_decls): Fix typo. (olddecl->olddecls) + * flow.c (find_auto_inc, try_pre_increment): Make sure + that insertion of autoinc addressing mode would yield a valid + instructon. - Thu Jul 1 18:34:12 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Tue Apr 19 23:41:14 1994 Doug Evans (dje@cygnus.com) - New implementation of argument matching. This is now much cleaner - to read, and is designed such that it should be easy to tweak - things when incorrect decisions are made based on the candidates - being examined. + * Makefile.in (expr.o): Depend on regs.h. + * rtl.h (choose_hard_reg_mode): Declare. + * regs.h (reg_raw_mode): Declare. + * caller-save.c (choose_hard_reg_mode): Delete from here. + * regclass.c (choose_hard_reg_mode): Define here. + (reg_raw_mode): Define. + (init_reg_sets_1): Initialize reg_raw_mode. + * expr.c: #include regs.h. + (use_regs): Use reg_raw_mode. + * reload1.c (emit_reload_insns): Record additional spill registers + in their intrinsic mode. + * combine.c (move_deaths): Record death information of remaining + registers in their intrinsic mode. + * sched.c (attach_deaths): Create partial register dead notes using + register's intrinsic mode. - * 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. +Tue Apr 19 21:40:57 1994 Mike Stump (mrs@cygnus.com) - * 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. + * toplev.c (lang_options): Add -fhandle-signatures for C++ + frontend. - * 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. +Tue Apr 19 19:00:30 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * cccp.c (do_error): Don't terminate. - * 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. +Tue Apr 19 17:48:41 1994 Hallvard B Furuseth (hbf@durin.uio.no) - Thu Jul 1 17:54:44 1993 Mike Stump (mrs@cygnus.com) + * gcc.c: Add new options -print-file-name= and -print-prog-name=. - * cp-decl.c (duplicate_decls): Propagate some changes from C - front-end. Conflicts with built-in functions are now only warnings. + * gcc.c (struct switchstr): New field LIVE_COND. + (process_command): Initialize it. + (check_live_switch): New function. + (handle_braces): Call it. - Thu Jul 1 15:43:48 1993 Mike Stump (mrs@cygnus.com) +Mon Apr 18 19:22:25 1994 Lee Iverson (leei@ai.sri.com) - * cp-call.c (build_field_call): Use real type if type is a - REFERENCE_TYPE. - * cp-parse.y (primary): Cleanup and move some code out into new - function build_object_ref. - * cp-tree.h (build_object_ref): New function. - * cp-typeck.c (build_object_ref): Define new function. - * cp-typeck.c (build_x_function_call): Return error_mark_node if - first argument is, and handle when TREE_PURPOSE is a binfo and comes - from lookup_fnfields. + * mips.h (RTX_COSTS): Remove LSHIFT. - Thu Jul 1 13:48:46 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Mon Apr 18 17:56:22 1994 Philippe De Muyter (phdm@info.ucl.ac.be) - * cp-lex.c (readescape): Don't complain for \% unless pedantic. + * c-decl.c (duplicate_decls): Always warn when const declaration + follows non-const one for variables. - Wed Jun 30 10:35:50 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Mon Apr 18 16:38:30 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de) - * 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. + * calls.c (prepare_call_address): New arg REG_PARM_SEEN. + All callers changed. + (expand_call): Pre-load args if small reg classes and reg parms. + * expr.h (prepare_call_address): Extend prototype. + * expr.c (expand_builtin_apply): Pass new arg to prepare_call_address. - * cp-call.c (build_scoped_method_call): If it's a reference, work - with the actual type. - * cp-type2.c (build_scoped_ref): Likewise. +Mon Apr 18 14:53:14 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Tue Jun 29 19:49:57 1993 Mike Stump (mrs@poseidon.cygnus.com) + * fold-const.c (const_binop): If arg is NaN, just return it + (fold_convert): Handle NaN in real->int and real->real cases. - * 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. + * c-lex.c (yylex): If FP value is NaN, use value of zero. - Tue Jun 29 12:44:48 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-typeck.c (mark_addressable): Don't complain about taking the - address of an object with register storage class; it's legal in C++. - - * cp-typeck.c (convert_arguments): Only warn about passing an object - through an ellipsis. - - * cp-parse.y (typed_declspecs): Make sure the TYPESPEC we hit - upon is non-null. - - Tue Jun 29 11:58:03 1993 Tony Deigh (tonyd@bostech.com) - - * cp-decl.c (grokdeclarator): Look at the decl as a FUNCTION_TYPE - before seeing if its TYPE_MAIN_VARIANT matches or it's a friend; - this way, we can properly detect declaration of another class's - methods inside another class. Solves chainon aborts. - - Tue Jun 29 09:47:36 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-class.c (finish_struct): Use pedwarn_with_decl for warnings - about non-static const/ref in class without a ctor, so the line - number is helpful. - - Tue Jun 29 02:46:39 1993 Mike Stump (mrs@cygnus.com) - - * cp-cvt.c (build_up_reference): Delete unneed cast. - * cp-typeck.c (convert_for_assignment): Likewise. - - Mon Jun 28 19:19:34 1993 Mike Stump (mrs@rtl.cygnus.com) - - * cp-lex.c (real_yylex): Use pedwarn to warn about using catch, try - and throw as identifiers. - - Mon Jun 28 11:13:17 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-method.c (hack_identifier): Only look for visibility if we have - a basetype path. - - * cp-decl.c (grokdeclarator): Also forbid the subscripting operator, - and class member access operator being declared as a non-member - function. - - * cp-init.c (add_friend): Pedwarn on duplicate friend decls. - - * cp-init.c (is_friend_type): New function. - (is_friend): Call it; rewrite in minor ways, to clean the code up. - * cp-tree.h (is_friend_type): Add prototype. - * cp-search.c (compute_visibility): Also check if the - CURRENT_CLASS_TYPE is a friend of CONTEXT, which can buy us access - to the field in question. - - * cp-init.c (sort_member_init): Disable assert that was wrong. - - * cp-class.c (finish_struct): Make declaration of a non-static const - or reference member get a pedwarn if the class it's in has no - constructor. - - * cp-decl2.c (grokfield): Fix up the error message about member - initialization. - - * cp-typeck.c (c_expand_return): Make sure we don't set - CURRENT_FUNCTION_RETURNS_VALUE if we set CURRENT_FUNCTION_RETURNS_NULL. - - * cp-method.c (dump_init): Don't emit digit_buffer if we're giving - an enum's tag. - -Fri Jul 9 16:45:25 1993 David d `zoo' Zuhn (zoo@cygnus.com) - - * config.sub: Make -solaris reflect the most recent major release. - -Fri Jul 9 16:18:20 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * Change length attributes to use bytes instead of instruction - counts. - * pa.h (CASE_VECTOR_MODE): Change to DImode. - * pa.c (compute_movstrsi_length): Return length in bytes. - (pa_adjust_insn_length): Return adjustment in bytes. - (output_cbranch): Handle lengths as bytes. - (output_bb, output_dbra, output_movb): Likewise. - * pa.md (default length define_attr): Lengths are in bytes now. - (asm_attributes): Likewise. - (delay slot attributes): Deal with lengths in bytes. - (explicit length computations): Compute length in bytes. - - * Make more dbra insns and support movb insns. - * pa.h (output_dbra, output_movb): Declare. - * pa.md (dbra pattern): Use output_dbra. - (dbra pattern #2): New pattern. Also use output_dbra. - (movb, inverted movb): New patterns. - * pa.c (pa_adjust_insn_length): dbra and movb insns which have - their output in a FP register do not need adjustment. - (output_cbranch, output_bb): Handle conditional jump to the - following instruction. - (output_dbra): New function extracted from dbra pattern. - (output_movb): New function. - (eq_neq_comparison_operator): New function. - (movb_comparison_operator): New function. + * expr.h (PROMOTE_MODE): Don't supply default here. + (promote_mode): Add declaration. + * explow.c (promote_mode): New function. + * calls.c (expand_call): Use it. + * function.c (assign_parms, promoted_input_arg, expand_function_start): + Likewise. + * expr.c (expand_expr, case VAR_DECL, SAVE_EXPR): Likewise. + * stmt.c (expand_value_return, expand_decl): Likewise. -Fri Jul 9 01:07:52 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Apr 18 11:36:04 1994 Jason Merrill (jason@deneb.cygnus.com) - * config/m68k/mot3300.h (ASM_OUTPUT_OPCODE): Don't add .w suffix - to jump insns. + * Makefile.in (LIB2FUNCS): Change _op_vec_delete to _op_vec_del. + * libgcc2.c: Ditto. - * combine.c, cse.c: Include stdio.h before rtl.h. +Mon Apr 18 11:19:07 1994 Jeffrey A. Law (law@snake.cs.utah.edu) -Wed Jul 7 18:06:45 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * reorg.c (redirect_with_delay_list_safe_p): New function, + similar to redirect_with_delay_slots_safe_p. + (fill_slots_from_thread): Do not redirect a jump if doing + so would invalidate the delay list for the jump. - 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. +Mon Apr 18 03:09:30 1994 Doug Evans (dje@cygnus.com) - * sparc.h (SECONDARY_MEMORY_NEEDED_RTX): Use - STARTING_FRAME_OFFSET. - (STARTING_FRAME_OFFSET): Set to -16. + * scan-types.sh: Fix program's name in error message. + Rename dummy.c to avoid collisions in parallel makes. - * 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. +Sun Apr 17 18:29:00 1994 David Edelsohn (edelsohn@npac.syr.edu) - * combine.c (simplify_comparison): Add parentheses to satify gcc. - * sparc.c (sparc_frw_save_restore): Likewise. - * expr.c (convert_to_mode): Move misplaced parentheses. + * rs6000.h (PROCESSOR_COMMON, PROCESSOR_POWER, PROCESSOR_POWERPC): + New macros. + * rs6000.c (processor_target_table): Change "all" to "common". + Add "power" and "powerpc" generic processors. Explicitly turn off + new mnemonics for all members of the POWER architecture family. -Wed Jul 7 16:37:26 1993 Jeffrey A. Law (law@snake.cs.utah.edu) +Sun Apr 17 10:04:18 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Improve code for conditional branches and dbra insns on the PA. - * pa.c (pa_adjust_insn_length): Rewrite so that it only adjusts - insns which really need adjustment. - (output_cbranch): Rework so that output templates are simpler. - Use shorter sequence for long backwards conditional branches with - a filled delay slot that is nullified. More agressively use "skip" - instructions. More agressively nullify the delay slot if nothing - useful could be placed there. - (output_bb): Likewise. - (forward_branch_p): New function. - * pa.md (conditional branches): Use the full displacement range - for the branch target. Update length computations to match current - reality. - (branch on bit patterns): Likewise. - (decrement_and_branch_until_zero): Re-enable pattern. Rewrite to - be simpler and more efficient. Also handle case where loop counter - is in a FP register. + * tree.h (DECL_PRINT_NAME): Deleted. + (struct tree_decl): Field print_name deleted. -Wed Jul 7 11:19:03 1993 Ian Lance Taylor (ian@cygnus.com) +Sun Apr 17 06:59:58 1994 Pat Rankin (rankin@eql.caltech.edu) - * glimits.h (MB_LEN_MAX): Don't override the value from the system - . Just define it if it is not already defined. + * vax.h (RTX_COSTS), vax.c (vax_rtx_cost): Remove LSHIFT case. - * collect2.c (main): Search for ld in the compiler directories. +Sun Apr 17 01:15:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu) -Wed Jul 7 13:40:55 1993 Jim Wilson (wilson@kropotkin.gnu.ai.mit.edu) + * function.c (locate_and_pad_parm): For ARGS_GROW_DOWNWARD, + Round sizetree for both upward and downward padding, nuke + the (now unnecessary) call to pad_below for arg_size_ptr. - * collect2.c (fork_execute, scan_prog_file): Use "fork" in error - messages instead of "vfork" when vfork is defined to fork. +Sat Apr 16 21:05:40 1994 David Edelsohn (edelsohn@npac.syr.edu) -Tue Jul 6 16:38:36 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * rs6000.md (one_cmplsi2): Always use nor instruction; + remove extraneous minus sign from condition register set constraint. - * sparc.c (sparc_type_code): Recognize SET_TYPE. For special - Fortran/Pascal types, just return qualifiers instead of aborting. +Sat Apr 16 17:12:40 1994 Philippe De Muyter (phdm@info.ucl.ac.be) - * c-decl.c (insert_block): Correct typo in comment. + * m68k.c (print_operand): 'x' and 'y' mode letters only + if SUPPORT_SUN_FPA. + (print_operand_address): If (new) ASM_OUTPUT_CASE_FETCH defined, + use it to emit the address for the insn before a tablejump. + * m68k/mot3300.h (FUNCTION_ARG_PADDING, FUNCTION_PROLOGUE): Deleted. + (FUNCTION_EPILOGUE, PRINT_OPERAND, PRINT_OPERAND_ADDRESS): Deleted. + (SGS_SWITCH_TABLES, ASM_OUTPUT_CASE_END): Deleted. + (ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND): Deleted. + (SGS_NO_LI, ASM_OUTPUT_CASE_FETCH, ASM_RETURN_CASE_JUMP): Defined. - * combine.c (simplify_and_const_int, LSHIFTRT case): Must be at - least as many sign bit copies as bits in mask. + * configure (header_files): Use ${srcdir} instead of $(srcdir). - * 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. +Sat Apr 16 16:51:15 1994 DJ Delorie (dj@ctron.com) - * fold-const.c (invert_truthvalue): Check for ERROR_MARK input. + * objc/makefile.dos (OBJC_O): Add encoding.o. - * m68k.h (LEGITIMATE_BASE_REG_P): New macro. - (INDIRECTABLE_1_ADDRESS_P, GO_IF_INDEXABLE_BASE, - LEGITIMATE_INDEX_REG_P): Accept SUBREG everywhere REG is accepted. +Sat Apr 16 16:38:32 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * 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. + * c-lex.c (yylex): Turn off overflow flag when fixing up large + traditional hex constants. - * sparc.c (output_move_quad): Implement CNSTOP case. + * c-decl.c (finish_decl): If asmspec_tree, clear DECL_BUILT_IN + for function and DECL_RTL always. - * i960.h (ASM_OUTPUT_COMMON): Use SIZE not ROUNDED. +Wed Apr 13 13:08:10 1994 Per Bothner (bothner@cygnus.com) -Tue Jul 6 02:12:15 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * toplev.c (compile_file): Never warn about unused static consts, + since it is reasonable to have those in header files. - * cse.c (simplify_binary_operation, case MINUS): Fix backwards - test added in last change. +Wed Apr 13 12:25:21 1994 Jason Merrill (jason@deneb.cygnus.com) - * config/i386/sun.h (SIZE_TYPE): Deleted. + * varasm.c (contains_pointers_p): When examining a RECORD_TYPE, + only look at the FIELD_DECLs. - * c-typeck.c (convert_arguments): Don't warn for -Wconversion - about signedness of an arg that's extended from narrower unsigned type. +Tue Apr 12 18:14:42 1994 Jason Merrill (jason@deneb.cygnus.com) - * c-decl.c (duplicate_decls): Don't warn for non-extern var decl - following an extern one (for -Wredundant-decls). + * Makefile.in (LIB2FUNCS): Add _op_vec_{delete,new}. -Mon Jul 5 17:50:27 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * libgcc2.c (__builtin_vec_{delete,new}): New functions per the + latest C++ working paper. + (__default_new_handler): No longer static. + (__set_new_handler): Lose. + + * cccp.c: Don't implicitly wrap LOCAL_INCLUDE_DIR. + (struct default_include): Add cxx_aware field. + (include_defaults_array): Ditto. + (main): Use cxx_aware field. - * reload1.c (emit_reload_insns): Don't use gen_lowpart_common to - get reload register into proper mode. - * reload.c (subst_reloads): Likewise. +Tue Apr 12 16:13:10 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * combine.c (subst, case PLUS): Simplify (plus (comp A B) -1), etc. + * config.sub (next): Fix typo in m68k-next-ns3 alternative. - * fold-const.c (fold, case EQ_EXPR, LE_EXPR): If comparing results - of signed MOD with zero, use an unsigned MOD. +Tue Apr 12 07:41:17 1994 Michael Meissner (meissner@osf.org) - * calls.c: Fix typo: had ARGS_GROW_DOWNARD. + * i386/i386.c (notice_update_cc): Remove LSHIFT case, since there + is no LSHIFT rtl code any more. - * 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. + * halfpic.h (NO_STDIO_H): Do not include stdio.h if this is defined. -Mon Jul 5 17:44:09 1993 John F Carr (jfc@Athena.mit.edu) +Mon Apr 11 17:24:46 1994 Philippe De Muyter (phdm@info.ucl.ac.be) - * 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). + * scan.c (get_token): Correctly increment lineno after + encountering #ident (or other #-directive). -Mon Jul 5 17:15:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Mon Apr 11 13:22:51 1994 Jim Wilson (wilson@cygnus.com) - * objc-act.c (encode_type_qualifiers): Add casts to enums in indices. + * reorg.c (try_merge_delay_insns): Account for resources set/used + by a filled insn before trying to simplify insns in delay slots. -Mon Jul 5 02:25:54 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) + * x-iris, x-iris3, x-mips, x-sony, x-sysv (OLDCC): Change -XNh1500 + to -XNh2000. - * Makefile.in: Parameterize libgcc.a and install-libgcc - (LIBGCC and INSTALL_LIBGCC). + * c-decl.c (finish_decl): Don't preserve initializer if it is + error_mark_node. - * tree.c (get_narrower): Preserve unsignedness when bitschange == 0. + * reorg.c (try_merge_delay_insns): Move next_trial update + immediately after the try_split call. -Sun Jul 4 02:55:46 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * mips.c (mips_select_rtx_section, mips_select_section): New + functions. Prefer rdata when TARGET_EMBEDDED_DATA, and prefer + sdata otherwise. + * mips.h (MASK_EMBEDDED_DATA, TARGET_EMBEDDED_DATA): New macros. + (TARGET_SWITCHED): Add new option -membedded-data. + (SELECT_RTX_SECTION, SELECT_SECTION): Call function in mips.c. - * expmed.c (store_split_bit_field, extract_split_bit_field): - Handle fields split across more than 2 aligned units. + * Makefile.in (all.cross, rest.encap): Delete objc-runtime and + SYSCALLS.c.X. + (OBJC, OBJECTIVE-C): Add objc-runtime. + (proto): Add SYSCALLS.c.X. + (libgcc2.ready, libobjc.a, sublibobjc.a, SYSCALLS.c.X): Add + dependence on stmp-int-hdrs. - * expr.c (store_field): Test STRICT_ALIGNMENT at run time. - (expand_expr, COMPONENT_REF case): Fetch unaligned field as bitfield. + * cccp.c (rescan): Don't look for C++ // comment before directive. + Handle \-newline inside a C++ // comment. + (skip_if_group): Likewise. + (handle_directive): Also handle C++ // comment after #. Point + ip->bufp after the comment start before calling + skip_to_end_of_comment. + (validate_else): Handle \-newline inside a C++ // comment. + (skip_to_end_of_comment, macarg1, discard_comments): Likewise. - * collect2.c (error, fatal, fatal_perror): Say collect2, not collect. + * varasm.c (immed_double_const): Sign-extend constants when they + have the most significant bit set for the target. - * c-parse.in (primary): In statement expression case, - if compstmt returns something other than a BLOCK, - return it unchanged. +Mon Apr 11 06:20:56 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sat Jul 3 20:32:43 1993 Minh Tran-Le (tranle@intellicorp.com) + * reload1.c (reload): When accumulating needs, use nested + structures to simplify and speed up the code. - * fixinc.svr4: Added fixup for __STDC__ == 0 and __STDC__ == 1 - cases found in sequent PTX-2.0.x headers. + * alpha.md (compare define_split): Fix bugs in last addition. -Sat Jul 3 18:54:07 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * calls.c (expand_call, emit_library_call{,_value}, store_one_arg): + Use convert_modes instead of convert_to_mode. - * 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). + * tree.h (frame_size): Now a union. + (DECL_ALIGN, DECL_FRAME_SIZE, DECL_FUNCTION_CODE): Access proper + field of frame_size union. + (DECL_SET_FUNCTION_CODE): Simplified; retained for compatibility. + * c-decl.c (duplicate_decls, pushdecl, builtin_function): + Use DECL_FUNCTION_CODE instead of DECL_SET_FUNCTION_CODE. -Sat Jul 3 16:40:52 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) +Mon Apr 11 05:50:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) - * collect2.c (main): Give ld_file_name an initial value. + * mips-tfile.c (update_headers): Do not copy stStatic symbols that + result from internal labels. -Fri Jul 2 16:36:56 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +Sun Apr 10 07:13:24 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * sparc.md (ashldi3+2): Change lshift to ashift. + * rtl.def (LSHIFT): Deleted. + * combine.c, cse.c, function.c: No longer handle LSHIFT. + * genattrtab.c, loop.c, reload1.c: Likewise. + * expr.h (lshl_optab): Deleted. + * optabs.c (lshl_optab): Deleted. + (expand_binop, init_optabs): No longer reference it. + * genopinit.c, expmed.c (expand_shift): Likewise. - * 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. + * arm.c, arm.h, arm.md: Remove references to LSHIFT and lshlsi3. + * clipper.h, clipper.md, convex.h, convex.md, elxsi.md: Likewise. + * fx80.h, fx80.md, gmicro.md, i370.md: Likewise. + * m68k.c, m68k.h, m68k.md, m88k.c, m88k.md, ns32k.md: Likewise. + * rs6000.md, tahoe.md: Likewise. -Fri Jul 2 01:10:56 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * combine.c (simplify_shift_count, case EQ): LSHIFT should be + LSHIFTRT. - * Makefile.in (install-headers-tar): Ignore exit status of the - first tar command. +Sun Apr 10 04:48:37 1994 Jeffrey A. Law (law@snake.cs.utah.edu) -Thu Jul 1 14:31:45 1993 Doug Evans (dje@canuck.cygnus.com) + * pa-ghiux.h (LIB_SPEC): Remove last change until we've got the + go ahead from HP to distribute /usr/lib/end.o. + * pa-ghpux.h, pa-hiux.h, pa-ghiux.h: Likewise. - * flow.c (find_auto_inc): In *p=expr;q=p+size case, avoid clobbering q - if referenced in expr. +Sat Apr 9 15:06:22 1994 Christian Kranz (kranz@sent5.uni-duisburg.de) -Fri Jul 2 01:26:01 1993 Paul Eggert (eggert@twinsun.com) + * config.sub: Add ns* as operating systems; default to ns2 for NeXT. + * configure (m68k-next-ns2*): New configuration. + * libgcc2.c: Include , not for NeXTStep 2.1. + * config/nextstep21.h, m68k/next21.h: New files. - * tree.h (pushcase, pushcase_range): Add a new converter - function argument that specifies how to convert case labels to the - nominal type. - * stmt.c (pushcase, pushcase_range): Likewise. - * c-parse.in (label): Use `convert_and_check' when checking for - overflow in case labels. - * cp-parse.y (simple-stmt): Similar change, but use `convert' instead; - this leaves the behavior unchanged for C++. A C++ expert should look - into this. +Sat Apr 9 10:56:06 1994 Randy Wright (rwright@convex.com) - * 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. + * combine.c (force_to_mode, case ROTATE): Don't assume + simplify_binary_operation always returns CONST_INT. + (simplify_shift_const, case IOR, PLUS): Likewise. -Thu Jul 1 20:55:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Apr 9 09:13:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) - * reload1.c (eliminate_regs): Fix typo in BYTE_LOADS_ZERO_EXTEND. + * i386/sequent.h (STRUCT_VALUE{,_INCOMING,_REGNUM}): + Redefine for calling conventions of native cc. -Thu Jul 1 20:00:00 1993 DJ Delorie (dj@ctron.com) +Sat Apr 9 08:25:43 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * gcc.c (choose_temp_base): Try multiple variables. Don't - assume that the variable points to a valid directory. + * rs6000.h (FINAL_PRESCAN_INSN): Define. + * rs6000.c (rs6000_convert_preincs): New function. - * gcc.c (pexecute): Handle the MS-DOS return codes correctly. - Add .exe to file name when appropriate. + * i386.md (mulhi3): Use SImode for MULT RTL. - * configure.bat: Make gcc use its own obstack.o. + * fold-const.c (fold): Avoid exponential work when simplifying + conditional expressions; don't recurse twice if ARG1 is constant. - * objc/makefile.dos: New file for building with djgpp. + * function.c (unitialized_vars_warning, setjmp_args_warning): + Reword warning to be less ambiguous. -Thu Jul 1 18:15:17 1993 Paul Eggert (eggert@twinsun.com) + * c-typeck.c (convert_arguments): Truncate and reextend + for PROMOTE_PROTOTYPES so we can give error on overflow. - * 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. + * reload1.c (reload_conflicts): Rewrite to clean up and fix + numerous bugs; move to later in file. - * 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-decl.c (duplicate_decls): Put new type in same obstack as + old ones, or permanent if old ones in different obstacks. -Thu Jul 1 14:56:56 1993 Jeffrey A. Law (law@snake.cs.utah.edu) +Fri Apr 8 18:18:18 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * pa.h (OVERRIDE_OPTIONS): Define. Give a warning if -fpic or - -fPIC was specified on the command line. + * fold-const.c (fold, case GT_EXPR): Simplify X < (1 << Y) + into X >> Y == 0. - * 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. +Fri Apr 8 11:23:51 1994 Ian Lance Taylor (ian@cygnus.com) -Thu Jul 1 09:48:23 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + Add support for -membedded-pic to MIPS backend, to create + genuinely position independent code without using a global offset + table. Requires GNU as and ld. + * mips.h (MASK_EMBEDDED_PIC): Define. + (TARGET_EMBEDDED_PIC): Define. + (TARGET_SWITCHES): Add embedded-pic and no-embedded-pic. + (ASM_SPEC): Pass -membedded-pic to assembler. + (ASM_OUTPUT_ADDR_DIFF_ELT): If TARGET_EMBEDDED_PIC output a + difference, rather than using .gpword. + (ASM_OUTPUT_CASE_LABEL): Define. + * mips.md (casesi, casesi_internal): New instructions, used only + for TARGET_EMBEDDED_PIC. + * mips.c (override_options): For TARGET_EMBEDDED_PIC warn + if -mabicalls or -G were used, and set flag_pic and + mips_section_threshold. + (print_operand): Handle 'S' by printing a label with a leading LS. - * fold-const.c (fold, case GE_EXPR, LT_EXPR): Don't assume - result of comparison is integer_type_node. +Thu Apr 7 22:20:09 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu) -Thu Jul 1 00:23:16 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * calls.c (emit_library_call_value): Move is_const set after ifdef. - * config/i386/mach.h (SIZE_TYPE): Definition deleted. +Wed Apr 6 21:34:17 1994 Pat Rankin (rankin@eql.caltech.edu) -Wed Jun 30 16:16:20 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * expr.c (expand_builtin, case BUILT_IN_NEXT_ARG): Test whether + an argunment has been passed to __builtin_next_arg; warn if not. - * config/m68k/sun3.h (SIZE_TYPE): Definition deleted. +Wed Apr 6 17:28:44 1994 Per Bothner (bothner@kalessin.cygnus.com) -Wed Jun 30 16:55:25 1993 John F Carr (jfc@Athena.mit.edu) + * toplev.c (lang_options): Add -f[no-]vtable-thunks (for C++). - * 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. +Wed Apr 6 15:35:42 1994 Jim Wilson (wilson@cygnus.com) -Wed Jun 30 15:19:42 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * cccp.c (discard_comments): Replace comments with a single space. - * config.sub: Recognize `gnu' as a valid operating system. Sheesh. + * Makefile.in (USER_H): Add $(srcdir)/ before every ginclude use. -Wed Jun 30 13:43:45 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * calls.c (emit_library_call_value): New variable is_const. Clear + it for functions that return an aggregate in memory. - * pa.c (output_function_prologue): Emit SAVE_SP flag if a frame - pointer is needed. + * configure (header_files): Prepend $(srcdir)/ginclude/ to each + element before substituting into the Makefile. Delete ginclude/ + at each point where we set header_files. -Wed Jun 30 00:52:25 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-decl.c (finish_decl): Correct typo in use of tree_int_cst_sgn. - * collect2.c (main): Don't look for `gld' or `TARGET-gld'. +Wed Apr 6 07:39:47 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * fixincludes (stdtypes.h): Verify that size_t etc. follow whitespace. + * alpha.md: Add define_split to simplify "(unsigned) x > 0xffffff". - * 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. + * toplev.c (lang_options): Group and alphabetize some options. - * 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. +Wed Apr 6 07:03:13 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de) -Tue Jun 29 22:28:06 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * function.c (push_function_context): Use current_function_varargs. + (pop_function_context): Likewise. + (assign_parms): Respect current_function_varargs. + Save args_so_far in any case. + * expr.c (expand_builtin): Allow builtin_next_arg for varargs + functions as well. + * function.h (struct function): New field for current_function_varargs. + * integrate.c (function_cannot_inline_p): Use current_function_varargs. + * va-alpha.h, va-m88k.h, va-sparc.h (va_dcl): Add ... to + set current_function_varargs. - * pa.c (singlemove_string): Use zdepi and ldil to load constants - into registers when appropriate. + * c-decl.c (warn_missing_declarations): New variable. + (c_decode_option): -Wmissing-declarations. + (start_function): Actually do the checking. + * toplev.c (lang_options): Add -Wmissing-declarations. -Tue Jun 29 11:26:35 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * function.c (expand_function_start): Delay copying static chain. - * config.sub: Recognize -sysv* after -sysvr4. + * calls.c (emit_library_call): Move the invocation of + prepare_call_address before the assignments of the function arguments. + (emit_library_call_value): Likewise. - * config/vax/vax.h (GO_IF_NONINDEXED_ADDRESS): Declare reg_equiv_mem. + * i386.h (DEBUG_PRINT_REG): Fix printing of coprocessor regs in QImode. -Mon Jun 28 20:12:04 1993 Steve Chamberlain (sac@apple-gunkies.gnu.ai.mit.edu) +Wed Apr 6 06:42:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) - * config/sh/*: Major rework. + * mips-tfile.c (update_headers): Copy stStatic symbols from the old + local symbol table to the new local symbol table if they did not get + added via debugging psuedo ops. -Mon Jun 28 02:46:47 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Apr 6 06:36:05 1994 Philippe De Muyter (phdm@info.ucl.ac.be) - * fixincludes (file): When changing VA_LIST to DUMMY_VA_LIST, - preserve _NEED___VA_LIST. + * stdarg.h, varargs.h (__va_rounded_size): Round to multiple + of sizeof (short) on sysV68. - * 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. + * m68k.c (output_function_prologue): pea/move: Fix typos. + asm_fprintf("add%.[wl] ...): Undo previous change. - * 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. +Tue Apr 5 20:05:10 1994 Doug Evans (dje@cygnus.com) - * 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. + * gcc.c (process_command): Add "include" prefix for [foo/]stageN. - * config/sparc/sol2.h (CPP_SPEC): For -compat-bsd, put the ucbinclude - dirs before, not after. +Tue Apr 5 01:22:08 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - * expr.c (store_field): Store unaligned field with bit field methods. + * pa-ghiux.h (LIB_SPEC): Link in /usr/lib/end.o + * pa-ghpux.h, pa-hiux.h, pa-hpux.h (LIB_SPEC): Likewise. - * 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. +Mon Apr 4 17:36:55 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu) - * reload.c (find_reloads_address): Be selective about what inner - addresses to allow in an indirect mem ref. + * final.c (final_scan_insn): Pass new arg, block num, to + sdbout_end_block. + * sdbout.c (sdbout_begin_block): Don't output block for function + level scope unless MIPS_DEBUGGING_INFO is defined. + (sdbout_end_block): Likewise. Add new parameter n for the block + number. -Sun Jun 27 16:40:59 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * calls.c (expand_call): If PCC_STATIC_STRUCT_RETURN defined, mark + function as addressable same time as we clear is_integrable. - * emit-rtl.c (copy_rtx_if_shared): Don't try to copy a 0-length vector. +Mon Apr 4 17:11:17 1994 Jason Merrill (jason@deneb.cygnus.com) - * config/m68k/x-apollo68 (TAROUTOPTS): New definition. + * Makefile.in (xsys-protos.h): Undefine __*_TYPE when + preprocessing fixtmp.c. + * fixincludes: Fix ptrdiff_t and wchar_t in system headers like we + do size_t. + * scan-types.sh: Use __WCHAR_TYPE__, __PTRDIFF_TYPE__, and + __SIZE_TYPE__. Still deduce size_t so that it can be used for + ssize_t if necessary. + * stddef.h (wchar_t): Always define as __WCHAR_TYPE__. + * cccp.c (special_symbol, case T_WCHAR_TYPE): Output "__wchar_t" + for C++. + +Sat Apr 2 08:14:02 1994 Michael Meissner (meissner@osf.org) + + * i386/osfrose.h (FUNCTION_PROLOGUE, FUNCTION_PROFILER): Correct + code for -fpic ELF case. + +Fri Apr 1 17:33:35 1994 Jason Merrill (jason@deneb.cygnus.com) + + * fixproto: Add strncpy, strpbrk, strrchr, strspn, strstr, strtok + and strxfrm to the required list for string.h. + +Fri Apr 1 01:05:53 1994 Jim Wilson (wilson@cygnus.com) + + * configure: Change math-68881.h to ginclude/math-68881.h. + (EXTRA_HEADERS): Use | not / in sed command. + * math-68881.h, math-3300.h: Move to ginclude directory. + + * libgcc2.c: Modify all uses of __attribute__ mode to use new + syntax. + + * Makefile.in (USER_H): Files in ginclude now. Add stdarg.h, + stddef.h, varargs.h. + (all.cross, rest.encap): Move LIBGCC after stmp-headers. Add + objc-runtime, and SYSCALLS.c.X. + (for-bootstrap): Delete. + (OBJC, OBJECTIVE-C): Delete objc-runtime. + (proto): Delete SYSCALLS.c.X. + (*.o): Delete gvarargs.h dependencies. + (stmp-int-hdrs): Delete gvarargs.h, gstdarg.h, gstddef.h deps, and + code to copy them. + + * bc-emit.c: Change to . + * enquire.c, libgcc2.c, sys-types.h: Change "gstddef.h" to . + * gcc.c: Change "gstdarg.h" to and "gvarargs.h" to + . + * objc/Object.m: Change "gstdarg.h" to . + * objc/runtime.h, scan-types.sh: Change "gstddef.h" to . + Change "gstdarg.h" to . + * objc/hash.h, objc/objc.h, objc/sarry.h: Delete use of IN_GCC to + control stddef.h/gstddef.h include. + * cccp.c (pcfinclude): Modify comment referring to gstddef.h. + * sparc/sparc.h (CPP_PREDEFINES): Update GCC_NEW_VARARGS comment. + * i386/x-next, m68k/x-next (libgcc2.a, stdarg.h): Delete rules. + * fixincludes: Modify comment referring to gvarargs.h. + * cp/Makefile.in: Modify comments that refer to gvarargs.h and + gstddef.h. + + * gstdarg.h, gstddef.h, gvarargs.h: Move to ginclude directory + and strip off initial `g'. + * va-*.h, proto.h: Move to ginclude directory. + +Thu Mar 31 19:49:17 1994 Jim Wilson (wilson@cygnus.com) + + * sparc.h (SPARC_STACK_ALIGN): Use ~7 not 0xfffffff8 for portability. + + * xcoffout.h (DBX_OUTPUT_MAIN_SOURCE_FILENAME): Disable. + + * sol2.h: Delete ifdefed out section defining *_SECTION_ASM_OP + macros. + ({CTORS,DTORS}_SECTION_ASM_OP) Delete definitions. + * sysv4.h (INIT_SECTION_ASM_OP): Don't set the alloc flag. + ({CTORS,DTORS}_SECTION_ASM_OP): Set execinstr flag. + + * dbxout.c (dbxout_type): Re-enable debugging output for anonymous + structures. Change all three places that refer to xrefs to use + exactly the same condition. + + * c-typeck.c (pop_init_level): Correct typo in use of + tree_int_cst_sgn. + + * mips.c (mips_rtx_classify, md_register_operand, + fpsw_register_operand, cmp2_op, uns_cmp_op, fcmp_op): Delete. + (mips_const_double_ok, mips_fill_delay_slot, output_block_move, + print_operand, function_epilogue): Don't treat gas differently + than native assembler. + (equality_op, cmp_op): Delete use of classify_op. + (override_options): Delete uses of mips_rtx_classify. + (final_prescan_insn): Simplify based on other changes. + * mips.h (mips_rtx_classify, cmp2_op, fcmp_op, + fpsw_register_operand, md_register_operand, uns_cmp_op, + classify_op, additive_op, divmod_op, unsigned_op, CLASS_*_OP, + NOTICE_UPDATE_CC): Delete. + (RTX_COSTS): Use different numbers for R3000/R6000/R4000. + (REGISTER_MOVE_COST): Use cost of 2 within same register class, 4 + for FP to GR copy, 6 otherwise. + (ADJUST_COST): Give anti and output dependencies zero cost. + (PREDICATE_CODES): Delete obsolete functions from list. + * mips.md (addsi3_internal): Don't output subtract. + (subsi3_internal): Don't output add. + (smulsi3_highpart, umulsi3_highpart): Add missing third operand to + mips_move_1word call. + +Thu Mar 31 12:09:42 1994 Ian Lance Taylor (ian@cygnus.com) + + * longlong.h: Change RS/6000 macros to use PowerPC mnemonics when + using -mnew-mnemonics. + +Wed Mar 30 17:37:16 1994 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) + + * m68k/dpx2.h (NO_ASM_FMOVECR): Defined. + * m68k.c (standard_68881_constant_p): Return 0 if NO_ASM_FMOVECR + defined. + + * configure: Add case for rs6000-bull-bosx. + +Wed Mar 30 17:31:24 1994 Matthias Pfaller (leo@marco.de) + + * ns32k.c (global_symbolic_reference_mentioned_p): New parameter F. + (print_operand_address): When generating pic baseregisters are + only allowed if offset is CONST_INT. For {SYMBOL,LABEL}_REF + a indexregister has to be used instead. (sb) is no longer + emitted for constant absolute addresses. + (output_move_double): Use CONSTANT_P instead of CONSTANT_ADDRESS_P. + * ns32k.h (FUNCTION_PROLOGUE): use __GLOBAL_OFFSET_TABLE_, + not _GLOBAL_OFFSET_TABLE_. + (LEGITIMATE_CONSTANT_P, LEGITIMATE_PIC_OPERAND_P): Use + LEGITIMATE_PIC_OPERAND_P, not LEGITIMATE_CONSTANT_P, + to set current_function_uses_pic_offset_table. + (INDIRECTABLE_1_ADDRESS_P): Baseregisters are not legal + for {LABEL,SYMBOL}_REFS when emitting pic. + (GO_IF_INDEXABLE_ADDRESS): INDIRECTABLE_1_ADDRESSes are indexable too. + * ns32k/netbsd.h, ns32k/xm-netbsd.h: New files. + * configure (ns32k-pc532-netbsd*): New case, to use new files. + +Wed Mar 30 16:39:24 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * reload1.c (reload): Fix typo in previous change. + + * gcc.c (process_command, case 'B'): If name is "stageN/", + add "include" to system include prefix. + + * bc-emit.c, calls.c, combine.c, emit-rtl.c, final.c, g++.c: + Include instead of "gstdarg.h"; similarly for varargs. + * genattrtab.c, mips-tfile.c, protoize.c, toplev.c, tree.c: Likewise. + + * fold-const.c (strip_compound_expr): New function. + (fold): Call it; avoid exponential work when simplifying + binary op over a COND_EXPR. + + * cse.c (cse_insn): Add missing definition of var TEM; clean up + shadowed uses. + + * sparc.c (sparc_type_code): Revise so it supports non-C types. + +Wed Mar 30 14:52:26 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu) + + * xm-alpha.h (string.h): Don't include when inhibit_libc is defined. + +Wed Mar 30 10:37:51 1994 Stan Coxs (coxs@dg-rtp.dg.com) + + * m88k.md (movdf): Do not consider extended registers when doing + define_split. + +Wed Mar 30 01:49:06 1994 Torbjorn Granlund (tege@cygnus.com) + + * config/m68k/m68k.c (output_move_double): Use `%.' where appropriate. + +Tue Mar 29 10:46:18 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * pa.h (ASM_OUTPUT_LABEL): TARGET_GAS no longer needs trailing colons. + (ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_COMMON): Likewise. + + * pa.h (TARGET_PORTABLE_RUNTIME): Define. + (TARGET_SWITCHES): Add -mportable-runtime and -mno-portable-runtime. + (CUMULATIVE_ARGS): Now a "struct hppa_args" rathern than an int. + All references changed. + (INIT_CUMULATIVE_ARGS): Also initialize nargs_prototype. + (INIT_CUMULATIVE_INCOMING_ARGS): Define. + (FUNCTION_ARG_ADVANCE): Decrement nargs_prototype for each arg seen. + (FUNCTION_ARG): Handle TARGET_PORTABLE_RUNTIME. + (ASM_DECLARE_FUNCTION_NAME): Explicitly disallow argument relocations + for TARGET_PORTABLE_RUNTIME. + (ASM_OUTPUT_INT): Do not use a P% prefix for function references + if TARGET_PORTABLE_RUNTIME. + + * pa.md (high and lo_sum for function addresses): Provide alternate + definitions for TARGET_PORTABLE_RUNTIME. + + * pa.c (output_arg_descriptor): Explicitly disallow argument + relocations for TARGET_PORTABLE_RUNTIME. + +Tue Mar 29 07:45:44 1994 Chris Smith (csmith@convex.com) + + * convex.h (check_float_value): fix return type in extern. + +Mon Mar 28 18:36:56 1994 Philippe De Muyter (phdm@info.ucl.ac.be) + + * m68k/mot3300.h (ASM_IDENTIFY_GCC): Define to be non-null. + +Sun Mar 27 20:26:36 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * c-parse.in (attrib): Handle string args as expressions, + merging the two rules. `mode' attribute now takes a string arg. + Delete the rule for an identifier as arg. + * c-common.c (decl_attributes): `mode' attribute now takes string arg. + +Sun Mar 27 14:42:39 1994 Doug Evans (dje@cygnus.com) + + * c-parse.in (attrib): Back out last patch. + +Fri Mar 25 17:52:44 1994 Walter Misar (misar@rbg.informatik.th-darmstadt.de) + + * m68k.md (movsi): New strategy for moving small constants into dregs, + if it can't be done with moveq. + * m68k.h (CONST_COSTS): Reflect the change in m68k.md. + +Fri Mar 25 14:30:47 1994 Philippe De Muyter (phdm@info.ucl.ac.be) + + * m68k.md (call): If (new) MOTOROLA_BSR defined, try to emit 'bsr'. + * m68k/mot3300.h (MOTOROLA_BSR): Defined. + + * m68k.c (output_function_prologue): Use link.w on 68040; + emit pea fp + movl sp,fp instead of linkw 0 for 68040. + +Fri Mar 25 14:21:06 1994 Jim Meyering (meyering@idefix.comco.com) + + * bc-emit.c (bc_emit_bytecode): Remove decl of unused variable NPUSHES. + (bc_emit_instruction): Remove decl of unused variable LITERAL. + * c-aux-info.c (gen_decl): Remove decl of unused variable. + * c-common.c (truthvalue_conversion): Remove decl of unused CODE. + * c-decl.c (push_parm_decl): Move decl of unused variable OLDDECL + into #if 0 block. + (finish_enum): Remove decls of unused variables I and TEMPORARY. + * c-parse.in (primary): Remove decl of unused variable CONTEXT. + * c-typeck.c (convert_arguments): Remove decls of unused variables. + * collect2.c (putenv): Remove decl of unused variable STR_LEN. + (main): Remove decls of unused variables LEN and CLEN. + * combine.c (try_combine): Remove decls of unused variables. + (subst): Remove decls of unused variables ORIG_CODE. + (simplify_if_then_else): Remove decl of unused variable C2. + (make_compound_operation): Remove decl of unused variable COUNT. + (known_cond): Remove decl of unused variable NEW. + (make_field_assignment): Remove decl of unused variable OURDEST. + (simplify_and_const_int): Remove decls of unused variables. + (simplify_shift_const): Remove decl of unused variable INNER. + * cse.c (cse_insn): Remove decl of unused variable TEM. + * dbxout.c (dbxout_symbol): Remove decls of unused variables. + * emit-rtl.c (reset_used_flags): Remove decl of unused variable. + (gen_sequence): Remove decl of unused variable NEWVEC. + * enquire.c (f_rep): Remove decl of unused variable F1. + * final.c (output_source_line): Remove decl of unused variable. + * fix-header.c (read_scan_file): Remove decl of unused variable RPTR. + (write_rbrac): Remove decl of unused variable PARTIAL. + (main): Likewise. + * g++.c (main): Remove decl of unused variable FN. + * genattr.c (main): Remove decl of unused variable MAX_ISSUE_TIME. + * genattrtab.c (expand_units): Remove decl of unused variable. + * genrecog.c (break_out_subroutines): Remove decl of unused variable. + * global.c (global_conflicts): Move decl of unused variable I into + #if 0 block. + * integrate.c (save_for_inline_nocopy): Remove decls of unused vars. + (expand_inline_function): Remove two block-scope decls of unused + variable COPY. + * jump.c (invert_jump): Remove decl of unused variable OLABEL. + * loop.c (init_loop): Remove decls of unused variables. + (loop_optimize): Remove decl of unused variable END. + (combine_movables): Remove decls of unused variables. + (check_final_value): Remove decl of unused variable TEM. + (check_dbra_loop): Remove decls of unused variables. + (maybe_eliminate_biv): Remove decls of unused variables SET and V. + * reload.c (find_reloads_address): Remove two block-scope decls of + unused variable OLDREF. + * rtl.c (read_rtx): Remove decl of unused variable STRINGBUFSIZE. + * scan.c (get_token): Remove decl of unused variable QUOTE. + (get_token): Remove unused label AGAIN. + * sched.c (clear_units): Remove decl of unused variable UNIT. + (actual_hazard_this_instance): Remove decl of unused variable I. + (actual_hazard): Remove two block-scope decls of unused variable BEST. + (sched_analyze_1): Remove decls of unused variables OFFSET and BIT. + (sched_analyze): Remove decl of unused variable DEST. + (sched_note_set): Remove decl of unused variable J. + (create_reg_dead_note): Remove decl of unused variable BACKLINK. + (new_sometimes_live): Remove decl of unused variable I. + (schedule_block): Remove decls of unused variables LAST_NOTE and REGNO. + (schedule_insns): Remove decls of unused variables I and INSNS. + * sdbout.c (sdbout_symbol): Remove decl of unused variable LETTER. + (sdbout_type): Remove decl of unused variable TEM. + * toplev.c (compile_file): Remove unused label. + * tree.c (stabilize_reference_1): Remove decl of unused variable. + * unroll.c (unroll_loop): Remove decl of unused variable V. + (precondition_loop_p): Remove decls of unused variables. + (final_giv_value): Remove decl of unused variable CODE. + +Fri Mar 25 13:40:05 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * pa.h (DBX_REGISTER_NUMBER): Fix numerous bugs in handling + of FP registers and the SAR register. + +Fri Mar 25 12:46:56 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * i386.md (movhi, movqi): Properly recognize unsigned forms of -1 + for dec[bw] insns. + + * expr.c (expand_expr, case ADDR_EXPR): Return const0_rtx if + taking address of an ERROR_MARK; also do some minor cleanup. + + * calls.c (expand_call): Don't require both -W and -Winline to say + that call can't be inlined. + Warn if inlining is tried but fails. + + * cccp.c (for_lint): Variable renamed from `lint'. + + * expr.c (expand_expr, case ABS_EXPR): Compare with 0 of proper mode. + + * fold-const.c (fold, case *_DIV_EXPR): Correct result when + product of constants overflows. + + * alpha.c (output_prolog): Correctly compute floating-reg save + area offset. + + * stmt.c (init_stmt_for_function): Clear stack_block_stack. + + * reload1.c (reload): Fix error in last change; only check + against group reloads and check all reloads. + +Thu Mar 24 13:19:43 1994 Doug Evans (dje@cygnus.com) + + * toplev.c (v_pedwarn_with_decl): Don't cause compilation to fail + from pedantic errors in system header files. + +Thu Mar 24 03:01:05 1994 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) + + * config.sub: Add case for Bull dpx20. + + * config/m68k/dpx2.h (CPP_PREDEFINES): Fix typo. + +Wed Mar 23 17:29:56 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * reload1.c (reload): Fix error in last change; compute MODE before + it's used. + + * loop.c (get_condition): Exit if we don't recognize SET_SRC of + a SET that modifies OP0. + + * combine.c (simplify_rtx, case FLOAT_TRUNCATE): Simplify + case of (float_truncate (abs (float_extend X))). + +Wed Mar 23 17:20:54 1994 Jim Wilson (wilson@cygnus.com) + + * dbxout.c (dbxout_parms): For parameter living in psuedo-reg that + was optimized away, use declared type instead of passed type. + + * mips.c (mips_asm_file_start): Add comment on TARGET_GP_OPT code. + + * c-decl.c (init_decl_processing): Change builtin_next_arg type so + that it accepts any parameter instead of none. + * cp/decl.c (init_decl_processing): Likewise. + * expr.c (expand_builtin, BUILT_IN_NEXT_ARG case): Verify that + parameter is last named argument. + * gstdarg.h (va_start): Pass LASTARG as a parameter to + builtin_next_arg. + * va-h8300.h, va-i860.h, va-i960.h, va-mips.h, va-sparc.h + (va_start): Likewise. + * va-alpha.h (va_start): Add call to builtin_next_arg. + * va-clipper.h, va-m88k.h, va-pa.h, va-sparc.h (va_start): + Likewise. - * config.sub: Canonicalize -sco4 and -sco3.2.4 to -sco3.2v4. +Tue Mar 22 18:57:54 1994 Jim Wilson (wilson@cygnus.com) - * gcc.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Check for -iwithprefixbefore. - (option_map): Add --include-with-prefix-before and - --include-with-prefix-after. + * iris5.h (MIPS_DEFAULT_GVALUE): Define to zero. + * mips.c (pic_address_needs_scratch): New function. + (override_options): Set flag_pic when TARGET_ABICALLS. + * mips.h (GO_IF_LEGITIMATE_ADDRESS): Also pretend that we have REG + plus CONST_INT addresses by deleting an else. + (CONSTANT_ADDRESS_P): When pic, don't accept addresses which are + symbol_ref plus a large integer. + (LEGITIMATE_PIC_OPERAND_P): Likewise. + (LEGITIMIZE_ADDRESS): When pic, convert addresses which are + symbol_reg plus a large integer, to reg plus a large integer. + (ASM_OUTPUT_ADDR_DIFF_ELT): Use .gpword instead of subtracting + labels. + * mips.md (movsi): Add special handling for constants which are + illegal addresses when pic. + (tablejump_internal1, tablejump_internal2): Emit .cpadd when + TARGET_ABICALLS. Adjust length to include .cpadd. + + * mips.h (TRAMPOLINE_TEMPLATE): Add `move $25,$3' for when + TARGET_ABICALLS. Delete padding for 64 bit case. Adjust offsets. + (TRAMPOLINE_SIZE): Increase from 9 to 10 words for 32 bit case. + (INITIALIZE_TRAMPOLINE): Increase offsets by 4 bytes for 32 bit case. + +Tue Mar 22 15:46:42 1994 Michael Meissner (meissner@osf.org) + + * i386/osfrose.h (HANDLE_PRAGMA_WEAK): Define in terms of + TARGET_ELF. + (ASM_OUTPUT_DEF): Provide a definition. -Sun Jun 27 16:04:52 1993 Holger Teutsch (holger@hotbso.rhein-main.de) +Mon Mar 21 15:56:58 1994 Per Bothner (bothner@cygnus.com) - * va-clipper.h: Use and define Macro __GNUC_VA_LIST. Define struct - __gnuc_va_list. + * fix-header.c: Make sstring buf extern (rather than "common"). -Sun Jun 27 08:32:19 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * machmode.h (INTEGRAL_MODE_P, FLOAT_MODE_P): New macros. - * cse.c (simplify_*_operation, fold_rtx, record_jump_cond, cse_insn): - Use them. - * combine.c (subst, apply_distributive_law): Likewise. - (reversible_comparison_p): Likewise. - Can reverse if MODE_COMPLEX_INT or MODE_PARTIAL_INT. - - * function.c (fixup_stack_1): Handle - current_function_internal_arg_pointer. - - * stor-layout.c: Add prototypes for layout_record and layout_union. - (smallest_mode_for_size): New function. - (variable_size): Allow variable sizes if global_bindings_p returns a - negative value. - (mode_for_size): Fix incorrect comment. - (layout_decl): If DECL has a size already, don't copy from type. - (layout_type, case INTEGER_TYPE, ENUMERAL_TYPE): Use smallest - integer mode that fits, whether or not it fits exactly. - - * emit-rtl.c (restore_emit_status): Clear LAST_LABEL_NUM. +Mon Mar 21 17:45:56 1994 Doug Evans (dje@cygnus.com) - * calls.c (expand_call): If function hasn't been used before, - call assemble_external. + * configure: Accept and ignore --without-*. - * 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. +Mon Mar 21 17:05:25 1994 Jim Wilson (wilson@cygnus.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. + * dbxout.c (source_label_number): New variable. + (dbxout_source_file): Use it. Output an Ltext label. - * fold-const.c (fold, case TRUTH_XOR_EXPR): End with `return', - not `break'. + * c-decl.c (duplicate_decls): When pedantic, warn when any static + declaraction follows a non-static. - * dwarfout.c (output_compile_unit_die): Add support for Ada. + * sparc.md (seq, sne, sgt, slt, sge, sle): Add support + for !TARGET_HARD_QUAD. - * c-iterate.c (collect_iterators, case SAVE_EXPR): Simplify code - added in previous change. +Mon Mar 21 16:59:02 1994 Mike Collison (collison@chianti.sw.stratus.com) - * expr.c: Fix typo: was ARGS_GROW_DOWNARD. + * reload1.c (reload): More accurately compute nongroup needs. + (reloads_conflict): New function. - * combine.c (subst, case IF_THEN_ELSE): Install correct version of - last change. +Mon Mar 21 16:21:07 1994 Doug Evans (dje@cygnus.com) -Sat Jun 26 15:38:33 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * libgcc2.c (__builtin_saveregs): Fix return type. - * cccp.c (main): For -iwithprefix, if no include_prefix, - make a default from GCC_INCLUDE_DIR. - Support -iwithprefixbefore. +Mon Mar 21 07:37:13 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * reload.c (find_reloads): When merging reloads again after they have - been changed, do check reload_reg_class and reload_nocombine. + * function.c (preserve_temp_slots): If argument is REG, see if it + is address of a temp slot we know about. + * expr.c (expand_expr, case ADDR_EXPR): Update temp slot address + if we put it in a register; mark result as pointer. - * config/sparc/sparc.md (movdf recognizer): Remove & from - constraint for loading mem to cpu reg. + * cse.c (FIXED_REGNO_P): Treate global regs as fixed. + (CHEAP_REGNO): Renamed from CHEAP_REG. + (CHEAP_REG): New macro; user var in hard reg is cheap. + (COST): Pass RTL to CHEAP_REG, not regno. + (rtx_cost, case REG): Likewise. - * expr.c (expand_assignment): If FROM is scalar function call, - expand_expr FROM before TO. +Sun Mar 20 19:38:44 1994 Stephen L Moshier (moshier@world.std.com) - * gcc.c (translate_options): `*' inhibits warning of extraneous arg. + * m68k/news.h (PRINT_OPERAND): Print float infinity + and NaN's as +/-99e999. -Sat Jun 26 11:07:23 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Sun Mar 20 17:42:09 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) - * reload1.c (reload): Use reg_equiv_address for invalid addresses - of the form (mem (reg)). + * mips-tfile.c (update_headers): Align symbol table sections, + using ALIGN_SYMTABLE_OFFSET. Provide a default definition which + does no alignment. + * alpha.h (ALIGN_SYMTABLE_OFFSET): New macro. - * config/*/xm-*.h: Remove line that #define's alloca - to __builtin_alloca. +Sun Mar 20 06:38:41 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) - * 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. + * emit_rtl.c (try_split): Rename third parameter as LAST. + Recursively call try_split for each new insn created. - * 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. - - * expr.c (do_store_flag): When computing via a shift, allow for - an inner RSHIFT_EXPR in BITNUM. - Sometimes do the operations as signed. - - * 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. - -Sat Jun 26 03:25:35 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * configure (i370-*-mvs*): New configuration. - * config/i370/i370.md, mvs370.c, tm-mvs.h, xm-mvs.h - - * final.c, varasm.c: Include ctype.h. - * c-lex.c: Include ctype.h. - (isalnum, isdigit): Macros deleted. - - * 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. - -Sat Jun 26 03:15:38 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) - - * gcc.c (option_map): Add missing comma. - -Sat Jun 26 02:17:28 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * config/we32k/we32k.c: Clean up formatting. - - * calls.c (calls_function_1): Add declaration. - - * config/m68k/m68k.md (fix_truncdfsi2, fix_truncdfhi2, fix_truncdfqi2): - Require TARGET_68881 as well as TARGET_68040. - -Fri Jun 25 20:13:51 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * combine.c (mark_used_regs_combine): Correct typo. - * calls.c (calls_function): Don't scan a single save_expr twice. - (calls_function_1): New subroutine for the actual recursion. +Sun Mar 20 06:28:23 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * c-parse.in (all_iter_stmt_simple): Add missing `else'. + * vax.h (CHECK_FLOAT_VALUE): Add missing continuation character. + * tree.c (build_real): Add `overflow' var; pass to CHECK_FLOAT_VALUE. -Fri Jun 25 15:53:59 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Sat Mar 19 17:44:14 1994 Jim Wilson (wilson@cygnus.com) - Cygnus<->FSF merge. - Fri Jun 25 10:00:34 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * expr.c (expand_expr, case ABS_EXPR): Fix typo in last change. - * cp-decl.c: Delete some #if 0'd code that has been there forever. +Sat Mar 19 17:13:47 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) - * cp-type2.c (my_friendly_abort): Update count of aborts (added by - emit_base_init rewrite). + * combine.c (newpat_used_regs): New variable. + (mark_used_regs_combine): New function. + (try_combine): Use them. + (reg_dead_at_p): Registers marked in newpat_used_regs must always be + considered to be live. - 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). +Sat Mar 19 06:29:38 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Wed Feb 3 17:41:02 1993 Chip Salzenberg (chip@tct.com) + * c-parse.in (attrib): Use `identifier' instead of `IDENTIFIER' + since names that are (e.g.) typedef names are still OK. - * 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). + * m68k/next.h (GO_IF_INDEXABLE_BASE): Make compatible with m68k.h. - Thu Jun 24 12:41:16 1993 Mike Stump (mrs@rtl.cygnus.com) + * genoutput.c (output_epilogue, insn_names): Write correct names + for patterns before first named pattern. - * 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. + * nextstep.h (SELECT_SECTION): Fix typo (arg names) in last change. - Wed Jun 23 17:18:41 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * c-decl.c (grokdeclarator): Use signed version of `sizetype' for + type of array index. - * cp-decl.c (init_decl_processing): Also catch SIGBUS. - (sigsegv): Rename to signal_catch; also reset SIGBUS. +Sat Mar 19 06:25:39 1994 Stephen L Moshier (moshier@world.std.com) - * cp-typeck.c (pointer_diff): Error if op1 is a pointer to an - incomplete type. + * fold-const.c (const_binop): Avoid initialized aggregate + local variables, for antique compilers. - Wed Jun 23 16:17:43 1993 Mike Stump (mrs@rtl.cygnus.com) +Fri Mar 18 18:43:28 1994 Jim Wilson (wilson@cygnus.com) - * 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. + * i386/osfrose.h (SELECT_SECTION): Variables go in readonly data + only if the initializer is constant. + * i386/svr3gas.h, m88k/m88k.h, mips/mips.h, nexstep.h, + rs6000/rs6000.h, sparc/sparc.h, svr3.h, svr4.h, vax/vms.h + (SELECT_SECTION): Likewise. + * varasm.c (assemble_variable): Likewise. - Wed Jun 23 16:04:17 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Fri Mar 18 17:54:12 1994 David Edelsohn (edelsohn@npac.syr.edu) - * cp-tree.c (layout_basetypes): Disable the warning relating to a - non-virtual dtor. + * rs6000.md (divmodsi4, udivsi3, divsi3, udivmodsi4): Add AIX + common-mode cases. + (mulh_call, mull_call, divss_call, divus_call, quoss_call, quous_call): + AIX common-mode call patterns. + (ashlsi3): More TARGET_POWERPC to ! TARGET_POWER changes. + (addsf3, subsf3, mulsf3, divsf3, etc.): Change TARGET_POWER + to ! TARGET_POWERPC. + (fix_truncdfsi2): Use POWER/2 and PowerPC FP convert instruction. + (fpcvtsi): New pattern. + (mulsidi3): Add AIX common-mode case, add imul attribute to POWER + pattern, add PowerPC pattern, flag input operands as commutative. + (smulsi3_highpart): Add AIX common-mode case. + (movsi matcher): Add mtjmpr attribute to ! TARGET_POWER case. + (movsf): Clean up load from memory or integer register test. + (movdi matcher): Add FP register support. - Tue Jun 22 20:03:59 1993 Mike Stump (mrs@cygnus.com) + * rs6000.c (common_mode_defined): New variable. + (output_prolog): Define external common-mode calls. - * cp-lex.c (reinit_parse_for_block): Detect EOFs inside templates. + * rs6000.h (HARD_REGNO_MODE_OK): Allow DImode in FP registers. + (CONDITIONAL_REGISTER_USAGE): Delete ppcas mention from comment. + (RTX_COSTS): Costs based upon processor_type enum. - Tue Jun 22 16:10:46 1993 Mike Stump (mrs@cygnus.com) +Fri Mar 18 17:53:35 1994 Torbjorn Granlund (tege@cygnus.com) - * cp-class.c (finish_struct): Set TYPE_NONCOPIED_PARTS now that the - right vtable can be found, so that the vtable pointers are set - correctly when implementing default copy constructors. - * cp-typeck.c (build_modify_expr): Use TYPE_NONCOPIED_PARTS in the - same way the backend uses it when implementing default copy - constructors. + * rs6000.md (smulsi3_highpart): New patterns. + (umulsi3_highpart_power): New pattern. - Tue Jun 22 10:50:56 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Fri Mar 18 15:26:56 1994 Jim Wilson (wilson@cygnus.com) - * cp-decl.c (grokdeclarator): Don't try to mangle the name of a fn - that has C linkage. + * sol2.h (SELECT_RTX_SECTION): Delete. + * sysv4.h (SELECT_RTX_SECTION): Add. + (ASM_SPEC): Pass -K to assembler when PIC. - * 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. + * cccp.c (before_system, last_before_system): New variables. + (main): Handle -isystem option. Insert -isystem directories in + search chain at first_system_include. + * gcc.c (include_prefix): New variable. + (process_command): Add path/include to include_prefix when see a + -Bpath option. + (do_spec_1, case 'I'): Pass include_prefix directories to cpp with + the -isystem option. - * 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. + * loop.c (scan_loop): New variable loop_depth. Increment and + decrement on LOOP_BEG and LOOP_END notes. Only use LOOP_VTOP note + if loop_depth is zero. + (strength_reduce): Likewise. - * cp-typeck.c (convert_for_assignment): There's no standard - conversion from a pointer to member to a `void *'. + * sparc/sparc.h (FIXUNS_TRUNCTFSI2_LIBCALL): Define. + * optabs.c (init_optabs): Use FIXUNS_TRUNCTFSI2_LIBCALL macro. - * cp-decl.c (init_decl_processing): Add builtins for - __builtin_apply_args, __builtin_apply, and __builtin_return. +Thu Mar 17 13:13:46 1994 Per Bothner (bothner@kalessin.cygnus.com) - Mon Jun 21 12:05:28 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * stor-layout.c (layout_type, case BOOLEAN_TYPE): + Set TREE_UNSIGNED unless TYPE_MIN_VALUE is negative. - * cp-decl2.c (grok_x_components): New function. Adjust the code that - handles ENUMERAL_TYPEs and UNION_TYPEs to make more sense. - * cp-parse.y (component_decl): Move a lot of code into that fn. - * cp-tree.h (grok_x_components): Add extern decl. +Thu Mar 17 18:36:34 1994 Jim Wilson (wilson@cygnus.com) - * cp-parse.y (component_decl_list): Don't warn about a semicolon - after a component_decl_list. + * c-common.c (shorten_compare): When simplify compare against + zero, check for restype_ptr unsigned instead of primop0 unsigned. - * cp-search.c (lookup_field): Be careful to handle operators - properly when complaining about ambiguities &c. + * calls.c (expand_call): Undo Feb 27 change. Set nregs to -1 for + normal case. - * cp-search.c (dfs_pushdecls): Make sure we have a context before - seeing if it derives from TYPE. +Thu Mar 17 17:43:28 1994 Ian Lance Taylor (ian@cygnus.com) - Fri Jun 18 08:14:11 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * fixinc.svr4: Define BYTE_ORDER in as on + UnixWare 1.1. - * 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. +Thu Mar 17 06:02:24 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Wed Jun 16 10:57:37 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * stor-layout.c (layout_type, case INTEGER_TYPE): Properly test for + nonnegative lower bound. - * cp-typeck.c (build_unary_op): Make sure it's the global fn `main' - before complaining about taking the address of it. +Wed Mar 16 12:41:19 1994 Ian Lance Taylor (ian@cygnus.com) - * cp-decl.c (grokdeclarator): Also forbid `operator ()' as a - non-member fn. + * tree.c (build_nt, build_parse_node): Don't declare last + parameter to be register, since it is used in VA_START, which + may take its address. + * genattrtab.c (attr_printf): Likewise. - * cp-decl.c (grok_reference_init): Don't allow an initializer list - as the initializer for a reference. +Wed Mar 16 12:00:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - * cp-method.c (dump_init): Handle a NON_LVALUE_EXPR. + * pa.h (INITIALIZE_TRAMPOLINE): Do not mask off high + bits of address passed to icacheflush. - Sun Jun 13 12:55:22 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * pa.h (WCHAR_TYPE): Use "unsigned int" by default. + (WCHAR_TYPE_SIZE): Change appropriately. + * pa-ghiux.h, pa-ghpux.h, pa-gux7.h, pa-hiux.h, pa-hpux.h, + pa-hpux7.h (WCHAR_TYPE): Delete definition. + (WCHAR_TYPE_SIZE): Likewise. + * pa-osf.h (WCHAR_TYPE): Override appropriately for OSF1. + (WCHAR_TYPE_SIZE): Likewise. - * cp-decl.c (grokvardecl): Don't complain about duplicate - definitions of `extern "C"' declarations (parallelize it with how - regular `extern' decls are handled). + * pa.md (DImode lo_sum): Add earlyclobber for alternative one. - * cp-decl.c (start_function): Avoid a null-reference on CTYPE. + * pa.h (ASM_OUTPUT_ADDR_DIFF_ELT): Rewrite to match + ASM_OUTPUT_ADDR_VEC_ELT which is PIC-safe. - * cp-cvt.c (build_default_binary_type_conversion): Look deeper into - what ARG1 and ARG2 are if they're POINTER_TYPEs. +Wed Mar 16 09:07:34 1994 Matthias Pfaller (leo@marco.de) - Thu Jun 10 12:09:17 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * ns32k.c (global_symbolic_reference_mentioned_p): Recurse only + if GET_CODE (op) == CONST. - * cp-decl.c (grokdeclarator): Make the warning about opr-eq being a - member function be a pedwarn. + * ns32k.h (FUNCTION_PROLOGUE): Load sb through r0 if TARGET_REGPARM + is false. - Thu Jun 10 00:30:08 1993 Mike Stump (mrs@cygnus.com) +Wed Mar 16 06:57:45 1994 Richard Kenner (kenner@vlsi1.ultra.nyu) - * 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. + * emit-rtl.c (gen_lowpart_common, gen_highpart, operand_subword): + Test input against RTX for FP, AP, and SP, not same register number. - Tue Jun 8 16:48:49 1993 Mike Stump (mrs@cygnus.com) + * expr.c (expand_expr): Update comments and fix formatting. + (expand_expr, case VAR_DECL, STRING_CST, CONSTRUCTOR): If + flag_force_addr, put address in register unless REG. + (expand_expr, case CONSTRUCTOR, CONVERT_EXPR): Make TARGET with + TMODE, if specified. + (expand_expr, case IN_EXPR): Clean up. Allow INDEX to be an + unsigned type. Always evaluate SET and INDEX in case of side effects. + (expand_expr, case CONVERT_EXPR): Use convert_modes to handle consts. + (expand_expr, case ABS_EXPR): Simplify processing of COMPLEX. + Compare with zero word-by-word if required. + (expand_expr, case ABS_EXPR, MIN_EXPR, COND_EXPR): Don't use TARGET + if not MODE. + (expand_expr, case TRUTH_*_EXPR): Modes of input and output must agree. + (expand_expr, case CONJ_EXPR): Remove redundant def of MODE. - * 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. + * stor-layout.c (layout_record): If the place where we were going + to put a field changed, lay it out again. - Tue Jun 8 16:41:59 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Tue Mar 15 07:53:36 1994 Paul A Vixie (paul@vix.com) - * cp-lex.c (reinit_parse_for_block): Make sure not to try to use - consume_string on an escaped double-quote. + * Makefile.in (stmp-fixproto): Add missing "-" in front of "if". + (install-headers-tar, gcc.xtar): Use "-" in front of tar options. - Tue Jun 8 16:25:43 1993 Mike Stump (mrs@cygnus.com) +Mon Mar 14 16:28:16 1994 Paul Eggert (eggert@twinsun.com) - * cp-call.c (build_method_call): Don't search hidden functions from - base classes, as this violates chapter 10. + * fixincludes: Insert newlines just before the end of 'sed' + command strings if the last 'sed' command is 'a' or 'i'; + BSDI 1.1 'sed' needs this. - Mon Jun 7 18:46:01 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Mon Mar 14 15:46:29 1994 Ian Lance Taylor (ian@cygnus.com) - * 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. + * fixinc.svr4: Don't name variables in mmap prototype. - Mon Jun 7 18:01:31 1993 Mike Stump (mrs@cygnus.com) +Mon Mar 14 15:16:38 1994 Doug Evans (dje@cygnus.com) - * cp-search.c (is_subobject_of_p, lookup_field, lookup_fnfields): - Because virtual bases don't necessarily share the same binfo, use - the binfo hierarchy of TYPE_BINFO of any virtual bases, when - performing hiding checks. Fixes problem introduced on Thu Mar 25 - 23:09:27 1993. The symptom is the compiler reports non ambiguous - members as being ambiguous. + * objc/Makefile (*.o): Add explicit dependencies for Sun's VPATH. - Sun Jun 6 11:45:44 1993 Michael Tiemann (tiemann@rtl.cygnus.com) +Mon Mar 14 05:11:42 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-call.c (EVIL,TRIVIAL): New macros. - (convert_harshness): Use these macros. + * function.c (assign_parms, expand_function_start): Properly + set MEM_IN_STRUCT_P for DECL_RTL of function result. - Sat Jun 5 19:06:13 1993 Michael Tiemann (tiemann@rtl.cygnus.com) + * c-decl.c (grokdeclarator): Convert to sizetype when manipulating + size of array and use care to avoid mixed-type operations. - * cp-init.c (emit_base_init): Make clearing BINFO_BASEINIT_MARKED - symmetric with its setting. Fixes p2825. + * expr.c (expand_expr): Don't call bc_expand_expr + if EXPAND_INITIALIZER. + * bc-optab.c (bc_expand_{binary,unary}_operation): Add missing + args to call to expand_expr. + * stmt.c (bc_expand_start_cond): Set exit_label if not EXITFLAG. + (bc_expand_end_bindings): Only define exit_label if set. + Don't pop nesting_stack. + * varasm.c (output_constant_def): Do hashing and make label + even if bytecode. + * bc-emit.c (bc_seg_write): Don't make unaligned reference to + seg->data. + * toplev.c (compile_file): Call bc_write_file here and pass + asm_out_file, not stdout. + (main): Don't call bc_write_file here. + Fix wording on error if -fbytecode specified on unsupported target. - Thu Jun 3 16:24:30 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * fold-const.c (fold, associate): If -ffast-math, associate FP mults. + (fold, case RDIV_EXPR): Split case; ignore division by 1. + If -ffast-math, convert to multply by reciprocal. + (fold, case *_DIV_EXPR): Simplify A/C1/C2. - * cp-parse.y (component_declarator, component_declarator0): - Allow attribute after nameless field. + * tree.h (tree_int_cst_sgn): New declaration. + * tree.c (tree_int_cst_sgn): New function. + * c-decl.c (finish_{decl,struct,enum}): Call it. + * c-typeck.c (build_binary_op, pop_init_level): Likewise. + (output_pending_init_elements): Likewise. + * expr.c (expand_builtin, case BUILT_IN_RETURN_ADDRESS): Likewise. + * fold-const.c (fold): Likewise. + (fold, case *_DIV_EXPR): Add missing conversion. + * convert.c (convert_to_integer): Convert integer_one_node to + proper type before tree_int_cst_lt call. - * cp-lex.c (real_yylex): Take care to expand token_buffer before - storing each character. +Sun Mar 13 06:46:13 1994 Wolfgang Stukenbrock (wgstuken@immd4.informatik.uni-erlangen.de) - * 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. + * gcc.c (do_spec_1): Don't duplicate a macro starting with '__'. - * 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. +Sun Mar 13 05:54:00 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Thu Jun 3 11:34:35 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * convert.c (convert_to_integer): When changing type of truthvalue + operation, change types of inputs too. + * c-common.c (TRUTH_*_EXPR): Convert to integer_type_node. - * 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. + * tree.c: Include setjmp.h. + (build_real_from_int_cst): Propagate overflow flags and + establish float handler. + (build_complex): Propagate overflow flags. + * cse.c (simplify_binary_operation): Protect real_value_truncate + inside handler. + * fold-const.c (force_fit_value): Operate on REAL_CST as well. + (real_value_truncate): Don't use its own handler. + (const_binop): Set overflow on FP error and call force_fit_type. + (fold_convert): Likewise. + * c-common.c (constant_expression_warning, overflow_warning): + Handle REAL_CST and COMPLEX_CST. + * convex.h, convex.c, fx80.h, tahoe.h, vax.h, vax.c: Add OVERFLOW + operand to CHECK_FLOAT_VALUE. - * cp-decl.c (grokdeclarator): Allow function-call notation for - initialization of scalars as well as aggregates. + * jump.c (rtx_equal_for_thread_p): Correct error in previous + change; add missing arg in recursive call. - * cp-decl.c (pushdecl): Don't pay attention to friends when noting a - missing `static' decl. Disable this code for now. +Sat Mar 12 19:42:03 1994 H.J. Lu (hjl@nynexst.com) - Wed Jun 2 12:23:05 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * configure (gxx-include-dir): Replacement for gxx-prefix. + * Makefile.in (gxx_include_dir): Likewise, for gxx_prefix. - * 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). + * i386/linux.h (NO_IMPLICIT_EXTERN_C): Defined. - * 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. +Sat Mar 12 07:42:12 1994 Paul Eggert (eggert@twinsun.com) - * cp-typeck.c (require_instantiated_type): Don't allow an - initializer list in an argument list. + * Makefile.in (stmp-fixproto): Work around a `make' bug in BSDI 1.1. - * 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. +Sat Mar 12 07:38:08 1994 Klaus Kaempf (kkaempf@didymus.rmi.de) - * cp-class.c (finish_struct): Say anonymous classes and structs are - useless, not just classes. + * bi-run.h: Properly test BYTES_BIG_ENDIAN. + * bytecode.h: Likewise for WORDS_BIG_ENDIAN. - * cp-lex.c (real_yylex): Warn if catch, throw, or try are used as - identifier names. + * cccp.c (do_include, hack-vms_include_specification): Change handling + of '#include filename' to be compatible with VAX-C. - * cp-decl.c (pushdecl): Make sure we have a CURRENT_FUNCTION_DECL - before setting its public flag. + * genemit.c (gen_exp): Added \n to printf to shorten line for VAX-C. - * 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. +Sat Mar 12 06:42:38 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-search.c (build_mi_matrix): Fix off-by-one error in - clearing of MI_MATRIX. - (get_base_distance): Init NEW_BINFO to 0. + * expr.h (emit_float_lib_cmp): Add declaration here. + * optabs.c: Don't define emit_float_lib_cmp now that no longer static. - * cp-pt.c (instantiate_member_templates): Initialize XXX to 0. + * jump.c: Add prototypes for static functions. + (jump_optimize, delete_insn): Use GET_RTX_CLASS to test for insns. + (mark_jump_label): Delete dead code. + (delete_computation, redirect_tablejump): No longer static. - * cp-call.c (build_method_call): Zero out candidates. - (build_overload_call_real): Likewise. +Fri Mar 11 14:40:40 1994 Jim Wilson (wilson@cygnus.com) - Wed Jun 2 11:53:24 1993 Mike Stump (mrs@cygnus.com) + * lite.h (TARGET_DEFAULT): Use parentheses. + * sparc.h (TARGET_HARD_QUAD): New macro. + (TARGET_SWITCHES): Add hard-quad-float, soft-quad-float. + (TARGET_DEFAULT): Use parentheses. + ({ADDTF3,SUBTF3,MULTF3,DIVTF3,SQRTTF2,FLOATSITF2,FIX_TRUNCTFSI2, + EXTENDSFTF2,TRUNCTFSF2,EXTENDDFTF2,TRUNCTFDF2,EQTF2,NETF2,GTTF2, + GETF2,LTTF2,LETF2}_LIBCALL): New macros. + * sparc.md (sleu+4, sleu+7, extendsftf2, extenddftf2, trunctfsf2, + trunctfdf2, floatsitf2, fix_trunctfsi2, addtf3, subtf3, multf3, + divtf3, sqrttf2): Disable when -msoft-quad-float. + (beq, bne, bgt, blt, bge, ble): When -msoft-quad-float, account + for return value of SPARC ABI routines that differs from libgcc. + * flow.c (libcall_dead_p): Fail not abort for libcall that returns + value via invisible pointer. + * optabs.c (emit_float_lib_cmp): Make non static. + (init_optabs): Use {ADDTF3,SUBTF3,MULTF3,DIVTF3,SQRTTF2,FLOATSITF2, + FIX_TRUNCTFSI2,EXTENDSFTF2,TRUNCTFSF2,EXTENDDFTF2,TRUNCTFDF2,EQTF2, + NETF2,GTTF2,GETF2,LTTF2,LETF2}_LIBCALL macros. - * cp-search.c (lookup_fnfields_here): Use TYPE_MAIN_VARIANT on - context types before comparing. Fixes const member functions not - being found in templates. + * sparc/sparc.h (STARTING_FRAME_OFFSET): Depend on + LONG_DOUBLE_TYPE_SIZE. - Tue Jun 1 18:26:18 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Fri Mar 11 08:01:54 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de) - * cp-parse.y (structsp): Avoid a null-ref on ID. - (left_curly): Likewise. + * rtl.h, tree.h, g++.c, gcc.c (PVPROTO): New macro. + * combine.c, expr.h, rtl.h, tree.h, gcc.c: Use it for varargs protos.. + * genattrtab.c, mips-tfile.c, output.h, toplev.c: Likewise. - Tue Jun 1 13:49:20 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Fri Mar 11 07:21:36 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-decl.c (pushdecl): Communicate a `static' decl of a prototype - into its definition, if they forget to take care of it. + * emit-rtl.c (copy_rtx_if_shared, case LABEL_REF): Can't share. + * jump.c (jump_optimize): Delete REG_LABEL note if label no + longer in insn. - * cp-init.c (emit_base_init): Make error message more useful about - insufficient initializers for a member of a class w/o a ctor. + * c-decl.c (finish_decl): When preserving an initializer, ensure + its type is on a good obstack. - Sun May 30 09:45:06 1993 Michael Tiemann (tiemann@rtl.cygnus.com) +Thu Mar 10 15:32:42 1994 Mike Collison (collison@sw.stratus.com) - * 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). + * reload1.c (emit_reload_insns): When clearing reg_last_reload_reg, + clear all hard regs in reload_out. - Sat May 29 09:34:57 1993 Michael Tiemann (tiemann@rtl.cygnus.com) +Thu Mar 10 15:23:10 1994 Hallvard B Furuseth (hbf@durin.uio.no) - * 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). + * collect2.c (dup2): Catch `dup' failure. Return correct value. - * 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). +Thu Mar 10 15:18:08 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) - * cp-call.c (compute_conversion_costs): Count ellipses when we see - them. - (ideal_candidate): Gracefully handle arg lists that have ellipses - (Fixes p2777). + * gcc.c ([__MSDOS__]): Use #ifdef, not #if. + * collect2.c ([__MSDOS__]): Likewise. - * cp-call.c (build_method_call): Delete some #ifdefs that are - obsoleted by ANSI. +Thu Mar 10 15:03:01 1994 Paul Eggert (eggert@twinsun.com) - Fri May 28 12:15:21 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * cccp.c (main, finclude, check_precompiled): When safe_read + returns a partial buffer, this means EOF has been reached; + don't try to read any more. - * cp-decl.c (finish_decl): Don't allow overloaded operators to have - default arguments. +Wed Mar 9 18:47:29 1994 Paul Eggert (eggert@twinsun.com) - * cp-cvt.c (convert): If it's an anonymous enum, say so instead of - giving the cryptic `._123' as the enum type. + * real.c (target_negative): -0 counts as negative. - Thu May 27 10:52:49 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Wed Mar 9 15:32:01 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cp-decl.c (grokdeclarator): Return 0 instead of doing a 155 abort, - so we'll get the right error message later. + * m68k.md (movqi): Disable special-case of stack push if operand + one is an address register. - * cp-type2.c (readonly_error): Give a more useful error when the arg - is a RESULT_DECL. + * c-typeck.c (pointer_int_sum): Multiplication should be + done signed. + (pointer_diff): Likewise the division. + * fold-const.c (fold, case MULT_EXPR): Simplify MULT_EXPR of an + EXACT_DIV_EXPR with the same divisor as our multiplicand. - * 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. + * jump.c (rtx_equal_for_thread_p): Commutative operations + are identical if the operands match in the opposite order. + * sched.c (rtx_equal_for_memref_p): Likewise. - * 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. +Wed Mar 9 12:07:29 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) - * cp-decl.c (grokdeclarator): Use a pedwarn on extern inline. + * cse.c (simplify_relational_operation): Fix typos; use + ARG_POINTER_REGNUM and FRAME_POINTER_REGNUM in condtionals. - Tue May 25 13:55:48 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * 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. - - * 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-decl2.c (grok_array_decl): Add a pedwarn if they do `5[a]'. - - * cp-typeck.c (comptypes): Don't warn about t2 being an - error_mark_node. - - * cp-decl.c (finish_decl): If type is laid out, but decl is not, - call layout_decl. - - Mon May 17 10:35:55 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-tree.h (error_not_base_type): Add prototype. - - Fri May 14 17:16:55 1993 Mike Stump (mrs@poseidon.cygnus.com) - - * cp-class.c (finish_struct): Use get_binfo instead of binfo_value - to find vfields. Cures compiler_error. - - Thu May 13 14:57:51 1993 Mike Stump (mrs@cygnus.com) - - * cp-tree.c (binfo_value): If type is the main binfo for elem, - return it. - - Wed May 12 13:10:07 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * 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. - - Tue May 11 17:51:16 1993 Mike Stump (mrs@poseidon.cygnus.com) - - * 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. +Tue Mar 8 16:12:07 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Sat May 8 05:53:17 1993 Michael Tiemann (tiemann@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. - - Fri May 7 12:42:46 1993 Brendan Kehoe (brendan@lisa.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-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. - - Thu May 6 16:59:19 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * 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 5 16:38:06 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * Makefile.in (stamp-cp-parse): Update reduce/reduce count to 13. - - * 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. - - * 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). - - Wed May 5 12:57:33 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - - * cp-parse.y (get_current_declspecs): Obsolete, deleted. - - Tue May 4 13:46:09 1993 Brendan Kehoe (brendan@lisa.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 (simple_stmt): Use expr_no_commas instead of expr for - case labels. - - * cp-typeck.c (build_binary_op_nodefault): Add 'right' and 'left' to - shift count warnings to distinguish them from each other. - - * 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. - - * cp-decl.c (init_decl_processing): Make the arrays 200 long to - leave enough room for most names. - - * 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. - - * cp-method.c (dump_init): Grok a FIELD_DECL as well. - - * 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). - - Mon Jan 25 11:04:23 1993 Niklas Hallqvist (niklas at della.appli.se) - - * cp-parse.y (component_decl): Handle anonymous unions as static - class members. - * cp-decl.c (grokdeclarator): Ditto. - - * 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-class.c (finish_struct): Corrected error message concerning - anonymous classes. - - * cp-lex.c (check_for_missing_semicolon): Allow trailing storage - specifiers. - - Fri Jan 29 09:39:17 1993 Niklas Hallqvist (niklas at della) - - * 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-type2.c (store_init_value): Check for the aggregate conditions - described in ARM 8.4.1. + * explow.c (break_out_memory_refs): Don't call mark_reg_pointer + here. + (memory_address): Call it here if X changed and is now a REG + or REG + CONST_INT. - Mon May 3 19:10:28 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Tue Mar 8 15:57:29 1994 Jim Wilson (wilson@cygnus.com) - * cp-lex.c (real_yylex): Don't warn about floating point out of - range if target floating-point format is IEEE. + * c-decl.c (finish_decl): When saving/discarding initializers, + don't check TREE_PERMANENT and TREE_STATIC. + (finish_decl, finish_function): Pass new argument to + permanent_allocation. + * cp/decl.c (finish_function): Likewise. + * cp/decl2.c (write_vtable_entries, finish_file): Likewise. + * toplev.c (compile_file): Likewise. + * function.h (struct function): Add momentary_function_firstobj + field. + * tree.c (momentary_function_firstobj): New variable. + (init_obstack): Set it. + (save_tree_status): Save it and set it. + (restore_tree_status): Use it and restore it. + (permanent_allocation): New parameter function_end. Clear + momentary_obstack to momentary_function_firstobj if true. + (preserve_initializer): Set base field of every momentary + level on the momentary stack to new momentary_firstobj. + (pop_momentary): Only free back to previous base. + * tree.h (permanent_allocation): Add prototype. - * cp-class.c (finish_struct): Promote unsigned bitfields to signed - int if the field isn't as wide as an int. +Mon Mar 7 20:10:56 1994 Jim Wilson (wilson@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. + * iris4gl.h: Rewrite. Include iris4loser.h not iris4-gdb.h. + Define PREFERRED_DEBUGGING_TYPE not ASM_SPEC. - Mon May 3 18:04:15 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * bsd-4.h (LINK_SPEC): Do not depend on gas. Don't interpret -EB + and -EL options, but do pass them. + * bsd-5.h (LINK_SPEC): Likewise. + * decl-osf1.h (LINK_SPEC): Likewise. + * iris5.h (LINK_SPEC): Likewise. + * mips-5.h (LINK_SPEC): Likewise. + * mips.h (LINK_SPEC): Likewise. + * svr3-4.h (LINK_SPEC): Likewise. + * svr3-5.h (LINK_SPEC): Likewise. + * svr4-4.h (LINK_SPEC): Likewise. + * svr4-5.h (LINK_SPEC): Likewise. - * cp-cvt.c (convert): When doing int->enum conversions, always call - pedwarn, even if we didn't give `-pedantic'. + * dec-bsd.h (LINK_SPEC): Pass all normal linker options to gld. + (ASM_SPEC): Pass all normal assembler options to gas. + * osfrose.h (LINK_SPEC): Likewise. + (ASM_SPEC): Likewise. - * cp-decl.c (start_function): Add extern decl of - `flag_external_templates'. + * mips.h (ASM_SPEC): Make definition depend on whether or + not the default assembler is gas. Pass all normal assembler + options to gas. + * iris4loser.h (ASM_SPEC): Likewise. Pass -O0 if the assembler is + not gas. - * cp-lex.c (check_newline): Warn if there's anything after a - `#pragma interface'. + * iris3.h (ASM_SPEC, LINK_SPEC): Delete. + * news4.h (ASM_SPEC, LINK_SPEC): Delete. + * news5.h (LINK_SPEC): Delete. + * nws3250v4.h (ASM_SPEC, LINK_SPEC): Delete. + * ultrix.h (ASM_SPEC, LINK_SPEC): Delete. - Mon May 3 12:39:49 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * mips.h (ASM_FINAL_SPEC): Cross compiling does not presume gas. - * 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. + * osfrose.h (SIZE_TYPE): Delete. + (MAX_WCHAR_TYPE_SIZE): Define. - * cp-type2.c (process_init_constructor): Don't allow use of an - initializer list for a class with private or protected members. + * calls.c (expand_call): For pcc_struct_value case, set + MEM_IN_STRUCT_P correctly on target. - Sat May 1 15:07:24 1993 Mike Stump (mrs@poseidon.cygnus.com) + * Makefile.in (mostlyclean): Don't explicitly delete ld. - * 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. +Mon Mar 7 20:06:38 1994 Ian Lance Taylor (ian@cygnus.com) - Fri Apr 30 18:50:00 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * mips-tdump.c (print_symbol): The index field of a global symbol + is the symbol table index of the corresponding local symbol, not + an index into the aux table. + (print_file_desc): Print out size of line number information + rather than repeating line number count. The cbLineOffset field + of a PDR is relative to the cbLineOffset field of the FDR. Also, + when computing line_end of the last PDR, use cbLineOffset, not + ilineBase. - * cp-spew.c (arbitrate_lookup): If the next character is a '[', then - have the compiler assume it's an expression instead of a type. +Mon Mar 7 17:42:35 1994 H.J. Lu (hjl@nynexst.com) - Fri Apr 30 14:39:28 1993 Mike Stump (mrs@poseidon.cygnus.com) + * Makefile.in (gxx_prefix): New; default to $(libdir). + (GPLUSPLUS_INCLUDE_DIR): Change to $(gxx_prefix)/g++-include. + * configure (gxx_prefix): New; default to $(libdir). - * 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. + * i386/linux.h (GPLUSPLUS_INCLUDE_DIR): Deleted. + (STARTFILE_SPEC): Remove "-nojump". - * cp-class.c (finish_base_struct): Always set the VF_NORMAL_VALUE so - that maybe_fixup_vptrs can get the most derived vtable. +Mon Mar 7 17:06:08 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de) -Fri Jun 25 14:00:17 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * i386/xm-linux.h (malloc): Remove disabled code. - * config.sub: Convert ...-sysvr4 into ...-sysv4. +Mon Mar 7 13:27:09 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * config/m68k/news.h (CPP_PREDEFINES): Have two alternatives, - one for motorola and one for not motorola. + * cccp.c (no_record_file): New variable. + (main): Set it for -imacros and -include files. + (do_endif): Don't call record_control_macro for -include or -imacros + files or files included from -imacros. - * config/m68k/tower-as.h, mot3300.h, m68kv4.h, hp320.h, amix.h: - * config/m68k/3b1.h, crds.h (CPP_PREDEFINES): Add __motorola__. +Sun Mar 6 21:48:51 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu) - * expr.c (store_expr): If TARGET is volatile mem ref, return it. + * config.sub: Accept freebsd as OS. - * toplev.c (lang_options): Add -fdollars-in-identifiers. - * c-decl.c (c_decode_option): Handle -fdollars-in-identifiers. +Sun Mar 6 14:40:00 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Fri Jun 25 13:33:39 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * stupid.c: Add prototypes for static functions. + (last_{jump,label}_suid): Deleted; all uses deleted. + (reg_crosses_blocks): Likewise. + (stupid_life_analysis): Only allocate MAX_SUID entries + of after_insn_hard_regs. + Use GET_RTX_CLASS when possible. + Initialize all of reg_renumber. + Use reg_alternate_class when reg not available in preferred class. + (stupid_find_reg): Delete argument CROSSES_BLOCKS. - * 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. + * stupid.c (stupid_mark_refs): If setting reg_where_dead, set + regs_live so we don't later clobber it. - * pa.h (TARGET_SHARED_LIBS): Delete switch and all references to - the switch. - * pa.c: References to TARGET_SHARED_LIBS deleted. - * pa.md: Likewise. + * recog.c (constrain_operands): Properly handle '#' in constraint. - * pa-utahmach.h (TARGET_DEFAULT): Allow indexing on Mach ports. - * pa1-utahmach.h (TARGET_DEFAULT): Likewise. - * pa.h (TARGET_DISABLE_INDEXING): Clean up comments. + * combine.c (subst): Split into five functions. + (simplify_{rtx,if_then_else,set,logical}): New functions. -Fri Jun 25 00:50:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sun Mar 6 13:12:48 1994 James Van Artsdalen (james at bigtex.cactus.org) - * expr.c (store_expr): Ignore SUGGEST_REG if target is volatile. + * reg-stack.c (find_blocks): Undo previous change to block + delineation algorithm. + (reg_to_stack): Make algorithm identical to that in find_blocks. - * config/mips/mips.md (negdi2, negdi2_internal): Renamed from negdi3... +Sat Mar 5 16:27:58 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Jun 24 00:31:27 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) + * genattrtab.c (attr_printf): Remove `register' from decl of FMT. + * tree.c (build_nt, build_parse_node): Remove `register' from decl + of CODE. - * gcc.c (option_map): Make --version alias for -dumpversion. + * reload.c (get_secondary_mem): Call SECONDARY_MEMORY_NEEDED_MODE + if it is defined. + * alpha.h (SECONDARY_MEMORY_NEEDED_MODE): New macro. + * alpha.c (output_{pro,epi}log): Round var size to quadword boundary. -Wed Jun 23 07:50:21 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * alpha.md (unaligned_{load,store}hi): Clear low bit of + address before using as operand to extwl, mskwl, and inswl. + (movhi, reload_inhi, reload_outhi): Pass extra scratch value. - * 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. +Fri Mar 4 17:16:23 1994 Leonard Norrgard (vinsci@nic.funet.fi) - * 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. + * c-lex.c: Delete gperf-generated source from here. + * c-gperf.h: New file; contains just gperf output. + * Makefile.in (c-gperf.h): New rule. + (c-lex.o): Depends on c-gperf.h. + (realclean): Delete c-gperf.h. + (distdir): Build c-gperf.h. + (diff): Omit differences in c-gperf.h. -Tue Jun 22 19:52:08 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) +Fri Mar 4 06:35:26 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * emit-rtl.c (copy_rtx_if_shared): In `E' case, get the length - before copying, and don't get it again after. + * svr4.h, m88k.h (ASM_FINISH_DECLARE_OBJECT): Set + size_directive_output to 1. -Tue Jun 22 10:50:56 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * reload1.c (emit_reload_insns): Don't call gen_input_reload if + src and dest are identical. - * toplev.c (report_error_function): Change format of the - included-file stack to be more readable. - * cccp.c (print_containing_files): Likewise. +Thu Mar 3 15:32:55 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Mon Jun 21 19:21:18 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * alpha.md (mskXl): Add missing NOT in patterns. - * rs6000.c (print_operand, case 'J'): Write out shift count - of 0, not 32 for bit 31 of CCR. + * t-m88k: Remove added realclean rule. -See ChangeLog.7 for earlier changes. +See ChangeLog.8 for earlier changes.