summaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2003-06-16 21:29:20 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2003-06-16 21:29:20 +0000
commit4ff58371763d8dfb211e776e22e74a51fa3eb909 (patch)
tree093664381aa2657f9bb52e756e7bcd612227c6d8 /gcc/system.h
parent8363b7738f923bff7a4ff0a58f2699fb3b40435d (diff)
downloadgcc-4ff58371763d8dfb211e776e22e74a51fa3eb909.tar.gz
gengtype.c: Don't use UNION_INIT_ZERO.
* gengtype.c: Don't use UNION_INIT_ZERO. * system.h (UNION_INIT_ZERO): Delete. From-SVN: r68042
Diffstat (limited to 'gcc/system.h')
-rw-r--r--gcc/system.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/gcc/system.h b/gcc/system.h
index 99291de0baf..3229d5cb224 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -515,16 +515,6 @@ extern void abort (void);
#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *) 0)->MEMBER)
#endif
-/* Traditional C cannot initialize union members of structs. Provide
- a macro which expands appropriately to handle it. This only works
- if you intend to initialize the union member to zero since it relies
- on default initialization to zero in the traditional C case. */
-#ifdef __STDC__
-#define UNION_INIT_ZERO , {0}
-#else
-#define UNION_INIT_ZERO
-#endif
-
/* Various error reporting routines want to use __FUNCTION__. */
#if (GCC_VERSION < 2007)
#ifndef __FUNCTION__