OSDN Git Service

* config/i386/i386.md (allocate_stack_worker_32): Use __chkstk
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index e03adcc..07adcb8 100644 (file)
@@ -1,3 +1,141 @@
+2008-03-04  Jan Hubicka  <jh@suse.cz>
+
+       PR c++/35262
+       * ipa-inline.c (cgraph_decide_inlining_of_small_function): Fix typo
+       in last commit.
+
+2008-03-04  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * config/i386/i386.md (allocate_stack_worker_32): Use  __chkstk
+        label to probe the stack.
+
+2008-03-04  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * gthr-win32.h [__GTHREAD_HIDE_WIN32API]
+       (__gthr_win32_mutex_destroy): Declare.
+       [__GTHREAD_HIDE_WIN32API] (__gthread_mutex_destroy): Use
+       __gthr_win32_mutex_destroy.
+       * config/i386/gthr-win32.c  (__gthr_win32_mutex_destroy): Define.
+
+2008-03-03  Jan Hubicka  <jh@suse.cz>
+
+       PR c++/35262
+       * ipa-inline.c (cgraph_decide_inlining_of_small_function): Be more
+       aggressive on inlining cold calls.
+
+2008-03-03  Richard Guenther  <rguenther@suse.de>
+
+       * tree-ssa-sccvn.c (visit_reference_op_store): Do not insert
+       struct copies into the expression table.
+       (simplify_unary_expression): Handle VIEW_CONVERT_EXPR.
+       (try_to_simplify): Likewise.
+       * fold-const.c (fold_unary): Fold VIEW_CONVERT_EXPR of
+       integral and pointer arguments which do not change the
+       precision to NOP_EXPRs.
+       * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): Adjust
+       VIEW_CONVERT_EXPR case.
+
+2008-03-02  Sebastian Pop  <sebastian.pop@amd.com>
+
+       * tree-scalar-evolution.c (instantiate_parameters_1): An SSA_NAME
+       defined in a loop at depth 0 is invariant.
+       * tree-chrec.c (evolution_function_is_invariant_rec_p): Ditto.
+       * tree-ssa-loop-ivopts.c (expr_invariant_in_loop_p): Should never
+       be called at loop depth 0.
+
+2008-03-02  Jakub Jelinek  <jakub@redhat.com>
+
+       PR driver/35420
+       * gcc.c (process_command): Update copyright notice dates.
+       * gcov.c (print_version): Likewise.
+       * gcov-dump.c (print_version): Likewise.
+       * mips-tfile.c (main): Likewise.
+       * mips-tdump.c (main): Likewise.
+
+2008-03-02  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
+
+       PR 24924
+       * c-common.c (flag_permissive): Delete.
+       (constant_expression_warnings): Check flags first.
+       (constant_expression_error): New.
+       * c-common.h (flag_permissive): Delete.
+       (constant_expression_error): Declare.
+       * flags.h (flag_permissive): Declare. Update description.
+       * diagnostic.c (pedwarn): Update.
+       (permerror): New.
+       * diagnostic.h: (pedantic_error_kind): Rename as pedantic_warning_kind.
+       (permissive_error_kind): New.
+       * toplev.c (flag_permissive): Define. Update description.
+       * toplev.h (permissive_error_kind): Declare.
+       * c-errors.c (pedwarn_c99): Use pedantic_warning_kind.
+       (pedwarn_c90): Use pedantic_warning_kind.
+       * c-opts.c (c_common_post_options): flag_permissive does not affect
+       flag_pedantic_errors.
+
+2008-03-02  Joseph Myers  <joseph@codesourcery.com>
+
+       * libgcc2.c (__addvSI3, __addvsi3, __addvDI3, __subvSI3,
+       __subvsi3, __subvDI3, __negvSI2, __negvsi2, __negvDI2, __absvSI2,
+       __absvsi2, __absvDI2): Use unsigned arithmetic.
+
+2008-03-02  Andi Kleen  <ak@suse.de>
+       Richard Guenther  <rguenther@suse.de>
+
+       * struct-equiv.c: Remove file.
+       * cfg_cleanup.c (condjump_equiv_p): Remove.
+       * Makefile.in (OBJS-common): Remove struct-equiv.o.
+       (struct-equiv.o): Remove rule.
+       * basic-block.h (struct_equiv_checkpoint, STRUCT_EQUIV_*,
+       insns_match_p, struct_equiv_block_eq, struct_equiv_init, 
+       rtx_equiv_p, condjump_equiv_p): Remove prototypes.
+
+2008-03-01  Alexandre Oliva  <aoliva@redhat.com>
+
+       * ifcvt.c (noce_process_if_block): Try to handle only the then
+       block if the else block exists but isn't suitable.
+
+2008-03-01  Janne Blomqvist  <jb@gcc.gnu.org>
+
+       PR gcc/35063
+       * gthr-posix.h (__gthread_mutex_destroy): Remove extra declarations.
+       * gthr-posix95.h (__gthread_mutex_destroy): Likewise. Note this fixes
+       regression from previous patch.
+
+2008-03-01  Janne Blomqvist  <jb@gcc.gnu.org>
+
+       PR gcc/35063
+       * gthr.h: Add __gthread_mutex_destroy as a function that must be
+       implemented.
+       * gthr-vxworks.h (__gthread_mutex_destroy): Null implementation.
+       * gthr-single.h (__gthread_mutex_destroy): Likewise.
+       * gthr-rtems.h (__gthread_mutex_destroy): Likewise.
+       * gthr-mipssde.h (__gthread_mutex_destroy): Likewise.
+       * gthr-nks.h (__gthread_mutex_destroy): Likewise.
+       * gthr-solaris.h (__gthread_mutex_destroy): Call mutex_destroy.
+       * gthr-win32.h (__GTHREAD_MUTEX_DESTROY_FUNCTION): Remove.
+       (__gthread_mutex_destroy_function): Rename to
+       __gthread_mutex_destroy.
+       * gthr-dce.h (__gthread_mutex_destroy): Call
+       pthread_mutex_destroy.
+       * gthr-tpf.h (__gthread_mutex_destroy): Likewise.
+       * gthr-posix.h (__gthread_mutex_destroy): Likewise.
+       * gthr-posix95.h (__gthread_mutex_destroy): Likewise.
+
+2008-03-01  Alexandre Oliva  <aoliva@redhat.com>
+
+       * df-scan.c (df_ref_chain_change_bb): Simplify.
+       (df_insn_change_bb): Add new_bb argument.  Simplify.  Call
+       set_block_for_insn if there's any change.
+       * df.h ((df_insn_change_bb): Fix prototype.
+       * cfgrtl.c (update_bb_for_insn_chain): Pass bb to
+       df_insn_change_bb, don't call set_block_for_insn.
+       * emit-rtl.c (reorder_insns): Likewise.
+       * haifa-sched.c (move_insn): Likewise.
+
+2008-03-01  Alexandre Oliva  <aoliva@redhat.com>
+
+       * rtlanal.c (loc_mentioned_in_p): Test XVECEXPs correctly.
+
 2008-03-01  Alexandre Oliva  <aoliva@redhat.com>
 
        * tree-flow-inline.h (next_readonly_imm_use): Return