------- Comment #8 from jsm28 at gcc dot gnu dot org  2010-03-27 11:46 -------
Subject: Bug 43381

Author: jsm28
Date: Sat Mar 27 11:46:07 2010
New Revision: 157772

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157772
Log:
        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.

Added:
    branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/parm-impl-decl-3.c
Modified:
    branches/gcc-4_4-branch/gcc/ChangeLog
    branches/gcc-4_4-branch/gcc/c-decl.c
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43381

Reply via email to