OSDN Git Service

PR middle-end/38343
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Dec 2008 17:14:18 +0000 (17:14 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Dec 2008 17:14:18 +0000 (17:14 +0000)
commitf5fec377965fb10837ee39ee309b1c1551c65f11
tree39bbecf80e9d1c5b798a7278196759f5812197f4
parent0ecf7a657255369b2827f6c14cf92c21b3c4e2f1
PR middle-end/38343
* builtins.c (fold_builtin_memory_op): Convert len to sizetype
before using it in POINTER_PLUS_EXPR.

* gcc.c-torture/compile/pr38343-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142363 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/builtins.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr38343-2.c [new file with mode: 0644]