projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11433f4
)
(c_expand_return): `volatile' function warning corrected to read
author
Richard Kenner
<kenner@gcc.gnu.org>
Tue, 1 Feb 1994 16:23:47 +0000
(11:23 -0500)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Tue, 1 Feb 1994 16:23:47 +0000
(11:23 -0500)
`noreturn' function warning.
From-SVN: r6458
gcc/c-typeck.c
patch
|
blob
|
history
diff --git
a/gcc/c-typeck.c
b/gcc/c-typeck.c
index 2fa53d2a953041b0c53add424e5a02090f25a804..0437a0f636ff1b4d9814de5bc2d3cab51bb7773f 100644
(file)
--- a/
gcc/c-typeck.c
+++ b/
gcc/c-typeck.c
@@
-6190,7
+6190,7
@@
c_expand_return (retval)
tree valtype = TREE_TYPE (TREE_TYPE (current_function_decl));
if (TREE_THIS_VOLATILE (current_function_decl))
- warning ("function declared `
volatile
' has a `return' statement");
+ warning ("function declared `
noreturn
' has a `return' statement");
if (!retval)
{