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]

Re: Patch for uninitialized structures in tests


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]