This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30409] [fortran] missed optimization with pure function arguments
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jan 2007 16:08:10 -0000
- Subject: [Bug fortran/30409] [fortran] missed optimization with pure function arguments
- References: <bug-30409-10110@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from kargl at gcc dot gnu dot org 2007-01-09 16:08 -------
Note, above the first FORALL statement one needs to add
the following 2 lines of code
xmin = 0.
xmax = 1.
As a side note, both Pathscale and Intel in the c.l.f thread have
acknowledged that their compilers also miss this optimization.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30409