2004-10-07 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
authorFrank Ch. Eigler <fche@redhat.com>
Fri, 8 Oct 2004 15:33:09 +0000 (15:33 +0000)
committerFrank Ch. Eigler <fche@redhat.com>
Fri, 8 Oct 2004 15:33:09 +0000 (15:33 +0000)
* cgen-defs.h (ENDSWITCH): Changed to compile with gcc-3.4.2.

sim/common/ChangeLog
sim/common/cgen-defs.h

index 0099da089e5e88be0094df3024749a20e991538a..ba104bd57f1efc0bb0d1bb1548f1021f1829cb78 100644 (file)
@@ -1,3 +1,7 @@
+2004-10-07  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
+
+       * cgen-defs.h (ENDSWITCH): Changed to compile with gcc-3.4.2.
+
 2004-07-26  Andrew Cagney  <cagney@gnu.org>
 
        Problem from Olaf Hering <olh@suse.de>.
index fbdfb9a279164478a5cc21157075b328fa7b9e7c..cf9c0283c1a7d0a02f18881cf1873320af61923c 100644 (file)
@@ -130,7 +130,7 @@ typedef enum {
 #define CASE(N, X) case_##N##_##X
 #define BREAK(N) goto end_switch_##N
 #define DEFAULT(N) default_##N
-#define ENDSWITCH(N) end_switch_##N:
+#define ENDSWITCH(N) end_switch_##N:;
 #else
 #define SWITCH(N, X) switch (X)
 #define CASE(N, X) case X /* FIXME: old sem-switch had (@arch@_,X) here */