segfault due to weird compiler behavior...