[libgfortran, patch] Fix complex DOT_PRODUCT error.

Feng Wang wf_cs@yahoo.com
Fri Feb 6 13:50:00 GMT 2004


Hi, all
  This patch fixed an error of dot_product (a, b). If the arguments are of type
complex, the result value should be SUM (CONJ (a) * b). The original
implementation is SUM ( a * b).
  Paul, Please check and apply it. Thank you. But note that this patch also
fixes the spelling in libgfortran/Makefile.am I mentioned in another mail. So
you can leave the mail titled :[libgfortran,patch] Fix spelling in Makefile.am.

  Feng Wang

ChangeLog:
2004-02-06  Feng Wang  <fengwang@nudt.edu.cn>

	* Makefile.am: Add m4/dotprodc.m4. And fix spelling.
	* Makefile.in: Regenerate.
	* m4/dotprodc.m4: New file. Implement complex dot_product.
	* m4/dotprod.m4: Delete the complex implementation.
	* generated/dotprod_*: Update.

testsuite/ChangeLog.tree-ssa
2004-02-06  Feng Wang  <fengwang@nudt.edu.cn>

	* gfortran.fortran-torture/execute/intrinsic_dotprod.f90: Add complex
	test.



_________________________________________________________
Do You Yahoo!? 
ÍêÈ«Ãâ·ÑµÄÑÅ»¢µçÓÊ£¬ÂíÉÏ×¢²á»ñÔù¶îÍâ60Õ×ÍøÂç´æ´¢¿Õ¼ä
http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.mail.yahoo.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dot_product.diff
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20040206/ec5a91ab/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dotprodc.m4
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20040206/ec5a91ab/attachment-0001.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: intrinsic_dotprod.f90.diff
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20040206/ec5a91ab/attachment-0002.ksh>


More information about the Fortran mailing list