public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/34739]  New: Need full backport of 28796
@ 2008-01-11 11:25 echristo at apple dot com
  2008-01-11 11:27 ` [Bug middle-end/34739] " steven at gcc dot gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: echristo at apple dot com @ 2008-01-11 11:25 UTC (permalink / raw)
  To: gcc-bugs

Found a testcase that ice's the ppc-darwin backend at -O3 -ffast-math that is
fixed by the full backport of the patches in 28796. In particular, this part:

Author: rguenth
Date: Tue Oct 24 09:15:07 2006
New Revision: 118001

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118001
Log:
2006-10-24  Richard Guenther  <rguenther@suse.de>

        PR middle-end/28796
        * builtins.c (fold_builtin_classify): Use HONOR_INFINITIES
        and HONOR_NANS instead of MODE_HAS_INFINITIES and MODE_HAS_NANS
        for deciding optimizations in consistency with fold-const.c
        (fold_builtin_unordered_cmp): Likewise.

        * gcc.dg/pr28796-1.c: New testcase.
        * gcc.dg/pr28796-1.c: Likewise.

Added:
    trunk/gcc/testsuite/gcc.dg/pr28796-1.c
    trunk/gcc/testsuite/gcc.dg/pr28796-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/builtins.c
    trunk/gcc/testsuite/ChangeLog

Testcase:

#include <math.h>
int test2(double x, double y) {
  return islessgreater(x, y);
}


-- 
           Summary: Need full backport of 28796
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: rguenth at gcc dot gnu dot org
        ReportedBy: echristo at apple dot com
 GCC build triplet: powerpc-darwin9
  GCC host triplet: powerpc-darwin9
GCC target triplet: powerpc-darwin9


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


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

end of thread, other threads:[~2008-01-22 14:50 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-11 11:25 [Bug middle-end/34739] New: Need full backport of 28796 echristo at apple dot com
2008-01-11 11:27 ` [Bug middle-end/34739] " steven at gcc dot gnu dot org
2008-01-11 11:38 ` echristo at apple dot com
2008-01-11 11:44 ` steven at gcc dot gnu dot org
2008-01-11 11:48 ` echristo at apple dot com
2008-01-11 12:16 ` pinskia at gcc dot gnu dot org
2008-01-11 13:09 ` pinskia at gcc dot gnu dot org
2008-01-11 13:10 ` [Bug middle-end/34739] [4.2 Regression] " rguenth at gcc dot gnu dot org
2008-01-11 13:10 ` [Bug middle-end/34739] " echristo at apple dot com
2008-01-20  4:51 ` [Bug middle-end/34739] [4.2 Regression] " pinskia at gcc dot gnu dot org
2008-01-22 14:49 ` rguenth at gcc dot gnu dot org
2008-01-22 14:54 ` rguenth 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).