8080695: splashscreen_png.c compile error with gcc 4.9.2
Summary: mark locals volatile to silence gcc arround longjmp
Reviewed-by: azvegint, serb
--- a/jdk/src/java.desktop/share/native/libsplashscreen/splashscreen_png.c Tue Jun 30 10:37:48 2015 -0700
+++ b/jdk/src/java.desktop/share/native/libsplashscreen/splashscreen_png.c Thu Jul 02 08:17:25 2015 +0200
@@ -48,8 +48,8 @@
int stride;
ImageFormat srcFormat;
png_uint_32 i, rowbytes;
- png_bytepp row_pointers = NULL;
- png_bytep image_data = NULL;
+ volatile png_bytepp row_pointers = NULL;
+ volatile png_bytep image_data = NULL;
int success = 0;
double gamma;