platform/upstream/linaro-gcc.git
11 years ago * config/i386/i386.md (*testqi_ext_3): Merge with *testqi_ext_3_rex64
uros [Tue, 2 Apr 2013 17:21:55 +0000 (17:21 +0000)]
* config/i386/i386.md (*testqi_ext_3): Merge with *testqi_ext_3_rex64
using SWI48 mode attribute.

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

11 years ago2013-04-02 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
mrs [Tue, 2 Apr 2013 17:19:48 +0000 (17:19 +0000)]
2013-04-02  Pitchumani Sivanupandi <pitchumani.s@atmel.com>

    * gcc.dg/tree-ssa/sra-13.c: Fix for 16 bit int.

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

11 years ago2013-04-02 Wei Mi <wmi@google.com>
wmi [Tue, 2 Apr 2013 16:53:49 +0000 (16:53 +0000)]
2013-04-02  Wei Mi  <wmi@google.com>

* config/i386/i386.c (ix86_rtx_costs): Set proper rtx cost for
ashl<mode>3_mask, *<shift_insn><mode>3_mask and
*<rotate_insn><mode>3_mask in i386.md.

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

11 years ago * config.gcc (arm*-*-linux-*): Remove duplicate t-linux-android.
kyukhin [Tue, 2 Apr 2013 14:32:37 +0000 (14:32 +0000)]
* config.gcc (arm*-*-linux-*): Remove duplicate t-linux-android.

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

11 years ago2013-04-02 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 2 Apr 2013 14:04:53 +0000 (14:04 +0000)]
2013-04-02  Paolo Carlini  <paolo.carlini@oracle.com>

* friend.c (do_friend): Use COMPLETE_OR_OPEN_TYPE_P.
* pt.c (find_parameter_packs_r): Use TYPE_ALIAS_P and TYPE_TI_ARGS.
(for_each_template_parm_r): Use TYPE_TI_ARGS.

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

11 years ago2013-04-02 Richard Biener <rguenther@suse.de>
rguenth [Tue, 2 Apr 2013 13:31:05 +0000 (13:31 +0000)]
2013-04-02  Richard Biener  <rguenther@suse.de>

PR tree-optimization/56778
* tree-vect-data-refs.c (vect_analyze_data_ref_dependence):
Runtime alias tests are not supported for gather loads.
* tree-vect-loop-manip.c (vect_loop_versioning): Insert
stmts referenced from SSA operands before updating SSA form.

* gcc.dg/torture/pr56778.c: New testcase.

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

11 years ago2013-04-02 Richard Biener <rguenther@suse.de>
rguenth [Tue, 2 Apr 2013 12:23:13 +0000 (12:23 +0000)]
2013-04-02  Richard Biener  <rguenther@suse.de>

PR middle-end/56768
* g++.dg/torture/pr56768.C: New testcase.

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

11 years ago2013-04-02 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 2 Apr 2013 11:45:31 +0000 (11:45 +0000)]
2013-04-02  Paolo Carlini  <paolo.carlini@oracle.com>

* cp-tree.h (TAGGED_TYPE_P): Remove.
(IS_OVERLOAD_TYPE): Rename to OVERLOAD_TYPE_P, adjust.
(TYPE_ANONYMOUS_P): Adjust.
* call.c (build_new_op_1): Likewise.
* class.c (find_abi_tags_r): Likewise.
* decl.c (warn_misplaced_attr_for_class_type, start_decl,
type_is_deprecated): Likewise.
* decl2.c (grokfield, min_vis_r): Likewise.
* pt.c (get_template_info): Likewise.
* tree.c (handle_abi_tag_attribute): Likewise.

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

11 years agoAdd support for Cortex-A53.
ramana [Tue, 2 Apr 2013 11:25:50 +0000 (11:25 +0000)]
Add support for Cortex-A53.

2013-04-02  Ian Caulfield  <ian.caulfield@arm.com>
    Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

