summaryrefslogtreecommitdiffhomepage
path: root/editors
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-02-04 15:00:15 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-02-04 15:00:15 +0100
commit98a4c7cf3d799ab953cb77e8b34597c73e3e7335 (patch)
tree2d9c07825697cd7c6e96647ff0992dce4d4a0115 /editors
parent1821d188ca674b42bf0f384b0c2332ff95701bba (diff)
*: 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.c2
-rw-r--r--editors/sed.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/editors/awk.c b/editors/awk.c
index bc8b0dad1..a6f3f55f7 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 fd9dd1be6..e5e187725 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 { \