diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2012-02-23 17:34:02 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2012-02-23 17:34:02 +0100 |
commit | 560ad30812da70455b371b0488229beab9ae9d75 (patch) | |
tree | 775525bc6d105a76e8dd7954fe595270b2fc3544 /gcc/tree-phinodes.c | |
parent | f71f1418cf5d50077cba55eaa2abfe843957c78a (diff) | |
download | gcc-560ad30812da70455b371b0488229beab9ae9d75.zip gcc-560ad30812da70455b371b0488229beab9ae9d75.tar.gz gcc-560ad30812da70455b371b0488229beab9ae9d75.tar.bz2 |
re PR c/52290 (internal compiler error: tree check: expected function_decl, have var_decl in start_function, at c-decl.c:7712)
PR c/52290
* c-decl.c (start_function): Exit early if decl1 is not FUNTION_DECL.
testsuite/ChangeLog:
PR c/52290
* gcc.dg/noncompile/pr52290.c: New test.
From-SVN: r184511
Diffstat (limited to 'gcc/tree-phinodes.c')
0 files changed, 0 insertions, 0 deletions