Re: [hsa 9/12] Small alloc-pool fix

2015-11-06 Thread Richard Biener
On Thu, 5 Nov 2015, Martin Jambor wrote: > Hi, > > we use C++ new operators based on alloc-pools a lot in the subsequent > patches and realized that on the current trunk, such new operators > would needlessly call the placement ::new operator within the allocate > method of pool-alloc. Fixed bel

[PATCH] Fix transform_to_exit_first_loop_alt with -g

2015-11-06 Thread Tom de Vries
Hi, This patch fixes a problem with -g compilation in transform_to_exit_first_loop_alt. Consider test-case test.c: ... void f (int *a, int n) { int i; for (i = 0; i < n; ++i) a[i] = 1; } ... If we add a "checking_verify_ssa (true, true)" call at the end of transform_to_exit_first_loo

Re: [hsa 5/12] New HSA-related GCC options

2015-11-06 Thread Richard Biener
On Thu, 5 Nov 2015, Martin Jambor wrote: > Hi, > > the following small part of the merge deals with new options. It adds > four independent things: > > 1) flag_disable_hsa is used by code in opts.c (in the first patch) to >remember whether HSA has been explicitely disabled on the compiler >

Re: [hsa 7/12] Disabling the vectorizer for GPU kernels/functions

2015-11-06 Thread Richard Biener
On Thu, 5 Nov 2015, Martin Jambor wrote: > Hi, > > in the previous email I wrote we need to "change behavior" of a few > optimization passes. One was the flattening of GPU functions and the > other two are in the patch below. It all comes to that, at the > moment, we need to switch off the vect

<    1   2   3