Ticket #1037 (closed defect: fixed)
compiler mishandles prog1 with sufficient optimization
| Reported by: | matt.kaufmann | Owned by: | |
|---|---|---|---|
| Priority: | blocker | Milestone: | |
| Component: | Compiler | Version: | trunk |
| Keywords: | prog1 | Cc: |
Description
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:
1.9-dev-r15527M-trunk (LinuxX8664)
[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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

