Re: RFA: Fix isl-ast-gen-if-1.c test

2015-06-22 Thread Jeff Law
On 06/22/2015 10:07 AM, Nicholas Clifton wrote: Hi Jeff, I'd tend to prefer to change the size of the array -- adding another conditional in the loop may have unintended consequences that possibly scramble things just enough to compromise the test. Okey dokey, here is a revised version. Is t

Re: RFA: Fix isl-ast-gen-if-1.c test

2015-06-22 Thread Nicholas Clifton
Hi Jeff, I'd tend to prefer to change the size of the array -- adding another conditional in the loop may have unintended consequences that possibly scramble things just enough to compromise the test. Okey dokey, here is a revised version. Is this one OK ? Cheers Nick gcc/ChangeLog Index

Re: RFA: Fix isl-ast-gen-if-1.c test

2015-06-22 Thread Jeff Law
On 06/22/2015 09:38 AM, Nick Clifton wrote: Hi Guys, The test file gcc/testsuite/gcc.dg/graphite/isl-ast-gen-if-1.c file was generating an unexpected failure for the RX. When I investigated I found that a return address on the stack was being corrupted, and I tracked it down to the

RFA: Fix isl-ast-gen-if-1.c test

2015-06-22 Thread Nick Clifton
Hi Guys, The test file gcc/testsuite/gcc.dg/graphite/isl-ast-gen-if-1.c file was generating an unexpected failure for the RX. When I investigated I found that a return address on the stack was being corrupted, and I tracked it down to the foo() function: foo (int a[], int n) {