Contributing
Gunnar
gunix@comhem.se
Sat Jan 22 13:27:00 GMT 2005
As a total beginner when it comes to writing a part of a fortran compiler, I
had a look at the "not" intrinsic function.
I must have misunderstood very many important things, it can't possible be
this easy, can it?
// the code in my file: gcc/libgfortran/intrinsics/not.c
#include "config.h"
#include <sys/types.h>
#include "libgfortran.h"
extern GFC_LOGICAL_4 not (GFC_LOGICAL_4 l)
{
return !l;
}
extern GFC_LOGICAL_8 not (GFC_LOGICAL_8 l)
{
return !l;
}
I noticed that the other files are using iexport_proto and export_proto_np,
but I have no clue about what they do.
So, should I find something else to do than bugging you with my code, or
should I start working with another intrinsic function?
More information about the Fortran
mailing list