This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Fwd: [tree-ssa][attn: fortran] propagate addresses of local variables
- From: Paul Brook <paul at nowt dot org>
- To: "gcc-g95 List" <gcc-g95-devel at lists dot sourceforge dot net>,fortran at gcc dot gnu dot org
- Date: Sun, 12 Oct 2003 22:02:51 +0100
- Subject: Fwd: [tree-ssa][attn: fortran] propagate addresses of local variables
Forwarded from the gcc list incase someone else feels like taking a look at
it. I'm still a bit vague how these new FP intrinsics actually work.
Paul
---------- Forwarded Message ----------
Subject: [tree-ssa][attn: fortran] propagate addresses of local variables
Date: Sunday 12 October 2003 9:35 pm
From: Richard Henderson <rth@twiddle.net>
To: gcc-patches@gcc.gnu.org
<...>
And after all that, there is still one fortran test regression. It
turns out that the fortran front end is generating invalid code for
the SCALE intrinsic: clz is undefined for zero, and it isn't checking
for it. Really I don't think this is something that the front end
should be expanding at all. We should be invoking C99 scalbn, if known
to exist, and something in libgfortran if scalbn doesn't exist. In
particular, various cpus may have tricks to accomplish this faster
than the expansion currently used.