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: 7 Feb 2004 01:32:02 -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-07 01:31 -------
Subject: Re: fortran if statement with .and. causes optimizer to produce wrong code
Thanks. I tried that - no help (although you'd think it would). Turns out
the fix is simply to run ldconfig as root. The install of gcc updates the
/etc/ld.so.conf file, but it doesn't then run ldconfig. So, at run time
there's no hope of finding any new shared objects. Linking with static works
too as you say, but the executable file is huge.
On Thursday 05 February 2004 17:07, you wrote:
> ------- Additional Comments From dhazeghi at yahoo dot com 2004-02-06
> 01:07 ------- Sounds as if you need to add /usr/local/lib to
> LD_LIBRARY_PATH. So if you're using bash, you do something like:
> export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib"
>
> Alternatively, you can probably link with -static...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14019