Compare commits
180 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
891cef7d9b | ||
|
9bce8e2449 | ||
|
55f9b2f336 | ||
|
f8b6352429 | ||
|
5e141990fb | ||
|
912e74c756 | ||
|
b84725ac52 | ||
|
7de85a2603 | ||
|
576d41c1c6 | ||
|
562d27c22f | ||
|
57a884df51 | ||
|
04dfce99db | ||
|
b05570344e | ||
|
52eb664223 | ||
|
0d8c061e19 | ||
|
56772a9401 | ||
|
4110c03341 | ||
|
4c8c128cd0 | ||
|
f684732e50 | ||
|
4562ca924e | ||
|
90028182f3 | ||
|
6919aa138f | ||
|
672c273c6d | ||
|
94498d7104 | ||
|
28742415b7 | ||
|
f2dc6d80c8 | ||
|
b2a5d6a477 | ||
|
fd99b9378d | ||
|
a3fcce8f5b | ||
|
84af04ddb6 | ||
|
b6b1340286 | ||
|
84ce3f0d05 | ||
|
5c04074052 | ||
|
4d0e748417 | ||
|
1d6c11d8df | ||
|
843493ecf7 | ||
|
bad9bc25a4 | ||
|
f790525bec | ||
|
fc147e70c0 | ||
|
8ccdd26200 | ||
|
d1c6bd89f3 | ||
|
e0c920a406 | ||
|
d228ee264c | ||
|
e6073613ef | ||
|
f147a68289 | ||
|
7ee3a099fa | ||
|
fe09f8496b | ||
|
16bcddd9d4 | ||
|
7545ecb969 | ||
|
a6c3c8f082 | ||
|
d895623061 | ||
|
a71fb3364e | ||
|
db0aca6b64 | ||
|
215844b31b | ||
|
80dc8803df | ||
|
3759f6f554 | ||
|
adee8bcb39 | ||
|
cee0dddd34 | ||
|
da335fc250 | ||
|
bcdeb85901 | ||
|
1321d9a8de | ||
|
3694befabb | ||
|
2a22f8c83a | ||
|
866b034132 | ||
|
17d43f4d58 | ||
|
b627ff6a1c | ||
|
98b4937fcb | ||
|
858f1e25fb | ||
|
e66bcabdd3 | ||
|
a2239731d4 | ||
|
c05efdcd33 | ||
|
6e4a12be24 | ||
|
7df147abdd | ||
|
2edf51cd28 | ||
|
3deee803bf | ||
|
8602ede777 | ||
|
8fb0e5b0d3 | ||
|
7ad4cfb1f2 | ||
|
c01972f342 | ||
|
b1fe12b88a | ||
|
0aaf98d346 | ||
|
c0d3a20ab3 | ||
|
4b90559c50 | ||
|
e0b3768e1a | ||
|
391f8204b0 | ||
|
b7ec01b44a | ||
|
db4105af40 | ||
|
eb398c7fb1 | ||
|
0d6e9e6a5b | ||
|
3ae68fd84a | ||
|
9647f3f8db | ||
|
0e0506dd37 | ||
|
1bfe0e3c3b | ||
|
83dbb2847c | ||
|
86d615d880 | ||
|
b182d5ff6b | ||
|
2a24f771d1 | ||
|
f445959efa | ||
|
16819750d2 | ||
|
d301a3c7b8 | ||
|
ff5dc29cd1 | ||
|
7d69d114a8 | ||
|
497de73bd7 | ||
|
c0ae016cb4 | ||
|
7c58fda150 | ||
|
313e678076 | ||
|
08f661c823 | ||
|
d40df5fcf2 | ||
|
e6bd153753 | ||
|
cc9b5fa3ba | ||
|
47b8ada335 | ||
|
ca8c0f7dc6 | ||
|
fa22fac534 | ||
|
216b951886 | ||
|
7a1512fd56 | ||
|
3139eaf997 | ||
|
da33ffbe57 | ||
|
b147991d7c | ||
|
e400728936 | ||
|
6af92eba78 | ||
|
e90615843b | ||
|
a6ea9c4518 | ||
|
402f1e9204 | ||
|
f36e50eab5 | ||
|
8f4badaa38 | ||
|
d69736566d | ||
|
544398b502 | ||
|
2cf19e11cb | ||
|
e987aff0a2 | ||
|
553b93f777 | ||
|
82e3c0071b | ||
|
6e856a1b72 | ||
|
ff60308ab9 | ||
|
9b6d8e7c01 | ||
|
23f4b29ddd | ||
|
42139e4c56 | ||
|
28eca72fa2 | ||
|
dc54e4f153 | ||
|
e3161c6575 | ||
|
5e51bccff0 | ||
|
ac2a849717 | ||
|
f5843a4192 | ||
|
7d28ff24f9 | ||
|
e8e4643647 | ||
|
e7ba2ccc61 | ||
|
dcf86feb99 | ||
|
7a880b1a75 | ||
|
fe7fce2ad1 | ||
|
45a2f253fb | ||
|
015c95afae | ||
|
0ec4e456b8 | ||
|
ecfa641ec4 | ||
|
3e19e07261 | ||
|
61f26fa336 | ||
|
5e173247a4 | ||
|
066310e826 | ||
|
6c2cfcacd9 | ||
|
88ff65fe51 | ||
|
4708d93f41 | ||
|
cc580afc17 | ||
|
9c103286cf | ||
|
f9528196b2 | ||
|
1c8b31bfd3 | ||
|
a15b5bd3a0 | ||
|
d4df112f70 | ||
|
03d47e4b9f | ||
|
9e5fffaae3 | ||
|
398cd1e186 | ||
|
4d72b19d1c | ||
|
3d5e14ec38 | ||
|
6ed6e5a4c3 | ||
|
98a12cbd71 | ||
|
4c8d27c4d6 | ||
|
557c86d25c | ||
|
16c6a8852b | ||
|
4839e4255b | ||
|
a3b64e0868 | ||
|
010b19f294 | ||
|
a96763b324 | ||
|
dcf3c8d360 |
25
.gitignore
vendored
25
.gitignore
vendored
@ -1,17 +1,8 @@
|
|||||||
/gcc-6.0.0-20160219.tar.bz2
|
/gcc-10.0.1-20200118.tar.xz
|
||||||
/gcc-6.0.0-20160227.tar.bz2
|
/newlib-cygwin-50e2a63b04bdd018484605fbb954fd1bd5147fa0.tar.xz
|
||||||
/gcc-6.0.0-20160302.tar.bz2
|
/nvptx-tools-5f6f343a302d620b0868edab376c00b15741e39e.tar.xz
|
||||||
/gcc-6.0.0-20160305.tar.bz2
|
/gcc-10.0.1-20200121.tar.xz
|
||||||
/gcc-6.0.0-20160311.tar.bz2
|
/gcc-10.0.1-20200123.tar.xz
|
||||||
/gcc-6.0.0-20160323.tar.bz2
|
/gcc-10.0.1-20200126.tar.xz
|
||||||
/gcc-6.0.0-20160331.tar.bz2
|
/gcc-10.0.1-20200130.tar.xz
|
||||||
/gcc-6.0.0-20160406.tar.bz2
|
/gcc-10.0.1-20200216.tar.xz
|
||||||
/gcc-6.1.1-20160427.tar.bz2
|
|
||||||
/gcc-6.1.1-20160510.tar.bz2
|
|
||||||
/gcc-6.1.1-20160621.tar.bz2
|
|
||||||
/gcc-6.1.1-20160721.tar.bz2
|
|
||||||
/gcc-6.1.1-20160810.tar.bz2
|
|
||||||
/gcc-6.1.1-20160817.tar.bz2
|
|
||||||
/gcc-6.2.1-20160901.tar.bz2
|
|
||||||
/gcc-6.2.1-20160916.tar.bz2
|
|
||||||
/gcc-6.3.1-20161221.tar.bz2
|
|
||||||
|
27
gcc10-Wno-format-security.patch
Normal file
27
gcc10-Wno-format-security.patch
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
2017-02-25 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
* configure.ac: When adding -Wno-format, also add -Wno-format-security.
|
||||||
|
* configure: Regenerated.
|
||||||
|
|
||||||
|
--- gcc/configure.ac.jj 2017-02-13 12:20:53.000000000 +0100
|
||||||
|
+++ gcc/configure.ac 2017-02-25 12:42:32.859175403 +0100
|
||||||
|
@@ -480,7 +480,7 @@ AC_ARG_ENABLE(build-format-warnings,
|
||||||
|
AS_HELP_STRING([--disable-build-format-warnings],[don't use -Wformat while building GCC]),
|
||||||
|
[],[enable_build_format_warnings=yes])
|
||||||
|
AS_IF([test $enable_build_format_warnings = no],
|
||||||
|
- [wf_opt=-Wno-format],[wf_opt=])
|
||||||
|
+ [wf_opt="-Wno-format -Wno-format-security"],[wf_opt=])
|
||||||
|
ACX_PROG_CXX_WARNING_OPTS(
|
||||||
|
m4_quote(m4_do([-W -Wall -Wno-narrowing -Wwrite-strings ],
|
||||||
|
[-Wcast-qual -Wno-error=format-diag $wf_opt])),
|
||||||
|
--- gcc/configure.jj 2017-02-13 12:20:52.000000000 +0100
|
||||||
|
+++ gcc/configure 2017-02-25 12:42:50.041946391 +0100
|
||||||
|
@@ -6647,7 +6647,7 @@ else
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test $enable_build_format_warnings = no; then :
|
||||||
|
- wf_opt=-Wno-format
|
||||||
|
+ wf_opt="-Wno-format -Wno-format-security"
|
||||||
|
else
|
||||||
|
wf_opt=
|
||||||
|
fi
|
20
gcc10-d-shared-libphobos.patch
Normal file
20
gcc10-d-shared-libphobos.patch
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
2019-01-17 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
* d-spec.cc (lang_specific_driver): Make -shared-libphobos
|
||||||
|
the default rather than -static-libphobos.
|
||||||
|
|
||||||
|
--- gcc/d/d-spec.cc.jj 2019-01-01 12:37:49.502444257 +0100
|
||||||
|
+++ gcc/d/d-spec.cc 2019-01-17 17:09:45.364949246 +0100
|
||||||
|
@@ -405,9 +405,9 @@ lang_specific_driver (cl_decoded_option
|
||||||
|
/* Add `-lgphobos' if we haven't already done so. */
|
||||||
|
if (phobos_library != PHOBOS_NOLINK && need_phobos)
|
||||||
|
{
|
||||||
|
- /* Default to static linking. */
|
||||||
|
- if (phobos_library != PHOBOS_DYNAMIC)
|
||||||
|
- phobos_library = PHOBOS_STATIC;
|
||||||
|
+ /* Default to shared linking. */
|
||||||
|
+ if (phobos_library != PHOBOS_STATIC)
|
||||||
|
+ phobos_library = PHOBOS_DYNAMIC;
|
||||||
|
|
||||||
|
#ifdef HAVE_LD_STATIC_DYNAMIC
|
||||||
|
if (phobos_library == PHOBOS_DYNAMIC && static_link)
|
122
gcc10-foffload-default.patch
Normal file
122
gcc10-foffload-default.patch
Normal file
@ -0,0 +1,122 @@
|
|||||||
|
2019-01-17 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
* gcc.c (offload_targets_default): New variable.
|
||||||
|
(process_command): Set it if -foffload is defaulted.
|
||||||
|
(driver::maybe_putenv_OFFLOAD_TARGETS): Add OFFLOAD_TARGET_DEFAULT=1
|
||||||
|
into environment if -foffload has been defaulted.
|
||||||
|
* lto-wrapper.c (OFFLOAD_TARGET_DEFAULT_ENV): Define.
|
||||||
|
(compile_offload_image): If OFFLOAD_TARGET_DEFAULT
|
||||||
|
is in the environment, don't fail if corresponding mkoffload
|
||||||
|
can't be found.
|
||||||
|
(compile_images_for_offload_targets): Likewise. Free and clear
|
||||||
|
offload_names if no valid offload is found.
|
||||||
|
libgomp/
|
||||||
|
* target.c (gomp_load_plugin_for_device): If a plugin can't be
|
||||||
|
dlopened, assume it has no devices silently.
|
||||||
|
|
||||||
|
--- gcc/gcc.c.jj 2017-01-17 10:28:40.000000000 +0100
|
||||||
|
+++ gcc/gcc.c 2017-01-20 16:26:29.649962902 +0100
|
||||||
|
@@ -290,6 +290,10 @@ static const char *spec_host_machine = D
|
||||||
|
|
||||||
|
static char *offload_targets = NULL;
|
||||||
|
|
||||||
|
+/* Set to true if -foffload has not been used and offload_targets
|
||||||
|
+ is set to the configured in default. */
|
||||||
|
+static bool offload_targets_default;
|
||||||
|
+
|
||||||
|
/* Nonzero if cross-compiling.
|
||||||
|
When -b is used, the value comes from the `specs' file. */
|
||||||
|
|
||||||
|
@@ -4457,7 +4461,10 @@ process_command (unsigned int decoded_op
|
||||||
|
/* If the user didn't specify any, default to all configured offload
|
||||||
|
targets. */
|
||||||
|
if (ENABLE_OFFLOADING && offload_targets == NULL)
|
||||||
|
- handle_foffload_option (OFFLOAD_TARGETS);
|
||||||
|
+ {
|
||||||
|
+ handle_foffload_option (OFFLOAD_TARGETS);
|
||||||
|
+ offload_targets_default = true;
|
||||||
|
+ }
|
||||||
|
|
||||||
|
if (output_file
|
||||||
|
&& strcmp (output_file, "-") != 0
|
||||||
|
@@ -7693,6 +7700,8 @@ driver::maybe_putenv_OFFLOAD_TARGETS ()
|
||||||
|
obstack_grow (&collect_obstack, offload_targets,
|
||||||
|
strlen (offload_targets) + 1);
|
||||||
|
xputenv (XOBFINISH (&collect_obstack, char *));
|
||||||
|
+ if (offload_targets_default)
|
||||||
|
+ xputenv ("OFFLOAD_TARGET_DEFAULT=1");
|
||||||
|
}
|
||||||
|
|
||||||
|
free (offload_targets);
|
||||||
|
--- gcc/lto-wrapper.c.jj 2017-01-01 12:45:34.000000000 +0100
|
||||||
|
+++ gcc/lto-wrapper.c 2017-01-20 16:34:18.294016997 +0100
|
||||||
|
@@ -52,6 +52,7 @@ along with GCC; see the file COPYING3.
|
||||||
|
/* Environment variable, used for passing the names of offload targets from GCC
|
||||||
|
driver to lto-wrapper. */
|
||||||
|
#define OFFLOAD_TARGET_NAMES_ENV "OFFLOAD_TARGET_NAMES"
|
||||||
|
+#define OFFLOAD_TARGET_DEFAULT_ENV "OFFLOAD_TARGET_DEFAULT"
|
||||||
|
|
||||||
|
enum lto_mode_d {
|
||||||
|
LTO_MODE_NONE, /* Not doing LTO. */
|
||||||
|
@@ -822,6 +823,12 @@ compile_offload_image (const char *targe
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
+ if (!compiler && getenv (OFFLOAD_TARGET_DEFAULT_ENV))
|
||||||
|
+ {
|
||||||
|
+ free_array_of_ptrs ((void **) paths, n_paths);
|
||||||
|
+ return NULL;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
if (!compiler)
|
||||||
|
fatal_error (input_location,
|
||||||
|
"could not find %s in %s (consider using %<-B%>)",
|
||||||
|
@@ -885,6 +892,7 @@ compile_images_for_offload_targets (unsi
|
||||||
|
unsigned num_targets = parse_env_var (target_names, &names, NULL);
|
||||||
|
|
||||||
|
int next_name_entry = 0;
|
||||||
|
+ bool hsa_seen = false;
|
||||||
|
const char *compiler_path = getenv ("COMPILER_PATH");
|
||||||
|
if (!compiler_path)
|
||||||
|
goto out;
|
||||||
|
@@ -897,18 +905,26 @@ compile_images_for_offload_targets (unsi
|
||||||
|
/* HSA does not use LTO-like streaming and a different compiler, skip
|
||||||
|
it. */
|
||||||
|
if (strcmp (names[i], "hsa") == 0)
|
||||||
|
- continue;
|
||||||
|
+ {
|
||||||
|
+ hsa_seen = true;
|
||||||
|
+ continue;
|
||||||
|
+ }
|
||||||
|
|
||||||
|
offload_names[next_name_entry]
|
||||||
|
= compile_offload_image (names[i], compiler_path, in_argc, in_argv,
|
||||||
|
compiler_opts, compiler_opt_count,
|
||||||
|
linker_opts, linker_opt_count);
|
||||||
|
if (!offload_names[next_name_entry])
|
||||||
|
- fatal_error (input_location,
|
||||||
|
- "problem with building target image for %s", names[i]);
|
||||||
|
+ continue;
|
||||||
|
next_name_entry++;
|
||||||
|
}
|
||||||
|
|
||||||
|
+ if (next_name_entry == 0 && !hsa_seen)
|
||||||
|
+ {
|
||||||
|
+ free (offload_names);
|
||||||
|
+ offload_names = NULL;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
out:
|
||||||
|
free_array_of_ptrs ((void **) names, num_targets);
|
||||||
|
}
|
||||||
|
--- libgomp/target.c.jj 2017-01-01 12:45:52.000000000 +0100
|
||||||
|
+++ libgomp/target.c 2017-01-20 20:12:13.756710875 +0100
|
||||||
|
@@ -2356,7 +2356,7 @@ gomp_load_plugin_for_device (struct gomp
|
||||||
|
|
||||||
|
void *plugin_handle = dlopen (plugin_name, RTLD_LAZY);
|
||||||
|
if (!plugin_handle)
|
||||||
|
- goto dl_fail;
|
||||||
|
+ return 0;
|
||||||
|
|
||||||
|
/* Check if all required functions are available in the plugin and store
|
||||||
|
their handlers. None of the symbols can legitimately be NULL,
|
@ -1,8 +1,8 @@
|
|||||||
--- libada/Makefile.in.jj 2009-01-14 12:07:35.000000000 +0100
|
--- libada/Makefile.in.jj 2019-01-09 13:01:18.015608205 +0100
|
||||||
+++ libada/Makefile.in 2009-01-15 14:25:33.000000000 +0100
|
+++ libada/Makefile.in 2019-01-11 18:16:23.441726931 +0100
|
||||||
@@ -66,18 +66,40 @@ libsubdir := $(libdir)/gcc/$(target_nonc
|
@@ -71,18 +71,40 @@ version := $(shell @get_gcc_base_ver@ $(
|
||||||
|
libsubdir := $(libdir)/gcc/$(target_noncanonical)/$(version)$(MULTISUBDIR)
|
||||||
ADA_RTS_DIR=$(GCC_DIR)/ada/rts$(subst /,_,$(MULTISUBDIR))
|
ADA_RTS_DIR=$(GCC_DIR)/ada/rts$(subst /,_,$(MULTISUBDIR))
|
||||||
ADA_RTS_SUBDIR=./rts$(subst /,_,$(MULTISUBDIR))
|
|
||||||
|
|
||||||
+DEFAULTMULTIFLAGS :=
|
+DEFAULTMULTIFLAGS :=
|
||||||
+ifeq ($(MULTISUBDIR),)
|
+ifeq ($(MULTISUBDIR),)
|
||||||
@ -45,95 +45,62 @@
|
|||||||
"PICFLAG_FOR_TARGET=$(PICFLAG)" \
|
"PICFLAG_FOR_TARGET=$(PICFLAG)" \
|
||||||
"THREAD_KIND=$(THREAD_KIND)" \
|
"THREAD_KIND=$(THREAD_KIND)" \
|
||||||
"TRACE=$(TRACE)" \
|
"TRACE=$(TRACE)" \
|
||||||
@@ -88,7 +110,7 @@ LIBADA_FLAGS_TO_PASS = \
|
@@ -93,7 +115,7 @@ LIBADA_FLAGS_TO_PASS = \
|
||||||
"exeext=.exeext.should.not.be.used " \
|
"exeext=.exeext.should.not.be.used " \
|
||||||
'CC=the.host.compiler.should.not.be.needed' \
|
'CC=the.host.compiler.should.not.be.needed' \
|
||||||
"GCC_FOR_TARGET=$(CC)" \
|
"GCC_FOR_TARGET=$(CC)" \
|
||||||
- "CFLAGS=$(CFLAGS)"
|
- "CFLAGS=$(CFLAGS)"
|
||||||
+ "CFLAGS=$(CFLAGS) $(DEFAULTMULTIFLAGS)"
|
+ "CFLAGS=$(CFLAGS) $(DEFAULTMULTIFLAGS)"
|
||||||
|
|
||||||
# Rules to build gnatlib.
|
.PHONY: libada gnatlib gnatlib-shared gnatlib-sjlj gnatlib-zcx osconstool
|
||||||
.PHONY: gnatlib gnatlib-plain gnatlib-sjlj gnatlib-zcx gnatlib-shared osconstool
|
|
||||||
--- gcc/ada/sem_util.adb (revision 161677)
|
|
||||||
+++ gcc/ada/sem_util.adb (working copy)
|
|
||||||
@@ -5487,7 +5487,7 @@ package body Sem_Util is
|
|
||||||
Exp : Node_Id;
|
|
||||||
Assn : Node_Id;
|
|
||||||
Choice : Node_Id;
|
|
||||||
- Comp_Type : Entity_Id;
|
|
||||||
+ Comp_Type : Entity_Id := Empty;
|
|
||||||
Is_Array_Aggr : Boolean;
|
|
||||||
|
|
||||||
begin
|
--- config-ml.in.jj 2019-01-09 12:50:16.646501448 +0100
|
||||||
--- config-ml.in.jj 2010-06-30 09:50:44.000000000 +0200
|
+++ config-ml.in 2019-01-11 18:16:23.442726914 +0100
|
||||||
+++ config-ml.in 2010-07-02 21:24:17.994211151 +0200
|
@@ -511,6 +511,8 @@ multi-do:
|
||||||
@@ -516,6 +516,8 @@ multi-do:
|
|
||||||
ADAFLAGS="$(ADAFLAGS) $${flags}" \
|
ADAFLAGS="$(ADAFLAGS) $${flags}" \
|
||||||
prefix="$(prefix)" \
|
prefix="$(prefix)" \
|
||||||
exec_prefix="$(exec_prefix)" \
|
exec_prefix="$(exec_prefix)" \
|
||||||
+ mandir="$(mandir)" \
|
+ mandir="$(mandir)" \
|
||||||
+ infodir="$(infodir)" \
|
+ infodir="$(infodir)" \
|
||||||
GCJFLAGS="$(GCJFLAGS) $${flags}" \
|
|
||||||
GOCFLAGS="$(GOCFLAGS) $${flags}" \
|
GOCFLAGS="$(GOCFLAGS) $${flags}" \
|
||||||
|
GDCFLAGS="$(GDCFLAGS) $${flags}" \
|
||||||
CXXFLAGS="$(CXXFLAGS) $${flags}" \
|
CXXFLAGS="$(CXXFLAGS) $${flags}" \
|
||||||
--- libjava/Makefile.am.jj 2010-07-09 11:17:33.729604090 +0200
|
--- libcpp/macro.c.jj 2019-01-09 13:01:21.420552123 +0100
|
||||||
+++ libjava/Makefile.am 2010-07-09 13:16:41.894375641 +0200
|
+++ libcpp/macro.c 2019-01-11 18:18:17.736876285 +0100
|
||||||
@@ -710,7 +710,8 @@ if USE_LIBGCJ_BC
|
@@ -3256,8 +3256,6 @@ static cpp_macro *
|
||||||
## later.
|
create_iso_definition (cpp_reader *pfile)
|
||||||
@echo Installing dummy lib libgcj_bc.so.1.0.0; \
|
{
|
||||||
rm $(DESTDIR)$(toolexeclibdir)/libgcj_bc.so; \
|
|
||||||
- mv $(DESTDIR)$(toolexeclibdir)/libgcj_bc.so.1.0.0 $(DESTDIR)$(toolexeclibdir)/libgcj_bc.so; \
|
|
||||||
+ $(INSTALL) $(INSTALL_STRIP_FLAG) $(here)/.libs/libgcj_bc.so $(DESTDIR)$(toolexeclibdir)/libgcj_bc.so; \
|
|
||||||
+ rm $(DESTDIR)$(toolexeclibdir)/libgcj_bc.so.1.0.0; \
|
|
||||||
$(libgcj_bc_dummy_LINK) -xc /dev/null -Wl,-soname,libgcj_bc.so.1 \
|
|
||||||
-o $(DESTDIR)$(toolexeclibdir)/libgcj_bc.so.1.0.0 -lgcj || exit; \
|
|
||||||
rm $(DESTDIR)$(toolexeclibdir)/libgcj_bc.so.1; \
|
|
||||||
--- libjava/Makefile.in.jj 2010-07-09 11:17:34.000000000 +0200
|
|
||||||
+++ libjava/Makefile.in 2010-07-09 13:18:07.542572270 +0200
|
|
||||||
@@ -12665,7 +12665,8 @@ install-exec-hook: install-binPROGRAMS i
|
|
||||||
install-libexecsubPROGRAMS
|
|
||||||
@USE_LIBGCJ_BC_TRUE@ @echo Installing dummy lib libgcj_bc.so.1.0.0; \
|
|
||||||
@USE_LIBGCJ_BC_TRUE@ rm $(DESTDIR)$(toolexeclibdir)/libgcj_bc.so; \
|
|
||||||
-@USE_LIBGCJ_BC_TRUE@ mv $(DESTDIR)$(toolexeclibdir)/libgcj_bc.so.1.0.0 $(DESTDIR)$(toolexeclibdir)/libgcj_bc.so; \
|
|
||||||
+@USE_LIBGCJ_BC_TRUE@ $(INSTALL) $(INSTALL_STRIP_FLAG) $(here)/.libs/libgcj_bc.so $(DESTDIR)$(toolexeclibdir)/libgcj_bc.so; \
|
|
||||||
+@USE_LIBGCJ_BC_TRUE@ rm $(DESTDIR)$(toolexeclibdir)/libgcj_bc.so.1.0.0; \
|
|
||||||
@USE_LIBGCJ_BC_TRUE@ $(libgcj_bc_dummy_LINK) -xc /dev/null -Wl,-soname,libgcj_bc.so.1 \
|
|
||||||
@USE_LIBGCJ_BC_TRUE@ -o $(DESTDIR)$(toolexeclibdir)/libgcj_bc.so.1.0.0 -lgcj || exit; \
|
|
||||||
@USE_LIBGCJ_BC_TRUE@ rm $(DESTDIR)$(toolexeclibdir)/libgcj_bc.so.1; \
|
|
||||||
--- libcpp/macro.c.jj 2015-01-14 11:01:34.000000000 +0100
|
|
||||||
+++ libcpp/macro.c 2015-01-14 14:22:19.286949884 +0100
|
|
||||||
@@ -2947,8 +2947,6 @@ create_iso_definition (cpp_reader *pfile
|
|
||||||
cpp_token *token;
|
|
||||||
const cpp_token *ctoken;
|
|
||||||
bool following_paste_op = false;
|
bool following_paste_op = false;
|
||||||
- const char *paste_op_error_msg =
|
- const char *paste_op_error_msg =
|
||||||
- N_("'##' cannot appear at either end of a macro expansion");
|
- N_("'##' cannot appear at either end of a macro expansion");
|
||||||
unsigned int num_extra_tokens = 0;
|
unsigned int num_extra_tokens = 0;
|
||||||
|
unsigned nparms = 0;
|
||||||
/* Get the first token of the expansion (or the '(' of a
|
cpp_hashnode **params = NULL;
|
||||||
@@ -3059,7 +3057,8 @@ create_iso_definition (cpp_reader *pfile
|
@@ -3382,7 +3380,9 @@ create_iso_definition (cpp_reader *pfile
|
||||||
function-like macros, but not at the end. */
|
function-like macros, but not at the end. */
|
||||||
if (following_paste_op)
|
if (following_paste_op)
|
||||||
{
|
{
|
||||||
- cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg);
|
- cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg);
|
||||||
+ cpp_error (pfile, CPP_DL_ERROR,
|
+ cpp_error (pfile, CPP_DL_ERROR,
|
||||||
+ "'##' cannot appear at either end of a macro expansion");
|
+ "'##' cannot appear at either end of a macro "
|
||||||
return false;
|
+ "expansion");
|
||||||
|
goto out;
|
||||||
}
|
}
|
||||||
break;
|
if (!vaopt_tracker.completed ())
|
||||||
@@ -3072,7 +3071,8 @@ create_iso_definition (cpp_reader *pfile
|
@@ -3397,7 +3397,9 @@ create_iso_definition (cpp_reader *pfile
|
||||||
function-like macros, but not at the beginning. */
|
function-like macros, but not at the beginning. */
|
||||||
if (macro->count == 1)
|
if (macro->count == 1)
|
||||||
{
|
{
|
||||||
- cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg);
|
- cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg);
|
||||||
+ cpp_error (pfile, CPP_DL_ERROR,
|
+ cpp_error (pfile, CPP_DL_ERROR,
|
||||||
+ "'##' cannot appear at either end of a macro expansion");
|
+ "'##' cannot appear at either end of a macro "
|
||||||
return false;
|
+ "expansion");
|
||||||
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
--- libcpp/expr.c.jj 2015-01-14 11:01:34.000000000 +0100
|
--- libcpp/expr.c.jj 2019-01-09 13:01:22.415535734 +0100
|
||||||
+++ libcpp/expr.c 2015-01-14 14:35:52.851002344 +0100
|
+++ libcpp/expr.c 2019-01-11 18:16:23.444726882 +0100
|
||||||
@@ -672,16 +672,17 @@ cpp_classify_number (cpp_reader *pfile,
|
@@ -788,16 +788,17 @@ cpp_classify_number (cpp_reader *pfile,
|
||||||
if ((result & CPP_N_WIDTH) == CPP_N_LARGE
|
if ((result & CPP_N_WIDTH) == CPP_N_LARGE
|
||||||
&& CPP_OPTION (pfile, cpp_warn_long_long))
|
&& CPP_OPTION (pfile, cpp_warn_long_long))
|
||||||
{
|
{
|
@ -1,15 +1,15 @@
|
|||||||
--- gcc/Makefile.in.jj 2015-06-06 10:00:25.000000000 +0200
|
--- gcc/Makefile.in.jj 2015-06-06 10:00:25.000000000 +0200
|
||||||
+++ gcc/Makefile.in 2015-11-04 14:56:02.643536437 +0100
|
+++ gcc/Makefile.in 2015-11-04 14:56:02.643536437 +0100
|
||||||
@@ -1013,7 +1013,7 @@ BUILD_LIBDEPS= $(BUILD_LIBIBERTY)
|
@@ -1063,7 +1063,7 @@ BUILD_LIBDEPS= $(BUILD_LIBIBERTY)
|
||||||
# and the system's installed libraries.
|
# and the system's installed libraries.
|
||||||
LIBS = @LIBS@ libcommon.a $(CPPLIB) $(LIBINTL) $(LIBICONV) $(LIBBACKTRACE) \
|
LIBS = @LIBS@ libcommon.a $(CPPLIB) $(LIBINTL) $(LIBICONV) $(LIBBACKTRACE) \
|
||||||
$(LIBIBERTY) $(LIBDECNUMBER) $(HOST_LIBS)
|
$(LIBIBERTY) $(LIBDECNUMBER) $(HOST_LIBS)
|
||||||
-BACKENDLIBS = $(ISLLIBS) $(GMPLIBS) $(PLUGINLIBS) $(HOST_LIBS) \
|
-BACKENDLIBS = $(ISLLIBS) $(GMPLIBS) $(PLUGINLIBS) $(HOST_LIBS) \
|
||||||
+BACKENDLIBS = $(if $(ISLLIBS),-ldl) $(GMPLIBS) $(PLUGINLIBS) $(HOST_LIBS) \
|
+BACKENDLIBS = $(if $(ISLLIBS),-ldl) $(GMPLIBS) $(PLUGINLIBS) $(HOST_LIBS) \
|
||||||
$(ZLIB)
|
$(ZLIB) $(ZSTD_LIB)
|
||||||
# Any system libraries needed just for GNAT.
|
# Any system libraries needed just for GNAT.
|
||||||
SYSLIBS = @GNAT_LIBEXC@
|
SYSLIBS = @GNAT_LIBEXC@
|
||||||
@@ -2058,6 +2058,15 @@ $(out_object_file): $(out_file)
|
@@ -2302,6 +2302,15 @@ $(out_object_file): $(out_file)
|
||||||
$(common_out_object_file): $(common_out_file)
|
$(common_out_object_file): $(common_out_file)
|
||||||
$(COMPILE) $<
|
$(COMPILE) $<
|
||||||
$(POSTCOMPILE)
|
$(POSTCOMPILE)
|
||||||
@ -27,25 +27,12 @@
|
|||||||
# and compile them.
|
# and compile them.
|
||||||
--- gcc/graphite.h.jj 2016-01-27 12:44:06.000000000 +0100
|
--- gcc/graphite.h.jj 2016-01-27 12:44:06.000000000 +0100
|
||||||
+++ gcc/graphite.h 2016-01-27 13:26:38.309876856 +0100
|
+++ gcc/graphite.h 2016-01-27 13:26:38.309876856 +0100
|
||||||
@@ -36,6 +36,7 @@ along with GCC; see the file COPYING3.
|
@@ -39,6 +39,590 @@ along with GCC; see the file COPYING3.
|
||||||
#include <isl/ilp.h>
|
#include <isl/schedule_node.h>
|
||||||
#include <isl/schedule.h>
|
#include <isl/id.h>
|
||||||
#include <isl/ast_build.h>
|
#include <isl/space.h>
|
||||||
|
+#include <isl/version.h>
|
||||||
+#include <dlfcn.h>
|
+#include <dlfcn.h>
|
||||||
|
|
||||||
#ifdef HAVE_ISL_OPTIONS_SET_SCHEDULE_SERIALIZE_SCCS
|
|
||||||
/* isl 0.15 or later. */
|
|
||||||
@@ -47,6 +48,494 @@ along with GCC; see the file COPYING3.
|
|
||||||
# define isl_stat_ok 0
|
|
||||||
#endif
|
|
||||||
|
|
||||||
+#ifdef HAVE_ISL_OPTIONS_SET_SCHEDULE_SERIALIZE_SCCS
|
|
||||||
+#define DYNSYM_SCHEDULE_FUSE DYNSYM (isl_options_set_schedule_serialize_sccs)
|
|
||||||
+#define DYNSYM_SET_YAML_STYLE DYNSYM (isl_printer_set_yaml_style);
|
|
||||||
+#else
|
|
||||||
+#define DYNSYM_SCHEDULE_FUSE DYNSYM (isl_options_set_schedule_fuse)
|
|
||||||
+#define DYNSYM_SET_YAML_STYLE
|
|
||||||
+#endif
|
|
||||||
+
|
+
|
||||||
+#define DYNSYMS \
|
+#define DYNSYMS \
|
||||||
+ DYNSYM (isl_aff_add_coefficient_si); \
|
+ DYNSYM (isl_aff_add_coefficient_si); \
|
||||||
@ -109,8 +96,8 @@
|
|||||||
+ DYNSYM (isl_map_set_tuple_id); \
|
+ DYNSYM (isl_map_set_tuple_id); \
|
||||||
+ DYNSYM (isl_map_universe); \
|
+ DYNSYM (isl_map_universe); \
|
||||||
+ DYNSYM (isl_options_set_on_error); \
|
+ DYNSYM (isl_options_set_on_error); \
|
||||||
+ DYNSYM_SCHEDULE_FUSE; \
|
+ DYNSYM (isl_options_set_schedule_serialize_sccs); \
|
||||||
+ DYNSYM_SET_YAML_STYLE \
|
+ DYNSYM (isl_printer_set_yaml_style); \
|
||||||
+ DYNSYM (isl_options_set_schedule_max_constant_term); \
|
+ DYNSYM (isl_options_set_schedule_max_constant_term); \
|
||||||
+ DYNSYM (isl_options_set_schedule_maximize_band_depth); \
|
+ DYNSYM (isl_options_set_schedule_maximize_band_depth); \
|
||||||
+ DYNSYM (isl_printer_free); \
|
+ DYNSYM (isl_printer_free); \
|
||||||
@ -262,8 +249,6 @@
|
|||||||
+ DYNSYM (isl_val_add_ui); \
|
+ DYNSYM (isl_val_add_ui); \
|
||||||
+ DYNSYM (isl_val_copy); \
|
+ DYNSYM (isl_val_copy); \
|
||||||
+ DYNSYM (isl_val_free); \
|
+ DYNSYM (isl_val_free); \
|
||||||
+ DYNSYM (isl_val_get_num_gmp); \
|
|
||||||
+ DYNSYM (isl_val_int_from_gmp); \
|
|
||||||
+ DYNSYM (isl_val_int_from_si); \
|
+ DYNSYM (isl_val_int_from_si); \
|
||||||
+ DYNSYM (isl_val_int_from_ui); \
|
+ DYNSYM (isl_val_int_from_ui); \
|
||||||
+ DYNSYM (isl_val_mul); \
|
+ DYNSYM (isl_val_mul); \
|
||||||
@ -279,7 +264,62 @@
|
|||||||
+ DYNSYM (isl_map_coalesce); \
|
+ DYNSYM (isl_map_coalesce); \
|
||||||
+ DYNSYM (isl_printer_print_schedule); \
|
+ DYNSYM (isl_printer_print_schedule); \
|
||||||
+ DYNSYM (isl_set_set_dim_id); \
|
+ DYNSYM (isl_set_set_dim_id); \
|
||||||
+ DYNSYM (isl_union_map_coalesce);
|
+ DYNSYM (isl_union_map_coalesce); \
|
||||||
|
+ DYNSYM (isl_multi_val_set_val); \
|
||||||
|
+ DYNSYM (isl_multi_val_zero); \
|
||||||
|
+ DYNSYM (isl_options_set_schedule_max_coefficient); \
|
||||||
|
+ DYNSYM (isl_options_set_tile_scale_tile_loops); \
|
||||||
|
+ DYNSYM (isl_schedule_copy); \
|
||||||
|
+ DYNSYM (isl_schedule_get_map); \
|
||||||
|
+ DYNSYM (isl_schedule_map_schedule_node_bottom_up); \
|
||||||
|
+ DYNSYM (isl_schedule_node_band_get_permutable); \
|
||||||
|
+ DYNSYM (isl_schedule_node_band_get_space); \
|
||||||
|
+ DYNSYM (isl_schedule_node_band_tile); \
|
||||||
|
+ DYNSYM (isl_schedule_node_child); \
|
||||||
|
+ DYNSYM (isl_schedule_node_free); \
|
||||||
|
+ DYNSYM (isl_schedule_node_get_child); \
|
||||||
|
+ DYNSYM (isl_schedule_node_get_ctx); \
|
||||||
|
+ DYNSYM (isl_schedule_node_get_type); \
|
||||||
|
+ DYNSYM (isl_schedule_node_n_children); \
|
||||||
|
+ DYNSYM (isl_union_map_is_equal); \
|
||||||
|
+ DYNSYM (isl_union_access_info_compute_flow); \
|
||||||
|
+ DYNSYM (isl_union_access_info_from_sink); \
|
||||||
|
+ DYNSYM (isl_union_access_info_set_may_source); \
|
||||||
|
+ DYNSYM (isl_union_access_info_set_must_source); \
|
||||||
|
+ DYNSYM (isl_union_access_info_set_schedule); \
|
||||||
|
+ DYNSYM (isl_union_flow_free); \
|
||||||
|
+ DYNSYM (isl_union_flow_get_may_dependence); \
|
||||||
|
+ DYNSYM (isl_union_flow_get_must_dependence); \
|
||||||
|
+ DYNSYM (isl_aff_var_on_domain); \
|
||||||
|
+ DYNSYM (isl_multi_aff_from_aff); \
|
||||||
|
+ DYNSYM (isl_schedule_get_ctx); \
|
||||||
|
+ DYNSYM (isl_multi_aff_set_tuple_id); \
|
||||||
|
+ DYNSYM (isl_multi_aff_dim); \
|
||||||
|
+ DYNSYM (isl_schedule_get_domain); \
|
||||||
|
+ DYNSYM (isl_union_set_is_empty); \
|
||||||
|
+ DYNSYM (isl_union_set_get_space); \
|
||||||
|
+ DYNSYM (isl_union_pw_multi_aff_empty); \
|
||||||
|
+ DYNSYM (isl_union_set_foreach_set); \
|
||||||
|
+ DYNSYM (isl_union_set_free); \
|
||||||
|
+ DYNSYM (isl_multi_union_pw_aff_from_union_pw_multi_aff); \
|
||||||
|
+ DYNSYM (isl_multi_union_pw_aff_apply_multi_aff); \
|
||||||
|
+ DYNSYM (isl_schedule_insert_partial_schedule); \
|
||||||
|
+ DYNSYM (isl_union_pw_multi_aff_free); \
|
||||||
|
+ DYNSYM (isl_pw_multi_aff_project_out_map); \
|
||||||
|
+ DYNSYM (isl_union_pw_multi_aff_add_pw_multi_aff); \
|
||||||
|
+ DYNSYM (isl_schedule_from_domain); \
|
||||||
|
+ DYNSYM (isl_schedule_sequence); \
|
||||||
|
+ DYNSYM (isl_ast_build_node_from_schedule); \
|
||||||
|
+ DYNSYM (isl_ast_node_mark_get_node); \
|
||||||
|
+ DYNSYM (isl_schedule_node_band_member_get_ast_loop_type); \
|
||||||
|
+ DYNSYM (isl_schedule_node_band_member_set_ast_loop_type); \
|
||||||
|
+ DYNSYM (isl_val_n_abs_num_chunks); \
|
||||||
|
+ DYNSYM (isl_val_get_abs_num_chunks); \
|
||||||
|
+ DYNSYM (isl_val_int_from_chunks); \
|
||||||
|
+ DYNSYM (isl_val_is_neg); \
|
||||||
|
+ DYNSYM (isl_version); \
|
||||||
|
+ DYNSYM (isl_options_get_on_error); \
|
||||||
|
+ DYNSYM (isl_ctx_reset_error);
|
||||||
+
|
+
|
||||||
+extern struct isl_pointers_s__
|
+extern struct isl_pointers_s__
|
||||||
+{
|
+{
|
||||||
@ -351,12 +391,8 @@
|
|||||||
+#define isl_map_set_tuple_id (*isl_pointers__.p_isl_map_set_tuple_id)
|
+#define isl_map_set_tuple_id (*isl_pointers__.p_isl_map_set_tuple_id)
|
||||||
+#define isl_map_universe (*isl_pointers__.p_isl_map_universe)
|
+#define isl_map_universe (*isl_pointers__.p_isl_map_universe)
|
||||||
+#define isl_options_set_on_error (*isl_pointers__.p_isl_options_set_on_error)
|
+#define isl_options_set_on_error (*isl_pointers__.p_isl_options_set_on_error)
|
||||||
+#ifdef HAVE_ISL_OPTIONS_SET_SCHEDULE_SERIALIZE_SCCS
|
|
||||||
+#define isl_options_set_schedule_serialize_sccs (*isl_pointers__.p_isl_options_set_schedule_serialize_sccs)
|
+#define isl_options_set_schedule_serialize_sccs (*isl_pointers__.p_isl_options_set_schedule_serialize_sccs)
|
||||||
+#define isl_printer_set_yaml_style (*isl_pointers__.p_isl_printer_set_yaml_style)
|
+#define isl_printer_set_yaml_style (*isl_pointers__.p_isl_printer_set_yaml_style)
|
||||||
+#else
|
|
||||||
+#define isl_options_set_schedule_fuse (*isl_pointers__.p_isl_options_set_schedule_fuse)
|
|
||||||
+#endif
|
|
||||||
+#define isl_options_set_schedule_max_constant_term (*isl_pointers__.p_isl_options_set_schedule_max_constant_term)
|
+#define isl_options_set_schedule_max_constant_term (*isl_pointers__.p_isl_options_set_schedule_max_constant_term)
|
||||||
+#define isl_options_set_schedule_maximize_band_depth (*isl_pointers__.p_isl_options_set_schedule_maximize_band_depth)
|
+#define isl_options_set_schedule_maximize_band_depth (*isl_pointers__.p_isl_options_set_schedule_maximize_band_depth)
|
||||||
+#define isl_printer_free (*isl_pointers__.p_isl_printer_free)
|
+#define isl_printer_free (*isl_pointers__.p_isl_printer_free)
|
||||||
@ -508,8 +544,6 @@
|
|||||||
+#define isl_val_add_ui (*isl_pointers__.p_isl_val_add_ui)
|
+#define isl_val_add_ui (*isl_pointers__.p_isl_val_add_ui)
|
||||||
+#define isl_val_copy (*isl_pointers__.p_isl_val_copy)
|
+#define isl_val_copy (*isl_pointers__.p_isl_val_copy)
|
||||||
+#define isl_val_free (*isl_pointers__.p_isl_val_free)
|
+#define isl_val_free (*isl_pointers__.p_isl_val_free)
|
||||||
+#define isl_val_get_num_gmp (*isl_pointers__.p_isl_val_get_num_gmp)
|
|
||||||
+#define isl_val_int_from_gmp (*isl_pointers__.p_isl_val_int_from_gmp)
|
|
||||||
+#define isl_val_int_from_si (*isl_pointers__.p_isl_val_int_from_si)
|
+#define isl_val_int_from_si (*isl_pointers__.p_isl_val_int_from_si)
|
||||||
+#define isl_val_int_from_ui (*isl_pointers__.p_isl_val_int_from_ui)
|
+#define isl_val_int_from_ui (*isl_pointers__.p_isl_val_int_from_ui)
|
||||||
+#define isl_val_mul (*isl_pointers__.p_isl_val_mul)
|
+#define isl_val_mul (*isl_pointers__.p_isl_val_mul)
|
||||||
@ -526,14 +560,75 @@
|
|||||||
+#define isl_printer_print_schedule (*isl_pointers__.p_isl_printer_print_schedule)
|
+#define isl_printer_print_schedule (*isl_pointers__.p_isl_printer_print_schedule)
|
||||||
+#define isl_set_set_dim_id (*isl_pointers__.p_isl_set_set_dim_id)
|
+#define isl_set_set_dim_id (*isl_pointers__.p_isl_set_set_dim_id)
|
||||||
+#define isl_union_map_coalesce (*isl_pointers__.p_isl_union_map_coalesce)
|
+#define isl_union_map_coalesce (*isl_pointers__.p_isl_union_map_coalesce)
|
||||||
+
|
+#define isl_multi_val_set_val (*isl_pointers__.p_isl_multi_val_set_val)
|
||||||
|
+#define isl_multi_val_zero (*isl_pointers__.p_isl_multi_val_zero)
|
||||||
|
+#define isl_options_set_schedule_max_coefficient (*isl_pointers__.p_isl_options_set_schedule_max_coefficient)
|
||||||
|
+#define isl_options_set_tile_scale_tile_loops (*isl_pointers__.p_isl_options_set_tile_scale_tile_loops)
|
||||||
|
+#define isl_schedule_copy (*isl_pointers__.p_isl_schedule_copy)
|
||||||
|
+#define isl_schedule_get_map (*isl_pointers__.p_isl_schedule_get_map)
|
||||||
|
+#define isl_schedule_map_schedule_node_bottom_up (*isl_pointers__.p_isl_schedule_map_schedule_node_bottom_up)
|
||||||
|
+#define isl_schedule_node_band_get_permutable (*isl_pointers__.p_isl_schedule_node_band_get_permutable)
|
||||||
|
+#define isl_schedule_node_band_get_space (*isl_pointers__.p_isl_schedule_node_band_get_space)
|
||||||
|
+#define isl_schedule_node_band_tile (*isl_pointers__.p_isl_schedule_node_band_tile)
|
||||||
|
+#define isl_schedule_node_child (*isl_pointers__.p_isl_schedule_node_child)
|
||||||
|
+#define isl_schedule_node_free (*isl_pointers__.p_isl_schedule_node_free)
|
||||||
|
+#define isl_schedule_node_get_child (*isl_pointers__.p_isl_schedule_node_get_child)
|
||||||
|
+#define isl_schedule_node_get_ctx (*isl_pointers__.p_isl_schedule_node_get_ctx)
|
||||||
|
+#define isl_schedule_node_get_type (*isl_pointers__.p_isl_schedule_node_get_type)
|
||||||
|
+#define isl_schedule_node_n_children (*isl_pointers__.p_isl_schedule_node_n_children)
|
||||||
|
+#define isl_union_map_is_equal (*isl_pointers__.p_isl_union_map_is_equal)
|
||||||
|
+#define isl_union_access_info_compute_flow (*isl_pointers__.p_isl_union_access_info_compute_flow)
|
||||||
|
+#define isl_union_access_info_from_sink (*isl_pointers__.p_isl_union_access_info_from_sink)
|
||||||
|
+#define isl_union_access_info_set_may_source (*isl_pointers__.p_isl_union_access_info_set_may_source)
|
||||||
|
+#define isl_union_access_info_set_must_source (*isl_pointers__.p_isl_union_access_info_set_must_source)
|
||||||
|
+#define isl_union_access_info_set_schedule (*isl_pointers__.p_isl_union_access_info_set_schedule)
|
||||||
|
+#define isl_union_flow_free (*isl_pointers__.p_isl_union_flow_free)
|
||||||
|
+#define isl_union_flow_get_may_dependence (*isl_pointers__.p_isl_union_flow_get_may_dependence)
|
||||||
|
+#define isl_union_flow_get_must_dependence (*isl_pointers__.p_isl_union_flow_get_must_dependence)
|
||||||
|
+#define isl_aff_var_on_domain (*isl_pointers__.p_isl_aff_var_on_domain)
|
||||||
|
+#define isl_multi_aff_from_aff (*isl_pointers__.p_isl_multi_aff_from_aff)
|
||||||
|
+#define isl_schedule_get_ctx (*isl_pointers__.p_isl_schedule_get_ctx)
|
||||||
|
+#define isl_multi_aff_set_tuple_id (*isl_pointers__.p_isl_multi_aff_set_tuple_id)
|
||||||
|
+#define isl_multi_aff_dim (*isl_pointers__.p_isl_multi_aff_dim)
|
||||||
|
+#define isl_schedule_get_domain (*isl_pointers__.p_isl_schedule_get_domain)
|
||||||
|
+#define isl_union_set_is_empty (*isl_pointers__.p_isl_union_set_is_empty)
|
||||||
|
+#define isl_union_set_get_space (*isl_pointers__.p_isl_union_set_get_space)
|
||||||
|
+#define isl_union_pw_multi_aff_empty (*isl_pointers__.p_isl_union_pw_multi_aff_empty)
|
||||||
|
+#define isl_union_set_foreach_set (*isl_pointers__.p_isl_union_set_foreach_set)
|
||||||
|
+#define isl_union_set_free (*isl_pointers__.p_isl_union_set_free)
|
||||||
|
+#define isl_multi_union_pw_aff_from_union_pw_multi_aff (*isl_pointers__.p_isl_multi_union_pw_aff_from_union_pw_multi_aff)
|
||||||
|
+#define isl_multi_union_pw_aff_apply_multi_aff (*isl_pointers__.p_isl_multi_union_pw_aff_apply_multi_aff)
|
||||||
|
+#define isl_schedule_insert_partial_schedule (*isl_pointers__.p_isl_schedule_insert_partial_schedule)
|
||||||
|
+#define isl_union_pw_multi_aff_free (*isl_pointers__.p_isl_union_pw_multi_aff_free)
|
||||||
|
+#define isl_pw_multi_aff_project_out_map (*isl_pointers__.p_isl_pw_multi_aff_project_out_map)
|
||||||
|
+#define isl_union_pw_multi_aff_add_pw_multi_aff (*isl_pointers__.p_isl_union_pw_multi_aff_add_pw_multi_aff)
|
||||||
|
+#define isl_schedule_from_domain (*isl_pointers__.p_isl_schedule_from_domain)
|
||||||
|
+#define isl_schedule_sequence (*isl_pointers__.p_isl_schedule_sequence)
|
||||||
|
+#define isl_ast_build_node_from_schedule (*isl_pointers__.p_isl_ast_build_node_from_schedule)
|
||||||
|
+#define isl_ast_node_mark_get_node (*isl_pointers__.p_isl_ast_node_mark_get_node)
|
||||||
|
+#define isl_schedule_node_band_member_get_ast_loop_type (*isl_pointers__.p_isl_schedule_node_band_member_get_ast_loop_type)
|
||||||
|
+#define isl_schedule_node_band_member_set_ast_loop_type (*isl_pointers__.p_isl_schedule_node_band_member_set_ast_loop_type)
|
||||||
|
+#define isl_val_n_abs_num_chunks (*isl_pointers__.p_isl_val_n_abs_num_chunks)
|
||||||
|
+#define isl_val_get_abs_num_chunks (*isl_pointers__.p_isl_val_get_abs_num_chunks)
|
||||||
|
+#define isl_val_int_from_chunks (*isl_pointers__.p_isl_val_int_from_chunks)
|
||||||
|
+#define isl_val_is_neg (*isl_pointers__.p_isl_val_is_neg)
|
||||||
|
+#define isl_version (*isl_pointers__.p_isl_version)
|
||||||
|
+#define isl_options_get_on_error (*isl_pointers__.p_isl_options_get_on_error)
|
||||||
|
+#define isl_ctx_reset_error (*isl_pointers__.p_isl_ctx_reset_error)
|
||||||
|
|
||||||
typedef struct poly_dr *poly_dr_p;
|
typedef struct poly_dr *poly_dr_p;
|
||||||
|
|
||||||
typedef struct poly_bb *poly_bb_p;
|
@@ -461,5 +1045,6 @@ extern void build_scops (vec<scop_p> *);
|
||||||
|
extern void dot_all_sese (FILE *, vec<sese_l> &);
|
||||||
|
extern void dot_sese (sese_l &);
|
||||||
|
extern void dot_cfg ();
|
||||||
|
+extern const char *get_isl_version (bool);
|
||||||
|
|
||||||
|
#endif
|
||||||
--- gcc/graphite.c.jj 2015-11-04 14:15:32.000000000 +0100
|
--- gcc/graphite.c.jj 2015-11-04 14:15:32.000000000 +0100
|
||||||
+++ gcc/graphite.c 2015-11-04 14:56:02.645536409 +0100
|
+++ gcc/graphite.c 2015-11-04 14:56:02.645536409 +0100
|
||||||
@@ -54,6 +54,34 @@ along with GCC; see the file COPYING3.
|
@@ -60,6 +60,35 @@ along with GCC; see the file COPYING3.
|
||||||
#include "tree-cfgcleanup.h"
|
#include "tree-into-ssa.h"
|
||||||
#include "graphite.h"
|
#include "graphite.h"
|
||||||
|
|
||||||
+__typeof (isl_pointers__) isl_pointers__;
|
+__typeof (isl_pointers__) isl_pointers__;
|
||||||
@ -545,7 +640,7 @@
|
|||||||
+
|
+
|
||||||
+ if (isl_pointers__.inited)
|
+ if (isl_pointers__.inited)
|
||||||
+ return isl_pointers__.h != NULL;
|
+ return isl_pointers__.h != NULL;
|
||||||
+ h = dlopen ("libisl.so.13", RTLD_LAZY);
|
+ h = dlopen ("libisl.so.15", RTLD_LAZY);
|
||||||
+ isl_pointers__.h = h;
|
+ isl_pointers__.h = h;
|
||||||
+ if (h == NULL)
|
+ if (h == NULL)
|
||||||
+ return false;
|
+ return false;
|
||||||
@ -561,13 +656,14 @@
|
|||||||
+ while (0)
|
+ while (0)
|
||||||
+ DYNSYMS
|
+ DYNSYMS
|
||||||
+#undef DYNSYM
|
+#undef DYNSYM
|
||||||
|
+ isl_pointers__.inited = true;
|
||||||
+ return true;
|
+ return true;
|
||||||
+}
|
+}
|
||||||
+
|
+
|
||||||
/* Print global statistics to FILE. */
|
/* Print global statistics to FILE. */
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@@ -298,6 +326,15 @@ graphite_transform_loops (void)
|
@@ -365,6 +394,15 @@ graphite_transform_loops (void)
|
||||||
if (parallelized_function_p (cfun->decl))
|
if (parallelized_function_p (cfun->decl))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@ -580,6 +676,40 @@
|
|||||||
+ return;
|
+ return;
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
ctx = isl_ctx_alloc ();
|
calculate_dominance_info (CDI_DOMINATORS);
|
||||||
isl_options_set_on_error (ctx, ISL_ON_ERROR_ABORT);
|
|
||||||
if (!graphite_initialize (ctx))
|
/* We rely on post-dominators during merging of SESE regions so those
|
||||||
|
@@ -455,6 +493,14 @@ graphite_transform_loops (void)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
+const char *
|
||||||
|
+get_isl_version (bool force)
|
||||||
|
+{
|
||||||
|
+ if (force)
|
||||||
|
+ init_isl_pointers ();
|
||||||
|
+ return (isl_pointers__.inited && isl_version) ? isl_version () : "none";
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
#else /* If isl is not available: #ifndef HAVE_isl. */
|
||||||
|
|
||||||
|
static void
|
||||||
|
--- gcc/toplev.c.jj 2017-02-19 13:02:31.000000000 +0100
|
||||||
|
+++ gcc/toplev.c 2017-02-19 16:50:25.536301350 +0100
|
||||||
|
@@ -94,6 +94,7 @@ along with GCC; see the file COPYING3.
|
||||||
|
|
||||||
|
#ifdef HAVE_isl
|
||||||
|
#include <isl/version.h>
|
||||||
|
+extern const char *get_isl_version (bool);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
static void general_init (const char *, bool);
|
||||||
|
@@ -683,7 +684,7 @@ print_version (FILE *file, const char *i
|
||||||
|
#ifndef HAVE_isl
|
||||||
|
"none"
|
||||||
|
#else
|
||||||
|
- isl_version ()
|
||||||
|
+ get_isl_version (*indent == 0)
|
||||||
|
#endif
|
||||||
|
);
|
||||||
|
if (strcmp (GCC_GMP_STRINGIFY_VERSION, gmp_version))
|
@ -1,10 +1,10 @@
|
|||||||
--- libstdc++-v3/doc/html/index.html.jj 2011-01-03 12:53:21.282829010 +0100
|
--- libstdc++-v3/doc/html/index.html.jj 2011-01-03 12:53:21.282829010 +0100
|
||||||
+++ libstdc++-v3/doc/html/index.html 2011-01-04 18:06:28.999851145 +0100
|
+++ libstdc++-v3/doc/html/index.html 2011-01-04 18:06:28.999851145 +0100
|
||||||
@@ -5,6 +5,8 @@
|
@@ -5,6 +5,8 @@
|
||||||
<a class="link" href="http://www.fsf.org/" target="_top">FSF
|
<a class="link" href="https://www.fsf.org" target="_top">FSF
|
||||||
</a>
|
</a>
|
||||||
</p><p>
|
</p><p>
|
||||||
+ Release 6.3.0
|
+ Release 10.0.1
|
||||||
+ </p><p>
|
+ </p><p>
|
||||||
Permission is granted to copy, distribute and/or modify this
|
Permission is granted to copy, distribute and/or modify this
|
||||||
document under the terms of the GNU Free Documentation
|
document under the terms of the GNU Free Documentation
|
||||||
@ -17,7 +17,7 @@
|
|||||||
</p><p>
|
</p><p>
|
||||||
- The API documentation, rendered into HTML, can be viewed online
|
- The API documentation, rendered into HTML, can be viewed online
|
||||||
+ The API documentation, rendered into HTML, can be viewed locally
|
+ The API documentation, rendered into HTML, can be viewed locally
|
||||||
+ <a class="link" href="api/index.html" target="_top">for the 6.3.0 release</a>,
|
+ <a class="link" href="api/index.html" target="_top">for the 10.0.1 release</a>,
|
||||||
+ online
|
+ online
|
||||||
<a class="link" href="http://gcc.gnu.org/onlinedocs/" target="_top">for each GCC release</a>
|
<a class="link" href="http://gcc.gnu.org/onlinedocs/" target="_top">for each GCC release</a>
|
||||||
and
|
and
|
@ -1,19 +1,17 @@
|
|||||||
2010-02-08 Roland McGrath <roland@redhat.com>
|
2010-02-08 Roland McGrath <roland@redhat.com>
|
||||||
|
|
||||||
* config/rs6000/sysv4.h (LINK_EH_SPEC): Pass --no-add-needed to the
|
* config/gnu-user.h (LINK_EH_SPEC): Pass --no-add-needed to the linker.
|
||||||
linker.
|
|
||||||
* config/gnu-user.h (LINK_EH_SPEC): Likewise.
|
|
||||||
* config/alpha/elf.h (LINK_EH_SPEC): Likewise.
|
* config/alpha/elf.h (LINK_EH_SPEC): Likewise.
|
||||||
* config/ia64/linux.h (LINK_EH_SPEC): Likewise.
|
* config/ia64/linux.h (LINK_EH_SPEC): Likewise.
|
||||||
|
|
||||||
--- gcc/config/alpha/elf.h.jj 2011-01-03 12:52:31.118056764 +0100
|
--- gcc/config/alpha/elf.h.jj 2011-01-03 12:52:31.118056764 +0100
|
||||||
+++ gcc/config/alpha/elf.h 2011-01-04 18:14:10.931874160 +0100
|
+++ gcc/config/alpha/elf.h 2011-01-04 18:14:10.931874160 +0100
|
||||||
@@ -165,5 +165,5 @@ extern int alpha_this_gpdisp_sequence_nu
|
@@ -168,5 +168,5 @@ extern int alpha_this_gpdisp_sequence_nu
|
||||||
I imagine that other systems will catch up. In the meantime, it
|
I imagine that other systems will catch up. In the meantime, it
|
||||||
doesn't harm to make sure that the data exists to be used later. */
|
doesn't harm to make sure that the data exists to be used later. */
|
||||||
#if defined(HAVE_LD_EH_FRAME_HDR)
|
#if defined(HAVE_LD_EH_FRAME_HDR)
|
||||||
-#define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
|
-#define LINK_EH_SPEC "%{!static|static-pie:--eh-frame-hdr} "
|
||||||
+#define LINK_EH_SPEC "--no-add-needed %{!static:--eh-frame-hdr} "
|
+#define LINK_EH_SPEC "--no-add-needed %{!static|static-pie:--eh-frame-hdr} "
|
||||||
#endif
|
#endif
|
||||||
--- gcc/config/ia64/linux.h.jj 2011-01-03 13:02:11.462994522 +0100
|
--- gcc/config/ia64/linux.h.jj 2011-01-03 13:02:11.462994522 +0100
|
||||||
+++ gcc/config/ia64/linux.h 2011-01-04 18:14:10.931874160 +0100
|
+++ gcc/config/ia64/linux.h 2011-01-04 18:14:10.931874160 +0100
|
||||||
@ -28,23 +26,12 @@
|
|||||||
#define TARGET_INIT_LIBFUNCS ia64_soft_fp_init_libfuncs
|
#define TARGET_INIT_LIBFUNCS ia64_soft_fp_init_libfuncs
|
||||||
--- gcc/config/gnu-user.h.jj 2011-01-03 12:53:03.739057299 +0100
|
--- gcc/config/gnu-user.h.jj 2011-01-03 12:53:03.739057299 +0100
|
||||||
+++ gcc/config/gnu-user.h 2011-01-04 18:14:10.932814884 +0100
|
+++ gcc/config/gnu-user.h 2011-01-04 18:14:10.932814884 +0100
|
||||||
@@ -82,7 +82,7 @@ see the files COPYING3 and COPYING.RUNTI
|
@@ -106,7 +106,7 @@ see the files COPYING3 and COPYING.RUNTI
|
||||||
#define LIB_SPEC GNU_USER_TARGET_LIB_SPEC
|
#define LIB_SPEC GNU_USER_TARGET_LIB_SPEC
|
||||||
|
|
||||||
#if defined(HAVE_LD_EH_FRAME_HDR)
|
#if defined(HAVE_LD_EH_FRAME_HDR)
|
||||||
-#define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
|
-#define LINK_EH_SPEC "%{!static|static-pie:--eh-frame-hdr} "
|
||||||
+#define LINK_EH_SPEC "--no-add-needed %{!static:--eh-frame-hdr} "
|
+#define LINK_EH_SPEC "--no-add-needed %{!static|static-pie:--eh-frame-hdr} "
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#undef LINK_GCC_C_SEQUENCE_SPEC
|
#define GNU_USER_TARGET_LINK_GCC_C_SEQUENCE_SPEC \
|
||||||
--- gcc/config/rs6000/sysv4.h.jj 2011-01-03 13:02:18.255994215 +0100
|
|
||||||
+++ gcc/config/rs6000/sysv4.h 2011-01-04 18:14:10.933888871 +0100
|
|
||||||
@@ -820,7 +820,7 @@ extern int fixuplabelno;
|
|
||||||
-dynamic-linker " GNU_USER_DYNAMIC_LINKER "}}"
|
|
||||||
|
|
||||||
#if defined(HAVE_LD_EH_FRAME_HDR)
|
|
||||||
-# define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
|
|
||||||
+# define LINK_EH_SPEC "--no-add-needed %{!static:--eh-frame-hdr} "
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define CPP_OS_LINUX_SPEC "-D__unix__ -D__gnu_linux__ -D__linux__ \
|
|
30
gcc10-rh1574936.patch
Normal file
30
gcc10-rh1574936.patch
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
crt files and statically linked libgcc objects cause false positives
|
||||||
|
in annobin coverage, so we add the assembler flag to generate notes
|
||||||
|
for them.
|
||||||
|
|
||||||
|
The patch also adds notes to libgcc_s.so, but this is harmless because
|
||||||
|
these notes only confer that there is no other annobin markup.
|
||||||
|
|
||||||
|
2018-07-25 Florian Weimer <fweimer@redhat.com>
|
||||||
|
|
||||||
|
* Makefile.in (LIBGCC2_CFLAGS, CRTSTUFF_CFLAGS): Add
|
||||||
|
-Wa,--generate-missing-build-notes=yes.
|
||||||
|
|
||||||
|
--- libgcc/Makefile.in 2018-01-13 13:05:41.000000000 +0100
|
||||||
|
+++ libgcc/Makefile.in 2018-07-25 13:15:02.036226940 +0200
|
||||||
|
@@ -246,6 +246,7 @@ LIBGCC2_DEBUG_CFLAGS = -g
|
||||||
|
LIBGCC2_CFLAGS = -O2 $(LIBGCC2_INCLUDES) $(GCC_CFLAGS) $(HOST_LIBGCC2_CFLAGS) \
|
||||||
|
$(LIBGCC2_DEBUG_CFLAGS) -DIN_LIBGCC2 \
|
||||||
|
-fbuilding-libgcc -fno-stack-protector \
|
||||||
|
+ -Wa,--generate-missing-build-notes=yes \
|
||||||
|
$(INHIBIT_LIBC_CFLAGS)
|
||||||
|
|
||||||
|
# Additional options to use when compiling libgcc2.a.
|
||||||
|
@@ -301,6 +302,7 @@ CRTSTUFF_CFLAGS = -O2 $(GCC_CFLAGS) $(IN
|
||||||
|
$(NO_PIE_CFLAGS) -finhibit-size-directive -fno-inline -fno-exceptions \
|
||||||
|
-fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-tree-vectorize \
|
||||||
|
-fbuilding-libgcc -fno-stack-protector $(FORCE_EXPLICIT_EH_REGISTRY) \
|
||||||
|
+ -Wa,--generate-missing-build-notes=yes \
|
||||||
|
$(INHIBIT_LIBC_CFLAGS) $(USE_TM_CLONE_REGISTRY)
|
||||||
|
|
||||||
|
# Extra flags to use when compiling crt{begin,end}.o.
|
@ -1,6 +1,6 @@
|
|||||||
--- gcc/config.gcc.jj 2008-04-24 15:42:46.000000000 -0500
|
--- gcc/config.gcc.jj 2008-04-24 15:42:46.000000000 -0500
|
||||||
+++ gcc/config.gcc 2008-04-24 15:44:51.000000000 -0500
|
+++ gcc/config.gcc 2008-04-24 15:44:51.000000000 -0500
|
||||||
@@ -2656,7 +2656,7 @@ sparc-*-rtems*)
|
@@ -2790,7 +2790,7 @@ sparc-*-rtems*)
|
||||||
tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h sparc/sp-elf.h sparc/rtemself.h rtems.h newlib-stdint.h"
|
tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h sparc/sp-elf.h sparc/rtemself.h rtems.h newlib-stdint.h"
|
||||||
tmake_file="${tmake_file} sparc/t-sparc sparc/t-rtems"
|
tmake_file="${tmake_file} sparc/t-sparc sparc/t-rtems"
|
||||||
;;
|
;;
|
||||||
@ -9,13 +9,13 @@
|
|||||||
tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h gnu-user.h linux.h glibc-stdint.h sparc/tso.h"
|
tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h gnu-user.h linux.h glibc-stdint.h sparc/tso.h"
|
||||||
extra_options="${extra_options} sparc/long-double-switch.opt"
|
extra_options="${extra_options} sparc/long-double-switch.opt"
|
||||||
case ${target} in
|
case ${target} in
|
||||||
@@ -2710,7 +2710,7 @@ sparc64-*-rtems*)
|
@@ -2844,7 +2844,7 @@ sparc64-*-rtems*)
|
||||||
extra_options="${extra_options}"
|
extra_options="${extra_options}"
|
||||||
tmake_file="${tmake_file} sparc/t-sparc sparc/t-rtems-64"
|
tmake_file="${tmake_file} sparc/t-sparc sparc/t-rtems-64"
|
||||||
;;
|
;;
|
||||||
-sparc64-*-linux*)
|
-sparc64-*-linux*)
|
||||||
+sparc64*-*-linux*)
|
+sparc64*-*-linux*)
|
||||||
tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h sparc/sysv4.h gnu-user.h linux.h glibc-stdint.h sparc/default-64.h sparc/linux64.h sparc/tso.h"
|
tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h sparc/sysv4.h gnu-user.h linux.h glibc-stdint.h sparc/default64.h sparc/linux64.h sparc/tso.h"
|
||||||
extra_options="${extra_options} sparc/long-double-switch.opt"
|
extra_options="${extra_options} sparc/long-double-switch.opt"
|
||||||
tmake_file="${tmake_file} sparc/t-sparc sparc/t-linux64"
|
tmake_file="${tmake_file} sparc/t-sparc sparc/t-linux64"
|
||||||
--- libgcc/config.host.jj 2008-04-24 15:46:19.000000000 -0500
|
--- libgcc/config.host.jj 2008-04-24 15:46:19.000000000 -0500
|
@ -1,35 +0,0 @@
|
|||||||
2014-04-07 Richard Henderson <rth@redhat.com>
|
|
||||||
|
|
||||||
* common/config/aarch64/aarch64-common.c (TARGET_OPTION_INIT_STRUCT):
|
|
||||||
Define.
|
|
||||||
(aarch64_option_init_struct): New function.
|
|
||||||
|
|
||||||
--- gcc/common/config/aarch64/aarch64-common.c
|
|
||||||
+++ gcc/common/config/aarch64/aarch64-common.c
|
|
||||||
@@ -39,6 +39,9 @@
|
|
||||||
#undef TARGET_OPTION_OPTIMIZATION_TABLE
|
|
||||||
#define TARGET_OPTION_OPTIMIZATION_TABLE aarch_option_optimization_table
|
|
||||||
|
|
||||||
+#undef TARGET_OPTION_INIT_STRUCT
|
|
||||||
+#define TARGET_OPTION_INIT_STRUCT aarch64_option_init_struct
|
|
||||||
+
|
|
||||||
/* Set default optimization options. */
|
|
||||||
static const struct default_options aarch_option_optimization_table[] =
|
|
||||||
{
|
|
||||||
@@ -47,6 +50,16 @@ static const struct default_options aarch_option_optimization_table[] =
|
|
||||||
{ OPT_LEVELS_NONE, 0, NULL, 0 }
|
|
||||||
};
|
|
||||||
|
|
||||||
+/* Implement TARGET_OPTION_INIT_STRUCT. */
|
|
||||||
+
|
|
||||||
+static void
|
|
||||||
+aarch64_option_init_struct (struct gcc_options *opts)
|
|
||||||
+{
|
|
||||||
+ /* By default, always emit DWARF-2 unwind info. This allows debugging
|
|
||||||
+ without maintaining a stack frame back-chain. */
|
|
||||||
+ opts->x_flag_asynchronous_unwind_tables = 1;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
/* Implement TARGET_HANDLE_OPTION.
|
|
||||||
This function handles the target specific options for CPU/target selection.
|
|
||||||
|
|
@ -1,44 +0,0 @@
|
|||||||
--- libjava/configure.ac.jj 2007-12-07 17:55:50.000000000 +0100
|
|
||||||
+++ libjava/configure.ac 2007-12-07 18:36:56.000000000 +0100
|
|
||||||
@@ -82,6 +82,13 @@ AC_ARG_ENABLE(java-maintainer-mode,
|
|
||||||
[allow rebuilding of .class and .h files]))
|
|
||||||
AM_CONDITIONAL(JAVA_MAINTAINER_MODE, test "$enable_java_maintainer_mode" = yes)
|
|
||||||
|
|
||||||
+AC_ARG_ENABLE(libjava-multilib,
|
|
||||||
+ AS_HELP_STRING([--enable-libjava-multilib], [build libjava as multilib]))
|
|
||||||
+if test "$enable_libjava_multilib" = no; then
|
|
||||||
+ multilib=no
|
|
||||||
+ ac_configure_args="$ac_configure_args --disable-multilib"
|
|
||||||
+fi
|
|
||||||
+
|
|
||||||
# It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
|
|
||||||
GCC_NO_EXECUTABLES
|
|
||||||
|
|
||||||
--- libjava/configure.jj 2007-12-07 17:55:50.000000000 +0100
|
|
||||||
+++ libjava/configure 2007-12-07 18:39:58.000000000 +0100
|
|
||||||
@@ -1021,6 +1021,8 @@ Optional Features:
|
|
||||||
default=yes
|
|
||||||
--enable-java-maintainer-mode
|
|
||||||
allow rebuilding of .class and .h files
|
|
||||||
+ --enable-libjava-multilib
|
|
||||||
+ build libjava as multilib
|
|
||||||
--disable-dependency-tracking speeds up one-time build
|
|
||||||
--enable-dependency-tracking do not reject slow dependency extractors
|
|
||||||
--enable-maintainer-mode enable make rules and dependencies not useful
|
|
||||||
@@ -1973,6 +1975,16 @@ else
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
+# Check whether --enable-libjava-multilib was given.
|
|
||||||
+if test "${enable_libjava_multilib+set}" = set; then
|
|
||||||
+ enableval=$enable_libjava_multilib;
|
|
||||||
+fi
|
|
||||||
+
|
|
||||||
+if test "$enable_libjava_multilib" = no; then
|
|
||||||
+ multilib=no
|
|
||||||
+ ac_configure_args="$ac_configure_args --disable-multilib"
|
|
||||||
+fi
|
|
||||||
+
|
|
||||||
# It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
|
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
@ -1,38 +0,0 @@
|
|||||||
2015-01-22 Jakub Jelinek <jakub@redhat.com>
|
|
||||||
|
|
||||||
* sanitizer_common/sanitizer_platform.h
|
|
||||||
(SANITIZER_AARCH64_VMA): Set to 42.
|
|
||||||
(SANITIZER_CAN_USE_ALLOCATOR64): Set to 1 on __aarch64__
|
|
||||||
if SANITIZER_WORDSIZE is 64.
|
|
||||||
(SANITIZER_MMAP_RANGE_SIZE): Define to 1ULL << 42 for
|
|
||||||
__aarch64__.
|
|
||||||
|
|
||||||
--- libsanitizer/sanitizer_common/sanitizer_platform.h.jj 2015-11-23 13:29:55.000000000 +0100
|
|
||||||
+++ libsanitizer/sanitizer_common/sanitizer_platform.h 2016-01-15 12:04:08.511206409 +0100
|
|
||||||
@@ -82,7 +82,7 @@
|
|
||||||
// VMA size definition for architecture that support multiple sizes.
|
|
||||||
// AArch64 has 3 VMA sizes: 39, 42 and 48.
|
|
||||||
#if !defined(SANITIZER_AARCH64_VMA)
|
|
||||||
-# define SANITIZER_AARCH64_VMA 39
|
|
||||||
+# define SANITIZER_AARCH64_VMA 42
|
|
||||||
#else
|
|
||||||
# if SANITIZER_AARCH64_VMA != 39 && SANITIZER_AARCH64_VMA != 42
|
|
||||||
# error "invalid SANITIZER_AARCH64_VMA size"
|
|
||||||
@@ -95,7 +95,7 @@
|
|
||||||
// For such platforms build this code with -DSANITIZER_CAN_USE_ALLOCATOR64=0 or
|
|
||||||
// change the definition of SANITIZER_CAN_USE_ALLOCATOR64 here.
|
|
||||||
#ifndef SANITIZER_CAN_USE_ALLOCATOR64
|
|
||||||
-# if defined(__mips64) || defined(__aarch64__)
|
|
||||||
+# if defined(__mips64)
|
|
||||||
# define SANITIZER_CAN_USE_ALLOCATOR64 0
|
|
||||||
# else
|
|
||||||
# define SANITIZER_CAN_USE_ALLOCATOR64 (SANITIZER_WORDSIZE == 64)
|
|
||||||
@@ -107,6 +107,8 @@
|
|
||||||
// will still work but will consume more memory for TwoLevelByteMap.
|
|
||||||
#if defined(__mips__)
|
|
||||||
# define SANITIZER_MMAP_RANGE_SIZE FIRST_32_SECOND_64(1ULL << 32, 1ULL << 40)
|
|
||||||
+#elif defined(__aarch64__)
|
|
||||||
+# define SANITIZER_MMAP_RANGE_SIZE FIRST_32_SECOND_64(1ULL << 32, 1ULL << 42)
|
|
||||||
#else
|
|
||||||
# define SANITIZER_MMAP_RANGE_SIZE FIRST_32_SECOND_64(1ULL << 32, 1ULL << 47)
|
|
||||||
#endif
|
|
@ -1,87 +0,0 @@
|
|||||||
2005-11-28 Jakub Jelinek <jakub@redhat.com>
|
|
||||||
|
|
||||||
* config/rs6000/rs6000.c (rs6000_return_addr): If COUNT == 0,
|
|
||||||
read word RETURN_ADDRESS_OFFSET bytes above arg_pointer_rtx
|
|
||||||
instead of doing an extran indirection from frame_pointer_rtx.
|
|
||||||
|
|
||||||
* gcc.dg/20051128-1.c: New test.
|
|
||||||
|
|
||||||
--- gcc/config/rs6000/rs6000.c.jj 2005-11-26 14:38:01.000000000 +0100
|
|
||||||
+++ gcc/config/rs6000/rs6000.c 2005-11-28 20:32:18.000000000 +0100
|
|
||||||
@@ -20970,18 +20970,22 @@ rs6000_return_addr (int count, rtx frame
|
|
||||||
if (count != 0
|
|
||||||
|| ((DEFAULT_ABI == ABI_V4 || DEFAULT_ABI == ABI_DARWIN) && flag_pic))
|
|
||||||
{
|
|
||||||
+ rtx x;
|
|
||||||
cfun->machine->ra_needs_full_frame = 1;
|
|
||||||
|
|
||||||
- return
|
|
||||||
- gen_rtx_MEM
|
|
||||||
- (Pmode,
|
|
||||||
- memory_address
|
|
||||||
- (Pmode,
|
|
||||||
- plus_constant (Pmode,
|
|
||||||
- copy_to_reg
|
|
||||||
- (gen_rtx_MEM (Pmode,
|
|
||||||
- memory_address (Pmode, frame))),
|
|
||||||
- RETURN_ADDRESS_OFFSET)));
|
|
||||||
+ if (count == 0)
|
|
||||||
+ {
|
|
||||||
+ gcc_assert (frame == frame_pointer_rtx);
|
|
||||||
+ x = arg_pointer_rtx;
|
|
||||||
+ }
|
|
||||||
+ else
|
|
||||||
+ {
|
|
||||||
+ x = memory_address (Pmode, frame);
|
|
||||||
+ x = copy_to_reg (gen_rtx_MEM (Pmode, x));
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ x = plus_constant (Pmode, x, RETURN_ADDRESS_OFFSET);
|
|
||||||
+ return gen_rtx_MEM (Pmode, memory_address (Pmode, x));
|
|
||||||
}
|
|
||||||
|
|
||||||
cfun->machine->ra_need_lr = 1;
|
|
||||||
--- gcc/testsuite/gcc.dg/20051128-1.c.jj 2005-10-10 11:21:41.096999000 +0200
|
|
||||||
+++ gcc/testsuite/gcc.dg/20051128-1.c 2005-11-28 12:30:57.000000000 +0100
|
|
||||||
@@ -0,0 +1,41 @@
|
|
||||||
+/* { dg-do run } */
|
|
||||||
+/* { dg-options "-O2 -fpic" } */
|
|
||||||
+
|
|
||||||
+extern void exit (int);
|
|
||||||
+extern void abort (void);
|
|
||||||
+
|
|
||||||
+int b;
|
|
||||||
+
|
|
||||||
+struct A
|
|
||||||
+{
|
|
||||||
+ void *pad[147];
|
|
||||||
+ void *ra, *h;
|
|
||||||
+ long o;
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+void
|
|
||||||
+__attribute__((noinline))
|
|
||||||
+foo (struct A *a, void *x)
|
|
||||||
+{
|
|
||||||
+ __builtin_memset (a, 0, sizeof (a));
|
|
||||||
+ if (!b)
|
|
||||||
+ exit (0);
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+void
|
|
||||||
+__attribute__((noinline))
|
|
||||||
+bar (void)
|
|
||||||
+{
|
|
||||||
+ struct A a;
|
|
||||||
+
|
|
||||||
+ __builtin_unwind_init ();
|
|
||||||
+ foo (&a, __builtin_return_address (0));
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+int
|
|
||||||
+main (void)
|
|
||||||
+{
|
|
||||||
+ bar ();
|
|
||||||
+ abort ();
|
|
||||||
+ return 0;
|
|
||||||
+}
|
|
@ -1,27 +0,0 @@
|
|||||||
2007-10-16 Jakub Jelinek <jakub@redhat.com>
|
|
||||||
|
|
||||||
* Makefile.am (libgcj_tools_la_LIBADD): Add.
|
|
||||||
* Makefile.in: Regenerated.
|
|
||||||
|
|
||||||
--- libjava/Makefile.am.jj 2009-05-06 08:14:50.000000000 +0200
|
|
||||||
+++ libjava/Makefile.am 2009-05-06 10:26:43.000000000 +0200
|
|
||||||
@@ -550,7 +550,7 @@ libgcj_tools_la_LDFLAGS = -rpath $(toole
|
|
||||||
$(LIBGCJ_LD_SYMBOLIC_FUNCTIONS) $(LIBJAVA_LDFLAGS_NOUNDEF) \
|
|
||||||
$(LIBJAVA_LDFLAGS_LIBMATH)
|
|
||||||
|
|
||||||
-libgcj_tools_la_LIBADD = libgcj.la
|
|
||||||
+libgcj_tools_la_LIBADD = -L$(here)/.libs libgcj.la
|
|
||||||
libgcj_tools_la_DEPENDENCIES = libgcj.la libgcj.spec \
|
|
||||||
$(libgcj_tools_la_version_dep)
|
|
||||||
if BUILD_SUBLIBS
|
|
||||||
--- libjava/Makefile.in.jj 2009-05-06 08:14:49.000000000 +0200
|
|
||||||
+++ libjava/Makefile.in 2009-05-06 10:27:18.000000000 +0200
|
|
||||||
@@ -1110,7 +1110,7 @@ libgcj_tools_la_LDFLAGS = -rpath $(toole
|
|
||||||
$(LIBGCJ_LD_SYMBOLIC_FUNCTIONS) $(LIBJAVA_LDFLAGS_NOUNDEF) \
|
|
||||||
$(LIBJAVA_LDFLAGS_LIBMATH)
|
|
||||||
|
|
||||||
-libgcj_tools_la_LIBADD = libgcj.la
|
|
||||||
+libgcj_tools_la_LIBADD = -L$(here)/.libs libgcj.la
|
|
||||||
libgcj_tools_la_DEPENDENCIES = libgcj.la libgcj.spec \
|
|
||||||
$(libgcj_tools_la_version_dep) $(am__append_19)
|
|
||||||
libgcj_tools_la_LINK = $(LIBLINK) $(libgcj_tools_la_LDFLAGS) \
|
|
4
sources
4
sources
@ -1 +1,3 @@
|
|||||||
SHA512 (gcc-6.3.1-20161221.tar.bz2) = b75b41e9e210cf366a24cd41726df0c817eb334a0b6d2c1ab5c52f6c5e08cbc6ccde196c65c5718c283384d6f926c3f38a0e5c8959cccd18b8c15b0e7a97abcd
|
SHA512 (gcc-10.0.1-20200216.tar.xz) = 56507e273b00e85ed4145e80df65d9b4e4791f23e7cb5d931f85b9420cbf3a7125ba49978dc73c2987c0a6101f741dc5a60a08cb3346d4c5082400cbcfcdd008
|
||||||
|
SHA512 (newlib-cygwin-50e2a63b04bdd018484605fbb954fd1bd5147fa0.tar.xz) = 9ceea0b883185fe489724d54a7e909bb6ed4785fcadf80162033dc6a133e2657337175601278e4155d1f8fac275ff9c8a02572aea876166c608774c809f832e9
|
||||||
|
SHA512 (nvptx-tools-5f6f343a302d620b0868edab376c00b15741e39e.tar.xz) = f6d10db94fa1570ae0f94df073fa3c73c8e5ee16d59070b53d94f7db0de8a031bc44d7f3f1852533da04b625ce758e022263855ed43cfc6867e0708d001e53c7
|
||||||
|
7
update-gcc.sh
Executable file
7
update-gcc.sh
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
[ -d gcc-dir.tmp ] && echo gcc-dir.tmp already exists && exit 1
|
||||||
|
git clone --depth 1 git://gcc.gnu.org/git/gcc.git gcc-dir.tmp
|
||||||
|
git --git-dir=gcc-dir.tmp/.git fetch --depth 1 origin $1
|
||||||
|
d=`date --iso | sed 's/-//g'`
|
||||||
|
git --git-dir=gcc-dir.tmp/.git archive --prefix=gcc-10.0.1-$d/ $1 | xz -9e > gcc-10.0.1-$d.tar.xz
|
||||||
|
rm -rf gcc-dir.tmp
|
Loading…
Reference in New Issue
Block a user