OSDN Git Service

PR c/22311
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Aug 2005 01:29:06 +0000 (01:29 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Aug 2005 01:29:06 +0000 (01:29 +0000)
commit7422cd7b5109ed845e16f47a52ae5b57c67b02a0
tree1fc25d7b6ae7a46e921daa5b71cd0b9af00e1eeb
parentab7c9ab4b7a0a52325c337a8bbe1b6672e8f7562
PR c/22311
* c-typeck.c (build_binary_op): Use common_type wrapper on
shortened types.
(common_type): Update comment.

testsuite:
* gcc.dg/pr22311-1.c : New test.

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