[Bug target/43700] global register variables defect

2010-04-09 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2010-04-09 18:12 --- Well $20 is a callee save register. The back-end emits a save for some reason ... -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug target/43700] global register variables defect

2010-04-09 Thread rguenth at gcc dot gnu dot org
--- 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: