This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch for uninitialized structures in tests
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: sje at cup dot hp dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 22 Apr 2008 16:21:36 -0700
- Subject: Re: Patch for uninitialized structures in tests
- References: <200804222146.OAA24779@hpsje.cup.hp.com>
- Reply-to: janis187 at us dot ibm dot com
On Tue, 2008-04-22 at 14:46 -0700, Steve Ellcey wrote:
> These tests fail (sometimes) on IA64 HP-UX because they access
> unintialized fields in a structure. These fields are floating point
> values and if they initially happen to have a NaN or Inf value in them
> when they get used then the test will fail.
>
> This patch initializes the fields so that we know we have valid values
> before using them.
>
> OK to checkin?
OK.
Janis