https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68119
DJ Delorie <dj at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-10-27 CC| |dj at redhat dot com Ever confirmed|0 |1 --- Comment #1 from DJ Delorie <dj at redhat dot com> --- Confirmed with git trunk as of today, even with -O0. Gimple shows: test1 (unsigned int a) { unsigned int D.1764; if (0 != 0) goto <D.1762>; else goto <D.1763>; <D.1762>: a = a + 1; <D.1763>: a = a + 1; D.1764 = a; return D.1764; } test2 (unsigned int a) { unsigned int D.1768; if (0 != 0) goto <D.1766>; else goto <D.1767>; <D.1766>: <D.1767>: a = a + 1; a = a + 1; D.1768 = a; return D.1768; }