11.1.1-7
This commit is contained in:
parent
012193ab2c
commit
517529187f
@ -16,7 +16,7 @@ libgomp/
|
|||||||
|
|
||||||
--- gcc/gcc.c.jj 2017-01-17 10:28:40.000000000 +0100
|
--- gcc/gcc.c.jj 2017-01-17 10:28:40.000000000 +0100
|
||||||
+++ gcc/gcc.c 2017-01-20 16:26:29.649962902 +0100
|
+++ gcc/gcc.c 2017-01-20 16:26:29.649962902 +0100
|
||||||
@@ -290,6 +290,10 @@ static const char *spec_host_machine = D
|
@@ -319,6 +319,10 @@ static const char *spec_host_machine = D
|
||||||
|
|
||||||
static char *offload_targets = NULL;
|
static char *offload_targets = NULL;
|
||||||
|
|
||||||
@ -27,7 +27,7 @@ libgomp/
|
|||||||
/* Nonzero if cross-compiling.
|
/* Nonzero if cross-compiling.
|
||||||
When -b is used, the value comes from the `specs' file. */
|
When -b is used, the value comes from the `specs' file. */
|
||||||
|
|
||||||
@@ -4457,7 +4461,10 @@ process_command (unsigned int decoded_op
|
@@ -4828,7 +4832,10 @@ process_command (unsigned int decoded_op
|
||||||
/* If the user didn't specify any, default to all configured offload
|
/* If the user didn't specify any, default to all configured offload
|
||||||
targets. */
|
targets. */
|
||||||
if (ENABLE_OFFLOADING && offload_targets == NULL)
|
if (ENABLE_OFFLOADING && offload_targets == NULL)
|
||||||
@ -37,9 +37,9 @@ libgomp/
|
|||||||
+ offload_targets_default = true;
|
+ offload_targets_default = true;
|
||||||
+ }
|
+ }
|
||||||
|
|
||||||
if (output_file
|
/* Handle -gtoggle as it would later in toplev.c:process_options to
|
||||||
&& strcmp (output_file, "-") != 0
|
make the debug-level-gt spec function work as expected. */
|
||||||
@@ -7693,6 +7700,8 @@ driver::maybe_putenv_OFFLOAD_TARGETS ()
|
@@ -8494,6 +8501,8 @@ driver::maybe_putenv_OFFLOAD_TARGETS ()
|
||||||
obstack_grow (&collect_obstack, offload_targets,
|
obstack_grow (&collect_obstack, offload_targets,
|
||||||
strlen (offload_targets) + 1);
|
strlen (offload_targets) + 1);
|
||||||
xputenv (XOBFINISH (&collect_obstack, char *));
|
xputenv (XOBFINISH (&collect_obstack, char *));
|
||||||
|
Loading…
Reference in New Issue
Block a user