This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix broken Ada testcase
- From: Geert Bosch <bosch at adacore dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 15 Feb 2005 10:27:26 -0500
- Subject: Re: [PATCH] Fix broken Ada testcase
- References: <jeis4uroqm.fsf@sykes.suse.de>
Even though the fix is obviously correct, I have to find out
how to fix this upstream in the official ACATS sources.
May have to protest the current test case. If you want to hold
of with the patch until later today, I can find out. Otherwise,
feel free to commit this with a ??? comment to note this is
a local workaround.
Thanks,
-Geert
On Feb 15, 2005, at 07:28, Andreas Schwab wrote:
The cxb test is using malloc without prior declaration. This will
fail if
sizeof int < sizeof pointer. Tested on ia64-linux.
Andreas.
2005-02-15 Andreas Schwab <schwab@suse.de>
* ada/acats/tests/cxb/cxb30131.c: Include <stdlib.h> to properly
declare malloc.