This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Bug in gcc/c-common.c
- To: Albert Chin-A-Young <china at thewrittenword dot com>
- Subject: Re: Bug in gcc/c-common.c
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 13 Oct 2000 17:24:21 -0200
- Cc: gcc at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <20001013135310.A21527@postal.il.thewrittenword.com>
On Oct 13, 2000, Albert Chin-A-Young <china@thewrittenword.com> wrote:
> cc: "../../gcc/c-common.c", line 1743: error 1000: Unexpected symbol: "enum".
Unless someone beats me to it, I'm checking this in, under the
``obviously correct'' rule:
Index: gcc/ChangeLog
from Alexandre Oliva <aoliva@redhat.com>
* c-common.c (c_expand_builtin): PARAMS-ize prototype.
Index: gcc/c-common.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/c-common.c,v
retrieving revision 1.169
diff -u -p -r1.169 c-common.c
--- gcc/c-common.c 2000/10/12 09:28:52 1.169
+++ gcc/c-common.c 2000/10/13 19:11:53
@@ -1740,7 +1740,7 @@ static const format_flag_spec *get_flag_
static void check_format_types PARAMS ((int *, format_wanted_type *));
static int is_valid_printf_arglist PARAMS ((tree));
-static rtx c_expand_builtin (tree, rtx, enum machine_mode, enum expand_modifier);
+static rtx c_expand_builtin PARAMS ((tree, rtx, enum machine_mode, enum expand_modifier));
static rtx c_expand_builtin_printf PARAMS ((tree, rtx, enum machine_mode,
enum expand_modifier, int));
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me