mirror of https://github.com/CGAL/cgal
With /O2 and /fp:strict, MSVC produces a wrong assembler for the
following code:
int main(){
int i = 3;
float f = 3.f;
bool b = (f>= i);
return b ? 0 : 1;
}
The issue is with constant propagation and /fp:strict in the optimizer. The
workaround is to use volatile to prevent the constant propagation.
|
||
|---|---|---|
| .. | ||
| doc_tex | ||
| examples/Algebraic_foundations | ||
| include/CGAL | ||
| package_info/Algebraic_foundations | ||
| test/Algebraic_foundations | ||