Commit Graph

123728 Commits

Author SHA1 Message Date
Alan Modra
52befbd84a rs6000.c (output_toc): Correct little-endian float constant output.
* config/rs6000/rs6000.c (output_toc): Correct little-endian float
	constant output.

From-SVN: r199646
2013-06-04 22:34:13 +09:30
Tobias Burnus
ef2925370e re PR fortran/37336 ([F03] Finish derived-type finalization)
2013-06-03  Tobias Burnus  <burnus@net-b.de>

        PR fortran/37336
        * trans.h (gfc_build_final_call): Remove prototype.
        (gfc_add_finalizer_call): Add prototype.
        * trans-array.c (gfc_trans_dealloc_allocated): Support
        * finalization.
        (structure_alloc_comps): Update caller.
        (gfc_trans_deferred_array): Call finalizer.
        * trans-array.h (gfc_trans_dealloc_allocated): Update prototype.
        * trans-decl.c (gfc_trans_deferred_vars): Don't
        * deallocate/finalize
        variables of the main program.
        * trans-expr.c (gfc_conv_procedure_call): Support finalization.
        * trans-openmp.c (gfc_omp_clause_dtor,
        gfc_trans_omp_array_reduction): Update calls.
        * trans-stmt.c (gfc_trans_deallocate): Avoid double deallocation
        of alloc components.
        * trans.c (gfc_add_finalizer_call): New function.
        (gfc_deallocate_with_status,
        gfc_deallocate_scalar_with_status): Call it
        (gfc_build_final_call): Fix handling of scalar coarrays,
        move up in the file and make static.

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

        PR fortran/37336
        * gfortran.dg/finalize_12.f90: New.
        * gfortran.dg/alloc_comp_basics_1.f90: Add BLOCK for
        end of scope finalization.
        * gfortran.dg/alloc_comp_constructor_1.f90: Ditto.
        * gfortran.dg/allocatable_scalar_9.f90: Ditto.
        * gfortran.dg/auto_dealloc_2.f90: Ditto.
        * gfortran.dg/class_19.f03: Ditto.
        * gfortran.dg/coarray_lib_alloc_1.f90: Ditto.
        * gfortran.dg/coarray_lib_alloc_2.f90: Ditto.
        * gfortran.dg/extends_14.f03: Ditto.
        * gfortran.dg/move_alloc_4.f90: Ditto.
        * gfortran.dg/typebound_proc_27.f03: Ditto.

From-SVN: r199643
2013-06-04 12:20:32 +02:00
Kyrylo Tkachov
aadaf24ef0 rtl.def: Add extra fourth optional field to define_cond_exec.
2013-06-04  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

	* rtl.def: Add extra fourth optional field to define_cond_exec.
	* gensupport.c (process_one_cond_exec): Process attributes from
	define_cond_exec.
	* doc/md.texi: Document fourth field in define_cond_exec.

From-SVN: r199640
2013-06-04 08:56:32 +00:00
Eric Botcazou
0cd9e9eeea expmed.c (extract_bit_field_1): In the larger-than-a-word case...
* expmed.c (extract_bit_field_1): In the larger-than-a-word case, factor
	out the processing order as in store_bit_field_1.

From-SVN: r199637
2013-06-04 07:41:18 +00:00
Manfred Schwarb
94b74637e0 bounds_check_7.f90: Remove "!
2013-06-03  Manfred Schwarb  <manfred99@gmx.ch>

        * gfortran.dg/bounds_check_7.f90: Remove "! {".
        * gfortran.dg/coarray_poly_3.f90: Remove inactive, broken dg-*.
        * gfortran.dg/default_initialization_5.f90: Update dg-do.
        * gfortran.dg/g77/f77-edit-s-out.f: Fix broken dg-output.
        * gfortran.dg/g77/f77-edit-t-out.f: Fix broken dg-output.
        * gfortran.dg/g77/f77-edit-x-out.f: Fix broken dg-output.
        * gfortran.dg/init_flag_11.f90: Fix broken dg-options.
        * gfortran.dg/io_real_boz_3.f90: Add comment regarding dg-do run.
        * gfortran.dg/io_real_boz_4.f90: Ditto.
        * gfortran.dg/io_real_boz_5.f90: Ditto.
        * gfortran.dg/namelist_print_1.f: Fix broken dg-output.
        * gfortran.dg/read_x_eor.f90: Fix broken dg-output.
        * gfortran.dg/repeat_1.f90: Improve dg-output pattern.
        * gfortran.dg/spread_bounds_1.f90: Fix broken dg-output.
        * gfortran.dg/transpose_2.f90: Fix dg-output.

