OSDN Git Service

PR c++/36254
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 11 Jan 2009 21:14:51 +0000 (21:14 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 11 Jan 2009 21:14:51 +0000 (21:14 +0000)
commit97767aad21249d89d7ef0af9ce9869f456a08f0e
tree29ec436df5d319951ef862f4e7a821905a5cb035
parent6159737ca33df722cfff9837df8f6a1bd4d1f85c
PR c++/36254
* cp-gimplify.c (genericize_if_stmt): Renamed from ...
(gimplify_if_stmt): ... this.
(cp_gimplify_expr): Don't handle IF_STMT here.
(cp_genericize_r): Call genericize_if_stmt for IF_STMT.

* g++.dg/warn/Wreturn-type-5.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143281 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/Wreturn-type-5.C [new file with mode: 0644]