On Thu, 25 Oct 2018 at 11:34, Marcel Keller <mks.keller@xxxxxxxxx> wrote: > > Hi, > > The attached code produces a segfault (on Ubuntu 18.04 with GCC 7.3) but > not if I uncomment g() in main(). Any ideas why? It looks like this bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83568