This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33162] INTRINSIC functions as ACTUAL argument
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Oct 2007 21:32:32 -0000
- Subject: [Bug fortran/33162] INTRINSIC functions as ACTUAL argument
- References: <bug-33162-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from jvdelisle at gcc dot gnu dot org 2007-10-21 21:32 -------
Created an attachment (id=14382)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14382&action=view)
Preliminary argument checking with intrinsics
This "draft" patch catches the latest invalid case provided in Comment #4.
This is only checking a simple case of no argument vs there is an argument.
With gfc_find_function we can access the formal argument list for the
intrinsics and proceed to check them. I will develop this further to check
number and types of arguments to verify a match.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33162