OSDN Git Service

PR c/43381
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 26 Mar 2010 23:52:09 +0000 (23:52 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:14:59 +0000 (14:14 +0900)
commita55491cb8978a6ef121a21fea1d5edc45ef5f37c
tree251f33ffc7f20724971560fa5b0f19acf2cc4919
parent1577e1c17a0e33424963d1dee28d9f819522eab6
PR c/43381
* c-decl.c (get_parm_info): Assert that decl going in OTHERS has a
nested binding iff it is a FUNCTION_DECL.
(store_parm_decls_newstyle): Pass nested=true to bind for
FUNCTION_DECLs amongst parameters.

testsuite:
* gcc.dg/parm-impl-decl-3.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157766 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog