Opened 16 months ago

Last modified 16 months ago

#162 assigned defect

Member access of reference broken in goto statement

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

Description (last modified by Thierry Delisle)

This code seems to resolve correctly but generates incorrect code.

struct outer {
	void * v;
};

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

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

Change History (1)

comment:1 Changed 16 months ago by Thierry Delisle

Description: modified (diff)
Note: See TracTickets for help on using tickets.