------- Additional Comments From pbrook at gcc dot gnu dot org  2005-05-09 
20:04 -------
Annother testcase. This one fails at -O2 with gcc 4.1.0 20050507 and 4.0.1 
20050430.
This is a regression from 3.4.

typedef unsigned long long uint64_t;
register int *env asm ("ebp");
register long T0 asm ("ebx");
register long T1 asm ("esi");
register long T2 asm ("edi");

void foo(void);

void
bar (long physaddr, uint64_t v)
{
  if (*env)
    {
      foo ();
      *(uint64_t *) (physaddr + *env) = v;
    }
}


-- 


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

Reply via email to