improper treatment of empty modarray
|
|
Bugzilla Link |
344 |
Created on |
Feb 07, 2007 12:52 |
Resolution |
FIXED |
Resolved on |
May 08, 2007 11:17 |
Version |
1.00beta |
OS |
Linux |
Architecture |
PC |
Attachments |
wlfsbug.sac, bug344.sac
|
Extended Description
Cheer up, folks, for i am bringing you not only one, but two bugs today, which
although maybe closely related.
The bugs are encountered specifically when specifing a with-loop with no
generators applied to a modarray, like this:
A = with : modarray( B );
the compiler dies with a SIGSEGV in TYgetProductSize, at phase 6: Running type
inference system.
--
If you now place the with:modarray inside a do-loop, like this:
do {
A = with : modarray( B );
} while ( true );
the compiler dies with a SIGSEGV at HZGWLassign, in phase 2:Handling
zero-generator with-loops.