platform/upstream/linaro-gcc.git
11 years ago * lto-cgraph.c (output_profile_summary, input_profile_summary): Use
hubicka [Fri, 29 Mar 2013 18:07:34 +0000 (18:07 +0000)]
* lto-cgraph.c (output_profile_summary, input_profile_summary): Use
gcov streaming; stream hot bb threshold to ltrans.
* predict.c (get_hot_bb_threshold): Break out from ....
(maybe_hot_count_p): ... here.
(set_hot_bb_threshold): New function.
* lto-section-in.c (lto_section_name): Add profile.
* profile.h (get_hot_bb_threshold, set_hot_bb_threshold): Declare.
* ipa.c: Include hash-table.h, tree-inline.h, profile.h, lto-streamer.h
and data-streamer.h
(histogram_entry): New structure.
(histogram, histogram_pool): New global vars.
(histogram_hash): New structure.
(histogram_hash::hash): New method.
(histogram_hash::equal): Likewise.
(account_time_size): New function.
(cmp_counts): New function.
(dump_histogram): New function.
(ipa_profile_generate_summary): New function.
(ipa_profile_write_summary): New function.
(ipa_profile_read_summary): New function.
(ipa_profile): Decide on threshold.
(pass_ipa_profile): Add ipa_profile_write_summary and ipa_profile_read_summary.
* Makefile.in (ipa.o): Update dependencies.
* lto-streamer.h (LTO_section_ipa_profile): New section.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197243 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * tree.h (VAR_P): New.
gdr [Fri, 29 Mar 2013 16:09:35 +0000 (16:09 +0000)]
* tree.h (VAR_P): New.
cp/
* call.c (build_java_interface_fn_ref): Likewise.
(make_temporary_var_for_ref_to_temp): Likewise.
* class.c (check_field_decls): Likewise.
(layout_class_type): Likewise.
(finish_struct_1): Likewise.
(fixed_type_or_null): Likewise.
(get_vtbl_decl_for_binfo): Likewise.
* cp-gimplify.c (omp_var_to_track): Likewise.
(cp_genericize_r): Likewise.
* cp-objcp-common.c (cxx_warn_unused_global_decl): Likewise.
* cp-tree.h (LANG_DECL_HAS_MIN): Likewise.
(DECL_DISCRIMINATOR_P): Likewise.
* decl.c (poplevel): Likewise.
(decls_match): Likewise.
(duplicate_decls): Likewise.
(decl_jump_unsafe): Likewise.
(start_decl): Likewise.
(check_for_uninitialized_const_var): Likewise.
(make_rtl_for_nonlocal_decl): Likewise.
(cp_finish_decl): Likewise.
(expand_static_init): Likewise.
(local_variable_p): Likewise.
(maybe_register_incomplete_var): Likewise.
* decl2.c (grokfield): Likewise.
(comdat_linkage): Likewise.
(determine_visibility): Likewise.
(import_export_decl): Likewise.
(prune_vars_needing_no_initialization): Likewise.
(decl_maybe_constant_var_p): Likewise.
* error.c (dump_simple_decl): Likewise.
(dump_template_decl): Likewise.
(cp_printer): Likewise.
* except.c (build_throw): Likewise.
* init.c (build_vtbl_address): Likewise.
(member_init_ok_or_else): Likewise.
(build_aggr_init): Likewise.
(expand_aggr_init_1): Likewise.
(build_offset_ref): Likewise.
(constant_value_1): Likewise.
* mangle.c (write_mangled_name): Likewise.
(write_prefix): Likewise.
* name-lookup.c (supplement_binding_1): Likewise.
(add_decl_to_level): Likewise.
(pushdecl_maybe_friend_1): Likewise.
(check_for_out_of_scope_variable): Likewise.
(validate_nonmember_using_decl): Likewise.
(lookup_name_innermost_nonclass_level_1): Likewise.
(lookup_arg_dependent_1): Likewise.
* parser.c (cp_parser_lambda_introducer): Likewise.
(cp_parser_template_argument): Likewise.
(cp_parser_single_declaration): Likewise.
* pt.c (convert_nontype_argument): Likewise.
(instantiate_class_template_1): Likewise.
(tsubst_decl): Likewise.
(tsubst_expr): Likewise.
(do_decl_instantiation): Likewise.
(do_type_instantiation): Likewise.
(regenerate_decl_from_template): Likewise.
(always_instantiate_p): Likewise.
(instantiate_decl): Likewise.
(type_dependent_expression_p): Likewise.
(build_non_dependent_expr): Likewise.
* repo.c (repo_emit_p): Likewise.
* rtti.c (build_dynamic_cast_1): Likewise.
* search.c (shared_member_p): Likewise.
* semantics.c (outer_var_p): Likewise.
(finish_id_expression): Likewise.
(finish_omp_clauses): Likewise.
(finish_decltype_type): Likewise.
(ensure_literal_type_for_constexpr_object): Likewise.
* tree.c (lvalue_kind): Likewise.
(bot_replace): Likewise.
(cp_tree_equal): Likewise.
(handle_init_priority_attribute): Likewise.
(decl_storage_duration): Likewise.
* typeck.c (cxx_sizeof_expr): Likewise.
(cxx_alignof_expr): Likewise.
(decay_conversion): Likewise.
(build_class_member_access_expr): Likewise.
(cp_build_array_ref): Likewise.
(cxx_mark_addressable): Likewise.
(maybe_warn_about_returning_address_of_local): Likewise.
(check_return_expr): Likewise.
* typeck2.c (cxx_readonly_error): Likewise.
(abstract_virtuals_error_sfinae): Likewise.
(cxx_incomplete_type_diagnostic): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197240 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-03-29 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 29 Mar 2013 13:41:14 +0000 (13:41 +0000)]
2013-03-29  Paolo Carlini  <paolo.carlini@oracle.com>

PR lto/56777
* doc/invoke.texi ([-fwhole-program]): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197237 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * cfgbuild.c (inside_basic_block_p): Use JUMP_TABLE_DATA_P in lieu
steven [Fri, 29 Mar 2013 12:11:10 +0000 (12:11 +0000)]
* cfgbuild.c (inside_basic_block_p): Use JUMP_TABLE_DATA_P in lieu
of tests for JUMP_P and a ADDR_DIFF_VEC or ADDR_VEC pattern.
(control_flow_insn_p): Likewise.
* cfgrtl.c (duplicate_insn_chain): Likewise.
* final.c (get_attr_length_1): Likewise.
(shorten_branches): Likewise.
(final_scan_insn): Likewise.
* function.c (instantiate_virtual_regs): Likewise.
* gcse.c (insert_insn_end_basic_block): Likewise.
* ira-costs.c (scan_one_insn): Likewise.
* lra-eliminations.c (eliminate_regs_in_insn): Likewise.
* lra.c (check_rtl): Likewise.
* reload1.c (elimination_costs_in_insn): Likewise.
* reorg.c (follow_jumps): Likewise.

* config/arm/arm.c (is_jump_table): Use JUMP_TABLE_DATA_P in lieu
of tests for JUMP_P and a ADDR_DIFF_VEC or ADDR_VEC pattern.
(thumb_far_jump_used_p): Likewise.
* config/bfin/bfin.c (workaround_rts_anomaly): Likewise.
(workaround_speculation): Likewise.
(add_sched_insns_for_speculation): Likewise.
* config/c6x/c6x.c (reorg_emit_nops): Likewise.
* config/frv/frv.c (frv_function_contains_far_jump): Likewise.
(frv_for_each_packet): Likewise.
* config/i386/i386.c (ix86_avoid_jump_mispredicts): Likewise.
* config/ia64/ia64.c (emit_all_insn_group_barriers): Likewise.
(final_emit_insn_group_barriers): Likewise.
* config/m32r/m32r.c (m32r_is_insn): Likewise.
* config/mips/mips.c (USEFUL_INSN_P): Likewise.
(mips16_insn_length): Likewise.
* config/pa/pa.c (pa_reorg): Likewise.
(pa_combine_instructions): Likewise.
* config/rs6000/rs6000.c (rs6000_invalid_within_doloop): Likewise.
* config/sh/sh.c (fixup_addr_diff_vecs): Likewise.
(sh_reorg): Likewise.
(split_branches): Likewise.
* config/spu/spu.c (get_branch_target): Likewise.

