From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1783 invoked by alias); 11 May 2003 22:01:01 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 1597 invoked from network); 11 May 2003 22:01:00 -0000 Received: from unknown (HELO higgs.physik.uni-mainz.de) (134.93.128.134) by sources.redhat.com with SMTP; 11 May 2003 22:01:00 -0000 Received: from higgs.physik.uni-mainz.de (kreckel@localhost [127.0.0.1]) by higgs.physik.uni-mainz.de (8.12.3/8.12.3/Debian-6.3) with ESMTP id h4BM0xmA008010 for ; Mon, 12 May 2003 00:00:59 +0200 Received: from localhost (kreckel@localhost) by higgs.physik.uni-mainz.de (8.12.3/8.12.3/Debian-6.3) with ESMTP id h4BM0xZZ008006 for ; Mon, 12 May 2003 00:00:59 +0200 X-Authentication-Warning: higgs.physik.uni-mainz.de: kreckel owned process doing -bs Date: Sun, 11 May 2003 22:01:00 -0000 From: "Richard B. Kreckel" X-X-Sender: Reply-To: To: Subject: Does anybody really know which pass it is? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2003-05/txt/msg01062.txt.bz2 Hi, Joining the recent debate about documentation quality, I am currently trying to figure out which optimization pass fries one piece of code of mine. This happens on HPPA since GCC 3.0 till at least GCC 3.2.3. The code runs properly with -O0 and fails with -O1. It also behaves well on all other platforms. I know that "on most machines, the -O option turns on the -fthread-jumps and -fdelayed-branch options, but specific machines may handle it differently." After some (not-so-)educated guesses I have tried passing all sorts of -fno-do-this I could find in the documentation in order to find the culprit but to no avail. I must be still missing an optimization pass... Does anybody else feel that it would be quite useful to have a way to tell which pass the compiler is actually performing? (For more fine-grained things we have -fsched-verbose, but that's obviously no help in a situation like mine.) Regards -richy. -- Richard B. Kreckel