From-SVN: r199636
2013-06-04 09:34:49 +02:00
Jan Hubicka
cb0f665d14 re PR middle-end/57500 (Segfault in ipa_record_reference)
2013-06-04  Jan Hubicka  <jh@suse.cz>

        PR middle-end/57500
        * cgraphunit.c (cgraph_process_same_body_aliases): Create
        non-VAR_DECL node if it does not exist yet.

From-SVN: r199634
2013-06-03 22:33:46 -04:00
GCC Administrator
3d5d3d4335 Daily bump.
From-SVN: r199633
2013-06-04 00:16:38 +00:00
Jason Merrill
3800c0108b correct changelog date
From-SVN: r199630
2013-06-03 19:17:06 -04:00
Jason Merrill
3aaaa103d7 class.c (mark_type_abi_tags): New.
* class.c (mark_type_abi_tags): New.
	(check_abi_tags): Use it.

From-SVN: r199629
2013-06-03 19:13:10 -04:00
Balaji V. Iyer
25c229379a Fixed a bug in expansion of array notations in if-statement conditions.
2013-06-03  Balaji V. Iyer  <balaji.v.iyer@intel.com>

       * c-typeck.c (c_finish_if_stmt): Added a check to see if the rank of the
       condition of the if-statement matches the rank of else-block and then-
       block when array notations are used.
       * c-parser.c (c_parser_declaration_or_fndef): Expanded array notation
       expression after the entire function body is parsed.
       (c_parser_expr_no_commas): Delayed creating array notation expressions
       to the end of function parsing.
       * c-array-notation.c (fix_conditional_array_notations_1): Expanded the
       whole if-statement instead of just the condition.
       (expand_array_notation_exprs): Added MODIFY_EXPR case.


2013-06-03  Balaji V. Iyer  <balaji.v.iyer@intel.com>

       * c-c++-common/cilk-plus/AN/if_test_errors.c (main): New testcase.
       * c-c++-common/cilk-plus/AN/rank_mismatch.c: Added a '-w' option to
       dg-option and an header comment.

From-SVN: r199628
2013-06-03 15:28:09 -07:00
Balaji V. Iyer
edd2564566 re PR c/57474 (FAIL: c-c++-common/cilk-plus/AN/sec_implicit2?.c -fcilkplus (internal compiler error) on x86_64-apple-darwin10)
2013-06-03  Balaji V. Iyer  <balaji.v.iyer@intel.com>

       PR c/57474
       * c-array-notation.c (build_array_notation_expr): Initialized rhs_length
       array to NULL_TREE if they are unused.  Also added a check for the
       field to be NULL before its fields are used in future.

