[patch] Fix calls to Fortran functions returning complex

Jules Bergmann jules at codesourcery.com
Fri Oct 28 16:37:14 UTC 2005


The fortran calling convention for returning complex values is slightly 
different than C.  This was unnoticed on 32-bit systems, but caused 
segfaults on Sethra.

This patch treats calls to cdot* and zdot* as subroutines, avoiding the 
problem.

Patch applied.

				-- Jules
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: complex-return.diff
URL: <http://sourcerytools.com/pipermail/vsipl++/attachments/20051028/15d80775/attachment.ksh>


More information about the vsipl++ mailing list