1. 20 Nov, 2009 6 commits
    • re PR c++/29017 (%s substituted with different untranslated words can't be properly translated) · c86818cf
      /cp
      2009-11-20  Shujing Zhao  <pearly.zhao@oracle.com>
      
      	PR c++/29017
      	* cp-tree.h (composite_pointer_operation): New type.
      	(composite_pointer_type): Adjust prototype with new argument.
      	* typeck.c (composite_pointer_type): Accept
      	composite_pointer_operation as argument and emit diagnostic to be
      	visible to gettext and checked at compile time.
      	(composite_pointer_type_r): Likewise.
      	(common_pointer_type): Update call to composite_pointer_type.
      	(cp_build_binary_op): Likewise.
      	* call.c (build_conditional_expr): Likewise.
      
      /testsuite
      2009-11-20  Shujing Zhao  <pearly.zhao@oracle.com>
      
      	* g++.old-deja/g++.jason/rfg20.C: Make expected dg-error strings
      	explicit.
      	* g++.old-deja/g++.rfg/00321_01-.C: Likewise.
      	* g++.old-deja/g++.rfg/00324_02-.C: Likewise.
      	* g++.old-deja/g++.law/typeck1.C: Likewise.
      	* g++.old-deja/g++.bugs/900324_02.C: Likewise.
      	* g++.dg/conversion/ptrmem9.C: Likewise.
      	* g++.dg/expr/cond2.C: Likewise.
      
      From-SVN: r154360
      Shujing Zhao committed
    • macro.c (enter_macro_context): Call cb.used callback if defined. · 3de8a540
      	* macro.c (enter_macro_context): Call cb.used callback if defined.
      	* directives.c (do_idef, do_ifndef): Ditto.
      	* include/cpplib.h (struct cpp_callbacks): Add used callback.
      
      From-SVN: r154359
      Arnaud Charlet committed
    • re PR fortran/42104 ([F03] runtime segfault with procedure pointer component) · 9f29c05e
      2009-11-20  Paul Thomas  <pault@gcc.gnu.org>
      	    Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/42104
      	* trans-expr.c (gfc_conv_procedure_call): If procedure pointer
      	component call, use the component's 'always_explicit' attr
      	for array arguments.
      
      2009-11-20  Paul Thomas  <pault@gcc.gnu.org>
      	    Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/42104
      	* gfortran.dg/proc_ptr_comp_23.f90 : New test.
      
      
      Co-Authored-By: Janus Weil <janus@gcc.gnu.org>
      
      From-SVN: r154358
      Paul Thomas committed
    • re PR c++/42115 (r154072 & r154073 break build of ppl, non-placement deallocation issue) · 5cd25f07
      	PR c++/42115
      	* call.c (build_op_delete_call): Don't complain about using
      	op delete (void *, size_t) for placement delete if there's an
      	op delete (void *).
      
      From-SVN: r154357
      Jason Merrill committed
    • DR 176 permissiveness · 98fba7f7
      	DR 176 permissiveness
      gcc/
      	* dwarf2out.c (get_context_die): Take TYPE_MAIN_VARIANT.
      gcc/cp/
      	* class.c (build_self_reference): Call set_underlying_type.
      	* decl.c (check_elaborated_type_specifier): Don't complain about
      	injected-class-name.
      	(type_is_deprecated): Use TYPE_MAIN_VARIANT.
      	* pt.c (convert_template_argument): Handle injected-class-name used
      	as template template argument.
      	* typeck2.c (abstract_virtuals_error): Use TYPE_MAIN_VARIANT.
      
      From-SVN: r154354
      Jason Merrill committed
    • Daily bump. · 2fc9ae76
      From-SVN: r154353
      GCC Administrator committed
  2. 19 Nov, 2009 21 commits
  3. 18 Nov, 2009 13 commits
    • gimple.h (union gimple_statement_d): Add gsmembase member. · bb4efb4d
      2009-11-18  Richard Guenther  <rguenther@suse.de>
      
      	* gimple.h (union gimple_statement_d): Add gsmembase member.
      	(gimple_vuse_op): Use gsmembase for access.
      	(gimple_vdef_op): Likewise.
      	(gimple_vuse): Likewise.
      	(gimple_vdef): Likewise.
      	(gimple_vuse_ptr): Likewise.
      	(gimple_vdef_ptr): Likewise.
      	(gimple_set_vuse): Likewise.
      	(gimple_set_vdef): Likewise.
      	* gsstruct.def (GSS_WITH_MEM_OPS_BASE): Add.
      
      From-SVN: r154306
      Richard Guenther committed
    • linkage.exp: Also check -m32 for i*86-*-linux*. · 76425f89
      2009-11-18  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* gcc.misc-tests/linkage.exp: Also check -m32 for i*86-*-linux*.
      
      From-SVN: r154303
      H.J. Lu committed
    • * doc/arm-neon-intrinsics.texi: Regenerated. · 573282f8
      From-SVN: r154302
      Daniel Jacobowitz committed
    • neon-docgen.ml (analyze_shape_elt): Handle Alternatives. · 31d1afde
      	* config/arm/neon-docgen.ml (analyze_shape_elt): Handle
      	Alternatives.
      
      From-SVN: r154301
      Daniel Jacobowitz committed
    • arm.c (FL_ARCH7EM, [...]): Define. · 60bd3528
      2009-11-18  Paul Brook  <paul@codesourcery.com>
      	Daniel Jacobowitz  <dan@codesourcery.com>
      
      	gcc/
      	* config/arm/arm.c (FL_ARCH7EM, FL_FOR_ARCH7EM): Define.
      	(arm_arch7em): New variable.
      	(all_architectures): Add armv7e-m.
      	(arm_override_options): Set arm_arch7em.
      	* config/arm/arm.h (TARGET_DSP_MULTIPLY, TARGET_INT_SIMD):
      	Include arm_arch7em.
      	(arm_arch7em): Declare.
      
      
      Co-Authored-By: Daniel Jacobowitz <dan@codesourcery.com>
      
      From-SVN: r154299
      Paul Brook committed
    • lto-streamer-in.c (input_gimple_stmt): Assert that we find a valid field decl if… · 7caa21fc
      lto-streamer-in.c (input_gimple_stmt): Assert that we find a valid field decl if checking is enabled.
      
      2009-11-18  Richard Guenther  <rguenther@suse.de>
      
      	* lto-streamer-in.c (input_gimple_stmt): Assert that we find
      	a valid field decl if checking is enabled.
      
      From-SVN: r154298
      Richard Guenther committed
    • 20091002-1_0.C: Replace -shared with -r -nostlib. · 647e7a92
              * g++.dg/lto/20091002-1_0.C: Replace -shared with -r -nostlib.
              * g++.dg/lto/20081120-1_0.C: Likewise.
              * g++.dg/lto/20091002-2_0.C: Likewise.
              * g++.dg/lto/20081120-2_0.C: Likewise.
              * g++.dg/lto/20091002-3_0.C: Likewise.
              * g++.dg/lto/20081123_0.C: Likewise.
              * g++.dg/lto/20090313_0.C: Likewise.
              * g++.dg/lto/20081109-1_0.C: Likewise.
              * g++.dg/lto/20081219_0.C: Likewise.
              * g++.dg/lto/20081204-1_0.C: Likewise.
              * g++.dg/lto/20090302_0.C: Likewise.
              * g++.dg/lto/20081119-1_0.C: Likewise.
              * g++.dg/lto/20081118_0.C: Likewise.
      
      From-SVN: r154297
      Nick Clifton committed
    • re PR testsuite/41913 (ERROR: tcl error sourcing gcc.dg/lto/lto.exp) · b31c74fe
      2009-11-18  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR testsuite/41913
      	* lib/lto.exp (scan-symbol): Properly check if target exist.
      
      From-SVN: r154296
      H.J. Lu committed
    • ipa-prop.h (struct ipa_param_call_note): New field lto_stmt_uid. · 661e7330
      2009-11-18  Martin Jambor  <mjambor@suse.cz>
      
      	* ipa-prop.h (struct ipa_param_call_note): New field lto_stmt_uid.
      	(lto_ipa_fixup_call_notes): Declare.
      	* ipa-prop.c (ipa_note_param_call): Store gimple uid.
      	(update_call_notes_after_inlining): Copy call stmt uid to the new
      	edge.
      	(ipa_write_param_call_note): New function.
      	(ipa_read_param_call_note): New function
      	(ipa_write_node_info): Write also param call notes.  Removed a bogus
      	comment, reformatted to fit 80 columns.
      	(ipa_read_node_info): Read also param call notes. Removed a bogus
      	comment.  Remove ipa_edge_args_vector growth.
      	(lto_ipa_fixup_call_notes): New function.
      	* ipa-cp.c (pass_ipa_cp): Add stmt_fixup hook.
      	* ipa-inline.c (cgraph_mark_inline_edge): Perform indirect
      	inlining regardless of flag_wpa.
      	(cgraph_decide_inlining_of_small_functions): Likewise.
      	(cgraph_decide_inlining): Likewise.
      	(inline_read_summary): Likewise.
      
      From-SVN: r154293
      Martin Jambor committed
    • re PR fortran/42072 ([F03] wrong-code with C_F_PROCPOINTER) · 827c5be4
      2009-11-18  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/42072
      	* trans-expr.c (gfc_conv_procedure_call): Handle procedure pointer
      	dummies which are passed to C_F_PROCPOINTER.
      
      
      2009-11-18  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/42072
      	* gfortran.dg/proc_ptr_8.f90: Extended.
      
      From-SVN: r154292
      Janus Weil committed
    • predict.c (compute_function_frequency): Export. · 965b98d0
      
      	* predict.c (compute_function_frequency): Export.
      	* predict.h (compute_function_frequency): Declare.
      	* tree-optimize.c (execute_fixup_cfg): Rescale frequencies.
      
      From-SVN: r154291
      Jan Hubicka committed
    • passes.c (ipa_write_summaries): Call renumber_gimple_stmt_uids on all nodes we write summaries for. · 8b220502
      2009-11-18  Martin Jambor  <mjambor@suse.cz>
      
      	* passes.c (ipa_write_summaries): Call renumber_gimple_stmt_uids
      	on all nodes we write summaries for.
      
      From-SVN: r154290
      Martin Jambor committed
    • re PR c++/40892 (maybe_warn_cpp0x i18n problems) · 848f237b
      /cp
      2009-11-18  Shujing Zhao  <pearly.zhao@oracle.com>
      
      	PR c++/40892
      	* error.c (maybe_warn_cpp0x): Accept enum cpp0x_warn_str as argument.
      	(maybe_warn_variadic_templates): Update the maybe_warn_cpp0x calls to
      	match the new declaration.
      	* cp-tree.h (cpp0x_warn_str): New type.
      	(maybe_warn_cpp0x): Adjust prototype with new argument.
      	* call.c (reference_binding): Update the maybe_warn_cpp0x calls.
      	* decl.c (reshape_init_r, check_initializer, grokdeclarator):
      	Likewise.
      	* parser.c (cp_parser_primary_expression)
      	(cp_parser_parenthesized_expression_list, cp_parser_new_initializer)
      	(cp_parser_assignment_expression, cp_parser_condition)
      	(cp_parser_jump_statement, cp_parser_mem_initializer)
      	(cp_parser_simple_type_specifier, cp_parser_elaborated_type_specifier)
      	(cp_parser_enum_specifier, cp_parser_initializer)
      	(cp_parser_pure_specifier, cp_parser_functional_cast): Likewise.
      
      /testsuite
      2009-11-18  Shujing Zhao  <pearly.zhao@oracle.com>
      
      	* g++.old-deja/g++.other/crash28.C: Make expected dg-error strings
      	explicit.
      	* g++.dg/inherit/error4.C: Likewise.
      	* g++.dg/template/crash90.C: Likewise.
      
      From-SVN: r154288
      Shujing Zhao committed