better packing of struct, updates for release
authorMatthias Braun <matze@braunis.de>
Thu, 15 Apr 2010 13:22:25 +0000 (13:22 +0000)
committerMatthias Braun <matze@braunis.de>
Thu, 15 Apr 2010 13:22:25 +0000 (13:22 +0000)
[r27405]

Makefile
entity_t.h
make_release.sh

index 0f3e158..ebd21fb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -11,11 +11,11 @@ CPPFLAGS  = -DHAVE_CONFIG_H -DFIRM_BACKEND
 CPPFLAGS += -I.
 CPPFLAGS += $(FIRM_CFLAGS)
 
-CFLAGS += -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Werror -std=c99 -pedantic
+CFLAGS += -Wall -W -Wstrict-prototypes -Wmissing-prototypes -std=c99 -pedantic
 CFLAGS += -O0 -g3
 #CFLAGS += -O3 -march=pentium4 -fomit-frame-pointer -DNDEBUG
 #CFLAGS += -pg -O3 -fno-inline
-ICC_CFLAGS = -O0 -g3 -std=c99 -Wall -Werror
+ICC_CFLAGS = -O0 -g3 -std=c99 -Wall
 #LFLAGS += -pg
 ICC    ?= true
 GCCO1  ?= true
index eca43dd..b40ab1e 100644 (file)
@@ -200,10 +200,11 @@ struct declaration_t {
 
 struct compound_member_t {
        declaration_t  base;
-       bool           read          : 1;
-       bool           address_taken : 1;  /**< Set if the address of this declaration was taken. */
        il_size_t      offset;     /**< the offset of this member in the compound */
        unsigned char  bit_offset; /**< extra bit offset for bitfield members */
+       bool           read          : 1;
+       bool           address_taken : 1;  /**< Set if the address of this
+                                               declaration was taken. */
 
        /* ast2firm info */
        ir_entity *entity;
index fea4ef1..fe44a48 100755 (executable)
@@ -2,7 +2,7 @@
 
 #set -x
 WORKDIR="release"
-VERSION="0.9.9"
+VERSION="0.9.10"
 RELEASEDIR="cparser-$VERSION"
 FULLRELEASEDIR="$WORKDIR/$RELEASEDIR"
 RELEASEFILE="cparser-$VERSION.tar.bz2"
@@ -24,6 +24,7 @@ for dir in $SOURCEDIRS; do
        cp -p "$dir/"*.[ch].* "$FULLRELEASEDIR/$dir"
 done
 cp $ADDFILES "$FULLRELEASEDIR"
+rm -f "$FULLRELEASEDIR/revision.h"
 echo "REVISION = \"$VERSION\"" > "$FULLRELEASEDIR/Makefile"
 cat Makefile >> "$FULLRELEASEDIR/Makefile"