Multi-operator WLs crash sac2c w/new CF
| Bugzilla Link | 446 |
| Created on | Jul 07, 2008 17:59 |
| Resolution | FIXED |
| Resolved on | Jul 08, 2008 19:10 |
| Version | 1.00beta |
| OS | Linux |
| Architecture | PC |
| Attachments | tutu.sac |
Extended Description
The attached crashes sac2c while inserting symbolic array attributes. The direct problem is that the SAA code presumes that the returnexprs code always has a funcond as its SSAASSIGN node. However, CF has removed the funcond (due to an always-true or always-false predicate, and replaced it with an N_num. Presumably, either CF has to be more conservative about chucking code away, or the SAA stuff has to be more intelligent about what it expects to see when it is generating code to ship non-formal results to the calling function.