https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104356
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #4) > The Java front-end used to have option which caused the front-end to emit > the throw/trap for the division by zero which was turned off for a few > targets (I can't remember if it was a hook or hard coded). So I looked and it looks like I was wrong about the (old) java front-end, it defaulted to always calling the function to do the divison and just throw in those functions.