https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70495
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.0 Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I think it was r7-270. In GCC 6 we had: (((int) b + (int) b) + (int) b) While in GCC 7 we have: ((int) b * 3) Which we are able to handle now. Anyways fixed.