Hi Folks!
The following program does not work:
program Fail1;
var MySet: Set of Char = ['b', 'a', 'r'];
begin WriteLn (Card (MySet)); { works } WriteLn (Card (['f', 'a', 'i', 'l'])) { fails } end.
GPC-Version: ============ gpc 20021111, based on gcc-2.95.2 19991024 (release)
Error: ====== ../../../gcc-2.95.2/gcc/p/rtscall.c:333:actual_set_parameters: failed assertion 'TREE_CODE (TREE_TYPE (TREE_TYPE (val))) != VOID_TYPE' fail1.pas: In main program: fail1.pas:8: Internal compiler error. Please submit a full bug report to the GPC mailing list gpc@gnu.de. See URL:http://www.gnu-pascal.de/todo.html for details.
Eike