diff options
author | Denys Vlasenko | 2010-02-04 15:00:15 +0100 |
---|---|---|
committer | Denys Vlasenko | 2010-02-04 15:00:15 +0100 |
commit | 98a4c7cf3d799ab953cb77e8b34597c73e3e7335 (patch) | |
tree | 2d9c07825697cd7c6e96647ff0992dce4d4a0115 /editors | |
parent | 1821d188ca674b42bf0f384b0c2332ff95701bba (diff) | |
download | busybox-98a4c7cf3d799ab953cb77e8b34597c73e3e7335.zip busybox-98a4c7cf3d799ab953cb77e8b34597c73e3e7335.tar.gz |
*: suppress ~60% of "aliased warnings" on gcc-4.4.1
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'editors')
-rw-r--r-- | editors/awk.c | 2 | ||||
-rw-r--r-- | editors/sed.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/editors/awk.c b/editors/awk.c index bc8b0da..a6f3f55 100644 --- a/editors/awk.c +++ b/editors/awk.c @@ -444,7 +444,7 @@ struct globals2 { /* biggest and least used members go last */ tsplitter fsplitter, rsplitter; -}; +}; //FIX_ALIASING; - large code growth #define G1 (ptr_to_globals[-1]) #define G (*(struct globals2 *)ptr_to_globals) /* For debug. nm --size-sort awk.o | grep -vi ' [tr] ' */ diff --git a/editors/sed.c b/editors/sed.c index fd9dd1b..e5e1877 100644 --- a/editors/sed.c +++ b/editors/sed.c @@ -117,7 +117,7 @@ struct globals { int idx; /* Space used */ int len; /* Space allocated */ } pipeline; -}; +} FIX_ALIASING; #define G (*(struct globals*)&bb_common_bufsiz1) void BUG_sed_globals_too_big(void); #define INIT_G() do { \ |