This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Does anybody really know which pass it is?
- From: "Richard B. Kreckel" <kreckel at ginac dot de>
- To: <gcc at gcc dot gnu dot org>
- Date: Mon, 12 May 2003 00:00:59 +0200 (CEST)
- Subject: Does anybody really know which pass it is?
- Reply-to: <Richard dot Kreckel at ginac dot de>
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
<Richard.Kreckel@GiNaC.DE>
<http://www.ginac.de/~kreckel/>