* config/s390/s390.c (s390_chunkify_start): Simplify logic using
JUMP_TABLE_DATA_P.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197234 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoChangeLog:
kyukhin [Fri, 29 Mar 2013 10:39:12 +0000 (10:39 +0000)]
ChangeLog:
* gcc/config/i386/avx2intrin.h (_mm256_broadcastsi128_si256):
Fix declaration name.

testsuite/ChangeLog:
* gcc.target/i386/avx2-vbroadcastsi128-1.c: Fix intrinsic name.
* gcc.target/i386/avx2-vbroadcastsi128-1.c: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197231 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-03-29 Tobias Burnus <burnus@net-b.de>
burnus [Fri, 29 Mar 2013 09:39:47 +0000 (09:39 +0000)]
2012-03-29  Tobias Burnus  <burnus@net-b.de>

        PR fortran/56737
        * io/format.c (parse_format_list): Also cache FMT_STRING.
        (parse_format): Update call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197230 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-03-29 Tobias Burnus <burnus@net-b.de>
burnus [Fri, 29 Mar 2013 09:37:37 +0000 (09:37 +0000)]
2013-03-29  Tobias Burnus  <burnus@net-b.de>

        PR fortran/56737
        * io/format.c (parse_format): With caching, copy
        dtp->format string.
        (save_parsed_format): Use dtp->format directy without
        copying.

2013-03-29  Tobias Burnus  <burnus@net-b.de>

        PR fortran/56737
        * testsuite/gfortran.dg/fmt_cache_3.f90: New.

(Plus: Move fortran/ChangeLog item to libgfortran/ChangeLog)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197229 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-03-29 Tobias Burnus <burnus@net-b.de>
burnus [Fri, 29 Mar 2013 09:32:57 +0000 (09:32 +0000)]
2013-03-29  Tobias Burnus  <burnus@net-b.de>

        PR fortran/56735
        * io/list_read.c (nml_query): Only abort when
        an error occured.
        (namelist_read): Add goto instead of falling through.

2013-03-29  Tobias Burnus  <burnus@net-b.de>

        PR fortran/56735
        * gfortran.dg/namelist_80.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197228 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoRemove various unused items.
crowl [Fri, 29 Mar 2013 07:09:33 +0000 (07:09 +0000)]
Remove various unused items.

2013-03-28  Lawrence Crowl  <crowl@google.com>

Index: gcc/ChangeLog

* graphds.h (struct graph.indicies): Remove unused.
* graphite-poly.h (struct graph.original_pddrs): Remove unused.
(SCOP_ORIGINAL_PDDRS): Remove unused.
* sese.h (extern insert_loop_close_phis): Removed unused.
(extern insert_guard_phis): Removed unused.
(extern ivtype_map_elt_info): Removed unused.
(new_ivtype_map_elt): Removed unused.
* sese.c (ivtype_map_elt_info): Removed unused.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197226 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoAdd uniform debug dump function names.
crowl [Fri, 29 Mar 2013 03:42:21 +0000 (03:42 +0000)]
Add uniform debug dump function names.

Add some overloaded functions that provide uniform debug dump
function names.  These names are:

  debug: the general debug dumper
  debug_verbose: for more details
  debug_raw: for the gory details
  debug_head: for the heads of declarations, e.g. function heads
  debug_body: for the bodies of declarations, e.g. function bodies

Not all types have the last four versions.

The debug functions come in two flavors, those that take pointers
to the type, and those that take references to the type.  The first
handles printing of '<nil>' for null pointers.  The second assumes
a valid reference, and prints the content.

Example uses are as follows:

  cp_token t, *p;
  debug (t);
  debug (p);

From the debugger, use

  call debug (t)

The functions sets implemented are:

debug (only)

    basic_block_def, const bitmap_head_def, cp_binding_level,
    cp_parser, cp_token, data_reference, die_struct, edge_def,
    gimple_statement_d, ira_allocno, ira_allocno_copy, live_range,
    lra_live_range, omega_pb_d, pt_solution, const rtx_def, sreal,
    tree_live_info_d, _var_map,

    vec<cp_token, va_gc>, vec<data_reference_p>, vec<ddr_p>,
    vec<rtx>, vec<tree, va_gc>,

debug and debug_raw

    simple_bitmap_def

debug and debug_verbose

    expr_def, struct loop, vinsn_def

debug, debug_raw, debug_verbose, debug_head, debug_body

    const tree_node

This patch is somewhat different from the original plan at
gcc.gnu.org/wiki/cxx-conversion/debugging-dumps.  The reason
is that gdb has an incomplete implementation of C++ call syntax;
requiring explicit specification of template arguments and explicit
specification of function arguments even when they have default
values.  So, the original plan would have required typing

  call dump <cp_token> (t, 0, 0, stderr)

which is undesireable.  Instead instead of templates, we overload
plain functions.  This adds a small burden of manually adding
the pointer version of dump for each type.  Instead of default
function arguments, we simply assume the default values.  Most of
the underlying dump functions did not use the options and indent
parameters anyway.  Several provide FILE* parameters, but we expect
debugging to use stderr anyway.  So, the explicit specification of
arguments was not as valuable as we thought initially.  Finally,
a change of name from dump to debug reflect the implicit output
to stderr.

Index: gcc/ChangeLog

2013-03-28  Lawrence Crowl  <crowl@google.com>

