This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: CLASS_CANNOT_CHANGE_MODE* redesign
- From: Michael Matz <matz at suse dot de>
- To: Aldy Hernandez <aldyh at redhat dot com>
- Cc: Richard Henderson <rth at redhat dot com>, <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 25 Oct 2002 22:41:51 +0200 (CEST)
- Subject: Re: CLASS_CANNOT_CHANGE_MODE* redesign
Hi,
On Fri, 25 Oct 2002, Aldy Hernandez wrote:
> I just remembered why the HARD_CONST ifdef was needed around the
> prototype in rtl.h. This is so the use of HARD_REG_SET as a type
> won't bomb when you include rtl.h but don't include hard-reg-set.h.
*Sigh* Can you add a comment about that funny effect to
it? The next one who sees this, will also wonder wth that strange guard
has to do there ;-)
> See the prototype for retry_global_alloc() in rtl.h.
Oh my, there are more of those abominations. Okay, no need to add a
comment then. Maybe a global rant at the begin of GCCs header files
about their whimsicalness (is that a word?) is enough ;-)
Ciao,
Michael.