diff options
author | Stephane Carrez <Stephane.Carrez@sun.com> | 2001-11-30 22:47:54 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2001-11-30 23:47:54 +0100 |
commit | 38875aba474d312aa737aec754d70cf690e6ae25 (patch) | |
tree | 8ff25cb58920c75dc428fd0626516a5513200442 | |
parent | 7b094d6e801b0f790052bc0e1c3a9c242282cea8 (diff) | |
download | gcc-38875aba474d312aa737aec754d70cf690e6ae25.zip gcc-38875aba474d312aa737aec754d70cf690e6ae25.tar.gz gcc-38875aba474d312aa737aec754d70cf690e6ae25.tar.bz2 |
sparc.c (DF_MODES_NO_S): Fix pr/3623, define to accept DFmode and DImode only.
* config/sparc/sparc.c (DF_MODES_NO_S): Fix pr/3623, define to
accept DFmode and DImode only.
From-SVN: r47497
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/sparc/sparc.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f44146d..85aa8d2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-11-30 Stephane Carrez <Stephane.Carrez@sun.com> + + * config/sparc/sparc.c (DF_MODES_NO_S): Fix pr/3623, define to + accept DFmode and DImode only. + 2001-11-30 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/rs6000.h (STARTING_FRAME_OFFSET): Adjust for altivec. diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index 6d5f8bb..618a5c0 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -3013,7 +3013,7 @@ enum sparc_mode_class { #define DF_MODES (S_MODES | D_MODES) /* Modes for double-float only quantities. */ -#define DF_MODES_NO_S (D_MODES) +#define DF_MODES_NO_S ((1 << (int) D_MODE) | (1 << (int) DF_MODE)) /* Modes for quad-float only quantities. */ #define TF_ONLY_MODES (1 << (int) TF_MODE) |