diff options
| author | Andrea Corallo | 2020-08-24 10:25:36 +0200 |
|---|---|---|
| committer | Andrea Corallo | 2020-08-26 21:25:45 +0200 |
| commit | f8321f07ce874e9c7294cdb8e15f8a08ba064aa7 (patch) | |
| tree | 8effc0269fa73b9c8fc18ff5a26f716cc03f8e54 /src | |
| parent | c17013ae766d7d3dd79122e1ee99d3f2ec4d9f04 (diff) | |
| download | emacs-f8321f07ce874e9c7294cdb8e15f8a08ba064aa7.tar.gz emacs-f8321f07ce874e9c7294cdb8e15f8a08ba064aa7.zip | |
* src/comp.c (add_driver_options): Fix missing condition + clean-up pragma
Diffstat (limited to 'src')
| -rw-r--r-- | src/comp.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/comp.c b/src/comp.c index 5bfbfbaf3c9..7f6bbe395b5 100644 --- a/src/comp.c +++ b/src/comp.c | |||
| @@ -4146,13 +4146,12 @@ add_driver_options (void) | |||
| 4146 | 4146 | ||
| 4147 | #if defined (LIBGCCJIT_HAVE_gcc_jit_context_add_driver_option) \ | 4147 | #if defined (LIBGCCJIT_HAVE_gcc_jit_context_add_driver_option) \ |
| 4148 | || defined (WINDOWSNT) | 4148 | || defined (WINDOWSNT) |
| 4149 | #pragma GCC diagnostic ignored "-Waddress" | ||
| 4150 | load_gccjit_if_necessary (true); | 4149 | load_gccjit_if_necessary (true); |
| 4151 | FOR_EACH_TAIL (options) | 4150 | if (!NILP (Fcomp_native_driver_options_available_p ())) |
| 4152 | gcc_jit_context_add_driver_option (comp.ctxt, | 4151 | FOR_EACH_TAIL (options) |
| 4153 | SSDATA (XCAR (options))); | 4152 | gcc_jit_context_add_driver_option (comp.ctxt, |
| 4153 | SSDATA (XCAR (options))); | ||
| 4154 | return; | 4154 | return; |
| 4155 | #pragma GCC diagnostic pop | ||
| 4156 | #endif | 4155 | #endif |
| 4157 | if (CONSP (options)) | 4156 | if (CONSP (options)) |
| 4158 | xsignal1 (Qnative_compiler_error, | 4157 | xsignal1 (Qnative_compiler_error, |