-
- Downloads
re PR c/42544 (Bad codegen with signed short cast to unsigned int, then...
re PR c/42544 (Bad codegen with signed short cast to unsigned int, then promoted to unsigned long long) PR c/42544 PR c/48197 * c-common.c (shorten_compare): If primopN is first sign-extended to opN and then zero-extended to result type, set primopN to opN. * gcc.c-torture/execute/pr42544.c: New test. * gcc.c-torture/execute/pr48197.c: New test. From-SVN: r171252
Showing
- gcc/ChangeLog 7 additions, 0 deletionsgcc/ChangeLog
- gcc/c-family/c-common.c 14 additions, 0 deletionsgcc/c-family/c-common.c
- gcc/testsuite/ChangeLog 7 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gcc.c-torture/execute/pr42544.c 14 additions, 0 deletionsgcc/testsuite/gcc.c-torture/execute/pr42544.c
- gcc/testsuite/gcc.c-torture/execute/pr48197.c 25 additions, 0 deletionsgcc/testsuite/gcc.c-torture/execute/pr48197.c
Loading
Please register or sign in to comment