This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: divmod-1.c patch (promoting problem)
- To: Aldy Hernandez <aldyh at redhat dot com>
- Subject: Re: divmod-1.c patch (promoting problem)
- From: Richard Henderson <rth at redhat dot com>
- Date: Tue, 21 Aug 2001 16:13:58 -0700
- Cc: gcc patches <gcc-patches at gcc dot gnu dot org>
- References: <998402323.4749.73.camel@culebra.cygnus.com>
On Tue, Aug 21, 2001 at 04:58:43PM +0300, Aldy Hernandez wrote:
> here's a patch to fix the testcase and add the prototypes.
Go ahead and convert the entire test case to proper ISO C
prototyped declarations. I.e.
int
div1(signed char x)
{
return x / -1;
}
...
unsigned long
mod6(unsigned long x, unsigned long y)
{
return x % y;
}
r~