diff options
author | Joseph Myers <joseph@codesourcery.com> | 2006-08-25 22:11:46 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2006-08-25 22:11:46 +0100 |
commit | d8890adf2810806a04e98ba517ac87b27b770ffa (patch) | |
tree | c5d660b0cc2b1511757821e913c937802626245b /gcc/c-gimplify.c | |
parent | 02709c7f68600ee88d126671b06012f8e90769b5 (diff) | |
download | gcc-d8890adf2810806a04e98ba517ac87b27b770ffa.zip gcc-d8890adf2810806a04e98ba517ac87b27b770ffa.tar.gz gcc-d8890adf2810806a04e98ba517ac87b27b770ffa.tar.bz2 |
re PR c/28299 (ICE with -Wmissing-prototypes)
PR c/28299
* c-decl.c (start_function): Don't try to process prototype
information from old declaration that isn't a function.
testsuite:
* gcc.dg/funcdef-var-1.c, gcc.dg/funcdef-var-2.c: New tests.
* gcc.dg/pr20368-1.c, gcc.dg/pr20368-2.c, gcc.dg/pr20368-3.c:
Expect extra diagnostics.
From-SVN: r116435
Diffstat (limited to 'gcc/c-gimplify.c')
0 files changed, 0 insertions, 0 deletions