OSDN Git Service

* config/m68k/m68k.c (sched-int.h, insn-codes.h): New includes.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 7a984d3..96f7129 100644 (file)
@@ -1,3 +1,158 @@
+2007-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
+
+       * config/m68k/m68k.c (sched-int.h, insn-codes.h): New includes.
+       (TARGET_SCHED_ADJUST_COST, TARGET_SCHED_VARIABLE_ISSUE,
+       TARGET_SCHED_INIT_GLOBAL, TARGET_SCHED_FINISH_GLOBAL,
+       TARGET_SCHED_INIT, TARGET_SCHED_DFA_PRE_ADVANCE_CYCLE,
+       TARGET_SCHED_DFA_POST_ADVANCE_CYCLE): Redefine.
+       (m68k_sched_attr_type2): New function.
+       (sched_adjust_cost_state): New static variable.
+       (m68k_sched_adjust_cost): New static function implementing
+       scheduler hook.
+       (sched_ib_size, sched_ib_filled, sched_ib_insn, sched_mem_unit_code):
+       New static variables.
+       (m68k_sched_variable_issue): New static function implementing
+       scheduler hook.
+       (sched_dump_class_def, sched_dump_class_func_t): New typedefs.
+       (sched_dump_split_class): New static function.
+       (sched_dump_dfa_guess_unit_code, sched_dump_dfa_state): New static
+       variables.
+       (sched_dump_dfa_class, m68k_sched_dump): New static function.
+       (m68k_sched_md_init_global, m68k_sched_md_finish_global,
+       m68k_sched_md_init, m68k_sched_dfa_pre_advance_cycle,
+       m68k_sched_dfa_post_advance_cycle): New static functions implementing
+       scheduler hooks.
+
+       * config/m68k/m68k.h (m68k_sched_attr_type2): Declare.
+       (CPU_UNITS_QUERY): Define.
+
+       * config/m68k/cf.md: New file.
+       * config/m68k/m68.md (cf.md): New include.
+
+2007-11-06  Tom Tromey  <tromey@redhat.com>
+
+       PR c++/32256, PR c++/32368:
+       * function.c (saved_in_system_header): New global.
+       (push_cfun): Save in_system_header.
+       (pop_cfun): Restore in_system_header.
+       (push_struct_function): Save in_system_header.
+
+2007-11-06  Douglas Gregor  <doug.gregor@gmail.com>
+
+       PR c++/33977
+       PR c++/33886
+       * c-common.c (c_build_qualified_type): Moved to c-typeck.c.
+       (complete_array_type): Set canonical type appropriately.
+       * c-typeck.c (c_build_qualified_type): Moved from c-common.c. The
+       C and C++ front ends now have different versions of this function,
+       because the C++ version needs to maintain canonical types here.
+
+2007-11-04  Razya Ladelsky  <razya@il.ibm.com>
+       
+       * tree-parloops.c (reduction_info): Remove reduction_init field.
+       (initialize_reductions): Remove creation of the reduction_init variable.
+       (struct data_arg): Remove.
+       (add_field_for_reduction, create_stores_for_reduction): New functions.
+       (add_field_for_name): Remove reduction handling.
+       (separate_decls_in_loop): Call add_field_for_reduction, 
+       create_stores_for_reduction.
+
+2007-11-06  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/33458
+       * tree-inline.c (copy_phis_for_bb): If PHI arg substitution creates
+       !is_gimple_val PHI argument, gimplify it and insert it on edge.
+
+       PR tree-optimization/33993
+       * tree-vect-transform.c (vect_get_constant_vectors): Use build_vector
+       rather than build_constructor_from_list if all list values are
+       constants.
+       (get_initial_def_for_induction): Use build_vector instead of
+       build_constructor_from_list.
+
+2007-11-05  Mark Mitchell  <mark@codesourcery.com>
+
+       PR target/33579
+       * tree.h (DECL_INIT_PRIORITY): Do not require
+       DECL_HAS_INIT_PRIORITY_P.
+       (DECL_FINI_PRIORITY): Likewise.
+       * tree.c (decl_init_priority_lookup): Remove assert.
+       (decl_fini_priority_insert): Likewise.
+       * cgraphunit.c (static_ctors): Make it a VEC.
+       (static_dtors): Likewise.
+       (record_cdtor_fn): Adjust accordingly.
+       (build_cdtor): Generate multiple functions for each initialization
+       priority.
+       (compare_ctor): New function.
+       (compare_dtor): Likewise.
+       (cgraph_build_cdtor_fns): Sort the functions by priority before
+       calling build_cdtor.
+       (cgraph_build_static_cdtor): Put the priority in the function's
+       name.
+
+2007-11-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR driver/32632
+       * common.opt: Add shared and pie.
+
+2007-11-05  Bob Wilson  <bob.wilson@acm.org>
+
+       * config/xtensa/xtensa.c (xtensa_expand_nonlocal_goto): Do not
+       replace references to virtual_stack_vars_rtx in goto_handler.
+       
+2007-11-05  Paul Brook  <paul@codesourcery.com>
+
+       * Makefile.target: Add ssd0303.o, pl022.o and ssd0323.o.
+       * vl.c (register_machines): Add lm3s6965evb_machine.
+       * vl.h (armv7m_init): Add.
+       (lm3s6965evb_machine): Declare.
+       (pl022_init): New prototype.
+       (ssd0323_xfer_ssi, ssd0323_init): New prototype.
+       * hw/ssd0323.c: New file.
+       * hw/armv7m.c (armv7m_init): Remove board init code.
+       (lm3s811evb_machine): Remove.
+       * hw/osram_oled.c: Rename...
+       * hw/ssd0303.c: ... to this.
+       * hw/pl022.c: New file.
+       * hw/stellaris.c: Define and use stellaris_boards.
+       (lm3s811evb_machine, lm3s6965evb_machine): New.
+
+2007-11-05  Nick Clifton  <nickc@redhat.com>
+           Sebastian Pop  <sebastian.pop@amd.com>
+
+       PR tree-optimization/32540
+       PR tree-optimization/33922
+       * doc/invoke.texi: Document PARAM_MAX_PARTIAL_ANTIC_LENGTH.
+       * tree-ssa-pre.c: Include params.h.
+       (compute_partial_antic_aux): Use PARAM_MAX_PARTIAL_ANTIC_LENGTH
+       to limit the maximum length of the PA set for a given block.
+       * Makefile.in: Add a dependency upon params.h for tree-ssa-pre.c
+       * params.def (PARAM_MAX_PARTIAL_ANTIC_LENGTH): New parameter.
+
+2007-11-05  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * libgcc2.c (__fixunstfDI, __fixunsxfDI, __fixunsdfDI,
+       __fixunssfDI): Make return type unsigned.
+       * libgcc2.h (__fixunstfDI, __fixunsxfDI, __fixunsdfDI,
+       __fixunssfDI): Make return type unsigned.
+
+2007-11-05  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/33856
+       * tree-data-ref.c (get_references_in_stmt): Don't add
+       REFERENCE_CLASS_P trees to references vector if get_base_address
+       returns NULL on them.
+
+2007-11-05  Alexandre Oliva  <aoliva@redhat.com>
+
+       * cfg.c (dump_cfg_bb_info): Update bb_bitnames to match enum.
+
+2007-11-04  Andrew Pinski  <pinskia@gmail.com>
+
+       PR middle-end/32931
+       * fold-const.c (fold_binary <case EQ_EXPR>): Convert the inner type
+       for TRUTH_NOT_EXPR to type.
+
 2007-11-04  Gerald Pfeifer  <gerald@pfeifer.com>
 
        * doc/contrib.texi (Contributors): Add Manuel Lopez-Ibanez.
 
 2007-09-02  Joseph Myers  <joseph@codesourcery.com>
 
+       PR c/29237
        PR middle-end/33272
        * c-decl.c (grokdeclarator): Apply qualifiers to type of parameter
        decayed from array.