diff options
author | DJ Delorie <dj@redhat.com> | 2008-01-21 17:20:57 -0500 |
---|---|---|
committer | DJ Delorie <dj@gcc.gnu.org> | 2008-01-21 17:20:57 -0500 |
commit | 79e168dac0b4bf59e815bee45d0b0146441f2471 (patch) | |
tree | 9dc91dfed03e7e1ccd8004b8e0d0dd6fe7f4f5bf | |
parent | 013d0feab1d082f6bc36c3119f6f5b6835230eaf (diff) | |
download | gcc-79e168dac0b4bf59e815bee45d0b0146441f2471.zip gcc-79e168dac0b4bf59e815bee45d0b0146441f2471.tar.gz gcc-79e168dac0b4bf59e815bee45d0b0146441f2471.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/doc/tm.texi | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2786579..873cdd4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-01-21 DJ Delorie <dj@redhat.com> + + * doc/tm.texi (HARD_REGNO_NREGS): Note that this macro must not + return zero. + 2008-01-21 Richard Guenther <rguenther@suse.de> PR middle-end/34856 diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 00dde97..89d4302 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 |