Opened 7 years ago
Closed 7 years ago
#78 closed defect (fixed)
Generic array element dereference
Reported by: | Thierry Delisle | Owned by: | |
---|---|---|---|
Priority: | major | Component: | cfa-cc |
Version: | 1.0 | Keywords: | |
Cc: |
Description
This code segfaults:
forall(otype T) struct X { T arr[1]; }; forall(otype T) void doit( X(T) & x, T e ) { x.arr[0] = e; } int main() { X(int) a; doit( a, 1 ); }
Change History (1)
comment:1 Changed 7 years ago by
Owner: | set to Rob Schluntz <rschlunt@…> |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
In c20b0fe: