generate C89
authorMatthias Braun <matze@braunis.de>
Thu, 19 Apr 2007 14:45:59 +0000 (14:45 +0000)
committerMatthias Braun <matze@braunis.de>
Thu, 19 Apr 2007 14:45:59 +0000 (14:45 +0000)
[r13414]

ir/be/scripts/generate_regalloc_if.pl

index 2132257..2227190 100755 (executable)
@@ -170,7 +170,7 @@ foreach my $flag (keys(%flags)) {
 }
 push(@obst_regdef, "\tFLAG_LAST\n");
 push(@obst_regdef, "};\n");
-push(@obst_regtypes_decl, "extern arch_flag_t ${arch}_flags[FLAG_LAST];\n");
+push(@obst_regtypes_decl, "extern arch_flag_t ${arch}_flags[];\n");
 
 push(@obst_classdef, "\tN_CLASSES = ".scalar(keys(%reg_classes))."\n");
 push(@obst_classdef, "};\n\n");