public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/39139]  New: [4.4 Regression] ICE with stringop and register var
@ 2009-02-09 15:53 jakub at gcc dot gnu dot org
  2009-02-09 15:54 ` [Bug target/39139] " jakub at gcc dot gnu dot org
                   ` (29 more replies)
  0 siblings, 30 replies; 32+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-02-09 15:53 UTC (permalink / raw)
  To: gcc-bugs

static inline int
foo (unsigned int x, void *y)
{
  register unsigned long r asm ("rax");
  register unsigned long a1 asm ("rdi") = a1;
  register unsigned long a2 asm ("rsi") = a2;
  a1 = (unsigned long) x;
  a2 = (unsigned long) y;
  asm volatile ("" : "=r" (r), "+r" (a1), "+r" (a2) : : "memory");
  return (int) r;
}

struct T { unsigned long t1, t2; unsigned int t3, t4, t5; };

int
bar (unsigned long x, unsigned int y, unsigned long u, unsigned int v)
{
  long r;
  struct T e = { .t1 = x, .t2 = u };

  if (x << y != u << v)
    return 5;
  r = foo (11, &e);
  return e.t3 == x;
}

distilled from xen ICEs at -Os, DIREG class register isn't available.  First
appeared between r134096 and r134467, not IRA related.


-- 
           Summary: [4.4 Regression] ICE with stringop and register var
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jakub at gcc dot gnu dot org
GCC target triplet: x86_64-linux


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


^ permalink raw reply	[flat|nested] 32+ messages in thread
[parent not found: <bug-39139-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2014-06-25 23:48 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-09 15:53 [Bug target/39139] New: [4.4 Regression] ICE with stringop and register var jakub at gcc dot gnu dot org
2009-02-09 15:54 ` [Bug target/39139] " jakub at gcc dot gnu dot org
2009-02-09 16:40 ` jakub at gcc dot gnu dot org
2009-02-09 16:45 ` rguenth at gcc dot gnu dot org
2009-02-09 16:53 ` rguenth at gcc dot gnu dot org
2009-02-09 18:12 ` jakub at gcc dot gnu dot org
2009-02-09 19:13 ` hjl dot tools at gmail dot com
2009-02-09 19:39 ` hjl dot tools at gmail dot com
2009-02-09 20:17 ` jakub at gcc dot gnu dot org
2009-02-09 20:29 ` hjl dot tools at gmail dot com
2009-02-09 20:32 ` hjl dot tools at gmail dot com
2009-02-09 20:36 ` jeremy at goop dot org
2009-02-09 20:37 ` jakub at gcc dot gnu dot org
2009-02-09 20:38 ` jeremy at goop dot org
2009-02-09 20:41 ` hjl dot tools at gmail dot com
2009-02-09 20:43 ` hjl dot tools at gmail dot com
2009-02-09 20:44 ` hjl dot tools at gmail dot com
2009-02-09 20:47 ` hjl dot tools at gmail dot com
2009-02-09 20:49 ` jakub at gcc dot gnu dot org
2009-02-09 20:52 ` hjl dot tools at gmail dot com
2009-02-09 21:01 ` jakub at gcc dot gnu dot org
2009-02-09 21:10 ` hjl dot tools at gmail dot com
2009-02-09 22:37 ` ian at airs dot com
2009-02-10  1:36 ` hjl dot tools at gmail dot com
2009-02-10  9:51 ` bonzini at gnu dot org
2009-02-10 10:21 ` jakub at gcc dot gnu dot org
2009-02-10 10:29 ` jakub at gcc dot gnu dot org
2009-02-10 10:35 ` rguenth at gcc dot gnu dot org
2009-02-10 10:49 ` bonzini at gnu dot org
2009-02-10 16:22 ` jakub at gcc dot gnu dot org
2009-02-10 16:35 ` jakub at gcc dot gnu dot org
     [not found] <bug-39139-4@http.gcc.gnu.org/bugzilla/>
2014-06-25 23:48 ` gerald at pfeifer dot com

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).