re PR c/89045 (ICE in get_parm_info, at c/c-decl.c:7518)
authorJakub Jelinek <jakub@redhat.com>
Mon, 28 Jan 2019 23:49:51 +0000 (00:49 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 28 Jan 2019 23:49:51 +0000 (00:49 +0100)
commitf4b7e754cc9db79e4239ffcdf56acc780543ed05
tree2230d81244efcbf0397363b53d23ae0ee1f2725c
parent6a335b9669b174c14a7811e967d199f2418e5f61
re PR c/89045 (ICE in get_parm_info, at c/c-decl.c:7518)

PR c/89045
* c-decl.c (build_compound_literal): Don't pushdecl if in parameter
scope.

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

From-SVN: r268349
gcc/c/ChangeLog
gcc/c/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr89045.c [new file with mode: 0644]