John Ollason wrote:
{ The following program illustrates a bug discovered in gpc. The program functions correctly with the set 0..31, but with the set 0..32 or greater the second call to card returns zero, and the contents of the set disappear after the first call.
The following is the output from gpc --verbose
Using builtin specs. gpc version 19990118, based on gcc-2.8.1
This problem does not occur with my current GPC based on gcc-2.95.1 on i586-pc-linux-gnu. I recommend you to upgrade your GPC and to check whether the problem still exists.
Hope this helps,
Peter