diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2005-12-26 23:00:18 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2005-12-26 23:00:18 +0000 |
commit | 4a2ab19287e25d3c883e3b0e5825317159fc752a (patch) | |
tree | 71fa7e22af360fe7beb5c11eb309505bf13890ab /gcc/c-decl.c | |
parent | 01a097e8ec830c49674e24862d16e101c43c8932 (diff) | |
download | gcc-4a2ab19287e25d3c883e3b0e5825317159fc752a.zip gcc-4a2ab19287e25d3c883e3b0e5825317159fc752a.tar.gz gcc-4a2ab19287e25d3c883e3b0e5825317159fc752a.tar.bz2 |
re PR middle-end/25125 ((short) ((int)(unsigned short) + (int)) is done in the wrong type)
gcc/
PR tree-optimization/25125
* convert.c (convert_to_integer): Don't narrow the type of a
PLUX_EXPR or MINUS_EXPR if !flag_wrapv and the unwidened type
is signed.
gcc/testsuite/
PR tree-optimization/25125
* gcc.dg/vect/vect-7.c, gcc.dg/vect/vect-reduc-2char.c,
gcc.dg/vect/vect-reduc-2short.c: XFAIL.
* gcc.c-torture/execute/pr25125.c: New.
From-SVN: r109065
Diffstat (limited to 'gcc/c-decl.c')
0 files changed, 0 insertions, 0 deletions