* Makefile.in: Add several missing include dependences.
(DUMPFILE_H): New.
(test-dump.o): New.  This object is not added to any executable,
but is present for ad-hoc testing.
* bitmap.c
(debug (const bitmap_head_def &)): New.
(debug (const bitmap_head_def *)): New.
* bitmap.h
(extern debug (const bitmap_head_def &)): New.
(extern debug (const bitmap_head_def *)): New.
* cfg.c
(debug (edge_def &)): New.
(debug (edge_def *)): New.
* cfghooks.c
(debug (basic_block_def &)): New.
(debug (basic_block_def *)): New.
* dumpfile.h
(dump_node (const_tree, int, FILE *)): Correct source file.
* dwarf2out.c
(debug (die_struct &)): New.
(debug (die_struct *)): New.
* dwarf2out.h
(extern debug (die_struct &)): New.
(extern debug (die_struct *)): New.
* gimple-pretty-print.c
(debug (gimple_statement_d &)): New.
(debug (gimple_statement_d *)): New.
* gimple-pretty-print.h
(extern debug (gimple_statement_d &)): New.
(extern debug (gimple_statement_d *)): New.
* ira-build.c
(debug (ira_allocno_copy &)): New.
(debug (ira_allocno_copy *)): New.
(debug (ira_allocno &)): New.
(debug (ira_allocno *)): New.
* ira-int.h
(extern debug (ira_allocno_copy &)): New.
(extern debug (ira_allocno_copy *)): New.
(extern debug (ira_allocno &)): New.
(extern debug (ira_allocno *)): New.
* ira-lives.c
(debug (live_range &)): New.
(debug (live_range *)): New.
* lra-int.h
(debug (lra_live_range &)): New.
(debug (lra_live_range *)): New.
* lra-lives.c
(debug (lra_live_range &)): New.
(debug (lra_live_range *)): New.
* omega.c
(debug (omega_pb_d &)): New.
(debug (omega_pb_d *)): New.
* omega.h
(extern debug (omega_pb_d &)): New.
(extern debug (omega_pb_d *)): New.
* print-rtl.c
(debug (const rtx_def &)): New.
(debug (const rtx_def *)): New.
* print-tree.c
(debug_tree (tree): Move within file.
(debug_raw (const tree_node &)): New.
(debug_raw (const tree_node *)): New.
(dump_tree_via_hooks (const tree_node *, int)): New.
(debug (const tree_node &)): New.
(debug (const tree_node *)): New.
(debug_verbose (const tree_node &)): New.
(debug_verbose (const tree_node *)): New.
(debug_head (const tree_node &)): New.
(debug_head (const tree_node *)): New.
(debug_body (const tree_node &)): New.
(debug_body (const tree_node *)): New.
(debug_vec_tree (tree): Move and reimplement in terms of dump.
(debug (vec<tree, va_gc> &)): New.
(debug (vec<tree, va_gc> *)): New.
* rtl.h
(extern debug (const rtx_def &)): New.
(extern debug (const rtx_def *)): New.
* sbitmap.c
(debug_raw (simple_bitmap_def &)): New.
(debug_raw (simple_bitmap_def *)): New.
(debug (simple_bitmap_def &)): New.
(debug (simple_bitmap_def *)): New.
* sbitmap.h
(extern debug (simple_bitmap_def &)): New.
(extern debug (simple_bitmap_def *)): New.
(extern debug_raw (simple_bitmap_def &)): New.
(extern debug_raw (simple_bitmap_def *)): New.
* sel-sched-dump.c
(debug (vinsn_def &)): New.
(debug (vinsn_def *)): New.
(debug_verbose (vinsn_def &)): New.
(debug_verbose (vinsn_def *)): New.
(debug (expr_def &)): New.
(debug (expr_def *)): New.
(debug_verbose (expr_def &)): New.
(debug_verbose (expr_def *)): New.
(debug (vec<rtx> &)): New.
(debug (vec<rtx> *)): New.
* sel-sched-dump.h
(extern debug (vinsn_def &)): New.
(extern debug (vinsn_def *)): New.
(extern debug_verbose (vinsn_def &)): New.
(extern debug_verbose (vinsn_def *)): New.
(extern debug (expr_def &)): New.
(extern debug (expr_def *)): New.
(extern debug_verbose (expr_def &)): New.
(extern debug_verbose (expr_def *)): New.
(extern debug (vec<rtx> &)): New.
(extern debug (vec<rtx> *)): New.
* sel-sched-ir.h
(_list_iter_cond_expr): Make inline instead of static.
* sreal.c
(debug (sreal &)): New.
(debug (sreal *)): New.
* sreal.h
(extern debug (sreal &)): New.
(extern debug (sreal *)): New.
* tree.h
(extern debug_raw (const tree_node &)): New.
(extern debug_raw (const tree_node *)): New.
(extern debug (const tree_node &)): New.
(extern debug (const tree_node *)): New.
(extern debug_verbose (const tree_node &)): New.
(extern debug_verbose (const tree_node *)): New.
(extern debug_head (const tree_node &)): New.
(extern debug_head (const tree_node *)): New.
(extern debug_body (const tree_node &)): New.
(extern debug_body (const tree_node *)): New.
(extern debug (vec<tree, va_gc> &)): New.
(extern debug (vec<tree, va_gc> *)): New.
* tree-cfg.c
(debug (struct loop &)): New.
(debug (struct loop *)): New.
(debug_verbose (struct loop &)): New.
(debug_verbose (struct loop *)): New.
* tree-dump.c: Add header dependence.
* tree-flow.h
(extern debug (struct loop &)): New.
(extern debug (struct loop *)): New.
(extern debug_verbose (struct loop &)): New.
(extern debug_verbose (struct loop *)): New.
* tree-data-ref.c
(debug (data_reference &)): New.
(debug (data_reference *)): New.
(debug (vec<data_reference_p> &)): New.
(debug (vec<data_reference_p> *)): New.
(debug (vec<ddr_p> &)): New.
(debug (vec<ddr_p> *)): New.
* tree-data-ref.h
(extern debug (data_reference &)): New.
(extern debug (data_reference *)): New.
(extern debug (vec<data_reference_p> &)): New.
(extern debug (vec<data_reference_p> *)): New.
(extern debug (vec<ddr_p> &)): New.
(extern debug (vec<ddr_p> *)): New.
* tree-ssa-alias.c
(debug (pt_solution &)): New.
(debug (pt_solution *)): New.
* tree-ssa-alias.h
(extern debug (pt_solution &)): New.
(extern debug (pt_solution *)): New.
* tree-ssa-alias.c
(debug (_var_map &)): New.
(debug (_var_map *)): New.
(debug (tree_live_info_d &)): New.
(debug (tree_live_info_d *)): New.
* tree-ssa-alias.h
(extern debug (_var_map &)): New.
(extern debug (_var_map *)): New.
(extern debug (tree_live_info_d &)): New.
(extern debug (tree_live_info_d *)): New.

Index: gcc/cp/ChangeLog

2013-03-28  Lawrence Crowl  <crowl@google.com>

* Make-lang.in
(CXX_PARSER_H): Add header dependence.
* cp-tree.h
(extern debug (cp_binding_level &)): New.
(extern debug (cp_binding_level *)): New.
* name-lookup.h
(debug (cp_binding_level &)): New.
(debug (cp_binding_level *)): New.
* parser.c
(debug (cp_parser &)): New.
(debug (cp_parser *)): New.
(debug (cp_token &)): New.
(debug (cp_token *)): New.
(debug (vec<cp_token, va_gc> &)): New.
(debug (vec<cp_token, va_gc> *)): New.
* parser.c: Add header dependence.
(extern debug (cp_parser &)): New.
(extern debug (cp_parser *)): New.
(extern debug (cp_token &)): New.
(extern debug (cp_token *)): New.
(extern debug (vec<cp_token, va_gc> &)): New.
(extern debug (vec<cp_token, va_gc> *)): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197224 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Fri, 29 Mar 2013 00:16:45 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197223 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * lto-cgraph.c (merge_profile_summaries): Fix overflows.
hubicka [Thu, 28 Mar 2013 23:31:58 +0000 (23:31 +0000)]
* lto-cgraph.c (merge_profile_summaries): Fix overflows.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197218 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-03-28 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Thu, 28 Mar 2013 21:30:26 +0000 (21:30 +0000)]
2013-03-28  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/45159
* gfortran.h (gfc_dep_difference):  Add prototype.
* dependency.c (discard_nops):  New function.
(gfc_dep_difference):  New function.
(check_section_vs_section):  Use gfc_dep_difference
to calculate the difference of starting indices.
* trans-expr.c (gfc_conv_substring):  Use
gfc_dep_difference to calculate the length of
substrings where possible.

2013-03-28  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/45159
* gfortran.dg/string_length_2.f90:  New test.
* gfortran.dg/dependency_41.f90:  New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197217 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-03-28 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Thu, 28 Mar 2013 21:02:00 +0000 (21:02 +0000)]
2013-03-28  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/55806
* frontend-passes.c (optimize_code):  Keep track of
current code to make code insertion possible.
(combine_array_constructor):  New function.
(optimize_op):  Call it.

