public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/46238] New: s390x bootstrap problem: wrong code generated due to crossjumping
@ 2010-10-30  7:37 krebbel at gcc dot gnu.org
  2010-10-30  7:38 ` [Bug rtl-optimization/46238] " krebbel at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: krebbel at gcc dot gnu.org @ 2010-10-30  7:37 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: s390x bootstrap problem: wrong code generated due to
                    crossjumping
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: krebbel@gcc.gnu.org


collect2 gets miscompiled due to a bug in cfgcleanup.

try_head_merge_bb moves an insn setting r2 over an insn clobbering that
register. DCE removes the set afterwards. try_head_merge_bb doesn't notice due
to wrong live info in the 'live_union' variable.

Proposed fix:
http://gcc.gnu.org/ml/gcc-patches/2010-10/msg02569.html


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

* [Bug rtl-optimization/46238] s390x bootstrap problem: wrong code generated due to crossjumping
  2010-10-30  7:37 [Bug rtl-optimization/46238] New: s390x bootstrap problem: wrong code generated due to crossjumping krebbel at gcc dot gnu.org
@ 2010-10-30  7:38 ` krebbel at gcc dot gnu.org
  2010-11-03 12:37 ` [Bug rtl-optimization/46238] s390x bootstrap problem: wrong code generated in cfgcleanup/crossjumping krebbel at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: krebbel at gcc dot gnu.org @ 2010-10-30  7:38 UTC (permalink / raw)
  To: gcc-bugs

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

Andreas Krebbel <krebbel at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |s390x-ibm-linux
           Priority|P3                          |P2
                 CC|                            |bernds at codesourcery dot
                   |                            |com
               Host|                            |s390x-ibm-linux
              Build|                            |s390x-ibm-linux


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

* [Bug rtl-optimization/46238] s390x bootstrap problem: wrong code generated in cfgcleanup/crossjumping
  2010-10-30  7:37 [Bug rtl-optimization/46238] New: s390x bootstrap problem: wrong code generated due to crossjumping krebbel at gcc dot gnu.org
  2010-10-30  7:38 ` [Bug rtl-optimization/46238] " krebbel at gcc dot gnu.org
@ 2010-11-03 12:37 ` krebbel at gcc dot gnu.org
  2010-11-03 17:10 ` hjl.tools at gmail dot com
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: krebbel at gcc dot gnu.org @ 2010-11-03 12:37 UTC (permalink / raw)
  To: gcc-bugs

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

Andreas Krebbel <krebbel at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P1
           Severity|critical                    |blocker

--- Comment #1 from Andreas Krebbel <krebbel at gcc dot gnu.org> 2010-11-03 12:36:56 UTC ---
I've raised the prio and severity. This problem currently prevents our GCC
daily build system from doing proper testing. That way we will not get aware of
other potential problems introduced in the meantime.


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

* [Bug rtl-optimization/46238] s390x bootstrap problem: wrong code generated in cfgcleanup/crossjumping
  2010-10-30  7:37 [Bug rtl-optimization/46238] New: s390x bootstrap problem: wrong code generated due to crossjumping krebbel at gcc dot gnu.org
  2010-10-30  7:38 ` [Bug rtl-optimization/46238] " krebbel at gcc dot gnu.org
  2010-11-03 12:37 ` [Bug rtl-optimization/46238] s390x bootstrap problem: wrong code generated in cfgcleanup/crossjumping krebbel at gcc dot gnu.org
@ 2010-11-03 17:10 ` hjl.tools at gmail dot com
  2010-11-03 18:32 ` [Bug rtl-optimization/46238] [4.6 Regression] " pinskia at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2010-11-03 17:10 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2010.11.03 17:10:33
   Target Milestone|---                         |4.6.0
     Ever Confirmed|0                           |1

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2010-11-03 17:10:33 UTC ---
Please try revision 166259.


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