* config/arm/arm-arches.def (armv8-a): Default to cortex-a53.
        * config/arm/t-arm (MD_INCLUDES): Depend on cortex-a53.md.
        * config/arm/cortex-a53.md: New file.
        * config/arm/bpabi.h (BE8_LINK_SPEC): Handle cortex-a53.
        * config/arm/arm.md (generic_sched, generic_vfp): Handle cortex-a53.
        * config/arm/arm.c (arm_issue_rate): Likewise.
        * config/arm/arm-tune.md: Regenerate
        * config/arm/arm-tables.opt: Regenerate.
        * config/arm/arm-cores.def: Add cortex-a53.

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

11 years ago2013-04-02 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 2 Apr 2013 10:20:03 +0000 (10:20 +0000)]
2013-04-02  Paolo Carlini  <paolo.carlini@oracle.com>

* obj-c++.dg/try-catch-13.mm: Update per PR56725.

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

11 years ago2013-04-02 Zhenqiang Chen <zhenqiang.chen@arm.com>
xguo [Tue, 2 Apr 2013 09:35:22 +0000 (09:35 +0000)]
2013-04-02  Zhenqiang Chen  <zhenqiang.chen@arm.com>

* config/arm/uclinux-elf.h: Add %L to LINK_GCC_C_SEQUENCE_SPEC for
non-static link.

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

11 years agoFix whitespace in MAINTAINERS.
vries [Tue, 2 Apr 2013 09:32:43 +0000 (09:32 +0000)]
Fix whitespace in MAINTAINERS.

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

11 years ago * config/aarch64/aarch64.md (*mov<mode>_aarch64): Add variants for scalar
sofiane [Tue, 2 Apr 2013 09:30:02 +0000 (09:30 +0000)]
* config/aarch64/aarch64.md (*mov<mode>_aarch64): Add variants for scalar
load/store operations using B/H registers.
(*zero_extend<SHORT:mode><GPI:mode>2_aarch64): Likewise.

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

11 years ago * config/aarch64/aarch64.md (*mov<mode>_aarch64): Add alternatives for
sofiane [Tue, 2 Apr 2013 09:02:17 +0000 (09:02 +0000)]
* config/aarch64/aarch64.md (*mov<mode>_aarch64): Add alternatives for
scalar move.
* config/aarch64/aarch64.c
(aarch64_simd_scalar_immediate_valid_for_move): New.
* config/aarch64/aarch64-protos.h
(aarch64_simd_scalar_immediate_valid_for_move): New.
* config/aarch64/constraints.md (Dh, Dq): New.
* config/aarch64/iterators.md (hq): New.

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

11 years ago * reorg.c (get_branch_condition): Deal with conditional returns.
ebotcazou [Tue, 2 Apr 2013 07:14:12 +0000 (07:14 +0000)]
* reorg.c (get_branch_condition): Deal with conditional returns.
(fill_simple_delay_slots): Remove dead code dealing with jumps.

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

11 years agoDaily bump.
gccadmin [Tue, 2 Apr 2013 00:16:33 +0000 (00:16 +0000)]
Daily bump.

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

