OSDN Git Service

2005-11-07 Paolo Bonzini <bonzini@gnu.org>
authorbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Nov 2005 10:34:13 +0000 (10:34 +0000)
committerbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Nov 2005 10:34:13 +0000 (10:34 +0000)
commit84086eb09d2bf53295f344f31adf5123f72c173c
treec296ec86b416c6310ca0de88a50c61c472ffb68f
parentc049cb4d7b6101b7701a5908703cec41af16719e
2005-11-07  Paolo Bonzini  <bonzini@gnu.org>

        * c-typeck.c (build_c_cast): Try using a shared constant, and see
        if TREE_OVERFLOW or TREE_CONSTANT_OVERFLOW really changed.

testsuite:
2005-11-07  Paolo Bonzini  <bonzini@gnu.org>

        * gcc.dg/overflow-2.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106587 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/overflow-2.c [new file with mode: 0644]