OSDN Git Service

./:
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 967cbbf..bab05f5 100644 (file)
@@ -1,3 +1,108 @@
+2009-06-19  Ian Lance Taylor  <iant@google.com>
+
+       * ggc-page.c (ggc_pch_write_object): Initialize emptyBytes.
+       * sdbout.c (sdb_debug_hooks): Initialize non-SDB_DEBUGGING_INFO
+       version.
+
+       * c-decl.c (finish_decl): If -Wc++-compat, warn about
+       uninitialized const.
+
+2009-06-19  Ian Lance Taylor  <iant@google.com>
+
+       * dse.c (struct store_info): Rename bitmap field to bmap.  Change
+       all uses.
+
+       * c-decl.c (in_struct, struct_types): Remove.
+       (struct c_binding): Add in_struct field.
+       (c_binding_ptr): Define type, along with VEC.
+       (struct c_struct_parse_info): Define.
+       (struct_parse_info): New static variable.
+       (bind): Initialize in_struct field.
+       (start_struct): Remove enclosing_in_struct and
+       enclosing_struct_types parameters.  Add
+       enclosing_struct_parse_info parameter.  Change all callers.  Set
+       struct_parse_info rather than in_struct and struct_types.
+       (grokfield): If -Wc++-compat and there is a symbol binding for the
+       field name, set the in_struct flag and push it on the
+       struct_parse_info->fields vector.
+       (warn_cxx_compat_finish_struct): New static function.
+       (finish_struct): Remove enclosing_in_struct and
+       enclosing_struct_types parameters.  Add
+       enclosing_struct_parse_info parameter.  Change all callers.  Don't
+       set C_TYPE_DEFINED_IN_STRUCT here.  Call
+       warn_cxx_compat_finish_struct.  Free struct_parse_info and set to
+       parameter.  Only push on struct_types if warn_cxx_compat.
+       (finish_enum): Only push on struct_types if warn_cxx_compat.
+       (declspecs_add_type): Add loc parameter.  Change all callers.
+       Change all error calls to error_at.  Pass loc, not input_location,
+       to pedwarn calls.  Warn if -Wc++-compat and a typedef name is
+       defined in a struct.  If -Wc++-compat and parsing a struct, record
+       that a typedef name was used.
+       * c-parser.c (c_parser_declspecs): Get location to pass to
+       declspecs_add_type.
+       (c_parser_struct_or_union_specifier): Update calls to start_struct
+       and finish_struct.
+       * c-tree.h (struct c_struct_parse_info): Declare.
+       (finish_struct, start_struct): Update declarations.
+       (declspecs_add_type): Update declaration.
+
+2009-06-19  Ian Lance Taylor  <iant@google.com>
+
+       * c-decl.c (grokdeclarator): If -Wc++-compat, warn about a global
+       variable with an anonymous type.
+
+2009-06-19  Uros Bizjak  <ubizjak@gmail.com>
+
+       * see.c: Remove for real.
+
+2009-06-19  Uros Bizjak  <ubizjak@gmail.com>
+
+       * optabs.h (enum optab_index): Add new OTI_significand.
+       (significand_optab): Define corresponding macro.
+       * optabs.c (init_optabs): Initialize significand_optab.
+       * genopinit.c (optabs): Implement significand_optab using
+       significand?f2 patterns.
+       * builtins.c (expand_builtin_mathfn): Handle
+       BUILT_IN_SIGNIFICAND{,F,L}.
+       (expand_builtin): Expand BUILT_IN_SIGNIFICAND{,F,L} using
+       expand_builtin_mathfn if flag_unsafe_math_optimizations is set.
+
+       * config/i386/i386.md (significandxf2, significand<mode>2): New
+       expanders to implement significandf, significand and significandl
+       built-ins as inline x87 intrinsics.
+
+2009-06-18  Anatoly Sokolov  <aesok@post.ru>
+
+       * config/avr/avr.c (avr_override_options): Remove setting value of
+       PARAM_INLINE_CALL_COST.
+
+2009-06-18  Richard Henderson  <rth@redhat.com>
+
+       PR 40488
+       * tree-pass.h (TDF_ASMNAME): New.
+       * tree-dump.c (dump_options): Add asmname.
+       * doc/invoke.texi: Document it.
+
+       * tree-pretty-print.c (maybe_dump_asm_name): Merge into...
+       (dump_decl_name): ...here.
+       (dump_function_name): New flags arg; mind TDF_ASMNAME.
+       (dump_generic_node): Update dump_function_name calls.
+       (print_call_name): New flags arg; update all dump calls.
+       * diagnostic.h (print_call_name): Update.
+       * gimple-pretty-print.c (dump_gimple_call): Update.
+
+2009-06-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR target/40470
+       * config/i386/i386.h (CLASS_LIKELY_SPILLED_P): Add SSE_FIRST_REG.
+
+2009-06-18  Diego Novillo  <dnovillo@google.com>
+
+       * doc/plugins.texi: Document plugin_is_GPL_compatible.
+       * plugin.c (str_license): Declare.
+       (try_init_one_plugin): Assert that the symbol
+       'plugin_is_GPL_compatible' exists.
+
 2009-06-18  Sergei Dyshel  <sergeid@il.ibm.com>
 
        * see.c: Remove.
        * timevar.def (TV_SEE): Remove.
        * tree-pass.h (pass_see): Remove declaration.
        * doc/invoke.texi (-fsee): Remove documentation.
-       * testsuite/gcc.dg/20080522-1.c: Remove testcase.
-       * testsuite/gcc.dg/20080528-1.c: Remove testcase.
        
 2009-06-18  Martin Jambor  <mjambor@suse.cz>
 
        * config/rs6000/crtsavgpr.asm: Likewise.
        * config/rs6000/crtsavfpr.asm: Likewise.
 
-       * dwarf2out.c (output_cfi_directive): Pass 1 instead of
-       0 to second argument of DWARF2_FRAME_REG_OUT macros.
+       * dwarf2out.c (output_cfi_directive): Pass 1 instead of 0 to second
+       argument of DWARF2_FRAME_REG_OUT macros.
 
 2009-06-03  Julian Brown  <julian@codesourcery.com>