Opened 5 years ago

Last modified 5 years ago

#162 assigned defect

Member access of reference broken in goto statement — at Initial Version

Reported by: Thierry Delisle Owned by: Thierry Delisle
Priority: major Component: cfa-cc
Version: 1.0 Keywords: Resolver
Cc:

Description

This code seems to resolve correctly but generates incorrect code.

struct outer {
	void * v;
};

void foo(outer & b) {
	*b.v;
}

Dumping the ast before and after the resolver seems to indicate this is a resolver bug.

Change History (0)

Note: See TracTickets for help on using tickets.