OSDN Git Service

* tree-scalar-evolution.c (instantiate_parameters_1): An SSA_NAME
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 4a7fcb7..6565763 100644 (file)
@@ -1,3 +1,173 @@
+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
+       NULL_USE_OPERAND_P after the end.
+
+2008-03-01  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/35411
+       * tree-sra.c (sra_build_assignment): Split conversion to
+       final type to a separate statement if we are not assigning
+       to a register.
+
+2008-02-29  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
+
+       * fold-const.c (fold_convertible_p): Correct the logic to follow
+       that in fold_convert().
+
+2008-02-29  Douglas Gregor  <doug.gregor@gmail.com>
+
+       PR c++/35315
+       * tree-inline.c (build_duplicate_type): When we make a
+       duplicate type, make it unique in the canonical types system.
+
+2008-02-29  Tom Tromey  <tromey@redhat.com>
+
+       * toplev.c (input_file_stack, input_file_stack_tick, fs_p,
+       input_file_stack_history, input_file_stack_restored): Remove.
+       (push_srcloc, pop_srcloc, restore_input_file_stack): Likewise.
+       * input.h (struct file_stack): Remove.
+       (push_srcloc, pop_srcloc, restore_input_file_stack): Likewise.
+       (input_file_stack, input_file_stack_tick, INPUT_FILE_STACK_BITS):
+       Likewise.
+       * diagnostic.h (struct diagnostic_context) <last_module>: Change
+       type.
+       (diagnostic_last_module_changed): Add 'map' argument.
+       (diagnostic_set_last_function): Likewise.
+       * diagnostic.c (undiagnostic_report_current_module): Iterate using
+       line map, not input_file_stack.
+       * c-lex.c (fe_file_change): Don't use push_srcloc or pop_srcloc.
+
+2008-02-29  Paul Brook  <paul@codesourcery.com>
+
+       * config/arm/arm.md (arm_addsi3): Add r/k/n alternative.
+
+2008-02-29  Paul Brook  <paul@codesourcery.com>
+
+       * config/arm/ieee754-df.S (muldf3): Use RET macros.
+
+2008-02-29  Richard Guenther  <rguenther@suse.de>
+
+       * tree-ssa-pre.c (get_sccvn_value): Create missing VNs via
+       vn_lookup_or_add.
+       * tree-ssa-sccnv.c (visit_reference_op_store): Use the rhs
+       value for comparing for a store match.
+       (simplify_unary_expression): Do nothing for SSA_NAMEs.
+       (try_to_simplify): Do not do a full-blown reference lookup.
+
+2008-02-29  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       * config/sh/sh.c (sh_scalar_mode_supported_p): New function.
+       (TARGET_SCALAR_MODE_SUPPORTED_P): Define.
+
+       * config/sh/sh.h (OVERRIDE_OPTIONS): Don't warn for profiling.
+
+2008-02-29  Sebastian Pop  <sebastian.pop@amd.com>
+
+       * tree-loop-linear.c (try_interchange_loops): Compare memory access
+       strides against cache sizes.
+
 2008-02-29  Kaz Kojima  <kkojima@gcc.gnu.org>
 
        * config/sh/sh.c (sh_secondary_reload): Handle loading a float