This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32391] Wrong code with optimization on i686-pc-linux-gnu
- 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: 18 Jun 2007 19:16:11 -0000
- Subject: [Bug fortran/32391] Wrong code with optimization on i686-pc-linux-gnu
- References: <bug-32391-14714@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #12 from kargl at gcc dot gnu dot org 2007-06-18 19:16 -------
(In reply to comment #11)
> Yes, I agree that program is not beautiful
> and I know the the array 'w' of 'u3b' subroutine problem;
> I think the author of u3b use w(1) as pointer.
Change the 1 to *.
> However,
> the wrong generation of optimized code occurs in 'DP' subroutine.
> The array of DP have fixed boundary.
Do you get wrong results if you add the -ffloat-store option?
Can you also try the -fdefault-real-8 option?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32391