This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/25791] -O2 execution fails, -O and -g work
- From: "dick_guertin at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Jan 2006 01:19:35 -0000
- Subject: [Bug rtl-optimization/25791] -O2 execution fails, -O and -g work
- References: <bug-25791-12018@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from dick_guertin at yahoo dot com 2006-01-17 01:19 -------
I have created 'wylsrc/tgz' that you can download from the web as follows:
http://lindy.stanford.edu/~guertin/wylsrc.tgz
Use the following to extract the 'wylsrc' directory:
gzip -d wylsrc.tgz
tar -xf wylsrc.tar
rm wylsrc.tar
Move the 'wylsrc' directory to be in your home directory. Read the
'a.readme.txt' file that is in 'wylsrc'.
There is a 'Rmall' script that removes all objects and private (wylsrc)
libraries. There are Imakefiles for both Unix and Linux, with Imakefile itself
set to the Unix version. Likewise for the Makefiles. You must make the
private libraries first, inside 'common', 'modeltrm', and 'unixport'
subdirectories. Then you can play with 'wylsrc' itself. All of my problems
have been occurring in 'comm.c'. The Makefiles are all set for -O2 (three
instances in each Makefile). If you change them to -O, and rebuild everything
(Rmall), you'll get a working version. I can not find any 'code violations'
that would cause -O2 to fail.
If you have more questions, or need further assistance, let me know.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25791