From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12358 invoked by alias); 17 Jan 2006 01:19:37 -0000 Received: (qmail 12337 invoked by uid 48); 17 Jan 2006 01:19:35 -0000 Date: Tue, 17 Jan 2006 01:19:00 -0000 Message-ID: <20060117011935.12336.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug rtl-optimization/25791] -O2 execution fails, -O and -g work In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dick_guertin at yahoo dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-01/txt/msg01608.txt.bz2 List-Id: ------- 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