2013-03-28  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/55806
* gfortran.dg/array_constructor_43.f90:  New test.
* gfortran.dg/random_seed_3.f90:  New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197216 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago[AArch64] Only maintain frame record when required or desired
ibolton [Thu, 28 Mar 2013 20:33:15 +0000 (20:33 +0000)]
[AArch64] Only maintain frame record when required or desired

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197215 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/17232
jason [Thu, 28 Mar 2013 18:21:06 +0000 (18:21 +0000)]
PR c++/17232
PR c++/52748
* typeck2.c (abstract_virtuals_error_sfinae): Don't complete
the type if tf_decltype is set.
* pt.c (fn_type_unification): Add decltype_p parm.
(get_bindings): Adjust.
* cp-tree.h: Adjust.
* class.c (resolve_address_of_overloaded_function): Adjust.
* call.c (add_template_candidate_real, print_z_candidate): Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197214 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/56679
jason [Thu, 28 Mar 2013 18:20:58 +0000 (18:20 +0000)]
PR c++/56679
* parser.c (cp_parser_sizeof_pack): Split out from...
(cp_parser_sizeof_operand): ...here.  Require (id).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197213 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/56701
jason [Thu, 28 Mar 2013 18:20:51 +0000 (18:20 +0000)]
PR c++/56701
* semantics.c (finish_this_expr): 'this' is an rvalue.
* typeck.c (cp_build_indirect_ref): Handle NOP_EXPR of 'this'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197212 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/56710
jason [Thu, 28 Mar 2013 18:20:45 +0000 (18:20 +0000)]
PR c++/56710
* semantics.c (finish_member_declaration): Don't push closure
members.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197211 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * name-lookup.c (pushdecl_maybe_friend_1): Use
jason [Thu, 28 Mar 2013 18:20:37 +0000 (18:20 +0000)]
* name-lookup.c (pushdecl_maybe_friend_1): Use
nonlambda_method_basetype and current_nonlambda_class_type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197210 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/56728
jason [Thu, 28 Mar 2013 18:20:30 +0000 (18:20 +0000)]
PR c++/56728
* semantics.c (potential_constant_expression_1) [NOP_EXPR]: Reject
conversion from integer to pointer.
(cxx_eval_constant_expression): Likewise.
(cxx_eval_indirect_ref): Use the folded operand if we still think
this might be constant.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197209 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * config/i386/i386.md (*vec_extract2vdi_1): Merge with
uros [Thu, 28 Mar 2013 18:18:50 +0000 (18:18 +0000)]
* config/i386/i386.md (*vec_extract2vdi_1): Merge with
*vec_extractv2di_1_rex64.  Use x64 isa attribute.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197208 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-03-28 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
mshawcroft [Thu, 28 Mar 2013 17:19:06 +0000 (17:19 +0000)]
2013-03-28   Naveen H.S  <Naveen.Hurugalawadi@caviumnetworks.com>

* config/aarch64/aarch64.md (*and<mode>3_compare0): New pattern.
(*andsi3_compare0_uxtw): New pattern.
(*and_<SHIFT:optab><mode>3_compare0): New pattern.
(*and_<SHIFT:optab>si3_compare0_uxtw): New pattern.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197207 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago/cp
paolo [Thu, 28 Mar 2013 16:03:32 +0000 (16:03 +0000)]
/cp
2013-03-28  Paolo Carlini  <paolo.carlini@oracle.com>
    Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

PR c++/56725
* call.c (convert_like_real): Change series of two permerrors
to permerror + inform (and likewise for two errors).
(build_new_method_call_1): Likewise.
* typeck.c (convert_for_initialization): Change additional
warning or error to inform.

/testsuite
2013-03-28  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/56725
* g++.dg/conversion/op4.C: Adjust.
* g++.dg/cpp0x/rv1n.C: Likewise.
* g++.dg/cpp0x/rv2n.C: Likewise.
* g++.dg/cpp0x/template_deduction.C: Likewise.
* g++.dg/expr/cond8.C: Likewise.
* g++.dg/other/error4.C: Likewise.
* g++.old-deja/g++.bugs/900514_03.C: Likewise.
* g++.old-deja/g++.bugs/900519_02.C: Likewise.
* g++.old-deja/g++.bugs/900519_03.C: Likewise.
* g++.old-deja/g++.bugs/900520_02.C: Likewise.
* g++.old-deja/g++.jason/conversion2.C: Likewise.
* g++.old-deja/g++.law/cvt20.C: Likewise.
* g++.old-deja/g++.law/cvt8.C: Likewise.
* g++.old-deja/g++.law/init8.C: Likewise.
* g++.old-deja/g++.mike/net12.C: Likewise.
* g++.old-deja/g++.mike/net8.C: Likewise.
* g++.old-deja/g++.mike/p2793.C: Likewise.
* g++.old-deja/g++.mike/p3836.C: Likewise.
* g++.old-deja/g++.mike/p418.C: Likewise.
* g++.old-deja/g++.mike/p701.C: Likewise.
* g++.old-deja/g++.mike/p807.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197206 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * data-streamer-in.c (streamer_read_gcov_count): New function.
hubicka [Thu, 28 Mar 2013 15:29:40 +0000 (15:29 +0000)]
* data-streamer-in.c (streamer_read_gcov_count): New function.
* gimple-streamer-out.c: Include value-prof.h.
(output_gimple_stmt): Output histogram.
(output_bb): Use streamer_write_gcov_count.
* value-prof.c: Include data-streamer.h
(dump_histogram_value): Add HIST_TYPE_MAX.
(stream_out_histogram_value): New function.
(stream_in_histogram_value): New function.
* value-prof.h (enum hist_type): Add HIST_TYPE_MAX.
(stream_out_histogram_value, stream_in_histogram_value): Declare.
* data-streamer-out.c (streamer_write_gcov_count): New function.
(streamer_write_gcov_count_stream): New function.
* lto-cgraph.c (lto_output_edge): Update counter streaming.
(lto_output_node): Likewise.
(input_node, input_edge): Likewise.
* lto-streamer-out.c (output_cfg): Update streaming.
* lto-streamer-in.c (input_cfg): Likewise.
* data-streamer.h (streamer_write_gcov_count,
streamer_write_gcov_count_stream, streamer_read_gcov_count): Declare.
* gimple-streamer-in.c: Include value-prof.h
(input_gimple_stmt): Input histograms.
(input_bb): Update profile streaming.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197205 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-03-28 Tejas Belagod <tejas.belagod@arm.com>
belagod [Thu, 28 Mar 2013 14:57:43 +0000 (14:57 +0000)]
2013-03-28  Tejas Belagod  <tejas.belagod@arm.com>

PR middle-end/56694
* g++.dg/torture/pr56694.C: Fix test case to build on bare-metal
targets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197201 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-03-28 Kenneth Zadeck <zadeck@naturalbridge.com>
zadeck [Thu, 28 Mar 2013 14:46:31 +0000 (14:46 +0000)]
2013-03-28  Kenneth Zadeck <zadeck@naturalbridge.com>

    * genmodes.c (emit_max_int): New function.
(emit_insn_modes_h): Added call to emit_max_function.
* doc/rtl.texi (MAX_BITSIZE_MODE_ANY_INT, MAX_BITSIZE_MODE_ANY_MODE): Added doc.
* machmode.def: Fixed comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197200 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-03-28 Kenneth Zadeck <zadeck@naturalbridge.com>
zadeck [Thu, 28 Mar 2013 14:09:46 +0000 (14:09 +0000)]
2013-03-28  Kenneth Zadeck <zadeck@naturalbridge.com>

