X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2FChangeLog.8;h=e28ee99dae721a96c67a484f4483d0232ddb253b;hb=bea25212a8390a451727ca1074636ecb49cf0dd1;hp=9c9140e30c9b76b4e6728f2aa8607fc00eb07dd4;hpb=071cd279a6ac9efccecd8171777a9fc99ac4796a;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/ChangeLog.8 b/gcc/ChangeLog.8 index 9c9140e30c9..e28ee99dae7 100644 --- a/gcc/ChangeLog.8 +++ b/gcc/ChangeLog.8 @@ -1,11080 +1,14449 @@ -Tue Mar 1 19:43:31 1994 Stan Shebs (shebs@cygnus.com) - * a29k/a29k.h (TARGET_SOFT_FLOAT): Define. - (TARGET_SWITCHES): Add -msoft-float. - * a29k/a29k.md (all floating point): Disable floating point insns - if doing soft floats. +2002-12-31 Kazu Hirata -Tue Mar 1 19:36:05 1994 Glenn Holloway (glenn@soi.com) + * config/h8300/h8300-protos.h: Update the prototypes. + * config/h8300/h8300.c (const_le_2_operand): Change to + const_int_le_2_operand. + (const_int_le_6_operand): Change to const_int_le_6_operand. + * config/h8300/h8300.md (two peepholes): Update the function + names. - * defaults.h (ASM_OUTPUT_ADDR_DIFF_ELT): Use - ASM_OUTPUT_INTERNAL_LABEL instead of ASM_GENERATE_INTERNAL_LABEL. +2002-12-31 Tom Tromey -Tue Mar 1 19:26:47 1994 Jim Wilson (wilson@cygnus.com) + * doc/install.texi (Testing): Fixed typo. - * sparc/sol2.h (JUMP_TABLES_IN_TEXT_SECTION): Delete. - * sparc/sysv4.h (JUMP_TABLES_IN_TEXT_SECTION): Add. +2002-12-31 Kazu Hirata - * c-typeck.c (build_binary_op): Pass TREE_TYPE (orig_op0) not - orig_op0 to TREE_UNSIGNED. + * config/h8300/h8300.h (TRAMPOLINE_TEMPLATE): Remove. + (TRAMPOLINE_SIZE): Support the normal mode. + (INITIALIZE_TRAMPOLINE): Emit the entire trampoline. -Tue Mar 1 18:33:33 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +2002-12-31 Mark Mitchell - * varasm.c (output_constant): Strip off some NOP_EXPRs - before further processing. + * c-common.h (pending_lang_change): Declare. -Tue Mar 1 12:00:00 1994 Stan Cox (coxs@dg-rtp.dg.com) +2002-12-31 Jerry Quinn - * m88k.c (legitimize_address, print_operand): Make -fPIC work - again. Put addresses inside UNSPEC when loading them to - ensure that cse won't mistakenly optimize them. - - * m88k.md: Two new patterns, to match (HIGH (UNSPEC (..))) and - (LO_SUM (reg) (UNSPEC (..))) as generated above. + * gcc/doc/invoke.texi (Optimization Options): Clean up -O flag + descriptions. - * m88k.h: (GO_IF_LEGITIMATE_ADDRESS) Reject invalid PIC addresses. +2002-12-31 Jerry Quinn -Tue Mar 1 11:00:14 1994 Doug Evans (dje@cygnus.com) + * gcc/doc/invoke.texi (Optimization Options): List the options + enabled by each -O flag. - * configure: Fix some typos. - * config.sub: Move comment to proper place. +2002-12-31 Gerald Pfeifer -Mon Feb 28 18:31:50 1994 Doug Evans (dje@cygnus.com) + * doc/install.texi (Configuration): Explicitly refer + gcc/config.gcc for a list of cpu models. - * ns32k/encore.h (ASM_OUTPUT_ASCII): Fix typo. +2002-12-31 Kazu Hirata -Mon Feb 28 18:31:42 1994 Steve Chamberlain (sac@cygnus.com) + * config/h8300/h8300.h: Fix comment typos. - * expr.c (convert_move): Change name of truncsipsi to truncsipsi2 - to conform to existing convention, same with extendpsisi. +2002-12-30 David Edelsohn -Mon Feb 28 08:11:55 1994 Jim Meyering (meyering@comco.com) + * config/rs6000/rs6000.h (WIDEST_HARDWARE_FP_SIZE): Define. - * cccp.c (check_precompiled): Delete unused var dollar_loc. - (pcstring_used): Delete unused var TMP. - (write_output): Delete unused var WRITTEN. - (assertion_lookup): Delete unused var BP. - (pedwarn_with_file_and_line): Delete unused var I. +2002-12-30 Tom Tromey -Mon Feb 28 07:12:24 1994 Julian Bradfield (jcb@dcs.ed.ac.uk) + * doc/install.texi (Testing): Mention Jacks. - * m68k.md (call): Change HPUX_ASM case. - * m68k/hp320.h (READONLY_DATA_SECTION, LEGITIMATE_PIC_OPERAND_P): - Defined. - (FUNCTION_PROLOGUE): Emit PIC prologue. +2002-12-30 Joseph S. Myers -Mon Feb 28 06:21:18 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * doc/gcc.texi, doc/gccint.texi: Update last modification dates. - * reload1.c (eliminate_regs, case MULT): New case, to apply - distributive law, when needed. +2002-12-30 Kazu Hirata - * stor-layout.c (variable_size): If global_bindings_p < 0, - don't even make the SAVE_EXPR. - - * reg-stack.c (reg_to_stack): Use GET_RTX_CLASS. - Clear LABEL_REFs here. - (find_blocks): Make algorithm identical to that inreg_to_stack. - Use GET_RTX_CLASS. - Don't clear LABEL_REFs here. - Build a list of labels referenced by other than jumps. - If computed jump, mark using that list and forced_labels. - (uses_reg_or_mem): New function, copied from flow.c. - - * optabs.c (expand_binop): Use expand_divmod to do - integer division for DIV of MODE_COMPLEX_INT operands. - -Sun Feb 27 20:24:30 1994 Rob Austein (sra@epilogue.com) - - * protoize.c (process_aux_info_file): Properly start over on - file error. - -Sun Feb 27 17:42:19 1994 Jim Wilson (wilson@cygnus.com) - - * expmed.c (store_split_bit_field): If OP0 is a SUBREG, then - compute WORD from the base register, instead of from the SUBREG. - (extract_split_bit_field): Likewise. - (extract_bit_field): Sign-extend multiword bitfield if necessary. - - * emit-rtl.c (subreg_realpart_p): New function. - * integrate.c (copy_rtx_and_substitute): Use subreg_realpart_p - instead of subreg_lowpart_p for CONCAT. - - * c-pragma.c (HANDLE_PRAGMA_WEAK): Depend on ASM_OUTPUT_DEF not - SET_ASM_OP when defining it. - * dwarfout.c (ASM_OUTPUT_DEF): Delete definition. - * defaults.h (ASM_OUTPUT_DEF): Add it here. - * varasm.c (handle_pragma_weak): Depend on ASM_OUTPUT_DEF not - SET_ASM_OP when defining it. Use ASM_OUTPUT_DEF to output value - instead of SET_ASM_OP and explicit ASM_OUTPUT_LABELREF calls. - - * calls.c (expand_call): Set nregs to -1 for BLKmode parameter, - then before move_block_to_reg call set it to the type size. - - * reorg.c (try_merge_delay_insns): Success when SLOT_NUMBER == - NUM_SLOTS not when NEXT_TO_MATCH == 0. - - * expmed.c (store_fixed_bit_field): Adjust BITPOS so that it - fits inside MODE before adjusting OFFSET to get an aligned address. - - * expmed.c (store_fixed_bit_field): Move float mode to integral - mode conversion from near end of function to top of function. - - * c-typeck.c (process_init_element): Check for constructor_type - set before dereferencing it in the string cst code. - -Sun Feb 27 17:28:06 1994 Philippe De Muyter (phdm@info.ucl.ac.be) - - * m68k/mot3300.h (TARGET_DEFAULT): Default to 68020-40. - (ASM_SPEC): New macro. - (FUNCTION_VALUE, FUNCTION_VALUE_REGNO_P): Return pointer in a0. - (*_LIBCALL): Use functions from sysV68's library. - (INIT_CUMULATIVE_ARGS, FUNCTION_ARG*): Some libcalls pass - parameters in registers. - -Sun Feb 27 15:20:35 1994 Ron Guilmette (rfg@netcom.com) - - * flags.h (id_clash_len): Now unsigned. - (warn_larger_than, larger_than_size): New variables. - * toplev.c: Likewise. - (main): Support -Wlarger-than-NN. - * c-common.c (declare_hidden_char_array): Build new type if - warn_larger_than. - * c-decl.c (finish_decl, finish_function): Issue warning for - large objects, if requested. - -Sun Feb 27 10:50:50 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * integrate.c (expand_inline_function): Allow extra arguments - and force their evaluation for side-effects. - - * local-alloc.c (qty_compare{,_1}): Give multi-word regs higher - priority, as stated in the comments. - * global.c (allocno_compare): Likewise. - - * c-common.c (binary_op_error): Initialize OPNAME. - * c-decl.c (store_parm_decls): Initialize some vars. - * c-lex.c (readescape): Initialize FIRSTDIG. - * c-typeck.c (type_lists_compatible_p): Initialize NEWVAL. - (pop_init_level): Initialize SIZE. - (output_pending_init_elements): Initialize NEXTPOS_TREE. - * calls.c (expand_call): Initialize OLD_PENDING_ADJ. - * cccp.c (main, args case 'D'): Rewrite to avoid uninitialized var. - (main, args case 'A'): Delete unused var P1. - (rescan): Initialize STR. - (do_xifdef, do_endif): Initialize arg to skip_to_end_of_comment. - * expr.c (emit_move_insn): Delete unused vars. - (emit_move_insn_1): Don't set SUBMODE unless used. - (expand_builtin, case BUILT_IN_SAVEREGS): Clean up uses of VALREG - and SAVED_VALREG. - * final.c (final_scan_insn): Always set OPS and use alloca. - * gcc.c (execute): Initialize PROG. - * optabs.c (emit_float_lib_cmp): Init LIBFUNC; abort if not reset. - * stmt.c (expand_start_bindings): Properly set NOTE if bytecode. - * tree.c (make_node, stabilize_reference_1): Abort if unknown class. - * varasm.c (make_decl_rtl): Initialize NAME and abort if not reset. - -Sat Feb 26 13:09:37 1994 Doug Evans (dje@canuck.cygnus.com) - - * mips-tfile.c (fatal, error): Don't use prototypes - ifndef HAVE_VPRINTF. - - * fixincludes: Fix including of machine/r3_cpu.h and machine/r4_cpu.h - in machine/cpu.h on Ultrix 4.3. - -Sat Feb 26 07:14:04 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * rs6000.h (MASK_NO_SUM_IN_TOC, TARGET_NO_SUM_IN_TOC): New macros. - (MASK_MINIMAL_TOC): Change bit value. - (TARGET_SWITCHES): Add -mno-sum-in-toc; use -mfull-toc instead - of -mnormal-toc, other minor changes. - * rs6000.md (movsi): If -mno-sum-in-toc, do addition of - symbol + const. - - * jump.c (rtx_renumbered_equal_p): Fix bug in comparing SUBREGs - and REGs. - Two commutative operations are equal if the operands are in the - opposite order. - - * function.c (fixup_var_refs_insn): Delete CLOBBER of VAR. If - VAR is being assigned into by a libcall sequence, remove the - libcall notes. - - * cse.c (count_reg_usage, case SET): If SRC has side-effects, - count a usage of DEST in it. - - * expr.c (store_expr): In promoted TARGET case, if EXP is a - volatile MEM and WANT_VALUE is nonzero, only reference the MEM once. - Return TARGET if it is a hard register; clean up return code. - - * tree.c (substitute_in_type, case REAL_TYPE): Fix typo in - previous change. - -Fri Feb 25 06:42:20 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * tree.c (substitute_in_type, case REAL_TYPE): Allow - TYPE_{MIN,MAX}_VALUE to be unassigned. - - * combine.c (if_then_else_cond): Fix typo in narrowing of a SUBREG. - - * alpha.md (neg[sd]f2): Use %R1 consistently. - - * reload.c (find_reloads): Don't restrict class of multiword - operand to preferred class. - (find_reloads_address_1): Rework to use `switch'. - Reload a SUBREG of a hard reg as a unit. - - * alpha.md (mul*): Disallow multiply by constant. - -Thu Feb 24 21:20:11 1994 Ian Lance Taylor (ian@cygnus.com) - - * fixinc.sco: In , fix prototypes of getcwd and - link. - -Thu Feb 24 13:06:05 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * config.sub: Don't force os=-hpux for hp9k2... and hp9k3... - -Thu Feb 24 11:17:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * configure (hppa*-*-osf*): Renamed from hppa*-*-mach. Target - filenames changed accordingly. - -Thu Feb 24 08:54:27 1994 Bob Miorelli (pwa-b!miorelli@uunet.uu.net) - - * lynx.h (LIB_SPEC, LINK_SPEC): Add missing blanks. - -Thu Feb 24 08:42:07 1994 Ian Willis (ianw@sco.com) - - * i386/sco.h, i386/scodbx.h (HANDLE_SYSV_PRAGMA): Define. - -Thu Feb 24 07:31:44 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * loop.c (maybe_eliminate_biv_1): Ignore GIV if it isn't - always computed. - - * loop.c (scan_loop, strength_reduce): Go back to LOOP_TOP, not - its NEXT_INSN (in case SCAN_START == LOOP_TOP). - -Wed Feb 23 07:30:14 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * reload1.c (choose_reload_regs): If EQUIV is a SUBREG, - make a new REG. - - * c-common.c (decl_attributes): Warn if attribute will be ignored. - Allow `noreturn', `volatile', and `const' on object of type - pointer to function. - Always give decl with error or warning. - * calls.c (expand_call): Functions may be const or volatile from - their type. - -Tue Feb 22 11:00:12 1994 Ian Lance Taylor (ian@cygnus.com) - - * fixincludes: In #[el]if, put double underscores around M32, - m88k, pdp11, tower[_0-9]*, u370, u3b[0-9]*. From Kaveh R. - Ghazi. - - * fixinc.sco: Fix prototype declaration of utime in ; - it's broken in SCO 3.2v4.0. - -Tue Feb 22 08:14:28 1994 Matthias Pfaller (leo@marco.de) - - * ns32k.h (FUNCTION_{PROLOGUE,EPILOGUE}): %$ is not supported - in fprintf. - (ADJSP): New macro to resolve %$. - - * pc532.h (FRAME_POINTER_REQUIRED): Deleted. - * pc532-mach.h (FRAME_POINTER_REQUIRED): Moved to here. - (DEFAULT_PCC_STRUCT_RETURN): Deleted; redundant. - - * ns32k.c (output_move_dconst): New function. - * ns32k.h (output_move_dconst): New declaration. - * ns32k.md: Added peephole patterns for stack adjustments followed - by QI/HI pushes. - (movsi): Use output_move_dconst for TARGET_32532. - (ffs): New patterns. - - * ns32k.c (global_symbolic_reference_mentioned_p): New function. - (print_operand_address): Allow pc-relative mode not only - for {LABEL, SYMBOL}_REF but for CONST too. If compiling PIC, - transform "symbol+const(Rx)" to "const(symbol(sb))[Rx:b]". - * ns32k.h (OVERRIDE_OPTIONS): New macro to support PIC. - (FUNCTION_PROLOGUE): Save/Load sb when compiling PIC. - (FUNCTION_EPILOGUE): Restore sb when compiling PIC. - (INITIAL_FRAME_POINTER_OFFSET): Take saved sb into account when PIC. - (LEGITIMATE_CONSTANT_P, GO_IF_LEGITIMATE_ADDRESS): - Set current_function_uses_pic_offset_table if P uses a global - symbolic reference. - (ENCODE_SECTION_INFO): New macro to support PIC. - -Tue Feb 22 07:59:27 1994 Torbjorn Granlund (tege@cygnus.com) - - * alpha.md (divsi3): Emit all RTL from RTL template. - (udivsi3, modsi3, umodsi3, divdi3, udivdi3, moddi3, umoddi3): Likewise. - -Tue Feb 22 07:21:31 1994 Samuel A. Figueroa (figueroa@cs.nyu.edu) - - * i386/os2.h (LINK_SPEC, LIB_SPEC): New macros. - (PATH_SEPARATOR): Delete from here. - * i386/xm-os2.h (PATH_SEPARATOR): Add to here. - -Mon Feb 21 17:48:39 1994 Jim Wilson (wilson@cygnus.com) - - * mips-tfile.c (fatal, error): Add ! HAVE_VPRINTF versions. - -Sun Feb 20 16:53:02 1994 Ted Lemon (mellon@pepper.ncd.com) - - * mips.c (mips_move_2words): Check for TARGET_FLOAT64 != TARGET_64BIT. - (override_options): Don't override MASK_64BIT; don't allow -gp64 - without -mips3. - * mips.h: Update mips3 comments. - (TARGET_OPTIONS): Add gp64 and gp32. - (SECONDARY_MEMORY_NEEDED): Don't allow fp<->gp copy if TARGET_FLOAT64 - != TARGET_64BIT. - (CC1_SPEC): Generate correct -mfp* and -mgp* from -mips* - * mips.md (movdf_internal1): Disable if TARGET_FLOAT64 != TARGET_64BIT. - (movdf_internal1a): New pattern. - * osfrose.h (CC1_SPEC): Update as above. - -Sun Feb 20 15:40:45 1994 Jim Wilson (wilson@cygnus.com) - - * sparc.h (HARD_REGNO_MODE_OK): Update comment. - - * iris5.h (OBJECT_FORMAT_ELF): Add comments. - * configure (mips-sgi-irix5): Use collect. - -Sat Feb 19 14:25:41 1994 Ian Lance Taylor (ian@cygnus.com) - - * fixincludes: Permit upper case characters in typedef of size_t - in . - -Thu Feb 17 18:02:02 1994 Steve Chamberlain (sac@cygnus.com) - - * c-parse.in (attrib): Handle attribute ((section ("string"))). - * c-common.c (decl_attributes): Decode section attribute. - * c-decl.c (duplicate_decls): Merge section name into new decl. - * tree.h (DECL_SECTION_NAME): New macro. - (struct tree_decl): New member `section_name'. - * varasm.c (IN_NAMED_SECTION): New macro. - (named_section): New function. - (enum in_section): New value `in_named'. - (in_named_name): New global. - (make_function_rtl, make_decl_rtl, output_constant_def): Fix comment - regarding ASM_OUTPUT_LABELREF. - (make_decl_rtl): Warn if section attribute used with uninitialized - variable declaration. - (assemble_start_function, assemble_variable, output_constant_def): - Change to named section if given. - * sparc/sysv4.h (ASM_OUTPUT_SECTION_NAME): Define. - * h8300/h8300.h (ASM_OUTPUT_SECTION_NAME): Define. - (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS, SELECT_SECTION): Delete. - (ASM_OUTPUT_LABELREF): Call fprintf directly. - * h8300/h8300.c (asm_output_labelref): Delete. - * sh/sh.h (ASM_OUTPUT_SECTION_NAME): Define. - (ASM_OUTPUT_SECTION): Delete. - -Wed Feb 16 21:46:48 1994 Doug Evans (dje@cygnus.com) - - * i960/i960.c (i960_function_prologue): Put register save area before - outgoing arg block. - -Wed Feb 16 15:33:26 1994 Jim Wilson (wilson@cygnus.com) - - * expr.c (get_pointer_alignment): ALIGN is alignment of innermost - object, not the MAX of alignment of all objects. - - * expr.c (group_insns): Delete. - (emit_move_insn_1, expand_expr): Use emit_no_conflict_block - instead of group_insns. - - * final.c (end_final): Pass BIGGEST_ALIGNMENT not align to - ASM_OUTPUT_ALIGNED_LOCAL. - - * alpha.c (alpha_builtin_saveregs): Don't include - current_function_arg_offset_rtx in argsize. Subtract 48 from arg - base address when no int registers stored on the stack. - - * genattrtab.c (expand_units): Fix blockage calculation. - - * loop.c (scan_loop): Add no_labels_between_p call to tests which - decide if an invariant reg can be safely replaced with its SET_SRC. - -Wed Feb 16 00:54:04 1994 Ian Lance Taylor (ian@cygnus.com) - - * fixincludes: Fix uses of new in Xm/Traversal.h. Found on - RS/6000. - -Tue Feb 15 19:44:41 1994 Per Bothner (bothner@kalessin.cygnus.com) - - * tree.def: Remove STRING_TYPE. No-one uses it. - * tree.h (struct tree_type): New bitfield string_flag. - * tree.h (TYPE_STRING_FLAG): New macro. - * tree.c, sparc.c: Remove unneeded tests for STRING_TYPE. - * expr.c (expand_builtin), dwarfout.c: Use TYPE_STRING_FLAG. - * dbxout.c (dbxout_type): For SET_TYPE and ARRAY_TYPE, use - TYPE_STRING_FLAG to emit appropriate indication. - -Tue Feb 15 19:36:45 1994 Stephen L Moshier (moshier@world.std.com) - - * real.c (real_value_truncate): If requested mode is not - supported, return the unmodified input instead of aborting. - -Tue Feb 15 19:30:48 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * expr.c (expand_increment): Handle both BAD_SUBREG and POST. - -Tue Feb 15 11:09:08 1994 Ian Lance Taylor (ian@cygnus.com) - - * fixinc.svr4: Make byteorder.h a here document, rather than - copying it from the source directory. - * byteorder.h: Removed. - - * fixinc.sco: Don't install . - - * fixincludes: Removed references to GCCCMD. Instead of running - ${GCCCMD} to determine correct value for size_t, just fix the - header files to use __SIZE_TYPE__. - * Makefile.in (fixinc.ready): Removed target. - (stmp-fixinc): Don't depend upon fixinc.ready. Don't pass fourth - argument (was "`pwd`/xgcc -B`pwd`/") to $(FIXINCLUDES). - (clean): Don't remove fixinc.ready. - - * rs6000.h (RS6000_ITRUNC, RS6000_UITRUNC): Define. - * rs6000.md (fix_truncdfsi2, fixuns_truncdfsi2): Use RS6000_ITRUNC - and RS6000_UITRUNC, not "itrunc" and "uitrunc". - * rs6000.c (output_prolog): Likewise. - -Mon Feb 14 19:19:06 1994 Jim Meyering (meyering@idefix.comco.com) - - * gen-protos.c (main): Remove unused args in call to fprintf. - * bi-opcode.c (main): Move unused arg ++i out of call to printf. - -Mon Feb 14 19:14:55 1994 Stephen L Moshier (moshier@world.std.com) - - * real.c (eifrac): If FIXUNS_TRUNC_LIKE_FIX_TRUNC, - convert on positive overflow as if unsigned. - -Mon Feb 14 19:13:15 1994 Jason Merrill (jason@deneb.cygnus.com) - - * toplev.c (lang_options): Add -W{no,}extern-inline. - - * gcc.c (default_compilers): Generate and use .ii files in the - intermediate stage of compiling C++ source. - -Mon Feb 14 19:08:37 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * local-alloc.c (optimize_reg_copy): A register that dies in - a CALL_INSN doesn't cross that call. - - * combine.c (simplify_shift_const, case AND): When remaking - binary operation, do it in SHIFT_MODE. - -Mon Feb 14 11:27:35 1994 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) - - * config.sub: Add case for Bull dpx20. - -Sun Feb 13 23:50:15 1994 Ian Lance Taylor (ian@cygnus.com) - - * rs6000.c (output_epilog): Don't output a traceback table if - flag_inhibit_size_directive is set. - -Sun Feb 13 17:47:14 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * rs6000.c (rs6000_adjust_cost): Renamed from ppc_adjust_cost. - * rs6000.h (ADJUST_COST): Call rs6000_adjust_cost. - -Sun Feb 13 17:07:02 1994 Ian Lance Taylor (ian@cygnus.com) - - * rs6000.h (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Define. - (ASM_OUTPUT_ADDR_VEC_ELT): Use ASM_GENERATE_INTERNAL_LABEL instead - of assuming the default format for internal labels. - (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise. - * rs6000.c (output_prolog, output_epilog): Likewise. - (output_function_profiler): Likewise. - - * fixincludes: Fix conflicts with C++ reserved words in - X11/ShellP.h, Xm/Traversal.h, and Xm/BaseClassI.h. Found on - RS/6000. - -Sun Feb 13 13:40:17 1994 Michael Meissner (meissner@osf.org) - - * halfpic.h (toplevel): Include stdio.h if it hasn't been included - already, so that STDIO_PROTO can be defined. Otherwise, - asm_fprintf gets a prototype mismatch. - -Sun Feb 13 02:36:30 1994 Doug Evans (dje@cygnus.com) - - * gcc.c (fatal, error): Fix declarations (dependent on HAVE_VPRINTF).. - -Sat Feb 12 19:46:29 1994 Michael Meissner (meissner@osf.org) - - * configure (386-*-osfrose): Use i386/xm-osf.h as xm file. - - * i386/xm-osf.h (new file): Define HAVE_PUTENV and HAVE_VPRINTF. - -Sat Feb 12 08:51:02 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) - - * calls.c (expand_call): When preserving subexpressions, don't put - expensive arguments directly into hard registers. - - * combine.c (REVERSIBLE_CC_MODE): Add default definition. - (reversible_comparison_p): REVERSIBLE_CC_MODE. - * sparc.h (REVERSIBLE_CC_MODE): Define. - - * combine.c (subst): Always simplify true and false arms if - if_then_else_cond succeeds. - (subst, case IF_THEN_ELSE): More canonicalizations; delete some - redundant tests. - (if_then_else_cond): Canonicalize (OP (mult COMP A) (mult REV_COMP B)). - (gen_binary): Simplify (REL_OP (compare X Y) 0) here. - -Sat Feb 12 07:41:55 1994 Torbjorn Granlund (tege@adder.cygnus.com) - - * cse.c (cse_main): Conditionalize special treatment of - PIC_OFFSET_TABLE_REGNUM on PIC_OFFSET_TABLE_REG_CALL_CLOBBERED. - - * expmed.c (expand_shift): Truncate immediate count if - SHIFT_COUNT_TRUNCATED. - -Fri Feb 11 18:49:42 1994 Per Bothner (bothner@kalessin.cygnus.com) - - * dbxout.c (dbxout_type_fields): Emit anonymous fields - just like other fields, but with an empty name. Don't - treat the fields as belonging to the containing object. - -Fri Feb 11 20:08:25 1994 Torbjorn Granlund (tege@adder.cygnus.com) - - * rs6000.md (definition of "type"): Add "jmpreg" as new type. - Change "mtlr" to "mtjmpr". - (movsi matcher): Pair `c' and `l' in the same constraint - alternative. - (return): Set attribute to "jmpreg". - (indirect_jump): Likewise. - * rs6000.h (ADJUST_COST): Call ppc_adjust_cost. - * rs6000.c (ppc_adjust_cost): New function. Adjust for TYPE_JMPREG. - -Fri Feb 11 17:39:42 1994 Michael Collison (collison@osf.org) - - * reload1.c (gen_input_reload): If reg-reg add is not valid, - try copying reg-reg and adding reg-int. - -Fri Feb 11 17:36:11 1994 Jason Merrill (jason@deneb.cygnus.com) - - * expr.c (expand_builtin): If the builtin was called as - __builtin_whatever, pretend we're optimizing. - -Fri Feb 11 17:30:28 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * jump.c (mark_jump_label, case LABEL_REF): Update REG_LABEL - note if changing target of jump. - - * regclass.c (record_reg_classes): Fix logic in case of matching - operands. - -Fri Feb 11 16:03:21 1994 Doug Evans (dje@cygnus.com) - - * tree.h (VPROTO, VA_START): Avoid duplicate definition. - * rtl.h (VPROTO, VA_START): Likewise. - * gcc.c (VPROTO, VA_START): Define. - (PROTO): Define. - Add prototypes for static functions. - * g++.c (VPROTO, VA_START): Define. - - * gstdarg.h: Don't define _STDARG_H/etc. if not gcc, - it may collide with system's header. - -Thu Feb 10 19:26:37 1994 Chip Salzenberg (chip@fin.uucp) - - * c-typeck.c (c_expand_return): Do not warn about returning the - address of a locally declared extern variable. - -Thu Feb 10 15:57:06 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * final.c (IS_ASM_LOGICAL_LINE_SEPARATOR): Provide default - definition. - (asm_insn_count): Use IS_ASM_LOGICAL_LINE_SEPARATOR rather - than assuming the logical line separator is ';'. - - * pa.h (IS_ASM_LOGICAL_LINE_SEPARATOR): Define. - -Thu Feb 10 08:49:39 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * reload.h (reload_secondary_{reload,icode}): Deleted. - (reload_secondary_{in,out}_{reload,icode}): New variables. - * reload.c: Likewise. - (MATCHES, MERGABLE_RELOADS, MERGE_TO_OTHER): Move to front of file. - (push_secondary_reload): New function, from find_secondary_reload. - (find_secondary_reload): Deleted. - (push_reload): Call push_secondary_reload. - (combine_reloads): Use new vars for secondary reloads and icodes. - * reload1.c (emit_reload_insns): Use new vars for secondary - reloads and icodes. - - * explow.c (memory_address): Fix error in last change. - -Thu Feb 10 08:13:49 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de) - - * rtl.h, tree.h, mips-tfile.c (VPROTO): New macro. - * combine.c, expr.h, genattrtab.c, output.h, rtl.h, tree.h, toplev.c: - Use PROTO for varargs functions. - * genattrtab.c (attr_printf): Only declare when defined. - * bc-emit.c, calls.c, combine.c, emit-rtl.c, final.c, g++.c: - If __STDC__, include gstdarg and use ANSI form of varargs. - * gcc.c, genattrtab.c, mips-tfile.c, tree.c, toplev.c: Likewise. - -Wed Feb 9 09:53:54 1994 Michael Meissner (meissner@osf.org) - - * i386/osfrose.h (SUBTARGET_SWITCHES): Add -mmcount-ptr as a - synonym for -mno-mcount. - (CC1_SPEC): If -melf, pass -mmcount-ptr by default. - - * i386/osfelf.h (CC1_SPEC): Unless -mrose, pass -mmcount-ptr by - default. - - * configure (alpha-dec-osf): Use osf2.h and gdb-osf2.h on OSF/1 2.0 and - beyond. - - * alpha/osf2.h, alpha/gdb-osf2.h (new files): Support for OSF/1 2.0 - that uses 4 byte wchar_t's instead of 2 byte. - -Tue Feb 8 20:18:12 1994 Paul Eggert (eggert@twinsun.com) - - * real.c (earith, ereal_negate, eneg, eisneg, enan, emovo, esub): - Propagate the sign of NaNs, so that e.g. -(NaN) evaluates to -NaN. - (eadd, ediv, emul, eremain, e53toe, e64toe, e113toe, e24toe, esqrt): - Likewise. - (make_nan): New arg specifies sign of NaN. All callers changed. - (eiisneg): New function. - (esqrt): Compute sqrt(-0.0) to be -0.0, not 0.0. - -Tue Feb 8 19:23:41 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * toplev.c: Include ctype.h. - - * tree.c (int_fits_type_p): Properly handle case of variable bounds - for types. - -Tue Feb 8 19:20:04 1994 Jason Merrill (jason@deneb.cygnus.com) - - * fixproto: Add popen and pclose to required list for stdio.h. - Add putenv to required list for stdlib.h. - Add getopt to required list for unistd.h. - - * fixproto: Append "#include " to assert.h if it uses - exit or abort. - - * libgcc2.c (__builtin_new): If __new_handler returns, keep trying - to allocate the memory. - (__default_new_handler): Add __ to beginning of name to avoid - namespace clashing. - -Tue Feb 8 18:50:07 1994 Jim Wilson (wilson@cygnus.com) - - * i386/x-aix (FIXINCLUDES): Delete definition. - * configure (i[34]86-ibm-aix): Delete definition of fixincludes. - * fixincludes: When edit size_t typedef, modify sed pattern to - avoid matching typedef uses of size_t. Likewise when adding - #ifndef GCC_SIZE_T. - * fixinc.ps2: Delete file. - - * mips.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_COMMON): Use SIZE not ROUNDED. - - * iris5.h (SIZE_TYPE, PTRDIFF_TYPE): Don't redefine. - (MAX_WCHAR_TYPE_SIZE): Define. - - * mips-tdump.c (print_file_desc): Correct printf format. - (main): Likewise. - - * flow.c (find_basic_blocks): Also look for REG_LABEL notes on first - instruction of each basic block. - - * sparc.c (save_regs, restore_regs): Use __inline__ not inline. - -Tue Feb 8 10:13:54 1994 Doug Evans (dje@cygnus.com) - - * toplev.c (open_dump_file): New function. - (compile_file): Open dump files with it. Remove dump_base_name_length. - -Sun Feb 6 15:52:48 1994 Jim Wilson (wilson@cygnus.com) - - * collect2.c (sys_siglist): Don't declare if - DONT_DECLARE_SYS_SIGLIST is defined. - * mips/xm-sysv4.h (DONT_DECLARE_SYS_SIGLIST): Define. - * sparc/xm-sol2.h (NO_SYS_SIGLIST): Delete. - (DONT_DECLARE_SYS_SIGLIST): Define. - * mips-tfile.c (sys_siglist): Don't declare if NO_SYS_SIGLIST or - DONT_DECLARE_SYS_SIGLIST are defined. - (catch_signal): Add code for NO_SYS_SIGLIST case. - - * sched.c (reg_pending_sets, reg_pending_sets_all): New variables. - (sched_analyze_1): Set reg_pending_sets instead of reg_last_sets. - (sched_analyze_2): Set reg_pending_sets or reg_pending_sets_all - instead of reg_last_sets. - (sched_analyze_insn): Use reg_pending_sets and - reg_pending_sets_all to set reg_last_sets. Set - reg_pending_sets_all instead of reg_last_sets. - (schedule_block): Allocate and clear reg_pending_sets. - - * sparc.md (movdi): Handle 'U' and 'T' constraints. - - * m68k/hp320.h (FUNCTION_PROFILER): Concatenate strings to avoid - use of ANSI C specific feature. - - * mips.c (function_arg): When soft-float, don't add bias for - second SFmode argument. - - * iris5.h (CPP_PREDEFINES): Add _MIPSEB. - -Sun Feb 6 08:40:46 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * function.c (struct temp_slot): Add new field, ADDRESS. - (assign_stack_temp): Initialize it to zero. - (find_temp_slot_from_address, update_temp_slot_address): New functions. - (preserve_temp_slots): Use find_temp_slot_from_address. - * explow.c (memory_address): Call update_temp_slot_address on - new and old address. - - * cse.c (canon_hash, case LABEL_REF, SYMBOL_REF): Avoid warning - on 64-bit machines. - -Sat Feb 5 17:55:52 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * configure (i[34]86-sequent-ptx): Alias for i[34]86-sequent-sysv*. - -Sat Feb 5 11:46:00 1994 Steve Chamberlain (sac@cygnus.com) - - * sh.c (hard_regno_mode_ok): New vector. - (output_stack_adjust): Always adjust stack with an addsi insn. - (calc_live_regs): Support alernative calling conventions. - (print_operand): Delete obsolete cases. - (synth_constant): New function to generate constants by - arithmetic means. - (expand_block_move): Use new block move support routines. - (prepare_move_operands): Use synth_constant when possible, try - and geneate splits for DI moves. - (output_jump_label_table, dump_table, output_far_jump, - prepare_split_double_ops,from_compare, equality_operator, - handle_pragma, expand_acall): New functions. - (prepare_scc_operands): When condition isn't supported swap args - and alter test. - (output_move_double): Generate better code for constant moves. - (output_shift): Cope with negative shifts. - (byte_index_operand, pop_operand, painful_immediate_operand, - ok_shift_value, hard_immediate_operand, adjust_insn_length, - dump_constants, output_movepcrel): Deleted. - (final_prescan_insn): Now only prints pc. - (shiftcosts, andcosts, multcosts): Work out some insn costs. - (gen_ashift, gen_shifty): Emit code for shift operations. - (fixit, hi_const, find_barrier, broken_move, - machine_dependent_reorg): New functions to fix move instructions - with out-of-range literals. - - * sh.h (OPTIMIZATION_OPTIONS, CONDITIONAL_REGISTER_USAGE): New. - (TARGET_SWITCHES): Extra -m options for experimental calling - conventions. - (HARD_REGNO_MODE_OK): Use hard_regno_mode_ok vector rather than - inline code. - (FRAME_POINTER_REQUIRED): Always 0. - (reg_class, REG_CLASS_CONTENTS, REG_CLASS_NAMES): Change order - of classes. - (FRAME_GROWS_DOWNWARD): Don't define. - (FUNCTION_ARG_PARTIAL_NREGS): Always 0. - (MAX_REGS_PER_ADDRESS): Is 2. - (GO_IF_LEGITIMATE_INDEX): Split up into smaller macros. - (CASE_VECTOR_MODE, CASE_VECTOR_PC_RELATIVE): Jump tables are of - switchable size and always pc relative. - (RTX_COSTS): Use new andcosts, multcosts and shiftcosts functions. - (INSN_SETS_ARE_DELAYED, INSN_REFERENCES_ARE_DELAYED): New. - (ASM_OUTPUT_CASE_LABEL, ASM_OUTPUT_ADDR_DIF_ELT): Now switches are - pc relative. - - * sh.md (define_attr length): Calculate lengths more accurately. - (define_attr "rte", "hit_stack"): New. - (cmp*): Allow all conditions by swapping args. - (addc, adddi3, and_ff, casesi, casesi_worker, peepholes): New. - (div*, mul*): Use library routines with special calling - conventions. - (shifts): Generate only legal shift insn sequences. - (extend*): Get clobbers right, extra constraints. - (mov*): Greatly simplified. - (b*): Use from_compare function. - (return, rte): Understand pragma interrupt. - (anddi3, iordi3, xordi3): Deleted. - (consttable_2,consttable_4, consttable_8, align_2, align_4, - consttable_end, movesi_k, movhi_k, movdi_k): Support for inline - literal tables. - (movstrsi, block_move_real, block_lump_real): Use new block move - routines. - - * toplev.c (rest_of_compilation): Invoke MACHINE_DEPENDENT_REORG if - defined. - -Sat Feb 5 08:05:58 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) - - * cse.c (memory_extend_rtx): New variable. - (cse_main): Initialize it. - (cse_insn): See if we have already loaded a MEM in a wider mode. - -Sat Feb 5 07:05:29 1994 Jason Merrill (jason@deneb.cygnus.com) - - * fixproto: Add lstat to required_list for sys/stat.h - -Fri Feb 4 12:14:49 1994 Stan Cox (coxs@dg-rtp.dg.com) - - * m88k.h: (TARGET_SWITCHES) Assume -muse-div-instruction - -mno-check-zero-division for -m88110. (CONSTANT_ADDRESS_P) Fix a - -fpic reload bug. (DONT_REDUCE_ADDR) Don't strength reduce so - m88k scaled loads/stores will be used. (enum processor_type) Use - instead of attr_cpu, which is not always defined. - - * m88k.md: (movdf) Split movdf so it can go into a branch delay slot - - * m88k.c: (m88k_gp_threshold) Make -mshort-data- unsigned. - (block_move_*) Copy MEM_IN_STRUCT_P for block move cases. - - * dgux.h: (TARGET_SVR4) Use -msvr4/-msvr3 instead of - -mversion-03.00 to choose assembler syntax. - -Fri Feb 4 08:14:31 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * emit-rtl.c (gen_lowpart_common, gen_highpart): Test *_BIG_ENDIAN - with "if", not #if and fix one erroneous test. - -Thu Feb 3 17:15:07 1994 Jim Wilson (wilson@cygnus.com) - - * expmed.c (store_bit_field, insv case): Don't use PUT_MODE on - xop0 when it is a SUBREG, generate a new SUBREG. - -Thu Feb 3 13:24:14 1994 Alex Zatsman (alex.zatsman@analog.com) - - * hard-reg-set.h (GO_IF_HARD_REG_EQUAL): Fix typo. - -Thu Feb 3 07:45:45 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * flow.c: Add prototypes for static functions. - (uses_reg_or_mem): New function. - (find_basic_block): Some cleanups; eliminate shadowed variables. - Look for REG_LABEL notes in all insns and allow for multiple such. - Don't delete labels in forced_labels. - Generalize test for computed jumps. - (find_auto_inc): OFFSET should be HOST_WIDE_INT. - (mark_used_regs): Put decls of parms in parm order. - (find_use_as_address): PLUSCONST should be HOST_WIDE_INT. - - * reload1.c (eliminate_regs, case INSN_LIST): Properly remake - list when we change something further on. - -Wed Feb 2 21:25:03 1994 Jim Wilson (wilson@cygnus.com) - - * c-typeck.c (signed_or_unsigned_type): Check for any - INTEGRAL_TYPE_P not just INTEGER_TYPE. - - * Makefile.in (enquire.o): Depend on stmp-int-hdrs. - - * mips.h (CPP_SPEC): Define __PTRDIFF_TYPE__ not __PTRDIFF_TYPE. - - * reorg.c (fill_simple_delay_slots): When fill epilogue delay - slot, set needed to end_of_function_needs instead of clearing it. - -Wed Feb 2 15:20:38 1994 Philippe De Muyter (phdm@info.ucl.ac.be) - - * tree.c (FILE_FUNCTION_FORMAT): Fix typo if neither dot nor dollar - in label. - -Wed Feb 2 14:38:56 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * fold-const.c (const_binop, COMPLEX_TYPE, case RDIV_EXPR): - If complex integer, use TRUNC_DIV_EXPR for inner division. - - * c-tree.h: Re-order declarations for functions in c-typeck.c to - agree with order there; add some missing declarations. - * c-typeck.c: Add prototypes for static functions; delete - forward declarations of non-static functions. - (initializer_constant_valid_p): Add missing parameter to - recursive call. - -Wed Feb 2 14:22:05 1994 Kaveh R. Ghazi (ghazi@noc.rutgers.edu) - - * objc/Makefile (SUBDIR_INCLUDES): Add -I for include directory. - -Wed Feb 2 13:24:23 1994 Chip Salzenberg (chip@fin.uucp) - - * expmed.c (synth_mult): Delay allocation of algorithm structures - until they are needed. Reorder early-exit tests to avoid comparing - value that is not yet set. - -Tue Feb 1 18:56:19 1994 Chip Salzenberg (chip@fin.uucp) - - * c-common.c (decl_attributes): Allow format attributes - on old style (non-prototype) function declarations. - -Tue Feb 1 11:25:40 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de) - - * tree.c (build_type_variant): Simplify by using build_type_copy. - - * c-decl.c (grokdeclarator): `volatile' function warning - corrected to read `noreturn' function warning. - (finish_function): Likewise. - * cp-decl.c (finish_function): Likewise. - * c-typeck.c, cp-typeck.c (c_expand_return): Likewise. - * toplev.c (rest_of_compilation): Likewise. - -Tue Feb 1 06:06:22 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * combine.c (make_extraction): Don't make an extraction that - has the potential of crossing a boundary. - - * regclass.c: Add prototypes for static functions. - (auto_inc_dec_reg_p): New function. - (regclass): Call it to allow a register needing a secondary reload - to be used for inc/dec if it is already valid for it. - - * gcc.c (default_compilers, @ada): Don't duplicate "-gnat" parameters; - pass -quiet unless -Q is specified. - - * alpha.md (minsf3, maxdf3, mindf3): Properly insert constant of - zero into patterns. - -Mon Jan 31 20:55:41 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu) - - * i960.c (i960_function_name_declare): Handle names that start - with '*'. - -Mon Jan 31 19:13:59 1994 Chip Salzenberg (chip@fin.uucp) - - Unify error and message functions: - * toplev.c: Include "gvarargs.h". - (fatal_insn_not_found): Omit superfluous argument to error. - (vmessage, v_message_with_file_and_line): New functions. - (v_message_with_decl, file_and_line_for_asm): Likewise. - (v_error_with_file_and_line, v_error_with_decl): Likewise. - (v_error_for_asm, verror, vfatal): Likewise. - (v_warning_with_file_and_line, v_warning_with_decl): Likewise. - (v_warning_for_asm, vwarning): Likewise. - (error_with_file_and_line, error_with_decl, error, fatal): Now just - wrappers for above functions. - (error_for_asm, warning_with_file_and_line): Likewise. - (warning_with_decl, warning_for_asm, warning): Likewise. - -Mon Jan 31 19:03:16 1994 Jim Wilson (wilson@cygnus.com) - - * sched.c (sched_analyze_insn): Add use dependencies for registers - mentioned in REG_DEAD notes. - - * configure (mips-tandem-sysv4*): Add. - * mips/svr4-t.h, mips/svr4-t-gdb.h: New files. - - * sched.c (priority): Call insn_cost() for anti- and output- - dependencies as well as for true dependencies. - - * cse.c (find_best_addr): Limit number of cse_gen_binary calls to - 20 per iteration. - -Mon Jan 31 18:08:27 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * real.c (emovo): Use separate variable for loop index. - - * fold-const.c (operand_equal_for_comparison_p): Declare - correct_width as unsigned. - - * configure (m68k-wrs-vxworks): Fix typo in name. - - * Makefile.in (cross-test, enquire, protoize, unprotoize): - Specify program name in -o to force into build directory. - - * i386/sol2.h (CPP_SPEC): Add -Dsun. - - * alpha/gdb.h: Renamed from alpha-gdb.h. - * alpha/gdb-osf12.h: New file. - * configure (alpha): Reflect new name for files and support - gdb with OSF V1.2. - -Mon Jan 31 15:18:40 1994 Jim Wilson (wilson@cygnus.com) - - * bc-emit.c (class_narrowest_mode, byte_mode, word_mode): Add - extern to declaration. - * expr.c (local_vars_size): Likewise. - - * genattrtab.c (expand_units): When calculate BLOCKAGE, reverse - terms to POS_MINUS_OP. Clarify comment before BLOCKAGE computation. - (write_complex_function): Use EXECUTING_INSN for first switch, and - CANDIDATE_INSN for second switch. - - * sparc/lite.h (TARGET_DEFFAULT): Add -mapp-regs. - * sparc/sparc.h (TARGET_APP_REGS): Define. - (TARGET_SWITCHES): Add new options -mapp-regs and -mno-app-regs. - (TARGET_DEFAULT): Add -mapp-regs. - (CONDITIONAL_REGISTER_USAGE): Make %g2, %g3, and %g4 be fixed when - the -mno-app-regs option is used. - * sparc/sun4os3.h (TARGET_DEFAULT): Delete. - - * svr4-5.h (STARTFILE_SPEC): Include values-X[cta].o file in link. - - * xcoffout.c (ASM_OUTPUT_LFE): Output absolute line number not - relative line number. - -Fri Jan 28 19:20:07 1994 Michael Collison (collison@osf.org) - - * flow.c (find_auto_inc): Check for increment using single_set. - -Fri Jan 28 19:11:17 1994 David Edelsohn (edelsohn@npac.syr.edu) - - * rs6000.md (fsel): Remove insns with record bit set. - -Thu Jan 27 18:22:25 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * alpha.c (output_prolog): Fix typo in previous change. - -Wed Jan 26 18:19:51 1994 Per Bothner (bothner@sugar-bombs.gnu.ai.mit.edu) - - * c-typeck.c (initializer_constant_valid_p): Make non-static. - (It's used by the Chill back-end.) - -Wed Jan 26 13:54:40 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu) - - * sched.c (attach_deaths_insn): Add REG_DEAD notes to CLOBBER if - it is for a MEM. - -Tue Jan 25 08:30:11 1994 Chip Salzenberg (chip@fin.uucp) - - * cse.c (HASHBITS): Removed. - (HASH, struct set, canon_hash, safe_hash, remove_from_table): - Generate and use unsigned hash values, to avoid potential trouble - with signed shift/overflow. - Also name variables consistently: "hash", not "hash_code". - (lookup, lookup_for_remove, insert, merge_equiv_classes): Likewise. - (invalidate, rehash_using_reg, invalidate_for_call): Likewise. - (find_best_addr, record_jump_cond, cse_insn): Likewise. - -Mon Jan 24 18:59:59 1994 Jim Wilson (wilson@cygnus.com) - - * expmed.c (store_split_bit_field): For BYTES_BIG_ENDIAN, only - pad on left if value not in memory. Reject gen_lowpart_common - output if it returns the input value. - - * unroll.c (copy_loop_body): When delete simplified condjump, - protect the label, so that it doesn't get deleted also. - - * toplev.c (compile_file): If yyparse returns an error, pop all - pending binding levels. - -Mon Jan 24 18:30:53 1994 Doug Evans (dje@cygnus.com) - - * objc/Object.h (streamVersion, read, write): #ifndef out for the - alpha since TypedStream not supported there yet. - * objc/Object.m (streamVersion, read, write): Ditto. - -Mon Jan 24 17:40:56 1994 Jim Wilson (wilson@cygnus.com) - - * sparc.c (sparc_address_cost): Delete. - * sparc.h (ADDRESS_COST): Define to 1. - - * bsd-5.h, mips-5.h, svr3-5.h, svr4-5.h (ASM_OUTPUT_NEWLINE): - Define new macro. - * mips.h (ASM_OUTPUT_NEWLINE): New default for new macro. - (ASM_OUTPUT_ASCII): Use ASM_OUTPUT_NEWLINE. - - * sparc.h (ASM_OUTPUT_COMMON): Don't output .global. Use SIZE not - ROUNDED. - (ASM_OUTPUT_LOCAL): Delete. - (ASM_OUTPUT_ALIGNED_LOCAL): Define. - -Sun Jan 23 18:57:01 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) - - * expr.c (do_jump_for_compare): Initialize JUMP_LABEL for the branch - insn before trying to invert it. - -Sun Jan 23 18:40:23 1994 Samuel A. Figueroa (figueroa@cs.nyu.edu) - - * i386/os2.h (PATH_SEPARATOR): New macro. - * i386/gas.h (ASM_FILE_START): Delete; identical to one in bsd.h, - which is included. - -Sun Jan 23 18:21:23 1994 Randy S. Welch (randy@tss.com) - - * m68k/plexus.h: Assume GAS 2.x used and add support for debugging. - -Sun Jan 23 06:19:28 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * reload.c (find_reloads): Properly test for output operand - when changing RELOAD_FOR_OUTPUT_ADDRESS to RELOAD_FOR_INPUT_ADDRESS. - - * combine.c (subst, case SUBREG): Handle paradoxical SUBREG of - constant. - (IF_THEN_ELSE): Add missing "else" and check for comparison - before calling reversible_comparison_p. - - * c-typeck.c (output_init_elements): Use FIELD instead - of constructor_fields when doing alignment and sizing. - (output_pending_init_elements): Don't blow up when writing - other than first field put haven't written anything yet. - Update constructor_bit_index when we emit a skip. - - * toplev.c (rest_of_compilation): Defer compilation of function - that were specified as inline, whether or not they actually were - inlined. - - * alpha.h (OBJECT_FORMAT_COFF, EXTENDED_COFF, NM_FLAGS): Define. - * x-alpha: New file. - - * combine.c (simplify_comparison): Can remove NOT on both operands - if we swap comparison code. - - * rs6000.md: Insert some missing blank lines. - - * alpha.c (output_{pro,epi}log): Use assemble_name to output - alpha_function_name. - - * combine.c (simplify_comparison): Fix typos in last change. - -Sun Jan 23 05:59:31 1994 Per Bothner (bothner@cygnus.com) - - * c-typeck.c (really_start_incremental_init): Save current elements - instead of clearing them. - -Sat Jan 22 15:50:29 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * c-typeck.c (c_expand_return): Issue a warning if returning - address of non-static local object. - - * combine.c (if_then_else_cond): Don't do anything with COMPARE. - (simplify_comparison): Strip SIGN_EXTEND, NOT, or NEG when - both operands have it. - - * combine.c (num_sign_bit_copies): Ifndef WORD_REGISTER_OPERATIONS, - ensure we don't do the wrong thing if X is narrower than MODE. - -Thu Jan 20 01:06:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * pa.h (ASM_OUTPUT_SOURCE_LINE): Make the first source line stab - for each procedure special to avoid the need for nasty hacks in GAS. - - * pa.md (iorscc): Fix typo. - -Wed Jan 19 19:35:37 1994 Torbjorn Granlund (tege@adder.cygnus.com) - - * pa.h (ASM_GLOBALIZE_LABEL): Don't globalize function labels here. - -Mon Jan 17 16:38:16 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu) - - * xcoffout.c (xcoffout_begin_block): Don't emit a .bb for the - function level scope. - (xcoffout_end_block): Don't emit a .eb for the function level - scope. - -Sun Jan 16 14:29:31 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * config.sub: Alphabetize the list of machine-name aliases. - Add nh3000 and nh[45]000. - Delete duplicate clauses for hp9k2... and hp9k31... - -Sat Jan 15 18:06:45 1994 Torbjorn Granlund (tege@blues.cygnus.com) - - * config/sparc/sparc.md (smulsi3_highpart): New pattern. - (umulsi3_highpart): New pattern. - * config/mips/mips.md (smulsi3_highpart): New pattern. - (umulsi3_highpart): New pattern. - -Thu Jan 13 18:54:27 1994 Jim Wilson (wilson@cygnus.com) - - * iris3.h (CPP_SPEC): Define __SIZE_TYPE__, __PTRDIFF_TYPE__, and - __mips. - (SIZE_TYPE, PTRDIFF_TYPE): Delete. - * mips.c (dfhigh, dflow, sfhigh, sflow): New variables. - (mips_sw_reg_names): Consistently use $ as name prefix. - (large_int): Handle 64 bit constants. - (reg_or_0_operand, mips_const_double_ok): Don't examine - CONST_DOUBLE internals. - (mips_const_double_ok): Use REAL_VALUE_* macros. - (simple_memory_operand): Add 64 bit support. Only test - TARGET_GP_OPT to determine if doing gp optimizations. Pass - address not MEM to eliminate_constant_term. Use SMALL_INT. - (mips_fill_delay_slot): Add 64 bit support. - (mips_move_1word): Add 64 bit support. Don't examine CONST_DOUBLE - internals. - (mips_move_2words): Likewise. - (mips_address_cost): Pass address not MEM to - eliminate_constant_term. Use SMALL_INT. - (gen_int_relational): New variable mode. Add 64 bit support. - (gen_conditional_branch): Add 64 bit support. - (block_move_load_store, block_move_loop, block_move_call, - expand_block_move, output_block_move, function_arg_advance, - function_arg, function_arg_partial_nregs): Likewise. - (override_options): Clear MASK_GPOPT if threshold is zero or - negative. Set MASK_GPOPT if optimizing. Set mips_isa from -misa= - option, else from MIPS_ISA_DEFAULT if defined, else to 1. Make - default cpu depend on isa. Add cpus r4400, r4600, orion. Rewrite - TARGET_NAME_REGS support. Initialize dfhigh, dflow, sfhigh, - sflow. Add 64 bit support. - (print_operand): Use REAL_VALUE_* macros. - (mips_output_external): Don't depend on mips_section_threshold. - (make_temp_file): Define P_tmpdir when __MSDOS__. Malloc filename - string. Don't unlink temp file when __MSDOS__. - (mips_asm_file_start): Delete TARGET_NAME_REGS support. - (mips_asm_file_end): Unlike temp file when __MSDOS__. - (mips_declare_object): Don't test mips_sections_threshold. - (compute_frame_size, save_restore_insns, function_prologue, - mips_expand_prologue, function_epilogue, mips_expand_epilogue): - Add 64 bit support. - (function_epilogue): Correctly output `#' before .set volatile. - * mips.h (enum cmp_type): Add 64 bit support. - (enum processor_type): Add PROCESSOR_R4600. - (MASK_64BIT, TARGET_64BIT): New mask bit, to indicate 64 bit mode. - (HAVE_64BIT_P, OPTIMIZATION_OPTIONS): Delete. - (CPP_SPEC): Don't abort if not defined. - (CC1_SPEC): -mips1 and -mips2 imply -mfp32. -mips3 implies -mfp64. - (CPP_SPEC): Define __SIZE_TYPE__, __PTRDIFF_TYPE__, and __mips. - (BITS_PER_WORD, UNITS_PER_WORD, INT_SIZE_TYPE, LONG_TYPE_SIZE, - LONG_LONG_TYPE_SIZE, POINTER_SIZE, POINTER_BOUNDARY, - PARM_BOUNDARY, EMPTY_FIELD_BOUNDARY, HARD_REGNO_NREGS, - CONST_OK_FOR_LETTER_P, STACK_ARGS_ADJUST, FUNCTION_PROFILER, - TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE, TRAMPOLINE_ALIGNMENT, - INITIALIZE_TRAMPOLINE, CASE_VECTOR_MODE, MOVE_MAX, - TRULY_NOOP_TRUNCATION, Pmode, FUNCTION_MODE, - ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT, - ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Add 64 bit support. - (MAX_BITS_PER_WORD, MAX_UNITS_PER_WORD, UNITS_PER_FPREG, - MAX_INT_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE, MAX_LONG_TYPE_SIZE, - MAX_MOVE_MAX): Define. - (INDEX_REG_CLASS): NO_REGS not GR_REGS. - (CONST_DOUBLE_OK_FOR_LETTER_P): Don't examine CONST_DOUBLE - internals. - (PREFERRED_RELOAD_CLASS): Return CLASS if it isn't ALL_REGS. - (TRANSFER_FROM_TRAMPOLINE, ASM_OUTPUT_CASE_LABEL): Delete. - (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Redefine to 0. - (GO_IF_LEGITIMATE_ADDRESS): Delete redundant code0 == REG test. - (ENCODE_SECTION_INFO): Don't test mips_section_threshold. - (CONST_COSTS): CONST_INT have cost 0 not CONSTS_N_INSNS (0). Pass - address not MEM to eliminate_constant_term. Add 64 bit support. - (MEMORY_MOVE_COST, ASM_OUTPUT_DOUBLE_INT): Define. - (EXTRA_SECTIONS): Delete in_last_p1. - (SELECT_RTX_SECTION): Delete division by BITS_PER_UNIT. - (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define. - (SIZE_TYPE, PTRDIFF_TYPE): Add 64 bit support. - * mips.md (cpu): Add r4600. - (define_function_unit): Correct numerous errors. Add r4600. - (adddi3*, subdi3*, mulsidi3, umulsidi3, negdi2*, one_cmpdl2*, - nordi2*, anddi2*, iordi3*, xordi3*, movdi*, ashldi3*, ashrdi3*, - lshrdi3*, seq, sne, sgt, sge, slt, sle, sgtu, sgeu, sltu, sleu, - indirect_jump, tablejump, call*, call_value*): Add 64 bit support. - (adddi3_internal_3, addsi3_internal_2, subdi3_internal_3, - subsi3_internal_2, muldi3, muldi3_internal, divmoddi4, udivmoddi4, - divdi3, moddi3, udivdi3, umoddi3, absdi3, ffsdi2, - negdi2_internal_2, anddi3_internal1, xordi3_immed, truncdisi2, - truncdihi2, truncdiqi2, zero_extendsidi2, - zero_extendsidi2_interal, zero_extendhidi2, zero_extendqidi2, - extendsidi2, extendhidi2, extendhidi2_internal, extendqidi2, - extendqidi2_insn, fix_truncdfdi2, fix_truncsfdi2, floatdidf2, - floatdisf2, fixuns_truncdfdi2, fixuns_truncdfsi2, - ashldi3_internal4, ashrdi3_internal_4, lshrdi3_internal4, cmpdi, - tstdi, branch_zero_di, branch_equality_di, seq_di_zero, seq_di, - sne_di_zero, sne_di, sgt_di, sge_di, slt_di, sle_di_const, - sle_di_reg, sgtu_di, sgeu_di, sltu_di, sleu_di_const, sleu_di_reg, - indirect_jump_internal1, indirect_jump_internal2, - tablejump_internal1, tablejump_internal2): New patterns. - (mulsi3): Add missing mips_move_1word parameter. - (mulsi3+1): Don't split on r4000. - (divmodsi4, udivmodsi4, udivsi3, umodsi3): Correct lengths. - (divsi3, modsi3, udivsi3, umodsi3): Allow constant operands. - (sqrtdf2, sqrtsf2): Correct type attribute. - (abssi2): Add mips2 support. - (movsi_unaligned, movsi_ulw, movsi_usw): Comment out. - (movsf, movdf): Use F not E. - (cmpdf, cmpsf, branch_fp*, s{eq,ne,lt,le,gt,ge}_[ds]f): Depend on - TARGET_HARD_FLOAT. - * va-mips.h: Add 64 bit support. - -Thu Jan 13 06:14:17 1994 Paul Eggert (eggert@twinsun.com) - - * c-parse.in (maybe_attribute): Allow multiple __attribute__ - clauses on a declaration. - -Thu Jan 13 06:01:09 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * a29k.h (REG_CLASS_CONTENTS): Fix problems with last word of - register set in some classes. - - * a29k.h (MEMORY_MOVE_COST): New macro. - -Thu Jan 13 05:42:30 1994 Torbjorn Granlund (tege@adder.cygnus.com) - - * config.sub: Fix typo in -hiux* case. - -Wed Jan 12 13:25:12 1994 Per Bothner (bothner@kalessin.cygnus.com) - - * dbxout.c (dbxout_range_type): If the range has a base type - (TREE_TYPE), emit it, even if that is some other integer type. - -Wed Jan 12 06:02:23 1994 David Edelsohn (edelsohn@npac.syr.edu) - - * rs6000.h (MASK and TARGET): Change POWERPCSQR to PPCFPX to - describe both fsqrt and fsel. - (TARGET_SWITCHES): powerpc64 implies ppcfpx. - * rs6000.c (rs6000_override_options): Change POWERPCSQR to PPCFPX. - * rs6000.md (sqrtsf2, sqrtdf2): Change POWERPCSQR to PPCFPX. - (maxsf3, minsf3, maxdf3, mindf3): New patterns using fsel instruction. - -Tue Jan 11 19:14:31 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * a29k.c (output_prolog): Update debug reg map when - we have -mkernel-registers. - - * fold-const.c (fold, truth_andor): Don't apply distributive - law when it would change evaluation order. - Clean up code a bit to improve flow. - -Mon Jan 10 19:37:27 1994 David Robinson (drtr@mail.ast.cam.ac.uk) - - * expr.c (emit_move_insn_1): Call gen_realpart and gen_imagpart - instead of gen_lowpart and gen_highpart. - * function.c (assign_parms): Likewise. - * optabs.c: Remove redundant prototype for gen_highpart. - -Mon Jan 10 19:14:07 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) - - * jump.c (comparison_dominates_p): NE is dominated by LT, GT, LTU - and GTU. - -Mon Jan 10 19:06:57 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * emit-rtl.c (gen_{real,imag}part): Extract value from - CONCAT directly. - (gen_lowpart_common, gen_highpart): Don't do it here. - - * cse.c (simplify_relational_operation): Don't do anything with CC0 - in addition to MODE_CC values. - - * expr.c (protect_from_queue): If (MEM (QUEUED ...)), modify a - new MEM instead of the one we were passed. - - * i386/linux.h: Update banner, reformat comments. - (STARTFILE_SPEC, GPLUSPLUS_INCLUDE_DIR): No longer conditional - on CROSS_COMPILER. - * Makefile.in (gcc.o, cccp.o): No longer define TOOLDIR. - - * 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. - - * a29k.c (print_operand, case 'F'): If we have to do the last - prolog insn, give that priority for an unfilled delay slot. - - * function.c (preserve_rtl_expr_result): New function. - * expr.c (exand_expr, case RTL_EXPR): Call it. - -Mon Jan 10 13:43:04 1994 Jim Wilson (wilson@cygnus.com) - - * sched.c (new_insn_dead_notes): Compare registers with rtx_equal_p. - - * Makefile.in (Makefile, stmp-fixinc, deduced.h, stmp-fixproto): - Execute shell scripts with $(SHELL). - * config/x-lynx (SHELL): Define to /bin/bash. - -Sun Jan 9 22:31:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * pa.md (special indexed fpstores): Fix assorted typos. - -Sun Jan 9 04:34:17 1994 James Van Artsdalen (james at bigtex.cactus.org) - - * jump.c (follow_jumps): Don't follow tablejumps. - - * Makefile.in (install-headers-cpio): Run cpio in include-dir. - -Sat Jan 8 14:54:06 1994 Doug Evans (dje@cygnus.com) - - * toplev.c (rest_of_compilation): jump_optimize can change max_reg_num - so rerun reg_scan before calling cse_main. - -Fri Jan 7 20:34:14 1994 Torbjorn Granlund (tege@adder.cygnus.com) - - * config/alpha/alpha.h (RTX_COSTS): Return actual costs for - multiplication. - -Tue Jan 4 13:44:09 1994 Jim Wilson (wilson@cygnus.com) - - * sdbout.c (sdbout_symbol): Handle variables at zero offset from - frame pointer. - -Tue Jan 4 07:35:05 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * tree.c (substitute_expr): Don't abort for RTL_EXPR and - SAVE_EXPR; just do nothing. - -Tue Jan 4 00:52:15 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * pa.md (andsi3): Use "?" instead of "!" to avoid losing - in some cases. - -Mon Jan 3 16:59:34 1994 Torbjorn Granlund (tege@adder.cygnus.com) - - * jump.c (thread_jumps): Don't thread to loop label; - create new label before loop instead. - (thread_jumps): Rename argument `verbose' -> `flag_before_jump'. - * toplev.c (rest_of_compilation): Pass 1 for flag_before_jump - first time we call thread_jumps. - - * c-typeck (build_binary_op, case *_DIV_EXPR): Use same shorten - condition as for *_MOD_EXPR. - -Mon Jan 3 08:00:16 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * fold-const.c (truth_value_p): New function. - (fold): Use it to see when we should make a TRUTH_{AND,OR}_EXPR. - (fold, case TRUTH_{AND,OR,ANDIF,ORIF}_EXPR): Use distributive - law on expressions such as (A && B) || (A && C). - -Sun Jan 2 08:14:38 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * cse.c (simplify_relational_operation): Correct declaration of - variables holding parts of constants. - -Fri Dec 31 06:27:57 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * toplev.c (main): Turn on -fomit-frame-pointer if it is safe. - Add -O3, which turns on -finline-functions. - * a29k.h, alpha.h, clipper.h, h8300.h, m88k.h, pa.h, romp.h, rs6000.h: - Define CAN_DEBUG_WITHOUT_FP; delete OPTIMIZATION_OPTIONS. - * sh.h, sparc.h: Likewise. - * arm.h: Delete OPTIMIZATION_OPTIONS. - * h8300.h: Define NO_FUNCTION_CSE and CAN_DEBUG_WITHOUT_FP; - delete OVERRIDE_OPTIONS. - * i960.h (OPTIMIZATION_OPTIONS): Just turn on machine-specific opts. - (CAN_DEBUG_WITHOUT_FP): Define. - * mips.h (CAN_DEBUG_WITHOUT_FP): Define. - (OPTIMIZATION_LEVELS): Just set MASK_GPOPT. - - * cse.c (simplify_relational_operation): Rewrite and simplify. - Add case when we can simplify A-B for compare of A and B. - - * combine.c (added_links_insn): New variable. - (distribute_links): Set it. - (if_then_else_cond): New function. - (try_combine): Return added_links_insn if it is earlier than what - we would otherwise return. - (subst): Generalize (OP X Y) to call if_then_else_cond - instead of only checking for an explicit IF_THEN_ELSE. - (subst, case IF_THEN_ELSE): When converting to a MULT, simplify - the MULT before putting it into OP. - (subst, case AND): Don't make IF_THEN_ELSE here; now made in - generic case earlier. - - * combine.c (force_to_mode): Add new parm JUST_SELECT; all - callers changed. - -Wed Dec 29 18:05:00 1993 Leonid Baraz (lbaraz@iil.intel.com) - - * fold-const.c (fold, case PLUS_EXPR): Add a missing test of - flag_fast_math. - -Wed Dec 29 06:52:07 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * cse.c (simplify_binary_operation, case MULT): Don't convert - to ASHIFT if still generating RTL. - -Mon Dec 27 22:15:55 1993 Ian Lance Taylor (ian@cygnus.com) - - * fixincludes: Do not fix , because SunOS - sed can not handle the very large macro it contains. - -Mon Dec 27 06:28:48 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * alpha.md (maxsf3, minsf3): Correct numerous errors. - - * combine.c (subst, case MINUS): Allow some FP simplifications - if -ffast-math. - (reversible_comparison_p): FP comparisons reversible with -ffast-math. - * cse.c (simplify_binary_operation, fold_rtx): Allow some FP - simplications with -ffast-math. - (simplify_relational_operation): FP comparisons can be reversed - if -ffast-math is specified. - * fold-const.c (fold): Simplify more FP ops if -ffast-math. - * jump.c (can_reverse_comparison_p): Return 1 if -ffast-math. - * loop.c (get_condition): Can reverse comparison if -ffast-math. - - * alpha.c (ior_operand): New function. - * alpha.h (PREDICATE_CODES): Add ior_operand. - * alpha.md (iordi3): Use ornot for some constant cases. - -Sun Dec 26 07:55:26 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * expr.c (do_tablejump): Call emit_cmp_insn with likely-constant - as second operand. - - * jump.c (jump_optimize): When deleting an insn after a jump, - update reallabelprev since it might point to the deleted insn. - - * cse.c (count_reg_usage): Don't count a register used within - a SET that sets it. - (delete_dead_from_cse): Pass new parm to count_reg_usage. - - * cse.c (fold_rtx, case PLUS): If we have (plus A B), A is - equivalent to a negative constant, and the negated constant is in - register, convert to (minus A C) where C is the register containing - the negated constant. - -Sat Dec 25 23:47:01 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * pa.h (DBX_BLOCKS_FUNCTION_RELATIVE): Define. - (ASM_OUTPUT_SOURCE_LINE): Likewise. - (DBX_FUNCTION_FIRST): Likewise. - - * pa.h (FRAME_POINTER_REGNUM, ARG_POINTER_REGNUM): Change to %r3 - for compatability with HP compilers. - - * pa.h (READONLY_DATA_SECTION): Re-enable use of $LIT$. - -Sat Dec 25 06:05:28 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * emit-rtl.c (gen_reg_rtx): Only clear part of arrays we aren't - going to copy into. - - * expr.c (expand_expr, case CONSTRUCTOR): If have a target, - don't build constructor into memory. - - * expr.c (expand_expr, case ARRAY_REF): Remove uses of *_type_node - and simplify folding a reference to a character in a STRING_CST. - - * a29k.c, a29k.h: Rename R_ACC to R_ACU to not conflict with access.h. - - * m68k/crds.h (HAVE_VPRINTF): Delete from here. - * m68k/xm-crds.h (HAVE_VPRINTF): Define. - * m68k/dpx2.h (USG): Delete from here (already in xm.h file). - - * print-tree.c (print_node, print_node_brief): Say something - when TREE_CONSTANT_OVERFLOW is set. - - * loop.c (check_dbra_loop): Fix error in previous change. - - * combine.c (set_nonzero_bits_and_sign_copies, nonzero_bits): - Fix errors in SHORT_IMMEDIATES_SIGN_EXTEND code. - - * alpha.h (FUNCTION_ARG): Pass complex float in float regs. - - * fold-const.c (fold, case EQ_EXPR, NE_EXPR): If COMPLEX_TYPE - and at least one arg is a COMPLEX_EXPR, split into a logical - operation on the real and imaginary parts. - - * c-typeck.c (common_type): For COMPLEX_TYPE, return one of the - original types if is the desired common type. - (build_binary_op): Use SHORT_COMPARE code even if complex. - - * c-decl.c (grokdeclarator): Properly validate __complex__ and - create the various kinds of complex integer types. - - * cse.c (simplify_unary_operations): Check that operations really - are double-word before doing them. - -Fri Dec 24 15:21:16 1993 Jim Wilson (wilson@mole.gnu.ai.mit.edu) - - * cccp.c (read_name_map, read_filename_string, open_include_file): - New functions. - (struct file_name_list): New members: name_map, got_name_map. - (main, path_include, do_include, do_once): Set got_name_map. - (do_include): Use open_include_file instead of open. Add new - parameter to lookup_import calls. - (lookup_import): New parameter searchptr. Call open_include_file - instead of open. - - * expr.c (convert_modes): Can't truncate REG with gen_lowpart if - TRULY_NOOP_TRUNCATION doesn't allow it. - -Fri Dec 24 14:36:53 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * cse.c (cse_insn): Set "cse_jumps_altered" when collapsing - a switch statement into an unconditional jump. - * toplev.c (rest_of_compilation): Rerun jump_optimize - before the second CSE pass. - -Fri Dec 24 05:34:38 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * cse.c (simplify_binary_operation, case PLUS, MINUS): - Simplify such things as (X >> 1) - X. - - * alpha.md (define_attr type): Add new type ISUBR. - (divmod): Set to type ISUBR. - * alpha.c (output_prolog): Need GP if type ISUBR. - - * 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. - - * c-typeck.c (check_init_type_bitfields): Check recursively inside - arrays and records. - - * c-parse.in (attrib): Allow expressions instead of constants. - * c-common.c (decl_attribute): Verify that alignment and format - argument numbers are all integer constants. - Continue on to next attribute if one is in error. - - * 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. - - * c-typeck.c (pop_init_level): Don't abort if have incomplete array - type inside some other type. - -Thu Dec 23 22:06:21 1993 Torbjorn Granlund (tege@adder.cygnus.com) - - * jump.c (thread_jumps): Delete redundant loop termination test. - - * cse.c (simplify_binary_operation, case *SHIFT*): Reduce arg1 as - defined by SHIFT_COUNT_TRUNCATED. - - * config/pa/pa.c (Several places): Declare values from INTVAL(x) as - HOST_WIDE_INT. - (uint32_operand): New function. - (output_block_move): Change unroll threshold from 64 to 32. - (compute_movstrsi_length): Corresponding change. - (print_operand): Don't call debug_rtx, just abort. - - * config/pa/pa.h (FUNCTION_INCOMING_ARG): Delete definition. - (RTX_COSTS) [PLUS]: Rewrite. - (output_scc_insn): Delete. - (output_floatsisf2): Delete. - (output_floatsidf2): Delete. - (PREDICATE_CODES): Define, but leave within #if 0 for now. - - * config/pa/pa.md (iorscc): New recognizer. - 2 new recognizers for sub;subb. 1 new recognizer for addi;subb. - (movstrsi): Remove predicates. Set inline threshold to 8. - (umulsidi3): Change predicates to nonimmediate_operand. - New recognizer for multiply-by-immediate. - (andsi3): Add `!' for register alternative. - (vdepi_ior, vdepi_and): New recognizers. - (vextru rx,1,ry, vextrs rx,1,ry): New recognizers. - - * config/pa/pa.c (initialize_pic): Delete. - (finalize_pic): Use PIC_OFFSET_TABLE_REGNUM rather than 19. - * config/pa/pa.h (CONDITIONAL_REGISTER_USAGE): Never make - PIC_OFFSET_TABLE_REGNUM fixed. - (INITIALIZE_PIC): Delete. - * config/pa/pa.md (call, call_value): If PIC, emit USE for for - PIC_OFFSET_TABLE_REGNUM. Use PIC_OFFSET_TABLE_REGNUM rather than 19. - -Thu Dec 23 18:51:12 1993 Jim Wilson (wilson@cygnus.com) - - * local-alloc.c (optimize_reg_copy_1): After decreasing sregno's - reg_live_length, correct it if it is now obviously too small. - - * loop.c (check_dbra_loop): Don't reverse loop if there is a - single memory store to an invariant address. - - * gcc.c (translate_options): Skip arguments of -B, -b, -V, -x, - and -Xlinker options. - - * configure (riscos-*-*): Use fixincludes instead of fixinc.mips. - * fixinc.mips: Delete file. - * fixincludes: Merge in changes from fixinc.mips. Fix identifiers - host_mips, mips, MIPSE[LB], R[34]000, SYSTYPE_*. Fix size_t uses - in stddef.h, memory.h, unistd.h. Fix /**/ in bsd43/bsd43_.h. - -Thu Dec 23 18:28:02 1993 Richard Earnshaw (rwe11@sticte.cl.cam.ac.uk) - - * expmed.c (expand_mult): Preserve useful sub-expressions when - expanding a synthesized mult. - -Thu Dec 23 18:21:34 1993 Russ Noseworthy (jrnosewo@ral.rpi.edu) - - * configure (m68k-wrs-vxworks): New, same as m68k-sun-sunos*. - -Thu Dec 23 09:03:30 1993 Phil Nelson (phil@cs.wwu.edu) - - * ns32k.h (ASM_OUTPUT_ADDR_DIFF_ELT): Use .long, not .double. - -Thu Dec 23 07:30:24 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * Makefile.in (libgcc.a): Allow chmod of tmpcopy directory to - fail since it can be empty. - - * gcc.c (default_compilers, gnat1): Don't write -gnatb. - - * c-common.c (T_ST): Fix typo in last change. - - * expr.c (expand_expr, case MINUS_EXPR): When expanding an - initializer, use plus_constant as appropriate. - - * collect2.c (main): When searching compiler directories, - look for ld_suffix, not full_ld_suffix. - - * a29k/unix.h (TARGET_DEFAULT): Update to use new values. - - * Makefile.in (GCC_CFLAGS): Add -I./include. - -Thu Dec 23 06:57:39 1993 Chip Salzenberg (chip@fin.uucp) - - * Makefile.in (ENQUIRE_CFLAGS): Omit -DNO_STDDEF. - (USE_ALLOCA): Allow ${ALLOCA} to begin with a dash. - (OBJC, OBJECTIVE-C): Depend on objc-runtime. - (objc-headers): Make include directory if missing. - - * xm-svr3.h (HAVE_VPRINTF): Define. - - * cse.c (delete_reg_equiv): Don't reference elements of - REG_{NEXT,PREV}_EQV that are not defined. - -Wed Dec 22 14:21:49 1993 Jim Wilson (wilson@mole.gnu.ai.mit.edu) - - * dbxout.c (dbxout_parms): For parameter passed by invisible - reference, use DECL_INCOMING_RTL if DECL_RTL is a pseudo-reg address. - - * xcoffout.h (DBX_FINISH_SYMBOL): Get variable name from DECL_RTL - instead of from DECL_ASSEMBLER_NAME. - - * sched.c (priority): Handle INSN_DELETED_P insns, in addition to - insns which were deleted by being turned into notes. - - * expr.c (expand_expr, NEGATE_EXPR case): Use subtarget in - recursive call, not target. - - * fixproto (required_unistd_h): Delete getgroups from list. - - * fix-header.c (missing_extern_C_count): Ifdef out. - (write_lbrac, recognized_function, read_scan_file, write_rbrac): - Likewise. - - * cccp.c (main): Cast alloca result to char * to avoid warning. - - * unroll.c (find_splittable_givs): For rewritting illegal init - insn, use force_operand instead of emit_iv_add_mult. - -Wed Dec 22 13:44:17 1993 Ron Guilmette (rfg@netcom.com) - - * tree.c (chainon): Detect more circularities. - - * enquire.c (main): Move declarations of SIZE and TOTAL to - where they won't cause "unused" warnings when NO_MEM is defined. - (promotions): Explicitly declare return type (to avoid warnings). - Always return a value. - -Wed Dec 22 13:39:40 1993 Chip Salzenberg (chip@fin.uucp) - - * Makefile.in (gcc.o): Define DEFAULT_TARGET_VERSION. - * gcc.c (compiler_version): New variable. - (spec_version): Initialize from DEFAULT_TARGET_VERSION. - (main): Distinguish COMPILER_VERSION from TARGET_VERSION. - (process_command): Use COMPILER_VERSION for %v. - Guard against a COMPILER_VERSION that lacks a minor. - -Wed Dec 22 07:47:17 1993 Greg Gilley (ggilley@adobe.com) - - * gcc.c (default_compilers): Treat ".cpp" as C++. - * cccp.c (main): Strip off ".cpp" extension. - * toplev.c (strip_off_ending): Likewise. - -Wed Dec 22 07:26:26 1993 Rafal Pietrak (Rafal_Pietrak@camk.edu.pl) - - * Makefile.in (install-headers, install-headers-tar): Correctly - handle directories when $(libsubdir) is a relative path. - -Wed Dec 22 07:12:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * c-common.c (T_ST): New macro. - (scan_char_table): With s, c and [, allow `a' flag. - (print_char_table): Accept Z and m codes. - (check_format_info): Handle the `a' flag. - -Tue Dec 21 21:09:38 1993 Rainer Orther (ro@TechFak.Uni-Bielefeld.de) - - * fixincludes (rpc/auth.h, rpc/xdr.h): Declare structures before - using them in prototypes, for Irix 4.0.5. - (rpc/rpc.h): Avoid a nested comment on Ultrix 4.3. - -Tue Dec 21 18:41:36 1993 Doug Evans (dje@canuck.cygnus.com) - - * configure (cpp_md_flags): Rename to md_cppflags. - (MD_CPP, MD_DEPS): Set appropriately for native or cross build. - (MD_FILE): Edit in place. - * Makefile.in (MD_FILE rule): Depend on $(MD_DEPS). Invoke $(MD_CPP). - -Tue Dec 21 17:37:20 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-tree.h (VTABLE_NAME): No def with NO_{DOLLAR,DOT} defined. - (VTABLE_NAME_P): Use it instead of VTABLE_NAME_FORMAT. - -Tue Dec 21 13:25:39 1993 Jim Wilson (wilson@cygnus.com) - - * sparc.h (FUNCTION_ARG_PASS_BY_REFERENCE): Also pass Pascal arrays - by reference. - - * sched.c (sched_analyze): For CALL_INSN followed by - NOTE_INSN_SETJMP note, make it depend on all registers not just - hard registers, and add a REG_DEAD -1 note. - (unlink_notes): Don't save away NOTE_INSN_SETJMP notes. - (schedule_block): After scheduling CALL_INSN, check for REG_DEAD - -1 note. If find it, delete it, and output a NOTE_INSN_SETJMP note. - - * rtlanal.c (replace_regs, case REG): Return copies of SUBREGs, to - avoid invalid sharing. - -Tue Dec 21 13:07:14 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * pa.c (output_function_prologue): Use ASM_GENERATE_INTERNAL_LABEL - rather than generating one on its own. - - * pa.h (ASM_GENERATE_INTERNAL_LABEL): Always use L$ as the prefix - for internal labels. - (ASM_OUTPUT_INTERNAL_LABEL): Likewise. - -Mon Dec 20 19:10:16 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * c-typeck.c (struct initializer_stack): New field ELEMENTS. - (start_init, finish_init): Save and restore constructor_elements. - - * emit-rtl.c (gen_lowpart_common): Return a new hard reg even - if not valid in MODE if the input REG is not valid in its mode. - - * rs6000.md (divsi3): Correct logic for when we call force_reg. - (modsi3): Ensure operands[2] is a CONST_INT; include REG in - predicate. - -Thu Dec 16 16:14:53 1993 Jeffrey A. Law (law@mole.gnu.ai.mit.edu) - - * pa.c (compute_frame_size): Remove implicit assumption that %r4 - is the frame pointer. - - * pa.c (output_function_prologue): Reverse last change. Output - both the function label and the .PROC here. - - * pa.h (ASM_DECLARE_FUNCTION_NAME): Do not output the function - label or the .PROC here. - -Thu Dec 16 11:34:48 1993 Ian Lance Taylor (ian@cygnus.com) - - * fixincludes: Do not preserve _HIDDEN_VA_LIST in stdio.h. - -Wed Dec 15 13:48:25 1993 Mike Stump (mrs@cygnus.com) - - * cp-decl.c (flag_conserve_space): New language specific flag to - tell the compiler to use .common when possible. Reduces the size of - .o files. - * cp-decl.c (duplicate_decls): Copy DECL_COMMON from the olddecl. - * cp-decl.c (start_decl): Set DECL_COMMON appropriately. - * cp-decl.c (finish_decl): Use flag_conserve_space, instead of - flag_no_common. - * cp-decl2.c (flag_conserve_space, lang_f_options): New flag. - * toplev.c (lang_options): New -fconserve-space flag. - * tree.h (DECL_COMMON): New flag. - * tree.h (tree_decl): New common_flag. - * varasm.c (assemble_variable): Use DECL_COMMON to help determine if - an object can be put in .common. - * c-decl.c (start_decl): Set DECL_COMMON to 1. - -Wed Dec 15 19:04:55 1993 Conrad Kimball (cek@sdc.boeing.com) - - * Makefile.in (cccp.o, stmt-proto): Use $(includedir). - -Wed Dec 15 18:44:03 1993 Leonid Baraz (lbaraz@iil.intel.com) - - * tree.c (copy_node): Handle length of INTEGER_CST like make_node. - -Wed Dec 15 18:37:29 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * final.c (profile_function): Set ALIGN properly. - - * protoize.c: Remove declarations of setjmp and longjmp. - -Wed Dec 15 18:31:01 1993 Paul Eggert (eggert@twinsun.com) - - * c-typeck.c (missing_braces_mentioned): Renamed from - `partial_bracket_mentioned'. - (start_init): Clear `missing_braces_mentioned'. - (warning_init): New function. - (push_init_level): Optionally warn about missing braces. - When warning about braces around scalars, identify which scalars. - -Wed Dec 15 18:21:29 1993 Richard Henderson (richard@viz.tamu.edu) - - * mips/iris3.h (LIB_SPEC): Use shared libc when not profiling, - not debugging, and no "-static". - -Wed Dec 15 18:14:31 1993 Doug Evans (dje@canuck.cygnus.com) - - * expr.c (expand_builtin): Allow __builtin_next_arg to be used - in varargs functions. - -Wed Dec 15 18:09:57 1993 Kaveh R. Ghazi (ghazi@noc.rutgers.edu) - - * Makefile.in (gnucompare, gnucompare3): New targets. - -Tue Dec 14 00:19:44 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * pa.c (output_call): Put temporary label after the - RP adjustment. "- 8" adjustment is no longer necessary. - - * x-pa (CC): Do not use absolute path to gcc. - - * pa.c (output_function_prologue): Do not output the .PROC directive - here. - - * pa.h (ASM_DECLARE_FUNCTION_NAME): Emit the .PROC immediately - after the function's label. - - * pa.h (ASM_FILE_START): Emit a .file directive at the beginning - of the output file if debug symbols are being generated. - - * pa.h (MAX_OFILE_ALIGNMENT): Define appropriately for the PA. - - * pa-ghiux.h (TARGET_DEFAULT): Enable TARGET_JUMP_IN_DELAY and - TARGET_GAS. - * pa1-ghiux.h (TARGET_DEFAULT): Likewise. - - * pa-ghpux.h (TARGET_DEFAULT): Enable TARGET_JUMP_IN_DELAY. - * pa-gux7.h (TARGET_DEFAULT): Likewise. - * pa-utahmach.h (TARGET_DEFAULT): Likewise. - * pa.h (TARGET_DEFAULT): Likewise. - * pa1-ghpux.h (TARGET_DEFAULT): Likewise. - * pa1-utahmach.h (TARGET_DEFAULT): Likewise. - * pa1.h (TARGET_DEFAULT): Likewise. - - * pa.h (LEGITIMATE_CONSTANT_P): Remove hack for function addresses. - * pa.c (secondary_reload_class): Function addresses no longer - need secondary reloads. - (emit_move_sequence): Special handling of function addresses is - no longer needed. - * pa.md (lo_sum of a function address): Use short form as we have - no intention of supporting MPE external calls. - -Mon Dec 13 20:58:58 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * combine.c (subst, case MINUS): Canonicalize (minus A (plus A B)). - -Mon Dec 13 19:09:42 1993 Torbjorn Granlund (tege@adder.cygnus.com) - - * mips/iris4.h (ASM_OUTPUT_ASCII): Wrap in `do { ... } while (0)'. - * clipper/clix.h, fx80/fx80.h, i860/bsd.h, m68k/3b1.h: Likewise. - * m68k/amix.h, m68k/crds.h, m68k/hp320.h, m68k/m68kv4.h: Likewise. - * m68k/mot3300.h, m68k/sgs.h, m68k/tower-as.h: Likewise. - * ns32k/encore.h, tahoe/harris.h, tahoe/tahoe.h: Likewise. - * vax/vaxv.h,we32k/we32k.h: Likewise. - -Mon Dec 13 03:28:02 1993 Doug Evans (dje@canuck.cygnus.com) - - * configure (sparc-*-solaris2): Fix typo in extra_parts. - -Sun Dec 12 08:19:38 1993 Chip Salzenberg (chip@fin.uucp) - - * cccp.c (main): Combine tests of single-character suffixes. - (deps_output): Different second parameter: SPACER determines - meaning of first argument (target, dependency, literal text). - Wrap output correctly. - -Sun Dec 12 07:54:07 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * tree.c (type_hash_canon): Clean up obstack usage a bit. - - * recog.c (indirect_operand): Verify mode of OP is correct. - - * calls.c (expand_call, store_one_arg): Properly push and pop - temporary level around expression evaluations. - - * configure: Handle EXTRA_PARTS and EXTRA_OBJS like the others. - (i[34]86-*-osfrose*): Replace t-osfrose with extra_objs assignment. - (i[34]86-*-sco*): Likewise for t-sco. - (i[34]86-*-isc*): Likewise for t-isc. - (i[34]86-ibm-ai*): Likewise for t-aix. - (i[34]86-*-solaris2, i860-alliant-*): Add extra_parts. - (sparc-*-solaris2*, m88k-*): Likewise. - (mips-dec-osfrose*): Add extra_objs. - (clipper-intergraph-clix*): Replace t-clix with extra_headers and - extra_parts. - * Makefile.in (halfpic.o): New rule; copied from t-osfrose. - * h8300/t-h8300: Delete null LIB2FUNCS_EXTRA. - * i386/t-sol2, i860/t-fx2800, m88k/t-dgux-gas: Delete EXTRA_PARTS. - * m88k/t-dgux, m88k/t-m88k, m88k/t-sysv4, sparc/t-sol2: Likewise. - * m88k/t-luna: Don't require bash. - * mips/t-osfrose: Delete EXTRA_OBJS and halfpic.o rule. - * clipper/t-clix, i386/t-aix, i386/t-isc, i386/t-osfrose, i386/t-sco: - Deleted; no longer needed. - -Sun Dec 12 06:47:14 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * Version 2.5.7 released. - -Sun Dec 12 06:18:33 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - - * 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. - -Sun Dec 12 06:13:51 1993 DJ Delorie (dj@ctron.com) - - * configure.bat: Update to relect recent changes elsewhere. - * objc/makefile.dos: Likewise. - -Sat Dec 11 18:09:50 1993 Per Bothner (bothner@cygnus.com) - - * dbxout.c (dbxout_type): The "base type" of a SET_TYPE is its - DOMAIN_TYPE, not its TREE_TYPE. - * dwarfout.c (output_type): Likewise. - -Sat Dec 11 07:36:57 1993 David Rifkind (dave@yarc.com) - - * rs6000.md: Add a few missing new nmemonics. - -Sat Dec 11 06:57:55 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * cccp.c (INPUT_STACK_MAX): Double size. - - * integrate.c (initialize_for_inline): Handle CONCAT when setting up - parmdecl_map. - - * rs6000.md (modsi3): Reject REG in predicate to avoid undefined - reference and extra pseudo creation if will fail. - -Fri Dec 10 10:03:36 1993 Mike Stump (mrs@cygnus.com) - - * toplev.c (lang_options): Change -fnodollars-in-identifiers to - -fno-dollars-in-identifiers to match docs. - -Fri Dec 10 15:42:02 1993 Jim Wilson (wilson@mole.gnu.ai.mit.edu) - - * c-lex.c (yylex): When reading malformed floating point constant, - avoid printing error more than once, and avoid passing malformed - number to subsequent atof call. - -Fri Dec 10 06:03:35 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * rs6000.c (easy_fp_constant): Use input_operand to see if - each word can be loaded in one insn. - - * rs6000.md: Change numerous occurrences of TARGET_POWERPC - to ! TARGET_POWER and make related changes. - - * rs6000.md (modsi3): Rework to operate correctly for both POWER - and PowerPC. - -Thu Dec 9 16:19:05 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * 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. - -Wed Dec 8 05:46:26 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * flow.c (mark_used_regs, case CLOBBER): Refine previous change - to just look at the address of a MEM inside a CLOBBER. - - * fold-const.c (fold, case *_{DIV,MOD}_EXPR): When using - distributive law, take care when C2 is negative. - -Tue Dec 7 08:45:59 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * flow.c (mark_used_regs): Look inside a CLOBBER; it may be the only - place regs are used if it has a stack slot that is from an inlined - function. - -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. - -Wed Dec 1 17:24:17 1993 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu) - - Wed Nov 24 06:36:10 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-tree.c (get_decl_list): Use the DECL_NESTED_TYPENAME for the - value we're going to paste onto CLASSTYPE_ID_AS_LIST. This will get - the right name for nested classes, and for templates. - - Mon Nov 29 13:09:31 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-decl.c (grokdeclarator): Properly evaluate TREE_PUBLIC for - friends. (Fixes spurious warnings about friends being declared - static but not used.) - - * 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. - - * 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. - -Tue Nov 30 19:26:05 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * sparc.h (STATIC_CHAIN_REGNUM): Use %g2; %g1 is reserved - for prologue. - (TRAMPOLINE_TEMPLATE, INITIALIZE_TRAMPOLINE): Swap useage of %g1 - and %g2. - - * m68k.md (movdf): Don't need earlyclobber when a register - is copied to itself. - -Sat Nov 27 06:19:22 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * 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. - - * cp-pt.c (overload_template_name): Accept unions for templates. - (instantiate_class_template): Likewise. - * cp-parse.y (template_instantiate_once): Likewise. - - * cp-lex.c (real_yylex): Instead of using the "shorts" method to - check for overflow, use the C front-end's "parts" method (to handle - any size, and not rely on long long being 32 bits wide). - - Thu Nov 18 11:51:34 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-lex.c (cons_up_default_function): Disable earlier change; it - screws up stabs somehow. Very strange. - - Thu Nov 18 00:16:29 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-decl.c (grokdeclarator): Say what class is involved when saying - we can't declare a member inside it. - - * 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. - - * cp-parse.y (primary): Only try to print out the operator's name if - it's valid. - - * cp-decl.c (grok_op_properties): Fix missing parens to keep the - logic from accidentally giving an error when it shouldn't. - - Wed Nov 17 20:04:00 1993 Jason Merrill (jason@deneb.cygnus.com) - - * 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. - - Wed Nov 17 15:54:02 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-type2.c (process_init_constructor): Deal with pointers to - members as initializers for initializer lists. - - Wed Nov 17 11:48:38 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-decl.c (ambi_op_p): Add ++ and --. - - * cp-error.c: Lose the anon_parm_name stuff. - - * cp-lex.c (cons_up_default_function): Change input_filename for - synthetic code. - - * cp-error.c (dump_aggr_type): Always print const or volatile. - (dump_function_decl): Only print static if verbose. - - * cp-errfn.c (cp_sprintf): New function. - - * cp-decl.c (grokfndecl): Be more verbose in complaint about applying - method qualifiers to non-methods. - - Wed Nov 17 09:51:04 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - - * cp-parse.y (attrib): Accept "noreturn" attribute. - - Tue Nov 16 12:28:49 1993 Jason Merrill (jason@deneb.cygnus.com) - - * cp-decl2.c (grokoptypename): Fix handling of udc's. - - * cp-method.c (build_component_type_expr): Ditto. - - * cp-class.c (finish_struct_methods): Be more verbose in complaint - about overloaded operator delete. - - * 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 - - Mon Nov 15 12:38:54 1993 Brendan Kehoe (brendan@rtl.cygnus.com) - - * g++.c (main): If they gave us -v, also show the invocation of the - gcc driver. - - Mon Nov 15 12:04:47 1993 Jason Merrill (jason@deneb.cygnus.com) - - * 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) + * config/h8300/h8300.c (output_logical_op): Use extu.w in more + cases. + (compute_logical_op_length): Update to reflect the change in + output_logical_op. + (compute_logical_op_cc): Likewise. - * cp-pt.c (instantiate_template): Work properly with - -fexternal-templates. +2002-12-30 Joseph S. Myers - * cp-lex.c (extract_interface_info): #if 0 out earlier - tinst_level work pending further work. + * doc/service.texi: Uncomment and update FAQ link. - Fri Nov 5 07:39:00 1993 Michael Tiemann (tiemann@blues.cygnus.com) +2002-12-30 Andreas Jaeger - * cp-search.c (compute_visibility): Don't lose access to public - members from base classes of base classes. + * unwind-dw2-fde.h (last_fde): Add unused attribute for obj. - * cp-typeck.c (convert_for_assignment): Allocate enough space in - LHSBUF for the null terminiator. +2002-12-30 Kazu Hirata - Tue Nov 2 07:20:03 1993 Michael Tiemann (tiemann@blues.cygnus.com) + * config/h8300/h8300.md (*addsi3_lshiftrt_16_zexthi): New. - * cp-decl2.c (build_push_scope): Don't push the scope for - ptr-to-method declarations. Also, clarify some comments. +2002-12-30 Kazu Hirata - * cp-parse.y (abs_member_declarator): Add `see_typename' epsilon - rule so that parser can recognize ptr-to-member functions. + * config/h8300/h8300.c (output_logical_op): Use extu.w if we + are clearing the most significant byte. + (compute_logical_op_length): Update to reflect the change in + output_logical_op. + (compute_logical_op_cc): Likewise. - Mon Nov 1 18:15:59 1993 Kung Hsu (kung@cirdan.cygnus.com) +2002-12-29 Kazu Hirata - * 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. + * config/h8300/h8300.md: Give internal names to anonymous + insns. - Mon Nov 1 11:06:39 1993 Jason Merrill (jason@deneb.cygnus.com) +2002-12-29 Kazu Hirata - * cp-errfn.c: Don't include . - Don't use the return value of strcpy. + * config/h8300/h8300.md: Reorder some insns. - Sun Oct 31 22:32:05 1993 Jason Merrill (jason@deneb.cygnus.com) +2002-12-29 Kazu Hirata - * cp-call.c (build_scoped_method_call): Return (void)0 if trying to - call a nonexistent destructor. + * config/h8300/h8300-protos.h: Add prototypes for + const_int_qi_operand and const_int_hi_operand. + * config/h8300/h8300.c (const_int_qi_operand): New. + (const_int_hi_operand): Likewise. + * config/h8300/h8300.md (three peepholes): New. - * cp-parse.y (object): Support p.~int(). +2002-12-28 Joseph S. Myers - * cp-error.c (dump_expr): Handle error_mark_node better. + * doc/cpp.texi, doc/gcc.texi, doc/gccint.texi, doc/install.texi: + Use @copying. - Sat Oct 30 21:49:00 1993 Jason Merrill (jason@deneb.cygnus.com) +2002-12-28 Joseph S. Myers - * cp-parse.y (primary): Support p->~int(). + * configure.in: Increase makeinfo version requirement to 4.[2-9]. + * configure: Regenerate. + * doc/install.texi: Update Texinfo version requirement. - Fri Oct 29 18:09:12 1993 Mike Stump (mrs@cygnus.com) +2002-12-28 Andreas Jaeger - * cp-type2.c (build_functional_cast): Don't delete things twice. + * config/i386/i386.c (x86_function_profiler): Mark labelno as + possibly unused. - Thu Oct 28 15:35:55 1993 Jason Merrill (jason@deneb.cygnus.com) + * c-parse.in (yyprint): Use HOST_WIDE_INT_PRINT_DOUBLE_HEX for + correct format. - * cp-tree.h (struct tinst_level): The template instantiation level - structure. Used by the code described below. +2002-12-27 Kazu Hirata - * 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. + * config/h8300/h8300.md (*iorhi_shift_8): Change the name to + *iorhi_ashift_8. + (*iorhi_lshiftrt_8): New. - * cp-parse.y (tmplate_instantiate_once): pop_tinst_level() after - instantiating member templates. +2002-12-27 Joseph S. Myers - * 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. + * doc/include/texinfo.tex: Update to version 2002-12-26.16. - * cp-pt.c (tsubst): Associate the FUNCTION_DECL with the spot in the - user's code that triggered the instantiation. *Currently disabled* +2002-12-27 Gerald Pfeifer - * 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* + * doc/contrib.texi (Contributors): Add Abramo and Roberto Bagnara. - * cp-pt.c (coerce_template_parms): Do extra checking on the template - parms, since templates are more picky than initializers. +2002-12-26 Kazu Hirata - Wed Oct 27 17:06:54 1993 Jason Merrill (jason@deneb.cygnus.com) + * config/h8300/h8300-protos.h: Fix comment typos. + Update copyright. + * config/h8300/h8300.c: Fix comment typos. - * cp-parse.y (datadef): Don't override a template with a forward - declaration of a template class. +2002-12-26 Kazu Hirata - Tue Oct 26 17:54:12 1993 Kung Hsu (kung@cirdan.cygnus.com) + * config/h8300/h8300.h (IDENT_ASM_OP): End with a tab. - * cp-parse.y (component-declarator0): fix bit field name same as type - name syntax error. +2002-12-26 Kazu Hirata - Tue Oct 26 16:07:29 1993 Mike Stump (mrs@cygnus.com) + * config/i386/athlon.md: Fix comment typos. + * config/i386/crtdll.h: Likewise. + * config/i386/djgpp.h: Likewise. + * config/i386/i386-interix.h: Likewise. + * config/i386/i386.c: Likewise. + * config/i386/i386.h: Likewise. + * config/i386/i386.md: Likewise. + * config/i386/k6.md: Likewise. + * config/i386/mingw32.h: Likewise. + * config/i386/pentium.md: Likewise. + * config/i386/sco5.h: Likewise. + * config/i386/winnt.c: Likewise. + * config/i386/xmmintrin.h: Likewise. - * cp-cvt.c (build_up_reference): Fix typo, fixes core dump on bad - code. +2002-12-26 Jose Renau - Tue Oct 26 11:52:09 1993 Jason Merrill (jason@deneb.cygnus.com) + * ssa-dce.c (EXECUTE_IF_UNNECESSARY): Verify INSN is an + INSN_P before checking to see if it is dead. + (mark_all_insn_unnecessary): Similarly. + (ssa_eliminate_dead_code): Similarly. + * rtl.h (struct rtx_def): Update comments for in_struct usage + in dead code elimination pass. + (INSN_DEAD_CODE_P): Allow JUMP_INSN and CALL_INSN as well. - * cp-error.c (dump_function_decl): Only print default arguments - if verbose. - (dump_type): Ditto. +2002-12-26 Andreas Schwab - Mon Oct 25 22:18:05 1993 Per Bothner (bothner@kalessin.cygnus.com) + * config.gcc (powerpc*-*-*, rs6000-*-*): Fix assignment syntax. - * cp-typeck.c (c_sizeof, build_c_cast): Re-enable Salzenberg's - July 10 change (set TREE_OVERFLOW as well as TREE_CONSTANT_OVERFLOW). +2002-12-25 David Edelsohn - Mon Oct 25 18:53:08 1993 Jason Merrill (jason@deneb.cygnus.com) + * config/rs6000/rs6000.c (rs6000_override_options): Convert to + tartet_flags_explicit. + * config/rs6000/rs6000.h (MASK_MULTIPLE_SET, MASK_STRING_SET): Delete. + Compact target_flags bits. + (TARGET_MULTIPLE_SET, TARGET_STRING_SET): Delete. + (TARGET_SWITCHES): Delete references to *_SET flags. - * cp-pt.c (instantiate_class_template): Don't do the - push_template_decls thang if !setup_parse; the binding level - never gets popped. +Wed Dec 25 20:30:53 CET 2002 Jan Hubicka - Mon Oct 25 11:54:34 1993 Kung Hsu (kung@cirdan.cygnus.com) + * i386.md (memory attribute): Fix setcc attribute. - * cp-method.c (hack_identifier): fix seg fault when an - external variable does not have class context. +2002-12-25 Kazu Hirata - Sun Oct 24 19:01:15 1993 Michael Tiemann (tiemann@blues.cygnus.com) + * output.h: Fix comment typos. + * predict.c: Likewise. + * print-tree.c: Likewise. + * profile.c: Likewise. + * ra-build.c: Likewise. + * ra-colorize.c: Likewise. + * ra-debug.c: Likewise. + * ra-rewrite.c: Likewise. + * ra.c: Likewise. + * ra.h: Likewise. + * real.c: Likewise. + * recog.c: Likewise. + * reg-stack.c: Likewise. + * regclass.c: Likewise. - * cp-spew.c (scan_tokens): Test for ';' in first pre-scan of the - tokens. +2002-12-25 Kazu Hirata - Fri Oct 22 23:46:17 1993 Jason Merrill (jason@deneb.cygnus.com) + * config/h8300/h8300.c (print_operand_address): Do not negate + a negative number when printing one. - * 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. +2002-12-25 Kazu Hirata - * cp-error.c (dump_decl, CONST_DECL): Pass off non-enum cases to - dump_expr. - (dump_expr): Pass off DECLs to dump_decl. + * config/h8300/h8300-protos.h: Add prototypes for + output_plussi, compute_plussi_length, and compute_plussi_cc. + * config/h8300/h8300.c (output_plussi): New. + (compute_plussi_length): Likewise. + (compute_plussi_cc): Likewise. + * config/h8300/h8300.md (addsi_h8300h): Call + output_plussi, compute_plussi_length, and compute_plussi_cc. - Fri Oct 22 20:57:46 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) +2002-12-24 Kazu Hirata - * cp-errfn.c (STRDUP): Change to comma expr for bdmaged cc's. - (cp_thing): Add decl for ap, initialize fmt later. + * config/h8300/h8300.md (two peepholes): Use match_dup instead + of match_operand in the new patterns. - Fri Oct 22 17:15:01 1993 Jason Merrill (jason@deneb.cygnus.com) +2002-12-24 Joseph S. Myers - * cp-error.c (dump_decl): Handle CONST_DECLs for enum tags. + * doc/include/texinfo.tex: Update to version 2002-11-25.11. - * cp-type2.c (my_friendly_abort): Move abortcount to global level. +2002-12-24 Nathan Sidwell - * cp-search.c (dfs_pushdecls): Be more helpful in shadowing warning. + * configure.in (enable-coverage): Add SELF_COVERAGE. + * profile.c (end_branch_prob): Use SELF_COVERAGE. - * 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). +2002-12-24 Jim Wilson - Fri Oct 22 16:40:27 1993 Mike Stump (mrs@cygnus.com) + * alias.c (record_set): Handle multi-reg hard registers. - Handle constructors in templates better. +2002-12-24 Kazu Hirata - * 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. + * regmove.c: Fix comment typos. + * reload.c: Likewise. + * reload1.c: Likewise. + * resource.c: Likewise. + * rtl.def: Likewise. + * rtl.h: Likewise. + * rtlanal.c: Likewise. + * sched-deps.c: Likewise. + * sched-rgn.c: Likewise. + * sibcall.c: Likewise. + * simplify-rtx.c: Likewise. + * ssa-ccp.c: Likewise. + * ssa.c: Likewise. + * stmt.c: Likewise. + * stor-layout.c: Likewise. + * system.h: Likewise. + * tlink.c: Likewise. + * toplev.c: Likewise. + * tracer.c: Likewise. + * tree-inline.c: Likewise. + * tree.c: Likewise. + * tree.h: Likewise. + * unroll.c: Likewise. + * varasm.c: Likewise. - Wed Oct 20 17:17:37 1993 Jason Merrill (jason@deneb.cygnus.com) +2002-12-23 Larin Hennessy - * cp-tree.h: Declare code_as_string. + * doc/install.texi: Remove i386-*-isc, i860-*-bsd, + m68k-altos-sysv, m68k-isi-bsd, m68k-sony-bsd entries. + * doc/invoke.texi: Remove AMD 29K, ARM RISC/iX, Clipper, Convex, + DG/UX entries. + * doc/md.texi: Remove AMD 29K entries. + * doc/trouble.texi: Remove Alliant, DG/UX, Iris 4.0.5F, GAS + 1.38.1, NewsOS, RT PC, WE32K entries. - * cp-error.c (code_as_string): New function, translates - enum tree_code into a string. Very incomplete at the moment. +2002-12-23 Aldy Hernandez - * cp-decl.c (lookup_tag): Use cp_error more. + PR/8763 + * config/rs6000/altivec.md (mulv4sf3): Rewrite to add -0.0 vector. + (altivec_vspltisw_v4sf): Name pattern. + (altivec_vslw_v4sf): New pattern. - Tue Oct 19 16:39:20 1993 Jason Merrill (jason@deneb.cygnus.com) +2002-12-23 Joseph S. Myers - * cp-error.c (dump_type_prefix): Do the prefix/suffix thang for - ARRAY_TYPE nodes. + * doc/include/gcc-common.texi: Define DEVELOPMENT. - Thu Oct 14 23:56:34 1993 Jason Merrill (jason@deneb.cygnus.com) +2002-12-23 Mark Mitchell - * cp-gc.c (build_dynamic_cast): Avoid doing runtime work if possible. - (build_typeid): Add logic. + * stor-layout.c (update_alignment_for_field): Correct handling of + unnamed bitfields on PCC_BITFIELD_TYPE_MATTERS machines. + * doc/tm.texi (PCC_BITFIELD_TYPE_MATTERS): Note that an unnamed + bitfield does not affect alignment. - Thu Oct 14 10:56:43 1993 Jason Merrill (jason@deneb.cygnus.com) +2002-12-23 David Edelsohn - * 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. + * expr.c (expand_assignment): Apply special treatment to + ARRAY_TYPE. - * 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. +2002-12-23 Kazu Hirata - * cp-error.c (expr_as_string): Suppress parens on initial call - to dump_expr. + * config/h8300/h8300-protos.h: Update the prototype of + expand_a_shift. + * config/h8300/h8300.c (expand_a_shift): Change the return + type to void. + * config/h8300/h8300.md: Update all the uses of + expand_a_shift. - * cp-tree.h: Add decls for Type_info_type_node, build_typeid, - get_typeid and build_dynamic_cast. +2002-12-22 Nathan Sidwell - * gplus.gperf: Add typeid and dynamic_cast. + * tree.c (save_expr): Allow either side of a dyadic operand to be + constant. - * cp-spew.c (init_spew): Ditto. + * doc/portability.texi (portability): Update portability goals. - Wed Oct 13 19:15:21 1993 Jason Merrill (jason@deneb.cygnus.com) +2002-12-23 Kazu Hirata - Partial implementation of Stroustrup's proposal for declarations in - conditions from X3J16/92-0121. + * config/h8300/h8300.c (output_a_shift): Remove unused code. - * 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. +2002-12-22 Mark Mitchell - * cp-decl2.c (pushdecls): New function, push all decls in the chain - into the current scope. + * stor-layout.c (update_alignment_for_field): Guard use of + ADJUST_FIELD_ALIGN with #ifdef. - Wed Oct 13 12:31:58 1993 Mike Stump (mrs@cygnus.com) + * stor-layout.c (update_alignment_for_field): Use + ADJUST_FIELD_ALIGN when computing the alignment for a zero-width + bitfield when PCC_BITFIELD_TYPE_MATTERS. - * cp-decl.c: Remove redefinition of NULL, as some machines don't - like it. Clean up all NULL uses. +2002-12-22 Kazu Hirata - Mon Oct 11 17:21:08 1993 Kung Hsu (kung@cirdan.cygnus.com) + * genautomata.c: Fix comment typos. - * cp-decl2.c (finish_file): Fix libg++ build problem of mismatch - blocks. +Sun Dec 22 18:23:44 CET 2002 Jan Hubicka - Mon Oct 11 13:51:05 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * params.def (tracer-min-branch-probability-feedback): Fix default. + * final.c (compute_alignments): Use profile to avoid code bloat. - Mon Oct 4 11:49:48 1993 Chip Salzenberg (chip@fin.uucp) +2002-12-22 Kazu Hirata - * cp-typeck.c (build_modify_expr): Check whether recursive calls - return error_mark_node. + * config/h8300/h8300.c (get_shift_alg): Make shift insn + sequences end with a valid cc0 whenever possible. - Mon Oct 4 12:41:16 1993 Chip Salzenberg (chip@fin.uucp) +2002-12-22 Kazu Hirata - * 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. + * config/h8300/h8300.md (negsf2): New. + (*negsf2_h8300): Likewise. + (*negsf2_h8300hs): Likewise. - Mon Oct 4 12:45:11 1993 Chip Salzenberg (chip@fin.uucp) +2002-12-21 Geoffrey Keating - * cp-typeck.c (common_type): Use TYPE_MAIN_VARIANT when preferring - long int to int (when width is the same). + * integrate.c (output_inline_function): Don't hold private + pointers to 'struct function' over GC calls. - Mon Oct 4 12:46:54 1993 Chip Salzenberg (chip@fin.uucp) +2002-12-21 Kaz kojima - * cp-typeck.c (convert_for_assignment): Mismatch in signedness - of pointer targets should not inhibit warnings for const mismatch. + * config/sh/lib1funcs.asm (__fpscr_values): Conditionalize with + NO_FPSCR_VALUES. + * config/sh/t-linux (TARGET_LIBGCC2_CFLAGS): Add -DNO_FPSCR_VALUES. - Mon Oct 4 12:53:04 1993 Chip Salzenberg (chip@fin.uucp) +2002-12-21 Kazu Hirata - * cp-typeck.c (default_conversion): Convert to unsigned int - if original type is unsigned and of greater or equal size. + * config/h8300/h8300.md (zero_extendqisi2): Correct the + length. - Mon Oct 11 13:19:42 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +2002-12-21 Kazu Hirata - * cp-decl.c (build_enumerator): Call default_conversion on the VALUE - before calling constant_expression_warning. + * config/h8300/h8300.md (*zero_extendqihi2_h8300): Make the + second alternative "#". + (*zero_extendqihi2_h8300hs): Likewise. + (a define_split): New. - Mon Oct 11 10:21:37 1993 Kung Hsu (kung@cirdan.cygnus.com) +2002-12-21 Kazu Hirata - * cp-decl.c (finish_function): fix the mismatch LBB LBE block - problem, specifically when compiler generated - destructor/constructor (pr2972) - * cp-decl2.c (finish_file): same as above - * cp-parse.y (compstmt): same as above + * config/h8300/h8300-protos.h: Update the prototype for + split_adds_subs. + Add prototypes for const_le_2_operand and const_le_6_operand. + * config/h8300/h8300.c (split_adds_subs): Add an argument to + specify whether inc/dec should be used when possible. + (const_le_2_operand): New. + (const_le_6_operand): Likewise. + * config/h8300/h8300.md (two peepholes): New. - Mon Oct 11 01:08:09 1993 Jason Merrill (jason@deneb.cygnus.com) +2002-12-21 Kazu Hirata - * cp-error.c (dump_type_suffix): Cope with arrays with unspecified - bounds. + * config/fr30/fr30.md: Fix a comment typo. + * config/i386/i386.c: Likewise. + * config/ip2k/ip2k.h: Likewise. - Thu Oct 7 19:35:26 1993 Jason Merrill (jason@deneb.cygnus.com) +2002-12-20 Jim Wilson - * cp-error.c: Deal with printing out array DECLs properly. - Use dump_char for printing out string literals, too. + * config/rs6000/spe.h (__ev_subifw): Reverse arguments. + (__ev_subw, __ev_subiw): New. + (ev_mwlssf, ev_mwlsmf, ev_mwlssfa, ev_mwlsmfa, ev_mwlssfaaw, + ev_mwlsmfaaw, ev_mwlssfanw, ev_mwlsmfanw): Delete. -Tue Nov 23 18:08:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-12-20 John David Anglin + + * pa-linux.h (TARGET_HAS_STUBS_AND_ELF_SECTIONS): Delete define. + * pa32-linux.h (FUNCTION_OK_FOR_SIBCALL): Delete define. + * pa.c (pa_function_ok_for_sibcall): Allow non indirect sibcalls on + TARGET_ELF32. Add comment on sibcall issues for TARGET_64BIT. + +2002-12-20 Kazu Hirata + + * config/h8300/h8300-protos.h: Add prototypes for + incdec_operand and eqne_operator. + * config/h8300/h8300.c (incdec_operand): New. + (eqne_operator): Likewise. + * config/h8300/h8300.h (CONST_OK_FOR_M): Likewise. + (CONST_OK_FOR_O): Likewise. + (CONST_OK_FOR_LETTER_P): Use CONST_OK_FOR_M and + CONST_OK_FOR_O. + * config/h8300/h8300.md (UNSPEC_INCDEC): New. + (addhi3_incdec): New. + (addsi3_incdec): Likewise. + (two peepholes): Likewise. + +2002-12-20 Kazu Hirata + + * config/h8300/h8300.c (dosize): Remove warnings. + (print_operand): Likewise. + +2002-12-20 Richard Henderson + + * config/alpha/alpha.c (decl_has_samegp): New. + (samegp_function_operand): Use it. Rename from + current_file_function_operand. + (direct_call_operand): Handle -msmall-text via symbol->jump. + (tls_symbolic_operand_1): Use T for tprel64, t for smaller tprel. + (tls_symbolic_operand_type): Likewise. + (alpha_encode_section_info): Likewise. Handle -msmall-text. + (alpha_function_ok_for_sibcall): Use decl_has_samegp. + (alpha_end_function): Set symbol->jump for functions defined in + the text section. + * config/alpha/alpha-protos.h: Update. + * config/alpha/alpha.h (MASK_SMALL_TEXT, TARGET_SMALL_TEXT): New. + (TARGET_SWITCHES): Add -msmall-text and -mlarge-text. + (PREDICATE_CODES): Update. + * config/alpha/alpha.md (call patterns): Update for + samegp_function_operand rename; use !samegp reloc if + TARGET_EXPLICIT_RELOCS. + * doc/invoke.text: Document -msmall-text and -mlarge-text. + +2002-12-20 Ian Dall + + * config/ns32k/ns32k.md (movdi): Use "l" instead of "f" to match + all registers capable of holding a double float. + (*rcond): change name of "reverse branch" insns to + something more meaningful. + (*rbgt, *rblt, *rbge, *rble): Reverse branches to handle IEEE + comparisons properly. + (*ffs): Change operand 0 from write to read-modify-write. + (*ffsssi2): Drop constraints from define_expand. + + * config/ns32k/ns32k.h (STORE_RATIO, STORE_BY_PIECES): Avoid using + MOVE_RATIO as default for store operations. + + * config/ns32k/ns32k.h (enum reg_class, REG_CLASS_NAMES): Add + LONG_REGS class. + (CANNOT_CHANGE_MODE_CLASS): Can't subreg LONG_REGS. + (GO_IF_LEGITIMATE_ADDRESS): Remove spurious abort(). + * config/ns32k/ns32k.c (regclass_map): Add LONG_REGS class. + + * config/ns32k/STATUS: New File + * config/ns32k/NOTES: New file. + +2002-12-20 Hartmut Penner + + * doc/invoke.texi: Document -mzarch, -mesa, -mcpu= and -march= + option for S/390 and zSeries. + * config/s390/s390.c (s390_cpu, s390_cpu_string, s390_arch, + s390_arch_string): New variables. + (override_options): Checking for options and setting of + appropriate target_flags, cpu and arch flags. + * config/s390/s390.h: (processor_type): New enum. + (TARGET_SWITCHES): New switches -mesa/zarch. + * config/s390/s390.md: New attribute 'cpu'. + +2002-12-19 Kazu Hirata + + * c-pretty-print.h: Fix comment typos. + * integrate.c: Likewise. + * varasm.c: Likewise. + * config/c4x/c4x.h: Likewise. + * config/c4x/c4x.md: Likewise. + * config/fr30/fr30.md: Likewise. + * config/frv/frv.c: Likewise. + * config/h8300/h8300.c: Likewise. + * config/i386/i386.c: Likewise. + * config/i386/i386.h: Likewise. + * config/ia64/ia64.c: Likewise. + * config/ia64/ia64.h: Likewise. + * config/ip2k/ip2k.md: Likewise. + * config/m68hc11/m68hc11-crt0.S: Likewise. + * config/m68hc11/m68hc11.h: Likewise. + * config/m68hc11/m68hc11.md: Likewise. + * config/m68hc11/m68hc12.h: Likewise. + * config/mcore/mcore.md: Likewise. + * config/mips/mips.c: Likewise. + * config/mips/mips.md: Likewise. + * config/mmix/mmix-modes.def: Likewise. + * config/pa/pa.c: Likewise. + * config/rs6000/rs6000.c: Likewise. + * config/rs6000/rs6000.h: Likewise. + * config/rs6000/rs6000.md: Likewise. + +2002-12-19 Kazu Hirata + + * config/h8300/h8300.md (output_a_shift): Clean up the code to + output shifts using rotation. + +2002-12-20 Zdenek Dvorak + + * flow.c (allocate_reg_life_data): Reset REG_FREQ. + +2002-12-19 Kazu Hirata + + * config/h8300/h8300.md (pushqi_h8300): Don't push the stack + pointer. + (pushqi_h8300hs): Likewise. + (pushhi_h8300): Likewise. + (pushhi_h8300hs): Likewise. + +Thu Dec 19 23:44:09 2002 J"orn Rennecke + + * sched-rgn.c (init_regions): Update comment. + +2002-12-19 David Edelsohn + + * config/rs6000/rs6000.md (define_attr type): Remove altivec. + * config/rs6000/altivec.md (movv4si_internal): Set correct instruction + attributes. + (movv8hi_internal,movv16qi_internal,movv4sf_internal): Same. + (get_vrsave_internal,set_vrsave_internal): Same. + (altivec_vspltisb,altivec_vspltish,altivec_vspltisw): Same. + (absv16qi2,absv8hi2,absv4si2,absv4sf2): Same + (altivec_abss_v16qi,altivec_abss_v8hi,altivec_abss_v4si): Same. - * dwarfout.c (function_start_label): New function. - (output_entry_point_die): Use it. - (output_global_subroutine_die, output_local_subroutine_die): Use it. +2002-12-19 Casper S. Hornstrup + Danny Smith + Eric Kohl - * c-common.c (check_format_info): Always use TYPE_MAIN_VARIANT - when comparing cur_type against wanted_type. + * config/i386/i386.c (ix86_handle_cdecl_attribute): Check for + attributes incompatible with fastcall attribute. + (ix86_handle_regparm_attribute): Likewise. - * 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/i386/i386.c (ix86_comp_type_attributes): Check for mismatched + fastcall types. - * c-typeck.c (build_binary_op): Don't accept complex types - for max, min, lt, etc. + * config/i386/cygwin.h (TARGET_OS_CPP_BUILTINS): Add fastcall + attributes. + (ASM_OUTPUT_LABELREF): Define as i386_pe_output_labelref. + * config/i386/i386-protos.h (i386_pe_output_labelref): Declare. + * config/i386/winnt.c (i386_pe_mark_dllimport). Add __imp_ prefix in + i386_pe_output_labelref rather than here. + (gen_fastcall_suffix): New function. Decorates a label name with the + fastcall prefix (@) and the stdcall suffix. + (i386_pe_encode_section_info): Call gen_fastcall_suffix() if a symbol + has a fastcall attribute. + (i386_pe_output_labelref): New function. Outputs a label reference. + * config/i386/i386.c (ix86_attribute_table): Accept 'fastcall' as a + valid attribute. + (ix86_return_pops_args): Fastcall functions pop the stack. + (init_cumulative_args): Reserve registers ECX and EDX if function has + fastcall attribute. + (function_arg): Use registers ECX and EDX if function has fastcall + attribute. + * config/i386/i386.h (CUMULATIVE_ARGS): Add fastcall attribute flag. + (DLL_IMPORT_EXPORT_PREFIX): Redefine as '#'. + (FASTCALL_PREFIX): Define as '@'. + * config/i386/mingw32.h (TARGET_OS_CPP_BUILTINS): Add fastcall + attributes. + * doc/extend.texi: Add documentation of fastcall attribute. -Tue Nov 23 18:05:14 1993 Lisa Repka (lisa@MicroUnity.com) +2002-12-19 Nathanael Nerode - * reorg.c (rare_destination): Ensure we always correctly handle - a null JUMP_LABEL. + * configure.in: FORBUILD when build!=host changed from + ../$build-alias to ../build-$build_alias to match change made + in top directory. + * configure: Regenerated. -Tue Nov 23 17:48:39 1993 Doug Evans (dje@canuck.cygnus.com) +2002-12-19 Eric Botcazou - * i960/i960.h (ASM_SPEC): Pass -linkrelax, not -link-relax. + PR optimization/8988 + * loop.c (maybe_eliminate_biv): Kill REG_EQUAL notes mentioning + the biv when eliminating. -Tue Nov 23 17:35:25 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) +2002-12-19 Devang Patel + * gcc.c (struct default_compiler): Recognizes input file name with + .CPP extension as C++ source files + * cp/lang-spec.h: Same + * doc/invoke.texi: Add documentation for .CPP support. - * arm.c (arm_backwards_branch): Branching to the current insn is a - backwards branch. +2002-12-19 Aldy Hernandez -Tue Nov 23 13:59:24 1993 Hallvard B Furuseth (hbf@durin.uio.no) + PR 8553 + * config/rs6000/altivec.md ("absv8hi2"): Add & to clobbered + registers. + ("absv16qi2"): Same. + ("absv4si2"): Same. + ("absv4sf2"): Same. + ("altivec_abss_v16qi"): Same. + ("altivec_abss_v8hi"): Same. + ("altivec_abss_v4si"): Same. - * libgcc2.a (__bb_exit_func): Fix format %*d -> %*ld. +2002-12-19 Ulrich Weigand - * c-parse.in, cp-parse.y (maybe_type_qual): Don't fail to set $$. + * config/s390/s390.md ("*tsthiCCT", "*tsthiCCT_cconly", + "*tstqiCCT", "*tstqiCCT_cconly"): New insns. -Tue Nov 23 15:26:28 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +2002-12-19 Eric Botcazou - * combine.c (try_combine, simplify_shift_const): Add initializations - for some uninitialized variables. + PR target/8340 + * stmt.c (expand_asm_operands): Produce an error when + the PIC register is clobbered. - * 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. +2002-12-18 Daniel Berlin - * expr.c (expand_expr, case SAVE_EXPR): Properly recompute the - value of UNSIGNEDP when SAVE_EXPR_RTL is nonzero and we have promoted. + * Makefile.in (OBJS): Add alloc-pool.o + (alloc-pool.o): New object. -Tue Nov 23 04:14:04 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * alloc-pool.c: New file. + * alloc-pool.h: New file. - * dwarfout.c (output_local_subroutine_die): Use the function name - from its symbol_ref, not DECL_ASSEMBLER_NAME. +2002-12-18 Loren James Rittle -Mon Nov 22 13:59:41 1993 Steve Chamberlain (sac@mole.gnu.ai.mit.edu) + * gcc.c (validate_switches): Robustify against skipping past '\0'. - * final.c (get_attr_length): asm_insn_count takes a body, not an - insn. +2002-12-18 Geoffrey Keating -Sun Nov 21 22:37:12 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config.gcc: Set extra_objs in the generic Darwin rule, + not in the machine-specific rules. - * 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. +2002-12-19 Kazu Hirata -Sun Nov 21 15:39:04 1993 Tor Egge (tegge@pvv.unit.no) + * ChangeLog: Follow spelling conventions. + * ChangeLog.2: Likewise. + * ChangeLog.4: Likewise. + * ChangeLog.5: Likewise. + * cppexp.c: Likewise. + * df.c: Likewise. + * gcov.c: Likewise. + * gengtype.c: Likewise. + * reload1.c: Likewise. + * sched-rgn.c: Likewise. + * stmt.c: Likewise. + * stor-layout.c: Likewise. + * timevar.c: Likewise. + * toplev.c: Likewise. + * tree.h: Likewise. + * varasm.c: Likewise. + * config/fr30/fr30.md: Likewise. + * config/i386/i386.c: Likewise. + * config/ia64/ia64.c: Likewise. + * config/pa/pa.c: Likewise. - * 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. +2002-12-18 Roger Sayle -Sun Nov 21 01:00:40 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * basic-block.h (flow_bb_inside_loop_p): Correct prototype. - * config/m68k/isi.h (LIB_SPEC): Use -lm in addition to -lc-- - not instead of -lc. +2002-12-18 Aldy Hernandez - * fix-header.c (write_rbrac): Make added declarations conditional - on __cplusplus and nothing else. - * fixproto (stdio.h): Reenable adding protos for v*printf. + PR 8551 + * config/rs6000/altivec.h (vec_cmplt macro): Reverse arguments in + macro. + (vec_cmplt C++ functions): Reverse arguments. - * sys-protos.h (authdes_create): Delete arg info. - We can't count on having struct sockaddr defined. +2002-12-18 Geoffrey Keating - * fixincludes (math.h): When deleting inline sqrt and abs, - be flexible about arg name and function body. + * config/rs6000/t-rs6000: Move contents to t-fprules, + add rules for dependencies of rs6000.o and to build rs6000-c.o + * config/rs6000/t-fprules: New file from t-rs6000. + * config/rs6000/t-beos: Remove soft-fp rules. + * config/rs6000/t-ppccomm: Likewise. + * config/rs6000/t-newas: Likewise. + * config/rs6000/t-rs6000-c-rule: Delete. + * config.gcc: Use t-fprules for rs6000/ ports when appropriate. + Use t-rs6000 for all rs6000/ ports instead of t-rs6000-c-rule. + Create generic Darwin rules. - * Makefile.in (stmp-fixproto): Never run fixproto twice. + * gengenrtl.c (gencode): Delete unnecessary rtl_obstack declaration. -Sat Nov 20 16:52:15 1993 Jim Wilson (wilson@cygnus.com) +2002-12-18 Doug Evans - * stmt.c (warn_if_unused_value): Handle arbitrary number of casts - before a modify. + * m32r/m32r.c (addr24_operand): Fix arg to CONSTANT_POOL_ADDRESS_P + and LIT_NAME_P. + (move_src_operand): Remove compile-time warning. + * m32r/m32r.h (ROUND_ADVANCE_ARG): Ditto. -Sat Nov 20 16:38:25 1993 Eric Baur (eric@synnet.com) +2002-12-18 Jason Merrill - * i386/perform.h (perform_divsi3, perform_modsi3): Add '&' in - constraint for DX; explicitly copy arg arg1 to cx. + * unwind-dw2-fde.c (frame_downheap): Split out from... + (frame_heapsort): Here. -Sat Nov 20 02:26:28 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-12-17 Jason Merrill - * expr.c (expand_builtin): For sin, cos, fsqrt, alloca, ffs, strlen, - strcpy, memcpy, strcmp, memcmp, if args are bad, use expand_call. + * tree.c (make_node): Don't set TREE_TYPE on 's' class nodes. + (build1): Always set TREE_SIDE_EFFECTS on 's' class nodes. - * fix-header.c (write_rbrac): Treat rewinddir like memmove. + * gcc.c (do_spec_1) ['W']: End any pending argument from the braces. -Fri Nov 19 18:24:43 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * calls.c (expand_call): Don't try to be clever about expanding + the return slot address. - * protoize.c: Remove declarations for malloc and realloc. +2002-12-18 Kaz kojima - * expr.c (store_field): Convert EXP to MODE before calling - store_bit_field. + * config/sh/linux.h (NO_IMPLICIT_EXTERN_C, CPLUSPLUS_CPP_SPEC): + Define. - * optabs.c (expand_complex_abs): Replace some erroneous - uses of MODE with SUBMODE. +2002-12-17 Jason Merrill - * combine.c (force_to_mode): Don't allow sign-extension of - constants when we are narrowing things in an IOR or XOR. + * genmultilib: Use 'cd ./foo'. -Fri Nov 19 16:42:43 1993 Jim Wilson (wilson@cygnus.com) +2002-12-17 Kazu Hirata - * rs6000.c (output_function_profiler): When TARGET_MINIMAL_TOC, - emit .long instead of .tc. + * doc/c-tree.texi: Restore deliberate spelling mistakes. -Fri Nov 19 13:22:37 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) +2002-12-17 Kazu Hirata - * 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. + * doc/c-tree.texi: Fix typos and follow spelling conventions. + * doc/cpp.texi: Likewise. + * doc/extend.texi: Likewise. + * doc/gty.texi: Likewise. + * doc/install.texi: Likewise. + * doc/invoke.texi: Likewise. + * doc/md.texi: Likewise. + * doc/passes.texi: Likewise. + * doc/rtl.texi: Likewise. + * doc/sourcebuild.texi: Likewise. + * doc/tm.texi: Likewise. -Fri Nov 19 17:27:58 1993 Holger Teutsch (holger@hotbso.rhein-main.de) +2002-12-17 Jerry Quinn - * 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. + * doc/invoke.texi: Minor spelling and grammar fixes. - * clipper.md (movsf+1,2,movdf+1,2): Make 'f' preferred register class. +2002-12-17 Ulrich Weigand -Thu Nov 18 20:09:56 1993 Jim Wilson (wilson@sphagnum.cygnus.com) + * config/s390/s390.c (s390_output_constant_pool): Replace + ASM_OUTPUT_INTERNAL_LABEL by (*targetm.asm_out.internal_label). - * fixincludes: When compute DOTS, convert /./ to / to avoid - accidentally converting it to /../. - * fixinc.dgux, fixinc.svr4: Likewise. +Tue Dec 17 09:47:57 CET 2002 Jan Hubicka -Thu Nov 18 06:14:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * convert.c (convert_to_real): Disable function transformation for + now. - * 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. +2002-12-16 Geoffrey Keating -Wed Nov 17 18:54:21 1993 Chip Salzenberg (chip@fin.uucp) + * gcc.c (handle_braces): Allow '@' as a switch name. - * objc/objects.c: Include "tconfig.h" before "runtime.h". +2002-12-16 Jason Merrill -Wed Nov 17 19:15:31 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * calls.c (expand_call): Handle CALL_EXPR_HAS_RETURN_SLOT_ADDR + with special struct-return ABIs. - * fixincludes (math.h): Add missing quoting of `*' when fixing - prototype of `sqr'. + * c-semantics.c (add_scope_stmt): Abort if the end SCOPE_STMT + doesn't match the begin SCOPE_STMT in partialness. -Tue Nov 16 07:15:52 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +2002-12-16 Geoffrey Keating - * 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. + * genmultilib: Create temporary files in unique subdirectory. -Tue Nov 16 02:06:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * gcc.c (validate_switches): Allow '@' as a switch name. - * Version 2.5.4 released. +2002-12-16 Loren J. Rittle - * c-typeck.c (push_init_level): When aligning next struct field, - make sure there's another field left. + * Makefile.in (gcov-iov.h): Improve portability. - * cp-errfn.c: Don't include string.h. - (STRDUP): Macro deleted. - (cp_thing): Copy strings "by hand". +Mon Dec 16 23:39:19 CET 2002 Jan Hubicka - * combine.c (force_to_mode): Don't do right-shift in a narrower mode. + * mips.h (ASM_OUTPUT_ADDR_DIFF_ELT): Do not use qpword on API_N32/not + gas + * mips.md (tablejump insn): Likewise. -Mon Nov 15 01:54:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-12-16 Mark Mitchell - * sdbout.c (sdbout_symbol): If non-static var has static-style RTL, - don't output anything for it. + * doc/include/gcc-common.texi: Change version number to 3.4. - * Makefile.in (stmp-fixproto): Don't depend on xsys-protos.h. - (diff): Don't compare bi-parser.c +2002-12-16 Bruce Korb - * news.h (NO_DOT_IN_LABEL, NO_DOLLAR_IN_LABEL): Defined. + * fixinc/fixlib.h: add: #include + * fixinc/fixincl.c: remove: #include - * 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 Dec 16 17:20:04 2002 J"orn Rennecke -Mon Nov 15 02:09:54 1993 Torbjorn Granlund (tege@blues.cygnus.com) + * sh.h (EXTRA_CONSTRAINT_Z): New macro. + (EXTRA_CONSTRAINT): Use it. + * sh.md (anddi3): Use 'Z' constraint for alternative 2. - * pa.h (RETURN_IN_MEMORY): Define. +2002-12-15 Zack Weinberg -Sun Nov 14 17:25:29 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config.gcc (need_64bit_hwint): New variable. + (alpha*-*-*, x86_64-*-*, ia64-*-*, mips*-*-*, powerpc*-*-*, + mmix-knuth-mmixware, rs6000*-*-*, sparc64*-*-*, s390*-*-*, + sh*-*-*, hppa*64*-*-linux, parisc*64*-*-linux, hppa*64*-*-hpux11*, + sparcv9-*-solaris2*, sparc*-*-solaris2.[789], ultrasparc-*-freebsd*): + Set it. + (powerpc*-*-darwin*): Unset it. + (alpha-*-interix, alpha64-dec-*vms*, i?86-*-interix3*, + i?86-*-interix*, sparc64-*-openbsd*): Remove references to + deleted/nonexistent xm-*.h headers. + * configure.in: AC_DEFINE NEED_64BIT_HOST_WIDE_INT if the + target set need_64bit_hwint in config.gcc. + * configure, config.in: Regenerate. - * 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. + * hwint.h: Overhaul. Don't bother trying int for + HOST_WIDE_INT. Do try __int64 if long is not enough. Base + decision to force 64-bit HOST_WIDE_INT on + NEED_64BIT_HOST_WIDE_INT, not (MAX_)LONG_TYPE_SIZE which is + not visible at this point. Don't allow prior definition of + any macro defined by this file. - * c-typeck.c (convert_for_assignment): Fix typo (codel => coder). + * config/alpha/xm-vms.h: Don't define HOST_WIDE_INT or + HOST_BITS_PER_WIDE_INT. + * config/c4x/c4x.h: Adjust redefinition of + HOST_WIDE_INT_PRINT_HEX to match changes to hwint.h. + * config/alpha/xm-alpha-interix.h, config/alpha/xm-vms64.h, + config/i386/xm-i386-interix.h: Delete file. -Sun Nov 14 12:45:37 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +2002-12-14 Rodney Brown + John David Anglin - * function.c (assign_parms): Clear STACK_PARM when we have a - pass-by-pointer parm that we load into a pseudo. + * pa.c (output_millicode_call): Convert ASM_OUTPUT_INTERNAL_LABEL. + * pa64-hpux.h (ASM_OUTPUT_INTERNAL_LABEL): Delete define. - * flow.c (flow_analysis): Fix bug in previous change. +2002-12-14 Zack Weinberg - * fold-const.c (twoval_comparison_p): Do nothing for SAVE_EXPR, at - least for now. + * mkconfig.sh: Correct comment. Add copyright boilerplate. - * reload.c (push_reload): Allow RELOAD_FOR_INPUT with a secondary - reload the same class as the input if the modes differ. +2002-12-14 Zack Weinberg - * expr.c (store_expr): Convert constants to proper mode in two places. + * config/t-darwin, config/arm/t-pe, config/arm/t-strongarm-pe, + config/c4x/t-c4x, config/i370/t-i370, config/i386/t-cygwin, + config/i386/t-interix, config/i960/t-960bare, config/ia64/t-ia64, + config/rs6000/t-rs6000-c-rule, config/sparc/t-sol2, + config/v850/t-v850: Correct dependencies and normalize + compilation commands for files that include coretypes.h and tm.h. - * sh.h (HAVE_VPRINTF): Delete from here. - * xm-sh.h (HAVE_VPRINTF): New macro. + * config/sparc/gmon-sol2.c: Include tconfig.h and tsystem.h, + not config.h and system.h. -Sun Nov 14 04:28:56 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sat Dec 14 20:43:41 CET 2002 Jan Hubicka - * config/i860/i860.h (SECONDARY_INPUT_RELOAD_CLASS): - Moving any kind of integer cst to float reg needs intermediate. + * i386.c (flags_reg_operand): New function. + * i386.h (PREDICATE_CODES): Add flags_reg_operand. + * i386.md (cmov splitter, movqicc): Use new predicate. - * sys-protos.h (getmntent): Delete the arg decls - because BSD 4.4 and Sunos disagree on them. +Sat Dec 14 17:03:17 CET 2002 Jan Hubicka -Sat Nov 13 23:06:42 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * i386.md (movqicc splitter): Fix template. - * config/mips/mips.c (function_arg, function_arg_advance): - In default case, handle complex modes much like BLKmode. - (function_arg_partial_nregs): Likewise. +2002-12-13 Jason Merrill -Sat Nov 13 22:31:48 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * tree.h (CALL_EXPR_HAS_RETURN_SLOT_ADDR): New macro. + * calls.c (expand_call): Handle it. + * tree-inline.c (struct inline_data): Remove target_exprs field. + (optimize_inline_calls): Don't initialize it. + (expand_call_inline): Don't modify it. Handle + CALL_EXPR_HAS_RETURN_SLOT_ADDR. + (declare_return_variable): Take return slot addr. + * langhooks.h (copy_res_decl_for_inlining): Change target_exprs parm + to return_slot_addr. + * langhooks-def.h, langhooks.c: Adjust. + * explow.c (maybe_set_unchanging): Don't set RTX_UNCHANGING_P for + a decl with no DECL_INITIAL. - * alpha.h (CPP_SPEC): Always define __LANGUAGE_C__ unless assembler. - Define __cplusplus for C++. + * expr.c (expand_expr): Don't discard the target of a call which + returns in memory. - * alpha.md (movsf, movdf): Add 'G' to constraint for operand 1 - when operand 0 is a register and support it in alternative 0. +2002-12-13 Neil Booth - * 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. + * cppinit.c (path_include): Take an environment variable name. + Tidy up. + (init_standard_includes): Simplify environment handling, and + move to ... + (cpp_read_main_file): ...here as -nostdinc should not affect + environment variable paths. - * 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. +2002-12-13 John David Anglin - * expmed.c (store_split_bit_field): Properly load a constant VALUE - into a WORD_MODE pseudo. + * pa.c (output_millicode_call): Correct typo. + (output_call): Likewise. + +Fri Dec 13 21:07:18 2002 Alexandre Oliva + + * config/mn10300/mn10300.c (print_operand) : Check + operand's range. Print value directly, without aid from + output_address. + : New. + : Make sure argument to fprintf has the right type. + * config/mn10300/mn10300.h (OK_FOR_T): New macro. + (EXTRA_CONSTRAINT): Adjust. + * config/mn10300/mn10300.md: Add new all-QImode pattern for + bclr. Use %U for immediate operands of bset and bclr. + (iorqi3): New expand, with insns for AM33 and mn10300. + +Fri Dec 13 16:02:27 2002 J"orn Rennecke + + * sh.c (sh_register_operand): New function. + (prepare_move_operands): Use it. + * sh.h (PREDICATE_CODES): Add entry for sh_register_operand. + * sh.md (movsi_media, movsi_media_nofpu): Allow stores of 0. + (movqi_media, movhi_media, movdi_media, movdi_media_nofpu): Likewise. + (movdf_media, movdf_media_nofpu, movv4sf_i, movsf_media): Likewise. + (movsf_media_nofpu, movv2hi_i, movv4hi_i, movv8qi_i): Likewise. + (movv2si_i): Likewise. -Sat Nov 13 18:27:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-12-13 Jim Wilson - * config/ns32k/ns32k.md (movsi): Handle moves to fp reg. - Handle const_double as operand 1. + * doc/extend.texi (Complex Numbers): Update info on debug info. - * Makefile.in (diff): Fix typo in name gcc.??s. +2002-12-13 Kazu Hirata -Fri Nov 12 08:34:58 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * config/h8300/h8300.md (addhi3_h8300): Remove the last + alternative. - * dbxout.c (dbxout_type_field): Skip fields with variable - position and/or size instead of crashing on them. +2002-12-12 Zdenek Dvorak + + * hooks.h (hook_tree_tree_bool_false): Declare + hook_bool_tree_tree_false instead. + +2002-12-12 Devang Patel + + * doc/invoke.texi: Document Darwin linker options, -bundle + -bind_at_load, -all_load and -arch_errors_fatal + +2002-12-12 Jim Wilson + + * dbxout.c (dbxout_fptype_value): New. + (dbxout_type, case COMPLEX_TYPE): Call it. Use 'R' instead of 'r'. + +2002-12-12 Kazu Hirata + + * c-decl.c: Fix a comment typo. + * cfg.c: Likewise. + * cfgcleanup.c: Likewise. + * cfglayout.c: Likewise. + * cfgrtl.c: Likewise. + * c-typeck.c: Likewise. + * dominance.c: Likewise. + * dwarf2asm.c: Likewise. + * dwarfout.c: Likewise. + * expmed.c: Likewise. + * expr.c: Likewise. + * final.c: Likewise. + * flow.c: Likewise. + * function.c: Likewise. + * gcc.c: Likewise. + * genautomata.c: Likewise. + * integrate.c: Likewise. + * loop.c: Likewise. + * loop.h: Likewise. + * output.h: Likewise. + * profile.c: Likewise. + * ra.h: Likewise. + * reload1.c: Likewise. + * reload.c: Likewise. + * sched-rgn.c: Likewise. + * stmt.c: Likewise. + * tree.h: Likewise. + * vmsdbgout.c: Likewise. -Fri Nov 12 22:49:50 1993 Pat Rankin (rankin@eql.caltech.edu) +2002-12-12 Kazu Hirata - * 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. + * config/h8300/h8300.md: Add a new peephole2. -Fri Nov 12 18:41:51 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-12-12 Kazu Hirata - * gstdarg.h, gvarargs.h: Test __bsdi__ like __BSD_NET2__. + * config/h8300/h8300.md (a peephole2): Accept a constant + that's accepted by CONST_OK_FOR_J. - * pa.h (FUNCTION_ARG_BOUNDARY): Fix return value for 64bit - pass by value structures. +2002-12-12 Kazu Hirata - * fix-header.c (write_rbrac): Handle v*printf like memmove. + * config/h8300/h8300.h (CONST_OK_FOR_J): New. + (CONST_OK_FOR_LETTER_P): Use CONST_OK_FOR_J. + * config/h8300/h8300.md (*addhi_h8300): Add a new alternative. + (*addhi_h8300hs): Likewise. -Fri Nov 12 08:53:47 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) +Thu Dec 12 16:24:59 2002 J"orn Rennecke - * arm.md (comparison): Don't emit invalid optimization - for (set (reg) (comparison)) and (set (reg) (neg (comparison))) - when comparison is LT. + * sh.c (reg_class_from_letter): No longer const. Add 'e' entry. + (sh_register_move_cost): Add clause for SImode fp-fp moves. + Increase cost for moves involving multiple general purpose registers. + * sh.h (OVERRIDE_OPTIONS): Set reg_class_from_letter['e'] according to + TARGET_FMOVD. + (HARD_REGNO_MODE_OK): Allow V2SFmode and V4SFmode in general purpose + registers, and SImode in fp registers, for ! TARGET_SHMEDIA. + (enum reg_class reg_class_from_letter): No longer const. + (SECONDARY_OUTPUT_RELOAD_CLASS): Use REGCLASS_HAS_FP_REG / + REGCLASS_HAS_GENERAL_REG. + Handle SImode moves from/to fp registers. + ! TARGET_SHMEDIA && TARGET_FMOVD. + (SECONDARY_INPUT_RELOAD_CLASS): Use REGCLASS_HAS_FP_REG. + * sh.md (movsi_ie): Add alternatives to move from / to fp regisyters. - * arm.c (pattern_really_clobbers_lr): Setting a subreg of a mem is - valid and safe. +2002-12-12 Andreas Schwab -Fri Nov 12 08:38:22 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * config/ia64/ia64.c (ia64_hpux_asm_file_end): Fix typo in last + change and some warnings. - * m68k/hpux7.h: Add directory name to #include of hp320.h. +2002-12-12 Kazu Hirata -Thu Nov 11 00:00:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * doc/md.texi (pushm): Fix a typo. - * Version 2.5.3 released. +2002-12-12 Alexandre Oliva - * fix-header.c, gen-protos.c (fancy_abort): New function. + * config/mips/mips.c (mips_output_conditional_branch): Support + PIC-safe out-of-range branch and branch-likely. + * config/mips/mips.md (attr length): PIC-safe out-of-range + branches are longer. + ("jump"): Support PIC-safe out-of-range-for-branch jumps. Remove + unused code to support indirect jumps. - * c-typeck.c (mark_addressable): Handle REALPART_EXPR and - IMAGPART_EXPR. +2002-12-11 Zack Weinberg - * integrate.h (global_const_equiv_map_size): Declared. + * Makefile.in (GTFILES): Add $(host_xm_file_list) and + $(tm_file_list). - * dbxout.c (dbxout_symbol): If it's C++, don't check the - DECL_SOURCE_LINE of a typedef. - (dbxout_parms): Fix previous change. +2002-12-11 David Edelsohn -Wed Nov 10 10:33:28 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) + * config/rs6000/t-rs6000-c-rule: Add coretypes.h $(TM_H) dependencies. - * fixproto (rel_source_subdir): Prune out redundant /subdir/../ to - prevent recursion. +Wed Dec 11 15:20:45 CET 2002 Jan Hubicka -Wed Nov 10 22:30:16 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * i386.md (cmove splitters): Avoid creation of unnecesary subregs. - * config/ns32k/encore.h (ASM_OUTPUT_ASCII): Declare i. +2002-12-11 John David Anglin -Wed Nov 10 16:18:19 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * pa.h (BIGGEST_ALIGNMENT): Change 32-bit value to 64 bits. + (MAX_PARM_BOUNDARY, STACK_BOUNDARY): Express in terms of + BIGGEST_ALIGNMENT. + (PREFERRED_STACK_BOUNDARY): Express in terms of STACK_BOUNDARY. + (FUNCTION_BOUNDARY): Express in terms of BITS_PER_WORD. - * 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. +2002-12-11 Kazu Hirata -Wed Nov 10 08:44:17 1993 Niklas Hallqvist (niklas@appli.se) + * doc/invoke.texi: Correct dump file names. - * 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. +2002-12-09 Steve Ellcey - * cp-search.c (dfs_pushdecls): Don't be confused by the fact that - overloaded methods from an outer scope almost looks like an - envelope. + * config/ia64/ia64.c (ia64_hpux_asm_file_end): Don't send stripped + name to globalize_label or assemble_name. -Wed Nov 10 18:55:22 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) +Wed Dec 11 20:15:19 2002 J"orn Rennecke - * fixincludes: Copy files needed for other files at the very end. + * sh.h (REG_CLASS_HAS_GENERAL_REG): Only true for SIBCALL_REGS + if not TARGET_SHMEDIA. - * arm.md (reload patterns for mla instruction): New. +Wed Dec 11 19:05:05 2002 J"orn Rennecke -Wed Nov 10 18:17:40 1993 Jim Wilson (wilson@cygnus.com) + * sh.h (REG_CLASS_HAS_FP_REG): New. + (REGISTER_MOVE_COST) Use it. Put body into a function and + move it into: + * sh.c (sh_register_move_cost). + * sh-protos.h (sh_register_move_cost): Declare. - * dbxout.c (dbxout_parms): For parms passed via invisible - reference, accept any reg except FP, SP, and AP. + * sh.c (sh_expand_builtin): Abort for unexpected nop values. + (sh_adjust_cost): Always return a value. - * unroll.c (unroll_loop): Set global_const_equiv_map_size. +Wed Dec 11 18:39:52 2002 J"orn Rennecke -Wed Nov 10 17:52:33 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * sh.h (REG_CLASS_HAS_GENERAL_REG): New. + (REGISTER_MOVE_COST): Use it. - * 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. +2002-12-11 Richard Henderson - * 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. + * tree.h (MODULE_LOCAL_P): Kill. + * varasm.c (default_binds_local_p_1): Use decl_visibility instead. - * alpha.md (smaxdi3): Was incorrectly called maxdi3. +2002-12-11 Kazu Hirata - * rs6000.h (LINK_SPEC): Don't pass -btextro if -r. + * config/h8300/h8300.md (two define_peephole2): New. - * alpha/osf12.h: New file. - * configure (alpha-dec-osf1.2): New case, to use new file. +2002-12-11 Kazu Hirata - * rs6000.md (sqrtdf2): Fix typo in extra condition. - (plus/eq pattern): Fix typo: "addze" was "adddze". + * config/h8300/h8300.h (CONST_OK_FOR_J): Remove. + (CONST_OK_FOR_K): Likewise. + (CONST_OK_FOR_M): Likewise. + (CONST_OK_FOR_LETTER_P): Do not use the above macros. -Wed Nov 10 12:32:56 1993 Jim Wilson (wilson@sphagnum.cygnus.com) +2002-12-11 Neil Booth - * expmed.c (expand_divmod): If rem_flag, always force op0 to a - register. + * c-common.c (builtin_define_type_max): Handle unsigned + types too. - * expr.c (expand_expr): Use a smaller alignment when reading from - a field with a variable offset. +2002-12-10 David Edelsohn -Wed Nov 10 01:28:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * haifa-sched.c (rank_for_schedule): Correct style. - * expr.c (expand_assignment): Use a smaller alignment when storing - into a field with a variable offset. +2002-12-10 Per Bothner - * fixincludes (math.h): Delete inline definitions for sqr. + * cpplib.h (struct cpp_hashnode): Split a non-portably-signed field + directive_index into an unsigned field and a new is_directive field. + * cppinit.c (mark_named_operators): Update to set new fields. + * cpplex.c (_cpp_lex_direct): Now directive_field is unsigned. + * cpplib.c [_cpp_handle_directive]: Test is_directive field. + No longer need to subtract 1 from directive_index. + (_cpp_init_directives): No longer need to add 1 to directive_index. + * cpptrad.c (scan_out_logical_line): Use is_directive field. -Tue Nov 9 15:33:45 1993 Jason Merrill (jason@deneb.cygnus.com) +2002-12-10 Roger Sayle - * cp-method.c (hack_identifier): Undo rfg's earlier patch. + * builtins.c (fold_builtin): Remove -funsafe-math-optimizations + check for evaluating sqrt of a constant at compile time. + * simplify-rtx.c (simplify_unary_operation): Likewise. -Tue Nov 9 19:30:02 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-12-10 Janis Johnson - * reload1.c (reload) [SMALL_REGISTER_CLASSES]: Try, at least, - to avoid 2-groups whose second register is explicitly used. + PR other/8882 + * doc/tm.texi (PUSH_ARGS): Remove misplaced line. -Tue Nov 9 19:08:47 1993 Jim Wilson (wilson@cygnus.com) +2002-12-10 Devang Patel - * mips.md (adddi3): Use DImode not SImode in force_reg call. + * config/darwin.h(LINK_SPEC): Add darwin specific linker options. + * doc/invoke.texi: Add new "Darwin Options" section. - * mips.c (PIC_OFFSET_TABLE_MASK): New macro. - (function_epilogue): When -mabicalls, ignore - PIC_OFFSET_TABLE_REGNUM when calculating load_only_r31. +2002-12-10 Jim Wilson - * loop.c (strength_reduce): Accept VOIDmode initial values. + * rs6000.h (RETURN_IN_MEMORY): If ABI_V4, then TFmode is returned in + memory. -Tue Nov 9 09:23:31 1993 Torbjorn Granlund (tege@mole.gnu.ai.mit.edu) +2002-12-10 Andrew Haley - * pa.md (negscc): Add mode for NEG. + * cse.c (cse_insn): Don't cse past a basic block boundary. -Tue Nov 9 12:51:54 1993 John Hassey (hassey@dg-rtp.dg.com) +2002-12-10 Jakub Jelinek - * m88k.md ("cmpsf" & "cmpdf"): Undo inadvertent change included - with CCEVENmode change. + * config/linux.h (LIB_SPEC): If -pthread, add -lpthread even if + -shared. + * config/alpha/linux-elf.h (LIB_SPEC): Likewise. + * config/alpha/linux.h (LIB_SPEC): Likewise. + * config/arm/linux-elf.h (LIB_SPEC): Likewise. + * config/pa/pa-linux.h (LIB_SPEC): Likewise. + * config/sparc/linux.h (LIB_SPEC): Likewise. + * config/sparc/linux64.h (LIB_SPEC): Likewise. -Tue Nov 9 01:31:58 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-12-09 Larin Hennessy - * fixincludes (loop on $required): When a file is copied - because another file needs it, scan it for what files it needs. + * doc/invoke.texi: Document UltraSparc III option. - * fix-header.c (write_rbrac): When adding proto for memmove, - put it inside #ifndef memmove. +2002-12-09 Richard Henderson -Mon Nov 8 16:50:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): Define + __tune_pentium2__ and __tune_pentium3__ as necessary. - * sdbout.c (sdbout_init) [RMS_QUICK_HACK_1]: Call sdbout_symbol - for __vtbl_ptr_type. +2002-12-09 Richard Henderson - * cp-decl.c (init_decl_processing): Undo previous change. + * target.h (gcc_target): Add cannot_force_const_mem. + * target-def.h (TARGET_CANNOT_FORCE_CONST_MEM): New. + (TARGET_INITIALIZER): Add it. + * varasm.c (force_const_mem): Fail if cannot_force_const_mem. + * expr.c (emit_move_insn): Be prepared for force_const_mem to fail. + * reload1.c (reload): Likewise. + * hooks.c (hook_bool_rtx_false): New. + * hooks.h: Declare it. - * c-typeck.c (build_binary_op): Warn for ordered compare of ptr with 0 - only if pedantic in both cases. + * config/i386/i386.c (ix86_cannot_force_const_mem): New. + (TARGET_CANNOT_FORCE_CONST_MEM): New. + (ix86_expand_move): Remove de-const-pooling hack. -Mon Nov 8 18:25:06 1993 David Edelsohn (edelsohn@npac.syr.edu) +Mon Dec 9 21:33:38 CET 2002 Jan Hubicka - * rs6000.h (ASM_FILE_START): Emit filename directive. + * toplev.c (dump_file): Fix order to match reality. -Sun Nov 7 00:24:04 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-12-08 Geoffrey Keating - * Makefile.in (mostlyclean): Delete fixhdr.ready here. - (clean): Not here. + * config/rs6000/rs6000.md (load_multiple): Use adjust_address_nv. + (store_multiple): Likewise. - * 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). +2002-12-09 John David Anglin -Sat Nov 6 19:40:22 1993 Pat Rankin (rankin@eql.caltech.edu) + * pa/fptr.c (__canonicalize_funcptr_for_compare): Don't canonicalize + function pointers in page 0. - * config/vax/vms.h (__MAIN_NAME): Define as " main(" rather - rather than " main (" to reflect current cc1plus. +2002-12-09 Steve Ellcey - * config/vax/vms.h: Add __GNUC_MINOR__=5 to CPP_PREDEFINES. + * config/ia64/hpux.h (TARGET_STRUCT_ARG_REG_LITTLE_ENDIAN): Remove + definition + (MEMBER_TYPE_FORCES_BLK): Move. + * config/ia64/ia64.c (ia64_function_arg): Use PARALLEL to pass + aggregate arguments. + (ia64_function_value): Use PARALLEL to return aggregate values. -Sat Nov 6 22:54:25 1993 Tor Egge (tegge@pvv.unit.no) +2002-12-09 Steve Ellcey - * 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. + * doc/tm.texi (FUNCTION_ARG_REG_LITTLE_ENDIAN): Remove definition. + * defaults.h (FUNCTION_ARG_REG_LITTLE_ENDIAN): Remove definition. + * calls.c (store_unaligned_arguments_into_pseudos) Remove + FUNCTION_ARG_REG_LITTLE_ENDIAN. + * stmt.c (expand_return): Ditto. + * expr.c (move_block_from_reg): Ditto. + (copy_blkmode_from_reg): Ditto. + * expmed.c (store_bit_field): Ditto. -Sat Nov 6 17:07:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-12-09 Svein E. Seldal - * 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. + * config.gcc: Added tic4x-* target as an alias to c4x-* -Sat Nov 6 12:32:31 1993 Jim Wilson (wilson@sphagnum.cygnus.com) +Sun Dec 8 14:57:39 CET 2002 Jan Hubicka - * unroll.c (unroll_loop): Don't unroll loop if jump has combined - the original loop start label with another label. + * i386.c (ix86_expand_int_movcc): Use force_operand instead of + constructing insn directly. -Sat Nov 6 05:01:31 1993 Chris Smith (csmith@convex.com) +2002-12-06 Per Bothner - * convex.md (untyped_call, blockage): Add new patterns. + * cpplib.h (struct cpp_hashnode): Change field directive_index from + char to an int bit-field, for hosts where char is unsigned. -Sat Nov 6 03:11:46 1993 Noah Friedman (friedman@gnu.ai.mit.edu) +2002-12-07 Roger Sayle + Richard Henderson - * just-fixinc: Rename fixed native limits.h to syslimits.h (or - install gsyslimits.h) before renaming gcc's limits.h from tmpfoo - directory. + * real.c (ieee_extended_motorola_format, + ieee_extended_intel_96_format, ieee_extended_intel_128_format, + ieee_quad_format, vax_d_format, vax_g_format, i370_double_format): + Provide appropriate values for new signbit field. -Sat Nov 6 00:07:41 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-12-07 Roger Sayle - * expr.c (emit_move_insn_1): Push the components of a complex - in proper order: imag part has higher address. + * real.h (real_format): Add signbit field. + * real.c (ieee_single_format, ieee_double_format, + ieee_extended_motorola_format, ieee_extended_intel_96_format, + ieee_extended_intel_128_format, ibm_extended_format, + ieee_quad_format, vax_f_format, vax_d_format, + vax_g_format, i370_single_format, i370_double_format, + c4x_single_format, c4x_extended_format, real_internal_format): + Provide suitable signbit value, or -1 to avoid bit twiddling. -Fri Nov 5 16:23:51 1993 Jim Wilson (wilson@sphagnum.cygnus.com) + * optabs.c (expand_unop): Try implementing negation of + floating point modes by flipping the sign bit. + (expand_abs): Try implementing abs of floating point modes + by clearing the sign bit. - * 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. +Sat Dec 7 22:29:47 CET 2002 Jan Hubicka -Fri Nov 5 20:34:19 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * i386.c (ix86_expand_int_movcc): Use force_operand instead + of constructing insn directly. - * fixproto (stdio.h): Don't add protos for vprintf, vfprintf, vsprintf. +2002-12-07 Kazu Hirata -Fri Nov 5 20:32:53 1993 Torbjorn Granlund (tege@adder.cygnus.com) + * config/h8300/h8300.md (*iorhi_shift_8): New. - * config/pa/pa.md (decrement_and_branch_until_zero): - Add missing `return'. +2002-12-06 Bernd Schmidt -Fri Nov 5 16:08:34 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * doc/invoke.texi: Document FRV port options. + * doc/md.texi: Document FRV register classes. - * listing: Handle i386-linux like m68020. - Pass compilation options thru an awk variable, not as ordinary args. +2002-12-07 Gerald Pfeifer - * cccp.c (safe_read, safe_write): Handle EINTR. - (output_line_command): Handle NO_IMPLICIT_EXTERN_C here. - (main): Not here. + * doc/install.texi (Configuration): Improve description of cases + where `make distclean` may fail; clarify --with-gnu-as; fix grammar. - * protoize.c (safe_read, safe_write): Handle EINTR. - (safe_write): Return right away after safe_write. +2002-12-06 Per Bothner -Fri Nov 5 11:40:59 1993 Jeff Law (law@snake.cs.utah.edu) + * cpplib.h (NODE_MACRO_ARG): New flag. + (struct cpp_hashnode): Give _cpp_hashnode_value tag to value union. + Remove value.operator field. Move arg_index field to value union. + (directive_index): Make signed, since also used for C++ operators. + * cppmacro.c (_cpp_save_parameter): Use NODE_MACRO_ARG flag to + check for duplicate parameter. Set NODE_MACRO_ARG flag. + Save node->value, and set node->value.arg_index. + (_cpp_create_definition): For each paramater, restore node->value. + (lex_expansion_token): Use NODE_MACRO_ARG flag, and moved arg_index. + * cpptrad.c (scan_out_logical_line): Likewise. + (scan_out_logical_line): Check for directive > 0. + * cpplib.c (cpp_handle_directive): Likewise. + * cpplex.c (_cpp_lex_direct): Update as value.operator is replaced + by negative of directive_index. + * cppinit.c (mark_named_operators): Likewise. - * pa-ghpux.h (NO_IMPLICIT_EXTERN_C): Define. - * pa-hpux.h (NO_IMPLICIT_EXTERN_C): Define. + * hashtable.h (struct ht_identifier): Swap fields, for better packing. -Fri Nov 5 09:45:20 1993 Kresten Krab Thorup (krab@viking) +2002-12-06 Dhananjay Deshpande - * objc/archive.c (objc_read_string): Allocate string properly. - * objc/hash.h (compare_strings): Check for null pointers. + * gcc/config/sh/sh.c (calc_live_regs): Save fpscr only if target has + FPU. + (push): Generate push_fpscr. + (pop): Generate pop_fpscr. + * gcc/config/sh/sh.md : Add define_expand "push_fpscr", "pop_fpscr". + (fpu_switch): Add alternative to push fpscr. Enable for TARGET_SH3E. -Fri Nov 5 11:29:26 1993 David Edelsohn (edelsohn@npac.syr.edu) +Fri Dec 6 19:36:24 2002 J"orn Rennecke - * rs6000.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Use - REAL_ARITHMETIC macros including hex for special values. + * sh.c (dump_table): DImode pool constants need only 32 bit alignment. + DFmode alignment depends on TARGET_FMOVD && TARGET_ALIGN_DOUBLE. -Fri Nov 5 10:26:34 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Fri Dec 6 19:17:49 2002 J"orn Rennecke - * 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.) + * sh.md (movdi_i): Name. Remove inappropriate comment. -Fri Nov 5 07:39:00 1993 Michael Tiemann (tiemann@blues.cygnus.com) +Fri Dec 6 15:44:46 2002 J"orn Rennecke + Merged from basic improvements branch (excerpt): - * cp-search.c (compute_visibility): Don't lose access to public - members from base classes of base classes. + 2002-11-19 Kaz Kojima + * config/sh/sh.h (SH_DBX_REGISTER_NUMBER): Handle PR_MEDIA_REG. - * cp-search.c (get_base_distance): Initialize BASETYPE_PATH before - using. Also, initialize RVAL from get_base_distance_recursive. +2002-12-06 Jakub Jelinek -Fri Nov 5 05:48:04 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * expr.c (expand_expr) : Never modify exp in place. - * config/i860/paragon.h (SIZE_TYPE): #undef it. +Thu Dec 5 16:58:25 CET 2002 Jan Hubicka - * config/m88k/dgux.h (LIB_SPEC): Handle -msvr4. - (GPLUSPLUS_INCLUDE_DIR): Definition and #undef deleted. + * i386.md (dimode peep2s): Re-add "&& 1". - * cccp.c (main): Handle NO_IMPLICIT_EXTERN_C. +Thu Dec 5 14:10:15 CET 2002 Jan Hubicka -Fri Nov 5 03:11:05 1993 Torbjorn Granlund (tege@adder.cygnus.com) + * i386.c (ix86_expand_prologue): Add comment, do not use + fast prologues for cold and normal functions. - * config/m68k/m68k.h (RTX_COST): Return actual costs for - multiplication, not costs for theoretical special cases that are - not handled in the md. +Thu Dec 5 00:52:37 CET 2002 Jan Hubicka -Fri Nov 5 00:42:09 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * i386.c (x86_rep_movl_optimal): New variable. + (ix86_expand_movstr, ix86_expand_clrstr): Use TARGET_REP_MOVL_OPTIMAL + * i386.h (TARGET_REP_MOVL_OPTIMAL): New macro. - * emit-rtl.c (gen_highpart): If arg is function value hard reg, - return a subreg of it (as in gen_lowpart_common). + * i386.md (negsf2_ifs, negdf2_ifs, negdf2_ifs_rex64, abssf2_ifs, + absdf2_ifs, absdf2_ifs_rex64): Fix constraints. + neg?f2_ifs, abs?f2_ifs splitters): Refuse memory operand; do not + generate unnecesary subregs. - * 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. +2002-12-05 John David Anglin - * configure: Treat hppa1.[01]-hpux8.0[01] like hppa1.[01]-hpux8.02. + * pa32-linux.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL): Move define. + * pa.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL): To here. - * fixproto: Don't scan sub-directories whose names end in CC - or contain ++ - these are probably C++ directories. +2002-12-05 Dale Johannesen -Thu Nov 4 12:02:04 1993 Jim Wilson (wilson@sphagnum.cygnus.com) + * tree.c (unsafe_for_reeval): Consider callee child of CALL_EXPR. - * 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. +2002-12-05 Danny Smith -Thu Nov 4 15:00:38 1993 Samuel Figueroa (figueroa@cs.nyu.edu) + * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Replace with + PROFILE_HOOK. + * config/i386/mingw32.h (SUBTARGET_PROLOGUE): Don't undef. - * i386/os2.h, i386/xm-os2.h: New files. +2002-12-05 Aldy Hernandez -Thu Nov 4 14:36:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/rs6000/spe.h (__ev_mwlufi): Remove. + (__ev_mwlufia): Remove. + (__ev_mwlumfaaw): Remove. + (__ev_mwlusfaaw): Remove. + (__ev_mwlumfanw): Remove. + (__ev_mwlusfanw): Remove. - * c-decl.c (finish_enum): Undo previous change. +2002-12-05 Kazu Hirata -Thu Nov 4 13:30:16 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * config/h8300/h8300.md (*andorsi3_shift_8): New. - * loop.c (strength_reduce): Ignore initial value if it is the - wrong mode. - (record_initial): Don't ignore any set of the register. +2002-12-05 Kazu Hirata - * rs6000.md (movdf): Don't have reload choose alternative of - loading a constant into a GPR. + * config/h8300/h8300.c (shift_alg_si): Optimize ashift:HI and + lshiftrt:SI by 28, 29, and 30 bits when !TARGET_H8300. + (get_shift_alg): Return optimal assembly instructions for the + shifts mentioned above. - * 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. +Wed Dec 4 11:53:07 CET 2002 Jan Hubicka - * function.c (expand_function_start): If not optimizing, ensure - we mark context display regs as live for the entire function. + * i386.c (ix86_expand_int_movcc): Force operand into register for QImode + condtiional moves. -Thu Nov 4 02:24:22 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-12-04 Kazu Hirata - * 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. + * config/h8300/h8300.c (h8300_init_once): Do not use loop to + implement ashiftrt:HI by 13 bits on H8S. -Wed Nov 3 23:59:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-12-04 John David Anglin - * c-typeck.c (build_function_call): Initialize fundecl to 0. + * pa/fptr.c (__canonicalize_funcptr_for_compare): New file and function. + * pa.md (canonicalize_funcptr_for_compare): Output library call to + canonicalize_funcptr_for_compare_libfunc on TARGET_ELF32. + * pa32-linux.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL, + CTOR_LIST_BEGIN): New defines. + * pa/t-linux (LIB2FUNCS_EXTRA): New define. + (fptr.c): Add make rules. -Wed Nov 3 16:34:01 1993 Torbjorn Granlund (tege@adder.cygnus.com) +2002-12-04 Geoffrey Keating - * pa.h (REGISTER_MOVE_COST): Decrease cost for move from - SHIFT_REGS to avoid regclass overflow. + * combine.c (combine_simplify_rtx): Add new canonicalizations. + * doc/md.texi (Insn Canonicalizations): Document new + canonicalizations for multiply/add combinations. + * config/rs6000/rs6000.md: Add and modify floating add/multiply + patterns to ensure they're used whenever they can be. -Wed Nov 3 15:35:44 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-12-04 Kazu Hirata - * config/m68k/m68k.c (output_move_double): Fix up the test for overlap - of source address with operands[0]. + * config/h8300/h8300.c: Update the comments related to shifts. - * regclass.c (regclass): Consider commutativity even when - one arg is a constant. +2002-12-04 Chris Demetriou -Wed Nov 3 12:06:23 1993 Jim Wilson (wilson@sphagnum.cygnus.com) + * config/mips/mips.md (get_fnaddr): Correct length attribute. - * expmed.c (expand_divmod): Use target as copy_to_suggested_reg - argument only if it has the same mode as op0. +2002-12-04 Kazu Hirata -Wed Nov 3 04:58:26 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/h8300/h8300.md (*extzv_8_8): New. + (*extzv_8_16): Likewise. - * protoize.c (safe_write, safe_read): Really use arg DESC. +2002-12-04 Jason Merrill - * libgcc2.c (exit): Fix declaration of _exit. + PR c++/8461, c++/8625 + * integrate.c (copy_decl_for_inlining): Handle explicit invisible + references. + * tree-inline.c (initialize_inlined_parameters): Likewise. - * 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. + * tree.c (variably_modified_type_p): Just return an error_mark_node. - * c-decl.c (finish_enum): Always make an enum signed if it will fit. +2002-12-04 Chris Demetriou -Wed Nov 3 14:23:52 1993 Torbjorn Granlund (tege@adder.cygnus.com) + * config/mips/mips.md (get_fnaddr): Avoid placing an "la" + macro instruction in a branch delay slot, to avoid assembler + warnings. - * 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. +2002-12-04 Eric Botcazou -Wed Nov 3 03:56:55 1993 Paul Eggert (eggert@twinsun.com) + PR c/7622 + * c-semantics (genrtl_scope_stmt): Do not output inlined + nested functions that contain no code. - * dbxout.c (dbxout_type): Print `-2' instead of `0037777777776' - for an enumeration constant whose value is -2; - otherwise, GDB 4.11 rejects the type. +Wed Dec 4 15:20:54 CET 2002 Jan Hubicka -Wed Nov 3 04:35:13 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cfgrtl.c (force_nonfallthru_and_redirect): Allow abnormal edge + to be forced into nonfallthru. - * Makefile.in (fix-header, gen-protos): Link with HOST_LIBS. - Depend on HOST_LIBDEPS. +2002-12-03 Jason Thorpe -Wed Nov 3 00:07:18 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) + * config/t-netbsd (USER_H): Set to $(EXTRA_HEADERS). - * 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. +2002-12-03 Aldy Hernandez -Tue Nov 2 17:37:39 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/rs6000/spe.md (*movv1di_const0): New pattern. - * 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. +2002-12-03 Richard Henderson - * protoize.c (safe_read): New function. - (process_aux_info_file, edit_file): Use safe_read. + * libgcc-std.ver: Inherit GCC_3.3 from GCC_3.0. - * cccp.c (safe_read): New function. - (main, finclude, check_precompiled): Use safe_read. +2002-12-03 Hans-Peter Nilsson -Tue Nov 2 14:31:42 1993 Ian Lance Taylor (ian@cygnus.com) + * bitmap.c (bitmap_ior_and_compl, bitmap_union_of_diff): + Initialize tmp.using_obstack to 0. - * fixincludes: Don't remove /**/ from X11/Xlibint.h or - X11/extensions/multibufst.h; unnecessary. +2002-12-03 Andreas Schwab -Tue Nov 2 07:20:12 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * config/m68k/m68k.h (EH_RETURN_DATA_REGNO): Define. + (EH_RETURN_STACKADJ_RTX): Define. + (EH_RETURN_HANDLER_RTX): Define. + (ASM_PREFERRED_EH_DATA_FORMAT): Define. + * config/m68k/m68k.c (m68k_save_reg): New function. Handle eh + registers and don't save fixed registers. + (m68k_output_function_prologue): Use it. + (use_return_insn): Likewise. + (m68k_output_function_epilogue): Likewise. - * optabs.c (init_optabs): Function `ffs' takes `int', not mode that - is BITS_PER_WORD wide. +2002-12-03 Kazu Hirata -Tue Nov 2 02:53:26 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/h8300/h8300.c (single_one_operand): Fix a warning. + (single_zero_operand): Likewise. - * cp-typeck.c (comptypes): Fix typo in changing STRICT from 2 to 1. +2002-12-02 Nathanael Nerode - * protoize.c (edit_file): Use safe_write. - (safe_write): New subroutine. + * Makefile.in configure configure.in dummy-conditions.c fix-header.c + gcov-iov.c gen-protos.c genattr.c genattrtab.c genautomata.c + gencheck.c gencodes.c genconditions.c genconfig.c genconstants.c + genemit.c genextract.c genflags.c gengenrtl.c gengtype-lex.l + gengtype-yacc.y gengtype.c genopinit.c genoutput.c genpeep.c + genpreds.c genrecog.c gensupport.c mkconfig.sh read-rtl.c + scan-decls.c scan.c config/sh/sh.h doc/configfiles.texi + doc/install-old.texi: Replace hconfig.h with bconfig.h. + * Makefile.in: Replace HCONFIG_H with BCONFIG_H. - * calls.c (expand_call): Discard __ prefix like _ or __x. +2002-12-02 Andrew Pinski - * objc/objects.c: Include tconfig.h. + * config/rs6000/rs6000.md (ffssi): Convert to expander. + (ffsdi): Likewise. + (cntlzw2, cntlzd2): New patterns. -Mon Nov 1 23:34:46 1993 Rainer Orth (ro@anemone.techfak.uni-bielefeld.de) +2002-12-02 H.J. Lu - * 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] + * config.gcc (mips*-*-netbsd*): Remove mips/t-netbsd. + (mips*-*-linux*): Remove mips/t-linux. -Mon Nov 1 11:42:29 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) +Mon Dec 2 19:26:30 CET 2002 Jan Hubicka - * fixincludes: Fix like . + * i386.c (ix86_expand_int_movcc): Avoid overflow. - * fixincludes: Unquote 'f' in #define _IO. Fix elf.h like - elf_abi.h. For Irix 5. +2002-12-02 Kazu Hirata -Mon Nov 1 15:15:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/h8300/h8300.c (dosize): Replace argument op with + sign. + (h8300_output_function_prologue): Update the call to dosize. + (h8300_output_function_epilogue): Likewise. - * configure (mips-sgi-irix5*): Add fixincludes=Makefile.in. +2002-12-02 Bob Wilson - * fixproto (setjmp.h): Don't require siglongjmp and sigsetjmp. - They need sigjmp_buf, and are missing on many systems. + * config/xtensa/xtensa.h: Delete ifndefs with nothing inside them. - * 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. +2002-12-02 Craig Rodrigues -Mon Nov 1 15:19:09 1993 Ian Lance Taylor (ian@cygnus.com) + * configure.in: Use "missing" script to generate warning if + flex or bison programs not found, instead of invoking "false". + * configure: Rebuilt. - * fixincludes: Don't remove /**/ from X11/xmd.h; breaks gcc - -traditional on some systems. +Mon Dec 2 20:28:48 CET 2002 Jan Hubicka -Mon Nov 1 07:38:58 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu + * unroll.c (copy_loop_body): Copy CONST_OR_PURE_CALL_P. - * rs6000.md: Add set_attr for "length" when we are going to split - an insn at output time. +Mon Dec 2 19:42:52 CET 2002 Jan Hubicka - * rs6000.md (bdn/bdz): Fix typo in checking for when we - need to split. + * i386.c (ix86_expand_int_movcc): Avoid overflow. - * 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. +2002-12-02 Kazu Hirata - * stmt.c (expand_decl_init): If CONST_DECL, don't generate any - code, but call expand_expr if DECL_INITIAL is a constant. + * config/h8300/h8300.c (dosize): Output r7/er7 instead of sp. + (push): Likewise. + (pop): Likewise. + (h8300_output_function_prologue): Likewise. + (h8300_output_function_epilogue): Likewise. -Mon Nov 1 06:17:16 1993 Torbjorn Granlund (tege@adder.cygnus.com) +Mon Dec 2 14:43:22 2002 J"orn Rennecke - * m68k.md (divhisi3, udivhisi3, modhisi3, umodhi3): Comment out. - (divhisi3, udivhisi3, modhisi3, umodhi3 recognizers): Comment out. + * expmed.c (store_bit_field): Use int_mode_for_mode to find + corresponding mode of non-integer mode, unless it is VOIDmode. - * expmed.c (synth_mult): When factoring T, break from loop after - first factor. - (expand_mult): Increase max cost to 12 again. +2002-12-02 Kazu Hirata -Mon Nov 1 01:06:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/h8300/h8300.md (stm_h8300s_2): New. + (stm_h8300s_3): Likewise. + (stm_h8300s_4): Likewise. + (five define_peephole2): Likewise. - * cccp.c (safe_write): New function. - (write_output): Use safe_write. +2002-12-02 Kazu Hirata + + * ra-build.c: Fix a comment typo. + +Sun Dec 1 16:50:47 CET 2002 Jan Hubicka + + * i386.c (ix86_expand_int_movcc): fix + reversed BRANCH_COST test; be curefull about infinite recursion. + +2002-12-01 Kazu Hirata + + * config/h8300/h8300.c (h8300_output_function_prologue): + Remove variable idx. + (h8300_output_function_epilogue): Likewise. + +2002-12-01 Zack Weinberg + + * config/frv/xm-frv.h: Delete, unnecessary. + +2002-12-01 Kazu Hirata + + * config/h8300/h8300.md: Add comments for define_peephole2. + +2002-12-01 Mark Mitchell + + * builtin-types.def (BT_SIZE): Use size_type_node. + * builtins.c (fold_builtin): Make the builtin strlen returns a + size_t, not a sizetype. + * c-common.c (c_sizeof_or_alignof_type): Use size_type_node, not + c_size_type_node. + (c_alignof_expr): Likewise. + (c_common_nodes_and_builtins): Likewise. + * c-common.h (CTI_C_SIZE_TYPE): Remove. + (c_size_type_node): Likewise. + * c-format.c (T_ST): Use size_type_node, not c_size_type_node. + * tree.h (TI_SIZE_TYPE): New enumeral. + (size_type_node): Likewise. + +2002-11-30 Zack Weinberg + + * configure.in: Don't put ${tm_file} into host_xm_file, + build_xm_file, or xm_file. Do put tm-preds.h into tm_p_file. + Take location of tm-preds.h into account when calculating + tm_p_file_list. + * configure: Regenerate. + * mkconfig.sh: No need for separate TM_DEFINES and XM_DEFINES + arguments. Do not provide rtx, rtvec, tree, or GTY here. + Remove special case code for tm_p.h and *config.h; add new + special case code for tm.h and tconfig.h. Clean up a bit. + + * Makefile.in (tm_file, tm_file_list): New variables set from + @-substitutions. + (GCONFIG_H): Deleted. + (GTM_H, TM_H): New. + (CONFIG_H): Is now just config.h $(host_xm_file_list). + (TM_P_H): Move up with the other mkconfig.sh-generated + headers; don't mention tm-preds.h explicitly. + (tm.h, cs-tm.h): New rule. + (cs-config.h, cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): Adjust + invocations of mkconfig.sh for changes to that program. + (mostlyclean): Delete print-rtl1.c. + (clean): Delete tm.h. + Update dependencies for the files listed below. + + * mklibgcc.in: Add 'coretypes.h $(TM_H)' to libgcc2_c_dep. + + * coretypes.h: New file. + * system.h: #define malloc to xmalloc and realloc to xrealloc + when FLEX_SCANNER or YYBISON is defined, independent of the + value of GCC_VERSION. + * alias.c, attribs.c, bb-reorder.c, bitmap.c, builtins.c, + c-aux-info.c, c-common.c, c-convert.c, c-decl.c, c-dump.c, + c-errors.c, c-format.c, c-lang.c, c-lex.c, c-objc-common.c, + c-opts.c, c-parse.in, c-pragma.c, c-pretty-print.c, + c-semantics.c, c-typeck.c, caller-save.c, calls.c, cfg.c, + cfganal.c, cfgbuild.c, cfgcleanup.c, cfglayout.c, cfgloop.c, + cfgrtl.c, collect2.c, combine.c, conflict.c, convert.c, + cppdefault.c, cpperror.c, cppexp.c, cppfiles.c, cpphash.c, + cppinit.c, cpplex.c, cpplib.c, cppmacro.c, cppmain.c, + cppspec.c, cpptrad.c, crtstuff.c, cse.c, cselib.c, dbxout.c, + debug.c, df.c, diagnostic.c, doloop.c, dominance.c, + dummy-conditions.c, dwarf2asm.c, dwarf2out.c, dwarfout.c, + emit-rtl.c, errors.c, et-forest.c, except.c, explow.c, + expmed.c, expr.c, final.c, fix-header.c, flow.c, fold-const.c, + function.c, gcc.c, gccspec.c, gcov-dump.c, gcov-iov.c, gcov.c, + gcse.c, gen-protos.c, genattr.c, genattrtab.c, genautomata.c, + gencheck.c, gencodes.c, genconditions.c, genconfig.c, + genconstants.c, genemit.c, genextract.c, genflags.c, + gengenrtl.c, gengtype-lex.l, gengtype-yacc.y, gengtype.c, + genopinit.c, genoutput.c, genpeep.c, genpreds.c, genrecog.c, + gensupport.c, ggc-common.c, ggc-none.c, ggc-page.c, + ggc-simple.c, global.c, graph.c, haifa-sched.c, hashtable.c, + hooks.c, ifcvt.c, integrate.c, intl.c, jump.c, langhooks.c, + lcm.c, libgcc2.c, line-map.c, lists.c, local-alloc.c, loop.c, + main.c, mbchar.c, mips-tdump.c, mips-tfile.c, mkdeps.c, + optabs.c, params.c, predict.c, prefix.c, print-rtl.c, + print-tree.c, profile.c, protoize.c, ra-build.c, + ra-colorize.c, ra-debug.c, ra-rewrite.c, ra.c, read-rtl.c, + real.c, recog.c, reg-stack.c, regclass.c, regmove.c, + regrename.c, reload.c, reload1.c, reorg.c, resource.c, + rtl-error.c, rtl.c, rtlanal.c, sbitmap.c, scan-decls.c, + scan.c, sched-deps.c, sched-ebb.c, sched-rgn.c, sched-vis.c, + sdbout.c, sibcall.c, simplify-rtx.c, ssa-ccp.c, ssa-dce.c, + ssa.c, stmt.c, stor-layout.c, stringpool.c, timevar.c, + tlink.c, toplev.c, tracer.c, tree-dump.c, tree-inline.c, + tree.c, unroll.c, varasm.c, varray.c, varray.h, vmsdbgout.c, + xcoffout.c, config/darwin-c.c, config/darwin.c, + config/fp-bit.c, config/alpha/alpha.c, config/alpha/vms-cc.c, + config/alpha/vms-ld.c, config/arc/arc.c, config/arm/arm.c, + config/arm/pe.c, config/avr/avr.c, config/c4x/c4x-c.c, + config/c4x/c4x.c, config/cris/cris.c, config/d30v/d30v.c, + config/dsp16xx/dsp16xx.c, config/fr30/fr30.c, + config/frv/frv.c, config/h8300/h8300.c, config/i370/i370-c.c, + config/i370/i370.c, config/i386/i386.c, config/i386/winnt.c, + config/i960/i960-c.c, config/i960/i960.c, + config/ia64/ia64-c.c, config/ia64/ia64.c, config/ip2k/ip2k.c, + config/m32r/m32r.c, config/m68hc11/m68hc11.c, + config/m68k/m68k.c, config/m88k/m88k.c, config/mcore/mcore.c, + config/mips/irix6-libc-compat.c, config/mips/mips.c, + config/mmix/mmix.c, config/mn10200/mn10200.c, + config/mn10300/mn10300.c, config/ns32k/ns32k.c, + config/pa/pa.c, config/pdp11/pdp11.c, config/romp/romp.c, + config/rs6000/rs6000-c.c, config/rs6000/rs6000.c, + config/s390/s390.c, config/sh/sh.c, config/sparc/gmon-sol2.c, + config/sparc/sparc.c, config/stormy16/stormy16.c, + config/v850/v850-c.c, config/v850/v850.c, config/vax/vax.c, + config/xtensa/xtensa.c, objc/objc-act.c, objc/objc-lang.c: + Include coretypes.h and tm.h. + + * genattrtab.c, genconditions.c, genemit.c, genextract.c, + gengenrtl.c, gengtype.c, genopinit.c, genoutput.c, genpeep.c, + genrecog.c: Include coretypes.h and tm.h from the file + generated by this program. + + * unwind-dw2-fde-darwin.c, unwind-dw2-fde-glibc.c, + unwind-dw2-fde.c, unwind-dw2.c, unwind-sjlj.c: Include + coretypes.h and tm.h, and tsystem.h when not already included. + No need to include stddef.h nor stdlib.h. + + * fixinc/fixlib.h: Include coretypes.h and tm.h. Do not + include auto-host.h or ansidecl.h/ + * fixinc/server.h: Do not include stdio.h, unistd.h, or fixlib.h. + * fixinc/procopen.c: Include server.h after fixlib.h. Do not + include auto-host.h, ansidecl.h, or system.h. + * fixinc/server.c: Likewise. Also, do not include signal.h, + and do not redefine volatile. + +Sat Nov 30 17:16:46 CET 2002 Jan Hubicka + + * i386.md (movdf_integer): Always enable in 64bit. + (movdf_nointeger): Always disable in 64bit. + +2002-11-30 John David Anglin + + * cfg.c (dump_flow_info): Use max_reg_num () to determine the largest + pseudo register number plus 1. + +Fri Nov 29 20:10:56 2002 J"orn Rennecke + + * expmed.c (store_bit_field): Use int_mode_for_mode to find + corresponding mode of non-integer mode, unless it is VOIDmode. + +2002-11-29 Hans-Peter Nilsson + + * cpplib.c (_cpp_test_assertion): Default *value to 0. + + * cppexp.c (num_part_mul): Initialize result.unsignedp, to 1. + +2002-11-29 Ulrich Weigand + + * config/s390/t-crtstuff: New target makefile fragment. + * config.gcc [s390-*-linux, s390x-*-linux]: Use it. + +2002-11-29 Kazu Hirata + + * config/h8300/h8300.md (movsi_h8300hs): Change the order of + alternatives to correct the length when the memory operand is + either pre_dec or post_inc. + +2002-11-29 Kazu Hirata + + * config/h8300/h8300.md (an anonymous pattern): Give an + internal name *tst_extzv_bitqi_1_n. + Accept bit_operand instead of bit_memory_operand. + Do not accept bit tests with the MSB. + (*tst_extzv_memqi_1_n): New. + +Thu Nov 28 23:56:24 CET 2002 Jan Hubicka + + * i386.c (ix86_expand_int_movcc): Add copy_rtx to avoid invalid RTX + sharing when operand is SUBREG. + +Thu Nov 28 08:57:26 CET 2002 Jan Hubicka + + * athlon.md (athlon-decodev): New reservation unit. + (athlon-direct0): New reservation. + (athlon-vector): New use athlon-decodev. + (athlon-double, athlon-direct): Better model. + (athlon_imul_k8): Use athlon-direct0. + (athlon_movlpd_load): New insn reservation. -Mon Nov 1 01:06:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-11-28 Kazu Hirata - * Version 2.5.2 released. + * config/h8300/h8300.c (h8300_eightbit_constant_address_p): + Fix a comment typo. + (h8300_tiny_constant_address_p): Likewise. - * cccp.c (do_ident): Fix previous change. +2002-11-28 Michael Matz -Sun Oct 31 14:41:40 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * doc/passes.texi: Mention the other register allocator. - * Version 2.5.1 released. +2002-11-28 Kazu Hirata - * cccp.c (do_ident): Substitute macros and output here. - (directive_table): Turn off the pass_thru field for #ident. + * config/h8300/h8300.md (6 new peephole2 patterns): New. - * c-common.c (shorten_compare): Undo previous change. - Instead, just suppress warnings if both args are constant. +2002-11-28 Jakub Jelinek - * 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. + * config.gcc (x86_64-*-linux*) [tmake_file]: Remove i386/t-crtstuff. + * config/t-linux (CRTSTUFF_T_CFLAGS_S): Add $(CRTSTUFF_T_CFLAGS). + * config/i386/t-linux64 (CRTSTUFF_T_CFLAGS): Define. - * config/m68k/m68k.c (output_move_double): Extend the special case - for *--sp = sp[N] to handle 12 bytes as well as 8 bytes. +2002-11-28 Kazu Hirata -Sun Oct 31 17:02:13 1993 Jason Merrill (jason@deneb.cygnus.com) + * config/h8300/h8300.c (h8300_and_costs): New. + * config/h8300/h8300.h (RTX_COSTS): Use h8300_and_costs. + * config/h8300/h8300-protos.h: Add a prototype for + h8300_and_costs. - * cp-init.c (expand_aggr_init_1): When unswitching a COND_EXPR - initializer (i.e. int a = b ? 1 : 0 => int a; b ? a=1 : a=0), - set TREE_SIDE_EFFECTS on the result. +Wed Nov 27 20:34:13 CET 2002 Jan Hubicka -Sun Oct 31 13:33:46 1993 Jim Wilson (wilson@cygnus.com) + * i386.c (x86_sse_partial_regs_for_cvtsd2ss): New. + * i386.h (x86_sse_partial_regs_for_cvtsd2ss): Declare. + (TARGET_SSE_PARTIAL_REGS_FOR_CVTSD2SS): New macro. + * i386.md (truncdfsf patterns and splitters): Use + TARGET_SSE_PARTIAL_REGS_FOR_CVTSD2SS - * expr.c (do_store_flag): For equality test of a single bit, use - subtarget instead of target in calls. +2002-11-27 Zack Weinberg -Sat Oct 30 17:58:37 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/rs6000/rs6000.c (altivec_init_builtins): Make the + pointer argument in the prototypes of the following builtins + be (const TYPE *) rather than (TYPE *): + + __builtin_altivec_ld_internal_4sf + + __builtin_altivec_ld_internal_4si + + __builtin_altivec_ld_internal_8hi + + __builtin_altivec_ld_internal_16qi + + __builtin_altivec_lvsl + + __builtin_altivec_lvsr + + __builtin_altivec_lvebx + + __builtin_altivec_lvehx + + __builtin_altivec_lvewx + + __builtin_altivec_lvxl + + __builtin_altivec_lvx + + __builtin_altivec_dst + + __builtin_altivec_dstt + + __builtin_altivec_dstst + + __builtin_altivec_dststt - * config/m68k/hpux7.h: New file. - * configure (m68k-hp-hpux7*): New alternative. +2002-11-27 Kaveh R. Ghazi - * c-common.c (shorten_compare): Do nothing if both args constant. + * except.c (default_exception_section): Move variable into the + scope where it is used. - * config.sub: Re-add hitachi to list of companies not to treat - as OS names. +2002-11-27 Krister Walfridsson - * expr.c (convert_move): When extending to multi-word register - via its low word, clobber the whole thing. + * config.gcc (*-*-netbsd[2-9]*, *-*-netbsdelf[2-9]*): Test for + correct version. - * config/i386/i386.c (output_move_double): Extend the special case - for *--sp = sp[N] to handle 12 bytes as well as 8 bytes. +2002-11-27 Kazu Hirata -Sat Oct 30 17:21:33 1993 Atsushi Furuta (furuta@sra.co.jp) + * config/h8300/h8300.h (OK_FOR_U): Remove extra parentheses. - * 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. +2002-11-27 Kazu Hirata -Sat Oct 30 03:40:08 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/h8300/h8300.c (h8300_shift_costs): New. + * config/h8300/h8300.h (RTX_COSTS): Use h8300_shift_costs. + * config/h8300/h8300-protos.h: Add a prototype for + h8300_shift_costs. - * config/pa/pa.c (output_dbra): Fix argument number in addi at end. +2002-11-27 Jim Wilson - * tree.h (enum built_in_function): Added END_BUILTINS to delimit - standard from language-specific builtins. + * config/rs6000/spe.md (spu_evsplatfi, spu_evsplati): Swap operands + in output template. - * 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. +2002-11-27 Casper S. Hornstrup - * c-common.c (convert_and_check): Don't warn converting 0xff - to a signed char, etc., unless pedantic. + * config/i386/i386.h (DLL_IMPORT_EXPORT_PREFIX): Define. + * config/i386/winnt.c (i386_pe_dllexport_name_p): Use + DLL_IMPORT_EXPORT_PREFIX, not '@'. + (i386_pe_dllimport_name_p): Likewise. + (i386_pe_mark_dllexport): Likewise. + (i386_pe_mark_dllimport): Likewise. + (i386_pe_encode_section_info): Likewise. + (i386_pe_strip_name_encoding): Likewise. - * Makefile.in (mainversion): New variable. - (distdir): Use mainversion when verifying gcc.texi has been updated. +2002-11-27 Richard Henderson -Sat Oct 30 03:12:54 1993 Torbjorn Granlund (tege@cygnus.com) + * mkmap-symver.awk (BEGIN): Set sawsymbol false. + (nm && NF == 3): Set sawsymbol true. + (END): Exit if no symbols seen. + (output): Fix map syntax error if no globals for the version. - * m68k.md (mulsidi3 patterns): Fix typo, LSHIFTRT was ASHIFT. +Wed Nov 27 14:45:46 CET 2002 Jan Hubicka -Fri Oct 29 12:06:09 1993 Ian Lance Taylor (ian@cygnus.com) + * builtins.def (DEF_C99_BUILTIN): Fix. - * fixinc.svr4 (sys/stat.h): Don't change definitions into - prototypes if they may already be in prototype form. +2002-11-26 Kaz Kojima -Fri Oct 29 16:50:33 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/sh/lib1funcs.asm (FUNC, ENDFUNC0, ENDFUNC): New macros. + (all): Add .size and .type information. - * config/i386/linux.h (LIB_SPEC): Use -lieee if -mieee-fp. +Tue Nov 26 22:43:50 CET 2002 Jan Hubicka -Fri Oct 29 13:04:16 1993 Arne H. Juul (arnej@fm.unit.no) + * i386.c (ix86_expand_int_movcc): Do not emit lea for short mode on + partial_reg_stall target. - * mips/iris5.h (LINK_SPEC): Pass -no_unresolved if -call_shared. +Tue Nov 26 22:27:47 CET 2002 Jan Hubicka -Fri Oct 29 12:52:54 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * i386.md (movhicc): Allow general operand. + (movqicc): New expander. + (movqicc_noc): New pattern. + * i386.c (ix86_expand_carry_flag_compare): New function. + (ix86_expand_int_movcc): Optimize harder using sbb; support more + HImode conversion; support QImode conditional moves + +Tue Nov 26 16:30:59 CET 2002 Jan Hubicka - * rs6000.md (addsf3, subsf3, mulsf3, divsf3): Put POWERPC first, - then POWER. + * i386.c (FAST_PROLOGUE_INSN_COUNT): Set to 20. + (ix86_expand_prologue): Multiply the count by amount of registers to be + pushed. - * mips/iris5.h ({DBX,SDB,MIPS}_DEBUGGING_INFO): Turn off until working. +Tue Nov 26 15:55:27 CET 2002 Jan Hubicka -Fri Oct 29 12:15:12 1993 Minh Tran-Le (tranle@intellicorp.com) + * i386.c (override_options): Error about wrong -mcpu on x86-64 + compilation. - * i386/xm-aix.h: Define HAVE_PUTENV for AIX PS/2. +2002-11-26 NIIBE Yutaka -Fri Oct 29 11:49:46 1993 DJ Delorie (dj@ctron.com) + * config/sh/linux.h (FUNCTION_PROFILER): Implemented. - * i386/go32.h: Add support for coff-based ctor/dtor handling. +Tue Nov 26 00:14:20 CET 2002 Jan Hubicka -Thu Oct 28 21:33:22 1993 Kresten Krab Thorup (krab@next.com) + * i386-protos.h (x86_extended_QIreg_mentioned_p, + x86_extended_reg_mentioned_p): Declare. + * i386.c (extended_reg_mentioned_1): New static function. + (x86_extended_QIreg_mentioned_p, + x86_extended_reg_mentioned_p): New global functions. + * i386.h (REX_SSE_REGNO_P): New macro. + * i386.md (prefix_rex): New attribute. + (length attribute): Add rex. - * objc-act.c (check_methods_accessible): Fix bug in - -Wno-protocol. Reset chain to bottom class for each search. +2002-11-26 Andrew Haley -Thu Oct 28 21:30:38 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * unwind-sjlj.c (_Unwind_FindEnclosingFunction): Rename + from_Unwind_Find_Enclosing_Function. + * unwind-dw2.c (_Unwind_FindEnclosingFunction): Likewise. + * config/ia64/unwind-ia64.c (_Unwind_FindEnclosingFunction): Likewise. + * libgcc-std.ver (_Unwind_FindEnclosingFunction): Rename from + _Unwind_Find_Enclosing_Function, export @@GCC_3.3. + * unwind.h (_Unwind_FindEnclosingFunction): Add. - * c-parse.in (init): Remove extraneous pop_momentary in error case. +2002-11-26 Hartmut Penner -Thu Oct 28 19:01:33 1993 Ron Guilmette (rfg@netcom.com) + * config/s390/s390.c (390_output_constant_pool): Set alignment + before label in 64 bit mode, behind otherwise. - * cp-method.c (hack_identifier): If an overloaded identifier - can only mean one thing, it can only mean one thing. +2002-11-26 Richard Henderson -Thu Oct 28 18:52:15 1993 John F Carr (jfc@mit.edu) + * c-common.c (handle_visibility_attribute): Accept "default". + * tree.h (enum symbol_visibility): New. + (decl_visibility): Declare. + * target.h (gcc_target.visibility): Take visibility arg as integer. + * varasm.c (default_assemble_visibility): Likewise. + (decl_visibility): New. + (maybe_assemble_visibility): Use it. + * output.h (default_assemble_visibility): Update prototype. + * config/rs6000/rs6000.c (rs6000_assemble_visibility): Take + visibility arg as integer. + * doc/extend.texi: Document default visibility. - * cp-typeck.c (get_member_function_from_ptrfunc): Convert delta - to size_t before adding to pointer. +2002-11-26 Kazu Hirata -Thu Oct 28 18:43:41 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) + * config/h8300/h8300.c: Adjust spacing. + * config/h8300/h8300.h: Likewise. - * arm.h (ENCODE_SECTION_INFO): Use DECL_RTL for DECLs. +2002-11-26 Richard Henderson -Wed Oct 27 20:58:31 1993 Torbjorn Granlund (tege@adder.cygnus.com) + * hooks.c (hook_bool_void_false, hook_void_tree_int, + hook_void_FILEptr_constcharptr): Rename so that the return + type is first. + (hook_int_tree_tree_1, hook_void_tree, hook_void_tree_treeptr, + hook_bool_tree_false): New. + * hooks.h: Update. + * langhooks-def.h: Update for renames. + * target-def.h: Likewise. + * tree.c (default_comp_type_attributes, + default_set_default_type_attributes, default_insert_attributes, + default_function_attribute_inlinable_p, + default_ms_bitfield_layout_p): Remove. + * tree.h: Update. - * pa.c (emit_move_sequence): Fix typo, `Pmode' was `mode'. +2002-11-26 John David Anglin -Wed Oct 27 00:01:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * pa-protos.h (function_value): New prototype. + * pa.c (function_value): Use a PARALLEL to return small aggregates on + TARGET_64BIT. + * pa.h (FUNCTION_VALUE): Use function_value. + * pa.md (call_value_internal_symref, call_value_internal_reg_64bit, + call_value_internal_reg, sibcall_value_internal_symref, + sibcall_value_internal_symref_64bit): Remove =rf constraint on return + value. - * cse.c (cse_insn): When using src_related, copy the rtx. - Likewise for src_eqv_here. +2002-11-26 John David Anglin - * c-typeck.c (output_pending_init_elements): Don't crash if - constructor_unfilled_fields is 0. + * expr.c (gen_group_rtx, emit_group_move): New functions. + * expr.h (gen_group_rtx, emit_group_move): Prototype. + * function.c (expand_function_start): Use gen_group_rtx to create a + PARALLEL rtx to hold the return value when the real return rtx is a + PARALLEL. + (expand_function_end): Use emit_group_move to move the return value + from a PARALLEL to the real return registers. + * rtl.h (REG_FUNCTION_VALUE_P): Allow function values to be returned + in PARALLELs. - * fixincludes (bsd/sys/wait.h): Undo previous change. +2002-11-26 Jason Thorpe - * config/m68k/xm-amix.h (abort): Don't use fancy_abort. - (alloca): In GCC 1, define as __builtin_alloca. + * config/t-libc-ok: Fix typo. - * 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. +2002-11-26 Jakub Jelinek - * function.c (assign_parms): If parmreg is a CONCAT, handle the - case where stack_parm is 0. + * configure.in: Move AC_CANONICAL_SYSTEM and AC_ARG_PROGRAM back + before AC_PROG_CC. + * configure: Rebuilt. - * expr.c (do_jump): Use do_jump_by_parts_equality for complex compares. +2002-11-26 Nathan Sidwell - * 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. + * c-decl.c: (start_struct): Commonize flag setting. - * bytecode.def: Rename dup to duplicate. - * expr.c (expand_assignment): Use duplicate. - (bc_expand_expr): Likewise. - (bc_expand_constructor): Likewise. +2002-11-26 Jason Thorpe + + * config/rs6000/rs6000.h (RS6000_CPU_CPP_ENDIAN_BUILTINS): New. + * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Use + RS6000_CPU_CPP_ENDIAN_BUILTINS. + * config/rs6000/netbsd.h (RS6000_CPU_CPP_ENDIAN_BUILTINS): Redefine. + +2002-11-26 Hartmut Penner + + * config/s390/s390.md (literal_pool_64, literal_pool_31 ): New + insns. + * config/s390/s390.c (struct machine_function): Introduction of + struct machine_function. + (s390_output_symbolic_const): Use of cfun. + (s390_optimize_prolog): Likewise. + (s390_fixup_clobbered_return_reg): Likewise. + (s390_frame_info): Likewise. + (s390_emit_prologue, s390_emit_epilogue): Likewise. + (s390_init_machine_status): New function. + (override_options): call s390_init_machine_status. + * config/s390/s390-protos.h (s390_output_constant_pool): Changed + prototype. + +2002-11-26 Jakub Jelinek + + * varasm.c (output_constant_pool): For pool constants in mergeable + section ensure each constant is padded to multiple of entity size. + +2002-11-26 Jakub Jelinek + + * varasm.c (default_exception_section): Move to... + * except.c (default_exception_section): ... here. Make + .gcc_except_table read-only if it is not expected to have any + dynamic relocations and linker handles it. + * dwarf2out.c (default_eh_frame_section): Make .eh_frame read-only + if it is not expected to have any dynamic relocations and linker + handles it. + * configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Check what ld does + when linking read-only and read-write sections together. + * configure, config.in: Rebuilt. + * crtstuff.c (EH_FRAME_SECTION_CONST): Define. + (__EH_FRAME_BEGIN__, __FRAME_END__): Add it. + +Mon Nov 25 18:32:37 CET 2002 Jan Hubicka + + * i386.md (pushsf_rex64): Fix typo. + +2002-11-25 Aldy Hernandez + + * config/rs6000/spe.h (__ev_create_sfix32_fs): Change macro into + new function. + (__ev_create_ufix32_fs): Same. + (__ev_get_sfix32_fs_internal): New. + (__ev_get_sfix32_fs): Define to use function. + (__ev_get_ufix32_fs_internal): New. + (__ev_get_ufix32_fs): Define to use function. + (__ev_get_upper_ufix32_fs): Call __ev_get_ufix32_fs. + (__ev_get_lower_ufix32_fs): Same. + (__ev_get_upper_sfix32_fs): Call __ev_get_sfix32_fs. + (__ev_get_lower_sfix32_fs): Same. + (__ev_set_sfix32_fs_internal): New. + (__ev_set_ufix32_fs_internal): New. + (__ev_set_sfix32_fs): Call __ev_set_sfix32_fs_internal. + (__ev_set_ufix32_fs): Call __ev_set_ufix32_fs_internal. + (__ev_set_upper_sfix32_fs): Call function. + (__ev_set_lower_sfix32_fs): Same. + (__ev_set_upper_ufix32_fs): Same. + (__ev_set_lower_ufix32_fs): Same. + +2002-11-25 Douglas B Rupp + + * gcc.c (do_spec_1): Reset delete_this_arg to zero. + +2002-11-25 Jason Thorpe + + * config/elfos.h (HANDLE_SYSV_PRAGMA): Define as 1. + * config/interix.h (HANDLE_SYSV_PRAGMA): Likewise. + * config/linux-aout.h (HANDLE_SYSV_PRAGMA): Likewise. + * config/lynx-ng.h (HANDLE_SYSV_PRAGMA): Likewise. + * config/lynx.h (HANDLE_SYSV_PRAGMA): Likewise. + * config/netbsd.h (HANDLE_SYSV_PRAGMA): Likewise. + * config/openbsd.h (HANDLE_SYSV_PRAGMA: Likewise. + * config/alpha/elf.h (HANDLE_SYSV_PRAGMA): Likewise. + * config/arm/netbsd.h (HANDLE_SYSV_PRAGMA): Likewise. + * config/cris/aout.h (HANDLE_SYSV_PRAGMA): Likewise. + * config/d30v/d30v.h (HANDLE_SYSV_PRAGMA): Likewise. + * config/frv/frv.h (HANDLE_SYSV_PRAGMA): Likewise. + * config/i386/djgpp.h (HANDLE_SYSV_PRAGMA): Likewise. + * config/i386/i386-interix.h (HANDLE_SYSV_PRAGMA): Likewise. + * config/i386/vxi386.h (HANDLE_SYSV_PRAGMA): Likewise. + * config/ia64/ia64.h (HANDLE_SYSV_PRAGMA): Likewise. + * config/m88k/m88k.h (HANDLE_SYSV_PRAGMA): Likewise. + * config/mmix/mmix.h (HANDLE_SYSV_PRAGMA): Likewise. + * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Likewise. + * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Likewise. + * config/sparc/linux-aout.h (HANDLE_SYSV_PRAGMA): Likewise. + * config/sparc/vxsparc64.h (HANDLE_SYSV_PRAGMA): Likewise. + * config/stormy16/stormy16.h (HANDLE_SYSV_PRAGMA): Likewise. + * config/alpha/osf.h (HANDLE_SYSV_PRAGMA): Don't undef before + defining. + * config/i386/sco5.h (HANDLE_SYSV_PRAGMA): Likewise. + * config/mips/iris5.h (HANDLE_SYSV_PRAGMA): Likewise. + +2002-11-25 Dave Pitts + + * gcc/fixinc/mkfixinc.sh: add i370-*-openedition to bypass fixinc list + +2002-11-25 Kazu Hirata + + * config/h8300/h8300.md (an anonymous pattern): New. + +2002-11-25 Richard Henderson + + * alias.c (find_base_value): Use new_reg_base_value if it's live. + (copying_arguments): Make boolean. + +2002-11-25 Jason Thorpe + + * gcc.c (static_spec_functions): Add if-exists-else spec + function. + (if_exists_else_spec_function): New function. + * doc/invoke.texi: Document the if-exists-else spec function. - * print-tree.c (print_node_brief): Use unsigned char to print - the bytes of a real constant. + * config/netbsd-elf.h (NETBSD_STARTFILE_SPEC): For -static, use + "%:if-exists-else(crtbeginT%O%s crtbegin%O%s)". - * expmed.c (store_bit_field): When calling operand_subword_force, - if VALUE has a non-void mode, pass that mode. +2002-11-25 Jason Thorpe - * config/m68k/amix.h (NO_DOLLAR_IN_LABEL): Defined. + * config.gcc (powerpc-*-netbsd*): Replace "svr4.h" with + "netbsd.h netbsd-elf.h" in tm_file. Set tmake_file to + "${tmake_file} rs6000/t-netbsd". + * config/rs6000/netbsd.h: Rewrite. + * config/rs6000/t-netbsd: New file. -Tue Oct 26 19:05:36 1993 John F Carr (jfc@mit.edu) +2002-11-25 Kazu Hirata - * rs6000.c (rs6000_override_options): Support -mcpu=rsc1. + * config/h8300/h8300.md (an anonymous pattern): Relax the + condition for the pattern. -Tue Oct 26 19:01:08 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-11-25 Aldy Hernandez - * Makefile.in (deduced.h): Add -I. and -I$(srcdir). + * config/rs6000/rs6000.h (enum rs6000_builtins): Remove evmwlssf, + evmwlsmf, evmwlssfa, evmwlsmfa, evmwlssfaaw, evmwlsmfaaw, + evmwlssfanw, evmwlsmfanw. - * scan-types.sh (CC): Move a " to avoid shell error. + * config/rs6000/rs6000.c (bdesc_2arg): Same. - * 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. + * config/rs6000/spe.md: Same for patterns. -Tue Oct 26 18:58:49 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +2002-11-25 Christian Ehrhardt - * 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. + PR c/8639 + * fold-const.c (extract_muldiv): Don't propagate division unless + both arguments are multiples of C. - * Makefile.in (gen-protos.o, scan.o, fix-header.o, scan-decls.o): - Add rule to compile using $(HOST_CC). - Show using hconfig.h. +2002-11-25 Andrew Haley - * rs6000.md (movsi): Can copy a TOC address into a register. + * libgcc-std.ver (_Unwind_Find_Enclosing_Function): Add. + * config/ia64/unwind-ia64.c (_Unwind_Find_Enclosing_Function): New. + * unwind-sjlj.c (_Unwind_Find_Enclosing_Function): Likewise. + * unwind-dw2.c (_Unwind_Find_Enclosing_Function): Likewise. -Tue Oct 26 15:03:07 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Sun Nov 24 10:38:04 CET 2002 Jan Hubicka - * gcc.c (default_compilers): Define __GNUC_MINOR__, using %v. - (do_spec_1): Implement %v. + * i386.c (x86_use_ffreep): New global variable. + * i386.h (x86_use_frfeep): Declare + (TARGET_USE_FFREEP): New macro + * i386.md (movs?f*): Use freep when asked for. + (push?f): Remove dead code. -Tue Oct 26 11:06:59 1993 Mike Stump (mrs@cygnus.com) +2002-11-24 Kazu Hirata - * cp-lex.c (consume_string): Handle "\"" and '\''. + * config/h8300/h8300.c (h8300_init_once): Fix a typo in the + target help message. -Tue Oct 26 13:44:17 1993 Jim Wilson (wilson@sphagnum.cygnus.com) +2002-11-24 Jason Thorpe - * Makefile.in (fix-header.o): Depend on fix-header.c. - (scan-decls.o): New target. - (gen-protos.o, scan.o): New targets. + * config.gcc (*-*-netbsd*1.[7-9]*, *-*-netbsd*[2-9]*): Set + extra_parts to "crtbegin.o crtend.o crtbeginS.o crtendS.o + crtbeginT.o". + (arm*-*-netbsd*, i[34567]86-*-netbsd*, m68k*-*-netbsd*) + (ns32k-*-netbsd*, sparc-*-netbsd*, vax-*-netbsd*): Set extra_parts + to "" for a.out configurations. + * config/t-netbsd (CRTSTUFF_T_CFLAGS): Set to "-fPIC". - * Makefile.in (gen-protos, fix_header): Add $(HOST_CFLAGS) and - $(HOST_LDFLAGS). +2002-11-24 Jason Thorpe - * x-sysv (OLDCC): Add -XNh1500. - * x-mips: Likewise. + * config/alpha/netbsd.h (CPP_SUBTARGET_SPEC): Just use + NETBSD_CPP_SPEC directly. + (SUBTARGET_EXTRA_SPECS): Remove netbsd_cpp_spec. Add + netbsd_endfile_spec. + (ENDFILE_SPEC): Use %(netbsd_endfile_spec). -Tue Oct 26 12:21:06 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) +2002-11-24 Jason Thorpe - * fixincludes: Fix NeXT problem in - as well, since that is where the file is in NeXTStep 3.0. + * config/netbsd-elf.h (STARTFILE_SPEC): Rename to + NETBSD_STARTFILE_SPEC. + (STARTFILE_SPEC): Redefine in terms of NETBSD_STARTFILE_SPEC. + (ENDFILE_SPEC): Likewise. + * config/netbsd.h (LIB_SPEC, LIBGCC_SPEC): Likewise. -Tue Oct 26 07:23:08 1993 Torbjorn Granlund (tege@adder.cygnus.com) +2002-11-24 Andreas Schwab - * 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. + * Makefile.in (install-driver): Remove versioned link before + trying to create it. - * c-typeck.c (build_binary_op): For TRUNC_MOD_EXPR and FLOOR_MOD_EXPR, - set common. + * config/m68k/m68k.c: Fix typo in last change defining + TARGET_ASM_CAN_OUTPUT_MI_THUNK. -Tue Oct 26 01:59:17 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-11-23 H.J. Lu - * protoize.c [__NeXT__]: Don't declare setjmp or longjmp. + * aclocal.m4: Include ../config/accross.m4. + (gcc_AC_COMPILE_CHECK_SIZEOF): Removed. + (gcc_AC_C_COMPILE_ENDIAN): Removed. + (gcc_AC_C_FLOAT_FORMAT): Check $ac_cv_c_bigendian + instead of $ac_cv_c_compile_endian. - * configure: Ignore --verbose option if specified. + * configure.in: Replace gcc_AC_COMPILE_CHECK_SIZEOF with + AC_COMPILE_CHECK_SIZEOF. + Replace gcc_AC_C_COMPILE_ENDIAN with AC_C_BIGENDIAN_CROSS. + * configure: Rebuild. - * 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. +2002-11-23 Kazu Hirata - * 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. + * config/h8300/h8300.c (print_operand): Update the use of + h8300_tiny_constant_address_p. + (h8300_adjust_insn_length): Likewise. + (h8300_tiny_constant_address_p): Check if the given rtx is a + variable declared with __attribute__ ((tiny_data)). - * c-typeck.c (push_init_level): Align here for element of record. - (process_init_element): Not here (was before call to push_init_level). +2002-11-22 Dale Johannesen - * 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. + * toplev.c (rest_of_compilation): Fix comments. -Mon Oct 25 23:23:26 1993 Torbjorn Granlund (tege@blues.cygnus.com) +2002-11-22 Geoffrey Keating - * c-typeck.c (build_binary_op): For TRUNC_MOD_EXPR and FLOOR_MOD_EXPR, - don't shorten when divisor might be -1. + * aclocal.m4 (ac_cv_func_mmap_dev_zero): Darwin does not + allow mmap from /dev/zero. Don't make decisions for the host + based on presence or absence of /dev/zero on the build machine. + (ac_cv_func_mmap_anon): Darwin does have working MMAP_ANON. + (AC_FUNC_MMAP_FILE): Darwin does have mmap of a file. + * configure: Regenerate. -Mon Oct 25 23:45:20 1993 Minh Tran-Le (tranle@intellicorp.com) +2002-11-22 Daniel Jacobowitz - * seq-sysv3.h (CPP_SPEC): Define _SEQUENT_ to be compatible with cc. - (INVOKE__main): Defined. - (HAVE_ATEXIT): Defined. + * gcc.c (make_relative_prefix, split_directories) + (free_split_directories): Removed. - * configure (i[34]86-sequent-sysv): Use fixinc.srv4 and define - broken_install. +2002-11-22 Daniel Jacobowitz -Mon Oct 25 18:53:51 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * configure.in: Set insn=nop for DWARF-2 tests on ARM. + * configure: Regenerated. - * expr.c (expand_expr, case PLACEHOLDER_EXPR): Fix typos. +2002-11-22 Kazu Hirata -Mon Oct 25 16:25:58 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/h8300/h8300.c (compute_a_shift_length): Fix the insn + length computation when xor.l is output. - * scan.c (scan_string, skip_spaces): Add newline before fn name. +2002-11-21 Douglas B Rupp - * scan-decls.c (scan_decls): When reading parameter list, - handle whitespace differently, and keep track of line number. + * alpha.md (movstrdi, clrstrdi): New VMS patterns. + (call_vms_1, call_value_vms_1): Cleanup syntax. - * config/i386/x-linux (STMP_FIXPROTO): Define as empty. +Thu Nov 21 19:20:27 CET 2002 Jan Hubicka -Mon Oct 25 13:22:37 1993 Kaveh R. Ghazi (ghazi@caip.rutgers.edu) + * athlon.md (define_atuomaton): Add athlon_load. + (athlon-double): New reservation. + (athlon-ieu0): New CPU unit. + (athlon-load?): Use athlon_load automaton. + (*_k8 reservations): New. + (other insn revervations): Activate for K8. - * fixincludes: Fix bad S_IS* macros in on m88k-sysv3. +Thu Nov 21 15:07:42 CET 2002 Jan Hubicka -Mon Oct 25 22:34:12 BST 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) + * cfgrtl.c (verify_flow_info): Accept EDGE_CAN_FALLTHRU flag. - * fixincludes: Remove nested brackets in change of Oct 21. - Fix token pasting operator in ARM/RISCiX include files. +2002-11-21 Jim Wilson -Mon Oct 25 13:01:52 1993 Jim Wilson (wilson@sphagnum.cygnus.com) + * config/rs6000/rs6000.c (function_arg): Set inner mode of SPE + vectors to SI. - * sparc.h (LONG_DOUBLE_TYPE_SIZE): Don't define here. - * sol2.h (LONG_DOUBLE_TYPE_SIZE): Do define here. +2002-11-21 Bob Wilson - * configure (mips-sgi-irix5): Don't use collect. + * config/xtensa/xtensa-protos.h (xtensa_copy_incoming_a7): Declare. + * config/xtensa/xtensa.c (struct machine_function): Add + incoming_a7_copied flag. + (xtensa_copy_incoming_a7): Define. + (xtensa_emit_move_sequence): Use xtensa_copy_incoming_a7. + * config/xtensa/xtensa.md (movdi, movsf, movdf): Ditto. -Sun Oct 24 14:15:12 1993 Jim Wilson (wilson@sphagnum.cygnus.com) +Thu Nov 21 23:52:04 CET 2002 Jan Hubicka - * libgcc2.c (L_bb): Undef NULL before including . + * i386-protos.h (x86_64_sign_extended_value): Fix prototype. + * i386.c (x86_64_general_operand, x86_64_szext_general_operand, + x86_64_nonmemory_operand, x86_64_movabs_operand, + x86_64_szext_nonmemory_operand, x86_64_immediate_operand, + ix86_expand_int_movcc): Update call of x86_64_sign_extended_value. + (local_symbolic_operand): Do not care the 64bit limits. + (x86_64_sign_extended_value): Remove allow_rip support. + (legitimate_pic_address_disp_p): Handle all cases allowed + with RIP addressing. + (legitimate_address_p): Use legitimate_pic_address_disp_p for PIC. + (legitimize_pic_address): Reorganize. + * i386.h (EXTRA_CONSTRAINT): Update call of x86_64_sign_extended_value. -Sun Oct 24 03:04:53 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-11-21 Jason Thorpe + + * config.gcc (arm*-*-netbsdelf*): Enable configuration. + * config/arm/netbsd-elf.h: New file. + +2002-11-21 Jason Thorpe + + * config/arm/elf.h (SUBTARGET_EXTRA_SPECS): Add + subtarget_asm_float_spec. + (SUBTARGET_ASM_FLOAT_SPEC): Define, moving the + defaults from... + (ASM_SPEC): ...here. Use subtarget_asm_float_spec. + +2002-11-21 Nick Clifton + + * config/fr30/fr30.md (movsf_constant_store): Move code to + detect 0.0 into fr30.c. + * config/fr30/fr30-protos.h (fr30_const_double_is_zero): + Prototype. + * config/fr30/fr30.c (fr30_const_double_is_zero): New + function. Return true if the rtx is 0.0. - * Makefile.in (g++.o): New target. +2002-11-21 Jason Thorpe - * varasm.c (assemble_variable): Set last_assemble_variable_decl. - (last_assemble_variable_decl): New variable. - * toplev.c (rest_of_decl_compilation): Test that var. + * config/arm/elf.h (ASM_SPEC, LINK_SPEC): Pass -EL + if -mlittle-endian is specified. -Sat Oct 23 20:28:13 1993 Jim Wilson (wilson@mole.gnu.ai.mit.edu) +2002-11-21 Richard Earnshaw - * configure (mips-sgi-irix5): Uncomment. - * iris5.h: Replace with working version. - * xm-iris5.h: New file. + PR optimization/2903 + * arm.md (anddi_notzesidi_di): Operand 2 is inverted not operand 1. + (anddi_notsesidi_di): Likewise. + +2002-11-21 Kazu Hirata + + * config/h8300/h8300.c (print_operand): Use + h8300_eightbit_constant_address_p and + h8300_tiny_constant_address_p. + (h8300_adjust_insn_length): Likewise. + * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Remove. + (TINY_CONSTANT_ADDRESS_P): Likewise. + (OK_FOR_U): Use eightbit_constant_address_p. + +2002-11-21 Ulrich Weigand + + * config/s390/libgcc-libc.ver: Add multilib support. + * config/s390/linux.h (MULTILIB_DEFAULT): Define. + * config/s390/t-linux64 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES, + MULTILIB_OSDIRNAMES, LIBGCC, INSTALL_LIBGCC, + EXTRA_MULTILIB_PARTS): Define. + +2002-11-21 Richard Earnshaw + + * arm.c (arm_get_frame_size): A leaf function does not need its + stack padding to an aligned boundary if it has no frame. + (thumb_get_frame_size): Likewise. + +Wed Nov 20 22:25:53 CET 2002 Jan Hubicka + + * x86-64.h (MCOUNT_NAME): Fix typo in my previous patch. + (override_options): Likewise. + +Wed Nov 20 19:07:17 CET 2002 Jan Hubicka + + * config.gcc: Add k8 target alias support + * i386.c (_cost): Declare costs for various variants of divides and + multiplies. + (k8_cost): New. + (m_K8, m_ATHLON_K8): New macros. + (x86_use_leave, x86_push_memory, x86_movx, x86_unroll_strlen, + x86_cmove, x86_3dnow_a, x86_deep_branch, x86_use_fiop, + x86_promote_QImode, x86_sub_esp_?, x86_add_esp_?, + x86_integer_DFmode_moves, x86_partial_reg_dependency, + x86_memory_mismatch_stall, x86_accumulate_outgoing_args, + x86_prologue_using_move, x86_epilogue_using_move, + x86_arch_always_fancy_math_387, x86_sse_partial_regs, + x86_sse_typeless_stores): Set for K8 + (override_options): Add k8 support; fix athlon alignment; + complain about non-x86-64 capable CPU being used in x86-64 compilation. + (ix86_issue_rate): Set for K8. + (ix86_adjust_cost, ia32_use_dfa_pipeline_interface, + x86_machine_dependent_reorg): Handle K8 like + * i386.h + (x86_costs): Change mult_init and divide into array. + (TARGET_K8, TARGET_ATHLON): New macros. + (MODE_INDEX): New macro. + (RTX_COST): Use new costs. + (TARGET_CPU_CPP_BUILTINS): Define __k8__ and __tune_k8__. + (TARGET_CPU_DEFAULT_NAMES): Add k8 + (TARGET_CPU_DEFAULT_k8): New constant + (enum processor_type): Add PROCESSOR_K8. + * i386.md (cpu attribute): Add k8. + + * invoke.texi: Document -march=k8. + + * i386.md (type attribute): Add leave + (mode attribute): Remove unknownfp. + (length_immediate, modrm, memory attributes): Handle leave correctly. + (fp comparison patterns): Determine FP mode. + (leave, leave_rex64): Remove special cases. + * ppro.md (ppro_uops, ppro_p2): Add leave + * pentiun.md (pent_pop): Handle leave too. + * k6.md (k6_load): Handle leave. + * athlon.md (athlon_leave, athlon_pop): Fix. + (athlon_decode): Handle leave. + +2002-11-20 Steve Ellcey + + * emit-rtl.c (gen_reg_rtx): Simplify mapping of Complex type + to component type using GET_MODE_INNER. + * expr.c (emit_move_insn_1): Ditto. + * optabs.c (expand_binop): Ditto. + (expand_unop): Ditto. + (expand_complex_abs): Ditto. + +2002-11-20 Douglas B Rupp + + * hwint.h (HAVE___INT64): Fix typo (was HAVE__INT64). + +2002-11-20 DJ Delorie + + * config/stormy16/stormy16.c (s16builtins, + xstormy16_init_builtins, xstormy16_expand_builtin): New. + * config/stormy16/stormy16.md (divmodhi4, sdivlh, udivlh): New. + +2002-11-20 Hans-Peter Nilsson + + * Makefile.in (RUN_GEN, VALGRIND_DRIVER_DEFINES): New variables. + (DRIVER_DEFINES): Add $(VALGRIND_DRIVER_DEFINES). + (executing gencheck, genconfigs, genconditions, genflags, + gencodes, genconstants, genemit, genrecog, genopinit, genextract, + genpeep, genattr, genattrtab, genoutput, gengenrtl, genpreds, + gengtype, genprotos): Prepend $(RUN_GEN). + * configure.in: Move host compiler tests before --enable-checking + tests. + (--enable-checking=valgrind): New. + * config.in, configure: Regenerate. + * cppfiles.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD): + Define as empty. + (read_include_file): When doing the mmap+1 trick, + valgrind-annotate the byte after the mmap:ed area as readable. + (purge_cache): Remove above annotation. + * gcc.c (execute) [ENABLE_VALGRIND_CHECKING]: Arrange to prepend + VALGRIND_PATH -q to each command. + + * ggc-common.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD): + Define as empty. + (ggc_realloc): Update valgrind annotations. + * ggc-page.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD): + Define as empty. + (alloc_anon, free_page, ggc_alloc, poison_pages): Add machinery to + valgrind-annotate memory. + +2002-11-20 Ulrich Weigand + + * recog.c (constrain_operands): Prefer exact match over reloadable + EXTRA_MEMORY_CONSTRAINT or EXTRA_ADDRESS_CONSTRAINT. + + * reload.c (find_reloads): Always reload EXTRA_ADDRESS_CONSTRAINT + operands in Pmode. + +2002-11-20 Eric Botcazou + + PR c/8518 + * c-decl.c (duplicate_decls): Outline the second definition + of an extern inline function in all cases. + +2002-11-20 Richard Sandiford + + * stor-layout.c (place_field): Update rli->offset as well as + rli->bitpos. + +2002-11-20 Richard Sandiford + + * sched-deps.c (sched_analyze): Check HARD_REGNO_CALL_PART_CLOBBERED. + +2002-11-20 Richard Sandiford + + * config/sh/sh.md (udivsi3): Don't put udivsi3_i4_media instructions + into a libcall block. + (divsi3): Likewise divsi3_i4_media. + +2002-11-20 Richard Sandiford + + * global.c (find_reg): Check HARD_REGNO_NREGS before kicking + out another register. + +2002-11-20 Jakub Jelinek + + * combine.c (force_to_mode): Only replace with (not Y) if all bits in fuller_mask + (not just mask) are set in C. + +2002-11-19 Steven Bosscher + + * config/mips/vr.h (DRIVER_SELF_SPECS): Change %{ + + * profile.c (index_counts_file): Fix obvious mistake. + +2002-11-19 Zdenek Dvorak + + * Makefile.in (profile.o): Add hashtab.h dependency. + * gcov-io.h (GCOV_SUMMARY_LENGTH): New. + * profile.c: Include hashtab.h. + (htab_counts_index_hash, htab_counts_index_eq, htab_counts_index_del, + cleanup_counts_index, index_counts_file, struct section_reference, + struct da_index_entry, counts_file_name, counts_file_index): New. + (get_exec_counts, init_branch_prob): Modified. + +2002-11-19 Kaz Kojima - * 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. + * config.gcc (sh*-*-linux*): Add t-slibgcc-elf-ver and t-linux + to tmake_file. Remove setting gas and gnu_ld here. + * config/sh/libgcc-glibc.ver: New file. + * config/sh/t-linux (EXTRA_MULTILIB_PARTS): Add crtbeginT.o. + (SHLIB_MAPFILES): New. + * config/sh/linux.h (MD_EXEC_PREFIX): Undefine. + (MD_STARTFILE_PREFIX): Likewise. + (HANDLE_PRAGMA_PACK_PACK_PUSH_POP): Define. + (DWARF2_UNWIND_INFO): Redefine. + (ASM_PREFERRED_EH_DATA_FORMAT): Define. + (LINK_EH_SPEC): Redefine. + (MD_FALLBACK_FRAME_STATE_FOR): Define except for SH-media. + (SH_FALLBACK_FRAME_FLOAT_STATE): Define. + (SH_DWARF_FRAME_GP0, SH_DWARF_FRAME_FP0, SH_DWARF_FRAME_XD0, + SH_DWARF_FRAME_BT0, SH_DWARF_FRAME_PR, SH_DWARF_FRAME_PR_MEDIA, + SH_DWARF_FRAME_GBR, SH_DWARF_FRAME_MACH, SH_DWARF_FRAME_MACL, + SH_DWARF_FRAME_PC, SH_DWARF_FRAME_SR, SH_DWARF_FRAME_FPUL, + SH_DWARF_FRAME_FPSCR): Likewise. + * config/sh/sh-protos.h (sh_set_return_address): Declare. + * config/sh/sh.c (calc_live_regs): Count EH_RETURN_DATA_REGNO + registers if the current function calls EH return. + (sh_expand_epilogue): Handle EH stack adjustments. + (sh_set_return_address): New function. + * config/sh/sh.h (SH_DBX_REGISTER_NUMBER): Handle PR_MEDIA_REG. + Don't abort even if the number is mapped to -1. + (EH_RETURN_DATA_REGNO): Define. + (EH_RETURN_STACKADJ_RTX): Define. + * config/sh/sh.md (UNSPEC_EH_RETURN): New. + (eh_return): New pattern. + (eh_set_ra_di, eh_set_ra_si): Likewise. + Add splitter to perform EH return after reload. -Sat Oct 23 00:06:14 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue Nov 19 12:52:07 2002 J"orn Rennecke - * 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. + * stor-layout.c (excess_unit_span): New function. + (place_field): Use it. -Fri Oct 22 01:20:29 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-11-19 Andreas Schwab - * 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. + * unwind.h (_Unwind_GetTextRelBase): Revert last change, this is + not valid in C++. - * expr.c (store_field): In BLKmode case, return blk_object. +2002-11-19 Nathanael Nerode - * config/m88k/m88k.h (ASM_FINISH_DECLARE_OBJECT): Undef, then define. + * configure.in, Makefile.in: Correct BUILD/HOST confusion. + * configure: Regenerate. - * Version 2.5.0 released. +Tue Nov 19 00:11:44 CET 2002 Jan Hubicka -Thu Oct 21 13:02:48 1993 Jim Wilson (wilson@sphagnum.cygnus.com) + * convert.c (strip_float_extensions): New function. + (convert_to_real): Optimize some cases. - * mips.h (CUMULATIVE_ARGS): Double size of adjust array. - * mips.c (function_arg): Add comment about too many adjust entries. +2002-11-19 Andreas Jaeger -Thu Oct 21 13:48:14 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * loop.c (record_giv): Initialize not_replaceable. + (check_final_value): Likewise. - * rs6000.h (HARD_REGNO_MODE_OK): Multi-word objects cannot - go into MQ, LR, or CTR. +2002-11-19 Kazu Hirata - * configure (mips-sgi-iris5*): Disable; not working yet. - * mips/iris5.h (ASM_SPEC, LINK_SPEC, CPP_PREDEFINES): Extend a bit. + * config/h8300/h8300.c (h8300_init_once): Replace 1 with + MASK_H8300S. - * expmed.c (expand_divmod): Create RESULT in proper mode when trying - quotient-and-remainder insn. +2002-11-19 Vijay L. Khuspe -Thu Oct 21 13:14:40 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/h8300/h8300.c (h8300_init_once): Allow -mn switch + only if -mh or -ms present. + (h8300_eightbit_constant_address_p): Support the normal mode. + (h8300_tiny_constant_address_p): Likewise. + * config/h8300/h8300.h (TARGET_NORMAL_MODE): New. + (POINTER_SIZE): Add 16 bit pointer for the normal mode. + (Pmode): Evaluate to HImode for the normal mode. + (SIZE_TYPE): Evaluate to unsigned int for normal mode. + (PTRDIFF_TYPE): Evaluate to int for the normal mode. + (ASM_WORD_OP): Evaluate to word for the normal mode. + * config/h8300/h8300.md (tablejump_normal_mode): New. + (indirect_jump_normal_mode): New. + * config/h8300/t-h8300 (MULTILIB_OPTIONS): Pass -mn option to + directory. + (MULTILIB_DIRNAMES): Create target dependent directory + 'normal'. + (MULTILIB_EXCEPTIONS): Don't turn on -mn on H8/300. + * doc/invoke.texi (gccoptlist): Describe the new switch -mn. - * Makefile.in (STMP_FIXPROTO): Uncomment the definition. +Tue Nov 19 23:50:56 CET 2002 Jan Hubicka - * varasm.c (output_constructor): Fix previous change: - if no TYPE_DOMAIN, don't set min_index. + * i386.md (length_immediate): Do not refer to insn address. + (jcc*, jmp patterns): Compute length explicitly. -Thu Oct 21 11:13:21 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) +2002-11-19 Eric Botcazou - * fixincludes: Avoid conflicting uses of __wchar_t in cc1plus and - stdlib.h for ARM/RISCiX. + PR c/8588 + * optabs.c (expand_binop): Convert CONST_INTs in shift + operations too. -Thu Oct 21 08:16:13 1993 Doug Evans (dje@canuck.cygnus.com) +2002-11-19 Roger Sayle - * Makefile.in (install-common): Remove g++ dependency. - Not built for cross compilers. + * gcse.c (gcse_emit_move_after): Correct typo in REG_EQUAL note. -Thu Oct 21 00:04:40 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-11-19 Kazu Hirata - * fixincludes (required): Accept a space instead of a tab - between #define and CTRL (or _CTRL). + * config/h8300/h8300.md (an anonymous pattern): Relax the + condition to accept the same operands and/or subregs. - * 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. +2002-11-19 Daniel Jacobowitz - * config/m88k/m88k.h (ASM_FINISH_DECLARE_OBJECT): Emit .size - only if DECLARE_ASM_NAME. + * config/sh/sh.c (gen_shl_and): Revert previous patch. + * config/sh/sh.md (ashrdi3+1, ashrdi3+2): Predicate on + reload_completed. -Wed Oct 20 21:32:11 1993 Jeff Law (law@snake.cs.utah.edu) +2002-11-19 Kazu Hirata - * pa.c (output_arg_descriptor): Do not stop searching if a USE - for the static link or struct value register is found. + * config/h8300/h8300.c (print_operand): Update the use of + EIGHTBIT_CONSTANT_ADDRESS_P. + (h8300_adjust_insn_length): Likewise. + (h8300_eightbit_constant_address_p): Check if the given rtx is + a variable with __attribute__((eightbit_data)). + * config/h8300/h8300.h (OK_FOR_U): Update the use of + EIGHTBIT_CONSTANT_ADDRESS_P. -Wed Oct 20 22:43:22 1993 Michael Meissner (meissner@osf.org) +2002-11-19 Gerald Pfeifer - * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Don't emit .size - directive if using the OSF/rose object format. + * doc/contrib.texi (Contributors): Add self as second contact in + addition to Jeff Law. - * 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. +2002-11-19 Andreas Jaeger -Wed Oct 20 20:32:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * tree-inline.c: Move prototpyes of find_alloca_call_1 and + find_alloca_call to right place. - * cse.c (fold_rtx): Alter previous change: don't fold the shift - if the count exceeds the width of the value inside the subreg. +2002-11-19 Kazu Hirata - * varasm.c (copy_constant): New function. - (output_constant_def): Use it. + * cppfiles.c: Fix formatting. - * Makefile.in ($(srcdir)/INSTALL): Add --no-split. +2002-11-19 Jason Thorpe -Wed Oct 20 19:35:35 1993 John F Carr (jfc@mit.edu) + * gcc.c (The Specs Language): Document spec functions. + (static_spec_functions, lookup_spec_function) + (eval_spec_function, handle_spec_function) + (if_exists_spec_function, alloc_args): New. + (execute): Abort if processing_spec_function is true. + (do_spec_1): Hand off spec to handle_spec_function if %: + is encountered. If processing_spec_function is true, + end any pending argument when the end of the string is reached. + (main): Use alloc_args to allocate the initial argument vector. + * gcc.h (struct spec_function): New. + (lang_specific_spec_functions): New extern. - * alpha.h (LIB_SPEC): Link -lprof1 when profiling. + * config/netbsd-elf.h (STARTFILE_SPEC): Add if-exists(crti%O%s). + (ENDFILE_SPEC): Add if-exists(crtn%O%s). + * config/alpha/netbsd.h (ENDFILE_SPEC): Likewise. -Wed Oct 20 19:21:18 1993 Jim Wilson (wilson@cygnus.com) + * doc/invoke.texi: Document spec functions. - * 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. + * cppspec.c (lang_specific_spec_functions): New. + * gccspec.c: Likewise. -Wed Oct 20 18:27:28 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-11-18 Steve Ellcey - * c-typeck.c (output_init_element): When initializing a union, - do it right away: never put the field on the pending list. + * config/ia64/hpux_longdouble.h (FIXUNS_TRUNCTFSI2_LIBCALL): New. + (FIXUNS_TRUNCTFDI2_LIBCALL): New. + (fixunstfsi_libfunc): Change. + (fixunstfdi_libfunc): Change. + (sdiv_optab): Don't zero out SImode handler. + (udiv_optab): Don't zero out SImode handler. + (smod_optab): Don't zero out SImode handler. + (umod_optab): Don't zero out SImode handler. - * 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. +2002-11-18 Neil Booth -Wed Oct 20 18:12:21 1993 Torbjorn Granlund (tege@adder.cygnus.com) + PR preprocessor/8524 + * cpplib.c (run_directive): Remove previous kludge to _Pragma. + Add a new one in its place, which hopefully works. + (skip_rest_of_line): Change test for bottom-of-context-stack. - * pa.md (cacheflush): Split into dcacheflush and icacheflush. - Rewrite to use space regs correctly. - * pa.h (TRAMPOLINE_TEMPLATE): Rewrite. - (TRAMPOLINE_SIZE): Update with new size. - (INITIALIZE_TRAMPOLINE): Rewrite. +Mon Nov 18 21:29:03 CET 2002 Jan Hubicka -Wed Oct 20 17:58:32 1993 Per Bothner (bothner@kalessin.cygnus.com) + * i386.md (addqi_1_slp): Fix output template. + (subqi_1_slp): Fix type. - * varasm.c (output_constructor): Add support for non-zero - lower array bound. - * expr.c (store_constructor): Likewise. +Sun Nov 17 00:01:28 CET 2002 Jan Hubicka -Wed Oct 20 15:16:34 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * calls.c (alloca_call_p): New global function. + * tree.h (alloca_call_p): New. + * tree-inline.c (inlinable_function_p): Do not inline when + function calls alloca. + (find_alloca_call, find_alloca_call_1): New functions. - * toplev.c (rest_of_decl_compilation): Use ASM_FINISH_DECLARE_OBJECT - unconditionally, but define it as no-op by default. +2002-11-18 Kazu Hirata - * config/convex/convex.h (MAX_LONG_TYPE_SIZE): Defined. + * config/h8300/h8300.md (*andorqi3): Use bor between bld and + bst. Update the insn length. + (*andorhi3): Likewise. + (*andorsi3): Likewise. - * 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. +2002-11-18 Richard Sandiford - * 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. + * config/sh/sh-protos.h (sh_mark_label): Declare. + * config/sh/sh.c (sh_mark_label): New function, taken from + movdi_const, but fixing the case when the address has an addend. + * config/sh/sh.md (movdi_const, movdi_const_32bit): Use it. -Wed Oct 20 11:39:56 1993 Jim Wilson (wilson@sphagnum.cygnus.com) +2002-11-18 Richard Sandiford - * xm-mips.h (HAVE_VPRINTF): Define for BSD 4.4. + * config/sh/sh.c (pool_node): New field: part_of_sequence_p. + (add_constant): Set it. + (dump_table): Don't reorder a constant if part_of_sequence_p. + (machine_dependent_reorg): Assume that float constants will + stay in their original order if used as a sequence. - * mips.c (mips_output_filename): When emitting stabs, don't - disable them if using gas. - (mips_output_lineno): Likewise. +2002-11-18 Richard Sandiford - * sparc.h (INITIALIZE_TRAMPOLINE): Emit 3 flush instrutions. - * sparc.md (flush): Add pattern. + * config/sh/sh.c (calc_live_regs): Update check for PIC liveness + in compact code. -Wed Oct 20 10:47:54 1993 Michael Meissner (meissner@osf.org) +2002-11-18 Richard Sandiford - * configure (mips-dec-bsd, mips-dec-osf): Fix a typo in the last - change. + * config/sh/sh.md (initialize_trampoline): Do not force the + trampoline address into R0_REGS here. -Wed Oct 20 07:57:06 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Sun Nov 17 14:01:09 CET 2002 Jan Hubicka - * 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 "%.". + * i386.md (negsf2_ifs, negdf2_ifs, negdf2_ifs_rex64, abssf2_ifs, + absdf2_ifs, absdf2_ifs_rex64): Fix constraints. + (neg?f2_ifs, abs?f2_ifs splitters): Refuse memory operand; do not + generate unnecesary subregs. - * c-common.c (check_format_info): Consider "char", "signed char", - and "unsigned char" types as equivalent. +2002-11-17 Kazu Hirata - * loop.c (find_and_verify_loops): Properly continue loop after - moving a block of code near a loop exit. + * df.c: Fix formatting. -Wed Oct 20 02:01:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-11-17 Kazu Hirata - * Makefile.in (extraclean): Delete file djefoo. - (stmp-fixproto): Depend on stmp-headers, not LIBGCC2_DEPS. + * config/h8300/h8300.md (two anonymous patterns): Fix insn + lengths. -Tue Oct 19 23:11:16 1993 James Van Artsdalen (james@bigtex.cactus.org) +2002-11-17 Daniel Jacobowitz - * 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). + * sh.c (gen_shl_and): Don't create a zero_extend if the operand + is not an arith_reg_operand. -Tue Oct 19 21:21:34 PDT 1993 Ralph Campbell (ralphc@pyramid.com) +2002-11-17 Graham Stott - * configure (mips-dec-bsd): New alternative. - * config/mips/dec-bsd.h: New file. + * real.c (real_to_decimal): Fix buffer overrun when buffer size + is smaller than representation. -Tue Oct 19 18:49:40 1993 Jim Wilson (wilson@sphagnum.cygnus.com) +2002-11-17 Kazu Hirata - * c-typeck.c (digest_init): For arrays, use comptypes to compare - types instead of comparing pointers. + * builtins.c: Fix formatting. -Tue Oct 19 11:24:16 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) +Sat Nov 16 16:49:58 CET 2002 Jan Hubicka - * reload1.c (reload): Cope when inherited register is larger than - one word. - (choose_reload_regs): Ditto. + * i386.md (truncdfsf2_1_sse, truncdfsf2_1_sse_nooverlap, truncdfsf2_2, + floats?dff2_i387): + Work around regclass stupidity. + (truncdfsf_2_1_sse splitter): Accept !TARGET_PARTIAL_SSE_REGS -Tue Oct 19 18:09:18 1993 David Edelsohn (edelsohn@npac.syr.edu) +Sat Nov 16 02:17:48 CET 2002 Jan Hubicka - * rs6000.md (define_function_unit): Add support for RIOS2 - asymmetric integer units. + * i386.md (fop_df_6): New pattern. + (fop_xf_4, fop_xf_5): Handle both SF and DFmode extensions. + (fop_xf_6): Rewrite + (fop_xf_7): Delete. + (fop_tf_4, fop_tf_5): Handle both SF and DFmode extensions. + (fop_tf_6): Rewrite + (fop_tf_7): Delete. -Tue Oct 19 17:48:37 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +2002-11-16 Kazu Hirata - * function.c (assign_parms): Properly set parm_reg_stack_loc for - args that are a CONCAT. + * config/h8300/h8300.md (two anonymous patterns): Fix typos. - * clipper.md (movdi): Force use of "o" alternative if - operand 1 is a MEM. +2002-11-16 Kazu Hirata - * alpha.h (HAVE_ATEXIT): New macro. + * config/h8300/h8300.md: Fix formatting. - * reload.c (push_reload, find_reloads): If an operand is - a SUBREG of a PLUS, force a reload and reload what is inside. +2002-11-16 Kazu Hirata - * dbxout.c (print_int_cst_octal): Fix bug in last change. + * config/h8300/h8300.md: Replace spaces with tabs. + * config/h8300/t-h8300: Remove a trailing empty line. -Tue Oct 19 17:42:23 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) +2002-11-16 Kazu Hirata - * 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. + * tlink.c: Fix formatting. -Tue Oct 19 13:25:03 1993 Mike Stump (mrs@rtl.cygnus.com) +2002-11-16 David Edelsohn - * 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. + PR 8362 + * config/rs6000/rs6000.c (rs6000_outout_load_multiple): New function. + * config/rs6000/rs6000.md (movti_string): Remove output modifier + when scratch register never needed. + (ldmsi[3-8]): New patterns. -Tue Oct 19 01:09:56 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-11-16 Kazu Hirata - * configure (m68000-convergent-sysv*): Untangle from m68k-*-lynxos. + * hard-reg-set.h: Follow spelling conventions. + * real.c: Likewise. + * target.h: Likewise. - * Makefile.in (stmp-fixproto): Depend on LIBGCC2_DEPS. - (crtbegin.o, crtend.o): Specify -fno-inline-functions. +2002-11-16 Jakub Jelinek - * config/mips/iris5.h: New file. - * config/mips/mips.c (mips_asm_file_start): Handle ABICALLS_ASM_OP. - * configure (mips-sgi-iris5*): New configuration. + * config/i386/x86-64.h (MCOUNT_NAME): Change into string literal. -Mon Oct 18 16:16:26 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-11-16 Kazu Hirata - * cse.c (note_mem_written): (mem (scratch)) means clobber everything. + * optabs.c: Fix formatting. - * gen-protos.c: Include ctype.h. +Sat Nov 16 02:06:02 CET 2002 Jan Hubicka - * expmed.c (extract_split_bit_field): Change shift count calculation - in little-endian case. + * athlon.md, k6.md, pentium.md, ppro.md: Handle shift1, rotate1 + * i386.md (attribute type): Add type shift1 and rotate1. + (*_slp): Rewrite to have just two operands to avoid reload problems. - * Makefile.in (stmp-fixproto): Added dependency on fixproto script. +2002-11-15 Kazu Hirata -Mon Oct 18 11:26:08 1993 Jim Wilson (wilson@sphagnum.cygnus.com) + * config/h8300/h8300.md (4 anonymous patterns): New. - * c-typeck.c (process_init_element): Align structure elements - that are subaggregates. +2002-11-15 Geoffrey Keating - * c-decl.c (finish_decl): After preserve_initializer call, set - TREE_PERMANENT bit in initializer. + * params.def (GGC_MIN_HEAPSIZE): Fix GGC_ALWAYS_COLLECT problem. + * doc/invoke.texi: Correct description of what needs to be done to + force collection at every ggc_collect call. - * combine.c (can_combine_p): Don't combine instructions across a - volatile insn. - * rtlanal.c (volatile_insn_p): New function. +2002-11-15 Ulrich Weigand -Sun Oct 17 03:04:49 1993 Torbjorn Granlund (tege@adder.cygnus.com) + * config/s390/s390.c (optimization_options): Set + flag_asynchronous_unwind_tables to 1 by default. - * configure (powerpc-ibm-aix*): Set cpu_type. - * config.sub: Recognize powerpc. +2002-11-15 Ulrich Weigand -Sun Oct 17 21:37:57 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * config/s390/s390.h (ASM_PREFERRED_EH_DATA_FORMAT): Define. - * 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. +Fri Nov 15 14:54:19 CET 2002 Jan Hubicka - * pa.h (READONLY_DATA_SECTION): Disable. + * i386-protos.h (x86_function_profiler): New function + * i386.h (MCOUNT_NAME): New. + (PROFILE_COUNT_REGISTER): New. + (FUNCTION_PROFILER): Move offline to ... + * i386.c (x86_function_profiler) ... here; fix 64bit support + * beos-elf.h (FUNCTION_PROFILER): Kill. + (MCOUNT_NAME): New. + * freebsd-aout.h (FUNCTION_PROFILER): Kill. + (MCOUNT_NAME): New. + (PROFILE_COUNT_REGISTER): New. + * linux.h (FUNCTION_PROFILER): Kill. + (MCOUNT_NAME): New. + * x86-64.h (FUNCTION_PROFILER): Kill. + (MCOUNT_NAME): New. + * freebsd.h (FUNCTION_PROFILER): Kill. + (MCOUNT_NAME): New. -Thu Oct 14 12:38:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-11-14 Jeroen Dobbelaere - * cse.c (fold_rtx): Special case handling for folding - a subreg of the result of a left shift. + * config/arm/arm.h (EXPAND_BUILTIN_VA_ARG, + FUNCTION_ARG_PASS_BY_REFERENCE): Define. + * config/arm/arm.c (arm_va_arg, + arm_function_arg_pass_by_reference): New. + * config/arm/arm-protos.h: Add prototypes. -Thu Oct 14 00:05:42 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +2002-11-14 Kazu Hirata - * alpha.h (DBX_CONTIN_LENGTH): Set to 4000. + * gthr-single.h: Fix formatting. - * expr.c (do_jump_for_compare): Don't blow up if aren't any insns - in this sequence yet. +2002-11-14 Zack Weinberg - * 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. + * tree.c (tree_vec_elt_check_failed): New function. + * tree.h (TREE_VEC_ELT_CHECK): New checking macro. + (TREE_VEC_ELT): Use it. -Wed Oct 13 21:47:58 1993 Ian Lance Taylor (ian@cygnus.com) + * tree-inline.c (optimize_inline_calls): Don't copy a + zero-length vector. - * fixincludes: Remove erroneous parens from Alpha OSF/1 . +2002-11-14 Gabriel Dos Reis -Wed Oct 13 16:08:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * diagnostic.c (sorry): Don't repeat "sorry, unimplemented" text. - * config/m68k/sun3.h (CPP_PREDEFINES): Don't define _CROSS_TARGET_ARCH. +2002-11-14 Jakub Jelinek - * fold-const.c (invert_truthvalue): Handle SAVE_EXPR. + * varasm.c (output_addressed_constants) [MINUS_EXPR]: Clear reloc if + both operands contain local relocations. + (categorize_decl_for_section): Don't use mergeable sections if + initializer has any relocations. - * Makefile.in (install-collect2): Depend on install-dir. - (install-info, install-float-h-cross): Likewise. +2002-11-14 Kazu Hirata -Wed Oct 13 15:51:02 1993 Stephen L. Moshier (moshier@world.std.com)\ + * gthr-vxworks.h: Fix formatting. - * 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'. +2002-11-13 Janis Johnson -Wed Oct 13 15:47:37 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * doc/install.texi (Testing): Document extra Java testing. + * doc/sourcebuild.texi (Test Suites): Document libgcj testing. - * c-parse.in (initdcl, notype_initdcl): Call decl_attributes - before init as well as after. +2002-11-13 John David Anglin - * config/ns32k/pc532.h (FRAME_POINTER_REQUIRED): - Require a frame pointer if fn calls setjmp. + * pa64-hpux.h (LINK_SPEC): Move "+Accept TypeMismatch" switch to the + beginning of the spec. + (LDD_SUFFIX, PARSE_LDD_OUTPUT): Delete. + (LD_INIT_SWITCH, LD_FINI_SWITCH): Define but don't enable. Add comment + regarding problems with global constructors when using GNU ld. -Wed Oct 13 15:27:01 1993 Jim Wilson (wilson@cygnus.com) +2002-11-13 Kazu Hirata - * jump.c (jump_optimize): When moving a range of instructions, - include all NOTEs before the range, not just line number notes. + * gthr-solaris.h: Fix formatting. -Wed Oct 13 11:01:51 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) +2002-11-13 Kazu Hirata - * patch-header.c: #include before . + * gthr-posix.h: Fix formatting. -Wed Oct 13 11:57:33 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +2002-11-12 Devang Patel + * gcc.c (display_help): Two new options -Xpreprocessor and -Xassembler. + (process_command): Same. + * doc/invoke.texi: Info about these two new options. - * rs6000.md (seq): Fix typo: had "xubfic" instead of "subfic". +2002-11-12 Kazu Hirata - * va-m88k.h (_VA_LIST_): Define. + * config/h8300/h8300.md (*andorsi3): New. - * alpha.c (ignore_line_number): No longer used. +2002-11-12 Franz Sirl - * mips-tdump.c (print_global_hdr): Fix typo in cast in ctime call. + * doc/install.texi (powerpc-*-linux-gnu*): Update binutils requirement. - * cccp.c (main): Don't catch SIGPIPE if no such signal. +2002-11-12 Kazu Hirata - * x-alpha: File deleted, all shipped OSF systems have `ranlib'. + * config/h8300/h8300.c (tiny_constant_address_p): Parenthesize + expressions appropriately. - * fold-const.c (optimize_bit_field_compare, decode_field_reference): - Don't do anything if get_inner_reference returned its argument. +2002-11-12 Kazu Hirata - * bi-reverse.c: Avoid defining NULL; can cause duplicate definition - errors. + * gthr-win32.h: Fix formatting. -Wed Oct 13 07:58:28 1993 Michael Meissner (meissner@osf.org) - - * i386/osfrose.h (ASM_OUTPUT_ADDR_DIFF_ELT): Define like in V.4. - (FUNCTION_PROFILER, FUNCTION_PROLOGUE): Don't load up %eax with - the pointer value before calling indirect, just call indirect the - memory address to save some cycles in profiling. - -Tue Oct 12 12:41:12 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - - * cse.c (record_jump_cond): At end, make missing equivalences - first, and then merge them. - -Tue Oct 12 21:30:29 1993 Doug Evans (dje@cygnus.com) - - * va-h8300.h (__va_rounded_size): Fix typo in #ifdef. - -Tue Oct 12 20:19:22 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * bc-emit.c: Include stdio.h last. - * combine.c: Include stdio.h after gvarargs.h. - -Tue Oct 12 13:28:18 1993 Per Bothner (bothner@kalessin.cygnus.com) - - * fixproto: Re-write. We now assume that there are two - source directories (source_dir_all and source_dir_std). These - are handled differently. All files in source_dir_all (normally - ./include) are processed, but in source_dir_std (normally - /usr/include) we only process the standard ANSI/Posix ones where - we might be able to add missing prototypes. - * scan-decls.c (scan_decls): Rewrote from being a program whose - output is piped to patch-header, to a subroutine called by - patch-header. This should be somewhat more efficient. - * Makefile.in (scan-decls): Removed rule to make program. - * patch-header.c (recognized_macro, recognized_extern, - recognized_function): New functins, with logic moved out from - read_scan_file, so they can be called by scan_decls. - * patch-header (main): Read the original header file into a - buffer (rather than reading it with stdio). This should be more - efficient, partly because we can re-write it in place. - (inf_skip_spaces, inf_read_upto, inf_scan_ident): New functions, - based on skip_spaces, read_upto, and scan_ident in scan.c, but - these read from the in-memory buffer mentioned above. - * scan-types.sh: Don't check for sigset_t, since it can be a - struct, whose name cannot be simplify replaced by its definition. - * Makefile.in (deduced.h): Don't pass -nostdinc. - -Tue Oct 12 18:36:32 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) - - Changes to support native ecoff and embedded stabs debugging - for the Alpha. - - * alpha.c (output_prolog): Put out file and line number if sdb - debugging format, put out .ent directive, signal start of function for - alpha_output_filename and set up debugging auto/arg offsets. - (output_epilog): Signal end of function for alpha_output_filename. - (alpha_output_filename, alpha_output_lineno): New functions. - * alpha.h (TARGET_SWITCHES): Add gas option. - (ASM_DECLARE_FUNCTION_NAME): Moved output of .ent directive to - output_prolog. - (DBX_NO_XREFS): Removed, gdb understands cross references and the - native debugger can't handle embedded stabs. - (ASM_FILE_START): Replace output of .file directive - by ASM_OUTPUT_SOURCE_FILENAME call. - (TARGET_GAS, MASK_GAS, SDB_DEBUGGING_INFO, DBX_DEBUGGING_INFO, - MIPS_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE, DEBUGGER_AUTO_OFFSET, - DEBUGGER_ARG_OFFSET, ASM_OUTPUT_SOURCE_LINE, - ASM_OUTPUT_SOURCE_FILENAME, DEFAULT_GDB_EXTENSIONS, ASM_STABS_OP, - ASM_STABN_OP, ASM_STABD_OP, SDB_ALLOW_FORWARD_REFERENCES, - SDB_ALLOW_UNKNOWN_REFERENCES, PUT_SDB_DEF, PUT_SDB_PLAIN_DEF, - PUT_SDB_TYPE, PUT_SDB_BLOCK_START, PUT_SDB_BLOCK_END, - PUT_SDB_FUNCTION_START, PUT_SDB_FUNCTION_END, PUT_SDB_EPILOGUE_END, - ASM_FINAL_SPEC, CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB, - MIPS_UNMARK_STAB, SHASH_SIZE, THASH_SIZE): New macros. - * alpha-gdb.h: New file. - * configure (alpha-*-osf*): Handle --with-stabs and --with-gnu-as. - * mips-tfile.c (add_local_symbol): Index in the external symbol - must point to local symbol table entry for procedures. - -Mon Oct 11 16:14:53 1993 Ian Lance Taylor (ian@cygnus.com) - - * fixincludes: If a file is referenced with double quotes from - a fixed file, make sure it is copied into the fixed include - directory. - Remove DPS/XDPSlib.h special-case code. +2002-11-12 Kazu Hirata -Tue Oct 12 08:05:28 1993 David Edelsohn (edelsohn@npac.syr.edu) - - * rs6000/powerpc.h: New file. - * configure (powerpc-ibm-aix*): New target. - * rs6000.h (MASK and TARGET): Add new flags for POWER2 and PowerPC - with square root. - (ASSEMBLER_DIALECT): New macro. - (CONDITIONAL_REGISTER_USAGE): Set MQ register fixed if not POWER. - (SHIFT_COUNT_TRUNCATED): Conditional on POWER. - (ASM_OUTPUT_REG_{PUSH,POP}): Mnemonics dependencies. - * rs6000.c (rs6000_override_options): Use new TARGET flags and - add some more cpu choices. - (output_prolog, output_epilog): Support new mnemonics and avoid - using lm/stm when not POWER. - * rs6000.md: Update define_function_units. - Put both old and new mnemonics in all templates. - Add target tests to pattern conditional field throughout. - (one_cmplsi2): Make POWER and PowerPC variants. - (mulsi3): Convert to define_expand which calls appropriate POWER - or PowerPC pattern. - (divsi3, udivsi3): Add patterns for PowerPC case. Update divsi3 - define_expand for PowerPC case. - (ashlsi3, lshrsi3, ashrsi3, extendqisi2, extendqihi2): Convert to - define_expand which calls appropriate POWER or PowerPC pattern. - (floating-point): Add PowerPC single-precision FP, and SF/DF sqrt - insns for 603, 604, 620. - (call insns): Use "nop" for magic TOC restore. - (move data, nop): Use PowerPC extended mnemonics. + * config/h8300/h8300.c (single_one_operand): Correctly compute + mask when mode is SImode. + (single_zero_operand): Likewise. + * config/h8300/h8300.md (two new anonymous insns): New. -Tue Oct 12 07:58:36 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +2002-11-12 Gerald Pfeifer - * alpha.h (SETUP_INCOMING_VARARGS): If not TARGET_FPREGS, - save another copy of the integer regs where the FP regs would - have gone. - - * tree.h (struct tree_type): symtab_address is now a union of - pointer and integer. - (TYPE_SYMTAB_ADDRESS): Refer to the integer. - (TYPE_SYMTAB_POINTER): New macro to refer to pointer. - * sdbout.c (KNOWN_TYPE_TAG, SET_KNOWN_TYPE_TAG): Refer to - TYPE_SYMTAB_POINTER and remove casts. - (tag_of_ru_type): Likewise. - - * reload1.c (reload): Fix typo in RELOAD_FOR_INSN case when - accounting for reloads. - - * expr.c (convert_modes): Reset OLDMODE from X after we strip - a SUBREG due to a promoted variable. - - * dbxout.c (dbxout_type, case INTEGER_TYPE): Output bounds in - octal if type wider than HOST_WIDE_INT. - (print_int_cst_octal): Trim bound by precision of its type. - Avoid warning on what may be shift into sign bit. - - * bi-reverse.c: Add missing #include for hconfig.h. + * doc/contrib.texi (Contributors): Use GCJ instead of gcj to refer + to that entire project. - * fixincludes: Quote braces when looking for DONE files. +2002-11-12 Rainer Orth - * final.c (dialect_number): New variable. - (init_final): Initialize it. - (output_asm_insn, asm_fprintf): Support ASSEMBLER_DIALECT. - -Tue Oct 12 01:34:16 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/mips/t-iris6 (MULTILIB_OSDIRNAMES): Restore old + directories. - * c-typeck.c (digest_init): If traditional, allow unbraced scalar - to initialize the first element of an aggregate. - - * cccp.c (output_line_command): Output the `4' flag only if cplusplus. - (do_line): Handle the `4' flag. +2002-11-11 Zack Weinberg - * final.c (final_scan_insn): Call walk_alter_subreg for operands - that are PLUS or MULT, before constrain_operands. + * params.def (ggc-min-expand, ggc-min-heapsize): New parameters. + * doc/invoke.texi: Document them. -Mon Oct 11 15:18:45 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * ggc-page.c: Include params.h. Remove definitions of + GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED. Replace + GGC_POISON with ENABLE_GC_CHECKING in ifdefs, delete #define. + (init_gcc): Don't set G.allocated_last_gc here. + (ggc_collect): Use PARAM_VALUE (GGC_MIN_HEAPSIZE) and + PARAM_VALUE (GGC_MIN_EXPAND) to decide whether or not to + perform collection. + * ggc-simple.c: Similarly. + * Makefile.in (ggc-common.o, ggc-simple.o): Add $(PARAMS_H) to + dependencies. - * real.c (debug_real): New function. +2002-11-11 Kazu Hirata - * regclass.c (reg_scan_mark_refs): XEXP (x, 0) in EXPR_LIST may be 0. - - * config/m68k/m68k.md (cmphi): Turn on constraints to support cmpm.w. - -Mon Oct 11 13:20:54 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - - * unroll.c (unroll_loop): Set map->const_equiv_map_size to - new_maxregnum. - (copy_loop_body): When set const_age_map entry for split dest reg, - verify that it is within the bounds of the map. - (find_splittable_regs): Count number of biv sets, not number of - bivs. Don't pass result to find_splittable_givs. - (find_splittable_givs): Delete parameter result. Add local - variable result. + * gthr-dce.h: Fix formatting. -Mon Oct 11 07:43:31 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * expr.c (expand_assignment): When assigning an INDIRECT_REF to - a RESULT_DECL, the size and source rtx were swapped. - - * function.c (trampoline_address): Don't allocate anything - from parent function's current obstack. - - * regclass.c (reg_scan): Don't call reg_scan_mark_refs on notes - if there aren't any. - (reg_scan_mark_refs, case INSN_LIST, EXPR_LIST): New cases. - - * cse.c (simplify_binary_operation): Test value of - SHIFT_COUNT_TRUNCATED if it is defined. - * combine.c (subst, shift and rotate cases): Likewise. - * a29k.h, alpha.h, fx80.h, i960.h, mips.h, pa.h, pyr.h, rs6000.h: - Define SHIFT_COUNT_TRUNCATED to have a value of 1. - * sparc.h, tahoe.h, we32k.h: Likewise. +2002-11-11 Franz Sirl -Mon Oct 11 02:40:22 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + PR c/8467 + * stmt.c (tail_recursion_args): Handle DECL_MODE differing from the + mode of DECL_RTL case. - * 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. +2002-11-11 Janis Johnson -Sun Oct 10 22:51:01 1993 Stephen Moshier (moshier@world.std.com) + * doc/contrib.texi: Merge in the list from the libstdc++ web pages. - * real.c (asctoeg): Fix backward condition in last change. +Mon Nov 11 12:06:08 CET 2002 Jan Hubicka -Sun Oct 10 22:33:17 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * i386.c (construct_container): Fix handling of SSE_CLASS. - * configure (hppa1.0-*-mach*): Use collect2. - (hppa1.1-*-mach*): Likewise. +2002-11-10 Joel Sherrill - * 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/m68k/t-crtstuff (crti.o): Use this... + ($(T)crti.o): ... instead. + (crtn.o): Use this... + ($(T)crtn.o): ... instead. - * 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. +2002-11-10 Eric Botcazou -Sun Oct 10 18:42:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + PR c/8439 + * recog.c (validate_replace_rtx_1) [PLUS]: Simplify only + if there is something new to be simplified. - * c-typeck.c (start_init): Don't set require_constant_elements - for scalar types. +2002-11-10 H.J. Lu - * c-parse.in (stmt): Don't call default_conversion on top-level - expressions. + * calls.c (PUSH_ARGS_REVERSED): Define only if not defined. + * expr.c (PUSH_ARGS_REVERSED): Likewise. - * c-typeck.c (convert_for_assignment): Allow silent conversion to - a pointer from an integer 0 that resulted from arithmetic. + * config/i386/i386.h (PUSH_ARGS_REVERSED): Set to 1. - * varasm.c, c-pragma.c (enum pragma_state): Defined. +2002-11-10 Zack Weinberg - * 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. + * config/rs6000/sysv4.h: Define NO_IMPLICIT_EXTERN_C here... + * config/rs6000/linux.h, config/rs6000/linux64.h, + config/rs6000/windiss.h: ... not here. - * 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. +2002-11-10 Jason Thorpe - * explow.c (emit_stack_save): Cast enum array index to int. + * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define + __ABICALLS__ if TARGET_ABICALLS. -Sun Oct 10 12:49:39 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) +Sun Nov 10 18:49:21 CET 2002 Jan Hubicka - * 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. + * i386.h (MIN_UNITS_PER_WORD): Define to 8 for x86-64 libgcc. -Sun Oct 10 08:56:58 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +2002-11-10 Joseph S. Myers - * alpha.h (ALPHA_COSTS): Add missing arg to call to rtx_cost. + * c-decl.c (grokdeclarator): Make error for duplicate type + qualifiers into a pedwarn, disabled for C99. - * combine.c (force_to_mode, case ASHIFTRT): Verify that result of - making a LSHIFTRT remains a shift. +2002-11-10 Hans-Peter Nilsson - * 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. + * config/mmix/mmix.h (FUNCTION_ARG_CALLEE_COPIES): Define the same + as FUNCTION_ARG_PASS_BY_REFERENCE. - * expr.c (expand_assignment): Don't short circuit store_expr - when TO is a VAR_DECL since it needs special handling if promoted. +2002-11-09 Zack Weinberg - * combine.c (subst, case SUREG): Only call force_to_mode if both - inner and outer modes are MODE_INT. + * doc/install.texi: Add *-*-vxworks* specific installation + instructions. - * mips-tfile.c (WORD_ALIGN): Fix typo in last change. + * config/vxlib.c: Rewrite using generation numbers to identify + valid TSD keys. - * c-common.c (check_format_info): Support X/Open formats like "%1$d". +Sat Nov 9 00:10:54 CET 2002 Jan Hubicka -Sat Oct 9 22:29:17 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) + * i386.c (x86_machine_dependent_reorg): Fix even more side cases. - * configure: If no target is specified, try getting one - with config.guess. - * config.guess: New file. +2002-11-09 John David Anglin -Sat Oct 9 19:50:24 1993 Pat Rankin (rankin@eql.caltech.edu) + * pa.h (STARTING_FRAME_OFFSET): Change offset for TARGET_64BIT to 16. - * c-common.c (check_format_info): Avoid ?: conditional for function - to be called. + * config.gcc (hppa*64*-*-linux*): Shorten lines in tm_file define. + (hppa*64*-*-hpux11*): Likewise. Use elfos.h with gas. + * pa.c (output_millicode_call): Use symbol difference rather than + $PIC_pcrel$0 when using HP assembler. + * pa64-hpux.h (TARGET_GAS): Define to 1 or 0 depending on whether or + not elfos.h (i.e., gas) is being used. + (ASM_FILE_START, STRING_ASM_OP, TEXT_SECTION_ASM_OP, + DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_COMMON, + ASM_OUTPUT_ALIGNED_LOCAL, GLOBAL_ASM_OP, ASM_DECLARE_FUNCTION_NAME, + ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL, + ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL): Define when + using elfos.h. + (TARGET_ASM_GLOBALIZE_LABEL): Undefine when using elfos.h. + (DWARF2_ASM_LINE_DEBUG_INFO): Delete. + (ASM_FILE_START): Add standard .SPACE and .SUBSPA defines when not + using elfos.h. + (TEXT_SECTION_ASM_OP, READONLY_DATA_SECTION_ASM_OP, DATA_SECTION_ASM_OP, + BSS_SECTION_ASM_OP): New HP style defines when not using elfos.h. + (TARGET_ASM_NAMED_SECTION, MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): + Don't define when not using elfos.h. + (ASM_DECLARE_RESULT): Don't define. + * doc/install.texi (hppa*-hp-hpux*): Remove statement that HP assembler + doesn't work on hppa64-hp-hpux11. + (hppa*-hp-hpux11): Update. - * 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. +2002-11-09 Jason Thorpe - * 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. + * config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Don't pass -KPIC + to the assembler if -mno-abicalls was specified. -Sat Oct 9 21:53:53 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) +2002-11-09 John David Anglin - * 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. + * pa-linux.h (PREFERRED_DEBUGGING_TYPE, DWARF2_ASM_LINE_DEBUG_INFO, + ASM_OUTPUT_DEF): Delete. -Sat Oct 9 15:00:00 1993 DJ Delorie (dj@ctron.com) +2002-11-09 Neil Booth - * configure.bat: Change $(srcdir)/ to $(srcdir)\ in commands. + * c-opts.c (COMMAND_LINE_OPTIONS): Fix -Wimplicit. -Sat Oct 9 15:17:22 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +2002-11-08 Roger Sayle - * expr.c (expand_expr, case ABS_EXPR): Don't copy twice into - volatile MEM. + * real.c (real_sqrt): Update comment with bibliographic reference. - * expr.c (expand_expr): Never reset ORIGINAL_TARGET. - Pass ORIGINAL_TARGET to lang_expand_expr, not TARGET. +Fri Nov 8 13:33:58 CET 2002 Jan Hubicka -Sat Oct 9 13:27:10 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * i386.md (sse_loadss, sse2_loadsd): Fix expander. - * 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. +Fri Nov 8 13:25:41 CET 2002 Jan Hubicka -Sat Oct 9 12:55:26 1993 Stephen Moshier (moshier@world.std.com) + * i386.c (x86_machine_dependent_reorg): Fix handling of empty functions. - * real.c (asctoeg): Allocate local buffer dynamically. Count - any lost significant digits before the decimal point. +Fri Nov 8 13:01:42 CET 2002 Jan Hubicka -Fri Oct 8 16:33:42 1993 Mike Stump (mrs@rtl.cygnus.com) + * builtins.c (expand_builtin_mathfn): Handle floor/ceil/trunc/round/nearbyint + (expand_builtin): Likewise. + * builtins.def: Add + __builtin_floor, __builtin_floorf, __builtin_floorl + __builtin_ceil, __builtin_ceilf, __builtin_ceill + __builtin_round, __builtin_roundf, __builtin_roundl + __builtin_trunc, __builtin_truncf, __builtin_truncl + __builtin_nearbyint, __builtin_nearbyintf, __builtin_nearbyintl. + * genopinit.c (optabs): Initialize the new optabs. + * optab.c (init_optabs): Likewise. + * optabs.h (optab_index): Add OTI_floor, OTI_ceil, OTI_trunc, + OTI_round, OTI_nearbyint. + (floor_optab, ceil_optab, trunc_optab, round_optab, nearbyint_optab): New. + * doc/md.texi: Document new named patterns. + * doc/extend.texi (builtin functions) Document + floor, floorf, floorl, ceil, ceilf, + ceill, round, roundf, roundl, trunc, + truncf, truncl, nearbyint, nearbyintf, nearbyintl. - * 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. +Fri Nov 8 11:36:11 CET 2002 Jan Hubicka -Fri Oct 8 14:40:29 1993 Jason Merrill (jason@deneb.cygnus.com) + * i386.md (sse_movdfcc, sse_movsfcc): Fix typo in previous patch. - * cp-error.c (dump_expr, REAL_CST): Support printing of real values - when REAL_IS_NOT_DOUBLE (prints out rep in hex). +2002-11-08 Dale Johannesen -Fri Oct 8 13:54:03 1993 Mike Stump (mrs@cygnus.com) + * dbxout.c (dbxout_type): Fix stabs info for vector types. - * 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. +2002-11-08 Neil Booth -Fri Oct 8 19:03:09 1993 Jim Wilson (wilson@sphagnum.cygnus.com) + PR preprocessor/8497 + PR preprocessor/8501 + * cpptrad.c (scan_out_logical_line): A '#' from a macro doesn't + start a directive. In assembler, #NUM is not a line directive. - * xcoffout.h (DBX_STATIC_BLOCK_START): For N_LCSYM, force change - to text section to avoid assembler bug. +2002-11-08 Neil Booth - * mips.md (movsi_unaligned): Change in comment "loads" to "stores". + * cppmain.c (cpp_preprocess_file): Loop to pop any -included + buffers. - * calls.c (emit_library_call_value): Compute struct_value_size, - and pass it to emit_call_1. +2002-11-08 Kazu Hirata -Fri Oct 8 16:13:17 1993 H.J. Lu (hjl@nynexst.com) + * config/h8300/h8300.md (two anonymous test insns): New. - * config/i386/linux.h (STARTFILE_SPEC): Handle -p and -pg - outermost. Also add support for cross-linking. +Fri Nov 8 11:20:19 CET 2002 Jan Hubicka -Fri Oct 8 15:20:58 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * jump.c (mark_jump_label): Handle subregs of label_refs. - * Makefile.in (cp-error.o, cp-errfn.o): Add dependency rules. +Thu Nov 7 21:54:22 CET 2002 Jan Hubicka -Fri Oct 8 08:00:51 1993 Eric Youngdale (eric@kafka) + * i386.md (sse_movdfcc, sse_movsfcc): Avoid overactive matching. + * i386.c (ix86_expand_fp_movcc): Match the reversed cases. - * linux.h: Only include i386/gstabs.h if LINUX_ELF is not defined. +2002-11-07 David Mosberger - * 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. + * config/ia64/crtend.asm: Include "auto-host.h". + [HAVE_INITFINI_ARRAY]: Invoke __do_global_ctors_aux via .init_array. + * config/ia64/crtbegin.asm: Similarly. + * config/ia64/t-ia64 (crtbegin.o): Include from current directory. + (crtend.o, crtbeginS.o, crtendS.o): Likewise. -Fri Oct 8 13:40:44 1993 Michael Meissner (meissner@osf.org) + * aclocal.m4 (gcc_AC_INITFINI_ARRAY): New. + * configure.in: Use it if --enable-initfini-array not specified. + * doc/install.texi (Configuration): Document --enable-initfini-array. + * configure, config.in: Rebuild. - * i386/osfrose.h, i386/osfelf.h (CPP_SPEC): If buliding for shared - libraries, define __SHARED__. +2002-11-07 Jason Thorpe - * 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. + * config/arm/arm-protos.h (arm_get_frame_size) + (thumb_get_frame_size): New prototypes. + * config/arm/arm.c (arm_get_frame_size) + (thumb_get_frame_size): New functions. + (use_return_insn, arm_output_epilogue, arm_output_function_epilogue) + (arm_compute_initial_elimination_offset, arm_expand_prologue): Use + arm_get_frame_size. + (thumb_expand_prologue, thumb_expand_epilogue): Use + thumb_get_frame_size. + * config/arm/arm.h (PREFERRED_STACK_BOUNDARY): Define. + (machine_function): Add frame_size member. + (THUMB_INITIAL_ELIMINATION_OFFSET): Use thumb_get_frame_size. - * halfpic.c (half_pic_external): New function to declare a halfpic - identifier as always external. +2002-11-07 Richard Earnshaw - * halfpic.h (half_pic_external): declare function. - (HALF_PIC_EXTERNAL): Declare accessor macro. + * arm.c (bit_count): Make argument unsigned long. Return unsigned. + Adjust code to use portable unsigned bit manipulation. + (insn_flags, tune_flags): Change type to unsigned. + (struct processors): Make flags unsigned long. + (arm_override_options): Change type of count and current_bit_count + to unsigned. -Fri Oct 8 15:03:56 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +2002-11-07 Richard Earnshaw - Cygnus<->FSF C++ front-end merge. - Thu Oct 7 11:45:32 1993 Jason Merrill (jason@deneb.cygnus.com) + * arm/elf.h (TYPE_OPERAND_FMT): Prefix type with %. - * Makefile.in (CPLUS_OBJS): Change error.o to cp-errfn.o +Thu Nov 7 15:50:18 2002 J"orn Rennecke - * cp-*.c, cp-parse.y: Rename lang_error and its kin to cp_error - and the like to accomodate rms's belief structure. + * sh.h (DWARF_FRAME_RETURN_COLUMN): Use DWARF_FRAME_REGNUM. - * error.c: Moved to cp-errfn.c to accomodate rms's belief structure +Thu Nov 7 11:18:01 CET 2002 Jan Hubicka + + * reg-stack.c (compensate_edge): Fix sanity check. + +2002-11-05 Geoffrey Keating + + * config.gcc: Don't create crtbegin, crtend on Darwin; do create + crt2.o. Rearrange t-darwin makefiles. + * crtstuff.c [OBJECT_FORMAT_MACHO]: Delete. + * unwind-dw2-fde-darwin.c: New. + * unwind-dw2-fde-glibc.c: Correct comment. + * unwind-dw2-fde.c (__register_frame_info_bases) + [DWARF2_OBJECT_END_PTR_EXTENSION]: Clear fde_end. + (classify_object_over_fdes): Use last_fde. + (add_fdes): Likewise. + (linear_search_fdes): Likewise. + * unwind-dw2-fde.h (struct object) + [DWARF2_OBJECT_END_PTR_EXTENSION]: Add fde_end field. + (last_fde): New. + * config/darwin.h (STARTFILE_SPEC): Include crt2.o not crtbegin.o. + (ENDFILE_SPEC): No crtend.o. + * config/t-darwin: New. + * config/i386/t-darwin: Delete. + * config/darwin-crt2.c: New. + * config/rs6000/t-darwin: Delete contents duplicated in t-rs6000 + or config/t-darwin. - Wed Oct 6 15:05:49 1993 Jason Merrill (jason@deneb.cygnus.com) +2002-11-06 Douglas B Rupp - * cp-pt.c (mangle_class_name_for_template): Always use type_as_string - for printing out type parameters. Nuke id and type variables. + * config/i386/i386-interix.h (TARGET_SUBTARGET_DEFAULT): Or + MASK_MS_BITFIELD_LAYOUT + (SUBTARGET_OVERRIDE_OPTIONS): Warn about and turn off + MS bitfields for Objective-C. + (PCC_BIT_FIELD_TYPE_TEST, GROUP_BITFIELDS_BY_ALIGN): Remove + defines. - * 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 + * config/i386/i386.c (ix86_ms_bitfield_layout): New function. + (TARGET_MS_BITFIELD_LAYOUT_P): Define to above function. + (TARGET_USE_MS_BITFIELD_LAYOUT): Define. - * cp-pt.c (mangle_class_name_for_template): Strip out code for - printing template parameters, replace with call to expr_as_string. + * config/i386/i386.h (MASK_MS_BITFIELD_LAYOUT: New mask. + TARGET_USE_MS_BITFIELD_LAYOUT): New macro. + (TARGET_SWITCHES): Add above mask. - * cp-method.c (build_overload_value): descend through - TREE_OPERAND on NOP_EXPRs as well as NON_LVALUE_EXPRs. + * testsuite/gcc.dg/bf-ms-layout.c: New test case. + * testsuite/gcc.dg/bf-no-ms-layout.c: New test case. + * testsuite/gcc.dg/i386-bitfield1.c (dg-options): Add appropriate + flags for interix. + +Wed Nov 6 18:54:47 2002 Alexandre Oliva + + * config/mips/mips.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output + .gpword/.gpdword for ABI_N32 and ABI_64 too, if using the GNU + assembler. + * config/mips/mips.md (tablejump_internal3): Output .cpadd + before jump on ABI_N32 too. + (tablejump_internal4): Ditto on ABI_64. Increase maximum + length to match. - * cp-decl.c (poplevel_class): Add assertion that - class_binding_level is not NULL. +Wed Nov 6 17:16:48 CET 2002 Jan Hubicka - Tue Oct 5 11:11:25 1993 Jason Merrill (jason@deneb.cygnus.com) + * i386.md (negsf splitter): Accept memory operand in second register. + (abssf/absdf splitters): Simplify + (sse_loadss, sse_loadsd): Turn into expander. - Patches to support proper handling of system includes without munging: +2002-11-06 David Edelsohn - * cp-lex.h: Declare in_c_header, a flag meaning 'implicitly wrap this - file in extern "C" { }'. + PR target/8480 + * config/rs6000/rs6000.md (movdi_internal64): Discourage + FPR to FPR moves. - * 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). +2002-11-06 Janis Johnson - * 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. + * doc/contrib.texi: Merge in the list from the Java web pages. - * cp-tree.h (SET_CLASSTYPE_INTERFACE_UNKNOWN_X): Coerce X to boolean - value +2002-11-06 David O'Brien - Mon Oct 4 17:03:48 1993 Jason Merrill (jason@deneb.cygnus.com) + * config/sparc/freebsd: Fix typo. - * cp-tree.h: Add declaration for flag_external_templates +2002-11-06 John David Anglin - * cp-decl.c (start_decl): Don't declare flag_external_templates + * pa64-hpux.h (LDD_SUFFIX, PARSE_LDD_OUTPUT): Define. - * cp-pt.c: Ditto +2002-11-06 Alexandre Oliva - * cp-parse.y (template_instantiate_once): Ditto + * config/mips/mips.md (call_value_multiple_internal2): Use dla for + non-SImode addresses. - * 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) +Tue Nov 5 14:34:36 CET 2002 Jan Hubicka - * cp-error.c (dump_type): Deal properly with pointers to member - functions. + * i386.md (float_truncate SSE splitter): Ensure that operand is not + stack register. + (float SSE splitters): Reorder conditional. - * 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. +2002-11-05 Bob Wilson - * cp-lex.c (cons_up_default_function): Remove redundant check - for processing_template_defn && !flag_external_templates - (reinit_parse_for_method): Ditto + * config/xtensa/elf.h (LIB_SPEC): Add "-lhal". - * cp-parse.y (template_instantiate_once): Don't mess with - interface_unknown +2002-11-05 John David Anglin - Mon Oct 4 15:47:34 1993 Mike Stump (mrs@cygnus.com) + * pa64-hpux.h (LIB_SPEC): Fix p and pg options. + (STARTFILE_SPEC): Remove p and pg options. - * 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. +2002-11-05 Andrew Haley - * cp-decl.c (start_function): Remove my_friendly_abort 19. Allows - one to declare a built-in as extern inline. + * fold-const.c (fold): Don't transform (a0 op compound(a1,a2)) + to (compound(a1,a0 op a2)) if a0 or a1 have side effects. - Mon Oct 4 12:47:33 1993 John F Carr (jfc@mit.edu) +2002-11-05 Richard Sandiford - * 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. + * config/mips/mips.h (CANNOT_CHANGE_MODE_CLASS): Move comment to... + * config/mips/mips.c (mips_cannot_change_mode_class): ...here. - Mon Oct 4 11:42:46 1993 Jason Merrill (jason@deneb.cygnus.com) +2002-11-04 Zack Weinberg - * 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. + * gthr-vxworks.h: Rewritten from scratch. + * config/vxlib.c: New file. + * config/t-vxworks: Add config/vxlib.c to LIB2FUNCS_EXTRA. + * config/rs6000/t-vxworks: Add config/vxlib.c to + LIB2FUNCS_EXTRA here too, because of clash with + config/rs6000/t-ppccomm. - * error.c (lang_thing and its children): Do the same thing. +2002-11-04 Dale Johannesen - * cp-typeck.c (build_binary_op): Do away with the kludge, now that - error accepts more arguments. + * doloop.c (doloop_modify_runtime): Fix loop count computation + for unrolled loops. + * loop.c (loop_invariant_p): Support calling from unroller. - Sun Oct 3 16:34:39 1993 Jason Merrill (jason@deneb.cygnus.com) +2002-11-04 Ulrich Weigand - * cp-error.c: Remove all traces of in_parmlist + * config/s390/s390.c (s390_decompose_address): Use arg_pointer_rtx + for comparison. - Sun Oct 3 13:54:57 1993 Mike Stump (mrs@cygnus.com) +2002-11-04 Aldy Hernandez - * cp-call.c (convert_harshness_ansi, convert_harshness_old): Handle - pointer to function members properly. + * hard-reg-set.h (REG_CANNOT_CHANGE_MODE_P): New. - Fri Oct 1 16:42:30 1993 Mike Stump (mrs@cygnus.com) + * config/rs6000/rs6000.h (CLASS_CANNOT_CHANGE_MODE_P): Remove. + (CLASS_CANNOT_CHANGE_MODE): Remove. + (CANNOT_CHANGE_MODE_CLASS): New. - * cp-error.c (dump_function_decl, dump_function_name): Make static - to match prototype. + * config/alpha/alpha.h: Same. - Fri Oct 1 15:23:31 1993 Mike Stump (mrs@cygnus.com) + * config/ia64/ia64.h: Same. - * 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. + * config/mips/mips.h: Same. - Thu Sep 30 18:15:29 1993 Jason Merrill (jason@deneb.cygnus.com) + * config/s390/s390.h: Same. - * 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. + * config/sh/sh.h: Same. - * 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. + * config/pa/pa64-regs.h: Same. - * error.c (lang_thing): Abort if more than NARGS (currently 2) are - passed, since this is likely to cause a seg fault elsewhere anyway. + * config/sh/sh-protos.h (sh_cannot_change_mode_class): Add prototype. - Thu Sep 30 14:19:28 1993 Jason Merrill (jason@deneb.cygnus.com) + * config/sh/sh.c (sh_cannot_change_mode_class): New. - * g++int.texi: Add error reporting section, make `makeinfo'able + * config/mips/mips-protos.h (mips_cannot_change_mode_class): Add + prototype. - * cp-type2.c (my_friendly_abort): Deal with recursive calls + * config/mips/mips.c (mips_cannot_change_mode_class): New. - Thu Sep 30 12:24:33 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * doc/tm.texi (Register Classes): Remove + CLASS_CANNOT_CHANGE_MODE and CLASS_CANNOT_CHANGE_MODE_P. + Document CANNOT_CHANGE_MODE_CLASS. - * cp-decl2.c (grok_array_decl): Don't pedwarn on reversing the array - and its index in `a[b]'. + * reload.c (push_reload): Use CANNOT_CHANGE_MODE_CLASS. + (push_reload): Same. - * 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. + * simplify-rtx.c (simplify_subreg): Same. - Thu Sep 30 11:24:59 1993 Jason Merrill (jason@deneb.cygnus.com) + * reload1.c (choose_reload_regs): Same. - * 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. + * recog.c (register_operand): Same. - * error.c (lang_thing): Don't rely on STDC array initialization + * regrename.c (mode_change_ok): Change to use new + CANNOT_CHANGE_MODE_CLASS infrastructure. - Tue Sep 28 18:20:05 1993 Mike Stump (mrs@cygnus.com) + * regclass.c (cannot_change_mode_set_regs): New. + Declare subregs_of_mode. + (regclass): Use subregs_of_mode. + Remove references to reg_changes_mode. + (init_reg_sets_1): Remove class_can_change_mode and + reg_changes_mode code. + (invalid_mode_change_p): New. + (dump_regclass): Use invalid_mode_change_p instead of + class_can_change_mode. + (regclass): Same. + (record_operand_costs): Do not set reg_changes_mode. - * 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. + * local-alloc.c (struct qty): Remove changes_mode field. + (alloc_qty): Remove changes_mode initialization. + (update_qty_class): Remove set of changes_mode. + (find_free_reg): Use subregs_of_mode. - Mon Sep 27 14:54:42 1993 Mike Stump (mrs@cygnus.com) + * global.c (find_reg): Use subregs_of_mode info. - * 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. + * rtl.h (cannot_change_mode_set_regs): New prototype. + (invalid_mode_change_p): Same. + (REG_CANNOT_CHANGE_MODE_P): New macro. - Mon Sep 27 13:02:51 1993 Jason Merrill (jason@deneb.cygnus.com) + * flow.c (mark_used_regs): Calculate subregs_of_mode. Remove + REG_CHANGES_MODE. + (life_analysis): Clear subregs_of_mode. - * cp-type2.c (my_friendly_abort): Undo previous change + * combine.c (subst): Pass class to CLASS_CANNOT_CHANGE_MODE_P. + Remove use of CLASS_CANNOT_CHANGE_MODE. + (simplify_set): Same. + (gen_lowpart_for_combine): Calculate subregs_of_mode. Remove + REG_CHANGES_MODE. - * 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. + * regs.h: Add extern for subregs_of_mode; + Include hard-reg-set and basic-block. + (REG_CHANGES_MODE): Delete. - * cp-method.c: Strip out error reporting code +2002-11-03 Roger Sayle - * Makefile.in (CPLUS_OBJS): Add error.o and cp-error.o + * real.c (real_sqrt): New function to calculate square roots. + * real.h (real_sqrt): Add function prototype. + * builtins.c (fold_builtin): Fold sqrt of constant argument. + * simplify-rtx.c (simplify_unary_operation): Simplify sqrt + of constant argument. - * 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. +2002-11-03 John David Anglin - * error.c: New file, provides call-back mechanism for language- - dependent error reporting. + * jump.c (never_reached_warning): Don't set contains_insn until the + first line note is seen. - Fri Sep 24 13:52:27 1993 Jason Merrill (jason@deneb.cygnus.com) +2002-11-03 David Edelsohn - * cp-type2.c (my_friendly_abort): Don't die quietly if - errorcount or sorrycount are positive, die loudly. + * config/rs6000/rs6000.md (movti_string): Use string instructions. -Fri Oct 8 13:58:13 1993 Doug Evans (dje@cygnus.com) +2002-11-03 Roger Sayle - * loop.c (scan_loop): When skipping consecutive insns, - don't count notes. + PR c/7128 + * c-typeck.c (c_expand_asm_operands): Defend against + error_mark_nodes in the output argument to avoid ICE. -Fri Oct 8 10:41:07 1993 Chip Salzenberg (chip@fin.uucp) +2002-11-03 Eric Botcazou - * c-common.c (check_function_format): Correct error in last - change. + PR middle-end/8408 + * genrecog.c (preds): Handle ADDRESSOF. + (validate_pattern): Mark it as an lvalue. -Fri Oct 8 08:10:03 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-11-02 David Edelsohn - * c-parse.in (initdcl, notype_initdcl): Call push_momentary and - pop_momentary here. - (init): Not here. + * config/rs6000/rs6000.c (rs6000_override_options): Use string + instructions when optimizing for size. -Fri Oct 8 06:35:07 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +2002-11-02 Kazu Hirata - * dbxout.c (dbxout_type, case INTEGER_TYPE): Correctly check - for type smaller than `integer'. + * config/h8300/h8300.h: Fix comment typos. + * config/h8300/h8300.md: Likewise. + * config/h8300/lib1funcs.asm: Likewise. - * expr.c (expand_expr, case MAX_EXPR): Don't use TARGET directly - if it is a volatile MEM. +2002-11-02 Gerald Pfeifer - * 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. + Revert this change: - * 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. + *doc/install.texi (Installing GCC: Configuration): Clarify + the only supported ways to configure gcc. - * dbxout.c (dbxout_parms): Don't confuse a parameter at an - offset of zero from AP or FP with one that has variable size. +2002-11-01 Kazu Hirata - * calls.c (emit_library_call): Fix typo in last change; should - use Pmode instead of SImode. + * config/h8300/h8300.md (anonymous and:QI pattern): Use 'n' + instead of 'O' for the constraint for the second operand. -Fri Oct 8 00:34:39 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-11-01 Mark Mitchell - * c-decl.c (finish_decl): Error if block-scope static var - has incomplete type. + PR c++/8391 + * toplev.c (rest_of_compilation): Do not refuse to output code for + an inline function in a local class. - * expr.c (expand_expr, case VAR_DECL): If decl wasn't laid out, - lay it out now, and fix the rtl's mode. +2002-11-01 David O'Brien -Thu Oct 7 12:30:10 1993 Chip Salzenberg (chip@fin.uucp) + * config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Define __arch64__. + (TRANSFER_FROM_TRAMPOLINE): Reformat. + Add comment. - * c-decl.c (complete_array_type): Correctly set MAXINDEX to - one less than array size. +2002-11-01 Kazu Hirata -Thu Oct 7 20:44:41 1993 Torbjorn Granlund (tege@adder.cygnus.com) + * config/h8300/h8300.h (CAN_ELIMINATE): Simplify. - * c-typeck.c (build_binary_op): For *_DIV_EXPR, set shorten based - on orig_op0. +2002-11-01 Toshiyasu Morita -Thu Oct 7 18:19:17 1993 Jim Wilson (wilson@cygnus.com) + * config/h8300/h8300.h (OPTIMIZATION_OPTIONS): New. - * xm-mips.h (HAVE_VPRINTF): Correct typo, is VPRINTF not VFPRINTF. +2002-11-01 Steve Ellcey - * Makefile.in (LIB2FUNCS): Add _fixtfdi, _fixunstfdi, _floatditf. + * config/ia64/ia64.h (MASK_INLINE_DIV_LAT): Remove. + (MASK_INLINE_DIV_THR): Remove. + (TARGET_INLINE_DIV_LAT): Remove. + (TARGET_INLINE_DIV_THR): Remove. + (TARGET_INLINE_DIV): Remove. + (MASK_INLINE_FLOAT_DIV_LAT): New macro. + (MASK_INLINE_FLOAT_DIV_THR): New macro. + (MASK_INLINE_INT_DIV_LAT): New macro. + (MASK_INLINE_INT_DIV_THR): New macro. + (TARGET_INLINE_FLOAT_DIV_LAT): New macro. + (TARGET_INLINE_FLOAT_DIV_THR): New macro. + (TARGET_INLINE_INT_DIV_LAT): New macro. + (TARGET_INLINE_INT_DIV_THR): New macro. + (TARGET_INLINE_FLOAT_DIV): New macro. + (TARGET_INLINE_INT_DIV): New macro. + * config/ia64/ia64.md (divsi3): Change to use new macros. + (modsi3): Ditto. + (udivsi3): Ditto. + (umodsi3): Ditto. + (divsi3_internal): Ditto. + (divdi3): Ditto. + (moddi3): Ditto. + (udivdi3): Ditto. + (umoddi3): Ditto. + (divdi3_internal_lat): Ditto. + (divdi3_internal_thr): Ditto. + (divsf3): Ditto. + (divsf3_internal_lat): Ditto. + (divsf3_internal_thr): Ditto. + (divdf3): Ditto. + (divdf3_internal_lat): Ditto. + (divdf3_internal_thr): Ditto. + (divtf3): Ditto. + (divtf3_internal_lat): Ditto. + (divtf3_internal_thr): Ditto. + * config/ia64/ia64.c (ia64_override_options): Change + to check new macros for conflicts in settings. + * doc/invoke.texi (-minline-divide-min-latency): Remove. + (-minline-divide-max-throughput): Remove. + (-minline-float-divide-min-latency): New. + (-minline-float-divide-max-throughput): New. + (-minline-int-divide-min-latency): New. + (-minline-int-divide-max-throughput): New. -Thu Oct 7 14:58:02 1993 Michael Meissner (meissner@osf.org) +2002-11-01 Richard Earnshaw (rearnsha@arm.com) - * configure (i386-osf): ELF on OSF/1 does not need collect2. + PR target/7856 + * arm.c (use_return_insn): Don't use a return insn if there are + saved integer regs, but LR is not one of them. -Thu Oct 7 17:38:25 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri Nov 1 10:33:15 CET 2002 Jan Hubicka - * cccp.c (main): New option -lang-c-c++-comments. + * expr.c (emit_move_insn): Use SCALAR_FLOAT_MODE_P + * machmode.h (SCALAR_FLOAT_MODE_P): New macro. -Thu Oct 7 16:40:38 1993 Michael Meissner (meissner@osf.org) +Thu Oct 31 18:20:50 CET 2002 Jan Hubicka - * 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. + * i386.md (sse_loadss, sse_loadsd): Canonicalize; add expander + (movps, movpd splitters): Use canonical form. + (movv2di): Fix merge problem. - * i386.h (FINALIZE_PIC): Add macro to set the variable - current_function_uses_pic_offset_table if either -p or -a switches - are used. +Thu Oct 31 16:22:31 CET 2002 Jan Hubicka + + * i386.md (negdf2_ifs_rex64): Don't allow GPR operand. + +2002-10-31 Nathanael Nerode + + PR optimization/6162 + * doc/md.texi: Document restriction on commutative operand + specification. + +2002-10-31 Eric Christopher + + * explow.c (convert_memory_address): Use shallow_copy_rtx. + +2002-10-31 Steve Ellcey + + * expmed.c (store_bit_field): Check FUNCTION_ARG_REG_LITTLE_ENDIAN. + +2002-10-31 Steve Ellcey + + * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Set for non-floats. + +Thu Oct 31 Dale Johannesen + + * config/rs6000/darwin.h: Correct formatting in previous. + +Thu Oct 31 Dale Johannesen + + * config/rs6000/darwin.h: Enable -falign-xxx options. + +Thu Oct 31 18:08:00 CET 2002 Jan Hubicka + + * i386.c (override_options): Set defaults for flag_omit_frame_pointer, + flag_asynchronous_unwind_tables, flag_pcc_struct_return. + * i386.c (optimization_options): Set flag_omit_frame_pointer, + flag_asynchronous_unwind_tables, flag_pcc_struct_return to 2. + Do not clear -momit-leaf-frame-pointer when profiling. + (ix86_frame_pointer_required): Frame pointer is always required when + profiling. + +Thu Oct 31 16:09:44 CET 2002 Jan Hubicka + + * i386.md (negdf2_ifs_rex64): Don't allow GPR operand. + +Thu Oct 31 12:45:55 2002 J"orn Rennecke + + * sh.h (binary_logical_operator): Declare. + * sh.c (binary_logical_operator): New function. + * sh.md (xordi3+1): New combiner splitter pattern. + +2002-10-31 David O'Brien + + * config/sparc/freebsd.h (TRANSFER_FROM_TRAMPOLINE): Define + __enable_execute_stack function. + +2002-10-30 Zack Weinberg + + * gthr.h, gthr-dce.h, gthr-posix.h, gthr-rtems.h, + gthr-solaris.h, gthr-win32.h: Remove __gthread_key_dtor. + * unwind-sjlj.c (fc_key_dtor): Delete. + (fc_key_init): Adjust __gthread_key_create call to match. + +2002-10-30 Aldy Hernandez -Thu Oct 7 17:07:57 1993 Ian Lance Taylor (ian@cygnus.com) + * c-common.c: Add GTY to vector_type_node_list. - * 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. +2002-10-30 John David Anglin -Thu Oct 7 11:11:25 1993 Jason Merrill (jason@deneb.cygnus.com) + * pa-linux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Define. + * pa-protos.h (attr_length_millicode_call, attr_length_call, + pa_init_machine_status): Declare new global functions. + * pa.c (void copy_fp_args, length_fp_args, get_plabel): Declare and + implement new functions. + (attr_length_millicode_call, attr_length_call): Implement. + (total_code_bytes): Change type to long. + (pa_output_function_prologue): Compute total_code_bytes on TARGET_64BIT. + Reset counter if flag_function_sections. + (output_deferred_plabels): Set output alignment to 3 for TARGET_64BIT. + (output_cbranch): Move call to gen_label_rtx. + (output_millicode_call): Rewrite adding long TARGET_64BIT call, expose + delay slot in all variants, shorten pc-relative calls. + (output_call): Rewrite adding long TARGET_64BIT call, improved delay + slot usage and exposure, various new call variants, and shortened + sequences for some variants on TARGET_PA_20. + Miscellaneous format changes. + * pa.h (total_code_bytes): Change type to long. + (MASK_LONG_CALLS, TARGET_LONG_CALLS, TARGET_LONG_ABS_CALL, + TARGET_LONG_PIC_SDIFF_CALL, TARGET_LONG_PIC_PCREL_CALL): Define. + (TARGET_SWITCHES): Add "-mlong-calls" and "-mno-long-calls" options. + (EXTRA_CONSTRAINT, GO_IF_LEGITIMATE_ADDRESS, + LEGITIMIZE_RELOAD_ADDRESS): Don't use long floating point loads and + stores on TARGET_ELF32. + *pa.md (define_delay): Allow insns in delay on TARGET_PORTABLE_RUNTIME. + (unnamed patterns for mulsi3, divsi3, udivsi3, modsi3, umodsi3 and + canonicalize_funcptr_for_compare expanders): Calculate attribute length + attr_length_millicode_call(). + (call_internal_symref, call_value_internal_symref): Clobber register 1. + Calculate attribute length using attr_length_call(). + (call_internal_reg_64bit, call_value_internal_reg_64bit): Move gp load + to delay slot. + (sibcall, sibcall_value): Rewrite. + (sibcall_internal_symref, sibcall_value_internal_symref): Clobber + register 1. Use attr_length_call(). + (sibcall_internal_symref_64bit, sibcall_value_internal_symref_64bit): + New patterns. + (unamed pattern for canonicalize_funcptr_for_compare): Rewrite. + * som.h (MEMBER_TYPE_FORCES_BLK): Define. + * t-pa64 (TARGET_LIBGCC2_CFLAGS): Add "-mlong-calls". + * doc/invoke.texi (mlong-calls): Document. - * 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. +2002-10-30 Roger Sayle -Thu Oct 7 14:45:20 1993 Doug Evans (dje@canuck.cygnus.com) + * fold-const.c (fold_binary_op_with_conditional_arg): Improve + handling of cases where one or both branches of the conditional + have void type, i.e. throw an exception or don't return. + (fold): Only apply (and undo) type conversion to the non-void + branches of a COND_EXPR. - * Makefile.in (install-dir): Fix typo. - (install-common): Remove obsolete comment. - (install-common): Install native g++ only if not cross. +2002-10-30 Mark Mitchell + + PR c++/8333 + * varasm.c (asm_output_aligned_bss): Do not call + ASM_GLOBALIZE_LABEL. + +2002-10-30 David Edelsohn + Torbjorn Granlund + + * config/rs6000/rs6000.md (load_toc_v4_PIC_1): Use preferred form + for addressibility. + (load_toc_v4_PIC_1b): Same. + +2002-10-30 Kazu Hirata + + * config/h8300/h8300.c (h8300_eightbit_constant_address_p): + Truncate the addresses for H8/300 using HImode. + +Tue Oct 29 23:28:10 CET 2002 Jan Hubicka + + * i386.md (negdf splitter): Fix construction of the constant. + +Tue Oct 29 20:47:06 CET 2002 Jan Hubicka + + * i386.md (negsf, negdf): Reorganize to use vector modes + for SSE variants. + (abssf, absdf): Use force_reg. + (movv4sf, movv2df): New splitters. + * i386.h (PREDICATE_CODES): add zero_extended_scalar_load_operand + * i386.c (zero_extended_scalar_load_operand + + * i386-protos.h (ix86_expand_call): Update prototype. + * i386.c (ix86_function_ok_for_sibcall): Handle 64bit + (ix86_expand_call): Use r11 for indirect sibcalls. + * i386.md (call, call_value, untyped_call, call_value_pop): + update x86_expand_call call. + (sibcall, sibcall_value): new patterns + (call_rex64, call_value_rex64): Do not accept sibcalls. + (sibcall_rex64, sibcall_value_rex64, + sibcall_rex64_v, sibcall_value_rex64_v): New. + +Tue Oct 29 15:37:39 CET 2002 Jan Hubicka + + * toplev.c (rest_of_compilation): Reorganize way reg_scan is called + before final pass. + +2002-10-29 Hans-Peter Nilsson + + * toplev.c (rest_of_type_compilation): Return early in case of + errors. + (check_global_declarations): Don't call debug_hooks->global_decl + in case of errors. -Thu Oct 7 11:27:45 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-10-28 Andreas Bauer - * calls.c (emit_library_call, emit_library_call_value): - Allocate a temp slot if arg must be passed by reference. + * doc/c-tree.texi (Tree overview): Fix typos. - * gcc.c (read_specs): Fix call to bzero. +2002-10-29 Phil Edwards -Thu Oct 7 08:53:57 1993 Torbjorn Granlund (tege@adder.cygnus.com) + * Makefile.in (gnucompare*): Only record bad comparisons + if there really was a bad comparison. - * alpha.md: Clean up usage of commutative declarator `%'. +Tue Oct 29 19:32:16 CET 2002 Jan Hubicka -Thu Oct 7 08:14:46 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * i386.h (CONST_DOUBLE_OK_FOR_LETTER_P): Remove 'H' + * i386.md (movsf*, movdf*): Use 'C' instead of 'H' + * md.texi (machine dependent constraints): Document 'C' - * i860/xm-fx2800.h (HAVE_VPRINTF): Fix typo; was HAVE_VFPRINTF. + * simplify-rtx.c (simplify_subreg): Fix const_int->vector subregging. - * xm-alpha.h: Always declare malloc, realloc, etc, to be void *. + * i386.c (ix86_expand_vector_move): Fix. - * combine.c (force_to_mode): Sign-extend constant being truncated. + * i386.c (ix86_expand_builtin): Use sse2_maskmovdqu_rex64. + * i386.md (sse2_maskmovdqu_rex64): New pattern -Wed Oct 6 18:53:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + PR target/8322 + * xmmintrin.h (_mm_stream_pi, _mm_stream_pd): Fix cast. + (ix86_init_mmx_sse_builtins): Fix type. - * bi-lexer.c (xmalloc, xrealloc): Cast the result of malloc, realloc. +2002-10-29 Jason Thorpe -Wed Oct 6 15:30:39 1993 Michael Meissner (meissner@osf.org) + * gthr-posix.h: Include for feature tests. + (sched_get_priority_max, sched_get_priority_min) + (pthread_getschedparam, pthread_setschedparam): Only use + if _POSIX_THREAD_PRIORITY_SCHEDULING is defined. + (__gthread_objc_thread_set_priority): Don't treat all nonzero + returns from sched_get_priority_max and sched_get_priority_min + as an error. - * 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. +2002-10-29 Kazu Hirata -Wed Oct 6 15:29:40 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * config/h8300/h8300.h (TARGET_DEFAULT): Make it + MASK_QUICKCALL. - * 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. +2002-10-29 Kazu Hirata -Wed Oct 6 13:50:03 1993 Ian Lance Taylor (ian@cygnus.com) + * config/h8300/h8300.c (h8300_eightbit_constant_address_p): New. + (h8300_tiny_constant_address_p): Likewise. + * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Use + h8300_eightbit_constant_address_p. + (TINY_CONSTANT_ADDRESS_P): Use h8300_tiny_constant_address_p. + * config/h8300/h8300-protos.h: Add the prototypes for the two + new functions. - * 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. +2002-10-29 Kazu Hirata -Wed Oct 6 13:47:13 1993 Jim Wilson (wilson@mole.gnu.ai.mit.edu) + * reload1.c (update_eliminables): Unconditionally check if + frame_pointer_needed has changed. - * 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. +Tue Oct 29 15:37:39 CET 2002 Jan Hubicka -Wed Oct 6 13:14:13 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * toplev.c (rest_of_compilation): Reorganize way reg_scan is called + before final pass. - * c-typeck.c (build_c_cast): When making a CONSTRUCTOR, provide - the dummy first operand. +2002-10-29 Eric Botcazou - * real.c (real_value_truncate): Correct etrunci argument - in case SImode. + PR optimization/8334 + * expr.c (expand_expr) [PLUS]: Don't use simplify_binary_operation; + check for zero operands explicitly. -Wed Oct 6 06:55:05 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +2002-10-29 Richard Sandiford - * final.c (asm_fprintf): Add cases for 'w' and 'l'. + * config/mips/mips.md (extv, extzv, insv): Set size of referenced + memory after adjusting to BLKmode. - * 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. +2002-10-29 Kazu Hirata - * regclass.c (record_reg_classes): Check if operands are the same - by seeing if they are the same register. + * config/h8300/h8300.h (MASK_*): New. + (TARGET_*): Use MASK_*. - * cse.c (record_jump_cond): Rehash OP1 if OP0's insert_regs returns - nonzero. +2002-10-28 Zack Weinberg - * calls.c (expand_call): Add yet another assignment to MEM_IN_STRUCT_P. + * config.gcc (*-*-vxworks, powerpc-wrs-vxworks*): New stanzas. + * config/t-vxworks, config/vxworks.h, config/rs6000/t-vxworks, + config/rs6000/vxworks.h: New files. + * config/rs6000/sysv4.h: Rip out -mvxworks and all related code. -Wed Oct 6 00:08:28 1993 Jim Wilson (wilson@mole.gnu.ai.mit.edu) + * config.gcc (alpha*-*-vxworks*, arm-*-vxworks*, + i?86-wrs-vxworks*, i960-wrs-vxworks* [all], + m68k-wrs-vxworks*, mips-wrs-vxworks, powerpc-wrs-vxworks*, + powerpcle-wrs-vxworks*, sparc*-wrs-vxworks* [all], + sparc-*-vxsim*): Delete stanzas. + * gthr-vxworks.h: Rip out all substantive code and just + include gthr-single.h. - * 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. + * config/alpha/vxworks.h, config/arm/vxarm.h, + config/i386/vxi386.h, config/i960/t-vxworks960, + config/i960/vx960-coff.h, config/i960/vx960.h, + config/m68k/t-vxworks68, config/m68k/vxm68k.h, + config/mips/vxworks.h, config/rs6000/vxppc.h, + config/sparc/t-vxsparc, config/sparc/t-vxsparc64, + config/sparc/vxsim.h, config/sparc/vxsparc.h, + config/sparc/vxsparc64.h: Delete files. - * sparc.h (SELECT_CC_MODE): Add support for ASHIFT. - * sparc.md (ashlsi3+1, ashlsi3+2): New patterns to replace shift - and compare with addcc. +2002-10-28 Jason Thorpe -Tue Oct 5 16:25:32 1993 Jim Wilson (wilson@cygnus.com) + * config.gcc (*-*-netbsd*): Add NETBSD_ENABLE_PTHREADS to + tm_defines if pthreads are enabled. + * config/netbsd.h (LIB_SPEC): Only support the -pthread option + if NETBSD_ENABLE_PTHREADS is defined. - * sched.c (sched_analyze_2): Make volatile asms depend on all - pseudo registers. +2002-10-28 Kazu Hirata - * mips.c (mips_expand_prologue): Handle structure return values as - the first argument if necessary. + * ChangeLog.1: Fix typos. + * cse.c: Fix a comment typo. + * reload1.c: Likewise. - * mips.h (CLASS_MAX_NREGS): For DFmode and !TARGET_FLOAT64 case, - return 2 not 4. - (CLASS_UNITS): Take size parameter instead of num (words). +2002-10-27 Hans-Peter Nilsson - * 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. + * fixinc/inclhack.def (libc1_G_va_list): Correct test_text. + * fixinc/tests/base/_G_config.h: New file. - * 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 (). +2002-10-27 Kazu Hirata - * 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. - - * gcc.c (read_specs): Make a null entry at end of `compilers' - when reading new entry from file. - - * tree.c (contains_placeholder): Return 0 for WITH_RECORD_EXPR. - - * 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. + * combine.c: Fix comment formatting. + * loop.c: Likewise. + * real.c: Likewise. + * regclass.c: Likewise. + * regmove.c: Likewise. + * regrename.c: Likewise. + * reg-stack.c: Likewise. + * reload1.c: Likewise. + * reload.c: Likewise. + * reload.h: Likewise. + * unroll.c: Likewise. - * bc-emit.c (dconst[012], dconstm1): Remove redundant definition. +2002-10-27 Kazu Hirata -Tue Oct 5 06:24:43 1993 Lisa Repka (lisa@MicroUnity.com) + * reload1.c (reload): Fix a comment typo. - * varasm.c (decode_rtx_const, case CONST_DOUBLE): Only use mode - of X if it is not VOIDmode. +Sun Oct 27 10:15:24 CET 2002 Jan Hubicka -Tue Oct 5 00:45:30 1993 James Van Artsdalen (james@bigtex.cactus.org) + * linux64.h (DEFAULT_PCC_STRUCT_RETURN): Define. - * 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. +2002-10-27 Zdenek Dvorak - * i386/i386.md (movxf,extenddfxf2,extendsfxf2): Don't emit fld - before calling output_to_reg: output_to_reg does that now. + * Makefile.in (dwarf2out.o): Add dependendcy on hashtab.h. + * dwarf2out.c: Include hashtab.h. + (is_main_source): New static variable. + (attr_checksum, die_checksum): Modified to handle die references. + (same_loc_p, same_dw_val_p, same_attr_p, same_die_p, same_die_p_wrap, + unmark_all_dies, htab_cu_hash, htab_cu_eq, htab_cu_del, check_duplicate_cu, + record_comdat_symbol_number): New static functions. + (output_comp_unit, compute_section_prefix, is_type_die, break_out_includes, + mark_dies, unmark_dies, dwarf2out_start_source_file): Modified. + * toplev.c (rest_of_decl_compilation): Call of dwarf2out_decl for type + declarations added. - * i386/i386.h (FIXED_REGISTERS): Don't fix hard reg st7 if XFmode - is enabled. +2002-10-26 Kazu Hirata - * 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. + * config/h8300/h8300.c (initial_offset): Change to + h8300_initial_elimination_offset. + * config/h8300/h8300.h (INITIAL_ELIMINATION_OFFSET): Use + h8300_initial_elimination_offset. + * config/h8300/h8300-protos.h: Update the prototype. -Mon Oct 4 18:40:51 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-10-26 Hans-Peter Nilsson - * regclass.c (record_reg_classes): There is no alt_cost - for a pair of matching args if they are the same pseudo reg. + * config/mmix/mmix.h (LIBCALL_VALUE): Use + MMIX_RETURN_VALUE_REGNUM, not MMIX_OUTGOING_RETURN_VALUE_REGNUM. + (FUNCTION_VALUE_REGNO_P): Similar, but move code to... + * config/mmix/mmix.c (mmix_function_value_regno_p): New. + * config/mmix/mmix-protos.h: Remove needless ifdefs on TREE_CODE + and RTX_CODE. + (mmix_function_value_regno_p): Declare. - * 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. + * config/mmix/mmix.md ("fixuns_truncdfdi2"): Replace unsigned_fix, + invalid for floating point mode result, with fix. -Mon Oct 4 18:03:04 1993 Stephen L Moshier (moshier@world.std.com) +Fri Oct 25 00:04:21 2002 Alexandre Oliva - * 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. + * Makefile.in (GCC_FOR_TARGET): Add -L$(objdir)/../ld. + (STAGE2_FLAGS_TO_PASS): Pass GCC_FOR_TARGET. + (stage1_build): Likewise. -Mon Oct 4 05:52:21 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +2002-10-25 Mike Stump - * a29k.c (incoming_regs): Only use 16 registers for parameter - passing. + Fixes gcc.dg/warn-1.c. + * c-typeck.c (warn_for_assignment): Don't print argument number, + if zero. - * 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. +Sat Oct 26 01:44:46 CEST 2002 Jan Hubicka -Sun Oct 3 18:51:19 1993 James Van Artsdalen (james@bigtex.cactus.org) + * toplev.c (dump_file_index): Add DFI_ce3. + (dump_file_info): Likewise. + (rest_of_compilation): Run first ifcvt pass before tracer. - * 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. +2002-10-25 Steve Ellcey - * 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. + * config/ia64/hpux.h (BITS_BIG_ENDIAN): Remove. - * 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. +2002-10-25 Richard Henderson - * 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. + * real.c (real_to_decimal): If the >1 tens reduction loop results + in a negative exponent, fall into the <1 pten computation. - * i386/bsd.h,i386/sco4.h (ASM_OUTPUT_DOUBLE): Deleted, - use default version. +2002-10-25 Zack Weinberg - * i386/next.h,i386/sco.h (VALUE_REGNO): Add case XFmode. + PR middle-end/6994 + * c-objc-common.c (inline_forbidden_p): Can not inline + functions containing structures or unions containing VLAs. + * tree-inline.c (walk_tree): For all class 't' nodes, walk + TYPE_SIZE and TYPE_SIZE_UNIT. + (copy_tree_r): Copy types if they are variably modified. -Sun Oct 3 16:35:05 1993 Michael Meissner (meissner@wombat.gnu.ai.mit.edu) +2002-10-25 Ulrich Weigand - * collect2.c (read_file): Fix typo in prototype. + * config/s390/s390.md: Remove old-style peepholes. -Sun Oct 3 18:32:46 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-10-25 Ulrich Weigand - * Makefile.in (bytecode.realclean): Don't delete bi-lexer.c. + * config/s390/s390.c (s390_decompose_address): Do not range check the + displacement if base or index is the argument pointer register. -Sun Oct 3 19:45:02 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +2002-10-24 Hans-Peter Nilsson - * gcc.c (default_compilers): Add rules for Ada. - * toplev.c (lang_options): Add temporary parameter "gnat". + PR other/3337 + PR bootstrap/6763 + PR bootstrap/8122 + * fixinc/inclhack.def (libc1_G_va_list): New fix. + * fixinc/fixincl.x: Regenerate. + * config/i386/linux.h: Move MD_FALLBACK_FRAME_STATE_FOR inside + ifndef IN_LIBGCC2. Wrap it together with signal.h and + sys/ucontext.h inclusion in ifndef USE_GNULIBC_1. + * configure.in (gcc_AC_CHECK_DECLS): Check vasprintf too. + * config.in, configure: Regenerate. - * tree.c (staticp): DECL_EXTERNAL is not defined for CONSTRUCTOR. +2002-10-24 Igor Shevlyakov - * tree.def (PLACEHOLDER_EXPR, WITH_RECORD_EXPR): New tree codes. - * tree.c (save_expr): Don't evaluate something containing a - PLACEHOLDER_EXPR. - (contains_placeholder_p, substitute_in_{expr,type}): New functions. - * tree.h: Add declarations for new functions. - * calls.c (expand_call): Pass objects who size depends on the - contents of the object by invisible reference. - * function.c (assign_parms): Likewise. - * explow.c (expr_size): If the size contains a PLACEHOLDER_EXPR, - surround it with a WITH_RECORD_EXPR. - * expr.c (store_expr): Use expr_size value, not size_int. - (store_constructor): Handle case of variable position and allow - it to contain a PLACEHOLDER_EXPR. - (get_inner_reference): Make a WITH_RECORD_EXPR if required. - (expand_expr, case PLACEHOLDER_EXPR, WITH_RECORD_EXPR): New cases. - (expand_expr, case ARRAY_REF): Make WITH_RECORD_EXPR expressions - when needed. - - * calls.c (expand_call): Set MEM_IN_STRUCT_P in stack slot if - appropriate. + * varasm.c (struct rtx_const): Array size 16 for V16QImode. - * varasm.c (output_constant_def): Copy string as well as string - node when deferring output of constants. - - * configure (i370-*): Renamed tm-mvs.h to mvs.h. - * config/i370/mvs.h: Renamed from tm-mvs.h. - -Sun Oct 3 12:50:57 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) - - * arm.h (function definitions): Add new functions definitions. - (arm_condition_codes): make this externally visible. - (STARTFILE_SPEC): Move to riscix.h and riscix1-1.h. - (CPP_PREDEFINES): Move old defn to riscix.h and riscix1-1.h, add - generaic default definition. - (CPP_SPEC): Define for generic implementation, pass cpu variant - defn to pre-processor. - (TARGET_VERSION): Indicate this is generic variant. - (TARGET_6): New macro, set when compiling for arm6 in 32bit mode. - (ARM_EXTRA_TARGET_SWITCHES): New macro, hook for os dependent files - to make additions to TARGET_SWITCHES. Default to null. - (processor_type): new enum type defining processor variant for - attributes. - (arm_cpu_attr): Macro to get at cpu type from attributes. - (TARGET_WHEN_DEBUGGING): remove non-generic definitions - (OVERRIDE_OPTIONS): Set processor type for attributes. - (OPTIMIZE_OPTIONS): Set flag_force_mem. - (PROMOTE_MODE): Promote byte constants unsigned. - (ENABLE_XF_PATTERNS): Define, do not enable XFmode insns by default - -- it tends to crash riscix. - (REAL_ARITHMETIC): Define. - (CONSTANT_ALIGNMENT): Align string constants so that we can access - them faster. - (TARGET_FLOAT_FORMAT): Is IEEE_FLOAT_FORMAT. - (FIRST_PSEUDO_REGISTER): Increase to support fake registers. - (FIXED_REGISTERS): Describe behaviours of fake regs. - (CALL_USED_REGISTERS): Likewise. - (HARD_REGNO_NREGS): Deal with fake frame and argument registers. - (HARD_REGNO_MODE_OK): Likewise. - (FRAME_POINTER_REGNUM): Make this a fake register) - (HARD_FRAME_POINTER_REGNUM): Define. set to reg 11 (fp). - (FRAME_POINTER_REQUIRED): It is if TARGET_APCS. - (ARG_POINTER_REGNUM): Set to new fake register. - (CC_REGNUM): Define, set to fake register. - (REG_ALLOC_ORDER): Adjust to get better allocation in small functions. - Add fake registers. - (REG_CLASS_CONTENTS): Add new fakes. - (REGNO_REG_CLASS): Likewise. - (CONST_OK_FOR_LETTER_P): Add recognition for negated and inverted - constant integers. - (EXTRA_CONSTRAINT): Add 'Q' to recognize MEM (REG). Add 'S' for - symbols in the text segment. - (CONST_DOUBLE_OK_FOR_LETTER_P): Add 'H' for negated fp constants. - (SECONDARY_OUTPUT_RELOAD_CLASS): Define. Needed to store DFmode held - in SImode regs. - (REGISTER_MOVE_COST): Make this more expensive than memory for - float<->int moves. - (USE_RETURN_INSN): Define, call function. - (ELIMINABLE_REGS): Define to eliminate fake regs. - (CAN_ELIMINATE): Likewise. - (INITIAL_ELIMINATION_OFFSET): Likewise. - (INITIAL_FRAME_POINTER_OFFSET): Delete. - (REGNO_OK_FOR_BASE_P): Add fake regs. - (MAX_REGS_PER_ADDRESS): Is only 2; shifting by reg not allowed in addr. - (CONSTANT_ADDRESS_P): Accept addresses with the symbol_ref flag set. - (LEGITIMATE_CONSTANT): Accept negated floats; also constant addresses. - (ENCODE_SECTION_INFO): Mark strings that will go in the text segment - with the symbol_ref flag. - (REG_OK_FOR_BASE_P [!REG_OK_STRICT]): Add new fakes. - (REG_OK_FOR_PRE_POST_P [!REG_OK_STRICT]): Likewise. - (REG_OK_FOR_PRE_POST_P [REG_OK_STRICT]): Likewise. - (GO_IF_LEGITIMATE_INDEX): constant FLOAT indicees must be word - aligned; be more restrictive about multi-reg ints; allow all legal - shift operations; check boundary conditions more carefully. - (DEFAULT_SIGNED_CHAR): Remove os dependent alternatives. - (LOADS_ZERO_EXTEND): Define; only QImode loads do. - (HAVE_VPRINTF): Move to xm-arm.h - (SHIFT_COUNT_TRUNCATED): Not true -- Delete. - (CONST_COSTS): Define; give the cost of constants. - (RTX_COSTS): Define; give the cost of rtl. - (MEMORY_MOVE_COST): Is expensive. - (BRANCH_COST): Set high to get conditional instructions. - (ADDRESS_COST): Are all the same. - (NOTICE_UPDATE_CC): Delete. - (EXTRA_CC_MODES): Add a no overflow mode and floating point modes. - (EXTRA_CC_NAMES): Likewise. - (SELECT_CC_MODE): Return the appropriate mode. - (STORE_FLAG_VALUE): Define. - (PREDICATE_CODES): Define, show what they are. - (ARM_OS_NAME): Supply generic version. - (ASM_FILE_START): Print appropriate OS name. - (REGISTER_NAMES): Add fakes. - (DBX_OUTPUT_MAIN_SOURCE_FILENAME): set desc field to compiler version - number expected by dbx (RISCIX hack). - (ASM_OUTPUT_INTERNAL_LABEL): Don't reset arm_ccfsm_state if label isn't - a code ('L') label. - (ASM_OUTPUT_LONG_DOUBLE): Define for XFmode. - (ASM_OUTPUT_DOUBLE): Use REAL_ARITMETIC routines. - (ASM_OUTPUT_FLOAT): Likewise. - (ASM_OUTPUT_OPCODE): Change of arm_ccfsm_state is now handled by insns - that need to change it. - (PRINT_OPERAND): %d is replaced by appropriate condition characters, - %D by the inverse of those given. CONST_DOUBLEs use REAL_ARITHMETIC - functions. - (PRINT_OPERAND_ADDRESS): Support all the shift types. - (INIT_CUMULATIVE_ARGS): Add missing bracket. +2002-10-24 Richard Henderson - * riscix.h: New file -- OS dependent defintitions for riscix 1.2 and - above. + * config/i386/i386.c (x86_output_mi_thunk): Fix x86_64 pic jump. - * riscix1-1.h: New file -- OS dependent definitions for riscix before - version 1.2 +2002-10-24 Kazu Hirata - * rix-gas.h: New file -- riscix 1.2 and above, but with an assembler - which supports stabs. + * config/h8300/h8300.c (initial_offset): Simplify by using + round_frame_size. - * arm.c (arm_compare_op0, arm_compare_op1, arm_compare_fp): New - variables. - (arm_cpu): New variable. - (lr_save_eliminated): New variable. - (arm_condition_codes): delete definition. - (return_used_this_function): New variable. - (use_return_insn): New function. - (const_ok_for_arm): Use HOST_WIDE_INT; rewrite to work if - HOST_WIDE_INT > 32 bits. - (fpa_consts_inited, strings_fpa): New variables. - (init_fpa_table): New function, initialize above. - (const_double_rtx_ok_for_fpu): Rewrite using fpa_consts_inited and - REAL_ARITHMETIC functions. - (neg_const_double_rtx_ok_for_fpu): New function. - (s_register_operand): New function, as register_operand, but don't - accept SUBREG (MEM). - (reload_memory_operand): New function. - (arm_rhs_operand): Use s_register_operand. - (arm_rhsm_operand): New function. - (arm_add_operand): New function. - (arm_not_operand): New function. - (fpu_rhs_operand): Use s_register_operand. - (fpu_add_operand): New function. - (di_operand): Use s_register_operand. - (di_operand, case MEM): address must be offsettable. - (index_operand): Use s_register_operand. - (const_shift_operand): New function. - (shift_operator): Also accept MULT by power of two. - (equality_operator): New function. - (minmax_operator): New function. - (cc_register): New function. - (minmax_code): New function. - (adjacent_mem_locations): New function. - (load_multiple_operation): New function. - (store_multiple_operation): New function. - (arm_gen_load_multiple): New function. - (arm_gen_store_multiple): New function. - (gen_compare_reg): New function. - (arm_backwards_branch): New function. - (short_branch): New function. - (arm_insn_not_targeted): New function. - (fp_immediate_constant): New function. - (eliminate_lr2ip): New function. - (output_call_mem): New function. - (output_mov_long_double_fpu_from_arm): New function. - (output_mov_long_double_arm_from_fpu): New function. - (output_mov_long_double_arm_from_arm): New function. - (output_move_double): output constants using output_move_immediate; - sign_extend CONST_INTs; handle PRE/POST INCs. - (shift_instr): Handle MULT. - (output_shift_compare): New function. - (pattern_really_clobbers_lr): New function. - (function_really_clobbers_lr): New function. - (output_return_instruction): New function. - (output_prologue): Determine whether tail calling is possible, - compensate for this when saving registers. Re-initialize - return_used_this_function; use HARD_FRAME_POINTER_REGNUM, when - saving floating point regs. - (output_epilogue): Epilogue isn't needed if return_used_this_function; - use HARD_FRAME_POINTER_REGNUM when restoring floating point regs - and there is a stack frame; Arm 6 requires different return - instruction. - (output_load_symbol): New function. - (final_prescan_insn): Add support for RETURN patterns; can also - conditionalize and target a RETURN; use attributes to determine - whether condition codes are set or clobbered; add new case CALL_INSN - to switch, fail if Arm 6; support a jump inside a parallel; call - recog () before returning to recover from using attributes on other - insns. - - * arm.md (type): New attribute for scheduling. - (cpu): New attribute for cpu type for use in conds attribute. - (conds): New attribute to describe actions on condition codes, set in - insns. - (length): New attribute, set in insns. - (write_conflict): New attribute describing conflicts with the write - buffer. - (fpa): New function unit for floating point co-processor. - (write_buf): New function unit for Arm 6 write buffer. - Most patterns: use s_register_operand instead of register_operand. - Most patterns: Don't use general operand and then expect reload to - do the work. - (adddi3): op0 can be the same as ops1 or 2; clobbers condition codes. - New unnamed patterns to add an SImode operand to a DImode op. - (addsi3): accept constants that can be catered for using sub. - New unnamed patterns that set conditions on add. - (incscc): new pattern, conditional increment. - New split to add some numbers in two insns. - (addsf3): Use REAL_ARITHMETIC; support -ve immediates. - (adddf3): Likewise. - (FLOAT_EXTEND and ADD): New unnamed patterns. - (addxf3): New pattern. - (subdi3): Allow input and output operands to overlap exactly. - (SUB DImode and SImode): New unnamed patterns. - (subsi3): Don't accept a constant as last operand, it will never be - matched. - (SUB and set CC) New unnamed patterns. - (decscc): new pattern, conditional decrment. - (subdf3): Fix bad case alternative. - (FLOAT_EXTEND and SUB): New unnamed patterns. - (subxf3): New pattern. - (mulsi3): Allow op2 to be the same as op0 - (MULT and set CC): New unnamed patterns. - (MULT and ADD): Ops 2 and 3 can match op 0. - (MULT, ADD and set CC): New unnamed patterns. - (mulsf3): use fmls for faster multiply. - (FLOAT_EXTEND and MULT): New unnamed patterns. - (mulxf3): New pattern. - (divsf3): use dvfs and rdfs for faster divide. - (FLOAT_EXTEND and DIV): New unnamed patterns. - (divxf3): New pattern. - (FLOAT_EXTEND and MOD): New unnamed patterns. - (modxf3): New pattern. - (anddi3): op 0 can be the same as ops1 or 2. - (*_EXTEND and AND): New unnamed patterns - (andsi3): Also accept constants that can be handled with bic - instruction. - (AND and set CC): New unnamed patterns. - (andcbsi3): Delete, this can't be generated any more. - (NOT then AND): New unnamed patterns. - (NOT then AND and set CC): Likewise. - (iordi3): Ops 1 and 2 can match op 0. - (*_EXTEND and IOR): New unnamed patterns. - (iorsi3): Only accept a valid rhs operand for op 2. - (IOR and set CC): New unnamed patterns. - (xordi3): New pattern. - (*_EXTEND and XOR): New unnamed patterns. - (xorsi3): Only accept a valid rhs operand for op 2. - (XOR and set CC): New unnamed patterns. - (split pattern): Complex pattern with NOT, AND, and IOR, can - sometimes produce better code if reordered. - (AND (IOR () NOT ())): Special pattern to recognize spilt above. - ([su]{min,max}si3): New patterns. - (set memory from MIN/MAX operation): New pattern. - (Arithmetic on MIN/MAX operation): New pattern. - (ashlsi3, ashrsi3, lshrsi3, rotrsi3): Only accept a valid rsh for op2. - (unnamed LSHIFT pattern): likewise. - (SHIFT and set CC): New unnamed patterns. - (SHIFT and NOT): New unnamed pattern. - (SHIFT, NOT and set CC): New unnamed patterns. - (negdi2): operand1 can be the same as op 0. - (FLOAT_EXTEND and NEG): New unsigned pattern. - (negxf2): New pattern. - (abssi2): New pattern. - (ABS and NEG): New unnamed pattern. - (FLOAT_EXTEND and ABS): New unnamed pattern. - (absxf2): New pattern. - (FLOAT_EXTEND and SQRT): New unnamed pattern. - (sqrtxf2): New pattern. - ({sin,cos}{sf,df,xf}2): New patterns. - (FLOAT_EXTEND and SIN/COS): New unnamed patterns. - (one_cmpldi2): New pattern. - (NOT and set CC): New unnamed patterns. - (floatsixf2, fix_truncsfsi2, fix_truncdfsi2, fix_truncxfsi2): New - patterns. - (truncxfsf2, truncxfdf2): New patterns. - (zero_extendsidi2, zero_extendqidi2, extendsidi2): New patterns. - (ZERO_EXTEND and set CC): New patterns. - (extend{sf,df}xf2): New patterns. - (movdi): Constrains must accept PRE/POST INC/DEC. - (movsi): make an expand that splits up integers and unsupported - moves. - (unnamed pattern to match movsi): New, don't allow things to - be moved back together again. - (REG-REG copy and set CC): New unnamed pattern. - (restorehi): use plus_constant in expansion code, not PLUS in RTL part. - (storehi, storeinthi): likewise. - (movhi): Break up impossible moves. - (pattern to match movhi): Don't allow impossible moves to be put - back together. - (movqi): Break up impossible moves. - (pattern to match movqi): Don't allow impossible moves to be put - back together; convert negative constants into mvn instruction. - (movsf): Use REAL_ARITHMETIC for constants; add alternatives for - moving GENERAL_REGS to and from memory. - (movdf): Make this an expand; split out impossible moves. - (reload_outdf): New pattern. - (pattern to match movdf): Don't allow impossible moves to be put back - together; add alternatives for moving GENERAL_REGS to and from memory; - rearrange and weight to get optimal register allocation. - (movxf): New pattern. - (load_multiple): New expand pattern. - (pattern to load multiple, pattern to load multiple with write-back): - New unnamed patterns. - (store_multiple): New expand pattern. - (pattern to store multiple, pattern to store multiple with write-back): - New unnamed patterns. - (movstrsi): Expand short moves as a series of load/store multiples with - write-back. - (cmp*): Make these expands; just set some state variables. - (CC = COMPARE op, op): New unnamed patterns. - (CC = COMPARE op, NEG op): New unnamed pattern. - (CC = COMPARE op, SHIFT op): New unnamed pattern. - (FLOAT_EXTEND then COMPARE): New unnamed patterns. - (CC = CC): New unnamed (dummy) pattern to allow cse to combine repeated - compares. - (b{eq,ne,le,lt,ge,gt,geu,gtu,leu,ltu}): Make these expand patterns, - use gen_compare_reg(). - (pattern to match branches, pattern to match inverted brances): New - unnamed patterns. - (s{eq,ne,le,lt,ge,gt,geu,gtu,leu,ltu}): New expands. - (pattern to match store_flag operations): New unnamed pattern. - (pattern to match NOT store_flag, pattern to match NEG store_flag): - New unnamed patterns. - (jump): handle arm_ccfsm_state explicitly. - (CALL (MEM)): New unnamed patterns. - (return): New pattern. - (conditional RETURN): New unnamed patterns; - (table_jump (MEM)): New unnamed pattern. - (indirect_jump (MEM)): New unnamed pattern. - Replace shift-arithmetic patterns with new versions that catche all - cases. - (Old peephole patterns (commented out)): remove. - (shift-arithmetic and set CC): New unnamed patterns. - (reload patterns for all shift-arithmetic patterns): New patterns. - Add many new patterns to merge store_flag patterns, arithmetic and - shifting. - New patterns to match conditional comparisons. - (movcond): New pattern. - (arith (MEM, MEM+4)): New unnamed pattern to spot load multiple - possibility. - (patterns to match extended pre-increment): New unnamed patterns. - (peepholes to match extended post-increment): New. - (peephole to match move and set conds): Needed because combine misses - this one. - (peepholes to match load/store multiples): New. - (CALL, RETURN): New peephole. - (CALL, JUMP): New peephole. - (save_stack_nonlocal, restore_stack_nonlocal): New expands for - non-local gotos. - special split to break up some conditional arithmetic sequences - before scheduling. - - *configure (arm-*-riscix1.[01]*, arm-*-riscix*): New configurations. - *config.sub: Recognize operating system "riscix*"; recognize acorn as - vendor. - -Sat Oct 2 17:24:44 1993 James Van Artsdalen (james@bigtex.cactus.org) - - * i386.md (addhi3): Use byte opcodes when the low byte of a word - is known to be zero. - -Sat Oct 2 14:11:06 1993 John F Carr (jfc@Athena.mit.edu) - - * combine.c (can_combine_p): Allow an insn with a REG_EQUIV note - that reads memory to be moved past an insn that writes memory. - -Sat Oct 2 14:04:03 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * regclass.c (record_reg_classes): Skip to next alternative - when we skip normal cost computation. - - * collect2.c: Add prototypes to static declarations. - (PROTO): New macro. - (dup2, putenv): Functions return integers; add type and returns. - - * varasm.c (make_decl_rtl): Set TREE_SIDE_EFFECTS on global if - -fvolatile-global. - - * tree.c (build_string): Make lifetime of string the same as - tree node. - -Sat Oct 2 04:55:44 1993 Doug Evans (dje@canuck.cygnus.com) - - * a29k/a29k.h, a29k/unix.h, alpha/alpha.h, arm/arm.h, clipper/clix.h, - convex/convex.h, elxsi/elxsi.h, fx80/fx80.h, gmicro/gmicro.h, - h8300/h8300.h, i370/tm-mvs.h, i386/386bsd.h, i386/aix386ng.h, - i386/gas.h, i386/go32.h, i386/linux.h, i386/lynx.h, i386/mach.h, - i386/next.h, i386/osfelf.h, i386/osfrose.h, i386/sco.h, i386/sco4.h, - i386/sco4dbx.h, i386/scodbx.h, i386/sequent.h, i386/sun.h, - i386/sysv3.h, i386/sysv4.h, i860/fx2800.h, i860/i860.h, i860/mach.h, - i860/sysv3.h, i860/sysv4.h, i960/i960.h, m68k/3b1.h, m68k/3b1g.h, - m68k/altos3068.h, m68k/apollo68.h, m68k/crds.h, m68k/ctix.h, - m68k/dpx2.h, m68k/hp2bsd.h, m68k/hp320.h, m68k/hp3bsd.h, - m68k/hp3bsd44.h, m68k/isi.h, m68k/lynx.h, m68k/m68kv4.h, - m68k/mot3300.h, m68k/news.h, m68k/next.h, m68k/pbb.h, m68k/plexus.h, - m68k/sun2.h, m68k/sun3.h, m68k/sun3mach.h, m68k/tower-as.h, - m68k/tower.h, m88k/dgux.h, m88k/luna.h, m88k/m88k.h, m88k/sysv3.h, - m88k/sysv4.h, mips/bsd-4.h, mips/bsd-5.h, mips/dec-osf1.h, - mips/iris3.h, mips/mips.h, mips/news4.h, mips/news5.h, - mips/nws3250v4.h, mips/osfrose.h, mips/svr3-4.h, mips/svr3-5.h, - mips/svr4-4.h, mips/svr4-5.h, mips/ultrix.h, ns32k/encore.h, - ns32k/merlin.h, ns32k/ns32k.h, ns32k/pc532-mach.h, ns32k/pc532.h, - ns32k/sequent.h, ns32k/tek6000.h, ns32k/tek6100.h, ns32k/tek6200.h, - pa/pa-ghpux.h, pa/pa-gux7.h, pa/pa-hpux.h, pa/pa-hpux7.h, - pa/pa-utahmach.h, pa/pa.h, pa/pa1-utahmach.h, pyr/pyr.h, romp/romp.h, - rs6000/aix31.h, rs6000/mach.h, rs6000/rs6000.h, sh/sh.h, sparc/lite.h, - sparc/lynx.h, sparc/pbd.h, sparc/sol2.h, sparc/sparc.h, sparc/sysv4.h, - spur/spur.h, tahoe/harris.h, tahoe/tahoe.h, vax/ultrix.h, vax/vax.h, - vax/vaxv.h, vax/vms.h, we32k/we32k.h - (CPP_PREDEFINES): Add system/cpu/machine assertions where missing. - -Fri Oct 1 22:11:17 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * gvarargs.h: Test __sequent__ like __BSD_NET2__. - -Fri Oct 1 17:19:54 1993 Torbjorn Granlund (tege@adder.cygnus.com) +2002-10-24 Marek Michalkiewicz - * 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. + * doc/install.texi (avr): Update required binutils version. - * 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. +2002-10-24 Theodore A. Roth -Fri Oct 1 22:17:12 1993 Eric Youngdale (eric@kafka) + * doc/install.texi: Point avr users at more up-to-date information. - * 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. +2002-10-24 Ulrich Weigand - * make-cc1.com (bc_generate): New VMS DCL function. Takes a BC - header file that needs to be generated, and builds it. + * config/s390/s390.md (movdi, movsi, movhi, movqi): Add peepholes2 + to pull operands out of the literal pool where possible. - * make-cc1.com: Compile entries listed in BI_ALL.OPT, and then call - bc_generate for every header file listed in BC_ALL.OPT +2002-10-24 Denis Chertykov -Fri Oct 1 21:13:17 1993 H.J. Lu (hjl@nynexst.com) + * config/avr/avr.c (init_cumulative_args): Test fntype for zero. - * config/i386/linux.h (LIB_SPEC): Handle -p anmd -pg outermost. +2002-10-24 Steve Ellcey -Fri Oct 1 18:23:57 1993 Jim Wilson (wilson@cygnus.com) + * expr.c (convert_move): If unsignedp is less then zero there + is no equivalent code. - * 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. +2002-10-24 Zack Weinberg - * Makefile.in (cc1, cc1plus, cc1obj): Delete superfluous - dependencies on bytecode. - (stamp-bcarity, stamp-bcopcode, stamp-bcopname): Create stamp files. + * tree.def: Delete mention of nonexistent ARRAY_TYPE fields. -Fri Oct 1 18:17:56 1993 Doug Evans (dje@canuck.cygnus.com) +2002-10-24 Ulrich Weigand - * 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. + * config/s390/s390.h: Rework comments; re-sort target macro definitions + according to the sequence they are defined in the manual. + (POINTER_BOUNDARY): Remove. -Fri Oct 1 15:44:48 1993 Michael Meissner (meissner@osf.org) +2002-10-24 Kazu Hirata - * halfpic.h (toplevel): Enclose the whole file inside a #ifndef - NO_HALF_PIC conditional. + * config/h8300/h8300.c (round_frame_size): Replace 8 with + BITS_PER_UNIT. - * i386/x-osfrose (CCLIBFLAGS, GCC_CFLAGS): Define NO_HALF_PIC so - that the two common variables in halfpic.h don't get created. +2002-10-24 Kazu Hirata - * mips/x-osfrose (CCLIBFLAGS, GCC_CFLAGS): Ditto. + * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Make it + 64-bit safe. + (TINY_CONSTANT_ADDRESS_P): Likewise. -Fri Oct 1 10:46:15 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +2002-10-24 Richard Henderson - * 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. + * config/ia64/ia64.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): True. + (ia64_output_mi_thunk): Rewrite to use rtl, and to handle the + vcall offset. - * a29k.h (TARGET_LARGE_MEMORY): New flag; change value for - all others. - (ENCODE_SECTION_INFO): New macro. - (TARGET_SWITCHES): Add "normal" and change values. +2002-10-24 Richard Henderson - * a29k.c (call_operand, case SYMBOL_REF): Handle TARGET_LARGE_MEMORY - and SYMBOL_REF_FLAG. + PR opt/7944 + * reload.c (find_reloads_toplev): Mode of X is not important + when simplifying subregs of constants. -Thu Sep 30 23:25:13 1993 Jeffrey A. Law (law@snake.cs.utah.edu) +2002-10-24 Richard Sandiford - * 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. + * config.gcc (mips64vr-*-elf*, mips64vrel-*-elf*): Add + MIPS_MARCH_CONTROLS_SOFT_FLOAT=1 to $tm_defines. + * config/mips/mips.c (MIPS_MARCH_CONTROLS_SOFT_FLOAT): Default to 0. + (override_options): Base default setting of MASK_SOFT_FLOAT on -march + if MIPS_MARCH_CONTROLS_SOFT_FLOAT. -Thu Sep 30 14:21:03 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +2002-10-24 Richard Sandiford - * bi-lexer.c (scan_string): Do xmalloc if buffer is null and - xrealloc if it's not, not the other way around. + * optabs.c (expand_binop): Don't reuse the shift target in the + middle of shift sequences. -Thu Sep 30 10:57:30 1993 Jan Brittenson (bson@nutrimat.gnu.ai.mit.edu) +Wed Oct 23 22:48:44 CEST 2002 Jan Hubicka - * bc-emit.c (bc_end_function, seg_data): Use bcopy instead of memcpy. + * i386.md (abs splitters): Do not produce nested subregs. -Thu Sep 30 05:53:58 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Wed Oct 23 12:42:32 CEST 2002 Jan Hubicka - * fold-const.c (fold, case PLUS_EXPR, MINUS_EXPR): Properly handle - case when ARG1 splits and VARSIGN is -1. + * i386.md (movti_rex64): Fix constraints. -Wed Sep 29 19:41:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Oct 23 12:01:21 CEST 2002 Jan Hubicka - * c-typeck.c (build_modify_expr): Check whether recursive calls - return error_mark_node. + * i386.md (abssf,absdf): Use vector operands for SSE + (abssf2_ifs, absdf2_ifs, absdf2_ifs_rex64 and splitters): Update for + vector operand. -Wed Sep 29 18:35:30 1993 Leonid Baraz (lbaraz@iil.intel.com) +2002-10-23 Ziemowit Laski - * rtl.h (GEN_INT): Add missing cast to HOST_WIDE_INT. - * jump.c (rtx_renumbered_equal_p, case CONST_INT): Use INTVAL, - not XINT. + * objc/objc-act.c (get_static_reference): Remove unneeded + TYPE_BINFO initialization. + (get_object-reference): Likewise. + (build_constructor): Tighten precondition check. + (finish_message_expr): Likewise. -Wed Sep 29 17:32:03 1993 Doug Evans (dje@canuck.cygnus.com) +2002-10-23 Jakub Jelinek - * glimits.h (UINT_MAX, ULONG_MAX, ULONG_LONG_MAX): - redefine in a simpler way. + * config/i386/i386.c (local_symbolic_operand): Move LABEL_REF test + after CONST test. -Wed Sep 29 17:25:17 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) +2002-10-23 Steve Ellcey - * fixincludes (sys/spinlock.h): change references of - "../machine/*.h" to + * config/ia64/ia64.c (hfa_element_mode): Don't allow 128 bit floats + in HFAs. -Wed Sep 29 07:09:50 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +2002-10-23 Richard Henderson - * rs6000.c (reg_or_short_operand): Remove redundant test. + * config/alpha/alpha.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): True. + (alpha_output_mi_thunk_osf): Handle vcall_offset. - * 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. +2002-10-23 Zack Weinberg -Wed Sep 29 01:29:31 1993 Paul Eggert (eggert@twinsun.com) + * langhooks.h (struct lang_hooks_for_tree_inlining): Add + var_mod_type_p. + * langhooks-def.h: Default for tree_inlining.var_mod_type_p is + hook_tree_bool_false. - * 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. + * tree.c (variably_modified_type_p): Moved here from + cp/tree.c. Use lang_hooks.tree_inlining.var_mod_type_p for + language-specific cases. Due to this, must weaken some 'if + and only if' checks to merely 'if'. + * tree.h: Prototype variably_modified_type_p. -Tue Sep 28 21:27:26 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu + * tree-inline.c (walk_tree): #undef WALK_SUBTREE_TAIL at end. - * 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. +2002-10-23 Ulrich Weigand -Tue Sep 28 18:50:57 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/s390/linux.h (CC1_SPEC, CC1PLUS_SPEC): Remove. + * config/s390/s390.c (optimization_options): Disable -fcaller-saves. - * reload.c (find_reloads): Don't call find_reloads_toplev - (or anything like that) for match_operator operands. + * config/s390/s390-protos.h (fp_operand): Remove. + * config/s390/s390.c (fp_operand): Remove. + * config/s390/s390.md ("movdi"): Replace fp_operand by FP_REG_P. + ("*movdi_lhi", "*movdi_lli", "*movdi_larl"): Likewise. + ("movsi", "*movsi_lhi", "*movsi_lli"): Likewise. + (movdi_31, movdf_31 splitters): Likewise. - * 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/s390/s390.h (IEEE_FLOAT): Remove. + (TARGET_FLOAT_FORMAT): Define in terms of TARGET_IEEE_FLOAT. + (INT_REGNO_P): Rename to ... + (GENERAL_REGNO_P): ... this. + (FLOAT_REGNO_P): Rename to ... + (FP_REGNO_P): ... this. + (ADDR_REGNO_P): New macro. + (GENERAL_REG_P, ADDR_REG_P, FP_REG_P, CC_REG_P): New macros. + (REGNO_OK_FOR_DATA_P, REGNO_OK_FOR_FP_P): Remove. + (DATA_REG_P, FP_REG_P, ADDRESS_REG_P): Likewise. + (HARD_REGNO_NREGS): Adapt to macro renaming. + (HARD_REGNO_MODE_OK): Likewise. - * 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. +2002-10-23 David Edelsohn + Geoff Keating - * bytetypes.h (QItype, HItype, SItype, DItype): Use __signed__. + * config/rs6000/rs6000.c (rs6000_register_move_cost): New function. + (rs6000_memory_move_cost): New function. + * config/rs6000/rs6000-protos.h: Declare them. + * config/rs6000/rs6000.h: Use them. - * Makefile.in (stamp-bcopname, stamp-bcopcode): - Use shorter names for temporary files. - (bc-emit.o): Depend on bc-arity.h. +2002-10-23 Ulrich Weigand - * bi-opname.c, bi-arity.c, bi-opcode.c (xmalloc): New function. - * bi-opname.c, bi-arity.c: Include stdio.h. + * libgcc2.c (__udiv_w_sdiv): Use attribute ((always_inline)) when + inlining it into other libgcc2 routines. + (__udivmoddi4): Likewise. - * function.c (expand_main_function): Put back accidentally - deleted previous change to use NAME__MAIN. +2002-10-22 Nathanael Nerode - * 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. + * doc/sourcebuild.texi (Test Suites): Improve. - * cccp.c (output_dots): New function. - (do_include): Call it (to indent output for print_include_names). +2002-10-22 Stan Shebs -Tue Sep 28 18:22:31 1993 Jim Wilson (wilson@cygnus.com) + * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Add missing + case for Darwin. - * 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. +2002-10-22 Jim Wilson - * combine.c (force_to_mode, LSHIFTRT case): Avoid shifts larger - than HOST_BITS_PER_WIDE_INT. + * config/i386/i386.md (subdi3_1): Add call to ix86_binary_operator_ok. - * sched.c (schedule_insns): Don't zero reg_n_calls_crossed for - pseudos live across multiple blocks. +Wed Oct 23 01:52:36 CEST 2002 Jan Hubicka - * fixincludes ({sparc,sun3,sun3x,sun4,sun4c,sun4m}/asm_linkage.h, - {sun4c,sun4m}/debug/asm_linkage.h: Replace /**/ with ##. + PR other/8289 + * xmmintrin.h: Add const to the argument of loads. - * reorg.c (mark_target_live_regs): When scanning insns, ignore - CLOBBERs in addition to USEs. + * i386.md (pushv2di): New pattern. + PR target/6890 + * xmmintrin.h (_MM_TRANSPOSE4_PS): New. - * 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. +2002-10-22 Richard Henderson - * 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. + * target.h (gcc_target.asm_out): Merge output_mi_thunk and + output_mi_vcall_thunk into a single hook. Add can_output_mi_thunk. + * target-def.h (TARGET_ASM_OUTPUT_MI_THUNK): Don't conditionalize. + (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Remove. + (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New. + (TARGET_ASM_OUT): Update. + * hooks.c (hook_bool_tree_hwi_hwi_tree_false): New. + (hook_bool_tree_hwi_hwi_tree_true): New. + (default_can_output_mi_thunk_no_vcall): New. + * hooks.h: Declare them. + * system.h (ASM_OUTPUT_MI_THUNK): Poison. - * sparc/bsd.h: New file. - * configure (sparc-*-bsd*): New configuration. + * config/alpha/alpha.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New. + (alpha_output_mi_thunk_osf): Add VCALL_OFFSET parameter. + * config/arm/arm.c, config/cris/cris.c, config/frv/frv.c, + config/i960/i960.c, config/ia64/ia64.c, config/m68k/m68k.c, + config/mmix/mmix.c, config/pa/pa.c, config/sparc/sparc.c, + config/stormy16/stormy16.c: Similarly. - * 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). + * config/i386/i386.c (x86_output_mi_thunk): Merge vcall_offset code. + Handle 64-bit properly. Streamline. + (x86_output_mi_vcall_thunk): Remove. + (x86_this_parameter): Rename from ia32_this_parameter; handle 64-bit. + (x86_can_output_mi_thunk): New. + (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Remove. + (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New. + (override_options): Don't zap targetm.asm_out.output_mi_vcall_thunk. -Tue Sep 28 16:00:25 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Rename from + output_mi_thunk; make static; always use function_section. + (TARGET_ASM_OUTPUT_MI_THUNK): New. + (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New. + (rs6000_ra_ever_killed): Test no_new_pseudos not + targetm.asm_out.output_mi_thunk in conjunction with thunks. + * config/rs6000/rs6000-protos.h: Update. + * config/rs6000/sysv4.h (TARGET_ASM_OUTPUT_MI_THUNK): Remove. + * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't call + xcoffout_declare_function when using rs6000_output_mi_thunk. - * bc-emit.c: Include gvarargs.h, not varargs.h. - Don't include string.h. - (seg_align): Use bzero, not memset. + * config/s390/s390.c (s390_output_mi_thunk): Rename from + s390_output_mi_vcall_thunk. + (TARGET_ASM_OUTPUT_MI_THUNK): Remove. + (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New. -Mon Sep 27 20:53:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/vax/vax.c (vax_output_mi_thunk): Static; add vcall_offset. + (TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): New. + * config/vax/vax-protos.h: Update. + * config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Remove. - * c-typeck.c (pop_init_level): Add special case for nonincremental - scalar initializers. +Wed Oct 23 00:33:11 CEST 2002 Jan Hubicka - * protoize.c: Declare rindex unconditionally. + * i386.c (standard_sse_constant_p): Accept vector and integer zeros too. + * i386.h (EXTRA_CONSTRAINT): Recognize 'C' + * i386.md (movti_internal): Use 'C' - * c-decl.c (init_decl_processing): Use signed_type and unsigned_type - to set signed_wchar_type_node and unsigned_wchar_type_node. + * xmmintrin.h (_mm_cmplt_epi*): New. -Mon Sep 27 20:31:01 1993 Paul Eggert (eggert@twinsun.com) +2002-10-22 Ulrich Weigand - * 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): + * config/s390/s390.md ("*movdi_64"): Fix op_type attribute. + ("*movdf_64"): Likewise. + ("*lshrdi3_64"): Likewise. + ("blockage"): Add length attribute. + ("lit"): Likewise. + +Tue Oct 22 23:51:34 CEST 2002 Jan Hubicka + + * i386.md: FIx typo. + (sse2_cvtsi2sd, sse2_pslrdq): Fix template. + (sse2_umulv2siv2di3): Fix predicate. + (sse2_psadbw, ashrv8hi3, ashrv4si3, lshrv8hi3 lshrv4si3, + lshrv2di3, ashlv8hi3, ashlv4si3, ashlv2di3): Likewise. + * xmmintrin.h (_mm_mul_epu16): Rename to... + (_mm_mul_epu32): This one. + (_mm_cvtsi32_si128, _mm_cvtsi128_si32): New. + + (contains_128bit_aligned_vector_p): Undo accidental checkin. + +2002-10-22 Eric Christopher + + * config/sparc/sparc.h: Add #error. + +2002-10-22 Ulrich Weigand + + * config.gcc [s390-*-linux]: Remove s390/t-linux from tmake_file. + [s390x-*-linux*]: Likewise. + * config/s390/t-linux: Remove. + * config/s390/s390.h: Include fixdfdi.h when building libgcc2. + +Tue Oct 22 19:07:03 CEST 2002 Jan Hubicka + + * i386.c (builtin_description): Add IX86_BUILTIN_PUNPCKHQDQ128. + (ix86_expand_builtin): Fix MASKMOVDQU expasion. + * i386.h (ix86_builtins): Add IX86_BUILTIN_PUNPCKHQDQ128. + * i386.md (mmx_punpck?dq): Simplify. + (sse2_pubpcklqdq): Fix. + (sse2_pubpckhqdq): New. + * xmmintrin.h (_mm_unpackhi_epi32): New. + + * xmmintrin.h (_mm_cvt*, _mm_stream_pd): Fix prototypes. + (_mm_shufflehi_epi16, _mm_shufflelo_epi16): Fix typo. + +2002-10-22 Nathan Sidwell + + PR c++/7209 + * fold_const.c (fold_binary_op_with_conditional_arg): Always + build compound_expr if we used save_expr. + +2002-10-22 Alan Modra + + * output.h (SECTION_NOTYPE): Define. + * varasm.c (default_section_type_flags_1): Set SECTION_NOTYPE for + init array sections. + (default_elf_asm_named_section): Mind SECTION_NOTYPE. + * config/arm/arm.c (arm_elf_asm_named_section): Likewise. Also + merge TLS support. + +2002-10-21 Richard Henderson + + * config/i386/i386.c (ix86_function_ok_for_sibcall): Look at + the function type, not the return type. + +2002-10-21 Richard Henderson + + * real.c (sticky_rshift_significand): Return inexact, don't + or it in immediately. + (sub_significands): Accept incomming carry. + (div_significands, rtd_divmod): Update for sub_significands change. + (round_for_format): Update for sticky_rshift_significand change. + (do_add): Don't involve the inexact bit in addition, do give the + inexact bit as the subtraction carry-in. + (encode_internal, decode_internal, real_internal_format): New. + * real.h (real_internal_format): Declare. + +2002-10-21 Ulrich Weigand + + * libgcc2.c: Fix __udiv_w_sdiv breakage on platforms that + don't define sdiv_qrnnd. + +2002-10-21 Kazu Hirata + + * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Simplify + using IN_RANGE. + (TINY_CONSTANT_ADDRESS_P): Likewise. + +Tue Oct 22 00:04:20 CEST 2002 Jan Hubicka + + * i386.c (builtin_description): Add punpcklqdq and movdq2q + (ix86_init_mmx_sse_builtins): Add v2di_ftype_void, di_ftype_v2di, + v16qi_ftype_pchar, void_ftype_pchar_v16qi, v4si_ftype_pchar, + void_ftype_pchar_v4si; Initialize __builtin_ia32_movdq2q, + __builtin_ia32_loaddqa, __builtin_ia32_loaddqu, __builtin_ia32_loadd + __builtin_ia32_storedqa, __builtin_ia32_storedqu, __builtin_ia32_stored + __builtin_ia32_setzero128. + (ix86_expand_builtin): Handle IX86_BUILTIN_CLRTI, IX86_BUILTIN_LOADDQA, + IX86_BUILTIN_LOADDQU, IX86_BUILTIN_LOADD, IX86_BUILTIN_STOREDQA, + IX86_BUILTIN_STOREDQU, IX86_BUILTIN_STORED, Ix86_BUILTIN_MOVQ. + * i386.h (ix86_builtins): Add IX86_BUILTIN_LOADDQA, IX86_BUILTIN_LOADDQU, + IX86_BUILTIN_STOREDQA, IX86_BUILTIN_STOREDQU, IX86_BUILTIN_LOADD, + IX86_BUILTIN_STORED, IX86_BUILTIN_CLRTI, IX86_BUILTIN_MOVDQ2Q, + IX86_BUILTIN_PUNPCKLQDQ128, Ix86_BUILTIN_MOVQ. + * i386.md (sse2_punpcklqdq, sse2_movqsse2_loadd, sse2_stored, + sse2_movq): New patterns. + (sse2_movdqa, sse2_movdqu, sse2_movdq2q): Fix. + * xmmintrin.h (_mm_load_si128, _mm_loadu_si128, _mm_loadl_epi64, + _mm_store_si128, _mm_storeu_si128, _mm_storel_epi64, + _mm_setzero_si128, _mm_set_epi64, _mm_set_epi32, _mm_set_epi16, + _mm_set_epi8, _mm_set1_epi64, _mm_set1_epi32, _mm_set1_epi16, + _mm_set1_epi8, _mm_setr_epi64, _mm_setr_epi32, _mm_setr_epi16, + _mm_setr_epi8, _mm_unpacklo_epi64,_mm_set_moveq): New functions. + (_mm_insert_epi16): Fix. + +2002-10-21 Dale Johannesen + + * config/rs6000/rs6000.c (rs6000_reverse_condition): Handle + unsafe math reversals correctly for RTL generation. + (output_cbranch): Replace rs6000_reverse_condition call + by its former definition. + +2002-10-21 Jakub Jelinek + + * config/i386/i386.c (x86_64_sign_extended_value): Add allow_rip + argument. In CM_SMALL_PIC model consider SYMBOL_REFs binding locally or + from constant pool or LABEL_REFs as sign extended if allow_rip. + Change all +-1GB limits to +-16MB. + (x86_64_general_operand, x86_64_szext_general_operand, + x86_64_nonmemory_operand, x86_64_movabs_operand, + x86_64_szext_nonmemory_operand, x86_64_immediate_operand, + legitimate_address_p, ix86_expand_int_movcc): Update callers. + (local_symbolic_operand): Don't allow offsets bigger than +-16MB + in CM_SMALL_PIC model. + (legitimate_pic_address_disp_p): Don't check offsets before + calling local_symbolic_operand. + (legitimize_pic_address): Force offsets bigger than +-16MB into + register. + * config/i386/i386.h (EXTRA_CONSTRAINT, CONST_COSTS): Likewise. + * config/i386/i386-protos.h (x86_64_sign_extended_value): Update + prototype. + + * configure.in: Test for @GOTNTPOFF and @INDNTPOFF on IA-32 too. + Add x86-64 test. Set tls_first_minor to 14 on IA-32 and x86-64. + * configure: Rebuilt. + * config/i386/i386.c (x86_64_sign_extended_value): Don't allow TLS + SYMBOL_REFs unless enclosed in UNSPEC. Handle UNSPEC_DTPOFF, + UNSPEC_GOTNTPOFF and UNSPEC_NTPOFF. + (legitimate_address_p): Allow foo@dtpoff(base) even on TARGET_64BIT + -fpic. + (ix86_encode_section_info): Don't ever generate TLSGD or TLSLD for + non-pic code if TARGET_64BIT. + (legitimize_address): Generate 64-bit TLS sequences. + (output_pic_addr_const): Support x86-64 TLS operators. + (i386_output_dwarf_dtprel): Output 64-bit DTPOFF as .long f@DTPOFF, 0. + (print_operand_address): Use %fs instead of %gs on TARGET_64BIT. + Don't append (%rip) in 64-bit TLSGD and TLSLD sequences. + (output_addr_const_extra): Support x86-64 TLS operators. + (maybe_get_pool_constant): Handle TARGET_64BIT -fpic. + (ix86_tls_get_addr): Use __tls_get_addr on TARGET_64BIT + unconditionally. + * config/i386/i386.md (*tls_global_dynamic_gnu): Renamed to... + (*tls_global_dynamic_32_gnu): ..., add !TARGET_64BIT. + (*tls_global_dynamic_sun): Renamed to... + (*tls_global_dynamic_32_sun): ..., add !TARGET_64BIT. + (tls_global_dynamic): Renamed to... + (tls_global_dynamic_32): ... this. + (tls_global_dynamic_64, *tls_global_dynamic_64): New. + (*tls_local_dynamic_base_dynamic_gnu): Renamed to... + (*tls_local_dynamic_base_dynamic_32_gnu): ..., add !TARGET_64BIT. + (*tls_local_dynamic_base_dynamic_sun): Renamed to... + (*tls_local_dynamic_base_dynamic_32_sun): ..., add !TARGET_64BIT. + (tls_local_dynamic_base_dynamic): Renamed to... + (tls_local_dynamic_base_dynamic_32): ... this. + (tls_local_dynamic_base_dynamic_64, + *tls_local_dynamic_base_dynamic_64): New. + (*tls_local_dynamic_once): Renamed to... + (*tls_local_dynamic_32_once): ... this. + +2002-10-21 Ulrich Weigand + + * libgcc2.c: Inline __udiv_w_sdiv when compiling __udivdi3, + __divdi3, __umoddi3, or __moddi3. + +2002-10-21 Ulrich Weigand + + * c-opts.c (missing_arg): Use cl_options[opt_index].opt_code + instead of just opt_index as switch expression. + + * calls.c (store_one_arg): Change type of 'excess_align' + to unsigned int. + + * profile.c (output_gcov_string): Change type of 'temp' + to size_t. + +2002-10-21 Ulrich Weigand + + * config/s390/fixdfdi.h (__fixunsdfdi, __fixdfdi): Add prototypes. + (__fixunssfdi, __fixsfdi): Likewise. + * config/s390/s390.c (s390_single_hi): Initialize 'value'. + (s390_single_qi): Likewise. + (s390_emit_epilogue): Initialize 'offset'. Remove signed vs. + unsigned comparison warning. + (s390_return_addr_rtx): New function. + * config/s390/s390-protos.h (s390_return_addr_rtx): Declare it. + * config/s390/s390.h (RETURN_ADDR_RTX): Use it. + (HARD_REGNO_MODE_OK): Rewrite condition to silence warnings. + +2002-10-21 Ulrich Weigand + + * config/s390/s390.c (s390_output_mi_vcall_thunk): New function. + (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Define target hook. + (s390_output_mi_thunk): Remove. + (TARGET_ASM_OUTPUT_MI_THUNK): Remove. + +2002-10-21 Kazu Hirata + + * config/h8300/h8300.h (N_REG_CLASSES): Parenthesize. + +2002-10-20 Zack Weinberg + + * config/i386/i386.c (ix86_function_ok_for_sibcall): Fix an + inverted test in the conditional determining the possibility + of sibcalls in PIC mode. + +2002-10-20 Richard Henderson + + * target.h (struct gcc_target): Line wrap. + + * config/alpha/alpha.c (alpha_output_mi_thunk_osf): Static. + (TARGET_ASM_OUTPUT_MI_THUNK): Define here... + * config/alpha/alpha.h: ... not here. + * config/alpha/alpha-protos.h: Update. + + * config/arm/arm.c, config/arm/arm.h, config/arm/arm-protos.h + config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h, + config/frv/frv-protos.h, config/frv/frv.c, config/frv/frv.h, + config/i386/i386-protos.h, config/i386/i386.c, config/i386/openbsd.h, + config/i386/unix.h, config/i960/i960-protos.h, config/i960/i960.c, + config/i960/i960.h, config/ia64/ia64-protos.h, config/ia64/ia64.c, + config/ia64/ia64.h, config/m68k/linux.h, config/m68k/m68k-protos.h, + config/m68k/m68k.c, config/m68k/netbsd-elf.h, config/m68k/openbsd.h, + config/mmix/mmix-protos.h, config/mmix/mmix.c, config/mmix/mmix.h, + config/pa/pa-protos.h, config/pa/pa.c, config/pa/pa.h, + config/s390/s390-protos.h, config/s390/s390.c, config/s390/s390.h, + config/sparc/openbsd.h, config/sparc/sparc-protos.h, + config/sparc/sparc.c, config/sparc/sparc.h, + config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c, + config/stormy16/stormy16.h: Similarly. + + * config/m68k/m68k.c (m68k_output_mi_thunk): Replicate mnemonic + selection logic from call patterns. + +2002-10-20 Mark Mitchell + + * config/m68k/m68k.c (m68k_output_mi_thunk): Fix typo. + +2002-10-20 Zdenek Dvorak + + PR other/8202 + * i386.c (ix86_init_mmx_sse_builtins, ix86_expand_builtin): Define and + expand __builtin_ia32_pslldqi128 and __builtin_ia32_psrldqi128. + * i386.h (IX86_BUILTIN_PSLLDQI128, IX86_BUILTIN_PSRLDQI128): New. + * xmmintrin.h (_mm_srli_si128, _mm_slli_si128): New. + +2002-10-20 Roger Sayle + + PR c/761 + * toplev.c (flag_unsafe_profile_arcs): Remove. + (flag_bounded_pointers): Remove. + (flag_bounds_check): Correct comments. + (lang_independent_options): Remove -funsafe-profile-arcs and + -fbounded-pointers. Correct -fbounds-check comments. + + * flags.h: Correct flag_schedule_interblock comments. + (flag_bounded_pointers): Remove prototype. + (flag_bounds_check): Correct comments. + + * c-opts.c (c_common_init_options): No need to mark + flag_bounds_check as unspecified. + (c_common_post_options): And no need to set it from + flag_bounded_pointers if its still unspecified. + + * doc/invoke.texi: Fix some overfull hboxes in "make dvi". + Document --version, -feliminate-dwarf-2-dups, -fno-sched-interblock, + -fno-sched-spec, -fsched-spec-load, -fsched-spec-load-dangerous, + -fsched-verbose=n, -fno-branch-count-reg and -fbounds-check. + +Sat Oct 19 22:02:28 2002 Alexandre Oliva + Angela Marie Thomas + Brendan Kehoe + Nick Clifton + Andrew Haley + + * configure.in (--with-sysroot): New. Don't inhibit libc if + given. AC_SUBST TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE + and CROSS_SYSTEM_HEADER_DIR. + * configure: Rebuilt. + * Makefile.in (CROSS_SYSTEM_HEADER_DIR): Set in configure. + (TARGET_SYSTEM_ROOT): New. + (DRIVER_DEFINES): Define CROSS_INCLUDE_DIR from + CROSS_SYSTEM_HEADER_DIR. + (install-gcc-tooldir): New target. + (stmp-fixinc): Do not create $(libsubdir), but rather bail out + if SYSTEM_HEADER_DIR does not exist and it's not the default + sys-include directory. + (deduced.h, stmp-fixproto): Quote SYSTEM_HEADER_DIR properly. + (install-mkheaders): Likewise. + * gcc.c (target_system_root): New variable. + (add_sysrooted_prefix): New function. + (process_command): Recompute run-time target_system_root from + gcc_exec_prefix, keeping it unchanged if the relocated sysroot + does not exist. + (do_spec_1): Process 'R' spec. + (main): Add md_exec_prefix to exec_prefixes regardless of + startfile_prefix_spec. Use add_sysrooted_prefix for + startfile_prefixes, and don't skip the default ones when cross + compiling with sysroot enabled. Removed unused case of + non-absolute standard_startfile_prefix. + * config/interix.h: Remove the only potential, yet disabled, + occurrence of non-absolute (empty) standard_startfile_prefix. + * config/sh/linux.h (LIB_SPEC): Add -rpath-link in non-static + linking. + * config/mips/linux.h (LIB_SPEC): Define as in sh/linux.h. + * doc/install.texi (--with-sysroot): Document. + (--with-headers, --with-libs): Deprecate. + +2002-10-19 Kaveh R. Ghazi + Mark Mitchell + + * alpha-protos.h (alpha_output_mi_thunk_osf): Update signature to + match target.h. + * arm-protos.h, arm.c (arm_output_mi_thunk): Likewise. + * cris-protos.h, cris.c (cris_asm_output_mi_thunk): Likewise. + * frv-protos.h, frv.c (frv_asm_output_mi_thunk): Likewise. + * i386-protos.h, i386.c (x86_output_mi_vcall_thunk, + x86_output_mi_thunk): Likewise. + * i960-protos.h, i960.c (i960_output_mi_thunk): Likewise. + * ia64-protos.h, ia64.c (ia64_output_mi_thunk): Likewise. + * m68k-protos.h, m68k.c (m68k_output_mi_thunk): Likewise. + * mmix-protos.h, mmix.c (mmix_asm_output_mi_thunk): Likewise. + * rs6000-protos.h, rs6000.c (output_mi_thunk): Likewise. + * s390-protos.h, s390.c (s390_output_mi_thunk): Likewise. + * stormy16-protos.h, stormy16.c (xstormy16_asm_output_mi_thunk): 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) + * vax-protos.h, vax.c (vax_output_mi_thunk): Likewise. + + * target.h (gcc_target): Update output_mi_thunk and + output_mi_vcall_thunk to take a HOST_WIDE_INT delta and + vcall_index. + + * config/alpha/alpha.c: Replace ASM_OUTPUT_MI_THUNK with + TARGET_ASM_OUTPUT_MI_THUNK in comments. + * config/alpha/vms.h (ASM_OUTPUT_MI_THUNK): Don't #undef it. + (TARGET_ASM_OUTPUT_MI_THUNK): #undef it. + * config/frv/frv.h (DEFAULT_VTABLE_THUNKS): Remove definition. + * config/i386/i386-protos.h (x86_output_mi_vcall_thunk): Update + signature. + * config/i386/i386.c (x86_output_mi_vcall_thunk): Likewise. + * config/i386/openbsd.h: Replace ASM_OUTPUT_MI_THUNK with + TARGET_ASM_OUTPUT_MI_THUNK in comments. + * config/i960/i960.h (ASM_OUTPUT_MI_THUNK): Don't define. + (TARGET_ASM_OUTPUT_MI_THUNK): Do define. + * config/m68k/openbsd.h: Replace ASM_OUTPUT_MI_THUNK with + TARGET_ASM_OUTPUT_MI_THUNK in comments. + * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Remove #ifdef + ASM_OUTPUT_MI_THUNK and replace with check of targetm. + + * doc/tm.texi (TARGET_ASM_OUTPUT_MI_THUNK): Update signature. + (TARGET_ASM_OUTPU_MI_VCALL_THUNK): Likewise. + +2002-10-19 Brad Lucier + + * real.c (do_add): Fix 0+0 sign corner case. + (do_divide): Fix Inf/0 corner case. + +Sun Oct 20 00:31:31 CEST 2002 Jan Hubicka + + * i386.c (classify_argument): Pass MMX arguments in memory + (ix86_expand_builtin): Expand proper address mode for cflush. + * i386.md (movdqa): Fix typo. + (sse2_cflush): Accept DImode addresses. + + * xmmintrin.h (_mm_sqrt_sd): Accept two arguments. + (_mm_max_sd): Fix pasto. + (_mm_storeh_pd, _mm_storel_pd): Fix. + + * i386.c (bdesc_comi): Fix to match specification. + (ix86_expand_sse_comi): Emit the comparison properly. + * i386.md (sse_comi, sse2_comi, sse_ucomi, sse2_ucomi): + Do not use comparison operator. + (vnmaskcmp): Fix template. + + * xmmintrin.h (_mm_cvtps_pi16): Fix. + +2002-10-19 Sebastian Pop + + * dependence.c : Removed. + * Makefile.in : Remove dependence.o. + +Sat Oct 19 10:46:52 CEST 2002 Jan Hubicka + + * mmintrin.h (__m64): typedef it to v2si. + (_mm_cvtsi32_si64, _mm_cvtsi32_si64_mm_sll_pi16, + _mm_sll_pi32, _mm_sll_pi64, _mm_slli_pi64, _mm_sra_pi16, + _mm_sra_pi32, _mm_srl_pi16, _mm_srl_pi32, _mm_srl_pi64, + _mm_srli_pi64, _mm_and_si64, _mm_andnot_si64, + _mm_or_si64, _mm_xor_si64): Add neccesary casts. + * xmmintrin.h (_mm_setzero_si64): Likewise. + + * i386.h (ALIGN_MODE_128): Update comment; add missing modes + (SSE_REG_MODE_P, MMX_REG_MODE_P): New macros. + + PR target/7693 + Patch by Shawn Wagner + * mmintrin.h: Replace pi64 by si64. + +2002-10-18 David Edelsohn + + * rs6000.md (movdf_hardfloat32): Order alternatives consistently. + Use length of 4 not *. + (movdf_hardfloat64): Same. Support DFmode moves to/from CTR/LR. + (movdf_softfloat64): Likewise. + (movdi_internal32): Use length of 4 not *. + (movti_power): Same. + (ctrsi, ctrdi): Same. + +2002-10-18 Zack Weinberg + + * c-decl.c (start_decl): Point users of the old initialized- + typedef extension at __typeof__. + +2002-10-18 Richard Henderson + + * real.c (cmp_significand_0, rtd_divmod, ten_to_mptwo): New. + (real_to_decimal): Re-implement using the logic from the + gcc 3.2 etoasc. Comment heavily. + (div_significands): Simplify loop startup and comparison logic. + +2002-10-18 Mark Mitchell + + * target-def.h (TARGET_ASM_OUTPUT_MI_THUNK): Default to NULL. + (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Likewise. + (TARGET_ASM_OUT): Add them. + * target.h (asm_out): Add output_mi_thunk and + output_mi_vcall_thunk. + * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Rename to ... + (TARGET_ASM_OUTPUT_MI_THUNK): ... this. + * config/arm/arm-protos.h (arm_output_mi_thunk): Declare. + * config/arm/arm.c (arm_output_mi_thunk): Define. + * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Rename to ... + (TARGET_ASM_OUTPUT_MI_THUNK): ... this. + * config/cris/cris.h (ASM_OUTPUT_MI_THUNK): Rename to ... + (TARGET_ASM_OUTPUT_MI_THUNK): ... this. + * config/frv/frv.h (ASM_OUTPUT_MI_THUNK): Rename to ... + (TARGET_ASM_OUTPUT_MI_THUNK): ... this. + * config/i386/i386-protos.h (x86_output_mi_thunk): Adjust + prototype. + (x86_output_mi_vcall_thunk): Declare. + * config/i386/i386.c (override_options): Clear + output_mi_vcall_thunk in 64-bit mode. + (ix86_fntype_regparm): New function. + (ix86_return_pops_args): Use it. + (ia32_this_parameter): New function. + (x86_output_mi_vcall_thunk): New function. + (x86_output_mi_thunk): Use it + * config/i386/unix.h (TARGET_ASM_OUTPUT_MI_THUNK): Adjust. + (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Define. + * config/i960/i960-protos.h (i960_output_mi_thunk): Declare. + * config/i960/i960.c (i960_output_mi_thunk): New function. + * config/i960/i960.h (ASM_OUTPUT_MI_THUNK): Adjust. + * config/ia64/ia64-protos.h (ia64_output_mi_thunk): Declare. + * config/ia64/ia64.c (ia64_output_mi_thunk): Define. + * config/ia64/ia64.h (ASM_OUTPUT_MI_THUNK): Rename to ... + (TARGET_ASM_OUTPUT_MI_THUNK): ... this. + * config/m68k/m68k-protos.h (m68k_output_mi_thunk): New function. + * config/m68k/linux.h (ASM_OUTPUT_MI_THUNK): Rename to ... + (TARGET_ASM_OUTPUT_MI_THUNK): ... this. + * config/m68k/netbsd-elf.h (ASM_OUTPUT_MI_THUNK): Rename to ... + (TARGET_ASM_OUTPUT_MI_THUNK): ... this. + * config/mmix/mmix.h (ASM_OUTPUT_MI_THUNK): Rename to ... + (TARGET_ASM_OUTPUT_MI_THUNK): ... this. + * config/pa/pa.h (ASM_OUTPUT_MI_THUNK): Rename to ... + (TARGET_ASM_OUTPUT_MI_THUNK): ... this. + * config/rs6000/sysv4.h (ASM_OUTPUT_MI_THUNK): Rename to ... + (TARGET_ASM_OUTPUT_MI_THUNK): ... this. + * config/s390/s390-protos.h (s390_output_mi_thunk): Declare. + * config/s390/s390.c (s390_output_mi_thunk): Define. + * config/s390/s390.h (ASM_OUTPUT_MI_THUNK): Rename to ... + (TARGET_ASM_OUTPUT_MI_THUNK): ... this. + * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Rename to ... + (TARGET_ASM_OUTPUT_MI_THUNK): ... this. + * config/stormy16/stormy16.h (ASM_OUTPUT_MI_THUNK): Rename to ... + (TARGET_ASM_OUTPUT_MI_THUNK): ... this. + * config/vax/vax-protos.h (vax_output_mi_thunk): Declare. + * config/vax/vax.c (vax_output_mi_thunk): Define. + * config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Rename to ... + (TARGET_ASM_OUTPUT_MI_THUNK): ... this. + * doc/tm.texi: Adjust documentation. + +2002-10-18 Jason Thorpe + + * config/netbsd.h (NETBSD_ENABLE_EXECUTE_STACK): Define + __enable_execute_stack function. + * config/alpha/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Define + as NETBSD_ENABLE_EXECUTE_STACK. + * config/i386/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Ditto. + * config/i386/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Ditto. + * config/i386/netbsd64.h (TRANSFER_FROM_TRAMPOLINE): Ditto. + * config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Ditto. + * config/sparc/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Ditto. + +2002-10-18 Jason Thorpe + + * config/i386/i386.c (x86_initialize_trampoline): Emit a call + to __enable_execute_stack with the address of the trampoline + if TRANSFER_FROM_TRAMPOLINE is defined. + * config/i386/i386.h (TARGET_64BIT): Expand to a compile-time + constant if building libgcc2. + +Thu Oct 17 17:40:05 CEST 2002 Jan Hubicka + + * i386.c (pentium4_cost): Fix according to Intel recommendations. + (ix86_memory_move_cost): Fix for 64bit compilation. + +2002-10-17 Roger Sayle + + * doc/c-tree.texi: Update description of COND_EXPR tree nodes. + +2002-10-17 Geoffrey Keating + + * config/rs6000/rs6000.h (HARD_REGNO_MODE_OK): Allow arbitrary modes + in CTR/LR/MQ. + * config/rs6000/rs6000.md (movcc_internal1): Support CCmode moves + to/from CTR/LR/MQ. + (movsf_hardfloat): Support SFmode moves to/from CTR/LR/MQ. + (movsf_softfloat): Likewise. + +2002-10-17 Janis Johnson + + * Makefile.in (site.exp): Add ALT_CXX_UNDER_TEST and COMPAT_OPTIONS. + +2002-10-17 Jason Thorpe + + * config/alpha/alpha.c (alpha_initialize_trampoline): Use + tramp, not addr, to pass the trampoline address to + __enable_execute_stack. + +Thu Oct 17 18:40:47 CEST 2002 Jan Hubicka + + * mmintrin.h: Guard by __MMX__ + * xmmintrin.h: Guard by __SSE__ + + PR other/8062 + * xmmintrin.h (_MM_SHUFFLE2): New macro. + (_mm_load*_?d): New functions. + (_mm_set*_?d): New functions. + (_mm_store*_?d): New functions. + +Wed Oct 16 15:01:29 CEST 2002 Jan Hubicka + + Really commit patch announced at Oct 14 + PR c/7344 + * predict.c (can_predict_insn_p): New function. + (estimate_probability): Avoid unnecesary work. + (process_note_prediction): Likewise. + * toplev.c (rest_of_compilation): Account early branch prediction pass + as TV_BRANCH_PROB. + + PR other/8048 + Found by Ian Ollmann + * xmmintrin.h (_mm_shuffle_pd): Fix typo. + (_mm_load?_pd): Likewise. + (_mm_store?_pd): Likewise. + + PR target/7386 + * i386.c (builtin_description):Drop cmpg[te]s[sd]. + * xmmintrin.h (__mm_cmpg[te]_s[sd]): Rewrite using + swapped alternative. + + PR opt/7630 + * reload1.c (reload_inner_reg_of_subreg): New argument output; + (push_reload): Update call. + +2002-10-17 Richard Sandiford + + * config.gcc (mips*-*-*): Add OBJECT_FORMAT_ELF to $tm_defines + if using mips/elf.h or mips/elf64.h. + * config/mips/elf.h (OBJECT_FORMAT_ELF): Remove. + * config/mips/elf64.h (OBJECT_FORMAT_ELF): Remove. - * stmt.c (expand_exit_loop_if_false, bc_expand_start_cond): - Use xjumpifnot, not jumpifnot. +2002-10-16 Aldy Hernandez - * Makefile.in (bi-arity, bi-opcode, bi-opname): Delete $(LEXLIB). + * config/rs6000/rs6000.c (function_arg): Set inner mode of V1DI to + SI. - * varasm.c (assemble_string): Put braces around ASM_OUTPUT_ASCII. +2002-10-16 Ulrich Weigand -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. + * config/s390/linux.h (ASM_DOUBLE, _ASM_OUTPUT_LONG): Remove. + (LPREFIX): Likewise. + (ASM_COMMENT_START, LOCAL_LABEL_PREFIX, ASM_FORMAT_PRIVATE_NAME, + ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT, + ASM_OUTPUT_ALIGN, ASM_OUTPUT_SKIP, ASM_OUTPUT_ALIGNED_BSS, + TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP, + GLOBAL_ASM_OP, ASM_OUTPUT_MI_THUNK): Move to s390.h. + + * config/s390/s390.h (ASM_COMMENT_START, LOCAL_LABEL_PREFIX, + ASM_FORMAT_PRIVATE_NAME, ASM_OUTPUT_ALIGN, ASM_OUTPUT_SKIP, + ASM_OUTPUT_ALIGNED_BSS, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, + BSS_SECTION_ASM_OP): Move from linux.h. + (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Likewise. + Also, use ASM_GENERATE_INTERNAL_LABEL instead of LPREFIX. - * Makefile.in (bi-lexer): Deleted. - (bi-lexer.l): Deleted. + * config/s390/s390.c (s390_function_profiler): Use + ASM_GENERATE_INTERNAL_LABEL instead of LPREFIX. -Fri Sep 24 16:59:03 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +2002-10-15 Eric Christopher - Cygnus<->FSF C++ front-end merge. + * stor-layout.c (layout_type): Call GET_MODE_BITSIZE once. + * java/parse.y (obtain_incomplete_type): Make pointer + ptr_mode. - Tue Sep 21 19:17:29 1993 Mike Stump (mrs@cygnus.com) +2002-10-15 Richard Henderson - * 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. + * real.c (real_to_decimal): Accept BUF_SIZE and CROP_TRAILING_ZEROS + as arguments. Bound DIGITS by the available buffer size. + (real_to_hexadecimal): Likewise. + * real.h (real_to_decimal, real_to_hexadecimal): Update prototypes. + (REAL_VALUE_TO_DECIMAL): Remove. + * c-common.c, c-pretty-print.c, print-rtl.c, print-tree.c, + sched-vis.c, config/arc/arc.c, config/c4x/c4x.c, config/fr30/fr30.c, + config/i370/i370.h, config/i386/i386.c, config/i960/i960.c, + config/ip2k/ip2k.c, config/m32r/m32r.c, config/m68hc11/m68hc11.c, + config/m68k/hp320.h, config/m68k/m68k.h, config/m68k/sun2o4.h, + config/m68k/sun3.h, config/mips/mips.c, config/ns32k/ns32k.c, + config/pdp11/pdp11.h, config/vax/vax.h: Update all callers to + use real_to_decimal directly, and with the proper arguments. + * doc/tm.texi (REAL_VALUE_TO_DECIMAL): Remove. + +2002-10-15 Jim Wilson + + * reload1.c (merge_assigned_reloads): After converting overlapping + reloads to RELOAD_OTHER, abort if there are now conflicting reloads. + + * config/i386/i386.md (adddi3_1): Add call to ix86_binary_operator_ok. + +Tue Oct 15 22:08:35 CEST 2002 Jan Hubicka + + * expr.c (do_tablejump): Fix typo in my previous commit. + +2002-10-15 Richard Sandiford + + * config/mips/vr.h (DRIVER_SELF_SPECS): Change % - Tue Sep 21 10:47:10 1993 Mike Stump (mrs@cygnus.com) + * config/s390/s390.c (s390_split_branches): Add return + value. Add parameters TEMP_REG and TEMP_USED. Use unspec 104. - * 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. + (find_base_register_in_addr): New function. + (find_base_register_ref): New function. + (replace_base_register_ref): New function. - Thu Sep 16 20:33:25 1993 Mike Stump (mrs@cygnus.com) + (struct constant_pool): Add members pool_insn, insns, and anchor. + Remove member last_insn. + (s390_start_pool): Initialize them. + (s390_end_pool): Emit pool placeholder insn. + (s390_add_pool_insn): New function. + (s390_find_pool): Use insns bitmap instead of addresses. + (s390_dump_pool): Replace placeholder insn. Emit anchor. + Replace unspec 104 by local-pool-relative references. + (s390_output_constant_pool): Output anchor label if required. + (s390_output_symbolic_const): Handle unspec 104 and 105. + (s390_add_pool): Remove, replace by ... + (s390_add_constant, s390_find_constant): ... these new functions. + (s390_add_anchor): New function. - * cp-cvt.c (convert_pointer_to): Make error more specific and more - readable. + (s390_chunkify_pool): Delete, replace by ... + (s390_chunkify_start, s390_chunkify_finish, + s390_chunkify_cancel): ... these new functions. + (s390_optimize_prolog): Add parameter TEMP_REGNO. + Recompute register live data for special registers. + (s390_fixup_clobbered_return_reg): New function. + (s390_machine_dependent_reorg): Rewrite to use new + s390_chunkify_... routines. - Thu Sep 16 20:14:18 1993 Mike Stump (mrs@cygnus.com) + config/s390/s390.md ("reload_base"): Rename to ... + ("reload_base_31"): ... this. + ("reload_base_64"): New insn. + ("reload_base2"): Remove. + ("reload_anchor"): New insn. + ("pool"): New insn. - * 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. + s390.c (s390_pool_overflow): Remove. + s390.h (s390_pool_overflow): Likewise. + s390.md ("cjump", "icjump", "doloop_si"): Remove s390_pool_overflow. - * cp-lex.c (reinit_parse_for_block): Add second argument to - consume_string. Add support for character constants. +Tue Oct 15 16:51:04 2002 J"orn Rennecke - * cp-tree.h (consume_string): Remove declaration, not used any place - else. + * sh.md (movv8qi_i+2): Don't split if source is -1. - Wed Sep 15 12:44:13 1993 Per Bothner (bothner@kalessin.cygnus.com) +2002-10-15 Janis Johnson - * cp-gc.c (build_t_desc): Make sure finish_table is called - for the methods and ivars tables. + * doc/install.texi: Formatting changes for conformance to HTML 4.01. - Mon Sep 13 14:40:23 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +2002-10-15 Ulrich Weigand - * cp-pt.c (unify): Use the referent type if necessary. + PR opt/7409 + * loop.c (loop_regs_scan): Mark registers used for function + argument passing as MAY_NOT_OPTIMIZE. - Fri Sep 10 16:34:37 1993 Mike Stump (mrs@cygnus.com) +Mon Oct 14 19:22:19 CEST 2002 Jan Hubicka - * cp-typeck.c (build_binary_op_nodefault): Add missing fourth - argument to build_binary_op calls, and eliminate bogus delta2 - check. + * gcov-io.h (gcov_info): Fix type. + * profile.c (create_profiler): Fix type mismatch. - Fri Sep 10 14:52:59 1993 Mike Stump (mrs@cygnus.com) +Mon Oct 14 20:33:12 CEST 2002 Jan Hubicka - * cp-typeck.c (build_binary_op_nodefault): Make sure delta2's match - when comparing pointers to _virtual_ member functions. + * i386.md (movv2di_internal): New pattern. + (movv2df_internal, movv8hi_internal, movv16qi_internal): Fix predicate. + (movv2di): New expander. + * i386.c (ix86_preferred_reload_class): Return NO_REGS for vector operands. - Fri Sep 10 14:27:45 1993 Mike Stump (mrs@cygnus.com) + * i386.c (ix86_expand_timode_binop_builtin): Delete. + (builtin_description): Add SSE1 logicals; rename SSE2 logicals. + (ix86_init_mmx_sse_builtins): Kill SSE1 logicals. + (ix86_expand_builtin): Likewise. + * i386.h (sse_andti4_df_1, sse_andti3_df_2, sse_andti3_sf_1, sse_andti3_sf_2, + sse_andti3, + sse_andnti4_df_1, sse_andti3_df_2, sse_andti3_sf_1, sse_andti3_sf_2, + sse_andnti3, + sse_orti4_df_1, sse_orti3_df_2, sse_orti3_sf_1, sse_orti3_sf_2, + sse_orti3, + sse_xorti4_df_1, sse_xorti3_df_2, sse_xorti3_sf_1, sse_xorti3_sf_2, + sse_xorti3): Kill. + (sse_andv4sf3, sse_andnv4sf3, sse_orv2df3, sse_xorv2df3, sse_andv2df3, + sse_andnv2df3, sse_orv2df3, sse_xorv2df3): New expanders. + (*sse_andv4sf3, *sse_andnv2df3, *sse_orv4sf3, *sse_xorv4sf3, *sse_andv2df3, + *sse_andnv2df3, *sse_orv2df3, *sse_xorv2df3): New patterns. + (*sse_andsf3, *sse_andndf3, *sse_ordf3, *sse_xordf3, *sse_anddf3, + *sse_andndf3, *sse_orv2df3, *sse_xorv2df3): New patterns. - * 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. + * xmmintrin.h (__m128i): Define as __v2di. - Thu Sep 9 21:22:40 1993 Mike Stump (mrs@cygnus.com) + PR c++/6419 + (expand_expr): Use DECL_RTL_SET_P. - Complete re-vamp of pointer to member functions. Implements - complete semantics. Cures problems on CONVEX, i960 and alpha. +2002-10-14 Roger Sayle - * 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. + * combine.c (simplify_set): Treat MODE_CC registers like cc0. - * 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. +2002-10-14 Roger Sayle + Zack Weinberg - * 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. + * config/i386/i386.c (k6_cost): Correct typo. - * 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. +2002-10-14 Mark Mitchell - Other misc work. + PR optimization/6631 + * alias.c (objects_must_conflict_p): Check honor_readonly when + examining TYPE_READONLY. + * function.c (assign_stack_temp_for_type): Likewise. - * 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. +2002-10-14 Falk Hueffner - Instead of calling get_identifier with the same value all the time, - call it once, and re-use the cached value. + * config/alpha/alpha.md (extendsidi2_nofix, extendsidi2_fix): + Swap zero extension arguments. + (umaxhi3): Fix instruction class. + PR target/7211 + (prefetch): Fix prefetch instructions. + PR target/7238 + (pkwb): Fix output constraint. - * 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'. +2002-10-14 Alexandre Oliva - Tue Sep 7 16:01:14 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * config/mips/mips.c (print_operand): Increase buffer size for + real numbers. - * 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. +2002-10-14 Richard Henderson - 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. + PR opt/8165 + * gcse.c (adjust_libcall_notes): Revert last change. + * simplify-rtx.c (simplify_replace_rtx): Handle LO_SUM. -Fri Sep 24 15:05:14 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-10-14 Andrew Haley - * 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. + * tree-inline.c (remap_block): All local class initialization + flags go in the outermost scope. + (expand_call_inline): Call java_inlining_map_static_initializers. + (expand_call_inline): Call java_inlining_merge_static_initializers. + * java/lang.c (merge_init_test_initialization): New. + (java_inlining_merge_static_initializers): New. + (inline_init_test_initialization): New. + (java_inlining_map_static_initializers): New. -Fri Sep 24 11:29:26 1993 Michael Meissner (meissner@osf.org) + * tree-inline.c (expand_call_inline): Convert retvar to expected + type. - * i386/osfrose.h (SET_ASM_OP): Define. +2002-10-14 Graham Stott -Fri Sep 24 04:47:33 1993 Jan Brittenson (bson@nutrimat.gnu.ai.mit.edu) + * stmt.c (decl_conflicts_with_clobbers_p): Add REG_P check. - * 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. +2002-10-14 Aldy Hernandez -Thu Sep 23 23:58:58 1993 James Van Artsdalen (james@bigtex.cactus.org) + * stmt.c: Fix typo in comment. - * att.h (ASM_OUTPUT_ASCII): Enclose macro in "do { .. } while (0)". - * sun386.h (ASM_OUTPUT_ASCII): Likewise. +Mon Oct 14 11:35:49 2002 J"orn Rennecke -Thu Sep 23 11:55:47 1993 Ted Lemon (mellon@ncd.com) + * c-common.c (c_common_type_for_mode): Add V2HImode case. + * tree.c (build_common_tree_nodes_2): Initialize + unsigned_V2HI_type_node and V2HI_type_node. + * tree.h (enum tree_index): Add TI_UV2HI_TYPE and TI_V2HI_TYPE. + (unsigned_V2HI_type_node, V2HI_type_node): Define. - * toplev.c (lang_options): Add -fallow-single-precision. +2002-10-14 Jakub Jelinek -Thu Sep 23 00:40:28 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/i386/i386.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): + Handle TARGET_64BIT. - * Makefile.in (bi-parser.c): Supply explicit rule. - Add bi-parser.h as target. - Put these files in srcdir. +2002-10-14 Richard Sandiford - * bc-emit.c (bc_gen_rtx): Call gen_rtx. - (bc_print_rtl): #if 0 the contents. + * config/mips/vr.h (DRIVER_SELF_SPECS): Define. + * config/mips/t-vr (MULTILIB_OPTIONS): Remove mlong32. + (MULTILIB_DIRNAMES): Remove long32. + (MULTILIB_EXCEPTIONS): Don't build -mabi=32 -mgp32 multilibs. + (MULTILIB_REDUNDANT_DIRS): Remove. - * Makefile.in (bc-optab.o, bc-emit.o): Add missing deps. - (bi-parser.c, bi-lexer.c): Don't depend on .h files here. +2002-10-14 Richard Sandiford - * varasm.c (handle_pragma_weak): Test HANDLE_PRAGMA_WEAK - and WEAK_ASM_OP and SET_ASM_OP. + * doc/tm.texi (DRIVER_SELF_SPECS): Document. + * gcc.c (driver_self_specs): New variable. + (do_self_spec): New function. + (main): Use it to process driver_self_specs. - * Makefile.in (stmt.o): Fix typo. +2002-10-13 Richard Henderson - * emit-rtl.c (gen_label_rtx): If output_bytecode, make a CODE_LABEL - but with different contents. + * config/i386/i386.c (ix86_function_ok_for_sibcall): Reject + indirect sibcalls when regparm >= 3. - * rtl.h (BYTECODE_LABEL, BYTECODE_OFFSET, BYTECODE_BC_LABEL): - (BYTECODE_UID): New macros. - (struct rtx_def): Delete elements label, offset, bc_label, uid. + * config/i386/i386.c (sibcall_insn_operand): New. + * config/i386/i386.h (PREDICATE_CODES): Update. + * config/i386/i386-protos.h: Update. + * config/i386/i386.md (sibcall_1, sibcall_value_1): Use it. - * 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. + * rtl.c (shallow_copy_rtx): Use memcpy for the entire node. - * expr.c (expand_increment): Don't store directly ito a subreg - that is narrower than a word. +2002-10-12 Roger Sayle -Wed Sep 22 22:18:35 1993 Chip Salzenberg (chip@fin.uucp) + * simplify-rtx.c (simplify_binary_operation) [ASHIFTRT]: Optimize + arithmetic right shifts of ~0 during RTL simplifications. - * 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. +2002-10-12 Neil Booth -Wed Sep 22 22:13:07 1993 James Van Artsdalen (james@bigtex.cactus.org) + PR preprocessor/7862 + PR preprocessor/8190 + * gcc.c (cpp_unique_options): Don't delete .d files. + Remove stray whitespace. - * bc-emit.c (bc_initialize): Add MODE arg to REAL_VALUE_ATOF calls. +2002-10-12 Naohiko Shimizu - * Makefile.in (bi-lexer.c): File is in $(srcdir). + * pdp11.h (ASM_OUTPUT_SKIP): Add preceding 0 for octal constant. + (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise. + * pdp11.c (pdp11_output_function_prologue): 0%o -> %#o. + (pdp11_output_function_epilogue, output_ascii): Likewise. + (output_addr_const_pdp11): Likewise. + * pdp11.md (movdi): Use offsetable memory for floating store. + (lshrsi3, negsi2): Delete irrelevant comment. - * reg-stack.c (record_label_references): Don't follow a null label - reference chain. +2002-10-11 Andreas Bauer -Wed Sep 22 15:56:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/i386/i386.c (ix86_function_ok_for_sibcall): Allow + indirect calls to be sibcall optimized. + * config/i386/i386.md (sibcall_1): New. + (call_1): Add no-sibcalls condition. + (sibcall_value_1): New. + (call_value_1): Add no-sibcalls condition. - * 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 $@. +2002-10-11 Eric Christopher - * 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. + * output.h (default_valid_pointer_mode): Declare. + * varasm.c (default_valid_pointer_mode): Define. + * target-def.h (TARGET_VALID_POINTER_MODE): Use. + * target.h: Ditto. + * tree.c (build_pointer_type_for_mode): New function. + (build_pointer_type): Use. + (build_reference_type_for_mode): New function. + (build_reference_type): Use. + * tree.h: Declare new functions. + * c-common.c (handle_mode_attribute): Use new functions, check + for type. + * stor-layout.c (layout_type): Depend on machine mode for + REFERENCE_TYPE and POINTER_TYPE. + * dwarf2out.c (simple_type_size_in_bits): Move upward in file. + (modified_type_die): Use instead of PTR_SIZE for POINTER_TYPE + and REFERENCE_TYPE. + * config/mips/mips.c (mips_valid_pointer_mode): New function. + (TARGET_VALID_POINTER_MODE): Use and define. + * config/mips/mips-protos.h (mips_valid_pointer_mode): Declare. - * Makefile.in (bi-lexer.o, bi-parser.o): Use ALL_CFLAGS. +2002-10-11 Geoffrey Keating - * bi-arity.c (main): Make sure there's some value within - each pair of braces. + * cse.c (mention_regs): Set SUBREG_TICKED to the register number, + not the address of the REG. + (struct cse_reg_info): Make subreg_ticked unsigned. - * 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. +2002-10-11 Janis Johnson - * varasm.c (bc_assemble_integer): Make definition static. + * doc/compat.texi: Add info about C++ libraries. - * expr.c (bc_strdup): Don't use strcpy's value. +2002-10-11 Richard Henderson - * 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__. + PR opt/8165 + * gcse.c (adjust_libcall_notes): Also adjust notes for INSN. -Wed Sep 22 15:49:47 1993 Ted Lemon (mellon@ncd.com) +2002-10-11 John David Anglin - * 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. + * cfganal.c (dfs_enumerate_from): Use PARAMS. + * genautomata.c (output_insn_code_cases): Likewise. + * real.c (real_format): Likewise. + * tree.c (tree_size): Revise expressions using TREE_CODE_LENGTH to + ensure value is promoted before doing subtraction. -Wed Sep 22 11:18:24 1993 Mike Stump (mrs@cygnus.com) +Fri Oct 11 22:22:38 CEST 2002 Jan Hubicka - * cp-class.c (finish_struct): Move special C++ only code that - handles anonymous unions inside structures here. - * stor-layout.c (layout_record): From here. + * calls.c (expand_call): Simplify noreturn call. -Wed Sep 22 14:14:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + PR c/7344 + * cfgbuild.c (make_edges): Create edge cache when we do have + large jumptable. + * expr.c (do_tablejump): Note size of maximal jumptable. + * function.c (prepare_function_start): Zero out size. + * function.h (function): Add max_jumptable_ents. - * enquire.c (FPROP): Recognize 80387 or 68881 XFmode format. + * cfgcleanup.c (insn_match_p): Verify sibcall flag for calls to. - * c-typeck.c (build_component_ref): For a field in an anonymous union, - make two nested COMPONENT_REFs. - (lookup_field): Additional arg INDIRECT. +Fri Oct 11 12:34:33 2002 J"orn Rennecke -Wed Sep 22 14:45:42 1993 Kresten Krab Thorup (krab@iesd.auc.dk) + * sh.md (movv8qi_i+2): For V8QI destinations, generate V4HI + register for mperm_w operation. - * tm.texi (CLEAR_INSN_CACHE): New macro. - * libgcc2.c (__clear_cache): add case for new CLEAR_INSN_CACHE. +Fri Oct 11 10:56:17 2002 J"orn Rennecke - * 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. + * emit-rtl.c (gen_lowpart_common): When asked to make a vector from + an integer, use simplify_gen_subreg. - * varasm.c (output_constructor): Use the type given - by the constructor expression only if available. Otherwise - use the type of the declared type. +2002-10-10 Diego Novillo -Tue Sep 21 19:51:26 1993 Andrew McCallum (mccallum@vein.cs.rochester.edu) + * calls.c (flags_from_decl_or_type): Make extern. + (ECF_*): Move ... + * rtl.h (ECF_*): ... here. + (flags_from_decl_or_type): Declare. - * objc/Object.[hm] (-compare:, -shouldNotImplement:): Added. +2002-10-10 Roger Sayle + Nathan Sidwell - * 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. + * fold-const.c (fold) [RSHIFT_EXPR]: Optimize arithmetic right + shifts of the form -1 >> x. -Tue Sep 21 18:35:04 1993 Per Bothner (bothner@kalessin.cygnus.com) +Thu Oct 10 16:52:55 CEST 2002 Jan Hubicka - * 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. + * cfgcleanup.c (insn_match_p): Verify sibcall flag for calls to. -Tue Sep 21 16:44:17 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-10-10 Aldy Hernandez - * libgcc2.c (L_bb): Test inhibit_libc. + * extend.texi (Vector Extensions): Remove comment about single + element vectors. - * Makefile.in (ENQUIRE, CROSS_TEST): New variables. - (all.cross): Use them. +2002-10-10 Kaveh R. Ghazi - * mips-tfile.c, mips-tdump.c [CROSS_COMPILE]: Include mips/a.out.h. + * fold-const.c (size_htab_hash): Use htab_hash_pointer. + * function.c (insns_for_mem_hash): Likewise. + * varasm.c (STRHASH): Likewise. - * 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. +2002-10-10 Stuart Hastings -Tue Sep 21 10:50:19 1993 Jan Brittenson (bson@nutrimat.gnu.ai.mit.edu) + * cse.c (struct cse_reg_info): Add subreg_ticked. + (SUBREG_TICKED): New. + (get_cse_reg_info): Initialize SUBREG_TICKED. + (mention_regs): Use it. + (invalidate): Set SUBREG_TICKED. + (invalidate_for_call): Likewise. + (addr_affects_sp_p): Likewise. - * emit-rtl.c (gen_label_rtx, emit_line_note): add conditional for - bytecode. +2002-10-10 Jakub Jelinek - * 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. + * config/i386/i386.md (tls_local_dynamic_base): Put pic reg + into proper operand. - * 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. +2002-10-10 Denis Chertykov - * c-pragma.c (handle_pragma_token): use handle_pragma_weak. + * config/ip2k/ip2k.c (function_epilogue): Optimize stack + deallocation. + * config/ip2k/libgcc.S: Combine routines used by function + epilogue. - * function.h (enum pragma_state): moved from c-pragma.c +2002-10-10 Jim Wilson - * 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. + * cse.c (fold_rtx): Don't perform associative optimization for DIV and + UDIV. - * 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 +2002-10-10 David Edelsohn + * config/rs6000/aix52.h: New file. + * config/rs6000/t-aix52: New File. + * config.gcc (rs6000-ibm-aix5.1.*): New entry. + (rs6000-ibm-aix[56789].*): Default to AIX 5.2. -Tue Sep 21 10:20:55 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Thu Oct 10 19:37:54 CEST 2002 Jan Hubicka - * jump.c (jump_optimize): Try putting RETURN at end of function - both at start and at end of our optimization. + PR target/5610 + * invoke.texi (-msse-math): Kill + (-msse): Add note to mfpmath=sse. -Mon Sep 20 17:22:13 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Oct 10 17:08:30 CEST 2002 Jan Hubicka - * expr.c (expand_expr): Handle flag_volatile here. - * c-typeck.c (build_indirect_ref): TREE_THIS_VOLATILE no longer - depends on flag_volatile. + PR target/7723 + * i386.c (ix86_expand_vector_move): Do not generate const0->mem moves. -Mon Sep 20 15:21:31 1993 Doug Evans (dje@cygnus.com) +2002-10-10 Neil Booth - * gstddef.h: Back out change of Sep 15 (handles Sun lossage). - Prevented bootstrapping. + PR preprocessor/8179 + * gcc.c (cpp_options): Add {ansi}, move %{m*} to same location + as cc1_options. + (default_compilers): Pass debug options when preprocessing + stdin. -Mon Sep 20 12:21:56 1993 Kresten Krab Thorup (krab@iesd.auc.dk) +2002-10-06 Richard Henderson - * objc/archive.c (objc_read_string): Allocate n+1 chars instead of - just n. + * toplev.c (rest_of_compilation): Revert opt/2960 change. -Sun Sep 19 13:06:37 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Wed Oct 9 21:18:43 CEST 2002 Jan Hubicka - * function.c (combine_temp_slots): Handle deletion properly. - Free the RTL that is allocated. - * rtl.c (rtx_free): New function. + * i386.c (*_cost): Add branch costs. + (override_options): set ix86_branch_cost. + (ix86_expand_int_movcc): Use BRANCH_COST. + * i386.h (costs): Add branch_cost. - * config/m68k/m68k.c (output_move_double): Handle register overlap - case that occur in soft-float XFmode. Code basically copied from - i386.c. +2002-10-09 Zack Weinberg -Sun Sep 19 14:40:08 JDT 1993 Michael Ben-Gershon (mybg@cs.huji.ac.il) + PR c/7353 + * c-decl.c (start_decl): Unconditionally issue error for + 'typedef foo = bar'. + (finish_decl): Remove special case for TYPE_DECL with initializer. - * 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. + * doc/extend.texi: Delete "Naming Types" section. Change all + cross-references to that section to refer to "Typeof" instead. + Add the useful safe-max()-macro example from "Naming Types" to + "Typeof", rewritten using that extension. Add some compatibility + notes to "Typeof." -Sun Sep 19 12:49:05 1993 James Van Artsdalen (james@bigtex.cactus.org) +2002-10-09 Kaveh R. Ghazi - * Makefile.in (objc-headers): Depend on stmp-fixinc to build the - include/ subdirectory first. + * loop.c: Revert 2002-08-15 change. + (LOOP_REGNO_NREGS): Ensure type is int. -Sun Sep 19 09:45:16 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) +2002-10-09 David Edelsohn - * gstddef.h (size_t): Acorn RISCiX requires __size_t defined. + * config/rs6000/rs6000.md (extenddftf2): Change to define_insn + which copies first FPR and clears second. + (extendsftf2): Same. + (floatditf2): Fix typo. + (floatsitf2): Same. + (fix_trunctfdi2): Same. + (fix_trunctfsi2): Same. -Sun Sep 19 09:08:09 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +2002-10-09 Kaveh R. Ghazi - * 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. + * conflict.c (arc_hash): Change return type to hashval_t. + * cselib.c (get_value_hash): Likewise. + * genautomata.c (automaton_decl_hash, insn_decl_hash, decl_hash, + state_hash, automata_list_hash): Likewise. + * read-rtl.c (def_hash): Likewise. + * tree.c (type_hash_hash): Likewise. - * reload.c (find_reloads): Reject an alternative if two operands - match the same output and we have to do a reload. +2002-10-08 Aldy Hernandez - * 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. + * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Call + prologue_epilogue_contains instead of using REG_MAYBE_DEAD notes. - * xm-alpha.h: Add extern declaration for alloca. +Wed Oct 9 15:54:49 2002 J"orn Rennecke - * a29k.h (PREDICATE_CODES): Fix typos and add missing entries. - * alpha.h, i860.h i960.h, m88k.h, mips.h, rs6000.h: Likewise. + * sh.md (ffssi2): Fix emitted code. -Sat Sep 18 09:27:03 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-10-09 Ulrich Weigand - * expr.c (convert_move): Use emit_library_call_value. + * cse.c (insn_live_p): Pass insn pattern, not full insn + to may_trap_p. -Sat Sep 18 08:01:44 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +2002-10-09 Neil Booth - * alpha.h (REG_ALLOC_ORDER): Add missing entries. + * cppmacro.c (paste_tokens): Only allow / to paste with =. - * combine.c (recog_for_combine): Fix typos in previous change. +2002-10-09 David Edelsohn - * 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. + * config/rs6000/rs6000.md (movdf splitter): Use gen_int_mode on + 64-bit hosts. + (movtf_internal): Reference correct displacement for second value + in memory. + (movtf splitter): Correct generation of constants in 64-bit mode. -Fri Sep 17 21:40:02 1993 Per Bothner (bothner@cygnus.com) +2002-10-09 Alan Modra - * 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.) + * libgcc2.c (__floatdisf): Properly cure double rounding. -Fri Sep 17 20:38:53 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-10-09 Gabriel Dos Reis - * c-typeck.c (output_init_element): Update constructor_bit_index - for union types. + * c-common.c (cb_register_builtins): Define __WCHAR_MAX__. + * doc/cpp.texi (Common Predefined Macros): Document. - * libgcc2.c: Declare __fixunsxfdi only if really have XFmode. - Likewise for __fixunstfdi. +2002-10-09 Gabriel Dos Reis -Fri Sep 17 18:08:37 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + PR doc/7484 + * doc/invoke.texi (Option Summary): List + -Wmissing-declarations as a C only option. - * combine.c (recog_for_combine): Always reject a PARALLEL containing - our special CLOBBER. +2002-10-08 Roger Sayle - * cse.c (fold_rtx, case MINUS): Copy result obtained from - hash table. + * fold-const.c (fold) [LROTATE_EXPR, RROTATE_EXPR]: Optimize + left and right rotates of ~0, i.e. integer_all_onesp (arg0). + [LSHIFT_EXPR, RSHIFT_EXPR]: Optimize shifts and rotates of zero. - * cse.c (fold_rtx, case SUBREG): If paradoxical SUBREG of a - constant, return the constant. +Tue Oct 8 01:24:19 CEST 2002 Jan Hubicka - * 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. + * i386.c (x86_sse_partial_reg_dependency, x86_sse_partial_regs, + x86_sse_typeless_stores, x86_sse_load0_by_pxor): New global + variables. + (safe_vector_operand): Update sse_clrv4sf call. + (ix86_expand_buildin): Likewise + * i386.h (x86_sse_partial_reg_dependency, x86_sse_partial_regs, + x86_sse_typeless_stores, x86_sse_load0_by_pxor): Declare. + (TARGET_SSE_PARTIAL_REG_DEPENDENCY, TARGET_SSE_PARTIAL_REGS, + TARGET_SSE_TYPELESS_STORES, TARGET_SSE_TYPELESS_LOAD0): New + macros. + * i386.md (movsf*, movdf*, movti, movv4sf, movv2df, movv16qi, movv8hi, + movv4si): Obey the new flags. + (floatsi2sf, floatdi2sf, truncatedf2sf): Emit extra load of 0 to avoid + reformating penalty. + (anddf, cmov patterns): Avoid reformating by first converting. + (sse_cvtsd2ss): Fix predicate. + (sse2_clrti): Fix mode, + (sse_clrv4sf): Avoid unspec. + +2002-10-08 Jakub Jelinek + + * config/sparc/t-linux64 (MULTILIB_OPTIONS): Remove + mno-app-regs|mcmodel=medany. + (MULTILIB_DIRNAMES, MULTILIB_OSDIRNAMES): Remove alt. + (MULTILIB_EXCEPTIONS, MULTILIB_EXCLUSIONS, MULTILIB_MATCHES): Remove. + (CRTSTUFF_T_CFLAGS): Define. + +2002-10-08 Roger Sayle + + PR target/8087 + * simplify-rtx.c (avoid_constant_pool_reference): Allow constant + pool references that are constructed using LO_SUM. + +2002-10-08 Nathan Sidwell + + * c-opts.c (c_common_decode_option): Add warn_strict_aliasing to + -Wall. + * c-typeck.c (build_c_cast): Use warn_strict_aliasing, tweak + message. + * flags.h (warn_strict_aliasing): Declare. + * toplev.c (warn_strict_aliasing): Define. + (lang_independent_options): Add it. + * doc/invoke.texi (-Wstrict-aliasing): Document it. -Fri Sep 17 16:03:22 1993 Per Bothner (bothner@cygnus.com) +2002-10-08 Zack Weinberg - * 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. + * system.h (GCCBUGURL): Delete. + * version.c (bug_report_url): New. Add commentary about + modifying both these strings in modified distributions. + * version.h: Declare bug_report_url. -Fri Sep 17 09:02:06 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * diagnostic.c, gcc.c, gcov.c: Globally replace GCCBUGURL with + bug_report_url. - * expr.h (emit_library_call_value): Fix declaration. +2002-10-08 Nick Clifton -Thu Sep 16 12:05:44 1993 Ian Lance Taylor (ian@cygnus.com) + * config/rs6000/spe.h (__ev_set_acc_u64): Use __ev_create_u64 to + convert uint64_t into __ev64_opaque__. + (__ev_set_acc_s64): Likewise, but using signed types. - * 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. +2002-10-08 Ulrich Weigand -Thu Sep 16 10:22:17 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/s390/s390.md ("*doloop_si_long"): Add missing operand. + ("*doloop_di_long"): Likewise. - * reload.c (find_reloads): For PLUS operand, call find_reloads_toplev. +Tue Oct 8 16:50:10 CEST 2002 Jan Hubicka - * optabs.c (expand_complex_abs): Fix typo in prev change. + * print-rtl.c (print_rtx): Increase buffer size for real numbers. + +2002-10-08 Richard Sandiford + + * config/mips/mips.md (define_attr cpu): Add r4111. + +2002-10-08 Anthony Green + + * bitmap.c (bitmap_equal_p): Clear all bitmap_head fields. + +2002-10-08 Michael Hayes + + * config/c4x/c4x.c (c4x_print_operand): Enlarge buffer + for REAL_VALUE_TO_DECIMAL output. + +2002-10-07 Richard Henderson -Thu Sep 16 02:06:11 1993 Jim Wilson (wilson@cygnus.com) + * cse.c (fixed_base_plus_p): Turn FIXED_BASE_PLUS_P into a + function; cleanup PLUS case by using recursion. Update all users. + (NONZERO_BASE_PLUS_P): Remove. + (find_comparison_args): Use rtx_addr_can_trap_p instead. + (fold_rtx): Use nonzero_address_p. + * rtl.h (nonzero_address_p): Declare. + * rtlanal.c (rtx_varies_p): Handle ADDRESSOF. + (rtx_addr_can_trap_p): Likewise. + (nonzero_address_p): New. + * simplify-rtx.c (NONZERO_BASE_PLUS_P): Remove. + (simplify_relational_operation): Use nonzero_address_p. - * 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. +2002-10-07 David Edelsohn - * 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. + * config/rs6000/rs6000.c (rs6000_override_options): Set + real_format_for_mode for IBM extended format, if enabled. + (easy_fp_constant): Add TFmode. + (rs6000_legitimize_address): Add TFmode. + (rs6000_legitimate_address): Same. + (function_arg_advance): TFmode uses two FPRs. + (rs6000_emit_prologue): Fix warning. + (rs6000_output_function_epilogue): Add TFmode. + (output_toc): Add TFmode. + * rs6000.h (SLOW_UNALIGNED_ACCESS): Add TFmode. + (LEGITIMATE_OFFSET_ADDRESS_P): Add TFmode. + * rs6000.md (movtf splitter): Load TFmode constant. -Wed Sep 15 17:38:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-10-07 Dale Johannesen - * gstddef.h: Delete the conditional that used to semi-avoid - interference with sys/stdtypes.h on Sun. (fixincludes makes - it ok.) + * rtl.h: Add NOTE_PRECONDITIONED. + * unroll.c: Set it. + * loop.c: Set loop_info->preconditioned from it. + * doloop.c: Permit doloop treatment when loop_info->preconditoned. -Wed Sep 15 16:17:09 1993 Jeffrey A. Law (law@snake.cs.utah.edu) +2002-10-07 Richard Henderson - * pa.h (ASM_FILE_START): Fix access information for $LIT$ - subspace. + * config/i960/i960.c (i960_setup_incoming_varargs): Create a + new rtx for comparing the argument pointer against zero. + (i960_va_start): Similarly. -Wed Sep 15 14:53:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-10-07 Richard Henderson - * config/ns32k/ns32k.md: Add peepholes for stack adjust plus pushes. + * config/i960/i960.md (*): Use TFmode, not XFmode. + * config/i960/i960.c (*): Likewise. + (i960_arg_size_and_align): Remove XFmode alignment hack. + (i960_round_align): Merge code from ROUND_TYPE_ALIGN. + * config/i960/i960.h (LONG_DOUBLE_TYPE_SIZE): Use 128, not 96. + (MAX_LONG_DOUBLE_TYPE_SIZE): Likewise. + (DATA_ALIGNMENT, ROUND_TYPE_SIZE): Remove. -Wed Sep 15 13:38:24 1993 Doug Evans (dje@canuck.cygnus.com) +2002-10-07 Richard Henderson - * c-typeck.c (lookup_field): New function (for chill). - (build_component_ref): Call it. + * config/fp-bit.c (EXTENDED_FLOAT_STUBS): Flush out all XF/TFmode + entry points; use void return value and argument list. -Wed Sep 15 08:12:32 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-10-06 Andreas Bauer - * libgcc2.c: Declare __fixunsxfdi and __fixunstfdi. + * calls.c (expand_call): Fix function-is-volatile check. - * integrate.c (copy_for_inline, copy_rtx_and_substitute): - Always preserve the volatil flag when copying ASM_OPERANDS. +2002-10-05 Naohiko Shimizu -Tue Sep 14 21:56:20 1993 Jim Wilson (wilson@cygnus.com) + * t-pdp11: Add MULTILIB support for msoft-float. + * pdp11.h (LEGITIMATE_CONSTANT_P): Fix soft-float case. - * c-typeck.c (valid_compound_expr_initializer): New function. - (digest_init): Handle compound expressions as initializers when - pedantic. + * t-pdp11: Add LIB2FUNCS_EXTRA. + * pdp11.c (pdp11_output_function_prologue): Restrict offset to 16bit, + add preceding 0 to the octal constant, rename 'fp' to 'r5', rename + 'fldd' to 'ldd', rename 'fstd' to 'std'. + (pdp11_output_function_epilogue): Likewise. + (output_move_quad): Make the comment gas compatible. + (output_ascii): Add preceding 0 to the octal constant. + (print_operand_address): Add pre_modify, post_modify. + (output_addr_const_pdp11): Add preceding 0 to the octal constant. + * pdp11.h (GO_IF_LEGITIMATE_ADDRESS) : Add 'movb' pre_modify case + with the indication of Paul Koning. + (PRINT_OPERAND): Fix floating constant. + * pdp11.md (movdi): Restrict matching pattern. + (movqi): Generalize the matching pattern. + (movdf): Restrict matching pattern. + (zero_extendqihi2): Change constant representation. + (floatsidf2): Fix wrong operands. + (addqi3): Fix wrong instruction name. + (subqi3): Fix wrong instruction name. + (andsi3, andhi3, andqi3): Simplify and fix to use 'bic'. + (xorsi3): Fix wrong insn. + (one_cmplqi2): Add two operand pattern. + (lsrsi3): New. + (negsi2): New. + (call): Add register indirect case. + (mod): Fix wrong subreg. - * varasm.c (immed_double_const, immed_real_const_1): Don't touch - const_double_chain if not inside a function. +2002-10-06 Eric Botcazou + Volker Reichelt -Tue Sep 14 16:22:03 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) + PR c/7411 + * expr.c (expand_expr) [PLUS]: Simplify after the operands + have been expanded in EXPAND_NORMAL mode. - * c-typeck.c (digest_init): Compare types using comptypes - instead of comparing pointers. (Helps Chill front end.) +2002-10-06 Richard Henderson -Tue Sep 14 12:16:52 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/rs6000/rs6000.md (load_toc_v4_PIC_2): Fix base constraint. - * 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. +2002-10-06 Richard Henderson - * 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. + PR optimization/2960 + * toplev.c (rest_of_compilation): Don't copy_loop_headers if + optimize_size. - * reload.c (find_dummy_reload): New args inmode, outmode. - (find_reloads): Pass new args. - (push_reload): Likewise. +2002-10-06 Alexandre Oliva -Mon Sep 13 12:52:03 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/mips/mips.h (SIZE_TYPE, PTRDIFF_TYPE): Override + previously definitions. - * c-typeck.c (set_init_index): Don't allow variable indices. +2002-10-06 Frank Ch. Eigler - * c-decl.c (complete_array_type): Handle TREE_PURPOSE - of array constructor elements. + * cppinit.c (init_standard_includes, parse_option): Use strncmp. + * c-opts.c (find_opt): Similarly. - * expr.c (store_constructor): Handle TREE_PURPOSE of array constructor. - (expand_expr, ARRAY_REF case): Likewise. +Sat Oct 5 22:48:06 CEST 2002 Jan Hubicka - * varasm.c (output_constructor): Handle index value in - the TREE_PURPOSE, for array constructors. + * athlon.md: rewrite to DFA. + * i386 (ix86_adjust_cost): Drop memory latency code. + (ia32_use_dfa_pipeline_interface): Return true for Athlon. - * 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. +2002-10-05 Jakub Jelinek -Sun Sep 12 23:00:25 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) + * gcc.c (set_multilib_dir): Don't access *end. + Use memcpy instead of strncpy. Don't write beyond malloced buffer. + (print_multilib_info): Don't show paths starting with ".:". + * genmultilib: Add new option, "yes" if multilibs are enabled. + Update comments. If multilibs not enabled, print .:${osdirout} + for each directory. If multilibs are enabled, always print + ${dirout}:${osdirout}, even if the two are the same. + * Makefile.in (s-mlib): Pass @enable_multilib@ to genmultilib. + Pass all MULTILIB_* variables to genmultilib even if + --disable-multilib but MULTILIB_OSDIRNAMES is not empty. - * expr.c (expand_expr, case ARRAY_REF): Coerce lower bound (if - non-zero) to sizetype before subtraction. +2002-10-04 Zack Weinberg -Sun Sep 12 16:18:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * gcc.c (process_command): Set .validated for -pipe. Correct + grammar in comment. - * 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. +2002-10-04 Bruce Korb -Sun Sep 12 10:59:08 1993 Bill Cox (bill@cygnus.com) + * fixinc/inclhack.def(hpux11_abs): use format fix + * fixinc/fixincl.x: regenerate + * fixinc/tests/base/stdlib.h: accommodate new fix test - * c-typeck.c (digest_init): Remove obsolete comments on args - TAIL, OF_WHAT. +Sat Oct 5 19:42:45 CEST 2002 Jan Hubicka -Sun Sep 12 08:45:36 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-common.c (cb_register_builtins): Use really_no_inline. - * loop.c (basic_induction_var): New arg MODE. - Use it to call convert_modes. - (strength_reduce): Supply the new arg to basic_induction_var. +2002-10-04 David Edelsohn - * expmed.c (expand_shift): Use convert_modes. - (emit_store_flag): Likewise. + * unroll.c (copy_loop_body): Remove REG_EQUAL note attached to + copied instruction if the note is not loop invariant. -Sat Sep 11 16:44:15 1993 Doug Evans (dje@canuck.cygnus.com) +2002-10-04 Loren J. Rittle - * collect2.c (main): Provide upward compatibility with old version - of collect (avoids infinite mutual recursion between the two). + * gcc/ginclude/stddef.h: Support the FreeBSD 5 typedef system. -Sat Sep 11 13:05:07 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) +2002-10-04 Steve Ellcey - * 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. + * doc/invoke.texi (HPPA): Add -mlinker-opt, -mgnu-ld, + and -mhp-ld options to list of options. Add -mgnu-ld + and -mhp-ld option descriptions. -Sat Sep 11 15:55:25 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-10-04 Steve Ellcey - * stor-layout.c (layout_record): Turn off PCC_BITFIELD_TYPE_MATTERS - rounding of field bitpos, if maximum_field_alignment is nonzero. + * fixinc/inclhack.def (hpux11_abs): New. + (stdio_va_list): change __va_list__ to __gnuc_va_list. + * fixinc/fixincl.x: Rebuild. -Fri Sep 10 08:52:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-10-04 Roger Sayle - * c-typeck.c (check_init_type_bitfields): Check for mismatch - between field's mode and its type's mode. + * config/i386/i386.h (processor_costs): Add new fields fadd, + fmul, fdiv, fabs, fchs and fsqrt to costs structure. + (RTX_COSTS): Use these fields to determine the RTX costs + of floating point addition/subtraction, multiplication, + division, fabs, negation and square root respectively. + * config/i386/i386.c (size_cost): Provide instruction sizes + for these new fields. + (i386_cost, i486_cost, pentium_cost, pentiumpro_cost, + k6_cost, athlon_cost, pentium4_cost): Provide typical cycle + counts for these new fields for all x86 processor variants. - * expr.c (protect_from_queue): Don't alter an existing MEM. - (convert_modes): Use X's mode (not OLDMODE) unless it is VOIDmode. +2002-10-04 Kaveh R. Ghazi -Fri Sep 10 01:01:32 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * mips.c (mips_const_double_ok): Delete unused variable. - * config.sub: Recognize operating system `netbsd*'. + * gengtype.c (rtx_next): Change type to int. -Thu Sep 9 18:09:14 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) +2002-10-04 Andreas Jaeger - * c-typeck.c (really_start_incremental_init, push_init_level): - Add support for arrays with non-zero lower bounds. (Used by Chill.) + * config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Fix value. -Thu Sep 9 19:20:59 1993 Jim Wilson (wilson@cygnus.com) +2002-10-04 Richard Henderson - * tree.c (make_node): Put PARM_DECLs of nested functions onto - parent's saveable obstack. + * real.h (SIGNIFICAND_BITS): Add one more word. + (CONST_DOUBLE_FORMAT): Accomodate 6 words. + * real.c (times_pten): New. + (real_to_decimal, real_from_string): Use it. + (sticky_rshift_significand): Use & to find modulus. + (rshift_significand, lshift_significand): Likewise. + (do_divide): Apply sticky bit after normalization. + (real_to_decimal, real_to_hexadecimal): Fix sign of Inf and NaN. -Thu Sep 9 14:17:00 1993 Ian Lance Taylor (ian@cygnus.com) +2002-10-03 Andreas Bauer - * 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. + * doc/tm.texi (FUNCTION_OK_FOR_SIBCALL): Remove. + (TARGET_FUNCTION_OK_FOR_SIBCALL): New. -Thu Sep 9 09:48:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-10-03 Andreas Jaeger - * expr.c (expand_expr): Set ignore for COND_EXPR with VOID_TYPE. + * gengtype.c (adjust_field_rtx_def): Cast variables of type size_t + to unsigned long, adjust printf format string. + (output_mangled_typename): Likewise. - * 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. +2002-10-03 Jason Thorpe - * optabs.c (widen_operand): New arg OLDMODE. - (expand_binop, expand_unop): Fix calls to widen_operand. + * config/vax/vax.c (vax_output_function_prologue): Use asm_fprintf. + * config/vax/vax.h (VAX_FUNCTION_PROFILER_NAME): New. + (FUNCTION_PROFILER): Rewrite to use ASM_GENERATE_INTERNAL_LABEL, + assemble_name, asm_fprintf, and VAX_FUNCTION_PROFILER_NAME. + (ASM_OUTPUT_MI_THUNK): Use asm_fprintf instead of REGISTER_PREFIX. + (PRINT_OPERAND_PUNCT_VALID_P): Fix comment. + * config/vax/elf.h (FUNCTION_PROFILER): Remove. + (VAX_FUNCTION_PROFILER_NAME): Redefine as "__mcount". -Wed Sep 8 18:25:50 1993 Doug Evans (dje@cygnus.com) +2002-10-03 Mark Mitchell - * sparc.c, sparc.h, sparc.md: Cosmetic changes only. Just - reordered code a little. + * doc/invoke.texi (-Wabi): Document mangling bug. -Wed Sep 8 14:49:59 1993 Jim Wilson (wilson@cygnus.com) +2002-10-04 Alan Modra - * dbxout.c (dbxout_parms): For parameters in registers, if use - DECL_RTL, then must use TREE_TYPE instead of DECL_ARG_TYPE. + * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Use a + name for the tbtab label that depends on the function asm name. + Don't output tbtab label unless optional_tbtab. + (output_mi_thunk): Formatting. - * mips.md (fix_truncdfsi2, fixtruncsfsi2): Mark SImode scratch - register as early clobbered when dest is in memory. +2002-10-03 Richard Henderson - * fixincludes (sbusdev/audiovar.h): Fix wrongly edited // comments - nested within /* */ comments. + * config/m68k/m68k.h (OVERRIDE_OPTIONS): Move additional code ... + * config/m68k/m68k.c (override_options): ... here. + * config/m68k/m68kelf.h (OVERRIDE_OPTIONS): Remove. + * config/m68k/m68kv4.h (OVERRIDE_OPTIONS): Remove. + * config/m68k/linux.h (SUBTARGET_OVERRIDE_OPTIONS): Remove. + * config/m68k/netbsd-elf.h (SUBTARGET_OVERRIDE_OPTIONS): Remove. - * gcc.c (process_command): Don't warn for -x after last input file - if spec_lang is zero. +2002-10-03 Richard Henderson - * fixinc.mips (bsd43/bsd43.h): Change /**/ to ##. + * real.h (struct real_value): Use ENUM_BITFIELD. - * expr.c (convert_move): When truncating, call force_reg first if - it is something that gen_lowpart won't understand. +2002-10-03 Richard Henderson - * sys-protos.h (getrlimit, getrusage, setrlimit): Return int not void. + * config/i960/i960.md (call, call_value): Use emit_call_insn. -Wed Sep 8 11:28:41 1993 John Hassey (hassey@dg-rtp.dg.com) +2002-10-03 Steve Ellcey - * m88k.c (output_call): Avoid use of jsr.n r1, this loses on - the 88110. + * config/pa/pa64-hpux.h (INIT_ENVIRONMENT): New. -Wed Sep 8 10:51:07 1993 David Edelsohn (edelsohn@npac.syr.edu) +2002-10-03 Steve Ellcey - * 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. + * config.gcc (hppa*64*-*-hpux11*): Check gnu_ld. + * config/pa/pa.h (MASK_GNU_LD): New. + (TARGET_GNU_LD): New. + * config/pa/pa64-hpux.h (LINK_SPEC): Set based + on gnu-ld and MASK_GNU_LD. + (SUBTARGET_SWITCHES): New gnu-ld & hp-ld flags. - * rs6000.c (rs6000_cpu, rs6000_cpu_string): New variables. - (rs6000_override_options): New function. +Thu Oct 3 23:35:51 CEST 2002 Jan Hubicka - * 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. + * i386.c (athlon_cost): Fix the move costs. -Wed Sep 8 06:34:32 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Oct 3 23:20:58 CEST 2002 Jan Hubicka - * c-typeck.c (output_init_element): When adding to - constructor_pending_elts, copy field. + * final.c (final): Use symbol name as function name for profiling. + * profile.c (get_exec_counts): Likewise. + (branch_prob): Likewise. -Wed Sep 8 06:15:58 1993 David Gershovich (dgirsh@iil.intel.com) +2002-10-03 Jakub Jelinek - * expmed.c (make_tree, case CONST_INT): Properly set high part if - unsigned. + * longlong.h (__udiv_qrnnd): Remove PARAMS from prototype. - * optabs.c (expand_binop): Must always widen second operand - of shift. +2002-10-03 Jakub Jelinek -Wed Sep 8 05:16:59 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * gcc.c (print_multi_os_directory): New variable. + (option_map): Support --print-multi-os-directory. + (struct prefix_list): Add os_multilib field. + (multilib_os_dir): New variable. + (static_specs): Add multilib_options. + (find_a_file): Add multilib argument. Search in GCC or OS multilib + subdirs if nonzero. + (read_specs, execute): Update callers. + (find_file): Likewise. Don't prefix name with multilib_dir, instead + pass 1 as multilib option. + (display_help): Include --print-multi-os-directory. + (add_prefix): Add os_multilib argument. Initialize pl->os_multilib. + (process_command): Update callers. Handle --print-multi-os-directory. + (do_spec_1) ['D']: Use multilib_os_directory if pl->os_multilib is + set. + (main): Update find_a_file and add_prefix callers. + Handle print_multi_os_directory. + (struct mdswitchstr): New. + (mdswitches, n_mdswitches): New variables. + (used_arg): Add MULTILIB_DEFAULT switches too if they are not + present on the command line nor their mutually incompatible + switches. + (default_arg): Optimize. + (set_multilib_dir): Compute multilib_os_dir. Initialize mdswitches + array. + (print_multilib_info): Only print GCC multilib dir name, not OS + multilib dirname. + * genmultilib: Add osdirnames parameter. Output multilib_options + variable. If osdirnames is specified, output dirnames as + dirname:osdirname. + * mklibgcc.in: Use MULTILIB_OSDIRNAMES, --print-multi-directory + and --print-multi-os-directory instead of SHLIB_SLIBDIR_SUFFIXES + to compute libgcc_s soname and install path. + * Makefile.in (libgcc.mk): Pass MULTILIB_OSDIRNAMES instead of + SHLIB_SLIBDIR_SUFFIXES to mklibgcc. + (s_mlib): Pass MULTILIB_OSDIRNAMES or nothing as last genmultilib + argument. + + * config/sparc/t-linux64 (MULTILIB_OSDIRNAMES): Set. + (SHLIB_SLIBDIR_SUFFIXES): Remove. + * config/sparc/linux64.h (STARTFILE_SPEC32, STARTFILE_SPEC64, + ENDFILE_SPEC32, ENDFILE_SPEC64, ENDFILE_COMMON): Remove. + (STARTFILE_SPEC, ENDFILE_SPEC): Don't distinguish between -m32 + and -m64. + * config/sparc/t-sol2-64 (MULTILIB_OSDIRNAMES): Set. + (SHLIB_SLIBDIR_SUFFIXES): Remove. + * config/sparc/sol2-bi.h (STARTFILE_ARCH64_SPEC): Remove. + (STARTFILE_ARCH_SPEC): Remove. + * config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Set. + (SHLIB_SLIBDIR_SUFFIXES): Remove. + * config/i386/linux64.h (STARTFILE_PREFIX_SPEC): Remove. + * config/mips/t-iris6 (MULTILIB_OSDIRNAMES): Set. + (SHLIB_SLIBDIR_SUFFIXES): Remove. + +Thu Oct 3 21:42:20 CEST 2002 Jan Hubicka + + * predict.c (choose_function_section): Avoid choice for linkonce functions. + +Thu Oct 3 15:15:00 CEST 2002 Jan Hubicka + + * i386.md (lea to mul peep2): Fix condition. + +2002-10-02 John David Anglin + + * pa-linux.h (FUNCTION_OK_FOR_SIBCALL): Delete macro. + * pa32-linux.h (FUNCTION_OK_FOR_SIBCALL): Define. + +2002-10-02 David Mosberger-Tang + + * unwind.h (_Unwind_GetTextRelBase): Mark _C argument with + attribute "unused". + + * config/t-libunwind: Mention unwind-sjlj.c. + * unwind-libunwind.c: Change #ifdef __USING_LIBUNWIND_EXCEPTIONS__ + to #ifndef __USING_SJLJ_EXCEPTIONS__. + + * configure.in: Move sjlj-exceptions and --enable-libunwind-exceptions + before inclusion of config.gcc, but after configuring the compiler etc. + Determine default value for --enable-libunwind-exceptions based on + whether the host has a libunwind library (not guaranteed to be correct, + but it's a reasonable first guess and can always be overridden with an + explicit --enable/disable-libunwind-exceptions. + * config.gcc: For target ia64*-*-linux*, mention t-libunwind as a + tmake_file when $use_libunwind_exceptions is enabled. + * Makefile.in: Update comment: LIB2ADDEH is updated not just by + ia64 (e.g., config/t-linux also updates it). + * gcc.c (init_spec) [USE_LIBUNWIND_EXCEPTIONS]: Mention -lunwind + along with the shared version of libgcc since the latter requires + the former. + * unwind-libunwind.c: New file. + * config/t-libunwind: Ditto. + +2002-10-02 Nathanael Nerode + + * config.gcc: Remove support for vax-*-vms*. + * config/vax/vms.h: Remove. + * config/vax/xm-vms.h: Remove. + * config/vax/vax-protos.h: Remove VMS-specific code. + * config/vax/vax.c: Remove VMS-specific code. + +2002-10-02 Richard Henderson + + PR opt/7124 + * config/i386/i386.c (ix86_register_move_cost): Increase cost + for secondary_memory_needed pairs. + +2002-10-02 Nathanael Nerode + + * doc/vms.texi: Blow away false include file section. + +2002-10-02 Roger Sayle + + PR optimization/6627 + * toplev.c (force_align_functions_log): New global variable. + * flags.h (force_align_functions_log): Add extern prototype. + * varasm.c (assemble_start_function): Use it to force minimum + function alignment. + * config/i386/i386.h (FUNCTION_BOUNDARY): Set the correct + minimum function alignment to one byte. + (TARGET_PTRMEMFUNC_VBIT_LOCATION): Store the virtual bit in + the least significant bit of vtable member function pointers. + * tree.h (enum ptrmemfunc_vbit_where_t): Move definition to + here from cp/cp-tree.h. + +Wed Oct 2 17:01:36 CEST 2002 Jan Hubicka + + * i386.c (print_operand_address): Use RIP addressing for offsetted + label refs too. + +2002-09-30 David S. Miller + + PR middle-end/7151 + * config/sparc/sparc.md (movdi_insn_sp32_v9): Accept 'e' regs. + (movdi reg/reg split): Match only on sparc32, and v9 when int regs. + +2002-10-01 Andreas Bauer + + * calls.c (expand_call): Remove the `no indirect check' + for sibcall optimization; use function_ok_for_sibcall + target hook; refine check for `function is volatile'. + (FUNCTION_OK_FOR_SIBCALL): Remove the redefinition. + * hooks.c (hook_tree_tree_bool_false): New. + * hooks.h (hook_tree_tree_bool_false): Declare. + * target-def.h (TARGET_FUNCTION_OK_FOR_SIBCALL): New. + (TARGET_INITIALIZER): Add it. + * target.h (struct gcc_target): Add function_ok_for_sibcall. + * config/alpha/alpha.c: (alpha_function_ok_for_sibcall): New. + (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly. + * config/alpha/alpha.h: (FUNCTION_OK_FOR_SIBCALL): Remove. + * config/arm/arm-protos.h: (arm_function_ok_for_sibcall): + Remove function declaration. + * config/arm/arm.c: (arm_function_ok_for_sibcall): Make + function static and accept another argument of type `tree'. + (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly. + * config/arm/arm.h: (FUNCTION_OK_FOR_SIBCALL): Remove. + * config/frv/frv.h: (FUNCTION_OK_FOR_SIBCALL): Remove. + * config/i386/i386.c: (ix86_function_ok_for_sibcall): New. + (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly. + * config/i386/i386.h: (FUNCTION_OK_FOR_SIBCALL): Remove. + * config/pa/pa-linux.h: (FUNCTION_OK_FOR_SIBCALL): Remove. + (TARGET_HAS_STUBS_AND_ELF_SECTIONS): New definition. + * config/pa/pa.c: (pa_function_ok_for_sibcall): New. + (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly. + * config/pa/pa.h: (FUNCTION_OK_FOR_SIBCALL): Remove. + * config/rs6000/rs6000-protos.h: (function_ok_for_sibcall): + Remove function declaration. + * config/rs6000/rs6000.c: (rs6000_function_ok_for_sibcall): + Rename function_ok_for_sibcall to rs6000_function_ok_for_sibcall; + rename first argument to `decl'; accept another argument + of type `tree'; make static. + (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly. + * config/rs6000/rs6000.h: (FUNCTION_OK_FOR_SIBCALL): Remove. + * config/sh/sh.c: (sh_function_ok_for_sibcall): New. + (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly. + * config/sh/sh.h: (FUNCTION_OK_FOR_SIBCALL): Remove. + * config/sparc/sparc.c: (sparc_function_ok_for_sibcall): New. + (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly. + * config/sparc/sparc.h: (FUNCTION_OK_FOR_SIBCALL): Remove. + * config/xtensa/xtensa.h: (FUNCTION_OK_FOR_SIBCALL): Remove. + +2002-10-01 Roger Sayle + + * unroll.c (loop_iterations): Revert 2002-09-08 change. + +2002-10-01 Richard Henderson + + * real.c (real_to_decimal): Crop trailing zeros for DIGITS < 0. + (real_to_hexadecimal): Likewise. + * print-rtl.c (print_rtx): If we are linked with real.c, don't + dump the XWINT fields of a floating point CONST_DOUBLE. + +2002-10-01 Jason Thorpe + + * config/vax/elf.h (FUNCTION_PROFILER): Fix __mcount call. + +2002-10-01 Richard Henderson + + * calls.c (precompute_register_parameters): Force non-legitimate + constants into pseudos. + +2002-10-01 Nick Clifton + + * config/rs6000/spe.md (spe_evrlwi): Add missing third operand + to assembler template. + +2002-10-01 Richard Henderson + + * dwarf2out.c (loc_descriptor_from_tree): Relax requirement + for TLS debug info to !DECL_EXTERNAL. + +2002-10-01 Matt Thomas + Jason Thorpe + + * config.gcc (vax-*-netbsdelf*): Enable configuration. + * config/elfos.h (PCC_BITFIELD_TYPE_MATTERS): Define only + if not already defined. + * config/vax/elf.h: New file. + * config/vax/netbsd-elf.h: New file. + * config/vax/vax.c: Include "debug.h". + (vax_output_function_prologue): Add dwarf2 support. Use + MAIN_NAME_P when checking for VMS_TARGET stack adjust. + * config/vax/vax.h (CONST_OK_FOR_LETTER_P): Add cases for + 'J' [0..63], 'K' [-128..127], 'L' [-32768..32767], + 'M' [0..255], 'N' [0..65535], and, 'O' [-63..-1]. + (VAX_ISTREAM_SYNC): Remove. + (INITIALIZE_TRAMPOLINE): Use gen_sync_istream. + (JUMP_TABLES_IN_TEXT_SECTION): Define. + (ASM_OUTPUT_REG_POP): Use reg_names for the stack pointer. + (ASM_OUTPUT_ADDR_VEC_ELT): Use ASM_GENERATE_INTERNAL_LABEL + and assemble_name. + (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise. + (PRINT_OPERAND_PUNCT_VALID_P): Accept '|'. + (PRINT_OPERAND): Output REGISTER_PREFIX for '|'. + (INCOMING_RETURN_ADDR_RTX): Define. + * config/vax/vax.md (VUNSPEC_BLOCKAGE) + (VUNSPEC_SYNC_ISTREAM): Define. + (blockage): Use VUNSPEC_BLOCKAGE. + (sync_istream): New insn. - * 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. +2002-10-01 Richard Henderson -Tue Sep 7 19:11:20 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * config/vax/vax.md (call_pop, *call_pop, call_value_pop) + (*call_value_pop, call, call_value): Add dwarf2 EH support. + (*call): New insn. - * c-common.c (c_build_type_variant): Allocate new type in same - obstack as old one. +2002-10-01 Nathan Sidwell -Tue Sep 7 17:45:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + PR c/8083 + * c-typeck.c (build_c_cast): Warn about type punning which breaks + type based aliasing. - * c-typeck.c (digest_init): Fix error message text. +2002-10-01 Mark Mitchell -Tue Sep 7 14:32:51 1993 Leonid Baraz (lbaraz@iil.intel.com) + * stor-layout.c (update_alignment_for_field): New function. + (place_union_field): Use it. + (place_field): Likewise. - * sched.c (schedule_block): Correct type of BIT. +2002-10-01 Nathan Sidwell - * fold-const.c (fold): Don't try to process an RTL_EXPR. + PR other/8077 + * gcc.c (cc1_options): Add space on -auxbase-strip. -Tue Sep 7 06:18:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-10-01 Jim Wilson - * 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/v850/v850.h (EPILOGUE_USES): Define. - * 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. +2002-09-30 Andrew Haley -Mon Sep 6 14:43:20 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) + * flow.c (insn_dead_p): When using non-call-exceptions, don't + eliminate insns that may trap. + * cse.c (insn_live_p): Likewise. - * genextract.c (insn_name_ptr): Define for debugging. - (walk_rtx, case MATCH_OP_DUP): Expand recog_dup_loc using XEXP not - XVECEXP. +2002-10-01 Richard Sandiford -Mon Sep 6 13:28:03 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * config/mips/mips.h (PROCESSOR_R4121): Rename to PROCESSOR_R4120. + (TARGET_MIPS4121): Rename to TARGET_MIPS4120. + * config/mips/mips.c (mips_cpu_info): Rename vr4121 to vr4120. + * config/mips/mips.md: Apply same renaming here. - * 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. +2002-10-01 Richard Sandiford -Mon Sep 6 08:35:34 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/mips/mips.c (PROCESSOR_R4320, TARGET_MIPS4320): Remove. + (GENERATE_MULT3_SI): Remove use of TARGET_MIPS4320. + * config/mips/mips.c (mips_cpu_info): Remove vr4320 entry. + * config/mips/mips.md (define_attr cpu): Remove r4320. + Remove vr4320 scheduler and uses of TARGET_MIPS4320. - * config/mips/mips.h: Don't declare abort. +2002-10-01 Richard Sandiford -Mon Sep 6 01:03:58 1993 Jim Wilson (wilson@cygnus.com) + * config/mips/mips.c (mips16_strings): New variable. + (mips_output_function_epilogue): Clear the SYMBOL_REF_FLAG of every + symbol in mips16_strings. Free the list. + (mips_encode_section_info): Keep track of local strings. - * protoize (abort): Correct volatile function declaration. +2002-10-01 Richard Sandiford -Sun Sep 5 18:23:09 1993 Doug Evans (dje@canuck.cygnus.com) + * config/mips/mips.md (bunge, bltgt, bungt): New define_expands. + (sordered_df, sordered_sf): Remove. + * config/mips/mips.c (get_float_compare_codes): New fn. + (gen_int_relational, gen_conditional_move): Use it. - * Makefile.in (USER_H): Add va-h8300.h. +2002-10-01 Richard Sandiford - * 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. + * config/mips/mips-protos.h (mips_emit_fcc_reload): Declare. + * config/mips/mips.h (PREDICATE_CODES): Add fcc_register_operand. + * config/mips/mips.c (fcc_register_operand): New function. + (mips_emit_fcc_reload): New function, extracted from reload_incc. + (override_options): Allow TFmode values in float registers + if ISA_HAS_8CC. + * cnfig/mips/mips.md (reload_incc): Change destination prediate + to fcc_register_operand. Remove misleading source constraint. + Use mips_emit_fcc_reload. + (reload_outcc): Duplicate reload_incc. -Sun Sep 5 16:00:47 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-09-30 Zack Weinberg - * function.c (assign_parms): When parm needs conversion on entry, - don't store it back in the slot where it was passed. + * gcc.c (validate_switches): Handle all new forms of spec + syntax introduced recently. Now returns a char *. + (validate_all_switches): Repetitive logic broken out to... + (validate_switches_from_spec): ...here. + * mklibgcc.in: Don't @-flag commands to generate .oS files. -Sun Sep 5 14:51:14 1993 Jim Wilson (wilson@sphagnum.cygnus.com) +2002-09-30 Ulrich Weigand - * c-decl.c (grokdeclarator): For PARM_DECLs, only call - c_build_type_variant is constp or volatilep is true. + * longlong.h: Partially synchronize with GMP-4.1 version: + Use i370 definitions also for s390. + Add generic definition of umul_ppmm in terms of smul_ppmm. + [s390] (umul_ppmm): Remove. + [s390] (smul_ppmm): Fix incorrect assembler constraints. + [s390] (smul_ppmm, sdiv_qrnnd): Rename __xx to __x. -Sun Sep 5 06:44:09 1993 David Edelsohn (edelsohn@npac.syr.edu) +2002-09-30 Bob Wilson - * rs6000.c: (print_operand): Convert fprintf of single letters - to putc and convert fprintf of constant strings to fputs. - Output '%u' operand as hexadecimal. + * config/xtensa/xtensa.h (REG_CLASS_NAMES, REG_CLASS_CONTENTS): + Add new RL_REGS register class. + (PREFERRED_RELOAD_CLASS, PREFERRED_OUTPUT_RELOAD_CLASS): + Call xtensa_preferred_reload_class for both input and output reloads. + * config/xtensa/xtensa.c (xtensa_regno_to_class): Use new RL_REGS class. + (xtensa_preferred_reload_class): Handle output reloads; use RL_REGS + instead of either AR_REGS or GR_REGS classes. + (xtensa_secondary_reload_class): Use new RL_REGS class. + * config/xtensa/xtensa-protos.h (xtensa_preferred_reload_class): Update. -Sat Sep 4 11:16:18 1993 Craig Burley (burley@gnu.ai.mit.edu) +2002-09-30 John David Anglin - * c-common.c (truthvalue_conversion): A complex value is nonzero - if either part is nonzero, not if both parts are nonzero. + * pa.c (hppa_encode_label): Don't drop '*' from function labels. + (pa_strip_name_encoding): Strip '@' and '*', in that order. + * pa.h (ASM_OUTPUT_LABELREF): Output user_label_prefix except when + there is a '*' prefix in NAME. -Fri Sep 3 19:02:41 1993 Paul Eggert (eggert@twinsun.com) +Mon Sep 30 21:33:23 CEST 2002 Jan Hubicka - * c-decl.c (build_enumerator): Apply default conversion to - constant-expression. + * reload.c (push_reload): Handle subregs and secondary memory. + * reload1.c (gen_reload): Likewise. -Fri Sep 3 18:03:47 1993 Chris Lang (chrisl@mirc00.ncms.org) + * jump.c (reg_or_subregno): New function. + * rtl.h (reg_or_subregno): Declare + * unroll.c (find_splittable_givs): Handle subregs. - * cccp.c (skip_if_group): Check for traditional mode when - skipping ahead to next #, ignore unless at beginning of line. +2002-09-30 Mark Mitchell -Fri Sep 3 18:00:15 1993 Michael Meissner (meissner@osf.org) + * store-layout.c (finish_record_layout): Add free_p parameter. + (layout_type): Pass it. + * tree.h (finish_record_layout): Update prototype. - * i386/osfrose.h, i386/osfelf.h (LINK_SPEC): Pass -v and -dn on to - the ELF linker, which now accepts these switches. +Mon Sep 30 14:57:18 CEST 2002 Jan Hubicka -Fri Sep 3 13:34:22 1993 Doug Evans (dje@cygnus.com) + * i386.h (TARGET_CPP_CPU_BUILTINS): Define __SSE_MATH__. - * i386/x-linux: Add -Iinclude to BOOT_CFLAGS. + * gcse.c (cprop_jump): Check that the register has not + been modified + (cprop_jump): Likewise. -Fri Sep 3 01:54:19 1993 Jeffrey A. Law (law@snake.cs.utah.edu) +2002-09-30 Richard Earnshaw - * pa.h (READONLY_DATA_ASM_OP): Define. - (READONLY_DATA_SECTION): Define. - (EXTRA_SECTIONS): Add in_readonly_data. - (EXTRA_SECTION_FUNCTIONS): Add readonly_data. + * arm.h (BASE_REG_CLASS): Always return LO_REGS for Thumb. + (MODE_BASE_REG_CLASS, case Thumb): Only return BASE_REGS if we know + that we have a SImode access, and only then if reload hasn't completed; + for all other cases, use LO_REGS. -Thu Sep 2 19:19:14 1993 Holger Teutsch (holger@hotbso.rhein-main.de) +2002-09-29 Kaveh R. Ghazi - * 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. + * openbsd.h: Fix typo in last change. -Thu Sep 2 17:47:57 1993 Doug Evans (dje@canuck.cygnus.com) +2002-09-29 Richard Henderson - * 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. + * real.c (real_from_string): Apply sign last. Tidy exponent handling. -Thu Sep 2 14:26:28 1993 Michael Meissner (meissner@osf.org) +2002-09-29 Richard Henderson - * 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. + PR c/8002 + * combine.c (force_to_mode): Handle FLOAT_MODE destinations + for CONST_INT. - * 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. +2002-09-29 David Edelsohn + * real.h (ibm_extended_format): Declare. + * real.c (encode_ibm_extended, decode_ibm_extended): New + functions. - * 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. +2002-09-29 Kaveh R. Ghazi + + * darwin-protos.h (darwin_asm_output_dwarf_delta): Prototype. + + * ia64.c (ia64_hpux_asm_file_end): Const-ify. + +2002-09-29 John David Anglin + + * expmed.c (extract_bit_field): Fix bit-field extraction from SUBREGs. + +2002-09-29 Kazu Hirata + + * builtins.def: Fix comment formatting. + * c-common.def: Likewise. + * cfgcleanup.c: Likewise. + * combine.c: Likewise. + * gengtype.c: Likewise. + * params.def: Likewise. + * predict.def: Likewise. + * rtl.def: Likewise. + * stab.def: Likewise. + * stor-layout.c: Likewise. + * tree.def: Likewise. + * config/darwin.c: Likewise. + * config/darwin.h: Likewise. + * config/dbxcoff.h: Likewise. + * config/elfos.h: Likewise. + * config/fp-bit.c: Likewise. + * config/freebsd-spec.h: Likewise. + * config/interix.h: Likewise. + * config/libgloss.h: Likewise. + * config/linux-aout.h: Likewise. + * config/linux.h: Likewise. + * config/lynx-ng.h: Likewise. + * config/lynx.h: Likewise. + * config/netbsd-aout.h: Likewise. + * config/netbsd.h: Likewise. + * config/netware.h: Likewise. + * config/psos.h: Likewise. + * config/ptx4.h: Likewise. + +2002-09-28 Kazu Hirata + + * ChangeLog.4: Fix typos. + * ChangeLog.6: Likewise. + * FSFChangeLog.10: Likewise. + * genattrtab.c: Fix comment typos. + * haifa-sched.c: Likewise. + * real.c: Likewise. + * tree.h: Likewise. + * config/arm/arm.c: Likewise. + * config/arm/crti.asm: Likewise. + * config/arm/crtn.asm: Likewise. + * config/frv/frv.c: Likewise. + * config/frv/frv.md: Likewise. + * config/h8300/h8300.md: Likewise. + * config/i386/rtemself.h: Likewise. + * config/ia64/unwind-ia64.c: Likewise. + * config/ip2k/ip2k.h: Likewise. + * config/m88k/m88k.c: Likewise. + * config/m88k/m88k.md: Likewise. + * config/mips/sr71k.md: Likewise. + * config/mmix/mmix.c: Likewise. + * config/rs6000/rs6000.c: Likewise. + * config/sh/sh.md: Likewise. + +2002-09-26 Theodore A. Roth + + * config/avr/avr.c: Eliminate use of _PC_ in pc relative insns. + * config/avr/avr.md: Ditto. + +2002-09-27 Alexander N. Kabaev + + PR preprocessor/8055 + * cppmacro.c (stringify_arg): Do not overflow the buffer + with the terminating NUL when the argument to be stringified + has no tokens. + +2002-09-27 Richard Henderson + + * unroll.c (simplify_cmp_and_jump_insns): New. + (unroll_loop): Use it. Use simplify_gen_foo+force_operand + instead of expand_simple_foo. + +2002-09-27 Richard Henderson + + PR optimization/7520 + * cfganal.c (flow_active_insn_p): New. + (forwarder_block_p): Use it. + +2002-09-27 Richard Henderson + + * emit-rtl.c (active_insn_p): Revert last change. + +2002-09-27 Jakub Jelinek + + * doc/extend.texi (tls_model): Document. + * varasm.c (decl_tls_model): New. + * c-common.c (handle_tls_model_attribute): New. + (c_common_attribute_table): Add tls_model. + * config/alpha/alpha.c (alpha_encode_section_info): Use + decl_tls_model. + * flags.h (enum tls_model, flag_tls_default): Move... + * tree.h (enum tls_model, flag_tls_default): ...here. + (decl_tls_model): New prototype. + * config/ia64/ia64.c (ia64_encode_section_info): Likewise. + * config/i386/i386.c (ix86_encode_section_info): Likewise. + * config/i386/i386.md (tls_global_dynamic, tls_local_dynamic_base): + Allow !flag_pic. + +2002-09-27 Kazu Hirata + + * LANGUAGES: Follow spelling conventions. + * rtl.def: Likewise. + * sbitmap.c: Likewise. + * sched-int.h: Likewise. + * sched-rgn.c: Likewise. + * sibcall.c: Likewise. + * simplify-rtx.c: Likewise. + * ssa.c: Likewise. + * stab.def: Likewise. + * stmt.c: Likewise. + * stor-layout.c: Likewise. + * target.h: Likewise. + * timevar.c: Likewise. + * toplev.c: Likewise. + * tree-dump.c: Likewise. + * tree-inline.c: Likewise. + * tree.c: Likewise. + * tree.def: Likewise. + * tree.h: Likewise. + * unroll.c: Likewise. + * varasm.c: Likewise. + * vmsdbgout.c: Likewise. + * treelang/treelang.texi: Likewise. + * treelang/treetree.c: Likewise. - * 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. +2002-09-27 Kazu Hirata - * Makefile.in (final.o): Final.c now includes tree.h. + * config/h8300/h8300.c (compute_saved_regs): Use a macro + instead of a hard register number. + (get_shift_alg): Use an enumerated type instead of numbers. + (h8300_shift_needs_scratch_p): Likewise. - * m68k/sun3.h (BLOCK_PROFILER_CODE): Move the sun3 specific basic - block profiling code here from libgcc2.c. +2002-09-26 Kazu Hirata -Wed Sep 1 19:00:06 1993 Jim Wilson (wilson@mole.gnu.ai.mit.edu) + * varasm.c (force_data_section): Remove. + (assemble_constant_align): Likewise. + * output.h: Remove corresponding prototypes. - * rs6000.md (truncdfsf2): Round to single instead of doing nothing. +2002-09-26 Roger Sayle - * jump.c (jump_optimize): When optimize conditional jump around - unconditional jump, handle case where prev_label can be zero. + * stmt.c (expand_exit_loop_if_false): Expand a simple conditional + jump, if the loop to exit is the top of the current nesting stack. - * c-decl.c (finish_decl): For static const variables, preserve - initializers instead of discarding them. +2002-09-26 Torbjorn Granlund -Wed Sep 1 18:43:01 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * libgcc2.c (fixunsdfdi, fixunssfdi): Rewrite, avoiding `long long' + arithmetic. - * reload.c (find_reloads): Bump REJECT for a hard register; just - not for a pseudo. +2002-09-26 David S. Miller - * rs6000.md: Clean up hex constants a bit in emitted insns. + PR optimization/7335 + * calls.c (emit_library_call_value_1): Passing args by reference + converts a CONST function into a PURE one. - * 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. +2002-09-26 David Edelsohn -Wed Sep 1 18:08:36 1993 Jim Wilson (wilson@cygnus.com) + * dbxout.c (FORCE_TEXT): Switch to current_function_decl, not + text_section. + * xcoffout.h (DBX_STATIC_BLOCK_START): Remove explicit change to + text section. + * config/rs6000/rs6000.c (rs6000_override_options): Allow + function-sections and data-sections functionality on AIX. - * reload.c (find_reloads_address_1): Handle SUBREGs same as REGs. +2002-09-26 David Edelsohn + Dale Johannesen -Wed Sep 1 18:03:45 1993 Mike Stump (mrs@mole.gnu.ai.mit.edu) + * config/rs6000/rs6000.c (rs6000_emit_move): Insert zero-extend + in RTL for sub-word loads from memory. - * collect2.c (is_ctor_dtor): Make sizeof argument match the - string. +2002-09-26 Richard Henderson -Wed Sep 1 15:01:48 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + PR c/7160 + * sched-deps.c (sched_analyze_insn): Make clobber insns depend + on call insns. - * Makefile.in (start.encap): Build g++ here also. +2002-09-26 Richard Henderson -Tue Aug 31 16:30:53 1993 Jim Wilson (wilson@cygnus.com) + * emit-rtl.c (const_double_htab_eq): Remove unused variable. - * 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. +2002-09-26 Chris Lattner - * reload.c (push_reload): Abort is secondary_reload wants same - class as an input reload. + * ssa.c (rename_insn_1): Handle RENAME_NO_RTX correctly when + handling undefined values. - * 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. +2002-09-26 Richard Henderson - * Makefile.in (xsys-protos.h): Use fixtmp.c not tmp.c, and delete - it afterwards. + PR opt/7520 + * emit-rtl.c (active_insn_p): Consider a clobber of the + function return value to be active even after reload. - * 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. +2002-09-27 Alan Modra -Tue Aug 31 06:35:37 1993 David Edelsohn (edelsohn@npac.syr.edu) + * doloop.c (doloop_modify_runtime ): Adjust + by absolute loop increment, not loop increment. - * 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. +2002-09-26 Kazu Hirata -Tue Aug 31 06:25:52 1993 Paul Eggert (eggert@twinsun.com) + * c-common.h: Follow spelling conventions. + * cpplex.c: Likewise. + * cpplib.h: Likewise. + * gthr-dce.h: Likewise. + * gthr-posix.h: Likewise. + * optabs.c: Likewise. + * output.h: Likewise. + * profile.c: Likewise. + * protoize.c: Likewise. + * ra-rewrite.c: Likewise. + * real.c: Likewise. + * recog.c: Likewise. + * reg-stack.c: Likewise. + * regclass.c: Likewise. + * regmove.c: Likewise. + * reload.c: Likewise. + * reload.h: Likewise. + * reload1.c: Likewise. + * reorg.c: Likewise. + * resource.c: Likewise. + * rtl.h: Likewise. + * rtlanal.c: Likewise. - * c-decl.c (struct c_function): Remove unneeded enum_next_value. - (push_c_function_context, pop_c_function_context): Don't save it. +2002-09-26 Steve Ellcey -Mon Aug 30 16:16:56 1993 Paul Eggert (eggert@twinsun.com) + * config/ia64/ia64.c (ia64_expand_load_address): Ensure correct mode + for symbol address. - * 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. +2002-09-24 Eric Christopher -Sun Aug 29 18:34:25 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * config/mips/elf.h: Add HANDLE_SYSV_PRAGMA. + * config/mips/elf64.h: Ditto. - * 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. +2002-09-24 Eric Christopher -Sat Aug 28 15:04:35 1993 Jim Wilson (wilson@cygnus.com) + * except.c (expand_builtin_extract_return_address): Handle case + where Pmode != ptr_mode. - * mips.h (SELECT_SECTION): Simplify sdata_section test. +2002-09-26 Steve Ellcey - * 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. + * config/ia64/hpux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): New - * 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'. +2002-09-26 Steve Ellcey -Fri Aug 27 15:43:19 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * config/ia64/hpux.h (TARGET_DEFAULT): Include TARGET_ILP32. - * 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. +2002-09-26 Igor Shevlyakov - * rs6000.h (LINK_SPEC): Add -bexport:/usr/lib/libg.exp when -g. + * combine.c (simplify_set): Don't call to force_to_mode if size + of integer type is larger than HOST_BITS_PER_WIDE_INT. -Fri Aug 27 13:17:28 1993 Jim Wilson (wilson@cygnus.com) +2002-09-26 Janis Johnson - * 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. + * Makefile.in (qmtest-g++): Fix file path. -Thu Aug 26 17:59:38 1993 Doug Evans (dje@cygnus.com) +2002-09-26 Ulrich Weigand - * gstdarg.h, gvarargs.h: Add support for H8/300H. - * va-h8300.h: New file. + * expr.c (expand_expr) [MINUS_EXPR]: Convert A - const to + A + (-const) on RTX level, even for unsigned types. -Thu Aug 26 15:15:27 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +2002-09-26 Ulrich Weigand - Cygnus<->FSF C++ front-end merge. - Wed Aug 25 17:55:58 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * reload.c (dup_replacements): New function. + (find_reloads): Use it to duplicate replacements at the top level + of match_dup operands. - * cp-class.c (alter_visibility): Properly grok protected visibility. +2002-09-26 Miles Bader - Wed Aug 25 12:55:17 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * v850.md ("length"): Change default value to 4. - * cp-typeck.c (c_sizeof): If we're given an OFFSET_TYPE, work with - the type it refers to. +2002-09-26 Kazu Hirata - * cp-decl.c (finish_function): Properly handle inline functions, - don't just call rest_of_compilation. + * ChangeLog.1: Follow spelling conventions. + * ChangeLog.4: Likewise. + * ChangeLog.6: Likewise. + * FSFChangeLog.11: Likewise. + * doc/cpp.texi: Likewise. + * doc/invoke.texi: Likewise. + * doc/tm.texi: Likewise. - * cp-decl2.c (flag_inline_debug): Deleted, never used. - (lang_f_options): Deleted -finline-debug. - * toplev.c (lang_options): Likewise. +2002-09-26 Nick Clifton - Tue Aug 24 16:06:23 1993 Mike Stump (mrs@poseidon.cygnus.com) + * config.gcc: Add x prefix to v850e case for handling + --with-cpu=v850e. - * cp-dem.c: Deleted. See demangler in the binutils distribution. +2002-09-25 Zack Weinberg - Tue Aug 24 14:24:34 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * gcc.c (input_suffix_matches, switch_matches, + mark_matching_switches, process_marked_switches, + process_brace_body): New functions - split from handle_braces. + (handle_braces): Rewrite; handle %{S:X;T:Y;:D} syntax; accept + and ignore whitespace in more places. + (specs documentation comment): Document %{S:X;T:Y;:D}. + Clarify other %{...} docs. + * doc/invoke.texi: Document %{S:X;T:Y;:D}. Clarify other + %{...} docs. - * cp-decl.c (start_function): Don't get ready to complain about a - built-in C-linkage function against a C++-linkage function. + * config/arm/aof.h (LINK_SPEC): Change %{ov*,*} to %{ov*}. + * config/rs6000/sysv4.h: Use N-way choice spec syntax. - Tue Aug 24 13:54:43 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) +2002-09-25 David S. Miller - * g++.c: also include + PR target/7842 + * config/sparc/sparc.c (set_extends): SImode ASHIFT does not + extend. - Tue Aug 24 05:39:57 1993 Michael Tiemann (tiemann@blues.cygnus.com) +2002-09-25 Richard Henderson - * 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. + * emit-rtl.c (const_double_htab_eq): Distinguish integer and + fp CONST_DOUBLE; use real_identical. - Mon Aug 23 14:04:34 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +2002-09-25 Mark Mitchell - * cp-parse.y (datadef): Disallow forward declaration of an enum. + * doc/invoke.texi: Add more -Wabi examples. - * 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. +2002-09-25 Richard Sandiford - * cp-decl.c (start_function): Don't error out if it's a static - function; don't return 0, which can cause other problems. + * config/mips/mips.h (TARGET_MIPS4100): Add missing bracket. - Sun Aug 22 18:00:57 1993 Michael Tiemann (tiemann@blues.cygnus.com) +2002-09-24 Nathan Sidwell - * 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. + * profile.c (end_branch_prob): Only look for __gcov_init on + weak-enabled native compilers. - Sun Aug 22 13:31:44 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +2002-09-24 Denis Chertykov - 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. + * config/ip2k/ip2k.c (function_epilogue): Fix wrong numbers in + cases of optimizing "add sp,w" to "inc sp". - * cp-init.c (build_new): Don't clear LOOKUP_COMPLAIN on flags, since - we need to honor the visibility of what we find. +2002-09-24 Adam Nemet - Sat Aug 21 12:07:26 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * config/arm/arm.c (thumb_unexpanded_epilogue): Don't generate + epilogue for naked functions. - * 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. +2002-09-24 Adam Nemet + Nick Clifton - * 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. + * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Remove. + (FUNCTION_PROFILER): Only invoke THUMB_FUNCTION_PROFILER if it + is defined. - Thu Aug 19 18:24:25 1993 Mike Stump (mrs@cygnus.com) +2002-09-24 Ulrich Weigand - * 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++. + * config/s390/s390.c (preferred_la_operand_p): New function. + * config/s390/s390-protos.h (preferred_la_operand_p): Declare it. + * config/s390/s390.md ("addaddr_esame", "*la_ccclobber"): Replace by ... + ("*la_64_cc", "*la_31_cc", splitters): ... these. + ("*la_31"): Deactivate for TARGET_64BIT. + ("*la_31_and", "*la_31_and_cc"): New. + +2002-09-24 Kaveh R. Ghazi + + * real.h (real_value): Make `exp' explicitly signed. + +2002-09-24 Kazu Hirata + + * config/elfos.h: Follow spelling conventions. + * config/alpha/alpha.h: Likewise. + * config/arc/arc.h: Likewise. + * config/arm/arm.md: Likewise. + * config/avr/avr.h: Likewise. + * config/cris/cris.md: Likewise. + * config/d30v/d30v.h: Likewise. + * config/frv/frv.c: Likewise. + * config/frv/frv.h: Likewise. + * config/h8300/h8300.c: Likewise. + * config/h8300/h8300.h: Likewise. + * config/h8300/h8300.md: Likewise. + * config/i386/cygwin.h: Likewise. + * config/i386/i386.h: Likewise. + * config/i386/sysv3.h: Likewise. + * config/i960/i960.h: Likewise. + * config/ia64/ia64.h: Likewise. + * config/ia64/ia64.md: Likewise. + * config/ip2k/ip2k.h: Likewise. + * config/m32r/m32r.h: Likewise. + * config/m68k/m68k.h: Likewise. + * config/m88k/m88k.h: Likewise. + * config/mcore/mcore.c: Likewise. + * config/mcore/mcore.h: Likewise. + * config/mcore/mcore.md: Likewise. + * config/mips/mips.h: Likewise. + * config/mmix/mmix.h: Likewise. + * config/mmix/mmix.md: Likewise. + * config/ns32k/netbsd.h: Likewise. + * config/ns32k/ns32k.h: Likewise. + * config/ns32k/ns32k.md: Likewise. + * config/pa/pa.h: Likewise. + * config/romp/romp.h: Likewise. + * config/rs6000/rs6000.h: Likewise. + * config/rs6000/rs6000.md: Likewise. + * config/sparc/sparc.h: Likewise. + * config/stormy16/stormy-abi: Likewise. + * config/stormy16/stormy16.h: Likewise. + * config/vax/vax.h: Likewise. + +2002-09-23 Kazu Hirata + + * config/alpha/alpha.h: Remove commented-out macro + definitions of HAVE_{POST|PRE}_{INC|DEC}REMENT. + * config/avr/avr.h: Likewise. + * config/d30v/d30v.h: Likewise. + * config/dsp16xx/dsp16xx.h: Likewise. + * config/i370/i370.h: Likewise. + * config/i386/i386.h: Likewise. + * config/i960/i960.h: Likewise. + * config/m68k/m68k.h: Likewise. + * config/m88k/m88k.h: Likewise. + * config/mips/mips.h: Likewise. + * config/ns32k/ns32k.h: Likewise. + * config/pdp11/pdp11.h: Likewise. + * config/romp/romp.h: Likewise. + * config/rs6000/rs6000.h: Likewise. + * config/s390/s390.h: Likewise. + * config/sh/sh.h: Likewise. + * config/sparc/sparc.h: Likewise. + * config/stormy16/stormy16.h: Likewise. + * config/vax/vax.h: Likewise. + +2002-09-23 Kazu Hirata + + * function.c (push_temp_slots_for_block): Remove. + (push_temp_slots_for_target): Likewise. + (get_target_temp_slot_level): Likewise. + (set_target_temp_slot_level): Likewise. + (get_first_block_beg): Likewise. + * function.h: Remove corresponding prototypes. + +2002-09-23 Zack Weinberg + + * version.c (version_string): Now const char[]. + * version.h: Update to match. + +2002-09-23 Richard Henderson + + * config/i386/i386.h (MASK_ACCUMULATE_OUTGOING_ARGS_SET, MASK_MMX_SET, + MASK_SSE_SET, MASK_SSE2_SET, MASK_3DNOW_SET, MASK_3DNOW_A_SET): Kill. + (TARGET_SWITCHES): Don't reference them. + * config/i386/i386.c (override_options): Use target_flags_explicit + to examine bits set by the user. + +2002-09-23 Dale Johannesen + + * dbxout.c (dbxout_parms): Set current_sym_code for params + passed on stack by invisible reference. + +2002-09-23 Richard Earnshaw + + * arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Always allocate + at least one byte of space. + +2002-09-23 Mark Mitchell + + * c-common.h (flag_abi_version): Fix typo in comment. + * doc/invoke.texi (flag_abi_version): Document default value. + +2002-09-23 Hans-Peter Nilsson + + * doc/extend.texi (Extended Asm): Clarify that overlap between + asm-declared register variables used in an asm and the asm clobber + list is not allowed. + * stmt.c (decl_conflicts_with_clobbers_p): New function. + (expand_asm_operands): Keep track of clobbered registers. Call + decl_conflicts_with_clobbers_p for each input and output operand. + If no conflicts found before, also do conflict sanity check when + emitting clobbers. + +2002-09-23 Richard Henderson + + * c-common.c (cpp_define_data_format): Remove. + (cb_register_builtins): Don't define __WCHAR_BIT__, __SHRT_BIT__, + __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__, + __DOUBLE_BIT__, __LONG_DOUBLE_BIT__. + * doc/cpp.texi: Don't document them either. + (__SCHAR_MAX__, __SHRT_MAX__, __INT_MAX__, __LONG_MAX__, + __LONG_LONG_MAX__): Document. + (__TARGET_FLOAT_FORMAT__): Remove. + +2002-09-23 Richard Henderson + + * real.c (do_multiply): Normalize U before addition. + +2002-09-23 Mark Mitchell + + * c-common.c (flag_abi_version): New variable. + * c-common.h (flag_abi_version): Declare it. + * c-opts.c (missing_arg): Add -fabi-version. + (c_common_decode_option): Process -fabi-version. + * doc/invoke.texi (-fabi-version): Document it. + (-Wabi): Add information about bit-fields in unions. + +2002-09-22 Roger Sayle + + * expr.c (STORE_BY_PIECES_P): New target macro. + (can_store_by_pieces, store_by_pieces): Use STORE_BY_PIECES_P + instead of MOVE_BY_PIECES_P. + * doc/tm.texi: Document this new macro. + +2002-09-22 Jason Thorpe + + * config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Always pass -KPIC + unless -fno-pic or -fno-PIC is specified. + +2002-09-22 John David Anglin + + * c-common.c (preprocessing_trad_p): Define. + * pa-hiux.h, pa-hpux.h, pa-hpux7.h (CPP_PREDEFINES): Delete. + (TARGET_OS_CPP_BUILTINS, SUBTARGET_SWITCHES): Define. + * pa-hpux10.h (TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define. + * pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define. + * pa-linux.h (CPP_PREDEFINES): Delete. + (TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define. + * pa32-linux.h, pa64-linux.h (CPP_SPEC): Delete. + * pa-osf.h, pa-pro-end.h, rtems.h (CPP_PREDEFINES): Delete. + (TARGET_OS_CPP_BUILTINS): Define. + * pa.h (MASK_SIO, TARGET_SIO, TARGET_PA_10): Define. + (TARGET_SWITCHES): Reformat. Use N_() macro. Add SUBTARGET_SWITCHES. + (SUBTARGET_SWITCHES): Provide default definition. + (TARGET_OPTIONS): Reformat. Use N_() macro. + (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC, CPP_64BIT_SPEC, + CPP_CPU_DEFAULT_SPEC, CPP_64BIT_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, + EXTRA_SPECS, CPP_SPEC, CPLUSPLUS_CPP_SPEC, CPP_PREDEFINES): Delete. + (TARGET_CPU_CPP_BUILTINS): Define. + (TARGET_OS_CPP_BUILTINS): Define for BSD-like systems. + * doc/invoke.texi (msio, mwsio): Document new hppa options. + * doc/tm.texi (TARGET_CPU_CPP_BUILTINS): Document macro + preprocessing_trad_p(). + +2002-09-22 Jason Thorpe + + * doc/install.texi: Document behavior of --with-headers and + --with-libs when arguments are omitted. + +2002-09-22 Kazu Hirata + + * dbxout.c: Follow spelling conventions. + * defaults.h: Likewise. + * df.c: Likewise. + * diagnostic.h: Likewise. + * doloop.c: Likewise. + * dwarf2out.c: Likewise. + * dwarfout.c: Likewise. + * emit-rtl.c: Likewise. + * except.c: Likewise. + * explow.c: Likewise. + * expmed.c: Likewise. + * expr.c: Likewise. + * expr.h: Likewise. + * flags.h: Likewise. + * flow.c: Likewise. + * fold-const.c: Likewise. + * function.c: Likewise. + * function.h: Likewise. + * gcc.c: Likewise. + * gcov-io.h: Likewise. + * gcov.c: Likewise. + * gcse.c: Likewise. + * genattrtab.c: Likewise. + * genconfig.c: Likewise. + * genrecog.c: Likewise. + * ggc-page.c: Likewise. + * ggc.h: Likewise. + * global.c: Likewise. + * gthr-win32.h: Likewise. + * integrate.c: Likewise. + * jump.c: Likewise. + * langhooks.c: Likewise. + * langhooks.h: Likewise. + * line-map.h: Likewise. + * local-alloc.c: Likewise. + * longlong.h: Likewise. + * loop.c: Likewise. + * loop.h: Likewise. + +Tue Aug 27 22:26:35 CEST 2002 Jan Hubicka + + * i386.h (BIGGEST_FIELD_ALIGNMENT): Set proper default for x86_64. + +Tue Aug 27 20:07:01 CEST 2002 Jan Hubicka + + * i386.c (overwrite_options): Set -mpreferred-stack-boundary to 128 + for -Os/TARGET_64BIT too. + +2002-09-21 Kazu Hirata + + * ChangeLog: Follow spelling conventions. + * ChangeLog.0: Likewise. + * ChangeLog.1: Likewise. + * ChangeLog.2: Likewise. + * ChangeLog.3: Likewise. + * ChangeLog.4: Likewise. + * ChangeLog.5: Likewise. + * ChangeLog.6: Likewise. + * FSFChangeLog.10: Likewise. + * FSFChangeLog.11: Likewise. + * alias.c: Likewise. + * basic-block.h: Likewise. + * c-aux-info.c: Likewise. + * c-common.c: Likewise. + * c-common.h: Likewise. + * c-decl.c: Likewise. + * c-format.c: Likewise. + * c-semantics.c: Likewise. + * c-typeck.c: Likewise. + * calls.c: Likewise. + * cfganal.c: Likewise. + * cfgloop.c: Likewise. + * collect2.c: Likewise. + * combine.c: Likewise. + * conflict.c: Likewise. + * cppexp.c: Likewise. + * cppfiles.c: Likewise. + * cpphash.h: Likewise. + * cppinit.c: Likewise. + * cpplex.c: Likewise. + * cpplib.c: Likewise. + * cpplib.h: Likewise. + * cppmacro.c: Likewise. + * cse.c: Likewise. + +2002-09-21 Richard Earnshaw + + * netbsd-aout.h (NETBSD_LINK_SPEC_AOUT): New, takes old definition of + LINK_SPEC. + (LINK_SPEC): Define to NETBSD_LINK_SPEC_AOUT. + * arm/netbsd.h (SUBTARGET_EXTRA_SEPCS): Add NETBSD_LINK_SPEC_AOUT. + (LINK_SPEC): Rework to use NETBSD_LINK_SPEC_AOUT). + +2002-09-21 Richard Earnshaw + + PR opt/7930 + * cse.c (fold_rtx): Calculate old_cost before we fold each + operand. + +2002-09-21 Richard Henderson + + * c-common.c (cpp_define_data_format): Remove __GCC_LITTLE_ENDIAN__, + __GCC_BIG_ENDIAN__, __TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__, + __TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__, + __TARGET_USES_VAX_F_FLOAT__, __TARGET_USES_VAX_D_FLOAT__, + __TARGET_USES_VAX_G_FLOAT__, __TARGET_USES_VAX_H_FLOAT__. + * doc/cpp.texi: Don't document them. + +2002-09-21 Richard Henderson + + * c-common.c (builtin_define_float_constants): Use real_format + to get the floating-point parameters. + +2002-09-21 Richard Henderson + + * real.c (struct real_format): Move to real.h. + (real_format_for_mode): Rename from fmt_for_mode; update all users; + initialize with ieee defaults. + (real_to_target_fmt, real_from_target_fmt): New. + (ieee_single_format, ieee_double_format, ieee_extended_motorola_format, + ieee_extended_intel_96_format, ieee_extended_intel_128_format, + ieee_quad_format, i370_single_format, i370_double_format, + c4x_single_format, c4x_extended_format): Rename from s/_format//. + (ieee_quad_format): Fix emin. + (format_for_size, init_real_once): Remove. + * real.h (struct real_format): Move from real.c. + (real_format_for_mode): Declare. + (real_to_target_fmt, real_from_target_fmt): Declare. + (ieee_single_format, ieee_double_format, ieee_extended_motorola_format, + ieee_extended_intel_96_format, ieee_extended_intel_128_format, + ieee_quad_format, vax_f_format, vax_d_format, vax_g_format, + i370_single_format, i370_double_format, c4x_single_format, + c4x_extended_format): Declare. + * toplev.c (do_compile): Don't call init_real_once. + + * defaults.h (INTEL_EXTENDED_IEEE_FORMAT): Remove. + * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Remove. + + * config/alpha/alpha.h (TARGET_FLOAT_FORMAT): Define. + * config/alpha/osf5.h (LONG_DOUBLE_TYPE_SIZE): 64, if vax mode. + * config/alpha/alpha.c (override_options): Set real_format_for_mode + for VAX, if enabled. + + * config/c4x/c4x.c (c4x_override_options): Set real_format_for_mode + for C4X. + + * config/i370/i370.h (OVERRIDE_OPTIONS): New. + * config/i370/i370.c (override_options): New. + * config/i370/i370-protos.h: Update. + + * config/i386/i386.c (override_options): Set real_format_for_mode + for Intel 80-bit extended. + * config/i386/i386.h (INTEL_EXTENDED_IEEE_FORMAT): Remove. + + * config/i960/i960.h (LONG_DOUBLE_TYPE_SIZE): Mind -mlong-double-64. + (OVERRIDE_OPTIONS): Move code... + * config/i960/i960.c (i960_initialize): ... here. Set + real_format_for_mode for Intel 80-bit extended. + + * config/ia64/ia64.c (ia64_override_options): Set real_format_for_mode + for Intel 80-bit extended, if enabled. + + * config/m68k/m68k.c (override_options): Set real_format_for_mode + for Motorola 96-bit extended. + + * config/vax/vax.h (OVERRIDE_OPTIONS): New. + * config/vax/vax.c (override_options): New. + * config/vax/vax-protos.h: Update. + +2002-09-21 Alan Modra + + * config/rs6000/rs6000.md (builtin_setjmp_receiver): Add + #if TARGET_MACHO. + + * config/rs6000/rs6000.md (floatdisf2_internal2): Combine + insns. Supply missing clobber of scratch reg. + +2002-09-20 Kazu Hirata + + * config/m32r/m32r.c: Follow spelling conventions. + * config/m32r/m32r.h: Likewise. + * config/m32r/m32r.md: Likewise. + * config/m68k/m68k.c: Likewise. + * config/m88k/m88k.c: Likewise. + * config/mcore/mcore.c: Likewise. + * config/mips/mips.c: Likewise. + * config/mips/mips.h: Likewise. + * config/mmix/mmix.c: Likewise. + * config/mn10200/mn10200.c: Likewise. + * config/ns32k/ns32k.h: Likewise. + * config/pa/pa.c: Likewise. + * config/pa/pa64-linux.h: Likewise. + * config/pdp11/pdp11.h: Likewise. + * config/romp/romp.c: Likewise. + * config/romp/romp.h: Likewise. + * config/rs6000/eabi.asm: Likewise. + * config/rs6000/linux64.h: Likewise. + * config/rs6000/rs6000.c: Likewise. + * config/rs6000/rs6000.h: Likewise. + * config/rs6000/rs6000.md: Likewise. + * config/rs6000/sysv4.h: Likewise. + * config/rs6000/xcoff.h: Likewise. + +2002-09-20 Jim Wilson + + * config/v850/v850/lib1funcs.asm (__muldi3): Change r5 to r28. + +2002-09-20 Jakub Jelinek + + * config/i386/i386.md (UNSPEC_GOTNTPOFF, UNSPEC_INDNTPOFF): New. + * config/i386/i386.c (legitimate_pic_address_disp_p): Handle + UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF like UNSPEC_GOTTPOFF. + (legitimate_address_p): Likewise. + (legitimize_address): Use @gotntpoff and @indntpoff. + (output_pic_addr_const): Handle UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF. + (output_addr_const_extra): Likewise. + +2002-09-20 Jim Wilson + + * combine.c (try_combine): When split an instruction pair, where the + first has a sign_extend src, verify that the src and dest modes match. + +2002-09-20 Richard Henderson + + * config/mips/mips.c (dfhigh, dflow, sfhigh, sflow): Remove. + (override_options): Do not initialize them. + (mips_const_double_ok): Allow no fp constants except zero, + and not even that for mips16. + (const_float_1_operand): Use dconst1. + * config/mips/mips.md (movsf, movsf_internal1, movsf_internal2, + movdf, movdf_internal1, movdf_internal1a, movdf_internal2): + Don't allow arbitrary constants; fix predicates and C constraint. + +2002-09-20 Neil Booth + + * cppmacro.c: Don't warn about function-like macros without + '(' during pre-expansion. + +2002-09-20 Jim Wilson + + * config/v850/v850.c (current_function_anonymous_args): Delete. + (expand_prologue): Use current_function_args_info.anonymous_args. + (expand_epilogue): Delete use of current_function_anonymous_args. + * config/v850/v850.h (struct cum_arg): Add anonymous_args field. + (INIT_CUMULATIVE_ARGS): Clear anonymous_args field. + (current_function_anonymous_args): Delete extern declaration. + (SETUP_INCOMING_VARARGS): Set anonymous_args field. + +2002-09-20 Geoffrey Keating + + * config/rs6000/rs6000.c (rs6000_emit_prologue): Update for change + to load_macho_picbase. + * config/rs6000/rs6000.md: Document Darwin-specific unspec IDs. + (load_macho_picbase): Take the symbol to use as a parameter. + (macho_correct_pic): New insn. + (builtin_setjmp_reciever): On Darwin, restore the PIC register. + + * config/rs6000/rs6000.h (ELIMINABLE_REGS): Use + RS6000_PIC_OFFSET_TABLE_REGNUM rather than hardcoding 30. + (CAN_ELIMINATE): Likewise. + (INITIAL_ELIMINATION_OFFSET): Likewise. + (TOC_REGISTER): Likewise. + +2002-09-20 Richard Henderson + + * real.c (real_hash): New. + * real.h: Declare it. + * cse.c (canon_hash): Use it. + * cselib.c (hash_rtx): Likewise. + * emit-rtl.c (const_double_htab_hash): Likewise. + * rtl.h (CONST_DOUBLE_REAL_VALUE): New. + * varasm.c (struct rtx_const): Reduce vector size; separate + integer and fp vectors. + (HASHBITS): Remove. + (const_hash_1): Rename from const_hash. Use real_hash. Do not + take modulus MAX_HASH_TABLE. + (const_hash): New. Do take modulus MAX_HASH_TABLE. + (output_constant_def): Do not take modulus MAX_HASH_TABLE. + (SYMHASH): Don't use HASHBITS. + (decode_rtx_const): Copy only active bits from REAL_VALUE_TYPE. + Fix CONST_VECTOR thinko wrt fp vectors. Fix kind comparison. + (simplify_subtraction): Fix kind comparison. + (const_hash_rtx): Return unsigned int. Don't use HASHBITS. + Use a union to pun integer array. + * config/rs6000/rs6000.c (rs6000_hash_constant): Use real_hash; + only hash two words of integral CONST_DOUBLE. + +2002-09-20 Steve Ellcey + + * config/ia64/hpux.h (STARTFILE_SPEC): Modify. + (STARTFILE_PREFIX_SPEC): New. + (LINK_SPEC): Modify. + (LIB_SPEC): Modify. + (LIBGCC_SPEC): New. + +2002-09-20 Jakub Jelinek + + * config/i386/i386.c (legitimate_pic_address_disp_p): Allow + UNSPEC_NTPOFF and UNSPEC_DTPOFF to be offsetted by constant. + +2002-09-20 Jeroen Dobbelaere + + * config/arm/arm.md (sign_extract_onebit, not_signextract_onebit): + Add clobber of the condition code register. + +2002-09-20 Richard Henderson + + * real.c (do_fix_trunc): Static. + (encode_ieee_single, encode_ieee_double, encode_ieee_extended, + encode_ieee_quad, encode_vax_f, encode_vax_d, encode_vax_g, + encode_i370_single, encode_i370_double, encode_c4x_single, + encode_c4x_extended): Add default abort case. + +2002-09-20 Richard Henderson + + * real.h (enum real_value_class, SIGNIFICAND_BITS, EXP_BITS, + MAX_EXP, SIGSZ, SIG_MSB, struct real_value): Move from real.c. + (struct realvaluetype): Remove. + (REAL_VALUE_TYPE): Use struct real_value. + (REAL_VALUE_TYPE_SIZE): Use SIGNIFICAND_BITS. + (test_real_width): New. + * real.c: Global replace struct real_value with REAL_VALUE_TYPE. + (real_arithmetic): Avoid hoops for REAL_VALUE_TYPE parameters. + (real_compare, real_exponent, real_ldexp, real_isinf, real_isnan, + real_isneg, real_isnegzero, real_identical, exact_real_inverse, + real_to_integer, real_to_integer2, real_to_decimal, + real_to_hexadecimal, real_from_string, real_from_integer, + real_inf, real_nan, real_2expN, real_convert, real_to_target, + real_from_target): Likewise. + * tree.h (struct tree_real_cst): Use real_value not realvaluetype. + * gengtype-yacc.y (bitfieldopt): Accept an ID as well. + +2002-09-20 Richard Henderson + + * real.h (UNKNOWN_FLOAT_FORMAT, IEEE_FLOAT_FORMAT, VAX_FLOAT_FORMAT, + IBM_FLOAT_FORMAT, C4X_FLOAT_FORMAT, TARGET_FLOAT_FORMAT): Move ... + * defaults.h: ... here. + * config/arm/arm.h, config/avr/avr.h, config/d30v/d30v.h, + config/fr30/fr30.h, config/frv/frv.h, config/ia64/ia64.h, + config/ip2k/ip2k.h, config/mips/mips.h, config/stormy16/stormy16.h, + config/xtensa/xtensa.h (TARGET_FLOAT_FORMAT): Remove. + +2002-09-20 Hans-Peter Nilsson + + * config/mmix/mmix.md ("negdf2"): Rewrite. + ("*expanded_negdf2"): New. + +2002-09-19 Jim Wilson + + * combine.c (simplify_set): When optimizing a subreg src with a + cc0 dest, use GET_MODE (src) for mask instead of inner_mode. + +2002-09-19 Dale Johannesen + * combine.c (make_extraction): Don't create + invalid subreg. + +2002-09-19 Roger Sayle + + * tree.c (integer_nonzerop): New predicate for nonzero integers. + * tree.h (integer_nonzerop): Add function prototype. + * stmt.c (expand_end_loop): Don't rotate the loop when there + are no instructions in the test, i.e. the loop is unconditional. + (expand_exit_loop_if_false): Optimize RTL generation of loop + tests when the condition is always true or always false. + * c-semantics.c (genrtl_do_stmt): Optimize RTL generation of + do-loops when the condition is always true. + (genrtl_for_stmt): Optimize RTL generation of for-loops when + the for-expression is empty. + +2002-09-19 Zack Weinberg + + * gcc.c (use_pipes): New flag. + (process_command): Set it. Adjust check for -pipe conflicting + with -time or -save-temps. + (do_spec_1): Use it. Handle %|SUFFIX, %mSUFFIX, and + % + + * config/s390/s390.c (addr_generation_dependency_p): Handle SUBREG + and STRICT_LOW_PART within SET_DEST. + * config/s390/s390.md ("*extractqi", "*extracthi"): New insns with + splitters, replacing pre-reload splitters. + ("*zero_extendhisi2_31", "*zero_extendqisi2_31", + "*zero_extendqihi2_31"): New insns. + ("*zero_extendqihi2_64"): Do not clobber CC. + +2002-09-18 Devang Patel + + * cp/cp-tree.h: New prototype for walk_vtables(). + * cp/decl.c (walk_vtables_r): New function. + (struct cp_binding_level): Add new members, namespaces, + names_size and vtables. + (add_decl_to_level): Add decl in namespaces or vtables + chain, if conditions match. + (walk_vtables): New function. + (walk_namespaces_r): Travers separate namespace chain + for namespace decls. + (wrapup_globals_for_namespace): Use names_size instead + of list_length(). + * cp/decl2.c (finish_file): Use walk_vtables() instead of + walk_globals() to walk vtable decls. + +2002-09-19 Steve Ellcey + + * config/ia64/hpux.h (CTORS_SECTION_ASM_OP): New. + (DTORS_SECTION_ASM_OP): Ditto. + (READONLY_DATA_SECTION_ASM_OP): Moved. + (DATA_SECTION_ASM_OP): New. + (SDATA_SECTION_ASM_OP): New. + (BSS_SECTION_ASM_OP): New. + (SBSS_SECTION_ASM_OP): New. + (TEXT_SECTION_ASM_OP): New. + +2002-09-19 Kazu Hirata + + * config/fp-bit.c: Follow spelling conventions. + * config/d30v/d30v.c: Likewise. + * config/d30v/d30v.h: Likewise. + * config/fr30/fr30.c: Likewise. + * config/fr30/fr30.h: Likewise. + * config/fr30/fr30.md: Likewise. + * config/frv/frv.c: Likewise. + * config/frv/frv.h: Likewise. + * config/h8300/h8300.c: Likewise. + * config/h8300/lib1funcs.asm: Likewise. + * config/i370/i370.c: Likewise. + * config/i386/i386.h: Likewise. + * config/i386/i386.md: Likewise. + * config/i386/pentium.md: Likewise. + * config/i386/winnt.c: Likewise. + * config/i960/i960.c: Likewise. + * config/ia64/ia64.h: Likewise. + * config/ip2k/ip2k.c: Likewise. + * config/ip2k/ip2k.h: Likewise. + * config/ip2k/ip2k.md: Likewise. + * config/ip2k/libgcc.S: Likewise. + +2002-09-19 Stephen Clarke + + * config/sh/sh.h (UNSPEC_GOTOFF_P): Define. + (GOTOFF_P): Extend to allow gotoff plus constant. + +2002-09-18 Richard Henderson + + * ifcvt.c (noce_process_if_block): Correctly detect X modified + with INSN_B before COND_EARLIEST. Don't check A and B for + modification in condition range. Reorder INSN_B for A==B properly. + (if_convert): Iterate until no matches for a block. + +2002-09-18 Richard Henderson + + * calls.c (store_one_arg): Rename default_align to parm_align; + always adjust parm_align for downward padding. + +2002-09-18 Richard Henderson + + * toplev.c (backend_init): Move init_real_once invocation ... + (do_compile): ... here. + +2002-09-18 Richard Henderson + + * sibcall.c (optimize_sibling_and_tail_recursive_call): Also remove + RTX_UNCHANGING_P markers for successful tail-recursive replacement. - Thu Aug 19 12:21:12 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +2002-09-18 Richard Henderson + + * real.c (round_for_format): Collect sticky as unsigned long, not bool. - * cp-typeck.c (build_x_unary_op): When we receive an OFFSET_REF, - resolve it before looking for a way to handle the operation. +2002-09-19 Alan Modra + + * config/rs6000/rs6000.md: (floatdisf2): Rename to + floatdisf2_internal1. + (floatdisf2): New define_expand. + (floatdisf2_internal2): Likewise. - * cp-method.c: Include ctype.h. +2002-09-18 Richard Henderson + + * real.c (sticky_rshift_significand): Collect sticky as + unsigned long, not bool. + +2002-09-18 Ulrich Weigand + + * config/s390/s390.c (s390_address_cost): New function. + config/s390/s390-protos.h (s390_address_cost): Add prototype. + config/s390/s390.h (ADDRESS_COST): Call s390_address_cost. + (RTX_COST): Use COSTS_N_INSNS. - Thu Aug 19 12:00:08 1993 Mike Stump (mrs@cygnus.com) +2002-09-18 Douglas Rupp + Donn Terry + + * stor-layout.c (place_field): Handle alignment of whole + structures when MSVC compatible bitfields are involved. + Change method of computing location of MS bitfields to + be compatible with #pragma pack(n). - * 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. + * tree.h (record_layout_info): Add new field + remaining_in_alignment. - Thu Aug 19 00:41:55 1993 Mike Stump (mrs@cygnus.com) + * doc/tm.texi: (TARGET_MS_BITFIELD_LAYOUT_P): Update. + (pragma pack): Add paragraph on MSVC bitfield packing. - * cp-init.c (expand_aggr_init): Avoid faulting, give error instead. +2002-09-18 Richard Earnshaw (reanrsha@arm.com) - Wed Aug 18 22:43:25 1993 Mike Stump (mrs@cygnus.com) + PR optimization/7967 + * arm.md (ne_zeroextractsi): Add clobber of the condition code + register. - * 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. +2002-09-18 Kazu Hirata + + * config/s390/s390.c: Follow spelling conventions. + * config/sh/lib1funcs.asm: Likewise. + * config/sh/sh.c: Likewise. + * config/sh/sh.h: Likewise. + * config/sparc/sparc.c: Likewise. + * config/sparc/sparc.h: Likewise. + * config/sparc/sparc.md: Likewise. + * config/stormy16/stormy16.c: Likewise. + * config/stormy16/stormy16.h: Likewise. + * config/v850/v850.c: Likewise. + * config/v850/v850.h: Likewise. + * config/vax/vax.c: Likewise. + * config/vax/vax.h: Likewise. - * 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. +2002-09-18 Nick Clifton - * cp-tree.h (struct lang_type): Fill out type_flags to multiple of 4 - bytes for MIPS. + * config/rs60000/rs6000.c (rs6000_emit_move): Handle V1DImode moves. + * config/rs60000/rs6000.c (SPE_VECTOR_MODE): Include V1DImode. + * config/rs6000/spe.md (movv1di, movv1di_internal): New patterns. - Fri Aug 13 16:07:46 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +2002-09-17 Kazu Hirata - * cp-lex.c (DEBUG_DEFAULT_FUNCTIONS): Take out the #undef, so we can - use the command line to turn this on. + * function.c (max_parm_reg_num): Remove. + * stmt.c (in_control_zone_p, stmt_loop_nest_empty, + drop_through_at_end_p, move_cleanups_up, + expand_end_case_dummy, case_index_expr_type): Likewise. + * stor-layout.c (pos_from_byte): Likewise. + * tree.c (chain_member_value, chain_member_purpose, listify, + tree_int_cst_msb, index_type_equal): Likewise. + * tree.h: Remove prototypes for unused functions. - * cp-decl.c (grokdeclarator): Look for IDENTIFIER_TEMPLATE in the - name of current_class_type, not in current_class_type itself. +2002-09-17 Zack Weinberg - * 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. + * ABOUT-GCC-NLS: Remove reference to enquire, and out-of-date + statement that the only translation is to en_UK. - Fri Aug 13 12:26:41 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +2002-09-17 Kazu Hirata - * 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. + * config/alpha/alpha.c: Follow spelling conventions. + * config/alpha/alpha.h: Likewise. + * config/alpha/alpha.md: Likewise. + * config/arc/arc.h: Likewise. + * config/arm/arm.c: Likewise. + * config/arm/arm.h: Likewise. + * config/arm/arm.md: Likewise. + * config/arm/pe.c: Likewise. + * config/arm/unknown-elf.h: Likewise. + * config/avr/avr.c: Likewise. + * config/avr/avr.h: Likewise. + * config/c4x/c4x.c: Likewise. + * config/cris/cris.c: Likewise. + * config/cris/cris.h: Likewise. - * 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. +2002-09-17 Samuel Figueroa - Thu Aug 12 10:56:50 1993 Mike Stump (mrs@cygnus.com) + * final.c (final_scan_insn): Use new macro ASM_OUTPUT_ALIGN_WITH_NOP. + * config/sparc/sparc.h (ASM_OUTPUT_ALIGN_WITH_NOP) New macro. + * doc/tm.texi (ASM_OUTPUT_ALIGN_WITH_NOP) New description. - * cp-method.c (build_overload_name): Allow the debugger to - deterministically demangle names with more than 9 nested class - levels. +2002-09-17 Dale Johannesen - Thu Aug 12 00:46:54 1993 Mike Stump (mrs@cygnus.com) + * cfgcleanup.c (try_forward_edges): Do not forward a + branch to just after a loop exit before loop optimization; + this interfered with doloop detection. - * 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. +2002-09-17 Nick Clifton - Thu Aug 12 00:38:05 1993 Per Bothner (bothner@kalessin.cygnus.com) + * config/arm/arm.c (output_return_instruction): Do not + writeback the stack pointer when it is being loaded. + (arm_output_epilogue): Likewise. - * 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. - -Tue Aug 24 15:43:43 1993 Michael Meissner (meissner@osf.org) - - * 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. - -Tue Aug 24 14:04:11 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * pa.c (compute_frame_size): Always align stack to 64 byte - boundary. - - * pa.h (STACK_BOUNDARY): Stack pointer is 512 bit (64 byte) - aligned. - - * pa.c (output_call): Use ASM_OUTPUT_INTERNAL_LABEL instead of - output_asm_label. - -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) +2002-09-17 Kazu Hirata - * gcc.c (main): Correct August 6 change. + * optabs.c (prepare_cmp_insn): Let emit_library_call_value + generate a pseudo reg that receives the result of a libcall. + (prepare_float_lib_cmp): Likewise. -Thu Aug 19 19:19:19 1993 Jim Wilson (wilson@cygnus.com) +2002-09-17 Steve Ellcey - * combine.c (simplify_shift_const, XOR case): When applying - distributive law, use shift_mode and GET_MODE (varop) instead of - result_mode. + * config/ia64/elf.h: Remove CPP_PREDEFINES. -Thu Aug 19 08:28:50 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Tue Sep 17 13:58:04 2002 Nicola Pero - * rs6000.md (scc): Fix typo in scc with compare and set. + Fix PR/7014 and related objc bugs: + * c-typeck.c (comp_target_types): Added a reflexive argument. + Pass it to ObjC when/if calling objc_comptypes(). Updated all + callers to provide the appropriate reflexive argument. + * objc/objc-act.c (objc_comptypes): Carefully checked and fixed + typechecking for all cases of comparisons and assignments, + particularly the obscure and less common ones involving protocols. - * 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. +2002-09-17 Nick Clifton - * fold-const.c (fold): Handle EQ_EXPR and NE_EXPR where both - args are comparisons or BIT_AND_EXPR with constant 1. + * machmode.def (V1DImode): New mode. A single element vector. + * tree.h (TI_UV1DI_TYPE, TI_V1DI_TYPE): New tree_index enums. + (unsigned_V1DI_type_node, V1D1_type_node): New type nodes. + * tree.c (build_common_tree_nodes_2): Build + unsigned_V1DI_type_node and V1D1_type_node. + * c-common.c (c_common_type_for_mode): Return + unsigned_V1DI_type_node or V1D1_type_node for V1DImode. + * rtl.c (class_narrowest_): Start integer vector nodes with V1DImode. + +Tue Sep 17 13:40:13 2002 Nicola Pero + + * doc/objc.texi (Constant string objects): Extended documentation + to make clear that the constant string class ivar layout is + completely fixed. -Wed Aug 18 23:37:05 1993 Jim Wilson (wilson@cygnus.com) +2002-09-17 Roger Sayle - * mips.h (SELECT_SECTION): Put object in sdata only if size is - known, i.e. greater than 0. + * cfgrtl.c (flow_delete_block_noexpunge): Delete orphaned + NOTE_INSN_LOOP_CONT notes when deleting basic blocks. -Wed Aug 18 17:48:51 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +2002-09-16 Volker Reichelt - * 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. + * config/mips/mips.c (save_restore_insns): Remove unused variable. + * gcc.c (make_relative_prefix): Likewise. + * loop.c (check_final_value): Likewise. + * jump.c (init_label_info): Remove return value. + * cse.c (prev_insn): Move variable between #ifdef HAVE_cc0 ... #endif. - * 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. +2002-09-16 Kaveh R. Ghazi -Wed Aug 18 02:21:35 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * dsp16xx.h (ASM_FORMAT_PRIVATE_NAME): Delete. + (ASM_PN_FORMAT): Define. - * 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). +2002-09-16 Kaveh R. Ghazi - * 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. + * alpha.h, alpha/vms.h, arc.h, arm/aof.h, arm/aout.h, avr.h, + c4x.h, cris.h, d30v.h, fr30.h, frv.h, h8300.h, i370.h, i386.h, + i960.h, ia64.h, ip2k.h, m32r.h, m68hc11.h, m68k/3b1.h, + m68k/hp320.h, m68k.h, m68k/mot3300.h, m68k/sgs.h, m68k/tower-as.h, + m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, + pa.h, pdp11.h, romp.h, rs6000.h, s390/linux.h, sh.h, sparc.h, + stormy16.h, v850.h, vax.h, xtensa.h (ASM_FORMAT_PRIVATE_NAME): + Delete. + * alpha/vms.h, h8300.h, i370.h, ia64.h, m68k/3b1.h, m68k/hp320.h, + m68k/mot3300.h, m68k/sgs.h, m68k/tower-as.h, mmix.h, mn10200.h, + mn10300.h, pa.h, v850.h (ASM_PN_FORMAT): Define. + + * defaults.h (ASM_PN_FORMAT, ASM_FORMAT_PRIVATE_NAME): Define. + * doc/tm.texi (ASM_FORMAT_PRIVATE_NAME): Update documentation. + +2002-09-16 Richard Henderson + + * expr.c (emit_block_move): Set memory block size as appropriate + for the copy. + +2002-09-16 Richard Henderson + + PR fortran/3924 + * sdbout.c (sdbout_symbol): Don't handle offsets from a symbol. + +2002-09-16 Richard Henderson + + * emit-rtl.c (set_mem_attributes_minus_bitpos): Adjust SIZE + as well as OFFSET for BITPOS. + +2002-09-16 Jeff Garzik + + * config.gcc: Treat winchip_c6-*|winchip2-*|c3-* as pentium-mmx. + * config/i386/i386.c (processor_alias_table): Add winchip-c6, + winchip2 and c3. + * doc/invoke.texi: Mention new aliases. + +2002-09-16 John David Anglin + + * calls.c (store_one_arg): Set default alignment for BLKmode arguments + to BITS_PER_UNIT when ARGS_GROW_DOWNWARD and the padding direction is + downward. + * function.c (pad_below): Always compile. + (locate_and_pad_parm): If defined ARGS_GROW_DOWNWARD, pad argument to + alignment when it is not in a register or REG_PARM_STACK_SPACE is true. + Pad below when the argument is not in a register and the padding + direction is downward. + + * pa-64.h (MUST_PASS_IN_STACK): Move define to pa.h. + (PAD_VARARGS_DOWN): Define. + * pa.c (function_arg_padding): Revise padding directions to make them + compatible with the 32 and 64-bit runtime architecture documentation. + (hppa_va_arg): Add code to handle variable and size zero arguments + passed by reference on TARGET_64BIT. Reformat. + (function_arg): Use a PARALLEL for BLKmode and aggregates args on + TARGET_64BIT. Use a DImode PARALLEL for BLKmode args 5 to 8 bytes + wide when !TARGET_64BIT. Move forward check for mode==VOIDmode. + Add comments. + * pa.h (MAX_PARM_BOUNDARY): Correct define for TARGET_64BIT. + (RETURN_IN_MEMORY): Return size zero types in memory. + (FUNCTION_VALUE): Return TFmode in general registers. + (MUST_PASS_IN_STACK): Define. + (FUNCTION_ARG_BOUNDARY): Simplify. + (FUNCTION_ARG_PASS_BY_REFERENCE): Pass variable and zero sized types + by reference. + (FUNCTION_ARG_CALLEE_COPIES): Define to FUNCTION_ARG_PASS_BY_REFERENCE. + +2002-09-16 Richard Henderson + + * real.c (do_fix_trunc): New. + (real_arithmetic): Call it. + * simplify-rtx.c (simplify_unary_operation): Handle FIX + with a floating-point result mode. + +2002-09-16 Richard Henderson + + * builtin-types.def (BT_FN_FLOAT_CONST_STRING): New. + (BT_FN_DOUBLE_CONST_STRING, BT_FN_LONG_DOUBLE_CONST_STRING): New. + * builtins.def (__builtin_nan, __builtin_nanf, __builtin_nanl): New. + (__builtin_nans, __builtin_nansf, __builtin_nansl): New. + * builtins.c (fold_builtin_nan): New. + (fold_builtin): Call it. + * real.c (real_nan): Parse a non-empty string. + (round_for_format): Fix NaN significand truncation. + * real.h (real_nan): Return bool. + * doc/extend.texi: Document new builtins. + +2002-09-16 Jason Merrill + Danny Smith + + * config/i386/winnt.c (ix86_handle_dll_attribute): Set + DECL_EXTERN and TREE_PUBLIC for dllimported variables here... + (i386_pe_mark_dllimport): Not here. + +2002-09-16 Nathan Sidwell + + * c-semantics.c (genrtl_do_stmt): Cope with NULL cond. + +2002-09-16 Geoffrey Keating + + * config/rs6000/rs6000.c (build_mask64_2_operands): Suppress + warnings about unused operands when HOST_BITS_PER_WIDE_INT is + < 64. + (rs6000_emit_cmove): Use real_isinf not target_isinf. + +2002-09-16 Kazu Hirata + + * calls.c (emit_library_call_value_1): Don't refer to + hard_libcall_value. + * optabs.c (prepare_float_lib_cmp): Likewise. + +2002-09-16 Geoffrey Keating + + * ggc-common.c (ggc_mark_rtx_children_1): Update for changed name + mangling. + + The following changes are merged from pch-branch: + + * doc/gty.texi (GTY Options): Document %a. + * gengtype.c (do_scalar_typedef): New function. + (process_gc_options): Handle `length' option. + (set_gc_used_type): A pointer to an array of structures doesn't + qualify as a pointer to a structure. + (output_escaped_param): Add `%a' escape. + (write_gc_structure_fields): Allow 'desc' on array of unions. + (main): Define `uint8', `jword' and `JCF_u2' as scalars; use + do_scalar_typedef. + + * gengtype.c (enum rtx_code): Make global. + (rtx_format): Make global. + (rtx_next): New. + (gen_rtx_next): New. + (write_rtx_next): New. + (adjust_field_rtx_def): Skip fields marked by chain_next. + (open_base_files): Delete redundant prototype. + (write_enum_defn): New. + (output_mangled_typename): Correct abort call. + (write_gc_marker_routine_for_structure): Handle chain_next and + chain_prev options. + (finish_root_table): Don't output redundant \n. + (main): Call gen_rtx_next, write_rtx_next, write_enum_defn. + * c-tree.h (union lang_tree_node): Add chain_next option. + + * gengtype.h (NUM_PARAM): New definition. + (struct type): For TYPE_PARAM_STRUCT, allow multiple parameters. + * gengtype.c (find_param_structure): New. + (adjust_field_type): Handle param_is option. + (process_gc_options): Detect use_params option. Update callers. + (set_gc_used_type): Add 'param' parameter, update callers. Handle + 'use_params' option. + (open_base_files): Add splay-tree.h to list of files included. + (output_mangled_typename): New. + (write_gc_structure_fields): Update 'param' parameter to support + multiple parameters. Change name mangling. Allow parameterized + fields to have an apparent scalar type. Handle param_is options, + use_param option. + (write_gc_marker_routine_for_structure): Update for change to name + mangling. Better guess the output file for parameterized types. + (write_gc_types): Update for change to name mangling. + (write_gc_root): Update for change to name mangling. Handle (ignore) + param_is options. + * doc/gty.texi (GTY Options): Add description of param_is + options, use_params option. + * ggc.h (ggc_mark_rtx): Update for changed name mangling. + * gengtype-lex.l: Produce token for param_is. + * gengtype-yacc.y: Parse param_is. + + * gengtype.c (adjust_field_tree_exp): Don't name a variable 'rindex'. + + * rtl.c: Update comment describing rtx_format. + * rtl.h (union rtunion): Separate definition and typedef. + (struct rtx_def): Use gengtype to mark. + * Makefile.in (gengtype.o): Also depend on rtl.def. + * ggc.h (ggc_mark_rtx_children): Delete prototype. + (ggc_mark_rtx): Change to alias of gengtype-generated routine. + * ggc-common.c (ggc_mark_rtx_children): Delete. + (ggc_mark_rtx_children_1): Delete. + (gt_ggc_m_rtx_def): Delete. + * gengtype.c (adjust_field_rtx_def): New. + (adjust_field_type): Call adjust_field_rtx_def. + (write_gc_structure_fields): Add 'default' case to switch if none + is specified; remove unused code. + + * tree.h (struct tree_exp): Update for change to meaning + of special. + * gengtype.c (adjust_field_tree_exp): New function. + (adjust_field_type): Handle `tree_exp' special here. + (write_gc_structure_fields): Don't handle `tree_exp' special here. + Handle new `dot' option. + + * gengtype.h: Make `info' a pointer-to-const. + * gengtype-yacc.y (yacc_ids): Use xasprintf. + + * gengtype.c (write_gc_structure_fields): Remove implementation + of `always' option, add `default' option. + * doc/gty.texi (GTY Options): Remove documentation of `always', + add `default'. + +2002-09-16 Hans-Peter Nilsson + + * output.h: Remove #ifdef RTX_CODE and #ifdef TREE_CODE. + +2002-09-16 Kaveh R. Ghazi + + * m68hc11.md (addhi_sp): Fix uninitialized variable bug. + + * c4x-c.c, c4x.c, darwin.c, i370-c.c, m32r.c: Include tm_p.h + instead of the *-protos.h file directly. + * t-c4x, t-i370, t-v850: Depend on $(TM_P_H). + * darwin.c (machopic_output_stub): Move prototype ... + * darwin-protos.h (machopic_output_stub): ... here. + * rs6000-protos.h (machopic_output_stub): Don't declare. + +2002-09-16 Richard Henderson + + * c-common.c (builtin_define_float_constants): Emit __FOO_DENORM_MIN__. + +2002-09-16 Richard Henderson + + * real.c, real.h: Rewrite from scratch. + + * Makefile.in (simplify-rtx.o): Depend on TREE_H. + (paranoia): New target. + * builtins.c (fold_builtin_inf): Use new real.h interface. + * c-common.c (builtin_define_with_hex_fp_value): Likewise. + * c-lex.c (interpret_float): Likewise. + * emit-rtl.c (gen_lowpart_common): Likewise. + * optabs.c (expand_float): Use real_2expN. + * config/ia64/ia64.md (divsi3, udivsi3): Likewise. + * defaults.h (INTEL_EXTENDED_IEEE_FORMAT): New. + (FLOAT_WORDS_BIG_ENDIAN): New. + * cse.c (find_comparison_args): Don't pass FLOAT_STORE_FLAG_VALUE + directly to REAL_VALUE_NEGATIVE. + * loop.c (canonicalize_condition): Likewise. + * simplify-rtx.c: Include tree.h. + (simplify_unary_operation): Don't handle FIX and UNSIGNED_FIX + with floating-point result modes. + * toplev.c (backend_init): Call init_real_once. + + * fold-const.c (force_fit_type): Don't call CHECK_FLOAT_VALUE. + * tree.c (build_real): Likewise. + * config/alpha/alpha.c, config/vax/vax.c (float_strings, + float_values, inited_float_values, check_float_value): Remove. + * config/alpha/alpha.h, config/m68hc11/m68hc11.h, + config/m88k/m88k.h, config/vax/vax.h (CHECK_FLOAT_VALUE): Remove. + * doc/tm.texi (CHECK_FLOAT_VALUE): Remove. + (VAX_HALFWORD_ORDER): Remove. + +2002-09-16 Ulrich Weigand + + * config/s390/s390.c: (legitimize_la_operand): Remove, replace by ... + (s390_load_address): ... this new function. + (s390_decompose_address): Allow the argument pointer and all + virtual registers as 'pointer' registers. + (s390_expand_plus_operand): Use s390_load_address. + config/s390/s390.md (movti, movdi, movdf splitters): Likewise. + ("force_la_31"): New insn pattern. + config/s390/s390-protos.h (legitimize_la_operand): Remove. + (s390_load_address): Add prototype. + + * config/s390/s390.c: Include "optabs.h". + (s390_expand_movstr, s390_expand_clrstr, s390_expand_cmpstr): New. + config/s390/s390-protos.h (s390_expand_movstr, s390_expand_clrstr, + s390_expand_cmpstr): Add prototypes. + config/s390/s390.md ("movstrdi", "movstrsi"): Call s390_expand_movstr. + ("movstrdi_short"): Rename to "movstr_short_64". Change predicates + for operands 0 and 1 to "memory_operand". Add type attribute. + ("movstrsi_short"): Rename to "movstr_short_31". Change predicates + for operands 0 and 1 to "memory_operand". Add type attribute. + ("movstrdi_long", "movstrsi_long"): Remove. + ("movstrdi_64"): Rename to "movstr_long_64". Add type attribute. + ("movstrsi_31"): Rename to "movstr_long_31". Add type attribute. + ("clrstrdi", "clrstrsi"): Call s390_expand_clrstr. + ("clrstrsico"): Remove, replace by ... + ("clrstr_short_64", "clrstr_short_31"): ... these new patterns. + ("clrstrsi_64"): Rename to "clrstr_long_64". + ("clrstrsi_31"): Rename to "clrstr_long_31". + ("cmpstrdi", "cmpstrsi"): Call s390_expand_cmpstr. + ("cmpstr_const"): Remove, replace by ... + ("cmpstr_short_64", "cmpstr_short_31"): ... these new patterns. + ("cmpstr_64"): Rename to "cmpstr_long_64". + ("cmpstr_31"): Rename to "cmpstr_long_31". + +2002-09-16 Kazu Hirata + + * ABOUT-NLS: Follow spelling conventions. + * ChangeLog: Likewise. + * ChangeLog.1: Likewise. + * ChangeLog.2: Likewise. + * ChangeLog.3: Likewise. + * ChangeLog.4: Likewise. + * ChangeLog.5: Likewise. + * ChangeLog.6: Likewise. + * FSFChangeLog.10: Likewise. + * FSFChangeLog.11: Likewise. + * c-common.c: Likewise. + * c-lex.c: Likewise. + * c-objc-common.c: Likewise. + * cppexp.c: Likewise. + * cppinit.c: Likewise. + * cpplex.c: Likewise. + * doloop.c: Likewise. + * flow.c: Likewise. + * function.c: Likewise. + * integrate.c: Likewise. + * loop.c: Likewise. + * reg-stack.c: Likewise. + * reload.h: Likewise. + * ssa.c: Likewise. + +2002-09-15 Kaveh R. Ghazi + + * Makefile.in (vmsdbgout.o): Depend on $(TARGET_H) + * vmsdbgout.c: Include "target.h". + +2002-09-15 Kazu Hirata + + * ChangeLog: Follow spelling conventions. + * ChangeLog.0: Likewise. + * ChangeLog.1: Likewise. + * ChangeLog.2: Likewise. + * ChangeLog.4: Likewise. + * ChangeLog.6: Likewise. + * config.gcc: Likewise. + * dwarfout.c: Likewise. + * reload1.c: Likewise. + * simplify-rtx.c: Likewise. + * unwind-sjlj.c: Likewise. + * config/avr/avr.h: Likewise. + * config/d30v/d30v.h: Likewise. + * config/frv/frv.c: Likewise. + * config/frv/frv.h: Likewise. + * config/ip2k/ip2k.h: Likewise. + * config/m88k/m88k-move.sh: Likewise. + * config/stormy16/stormy16.c: Likewise. + * config/stormy16/stormy16.h: Likewise. + * doc/extend.texi: Likewise. + * doc/interface.texi: Likewise. + * doc/invoke.texi: Likewise. + * doc/md.texi: Likewise. + * doc/rtl.texi: Likewise. + * doc/tm.texi: Likewise. + * doc/trouble.texi: Likewise. + * ginclude/float.h: Likewise. + * treelang/treelang.texi: Likewise. + +2002-09-15 Kaveh R. Ghazi + + * i386-protos.h (i386_pe_dllexport_name_p, + i386_pe_dllimport_name_p, i386_pe_unique_section, + i386_pe_declare_function_type, i386_pe_record_external_function, + i386_pe_record_exported_symbol, i386_pe_asm_file_end): Add + prototype. + * i386/t-cygwin (winnt.o): Depend on $(TM_P_H). + * i386/t-interix (winnt.o): Likewise. + + * v850-protos.h (v850_output_addr_const_extra): Prototype. + +2002-09-15 Jason Thorpe + + * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Add + MIPS ABI CPP macros. + (TARGET_CPU_CPP_BUILTINS): Redefine. + (SUBTARGET_EXTRA_SPECS): Remove subtarget_endian_default. + (SUBTARGET_ENDIAN_DEFAULT_SPEC): Remove. + +2002-09-15 Kaveh R. Ghazi + + * ia64/aix.h (TARGET_OS_CPP_BUILTINS): Fix typo. + +2002-09-15 Kazu Hirata + + * ChangeLog: Follow spelling conventions. + * ChangeLog.0: Likewise. + * ChangeLog.1: Likewise. + * ChangeLog.2: Likewise. + * ChangeLog.3: Likewise. + * ChangeLog.4: Likewise. + * ChangeLog.5: Likewise. + * ChangeLog.6: Likewise. + * FSFChangeLog.10: Likewise. + * FSFChangeLog.11: Likewise. + * c-common.c: Likewise. + * c-common.h: Likewise. + * c-format.c: Likewise. + * c-opts.c: Likewise. + * cpplib.c: Likewise. + * langhooks.h: Likewise. + * real.c: Likewise. + * reg-stack.c: Likewise. + * toplev.c: Likewise. + * config/arm/arm.c: Likewise. + * config/arm/arm.md: Likewise. + * config/arm/linux-gas.h: Likewise. + * config/arm/netbsd.h: Likewise. + * config/c4x/c4x.c: Likewise. + * config/c4x/c4x.h: Likewise. + * config/c4x/c4x.md: Likewise. + * config/c4x/libgcc.S: Likewise. + * config/fr30/fr30.md: Likewise. + * config/frv/frv.md: Likewise. + * config/ia64/ia64.md: Likewise. + * config/mips/mips.h: Likewise. + * config/mn10300/mn10300.c: Likewise. + * config/stormy16/stormy16.c: Likewise. + * config/v850/v850.md: Likewise. + * doc/extend.texi: Likewise. + * doc/invoke.texi: Likewise. + * doc/md.texi: Likewise. + +2002-09-15 Jason Thorpe + + * config/netbsd.h (LIB_SPEC): Include the appropriate pthread + library if -pthread is specified. + +2002-09-15 Jason Thorpe + + * config.gcc (*-*-netbsd*): Set thread_file to 'posix' + for --enable-threads=yes and --enable-threads=posix. + +2002-09-15 Kazu Hirata + + * config/sparc/cypress.md: Replace Sparc with SPARC. + * config/sparc/freebsd.h: Likewise. + * config/sparc/gmon-sol2.c: Likewise. + * config/sparc/hypersparc.md: Likewise. + * config/sparc/lb1spc.asm: Likewise. + * config/sparc/lb1spl.asm: Likewise. + * config/sparc/linux.h: Likewise. + * config/sparc/linux64.h: Likewise. + * config/sparc/lynx.h: Likewise. + * config/sparc/sol2.h: Likewise. + * config/sparc/sparc-modes.def: Likewise. + * config/sparc/sparc.c: Likewise. + * config/sparc/sparc.h: Likewise. + * config/sparc/sparc.md: Likewise. + * config/sparc/sparclet.md: Likewise. + * config/sparc/supersparc.md: Likewise. + * config/sparc/sysv4.h: Likewise. + * config/sparc/vxsim.h: Likewise. + * config/sparc/vxsparc64.h: Likewise. + +2002-09-14 Kaveh R. Ghazi + + * c-lex.c (cb_ident): Mark variable with ATTRIBUTE_UNUSED. + * collect2.c (ignore_library, aix_std_libs): Move into the context + where it is used. + * m68hc11.c (m68hc11_autoinc_compatible_p): Delete prototype. + (autoinc_mode, m68hc11_make_autoinc_notes): Add prototypes. + * m88k.c (output_call): Wrap variables with macro controlling use. + * rs6000.md: Likewise. Const-ify variable. + * sh.h (ASM_OUTPUT_LABELREF): Likewise. + * final.c (only_leaf_regs_used): Likewise. + * regrename.c (maybe_mode_change): Mark parameter with + ATTRIBUTE_UNUSED. + * reload.c (find_valid_class): Likewise. Likewise for variable. + (find_reloads_address_1): Likewise. + * varasm.c (weak_finish): Wrap variable with macro controlling use. + +2002-09-14 Marek Michalkiewicz + + * config/avr/avr.c (output.h): Move after inclusion of tree.h. + +2002-09-14 Kazu Hirata + + * ChangeLog: Follow spelling conventions. + * ChangeLog.0: Likewise. + * ChangeLog.2: Likewise. + * ChangeLog.3: Likewise. + * ChangeLog.4: Likewise. + * ChangeLog.5: Likewise. + * ChangeLog.6: Likewise. + * cppfiles.c: Likewise. + * cppinit.c: Likewise. + * cpplib.h: Likewise. + * cse.c: Likewise. + * debug.h: Likewise. + * df.c: Likewise. + * dominance.c: Likewise. + * hashtable.c: Likewise. + * hashtable.h: Likewise. + * loop.c: Likewise. + * config/arm/README-interworking: Likewise. + * config/arm/arm.c: Likewise. + * config/arm/arm.h: Likewise. + * config/arm/arm.md: Likewise. + * config/dsp16xx/dsp16xx.h: Likewise. + * config/frv/frv.c: Likewise. + * config/frv/frv.h: Likewise. + * config/ip2k/ip2k.h: Likewise. + * config/rs6000/rs6000.c: Likewise. + * config/stormy16/stormy-abi: Likewise. + * config/stormy16/stormy16.h: Likewise. + * config/v850/v850.c: Likewise. + +2002-09-14 Kazu Hirata + + * loop.c: Fix a comment typo. + +2002-09-14 Kazu Hirata + + * config/fr30/fr30.h: Fix comment typos. + * config/frv/frv.c: Likewise. + * config/i386/xmmintrin.h: Likewise. + * config/mips/mips.c: Likewise. + * config/sh/sh.c: Likewise. + +2002-09-14 Kazu Hirata + + * haifa-sched.c: Follow spelling conventions. + * regclass.c: Likewise. + * regrename.c: Likewise. + * config/fp-bit.c: Likewise. + * config/frv/frv.h: Likewise. + * config/m88k/m88k.c: Likewise. + * config/mcore/mcore.c: Likewise. + * config/rs6000/darwin.h: Likewise. + * config/rs6000/gnu.h: Likewise. + * config/rs6000/linux.h: Likewise. + * config/rs6000/linux64.h: Likewise. + * config/rs6000/rs6000.c: Likewise. + * config/rs6000/rs6000.h: Likewise. + * config/sh/sh.c: Likewise. + * config/sparc/sparc.c: Likewise. + * config/sparc/ultra1_2.md: Likewise. + +2002-09-14 Stephane Carrez + + * config/m68hc11/m68hc11.md ("movdi_internal"): Allow any offsetable + memory operand when source is 0 (K constraint). + ("movsi_internal"): Likewise. + ("movdf_internal"): Likewise. + ("movsf_internal"): Likewise. + +2002-09-14 Alan Modra + + * config/rs6000/rs6000.c (rs6000_elf_encode_section_info): Use + targetm.binds_local_p to set SYMBOL_REF_FLAG. + (rs6000_xcoff_encode_section_info): Likewise. + * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Likewise. + +2002-09-10 Theodore A. Roth + + * gcc/config/avr/avr.h: Set default options for C++ for avr. + +2002-09-13 Roger Sayle + + * stmt.c (struct nexting): Remove unused alt_end_label field. + (expand_start_loop): Delete initialization of alt_end_label. + (expand_start_null_loop): Likewise. + (expand_exit_loop_if_false): Delete updating of alt_end_label. + +2002-09-13 Richard Henderson + + * Makefile.in (toplev.o): Depend on real.h. + (print-rtl.o, varasm.o, ifcvt.o): Likewise. - * pa.c (emit_move_sequence): Check both reload_in_progress and - reload_completed when choosing a scratch/temporary register. +2002-09-14 Alan Modra - * 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. + * doc/tm.texi (DBX_OUTPUT_NFUN): Describe. + * dbxout.c (dbxout_function_end): Use DBX_OUTPUT_NFUN. + * config/rs6000/linux64.h (DBX_OUTPUT_NFUN): Define. - * 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. +2002-09-13 Nathan Sidwell + + * ggc-common.c (ggc_mark_roots): Don't iterate NULL hash tables. + +2002-09-13 Steve Ellcey + + * config.gcc (ia64*-*-aix*, ia64*-*-elf*, ia64*-*-freebsd*, + ia64*-*-linux*): Set extra_parts. + * config/ia64/t-aix (EXTRA_PARTS): Remove. + * config/ia64/t-ia64 (EXTRA_PARTS): Remove. - * 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. +2002-09-13 Kazu Hirata - * pa.c (hppa_legitimize_address): Rework address computation for - x[n - m] so that problems with implicit space register selection - are avoided. + * config/h8300/fixunssfsi.c: Replace H8/S with H8S. + * config/h8300/h8300.c: Likewise. + * config/h8300/h8300.h: Likewise. + * config/h8300/h8300.md: Likewise. + * doc/invoke.texi: Likewise. - * pa.h (EXTRA_CONSTRAINT): Delete unused 'S' constraint. - * pa.md (call_internal_symref): Make pattern unavailable if - TARGET_LONG_CALLS. - (call_value_internal_symref): Likewise. +2002-09-13 Kazu Hirata -Mon Aug 16 18:47:56 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * config/h8300/h8300.c (h8300_init_once): Fix formatting. - 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. +2002-09-13 Richard Henderson - * 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. + * config/alpha/alpha.md (attr type): Add callpal. + (imb, trap, load_tp, set_tp): Use it. + * config/alpha/ev4.md (ev4_callpal): New. + * config/alpha/ev5.md (ev5_callpal): New. + * config/alpha/ev6.md (ev6_ibr): Handle callpal. + * config/alpha/alpha.c (alphaev4_insn_pipe): Handle TYPE_CALLPAL. + (alphaev5_insn_pipe): Likewise. -Mon Aug 16 12:38:28 1993 John Hassey (hassey@dg-rtp.dg.com) +2002-09-13 Andreas Jaeger - * fixinc.dgux: Fixed va_list problem in _int_varargs.h + * Makefile.in (print-rtl.o): Depend on CONFIG_H. -Mon Aug 16 11:26:57 1993 Kevin Buettner (kev@spuds.geg.mot.com) +2002-09-13 Steve Ellcey - * configure (m88k-mot-sysv4*): Added new configuration for m88k - delta machines running svr4. + * config/ia64/t-hpux (LIBGCC1_TEST, STMP_FIXPROTO, + LIB2ADDEH): New, set to NULL. + (SHLIB_EXT, SHLIB_LINK, SHLIB_INSTALL, SHLIB_MKMAP): New. - * config/m88k/mot-sysv4.h: New file. +2002-09-13 Steve Ellcey -Mon Aug 16 11:16:32 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) + * config/ia64/quadlib.c (_U_Qfcmp): Make extern. + (_U_Qfcnvfxt_quad_to_sgl): Remove declaration. + (_U_Qfeq, _U_Qfne, _U_Qfgt, _U_Qfge, U_Qflt, U_Qfle, _U_Qfcomp): + Add declarations. + (_U_Qfneg): Remove. - * combine.c: (use_crosses_set_p): Check for partially overlapping - hard regs. +2002-09-13 Dhananjay Deshpande -Sun Aug 15 20:17:20 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Add support + for H8/300, H8S aa:8 mode. + (TINY_CONSTANT_ADDRESS_P): Add support for H8S aa:16 mode. + * config/h8300/h8300.c (h8300_adjust_insn_length): Adjust length + for H8/300 aa:8 mode. - * 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. +2002-09-13 Hartmut Penner -Fri Aug 13 16:40:03 1993 Pat Rankin (rankin@eql.caltech.edu) + * config/s390/s390.md ("trap", "conditional_trap", "*trap"): New + insns. - * c-typeck.c (check_format): For scan of "%[", skip over scan set - til closing ']' to avoid processing it as ordinary format characters. +2002-09-12 Richard Henderson -Fri Aug 13 16:02:23 1993 Chip Salzenberg (chip@fin.uucp) + * Makefile.in (HOST_PRINT): Use print-rtl1.o + (print-rtl.o): Don't define GENERATOR_FILE. + (print-rtl1.o): Rename from $(BUILD_PREFIX_1)print-rtl.o. + * print-rtl.c (print_rtx): Include CONST_DOUBLE fp decimal output + unless GENERATOR_FILE. - * 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. +2002-09-12 Stan Shebs -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. + * config/darwin.h (USER_LABEL_PREFIX): Define here... + * config/i386/darwin.h: ... instead of here. -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. + * target.h (struct gcc_target): New field + terminate_dw2_eh_frame_info. + * target-def.h (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define. + (TARGET_INITIALIZER): Add it. + * dwarf2out.c (output_call_frame_info): Use target hook. + * dwarf2asm.c (dw2_asm_output_delta): Use macro + ASM_OUTPUT_DWARF_DELTA if defined. + * doc/tm.texi (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Document. + (ASM_OUTPUT_DWARF_DELTA): Ditto. + (ASM_OUTPUT_DWARF_OFFSET): Ditto. + (ASM_OUTPUT_DWARF_PCREL): Ditto. + * config.gcc (i[34567]86-*-darwin*): Define extra_parts. + (powerpc-*-darwin*): Ditto. + * crtstuff.c [OBJECT_FORMAT_MACHO]: Update the Mach-O bits + to work correctly for Darwin. + * config/darwin.h (OBJECT_FORMAT_MACHO): Define. + (STARTFILE_SPEC): Add crtbegin.o. + (ENDFILE_SPEC): Define. + (EXTRA_SECTION_FUNCTIONS): Put gcc_except_tab in data segment. + (ASM_PREFERRED_EH_DATA_FORMAT): Handle more cases. + (ASM_OUTPUT_DWARF_DELTA): Define. + (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define. + * config/darwin.c (darwin_asm_output_dwarf_delta): New function. + +2002-09-13 Alan Modra + + * config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Remove "if" + nesting. Correct test for non-PowerPC64 ELF ABI_AIX. + * config/rs6000/rs6000.md (load_toc_v4_PIC*): Disable when ABI_AIX. + +2002-09-12 Zack Weinberg + + * toplev.c: Move default definition of USER_LABEL_PREFIX... + * defaults.h: ... here. + +2002-09-12 Richard Henderson + + * vax.c: Include tree.h earlier. + +2002-09-12 Stan Shebs + + * config/darwin.c (machopic_finish): Remove #if 0 chunks. + (machopic_operand_p): Ditto. + +2002-09-12 Kazu Hirata + + * config/arm/arm.c (arm_compute_initial_elimination_offset): + Fix a comment typo. + +2002-09-12 Kazu Hirata + + * toplev.c (do_abort): Fix a comment typo. + +2002-09-12 Kazu Hirata + + * cselib.c: Fix comment formatting. + * gengtype.c: Likewise. + +2002-09-12 Kazu Hirata + + * config/h8300/h8300.md (udivmodqi4): Do not use an expander. + (udivmodhi4): Likewise. + +2002-09-12 Graham Stott + Roger Sayle + + * i386.c (any_fp_register_operand, fp_register_operand, + register_and_not_any_fp_reg_operand, register_and_not_fp_reg_operand): + New predicate functions. + * i386-protos.h: Add their prototypes. + * i386.h: Add them to PREDICATE_CODES. + * i386.md ("*pushsf_rex64"+2, "*pushsf_rex64"+3, "*pushdf_integer"+1, + "*pushdf_integer"+2, "*pushtf_integer"+1, "*pushtf_integer"+2, + "*pushtf_integer"+3, "*pushtf_integer"+4, "*dummy_extendsfdf2"+1, + "*dummy_extendsfdf2"+2, "*dummy_extendsfxf2"+1, + "*dummy_extendsftf2"+1, "*dummy_extendsftf2"+2, + "*dummy_extenddfxf2"+1, "*dummy_extenddftf2"+1, + "*dummy_extenddftf2"+2, "*negsf2_if"+1, "*negsf2_if"+2, + "*negdf2_if_rex64"+1, "*negdf2_if_rex64"+2, "*negxf2_if"+1, + "*negxf2_if"+2, "*negtf2_if"+1, "*negtf2_if"+2, "*abssf2_if"+1, + "*abssf2_if"+2, "*absdf2_if_rex64"+1, "*absdf2_if_rex64"+2, + "*absxf2_if"+1, "*absxf2_if"+2, "*abstf2_if"+1, "*abstf2_if"+2): + Use these new predicates to simplify and correct the use of + FP_REG_P, ANY_FP_REG_P, FP_REGNO_P and any ANY_FP_REGNO_P. + +2002-09-12 Jason Merrill + + * diagnostic.c (output_add_identifier): New fn. + * diagnostic.h: Declare it. + + * calls.c (store_one_arg): Use size_in_bytes to determine the + amount of space to push. + +2002-09-12 Jakub Jelinek + + * config/sparc/linux64.h (STARTFILE_SPEC32): Fix a typo. + +2002-09-12 Ulrich Weigand + + * config/s390/s390-modes.def (CCAPmode, CCANmode): New CC modes. + * config/s390/s390.c (s390_match_ccmode_set): Support new CC modes. + (s390_select_ccmode): Likewise. + (s390_branch_condition_mask): Likewise. + (optimization_options): Do not set flag_branch_on_count. + (s390_split_branches): Handle doloop branches. + (s390_chunkify_pool): Likewise. + * config/s390/s390.md ("*adddi3_imm_cc", "*addsi3_imm_cc"): New insns. + ("doloop_end"): New expander. + ("doolop_si", "*doloop_si_long", "doloop_di", "*doloop_di_long", + associated splitters): New. + +2002-09-11 Volker Reichelt + + * genattrtab.c (simplify_cond): Remove unused variable(s). + * global.c (record_conflicts): Likewise. + * jump.c (rebuild_jump_labels): Likewise. + * loop.c (scan_loop, check_final_value): Likewise. + * ra-colorize.c (colorize_one_web, assign_colors): Likewise. + * reload1.c (eliminate_regs_in_insn, do_input_reload): Likewise. + * rtlanal.c (reg_set_p): Likewise. + * stmt.c (expand_asm_operands, expand_decl): Likewise. + * genautomata.c (empty_reserv): Remove. + * loop.c (max_luid): Likewise. + * sched-rgn.c (bitlst_table_size): Likewise. + +2002-09-11 Nathan Sidwell + + Reimplement gcov format. + * gcov-io.h: Replace. + * gcov.c: Reimplement. + * gcov-iov.c: New file. + * gcov-dump.c: New file. + * libgcc2.c (L_bb): Replace with ... + (L_gcov): ... this. + (struct bb_function_info, struct bb): Remove. + (inhibit_libc): Never inhibit. + (gcov_list, gcov_crc): New static variables. + (gcov_version_mismatch): New static function. + (__bb_exit_func): Renamed to ... + (__gcov_exit): ... here. Made static. Reimplement. + (__gcov_init_func): Rename to ... + (__gcov_init): ... here. Check version, update crc. + (__bb_fork_func): Rename to ... + (__gcov_flush): ... here. + * libgcc2.h (struct bb, __bb_exit_func, __bb_init_func, + __bb_fork_func, gcov_type, __bb_find_arc_counters): Remove. + * calls.c (expand_call): Call __gcov_flush. + * profile.c (bb_file, last_bb_file_name): Remove. + (bbg_file_name): New global variable. + (output_gcov_string): Remove. + (get_exec_counts): Reimplement. + (branch_prob): Reimplement gcov file writing. + (init_branch_prob): Create bbg_file_name, don't create + bb_file_name. + (end_branch_prob): Adjust. Don't remove counter file when + instrumenting ourselves. + (create_profiler): Adjust. + * doc/gcov.texi (Gcov Data Files): Remove detailed specification, + point to gcov-io.h. + * Makefile.in (LANGUAGES): Add gcov-dump. + (coverageexts): Remove .bb. + (STAGESTUFF): Add gcov-dump. + (LIB2FUNCS_ST): Replace _bb with _gcov. + (profile.o): Depend on gcov-iov.h. + (final.o): Don't depend on profile.h, gcov.h. + (gcov.o): Depend on gcov-iov.h. + (gcov-iov.o): New target. + (gcov-iov): New target. + (gcov-iov.h): New target. + (gcov-dump.o): New target. + (GCOV_DUMP_OBJS): New variable. + (gcov-dump): New target. + (distclean): Remove coverageexts. + (stage1): Remove coverageexts. + +2002-09-11 Hartmut Penner + + * fold-const.c (make_range): Only narrow to signed range if + the signed range is smaller than the unsigned range. + +2002-09-12 Alan Modra + + * emit-rtl.c (set_mem_size): New function. + * expr.h (set_mem_size): Declare. + * config/rs6000/rs6000.c (expand_block_move_mem): Exterminate. + (expand_block_move): Instead, use adjust_address and + replace_equiv_address to generate proper aliasing info. + Move common code out of conditionals. Localize vars. + +2002-09-11 Eric Botcazou + + * optabs.c (expand_binop): Minor cleanup. + (expand_twoval_binop): Convert CONST_INTs like in expand_binop. + +2002-09-11 Dan Nicolaescu + + * print-tree.c (print_node): Print the restrict qualifier. + +2002-09-11 Janis Johnson + + * doc/install.texi: Fix typos. + +2002-09-11 Zack Weinberg + + * Makefile.in: Remove all references to s-under and underscore.c. + * collect2.c, tlink.c: Change all uses of prepends_underscore + to look directly at USER_LABEL_PREFIX. + +2002-09-11 David Edelsohn + + * config/rs6000/rs6000.c (rs6000_xcoff_asm_named_section): Append + alignment to csect. + (rs6000_xcoff_unique_section): Only set section name for public + data. + (rs6000_xcoff_section_type_flags): Store log2 alignment in flags. + * config/rs6000/xcoff.h (TARGET_ASM_SELECT_SECTION): Remove + duplicate definition. + +2002-09-10 John David Anglin + + * pa.md (extzv): Check predicates before emitting extzv_32. + (insv): Likewise. + +2002-09-10 Ulrich Weigand - 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. + * config/s390/s390.h (MOVE_MAX): Define to correct value. + (MAX_MOVE_MAX): Define. + (MOVE_BY_PIECES_P): Define. + (CLEAR_BY_PIECES_P): Define. - * 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. +2002-09-10 Denis Chertykov -Fri Aug 13 07:50:42 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * config/avr/avr.md (movstrhi): Use right operands for conversion. - * expr.c (expand_expr, case SAVE_EXPR): Set MEM_IN_STRUCT_P - appropriately when the result is a MEM. +2002-09-10 Richard Earnshaw - * integrate.c (expand_inline_function): Copy args that are in - hard regs instead of substituting them directly into insns. + PR c/7873 + * arm.md (insv): Use reg_or_int_operand for operand[3]. - * rs6000.md (subsi3): Merge alternatives. - (comparison patterns): Eliminate generation of "sfi."; no such - instruction exists. +2002-09-10 David Edelsohn -Thu Aug 12 21:24:01 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * rs6000.c (rs6000_assemble_visibility): Protect declaration + inside macro. Correct function definition typo. + (rs6000_xcoff_section_type_flags): New function. + (TARGET_SECTION_TYPE_FLAGS): Remove definition. + (rs6000_elf_section_type_flags): Call default_section_type_flags_1 + with appropriate PIC test. + (rs6000_xcoff_select_section): Use decl_readonly_section_1 to + determine readonly. + (rs6000_binds_local_p): Combine PIC flags. + * sysv4.h (TARGET_SECTION_TYPE_FLAGS): Define. + * xcoff.h (TARGET_SECTION_TYPE_FLAGS): Define. - * config/m68k/sun3.h (CPP_PREDEFINES): Define _CROSS_TARGET_ARCH. +2002-09-09 Kaveh R. Ghazi -Thu Aug 12 19:02:47 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * h8300.md: Fix signed/unsigned warnings. + * mcore.md: Likewise. + * mn10300.c (mask_ok_for_mem_btst): Likewise. - * 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. +2002-09-09 Per Bothner - * rs6000.md (plus): Split (plus (COMPARISON FOO ...) ...) at FOO. + * print-tree.c (print_node): In a STRING_CST, escape non-ascii + characters, and only print TREE_STRING_LENGTH chars. -Thu Aug 12 14:04:40 1993 Michael Meissner (meissner@osf.org) +2002-09-09 Steve Ellcey - * 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. + * config/ia64/hpux.h (TARGET_HPUX_LD): New, define true. + (ASM_FILE_END) New. + * config/ia64/ia64.h (TARGET_HPUX_LD): New, define false. + * config/ia64/ia64-protos.h (ia64_hpux_asm_file_end): New. + * config/ia64/ia64.c (ia64_asm_output_external): Create list + of external functions if TARGET_HPUX_LD is true. + (ia64_hpux_add_extern_decl): New, routine to put names on + list of external functions. + (ia64_hpux_asm_file_end): Put out declarations for external + functions if and only if they are used. - * i386/osfelf.h (CPP_SPEC): If -mno-underscores, define - __NO_UNDERSCORES__. +2002-09-09 John David Anglin - * 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__. + * pa.md (exception_receiver, builtin_setjmp_receiver): Add blockage + on TARGET_64BIT before pic register restore. -Thu Aug 12 13:42:04 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +2002-09-09 David Edelsohn - * 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. + * doc/tm.texi (TARGET_HAVE_SRODATA_SECTION): New description. + (TARGET_HAVE_TLS): New description. - * 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. +2002-09-09 Janis Johnson - * sparc.h (ASM_OUTPUT_DOUBLE): Always use REAL_VALUE_TO_TARGET_DOUBLE. - (ASM_OUTPUT_FLOAT): Always use REAL_VALUE_TO_TARGET_SINGLE. + * doc/extend.texi (Statement Exprs): Fix broken link. -Wed Aug 11 19:48:24 1993 Per Bothner (bothner@kalessin.cygnus.com) +2002-09-09 Denis Chertykov - * 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. + * config/avr/avr.md (movstrhi, clrstrhi): Use gen_int_mode for + right conversion of operands[1]. -Wed Aug 11 19:50:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu) +2002-09-09 Ulrich Weigand - * 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. + * config/s390/s390.md ("*tmdi_reg", "*tmsi_reg"): Do not mark as + commutative. Use "nonimmediate_operand" instead of "register_operand" + as predicate for operand 0. Move to after the "*tmXX_mem" insns. -Wed Aug 11 15:09:52 1993 Michael Meissner (meissner@osf.org) + ("*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem"): Do not mark + as commutative. - * 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. + ("*anddi3_ni", "*andsi3_ni", "*iordi3_ni", "*iorsi3_ni"): Do not + mark as commutative. Use "nonimmediate_operand" instead of + "register_operand" as predicate for operand 1. -Wed Aug 11 17:59:28 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + ("movstrictsi"): Fix typo in insn name. - * combine.c (combine_instructions): Fix typo on test of basic block - number. +2002-09-09 Jan Hubicka -Wed Aug 11 17:44:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * i386.c (index_register_operand): New. + * i386.h (predicate_codes): Add new predicate. + * i386.md (lea_general_*): Use index_register_operand + (ashift to lea splitter): Do not produce invalid leas + (ashift to mov+ashift split): New. - * configure (m68k-hp-bsd4.4*): Add missing *; - move before m68k-hp-bsd*. +2002-09-09 Nick Clifton -Wed Aug 11 09:21:56 1993 Ian Lance Taylor (ian@cygnus.com) + * config/fr30/fr30.c (output.h): Move after inclusion of tree.h. + Fix folding marks. - * 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). +2002-09-09 Toshiyasu Morita + J"orn Rennecke -Tue Aug 10 15:12:11 1993 Jim Wilson (wilson@cygnus.com) + * sh/sh.h (OVERRIDE_OPTIONS): align_functions is in bytes, not bits. - * 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. +2002-09-09 Alan Modra -Tue Aug 10 12:56:46 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * config/rs6000/rs6000.c (rs6000_binds_local_p): Return bool. + (function_ok_for_sibcall): Use binds_local_p. Respect longcall + attributes. - * pa.h (DOLLARS_IN_IDENTIFIERS): Define as 2. +2002-09-08 Nathan Sidwell + + * basic_block.h (gcov_type): Explain why it is signed. + * final.c: Don't include profile.h. + (struct function_list, functions_head, functions_tail, + end_final): Moved to profile.c + (final): Move arc chaining code to profile.c. + * function.c (prepare_function_start): Remove duplicate line. + * output.h (end_final): Remove prototype. + * predict.c (estimate_loops_at_level): Use gcov_type. + * profile.c (struct function_list, functions_head, + functions_tail): Moved from final.c + (need_func_profiler): Remove. + (instrument_edges): Don't set need_func_profiler. + (get_exec_counts): Avoid signed/unsigned warning. + (compute_checksum): Use crc32. + (branch_prob): Adjust. Chain onto functions_head. + (init_branch_prob): Absorb init_edge_profiler. + (init_edge_profiler): Remove. + (create_profiler): Moved and renamed from final.c:end_final. + Emit data and constructor. + (output_func_start_profiler): Remove. + * profile.h (struct profile_info): checksum is unsigned. + * rtl.h (output_func_start_profiler): Remove prototype. + (create_profiler): Declare. + * toplev.c (compile_file): Call create_profiler, if instrumenting + arcs. Don't call end_final. + +2002-09-08 Kaveh R. Ghazi + + * fr30.c (fr30_print_operand): Fix bug in output of CONST_DOUBLE. + +2002-09-08 Richard Henderson + + * dwarf2.h (DW_OP_call_ref): Rename from DW_OP_calli. + (DW_OP_GNU_push_tls_address): New. + (DW_OP_lo_user): Fix. + * dwarf2out.c (INTERNAL_DW_OP_tls_addr): New. + (dwarf_stack_op_name): Handle it, plus other dwarf3 opcodes. + (size_of_loc_descr): Likewise. + (output_loc_operands): Handle INTERNAL_DW_OP_tls_addr. + (add_AT_location_description): Take a dw_loc_descr_ref not an rtx. + (loc_descriptor_from_tree): Handle TLS variables. + (rtl_for_decl_location): Do avoid_constant_pool_reference here ... + (add_location_or_const_value_attribute): ... not here. Defer + to loc_descriptor_from_tree for TLS variables. + + * config/i386/i386.h (ASM_OUTPUT_DWARF_DTPREL): New. + * config/i386/i386.c (i386_output_dwarf_dtprel): New. + * config/i386/i386-protos.h: Update. + +2002-09-08 Roger Sayle + + PR optimization/6405 + * unroll.c (loop_iterations): last_loop_insn should be the previous + non-note instruction before loop->end. + * loop.c (strength_reduce): The conditional jump is the last + non-note instruction before loop->end (as above). + +2002-09-08 Roger Sayle + + * combine.c (try_combine): Handle the case that undobuf.other_insn + has been turned into a return or unconditional jump, by inserting + a BARRIER if necessary. + (simplify_set): Test if a condition code setter has a constant + comparison at compile time, if so convert this insn to a no-op move + and update/simplify the condition code user (undobuf.other_insn). + +2002-09-08 Krister Walfridsson + + * config/arm/netbsd.h (INITIALIZE_TRAMPOLINE): Redefine. + (CLEAR_INSN_CACHE): Define. + +2002-09-08 Kazu Hirata + + * basic-block.h: Fix comment formatting. + * c-common.c: Likewise. + * c-common.h: Likewise. + * c-lex.c: Likewise. + * c-pretty-print.c: Likewise. + * cfglayout.c: Likewise. + * cfgloop.c: Likewise. + * defaults.h: Likewise. + * et-forest.c: Likewise. + * explow.c: Likewise. + * function.h: Likewise. + * gcov.c: Likewise. + * genattrtab.c: Likewise. + * gengtype.c: Likewise. + * ifcvt.c: Likewise. + * libgcc2.c: Likewise. + * loop.c: Likewise. + * profile.c: Likewise. + * ra-build.c: Likewise. + * real.c: Likewise. + * rtl.h: Likewise. + * tracer.c: Likewise. + * tree-inline.c: Likewise. + * varasm.c: Likewise. + +2002-09-08 Jan Hubicka + + * emit-rtl.c (set_mem_attributes_minus_bitpos): Fix array_ref + handling. + + * loop.c (loop_givs_reduce): Emit addition after. + +2002-09-08 Alan Modra + + * varasm.c (default_assemble_visibility): Rename from + assemble_visibility. + * output.h: Here too. + * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): And here. + * config/rs6000/rs6000.c (rs6000_assemble_visibility): And here. -Mon Aug 9 19:02:49 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) +2002-09-08 Alan Modra - Merged fixproto stuff from Cygnus. + * reload.c (find_reloads

): Pass operand_mode to + find_reloads_address. - Fri Aug 6 12:23:04 1993 Per Bothner (bothner@kalessin.cygnus.com) +2002-09-08 Kazu Hirata - * fixproto, Makefile.in: Rename tmp.[ci] -> fixtmp.[ci]. + * config/h8300/h8300.md (udivmodqi4): Enable on H8/300. + (anonymous pattern): Likewise. - Tue Aug 3 22:24:58 1993 Per Bothner (bothner@kalessin.cygnus.com) +2002-09-07 Igor Shevlyakov - * fixproto: Find not only nested directories, but also - links to directories. + * machmode.def: Add modes for half-float vectors. - Mon Aug 2 18:58:35 1993 Per Bothner (bothner@kalessin.cygnus.com) +2002-09-07 Scott Snyder - * 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 (). + PR target/7374 + * config/alpha/alpha.md (abstf2): Fix typo: 'neg' for 'abs'. - Fri Jul 30 17:18:22 1993 Per Bothner (bothner@kalessin.cygnus.com) +2002-09-07 Roger Sayle - * 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. + * basic-block.h (struct loop): Remove unused cont_dominator field. - Thu Jul 29 12:43:53 1993 Per Bothner (bothner@kalessin.cygnus.com) +2002-09-07 Igor Shevlyakov - * 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). + * varasm.c (decode_rtx_const): Don't check undefined field for + CONST_VECTOR. - * 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. +2002-09-07 Glen Nakamura - Wed Jul 28 16:12:39 1993 Per Bothner (bothner@kalessin.cygnus.com) + PR opt/7814 + * sched-deps.c (sched_analyze_insn): Make sure to add insn + to reg_last->sets after flushing the dependency lists to guarantee + that subsequent clobbers will be dependent on it. - * 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. +2002-09-07 Igor Shevlyakov - * 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. + * combine.c (simplify_shift_const): Calculate rotate count + correctly for vector operands. -Mon Aug 9 17:47:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-09-07 Ansgar Esztermann - * 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. + * c-typeck.c (c_tree_expr_nonnegative_p): New function. + (build_binary_op): Call c_tree_expr_nonnegative_p rather than + tree_expr_nonnegative_p. (build_conditional_expr): Likewise. + * c-tree.h (c_tree_expr_nonnegative_p): Declare. - * 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. +2002-09-07 Richard Henderson -Mon Aug 9 07:31:07 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * builtins.def (inf, inff, infl): Mark const. + (huge_val, huge_valf, huge_vall): Likewise. + (BUILT_IN_GETEXP, BUILT_IN_GETMAN): Remove. - * optabs.c (widen_operand): New function. - (expand_binop, expand_unop): Call it. + * real.c (ereal_inf): Clear E before use. -Sun Aug 8 17:32:04 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +2002-09-07 Kazu Hirata - * 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. + * config/h8300/h8300.md (udivmodqi4): Split the pattern into + an expander and an anonymous pattern. Zero out the upper half + of the dividend in the expander. + (udivmodqi4): Likewise. + +2002-09-07 Kazu Hirata + + * config/h8300/h8300.c: Fix formatting. + * config/h8300/h8300.h: Likewise. + * config/h8300/h8300.md: Likewise. -Sun Aug 8 17:26:57 1993 Jim Wilson (wilson@cygnus.com) +2002-09-07 Zdenek Dvorak + + * cfgcleanup.c (try_crossjump_to_edge): Fix updating of liveness + information. + +2002-09-07 Graham Stott - * sparc.c (sparc_type_code): Support range types. + * rtlanal.c (dead_or_set_regno_p): Fix typo. - * expr.c (expand_increment): Call save_expr on inner expression if - it is itself an increment expression. +2002-09-07 Alan Modra - * 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. + * config/rs6000/linux64.h (ASM_PREFERRED_EH_DATA_FORMAT): Define. - * 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. + * doc/tm.texi (TARGET_ASM_ASSEMBLE_VISIBILITY): Describe. + * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): Define. + (TARGET_ASM_OUT): Add the above here. + * target.h (struct gcc_target): Add "visibility" field. + * varasm.c (maybe_assemble_visibility): Call targetm visibility func. + * config/rs6000/rs6000.c (rs6000_assemble_visibility): New function. + (TARGET_ASM_ASSEMBLE_VISIBILITY): Define. + (rs6000_legitimize_reload_address, first_reg_to_save): Formatting. - * 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. +2002-09-06 Ziemowit Laski - * 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. + * c-lang.c (objc_is_id): New stub. + * c-tree.h (objc_is_id): New forward declaration. + * c-typeck.c (build_c_cast): Do not strip protocol + qualifiers from 'id' type. + * objc/objc-act.c (objc_comptypes): Correct handling + of protocol qualifiers. + (objc_is_id): New. -Sun Aug 8 11:33:51 1993 John F Carr (jfc@Athena.mit.edu) +Fri Sep 6 13:10:08 2002 Jeffrey A Law (law@redhat.com) - * 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. + * pentium.md (pentium-firstvboth): Fix typo. -Sun Aug 8 04:26:21 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-09-06 Dhananjay Deshpande - * 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. + * h8300.c (enum shift_alg): Move to earlier in h8300.c. + (enum shift_type, enum h8_cpu): Likewise. + (INL, ROT, LOP, SPC macros): Likewise. + (shift_alg_qi, shift_alg_hi, shift_alg_si): Likewise. Lose + const designator. + (h8300_init_once): Update shift_alg_{qi,hi,si} to use more + space efficient algorithms when optimize for codesize. - * varasm.c (contains_pointers_p): New function. - (assemble_variable): Use that. +Fri Sep 6 16:35:32 2002 Nicola Pero - * toplev.c (rest_of_decl_compilation): Don't look at DECL_IGNORED_P. - Don't output a read-only initialized extern variable. + Fix PR/1727 and long-standing failing testcase + objc/formal-protocol-6.m. + * objc-act.c (build_protocol_expr): If compiling for the GNU + runtime, create a list of Protocol statically allocated instances + if it doesn't exist, then add the Protocol object to this same + list. + (get_objc_string_decl): Fixed typo/bug - TREE_VALUE had been used + instead of TREE_CHAIN. - * c-common.c (declare_function_name): Set DECL_EXTERNAL in the decls. +Fri Sep 6 16:17:33 2002 Nicola Pero -Sat Aug 7 22:25:42 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * objc/objc-act.c (dump_interface): Enlarged the char * buffer to + 10k. Fixed category dumping - print out category names with the + proper syntax. Print '@end\n' and not '\n@end' at the end of the + interface. + (finish_objc): Fixed the -gen-decls option. It was printing out + only the last class. Dump an interface declaration of all classes + being compiled instead. - * c-typeck.c (process_init_element): Don't call clear_momentary - if value is 0. +2002-09-06 Jason Thorpe -Sat Aug 7 15:53:06 1993 Doug Evans (dje@canuck.cygnus.com) + * config/arm/arm-protos.h (arm_gen_return_addr_mask): New + prototype. + * config/arm/arm.c (arm_gen_return_addr_mask): New function. + * config/arm/arm.h (MASK_RETURN_ADDR): Use arm_gen_return_addr_mask + if not APCS26 and not Thumb or ARMv4-or-higher. Use gen_int_mode + rather than GEN_INT. + * config/arm/arm.md (UNSPEC_CHECK_ARCH): Define. + (return_addr_mask, *check_arch2): New. - * 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. +2002-09-06 Ulrich Weigand - * c-decl.c (init_decl_processing): Make long long available to - use for SIZE_TYPE and PTRDIFF_TYPE. + * config/s390/s390.md ("*adddi3_cc", "*adddi3_cconly", + "*adddi3_cconly2", "*adddi3_64", "*adddi3_31", "adddi3", + "*addsi3_carry1_cc", "*addsi3_carry1_cconly", + "*addsi3_carry2_cc", "*addsi3_carry2_cconly", + "*addsi3_cc", "*addsi3_cconly", "*addsi3_cconly2", "addsi3", + "adddf3", "*adddf3", "*adddf3_ibm", + "addsf3", "*addsf3", "*addsf3_ibm", + "muldi3", "mulsi3", "mulsidi3", + "muldf3", "*muldf3", "*muldf3_ibm", + "mulsf3", "*mulsf3", "*mulsf3_ibm", + "*anddi3_cc", "*anddi3_cconly", "anddi3", + "*andsi3_cc", "*andsi3_cconly", "andsi3", + "*iordi3_cc", "*iordi3_cconly", "iordi3", + "*iorsi3_cc", "*iorsi3_cconly", "iorsi3", + "*xordi3_cc", "*xordi3_cconly", "xordi3", + "*xorsi3_cc", "*xorsi3_cconly", "xorsi3"): Use "nonimmediate_operand" + instead of "register_operand" as predicate for "%0" operand. -Sat Aug 7 14:47:12 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-09-06 Jakub Jelinek - * config/ns32k/ns32k.md (strict_low_part add/subtract recognizers): - Use %2, not %1, in template. + * configure.in (HAVE_AS_OFFSETABLE_LO10): Use -xarch=v9 + unconditionally when gcc_cv_as_flags64 checks are gone. + * configure: Rebuilt. -Sat Aug 7 07:40:28 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +2002-09-06 Alan Modra + + * config/rs6000/rs6000.md (extzvsi_internal2): Revert most of + 2002-07-26 change. Comment. + +2002-09-05 Kaveh R. Ghazi + + * frv.c (frv_unique_section, frv_select_section, + frv_select_rtx_section): Delete. + (frv_in_small_data_p): New. + (TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_SECTION, + TARGET_ASM_SELECT_RTX_SECTION): Delete. + (TARGET_IN_SMALL_DATA_P): Define. + +2002-09-05 Dale Johannesen + + * reload1.c (reload): Retain only those memory clobbers + added for variable-array handling. + +2002-09-05 Jason Thorpe + + * config/arm/arm.c (arm_return_in_memory): Implement ATPCS + return-in-memory rules. + * config/arm/arm.h (ARM_FLAG_ATPCS, TARGET_ATPCS): Define. + +2002-09-05 David Edelsohn + + * config/rs6000/xcoff.h (HOT_TEXT_SECTION_NAME): Delete. + (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Delete. + +2002-09-05 Jason Thorpe + + * real.c: Avoid parse error if FLOAT_WORDS_BIG_ENDIAN is + not a compile-time constant for the non-IBM case. + * config/arm/arm-protos.h (arm_float_words_big_endian): New + prototype. + * config/arm/arm.c (arm_float_words_big_endian): New function. + * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define __VFP_FP__ + if TARGET_VFP and not TARGET_HARD_FLOAT. + (ARM_FLAG_VFP, TARGET_VFP): Define. + (FLOAT_WORDS_BIG_ENDIAN): Use arm_float_words_big_endian. + +2002-09-05 David Edelsohn + + * doc/install.texi: Correct text of s390-*-linux* and s390x-*-linux* + URLs. Fix AIX wording. + +2002-09-05 Stan Shebs + + * config/rs6000/rs6000.c (rs6000_override_options): Make -fpic and + -fPIC equivalent on Darwin. + +Thu Sep 5 16:27:47 2002 J"orn Rennecke + + * sh.c (sh_expand_builtin): Return early if encountering an + error_mark for a type. + +2002-09-05 Ulrich Weigand + + * config/s390/s390.c (s390_expand_plus_operand): Do not require + double-word scratch register. + config/s390/s390.md ("reload_indi", "reload_insi"): Adapt. - * reload.c (find_reloads): Don't combine two reloads if their - reload_reg_rtx values differ. + ("*tmqi_ext", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem", + "*cli"): Replace s_operand by memory_operand. + ("cmpstrdi", "cmpstrsi"): Replace s_operand by general_operand. - * 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. +2002-09-05 Kazu Hirata - * expmed.c (expand_divmod): Clean up code and documentation, - especially in areas related to when copies are made. + * config/h8300/h8300.c (asm_file_start): Add a missing + semicolon. - * 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. +2002-09-04 Volker Reichelt - * 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. + * c-typeck.c (build_function_call): Remove unused variable(s). + (build_c_cast): Likewise. + * calls.c (rtx_for_function_call): Likewise. + * cfglayout.c (duplicate_insn_chain): Likewise. + * cfgloop.c (flow_loop_nodes_find): Likewise. + * cfgrtl.c (split_edge): Likewise. + * df.c (df_ref_create): Likewise. + * except.c (expand_end_catch): Likewise. + * expr.c (emit_push_insn, store_constructor, expand_expr): Likewise. + * function.c (emit_return_into_block): Likewise. + (reposition_prologue_and_epilogue_notes): Likewise. + * gengtype.c (get_file_basename, write_gc_structure_fields): Likewise. + * combine.c (subst_prev_insn, need_refresh): Remove. + * dwarf2out.c (primary_filename): Remove. + * final.c (new_block): Remove. + * gcse.c (orig_bb_count): Remove. -Sat Aug 7 04:47:43 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-09-04 Kaveh R. Ghazi - * c-decl.c (finish_decl): Allow file-scope static incomplete array. + * dsp16xx-protos.h (dsp16xx_compare_gen): Change to bool. + * dsp16xx.c (dsp16xx_compare_gen): Likewise. + * dsp16xx.md: Treat dsp16xx_compare_gen as a bool. Call functions + directly instead of using a function pointer. -Fri Aug 6 13:03:27 1993 Jim Wilson (wilson@sphagnum.cygnus.com) +2002-09-04 Krister Walfridsson - * expr.c (expand_expr, case PLUS_EXPR): Goto binop2 not - both_summands if we should not be returning a plus. + * config/i386/i386.h (GOT_SYMBOL_NAME): Define. + * config/i386/i386.c (output_set_got): Use GOT_SYMBOL_NAME. + (ix86_output_addr_diff_elt) Likewise. + (x86_output_mi_thunk) Likewise. + * config/i386/netbsd.h (GOT_SYMBOL_NAME): Redefine. -Fri Aug 6 16:35:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-09-04 Kaveh R. Ghazi - * config/m68k/m68k.md (call and call_value pic recognizers) [HPUX_ASM]: - Output plain bsr, without `@PLTPC'. + * frv.c (frv_encode_section_info): Fix error in last change. -Fri Aug 6 16:12:08 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +2002-09-04 David Edelsohn - * 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. + * config/rs6000/rs6000.c (rs6000_flag_pic): New variable. + (rs6000_elf_encode_section_info): ATTRIBUTE_UNUSED. + (TARGET_BINDS_LOCAL_P): Define. + (rs6000_override_options): Save original flag_pic value. + (rs6000_elf_select_section): Call default_elf_select_section_1. + (rs6000_elf_unique_section): Call default_unique_section_1. + (rs6000_elf_in_small_data_p): New function. + (rs6000_xcoff_asm_named_section): Determine storage mapping class. + (rs6000_xcoff_select_section): Update based on defaults. + (rs6000_xcoff_unique_section): Set to basic name if not common. + (rs6000_binds_local_p): New function. + * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Set + targetm.have_srodata_section if SDATA_EABI. + (TARGET_IN_SMALL_DATA_P): Define. -Fri Aug 6 15:57:58 1993 Ian Lance Taylor (ian@cygnus.com) +2002-09-04 Dale Johannesen - * 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. + * varasm.c (struct rtx_const, decode_rtx_const): + Make veclo and vechi fields not share storage. - * configure: If config.status did not change, don't update its - modification time. +Thu Sep 5 00:34:33 2002 J"orn Rennecke -Fri Aug 6 15:23:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * loop.c (scan_loop): Don't mark separate insns out of a libcall + for moving. + (move_movables): Abort if we see the first insn of a libcall. - * c-typeck.c (output_init_element): Fix backward test in last change. - Use TYPE_MAIN_VARIANT. +2002-09-04 Richard Henderson -Fri Aug 6 06:43:09 1993 Michael Meissner (meissner@osf.org) + * builtin-types.def (BT_FN_FLOAT): New. + (BT_FN_DOUBLE, BT_FN_LONG_DOUBLE): New. + * builtins.def (BUILT_IN_INF, BUILT_IN_INFF, BUILT_IN_INFL, + BUILT_IN_HUGE_VAL, BUILT_IN_HUGE_VALF, BUILT_IN_HUGE_VALL): New. + * builtins.c (fold_builtin_inf): New. + (fold_builtin): Call it. + * real.c (ereal_inf): New. + * real.h: Declare it. + * doc/extend.texi: Document new builtins. - * g++.c (fancy_abort): Provide function in case user does - #define abort fancy_abort when building GCC. +2002-09-04 Richard Henderson -Fri Aug 6 00:15:21 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cse.c (cse_insn): Avoid subreg games if the equivalence + is already in the proper mode. - * cccp.c (main): If -v, print header search dir list. +2002-09-04 Eric Botcazou - * c-typeck.c (output_init_element): Call default_conversion here. - Set constructor_erroneous, etc., here. - (process_init_element): Not here. + PR c/7102 + * optabs.c (expand_binop): Convert CONST_INTs in all cases. + +2002-09-04 John David Anglin + + * pa.md (setccfp0, setccfp1): New patterns. + +2002-09-04 Kaveh R. Ghazi + + * frv-protos.h (frv_init_builtins, frv_expand_builtin, + frv_select_section, frv_select_rtx_section, + frv_encode_section_info, frv_unique_section): Delete. + * frv.c: Update for target hooks. + * frv.h (STRIP_NAME_ENCODING, SLOW_ZERO_EXTEND, SELECT_SECTION, + SELECT_RTX_SECTION, ENCODE_SECTION_INFO, UNIQUE_SECTION, + EASY_DIV_EXPR, MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Delete. + +2002-09-04 Kaveh R. Ghazi + + * ip2k-protos.h (function_prologue, function_epilogue, + encode_section_info): Update to match target hook specification. + * ip2k.c: Wrap `MDR' code in IP2K_MD_REORG_PASS. + (function_prologue, function_epilogue, encode_section_info): + Update to match target hook specification. + * ip2k.h (SELECT_SECTION, SELECT_RTX_SECTION, ASM_OPEN_PAREN, + ASM_CLOSE_PAREN, EASY_DIV_EXPR): Delete. + (NOTICE_UPDATE_CC): Cast to void. + * ip2k.md: Add defaults in switch statements. + +2002-09-04 Janis Johnson + + * doc/trouble.texi (Interoperation): Update information about C++ ABI + issues. -Thu Aug 5 20:55:47 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +2002-09-04 Jason Thorpe - Cygnus<->FSF merge. + * config/sparc/t-netbsd64: Disable multilib for now. + +2002-09-04 David Edelsohn + + * target-def.h (TARGET_HAVE_SRODATA_SECTION): New macro. + * target.h (gcc_target): Add have_srodata_section member. + * varasm.c (section_category): Add SECCAT_SRODATA. + (categorize_decl_for_section): Return SECCAT_SRODATA for sdata if + READONLY_SDATA_SECTION defined. + (decl_readonly_section_1): True for SECCAT_SRODATA also. + (default_elf_select_section_1): Map SECCAT_SRODATA to .sdata2. + (default_unique_section_1): Likewise. + +2002-09-04 John David Anglin + + * expr.c (emit_group_load): Revise to allow splitting TCmode source + into DImode pieces. + + * pa-64.h (LONG_DOUBLE_TYPE_SIZE): Define to 128. + * pa64-regs.h (CLASS_CANNOT_CHANGE_MODE_P): Inhibit changes from SImode + for floating-point register class. + * pa.c (function_arg): Fix handling of modes wider than one word for + TARGET_64BIT. + +Wed Sep 4 18:48:10 2002 J"orn Rennecke + + * combine.c (make_compound_operation): Don't generate zero / sign + extensions in floating point modes. + +2002-09-04 Janis Johnson + + * doc/c-tree.texi: Fix overfull hboxes. + * doc/cppopts.texi: Ditto. + * doc/extend.texi: Ditto. + * doc/gty.texi: Ditto. + * doc/invoke.texi: Ditto. + * doc/makefile.texi: Ditto. + * doc/rtl.texi: Ditto. + * doc/standards.texi: Ditto. + * doc/tm.texi: Ditto. + +2002-09-04 Richard Henderson + + * c-common.c (builtin_define_with_hex_fp_value): New. + (builtin_define_float_constants): Use it. Fix H_FLOAT mant_dig. + +2002-09-04 Janis Johnson + + * doc/invoke.texi (-fshort-wchar): Move to Code Generation Options. + (-fpcc-struct-return, -freg-struct-return, -fshort-enums, + -fshort-double, -fshort-wchar, -fpack-struct, -fleading-underscore): + Warn that these options can break ABI compatibility. + +2002-09-04 Richard Henderson + + * real.c (ereal_to_decimal): Add digits parameter. + * real.h (REAL_VALUE_TO_DECIMAL): Remove format; add digits parameter. + * c-pretty-print.c (pp_c_real_literal): Update call. + * print-rtl.c (print_rtx): Likewise. + * print-tree.c (print_node_brief, print_node): Likewise. + * sched-vis.c (print_value): Likewise. + * config/arc/arc.c (arc_print_operand): Likewise. + * config/c4x/c4x.c (c4x_print_operand): Likewise. + * config/i370/i370.h (PRINT_OPERAND): Likewise. + * config/i386/i386.c (print_operand): Likewise. + * config/i960/i960.c (i960_print_operand): Likewise. + * config/ip2k/ip2k.c (asm_output_float): Likewise. + * config/m32r/m32r.c (m32r_print_operand): Likewise. + * config/m68hc11/m68hc11.c (print_operand): Likewise. + * config/m68k/hp320.h (PRINT_OPERAND, ASM_OUTPUT_FLOAT_OPERAND, + ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise. + * config/m68k/m68k.h (ASM_OUTPUT_FLOAT_OPERAND, + ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise. + * config/m68k/sun2o4.h (ASM_OUTPUT_FLOAT_OPERAND, + ASM_OUTPUT_DOUBLE_OPERAND): Likewise. + * config/m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND, + ASM_OUTPUT_DOUBLE_OPERAND): Likewise. + * config/mips/mips.c (print_operand): Likewise. + * config/ns32k/ns32k.c (print_operand): Likewise. + * config/pdp11/pdp11.h (PRINT_OPERAND): Likewise. + * config/vax/vax.h (PRINT_OPERAND): Likewise. + * doc/tm.texi (REAL_VALUE_TO_DECIMAL): Update docs. + +2002-09-04 Bob Wilson + + * config/xtensa/elf.h (TARGET_SECTION_TYPE_FLAGS): Define to + xtensa_multibss_section_type_flags. + * config/xtensa/xtensa.c (xtensa_multibss_section_type_flags): Define. + +2002-09-04 Richard Henderson + + * doc/install-old.texi: Don't mention enquire. + * doc/sourcebuild.texi: Update float.h description. + +Wed Sep 4 11:22:14 2002 J"orn Rennecke + + * sh.md (mperm_w_little, mperm_w_big): Supply mode for zero_extract. + +2002-09-03 Roger Sayle + + * builtins.c (build_function_call_expr): Remove prototype, export + as non-static and add a comment above function definition. + (builtin_mathfn_code): New function to check for math builtins. + (fold_builtin): Optimize sqrt(0.0) as 0.0, sqrt(1.0) as 1.0, + exp(0.0) as 1.0, and log(1.0) as 0.0. Optimize exp(log(x)) and + log(exp(x)) as x. Optimize sqrt(exp(x)) as exp(x/2.0) and + log(sqrt(x)) as log(x)/2.0. + + * tree.h: Prototype build_function_call_expr and builtin_mathfn_code + in new "builtins.c" section. Place the build_range_type prototype + with the other prototypes from "tree.c". + + * fold-const.c (fold) [ABS_EXPR]: Fold fabs(sqrt(x)) as sqrt(x) + and fabs(exp(x)) as exp(x). [MULT_EXPR]: Fold sqrt(x)*sqrt(y) + as sqrt(x*y) and exp(x)*exp(y) as exp(x+y). [RDIV_EXPR]: Fold + x/exp(y) as x*exp(-y). + +2002-09-03 David Edelsohn + + * varasm.c (default_section_type_flags): Append _1 to name with + shlib parameter. Use original name to call new function with + implicit flag_pic. + (decl_readonly_section): Likewise. + (default_elf_select_section): Likewise. + (default_unique_section): Likewise. + (default_bind_local_p): Likewise. + (categorize_decl_for_section): Add shlib parameter to use in place + of implicit flag_pic. + * output.h: Declare new functions with _1 and shlib argument. + +2002-09-03 Janis Johnson + + * doc/install.texi: Fix typos, formatting problems, and obvious + overfull/underfull boxes. + + * Makefile.in (TEXI_GCC_FILES): Add compat.texi. + * doc/gcc.texi (Top): Add new chapter, Binary Compatibility, and + include its file, compat.texi. + * doc/compat.texi: New file with new chapter, Binary Compatibility. + +2002-09-03 Neil Booth + + Debian BTS Bug #157416 + * cpphash.h (FIRST, LAST, CUR, RLIMIT): Fix definitions. + * cpplib.c (destringize_and_run): Kludge around getting + tokens from in-progress macros. + (_cpp_do__Pragma): Simplify. + +2002-09-03 Steve Ellcey + + * config/ia64/ia64.h (EXTRA_SPECS): Remove cpp_cpu. + (CPP_CPU_SPEC): Remove. + (TARGET_CPU_CPP_BUILTINS): New. + * config/ia64/hpux.h (CPP_PREDEFINES): Remove. + (CPP_SPEC): Remove. + (TARGET_OS_CPP_BUILTINS): New. + * config/ia64/linux.h (CPP_PREDEFINES): Remove. + (TARGET_OS_CPP_BUILTINS): New. + * config/ia64/aix.h (CPP_SPEC): Move some stuff to + TARGET_OS_CPP_BUILTINS. + (CPP_PREDEFINES): Remove. + (CPLUSPLUS_CPP_SPEC): Remove. + (TARGET_OS_CPP_BUILTINS): New. + +2002-09-03 Richard Henderson + + * Makefile.in (USER_H): Add ginclude/float.h. + (FLOAT_H): Remove. + (stmp-int-hdrs, install-mkheaders): Don't handle FLOAT_H. + (mostlyclean): Don't remove float.h intermediate files. + (distclean): Don't remove float.h. + * config.gcc: Remove all float_format references. + * configure.in (float_format, float_h_file): Remove. + + * c-common.c: Include tree-inline.h. + (builtin_define_with_int_value): New. + (builtin_define_type_precision): Use it. + (builtin_define_float_constants): New. + (cb_register_builtins): Use it. Define __FLT_RADIX__ and + __FLT_EVAL_METHOD__. + * defaults.h (TARGET_FLT_EVAL_METHOD): New. + * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): New. + * config/m68k/m68k.h (TARGET_FLT_EVAL_METHOD): New. + * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Mention moto 96-bit format. + (TARGET_FLT_EVAL_METHOD): New. + + * config/float-c4x.h, config/float-i128.h, config/float-i32.h, + config/float-i386.h, config/float-i64.h, config/float-m68k.h, + config/float-sh.h, config/float-sparc.h, config/float-vax.h: Remove. + * ginclude/float.h: New. + +2002-09-03 Stan Shebs + + * config/darwin.h (WARN_FOUR_CHAR_CONSTANTS): Remove, never used. + (DWARF2_DEBUGGING_INFO): Remove until assembler accepts Dwarf-2. + (PREFERRED_DEBUGGING_TYPE): Ditto. + (ASM_OUTPUT_IDENT): Remove empty definition. + +2002-09-03 Steve Ellcey + + * config.gcc (ia64*-*-hpux*): Add ia64-c.o to c_target and + cxx_target. + * config/ia64/hpux.h (REGISTER_TARGET_PRAGMAS): Register pragma + handling routine for builtin pragma. + * config/ia64/ia64-protos.h (ia64_hpux_handle_builtin_pragma): + Registered pragma handling routine. + * ia64-c.c (ia64_hpux_handle_builtin_pragma): Ditto. + (ia64_hpux_add_pragma_builtin) New subroutine used by above. + If builtin pragma seen for math routine and C89 conformance is + requested use different math function in order to set errno. + * t-ia64 (ia64-c.o): Add new rule for new file. + +2002-09-03 Ulrich Weigand + + * config/s390/s390.md ("movti"): Add Q->Q alternative. + ("*movdi_64", "*movdi_31", "*movsi", "movhi", "movqi_64", + "movqi", "*movdf_64", "*movdf_31", "*movsf"): Likewise. + + ("*movti_ss", "*movdi_ss", "*movsi_ss", "*movdf_ss", + "*movsf_ss"): Remove. + +2002-09-03 John David Anglin + + * pa32-regs.h (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P): + Delete macros. + +2002-09-03 Arati Dikey + + * h8300.c (asm_file_start): Corrected optimization comment. + +2002-09-03 Stan Shebs + + * c-lang.c (recognize_objc_keyword): Remove, no longer used. + * c-tree.h (recognize_objc_keyword): Remove decl. + * c-typeck.c (comp_target_types): Update a comment. + +2002-09-03 Ulrich Weigand + + * config/s390/s390.c (s390_decompose_address): Remove STRICT parameter + and register validity checks. + (general_s_operand): Adapt to s390_decompose_address interface change. + (q_constraint): Likewise. + (s390_expand_plus_operand): Likewise. + (legitimiate_address_p): Likewise. + (legitimate_la_operand_p): Likewise. + (legitimize_la_operand): Likewise. + (print_operand_address): Likewise. + (print_operand): Likewise. + +Tue Sep 3 11:32:14 2002 Nicola Pero + + PR objc/5956: + * objc/objc-act.c (build_typed_selector_reference): Fix typo which + was causing the new selector never to match the existing ones + (Patch by Alexander Malmberg ). + +2002-09-03 Graham Stott + + * config/i386/i386.md ("femms"): Add "memory" attr "none". + +2002-09-03 Graham Stott + + * expr.c (expand_expr): Remove extraneous comment and code. + +2002-09-02 Nathan Sidwell + + * stor-layout (finish_builtin_struct): Renamed and moved from c++ + frontend. Take chain of fields. Allow NULL alignment type. + * tree.h (finish_builtin_struct): Declare. + +2002-09-01 Kaveh R. Ghazi + + * config/alpha/alpha.c config/alpha/alpha.h config/alpha/alpha.md + config/alpha/elf.h config/alpha/unicosmk.h config/alpha/vms.h + config/arc/arc.c config/arc/arc.h config/arm/aout.h + config/arm/arm.c config/arm/arm.h config/arm/arm.md + config/avr/avr.h config/d30v/d30v.h config/dbxcoff.h + config/dbxelf.h config/elfos.h config/fr30/fr30.h config/frv/frv.h + config/i386/i386.c config/i386/i386.md config/i386/sco5.h + config/ia64/ia64.h config/ip2k/ip2k.h config/m68hc11/m68hc11.md + config/m68k/hp320.h config/m68k/m68k.c config/m68k/m68k.md + config/m68k/mot3300.h config/m68k/sgs.h config/m68k/tower-as.h + config/m88k/m88k.c config/m88k/m88k.h config/mcore/mcore-pe.h + config/mcore/mcore.c config/mips/mips.c config/mips/mips.h + config/ns32k/ns32k.md config/pa/pa-linux.h config/pa/pa.c + config/pa/pa.h config/pa/pa.md config/romp/romp.h + config/rs6000/linux64.h config/rs6000/lynx.h + config/rs6000/rs6000.c config/rs6000/sysv4.h config/rs6000/xcoff.h + config/s390/s390.c config/s390/s390.md config/sh/sh.c + config/sparc/sparc.c config/sparc/sysv4.h + config/stormy16/stormy16.h dbxout.c defaults.h dwarf2out.c + dwarfout.c except.c final.c varasm.c vmsdbgout.c: Replace + ASM_OUTPUT_INTERNAL_LABEL macro with a call to the target hook. + + * doc/tm.texi: Update docs. + * default.h (ASM_OUTPUT_INTERNAL_LABEL): Don't define. + * system.h (ASM_OUTPUT_INTERNAL_LABEL): Poison. + +2002-08-31 Kaveh R. Ghazi + + * Makefile.in (sdbout.o, insn-output.o): Depend on $(TARGET_H). + * arc.c (arc_internal_label): New function. + (TARGET_ASM_INTERNAL_LABEL): Set. + * arc.h (ASM_OUTPUT_INTERNAL_LABEL): Delete. + * arm.c (arm_internal_label): New function. + (TARGET_ASM_INTERNAL_LABEL): Set. + * arm.h (ASM_OUTPUT_INTERNAL_LABEL): Delete. + * arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Delete. + * i370.c (i370_internal_label): New function. + (TARGET_ASM_INTERNAL_LABEL): Set. + * i370.h (ASM_OUTPUT_INTERNAL_LABEL): Delete. + * m68k/hp320.h (ASM_OUTPUT_INTERNAL_LABEL): Delete. + * m68k.c (m68k_hp320_internal_label): New function. + (TARGET_ASM_INTERNAL_LABEL): Set. + * m88k.c (m88k_internal_label): New function. + (TARGET_ASM_INTERNAL_LABEL): Set. + * m88k.h (ASM_OUTPUT_INTERNAL_LABEL): Delete. + * defaults.h (ASM_OUTPUT_INTERNAL_LABEL): Set to target hook. + * genoutput.c (output_prologue): Include target.h in output file. + * output.h (default_internal_label): Declare. + * sdbout.c: Include target.h. + * target-def.h (TARGET_ASM_INTERNAL_LABEL): Set and add to + TARGET_ASM_OUT. + * target.h (internal_label): Add to struct gcc_target. + * varasm.c (default_internal_label): New function. + +2002-08-31 Kaveh R. Ghazi + + * alpha.h (ASM_OUTPUT_INTERNAL_LABEL): Delete. + * avr.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * c4x.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * cris.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * d30v.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * darwin.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * dsp16xx.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * elfos.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * h8300.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * i386/att.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * i386/bsd.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * i386/i386-coff.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * i386/lynx-ng.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * i386/lynx.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * i386/sco5.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * i960/i960.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * m68k/3b1.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * m68k/amix.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * m68k/atari.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * m68k.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * m68k/mot3300.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * m68k/tower-as.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * m88k.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * mcore.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * mips.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * mmix-protos.h (mmix_asm_output_internal_label): Likewise. + * mmix.c (mmix_asm_output_internal_label): Likewise. + * mmix.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * ns32k.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * pa.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * pdp11.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * romp.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * rs6000/xcoff.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * sh/coff.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * sh/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * sparc/freebsd.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * sparc/linux.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * sparc/linux64.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * sparc/netbsd-elf.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * sparc/pbd.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * sparc/sol2.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * sparc.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * sparc/vxsim.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * stormy16.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * svr3.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * vax.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + + * defaults.h (ASM_OUTPUT_INTERNAL_LABEL): Define. + +2002-08-31 Richard Henderson + + * expr.c (block_move_libcall_safe_for_call_parm): Fix thinko. + +2002-08-31 John David Anglin + + * pa.c (pa_globalize_label): Add ATTRIBUTE_UNUSED to prototype. + +2002-08-30 Richard Henderson + + PR opt/7515 + * c-objc-common.c: Include target.h. + (c_cannot_inline_tree_fn): Don't auto-inline functions that + don't bind locally. Factor setting DECL_UNINLINABLE. + * Makefile.in (c-objc-common.o): Update. + +2002-08-30 Janis Johnson + + * doc/install.texi (Configuration, Building): Fix a typo and + some formatting directives. + +2002-08-30 Paul Koning + + * doc/c-tree.texi (RDIV_EXPR): Fix typo. + * doc/rtl.texi (post_modify): Remove misplaced text, remove "not + implemented" note. + * doc/md.texi (IP2K): Move machine-specific constraints before MIPS + for alphabetic order. + * doc/tm.texi (TARGET_FLOAT_FORMAT): Update description for + VAX_FLOAT_FORMAT. Remove reference to HOST_FLOAT_FORMAT. + (VAX_HALFWORD_ORDER): Document. + (LARGEST_EXPONENT_IS_NORMAL): Remove note about being only for + IEEE float format. + (TARGET_SCHED_ISSUE_RATE): Reword reference to MAX_DFA_ISSUE_RATE. + (ASM_OUTPUT_LABEL_REF): Fix font. + (CASE_VECTOR_SHORTEN_MODE): Ditto. + +2002-08-30 Denis Chertykov + + * config/ip2k/ip2k.c (ip2k_set_compare): Remove all const_double + stuff. + (ip2k_gen_unsigned_comp_branch): Handle CONST_INT and + CONST_DOUBLE constants. + +2002-08-30 Jason Thorpe + + * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Move language- + related defines to... + (SUBTARGET_LANGUAGE_CPP_BUILTINS): ...here. + * config/alpha/netbsd.h (SUBTARGET_LANGUAGE_CPP_BUILTINS): Redefine + as a no-op. + +2002-08-30 Krister Walfridsson + + * config/arm/arm.c (arm_asm_output_labelref): New function. + * config/arm/arm.h (ASM_OUTPUT_LABELREF): Call arm_asm_output_labelref. + * config/arm/arm-protos.h: Add prototype for arm_asm_output_labelref. + +2002-08-29 Rodney Brown + + * doc/install.texi (Specific, alpha*-dec-osf*): Add "virtual + memory exhausted" workarounds. + +2002-08-30 Gabriel Dos Reis + + * diagnostic.c (fancy_abort): Don't repeat "internal error". + * toplev.c (crash_signal): Likewise. + +Fri Aug 30 00:33:37 2002 Nicola Pero + + * doc/cpp.texi (__NEXT_RUNTIME__): Extended documentation. + * doc/invoke.texi (-fnext-runtime, -Wno-protocol, -Wselector): + Extended, updated documentation. + (-Wundeclared-selector): Documented. + +2002-08-29 Jason Thorpe + + * config/chorus.h: Consistently define *_DEBUGGING_INFO with + the value 1. Do not undef before defining. + * config/darwin.h: Likewise. + * config/dbx.h: Likewise. + * config/dbxcoff.h: Likewise. + * config/dbxelf.h: Likewise. + * config/elfos.h: Likewise. + * config/interix.h: Likewise. + * config/lynx-ng.h: Likewise. + * config/lynx.h: Likewise. + * config/netware.h: Likewise. + * config/psos.h: Likewise. + * config/svr3.h: Likewise. + * config/alpha/alpha.h: Likewise. + * config/alpha/elf.h: Likewise. + * config/alpha/vms.h: Likewise. + * config/arc/arc.h: Likewise. + * config/arm/aout.h: Likewise. + * config/arm/coff.h: Likewise. + * config/c4x/c4x.h: Likewise. + * config/h8300/h8300.h: Likewise. + * config/i386/cygwin.h: Likewise. + * config/i386/djgpp.h: Likewise. + * config/i386/gas.h: Likewise. + * config/i386/gstabs.h: Likewise. + * config/i386/i386-coff.h: Likewise. + * config/i386/i386-interix.h: Likewise. + * config/i386/sco5.h: Likewise. + * config/i386/svr3dbx.h: Likewise. + * config/i386/sysv3.h: Likewise. + * config/i386/win32.h: Likewise. + * config/i386/x86-64.h: Likewise. + * config/i960/i960.h: Likewise. + * config/ia64/ia64.h: Likewise. + * config/ip2k/ip2k.h: Likewise. + * config/m32r/m32r.h: Likewise. + * config/m68k/3b1.h: Likewise. + * config/m68k/3b1g.h: Likewise. + * config/m68k/ccur-GAS.h: Likewise. + * config/m68k/coff.h: Likewise. + * config/m68k/hp2bsd.h: Likewise. + * config/m68k/hp310g.h: Likewise. + * config/m68k/hp320g.h: Likewise. + * config/m68k/hp3bsd.h: Likewise. + * config/m68k/hp3bsd44.h: Likewise. + * config/m68k/linux-aout.h: Likewise. + * config/m68k/m68k-aout.h: Likewise. + * config/m68k/mot3300.h: Likewise. + * config/m68k/netbsd.h: Likewise. + * config/m68k/openbsd.h: Likewise. + * config/m68k/pbb.h: Likewise. + * config/m68k/plexus.h: Likewise. + * config/m68k/sun2.h: Likewise. + * config/m68k/sun3.h: Likewise. + * config/m68k/tower-as.h: Likewise. + * config/m68k/vxm68k.h: Likewise. + * config/m88k/aout-dbx.h: Likewise. + * config/m88k/m88k-aout.h: Likewise. + * config/mcore/mcore-elf.h: Likewise. + * config/mcore/mcore-pe.h: Likewise. + * config/mips/elf.h: Likewise. + * config/mips/elf64.h: Likewise. + * config/mips/iris5gas.h: Likewise. + * config/mips/iris6.h: Likewise. + * config/mips/mips.h: Likewise. + * config/mips/sni-gas.h: Likewise. + * config/mmix/mmix.h: Likewise. + * config/ns32k/netbsd.h: Likewise. + * config/pa/pa64-hpux.h: Likewise. + * config/romp/romp.h: Likewise. + * config/rs6000/sysv4.h: Likewise. + * config/rs6000/xcoff.h: Likewise. + * config/sh/coff.h: Likewise. + * config/sh/elf.h: Likewise. + * config/sparc/linux64.h: Likewise. + * config/sparc/liteelf.h: Likewise. + * config/sparc/netbsd.h: Likewise. + * config/sparc/openbsd.h: Likewise. + * config/sparc/pbd.h: Likewise. + * config/sparc/sp64-elf.h: Likewise. + * config/sparc/sp86x-elf.h: Likewise. + * config/sparc/sparc.h: Likewise. + * config/vax/vax.h: Likewise. + * config/vax/vaxv.h: Likewise. + +2002-08-29 "Dhananjay R. Deshpande" + + * h8300.c (shift_alg_hi): Various tweaks to improve performance + of HImode shifts. + (get_shift_alg): Corresponding changes. + +2002-08-29 John David Anglin + + * som.h (ALWAYS_STRIP_DOTDOT): Define to 1. + +2002-08-29 Richard Henderson + + * expr.h (enum block_op_methods): New. + (emit_block_move): Update prototype. + * expr.c (block_move_libcall_safe_for_call_parm): New. + (emit_block_move_via_loop): New. + (emit_block_move): Use them. New argument METHOD. + (emit_push_insn): Always respect the given alignment. + (expand_assignment): Update call to emit_block_move. + (store_expr, store_field, expand_expr): Likewise. + * builtins.c (expand_builtin_apply): Likewise. + (expand_builtin_memcpy, expand_builtin_va_copy): Likewise. + * function.c (expand_function_end): Likewise. + * config/sh/sh.c (sh_initialize_trampoline): Likewise. + * config/sparc/sparc.c (sparc_va_arg): Likewise. + * calls.c (expand_call, emit_library_call_value_1): Likewise. + (save_fixed_argument_area): Use emit_block_move with + BLOCK_OP_CALL_PARM instead of move_by_pieces. + (restore_fixed_argument_area): Likewise. + (store_one_arg): Fix alignment parameter to emit_push_insn. + +2002-08-29 John David Anglin + + * install.texi (hppa64-hp-hpux11*): Document installation procedure. + +2002-08-29 Catherine Moore + + * config/v850/v850.h (MULDI3_LIBCALL, UCMPDI2_LIBCALL, CMPDI2_LIBCALL, + NEGDI2_LIBCALL, INIT_TARGET_OPTABS, MASK_STRICT_ALIGN): Define. + (PREDICATE_CODES): Include new predicates. + (RTX_COSTS): Handle UMOD and UDIV. Tune MULT for v850e. + (TARGET_SWITCHES): Add strict-align. + (TARGET_STRICT_ALIGN): New. + (MASK_DEFAULT, STRICT_ALIGNMENT): Redefine. + * config/v850/t-v850 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): + Define. + (LIB1ASMFUNCS): Add v850_negdi2, v850_cmpdi2, v850_ucmpdi2, + v850_muldi3. + * config/v850/lib1funcs.asm (L_callt_save_r2_r29, L_return_r2_r29, + L_callt_save_r2_r31, L_return_r2_r31, + L_save_all_interrupt): Change addi to add. + (L_save_interrupt, L_return_interrupt): Rework. + (__return_r31): Correct .size directive. + (mulsi3, divsi3, udivsi3, umodsi3, modsi3): Tune for v850e. + (v850_negdi2, v850_cmpdi2, v850_ucmpdi2, v850_muldi3): + New routines. + * config/v850/v850.c (expand_prologue): Call + gen_callt_save_interrupt, gen_callt_restore_all_interrupt, + gen_callt_return_interrupt and gen_callt_save_all_interrupt. + (reg_or_int9_operand): New predicate. + (reg_or_const_operand): New routine. + * config/v850/v850.md (return_interrupt): Changed from + restore_interrupt. + (callt_save_all_interrupt): Changed from save_all_interrupt_v850e. + (callt_save_interrupt): Change save sequence. + (callt_return_interrupt): New. + (save_interrupt): Don't use runtime function for LONG_CALLS + and TARGET_PROLOG_FUNCTION. + (save_all_interrupt): Likewise. + (mulsi3): Use new predicate. + (moviscc): Disallow some combination of constants. + Fix define_split for sasf insns, so that it will not generate bad + code if operand0 and operand5 are the same. + * config/v850/v850-protos.h: Prototype new predicates. + +2002-08-29 Zack Weinberg + + * config/rs6000/rs6000.c (processor_target_table): Add 405f. + * config/rs6000/rs6000.h (ASM_CPU_SPEC): Likewise. + +2002-08-28 Gabriel Dos Reis + + * c-common.c (builtin_define_type_precision): New function. + (cb_register_builtins): Use it. Define __WCHAR_UNSIGNED__ is + wchar_t is unsigned in C++. + * doc/cpp.texi (Common Predefined Macros): Document + __WCHAR_UNSIGNED__, __CHAR_BIT__, __WCHAR_BIT__, __SHRT_BIT__, + __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__, + __DOUBLE_BIT__, __LONG_DOUBLE_BIT__. + +2002-08-28 Sylvain Pion + + * doc/invoke.texi (-Wreorder): Remove remaining pieces from the generic + section. Mention that it is enabled by -Wall. + (-Wall): Mention that there can be language-specific warnings as well. + (-Wctor-dtor-privacy): Mention that it is enabled by default. + (-Wnon-virtual-dtor): Mention that it is enabled by -Wall. + +Wed Aug 28 15:35:17 2002 J"orn Rennecke + + * sh.c (calc_live_regs): Save FPSCR_REG in an interrupt handler + if it is ever live. + + * sh.c (sh_handle_interrupt_handler_attribute): Reject interrupt_handler + attribute for SHCOMPACT. + + * sh.h (OVERRIDE_OPTIONS): If align_function isn't set, set it + appropriately. + (FUNCTION_BOUNDARY): Specify only the minimum alignment required + by the ABI. + + * sh.h (SH5_WOULD_BE_PARTIAL_NREGS): Also handle TImode case. + +2002-08-28 Jason Thorpe + + * config.gcc (mips*-*-netbsd*): Set target_cpu_default to + "MASK_GAS|MASK_ABICALLS". + * config/mips/netbsd.h (TARGET_ENDIAN_DEFAULT) + (TARGET_DEFAULT): Remove. + (MACHINE_TYPE): Undefine before defining. + (DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Remove. + +2002-08-27 Mark Mitchell + + * c-common.c (warn_abi): New variable. + * c-common.h (warn_abi): Likewise. + * c-opts.c (COMMAND_LINE_OPTIONS): Add -Wabi. + (c_common_decode_option): Handle it. + * doc/invoke.texi: Document -Wabi. + +Tue Aug 27 23:03:52 2002 Nicola Pero + + * c-common.c (warn_undeclared_selector): New variable. + * c-common.h (warn_undeclared_selector): Idem. + * c-opts.c (c_common_decode_option): Set warn_undeclared_selector + to on when -Wundeclared-selector is found. + (COMMAND_LINE_OPTIONS): Added -Wundeclared-selector. + * objc/objc-act.c (build_selector_expr): If + warn_undeclared_selector is set, check that the selector has + already been defined, and emit a warning if not. + +2002-08-27 Nick Clifton + Catherine Moore + Jim Wilson + + * config.gcc: Add v850e-*-* target. + Add --with-cpu= support for v850. + * config/v850/lib1funcs.asm: Add v850e callt functions. + * config/v850/v850.h: Add support for v850e target. + * config/v850/v850.c: Add functions to support v850e target. + * config/v850/v850-protos.h: Add prototypes for new functions in v850.c. + * config/v850/v850.md: Add patterns for v850e instructions. + * doc/invoke.texi: Document new v850e command line switches. - Thu Aug 5 17:07:20 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Tue Aug 27 18:30:47 2002 J"orn Rennecke + Aldy Hernandez - * 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. + * doc/tm.texi: Applied numerous fixes to the automaton based + scheduler descrition. - Thu Aug 5 15:50:25 1993 Mike Stump (mrs@cygnus.com) +Tue Aug 27 19:51:05 CEST 2002 Jan Hubicka - * 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. + * i386.c (classify_argument): Handle variable sized objects. - Wed Aug 4 15:42:19 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Tue Aug 27 19:18:16 CEST 2002 Jan Hubicka - * 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). + * i386.c (ix86_expand_int_movcc): Fix RTL sharing problem - Wed Aug 4 14:40:35 1993 Mike Stump (mrs@cygnus.com) +Tue Aug 27 18:01:45 CEST 2002 Jan Hubicka - * 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. + * libgcc2.c (__bb_exit_func): Properly write the summarized statistics. - Tue Aug 3 08:24:50 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +Tue Aug 27 18:00:11 CEST 2002 Jan Hubicka - * 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. + * i386.c (classify_argument): Properly compute word size of the analyzed object. - * cp-decl2.c (walk_vtables): Make sure the type of VARS isn't an - error_mark_node when we're running down the list. +Tue Aug 27 14:39:09 2002 J"orn Rennecke - * cp-decl.c (grokdeclarator): Give an error and return an - error_mark_node, instead of saying sorry, when we're dealing with a - structure that's not yet been defined. Make sure type isn't an - error_mark_node when looking for an anonymous type. - - * cp-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. - - * cp-search.c (pop_search_level): Change from a macro into a - function, so we can more easily debug it. - - * cp-search.c (dfs_debug_mark): Only mark the type name as ignored - if we aren't doing dwarf debugging. - - * cp-typeck.c (build_unary_op): Only allow the prefix operators to - be lvalues, not the postfix ones. - - * cp-decl.c (duplicate_decls): Delete the code that saved and - restored the UID of a decl, it's no longer necessary. - - * cp-call.c (compute_conversion_costs_ansi): Avoid generating - warnings when we call build_type_conversion. - - Mon Aug 2 17:56:36 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * 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. - - Fri Jul 30 18:03:10 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-class.c, cp-decl.c, cp-pt.c, cp-tree.h: Delete all of the old - code for DEBUG_CP_BINDING_LEVELS, and replace it with a new, cleaner, - and more usable format. - - Fri Jul 30 17:06:24 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-class.c (build_vtable, prepare_fresh_vtable): Temporarily - disable the change of June 20th making vtables readonly by default. - - Fri Jul 30 14:47:09 1993 Mike Stump (mrs@cygnus.com) - - * cp-init.c (emit_base_init): Make sure we initialize the pointer to - vtables even when we are not in charge. Fixes virtual calls to derived - objects that have a static base type, so that they call derived - functions, not base functions. - * cp-search.c (build_vbase_vtables_init): Change comments to reflect - uses of last argument more accurately. Also rename last argument to - a better name. - - Wed Jul 28 16:23:52 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-search.c (build_type_pathname): Deleted fn. - * cp-class.c (build_type_pathname): Moved to here and made static, - since prepare_fresh_vtable is the only fn that ever uses it. - * cp-tree.h (build_type_pathname): Deleted prototype. - - * g++.c (error) [!HAVE_VFPRINTF]: Move before fatal to avoid an - implicit declaration. - - Wed Jul 28 13:49:58 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) - - * Makefile.in (g++-cross): Add an explicit $(srcdir) for g++.c, pass - the quotes as part of GCC_NAME - - * g++.c: only define GCC_NAME if it's already undefined - - Tue Jul 27 10:48:30 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-decl.c (finish_decl): Don't error on uninitialized const - arrays. Use error, not error_with_decl, so we know what really - brought about the problems. - - * 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. - - Mon Jul 26 09:40:37 1993 Brendan Kehoe (brendan@lisa.cygnus.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. - - Fri Jul 23 08:33:32 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-call.c (build_method_call): Check DECL_STATIC_FUNCTION_P, not - TREE_STATIC, when validating a method call in a static call context. - -Thu Aug 5 19:18:00 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * tree.h (TYPE_OBSTACK): New macro. - (struct tree_type): Add new field obstack. - * tree.c (make_node, copy_node): Set TYPE_OBSTACK. - (build_type_variant, build_type_copy, build_pointer_type): Put - new node in same obstack as old node; use push/pop obstacks. - * stor-layout.c (layout_type): Put size-related nodes in same - obstack as type. - - * reload.c (push_reload, find_reloads): Refine when we reload - inside a SUBREG by respecting BYTE_LOADS_*_EXTEND; see comments - in push_reload. - -Thu Aug 5 14:17:59 1993 Michael Meissner (meissner@osf.org) - - * i386/osfrose.h (ASM_DECLARE_FUNCTION_SIZE): Enable setting the - size for elf functions. - -Thu Aug 5 01:44:37 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * 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. - -Thu Aug 5 00:06:45 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * collect2.c (handler): Check whether c_file and o_file are 0. - -Wed Aug 4 18:06:26 1993 Samuel A. Figueroa (figueroa@cs.nyu.edu) + * sh.md (attribute type): Add types mt_group, fload, pcfload, fpul_gp, + mac_gp ftrc_s and cwb. Add / Adjust definitions in individual insn + accordingly. + (attribute insn_class): Provide default definitions based on type. + Remove all insn-specific settings. + (various function units): Remove old SH4 scheduling. + (branch_zero, dfp_comp, late_fp_use, any_fp_comp, any_int_load): + New attributes. Set them where appropriate. + (cpu unit FS): Don't define / use. + (F3, load_store): New cpu units. + (F01): New reservation. + (all insn_reservations): Make dependent on sh4 pipeline model. + Fix latencies. + (nil, reg_mov, freg_mov, sh4_fpul_gp, sh4_call): New insn_reservations. + (sh4_mac_gp, fp_arith_ftrc, arith3, arith3b): Likewise. + (mt insn_reservation): Use type mt_group. + (insn_reservation load_store): Split into sh4_load, sh4_load_si, + sh4_fload and sh4_store. + (insn_reservation branch_zero and branch): Replace with sh4_branch. + (insn_reservation branch_far): Replace with sh4_return. + (insn_reservation return_from_exp): Rename to: + (sh4_return_from_exp). Change to be just d_lock*5. + (insn_reservation lds_to_pr): Rename to: + (sh4_lds_to_pr). Change to be just d_lock*2. + (insn_reservation ldsmem_to_pr, sts_from_pr): Change to be just + d_lock*2. + (insn_reservation prload_mem): Rename to: + (sh4_prstore_mem). Change to d_lock*2,nothing,memory. + (insn_reservation fpscr_store): Rename to: + (fpscr_load). Change to d_lock,nothing,F1*3. + (insn_reservation fpscr_store_mem): Rename to: + (fpscr_load_mem). Change to d_lock,nothing,(F1+memory),F1*2. + (insn_reservation multi): Change to + d_lock,(d_lock+f1_1),(f1_1|f1_2)*3,F2. + (insn_reservation fp_arith): Change to issue,F01,F2. + (insn_reservation fp_div: Change to issue,F01+F3,F2+F3,F3*7,F1+F3,F2. + (insn_reservation dp_float): Change to issue,F01,F1+F2,F2. + (insn_reservation fp_double_arith): Change to issue,F01,F1+F2,fpu*4,F2. + (insn_reservation fp_double_cmp): Change to + d_lock,(d_lock+F01),F1+F2,F2. + (insn_reservation dp_div): Change to + issue,F01+F3,F1+F2+F3,F2+F3,F3*16,F1+F3,(fpu+F3)*2,F2. + * sh.c (flow_dependent_p, flow_dependent_p_1): New functions. + (sh_adjust_cost, SHcompact): Differentiate between different + kinds of dependencies. Drop factor of ten for superscalar. + Use new instruction types. Add new exception rules. + + * sh.md (mulhisi3, umulhisi3: Add a REG_EQUAL note. + + * sh.md (mperm_w): Add DONE. + +2002-08-27 David Edelsohn + + * longlong.h: Import current PowerPC defintion from GMP-4.1. + + * config/rs6000/rs6000.h (MIN_UNITS_PER_WORD): Add IN_LIBGCC2 case. + + * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Undef before define. + +Tue Aug 27 13:53:57 2002 J"orn Rennecke + + * sh.h (MAX_FIXED_MODE_SIZE): Define. + +2002-08-27 Gabriel Dos Reis + + * doc/cpp.texi (Common Predefined Macros): Don't mess with table + delimiter. + +2002-08-27 Gabriel Dos Reis + + * c-common.c (cpp_define_data_format): New function. + (cb_register_builtins): Call it. + + * doc/cpp.texi (Common Predefined Macros): Document + __TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__, + __TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__, + __TARGET_FLOAT_FORMAT__, __TARGET_USES_VAX_F_FLOAT__, + __TARGET_USES_VAX_D_FLOAT__, __TARGET_USES_VAX_G_FLOAT__, + __TARGET_USES_VAX_H_FLOAT__. + +2002-08-26 Ziemowit Laski + + * objc/objc-act.c (get_super_receiver): If inside a class method + of a category, cast the receiver to 'id' before accessing the 'isa' + field so that is not needed. For NeXT runtime. + +2002-08-26 Ulrich Weigand + + * config/s390/s390-protos.h (s390_function_prologue, + s390_function_epilogue): Remove. + config/s390/s390.c (s390_function_prologue, s390_function_epilogue, + TARGET_ASM_FUNCTION_PROLOGUE, TARGET_ASM_FUNCTION_EPILOGUE): Remove. + + config/s390/s390.c (s390_machine_dependent_recorg): New function. + config/s390/s390-protos.h (s390_machine_dependent_reorg): Declare it. + config/s390/s390.h (MACHINE_DEPENDENT_REORG): Call it. + config/s390/s390.c (s390_split_branches, s390_chunkify_pool): Adapt + to being called from MACHINE_DEPENDENT_REORG. Update regs_ever_live. + + config/s390/s390.c (s390_frame_info): Inline save_fprs_p. Always + assume BASE_REGISTER and RETURN_REGNUM need to be saved. + (s390_emit_prologue): Assume RETURN_REGNUM to be saved iff + function is not a leaf function. Use save_gprs and restore_gprs. + (s390_emit_epilogue): Likewise. + (save_gprs, restore_gprs): New functions. + (struct s390_frame): Remove return_reg_saved_p member. + (save_fprs_p): Remove. + (s390_optimize_prolog): New function. + (s390_legitimate_reload_constant): Remove now unnecessary check. + + (s390_function_count): Remove. + (s390_output_symbolic_const): Replace s390_function_count by + current_function_funcdef_no. + (s390_output_constant_pool): Likewise. + + (legitimize_pic_address): Use regs_ever_live to track PIC register + instead of current_function_uses_pic_offset_table. + (s390_emit_prologue): Likewise. + config/s390/s390.md ("call", "call_value"): Likewise. + +2002-08-26 Neil Booth + + * c-opts.c (find_opt): Don't complain about wrong languages + here. Return exact matches even for wrong language. + (c_common_decode_option): Complain about wrong languages + here. - * i386/gas.h (ASM_FILE_START): Write out two backslashes for each - backslash in the filename. +2002-08-24 Stuart Hastings -Wed Aug 4 18:00:43 1993 Holger Teutsch (holger@hotbso.rhein-main.de) + * function.h (struct function): Add flag + all_throwers_are_sibcalls. + * except.c (set_nothrow_function_flags): Replaces + nothrow_function_p. Set new flag. + * except.h (set_nothrow_function_flags): Replaces + nothrow_function_p. + * dwarf2out.c (struct dw_fde_struct): Add flag + all_throwers_are_sibcalls. + (output_call_frame_info): Test it. + (dwarf2out_begin_prologue) Propagate it from cfun to + dw_fde_struct. + * toplev.c (rest_of_compilation): Update calls to + nothrow_function_p. - * clipper.md (movdf+2): Allow `f' register as source operand in - first alternative. +2002-08-23 Zack Weinberg -Wed Aug 4 07:35:03 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * ggc-page.c (compute_inverse): Short circuit calculation for + object sizes larger than half a page. - * reload1.c (eliminate_regs_in_insn): Always do elimination in - REG_NOTES if we changed anything in the insn. +2002-08-23 David Edelsohn - * genattrtab.c: Include gvarargs.h after hconfig.h, like elsewhere. + * config/rs6000/rs6000.c (rs6000_elf_select_section): Treat + DEFAULT_ABI == ABI_AIX like PIC. Test PIC & reloc for readonly + default. + (rs6000_elf_unique_section): Likewise. -Wed Aug 4 01:32:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-08-23 Kaveh R. Ghazi - * c-typeck.c (output_init_element): Call digest_init before - calling output_constant. Always pass 0, 0 for last 2 args - to digest_init. + * ns32k.c (ns32k_globalize_label): Delete. + * ns32k.h (ASM_OUTPUT_LABEL, TARGET_ASM_GLOBALIZE_LABEL): Delete. - * expr.c (do_tablejump) [PIC_CASE_VECTOR_ADDRESS]: If pic, - copy INDEX to a register early, to avoid invalid address later. +2002-08-23 Alan Modra -Tue Aug 3 23:56:49 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/rs6000/rs6000.c (output_mi_thunk): Don't determine insns + for loading delta with num_insns_constant_wide. Calculate + delta_low, delta_high without using a conditional. - * gcc.c (process_command): Don't check whether file `-' exists. +2002-08-22 Jason Merrill -Tue Aug 3 18:52:13 1993 John Hassey (hassey@dg-rtp.dg.com) + * c-common.h (RETURN_STMT_EXPR): Rename from RETURN_EXPR. + * c-common.def: Adjust. + * c-dump.c (c_dump_tree): Adjust. + * c-semantics.c (genrtl_return_stmt): Adjust. + * c-pretty-print.c (pp_c_statement): Adjust. + * tree-inline.c (copy_body_r): Adjust. - * configure (m88k-dg-dgux*): Use fixinc.dgux. - * x-dgux (INSTALL_HEADERS): Definition deleted. - * fixinc.dgux: New file. +2002-08-22 Zack Weinberg -Tue Aug 3 17:34:53 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * ggc-page.c: Avoid division in ggc_set_mark. + (DIV_MULT, DIV_SHIFT, OFFSET_TO_BIT, inverse_table, + compute_inverse): New. + (ggc_set_mark, ggc_marked_p): Use OFFSET_TO_BIT. + (init_ggc): Initialize inverse_table. - * 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). +2002-08-22 Tom Tromey - * 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. + * doc/install.texi (Configuration): Document --datadir. -Tue Aug 3 15:40:16 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-08-22 Alexandre Oliva - * gstddef.h: Test and define __INT_WCHAR_T_H. + * Makefile.in ($(BUILD_PREFIX_1)varray.o): Depend on $(GGC_H). -Mon Aug 2 22:42:10 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-08-22 Hans-Peter Nilsson - * configure (i[34]86-sequent-sysv*): New alternative. - * config/i386/seq-sysv3.h: New file. + * gengtype-lex.l (ID): Allow underscore as first character. - * combine.c (struct undo): Rename `rtx' fields to `r'. - (undo_all, SUBST, gen_rtx_combine): Corresponding changes. +2002-08-21 David Edelsohn -Mon Aug 2 18:53:23 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * config/rs6000/rs6000.c (rs6000_xcoff_asm_globalize_label): New + function. + (rs6000_xcoff_asm_named_section): Rename. + * config/rs6000/xcoff.h (TARGET_ASM_GLOBALIZE_LABEL): Define. + +2002-08-21 Tom Tromey + + For PR java/6005 and PR java/7611: + * fold-const.c (fold_truthop): Use can_use_bit_fields_p. + (fold): Likewise. + * langhooks.c (lhd_can_use_bit_fields_p): New function. + * langhooks-def.h (lhd_can_use_bit_fields_p): Declare. + (LANG_HOOKS_CAN_USE_BIT_FIELDS_P): New define. + (LANG_HOOKS_INITIALIZER): Use it. + * langhooks.h (struct lang_hooks) [can_use_bit_fields_p]: New + field. + +2002-08-21 Stan Shebs + + * tree.c (finish_vector_type): Fix a typo in a comment. + * Makefile.in: Fix "the the" stutters in comments. + * genautomata.c: Ditto. + * ifcvt.c: Ditto. + * regrename.c: Ditto. + * config/alpha/alpha.c: Ditto. + * config/alpha/vms-crt0-64.c: Ditto. + * config/alpha/vms-crt0.c: Ditto. + * config/alpha/vms-psxcrt0-64.c: Ditto. + * config/alpha/vms-psxcrt0.c: Ditto. + * config/d30v/d30v.h: Ditto. + * config/fr30/fr30.h: Ditto. + * config/rs6000/rs6000.c: Ditto. + * config/stormy16/stormy16.h: Ditto. + * doc/md.texi: Ditto. + +2002-08-21 John David Anglin + + * cppinit.c (remove_dup_nonsys_dirs): Fix warning and return value. + +2002-08-21 Joseph S. Myers + + * c-decl.c (grokdeclarator): Make invalid combinations with long, + short, signed or unsigned into hard errors. Fixes PR c/4319. + Also make duplicate modifiers such as "short short" into hard + errors. - * 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. +2002-08-21 Andrew Pinski + Kaveh R. Ghazi + + * doc/tm.texi (TARGET_ASM_GLOBALIZE_LABEL): Move '@end deftypefn' + to the actual end. Add '@end table' and '@table @code'. + +2002-08-20 Geoffrey Keating + + * doc/tm.texi (Label Output): Add missing '@end deftypefn'. + + * unroll.c (biv_total_increment): Don't try to compute the total + increment for FP BIVs. + +2002-08-20 Kaveh R. Ghazi + + * alpha.c (TARGET_ASM_GLOBALIZE_LABEL): Define for unicosmk. + * alpha/elf.h (ASM_OUTPUT_EXTERNAL_LIBCALL, + ASM_OUTPUT_ALIGNED_BSS): Use target hook. + * alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS): Likewise. + * alpha/unicosmk.h (ASM_GLOBALIZE_LABEL): Delete. + * arm/aof.h (ASM_GLOBALIZE_LABEL): Likewise. + (GLOBAL_ASM_OP): Define. + * arm.c (aof_globalize_label): New function. + (TARGET_ASM_GLOBALIZE_LABEL): Define for AOF. + * arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook. + * c4x.c (c4x_globalize_label): New function. + (TARGET_ASM_GLOBALIZE_LABEL): Define for c4x. + * c4x.h (ASM_GLOBALIZE_LABEL): Delete. + (GLOBAL_ASM_OP): Define. + * cris/aout.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook. + * darwin-protos.h (darwin_globalize_label): Declare. + * darwin.c (darwin_globalize_label): New function. + * darwin.h (ASM_DECLARE_CLASS_REFERENCE): Use target hook. + (ASM_GLOBALIZE_LABEL): Delete. + (GLOBAL_ASM_OP, TARGET_ASM_GLOBALIZE_LABEL): Define. + * dsp16xx.c (asm_output_common): Use target hook. + * elfos.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise. + * frv.h (ASM_GLOBALIZE_LABEL): Delete. + (GLOBAL_ASM_OP): Define. + * i370.c (i370_globalize_label): New function. + (TARGET_ASM_GLOBALIZE_LABEL): Define for i370. + * i370.h (ASM_GLOBALIZE_LABEL): Delete. + * i386.c (ix86_asm_file_end): Use target hook. + * i386/sco5.h (ASM_GLOBALIZE_LABEL): Don't undef. + (ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook. + * ia64.c (ia64_asm_output_external): Likewise. + * ia64/sysv4.h: Update comment. + * m32r.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook. + * mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise. + * mips/iris5.h (ASM_OUTPUT_WEAK_ALIAS): Use target hook. + * mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise. + * mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Use target hook. + * mmix-protos.h (mmix_asm_globalize_label): Delete. + * mmix.c (mmix_asm_globalize_label): Likewise. + * mmix.h (ASM_GLOBALIZE_LABEL): Likewise. + (GLOBAL_ASM_OP): Define. + * ns32k.c (ns32k_globalize_label): New function. + * ns32k.h (TARGET_ASM_GLOBALIZE_LABEL): Define for ns32k. + (ASM_GLOBALIZE_LABEL): Delete. + * pa/pa-linux.h (ASM_GLOBALIZE_LABEL): Don't undef. + (TARGET_ASM_GLOBALIZE_LABEL): Undefine. + * pa.c (pa_globalize_label): New function. + * pa.h (ASM_GLOBALIZE_LABEL): Delete. + (TARGET_ASM_GLOBALIZE_LABEL): Define for pa. + * rs6000/darwin.h (ASM_GLOBALIZE_LABEL): Delete. + (GLOBAL_ASM_OP): Define. + (TARGET_ASM_GLOBALIZE_LABEL): Undef. + * rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook. + * rs6000/xcoff.h (ASM_GLOBALIZE_LABEL): Delete. + (GLOBAL_ASM_OP): Define. + * v850.c (v850_output_aligned_bss): Use target hook. + * vax.c (vms_globalize_label): New function. + (TARGET_ASM_GLOBALIZE_LABEL): Define for vms. + * vax/vms.h (ASM_GLOBALIZE_LABEL): Delete. + (GLOBAL_ASM_OP): Define. + * defaults.h (ASM_GLOBALIZE_LABEL): Delete. + * doc/tm.texi: Update docs. + * dwarf2out.c (default_eh_frame_section, output_die_symbol): Use + target hook. + * final.c (output_alternate_entry_point): Likewise. + * hooks.c (hook_FILEptr_constcharptr_void): New function. + * hooks.h (hook_FILEptr_constcharptr_void): Declare. + * output.h (assemble_global): Delete. + (default_globalize_label): Declare. + * system.h (ASM_GLOBALIZE_LABEL): Poison. + * target-def.h (TARGET_ASM_GLOBALIZE_LABEL): Define. + (TARGET_ASM_OUT): Add TARGET_ASM_GLOBALIZE_LABEL. + * target.h (gcc_target): Add globalize_label member. + * varasm.c (asm_output_bss, asm_output_aligned_bss, + globalize_decl): Use target hook. + (assemble_global): Delete. + (default_globalize_label): New function. + +2002-08-20 Kaveh R. Ghazi + + * dsp16xx.h (dsp16xx_umulhi3_libcall): Delete. + +2002-08-20 Devang Patel + * tree.c (get_qualified_type): Add TYPE_CONTEXT check. + +2002-08-20 Kaveh R. Ghazi + + * arc.c (output_shift): Use stdio instead of asm_fprintf. + * arm.c (thumb_output_function_prologue): Likewise. + * avr.c (print_operand): Likewise. + * c4x.c (c4x_print_operand): Likewise. + * c4x.h (ASM_OUTPUT_INTERNAL_LABEL, TRAMPOLINE_TEMPLATE, + ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise. + * cris.c (cris_target_asm_function_prologue, + cris_asm_output_mi_thunk): Likewise. + * h8300.c (print_operand): Likewise. + * h8300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise. + * ip2k.c (print_operand): Likewise. Fix format specifier. + * m68hc11.c (asm_print_register, print_operand, + print_operand_address): Use stdio instead of asm_fprintf. + (print_operand_address): Fix format specifier. + * m68hc11.h (FUNCTION_PROFILER, ASM_OUTPUT_ADDR_DIFF_ELT, + ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ALIGN): Use stdio instead of + asm_fprintf. + * m68k/amix.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * m68k/atari.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. + * m68k.c (m68k_output_function_prologue, + m68k_output_function_epilogue, print_operand): Likewise. + * mmix.c (mmix_asm_output_mi_thunk, mmix_asm_weaken_label): + Likewise. Fix format specifier. + * mn10200.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise. + * mn10300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise. + * v850.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise. + +2002-08-15 Eric Christopher + Jeff Knaggs + + * config.gcc (mipsisa64sr71k-elf): New target. + * config/mips/sr71k.md: New file. + * config/mips/mips.md: Use it. + (rot*): Add sr71k specifics. + * config/mips/t-sr71k: New file. + * config/mips/mips.h (sr71k): New cpu. + (TARGET_SR71K): Use it. + (TUNE_SR71K): Ditto. + (GENERATE_BRANCHLIKELY): Ditto. + (ISA_HAS_MULHI, ISA_HAS_MULS, ISA_HAS_MSAC, ISA_HAS_MACC, + ISA_HAS_ROTR_SIISA_HAS_ROTR_DI): Ditto. + * config/mips/mips.c (sr71k): New cpu. + (mips_use_dfa_pipeline_interface): Use. + +2002-08-15 Eric Christopher + Richard Sandiford + Aldy Hernandez + Graham Stott + Michael Meissner + Gavin Romig-Koch + Ken Raeburn + Alexandre Oliva + + * config.gcc (mips64vr-elf): New target. + * config/mips/5400.md: New file. + * config/mips/5500.md: Ditto. + * config/mips/mips.md: Use them. + (frsqrt): New. + * config/mips/mips.c (vr4111, vr4121, vr4320, vr5400, vr5500): New + cpus. + (mips_issue_rate): Use them. + (mips_use_dfa_pipeline_interface): New function. Use for 5400 and 5500. + (TARGET_SCHEDUSE_DFA_PIPELINE_INTERFACE): Define. Use above. + * config/mips/mips.h (vr4111, vr4121, vr4320, vr5400, vr5500): New + cpus. + (TARGET_MIPSx): Use them. + (TUNE_MIPSx): Ditto. + (GETNATE_MULT3_SI): Ditto. + (ISA_HAS_BRANCHLIKELY): Ditto. + (ISA_HAS_CONDMOVE): Ditto. + (ISA_HAS_NMADD_NMSUB): Ditto. + (ISA_HAS_MULHI): New. Ditto. + (ISA_HAS_MULS): Ditto. + (ISA_HAS_MSAC): Ditto. + (ISA_HAS_MACC): Ditto. + (ISA_HAS_ROTR_SI): Ditto. + (ISA_HAS_ROTR_DI): Ditto. + (RTX_COSTS): Use. + +2002-08-20 John David Anglin + + * cppinit.c (remove_dup_dir): Add head_ptr argument to handle removal + at head. + (remove_dup_nonsys_dirs): New function. + (remove_dup_dirs): Change argument head to head_ptr. Remove warnings. + (merge_include_chains): Remove non-system include directories from + quote and bracket include chains when they duplicate equivalent system + directories. + * doc/cpp.texi (-I): Update. + * doc/cppopts.texi (-I): Update. + * doc/install.texi (--with-local-prefix): Further document usage of + this option. + * doc/invoke.texi (-I): Update. + +2002-08-20 Richard Henderson + + * expr.c (TARGET_MEM_FUNCTIONS): Transform to boolean. + (emit_block_move): Split out subroutines. + (emit_block_move_via_movstr): New. + (emit_block_move_via_libcall): New. Emit bcopy via normal call also. + (emit_block_move_libcall_fn): New. Construct function prototype for + bcopy as well. + (clear_storage): Split out subroutines. + (clear_storage_via_clrstr): New. + (clear_storage_via_libcall): New. Emit bzero as a normal call also. + (clear_storage_libcall_fn): New. Construct function prototype for + bzero as well. + (emit_push_insn): Use emit_block_move. + (expand_assignment): Booleanize TARGET_MEM_FUNCTIONS. + (store_constructor): Likewise. + +2002-08-19 Ziemowit Laski + + * objc/objc-act.c (building_objc_message_expr): Rename to + current_objc_message_selector. + +2002-08-19 Ziemowit Laski + + * objc/objc-act.c (build_ivar_chain): Remove. + (objc_copy_list): Likewise. + (get_class_ivars): Inline call to removed build_ivar_chain + function. Save off a clean copy of ivars in the CLASS_OWN_IVARS + slot; use that slot (rather than CLASS_IVARS) when accessing + ivars for base classes. Call copy_list and chainon instead of + objc_copy_list. + (build_private_template): Call get_class_ivars instead of + build_ivar_chain. + (start_class): Allocate room for the CLASS_OWN_IVARS slot. + (continue_class): Call get_class_ivars instead of + build_ivar_chain. + (encode_field_decl): Check for DECL_BIT_FIELD_TYPE instead + of DECL_BIT_FIELD (which may have been cleared). + * objc/objc-act.h (CLASS_OWN_IVARS): New accessor macro. + +2002-08-19 Kaveh R. Ghazi + + * genautomata.c (output_translate_vect, output_state_ainsn_table, + output_min_issue_delay_table): Mark variable with ATTRIBUTE_UNUSED + in output file. + (output_internal_min_issue_delay_func): Initialize variable in + output file. + +2002-08-19 Alexandre Oliva + + * Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER. + (stage2_build, stage3_build, stage4_build): Likewise, to CC. + +2002-08-19 Geoffrey Keating + Steve Ellcey + + * machmode.h (SCALAR_INT_MODE_P): New macro to test for + scaler integer mode (MODE_INT or MODE_PARTIAL_INT). + * explow.c (trunc_int_for_mode): Abort when the mode is not + a scaler integer mode. + * combine.c (expand_compound_operation): Don't expand Vector + or Complex modes into shifts. + (expand_field_assignment): Don't do bitwise arithmatic and + shifts on Vector or Complex modes. + (simplify_comparison): Don't call trunc_int_for_mode + for VOIDmode. + * recog.c (general_operand): Likewise. + (immediate_operand): Likewise. + (nonmemory_operand): Likewise. + +2002-08-19 David Edelsohn + + * config/rs6000/rs6000.c (rs6000_emit_set_const): Inline + multi-instruction SImode constant. Add REG_EQUAL note. + * config/rs6000/rs6000.md (movsi splitter): Use + rs6000_emit_set_const. + +2002-08-19 Kaveh R. Ghazi + + * tree-inline.c (initialize_inlined_parameters): Wrap variable in + the macro test controlling its use. + +2002-08-18 H.J. Lu (hjl@gnu.org) + + * config.gcc (*-*-linux*): Set extra_parts="crtbegin.o + crtbeginS.o crtbeginT.o crtend.o crtendS.o", gas=yes and + gnu_ld=yes. + (alpha*-*-linux*, cris-*-linux*, i370-*-linux*, + i[34567]86-*-linux*, x86_64-*-linux*, mips*-*-linux*, + s390-*-linux*, s390x-*-linux*, sparc-*-linux*, sparc64-*-linux*, + xtensa-*-linux*): Remove setting extra_parts, gas, and gnu_ld + here. + (cris-*-linux*): Remove setting thread_file here. + +2002-08-18 Neil Booth + + PR preprocessor/7602 + * cppinit.c (path_include): Treat the system environment + variables as being cxx_aware. + +2002-08-17 Joseph S. Myers + + * c-decl.c (flexible_array_type_p): New function. + (grokdeclarator, finish_struct): Use it. + * doc/extend.texi: Document constraints on use of structures with + flexible array members. + +2002-08-17 Richard Sandiford + + * config/mips/t-coff, config/mips/t-elf, config/mips/t-isa3264, + config/mips/t-r3900 (MULTILIB_MATCHES): Define. + * config/mips/mips.h (ASM_SPEC): Use %(endian_spec). + +2002-08-16 Stan Shebs + + * c-common.c (cb_register_builds): Define __NEXT_RUNTIME__ + for ObjC with -fnext-runtime. + * doc/cpp.texi: Document it. + +2002-08-16 Janis Johnson + + * doc/install.texi (Final installation): Replace links to individual + build status pages with a link to a common page that lists them all. + +2002-08-16 Sylvain Pion -Mon Aug 2 14:45:43 1993 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) + * doc/invoke.texi: Fix typo. - * genattrtab.c (substitute_address): In prototype, don't specify - the arg types of the arg functions. +2002-08-16 David Edelsohn - * config/m68k/x-dpx2 (CLIB): Fix typo. + * doc/install.texi (*-ibm-aix*): Explain AIX shared object versioning. -Mon Aug 2 06:36:53 1993 John F Carr (jfc@Athena.mit.edu) +2002-08-16 Andrew Haley - * local-alloc.c (block_alloc): Don't attempt to allocate a - SCRATCH if it will not fit in scratch_list. + * tree-inline.c: Add includes for Java inliner. + (remap_decl): Don't handle anonymous types for Java. + (remap_block): Add handling for Java trees. + (copy_scope_stmt): Conditionalize for non-Java use only. + (copy_body_r): Handle Java trees. Add handling for + LABELED_BLOCK_EXPR, EXIT_BLOCK_EXPR, Java blocks. + (initialize_inlined_parameters): Handle Java trees. + (declare_return_variable): Likewise. + (expand_call_inline): Handle Java trees. + (walk_tree): Likewise. + (copy_tree_r): Don't handle SCOPE_STMTs for Java. + (add_stmt_to_compound): New function. -Mon Aug 2 00:02:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-08-15 Richard Henderson - * calls.c (expand_call): Check properly for volatile function. + * Makefile.in (LOOSE_WARN): Remove -fno-common. + (NOCOMMON_FLAG): New substitution point. + (GCC_WARN_CFLAGS): Include it. + * configure.in (ac_checking): Set nocommon_flag. + (nocommon_flag): New substitution point. -Sun Aug 1 04:18:23 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-08-15 Alexandre Oliva - * c-common.c (decl_attributes): Support attributes `volatile' - with alias `noreturn', and `const'. - * c-parse.in (attrib): Accept those attributes. + * c-tree.h (skip_evaluation): Move declaration... + * c-common.h: ... here. + * c-typeck.c (build_external_ref): Don't assemble_external nor + mark a tree as used if skip_evaluation is set. + * c-parse.in (typeof): New non-terminal to set skip_evaluation + around TYPEOF. + (typespec_nonreserved_nonattr): Use it. - * c-typeck.c (build_binary_op): Warn about ordered comparison - between pointers to complete and incomplete types. +2002-08-15 Douglas B Rupp - * c-parse.in (stmt): In an expr stmt, call default_conversion - for arrays and for functions. + * dbxout.c (dbx_debug_hooks): Update end_prologue, end_epilogue. + (xcoff_debug_hooks): Update end_prologue. + * debug.c (do_nothing_debug_hooks): Update end_prologue, end_epilogue. + * debug.h (end_prologue): Add file arg. + (end_epilogue): Add line and file args. + (dwarf2out_end_epilogue): Add line and file args. + (vmsdbgout_after_prologue): Remove. + * dwarf2out.c (dwarf2out_end_epilogue): Add line and file args. + (dwarf2_debug_hooks): Update end_prologue. + * dwarfout.c (dwarfout_end_epilogue): Add line and file args. + (dwarfout_end_prologue): Add file arg. + * final.c (vmsdbgout_after_prologue): Remove + (final_end_function): Update end_epilogue call. + (final_scan_insn): Update end_prologue call. + * sdbout.c (sdbout_end_epilogue): Add line and file args. + (sdbout_end_prologue): Add file arg. + (sdb_debug_hooks): Update end_prologue. + (sdb_begin_prologue): Update sdbout_end_prologue call. + * vmsdbgout.c (vmsdbg_debug_hooks): Add vmsdbgout_end_prologue, + vmsdbgout_end_function. + (vmsdbgout_end_prologue): New function renamed from + vmsdbgout_after_prologue. Call vmsdbgout_source_line. + (vmsdbgout_end_function): New function. + (vmsdbgout_end_epilogue): Add line and file args. Call + vmsdbgout_source_line. + (write_pclines): Write only valid line numbers. + (write_srccorr): Don't write source correlation records if 0 lines. + * xcoffout.c (xcoffout_end_epilogue): Add line and file args. - * 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. +2002-08-15 Steve Ellcey - * 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. + * gcc/unwind.h (_Unwind_Ptr): Make 64 bits on IA64 HP-UX. + (_Unwind_Internal_Ptr): 32 bit version for use in + read_encoded_value_with_base. + * gcc/unwind-pe.h (read_encoded_value_with_base): Use + _Unwind_Internal_Ptr instead of _Unwind_Ptr in order to get the + right size. - * config/m68k/amix.h (ASM_OUTPUT_INTERNAL_LABEL) - (ASM_GENERATE_INTERNAL_LABEL): Definitions deleted. +2002-08-15 Kaveh R. Ghazi - * 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. + * loop.c (scan_loop, move_movables, count_one_set): Cast to avoid + signed/unsigned warnings. + + * regclass.c (init_reg_sets_1, choose_hard_reg_mode, + record_reg_classes): Likewise. - * c-decl.c (grokdeclarator): Warn here for volatile fn returning - non-void type. - (start_function): Not here. + * reload.c (reload_inner_reg_of_subreg, push_reload, + find_reloads_address_1): Likewise. + +2002-08-15 David Edelsohn + + * rs6000.c (output_mi_thunk): Return to function section on + TARGET_ELF. + + * rs6000-c.c (rs6000_cpu_cpp_builtins): Define __PPC405__ if PPC405. + +2002-08-15 Ulrich Weigand + + * config/s390/s390.c (legitimize_address): Optimize loading + of large displacements. + +2002-08-14 Douglas B Rupp + + * config/alpha/alpha-protos.h: Update. + + * config/alpha/alpha.c: (LINKAGE_SYMBOL_REF_P): New macro. + (alpha_legitimate_address_p): Test LINKAGE_SYMBOL_REF_P. + (alpha_linkage_symbol_p): New static function. + (print_operand_address): Print linkage operand. + + (alpha_funcs_num, alpha_funcs_tree, alpha_links_tree): New static + variables. + (reloc_kind): New enum. + (struct alpha_funcs): New struct. + (struct alpha_links): Add reloc_kind field. Rename links_kind field. - * c-decl.c (grokdeclarator): Don't pass on const and volatile - fron function value type to function type. + (alpha_need_linkage): Rewrite. + (alpha_use_linkage): New global function. + (alpha_write_linkage): Rewrite and make static. + (alpha_write_one_linkage): Rewrite -Sat Jul 31 01:48:08 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + (alpha_start_function): Remove procedure descriptor output. + (alpha_end_function): Write linkages at end of each function. - * 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. + * config/alpha/alpha.md (call_vms, call_value_vms): Rewrite. + (call_vms_1, call_value_vms_1): Rewrite. - * c-typeck.c (process_init_element): Treat string constants specially - only for arrays of integers. + * config/alpha/vms.h (ASM_FILE_END): Remove. -Fri Jul 30 06:49:58 1993 Torbjorn Granlund (tege@sics.se) +2002-08-14 Richard Henderson - * 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) + * ggc-page.c (RTL_SIZE): New. + (extra_order_size_table): Add specializations for 2 and 10 rtl slots. + * rtl.def (BARRIER, NOTE): Pad to 9 slots. - * 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. +2002-08-14 Richard Henderson - * 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. + * calls.c: Include target.h. + * Makefile.in (calls.o): Update. - * stmt.c (expand_return): Don't use jumps for "return x == y" if - they are expensive. + * config/alpha/alpha.c (alpha_end_function): Use targetm.binds_local_p. + * config/alpha/alpha.h (FUNCTION_OK_FOR_SIBCALL): Likewise. -Fri Jul 30 02:03:12 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-08-14 Richard Henderson - * config/i386/i386.md (ffssi2 and ffshi2 recognizers): - Generate unique labels by hand. + * Makefile.in (LOOSE_WARN): Add -fno-common. + * c-common.h (constant_string_class_name): Add missing extern. -Thu Jul 29 01:47:21 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-08-15 Neil Booth - * 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. + PR preprocessor/7358 + * c-opts.c (check_deps_environment_vars): Ignore main file + for SUNPRO_DEPENDENCIES. + * cppfiles.c (stack_include_file): Ignore main file if + appropriate. + * cpplib.h (struct cpp_options): New member in deps. + * doc/cppenv.texi: Update. - * c-typeck.c (digest_init): Delete arg TAIL. Fix all calls. +2002-08-14 Neil Booth - * 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. + PR preprocessor/7526 + * cpplib.c (run_directive): Kludge so _Pragma dependency works. - * 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. +2002-08-14 Nathan Sidwell - * config/i386/x-ncr3000 (CC, OLDCC): Deleted. - * config/i386/xm-sysv4.h [__HIGHC__]: Include alloca.h. + * doc/invoke.texi (-a): Remove documentation. + (-fprofile-arcs): Remove reference to -a, -ax options. + * doc/gcov.texi (Gcov Data Files): Data might be merged. - * convert.c (convert_to_integer): Don't pass truncate into ABS_EXPR. +2002-08-14 Gabriel Dos Reis - * configure: Ignore -enable... and --enable... options. + Fix PR/7566 + * c-semantics.c (genrtl_case_label): Don't (mis)use + warning_with_decl. -Wed Jul 28 20:15:05 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-08-14 Dale Johannesen - * Makefile.in (compare): Add ./ in tail command. + * explow.c (emit_stack_restore): Emit memory clobbers + preceding the stack pop, to prevent the scheduler from + moving refs to variable arrays below this pop. + * reload1.c (reload): Preserve these clobbers for sched2. + * doc/rtl.texi: Document clobber (mem:BLK (scratch)). -Wed Jul 28 15:36:11 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +2002-08-14 Neil Booth - * integrate.c (copy_rtx_and_substitute, case LABEL_REF): If - we turn off LABEL_REF_NONLOCAL_P, increment function_call_count. + * c-opts.c (c_common_post_options): Correct test. - * 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. +2002-08-14 Kaveh R. Ghazi - * 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. + * m88k.h (ASM_OUTPUT_SOURCE_FILENAME): Fix incorrect argument + order in call to fprintf. -Wed Jul 28 12:17:39 1993 Michael Meissner (meissner@osf.org) +2002-08-14 Rainer Orth - * i386/osfrose.h (SUBTARGET_OVERRIDE_OPTIONS): Use this instead of - OVERRIDE_OPTIONS. + * config/sparc/sol2.h (SUBTARGET_EXTRA_SPECS): Define. -Wed Jul 28 13:45:13 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-08-14 Ulrich Weigand - * expr.c (expand_expr, case ADDR_EXPR): Treat CONCAT like REG. + * reload.c (find_reloads): Handle constraint letters marked by + EXTRA_ADDRESS_CONSTRAINT and EXTRA_MEMORY_CONSTRAINT. + (alternative_allows_memconst): Likewise. + * reload1.c (maybe_fix_stack_asms): Likewise. + * recog.c (asm_operand_ok, preprocess_constraints, + constrain_operands): Likewise. + * regclass.c (record_operand_costs, record_reg_classes): Likewise. + * local-alloc.c (block_alloc, requires_inout): Likewise. + * stmt.c (parse_output_constraint, parse_input_constraint): Likewise. - * c-decl.c (start_function): Warn if volatile fn returns non-void. + * defaults.h (EXTRA_MEMORY_CONSTRAINT): Provide a default. + (EXTRA_ADDRESS_CONSTRAINT): Likewise. + * doc/tm.texi: Document these two new target macros. -Wed Jul 28 13:22:15 1993 Jim Wilson (wilson@cygnus.com) + * config/s390/s390.c (s390_expand_plus_operand): Accept already + valid operands. + (q_constraint): New function. + config/s390/s390-protos.h (q_constraint): Declare it. + config/s390/s390.h (EXTRA_CONSTRAINT): Use it. + (EXTRA_MEMORY_CONSTRAINT): New macro. - * 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. + * config/s390/s390.md: Throughout the machine description, + replace all instances of the constraint combinations 'Qo' + or 'oQ' with simply 'Q'. - * sparc.c (shift_operand): New function. - * sparc.md (ashlsi3, ashrsi3, lshrsi3): Use shift_operand. +2002-08-14 Stephane Carrez - * loop.c (strength_reduce): Don't ignore a giv that depends on a - reversed biv. + * config/m68hc11/m68hc11.h (LINK_SPEC): Support -mrelax. + * config/m68hc11/t-m68hc11-gas (LIBGCC2_DEBUG_CFLAGS): Can use -g now. + (LIBGCC2_CFLAGS): Compile with -mrelax. - * 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. +2002-08-14 Stephane Carrez - * i960.h (INITIAL_FRAME_POINTER_OFFSET): Negate, and subtract 64 - bytes. + * doc/invoke.texi: Document -minmax for 68HC12. - * sched.c (schedule_block): Do not emit line number notes before - other notes. + * config/m68hc11/m68hc11.md ("umaxqi3"): Use TARGET_MIN_MAX. + ("uminqi3"): Likewise. + ("uminhi3", "umaxhi3"): Likewise. - * varasm.c (assemble_variable): flag_no_common applies only if - external linkage. + * config/m68hc11/m68hc11.h (MASK_MIN_MAX): Define. + (TARGET_MIN_MAX): Define. + (TARGET_SWITCHES): New option -minmax/-mnominmax. - * 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. +2002-08-14 Stephane Carrez -Wed Jul 28 12:40:06 1993 Doug Evans (dje@canuck.cygnus.com) + * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build __far_trampoline. + (MULTILIB_OPTIONS): Must also generate for -mlong-calls. - * expmed.c (store_split_bitfield): Fix handling of bitfields that - cross word boundaries, can only handle a word at a time. - (extract_split_bitfield): Likewise. + * config/m68hc11/larith.asm: Put a mode for ELF ABI flags. + (ret, declare, farsym): New gas macros. + (__premain, exit, abort, _cleanup, memcpy, memset, ___adddi3, + ___subdi3, ___notdi2, __mulhi32, __mulsi3): Use them to use 'rtc' + and declare the symbol far when compiled with -mlong-calls. + (__far_trampoline): New for 68HC12 trampoline code to invoke a + far handler using jsr/bsr. -Wed Jul 28 06:44:50 1993 John Hassey (hassey@dg-rtp.dg.com) + * config/m68hc11/m68hc11-crt0.S: Put a mode for ELF ABI flags. + (jsr): New macro to transform a 'jsr' into a 'call'. - * configure: Use m88k/x-sysv3 for m88k-*-sysv3. - * m88k/x-sysv3: New file, use gnu alloca. +2002-08-14 Stephane Carrez -Tue Jul 27 13:53:06 1993 Per Bothner (bothner@wombat.gnu.ai.mit.edu) + * doc/invoke.texi: Document -mlong-calls for 68HC12. - * 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. + * config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__USE_RTC__ when + -mlong-calls is specified. + (ASM_DECLARE_FUNCTION_NAME): Define to generate .far and .interrupt + assembler directives. + (TARGET_LONG_CALL, MASK_LONG_CALL): Declare. + (TARGET_SWITCHES): Add -mlong-calls options. + (current_function_far): Declare. -Tue Jul 27 16:42:44 1993 John F Carr (jfc@Athena.mit.edu) + * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset): Take + into account the page register saved on the stack. + (m68hc11_override_options): Take into account -mlong-calls option. + (m68hc11_asm_file_start): Put a mode for the ELF flags ABI. - * fold-const.c (optimize_bit_field_compare): Preserve volatility - of bitfield. + * config/m68hc11/m68hc11.md ("*return_32bit"): Return rtc + if the function is going to be in 68HC12 banked memory (-mlong-calls). + ("*return_16bit"): Likewise. + ("*return_void"): Likewise. + ("call", "call_value"): Use call for a far function call. -Tue Jul 27 01:33:25 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-08-14 Neil Booth - * c-typeck.c (convert_for_assignment): Mismatch in signedness - of pointer targets should not inhibit warnings for const mismatch. + * toplev.c (parse_options_and_default_flags): Don't call + post_options here. + (general_init): Initialize GC, pools and tree hash here, + instead of lang_independent_init. + (lang_independent_init): Rename backend_init. + (do_compile): Call post_options hook; exit early if there + have been errors after switch processing. + (toplev_main): Update. - * function.c (assign_parms): Don't copy too much when extending - parm_reg_stack_loc. +2002-08-14 Gabriel Dos Reis - * config/m88k/m88k.h (ASM_DECLARE_OBJECT_NAME): Don't make a .size - if the size is not known. Use DECL, not decl. - * config/svr4.h, config/i386/osfrose.h: Likewise. + * c-pretty-print.h: Guard against multiple inclusion. + Robustify macros. + (pp_c_attributes): Declare. + * c-pretty-print.c (pp_c_attributes): New function. + +2002-08-13 Kaveh R. Ghazi + + * m68k.c (m68k_output_function_prologue, + m68k_output_function_epilogue): Delete versions for DPX2/MOTOROLA + and NEWS/MOTOROLA. + * genattrtab.c: Remove dpx2 comment. + * libgcc2.c (__enable_execute_stack): Delete versions for + NeXT/__MACH__, __convex__, __sysV88__, __pyr__ and + sony_news/SYSTYPE_BSD. + * longlong.h: Delete code for __a29k__, _AM29K, __clipper__, + __gmicro__, __i860__, __NeXT__ and __pyr__. + * rtl.h: Remove convex comment. + * varasm.c: Likewise. - * c-typeck.c (set_init_index): Add pedantic warning. - (set_init_label): Likewise. +2002-08-13 Kaveh R. Ghazi -Tue Jul 27 14:22:48 1993 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) + * c-opts.c (lang_flags): Const-ify. + * ra-build.c (undef_table): Likewise. + * ra.c (eliminables): Likewise. - * gstddef.h (_WCHAR_T_H): Test this and define this. +2002-08-14 Gabriel Dos Reis - * configure (m68k-bull-sysv): Test for --stabs; - generate either native coff or dbx-in-coff debugging information. + * tree.h: Guard against multiple inclusion. - * 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. +2002-08-14 Hans-Peter Nilsson -Mon Jul 26 17:42:22 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * reload1.c (reload_cse_simplify): Before checking + REG_FUNCTION_VALUE_P, check REG_P. - * c-typeck.c (digest_init): Add `static' to definition. +2002-08-13 Geoffrey Keating - * combine.c (simplify_shift_const): Inhibit hacks based on - num_sign_bit_copies if shift_mode differs from the mode of varop. + * Makefile.in (attribs.o): Remove $(OBSTACK_H) dependency. - * toplev.c (main): When -W sets warn_uninitialized, avoid later warning - if warn_uninitialized is not supported. +2002-08-13 Neil Booth -Mon Jul 26 14:14:02 BST 1993 Richard Earnshaw (rwe11@cl.cam.ac.uk) + * c-opts.c (c_common_init_options): Extra braces needed. - * collect2.c (NAME__MAIN, SYMBOL__MAIN): Add default definitions. - (write_c_file, scan_prog_file [OBJECT_FORMAT_ROSE]): - Use macros instead of explicitly __main. +Tue Aug 13 17:40:25 2002 J"orn Rennecke - * function.c (expand_main_function): Likewise. + * sh.c (sh_init_builtins): Add PARAMS to declaration. + (sh_media_init_builtins, sh_expand_builtin): Likewise. + (sh_expand_unop_v2sf): Use PARAMS for variable declaration. + (sh_expand_binop_v2sf): Likewise. + * sh-protos.h (sh_expand_unop_v2sf): Add PARAMS to declaration. + (sh_expand_binop_v2sf, sh_cfun_interrupt_handler_p): Likewise. + (sh_initialize_trampoline): Likewise. - * libgcc2.c (__main): Use macro SYMBOL__MAIN instead of invoking - directly. +2002-08-13 Ulrich Weigand -Mon Jul 26 16:03:33 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * s390-modes.def [CCL1, CCL2, CCT1, CCT2, CCT3, CCUR, CCSR]: Declare + new condition code modes. + s390.c (s390_match_ccmode_set): Handle those new CC modes. + (s390_select_ccmode): Likewise. + (s390_branch_condition_mask): Likewise. - * fold-const.c (fold, case EQ_EXPR): Remove code that converts - mod to unsigned mod; it isn't correct for negative operands. + * s390-protos.h (s390_tm_ccmode): Declare. + s390.c (s390_tm_ccmode): New function. + (s390_match_ccmode): Allow VOIDmode as REQ_MODE. - * toplev.c (strip_off_ending): Allow .ad* for Ada. + * s390.md ("*cmpdi_tm2"): Rename to "*tmdi_ext". + ("*cmpsi_tm2"): Rename to "*tmsi_ext". + ("*cmpqi_tm2"): Rename to "*tmqi_ext". -Mon Jul 26 14:06:04 1993 Bill Cox (bill@majipoor.cygnus.com) + ("*cmpdi_tm_reg", "*cmpdi_tm_mem", "*cmpsi_tm_reg", "*cmpsi_tm_mem", + "*cmphi_tm_sub","*cmphi_cct_0", "*cmpqi_tm", "*cmpqi_tm_sub", + "*cmpqi_cct_0", "*tm_0"): Remove, replace by ... + ("*tmdi_reg", "*tmsi_reg", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem", + "*tmqi_mem", "*tmhi_full", "*tmqi_full"): ... these new patterns. - * c-decl.c (print_lang_decl, print_lang_type): Correct function - headers to match prototype, and calls. + ("*ltgr", "*cmpdi_ccs_0_64", "*cmpdi_ccs_0_31", "*ltr", "*icm15", + "*icm15_cconly", "*cmpsi_ccs_0", "*icm3", "*cmphi_ccs_0", "*icm1", + "*cmpqi_ccs_0"): Remove, replace by ... + ("*tstdi_sign", "*tstdi", "*tstdi_cconly", "*tstdi_cconly_31", + "*tstsi", "*tstsi_cconly", "*tstsi_cconly2", "*tsthi", "*tsthi_cconly", + "*tstqi", "*tstqi_cconly"): ... these new patterns. + + ("*cmpsidi_ccs"): Remove, replace by ... + ("*cmpsi_ccs_sign"): ... this new pattern. + ("*cmpdi_ccs_sign", "*cmpdi_ccu_zero"): New patterns. + + ("*cmpqi_ccu_0", "*cmpqi_ccu_immed"): Remove, replace by ... + ("*cli"): ... this new pattern. + + ("*adddi3_sign", "*adddi3_zero_cc", "*adddi3_zero_cconly", + "*adddi3_zero", "*adddi3_cc", "*adddi3_cconly", "*adddi3_cconly2"): + New patterns. + ("adddi3_64"): Rename to "*adddi3_64". + ("adddi3_31"): Replace by insn and splitter "*adddi3_31". + ("adddi3"): Adapt expander. + + ("*addsi3_cc"): Allow "general_operand" for operand 2. + ("*addsi3_carry1_cc", "*addsi3_carry1_cconly", + "*addsi3_carry2_cc", "*addsi3_carry2_cconly"): New patterns. + + ("addhi3", "addqi3"): Remove, replace by ... + ("*addsi3_sign", "*addsi3_sub"): ... these new patterns. + + ("*subdi3_sign", "*subdi3_zero_cc", "*subdi3_zero_cconly", + "*subdi3_zero", "*subdi3_cc", "*subdi3_cconly"): New patterns. + ("subdi3"): Replace by insn and splitter "*subdi3_31". + ("subdi3"): New expander. + + ("*subsi3_borrow_cc", "*subsi3_borrow_cconly"): New patterns. + + ("subhi3", "subqi3"): Remove, replace by ... + ("*subsi3_sign", "*subsi3_sub"): ... these new patterns. + + ("*muldi3_sign"): New pattern. + ("muldi3"): Do not clobber CC. + ("mulsi3"): Likewise. + ("mulsi_6432"): Likewise. + +2002-08-13 Denis Chertykov + + * config/avr/avr.md: Call CC_STATUS_INIT in all peepnoles + which can change CC0. + +Tue Aug 13 14:49:20 2002 J"orn Rennecke + + * gcse.c (adjust_libcall_notes): New function. + (do_local_cprop): Use it. Add fourth parameter. Changed caller. + +2002-08-13 Nathan Sidwell + + * libgcc2.c (L_bb): Remove unneeded #includes. + (__global_counters, __gthreads_active): Remove unused globals. + (__bb_exit_func): Merge counts into files rather than appending. + * Makefile.in (INTERNAL_CFLAGS): Move COVERAGE_FLAGS from here ... + (ALL_CFLAGS): ... to here. + +2002-08-13 Denis Chertykov + + * config/ip2k/ip2k.c (commands_in_file): Variable removed. + (function_epilogue): Don't calculate function size. + (ip2k_set_compare): Don't use lookup_const_double. + (asm_file_start): Initialization of commands_in_file removed. + (asm_file_end): Output of commands_in_file removed. + + * config/ip2k/ip2k.c (CPP_PREDEFINES): Remove definition of + __INT_MAX__. + +2002-08-13 Neil Booth + + * c-opts.c (c_common_init_options): Check option array is + sorted if checking enabled. + +2002-08-13 Gabriel Dos Reis + + * c-pretty-print.c: #include "c-tree.h". + (pp_c_simple_type_specifier): Tweak. + (pp_c_storage_class_specifier): New. + (pp_c_function_specifier): Likewise. + (pp_c_declaration_specifiers): Likewise. + (pp_c_init_declarator): Likewise. + (pp_c_declaration): Likewise. + (pp_c_direct_declarator): Stub. + (pp_c_declarator): Likewise. + (pp_c_parameter_declaration): Likewise. + +2002-08-13 Neil Booth + + * c-opts.c (deps_seen, deps_file, deferred_count, deferred_size, + handle_deferred_opts, sanitize_cpp_opts, defer_opt, + struct deferred_opt): New. + (COMMAND_LINE_OPTIONS): Add -M*. + (missing_arg): Update. + (c_common_decode_option): Handle -M*. + (c_common_post_options): Handle -M*. Use sanitize_cpp_opts; + don't call cpp_post_options. + (c_common_finish, check_deps_environment_vars): Update. + * cppfiles.c (stack_include_file, handle_missing_header): Update. + * cpphash.h (CPP_PRINT_DEPS): Remove. + * cppinit.c: Don't include version.h. + (cpp_create_reader): Don't call deps_init. Initialize + warn_long_long. + (cpp_read_main_file): Init deps if necessary. + (cpp_destroy): Conditionally free deps. + (cpp_finish): Update. + (no_tgt): Remove. + (COMMAND_LINE_OPTIONS, cpp_handle_option): Remove -M*. + (cpp_post_options): Rename post_options. + * cpplib.h (struct cpp_options): Remove some dependency options; + move others to a new structure. + (cpp_post_options): Remove. + (cpp_finish): Comment. + * fix-header.c (read_scan_file): Don't call cpp_post_options. + +2002-08-12 Hans-Peter Nilsson + + * config/mmix/mmix.md (define_constants): Add MMIX_rR_REGNUM. + ("divdi3", "*divdi3_nonknuth", "moddi3", "*moddi3_nonknuth"): Mark + MMIX_rR_REGNUM as clobbered. + * config/mmix/mmix.h (MMIX_REMAINDER_REGNUM): Use MMIX_rR_REGNUM. + +2002-08-12 Gabriel Dos Reis + + * diagnostic.h (output_formatted_scalar): Rename from + output_formatted_integer. + * diagnostic.def: Add DK_DEBUG. + * diagnostic.c (output_decimal): Adjust. + (output_long_decimal): Likewise. + (output_unsigned_decimal): Likewise. + (output_octal): Likewise. + (output_long_octal): Likewise. + (output_hexadecimal): Likewise. + (output_long_hexadecimal): Likewise. + * c-pretty-print.c (pp_c_type_specifier): New function. + (pp_c_specifier_qualifier_list): Likewise. + (pp_c_abstract_declarator): Likewise. + (pp_c_char): Replace pp_format_integer with pp_format_scalar. + +2002-08-12 David Edelsohn + + * doc/trouble.texi (Disappointments): Add static constructor and + destructor dependency information for AIX. + +2002-08-12 Neil Booth + + * cpphash.h (struct printer): New from cppmain.c. + (cpp_reader): New member. + * cppmain.c (struct printer): Move to cpphash.h. + (options, print): Remove. + (account_for_newlines, print_line, maybe_print_line, + cpp_preprocess_file, setup_callbacks, scan_translation_unit, + scan_translation_unit_trad, cb_line_change, cb_ident, + cb_define, cb_undef, cb_include, cb_file_change, dump_macro, + cb_def_pragma): Make reentrant. + +2002-08-12 Kaveh R. Ghazi + + * real.c (ieee_64): Always define. + (ieee_113): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0. + (dec_h): Not used yet, hide it. + (emdnorm): Mark parameter in ATTRIBUTE_UNUSED. Guard label with + macro controlling use. + (TFbignan, TFlittlenan): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0. + +Mon Aug 12 12:48:20 CEST 2002 Jan Hubicka + + * i386.md (tablejump): Sign extend the operand. + * i386.c (classify_argument): Fix missed case from previous patch. + +2002-08-12 Neil Booth + + * c-common.c (STDC_0_IN_SYSTEM_HEADERS, c_common_init): Move + to c-copts.c. + (warn_multichar): Die. + (cb_register_builtins): Export. + * c-common.h (warn_multichar, preprocess_file): Remove. + (cb_register_builtins): New. + * c-lang.c (c_init): Remove. + (LANG_HOOKS_INIT): Use c_objc_common_init. + * c-lex.c (init_c_lex): Don't canonicalize filename. + * c-opts.c (in_fname, STDC_0_IN_SYSTEM_HEADERS): New. + (preprocess_file): Make static. Update for cpplib. + (c_common_decode_option): Remove warn_multichar. Use in_fname. + (c_common_post_options): Set some cpp options here. + (c_common_init): Move from c-common.c. + * cppinit.c (cpp_post_options): Don't canonicalize in_fname. + * cpplib.h (struct cpp_options): Remove in_fname. + (cpp_preprocess_file): Update. + * cppmain.c (cpp_preprocess_file): Update for new prototypes. + +2002-08-11 Kaveh R. Ghazi + + * config.gcc (mips*-*-netbsd*): Include ${tm_file}. + +2002-08-11 Kaveh R. Ghazi + + * i370.h (TARGET_CPU_CPP_BUILTINS): Remove spurious trailing + backslash in comment preceeding macro definition. + * i370/linux.h (TARGET_OS_CPP_BUILTINS): Likewise. + * i370/mvs.h (TARGET_OS_CPP_BUILTINS): Likewise. + * i370/oe.h (TARGET_OS_CPP_BUILTINS): Likewise. + +2002-08-12 Hans-Peter Nilsson + + * expr.c (store_expr): In condition for checking if value is + generated in TARGET, move call to expr_size last. + +2002-08-11 Neil Booth + + * c-common.c (c_common_init): Call preprocess_file instead. + (c_common_finish): Move to c-opts.c. + * c-common.h (preprocess_file): new. + * c-opts.c (out_fname, out_stream, deps_append, preprocess_file, + check_deps_environment_vars, c_common_finish): New. + (c_common_decode_option): Update for out_fname and dependencies. + * cppinit.c (init_dependency_output, output_deps): Remove. + (cpp_destroy): Update prototype. + (cpp_add_dependency_target): New. + (cpp_read_main_file): Don't overlay a buffer. + (cpp_finish): Take a deps output stream and write deps to it. + Return the error count. + (cpp_post_options): Don't canonicalize out_fname, or do anything + with dependencies. + * cpplib.h (struct cpp_options): Remove out_fname and + preprocess_only. + (cpp_add_dependency_target): New. + (cpp_destroy, cpp_finish, cpp_preprocess_file): Update. + * cppmain.c (cpp_preprocess_file): Update prototype. Don't + set preprocess_only. Don't handle the output stream directly. + +2002-08-11 Kaveh R. Ghazi + + * dsp16xx.c (print_operand): Fix format specifier. + * dsp16xx.md: Avoid automatic aggregate initialization. + * frv.h (REG_CLASS_FROM_LETTER): Avoid char as array index. + * h8300.c (emit_a_rotate, h8300_adjust_insn_length): Avoid U + integer constant modifier. + * ip2k.c (ip2k_set_compare): Avoid signed/unsigned warning. + * mmix-protos.h (mmix_use_simple_return): Move outside TREE_CODE + guards. + * sh/netbsd-elf.h (FUNCTION_PROFILER): Fix format specifier. + * v850.c (v850_select_section): Mark parameter with + ATTRIBUTE_UNUSED. + * global.c (global_alloc): Const-ify. + * ra-colorize.c (hardregset_to_string): Fix format specifier. + +2002-08-11 Kaveh R. Ghazi + + * darwin-c.c (darwin_pragma_options): Const-ify. + * darwin.c (machopic_non_lazy_ptr_name, + machopic_validate_stub_or_non_lazy_ptr): Likewise. + (machopic_indirect_data_reference): Wrap variables in macros + controlling their use. + (machopic_finish, update_non_lazy_ptrs, update_stubs): Const-ify. + (machopic_select_section): Use parentheses around && within ||. + * i386/darwin.h (ASM_OUTPUT_ALIGN): Avoid ambiguous-else. + +2002-08-11 Kaveh R. Ghazi + + * ip2k.c (mdr_resequence_xy_yx, mdr_propagate_reg_equivs, + mdr_try_move_dp_reload, ip2k_check_can_adjust_stack_ref, + ip2k_adjust_stack_ref, mdr_try_move_pushes, mdr_try_propagate_clr, + ip2k_xexp_not_uses_reg_for_mem, mdr_try_propagate_move, + mdr_try_remove_redundant_insns, track_w_reload, + mdr_try_wreg_elim): Make function static to match prototype. + * mmix.c (mmix_target_asm_function_epilogue): Likewise. Mark + parameter with ATTRIBUTE_UNUSED. + +2002-08-11 Kaveh R. Ghazi + + * arc.c (arc_init): Don't use ISO C style function definitions. + * arm.c (count_insns_for_constant, thumb_far_jump_used_p, + arm_get_strip_length, arm_strip_name_encoding): Likewise. + * avr.h (progmem_section): Likewise. + * h8300.c h8300_asm_insn_count): Likewise. + * m32r.c (init_idents): Likewise. + * s390.c (s390_split_branches, s390_chunkify_pool): Likewise. + * sh.c (sh_cfun_interrupt_handler_p): Likewise. + * xtensa.c (xtensa_build_va_list): Likewise. + +2002-08-11 Neil Booth + + * c-common.h (enum c_language_kind): Emphasize that clk_c is 0. + * c-opts.c (parse_option): Rename find_opt. + (set_std_c99): New function. + (COMMAND_LINE_OPTIONS): Handle -remap and -o. Remove OPT_std_bad. + (missing_arg): Remove OPT_std_bad. Handle -o. + (c_common_decode_option): Handle input and output file names, + -o and -remap. Clean up -std= handling. + * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_o and OPT_remap. + (cpp_handle_option): Similarly. Don't handle filenames. + +Sun Aug 11 14:43:17 CEST 2002 Jan Hubicka + + * i386.c (classify_argument): Fix computing of field's offsets. + +2002-08-11 Andreas Jaeger + + PR target/7531: + * doc/invoke.texi (i386 and x86-64 Options): Document -mcmodel. + +2002-08-10 Ziemowit Laski + + * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Replace + reference to clk_objective_c with flag_objc. + * config/i386/i386-interix.h (TARGET_OS_CPP_BUILTINS): + Likewise. + * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Likewise. + +2002-08-10 Neil Booth + + * c-opts.c (set_std_cxx98, set_std_c89): New. + (COMMAND_LINE_OPTIONS): Move more from cppinit.c. + (c_common_decode_option): Handle new switches from cppinit.c. + Add -std=gnu++98. + * cppinit.c (set_lang): Rename cpp_set_lang. Export. + (no_arg, no_num): Remove. + (COMMAND_LINE_OPTIONS): Move more to c-opts.c. Drop all lang- + switches apart from -lang-objc and lang-asm. + (cpp_handle_option): Similarly. + * cpplib.h (cpp_set_lang): New. + * doc/cppopts.texi, doc/invoke.texi: Document -std=c++98, + -std=gnu++98. + * objc/lang-specs.h: Remove -ansi. + +Sat Aug 10 19:59:43 CEST 2002 Jan Hubicka + Graham Stott + + * cfg.c (redirect_edge_succ_nodup): Avoid overflows due to roundoff + errors. -Sun Jul 25 17:01:34 1993 Per Bothner (bothner@kalessin.cygnus.com) +2002-08-10 Kaveh R. Ghazi + + * emit-rtl.c (emit_jump_insn_before, emit_call_insn_before, + emit_jump_insn): Fix uninitialized variable. + * gcov.c (init_line_info): Likewise. + * genautomata.c (transform_3): Add braces around ambiguous + else. + * ifcvt.c (cond_exec_process_insns): Mark parameter with + ATTRIBUTE_UNUSED. + * ra-build.c (parts_to_webs_1): Fix uninitialized variable. + * regrename.c (copyprop_hardreg_forward): Fix uninitialized + variable. + + * gengtype.c (write_gc_structure_fields): Avoid signed/unsigned + warnings in output files. + +2002-08-09 Ziemowit Laski + + * c-common.c (flag_objc): New. + * c-common.h (c_language_kind): Get rid of clk_objective_c + enum value. + (flag_objc): New extern declaration. + * c-decl.c (implicitly_declare): Call objc_check_decl + instead of maybe_objc_check_decl. + (finish_decl): Likewise. + (grokfield): Likewise. + (finish_struct): Likewise. + * c-lang.c (maybe_objc_check_decl): Rename to objc_check_decl. + (maybe_objc_comptypes): Rename to objc_comptypes. + (maybe_building_objc_message_expr): Rename to + objc_message_selector. + * c-lex.c (lex_charconst): Remove uses of clk_objective_c, + replace with flag_objc as needed. + * c-opts.c (c_common_init_options): Likewise. + (c_common_decode_option): Likewise. + * c-parse.in (init_reswords): Likewise. + * c-tree.h (maybe_objc_check_decl): Rename to objc_check_decl. + (maybe_objc_comptypes): Rename to objc_comptypes. + (maybe_building_objc_message_expr): Rename to + objc_message_selector. + * c-typeck.c (comptypes): Call objc_comptypes instead of + maybe_objc_comptypes, and/or objc_message_selector instead of + maybe_building_objc_message_expr. + (comp_target_types): Likewise. + (convert_for_assignment): Likewise. + (warn_for_assignment): Likewise. + * cppinit.c (init_builtins): Set __OBJC__ manifest constant + independently of those for other languages. + * objc/objc-act.c (maybe_objc_comptypes): Delete. + (maybe_objc_check_decl): Delete. + (maybe_building_objc_message_expr): Rename to + objc_message_selector. + * objc/objc-lang.c (objc_init_options): Use clk_c instead of + clk_objective_c; set flag_objc flag. + +2002-08-09 Toshiyasu Morita + + * ifcvt.c (find_if_case_2): Test correct basic block for size. + +2002-08-09 Dale Johannesen + + * config/rs6000/rs6000.md: Add sibcall patterns. + * config/rs6000/rs6000.h (FUNCTION_OK_FOR_SIBCALL): Define. + * config/rs6000/rs6000.c (rs6000_ra_ever_killed): + Rewritten to handle sibcalls. + * config/rs6000/rs6000.c (function_ok_for_sibcall): New. + * config/rs6000/rs6000-protos.h (function_ok_for_sibcall): New. + +2002-08-08 Nathan Sidwell + + * profile.c (da_file_name): New static var. + (init_branch_prob): Initialize it. + (end_branch_prob): Remove da file. + + * Makefile.in (stage1_build): Pass empty COVERAGE_FLAGS. + * configure.in (coverage_flags): Default to nothing. + * configure: Rebuilt. + +2002-08-09 Neil Booth + + * Makefile.in (c-opts.o): Update + * c-opts.c: Include intl.h. + (print_help): Move from cppinit.c. Remove unused options. + (COMMAND_LINE_OPTIONS): Move more from cppinit.c. + (missing_arg): Complain for switches without an argument. + (c_common_decode_option): Reject missing joined arguments. + Handle new switches from cppinit.c. + * cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c. + (cpp_handle_option): Similarly. + (print_help): Moved to c-opts.c. + * cpplib.h (struct cpp_options): Remove help_only. + * gcc.c (cpp_unique_options): Remove -$. + * doc/cppopts.texi: Undocument -h. + +2002-08-08 Jakub Jelinek + + * config/i386/i386.c (legitimate_constant_p): UNSPEC_TP is not + legitimate constant. + (legitimate_pic_operand_p): Neither pic operand. + (legitimate_address_p): But legitimate address. + (get_thread_pointer): Generate MEM/u instead of CONST around + UNSPEC_TP. + (print_operand): Remove printing of UNSPEC_TP. + (print_operand_address): And print it here. + +2002-08-08 Devang Patel + + * objc/objc-act.c (build_selector_translation_table): Issue warning, + when -Wselector is used,if method for which selector is being + created does not exist. + +2002-08-08 Stephen Clarke + + * config/sh/sh.c (prepare_move_operands): Only call + target_reg_operand if TARGET_SHMEDIA. + +2002-08-08 Jakub Jelinek + + * config/rs6000/rs6000.h, config/rs6000/aix.h, + config/rs6000/darwin.h, config/rs6000/linux64.h: Revert last + two patches. + * config/rs6000/sysv4.h: Likewise, remove #undef ADJUST_FIELD_ALIGN. + +2002-08-08 Lars Brinkhoff + Richard Henderson + + * emit-rtl.c (gen_rtx_REG): After reload, only return + frame_pointer_rtx or hard_frame_pointer_rtx if frame_pointer_needed. + +2002-08-08 Jakub Jelinek + + * config/rs6000/rs6000-protos.h (rs6000_field_alignment): Remove. + * config/rs6000/rs6000.c (rs6000_field_alignment): Move... + * config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): ...inline into the + macro. + +2002-08-08 Adam Nemet + + * config/arm/arm.c (thumb_unexpanded_epilogue): Stack the PIC + register. + (thumb_expand_prologue): Likewise. + (thumb_output_function_prologue): Likewise. + * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Account for + the additional push of the PIC register. + +2002-08-08 Nathan Sidwell - * 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. + * configure.in (enable_coverage): New enable switch. + * configure: Rebuilt. + * Makefile.in (COVERAGE_FLAGS, coverageexts): New variables. + (INTERNAL_CFLAGS): Append COVERAGE_FLAGS. + (ALL_FLAGS): Reorder so INTERNAL_CFLAGS comes after CFLAGS. + (mostlyclean): Remove coverage files. + * doc/install.texi: Document enable_coverage. -Sun Jul 25 03:56:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * cp/Make-lang.in (c++.mostlyclean): Remove coverage files. + * ada/Make-lang.in (ada.mostlyclean): Remove coverage files. + * f/Make-lang.in (f.mostlyclean): Remove coverage files. + * java/Make-lang.in (java.mostlyclean): Remove coverage files. + * objc/Make-lang.in (objc.mostlyclean): Remove coverage files. + * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage + files. + +2002-08-08 Neil Booth + + * c-opts.c (cpp_opts): New. + (COMMAND_LINE_OPTIONS): Add switches from cppinit.c. + (c_common_decode_options): Handle cpplib switches. + (c_common_init_options): Set cpp_opts. + * cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c. + (cpp_handle_option): Similarly. + +2002-08-08 David Edelsohn - * c-typeck.c (start_init): Fill in p->next. + * config/rs6000/aix.h (TARGET_ALTIVEC): Define to 0. + (TARGET_ALTIVEC_ABI): Same. + (TARGET_ALTIVEC_VRSAVE): Same. - * config/i386/i386.md (movstrictqi): Change q<-g alternative to q<-m. + * config/rs6000/rs6000.c (rs6000_expand_ternop_builtin): Check + icode not CODE_FOR_nothing. Change switch to if. -Sat Jul 24 18:17:55 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-08-08 Alan Modra - * expr.c (emit_move_insn_1): For complex stack push, - don't use change_address. + * config/rs6000/rs6000.h (ASM_CPU_SPEC): Pass -mpower4 when cpu=power4. -Sat Jul 24 15:05:50 1993 Per Bothner (bothner@kalessin.cygnus.com) +2002-08-08 Jakub Jelinek - * 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. + * stor-layout.c (place_union_field): For bitfields if + PCC_BITFIELD_TYPE_MATTERS and TYPE_USER_ALIGN, set record's + TYPE_USER_ALIGN. -Sat Jul 24 02:48:31 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-08-07 John David Anglin - * function.c (put_reg_into_stack): New subroutine. - (put_var_into_stack): Use that; handle CONCAT. + * pa.c (struct deferred_plabel): Constify name field. - * varasm.c (assemble_variable): For array whose size comes from - the initializer, determine proper alignment here. - (assemble_align): New function. +2002-08-07 Neil Booth - * 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. + * cppmacro.c (_cpp_builtin_macro_text): Remove unused variable. - * c-typeck.c (process_init_element): Accept STRING_CST for subarray. +2002-08-07 John David Anglin - * loop.c (mark_loop_jump): Handle weird cases like jumping to - a symbol_ref. + * configure.in (PREFIX_INCLUDE_DIR): Don't define if prefix and + local_prefix are the same. + * configure: Rebuilt. -Fri Jul 23 15:55:14 1993 Doug Evans (dje@canuck.cygnus.com) +2002-08-07 Jakub Jelinek + Richard Henderson - * c-tree.h: Fix prototypes for print_lang_decl, print_lang_type. + * stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN + to type_align when PCC_BITFIELD_TYPE_MATTERS. Only apply + ADJUST_FIELD_ALIGN if not DECL_USER_ALIGN resp. TYPE_USER_ALIGN. + (place_field): Likewise. + * config/i386/i386.c (x86_field_alignment): Don't check + DECL_USER_ALIGN here. + * config/rs6000/rs6000.c (rs6000_field_alignment): New. + * config/rs6000/rs6000-protos.h (rs6000_field_alignment): New + prototype. + * config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): Define. + * config/rs6000/aix.h (ADJUST_FIELD_ALIGN): Remove. + * config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Remove. + * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Remove. + * config/rs6000/sysv4.h (ADJUST_FIELD_ALIGN): Remove. + * doc/tm.texi (ADJUST_FIELD_ALIGN): Update description. -Fri Jul 23 15:06:05 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-08-07 Neil Booth - * c-typeck.c (start_init): Second arg is now a tree. + * Makefile.in (c-opts.o, c-common.o, C_AND_OBJC_OBJS): Update. + * c-common.c: Don't include tree-inline.h. + (c_common_init_options, c_common_post_options): Move to c-opts.c. + * c-common.h (c_common_decode_option): New. + * c-decl.c (c_decode_option): Remove. + * c-lang.c (LANG_HOOKS_DECODE_OPTION): Use c_common_decode_option. + * c-opts.c: New file. + * c-tree.h (c_decode_option): Remove. + * doc/passes.texi: Update. + * objc/objc-act.c (objc_decode_option): Remove. + * objc/objc-act.h (objc_decode_option): Remove. + * objc/ojbc-lang.c (LANG_HOOKS_DECODE_OPTION): Use + c_common_decode_option. -Fri Jul 23 08:26:43 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +2002-08-07 Chris Demetriou - Cygnus<->FSF merge. - Thu Jul 22 09:54:05 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * config/mips/mips.md (sunlt_sf, suneq_sf, sunle_sf): Remove + dependency on TARGET_DOUBLE_FLOAT. - * cp-decl.c (push_overloaded_decl): Fix typo in warning msg. +2002-08-07 Stephen Clarke - Tue Jul 20 13:13:18 1993 Mike Stump (mrs@cygnus.com) + * config/sh/lib1funcs.asm (GCC_shcompact_incoming_args): Don't + overwrite callee-save registers. Fix comment. - * cp-class.c (build_vtable, prepare_fresh_vtable): Make the vtables - readonly by default. +2002-08-06 Chris Demetriou - Mon Jul 19 13:16:58 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * config/mips/mips.c (override_options): Set MASK_BRANCHLIKELY + in target_flags based on ISA, if it was not set on the command + line. Warn if MASK_BRANCHLIKLEY is set but the ISA does not + support Branch Likely instructions. + * config/mips/mips.h (MASK_BRANCHLIKLEY): New macro. + (TARGET_BRANCHLIKELY): Likewise. + (TARGET_SWITCHES): Add -mbranch-likely and -mno-branch-likely. + (GENERATE_BRANCHLIKELY): Use TARGET_BRANCHLIKELY rather than + ISA_HAS_BRANCHLIKELY. + (ISA_HAS_BRANCHLIKELY): Do not include MIPS16 check. + * doc/invoke.texi: Document new MIPS -mbranch-likely and + -mno-branch-likely options. - * cp-tree.h (NEW_CLASS_SCOPING): Turn this off for now. +2002-08-06 Kaveh R. Ghazi - Mon Jul 19 11:04:51 1993 Jason Merrill (jason@rtl.cygnus.com) + * ip2k.c (ip2k_set_compare): Add missing iteration variable. - * cp-class.c (build_vfn_ref): Rename `index' to `idx'. + * Makefile.in (dummy-conditions.o): Depend on $(HCONFIG_H) not + $(GCONFIG_H). - Fri Jul 16 07:44:49 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +2002-08-06 Aldy Hernandez - * 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 (duplicate_decls): Error out for incompatible TLS + declarations. - * cp-expr.c (cplus_expand_expr): Add missing arguments to expand_expr. + * testsuite/gcc.dg/tls/diag-3.c: New. - Thu Jul 15 16:54:33 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +2002-08-06 Dale Johannesen - * 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. + * c-common.c (fname_decl): Use line number 0 for + __func__, to avoid confusing debuggers. - Thu Jul 15 16:23:18 1993 Mike Stump (mrs@cygnus.com) +2002-08-06 Nathan Sidwell - * cp-expr.c (cplus_expand_expr): Use resolve_offset_ref to handle - OFFSET_REFs, as anything else would be wrong. - - Thu Jul 15 13:23:40 1993 Mike Stump (mrs@cygnus.com) + * gcov.c: Tidy. + (struct line_info, struct coverage): New structures. + (gcov_file_name, gcov_file): Remove globals. + (output_data): Take source file parameter. Fix memory leak. Break + up into ... + (init_line_info, output_line_info, make_gcov_file_name, + accumulate_branch_counts): ... here. + (calculate_branch_probs, function_summary): Adjust. + (main): Adjust. + (function_*): Remove global variables. - * 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. +2002-08-06 Neil Booth - * cp-decl.c (grok_reference_init): Reword error message. + * dwarf2out.c: Remove unused macros. - Wed Jul 14 09:17:18 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +2002-08-06 Neil Booth - * 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. + * function.c (TRAMPOLINE_ALIGNMENT): Always defined. - Tue Jul 13 22:43:38 1993 Mike Stump (mrs@cygnus.com) +2002-08-06 Neil Booth - * 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. + * cppinit.c (struct lang_flags): Rename trigraphs std. + (set_lang): Update. + * cpplib.h (struct cpp_options): New member std. + * cppmacro.c (_cpp_builtin_macro_text): Use std. + (collect_args): Flag whether to swallow a possible future + comma pasted with varargs. + (replace_args): Use this flag. + * doc/cpp.texi: Update varargs extension documentation. + +2002-08-06 Jakub Jelinek + + * config/i386/mmintrin.h (__m64): Make the type 64-bit aligned. + +2002-08-06 Jakub Jelinek + + * config/i386/i386.c (x86_field_alignment): Apply min for all MODE_INT + and MODE_CLASS_INT modes. + +2002-08-06 Jakub Jelinek + + * config.gcc (*-*-linux*): Default to --enable-threads=posix if no + --{enable,disable}-threads is given to configure. + (alpha*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux*, + x86_64-*-linux*, ia64*-*-linux*, m68k-*-linux*, mips*-*-linux*, + powerpc-*-linux-gnualtivec*, powerpc-*-linux*, s390-*-linux*, + s390x-*-linux*, sh-*-linux*, sparc-*-linux*, sparc64-*-linux*): + Remove thread_file setting here. + +2002-08-06 David Edelsohn + + * doc/install.texi (Binaries): Update Bull Freeware URL. + +2002-08-06 Gerald Pfeifer + + * doc/gcc.texi (Top): Rename Index to Keyword Index. + +2002-08-05 Nathan Sidwell + + * gcov.c (output_data): Round to % to nearest, tweak formatting. + +2002-08-05 Jakub Jelinek + + * fold-const.c (associate_trees): Only optimize NEGATE_EXPR in one + of the operands into MINUS_EXPR if code is PLUS_EXPR. + +2002-08-05 Douglas B Rupp + + * config.gcc (i[34567]86-*-interix*): Replace interix.o with winnt.o + * config/i386/i386-interix.h (TARGET_NOP_FUN_DLLIMPORT, + drectve_section): Define. + * config/i386/t-interix: Replace interix.o rule with winnt.o. + * config/i386/interix.c: Remove. + +2002-08-05 Geoffrey Keating + + * attribs.c: Don't include obstack.h. + * builtins.c: Likewise. + * cfganal.c: Likewise. + * cfgbuild.c: Likewise. + * cfgcleanup.c: Likewise. + * emit-rtl.c: Likewise. + * loop.c: Likewise. + * stmt.c: Likewise. + + * Makefile.in (s-gtype): Re-add dependency on $(GTFILES). + +2002-08-05 Gabriel Dos Reis + + * doc/c-tree.texi (Expression trees): Document VA_ARG_EXPR + +2002-08-04 Chris Demetriou + + * doc/invoke.texi: Remove duplicated paragraph describing + TARGET_SWITCHES. + +2002-08-04 Geoffrey Keating + + * Makefile.in (sdbout.o): Doesn't need $(OBSTACK_H). + * collect2.h (permanent_obstack): Delete declaration. + * collect2.c (permanent_obstack): Delete definition. + (main): Don't initialize permanent_obstack. Use xstrdup instead. + * expr.c: Don't include obstack.h. + (permanent_obstack): Delete declaration. + * function.c: Don't include obstack.h. + (permanent_obstack): Delete declaration. + * integrate.c: Don't include obstack.h. + (function_maybepermanent_obstack): Delete declaration. + * print-tree.c (debug_tree): Use x*alloc not permalloc. + * sdbout.c (gen_fake_label): Use x*alloc not permalloc. + * tlink.c (pfgets): Use xstrdup not permanent_obstack. + * toplev.c (lang_independent_init): Rename init_obstacks to init_ttree. + * tree.h: Rename init_obstacks to init_ttree. Remove declarations + of permalloc, expralloc, perm_calloc. + * tree.c (permanent_obstack): Delete definition. + (init_ttree): Rename from init_obstacks. + (permalloc): Delete. + (perm_calloc): Delete. + (dump_tree_statistics): Don't print information about + permanent_obstack. + * varasm.c (assemble_start_function): Use xstrdup instead of + permalloc/strcpy. + (assemble_variable): Likewise. + * config/alpha/alpha.c (unicosmk_need_dex): Use xmalloc instead of + permalloc. + (unicosmk_add_extern): Likewise. + * config/c4x/c4x.c (c4x_external_ref): Likewise. + (c4x_global_label): Likewise. + * config/frv/frv.c (frv_encode_section_info): Likewise. + * config/i386/winnt.c (i386_pe_record_external_function): Likewise. + (i386_pe_record_exported_symbol): Likewise. + * config/mips/mips.c (mips_output_external): Likewise. + (mips_output_external_libcall): Likewise. + * config/pa/pa.c: (permanent_obstack): Delete declaration. + (output_call): Use ggc_strdup instead of allocating on + permanent_obstack. + * config/romp/romp.c: Include ggc.h. + (get_symref): Don't declare permanent_obstack, use ggc_strdup + intead of permanent_obstack. + * config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use concat + instead of permalloc. + * config/rs6000/rs6000.c (rs6000_gen_section_name): Use xmalloc + instead of permalloc + * config/rs6000/xcoff.h (ASM_OUTPUT_EXTERNAL): Use concat + instead of permalloc. + * config/vax/vax.c (vms_check_external): Use xmalloc instead of + permalloc. + +2002-08-04 Bernd Schmidt + + Contribute a port developed primarily by Michael Meissner, + Catherine Moore, and Richard Sandiford . + * config.gcc: Add frv-elf target. + * config/frv/cmovd.c: New file. + * config/frv/cmovh.c: New file. + * config/frv/cmovw.c: New file. + * config/frv/frv-abi.h: New file. + * config/frv/frv-asm.h: New file. + * config/frv/frv-modes.def: New file. + * config/frv/frv-protos.h: New file. + * config/frv/frv.c: New file. + * config/frv/frv.h: New file. + * config/frv/frv.md: New file. + * config/frv/frvbegin.c: New file. + * config/frv/frvend.c: New file. + * config/frv/lib1funcs.asm: New file. + * config/frv/media.h: New file. + * config/frv/modi.c: New file. + * config/frv/t-frv: New file. + * config/frv/uitod.c: New file. + * config/frv/uitof.c: New file. + * config/frv/ulltod.c: New file. + * config/frv/ulltof.c: New file. + * config/frv/umodi.c: New file. + * config/frv/xm-frv.h: New file. + + * config/frv/media.h: Removed again. + +2002-08-04 Nathan Sidwell + + * gcov.c (bb_file_time): New static variable. + (object_directory): May also be object file. + (preserve_paths): New static variable. + (print_usage): Adjust. + (options): Adjust. + (process_args): Adjust. + (open_files): Simplify. Cope when OBJECT_DIRECTORY is an object + file. Find modification date on bb file. + (read_profile): Don't rewind a NULL file. + (format_hwint): New static function. + (function_summary): Use format_hwint. + (output_data): SOURCE_FILE_NAME is never relative to + OBJECT_DIRECTORY. Use format_hwint. Adjust gcov file name + mangling. Adjust output format to make it more machine readable. + * doc/gcov.texi: Document & clarify semantics. + +2002-08-04 Joseph S. Myers + + * doc/include/gcc-common.texi (version-GCC): Increase to 3.3. + +2002-08-04 Nathan Sidwell + + * gcc.c (cc1_options): Pass output file as auxbase when + appropriate. + * profile.c (init_branch_prob): FILENAME has already had ending + stripped. + * final.c (end_final): Likewise. + * toplev.c (aux_base_name): New global. + (compile_file): Pass aux_base_name to init init_branch_prob and + end_final. + (independent_decode_option, case 'a'): New auxinfo options. + (case 'd'): Protect against mising basename. + (do_compile): Initialize aux_base_name. + * toplev.h (aux_base_name): New global. + * doc/invoke.texi: Adjust documentation. + +2002-08-04 Nathan Sidwell + + * config/i386/i386.c (x86_field_alignment): Remove duplicate test + of TARGET_ALIGN_DOUBLE. + +2002-08-04 Gabriel Dos Reis + + * diagnostic.c (inform): New function. + * diagnostic.h (inform): Declare. + +2002-08-03 David Edelsohn + + * config/rs6000/rs6000.md (movsi_internal1): Add nop mnemonic. + (movhi_internal): Same. + (movqi_internal): Same. + (movdi_internal64): Same. + + * config/rs6000/t-ppccomm (MULTILIB_MATCHES_FLOAT): Add mcpu=405. + + * config/rs6000/xcoff.h (SKIP_ASM_OP): Define. + (ASM_OUTPUT_SKIP): Use it. SIZE unsigned. + (COMMON_ASM_OP): Define. + (ASM_OUTPUT_ALIGNED_COMMON): Use it. SIZE unsigned. + Use ALIGN parameter. + (LOCAL_COMMON_ASM_OP): Define. + (ASM_OUTPUT_LOCAL): Use it. SIZE unsigned. + +2002-08-03 Roger Sayle + + * builtins.def: Define new builtin functions exp, expf, expl, + log, logf and logl (and their __builtin_* variants). + * optabs.h (enum optab_index): Add new OTI_exp and OTI_log. + Define exp_optab and log_optab. + * optabs.c (init_optans): Initialize exp_optab and log_optab. + * genopinit.c (optabs): Implement exp_optab and log_optab + using exp?f2 and log?f2 patterns. + * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_EXP* + and BUILT_IN_LOG* using exp_optab and log_optab respectively. + (expand_builtin): Ignore the new builtins (and all cos and + sin variants) when not optimizing. Expand new builtins via + expand_builtin_mathfn when flag_unsafe_math_optimizations. - Tue Jul 13 11:52:37 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * doc/extend.texi: Document new exp and log builtins. + * doc/md.texi: Document new exp?f2 and log?f2 patterns + (and previously undocumented cos?f2 and sin?f2 patterns). - * 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. +2002-08-03 Jason Merrill - Sat Jul 10 14:54:36 1993 Chip Salzenberg (chip@fin.uucp) + * explow.c (int_expr_size): New fn. + * expr.c (expand_expr) [CONSTRUCTOR]: Use it. + * expr.h: Declare it. - * 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. +2002-08-02 Krister Walfridsson - * cp-typeck.c (build_binary_op_nodefault): Make warning - message distinguish between right/left and shift/rotate. + * Makefile.in (gengtype-lex.o, gengtype-yacc.o): Add path to + gengtype-* dependencies. - * 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. +2002-08-02 Eric Christopher - * cp-typeck.c (c_sizeof, build_c_cast): Set TREE_OVERFLOW in - addition to TREE_CONSTANT_OVERFLOW. + * config.gcc (mips*-*-linux*): Fix ordering of tm_file. + * config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Change + #ifndef to #undef. + (TARGET_MEM_FUNCTIONS): Define instead of define to 1. - * cp-decl.c (finish_enum): Store layout results into variant types. +2002-08-02 David Edelsohn - * 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. + PR optimize/7067 + * config/rs6000/rs6000.h (RTX_COSTS): Artificially make MULT + small if optimizing for size. - * cp-parse.y (program): After extdefs, pop any unpopped binding lvls. +2002-08-02 Daniel Jacobowitz - * cp-decl.c (grokdeclarator, ARRAY_REF case): Build array type, - and then build the variant array type. + * configure.in (FORBUILD): Use $build_alias. + * configure: Regenerated. - * cp-lex.c (real_yylex): Avoid invalid shift for erroneous empty - char const. +2002-08-02 Richard Sandiford - * cp-decl.c (complete_array_type): Make maxindex -1 for empty - constructor. + * config.gcc: Don't include mips/abi64.h in $tm_file. + * hard-reg-set.h (call_really_used_regs): Declare. + * config/mips/abi64.h: Remove file. + * config/mips/linux.h, + * config/mips/iris6.h: Don't include it. + * config/mips/mips-protos.h (mips_conditional_register_usage): Declare. + * config/mips/mips.h (CONDITIONAL_REGISTER_USAGE): Use it. + (REG_PARM_STACK_SPACE, STACK_BOUNDARY, STRICT_ARGUMENT_NAMING, + FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_PADDING, + FUNCTION_ARG_CALLEE_COPIES, MUST_PASS_IN_STACK, MIPS_STACK_ALIGN): + Bring across definitions from abi64.h. + (GP_ARG_LAST, FP_ARG_LAST): Use MAX_ARGS_IN_REGISTERS. + (BIGGEST_MAX_ARGS_IN_REGISTERS): New. + (struct mips_args): Use it. + * config/mips/mips.c (mips_conditional_register_usage): Define. - * cp-type2.c (initializer_constant_valid_p): Allow cast of ptr to - wider integer. +2002-08-02 Jason Merrill - * cp-decl.c (pushdecl): Copy DECL_FRAME_SIZE for inline function decls. + * langhooks-def.h (LANG_HOOKS_EXPR_SIZE): New macro. + * langhooks.c (lhd_expr_size): Define default. + * langhooks.h (struct lang_hooks): Add expr_size. + * explow.c (expr_size): Call it. + * expr.c (store_expr): Don't copy an expression of size zero. + (expand_expr) [CONSTRUCTOR]: Use expr_size to calculate how much + to store. + * Makefile.in (builtins.o): Depend on langhooks.h. - * cp-decl.c (finish_decl): Do not allocate static var of - unknown size. - (complete_array_type): Use 0 as default maxindex. +2002-08-02 Kaveh R. Ghazi -Fri Jul 23 07:18:20 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * Makefile.in (ra-debug.o): Depend on $(TM_P_H). + * ra-debug.c: Include "tm_p.h". + * ra-rewrite.c (is_partly_live_1): Change return type to bool. - * function.c (aggregate_value_p): An ARRAY_TYPE is also an aggregate. +2002-08-02 Toon Moene -Fri Jul 23 01:54:28 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * simplify-rtx.c (simplify_binary_operation): x * 1 is allowed + when not honoring signalling NaNs. + (simplify_ternary_operation): a == b has a definite value + when not honoring NaNs. - * gcc.c (main): Improve "No input files" error message. +2002-08-02 Jason Merrill -Thu Jul 22 23:00:11 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * gdbinit.in (pct): New macro. - * 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. +2002-08-01 Stan Shebs + Andreas Tobler -Thu Jul 22 18:01:29 1993 John Hassey (hassey@dg-rtp.dg.com) + * ginclude/stddef.h (_BSD_SIZE_T_DEFINED_): Define if not defined, + plays nice with Darwin headers. + (_BSD_RUNE_T_DEFINED_): Likewise. - * 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. +2002-08-01 Zack Weinberg -Thu Jul 22 11:19:28 PDT 1993 Ron Guilmette (rfg@netcom.com) + * c-common.c (c_common_init): -Wtraditional also implies -Wlong-long. + * cppinit.c (cpp_post_options): Likewise. - * fixinc.svr4 (making LIB absolute): Just concat with $ORIG_DIR. + * cppexp.c (cpp_classify_number): Suppress -Wtraditional + warning about 'LL' suffix (but not 'ULL' etc) when + -Wno-long-long is in effect. - * configure: Use `sed' rather than `cat' to put `MAYBE_TARGET_DEFAULT' - definition in. (This is a work-around for an NFS bug.) + * cppmacro.c (_cpp_builtin_macro_text) [BT_TIME, BT_DATE]: + Check for failing time()/localtime(), issue a warning, and + make __TIME__ and __DATE__ expand to fallback strings. -Thu Jul 22 14:59:38 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * doc/cpp.texi, doc/extend.texi: Document behavior of __DATE__ + and __TIME__ when the date and time cannot be determined. - * 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. +2002-08-02 Alan Modra - * 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='. + * config/rs6000/rs6000.c (output_cbranch): Hint differently for power4. - * 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. +2002-08-01 Daniel Jacobowitz -Wed Jul 21 15:50:19 1993 Jim Wilson (wilson@cygnus.com) + * Makefile.in ($(BUILD_PREFIX_1)ggc-none.o): Use $(GGC_H). - * expr.c (expand_expr, COMPONENT_REF case): For unaligned object - in an aligned union, set MEM_IN_STRUCT_P if create a MEM rtx. +2002-08-01 Chris Demetriou - * sparc.c (output_move_double): Only set highest_first if first reg - of dest overlaps memory src address. Otherwise, if addreg1 set and - is same as second reg of dest, suppress trailing decrement. - - * sparc.md (movdi+1): Delete & from r/i constraint. + * config.gcc (mipsisa64sb1-*-elf*): New configuration. + (mipsisa64sb1el-*-elf*): Likewise. + * config/mips/mips.c (mips_cpu_info_table): Add sb1. + * config/mips/mips.h (processor_type): Add PROCESSOR_SB1. + (TARGET_SB1, TUNE_SB1): New macros. + * doc/invoke.texi: Add sb1 to documentation for MIPS -march and + -mtune flags. - From rfg@netcom.com: - * fixinc.svr4 (): Don't apply specialized fixes to - if we are on Solaris. They are not needed in that case. +2002-08-01 David Edelsohn - * 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. + * varasm.c (asm_emit_uninitialized): Return false if global BSS + and ASM_EMIT_BSS not supported by target. + (assemble_variable): Do not duplicate uninitialized logic. + Fall through if asm_emit_uninitialized failed. - * 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. +2002-08-01 Chris Demetriou - * m68k.h (TARGET_SWITCHES): Recognize -m68851, -mno-68851, - -m68302, -mno-68302, -m68332, -mno-68332. + * config/mips/mips.h (BRANCH_LIKELY_P): Remove unused macro. - * 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. +2002-08-02 Alan Modra - * fixincludes (sys/types.h sys/stdtypes.h): Delete newline before - do. - (machine/cpu.h): Delete space in `2>& 1'. + * config/rs6000/linux64.h (DBX_OUTPUT_BRAC): Define. + (DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC): Define. - * config.sub (lynx): Recognize as vendor. - (lynxos): Recognize as OS. - * configure (i386-*-lynxos, sparc-*-lynxos, m68k-*-lynxos): - Recognize as new configurations. + * config/rs6000/rs6000.c (output_toc): Don't use lshift_double when + HOST_BITS_PER_WIDE_INT == 64. - * gcc.c (link_command_spec): Move %{T*} after %{L*} and %D. +2002-08-01 Kaveh R. Ghazi - * optabs.c (expand_binop): Synthesize double word shifts and - rotates from single word shifts. - * sparc.md (ashldi3, lshrdi3): Obsolete, deleted. + * df.c (df_insn_table_realloc): Change parameter to unsigned. + * optabs.c (expand_binop): Make variable unsigned. + * simplify-rtx.c (simplify_subreg): Likewise. + * unroll.c (unroll_loop): Cast to avoid signed/unsigned warnings. -Wed Jul 21 15:55:18 1993 Ian Lance Taylor (ian@cygnus.com) +2002-08-01 Franz Sirl - * fixinc.svr4: When fixing ftw.h, preserve remainder of - ftw and nftw declaration; don't just rewrite it. + * c-common.c (cb_register_builtins): Always define __GXX_ABI_VERSION. -Tue Jul 20 23:35:36 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-08-01 Richard Henderson - * collect2.c (is_ctor_dtor): Delete leading _'s from sym names - in `special' table, in neither-dots-nor-dollars case. + * toplev.c (parse_options_and_default_flags): Don't set + flag_reorder_blocks for -Os. -Tue Jul 20 18:49:09 1993 Michael Meissner (meissner@osf.org) + * config/avr/avr.c (avr_optimization_options): Remove. + * config/avr/avr.h (OPTIMIZATION_OPTIONS): Remove. + * config/m68hc11/m68hc11.c (m68hc11_optimization_options): Remove. + * config/m68hc11/m68hc11.h (OPTIMIZATION_OPTIONS): Remove. - * i386/osfrose.h, i386/osfelf.h (CC1_SPEC): Don't turn on - -mhalf-pic if ELF. +2002-08-01 H.J. Lu + Richard Henderson - * i386/osfrose.h (ASM_FILE_END): Put filename, sans directory into - the .ident string. + * output.h (DECL_READONLY_SECTION): Remove. + (decl_readonly_section): Declare. + * varasm.c (decl_readonly_section): New. + (default_section_type_flags, default_select_section): Use it. + * config/arm/pe.c (arm_pe_unique_section): Likewise. + * config/i386/interix.c (i386_pe_unique_section): Likewise. + * config/i386/winnt.c (i386_pe_unique_section): Likewise. + * config/mcore/mcore.c (mcore_unique_section): Likewise. + * config/mips/mips.c (mips_unique_section): Likewise. -Tue Jul 20 15:07:06 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +2002-08-01 Richard Henderson - * 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. + * integrate.c (copy_rtx_and_substitute): Squash MEM_EXPR when it + refers to a subroutine parameter. -Mon Jul 19 18:15:48 1993 John F Carr (jfc@Athena.mit.edu) +2002-08-01 Jakub Jelinek - * 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. + * varasm.c (assemble_visibility): Strip name encoding. -Mon Jul 19 13:17:52 1993 Jeffrey A. Law (law@snake.cs.utah.edu) +2002-08-01 Ian Dall - * reorg.c (fill_simple_delay_slots): Try filling any insn needing - delay slots with a JUMP_INSN. + * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE): Correct earlier patch. + (RETURN_ADDR_RTX): Cannot determine return address for FRAME > 0 + when there is no frame pointer. + (INITIAL_FRAME_POINTER_OFFSET): Count stack space for saved fp + registers properly. + * config/ns32k/__unorddf2.c: New file. + * config/ns32k/__unordsf2.c: New file. + * config/ns32k/t-ns32k: New file. + * config.gcc (ns32k-*-netbsd*): Use it. -Mon Jul 19 00:33:24 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-08-01 Aldy Hernandez - * varasm.c (assemble_variable): New arg DONT_OUTPUT_DATA. - * toplev.c (rest_of_decl_compilation): Pass 0 as DONT_OUTPUT_DATA. + * config/rs6000/rs6000.h (SPU_CONST_OFFSET_OK): Change to 0xff. -Sun Jul 18 15:38:04 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-08-01 Neil Booth - * c-typeck.c (c_expand_return): Set TREE_SIDE_EFFECTS - for the MODIFY_EXPR that we make. + * c-common.c (__GXX_ABI_VERSION): Correct spelling. - * stmt.c (expand_return): When expanding assignment into DECL_RESULT, - ignore the "value"--do it for effect. +2002-08-01 Benjamin Kosnik - * 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. + * c-common.c (cb_register_builtins): Set __GXX_ABI_VERSION__ to 102. -Sun Jul 18 14:22:05 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +2002-08-01 Richard Sandiford - * function.c (init_function_start): Initialize trampoline_list here. - (expand_function_end): Not here. + * config/mips/mips.md: Add [!]TARGET_MIPS16 to sgtu conditions. -Sun Jul 18 01:24:54 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-08-01 Zdenek Dvorak - * c-typeck.c (common_type): Use TYPE_MAIN_VARIANT when preferring - long int to int (when width is the same). + * gcse.c (expr_hash_table_size, n_exprs, set_hash_table_size, + n_sets): Removed. + (expr_hash_table, set_hash_table): Type changed to ... + (struct hash_table): New type. + (hash_scan_insn, hash_scan_set, hash_scan_clobber, hash_scan_call, + insert_expr_in_table, insert_set_in_table, compute_hash_table, + dump_hash_table, lookup_expr, lookup_set, compute_local_properties, + compute_ae_gen, compute_ae_kill): Modified to pass the table explicitly. + (alloc_set_hash_table, alloc_expr_hash_table): Merged to ... + (alloc_hash_table): New. + (free_set_hash_table, free_expr_hash_table): Merged to ... + (free_hash_table): New. + (compute_set_hash_table, compute_expr_hash_table): Merged to ... + (compute_hash_table_work): New. + (classic_gcse, one_classic_gcse_pass, compute_cprop_data, + find_avail_set, one_cprop_pass, find_bypass_set, compute_pre_data, + pre_edge_insert, pre_insert_copies, pre_delete, pre_gcse, + one_pre_gcse_pass, compute_transpout, compute_code_hoist_vbeinout, + hoist_code, one_code_hoisting_pass, + trim_ld_motion_mems): Altered due to changed type of hash tables. - * 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. +2002-08-01 Zack Weinberg - * objc-act.c (synth_module_prologue): Call layout_type for the array - type used for _OBJC_SELECTOR_TABLE. + * final.c (output_alternate_entry_point): + If ASM_OUTPUT_TYPE_DIRECTIVE is defined, use it. -Sat Jul 17 00:41:52 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-08-01 Kaveh R. Ghazi - * 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'. + * objc/objc-act.c (encode_complete_bitfield): Add prototype and + avoid ISO C style function definition. - * toplev.c (rest_of_compilation): If function is extern inline, - even if we can't inline it, don't compile it. + * expr.c (expand_assignment): Delete unused variable. -Fri Jul 16 21:33:50 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-08-01 Toon Moene - * dwarfout.c (dwarfout_init): Report failure of getpwd. + * c-common.c (cb_register_builtins): Set + __FINITE_MATH_ONLY__ to 1 if -ffinite-math-only + is given, and to 0 otherwise. + * combine.c (simplify_if_then_else): HONOR_NANS + implies FLOAT_MODE_P. -Fri Jul 16 15:59:07 1993 Ian Lance Taylor (ian@cygnus.com) +2002-08-01 Neil Booth - * config/m68k/hp320.h (LINK_LIBGCC_SPECIAL, SPACE_AFTER_L_OPTION) - (LIB_SPEC): Move outside of USE_GAS conditional. + * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_dollar. + (cpp_handle_option): Don't handle it. + (print_help): Update. + * doc/cppopts.texi: Update. -Fri Jul 16 14:26:25 1993 David d `zoo' Zuhn (zoo@cygnus.com) +2002-08-01 Neil Booth - * config.sub: if [ "$os" ] --> if [ x"$os" != x"" ] + * c-common.c (cb_register_builtins): If C++, define + __EXCEPTIONS, __DEPRECATED and __GXX_ABI_VERSION as appropriate. + * gcc.c (cpp_unique_options): Remove __GXX_ABI_VERSION. +cp: + * lang-specs.h: Simplify in accordance with new code in + c-common.c. -Fri Jul 16 05:50:35 1993 Paul Eggert (eggert@twinsun.com) +2002-08-01 Neil Booth - * 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-common.c: Define all C/ObjC/C++ warning and flag variables. + * c-common.h: Declare all C/ObjC/C++ warning and flag variables. + * c-decl.c: Move all warning and flag variables to c-common.c. + * c-format.c: Move all warning variables to c-common.c. + * c-tree.h: Move all warning and flag declarations to c-common.h. + * objc/objc-act.c: Move all warning variables to c-common.c. + (flag_warn_protocol): Rename warn_protocol. - * c-typeck.c (convert_arguments) [PROMOTE_PROTOTYPES]: - With -Wconversion, use unpromoted type to check for signedness changes. +2002-07-31 John David Anglin -Thu Jul 15 13:04:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * pa-linux.h (GLOBAL_ASM_OP): Fix typo. - * fixincludes (stdlib.h): Check carefully for definition of size_t. +2002-07-31 Graham Stott + + * config/stormy16/stormy16.h (BSS_SECTION_ASM_OP): Add missing + .section prefix. + +2002-07-31 Stan Shebs + + * config.gcc (i[34567]86-*-darwin*): New configuration. + * config/darwin.h (TARGET_ENCODE_SECTION_INFO): Undefine before + defining. + (TARGET_ENCODE_SECTION_INFO): Ditto. + (ASM_PREFERRED_EH_DATA_FORMAT): Ditto. + * config/darwin.c (machopic_indirect_data_reference): Remove + setting of RTX_UNCHANGING_P. + (machopic_legitimize_pic_address): Move RTX_UNCHANGING_P up so as + not to be applied to sums. + * config/i386/t-darwin: New file. + * config/i386/darwin.h: New file. + * config/i386/i386.h (TARGET_MACHO): Add default definition. + * config/i386/i386.md (tablejump): Add TARGET_MACHO case. + * config/i386/i386.c (output_set_got): For Mach-O, output Mach-O + label and not the GOT add. + (constant_address_p): For Mach-O, seeing a CONST is enough. + (legitimate_pic_address_disp_p): Add a Mach-O case. + (legitimate_address_p): Also test machopic_operand_p if Mach-O. + (legitimize_pic_address): Use generic Mach-O code to legitimize. + (output_pic_addr_const): Suppress @PLT if Mach-O, and parens + if outputting a difference. + (ix86_output_addr_diff_elt): Add Mach-O case. + (ix86_expand_move): Similarly. + (ix86_expand_call): Similarly. + (current_machopic_label_num): New global. + (machopic_output_stub): New function. + (ix86_value_regno): New function. + (ix86_function_value): Use it instead of VALUE_REGNO. + (ix86_libcall_value): Ditto. + * config/i386/unix.h (VALUE_REGNO): Remove. + +2002-07-31 Graham Stott + + * config/rs6000/rs6000.c(rs6000_hash_constant): Fix + hash for LABEL_REF's. -Wed Jul 14 19:05:51 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-07-31 Graham Stott - * fixincludes: Fix size_t definition in stdlib.h as in types.h. - Also a conditional to prevent repeated definition. + * config/rs6000/rs6000.c (spe_init_builtins, + altivec_init_builtins, rs6000_common_init_builtins): + Replace ANSI with K&R function def. -Wed Jul 14 14:53:26 1993 Ian Lance Taylor (ian@cygnus.com) +2002-07-31 David Edelsohn - * fixincludes: Don't discard comment end characters on lines that - look like "#endif */". Fixes Esix 4.0.4 problem. + * rs6000.c (validate_condition_mode): Test flag_finite_math_only + for CCFPmode. -Wed Jul 14 12:20:13 1993 Jeffrey A. Law (law@snake.cs.utah.edu) +2002-07-31 Richard Sandiford - * pa.c (emit_move_sequence): Use cint_ok_for_move instead of - checking each condition ourselves. + * config/mips/crtn.asm: Don't use __mips16 to determine the + return-address offset. Define RA to a suitable temporary + register for the return address. - * 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. +2002-07-31 Richard Sandiford - * 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. + * config/mips/mips.md (eh_set_lr_si, eh_set_lr_di): Change + constraints to 'd'. -Wed Jul 14 02:19:11 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-07-30 Chris Demetriou - * 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. + * config/mips/elf.h (STARTFILE_SPEC): Define differently if + default ABI is MEABI. (Undoes incorrect change in Eric Christopher's + patch on 2002-07-29.) + * config/mips/elf64.h (STARTFILE_SPEC): Likewise. - * c-typeck.c (build_c_cast): When casting to union, if value is array - or function, do default_conversion. +2002-07-30 Kaveh R. Ghazi -Wed Jul 14 00:52:23 1993 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + * alpha.h, arc.h, arm/aout.h, avr.h, cris.h, d30v.h, dsp16xx.h, + fr30.h, h8300.h, i370.h, i386/sco5.h, i386/unix.h, i960.h, ia64.h, + ip2k.h, m32r.h, mcore.h, mips.h, mn10200.h, mn10300.h, ns32k.h, + openbsd.h, pa/pa-linux.h, pdp11.h, romp.h, rs6000/sysv4.h, + s390/linux.h, sh.h, sparc.h, stormy16.h, v850.h, vax.h, xtensa.h: + (ASM_GLOBALIZE_LABEL): Delete. + (GLOBAL_ASM_OP): Define. - * config.sub: Add case for Bull dpx/2. + * m68hc11.h, m68k.h, m88k.h (ASM_GLOBALIZE_LABEL): Delete. -Mon Jul 12 17:26:53 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * defaults.h (ASM_GLOBALIZE_LABEL): Provide a default. + * doc/tm.texi (ASM_GLOBALIZE_LABEL): Update docs. - * fixincludes: When looking for #define CTRL, - accept multiple spaces between the two words. +2002-07-30 Geoffrey Keating - * reload1.c (reload): Don't free scratch_list or scratch_block if 0. + * doc/extend.texi (Hints implementation): Document that GCC + mostly ignores `register'. -Mon Jul 12 17:12:31 1993 Paul Eggert (eggert@twinsun.com) +2002-07-30 Toon Moene - * 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. + * flags.h: Declare flag_finite_math_only. + Use it in definition of HONOR_NANS and + HONOR_INFINITIES. + * c-common.c (cb_register_builtins): Emit + __FINITE_MATH_ONLY__ when flag_finite_math_only + is set. + * combine.c (simplify_if_then_else): If + flag_finite_math_only is set, a == b has a + definite value. + * toplev.c: Initialize flag_finite_math_only. + (set_flags_fast_math): Set it on -ffast-math. + (flag_fast_math_set_p): Test it. + * doc/invoke.texi: Document -ffinite-math-only. + +2002-07-30 Richard Henderson -Mon Jul 12 16:44:37 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * ifcvt.c (noce_get_alt_condition): Use reg_overlap_mentioned_p. + (noce_process_if_block): Likewise. - * config/i386/i386.md (ffssi2, ffshi2): Assume bsf produces - garbage if input is 0. Use jumps to load output in that case. +2002-07-30 Bernd Schmidt - * config/vax/vax.h (INITIALIZE_TRAMPOLINE): Add code to - do an rei to clear the insn cache. + * ifcvt.c (cond_exec_process_if_block): Fix a merging error. + Bail out early if false_expr is NULL and we'd crash due to this. + * genemit.c (gen_expand): Recognize return insns even if the return + appears in a parallel. + * libgcc2.c: Expand macro DECLARE_LIBRARY_RENAMES if it is defined. + * config/fp-bit.c: Likewise. + * doc/tm.texi: Document it. -Sun Jul 11 18:13:47 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-07-30 David Edelsohn + Zack Weinberg - * config/ns32k/ns32k.c (output_move_double): Do the low reg first, - when only the high reg has an overlap. + * rs6000.c (rs6000_expand_unop_builtin): Check icode not + CODE_FOR_nothing. Change switch to if. + (rs6000_expand_binop_builtin): Same. + (rs6000_expand_builtin): Expand builtin if target support enabled. + (rs6000_init_builtins): Init builtin if target support enabled. + (rs6000_common_init_builtins): Check icode not CODE_FOR_nothing. - * 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. +2002-07-30 Franz Sirl - * i860.c (output_move_double): Fix typos in Jun 28 change. + * gcc.c (cpp_unique_options): Define __GXX_ABI_VERSION, bump it to 101. -Sat Jul 10 16:05:26 1993 Jim Wilson (wilson@sphagnum.cygnus.com) +2002-07-30 Richard Sandiford - * i860.c (output_move_double): Only set highest_first if first reg - of dest overlaps memory src address. Otherwise, if addreg1 set and - is same as second reg of dest, suppress trailing decrement. - -Sat Jul 10 19:49:31 1993 Jeffrey A. Law (law@mole.gnu.ai.mit.edu) + * config/mips/mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Fix typo. - * jump.c (jump_optimize): Correctly identify branches to the end - of a function so that they may be turned into RETURN insns. +Tue Jul 30 18:31:31 2002 J"orn Rennecke -Sat Jul 10 17:37:12 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * sh.md (cond_delay_slot): New attribute. + (cbranch delay): Use it for anulled-true case. + (stuff_delay_slot): New pattern. + * sh.c (print_operand, case '.'): Don't print .s / /s fore zero-length + delay slot insn. + (gen_far_branch): Emit stuff_delay_slot pattern. - * collect2.c (main): Allocate COLLECT_NAME string with xmalloc. +Tue Jul 30 11:21:44 2002 J"orn Rennecke -Sat Jul 10 14:44:29 1992 Chip Salzenberg (chip@fin.uucp) + * unroll.c (copy_loop_body): Don't copy NOTE_INSN_LOOP_CONT. - * 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. +2002-07-30 Kazu Hirata -Sat Jul 10 10:25:16 1993 Karl Berry (karl@cs.umb.edu) + * fold-const.c: Fix comment typos. + * gcse.c: Likewise. + * reload1.c: Likewise. - * fixincludes: Check for symlinks being available in /tmp. +2002-07-29 Aldy Hernandez -Sat Jul 10 02:01:08 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/rs6000/rs6000.md: Disallow CCEQ compare with crnor/crnot + for TARGET_SPE. - * config/m68k/3b1.h (MY_ISCOFF, OBJECT_FORMAT_COFF, NO_SYS_SIGLIST): - New definitions. +2002-07-30 Gabriel Dos Reis -Fri Jul 9 20:40:29 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * c-pretty-print.h (pp_c_statement): Declare. + * c-pretty-print.c (pp_c_postfix_expression): #if 0 support for SRCLOC. + (pp_c_statement): Define. - * pa.md (dbra and movb patterns): Fix constraints so that FP - registers are never preferred. +2002-07-30 Kaveh R. Ghazi -Fri Jul 9 17:36:35 1993 Holger Teutsch (holger@hotbso.rhein-main.de) + * alpha.h, arc.h, arm/aout.h, avr.h, c4x.h, cris.h, d30v.h, + darwin.h, dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i960.h, + ip2k.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mips.h, + mn10200.h, mn10300.h, ns32k.h, pa/pa-linux.h, pdp11.h, romp.h, + rs6000/sysv4.h, s390/linux.h, sh.h, sparc.h, stormy16.h, + v850.h, vax.h, xtensa.h (ASM_OUTPUT_LABEL): Delete definition. - * 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. + * defaults.h (ASM_OUTPUT_LABEL): Provide a default. + * doc/tm.texi (ASM_OUTPUT_LABEL): Update docs. - * config/clipper/clipper.c (clipper_builtin_saveregs) : Dito. +2002-07-30 Gabriel Dos Reis -Fri Jul 9 13:39:08 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * c-pretty-print.c (pp_c_primary_expression): Handle STMT_EXPR. + (pp_c_postfix_expression): Handle ARROW_EXPR, FFS_EXPR, + COMPOUND_LITERAL_EXPR, VA_ARG_EXPR. + (pp_c_expression): Update. - Cygnus<->FSF merge. - Fri Jul 9 12:17:20 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +2002-07-29 Kaveh R. Ghazi - * 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. + * alpha/vms-cc.c (preprocess_args, main): Use xstrdup and/or + concat in lieu of xmalloc/strcpy/memcpy/sprintf. + * alpha/vms-ld.c (main): Likewise. + * dsp16xx.c (double_reg_to_memory): Likewise. + * mcore.c (mcore_expand_prolog): Likewise. + * cppfiles.c (read_name_map): Likewise. + * gensupport.c (process_rtx, identify_predicable_attribute, + alter_test_for_insn): Likewise. + * vmsdbgout.c (write_rtnbeg, vmsdbgout_init): Likewise. - * cp-decl.c (pushdecl): Undo change to generate a new _TYPE node for - a typedef. +2002-07-29 Roger Sayle - Thu Jul 8 16:25:52 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * builtins.c (expand_builtin): Change the default behavior to + only issue an error if the builtin function doesn't have a + fallback library call. Remove several cases handled by the + new default. - * cp-decl.c (pushtag): Don't mark the binding layer marker; for - dwarf debugging, do mark the TYPE_DECL we created as ignored. +2002-07-29 John David Anglin - * 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. + * real.c (ieee_24, ieee_53, ieee_64, ieee_113): Define only if the + floating point format of the target is IEEE. + * (dec_f, dec_d, dec_g, dec_h): Define only if the floating point + format of the target is DEC. - Thu Jul 8 14:31:40 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +2002-07-29 Richard Henderson - * 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. + * unroll.c (verify_addresses): Remove. + (find_splittable_givs): Never split DEST_ADDR givs. - * cp-type2.c (build_functional_cast): Disable assert 323 (see - comments for explanation). +2002-07-29 Geoffrey Keating - * cp-typeck.c (comp_target_parms): Return 0 if strict is != 0, not - just > 0. + * doc/gty.texi (GGC Roots): Clarify that the list of syntaxes + is exhaustive. + (Files): Improve documentation on generated source files. - * cp-decl.c (init_decl_processing): Don't set WARN_RETURN_TYPE. + * doc/extend.texi (Translation implementation): Document what + diagnostics look like. + (Identifiers implementation): Document that there's normally no + limit on identifier names. + (Integers implementation): Document two's complement. + (Hints implementation): Document that GCC honors 'inline', mostly. + (Preprocessing directives implementation): Document that GCC + requires the current time. - Wed Jul 7 18:36:59 1993 Niklas Hallqvist (niklas@della.appli.se) +2002-07-30 Gabriel Dos Reis - Add the changes to redo how we handle scoping. [Merged by bpk.] + * c-pretty-print.h (struct c_pretty_print_info): Add new member. + (pp_initializer): New macro. + (pp_c_initializer): Declare. + * c-pretty-print.c (pp_c_primary_expression): HAndle TARGET_EXPR. + (pp_c_initializer): Define. + (pp_c_initializer_list): New function. + (pp_c_postfix_expression): Handle ABS_EXPR, COMPLEX_CST, + VECTOR_CST, CONSTRUCTOR. + (pp_c_unary_expression): Handle CONJ_EXPR, REALPART_EXPR, + IMAGPART_EXPR. + (pp_c_cast_expression): Handle FLOAT_EXPR. + (pp_c_assignment_expression): Handle INIT_EXPR. + (pp_c_expression): Update. - * 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. +2002-07-30 Neil Booth - * 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 + * objc/objc-act.c (objc_init): Return immediately if filename is NULL. - * cp-class.c (finish_struct): Mark the tag as ignored for dwarf - debugging. - - * cp-except.c (EHS_type): Don't make it static. - * cp-class.c (finish_struct): Don't create a default copy - constructor for the EHS_type. - - * cp-class.c (get_vtable_name): Leave the numbers in the name for - the vtable, so we're uniform with what prepare_fresh_vtable is - doing. Introduces a binary incompatability. - - * cp-tree.c (build_cplus_method_type): Mark the first argtype (the - this pointer) as artificial. - - * cp-init.c (do_friend): Don't allow a friend of a class that's not - yet been defined; instead, complain. Make sure we mark every decl - that comes in as being a friend of something. - - * cp-decl2.c (grokclassfn): Mark the __in_chrg parameter as - artificial. Don't mark it as readonly, and for destructors make - sure the first arg in the arg_types chain has TREE_SIDE_EFFECTS set, - so it's seen as artificial. - (finish_vtable_vardecl): For dwarf debugging, make the vtable's - VAR_DECL node be ignored. - - * cp-decl.c (redeclaration_error_message): Use comptypes to see if - OLDDECL and NEWDECL have the same type. - * cp-typeck.c (comptypes): Compare the main variants of the types, - after we've checked the qualifiers that could have been used on them. - - * cp-call.c (EVIL_RETURN, QUAL_RETURN, TRIVIAL_RETURN, ZERO_RETURN): - Rewrite definitions to not use do/while(0), to avoid bogus warnings - on compilers that can't deal with a return inside it. Change all - uses of them to do `return FOO_RETURN'. - - Tue Jul 6 13:00:44 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-decl.c (duplicate_decls): Set GIVE_ERROR so we know where the - previous declaration was for empty parameter name list declarations. - - * cp-class.c (finish_struct): Clean up error message about anonymous - classes. - - * cp-class.c (finish_struct): Don't play with TAIL when we're - dealing with a TYPE_DECL of a RECORD_TYPE; the list continues on - just fine, and TAIL is only used for managing FN_FIELDS. - - * cp-decl.c (pushlevel): Change cast to HOST_WIDE_INT. - * cp-search.c (breadth_first_search): Likewise. - - Fri Jul 2 19:24:55 1993 Steve Chamberlain (sac@rtl.cygnus.com) - - * cp-method.c: Include "cp-class.h" - - Fri Jul 2 18:16:10 1993 Michael Tiemann (tiemann@blues.cygnus.com) - - * cp-call.c (build_overload_call_real): Don't look at a required - template instantiation and a speculative template instantiation as - two different functions if they are really the same function. - - Thu Jul 1 22:28:46 1993 Michael Tiemann (tiemann@blues.cygnus.com) - - * cp-tree.h: Don't include "cp-class.h" here. - * cp-call.c, cp-cvt.c: Include it here instead. - - Thu Jul 1 18:42:03 1993 Mike Stump (mrs@cygnus.com) - - * cp-decl.c (duplicate_decls): Fix typo. (olddecl->olddecls) - - Thu Jul 1 18:34:12 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - New implementation of argument matching. This is now much cleaner - to read, and is designed such that it should be easy to tweak - things when incorrect decisions are made based on the candidates - being examined. - - * cp-decl2.c (flag_ansi_overloading): New variable. - (lang_f_options): Add -fansi-overloading. - * toplev.c (lang_options): Add -fansi-overloading and - -fno-ansi-overloading. - - * cp-class.h (harshness_code): New struct. - (candidate): New members `h' and `h_len' used by new method. New - anonymous union `v', with ansi_harshness and old_harshness. - Deleted member `harshness' (used by old method, now in `v'). - Change every file that uses harshness to refer to it in the union - as appropriate. - (EVIL_CODE, CONST_CODE, ELLIPSIS_CODE, USER_CODE, STD_CODE, - PROMO_CODE, QUAL_CODE, TRIVIAL_CODE): New macros. - - * cp-call.c (EVIL_RETURN, QUAL_RETURN, TRIVIAL_RETURN, - ZERO_RETURN): New macros. - (rank_for_overload): Renamed to rank_for_overload_old. - (rank_for_overload_ansi): New function for new method. - (rank_for_overload): Call the appropriate fn based on the new flag. - (rank_for_ideal): New function for new method. - (compute_harshness): Renamed to compute_harshness_old. - (compute_harshness_ansi): New function for new method. - (compute_conversion_costs): Renamed to compute_conversion_costs_old. - (compute_conversion_costs_ansi): New function for new method. - (compute_conversion_costs): Call the appropriate fn based on the - new flag. - (ideal_candidate): Renamed to ideal_candidate_old. - (ideal_candidate_ansi): New function for new method. - (ideal_candidate): Call the appropriate fn based on the new flag. - (strictly_better): New function for new method. - (build_method_call): Change things to use the new method if - -fansi-overloading is set. - (build_overload_call_real): Likewise. - * cp-cvt.c (convert_to_aggr): Likewise. - - * cp-call.c (build_overload_call_real): Only use the speed hack - to trigger immediately if the OVERLOAD_NAME has a global value if we - aren't using the new overloading scheme. - - * cp-cvt.c (build_type_conversion): Only accept using an `operator - double' if there isn't a conflicting `operator int', if - -fansi-overloading is on. - - Thu Jul 1 17:54:44 1993 Mike Stump (mrs@cygnus.com) - - * cp-decl.c (duplicate_decls): Propagate some changes from C - front-end. Conflicts with built-in functions are now only warnings. - - Thu Jul 1 15:43:48 1993 Mike Stump (mrs@cygnus.com) - - * cp-call.c (build_field_call): Use real type if type is a - REFERENCE_TYPE. - * cp-parse.y (primary): Cleanup and move some code out into new - function build_object_ref. - * cp-tree.h (build_object_ref): New function. - * cp-typeck.c (build_object_ref): Define new function. - * cp-typeck.c (build_x_function_call): Return error_mark_node if - first argument is, and handle when TREE_PURPOSE is a binfo and comes - from lookup_fnfields. +2002-07-29 Eric Christopher + + * config/mips/elf.h: Remove ecoff.h and gofast includes. + (DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO): Define unconditionally. + (SDB_DEBUGGING_INFO): Undefine. + (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG. + (PUT_SDB_SIZE): Remove. + (SUBTARGET_ASM_DEBUGGING_SPEC): Redefine. + (STARTFILE_SPEC): Add isa3264 define. + * config/mips/elf64.h: Ditto. Move TARGET_MEM_FUNCTIONS from here... + * config/mips/ecoff.h: Remove. and here... + * config/mips/iris3.h: and here... + * config/mips/sni-svr4.h: and here... + * config/mips/mips.h: To here. Remove OBJECT_FORMAT_ROSE ifdefs. + Add assembler -mmdebug options for non-dwarf debugging. + * config/mips/r3900.h: Remove debug info defines. + * config/mips/isa32-linux.h: Remove, move functionality to config.gcc. + * config/mips/isa3264.h: Ditto. + * config/mips/t-isa3264: Fix up for file removal and gofast configure + change. + * config/mips/t-elf: Ditto. + * config/mips/t-ecoff: Ditto. + * config/mips/t-r3900: Ditto. + * config/mips/t-iris5-6: Ditto. + * config/mips/t-isa3264: Ditto. + * config/mips/t-linux: Remove. + * config/mips/t-netbsd: Remove. + * config/mips/t-mips: New file. + * config/mips/t-gofast: Ditto. + * config/mips/netbsd.h: Remove unnecessary undefines. + * config/mips/linux.h: Remove #include of mips.h. + * config.gcc: Add mips.h include for elf targets. Remove tm_file + for ecoff. Add gofast configure option for mips. + +2002-07-29 Chris Demetriou + + * configure.in (mips*-*-*): Add a test to see if MIPS libgloss + linker scripts use STARTUP directives consistently. + * configure: Regenerate. + * config.in: Regenerate. + * config/mips/elf.h (STARTFILE_SPEC): Define conditionally, based + on whether HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is defined. + * config/mips/elf64.h (STARTFILE_SPEC): Likewise. + * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine if + HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is set; the result + will be the same. + +2002-07-29 Aldy Hernandez + + * config/rs6000/rs6000.md ("cpu"): Add ppc8540 to attribute. + +2002-07-29 Aldy Hernandez + + * config/rs6000/rs6000.h (RTX_COSTS): Add MULT case for 8540. + +2002-07-29 Aldy Hernandez + + * config/rs6000/rs6000.md: Move altivec patterns from here... + + * config/rs6000/altivec.md: ...to here. + +2002-07-29 Aldy Hernandez + + * config/rs6000/spe.md ("spe_evmra"): Change to unspec. + +2002-07-29 Richard Henderson + + * emit-rtl.c (set_mem_attributes_minus_bitpos): Rename from + set_mem_attributes and add BITPOS argument. Subtract it from + OFFSET when same is adjusted. + (set_mem_attributes): New wrapper function. + * expr.c (expand_assignment): Use set_mem_attributes_minus_bitpos; + remove offset adjustment hack. + * expr.h (set_mem_attributes_minus_bitpos): Declare. + +2002-07-29 Gabriel Dos Reis + + * Makefile.in (C_OBJS): Include c-pretty-print.o + (c-pretty-print.o): Add depency rule. + * pretty-print.h: Add more macros. + * c-pretty-print.c: New file. + * c-pretty-print.h: Likewise. + +2002-07-29 Aldy Hernandez + + * config/rs6000/spe.h (__internal_ev_mwhgumian): Cast vector + constants to __ev64_s32__. + (__internal_ev_mwhgsmian): Same. + (__internal_ev_mwhgsmfan): Same. + (__internal_ev_mwhgssfan): Same. + (__internal_ev_mwhgumiaa): Same. + (__internal_ev_mwhgsmiaa): Same. + (__internal_ev_mwhgsmfaa): Same. + (__internal_ev_mwhgssfaa): Same. - Thu Jul 1 13:48:46 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +2002-07-29 David Edelsohn - * cp-lex.c (readescape): Don't complain for \% unless pedantic. + * varasm.c (assemble_variable): Narrow test for uninitialized + without BSS target support. - Wed Jun 30 10:35:50 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +2002-07-29 Nathan Sidwell - * 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. + * profile.c: Add file comment describing the overall algorithm and + structures. + (struct edge_info): Add comments. + (struct bb_info): Add comments. + * basic-block.h (EDGE_*): Add comments. + * doc/gcov.texi (Gcov Data Files): Document bit flags. - * cp-call.c (build_scoped_method_call): If it's a reference, work - with the actual type. - * cp-type2.c (build_scoped_ref): Likewise. +2002-07-29 Bob Wilson - Tue Jun 29 19:49:57 1993 Mike Stump (mrs@poseidon.cygnus.com) + * config/xtensa/elf.h, config/xtensa/linux.h + (TARGET_OS_CPP_BUILTINS): Define. + (CPP_PREDEFINES): Remove. + * config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define. + (CPP_SPEC): Remove. - * 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. +2002-07-29 Zack Weinberg - Tue Jun 29 12:44:48 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * gensupport.c: Include hashtab.h. + (insn_elision, condition_table, hash_c_test, cmp_c_test, + maybe_eval_c_test): New routines and data structures to + support insn elision. + (init_md_reader): Read and initialize the condition_table. + (read_md_rtx): Discard insn patterns whose C test is provably + always false. + * gensupport.h: Declare new functions and data structures. - * cp-typeck.c (mark_addressable): Don't complain about taking the - address of an object with register storage class; it's legal in C++. + * genconditions.c, dummy-conditions.c: New files. + * Makefile.in: Build genconditions; run it to construct + insn-conditions.c; build that and link it into most gen* + programs. + (HOST_SUPPORT, HOST_EARLY_SUPPORT): New variables. + (GEN): Delete, unused. + (STAGESTUFF): Update. - * cp-typeck.c (convert_arguments): Only warn about passing an object - through an ellipsis. + * gencodes.c: (gen_insn): #define CODE_FOR_xxx equal to + CODE_FOR_nothing for all elided patterns. + (main): Tweaked to support this. + * genflags.c (gen_proto): Emit a static inline generator + function here for all elided patterns, which simply returns + NULL_RTX. + (gen_insn): Do not define HAVE_xxx for elided patterns. + (main): Tweaked to support this. No need to forward-declare + struct rtx_def. + * genrecog.c: Do not bother emitting the C test if it's known + to be true at compile time. - * cp-parse.y (typed_declspecs): Make sure the TYPESPEC we hit - upon is non-null. +2002-07-29 Mike Stump - Tue Jun 29 11:58:03 1993 Tony Deigh (tonyd@bostech.com) + * config.gcc (target_gtfiles): Initialize, as otherwise cross + compilers hosted on powerpc-apple-darwin6.0 won't even build. - * 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. +2002-07-29 Richard Earnshaw - Tue Jun 29 09:47:36 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * arm.md (sibcall, sibcall_value): Add RETURN as part of the pattern, + remove clobber of LR. + (sibcall_insn, sibcall_value_insn): Update accordingly. + (sibcall_epilogue): Remove debugging comment from assembler stream. - * 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. +2002-07-29 Gabriel Dos Reis - Tue Jun 29 02:46:39 1993 Mike Stump (mrs@cygnus.com) + * pretty-print.h: Define more macros. + * diagnostic.h (output_formatted_integer): Moved from... + * diagnostic.c: ... here. - * cp-cvt.c (build_up_reference): Delete unneed cast. - * cp-typeck.c (convert_for_assignment): Likewise. +2002-07-28 Kaveh R. Ghazi - Mon Jun 28 19:19:34 1993 Mike Stump (mrs@rtl.cygnus.com) + * stormy16.h (ASM_OUTPUT_SYMBOL_REF): Use ASM_OUTPUT_LABEL_REF. - * cp-lex.c (real_yylex): Use pedwarn to warn about using catch, try - and throw as identifiers. +2002-07-28 Zack Weinberg - Mon Jun 28 11:13:17 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * defaults.h (ASM_OUTPUT_MEASURED_SIZE): Take only two + arguments. Always use ".-symbol" as expression argument. + * doc/tm.texi: Update to match. Document requirement for + ".size symbol, .-symbol" to be acceptable to assembler. - * cp-method.c (hack_identifier): Only look for visibility if we have - a basetype path. + * config/elfos.h, config/netbsd-aout.h, config/openbsd.h, + config/arm/elf.h, config/avr/avr.h, config/cris/aout.h, + config/i386/freebsd-aout.h, config/i386/sco5.h, + config/ip2k/ip2k.h, config/m88k/m88k.h, config/xtensa/elf.h, + config/xtensa/linux.h: Update uses of ASM_OUTPUT_MEASURED_SIZE. - * cp-decl.c (grokdeclarator): Also forbid the subscripting operator, - and class member access operator being declared as a non-member - function. +2002-07-28 Kaveh R. Ghazi - * cp-init.c (add_friend): Pedwarn on duplicate friend decls. + * Makefile.in (gengtype-lex.c): Fix error in last change. - * 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. + * alpha/freebsd.h (TARGET_OS_CPP_BUILTINS): Add missing + backslash. - * cp-init.c (sort_member_init): Disable assert that was wrong. + * Makefile.in (vmsdbgout.o): Depend on function.h. - * 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. + * vmsdbgout.c: Include function.h. - * cp-decl2.c (grokfield): Fix up the error message about member - initialization. +2002-07-28 Alan Modra - * 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. + * prefix.c (update_path): Don't strip single `.' path components + unless stripping a later `..' component. Exit loop as soon as + a valid path is found. -Fri Jul 9 16:45:25 1993 David d `zoo' Zuhn (zoo@cygnus.com) +2002-07-27 Roger Sayle - * config.sub: Make -solaris reflect the most recent major release. + * builtins.def [DEF_GCC_BUILTIN]: Require an explicit ATTRS + argument. Mark BUILT_IN_RETURN, BUILT_IN_EH_RETURN, + BUILT_IN_LONGJMP and BUILT_IN_TRAP as noreturn, the ISO C99 + floating point unordered comparisons (e.g. __builtin_isgreater) + as const, and leave the remaining GCC_BUILTINs unchanged. -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. + * c-decl.c (builtin_function): No need to explicitly mark + BUILT_IN_RETURN and BUILT_IN_EH_RETURN as noreturn. -Fri Jul 9 01:07:52 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-07-27 Roger Sayle - * config/m68k/mot3300.h (ASM_OUTPUT_OPCODE): Don't add .w suffix - to jump insns. + * Makefile.in: rtlanal.o now depends upon real.h. - * combine.c, cse.c: Include stdio.h before rtl.h. + * flags.h [flag_signaling_nans]: New flag. + [HONOR_SNANS]: New macro. -Wed Jul 7 18:06:45 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) + * toplev.c [flag_signaling_nans]: Initialize to false. + (f_options): Add processing for "-fsignaling-nans". + (set_fast_math_flags): Clear flag_signaling_nans with -ffast-math. + (process_options): flag_signaling_nans implies flag_trapping_math. - 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. + * c-common.c (cb_register_builtins): Define __SUPPORT_SNAN__ + when -fsignaling-nans. First step to implementing WG14's N965. - * sparc.h (SECONDARY_MEMORY_NEEDED_RTX): Use - STARTING_FRAME_OFFSET. - (STARTING_FRAME_OFFSET): Set to -16. + * fold-const.c (fold) [MULT_EXPR]: Conditionalize transforming + 1.0 * x into x, and -1.0 * x into -x on !HONOR_SNANS. + [RDIV_EXPR]: Conditionalize x/1.0 into x on !HONOR_SNANS. - * 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. + * simplify-rtx.c (simplify_relational_operation): Conditionalize + transforming abs(x) < 0.0 into false on !HONOR_SNANS. - * combine.c (simplify_comparison): Add parentheses to satify gcc. - * sparc.c (sparc_frw_save_restore): Likewise. - * expr.c (convert_to_mode): Move misplaced parentheses. + * rtlanal.c: #include real.c for TARGET_FLOAT_FORMAT definitions + required by HONOR_SNANS. (may_trap_p): Floating point DIV, MOD, + UDIV, UMOD, GE, GT, LE, LT and COMPARE may always trap with + -fsignaling_nans. EQ and NE only trap for flag_signaling_nans + not flag_trapping_math (i.e. HONOR_SNANS but not HONOR_NANS). -Wed Jul 7 16:37:26 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * doc/invoke.texi: Document new -fsignaling-nans compiler option. - * 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. +2002-07-27 Kaveh R. Ghazi -Wed Jul 7 11:19:03 1993 Ian Lance Taylor (ian@cygnus.com) + * Makefile.in (gengtype-lex.c): Work around a bug in flex. + * gengtype-lex.l (YY_USE_PROTOS): Undef. + (YY_DECL): Define. - * glimits.h (MB_LEN_MAX): Don't override the value from the system - . Just define it if it is not already defined. +2002-07-27 Roger Sayle - * collect2.c (main): Search for ld in the compiler directories. + * doc/invoke.texi: Document that both -fno-builtin-foo and + -fno-builtin are supported by the g++ front-end. -Wed Jul 7 13:40:55 1993 Jim Wilson (wilson@kropotkin.gnu.ai.mit.edu) +2002-07-27 Stan Shebs - * collect2.c (fork_execute, scan_prog_file): Use "fork" in error - messages instead of "vfork" when vfork is defined to fork. + * configure.in: Rename config_gtfiles to target_gtfiles. + * configure: Regenerate. + * doc/gty.texi: Update reference. + * config.gcc (powerpc-*-darwin*): Set target_gtfiles + instead of appending to it. -Tue Jul 6 16:38:36 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +2002-07-25 Aldy Hernandez - * sparc.c (sparc_type_code): Recognize SET_TYPE. For special - Fortran/Pascal types, just return qualifiers instead of aborting. + * config/rs6000/rs6000.c (function_arg_advance): SPE vararg + vectors are split into two registers. + (function_arg): Same. - * c-decl.c (insert_block): Correct typo in comment. +Thu Jul 26 23:00:13 2002 J"orn Rennecke - * combine.c (simplify_and_const_int, LSHIFTRT case): Must be at - least as many sign bit copies as bits in mask. + * pa.md (extv): Check predicates before emitting extv_32. - * 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. +2002-07-27 Alan Modra - * fold-const.c (invert_truthvalue): Check for ERROR_MARK input. + * config/rs6000/rs6000.c (rs6000_traceback_name): New var. + (rs6000_traceback): New var. + (rs6000_override_options): Set rs6000_traceback. + (rs6000_output_function_epilogue): Implement traceback options. + * config/rs6000/rs6000.h (TARGET_OPTIONS): Add "traceback=". + (rs6000_traceback_name): Declare. - * 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. + * config/rs6000/rs6000.c (output_profile_hook): Don't generate profile + label reference when NO_PROFILE_COUNTERS. - * 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. +2002-07-26 Jason Merrill - * sparc.c (output_move_quad): Implement CNSTOP case. + * function.c (assign_parms): Handle frontend-directed pass by + invisible reference. - * i960.h (ASM_OUTPUT_COMMON): Use SIZE not ROUNDED. +2002-07-26 Neil Booth -Tue Jul 6 02:12:15 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * doc/cppopts.texi: Update. - * cse.c (simplify_binary_operation, case MINUS): Fix backwards - test added in last change. +2002-07-26 Neil Booth - * config/i386/sun.h (SIZE_TYPE): Deleted. + * cppmacro.c (_cpp_create_definition): Don't attempt redefinition + warnings on assertions. - * c-typeck.c (convert_arguments): Don't warn for -Wconversion - about signedness of an arg that's extended from narrower unsigned type. +2002-07-26 Neil Booth - * c-decl.c (duplicate_decls): Don't warn for non-extern var decl - following an extern one (for -Wredundant-decls). + * c-common.h (RID_AND, RID_AND_EQ, RID_NOT, RID_NOT_EQ, + RID_OR, RID_OR_EQ, RID_XOR, RID_XOR_EQ, RID_BITAND, RID_BITOR, + RID_COMPL): Remove. + * c-parse.in (rid_to_yy): Similarly. -Mon Jul 5 17:50:27 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +2002-07-26 Jason Merrill - * reload1.c (emit_reload_insns): Don't use gen_lowpart_common to - get reload register into proper mode. - * reload.c (subst_reloads): Likewise. + * c-dump.c: Resurrect. + * tree-dump.c: Move C-specific stuff to c-dump.c. + * c-common.h: Declare c_dump_tree. + * c-lang.c (LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN): Define. + * Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o. + (c-dump.o): New rule. - * combine.c (subst, case PLUS): Simplify (plus (comp A B) -1), etc. +2002-07-26 Alan Modra - * fold-const.c (fold, case EQ_EXPR, LE_EXPR): If comparing results - of signed MOD with zero, use an unsigned MOD. + * config/rs6000/rs6000.md: Enable patterns using rlwinm for + PowerPC64. Replace "T" and "S" constraints with "n" when the + predicate will do. Formatting fixes. + (extzvsi_internal2): Use "andi.", "andis." and attr type of "compare" + as for extzvsi_internal1. - * calls.c: Fix typo: had ARGS_GROW_DOWNARD. +2002-07-25 Neil Booth - * 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. + * dwarfout.c (VERSION_ASM_OP, DERIV_BEGIN_LABEL_FMT, + DERIV_END_LABEL_FMT): Remove. + (SL_BEGIN_LABEL_FMT, SL_END_LABEL_FMT): Move. -Mon Jul 5 17:44:09 1993 John F Carr (jfc@Athena.mit.edu) +2002-07-25 Neil Booth - * 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). + * objc/objc-act.c (UTAG_STATICS, UTAG_PROTOCOL_LIST, USERTYPE): + Remove. -Mon Jul 5 17:15:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-07-25 Stan Shebs - * objc-act.c (encode_type_qualifiers): Add casts to enums in indices. + * config/rs6000/rs6000.c (rs6000_emit_prologue): Remove unused + local var dwarfp. + (output_compiler_stub): Remove unused locals. + (output_call): Always initialize line number. -Mon Jul 5 02:25:54 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) +Thu Jul 25 20:34:50 2002 J"orn Rennecke - * Makefile.in: Parameterize libgcc.a and install-libgcc - (LIBGCC and INSTALL_LIBGCC). + * sh.h (LOAD_EXTEND_OP): QImode zero-extends on SHmedia. + * sh.md (truncdiqi2, movqi_media): Likewise. - * tree.c (get_narrower): Preserve unsignedness when bitschange == 0. +2002-07-25 Neil Booth -Sun Jul 4 02:55:46 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * gcse.c (obstack_chunk_alloc): Remove. + (gcse_alloc): Fix to count allocated bytes. + * collect2.c (SYMBOL__MAIN): Remove. - * expmed.c (store_split_bit_field, extract_split_bit_field): - Handle fields split across more than 2 aligned units. +2002-07-25 Neil Booth - * expr.c (store_field): Test STRICT_ALIGNMENT at run time. - (expand_expr, COMPONENT_REF case): Fetch unaligned field as bitfield. + * gcc.c (TARGET_EXECUTABLE_SUFFIX): Only used if + HAVE_TARGET_EXECUTABLE_SUFFIX. + +Thu Jul 25 18:57:50 2002 J"orn Rennecke + + * rtl.h (mem_attrs): Spell out more clearly the roles of ALIGN, + SIZE, EXPR and OFFSET. - * collect2.c (error, fatal, fatal_perror): Say collect2, not collect. +2002-07-25 Richard Henderson - * c-parse.in (primary): In statement expression case, - if compstmt returns something other than a BLOCK, - return it unchanged. + * emit-rtl.c (set_mem_attributes): Fix size and alignment thinkos + in ARRAY_REF of DECL_P case. -Sat Jul 3 20:32:43 1993 Minh Tran-Le (tranle@intellicorp.com) +2002-07-25 Richard Sandiford - * fixinc.svr4: Added fixup for __STDC__ == 0 and __STDC__ == 1 - cases found in sequent PTX-2.0.x headers. + * doc/invoke.texi: Document -mabi=meabi, and expand on the EABI + description. Document -mips32, -mips64, and the associated -march + values. Describe the "mipsN" arguments to -march. Say that the + -mipsN options are equivalent to -march. Reword the description + of default type sizes. + * toplev.h (target_flags_explicit): Declare. + * toplev.c (target_flags_explicit): New var. + (set_target_switch): Update target_flags_explicit. + * config/mips/abi64.h (SUBTARGET_TARGET_OPTIONS): Undefine. + * config/mips/elf64.h (MIPS_ISA_DEFAULT): Undefine. + * config/mips/iris6.h (SUBTARGET_ASM_SPEC): -mabi=64 implies -mips3. + * config/mips/isa3264.h (MIPS_ENABLE_EMBEDDED_O32): Undefine. + * config/mips/mips.h (mips_cpu_info): New struct. + (mips_cpu_string, mips_explicit_type_size_string): Remove. + (mips_cpu_info_table, mips_arch_info, mips_tune_info): Declare. + (MIPS_CPP_SET_PROCESSOR): New macro. + (TARGET_CPP_BUILTINS): Declare a macro for each supported processor. + Define _MIPS_ARCH and _MIPS_TUNE. + (MIPS_ISA_DEFAULT): Don't provide a default value. Instead... + (MIPS_CPU_STRING_DEFAULT): Set to "from-abi" if neither it nor + MIPS_ISA_DEFAULT were already defined. + (MULTILIB_DEFAULTS): Add MULTILIB_ABI_DEFAULT. + (TARGET_OPTIONS): Remove -mcpu and -mexplicit-type-size. + (ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New. + (GAS_ASM_SPEC): Remove -march, -mcpu, -mgp* and -mabi rules. + (ABI_GAS_ASM_SPEC): Remove. + (MULTILIB_ABI_DEFAULT, ASM_ABI_DEFAULT_SPEC): New macros. + (ASM_SPEC): Add -mgp32, -mgp64, -march, -mabi=eabi and -mabi=o64. + Invoke %(asm_abi_default_spec) if no ABI was specified. + (CC1_SPEC): Remove ISA -> register-size rules. + (EXTRA_SPECS): Remove abi_gas_asm_spec. Add asm_abi_default_spec. + * config/mips/mips.c (mips_arch_info, mips_tune_info): New vars. + (mips_cpu_string, mips_explicit_type_size_string): Remove. + (mips_cpu_info_table): New array. + (mips_set_architecture, mips_set_tune): New fns. + (override_options): Rework to make -mipsN equivalent to -march. + Detect more erroneous cases, including those removed from CC1_SPEC. + Don't change the ABI based on architecture, or vice versa. + Unify logic with GAS. + (mips_asm_file_start): Get architecture name from mips_arch_info. + (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns. + (mips_parse_cpu): Take the name of the option as argument. Handle + 'from-abi'. Raise an error if the option is wrong. + (mips_cpu_info_from_isa): New fn. + +2002-07-25 Richard Sandiford + + * config/mips/mips.md (tablejump_mips161): Use gen_rtx_LABEL_REF. + (tablejump_mips162): Likewise. + +Thu Jul 25 10:23:41 2002 J"orn Rennecke + + * simpify-rtx.c (simplify_subreg): Don't pass MODE_CC mode to + int_mode_for_mode. + +2002-07-25 Gabriel Dos Reis + + * c-common.c (c_sizeof_or_alignof_type): Take a third argument for + complaining. + * c-common.h (c_sizeof): Adjust definition. + (c_alignof): Likewise. + * c-tree.h (c_sizeof_nowarn): Now macro. + * c-typeck.c (c_sizeof_nowarn): Remove definition. + +2002-07-25 Neil Booth + + * c-decl.c (c_decode_option): No need to handle switches + cpplib handles. + +2002-07-24 Zack Weinberg + + * defaults.h (ASM_OUTPUT_TYPE_DIRECTIVE, ASM_OUTPUT_SIZE_DIRECTIVE, + ASM_OUTPUT_MEASURED_SIZE): New default definitions of new macros. + * doc/tm.texi: Document them. Also document SIZE_ASM_OP, + TYPE_ASM_OP, and TYPE_OPERAND_FMT. + + * config/elfos.h, config/netbsd-aout.h, config/openbsd.h, + config/alpha/elf.h, config/arm/elf.h, config/avr/avr.h, + config/cris/aout.h, config/i386/freebsd-aout.h, + config/i386/sco5.h, config/ia64/ia64.c, config/ip2k/ip2k.h, + config/m68k/m68kelf.h, config/m68k/m68kv4.h, config/m88k/m88k.h, + config/mcore/mcore-elf.h, config/mips/elf.h, config/mips/elf64.h, + config/mips/iris6.h, config/mips/linux.h, config/pa/pa-linux.h, + config/pa/pa64-hpux.h, config/rs6000/sysv4.h, + config/xtensa/elf.h, config/xtensa/linux.h: + Use the new macros. + Where possible, remove redundant definitions of SIZE_ASM_OP, + TYPE_ASM_OP, and TYPE_OPERAND_FMT. + +2002-07-24 Aldy Hernandez + + * config/rs6000/eabi.h: Define TARGET_SPE_ABI, TARGET_SPE, + TARGET_ISEL, and TARGET_FPRS. + + * doc/invoke.texi (RS/6000 and PowerPC Options): Document + -mabi=spe, -mabi=no-spe, and -misel=. + + * config/rs6000/rs6000-protos.h: Add output_isel. + Move vrsave_operation prototype here. + + * config/rs6000/rs6000.md (sminsi3): Allow pattern for TARGET_ISEL. + (smaxsi3): Same. + (uminsi3): Same. + (umaxsi3): Same. + (abssi2_nopower): Disallow when TARGET_ISEL. + (*ne0): Same. + (negsf2): Change to expand and rename old pattern to *negsf2. + (abssf2): Change to expand and rename old pattern to *abssf2. + + New expanders: fix_truncsfsi2, floatunssisf2, floatsisf2, + fixunssfsi2. + + Change patterns that check for TARGET_HARD_FLOAT or + TARGET_SOFT_FLOAT to also check TARGET_FPRS. + + * config/rs6000/rs6000.c: New globals: rs6000_spe_abi, + rs6000_isel, rs6000_fprs, rs6000_isel_string. + (rs6000_override_options): Add 8540 case to + processor_target_table. + Set rs6000_isel for the 8540. + Call rs6000_parse_isel_option. + (enable_mask_for_builtins): New. + (rs6000_parse_isel_option): New. + (rs6000_parse_abi_options): Add spe and no-spe. + (easy_fp_constant): Treat !TARGET_FPRS as soft-float. + (rs6000_legitimize_address): Check for TARGET_FPRS when checking + for TARGET_HARD_FLOAT. + Add case for SPE_VECTOR_MODE. + (rs6000_legitimize_reload_address): Handle SPE vector modes. + (rs6000_legitimate_address): Disallow PRE_INC/PRE_DEC for SPE + vector modes. + Check for TARGET_FPRS when checking for TARGET_HARD_FLOAT. + (rs6000_emit_move): Check for TARGET_FPRS. + Add cases for SPE vector modes. + (function_arg_boundary): Return 64 for SPE vector modes. + (function_arg_advance): Check for TARGET_FPRS and + Handle SPE vectors. + (function_arg): Same. + (setup_incoming_varargs): Check for TARGET_FPRS. + (rs6000_va_arg): Same. + (struct builtin_description): Un-constify mask field. Move up in + file. + (bdesc_2arg): Un-constify and add SPE builtins. + (bdesc_1arg): Same. + (bdesc_spe_predicates): New. + (bdesc_spe_evsel): New. + (rs6000_expand_unop_builtin): Add SPE 5-bit literal builtins. + (rs6000_expand_binop_builtin): Same. + (bdesc_2arg_spe): New. + (spe_expand_builtin): New. + (spe_expand_predicate_builtin): New. + (spe_expand_evsel_builtin): New. + (rs6000_expand_builtin): Call spe_expand_builtin for SPE. + (rs6000_init_builtins): Initialize SPE builtins. Call + rs6000_common_init_builtins. + (altivec_init_builtins): Move all non-altivec builtin code to... + (rs6000_common_init_builtins): ...here. New function. + (branch_positive_comparison_operator): Allow NE code for SPE. + (ccr_bit): Return correct ccr bit for SPE fp. + (print_operand): Emit crnor in 'D' case for SPE. + New case 't'. + Add SPE code for 'y' case. + (rs6000_generate_compare): Generate rtl for SPE fp. + (output_cbranch): Handle SPE hard floats. + (rs6000_emit_cmove): Handle isel. + (rs6000_emit_int_cmove): New. + (output_isel): New. + (rs6000_stack_info): Adjust stack frame so GPRs are saved in + 64-bits for SPE. + (debug_stack_info): Add SPE info. + (gen_frame_mem_offset): New. + (rs6000_emit_prologue): Save GPRs in 64-bits for SPE abi. + Change mode of frame pointer, when saving it, to Pmode. + (rs6000_emit_epilogue): Restore GPRs in 64-bits for SPE abi. + Misc cleanups and use gen_frame_mem_offset when appropriate. + + * config/rs6000/rs6000.h (processor_type): Add PROCESSOR_PPC8540. + (TARGET_SPE_ABI): New. + (TARGET_SPE): New. + (TARGET_ISEL): New. + (TARGET_FPRS): New. + (FIXED_SCRATCH): New. + (RTX_COSTS): Add PROCESSOR_PPC8540. + (ASM_CPU_SPEC): Add case for 8540. + (TARGET_OPTIONS): Add isel= case. + (rs6000_spe_abi): New. + (rs6000_isel): New. + (rs6000_fprs): New. + (rs6000_isel_string): New. + (UNITS_PER_SPE_WORD): New. + (LOCAL_ALIGNMENT): Adjust for SPE. + (HARD_REGNO_MODE_OK): Same. + (DATA_ALIGNMENT): Same. + (MEMBER_TYPE_FORCES_BLK): New. + (FIRST_PSEUDO_REGISTER): Set to 113. + (FIXED_REGISTERS): Add SPE registers. + (reg_class): Same. + (REG_CLASS_NAMES): Same. + (REG_CLASS_CONTENTS): Same. + (REGNO_REG_CLASS): Same. + (REGISTER_NAMES): Same. + (DEBUG_REGISTER_NAMES): Same. + (ADDITIONAL_REGISTER_NAMES): Same. + (CALL_USED_REGISTERS): Same. + (CALL_REALLY_USED_REGISTERS): Same. + (SPE_ACC_REGNO): New. + (SPEFSCR_REGNO): New. + (SPE_SIMD_REGNO_P): New. + (HARD_REGNO_NREGS): Adjust for SPE. + (VECTOR_MODE_SUPPORTED_P): Same. + (REGNO_REG_CLASS): Same. + (FUNCTION_VALUE): Same. + (LIBCALL_VALUE): Same. + (LEGITIMATE_OFFSET_ADDRESS_P): Same. + (SPE_VECTOR_MODE): New. + (CONDITIONAL_REGISTER_USAGE): Disable FPRs when target does FP on + the GPRs. Set FIXED_SCRATCH fixed in SPE case. + (rs6000_stack): Add spe_gp_size, spe_padding_size, + spe_gp_save_offset. + (USE_FP_FOR_ARG_P): Check for TARGET_FPRS. + (LEGITIMATE_LO_SUM_ADDRESS_P): Same. + (SPE_CONST_OFFSET_OK): New. + (rs6000_builtins): Add SPE builtins. + + * testsuite/gcc.dg/ppc-spe.c: New. + + * config/rs6000/eabispe.h: New. + + * config/rs6000/spe.h: New. + + * config/rs600/spe.md: New. + + * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define + __SIMD__ for TARGET_SPE. + + * config.gcc: Add powerpc-*-eabispe* case. + Add spe.h to user headers for powerpc. + +2002-07-24 Chris Demetriou + + * config/mips/elf.h (STARTFILE_SPEC): Undo previous change. + * config/mips/elf64.h (STARTFILE_SPEC): Likewise. + * config/mips/isa3264.h (STARTFILE_SPEC): Likewise. + +2002-07-24 Richard Henderson + + * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Use GOTO_SUBROUTINE_EXPR + form when not optimizing. + +2002-07-24 David Mosberger + + * config/ia64/ia64.c (gen_thread_pointer): Fix typo in marking + thread_pointer_rtx as unchanging. + +2002-07-24 Michael Matz + + * ra-colorize.c (INV_REG_ALLOC_ORDER): New macro. + (free_reg): Use it. + +2002-07-24 Richard Earnshaw + + * arm.md (arm_buneq, arm_bltgt): put '\' before ';' in output + pattern. + (arm_buneq_reversed, arm_bltgt_reversed): Likewise. + (movsicc, movsfcc, movdfcc): FAIL if UNEQ or LTGT. + +2002-07-24 Chris Demetriou + + * config/mips/elf.h (STARTFILE_SPEC): Never include crt0.o. + * config/mips/elf64.h (STARTFILE_SPEC): Likewise. + * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine. + +Wed Jul 24 17:59:12 CEST 2002 Jan Hubicka + + * toplev.c (rest_of_compilation): Dump loops before clobbering + the structure. + +Wed Jul 24 17:23:16 CEST 2002 Jan Hubicka + + * rtlanal.c (keep_with_call_p): Avoid overflow in fixed_regs. + +2002-07-24 Frank van der Linden + + PR optimization/7291 + * config/i386/i386.c (ix86_expand_clrstr): Fix bzero alignment + problem on x86_64. + +2002-07-24 Gabriel Dos Reis + + * pretty-print.h: Add macros from cp/error.c + +2002-07-24 Alan Modra + + * config/rs6000/rs6000-protos.h (mask_operand_wrap): Declare. + (mask64_2_operand): Declare. + (build_mask64_2_operands): Declare. + (and64_2_operand): Declare. + (extract_MB): Declare. + (extract_ME): Declare. + * config/rs6000/rs6000.c (mask64_operand): Allow all ones. Remove + CONST_DOUBLE code. + (mask_operand_wrap): New insn predicate. + (mask64_2_operand): Likewise. + (and64_2_operand): Likewise. + (build_mask64_2_operands): New function. + (extract_MB): New function. + (extract_ME): New function. + (print_operand ): Use extract_MB and extract_ME. + (print_operand ): Allow all ones. Remove CONST_DOUBLE support. + * config/rs6000/rs6000.h (EXTRA_CONSTRAINT): Add 't'. + (PREDICATE_CODES): Add and64_2_operand, mask_operand_wrap and + mask64_2_operand. Remove CONST_DOUBLE from mask64_operand. + * config/rs6000/rs6000.md (andsi3_internal3): New + (andsi3_internal3+1): Enable split for powerpc64. + (andsi3_internal3+2): New split. + (andsi3_internal4): Renamed old andsi3_internal3. + (andsi3_internal5): New. + (andsi3_internal5+1): Enable split for powerpc64. + (andsi3_internal5+2): New split. + (andsi3_internal6, andsi3_internal7, andsi3_internal8): New. + (anddi3): Handle 't' constraint. + (anddi3+1): New split. + (anddi3_internal2): Handle 't' constraint. + (anddi3_internal2+1): New split. + (anddi3_internal3): Handle 't' constraint. + (anddi3_internal3+1): New split. + +2002-07-24 Alan Modra + + * config/rs6000/rs6000.md: Remove scratch reg on insns using + addze and similar (plus (comparison r1 r2) r3) insns. Add + missing scratch reg in one case. Formatting fixes. + +2002-07-24 Neil Booth + + * cppexp.c (parse_defined): Mark macro used. + * cpphash.h (struct cpp_macro): New member "used". + (_cpp_mark_macro_used, _cpp_warn_if_unused_macro): New. + (struct cpp_reader): New member. + * cppinit.c (cpp_finish_options): Set first_unused_line. + (cpp_finish): Warn of unused macros if requested. + (OPT_TABLE): New switches. + (cpp_handle_option): Handle them. + * cpplib.c (do_undef): Warn if macro unused. + (do_ifdef, do_ifndef): Mark macro used. + * cpplib.h (struct cpp_options): New member. + * cppmacro.c (_cpp_warn_if_unused_macro): New. + (enter_macro_context): Mark macro used. + (_cpp_create_definition): Mark macro unused; warn if unused + when redefined. + * cpptrad.c (scan_out_logcial_line, push_replacement_text): + Mark macros used. + * doc/cppopts.texi: Update. + +2002-07-23 Neil Booth + + * dwarf2out.c (SECTION_ASM_OP, + ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove. + * system.h (SECTION_ASM_OP): Poison. + * tree.c (FILE_FUNCTION_PREFIX_LEN): Remove. + * config/alpha/alpha-interix.h, config/mips/linux.h + (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove. + * config/mmix/mmix-protos.h, config/mmix/mmix.c + (mmix_asm_output_define_label_difference_symbol): Remove. + * config/mmix/mmix.h + (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove. + * doc/tm.texi: Remove documentation. + +Tue Jul 23 21:49:24 2002 J"orn Rennecke + + * recog.c (asm_operand_ok): Allow float CONST_VECTORs for 'F'. + (constrain_operands): Likewise. + * regclass.c (record_reg_classes): Likewise. + * reload.c (find_reloads): Likewise. + * doc/md.texi: Likewise. + + * reload.c (find_reloads_toplev): Use simplify_gen_subreg. + * simplify-rtx.c (simplify_subreg): When converting to a non-int + mode, try to convert to an integer mode of matching size first. + + * simplify-rtx.x (simplify_subreg): When constructing a CONST_VECTOR + from individual subregs, check that each subreg has been generated + sucessfully. + +2002-07-23 Neil Booth + + * genautomata.c (VLA_HWINT_SHORTEN, VLA_HWINT_LAST): Remove. + * df.c (HANDLE_SUBREG, FOR_EACH_BB_IN_BITMAP_REV, + FOR_EACH_BB_IN_SBITMAP): Remove. + * gcse.c (NEVER_SET, FOLLOW_BACK_EDGES): Remove. + * haifa-sched.c (DONE_PRIORITY, MAX_PRIORITY, TAIL_PRIORITY, + LAUNCH_PRIORITY, DONE_PRIORITY_P, LOW_PRIORITY_P): Remove. + * loop.c (PREFETCH_BLOACK_IN_LOOP_MIN, + PREFETCH_LIMIT_TO_SIMULTANEOUS): Remove. + * regrename.c (REGNO_MODE_OK_FOR_BASE_P): Remove. + +2002-07-23 Gabriel Dos Reis + + * pretty-print.h: New file. + +2002-07-23 Paul Koning + + * real.c (REAL_WORDS_BIG_ENDIAN): Make 1 for DEC. + (LARGEST_EXPONENT_IS_NORMAL): Ditto. + (VAX_HALFWORD_ORDER): Define (1 for DEC VAX, 0 otherwise). + (TARGET_G_FLOAT): Default to 0 if not defined. + (ieeetoe): New, common routine to convert target format floats + to internal form. + (e24toe, e53toe): Change to use ieeetoe, distinguish DEC + vs. others. + (e113toe): Change to use ieeetoe. + +2002-07-23 Roman Lechtchinsky + + * real.c (REAL_WORDS_BIG_ENDIAN): Make sure it is 0 for DEC and 1 for + IBM. + (e53toe): Assume IEEE if non of DEC, IBM and C4X is defined. + (e64toe): Remove special cases for DEC and IBM. Remove support for + ARM_EXTENDED_IEEE_FORMAT. + (e24toe): Remove special cases for DEC. + (significand_size): Simplify. Indent. + (ieee_format, ieee_24, ieee_53, ieee_64, ieee_113): New. + (etoieee, toieee): New. + (etoe113, toe113, etoe64, toe64, etoe53, toe53, etoe24, toe24): Use + etoieee and toieee for IEEE arithmetic. -Sat Jul 3 18:54:07 1993 Jeffrey A. Law (law@snake.cs.utah.edu) +2002-07-23 Gabriel Dos Reis - * 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). + * doc/extend.texi: Say ISO C90, not ISO C89. + * doc/invoke.texi: Likewise. + * doc/standards.texi: Likewise. -Sat Jul 3 16:40:52 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) +2002-07-23 Steve Ellcey - * collect2.c (main): Give ld_file_name an initial value. + * gcc/explow.c (convert_memory_address): Fix conversion of CONSTs. + Fix permutation of conversion and plus/mult. + * gcc/builtins.c (expand_builtin_memcpy) Ensure return pointer is + ptr_mode and not Pmode when POINTERS_EXTEND_UNSIGNED is defined. + (expand_builtin_strncpy) Ditto. + (expand_builtin_memset) Ditto. -Fri Jul 2 16:36:56 1993 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu) +2002-07-23 Gabriel Dos Reis - * sparc.md (ashldi3+2): Change lshift to ashift. + Fix PR/7363: + * c-common.c (c_sizeof_or_alignof_type): New function. + (c_alignof): Remove definition. + * c-common.h (c_sizeof, c_alignof): Define as macros. + (c_sizeof_or_alignof_type): Declare. + (my_friendly_assert): Moved from cp/cp-tree.h + * c-typeck.c (c_sizeof): Remove definition. - * 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. +2002-07-23 Jan Hubicka -Fri Jul 2 01:10:56 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * gcse.c (try_replace_reg): Use num_changes_pending. + * recog.c (num_changes_pending): New function. + (validate_replace_src): Use validate_repalce_src_group. + (validate_replace_src_group): New. + * recog.h (validate_repalce_src_group): New. + (num_changes_pending): Likewise. - * Makefile.in (install-headers-tar): Ignore exit status of the - first tar command. +Tue Jul 23 12:16:58 2002 J"orn Rennecke -Thu Jul 1 14:31:45 1993 Doug Evans (dje@canuck.cygnus.com) + * calls.c (emit_library_call_value_1): If + FUNCTION_ARG_PASS_BY_REFERENCE is true, pretend this is neither + libcall, const call nor pure call. - * flow.c (find_auto_inc): In *p=expr;q=p+size case, avoid clobbering q - if referenced in expr. +2002-07-23 Neil Booth -Fri Jul 2 01:26:01 1993 Paul Eggert (eggert@twinsun.com) + * config/m88k/m88k.h (SECTION_ASM_OP): Remove. - * 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. +2002-07-23 Neil Booth - * 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. + * vmsdbgout.c (SECTION_ASM_OP): Remove. -Thu Jul 1 20:55:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-07-23 Neil Booth - * reload1.c (eliminate_regs): Fix typo in BYTE_LOADS_ZERO_EXTEND. + * config/i386/i386.c (AT_BP): Remove. -Thu Jul 1 20:00:00 1993 DJ Delorie (dj@ctron.com) +2002-07-23 Neil Booth - * gcc.c (choose_temp_base): Try multiple variables. Don't - assume that the variable points to a valid directory. + * defaults.h (obstack_chunk_alloc, obstack_chunk_free): + Default definition. + * gcse.c: Don't define obstack_chunk_free. + * collect2.c, conflict.c, df.c, diagnostic.c, fix-header.c, + flow.c, gcc.c, genattrtab.c, genautomata.c, genflags.c, gensupport.c, + integrate.c, loop.c, ra.c, read-rtl.c, regrename.c, reload1.c, + reorg.c, tlink.c, tree.c, config/arm/arm.c, objc/objc-act.c: + Don't define obstack macros. - * gcc.c (pexecute): Handle the MS-DOS return codes correctly. - Add .exe to file name when appropriate. +2002-07-22 Stephane Carrez - * configure.bat: Make gcc use its own obstack.o. + PR target/6744 + * config/m68hc11/m68hc11.c (m68hc11_z_replacement): Also replace + ASM_OPERANDS instructions. - * objc/makefile.dos: New file for building with djgpp. +2002-07-22 Stephane Carrez -Thu Jul 1 18:15:17 1993 Paul Eggert (eggert@twinsun.com) + PR target/7361 + * config/m68hc11/m68hc11.c (go_if_legitimate_address_internal): Accept + constant addresses only on 68HC12. - * 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. +2002-07-22 Neil Booth - * 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. + * cppfiles.c (stack_include_file): Correct test of whether + a dependency should be output. -Thu Jul 1 14:56:56 1993 Jeffrey A. Law (law@snake.cs.utah.edu) +2002-07-22 David Edelsohn - * pa.h (OVERRIDE_OPTIONS): Define. Give a warning if -fpic or - -fPIC was specified on the command line. + * collect2.c (is_ctor_dtor): Add other possible JOINER values. - * 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. +2002-07-22 Richard Earnshaw -Thu Jul 1 09:48:23 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * arm.md (movqi): If optimizing and we can create pseudos, use + a ZERO_EXTEND to load from memory, then copy the result into the + target. + (movhi): Likewise, but only for ARMv4. - * fold-const.c (fold, case GE_EXPR, LT_EXPR): Don't assume - result of comparison is integer_type_node. +2002-07-22 Neil Booth -Thu Jul 1 00:23:16 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + * ssa-ccp.c (PHI_PARMS): Remove. - * config/i386/mach.h (SIZE_TYPE): Definition deleted. +2002-07-22 Richard Sandiford -Wed Jun 30 16:16:20 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/mips/mips.h (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS + on big-endian targets. - * config/m68k/sun3.h (SIZE_TYPE): Definition deleted. +2002-07-22 Kaveh R. Ghazi -Wed Jun 30 16:55:25 1993 John F Carr (jfc@Athena.mit.edu) + * hwint.h (HOST_WIDE_INT_PRINT_DEC_SPACE, + HOST_WIDE_INT_PRINT_UNSIGNED_SPACE, + HOST_WIDEST_INT_PRINT_DEC_SPACE, HOST_WIDEST_INT_PRINT_DEC_SPACE): + New formatting macros. - * 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. + * ra-debug.c (dump_static_insn_cost): Avoid string concatenation. -Wed Jun 30 15:19:42 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu) +Mon Jul 22 15:27:25 2002 J"orn Rennecke - * config.sub: Recognize `gnu' as a valid operating system. Sheesh. + * rtlanal.c (subreg_regno_offset): Return correct offset for + big endian paradoxical subregs. -Wed Jun 30 13:43:45 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * optabs.c (expand_vector_unop): Don't expand using sub_optab + if we got the wrong mode. - * pa.c (output_function_prologue): Emit SAVE_SP flag if a frame - pointer is needed. + * hwint.c (define HOST_WIDE_INT_PRINT_DEC_C): New define. + * genrecog.c (write_switch, write_cond): Use it. + * genemit.c (gen_exp): Likewise. -Wed Jun 30 00:52:25 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-07-22 Jakub Jelinek - * collect2.c (main): Don't look for `gld' or `TARGET-gld'. + * c-decl.c (build_compound_literal): Set decl TREE_READONLY from TYPE. - * fixincludes (stdtypes.h): Verify that size_t etc. follow whitespace. +2002-07-22 Jakub Jelinek - * 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. + * c-decl.c (build_compound_literal): Defer compound literal decls + until until file end to emit them only if they are actually used. - * 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. +2002-07-21 Kaveh R. Ghazi -Tue Jun 29 22:28:06 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * ra-build.c (check_conflict_numbers): Hide unused function. + (livethrough_conflicts_bb): Avoid automatic aggregate + initialization. + (parts_to_webs_1): Avoid `U' integer constant modifier. + (conflicts_between_webs): Wrap a variable in the macro controlling + its usage. + * ra-debug.c (ra_debug_msg): Use VA_OPEN/VA_CLOSE. + (dump_igraph, dump_graph_cost): Avoid string concatenation + (dump_static_insn_cost): Avoid automatic aggregate + initialization. + * ra-rewrite.c (insert_stores): Avoid automatic aggregate + initialization. + (dump_cost): Avoid string concatenation - * pa.c (singlemove_string): Use zdepi and ldil to load constants - into registers when appropriate. +2002-07-21 Richard Henderson -Tue Jun 29 11:26:35 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Don't use + GOTO_SUBROUTINE_EXPR when finally_block can be re-expanded. - * config.sub: Recognize -sysv* after -sysvr4. +2002-07-21 Richard Henderson - * config/vax/vax.h (GO_IF_NONINDEXED_ADDRESS): Declare reg_equiv_mem. + * unroll.c (find_splittable_givs): Do not split DEST_ADDR givs + that are not unrolled completely. -Mon Jun 28 20:12:04 1993 Steve Chamberlain (sac@apple-gunkies.gnu.ai.mit.edu) +2002-07-21 Richard Henderson - * config/sh/*: Major rework. + * loop.h (LOOP_AUTO_UNROLL): Rename from LOOP_FIRST_PASS. + * loop.c (strength_reduce): Update. + * toplev.c (rest_of_compilation): Do unrolling in the first + loop pass, not the second. -Mon Jun 28 02:46:47 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-07-21 Richard Henderson - * fixincludes (file): When changing VA_LIST to DUMMY_VA_LIST, - preserve _NEED___VA_LIST. + * emit-rtl.c (set_mem_attributes): Preserve indirection of PARM_DECL + when flag_argument_noalias == 2. + * alias.c (nonoverlapping_memrefs_p): Handle that. + * print-rtl.c (print_mem_expr): Likewise. + +2002-07-21 Hartmut Schirmer + + * libgcc2.c (__divdi3, __moddi3): Use unary minus operator + instead of __negdi2 directly. - * 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. +2002-07-21 Neil Booth + + * gengenrtl.c (gencode): Don't define obstack_alloc_rtx. + * function.c (SYMBOL__MAIN): Remove definition. + * global.c (SET_CONFLICT, REGBITP, ALLOCNO_LIVE_P): Remove. + * predict.c (PROB_NEVER, PROB_LIKELY, PROB_UNLIKELY): Remove. + * profile.c (GCOV_INDEX_TO_BB): Remove. + * sched-rgn.c (ABS_VALUE, MIN_DIFF_PRIORITY, MIN_PROB_DIFF): Remove. + * simplify-rtx.c (FIXED_BASE_PLUS_P): Remove. - * 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. +2002-07-21 Neil Booth - * config/i860/i860.c (output_move_double): - Handle reg[n,n+1] = mem[reg[n] + reg[n+1]]. Use new local var - highest_first to make sure addreg1 gets handled in the overlap case. - * config/i860/i860.md (movdf, movdi): Delete `&' from load constraint. + * c-lex.c (GET_ENVIRONMENT): Remove. + * collect2.c (GET_ENV_PATH_LIST): Remove. + (prefix_from_env): Use GET_ENVIRONMENT. + * cppinit.c (GET_ENV_PATH_LIST): Remove. + (init_standard_includes): Use GET_ENVIRONMENT. + * defaults.h (GET_ENVIRONMENT): Define here if not already. + * gcc.c (GET_ENV_PATH_LIST): Remove. + (make_relative_prefix, process_command): Update. + * protoize.c (GET_ENV_PATH_LIST): Remove. + (do_processing): Update. - * config/sparc/sol2.h (CPP_SPEC): For -compat-bsd, put the ucbinclude - dirs before, not after. +2002-07-21 Gabriel Dos Reis - * expr.c (store_field): Store unaligned field with bit field methods. + * c-decl.c (build_array_declarator): Say 'ISO C90', not 'ISO C89'. + (grokdeclarator): Likewise. + * c-format.c (C_STD_NAME): Likewise. + * c-lex.c (interpret_integer): Likewise. + * c-typeck.c (build_array_ref): Likewise. + * cpplex.c (_cpp_lex_direct): Likewise. + * toplev.c (documented_lang_options): 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. +2002-07-21 Neil Booth - * reload.c (find_reloads_address): Be selective about what inner - addresses to allow in an indirect mem ref. + * c-format.c (T99_I, T99_UI): Remove. -Sun Jun 27 16:40:59 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-07-21 Neil Booth - * emit-rtl.c (copy_rtx_if_shared): Don't try to copy a 0-length vector. + * c-typeck.c (SAVE_SPELLING_DEPTH): Remove. - * config/m68k/x-apollo68 (TAROUTOPTS): New definition. +Sun Jul 21 21:36:41 CEST 2002 Jan Hubicka - * config.sub: Canonicalize -sco4 and -sco3.2.4 to -sco3.2v4. + * gcse.c (do_local_cprop): Do not extend lifetimes of registers set by + do_local_cprop. - * gcc.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Check for -iwithprefixbefore. - (option_map): Add --include-with-prefix-before and - --include-with-prefix-after. +2002-07-21 Andreas Jaeger -Sun Jun 27 16:04:52 1993 Holger Teutsch (holger@hotbso.rhein-main.de) + * reload1.c (fixup_abnormal_edges): Remove unused variable. - * va-clipper.h: Use and define Macro __GNUC_VA_LIST. Define struct - __gnuc_va_list. - -Sun Jun 27 08:32:19 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +2002-07-21 Bernd Schmidt - * 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. + Improvements for the ifcvt pass from Michael Meissner, with patches + by Richard Sandiford + * basic-block.h (struct ce_if_block, ce_if_block_t): New types. + * ifcvt.c (cond_exec_changed_p): New static variable. + (last_active_insn): New function, renamed from last_active_insn_p + and changed to return the last active insn in a basic block. All + callers updated. + (block_fallthru): New function. + (cond_exec_process_insns): New argument CE_INFO. Pass it to + IFCVT_MODIFY_INSN. All callers updated. + Return false if START or END are NULL. + Handle case where we're processing an insn that is already + conditional. - * function.c (fixup_stack_1): Handle - current_function_internal_arg_pointer. + (noce_process_if_block): CE_INFO argument rather than + multiple args containing the involved basic blocks. All callers + changed. + (process_if_block, merge_if_block, find_if_block, + cond_exec_process_if_block): Likewise. - * 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. + (cond_exec_process_if_block): New arg DO_MULTIPLE_P. All callers + changed. + Use new function last_active_insn to simplify some code. + New code to handle multiple tests. + Call IFCVT_MODIFY_CANCEL in all failure cases, otherwise set + cond_exec_changed_p to TRUE. + + (process_if_block): New code to handle multiple tests. + (merge_if_block): Likewise. + (find_if_header): New arg PASS. Changed to return the currently + processed basic block or NULL instead of true/false. All callers + changed. + Call IFCVT_INIT_EXTRA_FIELDS. + (block_jumps_and_fallthru_p): New function. + (find_if_block): Discover opportunities to convert multiple tests. + Add additional debugging output. + Update the ce_info structure before returning. + + (if_convert): Run multiple passes of if-conversion. + * doc/tm.texi (IFCVT_MODIFY_TESTS, IFCVT_MODIFY_INSN, + IFCVT_MODIFY_FINAL, IFCVT_MODIFY_CANCEL, IFCVT_MODIFY_MULTIPLE_TESTS, + IFCVT_INIT_EXTRA_FIELDS, IFCVT_EXTRA_FIELDS): Update documentation for + these macros. - * calls.c (expand_call): If function hasn't been used before, - call assemble_external. +Sun Jul 21 00:54:54 CEST 2002 Jan Hubicka - * 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. + * gcse.c: Include cselib.h + (constptop_register): Break out from ... + (cprop_insn): ... here; kill basic_block argument. + (do_local_cprop, local_cprop_pass): New functions. + (one_cprop_pass): Call local_cprop_pass. - * 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. +2002-07-20 Roger Sayle - * fold-const.c (fold, case TRUTH_XOR_EXPR): End with `return', - not `break'. + * simplify-rtx.c (simplify_relational_operation): Optimize + abs(x) < 0.0 (and abs(x) >= 0.0 when using -ffast-math). - * dwarfout.c (output_compile_unit_die): Add support for Ada. +2002-07-20 Michae Matz - * c-iterate.c (collect_iterators, case SAVE_EXPR): Simplify code - added in previous change. + * ra-build.c: (remember_web_was_spilled): Use GENERAL_REGS. - * expr.c: Fix typo: was ARGS_GROW_DOWNARD. +2002-07-20 Neil Booth - * combine.c (subst, case IF_THEN_ELSE): Install correct version of - last change. + * cppexp.c (struct op): Add token pointer. + (check_promotion, CHECK_PROMOTION): New. + (optab): Update. + (_cpp_parse_expr): Update, use token pointer of struct op. + (reduce): Warn about change of sign owing to promotion. + * cppinit.c (cpp_handle_option): New warning if -Wall. + * cpplib.h (struct cpp_options): New member. -Sat Jun 26 15:38:33 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +2002-07-19 David Edelsohn - * cccp.c (main): For -iwithprefix, if no include_prefix, - make a default from GCC_INCLUDE_DIR. - Support -iwithprefixbefore. + * config/rs6000/rs6000.md: Remove ppc630 fpcompare from single + fpu list. Separate Power4 compare and delayed_compare. Correct + Power4 fpcompare. + (fix_truncdfsi2_internal): Restore FPR preference. + * config/rs6000/t-aix43 (MULTILIB_MATCHES): Add mcpu?power3, + mcpu?power4, mcpu?604e. Remove mpower, mpower2, mpowerpc. - * reload.c (find_reloads): When merging reloads again after they have - been changed, do check reload_reg_class and reload_nocombine. +2002-07-19 Momchil Velikov - * config/sparc/sparc.md (movdf recognizer): Remove & from - constraint for loading mem to cpu reg. + * reload1.c (reload_as_needed): Duplicate oldpat. - * expr.c (expand_assignment): If FROM is scalar function call, - expand_expr FROM before TO. +2002-07-20 Alan Modra - * gcc.c (translate_options): `*' inhibits warning of extraneous arg. + PR optimization/7130 + * loop.h (struct loop_info): Add "preconditioned". + * unroll.c (unroll_loop): Set it. + * doloop.c (doloop_modify_runtime): Correct count for unrolled loops. + +2002-07-19 Zack Weinberg + + * rtl.def (CODE_LABEL): Remove slot 8. + * rtl.h (struct rtx_def): Document new uses of jump and call fields. + (LABEL_ALTERNATE_NAME): Delete. + (LABEL_KIND, SET_LABEL_KIND, LABEL_ALT_ENTRY_P): New. + * defaults.h: Remove default for ASM_OUTPUT_ALTERNATE_LABEL_NAME. + + * final.c (output_alternate_entry_point): New. + (final_scan_insn): Use it instead of + ASM_OUTPUT_ALTERNATE_LABEL_NAME. Do not consider possibility + of a case label being an alternate entry point. + + * cfgbuild.c (make_edges, find_bb_boundaries): Use LABEL_ALT_ENTRY_P. + * emit-rtl.c (gen_label_rtx): Adjust call to gen_rtx_CODE_LABEL. + Do not clear LABEL_NUSES (unnecessary) or LABEL_ALTERNATE_NAME + (field deleted). + * print-rtl.c, ra-debug.c: Update code to output CODE_LABELs. -Sat Jun 26 11:07:23 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * doc/rtl.texi: Document LABEL_KIND, SET_LABEL_KIND, and + LABEL_ALT_ENTRY_P; not LABEL_ALTERNATE_NAME. + * doc/tm.texi: Delete documentation of + ASM_OUTPUT_ALTERNATE_LABEL_NAME. - * reload1.c (reload): Use reg_equiv_address for invalid addresses - of the form (mem (reg)). +2002-07-19 Rainer Orth - * config/*/xm-*.h: Remove line that #define's alloca - to __builtin_alloca. + * config/mips/iris5gas.h (DWARF2_DEBUGGING_INFO): Define. + (PREFERRED_DEBUGGING_TYPE): Use DWARF2_DEBUG. + (LINK_SPEC): Define. + (STARTFILE_SPEC): Define. + (ENDFILE_SPEC): Define. - * 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. + * config/mips/iris6-o32.h (LINK_SPEC): Move ... + * config/mips/iris6-o32-as.h (LINK_SPEC): ... here. - * 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. + * config/mips/iris6-o32-gas.h: New file. + * config.gcc (mips-sgi-irix6*o32): Use it. - * 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. + * config/mips/t-iris5-gas: New file. + * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it. - * 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. +2002-07-19 Neil Booth - * expr.c (do_store_flag): When computing via a shift, allow for - an inner RSHIFT_EXPR in BITNUM. - Sometimes do the operations as signed. + * cppexp.c (ALWAYS_EVAL): Remove. + (optab, reduce): Always evaluate. + (num_unary_op, num_binary_op, num_div_op): Issue diagnostics + only if not skipping evaluation. - * 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. +2002-07-19 Marek Michalkiewicz -Sat Jun 26 03:25:35 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/avr/avr.c (debug_hard_reg_set): Remove. - * configure (i370-*-mvs*): New configuration. - * config/i370/i370.md, mvs370.c, tm-mvs.h, xm-mvs.h +2002-07-19 Chris Demetriou - * final.c, varasm.c: Include ctype.h. - * c-lex.c: Include ctype.h. - (isalnum, isdigit): Macros deleted. + * gcc.c (cpp_options): Include "%1" (cc1_spec). - * 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. +2002-07-19 Richard Henderson -Sat Jun 26 03:15:38 1993 Doug Evans (dje@wookumz.gnu.ai.mit.edu) + * loop.c (loop_givs_rescan): Delete the REG_EQUAL note, not the insn. - * gcc.c (option_map): Add missing comma. +2002-07-19 Alan Modra -Sat Jun 26 02:17:28 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * prefix.c (update_path): Don't zap single `.' path components + unless followed by another `.' and fix typo last patch. - * config/we32k/we32k.c: Clean up formatting. +2002-07-18 Neil Booth - * calls.c (calls_function_1): Add declaration. + * cppexp.c (cpp_num_mul): Remove unused parameter. + (UNARY, BINARY, OTHER, binary_handler): Remove. + (ALWAYS_EVAL): New. + (optab): Update. + (reduce): Refactor to a large switch, don't use a function + pointer. - * config/m68k/m68k.md (fix_truncdfsi2, fix_truncdfhi2, fix_truncdfqi2): - Require TARGET_68881 as well as TARGET_68040. +2002-07-18 Bo Thorsen -Fri Jun 25 20:13:51 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * config/i386/linux64.h (STARTFILE_PREFIX_SPEC): Define this always. - * calls.c (calls_function): Don't scan a single save_expr twice. - (calls_function_1): New subroutine for the actual recursion. +Thu Jul 18 19:39:18 2002 J"orn Rennecke - * c-parse.in (all_iter_stmt_simple): Add missing `else'. + * sh-protos.h (sh_expand_unop_v2sf): Move inside #ifdef RTX_CODE guard. + (sh_expand_binop_v2sf): Likewise. + * sh.c (machine_dependent_reorg): Add move for UNSPEC_MOVA. + (int_gpr_dest, trunc_hi_operand): New functions. + * sh.h (PREDICATE_CODES): Add any_register_operand, int_gpr_dest and + trunc_hi_operand. + (SPECIAL_MODE_PREDICATES, any_register_operand): Define. + * sh.md (cmpeqdi_t+1): Remove comments that genrecog warns about. + (adddi3_compact+1, subdi3_compact+1, ashlsi3_n+1, ashlhi3+1): Likewise. + (ashrsi2_16+1, ashrsi2_31+1, lshrsi3_n+1, ashrdi3+[12]): Likewise. + (and_shl_scratch+[12], zero_extendhidi2+1): Likewise. + (zero_extendhisi2_media+1, extendhidi2+1, extendqidi2+1): Likewise. + (extendhisi2_media+1, extendqisi2_media+1): Likewise. + (movsi_media_nofpu+[12], movhi_media+1, movdi_media_nofpu+1): Likewise. + (movdi_const_16bit+[12], movdf_i4+[123], reload_outdf+[2-5]): Likewise. + (movsf_ie+1): Likewise. + (loaddi_trunc): Use int_gpr_dest predicate. + (use_sfunc_addr, indirect_jump_scratch, sibcall_compact): Add mode(s). + (mova, mova_const, GOTaddr2picreg, ptrel, casesi_worker_0): Likewise. + (casesi_worker_0+[12], casesi_worker): Likewise. + (shcompact_preserve_incoming_args): Likewise. + (mov_nop): Use any_register_operand predicate. + (mperm_w0): Use trunc_hi_operand predicate. -Fri Jun 25 15:53:59 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +2002-07-18 John David Anglin - Cygnus<->FSF merge. - Fri Jun 25 10:00:34 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * pa-linux.h (DWARF2_UNWIND_INFO): Delete define. + * pa.h (EH_RETURN_DATA_REGNO): Revise TARGET_64BIT and correct + numbering. - * cp-decl.c: Delete some #if 0'd code that has been there forever. +2002-07-18 John David Anglin - * cp-type2.c (my_friendly_abort): Update count of aborts (added by - emit_base_init rewrite). + * pa.c (output_deferred_plabels): Remove unused millicode enum mulU. - 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). +2002-07-18 Richard Henderson - Wed Feb 3 17:41:02 1993 Chip Salzenberg (chip@tct.com) + PR optimization/7147 + * ifcvt.c (noce_get_condition): Make certain that the condition + is valid at JUMP. - * 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). +Thu Jul 18 13:44:51 2002 J"orn Rennecke - Thu Jun 24 12:41:16 1993 Mike Stump (mrs@rtl.cygnus.com) + * sh.c (barrier_align, push): Shut up compiler warnings. + (initial_elimination_offset,sh_media_init_builtins): Likewise. + (reg_no_subreg_operand): Delete. - * 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. +2002-07-17 Bo Thorsen - Wed Jun 23 17:18:41 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * config/i386/linux64.h (LINK_SPEC): Remove bogus -Y option. + (STARTFILE_PREFIX_SPEC): Define for NATIVE_CROSS compilations. + (STARTFILE_SPEC): Remove hardcoded library paths. + (ENDFILE_SPEC): Likewise. - * cp-decl.c (init_decl_processing): Also catch SIGBUS. - (sigsegv): Rename to signal_catch; also reset SIGBUS. +Thu Jul 18 09:38:59 CEST 2002 Jan Hubicka - * cp-typeck.c (pointer_diff): Error if op1 is a pointer to an - incomplete type. + * gcse.c (hoist_expr_reaches_here_p): Stop once expr_bb is reached. - Wed Jun 23 16:17:43 1993 Mike Stump (mrs@rtl.cygnus.com) + * gcse.c (try_replace_reg): Do not return false positives. - * 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. +2002-07-18 Alan Modra - Wed Jun 23 16:04:17 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * prefix.c: (update_path): Strip ".." components when prior dir + doesn't exist. Pass correct var to UPDATE_PATH_HOST_CANONICALIZE. + + * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Remove 64-bit support. + (ASM_OUTPUT_REG_POP): Likewise. + +2002-07-18 Alan Modra + + * config/rs6000/rs6000.c (first_reg_to_save): Remove bogus + adjustments to first_reg for profiling case. + (output_function_profiler): Correct lr save slot for ABI_AIX_NODESC. + Disable profiling for 64 bit code on both ABI_V4 and ABI_AIX_NODESC. + Save static chain reg to sp + 12 on ABI_AIX_NODESC. + * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Define. + (ASM_OUTPUT_REG_POP): Define. + * config/rs6000/linux64.h (ASM_OUTPUT_REG_PUSH): Undef. + (ASM_OUTPUT_REG_POP): Undef. + +2002-07-17 Neil Booth + + * cpplib.c (do_sccs): Handle #sccs on all systems. + * system.h (SCCS_DIRECTIVE): Poison. + * config/darwin.h, config/freebsd.h, config/netbsd.h, + config/ptx4.h, config/svr3.h, config/svr4.h, config/alpha/elf.h, + config/arm/linux-elf.h, config/c4x/c4x.h, config/d30v/d30v.h, + config/i370/i370.h, config/i386/gas.h, config/i386/sco5.h, + config/i960/i960.h, config/m68hc11/m68hc11.h, config/m68k/3b1.h, + config/m68k/3b1g.h, config/m68k/crds.h, config/m68k/mot3300.h, + config/m68k/pbb.h, config/m88k/m88k.h, config/mips/mips.h, + config/sparc/pbd.h, config/stormy16/stormy16.h, config/vax/vaxv.h: + Remove all references to SCCS_DIRECTIVE. + * doc/cpp.texi, doc/tm.texi: Update. + +Wed Jul 17 19:23:32 2002 J"orn Rennecke + + * regrename.c (maybe_mode_change): New function. + (find_oldest_value_reg, copyprop_hardreg_forward_1): Use it. + +2002-07-17 Rodney Brown + + * config/i386/i386.c (ix86_expand_int_movcc): In the general case + suppress addition when either ct or cf are zero. + +2002-07-17 Eric Botcazou + Glen Nakamura + + PR optimization/6713 + * loop.c (loop_givs_rescan): Explicitly delete the insn that + sets a non-replaceable giv after issuing the new one. + +2002-07-17 Neil Booth + + * cppexp.c (cpp_interpret_integer, append_digit, parse_defined, + eval_token): Clarify and correct use of "bool" variables. + * cpplib.h (struct cpp_options): Similarly. + * cppmacro.c (parse_params, _cpp_save_parameter): Ditto. + * cpptrad.c (recursive_macro): Similarly. + +Wed Jul 17 17:08:06 2002 J"orn Rennecke + + * config/sh/lib1funcs.asm (udivsi3_i4): Implement SHcompact version in + SHmedia code. + + * sh.md (cmpgtudi_media): Remove spurious @. + + * config/sh/lib1funcs.asm (FMOVD_WORKS): Don't define for little endian. + * sh.h (OVERRIDE_OPTIONS): Don't set FMOVD_BIT for little endian. + + * config/sh/lib1funcs.asm (init_trampoline): New entry point. + * sh-protos.h (sh_initialize_trampoline): Declare. + * sh.c (sh_initialize_trampoline): New function. + * sh.h (TRAMPOLINE_SIZE): Only 24 for TARGET_SHMEDIA32. + (TRAMPOLINE_ALIGNMENT): Need cache-line alignment for TARGET_SHMEDIA. + (INITIALIZE_TRAMPOLINE): Call sh_initialize_trampoline. + (TRAMPOLINE_ADJUST_ADDRESS): Not needed for SHcompact. + * sh.md (initialize_trampoline, double_shori): New patterns. + (initialize_trampoline_compact): Likewise. + (shmedia32_initialize_trampoline_big): Remove. + (shmedia32_initialize_trampoline_little): Likewise. + + * sh-protos.h (binary_float_operator): Remove declaration. + (sh_expand_unop_v2sf, sh_expand_binop_v2sf): Declare. + * sh.c (print_operand, case 'N'): Check against CONST0_RTX. + (unary_float_operator, sh_expand_unop_v2sf): New functions. + (sh_expand_binop_v2sf): Likewise. + (zero_vec_operand): Delete. + (SH_BLTIN_UDI): New builtin shared signature define. Renumbered + all non-shared ones. + (bdesc): Change all the mextr builtins to use SH_BLTIN_UDI. + Enable nsb and byterev. + * sh.h (CONDITIONAL_REGISTER_USAGE): Initialize DF_HI_REGS. + (HARD_REGNO_MODE_OK): Allow TImode in fp regs. Allow V2SFmode + in general regs. + (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add DF_HI_REGS. + (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise. Remove clause for + immediate operands. + (SECONDARY_INPUT_RELOAD_CLASS): Add clause for immediate operands. + Add DF_HI_REGS. + (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P): Allow + lowpart fp regs - only for big endian for now. + (LEGITIMATE_CONSTANT_P): Don't allow nonzero float vectors + when FPU is in use. + (EXTRA_CONTRAINT_U): Check against CONST0_RTX. + (LOAD_EXTEND_OP): NIL for SImode. + (REGISTER_MOVE_COST): Add DF_HI_REGS. Const for moves between + general and fp registers is 4. + PREDICATE_CODES: Amend binary_float_operator entry. + Remove zero_vec_operand. Add unary_float_operator. + * sh.md (udivsi3_i4_media): Use truncate instead of paradoxical + subreg SET_DEST. + (truncdisi2, truncdihi2, movv2sf): Allow memory destinations. + (truncdiqi2): Do sign extension. + (movsi_media, movdi_media): Allow to use r63 to an fp register. + (movdf_media, movsf_media): Likewise. + (movv2sf_i, movv2sf_i+1): Don't use f{ld,st}.p or SUBREGS. + Collapse to one define_insn_and_split. Allow immediate sources. + (addv2sf3, subv2sf3, mulv2sf3, divv2sf3): New patterns. + (movv4sf_i): Allow immediate sources. Use simplify_gen_subreg. + (movv4sf): Allow immediate sources. + (movsf_media_nofpu+1): Don't split moves to FP registers. + (unary_sf_op, binary_sf_op, mshflo_w_x, concat_v2sf): New patterns. + (movv8qi_i+3): Check against CONST0_RTX. + (mextr1, mextr2. mextr3. mextr4, mextr5, mextr6, mextr7): Use DImode + for input and output operands. Fix argument 3 to gen_mextr_rl. + (mmul23_wl, mmul01_wl, mmulsum_wq_i): s/const_vector/parallel/ + (msad_ubq_i, mshf4_b, mshf0_b, mshf4_l, mshf0_l, mshf4_w): Likewise. + (mshf0_w, fipr, ftrv): Likewise. + (mshfhi_l_di): Now insn_and_split. Can handle FP regs. + +2002-07-17 Jeroen Dobbelaere + + * arm.h (ARM_NUM_INTS, ARM_NUM_REGS, ARM_NUM_REGS2): Renamed from + NUM_INTS, NUM_REGS and ARM_NUM_REGS2 respectively. All uses changed. + * arm.c: Similarly. + +2002-07-17 Richard Sandiford + + * config/mips/mips-protos.h (mips_sign_extend): Declare. + * config/mips/mips.h (MASK_DEBUG_H, TARGET_DEBUG_H_MODE): Remove. + (TARGET_SWITCHES): Remove debugh. + (ISA_HAS_TRUNC_W): New macro. + (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS if TARGET_FLOAT64. + (PREDICATE_CODES): Remove se_nonimmediate_operand. + * config/mips/mips.c (movdi_operand): Allow sign-extensions of + any SImode move_operand. + (se_nonimmediate_operand): Remove. + (mips_sign_extend): New. + (mips_move_2words): Use it for sign-extended source operands. + (override_options): Allow integers to be put into single FPRs. + (mips_secondary_reload_class): Handle integers in float registers. + * config/mips/mips.md (extendsidi2): Turn into a define_expand. + (fix_truncsfsi2, fix_truncdfsi2): Likewise. + (fix_truncdfsi2_insn, fix_truncdfsi2_macro): New. + (fix_truncsfsi2_insn, fix_truncsfsi2_macro): New. + (fix_truncdfdi2): Provide only a single alternative, in which the + integer is in a float register. Depend on TARGET_FLOAT64 rather + than TARGET_64BIT. + (fix_truncsfdi2, floatdidf2, floatdisf2): Likewise. + (floatsidf2, floatsisf2): Likewise, but no TARGET_FLOAT64 dependency. + (movdi_internal2): Don't allow the source operand to be sign-extended. + Add alternatives for float registers. + (*movdi_internal2_extend): New. Version of movdi_internal2 that + allows sign-extension. + (*movdi_internal2_mips16): Name the existing mips16 movdi pattern. + (movsi_internal2): Rename to movsi_internal. Add alternatives for + float registers. Remove TARGET_DEBUG_H_MODE test. + (movhi_internal1): Rename to movhi_internal. Don't check + TARGET_DEBUG_H_MODE. Fix transposed *d and *f source constraints. + (movqi_internal1): Rename to movqi_internal and remove + TARGET_DEBUG_H_MODE dependency. + (movsi_internal1, movhi_internal2, movqi_internal2): Remove. + +2002-07-16 Jim Wilson + + * toplev.c (lang_dependent_init): Create function context for + init_expr_once. + +2002-07-16 Hans-Peter Nilsson + + * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Don't + --gc-sections if -r. + * config/cris/cris.h: Ditto. + +2002-07-16 Rodney Brown + + * config/i386/i386.c (ix86_expand_int_movcc): In the case where + the comparison directly gives a mask suppress addition when cf is + zero by complementing the mask. + +2002-07-16 Nathanael Nerode + + * Makefile.in: Delete references to enquire. + * enquire.c: Move to contrib. + +2002-07-16 Stan Shebs + + * config/darwin.h (ASM_OUTPUT_LABEL): Move to here from + config/rs6000/darwin.h. + (ASM_OUTPUT_SKIP): Ditto. + (TEXT_SECTION_ASM_OP): Ditto. + (DATA_SECTION_ASM_OP): Ditto. + (ASM_APP_ON): Define. + (ASM_APP_OFF): Define. + * config/rs6000/darwin.h (ASM_OUTPUT_LABEL, ASM_OUTPUT_SKIP, + TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Remove. + + * config/darwin.c (func_name_maybe_scoped): Remove unused decl. + (machopic_function_base_name): Declare result to be const. + (machopic_non_lazy_ptr_name): Ditto. + (machopic_stub_name): Ditto. + * config/darwin-protos.h: Ditto for the prototypes. + +Wed Jul 17 00:22:39 CEST 2002 Jan Hubicka + + * m68hc11.c (m68hc11_reorg): Do not rebuild CFG. + +Wed Jul 17 00:20:48 CEST 2002 Jan Hubicka + + * i386.md (prefetch): Fix for 64bit mode. + (prefetch_sse_rex, prefetch_3dnow_rex): New patterns. + +Wed Jul 17 00:19:20 CEST 2002 Jan Hubicka + + * i386.h (MACHINE_DEPENDENT_REORG): New macro. + * i386.c (x86_machine_dependent_reorg): New function. + * i386-protos.h (x86_machine_dependent_reorg): Declare. + +2002-07-16 Zack Weinberg + + * builtins.c (std_expand_builtin_va_start): Remove unused + first argument. + (expand_builtin_va_start): Call EXPAND_BUILTIN_VA_START and + std_expand_builtin_va_start with just two arguments. + * expr.h: Update prototypes. + + * alpha-protos.h, alpha.h, alpha.c, arc-protos.h, arc.h, + arc.c, d30v-protos.h, d30v.h, d30v.c, i386-protos.h, i386.h, + i386.c, i960-protos.h, i960.h, i960.c, m88k-protos.h, m88k.h, + m88k.c, mips-protos.h, mips.h, mips.c, mn10300-protos.h, + mn10300.h, mn10300.c, pa-protos.h, pa.h, pa.c, + rs6000-protos.h, rs6000.h, rs6000.c, s390-protos.h, s390.h, + s390.c, sh-protos.h, sh.h, sh.c, sparc-protos.h, sparc.h, + sparc.c, stormy16-protos.h, stormy16.h, stormy16.c, + xtensa-protos.h, xtensa.h, xtensa.c: Remove unused first + argument from all implementations of EXPAND_BUILTIN_VA_START + and all uses of std_expand_builtin_va_start. - * cp-tree.c (layout_basetypes): Disable the warning relating to a - non-virtual dtor. +Tue Jul 16 19:32:58 2002 J"orn Rennecke - Tue Jun 22 20:03:59 1993 Mike Stump (mrs@cygnus.com) + * regrename.c (copy_value): Don't record high part copies. - * cp-lex.c (reinit_parse_for_block): Detect EOFs inside templates. +2002-07-16 Steve Ellcey - Tue Jun 22 16:10:46 1993 Mike Stump (mrs@cygnus.com) + * gcc/config/pa/long_double.h (FIXUNS_TRUNCTFDI2_LIBCALL): New define. + (fixunstfdi_libfunc): Change to use FIXUNS_TRUNCTFDI2_LIBCALL. + * gcc/config/pa/quadlib.c (_U_Qfcnvfxt_quad_to_udbl): New function. - * 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. +2002-07-16 Ian Dall - Tue Jun 22 10:50:56 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * doc/invoke.texi (NS32K Options): Document -mieee-compare option - * cp-decl.c (grokdeclarator): Don't try to mangle the name of a fn - that has C linkage. + * config/ns32k/ns32k.md (addsi3, *frame_addr, *stack_addr): merge + into addsi3 using register class "x" and "y". - * 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. + * config/ns32k/ns32k.md (*madddf, *maddsf, *msubdf, *msubsf): + "earlyclobber" constraint modifier for some alternative. - * 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. + * config/ns32k/ns32k.md (tstdf, tstsf, cmpdf, cmpsf, blt, ble) + (*ble, *blt): Flag to indicate bCOND and sCOND should check for + unordered. + config/ns32k/ns32k.h (CC_UNORD): define corresponding mask. - * cp-typeck.c (convert_for_assignment): There's no standard - conversion from a pointer to member to a `void *'. + * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE, MASK_IEEE_COMPARE) + (TARGET_SWITCHES): Add -mieee-compare option. + (OVERRIDE_OPTIONS): 32332 is a subset of + 32532. Don't use IEEE_COMPARE -funsafe-math-optimizations. + (TARGET_SWITCHES): Fix description of bitfield option. + * config/ns32k/netbsd.h (TARGET_DEFAULT): Add + -mieee-compare option. Remove 32332 flag. - * cp-decl.c (init_decl_processing): Add builtins for - __builtin_apply_args, __builtin_apply, and __builtin_return. +2002-07-16 Steve Ellcey - Mon Jun 21 12:05:28 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * explow.c (convert_memory_address): Remove special handling + when POINTERS_EXTEND_UNSIGNED < 0. + * config/ia64.md (movsi_symbolic): New instruction for ILP32 mode. + (movedi_symbolic): Fix typo. + (load_fptr): Remove mode restriction so it works for SI and DI. + (load_fptr_internal1): Ditto. + (load_gprel): Ditto. + (load_symptr_internal1): Ditto. + (call_pic): Ditto. + * config/ia64.c (call_operand): Modify mode check. + (ia64_expand_load_address): Handle DI and SI addresses and symbols. + (ia64_expand_move): Ditto. + (ia64_assemble_integer): Handle SImode function pointers. + (ia64_expand_fetch_and_op): Handle SImode mem addresses. + (ia64_expand_op_and_fetch): Ditto. + (ia64_expand_compare_and_swap): Ditto. + (ia64_expand_lock_test_and_set): Ditto. + (ia64_expand_lock_release): Ditto. + +2002-07-16 Jeroen Dobbelaere + + * arm.c (emit_sfm): Don't set RTX_FRAME_RELATED_P on DWARF. + +2002-07-16 Jeroen Dobbelaere + Richard Earnshaw + + * arm.h (LEGITIMATE_PIC_OPERAND_P): Only test + CONSTANT_POOL_ADDRESS_P if a SYMBOL_REF. Simplify logic. + +2002-07-16 Richard Earnshaw + + * arm.md (stack_tie): New insn. Use an idiom that the alias code + understands to be a memory clobber. + * arm.c (arm_expand_prologue): Use it. + +2002-07-16 Daniel Berlin + + * ra-rewrite.c: #include reload.h, insn-config.h + * ra-build.c: #include reload.h + * Makefile.in: Update ra-rewrite.o, ra-build.o dependencies to + depend on reload.h, insn-config.h. + +Tue Jul 16 11:57:45 2002 J"orn Rennecke + + * expr.c (emit_move_insn_1): Handle arbitrary moves that are + the same size as a word. + + * regrename.c (find_oldest_value_reg): Take WORDS_BIG_ENDIAN / + BYTES_BIG_ENDIAN into account. + +Tue Jul 16 12:22:44 CEST 2002 Jan Hubicka + + * i386.md (prefetch): Fix for 64bit mode. + (prefetch_sse_rex, prefetch_3dnow_rex): New patterns. + + * i386.md (movss, movsd): Use xorps/xorpd for Athlon. + +2002-07-16 Marek Michalkiewicz + + * hard-reg-set.h (TEST_HARD_REG_BIT): Return 1 if the bit is set. + +2002-07-15 Zack Weinberg + + * ginclude/varargs.h: Replace with stub which issues #error. + * ginclude/stdarg.h: __builtin_stdarg_start is renamed + __builtin_va_start. + + * builtins.def (BUILT_IN_VARARGS_START): Delete. + (BUILT_IN_VA_START): New. + * builtins.c (expand_builtin_va_start): Eliminate first + argument and code to implement pre-ISO varargs. + (std_expand_builtin_va_start): Ignore first argument; it is + always 1. + (expand_builtin): Handle BUILT_IN_VA_START and + BUILT_IN_STDARG_START identically. Delete + BUILT_IN_VARARGS_START case. + + * function.c (assign_parms): Delete hide_last_arg and all + its uses. + (mark_varargs): Delete function. + * function.h (struct function): Delete 'varargs' bit. + (current_function_varargs): Delete macro. + * tree.h: Don't declare mark_varargs. + + * c-decl.c (c_function_varargs, c_mark_varargs): Delete. + (c_expand_body): Don't call mark_varargs. + * c-objc-common.c: Handle BUILT_IN_VA_START and + BUILT_IN_STDARG_START identically. Delete + BUILT_IN_VARARGS_START case. + * c-tree.h: Don't declare c_mark_varargs. + * c-parse.in: Remove grammar rules for '&...' (which has been + commented out since before 2.7.2) and for '...' in K+R + argument declarations. + + * builtins.c, function.c, integrate.c, sibcall.c, + config/alpha/unicosmk.h, config/arc/arc.c, config/arc/arc.h, + config/avr/avr.c, config/cris/cris.c, config/fr30/fr30.c, + config/i960/i960.c, config/i960/i960.md, config/m32r/m32r.c, + config/m32r/m32r.h, config/m88k/m88k.c, config/m88k/m88k.h, + config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h, + config/mn10300/mn10300.c, config/pa/som.h, config/s390/s390.c, + config/sh/sh.c, config/sh/sh.h, config/sparc/sparc.h, + config/stormy16/stormy16.c: Delete all references to + current_function_varargs, and code predicated on that flag. + + * config/alpha/alpha.c (alpha_va_start), + config/arc/arc.c (arc_va_start), + config/i386/i386.c (ix86_va_start), + config/mips/mips.c (mips_va_start), + config/mn10300/mn10300.c (mn10300_va_start), + config/rs6000/rs6000.c (rs6000_va_start), + config/s390/s390.c (s390_va_start), + config/sh/sh.c (sh_va_start), + Ignore first argument; it is always 1. - * 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. + * config/c4x/c4x-protos.h, config/c4x/c4x.c: Delete c4x_va_start. + * config/ia64/ia64-protos.h, config/ia64/ia64.c: Delete ia64_va_start. + * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c: + Delete m68hc11_va_start. + * config/c4x/c4x.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h: + No need to define EXPAND_BUILTIN_VA_START. - * cp-parse.y (component_decl_list): Don't warn about a semicolon - after a component_decl_list. + * doc/invoke.texi, doc/sourcebuild.texi, doc/tm.texi, + doc/trouble.texi: Remove references to GCC-provided . - * cp-search.c (lookup_field): Be careful to handle operators - properly when complaining about ambiguities &c. +2002-07-15 Eric Botcazou - * cp-search.c (dfs_pushdecls): Make sure we have a context before - seeing if it derives from TYPE. + PR optimization/7153 + * regmove.c (optimize_reg_copy_3): Don't optimize if the register + dies in more than one insn. - Fri Jun 18 08:14:11 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +2002-07-15 Jason Thorpe - * 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. + * config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Remove. - Wed Jun 16 10:57:37 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +2002-07-15 Michael Matz , + Daniel Berlin , + Denis Chertykov - * cp-typeck.c (build_unary_op): Make sure it's the global fn `main' - before complaining about taking the address of it. + Add a new register allocator. - * cp-decl.c (grokdeclarator): Also forbid `operator ()' as a - non-member fn. + * ra.c: New file. + * ra.h: New file. + * ra-build.c: New file. + * ra-colorize.c: New file. + * ra-debug.c: New file. + * ra-rewrite.c: New file. - * cp-decl.c (grok_reference_init): Don't allow an initializer list - as the initializer for a reference. + * Makefile.in (ra.o, ra-build.o, ra-colorize.o, ra-debug.o, + (ra-rewrite.o): New .o files for libbackend.a. + (GTFILES): Add basic-block.h. - * cp-method.c (dump_init): Handle a NON_LVALUE_EXPR. + * toplev.c (flag_new_regalloc): New. + (f_options): New option "new-ra". + (rest_of_compilation): Call initialize_uninitialized_subregs() + only for the old allocator. If flag_new_regalloc is set, call + new allocator, instead of local_alloc(), global_alloc() and + friends. - Sun Jun 13 12:55:22 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * doc/invoke.texi: Document -fnew-ra. + * basic-block.h (FOR_ALL_BB): New. + * config/rs6000/rs6000.c (print_operand): Write small constants + as @l+80. - * cp-decl.c (grokvardecl): Don't complain about duplicate - definitions of `extern "C"' declarations (parallelize it with how - regular `extern' decls are handled). + * df.c (read_modify_subreg_p): Narrow down cases for a rmw subreg. + (df_reg_table_realloc): Make size at least as large as max_reg_num(). + (df_insn_table_realloc): Size argument now is absolute, not relative. + Changed all callers. - * cp-decl.c (start_function): Avoid a null-reference on CTYPE. + * gengtype.c (main): Add the pseudo-type "HARD_REG_SET". + * regclass.c (reg_scan_mark_refs): Ignore NULL rtx's. - * cp-cvt.c (build_default_binary_type_conversion): Look deeper into - what ARG1 and ARG2 are if they're POINTER_TYPEs. + 2002-06-20 Michael Matz - Thu Jun 10 12:09:17 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * df.h (struct ref.id): Make unsigned. + * df.c (df_bb_reg_def_chain_create): Remove unsigned cast. - * cp-decl.c (grokdeclarator): Make the warning about opr-eq being a - member function be a pedwarn. + 2002-06-13 Michael Matz - Thu Jun 10 00:30:08 1993 Mike Stump (mrs@cygnus.com) + * df.h (DF_REF_MODE_CHANGE): New flag. + * df.c (df_def_record_1, df_uses_record): Set this flag for refs + involving subregs with invalid mode changes, when + CLASS_CANNOT_CHANGE_MODE is defined. - * 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. + 2002-05-07 Michael Matz - Tue Jun 8 16:48:49 1993 Mike Stump (mrs@cygnus.com) + * reload1.c (fixup_abnormal_edges): Don't insert on NULL edge. - * 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. + 2002-05-03 Michael Matz - Tue Jun 8 16:41:59 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * sbitmap.c (sbitmap_difference): Accept sbitmaps of different size. - * cp-lex.c (reinit_parse_for_block): Make sure not to try to use - consume_string on an escaped double-quote. + Sat Feb 2 18:58:07 2002 Denis Chertykov - Tue Jun 8 16:25:43 1993 Mike Stump (mrs@cygnus.com) + * regclass.c (regclass): Work with all regs which have sets or + refs. + (reg_scan_mark_refs): Count regs inside (clobber ...). - * cp-call.c (build_method_call): Don't search hidden functions from - base classes, as this violates chapter 10. + 2002-01-04 Michael Matz - Mon Jun 7 18:46:01 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * df.c (df_ref_record): Correctly calculate SUBREGs of hardregs. + (df_bb_reg_def_chain_create, df_bb_reg_use_chain_create): Only + add new refs. + (df_bb_refs_update): Don't clear insns_modified here, ... + (df_analyse): ... but here. - * 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. + * sbitmap.c (dump_sbitmap_file): New. + (debug_sbitmap): Use it. - Mon Jun 7 18:01:31 1993 Mike Stump (mrs@cygnus.com) + * sbitmap.h (dump_sbitmap_file): Add prototype. - * 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. + 2001-08-07 Daniel Berlin - Sun Jun 6 11:45:44 1993 Michael Tiemann (tiemann@rtl.cygnus.com) + * df.c (df_insn_modify): Grow the UID table if necessary, rather + than assume all emits go through df_insns_modify. - * cp-call.c (EVIL,TRIVIAL): New macros. - (convert_harshness): Use these macros. + 2001-07-26 Daniel Berlin - Sat Jun 5 19:06:13 1993 Michael Tiemann (tiemann@rtl.cygnus.com) + * regclass.c (reg_scan_mark_refs): When we increase REG_N_SETS, + increase REG_N_REFS (like flow does), so that regclass doesn't + think a reg is useless, and thus, not calculate a class, when it + really should have. - * cp-init.c (emit_base_init): Make clearing BINFO_BASEINIT_MARKED - symmetric with its setting. Fixes p2825. + 2001-01-28 Daniel Berlin - Thu Jun 3 16:24:30 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP_REV): New macro, needed for + dataflow analysis. - * cp-parse.y (component_declarator, component_declarator0): - Allow attribute after nameless field. +2002-07-15 Jakub Jelinek - * cp-lex.c (real_yylex): Take care to expand token_buffer before - storing each character. + PR middle-end/7245 + * config/i386/i386.c (const_int_1_31_operand): New. + * config/i386/i386.h (PREDICATE_CODES): Add it. + * config/i386/i386.md (ashlsi3_cmp, ashlsi3_cmp_zext, ashlhi3_cmp, + ashlqi3_cmp, ashrsi3_cmp, ashrsi3_cmp_zext, ashrhi3_cmp, ashrqi3_cmp, + lshrsi3_cmp, lshrsi3_cmp_zext, lshrhi3_cmp, lshrqi3_cmp): Use it. - * 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. +2002-07-14 Alan Modra - * 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. + PR target/7282 + * config/rs6000/rs6000.md (floatsidf2): Enable for POWERPC64. + (floatunssidf2): Likewise. + (floatsidf_ppc64): New insn_and_split. + (floatunssidf_ppc64): Likewise. - Thu Jun 3 11:34:35 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +2002-07-14 Andreas Jaeger - * 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. + * config.gcc (sh64): Remove unused + target_requires_64bit_host_wide_int. - * cp-decl.c (grokdeclarator): Allow function-call notation for - initialization of scalars as well as aggregates. +2002-07-12 Roger Sayle - * cp-decl.c (pushdecl): Don't pay attention to friends when noting a - missing `static' decl. Disable this code for now. + * expr.c [CLEAR_RATIO]: New macro defining the maximum number + of move instructions to use when clearing memory, c.f. MOVE_RATIO. + [CLEAR_BY_PIECES]: New macro, using CLEAR_RATIO, to determine + whether clear_by_pieces should be used to clear storage. + (clear_storage): Use CLEAR_BY_PIECES instead of MOVE_BY_PIECES. - Wed Jun 2 12:23:05 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * doc/tm.texi: Document these two new target macros. - * 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). +2002-07-12 Stephane Carrez - * 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. + * config/m68hc11/m68hc11.md ("zero_extendsidi2"): Use D_REG only for + the scratch register. + ("*movhi2_push"): Accept Z_REG because a split pattern can make use + of it, forbid reload to use it. - * cp-typeck.c (require_instantiated_type): Don't allow an - initializer list in an argument list. +2002-07-12 Marek Michalkiewicz - * 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. + * config/avr/avr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT + usage on 64-bit hosts, return value was truncated to 32 bits. - * cp-class.c (finish_struct): Say anonymous classes and structs are - useless, not just classes. +Fri Jul 12 00:49:36 2002 J"orn Rennecke - * cp-lex.c (real_yylex): Warn if catch, throw, or try are used as - identifier names. + * simplify-rtx.c (simplify_subreg): Handle floating point + CONST_DOUBLEs. When an integer subreg of a smaller mode than + the element mode is requested, compute a subreg with an + integer mode of the same size as the element mode first. - * cp-decl.c (pushdecl): Make sure we have a CURRENT_FUNCTION_DECL - before setting its public flag. +Thu Jul 11 22:02:57 2002 J"orn Rennecke - * 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. + * combine.c (try_combine): When converting a paradoxical subreg + to an extension, take LOAD_EXTEND_OP into account. - * cp-search.c (build_mi_matrix): Fix off-by-one error in - clearing of MI_MATRIX. - (get_base_distance): Init NEW_BINFO to 0. +2002-07-11 Rainer Orth - * cp-pt.c (instantiate_member_templates): Initialize XXX to 0. + * config.gcc (mips-sgi-irix6*o32): New configuration. - * cp-call.c (build_method_call): Zero out candidates. - (build_overload_call_real): Likewise. + * configure.in (libgcc_visibility): Disable for mips-sgi-irix6*o32 + configurations. + * configure: Regenerate. - Wed Jun 2 11:53:24 1993 Mike Stump (mrs@cygnus.com) + * config/mips/iris6-o32-as.h: New file. + * config/mips/iris6-o32.h: New file. - * cp-search.c (lookup_fnfields_here): Use TYPE_MAIN_VARIANT on - context types before comparing. Fixes const member functions not - being found in templates. + * config/mips/iris5gas.h (TARGET_ASM_NAMED_SECTION): Define. + (NM_FLAGS): Define. + (HAVE_AS_SHF_MERGE): Undefine. - Tue Jun 1 18:26:18 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * config/mips/t-iris5-as: New file. + * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it. - * cp-parse.y (structsp): Avoid a null-ref on ID. - (left_curly): Likewise. + * config/mips/t-iris6 (SHLIB_EXT, SHLIB_SOLINK, SHLIB_SONAME, + SHLIB_NAME, SHLIB_MAP, SHLIB_OBJS, SHLIB_SLIBDIR_QUAL, SHLIB_LINK, + SHLIB_INSTALL, SHLIB_MKMAP, SHLIB_MAPFILES, FPBIT, DPBIT, + dp-bit.c, fp-bit.c): Move ... + * config/mips/t-iris5-6: ... here. + New file, shared by IRIX 5 and IRIX 6. + * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix6*, + mips-sgi-irix5*): Use it. - Tue Jun 1 13:49:20 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * config/mips/iris6.h: Remove duplicate comment. - * cp-decl.c (pushdecl): Communicate a `static' decl of a prototype - into its definition, if they forget to take care of it. + * config/mips/mips.c (TARGET_ASM_UNALIGNED_DI_OP) [TARGET_IRIX5 && + !TARGET_IRIX6]: Define. + (mips_asm_file_start): Don't emit mdebug. sections on IRIX 5/6. - * cp-init.c (emit_base_init): Make error message more useful about - insufficient initializers for a member of a class w/o a ctor. + * config/mips/mips.h (ASM_DECLARE_FUNCTION_NAME): Fix comment. - Sun May 30 09:45:06 1993 Michael Tiemann (tiemann@rtl.cygnus.com) +2002-07-11 John David Anglin - * 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). + * pa.md (adddi3): Change predicate of operand 2 to adddi3_operand + and delete code to force constant to register. + * pa-protos.h (adddi3_operand): Add prototype. + * pa.c (adddi3_operand): New function. - Sat May 29 09:34:57 1993 Michael Tiemann (tiemann@rtl.cygnus.com) +2002-07-11 Roger Sayle - * 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). + * c-decl.c (duplicate_decls): Preserve the noreturn attribute on + non-ANSI builtin functions. - * 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 Jul 11 11:31:12 2002 J"orn Rennecke - * cp-call.c (compute_conversion_costs): Count ellipses when we see - them. - (ideal_candidate): Gracefully handle arg lists that have ellipses - (Fixes p2777). + * rtl.h (gen_rtx_CONST_VECTOR): Declare. + * gengenrtl.c (special_rtx): Check for CONST_VECTOR. + * emit-rtl.c (gen_rtx_CONST_VECTOR): New function. + (gen_const_vector_0): Use it. - * cp-call.c (build_method_call): Delete some #ifdefs that are - obsoleted by ANSI. +2002-07-11 John David Anglin - Fri May 28 12:15:21 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * pa.md (adddi3): For 32-bit targets, force constants to a register + if they don't fit in an 11-bit immediate. Change insn predicate to + arith11_operand. Remove comment. + * pa.c (cint_ok_for_move): Fix comment. + (emit_move_sequence): Don't directly split DImode constants on 32-bit + targets. - * cp-decl.c (finish_decl): Don't allow overloaded operators to have - default arguments. +2002-07-11 Tim Josling - * cp-cvt.c (convert): If it's an anonymous enum, say so instead of - giving the cryptic `._123' as the enum type. + Remove front end hard coding from gengtype.c. - Thu May 27 10:52:49 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * Makefile.in + (STAGESTUFF): add gtyp-gen.h + (GTFILES): Remove front end specific files. + (GTFILES_FILES_LANGS): New, from configure.. + (GTFILES_FILES_FILES): Likewise. + (GTFILES_LANG_DIR_NAMES): Likewise. + (GTFILES_SRCDIR): Likewise. + (gtyp-gen.h): Build from configure information. + (s-gtype): Remove command line parameters from gengtype. + (gengtype.o): Remove dependency on GTFILES. Depend on gtyp-gen.h. + (mostlyclean): Delete files generated by and for gengtype. - * cp-decl.c (grokdeclarator): Return 0 instead of doing a 155 abort, - so we'll get the right error message later. + * c-config-lang.in: New file. - * cp-type2.c (readonly_error): Give a more useful error when the arg - is a RESULT_DECL. + * configure.in (all_gtfiles_files_langs): New. Accumulate files + for each language. + (all_gtfiles_files_files): New. Accumulate language for each file + accumulated. + (gtfiles): Pick up value for C. + (srcdir): AC-SUBST this variable. + (all_gtfiles_files_langs): AC-SUBST this variable. + (all_gtfiles_files_files): AC-SUBST this variable. - * 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. + * configure: Regenerate. - * 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. + * gengtype-lex.l (parse_file): Make parameter const. - * cp-decl.c (grokdeclarator): Use a pedwarn on extern inline. + * gengtype.c (toplevel): include gtyp-gen.h. + (BASE_FILE_ unnamed enum): Delete. + (lang_names): Delete (replaced by gtyp-gen.h) + (lang_dir_names): From gtyp-gen.h, replaces lang_names; changed + all references. + (NUM_GT_FILES): New. + (NUM_LANG_FILES): New. + (srcdir_len): New. + (NUM_BASE_FILES): Change calculation. + (open_base_files): Change prototype to avoid warning. + (startswith): Delete. + (get_file_basename): Iterate through generated language list not + hard coded list. + (get_base_file_bitmap): Use generated list of files and languages. + (close_output_files): Add prototype to rmove warning. + (main): Iterate through list of generated files from gtyp-gen.h + rather than command line paramaters. Ignore duplicated file + names. - Tue May 25 13:55:48 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * gengtype.h (parse_file): Amend prototype for const parameter. - * 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. + * doc/sourcebuild.texi: Document gtfiles variable. - * 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). + * doc/gty.texi: Document changes to gtfiles variable for front + ends. - * cp-decl2.c (grok_array_decl): Add a pedwarn if they do `5[a]'. + * objc/config-lang.in (gtfiles): Add files needed for objc front + end. - * cp-typeck.c (comptypes): Don't warn about t2 being an - error_mark_node. +2002-07-10 Roger Sayle - * cp-decl.c (finish_decl): If type is laid out, but decl is not, - call layout_decl. + PR c/2454 + * combine.c (nonzero_bits): LOAD_EXTEND_OP should only apply + to SUBREGs of MEMs. (num_sign_bit_copies): Likewise. - Mon May 17 10:35:55 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +2002-07-10 Roger Sayle + Zack Weinberg - * cp-tree.h (error_not_base_type): Add prototype. + * builtins.def: Make the argument types of abort and exit + independent of the front-end. - Fri May 14 17:16:55 1993 Mike Stump (mrs@poseidon.cygnus.com) +2002-07-11 Alan Modra - * cp-class.c (finish_struct): Use get_binfo instead of binfo_value - to find vfields. Cures compiler_error. + * config/rs6000/linux64.h (ASM_SPEC): Define. - Thu May 13 14:57:51 1993 Mike Stump (mrs@cygnus.com) +2002-07-10 Aldy Hernandez - * cp-tree.c (binfo_value): If type is the main binfo for elem, - return it. + * config/rs6000/rs6000.c (emit_frame_save): New. + (rs6000_frame_related): Replace reg2 before reg. + (rs6000_emit_prologue): Use emit_frame_save for saving gprs, fprs, + and eh_return registers. - Wed May 12 13:10:07 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +2002-07-10 Toon Moene - * 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. + Revert all patches for optimization of Complex .op. Real. + * complex_part_zero_p: Remove + * expand_cmplxdiv_straight: Replace complex_part_zero_p(x) + with x. + * expand_cmplxdiv_wide: Ditto. + * expand_binop: Ditto. - Tue May 11 17:51:16 1993 Mike Stump (mrs@poseidon.cygnus.com) +2002-07-10 Marek Michalkiewicz - * 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. + * config/avr/avr.md: Fix two 0x80000000 constants to make them + negative also on 64-bit hosts. - Sat May 8 05:53:17 1993 Michael Tiemann (tiemann@cygnus.com) + Default to -fno-reorder-blocks when optimizing for size. + * config/avr/avr-protos.h (avr_optimization_options): Declare. + * config/avr/avr.c (avr_optimization_options): New function. + * config/avr/avr.h (OPTIMIZATION_OPTIONS): New. - * 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. + Optimize returning from simple functions. + * config/avr/avr-protos.h (avr_simple_epilogue): Declare. + * config/avr/avr.c (avr_simple_epilogue): New function. + * config/avr/avr.md (return): New insn. - Fri May 7 12:42:46 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +2002-07-10 Douglas B Rupp - * 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. + * config/i386/i386.c (ix86_svr3_asm_out_constructor): Add + HAS_INIT_SECTION to protection. - * 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. +2002-07-10 Mark Mitchell - Thu May 6 16:59:19 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * doc/invoke.texi (Debugging Options): Mention that -gdwarf is + deprecated. - * 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 Jul 10 19:50:03 2002 J"orn Rennecke - Wed May 5 16:38:06 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * combine.c (gen_lowpart_for_combine): Handle vector modes. + Supply non-VOID mode to simplify_gen_subreg. - * Makefile.in (stamp-cp-parse): Update reduce/reduce count to 13. +Wed Jul 10 18:48:55 CEST 2002 Jan Hubicka - * 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. + * i386.c (ix86_init_mmx_sse_builtins): Fix thinko. - * 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). +2002-07-10 Jeffrey A Law - Wed May 5 12:57:33 1993 Jim Wilson (wilson@sphagnum.cygnus.com) + * mn10200.c (expand_prologue): Create REG_MAYBE_DEAD notes + as appropriate. - * cp-parse.y (get_current_declspecs): Obsolete, deleted. + * mn10200.c (expand_epilogue): Fix test to determine which scratch + register to use. + +Wed Jul 10 16:06:00 2002 J"orn Rennecke + + * cse.c (cse_insn): Supply proper SUBREG_BYTE to simplify_gen_subreg. + Get mode from dest. + If simplify_gen_subreg fails, try next equivalent. + +2002-07-09 Gabriel Dos Reis + + * diagnostic.h: #include location.h + (location_t): Move definition to.. + * location.h: ... here. New file. + * tree.h: #include location.h + (DECL_SOURCE_LOCATION): New macro. + (DECL_SOURCE_FILE): Use. + (DECL_SOURCE_LINE): Likewise. + (struct tree_decl): REplace filename and linenum with locus. + * Makefile.in (TREE_H): add location.h + (diagnostic.o): Depends on gt-location.h + (gt-location.h): Depends on s-gtype + +2002-07-09 Matt Kraai + + * config/rs6000/aix.h: Convert CPP_PREDEFINES to + TARGET_OS_CPP_BUILTINS. + * config/rs6000/aix31.h: Likewise. + * config/rs6000/aix41.h: Likewise. + * config/rs6000/aix43.h: Likewise. + * config/rs6000/aix51.h: Likewise. + * config/rs6000/beos.h: Likewise. + * config/rs6000/darwin.h: Likewise. + * config/rs6000/eabi.h: Likewise. + * config/rs6000/eabisim.h: Likewise. + * config/rs6000/linux.h: Likewise. + * config/rs6000/linux64.h: Likewise. + * config/rs6000/lynx.h: Likewise. + * config/rs6000/mach.h: Likewise. + * config/rs6000/rtems.h: Likewise. + * config/rs6000/sysv4.h: Likewise. + * config/rs6000/vxppc.h: Likewise. + +2002-07-09 Devang Patel + * objc/objc-act.c (adjust_type_for_id_default): Fix my previous patch. + Do not allow ObjC objects as a parameter type for Objective-C methods. + My previous patch restricted 'struct' also. + +2002-07-09 Neil Booth + + * cpperror.c (cpp_error): Default to directive_line within + directives here. + * cppexp.c (cpp_interpret_integer): Only use traditional + number semantics in directives. + * cpplib.c (prepare_directive_trad): Don't reset pfile->line. + (do_include_common): Similarly. + * cpptrad.c (scan_out_logical_line): Implement accurate + quoting of <> in #include. + * doc/cpp.texi: Update. + +Tue Jul 9 22:37:44 2002 Stephen Clarke + J"orn Rennecke + + * sh.c (sh_adjust_cost): Special handling of SHMEDIA code. + * sh.md (attribute issues): Replace with: + (attribute pipe_model). All users changed. + (attribute type): Change pt / ptabs to pt_media / ptabs_media. + All users changed. + (function units sh5issue, sh5fds): New. + (attribute is_mac_media): New. + (adddi3_media, subdi3_media, divsi3_i1_media, anddi3): Add type. + (andcdi3, iordi3, xordi3, ashldi3_media, lshrdi3_media): Likewise. + (ashrdi3_media, negdi_media, extendsidi2, movqi_media): Likewise. + (movhi_media, shori_media, movv2sf_i, jump_media): Likewise. + (call_media, call_value_media, sibcall_media): Likewise. + (casesi_jump_media, casesi_shift_media, casesi_load_media): Likewise. + (return_media_i, addsf3_media, subsf3_media, mulsf3_media): Likewise. + (mac_media, divsf3_media, floatdisf2, floatsisf2_media): Likewise. + (fix_truncsfdi2, fix_truncsfsi2_media, cmpeqsf_media): Likewise. + (cmpgtsf_media, cmpgesf_media, cmpunsf_media, negsf2_media): Likewise. + (sqrtsf2_media, abssf2_media, adddf3_media, subdf3_media): Likewise. + (muldf3_media, divdf3_media, floatdidf2, floatsidf2_media): Likewise. + (fix_truncdfdi2, fix_truncdfsi2_media, cmpeqdf_media): Likewise. + (cmpgtdf_media, cmpgedf_media,cmpundf_media, negdf2_media): Likewise. + (sqrtdf2_media, absdf2_media, extendsfdf2_media): Likewise. + (truncdfsf2_media): Likewise. + (movsi_media, movsi_media_nofpu, movdi_media): Use new types. + (movdi_media_nofpui, movdf_media, movdf_media_nofpu): Likewise. + +Tue Jul 9 21:39:50 2002 J"orn Rennecke + + * sh.h (PREDICATE_CODES): Add general_extend_operand and inqhi_operand. + * sh.c (general_extend_operand, inqhi_operand): New functions. + * sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): Collapse + alternatives using 'N' modifier. Add type. + (adddi3z_media): Likewise. Enable generator function generation. + (movdicc_false, movdicc_true, addsi3_media, subsi3_media): Use more + exact predicates / constraints. Add type. + (subsi3): Allow 0 for SHMEDIA. + (udivsi3_i4_media): Use match_operand for input values + rather than hard registers. + (udivsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values + unnecessarily through hard registers. Keep copies of pseudo + registers outside of the libcall sequence. + (mulsidi3_media, umulsidi3_media): Use more exact predicates. Add type. + (ashlsi3_media, ashrsi3_media, lshrsi3_media): Likewise. + (zero_extendsidi2, zero_extendhidi2, zero_extendqidi2): Likewise. + (extendhidi2, extendqidi2): Likewise. + (andsi3_compact): Name. + (andcdi3): Enable generator function generation. + (zero_extendhisi2, zero_extendqisi2): Rename to + (zero_extendhisi2_compact, zero_extendqisi2_compact). + (extendhisi2, extendqisi2): Rename to + (extendhisi2_compact, extendqisi2_compact). + (rotldi3, rotldi3_mextr, rotrdi3, rotrdi3_mextr): New patterns. + (loaddi_trunc, zero_extendhisi2, zero_extendhisi2_media): Likewise. + (zero_extendhisi2_media+1, zero_extendqisi2): Likewise. + (zero_extendqisi2_media, extendhisi2, extendhisi2_media): Likewise. + (extendhisi2_media, extendhisi2_media+1, extendqisi2): Likewise. + (extendqisi2_media, extendqisi2_media+1, truncdisi2): Likewise. + (truncdihi2, truncdiqi2, reload_inqi, reload_inhi): Likewise. + (shmedia32_initialize_trampoline_big): Likewise. + (shmedia32_initialize_trampoline_little): Likewise. + (nsb, nsbsi, nsbdi, ffsdi2, ffssi2, byterev): Likewise. + (negdi2): Remove spurious T clobber. + (zero_extendhidi2+1, extendhidi2+1, extendqidi2+1): Handle TRUNCATE. + (movsi_media, movsi_media_nofpu): Remove spurious *k after b. + (movdi_media, movdi_media_nofpu, pt, ptb): Likewise. + (movsi_media_nofpu+2, movhi_media+1): Only do split after reload. + (ic_invalidate_line_media): Write back data cache before invalidating + instruction cache. Add type. + (movsf_media): Sign-extend when the destination is a general + purpose register. Add type. + (bgt_media, bge_media, bgtu_media, bgeu_media, blt_media_i): Allow 0. + (casesi_worker_0+1): Only increment ref count for proper label. + (casesi_worker_0+2): Likewise. + +2002-07-09 Mark Mitchell + + * dwarfout.c (dwarfout_init): Warn that DWARF1 is deprecated. + +2002-07-09 Steve Ellcey + + * gcc/except.c (expand_eh_region_end_cleanup): Change exception pointer + from Pmode to ptr_mode. + (get_exception_pointer): Ditto. + (connect_post_landing_pads): Ditto. + (dw2_build_landing_pads): Ditto. + +2002-07-08 Steve Ellcey + * gcc/c-pragma.h (add_to_renaming_pragma_list): New function. + * gcc/c-pragma.c (add_to_renaming_pragma_list): New function. + (handle_pragma_redefine_extname): Change to use new function. + +2002-07-08 Roger Sayle + + * combine.c (combine_simplify_rtx): Add an explicit cast + to avoid signed/unsigned comparison warning. + (simplify_if_then_else): Likewise. + (extended_count): Likewise. + (simplify_shift_const): Likewise. + (simplify_comparison): Likewise. + +2002-07-08 Richard Sandiford + + * config/mips/mips.md: Add imadd type. Update scheduler description + to use imadd as well as imul. + (*mul_acc_si, *madsi): Change imul alternatives to imadd. + (*mul_acc_di, *mul_acc_64bit_di): Likewise. + (*mul_sub_si): Likewise for first alternative. Change second + alternative from imul to multi. + +2002-07-07 Neil Booth + + * c-common.c (c_common_post_options): Update prototype; + don't init backends if preprocessing only. + * langhooks-def.h (LANG_HOOKS_POST_OPTIONS): Update. + * langhooks.h (struct lang_hooks): Update post_options to + return a boolean. + * toplev.c (parse_options_and_default_flags, do_compile, + lang_independent_init): Update prototypes. Allow the + front end to specify that there is no need to initialize + the back end. + (general_init): Move call to hex_init here... + (toplev_main): ...from here. Pass flag for back end init + suppression. + +Sun Jul 7 20:38:38 2002 J"orn Rennecke + + * sh.h (PRINT_OPERAND_PUNCT_VALID_P): Allow '\''. + (PREDICATE_CODES): Add entries for equality_comparison_operator, + greater_comparison_operator and less_comparison_operator. + * sh.c (print_operand): Add '\'' code. Make 'o' handle + more operators. + (equality_comparison_operator): New function. + (greater_comparison_operator, less_comparison_operator): Likewise. + * sh.md (beq_media_i): Disable generator function generation. + Use match_operator to handle a whole class of comparisons. Add + modifier in output template to provide branch prediction. Add type. + (bgt_media_i, ble_media_i): Likewise. Allow zero operands. + (bne_media_i, bge_media_i, bgtu_media_i, bgeu_media_i): Delete. + (blt_media_i, bleu_media_i, bltu_media_i): Likewise. + (bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Allow zero operands. + +2002-07-07 Hans-Peter Nilsson + + Emit MMIX function prologue and epilogue as rtl. + * config/mmix/mmix.md ("call"): Use mmix_get_hard_reg_initial_val, + not unprototyped get_hard_reg_initial_val. + ("call_value", "nonlocal_goto_receiver"): Ditto. + ("return"): Make define_expand. Move real insn to... + ("*expanded_return"): New pattern. + ("prologue", "epilogue"): New define_expands. + * config/mmix/mmix.h (MMIX_rO_REGNUM): New macro. + (struct machine_function): New member in_prologue. + (FIRST_PSEUDO_REGISTER): Adjust for including rO as register. + (FIXED_REGISTERS, CALL_USED_REGISTERS): Ditto. + (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Ditto. + (MMIX_GNU_ABI_REG_ALLOC_ORDER, REG_CLASS_CONTENTS): Ditto. + (REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Ditto. + (LOCAL_REGNO): Define. Adjust comment. + * config/mmix/mmix.c (MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS): + Consider regs_ever_live[MMIX_rJ_REGNUM], not just + leaf_function_p. + (MMIX_OUTPUT_REGNO): Don't translate registers while outputting + the prologue. + (mmix_target_asm_function_prologue): Make static. Just mark that + the prologue is being emitted. Move guts to... + (mmix_expand_prologue): New function. Adjust for emitting + prologue as rtl. For sizes, use HOST_WIDE_INT only. + (mmix_target_asm_function_epilogue): Make static. Simply emit a + \n. Move guts to... + (mmix_expand_epilogue): New function. Adjust for emitting + epilogue as rtl. For sizes, use HOST_WIDE_INT only. + (mmix_target_asm_function_end_prologue): Mark that the prologue + has ended. + (TARGET_ASM_FUNCTION_END_PROLOGUE): Define. + (mmix_conditional_register_usage): Improve comments. + (mmix_local_regno): New function. + (mmix_emit_sp_add, mmix_get_hard_reg_initial_val): Ditto. + * config/mmix/mmix-protos.h (mmix_local_regno): Prototype. + (mmix_expand_prologue, mmix_expand_epilogue): Ditto. + (mmix_get_hard_reg_initial_val): Ditto. + +2002-07-06 Andreas Jaeger + + * toplev.c (set_fast_math_flags): Don't use ISO C style function + definitions. + * gengtype.c (open_base_files): Likewise. + (close_output_files): Likewise. + * tracer.c (find_best_predecessor): Likewise. + (find_best_successor): Likewise. + (ignore_bb_p): Likewise. - Tue May 4 13:46:09 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +2002-07-05 Roger Sayle - * cp-type2.c (process_init_constructor): Don't check for private or - protected members; we do that in store_init_value now. + PR c++/7099 + * builtin-attrs.def: Define new attribute lists for use in + builtins.def. + * builtins.def [DEF_BUILTIN]: Modify to take an additional + ATTRS argument, an enumerated value defined in builtin-attrs.def + that represents the attribute list for the builtins. Modify + all builtin functions to pass an appropriate attribute list. + Specify "abort", "exit", "_exit" and "_Exit" builtins here with + their required noreturn attributes. + * tree.h (enum_builtin_function): Ignore the additional parameter + to DEF_BUILTIN. + * builtins.c (built_in_names): Likewise. + * c-common.c: (builtin_function_2): Replace the "int noreturn_p" + argument with a tree representing the functions attribute list. + Pass this "attrs" argument to builtin_function. No longer handle + the noreturn_p processing manually. + (built_in_attributes): Move the definitions from builtin-attrs.def + before c_common_nodes_and_builtins. + (c_common_nodes_and_builtins): Handle the new ATTRS parameter in + DEF_BUILTIN, passing it to both builtin_function and the changed + builtin_function_2. - * cp-parse.y (simple_stmt): Use expr_no_commas instead of expr for - case labels. + * doc/extend.texi: Document __builtin_abort, __builtin_exit, + __builtin__exit and __builtin__Exit. - * cp-typeck.c (build_binary_op_nodefault): Add 'right' and 'left' to - shift count warnings to distinguish them from each other. +2002-07-05 Stephane Carrez - * 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. + * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Avoid allocating + QI mode registers in soft registers. + ("zero_extendqihi2"): Do not take into account soft registers + for register allocation (use '*' constraint). - * cp-decl.c (init_decl_processing): Make the arrays 200 long to - leave enough room for most names. +2002-07-05 Stephane Carrez - * 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. + * config/m68hc11/m68hc11.md ("*ashlsi3"): Avoid saving y if we know + it is dead. + ("*ashrsi3"): Likewise. + ("*lshrsi3"): Likewise. - * cp-method.c (dump_init): Grok a FIELD_DECL as well. +2002-07-05 Vladimir Makarov + + * genautomata.c (output_max_insn_queue_index_def): Take latencies + into account. - * 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). +2002-07-05 Stephane Carrez - Mon Jan 25 11:04:23 1993 Niklas Hallqvist (niklas at della.appli.se) + * config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize + address computation and memory moves. - * cp-parse.y (component_decl): Handle anonymous unions as static - class members. - * cp-decl.c (grokdeclarator): Ditto. +2002-07-03 Mark Mitchell - * 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. + PR c++/6706 + * dwarfout.c (output_reg_number): Fix warning message. + (output_bound_representation): Check SAVE_EXPR_RTL is not NULL + before using it. - * cp-class.c (finish_struct): Corrected error message concerning - anonymous classes. +2002-07-05 Rainer Orth - * cp-lex.c (check_for_missing_semicolon): Allow trailing storage - specifiers. + * gcc/gcc.c (asm_debug): Move initialization ... + (init_spec): ... here. + +2002-07-05 Nathan Sidwell + + * c-parse.in (extdef): Append ';'. + (old_style_parm_decls): Append ';'. + +2002-07-04 Daniel Jacobowitz + + * configure.in: Correct typos: gcc_cv_as_gdwarf2_debug_flag to + gcc_cv_as_gdwarf2_flag and gcc_cv_as_gstabs_debug_flag + to gcc_cv_as_gstabs_flag. + * configure: Rebuilt. + +2002-07-04 Geoffrey Keating + + * ggc.h (ggc_add_root): Document as obsolete. + +Thu Jul 4 07:58:01 2002 J"orn Rennecke + + * sh.md (mshfhi_b, mshflo_b, mshfhi_l, mshflo_l, mshfhi_w): Add DONE. + (mshflo_w): Likewise. + +Thu Jul 4 07:36:29 2002 J"orn Rennecke + + * simplify-rtx.c (simplify_subreg): Reduce problem of finding + vector mode subregs of constants to finding integer mode + subregs of constants. + * cse.c (cse_insn): Use simplify_gen_subreg. + * convert.c (convert_to_integer): Don't strip a NOP_EXPR + From a vector mode expression of different size than the + target mode. + +2002-07-03 Eric Christopher + + * config/mips/linux.h: Add #undef for SUBTARGET_CPP_SPEC. + * config/mips/mips.h: Remove deprecated -m options + and cc1_cpu_spec associated. + (CONSTANT_ADDRESS_P): Fix last patch. + (ASM_DECLARE_FUNCTION_NAME): Declare. Fix comment. + * config/mips/mips.md (bungt, bunge, sungt_df, sungt_sf, sunge_df, + sunge_sf): Remove. + +2002-07-03 Stan Shebs + + * config/darwin.h (APPLE_CC): Remove, not meaningful in FSF GCC. + (STRINGIFY_THIS, REALLY_STRINGIFY): Remove. + (CPP_SPEC): Remove insertion of APPLE_CC definition. - Fri Jan 29 09:39:17 1993 Niklas Hallqvist (niklas at della) +2002-07-03 Roger Sayle - * 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. + * combine.c (struct_undo): Change types of recorded substitutions + to be either "int" or "rtx", instead of "unsigned int" and "rtx". + (do_SUBST_INT): Change types of the substitution from unsigned int + to int, to avoid compilation warning from SUBST_INT's only caller. - * cp-type2.c (store_init_value): Check for the aggregate conditions - described in ARM 8.4.1. + (make_extraction): Add cast to avoid compilation warning. + (force_to_mode): Remove cast to avoid compilation warning. - Mon May 3 19:10:28 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +2002-07-03 Eric Botcazou + Jeff Law - * cp-lex.c (real_yylex): Don't warn about floating point out of - range if target floating-point format is IEEE. + * i386.md (length_immediate attribute): Fix typo. + (length_address attribute): Likewise. + (modrm attribute): Set it to 0 for immediate call instructions. + (jcc_1 pattern): Set modrm attribute to 0. + (jcc_2 pattern ): Likewise. + (jump pattern): Likewise. + (doloop_end_internal pattern): Explicitly set length. + (leave pattern): Fix typo. + (leave_rex64 pattern): Likewise. - * cp-class.c (finish_struct): Promote unsigned bitfields to signed - int if the field isn't as wide as an int. +2002-07-03 David Edelsohn - * 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. + * config/rs6000/rs6000.md (fix_truncdfsi2_internal): Ignore DImode + in FPR as preference. + (fctiwz): Same. + (floatdidf2, fix_truncdfdi2): Same. + (floatdisf2, floatditf2, fix_trunctfdi2): Same. + (floatditf2): Same. + (floatsitf2, fix_trunctfsi2): SImode in GPR. + (ctrdi): Remove FPR alternative and splitter. - Mon May 3 18:04:15 1993 Brendan Kehoe (brendan@lisa.cygnus.com) +2002-07-03 Will Cohen - * cp-cvt.c (convert): When doing int->enum conversions, always call - pedwarn, even if we didn't give `-pedantic'. + * config/i386/i386.c (x86_integer_DFmode_moves): Disable for PPro. - * cp-decl.c (start_function): Add extern decl of - `flag_external_templates'. +Wed Jul 3 10:24:16 2002 J"orn Rennecke - * cp-lex.c (check_newline): Warn if there's anything after a - `#pragma interface'. + * optabs.c (expand_vector_binop): Don't store using a SUBREG smaller + than UNITS_PER_WORD, unless this is little endian and the first unit + in this word. Let extract_bit_field decide how to load an element. + Force arguments to matching mode. + (expand_vector_unop): Likewise. - Mon May 3 12:39:49 1993 Brendan Kehoe (brendan@lisa.cygnus.com) + * simplify-rtx.c (simplify_subreg): Don't assume that all vectors + consist of word_mode elements. + * c-typeck.c (build_binary_op): Allow vector types for BIT_AND_EXPR, + BIT_ANDTC_EXPR, BIT_IOR_EXPR and BIT_XOR_EXPR. + (build_unary_op): Allow vector types for BIT_NOT_EPR. + * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg for + CONST_VECTOR. + * optabs.c (expand_vector_binop): Try to perform operation in + smaller vector modes with same inner size. Add handling of AND, IOR + and XOR. Reject expansion to inner-mode sized scalars when using + OPTAB_DIRECT. Use simplify_gen_subreg on constants. + (expand_vector_unop): Try to perform operation in smaller vector + modes with same inner size. Add handling of one's complement. + When there is no vector negate operation, try a vector subtract + operation. Use simplify_gen_subreg on constants. + * simplify-rtx.c (simplify_subreg): Add capability to convert vector + constants into smaller vectors with same inner mode, and to + integer CONST_DOUBLEs. - * 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. +2002-07-02 Kaveh R. Ghazi + + * c-parse.in (parsing_iso_function_signature): New variable. + (extdef_1): New, copied from... + (extdef): ... here. Reset parsing_iso_function_signature. + (old_style_parm_decls): Reset parsing_iso_function_signature. + (old_style_parm_decls_1): New, copied from old_style_parm_decls. + Warn about ISO C style function definitions. + (nested_function, notype_nested_function): Reset + parsing_iso_function_signature. + (parmlist_2): Set parsing_iso_function_signature. + + * doc/invoke.texi (-Wtraditional): Document new behavior. + +2002-07-02 Chris Demetriou + + * config.gcc (mips*el-*-*): Use tm_defines to set + TARGET_ENDIAN_DEFAULT, rather than including mips/little.h. + * config/mips/little.h: Remove. + +2002-07-02 Devang Patel + + * objc/objc-act.c (adjust_type_for_id_default): Do not allow an + object as parameter. Prevent something like 'NSObject' to be + used as the type for a method argument. + +2002-07-03 Neil Booth + + * cpptrad.c: Update comment. + +2002-07-02 Neil Booth + + * doc/cpp.texi: Update for traditional preprocessing changes. + * goc/cppopts.texi: Similarly. + +2002-07-02 Ziemowit Laski + + * c-parse.in (designator): Enable designated initializers if ObjC. + (objcmessageexpr): Remove references to objc_receiver_context. + * objc/objc-act.h (objc_receiver_context): Remove decl. + * objc/objc-act.c (objc_receiver_context): Remove. + (lookup_objc_ivar): Test objc_method_context instead of + objc_receiver_context. + +Tue Jul 2 18:45:45 2002 J"orn Rennecke + + * sh.c (print_operand, case 'N'): Allow zero vector. + (arith_reg_or_0_operand): Likewise. + (zero_vec_operand): Check for CONST_VECTOR, not PARALLEL. + * sh.h (CONST_COSTS): 0 has 0 cost. Check OUTER_CODE for + IOR, XOR, PLUS and SET and take their respective constant + ranges into account. + (PREDICATE_CODES, arith_reg_or_0_operand): Can be CONST_VECTOR. + * sh.md (subdi3, subdi3_media): Allow zero operand. + (movv8qi_i+3): Only vector that is not split is the zero vector. + Fix operand 3 to simplify_subreg. + (movv2si_i): Split alternative 1. + (mshfhi_l_di_rev+1): New splitter. + +2002-07-02 Neil Booth + + PR preprocessor/7029 + * cppinit.c (cpp_handle_option): Suppress warnings with an + implicit "-w" for "-M" and "-MM". + * doc/cppopts.texi: Update. + +2002-07-01 Roger Sayle - * cp-type2.c (process_init_constructor): Don't allow use of an - initializer list for a class with private or protected members. + * config/sh/sh.c (sh_media_init_builtins): Change use of poisoned + identifier "bzero" to "memset". Pass extra NULL_TREE argument to + builtin_function. + +2002-07-02 Alan Modra + + * README.Portability: Fix typos. + +2002-07-01 Hans-Peter Nilsson + + PR target/7177 + * config/cris/cris.h (LEGITIMIZE_RELOAD_ADDRESS): Correct number + of indirections for register inside sign-extended mem part. + +2002-07-01 Roger Sayle + + * tree.h: Modify builtin_function interface to take an extra + argument ATTRS, which is a tree representing an attribute list. - Sat May 1 15:07:24 1993 Mike Stump (mrs@poseidon.cygnus.com) + * c-decl.c (builtin_function): Accept additional parameter. + * objc/objc-act.c (builtin_function): Likewise. + * f/com.c (builtin_function): Likewise. + * java/decl.c (builtin_function): Likewise. + * ada/utils.c (builtin_function): Likewise. + * cp/decl.c (builtin_function): Likewise. + (builtin_function_1): Likewise. - * 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): + * c-common.c (c_common_nodes_and_builtins): Pass an additional + NULL_TREE argument to builtin_function. (builtin_function_2): 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. - - Fri Apr 30 18:50:00 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * cp-spew.c (arbitrate_lookup): If the next character is a '[', then - have the compiler assume it's an expression instead of a type. - - Fri Apr 30 14:39:28 1993 Mike Stump (mrs@poseidon.cygnus.com) - - * cp-class.c (maybe_fixup_vptrs): Use the VF_NORMAL_VALUE of the - vfields to get the binfo to get the vtable, so that we may pick up - the most derived version of the vtable. - - * cp-class.c (finish_base_struct): Always set the VF_NORMAL_VALUE so - that maybe_fixup_vptrs can get the most derived vtable. - -Fri Jun 25 14:00:17 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * config.sub: Convert ...-sysvr4 into ...-sysv4. - - * config/m68k/news.h (CPP_PREDEFINES): Have two alternatives, - one for motorola and one for not motorola. - - * config/m68k/tower-as.h, mot3300.h, m68kv4.h, hp320.h, amix.h: - * config/m68k/3b1.h, crds.h (CPP_PREDEFINES): Add __motorola__. - - * expr.c (store_expr): If TARGET is volatile mem ref, return it. - - * toplev.c (lang_options): Add -fdollars-in-identifiers. - * c-decl.c (c_decode_option): Handle -fdollars-in-identifiers. - -Fri Jun 25 13:33:39 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * 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. - - * pa.h (TARGET_SHARED_LIBS): Delete switch and all references to - the switch. - * pa.c: References to TARGET_SHARED_LIBS deleted. - * pa.md: Likewise. - - * pa-utahmach.h (TARGET_DEFAULT): Allow indexing on Mach ports. - * pa1-utahmach.h (TARGET_DEFAULT): Likewise. - * pa.h (TARGET_DISABLE_INDEXING): Clean up comments. - -Fri Jun 25 00:50:48 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) - - * expr.c (store_expr): Ignore SUGGEST_REG if target is volatile. - - * config/mips/mips.md (negdi2, negdi2_internal): Renamed from negdi3... - -Thu Jun 24 00:31:27 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) - - * gcc.c (option_map): Make --version alias for -dumpversion. - -Wed Jun 23 07:50:21 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * romp.c (output_prologue): Delete unused var, INSN. - (output_encoded_offset): New function. - (output_epilogue): Minor changes to traceback table; call - new output_encoded_offset. - (romp_debugger_{auto,arg}_correction): New functions. - * romp.h (DBX_REGPARM_STABS_LETTER, DEBUGGER_{AUTO,ARG}_OFFSET): - New macros. - - * reorg.c (fill_slots_from_thread): When replacing a use of a - register with what it was set to, don't do it when either the - destination or source of the copy is set in the insn. - - * jump.c (jump_optimize): Properly make jump into store-flag - sequence when the jump can't be reversed but the TRUE branch - is const0_rtx. - - * expr.c (expand_expr): Set IGNORE if target is const0_rtx or - result type is VOID. - Move most IGNORE processing to one place to avoid expanding things - that don't need to be expanded. - (expand_expr, case CONSTRUCTOR, case COND_EXPR): If IGNORE, don't - expand anything we don't have to. - (expand_expr, case CONVERT_EXPR): Don't deal with IGNORE here. - -Wed Jun 23 07:47:32 1993 John F Carr (jfc@Athena.mit.edu) - - * regs.h (scratch_list, scratch_block, scratch_list_length): New vars. - * reload1.c (mark_scratch_live): New function. - (reload): Call it on each SCRATCH. - Free scratch list and block. - (spill_hard_reg): Reallocate any SCRATCH whose register we want to - spill. - * local-alloc.c (scratch_block, scratch_list{,_length}, scratch_index): - New variables. - (local_alloc): Allocate and initialize them. - (alloc_qty_for_scratch): Can allocate likely-spilled register - classes for SCRATCH. - (block_alloc): Likewise for regs in small register classes. - Only allocate a SCRATCH if it can fit in the block we make. - Don't mark regs used in SCRATCH live here; instead, make entry in - new tables. - -Tue Jun 22 19:52:08 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) - - * emit-rtl.c (copy_rtx_if_shared): In `E' case, get the length - before copying, and don't get it again after. - -Tue Jun 22 10:50:56 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * toplev.c (report_error_function): Change format of the - included-file stack to be more readable. - * cccp.c (print_containing_files): Likewise. - -Mon Jun 21 19:21:18 1993 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * rs6000.c (print_operand, case 'J'): Write out shift count - of 0, not 32 for bit 31 of CCR. + * cp/call.c (build_java_interface_fn_ref): Likewise. + * objc/objc-act.c (synth_module_prologue): Likewise. + * java/decl.c (java_init_decl_processing): Likewise. + * f/com.c (ffe_com_init_0): Likewise. + + * config/alpha/alpha.c (alpha_init_builtins): Pass an additional + NULL_TREE argument to builtin_function. + * config/arm/arm.c (def_builtin): Likewise. + * config/c4x/c4x.c (c4x_init_builtins): Likewise. + * config/i386/i386.c (def_builtin): Likewise. + * config/ia64/ia64.c (def_builtin): Likewise. + * config/rs6000/rs6000.c (def_builtin): Likewise. + +2002-07-01 Zack Weinberg + + * config/ip2k/t-ip2k: Remove LIBGCC1, CROSS_LIBGCC1, and LIBGCC1_TEST. + * config/mips/t-isa3264: Likewise. + * config/mmix/t-mmix: Likewise. + +2002-07-01 John David Anglin + + * emit-rtl.c (init_emit_once): Add missing cast to HOST_WIDE_INT. + +2002-07-01 Roger Sayle + + PR opt/4046 + * fold-const.c (fold) [COND_EXPR]: Simplify A ? 0 : 1 to !A, + A ? B : 0 to A && B and A ? B : 1 into !A || B if both A and + B are truth values. + +2002-07-01 Nathanael Nerode + + * config/mmix/t-mmix: Eliminate last reference to LIBGCC1_TEST. + +2002-07-01 Matt Kraai + + * README.Portability (Function prototypes): Give an example of + declaring and defining a function with no arguments. + + * README.Portability (Function prototypes): Document new + variable-argument function macros. + +Mon Jul 1 19:55:17 2002 J"orn Rennecke + + * sh.c (langhooks.h): Include. + (sh_init_builtins, sh_media_init_builtins): New functions. + (sh_expand_builtin, arith_reg_dest,and_operand): Likewise. + (mextr_bit_offset, extend_reg_operand, zero_vec_operand): Likewise. + (sh_rep_vec, sh_1el_vec, sh_const_vec): Likewise. + (builtin_description): New struct tag. + (signature_args, bdesc): New arrays. + (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Undef / define. + (print_operand): Add 'N' modifier. + * sh.h (VECTOR_MODE_SUPPORTED_P): Add SHmedia vector modes. + (EXTRA_CONSTRAINT_U, EXTRA_CONSTRAINT_W): New macros. + (EXTRA_CONSTRAINT): Add 'U' and 'W' cases. + (CONST_COSTS): Add special case for SHmedia AND. + (PREDICATE_CODES): Add and_operand, arith_reg_dest, + extend_reg_operand, extend_reg_or_0_operand, mextr_bit_offset, + sh_const_vec, sh_1el_vec, sh_rep_vec, zero_vec_operand. + target_operand can also be const or unspec. + * sh.md (UNSPEC_INIT_TRAMP, UNSPEC_FCOSA UNSPEC_FSRRA): New constants. + (UNSPEC_FSINA, UNSPEC_NSB, UNSPEC_ALLOCO): Likewise. + (attribute type): Add new types. + (anddi3): Add splitter. + (movdi_const_16bit+1): Add code to handle vector constants and + bitmasks efficiently. + (shori_media): Have generator function made. + (movv8qi, movv8qi_i, movv8qi_i+1, movv8qi_i+2): New patterns. + (movv8qi_i+3, movv2hi, movv2hi_i, movv4hi, movv4hi_i): Likewise. + (movv2si, movv2si_i, absv2si2, absv4hi2, addv2si3, addv4hi3): Likewise. + (ssaddv2si3, usaddv8qi3, ssaddv4hi3, negcmpeqv8qi): Likewise. + (negcmpeqv2si, negcmpeqv4hi, negcmpgtuv8qi, negcmpgtv2si): Likewise. + (negcmpgtv4hi, mcmv, mcnvs_lw, mcnvs_wb, mcnvs_wub): Likewise. + (mextr_rl, mextr_lr, mextr1, mextr2, mextr3, mextr4, mextr5): Likewise. + (mextr6, mextr7, mmacfx_wl, mmacfx_wl_i, mmacnfx_wl): Likewise. + (mmacnfx_wl_i, mulv2si3, mulv4hi3, mmulfx_l, mmulfx_w): Likewise. + (mmulfxrp_w, mmulhi_wl, mmullo_wl, mmul23_wl, mmul01_wl): Likewise. + (mmulsum_wq, mmulsum_wq_i, mperm_w, mperm_w_little): LIkewise. + (mperm_w_big, mperm_w0, msad_ubq, msad_ubq_i, mshalds_l): Likewise. + (mshalds_w, ashrv2si3, ashrv4hi3, mshards_q, mshfhi_b): Likewise. + (mshflo_b, mshf4_b, mshf0_b, mshfhi_l, mshflo_l, mshf4_l): Likewsie. + (mshf0_l, mshfhi_w, mshflo_w, mshf4_w, mshf0_w, mshfhi_l_di): Likewise. + (mshfhi_l_di_rev, mshflo_l_di, mshflo_l_di_rev): Likewise. + (mshflo_l_di_x, mshflo_l_di_x_rev, ashlv2si3, ashlv4hi3): Likewise. + (lshrv2si3, lshrv4hi3, subv2si3, subv4hi3, sssubv2si3): Likewise. + (ussubv8qi3, sssubv4hi3, fcosa_s, fsina_s, fipr, fsrra_s): Likewise. + (ftrv): Likewise. + + (fpu_switch+1, fpu_switch+2): Remove constraint. + +2002-07-01 Aldy Hernandez + + * tree.c (build_function_type_list): Update function comment. + Rename first argument to return_type. + +2002-07-01 Neil Booth + + * Makefile.in: Remove all trace of tradcpp.c, tradcpp.h, + tradcif.y and related files. + +2002-07-01 Neil Booth + + * cpptrad.c (skip_whitespace): Pass pointer to prior char. + +2002-07-01 Kaveh R. Ghazi + + * mips.h (FUNCTION_ARG_REGNO_P): Fix parentheses. See ChangeLog.7 for earlier changes.