Ticket #1037 (closed defect: fixed)
compiler mishandles prog1 with sufficient optimization
|Reported by:||matt.kaufmann||Owned by:|
It appears that sometimes (prog1 x y) returns y. I've attached a file where CCL returns an incorrect value, perhaps for that reason. Version/platform info is in that file, but here it is:
[and from uname -a:]
Linux sloth 2.6.32-45-server #100-Ubuntu SMP Wed Nov 14 11:02:27 UTC 2012 x86_64 GNU/Linux
As explained in the attached file, I didn't have this problem on a Mac for a slightly older CCL version.