* combine.c (try_combine): Removed useless assert.
* cselib.c (rtx_equal_for_cselib_1): Removed unnecessary parens.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197198 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * cp-tree.h (next_aggr_init_expr_arg): Remove static specifier.
gdr [Thu, 28 Mar 2013 13:48:56 +0000 (13:48 +0000)]
* cp-tree.h (next_aggr_init_expr_arg): Remove static specifier.
(first_aggr_init_expr): Likewise.
(more_aggr_init_expr_args_p): Likewise.
(type_of_this_parm): Likewise.
(class_of_this_parm): Likewise.
* name-lookup.h (get_global_value_if_present): Likewise.
(is_typename_at_global_scope): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197196 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoPR tree-optimization/56695
mpolacek [Thu, 28 Mar 2013 11:14:44 +0000 (11:14 +0000)]
PR tree-optimization/56695
* tree-vect-stmts.c (vectorizable_condition): Unconditionally
build signed result of a vector comparison.
* tree-cfg.c (verify_gimple_comparison): Check that a result
of a vector comparison has signed type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197192 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-03-28 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Thu, 28 Mar 2013 10:00:05 +0000 (10:00 +0000)]
2013-03-28  Paolo Carlini  <paolo.carlini@oracle.com>

* call.c (joust): Don't call inform for a permerror returning false.
* parser.c (cp_parser_check_class_key): Likewise.
* pt.c (tsubst_copy_and_build): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197190 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-03-28 Richard Biener <rguenther@suse.de>
rguenth [Thu, 28 Mar 2013 09:55:15 +0000 (09:55 +0000)]
2013-03-28  Richard Biener  <rguenther@suse.de>

PR tree-optimization/37021
* tree-vect-slp.c (vect_build_slp_tree): When not unrolling
do not restrict gaps between groups.
* tree-vect-stmts.c (vectorizable_load): Properly account for
a gap between groups.

* gcc.dg/vect/fast-math-slp-38.c: New testcase.
* gcc.dg/vect/O3-pr36098.c: Un-XFAIL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197189 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * toplev.c (process_options): Do not disable -fomit-frame-pointer on a
ebotcazou [Thu, 28 Mar 2013 08:29:10 +0000 (08:29 +0000)]
* toplev.c (process_options): Do not disable -fomit-frame-pointer on a
general basis if unwind info is requested and ACCUMULATE_OUTGOING_ARGS
is not enabled.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197186 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Thu, 28 Mar 2013 00:16:44 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197184 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * doc/invoke.texi (AVR Options): Tweak link for AVR-LibC user manual.
gerald [Wed, 27 Mar 2013 22:39:27 +0000 (22:39 +0000)]
* doc/invoke.texi (AVR Options): Tweak link for AVR-LibC user manual.
* doc/extend.texi (Named Address Spaces): Ditto.
(Variable Attributes): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197180 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * configure: Regenerated.
ktietz [Wed, 27 Mar 2013 22:01:39 +0000 (22:01 +0000)]
* configure: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197179 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * configure: Regenerated.
ktietz [Wed, 27 Mar 2013 22:00:53 +0000 (22:00 +0000)]
* configure: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197178 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * configure: Regenerated.
ktietz [Wed, 27 Mar 2013 22:00:03 +0000 (22:00 +0000)]
* configure: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197177 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-03-27 Kai Tietz <ktietz@redhat.com>
ktietz [Wed, 27 Mar 2013 21:59:10 +0000 (21:59 +0000)]
2013-03-27  Kai Tietz  <ktietz@redhat.com>

* config.host: Add support for cygwin x64 target.
* configure: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197176 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoFix whitespace issue
ktietz [Wed, 27 Mar 2013 21:58:04 +0000 (21:58 +0000)]
Fix whitespace issue

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197175 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * crossconfig.m4: Add support for cygwin x64 target.
ktietz [Wed, 27 Mar 2013 21:56:57 +0000 (21:56 +0000)]
* crossconfig.m4: Add support for cygwin x64 target.
* configure: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197174 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * zh_TW.po: Update.
jsm28 [Wed, 27 Mar 2013 21:55:16 +0000 (21:55 +0000)]
* zh_TW.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197172 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * config.build: Add support for cygwin x64 target.
ktietz [Wed, 27 Mar 2013 21:54:50 +0000 (21:54 +0000)]
    * config.build: Add support for cygwin x64 target.
        * config.gcc: Likewise.
        * config.host: Likewise.
        * configure.ac: Likewise
        * configure: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197171 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * dfp.m4: Add support for cygwin x64 target.
ktietz [Wed, 27 Mar 2013 21:53:32 +0000 (21:53 +0000)]
    * dfp.m4: Add support for cygwin x64 target.
        * picflag.m4: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197170 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * config/i386/cygwin-stdint.h: Add support for cygwin x64 target.
ktietz [Wed, 27 Mar 2013 20:54:01 +0000 (20:54 +0000)]
* config/i386/cygwin-stdint.h: Add support for cygwin x64 target.
* config/i386/t-cygwin-w64: New file.
* config/i386/cygwin-w64.h: New file.
* config/i386/cygwin.h (EXTRA_OS_CPP_BUILTINS): Extend
and add support for x64-cygwin target.
(CPP_SPEC): Likewise.
(CXX_WRAP_SPEC_LIST): Undefine before define.
(LIBGCJ_SONAME): Use 15 as version.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197168 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/56749
jason [Wed, 27 Mar 2013 18:21:12 +0000 (18:21 +0000)]
PR c++/56749
* semantics.c (finish_qualified_id_expr): Return early
for enum scope.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197166 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-03-27 Richard Biener <rguenther@suse.de>
rguenth [Wed, 27 Mar 2013 15:10:50 +0000 (15:10 +0000)]
2013-03-27  Richard Biener  <rguenther@suse.de>

PR tree-optimization/56716
* tree-ssa-structalias.c (perform_var_substitution): Adjust
dumping for ref nodes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197165 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-03-27 Martin Jambor <mjambor@suse.cz>
jamborm [Wed, 27 Mar 2013 14:06:58 +0000 (14:06 +0000)]
2013-03-27  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/55334
* ipa-cp.c (initialize_node_lattices): Allow IPA-CP through and to
restricted pointers to arrays.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197163 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * Makefile.in (.SUFFIXES): Add .cc.
gdr [Wed, 27 Mar 2013 13:20:12 +0000 (13:20 +0000)]
* Makefile.in (.SUFFIXES): Add .cc.
(.c.o): Apply same recipe for implicit rule .cc.o.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197162 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-03-27 Tobias Burnus <burnus@net-b.de>
burnus [Wed, 27 Mar 2013 10:45:58 +0000 (10:45 +0000)]
2013-03-27  Tobias Burnus  <burnus@net-b.de>

        PR fortran/56650
        PR fortran/36437
        * check.c (gfc_check_sizeof, gfc_check_c_sizeof,
        gfc_check_storage_size): Update checks.
        * intrinsic.texi (SIZEOF): Correct class.
        * intrinsic.h (gfc_simplify_sizeof,
        gfc_simplify_storage_size): New prototypes.
        * intrinsic.c (add_functions): Use them.
        * simplify.c (gfc_simplify_sizeof,
        gfc_simplify_storage_size): New functions.

2013-03-27  Tobias Burnus  <burnus@net-b.de>

        PR fortran/56650
        PR fortran/36437
        * gfortran.dg/sizeof_2.f90: New.
        * gfortran.dg/sizeof_3.f90: New.
        * gfortran.dg/sizeof_proc.f90: Update dg-error.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197159 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-03-27 Richard Biener <rguenther@suse.de>
rguenth [Wed, 27 Mar 2013 10:38:29 +0000 (10:38 +0000)]
2013-03-27  Richard Biener  <rguenther@suse.de>

PR tree-optimization/37021
* tree-vect-data-refs.c (vect_check_strided_load): Allow
REALPART/IMAGPART_EXPRs around the supported refs.
* tree-ssa-structalias.c (find_func_aliases): Assume that
floating-point values are not used to transfer pointers.

