[vsipl++] [patch] Fft by-reference of const_View and View

Stefan Seefeld stefan at codesourcery.com
Thu May 11 12:09:45 UTC 2006


Jules,

I'm sorry I didn't get back to you on this earlier. I was unable to reproduce
the failure, which might be because I'm using gcc 4.1, while you are using
3.4.x, right ?
I looked into the issue briefly when you told me initially about a potential
problem with passing const views, but put the issue aside when I noticed
that my tests indeed use const views, yet there was no error. I'm not
sure whether gcc 4.1 is too permissive here, i.e. whether somehow it
manages to create a temporary non-const view out of a const view. That's
something to follow up on later...


Jules Bergmann wrote:
> Stefan,
> 
> Here is a test that illustrates the failure I'm seeing with the fft.cpp 
> test, along with a patch that fixes it.  Ok to commit?

The patch looks good !

Thanks,
		Stefan



More information about the vsipl++ mailing list