This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
The appended patch gets rid of this warning:
/cvs/gcc-tree-ssa-20020619-branch/gcc/c-semantics.c:928: warning: old-style parameter declaration
Committed under the ISO C90 conversion rule after testing on
x86_64-linux-gnu,
Andreas
2003-11-14 Andreas Jaeger <aj@suse.de>
* c-semantics.c (find_reachable_label): Use C90 function
declaration.
============================================================
Index: gcc/c-semantics.c
--- gcc/c-semantics.c 12 Nov 2003 02:51:23 -0000 1.43.2.26
+++ gcc/c-semantics.c 14 Nov 2003 07:56:22 -0000
@@ -923,8 +923,7 @@ expand_stmt_toplev (tree t)
/* Determine whether expression EXP contains a potentially
reachable label. */
tree
-find_reachable_label (exp)
- tree exp;
+find_reachable_label (tree exp)
{
location_t saved_loc = input_location;
tree ret = walk_tree (&exp, find_reachable_label_1, NULL, NULL);
--
Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Attachment:
pgp00000.pgp
Description: PGP signature
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |