OSDN Git Service

PR 22429
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Nov 2005 21:44:17 +0000 (21:44 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Nov 2005 21:44:17 +0000 (21:44 +0000)
commit61631574d437729dc9b0648d83b50bc6faabf9d2
treea8a257208152510defaa462a00320fab1c588c5b
parent93673597626f541148bc451d8764d06648270ac9
    PR 22429
        * fold-const.c (build_range_check): Use unsigned when signed
        overflow is undefined also.  If etype is subtype, make sure that
        the subtraction is in the supertype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106400 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/gcc.c-torture/execute/pr22429.c [new file with mode: 0644]