public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/48353] New: Bootstrap fail due to invalid register pair being assigned to pseudo
@ 2011-03-30  7:18 krebbel at gcc dot gnu.org
  2011-03-30  7:25 ` [Bug middle-end/48353] " krebbel at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: krebbel at gcc dot gnu.org @ 2011-03-30  7:18 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: Bootstrap fail due to invalid register pair being
                    assigned to pseudo
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: krebbel@gcc.gnu.org


Created attachment 23811
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23811
testcase

Compiling the attached testcase with -O2 produces an invalid divide
instruction:

dsgfr   %r7,%r1

The first parameter needs to an even numbered register.

from ira dump:

      Try Assign 103(a10), cost=226: reassign to 7
changing reg in insn 50
 Register 93 now in 3.

 Register 103 now in 7.

(insn 50 40 62 4 (set (reg:TI 7 %r7 [103])
        (ior:TI (ashift:TI (zero_extend:TI (mod:DI (reg:DI 8 %r8 [99])
                        (sign_extend:DI (reg/v:SI 1 %r1 [orig:49 copy_nregs ]
[49]))))
                (const_int 64 [0x40]))
            (zero_extend:TI (div:DI (reg:DI 8 %r8 [99])
                    (sign_extend:DI (reg/v:SI 1 %r1 [orig:49 copy_nregs ]
[49])))))) t.c:32 380 {divmodtisi3}
     (nil))


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

* [Bug middle-end/48353] Bootstrap fail due to invalid register pair being assigned to pseudo
  2011-03-30  7:18 [Bug middle-end/48353] New: Bootstrap fail due to invalid register pair being assigned to pseudo krebbel at gcc dot gnu.org
@ 2011-03-30  7:25 ` krebbel at gcc dot gnu.org
  2011-03-30  7:29 ` krebbel at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: krebbel at gcc dot gnu.org @ 2011-03-30  7:25 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Andreas Krebbel <krebbel at gcc dot gnu.org> 2011-03-30 06:52:58 UTC ---
Created attachment 23812
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23812
Detailed IRA dump


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

* [Bug middle-end/48353] Bootstrap fail due to invalid register pair being assigned to pseudo
  2011-03-30  7:18 [Bug middle-end/48353] New: Bootstrap fail due to invalid register pair being assigned to pseudo krebbel at gcc dot gnu.org
  2011-03-30  7:25 ` [Bug middle-end/48353] " krebbel at gcc dot gnu.org
@ 2011-03-30  7:29 ` krebbel at gcc dot gnu.org
  2011-03-30  9:26 ` [Bug middle-end/48353] [4.7 Regression] " rguenth at gcc dot gnu.org
  2011-03-30 14:53 ` krebbel at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: krebbel at gcc dot gnu.org @ 2011-03-30  7:29 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
                 CC|                            |vmakarov at redhat dot com

--- Comment #2 from Andreas Krebbel <krebbel at gcc dot gnu.org> 2011-03-30 06:54:18 UTC ---
I suspect that this has to do with the recent IRA changes. Adding Vladimir to
cc.


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

* [Bug middle-end/48353] [4.7 Regression] Bootstrap fail due to invalid register pair being assigned to pseudo
  2011-03-30  7:18 [Bug middle-end/48353] New: Bootstrap fail due to invalid register pair being assigned to pseudo krebbel at gcc dot gnu.org
  2011-03-30  7:25 ` [Bug middle-end/48353] " krebbel at gcc dot gnu.org
  2011-03-30  7:29 ` krebbel at gcc dot gnu.org
@ 2011-03-30  9:26 ` rguenth at gcc dot gnu.org
  2011-03-30 14:53 ` krebbel at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-03-30  9:26 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.7.0
            Summary|Bootstrap fail due to       |[4.7 Regression] Bootstrap
                   |invalid register pair being |fail due to invalid
                   |assigned to pseudo          |register pair being
                   |                            |assigned to pseudo


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

* [Bug middle-end/48353] [4.7 Regression] Bootstrap fail due to invalid register pair being assigned to pseudo
  2011-03-30  7:18 [Bug middle-end/48353] New: Bootstrap fail due to invalid register pair being assigned to pseudo krebbel at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2011-03-30  9:26 ` [Bug middle-end/48353] [4.7 Regression] " rguenth at gcc dot gnu.org
@ 2011-03-30 14:53 ` krebbel at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: krebbel at gcc dot gnu.org @ 2011-03-30 14:53 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #3 from Andreas Krebbel <krebbel at gcc dot gnu.org> 2011-03-30 14:24:29 UTC ---
This has already been fixed. Most likely while fixing the issue for ARM in
#48336.

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


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

end of thread, other threads:[~2011-03-30 14:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-30  7:18 [Bug middle-end/48353] New: Bootstrap fail due to invalid register pair being assigned to pseudo krebbel at gcc dot gnu.org
2011-03-30  7:25 ` [Bug middle-end/48353] " krebbel at gcc dot gnu.org
2011-03-30  7:29 ` krebbel at gcc dot gnu.org
2011-03-30  9:26 ` [Bug middle-end/48353] [4.7 Regression] " rguenth at gcc dot gnu.org
2011-03-30 14:53 ` krebbel 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).