This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Don't segv in omp-low.c (PR middle-end/59669)


On Wed, Jan 08, 2014 at 04:09:08PM +0100, Marek Polacek wrote:
> We can also get NULL for the default definition, so we need to handle that
> before calling has_zero_uses on it.
> 
> Bootstrapped/regtested on x86_64-linux, ok for trunk?

Looks ok, but there is similar code a few lines above, can you please fix it up
and add it to the testcase?

I'd think
#pragma omp declare simd uniform(a) aligned(a:32)
void
bar (int *a)
{
}

could hit the other spot.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]