public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/37884]  New: [4.4 Regression] Bootstrap failure due to miscompilation of tree-vrp.c
@ 2008-10-21 16:41 krebbel at gcc dot gnu dot org
  2008-10-21 21:45 ` [Bug middle-end/37884] " rguenth at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: krebbel at gcc dot gnu dot org @ 2008-10-21 16:41 UTC (permalink / raw)
  To: gcc-bugs

GCC bootstrap on s390x currently fails with:

/build2/gcc/libgcc/../gcc/libgcc2.c: In function '__ucmpdi2':
/build2/gcc/libgcc/../gcc/libgcc2.c:1169: internal compiler error: in
compare_ranges, at tree-vrp.c:3375

reload reassigns a hard reg to a pseudo which has been created by change-loop
(ira-emit.c). The pseudo is live across a bb boundary. The target bb has
another pred bb which clobbers the same hard reg which is chosen by reload for
the pseudo. So my current guess is that either the liveness info is broken for
the pseudo created by change_loop or reload does not respect it in some way.

The problem might be related to PR37859 which describes a problem where IRA is
not able to detect that a register has been modified in the loop body. I've
tried the patch: http://gcc.gnu.org/ml/gcc-patches/2008-10/msg00780.html
without success.


-- 
           Summary: [4.4 Regression] Bootstrap failure due to miscompilation
                    of tree-vrp.c
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: wrong-code, ra
          Severity: critical
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: krebbel at gcc dot gnu dot org
 GCC build triplet: s390x-ibm-linux
  GCC host triplet: s390x-ibm-linux
GCC target triplet: s390x-ibm-linux


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


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

end of thread, other threads:[~2008-10-27 17:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-21 16:41 [Bug middle-end/37884] New: [4.4 Regression] Bootstrap failure due to miscompilation of tree-vrp.c krebbel at gcc dot gnu dot org
2008-10-21 21:45 ` [Bug middle-end/37884] " rguenth at gcc dot gnu dot org
2008-10-22  3:16 ` mmitchel at gcc dot gnu dot org
2008-10-22 12:53 ` krebbel at gcc dot gnu dot org
2008-10-24 22:23 ` vmakarov at redhat dot com
2008-10-26  6:56 ` hjl at gcc dot gnu dot org
2008-10-27  9:20 ` krebbel at gcc dot gnu dot org
2008-10-27 16:22 ` vmakarov at gcc dot gnu dot org
2008-10-27 17:28 ` 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).