This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/14019] fortran if statement with .and. causes optimizer to produce wrong code
- From: "mmrashid at ucdavis dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Feb 2004 23:52:21 -0000
- Subject: [Bug optimization/14019] fortran if statement with .and. causes optimizer to produce wrong code
- References: <20040204191220.14019.mmrashid@ucdavis.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From mmrashid at ucdavis dot edu 2004-02-05 23:52 -------
Subject: Re: fortran if statement with .and. causes optimizer to produce wrong code
Thanks for the quick response. I did just try the program on a different
machine with a newer version of gcc, and the problem does indeed go away.
I then downloaded and built gcc-3.3.2 on my machine (RedHat Linux 7.0), used
g77 to compile a very simple fortran program. Upon running this program, I
get:
error while loading shared libraries: libg2c.so.0: cannot load shared
object file: No such file or directory.
libg2c.so.0 exists alright, in /usr/local/lib, which is in my path. Not sure
why a shared object is needed at run-time anyway. Does this indicate that
the compiler/assembler has created an executable that is "missing" something?
Thanks for any help -
Mark Rashid
On Wednesday 04 February 2004 11:14, you wrote:
> ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-02-04
> 19:14 ------- Can you first try a newer compiler that one is 3 years old
> now?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14019