From: DJ Delorie Date: Mon, 21 Jan 2008 22:20:57 +0000 (-0500) Subject: tm.texi (HARD_REGNO_NREGS): Note that this macro must not return zero. X-Git-Tag: releases/gcc-4.3.0~497 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79e168dac0b4bf59e815bee45d0b0146441f2471;p=thirdparty%2Fgcc.git tm.texi (HARD_REGNO_NREGS): Note that this macro must not return zero. * doc/tm.texi (HARD_REGNO_NREGS): Note that this macro must not return zero. From-SVN: r131703 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 27865796e17b..873cdd476e09 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-01-21 DJ Delorie + + * doc/tm.texi (HARD_REGNO_NREGS): Note that this macro must not + return zero. + 2008-01-21 Richard Guenther PR middle-end/34856 diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 00dde97ad25e..89d43026f895 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -2079,7 +2079,9 @@ consecutive registers are needed for a given mode. @defmac HARD_REGNO_NREGS (@var{regno}, @var{mode}) A C expression for the number of consecutive hard registers, starting at register number @var{regno}, required to hold a value of mode -@var{mode}. +@var{mode}. This macro must never return zero, even if a register +cannot hold the requested mode - indicate that with HARD_REGNO_MODE_OK +and/or CANNOT_CHANGE_MODE_CLASS instead. On a machine where all registers are exactly one word, a suitable definition of this macro is