OSDN Git Service

PR c/38957
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 24 Jan 2009 21:36:09 +0000 (21:36 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 24 Jan 2009 21:36:09 +0000 (21:36 +0000)
commite7e7c0fe7891322de1bb0a8991ce4b04856f2f28
tree8aa0cd10ba1655e3f28c1d19cd88b6abf511e564
parente6d46e2767b2c337435f59c720a6f50c4ea11d13
PR c/38957
* c-typeck.c (c_finish_return): Handle POINTER_PLUS_EXPR the same way
as PLUS_EXPR.

* gcc.dg/pr38957.c: New test.

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