* alpha.h, arc.h, arm/aout.h, avr.h, cris.h, d30v.h, dsp16xx.h,
[gcc.git] / gcc / ChangeLog
index 5afbebf33a7f6aadd6e8f421eab3aa20876ee2c3..3f8c9096c93f58afea514ae58cc9b9137d6783be 100644 (file)
@@ -1,3 +1,271 @@
+2002-07-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.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.
+
+       * m68hc11.h, m68k.h, m88k.h (ASM_GLOBALIZE_LABEL): Delete.
+       
+       * defaults.h (ASM_GLOBALIZE_LABEL): Provide a default.
+       * doc/tm.texi (ASM_GLOBALIZE_LABEL): Update docs.
+
+2002-07-30  Geoffrey Keating  <geoffk@redhat.com>
+
+       * doc/extend.texi (Hints implementation): Document that GCC
+       mostly ignores `register'.
+
+2002-07-30  Toon Moene  <toon@moene.indiv.nluug.nl>
+
+       * 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  <rth@redhat.com>
+
+       * ifcvt.c (noce_get_alt_condition): Use reg_overlap_mentioned_p.
+       (noce_process_if_block): Likewise.
+
+2002-07-30  Bernd Schmidt  <bernds@redhat.com>
+
+       * 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.
+                       
+2002-07-30  David Edelsohn  <edelsohn@gnu.org>
+           Zack Weinberg  <zack@codesourcery.com>
+
+       * 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.
+
+2002-07-30  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
+
+       * gcc.c (cpp_unique_options): Define __GXX_ABI_VERSION, bump it to 101.
+
+2002-07-30  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/mips/mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Fix typo.
+
+Tue Jul 30 18:31:31 2002  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * 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.
+
+Tue Jul 30 11:21:44 2002  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * unroll.c (copy_loop_body): Don't copy NOTE_INSN_LOOP_CONT.
+
+2002-07-30  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * fold-const.c: Fix comment typos.
+       * gcse.c: Likewise.
+       * reload1.c: Likewise.
+
+2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
+
+       * config/rs6000/rs6000.md: Disallow CCEQ compare with crnor/crnot
+       for TARGET_SPE.
+
+2002-07-30  Gabriel Dos Reis  <gdr@nerim.net>
+
+       * 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.
+
+2002-07-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * 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.
+
+       * defaults.h (ASM_OUTPUT_LABEL): Provide a default.
+       * doc/tm.texi (ASM_OUTPUT_LABEL): Update docs.
+
+2002-07-30  Gabriel Dos Reis  <gdr@nerim.net>
+
+       * 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.
+
+2002-07-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * 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.
+
+2002-07-29  Roger Sayle  <roger@eyesopen.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.
+
+2002-07-29  John David Anglin  <dave@hiauly1.hia.nrc>
+
+       * 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.
+
+2002-07-29  Richard Henderson  <rth@redhat.com>
+
+       * unroll.c (verify_addresses): Remove.
+       (find_splittable_givs): Never split DEST_ADDR givs.
+
+2002-07-29  Geoffrey Keating  <geoffk@redhat.com>
+
+       * doc/gty.texi (GGC Roots): Clarify that the list of syntaxes
+       is exhaustive.
+       (Files): Improve documentation on generated source files.
+
+       * 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 honours 'inline', mostly.
+       (Preprocessing directives implementation): Document that GCC
+       requires the current time.
+
+2002-07-30  Gabriel Dos Reis  <gdr@nerim.net>
+
+       * 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.
+
+2002-07-30  Neil Booth  <neil@daikokuya.co.uk>
+
+       * objc/objc-act.c (objc_init): Return immediately if filename
+       is NULL.
+
+2002-07-29  Eric Christopher  <echristo@redhat.com>
+
+               * 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  <cgd@broadcom.com>
+
+       * 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  <aldyh@redhat.com>
+
+       * config/rs6000/rs6000.md ("cpu"): Add ppc8540 to attribute.
+
+2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
+
+       * config/rs6000/rs6000.h (RTX_COSTS): Add MULT case for 8540.
+
+2002-07-29  Aldy Hernandez  <aldy@quesejoda.com>
+
+       * config/rs6000/rs6000.md: Move altivec patterns from here...
+
+       * config/rs6000/altivec.md: ...to here.
+
+2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
+
+       * config/rs6000/spe.md ("spe_evmra"): Change to unspec.
+
+2002-07-29  Richard Henderson  <rth@redhat.com>
+
+       * 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  <gdr@nerim.net>
+
+       * 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  <aldyh@redhat.com>
 
        * config/rs6000/spe.h (__internal_ev_mwhgumian): Cast vector
 
 2002-07-29  Mike Stump  <mrs@apple.com>
 
-       * config.gcc (target_gtfiles): Initialize, as otherwise cross 
+       * config.gcc (target_gtfiles): Initialize, as otherwise cross
        compilers hosted on powerpc-apple-darwin6.0 won't even build.
 
 2002-07-29  Richard Earnshaw  <rearnsha@arm.com>