* gfortran.dg/vect/fast-math-pr37021.f90: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197158 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * g++.dg/ipa/ivinline-1.C: Add target nonpic.
kyukhin [Wed, 27 Mar 2013 10:00:43 +0000 (10:00 +0000)]
    * g++.dg/ipa/ivinline-1.C: Add target nonpic.
        * g++.dg/ipa/ivinline-2.C: Likewise.
        * g++.dg/ipa/ivinline-3.C: Likewise.
        * g++.dg/ipa/ivinline-4.C: Likewise.
        * g++.dg/ipa/ivinline-5.C: Likewise.
        * g++.dg/ipa/ivinline-7.C: Likewise.
        * g++.dg/ipa/ivinline-8.C: Likewise.
        * g++.dg/ipa/ivinline-9.C: Likewise.
        * g++.dg/cpp0x/noexcept03.C: Likewise.
        * gcc.dg/const-1.c: Likewise.
        * gcc.dg/ipa/pure-const-1.c: Likewise.
        * gcc.dg/noreturn-8.c: Likewise.
        * gcc.target/i386/mmx-1.c: Likewise.
        * gcc.dg/tree-ssa/ipa-split-5.c: Likewise.
        * gcc.dg/tree-ssa/loadpre6.c: Likewise.
        * gcc.c-torture/execute/pr33992.x: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197157 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * gcc/target.def (TARGET_HAS_IFUNC_P): New target hook.
kyukhin [Wed, 27 Mar 2013 09:55:19 +0000 (09:55 +0000)]
    * gcc/target.def (TARGET_HAS_IFUNC_P): New target hook.
        * gcc/doc/tm.texi.in (TARGET_HAS_IFUNC_P): New.
        * gcc/doc/tm.texi: Regenerate.
        * gcc/targhooks.h (default_has_ifunc_p): New.
        * gcc/targhooks.c (default_has_ifunc_p): Ditto.
        * gcc/config/linux-protos.h: New file.
        * gcc/config/linux-android.h (TARGET_HAS_IFUNC_P): Using version of
        this hook for linux which disables support of indirect functions in
        android.
        * gcc/config/linux-android.c: New file.
        * gcc/config/t-linux-android.c: Ditto.
        * gcc/config.gcc: Added new object file linux-android.o.
        * gcc/config/i386/i386.c (ix86_get_function_versions_dispatcher):
        Using TARGET_HAS_IFUNC hook instead of HAVE_GNU_INDIRECT_FUNCTION.
        * gcc/varasm.c (do_assemble_alias): Likewise.
        * configure.ac: Define HAVE_GNU_INDIRECT_FUNCTION as zero if the target
        doesn't support indirect functions.
        * configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197156 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR target/56102
amker [Wed, 27 Mar 2013 08:16:54 +0000 (08:16 +0000)]
PR target/56102
* config/arm/arm.c (thumb1_rtx_costs, thumb1_size_rtx_costs): Fix
rtx costs for SET/ASHIFT/ASHIFTRT/LSHIFTRT/ROTATERT patterns with
mult-word mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197155 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoI've committed the attached patch.
krebbel [Wed, 27 Mar 2013 07:46:19 +0000 (07:46 +0000)]
I've committed the attached patch.

2013-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* config/s390/s390.h (TARGET_FLT_EVAL_METHOD): Define.

---
 gcc/config/s390/s390.h |    5 +++++
 1 file changed, 5 insertions(+)

Index: gcc/config/s390/s390.h
===================================================================
*** gcc/config/s390/s390.h.orig
--- gcc/config/s390/s390.h
*************** enum processor_flags
*** 164,169 ****
--- 164,174 ----
  #define S390_TDC_INFINITY (S390_TDC_POSITIVE_INFINITY \
     | S390_TDC_NEGATIVE_INFINITY )

+ /* This is used by float.h to define the float_t and double_t data
+    types.  For historical reasons both are double on s390 what cannot
+    be changed anymore.  */
+ #define TARGET_FLT_EVAL_METHOD 1
+
  /* Target machine storage layout.  */

  /* Everything is big-endian.  */

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197154 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-03-27 Terry Guo <terry.guo@arm.com>
xguo [Wed, 27 Mar 2013 07:37:32 +0000 (07:37 +0000)]
2013-03-27  Terry Guo  <terry.guo@arm.com>

* config/arm/arm-cores.def: Added core cortex-r7.
* config/arm/arm-tune.md: Regenerated.
* config/arm/arm-tables.opt: Regenerated.
* doc/invoke.texi: Added entry for core cortex-r7.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197153 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoFix typo in ChangeLog.
walt [Wed, 27 Mar 2013 06:53:21 +0000 (06:53 +0000)]
Fix typo in ChangeLog.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197152 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * config/tilegx/tilegx.c (tilegx_expand_prologue): Avoid
walt [Wed, 27 Mar 2013 06:18:49 +0000 (06:18 +0000)]
* config/tilegx/tilegx.c (tilegx_expand_prologue): Avoid
double-decrement of next_scratch_regno.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197139 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * config/tilegx/tilegx.md (insn_v1mulu): Fix constraints on
walt [Wed, 27 Mar 2013 06:17:18 +0000 (06:17 +0000)]
* config/tilegx/tilegx.md (insn_v1mulu): Fix constraints on
input operands.
(insn_v1mulus): Ditto.
(insn_v2muls): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197138 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * config/tilegx/tilegx.h (ASM_OUTPUT_ADDR_VEC_ELT): Delete
walt [Wed, 27 Mar 2013 06:13:11 +0000 (06:13 +0000)]
* config/tilegx/tilegx.h (ASM_OUTPUT_ADDR_VEC_ELT): Delete
extra tab.
(ASM_OUTPUT_ADDR_DIFF_ELT): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197137 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * config/tilegx/tilegx.md (*sibcall_insn): Fix type atribute
walt [Wed, 27 Mar 2013 06:11:35 +0000 (06:11 +0000)]
* config/tilegx/tilegx.md (*sibcall_insn): Fix type atribute
for jr.
(*sibcall_value): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197136 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * config/tilegx/tilegx.md (insn_mnz_<mode>): Replaced by ...
walt [Wed, 27 Mar 2013 06:08:01 +0000 (06:08 +0000)]
* config/tilegx/tilegx.md (insn_mnz_<mode>): Replaced by ...
(insn_mnz_v8qi): ... this ...
(insn_mnz_v4hi): ... and this.  Replace (const_int 0) with the
vector equivalent.
(insn_v<n>mnz): Replaced by ...
(insn_v1mnz): ... this ...
(insn_v2mnz): ... and this.  Replace (const_int 0) with the vector
equivalent.
(insn_mz_<mode>): Replaced by ...
(insn_mz_v8qi): ... this ...
(insn_mz_v4hi): ... and this.  Replace (const_int 0) with the
vector equivalent.
(insn_v<n>mz): Replaced by ...
(insn_v1mz): ... this ...
(insn_v2mz): ... and this.  Replace (const_int 0) with the vector
equivalent.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197135 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * call.c (build_new_method_call_1): Use INDIRECT_REF_P.
gdr [Wed, 27 Mar 2013 03:22:31 +0000 (03:22 +0000)]
* call.c (build_new_method_call_1): Use INDIRECT_REF_P.
* cvt.c (convert_to_void): Likewise.
* error.c (dump_expr): Likewise.
* mangle.c (write_expression): Likewise.
* parser.c (cp_parser_template_argument): Likewise.
* pt.c (convert_nontype_argument): Likewise.
(tsubst_copy_and_build): Likewise.
* rtti.c (build_typeid): Likewise.
* semantics.c (finish_call_expr): Likewise.
(finish_decltype_type): Likewise.
(build_data_member_initialization): Likewise.
* tree.c (is_dummy_object): Likewise.
* typeck.c (decay_conversion): Likewise.
(build_class_member_access_expr): Likewise.
(cp_build_addr_expr_1): Likewise.
(unary_complex_lvalue): Likewise.
(check_return_expr): Likewise.
* typeck2.c (cxx_readonly_error): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197132 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/52597
jason [Wed, 27 Mar 2013 03:01:41 +0000 (03:01 +0000)]
PR c++/52597
* typeck.c (invalid_nonstatic_memfn_p): Use get_first_fn.  Take tree.
* semantics.c (finish_decltype_type): Check it before type_unknown_p.
* cp-tree.h: Adjust prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197131 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/45282
jason [Wed, 27 Mar 2013 03:01:34 +0000 (03:01 +0000)]
PR c++/45282
* typeck2.c (build_m_component_ref): Handle prvalue object.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197130 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Wed, 27 Mar 2013 00:16:48 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197129 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * gcc.c-torture/execute/20011008-3.c: Cap VLEN with STACK_SIZE too.
ebotcazou [Tue, 26 Mar 2013 22:32:12 +0000 (22:32 +0000)]
* gcc.c-torture/execute/20011008-3.c: Cap VLEN with STACK_SIZE too.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197125 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoPR 25708 Use a temporary buffer when parsing module files.
jb [Tue, 26 Mar 2013 22:08:17 +0000 (22:08 +0000)]
PR 25708 Use a temporary buffer when parsing module files.

