This is the mail archive of the gcc-bugs@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]

[Bug fortran/53977] CPP: Support __func__/__FUNCTION__


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53977

--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-07-16 08:14:15 UTC ---
A quick test of other Fortran compilers shows that this is not a widely
supported feature - none of the tried compilers supports it. In C, it falls
semantically into the preprocessor, even though it is implemented as compiler
feature.

In terms of the form, gcc's __FUNCTION__ looks much more like a CPP macro than
C99's __func__.

(As CPP is not a Fortran-tuned preprocessor, the semantic - when applied to
Fortran - is a bit unclear as are features like C99's __func__.)


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