re PR c/42544 (Bad codegen with signed short cast to unsigned int, then promoted…
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
Please
register
or
sign in
to comment