Hi,
this patch adds a test to see if the host compiler supports -std=c++11
in ms-sysv.exp, and if not marks ms-sysv as unsupported.
Committed.
Thanks,
- Tom
Test if host compiler supports -std=c++11 in ms-sysv.exp
2017-05-30 Tom de Vries <t...@codesourcery.com>
PR testsuite
Hi,
this patch uses maybe_split_mode in nvptx_print_operand.
Committed as trivial.
Thanks,
- Tom
Use maybe_split_mode in nvptx_print_operand
2017-05-12 Tom de Vries <t...@codesourcery.com>
* config/nvptx/nvptx.c (nvptx_print_operand): Use maybe_split_mode.
---
gcc/config/nvptx/n
Hi,
this patch adds and uses new utility function split_mode_p.
Committed as trivial.
Thanks,
- Tom
Add and use split_mode_p
2017-05-12 Tom de Vries <t...@codesourcery.com>
* config/nvptx/nvptx.c (split_mode_p): New function.
(nvptx_declare_function_name, nvptx_print_operand
Hi,
this patch adds v2di support to the nvptx target. This allows us to
generate 128-bit loads and stores.
Tested in nvptx mainkernel mode and x86_64 accelerator mode.
OK for trunk?
Thanks,
- Tom
Add v2di support
2017-06-06 Tom de Vries <t...@codesourcery.com>
* config/nvptx
[ was: Re: [nvptx, PATCH, 3/3] Add v2di support ]
On 06/06/2017 03:12 PM, Tom de Vries wrote:
diff --git a/libgomp/testsuite/libgomp.oacc-c/vec.c
b/libgomp/testsuite/libgomp.oacc-c/vec.c
new file mode 100644
index 000..79c1c17
--- /dev/null
+++ b/libgomp/testsuite/libgomp.oacc-c/vec.c
On 06/27/2017 09:38 AM, Jakub Jelinek wrote:
On Tue, Jun 27, 2017 at 09:17:57AM +0200, Tom de Vries wrote:
This patch uses secure_getenv for GOMP_DEBUG.
It factors out the secure_getenv code from plugin-hsa.c into
libgomp/secure_getenv.h, and reuses it in env.c.
I've added _GNU_SOURCE before
On 06/26/2017 05:29 PM, Jakub Jelinek wrote:
On Mon, Jun 26, 2017 at 03:26:57PM +, Joseph Myers wrote:
On Mon, 26 Jun 2017, Tom de Vries wrote:
2. Handle GOMP_OPENACC_NVPTX_{DISASM,SAVE_TEMPS} in libgomp nvptx plugin
This patch adds handling of:
- GOMP_OPENACC_NVPTX_SAVE_TEMPS=[01
[ was : Re: [openacc, testsuite, committed] Fix
libgomp.oacc-c-c++-common/loop-g-{1,2}.c for non-nvidia devices ]
On 09/28/2017 08:47 AM, Tom de Vries wrote:
Hi,
this patch makes the test-cases libgomp.oacc-c-c++-common/loop-g-{1,2}.c
work for non-nvidia devices.
For nvidia devices
).
This makes the test-cases sensitive to changes in computation order.
Fixed by modifying the arrays that are being reduced to contain smaller
values.
Committed.
Thanks,
- Tom
Fix openacc float reduction testcases
2017-10-04 Tom de Vries <t...@codesourcery.com>
* testsuite/libgomp.oa
Hi,
this patch enables some openacc test-cases for non-nvidia devices.
Committed.
Thanks,
- Tom
Enable libgomp.oacc-*/declare-*.{c,f90} for non-nvidia devices
2017-10-16 Tom de Vries <t...@codesourcery.com>
* testsuite/libgomp.oacc-c-c++-common/declare-1.c: Don't r
}
}
...
it's listed as unsupported instead.
The info entry looks like:
...
'dg-require-stack-size SIZE'
Skip the test if the target does not support a stack size of SIZE.
...
OK for trunk?
Thanks,
- Tom
Add dg-require-stack-size
2017-10-16 Tom de Vries <t...@codesourcery.com>
On 10/17/2017 02:51 PM, Tom de Vries wrote:
On 10/17/2017 01:19 PM, Thomas Schwinge wrote:
Hi!
On Mon, 16 Oct 2017 10:49:45 +0200, Tom de
Vries<tom_devr...@mentor.com> wrote:
this patch enables some openacc test-cases for non-nvidia devices.
Committed.
Thanks!
--- a/libgomp/tes
On 10/17/2017 01:19 PM, Thomas Schwinge wrote:
Hi!
On Mon, 16 Oct 2017 10:49:45 +0200, Tom de Vries<tom_devr...@mentor.com> wrote:
this patch enables some openacc test-cases for non-nvidia devices.
Committed.
Thanks!
--- a/libgomp/testsuite/libgomp.oacc-fortran/declare-1.f90
+++ b/l
On 10/17/2017 04:46 PM, Jakub Jelinek wrote:
On Tue, Oct 17, 2017 at 04:42:58PM +0200, Tom de Vries wrote:
I found the culprit, in gfortran-dg-runtest:
...
# look if this is dg-do-run test, in which case
# we cycle through the option list, otherwise we don't
On 08/28/2017 08:26 PM, Tom de Vries wrote:
Hi,
I think I found a bug in r17465:
...
* cse.c (simplify_ternary_operation): Handle more IF_THEN_ELSE
simplifications.
diff --git a/gcc/cse.c b/gcc/cse.c
index e001597..3c27387 100644
--- a/gcc/cse.c
+++ b/gcc/cse.c
@@ -4713,6
n the patch for
PR82052 is reverted.
Committed.
Thanks,
- Tom
Fix call arguments mismatch in gcc.c-torture/compile/pr82052.c
2017-09-04 Tom de Vries <t...@codesourcery.com>
PR tree-optimization/82052
* gcc.c-torture/compile/pr82052.c (fn2): Add parameters corresponding to
call i
for trunk, if testing is ok?
Thanks,
- Tom
Pretty-print GOACC_REDUCTION arguments
Prints
sum_5 = GOACC_REDUCTION (SETUP, _3, 0, 0 /*gang*/, 67 /*+*/, 0);
instead of
sum_5 = GOACC_REDUCTION (SETUP, _3, 0, 0, 67, 0);
2017-09-25 Tom de Vries <t...@codesourcery.com>
* gimple-pretty-p
. This patch implements that.
Committed.
Thanks,
- Tom
[nvptx] Add exit after call to noreturn function
2017-09-25 Tom de Vries <t...@codesourcery.com>
PR target/80035
PR target/81069
* config/nvptx/nvptx.c (nvptx_output_call_insn): Add exit after call to
noreturn function.
---
gcc/config
On 09/01/2017 10:51 AM, Tom de Vries wrote:
On 08/31/2017 11:44 PM, Jeff Law wrote:
On 08/28/2017 12:26 PM, Tom de Vries wrote:
Hi,
I think I found a bug in r17465:
...
* cse.c (simplify_ternary_operation): Handle more IF_THEN_ELSE
simplifications.
diff --git a/gcc/cse.c b
Hi,
this patch requires effective target nonlocal_goto for
gcc.c-torture/compile/pr82337.c.
Committed.
Thanks,
- Tom
Require nonlocal_goto for gcc.c-torture/compile/pr82337.c
2017-10-02 Tom de Vries <t...@codesourcery.com>
* gcc.c-torture/compile/pr82337.c: Add
dg-require-eff
/loop-g-{1,2}.c for non-nvidia devices
2017-09-28 Tom de Vries <t...@codesourcery.com>
* testsuite/libgomp.oacc-c-c++-common/loop-g-1.c (main): Remove
vector_length(32) clause from acc parallel directive.
* testsuite/libgomp.oacc-c-c++-common/loop-g-2.c (main): Same.
---
libgomp/tes
On 09/28/2017 10:37 AM, Thomas Schwinge wrote:
Hi Tom!
On Thu, 28 Sep 2017 09:41:15 +0200, Tom de Vries <tom_devr...@mentor.com> wrote:
On 11/07/2013 09:11 AM, Jakub Jelinek wrote:
On Wed, Nov 06, 2013 at 08:42:16PM +0100, tho...@codesourcery.com wrote:
From: Thomas Schwing
On 09/27/2017 03:46 PM, Thomas Schwinge wrote:
Hi!
On Mon, 25 Sep 2017 16:57:52 +0200, Tom de Vries <tom_devr...@mentor.com> wrote:
currently for a GOACC_REDUCTION internal fn call we print:
...
sum_5 = GOACC_REDUCTION (SETUP, _3, 0, 0, 67, 0);
...
This patch adds a comment fo
.
OK for trunk?
Thanks,
- Tom
Remove superfluous -fopenmp from libgomp testcases
2017-09-16 Tom de Vries <t...@codesourcery.com>
* testsuite/libgomp.c++/for-12.C: Remove superfluous -fopenmp option
setting.
* testsuite/libgomp.c++/pr69393.C: Same.
* testsuite/libgomp.c++/tasklo
Hi,
I think I found a bug in r17465:
...
* cse.c (simplify_ternary_operation): Handle more IF_THEN_ELSE
simplifications.
diff --git a/gcc/cse.c b/gcc/cse.c
index e001597..3c27387 100644
--- a/gcc/cse.c
+++ b/gcc/cse.c
@@ -4713,6 +4713,17 @@ simplify_ternary_operation (code, mode,
On 07/04/2017 12:23 PM, Tom de Vries wrote:
On 07/04/2017 12:05 PM, Tom de Vries wrote:
On 07/03/2017 04:24 PM, Tom de Vries wrote:
On 07/03/2017 04:08 PM, Thomas Schwinge wrote:
Hi!
On Mon, 26 Jun 2017 17:29:11 +0200, Jakub Jelinek <ja...@redhat.com>
wrote:
On Mon, Jun 26, 2017 at
On 08/31/2017 11:44 PM, Jeff Law wrote:
On 08/28/2017 12:26 PM, Tom de Vries wrote:
Hi,
I think I found a bug in r17465:
...
* cse.c (simplify_ternary_operation): Handle more IF_THEN_ELSE
simplifications.
diff --git a/gcc/cse.c b/gcc/cse.c
index e001597..3c27387 100644
[ was: Re: [openacc, testsuite, committed] Fix
libgomp.oacc-c-c++-common/parallel-reduction.c for non-nvidia devices ]
On 09/27/2017 02:39 PM, Tom de Vries wrote:
Hi,
this patch makes the test-case
libgomp.oacc-c-c++-common/parallel-reduction.c work for non-nvidia devices.
Committed
Hi,
this patch makes the test-case
libgomp.oacc-c-c++-common/parallel-reduction.c work for non-nvidia devices.
Committed as obvious.
Thanks,
- Tom
Fix libgomp.oacc-c-c++-common/parallel-reduction.c for non-nvidia devices
2017-09-27 Tom de Vries <t...@codesourcery.com>
* tes
his patch that:
- fixes the warning line number
- rewrites the absolute warning line number into a relative one
- adds the abort declaration
Committed as obvious.
Thanks,
- Tom
Fix gcc.dg/cold-1.c
2017-10-09 Tom de Vries <t...@codesourcery.com>
* gcc.dg/cold-1.c (foo1): Fix warning li
On 10/17/2017 06:14 PM, Mike Stump wrote:
On Oct 16, 2017, at 3:16 AM, Tom de Vries <tom_devr...@mentor.com> wrote:
I noticed gcc.dg/tree-ssa/ldist-27.c failing for nvptx due to a too large stack
size.
OK for trunk?
Hum. There is an existing mechanism (find-grep STACK_SIZE) in th
On 10/17/2017 05:34 PM, Tom de Vries wrote:
On 10/17/2017 04:46 PM, Jakub Jelinek wrote:
the presence/absence of
explicit dg-do run can then be used to decide if it should loop through
options or not.
I'd be in favor of specifying this clearly, f.i. as:
...
'! { dg-no-torture-options
ZE?
Thanks,
- Tom
Specify required stack size for gcc.dg/tree-ssa/ldist-27.c
2017-10-19 Tom de Vries <t...@codesourcery.com>
* gcc.dg/tree-ssa/ldist-27.c: Use dg-require-stack-size.
---
gcc/testsuite/gcc.dg/tree-ssa/ldist-27.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/t
On 10/17/2017 06:33 PM, Mike Stump wrote:
On Oct 17, 2017, at 8:34 AM, Tom de Vries <tom_devr...@mentor.com> wrote:
OK, if full testing is ok?
I believe this was fully intentional and the presence/absence of
explicit dg-do run can then be used to decide if it should loop through
o
[ add missing cc gcc-patches ]
On 11/24/2017 04:31 PM, Tom de Vries wrote:
Hi,
The libgomp offloading tests libgomp.c/for-{3,5,6}.c are monolithic
tests which test lots of subtests, and if any of them fail, it would be
good to be able to quickly known which subtest(s) fail. [ And if you fix
On 05/03/2016 08:50 AM, Oleg Endo wrote:
Hi,
The attached patch cleans up the SH div and mul patterns a bit. Almost
no changes in CSiBE, except for a few minor improvements.
Tested on sh-elf with
make -k check RUNTESTFLAGS="--target_board=sh-sim\{-m2/-ml,-m2/-mb,
Hi,
This removes a semicolon after the ft32 version of
ASM_OUTPUT_ADDR_VEC_ELT. This allows the macro to be used in
if-then-elses without curly braces.
Build for ft32.
Committed as obvious.
Thanks,
- Tom
[ft32] Remove semicolon after ASM_OUTPUT_ADDR_VEC_ELT
2017-11-23 Tom de Vries &l
Hi,
this patch wraps CLASS_TABLE_HASH in "do {} while (0)". This allows the
macro to be used in if-then-elses without curly braces.
Build libobcj for x86_64.
Committed as obvious.
Thanks,
- Tom
[libobjc] Wrap CLASS_TABLE_HASH in do {} while (0)
2017-11-23 Tom de
RETURN_NULL_IF_FAIL_NONNULL_NUMERIC_TYPE in JIT_{BEGIN,END}_STMT.
2017-11-23 Tom de Vries <t...@codesourcery.com>
* libgccjit.c (RETURN_NULL_IF_FAIL_NONNULL_NUMERIC_TYPE): Wrap in
JIT_{BEGIN,END}_STMT.
---
gcc/jit/libgccjit.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gcc/jit/libgccj
Hi,
this patch wraps the sh version of ASM_OUTPUT_ADDR_VEC_ELT in "do {}
while (0)". This allows the macro to be used in if-then-elses without
curly braces.
Build for sh.
Committed as obvious.
Thanks,
- Tom
[sh] Wrap ASM_OUTPUT_ADDR_VEC_ELT in do {} while (0)
2017-11-23 Tom de
On 12/14/2017 03:18 PM, Rainer Orth wrote:
Hi Jakub,
On Thu, Dec 14, 2017 at 03:09:02PM +0100, Tom de Vries wrote:
On 12/14/2017 02:47 PM, Jakub Jelinek wrote:
On Thu, Dec 14, 2017 at 02:40:12PM +0100, Tom de Vries wrote:
--- a/gcc/testsuite/gcc.dg/visibility-22.c
+++ b/gcc/testsuite/gcc.dg
On 10/16/2017 10:38 PM, Vladimir Makarov wrote:
This is another version of the patch to fix
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82353
The patch was successfully bootstrapped on x86-64 with Go and Ada.
Committed as rev. 253796.
Hi Vladimir,
AFAIU this bit of the patch makes
out due to random code
execution).
OK for trunk?
Thanks,
- Tom
Require effective target weak_undefined for visibility-22.c
2017-12-14 Tom de Vries <t...@codesourcery.com>
* lib/target-supports.exp (check_effective_target_weak_undefined): New
proc.
* gcc.dg/visibility-22.c: R
On 12/14/2017 02:47 PM, Jakub Jelinek wrote:
On Thu, Dec 14, 2017 at 02:40:12PM +0100, Tom de Vries wrote:
--- a/gcc/testsuite/gcc.dg/visibility-22.c
+++ b/gcc/testsuite/gcc.dg/visibility-22.c
@@ -1,6 +1,7 @@
/* PR target/32219 */
/* { dg-do run } */
/* { dg-require-visibility
On 09/21/2017 12:07 PM, Richard Biener wrote:
-exit_edge = create_empty_if_region_on_edge (entry_edge,
- unshare_expr (cond_expr));
This removes the fix for PR70045:
...
diff --git a/gcc/graphite-isl-ast-to-gimple.c
On 12/19/2017 02:05 PM, Richard Biener wrote:
On Tue, 19 Dec 2017, Tom de Vries wrote:
On 09/21/2017 12:07 PM, Richard Biener wrote:
-exit_edge = create_empty_if_region_on_edge (entry_edge,
- unshare_expr (cond_expr));
This removes the fix
nd the patch moves this test to a new function rtx_for_static_chain and
uses that function instead of targetm.calls.static_chain in the backend,
to fix this problem.
Bootstrapped and reg-tested on x86_64.
OK for trunk?
Thanks,
- Tom
Don't call targetm.calls.static_chain in non-static function
[ was: Re: patch to fix PR82353 ]
On 12/14/2017 06:01 PM, Vladimir Makarov wrote:
On 12/13/2017 07:34 AM, Tom de Vries wrote:
On 10/16/2017 10:38 PM, Vladimir Makarov wrote:
This is another version of the patch to fix
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82353
The patch
On 12/20/2017 12:25 AM, Cesar Philippidis wrote:
In CUDA 9, Nvidia removed support for treating the labels of functions
as generic address spaces as part of their PTX 6.0 changes. More
specifically,
Hi,
I wrote a patch that called some function in the common libgomp code
from GOMP_OFFLOAD_fini_device, and found that it hung due to the fact that:
- gomp_target_fini locks devices[*].lock while calling
GOMP_OFFLOAD_fini_device, and
- the function call that I added also locked that same
Hi,
GOACC_enter_exit_data has this prototype:
...
void
GOACC_enter_exit_data (int device, size_t mapnum,
void **hostaddrs, size_t *sizes,
unsigned short *kinds,
int async, int num_waits, ...)
...
And GOACC_declare calls
ues of acc_async_noval and acc_async_sync. No functional
changes.
Build and tested on x86_64 with nvptx accelerator.
OK for trunk if bootstrap and reg-test on x86_64 succeeds?
Thanks,
- Tom
Factor out async argument utility functions
2017-11-17 Tom de Vries <t...@codesourcery.com>
* o
Hi,
this removes a semicolon after the ASM_OUTPUT_LABELREF macro body.
Committed as obvious.
Thanks,
- Tom
[cr16, powerpcspe, rs6000] Remove semicolon after ASM_OUTPUT_LABELREF macro body
2017-11-12 Tom de Vries <t...@codesourcery.com>
* config/cr16/cr16.h (ASM_OUTPUT_LABELREF):
Hi,
this patch removes a semicolon after the ASM_OUTPUT_ASCII macro body in
elfos.h.
Build for x86_64.
Committed as obvious.
Thanks,
- Tom
Remove semicolon after ASM_OUTPUT_ASCII
2017-11-12 Tom de Vries <t...@codesourcery.com>
* config/elfos.h (ASM_OUTPUT_ASCII): Remove semicolon
Hi,
this patch wraps riscv.h's ASM_OUTPUT_LABELREF in "do {} while (0)".
Build for riscv64.
Committed as obvious.
Thanks,
- Tom
[riscv] Wrap ASM_OUTPUT_LABELREF in do {} while (0)
2017-11-12 Tom de Vries <t...@codesourcery.com>
* config/riscv/riscv.h (ASM_OUTPUT_LABEL
)
+{
+ char vla[n];
Hi,
this patch requires effective target alloca for test-case
c-c++-common/Wstringop-truncation.c.
Committed as obvious.
Thanks,
- Tom
Require alloca for c-c++-common/Wstringop-truncation.c
2017-11-14 Tom de Vries <t...@codesourcery.com>
* c-c++-common/Wst
Hi,
this patch allows openacc test-case asyncwait-1.c to run for non-nvidia
devices.
Committed as obvious.
Thanks,
- Tom
Allow asyncwait-1.c to run for non-nvidia devices
2017-11-14 Tom de Vries <t...@codesourcery.com>
* testsuite/libgomp.oacc-c-c++-common/asyncwait-1.c: Allow
On 11/20/2017 03:52 AM, Jeff Law wrote:
Sorry, it's taken so long to get back to this patch...
On 09/01/2017 02:51 AM, Tom de Vries wrote:
On 08/31/2017 11:44 PM, Jeff Law wrote:
On 08/28/2017 12:26 PM, Tom de Vries wrote:
Hi,
I think I found a bug in r17465:
...
* cse.c
Hi,
when writing macros that are intended to be used as if they were single
statements, there are a couple of common problems:
1. Ending in semicolon
...
#define foo stmt;
...
This works fine if we use it like:
...
void
bar (void)
{
foo;
}
...
but we get an "else without a previous if"
unbreak the build).
Thanks,
- Tom
[vms] Add missing vmsdbgout_early_finish
2017-11-18 Tom de Vries <t...@codesourcery.com>
PR target/82961
* vmsdbgout.c (vmsdbgout_early_finish): New function.
(vmsdbg_debug_hooks): Set early_finish field to vmsdbgout_early_finish.
---
gcc/vmsdb
Hi,
this patch removes a semicolon after ASM_OUTPUT_CASE_END. This allows
the macro to be used in if-then-elses without curly braces.
Build visium-unknown-elf.
Committed as obvious.
Thanks,
- Tom
[visium] Remove semicolon after ASM_OUTPUT_CASE_END
2017-11-14 Tom de Vries &l
On 11/17/2017 08:53 PM, Jan Hubicka wrote:
Hi,
this patch makes static profile to be in range 0...2^30 rather than
0...1. This is safe now as profile-counts are taking care of
possible overflow when the profile ends up cummulating too high after
inlining.
MThere are two testcases that needs
olon after do while (0) in FUNCTION_PROFILER
2017-11-19 Tom de Vries <t...@codesourcery.com>
* config/arc/arc.h (FUNCTION_PROFILER): Remove semicolon after
"do while (0)".
---
gcc/config/arc/arc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/config/
NAME
2017-11-14 Tom de Vries <t...@codesourcery.com>
* config/mcore/mcore-elf.h (MCORE_EXPORT_NAME): Remove semicolon after
"do {} while (0)".
* config/mcore/mcore.h (ASM_OUTPUT_ALIGNED_COMMON): After missing
semicolon after MCORE_EXPORT_NAME call.
---
gcc/config/mcore/mcor
} while (0) in TARGET_OS_CPP_BUILTINS
2017-11-14 Tom de Vries <t...@codesourcery.com>
* config/phoenix.h (TARGET_OS_CPP_BUILTINS): Remove semicolon after
"do {} while (0)".
---
gcc/config/phoenix.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/config/phoenix.h b/gcc/conf
this patch, or approve
as trivial?
Thanks,
- Tom
[libgcc, alpha, vms] Remove semicolon after do {} while (0) in UPDATE_FS_FOR_CFA_GR
2017-11-19 Tom de Vries <t...@codesourcery.com>
* config/alpha/vms-unwind.h (UPDATE_FS_FOR_CFA_GR): Remove semicolon after
"do {} while (0)".
--
} while (0) in REGISTER_TARGET_PRAGMAS
2017-11-14 Tom de Vries <t...@codesourcery.com>
* config/ft32/ft32.h (REGISTER_TARGET_PRAGMAS): Remove semicolon after
"do {} while (0)".
* config/spu/spu.h (REGISTER_TARGET_PRAGMAS): Same.
---
gcc/config/ft32/ft32.h | 2 +-
gcc/config/spu/spu.h
for trunk if x86_64 bootstrap and reg-test succeeds?
Thanks,
- Tom
Handle GOMP_NVPTX_PTXRW in libgomp nvptx plugin
2017-11-21 Tom de Vries <t...@codesourcery.com>
* plugin/plugin-nvptx.c (_GNU_SOURCE): Define.
(gomp_nvptx_ptxrw): New static variable.
(parse_gomp_nvptx
,
- Tom
Add libgomp.oacc-c-c++-common/f-asyncwait-{1,2,3}.c
2017-11-15 Tom de Vries <t...@codesourcery.com>
* testsuite/libgomp.oacc-c-c++-common/f-asyncwait-1.c: New test, copied
from asyncwait-1.f90. Rewrite into C. Rewrite from float to int.
* testsuite/libgomp.oacc-c-c++-co
]
...
Fixed by adding -Wno-stringop-truncation.
Committed as obvious.
Thanks,
- Tom
Compile strncpy-fix-1.c with -Wno-stringop-truncation
2017-11-15 Tom de Vries <t...@codesourcery.com>
* gcc.dg/strncpy-fix-1.c: Add -Wno-stringop-truncation to dg-options.
---
gcc/testsuite/gcc.dg/s
Hi,
this removes a semicolon after "do {} while (0)" in several macro bodies
in libsanitizer. This allows the macros to be used in if-then-elses
without curly braces.
Committed as obvious.
Thanks,
- Tom
2017-11-02 Tom de Vries <t...@codesourcery.com>
Hi,
this patch removes a semicolon after ASM_OUTPUT_BEFORE_CASE_LABEL macro
bodies. This allows the macro to be used in if-then-elses without curly
braces.
Bootstrapped and reg-tested on x86_64.
Committed as obvious.
Thanks,
- Tom
2017-11-02 Tom de Vries <t...@codesourcery.
Hi,
this patch removes a semicolon after "do {} while (0)" in BUF_APPEND.
This allows the macro to be used in if-then-elses without curly braces.
Committed as obvious.
Thanks,
- Tom
2017-11-02 Tom de Vries <t...@codesourcery.com>
PR other/82784
* l
Hi,
this patch removes a semicolon after "do {} while (0)" in match macros.
This allows the macros to be used in if-then-elses without curly braces.
Thanks,
- Tom
2017-11-02 Tom de Vries <t...@codesourcery.com>
PR other/82784
* parse.c (match, matcha
Hi,
this patch removes a semicolon after "do {} while (0)" in
MPN_MUL_N_RECURSE. This allows the macro to be used in if-then-elses
without curly braces.
Committed as obvious.
Thanks,
- Tom
2017-11-02 Tom de Vries <t...@codesourcery.com>
PR other/82784
* p
Hi,
this patch removes a semicolon after "do {} while (0)" in DEBUG_PRINT.
This allows the macro to be used in if-then-elses without curly braces.
Committed as obvious.
Thanks,
- Tom
2017-11-02 Tom de Vries <t...@codesourcery.com>
PR other/82784
N_1 in the if
statement as a normal single statement, as made possible by the "do {}
while (0)".
The original DEF_SANITIZER_BUILTIN is still used with the .def file, as
before.
Committed as obvious.
Thanks,
- Tom
2017-11-02 Tom de Vries <t...@c
On 11/05/2017 03:32 PM, Steve Kargl wrote:
On Sun, Nov 05, 2017 at 11:05:02AM +0100, Tom de Vries wrote:
this patch removes a semicolon after "do {} while (0)" in match macros.
The patch contains this part.
This allows the macros to be used in if-then-elses without cu
made this scan fail (with 25 matches, instead of 7), because the dump
contains lines with .common.filename = &"".
Fixed by making the scan more precise.
Committed as obvious.
Thanks,
- Tom
Fix scan pattern in gfortran.dg/implied_do_io_1.f90
2017-11-02 Tom de Vries <t...@co
hanks,
- Tom
Fix scan-assembler patterns in i386/naked-{1,2}.c
2017-11-02 Tom de Vries <t...@codesourcery.com>
PR testsuite/82415
* gcc.target/i386/naked-1.c: Make scan patterns more precise.
* gcc.target/i386/naked-2.c: Same.
---
gcc/testsuite/gcc.target/i386/naked-1.c | 4 ++--
gcc/testsui
} while (0) in FP_HANDLE_EXCEPTIONS
2017-11-06 Tom de Vries <t...@codesourcery.com>
PR other/82784
* config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
semicolon after "do {} while (0)".
* config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
* config/ia64/sfp-machine.h (F
Hi,
this patch removes a semicolon after "do {} while (0)" in
REGISTER_CFA_OFFSET_FOR (no ChangeLog yet).
Can you build & test this patch (or approve as trivial)?
Thanks,
- Tom
[libgcc, rs6000] Remove semicolon after do {} while (0) in REGISTER_CFA_OFFSET_FOR
---
HIFT_ARITH
2017-11-06 Tom de Vries <t...@codesourcery.com>
PR other/82784
* config/arm/arm.c (HANDLE_NARROW_SHIFT_ARITH): Remove semicolon after
"while {} do (0)".
(arm_rtx_costs_internal): Add missing semicolon after
HANDLE_NARROW_SHIFT_ARITH call.
---
gcc/config/arm/
On 11/07/2017 09:55 AM, Tom de Vries wrote:
Hi,
this patch removes a semicolon after "do {} while (0)" in
SUBTARGET_OVERRIDE_OPTIONS (no ChangeLog yet).
Can you build & test this patch (or approve as trivial)?
Hi,
Can you build & test the powerpcspe part of this
Hi,
this patch removes a semicolon after "do {} while (0)" in
SUBTARGET_OVERRIDE_OPTIONS (no ChangeLog yet).
Can you build & test this patch (or approve as trivial)?
Thanks,
- Tom
[powerpcspe, rs6000] Remove semicolon after do {} while (0) in SUBTARGET_OVERRIDE_OPTIONS
---
_END
2017-11-07 Tom de Vries <t...@codesourcery.com>
* config/mips/mips.h (ASM_OUTPUT_CASE_END): Remove semicolon after
"do {} while (0)".
---
gcc/config/mips/mips.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/config/mips/mips.h b/gcc/config
On 11/08/2017 09:16 AM, Jakub Jelinek wrote:
On Sun, Nov 05, 2017 at 11:02:32AM +0100, Tom de Vries wrote:
this removes a semicolon after "do {} while (0)" in several macro bodies in
libsanitizer. This allows the macros to be used in if-then-elses without
curly braces.
Committed
if (d)
^
...
Build for mips target.
Committed as obvious.
Thanks,
- Tom
[mips] Wrap ASM_OUTPUT_LABELREF in do {} while (0)
2017-11-07 Tom de Vries <t...@codesourcery.com>
* config/mips/mips.h (ASM_OUTPUT_LABELREF): Wrap in "do {} while (0)".
---
gcc/config/mips/mips.h |
-end/82875 */
+/* { dg-do compile } */
+/* { dg-options "-ftree-ter" } */
+
+const int a = 100;
+
+void
+foo (void)
+{
+ int c[a];
+}
Hi,
this patch requires effective target alloca for pr82875.c.
Committed.
Thanks,
- Tom
Require effective target alloca for pr82875.c
2017-12-04 To
dump files ends with ";; Function ...", which should be in
the next lra_start dump file. Once we enable this using a switch we
can probably do better.
Any comments?
Thanks,
- Tom
Add dump_bump
2017-12-07 Tom de Vries <t...@codesourcery.com>
* dumpfile.c (DUMP_FILE_INFO): Ad
On 09/14/2017 12:55 PM, Jakub Jelinek wrote:
Ok with those changes
Hi,
this PR has been fixed on trunk (
https://gcc.gnu.org/viewcvs/gcc?view=revision=252873 ).
We cannot count this PR as a 6/7 regression, because this test-case has
been failing since fopenmp was introduced in 4.2. Still,
On 10/30/2017 08:15 AM, Jakub Jelinek wrote:
On Fri, Oct 27, 2017 at 03:57:28PM +0200, Tom de Vries wrote:
how about this approach:
1 - Move async_run from plugin-hsa.c to default_async_run
2 - Implement omp async support for nvptx
?
The first patch moves the GOMP_OFFLOAD_async_run
On 10/30/2017 12:55 PM, Tom de Vries wrote:
On 10/30/2017 08:15 AM, Jakub Jelinek wrote:
On Fri, Oct 27, 2017 at 03:57:28PM +0200, Tom de Vries wrote:
how about this approach:
1 - Move async_run from plugin-hsa.c to default_async_run
2 - Implement omp async support for nvptx
?
The first patch
Hi,
this patch fixes a scan-assembler line in tree-ssa/loop-1.c for nvptx.
Committed.
Thanks,
- Tom
Fix scan-assembler in tree-ssa/loop-1.c for nvptx
2017-10-25 Tom de Vries <t...@codesourcery.com>
* gcc.dg/tree-ssa/loop-1.c: Add xfail for nvptx in scan-assembler-times
line, a
Hi,
this patch removes a semicolon after "do {} while (false)" in HSA_LOG,
making sure we can use it in if-then-elses without curly braces.
Build hsa plugin.
Committed as trivial.
Thanks,
- Tom
Remove semicolon after do {} while (false) in HSA_LOG
2017-10-31 Tom de
12-20 Tom de Vries <t...@codesourcery.com>
* dumpfile.c (DUMP_FILE_INFO): Add inits for bump and bump_name fields.
(get_dump_file_name): Handle bump and bump_name fields.
(dump_start): Handle bump field.
(gcc::dump_manager::dump_bump, dump_bump)
(gcc::dump_manager::reset_dump_bump, reset
On 04/21/2018 07:36 PM, Jakub Jelinek wrote:
* gcc.dg/nextafter-2.c: New test.
Hi,
FTR, I ran into a link error "unresolved symbol nexttowardf" using the
standalone nvptx toolchain:
...
PASS: gcc.dg/nextafter-1.c (test for excess errors)
PASS: gcc.dg/nextafter-1.c execution test
and
reverted) with x86_64 with nvptx accelerator and tested libgomp.
Committed to trunk.
Thanks,
- Tom
[nvptx] Add workaround for subsequent bar.syncs
2018-05-04 Tom de Vries <t...@codesourcery.com>
PR target/85653
* config/nvptx/nvptx.c (WORKAROUND_PTXJIT_BUG_3): Define.
(workaround_bars
[ was: Re: [PATCH, PR82428] Add
__builtin_goacc_{gang,worker,vector}_{id,size} ]
On 05/03/2018 12:36 PM, Tom de Vries wrote:
On 01/18/2018 09:55 AM, Tom de Vries wrote:
diff --git
a/libgomp/testsuite/libgomp.oacc-c-c++-common/gang-static-2.c
b/libgomp/testsuite/libgomp.oacc-c-c++-common/gang
[ was: Re: [PATCH, PR82428] Add
__builtin_goacc_{gang,worker,vector}_{id,size} ]
On 01/18/2018 09:55 AM, Tom de Vries wrote:
On 01/17/2018 06:51 PM, Jakub Jelinek wrote:
On Wed, Jan 17, 2018 at 06:42:33PM +0100, Tom de Vries wrote:
@@ -6602,6 +6604,71 @@ expand_stack_save (void
1401 - 1500 of 2297 matches
Mail list logo