diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2010-06-03 16:36:22 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2010-06-03 09:36:22 -0700 |
commit | 1c314335e78d3db824b5d3c3d8bf605221a39528 (patch) | |
tree | 33ce3fac8549a6e690ebbf71d88d113efaa17aaa /gcc/defaults.h | |
parent | ddf54e5aa0dac6956f9fa42a7e11c2915236cad0 (diff) | |
download | gcc-1c314335e78d3db824b5d3c3d8bf605221a39528.tar.gz |
Check MAX_FIXED_MODE_SIZE on bit-field in C++.
gcc/ada/
2010-06-03 H.J. Lu <hongjiu.lu@intel.com>
PR c++/44294
* gcc-interface/decl.c (MAX_FIXED_MODE_SIZE): Removed.
gcc/cp/
2010-06-03 H.J. Lu <hongjiu.lu@intel.com>
PR c++/44294
* class.c (layout_class_type): Check MAX_FIXED_MODE_SIZE on
bit-field.
gcc/
2010-06-03 H.J. Lu <hongjiu.lu@intel.com>
PR c++/44294
* defaults.h (MAX_FIXED_MODE_SIZE): New.
* stor-layout.c (MAX_FIXED_MODE_SIZE): Removed.
From-SVN: r160229
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r-- | gcc/defaults.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h index 97fdcdd7ce4..dd461adbd3e 100644 --- a/gcc/defaults.h +++ b/gcc/defaults.h @@ -1165,6 +1165,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #define CONSTANT_ADDRESS_P(X) (CONSTANT_P (X) && GET_CODE (X) != CONST_DOUBLE) #endif +#ifndef MAX_FIXED_MODE_SIZE +#define MAX_FIXED_MODE_SIZE GET_MODE_BITSIZE (DImode) +#endif + #ifdef GCC_INSN_FLAGS_H /* Dependent default target macro definitions |