11 years ago * doc/xml/manual/appendix_contributing.xml: Remove broken link and
redi [Tue, 2 Apr 2013 00:09:44 +0000 (00:09 +0000)]
* doc/xml/manual/appendix_contributing.xml: Remove broken link and
defer to general documentation on contributing to GCC.
* doc/html/*: Regenerate.

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

11 years ago * semantics.c (maybe_constant_value): Check
jason [Mon, 1 Apr 2013 21:18:33 +0000 (21:18 +0000)]
* semantics.c (maybe_constant_value): Check
instantiation_dependent_expression_p.
* pt.c (build_non_dependent_expr): Don't check it here.

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

11 years ago PR c++/56772
jason [Mon, 1 Apr 2013 21:18:23 +0000 (21:18 +0000)]
PR c++/56772
* init.c (build_new): Don't try to process an array initializer
at template definition time.

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

11 years ago PR c++/56793
jason [Mon, 1 Apr 2013 21:18:11 +0000 (21:18 +0000)]
PR c++/56793
* typeck.c (finish_class_member_access_expr): Handle enum scope.

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

11 years ago PR c++/56794
jason [Mon, 1 Apr 2013 21:18:05 +0000 (21:18 +0000)]
PR c++/56794
* parser.c (cp_parser_range_for): Don't try to do auto deduction
in a template if the type of the range is incomplete.

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

11 years ago2013-04-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Mon, 1 Apr 2013 20:59:34 +0000 (20:59 +0000)]
2013-04-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/56660
* gfortran.dg/namelist_82.f90:  New test.

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

11 years ago2013-04-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Mon, 1 Apr 2013 20:30:41 +0000 (20:30 +0000)]
2013-04-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/56660
* io/list_read.c (nml_read_obj): Do not reset the read error flag
inside nml_read_obj. If the read error flag is found set just exit.
Fix some whitespace on comments.
(nml_read_obj_data): Reset the read error flag before the first call
to nml_read_object.

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

11 years ago * call.c (add_function_candidate): Take the address of 'this' here.
jason [Mon, 1 Apr 2013 19:05:12 +0000 (19:05 +0000)]
* call.c (add_function_candidate): Take the address of 'this' here.
(build_over_call): And here.
(build_new_method_call_1, build_op_call_1): Not here.
(build_user_type_conversion_1): Or here.
(add_candidates): Adjust.

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

11 years ago * cxx-pretty-print.h (pp_cxx_cv_qualifiers): New.
jason [Mon, 1 Apr 2013 19:05:06 +0000 (19:05 +0000)]
* cxx-pretty-print.h (pp_cxx_cv_qualifiers): New.
* class.c (same_signature_p): Use type_memfn_quals.
* cp-tree.h (TYPE_RAISES_EXCEPTIONS): Use
FUNCTION_OR_METHOD_TYPE_CHECK.
* error.c (dump_type_suffix): Add padding before cv-qualifiers.
* pt.c (unify): Use static_fn_type.

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

11 years ago Implement N2439 (ref-qualifiers for 'this')
jason [Mon, 1 Apr 2013 19:04:59 +0000 (19:04 +0000)]
Implement N2439 (ref-qualifiers for 'this')
* cp-tree.h (FUNCTION_REF_QUALIFIED): New.
(FUNCTION_RVALUE_QUALIFIED): New.
(FUNCTION_OR_METHOD_TYPE_CHECK): New.
(cpp0x_warn_str): Add CPP0X_REF_QUALIFIER.
(cp_ref_qualifier): New enum.
(cp_declarator): Add ref_qualifier.
* parser.c (cp_parser_ref_qualifier_seq_opt): New.
(cp_parser_direct_declarator): Use it.
(make_call_declarator): Adjust.
(cp_parser_lambda_declarator_opt): Adjust.
* call.c (add_function_candidate): Handle ref-qualifier overload
resolution semantics.
(standard_conversion): Adjust.
* class.c (add_method, same_signature_p): Compare ref-qualifiers.
* decl.c (grokdeclarator): Handle ref-qualifiers.
(grokfndecl): Check for invalid ref-qualifiers.
(static_fn_type, revert_static_member_fn): Adjust.
* decl2.c (build_memfn_type): Handle ref-qualifiers.
(check_classfn): Check them.
(cp_reconstruct_complex_type): Retain them.
* error.c (dump_ref_qualifier): New.
(dump_type_suffix, dump_function_decl): Use it.
(maybe_warn_cpp0x): Handle CPP0X_REF_QUALIFIER.
* pt.c (tsubst, tsubst_function_type): Instantiate ref-quals.
(unify): Retain them.
* tree.c (cp_check_qualified_type): New.
(cp_build_qualified_type_real): Keep exception spec and ref-qual.
(build_ref_qualified_type): New.
(strip_typedefs, build_exception_variant): Keep ref-qualifier.
(cp_build_type_attribute_variant): Keep ref-qualifier.
* typeck.c (merge_types): Keep ref-qualifier.
(structural_comptypes): Compare ref-qualifier.
(type_memfn_rqual): New.
(apply_memfn_quals): Take ref-qual argument.
* typeck2.c (build_m_component_ref): Check ref-qualifier.

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

11 years ago2013-04-01 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Mon, 1 Apr 2013 17:33:27 +0000 (17:33 +0000)]
2013-04-01  Paolo Carlini  <paolo.carlini@oracle.com>

* cp-tree.h (DECL_UNBOUND_CLASS_TEMPLATE_P): Remove.
(DECL_FUNCTION_TEMPLATE_P): Adjust.

* cxx-pretty-print.c (pp_cxx_nested_name_specifier,
pp_cxx_qualified_id): Use get_containing_scope.
* parser.c (cp_parser_class_head): Likewise.
* pt.c (push_template_decl_real): Likewise.

* decl2.c (import_export_decl): Use DECL_TEMPLOID_INSTANTIATION.
* pt.c (unify): Use CP_INTEGRAL_TYPE_P.

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

11 years ago2013-04-01 Wei Mi <wmi@google.com>
wmi [Mon, 1 Apr 2013 17:27:46 +0000 (17:27 +0000)]
2013-04-01  Wei Mi  <wmi@google.com>

        * config/i386/i386.md (*ashl<mode>3_mask): Rewrite as define_insn.
        Truncate operand 2 using %b asm operand modifier.
        (*<shift_insn><mode>3_mask): Ditto.
        (*<rotate_insn><mode>3_mask): Ditto.

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

11 years ago PR middle-end/56798
steven [Mon, 1 Apr 2013 15:49:47 +0000 (15:49 +0000)]
PR middle-end/56798
* cfgbuild.c (inside_basic_block_p): Restore check broken at r197234.

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

11 years ago2013-04-01 Janus Weil <janus@gcc.gnu.org>
janus [Mon, 1 Apr 2013 15:11:01 +0000 (15:11 +0000)]
2013-04-01  Janus Weil  <janus@gcc.gnu.org>

PR fortran/56500
* symbol.c (gfc_set_default_type): Build class container for
IMPLICIT CLASS.

2013-04-01  Janus Weil  <janus@gcc.gnu.org>

PR fortran/56500
* gfortran.dg/implicit_class_1.f90: New.

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

11 years agoDaily bump.
gccadmin [Mon, 1 Apr 2013 00:16:46 +0000 (00:16 +0000)]
Daily bump.

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

11 years ago2013-03-31 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sun, 31 Mar 2013 20:37:19 +0000 (20:37 +0000)]
2013-03-31  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/56786
* gfortran.dg/namelist_81.f90:  New test.

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

11 years ago2013-03-31 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sun, 31 Mar 2013 20:32:33 +0000 (20:32 +0000)]
2013-03-31  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/56786
* io/list_read.c (nml_parse_qualifier): Remove spurious next_char call
when checking for EOF. Use error return mechanism when EOF detected.
Do not return false unless parse_err_msg and parse_err_msg_size have
been set. Use hit_eof.
(nml_get_obj_data): Likewise use the correct error mechanism.
* io/transfer.c (hit_eof): Do not set AFTER_ENDFILE if in namelist
mode.

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

11 years ago * de.po: Update.
jsm28 [Sun, 31 Mar 2013 16:09:50 +0000 (16:09 +0000)]
* de.po: Update.

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

11 years ago * config/sh/sh.md (casesi_worker_1): Use next_active_insn instead
kkojima [Sun, 31 Mar 2013 13:12:31 +0000 (13:12 +0000)]
* config/sh/sh.md (casesi_worker_1): Use next_active_insn instead
of next_real_insn.
(casesi_worker_2, casesi_shift_media, casesi_load_media): Likewise.

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

11 years ago * doc/xml/manual/allocator.xml: Adjust link to Dr.Dobb's article.q
gerald [Sun, 31 Mar 2013 12:35:20 +0000 (12:35 +0000)]
* doc/xml/manual/allocator.xml: Adjust link to Dr.Dobb's article.q

* doc/xml/manual/appendix_contributing.xml: Adjust link to GNU
Coding Standards.

* doc/xml/manual/debug.xml: Adjust link for ThreadSanitizer.

* doc/xml/manual/debug_mode.xml: Adjust link for SafeSTL.

* doc/xml/manual/documentation_hacking.xml: Adjust Doxygen link.

* doc/xml/manual/messages.xml: Adjust link to Java API specs.

* doc/xml/manual/policy_data_structures: Remove direct link to
IBM Haifa Research Labs.

* doc/xml/manual/policy_data_structures_biblio.xml: Adjust links
for biblio.maverik_lowerbounds and biblio.nelson96stlpq.
Remove direct link to IBM Haifa Research Labs.

* doc/xml/manual/profile_mode.xml: Adjust two links to acm.org
papers.

* doc/xml/manual/shared_ptr.xml: Use canonical address for
www.boost.org.

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

11 years ago2013-03-31 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Sun, 31 Mar 2013 11:15:46 +0000 (11:15 +0000)]
2013-03-31  Paolo Carlini  <paolo.carlini@oracle.com>

* decl2.c (collect_candidates_for_java_method_aliases): Use
DECL_CLASS_SCOPE_P.
* name-lookup.c (pushtag_1) Use TYPE_FUNCTION_SCOPE_P.
(pushdecl_maybe_friend_1): Use DECL_DECLARES_FUNCTION_P.
* decl.c (duplicate_decls): Likewise.
* parser.c (cp_parser_template_declaration_after_export): Likewise,
also DECL_DECLARES_TYPE_P.
* pt.c (instantiate_class_template_1): Likewise.
* search.c (lookup_field_1): Use DECL_DECLARES_TYPE_P.
(lookup_field_r): Likewise.
(friend_accessible_p): Use DECL_DECLARES_FUNCTION_P.
(lookup_fnfields_slot_nolazy): Likewise.
* semantics.c (finish_member_declaration): Likewise.
* typeck.c (convert_for_initialization): Use TYPE_REFFN_P.

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

11 years ago2013-03-31 Tobias Burnus <burnus@net-b.de>
burnus [Sun, 31 Mar 2013 09:52:01 +0000 (09:52 +0000)]
2013-03-31  Tobias Burnus  <burnus@net-b.de>

        * class.c (finalization_scalarizer,
        * finalizer_insert_packed_call,
        generate_finalization_wrapper): Avoid segfault with absent SIZE=
        argment to TRANSFER and use correct result kind for SIZE.
        * intrinsic.c (gfc_isym_id_by_intmod): Also handle ids of
        nonmodules.
        * trans.c (gfc_build_final_call): Handle coarrays.

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

11 years agoDaily bump.
gccadmin [Sun, 31 Mar 2013 00:16:47 +0000 (00:16 +0000)]
Daily bump.

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

11 years agoIn dse.c, remove alias hash tables that are never set.
crowl [Sat, 30 Mar 2013 23:34:22 +0000 (23:34 +0000)]
In dse.c, remove alias hash tables that are never set.
Remove conditions that are then never true.
Remove functions that are then never called.
Remove variables that are then never read.

Index: gcc/ChangeLog

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

* dse.c (clear_alias_sets): Remove never set.
(disqualified_clear_alias_sets): Remove never set.
(clear_alias_mode_pool): Remove never set.
(dse_step0): Remove condition that is never true.
(canon_address): Remove condition that is never true.
(dse_step7): Remove condition that is never true.
(rest_of_handle_dse): Remove condition that is never true.
(rest_of_handle_dse::did_global): Remove never read from above.
(dse_step2_spill): Remove never called from above.
(dse_step5_spill): Remove never called from above.

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

11 years ago * vi.po: Update.
jsm28 [Sat, 30 Mar 2013 22:12:28 +0000 (22:12 +0000)]
* vi.po: Update.

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

11 years ago * doc/md.texi (Standard Names) <casesi>: Update documentation for
steven [Sat, 30 Mar 2013 14:54:34 +0000 (14:54 +0000)]
* doc/md.texi (Standard Names) <casesi>: Update documentation for
JUMP_TABLE_DATA changes.
* doc/tm.texi.in (Dispatch Tables) <ASM_OUTPUT_CASE_LABEL>: Likewise.
* doc/rtl.texi (Flags) <INSN_DELETED_P, SCHED_GROUP_P>: Likewise.
(Insns) <jump_table_data>: New entry.
* doc/tm.texi: Regenerate.

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

11 years ago * cfgrtl.c (fixup_reorder_chain): Do not emit barriers to BB_FOOTER.
steven [Sat, 30 Mar 2013 14:26:42 +0000 (14:26 +0000)]
* cfgrtl.c (fixup_reorder_chain): Do not emit barriers to BB_FOOTER.

* postreload-gcse.c (bb_has_well_behaved_predecessors): Correct test
for table jump at the end of a basic block using tablejump_p.
* targhooks.c (default_invalid_within_doloop): Likewise.
* config/rs6000/rs6000.c (TARGET_INVALID_WITHIN_DOLOOP): Remove
target hook implementation that is identical to the default hook.
(rs6000_invalid_within_doloop): Remove.

* bb-reorder.c (fix_crossing_unconditional_branches): Remove set but
unused variable from tablejump_p call.

* rtl.def (JUMP_TABLE_DATA): New RTX_INSN object.
* rtl.h (RTX_PREV, RTX_NEXT): Adjust for new JUMP_TABLE_DATA.
(INSN_DELETED_P): Likewise.
(emit_jump_table_data): New prototype.
* gengtype.c (adjust_field_rtx_def): Handle JUMP_TABLE_DATA fields
after 4th as unused.
* print-rtl.c (print_rtl): Handle JUMP_TABLE_DATA.
* sched-vis.c (print_insn): Likewise.
* emit-rtl.c (active_insn_p): Consider JUMP_TABLE_DATA an active
insn for compatibility with back ends that use next_active_insn to
identify jump table data.
(set_insn_deleted): Remove no longer useful JUMP_TABLE_DATA_P check.
(remove_insn): Likewise.
(emit_insn): Do not accept JUMP_TABLE_DATA objects in insn chains
to be emitted.
(emit_debug_insn, emit_jump_insn, emit_call_insn, emit_label): Idem.
(emit_jump_table_data): New function.

* cfgbuild.c (inside_basic_block_p): A JUMP_INSN is always inside a
basic block, a JUMP_TABLE_DATA never is.
(control_flow_insn_p): JUMP_TABLE_DATA is not a control flow insn.
* cfgrtl.c (duplicate_insn_chain): Split handling of JUMP_TABLE_DATA
off from code handling real insns.
* final.c (get_attr_length_1): Simplify for JUMP_INSNs.
* function.c (instantiate_virtual_regs): Remove JUMP_TABLE_DATA_P
test, now redundant because JUMP_TABLE_DATA is not an INSN_P insn.
* gcse.c (insert_insn_end_basic_block): Likewise, JUMP_TABLE_DATA_P
is not a NONDEBUG_INSN_P.
* ira-costs.c (scan_one_insn): Likewise.
* jump.c (mark_all_labels): Likewise.
(mark_jump_label_1): Likewise.
* lra-eliminations.c (eliminate_regs_in_insn): Likewise.
* lra.c (get_insn_freq): Expect all insns reaching here to be in
a basic block.
(check_rtl): Remove JUMP_TABLE_DATA_P test, not a NONDEBUG_INSN_P insn.
* predict.c (expensive_function_p): Use FOR_BB_INSNS.
* reload1.c (calculate_needs_all_insns): Call set_label_offsets for
JUMP_TABLE_DATA_P insns.
(calculate_elim_costs_all_insns): Likewise.
(set_label_offsets): Recurse on the PATTERN of JUMP_TABLE_DATA insns.
(elimination_costs_in_insn): Remove redundant JUMP_TABLE_DATA_P test.
(delete_output_reload): Code style fixups.
* reorg.c (dbr_schedule): Move JUMP_TABLE_DATA_P up to avoid setting
insn flags on this non-insn.
* sched-rgn.c (add_branch_dependences): Treat JUMP_TABLE_DATA insns
as scheduling barriers, for pre-change compatibility.
* stmt.c (emit_case_dispatch_table): Emit jump table data not as
JUMP_INSN objects but instead as JUMP_TABLE_DATA objects.

* config/alpha/alpha.c (alpha_does_function_need_gp): Remove
redundant JUMP_TABLE_DATA_P test.
* config/arm/arm.c (thumb_far_jump_used_p): Likewise.
* config/frv/frv.c (frv_function_contains_far_jump): Likewise.
(frv_for_each_packet): Likewise.
* config/i386/i386.c (min_insn_size): Likewise.
(ix86_avoid_jump_mispredicts): Likewise.
* config/m32r/m32r.c (m32r_is_insn): Likewise.
* config/mep/mep.c (mep_reorg_erepeat): Likewise.
* config/mips/mips.c (USEFUL_INSN_P): Likewise.
(mips16_insn_length): Robustify.
(mips_has_long_branch_p): Remove redundant JUMP_TABLE_DATA_P test.
(mips16_split_long_branches): Likewise.
* config/pa/pa.c (pa_combine_instructions): Likewise.
* config/rs6000/rs6000.c (get_next_active_insn): Treat
JUMP_TABLE_DATA objects as active insns, like in active_insn_p.
* config/s390/s390.c (s390_chunkify_start): Treat JUMP_TABLE_DATA
as contributing to pool range lengths.
* config/sh/sh.c (find_barrier): Restore check for ADDR_DIFF_VEC.
Remove redundant JUMP_TABLE_DATA_P test.
(sh_loop_align): Likewise.
(split_branches): Likewise.
(sh_insn_length_adjustment): Likewise.
* config/spu/spu.c (get_branch_target): Likewise.

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

11 years ago2013-03-30 Matthias Klose <doko@ubuntu.com>
doko [Sat, 30 Mar 2013 11:22:02 +0000 (11:22 +0000)]
2013-03-30  Matthias Klose  <doko@ubuntu.com>

        * Makefile.def (target_modules): Don't install libffi.
        * Makefile.in: Regenerate.

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

11 years ago2013-03-30 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Sat, 30 Mar 2013 10:23:09 +0000 (10:23 +0000)]
2013-03-30  Thomas Koenig  <tkoenig@gcc.gnu.org>

* fortran/ChangeLog:  Add commit message from rev. 197261
* testsuite/ChangeLog:  Likewise.

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

11 years ago2013-03-30 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Sat, 30 Mar 2013 10:19:02 +0000 (10:19 +0000)]
2013-03-30  Thomas Koenig  <tkoenig@gcc.gnu.org>

* trans-expr.c (build_memcmp_call):  New function.
(gfc_build_compare_string):  If the strings
compared have constant and equal lengths and
the strings are kind=1, or, for kind=4 strings,
the test is for (in)equality, use memcmp().

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

* gfortran.dg/character_comparison_3.f90:  Adjust for use of memcmp
for constant and equal string lengths.
* gfortran.dg/character_comparison_5.f90:  Likewise.
* gfortran.dg/character_comparison_9.f90:  New test.

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

11 years ago * pt.c (template_parms_to_args): Fix typo in comment.
gdr [Sat, 30 Mar 2013 02:35:41 +0000 (02:35 +0000)]
* pt.c (template_parms_to_args): Fix typo in comment.

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

11 years agoDaily bump.
gccadmin [Sat, 30 Mar 2013 00:16:32 +0000 (00:16 +0000)]
Daily bump.

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

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

* call.c (build_op_call_1): Use TYPE_PTRFN_P and TYPE_REFFN_P.

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

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

        PR fortran/35203
        * trans-decl.c (create_function_arglist): Pass hidden argument
        for passed-by-value optional+value dummies.
        * trans-expr.c (gfc_conv_expr_present,
        gfc_conv_procedure_call): Handle those.

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

        PR fortran/35203
        * gfortran.dg/optional_absent_3.f90: New.

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

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

* call.c (add_builtin_candidate): Use TYPE_PTR_P and VOID_TYPE_P.
(build_op_call_1): Likewise.
(build_over_call): Likewise.
(compare_ics): Likewise.
* class.c (build_base_path): Likewise.
(resolve_address_of_overloaded_function): Likewise.
* cp-tree.h: Likewise.
* cvt.c (cp_convert_to_pointer): Likewise.
(convert_to_reference): Likewise.
(ocp_convert): Likewise.
(convert_force): Likewise, tidy.
* cxx-pretty-print.c (pp_cxx_postfix_expression): Likewise.
(pp_cxx_ptr_operator): Likewise.
* decl.c (duplicate_decls): Likewise.
(start_decl): Likewise.
(grok_op_properties): Likewise.
(start_preparsed_function): Likewise.
(store_parm_decls): Likewise.
(finish_function): Likewise.
* decl2.c (delete_sanity): Likewise.
(acceptable_java_type): Likewise.
(grokbitfield): Likewise.
(cp_reconstruct_complex_type): Likewise.
* error.c (dump_type_prefix): Likewise.
(dump_expr): Likewise.
* except.c (push_eh_cleanup): Likewise.
(complete_ptr_ref_or_void_ptr_p): Likewise.
(can_convert_eh): Likewise.
* init.c (build_new_1): Likewise.
(build_delete): Likewise.
(build_vec_delete): Likewise.
* mangle.c (write_type): Likewise.
* parser.c (lookup_literal_operator): Likewise.
* pt.c (convert_nontype_argument_function): Likewise.
(convert_nontype_argument): Likewise.
(tsubst): Likewise.
(unify): Likewise.
(dependent_type_p_r): Likewise.
* rtti.c (build_headof): Likewise.
(build_typeid): Likewise.
(build_dynamic_cast_1): Likewise.
(target_incomplete_p): Likewise.
(typeinfo_in_lib_p): Likewise.
* semantics.c (finish_omp_for): Likewise.
(cxx_eval_call_expression): Likewise.
(maybe_resolve_dummy): Likewise.
* tree.c (build_target_expr): Likewise.
(cp_build_qualified_type_real): Likewise.
* typeck.c (composite_pointer_type_r): Likewise.
(composite_pointer_type): Likewise.
(comp_except_types): Likewise.
(cxx_sizeof_nowarn): Likewise.
(string_conv_p): Likewise.
(cp_build_array_ref): Likewise.
(cp_build_function_call_vec): Likewise, also use TYPE_PTRFN_P.
(pointer_diff): Likewise.
(cp_build_addr_expr_1): Likewise.
(cp_build_unary_op): Likewise.
(build_static_cast_1): Likewise.
(cp_build_c_cast): Likewise.
(comp_ptr_ttypes_real): Likewise.
(ptr_reasonably_similar): Likewise.
(comp_ptr_ttypes_const): Likewise.
(casts_away_constness): Likewise.
(check_literal_operator_args): Likewise.
* typeck2.c (build_x_arrow): Likewise.
(add_exception_specifier): Likewise.

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

11 years ago N3582
jason [Fri, 29 Mar 2013 19:51:36 +0000 (19:51 +0000)]
N3582
* cp-tree.h (AUTO_IS_DECLTYPE): New.
* parser.c (cp_parser_decltype): Handle decltype(auto).
(cp_parser_type_id_1): Allow auto without a late-specified
return in C++1y.
(cp_parser_primary_expression): Use the return value of
finish_parenthesized_expr.
(cp_parser_transaction_expression): Likewise.
* semantics.c (force_paren_expr): New.
(finish_parenthesized_expr): Use it.
* call.c (build_conditional_expr_1): Likewise.
* pt.c (do_auto_deduction): Handle decltype(auto).
(tsubst_copy): Handle PAREN_EXPR.
(tsubst_copy_and_build): Likewise.
* error.c (dump_expr): Handle PAREN_EXPR.
* cxx-pretty-print.c (pp_cxx_expression): Likewise.
* mangle.c (write_expression): Ignore PAREN_EXPR.

* parser.c (cp_parser_decltype_expr): Split out...
(cp_parser_decltype): ...from here.

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

11 years ago * parser.c (cp_parser_decltype_expr): Split out...
jason [Fri, 29 Mar 2013 19:51:29 +0000 (19:51 +0000)]
* parser.c (cp_parser_decltype_expr): Split out...
(cp_parser_decltype): ...from here.

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

11 years ago PR c++/56774
jason [Fri, 29 Mar 2013 18:59:09 +0000 (18:59 +0000)]
PR c++/56774
PR c++/35722
* pt.c (unify_pack_expansion): Fix indexing.

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

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