Skip to content
Snippets Groups Projects
  1. Oct 04, 2016
    • Rainer Orth's avatar
      Restore --enable-objc-gc support · 43c40f3e
      Rainer Orth authored
      	* configure.ac (target_libraries): Readd target-boehm-gc.
      	Restore --enable-objc-gc handling.
      	* configure: Regenerate.
      
      From-SVN: r240740
      43c40f3e
    • Jakub Jelinek's avatar
      defaults.h (JCR_SECTION_NAME, [...]): Remove. · 5a79befb
      Jakub Jelinek authored
      gcc/
      	* defaults.h (JCR_SECTION_NAME, TARGET_USE_JCR_SECTION): Remove.
      	* system.h (JCR_SECTION_NAME, TARGET_USE_JCR_SECTION): Poison.
      	* doc/tm.texi.in (TARGET_USE_JCR_SECTION): Remove.
      	* doc/tm.texi: Regenerated.
      	* config/i386/mingw32.h (TARGET_USE_JCR_SECTION): Remove.
      	* config/i386/cygming.h (TARGET_USE_JCR_SECTION): Remove.
      	* config/darwin.h (JCR_SECTION_NAME): Remove.
      	* config/pa/pa64-hpux.h (JCR_SECTION_NAME): Remove.
      	* config/rs6000/aix71.h (TARGET_USE_JCR_SECTION): Remove.
      	* config/rs6000/aix51.h (TARGET_USE_JCR_SECTION): Remove.
      	* config/rs6000/aix52.h (TARGET_USE_JCR_SECTION): Remove.
      	* config/rs6000/aix53.h (TARGET_USE_JCR_SECTION): Remove.
      	* config/rs6000/aix61.h (TARGET_USE_JCR_SECTION): Remove.
      gcc/c-family/
      	* c-cppbuiltin.c (c_cpp_builtins): Don't define
      	__LIBGCC_JCR_SECTION_NAME__.
      libgcc/
      	* config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
      	(__JCR_LIST__): Remove.
      	(__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
      	* config/i386/cygming-crtend.c (__JCR_END__): Remove.
      	* config/ia64/crtbegin.S (__JCR_LIST__): Remove.
      	* config/ia64/crtend.S (__JCR_END__): Remove.
      	* crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
      	conditionals.
      	(__JCR_LIST__, __JCR_END__): Remove.
      	(frame_dummy): Don't attempt to _Jv_RegisterClasses.
      	(__do_global_ctors_1): Likewise.
      
      From-SVN: r240739
      5a79befb
    • GCC Administrator's avatar
      Daily bump. · 4b3a7e03
      GCC Administrator authored
      From-SVN: r240738
      4b3a7e03
  2. Oct 03, 2016
    • François Dumont's avatar
      shared_ptr.cc (mask, [...]): Move declaration... · 38aee22c
      François Dumont authored
      2016-10-03  François Dumont  <fdumont@gcc.gnu.org>
      
      	* src/c++11/shared_ptr.cc (mask, invalid, get_mutex): Move
      	declaration...
      	* src/c++11/mutex_pool.h: ... here. New.
      	* src/c++11/debug.cc: Use latter.
      
      From-SVN: r240732
      38aee22c
    • Prathamesh Kulkarni's avatar
      Fix ChangeLog entry for r240730 · ac4f79dd
      Prathamesh Kulkarni authored
      From-SVN: r240731
      ac4f79dd
    • Prathamesh Kulkarni's avatar
      ipa-cp.c (propagate_bits_accross_jump_function): Introduce space between... · 7d521283
      Prathamesh Kulkarni authored
      ipa-cp.c (propagate_bits_accross_jump_function): Introduce space between callee name and param in dump message in call to fprintf.
      
      2016-10-03  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
      
      	* ipa-cp.c (propagate_bits_accross_jump_function): Introduce space
      	between callee name and param in dump message in call to fprintf.
      
      From-SVN: r240730
      7d521283
    • Jeff Law's avatar
      MAINTAINERS: Move several inactive maintainers to the write-after-approval section. · f05796ba
      Jeff Law authored
      	* MAINTAINERS: Move several inactive maintainers to the
      	write-after-approval section.
      
      From-SVN: r240729
      f05796ba
    • Jeff Law's avatar
      re PR tree-optimization/71550 (wrong code at -O3 on x86_64-linux-gnu) · 0a4e5cf3
      Jeff Law authored
      	PR tree-optimization/71550
      	PR tree-optimization/71403
      	* tree-ssa-threadbackward.c: Include tree-vectorizer.h
      	(profitable_jump_thread_path): Also return boolean indicating if
      	the realized path will create an irreducible loop.
      	Remove loop depth tests from 71403.
      	(fsm_find_control_statement_thread_paths): Remove loop depth tests
      	from 71403.  If threading will create an irreducible loop, then
      	throw away loop iteration and related information.
      
      	PR tree-optimization/71550
      	PR tree-optimization/71403
      	* gcc.c-torture/execute/pr71550.c: New test.
      
      From-SVN: r240727
      0a4e5cf3
    • Ian Lance Taylor's avatar
      re PR go/77809 ("_LITTLE_ENDIAN" redefined) · 95ccd17c
      Ian Lance Taylor authored
      	PR go/77809
      
          libgo: strip most C macros from runtime.inc
          
          The Go runtime package is picking up C macros from runtime_sysinfo.go
          and then re-exporting them to runtime.inc.  This can cause name
          conflicts.  Change the Makefile so that we only put the macros we need
          into runtime.inc.  These are the constants that are actually defined by
          Go code, not runtime_sysinfo.go.  There are only a few, so we can
          pattern match.
          
          This is an additional hack on runtime.inc.  The long term goal is to
          convert the runtime package to Go and eliminate runtime.inc entirely, so
          a few hacks seem acceptable.
          
          Fixes GCC PR 77809.
      
          Reviewed-on: https://go-review.googlesource.com/30167
      
      From-SVN: r240724
      95ccd17c
    • Jonathan Wakely's avatar
      Define std::gcd and std::lcm for C++17 · 606dda21
      Jonathan Wakely authored
      	* doc/xml/manual/status_cxx2017.xml: Update gcd/lcm status.
      	* doc/html/*: Regenerate.
      	* include/experimental/numeric (__abs): Move to <numeric>.
      	(gcd, lcm): Use __detail::gcd and __detail::lcm.
      	* include/std/numeric (__detail::__abs_integral)
      	(__detail::__gcd, __detail::__lcm): Define.
      	(gcd, lcm): Define for C++17.
      	* testsuite/26_numerics/gcd/1.cc: New test.
      	* testsuite/26_numerics/lcm/1.cc: New test.
      	* testsuite/experimental/numeric/gcd.cc: Swap contents with ...
      	* testsuite/experimental/numeric/lcd.cc: ... this.
      
      From-SVN: r240723
      606dda21
    • Uros Bizjak's avatar
      configure.ac (strict_warn): Merge -Wmissing-format-attribute and... · ec9d5ad1
      Uros Bizjak authored
      configure.ac (strict_warn): Merge -Wmissing-format-attribute and -Woverloaded-virtual checks for warning...
      
      	* configure.ac (strict_warn): Merge -Wmissing-format-attribute and
      	-Woverloaded-virtual checks for warning options.
      	* configure: Regenerate.
      
      From-SVN: r240721
      ec9d5ad1
    • Jonathan Wakely's avatar
      Fix libstdc++ versioned namespace build · e347987d
      Jonathan Wakely authored
      	PR libstdc++/68323
      	PR libstdc++/77794
      	* config/abi/pre/gnu-versioned-namespace.ver: Add exports for
      	__cxa_thread_atexit and __gnu_cxx::__freeres.
      	* include/Makefile.am: Add <experimental/bits/lfts_config.h>
      	* include/Makefile.in: Regenerate.
      	* include.bits/basic_string.h: Fix nesting of versioned namespaces.
      	* include/bits/c++config: Declare versioned namespaces for literals.
      	* include/bits/regex.h (basic_regex, match_results): Add workarounds
      	for PR c++/59256.
      	* include/bits/uniform_int_dist.h: Fix nesting of versioned namespace.
      	* include/std/chrono: Likewise.
      	* include/std/complex: Likewise.
      	* include/std/string_view: Likewise.
      	* include/std/variant: Likewise. Add workaround for PR c++/59256.
      	* include/experimental/bits/fs_fwd.h: Declare versioned namespace.
      	* include/experimental/bits/lfts_config.h: Declare versioned
      	namespaces.
      	* include/experimental/algorithm: Include
      	<experimental/bits/lfts_config.h>.
      	* include/experimental/any: Likewise.
      	* include/experimental/bits/erase_if.h: Likewise.
      	* include/experimental/chrono: Likewise.
      	* include/experimental/functional: Likewise.
      	* include/experimental/memory_resource: Likewise.
      	* include/experimental/optional: Likewise.
      	* include/experimental/propagate_const: Likewise.
      	* include/experimental/random: Likewise.
      	* include/experimental/ratio: Likewise.
      	* include/experimental/system_error: Likewise.
      	* include/experimental/tuple: Likewise.
      	* include/experimental/type_traits: Likewise.
      	* include/experimental/utility: Likewise.
      	* include/experimental/string_view: Likewise. Fix nesting of
      	versioned namespaces.
      	* include/experimental/bits/string_view.tcc: Reopen inline namespace
      	for non-inline function definitions.
      	* testsuite/17_intro/using_namespace_std_exp_neg.cc: New test.
      	* testsuite/20_util/duration/literals/range.cc: Adjust dg-error line.
      	* testsuite/experimental/any/misc/any_cast_neg.cc: Likewise.
      	* testsuite/experimental/propagate_const/assignment/move_neg.cc:
      	Likewise.
      	* testsuite/experimental/propagate_const/cons/move_neg.cc: Likewise.
      	* testsuite/experimental/propagate_const/requirements2.cc: Likewise.
      	* testsuite/experimental/propagate_const/requirements3.cc: Likewise.
      	* testsuite/experimental/propagate_const/requirements4.cc: Likewise.
      	* testsuite/experimental/propagate_const/requirements5.cc: Likewise.
      	* testsuite/ext/profile/mutex_extensions_neg.cc: Likewise.
      
      From-SVN: r240714
      e347987d
    • Bernd Edlinger's avatar
      re PR preprocessor/77699 (suspicious code in get_next_line) · 1adae327
      Bernd Edlinger authored
      2016-10-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
      
              PR preprocessor/77699
              * input.c (maybe_grow): Don't allocate one byte extra headroom.
              (get_next_line): Return false on error.
              (read_next_line): Removed, use get_next_line instead.
              (read_line_num): Don't copy the line.
              (location_get_source_line): Don't use static data.
              (selftest::test_reading_source_line): Add more test cases.
      
      From-SVN: r240713
      1adae327
    • Senthil Kumar Selvaraj's avatar
      Fix failing gcc.target/avr/torture/builtins_error.c · d07b0a23
      Senthil Kumar Selvaraj authored
      The compiler defaults to thin LTO objects if built with linker plugin
      support, and in that case, the error expected by the testcase appears 
      only at link time, if at all. Forcing fat LTO object file creation 
      generates the error consistently at compile time, as expected.
      
      gcc/testsuite/ChangeLog:
      
      2016-10-03  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
      
      	* gcc.target/avr/torture/builtins-error.c: Add -ffat-lto-objects
      	option.
      
      From-SVN: r240711
      d07b0a23
    • Jonathan Wakely's avatar
      Ensure "C++" language linkage for std::abs overloads · 6a0d23af
      Jonathan Wakely authored
      	PR libstdc++/77814
      	* include/bits/std_abs.h: Use "C++" language linkage.
      	* testsuite/17_intro/headers/c++2011/linkage.cc: Move <complex.h> to
      	the end. Add <stdalign.h>.
      
      From-SVN: r240710
      6a0d23af
    • Ville Voutilainen's avatar
      re PR libstdc++/77802 (Boost Fiber doesn't compile) · 3fe2ddae
      Ville Voutilainen authored
          PR libstdc++/77802
          * testsuite/20_util/tuple/77802.cc: New.
      
          Revert:
          2016-09-21  Ville Voutilainen  <ville.voutilainen@gmail.com>
          Implement LWG 2729 for tuple.
          * include/std/tuple (_Tuple_impl(_Tuple_impl&&)):
          Suppress conditionally.
          (_Tuple_impl(_Tuple_impl<_Idx, _UHead, _UTails...>&&)): Likewise.
          (__is_tuple_impl_trait_impl, __is_tuple_impl_trait): New.
          (_Tuple_impl(const _Head&)): Constrain.
          (_Tuple_impl(_UHead&&)): Likewise.
          (_Tuple_impl(_Tuple_impl&&)): Suppress conditionally.
          (_Tuple_impl(const _Tuple_impl<_Idx, _UHead>&)): Constrain.
          (_Tuple_impl(_Tuple_impl<_Idx, _UHead>&&)): Likewise.
          (operator=(const tuple&)): Enable conditionally.
          (operator=(tuple&&)): Suppress conditionally.
          (operator=(const tuple<_UElements...>&)): Constrain.
          (operator=(tuple<_UElements...>&&)): Likewise.
          (operator=(const tuple&)): Enable conditionally (2-param tuple).
          (operator=(tuple&&)): Suppress conditionally (2-param tuple).
          (operator=(const tuple<_U1, _U2>&)): Constrain.
          (operator=(tuple<_U1, _U2>&&)): Likewise.
          (operator=(const pair<_U1, _U2>&)): Likewise.
          (operator=(pair<_U1, _U2>&&)): Likewise.
          * testsuite/20_util/tuple/element_access/get_neg.cc: Adjust.
          * testsuite/20_util/tuple/tuple_traits.cc: New.
      
      From-SVN: r240709
      3fe2ddae
    • Kyrylo Tkachov's avatar
      Revert: [RTL ifcvt] Transform (X == CST) ? -CST : Y into (X == CST) ? -X : Y... · b44a42cf
      Kyrylo Tkachov authored
      Revert: [RTL ifcvt] Transform (X == CST) ? -CST : Y into (X == CST) ? -X : Y when conditional negation is available
      
      	Revert
      	2016-09-30  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
      
      	* ifcvt.c (noce_try_avoid_const_materialization): New function.
      	(noce_process_if_block): Use it.
      
      	* gcc.target/aarch64/ifcvt_avoid_const_materialization_1.c: New test.
      
      From-SVN: r240708
      b44a42cf
    • Marek Polacek's avatar
      Core 903 · f41f1ceb
      Marek Polacek authored
      	Core 903
      	* typeck.c (cp_build_binary_op): Pass original operands to
      	null_ptr_cst_p, not those after the default conversions.
      
      	* g++.dg/cpp0x/nullptr37.C: New test.
      
      From-SVN: r240707
      f41f1ceb
    • Bernd Edlinger's avatar
      invoke.texi: Update -Wint-in-bool-context. · 1633d3b9
      Bernd Edlinger authored
      2016-10-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
      
              * doc/invoke.texi: Update -Wint-in-bool-context.
      
      c-family:
      2016-10-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
      
              * c-common.c (c_common_truthvalue_conversion): Warn for suspicious
              left shift in boolean context.
      
      cp:
      2016-10-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
      
              * parser.c (cp_parser_condition): Fix a warning.
      
      testsuite:
      2016-10-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
      
              * c-c++-common/Wint-in-bool-context.c: Update test.
      
      From-SVN: r240706
      1633d3b9
    • GCC Administrator's avatar
      Daily bump. · 21d7b03c
      GCC Administrator authored
      From-SVN: r240705
      21d7b03c
  3. Oct 02, 2016
    • Jakub Jelinek's avatar
      asm3.C (two): Only use register keyword for C++14 and earlier. · 2c8e3a1d
      Jakub Jelinek authored
      	* g++.dg/ext/asm3.C (two): Only use register keyword for C++14 and
      	earlier.
      	* g++.dg/charset/asm2.c (memmove): Likewise.
      	* g++.dg/tls/diag-2.C (foo): Expect -Wregister error for C++17.
      	* g++.dg/tls/diag-4.C (foo): Likewise.
      	* c-c++-common/vector-subscript-2.c (vf): Change dg-error to
      	dg-warning, fix up regex.
      	* g++.old-deja/g++.brendan/warnings4.C: Limit to c++14_down targets.
      	* g++.old-deja/g++.mike/p700.C: Add -Wno-register.
      	* g++.old-deja/g++.mike/net31.C: Likewise.
      	* g++.old-deja/g++.other/regstack.C (foo): Expect -Wregister warning
      	for C++17.
      	* g++.old-deja/g++.jason/enum3.C: Add -Wno-register.
      	* g++.old-deja/g++.eh/ia64-1.C: Likewise.
      
      From-SVN: r240702
      2c8e3a1d
    • Jakub Jelinek's avatar
      dwarf2out.c (output_fde, [...]): Use MAX_ARTIFICIAL_LABEL_BYTES as char array sizes for... · 333b2f31
      Jakub Jelinek authored
      	* dwarf2out.c (output_fde, output_call_frame_info,
      	dwarf2out_do_cfi_startproc, set_indirect_string,
      	gen_internal_sym, output_die, output_line_info): Use
      	MAX_ARTIFICIAL_LABEL_BYTES as char array sizes for
      	ASM_GENERATE_INTERNAL_LABEL output.
      
      From-SVN: r240701
      333b2f31
    • GCC Administrator's avatar
      Daily bump. · 0b787908
      GCC Administrator authored
      From-SVN: r240699
      0b787908
  4. Oct 01, 2016
    • Richard Biener's avatar
      re PR middle-end/77798 (465.tonto ICE with trunk with -O2) · f00b6283
      Richard Biener authored
      2016-10-01  Richard Biener  <rguenther@suse.de>
      
      	PR middle-end/77798
      	* genmatch.c (get_operand_type): Add operand position arg
      	and handle COND_EXPR comparison operand with fixed boolean_type_node.
      	(expr::gen_transform): Adjust.
      	(dt_simplify::gen_1): Likewise.
      
      	* gfortran.fortran-torture/compile/pr77798.f90: New testcase.
      
      From-SVN: r240696
      f00b6283
    • Andre Vehreschild's avatar
      re PR libfortran/77663 (libgfortran/caf/single.c: three minor problems and a lost token) · 0f0565b1
      Andre Vehreschild authored
      gcc/testsuite/ChangeLog:
      
      2016-10-01  Andre Vehreschild  <vehre@gcc.gnu.org>
      
      	PR fortran/77663
      	* gfortran.dg/coarray_send_by_ref_1.f08: New test.
      
      libgfortran/ChangeLog:
      
      2016-10-01  Andre Vehreschild  <vehre@gcc.gnu.org>
      
      	PR fortran/77663
      	* caf/single.c (caf_internal_error): Fix not terminating va-list.
      	(_gfortran_caf_register): Free memory also when other allocs failed.
      	(_gfortran_caf_get_by_ref): Fixed style.
      	(send_by_ref): Token is now stored at the correct position preventing
      	inaccessible tokens, memory loss and possibly crashes.
      
      From-SVN: r240695
      0f0565b1
    • Jakub Jelinek's avatar
      sse.md (<mask_codefor><code><mode>): Add FALLTHRU comments. · eb647b80
      Jakub Jelinek authored
      	* config/i386/sse.md (<mask_codefor><code><mode>): Add FALLTHRU
      	comments.  Simplify asserts, remove unnecessary conditions.
      	Formatting fixes.
      	(*<code><mode>3): Likewise.
      
      From-SVN: r240694
      eb647b80
    • GCC Administrator's avatar
      Daily bump. · bff32679
      GCC Administrator authored
      From-SVN: r240691
      bff32679
  5. Sep 30, 2016
Loading