-
- Downloads
"git@gitlab.cobolworx.com:COBOLworx/gcc-cobol.git" did not exist on "5b32f0e6168aa3941e5b78d53409bf21ef6ceb90"
re PR c/35634 (operand of pre-/postin-/decrement not promoted)
2012-11-28 Richard Biener <rguenther@suse.de> PR c/35634 * gimple.h (gimplify_self_mod_expr): Declare. * gimplify.c (gimplify_self_mod_expr): Export. Take a different type for performing the arithmetic in. (gimplify_expr): Adjust. * tree-vect-loop-manip.c (vect_can_advance_ivs_p): Strip sign conversions we can re-apply after adjusting the IV. c-family/ * c-gimplify.c (c_gimplify_expr): Gimplify self-modify expressions here and use a type with proper overflow behavior for types that would need to be promoted for the arithmetic. * gcc.dg/torture/pr35634.c: New testcase. * g++.dg/torture/pr35634.C: Likewise. * gcc.dg/vect/pr18536.c: Mark worker function noinline. From-SVN: r193882
Showing
- gcc/ChangeLog 10 additions, 0 deletionsgcc/ChangeLog
- gcc/c-family/ChangeLog 7 additions, 0 deletionsgcc/c-family/ChangeLog
- gcc/c-family/c-gimplify.c 31 additions, 10 deletionsgcc/c-family/c-gimplify.c
- gcc/gimple.h 2 additions, 0 deletionsgcc/gimple.h
- gcc/gimplify.c 17 additions, 9 deletionsgcc/gimplify.c
- gcc/testsuite/ChangeLog 7 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/g++.dg/torture/pr35634.C 19 additions, 0 deletionsgcc/testsuite/g++.dg/torture/pr35634.C
- gcc/testsuite/gcc.dg/torture/pr35634.c 19 additions, 0 deletionsgcc/testsuite/gcc.dg/torture/pr35634.c
- gcc/testsuite/gcc.dg/vect/pr18536.c 1 addition, 1 deletiongcc/testsuite/gcc.dg/vect/pr18536.c
- gcc/tree-vect-loop-manip.c 1 addition, 0 deletionsgcc/tree-vect-loop-manip.c
Loading
Please register or sign in to comment