and though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here

This project is mirrored from git://gcc.gnu.org/git/gcc.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Last successful update .
  1. 25 Apr, 2019 15 commits
    • Jakub Jelinek's avatar
      * BASE-VER: Set to 10.0.0. · 68ec60c4
      Jakub Jelinek authored
      From-SVN: r270581
      68ec60c4
    • Richard Biener's avatar
      re PR middle-end/89765 (Multiple problems with vec-insert implementation on PowerPC) · f47f687a
      Richard Biener authored
      	PR middle-end/89765
      	* gimplify.c (gimplify_expr): Avoid turning a lvalue
      	VIEW_CONVERT_EXPR into one operating on an rvalue.
      
      From-SVN: r270579
      f47f687a
    • H.J. Lu's avatar
      x86: Update message for target_clones and unsupported ISAs · 604ab090
      H.J. Lu authored
      Before AVX512F, processors with the newer ISAs also support the older
      ISAs, i.e., AVX2 processors also support AVX and SSE4, SSE4 processors
      also support SSSE3, ...   After AVX512F, an AVX512XX processor may not
      support AVX512YY.  It means AVX512XX features, except for AVX512F, can't
      be used to decide priority in target_clones.
      
      This patch updates error message for ISAs with P_ZERO priority.  It also
      merges _feature_list into _isa_names_table and marks ISAs, which have
      unknown priority, with P_ZERO so that we only need to update one place
      to add a new ISA feature.
      
      gcc/
      
      2019-04-25  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/89929
      	* config/i386/i386.c (feature_priority): Moved to file scope.
      	(processor_features): Likewise.
      	(processor_model): Likewise.
      	(_arch_names_table): Likewise.
      	(arch_names_table): Likewise.
      	(_feature_list): Removed.
      	(feature_list): Likewise.
      	(_isa_names_table): Moved to file scope.  Add priority.
      	(isa_names_table): Likewise.
      	(get_builtin_code_for_version): Replace feature_list with
      	isa_names_table.  Update error message for P_ZERO priority.
      
      gcc/testsuite/
      
      2019-04-25  Martin Liska  <mliska@suse.cz>
      	    H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/89929
      	* g++.target/i386/mv28.C: New test.
      	* gcc.target/i386/mvc14.c: Likewise.
      	* g++.target/i386/pr57362.C: Updated.
      
      From-SVN: r270578
      604ab090
    • Iain Buclaw's avatar
      libphobos: Fix segfault in runtime caused by unexpected GC of TLS data. · 9125dc32
      Iain Buclaw authored
      libphobos/ChangeLog:
      
      2019-04-25  Iain Buclaw  <ibuclaw@gdcproject.org>
      
      	PR d/90250
      	* libdruntime/gcc/sections/elf_shared.d (initTLSRanges): Populate
      	_tlsRanges in every startup thread.
      	* testsuite/libphobos.thread/thread.exp: Load libphobos-dg.exp.
      	* testsuite/libphobos.thread/tlsgc_sections.d: New test.
      
      From-SVN: r270576
      9125dc32
    • Richard Biener's avatar
      tree-pass.h (make_pass_phi_only_cprop): Remove. · aeec4861
      Richard Biener authored
      2019-04-25  Richard Biener  <rguenther@suse.de>
      
      	* tree-pass.h (make_pass_phi_only_cprop): Remove.
      	* timevar.def (TV_TREE_PHI_CPROP): Likewise.
      
      From-SVN: r270575
      aeec4861
    • Jeff Law's avatar
      re PR tree-optimization/90037 (-Wnull-dereference false positive after r269302) · 33579b59
      Jeff Law authored
      	PR tree-optimization/90037
      	* Makefile.in (OBJS): Remove tree-ssa-phionlycprop.c
      	* passes.def: Replace all instance of phi-only cprop with the
      	lattice propagator.  Move propagation pass from after erroneous
      	path isolation to before erroneous path isolation.
      	* tree-ssa-phionlycprop.c: Remove.
      
      	* gcc.dg/tree-ssa/20030710-1.c: Update dump file to scan.
      	* gcc.dg/isolate-2.c: Likewise.
      	* gcc.dg/isolate-4.c: Likewise.
      	* gcc.dg/pr19431.c: Accept either ordering of PHI args.
      	* gcc.dg/pr90037.c: New test.
      
      From-SVN: r270574
      33579b59
    • Rainer Orth's avatar
      Fix typo in m4/druntime/cpu.m4 · b16f2147
      Rainer Orth authored
      	* m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Quote brackets.
      	* configure: Regenerate.
      
      From-SVN: r270573
      b16f2147
    • Jakub Jelinek's avatar
      re PR c++/44648 (missing -Wunused warning on a const variable in if statement) · 60a893db
      Jakub Jelinek authored
      	PR c++/44648
      	* g++.dg/warn/Wunused-var-35.C: Remove xfail.
      
      From-SVN: r270572
      60a893db
    • Johannes Pfau's avatar
      D: Do not add target_libs if phobos is disabled · cecd06a9
      Johannes Pfau authored
      From-SVN: r270571
      cecd06a9
    • Richard Biener's avatar
      re PR tree-optimization/90213 (UBSAN: signed integer overflow:... · a9e6359a
      Richard Biener authored
      re PR tree-optimization/90213 (UBSAN: signed integer overflow: -5621332293356458048 * 8 cannot be represented in type 'long int')
      
      2019-04-24  Richard Biener  <rguenther@suse.de>
      
      	PR middle-end/90213
      	* gimple-fold.c (fold_const_aggregate_ref_1): Do multiplication
      	by size and BITS_PER_UNIT on poly-wide-ints.
      
      From-SVN: r270570
      a9e6359a
    • Richard Biener's avatar
      re PR middle-end/90194 (ICE in expand_debug_expr, at cfgexpand.c:5244) · f469220d
      Richard Biener authored
      2019-04-25  Richard Biener  <rguenther@suse.de>
      
      	PR middle-end/90194
      	* match.pd: Add pattern to simplify view-conversion of an
      	empty constructor.
      
      	* g++.dg/torture/pr90194.C: New testcase.
      
      From-SVN: r270569
      f469220d
    • Johannes Pfau's avatar
      D: Implement GCC emutls in druntime · 9168f220
      Johannes Pfau authored
      * libdruntime/Makefile.am: Add emutls and gthread files.
      * libdruntime/Makefile.in: Regenerate.
      * libdruntime/gcc/emutls.d: New file. Implement GC-compatible emutls.
      * libdruntime/gcc/gthread.d: New file.
      * libdruntime/gcc/sections/elf_shared.d: Integrate emutls support.
      * testsuite/libphobos.allocations/tls_gc_integration.d: New test for
      TLS.
      
      From-SVN: r270568
      9168f220
    • Iain Buclaw's avatar
      libphobos: Add missing PWD_COMMAND to Makefile. · 7da021f0
      Iain Buclaw authored
      2019-04-25  Iain Buclaw  <ibuclaw@gdcproject.org>
      
      	* testsuite/Makefile.am: Set PWD_COMMAND.
      	* testsuite/Makefile.in: Regenerate.
      
      From-SVN: r270566
      7da021f0
    • Ian Lance Taylor's avatar
      compiler: fix glitch when inlining method with empty param/receiver · ce0f7062
      Ian Lance Taylor authored
          
          Fix a problem with Function_declaration::import_function relating to
          how no-name or "sink" parameters are handled. In Gogo::start_function
          (for the non-inline case) when parameter bindings are being added,
          parameters with empty/sink names are renamed to synthesized "r.%d" /
          "p.%d" names so as to avoid collisions. This same handling needs to be
          present when creating the bindings for an inline function that's being
          instantiated after being read from export data.
          
          Fixes golang/go#31637.
          
          Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/173538
      
      From-SVN: r270564
      ce0f7062
    • GCC Administrator's avatar
      Daily bump. · 6aa6cbac
      GCC Administrator authored
      From-SVN: r270563
      6aa6cbac
  2. 24 Apr, 2019 25 commits
    • Iain Buclaw's avatar
      libphobos: Fix linker warning and SEGV in core.thread tests. · 2493e718
      Iain Buclaw authored
      The monolithic core/threadasm.S source has been removed, and split into
      multiple parts, one for each intended target CPU/OS.
      
      Added .type and .size directives for all asm implementations of
      fiber_switchContent and callWithStackShell where they were missing.
      
      libphobos/ChangeLog:
      
      2019-04-25  Iain Buclaw  <ibuclaw@gdcproject.org>
      
      	PR d/90086
      	* m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): New macro.
      	* configure.ac: Use it.
      	* configure: Regenerate.
      	* libdruntime/Makefile.am: Add new config sources to
      	DRUNTIME_SOURCES_CONFIGURED.
      	* libdruntime/Makefile.in: Regenerate.
      	* libdruntime/config/aarch64/switchcontext.S: New file.
      	* libdruntime/config/arm/switchcontext.S: New file.
      	* libdruntime/config/common/threadasm.S: New file.
      	* libdruntime/config/mingw/switchcontext.S: New file.
      	* libdruntime/config/mips/switchcontext.S: New file.
      	* libdruntime/config/powerpc/switchcontext.S: New file.
      	* libdruntime/config/powerpc64/callwithstack.S: New file.
      	* libdruntime/config/x86/switchcontext.S: New file.
      	* libdruntime/core/threadasm.S: Remove.
      
      From-SVN: r270560
      2493e718
    • Jonathan Wakely's avatar
      Update C++17 library status tables · 7c3e085e
      Jonathan Wakely authored
      	* doc/xml/manual/status_cxx2017.xml: Document P0024R2 status.
      	* doc/html/*: Regenerate.
      
      From-SVN: r270559
      7c3e085e
    • Jonathan Wakely's avatar
      Make filesystem::path comparison operators hidden friends (LWG 3065) · f90b16c4
      Jonathan Wakely authored
      This change revealed two testsuite bugs where some string comparisons
      only compiled by converting the strings to filesystem::path objects.
      
      	* include/bits/fs_path.h (operator<, operator<=, operator>)
      	(operator>=, operator==, operator!=): Make hidden friends, as per
      	LWG 3065.
      	* testsuite/27_io/filesystem/path/native/string-char8_t.cc: Fix
      	string type in test.
      	* testsuite/27_io/filesystem/path/native/string.cc: Likewise.
      
      From-SVN: r270558
      f90b16c4
    • Marek Polacek's avatar
      re PR c++/90236 (bogus error with auto non-type template argument) · 7f8aaa1a
      Marek Polacek authored
      	PR c++/90236
      	* g++.dg/cpp1z/nontype-auto16.C: New test.
      
      From-SVN: r270557
      7f8aaa1a
    • Jason Merrill's avatar
      PR c++/90227 - error with template parameter packs. · fd177738
      Jason Merrill authored
      If require_all_args, we aren't waiting for more args to be deduced later.
      
      	* pt.c (coerce_template_parms): Do add empty pack when
      	require_all_args.
      
      From-SVN: r270556
      fd177738
    • Iain Buclaw's avatar
      libphobos: Fix FAIL phobos.exp/core.time on CentOS 5.11, Linux 2.6.18 · 58990c4d
      Iain Buclaw authored
      Merges upstream druntime e03164b5.
      
      Reviewed-on: https://github.com/dlang/druntime/pull/2581
      
      libphobos/ChangeLog:
      
      2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>
      
      	PR d/89432
      	* testsuite/lib/libphobos.exp (check_effective_target_linux_pre_2639):
      	New proc.
      	* testsuite/libphobos.druntime/druntime.exp: Add compiler flag
      	-fversion=Linux_Pre_2639 if target is linux_pre_2639.
      	* testsuite/libphobos.druntime_shared/druntime_shared.exp: Likewise.
      
      From-SVN: r270554
      58990c4d
    • Clement Chigot's avatar
      aix71.h (SUBTARGET_OVERRIDE_OPTIONS): Disable OPTION_MASK_VSX and... · 265e6a0a
      Clement Chigot authored
      aix71.h (SUBTARGET_OVERRIDE_OPTIONS): Disable OPTION_MASK_VSX and OPTION_MASK_ALTIVEC from rs6000_isa_flags for Go on...
      
      2019-04-24  Clement Chigot  <clement.chigot@atos.net>
      
              * config/rs6000/aix71.h (SUBTARGET_OVERRIDE_OPTIONS): Disable
              OPTION_MASK_VSX and OPTION_MASK_ALTIVEC from rs6000_isa_flags
              for Go on 32 bit AIX.
              * config/rs6000/aix72.h: Likewise.
      
      From-SVN: r270553
      265e6a0a
    • Jonathan Wakely's avatar
      Use __and_v<...> instead of __and_<...>::value · 303b2264
      Jonathan Wakely authored
      	* include/std/any (any::any(ValueType&&)): Use __and_v.
      	* include/std/numeric (midpoint(T, T, T), midpoint(T*, T*, T*)):
      	Likewise.
      
      From-SVN: r270552
      303b2264
    • Jonathan Wakely's avatar
      Finish implementing "Treating Unnecessary decay" (P0777R1) · 81c7cf71
      Jonathan Wakely authored
      	* include/std/tuple (apply): Use remove_reference_t instead of decay_t
      	as per P0777R1.
      	* include/std/type_traits (__result_of_memfun): Use remove_reference
      	instead of __remove_cvref_t and remove redundant is_same check.
      	(__inv_unwrap): Use __remove_cvref_t instead of decay_t.
      
      From-SVN: r270551
      81c7cf71
    • Jakub Jelinek's avatar
      re PR target/90193 (asm goto with TLS "m" input operand generates incorrect assembler in O1 and O2) · 73f1289e
      Jakub Jelinek authored
      	PR target/90193
      	* rtl.c (classify_insn): Return JUMP_INSN for asm goto.
      	* emit-rtl.c (try_split): Copy over REG_LABEL_TARGET.
      
      	* gcc.target/i386/pr90193.c: New test.
      
      From-SVN: r270550
      73f1289e
    • Jonathan Wakely's avatar
      Fix basic_string_view typedefs and enforce preconditions · fb8b3e29
      Jonathan Wakely authored
      The basic_string_view::pointer and basic_string_view::reference typedefs
      are supposed to refer to the non-const value type.
      
      In previous standards having traits_type::char_type different to
      value_type was simply undefined, but in the C++2a draft it's ill-formed,
      as changed by P1148R0. For std::basic_string and iostreams we might
      want to only enforce this conditionally for __cplusplus > 201703L but
      for std::basic_string_view we don't have backwards compatibility
      concerns. Also add assertions to verify the _CharT argument is a
      "char-like" type (non-array, trivial, standard layout type).
      
      Also remove the non-standard basic_string_view::_M_check and
      basic_string_view::_M_limit member functions, replacing them with
      non-member functions that will still exist even if basic_string_view is
      specialized by the program.
      
      	* include/experimental/string_view (basic_string_view::pointer)
      	(basic_string_view::reference): Fix to refer to non-const value_type.
      	* include/bits/basic_string.h (basic_string): Use __sv_check and
      	__sv_limit instead of basic_string_view::_M_check and
      	basic_string_view::_M_limit.
      	* include/std/string_view (__sv_check, __sv_limit): New
      	helper functions to replace basic_string_view::_M_check and
      	basic_string_view::_M_limit.
      	(basic_string_view): Add static assertions to enforce ill-formed
      	requirement for traits_type::char_type from P1148R0, and to enforce
      	required properties of char-like types.
      	(basic_string_view::pointer, basic_string_view::reference): Fix to
      	refer to non-const value_type.
      	(basic_string_view::operator[], basic_string_view::at)
      	(basic_string_view::front, basic_string_view::back)
      	(basic_string_view::data): Use const_reference and const_pointer
      	typedefs for return types.
      	(basic_string_view::_M_check, basic_string_view::_M_limit): Remove.
      	(hash<wstring_view>): Fix argument_type typedef.
      	* testsuite/21_strings/basic_string_view/modifiers/remove_prefix/
      	char/1.cc: Fix expected return type of basic_string_view::data().
      	* testsuite/21_strings/basic_string_view/modifiers/remove_prefix/
      	wchar_t/1.cc: Likewise.
      	* testsuite/21_strings/basic_string_view/modifiers/remove_suffix/
      	char/1.cc: Likewise.
      	* testsuite/21_strings/basic_string_view/modifiers/remove_suffix/
      	wchar_t/1.cc: Likewise.
      	* testsuite/21_strings/basic_string_view/requirements/traits_neg.cc:
      	New test.
      	* testsuite/21_strings/basic_string_view/requirements/typedefs.cc:
      	Check reference and pointer typedefs.
      	* testsuite/experimental/string_view/requirements/typedefs.cc:
      	Likewise.
      	* testsuite/experimental/string_view/modifiers/remove_prefix/char/1.cc:
      	Fix expected return type of basic_string_view::data().
      	* testsuite/experimental/string_view/modifiers/remove_prefix/wchar_t/
      	1.cc: Likewise.
      	* testsuite/experimental/string_view/modifiers/remove_suffix/char/1.cc:
      	Likewise.
      	* testsuite/experimental/string_view/modifiers/remove_suffix/wchar_t/
      	1.cc: Likewise.
      
      From-SVN: r270548
      fb8b3e29
    • Jonathan Wakely's avatar
      PR libstdc++/90220 Fix std::any_cast for array types · 92750002
      Jonathan Wakely authored
      Although the std::any constructors use decay_t to determine the type of
      the contained value, std::any_cast should use the un-decayed type (and
      so always fail for function and array types that decay to pointers).
      
      Using remove_cv_t is correct, because the condition for std::any_cast
      to return non-null is operand.type() == typeid(T) and typeid ignores
      top-level cv-qualifiers.
      
      	PR libstdc++/90220
      	* include/std/any (__any_caster): Use remove_cv_t instead of decay_t.
      	Avoid a runtime check for types that can never be stored in std::any.
      	* testsuite/20_util/any/misc/any_cast.cc: Test std::any_cast with
      	array types.
      
      From-SVN: r270547
      92750002
    • Iain Buclaw's avatar
      libphobos: Skip curl tests if libcurl is not installed on the target. · 540bc8a8
      Iain Buclaw authored
      libphobos/ChangeLog:
      
      2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>
      
      	PR d/88654
      	* testsuite/lib/libphobos.exp (libphobos-dg-test): Check
      	libphobos_skipped_test_p before running test.
      	(libphobos-dg-prune): New proc.
      	(libphobos_init): Set libphobos_skip_tests.
      	(libphobos_skipped_test_p): New proc.
      	(check_effective_target_libcurl_available): New proc.
      	* testsuite/libphobos.phobos/phobos.exp: Skip curl tests if library
      	not found.
      	* testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
      
      From-SVN: r270545
      540bc8a8
    • Andreas Krebbel's avatar
      S/390: Fix PR89952 incorrect CFI · 9fe19400
      Andreas Krebbel authored
      This patch fixes a cases where inconsistent CFI is generated.
      
      After restoring the hard frame pointer (r11) from an FPR we have to
      set the CFA register.  In order to be able to set it back to the stack
      pointer (r15) we have to make sure that r15 has been restored already.
      
      The patch also adds a scheduler dependency to prevent the instruction
      scheduler from swapping the r11 and r15 restore again.
      
      gcc/ChangeLog:
      
      2019-04-24  Andreas Krebbel  <krebbel@linux.ibm.com>
      
      	PR target/89952
      	* config/s390/s390.c (s390_restore_gprs_from_fprs): Restore GPRs
          	from FPRs in reverse order.  Generate REG_CFA_DEF_CFA note also
          	for restored hard frame pointer.
      	(s390_sched_dependencies_evaluation): Implement new target hook.
      	(TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK): New macro definition.
      
      gcc/testsuite/ChangeLog:
      
      2019-04-24  Andreas Krebbel  <krebbel@linux.ibm.com>
      
      	PR target/89952
      	* gcc.target/s390/pr89952.c: New test.
      
      From-SVN: r270544
      9fe19400
    • Ian Lance Taylor's avatar
      re PR target/89093 (C++ exception handling clobbers d8 VFP register) · 972206e0
      Ian Lance Taylor authored
      	PR target/89093
          runtime: mark unwind functions general-regs-only on ARM
          
          For https://gcc.gnu.org/PR89093.
          
          Change-Id: Ic426b43d633c77104bda01d4e7835bc9ab4695ef
          Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/173657Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
      
      From-SVN: r270542
      972206e0
    • Iain Buclaw's avatar
      libphobos: Fix assert in core.sys.posix.sys.stat for aarch64/ilp32. · 9e1558d3
      Iain Buclaw authored
      Merges upstream druntime 51365217.
      
      Reviewed-on: https://github.com/dlang/druntime/pull/2579
      
      From-SVN: r270541
      9e1558d3
    • Claudiu Zissulescu's avatar
      [ARC][COMMITTED] Fix typos. · fe3ddee9
      Claudiu Zissulescu authored
      gcc/
      xxxx-xx-xx  Claudiu Zissulescu  <claziss@synopsys.com>
      
      	* config/arc/arc-options.def: Fix typos and spelling mistakes.
      	* config/arc/arc.c (arc_init): Cleanup warning message.
      	(arc_override_options): Likewise.
      
      From-SVN: r270540
      fe3ddee9
    • Richard Biener's avatar
      call.c (null_ptr_cst_p): Order checks according to expensiveness. · be39d6f0
      Richard Biener authored
      2019-04-24  Richard Biener  <rguenther@suse.de>
      
      	cp/
      	* call.c (null_ptr_cst_p): Order checks according to expensiveness.
      	(conversion_null_warnings): Likewise.
      	* typeck.c (same_type_ignoring_top_level_qualifiers_p): Return
      	early if type1 == type2.
      
      From-SVN: r270539
      be39d6f0
    • Jonathan Wakely's avatar
      PR libstdc++/90220 Fix std::any_cast for function pointers · f9bfdfa2
      Jonathan Wakely authored
      	PR libstdc++/90220 (partial)
      	* include/std/any (any_cast<T>(any*), any_cast<T>(const any*)): Do
      	not attempt ill-formed static_cast to pointers to non-object types.
      	* testsuite/20_util/any/misc/any_cast.cc: Test std::any_cast with
      	function types.
      
      From-SVN: r270538
      f9bfdfa2
    • Jakub Jelinek's avatar
      re PR target/90187 (ICE in extract_insn, at recog.c:2304 x86_64) · de6ae2ce
      Jakub Jelinek authored
      	PR target/90187
      	* config/i386/i386.c (ix86_expand_sse_fp_minmax): Force if_true into
      	a register if both if_true and if_false are MEMs.
      
      	* g++.target/i386/pr90187.C: New test.
      
      From-SVN: r270537
      de6ae2ce
    • Iain Buclaw's avatar
      d/dmd: Merge upstream dmd 423758078 · 4a475b3f
      Iain Buclaw authored
      Fixes another failing test to pass on BigEndian.
      
      Initial patch by Robin Dapp.
      
      Reviewed-on: https://github.com/dlang/dmd/pull/9684
      
      gcc/testsuite/ChangeLog:
      
      2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>
      
      	* gdc.test/README.gcc: New file.
      
      From-SVN: r270536
      4a475b3f
    • Ramana Radhakrishnan's avatar
      re PR target/89093 (C++ exception handling clobbers d8 VFP register) · 0f7e4fe2
      Ramana Radhakrishnan authored
      	PR target/89093
      	* raise-gcc.c (TARGET_ATTRIBUTE): Define.
      	(continue_unwind, personality_body, PERSONALITY_FUNCTION): Add
      	TARGET_ATTRIBUTE.
      Co-Authored-By: default avatarBernd Edlinger <bernd.edlinger@hotmail.de>
      Co-Authored-By: default avatarJakub Jelinek <jakub@redhat.com>
      
      From-SVN: r270535
      0f7e4fe2
    • Jakub Jelinek's avatar
      re PR tree-optimization/90208 (error: EH landing pad label) · 3795b582
      Jakub Jelinek authored
      	PR tree-optimization/90208
      	* tree-cfg.c (remove_bb): Move forced labels from removed bbs
      	after labels of new_bb, not before them.
      
      	* gcc.dg/tsan/pr90208-1.c: New test.
      	* gcc.dg/tsan/pr90208-2.c: New test.
      
      From-SVN: r270534
      3795b582
    • Jakub Jelinek's avatar
      re PR tree-optimization/90211 (ICE: tree check: expected ssa_name, have... · 2bd49e6b
      Jakub Jelinek authored
      re PR tree-optimization/90211 (ICE: tree check: expected ssa_name, have real_cst in first_readonly_imm_use, at ssa-iterators.h:351)
      
      	PR tree-optimization/90211
      	* tree-parloops.c (try_create_reduction_list): Ignore phi arguments
      	which are not SSA_NAMEs.
      
      	* gcc.dg/autopar/pr90211.c: New test.
      
      From-SVN: r270533
      2bd49e6b
    • Iain Buclaw's avatar
      libphobos: Fix link build errors when compiling with unsupported options · 9bedfe18
      Iain Buclaw authored
      The first compilation test to get baseline warnings was getting more
      messages due to a missing object.d file, compared to later configure
      tests where libphobos is in the include paths.
      
      Because there must always be an object module during compilation, let
      the tests themselves be an empty object module instead.
      
      libphobos/ChangeLog:
      
      2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>
      
      	PR d/88431
      	* configure: Regenerate.
      	* m4/libtool.m4 (lt_simple_compile_test_code): Update to not have
      	dependencies on libphobos.
      	(lt_simple_link_test_code): Likewise.
      	(GDCFLAGS): Don't override for D compiler tests.
      
      From-SVN: r270531
      9bedfe18