• jakub's avatar
    PR c/42544 · 119d06b2
    jakub authored
    	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.
    
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171252 138bc75d-0d04-0410-961f-82ee72b054a4
    119d06b2
ChangeLog 88.5 KB