glibc/malloc
Andreas Jaeger f0c1dedf0d Fix tst-obprintf - and mcheck in general
tst-obprintf failed with GCC 4.7.

It turned out that this is the fault of GCC optimizing away the
following from malloc/mcheck.c:
      /* We call malloc() once here to ensure it is initialized.  */
      void *p = malloc (0);
      free (p);

gcc sees the malloc(0);free pair and removes it completely.

And now malloc is not properly initialized and we screw up if both
mcheck is used (via tst-obprintf) and MALLOC_CHECK_ is set (as it is in my
environment).
2012-05-03 22:12:59 +02:00
..
arena.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
Depend Update. 1999-10-04 22:59:43 +00:00
hooks.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
Makefile Remove distribute variable from Makefiles 2012-03-07 05:17:13 -05:00
malloc.c Move stdio-common/_itoa.h to sysdeps/generic 2012-03-20 16:00:23 -07:00
malloc.h Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
mallocbug.c Avoid warnings in test malloc program 2012-03-28 13:05:11 -04:00
mcheck-init.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
mcheck.c Fix tst-obprintf - and mcheck in general 2012-05-03 22:12:59 +02:00
mcheck.h Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
memusage.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
memusage.sh Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
memusagestat.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
morecore.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
mtrace.c Move stdio-common/_itoa.h to sysdeps/generic 2012-03-20 16:00:23 -07:00
mtrace.pl Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
obstack.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
obstack.h Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
set-freeres.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
thread-freeres.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
tst-calloc.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
tst-malloc.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
tst-mallocfork.c * malloc/tst-mallocfork.c (do_test): Make sure sa_flags is 2005-12-06 00:50:15 +00:00
tst-mallocstate.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
tst-mcheck.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
tst-mtrace.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
tst-mtrace.sh Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
tst-obstack.c Update. 2000-11-20 17:40:29 +00:00
tst-trim1.c * malloc/tst-trim1.c: New file. 2007-12-16 22:57:57 +00:00
tst-valloc.c Update. 2000-11-20 17:40:29 +00:00
Versions Implement aligned_alloc 2012-01-01 07:17:21 -05:00