public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/44174]  New: [4.4/4.5/4.6 Regression] can't find a register in class 'CLOBBERED_REGS' while reloading 'asm'
@ 2010-05-17 19:22 jakub at gcc dot gnu dot org
  2010-05-18 10:06 ` [Bug rtl-optimization/44174] " rguenth at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 23+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-05-17 19:22 UTC (permalink / raw)
  To: gcc-bugs

/* { dg-do compile } */
/* { dg-options "-O2 -fpic" { target fpic } } */

int f0 (int, int, int, int, int);
int f1 (void);

void
f2 (void)
{
  unsigned v1, v2, v3, v4;
  __asm__ ("" : "=a" (v1), "=d" (v2), "=c" (v3), "=r" (v4));
  f0 (f1 (), f1 (), f1 (), f1 (), (v4 >> 8) & 0xff);
}
used to compile with -m32 -O2 -fpic in 4.3, but starting with 4.4 fails with:
/tmp/u.c: In function 'void f2()':
/tmp/u.c:11:60: error: can't find a register in class 'CLOBBERED_REGS' while
reloading 'asm'
/tmp/u.c:11:60: error: 'asm' operand has impossible constraints

while it should be fine to use esi or edi for that.


-- 
           Summary: [4.4/4.5/4.6 Regression] can't find a register in class
                    'CLOBBERED_REGS' while reloading 'asm'
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jakub at gcc dot gnu dot org
GCC target triplet: i686-linux


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


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

end of thread, other threads:[~2013-04-12 16:17 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-44174-4@http.gcc.gnu.org/bugzilla/>
2010-10-01 11:46 ` [Bug rtl-optimization/44174] [4.4/4.5/4.6 Regression] can't find a register in class 'CLOBBERED_REGS' while reloading 'asm' jakub at gcc dot gnu.org
2011-01-27 10:46 ` ebotcazou at gcc dot gnu.org
2011-01-28 12:37 ` [Bug rtl-optimization/44174] [4.4/4.5 " ro at gcc dot gnu.org
2011-01-28 12:44 ` ebotcazou at gcc dot gnu.org
2011-01-28 13:02 ` ro at CeBiTec dot Uni-Bielefeld.DE
2011-01-28 13:40 ` [Bug rtl-optimization/44174] [4.4/4.5/4.6 " ebotcazou at gcc dot gnu.org
2011-01-28 13:53 ` ro at CeBiTec dot Uni-Bielefeld.DE
2011-01-28 14:57 ` ebotcazou at gcc dot gnu.org
2011-02-02 18:07 ` dnovillo at gcc dot gnu.org
2011-04-04 18:31 ` [Bug rtl-optimization/44174] [4.4/4.5/4.6/4.7 " ro at gcc dot gnu.org
2011-04-04 18:50 ` ebotcazou at gcc dot gnu.org
2011-04-16  9:58 ` jakub at gcc dot gnu.org
2012-01-24  5:14 ` [Bug rtl-optimization/44174] [4.4/4.5/4.6 " pinskia at gcc dot gnu.org
2012-01-24 13:20 ` ro at CeBiTec dot Uni-Bielefeld.DE
2012-03-13 12:51 ` [Bug rtl-optimization/44174] [4.5/4.6 " jakub at gcc dot gnu.org
2012-05-02 13:08 ` zhou3 at lycos dot com
2012-07-02 10:54 ` rguenth at gcc dot gnu.org
2013-04-12 16:17 ` [Bug rtl-optimization/44174] [4.6 " jakub at gcc dot gnu.org
2010-05-17 19:22 [Bug rtl-optimization/44174] New: [4.4/4.5/4.6 " jakub at gcc dot gnu dot org
2010-05-18 10:06 ` [Bug rtl-optimization/44174] " rguenth at gcc dot gnu dot org
2010-05-18 19:07 ` vmakarov at redhat dot com
2010-05-19 13:00 ` rguenth at gcc dot gnu dot org
2010-07-25  1:48 ` pinskia at gcc dot gnu dot org
2010-07-25  1:50 ` pinskia 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).