CSE changes semantics
Create file:
main = print $ 1/0 - 1/0
Compile with -O0, it outputs: NaN
Compile with -O1, it outputs: 0.0
Compile with -O1 -fno-cse, it outputs: NaN
Trac metadata
Trac field | Value |
---|---|
Version | 6.7 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | Multiple |
Architecture | Multiple |