https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61741
--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Thu Jul 17 07:57:30 2014 New Revision: 212742 URL: https://gcc.gnu.org/viewcvs?rev=212742&root=gcc&view=rev Log: 2014-07-17 Richard Biener <rguent...@suse.de> Backport from mainline 2014-07-10 Richard Biener <rguent...@suse.de> PR c-family/61741 * c-c++-common/torture/pr61741.c: Use signed char. 2014-07-09 Richard Biener <rguent...@suse.de> PR c-family/61741 * c-gimplify.c (c_gimplify_expr): Gimplify self-modify expressions using unsigned arithmetic if overflow does not wrap instead of if overflow is undefined. * c-c++-common/torture/pr61741.c: New testcase. Added: branches/gcc-4_9-branch/gcc/testsuite/c-c++-common/pr61741.c Modified: branches/gcc-4_9-branch/gcc/c-family/ChangeLog branches/gcc-4_9-branch/gcc/c-family/c-gimplify.c branches/gcc-4_9-branch/gcc/testsuite/ChangeLog