public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/18902] New: Naive (default) complex division algorithm
@ 2004-12-09 11:08 pcarlini at suse dot de
  2004-12-09 11:09 ` [Bug middle-end/18902] " pcarlini at suse dot de
                   ` (25 more replies)
  0 siblings, 26 replies; 27+ messages in thread
From: pcarlini at suse dot de @ 2004-12-09 11:08 UTC (permalink / raw)
  To: gcc-bugs

Apparently, the default algorithm (the other one available is selectable via
flag_complex_divide_method = 1) is the naive one, which is not able to deal
correctly with "large" denominators. For some additional details, see:

  http://gcc.gnu.org/ml/gcc-bugs/2004-12/msg00820.html

I'm attaching a trivial, pure C, testcase, showing at least inconsistency in the
behaviors for real vs complex types. Swithing to flag_complex_divide_method = 1
fixes simple testcases, but maybe we really want the full C99-conforming algo,
as sketched in Annex G. In that case this would be a (high priority ;) request
for enhancement.

-- 
           Summary: Naive (default) complex division algorithm
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pcarlini at suse dot de
                CC: bkoz at redhat dot com,gcc-bugs at gcc dot gnu dot
                    org,gdr at integrable-solutions dot net
 GCC build triplet: Any
  GCC host triplet: Any
GCC target triplet: Any


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18902


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

end of thread, other threads:[~2005-03-31 21:38 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-09 11:08 [Bug middle-end/18902] New: Naive (default) complex division algorithm pcarlini at suse dot de
2004-12-09 11:09 ` [Bug middle-end/18902] " pcarlini at suse dot de
2004-12-09 11:17 ` joseph at codesourcery dot com
2004-12-09 11:26 ` pcarlini at suse dot de
2004-12-09 11:33 ` pcarlini at suse dot de
2004-12-09 11:46 ` joseph at codesourcery dot com
2004-12-09 13:02 ` pcarlini at suse dot de
2004-12-09 13:25 ` joseph at codesourcery dot com
2004-12-09 13:32 ` pcarlini at suse dot de
2004-12-09 16:04 ` gdr at integrable-solutions dot net
2004-12-23 23:05 ` bangerth at dealii dot org
2004-12-23 23:22 ` pcarlini at suse dot de
2005-01-20 10:45 ` Thomas dot Koenig at online dot de
2005-01-20 11:50 ` pcarlini at suse dot de
2005-01-20 12:11 ` pcarlini at suse dot de
2005-01-21 20:23 ` toon at moene dot indiv dot nluug dot nl
     [not found] ` <18548577.1106258230876.JavaMail.root@dtm1eusosrv72.dtm.ops.eu.uu.net>
2005-01-21 20:23   ` Toon Moene
2005-01-24  2:32 ` rth at gcc dot gnu dot org
2005-01-25 18:26 ` rth at gcc dot gnu dot org
2005-01-26  9:32 ` Thomas dot Koenig at online dot de
2005-01-26 10:54 ` pcarlini at suse dot de
2005-02-02 12:54 ` pcarlini at suse dot de
2005-02-24 14:23 ` cvs-commit at gcc dot gnu dot org
2005-02-24 14:24 ` rth at gcc dot gnu dot org
2005-02-24 16:29 ` pinskia at gcc dot gnu dot org
2005-02-25  1:00 ` rth at gcc dot gnu dot org
2005-03-31 21:38 ` rth at gcc dot gnu dot org

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).