2013-03-27  Janne Blomqvist  <jb@gcc.gnu.org>

PR fortran/25708
        * module.c (module_locus): Use long for position.
        (module_content): New variable.
        (module_pos): Likewise.
        (prev_character): Remove.
        (bad_module): Free data instead of closing mod file.
        (set_module_locus): Use module_pos.
        (get_module_locus): Likewise.
        (module_char): use buffer rather than stdio file.
        (module_unget_char): Likewise.
        (read_module_to_tmpbuf): New function.
        (gfc_use_module): Call read_module_to_tmpbuf.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197124 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * doc/invoke.texi (SPARC options): Remove -mlittle-endian.
ebotcazou [Tue, 26 Mar 2013 22:04:26 +0000 (22:04 +0000)]
* doc/invoke.texi (SPARC options): Remove -mlittle-endian.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197120 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * cp-gimplify.c (cp_genericize_r): Use VAR_OR_FUNCTION_DECL_P.
gdr [Tue, 26 Mar 2013 20:05:55 +0000 (20:05 +0000)]
* cp-gimplify.c (cp_genericize_r): Use VAR_OR_FUNCTION_DECL_P.
* decl.c (duplicate_decls): Likewise.
(cp_finish_decl): Likewise.
(check_class_member_definition_namespace): Likewise.
* decl2.c (grokfield): Likewise.
(decl_needed_p): Likewise.
(import_export_decl): Likewise.
(mark_used): Likewise.
* name-lookup.c (pushdecl_maybe_friend_1): Likewise.
* pt.c (push_access_scope): Likewise.
(instantiate_decl): Likewise.
* ptree.c (cxx_print_decl): Likewise.
* repo.c (repo_emit_p): Likewise.
* semantics.c (note_decl_for_pch): Likewise.
* tree.c (decl_linkage): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197119 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * de.po, sv.po: Update.
jsm28 [Tue, 26 Mar 2013 17:11:44 +0000 (17:11 +0000)]
* de.po, sv.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197117 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago/cp
paolo [Tue, 26 Mar 2013 16:49:49 +0000 (16:49 +0000)]
/cp
2013-03-26  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/55951
* decl.c (check_array_designated_initializer): Handle CONST_DECL
as ce->index.

/testsuite
2013-03-26  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/55951
* g++.dg/ext/desig5.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197116 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * config/arm/arm.c (arm_print_operand: case 'w'): Use fputs rather
roland [Tue, 26 Mar 2013 16:43:09 +0000 (16:43 +0000)]
* config/arm/arm.c (arm_print_operand: case 'w'): Use fputs rather
than fprintf with a non-constant, non-format string.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197115 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * config/i386/i386.md (*cmpqi_ext_1): Merge with *cmpqi_ext_1_rex64
uros [Tue, 26 Mar 2013 16:24:48 +0000 (16:24 +0000)]
* config/i386/i386.md (*cmpqi_ext_1): Merge with *cmpqi_ext_1_rex64
using nox64 isa attribute.  Use nonimmediate_x86nomem_operand as
operand 0 predicate.
(*cmpqi_ext_3): Merge with *cmpqi_ext_3_rex64 using nox64 isa
attribute.  Use general_x64nomem_operand as operand 1 predicate.
(*movqi_extv_1): Merge with *movqi_extv_1_rex64 using nox64 isa
attribute.  Use nonimmediate_x64nomem_operand as operand 0 predicate.
(*movqi_extzv_2): Merge with *movqi_extzv_2_rex64 using nox64 isa
attribute.  Use nonimmediate_x64nomem_operand as operand 0 predicate.
(mov<mode>_insv_1): Remove expander.  Merge insn with
movsi_insv_1 using SWI48 mode iterator and nox64 isa attribute.
Use general_x64nomem_operand as operand 1 predicate.
(addqi_ext_1): Merge with *addqi_ext_1_rex64 using nox64 isa attribute.
(*testqi_ext_1): Merge with *testqi_ext_1_rex64 using nox64 isa
attribute.  Use nonimmediate_x64nomem_operand as operand 1 predicate.
(*andqi_ext_1): Merge with *andqi_ext_1_rex64 using nox64 isa
attribute.  Use nonimmediate_x64nomem_operand as operand 2 predicate.
(*<code>qi_ext_1): Merge with *<code>qi_ext_1_rex64 using nox64 isa
attribute.  Use nonimmediate_x64nomem_operand as operand 1 predicate.
(*xorqi_cc_ext_1): Merge with *xorqi_cc_ext_1_rex64 using nox64
isa attribute.  Use general_x64nomem_operand as operand 2 predicate.
* config/i386/predicates.md (nonimmediate_x64nomem_operand): New.
(general_x64nomem_operand): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197114 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoFix date.
joel [Tue, 26 Mar 2013 15:48:39 +0000 (15:48 +0000)]
Fix date.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197112 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-01-29 Sebastian Huber <sebastian.huber@embedded-brains.de>
joel [Tue, 26 Mar 2013 15:47:12 +0000 (15:47 +0000)]
2013-01-29  Sebastian Huber  <sebastian.huber@embedded-brains.de>

* config/rtems.opt: Add -pthread option.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197111 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-03-26 Richard Biener <rguenther@suse.de>
rguenth [Tue, 26 Mar 2013 15:20:38 +0000 (15:20 +0000)]
2013-03-26  Richard Biener  <rguenther@suse.de>

* alias.c (find_base_term): Avoid redundant and not used
recursion.
(base_alias_check): Get the initial base term from the
caller.
(true_dependence_1): Compute and pass base terms to base_alias_check.
(write_dependence_p): Likewise.
(may_alias_p): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197110 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-03-26 Tobias Burnus <burnus@net-b.de>
burnus [Tue, 26 Mar 2013 14:51:56 +0000 (14:51 +0000)]
2013-03-26  Tobias Burnus  <burnus@net-b.de>

        PR fortran/56649
        * simplify.c (gfc_simplify_merge): Simplify more.

2013-03-26  Tobias Burnus  <burnus@net-b.de>

        PR fortran/56649
        * gfortran.dg/merge_init_expr_2.f90: New.
        * gfortran.dg/merge_char_1.f90: Modify test to
        stay a run-time test.
        * gfortran.dg/merge_char_3.f90: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197109 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * config/aarch64/aarch64.c (aarch64_classify_address): Support
