public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/20134] New: 176.gcc miscompare with -m64 after DOM change
@ 2005-02-22  7:46 janis at gcc dot gnu dot org
  2005-02-22  7:51 ` [Bug tree-optimization/20134] " janis at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: janis at gcc dot gnu dot org @ 2005-02-22  7:46 UTC (permalink / raw)
  To: gcc-bugs

The SPEC CPU2000 test 176.gcc has been failing on powerpc64-*-linux-gnu
with "-m64 -O1" since this patch was added:
                                                                               
                
2004-10-23  Daniel Berlin  <dberlin@dberlin.org>
                                                                               
                
        * tree-ssa-dom.c (record_equality): Use loop depth to determine
        which way to record the equality as well.
        (loop_depth_of_name): New function.
                                                                               
                
The failure goes away if the patch is reverted from mainline sources.
                                                                               
                
The miscompare is due to function exact_log2_wide from toplev.c in
176.gcc, which returns 63 instead of 31 for the value -2147483648.
I'll attach a testcase with that function.

-- 
           Summary: 176.gcc miscompare with -m64 after DOM change
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: janis at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: powerpc64-unknown-linux-gnu


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


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

end of thread, other threads:[~2005-02-22 18:14 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-22  7:46 [Bug tree-optimization/20134] New: 176.gcc miscompare with -m64 after DOM change janis at gcc dot gnu dot org
2005-02-22  7:51 ` [Bug tree-optimization/20134] " janis at gcc dot gnu dot org
2005-02-22  8:02 ` [Bug tree-optimization/20134] New: " Daniel Berlin
2005-02-22  8:07 ` [Bug tree-optimization/20134] " dberlin at dberlin dot org
2005-02-22  8:54 ` [Bug tree-optimization/20134] [4.0 Regression] " pinskia at gcc dot gnu dot org
2005-02-22  9:32 ` [Bug rtl-optimization/20134] " pinskia at gcc dot gnu dot org
2005-02-22  9:47 ` [Bug tree-optimization/20134] " janis at gcc dot gnu dot org
2005-02-22  9:48 ` [Bug rtl-optimization/20134] " pinskia at gcc dot gnu dot org
2005-02-22  9:51 ` pinskia at gcc dot gnu dot org
2005-02-22 22:06 ` [Bug rtl-optimization/20134] [4.0 Regression] combine messes up subreg/zero_extend/compare/lshift jakub at gcc dot gnu dot org
2005-02-23  1:11 ` jakub 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).