I tried again today and I was not able to reproduce this bug. Im using gcc 7.2.1 20180116. I close this bug now. If someone still have the same problems, please reopen!