[Bug target/43700] global register variables defect

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Apr 9 09:50:00 GMT 2010



------- Comment #1 from rguenth at gcc dot gnu dot org  2010-04-09 09:50 -------
Must be a target issue, can't reproduce this on x86_64 with

register unsigned long *g_reg_counter asm("%r10");
void register_add (void)
{
  *g_reg_counter++;
}


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |target


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



More information about the Gcc-bugs mailing list