1. 11 Jul, 2016 7 commits
  2. 10 Jul, 2016 2 commits
    • Implement std::optional. · 435e56fb
      	* include/Makefile.am: Add optional to exported headers.
      	* include/Makefile.in: Likewise.
      	* include/std/optional: New.
      	* testsuite/20_util/optional/typedefs.cc: Likewise.
      	* testsuite/20_util/optional/relops/2.cc: Likewise.
      	* testsuite/20_util/optional/relops/3.cc: Likewise.
      	* testsuite/20_util/optional/relops/4.cc: Likewise.
      	* testsuite/20_util/optional/relops/5.cc: Likewise.
      	* testsuite/20_util/optional/relops/1.cc: Likewise.
      	* testsuite/20_util/optional/relops/6.cc: Likewise.
      	* testsuite/20_util/optional/nullopt.cc: Likewise.
      	* testsuite/20_util/optional/in_place.cc: Likewise.
      	* testsuite/20_util/optional/make_optional.cc: Likewise.
      	* testsuite/20_util/optional/assignment/2.cc: Likewise.
      	* testsuite/20_util/optional/assignment/3.cc: Likewise.
      	* testsuite/20_util/optional/assignment/4.cc: Likewise.
      	* testsuite/20_util/optional/assignment/5.cc: Likewise.
      	* testsuite/20_util/optional/assignment/1.cc: Likewise.
      	* testsuite/20_util/optional/assignment/6.cc: Likewise.
      	* testsuite/20_util/optional/cons/value_neg.cc: Likewise.
      	* testsuite/20_util/optional/cons/default.cc: Likewise.
      	* testsuite/20_util/optional/cons/move.cc: Likewise.
      	* testsuite/20_util/optional/cons/value.cc: Likewise.
      	* testsuite/20_util/optional/cons/copy.cc: Likewise.
      	* testsuite/20_util/optional/requirements.cc: Likewise.
      	* testsuite/20_util/optional/observers/2.cc: Likewise.
      	* testsuite/20_util/optional/observers/3.cc: Likewise.
      	* testsuite/20_util/optional/observers/4.cc: Likewise.
      	* testsuite/20_util/optional/observers/5.cc: Likewise.
      	* testsuite/20_util/optional/observers/1.cc: Likewise.
      	* testsuite/20_util/optional/constexpr/relops/2.cc: Likewise.
      	* testsuite/20_util/optional/constexpr/relops/3.cc: Likewise.
      	* testsuite/20_util/optional/constexpr/relops/4.cc: Likewise.
      	* testsuite/20_util/optional/constexpr/relops/5.cc: Likewise.
      	* testsuite/20_util/optional/constexpr/relops/1.cc: Likewise.
      	* testsuite/20_util/optional/constexpr/relops/6.cc: Likewise.
      	* testsuite/20_util/optional/constexpr/nullopt.cc: Likewise.
      	* testsuite/20_util/optional/constexpr/in_place.cc: Likewise.
      	* testsuite/20_util/optional/constexpr/make_optional.cc: Likewise.
      	* testsuite/20_util/optional/constexpr/cons/default.cc: Likewise.
      	* testsuite/20_util/optional/constexpr/cons/value.cc: Likewise.
      	* testsuite/20_util/optional/constexpr/observers/2.cc: Likewise.
      	* testsuite/20_util/optional/constexpr/observers/3.cc: Likewise.
      	* testsuite/20_util/optional/constexpr/observers/4.cc: Likewise.
      	* testsuite/20_util/optional/constexpr/observers/5.cc: Likewise.
      	* testsuite/20_util/optional/constexpr/observers/1.cc: Likewise.
      	* testsuite/20_util/optional/swap/1.cc: Likewise.
      
      From-SVN: r238197
      Ville Voutilainen committed
    • Daily bump. · 29058356
      From-SVN: r238196
      GCC Administrator committed
  3. 09 Jul, 2016 2 commits
  4. 08 Jul, 2016 20 commits
  5. 07 Jul, 2016 9 commits
    • re PR c++/70869 (internal compiler error: Segmentation fault on array of pointer… · 842dc2e6
      re PR c++/70869 (internal compiler error: Segmentation fault on array of pointer to function members)
      
      	PR c++/70869
      	PR c++/71054
      	* cp-gimplify.c (cp_genericize_r): For DECL_EXPR for non-static
      	artificial vars, genericize their initializers.
      
      	* g++.dg/cpp0x/pr70869.C: New test.
      	* g++.dg/cpp0x/pr71054.C: New test.
      
      Co-Authored-By: Kai Tietz <ktietz70@googlemail.com>
      
      From-SVN: r238124
      Jakub Jelinek committed
    • * g++.dg/debug/pr71432.C: Fail on AIX. · 31be4262
      From-SVN: r238122
      David Edelsohn committed
    • Update libstdc++ status docs · 9fc0faf0
      	* doc/xml/manual/status_cxx2014.xml: Update LFTS status table.
      	* doc/html/*: Regenerate.
      
      From-SVN: r238120
      Jonathan Wakely committed
    • [multiple changes] · 86ec3bfb
      2016-07-07  Ed Schonberg  <schonberg@adacore.com>
      
      	* exp_ch6.adb (Expand_Internal_Init_Call): Subsidiary procedure
      	to Expand_Protected_ Subprogram_Call, to handle properly a
      	call to a protected function that provides the initialization
      	expression for a private component of the same protected type.
      	* sem_ch9.adb (Analyze_Protected_Definition): Layout must be
      	applied to itypes generated for a private operation of a protected
      	type that has a formal of an anonymous access to subprogram,
      	because these itypes have no freeze nodes and are frozen in place.
      	* sem_ch4.adb (Analyze_Selected_Component): If prefix is a
      	protected type and it is not a current instance, do not examine
      	the first private component of the type.
      
      2016-07-07  Arnaud Charlet  <charlet@adacore.com>
      
      	* exp_imgv.adb, g-dynhta.adb, s-regexp.adb, s-fatgen.adb, s-poosiz.adb:
      	Minor removal of extra whitespace.
      	* einfo.ads: minor removal of repeated "as" in comment
      
      2016-07-07  Vadim Godunko  <godunko@adacore.com>
      
      	* adaint.c: Complete previous change.
      
      From-SVN: r238117
      Arnaud Charlet committed
    • [multiple changes] · 0640c7d1
      2016-07-07  Vadim Godunko  <godunko@adacore.com>
      
      	* adainit.h, adainit.c (__gnat_is_read_accessible_file): New
      	subprogram.
      	(__gnat_is_write_accessible_file): New subprogram.
      	* s-os_lib.ads, s-os_lib.adb (Is_Read_Accessible_File): New subprogram.
      	(Is_Write_Accessible_File): New subprogram.
      
      2016-07-07  Justin Squirek  <squirek@adacore.com>
      
      	* sem_ch12.adb (Install_Body): Minor refactoring in the order
      	of local functions.
      	(In_Same_Scope): Change loop condition to be more expressive.
      
      From-SVN: r238116
      Arnaud Charlet committed
    • [multiple changes] · 8c519039
      2016-07-07  Gary Dismukes  <dismukes@adacore.com>
      
      	* sem_ch3.adb, sem_prag.adb, sem_prag.ads, prj-ext.adb, freeze.adb,
      	sem_attr.adb: Minor reformatting, fix typos.
      
      2016-07-07  Justin Squirek  <squirek@adacore.com>
      
      	* sem_ch12.adb (In_Same_Scope): Created this function to check
      	a generic package definition against an instantiation for scope
      	dependancies.
      	(Install_Body): Add function In_Same_Scope and
      	amend conditional in charge of delaying the package instance.
      	(Is_In_Main_Unit): Add guard to check if parent is present in
      	assignment of Current_Unit.
      
      From-SVN: r238115
      Arnaud Charlet committed
    • Optimize fortran loops with +-1 step. · 1c122092
      	* gfortran.dg/do_1.f90: Remove a corner case that triggers
      	an undefined behavior.
      	* gfortran.dg/do_3.F90: Likewise.
      	* gfortran.dg/do_check_11.f90: New test.
      	* gfortran.dg/do_check_12.f90: New test.
      	* gfortran.dg/do_corner_warn.f90: New test.
      	* lang.opt (Wundefined-do-loop): New option.
              * resolve.c (gfc_resolve_iterator): Warn for Wundefined-do-loop.
      	(gfc_trans_simple_do): Generate a c-style loop.
      	(gfc_trans_do): Fix GNU coding style.
      	* invoke.texi: Mention the new warning.
      
      From-SVN: r238114
      Martin Liska committed
    • sem_ch6.adb (Analyze_Subprogram_Body_Helper): Remove redundant test, adjust… · 9cc6b3f8
      sem_ch6.adb (Analyze_Subprogram_Body_Helper): Remove redundant test, adjust comments and formatting.
      
      2016-07-07  Eric Botcazou  <ebotcazou@adacore.com>
      
      	* sem_ch6.adb (Analyze_Subprogram_Body_Helper): Remove redundant test,
      	adjust comments and formatting.
      	* sem_prag.adb (Inlining_Not_Possible): Do not test Front_End_Inlining
      	here but...
      	(Make_Inline): ...here before calling Inlining_Not_Possible instead.
      	(Set_Inline_Flags): Remove useless test.
      	(Analyze_Pragma) <Pragma_Inline>: Add comment about -gnatn switch.
      
      From-SVN: r238113
      Eric Botcazou committed
    • Add PRED_FORTRAN_LOOP_PREHEADER to DO loops with step · 7119f1b1
      	* trans-stmt.c (gfc_trans_do): Add expect builtin for DO
      	loops with step bigger than +-1.
      	* gfortran.dg/predict-1.f90: Ammend the test.
      	* gfortran.dg/predict-2.f90: Likewise.
      
      From-SVN: r238112
      Martin Liska committed