public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Incorrect results from numerical library when using -ftree-ter
@ 2012-06-07 16:29 Szabolcs Horvát
  2012-06-07 22:51 ` Ian Lance Taylor
  0 siblings, 1 reply; 5+ messages in thread
From: Szabolcs Horvát @ 2012-06-07 16:29 UTC (permalink / raw)
  To: gcc-help

Hello,

I am using the Triangle library
<http://www.cs.cmu.edu/~quake/triangle.html> to generate Delaunay
triangulations of a large number of points.  When I compile this
library using the -ftree-ter optimization option only, the library
gives me incorrect results for certain inputs.  The -ftree-ter  option
is enabled by optimization level -O1 or higher, which also cause the
library to return incorrect results.

Question:  Does this indicate that there is a bug in gcc or is it more
likely that there's a problem in how the library is written?

Unfortunately I am not familiar with the code of Triangle, I just
compile it and use it.

I tried this with gcc 4.6.3 on Ubuntu and gcc 4.7.0 on Windows (from
<http://nuwen.net/mingw.html>), both 32-bit.

Szabolcs

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-06-11 15:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-07 16:29 Incorrect results from numerical library when using -ftree-ter Szabolcs Horvát
2012-06-07 22:51 ` Ian Lance Taylor
2012-06-11 12:31   ` Szabolcs Horvát
2012-06-11 13:01     ` Dario Saccavino
2012-06-11 15:30       ` Szabolcs Horvát

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).