diff options
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/init-first.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/init-first.c b/sysdeps/unix/sysv/linux/init-first.c index aa7d9c4ac0..267c01afc8 100644 --- a/sysdeps/unix/sysv/linux/init-first.c +++ b/sysdeps/unix/sysv/linux/init-first.c @@ -43,6 +43,10 @@ init (void *data) char **argv = (char **)data + 1; char **envp = &argv[argc + 1]; + /* XXX Another gcc bug. We marked the function as `unused' but it + is still optimized away. */ + volatile void *foo __attribute__ ((unused)) = &init; + #ifdef PIC if (&__libc_is_static != NULL) #endif |