Commit Graph

123717 Commits

Author SHA1 Message Date
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
Balaji V. Iyer
17dc571e3f re PR c/57452 (FAIL: c-c++-common/cilk-plus/AN/if_test.c)
2013-05-31  Balaji V. Iyer  <balaji.v.iyer@intel.com>

	PR c/57452
	* c-c++-common/cilk-plus/AN/if_test.c: Fixed out of bounds issue in
	test-case.

From-SVN: r199537
2013-05-31 05:55:02 -07:00
Rainer Orth
6ed17438b3 Moved gcc.dg/debug/dwarf2/discriminator.c to proper ChangeLog.
From-SVN: r199535
2013-05-31 11:53:40 +00:00
Rainer Orth
3d6cc50a46 Fix gcc.dg/shrink-wrap-alloca.c
* gcc.dg/shrink-wrap-alloca.c: Use __builtin_alloca.

From-SVN: r199533
2013-05-31 11:32:43 +00:00
Marek Polacek
ccc20e5ca1 Add testcase for PR57478
From-SVN: r199531
2013-05-31 10:58:52 +00:00
Tobias Burnus
e3530904e7 re PR middle-end/57073 (__builtin_powif (-1.0, k) should be optimized to "1.0 - 2.0 * (K%2)")
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: r199529
2013-05-31 12:18:40 +02:00
Tobias Burnus
2bdf1c75e4 re PR fortran/57456 ([OOP] CLASS + CHARACTER ALLOCATE with typespec: For arrays, the typespec is ignored)
2013-05-31  Tobias Burnus  <burnus@net-b.de>

        PR fortran/57456
        * trans-array.c (gfc_array_init_size): Use passed type spec,
        when available.
        (gfc_array_allocate): Pass typespec on.
        * trans-array.h (gfc_array_allocate): Update prototype.
        * trans-stmt.c (gfc_trans_allocate): Pass typespec on.

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

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

From-SVN: r199528
2013-05-31 11:41:53 +02:00
Kyrylo Tkachov
b6af05a9b3 re PR target/56315 (ARM: Improve use of 64-bit constants in logical operations)
gcc/
2013-05-31  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

	PR target/56315
	* config/arm/arm.c (const_ok_for_dimode_op): Handle IOR.
	* config/arm/arm.md (*iordi3_insn): Change to insn_and_split.
	* config/arm/neon.md (iordi3_neon): Remove.
	(neon_vorr<mode>): Generate iordi3 instead of iordi3_neon.
	* config/arm/predicates.md (imm_for_neon_logic_operand):
	Move to earlier in the file.
	(neon_logic_op2): Likewise.
	(arm_iordi_operand_neon): New predicate.
	
gcc/testsuite/
2013-05-31  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

	PR target/56315
	* gcc.target/arm/iordi3-opt.c: New test.

From-SVN: r199527
2013-05-31 09:29:41 +00:00
Richard Biener
f800c16610 re PR tree-optimization/57478 (ice in vec.h:815)
2013-05-31  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/57478
	PR tree-optimization/57453
	* tree-vect-slp.c (vect_bb_slp_scalar_cost): Uses in PHI nodes
	are life as well.

From-SVN: r199476
2013-05-31 08:56:28 +00:00
Janus Weil
e7333b691a re PR fortran/54190 (TYPE(*)/assumed-rank: Type/rank check too relaxed for dummy procedure)
2013-05-31  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/54190
	PR fortran/57217
	* gfortran.h (gfc_terminal_width): Remove prototype.
	* error.c (get_terminal_width): Moved here from misc.c. Renamed.
	Try to determine terminal width from environment variable.
	* interface.c (compare_type, compare_rank): New functions. Fix assumed
	type/rank handling.
	(compare_type_rank, check_dummy_characteristics,
	check_result_characteristics, gfc_compare_interfaces): Use them.
	(symbol_rank): Slightly modified and moved.
	* misc.c (gfc_terminal_width): Moved to error.c.


2013-05-31  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/54190
	PR fortran/57217
	* gfortran.dg/dummy_procedure_5.f90: Modified error message.
	* gfortran.dg/interface_26.f90: Ditto.
	* gfortran.dg/proc_ptr_11.f90: Ditto.
	* gfortran.dg/proc_ptr_15.f90: Ditto.
	* gfortran.dg/proc_ptr_comp_20.f90: Ditto.
	* gfortran.dg/proc_ptr_comp_33.f90: Ditto.
	* gfortran.dg/proc_ptr_result_5.f90: Ditto.
	* gfortran.dg/typebound_override_1.f90: Ditto.
	* gfortran.dg/typebound_override_4.f90: Ditto.
	* gfortran.dg/typebound_proc_6.f03: Ditto.
	* gfortran.dg/assumed_type_7.f90: New test.
	* gfortran.dg/typebound_override_5.f90: New test.
	* gfortran.dg/typebound_override_6.f90: New test.
	* gfortran.dg/typebound_override_7.f90: New test.

From-SVN: r199475
2013-05-31 10:09:09 +02:00
Kaushik Phatak
e571fa5912 rl78.md (mulqi3,mulhi3): New define_expands.
* config/rl78/rl78.md (mulqi3,mulhi3): New define_expands.
(mulqi3_rl78,mulhi3_rl78,mulhi3_g13): New define_insns.

From-SVN: r199469
2013-05-31 04:23:02 +00:00
GCC Administrator
a75a6c8625 Daily bump.
From-SVN: r199464
2013-05-31 00:16:42 +00:00