Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc.old/dist import GCC 5.5 into gcc.old.
details: https://anonhg.NetBSD.org/src/rev/b13cb84b1485
branches: trunk
changeset: 357497:b13cb84b1485
user: mrg <mrg%NetBSD.org@localhost>
date: Mon Nov 13 07:46:18 2017 +0000
description:
import GCC 5.5 into gcc.old.
diffstat:
external/gpl3/gcc.old/dist/fixincludes/tests/base/iso/stdlib_c99.h | 14 +
external/gpl3/gcc.old/dist/gcc/auto-profile.c | 12 +-
external/gpl3/gcc.old/dist/gcc/config/aarch64/aarch64-freebsd.h | 102 +
external/gpl3/gcc.old/dist/gcc/config/aarch64/t-aarch64-freebsd | 21 +
external/gpl3/gcc.old/dist/gcc/config/arm/arm-builtins.c | 4 +-
external/gpl3/gcc.old/dist/gcc/config/arm/t-phoenix | 29 +
external/gpl3/gcc.old/dist/gcc/config/avr/gen-avr-mmcu-specs.c | 7 +-
external/gpl3/gcc.old/dist/gcc/config/i386/avx512bwintrin.h | 176 +-
external/gpl3/gcc.old/dist/gcc/config/i386/avx512dqintrin.h | 39 +-
external/gpl3/gcc.old/dist/gcc/config/i386/avx512fintrin.h | 541 +-
external/gpl3/gcc.old/dist/gcc/config/i386/avx512ifmaintrin.h | 4 +-
external/gpl3/gcc.old/dist/gcc/config/i386/avx512ifmavlintrin.h | 8 +-
external/gpl3/gcc.old/dist/gcc/config/i386/avx512pfintrin.h | 120 +-
external/gpl3/gcc.old/dist/gcc/config/i386/avx512vbmiintrin.h | 7 +-
external/gpl3/gcc.old/dist/gcc/config/i386/avx512vbmivlintrin.h | 6 +-
external/gpl3/gcc.old/dist/gcc/config/i386/avx512vlbwintrin.h | 70 +-
external/gpl3/gcc.old/dist/gcc/config/i386/avx512vldqintrin.h | 27 +-
external/gpl3/gcc.old/dist/gcc/config/i386/avx512vlintrin.h | 1425 ++++-----
external/gpl3/gcc.old/dist/gcc/config/nds32/nds32.md | 8 +-
external/gpl3/gcc.old/dist/gcc/config/phoenix.h | 33 +
external/gpl3/gcc.old/dist/gcc/config/s390/vx-builtins.md | 44 +-
external/gpl3/gcc.old/dist/gcc/config/sh/sh-mem.cc | 6 +-
external/gpl3/gcc.old/dist/gcc/config/sh/sh_treg_combine.cc | 7 +-
external/gpl3/gcc.old/dist/gcc/cp/constexpr.c | 231 +-
external/gpl3/gcc.old/dist/gcc/doc/gcov-dump.1 | 213 +
external/gpl3/gcc.old/dist/gcc/doc/gcov-dump.texi | 93 +
external/gpl3/gcc.old/dist/gcc/doc/gcov-tool.1 | 109 +-
external/gpl3/gcc.old/dist/gcc/doc/gcov-tool.texi | 50 +-
external/gpl3/gcc.old/dist/gcc/gcov-tool.c | 18 +-
external/gpl3/gcc.old/dist/gcc/genmatch.c | 1 -
external/gpl3/gcc.old/dist/gcc/graphite-isl-ast-to-gimple.c | 2 +-
external/gpl3/gcc.old/dist/gcc/ipa-comdats.c | 2 +-
external/gpl3/gcc.old/dist/gcc/ipa-devirt.c | 10 +-
external/gpl3/gcc.old/dist/gcc/ipa-icf-gimple.c | 27 +-
external/gpl3/gcc.old/dist/gcc/ipa-icf-gimple.h | 6 +-
external/gpl3/gcc.old/dist/gcc/ipa-icf.c | 75 +-
external/gpl3/gcc.old/dist/gcc/ipa-icf.h | 26 +-
external/gpl3/gcc.old/dist/gcc/ipa-polymorphic-call.c | 12 +-
external/gpl3/gcc.old/dist/gcc/ipa-visibility.c | 3 +-
external/gpl3/gcc.old/dist/gcc/lra-remat.c | 12 +-
external/gpl3/gcc.old/dist/gcc/match.pd | 11 +-
external/gpl3/gcc.old/dist/gcc/tree-chkp-opt.c | 4 +-
external/gpl3/gcc.old/dist/gcc/tree-chkp.c | 22 +-
external/gpl3/gcc.old/dist/gcc/ubsan.c | 33 +-
external/gpl3/gcc.old/dist/libgcc/config/nios2/linux-unwind.h | 2 +-
external/gpl3/gcc.old/dist/libgcc/config/xtensa/t-windowed | 2 +-
external/gpl3/gcc.old/dist/libgcc/libgcov-driver.c | 9 +
external/gpl3/gcc.old/dist/libgomp/hashtab.h | 30 +-
external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_linux.h | 4 +-
external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc | 2 +-
external/gpl3/gcc.old/dist/libstdc++-v3/doc/xml/manual/status_cxx2014.xml | 3 +-
external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/locale_conv.h | 8 +-
external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/predefined_ops.h | 32 +-
external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/regex.tcc | 17 +-
external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/uniform_int_dist.h | 5 +-
external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental/algorithm | 11 +-
external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental/any | 23 +-
external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental/chrono | 2 +-
external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental/fs_dir.h | 8 +-
external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental/fs_fwd.h | 7 +-
external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental/fs_ops.h | 19 +-
external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental/fs_path.h | 77 +-
external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental/functional | 13 +-
external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental/lfts_config.h | 57 +
external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental/optional | 23 +-
external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental/ratio | 3 +-
external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental/string_view | 13 +-
external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental/string_view.tcc | 3 +
external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental/system_error | 4 +-
external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental/tuple | 1 +
external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental/type_traits | 2 +-
external/gpl3/gcc.old/dist/libstdc++-v3/python/libstdcxx/v6/xmethods.py | 12 +-
external/gpl3/gcc.old/dist/libstdc++-v3/src/c++11/codecvt.cc | 608 ++-
external/gpl3/gcc.old/dist/libstdc++-v3/src/c++11/cxx11-shim_facets.cc | 20 +-
external/gpl3/gcc.old/dist/libstdc++-v3/src/filesystem/Makefile.in | 2 +-
external/gpl3/gcc.old/dist/libstdc++-v3/src/filesystem/dir.cc | 46 +-
external/gpl3/gcc.old/dist/libstdc++-v3/src/filesystem/ops.cc | 255 +-
77 files changed, 3075 insertions(+), 1918 deletions(-)
diffs (truncated from 10404 to 300 lines):
diff -r 7e284672e9fc -r b13cb84b1485 external/gpl3/gcc.old/dist/fixincludes/tests/base/iso/stdlib_c99.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc.old/dist/fixincludes/tests/base/iso/stdlib_c99.h Mon Nov 13 07:46:18 2017 +0000
@@ -0,0 +1,14 @@
+/* DO NOT EDIT THIS FILE.
+
+ It has been auto-edited by fixincludes from:
+
+ "fixinc/tests/inc/iso/stdlib_c99.h"
+
+ This had to be done to correct non-standard usages in the
+ original, manufacturer supplied header file. */
+
+
+
+#if defined( SOLARIS_STDLIB_NORETURN_CHECK )
+extern void quick_exit(int) __attribute__((__noreturn__));
+#endif /* SOLARIS_STDLIB_NORETURN_CHECK */
diff -r 7e284672e9fc -r b13cb84b1485 external/gpl3/gcc.old/dist/gcc/auto-profile.c
--- a/external/gpl3/gcc.old/dist/gcc/auto-profile.c Mon Nov 13 07:21:17 2017 +0000
+++ b/external/gpl3/gcc.old/dist/gcc/auto-profile.c Mon Nov 13 07:46:18 2017 +0000
@@ -19,10 +19,8 @@
<http://www.gnu.org/licenses/>. */
#include "config.h"
-
-#include <string.h>
-#include <map>
-#include <set>
+#define INCLUDE_MAP
+#define INCLUDE_SET
#include "system.h"
#include "coretypes.h"
@@ -390,7 +388,7 @@
{
tree decl;
- if (LOCATION_LOCUS (BLOCK_SOURCE_LOCATION (block) == UNKNOWN_LOCATION))
+ if (LOCATION_LOCUS (BLOCK_SOURCE_LOCATION (block)) == UNKNOWN_LOCATION)
return NULL_TREE;
for (decl = BLOCK_ABSTRACT_ORIGIN (block);
@@ -1469,7 +1467,9 @@
if (has_vpt)
{
- optimize_inline_calls (current_function_decl);
+ unsigned todo = optimize_inline_calls (current_function_decl);
+ if (todo & TODO_update_ssa_any)
+ update_ssa (TODO_update_ssa);
return true;
}
diff -r 7e284672e9fc -r b13cb84b1485 external/gpl3/gcc.old/dist/gcc/config/aarch64/aarch64-freebsd.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc.old/dist/gcc/config/aarch64/aarch64-freebsd.h Mon Nov 13 07:46:18 2017 +0000
@@ -0,0 +1,102 @@
+/* Definitions for AArch64 running FreeBSD
+ Copyright (C) 2016-2017 Free Software Foundation, Inc.
+
+ This file is part of GCC.
+
+ GCC is free software; you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3, or (at your option)
+ any later version.
+
+ GCC is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with GCC; see the file COPYING3. If not see
+ <http://www.gnu.org/licenses/>. */
+
+#ifndef GCC_AARCH64_FREEBSD_H
+#define GCC_AARCH64_FREEBSD_H
+
+#undef SUBTARGET_CPP_SPEC
+#define SUBTARGET_CPP_SPEC FBSD_CPP_SPEC
+
+#if TARGET_BIG_ENDIAN_DEFAULT
+#define TARGET_LINKER_EMULATION "aarch64fbsdb"
+#else
+#define TARGET_LINKER_EMULATION "aarch64fbsd"
+#endif
+
+#undef SUBTARGET_EXTRA_LINK_SPEC
+#define SUBTARGET_EXTRA_LINK_SPEC " -m" TARGET_LINKER_EMULATION
+
+#undef FBSD_TARGET_LINK_SPEC
+#define FBSD_TARGET_LINK_SPEC " \
+ %{p:%nconsider using `-pg' instead of `-p' with gprof (1) } \
+ %{v:-V} \
+ %{assert*} %{R*} %{rpath*} %{defsym*} \
+ %{shared:-Bshareable %{h*} %{soname*}} \
+ %{symbolic:-Bsymbolic} \
+ %{static:-Bstatic} \
+ %{!static: \
+ %{rdynamic:-export-dynamic} \
+ %{!shared:-dynamic-linker " FBSD_DYNAMIC_LINKER " }} \
+ -X" SUBTARGET_EXTRA_LINK_SPEC " \
+ %{mbig-endian:-EB} %{mlittle-endian:-EL}"
+
+#if TARGET_FIX_ERR_A53_835769_DEFAULT
+#define CA53_ERR_835769_SPEC \
+ " %{!mno-fix-cortex-a53-835769:--fix-cortex-a53-835769}"
+#else
+#define CA53_ERR_835769_SPEC \
+ " %{mfix-cortex-a53-835769:--fix-cortex-a53-835769}"
+#endif
+
+#ifdef TARGET_FIX_ERR_A53_843419_DEFAULT
+#define CA53_ERR_843419_SPEC \
+ " %{!mno-fix-cortex-a53-843419:--fix-cortex-a53-843419}"
+#else
+#define CA53_ERR_843419_SPEC \
+ " %{mfix-cortex-a53-843419:--fix-cortex-a53-843419}"
+#endif
+
+#undef LINK_SPEC
+#define LINK_SPEC FBSD_TARGET_LINK_SPEC \
+ CA53_ERR_835769_SPEC \
+ CA53_ERR_843419_SPEC
+
+#define GNU_USER_TARGET_MATHFILE_SPEC \
+ "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s}"
+
+#undef ENDFILE_SPEC
+#define ENDFILE_SPEC \
+ GNU_USER_TARGET_MATHFILE_SPEC " " \
+ FBSD_ENDFILE_SPEC
+
+#undef TARGET_OS_CPP_BUILTINS
+#define TARGET_OS_CPP_BUILTINS() \
+ do \
+ { \
+ FBSD_TARGET_OS_CPP_BUILTINS (); \
+ } \
+ while (false)
+
+#define TARGET_ASM_FILE_END file_end_indicate_exec_stack
+
+/* Uninitialized common symbols in non-PIE executables, even with
+ strong definitions in dependent shared libraries, will resolve
+ to COPY relocated symbol in the executable. See PR65780. */
+#undef TARGET_BINDS_LOCAL_P
+#define TARGET_BINDS_LOCAL_P default_binds_local_p_2
+
+/* Use the AAPCS type for wchar_t, override the one from
+ config/freebsd.h. */
+#undef WCHAR_TYPE
+#define WCHAR_TYPE "unsigned int"
+
+#undef MCOUNT_NAME
+#define MCOUNT_NAME ".mcount"
+
+#endif /* GCC_AARCH64_FREEBSD_H */
diff -r 7e284672e9fc -r b13cb84b1485 external/gpl3/gcc.old/dist/gcc/config/aarch64/t-aarch64-freebsd
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc.old/dist/gcc/config/aarch64/t-aarch64-freebsd Mon Nov 13 07:46:18 2017 +0000
@@ -0,0 +1,21 @@
+# Machine description for AArch64 architecture.
+# Copyright (C) 2016-2017 Free Software Foundation, Inc.
+#
+# This file is part of GCC.
+#
+# GCC is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3, or (at your option)
+# any later version.
+#
+# GCC is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GCC; see the file COPYING3. If not see
+# <http://www.gnu.org/licenses/>.
+
+LIB1ASMSRC = aarch64/lib1funcs.asm
+LIB1ASMFUNCS = _aarch64_sync_cache_range
diff -r 7e284672e9fc -r b13cb84b1485 external/gpl3/gcc.old/dist/gcc/config/arm/arm-builtins.c
--- a/external/gpl3/gcc.old/dist/gcc/config/arm/arm-builtins.c Mon Nov 13 07:21:17 2017 +0000
+++ b/external/gpl3/gcc.old/dist/gcc/config/arm/arm-builtins.c Mon Nov 13 07:46:18 2017 +0000
@@ -1747,10 +1747,10 @@
= build_function_type_list (unsigned_type_node, NULL);
arm_builtin_decls[ARM_BUILTIN_GET_FPSCR]
- = add_builtin_function ("__builtin_arm_ldfscr", ftype_get_fpscr,
+ = add_builtin_function ("__builtin_arm_get_fpscr", ftype_get_fpscr,
ARM_BUILTIN_GET_FPSCR, BUILT_IN_MD, NULL, NULL_TREE);
arm_builtin_decls[ARM_BUILTIN_SET_FPSCR]
- = add_builtin_function ("__builtin_arm_stfscr", ftype_set_fpscr,
+ = add_builtin_function ("__builtin_arm_set_fpscr", ftype_set_fpscr,
ARM_BUILTIN_SET_FPSCR, BUILT_IN_MD, NULL, NULL_TREE);
}
}
diff -r 7e284672e9fc -r b13cb84b1485 external/gpl3/gcc.old/dist/gcc/config/arm/t-phoenix
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc.old/dist/gcc/config/arm/t-phoenix Mon Nov 13 07:46:18 2017 +0000
@@ -0,0 +1,29 @@
+# Copyright (C) 2016 Free Software Foundation, Inc.
+#
+# This file is part of GCC.
+#
+# GCC is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3, or (at your option)
+# any later version.
+#
+# GCC is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GCC; see the file COPYING3. If not see
+# <http://www.gnu.org/licenses/>.
+
+MULTILIB_OPTIONS = marm/mthumb
+MULTILIB_DIRNAMES = arm thumb
+MULTILIB_EXCEPTIONS =
+MULTILIB_MATCHES =
+
+MULTILIB_OPTIONS += mfloat-abi=hard
+MULTILIB_DIRNAMES += fpu
+MULTILIB_MATCHES += mfloat-abi?hard=mhard-float
+
+MULTILIB_OPTIONS += mno-thumb-interwork/mthumb-interwork
+MULTILIB_DIRNAMES += normal interwork
diff -r 7e284672e9fc -r b13cb84b1485 external/gpl3/gcc.old/dist/gcc/config/avr/gen-avr-mmcu-specs.c
--- a/external/gpl3/gcc.old/dist/gcc/config/avr/gen-avr-mmcu-specs.c Mon Nov 13 07:21:17 2017 +0000
+++ b/external/gpl3/gcc.old/dist/gcc/config/avr/gen-avr-mmcu-specs.c Mon Nov 13 07:46:18 2017 +0000
@@ -27,7 +27,7 @@
#include "avr-devices.c"
-// Get rid of "defaults.h". We just need tm.h for `WITH_AVRLIBS' and
+// Get rid of "defaults.h". We just need tm.h for `WITH_AVRLIBC' and
// and `WITH_RTEMS'. */
#define GCC_DEFAULTS_H
@@ -242,12 +242,13 @@
fprintf (f, "*link_data_start:\n");
if (mcu->data_section_start
!= arch->default_data_section_start)
- fprintf (f, "\t-Tdata 0x%lX", 0x800000UL + mcu->data_section_start);
+ fprintf (f, "\t%%{!Tdata:-Tdata 0x%lX}",
+ 0x800000UL + mcu->data_section_start);
fprintf (f, "\n\n");
fprintf (f, "*link_text_start:\n");
if (mcu->text_section_start != 0x0)
- fprintf (f, "\t-Ttext 0x%lX", 0UL + mcu->text_section_start);
+ fprintf (f, "\t%%{!Ttext:-Ttext 0x%lX}", 0UL + mcu->text_section_start);
fprintf (f, "\n\n");
}
diff -r 7e284672e9fc -r b13cb84b1485 external/gpl3/gcc.old/dist/gcc/config/i386/avx512bwintrin.h
--- a/external/gpl3/gcc.old/dist/gcc/config/i386/avx512bwintrin.h Mon Nov 13 07:21:17 2017 +0000
+++ b/external/gpl3/gcc.old/dist/gcc/config/i386/avx512bwintrin.h Mon Nov 13 07:46:18 2017 +0000
@@ -270,9 +270,8 @@
_mm512_broadcastb_epi8 (__m128i __A)
{
return (__m512i) __builtin_ia32_pbroadcastb512_mask ((__v16qi) __A,
- (__v64qi)_mm512_undefined_si512(),
- (__mmask64) -
- 1);
+ (__v64qi)_mm512_undefined_epi32(),
+ (__mmask64) -1);
}
extern __inline __m512i
@@ -318,8 +317,8 @@
_mm512_broadcastw_epi16 (__m128i __A)
{
return (__m512i) __builtin_ia32_pbroadcastw512_mask ((__v8hi) __A,
- (__v32hi)_mm512_undefined_si512(),
- (__mmask32)-1);
+ (__v32hi)_mm512_undefined_epi32(),
+ (__mmask32) -1);
}
extern __inline __m512i
@@ -588,8 +587,7 @@
/* idx */ ,
(__v32hi) __A,
(__v32hi) __B,
- (__mmask32) -
- 1);
+ (__mmask32) -1);
}
extern __inline __m512i
@@ -2284,7 +2282,7 @@
{
Home |
Main Index |
Thread Index |
Old Index