------- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-12 15:42 ------- (In reply to comment #0)
This one, we have to deal with x = 0, what should we do, trap or not to trap. > unsigned foo(const unsigned x) { return (x / x); } For the following one: > double bar(const double x) { return (x / x); } Only with -ffast-math. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24333