OSDN Git Service

PR debug/46387
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 113e331..fc7c8d1 100644 (file)
@@ -1,3 +1,321 @@
+2010-11-15  Jakub Jelinek  <jakub@redhat.com>
+
+       PR debug/46387
+       * rtl.h (vt_equate_reg_base_value): New prototype.
+       * alias.c (vt_equate_reg_base_value): New function.
+       * var-tracking.c (vt_init_cfa_base): Use it.
+
+2010-11-15  Jan Hubicka  <jh@suse.cz>
+           Diego Novillo  <dnovillo@google.com>
+
+       PR lto/41528
+       * doc/lto.texi: Add.
+       * doc/gccint.texi: Add reference to lto.texi.
+       * doc/invoke.texi: Update user documentation for LTO.
+       Move internal flags to lto.texi
+
+2010-11-15  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       * c-typeck.c (build_unary_op): Use
+       objc_build_incr_expr_for_property_ref to build the pre/post
+       increment/decrement of an Objective-C property ref, and skip the
+       lvalue_or_else check in that case.
+
+2010-11-15  Martin Jambor  <mjambor@suse.cz>
+
+       PR tree-optimization/46349
+       * tree-sra.c (contains_bitfld_comp_ref_p): New function.
+       (contains_vce_or_bfcref_p): Likewise.
+       (sra_modify_assign): Use them.
+
+2010-11-15  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/46467
+       * tree-ssa-structalias.c (do_structure_copy): Properly treat
+       variables without subvars.
+
+2010-11-15  Hariharan Sandanagobalane  <hariharan@picochip.com>
+
+       * config/picochip/picochip.c (file header): Picochip name change.
+       * config/picochip/picochip.md (file header): Likewise.
+       * config/picochip/predicates.md (file header): Likewise.
+       * config/picochip/dfa_space.md (file header): Likewise.
+       * config/picochip/dfa_speed.md (file header): Likewise.
+       * config/picochip/picochip.h(file header): Likewise.
+       * config/picochip/constraints.md (file header): Likewise.
+       * config/picochip/picochip-protos.h (file header): Likewise.
+       * config/picochip/libgccExtras/setjmp.asm (file header): Likewise.
+       * config/picochip/libgccExtras/divmodsi4.asm (file header): Likewise.
+       * config/picochip/libgccExtras/ashlsi3.asm (file header): Likewise.
+       * config/picochip/libgccExtras/longjmp.asm (file header): Likewise.
+       * config/picochip/libgccExtras/ashlsi3.c (file header): Likewise.
+       * config/picochip/libgccExtras/popcounthi2.asm (file header): Likewise.
+       * config/picochip/libgccExtras/parityhi2.asm (file header): Likewise.
+       * config/picochip/libgccExtras/udivmodhi4.asm (file header): Likewise.
+       * config/picochip/libgccExtras/ashrsi3.asm (file header): Likewise.
+       * config/picochip/libgccExtras/ashrsi3.c (file header): Likewise.
+       * config/picochip/libgccExtras/ucmpsi2.asm (file header): Likewise.
+       * config/picochip/libgccExtras/divmodhi4.asm (file header): Likewise.
+       * config/picochip/libgccExtras/lshrsi3.asm (file header): Likewise.
+       * config/picochip/libgccExtras/subdi3.asm (file header): Likewise.
+
+2010-11-15  Richard Guenther  <rguenther@suse.de>
+
+       PR bootstrap/46474
+       * tree-ssa-math-opts.c (convert_mult_to_fma): Disregard debug stmts.
+
+2010-11-15  Nick Clifton  <nickc@redhat.com>
+
+       * config/stormy16/stormy16.c (direct_return): Do not generate a
+       direct return for interrupt handlers.
+
+2010-11-15  Joern Rennecke  <amylaar@spamcop.net>
+
+       * Makefile.in (tm.texi): Replace with rule for:
+       ($(srcdir)/doc/tm.texi).
+       (s-tm-texi): Depend on $(srcdir)/doc/../doc/tm.texi instead of on
+       $(srcdir)/doc/tm.texi .
+       (TEXI_GCCINT_FILES): Depend on $(srcdir)/doc/tm.texi instead of on
+       tm.texi .
+
+       PR target/46427
+       * config/m32r/m32r.c: Remove unused variables frame_size and insn.
+
+       PR bootstrap/45444
+       * config/arm/arm.c (locate_neon_builtin_icode): Initialize key.
+       (arm_output_asm_insn) Add ATTRIBUTE_PRINTF_4.
+
+       PR target/46432
+       * config/v850/v850.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Delete.
+
+2010-11-15  Richard Guenther  <rguenther@suse.de>
+
+       PR lto/44150
+       * lto-opts.c (lto_write_options): Write -fexceptions even if
+       not set by the user.
+
+2010-11-13  Paolo Bonzini  <bonzini@gnu.org>
+
+       PR c/46462
+       * c-decl.c (declspecs_add_type): Make variables with error types
+       integers.
+       * c-parser.c (c_parser_next_tokens_start_declaration): Two IDs
+       do not start a declaration before an Objective-C foreach.
+       (c_parser_declaration_or_fndef): Improve recovery after unknown
+       type name.
+       (c_parser_for_statement): Hoist entrance of "foreach context"
+       before ifs, add corresponding reset where it was missing.  Do
+       not set objc_could_be_foreach_context for C.
+
+2010-11-14  Eric Botcazou  <ebotcazou@adacore.com>
+
+       PR tree-optimization/45722
+       * tree-sra.c (build_ref_for_model): Always build a COMPONENT_REF if
+       this is a reference to a component.
+       * ipa-prop.c (ipa_get_member_ptr_load_param): Accept COMPONENT_REF.
+       (ipa_note_param_call): Adjust comment.
+
+2010-11-14  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * config/mips/mips.c (machine_function): Remove
+       initialized_mips16_gp_pseudo_p.
+       (mips16_gp_pseudo_reg): Use cfun->machine->mips16_gp_pseudo_rtx to
+       detect whether a pseudo has already been created.  Unconditionally
+       create a new one if not.
+       (mips_pic_base_register): Only call mips16_gp_pseudo_reg when
+       expanding to rtl.  Create a new pseudo otherwise, if allowed.
+
+2010-11-13  Richard Earnshaw  <rearnsha@arm.com>
+
+       PR target/43440
+       * tm.texi.in (OVERLAPPING_REGISTER_NAMES): Document new macro.
+       * tm.texi: Regenerated.
+       * output.h (decode_reg_name_and_count): Declare.
+       * varasm.c (decode_reg_name_and_count): New function.
+       (decode_reg_name): Reimplement using decode_reg_name_and_count.
+       * reginfo.c (fix_register): Use decode_reg_name_and_count and
+       iterate over all regs used.
+       * stmt.c (expand_asm_operands): Likewise.
+       * arm/aout.h (OVERLAPPING_REGISTER_NAMES): Define.
+       (ADDITIONAL_REGISTER_NAMES): Remove aliases that overlap
+       multiple machine registers.
+
+2010-11-13  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * stor-layout.c (place_union_field): Do not put location information
+       on offset expressions.
+       (place_field): Likewise.
+       (finalize_record_size): Likewise on size expressions.
+       (finalize_type_size): Likewise.
+       (layout_type): Likewise.
+
+2010-11-13  Alexandre Oliva  <aoliva@redhat.com>
+
+       PR debug/42889
+       * df-scan.c (df_insn_rescan): Don't mark BBs upon debug insns.
+       * df-core.c (df_set_bb_dirty_nonrl): Remove.
+       * df.h (df_set_bb_dirty_nonlr): Likewise.
+
+2010-11-13  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/mips/mips.md (call_internal): Pass curr_insn to
+       mips_split_call.
+       (call_internal_direct): Ditto.
+       (call_value_internal): Ditto.
+       (call_value_internal_direct): Ditto.
+       (call_value_multiple_internal): Ditto.
+       * config/mips/mips.c (mips_split_call): Do not copy
+       CALL_INSN_FUNCTION_USAGE here.
+
+2010-11-13  Mingming Sun  <mingm.sun@gmail.com>
+
+       * doc/invoke.texi (MIPS Options): Add loongson3a processor.
+       * config/mips/mips.md (define_attr "cpu"): Add loongson_3a.
+       (define_insn "prefetch"): Add TARGET_LOONGSON_3A.
+       * config/mips/mips.h (TARGET_LOONGSON_3A): Define.
+       (TUNE_LOONGSON_3A): Define.
+       (TARGET_LOONGSON_VECTORS): Add TARGET_LOONGSON_3A.
+       (MIPS_ISA_LEVEL_SPEC): Add loongson3a.
+       * config/mips/mips.c (mips_cpu_info_table): Add loongson3a.
+       (mips_issue_rate): Add PROCESSOR_LOONGSON_3A.
+       (mips_rtx_cost_data): Add Loongson-3A.
+
+2010-11-13  Iain Sandoe  <iains@gcc.gnu.org>
+
+       * config/darwin.h (LINK_COMMAND_SPEC_A): Update for changes to lto
+       switches.
+
+2010-11-13  Iain Sandoe  <iains@gcc.gnu.org>
+
+       * dwarf2out.c (macinfo_entry): New struct.
+       (output_comp_unit): Emit the section start label here and flag that we
+       will emit an info section.
+       (dwarf2out_start_source_file): Save data in a macinfo entry rather than
+       emitting directly.
+       (dwarf2out_end_source_file): Likewise.
+       (dwarf2out_define): Likewise.
+       (dwarf2out_undef): Likewise.
+       (output_macinfo): New.
+       (dwarf2out_init): Do not emit debug section switches here, allocate a
+       vec for macinfo, when required.
+       (dwarf2out_finish): First switch to debug_abbrev_section here.
+       debug_line_section,  debug_macinfo_section, Likewise.  
+       Check that the pubtypes table has at least one unpruned entry before
+       trying to emit it.
+
+2010-11-13  Paolo Bonzini  <bonzini@gnu.org>
+
+       PR c/20385
+       * c-parser.c (c_parser_next_token_starts_declaration): Rename to...
+       (c_parser_next_tokens_start_declaration): ... this.  Handle 2nd
+       token lookahead.
+       (c_parser_compound_statement_nostart, c_parser_label,
+       c_parser_for_statement, c_parser_omp_for_loop): Adjust calls.
+       (c_parser_declaration_or_fndef): Detect the case now matched by
+       c_parser_next_tokens_start_declaration, give error and correct it.
+
+2010-11-13  Paolo Bonzini  <bonzini@gnu.org>
+
+       * c-tree.h (enum c_typespec_kind): Add ctsk_none.
+       (struct c_declspecs): Replace tagdef_seen_p and type_seen_p
+       with typespec_kind.
+       * c-decl.c (build_null_declspecs): Initialize typespec_kind.
+       (shadow_tag_warned, check_compound_literal_type): Adjust
+       uses of tag_defined_p.
+       (declspecs_add_type): Set typespec_kind.
+       * c-parser.c (c_parser_declaration_or_fndef,
+       c_parser_declspecs, c_parser_struct_declaration,
+       c_parser_parameter_declaration, c_parser_type_name,
+       c_parser_objc_diagnose_bad_element_prefix): Adjust uses
+       of type_seen_p.
+       * c-typeck.c (c_cast_expr): Use typespec_kind instead of
+       tag_defined_p, pass ctsk_firstref through.
+
+2010-11-13  Paolo Bonzini  <bonzini@gnu.org>
+
+       * c-format.c (enum format_specifier_kind, kind_descriptions): New.
+       (struct format_wanted_type): Replace field "name" with "kind", add
+       "format_start" and "format_length".
+       (check_format_info_main): Fill in new fields.  Fill in
+       FORMAT_WANTED_TYPES even for missing arguments.  Move checks
+       after the final NUL outside the while loop.  Do not include
+       width and precision modifiers in the format_start/format_length
+       of the main format.
+       (check_format_types): Remove FORMAT_START and FORMAT_LENGTH
+       arguments.  Compute WANTED_TYPE first so that format_type_warning
+       can be called for missing arguments.  Adjust calls to
+       format_type_warning.
+       (format_type_warning): Fetch as much information as possible
+       from format_wanted_type.  Adjust printing now that every
+       warning has a "descr", as well as for missing argument warnings
+       and to include % sign for format specifiers.
+
+2010-11-12  Alexander Monakov  <amonakov@ispras.ru>
+
+       PR rtl-optimization/46204
+       * sel-sched-ir.c (maybe_tidy_empty_bb): Remove second argument.
+       Update all callers.  Do not recompute topological order.  Adjust
+       fallthrough edges following a degenerate conditional jump.
+
+2010-11-12  Joseph Myers  <joseph@codesourcery.com>
+
+       * opts-common.c (control_warning_option): New.
+       * opts.c (set_default_handlers): New.
+       (decode_options): Use set_default_handlers and
+       control_warning_option.
+       (common_handle_option): Update call to enable_warning_as_error.
+       (enable_warning_as_error): Take gcc_options parameters.  Use
+       control_warning_option.
+       * opts.h (set_default_handlers, control_warning_option): Declare.
+
+2010-11-12  Joseph Myers  <joseph@codesourcery.com>
+
+       * Makefile.in (OPTS_H): Define.
+       (c-decl.o, c-family/c-common.o, c-family/c-opts.o,
+       c-family/c-pch.o, c-family/c-pragma.o, gcc.o, gccspec.o,
+       cppspec.o, options.o, gcc-options.o, lto-opts.o, opts.o,
+       opts-common.o, toplev.o, passes.o, matrix-reorg.o,
+       ipa-struct-reorg.o, PLUGIN_HEADERS): Use $(OPTS_H).
+       * gcc.c (driver_handle_option): Take location_t parameter.
+       (process_command, do_self_spec): Update calls to
+       read_cmdline_option.
+       * langhooks-def.h (lhd_handle_option): Take location_t parameter.
+       * langhooks.c (lhd_handle_option): Take location_t parameter.
+       * langhooks.h (handle_option): Take location_t parameter.
+       * lto-opts.c (lto_reissue_options): Update call to set_option.
+       * opts-common.c (handle_option): Make static.  Take location_t
+       parameter and pass it to other functions.
+       (handle_generated_option): Take location_t parameter and pass it
+       to other functions.
+       (read_cmdline_option): Take location_t parameter and pass it to
+       other functions.  Use warning_at and error_at.
+       (set_option): Take location_t parameter and pass it to other
+       functions.
+       * opts.c (common_handle_option): Take location_t parameter and
+       pass it to other functions.
+       (enable_warning_as_error): Make static.  Take location_t parameter
+       and pass it to other functions.
+       (lang_handle_option): Take location_t parameter and pass it to
+       other functions.
+       (target_handle_option): Take location_t parameter.
+       (read_cmdline_options, maybe_default_option,
+       maybe_default_options, default_options_optimization,
+       decode_options): Take location_t parameter and pass it to other
+       functions.
+       * opts.h: Include input.h.
+       (struct cl_option_handler_func, decode_options, set_option,
+       handle_generated_option, read_cmdline_option): Take location_t
+       parameters.
+       (handle_option, enable_warning_as_error): Remove.
+       * toplev.c (toplev_main): Update call to decode_options.
+
+2010-11-12  Tobias Grosser  <grosser@fim.uni-passau.de>
+
+       * graphite-cloog-util.c (oppose_constraint,
+       cloog_matrix_to_ppl_constraint,
+       new_Constraint_System_from_Cloog_Matrix): Explicitly cast to int as
+       CLooG isl uses unsigned integers.  This triggered a warning.
+
 2010-11-12  Joern Rennecke  <amylaar@spamcop.net>
 
        PR target/46438