https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63642
--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- Compiling the "right version" with gcc or clang gives the same result at run time: Please, enter a monome (for example x) : x Address of the first element : 0x0 0 So the problem is likely in your code. Note that lists are widely used in gcc.