Opened 5 years ago
Last modified 5 years 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 )
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.
Note: See
TracTickets for help on using
tickets.