https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94548
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2020-04-10 Status|UNCONFIRMED |WAITING Component|target |middle-end Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- ### const unsigned long int f0 = (8UL*10^6) / (1000*256UL); ### // timer = ((31.2500 * 3600000UL) / ((unsigned long) desired_ml_per_h * (unsigned long) syringe_step_per_ml)); ### timer = ((f0 * 3600000UL) Are you sure this does not overflow unsigned long to get 0?