Index: src/SymTab/Autogen.cc
===================================================================
--- src/SymTab/Autogen.cc	(revision bd7e60918ad2d7fa73046569632b064782dac72e)
+++ src/SymTab/Autogen.cc	(revision 189d8006733bdd60c00694bcd130684d954c88bd)
@@ -54,5 +54,5 @@
 	};
 
-	struct AutogenerateRoutines final : public WithDeclsToAdd, public WithVisitorRef<AutogenerateRoutines>, public WithGuards, public WithShortCircuiting {
+	struct AutogenerateRoutines final : public WithDeclsToAdd, public WithVisitorRef<AutogenerateRoutines>, public WithGuards, public WithShortCircuiting, public WithIndexer {
 		AutogenerateRoutines();
 
@@ -194,11 +194,22 @@
 		Type *refType;
 		unsigned int functionNesting;
-		const std::list< TypeDecl* > & typeParams;
 		OutputIterator out;
-		FuncGenerator( const Container & container, Type *refType, unsigned int functionNesting, const std::list< TypeDecl* > & typeParams, OutputIterator out ) : container( container ), refType( refType ), functionNesting( functionNesting ), typeParams( typeParams ), out( out ) {}
+		FuncGenerator( const Container & container, Type *refType, unsigned int functionNesting, OutputIterator out ) : container( container ), refType( refType ), functionNesting( functionNesting ), out( out ) {}
+
+		const std::list< TypeDecl * > getGenericParams( Type * t ) {
+			std::list< TypeDecl * > * ret = nullptr;
+			if ( StructInstType * inst = dynamic_cast< StructInstType * > ( t ) ) {
+				ret = inst->get_baseParameters();
+			} else if ( UnionInstType * inst = dynamic_cast< UnionInstType * >( t ) ) {
+				ret = inst->get_baseParameters();
+			}
+			return ret ? *ret : std::list< TypeDecl * >();
+		}
 
 		/// generates a function (?{}, ?=?, ^?{}) based on the data argument and members. If function is generated, inserts the type into the map.
 		void gen( const FuncData & data, bool concurrent_type ) {
-			if ( ! shouldGenerate( data.map, container ) ) return;
+			// Make function polymorphic in same parameters as generic struct, if applicable
+			std::list< TypeDecl * > typeParams = getGenericParams( refType ); // List of type variables to be placed on the generated functions
+
 			FunctionType * ftype = data.genType( refType );
 
@@ -214,6 +225,6 @@
 
 	template< typename OutputIterator, typename Container >
-	FuncGenerator<OutputIterator, Container> makeFuncGenerator( const Container & container, Type *refType, unsigned int functionNesting, const std::list< TypeDecl* > & typeParams, OutputIterator out ) {
-		return FuncGenerator<OutputIterator, Container>( container, refType, functionNesting, typeParams, out );
+	FuncGenerator<OutputIterator, Container> makeFuncGenerator( const Container & container, Type *refType, unsigned int functionNesting, OutputIterator out ) {
+		return FuncGenerator<OutputIterator, Container>( container, refType, functionNesting, out );
 	}
 
@@ -243,5 +254,5 @@
 	// E ?=?(E volatile*, int),
 	//   ?=?(E _Atomic volatile*, int);
-	void makeEnumFunctions( EnumInstType *refType, unsigned int functionNesting, std::list< Declaration * > &declsToAdd ) {
+	void makeEnumFunctions( EnumInstType *refType, unsigned int functionNesting, std::list< Declaration * > &declsToAdd, SymTab::Indexer & indexer ) {
 
 		// T ?=?(E *, E);
@@ -278,4 +289,9 @@
 		declsToAdd.push_back( dtorDecl );
 		declsToAdd.push_back( assignDecl ); // assignment should come last since it uses copy constructor in return
+
+		indexer.addId( ctorDecl );
+		indexer.addId( copyCtorDecl );
+		indexer.addId( dtorDecl );
+		indexer.addId( assignDecl );
 	}
 
@@ -306,15 +322,4 @@
 				}
 
-				if ( field->get_name() == "" ) {
-					// don't assign to anonymous members
-					// xxx - this is a temporary fix. Anonymous members tie into
-					// our inheritance model. I think the correct way to handle this is to
-					// cast the structure to the type of the member and let the resolver
-					// figure out whether it's valid and have a pass afterwards that fixes
-					// the assignment to use pointer arithmetic with the offset of the
-					// member, much like how generic type members are handled.
-					continue;
-				}
-
 				assert( ! func->get_functionType()->get_parameters().empty() );
 				ObjectDecl * dstParam = dynamic_cast<ObjectDecl*>( func->get_functionType()->get_parameters().front() );
@@ -348,13 +353,4 @@
 				if ( isUnnamedBitfield( dynamic_cast< ObjectDecl * > ( field ) ) ) {
 					// don't make a function whose parameter is an unnamed bitfield
-					continue;
-				} else if ( field->get_name() == "" ) {
-					// don't assign to anonymous members
-					// xxx - this is a temporary fix. Anonymous members tie into
-					// our inheritance model. I think the correct way to handle this is to
-					// cast the structure to the type of the member and let the resolver
-					// figure out whether it's valid and have a pass afterwards that fixes
-					// the assignment to use pointer arithmetic with the offset of the
-					// member, much like how generic type members are handled.
 					continue;
 				} else if ( parameter != params.end() ) {
@@ -379,5 +375,5 @@
 
 	/// generates struct constructors, destructor, and assignment functions
-	void makeStructFunctions( StructDecl *aggregateDecl, StructInstType *refType, unsigned int functionNesting, std::list< Declaration * > & declsToAdd, const std::vector< FuncData > & data ) {
+	void makeStructFunctions( StructDecl *aggregateDecl, StructInstType *refType, unsigned int functionNesting, std::list< Declaration * > & declsToAdd, const std::vector< FuncData > & data, SymTab::Indexer & indexer ) {
 		// Builtins do not use autogeneration.
 		if ( LinkageSpec::isBuiltin( aggregateDecl->get_linkage() ) ) {
@@ -385,45 +381,54 @@
 		}
 
-		// Make function polymorphic in same parameters as generic struct, if applicable
-		const std::list< TypeDecl * > & typeParams = aggregateDecl->get_parameters(); // List of type variables to be placed on the generated functions
-
 		// generate each of the functions based on the supplied FuncData objects
 		std::list< FunctionDecl * > newFuncs;
 		// structure that iterates aggregate decl members, returning their types
-		auto generator = makeFuncGenerator( lazy_map( aggregateDecl->members, declToType ), refType, functionNesting, typeParams, back_inserter( newFuncs ) );
+		auto generator = makeFuncGenerator( lazy_map( aggregateDecl->members, declToType ), refType, functionNesting, back_inserter( newFuncs ) );
 		for ( const FuncData & d : data ) {
 			generator.gen( d, aggregateDecl->is_thread() || aggregateDecl->is_monitor() );
 		}
 
-		// field ctors are only generated if default constructor and copy constructor are both generated
-		unsigned numCtors = std::count_if( newFuncs.begin(), newFuncs.end(), [](FunctionDecl * dcl) { return CodeGen::isConstructor( dcl->get_name() ); } );
-
-		if ( functionNesting == 0 ) {
-			// forward declare if top-level struct, so that
-			// type is complete as soon as its body ends
-			// Note: this is necessary if we want structs which contain
-			// generic (otype) structs as members.
-			for ( FunctionDecl * dcl : newFuncs ) {
-				addForwardDecl( dcl, declsToAdd );
-			}
-		}
-
+		std::list< Declaration * > definitions, forwards;
 		for ( FunctionDecl * dcl : newFuncs ) {
 			// generate appropriate calls to member ctor, assignment
 			// destructor needs to do everything in reverse, so pass "forward" based on whether the function is a destructor
 			if ( ! CodeGen::isDestructor( dcl->get_name() ) ) {
-				makeStructFunctionBody( aggregateDecl->get_members().begin(), aggregateDecl->get_members().end(), dcl );
+				makeStructFunctionBody( aggregateDecl->members.begin(), aggregateDecl->members.end(), dcl );
 			} else {
-				makeStructFunctionBody( aggregateDecl->get_members().rbegin(), aggregateDecl->get_members().rend(), dcl, false );
-			}
-			if ( CodeGen::isAssignment( dcl->get_name() ) ) {
+				makeStructFunctionBody( aggregateDecl->members.rbegin(), aggregateDecl->members.rend(), dcl, false );
+			}
+			if ( CodeGen::isAssignment( dcl->name ) ) {
 				// assignment needs to return a value
 				FunctionType * assignType = dcl->get_functionType();
-				assert( assignType->get_parameters().size() == 2 );
-				ObjectDecl * srcParam = strict_dynamic_cast< ObjectDecl * >( assignType->get_parameters().back() );
-				dcl->get_statements()->get_kids().push_back( new ReturnStmt( noLabels, new VariableExpr( srcParam ) ) );
-			}
-			declsToAdd.push_back( dcl );
-		}
+				assert( assignType->parameters.size() == 2 );
+				assert( assignType->returnVals.size() == 1 );
+				ObjectDecl * srcParam = strict_dynamic_cast< ObjectDecl * >( assignType->parameters.back() );
+				ObjectDecl * retParam = strict_dynamic_cast< ObjectDecl * >( assignType->returnVals.front() );
+
+				dcl->statements->push_back( new ExprStmt( noLabels, new UntypedExpr( new NameExpr("?{}"), { new VariableExpr( retParam ), new VariableExpr( srcParam ) } ) ) );
+				dcl->statements->push_back( new ReturnStmt( noLabels, new VariableExpr( retParam ) ) );
+			}
+
+			try {
+				ResolvExpr::resolveDecl( dcl, indexer );
+			} catch ( SemanticError err ) {
+				// okay if decl does not resolve - that means the function should not be generated
+				delete dcl;
+				continue;
+			}
+
+			if ( functionNesting == 0 ) {
+				// forward declare if top-level struct, so that
+				// type is complete as soon as its body ends
+				// Note: this is necessary if we want structs which contain
+				// generic (otype) structs as members.
+				addForwardDecl( dcl, forwards );
+			}
+			definitions.push_back( dcl );
+			indexer.addId( dcl );
+		}
+
+		// field ctors are only generated if default constructor and copy constructor are both generated
+		unsigned numCtors = std::count_if( definitions.begin(), definitions.end(), [](Declaration * dcl) { return CodeGen::isConstructor( dcl->get_name() ); } );
 
 		// create constructors which take each member type as a parameter.
@@ -433,27 +438,32 @@
 		// are generated, since they need access to both
 		if ( numCtors == 2 ) {
+			const auto & typeParams = aggregateDecl->parameters;
 			FunctionType * memCtorType = genDefaultType( refType );
-			cloneAll( typeParams, memCtorType->get_forall() );
-			for ( std::list<Declaration *>::iterator i = aggregateDecl->get_members().begin(); i != aggregateDecl->get_members().end(); ++i ) {
-				DeclarationWithType * member = dynamic_cast<DeclarationWithType *>( *i );
-				assert( member );
-				if ( isUnnamedBitfield( dynamic_cast< ObjectDecl * > ( member ) ) ) {
+			cloneAll( typeParams, memCtorType->forall );
+			for ( Declaration * member : aggregateDecl->members ) {
+				DeclarationWithType * field = dynamic_cast<DeclarationWithType *>( member );
+				assert( field );
+				if ( isUnnamedBitfield( dynamic_cast< ObjectDecl * > ( field ) ) ) {
 					// don't make a function whose parameter is an unnamed bitfield
 					continue;
-				} else if ( member->get_name() == "" ) {
-					// don't assign to anonymous members
-					// xxx - this is a temporary fix. Anonymous members tie into
-					// our inheritance model. I think the correct way to handle this is to
-					// cast the structure to the type of the member and let the resolver
-					// figure out whether it's valid/choose the correct unnamed member
+				}
+				memCtorType->get_parameters().push_back( new ObjectDecl( field->get_name(), Type::StorageClasses(), LinkageSpec::Cforall, 0, field->get_type()->clone(), 0 ) );
+				FunctionDecl * ctor = genFunc( "?{}", memCtorType->clone(), functionNesting );
+				makeStructFieldCtorBody( aggregateDecl->members.begin(), aggregateDecl->members.end(), ctor );
+
+				try {
+					ResolvExpr::resolveDecl( ctor, indexer );
+				} catch ( SemanticError err ) {
+					// okay if decl does not resolve - that means the function should not be generated
+					delete ctor;
 					continue;
 				}
-				memCtorType->get_parameters().push_back( new ObjectDecl( member->get_name(), Type::StorageClasses(), LinkageSpec::Cforall, 0, member->get_type()->clone(), 0 ) );
-				FunctionDecl * ctor = genFunc( "?{}", memCtorType->clone(), functionNesting );
-				makeStructFieldCtorBody( aggregateDecl->get_members().begin(), aggregateDecl->get_members().end(), ctor );
-				declsToAdd.push_back( ctor );
+				definitions.push_back( ctor );
 			}
 			delete memCtorType;
 		}
+
+		declsToAdd.splice( declsToAdd.end(), forwards );
+		declsToAdd.splice( declsToAdd.end(), definitions );
 	}
 
@@ -483,5 +493,5 @@
 
 	/// generates union constructors, destructors, and assignment operator
-	void makeUnionFunctions( UnionDecl *aggregateDecl, UnionInstType *refType, unsigned int functionNesting, std::list< Declaration * > & declsToAdd ) {
+	void makeUnionFunctions( UnionDecl *aggregateDecl, UnionInstType *refType, unsigned int functionNesting, std::list< Declaration * > & declsToAdd, SymTab::Indexer & indexer ) {
 		// Make function polymorphic in same parameters as generic union, if applicable
 		const std::list< TypeDecl* > & typeParams = aggregateDecl->get_parameters(); // List of type variables to be placed on the generated functions
@@ -545,4 +555,10 @@
 		declsToAdd.push_back( dtorDecl );
 		declsToAdd.push_back( assignDecl ); // assignment should come last since it uses copy constructor in return
+
+		indexer.addId( ctorDecl );
+		indexer.addId( copyCtorDecl );
+		indexer.addId( dtorDecl );
+		indexer.addId( assignDecl );
+
 		declsToAdd.splice( declsToAdd.end(), memCtors );
 	}
@@ -558,9 +574,9 @@
 
 	void AutogenerateRoutines::previsit( EnumDecl * enumDecl ) {
-		visit_children = false;
-		if ( ! enumDecl->get_members().empty() ) {
+		// must visit children (enum constants) to add them to the indexer
+		if ( enumDecl->has_body() ) {
 			EnumInstType *enumInst = new EnumInstType( Type::Qualifiers(), enumDecl->get_name() );
-			// enumInst->set_baseEnum( enumDecl );
-			makeEnumFunctions( enumInst, functionNesting, declsToAddAfter );
+			enumInst->set_baseEnum( enumDecl );
+			makeEnumFunctions( enumInst, functionNesting, declsToAddAfter, indexer );
 		}
 	}
@@ -572,9 +588,9 @@
 			for ( TypeDecl * typeDecl : structDecl->parameters ) {
 				// need to visit assertions so that they are added to the appropriate maps
-				acceptAll( typeDecl->assertions, *visitor );
+				// acceptAll( typeDecl->assertions, *visitor );
 				structInst.parameters.push_back( new TypeExpr( new TypeInstType( Type::Qualifiers(), typeDecl->name, typeDecl ) ) );
 			}
 			structInst.set_baseStruct( structDecl );
-			makeStructFunctions( structDecl, &structInst, functionNesting, declsToAddAfter, data );
+			makeStructFunctions( structDecl, &structInst, functionNesting, declsToAddAfter, data, indexer );
 			structsDone.insert( structDecl->name );
 		} // if
@@ -583,5 +599,5 @@
 	void AutogenerateRoutines::previsit( UnionDecl * unionDecl ) {
 		visit_children = false;
-		if ( ! unionDecl->get_members().empty() ) {
+		if ( unionDecl->has_body() /* && unionsDone.find( unionDecl->name ) == unionsDone.end() */ ) {
 			UnionInstType unionInst( Type::Qualifiers(), unionDecl->get_name() );
 			unionInst.set_baseUnion( unionDecl );
@@ -589,5 +605,5 @@
 				unionInst.get_parameters().push_back( new TypeExpr( new TypeInstType( Type::Qualifiers(), typeDecl->get_name(), typeDecl ) ) );
 			}
-			makeUnionFunctions( unionDecl, &unionInst, functionNesting, declsToAddAfter );
+			makeUnionFunctions( unionDecl, &unionInst, functionNesting, declsToAddAfter, indexer );
 		} // if
 	}
@@ -608,7 +624,6 @@
 		std::list< FunctionDecl * > newFuncs;
 		std::list< Declaration * > tds { typeDecl };
-		std::list< TypeDecl * > typeParams;
 		TypeInstType refType( Type::Qualifiers(), typeDecl->name, typeDecl );
-		auto generator = makeFuncGenerator( lazy_map( tds, declToTypeDeclBase ), &refType, functionNesting, typeParams, back_inserter( newFuncs ) );
+		auto generator = makeFuncGenerator( lazy_map( tds, declToTypeDeclBase ), &refType, functionNesting, back_inserter( newFuncs ) );
 		for ( const FuncData & d : data ) {
 			generator.gen( d, false );
Index: src/tests/.expect/64/attributes.txt
===================================================================
--- src/tests/.expect/64/attributes.txt	(revision bd7e60918ad2d7fa73046569632b064782dac72e)
+++ src/tests/.expect/64/attributes.txt	(revision 189d8006733bdd60c00694bcd130684d954c88bd)
@@ -78,4 +78,5 @@
     ((void)((*___dst__R4sFdl_1).__f7__i_1) /* ?{} */);
     ((void)((*___dst__R4sFdl_1).__f8__i_1) /* ?{} */);
+    ((void)((*___dst__R4sFdl_1).__anonymous_object0) /* ?{} */);
     ((void)((*___dst__R4sFdl_1).__f9__Pi_1) /* ?{} */);
 }
@@ -89,8 +90,10 @@
     ((void)((*___dst__R4sFdl_1).__f7__i_1=___src__4sFdl_1.__f7__i_1) /* ?{} */);
     ((void)((*___dst__R4sFdl_1).__f8__i_1=___src__4sFdl_1.__f8__i_1) /* ?{} */);
+    ((void)((*___dst__R4sFdl_1).__anonymous_object0=___src__4sFdl_1.__anonymous_object0) /* ?{} */);
     ((void)((*___dst__R4sFdl_1).__f9__Pi_1=___src__4sFdl_1.__f9__Pi_1) /* ?{} */);
 }
 static inline void ___destructor__F_R4sFdl_autogen___1(struct Fdl *___dst__R4sFdl_1){
     ((void)((*___dst__R4sFdl_1).__f9__Pi_1) /* ^?{} */);
+    ((void)((*___dst__R4sFdl_1).__anonymous_object0) /* ^?{} */);
     ((void)((*___dst__R4sFdl_1).__f8__i_1) /* ^?{} */);
     ((void)((*___dst__R4sFdl_1).__f7__i_1) /* ^?{} */);
@@ -112,4 +115,5 @@
     ((void)((*___dst__R4sFdl_1).__f7__i_1=___src__4sFdl_1.__f7__i_1));
     ((void)((*___dst__R4sFdl_1).__f8__i_1=___src__4sFdl_1.__f8__i_1));
+    ((void)((*___dst__R4sFdl_1).__anonymous_object0=___src__4sFdl_1.__anonymous_object0));
     ((void)((*___dst__R4sFdl_1).__f9__Pi_1=___src__4sFdl_1.__f9__Pi_1));
     ((void)___constructor__F_R4sFdl4sFdl_autogen___1((&___ret__4sFdl_1), ___src__4sFdl_1));
@@ -125,4 +129,5 @@
     ((void)((*___dst__R4sFdl_1).__f7__i_1) /* ?{} */);
     ((void)((*___dst__R4sFdl_1).__f8__i_1) /* ?{} */);
+    ((void)((*___dst__R4sFdl_1).__anonymous_object0) /* ?{} */);
     ((void)((*___dst__R4sFdl_1).__f9__Pi_1) /* ?{} */);
 }
@@ -136,4 +141,5 @@
     ((void)((*___dst__R4sFdl_1).__f7__i_1) /* ?{} */);
     ((void)((*___dst__R4sFdl_1).__f8__i_1) /* ?{} */);
+    ((void)((*___dst__R4sFdl_1).__anonymous_object0) /* ?{} */);
     ((void)((*___dst__R4sFdl_1).__f9__Pi_1) /* ?{} */);
 }
@@ -147,4 +153,5 @@
     ((void)((*___dst__R4sFdl_1).__f7__i_1) /* ?{} */);
     ((void)((*___dst__R4sFdl_1).__f8__i_1) /* ?{} */);
+    ((void)((*___dst__R4sFdl_1).__anonymous_object0) /* ?{} */);
     ((void)((*___dst__R4sFdl_1).__f9__Pi_1) /* ?{} */);
 }
@@ -158,4 +165,5 @@
     ((void)((*___dst__R4sFdl_1).__f7__i_1) /* ?{} */);
     ((void)((*___dst__R4sFdl_1).__f8__i_1) /* ?{} */);
+    ((void)((*___dst__R4sFdl_1).__anonymous_object0) /* ?{} */);
     ((void)((*___dst__R4sFdl_1).__f9__Pi_1) /* ?{} */);
 }
@@ -169,4 +177,5 @@
     ((void)((*___dst__R4sFdl_1).__f7__i_1) /* ?{} */);
     ((void)((*___dst__R4sFdl_1).__f8__i_1) /* ?{} */);
+    ((void)((*___dst__R4sFdl_1).__anonymous_object0) /* ?{} */);
     ((void)((*___dst__R4sFdl_1).__f9__Pi_1) /* ?{} */);
 }
@@ -180,4 +189,5 @@
     ((void)((*___dst__R4sFdl_1).__f7__i_1) /* ?{} */);
     ((void)((*___dst__R4sFdl_1).__f8__i_1) /* ?{} */);
+    ((void)((*___dst__R4sFdl_1).__anonymous_object0) /* ?{} */);
     ((void)((*___dst__R4sFdl_1).__f9__Pi_1) /* ?{} */);
 }
@@ -191,4 +201,5 @@
     ((void)((*___dst__R4sFdl_1).__f7__i_1=__f7__i_1) /* ?{} */);
     ((void)((*___dst__R4sFdl_1).__f8__i_1) /* ?{} */);
+    ((void)((*___dst__R4sFdl_1).__anonymous_object0) /* ?{} */);
     ((void)((*___dst__R4sFdl_1).__f9__Pi_1) /* ?{} */);
 }
