1. 25 May, 2010 33 commits
    • double-int.h (double_int_and): New. · e233a3b2
      	* double-int.h (double_int_and): New.
      	* combine.c (try_combine): Clean up, use double_int_* and
      	immed_double_int_const functions.
      
      From-SVN: r159842
      Anatoly Sokolov committed
    • configure.ac: Redirect grep stdout, stderr to /dev/null instead of grep -q. · bc492e47
      	libjava:
      	* configure.ac: Redirect grep stdout, stderr to /dev/null instead
      	of grep -q.
      	Use -- instead of grep -e.
      	* configure: Regenerate.
      
      	gcc:
      	* configure.ac (gcc_cv_as_ld_jalr_reloc): Redirect grep stdout,
      	stderr to /dev/null instead of grep -q.
      	* configure: Regenerate.
      
      	contrib:
      	* dg-extract-results.sh: Redirect grep output to /dev/null instead
      	of grep -q.
      
      From-SVN: r159840
      Rainer Orth committed
    • Makefile.in (EXCEPT_H): Fix typo. · 245763e3
      gcc/ChangeLog:
      	* Makefile.in (EXCEPT_H): Fix typo.
      
      objc/ChangeLog:
      	* objc-act.h: Do not include gimple.h.
      	* objc-act.c: Do not include rtl.h, expr.h, libfuncs.h, and tm_p.h.
      	Include gimple.h.  Explain why except.h has to be included.
      	* objc-lang.c: Do not include diagnostics.h.
      	* Make-lang.in: Update dependencies.
      
      objcp/ChangeLog:
      	* objcp-decl.c: Do not include tm.h, rtl.h, expr.h, c-common.h,
      	flags.h, input.h, except.h, output.h, toplev.h, cpplib.h, debug.h,
      	and target.h.
      	* objcp-lang.c: Do not include tm.h, toplev.h, diagnostics.h,
      	and debug.h.  Explain why except.h has to be included.
      	* Make-lang.in: Update dependencies.
      
      cp/ChangeLog:
      	* cp-tree.h: Do not include splay-tree.h.
      	(struct prtmem_cst): Remove unused field and false comment.
      	* typeck.c: Do not include rtl.h, expr.h, and tm_p.h.
      	* optimize.c: Do not inclde rtl.h, insn-config.h, and integrate.h.
      	* init.c: Do not include rtl.h and expr.h.
      	* class.c: Do not include rtl.h.  Include splay-tree.h.
      	(build_clone): Use plain NULL instead of NULL_RTX.
      	* decl.c: Do not include expr.h.  Explain why rtl.h has to be
      	included.  Include splay-tree.h.
      	* method.c: Do not include rtl.h and expr.h.
      	(use_thunk): Use plain NULL instead of NULL_RTX.
      	* except.c: Do not include rtl.h, expr.h, and libfuncs.h.
      	* tree.c: Do not include rtl.h, insn-config.h, integrate.h,
      	and target.h.  Include splay-tree.h.
      	* expr.c: Do not include rtl.h and expr.h.
      	* pt.c: Do not include obstack.h and rtl.h.
      	(tsubst_friend_function): Use plain NULL instead of NULL_RTX.
      	(tsubst_decl): Likewise.
      	(instantiate_decl): Likewise.
      	* semantics.c: Do not include exprt.h and debug.h.  Explain why
      	rtl.h has to be included.
      	* decl2.c: Do not include rtl.h and expr.h.  Include splay-tree.h.
      	* call.c: Do not include rtl.h and expr.h.
      	* search.c: Do not include obstack.h and rtl.h.
      	* friend.c: Do not include rtl.h and expr.h.
      	* Make-lang.in: Update dependencies.
      
      From-SVN: r159839
      Steven Bosscher committed
    • re PR fortran/30668 (-fwhole-file should catch function of wrong type) · 30145da5
      gcc/fortran/:
      2010-05-25  Daniel Franke  <franke.daniel@gmail.com>
      
      	PR fortran/30668
      	PR fortran/31346
      	PR fortran/34260
      	* resolve.c (resolve_global_procedure): Add check for global
      	procedures with implicit interfaces and assumed-shape or optional
      	dummy arguments. Verify that function return type, kind and string
      	lengths match.
      
      gcc/testsuite/:
      2010-05-25  Daniel Franke  <franke.daniel@gmail.com>
      
      	PR fortran/30668
      	PR fortran/31346
      	PR fortran/34260
      	* gfortran.dg/pr40999.f: Fix function type.
      	* gfortran.dg/whole_file_5.f90: Likewise.
      	* gfortran.dg/whole_file_6.f90: Likewise.
      	* gfortran.dg/whole_file_16.f90: New.
      	* gfortran.dg/whole_file_17.f90: New.
      	* gfortran.dg/whole_file_18.f90: New.
      
      From-SVN: r159838
      Daniel Franke committed
    • mangle40.C: Adjust dg-require-alias syntax. · f80e2b00
      2010-05-25  Jack Howarth <howarth@bromo.med.uc.edu>
      	    Iain Sandoe  <iains@gcc.gnu.org>
      
      	* g++.dg/abi/mangle40.C: Adjust dg-require-alias syntax.
      	* gcc.c-torture/compile/pr44197.c: Require alias support.
      	* gcc.dg/lto/20081222_0.c: Ditto.
      
      
      Co-Authored-By: Iain Sandoe <iains@gcc.gnu.org>
      
      From-SVN: r159837
      Jack Howarth committed
    • lang.c (java_classify_record): Return RECORD_IS_INTERFACE for interfaces. · 1a17651b
      	* lang.c (java_classify_record): Return RECORD_IS_INTERFACE
      	for interfaces.
      
      From-SVN: r159835
      Jakub Jelinek committed
    • objc-act.c (objc_build_constructor): Adjust OBJCPLUS impedance mismatch code for VECs. · 263d02e2
      	* objc-act.c (objc_build_constructor): Adjust OBJCPLUS impedance
      	mismatch code for VECs.
      
      From-SVN: r159834
      Nathan Froyd committed
    • re PR libgcj/44216 (All libjava tests fail on IRIX 6.5: ld warns about -no-merge-exidx-entries) · 8352cbb4
      	PR libgcj/44216
      	* configure.ac (libgcj_cv_exidx): Enable AC_LANG_WERROR.
      	Save and restore werror flag.
      	* configure: Regenerate.
      
      From-SVN: r159833
      Rainer Orth committed
    • Rename misnamed test. · c3641fd7
      From-SVN: r159831
      Jakub Jelinek committed
    • ira-build.c (update_conflict_hard_reg_costs): New. · 4ac293e2
              * ira-build.c (update_conflict_hard_reg_costs): New.
              (ira_build): Call update_conflict_hard_reg_costs.
      
      From-SVN: r159830
      Vladimir Makarov committed
    • re PR debug/41371 (var-tracking is slow and memory hungry) · bb9862c6
      	PR debug/41371
      	* var-tracking.c (find_loc_in_1pdv): Guard asserts with
      	ENABLE_CHECKING.
      	(intersect_loc_chains): Walk the s2var's loc_chain together
      	with s1node chain as long as the locations are equal, don't
      	call find_loc_in_1pdv in that case.
      
      From-SVN: r159829
      Jakub Jelinek committed
    • re PR debug/43260 (Java static class members lack DWARF location info) · 6bb0a66a
      	PR debug/43260
      	* java-tree.h (pending_static_fields): New extern declaration.
      	(java_write_globals): New prototype.
      	* lang.c (LANG_HOOKS_WRITE_GLOBALS): Define.
      	* decl.c (java_mark_class_local): When clearing DECL_EXTERNAL
      	of a static field push it into pending_static_fields vector.
      	* class.c (pending_static_fields): New variable.
      	(add_field): If static field is not DECL_EXTERNAL, push it into
      	pending_static_fields vector.
      	(java_write_globals): New function.
      
      From-SVN: r159828
      Jakub Jelinek committed
    • re PR c++/18249 (C++ parser i18n problems) · 9602a7a9
      	PR c++/18249
      	* parser.c (non_integral_constant): Add NIC_NONE.
      	(required_token): Add RT_NONE.
      	(cp_parser_unary_expression): Initialize non_constant_p
      	to NIC_NONE.
      	(cp_parser_asm_definition): Initialize missing to RT_NONE.
      	(cp_parser_primary_expression, cp_parser_postfix_expression,
      	cp_parser_cast_expression, cp_parser_binary_expression,
      	cp_parser_functional_cast): Fix formatting.
      
      From-SVN: r159827
      Jakub Jelinek committed
    • re PR debug/42801 (C VLAs should use DW_AT_allocated) · 60a5d78a
      	PR debug/42801
      	* tree-inline.c (remap_decls): Remap DECL_VALUE_EXPR here...
      	(copy_bind_expr): ... instead of here.
      	(copy_tree_body_r): If id->remapping_type_depth clear TREE_BLOCK
      	if the block hasn't been remapped.
      	* dwarf2out.c (gen_formal_parameter_die, gen_variable_die): When
      	emitting concrete instance of abstract VLA, add DW_AT_type attribute.
      
      	* gcc.dg/guality/sra-2.c: New test.
      
      From-SVN: r159826
      Jakub Jelinek committed
    • re PR middle-end/44069 (optimization bug initializing from cast array) · c946a318
      2010-05-25  Richard Guenther  <rguenther@suse.de>
      
      	PR middle-end/44069
      	* gimple-fold.c (maybe_fold_stmt_addition): Avoid generating
      	out-of-bounds array accesses.
      
      	* g++.dg/torture/pr44069.C: New testcase.
      
      From-SVN: r159824
      Richard Guenther committed
    • lto-wrapper.c (nr, [...]): Globalize. · 50ee30d5
      2010-05-25  Richard Guenther  <rguenther@suse.de>
      
      	* lto-wrapper.c (nr, input_names, output_names, makefile): Globalize.
      	(lto_wrapper_exit): Unlink all LTRANS temporary files on error.
      	(run_gcc): Re-organize to make cleanup easier.
      
      From-SVN: r159823
      Richard Guenther committed
    • s390.c (optimization_options): Fix and move the flag_prefetch_loop_arrays override ... · ca1930ce
      2010-05-25  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
      
      	* config/s390/s390.c (optimization_options): Fix and move the
      	flag_prefetch_loop_arrays override ...
      	(override_options): ... here.
      
      From-SVN: r159822
      Andreas Krebbel committed
    • objc-act.c (objc_build_constructor): Take a VEC instead of a tree. · 076a7055
      	* objc-act.c (objc_build_constructor): Take a VEC instead of a tree.
      	Use build_constructor instead of build_constructor_from_list.
      	(objc_build_string_object): Build a VEC argument for
      	objc_build_constructor.
      	(init_def_list): Likewise.
      	(init_objc_symtab): Likewise.
      	(init_module_descriptor): Likewise.
      	(generate_static_references): Likewise.
      	(build_selector_translation_table): Likewise.
      	(build_descriptor_table_initializer): Likewise.
      	(generate_descriptor_table): Likewise.
      	(build_protocol_initializer): Likewise.
      	(build_ivar_list_initializer): Likewise.
      	(generate_ivars_list): Likewise.
      	(build_dispatch_table_initializer): Likewise.
      	(generate_dispatch_table): Likewise.
      	(generate_protocol_list): Likewise.
      	(build_category_initializer): Likewise.
      	(build_shared_structure_initializer): Likewise.
      	(generate_objc_image_info): Likewise.
      
      From-SVN: r159821
      Nathan Froyd committed
    • config.sub: Update to version 2010-05-21. · 1ab55d69
      	* config.sub: Update to version 2010-05-21.
      	* config.guess: Update to version 2010-04-03.
      
      Also, move a changelog entry to correct ChangeLog.
      
      From-SVN: r159820
      Maxim Kuvyrkov committed
    • diagnostic.c: Don't include plugin.h. · a13812e2
      	* diagnostic.c: Don't include plugin.h.
      	(diagnostic_report_diagnostic): Don't handle plugins specially
      	here.  Pass context to internal_error callback.
      	* diagnostic.h (struct diagnostic_context): Add context parameter
      	to internal_error callback.
      	* plugin.c (warn_if_plugins, plugins_internal_error_function):
      	New.
      	* plugin.h (struct diagnostic_context): Declare.
      	(warn_if_plugins, plugins_internal_error_function): Declare.
      	* toplev.c (general_init): Set global_dc->internal_error.
      	* Makefile.in (diagnostic.o): Update dependencies.
      
      ada:
      	* gcc-interface/misc.c (internal_error_function): Add context
      	parameter.  Use it to access show_column flag and instead of using
      	global_dc.  Call warn_if_plugins.
      	* gcc-interface/Make-lang.in (ada/misc.o): Update dependencies.
      
      From-SVN: r159819
      Joseph Myers committed
    • sra-10.c: Do not dump esra details. · 791bddee
      2010-05-25  Richard Guenther  <rguenther@suse.de>
      
      	* gcc.dg/tree-ssa/sra-10.c: Do not dump esra details.
      
      From-SVN: r159818
      Richard Guenther committed
    • enable multilibs on powerpc64-apple-darwin · 9a2d05e0
      	* config/rs6000/darwin64.h: Update DARWIN_ARCH_SPEC.
      	* config/rs6000/t-darwin64: New.
      	* config.gcc (powerpc64-*-darwin*): Use darwin.opts, t-darwin64,
      	build crt2.
      
      From-SVN: r159817
      Iain Sandoe committed
    • re PR middle-end/44203 (New prefetch test failures) · 8fde8b40
      2010-05-25  Christian Borntraeger  <borntraeger@de.ibm.com>
      
      	PR 44203
      	* tree-ssa-loop-prefetch.c: Fix logic for step calculation to
      	match the original (and intended) behaviour before r159557.  This
      	changeset changed a=a+b*c to a=(a+b)*b which was obviously wrong
      	in two ways.
      
      From-SVN: r159816
      Christian Borntraeger committed
    • invoke.texi: Document -Ofast. · be6d3f0e
      2010-05-25  Richard Guenther  <rguenther@suse.de>
      
      	* doc/invoke.texi: Document -Ofast.
      	* target.h (struct gcc_target): Add handle_ofast.
      	* target-def.h (TARGET_HANDLE_OFAST): Add.
      	(TARGET_INITIALIZER): Adjust.
      	* opts.c (decode_options): Handle -Ofast.  Enable
      	-ffast-math with it.
      	* common.opt (Ofast): Add.
      
      From-SVN: r159815
      Richard Guenther committed
    • tm.texi (STORE_FLAG_VALUE): Do not refer to sCC patterns. · ac5eda13
      2010-05-25  Paolo Bonzini  <bonzini@gnu.org>
      
      	* doc/tm.texi (STORE_FLAG_VALUE): Do not refer to sCC patterns.
      	* doc/md.texi (cstoreXX4): Update for cond-optab changes.
      
      From-SVN: r159814
      Paolo Bonzini committed
    • re PR target/43610 (ICE: in prepare_float_lib_cmp, at optabs.c:4392 with… · 6597fd0b
      re PR target/43610 (ICE: in prepare_float_lib_cmp, at optabs.c:4392 with -fno-trapping-math and _Decimal64 comparison)
      
      2010-05-09  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR target/43610
      	* optabs.c (prepare_float_lib_cmp): Allow reversing the comparison
      	even if !FLOAT_LIB_COMPARE_RETURNS_BOOL.  Always compute true_rtx and
      	false_rtx.  Use false_rtx to compute the correct *ptest for reversed
      	comparisons for which !FLOAT_LIB_COMPARE_RETURNS_BOOL.
      
      From-SVN: r159813
      Paolo Bonzini committed
    • re PR objc/44140 (ObjC lto/whopr fails) · 8524ba70
      
      	PR ObjC/44140
      	* objc.dg/torture/tls/thr-init-3.m: XFAIL lto/whopr for all.
      
      From-SVN: r159812
      Iain Sandoe committed
    • add TLS checks to ObjC++ · 683fc98b
      	* obj-c++.dg/torture/tls/trivial.mm: New.
      	* obj-c++.dg/torture/tls/thr-init-1.mm: New.
      	* obj-c++.dg/torture/tls/thr-init-2.mm: New.
      	* obj-c++.dg/torture/tls/thr-init-3.mm: New.
      	* obj-c++.dg/torture/tls/diag-1.mm: New.
      	* obj-c++.dg/torture/tls/tls.exp: New.
      	* obj-c++.dg/torture/trivial.mm: New.
      	* obj-c++.dg/torture/dg-torture.exp: New.
      	* obj-c++.dg/dg.exp: Gather tests explicitly from the source dir.
      	* obj-c++.dg/tls/trivial.m: New.
      	* obj-c++.dg/tls/init-1.mm: New.
      	* obj-c++.dg/tls/diag-1.mm: New.
      	* obj-c++.dg/tls/init-2.mm: New.
      	* obj-c++.dg/tls/diag-2.mm: New.
      	* obj-c++.dg/tls/diag-3.mm: New.
      	* obj-c++.dg/tls/diag-4.mm: New.
      	* obj-c++.dg/tls/static-1.mm: New.
      	* obj-c++.dg/tls/tls.exp: New.
      	* obj-c++.dg/tls/diag-5.mm: New.
      	* obj-c++.dg/tls/static-1a.mm: New.
      	* objc-obj-c++-shared/Object1.mm: New.
      	* lib/obj-c++-dg.exp (obj-c++-dg-runtest): New proc.
      
      From-SVN: r159810
      Iain Sandoe committed
    • dwarf2out.c (loc_descr_plus_const): When offset is negative, use DW_OP_minus… · 9d4545b2
      dwarf2out.c (loc_descr_plus_const): When offset is negative, use DW_OP_minus with negated offset instead of DW_OP_plus.
      
      	* dwarf2out.c (loc_descr_plus_const): When offset is negative, use
      	DW_OP_minus with negated offset instead of DW_OP_plus.
      	(loc_list_from_tree): Don't test whether second operand is
      	INTEGER_CST.
      
      From-SVN: r159809
      Jakub Jelinek committed
    • re PR c++/18249 (C++ parser i18n problems) · fd33fd10
      2010-05-25  Shujing Zhao  <pearly.zhao@oracle.com>
      
              PR c++/18249
              * parser.c: Remove inclusion of dyn-string.h.
              (non_integral_constant): New enum.
              (name_lookup_error): New enum.
              (required_token): New enum.
              (cp_parser_required_error): New function.
              (cp_parser_require): Change the type of variable token_desc to
              required_token and use cp_parser_required_error.
              (cp_parser_require_keyword): Likewise.
              (cp_parser_error): Use gmsgid as parameter.
              (cp_parser_name_lookup_error): Change the type of variable desired to
              name_lookup_error and put the diagnostic in the full sentences. Change
              caller.
              (cp_parser_non_integral_constant_expression): Change the type of the
              variable thing to non_integral_constant and put the diagnostics in
              full sentences. Change caller.
      
      From-SVN: r159808
      Shujing Zhao committed
    • thumb2.md (thumb2_tlobits_cbranch): Add constraint to tst instruction and a new alternative. · ee4e1706
      	* config/arm/thumb2.md (thumb2_tlobits_cbranch): Add constraint to
      	tst instruction and a new alternative.
      	* config/arm/constraints.md (Pu): New constraint.
      
      From-SVN: r159806
      Wei Guozhi committed
    • re PR objc++/43689 (const-str-5/6 fails) · cf3b8ee3
      2010-05-24  Iain Sandoe  <iains@gcc.gnu.org>
      
      	PR ObjC++/43689
      	* obj-c++.dg/const-str-5.mm: Name pointer equivalence union.
      	* obj-c++.dg/const-str-6.mm: Ditto.
      
      From-SVN: r159805
      Iain Sandoe committed
    • Daily bump. · c9160fef
      From-SVN: r159804
      GCC Administrator committed
  2. 24 May, 2010 7 commits
    • re PR middle-end/44100 (ICE compiling g++.dg/init/struct2.C on Tru64 UNIX V5.1B) · 12a149a0
      	PR middle-end/44100
      	* typeck.c (cp_build_unary_op): Fold offsetof-like computations.
      
      From-SVN: r159800
      Eric Botcazou committed
    • re PR ada/38394 (clashing assembler symbols) · feb4c293
      	PR ada/38394
      	* gnat.dg/array13.ad[sb]: New test.
      
      From-SVN: r159798
      Eric Botcazou committed
    • Fix bootstrap at -O3. · 427188d5
      2010-05-24  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* function.c (assign_stack_local_1): Initialize variable
      	to avoid warning when bootstrapping at -O3.
      
      From-SVN: r159797
      Sebastian Pop committed
    • configure.ac (all_lang_makefiles): Remove everything related to it. · 96ee6e08
      	* configure.ac (all_lang_makefiles): Remove everything related to it.
      	* configure: Regenerate.
      	* Makefile.in: Fix reference to ada Make-lang.in.
      	Remove support for LANG_MAKEFILES.
      
      From-SVN: r159795
      Steven Bosscher committed
    • neon-testgen.ml: Use dg-add-options arm_neon. · 0c422e74
      2010-05-24  Daniel Jacobowitz  <dan@codesourcery.com>
      	    Sandra Loosemore  <sandra@codesourcery.com>
      
      	gcc/
      	* config/arm/neon-testgen.ml: Use dg-add-options arm_neon.
      	* doc/sourcebuild.texi (Effective-Target Keywords): Update arm_neon_ok
      	description.  Add arm_neon_fp16_ok.
      	(Add Options): Add arm_neon and arm_neon_fp16.
      
      	gcc/testsuite/
      	* gcc.target/arm/neon/: Regenerated test cases.
      
      	* gcc.target/arm/neon/polytypes.c,
      	gcc.target/arm/neon-vmla-1.c, gcc.target/arm/neon-vmls-1.c,
      	gcc.target/arm/neon-cond-1.c, gcc.target/arm/neon/vfp-shift-a2t2.c,
      	gcc.target/arm/neon-thumb2-move.c, gcc.dg/torture/arm-fp16-ops-8.c, 
      	gcc.dg/torture/arm-fp16-ops-7.c, g++.dg/ext/arm-fp16/arm-fp16-ops-7.C,
      	g++.dg/ext/arm-fp16/arm-fp16-ops-8.C, g++.dg/abi/mangle-neon.C: Use
      	dg-add-options arm_neon.
      
      	* gcc.target/arm/fp16-compile-vcvt.c, gcc.dg/torture/arm-fp16-ops-5.c,
      	gcc.dg/torture/arm-fp16-ops-6.c, g++.dg/ext/arm-fp16/arm-fp16-ops-5.C,
      	g++.dg/ext/arm-fp16/arm-fp16-ops-6.C: Use dg-add-options arm_neon_fp16
      	and arm_neon_fp16_ok.
      
      	* gcc.dg/vect/vect.exp, g++.dg/vect/vect.exp,
      	gfortran.dg/vect/vect.exp: Use add_options_for_arm_neon.
      
      	* lib/target-supports.exp (add_options_for_arm_neon): New.
      	(check_effective_target_arm_neon_ok_nocache): New, from
      	check_effective_target_arm_neon_ok.  Check multiple possibilities.
      	(check_effective_target_arm_neon_ok): Use
      	check_effective_target_arm_neon_ok_nocache.
      	(add_options_for_arm_neon_fp16)
      	(check_effective_target_arm_neon_fp16_ok)
      	check_effective_target_arm_neon_fp16_ok_nocache): New.
      	(check_effective_target_arm_neon_hw): Use add_options_for_arm_neon.
      
      
      Co-Authored-By: Sandra Loosemore <sandra@codesourcery.com>
      
      From-SVN: r159794
      Daniel Jacobowitz committed
    • diagnostic.c: Don't include flags.h. · 243fbddd
      	* diagnostic.c: Don't include flags.h.
      	(pedantic_warning_kind, permissive_error_kind): Take diagnostic
      	context parameters.  Check flags in the context passed as a
      	parameter.
      	(diagnostic_build_prefix): Add context parameter.  Check
      	show_column flag in context.
      	(diagnostic_action_after_output): Check fatal_errors flag in
      	context.
      	(diagnostic_report_current_module): Check show_column flag in
      	context.
      	(default_diagnostic_starter): Update call to
      	diagnostic_build_prefix.
      	(diagnostic_report_diagnostic): Pass context to
      	pedantic_warning_kind.
      	(emit_diagnostic): Pass context to permissive_error_kind.
      	(permerror): Pass context to permissive_error_kind.
      	* diagnostic.h (struct diagnostic_context): Add show_column,
      	pedantic_errors, permissive and fatal_errors fields.
      	(diagnostic_build_prefix): Update prototype.
      	* langhooks.c
      	* toplev.c (process_options): Set flags in global_dc from
      	flag_show_column, flag_pedantic_errors, flag_permissive,
      	flag_fatal_errors.
      	* tree-diagnostic.c (default_tree_diagnostic_starter): Update call
      	to diagnostic_build_prefix.
      	* Makefile.in (diagnostic.o): Update dependencies.
      
      cp:
      	* error.c (cp_diagnostic_starter): Update call to
      	diagnostic_build_prefix.
      	(cp_print_error_function,
      	print_instantiation_partial_context_line): Check show_column flag
      	in context.
      
      From-SVN: r159793
      Joseph Myers committed
    • re PR c++/41510 ([C++0x] std::complex vs. initialization lists) · 611d6f76
      	PR c++/41510
      	* decl.c (check_initializer): Don't wrap an init-list in a
      	TREE_LIST.
      	* init.c (build_aggr_init): Don't assume copy-initialization if
      	init has CONSTRUCTOR_IS_DIRECT_INIT.
      	* call.c (build_new_method_call): Sanity check.
      
      From-SVN: r159792
      Jason Merrill committed