------- 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