OSDN Git Service

2003-12-22 Andrew Pinski <pinskia@physics.uc.edu>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 8e61be1..a24bbad 100644 (file)
@@ -1,3 +1,352 @@
+2003-12-22  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       * c-decl.c (finish_function): Change order of checks.
+       (c_expand_body): Likewise.
+
+2003-12-22  Fariborz Jahanian <fjahanian@apple.com>
+
+        * config/rs6000/rs6000.c (legitimate_offset_address_p): Correct
+        check for the legitimate offset when memory of 
+       DImode/DFmode/TFmode/TImode mode is being referenced and target 
+       is TARGET_POWERPC64.
+
+2003-12-22  Dale Johannesen  <dalej@apple.com>
+
+        * reload1.c:  Add reg_reloaded_call_part_clobbered.
+        (reload_as_needed):  Use it.
+        (forget_old_reloads_1):  Ditto.
+        (emit_reload_insns):  Ditto.
+
+2003-12-22  Dale Johannesen  <dalej@apple.com>
+
+        PR optimization/12828
+        * loop.c:  Add find_regs_nested to look inside CLOBBER(MEM).
+        (scan_loop):  Call it.
+        * regclass.c (reg_scan_mark_regs):  Look inside CLOBBER(MEM).
+
+2003-12-22  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR c/9163
+       * c-decl.c (poplevel): Only set DECL_INITIAL of a current function
+       if it is non-null.
+       (finish_function): Check for error_mark_node or null on DECL_RESULT and
+       DECL_RESULT of fndecl.
+       (c_expand_body): Only expand when DECL_INITIAL of fndecl is not
+       error_mark_node and not null.
+
+2003-12-21  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * rtl.h (dump_rtx_statistics): Declare it.
+       * rtl.c (rtx_alloc_counts, rtx_alloc_sizes, rtvec_alloc_counts,
+       rtx_alloc_sizes): New static vars.
+       (rtx_alloc, rtvec_alloc): Update them.
+       (dump_rtx_statistics): New function.
+       * toplev.c (finalize): Call it.
+       * ggc-page.c (struct globals): Fix comments. Add new member
+       total_allocated_per_order.
+       (ggc_alloc): Keep track of the total allocated memory.
+       (ggc_print_statistics): Clarify message. Print total allocated
+       memory stats.
+       * configure.in (gather-detailed-mem-stats): New flag.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+       * doc/install.texi (Configuration): Document 
+       --enable-gather-detailed-mem-stats.
+
+2003-12-22  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * system.h (CONVERT_HARD_REGISTER_TO_SSA_P): Poison.
+       * config/i386/i386.h (CONVERT_HARD_REGISTER_TO_SSA_P): Remove.
+
+2003-12-21  Roger Sayle  <roger@eyesopen.com>
+
+       * config/ia64/hpux.h (TARGET_OS_CPP_BUILTINS): Define _ILP32
+       when compiling in ILP32 mode.
+
+2003-12-21  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       * config/rs6000/rs6000.c (rs6000_tls_referenced_p): Return early if
+       TARGET_HAVE_TLS is false.
+
+2003-12-21  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/ip2k/ip2k-protos.h: Remove the prototype for
+       asm_output_section_name.
+       * config/ip2k/ip2k.c (asm_output_section_name): Remove.
+
+2003-12-21  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * alias.c: Fix comment formatting.
+       * alloc-pool.c: Likewise.
+       * bitmap.c: Likewise.
+       * bitmap.h: Likewise.
+       * bt-load.c: Likewise.
+       * c-common.c: Likewise.
+       * c-common.h: Likewise.
+       * c-decl.c: Likewise.
+       * c-opts.c: Likewise.
+       * c-pretty-print.c: Likewise.
+       * caller-save.c: Likewise.
+       * cfghooks.h: Likewise.
+       * cgraph.c: Likewise.
+       * collect2.c: Likewise.
+       * cppfiles.c: Likewise.
+       * cpplib.h: Likewise.
+       * dwarf2out.c: Likewise.
+       * dwarfout.c: Likewise.
+       * emit-rtl.c: Likewise.
+       * final.c: Likewise.
+       * function.c: Likewise.
+       * gcov.c: Likewise.
+       * gcse.c: Likewise.
+       * genemit.c: Likewise.
+       * ggc.h: Likewise.
+       * haifa-sched.c: Likewise.
+       * ifcvt.c: Likewise.
+       * libgcc2.h: Likewise.
+       * loop.c: Likewise.
+       * predict.h: Likewise.
+       * unwind-libunwind.c: Likewise.
+       * varasm.c: Likewise.
+
+2003-12-21  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/mn10300/mn10300.c (mn10300_encode_section_info): Fix
+       a warning.
+
+2003-12-21  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/arm/arm.c: Convert to ISO-C.
+       * config/avr/avr.h: Likewise.
+       * config/fr30/fr30.c: Likewise.
+       * config/ip2k/ip2k.c: Likewise.
+       * config/mn10300/mn10300.c: Likewise.
+
+2003-12-20  Andrew Pinski  <pinskia@gcc.gnu.org>
+            Matt Thomas  <matt@3am-software.com>
+
+       PR target/12749
+       * config/i386/i386.c (print_operand): Print only the first
+       8 characters of the float in hex.
+
+2003-12-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * pa.h (TRAMPOLINE_TEMPLATE): Shorten sequence when generating PA
+       2.0 code.
+       (TRAMPOLINE_CODE_SIZE, MIN_CACHELINE_SIZE): New defines.
+       (INITIALIZE_TRAMPOLINE): Rework to pass line length, and aligned start
+       and end addresses to I and D cache instruction patterns.
+       * pa.md (anddi3, iordi3): Change predicates of operands 1 and 2 to
+       and_operand and ior_operand, respectively.  When generating 64-bit
+       code, only one operand needs to be a register operand.
+       (xordi3): Change predicates of operands 1 and 2 to register_operand.
+       (one_cmpldi2): Change predicate of operand 1 to register_operand.
+       (dcacheflush, icacheflush): Revise to flush an arbitrary number of
+       cache lines.
+
+2003-12-20  Josef Zlomek  <zlomekj@suse.cz>
+
+       PR optimization/13430, PR optimization/12322
+       * bb-reorder.c (copy_bb_p): Do not allow block with many successors to
+       be copied.
+       (find_traces_1_round): Surround check for fake edges by
+       #ifdef ENABLE_CHECKING #endif.
+
+2003-12-20  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       PR other/7956
+       * genmultilib: New variable disable_multilib.  Set it to 'yes'
+       if enable_multilib was set to 'no'.  Emit DISABLE_MULTILIB
+       if disable_multilib was set to 'yes'.
+       * gcc.c: Include multilib.h before tm.h.
+       * config/sparc/sol2-bi.h (LINK_ARCH_SPEC): Emit an error
+       message for multiarch options if DISABLE_MULTILIB is set.
+       * config/sparc/sol2-gld-bi.h (LINK_ARCH_SPEC): Likewise.
+
+2003-12-20  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       PR c/12085
+       * c-typeck.c (build_function_call): Issue a warning if a
+       function is called through an incompatible prototype and
+       replace the call by a trap in this case.
+
+2003-12-19  James E Wilson  <wilson@specifixinc.com>
+
+       * install.texi (ia64-*-linux): Document minimum libunwind version
+       number.
+
+2003-12-19  Per Bothner  <per@bothner.com>
+
+       * langhooks.c (lhd_print_error_function):  Fix for PR c/13110.
+       Don't do pp_newline; it causes an extra blank line.
+       * pretty-print.c (pp_base_flush):  Clear pp_needs_newline.
+
+2003-12-19  Jason Merrill  <jason@redhat.com>
+
+       * tree.c (get_unwidened): Decide whether to narrow a bitfield
+       reference based on TYPE_SIZE, not TYPE_PRECISION.
+
+       * stmt.c (parse_output_constraint): Warn about in-out constraint
+       that doesn't allow a register.
+       (parse_input_constraint): Warn about matching constraint that
+       doesn't allow a register.
+
+2003-12-19  James E Wilson  <wilson@specifixinc.com>
+
+       * flow.c (mark_set_regs, case PARALLEL): Scan loop forwards.
+       Add case for ASM_OPERANDS.
+       * global.c (global_alloc): Set regs_ever_live for regs_asm_clobbered
+       registers.
+
+2003-12-19  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * expr.c (check_max_integer_computation_mode): Remove.
+       * dojump.c (do_jump): Don't use MAX_INTEGER_COMPUTATION_MODE.
+       * fold-const.c (fold): Likewise.
+       * system.h (MAX_INTEGER_COMPUTATION_MODE): Poison.
+       * doc/tm.texi (MAX_INTEGER_COMPUTATION_MODE): Remove.
+
+2003-12-19  James E Wilson  <wilson@specifixinc.com>
+
+       * configure.in: Delete libunwind_has_eh_support test.
+       * configure: Regenerate.
+       * config.gcc (ia64*-*-linux*): Delete reference to t-libunwind-no-eh
+       and libunwind_has_eh_support check.
+       * config/t-libunwind-no-eh: Delete.
+
+2003-12-19  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       * c-format.c (print_char_table): Allow 'I' flag on floating point
+       decimal formats.
+
+2003-12-19  Stuart Hastings  <stuart@apple.com>
+
+       * gcc/config/i386/i386.c (ix86_expand_call, x86_output_mi_thunk):
+       Trivial fixes for i386.c on Darwin/x86.
+       
+2003-12-19  Fariborz Jahanian <fjahanian@apple.com>
+
+        * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): Add code to
+        recognize macho-style lo_sum adrress patterns.
+
+2003-12-19  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * dwarfout.c: Remove uses of "register" specifier in
+       declarations of arguments and local variables.
+       * gensupport.c: Likewise.
+       * local-alloc.c: Likewise.
+       * regclass.c: Likewise.
+
+2003-12-19  Kelley Cook  <kelleycook@wideopenwest.com>
+
+       * config.guess: Remove.
+
+2003-12-19  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/ia64/unwind-ia64.c (ia64_copy_rbs): New function.
+       (unw_access_gr): Only call ia64_rse_rnat_addr if addr is above
+       regstk_top.
+       (uw_frame_state_for): Handle locations inside bundles.
+       (uw_init_context_1): Initialize context->rnat.
+       Set context->regstk_top to lowest rbs address which has nat collection
+       in context->rnat.
+       (uw_install_context): Fix rnat restoring.
+       Restore ar.rsc to previous state.
+       * config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR,
+       MD_HANDLE_UNWABI): Handle unwinding through SA_ONSTACK frames.
+
+2003-12-19  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/13239
+       * builtins.c (expand_builtin_expect_jump): Update
+       TREE_VALUE (arglist) if unsave_expr_now langhook
+       created a new tree.
+
+2003-12-19  Richard Earnshaw  <rearnsha@arm.com>
+
+       * arm.c (thumb_base_register_rtx_p): Use regno in comparison against
+       FIRST_PSEUDO_REGISTER.
+
+2003-12-18  Hartmut Penner  <hpenner@de.ibm.com>
+
+       * gcc/config/rs6000/rs6000.c (USE_ALTIVEC_FOR_ARG_P): Don't check
+       for SVR4 ABI.
+
+2003-12-18  Geoffrey Keating  <geoffk@apple.com>
+
+       * config/rs6000/aix.h (OS_MISSING_POWERPC64): Define.
+       (OS_MISSING_ALTIVEC): Define.
+       * config/rs6000/darwin.h (ASM_SPEC): Be generous about supplying
+       -force_cpusubtype_ALL.
+       * config/rs6000/rs6000.c (rs6000_override_options): Rearrange
+       CPU information table; now always set all CPU-specific values.
+       Also, use Altivec and powerpc64 when chip and OS supports them.
+
+2003-12-18  Geoffrey Keating  <geoffk@apple.com>
+
+       * fixinc/inclhack.def (darwin_macho_dyldh): New.
+       * fixinc/fixincl.x: Regenerate.
+
+2003-12-18  Dara Hazeghi  <dhazeghi@yahoo.com>
+
+       * version.c (version_string): Renumber as 3.4.0
+       * doc/include/gcc-common.texi: Likewise
+
+2003-12-18  Richard Henderson  <rth@redhat.com>
+
+       * genrecog.c (print_host_wide_int): New.
+       (write_switch, write_cond): Use it.
+
+2003-12-18  Richard Henderson  <rth@redhat.com>
+
+       * c-decl.c (check_bitfield_type_and_width): Remove enum special
+       case suppression of pedwarn.
+       * system.h (ENUM_BITFIELD): Use __extension__.
+       (CHAR_BITFIELD): Likewise.
+
+2003-12-18  Ulrich Weigand  <uweigand@de.ibm.com>
+           Mark Dettinger  <dettinge@de.ibm.com>
+
+       * config/s390/s390.md (UNSPEC_SRST): New constant.
+       ("strlendi", "strlensi"): New expanders.
+       ("*strlendi", "*strlensi"): New insns.
+
+2003-12-18  Mark Mitchell  <mark@codesourcery.com>
+
+       * config/sol2.h (LINK_ARCH32_SPEC): Define in terms of ...
+       (LINK_ARCH32_SPEC_BASE): ... this new macro.
+       * config/sparc/sol2-bi.h (LINK_ARCH64_SPEC): Define in terms of
+       ...
+       (LINK_ARCH64_SPEC_BASE): ... this new macro.
+       * config/sparc/sol2-gld-bi.h (LINK_ARCH32_SPEC): New macro.
+       (LINK_ARCH64_SPEC): Likewise.
+
+2003-12-18  Jason Merrill  <jason@redhat.com>
+
+       PR middle-end/13234
+       * tree-dump.c (dequeue_and_dump): Handle 'r' and 's' code
+       classes.
+
+2003-12-18  Steven Bosscher  <stevenb@suse.de>
+
+       * Makefile.in (tracer.o, bb-reorder.o): Depend on timevar.h
+       * toplev.c (rest_of_handle_reorder_blocks, rest_of_handle_tracer):
+       Don't push and pop TV_REORDER_BLOCKS timevars, do it...
+       * bb-reorder.c (reorder_basic_blocks): ...here, and...
+       * tracer.c (tracer): here.
+
+2003-12-18  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * loop.c (move_movables): Handle combination of m->consec, 
+       m->move_insn_first, and m->insert_temp all nonzero correctly.
+
+2003-12-18  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * calls.c (load_register_parameters): Don't use
+       LOAD_ARGS_REVERSED.
+       * system.h (LOAD_ARGS_REVERSED): Poison.
+       * doc/tm.texi (LOAD_ARGS_REVERSED): Remove.
+
 2003-12-17  Per Bothner  <per@bothner.com>
 
        * emit-rtl.c (set_new_first_and_last_label_num):  Remove function.