reload.c (find_reloads_subreg_address): Use correct offset for paradoxical MEM subreg...
[gcc.git] / gcc / ChangeLog
index 123cb3fa84d428cefc53c498e2eb43fb2ed965c6..b39d79c1b04b0a9a2d73de77f7814c88ce68c4c3 100644 (file)
@@ -1,3 +1,268 @@
+2003-10-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * reload.c (find_reloads_subreg_address): Use correct offset for
+       paradoxical MEM subregs on big-endian targets.
+
+2003-10-06  Andrew Haley  <aph@redhat.com>
+
+       * tree.c (get_callee_fndecl): Call
+       lang_hooks.lang_get_callee_fndecl.
+       * langhooks-def.h (LANG_HOOKS_GET_CALLEE_FNDECL): New.
+       (lhd_get_callee_fndecl): New.
+
+2003-10-06  Andrew Pinski  <apinski@apple.com>
+
+       * config/darwin.c (machopic_non_lazy_ptr_name): Fix off by one
+       error in calculating the length of the string.
+       (machopic_stub_name): Likewise.
+
+2003-10-06  Roger Sayle  <roger@eyesopen.com>
+
+       * optabs.c (prepare_float_lib_cmp):  Attach a REG_EQUAL note
+       describing the return value of the comparison libcall to the
+       REG_RETVAL instruction of the emitted sequence.
+
+2003-10-06  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       PR optimization/12215
+       * cse.c (cse_set_around_loop): Emit the move at the beginning
+       of the next basic block for trapping sets.
+
+2003-10-06  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       PR optimization/11637
+       * combine.c (adjust_for_new_dest): New function to adjust the
+       notes and LOG_LINKS when the dest of an insn has changed.
+       (try_combine): Use it when deleting the first insn of a two-insn
+       parallel or splitting a two-load parallel.
+
+2003-10-06  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/mips/mips.c (mips_classify_constant): Only allow UNSPECs
+       if TARGET_EXPLICIT_RELOCS.
+
+2003-10-06  Mark Mitchell  <mark@codesourcery.com>
+
+       PR bootstrap/12512
+       * Makefile.in (info): Use double-colon rules.
+       (dvi): Likewise.
+       (generated-manpages): Likewise.
+       * configure.in: Do not create lang.info, lang.dvi, or
+       lang.generated-manpages hooks.
+       * configure: Regenerated.
+       * objc/Make-lang.in (objc.info): Remove.
+       (objc.dvi): Remove.
+       (objc.generated-manpages): Remove.
+       * doc/sourcebuild.texi: Update description of info, dvi, and
+       generated-manpages hooks.
+
+2003-10-06  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/mips/mips.md: Merge mips16 lw/srl pattern with its splitter.
+
+2003-10-05  Andrew Pinski  <apinski@apple.com>
+
+       * config/darwin.c (machopic_non_lazy_ptr_name): Fix off by one
+       errors in memcpy destinations.
+       (machopic_stub_name): Likewise.
+
+2003-10-05  Andrew Pinski <apinski@apple.com>
+
+       * config/darwin.c (machopic_non_lazy_ptr_name): 
+       Change strcat to memcpy and add length together.
+       (machopic_stub_name): Likewise.
+
+2003-10-05  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       * config/sh/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Handle new
+       signal trampoline codes.
+
+2003-10-05  Chris Demetriou  <cgd@broadcom.com>
+
+       * config/mips/mips.md (*divsf3): Move description of
+       SB-1 F2 erratum from here to...
+       (divsf3): Here.  Disable if TARGET_FIX_SB1 is set and
+       flag_unsafe_math_optimizations is not.
+
+2003-10-05  Aldy Hernandez  <aldyh@redhat.com>
+
+       * config/rs6000/linuxspe.h: Define TARGET_SPE_ABI, TARGET_SPE,
+       TARGET_E500, TARGET_ISEL, and TARGET_FPRS.
+
+2003-10-05  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * c-pretty-print.c: Fix comment typos.
+       * c-pretty-print.h: Likewise.
+       * calls.c: Likewise.
+       * cfgloopmanip.c: Likewise.
+       * cgraphunit.c: Likewise.
+       * cppfiles.c: Likewise.
+       * final.c: Likewise.
+       * function.c: Likewise.
+       * gcov-io.h: Likewise.
+       * gcse.c: Likewise.
+       * genoutput.c: Likewise.
+       * loop.c: Likewise.
+       * postreload.c: Likewise.
+       * reg-stack.c: Likewise.
+       * regmove.c: Likewise.
+       * sched-int.h: Likewise.
+       * sched-rgn.c: Likewise.
+       * simplify-rtx.c: Likewise.
+       * tree-inline.c: Likewise.
+       * config/m68hc11/m68hc11.h: Likewise.
+       * config/mmix/mmix.c: Likewise.
+       * config/mn10300/mn10300.md: Likewise.
+       * config/sh/sh.h: Likewise.
+
+2003-10-05  Richard Henderson  <rth@redhat.com>
+
+       * tree-inline.c (remap_type): New.
+       (remap_decl): Use it.  Remap DECL_SIZE*.
+       (copy_body_r): Use it.
+       (walk_tree): Walk TREE_TYPE too.
+       (copy_tree_r): Don't walk subtrees of types.
+       * tree.c (variably_modified_type_p): Restructure.  Consider integer
+       types with non-const bounds variably modified.
+
+2003-10-05  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * doc/invoke.texi: Fix typos.
+
+2003-10-05  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * fold-const.c: Follow spelling conventions.
+       * function.c: Likewise.
+       * config/c4x/c4x.h: Likewise.
+       * config/c4x/c4x.md: Likewise.
+       * config/frv/frv.md: Likewise.
+       * config/rs6000/aix.h: Likewise.
+       * config/rs6000/linux64.h: Likewise.
+       * config/xtensa/xtensa.c: Likewise.
+
+2003-10-05  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * c-pretty-print.c: Fix comment formatting.
+       * cfglayout.c: Likewise.
+       * cfgloopanal.c: Likewise.
+       * cppcharset.c: Likewise.
+       * dbxout.c: Likewise.
+       * ggc-page.c: Likewise.
+       * ggc.h: Likewise.
+       * target.h: Likewise.
+
+2003-10-04  Kelley Cook  <kelleycook@wideopenwest.com>
+
+       * gengtype-lex.l: Recognize typedef of functions without PARAMS macro.
+
+2003-10-04  Nathanael Nerode  <neroden@gcc.gnu.org>
+        
+       * config/v850/v850-c.c, config/v850/v850-protos.h, config/v850/v850.c:
+       Convert to ISO C90 function declarations and definitions.
+
+2003-10-04  Zack Weinberg  <zack@codesourcery.com>
+
+       * libfuncs.h
+       (LTI_eqhf2, LTI_nehf2, LTI_gthf2, LTI_gehf2, LTI_lthf2)
+       (LTI_lehf2, LTI_unordhf2, LTI_eqsf2, LTI_nesf2, LTI_gtsf2)
+       (LTI_gesf2, LTI_ltsf2, LTI_lesf2, LTI_unordsf2, LTI_eqdf2)
+       (LTI_nedf2, LTI_gtdf2, LTI_gedf2, LTI_ltdf2, LTI_ledf2)
+       (LTI_unorddf2, LTI_eqxf2, LTI_nexf2, LTI_gtxf2, LTI_gexf2)
+       (LTI_ltxf2, LTI_lexf2, LTI_unordxf2, LTI_eqtf2, LTI_netf2)
+       (LTI_gttf2, LTI_getf2, LTI_lttf2, LTI_letf2, LTI_unordtf2)
+       (eqhf2_libfunc, nehf2_libfunc, gthf2_libfunc, gehf2_libfunc)
+       (lthf2_libfunc, lehf2_libfunc, unordhf2_libfunc, eqsf2_libfunc)
+       (nesf2_libfunc, gtsf2_libfunc, gesf2_libfunc, ltsf2_libfunc)
+       (lesf2_libfunc, unordsf2_libfunc eqdf2_libfunc, nedf2_libfunc)
+       (gtdf2_libfunc, gedf2_libfunc, ltdf2_libfunc, ledf2_libfunc)
+       (unorddf2_libfunc eqxf2_libfunc, nexf2_libfunc, gtxf2_libfunc)
+       (gexf2_libfunc, ltxf2_libfunc, lexf2_libfunc, unordxf2_libfunc
+       (eqtf2_libfunc, netf2_libfunc, gttf2_libfunc, getf2_libfunc)
+       (lttf2_libfunc, letf2_libfunc, unordtf2_libfunc):
+       Delete.
+       * optabs.h (OTI_eq, OTI_ne, OTI_gt, OTI_ge, OTI_lt, OTI_le)
+       (OTI_unord, eq_optab, ne_optab, gt_optab, ge_optab, lt_optab)
+       (le_optab, unord_optab): New.
+
+       * optabs.c (prepare_float_lib_cmp): Rewrite.  Get the libfuncs
+       from the code_to_optab table, not a giant switch; use
+       swap_condition; do widening only if a comparison function that
+       we can call exists in a wider mode, not if a cmp_optab insn or
+       libfunc exists in a wider mode; call protect_from_queue
+       exactly once on each operand.
+       (init_optabs): Initialize the new optabs, not the deleted libfuncs.
+
+       * config/gofast.h, config/ia64/ia64.c, config/mips/mips.c
+       * config/pa/pa.c, config/rs6000/rs6000.c, config/sparc/sparc.c:
+       Set floating point comparison libfuncs using set_optab_libfunc
+       on the appropriate optab.
+
+       * config/ia64/ia64.c (ia64_hpux_init_libfuncs): Fix typo.
+       * config/rs6000/rs6000.c (rs6000_init_libfuncs): Correct ABI
+       selector conditionals.
+
+2003-10-04  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * config/m68hc11/t-m68hc11-gas (MULTILIB_MATCHES): m68hcs12 is
+       identical to m68hc12 as far as libraries are concerned.
+
+2003-10-04  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       PR c/12446
+       * c-typeck.c (convert_for_assignment): Issue an error for
+       array to pointer assignment after default conversion.
+       (digest_init): Likewise.
+
+2003-10-04  Fariborz Jahanian  <fjahanian@apple.com>
+
+       * c-decl.c (duplicate_decls): retain DECL_COMMON of old declaration
+
+2003-10-03  Gerald Pfeifer  <gerald@pfeifer.com>
+
+       * doc/extend.texi (Function Attributes): Fix title of GNU C
+       Preprocessor manual.
+       (C++ Extensions): Fix reference to "Predefined Macros" in the
+       GNU C Preprocessor manual.
+
+2003-10-04  Richard Earnshaw  <reanrsha@arm.com>
+
+       * doc/extend.texi: Document how GCC estimates and relies on the size
+       of an asm.
+
+2003-10-04  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/mips/mips.c (mips_pad_arg_upward): Pad floating-point
+       arguments downward for big-endian o64.
+
+2003-10-03  Robert Bowdidge <bowdidge@apple.com>
+
+       * ggc-page.c (ggc_pch_write_object): Replace fseek() with fwrite() in
+       PCH generation, avoiding too-frequent flushes when writing to NFS
+       file system.
+
+2003-10-03  Ziemowit Laski  <zlaski@apple.com>
+
+       * objc/objc-act.c (lookup_category): Mark as 'inline'.
+
+2003-10-03  Alexander Malmberg  <alexander@malmberg.org>
+           Ziemowit Laski  <zlaski@apple.com>
+
+       * objc/objc-act.c (add_method_to_hash_list, lookup_category):
+       New functions.
+       (lookup_method_in_hash_lists): New parameter indicating whether
+       we are messaging 'Class' or 'id'.
+       (check_duplicates): Likewise; do not assume all methods will
+       be either class or instance methods.
+       (generate_category, finish_class): Use lookup_category().
+       (add_method): Use add_method_to_hash_list(); insert instance
+       methods of root classes into the global class method hash table.
+       (add_category): Use lookup_category(); avoid constructing
+       duplicate categories.
+       (really_start_method): Add method to corresponding @interface,
+       if not already there (and if the @interface exists).
+       (finish_message_expr, finish_objc): Adjust calls to
+       check_duplicates().
+
 2003-10-03  Roger Sayle  <roger@eyesopen.com>
 
        PR optimization/9325, PR java/6391
        * config/mips/mips.md ("type" attr): Add new "prefetchx" value,
        update comments.
        (prefetch_indexed_di, prefetch_indexed_si): New insns.
-       
+
 2003-10-03  Jeff Sturm  <jsturm@one-point.com>
            Roger Sayle  <roger@eyesopen.com>
 
        operand's constraint letter to 'I'.
        (prefetch_di_address): Likewise.
        (prefetch_si, prefetch_di): Set third operand to const0_rtx.
-       
+
 2003-10-02  Zack Weinberg  <zack@codesourcery.com>
 
        * system.h: Poison macros obsoleted by earlier patch.