From 526f839764624d28418a89f8535bfa7129f32026 Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Tue, 26 Jan 2010 06:51:00 -0600 Subject: [PATCH] [master] Relocated "int k" declaration in pngtest.c to work around a compiler optimization bug. --- CHANGES | 4 ++++ pngtest.c | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGES b/CHANGES index 18d3501c3..47385737f 100644 --- a/CHANGES +++ b/CHANGES @@ -2484,6 +2484,10 @@ version 1.4.1beta04 [January 23, 2010] decoding large chunks. Added png_set|get_chunk_malloc_max() functions. +version 1.4.1beta05 [January 23, 2010] + Relocated "int k" declaration in pngtest.c to avoid compiler optimization + bug. + Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit https://lists.sourceforge.net/lists/listinfo/png-mng-implement diff --git a/pngtest.c b/pngtest.c index 39ac3ac29..4e090f5f7 100644 --- a/pngtest.c +++ b/pngtest.c @@ -1465,14 +1465,14 @@ main(int argc, char *argv[]) #endif for (i=2; i