Unions can be initialised statically now.
authorChristoph Mallon <christoph.mallon@gmx.de>
Thu, 19 Jul 2007 13:49:12 +0000 (13:49 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Thu, 19 Jul 2007 13:49:12 +0000 (13:49 +0000)
[r15250]

ir/be/begnuas.c

index 8e8c5bd..dc989ec 100644 (file)
@@ -682,6 +682,7 @@ static void dump_global(be_gas_decl_env_t *env, ir_entity *ent, int emit_commons
                                break;
                        case tpo_struct:
                        case tpo_class:
+                       case tpo_union:
                                dump_compound_init(env, obst, ent);
                                break;
                        default: