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
Eike Lange wrote:
The following program does not work:
[eike3a.pas]
Thanks for the report. Fix attached. Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://www.gnu-pascal.de/todo.html GPC download signing key: 51FF C1F0 1A77 C6C2 4482 4DDC 117A 9773 7F88 1707
participants (3)
-
Eike Lange -
Frank Heckenbach -
J. David Bryan