public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/31625]  New: decimal float comparison after conversion no longer folded
@ 2007-04-18 16:30 janis at gcc dot gnu dot org
  2007-04-18 17:22 ` [Bug tree-optimization/31625] [4.3 Regression] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: janis at gcc dot gnu dot org @ 2007-04-18 16:30 UTC (permalink / raw)
  To: gcc-bugs

Test gcc.dg/dfp/convert-dfp-fold.c started failing on powerpc-linux with this
patch:

    http://gcc.gnu.org/viewcvs?view=rev&rev=123719

    r123719 | dnovillo | 2007-04-11 16:14:06 +0000 (Wed, 11 Apr 2007)

The test, which is compiled with -O, converts between decimal and binary
floating types, compares the results against constants, and calls link_error
for miscompares.  All of the values can be represented in both relevant data
types and the original value is known, so the comparisons should always be
folded.

Since the patch above was added, a comparison for a _Decimal128 converted from
double is not folded, and there are calls to __dpd_extenddftd, __dpd_netd2, and
link_error.  Oddly enough, removing almost any other comparison from the test
causes the test to pass, so I wasn't able to come up with a smaller testcase.


-- 
           Summary: decimal float comparison after conversion no longer
                    folded
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: janis at gcc dot gnu dot org
GCC target triplet: powerpc-unknown-linux-gnu


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


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

* [Bug tree-optimization/31625] [4.3 Regression] decimal float comparison after conversion no longer folded
  2007-04-18 16:30 [Bug tree-optimization/31625] New: decimal float comparison after conversion no longer folded janis at gcc dot gnu dot org
@ 2007-04-18 17:22 ` pinskia at gcc dot gnu dot org
  2007-06-29 18:10 ` mmitchel at gcc dot gnu dot org
  2007-12-21 19:26 ` ubizjak at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-04-18 17:22 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
            Summary|decimal float comparison    |[4.3 Regression] decimal
                   |after conversion no longer  |float comparison after
                   |folded                      |conversion no longer folded
   Target Milestone|---                         |4.3.0


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


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

* [Bug tree-optimization/31625] [4.3 Regression] decimal float comparison after conversion no longer folded
  2007-04-18 16:30 [Bug tree-optimization/31625] New: decimal float comparison after conversion no longer folded janis at gcc dot gnu dot org
  2007-04-18 17:22 ` [Bug tree-optimization/31625] [4.3 Regression] " pinskia at gcc dot gnu dot org
@ 2007-06-29 18:10 ` mmitchel at gcc dot gnu dot org
  2007-12-21 19:26 ` ubizjak at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-06-29 18:10 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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


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

* [Bug tree-optimization/31625] [4.3 Regression] decimal float comparison after conversion no longer folded
  2007-04-18 16:30 [Bug tree-optimization/31625] New: decimal float comparison after conversion no longer folded janis at gcc dot gnu dot org
  2007-04-18 17:22 ` [Bug tree-optimization/31625] [4.3 Regression] " pinskia at gcc dot gnu dot org
  2007-06-29 18:10 ` mmitchel at gcc dot gnu dot org
@ 2007-12-21 19:26 ` ubizjak at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: ubizjak at gmail dot com @ 2007-12-21 19:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from ubizjak at gmail dot com  2007-12-21 19:26 -------


*** This bug has been marked as a duplicate of 33082 ***


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2007-12-21 19:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-18 16:30 [Bug tree-optimization/31625] New: decimal float comparison after conversion no longer folded janis at gcc dot gnu dot org
2007-04-18 17:22 ` [Bug tree-optimization/31625] [4.3 Regression] " pinskia at gcc dot gnu dot org
2007-06-29 18:10 ` mmitchel at gcc dot gnu dot org
2007-12-21 19:26 ` ubizjak at gmail dot com

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