[PATCH] Fix where breakage

Jeffrey D. Oldham oldham at codesourcery.com
Tue Dec 30 16:11:47 UTC 2003


Richard Guenther wrote:
> Hi!
> 
> With my recent where improvements I did some breakage which is obviously
> fixed by the following patch.  I also extended array_test12 to contain
> some >1 dim tests.
> 
> Regtested on the few where tests we have using serial ppc-linux.
> 
> Ok to apply?
> 
> Thanks,
> 
> Richard.
> 
> 
> 2003Dec25  Richard Guenther <richard.guenther at uni-tuebingen.de>
> 
> 	* Array/tests/array_test12.cpp: check systematically for
> 	d-dimensional array/scalar rhs in where.
> 	Evaluator/WhereProxy.h: use EvalLeaf of the dimensionality
> 	of the first where argument.

Thanks for fixing this.  It would be nice if C++ permitted overloading 
'?:', but it does not so 'where' is important.  Yes, please commit this 
after fixing the ChangeLog typo:
"Use EvalLeaf _on_ the dimensionality ..."

-- 
Jeffrey D. Oldham
oldham at codesourcery.com




More information about the pooma-dev mailing list