aboutsummaryrefslogtreecommitdiff
path: root/libcpp/directives.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2009-04-18 21:02:47 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2009-04-18 21:02:47 +0100
commit3ce6296587139c291f7f5c31dbdc30e9c2e1829f (patch)
treea6c65f5de5128a6789a87a6fcc619e69296cae6e /libcpp/directives.c
parent2daad65eaf4b3406d04d6ba4758b120312ed0a0c (diff)
downloadgcc-3ce6296587139c291f7f5c31dbdc30e9c2e1829f.zip
gcc-3ce6296587139c291f7f5c31dbdc30e9c2e1829f.tar.gz
gcc-3ce6296587139c291f7f5c31dbdc30e9c2e1829f.tar.bz2
re PR c/35210 (gcc incorrectly allows calling function returning "const void")
PR c/35210 * c-typeck.c (build_function_call): Check for calling a function with qualified void return types. Call require_complete_type when generating a trap. testsuite: * gcc.dg/call-diag-2.c: New test. From-SVN: r146324
Diffstat (limited to 'libcpp/directives.c')
0 files changed, 0 insertions, 0 deletions