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/32391] Wrong code with optimization on i686-pc-linux-gnu



------- 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


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