Subject: CGAL users discussion list
List archive
- From: Marc Glisse <>
- To:
- Subject: Re: [cgal-discuss] Re: h.has_on(p) assertion error - how to figure out why?
- Date: Tue, 12 Mar 2013 18:07:15 +0100 (CET)
On Tue, 12 Mar 2013, Marius Kintel wrote:
On 2013-03-12, at 12:39 , marcosscriven wrote:
This turned out to be an LLVM optimsation issue. With no optimisation at theI've seen such issues before, on Mac, LLVM, optimizations. It had something
LLVM level, it works fine, but with -O1, I get this assertion error.
to do with rounding modes, but it was fixed in CGAL-4.1 IIRC.
On Tue, 12 Mar 2013, marcosscriven wrote:
Thanks for the input - I am using CGAL 4.1 (with GMP 5.1.1, MPFR 3.1.1, and
Boost 1.53). Perhaps there are some remaining issues.
We already go out of our way to prevent LLVM from breaking the code. In CGAL/FPU.h,
#define CGAL_IA_ADD(a,b) CGAL_IA_FORCE_TO_DOUBLE((a)+CGAL_IA_STOP_CPROP(b))
could still be made stronger by adding CGAL_IA_STOP_CPROP in front of (a), and similarly for the other operations, but that's it.
There may be other places than intervals in CGAL that rely on some behavior of floats, and there are probably a number of other things than floats that optimizers may mess with.
--
Marc Glisse
- [cgal-discuss] h.has_on(p) assertion error - how to figure out why?, marcosscriven, 03/08/2013
- Re: [cgal-discuss] h.has_on(p) assertion error - how to figure out why?, Sebastien Loriot (GeometryFactory), 03/09/2013
- [cgal-discuss] Re: h.has_on(p) assertion error - how to figure out why?, marcosscriven, 03/11/2013
- Re: [cgal-discuss] Re: h.has_on(p) assertion error - how to figure out why?, Sebastien Loriot (GeometryFactory), 03/11/2013
- [cgal-discuss] Re: h.has_on(p) assertion error - how to figure out why?, marcosscriven, 03/11/2013
- Re: [cgal-discuss] Re: h.has_on(p) assertion error - how to figure out why?, Sebastien Loriot (GeometryFactory), 03/11/2013
- [cgal-discuss] Re: h.has_on(p) assertion error - how to figure out why?, marcosscriven, 03/12/2013
- Re: [cgal-discuss] Re: h.has_on(p) assertion error - how to figure out why?, Marius Kintel, 03/12/2013
- [cgal-discuss] Re: h.has_on(p) assertion error - how to figure out why?, marcosscriven, 03/12/2013
- Re: [cgal-discuss] Re: h.has_on(p) assertion error - how to figure out why?, Marc Glisse, 03/12/2013
- [cgal-discuss] Re: h.has_on(p) assertion error - how to figure out why?, marcosscriven, 03/14/2013
- [cgal-discuss] Re: h.has_on(p) assertion error - how to figure out why?, marcosscriven, 03/14/2013
- [cgal-discuss] Re: h.has_on(p) assertion error - how to figure out why?, marcosscriven, 03/12/2013
- Re: [cgal-discuss] Re: h.has_on(p) assertion error - how to figure out why?, Sebastien Loriot (GeometryFactory), 03/11/2013
- [cgal-discuss] Re: h.has_on(p) assertion error - how to figure out why?, marcosscriven, 03/11/2013
- Re: [cgal-discuss] Re: h.has_on(p) assertion error - how to figure out why?, Laurent Rineau (CGAL/GeometryFactory), 03/12/2013
- [cgal-discuss] Re: h.has_on(p) assertion error - how to figure out why?, marcosscriven, 03/12/2013
- [cgal-discuss] Re: h.has_on(p) assertion error - how to figure out why?, marcosscriven, 03/15/2013
- Re: [cgal-discuss] Re: h.has_on(p) assertion error - how to figure out why?, Marc Glisse, 03/15/2013
- Re: [cgal-discuss] Re: h.has_on(p) assertion error - how to figure out why?, Sebastien Loriot (GeometryFactory), 03/11/2013
- [cgal-discuss] Re: h.has_on(p) assertion error - how to figure out why?, marcosscriven, 03/11/2013
- Re: [cgal-discuss] h.has_on(p) assertion error - how to figure out why?, Sebastien Loriot (GeometryFactory), 03/09/2013
Archive powered by MHonArc 2.6.18.