This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/16580] gfortran ICE on test g77.f-torture/execute/intrinsic77.f
- From: "tobi 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 Jul 2004 21:16:11 -0000
- Subject: [Bug fortran/16580] gfortran ICE on test g77.f-torture/execute/intrinsic77.f
- References: <20040716011052.16580.billingd@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From tobi at gcc dot gnu dot org 2004-07-21 21:16 -------
The lines surrounding the assertion read like this:
if (sym->attr.intrinsic)
{
/* Call the resolution function to get the actual name. This is
a nasty hack which relies on the resolution functions only looking
at the first argument. We pass NULL for the second argument
otherwise things like AINT get confused. */
isym = gfc_find_function (sym->name);
assert (isym->resolve.f0 != NULL);
I remember seeing that g95 had some code in place for storing the actual name of
an instrinsic. But I also remember thinking that that code seemed very ad-hoc
(certainly less than this code, though), so I refreained from porting it. (I
currently have very little time, otherwise I'd look much closer into the issues
where I'm only throwing pointers now. sorry)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16580