* [Bug rtl-optimization/46238] [4.6 Regression] s390x bootstrap problem: wrong code generated in cfgcleanup/crossjumping
  2010-10-30  7:37 [Bug rtl-optimization/46238] New: s390x bootstrap problem: wrong code generated due to crossjumping krebbel at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2010-11-03 17:10 ` hjl.tools at gmail dot com
@ 2010-11-03 18:32 ` pinskia at gcc dot gnu.org
  2010-11-04  8:47 ` krebbel at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2010-11-03 18:32 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
            Summary|s390x bootstrap problem:    |[4.6 Regression] s390x
                   |wrong code generated in     |bootstrap problem: wrong
                   |cfgcleanup/crossjumping     |code generated in
                   |                            |cfgcleanup/crossjumping


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

* [Bug rtl-optimization/46238] [4.6 Regression] s390x bootstrap problem: wrong code generated in cfgcleanup/crossjumping
  2010-10-30  7:37 [Bug rtl-optimization/46238] New: s390x bootstrap problem: wrong code generated due to crossjumping krebbel at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2010-11-03 18:32 ` [Bug rtl-optimization/46238] [4.6 Regression] " pinskia at gcc dot gnu.org
@ 2010-11-04  8:47 ` krebbel at gcc dot gnu.org
  2010-11-04 16:06 ` krebbel at gcc dot gnu.org
  2010-11-05 12:30 ` jakub at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: krebbel at gcc dot gnu.org @ 2010-11-04  8:47 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Andreas Krebbel <krebbel at gcc dot gnu.org> 2010-11-04 08:47:26 UTC ---
(In reply to comment #2)
> Please try revision 166259.

Ok. I've started bootstrap. I'm quite sure that reverting the will fix the
problem. Perhaps I missed that on the list but when was it decided to revert
the patch?

Have you tried my patch? It definitely fixes on of the problems for me.


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

* [Bug rtl-optimization/46238] [4.6 Regression] s390x bootstrap problem: wrong code generated in cfgcleanup/crossjumping
  2010-10-30  7:37 [Bug rtl-optimization/46238] New: s390x bootstrap problem: wrong code generated due to crossjumping krebbel at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2010-11-04  8:47 ` krebbel at gcc dot gnu.org
@ 2010-11-04 16:06 ` krebbel at gcc dot gnu.org
  2010-11-05 12:30 ` jakub at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: krebbel at gcc dot gnu.org @ 2010-11-04 16:06 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Andreas Krebbel <krebbel at gcc dot gnu.org> 2010-11-04 16:05:52 UTC ---
(In reply to comment #2)
> Please try revision 166259.

As expected reverting the patch fixes bootstrap on s390x.


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

* [Bug rtl-optimization/46238] [4.6 Regression] s390x bootstrap problem: wrong code generated in cfgcleanup/crossjumping
  2010-10-30  7:37 [Bug rtl-optimization/46238] New: s390x bootstrap problem: wrong code generated due to crossjumping krebbel at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2010-11-04 16:06 ` krebbel at gcc dot gnu.org
@ 2010-11-05 12:30 ` jakub at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-11-05 12:30 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|                            |FIXED

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-11-05 12:30:19 UTC ---
Fixed then.


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

end of thread, other threads:[~2010-11-05 12:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-30  7:37 [Bug rtl-optimization/46238] New: s390x bootstrap problem: wrong code generated due to crossjumping krebbel at gcc dot gnu.org
2010-10-30  7:38 ` [Bug rtl-optimization/46238] " krebbel at gcc dot gnu.org
2010-11-03 12:37 ` [Bug rtl-optimization/46238] s390x bootstrap problem: wrong code generated in cfgcleanup/crossjumping krebbel at gcc dot gnu.org
2010-11-03 17:10 ` hjl.tools at gmail dot com
2010-11-03 18:32 ` [Bug rtl-optimization/46238] [4.6 Regression] " pinskia at gcc dot gnu.org
2010-11-04  8:47 ` krebbel at gcc dot gnu.org
2010-11-04 16:06 ` krebbel at gcc dot gnu.org
2010-11-05 12:30 ` jakub at gcc dot gnu.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).