This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR fortran/23516 add IMAG support


On Fri, Sep 16, 2005 at 11:44:29AM -0700, Steve Kargl wrote:
> If no one objects to this patch in the next 24 hours,
> I will commit this to mainline.
> 
> 2005-09-16  Steven G. Kargl  <kargls@comcast.net>
> 
> 	PR fortran/23516
> 	imag_1.f: New test.
> 	imag_2.f: ditto.
> 

The attached updated patch also implements REALPART and IMAGPART,
which are defined in g77.  Since this is a more ambition patch,
can someone review it for correctness.  The Changelog for the
test programs is above.  The new ChangeLog for the frontend is

2005-09-16  Steven G. Kargl  <kargls@comcast.net>

	* intrinsic.c (add_function): Add IMAG, IMAGPART, and REALPART intrinsics.
	* intrinsic.h: Prototype for gfc_simplify_realpart.
	* intrinsic.texi: Document intrinsic procedures.
	* simplify.c (gfc_simplify_aimag): Update error message.
	(gfc_simplify_realpart): New function

-- 
Steve

Attachment: imag.diff
Description: Text document

Attachment: imag_1.f
Description: Text document

Attachment: imag_2.f
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]