diff options
author | Jakub Jelinek <jakub@redhat.com> | 2010-01-14 23:43:56 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2010-01-14 23:43:56 +0100 |
commit | ef5d11818dec252c1c843e82645b52ea71ab315c (patch) | |
tree | eb13b6e69e774559a950dcafa95ea447376bfcfe /gcc/c-lang.h | |
parent | 5b1cbe1453663b9abd6df089c2882071f2335fb2 (diff) | |
download | gcc-ef5d11818dec252c1c843e82645b52ea71ab315c.zip gcc-ef5d11818dec252c1c843e82645b52ea71ab315c.tar.gz gcc-ef5d11818dec252c1c843e82645b52ea71ab315c.tar.bz2 |
re PR middle-end/42674 (Bogus "no return statement in function returning non-void" warning)
PR middle-end/42674
* c-decl.c (finish_function): Don't emit -Wreturn-type warnings in
functions with noreturn attribute.
* decl.c (finish_function): Don't emit -Wreturn-type warnings in
functions with noreturn attribute.
* c-c++-common/pr42674.c: New test.
From-SVN: r155920
Diffstat (limited to 'gcc/c-lang.h')
0 files changed, 0 insertions, 0 deletions