@@ -202,7 +213,8 @@
     ((void)((*___dst__R4sFdl_1).__f7__i_1=__f7__i_1) /* ?{} */);
     ((void)((*___dst__R4sFdl_1).__f8__i_1=__f8__i_1) /* ?{} */);
-    ((void)((*___dst__R4sFdl_1).__f9__Pi_1) /* ?{} */);
-}
-static inline void ___constructor__F_R4sFdliiiiiiiiPi_autogen___1(struct Fdl *___dst__R4sFdl_1, signed int __f1__i_1, signed int __f2__i_1, signed int __f3__i_1, signed int __f4__i_1, signed int __f5__i_1, signed int __f6__i_1, signed int __f7__i_1, signed int __f8__i_1, signed int *__f9__Pi_1){
+    ((void)((*___dst__R4sFdl_1).__anonymous_object0) /* ?{} */);
+    ((void)((*___dst__R4sFdl_1).__f9__Pi_1) /* ?{} */);
+}
+static inline void ___constructor__F_R4sFdliiiiiiiii_autogen___1(struct Fdl *___dst__R4sFdl_1, signed int __f1__i_1, signed int __f2__i_1, signed int __f3__i_1, signed int __f4__i_1, signed int __f5__i_1, signed int __f6__i_1, signed int __f7__i_1, signed int __f8__i_1, signed int __anonymous_object1){
     ((void)((*___dst__R4sFdl_1).__f1__i_1=__f1__i_1) /* ?{} */);
     ((void)((*___dst__R4sFdl_1).__f2__i_1=__f2__i_1) /* ?{} */);
@@ -213,4 +225,17 @@
     ((void)((*___dst__R4sFdl_1).__f7__i_1=__f7__i_1) /* ?{} */);
     ((void)((*___dst__R4sFdl_1).__f8__i_1=__f8__i_1) /* ?{} */);
+    ((void)((*___dst__R4sFdl_1).__anonymous_object0=__anonymous_object1) /* ?{} */);
+    ((void)((*___dst__R4sFdl_1).__f9__Pi_1) /* ?{} */);
+}
+static inline void ___constructor__F_R4sFdliiiiiiiiiPi_autogen___1(struct Fdl *___dst__R4sFdl_1, signed int __f1__i_1, signed int __f2__i_1, signed int __f3__i_1, signed int __f4__i_1, signed int __f5__i_1, signed int __f6__i_1, signed int __f7__i_1, signed int __f8__i_1, signed int __anonymous_object2, signed int *__f9__Pi_1){
+    ((void)((*___dst__R4sFdl_1).__f1__i_1=__f1__i_1) /* ?{} */);
+    ((void)((*___dst__R4sFdl_1).__f2__i_1=__f2__i_1) /* ?{} */);
+    ((void)((*___dst__R4sFdl_1).__f3__i_1=__f3__i_1) /* ?{} */);
+    ((void)((*___dst__R4sFdl_1).__f4__i_1=__f4__i_1) /* ?{} */);
+    ((void)((*___dst__R4sFdl_1).__f5__i_1=__f5__i_1) /* ?{} */);
+    ((void)((*___dst__R4sFdl_1).__f6__i_1=__f6__i_1) /* ?{} */);
+    ((void)((*___dst__R4sFdl_1).__f7__i_1=__f7__i_1) /* ?{} */);
+    ((void)((*___dst__R4sFdl_1).__f8__i_1=__f8__i_1) /* ?{} */);
+    ((void)((*___dst__R4sFdl_1).__anonymous_object0=__anonymous_object2) /* ?{} */);
     ((void)((*___dst__R4sFdl_1).__f9__Pi_1=__f9__Pi_1) /* ?{} */);
 }
