aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2005-02-03 02:21:10 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2005-02-03 02:21:10 +0000
commit73aea290cc5417e4025eb92d95afaf1eeab73631 (patch)
tree364e34ebace79fcfdc6374fb770c5ba7d7e4e33e /gcc/tree-vectorizer.c
parent1f732f61ea2ac643e30b8068ee3f6737f07de271 (diff)
downloadgcc-73aea290cc5417e4025eb92d95afaf1eeab73631.zip
gcc-73aea290cc5417e4025eb92d95afaf1eeab73631.tar.gz
gcc-73aea290cc5417e4025eb92d95afaf1eeab73631.tar.bz2
re PR c/17807 (No warning/error for undefined local function.)
PR c/17807 * c-decl.c (undef_nested_function): New variable. (pop_scope): Diagnose undefined nested functions. (finish_function): Don't attempt cgraph processing or genericizing if current top-level function contained an undefined nested function. Reset undef_nested_function at the end of a top-level function. testsuite: * gcc.dg/nested-func-3.c: New test. * gcc.dg/pr18596-3.c: Expect error for undefined nested function. From-SVN: r94645
Diffstat (limited to 'gcc/tree-vectorizer.c')
0 files changed, 0 insertions, 0 deletions