1. 21 Feb, 2019 1 commit
  2. 20 Feb, 2019 1 commit
  3. 19 Feb, 2019 1 commit
  4. 15 Feb, 2019 1 commit
    • lib2funcs.c (__set_trampoline_parity): Replace TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__. · bf7988f1
      libgcc/
      	* config/visium/lib2funcs.c (__set_trampoline_parity): Replace
      	TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
      gcc/
      	* final.c (insn_current_reference_address): Replace test on JUMP_P
      	with test on jump_to_label_p.
      	* config/visium/visium-passes.def: New file.
      	* config/visium/t-visium (PASSES_EXTRA): Define.
      	* config/visium/visium-protos.h (make_pass_visium_reorg): Declare.
      	* config/visium/visium.h (TRAMPOLINE_SIZE): Adjust.
      	(TRAMPOLINE_ALIGNMENT): Define.
      	* config/visium/visium.c (visium_option_override): Do not register
      	the machine-specific reorg pass here.
      	(visium_trampoline_init): Align the BRA insn on a 64-bit boundary
      	for the GR6.
      	(output_branch): Adjust threshold for long branch instruction.
      	* config/visium/visium.md (cpu): Move around.
      	(length): Adjust for the GR6.
      
      From-SVN: r268931
      Eric Botcazou committed
  5. 31 Jan, 2019 1 commit
  6. 30 Jan, 2019 1 commit
  7. 23 Jan, 2019 1 commit
    • libgcc2.c: Correct DI/TI -> SF/DF conversions · 6395ba73
      FSTYPE FUNC (DWtype u) in libgcc2.c, which converts DI/TI to SF/DF, has
      
        /* No leading bits means u == minimum.  */
        if (count == 0)
          return -(Wtype_MAXp1_F * (Wtype_MAXp1_F / 2));
      
      in the third case (where actually count == 0 only means the high part is
      minimum).  It should be:
      
        /* No leading bits means u == minimum.  */
        if (count == 0)
          return Wtype_MAXp1_F * (FSTYPE) (hi | ((UWtype) u != 0));
      
      instead.
      
      gcc/testsuite/
      
      2019-01-23  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR libgcc/88931
      	* gcc.dg/torture/fp-int-convert-timode-1.c: New test.
      	* gcc.dg/torture/fp-int-convert-timode-2.c: Likewise.
      	* gcc.dg/torture/fp-int-convert-timode-3.c: Likewise.
      	* gcc.dg/torture/fp-int-convert-timode-4.c: Likewise.
      
      libgcc/
      
      2019-01-23  Joseph Myers  <joseph@codesourcery.com>
      
      	PR libgcc/88931
      	* libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits
      	case.
      
      From-SVN: r268216
      H.J. Lu committed
  8. 18 Jan, 2019 3 commits
  9. 17 Jan, 2019 1 commit
    • GCN libgcc. · 91d7b7fe
      This patch contains the GCN port of libgcc.
      
      2019-01-17  Andrew Stubbs  <ams@codesourcery.com>
      	    Kwok Cheung Yeung  <kcy@codesourcery.com>
      	    Julian Brown  <julian@codesourcery.com>
      	    Tom de Vries  <tom@codesourcery.com>
      
      	libgcc/
      	* config.host: Recognize amdgcn*-*-amdhsa.
      	* config/gcn/crt0.c: New file.
      	* config/gcn/lib2-divmod-hi.c: New file.
      	* config/gcn/lib2-divmod.c: New file.
      	* config/gcn/lib2-gcn.h: New file.
      	* config/gcn/sfp-machine.h: New file.
      	* config/gcn/t-amdgcn: New file.
      
      
      Co-Authored-By: Julian Brown <julian@codesourcery.com>
      Co-Authored-By: Kwok Cheung Yeung <kcy@codesourcery.com>
      Co-Authored-By: Tom de Vries <tom@codesourcery.com>
      
      From-SVN: r268021
      Andrew Stubbs committed
  10. 09 Jan, 2019 1 commit
    • PR other/16615 [1/5] · 67914693
      2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
      
      	PR other/16615 [1/5]
      
      	contrib/
      	* mklog: Mechanically replace "can not" with "cannot".
      
      	gcc/
      	* Makefile.in: Mechanically replace "can not" with "cannot".
      	* alias.c: Likewise.
      	* builtins.c: Likewise.
      	* calls.c: Likewise.
      	* cgraph.c: Likewise.
      	* cgraph.h: Likewise.
      	* cgraphclones.c: Likewise.
      	* cgraphunit.c: Likewise.
      	* combine-stack-adj.c: Likewise.
      	* combine.c: Likewise.
      	* common/config/i386/i386-common.c: Likewise.
      	* config/aarch64/aarch64.c: Likewise.
      	* config/alpha/sync.md: Likewise.
      	* config/arc/arc.c: Likewise.
      	* config/arc/predicates.md: Likewise.
      	* config/arm/arm-c.c: Likewise.
      	* config/arm/arm.c: Likewise.
      	* config/arm/arm.h: Likewise.
      	* config/arm/arm.md: Likewise.
      	* config/arm/cortex-r4f.md: Likewise.
      	* config/csky/csky.c: Likewise.
      	* config/csky/csky.h: Likewise.
      	* config/darwin-f.c: Likewise.
      	* config/epiphany/epiphany.md: Likewise.
      	* config/i386/i386.c: Likewise.
      	* config/i386/sol2.h: Likewise.
      	* config/m68k/m68k.c: Likewise.
      	* config/mcore/mcore.h: Likewise.
      	* config/microblaze/microblaze.md: Likewise.
      	* config/mips/20kc.md: Likewise.
      	* config/mips/sb1.md: Likewise.
      	* config/nds32/nds32.c: Likewise.
      	* config/nds32/predicates.md: Likewise.
      	* config/pa/pa.c: Likewise.
      	* config/rs6000/e300c2c3.md: Likewise.
      	* config/rs6000/rs6000.c: Likewise.
      	* config/s390/s390.h: Likewise.
      	* config/sh/sh.c: Likewise.
      	* config/sh/sh.md: Likewise.
      	* config/spu/vmx2spu.h: Likewise.
      	* cprop.c: Likewise.
      	* dbxout.c: Likewise.
      	* df-scan.c: Likewise.
      	* doc/cfg.texi: Likewise.
      	* doc/extend.texi: Likewise.
      	* doc/fragments.texi: Likewise.
      	* doc/gty.texi: Likewise.
      	* doc/invoke.texi: Likewise.
      	* doc/lto.texi: Likewise.
      	* doc/md.texi: Likewise.
      	* doc/objc.texi: Likewise.
      	* doc/rtl.texi: Likewise.
      	* doc/tm.texi: Likewise.
      	* dse.c: Likewise.
      	* emit-rtl.c: Likewise.
      	* emit-rtl.h: Likewise.
      	* except.c: Likewise.
      	* expmed.c: Likewise.
      	* expr.c: Likewise.
      	* fold-const.c: Likewise.
      	* genautomata.c: Likewise.
      	* gimple-fold.c: Likewise.
      	* hard-reg-set.h: Likewise.
      	* ifcvt.c: Likewise.
      	* ipa-comdats.c: Likewise.
      	* ipa-cp.c: Likewise.
      	* ipa-devirt.c: Likewise.
      	* ipa-fnsummary.c: Likewise.
      	* ipa-icf.c: Likewise.
      	* ipa-inline-transform.c: Likewise.
      	* ipa-inline.c: Likewise.
      	* ipa-polymorphic-call.c: Likewise.
      	* ipa-profile.c: Likewise.
      	* ipa-prop.c: Likewise.
      	* ipa-pure-const.c: Likewise.
      	* ipa-reference.c: Likewise.
      	* ipa-split.c: Likewise.
      	* ipa-visibility.c: Likewise.
      	* ipa.c: Likewise.
      	* ira-build.c: Likewise.
      	* ira-color.c: Likewise.
      	* ira-conflicts.c: Likewise.
      	* ira-costs.c: Likewise.
      	* ira-int.h: Likewise.
      	* ira-lives.c: Likewise.
      	* ira.c: Likewise.
      	* ira.h: Likewise.
      	* loop-invariant.c: Likewise.
      	* loop-unroll.c: Likewise.
      	* lower-subreg.c: Likewise.
      	* lra-assigns.c: Likewise.
      	* lra-constraints.c: Likewise.
      	* lra-eliminations.c: Likewise.
      	* lra-lives.c: Likewise.
      	* lra-remat.c: Likewise.
      	* lra-spills.c: Likewise.
      	* lra.c: Likewise.
      	* lto-cgraph.c: Likewise.
      	* lto-streamer-out.c: Likewise.
      	* postreload-gcse.c: Likewise.
      	* predict.c: Likewise.
      	* profile-count.h: Likewise.
      	* profile.c: Likewise.
      	* recog.c: Likewise.
      	* ree.c: Likewise.
      	* reload.c: Likewise.
      	* reload1.c: Likewise.
      	* reorg.c: Likewise.
      	* resource.c: Likewise.
      	* rtl.def: Likewise.
      	* rtl.h: Likewise.
      	* rtlanal.c: Likewise.
      	* sched-deps.c: Likewise.
      	* sched-ebb.c: Likewise.
      	* sched-rgn.c: Likewise.
      	* sel-sched-ir.c: Likewise.
      	* sel-sched.c: Likewise.
      	* shrink-wrap.c: Likewise.
      	* simplify-rtx.c: Likewise.
      	* symtab.c: Likewise.
      	* target.def: Likewise.
      	* toplev.c: Likewise.
      	* tree-call-cdce.c: Likewise.
      	* tree-cfg.c: Likewise.
      	* tree-complex.c: Likewise.
      	* tree-core.h: Likewise.
      	* tree-eh.c: Likewise.
      	* tree-inline.c: Likewise.
      	* tree-loop-distribution.c: Likewise.
      	* tree-nrv.c: Likewise.
      	* tree-profile.c: Likewise.
      	* tree-sra.c: Likewise.
      	* tree-ssa-alias.c: Likewise.
      	* tree-ssa-dce.c: Likewise.
      	* tree-ssa-dom.c: Likewise.
      	* tree-ssa-forwprop.c: Likewise.
      	* tree-ssa-loop-im.c: Likewise.
      	* tree-ssa-loop-ivcanon.c: Likewise.
      	* tree-ssa-loop-ivopts.c: Likewise.
      	* tree-ssa-loop-niter.c: Likewise.
      	* tree-ssa-phionlycprop.c: Likewise.
      	* tree-ssa-phiopt.c: Likewise.
      	* tree-ssa-propagate.c: Likewise.
      	* tree-ssa-threadedge.c: Likewise.
      	* tree-ssa-threadupdate.c: Likewise.
      	* tree-ssa-uninit.c: Likewise.
      	* tree-ssanames.c: Likewise.
      	* tree-streamer-out.c: Likewise.
      	* tree.c: Likewise.
      	* tree.h: Likewise.
      	* vr-values.c: Likewise.
      
      	gcc/ada/
      	* exp_ch9.adb: Mechanically replace "can not" with "cannot".
      	* libgnat/s-regpat.ads: Likewise.
      	* par-ch4.adb: Likewise.
      	* set_targ.adb: Likewise.
      	* types.ads: Likewise.
      
      	gcc/cp/
      	* cp-tree.h: Mechanically replace "can not" with "cannot".
      	* parser.c: Likewise.
      	* pt.c: Likewise.
      
      	gcc/fortran/
      	* class.c: Mechanically replace "can not" with "cannot".
      	* decl.c: Likewise.
      	* expr.c: Likewise.
      	* gfc-internals.texi: Likewise.
      	* intrinsic.texi: Likewise.
      	* invoke.texi: Likewise.
      	* io.c: Likewise.
      	* match.c: Likewise.
      	* parse.c: Likewise.
      	* primary.c: Likewise.
      	* resolve.c: Likewise.
      	* symbol.c: Likewise.
      	* trans-array.c: Likewise.
      	* trans-decl.c: Likewise.
      	* trans-intrinsic.c: Likewise.
      	* trans-stmt.c: Likewise.
      
      	gcc/go/
      	* go-backend.c: Mechanically replace "can not" with "cannot".
      	* go-gcc.cc: Likewise.
      
      	gcc/lto/
      	* lto-partition.c: Mechanically replace "can not" with "cannot".
      	* lto-symtab.c: Likewise.
      	* lto.c: Likewise.
      
      	gcc/objc/
      	* objc-act.c: Mechanically replace "can not" with "cannot".
      
      	libbacktrace/
      	* backtrace.h: Mechanically replace "can not" with "cannot".
      
      	libgcc/
      	* config/c6x/libunwind.S: Mechanically replace "can not" with
      	"cannot".
      	* config/tilepro/atomic.h: Likewise.
      	* config/vxlib-tls.c: Likewise.
      	* generic-morestack-thread.c: Likewise.
      	* generic-morestack.c: Likewise.
      	* mkmap-symver.awk: Likewise.
      
      	libgfortran/
      	* caf/single.c: Mechanically replace "can not" with "cannot".
      	* io/unit.c: Likewise.
      
      	libobjc/
      	* class.c: Mechanically replace "can not" with "cannot".
      	* objc/runtime.h: Likewise.
      	* sendmsg.c: Likewise.
      
      	liboffloadmic/
      	* include/coi/common/COIResult_common.h: Mechanically replace
      	"can not" with "cannot".
      	* include/coi/source/COIBuffer_source.h: Likewise.
      
      	libstdc++-v3/
      	* include/ext/bitmap_allocator.h: Mechanically replace "can not"
      	with "cannot".
      
      From-SVN: r267783
      Sandra Loosemore committed
  11. 05 Jan, 2019 1 commit
    • PR c/88546 - Copy attribute unusable for weakrefs · 29d24852
      gcc/c-family/ChangeLog:
      
      	PR c/88546
      	* c-attribs.c (handle_copy_attribute): Avoid copying attribute leaf.
      	Handle C++ empty throw specification and C11 _Noreturn.
      	(has_attribute): Also handle C11 _Noreturn.
      
      gcc/ChangeLog:
      
      	PR c/88546
      	* attribs.c (decls_mismatched_attributes): Avoid warning for attribute
      	leaf.
      
      gcc/testsuite/ChangeLog:
      
      	PR c/88546
      	* g++.dg/ext/attr-copy.C: New test.
      	* gcc.dg/attr-copy-4.c: Disable macro expansion tracking.
      	* gcc.dg/attr-copy-6.c: New test.
      	* gcc.dg/attr-copy-7.c: New test.
      
      From-SVN: r267591
      Martin Sebor committed
  12. 01 Jan, 2019 1 commit
  13. 20 Dec, 2018 1 commit
    • C/C++: Add -Waddress-of-packed-member · da77eace
      When address of packed member of struct or union is taken, it may result
      in an unaligned pointer value.  This patch adds -Waddress-of-packed-member
      to check alignment at pointer assignment and warn unaligned address as
      well as unaligned pointer:
      
      $ cat x.i
      struct pair_t
      {
        char c;
        int i;
      } __attribute__ ((packed));
      
      extern struct pair_t p;
      int *addr = &p.i;
      $ gcc -O2 -S x.i
      x.i:8:13: warning: taking address of packed member of ‘struct pair_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
      8 | int *addr = &p.i;
        |             ^
      
      $ cat c.i
      struct B { int i; };
      struct C { struct B b; } __attribute__ ((packed));
      
      long* g8 (struct C *p) { return p; }
      $ gcc -O2 -S c.i -Wno-incompatible-pointer-types
      c.i: In function ‘g8’:
      c.i:4:18: warning: converting a packed ‘struct C *’ pointer (alignment 1) to ‘long int *’ (alignment 8) may may result in an unaligned pointer value [-Waddress-of-packed-member]
      4 | long* g8 (struct C *p) { return p; }
        |                  ^
      c.i:2:8: note: defined here
      2 | struct C { struct B b; } __attribute__ ((packed));
        |        ^
      $
      
      This warning is enabled by default.  Since read_encoded_value_with_base
      in unwind-pe.h has
      
        union unaligned
          {
            void *ptr;
            unsigned u2 __attribute__ ((mode (HI)));
            unsigned u4 __attribute__ ((mode (SI)));
            unsigned u8 __attribute__ ((mode (DI)));
            signed s2 __attribute__ ((mode (HI)));
            signed s4 __attribute__ ((mode (SI)));
            signed s8 __attribute__ ((mode (DI)));
          } __attribute__((__packed__));
        _Unwind_Internal_Ptr result;
      
      and GCC warns:
      
      gcc/libgcc/unwind-pe.h:210:37: warning: taking address of packed member of 'union unaligned' may result in an unaligned pointer value [-Waddress-of-packed-member]
          result = (_Unwind_Internal_Ptr) u->ptr;
                                          ^
      we need to add GCC pragma to ignore -Waddress-of-packed-member.
      
      gcc/
      
      	PR c/51628
      	* doc/invoke.texi: Document -Wno-address-of-packed-member.
      
      gcc/c-family/
      
      	PR c/51628
      	* c-common.h (warn_for_address_or_pointer_of_packed_member): New.
      	* c-warn.c (check_alignment_of_packed_member): New function.
      	(check_address_of_packed_member): Likewise.
      	(check_and_warn_address_of_packed_member): Likewise.
      	(warn_for_address_or_pointer_of_packed_member): Likewise.
      	* c.opt: Add -Wno-address-of-packed-member.
      
      gcc/c/
      
      	PR c/51628
      	* c-typeck.c (convert_for_assignment): Call
      	warn_for_address_or_pointer_of_packed_member.
      
      gcc/cp/
      
      	PR c/51628
      	* call.c (convert_for_arg_passing): Call
      	warn_for_address_or_pointer_of_packed_member.
      	* typeck.c (convert_for_assignment): Likewise.
      
      gcc/testsuite/
      
      	PR c/51628
      	* c-c++-common/pr51628-1.c: New test.
      	* c-c++-common/pr51628-2.c: Likewise.
      	* c-c++-common/pr51628-3.c: Likewise.
      	* c-c++-common/pr51628-4.c: Likewise.
      	* c-c++-common/pr51628-5.c: Likewise.
      	* c-c++-common/pr51628-6.c: Likewise.
      	* c-c++-common/pr51628-7.c: Likewise.
      	* c-c++-common/pr51628-8.c: Likewise.
      	* c-c++-common/pr51628-9.c: Likewise.
      	* c-c++-common/pr51628-10.c: Likewise.
      	* c-c++-common/pr51628-11.c: Likewise.
      	* c-c++-common/pr51628-12.c: Likewise.
      	* c-c++-common/pr51628-13.c: Likewise.
      	* c-c++-common/pr51628-14.c: Likewise.
      	* c-c++-common/pr51628-15.c: Likewise.
      	* c-c++-common/pr51628-26.c: Likewise.
      	* c-c++-common/pr51628-27.c: Likewise.
      	* c-c++-common/pr51628-28.c: Likewise.
      	* c-c++-common/pr51628-29.c: Likewise.
      	* c-c++-common/pr51628-30.c: Likewise.
      	* c-c++-common/pr51628-31.c: Likewise.
      	* c-c++-common/pr51628-32.c: Likewise.
      	* gcc.dg/pr51628-17.c: Likewise.
      	* gcc.dg/pr51628-18.c: Likewise.
      	* gcc.dg/pr51628-19.c: Likewise.
      	* gcc.dg/pr51628-20.c: Likewise.
      	* gcc.dg/pr51628-21.c: Likewise.
      	* gcc.dg/pr51628-22.c: Likewise.
      	* gcc.dg/pr51628-23.c: Likewise.
      	* gcc.dg/pr51628-24.c: Likewise.
      	* gcc.dg/pr51628-25.c: Likewise.
      	* c-c++-common/asan/misalign-1.c: Add
      	-Wno-address-of-packed-member.
      	* c-c++-common/asan/misalign-2.c: Likewise.
      	* c-c++-common/ubsan/align-2.c: Likewise.
      	* c-c++-common/ubsan/align-4.c: Likewise.
      	* c-c++-common/ubsan/align-6.c: Likewise.
      	* c-c++-common/ubsan/align-7.c: Likewise.
      	* c-c++-common/ubsan/align-8.c: Likewise.
      	* c-c++-common/ubsan/align-10.c: Likewise.
      	* g++.dg/ubsan/align-2.C: Likewise.
      	* gcc.target/i386/avx512bw-vmovdqu16-2.c: Likewise.
      	* gcc.target/i386/avx512f-vmovdqu32-2.c: Likewise.
      	* gcc.target/i386/avx512f-vmovdqu64-2.c: Likewise.
      	* gcc.target/i386/avx512vl-vmovdqu16-2.c: Likewise.
      	* gcc.target/i386/avx512vl-vmovdqu32-2.c: Likewise.
      	* gcc.target/i386/avx512vl-vmovdqu64-2.c: Likewise.
      
      libgcc/
      
      	* unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
      	to ignore -Waddress-of-packed-member.
      
      From-SVN: r267313
      H.J. Lu committed
  14. 19 Dec, 2018 1 commit
    • [ARM] Optimize executable size when using softfloat fmul/dmul · 72e3a529
      Softfloat single precision and double precision floating-point
      multiplication routines in libgcc share some code with the
      floating-point division of their corresponding precision. As the code
      is structured now, this leads to *all* division code being pulled in an
      executable in softfloat mode even if only multiplication is
      performed.
      
      This patch create some new LIB1ASMFUNCS macros to also build files with
      just the multiplication and shared code as weak symbols. By putting
      these earlier in the static library, they can then be picked up when
      only multiplication is used and they are overriden by the global
      definition in the existing file containing both multiplication and
      division code when division is needed.
      
      The patch also removes changes made to the FUNC_START and ARM_FUNC_START
      macros in r218124 since the intent was to put multiplication and
      division code into their own section in a later patch to achieve the
      same size optimization. That approach relied on specific section layout
      to ensure multiplication and division were not too far from the shared
      bit of code in order to the branches to be within range. Due to lack of
      guarantee regarding section layout, in particular with all the
      possibility of linker scripts, this approach was chosen instead. This
      patch keeps the two testcases that were posted by Tony Wang on the mailing
      list to implement this approach and adds a new one.
      
      2018-12-19  Thomas Preud'homme  <thomas.preudhomme@linaro.org>
      
          libgcc/
          * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
          parameter and corresponding code.
          (ARM_FUNC_START): Likewise in both definitions.
          Also update footer comment about condition that need to match with
          gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
          * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
          defined.  Weakly define it in this case.
          * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
          * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
          _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
          comment to keep condition in sync with the one in
          libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
      
          gcc/
          * config/arm/elf.h: Update comment about condition that need to
          match with libgcc/config/arm/lib1funcs.S to also include
          libgcc/config/arm/t-arm.
          * doc/sourcebuild.texi (output-exists, output-exists-not): Rename
          subsubsection these directives are in to "Check for output files".
          Move scan-symbol to that section and add to it new scan-symbol-not
          directive.
      
      2018-12-19  Tony Wang  <tony.wang@arm.com>
      	    Thomas Preud'homme  <thomas.preudhomme@linaro.org>
      
          gcc/testsuite/
          * lib/lto.exp (lto-execute): Define output_file and testname_with_flags
          to same value as execname.
          (scan-symbol): Move and rename to ...
          * lib/gcc-dg.exp (scan-symbol-common): This.  Adapt into a
          helper function returning true or false if a symbol is present.
          (scan-symbol): New procedure.
          (scan-symbol-not): Likewise.
          * gcc.target/arm/size-optimization-ieee-1.c: New testcase.
          * gcc.target/arm/size-optimization-ieee-2.c: Likewise.
          * gcc.target/arm/size-optimization-ieee-3.c: Likewise.
      
      From-SVN: r267282
      Thomas Preud'homme committed
  15. 18 Dec, 2018 1 commit
    • driver-i386.c (host_detect_local_cpu): Detect cascadelake. · 5d54c798
      gcc/ChangeLog
      2018-12-18  Wei Xiao  <wei3.xiao@intel.com>
      
      	* config/i386/driver-i386.c (host_detect_local_cpu): Detect cascadelake.
      	* config/i386/i386.c (fold_builtin_cpu): Handle cascadelake.
      	* doc/extend.texi: Add cascadelake.
      
      gcc/testsuite/ChangeLog
      2018-12-18  Wei Xiao  <wei3.xiao@intel.com>
      
      	* g++.target/i386/mv16.C: Handle new march.
      	* gcc.target/i386/builtin_target.c: Ditto.
      
      libgcc/ChangeLog
      2018-12-18  Wei Xiao  <wei3.xiao@intel.com>
      
      	* config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
      	* config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
      
      From-SVN: r267226
      Wei Xiao committed
  16. 12 Dec, 2018 1 commit
  17. 05 Dec, 2018 1 commit
  18. 27 Nov, 2018 1 commit
    • [RS6000] libgcc cfi · 1ea7ea18
      There are a few places in libgcc assembly where we don't emit call
      frame information for functions, potentially breaking unwinding from
      asynchronous signal handlers.  This patch fixes them.  Although I
      patch tramp.S there is no attempt made to provide CFI for the actual
      trampoline on the stack.  Doing that would require generating CFI at
      run time and both registering and deregistering it, which is probably
      not worth doing since it would significantly slow down the call.
      
      	* config/rs6000/morestack.S (__stack_split_initialize),
      	(__morestack_get_guard, __morestack_set_guard),
      	(__morestack_make_guard): Provide CFI covering these functions.
      	* config/rs6000/tramp.S (__trampoline_setup): Likewise.
      
      From-SVN: r266503
      Alan Modra committed
  19. 16 Nov, 2018 1 commit
  20. 15 Nov, 2018 1 commit
  21. 13 Nov, 2018 1 commit
  22. 09 Nov, 2018 1 commit
  23. 08 Nov, 2018 1 commit
    • Update soft-fp from glibc. · 222cfefa
      This patch is updating all soft-fp from glibc, most changes are
      copyright years update, and changes other than years update are list
      bellow, this patch has been tested with riscv32-elf(rv32imac),
      riscv64-elf(rv64imac) and nds32le-elf(v3), didn't introduce new test
      fail:
      
      soft-fp/op-4.h
        - soft-fp: Use temporary variable in FP_FRAC_SUB_3/FP_FRAC_SUB_4
          - ff48ea6787526d7e669af93ce2681b911d39675c
      soft-fp/op-8.h
        - soft-fp: Add implementation for 128 bit self-contained
          - af1d5782c1e3a635fdd13d6688be64de7759857c
      soft-fp/op-common.h
      - Add narrowing multiply functions.
         - 69a01461ee1417578d2ba20aac935828b50f1118
      
      soft-fp/extended.h
      soft-fp/half.h
      soft-fp/single.h
      soft-fp/double.h
      soft-fp/quad.h
      - Do not use packed structures in soft-fp.
        - 049375e2b5fc707436fd5d80337c253beededb2d
      
      2018-11-08  Kito Cheng  <kito@andestech.com>
      
      	* soft-fp/adddf3.c: Update from glibc.
      	* soft-fp/addsf3.c: Likewise.
      	* soft-fp/addtf3.c: Likewise.
      	* soft-fp/divdf3.c: Likewise.
      	* soft-fp/divsf3.c: Likewise.
      	* soft-fp/divtf3.c: Likewise.
      	* soft-fp/double.h: Likewise.
      	* soft-fp/eqdf2.c: Likewise.
      	* soft-fp/eqsf2.c: Likewise.
      	* soft-fp/eqtf2.c: Likewise.
      	* soft-fp/extenddftf2.c: Likewise.
      	* soft-fp/extended.h: Likewise.
      	* soft-fp/extendhftf2.c: Likewise.
      	* soft-fp/extendsfdf2.c: Likewise.
      	* soft-fp/extendsftf2.c: Likewise.
      	* soft-fp/extendxftf2.c: Likewise.
      	* soft-fp/fixdfdi.c: Likewise.
      	* soft-fp/fixdfsi.c: Likewise.
      	* soft-fp/fixdfti.c: Likewise.
      	* soft-fp/fixhfti.c: Likewise.
      	* soft-fp/fixsfdi.c: Likewise.
      	* soft-fp/fixsfsi.c: Likewise.
      	* soft-fp/fixsfti.c: Likewise.
      	* soft-fp/fixtfdi.c: Likewise.
      	* soft-fp/fixtfsi.c: Likewise.
      	* soft-fp/fixtfti.c: Likewise.
      	* soft-fp/fixunsdfdi.c: Likewise.
      	* soft-fp/fixunsdfsi.c: Likewise.
      	* soft-fp/fixunsdfti.c: Likewise.
      	* soft-fp/fixunshfti.c: Likewise.
      	* soft-fp/fixunssfdi.c: Likewise.
      	* soft-fp/fixunssfsi.c: Likewise.
      	* soft-fp/fixunssfti.c: Likewise.
      	* soft-fp/fixunstfdi.c: Likewise.
      	* soft-fp/fixunstfsi.c: Likewise.
      	* soft-fp/fixunstfti.c: Likewise.
      	* soft-fp/floatdidf.c: Likewise.
      	* soft-fp/floatdisf.c: Likewise.
      	* soft-fp/floatditf.c: Likewise.
      	* soft-fp/floatsidf.c: Likewise.
      	* soft-fp/floatsisf.c: Likewise.
      	* soft-fp/floatsitf.c: Likewise.
      	* soft-fp/floattidf.c: Likewise.
      	* soft-fp/floattihf.c: Likewise.
      	* soft-fp/floattisf.c: Likewise.
      	* soft-fp/floattitf.c: Likewise.
      	* soft-fp/floatundidf.c: Likewise.
      	* soft-fp/floatundisf.c: Likewise.
      	* soft-fp/floatunditf.c: Likewise.
      	* soft-fp/floatunsidf.c: Likewise.
      	* soft-fp/floatunsisf.c: Likewise.
      	* soft-fp/floatunsitf.c: Likewise.
      	* soft-fp/floatuntidf.c: Likewise.
      	* soft-fp/floatuntihf.c: Likewise.
      	* soft-fp/floatuntisf.c: Likewise.
      	* soft-fp/floatuntitf.c: Likewise.
      	* soft-fp/gedf2.c: Likewise.
      	* soft-fp/gesf2.c: Likewise.
      	* soft-fp/getf2.c: Likewise.
      	* soft-fp/half.h: Likewise.
      	* soft-fp/ledf2.c: Likewise.
      	* soft-fp/lesf2.c: Likewise.
      	* soft-fp/letf2.c: Likewise.
      	* soft-fp/muldf3.c: Likewise.
      	* soft-fp/mulsf3.c: Likewise.
      	* soft-fp/multf3.c: Likewise.
      	* soft-fp/negdf2.c: Likewise.
      	* soft-fp/negsf2.c: Likewise.
      	* soft-fp/negtf2.c: Likewise.
      	* soft-fp/op-1.h: Likewise.
      	* soft-fp/op-2.h: Likewise.
      	* soft-fp/op-4.h: Likewise.
      	* soft-fp/op-8.h: Likewise.
      	* soft-fp/op-common.h: Likewise.
      	* soft-fp/quad.h: Likewise.
      	* soft-fp/single.h: Likewise.
      	* soft-fp/soft-fp.h: Likewise.
      	* soft-fp/subdf3.c: Likewise.
      	* soft-fp/subsf3.c: Likewise.
      	* soft-fp/subtf3.c: Likewise.
      	* soft-fp/truncdfsf2.c: Likewise.
      	* soft-fp/trunctfdf2.c: Likewise.
      	* soft-fp/trunctfhf2.c: Likewise.
      	* soft-fp/trunctfsf2.c: Likewise.
      	* soft-fp/trunctfxf2.c: Likewise.
      	* soft-fp/unorddf2.c: Likewise.
      	* soft-fp/unordsf2.c: Likewise.
      	* soft-fp/unordtf2.c: Likewise.
      
      From-SVN: r265925
      Kito Cheng committed
  24. 04 Nov, 2018 1 commit
    • Enable support for next generation AMD Zen CPU, via -march=znver2. · 2901f42f
      gcc/ChangeLog:
      	* common/config/i386/i386-common.c (processor_alias_table): Add znver2 entry.
      	* config.gcc (i[34567]86-*-linux* | ...): Add znver2.
      	(case ${target}): Add znver2.
      	* config/i386/driver-i386.c: (host_detect_local_cpu): Let
      	-march=native recognize znver2 processors.
      	* config/i386/i386-c.c (ix86_target_macros_internal): Add znver2.
      	* config/i386/i386.c (m_znver2): New definition.
      	(m_ZNVER): New definition.
      	(m_AMD_MULTIPLE): Includes m_znver2.
      	(processor_cost_table): Add znver2 entry.
      	(processor_target_table): Add znver2 entry.
      	(get_builtin_code_for_version): Set priority for
      	PROCESSOR_ZNVER2.
      	(processor_model): Add M_AMDFAM17H_ZNVER2.
      	(arch_names_table): Ditto.
      	(ix86_reassociation_width): Include znver2. 
      	* config/i386/i386.h (TARGET_znver2): New definition.
      	(struct ix86_size_cost): Add TARGET_ZNVER2.
      	(enum processor_type): Add PROCESSOR_ZNVER2.
      	* config/i386/i386.md (define_attr "cpu"): Add znver2.
      	* config/i386/x86-tune-costs.h: (processor_costs) Add znver2 costs.
      	* config/i386/x86-tune-sched.c: (ix86_issue_rate): Add znver2.
      	(ix86_adjust_cost): Add znver2.
      	* config/i386/x86-tune.def:  Replace m_ZNVER1 by m_ZNVER
      	* gcc/doc/extend.texi: Add details about znver2.
      	* gcc/doc/invoke.texi: Add details about znver2.
      
      libgcc/ChangeLog
      	* config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
      	* config/i386/cpuinfo.h(processor_subtypes): Ditto.
      
      From-SVN: r265775
      Venkataramanan Kumar committed
  25. 01 Nov, 2018 1 commit
  26. 31 Oct, 2018 2 commits
    • Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856). · 22e05272
      This patch updates GCC to use autoconf 2.69 and automake 1.15.1.
      (That's not the latest automake version, but it's the one used by
      binutils-gdb, with which consistency is desirable, and in any case
      seems a useful incremental update that should make a future update to
      1.16.1 easier.)
      
      The changes are generally similar to the binutils-gdb ones, and are
      copied from there where shared files and directories are involved
      (there are some further changes to such shared directories, however,
      which I'd expect to apply to binutils-gdb once this patch is in GCC).
      Largely, obsolete AC_PREREQ calls are removed, while many
      AC_LANG_SOURCE calls are added to avoid warnings from aclocal and
      autoconf.  Multilib support is no longer included in core automake,
      meaning that multilib.am needs copying from automake's contrib
      directory into the GCC source tree.  Autoconf 2.69 has Go support, so
      local copies of that support are removed.  I hope the D support will
      soon be submitted to upstream autoconf so the local copy of that can
      be removed in a future update.  Changes to how automake generates
      runtest calls mean quotes are removed from RUNTEST definitions in five
      lib*/testsuite/Makefile.am files (libatomic, libgomp, libitm,
      libphobos, libvtv; some others have RUNTEST definitions without
      quotes, which are still OK); libgo and libphobos also get
      -Wno-override added to AM_INIT_AUTOMAKE so those overrides of RUNTEST
      do not generate automake warnings.
      
      Note that the regeneration did not include regeneration of
      fixincludes/config.h.in (attempting such regeneration resulted in all
      the USED_FOR_TARGET conditionals disappearing; and I don't see
      anything in the fixincludes/ directory that would result in such
      conditionals being generated, unlike in the gcc/ directory).  Also
      note that libvtv/testsuite/other-tests/Makefile.in was not
      regenerated; that directory is not listed as a subdirectory for which
      Makefile.in gets regenerated by calling "automake" in libvtv/, so I'm
      not sure how it's meant to be regenerated.
      
      While I mostly fixed warnings should running aclocal / automake /
      autoconf, there were various such warnings from automake in the
      libgfortran, libgo, libgomp, liboffloadmic, libsanitizer, libphobos
      directories that I did not fix, preferring to leave those to the
      relevant subsystem maintainers.  Specifically, most of those warnings
      were of the following form (example from libgfortran):
      
      Makefile.am:48: warning: source file 'caf/single.c' is in a subdirectory,
      Makefile.am:48: but option 'subdir-objects' is disabled
      automake: warning: possible forward-incompatibility.
      automake: At least a source file is in a subdirectory, but the 'subdir-objects'
      automake: automake option hasn't been enabled.  For now, the corresponding output
      automake: object file(s) will be placed in the top-level directory.  However,
      automake: this behaviour will change in future Automake versions: they
      will
      automake: unconditionally cause object files to be placed in the same subdirectory
      automake: of the corresponding sources.
      automake: You are advised to start using 'subdir-objects' option throughout your
      automake: project, to avoid future incompatibilities.
      
      I think it's best for the relevant maintainers to add subdir-objects
      and do any other associated Makefile.am changes needed.  In some cases
      the paths in the warnings involved ../; I don't know if that adds any
      extra complications to the use of subdir-objects.
      
      I've tested this with native, cross and Canadian cross builds.  The
      risk of any OS-specific issues should I hope be rather lower than if a
      libtool upgrade were included (we *should* do such an upgrade at some
      point, but it's more complicated - it involves identifying all our
      local libtool changes to see if any aren't included in the upstream
      version we update to, and reverting an upstream libtool patch that's
      inappropriate for use in GCC); I think it would be better to get this
      update into GCC so that people can test in different configurations
      and we can fix any issues found, rather than to try to get more and
      more testing done before it goes in.
      
      top level:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* multilib.am: New file.  From automake.
      
      	Merge from binutils-gdb:
      	2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
      
      	* libtool.m4: Use AC_LANG_SOURCE.
      	* configure.ac: Remove AC_PREREQ, use AC_LANG_SOURCE.
      	* ar-lib: New file.
      	* test-driver: New file.
      	* configure: Re-generate.
      
      config:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* math.m4, tls.m4: Use AC_LANG_SOURCE.
      
      	Merge from binutils-gdb:
      	2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
      
      	* override.m4 (_GCC_AUTOCONF_VERSION): Bump from 2.64 to 2.69.
      
      fixincludes:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.
      	* aclocal.m4, configure: Regenerate.
      
      gcc:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.  Use single
      	line for second argument of AC_DEFINE_UNQUOTED.
      	* doc/install.texi (Tools/packages necessary for modifying GCC):
      	Update to autoconf 2.69 and automake 1.15.1.
      	* aclocal.m4, config.in, configure: Regenerate.
      
      gnattools:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.
      	* configure: Regenerate.
      
      gotools:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* config/go.m4: Remove file.
      	* Makefile.am (ACLOCAL_AMFLAGS): Do not use -I ./config.
      	* configure.ac:  Remove AC_PREREQ.  Do not include config/go.m4.
      	* Makefile.in, aclocal.m4, configure: Regenerate.
      
      intl:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	Merge from binutils-gdb:
      	2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
      
      	* configure.ac: Add AC_USE_SYSTEM_EXTENSIONS, remove AC_PREREQ.
      	* configure: Re-generate.
      	* config.h.in: Re-generate.
      	* aclocal.m4: Re-generate.
      
      libada:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.
      	* configure: Regenerate.
      
      libatomic:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	* acinclude.m4: Use AC_LANG_SOURCE.
      	* configure.ac: Remove AC_PREREQ.
      	* testsuite/Makefile.am (RUNTEST): Remove quotes.
      	* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
      	Regenerate.
      
      libbacktrace:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	* configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
      	* Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
      
      libcc1:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.
      	* Makefile.in, aclocal.m4, configure: Regenerate.
      
      libcpp:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
      	* aclocal.m4, config.in, configure: Regenerate.
      
      libdecnumber:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	Merge from binutils-gdb:
      	2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
      
      	* configure.ac: Remove AC_PREREQ.
      	* configure: Re-generate.
      	* aclocal.m4.
      
      libffi:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	(AUTOMAKE_OPTIONS): Add info-in-builddir.
      	(CLEANFILES): Remove doc/libffi.info.
      	* configure.ac: Remove AC_PREREQ.
      	* Makefile.in, aclocal.m4, configure, fficonfig.h.in,
      	include/Makefile.in, man/Makefile.in, testsuite/Makefile.in:
      	Regenerate.
      
      libgcc:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
      	* configure: Regenerate.
      
      libgfortran:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	* configure.ac: Remove AC_PREREQ.
      	* Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
      
      libgo [logically part of this change but omitted from the commit]:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	* config/go.m4: Remove file.
      	* config/libtool.m4: Use AC_LANG_SOURCE.
      	* configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.  Use
      	-Wno-override in AM_INIT_AUTOMAKE call.
      	* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
      	Regenerate.
      
      libgomp:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am
      	(AUTOMAKE_OPTIONS): Add info-in-builddir.
      	(CLEANFILES): Remove libgomp.info.
      	* configure.ac: Remove AC_PREREQ.
      	* testsuite/Makefile.am (RUNTEST): Remove quotes.
      	* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
      	Regenerate.
      
      libhsail-rt:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.
      	* Makefile.in, aclocal.m4, configure: Regenerate.
      
      libiberty:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	Merge from binutils-gdb:
      	2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
      
      	* configure.ac: Remove AC_PREREQ.
      	* configure: Re-generate.
      	* config.in: Re-generate.
      
      libitm:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	(AUTOMAKE_OPTIONS): Add info-in-builddir.
      	(CLEANFILES): Remove libitm.info.
      	* configure.ac: Remove AC_PREREQ.
      	* testsuite/Makefile.am (RUNTEST): Remove quotes.
      	* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
      	Regenerate.
      
      libobjc:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.
      	* aclocal.m4, config.h.in, configure: Regenerate.
      
      liboffloadmic:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	* configure.ac: Remove AC_PREREQ.
      	* plugin/Makefile.am: Include multilib.am.
      	* plugin/configure.ac: Remove AC_PREREQ.
      	* Makefile.in, aclocal.m4, configure, plugin/Makefile.in,
      	plugin/aclocal.m4, plugin/configure: Regenerate.
      
      libphobos:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	* configure.ac: Remove AC_PREREQ.  Use -Wno-override in
      	AM_INIT_AUTOMAKE call.
      	* m4/autoconf.m4: Add extra argument to AC_LANG_DEFINE call.
      	* m4/druntime/os.m4: Use AC_LANG_SOURCE.
      	* testsuite/Makefile.am (RUNTEST): Remove quotes.
      	* Makefile.in, aclocal.m4, configure, libdruntime/Makefile.in,
      	src/Makefile.in, testsuite/Makefile.in: Regenerate.
      
      libquadmath:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	(AUTOMAKE_OPTIONS): Remove 1.8.  Add info-in-builddir.
      	(all-local): Define outside conditional code.
      	(CLEANFILES): Remove libquadmath.info.
      	* configure.ac: Remove AC_PREREQ.
      	* Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
      
      libsanitizer:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	* configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
      	* Makefile.in, aclocal.m4, asan/Makefile.in, configure,
      	interception/Makefile.in, libbacktrace/Makefile.in,
      	lsan/Makefile.in, sanitizer_common/Makefile.in, tsan/Makefile.in,
      	ubsan/Makefile.in: Regenerate.
      
      libssp:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	(AUTOMAKE_OPTIONS): Remove 1.9.5.
      	* configure.ac: Remove AC_PREREQ.  Quote argument to
      	AC_RUN_IFELSE.
      	* Makefile.in, aclocal.m4, configure: Regenerate.
      
      libstdc++-v3:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	* configure.ac: Remove AC_PREREQ.
      	* Makefile.in, aclocal.m4, configure, doc/Makefile.in,
      	include/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
      	python/Makefile.in, src/Makefile.in, src/c++11/Makefile.in,
      	src/c++17/Makefile.in, src/c++98/Makefile.in,
      	src/filesystem/Makefile.in, testsuite/Makefile.in: Regenerate.
      
      libvtv:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	* configure.ac: Remove AC_PREREQ.
      	* testsuite/Makefile.am (RUNTEST): Remove quotes.
      	* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
      	Regenerate.
      
      lto-plugin:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
      	* Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
      
      zlib:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      
      	Merge from binutils-gdb:
      	2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
      
      	* configure.ac: Modernize AC_INIT call, remove AC_PREREQ.
      	* Makefile.am (AUTOMAKE_OPTIONS): Remove 1.8, cygnus, add foreign.
      	* Makefile.in: Re-generate.
      	* aclocal.m4: Re-generate.
      	* configure: Re-generate.
      
      From-SVN: r265695
      Joseph Myers committed
    • [ARC] Remove non standard funcions calls. · 8180cde0
      Replace all custom "library" calls with compiler known patterns.
      
      gcc/
      xxxx-xx-xx  Claudiu Zissulescu  <claziss@synopsys.com>
      
      	* config/arc/arc.md (mulsi3): Remove call to mulsi_600_lib.
      	(mulsi3_600_lib): Remove pattern.
      	(umulsi3_highpart_600_lib_le): Likewise.
      	(umulsi3_highpart): Remove call to umulsi3_highpart_600_lib_le.
      	(umulsidi3): Remove call to umulsidi3_600_lib.
      	(umulsidi3_600_lib): Remove pattern.
      	(peephole2): Remove peephole using the above deprecated patterns.
      
      testsuite/
      xxxx-xx-xx  Claudiu Zissulescu  <claziss@synopsys.com>
      
      	* gcc.target/arc/mulsi3_highpart-2.c: Update test.
      
      libgcc/
      xxxx-xx-xx  Claudiu Zissulescu  <claziss@synopsys.com>
      
      	* config/arc/lib1funcs.S (_muldi3): New function.
      	* config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
      
      From-SVN: r265672
      Claudiu Zissulescu committed
  27. 30 Oct, 2018 1 commit
  28. 25 Oct, 2018 1 commit
  29. 24 Oct, 2018 1 commit
  30. 18 Oct, 2018 1 commit
  31. 17 Oct, 2018 1 commit
    • libgcc: apply LIB2FUNCS_EXCLUDE logic to LIB2FUNCS_ST · fc8abc46
      One target file (config/c6x/t-elf) lists _printf and _gcc_bcmp in
      LIB2FUNCS_EXCLUDE, but that does not have any effect, since those are
      not filtered away from LIB2FUNCS_ST. Another option is to do as in
      config/rl78/t-rl78, which explicitly sets LIB2FUNCS_ST
      
      # Remove __gcc_bcmp from LIB2FUNCS_ST
      LIB2FUNCS_ST = _eprintf
      
      but honouring LIB2FUNCS_EXCLUDE also for LIB2FUNCS_ST seems more
      natural.
      
      From-SVN: r265246
      Rasmus Villemoes committed
  32. 12 Oct, 2018 1 commit
  33. 08 Oct, 2018 1 commit
  34. 04 Oct, 2018 1 commit
    • Fix divergence in indirect profiling (PR gcov-profile/84107). · 3edbcdbe
      2018-10-04  Martin Liska  <mliska@suse.cz>
      
      	PR gcov-profile/84107
      	* tree-profile.c (init_ic_make_global_vars):
      	Remove ic_void_ptr_var and ic_gcov_type_ptr_var.
      	Come up with new ic_tuple* variables.  Emit
      	__gcov_indirect_call{,_topn} variables.
      	(gimple_gen_ic_profiler): Access the variable
      	and emit gimple.
      	(gimple_gen_ic_func_profiler): Access
      	__gcov_indirect_call.callee field.
      	(gimple_init_gcov_profiler): Use ptr_type_node.
      	* value-prof.c (gimple_ic): Use ptr_type_node.
      2018-10-04  Martin Liska  <mliska@suse.cz>
      
      	PR gcov-profile/84107
      	* libgcov-profiler.c (__gcov_indirect_call):
      	Change type to indirect_call_tuple.
      	(struct indirect_call_tuple): New struct.
      	(__gcov_indirect_call_topn_profiler): Change type.
      	(__gcov_indirect_call_profiler_v2): Use the new
      	variables.
      	* libgcov.h (struct indirect_call_tuple): New struct
      	definition.
      
      From-SVN: r264840
      Martin Liska committed
  35. 03 Oct, 2018 1 commit
  36. 26 Sep, 2018 1 commit
  37. 21 Sep, 2018 1 commit
    • Leverage cacheTextUpdate for __clear_cache on VxWorks · 5244089f
      2018-09-21  Alexandre Oliva  <oliva@adacore.com>
      
      libgcc/
      	* config/vxcache.c: New file.  Provide __clear_cache, based on
      	the cacheTextUpdate VxWorks service.
      	* config/t-vxworks (LIB2ADD): Add vxcache.c.
      	(LIB2FUNCS_EXCLUDE): Add _clear_cache.
      	* config/t-vxwoks7: Likewise.
      gcc/
      	* config/vxworks.h (CLEAR_INSN_CACHE): #define to 1.
      
      From-SVN: r264479
      Olivier Hainque committed