http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56185
--- Comment #5 from Daniel Starke <daniel.f.starke at freenet dot de> 2013-02-07 06:43:35 UTC --- The arithmetic exception is caught by gcc, thus not triggered in gdb. I tried a couple of things with gdb but could not find the point at which it happens. I will try to create a gcc variant with checking enabled. Maybe this will give some hints about the origin of this bug.