summaryrefslogtreecommitdiff
path: root/libchill/powerset.h
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-09-02 23:55:52 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-09-02 23:55:52 +0000
commite63344c881901601a47e7d86e200c0a1d73ef8c7 (patch)
tree43e10aba51b15003f2baa77c56ca8bde38d90faa /libchill/powerset.h
parent85c5ca69365723c1aab81edf487c00f4853381d1 (diff)
downloadgcc-e63344c881901601a47e7d86e200c0a1d73ef8c7.tar.gz
* powerset.h (SET_WORD, SET_SHORT, SET_CHAR): Do not redefine based
on USE_CHAR. (USE_CHAR): No longer define. * eqps.c ffsetclrps.c flsetclrps.c: Remove !USE_CHARS support. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29069 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libchill/powerset.h')
-rw-r--r--libchill/powerset.h16
1 files changed, 4 insertions, 12 deletions
diff --git a/libchill/powerset.h b/libchill/powerset.h
index ea27cddc389..e40303a2eeb 100644
--- a/libchill/powerset.h
+++ b/libchill/powerset.h
@@ -29,23 +29,15 @@ Boston, MA 02111-1307, USA. */
#ifndef _POWERSET_H
#define _POWERSET_H
-#define USE_CHARS
-
-#ifdef USE_CHARS
+/* Do not set these to anything other than character types without fixing
+ their uses in andps.c and other files which implement bit sets operations.
+ The uses in those files will violate ANSI/ISO C aliasing rules as they
+ are currently written. */
#define SET_WORD unsigned char
#define SET_CHAR unsigned char
#define SET_SHORT unsigned char
-#else
-
-#ifndef SET_WORD
-#define SET_WORD unsigned int
-#endif
-#define SET_CHAR unsigned char
-#define SET_SHORT unsigned short
-#endif
-
#define SET_WORD_SIZE (sizeof (char) * sizeof (SET_WORD))
#define SET_SHORT_SIZE (sizeof (char) * sizeof (SET_SHORT))
#define SET_CHAR_SIZE sizeof (char)