sofiane [Tue, 26 Mar 2013 14:41:11 +0000 (14:41 +0000)]
* config/aarch64/aarch64.c (aarch64_classify_address): Support
PC-relative load in SI modes and above only.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197107 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoFor Xinyu Qi - Fix define_constants for WCGR.
ramana [Tue, 26 Mar 2013 14:01:24 +0000 (14:01 +0000)]
For Xinyu Qi - Fix define_constants for WCGR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197104 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * config/i386/i386.md (*movdfcc_1): Merge with *movdfcc_1_rex64.
uros [Tue, 26 Mar 2013 12:37:46 +0000 (12:37 +0000)]
* config/i386/i386.md (*movdfcc_1): Merge with *movdfcc_1_rex64.
Use x64 and nox64 isa attributes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197101 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago/cp
paolo [Tue, 26 Mar 2013 10:23:59 +0000 (10:23 +0000)]
/cp
2013-03-26  Paolo Carlini  <paolo.carlini@oracle.com>

* decl.c (grokfndecl): Handle separately <inline> and <constexpr>
error messages.

* decl.c (grokdeclarator): Declare typedef_p and use it everywhere.

/testsuite
2013-03-26  Paolo Carlini  <paolo.carlini@oracle.com>

* g++.dg/cpp0x/constexpr-friend-2.C: New.
* g++.dg/cpp0x/constexpr-main.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197097 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-03-26 Richard Biener <rguenther@suse.de>
rguenth [Tue, 26 Mar 2013 09:14:59 +0000 (09:14 +0000)]
2013-03-26  Richard Biener  <rguenther@suse.de>

* emit-rtl.c (set_mem_attributes_minus_bitpos): Remove
alignment computations and rely on get_object_alignment_1
for the !TYPE_P case.
Commonize DECL/COMPONENT_REF handling in the ARRAY_REF path.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197095 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * config/tilegx/tilegx.h (PROFILE_BEFORE_PROLOGUE): Define.
walt [Tue, 26 Mar 2013 05:02:28 +0000 (05:02 +0000)]
* config/tilegx/tilegx.h (PROFILE_BEFORE_PROLOGUE): Define.
* config/tilegx/tilepro.h (PROFILE_BEFORE_PROLOGUE): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197084 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
walt [Tue, 26 Mar 2013 04:34:45 +0000 (04:34 +0000)]
* config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
-mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197083 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * tree-ssa-dom.c (record_equivalences_from_incoming_edge): Add missing
law [Tue, 26 Mar 2013 04:00:20 +0000 (04:00 +0000)]
    * tree-ssa-dom.c (record_equivalences_from_incoming_edge): Add missing
        check for INTEGRAL_TYPE_P that was missing due to checking in wrong
        version of prior patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197082 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * config/tilegx/tilegx-builtins.h (enum tilegx_builtin): Add
walt [Tue, 26 Mar 2013 00:54:47 +0000 (00:54 +0000)]
* config/tilegx/tilegx-builtins.h (enum tilegx_builtin): Add
TILEGX_INSN_SHUFFLEBYTES1.
* config/tilegx/tilegx.c (tilegx_builtin_info): Add entry for
shufflebytes1.
(tilegx_builtins): Ditto.
* config/tilegx/tilegx.md (insn_shufflebytes1): New pattern.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197080 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-03-25 Walter Lee <walt@tilera.com>
walt [Tue, 26 Mar 2013 00:46:35 +0000 (00:46 +0000)]
2013-03-25  Walter Lee  <walt@tilera.com>

* config/tilegx/tilegx.md (floatsisf2): New pattern.
        (floatunssisf2): New pattern.
        (floatsidf2): New pattern.
        (floatunssidf2): New pattern.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197079 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Tue, 26 Mar 2013 00:16:17 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197078 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * config/tilegx/tilegx.c (expand_set_cint64_one_inst): Inline
walt [Mon, 25 Mar 2013 23:59:38 +0000 (23:59 +0000)]
   * config/tilegx/tilegx.c (expand_set_cint64_one_inst): Inline
       tests for constraint J, K, N, P.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197074 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoSwitch eh data to always use pc relative/indirect encoding, to avoid
walt [Mon, 25 Mar 2013 23:50:52 +0000 (23:50 +0000)]
Switch eh data to always use pc relative/indirect encoding, to avoid
relocations of unaligned words.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197073 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-03-25 Steve Ellcey <sellcey@mips.com>
sje [Mon, 25 Mar 2013 23:12:01 +0000 (23:12 +0000)]
2013-03-25  Steve Ellcey  <sellcey@mips.com>

* config/mips/mmips-cpus.def (74kc, 74kf2_1, 74kf, 74kf, 74kf1_1,
74kfx, 74kx, 74kf3_2): Add PTF_AVOID_IMADD.
* config/mips/mips.c (mips_option_override): Set IMADD default.
* config/mips/mips.h (PTF_AVOID_IMADD): New.
(ISA_HAS_MADD_MSUB): Remove MIPS16 check.
(GENERATE_MADD_MSUB): Remove TUNE_74K check, add MIPS16 check.
* config/mips/mips.md (mimadd): New flag for integer madd/msub.
* doc/invoke.texi (-mimadd/-mno-imadd): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197072 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/56699
jason [Mon, 25 Mar 2013 22:06:36 +0000 (22:06 +0000)]
PR c++/56699
* semantics.c (maybe_resolve_dummy): Make sure that the enclosing
class is derived from the type of the object.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197069 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/56692
jason [Mon, 25 Mar 2013 22:06:27 +0000 (22:06 +0000)]
PR c++/56692
* g++.dg/cpp0x/lambda/lambda-this15.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197068 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/52014
jason [Mon, 25 Mar 2013 20:35:43 +0000 (20:35 +0000)]
PR c++/52014
* semantics.c (lambda_expr_this_capture): Don't capture 'this' in
unevaluated context.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197063 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago/cp
paolo [Mon, 25 Mar 2013 20:19:10 +0000 (20:19 +0000)]
/cp
2013-03-25  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/56722
* decl.c (cp_finish_decl): Check DECL_LANG_SPECIFIC before
DECL_TEMPLATE_INSTANTIATION.

/testsuite
2013-03-25  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/56722
* g++.dg/cpp0x/range-for23.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197062 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-03-25 Tilo Schwarz <tilo@tilo-schwarz.de>
tiloschwarz [Mon, 25 Mar 2013 20:11:20 +0000 (20:11 +0000)]
2013-03-25  Tilo Schwarz  <tilo@tilo-schwarz.de>

        PR libfortran/52512
        * io/list_read.c (nml_parse_qualifier): To check for a derived type
        don't use the namelist head element type but the current element type.
        (nml_get_obj_data): Add current namelist element type to
        nml_parse_qualifier call.

2013-03-25  Tilo Schwarz  <tilo@tilo-schwarz.de>

        PR libfortran/52512
        * gfortran.dg/namelist_79.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197061 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * tree-ssa-dom.c (record_equivalences_from_incoming_edge): Rework
law [Mon, 25 Mar 2013 19:05:57 +0000 (19:05 +0000)]
    * tree-ssa-dom.c (record_equivalences_from_incoming_edge): Rework
slightly to avoid creating and folding useless trees.  Simplify
        slightly by restricting to INTEGER_CSTs and using int_fits_type_p.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197060 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * alloc.c: #include <sys/types.h>.
ian [Mon, 25 Mar 2013 18:13:18 +0000 (18:13 +0000)]
* alloc.c: #include <sys/types.h>.
* mmap.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197057 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * config/i386/i386.md (*zero_extendsidi2): Merge with
uros [Mon, 25 Mar 2013 18:09:36 +0000 (18:09 +0000)]
* config/i386/i386.md (*zero_extendsidi2): Merge with
*zero_extendsidi2_rex64.  Use x64 and nox64 isa attributes.
* config/i386/predicates.md (x86_64_zext_operand): Rename from
x86_64_zext_general_operand.  Use nonimmediate_operand on 32bit
targets.  Clarify comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197056 138bc75d-0d04-0410-961f-82ee72b054a4