tree gets muddled up by CF; problem with idx_shape_sel
| Bugzilla Link | 444 |
| Created on | Jul 01, 2008 11:00 |
| Resolution | FIXED |
| Resolved on | Jul 02, 2008 05:53 |
| Version | 1.00beta |
| OS | Linux |
| Architecture | PC |
| Attachments | tutu.sac |
Extended Description
Created an attachment (id=481) source code Here is a small example for a CF problem. Unfortunately, it only arises if you a) update to rev 15749 and b) modify constant_folding.c in line 224 from INFO_LACFUNOK( arg_info) = TRUE; into INFO_LACFUNOK( arg_info) = FALSE; After that you cannot create the prelude anymore!!! But you can compile the attached example with sac2c tutu.sac -b11:cyc:wlpr:1 -noprelude and with sac2c tutu.sac -b11:cyc:cf:1 -noprelude You will see a difference in the else branch of the conditional in xxx_Cond_0! If you try to compile further by sac2c tutu.sac -b11:cyc:dcr:1 -noprelude printing goes badaboom