From-SVN: r199627
2013-06-03 14:07:54 -07:00
Paolo Carlini
2e6491515e re PR c++/57419 (Access control doesn't stop referring to a deleted function)
/gcc/cp
2013-06-03  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/57419
	* decl2.c (mark_used): Add overload taking a tsubst_flags_t too.
	* semantics.c (finish_qualified_id_expr): Use it.
	* cp-tree.h: Update.

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

	PR c++/57419
	* g++.dg/cpp0x/sfinae46.C: New.
	* g++.dg/cpp0x/defaulted13.C: Adjust.
	* g++.dg/cpp0x/defaulted2.C: Likewise.
	* g++.dg/cpp0x/defaulted26.C: Likewise.
	* g++.dg/cpp0x/defaulted3.C: Likewise.
	* g++.dg/cpp0x/error1.C: Likewise.
	* g++.dg/cpp0x/implicit1.C: Likewise.
	* g++.dg/cpp0x/implicit11.C: Likewise.
	* g++.dg/cpp0x/inh-ctor13.C: Likewise.
	* g++.dg/cpp0x/initlist47.C: Likewise.
	* g++.dg/cpp0x/initlist9.C: Likewise.
	* g++.dg/cpp0x/lambda/lambda-errloc.C: Likewise.
	* g++.dg/cpp0x/lambda/lambda-errloc2.C: Likewise.
	* g++.dg/cpp0x/nsdmi-local.C: Likewise.
	* g++.dg/cpp0x/union4.C: Likewise.
	* g++.dg/template/crash108.C: Likewise.
	* g++.dg/template/crash41.C: Likewise.
	* g++.old-deja/g++.jason/local.C: Likewise.
	* g++.old-deja/g++.law/visibility3.C: Likewise.

/libstdc++-v3
2013-06-03  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/57419
	* testsuite/20_util/default_delete/48631_neg.cc: Adjust.

From-SVN: r199626
2013-06-03 20:39:50 +00:00
Richard Sandiford
53984b9b4c gcc/
* config.gcc (mipsisa64sr71k-*-elf*, mipsisa64sb1-*-elf*)
	(mipsisa64sb1el-*-elf*, mips64-*-elf*, mips64el-*-elf*)
	(mips64orion-*-elf*, mips64orionel-*-elf*): Remove
	target_cpu_default setting.

From-SVN: r199624
2013-06-03 19:16:11 +00:00
Teresa Johnson
5d318fd4a7 dumpfile.c (opt_info_switch_p): Change -fopt-info default to -fopt-info=optimized instead of all.
2013-06-03  Teresa Johnson  <tejohnson@google.com>

	* dumpfile.c (opt_info_switch_p): Change -fopt-info
        default to -fopt-info=optimized instead of all.
	* doc/invoke.texi: Ditto.
	* tree-vectorizer.c (vectorize_loops): Emit loop vectorization
        success under MSG_OPTIMIZED_LOCATIONS, and use dump_printf_loc.
	(execute_vect_slp): Emit BB vectorization success under
        MSG_OPTIMIZED_LOCATIONS.
	* tree-vect-slp.c (vect_slp_transform_bb): Change
        MSG_OPTIMIZED_LOCATIONS to MSG_NOTE.
	* tree-vect-loop.c (vect_transform_loop): Ditto.

	* testsuite/gcc.dg/vect/bb-slp-31.c: Update vect dump message.
	* testsuite/gcc.dg/vect/bb-slp-14.c: Ditto.
	* testsuite/gcc.dg/vect/fast-math-bb-slp-call-1.c: Ditto.
	* testsuite/gcc.dg/vect/bb-slp-23.c: Ditto.
	* testsuite/gcc.dg/vect/bb-slp-15.c: Ditto.
	* testsuite/gcc.dg/vect/fast-math-bb-slp-call-2.c: Ditto.
	* testsuite/gcc.dg/vect/bb-slp-24.c: Ditto.
	* testsuite/gcc.dg/vect/bb-slp-16.c: Ditto.
	* testsuite/gcc.dg/vect/bb-slp-25.c: Ditto.
	* testsuite/gcc.dg/vect/bb-slp-pattern-2.c: Ditto.
	* testsuite/gcc.dg/vect/bb-slp-17.c: Ditto.
	* testsuite/gcc.dg/vect/bb-slp-1.c: Ditto.
	* testsuite/gcc.dg/vect/bb-slp-26.c: Ditto.
	* testsuite/gcc.dg/vect/bb-slp-18.c: Ditto.
	* testsuite/gcc.dg/vect/bb-slp-2.c: Ditto.
	* testsuite/gcc.dg/vect/no-tree-reassoc-bb-slp-12.c: Ditto.
	* testsuite/gcc.dg/vect/bb-slp-27.c: Ditto.
	* testsuite/gcc.dg/vect/bb-slp-19.c: Ditto.
	* testsuite/gcc.dg/vect/bb-slp-3.c: Ditto.
	* testsuite/gcc.dg/vect/bb-slp-28.c: Ditto.
	* testsuite/gcc.dg/vect/bb-slp-4.c: Ditto.
	* testsuite/gcc.dg/vect/bb-slp-29.c: Ditto.
	* testsuite/gcc.dg/vect/bb-slp-5.c: Ditto.
	* testsuite/gcc.dg/vect/bb-slp-6.c: Ditto.
	* testsuite/gcc.dg/vect/bb-slp-8a.c: Ditto.
	* testsuite/gcc.dg/vect/bb-slp-7.c: Ditto.
	* testsuite/gcc.dg/vect/bb-slp-8b.c: Ditto.
	* testsuite/gcc.dg/vect/bb-slp-8.c: Ditto.
	* testsuite/gcc.dg/vect/bb-slp-9.c: Ditto.
	* testsuite/gcc.dg/vect/bb-slp-10.c: Ditto.
	* testsuite/gcc.dg/vect/bb-slp-11.c: Ditto.
	* testsuite/gcc.dg/vect/bb-slp-20.c: Ditto.
	* testsuite/gcc.dg/vect/bb-slp-cond-1.c: Ditto.
	* testsuite/gcc.dg/vect/bb-slp-21.c: Ditto.
	* testsuite/gcc.dg/vect/bb-slp-30.c: Ditto.
	* testsuite/gcc.dg/vect/bb-slp-13.c: Ditto.
	* testsuite/gcc.dg/vect/bb-slp-22.c: Ditto.
	* testsuite/g++.dg/vect/slp-pr50413.cc: Ditto.
	* testsuite/g++.dg/vect/slp-pr56812.cc: Ditto.
	* testsuite/g++.dg/vect/slp-pr50819.cc: Ditto.

From-SVN: r199620
2013-06-03 18:39:04 +00:00
Jason Merrill
ec3af349a6 re PR c++/57415 (New PPC testsuite failure C++ compound literarl expr unimplemented)
PR c++/57415
	* config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
	Use TARGET_EXPR for C++.

From-SVN: r199616
2013-06-03 14:19:30 -04:00
Jakub Jelinek
1baf9159af re PR rtl-optimization/57268 (c nested loops hang compiler in sched-deps.c)
PR rtl-optimization/57268
	* sched-deps.c (sched_analyze_2): Don't flush_pedning_lists
	if DEBUG_INSN_P (insn).

	Reapply
	2013-05-31  Dinar Temirbulatov  <dinar@kugelworks.com>

	PR rtl-optimization/57268
	* sched-deps.c (sched_analyze_2): Flush dependence lists if
	the sum of the read and write lists exceeds MAX_PENDING_LIST_LENGTH.

From-SVN: r199615
2013-06-03 19:38:39 +02:00
Yuri Rumyantsev
0f1d3965bd i386.c (ix86_lea_outperforms): Fix formatting.
* config/i386/i386.c (ix86_lea_outperforms): Fix formatting.
	(ix86_avoid_lea_for_addr): Likewise.
	(exact_dependency_1): Likewise.
	(ix86_adjust_cost): Likewise.
	(swap_top_of_ready_list): Fix formatting and !reload_completed check
	removed.
	(do_reorder_for_imul): Fix typo, formatting and
	!reload_completed check removed.
	(ix86_sched_reorder): Fix typo and formatting.
	(fold_builtin_cpu): Move M_INTEL_SLM at the end of processor types
	list.

	* config/i386/cpuinfo.c (INTEL_SLM): New enum value.

From-SVN: r199611
2013-06-03 19:20:02 +02:00
Sofiane Naci
3bc30db4f1 * config/aarch64/aarch64.md (*movdi_aarch64): Define "simd" attribute.
From-SVN: r199608
2013-06-03 14:55:56 +00:00
Christophe Lyon
634cfa2ba8 sanitizer_linux.cc (MemoryMappingLayout::Next): Cherry pick upstream r182922.
2013-06-03  Christophe Lyon  <christophe.lyon@linaro.org>

       * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
       Cherry pick upstream r182922.

From-SVN: r199606
2013-06-03 15:04:35 +02:00
Dinar Temirbulatov
4096c0c201 MAINTAINERS (Write After Approval): Add myself.
* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r199603
2013-06-03 15:10:54 +04:00
Eric Botcazou
19cc6fac40 varasm.c (output_constant): Minor formatting tweak.
* varasm.c (output_constant) <CONSTRUCTOR>: Minor formatting tweak.
	<STRING_CST>: Likewise.
	<VECTOR_CST>: Likewise.

From-SVN: r199599
2013-06-03 09:35:41 +00:00
Tobias Burnus
c2b2130c71 re PR libfortran/57496 (I/O: WRITE(*,*) HUGE(0._10) gives SIGFPE with -ffpe-trap=overflow)
2013-06-01  Tobias Burnus  <burnus@net-b.de>

        PR fortran/57496
        * io/write_float.def (ISFINITE2Q, ISFINITE2, ISFINITE2L,
        * ISFINITE,
        SIGNBIT2Q, SIGNBIT2, SIGNBIT2L, SIGNBIT, ISNAN2Q, ISNAN2,
        ISNAN2L, ISNAN): New macros.
        (output_float_FMT_G_,WRITE_FLOAT): Use them.

From-SVN: r199598
2013-06-03 11:20:46 +02:00
GCC Administrator
7ddffc7fb5 Daily bump.
From-SVN: r199596
2013-06-03 00:16:32 +00:00
GCC Administrator
10e8cab66b Daily bump.
From-SVN: r199590
2013-06-02 00:16:36 +00:00
Ed Smith-Rowland
fa40983341 include/std/chrono: Collapse redundant 'inline' from 'inline constexpr'.
2013-06-01  Ed Smith-Rowland  <3dw4rd@verizon.net>

	include/std/chrono: Collapse redundant 'inline' from 'inline constexpr'.
	include/std/tuple: Ditto.
	include/bits/move.h: Ditto.

From-SVN: r199587
2013-06-01 21:39:50 +00:00
Janus Weil
c68a6e08c5 configure.ac: Add AC_HEADER_TIOCGWINSZ macro.
2013-06-01  Janus Weil  <janus@gcc.gnu.org>
	    Mikael Morin  <mikael@gcc.gnu.org>

	* configure.ac: Add AC_HEADER_TIOCGWINSZ macro.
	* config.in: Regenerated.
	* configure: Regenerated.


2013-06-01  Janus Weil  <janus@gcc.gnu.org>
	    Mikael Morin  <mikael@gcc.gnu.org>

	* error.c (get_terminal_width): Only limit the width if we're
	outputting to a terminal. Try to determine width via ioctl.

Co-Authored-By: Mikael Morin <mikael@gcc.gnu.org>

From-SVN: r199585
2013-06-01 21:12:57 +02:00
Ed Smith-Rowland
1c9f675fd9 Implement N3642 - User-defined Literals for Standard Library Types
2013-05-30  Ed Smith-Rowland  <3dw4rd@verizon.net>

	Implement N3642 - User-defined Literals for Standard Library Types
	* include/bits/parse_numbers.h: New.
	* include/std/chrono: Add duration literal operators.
	* include/bits/basic_string.h: Add string literal operators.
	* include/Makefile.in: Add parse_numbers.h.
	* include/Makefile.am: Ditto.
	* testsuite/20_util/duration/literals/values.cc: New.
	* testsuite/20_util/duration/literals/types.cc: New.
	* testsuite/20_util/duration/requirements/typedefs_neg1.cc: Adjust.
	* testsuite/20_util/duration/requirements/typedefs_neg2.cc: Adjust.
	* testsuite/20_util/duration/requirements/typedefs_neg3.cc: Adjust.
	* testsuite/21_strings/basic_string/literals/values.cc: New.
	* testsuite/21_strings/basic_string/literals/types.cc: New.

From-SVN: r199584
2013-06-01 18:37:47 +00:00
Jan Hubicka
38e55e5c36 re PR middle-end/57366 (gcc.dg/lto/attr-weakref-1 FAILs)
PR middle-end/57366
	* cgraphunit.c (compile): When weakref is not supported,
	set up transparent aliases before final output pass.
	* varasm.c (assemble_alias): Do not try to do it here.

From-SVN: r199583
2013-06-01 16:49:47 +00:00
Jan Hubicka
eb51d2ff18 re PR middle-end/57467 (FAIL: gfortran.dg/gomp/appendix-a/a.(22.1|22.6|33.1).f90 -O (internal compiler error))
PR middle-end/57467
	* passes.c (for_per_function): Skip unanalyzed functions.

From-SVN: r199582
2013-06-01 16:40:31 +00:00
Tobias Burnus
3a43b5b3cb decl.c (add_global_entry): Take locus.
2013-06-01  Tobias Burnus  <burnus@net-b.de>

        * decl.c (add_global_entry): Take locus.
        (gfc_match_entry): Update call.
        (gfc_match_end): Better error location.
        * parse.c (parse_block_data, parse_module, add_global_procedure,
        add_global_program): Use better locus data.

From-SVN: r199580
2013-06-01 16:30:43 +02:00
Jan Hubicka
40a7fe1e38 lto-symtab.c (lto_symtab_merge_cgraph_nodes_1): Rename to ...
* lto-symtab.c (lto_symtab_merge_cgraph_nodes_1): Rename to ...
	(lto_symtab_merge_symbols_1): ... this one.
	(lto_symtab_merge_cgraph_nodes): Rename to ...
	(lto_symtab_merge_symbols): ... this one; simplify.
	* cgraph.c (same_body_aliases_done): Rename to ...
	(cpp_implicit_aliases_done): ... this one.
	(cgraph_create_function_alias): Update.
	(cgraph_same_body_alias): Update.
	(dump_cgraph_node): Remove alias dumping; simplify
	thunk dumping.
	(verify_edge_corresponds_to_fndecl): Simplify.
	* cgraph.h (symtab_node_base): Add cpp_implicit_alias,
	alias_target.
	(cgraph_node): Remove same_body_alias.
	(varpool_node): Remove alias_of and extra_name_alias.
	(same_body_aliases_done): Rename to ..
	(cpp_implicit_aliases_done): ... this one.
	(symtab_alias_ultimate_target): Add default parameter.
	(symtab_resolve_alias): New function.
	(fixup_same_cpp_alias_visibility): Declare.
	(cgraph_function_node): Add default parameter.
	(cgraph_node_asm_name): Likewise.
	(cgraph_function_or_thunk_node): Add default parameter; do
	not ICE when it is NULL.
	(varpool_variable_node): Likewise.
	* tree-emutls.c (create_emultls_var): Update.
	(ipa_lower_emutls): Update.
	* cgraphunit.c (cgraph_decide_is_function_needed): Update.
	(cgraph_reset_node): Reset alias info.
	(cgraph_finalize_function): Update.
	(fixup_same_cpp_alias_visibility): Move to symtab.c.
	(analyze_function): Simplify.
	(cgraph_process_same_body_aliases): Simplify.
	(analyze_functions): Fixup same body aliases.
	(handle_alias_pairs): Simplify.
	(assemble_thunk): Update.
	(assemble_thunks_and_aliases): Update.
	(output_weakrefs): Rewrite.
	* lto-cgraph.c (lto_output_node): Rewrite alias handling.
	(lto_output_varpool_node): Likewise.
	(compute_ltrans_boundary): Remve assert.
	(get_alias_symbol): New functoin.
	(input_node): Rewrite alias handling.
	(input_varpool_node): Likewise.
	* ipa-pure-const.c (propagate_pure_const): Fix formating.
	* ipa.c (process_references): Handle weakrefs correctly.
	(symtab_remove_unreachable_nodes): Likewise.
	* trans-mem.c (get_cg_data): Update.
	(ipa_tm_create_version_alias): Update.
	(ipa_tm_execute): Update.
	* symtab.c (dump_symtab_base): Dump aliases.
	(verify_symtab_base): Verify aliases.
	(symtab_node_availability): New function.
	(symtab_alias_ultimate_target): Simplify.
	(fixup_same_cpp_alias_visibility): Move here from cgraphunit.c;
	handle all the fixup cases.
	(symtab_resolve_alias): New function.
	* passes.c (ipa_write_summaries): Handle weakrefs.
	* varpool.c (varpool_analyze_node): Simplify.
	(assemble_aliases): Update.
	(varpool_create_variable_alias): Simplify.
	(varpool_extra_name_alias): Simplify.
	* lto-streamer.h (lto_symtab_merge_cgraph_nodes): Rename to...
	(lto_symtab_merge_symbols): ... this one.

	* decl2.c (cp_write_global_declarations): Replace same_body_alias
	by symbol.cpp_implicit_alias.

	* lto.c (read_cgraph_and_symbols): Simplify dumping; Replace
	lto_symtab_merge_cgraph_nodes by lto_symtab_merge_symbols.
	(do_whole_program_analysis): Update dumping.

From-SVN: r199577
2013-06-01 13:08:53 +00:00
Dinar Temirbulatov
2175988161 revert: re PR rtl-optimization/57268 (c nested loops hang compiler in sched-deps.c)
2013-06-01  Dinar Temirbulatov  <dinar@kugelworks.com>

        Revert
        PR rtl-optimization/57268
        * sched-deps.c (sched_analyze_2): Flush dependence lists if
        the sum of the read and write lists exceeds MAX_PENDING_LIST_LENGTH.

From-SVN: r199576
2013-06-01 14:18:03 +04:00
Tobias Burnus
daf4e94043 Partially reverted: 2013-05-31 Tobias Burnus <burnus@net-b.de>
2013-06-01  Tobias Burnus  <burnus@net-b.de>

        Partially reverted:
        2013-05-31  Tobias Burnus  <burnus@net-b.de>

        PR middle-end/57073
        * tree-ssa-math-opts.c (execute_cse_sincos): Move check
        further up.

From-SVN: r199575
2013-06-01 10:39:59 +02:00
Tobias Burnus
4596d4bfc7 re PR fortran/57456 ([OOP] CLASS + CHARACTER ALLOCATE with typespec: For arrays, the typespec is ignored)
2013-06-01  Tobias Burnus  <burnus@net-b.de>

        PR fortran/57456
        * gfortran.dg/class_array_17.f90: New.

From-SVN: r199573
2013-06-01 09:50:28 +02:00
Matt Burgess
8c9fddf41d re PR other/56780 (--disable-install-libiberty still installs libiberty.a)
PR other/56780
	* libiberty/configure.ac: Move test for --enable-install-libiberty
	outside of the 'with_target_subdir' test so that it actually gets
	run.  Add output messages to show the test result.
	* libiberty/configure: Regenerate.
	* libiberty/Makefile.in (install_to_libdir): Place the
	installation of the libiberty library in the same guard as that
	used for the headers to prevent it being installed unless
	requested via --enable-install-libiberty.

From-SVN: r199570
2013-06-01 00:20:49 +00:00
GCC Administrator
4bb1dd0fb8 Daily bump.
From-SVN: r199569
2013-06-01 00:16:30 +00:00
Dinar Temirbulatov
c359d8d046 re PR rtl-optimization/57268 (c nested loops hang compiler in sched-deps.c)
2013-05-31  Dinar Temirbulatov  <dinar@kugelworks.com>

        PR rtl-optimization/57268
        * sched-deps.c (sched_analyze_2): Flush dependence lists if
        the sum of the read and write lists exceeds MAX_PENDING_LIST_LENGTH.

From-SVN: r199564
2013-06-01 03:20:17 +04:00
Dinar Temirbulatov
dc801ca2de add myself(Dinar Temirbulatov) to write-after-approval access.
From-SVN: r199561
2013-06-01 02:33:38 +04:00
Eric Botcazou
7f99802177 Fix typo
From-SVN: r199560
2013-05-31 19:41:36 +00:00
Eric Botcazou
57f0f7bca0 floatstore.lst: New.
* ada/acats/floatstore.lst: New.
	* ada/acats/run_all.sh: Process it.

From-SVN: r199558
2013-05-31 19:22:52 +00:00
Eric Botcazou
4172215d0a predicates.md (rs6000_cbranch_operator): Accept some unordered comparison operators when...
* config/rs6000/predicates.md (rs6000_cbranch_operator): Accept some
	unordered comparison operators when -fno-trapping-math is in effect
	on the e500.
	* config/rs6000/rs6000.c (rs6000_generate_compare): Remove dead code
	and implement unordered comparison operators properly on the e500.

From-SVN: r199557
2013-05-31 19:12:05 +00:00
Eric Botcazou
a8c50132e9 simplify-rtx.c (simplify_byte_swapping_operation): Use proper macro for constant scalar integers.
* simplify-rtx.c (simplify_byte_swapping_operation): Use proper macro
	for constant scalar integers.
	(simplify_relational_operation_1): Likewise.

From-SVN: r199556
2013-05-31 19:08:51 +00:00
Segher Boessenkool
44626634cd rs6000-opts.h (enum processor_type): Reorder.
2013-05-31  Segher Boessenkool  <segher@kernel.crashing.org>

gcc/
        * config/rs6000/rs6000-opts.h (enum processor_type): Reorder.
        * config/rs6000/rs6000.md (cpu): Reorder.  Split long line.
        Fix comment.

From-SVN: r199555
2013-05-31 20:15:01 +02:00
Marcus Shawcroft
dd7b0c8128 Fix pr54684.C regression.
From-SVN: r199552
2013-05-31 17:46:10 +00:00
Marcus Shawcroft
cf11fc73f6 Fix pr56184.C regression.
From-SVN: r199551
2013-05-31 17:44:04 +00:00
Marcus Shawcroft
2dc82ccbdc Fix eb76.C regression for arm*-*-*.
From-SVN: r199550
2013-05-31 17:42:35 +00:00
Yuri Rumyantsev
55805e5496 Silvermont (SLM) architecture performance tuning
2013-05-31  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
	    Igor Zamyatin  <igor.zamyatin@intel.com>

	* config/i386/i386.h (enum ix86_tune_indices): Add
	X86_TUNE_SPLIT_MEM_OPND_FOR_FP_CONVERTS.
	(TARGET_SPLIT_MEM_OPND_FOR_FP_CONVERTS): New define.

	* config/i386/i386.c (initial_ix86_tune_features)
	<X86_TUNE_SPLIT_MEM_OPND_FOR_FP_CONVERTS>: Initialize.
	(ix86_lea_outperforms): Handle Silvermont tuning.
	(ix86_avoid_lea_for_add): Add new argument to ix86_lea_outperforms
	call.
	(ix86_use_lea_for_mov): Likewise.
	(ix86_avoid_lea_for_addr): Likewise.
	(ix86_lea_for_add_ok): Likewise.
	(exact_dependency_1): New function.
	(exact_store_load_dependency): Likewise.
	(ix86_adjust_cost): Handle Silvermont tuning.
	(do_reoder_for_imul): Likewise.
	(swap_top_of_ready_list): New function.
	(ix86_sched_reorder): Changed to handle Silvermont tuning.

	* config/i386/i386.md (peepholes that split memory operand in fp
	converts): New.

From-SVN: r199546
2013-05-31 08:52:42 -07:00
Marcus Shawcroft
e19c9de235 [PATCH, AArch64] Remove excessive braces.
From-SVN: r199545
2013-05-31 15:45:48 +00:00
Marcus Shawcroft
38e6c9a62b [AArch64] -mcmodel=tiny -fPIC use tiny absolute for non binds local.
From-SVN: r199544
2013-05-31 15:40:09 +00:00
Jason Merrill
6a8b3087b2 fix nsdmi-union2.C
From-SVN: r199541
2013-05-31 09:39:47 -04:00