1. 03 Jun, 2013 16 commits
    • correct changelog date · 3800c010
      From-SVN: r199630
      Jason Merrill committed
    • class.c (mark_type_abi_tags): New. · 3aaaa103
      	* class.c (mark_type_abi_tags): New.
      	(check_abi_tags): Use it.
      
      From-SVN: r199629
      Jason Merrill committed
    • Fixed a bug in expansion of array notations in if-statement conditions. · 25c22937
      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
      Balaji V. Iyer committed
    • re PR c/57474 (FAIL: c-c++-common/cilk-plus/AN/sec_implicit2?.c -fcilkplus… · edd25645
      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
      Balaji V. Iyer committed
    • re PR c++/57419 (Access control doesn't stop referring to a deleted function) · 2e649151
      /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
      Paolo Carlini committed
    • gcc/ · 53984b9b
      	* config.gcc (mipsisa64sr71k-*-elf*, mipsisa64sb1-*-elf*)
      	(mipsisa64sb1el-*-elf*, mips64-*-elf*, mips64el-*-elf*)
      	(mips64orion-*-elf*, mips64orionel-*-elf*): Remove
      	target_cpu_default setting.
      
      From-SVN: r199624
      Richard Sandiford committed
    • dumpfile.c (opt_info_switch_p): Change -fopt-info default to -fopt-info=optimized instead of all. · 5d318fd4
      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
      Teresa Johnson committed
    • re PR c++/57415 (New PPC testsuite failure C++ compound literarl expr unimplemented) · ec3af349
      	PR c++/57415
      	* config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
      	Use TARGET_EXPR for C++.
      
      From-SVN: r199616
      Jason Merrill committed
    • re PR rtl-optimization/57268 (c nested loops hang compiler in sched-deps.c) · 1baf9159
      	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
      Jakub Jelinek committed
    • i386.c (ix86_lea_outperforms): Fix formatting. · 0f1d3965
      	* 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
      Yuri Rumyantsev committed
    • sanitizer_linux.cc (MemoryMappingLayout::Next): Cherry pick upstream r182922. · 634cfa2b
      2013-06-03  Christophe Lyon  <christophe.lyon@linaro.org>
      
             * sanitizer_common/sanitizer_linux.cc (MemoryMappingLayout::Next):
             Cherry pick upstream r182922.
      
      From-SVN: r199606
      Christophe Lyon committed
    • MAINTAINERS (Write After Approval): Add myself. · 4096c0c2
      * MAINTAINERS (Write After Approval): Add myself.
      
      From-SVN: r199603
      Dinar Temirbulatov committed
    • varasm.c (output_constant): Minor formatting tweak. · 19cc6fac
      	* varasm.c (output_constant) <CONSTRUCTOR>: Minor formatting tweak.
      	<STRING_CST>: Likewise.
      	<VECTOR_CST>: Likewise.
      
      From-SVN: r199599
      Eric Botcazou committed
    • re PR libfortran/57496 (I/O: WRITE(*,*) HUGE(0._10) gives SIGFPE with -ffpe-trap=overflow) · c2b2130c
      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
      Tobias Burnus committed
    • Daily bump. · 7ddffc7f
      From-SVN: r199596
      GCC Administrator committed
  2. 02 Jun, 2013 1 commit
  3. 01 Jun, 2013 12 commits
    • include/std/chrono: Collapse redundant 'inline' from 'inline constexpr'. · fa409833
      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
      Ed Smith-Rowland committed
    • configure.ac: Add AC_HEADER_TIOCGWINSZ macro. · c68a6e08
      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
      Janus Weil committed
    • Implement N3642 - User-defined Literals for Standard Library Types · 1c9f675f
      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
      Ed Smith-Rowland committed
    • re PR middle-end/57366 (gcc.dg/lto/attr-weakref-1 FAILs) · 38e55e5c
      	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
      Jan Hubicka committed
    • re PR middle-end/57467 (FAIL: gfortran.dg/gomp/appendix-a/a.(22.1|22.6|33.1).f90… · eb51d2ff
      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
      Jan Hubicka committed
    • decl.c (add_global_entry): Take locus. · 3a43b5b3
      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
      Tobias Burnus committed
    • lto-symtab.c (lto_symtab_merge_cgraph_nodes_1): Rename to ... · 40a7fe1e
      	* 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
      Jan Hubicka committed
    • revert: re PR rtl-optimization/57268 (c nested loops hang compiler in sched-deps.c) · 21759881
      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
      Dinar Temirbulatov committed
    • Partially reverted: 2013-05-31 Tobias Burnus <burnus@net-b.de> · daf4e940
      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
      Tobias Burnus committed
    • re PR fortran/57456 ([OOP] CLASS + CHARACTER ALLOCATE with typespec: For arrays,… · 4596d4bf
      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
      Tobias Burnus committed
    • re PR other/56780 (--disable-install-libiberty still installs libiberty.a) · 8c9fddf4
      	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
      Matt Burgess committed
    • Daily bump. · 4bb1dd0f
      From-SVN: r199569
      GCC Administrator committed
  4. 31 May, 2013 11 commits