On 02.12.2016 10:36, Thorsten Glaser wrote: > On Thu, 1 Dec 2016, Matthias Klose wrote: > >> cool, thanks! bonus questions: >> >> - does the test pass with -O1, if yes can you identify >> the -O2 -fno-* flag? >> - do the above with -O0 > > I’ll have to try, but I’m a bit out of time for the next > two to three days. > >> - do you get warnings when you run the test with >> the address and undefined sanitizers? > > How do I do that?
-fsanitize=address -fsanitize=undefined