@@ -232,11 +257,11 @@
     __attribute__ ((unused)) signed int **const ___retval_f2__CPPi_1;
 }
-__attribute__ ((unused,used,unused)) signed int (*__f3__FPA0i_i__1(signed int __anonymous_object1))[];
+__attribute__ ((unused,used,unused)) signed int (*__f3__FPA0i_i__1(signed int __anonymous_object3))[];
 __attribute__ ((unused,unused)) signed int (*__f3__FPA0i_i__1(signed int __p__i_1))[]{
     __attribute__ ((unused)) signed int (*___retval_f3__PA0i_1)[];
 }
-__attribute__ ((unused,used,unused)) signed int (*__f4__FPFi_i____1())(signed int __anonymous_object2);
-__attribute__ ((unused,unused)) signed int (*__f4__FPFi_i____1())(signed int __anonymous_object3){
-    __attribute__ ((unused)) signed int (*___retval_f4__PFi_i__1)(signed int __anonymous_object4);
+__attribute__ ((unused,used,unused)) signed int (*__f4__FPFi_i____1())(signed int __anonymous_object4);
+__attribute__ ((unused,unused)) signed int (*__f4__FPFi_i____1())(signed int __anonymous_object5){
+    __attribute__ ((unused)) signed int (*___retval_f4__PFi_i__1)(signed int __anonymous_object6);
 }
 signed int __vtr__Fi___1(){
@@ -268,8 +293,8 @@
 signed int __tpr2__Fi_PPi__1(__attribute__ ((unused,unused,unused,unused,unused,unused)) signed int **__Foo__PPi_1);
 signed int __tpr3__Fi_Pi__1(__attribute__ ((unused,unused,unused)) signed int *__Foo__Pi_1);
-signed int __tpr4__Fi_PFi_Pi___1(__attribute__ ((unused,unused)) signed int (*__anonymous_object5)(__attribute__ ((unused,unused)) signed int __anonymous_object6[((unsigned long int )5)]));
+signed int __tpr4__Fi_PFi_Pi___1(__attribute__ ((unused,unused)) signed int (*__anonymous_object7)(__attribute__ ((unused,unused)) signed int __anonymous_object8[((unsigned long int )5)]));
 signed int __tpr5__Fi_PFi____1(__attribute__ ((unused,unused,unused)) signed int (*__Foo__PFi___1)());
 signed int __tpr6__Fi_PFi____1(__attribute__ ((unused,unused,unused)) signed int (*__Foo__PFi___1)());
-signed int __tpr7__Fi_PFi_PFi_i____1(__attribute__ ((unused,unused)) signed int (*__anonymous_object7)(__attribute__ ((unused)) signed int (*__anonymous_object8)(__attribute__ ((unused,unused)) signed int __anonymous_object9)));
+signed int __tpr7__Fi_PFi_PFi_i____1(__attribute__ ((unused,unused)) signed int (*__anonymous_object9)(__attribute__ ((unused)) signed int (*__anonymous_object10)(__attribute__ ((unused,unused)) signed int __anonymous_object11)));
 signed int __ad__Fi___1(){
     __attribute__ ((unused)) signed int ___retval_ad__i_1;
@@ -324,16 +349,16 @@
     ((void)sizeof(enum __anonymous5 ));
 }
-signed int __apd1__Fi_PiPi__1(__attribute__ ((unused,unused,unused)) signed int *__anonymous_object10, __attribute__ ((unused,unused,unused)) signed int *__anonymous_object11);
-signed int __apd2__Fi_PPiPPi__1(__attribute__ ((unused,unused,unused,unused)) signed int **__anonymous_object12, __attribute__ ((unused,unused,unused,unused)) signed int **__anonymous_object13);
-signed int __apd3__Fi_PiPi__1(__attribute__ ((unused,unused,unused)) signed int *__anonymous_object14, __attribute__ ((unused,unused,unused)) signed int *__anonymous_object15);
-signed int __apd4__Fi_PFi__PFi____1(__attribute__ ((unused,unused,unused)) signed int (*__anonymous_object16)(), __attribute__ ((unused,unused,unused)) signed int (*__anonymous_object17)());
-signed int __apd5__Fi_PFi_i_PFi_i___1(__attribute__ ((unused,unused,unused)) signed int (*__anonymous_object18)(__attribute__ ((unused)) signed int __anonymous_object19), __attribute__ ((unused,unused,unused)) signed int (*__anonymous_object20)(__attribute__ ((unused)) signed int __anonymous_object21));
-signed int __apd6__Fi_PFi__PFi____1(__attribute__ ((unused,unused,unused)) signed int (*__anonymous_object22)(), __attribute__ ((unused,unused,unused)) signed int (*__anonymous_object23)());
-signed int __apd7__Fi_PFi_i_PFi_i___1(__attribute__ ((unused,unused,unused)) signed int (*__anonymous_object24)(__attribute__ ((unused)) signed int __anonymous_object25), __attribute__ ((unused,unused,unused)) signed int (*__anonymous_object26)(__attribute__ ((unused)) signed int __anonymous_object27));
+signed int __apd1__Fi_PiPi__1(__attribute__ ((unused,unused,unused)) signed int *__anonymous_object12, __attribute__ ((unused,unused,unused)) signed int *__anonymous_object13);
+signed int __apd2__Fi_PPiPPi__1(__attribute__ ((unused,unused,unused,unused)) signed int **__anonymous_object14, __attribute__ ((unused,unused,unused,unused)) signed int **__anonymous_object15);
+signed int __apd3__Fi_PiPi__1(__attribute__ ((unused,unused,unused)) signed int *__anonymous_object16, __attribute__ ((unused,unused,unused)) signed int *__anonymous_object17);
+signed int __apd4__Fi_PFi__PFi____1(__attribute__ ((unused,unused,unused)) signed int (*__anonymous_object18)(), __attribute__ ((unused,unused,unused)) signed int (*__anonymous_object19)());
+signed int __apd5__Fi_PFi_i_PFi_i___1(__attribute__ ((unused,unused,unused)) signed int (*__anonymous_object20)(__attribute__ ((unused)) signed int __anonymous_object21), __attribute__ ((unused,unused,unused)) signed int (*__anonymous_object22)(__attribute__ ((unused)) signed int __anonymous_object23));
+signed int __apd6__Fi_PFi__PFi____1(__attribute__ ((unused,unused,unused)) signed int (*__anonymous_object24)(), __attribute__ ((unused,unused,unused)) signed int (*__anonymous_object25)());
+signed int __apd7__Fi_PFi_i_PFi_i___1(__attribute__ ((unused,unused,unused)) signed int (*__anonymous_object26)(__attribute__ ((unused)) signed int __anonymous_object27), __attribute__ ((unused,unused,unused)) signed int (*__anonymous_object28)(__attribute__ ((unused)) signed int __anonymous_object29));
 struct Vad {
-    __attribute__ ((unused)) signed int __anonymous_object28;
-    __attribute__ ((unused,unused)) signed int *__anonymous_object29;
-    __attribute__ ((unused,unused)) signed int __anonymous_object30[((unsigned long int )10)];
-    __attribute__ ((unused,unused)) signed int (*__anonymous_object31)();
+    __attribute__ ((unused)) signed int __anonymous_object30;
+    __attribute__ ((unused,unused)) signed int *__anonymous_object31;
+    __attribute__ ((unused,unused)) signed int __anonymous_object32[((unsigned long int )10)];
+    __attribute__ ((unused,unused)) signed int (*__anonymous_object33)();
 };
 static inline void ___constructor__F_R4sVad_autogen___1(struct Vad *___dst__R4sVad_1);
@@ -342,12 +367,108 @@
 static inline struct Vad ___operator_assign__F4sVad_R4sVad4sVad_autogen___1(struct Vad *___dst__R4sVad_1, struct Vad ___src__4sVad_1);
 static inline void ___constructor__F_R4sVad_autogen___1(struct Vad *___dst__R4sVad_1){
+    ((void)((*___dst__R4sVad_1).__anonymous_object30) /* ?{} */);
+    ((void)((*___dst__R4sVad_1).__anonymous_object31) /* ?{} */);
+    {
+        signed int _index0 = 0;
+        for (;(_index0<10);((void)(++_index0))) {
+            ((void)((*((signed int *)(&(*___dst__R4sVad_1).__anonymous_object32[((signed long int )_index0)])))) /* ?{} */);
+        }
+
+    }
+
+    ((void)((*___dst__R4sVad_1).__anonymous_object33) /* ?{} */);
 }
 static inline void ___constructor__F_R4sVad4sVad_autogen___1(struct Vad *___dst__R4sVad_1, struct Vad ___src__4sVad_1){
+    ((void)((*___dst__R4sVad_1).__anonymous_object30=___src__4sVad_1.__anonymous_object30) /* ?{} */);
+    ((void)((*___dst__R4sVad_1).__anonymous_object31=___src__4sVad_1.__anonymous_object31) /* ?{} */);
+    {
+        signed int _index1 = 0;
+        for (;(_index1<10);((void)(++_index1))) {
+            ((void)((*((signed int *)(&(*___dst__R4sVad_1).__anonymous_object32[((signed long int )_index1)])))=___src__4sVad_1.__anonymous_object32[((signed long int )_index1)]) /* ?{} */);
+        }
+
+    }
+
+    ((void)((*___dst__R4sVad_1).__anonymous_object33=___src__4sVad_1.__anonymous_object33) /* ?{} */);
 }
 static inline void ___destructor__F_R4sVad_autogen___1(struct Vad *___dst__R4sVad_1){
+    ((void)((*___dst__R4sVad_1).__anonymous_object33) /* ^?{} */);
+    {
+        signed int _index2 = (10-1);
+        for (;(_index2>=0);((void)(--_index2))) {
+            ((void)((*((signed int *)(&(*___dst__R4sVad_1).__anonymous_object32[((signed long int )_index2)])))) /* ^?{} */);
+        }
+
+    }
+
+    ((void)((*___dst__R4sVad_1).__anonymous_object31) /* ^?{} */);
+    ((void)((*___dst__R4sVad_1).__anonymous_object30) /* ^?{} */);
 }
 static inline struct Vad ___operator_assign__F4sVad_R4sVad4sVad_autogen___1(struct Vad *___dst__R4sVad_1, struct Vad ___src__4sVad_1){
     struct Vad ___ret__4sVad_1;
+    ((void)((*___dst__R4sVad_1).__anonymous_object30=___src__4sVad_1.__anonymous_object30));
+    ((void)((*___dst__R4sVad_1).__anonymous_object31=___src__4sVad_1.__anonymous_object31));
+    {
+        signed int _index3 = 0;
+        for (;(_index3<10);((void)(++_index3))) {
+            ((void)((*___dst__R4sVad_1).__anonymous_object32[((signed long int )_index3)]=___src__4sVad_1.__anonymous_object32[((signed long int )_index3)]));
+        }
+
+    }
+
+    ((void)((*___dst__R4sVad_1).__anonymous_object33=___src__4sVad_1.__anonymous_object33));
     ((void)___constructor__F_R4sVad4sVad_autogen___1((&___ret__4sVad_1), ___src__4sVad_1));
     return ___ret__4sVad_1;
 }
+static inline void ___constructor__F_R4sVadi_autogen___1(struct Vad *___dst__R4sVad_1, signed int __anonymous_object34){
+    ((void)((*___dst__R4sVad_1).__anonymous_object30=__anonymous_object34) /* ?{} */);
+    ((void)((*___dst__R4sVad_1).__anonymous_object31) /* ?{} */);
+    {
+        signed int _index4 = 0;
+        for (;(_index4<10);((void)(++_index4))) {
+            ((void)((*((signed int *)(&(*___dst__R4sVad_1).__anonymous_object32[((signed long int )_index4)])))) /* ?{} */);
+        }
+
+    }
+
+    ((void)((*___dst__R4sVad_1).__anonymous_object33) /* ?{} */);
+}
+static inline void ___constructor__F_R4sVadiPi_autogen___1(struct Vad *___dst__R4sVad_1, signed int __anonymous_object35, signed int *__anonymous_object36){
+    ((void)((*___dst__R4sVad_1).__anonymous_object30=__anonymous_object35) /* ?{} */);
+    ((void)((*___dst__R4sVad_1).__anonymous_object31=__anonymous_object36) /* ?{} */);
+    {
+        signed int _index5 = 0;
+        for (;(_index5<10);((void)(++_index5))) {
+            ((void)((*((signed int *)(&(*___dst__R4sVad_1).__anonymous_object32[((signed long int )_index5)])))) /* ?{} */);
+        }
+
+    }
+
+    ((void)((*___dst__R4sVad_1).__anonymous_object33) /* ?{} */);
+}
+static inline void ___constructor__F_R4sVadiPiA0i_autogen___1(struct Vad *___dst__R4sVad_1, signed int __anonymous_object37, signed int *__anonymous_object38, signed int __anonymous_object39[((unsigned long int )10)]){
+    ((void)((*___dst__R4sVad_1).__anonymous_object30=__anonymous_object37) /* ?{} */);
+    ((void)((*___dst__R4sVad_1).__anonymous_object31=__anonymous_object38) /* ?{} */);
+    {
+        signed int _index6 = 0;
+        for (;(_index6<10);((void)(++_index6))) {
+            ((void)((*((signed int *)(&(*___dst__R4sVad_1).__anonymous_object32[((signed long int )_index6)])))=__anonymous_object39[((signed long int )_index6)]) /* ?{} */);
+        }
+
+    }
+
+    ((void)((*___dst__R4sVad_1).__anonymous_object33) /* ?{} */);
+}
+static inline void ___constructor__F_R4sVadiPiA0iPFi___autogen___1(struct Vad *___dst__R4sVad_1, signed int __anonymous_object40, signed int *__anonymous_object41, signed int __anonymous_object42[((unsigned long int )10)], signed int (*__anonymous_object43)()){
+    ((void)((*___dst__R4sVad_1).__anonymous_object30=__anonymous_object40) /* ?{} */);
+    ((void)((*___dst__R4sVad_1).__anonymous_object31=__anonymous_object41) /* ?{} */);
+    {
+        signed int _index7 = 0;
+        for (;(_index7<10);((void)(++_index7))) {
+            ((void)((*((signed int *)(&(*___dst__R4sVad_1).__anonymous_object32[((signed long int )_index7)])))=__anonymous_object42[((signed long int )_index7)]) /* ?{} */);
+        }
+
+    }
+
+    ((void)((*___dst__R4sVad_1).__anonymous_object33=__anonymous_object43) /* ?{} */);
+}
