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 00:37:20 +0000 (09:37 +0900)
commitd8fa65db78b60b5296290e1c15f54ab1dd342bb6
tree5d40a13cd0e94bbb3a537b34052b6449757949b8
parent5256ba8f0430b390d0145ca9f3d8b3a903cac892
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